diff --git a/wp-includes/assets/script-loader-packages.php b/wp-includes/assets/script-loader-packages.php index 58ae77a5e1..f5bf6bd315 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' => '0ac8327cc1c40dcfdf29716affd7ac63'), 'annotations.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-rich-text'), 'version' => '11c9c51e39355c5ddd420729ad443355'), 'api-fetch.js' => array('dependencies' => array('wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '134e23b5f88ba06a093f9f92520a98df'), 'autop.js' => array('dependencies' => array('wp-polyfill'), 'version' => '0e55c6c10f6d8a4bd90b2ea903436301'), '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-data-controls', 'wp-edit-post', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives'), 'version' => '3e22954e3b144a54099fedc48bef6cf0'), 'block-editor.js' => array('dependencies' => array('lodash', 'react', 'wp-a11y', 'wp-blob', 'wp-block-serialization-default-parser', '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-wordcount'), 'version' => 'a15d6463967bab3a680479193ffe54c7'), 'block-library.js' => array('dependencies' => array('lodash', 'moment', 'react', 'wp-api-fetch', 'wp-autop', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-deprecated', 'wp-editor', 'wp-element', 'wp-hooks', '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' => '5fa327bca17c646b0afacb27db2b2b98'), '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-primitives', 'wp-shortcode'), 'version' => 'feaafeeb208c6a9d5d2b4d14e39b3f4e'), 'components.js' => array('dependencies' => array('lodash', 'moment', 'react', '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' => '9f57bea91d1e0cadba3b34a61a078bd4'), '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' => '7be8f791d52249a8b7ffc4760fd9a0a0'), 'core-data.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blocks', 'wp-data', 'wp-data-controls', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-url'), 'version' => 'bdbc7cc9c22d0301c2839453d0c02c42'), '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' => '959bd3008e274c64e3c0ee834226ca43'), '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' => 'aafc8f1d1ec9ee58073250ce543866ba'), 'data-controls.js' => array('dependencies' => array('wp-api-fetch', 'wp-data', 'wp-deprecated', 'wp-polyfill'), 'version' => 'cb4174d77c57f56732dc41d3bf3b2781'), 'date.js' => array('dependencies' => array('moment', 'wp-polyfill'), 'version' => '061439ac4325ef057b8f9c142c82a823'), 'deprecated.js' => array('dependencies' => array('wp-hooks', 'wp-polyfill'), 'version' => '932d8bb37da8bbb396a7a3f754345e08'), 'dom.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => 'a873593ee69e1024104cf26fefaa8b30'), 'dom-ready.js' => array('dependencies' => array('wp-polyfill'), 'version' => '71883072590656bf22c74c7b887df3dd'), 'edit-post.js' => array('dependencies' => array('lodash', 'react', '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' => '28e67c322335519fa264e009eb177dcf'), '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-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' => 'c9cc91d5016d176d261e0f4d016400b6'), 'editor.js' => array('dependencies' => array('lodash', 'react', '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' => 'c787ee5bb83c52298ad6d69f556bbb5f'), 'element.js' => array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-escape-html', 'wp-polyfill'), 'version' => 'c7e88ad4ce40880cc1b94b2dfdeadc25'), 'escape-html.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'dcba9e40e8782c7d5883426934834b3e'), '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' => '14c4ca568811ddedf190d2f93895baa2'), 'hooks.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'a7edae857aab69d69fa10d5aef23a5de'), 'html-entities.js' => array('dependencies' => array('wp-polyfill'), 'version' => '26307b6ad1e445fc1a4643f634cb29c6'), 'i18n.js' => array('dependencies' => array('wp-hooks', 'wp-polyfill'), 'version' => '5f1269854226b4dd90450db411a12b79'), 'is-shallow-equal.js' => array('dependencies' => array('wp-polyfill'), 'version' => '9b8d91804cfb3ef5b14e6ef816664072'), 'keyboard-shortcuts.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-data', 'wp-keycodes', 'wp-polyfill'), 'version' => '08caad26bc363fa42688edcaa15ab0d0'), 'keycodes.js' => array('dependencies' => array('lodash', 'wp-i18n', 'wp-polyfill'), 'version' => 'd515bd5ce4b04b088b72d1c8a52508a1'), 'list-reusable-blocks.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => 'f90c136d0ec6000103c2b084015f9416'), 'media-utils.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blob', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '542126e5d5bdab71fcec5dab761e04cd'), 'notices.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-polyfill'), 'version' => '2b904d11f75b1603ae9b39e16f21296b'), 'nux.js' => array('dependencies' => array('lodash', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => '65748cfb04e18ef71270c0b28151d3a5'), 'plugins.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-polyfill', 'wp-primitives'), 'version' => 'f4f91eec1c82732ee18a839c59394aed'), 'primitives.js' => array('dependencies' => array('wp-element', 'wp-polyfill'), 'version' => 'fedf57cf6da174d1eca2875b8b730af3'), 'priority-queue.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'b2e76fb9887a285b5eff38763f2ac2fc'), 'redux-routine.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '2ec251c672ad6eb7927c67f781625cf5'), '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' => '948097667b83003673b775da87dcedaf'), 'rich-text.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-data', 'wp-element', 'wp-escape-html', 'wp-keycodes', 'wp-polyfill'), 'version' => '7ab2606616750166b2e3fa1e80bb82ca'), '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' => '24e7a431b73eaf4f80d9bb767c6dd50d'), 'shortcode.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '9f7701fd2135ec4718a12b86538233c5'), 'token-list.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => 'f35dfe6f4a0e9bbc00a9aee92872fc44'), 'url.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => 'df1e2dc15251c5e3d94f93488965d0f7'), 'viewport.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-data', 'wp-element', 'wp-polyfill'), 'version' => 'e8a796c73164c5e68a15d96bfacfd27e'), 'warning.js' => array('dependencies' => array('wp-polyfill'), 'version' => '3e70e9d62208deeee510b84df4dec7f1'), 'widgets.js' => array('dependencies' => array('wp-blocks', 'wp-components', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => '267dbe1c61c62923d6e52b801018b9ec'), 'wordcount.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '39aaa313e63a9718e7af4eb6bc26e9f4')); \ No newline at end of file +<?php return array('a11y.js' => array('dependencies' => array('wp-dom-ready', 'wp-i18n', 'wp-polyfill'), 'version' => '0ac8327cc1c40dcfdf29716affd7ac63'), 'annotations.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-rich-text'), 'version' => '48c7bf36e60653fd5c375e3bffeb3c8f'), 'api-fetch.js' => array('dependencies' => array('wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '134e23b5f88ba06a093f9f92520a98df'), 'autop.js' => array('dependencies' => array('wp-polyfill'), 'version' => '0e55c6c10f6d8a4bd90b2ea903436301'), '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-data-controls', 'wp-edit-post', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives'), 'version' => 'b39e3905ffc0a404866873582d152644'), 'block-editor.js' => array('dependencies' => array('lodash', 'react', 'wp-a11y', 'wp-blob', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-shortcode', 'wp-token-list', 'wp-url', 'wp-wordcount'), 'version' => '9e6b603b4c1ce494ca414ab61d0dc7a5'), 'block-library.js' => array('dependencies' => array('lodash', 'moment', 'react', 'wp-api-fetch', 'wp-autop', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-deprecated', 'wp-editor', 'wp-element', 'wp-hooks', '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' => '2b892cdedebad3803bf95ccf38a685a8'), '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-primitives', 'wp-shortcode'), 'version' => '6f3275dbceda3f78d968ccb1c7a0ae39'), 'components.js' => array('dependencies' => array('lodash', 'moment', 'react', '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' => 'a520daebaa8443a79234bdb55f7c06fd'), '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' => '33ed1294b186cb1f26de363ecab47d56'), 'core-data.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blocks', 'wp-data', 'wp-data-controls', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-url'), 'version' => '1a8836d8030338766c5e1c41c63f34d1'), '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' => 'dccb13964ddc3acad91ad1d9b7ea129c'), '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' => 'd1ff848b81e7ce9a3d96f36242412cc7'), 'data-controls.js' => array('dependencies' => array('wp-api-fetch', 'wp-data', 'wp-deprecated', 'wp-polyfill'), 'version' => 'cb4174d77c57f56732dc41d3bf3b2781'), 'date.js' => array('dependencies' => array('moment', 'wp-polyfill'), 'version' => '061439ac4325ef057b8f9c142c82a823'), 'deprecated.js' => array('dependencies' => array('wp-hooks', 'wp-polyfill'), 'version' => '932d8bb37da8bbb396a7a3f754345e08'), 'dom.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => 'ca2bccde9ad039adf56ecf6a9ee51746'), 'dom-ready.js' => array('dependencies' => array('wp-polyfill'), 'version' => '71883072590656bf22c74c7b887df3dd'), 'edit-post.js' => array('dependencies' => array('lodash', 'react', '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' => '9d19076ba057f3ecabb29993f5879385'), '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-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' => 'ba32fafe6d9723c8c5d564e75b9b87cd'), 'editor.js' => array('dependencies' => array('lodash', 'react', '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' => 'dd552b5ff4fa9b29f011b694dd450620'), 'element.js' => array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-escape-html', 'wp-polyfill'), 'version' => '581bce50da6025b17bd0d62a88f525a0'), 'escape-html.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'dcba9e40e8782c7d5883426934834b3e'), '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' => '5565ca962848ed5ebf132972402c4ede'), 'hooks.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'a7edae857aab69d69fa10d5aef23a5de'), 'html-entities.js' => array('dependencies' => array('wp-polyfill'), 'version' => '26307b6ad1e445fc1a4643f634cb29c6'), 'i18n.js' => array('dependencies' => array('wp-hooks', 'wp-polyfill'), 'version' => '5f1269854226b4dd90450db411a12b79'), 'is-shallow-equal.js' => array('dependencies' => array('wp-polyfill'), 'version' => '9b8d91804cfb3ef5b14e6ef816664072'), 'keyboard-shortcuts.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-data', 'wp-keycodes', 'wp-polyfill'), 'version' => 'ded7759a0fe7cef75f4f6406fd83da49'), 'keycodes.js' => array('dependencies' => array('lodash', 'wp-i18n', 'wp-polyfill'), 'version' => '042c4b19e6cbf332d429dea8aa3bf671'), 'list-reusable-blocks.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '32f1c788eb181eaaa2d82541ddbc656c'), 'media-utils.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blob', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '5e105975fcfe18922cd4f0163466f454'), 'notices.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-polyfill'), 'version' => '302487dc7e2cc8ab91ae19a57631973c'), 'nux.js' => array('dependencies' => array('lodash', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => 'c88a0d6909079ef87776982ef1cb7b1e'), 'plugins.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-polyfill', 'wp-primitives'), 'version' => 'c91bcc20b943e1d4ef09ca698c9a7c63'), 'primitives.js' => array('dependencies' => array('wp-element', 'wp-polyfill'), 'version' => 'fedf57cf6da174d1eca2875b8b730af3'), 'priority-queue.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'b2e76fb9887a285b5eff38763f2ac2fc'), 'redux-routine.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '7f20dbcdb5d5645c977063e356eb95cf'), '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' => 'a537c0707d3570f7d7ce169c2ea6ae0a'), 'rich-text.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-data', 'wp-element', 'wp-escape-html', 'wp-keycodes', 'wp-polyfill'), 'version' => '5d81925eb3c6858bcbf05433fc0e5ff0'), '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' => '747cff7a572532328ee1ef4b8bf05cdd'), 'shortcode.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '5341d74d6385839c835c81ef7c751c59'), 'token-list.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '91a1487ea5b32c4ea39b7a40c5e90652'), 'url.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '41088521039aa510728086754722537c'), 'viewport.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-data', 'wp-element', 'wp-polyfill'), 'version' => '79a37e9babb3e1cde045545771deed5e'), 'warning.js' => array('dependencies' => array('wp-polyfill'), 'version' => '3e70e9d62208deeee510b84df4dec7f1'), 'widgets.js' => array('dependencies' => array('wp-blocks', 'wp-components', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => '267dbe1c61c62923d6e52b801018b9ec'), 'wordcount.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '61ab1af9326f4d5fda7ed01990e1be70')); \ No newline at end of file diff --git a/wp-includes/block-supports/typography.php b/wp-includes/block-supports/typography.php index a2ddb5be68..c6e71662d0 100644 --- a/wp-includes/block-supports/typography.php +++ b/wp-includes/block-supports/typography.php @@ -19,19 +19,26 @@ function wp_register_typography_support( $block_type ) { return; } - $has_font_size_support = _wp_array_get( $block_type->supports, array( 'fontSize' ), false ); - $has_font_style_support = _wp_array_get( $block_type->supports, array( '__experimentalFontStyle' ), false ); - $has_font_weight_support = _wp_array_get( $block_type->supports, array( '__experimentalFontWeight' ), false ); - $has_line_height_support = _wp_array_get( $block_type->supports, array( 'lineHeight' ), false ); - $has_text_decoration_support = _wp_array_get( $block_type->supports, array( '__experimentalTextDecoration' ), false ); - $has_text_transform_support = _wp_array_get( $block_type->supports, array( '__experimentalTextTransform' ), false ); + $typography_supports = _wp_array_get( $block_type->supports, array( 'typography' ), false ); + if ( ! $typography_supports ) { + return; + } - $has_typography_support = $has_font_size_support - || $has_font_weight_support + $has_font_family_support = _wp_array_get( $typography_supports, array( '__experimentalFontFamily' ), false ); + $has_font_size_support = _wp_array_get( $typography_supports, array( 'fontSize' ), false ); + $has_font_style_support = _wp_array_get( $typography_supports, array( '__experimentalFontStyle' ), false ); + $has_font_weight_support = _wp_array_get( $typography_supports, array( '__experimentalFontWeight' ), false ); + $has_line_height_support = _wp_array_get( $typography_supports, array( 'lineHeight' ), false ); + $has_text_decoration_support = _wp_array_get( $typography_supports, array( '__experimentalTextDecoration' ), false ); + $has_text_transform_support = _wp_array_get( $typography_supports, array( '__experimentalTextTransform' ), false ); + + $has_typography_support = $has_font_family_support + || $has_font_size_support || $has_font_style_support + || $has_font_weight_support || $has_line_height_support - || $has_text_transform_support - || $has_text_decoration_support; + || $has_text_decoration_support + || $has_text_transform_support; if ( ! $block_type->attributes ) { $block_type->attributes = array(); @@ -68,29 +75,32 @@ function wp_apply_typography_support( $block_type, $block_attributes ) { return array(); } + $typography_supports = _wp_array_get( $block_type->supports, array( 'typography' ), false ); + if ( ! $typography_supports ) { + return array(); + } + + $skip_typography_serialization = _wp_array_get( $typography_supports, array( '__experimentalSkipSerialization' ), false ); + if ( $skip_typography_serialization ) { + return array(); + } + $attributes = array(); $classes = array(); $styles = array(); - $has_font_family_support = _wp_array_get( $block_type->supports, array( '__experimentalFontFamily' ), false ); - $has_font_style_support = _wp_array_get( $block_type->supports, array( '__experimentalFontStyle' ), false ); - $has_font_weight_support = _wp_array_get( $block_type->supports, array( '__experimentalFontWeight' ), false ); - $has_font_size_support = _wp_array_get( $block_type->supports, array( 'fontSize' ), false ); - $has_line_height_support = _wp_array_get( $block_type->supports, array( 'lineHeight' ), false ); - $has_text_decoration_support = _wp_array_get( $block_type->supports, array( '__experimentalTextDecoration' ), false ); - $has_text_transform_support = _wp_array_get( $block_type->supports, array( '__experimentalTextTransform' ), false ); + $has_font_family_support = _wp_array_get( $typography_supports, array( '__experimentalFontFamily' ), false ); + $has_font_size_support = _wp_array_get( $typography_supports, array( 'fontSize' ), false ); + $has_font_style_support = _wp_array_get( $typography_supports, array( '__experimentalFontStyle' ), false ); + $has_font_weight_support = _wp_array_get( $typography_supports, array( '__experimentalFontWeight' ), false ); + $has_line_height_support = _wp_array_get( $typography_supports, array( 'lineHeight' ), false ); + $has_text_decoration_support = _wp_array_get( $typography_supports, array( '__experimentalTextDecoration' ), false ); + $has_text_transform_support = _wp_array_get( $typography_supports, array( '__experimentalTextTransform' ), false ); - $skip_font_size_support_serialization = _wp_array_get( $block_type->supports, array( '__experimentalSkipFontSizeSerialization' ), false ); - - // Covers all typography features _except_ font size. - $skip_typography_serialization = _wp_array_get( $block_type->supports, array( '__experimentalSkipTypographySerialization' ), false ); - - // Font Size. - if ( $has_font_size_support && ! $skip_font_size_support_serialization ) { + if ( $has_font_size_support ) { $has_named_font_size = array_key_exists( 'fontSize', $block_attributes ); $has_custom_font_size = isset( $block_attributes['style']['typography']['fontSize'] ); - // Apply required class or style. if ( $has_named_font_size ) { $classes[] = sprintf( 'has-%s-font-size', $block_attributes['fontSize'] ); } elseif ( $has_custom_font_size ) { @@ -98,10 +108,8 @@ function wp_apply_typography_support( $block_type, $block_attributes ) { } } - // Font Family. - if ( $has_font_family_support && ! $skip_typography_serialization ) { + if ( $has_font_family_support ) { $has_font_family = isset( $block_attributes['style']['typography']['fontFamily'] ); - // Apply required class and style. if ( $has_font_family ) { $font_family = $block_attributes['style']['typography']['fontFamily']; if ( strpos( $font_family, 'var:preset|font-family' ) !== false ) { @@ -115,44 +123,36 @@ function wp_apply_typography_support( $block_type, $block_attributes ) { } } - // Font style. - if ( $has_font_style_support && ! $skip_typography_serialization ) { - // Apply font style. - $font_style = wp_typography_get_css_variable_inline_style( $block_attributes, 'fontStyle', 'font-style' ); + if ( $has_font_style_support ) { + $font_style = gutenberg_typography_get_css_variable_inline_style( $block_attributes, 'fontStyle', 'font-style' ); if ( $font_style ) { $styles[] = $font_style; } } - // Font weight. - if ( $has_font_weight_support && ! $skip_typography_serialization ) { - // Apply font weight. - $font_weight = wp_typography_get_css_variable_inline_style( $block_attributes, 'fontWeight', 'font-weight' ); + if ( $has_font_weight_support ) { + $font_weight = gutenberg_typography_get_css_variable_inline_style( $block_attributes, 'fontWeight', 'font-weight' ); if ( $font_weight ) { $styles[] = $font_weight; } } - // Line Height. - if ( $has_line_height_support && ! $skip_typography_serialization ) { + if ( $has_line_height_support ) { $has_line_height = isset( $block_attributes['style']['typography']['lineHeight'] ); - // Add the style (no classes for line-height). if ( $has_line_height ) { $styles[] = sprintf( 'line-height: %s;', $block_attributes['style']['typography']['lineHeight'] ); } } - // Text Decoration. - if ( $has_text_decoration_support && ! $skip_typography_serialization ) { - $text_decoration_style = wp_typography_get_css_variable_inline_style( $block_attributes, 'textDecoration', 'text-decoration' ); + if ( $has_text_decoration_support ) { + $text_decoration_style = gutenberg_typography_get_css_variable_inline_style( $block_attributes, 'textDecoration', 'text-decoration' ); if ( $text_decoration_style ) { $styles[] = $text_decoration_style; } } - // Text Transform. - if ( $has_text_transform_support && ! $skip_typography_serialization ) { - $text_transform_style = wp_typography_get_css_variable_inline_style( $block_attributes, 'textTransform', 'text-transform' ); + if ( $has_text_transform_support ) { + $text_transform_style = gutenberg_typography_get_css_variable_inline_style( $block_attributes, 'textTransform', 'text-transform' ); if ( $text_transform_style ) { $styles[] = $text_transform_style; } diff --git a/wp-includes/blocks.php b/wp-includes/blocks.php index 1e7113e1d2..f210858e55 100644 --- a/wp-includes/blocks.php +++ b/wp-includes/blocks.php @@ -956,6 +956,32 @@ function block_has_support( $block_type, $feature, $default = false ) { return true === $block_support || is_array( $block_support ); } +function wp_migrate_old_typography_shape( $metadata ) { + $typography_keys = array( + '__experimentalFontFamily', + '__experimentalFontStyle', + '__experimentalFontWeight', + '__experimentalLetterSpacing', + '__experimentalTextDecoration', + '__experimentalTextTransform', + 'fontSize', + 'lineHeight', + ); + foreach ( $typography_keys as $typography_key ) { + $support_for_key = _wp_array_get( $metadata['supports'], array( $typography_key ), null ); + if ( null !== $support_for_key ) { + trigger_error( + /* translators: %1$s: Block type, %2$s: typography supports key e.g: fontSize, lineHeight etc... */ + sprintf( __( 'Block %1$s is declaring %2$s support on block.json under supports.%2$s. %2$s support is now declared under supports.typography.%2$s.', 'gutenberg' ), $metadata['name'], $typography_key ), + headers_sent() || WP_DEBUG ? E_USER_WARNING : E_USER_NOTICE + ); + gutenberg_experimental_set( $metadata['supports'], array( 'typography', $typography_key ), $support_for_key ); + unset( $metadata['supports'][ $typography_key ] ); + } + } + return $metadata; +} + /** * Helper function that constructs a WP_Query args array from * a `Query` block properties. diff --git a/wp-includes/blocks/button/block.json b/wp-includes/blocks/button/block.json index 3cb59a7fd6..f2e4a52deb 100644 --- a/wp-includes/blocks/button/block.json +++ b/wp-includes/blocks/button/block.json @@ -61,13 +61,15 @@ "__experimentalSkipSerialization": true, "gradients": true }, - "fontSize": true, + "typography": { + "fontSize": true, + "__experimentalFontFamily": true + }, "reusable": false, "__experimentalBorder": { "radius": true, "__experimentalSkipSerialization": true }, - "__experimentalFontFamily": true, "__experimentalSelector": ".wp-block-button__link" }, "styles": [ diff --git a/wp-includes/blocks/code/block.json b/wp-includes/blocks/code/block.json index 8cb9222887..8ea75ed6da 100644 --- a/wp-includes/blocks/code/block.json +++ b/wp-includes/blocks/code/block.json @@ -14,7 +14,9 @@ }, "supports": { "anchor": true, - "fontSize": true + "typography": { + "fontSize": true + } }, "style": "wp-block-code" } diff --git a/wp-includes/blocks/heading/block.json b/wp-includes/blocks/heading/block.json index fbfd5408d3..69ec1ba374 100644 --- a/wp-includes/blocks/heading/block.json +++ b/wp-includes/blocks/heading/block.json @@ -32,8 +32,11 @@ "color": { "link": true }, - "fontSize": true, - "lineHeight": true, + "typography": { + "fontSize": true, + "lineHeight": true, + "__experimentalFontWeight": true + }, "__experimentalSelector": "h1,h2,h3,h4,h5,h6", "__unstablePasteTextInline": true }, diff --git a/wp-includes/blocks/legacy-widget/editor-rtl.css b/wp-includes/blocks/legacy-widget/editor-rtl.css index cb187a6968..eb6951dfd4 100644 --- a/wp-includes/blocks/legacy-widget/editor-rtl.css +++ b/wp-includes/blocks/legacy-widget/editor-rtl.css @@ -146,4 +146,9 @@ .interface-complementary-area .wp-block-legacy-widget-inspector-card__name { margin: 0 0 5px; font-weight: 500; +} + +.is-selected .wp-block-legacy-widget__container { + padding: 8px 12px; + min-height: 50px; } \ No newline at end of file diff --git a/wp-includes/blocks/legacy-widget/editor-rtl.min.css b/wp-includes/blocks/legacy-widget/editor-rtl.min.css index 713bedaad2..fb77c8cf7d 100644 --- a/wp-includes/blocks/legacy-widget/editor-rtl.min.css +++ b/wp-includes/blocks/legacy-widget/editor-rtl.min.css @@ -1 +1 @@ -.wp-block-legacy-widget__edit-form{background:#fff;border-radius:2px;border:1px solid #1e1e1e;padding:11px}.wp-block-legacy-widget__edit-form .wp-block-legacy-widget__edit-form-title{color:#000;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px;font-weight:600;margin:0 0 12px}.wp-block-legacy-widget__edit-form .widget-inside{border:none;box-shadow:none;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.wp-block-legacy-widget__edit-form .widget-inside label{font-size:13px}.wp-block-legacy-widget__edit-form .widget-inside label+.widefat{margin-top:12px}.wp-block-legacy-widget__edit-form .widget.open{z-index:0}.wp-block-legacy-widget__edit-no-preview,.wp-block-legacy-widget__edit-preview{cursor:pointer}.wp-block-legacy-widget__edit-no-preview:hover:after,.wp-block-legacy-widget__edit-preview:hover:after{border-radius:2px;border:1px solid #949494;bottom:0;content:"";right:0;position:absolute;left:0;top:0}.wp-block-legacy-widget__edit-preview.is-offscreen{right:-9999px;position:absolute;top:0;width:100%}.wp-block-legacy-widget__edit-preview-iframe{overflow:hidden;width:100%}.wp-block-legacy-widget__edit-no-preview{background:#f0f0f0;padding:8px 12px;font-size:13px}.wp-block-legacy-widget__edit-no-preview h3{font-size:14px;font-weight:600;margin:4px 0}.wp-block-legacy-widget__edit-no-preview p{margin:4px 0}.wp-block-legacy-widget-inspector-card{padding:0 52px 16px 16px}.interface-complementary-area .wp-block-legacy-widget-inspector-card__name{margin:0 0 5px;font-weight:500} \ No newline at end of file +.wp-block-legacy-widget__edit-form{background:#fff;border-radius:2px;border:1px solid #1e1e1e;padding:11px}.wp-block-legacy-widget__edit-form .wp-block-legacy-widget__edit-form-title{color:#000;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px;font-weight:600;margin:0 0 12px}.wp-block-legacy-widget__edit-form .widget-inside{border:none;box-shadow:none;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.wp-block-legacy-widget__edit-form .widget-inside label{font-size:13px}.wp-block-legacy-widget__edit-form .widget-inside label+.widefat{margin-top:12px}.wp-block-legacy-widget__edit-form .widget.open{z-index:0}.wp-block-legacy-widget__edit-no-preview,.wp-block-legacy-widget__edit-preview{cursor:pointer}.wp-block-legacy-widget__edit-no-preview:hover:after,.wp-block-legacy-widget__edit-preview:hover:after{border-radius:2px;border:1px solid #949494;bottom:0;content:"";right:0;position:absolute;left:0;top:0}.wp-block-legacy-widget__edit-preview.is-offscreen{right:-9999px;position:absolute;top:0;width:100%}.wp-block-legacy-widget__edit-preview-iframe{overflow:hidden;width:100%}.wp-block-legacy-widget__edit-no-preview{background:#f0f0f0;padding:8px 12px;font-size:13px}.wp-block-legacy-widget__edit-no-preview h3{font-size:14px;font-weight:600;margin:4px 0}.wp-block-legacy-widget__edit-no-preview p{margin:4px 0}.wp-block-legacy-widget-inspector-card{padding:0 52px 16px 16px}.interface-complementary-area .wp-block-legacy-widget-inspector-card__name{margin:0 0 5px;font-weight:500}.is-selected .wp-block-legacy-widget__container{padding:8px 12px;min-height:50px} \ No newline at end of file diff --git a/wp-includes/blocks/legacy-widget/editor.css b/wp-includes/blocks/legacy-widget/editor.css index c45a57f6c2..4f19b3807c 100644 --- a/wp-includes/blocks/legacy-widget/editor.css +++ b/wp-includes/blocks/legacy-widget/editor.css @@ -146,4 +146,9 @@ .interface-complementary-area .wp-block-legacy-widget-inspector-card__name { margin: 0 0 5px; font-weight: 500; +} + +.is-selected .wp-block-legacy-widget__container { + padding: 8px 12px; + min-height: 50px; } \ No newline at end of file diff --git a/wp-includes/blocks/legacy-widget/editor.min.css b/wp-includes/blocks/legacy-widget/editor.min.css index c2346f703e..d5f6d64840 100644 --- a/wp-includes/blocks/legacy-widget/editor.min.css +++ b/wp-includes/blocks/legacy-widget/editor.min.css @@ -1 +1 @@ -.wp-block-legacy-widget__edit-form{background:#fff;border-radius:2px;border:1px solid #1e1e1e;padding:11px}.wp-block-legacy-widget__edit-form .wp-block-legacy-widget__edit-form-title{color:#000;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px;font-weight:600;margin:0 0 12px}.wp-block-legacy-widget__edit-form .widget-inside{border:none;box-shadow:none;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.wp-block-legacy-widget__edit-form .widget-inside label{font-size:13px}.wp-block-legacy-widget__edit-form .widget-inside label+.widefat{margin-top:12px}.wp-block-legacy-widget__edit-form .widget.open{z-index:0}.wp-block-legacy-widget__edit-no-preview,.wp-block-legacy-widget__edit-preview{cursor:pointer}.wp-block-legacy-widget__edit-no-preview:hover:after,.wp-block-legacy-widget__edit-preview:hover:after{border-radius:2px;border:1px solid #949494;bottom:0;content:"";left:0;position:absolute;right:0;top:0}.wp-block-legacy-widget__edit-preview.is-offscreen{left:-9999px;position:absolute;top:0;width:100%}.wp-block-legacy-widget__edit-preview-iframe{overflow:hidden;width:100%}.wp-block-legacy-widget__edit-no-preview{background:#f0f0f0;padding:8px 12px;font-size:13px}.wp-block-legacy-widget__edit-no-preview h3{font-size:14px;font-weight:600;margin:4px 0}.wp-block-legacy-widget__edit-no-preview p{margin:4px 0}.wp-block-legacy-widget-inspector-card{padding:0 16px 16px 52px}.interface-complementary-area .wp-block-legacy-widget-inspector-card__name{margin:0 0 5px;font-weight:500} \ No newline at end of file +.wp-block-legacy-widget__edit-form{background:#fff;border-radius:2px;border:1px solid #1e1e1e;padding:11px}.wp-block-legacy-widget__edit-form .wp-block-legacy-widget__edit-form-title{color:#000;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px;font-weight:600;margin:0 0 12px}.wp-block-legacy-widget__edit-form .widget-inside{border:none;box-shadow:none;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.wp-block-legacy-widget__edit-form .widget-inside label{font-size:13px}.wp-block-legacy-widget__edit-form .widget-inside label+.widefat{margin-top:12px}.wp-block-legacy-widget__edit-form .widget.open{z-index:0}.wp-block-legacy-widget__edit-no-preview,.wp-block-legacy-widget__edit-preview{cursor:pointer}.wp-block-legacy-widget__edit-no-preview:hover:after,.wp-block-legacy-widget__edit-preview:hover:after{border-radius:2px;border:1px solid #949494;bottom:0;content:"";left:0;position:absolute;right:0;top:0}.wp-block-legacy-widget__edit-preview.is-offscreen{left:-9999px;position:absolute;top:0;width:100%}.wp-block-legacy-widget__edit-preview-iframe{overflow:hidden;width:100%}.wp-block-legacy-widget__edit-no-preview{background:#f0f0f0;padding:8px 12px;font-size:13px}.wp-block-legacy-widget__edit-no-preview h3{font-size:14px;font-weight:600;margin:4px 0}.wp-block-legacy-widget__edit-no-preview p{margin:4px 0}.wp-block-legacy-widget-inspector-card{padding:0 16px 16px 52px}.interface-complementary-area .wp-block-legacy-widget-inspector-card__name{margin:0 0 5px;font-weight:500}.is-selected .wp-block-legacy-widget__container{padding:8px 12px;min-height:50px} \ No newline at end of file diff --git a/wp-includes/blocks/list/block.json b/wp-includes/blocks/list/block.json index d1106c8fcd..278dbad0d0 100644 --- a/wp-includes/blocks/list/block.json +++ b/wp-includes/blocks/list/block.json @@ -37,7 +37,10 @@ "supports": { "anchor": true, "className": false, - "fontSize": true, + "typography": { + "fontSize": true, + "__experimentalFontFamily": true + }, "color": { "gradients": true }, diff --git a/wp-includes/blocks/loginout/block.json b/wp-includes/blocks/loginout/block.json index 117ec3c60e..dfb40f7a06 100644 --- a/wp-includes/blocks/loginout/block.json +++ b/wp-includes/blocks/loginout/block.json @@ -18,6 +18,8 @@ }, "supports": { "className": true, - "fontSize": false + "typography": { + "fontSize": false + } } } diff --git a/wp-includes/blocks/paragraph/block.json b/wp-includes/blocks/paragraph/block.json index b10ea9eef9..d05e48a7be 100644 --- a/wp-includes/blocks/paragraph/block.json +++ b/wp-includes/blocks/paragraph/block.json @@ -35,8 +35,10 @@ "color": { "link": true }, - "fontSize": true, - "lineHeight": true, + "typography": { + "fontSize": true, + "lineHeight": true + }, "__experimentalSelector": "p", "__unstablePasteTextInline": true }, diff --git a/wp-includes/blocks/post-date/block.json b/wp-includes/blocks/post-date/block.json index dbd837a037..ca03fce4ad 100644 --- a/wp-includes/blocks/post-date/block.json +++ b/wp-includes/blocks/post-date/block.json @@ -24,7 +24,9 @@ "gradients": true, "link": true }, - "fontSize": true, - "lineHeight": true + "typography": { + "fontSize": true, + "lineHeight": true + } } } diff --git a/wp-includes/blocks/post-excerpt/block.json b/wp-includes/blocks/post-excerpt/block.json index bc654a1c2c..26e2425d1a 100644 --- a/wp-includes/blocks/post-excerpt/block.json +++ b/wp-includes/blocks/post-excerpt/block.json @@ -24,12 +24,14 @@ "usesContext": [ "postId", "postType" ], "supports": { "html": false, - "fontSize": true, "color": { "gradients": true, "link": true }, - "lineHeight": true + "typography": { + "fontSize": true, + "lineHeight": true + } }, "editorStyle": "wp-block-post-excerpt-editor", "style": "wp-block-post-excerpt" diff --git a/wp-includes/blocks/post-terms/block.json b/wp-includes/blocks/post-terms/block.json index 6aff9d449c..1f9f61738e 100644 --- a/wp-includes/blocks/post-terms/block.json +++ b/wp-includes/blocks/post-terms/block.json @@ -16,11 +16,13 @@ "usesContext": [ "postId", "postType" ], "supports": { "html": false, - "fontSize": true, "color": { "gradients": true, "link": true }, - "lineHeight": true + "typography": { + "lineHeight": true, + "fontSize": true + } } } diff --git a/wp-includes/blocks/post-title/block.json b/wp-includes/blocks/post-title/block.json index 21c1c52537..803d1d5a16 100644 --- a/wp-includes/blocks/post-title/block.json +++ b/wp-includes/blocks/post-title/block.json @@ -35,9 +35,11 @@ "gradients": true, "link": true }, - "fontSize": true, - "lineHeight": true, - "__experimentalFontFamily": true + "typography": { + "fontSize": true, + "lineHeight": true, + "__experimentalFontFamily": true + } }, "style": "wp-block-post-title" } diff --git a/wp-includes/blocks/preformatted/block.json b/wp-includes/blocks/preformatted/block.json index ece56338db..6deb40540b 100644 --- a/wp-includes/blocks/preformatted/block.json +++ b/wp-includes/blocks/preformatted/block.json @@ -20,7 +20,9 @@ "color": { "gradients": true }, - "fontSize": true + "typography": { + "fontSize": true + } }, "style": "wp-block-preformatted" } diff --git a/wp-includes/blocks/query-pagination-next/block.json b/wp-includes/blocks/query-pagination-next/block.json index d3f018907d..afc69d6e14 100644 --- a/wp-includes/blocks/query-pagination-next/block.json +++ b/wp-includes/blocks/query-pagination-next/block.json @@ -19,7 +19,9 @@ "gradients": true, "link": true }, - "fontSize": true, - "lineHeight": true + "typography": { + "fontSize": true, + "lineHeight": true + } } } diff --git a/wp-includes/blocks/query-pagination-previous/block.json b/wp-includes/blocks/query-pagination-previous/block.json index ace5b5fbf3..78a53867d0 100644 --- a/wp-includes/blocks/query-pagination-previous/block.json +++ b/wp-includes/blocks/query-pagination-previous/block.json @@ -19,7 +19,9 @@ "gradients": true, "link": true }, - "fontSize": true, - "lineHeight": true + "typography": { + "fontSize": true, + "lineHeight": true + } } } diff --git a/wp-includes/blocks/query-title/block.json b/wp-includes/blocks/query-title/block.json index a78e9b77a5..3e5d43fc50 100644 --- a/wp-includes/blocks/query-title/block.json +++ b/wp-includes/blocks/query-title/block.json @@ -23,9 +23,11 @@ "color": { "gradients": true }, - "fontSize": true, - "lineHeight": true, - "__experimentalFontFamily": true + "typography": { + "fontSize": true, + "lineHeight": true, + "__experimentalFontFamily": true + } }, "editorStyle": "wp-block-query-title-editor" } diff --git a/wp-includes/blocks/site-tagline/block.json b/wp-includes/blocks/site-tagline/block.json index d85e68f3e1..d18b951724 100644 --- a/wp-includes/blocks/site-tagline/block.json +++ b/wp-includes/blocks/site-tagline/block.json @@ -20,9 +20,11 @@ "margin": true, "padding": true }, - "fontSize": true, - "lineHeight": true, - "__experimentalFontFamily": true, - "__experimentalTextTransform": true + "typography": { + "fontSize": true, + "lineHeight": true, + "__experimentalFontFamily": true, + "__experimentalTextTransform": true + } } } diff --git a/wp-includes/blocks/site-title/block.json b/wp-includes/blocks/site-title/block.json index 26ee7c601f..3e16e62071 100644 --- a/wp-includes/blocks/site-title/block.json +++ b/wp-includes/blocks/site-title/block.json @@ -26,11 +26,13 @@ "padding": true, "margin": true }, - "fontSize": true, - "lineHeight": true, - "__experimentalFontFamily": true, - "__experimentalTextTransform": true, - "__experimentalFontStyle": true, - "__experimentalFontWeight": true + "typography": { + "fontSize": true, + "lineHeight": true, + "__experimentalFontFamily": true, + "__experimentalTextTransform": true, + "__experimentalFontStyle": true, + "__experimentalFontWeight": true + } } } diff --git a/wp-includes/blocks/verse/block.json b/wp-includes/blocks/verse/block.json index 5e86c15180..ec080e7c1e 100644 --- a/wp-includes/blocks/verse/block.json +++ b/wp-includes/blocks/verse/block.json @@ -25,8 +25,10 @@ "gradients": true, "link": true }, - "__experimentalFontFamily": true, - "fontSize": true, + "typography": { + "fontSize": true, + "__experimentalFontFamily": true + }, "spacing": { "padding": true } diff --git a/wp-includes/class-wp-theme-json-resolver.php b/wp-includes/class-wp-theme-json-resolver.php index db0747bb84..332038b1f7 100644 --- a/wp-includes/class-wp-theme-json-resolver.php +++ b/wp-includes/class-wp-theme-json-resolver.php @@ -66,7 +66,7 @@ class WP_Theme_JSON_Resolver { $json_decoding_error = json_last_error(); if ( JSON_ERROR_NONE !== $json_decoding_error ) { - error_log( 'Error when decoding file schema: ' . json_last_error_msg() ); + trigger_error( "Error when decoding a theme.json schema at path $file_path " . json_last_error_msg() ); return $config; } diff --git a/wp-includes/class-wp-theme-json.php b/wp-includes/class-wp-theme-json.php index 5580e39285..d13fef2249 100644 --- a/wp-includes/class-wp-theme-json.php +++ b/wp-includes/class-wp-theme-json.php @@ -655,7 +655,11 @@ class WP_Theme_JSON { foreach ( $values as $value ) { foreach ( $preset['classes'] as $class ) { $stylesheet .= self::to_ruleset( - self::append_to_selector( $selector, '.has-' . $value['slug'] . '-' . $class['class_suffix'] ), + // We don't want to use kebabCase here, + // see https://github.com/WordPress/gutenberg/issues/32347 + // However, we need to make sure the generated class + // doesn't contain spaces. + self::append_to_selector( $selector, '.has-' . preg_replace( '/\s+/', '-', $value['slug'] ) . '-' . $class['class_suffix'] ), array( array( 'name' => $class['property_name'], diff --git a/wp-includes/css/dist/block-editor/style-rtl.css b/wp-includes/css/dist/block-editor/style-rtl.css index 40bb8bac9c..2c8ad0c469 100644 --- a/wp-includes/css/dist/block-editor/style-rtl.css +++ b/wp-includes/css/dist/block-editor/style-rtl.css @@ -565,6 +565,7 @@ * Block Toolbar when contextual. */ .block-editor-block-contextual-toolbar { + display: inline-flex; border: 1px solid #1e1e1e; border-radius: 2px; background-color: #fff; diff --git a/wp-includes/css/dist/block-editor/style-rtl.min.css b/wp-includes/css/dist/block-editor/style-rtl.min.css index 8fc586a2d1..811f960825 100644 --- a/wp-includes/css/dist/block-editor/style-rtl.min.css +++ b/wp-includes/css/dist/block-editor/style-rtl.min.css @@ -1 +1 @@ -@charset "UTF-8";:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}#start-resizable-editor-section{display:none}.block-editor-autocompleters__block{white-space:nowrap}.block-editor-autocompleters__block .block-editor-block-icon{margin-left:8px}.block-editor-block-alignment-matrix-control__popover .components-popover__content{min-width:0;width:auto}.block-editor-block-alignment-matrix-control__popover .components-popover__content>div{padding:8px}.block-editor-block-icon{display:flex;align-items:center;justify-content:center;width:24px;height:24px}.block-editor-block-icon.has-colors svg{fill:currentColor}.block-editor-block-icon svg{min-width:20px;min-height:20px;max-width:24px;max-height:24px}.block-editor-block-inspector p{margin-top:0}.block-editor-block-inspector h2,.block-editor-block-inspector h3{font-size:13px;color:#1e1e1e;margin-bottom:1.5em}.block-editor-block-inspector .components-base-control{margin-bottom:24px}.block-editor-block-inspector .components-base-control:last-child{margin-bottom:8px}.block-editor-block-inspector .components-panel__body{border:none;border-top:1px solid #e0e0e0}.block-editor-block-inspector .block-editor-block-card{padding:16px}.block-editor-block-inspector__no-blocks{display:block;font-size:13px;background:#fff;padding:32px 16px;text-align:center}.block-editor-block-styles .block-editor-block-list__block{margin:0}.block-editor-block-list__layout{position:relative}.block-editor-block-list__layout.is-navigate-mode{cursor:default}.block-editor-block-list__layout .block-editor-block-list__block.is-highlighted:after,.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:after,.block-editor-block-list__layout.is-navigate-mode .block-editor-block-list__block.is-hovered:after,.block-editor-block-list__layout.is-navigate-mode .block-editor-block-list__block.is-selected:after{position:absolute;z-index:1;pointer-events:none;content:"";top:1px;bottom:1px;right:1px;left:1px;box-shadow:0 0 0 1px var(--wp-admin-theme-color);border-radius:1px;outline:2px solid transparent}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-highlighted:after,.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:after,.is-dark-theme .block-editor-block-list__layout.is-navigate-mode .block-editor-block-list__block.is-hovered:after,.is-dark-theme .block-editor-block-list__layout.is-navigate-mode .block-editor-block-list__block.is-selected:after{box-shadow:0 0 0 1px #fff}.block-editor-block-list__layout .block-editor-block-list__block.is-highlighted .components-placeholder ::selection,.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .components-placeholder ::selection,.block-editor-block-list__layout.is-navigate-mode .block-editor-block-list__block.is-hovered .components-placeholder ::selection,.block-editor-block-list__layout.is-navigate-mode .block-editor-block-list__block.is-selected .components-placeholder ::selection{background:transparent}.block-editor-block-list__layout.is-navigate-mode .block-editor-block-list__block.is-hovered:not(.is-selected):after{box-shadow:0 0 0 1px #949494}.block-editor-block-list__layout .block-editor-block-list__block.is-highlighted:after,.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:after,.block-editor-block-list__layout .is-block-moving-mode.block-editor-block-list__block.has-child-selected,.block-editor-block-list__layout.is-navigate-mode .block-editor-block-list__block.is-selected:after{box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);outline:var(--wp-admin-border-width-focus) solid transparent}.block-editor-block-list__layout .is-block-moving-mode.block-editor-block-list__block.is-selected:before{content:"";position:absolute;z-index:0;pointer-events:none;transition:border-color .1s linear,border-style .1s linear,box-shadow .1s linear;left:0;right:0;top:-14px;border-radius:2px;border-top:4px solid #ccc}.block-editor-block-list__layout .is-block-moving-mode.block-editor-block-list__block.is-selected:after{content:none}.block-editor-block-list__layout .is-block-moving-mode.can-insert-moving-block.block-editor-block-list__block.is-selected:before{border-color:var(--wp-admin-theme-color)}.is-block-moving-mode.block-editor-block-list__block-selection-button{opacity:0;font-size:1px;height:1px;padding:0}.block-editor-block-list__layout .block-editor-block-list__block{position:relative;overflow-wrap:break-word}.block-editor-block-list__layout .block-editor-block-list__block .reusable-block-edit-panel *{z-index:1}.block-editor-block-list__layout .block-editor-block-list__block .components-placeholder .components-with-notices-ui{margin:-10px 0 12px}.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui{margin:0 0 12px;width:100%}.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui .components-notice{margin-right:0;margin-left:0}.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui .components-notice .components-notice__content{font-size:13px}.block-editor-block-list__layout .block-editor-block-list__block:not([contenteditable]):focus{outline:none}.block-editor-block-list__layout .block-editor-block-list__block:not([contenteditable]):focus:after{position:absolute;z-index:1;pointer-events:none;content:"";top:1px;bottom:1px;right:1px;left:1px;box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);border-radius:1px}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block:not([contenteditable]):focus:after{box-shadow:0 0 0 var(--wp-admin-border-width-focus) #fff}.block-editor-block-list__layout .block-editor-block-list__block:after{content:"";pointer-events:none;position:absolute;top:0;left:0;bottom:0;right:0;border-radius:2px;box-shadow:0 0 0 var(--wp-admin-border-width-focus) transparent}.block-editor-block-list__layout .block-editor-block-list__block.has-warning{min-height:48px}.block-editor-block-list__layout .block-editor-block-list__block.has-warning>*{pointer-events:none;-webkit-user-select:none;user-select:none}.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-warning{pointer-events:all}.block-editor-block-list__layout .block-editor-block-list__block.has-warning:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;border-radius:2px;background-color:hsla(0,0%,100%,.4)}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-multi-selected:after{background-color:initial}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable>.block-editor-inner-blocks>.block-editor-block-list__layout.has-overlay:after{display:none}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable>.block-editor-inner-blocks>.block-editor-block-list__layout.has-overlay .block-editor-block-list__layout.has-overlay:after{display:block}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable.has-child-selected:after{box-shadow:0 0 0 1px var(--wp-admin-theme-color)}.block-editor-block-list__layout .block-editor-block-list__block[data-clear=true]{float:none}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-default-block-appender .block-editor-inserter{right:auto;left:8px}.is-outline-mode:not(.is-typing) .block-editor-block-list__block.is-hovered{cursor:default}.is-outline-mode:not(.is-typing) .block-editor-block-list__block.is-hovered:after{top:1px;right:1px;left:1px;bottom:1px;box-shadow:0 0 0 1px var(--wp-admin-theme-color);border-radius:1px}.is-outline-mode:not(.is-typing) .block-editor-block-list__block.is-selected{cursor:unset}.is-outline-mode:not(.is-typing) .block-editor-block-list__block.is-selected:after{box-shadow:0 0 0 1px var(--wp-admin-theme-color);top:1px;right:1px;left:1px;bottom:1px;border-radius:1px}.is-outline-mode:not(.is-typing) .block-editor-block-list__block.is-selected:focus:after{box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.is-focus-mode .block-editor-block-list__block:not(.has-child-selected){opacity:.5;transition:opacity .1s linear}@media (prefers-reduced-motion:reduce){.is-focus-mode .block-editor-block-list__block:not(.has-child-selected){transition-duration:0s;transition-delay:0s}}.is-focus-mode .block-editor-block-list__block:not(.has-child-selected) .block-editor-block-list__block,.is-focus-mode .block-editor-block-list__block:not(.has-child-selected).is-multi-selected,.is-focus-mode .block-editor-block-list__block:not(.has-child-selected).is-selected{opacity:1}.is-root-container:not(.is-focus-mode) .block-editor-block-list__block.has-active-entity{opacity:.5;transition:opacity .1s linear}@media (prefers-reduced-motion:reduce){.is-root-container:not(.is-focus-mode) .block-editor-block-list__block.has-active-entity{transition-duration:0s;transition-delay:0s}}.is-root-container:not(.is-focus-mode) .block-editor-block-list__block.has-active-entity.has-child-selected,.is-root-container:not(.is-focus-mode) .block-editor-block-list__block.has-active-entity.is-active-entity,.is-root-container:not(.is-focus-mode) .block-editor-block-list__block.has-active-entity.is-active-entity .block-editor-block-list__block,.is-root-container:not(.is-focus-mode) .block-editor-block-list__block.has-active-entity .is-active-entity .block-editor-block-list__block,.is-root-container:not(.is-focus-mode) .block-editor-block-list__block.has-active-entity:not(.has-child-selected) .block-editor-block-list__block{opacity:1}.wp-block[data-align=left]>*,.wp-block[data-align=right]>*{z-index:21}.block-editor-block-list .block-editor-inserter{margin:8px;cursor:move;cursor:grab}@keyframes block-editor-inserter__toggle__fade-in-animation{0%{opacity:0}to{opacity:1}}.wp-block .block-list-appender .block-editor-inserter__toggle{animation:block-editor-inserter__toggle__fade-in-animation .1s ease;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.wp-block .block-list-appender .block-editor-inserter__toggle{animation-duration:1ms;animation-delay:0s}}.block-editor-block-list__block:not(.is-selected):not(.has-child-selected) .block-editor-default-block-appender{display:none}.block-editor-block-list__block:not(.is-selected):not(.has-child-selected) .block-editor-default-block-appender .block-editor-inserter__toggle{opacity:0;transform:scale(0)}.block-editor-block-list__block .block-editor-block-list__block-html-textarea{display:block;margin:0;padding:12px;width:100%;border:none;outline:none;border-radius:2px;box-shadow:inset 0 0 0 1px #1e1e1e;resize:none;overflow:hidden;font-family:Menlo,Consolas,monaco,monospace;font-size:15px;line-height:1.5;transition:padding .2s linear}@media (prefers-reduced-motion:reduce){.block-editor-block-list__block .block-editor-block-list__block-html-textarea{transition-duration:0s;transition-delay:0s}}.block-editor-block-list__block .block-editor-block-list__block-html-textarea:focus{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.block-editor-block-list__block .block-editor-warning{z-index:5;position:relative}.block-editor-block-list__block .block-editor-warning.block-editor-block-list__block-crash-warning{margin-bottom:auto}.block-editor-block-list__insertion-point{position:absolute}.block-editor-block-list__insertion-point-indicator{position:absolute;background:var(--wp-admin-theme-color);animation:block-editor-inserter__toggle__fade-in-animation-delayed .3s ease;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-block-list__insertion-point-indicator{animation-duration:1ms;animation-delay:0s}}.block-editor-block-list__insertion-point.is-vertical>.block-editor-block-list__insertion-point-indicator{top:50%;left:0;right:0;height:1px}.block-editor-block-list__insertion-point.is-horizontal>.block-editor-block-list__insertion-point-indicator{top:0;left:0;right:50%;height:100%;width:1px}.block-editor-block-list__insertion-point-inserter{display:none;position:absolute;justify-content:center;top:calc(50% - 12px);right:calc(50% - 12px)}@media (min-width:480px){.block-editor-block-list__insertion-point-inserter{display:flex}}.block-editor-block-list__block-popover-inserter{position:absolute;top:-9999em;margin-bottom:14px}.block-editor-block-list__block-popover-inserter.is-visible{position:static}.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle.components-button.has-icon,.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle.components-button.has-icon,.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button.has-icon,.block-editor-default-block-appender .block-editor-inserter__toggle.components-button.has-icon{background:#1e1e1e;border-radius:2px;color:#fff;padding:0;min-width:24px;height:24px}.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle.components-button.has-icon:hover,.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle.components-button.has-icon:hover,.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button.has-icon:hover,.block-editor-default-block-appender .block-editor-inserter__toggle.components-button.has-icon:hover{color:#fff;background:var(--wp-admin-theme-color)}.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button.has-icon{background:var(--wp-admin-theme-color)}.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button.has-icon:hover{background:#1e1e1e}.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle.components-button,.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button{animation:block-editor-inserter__toggle__fade-in-animation-delayed .3s ease;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle.components-button,.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button{animation-duration:1ms;animation-delay:0s}}@keyframes block-editor-inserter__toggle__fade-in-animation-delayed{0%{opacity:0}60%{opacity:0}to{opacity:1}}.block-editor-block-contextual-toolbar{border:1px solid #1e1e1e;border-radius:2px;background-color:#fff}.block-editor-block-contextual-toolbar .block-editor-block-toolbar .components-toolbar,.block-editor-block-contextual-toolbar .block-editor-block-toolbar .components-toolbar-group{border-left-color:#1e1e1e}.block-editor-block-contextual-toolbar.is-fixed{position:sticky;top:0;width:100%;z-index:31;min-height:48px;display:block;border:none;border-bottom:1px solid #e0e0e0;border-radius:0}.block-editor-block-contextual-toolbar.is-fixed .block-editor-block-toolbar .components-toolbar,.block-editor-block-contextual-toolbar.is-fixed .block-editor-block-toolbar .components-toolbar-group{border-left-color:#e0e0e0}.block-editor-block-contextual-toolbar .block-editor-block-mover-button{overflow:hidden}.block-editor-block-contextual-toolbar .block-editor-block-mover.is-horizontal .block-editor-block-mover-button.block-editor-block-mover-button{min-width:24px;width:24px}.block-editor-block-contextual-toolbar .block-editor-block-mover.is-horizontal .block-editor-block-mover-button.block-editor-block-mover-button svg{min-width:24px}.block-editor-block-contextual-toolbar .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover-button:focus:before{right:0!important;min-width:0;width:100%}@media (min-width:600px){.block-editor-block-contextual-toolbar .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover-button.is-up-button svg{top:5px}.block-editor-block-contextual-toolbar .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover-button.is-down-button svg{bottom:5px}}.block-editor-block-list__block-selection-button{display:inline-flex;padding:0 13px;z-index:22;border-radius:2px;background-color:#1e1e1e;font-size:13px;height:48px}.block-editor-block-list__block-selection-button .block-editor-block-list__block-selection-button__content{margin:auto;display:inline-flex;align-items:center}.block-editor-block-list__block-selection-button .block-editor-block-list__block-selection-button__content>.components-flex__item{margin-left:6px}.block-editor-block-list__block-selection-button .components-button.has-icon.block-selection-button_drag-handle{cursor:grab;padding:0;height:24px;min-width:24px}.block-editor-block-list__block-selection-button .components-button.has-icon.block-selection-button_drag-handle svg{min-width:18px;min-height:18px}.block-editor-block-list__block-selection-button .block-editor-block-icon{font-size:13px;color:#fff;height:48px}.block-editor-block-list__block-selection-button .components-button{min-width:36px;color:#fff;height:48px;display:flex}.block-editor-block-list__block-selection-button .components-button:focus{box-shadow:none;border:none}.block-editor-block-list__block-selection-button .components-button:active{color:#fff}.block-editor-block-list__block-selection-button .block-selection-button_select-button.components-button{padding:0}.block-editor-block-list__insertion-point-popover.is-without-arrow{z-index:28;position:absolute;pointer-events:none}.block-editor-block-list__insertion-point-popover.is-without-arrow *{pointer-events:none}.block-editor-block-list__insertion-point-popover.is-without-arrow .is-with-inserter,.block-editor-block-list__insertion-point-popover.is-without-arrow .is-with-inserter *{pointer-events:all}.block-editor-block-list__insertion-point-popover.is-without-arrow .components-popover__content.components-popover__content{background:none;border:none;box-shadow:none;overflow-y:visible;margin-right:0}@keyframes hide-during-dragging{to{position:fixed;transform:translate(-9999px,9999px)}}.components-popover.block-editor-block-list__block-popover{z-index:31;position:absolute}.components-popover.block-editor-block-list__block-popover .components-popover__content{margin:0!important;min-width:auto;width:max-content;background:none;border:none;box-shadow:none;overflow-y:visible;pointer-events:none}.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-contextual-toolbar,.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-list__block-selection-button,.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-list__empty-block-inserter{pointer-events:all}.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-contextual-toolbar,.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-list__block-selection-button{margin-top:12px;margin-bottom:12px}.is-dragging-components-draggable .components-popover.block-editor-block-list__block-popover{opacity:0;animation:hide-during-dragging 1ms linear forwards}.is-dragging-components-draggable .components-tooltip{display:none}.block-editor-block-list__block .block-list-appender{align-self:center;padding:0;list-style:none;margin:0 8px 0 auto}.block-editor-block-list__block .block-list-appender.wp-block{max-width:none}.block-editor-block-list__block .block-list-appender:first-child{margin-right:0}.block-editor-block-list__block .block-list-appender .block-editor-default-block-appender{margin:8px 0}.block-editor-block-list__block .block-list-appender .block-list-appender__toggle{padding:0;opacity:1;transform:scale(1);transition:all .1s ease}@media (prefers-reduced-motion:reduce){.block-editor-block-list__block .block-list-appender .block-list-appender__toggle{transition-duration:0s;transition-delay:0s}}.is-vertical .block-list-appender{width:24px;margin-left:auto;margin-top:12px;margin-right:12px}.block-list-appender>.block-editor-inserter{display:block}.block-editor-block-list__block:not(.is-selected):not(.has-child-selected):not(.block-editor-block-list__layout) .block-editor-block-list__layout>.block-list-appender .block-list-appender__toggle{opacity:0;transform:scale(0)}.block-editor-block-breadcrumb{list-style:none;padding:0;margin:0}.block-editor-block-breadcrumb li{display:inline-block;margin:0}.block-editor-block-breadcrumb li:not(:last-child):after{content:"←"}.block-editor-block-breadcrumb__button.components-button{height:24px;line-height:24px;padding:0;position:relative}.block-editor-block-breadcrumb__button.components-button:hover:not(:disabled){text-decoration:underline;box-shadow:none}.block-editor-block-breadcrumb__button.components-button:focus{box-shadow:none}.block-editor-block-breadcrumb__button.components-button:focus:before{content:"";display:block;position:absolute;border-radius:2px;top:1px;left:1px;bottom:1px;right:1px;box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.block-editor-block-breadcrumb__current{cursor:default}.block-editor-block-breadcrumb__button.components-button,.block-editor-block-breadcrumb__current{color:#1e1e1e;padding:0 8px;font-size:inherit}.block-editor-block-card{display:flex;align-items:flex-start}.block-editor-block-card__content{flex-grow:1;margin-bottom:4px}.block-editor-block-card__title{font-weight:500}.block-editor-block-card__title.block-editor-block-card__title{line-height:24px;margin:0 0 4px}.block-editor-block-card__description{font-size:13px}.block-editor-block-card .block-editor-block-icon{flex:0 0 24px;margin-right:0;margin-left:12px;width:24px;height:24px}.block-editor-block-compare{overflow:auto;height:auto}@media (min-width:600px){.block-editor-block-compare{max-height:70%}}.block-editor-block-compare__wrapper{display:flex;padding-bottom:16px}.block-editor-block-compare__wrapper>div{display:flex;justify-content:space-between;flex-direction:column;width:50%;padding:0 0 0 16px;min-width:200px}.block-editor-block-compare__wrapper>div button{float:left}.block-editor-block-compare__wrapper .block-editor-block-compare__converted{border-right:1px solid #ddd;padding-right:15px;padding-left:0}.block-editor-block-compare__wrapper .block-editor-block-compare__html{font-family:Menlo,Consolas,monaco,monospace;font-size:12px;color:#1e1e1e;border-bottom:1px solid #ddd;padding-bottom:15px;line-height:1.7}.block-editor-block-compare__wrapper .block-editor-block-compare__html span{background-color:#e6ffed;padding-top:3px;padding-bottom:3px}.block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__added{background-color:#acf2bd}.block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__removed{background-color:#cc1818}.block-editor-block-compare__wrapper .block-editor-block-compare__preview{padding:16px 0 0}.block-editor-block-compare__wrapper .block-editor-block-compare__preview p{font-size:12px;margin-top:0}.block-editor-block-compare__wrapper .block-editor-block-compare__action{margin-top:16px}.block-editor-block-compare__wrapper .block-editor-block-compare__heading{font-size:1em;font-weight:400;margin:.67em 0}.block-editor-block-draggable-chip-wrapper{position:absolute;top:-24px;right:0}.block-editor-block-draggable-chip{background-color:#1e1e1e;border-radius:2px;box-shadow:0 6px 8px rgba(0,0,0,.3);color:#fff;cursor:grabbing;display:inline-flex;height:48px;padding:0 13px;-webkit-user-select:none;user-select:none}.block-editor-block-draggable-chip svg{fill:currentColor}.block-editor-block-draggable-chip .block-editor-block-draggable-chip__content{margin:auto;justify-content:flex-start}.block-editor-block-draggable-chip .block-editor-block-draggable-chip__content>.components-flex__item{margin-left:6px}.block-editor-block-draggable-chip .block-editor-block-draggable-chip__content>.components-flex__item:last-child{margin-left:0}.block-editor-block-draggable-chip .block-editor-block-draggable-chip__content .block-editor-block-icon svg{min-width:18px;min-height:18px}.block-editor-block-draggable-chip .components-flex__item{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.is-dragging{display:none!important}.block-editor-block-mobile-toolbar{display:flex;flex-direction:row;border-left:1px solid #ddd}.block-editor-block-mobile-toolbar .block-editor-block-mover-button{width:36px;height:36px;border-radius:2px;padding:3px;margin:0;justify-content:center;align-items:center}.block-editor-block-mobile-toolbar .block-editor-block-mover-button .dashicon{margin:auto}.block-editor-block-mobile-toolbar .block-editor-block-mover{display:flex;margin-left:auto}.block-editor-block-mobile-toolbar .block-editor-block-mover .block-editor-block-mover-button{float:right}.block-editor-block-mover-button__description{display:none}.block-editor-block-mover-button.has-icon{padding:0}.block-editor-block-mover{display:inline-flex;flex-direction:row}.block-editor-block-mover .block-editor-block-mover__move-button-container,.block-editor-block-mover .components-toolbar{flex:1;flex-direction:row;border-left:none!important}@media (min-width:600px){.block-editor-block-mover .block-editor-block-mover__move-button-container,.block-editor-block-mover .components-toolbar{flex-direction:column}}.block-editor-block-mover.is-horizontal .block-editor-block-mover__move-button-container,.block-editor-block-mover.is-horizontal .components-toolbar{flex-direction:row}.block-editor-block-mover .block-editor-block-mover-button.block-editor-block-mover-button{padding-left:0;padding-right:0;min-width:36px}@media (min-width:600px){.block-editor-block-mover .block-editor-block-mover-button{height:24px;width:42px;padding-left:11px!important;padding-right:6px!important}.block-editor-block-mover .block-editor-block-mover-button.block-editor-block-mover-button{min-width:42px}}@media (min-width:600px){.block-editor-block-mover .block-editor-block-mover-button:before{right:8px!important;left:8px!important}}.block-editor-block-mover .block-editor-block-mover__drag-handle{width:24px;cursor:grab;min-width:24px!important;padding:0!important}.block-editor-block-mover .block-editor-block-mover__drag-handle:focus:before{right:0!important;left:0!important}@media (min-width:600px){.block-editor-block-mover .components-toolbar-group .block-editor-block-mover-button,.block-editor-block-mover .components-toolbar .block-editor-block-mover-button{margin:0 0 0 auto}.block-editor-block-mover .components-toolbar-group .block-editor-block-mover-button.is-up-button:before,.block-editor-block-mover .components-toolbar .block-editor-block-mover-button.is-up-button:before{bottom:0;height:calc(100% - 1px)}.block-editor-block-mover .components-toolbar-group .block-editor-block-mover-button.is-down-button:before,.block-editor-block-mover .components-toolbar .block-editor-block-mover-button.is-down-button:before{top:0;height:calc(100% - 1px)}}.block-editor-block-mover.is-horizontal .block-editor-block-mover-button.has-icon{height:48px;width:24px;padding-right:0;padding-left:0}.block-editor-block-mover.is-horizontal .block-editor-block-mover-button.has-icon:before{top:1px;bottom:1px;min-width:0;width:auto;height:auto}.block-editor-block-mover.is-horizontal .block-editor-block-mover-button.is-up-button.has-icon svg{margin-right:0;margin-left:-8px;margin-bottom:0}.block-editor-block-mover.is-horizontal .block-editor-block-mover-button.is-up-button.has-icon:before{right:0!important;left:0!important}.block-editor-block-mover.is-horizontal .block-editor-block-mover-button.is-down-button.has-icon svg{margin-right:-8px;margin-left:0;margin-top:0}.block-editor-block-mover.is-horizontal .block-editor-block-mover-button.is-down-button.has-icon:before{right:0!important;left:0!important;width:calc(100% + 1px)}.block-editor-block-navigation__label{margin:0 0 12px;color:#757575;text-transform:uppercase;font-size:11px;font-weight:500}.block-editor-block-navigation__container{min-width:280px}.block-editor-block-navigation-tree{width:100%;border-collapse:collapse;padding:0;margin:0}.components-modal__content .block-editor-block-navigation-tree{margin:-12px -6px 0;width:calc(100% + 12px)}.block-editor-block-navigation-leaf{position:relative}.block-editor-block-navigation-leaf.is-selected .block-editor-block-navigation-block-contents{background:var(--wp-admin-theme-color);color:#fff}.block-editor-block-navigation-leaf.is-selected .block-editor-block-navigation-block-contents:focus{box-shadow:inset 0 0 0 1px #fff,0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.block-editor-block-navigation-leaf.is-branch-selected.is-selected .block-editor-block-navigation-block-contents{border-radius:2px 2px 0 0}.block-editor-block-navigation-leaf.is-branch-selected:not(.is-selected) .block-editor-block-navigation-block-contents{background:linear-gradient(hsla(0,0%,100%,.9),hsla(0,0%,100%,.9)),linear-gradient(var(--wp-admin-theme-color),var(--wp-admin-theme-color));border-radius:0}.block-editor-block-navigation-leaf.is-branch-selected.is-last-of-selected-branch .block-editor-block-navigation-block-contents{border-radius:0 0 2px 2px}.block-editor-block-navigation-leaf.is-dragging{display:none}.block-editor-block-navigation-leaf .block-editor-block-navigation-block-contents{display:flex;align-items:center;width:100%;height:auto;padding:6px 12px;text-align:right;color:#1e1e1e;border-radius:2px;position:relative;white-space:nowrap}.block-editor-block-navigation-leaf .block-editor-block-navigation-block-contents:focus,.block-editor-block-navigation-leaf .block-editor-block-navigation-block-contents:hover{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.block-editor-block-navigation-leaf .block-editor-block-navigation-block-contents:focus{z-index:1}.block-editor-block-navigation-leaf .block-editor-block-navigation-block-contents.is-dropping-before:before{content:"";position:absolute;pointer-events:none;transition:border-color .1s linear,border-style .1s linear,box-shadow .1s linear;top:-2px;left:0;right:0;border-top:4px solid var(--wp-admin-theme-color)}.block-editor-block-navigation-leaf .block-editor-block-navigation-block-contents.is-dropping-after:before{content:"";position:absolute;pointer-events:none;transition:border-color .1s linear,border-style .1s linear,box-shadow .1s linear;bottom:-2px;left:0;right:0;border-bottom:4px solid var(--wp-admin-theme-color)}.block-editor-block-navigation-leaf .block-editor-block-navigation-block-contents.is-dropping-to-inner-blocks:before{content:"";position:absolute;pointer-events:none;transition:border-color .1s linear,border-style .1s linear,box-shadow .1s linear;bottom:-2px;left:0;right:24px;border-bottom:4px solid var(--wp-admin-theme-color)}.components-modal__content .block-editor-block-navigation-leaf .block-editor-block-navigation-block-contents{padding-right:0;padding-left:0}.block-editor-block-navigation-leaf.is-visible .block-editor-block-navigation-block-contents{opacity:1;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-block-navigation-leaf.is-visible .block-editor-block-navigation-block-contents{animation-duration:1ms;animation-delay:0s}}.block-editor-block-navigation-leaf .block-editor-block-icon{align-self:flex-start;margin-left:10px;width:20px}.block-editor-block-navigation-leaf .block-editor-block-navigation-block__contents-cell,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell{padding-top:0;padding-bottom:0}.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell{line-height:0;width:36px;opacity:0;vertical-align:top}@media (prefers-reduced-motion:reduce){.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell{transition-duration:0s;transition-delay:0s}}.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell.is-visible,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell:hover,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell.is-visible,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell:hover{position:relative;z-index:1;opacity:1;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell.is-visible,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell:hover,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell.is-visible,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell:hover{animation-duration:1ms;animation-delay:0s}}.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell .components-button.has-icon,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell .components-button.has-icon{width:24px;min-width:24px;padding:0}.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell{padding-top:8px}.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell-alignment-wrapper{display:flex;height:100%;flex-direction:column;align-items:center}.block-editor-block-navigation-leaf .block-editor-block-mover-button{position:relative;width:36px;height:24px}.block-editor-block-navigation-leaf .block-editor-block-mover-button svg{position:relative;height:24px}.block-editor-block-navigation-leaf .block-editor-block-mover-button.is-up-button{margin-top:-6px;align-items:flex-end}.block-editor-block-navigation-leaf .block-editor-block-mover-button.is-up-button svg{bottom:-4px}.block-editor-block-navigation-leaf .block-editor-block-mover-button.is-down-button{margin-bottom:-6px;align-items:flex-start}.block-editor-block-navigation-leaf .block-editor-block-mover-button.is-down-button svg{top:-4px}.block-editor-block-navigation-leaf .block-editor-block-mover-button:focus,.block-editor-block-navigation-leaf .block-editor-block-mover-button:focus:enabled{box-shadow:none;outline:none}.block-editor-block-navigation-leaf .block-editor-block-mover-button:focus:before{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color),inset 0 0 0 4px #fff;outline:2px solid transparent}.block-editor-block-navigation-leaf .block-editor-block-mover-button:before{content:"";position:absolute;display:block;border-radius:2px;height:16px;min-width:100%;right:0;left:0;animation:components-button__appear-animation .1s ease;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-block-navigation-leaf .block-editor-block-mover-button:before{animation-duration:1ms;animation-delay:0s}}.block-editor-block-navigation-leaf .block-editor-inserter__toggle{background:#1e1e1e;color:#fff;height:24px;margin:6px 1px 6px 6px;min-width:24px}.block-editor-block-navigation-leaf .block-editor-inserter__toggle:active{color:#fff}.block-editor-block-navigation-leaf .block-editor-block-navigation-block-select-button__anchor{background:rgba(0,0,0,.1);border-radius:2px;display:inline-block;padding:2px 6px;margin:0 8px;max-width:120px;overflow:hidden;text-overflow:ellipsis}.block-editor-block-navigation-leaf.is-selected .block-editor-block-navigation-block-select-button__anchor{background:rgba(0,0,0,.3)}.block-editor-block-navigation-appender__description,.block-editor-block-navigation-block-select-button__description,.block-editor-block-navigation-block-slot__description{display:none}.block-editor-block-navigation-appender__cell .block-editor-block-navigation-appender__container,.block-editor-block-navigation-appender__cell .block-editor-block-navigation-block__contents-container,.block-editor-block-navigation-block__contents-cell .block-editor-block-navigation-appender__container,.block-editor-block-navigation-block__contents-cell .block-editor-block-navigation-block__contents-container{display:flex}.block-editor-block-navigation-leaf[aria-level] .block-editor-block-icon{margin-right:224px}.block-editor-block-navigation-leaf[aria-level="1"] .block-editor-block-icon{margin-right:0}.block-editor-block-navigation-leaf[aria-level="2"] .block-editor-block-icon{margin-right:28px}.block-editor-block-navigation-leaf[aria-level="3"] .block-editor-block-icon{margin-right:56px}.block-editor-block-navigation-leaf[aria-level="4"] .block-editor-block-icon{margin-right:84px}.block-editor-block-navigation-leaf[aria-level="5"] .block-editor-block-icon{margin-right:112px}.block-editor-block-navigation-leaf[aria-level="6"] .block-editor-block-icon{margin-right:140px}.block-editor-block-navigation-leaf[aria-level="7"] .block-editor-block-icon{margin-right:168px}.block-editor-block-navigation-leaf[aria-level="8"] .block-editor-block-icon{margin-right:196px}.block-editor-block-navigation-leaf[aria-level="9"] .block-editor-block-icon{margin-right:224px}.block-editor-block-parent-selector{background:#fff;border-radius:2px}.block-editor-block-parent-selector .block-editor-block-parent-selector__button{width:48px;height:48px;border:1px solid #1e1e1e;border-radius:2px}.block-editor-block-patterns-list__list-item{cursor:pointer;margin-top:16px}.block-editor-block-patterns-list__list-item.is-placeholder{min-height:100px}.block-editor-block-patterns-list__list-item[draggable=true] .block-editor-block-preview__container{cursor:grab}.block-editor-block-patterns-list__item{height:100%;border-radius:2px;transition:all .05s ease-in-out;position:relative;border:1px solid transparent}.block-editor-block-patterns-list__item:hover{border:1px solid var(--wp-admin-theme-color)}.block-editor-block-patterns-list__item:focus{box-shadow:inset 0 0 0 1px #fff,0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);outline:2px solid transparent}.block-editor-block-patterns-list__item-title{padding:4px;font-size:12px;text-align:center}.block-editor-block-preview__container{position:relative;width:100%;overflow:hidden}.block-editor-block-preview__container.editor-styles-wrapper{padding:0;margin:0}.block-editor-block-preview__container .block-editor-block-preview__content{position:absolute;top:0;right:0;transform-origin:top right;text-align:initial;margin:0;overflow:visible;min-height:auto}.block-editor-block-preview__container .block-editor-block-preview__content .block-editor-block-drop-zone,.block-editor-block-preview__container .block-editor-block-preview__content .block-editor-block-list__insertion-point,.block-editor-block-preview__container .block-editor-block-preview__content .block-list-appender,.block-editor-block-preview__container .block-editor-block-preview__content .reusable-block-indicator{display:none}.block-editor-block-preview__container .block-editor-block-preview__content .block-editor-block-list__layout.is-root-container{padding-right:0;padding-left:0}.block-editor-block-preview__container .block-editor-block-preview__content .block-editor-block-list__layout.is-root-container>.wp-block[data-align=full]{margin-right:0;margin-left:0}.block-editor-block-settings-menu__popover .components-dropdown-menu__menu{padding:0}.block-editor-block-styles{display:flex;flex-wrap:wrap;justify-content:space-between}.block-editor-block-styles__item{width:calc(50% - 4px);margin:4px 0;flex-shrink:0;cursor:pointer;overflow:hidden;border-radius:2px;padding:6px;display:flex;flex-direction:column}.block-editor-block-styles__item:focus{box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);outline:2px solid transparent}.block-editor-block-styles__item:hover .block-editor-block-styles__item-preview{border-color:var(--wp-admin-theme-color)}.block-editor-block-styles__item.is-active .block-editor-block-styles__item-label{font-weight:700}.block-editor-block-styles__item.is-active .block-editor-block-styles__item-preview{margin:0;border:2px solid #1e1e1e}.block-editor-block-styles__item .block-editor-block-preview__container{cursor:inherit}.block-editor-block-styles__item-preview{outline:1px solid transparent;padding:0;margin:2px;border-radius:2px;display:flex;overflow:hidden;background:#fff;align-items:center;flex-grow:1;min-height:80px;max-height:160px}.block-editor-block-switcher__styles__menugroup{position:relative}.block-editor-block-styles__item-label{text-align:center;padding:4px 0}.block-editor-block-switcher,.block-editor-block-switcher__no-switcher-icon,.block-editor-block-switcher__toggle{position:relative}.components-button.block-editor-block-switcher__no-switcher-icon,.components-button.block-editor-block-switcher__toggle{margin:0;display:block;height:48px}.components-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-icon,.components-button.block-editor-block-switcher__toggle .block-editor-block-icon{margin:auto}.block-editor-block-switcher__toggle-text{margin-right:8px}.show-icon-labels .block-editor-block-switcher__toggle-text{display:none}.show-icon-labels .block-editor-block-toolbar .block-editor-block-switcher .components-button.has-icon:after{font-size:14px}.block-editor-block-switcher__popover{margin-right:6px}.components-button.block-editor-block-switcher__no-switcher-icon{width:48px}.components-button.block-editor-block-switcher__no-switcher-icon .block-editor-blocks-icon{margin-left:auto;margin-right:auto}.components-button.block-editor-block-switcher__no-switcher-icon:disabled{opacity:1}.components-button.block-editor-block-switcher__no-switcher-icon:disabled,.components-button.block-editor-block-switcher__no-switcher-icon:disabled .block-editor-block-icon.has-colors{color:#1e1e1e}.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon .block-editor-block-icon,.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__toggle.has-icon.has-icon .block-editor-block-icon,.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon .block-editor-block-icon,.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__toggle.has-icon.has-icon .block-editor-block-icon{height:100%;position:relative;margin:0 auto;display:flex;align-items:center;min-width:100%}.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon:before,.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__toggle.has-icon.has-icon:before,.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon:before,.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__toggle.has-icon.has-icon:before{top:8px;left:8px;bottom:8px;right:8px}.components-popover.block-editor-block-switcher__popover .components-popover__content{min-width:300px}.components-popover.block-editor-block-switcher__popover .components-popover__content>div{min-width:auto;display:flex;background:#fff;padding:0}.components-popover.block-editor-block-switcher__popover .components-popover__content>div .components-menu-group{margin:0}.block-editor-block-switcher__popover .components-popover__content .block-editor-block-styles{margin:0 -3px}.block-editor-block-switcher__popover .components-popover__content .components-panel__body{border:0;position:relative;z-index:1}.block-editor-block-switcher__popover .components-popover__content .components-panel__body+.components-panel__body{border-top:1px solid #e0e0e0}.block-editor-block-switcher__popover__preview__parent .block-editor-block-switcher__popover__preview__container{position:absolute;top:-12px;right:calc(100% + 32px)}.block-editor-block-switcher__preview__popover{display:none}.block-editor-block-switcher__preview__popover.components-popover{margin-right:4px;margin-top:11px}@media (min-width:782px){.block-editor-block-switcher__preview__popover{display:block}}.block-editor-block-switcher__preview__popover .components-popover__content{box-shadow:none;border:1px solid #1e1e1e;background:#fff;border-radius:2px}.block-editor-block-switcher__preview__popover .block-editor-block-switcher__preview{width:300px;height:auto;max-height:500px;padding:16px}.block-editor-block-switcher__preview-title{margin-bottom:12px;color:#757575;text-transform:uppercase;font-size:11px;font-weight:500}.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__no-switcher-icon{width:48px}.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__no-switcher-icon,.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__toggle{height:48px}.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-icon,.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-switcher__transform,.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__toggle .block-editor-block-icon,.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{width:48px;height:48px}.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-switcher__transform,.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{padding:12px}.block-editor-block-switcher__preview-patterns-container{padding-bottom:16px}.block-editor-block-switcher__preview-patterns-container .block-editor-block-switcher__preview-patterns-container-list__list-item{margin-top:16px}.block-editor-block-switcher__preview-patterns-container .block-editor-block-switcher__preview-patterns-container-list__list-item .block-editor-block-preview__container{cursor:pointer}.block-editor-block-switcher__preview-patterns-container .block-editor-block-switcher__preview-patterns-container-list__list-item .block-editor-block-switcher__preview-patterns-container-list__item{height:100%;border-radius:2px;transition:all .05s ease-in-out;position:relative;border:1px solid transparent}.block-editor-block-switcher__preview-patterns-container .block-editor-block-switcher__preview-patterns-container-list__list-item .block-editor-block-switcher__preview-patterns-container-list__item:focus,.block-editor-block-switcher__preview-patterns-container .block-editor-block-switcher__preview-patterns-container-list__list-item .block-editor-block-switcher__preview-patterns-container-list__item:hover{box-shadow:inset 0 0 0 1px #fff,0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);outline:2px solid transparent}.block-editor-block-switcher__preview-patterns-container .block-editor-block-switcher__preview-patterns-container-list__list-item .block-editor-block-switcher__preview-patterns-container-list__item:hover{box-shadow:inset 0 0 0 1px #fff,0 0 0 var(--wp-admin-border-width-focus) #1e1e1e}.block-editor-block-switcher__preview-patterns-container .block-editor-block-switcher__preview-patterns-container-list__list-item .block-editor-block-switcher__preview-patterns-container-list__item .block-editor-block-switcher__preview-patterns-container-list__item-title{padding:4px;font-size:12px;text-align:center;cursor:pointer}.block-editor-block-types-list>[role=presentation]{padding:4px;margin-right:-4px;margin-left:-4px;overflow:hidden;display:flex;flex-wrap:wrap}.block-editor-block-variation-picker .components-placeholder__instructions{margin-bottom:0}.block-editor-block-variation-picker .components-placeholder__fieldset{flex-direction:column}.block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset{max-width:90%}.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations{display:flex;justify-content:flex-start;flex-direction:row;flex-wrap:wrap;width:100%;margin:16px 0;padding:0;list-style:none}.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations>li{list-style:none;margin:8px 0 0 20px;flex-shrink:1;width:75px;text-align:center}.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations>li button{display:inline-flex;margin-left:0}.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations .block-editor-block-variation-picker__variation{padding:8px}.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations .block-editor-block-variation-picker__variation-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:12px;display:block;line-height:1.4}.block-editor-block-variation-picker__variation{width:100%}.block-editor-block-variation-picker__variation.components-button.has-icon{justify-content:center;width:auto}.block-editor-block-variation-picker__variation.components-button.has-icon.is-secondary{background-color:#fff}.block-editor-block-variation-picker__variation.components-button{height:auto;padding:0}.block-editor-block-variation-picker__variation:before{content:"";padding-bottom:100%}.block-editor-block-variation-picker__variation:first-child{margin-right:0}.block-editor-block-variation-picker__variation:last-child{margin-left:0}.block-editor-block-pattern-setup{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;width:100%;border-radius:2px;box-shadow:inset 0 0 0 1px #1e1e1e;outline:1px solid transparent}.block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__toolbar{justify-content:center}.block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container{display:grid;grid-template-columns:1fr 1fr;grid-gap:16px;padding:16px;max-height:550px;overflow:auto;margin:0 1px 1px;width:calc(100% - 2px);background:#fff}.block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container .block-editor-block-preview__container,.block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container div[role=button]{cursor:pointer}.block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container .block-editor-block-pattern-setup-list__item-title{padding:4px;font-size:12px;text-align:center}.block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container .block-editor-block-preview__container{border-radius:2px;border:1px solid #ddd}.block-editor-block-pattern-setup .block-editor-block-pattern-setup__toolbar{box-sizing:border-box;position:relative;padding:16px;width:100%;text-align:right;margin:0;color:#1e1e1e;border-radius:2px 2px 0 0;background-color:#fff;box-shadow:inset 0 0 0 1px #1e1e1e;outline:1px solid transparent;display:flex;flex-direction:row;align-items:center;justify-content:space-between}.block-editor-block-pattern-setup .block-editor-block-pattern-setup__toolbar .block-editor-block-pattern-setup__display-controls{display:flex}.block-editor-block-pattern-setup .block-editor-block-pattern-setup__toolbar .block-editor-block-pattern-setup__actions,.block-editor-block-pattern-setup .block-editor-block-pattern-setup__toolbar .block-editor-block-pattern-setup__navigation{width:calc(50% - 36px);display:flex}.block-editor-block-pattern-setup .block-editor-block-pattern-setup__toolbar .block-editor-block-pattern-setup__actions{justify-content:flex-end}.block-editor-block-pattern-setup .block-editor-block-pattern-setup__container{display:flex;flex-direction:column;width:100%;box-sizing:border-box}.block-editor-block-pattern-setup .block-editor-block-pattern-setup__container .carousel-container{overflow:hidden;position:relative;padding:0;margin:0;list-style:none;transform-style:preserve-3d}.block-editor-block-pattern-setup .block-editor-block-pattern-setup__container .carousel-container *{box-sizing:border-box}.block-editor-block-pattern-setup .block-editor-block-pattern-setup__container .carousel-container .pattern-slide{opacity:0;position:absolute;top:0;width:100%;margin:auto;padding:16px;transition:transform .5s,opacity .5s,z-index .5s;z-index:100}.block-editor-block-pattern-setup .block-editor-block-pattern-setup__container .carousel-container .pattern-slide.active-slide{opacity:1;position:relative;z-index:102}.block-editor-block-pattern-setup .block-editor-block-pattern-setup__container .carousel-container .pattern-slide.previous-slide{transform:translateX(100%);z-index:101}.block-editor-block-pattern-setup .block-editor-block-pattern-setup__container .carousel-container .pattern-slide.next-slide{transform:translateX(-100%);z-index:101}.block-editor-block-pattern-setup .block-editor-block-pattern-setup__container .block-list-appender{display:none}.block-editor-block-variation-transforms{padding:0 56px 16px 16px;width:100%}.block-editor-block-variation-transforms .components-dropdown-menu__toggle{border:1px solid #757575;border-radius:2px;min-height:30px;width:100%;position:relative;text-align:right;justify-content:left;padding:6px 12px}.block-editor-block-variation-transforms .components-dropdown-menu__toggle.components-dropdown-menu__toggle{padding-left:24px}.block-editor-block-variation-transforms .components-dropdown-menu__toggle:focus:not(:disabled){border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 calc(var(--wp-admin-border-width-focus) - 1px) var(--wp-admin-theme-color)}.block-editor-block-variation-transforms .components-dropdown-menu__toggle svg{height:100%;padding:0;position:absolute;left:0;top:0}.block-editor-block-variation-transforms__popover .components-popover__content{min-width:230px}.components-border-style-control__select{margin-bottom:24px}.components-border-style-control__select button{width:100%}.components-border-style-control__select ul li,.components-border-style-control__select ul li:last-child{margin:6px}.block-editor-button-block-appender{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:8px;width:100%;height:auto;color:#1e1e1e;box-shadow:inset 0 0 0 1px #1e1e1e}.is-dark-theme .block-editor-button-block-appender{color:hsla(0,0%,100%,.65);box-shadow:inset 0 0 0 1px hsla(0,0%,100%,.65)}.block-editor-button-block-appender:hover{color:var(--wp-admin-theme-color);box-shadow:inset 0 0 0 1px var(--wp-admin-theme-color)}.block-editor-button-block-appender:focus{box-shadow:inset 0 0 0 2px var(--wp-admin-theme-color)}.block-editor-button-block-appender:active{color:#000}.block-editor-button-block-appender.block-list-appender__toggle{display:flex;flex-direction:row;box-shadow:none;height:24px;width:24px}.block-editor-button-block-appender.block-list-appender__toggle>svg{width:24px;background-color:#1e1e1e;color:#fff;border-radius:2px}.block-editor-color-gradient-control .block-editor-color-gradient-control__color-indicator{margin-bottom:12px}.block-editor-color-gradient-control .block-editor-color-gradient-control__button-tabs{display:block;margin-bottom:12px}.block-editor-panel-color-gradient-settings .component-color-indicator{vertical-align:text-bottom}.block-editor-panel-color-gradient-settings__panel-title .component-color-indicator{display:inline-block}.block-editor-panel-color-gradient-settings.is-opened .block-editor-panel-color-gradient-settings__panel-title .component-color-indicator{display:none}@media screen and (min-width:782px){.block-editor-panel-color-gradient-settings .components-circular-option-picker__swatches{margin-left:0}.block-editor-panel-color-gradient-settings .components-circular-option-picker__option-wrapper{margin-left:calc(20% - 33.6px)}.block-editor-panel-color-gradient-settings .components-circular-option-picker__option-wrapper:nth-child(6n+6){margin-left:0}}.block-editor-contrast-checker>.components-notice{margin:0}.block-editor-default-block-appender{clear:both;margin-right:auto;margin-left:auto;position:relative}.block-editor-default-block-appender[data-root-client-id=""] .block-editor-default-block-appender__content:hover{outline:1px solid transparent}.block-editor-default-block-appender .block-editor-default-block-appender__content{opacity:.62}.block-editor-default-block-appender .components-drop-zone__content-icon{display:none}.block-editor-block-list__empty-block-inserter.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter{position:absolute;top:0;height:32px}.block-editor-block-list__empty-block-inserter.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle,.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle{margin-left:0}.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter{left:8px}@media (min-width:600px){.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter{display:flex;height:100%}}.block-editor-block-list__empty-block-inserter:disabled,.block-editor-default-block-appender .block-editor-inserter:disabled{display:none}.block-editor-duotone-control__popover .components-popover__content{border:1px solid #1e1e1e;min-width:214px}.block-editor-duotone-control__popover .components-circular-option-picker{padding:12px}.block-editor-duotone-control__popover .components-menu-group__label{padding:12px 12px 0;width:100%;box-sizing:border-box}.block-editor-duotone-control__popover>.components-popover__content{width:334px}.block-editor-duotone-control__popover:not([data-y-axis=middle][data-x-axis=right])>.components-popover__content{margin-right:-14px}.components-font-appearance-control__select{margin-bottom:24px}.components-font-appearance-control__select ul li{color:#1e1e1e;text-transform:capitalize}.items-justified-left{justify-content:flex-start}.items-justified-center{justify-content:center}.items-justified-right{justify-content:flex-end}.items-justified-space-between{justify-content:space-between}.block-editor-link-control{position:relative;min-width:360px}.components-popover__content .block-editor-link-control{min-width:auto;width:90vw;max-width:360px}.block-editor-link-control__search-input-wrapper{position:relative}.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;font-size:16px;line-height:normal;width:calc(100% - 32px);display:block;padding:11px 16px 11px 36px;margin:16px;position:relative;border:1px solid #ddd;border-radius:2px}@media (prefers-reduced-motion:reduce){.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]{font-size:13px;line-height:normal}}.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color);outline:2px solid transparent}.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]::-moz-placeholder{opacity:1;color:rgba(30,30,30,.62)}.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]:-ms-input-placeholder{color:rgba(30,30,30,.62)}.is-dark-theme .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}.block-editor-link-control .block-editor-link-control__search-input .components-base-control__field{margin-bottom:0}.block-editor-link-control__search-error{margin:-8px 16px 16px}.block-editor-link-control__search-actions{position:absolute;top:19px;left:19px}.components-button .block-editor-link-control__search-submit .has-icon{margin:-1px}.block-editor-link-control__search-results-wrapper{position:relative;margin-top:-15px}.block-editor-link-control__search-results-wrapper:after,.block-editor-link-control__search-results-wrapper:before{content:"";position:absolute;right:-1px;left:16px;display:block;pointer-events:none;z-index:100}.block-editor-link-control__search-results-wrapper:before{height:8px;top:0;bottom:auto}.block-editor-link-control__search-results-wrapper:after{height:16px;bottom:0;top:auto}.block-editor-link-control__search-results-label{padding:16px 32px 0;display:block;font-weight:600}.block-editor-link-control__search-results{margin:0;padding:8px 16px;max-height:200px;overflow-y:auto}.block-editor-link-control__search-results.is-loading{opacity:.2}.block-editor-link-control__search-item{position:relative;display:flex;align-items:center;font-size:13px;cursor:pointer;background:#fff;width:100%;border:none;text-align:right;padding:12px 16px;border-radius:5px;height:auto}.block-editor-link-control__search-item:focus,.block-editor-link-control__search-item:hover{background-color:#ddd}.block-editor-link-control__search-item:focus:not(:disabled){box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color) inset}.block-editor-link-control__search-item.is-selected{background:#f0f0f0}.block-editor-link-control__search-item.is-selected .block-editor-link-control__search-item-type{background:#fff}.block-editor-link-control__search-item.is-current{background:transparent;border:0;width:100%;cursor:default;padding:16px 24px 16px 16px}.block-editor-link-control__search-item .block-editor-link-control__search-item-header{display:block;margin-left:8px;overflow:hidden;white-space:nowrap}.block-editor-link-control__search-item .block-editor-link-control__search-item-icon{margin-left:1em;min-width:24px}.block-editor-link-control__search-item .block-editor-link-control__search-item-info,.block-editor-link-control__search-item .block-editor-link-control__search-item-title{overflow:hidden;text-overflow:ellipsis;padding-left:24px}.block-editor-link-control__search-item .block-editor-link-control__search-item-info .components-external-link__icon,.block-editor-link-control__search-item .block-editor-link-control__search-item-title .components-external-link__icon{position:absolute;left:0;margin-top:0}.block-editor-link-control__search-item .block-editor-link-control__search-item-title{display:block;margin-bottom:.2em;font-weight:500;position:relative}.block-editor-link-control__search-item .block-editor-link-control__search-item-title mark{font-weight:700;color:#000;background-color:initial}.block-editor-link-control__search-item .block-editor-link-control__search-item-title span{font-weight:400}.block-editor-link-control__search-item .block-editor-link-control__search-item-info{display:block;color:#757575;font-size:.9em;line-height:1.3}.block-editor-link-control__search-item .block-editor-link-control__search-item-type{display:block;padding:3px 8px;margin-right:auto;font-size:.9em;background-color:#f0f0f0;border-radius:2px}.block-editor-link-control__loading{margin:16px;display:flex;align-items:center}.block-editor-link-control__loading .components-spinner{margin-top:0}.components-button+.block-editor-link-control__search-create{overflow:visible;padding:12px 16px}.components-button+.block-editor-link-control__search-create:before{content:"";position:absolute;top:-10px;right:0;display:block;width:100%}.block-editor-link-control__search-results div[role=menu]>.block-editor-link-control__search-item.block-editor-link-control__search-item{padding:10px}.block-editor-link-control__settings{border-top:1px solid #ddd;margin:0;padding:16px 24px}.block-editor-link-control__settings :last-child{margin-bottom:0}.is-alternate .block-editor-link-control__settings{border-top:1px solid #1e1e1e}.block-editor-link-control__setting{margin-bottom:16px}.block-editor-link-control__setting :last-child{margin-bottom:0}.block-editor-link-control .block-editor-link-control__search-input .components-spinner{display:block}.block-editor-link-control .block-editor-link-control__search-input .components-spinner.components-spinner{position:absolute;right:auto;bottom:auto;top:28px;left:62px}.block-editor-link-control__search-item-action{margin-right:auto;flex-shrink:0}.block-editor-line-height-control{margin-bottom:24px}.block-editor-line-height-control input{display:block;max-width:60px}.block-editor-image-size-control{margin-bottom:1em}.block-editor-image-size-control .block-editor-image-size-control__row{display:flex;justify-content:space-between}.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height,.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width{margin-bottom:.5em}.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height input,.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width input{line-height:1.25}.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width{margin-left:5px}.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height{margin-right:5px}.block-editor-block-list__layout.has-overlay:after{content:"";position:absolute;top:-14px;left:-14px;bottom:-14px;right:-14px;z-index:60}[data-align=full] .has-overlay:after{left:0;right:0}.block-editor-block-types-list__list-item{display:block;width:33.33%;padding:0;margin:0}.components-button.block-editor-block-types-list__item{display:flex;flex-direction:column;width:100%;font-size:13px;color:#1e1e1e;padding:8px;align-items:stretch;justify-content:center;cursor:pointer;background:transparent;word-break:break-word;border-radius:2px;border:1px solid transparent;transition:all .05s ease-in-out;position:relative;height:auto}@media (prefers-reduced-motion:reduce){.components-button.block-editor-block-types-list__item{transition-duration:0s;transition-delay:0s}}.components-button.block-editor-block-types-list__item:disabled{opacity:.6;cursor:default}.components-button.block-editor-block-types-list__item:not(:disabled):hover{border-color:var(--wp-admin-theme-color);color:var(--wp-admin-theme-color)!important}.components-button.block-editor-block-types-list__item:not(:disabled).is-active{color:#fff;background:#1e1e1e;outline:2px solid transparent;outline-offset:-2px}.block-editor-block-types-list__item-icon{padding:12px 20px;border-radius:2px;color:#1e1e1e;transition:all .05s ease-in-out}@media (prefers-reduced-motion:reduce){.block-editor-block-types-list__item-icon{transition-duration:0s;transition-delay:0s}}.block-editor-block-types-list__item-icon .block-editor-block-icon{margin-right:auto;margin-left:auto}.block-editor-block-types-list__item-icon svg{transition:all .15s ease-out}@media (prefers-reduced-motion:reduce){.block-editor-block-types-list__item-icon svg{transition-duration:0s;transition-delay:0s}}.block-editor-block-types-list__list-item[draggable=true] .block-editor-block-types-list__item-icon{cursor:grab}.block-editor-block-types-list__item-title{padding:4px 2px 8px;font-size:12px}.modal-open .block-editor-media-replace-flow__options{display:none}.block-editor-media-replace-flow__options .components-popover__content>div{padding-top:16px}.block-editor-media-replace-flow__indicator{margin-right:4px}.block-editor-media-flow__url-input{border-top:1px solid #1e1e1e;margin-top:12px;margin-left:-12px;margin-right:-12px;padding:12px 24px 0}.block-editor-media-flow__url-input .block-editor-media-replace-flow__image-url-label{top:16px}.block-editor-media-flow__url-input .block-editor-link-control{margin-top:-16px;width:auto}.block-editor-media-flow__url-input .block-editor-link-control .components-base-control .components-base-control__field{margin-bottom:0}.block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__search-item-title{max-width:180px;margin-top:16px}.block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__search-item.is-current{width:auto;padding:0}.block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]{margin:16px 0 0;width:100%}.block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__search-actions{left:4px}.block-editor-media-flow__error{padding:0 20px 20px;max-width:255px}.block-editor-media-flow__error .components-with-notices-ui{max-width:255px}.block-editor-media-flow__error .components-with-notices-ui .components-notice__content{overflow:hidden;word-wrap:break-word}.block-editor-media-flow__error .components-with-notices-ui .components-notice__dismiss{position:absolute;left:10px}.block-editor-media-placeholder__url-input-container .block-editor-media-placeholder__button{margin-bottom:0}.block-editor-media-placeholder__url-input-form{display:flex}.block-editor-media-placeholder__url-input-form input[type=url].block-editor-media-placeholder__url-input-field{width:100%;flex-grow:1;border:none;border-radius:0;margin:2px}@media (min-width:600px){.block-editor-media-placeholder__url-input-form input[type=url].block-editor-media-placeholder__url-input-field{width:300px}}.block-editor-media-placeholder__url-input-submit-button{flex-shrink:1}.block-editor-media-placeholder__button{margin-bottom:.5rem}.block-editor-media-placeholder__cancel-button.is-link{margin:1em;display:block}.block-editor-media-placeholder.is-appender{min-height:0}.block-editor-media-placeholder.is-appender:hover{cursor:pointer;box-shadow:0 0 0 1px var(--wp-admin-theme-color)}.block-editor-multi-selection-inspector__card{display:flex;align-items:flex-start;padding:16px}.block-editor-multi-selection-inspector__card-content{flex-grow:1}.block-editor-multi-selection-inspector__card-title{font-weight:500;margin-bottom:5px}.block-editor-multi-selection-inspector__card-description{font-size:13px}.block-editor-multi-selection-inspector__card .block-editor-block-icon{margin-right:-2px;margin-left:10px;padding:0 3px;width:36px;height:24px}.block-editor-plain-text{box-shadow:none;font-family:inherit;font-size:inherit;color:inherit;line-height:inherit;border:none;padding:0;margin:0;width:100%}.block-editor-responsive-block-control{margin-bottom:28px;border-bottom:1px solid #ccc;padding-bottom:14px}.block-editor-responsive-block-control:last-child{padding-bottom:0;border-bottom:0}.block-editor-responsive-block-control__title{margin:0 -3px .6em 0}.block-editor-responsive-block-control__label{font-weight:600;margin-bottom:.6em;margin-right:-3px}.block-editor-responsive-block-control__inner{margin-right:-1px}.block-editor-responsive-block-control__toggle{margin-right:1px}.block-editor-responsive-block-control .components-base-control__help{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.block-editor-rich-text__editable>p:first-child{margin-top:0}.block-editor-rich-text__editable [data-rich-text-placeholder]{pointer-events:none}.block-editor-rich-text__editable [data-rich-text-placeholder]:after{content:attr(data-rich-text-placeholder);opacity:.62}.block-editor-rich-text__editable:focus{outline:none}.block-editor-rich-text__editable:focus [data-rich-text-format-boundary]{border-radius:2px}figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]:before{opacity:.8}.components-popover.block-editor-rich-text__inline-format-toolbar{z-index:99998}.components-popover.block-editor-rich-text__inline-format-toolbar .components-popover__content{width:auto;min-width:auto;margin-bottom:8px;box-shadow:none;border:1px solid #1e1e1e;border-radius:2px;background-color:#fff}.components-popover.block-editor-rich-text__inline-format-toolbar .components-toolbar,.components-popover.block-editor-rich-text__inline-format-toolbar .components-toolbar-group{border:none}.components-popover.block-editor-rich-text__inline-format-toolbar .components-dropdown-menu__toggle,.components-popover.block-editor-rich-text__inline-format-toolbar .components-toolbar__control{min-width:48px;min-height:48px;padding-right:12px;padding-left:12px}.block-editor-rich-text__inline-format-toolbar-group .components-dropdown-menu__toggle{justify-content:center}.show-icon-labels .block-editor-rich-text__inline-format-toolbar-group .components-button.has-icon{width:auto}.show-icon-labels .block-editor-rich-text__inline-format-toolbar-group .components-button.has-icon svg{display:none}.show-icon-labels .block-editor-rich-text__inline-format-toolbar-group .components-button.has-icon:after{content:attr(aria-label)}.block-editor-skip-to-selected-block{position:absolute;top:-9999em}.block-editor-skip-to-selected-block:focus{height:auto;width:auto;display:block;font-size:14px;font-weight:600;padding:15px 23px 14px;background:#f1f1f1;color:var(--wp-admin-theme-color);line-height:normal;box-shadow:0 0 2px 2px rgba(0,0,0,.6);text-decoration:none;outline:none;z-index:100000}.block-editor-text-decoration-and-transform{display:flex}.block-editor-text-transform-control{flex:0 0 50%}.block-editor-text-transform-control legend{margin-bottom:8px}.block-editor-text-transform-control .block-editor-text-transform-control__buttons{display:inline-flex;margin-bottom:24px}.block-editor-text-transform-control .block-editor-text-transform-control__buttons .components-button.has-icon{min-width:24px;padding:0;margin-left:4px}.block-editor-text-decoration-control{flex:0 0 50%}.block-editor-text-decoration-control legend{margin-bottom:8px}.block-editor-text-decoration-control .block-editor-text-decoration-control__buttons{display:inline-flex;margin-bottom:24px}.block-editor-text-decoration-control .block-editor-text-decoration-control__buttons .components-button.has-icon{min-width:24px;padding:0;margin-left:4px}.block-editor-tool-selector__help{margin:8px -12px -12px;padding:12px 20px;border-top:1px solid #ddd;color:#757575;min-width:280px}.block-editor-block-list__block .block-editor-url-input,.block-editor-url-input,.components-popover .block-editor-url-input{flex-grow:1;position:relative;padding:1px}.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{width:100%;padding:8px 12px 8px 8px;border:none;border-radius:0;margin-right:0;margin-left:0;font-size:16px}@media (min-width:600px){.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{width:300px;font-size:13px}}.block-editor-block-list__block .block-editor-url-input input[type=text]::-ms-clear,.block-editor-url-input input[type=text]::-ms-clear,.components-popover .block-editor-url-input input[type=text]::-ms-clear{display:none}.block-editor-block-list__block .block-editor-url-input.is-full-width,.block-editor-block-list__block .block-editor-url-input.is-full-width .block-editor-url-input__input[type=text],.block-editor-block-list__block .block-editor-url-input.is-full-width__suggestions,.block-editor-url-input.is-full-width,.block-editor-url-input.is-full-width .block-editor-url-input__input[type=text],.block-editor-url-input.is-full-width__suggestions,.components-popover .block-editor-url-input.is-full-width,.components-popover .block-editor-url-input.is-full-width .block-editor-url-input__input[type=text],.components-popover .block-editor-url-input.is-full-width__suggestions{width:100%}.block-editor-block-list__block .block-editor-url-input .components-spinner,.block-editor-url-input .components-spinner,.components-popover .block-editor-url-input .components-spinner{position:absolute;left:8px 8px 8px 12px;bottom:8px 8px 8px 12px8px1;margin:0}.block-editor-url-input__input[type=text]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;padding:6px 8px;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:2px;border:1px solid #757575;font-size:16px;line-height:normal}@media (prefers-reduced-motion:reduce){.block-editor-url-input__input[type=text]{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.block-editor-url-input__input[type=text]{font-size:13px;line-height:normal}}.block-editor-url-input__input[type=text]:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color);outline:2px solid transparent}.block-editor-url-input__input[type=text]::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.block-editor-url-input__input[type=text]::-moz-placeholder{opacity:1;color:rgba(30,30,30,.62)}.block-editor-url-input__input[type=text]:-ms-input-placeholder{color:rgba(30,30,30,.62)}.is-dark-theme .block-editor-url-input__input[type=text]::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .block-editor-url-input__input[type=text]::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .block-editor-url-input__input[type=text]:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}.block-editor-url-input__suggestions{max-height:200px;transition:all .15s ease-in-out;padding:4px 0;width:302px;overflow-y:auto}@media (prefers-reduced-motion:reduce){.block-editor-url-input__suggestions{transition-duration:0s;transition-delay:0s}}.block-editor-url-input .components-spinner,.block-editor-url-input__suggestions{display:none}@media (min-width:600px){.block-editor-url-input .components-spinner,.block-editor-url-input__suggestions{display:inherit}}.block-editor-url-input__suggestion{padding:4px 8px 8px;color:#757575;display:block;font-size:13px;cursor:pointer;background:#fff;width:100%;border:none;text-align:right;box-shadow:none}.block-editor-url-input__suggestion:hover{background:#ddd}.block-editor-url-input__suggestion.is-selected,.block-editor-url-input__suggestion:focus{background:var(--wp-admin-theme-color-darker-20);color:#fff;outline:none}.components-toolbar-group>.block-editor-url-input__button,.components-toolbar>.block-editor-url-input__button{position:inherit}.block-editor-url-input__button .block-editor-url-input__back{margin-left:4px;overflow:visible}.block-editor-url-input__button .block-editor-url-input__back:after{content:"";position:absolute;display:block;width:1px;height:24px;left:-1px;background:#ddd}.block-editor-url-input__button-modal{box-shadow:0 2px 6px rgba(0,0,0,.05);border:1px solid #ddd;background:#fff}.block-editor-url-input__button-modal-line{display:flex;flex-direction:row;flex-grow:1;flex-shrink:1;min-width:0;align-items:flex-start}.block-editor-url-input__button-modal-line .components-button{flex-shrink:0;width:36px;height:36px}.block-editor-url-popover__additional-controls{border-top:1px solid #ddd}.block-editor-url-popover__additional-controls>div[role=menu] .components-button:not(:disabled):not([aria-disabled=true]):not(.is-secondary)>svg{box-shadow:none}.block-editor-url-popover__additional-controls div[role=menu]>.components-button{padding-right:12px}.block-editor-url-popover__row{display:flex}.block-editor-url-popover__row>:not(.block-editor-url-popover__settings-toggle){flex-grow:1}.block-editor-url-popover .components-button.has-icon{padding:3px}.block-editor-url-popover .components-button.has-icon>svg{padding:5px;border-radius:2px;height:30px;width:30px}.block-editor-url-popover .components-button.has-icon:not(:disabled):focus{box-shadow:none}.block-editor-url-popover .components-button.has-icon:not(:disabled):focus>svg{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color),inset 0 0 0 4px #fff;outline:2px solid transparent}.block-editor-url-popover__settings-toggle{flex-shrink:0;border-radius:0;border-right:1px solid #ddd;margin-right:1px}.block-editor-url-popover__settings-toggle[aria-expanded=true] .dashicon{transform:rotate(-180deg)}.block-editor-url-popover__input-container .components-base-control:last-child,.block-editor-url-popover__input-container .components-base-control:last-child .components-base-control__field{margin-bottom:0}.block-editor-url-popover__settings{display:block;padding:16px;border-top:1px solid #ddd}.block-editor-url-popover__link-editor,.block-editor-url-popover__link-viewer{display:flex}.block-editor-url-popover__link-editor .block-editor-url-input .components-base-control__field,.block-editor-url-popover__link-viewer .block-editor-url-input .components-base-control__field{margin-bottom:0}.block-editor-url-popover__link-editor .block-editor-url-input .components-spinner,.block-editor-url-popover__link-viewer .block-editor-url-input .components-spinner{bottom:8px 8px 8px 12px1}.block-editor-url-popover__link-viewer-url{margin:7px;flex-grow:1;flex-shrink:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:150px;max-width:500px}.block-editor-url-popover__link-viewer-url.has-invalid-link{color:#cc1818}.block-editor-warning{align-items:center;display:flex;flex-wrap:wrap;padding:1em;border:1px solid #1e1e1e;border-radius:2px;background-color:#fff}.block-editor-warning,.block-editor-warning .block-editor-warning__message{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.block-editor-warning .block-editor-warning__message{line-height:1.4;font-size:13px;color:#1e1e1e;margin:0}.block-editor-warning p.block-editor-warning__message.block-editor-warning__message{min-height:auto}.block-editor-warning .block-editor-warning__contents{display:flex;flex-direction:row;justify-content:space-between;flex-wrap:wrap;align-items:baseline;width:100%}.block-editor-warning .block-editor-warning__actions{display:flex;margin-top:1em}.block-editor-warning .block-editor-warning__action{margin:0 0 0 8px}.block-editor-warning__secondary{margin:auto 8px auto 0}.components-popover.block-editor-warning__dropdown{z-index:99998}.html-anchor-control .components-external-link{display:block;margin-top:8px}.block-editor-hooks__layout-controls{display:flex;margin-bottom:16px}.block-editor-hooks__layout-controls .block-editor-hooks__layout-controls-unit{display:flex;margin-left:24px}.block-editor-hooks__layout-controls .block-editor-hooks__layout-controls-unit svg{margin:auto 8px 4px 0}.block-editor-hooks__layout-controls-reset{display:flex;justify-content:flex-end;margin-bottom:24px}.block-editor-hooks__layout-controls-helptext{font-size:12px}#end-resizable-editor-section{display:none}.block-editor-block-toolbar{display:flex;flex-grow:1;width:100%;overflow:auto;position:relative;transition:border-color .1s linear,box-shadow .1s linear}@media (prefers-reduced-motion:reduce){.block-editor-block-toolbar{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.block-editor-block-toolbar{overflow:inherit}}.block-editor-block-toolbar .components-toolbar,.block-editor-block-toolbar .components-toolbar-group{background:none;line-height:0;margin-top:-1px;margin-bottom:-1px;border:0;border-left:1px solid #ddd}.block-editor-block-toolbar>:last-child,.block-editor-block-toolbar>:last-child .components-toolbar,.block-editor-block-toolbar>:last-child .components-toolbar-group{border-left:none}.block-editor-block-contextual-toolbar.has-parent:not(.is-fixed){margin-right:56px}.show-icon-labels .block-editor-block-contextual-toolbar.has-parent:not(.is-fixed){margin-right:0}.block-editor-block-parent-selector{position:absolute;top:-1px;right:-57px}.show-icon-labels .block-editor-block-parent-selector{position:relative;right:auto;top:auto;margin-top:-1px;margin-right:-1px;margin-bottom:-1px}.block-editor-block-toolbar__block-controls{height:auto!important;padding:0!important;margin-right:-1px}.block-editor-block-toolbar__block-controls .block-editor-block-switcher .components-dropdown-menu__toggle .block-editor-block-icon,.block-editor-block-toolbar__block-controls .block-editor-block-switcher__no-switcher-icon .block-editor-block-icon{width:24px!important;margin:0!important}.block-editor-block-toolbar__block-controls .block-editor-block-switcher .components-dropdown-menu__toggle:focus:before,.block-editor-block-toolbar__block-controls .block-editor-block-switcher__no-switcher-icon:focus:before{left:4px!important}.block-editor-block-toolbar__block-controls .block-editor-block-mover{margin-right:-6px}.block-editor-block-toolbar .components-toolbar,.block-editor-block-toolbar .components-toolbar-group,.block-editor-rich-text__inline-format-toolbar-group .components-toolbar,.block-editor-rich-text__inline-format-toolbar-group .components-toolbar-group{display:flex;flex-wrap:nowrap}.block-editor-block-toolbar__slot{display:inline-block;line-height:0}@supports (position:sticky){.block-editor-block-toolbar__slot{display:inline-flex}}.show-icon-labels .block-editor-block-toolbar .components-button.has-icon{width:auto}.show-icon-labels .block-editor-block-toolbar .components-button.has-icon svg{display:none}.show-icon-labels .block-editor-block-toolbar .components-button.has-icon:after{content:attr(aria-label);font-size:12px}.show-icon-labels .components-accessible-toolbar .components-toolbar-group>div:first-child:last-child>.components-button.has-icon{padding-right:6px;padding-left:6px}.show-icon-labels .block-editor-block-switcher{border-left:1px solid #1e1e1e}.show-icon-labels .block-editor-block-switcher .components-dropdown-menu__toggle{margin-right:0}.show-icon-labels .block-editor-block-switcher .components-dropdown-menu__toggle .block-editor-block-icon,.show-icon-labels .block-editor-block-switcher__no-switcher-icon .block-editor-block-icon{width:0!important;height:0!important}.show-icon-labels .block-editor-block-switcher .components-dropdown-menu__toggle:focus:before,.show-icon-labels .block-editor-block-switcher__no-switcher-icon:focus:before{left:4px!important}.show-icon-labels .block-editor-block-parent-selector__button .block-editor-block-icon{width:0}.show-icon-labels .block-editor-block-toolbar__block-controls .block-editor-block-mover{margin-right:0;white-space:nowrap}.show-icon-labels .block-editor-block-mover-button{padding-right:8px!important;padding-left:8px!important}.show-icon-labels .block-editor-block-mover__drag-handle.has-icon{padding-right:6px!important;padding-left:6px!important;border-left:1px solid #1e1e1e}@media (min-width:600px){.show-icon-labels .is-up-button.is-up-button.is-up-button{border-bottom:1px solid #1e1e1e;margin-left:0;border-radius:0}}.show-icon-labels .block-editor-block-contextual-toolbar .block-editor-block-mover.is-horizontal .block-editor-block-mover-button.block-editor-block-mover-button{width:auto}.show-icon-labels .components-toolbar,.show-icon-labels .components-toolbar-group{flex-shrink:1}.show-icon-labels .block-editor-rich-text__inline-format-toolbar-group .components-button+.components-button{margin-right:6px}.block-editor-inserter{display:inline-block;background:none;border:none;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:0}@media (min-width:782px){.block-editor-inserter{position:relative}}.block-editor-inserter__popover.is-quick .components-popover__content{border:none}.block-editor-inserter__popover.is-quick .components-popover__content .block-editor-inserter__quick-inserter>*{border-right:1px solid #ccc;border-left:1px solid #ccc}.block-editor-inserter__popover.is-quick .components-popover__content .block-editor-inserter__quick-inserter>:first-child{border-top:1px solid #ccc}.block-editor-inserter__popover.is-quick .components-popover__content .block-editor-inserter__quick-inserter>:last-child{border-bottom:1px solid #ccc}.block-editor-inserter__popover.is-quick .components-popover__content .block-editor-inserter__quick-inserter>.components-button{border:1px solid #1e1e1e}.block-editor-inserter__popover .block-editor-inserter__menu{margin:-12px}.block-editor-inserter__popover .block-editor-inserter__menu .block-editor-inserter__tabs .components-tab-panel__tabs{top:60px}.block-editor-inserter__popover .block-editor-inserter__menu .block-editor-inserter__main-area{overflow:visible;height:auto}.block-editor-inserter__popover .block-editor-inserter__menu .block-editor-inserter__preview-container{display:none}.block-editor-inserter__toggle.components-button{display:inline-flex;align-items:center;cursor:pointer;border:none;outline:none;padding:0;transition:color .2s ease}@media (prefers-reduced-motion:reduce){.block-editor-inserter__toggle.components-button{transition-duration:0s;transition-delay:0s}}.block-editor-inserter__menu{height:100%;position:relative;overflow:visible}.block-editor-inserter__main-area{width:auto;overflow-y:auto;height:100%}@media (min-width:782px){.block-editor-inserter__main-area{width:350px}}.block-editor-inserter__inline-elements{margin-top:-1px}.block-editor-inserter__menu.is-bottom:after{border-bottom-color:#fff}.components-popover.block-editor-inserter__popover{z-index:99999}.block-editor-inserter__search{padding:16px;position:sticky;top:0;background:#fff;z-index:1}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:2px;line-height:normal;display:block;padding:16px 16px 16px 48px;background:#f0f0f0;border:none;width:100%;height:48px;font-size:16px}@media (prefers-reduced-motion:reduce){.block-editor-inserter__search input[type=search].block-editor-inserter__search-input{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.block-editor-inserter__search input[type=search].block-editor-inserter__search-input{font-size:13px;line-height:normal}}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color);outline:2px solid transparent}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-moz-placeholder{opacity:1;color:rgba(30,30,30,.62)}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input:-ms-input-placeholder{color:rgba(30,30,30,.62)}.is-dark-theme .block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .block-editor-inserter__search input[type=search].block-editor-inserter__search-input:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}@media (min-width:600px){.block-editor-inserter__search input[type=search].block-editor-inserter__search-input{font-size:13px}}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input:focus{background:#fff;box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input::placeholder{color:#757575}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-webkit-search-cancel-button,.block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-webkit-search-decoration,.block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-webkit-search-results-button,.block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-webkit-search-results-decoration{-webkit-appearance:none}.block-editor-inserter__search-icon{position:absolute;top:0;left:20px;bottom:0;display:flex;align-items:center}.block-editor-inserter__search-icon>svg{margin:8px}.block-editor-inserter__tabs{display:flex;flex-direction:column;margin-top:-8px}.block-editor-inserter__tabs .components-tab-panel__tabs{position:sticky;top:72px;background:#fff;z-index:1;border-bottom:1px solid #ddd}.block-editor-inserter__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item{flex-grow:1;margin-bottom:-1px}.block-editor-inserter__tabs .components-tab-panel__tab-content{display:flex;flex-grow:1;flex-direction:column;position:relative;z-index:0}.block-editor-inserter__panel-header{display:inline-flex;align-items:center;padding:16px 16px 0}.block-editor-inserter__panel-header-patterns{padding:16px 16px 0}.block-editor-inserter__panel-content{padding:16px}.block-editor-inserter__panel-title,.block-editor-inserter__panel-title button{margin:0 0 0 12px;color:#757575;text-transform:uppercase;font-size:11px;font-weight:500}.block-editor-inserter__panel-dropdown select.components-select-control__input.components-select-control__input.components-select-control__input{line-height:1.2}.block-editor-inserter__panel-dropdown select{border:none}.block-editor-inserter__block-list{flex-grow:1;position:relative}.block-editor-inserter__popover .block-editor-block-types-list{margin:-8px}.block-editor-inserter__reusable-blocks-panel{position:relative;text-align:left}.block-editor-inserter__manage-reusable-blocks{display:inline-block;margin:16px}.block-editor-inserter__no-results{padding:32px;margin-top:64px;text-align:center}.block-editor-inserter__no-results-icon{fill:#949494}.block-editor-inserter__child-blocks{padding:0 16px}.block-editor-inserter__parent-block-header{display:flex;align-items:center}.block-editor-inserter__parent-block-header h2{font-size:13px}.block-editor-inserter__parent-block-header .block-editor-block-icon{margin-left:8px}.block-editor-inserter__preview-container{display:none;width:300px;background:#fff;border-radius:2px;border:1px solid #ddd;position:absolute;top:16px;right:calc(100% + 16px);max-height:calc(100% - 32px);overflow-y:hidden}@media (min-width:782px){.block-editor-inserter__preview-container{display:block}}.block-editor-inserter__preview-container .block-editor-block-card{padding:16px}.block-editor-inserter__preview-container .block-editor-block-card__title{font-size:13px}.block-editor-inserter__preview-content{min-height:144px;background:#f0f0f0;display:grid;flex-grow:1;align-items:center}.block-editor-inserter__preview-content-missing{flex:1;display:flex;justify-content:center;align-items:center;min-height:144px;color:#757575;background:#f0f0f0}.block-editor-inserter__tips{border-top:1px solid #ddd;padding:16px;flex-shrink:0;position:relative}.block-editor-inserter__manage-reusable-blocks-container{padding:16px}.block-editor-inserter__quick-inserter{width:100%;max-width:100%}@media (min-width:782px){.block-editor-inserter__quick-inserter{width:350px}}.block-editor-inserter__quick-inserter-results .block-editor-inserter__panel-header{height:0;padding:0;float:right}.block-editor-inserter__quick-inserter.has-expand .block-editor-inserter__panel-content,.block-editor-inserter__quick-inserter.has-search .block-editor-inserter__panel-content{padding:16px}.block-editor-inserter__quick-inserter-patterns .block-editor-block-patterns-list{display:grid;grid-template-columns:1fr 1fr;grid-gap:8px}.block-editor-inserter__quick-inserter-separator{border-top:1px solid #ddd}.block-editor-inserter__popover.is-quick>.components-popover__content>div{padding:0}.block-editor-inserter__quick-inserter-expand.components-button{display:block;background:#1e1e1e;color:#fff;width:100%;height:44px;border-radius:0}.block-editor-inserter__quick-inserter-expand.components-button:hover{color:#fff}.block-editor-inserter__quick-inserter-expand.components-button:active{color:#ccc}.block-editor-inserter__quick-inserter-expand.components-button:focus:not(:disabled){box-shadow:inset 0 0 0 1.5px var(--wp-admin-theme-color),inset 0 0 0 3px #fff}.block-editor-post-preview__dropdown{padding:0}.block-editor-post-preview__button-resize.block-editor-post-preview__button-resize{padding-right:40px}.block-editor-post-preview__button-resize.block-editor-post-preview__button-resize.has-icon{padding-right:8px}.block-editor-post-preview__dropdown-content .components-popover__content{overflow-y:visible}.block-editor-post-preview__dropdown-content.edit-post-post-preview-dropdown .components-menu-group:first-child{padding-bottom:8px}.block-editor-post-preview__dropdown-content.edit-post-post-preview-dropdown .components-menu-group:last-child{margin-bottom:0}.block-editor-post-preview__dropdown-content .components-menu-group+.components-menu-group{padding:8px}@media (min-width:600px){.edit-post-header__settings .editor-post-preview,.edit-site-header__actions .editor-post-preview{display:none}}@media (min-width:600px){.edit-post-header.has-reduced-ui .edit-post-header__settings .block-editor-post-preview__button-toggle,.edit-post-header.has-reduced-ui .edit-post-header__settings .editor-post-save-draft,.edit-post-header.has-reduced-ui .edit-post-header__settings .editor-post-saved-state{transition:opacity .1s linear}}@media (min-width:600px) and (prefers-reduced-motion:reduce){.edit-post-header.has-reduced-ui .edit-post-header__settings .block-editor-post-preview__button-toggle,.edit-post-header.has-reduced-ui .edit-post-header__settings .editor-post-save-draft,.edit-post-header.has-reduced-ui .edit-post-header__settings .editor-post-saved-state{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.edit-post-header.has-reduced-ui:not(:hover) .edit-post-header__settings .block-editor-post-preview__button-toggle,.edit-post-header.has-reduced-ui:not(:hover) .edit-post-header__settings .editor-post-save-draft,.edit-post-header.has-reduced-ui:not(:hover) .edit-post-header__settings .editor-post-saved-state{opacity:0}.edit-post-header.has-reduced-ui:not(:hover) .edit-post-header__settings .block-editor-post-preview__button-toggle.is-opened{opacity:1}}body.admin-color-light{--wp-admin-theme-color:#0085ba;--wp-admin-theme-color-darker-10:#0073a1;--wp-admin-theme-color-darker-20:#006187;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-light{--wp-admin-border-width-focus:1.5px}}body.admin-color-modern{--wp-admin-theme-color:#3858e9;--wp-admin-theme-color-darker-10:#2145e6;--wp-admin-theme-color-darker-20:#183ad6;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-modern{--wp-admin-border-width-focus:1.5px}}body.admin-color-blue{--wp-admin-theme-color:#096484;--wp-admin-theme-color-darker-10:#07526c;--wp-admin-theme-color-darker-20:#064054;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-blue{--wp-admin-border-width-focus:1.5px}}body.admin-color-coffee{--wp-admin-theme-color:#46403c;--wp-admin-theme-color-darker-10:#383330;--wp-admin-theme-color-darker-20:#2b2724;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-coffee{--wp-admin-border-width-focus:1.5px}}body.admin-color-ectoplasm{--wp-admin-theme-color:#523f6d;--wp-admin-theme-color-darker-10:#46365d;--wp-admin-theme-color-darker-20:#3a2c4d;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-ectoplasm{--wp-admin-border-width-focus:1.5px}}body.admin-color-midnight{--wp-admin-theme-color:#e14d43;--wp-admin-theme-color-darker-10:#dd382d;--wp-admin-theme-color-darker-20:#d02c21;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-midnight{--wp-admin-border-width-focus:1.5px}}body.admin-color-ocean{--wp-admin-theme-color:#627c83;--wp-admin-theme-color-darker-10:#576e74;--wp-admin-theme-color-darker-20:#4c6066;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-ocean{--wp-admin-border-width-focus:1.5px}}body.admin-color-sunrise{--wp-admin-theme-color:#dd823b;--wp-admin-theme-color-darker-10:#d97426;--wp-admin-theme-color-darker-20:#c36922;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-sunrise{--wp-admin-border-width-focus:1.5px}} \ No newline at end of file +@charset "UTF-8";:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}#start-resizable-editor-section{display:none}.block-editor-autocompleters__block{white-space:nowrap}.block-editor-autocompleters__block .block-editor-block-icon{margin-left:8px}.block-editor-block-alignment-matrix-control__popover .components-popover__content{min-width:0;width:auto}.block-editor-block-alignment-matrix-control__popover .components-popover__content>div{padding:8px}.block-editor-block-icon{display:flex;align-items:center;justify-content:center;width:24px;height:24px}.block-editor-block-icon.has-colors svg{fill:currentColor}.block-editor-block-icon svg{min-width:20px;min-height:20px;max-width:24px;max-height:24px}.block-editor-block-inspector p{margin-top:0}.block-editor-block-inspector h2,.block-editor-block-inspector h3{font-size:13px;color:#1e1e1e;margin-bottom:1.5em}.block-editor-block-inspector .components-base-control{margin-bottom:24px}.block-editor-block-inspector .components-base-control:last-child{margin-bottom:8px}.block-editor-block-inspector .components-panel__body{border:none;border-top:1px solid #e0e0e0}.block-editor-block-inspector .block-editor-block-card{padding:16px}.block-editor-block-inspector__no-blocks{display:block;font-size:13px;background:#fff;padding:32px 16px;text-align:center}.block-editor-block-styles .block-editor-block-list__block{margin:0}.block-editor-block-list__layout{position:relative}.block-editor-block-list__layout.is-navigate-mode{cursor:default}.block-editor-block-list__layout .block-editor-block-list__block.is-highlighted:after,.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:after,.block-editor-block-list__layout.is-navigate-mode .block-editor-block-list__block.is-hovered:after,.block-editor-block-list__layout.is-navigate-mode .block-editor-block-list__block.is-selected:after{position:absolute;z-index:1;pointer-events:none;content:"";top:1px;bottom:1px;right:1px;left:1px;box-shadow:0 0 0 1px var(--wp-admin-theme-color);border-radius:1px;outline:2px solid transparent}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-highlighted:after,.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:after,.is-dark-theme .block-editor-block-list__layout.is-navigate-mode .block-editor-block-list__block.is-hovered:after,.is-dark-theme .block-editor-block-list__layout.is-navigate-mode .block-editor-block-list__block.is-selected:after{box-shadow:0 0 0 1px #fff}.block-editor-block-list__layout .block-editor-block-list__block.is-highlighted .components-placeholder ::selection,.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .components-placeholder ::selection,.block-editor-block-list__layout.is-navigate-mode .block-editor-block-list__block.is-hovered .components-placeholder ::selection,.block-editor-block-list__layout.is-navigate-mode .block-editor-block-list__block.is-selected .components-placeholder ::selection{background:transparent}.block-editor-block-list__layout.is-navigate-mode .block-editor-block-list__block.is-hovered:not(.is-selected):after{box-shadow:0 0 0 1px #949494}.block-editor-block-list__layout .block-editor-block-list__block.is-highlighted:after,.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:after,.block-editor-block-list__layout .is-block-moving-mode.block-editor-block-list__block.has-child-selected,.block-editor-block-list__layout.is-navigate-mode .block-editor-block-list__block.is-selected:after{box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);outline:var(--wp-admin-border-width-focus) solid transparent}.block-editor-block-list__layout .is-block-moving-mode.block-editor-block-list__block.is-selected:before{content:"";position:absolute;z-index:0;pointer-events:none;transition:border-color .1s linear,border-style .1s linear,box-shadow .1s linear;left:0;right:0;top:-14px;border-radius:2px;border-top:4px solid #ccc}.block-editor-block-list__layout .is-block-moving-mode.block-editor-block-list__block.is-selected:after{content:none}.block-editor-block-list__layout .is-block-moving-mode.can-insert-moving-block.block-editor-block-list__block.is-selected:before{border-color:var(--wp-admin-theme-color)}.is-block-moving-mode.block-editor-block-list__block-selection-button{opacity:0;font-size:1px;height:1px;padding:0}.block-editor-block-list__layout .block-editor-block-list__block{position:relative;overflow-wrap:break-word}.block-editor-block-list__layout .block-editor-block-list__block .reusable-block-edit-panel *{z-index:1}.block-editor-block-list__layout .block-editor-block-list__block .components-placeholder .components-with-notices-ui{margin:-10px 0 12px}.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui{margin:0 0 12px;width:100%}.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui .components-notice{margin-right:0;margin-left:0}.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui .components-notice .components-notice__content{font-size:13px}.block-editor-block-list__layout .block-editor-block-list__block:not([contenteditable]):focus{outline:none}.block-editor-block-list__layout .block-editor-block-list__block:not([contenteditable]):focus:after{position:absolute;z-index:1;pointer-events:none;content:"";top:1px;bottom:1px;right:1px;left:1px;box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);border-radius:1px}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block:not([contenteditable]):focus:after{box-shadow:0 0 0 var(--wp-admin-border-width-focus) #fff}.block-editor-block-list__layout .block-editor-block-list__block:after{content:"";pointer-events:none;position:absolute;top:0;left:0;bottom:0;right:0;border-radius:2px;box-shadow:0 0 0 var(--wp-admin-border-width-focus) transparent}.block-editor-block-list__layout .block-editor-block-list__block.has-warning{min-height:48px}.block-editor-block-list__layout .block-editor-block-list__block.has-warning>*{pointer-events:none;-webkit-user-select:none;user-select:none}.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-warning{pointer-events:all}.block-editor-block-list__layout .block-editor-block-list__block.has-warning:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;border-radius:2px;background-color:hsla(0,0%,100%,.4)}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-multi-selected:after{background-color:initial}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable>.block-editor-inner-blocks>.block-editor-block-list__layout.has-overlay:after{display:none}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable>.block-editor-inner-blocks>.block-editor-block-list__layout.has-overlay .block-editor-block-list__layout.has-overlay:after{display:block}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable.has-child-selected:after{box-shadow:0 0 0 1px var(--wp-admin-theme-color)}.block-editor-block-list__layout .block-editor-block-list__block[data-clear=true]{float:none}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-default-block-appender .block-editor-inserter{right:auto;left:8px}.is-outline-mode:not(.is-typing) .block-editor-block-list__block.is-hovered{cursor:default}.is-outline-mode:not(.is-typing) .block-editor-block-list__block.is-hovered:after{top:1px;right:1px;left:1px;bottom:1px;box-shadow:0 0 0 1px var(--wp-admin-theme-color);border-radius:1px}.is-outline-mode:not(.is-typing) .block-editor-block-list__block.is-selected{cursor:unset}.is-outline-mode:not(.is-typing) .block-editor-block-list__block.is-selected:after{box-shadow:0 0 0 1px var(--wp-admin-theme-color);top:1px;right:1px;left:1px;bottom:1px;border-radius:1px}.is-outline-mode:not(.is-typing) .block-editor-block-list__block.is-selected:focus:after{box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.is-focus-mode .block-editor-block-list__block:not(.has-child-selected){opacity:.5;transition:opacity .1s linear}@media (prefers-reduced-motion:reduce){.is-focus-mode .block-editor-block-list__block:not(.has-child-selected){transition-duration:0s;transition-delay:0s}}.is-focus-mode .block-editor-block-list__block:not(.has-child-selected) .block-editor-block-list__block,.is-focus-mode .block-editor-block-list__block:not(.has-child-selected).is-multi-selected,.is-focus-mode .block-editor-block-list__block:not(.has-child-selected).is-selected{opacity:1}.is-root-container:not(.is-focus-mode) .block-editor-block-list__block.has-active-entity{opacity:.5;transition:opacity .1s linear}@media (prefers-reduced-motion:reduce){.is-root-container:not(.is-focus-mode) .block-editor-block-list__block.has-active-entity{transition-duration:0s;transition-delay:0s}}.is-root-container:not(.is-focus-mode) .block-editor-block-list__block.has-active-entity.has-child-selected,.is-root-container:not(.is-focus-mode) .block-editor-block-list__block.has-active-entity.is-active-entity,.is-root-container:not(.is-focus-mode) .block-editor-block-list__block.has-active-entity.is-active-entity .block-editor-block-list__block,.is-root-container:not(.is-focus-mode) .block-editor-block-list__block.has-active-entity .is-active-entity .block-editor-block-list__block,.is-root-container:not(.is-focus-mode) .block-editor-block-list__block.has-active-entity:not(.has-child-selected) .block-editor-block-list__block{opacity:1}.wp-block[data-align=left]>*,.wp-block[data-align=right]>*{z-index:21}.block-editor-block-list .block-editor-inserter{margin:8px;cursor:move;cursor:grab}@keyframes block-editor-inserter__toggle__fade-in-animation{0%{opacity:0}to{opacity:1}}.wp-block .block-list-appender .block-editor-inserter__toggle{animation:block-editor-inserter__toggle__fade-in-animation .1s ease;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.wp-block .block-list-appender .block-editor-inserter__toggle{animation-duration:1ms;animation-delay:0s}}.block-editor-block-list__block:not(.is-selected):not(.has-child-selected) .block-editor-default-block-appender{display:none}.block-editor-block-list__block:not(.is-selected):not(.has-child-selected) .block-editor-default-block-appender .block-editor-inserter__toggle{opacity:0;transform:scale(0)}.block-editor-block-list__block .block-editor-block-list__block-html-textarea{display:block;margin:0;padding:12px;width:100%;border:none;outline:none;border-radius:2px;box-shadow:inset 0 0 0 1px #1e1e1e;resize:none;overflow:hidden;font-family:Menlo,Consolas,monaco,monospace;font-size:15px;line-height:1.5;transition:padding .2s linear}@media (prefers-reduced-motion:reduce){.block-editor-block-list__block .block-editor-block-list__block-html-textarea{transition-duration:0s;transition-delay:0s}}.block-editor-block-list__block .block-editor-block-list__block-html-textarea:focus{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.block-editor-block-list__block .block-editor-warning{z-index:5;position:relative}.block-editor-block-list__block .block-editor-warning.block-editor-block-list__block-crash-warning{margin-bottom:auto}.block-editor-block-list__insertion-point{position:absolute}.block-editor-block-list__insertion-point-indicator{position:absolute;background:var(--wp-admin-theme-color);animation:block-editor-inserter__toggle__fade-in-animation-delayed .3s ease;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-block-list__insertion-point-indicator{animation-duration:1ms;animation-delay:0s}}.block-editor-block-list__insertion-point.is-vertical>.block-editor-block-list__insertion-point-indicator{top:50%;left:0;right:0;height:1px}.block-editor-block-list__insertion-point.is-horizontal>.block-editor-block-list__insertion-point-indicator{top:0;left:0;right:50%;height:100%;width:1px}.block-editor-block-list__insertion-point-inserter{display:none;position:absolute;justify-content:center;top:calc(50% - 12px);right:calc(50% - 12px)}@media (min-width:480px){.block-editor-block-list__insertion-point-inserter{display:flex}}.block-editor-block-list__block-popover-inserter{position:absolute;top:-9999em;margin-bottom:14px}.block-editor-block-list__block-popover-inserter.is-visible{position:static}.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle.components-button.has-icon,.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle.components-button.has-icon,.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button.has-icon,.block-editor-default-block-appender .block-editor-inserter__toggle.components-button.has-icon{background:#1e1e1e;border-radius:2px;color:#fff;padding:0;min-width:24px;height:24px}.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle.components-button.has-icon:hover,.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle.components-button.has-icon:hover,.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button.has-icon:hover,.block-editor-default-block-appender .block-editor-inserter__toggle.components-button.has-icon:hover{color:#fff;background:var(--wp-admin-theme-color)}.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button.has-icon{background:var(--wp-admin-theme-color)}.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button.has-icon:hover{background:#1e1e1e}.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle.components-button,.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button{animation:block-editor-inserter__toggle__fade-in-animation-delayed .3s ease;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle.components-button,.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button{animation-duration:1ms;animation-delay:0s}}@keyframes block-editor-inserter__toggle__fade-in-animation-delayed{0%{opacity:0}60%{opacity:0}to{opacity:1}}.block-editor-block-contextual-toolbar{display:inline-flex;border:1px solid #1e1e1e;border-radius:2px;background-color:#fff}.block-editor-block-contextual-toolbar .block-editor-block-toolbar .components-toolbar,.block-editor-block-contextual-toolbar .block-editor-block-toolbar .components-toolbar-group{border-left-color:#1e1e1e}.block-editor-block-contextual-toolbar.is-fixed{position:sticky;top:0;width:100%;z-index:31;min-height:48px;display:block;border:none;border-bottom:1px solid #e0e0e0;border-radius:0}.block-editor-block-contextual-toolbar.is-fixed .block-editor-block-toolbar .components-toolbar,.block-editor-block-contextual-toolbar.is-fixed .block-editor-block-toolbar .components-toolbar-group{border-left-color:#e0e0e0}.block-editor-block-contextual-toolbar .block-editor-block-mover-button{overflow:hidden}.block-editor-block-contextual-toolbar .block-editor-block-mover.is-horizontal .block-editor-block-mover-button.block-editor-block-mover-button{min-width:24px;width:24px}.block-editor-block-contextual-toolbar .block-editor-block-mover.is-horizontal .block-editor-block-mover-button.block-editor-block-mover-button svg{min-width:24px}.block-editor-block-contextual-toolbar .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover-button:focus:before{right:0!important;min-width:0;width:100%}@media (min-width:600px){.block-editor-block-contextual-toolbar .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover-button.is-up-button svg{top:5px}.block-editor-block-contextual-toolbar .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover-button.is-down-button svg{bottom:5px}}.block-editor-block-list__block-selection-button{display:inline-flex;padding:0 13px;z-index:22;border-radius:2px;background-color:#1e1e1e;font-size:13px;height:48px}.block-editor-block-list__block-selection-button .block-editor-block-list__block-selection-button__content{margin:auto;display:inline-flex;align-items:center}.block-editor-block-list__block-selection-button .block-editor-block-list__block-selection-button__content>.components-flex__item{margin-left:6px}.block-editor-block-list__block-selection-button .components-button.has-icon.block-selection-button_drag-handle{cursor:grab;padding:0;height:24px;min-width:24px}.block-editor-block-list__block-selection-button .components-button.has-icon.block-selection-button_drag-handle svg{min-width:18px;min-height:18px}.block-editor-block-list__block-selection-button .block-editor-block-icon{font-size:13px;color:#fff;height:48px}.block-editor-block-list__block-selection-button .components-button{min-width:36px;color:#fff;height:48px;display:flex}.block-editor-block-list__block-selection-button .components-button:focus{box-shadow:none;border:none}.block-editor-block-list__block-selection-button .components-button:active{color:#fff}.block-editor-block-list__block-selection-button .block-selection-button_select-button.components-button{padding:0}.block-editor-block-list__insertion-point-popover.is-without-arrow{z-index:28;position:absolute;pointer-events:none}.block-editor-block-list__insertion-point-popover.is-without-arrow *{pointer-events:none}.block-editor-block-list__insertion-point-popover.is-without-arrow .is-with-inserter,.block-editor-block-list__insertion-point-popover.is-without-arrow .is-with-inserter *{pointer-events:all}.block-editor-block-list__insertion-point-popover.is-without-arrow .components-popover__content.components-popover__content{background:none;border:none;box-shadow:none;overflow-y:visible;margin-right:0}@keyframes hide-during-dragging{to{position:fixed;transform:translate(-9999px,9999px)}}.components-popover.block-editor-block-list__block-popover{z-index:31;position:absolute}.components-popover.block-editor-block-list__block-popover .components-popover__content{margin:0!important;min-width:auto;width:max-content;background:none;border:none;box-shadow:none;overflow-y:visible;pointer-events:none}.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-contextual-toolbar,.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-list__block-selection-button,.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-list__empty-block-inserter{pointer-events:all}.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-contextual-toolbar,.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-list__block-selection-button{margin-top:12px;margin-bottom:12px}.is-dragging-components-draggable .components-popover.block-editor-block-list__block-popover{opacity:0;animation:hide-during-dragging 1ms linear forwards}.is-dragging-components-draggable .components-tooltip{display:none}.block-editor-block-list__block .block-list-appender{align-self:center;padding:0;list-style:none;margin:0 8px 0 auto}.block-editor-block-list__block .block-list-appender.wp-block{max-width:none}.block-editor-block-list__block .block-list-appender:first-child{margin-right:0}.block-editor-block-list__block .block-list-appender .block-editor-default-block-appender{margin:8px 0}.block-editor-block-list__block .block-list-appender .block-list-appender__toggle{padding:0;opacity:1;transform:scale(1);transition:all .1s ease}@media (prefers-reduced-motion:reduce){.block-editor-block-list__block .block-list-appender .block-list-appender__toggle{transition-duration:0s;transition-delay:0s}}.is-vertical .block-list-appender{width:24px;margin-left:auto;margin-top:12px;margin-right:12px}.block-list-appender>.block-editor-inserter{display:block}.block-editor-block-list__block:not(.is-selected):not(.has-child-selected):not(.block-editor-block-list__layout) .block-editor-block-list__layout>.block-list-appender .block-list-appender__toggle{opacity:0;transform:scale(0)}.block-editor-block-breadcrumb{list-style:none;padding:0;margin:0}.block-editor-block-breadcrumb li{display:inline-block;margin:0}.block-editor-block-breadcrumb li:not(:last-child):after{content:"←"}.block-editor-block-breadcrumb__button.components-button{height:24px;line-height:24px;padding:0;position:relative}.block-editor-block-breadcrumb__button.components-button:hover:not(:disabled){text-decoration:underline;box-shadow:none}.block-editor-block-breadcrumb__button.components-button:focus{box-shadow:none}.block-editor-block-breadcrumb__button.components-button:focus:before{content:"";display:block;position:absolute;border-radius:2px;top:1px;left:1px;bottom:1px;right:1px;box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.block-editor-block-breadcrumb__current{cursor:default}.block-editor-block-breadcrumb__button.components-button,.block-editor-block-breadcrumb__current{color:#1e1e1e;padding:0 8px;font-size:inherit}.block-editor-block-card{display:flex;align-items:flex-start}.block-editor-block-card__content{flex-grow:1;margin-bottom:4px}.block-editor-block-card__title{font-weight:500}.block-editor-block-card__title.block-editor-block-card__title{line-height:24px;margin:0 0 4px}.block-editor-block-card__description{font-size:13px}.block-editor-block-card .block-editor-block-icon{flex:0 0 24px;margin-right:0;margin-left:12px;width:24px;height:24px}.block-editor-block-compare{overflow:auto;height:auto}@media (min-width:600px){.block-editor-block-compare{max-height:70%}}.block-editor-block-compare__wrapper{display:flex;padding-bottom:16px}.block-editor-block-compare__wrapper>div{display:flex;justify-content:space-between;flex-direction:column;width:50%;padding:0 0 0 16px;min-width:200px}.block-editor-block-compare__wrapper>div button{float:left}.block-editor-block-compare__wrapper .block-editor-block-compare__converted{border-right:1px solid #ddd;padding-right:15px;padding-left:0}.block-editor-block-compare__wrapper .block-editor-block-compare__html{font-family:Menlo,Consolas,monaco,monospace;font-size:12px;color:#1e1e1e;border-bottom:1px solid #ddd;padding-bottom:15px;line-height:1.7}.block-editor-block-compare__wrapper .block-editor-block-compare__html span{background-color:#e6ffed;padding-top:3px;padding-bottom:3px}.block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__added{background-color:#acf2bd}.block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__removed{background-color:#cc1818}.block-editor-block-compare__wrapper .block-editor-block-compare__preview{padding:16px 0 0}.block-editor-block-compare__wrapper .block-editor-block-compare__preview p{font-size:12px;margin-top:0}.block-editor-block-compare__wrapper .block-editor-block-compare__action{margin-top:16px}.block-editor-block-compare__wrapper .block-editor-block-compare__heading{font-size:1em;font-weight:400;margin:.67em 0}.block-editor-block-draggable-chip-wrapper{position:absolute;top:-24px;right:0}.block-editor-block-draggable-chip{background-color:#1e1e1e;border-radius:2px;box-shadow:0 6px 8px rgba(0,0,0,.3);color:#fff;cursor:grabbing;display:inline-flex;height:48px;padding:0 13px;-webkit-user-select:none;user-select:none}.block-editor-block-draggable-chip svg{fill:currentColor}.block-editor-block-draggable-chip .block-editor-block-draggable-chip__content{margin:auto;justify-content:flex-start}.block-editor-block-draggable-chip .block-editor-block-draggable-chip__content>.components-flex__item{margin-left:6px}.block-editor-block-draggable-chip .block-editor-block-draggable-chip__content>.components-flex__item:last-child{margin-left:0}.block-editor-block-draggable-chip .block-editor-block-draggable-chip__content .block-editor-block-icon svg{min-width:18px;min-height:18px}.block-editor-block-draggable-chip .components-flex__item{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.is-dragging{display:none!important}.block-editor-block-mobile-toolbar{display:flex;flex-direction:row;border-left:1px solid #ddd}.block-editor-block-mobile-toolbar .block-editor-block-mover-button{width:36px;height:36px;border-radius:2px;padding:3px;margin:0;justify-content:center;align-items:center}.block-editor-block-mobile-toolbar .block-editor-block-mover-button .dashicon{margin:auto}.block-editor-block-mobile-toolbar .block-editor-block-mover{display:flex;margin-left:auto}.block-editor-block-mobile-toolbar .block-editor-block-mover .block-editor-block-mover-button{float:right}.block-editor-block-mover-button__description{display:none}.block-editor-block-mover-button.has-icon{padding:0}.block-editor-block-mover{display:inline-flex;flex-direction:row}.block-editor-block-mover .block-editor-block-mover__move-button-container,.block-editor-block-mover .components-toolbar{flex:1;flex-direction:row;border-left:none!important}@media (min-width:600px){.block-editor-block-mover .block-editor-block-mover__move-button-container,.block-editor-block-mover .components-toolbar{flex-direction:column}}.block-editor-block-mover.is-horizontal .block-editor-block-mover__move-button-container,.block-editor-block-mover.is-horizontal .components-toolbar{flex-direction:row}.block-editor-block-mover .block-editor-block-mover-button.block-editor-block-mover-button{padding-left:0;padding-right:0;min-width:36px}@media (min-width:600px){.block-editor-block-mover .block-editor-block-mover-button{height:24px;width:42px;padding-left:11px!important;padding-right:6px!important}.block-editor-block-mover .block-editor-block-mover-button.block-editor-block-mover-button{min-width:42px}}@media (min-width:600px){.block-editor-block-mover .block-editor-block-mover-button:before{right:8px!important;left:8px!important}}.block-editor-block-mover .block-editor-block-mover__drag-handle{width:24px;cursor:grab;min-width:24px!important;padding:0!important}.block-editor-block-mover .block-editor-block-mover__drag-handle:focus:before{right:0!important;left:0!important}@media (min-width:600px){.block-editor-block-mover .components-toolbar-group .block-editor-block-mover-button,.block-editor-block-mover .components-toolbar .block-editor-block-mover-button{margin:0 0 0 auto}.block-editor-block-mover .components-toolbar-group .block-editor-block-mover-button.is-up-button:before,.block-editor-block-mover .components-toolbar .block-editor-block-mover-button.is-up-button:before{bottom:0;height:calc(100% - 1px)}.block-editor-block-mover .components-toolbar-group .block-editor-block-mover-button.is-down-button:before,.block-editor-block-mover .components-toolbar .block-editor-block-mover-button.is-down-button:before{top:0;height:calc(100% - 1px)}}.block-editor-block-mover.is-horizontal .block-editor-block-mover-button.has-icon{height:48px;width:24px;padding-right:0;padding-left:0}.block-editor-block-mover.is-horizontal .block-editor-block-mover-button.has-icon:before{top:1px;bottom:1px;min-width:0;width:auto;height:auto}.block-editor-block-mover.is-horizontal .block-editor-block-mover-button.is-up-button.has-icon svg{margin-right:0;margin-left:-8px;margin-bottom:0}.block-editor-block-mover.is-horizontal .block-editor-block-mover-button.is-up-button.has-icon:before{right:0!important;left:0!important}.block-editor-block-mover.is-horizontal .block-editor-block-mover-button.is-down-button.has-icon svg{margin-right:-8px;margin-left:0;margin-top:0}.block-editor-block-mover.is-horizontal .block-editor-block-mover-button.is-down-button.has-icon:before{right:0!important;left:0!important;width:calc(100% + 1px)}.block-editor-block-navigation__label{margin:0 0 12px;color:#757575;text-transform:uppercase;font-size:11px;font-weight:500}.block-editor-block-navigation__container{min-width:280px}.block-editor-block-navigation-tree{width:100%;border-collapse:collapse;padding:0;margin:0}.components-modal__content .block-editor-block-navigation-tree{margin:-12px -6px 0;width:calc(100% + 12px)}.block-editor-block-navigation-leaf{position:relative}.block-editor-block-navigation-leaf.is-selected .block-editor-block-navigation-block-contents{background:var(--wp-admin-theme-color);color:#fff}.block-editor-block-navigation-leaf.is-selected .block-editor-block-navigation-block-contents:focus{box-shadow:inset 0 0 0 1px #fff,0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.block-editor-block-navigation-leaf.is-branch-selected.is-selected .block-editor-block-navigation-block-contents{border-radius:2px 2px 0 0}.block-editor-block-navigation-leaf.is-branch-selected:not(.is-selected) .block-editor-block-navigation-block-contents{background:linear-gradient(hsla(0,0%,100%,.9),hsla(0,0%,100%,.9)),linear-gradient(var(--wp-admin-theme-color),var(--wp-admin-theme-color));border-radius:0}.block-editor-block-navigation-leaf.is-branch-selected.is-last-of-selected-branch .block-editor-block-navigation-block-contents{border-radius:0 0 2px 2px}.block-editor-block-navigation-leaf.is-dragging{display:none}.block-editor-block-navigation-leaf .block-editor-block-navigation-block-contents{display:flex;align-items:center;width:100%;height:auto;padding:6px 12px;text-align:right;color:#1e1e1e;border-radius:2px;position:relative;white-space:nowrap}.block-editor-block-navigation-leaf .block-editor-block-navigation-block-contents:focus,.block-editor-block-navigation-leaf .block-editor-block-navigation-block-contents:hover{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.block-editor-block-navigation-leaf .block-editor-block-navigation-block-contents:focus{z-index:1}.block-editor-block-navigation-leaf .block-editor-block-navigation-block-contents.is-dropping-before:before{content:"";position:absolute;pointer-events:none;transition:border-color .1s linear,border-style .1s linear,box-shadow .1s linear;top:-2px;left:0;right:0;border-top:4px solid var(--wp-admin-theme-color)}.block-editor-block-navigation-leaf .block-editor-block-navigation-block-contents.is-dropping-after:before{content:"";position:absolute;pointer-events:none;transition:border-color .1s linear,border-style .1s linear,box-shadow .1s linear;bottom:-2px;left:0;right:0;border-bottom:4px solid var(--wp-admin-theme-color)}.block-editor-block-navigation-leaf .block-editor-block-navigation-block-contents.is-dropping-to-inner-blocks:before{content:"";position:absolute;pointer-events:none;transition:border-color .1s linear,border-style .1s linear,box-shadow .1s linear;bottom:-2px;left:0;right:24px;border-bottom:4px solid var(--wp-admin-theme-color)}.components-modal__content .block-editor-block-navigation-leaf .block-editor-block-navigation-block-contents{padding-right:0;padding-left:0}.block-editor-block-navigation-leaf.is-visible .block-editor-block-navigation-block-contents{opacity:1;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-block-navigation-leaf.is-visible .block-editor-block-navigation-block-contents{animation-duration:1ms;animation-delay:0s}}.block-editor-block-navigation-leaf .block-editor-block-icon{align-self:flex-start;margin-left:10px;width:20px}.block-editor-block-navigation-leaf .block-editor-block-navigation-block__contents-cell,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell{padding-top:0;padding-bottom:0}.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell{line-height:0;width:36px;opacity:0;vertical-align:top}@media (prefers-reduced-motion:reduce){.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell{transition-duration:0s;transition-delay:0s}}.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell.is-visible,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell:hover,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell.is-visible,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell:hover{position:relative;z-index:1;opacity:1;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell.is-visible,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell:hover,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell.is-visible,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell:hover{animation-duration:1ms;animation-delay:0s}}.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell .components-button.has-icon,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell .components-button.has-icon{width:24px;min-width:24px;padding:0}.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell{padding-top:8px}.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell-alignment-wrapper{display:flex;height:100%;flex-direction:column;align-items:center}.block-editor-block-navigation-leaf .block-editor-block-mover-button{position:relative;width:36px;height:24px}.block-editor-block-navigation-leaf .block-editor-block-mover-button svg{position:relative;height:24px}.block-editor-block-navigation-leaf .block-editor-block-mover-button.is-up-button{margin-top:-6px;align-items:flex-end}.block-editor-block-navigation-leaf .block-editor-block-mover-button.is-up-button svg{bottom:-4px}.block-editor-block-navigation-leaf .block-editor-block-mover-button.is-down-button{margin-bottom:-6px;align-items:flex-start}.block-editor-block-navigation-leaf .block-editor-block-mover-button.is-down-button svg{top:-4px}.block-editor-block-navigation-leaf .block-editor-block-mover-button:focus,.block-editor-block-navigation-leaf .block-editor-block-mover-button:focus:enabled{box-shadow:none;outline:none}.block-editor-block-navigation-leaf .block-editor-block-mover-button:focus:before{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color),inset 0 0 0 4px #fff;outline:2px solid transparent}.block-editor-block-navigation-leaf .block-editor-block-mover-button:before{content:"";position:absolute;display:block;border-radius:2px;height:16px;min-width:100%;right:0;left:0;animation:components-button__appear-animation .1s ease;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-block-navigation-leaf .block-editor-block-mover-button:before{animation-duration:1ms;animation-delay:0s}}.block-editor-block-navigation-leaf .block-editor-inserter__toggle{background:#1e1e1e;color:#fff;height:24px;margin:6px 1px 6px 6px;min-width:24px}.block-editor-block-navigation-leaf .block-editor-inserter__toggle:active{color:#fff}.block-editor-block-navigation-leaf .block-editor-block-navigation-block-select-button__anchor{background:rgba(0,0,0,.1);border-radius:2px;display:inline-block;padding:2px 6px;margin:0 8px;max-width:120px;overflow:hidden;text-overflow:ellipsis}.block-editor-block-navigation-leaf.is-selected .block-editor-block-navigation-block-select-button__anchor{background:rgba(0,0,0,.3)}.block-editor-block-navigation-appender__description,.block-editor-block-navigation-block-select-button__description,.block-editor-block-navigation-block-slot__description{display:none}.block-editor-block-navigation-appender__cell .block-editor-block-navigation-appender__container,.block-editor-block-navigation-appender__cell .block-editor-block-navigation-block__contents-container,.block-editor-block-navigation-block__contents-cell .block-editor-block-navigation-appender__container,.block-editor-block-navigation-block__contents-cell .block-editor-block-navigation-block__contents-container{display:flex}.block-editor-block-navigation-leaf[aria-level] .block-editor-block-icon{margin-right:224px}.block-editor-block-navigation-leaf[aria-level="1"] .block-editor-block-icon{margin-right:0}.block-editor-block-navigation-leaf[aria-level="2"] .block-editor-block-icon{margin-right:28px}.block-editor-block-navigation-leaf[aria-level="3"] .block-editor-block-icon{margin-right:56px}.block-editor-block-navigation-leaf[aria-level="4"] .block-editor-block-icon{margin-right:84px}.block-editor-block-navigation-leaf[aria-level="5"] .block-editor-block-icon{margin-right:112px}.block-editor-block-navigation-leaf[aria-level="6"] .block-editor-block-icon{margin-right:140px}.block-editor-block-navigation-leaf[aria-level="7"] .block-editor-block-icon{margin-right:168px}.block-editor-block-navigation-leaf[aria-level="8"] .block-editor-block-icon{margin-right:196px}.block-editor-block-navigation-leaf[aria-level="9"] .block-editor-block-icon{margin-right:224px}.block-editor-block-parent-selector{background:#fff;border-radius:2px}.block-editor-block-parent-selector .block-editor-block-parent-selector__button{width:48px;height:48px;border:1px solid #1e1e1e;border-radius:2px}.block-editor-block-patterns-list__list-item{cursor:pointer;margin-top:16px}.block-editor-block-patterns-list__list-item.is-placeholder{min-height:100px}.block-editor-block-patterns-list__list-item[draggable=true] .block-editor-block-preview__container{cursor:grab}.block-editor-block-patterns-list__item{height:100%;border-radius:2px;transition:all .05s ease-in-out;position:relative;border:1px solid transparent}.block-editor-block-patterns-list__item:hover{border:1px solid var(--wp-admin-theme-color)}.block-editor-block-patterns-list__item:focus{box-shadow:inset 0 0 0 1px #fff,0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);outline:2px solid transparent}.block-editor-block-patterns-list__item-title{padding:4px;font-size:12px;text-align:center}.block-editor-block-preview__container{position:relative;width:100%;overflow:hidden}.block-editor-block-preview__container.editor-styles-wrapper{padding:0;margin:0}.block-editor-block-preview__container .block-editor-block-preview__content{position:absolute;top:0;right:0;transform-origin:top right;text-align:initial;margin:0;overflow:visible;min-height:auto}.block-editor-block-preview__container .block-editor-block-preview__content .block-editor-block-drop-zone,.block-editor-block-preview__container .block-editor-block-preview__content .block-editor-block-list__insertion-point,.block-editor-block-preview__container .block-editor-block-preview__content .block-list-appender,.block-editor-block-preview__container .block-editor-block-preview__content .reusable-block-indicator{display:none}.block-editor-block-preview__container .block-editor-block-preview__content .block-editor-block-list__layout.is-root-container{padding-right:0;padding-left:0}.block-editor-block-preview__container .block-editor-block-preview__content .block-editor-block-list__layout.is-root-container>.wp-block[data-align=full]{margin-right:0;margin-left:0}.block-editor-block-settings-menu__popover .components-dropdown-menu__menu{padding:0}.block-editor-block-styles{display:flex;flex-wrap:wrap;justify-content:space-between}.block-editor-block-styles__item{width:calc(50% - 4px);margin:4px 0;flex-shrink:0;cursor:pointer;overflow:hidden;border-radius:2px;padding:6px;display:flex;flex-direction:column}.block-editor-block-styles__item:focus{box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);outline:2px solid transparent}.block-editor-block-styles__item:hover .block-editor-block-styles__item-preview{border-color:var(--wp-admin-theme-color)}.block-editor-block-styles__item.is-active .block-editor-block-styles__item-label{font-weight:700}.block-editor-block-styles__item.is-active .block-editor-block-styles__item-preview{margin:0;border:2px solid #1e1e1e}.block-editor-block-styles__item .block-editor-block-preview__container{cursor:inherit}.block-editor-block-styles__item-preview{outline:1px solid transparent;padding:0;margin:2px;border-radius:2px;display:flex;overflow:hidden;background:#fff;align-items:center;flex-grow:1;min-height:80px;max-height:160px}.block-editor-block-switcher__styles__menugroup{position:relative}.block-editor-block-styles__item-label{text-align:center;padding:4px 0}.block-editor-block-switcher,.block-editor-block-switcher__no-switcher-icon,.block-editor-block-switcher__toggle{position:relative}.components-button.block-editor-block-switcher__no-switcher-icon,.components-button.block-editor-block-switcher__toggle{margin:0;display:block;height:48px}.components-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-icon,.components-button.block-editor-block-switcher__toggle .block-editor-block-icon{margin:auto}.block-editor-block-switcher__toggle-text{margin-right:8px}.show-icon-labels .block-editor-block-switcher__toggle-text{display:none}.show-icon-labels .block-editor-block-toolbar .block-editor-block-switcher .components-button.has-icon:after{font-size:14px}.block-editor-block-switcher__popover{margin-right:6px}.components-button.block-editor-block-switcher__no-switcher-icon{width:48px}.components-button.block-editor-block-switcher__no-switcher-icon .block-editor-blocks-icon{margin-left:auto;margin-right:auto}.components-button.block-editor-block-switcher__no-switcher-icon:disabled{opacity:1}.components-button.block-editor-block-switcher__no-switcher-icon:disabled,.components-button.block-editor-block-switcher__no-switcher-icon:disabled .block-editor-block-icon.has-colors{color:#1e1e1e}.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon .block-editor-block-icon,.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__toggle.has-icon.has-icon .block-editor-block-icon,.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon .block-editor-block-icon,.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__toggle.has-icon.has-icon .block-editor-block-icon{height:100%;position:relative;margin:0 auto;display:flex;align-items:center;min-width:100%}.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon:before,.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__toggle.has-icon.has-icon:before,.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon:before,.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__toggle.has-icon.has-icon:before{top:8px;left:8px;bottom:8px;right:8px}.components-popover.block-editor-block-switcher__popover .components-popover__content{min-width:300px}.components-popover.block-editor-block-switcher__popover .components-popover__content>div{min-width:auto;display:flex;background:#fff;padding:0}.components-popover.block-editor-block-switcher__popover .components-popover__content>div .components-menu-group{margin:0}.block-editor-block-switcher__popover .components-popover__content .block-editor-block-styles{margin:0 -3px}.block-editor-block-switcher__popover .components-popover__content .components-panel__body{border:0;position:relative;z-index:1}.block-editor-block-switcher__popover .components-popover__content .components-panel__body+.components-panel__body{border-top:1px solid #e0e0e0}.block-editor-block-switcher__popover__preview__parent .block-editor-block-switcher__popover__preview__container{position:absolute;top:-12px;right:calc(100% + 32px)}.block-editor-block-switcher__preview__popover{display:none}.block-editor-block-switcher__preview__popover.components-popover{margin-right:4px;margin-top:11px}@media (min-width:782px){.block-editor-block-switcher__preview__popover{display:block}}.block-editor-block-switcher__preview__popover .components-popover__content{box-shadow:none;border:1px solid #1e1e1e;background:#fff;border-radius:2px}.block-editor-block-switcher__preview__popover .block-editor-block-switcher__preview{width:300px;height:auto;max-height:500px;padding:16px}.block-editor-block-switcher__preview-title{margin-bottom:12px;color:#757575;text-transform:uppercase;font-size:11px;font-weight:500}.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__no-switcher-icon{width:48px}.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__no-switcher-icon,.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__toggle{height:48px}.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-icon,.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-switcher__transform,.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__toggle .block-editor-block-icon,.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{width:48px;height:48px}.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-switcher__transform,.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{padding:12px}.block-editor-block-switcher__preview-patterns-container{padding-bottom:16px}.block-editor-block-switcher__preview-patterns-container .block-editor-block-switcher__preview-patterns-container-list__list-item{margin-top:16px}.block-editor-block-switcher__preview-patterns-container .block-editor-block-switcher__preview-patterns-container-list__list-item .block-editor-block-preview__container{cursor:pointer}.block-editor-block-switcher__preview-patterns-container .block-editor-block-switcher__preview-patterns-container-list__list-item .block-editor-block-switcher__preview-patterns-container-list__item{height:100%;border-radius:2px;transition:all .05s ease-in-out;position:relative;border:1px solid transparent}.block-editor-block-switcher__preview-patterns-container .block-editor-block-switcher__preview-patterns-container-list__list-item .block-editor-block-switcher__preview-patterns-container-list__item:focus,.block-editor-block-switcher__preview-patterns-container .block-editor-block-switcher__preview-patterns-container-list__list-item .block-editor-block-switcher__preview-patterns-container-list__item:hover{box-shadow:inset 0 0 0 1px #fff,0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);outline:2px solid transparent}.block-editor-block-switcher__preview-patterns-container .block-editor-block-switcher__preview-patterns-container-list__list-item .block-editor-block-switcher__preview-patterns-container-list__item:hover{box-shadow:inset 0 0 0 1px #fff,0 0 0 var(--wp-admin-border-width-focus) #1e1e1e}.block-editor-block-switcher__preview-patterns-container .block-editor-block-switcher__preview-patterns-container-list__list-item .block-editor-block-switcher__preview-patterns-container-list__item .block-editor-block-switcher__preview-patterns-container-list__item-title{padding:4px;font-size:12px;text-align:center;cursor:pointer}.block-editor-block-types-list>[role=presentation]{padding:4px;margin-right:-4px;margin-left:-4px;overflow:hidden;display:flex;flex-wrap:wrap}.block-editor-block-variation-picker .components-placeholder__instructions{margin-bottom:0}.block-editor-block-variation-picker .components-placeholder__fieldset{flex-direction:column}.block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset{max-width:90%}.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations{display:flex;justify-content:flex-start;flex-direction:row;flex-wrap:wrap;width:100%;margin:16px 0;padding:0;list-style:none}.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations>li{list-style:none;margin:8px 0 0 20px;flex-shrink:1;width:75px;text-align:center}.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations>li button{display:inline-flex;margin-left:0}.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations .block-editor-block-variation-picker__variation{padding:8px}.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations .block-editor-block-variation-picker__variation-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:12px;display:block;line-height:1.4}.block-editor-block-variation-picker__variation{width:100%}.block-editor-block-variation-picker__variation.components-button.has-icon{justify-content:center;width:auto}.block-editor-block-variation-picker__variation.components-button.has-icon.is-secondary{background-color:#fff}.block-editor-block-variation-picker__variation.components-button{height:auto;padding:0}.block-editor-block-variation-picker__variation:before{content:"";padding-bottom:100%}.block-editor-block-variation-picker__variation:first-child{margin-right:0}.block-editor-block-variation-picker__variation:last-child{margin-left:0}.block-editor-block-pattern-setup{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;width:100%;border-radius:2px;box-shadow:inset 0 0 0 1px #1e1e1e;outline:1px solid transparent}.block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__toolbar{justify-content:center}.block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container{display:grid;grid-template-columns:1fr 1fr;grid-gap:16px;padding:16px;max-height:550px;overflow:auto;margin:0 1px 1px;width:calc(100% - 2px);background:#fff}.block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container .block-editor-block-preview__container,.block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container div[role=button]{cursor:pointer}.block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container .block-editor-block-pattern-setup-list__item-title{padding:4px;font-size:12px;text-align:center}.block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container .block-editor-block-preview__container{border-radius:2px;border:1px solid #ddd}.block-editor-block-pattern-setup .block-editor-block-pattern-setup__toolbar{box-sizing:border-box;position:relative;padding:16px;width:100%;text-align:right;margin:0;color:#1e1e1e;border-radius:2px 2px 0 0;background-color:#fff;box-shadow:inset 0 0 0 1px #1e1e1e;outline:1px solid transparent;display:flex;flex-direction:row;align-items:center;justify-content:space-between}.block-editor-block-pattern-setup .block-editor-block-pattern-setup__toolbar .block-editor-block-pattern-setup__display-controls{display:flex}.block-editor-block-pattern-setup .block-editor-block-pattern-setup__toolbar .block-editor-block-pattern-setup__actions,.block-editor-block-pattern-setup .block-editor-block-pattern-setup__toolbar .block-editor-block-pattern-setup__navigation{width:calc(50% - 36px);display:flex}.block-editor-block-pattern-setup .block-editor-block-pattern-setup__toolbar .block-editor-block-pattern-setup__actions{justify-content:flex-end}.block-editor-block-pattern-setup .block-editor-block-pattern-setup__container{display:flex;flex-direction:column;width:100%;box-sizing:border-box}.block-editor-block-pattern-setup .block-editor-block-pattern-setup__container .carousel-container{overflow:hidden;position:relative;padding:0;margin:0;list-style:none;transform-style:preserve-3d}.block-editor-block-pattern-setup .block-editor-block-pattern-setup__container .carousel-container *{box-sizing:border-box}.block-editor-block-pattern-setup .block-editor-block-pattern-setup__container .carousel-container .pattern-slide{opacity:0;position:absolute;top:0;width:100%;margin:auto;padding:16px;transition:transform .5s,opacity .5s,z-index .5s;z-index:100}.block-editor-block-pattern-setup .block-editor-block-pattern-setup__container .carousel-container .pattern-slide.active-slide{opacity:1;position:relative;z-index:102}.block-editor-block-pattern-setup .block-editor-block-pattern-setup__container .carousel-container .pattern-slide.previous-slide{transform:translateX(100%);z-index:101}.block-editor-block-pattern-setup .block-editor-block-pattern-setup__container .carousel-container .pattern-slide.next-slide{transform:translateX(-100%);z-index:101}.block-editor-block-pattern-setup .block-editor-block-pattern-setup__container .block-list-appender{display:none}.block-editor-block-variation-transforms{padding:0 56px 16px 16px;width:100%}.block-editor-block-variation-transforms .components-dropdown-menu__toggle{border:1px solid #757575;border-radius:2px;min-height:30px;width:100%;position:relative;text-align:right;justify-content:left;padding:6px 12px}.block-editor-block-variation-transforms .components-dropdown-menu__toggle.components-dropdown-menu__toggle{padding-left:24px}.block-editor-block-variation-transforms .components-dropdown-menu__toggle:focus:not(:disabled){border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 calc(var(--wp-admin-border-width-focus) - 1px) var(--wp-admin-theme-color)}.block-editor-block-variation-transforms .components-dropdown-menu__toggle svg{height:100%;padding:0;position:absolute;left:0;top:0}.block-editor-block-variation-transforms__popover .components-popover__content{min-width:230px}.components-border-style-control__select{margin-bottom:24px}.components-border-style-control__select button{width:100%}.components-border-style-control__select ul li,.components-border-style-control__select ul li:last-child{margin:6px}.block-editor-button-block-appender{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:8px;width:100%;height:auto;color:#1e1e1e;box-shadow:inset 0 0 0 1px #1e1e1e}.is-dark-theme .block-editor-button-block-appender{color:hsla(0,0%,100%,.65);box-shadow:inset 0 0 0 1px hsla(0,0%,100%,.65)}.block-editor-button-block-appender:hover{color:var(--wp-admin-theme-color);box-shadow:inset 0 0 0 1px var(--wp-admin-theme-color)}.block-editor-button-block-appender:focus{box-shadow:inset 0 0 0 2px var(--wp-admin-theme-color)}.block-editor-button-block-appender:active{color:#000}.block-editor-button-block-appender.block-list-appender__toggle{display:flex;flex-direction:row;box-shadow:none;height:24px;width:24px}.block-editor-button-block-appender.block-list-appender__toggle>svg{width:24px;background-color:#1e1e1e;color:#fff;border-radius:2px}.block-editor-color-gradient-control .block-editor-color-gradient-control__color-indicator{margin-bottom:12px}.block-editor-color-gradient-control .block-editor-color-gradient-control__button-tabs{display:block;margin-bottom:12px}.block-editor-panel-color-gradient-settings .component-color-indicator{vertical-align:text-bottom}.block-editor-panel-color-gradient-settings__panel-title .component-color-indicator{display:inline-block}.block-editor-panel-color-gradient-settings.is-opened .block-editor-panel-color-gradient-settings__panel-title .component-color-indicator{display:none}@media screen and (min-width:782px){.block-editor-panel-color-gradient-settings .components-circular-option-picker__swatches{margin-left:0}.block-editor-panel-color-gradient-settings .components-circular-option-picker__option-wrapper{margin-left:calc(20% - 33.6px)}.block-editor-panel-color-gradient-settings .components-circular-option-picker__option-wrapper:nth-child(6n+6){margin-left:0}}.block-editor-contrast-checker>.components-notice{margin:0}.block-editor-default-block-appender{clear:both;margin-right:auto;margin-left:auto;position:relative}.block-editor-default-block-appender[data-root-client-id=""] .block-editor-default-block-appender__content:hover{outline:1px solid transparent}.block-editor-default-block-appender .block-editor-default-block-appender__content{opacity:.62}.block-editor-default-block-appender .components-drop-zone__content-icon{display:none}.block-editor-block-list__empty-block-inserter.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter{position:absolute;top:0;height:32px}.block-editor-block-list__empty-block-inserter.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle,.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle{margin-left:0}.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter{left:8px}@media (min-width:600px){.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter{display:flex;height:100%}}.block-editor-block-list__empty-block-inserter:disabled,.block-editor-default-block-appender .block-editor-inserter:disabled{display:none}.block-editor-duotone-control__popover .components-popover__content{border:1px solid #1e1e1e;min-width:214px}.block-editor-duotone-control__popover .components-circular-option-picker{padding:12px}.block-editor-duotone-control__popover .components-menu-group__label{padding:12px 12px 0;width:100%;box-sizing:border-box}.block-editor-duotone-control__popover>.components-popover__content{width:334px}.block-editor-duotone-control__popover:not([data-y-axis=middle][data-x-axis=right])>.components-popover__content{margin-right:-14px}.components-font-appearance-control__select{margin-bottom:24px}.components-font-appearance-control__select ul li{color:#1e1e1e;text-transform:capitalize}.items-justified-left{justify-content:flex-start}.items-justified-center{justify-content:center}.items-justified-right{justify-content:flex-end}.items-justified-space-between{justify-content:space-between}.block-editor-link-control{position:relative;min-width:360px}.components-popover__content .block-editor-link-control{min-width:auto;width:90vw;max-width:360px}.block-editor-link-control__search-input-wrapper{position:relative}.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;font-size:16px;line-height:normal;width:calc(100% - 32px);display:block;padding:11px 16px 11px 36px;margin:16px;position:relative;border:1px solid #ddd;border-radius:2px}@media (prefers-reduced-motion:reduce){.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]{font-size:13px;line-height:normal}}.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color);outline:2px solid transparent}.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]::-moz-placeholder{opacity:1;color:rgba(30,30,30,.62)}.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]:-ms-input-placeholder{color:rgba(30,30,30,.62)}.is-dark-theme .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}.block-editor-link-control .block-editor-link-control__search-input .components-base-control__field{margin-bottom:0}.block-editor-link-control__search-error{margin:-8px 16px 16px}.block-editor-link-control__search-actions{position:absolute;top:19px;left:19px}.components-button .block-editor-link-control__search-submit .has-icon{margin:-1px}.block-editor-link-control__search-results-wrapper{position:relative;margin-top:-15px}.block-editor-link-control__search-results-wrapper:after,.block-editor-link-control__search-results-wrapper:before{content:"";position:absolute;right:-1px;left:16px;display:block;pointer-events:none;z-index:100}.block-editor-link-control__search-results-wrapper:before{height:8px;top:0;bottom:auto}.block-editor-link-control__search-results-wrapper:after{height:16px;bottom:0;top:auto}.block-editor-link-control__search-results-label{padding:16px 32px 0;display:block;font-weight:600}.block-editor-link-control__search-results{margin:0;padding:8px 16px;max-height:200px;overflow-y:auto}.block-editor-link-control__search-results.is-loading{opacity:.2}.block-editor-link-control__search-item{position:relative;display:flex;align-items:center;font-size:13px;cursor:pointer;background:#fff;width:100%;border:none;text-align:right;padding:12px 16px;border-radius:5px;height:auto}.block-editor-link-control__search-item:focus,.block-editor-link-control__search-item:hover{background-color:#ddd}.block-editor-link-control__search-item:focus:not(:disabled){box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color) inset}.block-editor-link-control__search-item.is-selected{background:#f0f0f0}.block-editor-link-control__search-item.is-selected .block-editor-link-control__search-item-type{background:#fff}.block-editor-link-control__search-item.is-current{background:transparent;border:0;width:100%;cursor:default;padding:16px 24px 16px 16px}.block-editor-link-control__search-item .block-editor-link-control__search-item-header{display:block;margin-left:8px;overflow:hidden;white-space:nowrap}.block-editor-link-control__search-item .block-editor-link-control__search-item-icon{margin-left:1em;min-width:24px}.block-editor-link-control__search-item .block-editor-link-control__search-item-info,.block-editor-link-control__search-item .block-editor-link-control__search-item-title{overflow:hidden;text-overflow:ellipsis;padding-left:24px}.block-editor-link-control__search-item .block-editor-link-control__search-item-info .components-external-link__icon,.block-editor-link-control__search-item .block-editor-link-control__search-item-title .components-external-link__icon{position:absolute;left:0;margin-top:0}.block-editor-link-control__search-item .block-editor-link-control__search-item-title{display:block;margin-bottom:.2em;font-weight:500;position:relative}.block-editor-link-control__search-item .block-editor-link-control__search-item-title mark{font-weight:700;color:#000;background-color:initial}.block-editor-link-control__search-item .block-editor-link-control__search-item-title span{font-weight:400}.block-editor-link-control__search-item .block-editor-link-control__search-item-info{display:block;color:#757575;font-size:.9em;line-height:1.3}.block-editor-link-control__search-item .block-editor-link-control__search-item-type{display:block;padding:3px 8px;margin-right:auto;font-size:.9em;background-color:#f0f0f0;border-radius:2px}.block-editor-link-control__loading{margin:16px;display:flex;align-items:center}.block-editor-link-control__loading .components-spinner{margin-top:0}.components-button+.block-editor-link-control__search-create{overflow:visible;padding:12px 16px}.components-button+.block-editor-link-control__search-create:before{content:"";position:absolute;top:-10px;right:0;display:block;width:100%}.block-editor-link-control__search-results div[role=menu]>.block-editor-link-control__search-item.block-editor-link-control__search-item{padding:10px}.block-editor-link-control__settings{border-top:1px solid #ddd;margin:0;padding:16px 24px}.block-editor-link-control__settings :last-child{margin-bottom:0}.is-alternate .block-editor-link-control__settings{border-top:1px solid #1e1e1e}.block-editor-link-control__setting{margin-bottom:16px}.block-editor-link-control__setting :last-child{margin-bottom:0}.block-editor-link-control .block-editor-link-control__search-input .components-spinner{display:block}.block-editor-link-control .block-editor-link-control__search-input .components-spinner.components-spinner{position:absolute;right:auto;bottom:auto;top:28px;left:62px}.block-editor-link-control__search-item-action{margin-right:auto;flex-shrink:0}.block-editor-line-height-control{margin-bottom:24px}.block-editor-line-height-control input{display:block;max-width:60px}.block-editor-image-size-control{margin-bottom:1em}.block-editor-image-size-control .block-editor-image-size-control__row{display:flex;justify-content:space-between}.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height,.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width{margin-bottom:.5em}.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height input,.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width input{line-height:1.25}.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width{margin-left:5px}.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height{margin-right:5px}.block-editor-block-list__layout.has-overlay:after{content:"";position:absolute;top:-14px;left:-14px;bottom:-14px;right:-14px;z-index:60}[data-align=full] .has-overlay:after{left:0;right:0}.block-editor-block-types-list__list-item{display:block;width:33.33%;padding:0;margin:0}.components-button.block-editor-block-types-list__item{display:flex;flex-direction:column;width:100%;font-size:13px;color:#1e1e1e;padding:8px;align-items:stretch;justify-content:center;cursor:pointer;background:transparent;word-break:break-word;border-radius:2px;border:1px solid transparent;transition:all .05s ease-in-out;position:relative;height:auto}@media (prefers-reduced-motion:reduce){.components-button.block-editor-block-types-list__item{transition-duration:0s;transition-delay:0s}}.components-button.block-editor-block-types-list__item:disabled{opacity:.6;cursor:default}.components-button.block-editor-block-types-list__item:not(:disabled):hover{border-color:var(--wp-admin-theme-color);color:var(--wp-admin-theme-color)!important}.components-button.block-editor-block-types-list__item:not(:disabled).is-active{color:#fff;background:#1e1e1e;outline:2px solid transparent;outline-offset:-2px}.block-editor-block-types-list__item-icon{padding:12px 20px;border-radius:2px;color:#1e1e1e;transition:all .05s ease-in-out}@media (prefers-reduced-motion:reduce){.block-editor-block-types-list__item-icon{transition-duration:0s;transition-delay:0s}}.block-editor-block-types-list__item-icon .block-editor-block-icon{margin-right:auto;margin-left:auto}.block-editor-block-types-list__item-icon svg{transition:all .15s ease-out}@media (prefers-reduced-motion:reduce){.block-editor-block-types-list__item-icon svg{transition-duration:0s;transition-delay:0s}}.block-editor-block-types-list__list-item[draggable=true] .block-editor-block-types-list__item-icon{cursor:grab}.block-editor-block-types-list__item-title{padding:4px 2px 8px;font-size:12px}.modal-open .block-editor-media-replace-flow__options{display:none}.block-editor-media-replace-flow__options .components-popover__content>div{padding-top:16px}.block-editor-media-replace-flow__indicator{margin-right:4px}.block-editor-media-flow__url-input{border-top:1px solid #1e1e1e;margin-top:12px;margin-left:-12px;margin-right:-12px;padding:12px 24px 0}.block-editor-media-flow__url-input .block-editor-media-replace-flow__image-url-label{top:16px}.block-editor-media-flow__url-input .block-editor-link-control{margin-top:-16px;width:auto}.block-editor-media-flow__url-input .block-editor-link-control .components-base-control .components-base-control__field{margin-bottom:0}.block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__search-item-title{max-width:180px;margin-top:16px}.block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__search-item.is-current{width:auto;padding:0}.block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]{margin:16px 0 0;width:100%}.block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__search-actions{left:4px}.block-editor-media-flow__error{padding:0 20px 20px;max-width:255px}.block-editor-media-flow__error .components-with-notices-ui{max-width:255px}.block-editor-media-flow__error .components-with-notices-ui .components-notice__content{overflow:hidden;word-wrap:break-word}.block-editor-media-flow__error .components-with-notices-ui .components-notice__dismiss{position:absolute;left:10px}.block-editor-media-placeholder__url-input-container .block-editor-media-placeholder__button{margin-bottom:0}.block-editor-media-placeholder__url-input-form{display:flex}.block-editor-media-placeholder__url-input-form input[type=url].block-editor-media-placeholder__url-input-field{width:100%;flex-grow:1;border:none;border-radius:0;margin:2px}@media (min-width:600px){.block-editor-media-placeholder__url-input-form input[type=url].block-editor-media-placeholder__url-input-field{width:300px}}.block-editor-media-placeholder__url-input-submit-button{flex-shrink:1}.block-editor-media-placeholder__button{margin-bottom:.5rem}.block-editor-media-placeholder__cancel-button.is-link{margin:1em;display:block}.block-editor-media-placeholder.is-appender{min-height:0}.block-editor-media-placeholder.is-appender:hover{cursor:pointer;box-shadow:0 0 0 1px var(--wp-admin-theme-color)}.block-editor-multi-selection-inspector__card{display:flex;align-items:flex-start;padding:16px}.block-editor-multi-selection-inspector__card-content{flex-grow:1}.block-editor-multi-selection-inspector__card-title{font-weight:500;margin-bottom:5px}.block-editor-multi-selection-inspector__card-description{font-size:13px}.block-editor-multi-selection-inspector__card .block-editor-block-icon{margin-right:-2px;margin-left:10px;padding:0 3px;width:36px;height:24px}.block-editor-plain-text{box-shadow:none;font-family:inherit;font-size:inherit;color:inherit;line-height:inherit;border:none;padding:0;margin:0;width:100%}.block-editor-responsive-block-control{margin-bottom:28px;border-bottom:1px solid #ccc;padding-bottom:14px}.block-editor-responsive-block-control:last-child{padding-bottom:0;border-bottom:0}.block-editor-responsive-block-control__title{margin:0 -3px .6em 0}.block-editor-responsive-block-control__label{font-weight:600;margin-bottom:.6em;margin-right:-3px}.block-editor-responsive-block-control__inner{margin-right:-1px}.block-editor-responsive-block-control__toggle{margin-right:1px}.block-editor-responsive-block-control .components-base-control__help{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.block-editor-rich-text__editable>p:first-child{margin-top:0}.block-editor-rich-text__editable [data-rich-text-placeholder]{pointer-events:none}.block-editor-rich-text__editable [data-rich-text-placeholder]:after{content:attr(data-rich-text-placeholder);opacity:.62}.block-editor-rich-text__editable:focus{outline:none}.block-editor-rich-text__editable:focus [data-rich-text-format-boundary]{border-radius:2px}figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]:before{opacity:.8}.components-popover.block-editor-rich-text__inline-format-toolbar{z-index:99998}.components-popover.block-editor-rich-text__inline-format-toolbar .components-popover__content{width:auto;min-width:auto;margin-bottom:8px;box-shadow:none;border:1px solid #1e1e1e;border-radius:2px;background-color:#fff}.components-popover.block-editor-rich-text__inline-format-toolbar .components-toolbar,.components-popover.block-editor-rich-text__inline-format-toolbar .components-toolbar-group{border:none}.components-popover.block-editor-rich-text__inline-format-toolbar .components-dropdown-menu__toggle,.components-popover.block-editor-rich-text__inline-format-toolbar .components-toolbar__control{min-width:48px;min-height:48px;padding-right:12px;padding-left:12px}.block-editor-rich-text__inline-format-toolbar-group .components-dropdown-menu__toggle{justify-content:center}.show-icon-labels .block-editor-rich-text__inline-format-toolbar-group .components-button.has-icon{width:auto}.show-icon-labels .block-editor-rich-text__inline-format-toolbar-group .components-button.has-icon svg{display:none}.show-icon-labels .block-editor-rich-text__inline-format-toolbar-group .components-button.has-icon:after{content:attr(aria-label)}.block-editor-skip-to-selected-block{position:absolute;top:-9999em}.block-editor-skip-to-selected-block:focus{height:auto;width:auto;display:block;font-size:14px;font-weight:600;padding:15px 23px 14px;background:#f1f1f1;color:var(--wp-admin-theme-color);line-height:normal;box-shadow:0 0 2px 2px rgba(0,0,0,.6);text-decoration:none;outline:none;z-index:100000}.block-editor-text-decoration-and-transform{display:flex}.block-editor-text-transform-control{flex:0 0 50%}.block-editor-text-transform-control legend{margin-bottom:8px}.block-editor-text-transform-control .block-editor-text-transform-control__buttons{display:inline-flex;margin-bottom:24px}.block-editor-text-transform-control .block-editor-text-transform-control__buttons .components-button.has-icon{min-width:24px;padding:0;margin-left:4px}.block-editor-text-decoration-control{flex:0 0 50%}.block-editor-text-decoration-control legend{margin-bottom:8px}.block-editor-text-decoration-control .block-editor-text-decoration-control__buttons{display:inline-flex;margin-bottom:24px}.block-editor-text-decoration-control .block-editor-text-decoration-control__buttons .components-button.has-icon{min-width:24px;padding:0;margin-left:4px}.block-editor-tool-selector__help{margin:8px -12px -12px;padding:12px 20px;border-top:1px solid #ddd;color:#757575;min-width:280px}.block-editor-block-list__block .block-editor-url-input,.block-editor-url-input,.components-popover .block-editor-url-input{flex-grow:1;position:relative;padding:1px}.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{width:100%;padding:8px 12px 8px 8px;border:none;border-radius:0;margin-right:0;margin-left:0;font-size:16px}@media (min-width:600px){.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{width:300px;font-size:13px}}.block-editor-block-list__block .block-editor-url-input input[type=text]::-ms-clear,.block-editor-url-input input[type=text]::-ms-clear,.components-popover .block-editor-url-input input[type=text]::-ms-clear{display:none}.block-editor-block-list__block .block-editor-url-input.is-full-width,.block-editor-block-list__block .block-editor-url-input.is-full-width .block-editor-url-input__input[type=text],.block-editor-block-list__block .block-editor-url-input.is-full-width__suggestions,.block-editor-url-input.is-full-width,.block-editor-url-input.is-full-width .block-editor-url-input__input[type=text],.block-editor-url-input.is-full-width__suggestions,.components-popover .block-editor-url-input.is-full-width,.components-popover .block-editor-url-input.is-full-width .block-editor-url-input__input[type=text],.components-popover .block-editor-url-input.is-full-width__suggestions{width:100%}.block-editor-block-list__block .block-editor-url-input .components-spinner,.block-editor-url-input .components-spinner,.components-popover .block-editor-url-input .components-spinner{position:absolute;left:8px 8px 8px 12px;bottom:8px 8px 8px 12px8px1;margin:0}.block-editor-url-input__input[type=text]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;padding:6px 8px;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:2px;border:1px solid #757575;font-size:16px;line-height:normal}@media (prefers-reduced-motion:reduce){.block-editor-url-input__input[type=text]{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.block-editor-url-input__input[type=text]{font-size:13px;line-height:normal}}.block-editor-url-input__input[type=text]:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color);outline:2px solid transparent}.block-editor-url-input__input[type=text]::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.block-editor-url-input__input[type=text]::-moz-placeholder{opacity:1;color:rgba(30,30,30,.62)}.block-editor-url-input__input[type=text]:-ms-input-placeholder{color:rgba(30,30,30,.62)}.is-dark-theme .block-editor-url-input__input[type=text]::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .block-editor-url-input__input[type=text]::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .block-editor-url-input__input[type=text]:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}.block-editor-url-input__suggestions{max-height:200px;transition:all .15s ease-in-out;padding:4px 0;width:302px;overflow-y:auto}@media (prefers-reduced-motion:reduce){.block-editor-url-input__suggestions{transition-duration:0s;transition-delay:0s}}.block-editor-url-input .components-spinner,.block-editor-url-input__suggestions{display:none}@media (min-width:600px){.block-editor-url-input .components-spinner,.block-editor-url-input__suggestions{display:inherit}}.block-editor-url-input__suggestion{padding:4px 8px 8px;color:#757575;display:block;font-size:13px;cursor:pointer;background:#fff;width:100%;border:none;text-align:right;box-shadow:none}.block-editor-url-input__suggestion:hover{background:#ddd}.block-editor-url-input__suggestion.is-selected,.block-editor-url-input__suggestion:focus{background:var(--wp-admin-theme-color-darker-20);color:#fff;outline:none}.components-toolbar-group>.block-editor-url-input__button,.components-toolbar>.block-editor-url-input__button{position:inherit}.block-editor-url-input__button .block-editor-url-input__back{margin-left:4px;overflow:visible}.block-editor-url-input__button .block-editor-url-input__back:after{content:"";position:absolute;display:block;width:1px;height:24px;left:-1px;background:#ddd}.block-editor-url-input__button-modal{box-shadow:0 2px 6px rgba(0,0,0,.05);border:1px solid #ddd;background:#fff}.block-editor-url-input__button-modal-line{display:flex;flex-direction:row;flex-grow:1;flex-shrink:1;min-width:0;align-items:flex-start}.block-editor-url-input__button-modal-line .components-button{flex-shrink:0;width:36px;height:36px}.block-editor-url-popover__additional-controls{border-top:1px solid #ddd}.block-editor-url-popover__additional-controls>div[role=menu] .components-button:not(:disabled):not([aria-disabled=true]):not(.is-secondary)>svg{box-shadow:none}.block-editor-url-popover__additional-controls div[role=menu]>.components-button{padding-right:12px}.block-editor-url-popover__row{display:flex}.block-editor-url-popover__row>:not(.block-editor-url-popover__settings-toggle){flex-grow:1}.block-editor-url-popover .components-button.has-icon{padding:3px}.block-editor-url-popover .components-button.has-icon>svg{padding:5px;border-radius:2px;height:30px;width:30px}.block-editor-url-popover .components-button.has-icon:not(:disabled):focus{box-shadow:none}.block-editor-url-popover .components-button.has-icon:not(:disabled):focus>svg{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color),inset 0 0 0 4px #fff;outline:2px solid transparent}.block-editor-url-popover__settings-toggle{flex-shrink:0;border-radius:0;border-right:1px solid #ddd;margin-right:1px}.block-editor-url-popover__settings-toggle[aria-expanded=true] .dashicon{transform:rotate(-180deg)}.block-editor-url-popover__input-container .components-base-control:last-child,.block-editor-url-popover__input-container .components-base-control:last-child .components-base-control__field{margin-bottom:0}.block-editor-url-popover__settings{display:block;padding:16px;border-top:1px solid #ddd}.block-editor-url-popover__link-editor,.block-editor-url-popover__link-viewer{display:flex}.block-editor-url-popover__link-editor .block-editor-url-input .components-base-control__field,.block-editor-url-popover__link-viewer .block-editor-url-input .components-base-control__field{margin-bottom:0}.block-editor-url-popover__link-editor .block-editor-url-input .components-spinner,.block-editor-url-popover__link-viewer .block-editor-url-input .components-spinner{bottom:8px 8px 8px 12px1}.block-editor-url-popover__link-viewer-url{margin:7px;flex-grow:1;flex-shrink:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:150px;max-width:500px}.block-editor-url-popover__link-viewer-url.has-invalid-link{color:#cc1818}.block-editor-warning{align-items:center;display:flex;flex-wrap:wrap;padding:1em;border:1px solid #1e1e1e;border-radius:2px;background-color:#fff}.block-editor-warning,.block-editor-warning .block-editor-warning__message{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.block-editor-warning .block-editor-warning__message{line-height:1.4;font-size:13px;color:#1e1e1e;margin:0}.block-editor-warning p.block-editor-warning__message.block-editor-warning__message{min-height:auto}.block-editor-warning .block-editor-warning__contents{display:flex;flex-direction:row;justify-content:space-between;flex-wrap:wrap;align-items:baseline;width:100%}.block-editor-warning .block-editor-warning__actions{display:flex;margin-top:1em}.block-editor-warning .block-editor-warning__action{margin:0 0 0 8px}.block-editor-warning__secondary{margin:auto 8px auto 0}.components-popover.block-editor-warning__dropdown{z-index:99998}.html-anchor-control .components-external-link{display:block;margin-top:8px}.block-editor-hooks__layout-controls{display:flex;margin-bottom:16px}.block-editor-hooks__layout-controls .block-editor-hooks__layout-controls-unit{display:flex;margin-left:24px}.block-editor-hooks__layout-controls .block-editor-hooks__layout-controls-unit svg{margin:auto 8px 4px 0}.block-editor-hooks__layout-controls-reset{display:flex;justify-content:flex-end;margin-bottom:24px}.block-editor-hooks__layout-controls-helptext{font-size:12px}#end-resizable-editor-section{display:none}.block-editor-block-toolbar{display:flex;flex-grow:1;width:100%;overflow:auto;position:relative;transition:border-color .1s linear,box-shadow .1s linear}@media (prefers-reduced-motion:reduce){.block-editor-block-toolbar{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.block-editor-block-toolbar{overflow:inherit}}.block-editor-block-toolbar .components-toolbar,.block-editor-block-toolbar .components-toolbar-group{background:none;line-height:0;margin-top:-1px;margin-bottom:-1px;border:0;border-left:1px solid #ddd}.block-editor-block-toolbar>:last-child,.block-editor-block-toolbar>:last-child .components-toolbar,.block-editor-block-toolbar>:last-child .components-toolbar-group{border-left:none}.block-editor-block-contextual-toolbar.has-parent:not(.is-fixed){margin-right:56px}.show-icon-labels .block-editor-block-contextual-toolbar.has-parent:not(.is-fixed){margin-right:0}.block-editor-block-parent-selector{position:absolute;top:-1px;right:-57px}.show-icon-labels .block-editor-block-parent-selector{position:relative;right:auto;top:auto;margin-top:-1px;margin-right:-1px;margin-bottom:-1px}.block-editor-block-toolbar__block-controls{height:auto!important;padding:0!important;margin-right:-1px}.block-editor-block-toolbar__block-controls .block-editor-block-switcher .components-dropdown-menu__toggle .block-editor-block-icon,.block-editor-block-toolbar__block-controls .block-editor-block-switcher__no-switcher-icon .block-editor-block-icon{width:24px!important;margin:0!important}.block-editor-block-toolbar__block-controls .block-editor-block-switcher .components-dropdown-menu__toggle:focus:before,.block-editor-block-toolbar__block-controls .block-editor-block-switcher__no-switcher-icon:focus:before{left:4px!important}.block-editor-block-toolbar__block-controls .block-editor-block-mover{margin-right:-6px}.block-editor-block-toolbar .components-toolbar,.block-editor-block-toolbar .components-toolbar-group,.block-editor-rich-text__inline-format-toolbar-group .components-toolbar,.block-editor-rich-text__inline-format-toolbar-group .components-toolbar-group{display:flex;flex-wrap:nowrap}.block-editor-block-toolbar__slot{display:inline-block;line-height:0}@supports (position:sticky){.block-editor-block-toolbar__slot{display:inline-flex}}.show-icon-labels .block-editor-block-toolbar .components-button.has-icon{width:auto}.show-icon-labels .block-editor-block-toolbar .components-button.has-icon svg{display:none}.show-icon-labels .block-editor-block-toolbar .components-button.has-icon:after{content:attr(aria-label);font-size:12px}.show-icon-labels .components-accessible-toolbar .components-toolbar-group>div:first-child:last-child>.components-button.has-icon{padding-right:6px;padding-left:6px}.show-icon-labels .block-editor-block-switcher{border-left:1px solid #1e1e1e}.show-icon-labels .block-editor-block-switcher .components-dropdown-menu__toggle{margin-right:0}.show-icon-labels .block-editor-block-switcher .components-dropdown-menu__toggle .block-editor-block-icon,.show-icon-labels .block-editor-block-switcher__no-switcher-icon .block-editor-block-icon{width:0!important;height:0!important}.show-icon-labels .block-editor-block-switcher .components-dropdown-menu__toggle:focus:before,.show-icon-labels .block-editor-block-switcher__no-switcher-icon:focus:before{left:4px!important}.show-icon-labels .block-editor-block-parent-selector__button .block-editor-block-icon{width:0}.show-icon-labels .block-editor-block-toolbar__block-controls .block-editor-block-mover{margin-right:0;white-space:nowrap}.show-icon-labels .block-editor-block-mover-button{padding-right:8px!important;padding-left:8px!important}.show-icon-labels .block-editor-block-mover__drag-handle.has-icon{padding-right:6px!important;padding-left:6px!important;border-left:1px solid #1e1e1e}@media (min-width:600px){.show-icon-labels .is-up-button.is-up-button.is-up-button{border-bottom:1px solid #1e1e1e;margin-left:0;border-radius:0}}.show-icon-labels .block-editor-block-contextual-toolbar .block-editor-block-mover.is-horizontal .block-editor-block-mover-button.block-editor-block-mover-button{width:auto}.show-icon-labels .components-toolbar,.show-icon-labels .components-toolbar-group{flex-shrink:1}.show-icon-labels .block-editor-rich-text__inline-format-toolbar-group .components-button+.components-button{margin-right:6px}.block-editor-inserter{display:inline-block;background:none;border:none;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:0}@media (min-width:782px){.block-editor-inserter{position:relative}}.block-editor-inserter__popover.is-quick .components-popover__content{border:none}.block-editor-inserter__popover.is-quick .components-popover__content .block-editor-inserter__quick-inserter>*{border-right:1px solid #ccc;border-left:1px solid #ccc}.block-editor-inserter__popover.is-quick .components-popover__content .block-editor-inserter__quick-inserter>:first-child{border-top:1px solid #ccc}.block-editor-inserter__popover.is-quick .components-popover__content .block-editor-inserter__quick-inserter>:last-child{border-bottom:1px solid #ccc}.block-editor-inserter__popover.is-quick .components-popover__content .block-editor-inserter__quick-inserter>.components-button{border:1px solid #1e1e1e}.block-editor-inserter__popover .block-editor-inserter__menu{margin:-12px}.block-editor-inserter__popover .block-editor-inserter__menu .block-editor-inserter__tabs .components-tab-panel__tabs{top:60px}.block-editor-inserter__popover .block-editor-inserter__menu .block-editor-inserter__main-area{overflow:visible;height:auto}.block-editor-inserter__popover .block-editor-inserter__menu .block-editor-inserter__preview-container{display:none}.block-editor-inserter__toggle.components-button{display:inline-flex;align-items:center;cursor:pointer;border:none;outline:none;padding:0;transition:color .2s ease}@media (prefers-reduced-motion:reduce){.block-editor-inserter__toggle.components-button{transition-duration:0s;transition-delay:0s}}.block-editor-inserter__menu{height:100%;position:relative;overflow:visible}.block-editor-inserter__main-area{width:auto;overflow-y:auto;height:100%}@media (min-width:782px){.block-editor-inserter__main-area{width:350px}}.block-editor-inserter__inline-elements{margin-top:-1px}.block-editor-inserter__menu.is-bottom:after{border-bottom-color:#fff}.components-popover.block-editor-inserter__popover{z-index:99999}.block-editor-inserter__search{padding:16px;position:sticky;top:0;background:#fff;z-index:1}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:2px;line-height:normal;display:block;padding:16px 16px 16px 48px;background:#f0f0f0;border:none;width:100%;height:48px;font-size:16px}@media (prefers-reduced-motion:reduce){.block-editor-inserter__search input[type=search].block-editor-inserter__search-input{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.block-editor-inserter__search input[type=search].block-editor-inserter__search-input{font-size:13px;line-height:normal}}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color);outline:2px solid transparent}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-moz-placeholder{opacity:1;color:rgba(30,30,30,.62)}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input:-ms-input-placeholder{color:rgba(30,30,30,.62)}.is-dark-theme .block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .block-editor-inserter__search input[type=search].block-editor-inserter__search-input:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}@media (min-width:600px){.block-editor-inserter__search input[type=search].block-editor-inserter__search-input{font-size:13px}}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input:focus{background:#fff;box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input::placeholder{color:#757575}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-webkit-search-cancel-button,.block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-webkit-search-decoration,.block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-webkit-search-results-button,.block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-webkit-search-results-decoration{-webkit-appearance:none}.block-editor-inserter__search-icon{position:absolute;top:0;left:20px;bottom:0;display:flex;align-items:center}.block-editor-inserter__search-icon>svg{margin:8px}.block-editor-inserter__tabs{display:flex;flex-direction:column;margin-top:-8px}.block-editor-inserter__tabs .components-tab-panel__tabs{position:sticky;top:72px;background:#fff;z-index:1;border-bottom:1px solid #ddd}.block-editor-inserter__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item{flex-grow:1;margin-bottom:-1px}.block-editor-inserter__tabs .components-tab-panel__tab-content{display:flex;flex-grow:1;flex-direction:column;position:relative;z-index:0}.block-editor-inserter__panel-header{display:inline-flex;align-items:center;padding:16px 16px 0}.block-editor-inserter__panel-header-patterns{padding:16px 16px 0}.block-editor-inserter__panel-content{padding:16px}.block-editor-inserter__panel-title,.block-editor-inserter__panel-title button{margin:0 0 0 12px;color:#757575;text-transform:uppercase;font-size:11px;font-weight:500}.block-editor-inserter__panel-dropdown select.components-select-control__input.components-select-control__input.components-select-control__input{line-height:1.2}.block-editor-inserter__panel-dropdown select{border:none}.block-editor-inserter__block-list{flex-grow:1;position:relative}.block-editor-inserter__popover .block-editor-block-types-list{margin:-8px}.block-editor-inserter__reusable-blocks-panel{position:relative;text-align:left}.block-editor-inserter__manage-reusable-blocks{display:inline-block;margin:16px}.block-editor-inserter__no-results{padding:32px;margin-top:64px;text-align:center}.block-editor-inserter__no-results-icon{fill:#949494}.block-editor-inserter__child-blocks{padding:0 16px}.block-editor-inserter__parent-block-header{display:flex;align-items:center}.block-editor-inserter__parent-block-header h2{font-size:13px}.block-editor-inserter__parent-block-header .block-editor-block-icon{margin-left:8px}.block-editor-inserter__preview-container{display:none;width:300px;background:#fff;border-radius:2px;border:1px solid #ddd;position:absolute;top:16px;right:calc(100% + 16px);max-height:calc(100% - 32px);overflow-y:hidden}@media (min-width:782px){.block-editor-inserter__preview-container{display:block}}.block-editor-inserter__preview-container .block-editor-block-card{padding:16px}.block-editor-inserter__preview-container .block-editor-block-card__title{font-size:13px}.block-editor-inserter__preview-content{min-height:144px;background:#f0f0f0;display:grid;flex-grow:1;align-items:center}.block-editor-inserter__preview-content-missing{flex:1;display:flex;justify-content:center;align-items:center;min-height:144px;color:#757575;background:#f0f0f0}.block-editor-inserter__tips{border-top:1px solid #ddd;padding:16px;flex-shrink:0;position:relative}.block-editor-inserter__manage-reusable-blocks-container{padding:16px}.block-editor-inserter__quick-inserter{width:100%;max-width:100%}@media (min-width:782px){.block-editor-inserter__quick-inserter{width:350px}}.block-editor-inserter__quick-inserter-results .block-editor-inserter__panel-header{height:0;padding:0;float:right}.block-editor-inserter__quick-inserter.has-expand .block-editor-inserter__panel-content,.block-editor-inserter__quick-inserter.has-search .block-editor-inserter__panel-content{padding:16px}.block-editor-inserter__quick-inserter-patterns .block-editor-block-patterns-list{display:grid;grid-template-columns:1fr 1fr;grid-gap:8px}.block-editor-inserter__quick-inserter-separator{border-top:1px solid #ddd}.block-editor-inserter__popover.is-quick>.components-popover__content>div{padding:0}.block-editor-inserter__quick-inserter-expand.components-button{display:block;background:#1e1e1e;color:#fff;width:100%;height:44px;border-radius:0}.block-editor-inserter__quick-inserter-expand.components-button:hover{color:#fff}.block-editor-inserter__quick-inserter-expand.components-button:active{color:#ccc}.block-editor-inserter__quick-inserter-expand.components-button:focus:not(:disabled){box-shadow:inset 0 0 0 1.5px var(--wp-admin-theme-color),inset 0 0 0 3px #fff}.block-editor-post-preview__dropdown{padding:0}.block-editor-post-preview__button-resize.block-editor-post-preview__button-resize{padding-right:40px}.block-editor-post-preview__button-resize.block-editor-post-preview__button-resize.has-icon{padding-right:8px}.block-editor-post-preview__dropdown-content .components-popover__content{overflow-y:visible}.block-editor-post-preview__dropdown-content.edit-post-post-preview-dropdown .components-menu-group:first-child{padding-bottom:8px}.block-editor-post-preview__dropdown-content.edit-post-post-preview-dropdown .components-menu-group:last-child{margin-bottom:0}.block-editor-post-preview__dropdown-content .components-menu-group+.components-menu-group{padding:8px}@media (min-width:600px){.edit-post-header__settings .editor-post-preview,.edit-site-header__actions .editor-post-preview{display:none}}@media (min-width:600px){.edit-post-header.has-reduced-ui .edit-post-header__settings .block-editor-post-preview__button-toggle,.edit-post-header.has-reduced-ui .edit-post-header__settings .editor-post-save-draft,.edit-post-header.has-reduced-ui .edit-post-header__settings .editor-post-saved-state{transition:opacity .1s linear}}@media (min-width:600px) and (prefers-reduced-motion:reduce){.edit-post-header.has-reduced-ui .edit-post-header__settings .block-editor-post-preview__button-toggle,.edit-post-header.has-reduced-ui .edit-post-header__settings .editor-post-save-draft,.edit-post-header.has-reduced-ui .edit-post-header__settings .editor-post-saved-state{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.edit-post-header.has-reduced-ui:not(:hover) .edit-post-header__settings .block-editor-post-preview__button-toggle,.edit-post-header.has-reduced-ui:not(:hover) .edit-post-header__settings .editor-post-save-draft,.edit-post-header.has-reduced-ui:not(:hover) .edit-post-header__settings .editor-post-saved-state{opacity:0}.edit-post-header.has-reduced-ui:not(:hover) .edit-post-header__settings .block-editor-post-preview__button-toggle.is-opened{opacity:1}}body.admin-color-light{--wp-admin-theme-color:#0085ba;--wp-admin-theme-color-darker-10:#0073a1;--wp-admin-theme-color-darker-20:#006187;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-light{--wp-admin-border-width-focus:1.5px}}body.admin-color-modern{--wp-admin-theme-color:#3858e9;--wp-admin-theme-color-darker-10:#2145e6;--wp-admin-theme-color-darker-20:#183ad6;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-modern{--wp-admin-border-width-focus:1.5px}}body.admin-color-blue{--wp-admin-theme-color:#096484;--wp-admin-theme-color-darker-10:#07526c;--wp-admin-theme-color-darker-20:#064054;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-blue{--wp-admin-border-width-focus:1.5px}}body.admin-color-coffee{--wp-admin-theme-color:#46403c;--wp-admin-theme-color-darker-10:#383330;--wp-admin-theme-color-darker-20:#2b2724;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-coffee{--wp-admin-border-width-focus:1.5px}}body.admin-color-ectoplasm{--wp-admin-theme-color:#523f6d;--wp-admin-theme-color-darker-10:#46365d;--wp-admin-theme-color-darker-20:#3a2c4d;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-ectoplasm{--wp-admin-border-width-focus:1.5px}}body.admin-color-midnight{--wp-admin-theme-color:#e14d43;--wp-admin-theme-color-darker-10:#dd382d;--wp-admin-theme-color-darker-20:#d02c21;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-midnight{--wp-admin-border-width-focus:1.5px}}body.admin-color-ocean{--wp-admin-theme-color:#627c83;--wp-admin-theme-color-darker-10:#576e74;--wp-admin-theme-color-darker-20:#4c6066;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-ocean{--wp-admin-border-width-focus:1.5px}}body.admin-color-sunrise{--wp-admin-theme-color:#dd823b;--wp-admin-theme-color-darker-10:#d97426;--wp-admin-theme-color-darker-20:#c36922;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-sunrise{--wp-admin-border-width-focus:1.5px}} \ No newline at end of file diff --git a/wp-includes/css/dist/block-editor/style.css b/wp-includes/css/dist/block-editor/style.css index 2c32b959df..bfefd88138 100644 --- a/wp-includes/css/dist/block-editor/style.css +++ b/wp-includes/css/dist/block-editor/style.css @@ -565,6 +565,7 @@ * Block Toolbar when contextual. */ .block-editor-block-contextual-toolbar { + display: inline-flex; border: 1px solid #1e1e1e; border-radius: 2px; background-color: #fff; diff --git a/wp-includes/css/dist/block-editor/style.min.css b/wp-includes/css/dist/block-editor/style.min.css index 415995f983..aec99a6d37 100644 --- a/wp-includes/css/dist/block-editor/style.min.css +++ b/wp-includes/css/dist/block-editor/style.min.css @@ -1 +1 @@ -@charset "UTF-8";:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}#start-resizable-editor-section{display:none}.block-editor-autocompleters__block{white-space:nowrap}.block-editor-autocompleters__block .block-editor-block-icon{margin-right:8px}.block-editor-block-alignment-matrix-control__popover .components-popover__content{min-width:0;width:auto}.block-editor-block-alignment-matrix-control__popover .components-popover__content>div{padding:8px}.block-editor-block-icon{display:flex;align-items:center;justify-content:center;width:24px;height:24px}.block-editor-block-icon.has-colors svg{fill:currentColor}.block-editor-block-icon svg{min-width:20px;min-height:20px;max-width:24px;max-height:24px}.block-editor-block-inspector p{margin-top:0}.block-editor-block-inspector h2,.block-editor-block-inspector h3{font-size:13px;color:#1e1e1e;margin-bottom:1.5em}.block-editor-block-inspector .components-base-control{margin-bottom:24px}.block-editor-block-inspector .components-base-control:last-child{margin-bottom:8px}.block-editor-block-inspector .components-panel__body{border:none;border-top:1px solid #e0e0e0}.block-editor-block-inspector .block-editor-block-card{padding:16px}.block-editor-block-inspector__no-blocks{display:block;font-size:13px;background:#fff;padding:32px 16px;text-align:center}.block-editor-block-styles .block-editor-block-list__block{margin:0}.block-editor-block-list__layout{position:relative}.block-editor-block-list__layout.is-navigate-mode{cursor:default}.block-editor-block-list__layout .block-editor-block-list__block.is-highlighted:after,.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:after,.block-editor-block-list__layout.is-navigate-mode .block-editor-block-list__block.is-hovered:after,.block-editor-block-list__layout.is-navigate-mode .block-editor-block-list__block.is-selected:after{position:absolute;z-index:1;pointer-events:none;content:"";top:1px;bottom:1px;left:1px;right:1px;box-shadow:0 0 0 1px var(--wp-admin-theme-color);border-radius:1px;outline:2px solid transparent}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-highlighted:after,.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:after,.is-dark-theme .block-editor-block-list__layout.is-navigate-mode .block-editor-block-list__block.is-hovered:after,.is-dark-theme .block-editor-block-list__layout.is-navigate-mode .block-editor-block-list__block.is-selected:after{box-shadow:0 0 0 1px #fff}.block-editor-block-list__layout .block-editor-block-list__block.is-highlighted .components-placeholder ::selection,.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .components-placeholder ::selection,.block-editor-block-list__layout.is-navigate-mode .block-editor-block-list__block.is-hovered .components-placeholder ::selection,.block-editor-block-list__layout.is-navigate-mode .block-editor-block-list__block.is-selected .components-placeholder ::selection{background:transparent}.block-editor-block-list__layout.is-navigate-mode .block-editor-block-list__block.is-hovered:not(.is-selected):after{box-shadow:0 0 0 1px #949494}.block-editor-block-list__layout .block-editor-block-list__block.is-highlighted:after,.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:after,.block-editor-block-list__layout .is-block-moving-mode.block-editor-block-list__block.has-child-selected,.block-editor-block-list__layout.is-navigate-mode .block-editor-block-list__block.is-selected:after{box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);outline:var(--wp-admin-border-width-focus) solid transparent}.block-editor-block-list__layout .is-block-moving-mode.block-editor-block-list__block.is-selected:before{content:"";position:absolute;z-index:0;pointer-events:none;transition:border-color .1s linear,border-style .1s linear,box-shadow .1s linear;right:0;left:0;top:-14px;border-radius:2px;border-top:4px solid #ccc}.block-editor-block-list__layout .is-block-moving-mode.block-editor-block-list__block.is-selected:after{content:none}.block-editor-block-list__layout .is-block-moving-mode.can-insert-moving-block.block-editor-block-list__block.is-selected:before{border-color:var(--wp-admin-theme-color)}.is-block-moving-mode.block-editor-block-list__block-selection-button{opacity:0;font-size:1px;height:1px;padding:0}.block-editor-block-list__layout .block-editor-block-list__block{position:relative;overflow-wrap:break-word}.block-editor-block-list__layout .block-editor-block-list__block .reusable-block-edit-panel *{z-index:1}.block-editor-block-list__layout .block-editor-block-list__block .components-placeholder .components-with-notices-ui{margin:-10px 0 12px}.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui{margin:0 0 12px;width:100%}.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui .components-notice{margin-left:0;margin-right:0}.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui .components-notice .components-notice__content{font-size:13px}.block-editor-block-list__layout .block-editor-block-list__block:not([contenteditable]):focus{outline:none}.block-editor-block-list__layout .block-editor-block-list__block:not([contenteditable]):focus:after{position:absolute;z-index:1;pointer-events:none;content:"";top:1px;bottom:1px;left:1px;right:1px;box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);border-radius:1px}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block:not([contenteditable]):focus:after{box-shadow:0 0 0 var(--wp-admin-border-width-focus) #fff}.block-editor-block-list__layout .block-editor-block-list__block:after{content:"";pointer-events:none;position:absolute;top:0;right:0;bottom:0;left:0;border-radius:2px;box-shadow:0 0 0 var(--wp-admin-border-width-focus) transparent}.block-editor-block-list__layout .block-editor-block-list__block.has-warning{min-height:48px}.block-editor-block-list__layout .block-editor-block-list__block.has-warning>*{pointer-events:none;-webkit-user-select:none;user-select:none}.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-warning{pointer-events:all}.block-editor-block-list__layout .block-editor-block-list__block.has-warning:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-radius:2px;background-color:hsla(0,0%,100%,.4)}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-multi-selected:after{background-color:initial}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable>.block-editor-inner-blocks>.block-editor-block-list__layout.has-overlay:after{display:none}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable>.block-editor-inner-blocks>.block-editor-block-list__layout.has-overlay .block-editor-block-list__layout.has-overlay:after{display:block}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable.has-child-selected:after{box-shadow:0 0 0 1px var(--wp-admin-theme-color)}.block-editor-block-list__layout .block-editor-block-list__block[data-clear=true]{float:none}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-default-block-appender .block-editor-inserter{left:auto;right:8px}.is-outline-mode:not(.is-typing) .block-editor-block-list__block.is-hovered{cursor:default}.is-outline-mode:not(.is-typing) .block-editor-block-list__block.is-hovered:after{top:1px;left:1px;right:1px;bottom:1px;box-shadow:0 0 0 1px var(--wp-admin-theme-color);border-radius:1px}.is-outline-mode:not(.is-typing) .block-editor-block-list__block.is-selected{cursor:unset}.is-outline-mode:not(.is-typing) .block-editor-block-list__block.is-selected:after{box-shadow:0 0 0 1px var(--wp-admin-theme-color);top:1px;left:1px;right:1px;bottom:1px;border-radius:1px}.is-outline-mode:not(.is-typing) .block-editor-block-list__block.is-selected:focus:after{box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.is-focus-mode .block-editor-block-list__block:not(.has-child-selected){opacity:.5;transition:opacity .1s linear}@media (prefers-reduced-motion:reduce){.is-focus-mode .block-editor-block-list__block:not(.has-child-selected){transition-duration:0s;transition-delay:0s}}.is-focus-mode .block-editor-block-list__block:not(.has-child-selected) .block-editor-block-list__block,.is-focus-mode .block-editor-block-list__block:not(.has-child-selected).is-multi-selected,.is-focus-mode .block-editor-block-list__block:not(.has-child-selected).is-selected{opacity:1}.is-root-container:not(.is-focus-mode) .block-editor-block-list__block.has-active-entity{opacity:.5;transition:opacity .1s linear}@media (prefers-reduced-motion:reduce){.is-root-container:not(.is-focus-mode) .block-editor-block-list__block.has-active-entity{transition-duration:0s;transition-delay:0s}}.is-root-container:not(.is-focus-mode) .block-editor-block-list__block.has-active-entity.has-child-selected,.is-root-container:not(.is-focus-mode) .block-editor-block-list__block.has-active-entity.is-active-entity,.is-root-container:not(.is-focus-mode) .block-editor-block-list__block.has-active-entity.is-active-entity .block-editor-block-list__block,.is-root-container:not(.is-focus-mode) .block-editor-block-list__block.has-active-entity .is-active-entity .block-editor-block-list__block,.is-root-container:not(.is-focus-mode) .block-editor-block-list__block.has-active-entity:not(.has-child-selected) .block-editor-block-list__block{opacity:1}.wp-block[data-align=left]>*,.wp-block[data-align=right]>*{z-index:21}.block-editor-block-list .block-editor-inserter{margin:8px;cursor:move;cursor:grab}@keyframes block-editor-inserter__toggle__fade-in-animation{0%{opacity:0}to{opacity:1}}.wp-block .block-list-appender .block-editor-inserter__toggle{animation:block-editor-inserter__toggle__fade-in-animation .1s ease;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.wp-block .block-list-appender .block-editor-inserter__toggle{animation-duration:1ms;animation-delay:0s}}.block-editor-block-list__block:not(.is-selected):not(.has-child-selected) .block-editor-default-block-appender{display:none}.block-editor-block-list__block:not(.is-selected):not(.has-child-selected) .block-editor-default-block-appender .block-editor-inserter__toggle{opacity:0;transform:scale(0)}.block-editor-block-list__block .block-editor-block-list__block-html-textarea{display:block;margin:0;padding:12px;width:100%;border:none;outline:none;border-radius:2px;box-shadow:inset 0 0 0 1px #1e1e1e;resize:none;overflow:hidden;font-family:Menlo,Consolas,monaco,monospace;font-size:15px;line-height:1.5;transition:padding .2s linear}@media (prefers-reduced-motion:reduce){.block-editor-block-list__block .block-editor-block-list__block-html-textarea{transition-duration:0s;transition-delay:0s}}.block-editor-block-list__block .block-editor-block-list__block-html-textarea:focus{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.block-editor-block-list__block .block-editor-warning{z-index:5;position:relative}.block-editor-block-list__block .block-editor-warning.block-editor-block-list__block-crash-warning{margin-bottom:auto}.block-editor-block-list__insertion-point{position:absolute}.block-editor-block-list__insertion-point-indicator{position:absolute;background:var(--wp-admin-theme-color);animation:block-editor-inserter__toggle__fade-in-animation-delayed .3s ease;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-block-list__insertion-point-indicator{animation-duration:1ms;animation-delay:0s}}.block-editor-block-list__insertion-point.is-vertical>.block-editor-block-list__insertion-point-indicator{top:50%;right:0;left:0;height:1px}.block-editor-block-list__insertion-point.is-horizontal>.block-editor-block-list__insertion-point-indicator{top:0;right:0;left:50%;height:100%;width:1px}.block-editor-block-list__insertion-point-inserter{display:none;position:absolute;justify-content:center;top:calc(50% - 12px);left:calc(50% - 12px)}@media (min-width:480px){.block-editor-block-list__insertion-point-inserter{display:flex}}.block-editor-block-list__block-popover-inserter{position:absolute;top:-9999em;margin-bottom:14px}.block-editor-block-list__block-popover-inserter.is-visible{position:static}.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle.components-button.has-icon,.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle.components-button.has-icon,.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button.has-icon,.block-editor-default-block-appender .block-editor-inserter__toggle.components-button.has-icon{background:#1e1e1e;border-radius:2px;color:#fff;padding:0;min-width:24px;height:24px}.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle.components-button.has-icon:hover,.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle.components-button.has-icon:hover,.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button.has-icon:hover,.block-editor-default-block-appender .block-editor-inserter__toggle.components-button.has-icon:hover{color:#fff;background:var(--wp-admin-theme-color)}.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button.has-icon{background:var(--wp-admin-theme-color)}.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button.has-icon:hover{background:#1e1e1e}.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle.components-button,.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button{animation:block-editor-inserter__toggle__fade-in-animation-delayed .3s ease;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle.components-button,.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button{animation-duration:1ms;animation-delay:0s}}@keyframes block-editor-inserter__toggle__fade-in-animation-delayed{0%{opacity:0}60%{opacity:0}to{opacity:1}}.block-editor-block-contextual-toolbar{border:1px solid #1e1e1e;border-radius:2px;background-color:#fff}.block-editor-block-contextual-toolbar .block-editor-block-toolbar .components-toolbar,.block-editor-block-contextual-toolbar .block-editor-block-toolbar .components-toolbar-group{border-right-color:#1e1e1e}.block-editor-block-contextual-toolbar.is-fixed{position:sticky;top:0;width:100%;z-index:31;min-height:48px;display:block;border:none;border-bottom:1px solid #e0e0e0;border-radius:0}.block-editor-block-contextual-toolbar.is-fixed .block-editor-block-toolbar .components-toolbar,.block-editor-block-contextual-toolbar.is-fixed .block-editor-block-toolbar .components-toolbar-group{border-right-color:#e0e0e0}.block-editor-block-contextual-toolbar .block-editor-block-mover-button{overflow:hidden}.block-editor-block-contextual-toolbar .block-editor-block-mover.is-horizontal .block-editor-block-mover-button.block-editor-block-mover-button{min-width:24px;width:24px}.block-editor-block-contextual-toolbar .block-editor-block-mover.is-horizontal .block-editor-block-mover-button.block-editor-block-mover-button svg{min-width:24px}.block-editor-block-contextual-toolbar .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover-button:focus:before{left:0!important;min-width:0;width:100%}@media (min-width:600px){.block-editor-block-contextual-toolbar .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover-button.is-up-button svg{top:5px}.block-editor-block-contextual-toolbar .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover-button.is-down-button svg{bottom:5px}}.block-editor-block-list__block-selection-button{display:inline-flex;padding:0 13px;z-index:22;border-radius:2px;background-color:#1e1e1e;font-size:13px;height:48px}.block-editor-block-list__block-selection-button .block-editor-block-list__block-selection-button__content{margin:auto;display:inline-flex;align-items:center}.block-editor-block-list__block-selection-button .block-editor-block-list__block-selection-button__content>.components-flex__item{margin-right:6px}.block-editor-block-list__block-selection-button .components-button.has-icon.block-selection-button_drag-handle{cursor:grab;padding:0;height:24px;min-width:24px}.block-editor-block-list__block-selection-button .components-button.has-icon.block-selection-button_drag-handle svg{min-width:18px;min-height:18px}.block-editor-block-list__block-selection-button .block-editor-block-icon{font-size:13px;color:#fff;height:48px}.block-editor-block-list__block-selection-button .components-button{min-width:36px;color:#fff;height:48px;display:flex}.block-editor-block-list__block-selection-button .components-button:focus{box-shadow:none;border:none}.block-editor-block-list__block-selection-button .components-button:active{color:#fff}.block-editor-block-list__block-selection-button .block-selection-button_select-button.components-button{padding:0}.block-editor-block-list__insertion-point-popover.is-without-arrow{z-index:28;position:absolute;pointer-events:none}.block-editor-block-list__insertion-point-popover.is-without-arrow *{pointer-events:none}.block-editor-block-list__insertion-point-popover.is-without-arrow .is-with-inserter,.block-editor-block-list__insertion-point-popover.is-without-arrow .is-with-inserter *{pointer-events:all}.block-editor-block-list__insertion-point-popover.is-without-arrow .components-popover__content.components-popover__content{background:none;border:none;box-shadow:none;overflow-y:visible;margin-left:0}@keyframes hide-during-dragging{to{position:fixed;transform:translate(9999px,9999px)}}.components-popover.block-editor-block-list__block-popover{z-index:31;position:absolute}.components-popover.block-editor-block-list__block-popover .components-popover__content{margin:0!important;min-width:auto;width:max-content;background:none;border:none;box-shadow:none;overflow-y:visible;pointer-events:none}.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-contextual-toolbar,.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-list__block-selection-button,.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-list__empty-block-inserter{pointer-events:all}.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-contextual-toolbar,.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-list__block-selection-button{margin-top:12px;margin-bottom:12px}.is-dragging-components-draggable .components-popover.block-editor-block-list__block-popover{opacity:0;animation:hide-during-dragging 1ms linear forwards}.is-dragging-components-draggable .components-tooltip{display:none}.block-editor-block-list__block .block-list-appender{align-self:center;padding:0;list-style:none;margin:0 auto 0 8px}.block-editor-block-list__block .block-list-appender.wp-block{max-width:none}.block-editor-block-list__block .block-list-appender:first-child{margin-left:0}.block-editor-block-list__block .block-list-appender .block-editor-default-block-appender{margin:8px 0}.block-editor-block-list__block .block-list-appender .block-list-appender__toggle{padding:0;opacity:1;transform:scale(1);transition:all .1s ease}@media (prefers-reduced-motion:reduce){.block-editor-block-list__block .block-list-appender .block-list-appender__toggle{transition-duration:0s;transition-delay:0s}}.is-vertical .block-list-appender{width:24px;margin-right:auto;margin-top:12px;margin-left:12px}.block-list-appender>.block-editor-inserter{display:block}.block-editor-block-list__block:not(.is-selected):not(.has-child-selected):not(.block-editor-block-list__layout) .block-editor-block-list__layout>.block-list-appender .block-list-appender__toggle{opacity:0;transform:scale(0)}.block-editor-block-breadcrumb{list-style:none;padding:0;margin:0}.block-editor-block-breadcrumb li{display:inline-block;margin:0}.block-editor-block-breadcrumb li:not(:last-child):after{content:"→"}.block-editor-block-breadcrumb__button.components-button{height:24px;line-height:24px;padding:0;position:relative}.block-editor-block-breadcrumb__button.components-button:hover:not(:disabled){text-decoration:underline;box-shadow:none}.block-editor-block-breadcrumb__button.components-button:focus{box-shadow:none}.block-editor-block-breadcrumb__button.components-button:focus:before{content:"";display:block;position:absolute;border-radius:2px;top:1px;right:1px;bottom:1px;left:1px;box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.block-editor-block-breadcrumb__current{cursor:default}.block-editor-block-breadcrumb__button.components-button,.block-editor-block-breadcrumb__current{color:#1e1e1e;padding:0 8px;font-size:inherit}.block-editor-block-card{display:flex;align-items:flex-start}.block-editor-block-card__content{flex-grow:1;margin-bottom:4px}.block-editor-block-card__title{font-weight:500}.block-editor-block-card__title.block-editor-block-card__title{line-height:24px;margin:0 0 4px}.block-editor-block-card__description{font-size:13px}.block-editor-block-card .block-editor-block-icon{flex:0 0 24px;margin-left:0;margin-right:12px;width:24px;height:24px}.block-editor-block-compare{overflow:auto;height:auto}@media (min-width:600px){.block-editor-block-compare{max-height:70%}}.block-editor-block-compare__wrapper{display:flex;padding-bottom:16px}.block-editor-block-compare__wrapper>div{display:flex;justify-content:space-between;flex-direction:column;width:50%;padding:0 16px 0 0;min-width:200px}.block-editor-block-compare__wrapper>div button{float:right}.block-editor-block-compare__wrapper .block-editor-block-compare__converted{border-left:1px solid #ddd;padding-left:15px;padding-right:0}.block-editor-block-compare__wrapper .block-editor-block-compare__html{font-family:Menlo,Consolas,monaco,monospace;font-size:12px;color:#1e1e1e;border-bottom:1px solid #ddd;padding-bottom:15px;line-height:1.7}.block-editor-block-compare__wrapper .block-editor-block-compare__html span{background-color:#e6ffed;padding-top:3px;padding-bottom:3px}.block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__added{background-color:#acf2bd}.block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__removed{background-color:#cc1818}.block-editor-block-compare__wrapper .block-editor-block-compare__preview{padding:16px 0 0}.block-editor-block-compare__wrapper .block-editor-block-compare__preview p{font-size:12px;margin-top:0}.block-editor-block-compare__wrapper .block-editor-block-compare__action{margin-top:16px}.block-editor-block-compare__wrapper .block-editor-block-compare__heading{font-size:1em;font-weight:400;margin:.67em 0}.block-editor-block-draggable-chip-wrapper{position:absolute;top:-24px;left:0}.block-editor-block-draggable-chip{background-color:#1e1e1e;border-radius:2px;box-shadow:0 6px 8px rgba(0,0,0,.3);color:#fff;cursor:grabbing;display:inline-flex;height:48px;padding:0 13px;-webkit-user-select:none;user-select:none}.block-editor-block-draggable-chip svg{fill:currentColor}.block-editor-block-draggable-chip .block-editor-block-draggable-chip__content{margin:auto;justify-content:flex-start}.block-editor-block-draggable-chip .block-editor-block-draggable-chip__content>.components-flex__item{margin-right:6px}.block-editor-block-draggable-chip .block-editor-block-draggable-chip__content>.components-flex__item:last-child{margin-right:0}.block-editor-block-draggable-chip .block-editor-block-draggable-chip__content .block-editor-block-icon svg{min-width:18px;min-height:18px}.block-editor-block-draggable-chip .components-flex__item{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.is-dragging{display:none!important}.block-editor-block-mobile-toolbar{display:flex;flex-direction:row;border-right:1px solid #ddd}.block-editor-block-mobile-toolbar .block-editor-block-mover-button{width:36px;height:36px;border-radius:2px;padding:3px;margin:0;justify-content:center;align-items:center}.block-editor-block-mobile-toolbar .block-editor-block-mover-button .dashicon{margin:auto}.block-editor-block-mobile-toolbar .block-editor-block-mover{display:flex;margin-right:auto}.block-editor-block-mobile-toolbar .block-editor-block-mover .block-editor-block-mover-button{float:left}.block-editor-block-mover-button__description{display:none}.block-editor-block-mover-button.has-icon{padding:0}.block-editor-block-mover{display:inline-flex;flex-direction:row}.block-editor-block-mover .block-editor-block-mover__move-button-container,.block-editor-block-mover .components-toolbar{flex:1;flex-direction:row;border-right:none!important}@media (min-width:600px){.block-editor-block-mover .block-editor-block-mover__move-button-container,.block-editor-block-mover .components-toolbar{flex-direction:column}}.block-editor-block-mover.is-horizontal .block-editor-block-mover__move-button-container,.block-editor-block-mover.is-horizontal .components-toolbar{flex-direction:row}.block-editor-block-mover .block-editor-block-mover-button.block-editor-block-mover-button{padding-right:0;padding-left:0;min-width:36px}@media (min-width:600px){.block-editor-block-mover .block-editor-block-mover-button{height:24px;width:42px;padding-right:11px!important;padding-left:6px!important}.block-editor-block-mover .block-editor-block-mover-button.block-editor-block-mover-button{min-width:42px}}@media (min-width:600px){.block-editor-block-mover .block-editor-block-mover-button:before{left:8px!important;right:8px!important}}.block-editor-block-mover .block-editor-block-mover__drag-handle{width:24px;cursor:grab;min-width:24px!important;padding:0!important}.block-editor-block-mover .block-editor-block-mover__drag-handle:focus:before{left:0!important;right:0!important}@media (min-width:600px){.block-editor-block-mover .components-toolbar-group .block-editor-block-mover-button,.block-editor-block-mover .components-toolbar .block-editor-block-mover-button{margin:0 auto 0 0}.block-editor-block-mover .components-toolbar-group .block-editor-block-mover-button.is-up-button:before,.block-editor-block-mover .components-toolbar .block-editor-block-mover-button.is-up-button:before{bottom:0;height:calc(100% - 1px)}.block-editor-block-mover .components-toolbar-group .block-editor-block-mover-button.is-down-button:before,.block-editor-block-mover .components-toolbar .block-editor-block-mover-button.is-down-button:before{top:0;height:calc(100% - 1px)}}.block-editor-block-mover.is-horizontal .block-editor-block-mover-button.has-icon{height:48px;width:24px;padding-left:0;padding-right:0}.block-editor-block-mover.is-horizontal .block-editor-block-mover-button.has-icon:before{top:1px;bottom:1px;min-width:0;width:auto;height:auto}.block-editor-block-mover.is-horizontal .block-editor-block-mover-button.is-up-button.has-icon svg{margin-left:0;margin-right:-8px;margin-bottom:0}.block-editor-block-mover.is-horizontal .block-editor-block-mover-button.is-up-button.has-icon:before{left:0!important;right:0!important}.block-editor-block-mover.is-horizontal .block-editor-block-mover-button.is-down-button.has-icon svg{margin-left:-8px;margin-right:0;margin-top:0}.block-editor-block-mover.is-horizontal .block-editor-block-mover-button.is-down-button.has-icon:before{left:0!important;right:0!important;width:calc(100% + 1px)}.block-editor-block-navigation__label{margin:0 0 12px;color:#757575;text-transform:uppercase;font-size:11px;font-weight:500}.block-editor-block-navigation__container{min-width:280px}.block-editor-block-navigation-tree{width:100%;border-collapse:collapse;padding:0;margin:0}.components-modal__content .block-editor-block-navigation-tree{margin:-12px -6px 0;width:calc(100% + 12px)}.block-editor-block-navigation-leaf{position:relative}.block-editor-block-navigation-leaf.is-selected .block-editor-block-navigation-block-contents{background:var(--wp-admin-theme-color);color:#fff}.block-editor-block-navigation-leaf.is-selected .block-editor-block-navigation-block-contents:focus{box-shadow:inset 0 0 0 1px #fff,0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.block-editor-block-navigation-leaf.is-branch-selected.is-selected .block-editor-block-navigation-block-contents{border-radius:2px 2px 0 0}.block-editor-block-navigation-leaf.is-branch-selected:not(.is-selected) .block-editor-block-navigation-block-contents{background:linear-gradient(hsla(0,0%,100%,.9),hsla(0,0%,100%,.9)),linear-gradient(var(--wp-admin-theme-color),var(--wp-admin-theme-color));border-radius:0}.block-editor-block-navigation-leaf.is-branch-selected.is-last-of-selected-branch .block-editor-block-navigation-block-contents{border-radius:0 0 2px 2px}.block-editor-block-navigation-leaf.is-dragging{display:none}.block-editor-block-navigation-leaf .block-editor-block-navigation-block-contents{display:flex;align-items:center;width:100%;height:auto;padding:6px 12px;text-align:left;color:#1e1e1e;border-radius:2px;position:relative;white-space:nowrap}.block-editor-block-navigation-leaf .block-editor-block-navigation-block-contents:focus,.block-editor-block-navigation-leaf .block-editor-block-navigation-block-contents:hover{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.block-editor-block-navigation-leaf .block-editor-block-navigation-block-contents:focus{z-index:1}.block-editor-block-navigation-leaf .block-editor-block-navigation-block-contents.is-dropping-before:before{content:"";position:absolute;pointer-events:none;transition:border-color .1s linear,border-style .1s linear,box-shadow .1s linear;top:-2px;right:0;left:0;border-top:4px solid var(--wp-admin-theme-color)}.block-editor-block-navigation-leaf .block-editor-block-navigation-block-contents.is-dropping-after:before{content:"";position:absolute;pointer-events:none;transition:border-color .1s linear,border-style .1s linear,box-shadow .1s linear;bottom:-2px;right:0;left:0;border-bottom:4px solid var(--wp-admin-theme-color)}.block-editor-block-navigation-leaf .block-editor-block-navigation-block-contents.is-dropping-to-inner-blocks:before{content:"";position:absolute;pointer-events:none;transition:border-color .1s linear,border-style .1s linear,box-shadow .1s linear;bottom:-2px;right:0;left:24px;border-bottom:4px solid var(--wp-admin-theme-color)}.components-modal__content .block-editor-block-navigation-leaf .block-editor-block-navigation-block-contents{padding-left:0;padding-right:0}.block-editor-block-navigation-leaf.is-visible .block-editor-block-navigation-block-contents{opacity:1;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-block-navigation-leaf.is-visible .block-editor-block-navigation-block-contents{animation-duration:1ms;animation-delay:0s}}.block-editor-block-navigation-leaf .block-editor-block-icon{align-self:flex-start;margin-right:10px;width:20px}.block-editor-block-navigation-leaf .block-editor-block-navigation-block__contents-cell,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell{padding-top:0;padding-bottom:0}.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell{line-height:0;width:36px;opacity:0;vertical-align:top}@media (prefers-reduced-motion:reduce){.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell{transition-duration:0s;transition-delay:0s}}.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell.is-visible,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell:hover,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell.is-visible,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell:hover{position:relative;z-index:1;opacity:1;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell.is-visible,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell:hover,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell.is-visible,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell:hover{animation-duration:1ms;animation-delay:0s}}.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell .components-button.has-icon,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell .components-button.has-icon{width:24px;min-width:24px;padding:0}.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell{padding-top:8px}.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell-alignment-wrapper{display:flex;height:100%;flex-direction:column;align-items:center}.block-editor-block-navigation-leaf .block-editor-block-mover-button{position:relative;width:36px;height:24px}.block-editor-block-navigation-leaf .block-editor-block-mover-button svg{position:relative;height:24px}.block-editor-block-navigation-leaf .block-editor-block-mover-button.is-up-button{margin-top:-6px;align-items:flex-end}.block-editor-block-navigation-leaf .block-editor-block-mover-button.is-up-button svg{bottom:-4px}.block-editor-block-navigation-leaf .block-editor-block-mover-button.is-down-button{margin-bottom:-6px;align-items:flex-start}.block-editor-block-navigation-leaf .block-editor-block-mover-button.is-down-button svg{top:-4px}.block-editor-block-navigation-leaf .block-editor-block-mover-button:focus,.block-editor-block-navigation-leaf .block-editor-block-mover-button:focus:enabled{box-shadow:none;outline:none}.block-editor-block-navigation-leaf .block-editor-block-mover-button:focus:before{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color),inset 0 0 0 4px #fff;outline:2px solid transparent}.block-editor-block-navigation-leaf .block-editor-block-mover-button:before{content:"";position:absolute;display:block;border-radius:2px;height:16px;min-width:100%;left:0;right:0;animation:components-button__appear-animation .1s ease;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-block-navigation-leaf .block-editor-block-mover-button:before{animation-duration:1ms;animation-delay:0s}}.block-editor-block-navigation-leaf .block-editor-inserter__toggle{background:#1e1e1e;color:#fff;height:24px;margin:6px 6px 6px 1px;min-width:24px}.block-editor-block-navigation-leaf .block-editor-inserter__toggle:active{color:#fff}.block-editor-block-navigation-leaf .block-editor-block-navigation-block-select-button__anchor{background:rgba(0,0,0,.1);border-radius:2px;display:inline-block;padding:2px 6px;margin:0 8px;max-width:120px;overflow:hidden;text-overflow:ellipsis}.block-editor-block-navigation-leaf.is-selected .block-editor-block-navigation-block-select-button__anchor{background:rgba(0,0,0,.3)}.block-editor-block-navigation-appender__description,.block-editor-block-navigation-block-select-button__description,.block-editor-block-navigation-block-slot__description{display:none}.block-editor-block-navigation-appender__cell .block-editor-block-navigation-appender__container,.block-editor-block-navigation-appender__cell .block-editor-block-navigation-block__contents-container,.block-editor-block-navigation-block__contents-cell .block-editor-block-navigation-appender__container,.block-editor-block-navigation-block__contents-cell .block-editor-block-navigation-block__contents-container{display:flex}.block-editor-block-navigation-leaf[aria-level] .block-editor-block-icon{margin-left:224px}.block-editor-block-navigation-leaf[aria-level="1"] .block-editor-block-icon{margin-left:0}.block-editor-block-navigation-leaf[aria-level="2"] .block-editor-block-icon{margin-left:28px}.block-editor-block-navigation-leaf[aria-level="3"] .block-editor-block-icon{margin-left:56px}.block-editor-block-navigation-leaf[aria-level="4"] .block-editor-block-icon{margin-left:84px}.block-editor-block-navigation-leaf[aria-level="5"] .block-editor-block-icon{margin-left:112px}.block-editor-block-navigation-leaf[aria-level="6"] .block-editor-block-icon{margin-left:140px}.block-editor-block-navigation-leaf[aria-level="7"] .block-editor-block-icon{margin-left:168px}.block-editor-block-navigation-leaf[aria-level="8"] .block-editor-block-icon{margin-left:196px}.block-editor-block-navigation-leaf[aria-level="9"] .block-editor-block-icon{margin-left:224px}.block-editor-block-parent-selector{background:#fff;border-radius:2px}.block-editor-block-parent-selector .block-editor-block-parent-selector__button{width:48px;height:48px;border:1px solid #1e1e1e;border-radius:2px}.block-editor-block-patterns-list__list-item{cursor:pointer;margin-top:16px}.block-editor-block-patterns-list__list-item.is-placeholder{min-height:100px}.block-editor-block-patterns-list__list-item[draggable=true] .block-editor-block-preview__container{cursor:grab}.block-editor-block-patterns-list__item{height:100%;border-radius:2px;transition:all .05s ease-in-out;position:relative;border:1px solid transparent}.block-editor-block-patterns-list__item:hover{border:1px solid var(--wp-admin-theme-color)}.block-editor-block-patterns-list__item:focus{box-shadow:inset 0 0 0 1px #fff,0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);outline:2px solid transparent}.block-editor-block-patterns-list__item-title{padding:4px;font-size:12px;text-align:center}.block-editor-block-preview__container{position:relative;width:100%;overflow:hidden}.block-editor-block-preview__container.editor-styles-wrapper{padding:0;margin:0}.block-editor-block-preview__container .block-editor-block-preview__content{position:absolute;top:0;left:0;transform-origin:top left;text-align:initial;margin:0;overflow:visible;min-height:auto}.block-editor-block-preview__container .block-editor-block-preview__content .block-editor-block-drop-zone,.block-editor-block-preview__container .block-editor-block-preview__content .block-editor-block-list__insertion-point,.block-editor-block-preview__container .block-editor-block-preview__content .block-list-appender,.block-editor-block-preview__container .block-editor-block-preview__content .reusable-block-indicator{display:none}.block-editor-block-preview__container .block-editor-block-preview__content .block-editor-block-list__layout.is-root-container{padding-left:0;padding-right:0}.block-editor-block-preview__container .block-editor-block-preview__content .block-editor-block-list__layout.is-root-container>.wp-block[data-align=full]{margin-left:0;margin-right:0}.block-editor-block-settings-menu__popover .components-dropdown-menu__menu{padding:0}.block-editor-block-styles{display:flex;flex-wrap:wrap;justify-content:space-between}.block-editor-block-styles__item{width:calc(50% - 4px);margin:4px 0;flex-shrink:0;cursor:pointer;overflow:hidden;border-radius:2px;padding:6px;display:flex;flex-direction:column}.block-editor-block-styles__item:focus{box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);outline:2px solid transparent}.block-editor-block-styles__item:hover .block-editor-block-styles__item-preview{border-color:var(--wp-admin-theme-color)}.block-editor-block-styles__item.is-active .block-editor-block-styles__item-label{font-weight:700}.block-editor-block-styles__item.is-active .block-editor-block-styles__item-preview{margin:0;border:2px solid #1e1e1e}.block-editor-block-styles__item .block-editor-block-preview__container{cursor:inherit}.block-editor-block-styles__item-preview{outline:1px solid transparent;padding:0;margin:2px;border-radius:2px;display:flex;overflow:hidden;background:#fff;align-items:center;flex-grow:1;min-height:80px;max-height:160px}.block-editor-block-switcher__styles__menugroup{position:relative}.block-editor-block-styles__item-label{text-align:center;padding:4px 0}.block-editor-block-switcher,.block-editor-block-switcher__no-switcher-icon,.block-editor-block-switcher__toggle{position:relative}.components-button.block-editor-block-switcher__no-switcher-icon,.components-button.block-editor-block-switcher__toggle{margin:0;display:block;height:48px}.components-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-icon,.components-button.block-editor-block-switcher__toggle .block-editor-block-icon{margin:auto}.block-editor-block-switcher__toggle-text{margin-left:8px}.show-icon-labels .block-editor-block-switcher__toggle-text{display:none}.show-icon-labels .block-editor-block-toolbar .block-editor-block-switcher .components-button.has-icon:after{font-size:14px}.block-editor-block-switcher__popover{margin-left:6px}.components-button.block-editor-block-switcher__no-switcher-icon{width:48px}.components-button.block-editor-block-switcher__no-switcher-icon .block-editor-blocks-icon{margin-right:auto;margin-left:auto}.components-button.block-editor-block-switcher__no-switcher-icon:disabled{opacity:1}.components-button.block-editor-block-switcher__no-switcher-icon:disabled,.components-button.block-editor-block-switcher__no-switcher-icon:disabled .block-editor-block-icon.has-colors{color:#1e1e1e}.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon .block-editor-block-icon,.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__toggle.has-icon.has-icon .block-editor-block-icon,.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon .block-editor-block-icon,.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__toggle.has-icon.has-icon .block-editor-block-icon{height:100%;position:relative;margin:0 auto;display:flex;align-items:center;min-width:100%}.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon:before,.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__toggle.has-icon.has-icon:before,.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon:before,.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__toggle.has-icon.has-icon:before{top:8px;right:8px;bottom:8px;left:8px}.components-popover.block-editor-block-switcher__popover .components-popover__content{min-width:300px}.components-popover.block-editor-block-switcher__popover .components-popover__content>div{min-width:auto;display:flex;background:#fff;padding:0}.components-popover.block-editor-block-switcher__popover .components-popover__content>div .components-menu-group{margin:0}.block-editor-block-switcher__popover .components-popover__content .block-editor-block-styles{margin:0 -3px}.block-editor-block-switcher__popover .components-popover__content .components-panel__body{border:0;position:relative;z-index:1}.block-editor-block-switcher__popover .components-popover__content .components-panel__body+.components-panel__body{border-top:1px solid #e0e0e0}.block-editor-block-switcher__popover__preview__parent .block-editor-block-switcher__popover__preview__container{position:absolute;top:-12px;left:calc(100% + 32px)}.block-editor-block-switcher__preview__popover{display:none}.block-editor-block-switcher__preview__popover.components-popover{margin-left:4px;margin-top:11px}@media (min-width:782px){.block-editor-block-switcher__preview__popover{display:block}}.block-editor-block-switcher__preview__popover .components-popover__content{box-shadow:none;border:1px solid #1e1e1e;background:#fff;border-radius:2px}.block-editor-block-switcher__preview__popover .block-editor-block-switcher__preview{width:300px;height:auto;max-height:500px;padding:16px}.block-editor-block-switcher__preview-title{margin-bottom:12px;color:#757575;text-transform:uppercase;font-size:11px;font-weight:500}.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__no-switcher-icon{width:48px}.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__no-switcher-icon,.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__toggle{height:48px}.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-icon,.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-switcher__transform,.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__toggle .block-editor-block-icon,.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{width:48px;height:48px}.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-switcher__transform,.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{padding:12px}.block-editor-block-switcher__preview-patterns-container{padding-bottom:16px}.block-editor-block-switcher__preview-patterns-container .block-editor-block-switcher__preview-patterns-container-list__list-item{margin-top:16px}.block-editor-block-switcher__preview-patterns-container .block-editor-block-switcher__preview-patterns-container-list__list-item .block-editor-block-preview__container{cursor:pointer}.block-editor-block-switcher__preview-patterns-container .block-editor-block-switcher__preview-patterns-container-list__list-item .block-editor-block-switcher__preview-patterns-container-list__item{height:100%;border-radius:2px;transition:all .05s ease-in-out;position:relative;border:1px solid transparent}.block-editor-block-switcher__preview-patterns-container .block-editor-block-switcher__preview-patterns-container-list__list-item .block-editor-block-switcher__preview-patterns-container-list__item:focus,.block-editor-block-switcher__preview-patterns-container .block-editor-block-switcher__preview-patterns-container-list__list-item .block-editor-block-switcher__preview-patterns-container-list__item:hover{box-shadow:inset 0 0 0 1px #fff,0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);outline:2px solid transparent}.block-editor-block-switcher__preview-patterns-container .block-editor-block-switcher__preview-patterns-container-list__list-item .block-editor-block-switcher__preview-patterns-container-list__item:hover{box-shadow:inset 0 0 0 1px #fff,0 0 0 var(--wp-admin-border-width-focus) #1e1e1e}.block-editor-block-switcher__preview-patterns-container .block-editor-block-switcher__preview-patterns-container-list__list-item .block-editor-block-switcher__preview-patterns-container-list__item .block-editor-block-switcher__preview-patterns-container-list__item-title{padding:4px;font-size:12px;text-align:center;cursor:pointer}.block-editor-block-types-list>[role=presentation]{padding:4px;margin-left:-4px;margin-right:-4px;overflow:hidden;display:flex;flex-wrap:wrap}.block-editor-block-variation-picker .components-placeholder__instructions{margin-bottom:0}.block-editor-block-variation-picker .components-placeholder__fieldset{flex-direction:column}.block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset{max-width:90%}.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations{display:flex;justify-content:flex-start;flex-direction:row;flex-wrap:wrap;width:100%;margin:16px 0;padding:0;list-style:none}.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations>li{list-style:none;margin:8px 20px 0 0;flex-shrink:1;width:75px;text-align:center}.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations>li button{display:inline-flex;margin-right:0}.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations .block-editor-block-variation-picker__variation{padding:8px}.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations .block-editor-block-variation-picker__variation-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:12px;display:block;line-height:1.4}.block-editor-block-variation-picker__variation{width:100%}.block-editor-block-variation-picker__variation.components-button.has-icon{justify-content:center;width:auto}.block-editor-block-variation-picker__variation.components-button.has-icon.is-secondary{background-color:#fff}.block-editor-block-variation-picker__variation.components-button{height:auto;padding:0}.block-editor-block-variation-picker__variation:before{content:"";padding-bottom:100%}.block-editor-block-variation-picker__variation:first-child{margin-left:0}.block-editor-block-variation-picker__variation:last-child{margin-right:0}.block-editor-block-pattern-setup{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;width:100%;border-radius:2px;box-shadow:inset 0 0 0 1px #1e1e1e;outline:1px solid transparent}.block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__toolbar{justify-content:center}.block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container{display:grid;grid-template-columns:1fr 1fr;grid-gap:16px;padding:16px;max-height:550px;overflow:auto;margin:0 1px 1px;width:calc(100% - 2px);background:#fff}.block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container .block-editor-block-preview__container,.block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container div[role=button]{cursor:pointer}.block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container .block-editor-block-pattern-setup-list__item-title{padding:4px;font-size:12px;text-align:center}.block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container .block-editor-block-preview__container{border-radius:2px;border:1px solid #ddd}.block-editor-block-pattern-setup .block-editor-block-pattern-setup__toolbar{box-sizing:border-box;position:relative;padding:16px;width:100%;text-align:left;margin:0;color:#1e1e1e;border-radius:2px 2px 0 0;background-color:#fff;box-shadow:inset 0 0 0 1px #1e1e1e;outline:1px solid transparent;display:flex;flex-direction:row;align-items:center;justify-content:space-between}.block-editor-block-pattern-setup .block-editor-block-pattern-setup__toolbar .block-editor-block-pattern-setup__display-controls{display:flex}.block-editor-block-pattern-setup .block-editor-block-pattern-setup__toolbar .block-editor-block-pattern-setup__actions,.block-editor-block-pattern-setup .block-editor-block-pattern-setup__toolbar .block-editor-block-pattern-setup__navigation{width:calc(50% - 36px);display:flex}.block-editor-block-pattern-setup .block-editor-block-pattern-setup__toolbar .block-editor-block-pattern-setup__actions{justify-content:flex-end}.block-editor-block-pattern-setup .block-editor-block-pattern-setup__container{display:flex;flex-direction:column;width:100%;box-sizing:border-box}.block-editor-block-pattern-setup .block-editor-block-pattern-setup__container .carousel-container{overflow:hidden;position:relative;padding:0;margin:0;list-style:none;transform-style:preserve-3d}.block-editor-block-pattern-setup .block-editor-block-pattern-setup__container .carousel-container *{box-sizing:border-box}.block-editor-block-pattern-setup .block-editor-block-pattern-setup__container .carousel-container .pattern-slide{opacity:0;position:absolute;top:0;width:100%;margin:auto;padding:16px;transition:transform .5s,opacity .5s,z-index .5s;z-index:100}.block-editor-block-pattern-setup .block-editor-block-pattern-setup__container .carousel-container .pattern-slide.active-slide{opacity:1;position:relative;z-index:102}.block-editor-block-pattern-setup .block-editor-block-pattern-setup__container .carousel-container .pattern-slide.previous-slide{transform:translateX(-100%);z-index:101}.block-editor-block-pattern-setup .block-editor-block-pattern-setup__container .carousel-container .pattern-slide.next-slide{transform:translateX(100%);z-index:101}.block-editor-block-pattern-setup .block-editor-block-pattern-setup__container .block-list-appender{display:none}.block-editor-block-variation-transforms{padding:0 16px 16px 56px;width:100%}.block-editor-block-variation-transforms .components-dropdown-menu__toggle{border:1px solid #757575;border-radius:2px;min-height:30px;width:100%;position:relative;text-align:left;justify-content:left;padding:6px 12px}.block-editor-block-variation-transforms .components-dropdown-menu__toggle.components-dropdown-menu__toggle{padding-right:24px}.block-editor-block-variation-transforms .components-dropdown-menu__toggle:focus:not(:disabled){border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 calc(var(--wp-admin-border-width-focus) - 1px) var(--wp-admin-theme-color)}.block-editor-block-variation-transforms .components-dropdown-menu__toggle svg{height:100%;padding:0;position:absolute;right:0;top:0}.block-editor-block-variation-transforms__popover .components-popover__content{min-width:230px}.components-border-style-control__select{margin-bottom:24px}.components-border-style-control__select button{width:100%}.components-border-style-control__select ul li,.components-border-style-control__select ul li:last-child{margin:6px}.block-editor-button-block-appender{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:8px;width:100%;height:auto;color:#1e1e1e;box-shadow:inset 0 0 0 1px #1e1e1e}.is-dark-theme .block-editor-button-block-appender{color:hsla(0,0%,100%,.65);box-shadow:inset 0 0 0 1px hsla(0,0%,100%,.65)}.block-editor-button-block-appender:hover{color:var(--wp-admin-theme-color);box-shadow:inset 0 0 0 1px var(--wp-admin-theme-color)}.block-editor-button-block-appender:focus{box-shadow:inset 0 0 0 2px var(--wp-admin-theme-color)}.block-editor-button-block-appender:active{color:#000}.block-editor-button-block-appender.block-list-appender__toggle{display:flex;flex-direction:row;box-shadow:none;height:24px;width:24px}.block-editor-button-block-appender.block-list-appender__toggle>svg{width:24px;background-color:#1e1e1e;color:#fff;border-radius:2px}.block-editor-color-gradient-control .block-editor-color-gradient-control__color-indicator{margin-bottom:12px}.block-editor-color-gradient-control .block-editor-color-gradient-control__button-tabs{display:block;margin-bottom:12px}.block-editor-panel-color-gradient-settings .component-color-indicator{vertical-align:text-bottom}.block-editor-panel-color-gradient-settings__panel-title .component-color-indicator{display:inline-block}.block-editor-panel-color-gradient-settings.is-opened .block-editor-panel-color-gradient-settings__panel-title .component-color-indicator{display:none}@media screen and (min-width:782px){.block-editor-panel-color-gradient-settings .components-circular-option-picker__swatches{margin-right:0}.block-editor-panel-color-gradient-settings .components-circular-option-picker__option-wrapper{margin-right:calc(20% - 33.6px)}.block-editor-panel-color-gradient-settings .components-circular-option-picker__option-wrapper:nth-child(6n+6){margin-right:0}}.block-editor-contrast-checker>.components-notice{margin:0}.block-editor-default-block-appender{clear:both;margin-left:auto;margin-right:auto;position:relative}.block-editor-default-block-appender[data-root-client-id=""] .block-editor-default-block-appender__content:hover{outline:1px solid transparent}.block-editor-default-block-appender .block-editor-default-block-appender__content{opacity:.62}.block-editor-default-block-appender .components-drop-zone__content-icon{display:none}.block-editor-block-list__empty-block-inserter.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter{position:absolute;top:0;height:32px}.block-editor-block-list__empty-block-inserter.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle,.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle{margin-right:0}.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter{right:8px}@media (min-width:600px){.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter{display:flex;height:100%}}.block-editor-block-list__empty-block-inserter:disabled,.block-editor-default-block-appender .block-editor-inserter:disabled{display:none}.block-editor-duotone-control__popover .components-popover__content{border:1px solid #1e1e1e;min-width:214px}.block-editor-duotone-control__popover .components-circular-option-picker{padding:12px}.block-editor-duotone-control__popover .components-menu-group__label{padding:12px 12px 0;width:100%;box-sizing:border-box}.block-editor-duotone-control__popover>.components-popover__content{width:334px}.block-editor-duotone-control__popover:not([data-y-axis=middle][data-x-axis=right])>.components-popover__content{margin-left:-14px}.components-font-appearance-control__select{margin-bottom:24px}.components-font-appearance-control__select ul li{color:#1e1e1e;text-transform:capitalize}.items-justified-left{justify-content:flex-start}.items-justified-center{justify-content:center}.items-justified-right{justify-content:flex-end}.items-justified-space-between{justify-content:space-between}.block-editor-link-control{position:relative;min-width:360px}.components-popover__content .block-editor-link-control{min-width:auto;width:90vw;max-width:360px}.block-editor-link-control__search-input-wrapper{position:relative}.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;font-size:16px;line-height:normal;width:calc(100% - 32px);display:block;padding:11px 36px 11px 16px;margin:16px;position:relative;border:1px solid #ddd;border-radius:2px}@media (prefers-reduced-motion:reduce){.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]{font-size:13px;line-height:normal}}.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color);outline:2px solid transparent}.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]::-moz-placeholder{opacity:1;color:rgba(30,30,30,.62)}.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]:-ms-input-placeholder{color:rgba(30,30,30,.62)}.is-dark-theme .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}.block-editor-link-control .block-editor-link-control__search-input .components-base-control__field{margin-bottom:0}.block-editor-link-control__search-error{margin:-8px 16px 16px}.block-editor-link-control__search-actions{position:absolute;top:19px;right:19px}.components-button .block-editor-link-control__search-submit .has-icon{margin:-1px}.block-editor-link-control__search-results-wrapper{position:relative;margin-top:-15px}.block-editor-link-control__search-results-wrapper:after,.block-editor-link-control__search-results-wrapper:before{content:"";position:absolute;left:-1px;right:16px;display:block;pointer-events:none;z-index:100}.block-editor-link-control__search-results-wrapper:before{height:8px;top:0;bottom:auto}.block-editor-link-control__search-results-wrapper:after{height:16px;bottom:0;top:auto}.block-editor-link-control__search-results-label{padding:16px 32px 0;display:block;font-weight:600}.block-editor-link-control__search-results{margin:0;padding:8px 16px;max-height:200px;overflow-y:auto}.block-editor-link-control__search-results.is-loading{opacity:.2}.block-editor-link-control__search-item{position:relative;display:flex;align-items:center;font-size:13px;cursor:pointer;background:#fff;width:100%;border:none;text-align:left;padding:12px 16px;border-radius:5px;height:auto}.block-editor-link-control__search-item:focus,.block-editor-link-control__search-item:hover{background-color:#ddd}.block-editor-link-control__search-item:focus:not(:disabled){box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color) inset}.block-editor-link-control__search-item.is-selected{background:#f0f0f0}.block-editor-link-control__search-item.is-selected .block-editor-link-control__search-item-type{background:#fff}.block-editor-link-control__search-item.is-current{background:transparent;border:0;width:100%;cursor:default;padding:16px 16px 16px 24px}.block-editor-link-control__search-item .block-editor-link-control__search-item-header{display:block;margin-right:8px;overflow:hidden;white-space:nowrap}.block-editor-link-control__search-item .block-editor-link-control__search-item-icon{margin-right:1em;min-width:24px}.block-editor-link-control__search-item .block-editor-link-control__search-item-info,.block-editor-link-control__search-item .block-editor-link-control__search-item-title{overflow:hidden;text-overflow:ellipsis;padding-right:24px}.block-editor-link-control__search-item .block-editor-link-control__search-item-info .components-external-link__icon,.block-editor-link-control__search-item .block-editor-link-control__search-item-title .components-external-link__icon{position:absolute;right:0;margin-top:0}.block-editor-link-control__search-item .block-editor-link-control__search-item-title{display:block;margin-bottom:.2em;font-weight:500;position:relative}.block-editor-link-control__search-item .block-editor-link-control__search-item-title mark{font-weight:700;color:#000;background-color:initial}.block-editor-link-control__search-item .block-editor-link-control__search-item-title span{font-weight:400}.block-editor-link-control__search-item .block-editor-link-control__search-item-info{display:block;color:#757575;font-size:.9em;line-height:1.3}.block-editor-link-control__search-item .block-editor-link-control__search-item-type{display:block;padding:3px 8px;margin-left:auto;font-size:.9em;background-color:#f0f0f0;border-radius:2px}.block-editor-link-control__loading{margin:16px;display:flex;align-items:center}.block-editor-link-control__loading .components-spinner{margin-top:0}.components-button+.block-editor-link-control__search-create{overflow:visible;padding:12px 16px}.components-button+.block-editor-link-control__search-create:before{content:"";position:absolute;top:-10px;left:0;display:block;width:100%}.block-editor-link-control__search-results div[role=menu]>.block-editor-link-control__search-item.block-editor-link-control__search-item{padding:10px}.block-editor-link-control__settings{border-top:1px solid #ddd;margin:0;padding:16px 24px}.block-editor-link-control__settings :last-child{margin-bottom:0}.is-alternate .block-editor-link-control__settings{border-top:1px solid #1e1e1e}.block-editor-link-control__setting{margin-bottom:16px}.block-editor-link-control__setting :last-child{margin-bottom:0}.block-editor-link-control .block-editor-link-control__search-input .components-spinner{display:block}.block-editor-link-control .block-editor-link-control__search-input .components-spinner.components-spinner{position:absolute;left:auto;bottom:auto;top:28px;right:62px}.block-editor-link-control__search-item-action{margin-left:auto;flex-shrink:0}.block-editor-line-height-control{margin-bottom:24px}.block-editor-line-height-control input{display:block;max-width:60px}.block-editor-image-size-control{margin-bottom:1em}.block-editor-image-size-control .block-editor-image-size-control__row{display:flex;justify-content:space-between}.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height,.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width{margin-bottom:.5em}.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height input,.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width input{line-height:1.25}.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width{margin-right:5px}.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height{margin-left:5px}.block-editor-block-list__layout.has-overlay:after{content:"";position:absolute;top:-14px;right:-14px;bottom:-14px;left:-14px;z-index:60}[data-align=full] .has-overlay:after{right:0;left:0}.block-editor-block-types-list__list-item{display:block;width:33.33%;padding:0;margin:0}.components-button.block-editor-block-types-list__item{display:flex;flex-direction:column;width:100%;font-size:13px;color:#1e1e1e;padding:8px;align-items:stretch;justify-content:center;cursor:pointer;background:transparent;word-break:break-word;border-radius:2px;border:1px solid transparent;transition:all .05s ease-in-out;position:relative;height:auto}@media (prefers-reduced-motion:reduce){.components-button.block-editor-block-types-list__item{transition-duration:0s;transition-delay:0s}}.components-button.block-editor-block-types-list__item:disabled{opacity:.6;cursor:default}.components-button.block-editor-block-types-list__item:not(:disabled):hover{border-color:var(--wp-admin-theme-color);color:var(--wp-admin-theme-color)!important}.components-button.block-editor-block-types-list__item:not(:disabled).is-active{color:#fff;background:#1e1e1e;outline:2px solid transparent;outline-offset:-2px}.block-editor-block-types-list__item-icon{padding:12px 20px;border-radius:2px;color:#1e1e1e;transition:all .05s ease-in-out}@media (prefers-reduced-motion:reduce){.block-editor-block-types-list__item-icon{transition-duration:0s;transition-delay:0s}}.block-editor-block-types-list__item-icon .block-editor-block-icon{margin-left:auto;margin-right:auto}.block-editor-block-types-list__item-icon svg{transition:all .15s ease-out}@media (prefers-reduced-motion:reduce){.block-editor-block-types-list__item-icon svg{transition-duration:0s;transition-delay:0s}}.block-editor-block-types-list__list-item[draggable=true] .block-editor-block-types-list__item-icon{cursor:grab}.block-editor-block-types-list__item-title{padding:4px 2px 8px;font-size:12px}.modal-open .block-editor-media-replace-flow__options{display:none}.block-editor-media-replace-flow__options .components-popover__content>div{padding-top:16px}.block-editor-media-replace-flow__indicator{margin-left:4px}.block-editor-media-flow__url-input{border-top:1px solid #1e1e1e;margin-top:12px;margin-right:-12px;margin-left:-12px;padding:12px 24px 0}.block-editor-media-flow__url-input .block-editor-media-replace-flow__image-url-label{top:16px}.block-editor-media-flow__url-input .block-editor-link-control{margin-top:-16px;width:auto}.block-editor-media-flow__url-input .block-editor-link-control .components-base-control .components-base-control__field{margin-bottom:0}.block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__search-item-title{max-width:180px;margin-top:16px}.block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__search-item.is-current{width:auto;padding:0}.block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]{margin:16px 0 0;width:100%}.block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__search-actions{right:4px}.block-editor-media-flow__error{padding:0 20px 20px;max-width:255px}.block-editor-media-flow__error .components-with-notices-ui{max-width:255px}.block-editor-media-flow__error .components-with-notices-ui .components-notice__content{overflow:hidden;word-wrap:break-word}.block-editor-media-flow__error .components-with-notices-ui .components-notice__dismiss{position:absolute;right:10px}.block-editor-media-placeholder__url-input-container .block-editor-media-placeholder__button{margin-bottom:0}.block-editor-media-placeholder__url-input-form{display:flex}.block-editor-media-placeholder__url-input-form input[type=url].block-editor-media-placeholder__url-input-field{width:100%;flex-grow:1;border:none;border-radius:0;margin:2px}@media (min-width:600px){.block-editor-media-placeholder__url-input-form input[type=url].block-editor-media-placeholder__url-input-field{width:300px}}.block-editor-media-placeholder__url-input-submit-button{flex-shrink:1}.block-editor-media-placeholder__button{margin-bottom:.5rem}.block-editor-media-placeholder__cancel-button.is-link{margin:1em;display:block}.block-editor-media-placeholder.is-appender{min-height:0}.block-editor-media-placeholder.is-appender:hover{cursor:pointer;box-shadow:0 0 0 1px var(--wp-admin-theme-color)}.block-editor-multi-selection-inspector__card{display:flex;align-items:flex-start;padding:16px}.block-editor-multi-selection-inspector__card-content{flex-grow:1}.block-editor-multi-selection-inspector__card-title{font-weight:500;margin-bottom:5px}.block-editor-multi-selection-inspector__card-description{font-size:13px}.block-editor-multi-selection-inspector__card .block-editor-block-icon{margin-left:-2px;margin-right:10px;padding:0 3px;width:36px;height:24px}.block-editor-plain-text{box-shadow:none;font-family:inherit;font-size:inherit;color:inherit;line-height:inherit;border:none;padding:0;margin:0;width:100%}.block-editor-responsive-block-control{margin-bottom:28px;border-bottom:1px solid #ccc;padding-bottom:14px}.block-editor-responsive-block-control:last-child{padding-bottom:0;border-bottom:0}.block-editor-responsive-block-control__title{margin:0 0 .6em -3px}.block-editor-responsive-block-control__label{font-weight:600;margin-bottom:.6em;margin-left:-3px}.block-editor-responsive-block-control__inner{margin-left:-1px}.block-editor-responsive-block-control__toggle{margin-left:1px}.block-editor-responsive-block-control .components-base-control__help{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.block-editor-rich-text__editable>p:first-child{margin-top:0}.block-editor-rich-text__editable [data-rich-text-placeholder]{pointer-events:none}.block-editor-rich-text__editable [data-rich-text-placeholder]:after{content:attr(data-rich-text-placeholder);opacity:.62}.block-editor-rich-text__editable:focus{outline:none}.block-editor-rich-text__editable:focus [data-rich-text-format-boundary]{border-radius:2px}figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]:before{opacity:.8}.components-popover.block-editor-rich-text__inline-format-toolbar{z-index:99998}.components-popover.block-editor-rich-text__inline-format-toolbar .components-popover__content{width:auto;min-width:auto;margin-bottom:8px;box-shadow:none;border:1px solid #1e1e1e;border-radius:2px;background-color:#fff}.components-popover.block-editor-rich-text__inline-format-toolbar .components-toolbar,.components-popover.block-editor-rich-text__inline-format-toolbar .components-toolbar-group{border:none}.components-popover.block-editor-rich-text__inline-format-toolbar .components-dropdown-menu__toggle,.components-popover.block-editor-rich-text__inline-format-toolbar .components-toolbar__control{min-width:48px;min-height:48px;padding-left:12px;padding-right:12px}.block-editor-rich-text__inline-format-toolbar-group .components-dropdown-menu__toggle{justify-content:center}.show-icon-labels .block-editor-rich-text__inline-format-toolbar-group .components-button.has-icon{width:auto}.show-icon-labels .block-editor-rich-text__inline-format-toolbar-group .components-button.has-icon svg{display:none}.show-icon-labels .block-editor-rich-text__inline-format-toolbar-group .components-button.has-icon:after{content:attr(aria-label)}.block-editor-skip-to-selected-block{position:absolute;top:-9999em}.block-editor-skip-to-selected-block:focus{height:auto;width:auto;display:block;font-size:14px;font-weight:600;padding:15px 23px 14px;background:#f1f1f1;color:var(--wp-admin-theme-color);line-height:normal;box-shadow:0 0 2px 2px rgba(0,0,0,.6);text-decoration:none;outline:none;z-index:100000}.block-editor-text-decoration-and-transform{display:flex}.block-editor-text-transform-control{flex:0 0 50%}.block-editor-text-transform-control legend{margin-bottom:8px}.block-editor-text-transform-control .block-editor-text-transform-control__buttons{display:inline-flex;margin-bottom:24px}.block-editor-text-transform-control .block-editor-text-transform-control__buttons .components-button.has-icon{min-width:24px;padding:0;margin-right:4px}.block-editor-text-decoration-control{flex:0 0 50%}.block-editor-text-decoration-control legend{margin-bottom:8px}.block-editor-text-decoration-control .block-editor-text-decoration-control__buttons{display:inline-flex;margin-bottom:24px}.block-editor-text-decoration-control .block-editor-text-decoration-control__buttons .components-button.has-icon{min-width:24px;padding:0;margin-right:4px}.block-editor-tool-selector__help{margin:8px -12px -12px;padding:12px 20px;border-top:1px solid #ddd;color:#757575;min-width:280px}.block-editor-block-list__block .block-editor-url-input,.block-editor-url-input,.components-popover .block-editor-url-input{flex-grow:1;position:relative;padding:1px}.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{width:100%;padding:8px 8px 8px 12px;border:none;border-radius:0;margin-left:0;margin-right:0;font-size:16px}@media (min-width:600px){.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{width:300px;font-size:13px}}.block-editor-block-list__block .block-editor-url-input input[type=text]::-ms-clear,.block-editor-url-input input[type=text]::-ms-clear,.components-popover .block-editor-url-input input[type=text]::-ms-clear{display:none}.block-editor-block-list__block .block-editor-url-input.is-full-width,.block-editor-block-list__block .block-editor-url-input.is-full-width .block-editor-url-input__input[type=text],.block-editor-block-list__block .block-editor-url-input.is-full-width__suggestions,.block-editor-url-input.is-full-width,.block-editor-url-input.is-full-width .block-editor-url-input__input[type=text],.block-editor-url-input.is-full-width__suggestions,.components-popover .block-editor-url-input.is-full-width,.components-popover .block-editor-url-input.is-full-width .block-editor-url-input__input[type=text],.components-popover .block-editor-url-input.is-full-width__suggestions{width:100%}.block-editor-block-list__block .block-editor-url-input .components-spinner,.block-editor-url-input .components-spinner,.components-popover .block-editor-url-input .components-spinner{position:absolute;right:8px 8px 8px 12px;bottom:8px 8px 8px 12px8px1;margin:0}.block-editor-url-input__input[type=text]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;padding:6px 8px;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:2px;border:1px solid #757575;font-size:16px;line-height:normal}@media (prefers-reduced-motion:reduce){.block-editor-url-input__input[type=text]{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.block-editor-url-input__input[type=text]{font-size:13px;line-height:normal}}.block-editor-url-input__input[type=text]:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color);outline:2px solid transparent}.block-editor-url-input__input[type=text]::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.block-editor-url-input__input[type=text]::-moz-placeholder{opacity:1;color:rgba(30,30,30,.62)}.block-editor-url-input__input[type=text]:-ms-input-placeholder{color:rgba(30,30,30,.62)}.is-dark-theme .block-editor-url-input__input[type=text]::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .block-editor-url-input__input[type=text]::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .block-editor-url-input__input[type=text]:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}.block-editor-url-input__suggestions{max-height:200px;transition:all .15s ease-in-out;padding:4px 0;width:302px;overflow-y:auto}@media (prefers-reduced-motion:reduce){.block-editor-url-input__suggestions{transition-duration:0s;transition-delay:0s}}.block-editor-url-input .components-spinner,.block-editor-url-input__suggestions{display:none}@media (min-width:600px){.block-editor-url-input .components-spinner,.block-editor-url-input__suggestions{display:inherit}}.block-editor-url-input__suggestion{padding:4px 8px 8px;color:#757575;display:block;font-size:13px;cursor:pointer;background:#fff;width:100%;border:none;text-align:left;box-shadow:none}.block-editor-url-input__suggestion:hover{background:#ddd}.block-editor-url-input__suggestion.is-selected,.block-editor-url-input__suggestion:focus{background:var(--wp-admin-theme-color-darker-20);color:#fff;outline:none}.components-toolbar-group>.block-editor-url-input__button,.components-toolbar>.block-editor-url-input__button{position:inherit}.block-editor-url-input__button .block-editor-url-input__back{margin-right:4px;overflow:visible}.block-editor-url-input__button .block-editor-url-input__back:after{content:"";position:absolute;display:block;width:1px;height:24px;right:-1px;background:#ddd}.block-editor-url-input__button-modal{box-shadow:0 2px 6px rgba(0,0,0,.05);border:1px solid #ddd;background:#fff}.block-editor-url-input__button-modal-line{display:flex;flex-direction:row;flex-grow:1;flex-shrink:1;min-width:0;align-items:flex-start}.block-editor-url-input__button-modal-line .components-button{flex-shrink:0;width:36px;height:36px}.block-editor-url-popover__additional-controls{border-top:1px solid #ddd}.block-editor-url-popover__additional-controls>div[role=menu] .components-button:not(:disabled):not([aria-disabled=true]):not(.is-secondary)>svg{box-shadow:none}.block-editor-url-popover__additional-controls div[role=menu]>.components-button{padding-left:12px}.block-editor-url-popover__row{display:flex}.block-editor-url-popover__row>:not(.block-editor-url-popover__settings-toggle){flex-grow:1}.block-editor-url-popover .components-button.has-icon{padding:3px}.block-editor-url-popover .components-button.has-icon>svg{padding:5px;border-radius:2px;height:30px;width:30px}.block-editor-url-popover .components-button.has-icon:not(:disabled):focus{box-shadow:none}.block-editor-url-popover .components-button.has-icon:not(:disabled):focus>svg{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color),inset 0 0 0 4px #fff;outline:2px solid transparent}.block-editor-url-popover__settings-toggle{flex-shrink:0;border-radius:0;border-left:1px solid #ddd;margin-left:1px}.block-editor-url-popover__settings-toggle[aria-expanded=true] .dashicon{transform:rotate(180deg)}.block-editor-url-popover__input-container .components-base-control:last-child,.block-editor-url-popover__input-container .components-base-control:last-child .components-base-control__field{margin-bottom:0}.block-editor-url-popover__settings{display:block;padding:16px;border-top:1px solid #ddd}.block-editor-url-popover__link-editor,.block-editor-url-popover__link-viewer{display:flex}.block-editor-url-popover__link-editor .block-editor-url-input .components-base-control__field,.block-editor-url-popover__link-viewer .block-editor-url-input .components-base-control__field{margin-bottom:0}.block-editor-url-popover__link-editor .block-editor-url-input .components-spinner,.block-editor-url-popover__link-viewer .block-editor-url-input .components-spinner{bottom:8px 8px 8px 12px1}.block-editor-url-popover__link-viewer-url{margin:7px;flex-grow:1;flex-shrink:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:150px;max-width:500px}.block-editor-url-popover__link-viewer-url.has-invalid-link{color:#cc1818}.block-editor-warning{align-items:center;display:flex;flex-wrap:wrap;padding:1em;border:1px solid #1e1e1e;border-radius:2px;background-color:#fff}.block-editor-warning,.block-editor-warning .block-editor-warning__message{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.block-editor-warning .block-editor-warning__message{line-height:1.4;font-size:13px;color:#1e1e1e;margin:0}.block-editor-warning p.block-editor-warning__message.block-editor-warning__message{min-height:auto}.block-editor-warning .block-editor-warning__contents{display:flex;flex-direction:row;justify-content:space-between;flex-wrap:wrap;align-items:baseline;width:100%}.block-editor-warning .block-editor-warning__actions{display:flex;margin-top:1em}.block-editor-warning .block-editor-warning__action{margin:0 8px 0 0}.block-editor-warning__secondary{margin:auto 0 auto 8px}.components-popover.block-editor-warning__dropdown{z-index:99998}.html-anchor-control .components-external-link{display:block;margin-top:8px}.block-editor-hooks__layout-controls{display:flex;margin-bottom:16px}.block-editor-hooks__layout-controls .block-editor-hooks__layout-controls-unit{display:flex;margin-right:24px}.block-editor-hooks__layout-controls .block-editor-hooks__layout-controls-unit svg{margin:auto 0 4px 8px}.block-editor-hooks__layout-controls-reset{display:flex;justify-content:flex-end;margin-bottom:24px}.block-editor-hooks__layout-controls-helptext{font-size:12px}#end-resizable-editor-section{display:none}.block-editor-block-toolbar{display:flex;flex-grow:1;width:100%;overflow:auto;position:relative;transition:border-color .1s linear,box-shadow .1s linear}@media (prefers-reduced-motion:reduce){.block-editor-block-toolbar{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.block-editor-block-toolbar{overflow:inherit}}.block-editor-block-toolbar .components-toolbar,.block-editor-block-toolbar .components-toolbar-group{background:none;line-height:0;margin-top:-1px;margin-bottom:-1px;border:0;border-right:1px solid #ddd}.block-editor-block-toolbar>:last-child,.block-editor-block-toolbar>:last-child .components-toolbar,.block-editor-block-toolbar>:last-child .components-toolbar-group{border-right:none}.block-editor-block-contextual-toolbar.has-parent:not(.is-fixed){margin-left:56px}.show-icon-labels .block-editor-block-contextual-toolbar.has-parent:not(.is-fixed){margin-left:0}.block-editor-block-parent-selector{position:absolute;top:-1px;left:-57px}.show-icon-labels .block-editor-block-parent-selector{position:relative;left:auto;top:auto;margin-top:-1px;margin-left:-1px;margin-bottom:-1px}.block-editor-block-toolbar__block-controls{height:auto!important;padding:0!important;margin-left:-1px}.block-editor-block-toolbar__block-controls .block-editor-block-switcher .components-dropdown-menu__toggle .block-editor-block-icon,.block-editor-block-toolbar__block-controls .block-editor-block-switcher__no-switcher-icon .block-editor-block-icon{width:24px!important;margin:0!important}.block-editor-block-toolbar__block-controls .block-editor-block-switcher .components-dropdown-menu__toggle:focus:before,.block-editor-block-toolbar__block-controls .block-editor-block-switcher__no-switcher-icon:focus:before{right:4px!important}.block-editor-block-toolbar__block-controls .block-editor-block-mover{margin-left:-6px}.block-editor-block-toolbar .components-toolbar,.block-editor-block-toolbar .components-toolbar-group,.block-editor-rich-text__inline-format-toolbar-group .components-toolbar,.block-editor-rich-text__inline-format-toolbar-group .components-toolbar-group{display:flex;flex-wrap:nowrap}.block-editor-block-toolbar__slot{display:inline-block;line-height:0}@supports (position:sticky){.block-editor-block-toolbar__slot{display:inline-flex}}.show-icon-labels .block-editor-block-toolbar .components-button.has-icon{width:auto}.show-icon-labels .block-editor-block-toolbar .components-button.has-icon svg{display:none}.show-icon-labels .block-editor-block-toolbar .components-button.has-icon:after{content:attr(aria-label);font-size:12px}.show-icon-labels .components-accessible-toolbar .components-toolbar-group>div:first-child:last-child>.components-button.has-icon{padding-left:6px;padding-right:6px}.show-icon-labels .block-editor-block-switcher{border-right:1px solid #1e1e1e}.show-icon-labels .block-editor-block-switcher .components-dropdown-menu__toggle{margin-left:0}.show-icon-labels .block-editor-block-switcher .components-dropdown-menu__toggle .block-editor-block-icon,.show-icon-labels .block-editor-block-switcher__no-switcher-icon .block-editor-block-icon{width:0!important;height:0!important}.show-icon-labels .block-editor-block-switcher .components-dropdown-menu__toggle:focus:before,.show-icon-labels .block-editor-block-switcher__no-switcher-icon:focus:before{right:4px!important}.show-icon-labels .block-editor-block-parent-selector__button .block-editor-block-icon{width:0}.show-icon-labels .block-editor-block-toolbar__block-controls .block-editor-block-mover{margin-left:0;white-space:nowrap}.show-icon-labels .block-editor-block-mover-button{padding-left:8px!important;padding-right:8px!important}.show-icon-labels .block-editor-block-mover__drag-handle.has-icon{padding-left:6px!important;padding-right:6px!important;border-right:1px solid #1e1e1e}@media (min-width:600px){.show-icon-labels .is-up-button.is-up-button.is-up-button{border-bottom:1px solid #1e1e1e;margin-right:0;border-radius:0}}.show-icon-labels .block-editor-block-contextual-toolbar .block-editor-block-mover.is-horizontal .block-editor-block-mover-button.block-editor-block-mover-button{width:auto}.show-icon-labels .components-toolbar,.show-icon-labels .components-toolbar-group{flex-shrink:1}.show-icon-labels .block-editor-rich-text__inline-format-toolbar-group .components-button+.components-button{margin-left:6px}.block-editor-inserter{display:inline-block;background:none;border:none;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:0}@media (min-width:782px){.block-editor-inserter{position:relative}}.block-editor-inserter__popover.is-quick .components-popover__content{border:none}.block-editor-inserter__popover.is-quick .components-popover__content .block-editor-inserter__quick-inserter>*{border-left:1px solid #ccc;border-right:1px solid #ccc}.block-editor-inserter__popover.is-quick .components-popover__content .block-editor-inserter__quick-inserter>:first-child{border-top:1px solid #ccc}.block-editor-inserter__popover.is-quick .components-popover__content .block-editor-inserter__quick-inserter>:last-child{border-bottom:1px solid #ccc}.block-editor-inserter__popover.is-quick .components-popover__content .block-editor-inserter__quick-inserter>.components-button{border:1px solid #1e1e1e}.block-editor-inserter__popover .block-editor-inserter__menu{margin:-12px}.block-editor-inserter__popover .block-editor-inserter__menu .block-editor-inserter__tabs .components-tab-panel__tabs{top:60px}.block-editor-inserter__popover .block-editor-inserter__menu .block-editor-inserter__main-area{overflow:visible;height:auto}.block-editor-inserter__popover .block-editor-inserter__menu .block-editor-inserter__preview-container{display:none}.block-editor-inserter__toggle.components-button{display:inline-flex;align-items:center;cursor:pointer;border:none;outline:none;padding:0;transition:color .2s ease}@media (prefers-reduced-motion:reduce){.block-editor-inserter__toggle.components-button{transition-duration:0s;transition-delay:0s}}.block-editor-inserter__menu{height:100%;position:relative;overflow:visible}.block-editor-inserter__main-area{width:auto;overflow-y:auto;height:100%}@media (min-width:782px){.block-editor-inserter__main-area{width:350px}}.block-editor-inserter__inline-elements{margin-top:-1px}.block-editor-inserter__menu.is-bottom:after{border-bottom-color:#fff}.components-popover.block-editor-inserter__popover{z-index:99999}.block-editor-inserter__search{padding:16px;position:sticky;top:0;background:#fff;z-index:1}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:2px;line-height:normal;display:block;padding:16px 48px 16px 16px;background:#f0f0f0;border:none;width:100%;height:48px;font-size:16px}@media (prefers-reduced-motion:reduce){.block-editor-inserter__search input[type=search].block-editor-inserter__search-input{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.block-editor-inserter__search input[type=search].block-editor-inserter__search-input{font-size:13px;line-height:normal}}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color);outline:2px solid transparent}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-moz-placeholder{opacity:1;color:rgba(30,30,30,.62)}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input:-ms-input-placeholder{color:rgba(30,30,30,.62)}.is-dark-theme .block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .block-editor-inserter__search input[type=search].block-editor-inserter__search-input:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}@media (min-width:600px){.block-editor-inserter__search input[type=search].block-editor-inserter__search-input{font-size:13px}}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input:focus{background:#fff;box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input::placeholder{color:#757575}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-webkit-search-cancel-button,.block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-webkit-search-decoration,.block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-webkit-search-results-button,.block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-webkit-search-results-decoration{-webkit-appearance:none}.block-editor-inserter__search-icon{position:absolute;top:0;right:20px;bottom:0;display:flex;align-items:center}.block-editor-inserter__search-icon>svg{margin:8px}.block-editor-inserter__tabs{display:flex;flex-direction:column;margin-top:-8px}.block-editor-inserter__tabs .components-tab-panel__tabs{position:sticky;top:72px;background:#fff;z-index:1;border-bottom:1px solid #ddd}.block-editor-inserter__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item{flex-grow:1;margin-bottom:-1px}.block-editor-inserter__tabs .components-tab-panel__tab-content{display:flex;flex-grow:1;flex-direction:column;position:relative;z-index:0}.block-editor-inserter__panel-header{display:inline-flex;align-items:center;padding:16px 16px 0}.block-editor-inserter__panel-header-patterns{padding:16px 16px 0}.block-editor-inserter__panel-content{padding:16px}.block-editor-inserter__panel-title,.block-editor-inserter__panel-title button{margin:0 12px 0 0;color:#757575;text-transform:uppercase;font-size:11px;font-weight:500}.block-editor-inserter__panel-dropdown select.components-select-control__input.components-select-control__input.components-select-control__input{line-height:1.2}.block-editor-inserter__panel-dropdown select{border:none}.block-editor-inserter__block-list{flex-grow:1;position:relative}.block-editor-inserter__popover .block-editor-block-types-list{margin:-8px}.block-editor-inserter__reusable-blocks-panel{position:relative;text-align:right}.block-editor-inserter__manage-reusable-blocks{display:inline-block;margin:16px}.block-editor-inserter__no-results{padding:32px;margin-top:64px;text-align:center}.block-editor-inserter__no-results-icon{fill:#949494}.block-editor-inserter__child-blocks{padding:0 16px}.block-editor-inserter__parent-block-header{display:flex;align-items:center}.block-editor-inserter__parent-block-header h2{font-size:13px}.block-editor-inserter__parent-block-header .block-editor-block-icon{margin-right:8px}.block-editor-inserter__preview-container{display:none;width:300px;background:#fff;border-radius:2px;border:1px solid #ddd;position:absolute;top:16px;left:calc(100% + 16px);max-height:calc(100% - 32px);overflow-y:hidden}@media (min-width:782px){.block-editor-inserter__preview-container{display:block}}.block-editor-inserter__preview-container .block-editor-block-card{padding:16px}.block-editor-inserter__preview-container .block-editor-block-card__title{font-size:13px}.block-editor-inserter__preview-content{min-height:144px;background:#f0f0f0;display:grid;flex-grow:1;align-items:center}.block-editor-inserter__preview-content-missing{flex:1;display:flex;justify-content:center;align-items:center;min-height:144px;color:#757575;background:#f0f0f0}.block-editor-inserter__tips{border-top:1px solid #ddd;padding:16px;flex-shrink:0;position:relative}.block-editor-inserter__manage-reusable-blocks-container{padding:16px}.block-editor-inserter__quick-inserter{width:100%;max-width:100%}@media (min-width:782px){.block-editor-inserter__quick-inserter{width:350px}}.block-editor-inserter__quick-inserter-results .block-editor-inserter__panel-header{height:0;padding:0;float:left}.block-editor-inserter__quick-inserter.has-expand .block-editor-inserter__panel-content,.block-editor-inserter__quick-inserter.has-search .block-editor-inserter__panel-content{padding:16px}.block-editor-inserter__quick-inserter-patterns .block-editor-block-patterns-list{display:grid;grid-template-columns:1fr 1fr;grid-gap:8px}.block-editor-inserter__quick-inserter-separator{border-top:1px solid #ddd}.block-editor-inserter__popover.is-quick>.components-popover__content>div{padding:0}.block-editor-inserter__quick-inserter-expand.components-button{display:block;background:#1e1e1e;color:#fff;width:100%;height:44px;border-radius:0}.block-editor-inserter__quick-inserter-expand.components-button:hover{color:#fff}.block-editor-inserter__quick-inserter-expand.components-button:active{color:#ccc}.block-editor-inserter__quick-inserter-expand.components-button:focus:not(:disabled){box-shadow:inset 0 0 0 1.5px var(--wp-admin-theme-color),inset 0 0 0 3px #fff}.block-editor-post-preview__dropdown{padding:0}.block-editor-post-preview__button-resize.block-editor-post-preview__button-resize{padding-left:40px}.block-editor-post-preview__button-resize.block-editor-post-preview__button-resize.has-icon{padding-left:8px}.block-editor-post-preview__dropdown-content .components-popover__content{overflow-y:visible}.block-editor-post-preview__dropdown-content.edit-post-post-preview-dropdown .components-menu-group:first-child{padding-bottom:8px}.block-editor-post-preview__dropdown-content.edit-post-post-preview-dropdown .components-menu-group:last-child{margin-bottom:0}.block-editor-post-preview__dropdown-content .components-menu-group+.components-menu-group{padding:8px}@media (min-width:600px){.edit-post-header__settings .editor-post-preview,.edit-site-header__actions .editor-post-preview{display:none}}@media (min-width:600px){.edit-post-header.has-reduced-ui .edit-post-header__settings .block-editor-post-preview__button-toggle,.edit-post-header.has-reduced-ui .edit-post-header__settings .editor-post-save-draft,.edit-post-header.has-reduced-ui .edit-post-header__settings .editor-post-saved-state{transition:opacity .1s linear}}@media (min-width:600px) and (prefers-reduced-motion:reduce){.edit-post-header.has-reduced-ui .edit-post-header__settings .block-editor-post-preview__button-toggle,.edit-post-header.has-reduced-ui .edit-post-header__settings .editor-post-save-draft,.edit-post-header.has-reduced-ui .edit-post-header__settings .editor-post-saved-state{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.edit-post-header.has-reduced-ui:not(:hover) .edit-post-header__settings .block-editor-post-preview__button-toggle,.edit-post-header.has-reduced-ui:not(:hover) .edit-post-header__settings .editor-post-save-draft,.edit-post-header.has-reduced-ui:not(:hover) .edit-post-header__settings .editor-post-saved-state{opacity:0}.edit-post-header.has-reduced-ui:not(:hover) .edit-post-header__settings .block-editor-post-preview__button-toggle.is-opened{opacity:1}}body.admin-color-light{--wp-admin-theme-color:#0085ba;--wp-admin-theme-color-darker-10:#0073a1;--wp-admin-theme-color-darker-20:#006187;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-light{--wp-admin-border-width-focus:1.5px}}body.admin-color-modern{--wp-admin-theme-color:#3858e9;--wp-admin-theme-color-darker-10:#2145e6;--wp-admin-theme-color-darker-20:#183ad6;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-modern{--wp-admin-border-width-focus:1.5px}}body.admin-color-blue{--wp-admin-theme-color:#096484;--wp-admin-theme-color-darker-10:#07526c;--wp-admin-theme-color-darker-20:#064054;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-blue{--wp-admin-border-width-focus:1.5px}}body.admin-color-coffee{--wp-admin-theme-color:#46403c;--wp-admin-theme-color-darker-10:#383330;--wp-admin-theme-color-darker-20:#2b2724;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-coffee{--wp-admin-border-width-focus:1.5px}}body.admin-color-ectoplasm{--wp-admin-theme-color:#523f6d;--wp-admin-theme-color-darker-10:#46365d;--wp-admin-theme-color-darker-20:#3a2c4d;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-ectoplasm{--wp-admin-border-width-focus:1.5px}}body.admin-color-midnight{--wp-admin-theme-color:#e14d43;--wp-admin-theme-color-darker-10:#dd382d;--wp-admin-theme-color-darker-20:#d02c21;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-midnight{--wp-admin-border-width-focus:1.5px}}body.admin-color-ocean{--wp-admin-theme-color:#627c83;--wp-admin-theme-color-darker-10:#576e74;--wp-admin-theme-color-darker-20:#4c6066;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-ocean{--wp-admin-border-width-focus:1.5px}}body.admin-color-sunrise{--wp-admin-theme-color:#dd823b;--wp-admin-theme-color-darker-10:#d97426;--wp-admin-theme-color-darker-20:#c36922;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-sunrise{--wp-admin-border-width-focus:1.5px}} \ No newline at end of file +@charset "UTF-8";:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}#start-resizable-editor-section{display:none}.block-editor-autocompleters__block{white-space:nowrap}.block-editor-autocompleters__block .block-editor-block-icon{margin-right:8px}.block-editor-block-alignment-matrix-control__popover .components-popover__content{min-width:0;width:auto}.block-editor-block-alignment-matrix-control__popover .components-popover__content>div{padding:8px}.block-editor-block-icon{display:flex;align-items:center;justify-content:center;width:24px;height:24px}.block-editor-block-icon.has-colors svg{fill:currentColor}.block-editor-block-icon svg{min-width:20px;min-height:20px;max-width:24px;max-height:24px}.block-editor-block-inspector p{margin-top:0}.block-editor-block-inspector h2,.block-editor-block-inspector h3{font-size:13px;color:#1e1e1e;margin-bottom:1.5em}.block-editor-block-inspector .components-base-control{margin-bottom:24px}.block-editor-block-inspector .components-base-control:last-child{margin-bottom:8px}.block-editor-block-inspector .components-panel__body{border:none;border-top:1px solid #e0e0e0}.block-editor-block-inspector .block-editor-block-card{padding:16px}.block-editor-block-inspector__no-blocks{display:block;font-size:13px;background:#fff;padding:32px 16px;text-align:center}.block-editor-block-styles .block-editor-block-list__block{margin:0}.block-editor-block-list__layout{position:relative}.block-editor-block-list__layout.is-navigate-mode{cursor:default}.block-editor-block-list__layout .block-editor-block-list__block.is-highlighted:after,.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:after,.block-editor-block-list__layout.is-navigate-mode .block-editor-block-list__block.is-hovered:after,.block-editor-block-list__layout.is-navigate-mode .block-editor-block-list__block.is-selected:after{position:absolute;z-index:1;pointer-events:none;content:"";top:1px;bottom:1px;left:1px;right:1px;box-shadow:0 0 0 1px var(--wp-admin-theme-color);border-radius:1px;outline:2px solid transparent}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-highlighted:after,.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:after,.is-dark-theme .block-editor-block-list__layout.is-navigate-mode .block-editor-block-list__block.is-hovered:after,.is-dark-theme .block-editor-block-list__layout.is-navigate-mode .block-editor-block-list__block.is-selected:after{box-shadow:0 0 0 1px #fff}.block-editor-block-list__layout .block-editor-block-list__block.is-highlighted .components-placeholder ::selection,.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .components-placeholder ::selection,.block-editor-block-list__layout.is-navigate-mode .block-editor-block-list__block.is-hovered .components-placeholder ::selection,.block-editor-block-list__layout.is-navigate-mode .block-editor-block-list__block.is-selected .components-placeholder ::selection{background:transparent}.block-editor-block-list__layout.is-navigate-mode .block-editor-block-list__block.is-hovered:not(.is-selected):after{box-shadow:0 0 0 1px #949494}.block-editor-block-list__layout .block-editor-block-list__block.is-highlighted:after,.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:after,.block-editor-block-list__layout .is-block-moving-mode.block-editor-block-list__block.has-child-selected,.block-editor-block-list__layout.is-navigate-mode .block-editor-block-list__block.is-selected:after{box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);outline:var(--wp-admin-border-width-focus) solid transparent}.block-editor-block-list__layout .is-block-moving-mode.block-editor-block-list__block.is-selected:before{content:"";position:absolute;z-index:0;pointer-events:none;transition:border-color .1s linear,border-style .1s linear,box-shadow .1s linear;right:0;left:0;top:-14px;border-radius:2px;border-top:4px solid #ccc}.block-editor-block-list__layout .is-block-moving-mode.block-editor-block-list__block.is-selected:after{content:none}.block-editor-block-list__layout .is-block-moving-mode.can-insert-moving-block.block-editor-block-list__block.is-selected:before{border-color:var(--wp-admin-theme-color)}.is-block-moving-mode.block-editor-block-list__block-selection-button{opacity:0;font-size:1px;height:1px;padding:0}.block-editor-block-list__layout .block-editor-block-list__block{position:relative;overflow-wrap:break-word}.block-editor-block-list__layout .block-editor-block-list__block .reusable-block-edit-panel *{z-index:1}.block-editor-block-list__layout .block-editor-block-list__block .components-placeholder .components-with-notices-ui{margin:-10px 0 12px}.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui{margin:0 0 12px;width:100%}.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui .components-notice{margin-left:0;margin-right:0}.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui .components-notice .components-notice__content{font-size:13px}.block-editor-block-list__layout .block-editor-block-list__block:not([contenteditable]):focus{outline:none}.block-editor-block-list__layout .block-editor-block-list__block:not([contenteditable]):focus:after{position:absolute;z-index:1;pointer-events:none;content:"";top:1px;bottom:1px;left:1px;right:1px;box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);border-radius:1px}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block:not([contenteditable]):focus:after{box-shadow:0 0 0 var(--wp-admin-border-width-focus) #fff}.block-editor-block-list__layout .block-editor-block-list__block:after{content:"";pointer-events:none;position:absolute;top:0;right:0;bottom:0;left:0;border-radius:2px;box-shadow:0 0 0 var(--wp-admin-border-width-focus) transparent}.block-editor-block-list__layout .block-editor-block-list__block.has-warning{min-height:48px}.block-editor-block-list__layout .block-editor-block-list__block.has-warning>*{pointer-events:none;-webkit-user-select:none;user-select:none}.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-warning{pointer-events:all}.block-editor-block-list__layout .block-editor-block-list__block.has-warning:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-radius:2px;background-color:hsla(0,0%,100%,.4)}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-multi-selected:after{background-color:initial}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable>.block-editor-inner-blocks>.block-editor-block-list__layout.has-overlay:after{display:none}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable>.block-editor-inner-blocks>.block-editor-block-list__layout.has-overlay .block-editor-block-list__layout.has-overlay:after{display:block}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable.has-child-selected:after{box-shadow:0 0 0 1px var(--wp-admin-theme-color)}.block-editor-block-list__layout .block-editor-block-list__block[data-clear=true]{float:none}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-default-block-appender .block-editor-inserter{left:auto;right:8px}.is-outline-mode:not(.is-typing) .block-editor-block-list__block.is-hovered{cursor:default}.is-outline-mode:not(.is-typing) .block-editor-block-list__block.is-hovered:after{top:1px;left:1px;right:1px;bottom:1px;box-shadow:0 0 0 1px var(--wp-admin-theme-color);border-radius:1px}.is-outline-mode:not(.is-typing) .block-editor-block-list__block.is-selected{cursor:unset}.is-outline-mode:not(.is-typing) .block-editor-block-list__block.is-selected:after{box-shadow:0 0 0 1px var(--wp-admin-theme-color);top:1px;left:1px;right:1px;bottom:1px;border-radius:1px}.is-outline-mode:not(.is-typing) .block-editor-block-list__block.is-selected:focus:after{box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.is-focus-mode .block-editor-block-list__block:not(.has-child-selected){opacity:.5;transition:opacity .1s linear}@media (prefers-reduced-motion:reduce){.is-focus-mode .block-editor-block-list__block:not(.has-child-selected){transition-duration:0s;transition-delay:0s}}.is-focus-mode .block-editor-block-list__block:not(.has-child-selected) .block-editor-block-list__block,.is-focus-mode .block-editor-block-list__block:not(.has-child-selected).is-multi-selected,.is-focus-mode .block-editor-block-list__block:not(.has-child-selected).is-selected{opacity:1}.is-root-container:not(.is-focus-mode) .block-editor-block-list__block.has-active-entity{opacity:.5;transition:opacity .1s linear}@media (prefers-reduced-motion:reduce){.is-root-container:not(.is-focus-mode) .block-editor-block-list__block.has-active-entity{transition-duration:0s;transition-delay:0s}}.is-root-container:not(.is-focus-mode) .block-editor-block-list__block.has-active-entity.has-child-selected,.is-root-container:not(.is-focus-mode) .block-editor-block-list__block.has-active-entity.is-active-entity,.is-root-container:not(.is-focus-mode) .block-editor-block-list__block.has-active-entity.is-active-entity .block-editor-block-list__block,.is-root-container:not(.is-focus-mode) .block-editor-block-list__block.has-active-entity .is-active-entity .block-editor-block-list__block,.is-root-container:not(.is-focus-mode) .block-editor-block-list__block.has-active-entity:not(.has-child-selected) .block-editor-block-list__block{opacity:1}.wp-block[data-align=left]>*,.wp-block[data-align=right]>*{z-index:21}.block-editor-block-list .block-editor-inserter{margin:8px;cursor:move;cursor:grab}@keyframes block-editor-inserter__toggle__fade-in-animation{0%{opacity:0}to{opacity:1}}.wp-block .block-list-appender .block-editor-inserter__toggle{animation:block-editor-inserter__toggle__fade-in-animation .1s ease;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.wp-block .block-list-appender .block-editor-inserter__toggle{animation-duration:1ms;animation-delay:0s}}.block-editor-block-list__block:not(.is-selected):not(.has-child-selected) .block-editor-default-block-appender{display:none}.block-editor-block-list__block:not(.is-selected):not(.has-child-selected) .block-editor-default-block-appender .block-editor-inserter__toggle{opacity:0;transform:scale(0)}.block-editor-block-list__block .block-editor-block-list__block-html-textarea{display:block;margin:0;padding:12px;width:100%;border:none;outline:none;border-radius:2px;box-shadow:inset 0 0 0 1px #1e1e1e;resize:none;overflow:hidden;font-family:Menlo,Consolas,monaco,monospace;font-size:15px;line-height:1.5;transition:padding .2s linear}@media (prefers-reduced-motion:reduce){.block-editor-block-list__block .block-editor-block-list__block-html-textarea{transition-duration:0s;transition-delay:0s}}.block-editor-block-list__block .block-editor-block-list__block-html-textarea:focus{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.block-editor-block-list__block .block-editor-warning{z-index:5;position:relative}.block-editor-block-list__block .block-editor-warning.block-editor-block-list__block-crash-warning{margin-bottom:auto}.block-editor-block-list__insertion-point{position:absolute}.block-editor-block-list__insertion-point-indicator{position:absolute;background:var(--wp-admin-theme-color);animation:block-editor-inserter__toggle__fade-in-animation-delayed .3s ease;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-block-list__insertion-point-indicator{animation-duration:1ms;animation-delay:0s}}.block-editor-block-list__insertion-point.is-vertical>.block-editor-block-list__insertion-point-indicator{top:50%;right:0;left:0;height:1px}.block-editor-block-list__insertion-point.is-horizontal>.block-editor-block-list__insertion-point-indicator{top:0;right:0;left:50%;height:100%;width:1px}.block-editor-block-list__insertion-point-inserter{display:none;position:absolute;justify-content:center;top:calc(50% - 12px);left:calc(50% - 12px)}@media (min-width:480px){.block-editor-block-list__insertion-point-inserter{display:flex}}.block-editor-block-list__block-popover-inserter{position:absolute;top:-9999em;margin-bottom:14px}.block-editor-block-list__block-popover-inserter.is-visible{position:static}.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle.components-button.has-icon,.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle.components-button.has-icon,.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button.has-icon,.block-editor-default-block-appender .block-editor-inserter__toggle.components-button.has-icon{background:#1e1e1e;border-radius:2px;color:#fff;padding:0;min-width:24px;height:24px}.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle.components-button.has-icon:hover,.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle.components-button.has-icon:hover,.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button.has-icon:hover,.block-editor-default-block-appender .block-editor-inserter__toggle.components-button.has-icon:hover{color:#fff;background:var(--wp-admin-theme-color)}.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button.has-icon{background:var(--wp-admin-theme-color)}.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button.has-icon:hover{background:#1e1e1e}.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle.components-button,.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button{animation:block-editor-inserter__toggle__fade-in-animation-delayed .3s ease;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle.components-button,.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button{animation-duration:1ms;animation-delay:0s}}@keyframes block-editor-inserter__toggle__fade-in-animation-delayed{0%{opacity:0}60%{opacity:0}to{opacity:1}}.block-editor-block-contextual-toolbar{display:inline-flex;border:1px solid #1e1e1e;border-radius:2px;background-color:#fff}.block-editor-block-contextual-toolbar .block-editor-block-toolbar .components-toolbar,.block-editor-block-contextual-toolbar .block-editor-block-toolbar .components-toolbar-group{border-right-color:#1e1e1e}.block-editor-block-contextual-toolbar.is-fixed{position:sticky;top:0;width:100%;z-index:31;min-height:48px;display:block;border:none;border-bottom:1px solid #e0e0e0;border-radius:0}.block-editor-block-contextual-toolbar.is-fixed .block-editor-block-toolbar .components-toolbar,.block-editor-block-contextual-toolbar.is-fixed .block-editor-block-toolbar .components-toolbar-group{border-right-color:#e0e0e0}.block-editor-block-contextual-toolbar .block-editor-block-mover-button{overflow:hidden}.block-editor-block-contextual-toolbar .block-editor-block-mover.is-horizontal .block-editor-block-mover-button.block-editor-block-mover-button{min-width:24px;width:24px}.block-editor-block-contextual-toolbar .block-editor-block-mover.is-horizontal .block-editor-block-mover-button.block-editor-block-mover-button svg{min-width:24px}.block-editor-block-contextual-toolbar .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover-button:focus:before{left:0!important;min-width:0;width:100%}@media (min-width:600px){.block-editor-block-contextual-toolbar .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover-button.is-up-button svg{top:5px}.block-editor-block-contextual-toolbar .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover-button.is-down-button svg{bottom:5px}}.block-editor-block-list__block-selection-button{display:inline-flex;padding:0 13px;z-index:22;border-radius:2px;background-color:#1e1e1e;font-size:13px;height:48px}.block-editor-block-list__block-selection-button .block-editor-block-list__block-selection-button__content{margin:auto;display:inline-flex;align-items:center}.block-editor-block-list__block-selection-button .block-editor-block-list__block-selection-button__content>.components-flex__item{margin-right:6px}.block-editor-block-list__block-selection-button .components-button.has-icon.block-selection-button_drag-handle{cursor:grab;padding:0;height:24px;min-width:24px}.block-editor-block-list__block-selection-button .components-button.has-icon.block-selection-button_drag-handle svg{min-width:18px;min-height:18px}.block-editor-block-list__block-selection-button .block-editor-block-icon{font-size:13px;color:#fff;height:48px}.block-editor-block-list__block-selection-button .components-button{min-width:36px;color:#fff;height:48px;display:flex}.block-editor-block-list__block-selection-button .components-button:focus{box-shadow:none;border:none}.block-editor-block-list__block-selection-button .components-button:active{color:#fff}.block-editor-block-list__block-selection-button .block-selection-button_select-button.components-button{padding:0}.block-editor-block-list__insertion-point-popover.is-without-arrow{z-index:28;position:absolute;pointer-events:none}.block-editor-block-list__insertion-point-popover.is-without-arrow *{pointer-events:none}.block-editor-block-list__insertion-point-popover.is-without-arrow .is-with-inserter,.block-editor-block-list__insertion-point-popover.is-without-arrow .is-with-inserter *{pointer-events:all}.block-editor-block-list__insertion-point-popover.is-without-arrow .components-popover__content.components-popover__content{background:none;border:none;box-shadow:none;overflow-y:visible;margin-left:0}@keyframes hide-during-dragging{to{position:fixed;transform:translate(9999px,9999px)}}.components-popover.block-editor-block-list__block-popover{z-index:31;position:absolute}.components-popover.block-editor-block-list__block-popover .components-popover__content{margin:0!important;min-width:auto;width:max-content;background:none;border:none;box-shadow:none;overflow-y:visible;pointer-events:none}.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-contextual-toolbar,.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-list__block-selection-button,.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-list__empty-block-inserter{pointer-events:all}.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-contextual-toolbar,.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-list__block-selection-button{margin-top:12px;margin-bottom:12px}.is-dragging-components-draggable .components-popover.block-editor-block-list__block-popover{opacity:0;animation:hide-during-dragging 1ms linear forwards}.is-dragging-components-draggable .components-tooltip{display:none}.block-editor-block-list__block .block-list-appender{align-self:center;padding:0;list-style:none;margin:0 auto 0 8px}.block-editor-block-list__block .block-list-appender.wp-block{max-width:none}.block-editor-block-list__block .block-list-appender:first-child{margin-left:0}.block-editor-block-list__block .block-list-appender .block-editor-default-block-appender{margin:8px 0}.block-editor-block-list__block .block-list-appender .block-list-appender__toggle{padding:0;opacity:1;transform:scale(1);transition:all .1s ease}@media (prefers-reduced-motion:reduce){.block-editor-block-list__block .block-list-appender .block-list-appender__toggle{transition-duration:0s;transition-delay:0s}}.is-vertical .block-list-appender{width:24px;margin-right:auto;margin-top:12px;margin-left:12px}.block-list-appender>.block-editor-inserter{display:block}.block-editor-block-list__block:not(.is-selected):not(.has-child-selected):not(.block-editor-block-list__layout) .block-editor-block-list__layout>.block-list-appender .block-list-appender__toggle{opacity:0;transform:scale(0)}.block-editor-block-breadcrumb{list-style:none;padding:0;margin:0}.block-editor-block-breadcrumb li{display:inline-block;margin:0}.block-editor-block-breadcrumb li:not(:last-child):after{content:"→"}.block-editor-block-breadcrumb__button.components-button{height:24px;line-height:24px;padding:0;position:relative}.block-editor-block-breadcrumb__button.components-button:hover:not(:disabled){text-decoration:underline;box-shadow:none}.block-editor-block-breadcrumb__button.components-button:focus{box-shadow:none}.block-editor-block-breadcrumb__button.components-button:focus:before{content:"";display:block;position:absolute;border-radius:2px;top:1px;right:1px;bottom:1px;left:1px;box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.block-editor-block-breadcrumb__current{cursor:default}.block-editor-block-breadcrumb__button.components-button,.block-editor-block-breadcrumb__current{color:#1e1e1e;padding:0 8px;font-size:inherit}.block-editor-block-card{display:flex;align-items:flex-start}.block-editor-block-card__content{flex-grow:1;margin-bottom:4px}.block-editor-block-card__title{font-weight:500}.block-editor-block-card__title.block-editor-block-card__title{line-height:24px;margin:0 0 4px}.block-editor-block-card__description{font-size:13px}.block-editor-block-card .block-editor-block-icon{flex:0 0 24px;margin-left:0;margin-right:12px;width:24px;height:24px}.block-editor-block-compare{overflow:auto;height:auto}@media (min-width:600px){.block-editor-block-compare{max-height:70%}}.block-editor-block-compare__wrapper{display:flex;padding-bottom:16px}.block-editor-block-compare__wrapper>div{display:flex;justify-content:space-between;flex-direction:column;width:50%;padding:0 16px 0 0;min-width:200px}.block-editor-block-compare__wrapper>div button{float:right}.block-editor-block-compare__wrapper .block-editor-block-compare__converted{border-left:1px solid #ddd;padding-left:15px;padding-right:0}.block-editor-block-compare__wrapper .block-editor-block-compare__html{font-family:Menlo,Consolas,monaco,monospace;font-size:12px;color:#1e1e1e;border-bottom:1px solid #ddd;padding-bottom:15px;line-height:1.7}.block-editor-block-compare__wrapper .block-editor-block-compare__html span{background-color:#e6ffed;padding-top:3px;padding-bottom:3px}.block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__added{background-color:#acf2bd}.block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__removed{background-color:#cc1818}.block-editor-block-compare__wrapper .block-editor-block-compare__preview{padding:16px 0 0}.block-editor-block-compare__wrapper .block-editor-block-compare__preview p{font-size:12px;margin-top:0}.block-editor-block-compare__wrapper .block-editor-block-compare__action{margin-top:16px}.block-editor-block-compare__wrapper .block-editor-block-compare__heading{font-size:1em;font-weight:400;margin:.67em 0}.block-editor-block-draggable-chip-wrapper{position:absolute;top:-24px;left:0}.block-editor-block-draggable-chip{background-color:#1e1e1e;border-radius:2px;box-shadow:0 6px 8px rgba(0,0,0,.3);color:#fff;cursor:grabbing;display:inline-flex;height:48px;padding:0 13px;-webkit-user-select:none;user-select:none}.block-editor-block-draggable-chip svg{fill:currentColor}.block-editor-block-draggable-chip .block-editor-block-draggable-chip__content{margin:auto;justify-content:flex-start}.block-editor-block-draggable-chip .block-editor-block-draggable-chip__content>.components-flex__item{margin-right:6px}.block-editor-block-draggable-chip .block-editor-block-draggable-chip__content>.components-flex__item:last-child{margin-right:0}.block-editor-block-draggable-chip .block-editor-block-draggable-chip__content .block-editor-block-icon svg{min-width:18px;min-height:18px}.block-editor-block-draggable-chip .components-flex__item{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.is-dragging{display:none!important}.block-editor-block-mobile-toolbar{display:flex;flex-direction:row;border-right:1px solid #ddd}.block-editor-block-mobile-toolbar .block-editor-block-mover-button{width:36px;height:36px;border-radius:2px;padding:3px;margin:0;justify-content:center;align-items:center}.block-editor-block-mobile-toolbar .block-editor-block-mover-button .dashicon{margin:auto}.block-editor-block-mobile-toolbar .block-editor-block-mover{display:flex;margin-right:auto}.block-editor-block-mobile-toolbar .block-editor-block-mover .block-editor-block-mover-button{float:left}.block-editor-block-mover-button__description{display:none}.block-editor-block-mover-button.has-icon{padding:0}.block-editor-block-mover{display:inline-flex;flex-direction:row}.block-editor-block-mover .block-editor-block-mover__move-button-container,.block-editor-block-mover .components-toolbar{flex:1;flex-direction:row;border-right:none!important}@media (min-width:600px){.block-editor-block-mover .block-editor-block-mover__move-button-container,.block-editor-block-mover .components-toolbar{flex-direction:column}}.block-editor-block-mover.is-horizontal .block-editor-block-mover__move-button-container,.block-editor-block-mover.is-horizontal .components-toolbar{flex-direction:row}.block-editor-block-mover .block-editor-block-mover-button.block-editor-block-mover-button{padding-right:0;padding-left:0;min-width:36px}@media (min-width:600px){.block-editor-block-mover .block-editor-block-mover-button{height:24px;width:42px;padding-right:11px!important;padding-left:6px!important}.block-editor-block-mover .block-editor-block-mover-button.block-editor-block-mover-button{min-width:42px}}@media (min-width:600px){.block-editor-block-mover .block-editor-block-mover-button:before{left:8px!important;right:8px!important}}.block-editor-block-mover .block-editor-block-mover__drag-handle{width:24px;cursor:grab;min-width:24px!important;padding:0!important}.block-editor-block-mover .block-editor-block-mover__drag-handle:focus:before{left:0!important;right:0!important}@media (min-width:600px){.block-editor-block-mover .components-toolbar-group .block-editor-block-mover-button,.block-editor-block-mover .components-toolbar .block-editor-block-mover-button{margin:0 auto 0 0}.block-editor-block-mover .components-toolbar-group .block-editor-block-mover-button.is-up-button:before,.block-editor-block-mover .components-toolbar .block-editor-block-mover-button.is-up-button:before{bottom:0;height:calc(100% - 1px)}.block-editor-block-mover .components-toolbar-group .block-editor-block-mover-button.is-down-button:before,.block-editor-block-mover .components-toolbar .block-editor-block-mover-button.is-down-button:before{top:0;height:calc(100% - 1px)}}.block-editor-block-mover.is-horizontal .block-editor-block-mover-button.has-icon{height:48px;width:24px;padding-left:0;padding-right:0}.block-editor-block-mover.is-horizontal .block-editor-block-mover-button.has-icon:before{top:1px;bottom:1px;min-width:0;width:auto;height:auto}.block-editor-block-mover.is-horizontal .block-editor-block-mover-button.is-up-button.has-icon svg{margin-left:0;margin-right:-8px;margin-bottom:0}.block-editor-block-mover.is-horizontal .block-editor-block-mover-button.is-up-button.has-icon:before{left:0!important;right:0!important}.block-editor-block-mover.is-horizontal .block-editor-block-mover-button.is-down-button.has-icon svg{margin-left:-8px;margin-right:0;margin-top:0}.block-editor-block-mover.is-horizontal .block-editor-block-mover-button.is-down-button.has-icon:before{left:0!important;right:0!important;width:calc(100% + 1px)}.block-editor-block-navigation__label{margin:0 0 12px;color:#757575;text-transform:uppercase;font-size:11px;font-weight:500}.block-editor-block-navigation__container{min-width:280px}.block-editor-block-navigation-tree{width:100%;border-collapse:collapse;padding:0;margin:0}.components-modal__content .block-editor-block-navigation-tree{margin:-12px -6px 0;width:calc(100% + 12px)}.block-editor-block-navigation-leaf{position:relative}.block-editor-block-navigation-leaf.is-selected .block-editor-block-navigation-block-contents{background:var(--wp-admin-theme-color);color:#fff}.block-editor-block-navigation-leaf.is-selected .block-editor-block-navigation-block-contents:focus{box-shadow:inset 0 0 0 1px #fff,0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.block-editor-block-navigation-leaf.is-branch-selected.is-selected .block-editor-block-navigation-block-contents{border-radius:2px 2px 0 0}.block-editor-block-navigation-leaf.is-branch-selected:not(.is-selected) .block-editor-block-navigation-block-contents{background:linear-gradient(hsla(0,0%,100%,.9),hsla(0,0%,100%,.9)),linear-gradient(var(--wp-admin-theme-color),var(--wp-admin-theme-color));border-radius:0}.block-editor-block-navigation-leaf.is-branch-selected.is-last-of-selected-branch .block-editor-block-navigation-block-contents{border-radius:0 0 2px 2px}.block-editor-block-navigation-leaf.is-dragging{display:none}.block-editor-block-navigation-leaf .block-editor-block-navigation-block-contents{display:flex;align-items:center;width:100%;height:auto;padding:6px 12px;text-align:left;color:#1e1e1e;border-radius:2px;position:relative;white-space:nowrap}.block-editor-block-navigation-leaf .block-editor-block-navigation-block-contents:focus,.block-editor-block-navigation-leaf .block-editor-block-navigation-block-contents:hover{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.block-editor-block-navigation-leaf .block-editor-block-navigation-block-contents:focus{z-index:1}.block-editor-block-navigation-leaf .block-editor-block-navigation-block-contents.is-dropping-before:before{content:"";position:absolute;pointer-events:none;transition:border-color .1s linear,border-style .1s linear,box-shadow .1s linear;top:-2px;right:0;left:0;border-top:4px solid var(--wp-admin-theme-color)}.block-editor-block-navigation-leaf .block-editor-block-navigation-block-contents.is-dropping-after:before{content:"";position:absolute;pointer-events:none;transition:border-color .1s linear,border-style .1s linear,box-shadow .1s linear;bottom:-2px;right:0;left:0;border-bottom:4px solid var(--wp-admin-theme-color)}.block-editor-block-navigation-leaf .block-editor-block-navigation-block-contents.is-dropping-to-inner-blocks:before{content:"";position:absolute;pointer-events:none;transition:border-color .1s linear,border-style .1s linear,box-shadow .1s linear;bottom:-2px;right:0;left:24px;border-bottom:4px solid var(--wp-admin-theme-color)}.components-modal__content .block-editor-block-navigation-leaf .block-editor-block-navigation-block-contents{padding-left:0;padding-right:0}.block-editor-block-navigation-leaf.is-visible .block-editor-block-navigation-block-contents{opacity:1;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-block-navigation-leaf.is-visible .block-editor-block-navigation-block-contents{animation-duration:1ms;animation-delay:0s}}.block-editor-block-navigation-leaf .block-editor-block-icon{align-self:flex-start;margin-right:10px;width:20px}.block-editor-block-navigation-leaf .block-editor-block-navigation-block__contents-cell,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell{padding-top:0;padding-bottom:0}.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell{line-height:0;width:36px;opacity:0;vertical-align:top}@media (prefers-reduced-motion:reduce){.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell{transition-duration:0s;transition-delay:0s}}.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell.is-visible,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell:hover,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell.is-visible,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell:hover{position:relative;z-index:1;opacity:1;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell.is-visible,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell:hover,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell.is-visible,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell:hover{animation-duration:1ms;animation-delay:0s}}.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell .components-button.has-icon,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell,.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell .components-button.has-icon{width:24px;min-width:24px;padding:0}.block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell{padding-top:8px}.block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell-alignment-wrapper{display:flex;height:100%;flex-direction:column;align-items:center}.block-editor-block-navigation-leaf .block-editor-block-mover-button{position:relative;width:36px;height:24px}.block-editor-block-navigation-leaf .block-editor-block-mover-button svg{position:relative;height:24px}.block-editor-block-navigation-leaf .block-editor-block-mover-button.is-up-button{margin-top:-6px;align-items:flex-end}.block-editor-block-navigation-leaf .block-editor-block-mover-button.is-up-button svg{bottom:-4px}.block-editor-block-navigation-leaf .block-editor-block-mover-button.is-down-button{margin-bottom:-6px;align-items:flex-start}.block-editor-block-navigation-leaf .block-editor-block-mover-button.is-down-button svg{top:-4px}.block-editor-block-navigation-leaf .block-editor-block-mover-button:focus,.block-editor-block-navigation-leaf .block-editor-block-mover-button:focus:enabled{box-shadow:none;outline:none}.block-editor-block-navigation-leaf .block-editor-block-mover-button:focus:before{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color),inset 0 0 0 4px #fff;outline:2px solid transparent}.block-editor-block-navigation-leaf .block-editor-block-mover-button:before{content:"";position:absolute;display:block;border-radius:2px;height:16px;min-width:100%;left:0;right:0;animation:components-button__appear-animation .1s ease;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-block-navigation-leaf .block-editor-block-mover-button:before{animation-duration:1ms;animation-delay:0s}}.block-editor-block-navigation-leaf .block-editor-inserter__toggle{background:#1e1e1e;color:#fff;height:24px;margin:6px 6px 6px 1px;min-width:24px}.block-editor-block-navigation-leaf .block-editor-inserter__toggle:active{color:#fff}.block-editor-block-navigation-leaf .block-editor-block-navigation-block-select-button__anchor{background:rgba(0,0,0,.1);border-radius:2px;display:inline-block;padding:2px 6px;margin:0 8px;max-width:120px;overflow:hidden;text-overflow:ellipsis}.block-editor-block-navigation-leaf.is-selected .block-editor-block-navigation-block-select-button__anchor{background:rgba(0,0,0,.3)}.block-editor-block-navigation-appender__description,.block-editor-block-navigation-block-select-button__description,.block-editor-block-navigation-block-slot__description{display:none}.block-editor-block-navigation-appender__cell .block-editor-block-navigation-appender__container,.block-editor-block-navigation-appender__cell .block-editor-block-navigation-block__contents-container,.block-editor-block-navigation-block__contents-cell .block-editor-block-navigation-appender__container,.block-editor-block-navigation-block__contents-cell .block-editor-block-navigation-block__contents-container{display:flex}.block-editor-block-navigation-leaf[aria-level] .block-editor-block-icon{margin-left:224px}.block-editor-block-navigation-leaf[aria-level="1"] .block-editor-block-icon{margin-left:0}.block-editor-block-navigation-leaf[aria-level="2"] .block-editor-block-icon{margin-left:28px}.block-editor-block-navigation-leaf[aria-level="3"] .block-editor-block-icon{margin-left:56px}.block-editor-block-navigation-leaf[aria-level="4"] .block-editor-block-icon{margin-left:84px}.block-editor-block-navigation-leaf[aria-level="5"] .block-editor-block-icon{margin-left:112px}.block-editor-block-navigation-leaf[aria-level="6"] .block-editor-block-icon{margin-left:140px}.block-editor-block-navigation-leaf[aria-level="7"] .block-editor-block-icon{margin-left:168px}.block-editor-block-navigation-leaf[aria-level="8"] .block-editor-block-icon{margin-left:196px}.block-editor-block-navigation-leaf[aria-level="9"] .block-editor-block-icon{margin-left:224px}.block-editor-block-parent-selector{background:#fff;border-radius:2px}.block-editor-block-parent-selector .block-editor-block-parent-selector__button{width:48px;height:48px;border:1px solid #1e1e1e;border-radius:2px}.block-editor-block-patterns-list__list-item{cursor:pointer;margin-top:16px}.block-editor-block-patterns-list__list-item.is-placeholder{min-height:100px}.block-editor-block-patterns-list__list-item[draggable=true] .block-editor-block-preview__container{cursor:grab}.block-editor-block-patterns-list__item{height:100%;border-radius:2px;transition:all .05s ease-in-out;position:relative;border:1px solid transparent}.block-editor-block-patterns-list__item:hover{border:1px solid var(--wp-admin-theme-color)}.block-editor-block-patterns-list__item:focus{box-shadow:inset 0 0 0 1px #fff,0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);outline:2px solid transparent}.block-editor-block-patterns-list__item-title{padding:4px;font-size:12px;text-align:center}.block-editor-block-preview__container{position:relative;width:100%;overflow:hidden}.block-editor-block-preview__container.editor-styles-wrapper{padding:0;margin:0}.block-editor-block-preview__container .block-editor-block-preview__content{position:absolute;top:0;left:0;transform-origin:top left;text-align:initial;margin:0;overflow:visible;min-height:auto}.block-editor-block-preview__container .block-editor-block-preview__content .block-editor-block-drop-zone,.block-editor-block-preview__container .block-editor-block-preview__content .block-editor-block-list__insertion-point,.block-editor-block-preview__container .block-editor-block-preview__content .block-list-appender,.block-editor-block-preview__container .block-editor-block-preview__content .reusable-block-indicator{display:none}.block-editor-block-preview__container .block-editor-block-preview__content .block-editor-block-list__layout.is-root-container{padding-left:0;padding-right:0}.block-editor-block-preview__container .block-editor-block-preview__content .block-editor-block-list__layout.is-root-container>.wp-block[data-align=full]{margin-left:0;margin-right:0}.block-editor-block-settings-menu__popover .components-dropdown-menu__menu{padding:0}.block-editor-block-styles{display:flex;flex-wrap:wrap;justify-content:space-between}.block-editor-block-styles__item{width:calc(50% - 4px);margin:4px 0;flex-shrink:0;cursor:pointer;overflow:hidden;border-radius:2px;padding:6px;display:flex;flex-direction:column}.block-editor-block-styles__item:focus{box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);outline:2px solid transparent}.block-editor-block-styles__item:hover .block-editor-block-styles__item-preview{border-color:var(--wp-admin-theme-color)}.block-editor-block-styles__item.is-active .block-editor-block-styles__item-label{font-weight:700}.block-editor-block-styles__item.is-active .block-editor-block-styles__item-preview{margin:0;border:2px solid #1e1e1e}.block-editor-block-styles__item .block-editor-block-preview__container{cursor:inherit}.block-editor-block-styles__item-preview{outline:1px solid transparent;padding:0;margin:2px;border-radius:2px;display:flex;overflow:hidden;background:#fff;align-items:center;flex-grow:1;min-height:80px;max-height:160px}.block-editor-block-switcher__styles__menugroup{position:relative}.block-editor-block-styles__item-label{text-align:center;padding:4px 0}.block-editor-block-switcher,.block-editor-block-switcher__no-switcher-icon,.block-editor-block-switcher__toggle{position:relative}.components-button.block-editor-block-switcher__no-switcher-icon,.components-button.block-editor-block-switcher__toggle{margin:0;display:block;height:48px}.components-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-icon,.components-button.block-editor-block-switcher__toggle .block-editor-block-icon{margin:auto}.block-editor-block-switcher__toggle-text{margin-left:8px}.show-icon-labels .block-editor-block-switcher__toggle-text{display:none}.show-icon-labels .block-editor-block-toolbar .block-editor-block-switcher .components-button.has-icon:after{font-size:14px}.block-editor-block-switcher__popover{margin-left:6px}.components-button.block-editor-block-switcher__no-switcher-icon{width:48px}.components-button.block-editor-block-switcher__no-switcher-icon .block-editor-blocks-icon{margin-right:auto;margin-left:auto}.components-button.block-editor-block-switcher__no-switcher-icon:disabled{opacity:1}.components-button.block-editor-block-switcher__no-switcher-icon:disabled,.components-button.block-editor-block-switcher__no-switcher-icon:disabled .block-editor-block-icon.has-colors{color:#1e1e1e}.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon .block-editor-block-icon,.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__toggle.has-icon.has-icon .block-editor-block-icon,.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon .block-editor-block-icon,.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__toggle.has-icon.has-icon .block-editor-block-icon{height:100%;position:relative;margin:0 auto;display:flex;align-items:center;min-width:100%}.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon:before,.block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__toggle.has-icon.has-icon:before,.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon:before,.block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__toggle.has-icon.has-icon:before{top:8px;right:8px;bottom:8px;left:8px}.components-popover.block-editor-block-switcher__popover .components-popover__content{min-width:300px}.components-popover.block-editor-block-switcher__popover .components-popover__content>div{min-width:auto;display:flex;background:#fff;padding:0}.components-popover.block-editor-block-switcher__popover .components-popover__content>div .components-menu-group{margin:0}.block-editor-block-switcher__popover .components-popover__content .block-editor-block-styles{margin:0 -3px}.block-editor-block-switcher__popover .components-popover__content .components-panel__body{border:0;position:relative;z-index:1}.block-editor-block-switcher__popover .components-popover__content .components-panel__body+.components-panel__body{border-top:1px solid #e0e0e0}.block-editor-block-switcher__popover__preview__parent .block-editor-block-switcher__popover__preview__container{position:absolute;top:-12px;left:calc(100% + 32px)}.block-editor-block-switcher__preview__popover{display:none}.block-editor-block-switcher__preview__popover.components-popover{margin-left:4px;margin-top:11px}@media (min-width:782px){.block-editor-block-switcher__preview__popover{display:block}}.block-editor-block-switcher__preview__popover .components-popover__content{box-shadow:none;border:1px solid #1e1e1e;background:#fff;border-radius:2px}.block-editor-block-switcher__preview__popover .block-editor-block-switcher__preview{width:300px;height:auto;max-height:500px;padding:16px}.block-editor-block-switcher__preview-title{margin-bottom:12px;color:#757575;text-transform:uppercase;font-size:11px;font-weight:500}.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__no-switcher-icon{width:48px}.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__no-switcher-icon,.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__toggle{height:48px}.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-icon,.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-switcher__transform,.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__toggle .block-editor-block-icon,.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{width:48px;height:48px}.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-switcher__transform,.block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{padding:12px}.block-editor-block-switcher__preview-patterns-container{padding-bottom:16px}.block-editor-block-switcher__preview-patterns-container .block-editor-block-switcher__preview-patterns-container-list__list-item{margin-top:16px}.block-editor-block-switcher__preview-patterns-container .block-editor-block-switcher__preview-patterns-container-list__list-item .block-editor-block-preview__container{cursor:pointer}.block-editor-block-switcher__preview-patterns-container .block-editor-block-switcher__preview-patterns-container-list__list-item .block-editor-block-switcher__preview-patterns-container-list__item{height:100%;border-radius:2px;transition:all .05s ease-in-out;position:relative;border:1px solid transparent}.block-editor-block-switcher__preview-patterns-container .block-editor-block-switcher__preview-patterns-container-list__list-item .block-editor-block-switcher__preview-patterns-container-list__item:focus,.block-editor-block-switcher__preview-patterns-container .block-editor-block-switcher__preview-patterns-container-list__list-item .block-editor-block-switcher__preview-patterns-container-list__item:hover{box-shadow:inset 0 0 0 1px #fff,0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);outline:2px solid transparent}.block-editor-block-switcher__preview-patterns-container .block-editor-block-switcher__preview-patterns-container-list__list-item .block-editor-block-switcher__preview-patterns-container-list__item:hover{box-shadow:inset 0 0 0 1px #fff,0 0 0 var(--wp-admin-border-width-focus) #1e1e1e}.block-editor-block-switcher__preview-patterns-container .block-editor-block-switcher__preview-patterns-container-list__list-item .block-editor-block-switcher__preview-patterns-container-list__item .block-editor-block-switcher__preview-patterns-container-list__item-title{padding:4px;font-size:12px;text-align:center;cursor:pointer}.block-editor-block-types-list>[role=presentation]{padding:4px;margin-left:-4px;margin-right:-4px;overflow:hidden;display:flex;flex-wrap:wrap}.block-editor-block-variation-picker .components-placeholder__instructions{margin-bottom:0}.block-editor-block-variation-picker .components-placeholder__fieldset{flex-direction:column}.block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset{max-width:90%}.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations{display:flex;justify-content:flex-start;flex-direction:row;flex-wrap:wrap;width:100%;margin:16px 0;padding:0;list-style:none}.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations>li{list-style:none;margin:8px 20px 0 0;flex-shrink:1;width:75px;text-align:center}.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations>li button{display:inline-flex;margin-right:0}.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations .block-editor-block-variation-picker__variation{padding:8px}.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations .block-editor-block-variation-picker__variation-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:12px;display:block;line-height:1.4}.block-editor-block-variation-picker__variation{width:100%}.block-editor-block-variation-picker__variation.components-button.has-icon{justify-content:center;width:auto}.block-editor-block-variation-picker__variation.components-button.has-icon.is-secondary{background-color:#fff}.block-editor-block-variation-picker__variation.components-button{height:auto;padding:0}.block-editor-block-variation-picker__variation:before{content:"";padding-bottom:100%}.block-editor-block-variation-picker__variation:first-child{margin-left:0}.block-editor-block-variation-picker__variation:last-child{margin-right:0}.block-editor-block-pattern-setup{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;width:100%;border-radius:2px;box-shadow:inset 0 0 0 1px #1e1e1e;outline:1px solid transparent}.block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__toolbar{justify-content:center}.block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container{display:grid;grid-template-columns:1fr 1fr;grid-gap:16px;padding:16px;max-height:550px;overflow:auto;margin:0 1px 1px;width:calc(100% - 2px);background:#fff}.block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container .block-editor-block-preview__container,.block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container div[role=button]{cursor:pointer}.block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container .block-editor-block-pattern-setup-list__item-title{padding:4px;font-size:12px;text-align:center}.block-editor-block-pattern-setup.view-mode-grid .block-editor-block-pattern-setup__container .block-editor-block-preview__container{border-radius:2px;border:1px solid #ddd}.block-editor-block-pattern-setup .block-editor-block-pattern-setup__toolbar{box-sizing:border-box;position:relative;padding:16px;width:100%;text-align:left;margin:0;color:#1e1e1e;border-radius:2px 2px 0 0;background-color:#fff;box-shadow:inset 0 0 0 1px #1e1e1e;outline:1px solid transparent;display:flex;flex-direction:row;align-items:center;justify-content:space-between}.block-editor-block-pattern-setup .block-editor-block-pattern-setup__toolbar .block-editor-block-pattern-setup__display-controls{display:flex}.block-editor-block-pattern-setup .block-editor-block-pattern-setup__toolbar .block-editor-block-pattern-setup__actions,.block-editor-block-pattern-setup .block-editor-block-pattern-setup__toolbar .block-editor-block-pattern-setup__navigation{width:calc(50% - 36px);display:flex}.block-editor-block-pattern-setup .block-editor-block-pattern-setup__toolbar .block-editor-block-pattern-setup__actions{justify-content:flex-end}.block-editor-block-pattern-setup .block-editor-block-pattern-setup__container{display:flex;flex-direction:column;width:100%;box-sizing:border-box}.block-editor-block-pattern-setup .block-editor-block-pattern-setup__container .carousel-container{overflow:hidden;position:relative;padding:0;margin:0;list-style:none;transform-style:preserve-3d}.block-editor-block-pattern-setup .block-editor-block-pattern-setup__container .carousel-container *{box-sizing:border-box}.block-editor-block-pattern-setup .block-editor-block-pattern-setup__container .carousel-container .pattern-slide{opacity:0;position:absolute;top:0;width:100%;margin:auto;padding:16px;transition:transform .5s,opacity .5s,z-index .5s;z-index:100}.block-editor-block-pattern-setup .block-editor-block-pattern-setup__container .carousel-container .pattern-slide.active-slide{opacity:1;position:relative;z-index:102}.block-editor-block-pattern-setup .block-editor-block-pattern-setup__container .carousel-container .pattern-slide.previous-slide{transform:translateX(-100%);z-index:101}.block-editor-block-pattern-setup .block-editor-block-pattern-setup__container .carousel-container .pattern-slide.next-slide{transform:translateX(100%);z-index:101}.block-editor-block-pattern-setup .block-editor-block-pattern-setup__container .block-list-appender{display:none}.block-editor-block-variation-transforms{padding:0 16px 16px 56px;width:100%}.block-editor-block-variation-transforms .components-dropdown-menu__toggle{border:1px solid #757575;border-radius:2px;min-height:30px;width:100%;position:relative;text-align:left;justify-content:left;padding:6px 12px}.block-editor-block-variation-transforms .components-dropdown-menu__toggle.components-dropdown-menu__toggle{padding-right:24px}.block-editor-block-variation-transforms .components-dropdown-menu__toggle:focus:not(:disabled){border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 calc(var(--wp-admin-border-width-focus) - 1px) var(--wp-admin-theme-color)}.block-editor-block-variation-transforms .components-dropdown-menu__toggle svg{height:100%;padding:0;position:absolute;right:0;top:0}.block-editor-block-variation-transforms__popover .components-popover__content{min-width:230px}.components-border-style-control__select{margin-bottom:24px}.components-border-style-control__select button{width:100%}.components-border-style-control__select ul li,.components-border-style-control__select ul li:last-child{margin:6px}.block-editor-button-block-appender{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:8px;width:100%;height:auto;color:#1e1e1e;box-shadow:inset 0 0 0 1px #1e1e1e}.is-dark-theme .block-editor-button-block-appender{color:hsla(0,0%,100%,.65);box-shadow:inset 0 0 0 1px hsla(0,0%,100%,.65)}.block-editor-button-block-appender:hover{color:var(--wp-admin-theme-color);box-shadow:inset 0 0 0 1px var(--wp-admin-theme-color)}.block-editor-button-block-appender:focus{box-shadow:inset 0 0 0 2px var(--wp-admin-theme-color)}.block-editor-button-block-appender:active{color:#000}.block-editor-button-block-appender.block-list-appender__toggle{display:flex;flex-direction:row;box-shadow:none;height:24px;width:24px}.block-editor-button-block-appender.block-list-appender__toggle>svg{width:24px;background-color:#1e1e1e;color:#fff;border-radius:2px}.block-editor-color-gradient-control .block-editor-color-gradient-control__color-indicator{margin-bottom:12px}.block-editor-color-gradient-control .block-editor-color-gradient-control__button-tabs{display:block;margin-bottom:12px}.block-editor-panel-color-gradient-settings .component-color-indicator{vertical-align:text-bottom}.block-editor-panel-color-gradient-settings__panel-title .component-color-indicator{display:inline-block}.block-editor-panel-color-gradient-settings.is-opened .block-editor-panel-color-gradient-settings__panel-title .component-color-indicator{display:none}@media screen and (min-width:782px){.block-editor-panel-color-gradient-settings .components-circular-option-picker__swatches{margin-right:0}.block-editor-panel-color-gradient-settings .components-circular-option-picker__option-wrapper{margin-right:calc(20% - 33.6px)}.block-editor-panel-color-gradient-settings .components-circular-option-picker__option-wrapper:nth-child(6n+6){margin-right:0}}.block-editor-contrast-checker>.components-notice{margin:0}.block-editor-default-block-appender{clear:both;margin-left:auto;margin-right:auto;position:relative}.block-editor-default-block-appender[data-root-client-id=""] .block-editor-default-block-appender__content:hover{outline:1px solid transparent}.block-editor-default-block-appender .block-editor-default-block-appender__content{opacity:.62}.block-editor-default-block-appender .components-drop-zone__content-icon{display:none}.block-editor-block-list__empty-block-inserter.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter{position:absolute;top:0;height:32px}.block-editor-block-list__empty-block-inserter.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle,.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle{margin-right:0}.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter{right:8px}@media (min-width:600px){.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter{display:flex;height:100%}}.block-editor-block-list__empty-block-inserter:disabled,.block-editor-default-block-appender .block-editor-inserter:disabled{display:none}.block-editor-duotone-control__popover .components-popover__content{border:1px solid #1e1e1e;min-width:214px}.block-editor-duotone-control__popover .components-circular-option-picker{padding:12px}.block-editor-duotone-control__popover .components-menu-group__label{padding:12px 12px 0;width:100%;box-sizing:border-box}.block-editor-duotone-control__popover>.components-popover__content{width:334px}.block-editor-duotone-control__popover:not([data-y-axis=middle][data-x-axis=right])>.components-popover__content{margin-left:-14px}.components-font-appearance-control__select{margin-bottom:24px}.components-font-appearance-control__select ul li{color:#1e1e1e;text-transform:capitalize}.items-justified-left{justify-content:flex-start}.items-justified-center{justify-content:center}.items-justified-right{justify-content:flex-end}.items-justified-space-between{justify-content:space-between}.block-editor-link-control{position:relative;min-width:360px}.components-popover__content .block-editor-link-control{min-width:auto;width:90vw;max-width:360px}.block-editor-link-control__search-input-wrapper{position:relative}.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;font-size:16px;line-height:normal;width:calc(100% - 32px);display:block;padding:11px 36px 11px 16px;margin:16px;position:relative;border:1px solid #ddd;border-radius:2px}@media (prefers-reduced-motion:reduce){.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]{font-size:13px;line-height:normal}}.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color);outline:2px solid transparent}.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]::-moz-placeholder{opacity:1;color:rgba(30,30,30,.62)}.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]:-ms-input-placeholder{color:rgba(30,30,30,.62)}.is-dark-theme .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}.block-editor-link-control .block-editor-link-control__search-input .components-base-control__field{margin-bottom:0}.block-editor-link-control__search-error{margin:-8px 16px 16px}.block-editor-link-control__search-actions{position:absolute;top:19px;right:19px}.components-button .block-editor-link-control__search-submit .has-icon{margin:-1px}.block-editor-link-control__search-results-wrapper{position:relative;margin-top:-15px}.block-editor-link-control__search-results-wrapper:after,.block-editor-link-control__search-results-wrapper:before{content:"";position:absolute;left:-1px;right:16px;display:block;pointer-events:none;z-index:100}.block-editor-link-control__search-results-wrapper:before{height:8px;top:0;bottom:auto}.block-editor-link-control__search-results-wrapper:after{height:16px;bottom:0;top:auto}.block-editor-link-control__search-results-label{padding:16px 32px 0;display:block;font-weight:600}.block-editor-link-control__search-results{margin:0;padding:8px 16px;max-height:200px;overflow-y:auto}.block-editor-link-control__search-results.is-loading{opacity:.2}.block-editor-link-control__search-item{position:relative;display:flex;align-items:center;font-size:13px;cursor:pointer;background:#fff;width:100%;border:none;text-align:left;padding:12px 16px;border-radius:5px;height:auto}.block-editor-link-control__search-item:focus,.block-editor-link-control__search-item:hover{background-color:#ddd}.block-editor-link-control__search-item:focus:not(:disabled){box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color) inset}.block-editor-link-control__search-item.is-selected{background:#f0f0f0}.block-editor-link-control__search-item.is-selected .block-editor-link-control__search-item-type{background:#fff}.block-editor-link-control__search-item.is-current{background:transparent;border:0;width:100%;cursor:default;padding:16px 16px 16px 24px}.block-editor-link-control__search-item .block-editor-link-control__search-item-header{display:block;margin-right:8px;overflow:hidden;white-space:nowrap}.block-editor-link-control__search-item .block-editor-link-control__search-item-icon{margin-right:1em;min-width:24px}.block-editor-link-control__search-item .block-editor-link-control__search-item-info,.block-editor-link-control__search-item .block-editor-link-control__search-item-title{overflow:hidden;text-overflow:ellipsis;padding-right:24px}.block-editor-link-control__search-item .block-editor-link-control__search-item-info .components-external-link__icon,.block-editor-link-control__search-item .block-editor-link-control__search-item-title .components-external-link__icon{position:absolute;right:0;margin-top:0}.block-editor-link-control__search-item .block-editor-link-control__search-item-title{display:block;margin-bottom:.2em;font-weight:500;position:relative}.block-editor-link-control__search-item .block-editor-link-control__search-item-title mark{font-weight:700;color:#000;background-color:initial}.block-editor-link-control__search-item .block-editor-link-control__search-item-title span{font-weight:400}.block-editor-link-control__search-item .block-editor-link-control__search-item-info{display:block;color:#757575;font-size:.9em;line-height:1.3}.block-editor-link-control__search-item .block-editor-link-control__search-item-type{display:block;padding:3px 8px;margin-left:auto;font-size:.9em;background-color:#f0f0f0;border-radius:2px}.block-editor-link-control__loading{margin:16px;display:flex;align-items:center}.block-editor-link-control__loading .components-spinner{margin-top:0}.components-button+.block-editor-link-control__search-create{overflow:visible;padding:12px 16px}.components-button+.block-editor-link-control__search-create:before{content:"";position:absolute;top:-10px;left:0;display:block;width:100%}.block-editor-link-control__search-results div[role=menu]>.block-editor-link-control__search-item.block-editor-link-control__search-item{padding:10px}.block-editor-link-control__settings{border-top:1px solid #ddd;margin:0;padding:16px 24px}.block-editor-link-control__settings :last-child{margin-bottom:0}.is-alternate .block-editor-link-control__settings{border-top:1px solid #1e1e1e}.block-editor-link-control__setting{margin-bottom:16px}.block-editor-link-control__setting :last-child{margin-bottom:0}.block-editor-link-control .block-editor-link-control__search-input .components-spinner{display:block}.block-editor-link-control .block-editor-link-control__search-input .components-spinner.components-spinner{position:absolute;left:auto;bottom:auto;top:28px;right:62px}.block-editor-link-control__search-item-action{margin-left:auto;flex-shrink:0}.block-editor-line-height-control{margin-bottom:24px}.block-editor-line-height-control input{display:block;max-width:60px}.block-editor-image-size-control{margin-bottom:1em}.block-editor-image-size-control .block-editor-image-size-control__row{display:flex;justify-content:space-between}.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height,.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width{margin-bottom:.5em}.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height input,.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width input{line-height:1.25}.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width{margin-right:5px}.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height{margin-left:5px}.block-editor-block-list__layout.has-overlay:after{content:"";position:absolute;top:-14px;right:-14px;bottom:-14px;left:-14px;z-index:60}[data-align=full] .has-overlay:after{right:0;left:0}.block-editor-block-types-list__list-item{display:block;width:33.33%;padding:0;margin:0}.components-button.block-editor-block-types-list__item{display:flex;flex-direction:column;width:100%;font-size:13px;color:#1e1e1e;padding:8px;align-items:stretch;justify-content:center;cursor:pointer;background:transparent;word-break:break-word;border-radius:2px;border:1px solid transparent;transition:all .05s ease-in-out;position:relative;height:auto}@media (prefers-reduced-motion:reduce){.components-button.block-editor-block-types-list__item{transition-duration:0s;transition-delay:0s}}.components-button.block-editor-block-types-list__item:disabled{opacity:.6;cursor:default}.components-button.block-editor-block-types-list__item:not(:disabled):hover{border-color:var(--wp-admin-theme-color);color:var(--wp-admin-theme-color)!important}.components-button.block-editor-block-types-list__item:not(:disabled).is-active{color:#fff;background:#1e1e1e;outline:2px solid transparent;outline-offset:-2px}.block-editor-block-types-list__item-icon{padding:12px 20px;border-radius:2px;color:#1e1e1e;transition:all .05s ease-in-out}@media (prefers-reduced-motion:reduce){.block-editor-block-types-list__item-icon{transition-duration:0s;transition-delay:0s}}.block-editor-block-types-list__item-icon .block-editor-block-icon{margin-left:auto;margin-right:auto}.block-editor-block-types-list__item-icon svg{transition:all .15s ease-out}@media (prefers-reduced-motion:reduce){.block-editor-block-types-list__item-icon svg{transition-duration:0s;transition-delay:0s}}.block-editor-block-types-list__list-item[draggable=true] .block-editor-block-types-list__item-icon{cursor:grab}.block-editor-block-types-list__item-title{padding:4px 2px 8px;font-size:12px}.modal-open .block-editor-media-replace-flow__options{display:none}.block-editor-media-replace-flow__options .components-popover__content>div{padding-top:16px}.block-editor-media-replace-flow__indicator{margin-left:4px}.block-editor-media-flow__url-input{border-top:1px solid #1e1e1e;margin-top:12px;margin-right:-12px;margin-left:-12px;padding:12px 24px 0}.block-editor-media-flow__url-input .block-editor-media-replace-flow__image-url-label{top:16px}.block-editor-media-flow__url-input .block-editor-link-control{margin-top:-16px;width:auto}.block-editor-media-flow__url-input .block-editor-link-control .components-base-control .components-base-control__field{margin-bottom:0}.block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__search-item-title{max-width:180px;margin-top:16px}.block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__search-item.is-current{width:auto;padding:0}.block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]{margin:16px 0 0;width:100%}.block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__search-actions{right:4px}.block-editor-media-flow__error{padding:0 20px 20px;max-width:255px}.block-editor-media-flow__error .components-with-notices-ui{max-width:255px}.block-editor-media-flow__error .components-with-notices-ui .components-notice__content{overflow:hidden;word-wrap:break-word}.block-editor-media-flow__error .components-with-notices-ui .components-notice__dismiss{position:absolute;right:10px}.block-editor-media-placeholder__url-input-container .block-editor-media-placeholder__button{margin-bottom:0}.block-editor-media-placeholder__url-input-form{display:flex}.block-editor-media-placeholder__url-input-form input[type=url].block-editor-media-placeholder__url-input-field{width:100%;flex-grow:1;border:none;border-radius:0;margin:2px}@media (min-width:600px){.block-editor-media-placeholder__url-input-form input[type=url].block-editor-media-placeholder__url-input-field{width:300px}}.block-editor-media-placeholder__url-input-submit-button{flex-shrink:1}.block-editor-media-placeholder__button{margin-bottom:.5rem}.block-editor-media-placeholder__cancel-button.is-link{margin:1em;display:block}.block-editor-media-placeholder.is-appender{min-height:0}.block-editor-media-placeholder.is-appender:hover{cursor:pointer;box-shadow:0 0 0 1px var(--wp-admin-theme-color)}.block-editor-multi-selection-inspector__card{display:flex;align-items:flex-start;padding:16px}.block-editor-multi-selection-inspector__card-content{flex-grow:1}.block-editor-multi-selection-inspector__card-title{font-weight:500;margin-bottom:5px}.block-editor-multi-selection-inspector__card-description{font-size:13px}.block-editor-multi-selection-inspector__card .block-editor-block-icon{margin-left:-2px;margin-right:10px;padding:0 3px;width:36px;height:24px}.block-editor-plain-text{box-shadow:none;font-family:inherit;font-size:inherit;color:inherit;line-height:inherit;border:none;padding:0;margin:0;width:100%}.block-editor-responsive-block-control{margin-bottom:28px;border-bottom:1px solid #ccc;padding-bottom:14px}.block-editor-responsive-block-control:last-child{padding-bottom:0;border-bottom:0}.block-editor-responsive-block-control__title{margin:0 0 .6em -3px}.block-editor-responsive-block-control__label{font-weight:600;margin-bottom:.6em;margin-left:-3px}.block-editor-responsive-block-control__inner{margin-left:-1px}.block-editor-responsive-block-control__toggle{margin-left:1px}.block-editor-responsive-block-control .components-base-control__help{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.block-editor-rich-text__editable>p:first-child{margin-top:0}.block-editor-rich-text__editable [data-rich-text-placeholder]{pointer-events:none}.block-editor-rich-text__editable [data-rich-text-placeholder]:after{content:attr(data-rich-text-placeholder);opacity:.62}.block-editor-rich-text__editable:focus{outline:none}.block-editor-rich-text__editable:focus [data-rich-text-format-boundary]{border-radius:2px}figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]:before{opacity:.8}.components-popover.block-editor-rich-text__inline-format-toolbar{z-index:99998}.components-popover.block-editor-rich-text__inline-format-toolbar .components-popover__content{width:auto;min-width:auto;margin-bottom:8px;box-shadow:none;border:1px solid #1e1e1e;border-radius:2px;background-color:#fff}.components-popover.block-editor-rich-text__inline-format-toolbar .components-toolbar,.components-popover.block-editor-rich-text__inline-format-toolbar .components-toolbar-group{border:none}.components-popover.block-editor-rich-text__inline-format-toolbar .components-dropdown-menu__toggle,.components-popover.block-editor-rich-text__inline-format-toolbar .components-toolbar__control{min-width:48px;min-height:48px;padding-left:12px;padding-right:12px}.block-editor-rich-text__inline-format-toolbar-group .components-dropdown-menu__toggle{justify-content:center}.show-icon-labels .block-editor-rich-text__inline-format-toolbar-group .components-button.has-icon{width:auto}.show-icon-labels .block-editor-rich-text__inline-format-toolbar-group .components-button.has-icon svg{display:none}.show-icon-labels .block-editor-rich-text__inline-format-toolbar-group .components-button.has-icon:after{content:attr(aria-label)}.block-editor-skip-to-selected-block{position:absolute;top:-9999em}.block-editor-skip-to-selected-block:focus{height:auto;width:auto;display:block;font-size:14px;font-weight:600;padding:15px 23px 14px;background:#f1f1f1;color:var(--wp-admin-theme-color);line-height:normal;box-shadow:0 0 2px 2px rgba(0,0,0,.6);text-decoration:none;outline:none;z-index:100000}.block-editor-text-decoration-and-transform{display:flex}.block-editor-text-transform-control{flex:0 0 50%}.block-editor-text-transform-control legend{margin-bottom:8px}.block-editor-text-transform-control .block-editor-text-transform-control__buttons{display:inline-flex;margin-bottom:24px}.block-editor-text-transform-control .block-editor-text-transform-control__buttons .components-button.has-icon{min-width:24px;padding:0;margin-right:4px}.block-editor-text-decoration-control{flex:0 0 50%}.block-editor-text-decoration-control legend{margin-bottom:8px}.block-editor-text-decoration-control .block-editor-text-decoration-control__buttons{display:inline-flex;margin-bottom:24px}.block-editor-text-decoration-control .block-editor-text-decoration-control__buttons .components-button.has-icon{min-width:24px;padding:0;margin-right:4px}.block-editor-tool-selector__help{margin:8px -12px -12px;padding:12px 20px;border-top:1px solid #ddd;color:#757575;min-width:280px}.block-editor-block-list__block .block-editor-url-input,.block-editor-url-input,.components-popover .block-editor-url-input{flex-grow:1;position:relative;padding:1px}.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{width:100%;padding:8px 8px 8px 12px;border:none;border-radius:0;margin-left:0;margin-right:0;font-size:16px}@media (min-width:600px){.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{width:300px;font-size:13px}}.block-editor-block-list__block .block-editor-url-input input[type=text]::-ms-clear,.block-editor-url-input input[type=text]::-ms-clear,.components-popover .block-editor-url-input input[type=text]::-ms-clear{display:none}.block-editor-block-list__block .block-editor-url-input.is-full-width,.block-editor-block-list__block .block-editor-url-input.is-full-width .block-editor-url-input__input[type=text],.block-editor-block-list__block .block-editor-url-input.is-full-width__suggestions,.block-editor-url-input.is-full-width,.block-editor-url-input.is-full-width .block-editor-url-input__input[type=text],.block-editor-url-input.is-full-width__suggestions,.components-popover .block-editor-url-input.is-full-width,.components-popover .block-editor-url-input.is-full-width .block-editor-url-input__input[type=text],.components-popover .block-editor-url-input.is-full-width__suggestions{width:100%}.block-editor-block-list__block .block-editor-url-input .components-spinner,.block-editor-url-input .components-spinner,.components-popover .block-editor-url-input .components-spinner{position:absolute;right:8px 8px 8px 12px;bottom:8px 8px 8px 12px8px1;margin:0}.block-editor-url-input__input[type=text]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;padding:6px 8px;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:2px;border:1px solid #757575;font-size:16px;line-height:normal}@media (prefers-reduced-motion:reduce){.block-editor-url-input__input[type=text]{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.block-editor-url-input__input[type=text]{font-size:13px;line-height:normal}}.block-editor-url-input__input[type=text]:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color);outline:2px solid transparent}.block-editor-url-input__input[type=text]::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.block-editor-url-input__input[type=text]::-moz-placeholder{opacity:1;color:rgba(30,30,30,.62)}.block-editor-url-input__input[type=text]:-ms-input-placeholder{color:rgba(30,30,30,.62)}.is-dark-theme .block-editor-url-input__input[type=text]::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .block-editor-url-input__input[type=text]::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .block-editor-url-input__input[type=text]:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}.block-editor-url-input__suggestions{max-height:200px;transition:all .15s ease-in-out;padding:4px 0;width:302px;overflow-y:auto}@media (prefers-reduced-motion:reduce){.block-editor-url-input__suggestions{transition-duration:0s;transition-delay:0s}}.block-editor-url-input .components-spinner,.block-editor-url-input__suggestions{display:none}@media (min-width:600px){.block-editor-url-input .components-spinner,.block-editor-url-input__suggestions{display:inherit}}.block-editor-url-input__suggestion{padding:4px 8px 8px;color:#757575;display:block;font-size:13px;cursor:pointer;background:#fff;width:100%;border:none;text-align:left;box-shadow:none}.block-editor-url-input__suggestion:hover{background:#ddd}.block-editor-url-input__suggestion.is-selected,.block-editor-url-input__suggestion:focus{background:var(--wp-admin-theme-color-darker-20);color:#fff;outline:none}.components-toolbar-group>.block-editor-url-input__button,.components-toolbar>.block-editor-url-input__button{position:inherit}.block-editor-url-input__button .block-editor-url-input__back{margin-right:4px;overflow:visible}.block-editor-url-input__button .block-editor-url-input__back:after{content:"";position:absolute;display:block;width:1px;height:24px;right:-1px;background:#ddd}.block-editor-url-input__button-modal{box-shadow:0 2px 6px rgba(0,0,0,.05);border:1px solid #ddd;background:#fff}.block-editor-url-input__button-modal-line{display:flex;flex-direction:row;flex-grow:1;flex-shrink:1;min-width:0;align-items:flex-start}.block-editor-url-input__button-modal-line .components-button{flex-shrink:0;width:36px;height:36px}.block-editor-url-popover__additional-controls{border-top:1px solid #ddd}.block-editor-url-popover__additional-controls>div[role=menu] .components-button:not(:disabled):not([aria-disabled=true]):not(.is-secondary)>svg{box-shadow:none}.block-editor-url-popover__additional-controls div[role=menu]>.components-button{padding-left:12px}.block-editor-url-popover__row{display:flex}.block-editor-url-popover__row>:not(.block-editor-url-popover__settings-toggle){flex-grow:1}.block-editor-url-popover .components-button.has-icon{padding:3px}.block-editor-url-popover .components-button.has-icon>svg{padding:5px;border-radius:2px;height:30px;width:30px}.block-editor-url-popover .components-button.has-icon:not(:disabled):focus{box-shadow:none}.block-editor-url-popover .components-button.has-icon:not(:disabled):focus>svg{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color),inset 0 0 0 4px #fff;outline:2px solid transparent}.block-editor-url-popover__settings-toggle{flex-shrink:0;border-radius:0;border-left:1px solid #ddd;margin-left:1px}.block-editor-url-popover__settings-toggle[aria-expanded=true] .dashicon{transform:rotate(180deg)}.block-editor-url-popover__input-container .components-base-control:last-child,.block-editor-url-popover__input-container .components-base-control:last-child .components-base-control__field{margin-bottom:0}.block-editor-url-popover__settings{display:block;padding:16px;border-top:1px solid #ddd}.block-editor-url-popover__link-editor,.block-editor-url-popover__link-viewer{display:flex}.block-editor-url-popover__link-editor .block-editor-url-input .components-base-control__field,.block-editor-url-popover__link-viewer .block-editor-url-input .components-base-control__field{margin-bottom:0}.block-editor-url-popover__link-editor .block-editor-url-input .components-spinner,.block-editor-url-popover__link-viewer .block-editor-url-input .components-spinner{bottom:8px 8px 8px 12px1}.block-editor-url-popover__link-viewer-url{margin:7px;flex-grow:1;flex-shrink:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:150px;max-width:500px}.block-editor-url-popover__link-viewer-url.has-invalid-link{color:#cc1818}.block-editor-warning{align-items:center;display:flex;flex-wrap:wrap;padding:1em;border:1px solid #1e1e1e;border-radius:2px;background-color:#fff}.block-editor-warning,.block-editor-warning .block-editor-warning__message{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.block-editor-warning .block-editor-warning__message{line-height:1.4;font-size:13px;color:#1e1e1e;margin:0}.block-editor-warning p.block-editor-warning__message.block-editor-warning__message{min-height:auto}.block-editor-warning .block-editor-warning__contents{display:flex;flex-direction:row;justify-content:space-between;flex-wrap:wrap;align-items:baseline;width:100%}.block-editor-warning .block-editor-warning__actions{display:flex;margin-top:1em}.block-editor-warning .block-editor-warning__action{margin:0 8px 0 0}.block-editor-warning__secondary{margin:auto 0 auto 8px}.components-popover.block-editor-warning__dropdown{z-index:99998}.html-anchor-control .components-external-link{display:block;margin-top:8px}.block-editor-hooks__layout-controls{display:flex;margin-bottom:16px}.block-editor-hooks__layout-controls .block-editor-hooks__layout-controls-unit{display:flex;margin-right:24px}.block-editor-hooks__layout-controls .block-editor-hooks__layout-controls-unit svg{margin:auto 0 4px 8px}.block-editor-hooks__layout-controls-reset{display:flex;justify-content:flex-end;margin-bottom:24px}.block-editor-hooks__layout-controls-helptext{font-size:12px}#end-resizable-editor-section{display:none}.block-editor-block-toolbar{display:flex;flex-grow:1;width:100%;overflow:auto;position:relative;transition:border-color .1s linear,box-shadow .1s linear}@media (prefers-reduced-motion:reduce){.block-editor-block-toolbar{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.block-editor-block-toolbar{overflow:inherit}}.block-editor-block-toolbar .components-toolbar,.block-editor-block-toolbar .components-toolbar-group{background:none;line-height:0;margin-top:-1px;margin-bottom:-1px;border:0;border-right:1px solid #ddd}.block-editor-block-toolbar>:last-child,.block-editor-block-toolbar>:last-child .components-toolbar,.block-editor-block-toolbar>:last-child .components-toolbar-group{border-right:none}.block-editor-block-contextual-toolbar.has-parent:not(.is-fixed){margin-left:56px}.show-icon-labels .block-editor-block-contextual-toolbar.has-parent:not(.is-fixed){margin-left:0}.block-editor-block-parent-selector{position:absolute;top:-1px;left:-57px}.show-icon-labels .block-editor-block-parent-selector{position:relative;left:auto;top:auto;margin-top:-1px;margin-left:-1px;margin-bottom:-1px}.block-editor-block-toolbar__block-controls{height:auto!important;padding:0!important;margin-left:-1px}.block-editor-block-toolbar__block-controls .block-editor-block-switcher .components-dropdown-menu__toggle .block-editor-block-icon,.block-editor-block-toolbar__block-controls .block-editor-block-switcher__no-switcher-icon .block-editor-block-icon{width:24px!important;margin:0!important}.block-editor-block-toolbar__block-controls .block-editor-block-switcher .components-dropdown-menu__toggle:focus:before,.block-editor-block-toolbar__block-controls .block-editor-block-switcher__no-switcher-icon:focus:before{right:4px!important}.block-editor-block-toolbar__block-controls .block-editor-block-mover{margin-left:-6px}.block-editor-block-toolbar .components-toolbar,.block-editor-block-toolbar .components-toolbar-group,.block-editor-rich-text__inline-format-toolbar-group .components-toolbar,.block-editor-rich-text__inline-format-toolbar-group .components-toolbar-group{display:flex;flex-wrap:nowrap}.block-editor-block-toolbar__slot{display:inline-block;line-height:0}@supports (position:sticky){.block-editor-block-toolbar__slot{display:inline-flex}}.show-icon-labels .block-editor-block-toolbar .components-button.has-icon{width:auto}.show-icon-labels .block-editor-block-toolbar .components-button.has-icon svg{display:none}.show-icon-labels .block-editor-block-toolbar .components-button.has-icon:after{content:attr(aria-label);font-size:12px}.show-icon-labels .components-accessible-toolbar .components-toolbar-group>div:first-child:last-child>.components-button.has-icon{padding-left:6px;padding-right:6px}.show-icon-labels .block-editor-block-switcher{border-right:1px solid #1e1e1e}.show-icon-labels .block-editor-block-switcher .components-dropdown-menu__toggle{margin-left:0}.show-icon-labels .block-editor-block-switcher .components-dropdown-menu__toggle .block-editor-block-icon,.show-icon-labels .block-editor-block-switcher__no-switcher-icon .block-editor-block-icon{width:0!important;height:0!important}.show-icon-labels .block-editor-block-switcher .components-dropdown-menu__toggle:focus:before,.show-icon-labels .block-editor-block-switcher__no-switcher-icon:focus:before{right:4px!important}.show-icon-labels .block-editor-block-parent-selector__button .block-editor-block-icon{width:0}.show-icon-labels .block-editor-block-toolbar__block-controls .block-editor-block-mover{margin-left:0;white-space:nowrap}.show-icon-labels .block-editor-block-mover-button{padding-left:8px!important;padding-right:8px!important}.show-icon-labels .block-editor-block-mover__drag-handle.has-icon{padding-left:6px!important;padding-right:6px!important;border-right:1px solid #1e1e1e}@media (min-width:600px){.show-icon-labels .is-up-button.is-up-button.is-up-button{border-bottom:1px solid #1e1e1e;margin-right:0;border-radius:0}}.show-icon-labels .block-editor-block-contextual-toolbar .block-editor-block-mover.is-horizontal .block-editor-block-mover-button.block-editor-block-mover-button{width:auto}.show-icon-labels .components-toolbar,.show-icon-labels .components-toolbar-group{flex-shrink:1}.show-icon-labels .block-editor-rich-text__inline-format-toolbar-group .components-button+.components-button{margin-left:6px}.block-editor-inserter{display:inline-block;background:none;border:none;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:0}@media (min-width:782px){.block-editor-inserter{position:relative}}.block-editor-inserter__popover.is-quick .components-popover__content{border:none}.block-editor-inserter__popover.is-quick .components-popover__content .block-editor-inserter__quick-inserter>*{border-left:1px solid #ccc;border-right:1px solid #ccc}.block-editor-inserter__popover.is-quick .components-popover__content .block-editor-inserter__quick-inserter>:first-child{border-top:1px solid #ccc}.block-editor-inserter__popover.is-quick .components-popover__content .block-editor-inserter__quick-inserter>:last-child{border-bottom:1px solid #ccc}.block-editor-inserter__popover.is-quick .components-popover__content .block-editor-inserter__quick-inserter>.components-button{border:1px solid #1e1e1e}.block-editor-inserter__popover .block-editor-inserter__menu{margin:-12px}.block-editor-inserter__popover .block-editor-inserter__menu .block-editor-inserter__tabs .components-tab-panel__tabs{top:60px}.block-editor-inserter__popover .block-editor-inserter__menu .block-editor-inserter__main-area{overflow:visible;height:auto}.block-editor-inserter__popover .block-editor-inserter__menu .block-editor-inserter__preview-container{display:none}.block-editor-inserter__toggle.components-button{display:inline-flex;align-items:center;cursor:pointer;border:none;outline:none;padding:0;transition:color .2s ease}@media (prefers-reduced-motion:reduce){.block-editor-inserter__toggle.components-button{transition-duration:0s;transition-delay:0s}}.block-editor-inserter__menu{height:100%;position:relative;overflow:visible}.block-editor-inserter__main-area{width:auto;overflow-y:auto;height:100%}@media (min-width:782px){.block-editor-inserter__main-area{width:350px}}.block-editor-inserter__inline-elements{margin-top:-1px}.block-editor-inserter__menu.is-bottom:after{border-bottom-color:#fff}.components-popover.block-editor-inserter__popover{z-index:99999}.block-editor-inserter__search{padding:16px;position:sticky;top:0;background:#fff;z-index:1}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:2px;line-height:normal;display:block;padding:16px 48px 16px 16px;background:#f0f0f0;border:none;width:100%;height:48px;font-size:16px}@media (prefers-reduced-motion:reduce){.block-editor-inserter__search input[type=search].block-editor-inserter__search-input{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.block-editor-inserter__search input[type=search].block-editor-inserter__search-input{font-size:13px;line-height:normal}}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color);outline:2px solid transparent}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-moz-placeholder{opacity:1;color:rgba(30,30,30,.62)}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input:-ms-input-placeholder{color:rgba(30,30,30,.62)}.is-dark-theme .block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .block-editor-inserter__search input[type=search].block-editor-inserter__search-input:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}@media (min-width:600px){.block-editor-inserter__search input[type=search].block-editor-inserter__search-input{font-size:13px}}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input:focus{background:#fff;box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input::placeholder{color:#757575}.block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-webkit-search-cancel-button,.block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-webkit-search-decoration,.block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-webkit-search-results-button,.block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-webkit-search-results-decoration{-webkit-appearance:none}.block-editor-inserter__search-icon{position:absolute;top:0;right:20px;bottom:0;display:flex;align-items:center}.block-editor-inserter__search-icon>svg{margin:8px}.block-editor-inserter__tabs{display:flex;flex-direction:column;margin-top:-8px}.block-editor-inserter__tabs .components-tab-panel__tabs{position:sticky;top:72px;background:#fff;z-index:1;border-bottom:1px solid #ddd}.block-editor-inserter__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item{flex-grow:1;margin-bottom:-1px}.block-editor-inserter__tabs .components-tab-panel__tab-content{display:flex;flex-grow:1;flex-direction:column;position:relative;z-index:0}.block-editor-inserter__panel-header{display:inline-flex;align-items:center;padding:16px 16px 0}.block-editor-inserter__panel-header-patterns{padding:16px 16px 0}.block-editor-inserter__panel-content{padding:16px}.block-editor-inserter__panel-title,.block-editor-inserter__panel-title button{margin:0 12px 0 0;color:#757575;text-transform:uppercase;font-size:11px;font-weight:500}.block-editor-inserter__panel-dropdown select.components-select-control__input.components-select-control__input.components-select-control__input{line-height:1.2}.block-editor-inserter__panel-dropdown select{border:none}.block-editor-inserter__block-list{flex-grow:1;position:relative}.block-editor-inserter__popover .block-editor-block-types-list{margin:-8px}.block-editor-inserter__reusable-blocks-panel{position:relative;text-align:right}.block-editor-inserter__manage-reusable-blocks{display:inline-block;margin:16px}.block-editor-inserter__no-results{padding:32px;margin-top:64px;text-align:center}.block-editor-inserter__no-results-icon{fill:#949494}.block-editor-inserter__child-blocks{padding:0 16px}.block-editor-inserter__parent-block-header{display:flex;align-items:center}.block-editor-inserter__parent-block-header h2{font-size:13px}.block-editor-inserter__parent-block-header .block-editor-block-icon{margin-right:8px}.block-editor-inserter__preview-container{display:none;width:300px;background:#fff;border-radius:2px;border:1px solid #ddd;position:absolute;top:16px;left:calc(100% + 16px);max-height:calc(100% - 32px);overflow-y:hidden}@media (min-width:782px){.block-editor-inserter__preview-container{display:block}}.block-editor-inserter__preview-container .block-editor-block-card{padding:16px}.block-editor-inserter__preview-container .block-editor-block-card__title{font-size:13px}.block-editor-inserter__preview-content{min-height:144px;background:#f0f0f0;display:grid;flex-grow:1;align-items:center}.block-editor-inserter__preview-content-missing{flex:1;display:flex;justify-content:center;align-items:center;min-height:144px;color:#757575;background:#f0f0f0}.block-editor-inserter__tips{border-top:1px solid #ddd;padding:16px;flex-shrink:0;position:relative}.block-editor-inserter__manage-reusable-blocks-container{padding:16px}.block-editor-inserter__quick-inserter{width:100%;max-width:100%}@media (min-width:782px){.block-editor-inserter__quick-inserter{width:350px}}.block-editor-inserter__quick-inserter-results .block-editor-inserter__panel-header{height:0;padding:0;float:left}.block-editor-inserter__quick-inserter.has-expand .block-editor-inserter__panel-content,.block-editor-inserter__quick-inserter.has-search .block-editor-inserter__panel-content{padding:16px}.block-editor-inserter__quick-inserter-patterns .block-editor-block-patterns-list{display:grid;grid-template-columns:1fr 1fr;grid-gap:8px}.block-editor-inserter__quick-inserter-separator{border-top:1px solid #ddd}.block-editor-inserter__popover.is-quick>.components-popover__content>div{padding:0}.block-editor-inserter__quick-inserter-expand.components-button{display:block;background:#1e1e1e;color:#fff;width:100%;height:44px;border-radius:0}.block-editor-inserter__quick-inserter-expand.components-button:hover{color:#fff}.block-editor-inserter__quick-inserter-expand.components-button:active{color:#ccc}.block-editor-inserter__quick-inserter-expand.components-button:focus:not(:disabled){box-shadow:inset 0 0 0 1.5px var(--wp-admin-theme-color),inset 0 0 0 3px #fff}.block-editor-post-preview__dropdown{padding:0}.block-editor-post-preview__button-resize.block-editor-post-preview__button-resize{padding-left:40px}.block-editor-post-preview__button-resize.block-editor-post-preview__button-resize.has-icon{padding-left:8px}.block-editor-post-preview__dropdown-content .components-popover__content{overflow-y:visible}.block-editor-post-preview__dropdown-content.edit-post-post-preview-dropdown .components-menu-group:first-child{padding-bottom:8px}.block-editor-post-preview__dropdown-content.edit-post-post-preview-dropdown .components-menu-group:last-child{margin-bottom:0}.block-editor-post-preview__dropdown-content .components-menu-group+.components-menu-group{padding:8px}@media (min-width:600px){.edit-post-header__settings .editor-post-preview,.edit-site-header__actions .editor-post-preview{display:none}}@media (min-width:600px){.edit-post-header.has-reduced-ui .edit-post-header__settings .block-editor-post-preview__button-toggle,.edit-post-header.has-reduced-ui .edit-post-header__settings .editor-post-save-draft,.edit-post-header.has-reduced-ui .edit-post-header__settings .editor-post-saved-state{transition:opacity .1s linear}}@media (min-width:600px) and (prefers-reduced-motion:reduce){.edit-post-header.has-reduced-ui .edit-post-header__settings .block-editor-post-preview__button-toggle,.edit-post-header.has-reduced-ui .edit-post-header__settings .editor-post-save-draft,.edit-post-header.has-reduced-ui .edit-post-header__settings .editor-post-saved-state{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.edit-post-header.has-reduced-ui:not(:hover) .edit-post-header__settings .block-editor-post-preview__button-toggle,.edit-post-header.has-reduced-ui:not(:hover) .edit-post-header__settings .editor-post-save-draft,.edit-post-header.has-reduced-ui:not(:hover) .edit-post-header__settings .editor-post-saved-state{opacity:0}.edit-post-header.has-reduced-ui:not(:hover) .edit-post-header__settings .block-editor-post-preview__button-toggle.is-opened{opacity:1}}body.admin-color-light{--wp-admin-theme-color:#0085ba;--wp-admin-theme-color-darker-10:#0073a1;--wp-admin-theme-color-darker-20:#006187;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-light{--wp-admin-border-width-focus:1.5px}}body.admin-color-modern{--wp-admin-theme-color:#3858e9;--wp-admin-theme-color-darker-10:#2145e6;--wp-admin-theme-color-darker-20:#183ad6;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-modern{--wp-admin-border-width-focus:1.5px}}body.admin-color-blue{--wp-admin-theme-color:#096484;--wp-admin-theme-color-darker-10:#07526c;--wp-admin-theme-color-darker-20:#064054;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-blue{--wp-admin-border-width-focus:1.5px}}body.admin-color-coffee{--wp-admin-theme-color:#46403c;--wp-admin-theme-color-darker-10:#383330;--wp-admin-theme-color-darker-20:#2b2724;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-coffee{--wp-admin-border-width-focus:1.5px}}body.admin-color-ectoplasm{--wp-admin-theme-color:#523f6d;--wp-admin-theme-color-darker-10:#46365d;--wp-admin-theme-color-darker-20:#3a2c4d;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-ectoplasm{--wp-admin-border-width-focus:1.5px}}body.admin-color-midnight{--wp-admin-theme-color:#e14d43;--wp-admin-theme-color-darker-10:#dd382d;--wp-admin-theme-color-darker-20:#d02c21;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-midnight{--wp-admin-border-width-focus:1.5px}}body.admin-color-ocean{--wp-admin-theme-color:#627c83;--wp-admin-theme-color-darker-10:#576e74;--wp-admin-theme-color-darker-20:#4c6066;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-ocean{--wp-admin-border-width-focus:1.5px}}body.admin-color-sunrise{--wp-admin-theme-color:#dd823b;--wp-admin-theme-color-darker-10:#d97426;--wp-admin-theme-color-darker-20:#c36922;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-sunrise{--wp-admin-border-width-focus:1.5px}} \ No newline at end of file diff --git a/wp-includes/css/dist/block-library/editor-rtl.css b/wp-includes/css/dist/block-library/editor-rtl.css index d574b5f2ea..2107b0bce8 100644 --- a/wp-includes/css/dist/block-library/editor-rtl.css +++ b/wp-includes/css/dist/block-library/editor-rtl.css @@ -1118,6 +1118,11 @@ figure.wp-block-image:not(.wp-block) { font-weight: 500; } +.is-selected .wp-block-legacy-widget__container { + padding: 8px 12px; + min-height: 50px; +} + .wp-block-media-text .__resizable_base__ { grid-column: 1/span 2; grid-row: 2; diff --git a/wp-includes/css/dist/block-library/editor-rtl.min.css b/wp-includes/css/dist/block-library/editor-rtl.min.css index 57af01175d..a7656d6296 100644 --- a/wp-includes/css/dist/block-library/editor-rtl.min.css +++ b/wp-includes/css/dist/block-library/editor-rtl.min.css @@ -1 +1 @@ -#start-resizable-editor-section{display:none}ul.wp-block-archives{padding-right:2.5em}.wp-block-audio{margin-right:0;margin-left:0}.edit-post-visual-editor .block-library-block__reusable-block-container .is-root-container{padding-right:0;padding-left:0}.edit-post-visual-editor .block-library-block__reusable-block-container .block-editor-writing-flow{display:block}.edit-post-visual-editor .block-library-block__reusable-block-container .components-disabled .block-list-appender{display:none}.wp-block[data-align=center]>.wp-block-button{text-align:center;margin-right:auto;margin-left:auto}.wp-block[data-align=right]>.wp-block-button{text-align:right}.wp-block-button{position:relative;cursor:text}.wp-block-button:not(.has-text-color):not(.is-style-outline) [data-rich-text-placeholder]:after{color:#fff}.wp-block-button:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px var(--wp-admin-theme-color);outline:2px solid transparent;outline-offset:-2px}.wp-block-button[data-rich-text-placeholder]:after{opacity:.8}.wp-block-button__inline-link{color:#757575;height:0;overflow:hidden;max-width:290px}.wp-block-button__inline-link-input__suggestions{max-width:290px}@media (min-width:782px){.wp-block-button__inline-link,.wp-block-button__inline-link-input__suggestions{max-width:260px}}@media (min-width:960px){.wp-block-button__inline-link,.wp-block-button__inline-link-input__suggestions{max-width:290px}}.is-selected .wp-block-button__inline-link{height:auto;overflow:visible;margin-top:16px}.wp-button-label__width .components-button-group{display:block}.wp-button-label__width .components-base-control__field{margin-bottom:12px}div[data-type="core/button"]{display:table}.wp-block>.wp-block-buttons{display:flex;flex-wrap:wrap}.wp-block-buttons>.wp-block{margin-right:0;margin-top:.5em;margin-left:.5em}.wp-block-buttons>.block-list-appender{display:inline-flex;align-items:center}.wp-block-buttons.is-vertical>.block-list-appender .block-list-appender__toggle{justify-content:flex-start}.wp-block-buttons>.wp-block-button:focus{box-shadow:none}.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block[data-align=center]{margin-right:auto;margin-left:auto;margin-top:0;width:100%}.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block[data-align=center] .wp-block-button{margin-bottom:0}.wp-block[data-align=center]>.wp-block-buttons{align-items:center;justify-content:center}.wp-block[data-align=right]>.wp-block-buttons{justify-content:flex-end}.wp-block-categories ul{padding-right:2.5em}.wp-block-categories ul ul{margin-top:6px}.wp-block-columns .wp-block{max-width:none;margin-right:0;margin-left:0}@media (min-width:600px){.editor-styles-wrapper .block-editor-block-list__block.wp-block-column:nth-child(2n){margin-right:32px}}@media (min-width:782px){.editor-styles-wrapper .block-editor-block-list__block.wp-block-column:not(:first-child){margin-right:32px}}.block-editor-block-list__block.wp-block-column.wp-block-column{margin-top:0;margin-bottom:0}.wp-block-cover.is-placeholder{min-height:auto!important;padding:0!important}.wp-block-cover.components-placeholder h2{color:inherit}.wp-block-cover.is-transient:before{background-color:#fff;opacity:.3}.wp-block-cover .components-spinner{position:absolute;z-index:1;top:50%;right:50%;transform:translate(50%,-50%);margin:0}.wp-block-cover .block-editor-block-list__layout{width:100%}.wp-block-cover .wp-block-cover__inner-container{text-align:right;margin-right:0;margin-left:0}.wp-block-cover .wp-block-cover__placeholder-background-options{width:100%}[data-align=left]>.wp-block-cover,[data-align=right]>.wp-block-cover{max-width:420px;width:100%}.block-library-cover__reset-button{margin-right:auto}.block-library-cover__resize-container{position:absolute!important;top:0;right:0;left:0;bottom:0}.block-library-cover__resize-container:not(.is-resizing){height:auto!important}.wp-block-cover>.components-drop-zone.is-active{transition:opacity .2s,border .2s}@media (prefers-reduced-motion:reduce){.wp-block-cover>.components-drop-zone.is-active{transition-duration:0s;transition-delay:0s}}.wp-block-cover>.components-drop-zone.is-dragging-over-element{background-color:initial;border:48px solid var(--wp-admin-theme-color)}.wp-block-cover>.components-drop-zone.is-dragging-over-element .components-drop-zone__content{transform:none}.wp-block-cover>.components-drop-zone .components-drop-zone__content{display:flex;align-items:center;top:-36px;right:-36px;transform:none}.wp-block-cover>.components-drop-zone .components-drop-zone__content-icon,.wp-block-cover>.components-drop-zone .components-drop-zone__content-text{display:inline}.wp-block-cover>.components-drop-zone .components-drop-zone__content-icon{margin:0 0 0 8px}.wp-block-cover>.components-drop-zone .components-drop-zone__content-text{font-size:13px}.block-editor-block-patterns-list__list-item .has-parallax.wp-block-cover{background-attachment:scroll}.wp-block-embed{margin-right:0;margin-left:0;clear:both}.wp-block-embed.is-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:1em;min-height:200px;text-align:center;border-radius:2px;background-color:#fff;box-shadow:inset 0 0 0 1px #1e1e1e}.wp-block-embed.is-loading p{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-embed .components-placeholder__error{word-break:break-word}.wp-block-embed .components-placeholder__learn-more{margin-top:1em}.block-library-embed__interactive-overlay{position:absolute;top:0;right:0;left:0;bottom:0;opacity:0}.wp-block[data-align=left]>.wp-block-embed,.wp-block[data-align=right]>.wp-block-embed{max-width:360px;width:100%}.wp-block[data-align=left]>.wp-block-embed .wp-block-embed__wrapper,.wp-block[data-align=right]>.wp-block-embed .wp-block-embed__wrapper{min-width:280px}.wp-block-file{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;margin-bottom:0}.wp-block[data-align=left]>.wp-block-file,.wp-block[data-align=right]>.wp-block-file{height:auto}.wp-block-file .components-resizable-box__container{margin-bottom:1em}.wp-block-file .wp-block-file__preview{margin-bottom:1em;width:100%;height:100%}.wp-block-file .wp-block-file__preview-overlay{position:absolute;top:0;left:0;bottom:0;right:0}.wp-block-file .wp-block-file__content-wrapper{flex-grow:1}.wp-block-file a{min-width:1em}.wp-block-file .wp-block-file__button-richtext-wrapper{display:inline-block;margin-right:.75em}.wp-block-freeform.block-library-rich-text__tinymce{height:auto}.wp-block-freeform.block-library-rich-text__tinymce li,.wp-block-freeform.block-library-rich-text__tinymce p{line-height:1.8}.wp-block-freeform.block-library-rich-text__tinymce ol,.wp-block-freeform.block-library-rich-text__tinymce ul{padding-right:2.5em;margin-right:0}.wp-block-freeform.block-library-rich-text__tinymce blockquote{margin:0;box-shadow:inset 0 0 0 0 #ddd;border-right:4px solid #000;padding-right:1em}.wp-block-freeform.block-library-rich-text__tinymce pre{white-space:pre-wrap;font-family:Menlo,Consolas,monaco,monospace;font-size:15px;color:#1e1e1e}.wp-block-freeform.block-library-rich-text__tinymce>:first-child{margin-top:0}.wp-block-freeform.block-library-rich-text__tinymce>:last-child{margin-bottom:0}.wp-block-freeform.block-library-rich-text__tinymce.mce-edit-focus{outline:none}.wp-block-freeform.block-library-rich-text__tinymce a{color:var(--wp-admin-theme-color)}.wp-block-freeform.block-library-rich-text__tinymce:focus a[data-mce-selected]{padding:0 2px;margin:0 -2px;border-radius:2px;box-shadow:0 0 0 1px #e5f5fa;background:#e5f5fa}.wp-block-freeform.block-library-rich-text__tinymce code{padding:2px;border-radius:2px;color:#1e1e1e;background:#f0f0f0;font-family:Menlo,Consolas,monaco,monospace;font-size:14px}.wp-block-freeform.block-library-rich-text__tinymce:focus code[data-mce-selected]{background:#ddd}.wp-block-freeform.block-library-rich-text__tinymce .alignright{float:right;margin:.5em 0 .5em 1em}.wp-block-freeform.block-library-rich-text__tinymce .alignleft{float:left;margin:.5em 1em .5em 0}.wp-block-freeform.block-library-rich-text__tinymce .aligncenter{display:block;margin-right:auto;margin-left:auto}.wp-block-freeform.block-library-rich-text__tinymce .wp-more-tag{width:96%;height:20px;display:block;margin:15px auto;outline:0;cursor:default;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAADtgAAAAoBAMAAAA86gLBAAAAJFBMVEVMaXG7u7vBwcHDw8POzs68vLzGxsbMzMy+vr7AwMDQ0NDGxsYKLGzpAAAADHRSTlMA///zWf+/f///TMxNVGuqAAABwklEQVR4Ae3dMXLaQBTH4bfj8UCpx8hq0vgKvgFNemhT6Qo6gg6R+0ZahM2QLmyBJ99XWP9V5+o3jIUcLQEAAAAAAAAAAAAAAAAAAAAAAABQ8j0WL9lfTtlt18uNXAUA8O/KVtfa1tdcrOdSh9gCQAMlh1hMNbZZ1bsrsQWABsrhLRbz7z5in/32UbfUMUbkMQCAh5RfGYv82UdMdZ6HS2wjT2ILAI8r3XmM2B3WvM59vfO2xXYW2yYAENuPU8S+X/N67mKxzy225yaxBQCxLV392UdcvwV0jPVUj98ntkBWT7C7+9u2/V/vGtvXIWJ6/4rtbottWa6Ri0NUT/u72LYttrb97LHdvUXMxxrb8TO2W2TF1rYbbLG1bbGNjMi4+2Sbi1FsbbvNFlvbFtt5fDnE3d9sP1/XeIyV2Nr2U2/guZUuptNrH/dPI9eLB6SaAEBs6wPJf3/PNk9tYgsAYrv/8TFuzx/fvkFqGtrEFgDEdpcZUb7ejXy6ntrEFgDENvL6gsas4vbdyKt4DACI7TxElJv/Z7udpqFNbAFAbKduy2uU2trttM/x28UWAAAAAAAAAAAAAAAAAAAAAAAAAADgDyPwGmGTCZp7AAAAAElFTkSuQmCC);background-size:1900px 20px;background-repeat:no-repeat;background-position:50%}.wp-block-freeform.block-library-rich-text__tinymce img::selection{background-color:initial}.wp-block-freeform.block-library-rich-text__tinymce div.mceTemp{-ms-user-select:element}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption{margin:0;max-width:100%}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption a,.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption img{display:block}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption,.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption *{-webkit-user-drag:none}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption .wp-caption-dd{padding-top:.5em;margin:0}.wp-block-freeform.block-library-rich-text__tinymce .wpview{width:99.99%;position:relative;clear:both;margin-bottom:16px;border:1px solid transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview iframe{display:block;max-width:100%;background:transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview .mce-shim{position:absolute;top:0;left:0;bottom:0;right:0}.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected="2"] .mce-shim{display:none}.wp-block-freeform.block-library-rich-text__tinymce .wpview .loading-placeholder{border:1px dashed #ddd;padding:10px}.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error{border:1px solid #ddd;padding:1em 0;margin:0;word-wrap:break-word}.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error p{margin:0;text-align:center}.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .loading-placeholder,.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .wpview-error{border-color:transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview .dashicons{display:block;margin:0 auto;width:32px;height:32px;font-size:32px}.wp-block-freeform.block-library-rich-text__tinymce .wpview.wpview-type-gallery:after{content:"";display:table;clear:both}.wp-block-freeform.block-library-rich-text__tinymce .gallery img[data-mce-selected]:focus{outline:none}.wp-block-freeform.block-library-rich-text__tinymce .gallery a{cursor:default}.wp-block-freeform.block-library-rich-text__tinymce .gallery{margin:auto -6px;padding:6px 0;line-height:1;overflow-x:hidden}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-item{float:right;margin:0;text-align:center;padding:6px;box-sizing:border-box}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption,.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-icon{margin:0}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption{font-size:13px;margin:4px 0}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-1 .gallery-item{width:100%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-2 .gallery-item{width:50%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-3 .gallery-item{width:33.3333333333%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-4 .gallery-item{width:25%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-5 .gallery-item{width:20%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-6 .gallery-item{width:16.6666666667%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-7 .gallery-item{width:14.2857142857%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-8 .gallery-item{width:12.5%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-9 .gallery-item{width:11.1111111111%}.wp-block-freeform.block-library-rich-text__tinymce .gallery img{max-width:100%;height:auto;border:none;padding:0}div[data-type="core/freeform"]:before{transition:border-color .1s linear,box-shadow .1s linear;border:1px solid #ddd;outline:1px solid transparent}@media (prefers-reduced-motion:reduce){div[data-type="core/freeform"]:before{transition-duration:0s;transition-delay:0s}}div[data-type="core/freeform"].is-selected:before{border-color:#1e1e1e}div[data-type="core/freeform"] .block-editor-block-contextual-toolbar+div{margin-top:0;padding-top:0}div[data-type="core/freeform"].is-selected .block-library-rich-text__tinymce:after{content:"";display:table;clear:both}.mce-toolbar-grp .mce-btn.mce-active:hover button,.mce-toolbar-grp .mce-btn.mce-active:hover i,.mce-toolbar-grp .mce-btn.mce-active button,.mce-toolbar-grp .mce-btn.mce-active i{color:#1e1e1e}.mce-toolbar-grp .mce-rtl .mce-flow-layout-item.mce-last{margin-left:0;margin-right:8px}.mce-toolbar-grp .mce-btn i{font-style:normal}.block-library-classic__toolbar{display:none;width:auto;position:sticky;z-index:31;top:0;border:1px solid #ddd;border-bottom:none;border-radius:2px;margin:0 0 8px;padding:0}div[data-type="core/freeform"].is-selected .block-library-classic__toolbar{display:block;border-color:#1e1e1e}.block-library-classic__toolbar .mce-tinymce{box-shadow:none}@media (min-width:600px){.block-library-classic__toolbar{padding:0}}.block-library-classic__toolbar:empty{display:block;background:#f5f5f5;border-bottom:1px solid #e2e4e7}.block-library-classic__toolbar:empty:before{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;content:attr(data-placeholder);color:#555d66;line-height:37px;padding:14px}.block-library-classic__toolbar div.mce-toolbar-grp{border-bottom:1px solid #1e1e1e}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar .mce-menubar>div,.block-library-classic__toolbar .mce-tinymce-inline,.block-library-classic__toolbar .mce-tinymce-inline>div,.block-library-classic__toolbar div.mce-toolbar-grp,.block-library-classic__toolbar div.mce-toolbar-grp>div{height:auto!important;width:100%!important}.block-library-classic__toolbar .mce-container-body.mce-abs-layout{overflow:visible}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar div.mce-toolbar-grp{position:static}.block-library-classic__toolbar .mce-toolbar-grp>div{padding:1px 3px}.block-library-classic__toolbar .mce-toolbar-grp .mce-toolbar:not(:first-child){display:none}.block-library-classic__toolbar.has-advanced-toolbar .mce-toolbar-grp .mce-toolbar{display:block}.wp-block-gallery li{list-style-type:none}.wp-block-gallery .block-editor-media-placeholder.is-appender .components-placeholder__label{display:none}.wp-block-gallery .block-editor-media-placeholder.is-appender .block-editor-media-placeholder__button{margin-bottom:0}figure.wp-block-gallery{display:block;margin:0}.blocks-gallery-grid.blocks-gallery-grid{padding-right:0;margin-right:0;margin-bottom:0}.blocks-gallery-item figure:not(.is-selected):focus,.blocks-gallery-item img:focus{outline:none}.blocks-gallery-item figure.is-selected:before{box-shadow:0 0 0 1px #fff inset,0 0 0 3px var(--wp-admin-theme-color) inset;content:"";outline:2px solid transparent;position:absolute;top:0;left:0;bottom:0;right:0;z-index:1;pointer-events:none}.blocks-gallery-item figure.is-selected figcaption{z-index:2}.blocks-gallery-item figure.is-transient img{opacity:.3}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu{display:inline-flex}.blocks-gallery-item .block-editor-media-placeholder{margin:0;height:100%}.blocks-gallery-item .block-editor-media-placeholder .components-placeholder__label{display:flex}.block-library-gallery-item__inline-menu{display:none;position:absolute;top:-2px;margin:8px;z-index:20;transition:box-shadow .2s ease-out;border-radius:2px;background:#fff;border:1px solid #1e1e1e}@media (prefers-reduced-motion:reduce){.block-library-gallery-item__inline-menu{transition-duration:0s;transition-delay:0s}}.block-library-gallery-item__inline-menu:hover{box-shadow:0 2px 6px rgba(0,0,0,.05)}@media (min-width:600px){.columns-7 .block-library-gallery-item__inline-menu,.columns-8 .block-library-gallery-item__inline-menu{padding:2px}}.block-library-gallery-item__inline-menu .components-button.has-icon:not(:focus){border:none;box-shadow:none}@media (min-width:600px){.columns-7 .block-library-gallery-item__inline-menu .components-button.has-icon,.columns-8 .block-library-gallery-item__inline-menu .components-button.has-icon{padding:0;width:inherit;height:inherit}}.block-library-gallery-item__inline-menu.is-left{right:-2px}.block-library-gallery-item__inline-menu.is-right{left:-2px}.blocks-gallery-item .components-spinner{position:absolute;top:50%;right:50%;margin-top:-9px;margin-right:-9px}.wp-block-group .block-editor-block-list__insertion-point{right:0;left:0}[data-type="core/group"].is-selected .block-list-appender{margin-right:0;margin-left:0}[data-type="core/group"].is-selected .has-background .block-list-appender{margin-top:18px;margin-bottom:18px}.block-library-heading-level-dropdown .components-popover__content{min-width:230px}.block-library-heading-level-dropdown .components-popover__content>div{padding:0}.block-library-heading-level-toolbar{border:none}.block-library-html__edit{margin-bottom:28px}.block-library-html__edit .block-library-html__preview-overlay{position:absolute;width:100%;height:100%;top:0;right:0}.block-library-html__edit .block-editor-plain-text{font-family:Menlo,Consolas,monaco,monospace;color:#1e1e1e;padding:.8em 1em;border:1px solid #ddd;border-radius:4px;max-height:250px;font-size:16px}@media (min-width:600px){.block-library-html__edit .block-editor-plain-text{font-size:13px}}.block-library-html__edit .block-editor-plain-text:focus{box-shadow:none}figure.wp-block-image:not(.wp-block){margin:0}.wp-block-image{position:relative}.wp-block-image .is-applying img,.wp-block-image.is-transient img{opacity:.3}.wp-block-image figcaption img{display:inline}.wp-block-image .components-spinner{position:absolute;top:50%;right:50%;margin-top:-9px;margin-right:-9px}.wp-block-image:not(.is-style-rounded)>div{border-radius:inherit}.wp-block-image .components-resizable-box__container{display:inline-block}.wp-block-image .components-resizable-box__container img{display:block;width:inherit;height:inherit}.block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal{position:absolute;right:0;left:0;margin:-1px 0}@media (min-width:600px){.block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal{margin:-1px}}[data-align=full]>.wp-block-image img,[data-align=wide]>.wp-block-image img{width:100%}.wp-block[data-align=center]>.wp-block-image,.wp-block[data-align=left]>.wp-block-image,.wp-block[data-align=right]>.wp-block-image{display:table}.wp-block[data-align=center]>.wp-block-image>figcaption,.wp-block[data-align=left]>.wp-block-image>figcaption,.wp-block[data-align=right]>.wp-block-image>figcaption{display:table-caption;caption-side:bottom}.wp-block[data-align=left]>.wp-block-image{margin:.5em 0 .5em 1em}.wp-block[data-align=right]>.wp-block-image{margin:.5em 1em .5em 0}.wp-block[data-align=center]>.wp-block-image{margin-right:auto;margin-left:auto;text-align:center}.wp-block-image__crop-area{position:relative;max-width:100%;width:100%}.wp-block-image__crop-icon{padding:0 8px;min-width:48px;display:flex;justify-content:center;align-items:center}.wp-block-image__crop-icon svg{fill:currentColor}.wp-block-image__zoom .components-popover__content{overflow:visible;min-width:260px}.wp-block-image__zoom .components-range-control{flex:1}.wp-block-image__zoom .components-base-control__field{display:flex;margin-bottom:0;flex-direction:column;align-items:flex-start}.wp-block-image__aspect-ratio{height:46px;margin-bottom:-8px;display:flex;align-items:center}.wp-block-image__aspect-ratio .components-button{width:36px;padding-right:0;padding-left:0}.wp-block-latest-posts{padding-right:2.5em}.wp-block-latest-posts.is-grid{padding-right:0}.wp-block-latest-posts li a>div{display:inline}.edit-post-visual-editor .wp-block-latest-posts.is-grid li{margin-bottom:20px}.wp-block-legacy-widget__edit-form{background:#fff;border-radius:2px;border:1px solid #1e1e1e;padding:11px}.wp-block-legacy-widget__edit-form .wp-block-legacy-widget__edit-form-title{color:#000;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px;font-weight:600;margin:0 0 12px}.wp-block-legacy-widget__edit-form .widget-inside{border:none;box-shadow:none;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.wp-block-legacy-widget__edit-form .widget-inside label{font-size:13px}.wp-block-legacy-widget__edit-form .widget-inside label+.widefat{margin-top:12px}.wp-block-legacy-widget__edit-form .widget.open{z-index:0}.wp-block-legacy-widget__edit-no-preview,.wp-block-legacy-widget__edit-preview{cursor:pointer}.wp-block-legacy-widget__edit-no-preview:hover:after,.wp-block-legacy-widget__edit-preview:hover:after{border-radius:2px;border:1px solid #949494;bottom:0;content:"";right:0;position:absolute;left:0;top:0}.wp-block-legacy-widget__edit-preview.is-offscreen{right:-9999px;position:absolute;top:0;width:100%}.wp-block-legacy-widget__edit-preview-iframe{overflow:hidden;width:100%}.wp-block-legacy-widget__edit-no-preview{background:#f0f0f0;padding:8px 12px;font-size:13px}.wp-block-legacy-widget__edit-no-preview h3{font-size:14px;font-weight:600;margin:4px 0}.wp-block-legacy-widget__edit-no-preview p{margin:4px 0}.wp-block-legacy-widget-inspector-card{padding:0 52px 16px 16px}.interface-complementary-area .wp-block-legacy-widget-inspector-card__name{margin:0 0 5px;font-weight:500}.wp-block-media-text .__resizable_base__{grid-column:1/span 2;grid-row:2}.wp-block-media-text .editor-media-container__resizer{width:100%!important}.wp-block-media-text.is-image-fill .editor-media-container__resizer{height:100%!important}.wp-block-media-text>.block-editor-block-list__layout>.block-editor-block-list__block{max-width:unset}.block-editor-block-list__block[data-type="core/more"]{max-width:100%;text-align:center;margin-top:28px;margin-bottom:28px}.wp-block-more{display:block;text-align:center;white-space:nowrap}.wp-block-more input[type=text]{position:relative;font-size:13px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#757575;border:none;box-shadow:none;white-space:nowrap;text-align:center;margin:0;border-radius:4px;background:#fff;padding:6px 8px;height:24px;max-width:100%}.wp-block-more input[type=text]:focus{box-shadow:none}.wp-block-more:before{content:"";position:absolute;top:50%;right:0;left:0;border-top:3px dashed #ccc}.editor-styles-wrapper .wp-block-navigation ul{margin-top:0;margin-bottom:0;margin-right:0;padding-right:0}.wp-block-navigation__container.is-parent-of-selected-block{visibility:visible;opacity:1}.wp-block-navigation-link,.wp-block-navigation__container{background-color:inherit}.wp-block-navigation:not(.is-selected):not(.has-child-selected) .has-child:hover>.wp-block-navigation-link__container{opacity:0;visibility:hidden}.has-child.has-child-selected>.wp-block-navigation-link__container,.has-child.is-selected>.wp-block-navigation-link__container{display:flex;opacity:1;visibility:visible}.is-dragging-components-draggable .has-child.is-dragging-within>.wp-block-navigation-link__container{opacity:1;visibility:visible}.is-editing>.wp-block-navigation__container{visibility:visible;opacity:1;display:flex;flex-direction:column}.is-dragging-components-draggable .wp-block-navigation-link>.wp-block-navigation__container{opacity:1;visibility:hidden}.is-dragging-components-draggable .wp-block-navigation-link>.wp-block-navigation__container .block-editor-block-draggable-chip-wrapper{visibility:visible}.block-library-colors-selector{width:auto}.block-library-colors-selector .block-library-colors-selector__toggle{display:block;margin:0 auto;padding:3px;width:auto}.block-library-colors-selector .block-library-colors-selector__icon-container{height:30px;position:relative;margin:0 auto;padding:3px;display:flex;align-items:center;border-radius:4px}.block-library-colors-selector .block-library-colors-selector__state-selection{margin-right:auto;margin-left:auto;border-radius:11px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.2);width:22px;min-width:22px;height:22px;min-height:22px;line-height:20px;padding:2px}.block-library-colors-selector .block-library-colors-selector__state-selection>svg{min-width:auto!important}.block-library-colors-selector .block-library-colors-selector__state-selection.has-text-color>svg,.block-library-colors-selector .block-library-colors-selector__state-selection.has-text-color>svg path{color:inherit}.block-library-colors-selector__popover .color-palette-controller-container{padding:16px}.block-library-colors-selector__popover .components-base-control__label{height:20px;line-height:20px}.block-library-colors-selector__popover .component-color-indicator{float:left;margin-top:2px}.block-library-colors-selector__popover .components-panel__body-title{display:none}.wp-block-navigation .block-editor-button-block-appender{justify-content:flex-start}.components-placeholder.wp-block-navigation-placeholder{outline:none;padding:0;box-shadow:none;background:none;min-height:0;color:inherit}.components-placeholder.wp-block-navigation-placeholder .components-placeholder__fieldset{font-size:inherit}.components-placeholder.wp-block-navigation-placeholder .components-placeholder__fieldset .components-button{margin-bottom:0}.is-selected .components-placeholder.wp-block-navigation-placeholder{color:#1e1e1e}.wp-block-navigation-placeholder .components-spinner{margin-top:-4px;margin-right:4px;vertical-align:middle;margin-left:7px}.wp-block-navigation-placeholder__preview{display:flex;flex-direction:row;align-items:center;flex-wrap:nowrap;width:100%;overflow:hidden}.wp-block-navigation-placeholder__preview .wp-block-navigation-link.wp-block-navigation-link{position:relative;min-width:72px}.wp-block-navigation-placeholder__preview .wp-block-navigation-link.wp-block-navigation-link:before{display:block;content:"";border-radius:2px;background:currentColor;height:16px;width:100%}.wp-block-navigation-placeholder__preview svg{fill:currentColor}.wp-block-navigation-placeholder__preview .wp-block-navigation-link.wp-block-navigation-link,.wp-block-navigation-placeholder__preview svg{opacity:.3}.wp-block-navigation.is-selected .wp-block-navigation-placeholder__preview{display:flex;opacity:0;width:0;overflow:hidden;flex-wrap:nowrap}.wp-block-navigation.is-selected .is-medium .wp-block-navigation-placeholder__preview,.wp-block-navigation.is-selected .is-small .wp-block-navigation-placeholder__preview{display:none}.wp-block-navigation-placeholder__controls{padding:8px;border-radius:2px;background-color:#fff;box-shadow:inset 0 0 0 1px #1e1e1e;flex-direction:row;align-items:center;display:none;position:relative;z-index:1;float:right;width:100%}.is-large .wp-block-navigation-placeholder__controls{padding:4px 8px}.wp-block-navigation.is-selected .wp-block-navigation-placeholder__controls{display:flex}.is-medium .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions,.is-small .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions,.is-vertical .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions{flex-direction:column}.is-selected.is-vertical .wp-block-navigation-placeholder__controls{display:inline-flex;padding:12px}.wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__icon{margin-left:12px;height:36px}.wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator{margin-left:12px;padding:0;align-items:center;justify-content:flex-start;line-height:0;margin-right:5px;display:none}.wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator svg{margin-left:4px}.is-vertical .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator{margin-bottom:4px;margin-right:0}.is-large .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator{display:inline-flex}.is-vertical .wp-block-navigation-placeholder,.is-vertical .wp-block-navigation-placeholder__controls,.is-vertical .wp-block-navigation-placeholder__preview{min-height:156px}.is-vertical .wp-block-navigation-placeholder__controls,.is-vertical .wp-block-navigation-placeholder__preview{flex-direction:column;align-items:flex-start}.wp-block-navigation-placeholder__actions{display:flex;font-size:13px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.wp-block-navigation-placeholder__actions .components-button.components-dropdown-menu__toggle.has-icon{padding:6px 12px 6px 4px;display:flex;flex-direction:row-reverse}.wp-block-navigation-placeholder__actions .components-dropdown,.wp-block-navigation-placeholder__actions>.components-button{margin-left:12px}@media (min-width:600px){.components-button.wp-block-navigation__responsive-container-open,.wp-block-navigation__responsive-container:not(.is-menu-open) .components-button.wp-block-navigation__responsive-container-close{display:none}}.wp-block-navigation__responsive-container.is-menu-open{position:fixed}body.admin-bar .wp-block-navigation__responsive-container.is-menu-open{top:155px}@media (min-width:782px){body.admin-bar .wp-block-navigation__responsive-container.is-menu-open{top:61px}}@media (min-width:600px){.wp-block-navigation__responsive-close{pointer-events:none}.wp-block-navigation__responsive-close .block-editor-block-list__layout *,.wp-block-navigation__responsive-close .wp-block-navigation__responsive-container-close{pointer-events:all}}.wp-block-navigation__responsive-close .wp-block-pages-list__item__link{pointer-events:none}.components-button.wp-block-navigation__responsive-container-close.wp-block-navigation__responsive-container-close,.components-button.wp-block-navigation__responsive-container-open.wp-block-navigation__responsive-container-open{padding:0;height:auto;color:inherit}.is-menu-open .wp-block-navigation__responsive-container-content * .block-list-appender{margin-top:16px}.wp-block-navigation-link__container{border-radius:0;min-height:36px}.wp-block-navigation .has-child{cursor:pointer}.wp-block-navigation .has-child .submenu-container,.wp-block-navigation .has-child .wp-block-navigation-link__container{z-index:28}.wp-block-navigation .has-child:hover .submenu-container,.wp-block-navigation .has-child:hover .wp-block-navigation-link__container{z-index:29}.wp-block-navigation .has-child.has-child-selected>.wp-block-navigation-link__container,.wp-block-navigation .has-child.is-selected>.wp-block-navigation-link__container{visibility:visible!important;opacity:1!important}.wp-block-navigation-link .wp-block-navigation-link__container{display:block}.wp-block-navigation-link .wp-block-navigation-link__content{cursor:text}.wp-block-navigation-link.is-editing,.wp-block-navigation-link.is-selected{min-width:20px}.wp-block-navigation-link .block-list-appender{margin:16px 16px 16px auto}.wp-block-navigation .block-editor-block-list__block[data-type="core/navigation-link"]>.block-editor-block-list__insertion-point{display:none}.wp-block-navigation-link__placeholder{position:relative;margin:2px}.wp-block-navigation-link__placeholder .wp-block-navigation-link__placeholder-text{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;padding-right:4px;padding-left:4px}.wp-block-navigation-link__placeholder.wp-block-navigation-link__content{cursor:pointer}.wp-block-navigation-link__placeholder:before{content:"";display:block;position:absolute;top:0;left:0;bottom:0;right:0;border-radius:2px;opacity:.1}.is-dark-theme .wp-block-navigation-link__placeholder:before{opacity:.2}.is-editing .wp-block-navigation-link__placeholder:before{background:currentColor}.wp-block-navigation .wp-block-navigation-link:not(.is-editing) .wp-block-navigation-link__content.wp-block-navigation-link__placeholder{box-shadow:inset 0 0 0 1px #757575;border-radius:2px;color:var(--wp-admin-theme-color)}.block-editor-block-list__block[data-type="core/nextpage"]{max-width:100%;text-align:center;margin-top:28px;margin-bottom:28px}.wp-block-nextpage{display:block;text-align:center;white-space:nowrap}.wp-block-nextpage>span{font-size:13px;position:relative;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#757575;border-radius:4px;background:#fff;padding:6px 8px;height:24px}.wp-block-nextpage:before{content:"";position:absolute;top:50%;right:0;left:0;border-top:3px dashed #ccc}.wp-block-navigation .wp-block-page-list,.wp-block-navigation .wp-block-page-list>div{background-color:inherit}.wp-block-navigation.items-justified-space-between .wp-block-page-list,.wp-block-navigation.items-justified-space-between .wp-block-page-list>div{display:contents;flex:1}.wp-block-navigation.items-justified-space-between.has-child-selected .wp-block-page-list,.wp-block-navigation.items-justified-space-between.has-child-selected .wp-block-page-list>div,.wp-block-navigation.items-justified-space-between.is-selected .wp-block-page-list,.wp-block-navigation.items-justified-space-between.is-selected .wp-block-page-list>div{flex:inherit}.wp-block-pages-list__item__link{pointer-events:none}.wp-block-page-list .components-placeholder{min-height:0;padding:0;background-color:inherit}.wp-block-page-list .components-placeholder .components-spinner{margin:.5em}.wp-block-page-list-modal{max-width:400px}.wp-block-page-list-modal-buttons{display:flex;justify-content:flex-end}.wp-block-page-list-modal-buttons .components-button{margin-right:12px}.block-editor-block-list__block[data-type="core/paragraph"].has-drop-cap:focus{min-height:auto!important}.block-editor-block-list__block[data-empty=true] [data-rich-text-placeholder]{opacity:1}.block-editor-block-list__block[data-empty=true]+.block-editor-block-list__block[data-empty=true] [data-rich-text-placeholder]{opacity:0}.wp-block-post-content__placeholder{height:100px;border:1px dashed;display:flex;justify-content:center;align-items:center}.wp-block-post-content__placeholder span{font-style:italic}.wp-block-post-excerpt .wp-block-post-excerpt__excerpt.is-inline{display:inline-block}.wp-block-post-author{display:flex;flex-wrap:wrap}.wp-block-post-author .wp-block-post-author__byline{font-size:.5em;margin-top:0;position:relative;font-style:normal}.wp-block-post-author .wp-block-post-author__content{flex-grow:1;flex-basis:0}.wp-block-post-author .wp-block-post-author__avatar img{margin:0}.wp-block-post-author .wp-block-post-author__avatar{margin-bottom:-8px}.wp-block-post-author .wp-block-post-author__name{margin:0;font-weight:700}.wp-block-post-author .wp-block-post-author__bio{margin:0 0 8px;font-size:.7em}.wp-block[data-align=left]>.wp-block-pullquote p,.wp-block[data-align=right]>.wp-block-pullquote p{font-size:20px}.wp-block-pullquote blockquote p{font-size:28px;line-height:1.6}.wp-block-pullquote.is-style-solid-color blockquote p{font-size:32px}.wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation{text-transform:none;font-style:normal}.wp-block-pullquote .wp-block-pullquote__citation{color:inherit}.wp-block-rss li a>div{display:inline}.wp-block-rss__placeholder-form{display:flex;align-items:stretch}.wp-block-rss__placeholder-form>*{margin-bottom:8px}@media (min-width:782px){.wp-block-rss__placeholder-form>*{margin-bottom:0}}.wp-block-rss__placeholder-input{display:flex;align-items:stretch;flex-grow:1}.wp-block-rss__placeholder-input .components-base-control__field{display:flex;align-items:stretch;flex-grow:1;margin:0 0 0 8px}.wp-block[data-align=center] .wp-block-search .wp-block-search__inside-wrapper{margin:auto}.wp-block-search .wp-block-search__input{padding:8px}.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper{padding:4px}.wp-block-search .wp-block-search__button{height:auto;border-radius:initial}.wp-block-search .wp-block-search__button.wp-block-search__button.wp-block-search__button{padding:6px 10px}.wp-block-search__components-button-group{margin-top:10px}.block-editor-block-list__block[data-type="core/separator"]{padding-top:.1px;padding-bottom:.1px}[data-type="core/shortcode"] .block-editor-plain-text{max-height:250px}[data-type="core/shortcode"].components-placeholder{min-height:0}.blocks-shortcode__textarea{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;padding:6px 8px;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:2px;border:1px solid #757575;font-size:16px;line-height:normal}@media (prefers-reduced-motion:reduce){.blocks-shortcode__textarea{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.blocks-shortcode__textarea{font-size:13px;line-height:normal}}.blocks-shortcode__textarea:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color);outline:2px solid transparent}.blocks-shortcode__textarea::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.blocks-shortcode__textarea::-moz-placeholder{opacity:1;color:rgba(30,30,30,.62)}.blocks-shortcode__textarea:-ms-input-placeholder{color:rgba(30,30,30,.62)}.is-dark-theme .blocks-shortcode__textarea::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .blocks-shortcode__textarea::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .blocks-shortcode__textarea:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}.wp-block[data-align=center]>.wp-block-site-logo{margin-right:auto;margin-left:auto;text-align:center}.wp-block-site-logo a{pointer-events:none}.wp-block-site-logo:not(.is-default-size){display:table}.wp-block-site-logo.is-default-size{width:120px}.wp-block-site-logo.is-default-size img{width:100%}.wp-block-site-logo .custom-logo-link{cursor:inherit}.wp-block-site-logo .custom-logo-link:focus{box-shadow:none}.wp-block-site-logo .custom-logo-link.is-transient img{opacity:.3}.wp-block-site-logo img{display:block;max-width:100%}.wp-block-site-logo .components-placeholder{min-height:auto;height:120px;padding:8px}.wp-block-site-logo .components-placeholder .components-placeholder__label{white-space:nowrap}.wp-block-site-logo .components-placeholder .components-placeholder__label .block-editor-block-icon{margin-left:4px}.wp-block-site-logo .components-placeholder .components-form-file-upload{display:none}.wp-block-site-logo .components-placeholder .components-placeholder__preview{position:absolute;top:4px;left:4px;bottom:4px;right:4px;background:hsla(0,0%,100%,.8);display:flex;align-items:center;justify-content:center}.wp-block-site-logo .components-placeholder .components-drop-zone__content-text{display:none}.wp-block-social-links .wp-social-link{line-height:0}.wp-block-social-links .wp-social-link button{font-size:inherit;color:currentColor;height:auto;line-height:0;padding:.25em}.wp-block-social-links.is-style-pill-shape .wp-social-link button{padding-right:.66667em;padding-left:.66667em}.wp-block-social-links div.block-editor-url-input{display:inline-block;margin-right:8px}.wp-social-link:hover{transform:none}.editor-styles-wrapper .wp-block-social-links{padding:0}.wp-block-social-links__social-placeholder{display:flex;opacity:.8;list-style:none}.wp-block-social-links__social-placeholder>.wp-social-link{padding-right:0!important;margin-right:0!important;padding-left:0!important;margin-left:0!important;width:0!important;visibility:hidden}.wp-block-social-links__social-placeholder>.wp-block-social-links__social-placeholder-icons{display:flex}.wp-block-social-links__social-placeholder+.block-list-appender,.wp-block-social-links__social-placeholder .wp-social-link{padding:.25em}.is-style-pill-shape .wp-block-social-links__social-placeholder+.block-list-appender,.is-style-pill-shape .wp-block-social-links__social-placeholder .wp-social-link{padding-right:.66667em;padding-left:.66667em}.wp-block-social-links__social-placeholder .wp-social-link:before{content:"";display:block;width:1em;height:1em;border-radius:50%}.is-style-logos-only .wp-block-social-links__social-placeholder .wp-social-link:before{background:currentColor}.wp-block-social-links .wp-block-social-links__social-prompt{list-style:none;order:2;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:24px;margin-top:auto;margin-bottom:auto;cursor:default;padding-left:8px}.wp-block-social-links .wp-block-social-links__social-prompt+.block-list-appender{margin-left:8px;padding:.25em}.wp-block-social-links .block-list-appender{margin:4px 0 4px auto;border-radius:9999px}.wp-block-social-links .block-list-appender .block-editor-inserter{display:flex;align-items:center;justify-content:center;font-size:inherit;width:1em;height:1em}.has-small-icon-size .wp-block-social-links .block-list-appender{font-size:16px}.has-normal-icon-size .wp-block-social-links .block-list-appender{font-size:24px}.has-large-icon-size .wp-block-social-links .block-list-appender{font-size:36px}.has-huge-icon-size .wp-block-social-links .block-list-appender{font-size:48px}.wp-block-social-links .block-list-appender:before{content:none}.wp-block[data-align=center]>.wp-block-social-links{justify-content:center}.block-editor-block-preview__content .components-button:disabled{opacity:1}.wp-social-link.wp-social-link__is-incomplete{opacity:.5}@media (prefers-reduced-motion:reduce){.wp-social-link.wp-social-link__is-incomplete{transition-duration:0s;transition-delay:0s}}.wp-block-social-links .is-selected .wp-social-link__is-incomplete,.wp-social-link.wp-social-link__is-incomplete:focus,.wp-social-link.wp-social-link__is-incomplete:hover{opacity:1}.block-editor-block-list__block[data-type="core/spacer"]:before{content:"";display:block;position:absolute;width:100%;height:24px;transform:translateY(-12px)}.block-library-spacer__resize-container.has-show-handle,.wp-block-spacer.is-hovered .block-library-spacer__resize-container{background:rgba(0,0,0,.1)}.is-dark-theme .block-library-spacer__resize-container.has-show-handle,.is-dark-theme .wp-block-spacer.is-hovered .block-library-spacer__resize-container{background:hsla(0,0%,100%,.15)}.block-library-spacer__resize-container{clear:both}.block-library-spacer__resize-container .components-resizable-box__handle:before{content:none}.block-library-spacer__resize-container.resize-horizontal{margin-bottom:0}.wp-block-table{margin:0}.wp-block[data-align=center]>.wp-block-table,.wp-block[data-align=left]>.wp-block-table,.wp-block[data-align=right]>.wp-block-table{height:auto}.wp-block[data-align=center]>.wp-block-table table,.wp-block[data-align=left]>.wp-block-table table,.wp-block[data-align=right]>.wp-block-table table{width:auto}.wp-block[data-align=center]>.wp-block-table td,.wp-block[data-align=center]>.wp-block-table th,.wp-block[data-align=left]>.wp-block-table td,.wp-block[data-align=left]>.wp-block-table th,.wp-block[data-align=right]>.wp-block-table td,.wp-block[data-align=right]>.wp-block-table th{word-break:break-word}.wp-block[data-align=center]>.wp-block-table{text-align:initial}.wp-block[data-align=center]>.wp-block-table table{margin:0 auto}.wp-block-table td,.wp-block-table th{border:1px solid}.wp-block-table td.is-selected,.wp-block-table th.is-selected{border-color:var(--wp-admin-theme-color);box-shadow:inset 0 0 0 1px var(--wp-admin-theme-color);border-style:double}.wp-block-table figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-table figcaption{color:hsla(0,0%,100%,.65)}.blocks-table__placeholder-form.blocks-table__placeholder-form{display:flex;flex-direction:column;align-items:flex-start}.blocks-table__placeholder-form.blocks-table__placeholder-form>*{margin-bottom:8px}@media (min-width:782px){.blocks-table__placeholder-form.blocks-table__placeholder-form{flex-direction:row;align-items:flex-end}.blocks-table__placeholder-form.blocks-table__placeholder-form>*{margin-bottom:0}}.blocks-table__placeholder-input{width:112px;margin-left:8px;margin-bottom:0}.blocks-table__placeholder-input input{height:36px}.blocks-table__placeholder-input .components-base-control__field{margin-bottom:0}.wp-block-tag-cloud a{display:inline-block;margin-left:5px}.wp-block-tag-cloud span{display:inline-block;margin-right:5px;color:#757575;text-decoration:none}.wp-block-template-part__placeholder-preview-dropdown-content .components-popover__content,.wp-block-template-part__preview-dropdown-content .components-popover__content{min-width:320px;padding:0}.wp-block-template-part__selection-preview-search-form{border-bottom:1px solid #ddd}.wp-block-template-part__selection-preview-container{background:#fff;padding-bottom:16px}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item{border-radius:2px;cursor:pointer;margin-top:16px;transition:all .05s ease-in-out;border:1px solid transparent;width:100%;background-color:#fff}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item:hover{border:1px solid var(--wp-admin-theme-color)}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item:focus{box-shadow:inset 0 0 0 1px #fff,0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);outline:2px solid transparent}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item.is-placeholder{min-height:100px}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item-title{padding:4px;font-size:12px;text-align:right}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-panel-group-header{padding:16px 16px 0}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-panel-group-content{padding:0 16px}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-panel-group-title{color:var(--wp-admin-theme-color);text-transform:uppercase;font-size:11px;font-weight:500}.block-editor-block-list__block[data-type="core/template-part"].has-child-selected:after{border:1px dotted var(--wp-admin-theme-color)}.block-editor-block-list__block[data-type="core/template-part"].has-child-selected.is-highlighted:after,.block-editor-block-list__block[data-type="core/template-part"].has-child-selected.is-hovered:after{border:none}.wp-block-text-columns .block-editor-rich-text__editable:focus{outline:1px solid #ddd}.wp-block[data-align=center]>.wp-block-video{text-align:center}.wp-block-video{position:relative}.wp-block-video.is-transient video{opacity:.3}.wp-block-video .components-spinner{position:absolute;top:50%;right:50%;margin-top:-9px;margin-right:-9px}.editor-video-poster-control .components-base-control__label{display:block}.editor-video-poster-control .components-button{margin-left:8px}.block-library-video-tracks-editor{z-index:159990}.block-library-video-tracks-editor>.components-popover__content{width:360px}.block-library-video-tracks-editor__track-list-track{display:flex;place-content:space-between;align-items:baseline;padding-right:12px}.block-library-video-tracks-editor__single-track-editor-label-language{display:flex;margin-top:12px}.block-library-video-tracks-editor__single-track-editor-label-language>.components-base-control{width:50%}.block-library-video-tracks-editor__single-track-editor-label-language>.components-base-control:first-child{margin-left:16px}.block-library-video-tracks-editor__single-track-editor-kind-select{max-width:240px}.block-library-video-tracks-editor__single-track-editor-buttons-container{display:flex;place-content:space-between;margin-top:32px}.block-library-video-tracks-editor__single-track-editor-edit-track-label{margin-top:4px;margin-bottom:12px;color:#757575;text-transform:uppercase;font-size:11px;font-weight:500;display:block}.block-library-video-tracks-editor>.components-popover__content>div,.block-library-video-tracks-editor__add-tracks-container .components-menu-group__label,.block-library-video-tracks-editor__track-list .components-menu-group__label{padding:0}.block-library-video-tracks-editor__add-tracks-container,.block-library-video-tracks-editor__single-track-editor,.block-library-video-tracks-editor__track-list{padding:12px}.block-library-video-tracks-editor__single-track-editor .components-base-control .components-base-control__label{margin-bottom:4px}.block-library-video-tracks-editor__single-track-editor .components-base-control .components-base-control__field{margin-bottom:12px}.block-library-video-tracks-editor__single-track-editor .components-base-control .components-text-control__input{margin-right:0}.block-library-video-tracks-editor__single-track-editor .components-base-control .components-input-control__label{margin-bottom:4px}.wp-block-query-title__placeholder{padding:1em 0;border:1px dashed}.editor-styles-wrapper ul.wp-block-query-loop{padding-right:0;margin-right:0;list-style:none}.block-library-query-toolbar__popover .components-popover__content{min-width:230px}.wp-block-query__create-new-link{padding:0 56px 16px 16px}.wp-block>.wp-block-query-pagination{display:flex;flex-wrap:wrap;flex-direction:row}.editor-styles-wrapper .wp-block-query-pagination{max-width:100%}.editor-styles-wrapper .wp-block-query-pagination.block-editor-block-list__layout{margin:0}.block-library-query-pagination-toolbar__popover .components-popover__content{min-width:230px}.wp-block-query-pagination>.wp-block-query-pagination-next,.wp-block-query-pagination>.wp-block-query-pagination-numbers,.wp-block-query-pagination>.wp-block-query-pagination-previous{display:inline-block;margin-top:.5em;margin-right:.5em;margin-bottom:.5em}.wp-block-query-pagination>.wp-block-query-pagination-next:last-child,.wp-block-query-pagination>.wp-block-query-pagination-numbers:last-child,.wp-block-query-pagination>.wp-block-query-pagination-previous:last-child{margin-right:0}.wp-block-query-pagination-numbers a{text-decoration:underline}.wp-block-query-pagination-numbers .page-numbers{margin-left:2px}.wp-block-query-pagination-numbers .page-numbers:last-child{margin-right:0}div[data-type="core/post-featured-image"] img{max-width:100%;height:auto;display:block}.editor-styles-wrapper .post-featured-image_placeholder{display:flex;flex-direction:row;align-items:flex-start;border-radius:2px;background-color:#fff;box-shadow:inset 0 0 0 1px #1e1e1e;padding:12px}.editor-styles-wrapper .post-featured-image_placeholder svg{margin-left:12px}.editor-styles-wrapper .post-featured-image_placeholder p{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;margin:0}.wp-block-term-description__placeholder{padding:1em 0;border:1px dashed}:root .editor-styles-wrapper .has-pale-pink-background-color{background-color:#f78da7}:root .editor-styles-wrapper .has-vivid-red-background-color{background-color:#cf2e2e}:root .editor-styles-wrapper .has-luminous-vivid-orange-background-color{background-color:#ff6900}:root .editor-styles-wrapper .has-luminous-vivid-amber-background-color{background-color:#fcb900}:root .editor-styles-wrapper .has-light-green-cyan-background-color{background-color:#7bdcb5}:root .editor-styles-wrapper .has-vivid-green-cyan-background-color{background-color:#00d084}:root .editor-styles-wrapper .has-pale-cyan-blue-background-color{background-color:#8ed1fc}:root .editor-styles-wrapper .has-vivid-cyan-blue-background-color{background-color:#0693e3}:root .editor-styles-wrapper .has-vivid-purple-background-color{background-color:#9b51e0}:root .editor-styles-wrapper .has-white-background-color{background-color:#fff}:root .editor-styles-wrapper .has-very-light-gray-background-color{background-color:#eee}:root .editor-styles-wrapper .has-cyan-bluish-gray-background-color{background-color:#abb8c3}:root .editor-styles-wrapper .has-very-dark-gray-background-color{background-color:#313131}:root .editor-styles-wrapper .has-black-background-color{background-color:#000}:root .editor-styles-wrapper .has-pale-pink-color{color:#f78da7}:root .editor-styles-wrapper .has-vivid-red-color{color:#cf2e2e}:root .editor-styles-wrapper .has-luminous-vivid-orange-color{color:#ff6900}:root .editor-styles-wrapper .has-luminous-vivid-amber-color{color:#fcb900}:root .editor-styles-wrapper .has-light-green-cyan-color{color:#7bdcb5}:root .editor-styles-wrapper .has-vivid-green-cyan-color{color:#00d084}:root .editor-styles-wrapper .has-pale-cyan-blue-color{color:#8ed1fc}:root .editor-styles-wrapper .has-vivid-cyan-blue-color{color:#0693e3}:root .editor-styles-wrapper .has-vivid-purple-color{color:#9b51e0}:root .editor-styles-wrapper .has-white-color{color:#fff}:root .editor-styles-wrapper .has-very-light-gray-color{color:#eee}:root .editor-styles-wrapper .has-cyan-bluish-gray-color{color:#abb8c3}:root .editor-styles-wrapper .has-very-dark-gray-color{color:#313131}:root .editor-styles-wrapper .has-black-color{color:#000}:root .editor-styles-wrapper .has-vivid-cyan-blue-to-vivid-purple-gradient-background{background:linear-gradient(-135deg,#0693e3,#9b51e0)}:root .editor-styles-wrapper .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background{background:linear-gradient(-135deg,#00d084,#0693e3)}:root .editor-styles-wrapper .has-light-green-cyan-to-vivid-green-cyan-gradient-background{background:linear-gradient(-135deg,#7adcb4,#00d082)}:root .editor-styles-wrapper .has-luminous-vivid-amber-to-luminous-vivid-orange-gradient-background{background:linear-gradient(-135deg,#fcb900,#ff6900)}:root .editor-styles-wrapper .has-luminous-vivid-orange-to-vivid-red-gradient-background{background:linear-gradient(-135deg,#ff6900,#cf2e2e)}:root .editor-styles-wrapper .has-very-light-gray-to-cyan-bluish-gray-gradient-background{background:linear-gradient(-135deg,#eee,#a9b8c3)}:root .editor-styles-wrapper .has-cool-to-warm-spectrum-gradient-background{background:linear-gradient(-135deg,#4aeadc,#9778d1 20%,#cf2aba 40%,#ee2c82 60%,#fb6962 80%,#fef84c)}:root .editor-styles-wrapper .has-blush-light-purple-gradient-background{background:linear-gradient(-135deg,#ffceec,#9896f0)}:root .editor-styles-wrapper .has-blush-bordeaux-gradient-background{background:linear-gradient(-135deg,#fecda5,#fe2d2d 50%,#6b003e)}:root .editor-styles-wrapper .has-purple-crush-gradient-background{background:linear-gradient(-135deg,#34e2e4,#4721fb 50%,#ab1dfe)}:root .editor-styles-wrapper .has-luminous-dusk-gradient-background{background:linear-gradient(-135deg,#ffcb70,#c751c0 50%,#4158d0)}:root .editor-styles-wrapper .has-hazy-dawn-gradient-background{background:linear-gradient(-135deg,#faaca8,#dad0ec)}:root .editor-styles-wrapper .has-pale-ocean-gradient-background{background:linear-gradient(-135deg,#fff5cb,#b6e3d4 50%,#33a7b5)}:root .editor-styles-wrapper .has-electric-grass-gradient-background{background:linear-gradient(-135deg,#caf880,#71ce7e)}:root .editor-styles-wrapper .has-subdued-olive-gradient-background{background:linear-gradient(-135deg,#fafae1,#67a671)}:root .editor-styles-wrapper .has-atomic-cream-gradient-background{background:linear-gradient(-135deg,#fdd79a,#004a59)}:root .editor-styles-wrapper .has-nightshade-gradient-background{background:linear-gradient(-135deg,#330968,#31cdcf)}:root .editor-styles-wrapper .has-midnight-gradient-background{background:linear-gradient(-135deg,#020381,#2874fc)}.editor-styles-wrapper .has-small-font-size{font-size:13px}.editor-styles-wrapper .has-normal-font-size,.editor-styles-wrapper .has-regular-font-size{font-size:16px}.editor-styles-wrapper .has-medium-font-size{font-size:20px}.editor-styles-wrapper .has-large-font-size{font-size:36px}.editor-styles-wrapper .has-huge-font-size,.editor-styles-wrapper .has-larger-font-size{font-size:42px}#end-resizable-editor-section{display:none} \ No newline at end of file +#start-resizable-editor-section{display:none}ul.wp-block-archives{padding-right:2.5em}.wp-block-audio{margin-right:0;margin-left:0}.edit-post-visual-editor .block-library-block__reusable-block-container .is-root-container{padding-right:0;padding-left:0}.edit-post-visual-editor .block-library-block__reusable-block-container .block-editor-writing-flow{display:block}.edit-post-visual-editor .block-library-block__reusable-block-container .components-disabled .block-list-appender{display:none}.wp-block[data-align=center]>.wp-block-button{text-align:center;margin-right:auto;margin-left:auto}.wp-block[data-align=right]>.wp-block-button{text-align:right}.wp-block-button{position:relative;cursor:text}.wp-block-button:not(.has-text-color):not(.is-style-outline) [data-rich-text-placeholder]:after{color:#fff}.wp-block-button:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px var(--wp-admin-theme-color);outline:2px solid transparent;outline-offset:-2px}.wp-block-button[data-rich-text-placeholder]:after{opacity:.8}.wp-block-button__inline-link{color:#757575;height:0;overflow:hidden;max-width:290px}.wp-block-button__inline-link-input__suggestions{max-width:290px}@media (min-width:782px){.wp-block-button__inline-link,.wp-block-button__inline-link-input__suggestions{max-width:260px}}@media (min-width:960px){.wp-block-button__inline-link,.wp-block-button__inline-link-input__suggestions{max-width:290px}}.is-selected .wp-block-button__inline-link{height:auto;overflow:visible;margin-top:16px}.wp-button-label__width .components-button-group{display:block}.wp-button-label__width .components-base-control__field{margin-bottom:12px}div[data-type="core/button"]{display:table}.wp-block>.wp-block-buttons{display:flex;flex-wrap:wrap}.wp-block-buttons>.wp-block{margin-right:0;margin-top:.5em;margin-left:.5em}.wp-block-buttons>.block-list-appender{display:inline-flex;align-items:center}.wp-block-buttons.is-vertical>.block-list-appender .block-list-appender__toggle{justify-content:flex-start}.wp-block-buttons>.wp-block-button:focus{box-shadow:none}.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block[data-align=center]{margin-right:auto;margin-left:auto;margin-top:0;width:100%}.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block[data-align=center] .wp-block-button{margin-bottom:0}.wp-block[data-align=center]>.wp-block-buttons{align-items:center;justify-content:center}.wp-block[data-align=right]>.wp-block-buttons{justify-content:flex-end}.wp-block-categories ul{padding-right:2.5em}.wp-block-categories ul ul{margin-top:6px}.wp-block-columns .wp-block{max-width:none;margin-right:0;margin-left:0}@media (min-width:600px){.editor-styles-wrapper .block-editor-block-list__block.wp-block-column:nth-child(2n){margin-right:32px}}@media (min-width:782px){.editor-styles-wrapper .block-editor-block-list__block.wp-block-column:not(:first-child){margin-right:32px}}.block-editor-block-list__block.wp-block-column.wp-block-column{margin-top:0;margin-bottom:0}.wp-block-cover.is-placeholder{min-height:auto!important;padding:0!important}.wp-block-cover.components-placeholder h2{color:inherit}.wp-block-cover.is-transient:before{background-color:#fff;opacity:.3}.wp-block-cover .components-spinner{position:absolute;z-index:1;top:50%;right:50%;transform:translate(50%,-50%);margin:0}.wp-block-cover .block-editor-block-list__layout{width:100%}.wp-block-cover .wp-block-cover__inner-container{text-align:right;margin-right:0;margin-left:0}.wp-block-cover .wp-block-cover__placeholder-background-options{width:100%}[data-align=left]>.wp-block-cover,[data-align=right]>.wp-block-cover{max-width:420px;width:100%}.block-library-cover__reset-button{margin-right:auto}.block-library-cover__resize-container{position:absolute!important;top:0;right:0;left:0;bottom:0}.block-library-cover__resize-container:not(.is-resizing){height:auto!important}.wp-block-cover>.components-drop-zone.is-active{transition:opacity .2s,border .2s}@media (prefers-reduced-motion:reduce){.wp-block-cover>.components-drop-zone.is-active{transition-duration:0s;transition-delay:0s}}.wp-block-cover>.components-drop-zone.is-dragging-over-element{background-color:initial;border:48px solid var(--wp-admin-theme-color)}.wp-block-cover>.components-drop-zone.is-dragging-over-element .components-drop-zone__content{transform:none}.wp-block-cover>.components-drop-zone .components-drop-zone__content{display:flex;align-items:center;top:-36px;right:-36px;transform:none}.wp-block-cover>.components-drop-zone .components-drop-zone__content-icon,.wp-block-cover>.components-drop-zone .components-drop-zone__content-text{display:inline}.wp-block-cover>.components-drop-zone .components-drop-zone__content-icon{margin:0 0 0 8px}.wp-block-cover>.components-drop-zone .components-drop-zone__content-text{font-size:13px}.block-editor-block-patterns-list__list-item .has-parallax.wp-block-cover{background-attachment:scroll}.wp-block-embed{margin-right:0;margin-left:0;clear:both}.wp-block-embed.is-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:1em;min-height:200px;text-align:center;border-radius:2px;background-color:#fff;box-shadow:inset 0 0 0 1px #1e1e1e}.wp-block-embed.is-loading p{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-embed .components-placeholder__error{word-break:break-word}.wp-block-embed .components-placeholder__learn-more{margin-top:1em}.block-library-embed__interactive-overlay{position:absolute;top:0;right:0;left:0;bottom:0;opacity:0}.wp-block[data-align=left]>.wp-block-embed,.wp-block[data-align=right]>.wp-block-embed{max-width:360px;width:100%}.wp-block[data-align=left]>.wp-block-embed .wp-block-embed__wrapper,.wp-block[data-align=right]>.wp-block-embed .wp-block-embed__wrapper{min-width:280px}.wp-block-file{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;margin-bottom:0}.wp-block[data-align=left]>.wp-block-file,.wp-block[data-align=right]>.wp-block-file{height:auto}.wp-block-file .components-resizable-box__container{margin-bottom:1em}.wp-block-file .wp-block-file__preview{margin-bottom:1em;width:100%;height:100%}.wp-block-file .wp-block-file__preview-overlay{position:absolute;top:0;left:0;bottom:0;right:0}.wp-block-file .wp-block-file__content-wrapper{flex-grow:1}.wp-block-file a{min-width:1em}.wp-block-file .wp-block-file__button-richtext-wrapper{display:inline-block;margin-right:.75em}.wp-block-freeform.block-library-rich-text__tinymce{height:auto}.wp-block-freeform.block-library-rich-text__tinymce li,.wp-block-freeform.block-library-rich-text__tinymce p{line-height:1.8}.wp-block-freeform.block-library-rich-text__tinymce ol,.wp-block-freeform.block-library-rich-text__tinymce ul{padding-right:2.5em;margin-right:0}.wp-block-freeform.block-library-rich-text__tinymce blockquote{margin:0;box-shadow:inset 0 0 0 0 #ddd;border-right:4px solid #000;padding-right:1em}.wp-block-freeform.block-library-rich-text__tinymce pre{white-space:pre-wrap;font-family:Menlo,Consolas,monaco,monospace;font-size:15px;color:#1e1e1e}.wp-block-freeform.block-library-rich-text__tinymce>:first-child{margin-top:0}.wp-block-freeform.block-library-rich-text__tinymce>:last-child{margin-bottom:0}.wp-block-freeform.block-library-rich-text__tinymce.mce-edit-focus{outline:none}.wp-block-freeform.block-library-rich-text__tinymce a{color:var(--wp-admin-theme-color)}.wp-block-freeform.block-library-rich-text__tinymce:focus a[data-mce-selected]{padding:0 2px;margin:0 -2px;border-radius:2px;box-shadow:0 0 0 1px #e5f5fa;background:#e5f5fa}.wp-block-freeform.block-library-rich-text__tinymce code{padding:2px;border-radius:2px;color:#1e1e1e;background:#f0f0f0;font-family:Menlo,Consolas,monaco,monospace;font-size:14px}.wp-block-freeform.block-library-rich-text__tinymce:focus code[data-mce-selected]{background:#ddd}.wp-block-freeform.block-library-rich-text__tinymce .alignright{float:right;margin:.5em 0 .5em 1em}.wp-block-freeform.block-library-rich-text__tinymce .alignleft{float:left;margin:.5em 1em .5em 0}.wp-block-freeform.block-library-rich-text__tinymce .aligncenter{display:block;margin-right:auto;margin-left:auto}.wp-block-freeform.block-library-rich-text__tinymce .wp-more-tag{width:96%;height:20px;display:block;margin:15px auto;outline:0;cursor:default;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAADtgAAAAoBAMAAAA86gLBAAAAJFBMVEVMaXG7u7vBwcHDw8POzs68vLzGxsbMzMy+vr7AwMDQ0NDGxsYKLGzpAAAADHRSTlMA///zWf+/f///TMxNVGuqAAABwklEQVR4Ae3dMXLaQBTH4bfj8UCpx8hq0vgKvgFNemhT6Qo6gg6R+0ZahM2QLmyBJ99XWP9V5+o3jIUcLQEAAAAAAAAAAAAAAAAAAAAAAABQ8j0WL9lfTtlt18uNXAUA8O/KVtfa1tdcrOdSh9gCQAMlh1hMNbZZ1bsrsQWABsrhLRbz7z5in/32UbfUMUbkMQCAh5RfGYv82UdMdZ6HS2wjT2ILAI8r3XmM2B3WvM59vfO2xXYW2yYAENuPU8S+X/N67mKxzy225yaxBQCxLV392UdcvwV0jPVUj98ntkBWT7C7+9u2/V/vGtvXIWJ6/4rtbottWa6Ri0NUT/u72LYttrb97LHdvUXMxxrb8TO2W2TF1rYbbLG1bbGNjMi4+2Sbi1FsbbvNFlvbFtt5fDnE3d9sP1/XeIyV2Nr2U2/guZUuptNrH/dPI9eLB6SaAEBs6wPJf3/PNk9tYgsAYrv/8TFuzx/fvkFqGtrEFgDEdpcZUb7ejXy6ntrEFgDENvL6gsas4vbdyKt4DACI7TxElJv/Z7udpqFNbAFAbKduy2uU2trttM/x28UWAAAAAAAAAAAAAAAAAAAAAAAAAADgDyPwGmGTCZp7AAAAAElFTkSuQmCC);background-size:1900px 20px;background-repeat:no-repeat;background-position:50%}.wp-block-freeform.block-library-rich-text__tinymce img::selection{background-color:initial}.wp-block-freeform.block-library-rich-text__tinymce div.mceTemp{-ms-user-select:element}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption{margin:0;max-width:100%}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption a,.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption img{display:block}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption,.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption *{-webkit-user-drag:none}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption .wp-caption-dd{padding-top:.5em;margin:0}.wp-block-freeform.block-library-rich-text__tinymce .wpview{width:99.99%;position:relative;clear:both;margin-bottom:16px;border:1px solid transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview iframe{display:block;max-width:100%;background:transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview .mce-shim{position:absolute;top:0;left:0;bottom:0;right:0}.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected="2"] .mce-shim{display:none}.wp-block-freeform.block-library-rich-text__tinymce .wpview .loading-placeholder{border:1px dashed #ddd;padding:10px}.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error{border:1px solid #ddd;padding:1em 0;margin:0;word-wrap:break-word}.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error p{margin:0;text-align:center}.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .loading-placeholder,.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .wpview-error{border-color:transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview .dashicons{display:block;margin:0 auto;width:32px;height:32px;font-size:32px}.wp-block-freeform.block-library-rich-text__tinymce .wpview.wpview-type-gallery:after{content:"";display:table;clear:both}.wp-block-freeform.block-library-rich-text__tinymce .gallery img[data-mce-selected]:focus{outline:none}.wp-block-freeform.block-library-rich-text__tinymce .gallery a{cursor:default}.wp-block-freeform.block-library-rich-text__tinymce .gallery{margin:auto -6px;padding:6px 0;line-height:1;overflow-x:hidden}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-item{float:right;margin:0;text-align:center;padding:6px;box-sizing:border-box}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption,.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-icon{margin:0}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption{font-size:13px;margin:4px 0}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-1 .gallery-item{width:100%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-2 .gallery-item{width:50%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-3 .gallery-item{width:33.3333333333%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-4 .gallery-item{width:25%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-5 .gallery-item{width:20%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-6 .gallery-item{width:16.6666666667%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-7 .gallery-item{width:14.2857142857%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-8 .gallery-item{width:12.5%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-9 .gallery-item{width:11.1111111111%}.wp-block-freeform.block-library-rich-text__tinymce .gallery img{max-width:100%;height:auto;border:none;padding:0}div[data-type="core/freeform"]:before{transition:border-color .1s linear,box-shadow .1s linear;border:1px solid #ddd;outline:1px solid transparent}@media (prefers-reduced-motion:reduce){div[data-type="core/freeform"]:before{transition-duration:0s;transition-delay:0s}}div[data-type="core/freeform"].is-selected:before{border-color:#1e1e1e}div[data-type="core/freeform"] .block-editor-block-contextual-toolbar+div{margin-top:0;padding-top:0}div[data-type="core/freeform"].is-selected .block-library-rich-text__tinymce:after{content:"";display:table;clear:both}.mce-toolbar-grp .mce-btn.mce-active:hover button,.mce-toolbar-grp .mce-btn.mce-active:hover i,.mce-toolbar-grp .mce-btn.mce-active button,.mce-toolbar-grp .mce-btn.mce-active i{color:#1e1e1e}.mce-toolbar-grp .mce-rtl .mce-flow-layout-item.mce-last{margin-left:0;margin-right:8px}.mce-toolbar-grp .mce-btn i{font-style:normal}.block-library-classic__toolbar{display:none;width:auto;position:sticky;z-index:31;top:0;border:1px solid #ddd;border-bottom:none;border-radius:2px;margin:0 0 8px;padding:0}div[data-type="core/freeform"].is-selected .block-library-classic__toolbar{display:block;border-color:#1e1e1e}.block-library-classic__toolbar .mce-tinymce{box-shadow:none}@media (min-width:600px){.block-library-classic__toolbar{padding:0}}.block-library-classic__toolbar:empty{display:block;background:#f5f5f5;border-bottom:1px solid #e2e4e7}.block-library-classic__toolbar:empty:before{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;content:attr(data-placeholder);color:#555d66;line-height:37px;padding:14px}.block-library-classic__toolbar div.mce-toolbar-grp{border-bottom:1px solid #1e1e1e}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar .mce-menubar>div,.block-library-classic__toolbar .mce-tinymce-inline,.block-library-classic__toolbar .mce-tinymce-inline>div,.block-library-classic__toolbar div.mce-toolbar-grp,.block-library-classic__toolbar div.mce-toolbar-grp>div{height:auto!important;width:100%!important}.block-library-classic__toolbar .mce-container-body.mce-abs-layout{overflow:visible}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar div.mce-toolbar-grp{position:static}.block-library-classic__toolbar .mce-toolbar-grp>div{padding:1px 3px}.block-library-classic__toolbar .mce-toolbar-grp .mce-toolbar:not(:first-child){display:none}.block-library-classic__toolbar.has-advanced-toolbar .mce-toolbar-grp .mce-toolbar{display:block}.wp-block-gallery li{list-style-type:none}.wp-block-gallery .block-editor-media-placeholder.is-appender .components-placeholder__label{display:none}.wp-block-gallery .block-editor-media-placeholder.is-appender .block-editor-media-placeholder__button{margin-bottom:0}figure.wp-block-gallery{display:block;margin:0}.blocks-gallery-grid.blocks-gallery-grid{padding-right:0;margin-right:0;margin-bottom:0}.blocks-gallery-item figure:not(.is-selected):focus,.blocks-gallery-item img:focus{outline:none}.blocks-gallery-item figure.is-selected:before{box-shadow:0 0 0 1px #fff inset,0 0 0 3px var(--wp-admin-theme-color) inset;content:"";outline:2px solid transparent;position:absolute;top:0;left:0;bottom:0;right:0;z-index:1;pointer-events:none}.blocks-gallery-item figure.is-selected figcaption{z-index:2}.blocks-gallery-item figure.is-transient img{opacity:.3}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu{display:inline-flex}.blocks-gallery-item .block-editor-media-placeholder{margin:0;height:100%}.blocks-gallery-item .block-editor-media-placeholder .components-placeholder__label{display:flex}.block-library-gallery-item__inline-menu{display:none;position:absolute;top:-2px;margin:8px;z-index:20;transition:box-shadow .2s ease-out;border-radius:2px;background:#fff;border:1px solid #1e1e1e}@media (prefers-reduced-motion:reduce){.block-library-gallery-item__inline-menu{transition-duration:0s;transition-delay:0s}}.block-library-gallery-item__inline-menu:hover{box-shadow:0 2px 6px rgba(0,0,0,.05)}@media (min-width:600px){.columns-7 .block-library-gallery-item__inline-menu,.columns-8 .block-library-gallery-item__inline-menu{padding:2px}}.block-library-gallery-item__inline-menu .components-button.has-icon:not(:focus){border:none;box-shadow:none}@media (min-width:600px){.columns-7 .block-library-gallery-item__inline-menu .components-button.has-icon,.columns-8 .block-library-gallery-item__inline-menu .components-button.has-icon{padding:0;width:inherit;height:inherit}}.block-library-gallery-item__inline-menu.is-left{right:-2px}.block-library-gallery-item__inline-menu.is-right{left:-2px}.blocks-gallery-item .components-spinner{position:absolute;top:50%;right:50%;margin-top:-9px;margin-right:-9px}.wp-block-group .block-editor-block-list__insertion-point{right:0;left:0}[data-type="core/group"].is-selected .block-list-appender{margin-right:0;margin-left:0}[data-type="core/group"].is-selected .has-background .block-list-appender{margin-top:18px;margin-bottom:18px}.block-library-heading-level-dropdown .components-popover__content{min-width:230px}.block-library-heading-level-dropdown .components-popover__content>div{padding:0}.block-library-heading-level-toolbar{border:none}.block-library-html__edit{margin-bottom:28px}.block-library-html__edit .block-library-html__preview-overlay{position:absolute;width:100%;height:100%;top:0;right:0}.block-library-html__edit .block-editor-plain-text{font-family:Menlo,Consolas,monaco,monospace;color:#1e1e1e;padding:.8em 1em;border:1px solid #ddd;border-radius:4px;max-height:250px;font-size:16px}@media (min-width:600px){.block-library-html__edit .block-editor-plain-text{font-size:13px}}.block-library-html__edit .block-editor-plain-text:focus{box-shadow:none}figure.wp-block-image:not(.wp-block){margin:0}.wp-block-image{position:relative}.wp-block-image .is-applying img,.wp-block-image.is-transient img{opacity:.3}.wp-block-image figcaption img{display:inline}.wp-block-image .components-spinner{position:absolute;top:50%;right:50%;margin-top:-9px;margin-right:-9px}.wp-block-image:not(.is-style-rounded)>div{border-radius:inherit}.wp-block-image .components-resizable-box__container{display:inline-block}.wp-block-image .components-resizable-box__container img{display:block;width:inherit;height:inherit}.block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal{position:absolute;right:0;left:0;margin:-1px 0}@media (min-width:600px){.block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal{margin:-1px}}[data-align=full]>.wp-block-image img,[data-align=wide]>.wp-block-image img{width:100%}.wp-block[data-align=center]>.wp-block-image,.wp-block[data-align=left]>.wp-block-image,.wp-block[data-align=right]>.wp-block-image{display:table}.wp-block[data-align=center]>.wp-block-image>figcaption,.wp-block[data-align=left]>.wp-block-image>figcaption,.wp-block[data-align=right]>.wp-block-image>figcaption{display:table-caption;caption-side:bottom}.wp-block[data-align=left]>.wp-block-image{margin:.5em 0 .5em 1em}.wp-block[data-align=right]>.wp-block-image{margin:.5em 1em .5em 0}.wp-block[data-align=center]>.wp-block-image{margin-right:auto;margin-left:auto;text-align:center}.wp-block-image__crop-area{position:relative;max-width:100%;width:100%}.wp-block-image__crop-icon{padding:0 8px;min-width:48px;display:flex;justify-content:center;align-items:center}.wp-block-image__crop-icon svg{fill:currentColor}.wp-block-image__zoom .components-popover__content{overflow:visible;min-width:260px}.wp-block-image__zoom .components-range-control{flex:1}.wp-block-image__zoom .components-base-control__field{display:flex;margin-bottom:0;flex-direction:column;align-items:flex-start}.wp-block-image__aspect-ratio{height:46px;margin-bottom:-8px;display:flex;align-items:center}.wp-block-image__aspect-ratio .components-button{width:36px;padding-right:0;padding-left:0}.wp-block-latest-posts{padding-right:2.5em}.wp-block-latest-posts.is-grid{padding-right:0}.wp-block-latest-posts li a>div{display:inline}.edit-post-visual-editor .wp-block-latest-posts.is-grid li{margin-bottom:20px}.wp-block-legacy-widget__edit-form{background:#fff;border-radius:2px;border:1px solid #1e1e1e;padding:11px}.wp-block-legacy-widget__edit-form .wp-block-legacy-widget__edit-form-title{color:#000;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px;font-weight:600;margin:0 0 12px}.wp-block-legacy-widget__edit-form .widget-inside{border:none;box-shadow:none;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.wp-block-legacy-widget__edit-form .widget-inside label{font-size:13px}.wp-block-legacy-widget__edit-form .widget-inside label+.widefat{margin-top:12px}.wp-block-legacy-widget__edit-form .widget.open{z-index:0}.wp-block-legacy-widget__edit-no-preview,.wp-block-legacy-widget__edit-preview{cursor:pointer}.wp-block-legacy-widget__edit-no-preview:hover:after,.wp-block-legacy-widget__edit-preview:hover:after{border-radius:2px;border:1px solid #949494;bottom:0;content:"";right:0;position:absolute;left:0;top:0}.wp-block-legacy-widget__edit-preview.is-offscreen{right:-9999px;position:absolute;top:0;width:100%}.wp-block-legacy-widget__edit-preview-iframe{overflow:hidden;width:100%}.wp-block-legacy-widget__edit-no-preview{background:#f0f0f0;padding:8px 12px;font-size:13px}.wp-block-legacy-widget__edit-no-preview h3{font-size:14px;font-weight:600;margin:4px 0}.wp-block-legacy-widget__edit-no-preview p{margin:4px 0}.wp-block-legacy-widget-inspector-card{padding:0 52px 16px 16px}.interface-complementary-area .wp-block-legacy-widget-inspector-card__name{margin:0 0 5px;font-weight:500}.is-selected .wp-block-legacy-widget__container{padding:8px 12px;min-height:50px}.wp-block-media-text .__resizable_base__{grid-column:1/span 2;grid-row:2}.wp-block-media-text .editor-media-container__resizer{width:100%!important}.wp-block-media-text.is-image-fill .editor-media-container__resizer{height:100%!important}.wp-block-media-text>.block-editor-block-list__layout>.block-editor-block-list__block{max-width:unset}.block-editor-block-list__block[data-type="core/more"]{max-width:100%;text-align:center;margin-top:28px;margin-bottom:28px}.wp-block-more{display:block;text-align:center;white-space:nowrap}.wp-block-more input[type=text]{position:relative;font-size:13px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#757575;border:none;box-shadow:none;white-space:nowrap;text-align:center;margin:0;border-radius:4px;background:#fff;padding:6px 8px;height:24px;max-width:100%}.wp-block-more input[type=text]:focus{box-shadow:none}.wp-block-more:before{content:"";position:absolute;top:50%;right:0;left:0;border-top:3px dashed #ccc}.editor-styles-wrapper .wp-block-navigation ul{margin-top:0;margin-bottom:0;margin-right:0;padding-right:0}.wp-block-navigation__container.is-parent-of-selected-block{visibility:visible;opacity:1}.wp-block-navigation-link,.wp-block-navigation__container{background-color:inherit}.wp-block-navigation:not(.is-selected):not(.has-child-selected) .has-child:hover>.wp-block-navigation-link__container{opacity:0;visibility:hidden}.has-child.has-child-selected>.wp-block-navigation-link__container,.has-child.is-selected>.wp-block-navigation-link__container{display:flex;opacity:1;visibility:visible}.is-dragging-components-draggable .has-child.is-dragging-within>.wp-block-navigation-link__container{opacity:1;visibility:visible}.is-editing>.wp-block-navigation__container{visibility:visible;opacity:1;display:flex;flex-direction:column}.is-dragging-components-draggable .wp-block-navigation-link>.wp-block-navigation__container{opacity:1;visibility:hidden}.is-dragging-components-draggable .wp-block-navigation-link>.wp-block-navigation__container .block-editor-block-draggable-chip-wrapper{visibility:visible}.block-library-colors-selector{width:auto}.block-library-colors-selector .block-library-colors-selector__toggle{display:block;margin:0 auto;padding:3px;width:auto}.block-library-colors-selector .block-library-colors-selector__icon-container{height:30px;position:relative;margin:0 auto;padding:3px;display:flex;align-items:center;border-radius:4px}.block-library-colors-selector .block-library-colors-selector__state-selection{margin-right:auto;margin-left:auto;border-radius:11px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.2);width:22px;min-width:22px;height:22px;min-height:22px;line-height:20px;padding:2px}.block-library-colors-selector .block-library-colors-selector__state-selection>svg{min-width:auto!important}.block-library-colors-selector .block-library-colors-selector__state-selection.has-text-color>svg,.block-library-colors-selector .block-library-colors-selector__state-selection.has-text-color>svg path{color:inherit}.block-library-colors-selector__popover .color-palette-controller-container{padding:16px}.block-library-colors-selector__popover .components-base-control__label{height:20px;line-height:20px}.block-library-colors-selector__popover .component-color-indicator{float:left;margin-top:2px}.block-library-colors-selector__popover .components-panel__body-title{display:none}.wp-block-navigation .block-editor-button-block-appender{justify-content:flex-start}.components-placeholder.wp-block-navigation-placeholder{outline:none;padding:0;box-shadow:none;background:none;min-height:0;color:inherit}.components-placeholder.wp-block-navigation-placeholder .components-placeholder__fieldset{font-size:inherit}.components-placeholder.wp-block-navigation-placeholder .components-placeholder__fieldset .components-button{margin-bottom:0}.is-selected .components-placeholder.wp-block-navigation-placeholder{color:#1e1e1e}.wp-block-navigation-placeholder .components-spinner{margin-top:-4px;margin-right:4px;vertical-align:middle;margin-left:7px}.wp-block-navigation-placeholder__preview{display:flex;flex-direction:row;align-items:center;flex-wrap:nowrap;width:100%;overflow:hidden}.wp-block-navigation-placeholder__preview .wp-block-navigation-link.wp-block-navigation-link{position:relative;min-width:72px}.wp-block-navigation-placeholder__preview .wp-block-navigation-link.wp-block-navigation-link:before{display:block;content:"";border-radius:2px;background:currentColor;height:16px;width:100%}.wp-block-navigation-placeholder__preview svg{fill:currentColor}.wp-block-navigation-placeholder__preview .wp-block-navigation-link.wp-block-navigation-link,.wp-block-navigation-placeholder__preview svg{opacity:.3}.wp-block-navigation.is-selected .wp-block-navigation-placeholder__preview{display:flex;opacity:0;width:0;overflow:hidden;flex-wrap:nowrap}.wp-block-navigation.is-selected .is-medium .wp-block-navigation-placeholder__preview,.wp-block-navigation.is-selected .is-small .wp-block-navigation-placeholder__preview{display:none}.wp-block-navigation-placeholder__controls{padding:8px;border-radius:2px;background-color:#fff;box-shadow:inset 0 0 0 1px #1e1e1e;flex-direction:row;align-items:center;display:none;position:relative;z-index:1;float:right;width:100%}.is-large .wp-block-navigation-placeholder__controls{padding:4px 8px}.wp-block-navigation.is-selected .wp-block-navigation-placeholder__controls{display:flex}.is-medium .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions,.is-small .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions,.is-vertical .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions{flex-direction:column}.is-selected.is-vertical .wp-block-navigation-placeholder__controls{display:inline-flex;padding:12px}.wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__icon{margin-left:12px;height:36px}.wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator{margin-left:12px;padding:0;align-items:center;justify-content:flex-start;line-height:0;margin-right:5px;display:none}.wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator svg{margin-left:4px}.is-vertical .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator{margin-bottom:4px;margin-right:0}.is-large .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator{display:inline-flex}.is-vertical .wp-block-navigation-placeholder,.is-vertical .wp-block-navigation-placeholder__controls,.is-vertical .wp-block-navigation-placeholder__preview{min-height:156px}.is-vertical .wp-block-navigation-placeholder__controls,.is-vertical .wp-block-navigation-placeholder__preview{flex-direction:column;align-items:flex-start}.wp-block-navigation-placeholder__actions{display:flex;font-size:13px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.wp-block-navigation-placeholder__actions .components-button.components-dropdown-menu__toggle.has-icon{padding:6px 12px 6px 4px;display:flex;flex-direction:row-reverse}.wp-block-navigation-placeholder__actions .components-dropdown,.wp-block-navigation-placeholder__actions>.components-button{margin-left:12px}@media (min-width:600px){.components-button.wp-block-navigation__responsive-container-open,.wp-block-navigation__responsive-container:not(.is-menu-open) .components-button.wp-block-navigation__responsive-container-close{display:none}}.wp-block-navigation__responsive-container.is-menu-open{position:fixed}body.admin-bar .wp-block-navigation__responsive-container.is-menu-open{top:155px}@media (min-width:782px){body.admin-bar .wp-block-navigation__responsive-container.is-menu-open{top:61px}}@media (min-width:600px){.wp-block-navigation__responsive-close{pointer-events:none}.wp-block-navigation__responsive-close .block-editor-block-list__layout *,.wp-block-navigation__responsive-close .wp-block-navigation__responsive-container-close{pointer-events:all}}.wp-block-navigation__responsive-close .wp-block-pages-list__item__link{pointer-events:none}.components-button.wp-block-navigation__responsive-container-close.wp-block-navigation__responsive-container-close,.components-button.wp-block-navigation__responsive-container-open.wp-block-navigation__responsive-container-open{padding:0;height:auto;color:inherit}.is-menu-open .wp-block-navigation__responsive-container-content * .block-list-appender{margin-top:16px}.wp-block-navigation-link__container{border-radius:0;min-height:36px}.wp-block-navigation .has-child{cursor:pointer}.wp-block-navigation .has-child .submenu-container,.wp-block-navigation .has-child .wp-block-navigation-link__container{z-index:28}.wp-block-navigation .has-child:hover .submenu-container,.wp-block-navigation .has-child:hover .wp-block-navigation-link__container{z-index:29}.wp-block-navigation .has-child.has-child-selected>.wp-block-navigation-link__container,.wp-block-navigation .has-child.is-selected>.wp-block-navigation-link__container{visibility:visible!important;opacity:1!important}.wp-block-navigation-link .wp-block-navigation-link__container{display:block}.wp-block-navigation-link .wp-block-navigation-link__content{cursor:text}.wp-block-navigation-link.is-editing,.wp-block-navigation-link.is-selected{min-width:20px}.wp-block-navigation-link .block-list-appender{margin:16px 16px 16px auto}.wp-block-navigation .block-editor-block-list__block[data-type="core/navigation-link"]>.block-editor-block-list__insertion-point{display:none}.wp-block-navigation-link__placeholder{position:relative;margin:2px}.wp-block-navigation-link__placeholder .wp-block-navigation-link__placeholder-text{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;padding-right:4px;padding-left:4px}.wp-block-navigation-link__placeholder.wp-block-navigation-link__content{cursor:pointer}.wp-block-navigation-link__placeholder:before{content:"";display:block;position:absolute;top:0;left:0;bottom:0;right:0;border-radius:2px;opacity:.1}.is-dark-theme .wp-block-navigation-link__placeholder:before{opacity:.2}.is-editing .wp-block-navigation-link__placeholder:before{background:currentColor}.wp-block-navigation .wp-block-navigation-link:not(.is-editing) .wp-block-navigation-link__content.wp-block-navigation-link__placeholder{box-shadow:inset 0 0 0 1px #757575;border-radius:2px;color:var(--wp-admin-theme-color)}.block-editor-block-list__block[data-type="core/nextpage"]{max-width:100%;text-align:center;margin-top:28px;margin-bottom:28px}.wp-block-nextpage{display:block;text-align:center;white-space:nowrap}.wp-block-nextpage>span{font-size:13px;position:relative;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#757575;border-radius:4px;background:#fff;padding:6px 8px;height:24px}.wp-block-nextpage:before{content:"";position:absolute;top:50%;right:0;left:0;border-top:3px dashed #ccc}.wp-block-navigation .wp-block-page-list,.wp-block-navigation .wp-block-page-list>div{background-color:inherit}.wp-block-navigation.items-justified-space-between .wp-block-page-list,.wp-block-navigation.items-justified-space-between .wp-block-page-list>div{display:contents;flex:1}.wp-block-navigation.items-justified-space-between.has-child-selected .wp-block-page-list,.wp-block-navigation.items-justified-space-between.has-child-selected .wp-block-page-list>div,.wp-block-navigation.items-justified-space-between.is-selected .wp-block-page-list,.wp-block-navigation.items-justified-space-between.is-selected .wp-block-page-list>div{flex:inherit}.wp-block-pages-list__item__link{pointer-events:none}.wp-block-page-list .components-placeholder{min-height:0;padding:0;background-color:inherit}.wp-block-page-list .components-placeholder .components-spinner{margin:.5em}.wp-block-page-list-modal{max-width:400px}.wp-block-page-list-modal-buttons{display:flex;justify-content:flex-end}.wp-block-page-list-modal-buttons .components-button{margin-right:12px}.block-editor-block-list__block[data-type="core/paragraph"].has-drop-cap:focus{min-height:auto!important}.block-editor-block-list__block[data-empty=true] [data-rich-text-placeholder]{opacity:1}.block-editor-block-list__block[data-empty=true]+.block-editor-block-list__block[data-empty=true] [data-rich-text-placeholder]{opacity:0}.wp-block-post-content__placeholder{height:100px;border:1px dashed;display:flex;justify-content:center;align-items:center}.wp-block-post-content__placeholder span{font-style:italic}.wp-block-post-excerpt .wp-block-post-excerpt__excerpt.is-inline{display:inline-block}.wp-block-post-author{display:flex;flex-wrap:wrap}.wp-block-post-author .wp-block-post-author__byline{font-size:.5em;margin-top:0;position:relative;font-style:normal}.wp-block-post-author .wp-block-post-author__content{flex-grow:1;flex-basis:0}.wp-block-post-author .wp-block-post-author__avatar img{margin:0}.wp-block-post-author .wp-block-post-author__avatar{margin-bottom:-8px}.wp-block-post-author .wp-block-post-author__name{margin:0;font-weight:700}.wp-block-post-author .wp-block-post-author__bio{margin:0 0 8px;font-size:.7em}.wp-block[data-align=left]>.wp-block-pullquote p,.wp-block[data-align=right]>.wp-block-pullquote p{font-size:20px}.wp-block-pullquote blockquote p{font-size:28px;line-height:1.6}.wp-block-pullquote.is-style-solid-color blockquote p{font-size:32px}.wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation{text-transform:none;font-style:normal}.wp-block-pullquote .wp-block-pullquote__citation{color:inherit}.wp-block-rss li a>div{display:inline}.wp-block-rss__placeholder-form{display:flex;align-items:stretch}.wp-block-rss__placeholder-form>*{margin-bottom:8px}@media (min-width:782px){.wp-block-rss__placeholder-form>*{margin-bottom:0}}.wp-block-rss__placeholder-input{display:flex;align-items:stretch;flex-grow:1}.wp-block-rss__placeholder-input .components-base-control__field{display:flex;align-items:stretch;flex-grow:1;margin:0 0 0 8px}.wp-block[data-align=center] .wp-block-search .wp-block-search__inside-wrapper{margin:auto}.wp-block-search .wp-block-search__input{padding:8px}.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper{padding:4px}.wp-block-search .wp-block-search__button{height:auto;border-radius:initial}.wp-block-search .wp-block-search__button.wp-block-search__button.wp-block-search__button{padding:6px 10px}.wp-block-search__components-button-group{margin-top:10px}.block-editor-block-list__block[data-type="core/separator"]{padding-top:.1px;padding-bottom:.1px}[data-type="core/shortcode"] .block-editor-plain-text{max-height:250px}[data-type="core/shortcode"].components-placeholder{min-height:0}.blocks-shortcode__textarea{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;padding:6px 8px;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:2px;border:1px solid #757575;font-size:16px;line-height:normal}@media (prefers-reduced-motion:reduce){.blocks-shortcode__textarea{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.blocks-shortcode__textarea{font-size:13px;line-height:normal}}.blocks-shortcode__textarea:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color);outline:2px solid transparent}.blocks-shortcode__textarea::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.blocks-shortcode__textarea::-moz-placeholder{opacity:1;color:rgba(30,30,30,.62)}.blocks-shortcode__textarea:-ms-input-placeholder{color:rgba(30,30,30,.62)}.is-dark-theme .blocks-shortcode__textarea::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .blocks-shortcode__textarea::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .blocks-shortcode__textarea:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}.wp-block[data-align=center]>.wp-block-site-logo{margin-right:auto;margin-left:auto;text-align:center}.wp-block-site-logo a{pointer-events:none}.wp-block-site-logo:not(.is-default-size){display:table}.wp-block-site-logo.is-default-size{width:120px}.wp-block-site-logo.is-default-size img{width:100%}.wp-block-site-logo .custom-logo-link{cursor:inherit}.wp-block-site-logo .custom-logo-link:focus{box-shadow:none}.wp-block-site-logo .custom-logo-link.is-transient img{opacity:.3}.wp-block-site-logo img{display:block;max-width:100%}.wp-block-site-logo .components-placeholder{min-height:auto;height:120px;padding:8px}.wp-block-site-logo .components-placeholder .components-placeholder__label{white-space:nowrap}.wp-block-site-logo .components-placeholder .components-placeholder__label .block-editor-block-icon{margin-left:4px}.wp-block-site-logo .components-placeholder .components-form-file-upload{display:none}.wp-block-site-logo .components-placeholder .components-placeholder__preview{position:absolute;top:4px;left:4px;bottom:4px;right:4px;background:hsla(0,0%,100%,.8);display:flex;align-items:center;justify-content:center}.wp-block-site-logo .components-placeholder .components-drop-zone__content-text{display:none}.wp-block-social-links .wp-social-link{line-height:0}.wp-block-social-links .wp-social-link button{font-size:inherit;color:currentColor;height:auto;line-height:0;padding:.25em}.wp-block-social-links.is-style-pill-shape .wp-social-link button{padding-right:.66667em;padding-left:.66667em}.wp-block-social-links div.block-editor-url-input{display:inline-block;margin-right:8px}.wp-social-link:hover{transform:none}.editor-styles-wrapper .wp-block-social-links{padding:0}.wp-block-social-links__social-placeholder{display:flex;opacity:.8;list-style:none}.wp-block-social-links__social-placeholder>.wp-social-link{padding-right:0!important;margin-right:0!important;padding-left:0!important;margin-left:0!important;width:0!important;visibility:hidden}.wp-block-social-links__social-placeholder>.wp-block-social-links__social-placeholder-icons{display:flex}.wp-block-social-links__social-placeholder+.block-list-appender,.wp-block-social-links__social-placeholder .wp-social-link{padding:.25em}.is-style-pill-shape .wp-block-social-links__social-placeholder+.block-list-appender,.is-style-pill-shape .wp-block-social-links__social-placeholder .wp-social-link{padding-right:.66667em;padding-left:.66667em}.wp-block-social-links__social-placeholder .wp-social-link:before{content:"";display:block;width:1em;height:1em;border-radius:50%}.is-style-logos-only .wp-block-social-links__social-placeholder .wp-social-link:before{background:currentColor}.wp-block-social-links .wp-block-social-links__social-prompt{list-style:none;order:2;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:24px;margin-top:auto;margin-bottom:auto;cursor:default;padding-left:8px}.wp-block-social-links .wp-block-social-links__social-prompt+.block-list-appender{margin-left:8px;padding:.25em}.wp-block-social-links .block-list-appender{margin:4px 0 4px auto;border-radius:9999px}.wp-block-social-links .block-list-appender .block-editor-inserter{display:flex;align-items:center;justify-content:center;font-size:inherit;width:1em;height:1em}.has-small-icon-size .wp-block-social-links .block-list-appender{font-size:16px}.has-normal-icon-size .wp-block-social-links .block-list-appender{font-size:24px}.has-large-icon-size .wp-block-social-links .block-list-appender{font-size:36px}.has-huge-icon-size .wp-block-social-links .block-list-appender{font-size:48px}.wp-block-social-links .block-list-appender:before{content:none}.wp-block[data-align=center]>.wp-block-social-links{justify-content:center}.block-editor-block-preview__content .components-button:disabled{opacity:1}.wp-social-link.wp-social-link__is-incomplete{opacity:.5}@media (prefers-reduced-motion:reduce){.wp-social-link.wp-social-link__is-incomplete{transition-duration:0s;transition-delay:0s}}.wp-block-social-links .is-selected .wp-social-link__is-incomplete,.wp-social-link.wp-social-link__is-incomplete:focus,.wp-social-link.wp-social-link__is-incomplete:hover{opacity:1}.block-editor-block-list__block[data-type="core/spacer"]:before{content:"";display:block;position:absolute;width:100%;height:24px;transform:translateY(-12px)}.block-library-spacer__resize-container.has-show-handle,.wp-block-spacer.is-hovered .block-library-spacer__resize-container{background:rgba(0,0,0,.1)}.is-dark-theme .block-library-spacer__resize-container.has-show-handle,.is-dark-theme .wp-block-spacer.is-hovered .block-library-spacer__resize-container{background:hsla(0,0%,100%,.15)}.block-library-spacer__resize-container{clear:both}.block-library-spacer__resize-container .components-resizable-box__handle:before{content:none}.block-library-spacer__resize-container.resize-horizontal{margin-bottom:0}.wp-block-table{margin:0}.wp-block[data-align=center]>.wp-block-table,.wp-block[data-align=left]>.wp-block-table,.wp-block[data-align=right]>.wp-block-table{height:auto}.wp-block[data-align=center]>.wp-block-table table,.wp-block[data-align=left]>.wp-block-table table,.wp-block[data-align=right]>.wp-block-table table{width:auto}.wp-block[data-align=center]>.wp-block-table td,.wp-block[data-align=center]>.wp-block-table th,.wp-block[data-align=left]>.wp-block-table td,.wp-block[data-align=left]>.wp-block-table th,.wp-block[data-align=right]>.wp-block-table td,.wp-block[data-align=right]>.wp-block-table th{word-break:break-word}.wp-block[data-align=center]>.wp-block-table{text-align:initial}.wp-block[data-align=center]>.wp-block-table table{margin:0 auto}.wp-block-table td,.wp-block-table th{border:1px solid}.wp-block-table td.is-selected,.wp-block-table th.is-selected{border-color:var(--wp-admin-theme-color);box-shadow:inset 0 0 0 1px var(--wp-admin-theme-color);border-style:double}.wp-block-table figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-table figcaption{color:hsla(0,0%,100%,.65)}.blocks-table__placeholder-form.blocks-table__placeholder-form{display:flex;flex-direction:column;align-items:flex-start}.blocks-table__placeholder-form.blocks-table__placeholder-form>*{margin-bottom:8px}@media (min-width:782px){.blocks-table__placeholder-form.blocks-table__placeholder-form{flex-direction:row;align-items:flex-end}.blocks-table__placeholder-form.blocks-table__placeholder-form>*{margin-bottom:0}}.blocks-table__placeholder-input{width:112px;margin-left:8px;margin-bottom:0}.blocks-table__placeholder-input input{height:36px}.blocks-table__placeholder-input .components-base-control__field{margin-bottom:0}.wp-block-tag-cloud a{display:inline-block;margin-left:5px}.wp-block-tag-cloud span{display:inline-block;margin-right:5px;color:#757575;text-decoration:none}.wp-block-template-part__placeholder-preview-dropdown-content .components-popover__content,.wp-block-template-part__preview-dropdown-content .components-popover__content{min-width:320px;padding:0}.wp-block-template-part__selection-preview-search-form{border-bottom:1px solid #ddd}.wp-block-template-part__selection-preview-container{background:#fff;padding-bottom:16px}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item{border-radius:2px;cursor:pointer;margin-top:16px;transition:all .05s ease-in-out;border:1px solid transparent;width:100%;background-color:#fff}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item:hover{border:1px solid var(--wp-admin-theme-color)}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item:focus{box-shadow:inset 0 0 0 1px #fff,0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);outline:2px solid transparent}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item.is-placeholder{min-height:100px}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item-title{padding:4px;font-size:12px;text-align:right}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-panel-group-header{padding:16px 16px 0}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-panel-group-content{padding:0 16px}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-panel-group-title{color:var(--wp-admin-theme-color);text-transform:uppercase;font-size:11px;font-weight:500}.block-editor-block-list__block[data-type="core/template-part"].has-child-selected:after{border:1px dotted var(--wp-admin-theme-color)}.block-editor-block-list__block[data-type="core/template-part"].has-child-selected.is-highlighted:after,.block-editor-block-list__block[data-type="core/template-part"].has-child-selected.is-hovered:after{border:none}.wp-block-text-columns .block-editor-rich-text__editable:focus{outline:1px solid #ddd}.wp-block[data-align=center]>.wp-block-video{text-align:center}.wp-block-video{position:relative}.wp-block-video.is-transient video{opacity:.3}.wp-block-video .components-spinner{position:absolute;top:50%;right:50%;margin-top:-9px;margin-right:-9px}.editor-video-poster-control .components-base-control__label{display:block}.editor-video-poster-control .components-button{margin-left:8px}.block-library-video-tracks-editor{z-index:159990}.block-library-video-tracks-editor>.components-popover__content{width:360px}.block-library-video-tracks-editor__track-list-track{display:flex;place-content:space-between;align-items:baseline;padding-right:12px}.block-library-video-tracks-editor__single-track-editor-label-language{display:flex;margin-top:12px}.block-library-video-tracks-editor__single-track-editor-label-language>.components-base-control{width:50%}.block-library-video-tracks-editor__single-track-editor-label-language>.components-base-control:first-child{margin-left:16px}.block-library-video-tracks-editor__single-track-editor-kind-select{max-width:240px}.block-library-video-tracks-editor__single-track-editor-buttons-container{display:flex;place-content:space-between;margin-top:32px}.block-library-video-tracks-editor__single-track-editor-edit-track-label{margin-top:4px;margin-bottom:12px;color:#757575;text-transform:uppercase;font-size:11px;font-weight:500;display:block}.block-library-video-tracks-editor>.components-popover__content>div,.block-library-video-tracks-editor__add-tracks-container .components-menu-group__label,.block-library-video-tracks-editor__track-list .components-menu-group__label{padding:0}.block-library-video-tracks-editor__add-tracks-container,.block-library-video-tracks-editor__single-track-editor,.block-library-video-tracks-editor__track-list{padding:12px}.block-library-video-tracks-editor__single-track-editor .components-base-control .components-base-control__label{margin-bottom:4px}.block-library-video-tracks-editor__single-track-editor .components-base-control .components-base-control__field{margin-bottom:12px}.block-library-video-tracks-editor__single-track-editor .components-base-control .components-text-control__input{margin-right:0}.block-library-video-tracks-editor__single-track-editor .components-base-control .components-input-control__label{margin-bottom:4px}.wp-block-query-title__placeholder{padding:1em 0;border:1px dashed}.editor-styles-wrapper ul.wp-block-query-loop{padding-right:0;margin-right:0;list-style:none}.block-library-query-toolbar__popover .components-popover__content{min-width:230px}.wp-block-query__create-new-link{padding:0 56px 16px 16px}.wp-block>.wp-block-query-pagination{display:flex;flex-wrap:wrap;flex-direction:row}.editor-styles-wrapper .wp-block-query-pagination{max-width:100%}.editor-styles-wrapper .wp-block-query-pagination.block-editor-block-list__layout{margin:0}.block-library-query-pagination-toolbar__popover .components-popover__content{min-width:230px}.wp-block-query-pagination>.wp-block-query-pagination-next,.wp-block-query-pagination>.wp-block-query-pagination-numbers,.wp-block-query-pagination>.wp-block-query-pagination-previous{display:inline-block;margin-top:.5em;margin-right:.5em;margin-bottom:.5em}.wp-block-query-pagination>.wp-block-query-pagination-next:last-child,.wp-block-query-pagination>.wp-block-query-pagination-numbers:last-child,.wp-block-query-pagination>.wp-block-query-pagination-previous:last-child{margin-right:0}.wp-block-query-pagination-numbers a{text-decoration:underline}.wp-block-query-pagination-numbers .page-numbers{margin-left:2px}.wp-block-query-pagination-numbers .page-numbers:last-child{margin-right:0}div[data-type="core/post-featured-image"] img{max-width:100%;height:auto;display:block}.editor-styles-wrapper .post-featured-image_placeholder{display:flex;flex-direction:row;align-items:flex-start;border-radius:2px;background-color:#fff;box-shadow:inset 0 0 0 1px #1e1e1e;padding:12px}.editor-styles-wrapper .post-featured-image_placeholder svg{margin-left:12px}.editor-styles-wrapper .post-featured-image_placeholder p{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;margin:0}.wp-block-term-description__placeholder{padding:1em 0;border:1px dashed}:root .editor-styles-wrapper .has-pale-pink-background-color{background-color:#f78da7}:root .editor-styles-wrapper .has-vivid-red-background-color{background-color:#cf2e2e}:root .editor-styles-wrapper .has-luminous-vivid-orange-background-color{background-color:#ff6900}:root .editor-styles-wrapper .has-luminous-vivid-amber-background-color{background-color:#fcb900}:root .editor-styles-wrapper .has-light-green-cyan-background-color{background-color:#7bdcb5}:root .editor-styles-wrapper .has-vivid-green-cyan-background-color{background-color:#00d084}:root .editor-styles-wrapper .has-pale-cyan-blue-background-color{background-color:#8ed1fc}:root .editor-styles-wrapper .has-vivid-cyan-blue-background-color{background-color:#0693e3}:root .editor-styles-wrapper .has-vivid-purple-background-color{background-color:#9b51e0}:root .editor-styles-wrapper .has-white-background-color{background-color:#fff}:root .editor-styles-wrapper .has-very-light-gray-background-color{background-color:#eee}:root .editor-styles-wrapper .has-cyan-bluish-gray-background-color{background-color:#abb8c3}:root .editor-styles-wrapper .has-very-dark-gray-background-color{background-color:#313131}:root .editor-styles-wrapper .has-black-background-color{background-color:#000}:root .editor-styles-wrapper .has-pale-pink-color{color:#f78da7}:root .editor-styles-wrapper .has-vivid-red-color{color:#cf2e2e}:root .editor-styles-wrapper .has-luminous-vivid-orange-color{color:#ff6900}:root .editor-styles-wrapper .has-luminous-vivid-amber-color{color:#fcb900}:root .editor-styles-wrapper .has-light-green-cyan-color{color:#7bdcb5}:root .editor-styles-wrapper .has-vivid-green-cyan-color{color:#00d084}:root .editor-styles-wrapper .has-pale-cyan-blue-color{color:#8ed1fc}:root .editor-styles-wrapper .has-vivid-cyan-blue-color{color:#0693e3}:root .editor-styles-wrapper .has-vivid-purple-color{color:#9b51e0}:root .editor-styles-wrapper .has-white-color{color:#fff}:root .editor-styles-wrapper .has-very-light-gray-color{color:#eee}:root .editor-styles-wrapper .has-cyan-bluish-gray-color{color:#abb8c3}:root .editor-styles-wrapper .has-very-dark-gray-color{color:#313131}:root .editor-styles-wrapper .has-black-color{color:#000}:root .editor-styles-wrapper .has-vivid-cyan-blue-to-vivid-purple-gradient-background{background:linear-gradient(-135deg,#0693e3,#9b51e0)}:root .editor-styles-wrapper .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background{background:linear-gradient(-135deg,#00d084,#0693e3)}:root .editor-styles-wrapper .has-light-green-cyan-to-vivid-green-cyan-gradient-background{background:linear-gradient(-135deg,#7adcb4,#00d082)}:root .editor-styles-wrapper .has-luminous-vivid-amber-to-luminous-vivid-orange-gradient-background{background:linear-gradient(-135deg,#fcb900,#ff6900)}:root .editor-styles-wrapper .has-luminous-vivid-orange-to-vivid-red-gradient-background{background:linear-gradient(-135deg,#ff6900,#cf2e2e)}:root .editor-styles-wrapper .has-very-light-gray-to-cyan-bluish-gray-gradient-background{background:linear-gradient(-135deg,#eee,#a9b8c3)}:root .editor-styles-wrapper .has-cool-to-warm-spectrum-gradient-background{background:linear-gradient(-135deg,#4aeadc,#9778d1 20%,#cf2aba 40%,#ee2c82 60%,#fb6962 80%,#fef84c)}:root .editor-styles-wrapper .has-blush-light-purple-gradient-background{background:linear-gradient(-135deg,#ffceec,#9896f0)}:root .editor-styles-wrapper .has-blush-bordeaux-gradient-background{background:linear-gradient(-135deg,#fecda5,#fe2d2d 50%,#6b003e)}:root .editor-styles-wrapper .has-purple-crush-gradient-background{background:linear-gradient(-135deg,#34e2e4,#4721fb 50%,#ab1dfe)}:root .editor-styles-wrapper .has-luminous-dusk-gradient-background{background:linear-gradient(-135deg,#ffcb70,#c751c0 50%,#4158d0)}:root .editor-styles-wrapper .has-hazy-dawn-gradient-background{background:linear-gradient(-135deg,#faaca8,#dad0ec)}:root .editor-styles-wrapper .has-pale-ocean-gradient-background{background:linear-gradient(-135deg,#fff5cb,#b6e3d4 50%,#33a7b5)}:root .editor-styles-wrapper .has-electric-grass-gradient-background{background:linear-gradient(-135deg,#caf880,#71ce7e)}:root .editor-styles-wrapper .has-subdued-olive-gradient-background{background:linear-gradient(-135deg,#fafae1,#67a671)}:root .editor-styles-wrapper .has-atomic-cream-gradient-background{background:linear-gradient(-135deg,#fdd79a,#004a59)}:root .editor-styles-wrapper .has-nightshade-gradient-background{background:linear-gradient(-135deg,#330968,#31cdcf)}:root .editor-styles-wrapper .has-midnight-gradient-background{background:linear-gradient(-135deg,#020381,#2874fc)}.editor-styles-wrapper .has-small-font-size{font-size:13px}.editor-styles-wrapper .has-normal-font-size,.editor-styles-wrapper .has-regular-font-size{font-size:16px}.editor-styles-wrapper .has-medium-font-size{font-size:20px}.editor-styles-wrapper .has-large-font-size{font-size:36px}.editor-styles-wrapper .has-huge-font-size,.editor-styles-wrapper .has-larger-font-size{font-size:42px}#end-resizable-editor-section{display:none} \ No newline at end of file diff --git a/wp-includes/css/dist/block-library/editor.css b/wp-includes/css/dist/block-library/editor.css index 9fa6e3323b..6fd8469e64 100644 --- a/wp-includes/css/dist/block-library/editor.css +++ b/wp-includes/css/dist/block-library/editor.css @@ -1123,6 +1123,11 @@ figure.wp-block-image:not(.wp-block) { font-weight: 500; } +.is-selected .wp-block-legacy-widget__container { + padding: 8px 12px; + min-height: 50px; +} + .wp-block-media-text .__resizable_base__ { grid-column: 1/span 2; grid-row: 2; diff --git a/wp-includes/css/dist/block-library/editor.min.css b/wp-includes/css/dist/block-library/editor.min.css index 78c5c1df4d..c52bdc51b5 100644 --- a/wp-includes/css/dist/block-library/editor.min.css +++ b/wp-includes/css/dist/block-library/editor.min.css @@ -1,2 +1,2 @@ #start-resizable-editor-section{display:none}ul.wp-block-archives{padding-left:2.5em}.wp-block-audio{margin-left:0;margin-right:0}.edit-post-visual-editor .block-library-block__reusable-block-container .is-root-container{padding-left:0;padding-right:0}.edit-post-visual-editor .block-library-block__reusable-block-container .block-editor-writing-flow{display:block}.edit-post-visual-editor .block-library-block__reusable-block-container .components-disabled .block-list-appender{display:none}.wp-block[data-align=center]>.wp-block-button{text-align:center;margin-left:auto;margin-right:auto}.wp-block[data-align=right]>.wp-block-button{ - /*!rtl:ignore*/text-align:right}.wp-block-button{position:relative;cursor:text}.wp-block-button:not(.has-text-color):not(.is-style-outline) [data-rich-text-placeholder]:after{color:#fff}.wp-block-button:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px var(--wp-admin-theme-color);outline:2px solid transparent;outline-offset:-2px}.wp-block-button[data-rich-text-placeholder]:after{opacity:.8}.wp-block-button__inline-link{color:#757575;height:0;overflow:hidden;max-width:290px}.wp-block-button__inline-link-input__suggestions{max-width:290px}@media (min-width:782px){.wp-block-button__inline-link,.wp-block-button__inline-link-input__suggestions{max-width:260px}}@media (min-width:960px){.wp-block-button__inline-link,.wp-block-button__inline-link-input__suggestions{max-width:290px}}.is-selected .wp-block-button__inline-link{height:auto;overflow:visible;margin-top:16px}.wp-button-label__width .components-button-group{display:block}.wp-button-label__width .components-base-control__field{margin-bottom:12px}div[data-type="core/button"]{display:table}.wp-block>.wp-block-buttons{display:flex;flex-wrap:wrap}.wp-block-buttons>.wp-block{margin-left:0;margin-top:.5em;margin-right:.5em}.wp-block-buttons>.block-list-appender{display:inline-flex;align-items:center}.wp-block-buttons.is-vertical>.block-list-appender .block-list-appender__toggle{justify-content:flex-start}.wp-block-buttons>.wp-block-button:focus{box-shadow:none}.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block[data-align=center]{margin-left:auto;margin-right:auto;margin-top:0;width:100%}.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block[data-align=center] .wp-block-button{margin-bottom:0}.wp-block[data-align=center]>.wp-block-buttons{align-items:center;justify-content:center}.wp-block[data-align=right]>.wp-block-buttons{justify-content:flex-end}.wp-block-categories ul{padding-left:2.5em}.wp-block-categories ul ul{margin-top:6px}.wp-block-columns .wp-block{max-width:none;margin-left:0;margin-right:0}@media (min-width:600px){.editor-styles-wrapper .block-editor-block-list__block.wp-block-column:nth-child(2n){margin-left:32px}}@media (min-width:782px){.editor-styles-wrapper .block-editor-block-list__block.wp-block-column:not(:first-child){margin-left:32px}}.block-editor-block-list__block.wp-block-column.wp-block-column{margin-top:0;margin-bottom:0}.wp-block-cover.is-placeholder{min-height:auto!important;padding:0!important}.wp-block-cover.components-placeholder h2{color:inherit}.wp-block-cover.is-transient:before{background-color:#fff;opacity:.3}.wp-block-cover .components-spinner{position:absolute;z-index:1;top:50%;left:50%;transform:translate(-50%,-50%);margin:0}.wp-block-cover .block-editor-block-list__layout{width:100%}.wp-block-cover .wp-block-cover__inner-container{text-align:left;margin-left:0;margin-right:0}.wp-block-cover .wp-block-cover__placeholder-background-options{width:100%}[data-align=left]>.wp-block-cover,[data-align=right]>.wp-block-cover{max-width:420px;width:100%}.block-library-cover__reset-button{margin-left:auto}.block-library-cover__resize-container{position:absolute!important;top:0;left:0;right:0;bottom:0}.block-library-cover__resize-container:not(.is-resizing){height:auto!important}.wp-block-cover>.components-drop-zone.is-active{transition:opacity .2s,border .2s}@media (prefers-reduced-motion:reduce){.wp-block-cover>.components-drop-zone.is-active{transition-duration:0s;transition-delay:0s}}.wp-block-cover>.components-drop-zone.is-dragging-over-element{background-color:initial;border:48px solid var(--wp-admin-theme-color)}.wp-block-cover>.components-drop-zone.is-dragging-over-element .components-drop-zone__content{transform:none}.wp-block-cover>.components-drop-zone .components-drop-zone__content{display:flex;align-items:center;top:-36px;left:-36px;transform:none}.wp-block-cover>.components-drop-zone .components-drop-zone__content-icon,.wp-block-cover>.components-drop-zone .components-drop-zone__content-text{display:inline}.wp-block-cover>.components-drop-zone .components-drop-zone__content-icon{margin:0 8px 0 0}.wp-block-cover>.components-drop-zone .components-drop-zone__content-text{font-size:13px}.block-editor-block-patterns-list__list-item .has-parallax.wp-block-cover{background-attachment:scroll}.wp-block-embed{margin-left:0;margin-right:0;clear:both}.wp-block-embed.is-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:1em;min-height:200px;text-align:center;border-radius:2px;background-color:#fff;box-shadow:inset 0 0 0 1px #1e1e1e}.wp-block-embed.is-loading p{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-embed .components-placeholder__error{word-break:break-word}.wp-block-embed .components-placeholder__learn-more{margin-top:1em}.block-library-embed__interactive-overlay{position:absolute;top:0;left:0;right:0;bottom:0;opacity:0}.wp-block[data-align=left]>.wp-block-embed,.wp-block[data-align=right]>.wp-block-embed{max-width:360px;width:100%}.wp-block[data-align=left]>.wp-block-embed .wp-block-embed__wrapper,.wp-block[data-align=right]>.wp-block-embed .wp-block-embed__wrapper{min-width:280px}.wp-block-file{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;margin-bottom:0}.wp-block[data-align=left]>.wp-block-file,.wp-block[data-align=right]>.wp-block-file{height:auto}.wp-block-file .components-resizable-box__container{margin-bottom:1em}.wp-block-file .wp-block-file__preview{margin-bottom:1em;width:100%;height:100%}.wp-block-file .wp-block-file__preview-overlay{position:absolute;top:0;right:0;bottom:0;left:0}.wp-block-file .wp-block-file__content-wrapper{flex-grow:1}.wp-block-file a{min-width:1em}.wp-block-file .wp-block-file__button-richtext-wrapper{display:inline-block;margin-left:.75em}.wp-block-freeform.block-library-rich-text__tinymce{height:auto}.wp-block-freeform.block-library-rich-text__tinymce li,.wp-block-freeform.block-library-rich-text__tinymce p{line-height:1.8}.wp-block-freeform.block-library-rich-text__tinymce ol,.wp-block-freeform.block-library-rich-text__tinymce ul{padding-left:2.5em;margin-left:0}.wp-block-freeform.block-library-rich-text__tinymce blockquote{margin:0;box-shadow:inset 0 0 0 0 #ddd;border-left:4px solid #000;padding-left:1em}.wp-block-freeform.block-library-rich-text__tinymce pre{white-space:pre-wrap;font-family:Menlo,Consolas,monaco,monospace;font-size:15px;color:#1e1e1e}.wp-block-freeform.block-library-rich-text__tinymce>:first-child{margin-top:0}.wp-block-freeform.block-library-rich-text__tinymce>:last-child{margin-bottom:0}.wp-block-freeform.block-library-rich-text__tinymce.mce-edit-focus{outline:none}.wp-block-freeform.block-library-rich-text__tinymce a{color:var(--wp-admin-theme-color)}.wp-block-freeform.block-library-rich-text__tinymce:focus a[data-mce-selected]{padding:0 2px;margin:0 -2px;border-radius:2px;box-shadow:0 0 0 1px #e5f5fa;background:#e5f5fa}.wp-block-freeform.block-library-rich-text__tinymce code{padding:2px;border-radius:2px;color:#1e1e1e;background:#f0f0f0;font-family:Menlo,Consolas,monaco,monospace;font-size:14px}.wp-block-freeform.block-library-rich-text__tinymce:focus code[data-mce-selected]{background:#ddd}.wp-block-freeform.block-library-rich-text__tinymce .alignright{float:right;margin:.5em 0 .5em 1em}.wp-block-freeform.block-library-rich-text__tinymce .alignleft{float:left;margin:.5em 1em .5em 0}.wp-block-freeform.block-library-rich-text__tinymce .aligncenter{display:block;margin-left:auto;margin-right:auto}.wp-block-freeform.block-library-rich-text__tinymce .wp-more-tag{width:96%;height:20px;display:block;margin:15px auto;outline:0;cursor:default;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAADtgAAAAoBAMAAAA86gLBAAAAJFBMVEVMaXG7u7vBwcHDw8POzs68vLzGxsbMzMy+vr7AwMDQ0NDGxsYKLGzpAAAADHRSTlMA///zWf+/f///TMxNVGuqAAABwklEQVR4Ae3dMXLaQBTH4bfj8UCpx8hq0vgKvgFNemhT6Qo6gg6R+0ZahM2QLmyBJ99XWP9V5+o3jIUcLQEAAAAAAAAAAAAAAAAAAAAAAABQ8j0WL9lfTtlt18uNXAUA8O/KVtfa1tdcrOdSh9gCQAMlh1hMNbZZ1bsrsQWABsrhLRbz7z5in/32UbfUMUbkMQCAh5RfGYv82UdMdZ6HS2wjT2ILAI8r3XmM2B3WvM59vfO2xXYW2yYAENuPU8S+X/N67mKxzy225yaxBQCxLV392UdcvwV0jPVUj98ntkBWT7C7+9u2/V/vGtvXIWJ6/4rtbottWa6Ri0NUT/u72LYttrb97LHdvUXMxxrb8TO2W2TF1rYbbLG1bbGNjMi4+2Sbi1FsbbvNFlvbFtt5fDnE3d9sP1/XeIyV2Nr2U2/guZUuptNrH/dPI9eLB6SaAEBs6wPJf3/PNk9tYgsAYrv/8TFuzx/fvkFqGtrEFgDEdpcZUb7ejXy6ntrEFgDENvL6gsas4vbdyKt4DACI7TxElJv/Z7udpqFNbAFAbKduy2uU2trttM/x28UWAAAAAAAAAAAAAAAAAAAAAAAAAADgDyPwGmGTCZp7AAAAAElFTkSuQmCC);background-size:1900px 20px;background-repeat:no-repeat;background-position:50%}.wp-block-freeform.block-library-rich-text__tinymce img::selection{background-color:initial}.wp-block-freeform.block-library-rich-text__tinymce div.mceTemp{-ms-user-select:element}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption{margin:0;max-width:100%}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption a,.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption img{display:block}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption,.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption *{-webkit-user-drag:none}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption .wp-caption-dd{padding-top:.5em;margin:0}.wp-block-freeform.block-library-rich-text__tinymce .wpview{width:99.99%;position:relative;clear:both;margin-bottom:16px;border:1px solid transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview iframe{display:block;max-width:100%;background:transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview .mce-shim{position:absolute;top:0;right:0;bottom:0;left:0}.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected="2"] .mce-shim{display:none}.wp-block-freeform.block-library-rich-text__tinymce .wpview .loading-placeholder{border:1px dashed #ddd;padding:10px}.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error{border:1px solid #ddd;padding:1em 0;margin:0;word-wrap:break-word}.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error p{margin:0;text-align:center}.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .loading-placeholder,.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .wpview-error{border-color:transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview .dashicons{display:block;margin:0 auto;width:32px;height:32px;font-size:32px}.wp-block-freeform.block-library-rich-text__tinymce .wpview.wpview-type-gallery:after{content:"";display:table;clear:both}.wp-block-freeform.block-library-rich-text__tinymce .gallery img[data-mce-selected]:focus{outline:none}.wp-block-freeform.block-library-rich-text__tinymce .gallery a{cursor:default}.wp-block-freeform.block-library-rich-text__tinymce .gallery{margin:auto -6px;padding:6px 0;line-height:1;overflow-x:hidden}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-item{float:left;margin:0;text-align:center;padding:6px;box-sizing:border-box}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption,.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-icon{margin:0}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption{font-size:13px;margin:4px 0}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-1 .gallery-item{width:100%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-2 .gallery-item{width:50%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-3 .gallery-item{width:33.3333333333%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-4 .gallery-item{width:25%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-5 .gallery-item{width:20%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-6 .gallery-item{width:16.6666666667%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-7 .gallery-item{width:14.2857142857%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-8 .gallery-item{width:12.5%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-9 .gallery-item{width:11.1111111111%}.wp-block-freeform.block-library-rich-text__tinymce .gallery img{max-width:100%;height:auto;border:none;padding:0}div[data-type="core/freeform"]:before{transition:border-color .1s linear,box-shadow .1s linear;border:1px solid #ddd;outline:1px solid transparent}@media (prefers-reduced-motion:reduce){div[data-type="core/freeform"]:before{transition-duration:0s;transition-delay:0s}}div[data-type="core/freeform"].is-selected:before{border-color:#1e1e1e}div[data-type="core/freeform"] .block-editor-block-contextual-toolbar+div{margin-top:0;padding-top:0}div[data-type="core/freeform"].is-selected .block-library-rich-text__tinymce:after{content:"";display:table;clear:both}.mce-toolbar-grp .mce-btn.mce-active:hover button,.mce-toolbar-grp .mce-btn.mce-active:hover i,.mce-toolbar-grp .mce-btn.mce-active button,.mce-toolbar-grp .mce-btn.mce-active i{color:#1e1e1e}.mce-toolbar-grp .mce-rtl .mce-flow-layout-item.mce-last{margin-right:0;margin-left:8px}.mce-toolbar-grp .mce-btn i{font-style:normal}.block-library-classic__toolbar{display:none;width:auto;position:sticky;z-index:31;top:0;border:1px solid #ddd;border-bottom:none;border-radius:2px;margin:0 0 8px;padding:0}div[data-type="core/freeform"].is-selected .block-library-classic__toolbar{display:block;border-color:#1e1e1e}.block-library-classic__toolbar .mce-tinymce{box-shadow:none}@media (min-width:600px){.block-library-classic__toolbar{padding:0}}.block-library-classic__toolbar:empty{display:block;background:#f5f5f5;border-bottom:1px solid #e2e4e7}.block-library-classic__toolbar:empty:before{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;content:attr(data-placeholder);color:#555d66;line-height:37px;padding:14px}.block-library-classic__toolbar div.mce-toolbar-grp{border-bottom:1px solid #1e1e1e}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar .mce-menubar>div,.block-library-classic__toolbar .mce-tinymce-inline,.block-library-classic__toolbar .mce-tinymce-inline>div,.block-library-classic__toolbar div.mce-toolbar-grp,.block-library-classic__toolbar div.mce-toolbar-grp>div{height:auto!important;width:100%!important}.block-library-classic__toolbar .mce-container-body.mce-abs-layout{overflow:visible}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar div.mce-toolbar-grp{position:static}.block-library-classic__toolbar .mce-toolbar-grp>div{padding:1px 3px}.block-library-classic__toolbar .mce-toolbar-grp .mce-toolbar:not(:first-child){display:none}.block-library-classic__toolbar.has-advanced-toolbar .mce-toolbar-grp .mce-toolbar{display:block}.wp-block-gallery li{list-style-type:none}.wp-block-gallery .block-editor-media-placeholder.is-appender .components-placeholder__label{display:none}.wp-block-gallery .block-editor-media-placeholder.is-appender .block-editor-media-placeholder__button{margin-bottom:0}figure.wp-block-gallery{display:block;margin:0}.blocks-gallery-grid.blocks-gallery-grid{padding-left:0;margin-left:0;margin-bottom:0}.blocks-gallery-item figure:not(.is-selected):focus,.blocks-gallery-item img:focus{outline:none}.blocks-gallery-item figure.is-selected:before{box-shadow:0 0 0 1px #fff inset,0 0 0 3px var(--wp-admin-theme-color) inset;content:"";outline:2px solid transparent;position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;pointer-events:none}.blocks-gallery-item figure.is-selected figcaption{z-index:2}.blocks-gallery-item figure.is-transient img{opacity:.3}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu{display:inline-flex}.blocks-gallery-item .block-editor-media-placeholder{margin:0;height:100%}.blocks-gallery-item .block-editor-media-placeholder .components-placeholder__label{display:flex}.block-library-gallery-item__inline-menu{display:none;position:absolute;top:-2px;margin:8px;z-index:20;transition:box-shadow .2s ease-out;border-radius:2px;background:#fff;border:1px solid #1e1e1e}@media (prefers-reduced-motion:reduce){.block-library-gallery-item__inline-menu{transition-duration:0s;transition-delay:0s}}.block-library-gallery-item__inline-menu:hover{box-shadow:0 2px 6px rgba(0,0,0,.05)}@media (min-width:600px){.columns-7 .block-library-gallery-item__inline-menu,.columns-8 .block-library-gallery-item__inline-menu{padding:2px}}.block-library-gallery-item__inline-menu .components-button.has-icon:not(:focus){border:none;box-shadow:none}@media (min-width:600px){.columns-7 .block-library-gallery-item__inline-menu .components-button.has-icon,.columns-8 .block-library-gallery-item__inline-menu .components-button.has-icon{padding:0;width:inherit;height:inherit}}.block-library-gallery-item__inline-menu.is-left{left:-2px}.block-library-gallery-item__inline-menu.is-right{right:-2px}.blocks-gallery-item .components-spinner{position:absolute;top:50%;left:50%;margin-top:-9px;margin-left:-9px}.wp-block-group .block-editor-block-list__insertion-point{left:0;right:0}[data-type="core/group"].is-selected .block-list-appender{margin-left:0;margin-right:0}[data-type="core/group"].is-selected .has-background .block-list-appender{margin-top:18px;margin-bottom:18px}.block-library-heading-level-dropdown .components-popover__content{min-width:230px}.block-library-heading-level-dropdown .components-popover__content>div{padding:0}.block-library-heading-level-toolbar{border:none}.block-library-html__edit{margin-bottom:28px}.block-library-html__edit .block-library-html__preview-overlay{position:absolute;width:100%;height:100%;top:0;left:0}.block-library-html__edit .block-editor-plain-text{font-family:Menlo,Consolas,monaco,monospace;color:#1e1e1e;padding:.8em 1em;border:1px solid #ddd;border-radius:4px;max-height:250px;font-size:16px}@media (min-width:600px){.block-library-html__edit .block-editor-plain-text{font-size:13px}}.block-library-html__edit .block-editor-plain-text:focus{box-shadow:none}figure.wp-block-image:not(.wp-block){margin:0}.wp-block-image{position:relative}.wp-block-image .is-applying img,.wp-block-image.is-transient img{opacity:.3}.wp-block-image figcaption img{display:inline}.wp-block-image .components-spinner{position:absolute;top:50%;left:50%;margin-top:-9px;margin-left:-9px}.wp-block-image:not(.is-style-rounded)>div{border-radius:inherit}.wp-block-image .components-resizable-box__container{display:inline-block}.wp-block-image .components-resizable-box__container img{display:block;width:inherit;height:inherit}.block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal{position:absolute;left:0;right:0;margin:-1px 0}@media (min-width:600px){.block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal{margin:-1px}}[data-align=full]>.wp-block-image img,[data-align=wide]>.wp-block-image img{width:100%}.wp-block[data-align=center]>.wp-block-image,.wp-block[data-align=left]>.wp-block-image,.wp-block[data-align=right]>.wp-block-image{display:table}.wp-block[data-align=center]>.wp-block-image>figcaption,.wp-block[data-align=left]>.wp-block-image>figcaption,.wp-block[data-align=right]>.wp-block-image>figcaption{display:table-caption;caption-side:bottom}.wp-block[data-align=left]>.wp-block-image{margin:.5em 1em .5em 0}.wp-block[data-align=right]>.wp-block-image{margin:.5em 0 .5em 1em}.wp-block[data-align=center]>.wp-block-image{margin-left:auto;margin-right:auto;text-align:center}.wp-block-image__crop-area{position:relative;max-width:100%;width:100%}.wp-block-image__crop-icon{padding:0 8px;min-width:48px;display:flex;justify-content:center;align-items:center}.wp-block-image__crop-icon svg{fill:currentColor}.wp-block-image__zoom .components-popover__content{overflow:visible;min-width:260px}.wp-block-image__zoom .components-range-control{flex:1}.wp-block-image__zoom .components-base-control__field{display:flex;margin-bottom:0;flex-direction:column;align-items:flex-start}.wp-block-image__aspect-ratio{height:46px;margin-bottom:-8px;display:flex;align-items:center}.wp-block-image__aspect-ratio .components-button{width:36px;padding-left:0;padding-right:0}.wp-block-latest-posts{padding-left:2.5em}.wp-block-latest-posts.is-grid{padding-left:0}.wp-block-latest-posts li a>div{display:inline}.edit-post-visual-editor .wp-block-latest-posts.is-grid li{margin-bottom:20px}.wp-block-legacy-widget__edit-form{background:#fff;border-radius:2px;border:1px solid #1e1e1e;padding:11px}.wp-block-legacy-widget__edit-form .wp-block-legacy-widget__edit-form-title{color:#000;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px;font-weight:600;margin:0 0 12px}.wp-block-legacy-widget__edit-form .widget-inside{border:none;box-shadow:none;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.wp-block-legacy-widget__edit-form .widget-inside label{font-size:13px}.wp-block-legacy-widget__edit-form .widget-inside label+.widefat{margin-top:12px}.wp-block-legacy-widget__edit-form .widget.open{z-index:0}.wp-block-legacy-widget__edit-no-preview,.wp-block-legacy-widget__edit-preview{cursor:pointer}.wp-block-legacy-widget__edit-no-preview:hover:after,.wp-block-legacy-widget__edit-preview:hover:after{border-radius:2px;border:1px solid #949494;bottom:0;content:"";left:0;position:absolute;right:0;top:0}.wp-block-legacy-widget__edit-preview.is-offscreen{left:-9999px;position:absolute;top:0;width:100%}.wp-block-legacy-widget__edit-preview-iframe{overflow:hidden;width:100%}.wp-block-legacy-widget__edit-no-preview{background:#f0f0f0;padding:8px 12px;font-size:13px}.wp-block-legacy-widget__edit-no-preview h3{font-size:14px;font-weight:600;margin:4px 0}.wp-block-legacy-widget__edit-no-preview p{margin:4px 0}.wp-block-legacy-widget-inspector-card{padding:0 16px 16px 52px}.interface-complementary-area .wp-block-legacy-widget-inspector-card__name{margin:0 0 5px;font-weight:500}.wp-block-media-text .__resizable_base__{grid-column:1/span 2;grid-row:2}.wp-block-media-text .editor-media-container__resizer{width:100%!important}.wp-block-media-text.is-image-fill .editor-media-container__resizer{height:100%!important}.wp-block-media-text>.block-editor-block-list__layout>.block-editor-block-list__block{max-width:unset}.block-editor-block-list__block[data-type="core/more"]{max-width:100%;text-align:center;margin-top:28px;margin-bottom:28px}.wp-block-more{display:block;text-align:center;white-space:nowrap}.wp-block-more input[type=text]{position:relative;font-size:13px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#757575;border:none;box-shadow:none;white-space:nowrap;text-align:center;margin:0;border-radius:4px;background:#fff;padding:6px 8px;height:24px;max-width:100%}.wp-block-more input[type=text]:focus{box-shadow:none}.wp-block-more:before{content:"";position:absolute;top:50%;left:0;right:0;border-top:3px dashed #ccc}.editor-styles-wrapper .wp-block-navigation ul{margin-top:0;margin-bottom:0;margin-left:0;padding-left:0}.wp-block-navigation__container.is-parent-of-selected-block{visibility:visible;opacity:1}.wp-block-navigation-link,.wp-block-navigation__container{background-color:inherit}.wp-block-navigation:not(.is-selected):not(.has-child-selected) .has-child:hover>.wp-block-navigation-link__container{opacity:0;visibility:hidden}.has-child.has-child-selected>.wp-block-navigation-link__container,.has-child.is-selected>.wp-block-navigation-link__container{display:flex;opacity:1;visibility:visible}.is-dragging-components-draggable .has-child.is-dragging-within>.wp-block-navigation-link__container{opacity:1;visibility:visible}.is-editing>.wp-block-navigation__container{visibility:visible;opacity:1;display:flex;flex-direction:column}.is-dragging-components-draggable .wp-block-navigation-link>.wp-block-navigation__container{opacity:1;visibility:hidden}.is-dragging-components-draggable .wp-block-navigation-link>.wp-block-navigation__container .block-editor-block-draggable-chip-wrapper{visibility:visible}.block-library-colors-selector{width:auto}.block-library-colors-selector .block-library-colors-selector__toggle{display:block;margin:0 auto;padding:3px;width:auto}.block-library-colors-selector .block-library-colors-selector__icon-container{height:30px;position:relative;margin:0 auto;padding:3px;display:flex;align-items:center;border-radius:4px}.block-library-colors-selector .block-library-colors-selector__state-selection{margin-left:auto;margin-right:auto;border-radius:11px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.2);width:22px;min-width:22px;height:22px;min-height:22px;line-height:20px;padding:2px}.block-library-colors-selector .block-library-colors-selector__state-selection>svg{min-width:auto!important}.block-library-colors-selector .block-library-colors-selector__state-selection.has-text-color>svg,.block-library-colors-selector .block-library-colors-selector__state-selection.has-text-color>svg path{color:inherit}.block-library-colors-selector__popover .color-palette-controller-container{padding:16px}.block-library-colors-selector__popover .components-base-control__label{height:20px;line-height:20px}.block-library-colors-selector__popover .component-color-indicator{float:right;margin-top:2px}.block-library-colors-selector__popover .components-panel__body-title{display:none}.wp-block-navigation .block-editor-button-block-appender{justify-content:flex-start}.components-placeholder.wp-block-navigation-placeholder{outline:none;padding:0;box-shadow:none;background:none;min-height:0;color:inherit}.components-placeholder.wp-block-navigation-placeholder .components-placeholder__fieldset{font-size:inherit}.components-placeholder.wp-block-navigation-placeholder .components-placeholder__fieldset .components-button{margin-bottom:0}.is-selected .components-placeholder.wp-block-navigation-placeholder{color:#1e1e1e}.wp-block-navigation-placeholder .components-spinner{margin-top:-4px;margin-left:4px;vertical-align:middle;margin-right:7px}.wp-block-navigation-placeholder__preview{display:flex;flex-direction:row;align-items:center;flex-wrap:nowrap;width:100%;overflow:hidden}.wp-block-navigation-placeholder__preview .wp-block-navigation-link.wp-block-navigation-link{position:relative;min-width:72px}.wp-block-navigation-placeholder__preview .wp-block-navigation-link.wp-block-navigation-link:before{display:block;content:"";border-radius:2px;background:currentColor;height:16px;width:100%}.wp-block-navigation-placeholder__preview svg{fill:currentColor}.wp-block-navigation-placeholder__preview .wp-block-navigation-link.wp-block-navigation-link,.wp-block-navigation-placeholder__preview svg{opacity:.3}.wp-block-navigation.is-selected .wp-block-navigation-placeholder__preview{display:flex;opacity:0;width:0;overflow:hidden;flex-wrap:nowrap}.wp-block-navigation.is-selected .is-medium .wp-block-navigation-placeholder__preview,.wp-block-navigation.is-selected .is-small .wp-block-navigation-placeholder__preview{display:none}.wp-block-navigation-placeholder__controls{padding:8px;border-radius:2px;background-color:#fff;box-shadow:inset 0 0 0 1px #1e1e1e;flex-direction:row;align-items:center;display:none;position:relative;z-index:1;float:left;width:100%}.is-large .wp-block-navigation-placeholder__controls{padding:4px 8px}.wp-block-navigation.is-selected .wp-block-navigation-placeholder__controls{display:flex}.is-medium .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions,.is-small .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions,.is-vertical .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions{flex-direction:column}.is-selected.is-vertical .wp-block-navigation-placeholder__controls{display:inline-flex;padding:12px}.wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__icon{margin-right:12px;height:36px}.wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator{margin-right:12px;padding:0;align-items:center;justify-content:flex-start;line-height:0;margin-left:5px;display:none}.wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator svg{margin-right:4px}.is-vertical .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator{margin-bottom:4px;margin-left:0}.is-large .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator{display:inline-flex}.is-vertical .wp-block-navigation-placeholder,.is-vertical .wp-block-navigation-placeholder__controls,.is-vertical .wp-block-navigation-placeholder__preview{min-height:156px}.is-vertical .wp-block-navigation-placeholder__controls,.is-vertical .wp-block-navigation-placeholder__preview{flex-direction:column;align-items:flex-start}.wp-block-navigation-placeholder__actions{display:flex;font-size:13px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.wp-block-navigation-placeholder__actions .components-button.components-dropdown-menu__toggle.has-icon{padding:6px 4px 6px 12px;display:flex;flex-direction:row-reverse}.wp-block-navigation-placeholder__actions .components-dropdown,.wp-block-navigation-placeholder__actions>.components-button{margin-right:12px}@media (min-width:600px){.components-button.wp-block-navigation__responsive-container-open,.wp-block-navigation__responsive-container:not(.is-menu-open) .components-button.wp-block-navigation__responsive-container-close{display:none}}.wp-block-navigation__responsive-container.is-menu-open{position:fixed}body.admin-bar .wp-block-navigation__responsive-container.is-menu-open{top:155px}@media (min-width:782px){body.admin-bar .wp-block-navigation__responsive-container.is-menu-open{top:61px}}@media (min-width:600px){.wp-block-navigation__responsive-close{pointer-events:none}.wp-block-navigation__responsive-close .block-editor-block-list__layout *,.wp-block-navigation__responsive-close .wp-block-navigation__responsive-container-close{pointer-events:all}}.wp-block-navigation__responsive-close .wp-block-pages-list__item__link{pointer-events:none}.components-button.wp-block-navigation__responsive-container-close.wp-block-navigation__responsive-container-close,.components-button.wp-block-navigation__responsive-container-open.wp-block-navigation__responsive-container-open{padding:0;height:auto;color:inherit}.is-menu-open .wp-block-navigation__responsive-container-content * .block-list-appender{margin-top:16px}.wp-block-navigation-link__container{border-radius:0;min-height:36px}.wp-block-navigation .has-child{cursor:pointer}.wp-block-navigation .has-child .submenu-container,.wp-block-navigation .has-child .wp-block-navigation-link__container{z-index:28}.wp-block-navigation .has-child:hover .submenu-container,.wp-block-navigation .has-child:hover .wp-block-navigation-link__container{z-index:29}.wp-block-navigation .has-child.has-child-selected>.wp-block-navigation-link__container,.wp-block-navigation .has-child.is-selected>.wp-block-navigation-link__container{visibility:visible!important;opacity:1!important}.wp-block-navigation-link .wp-block-navigation-link__container{display:block}.wp-block-navigation-link .wp-block-navigation-link__content{cursor:text}.wp-block-navigation-link.is-editing,.wp-block-navigation-link.is-selected{min-width:20px}.wp-block-navigation-link .block-list-appender{margin:16px auto 16px 16px}.wp-block-navigation .block-editor-block-list__block[data-type="core/navigation-link"]>.block-editor-block-list__insertion-point{display:none}.wp-block-navigation-link__placeholder{position:relative;margin:2px}.wp-block-navigation-link__placeholder .wp-block-navigation-link__placeholder-text{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;padding-left:4px;padding-right:4px}.wp-block-navigation-link__placeholder.wp-block-navigation-link__content{cursor:pointer}.wp-block-navigation-link__placeholder:before{content:"";display:block;position:absolute;top:0;right:0;bottom:0;left:0;border-radius:2px;opacity:.1}.is-dark-theme .wp-block-navigation-link__placeholder:before{opacity:.2}.is-editing .wp-block-navigation-link__placeholder:before{background:currentColor}.wp-block-navigation .wp-block-navigation-link:not(.is-editing) .wp-block-navigation-link__content.wp-block-navigation-link__placeholder{box-shadow:inset 0 0 0 1px #757575;border-radius:2px;color:var(--wp-admin-theme-color)}.block-editor-block-list__block[data-type="core/nextpage"]{max-width:100%;text-align:center;margin-top:28px;margin-bottom:28px}.wp-block-nextpage{display:block;text-align:center;white-space:nowrap}.wp-block-nextpage>span{font-size:13px;position:relative;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#757575;border-radius:4px;background:#fff;padding:6px 8px;height:24px}.wp-block-nextpage:before{content:"";position:absolute;top:50%;left:0;right:0;border-top:3px dashed #ccc}.wp-block-navigation .wp-block-page-list,.wp-block-navigation .wp-block-page-list>div{background-color:inherit}.wp-block-navigation.items-justified-space-between .wp-block-page-list,.wp-block-navigation.items-justified-space-between .wp-block-page-list>div{display:contents;flex:1}.wp-block-navigation.items-justified-space-between.has-child-selected .wp-block-page-list,.wp-block-navigation.items-justified-space-between.has-child-selected .wp-block-page-list>div,.wp-block-navigation.items-justified-space-between.is-selected .wp-block-page-list,.wp-block-navigation.items-justified-space-between.is-selected .wp-block-page-list>div{flex:inherit}.wp-block-pages-list__item__link{pointer-events:none}.wp-block-page-list .components-placeholder{min-height:0;padding:0;background-color:inherit}.wp-block-page-list .components-placeholder .components-spinner{margin:.5em}.wp-block-page-list-modal{max-width:400px}.wp-block-page-list-modal-buttons{display:flex;justify-content:flex-end}.wp-block-page-list-modal-buttons .components-button{margin-left:12px}.block-editor-block-list__block[data-type="core/paragraph"].has-drop-cap:focus{min-height:auto!important}.block-editor-block-list__block[data-empty=true] [data-rich-text-placeholder]{opacity:1}.block-editor-block-list__block[data-empty=true]+.block-editor-block-list__block[data-empty=true] [data-rich-text-placeholder]{opacity:0}.wp-block-post-content__placeholder{height:100px;border:1px dashed;display:flex;justify-content:center;align-items:center}.wp-block-post-content__placeholder span{font-style:italic}.wp-block-post-excerpt .wp-block-post-excerpt__excerpt.is-inline{display:inline-block}.wp-block-post-author{display:flex;flex-wrap:wrap}.wp-block-post-author .wp-block-post-author__byline{font-size:.5em;margin-top:0;position:relative;font-style:normal}.wp-block-post-author .wp-block-post-author__content{flex-grow:1;flex-basis:0}.wp-block-post-author .wp-block-post-author__avatar img{margin:0}.wp-block-post-author .wp-block-post-author__avatar{margin-bottom:-8px}.wp-block-post-author .wp-block-post-author__name{margin:0;font-weight:700}.wp-block-post-author .wp-block-post-author__bio{margin:0 0 8px;font-size:.7em}.wp-block[data-align=left]>.wp-block-pullquote p,.wp-block[data-align=right]>.wp-block-pullquote p{font-size:20px}.wp-block-pullquote blockquote p{font-size:28px;line-height:1.6}.wp-block-pullquote.is-style-solid-color blockquote p{font-size:32px}.wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation{text-transform:none;font-style:normal}.wp-block-pullquote .wp-block-pullquote__citation{color:inherit}.wp-block-rss li a>div{display:inline}.wp-block-rss__placeholder-form{display:flex;align-items:stretch}.wp-block-rss__placeholder-form>*{margin-bottom:8px}@media (min-width:782px){.wp-block-rss__placeholder-form>*{margin-bottom:0}}.wp-block-rss__placeholder-input{display:flex;align-items:stretch;flex-grow:1}.wp-block-rss__placeholder-input .components-base-control__field{display:flex;align-items:stretch;flex-grow:1;margin:0 8px 0 0}.wp-block[data-align=center] .wp-block-search .wp-block-search__inside-wrapper{margin:auto}.wp-block-search .wp-block-search__input{padding:8px}.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper{padding:4px}.wp-block-search .wp-block-search__button{height:auto;border-radius:initial}.wp-block-search .wp-block-search__button.wp-block-search__button.wp-block-search__button{padding:6px 10px}.wp-block-search__components-button-group{margin-top:10px}.block-editor-block-list__block[data-type="core/separator"]{padding-top:.1px;padding-bottom:.1px}[data-type="core/shortcode"] .block-editor-plain-text{max-height:250px}[data-type="core/shortcode"].components-placeholder{min-height:0}.blocks-shortcode__textarea{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;padding:6px 8px;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:2px;border:1px solid #757575;font-size:16px;line-height:normal}@media (prefers-reduced-motion:reduce){.blocks-shortcode__textarea{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.blocks-shortcode__textarea{font-size:13px;line-height:normal}}.blocks-shortcode__textarea:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color);outline:2px solid transparent}.blocks-shortcode__textarea::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.blocks-shortcode__textarea::-moz-placeholder{opacity:1;color:rgba(30,30,30,.62)}.blocks-shortcode__textarea:-ms-input-placeholder{color:rgba(30,30,30,.62)}.is-dark-theme .blocks-shortcode__textarea::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .blocks-shortcode__textarea::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .blocks-shortcode__textarea:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}.wp-block[data-align=center]>.wp-block-site-logo{margin-left:auto;margin-right:auto;text-align:center}.wp-block-site-logo a{pointer-events:none}.wp-block-site-logo:not(.is-default-size){display:table}.wp-block-site-logo.is-default-size{width:120px}.wp-block-site-logo.is-default-size img{width:100%}.wp-block-site-logo .custom-logo-link{cursor:inherit}.wp-block-site-logo .custom-logo-link:focus{box-shadow:none}.wp-block-site-logo .custom-logo-link.is-transient img{opacity:.3}.wp-block-site-logo img{display:block;max-width:100%}.wp-block-site-logo .components-placeholder{min-height:auto;height:120px;padding:8px}.wp-block-site-logo .components-placeholder .components-placeholder__label{white-space:nowrap}.wp-block-site-logo .components-placeholder .components-placeholder__label .block-editor-block-icon{margin-right:4px}.wp-block-site-logo .components-placeholder .components-form-file-upload{display:none}.wp-block-site-logo .components-placeholder .components-placeholder__preview{position:absolute;top:4px;right:4px;bottom:4px;left:4px;background:hsla(0,0%,100%,.8);display:flex;align-items:center;justify-content:center}.wp-block-site-logo .components-placeholder .components-drop-zone__content-text{display:none}.wp-block-social-links .wp-social-link{line-height:0}.wp-block-social-links .wp-social-link button{font-size:inherit;color:currentColor;height:auto;line-height:0;padding:.25em}.wp-block-social-links.is-style-pill-shape .wp-social-link button{padding-left:.66667em;padding-right:.66667em}.wp-block-social-links div.block-editor-url-input{display:inline-block;margin-left:8px}.wp-social-link:hover{transform:none}.editor-styles-wrapper .wp-block-social-links{padding:0}.wp-block-social-links__social-placeholder{display:flex;opacity:.8;list-style:none}.wp-block-social-links__social-placeholder>.wp-social-link{padding-left:0!important;margin-left:0!important;padding-right:0!important;margin-right:0!important;width:0!important;visibility:hidden}.wp-block-social-links__social-placeholder>.wp-block-social-links__social-placeholder-icons{display:flex}.wp-block-social-links__social-placeholder+.block-list-appender,.wp-block-social-links__social-placeholder .wp-social-link{padding:.25em}.is-style-pill-shape .wp-block-social-links__social-placeholder+.block-list-appender,.is-style-pill-shape .wp-block-social-links__social-placeholder .wp-social-link{padding-left:.66667em;padding-right:.66667em}.wp-block-social-links__social-placeholder .wp-social-link:before{content:"";display:block;width:1em;height:1em;border-radius:50%}.is-style-logos-only .wp-block-social-links__social-placeholder .wp-social-link:before{background:currentColor}.wp-block-social-links .wp-block-social-links__social-prompt{list-style:none;order:2;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:24px;margin-top:auto;margin-bottom:auto;cursor:default;padding-right:8px}.wp-block-social-links .wp-block-social-links__social-prompt+.block-list-appender{margin-right:8px;padding:.25em}.wp-block-social-links .block-list-appender{margin:4px auto 4px 0;border-radius:9999px}.wp-block-social-links .block-list-appender .block-editor-inserter{display:flex;align-items:center;justify-content:center;font-size:inherit;width:1em;height:1em}.has-small-icon-size .wp-block-social-links .block-list-appender{font-size:16px}.has-normal-icon-size .wp-block-social-links .block-list-appender{font-size:24px}.has-large-icon-size .wp-block-social-links .block-list-appender{font-size:36px}.has-huge-icon-size .wp-block-social-links .block-list-appender{font-size:48px}.wp-block-social-links .block-list-appender:before{content:none}.wp-block[data-align=center]>.wp-block-social-links{justify-content:center}.block-editor-block-preview__content .components-button:disabled{opacity:1}.wp-social-link.wp-social-link__is-incomplete{opacity:.5}@media (prefers-reduced-motion:reduce){.wp-social-link.wp-social-link__is-incomplete{transition-duration:0s;transition-delay:0s}}.wp-block-social-links .is-selected .wp-social-link__is-incomplete,.wp-social-link.wp-social-link__is-incomplete:focus,.wp-social-link.wp-social-link__is-incomplete:hover{opacity:1}.block-editor-block-list__block[data-type="core/spacer"]:before{content:"";display:block;position:absolute;width:100%;height:24px;transform:translateY(-12px)}.block-library-spacer__resize-container.has-show-handle,.wp-block-spacer.is-hovered .block-library-spacer__resize-container{background:rgba(0,0,0,.1)}.is-dark-theme .block-library-spacer__resize-container.has-show-handle,.is-dark-theme .wp-block-spacer.is-hovered .block-library-spacer__resize-container{background:hsla(0,0%,100%,.15)}.block-library-spacer__resize-container{clear:both}.block-library-spacer__resize-container .components-resizable-box__handle:before{content:none}.block-library-spacer__resize-container.resize-horizontal{margin-bottom:0}.wp-block-table{margin:0}.wp-block[data-align=center]>.wp-block-table,.wp-block[data-align=left]>.wp-block-table,.wp-block[data-align=right]>.wp-block-table{height:auto}.wp-block[data-align=center]>.wp-block-table table,.wp-block[data-align=left]>.wp-block-table table,.wp-block[data-align=right]>.wp-block-table table{width:auto}.wp-block[data-align=center]>.wp-block-table td,.wp-block[data-align=center]>.wp-block-table th,.wp-block[data-align=left]>.wp-block-table td,.wp-block[data-align=left]>.wp-block-table th,.wp-block[data-align=right]>.wp-block-table td,.wp-block[data-align=right]>.wp-block-table th{word-break:break-word}.wp-block[data-align=center]>.wp-block-table{text-align:initial}.wp-block[data-align=center]>.wp-block-table table{margin:0 auto}.wp-block-table td,.wp-block-table th{border:1px solid}.wp-block-table td.is-selected,.wp-block-table th.is-selected{border-color:var(--wp-admin-theme-color);box-shadow:inset 0 0 0 1px var(--wp-admin-theme-color);border-style:double}.wp-block-table figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-table figcaption{color:hsla(0,0%,100%,.65)}.blocks-table__placeholder-form.blocks-table__placeholder-form{display:flex;flex-direction:column;align-items:flex-start}.blocks-table__placeholder-form.blocks-table__placeholder-form>*{margin-bottom:8px}@media (min-width:782px){.blocks-table__placeholder-form.blocks-table__placeholder-form{flex-direction:row;align-items:flex-end}.blocks-table__placeholder-form.blocks-table__placeholder-form>*{margin-bottom:0}}.blocks-table__placeholder-input{width:112px;margin-right:8px;margin-bottom:0}.blocks-table__placeholder-input input{height:36px}.blocks-table__placeholder-input .components-base-control__field{margin-bottom:0}.wp-block-tag-cloud a{display:inline-block;margin-right:5px}.wp-block-tag-cloud span{display:inline-block;margin-left:5px;color:#757575;text-decoration:none}.wp-block-template-part__placeholder-preview-dropdown-content .components-popover__content,.wp-block-template-part__preview-dropdown-content .components-popover__content{min-width:320px;padding:0}.wp-block-template-part__selection-preview-search-form{border-bottom:1px solid #ddd}.wp-block-template-part__selection-preview-container{background:#fff;padding-bottom:16px}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item{border-radius:2px;cursor:pointer;margin-top:16px;transition:all .05s ease-in-out;border:1px solid transparent;width:100%;background-color:#fff}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item:hover{border:1px solid var(--wp-admin-theme-color)}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item:focus{box-shadow:inset 0 0 0 1px #fff,0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);outline:2px solid transparent}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item.is-placeholder{min-height:100px}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item-title{padding:4px;font-size:12px;text-align:left}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-panel-group-header{padding:16px 16px 0}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-panel-group-content{padding:0 16px}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-panel-group-title{color:var(--wp-admin-theme-color);text-transform:uppercase;font-size:11px;font-weight:500}.block-editor-block-list__block[data-type="core/template-part"].has-child-selected:after{border:1px dotted var(--wp-admin-theme-color)}.block-editor-block-list__block[data-type="core/template-part"].has-child-selected.is-highlighted:after,.block-editor-block-list__block[data-type="core/template-part"].has-child-selected.is-hovered:after{border:none}.wp-block-text-columns .block-editor-rich-text__editable:focus{outline:1px solid #ddd}.wp-block[data-align=center]>.wp-block-video{text-align:center}.wp-block-video{position:relative}.wp-block-video.is-transient video{opacity:.3}.wp-block-video .components-spinner{position:absolute;top:50%;left:50%;margin-top:-9px;margin-left:-9px}.editor-video-poster-control .components-base-control__label{display:block}.editor-video-poster-control .components-button{margin-right:8px}.block-library-video-tracks-editor{z-index:159990}.block-library-video-tracks-editor>.components-popover__content{width:360px}.block-library-video-tracks-editor__track-list-track{display:flex;place-content:space-between;align-items:baseline;padding-left:12px}.block-library-video-tracks-editor__single-track-editor-label-language{display:flex;margin-top:12px}.block-library-video-tracks-editor__single-track-editor-label-language>.components-base-control{width:50%}.block-library-video-tracks-editor__single-track-editor-label-language>.components-base-control:first-child{margin-right:16px}.block-library-video-tracks-editor__single-track-editor-kind-select{max-width:240px}.block-library-video-tracks-editor__single-track-editor-buttons-container{display:flex;place-content:space-between;margin-top:32px}.block-library-video-tracks-editor__single-track-editor-edit-track-label{margin-top:4px;margin-bottom:12px;color:#757575;text-transform:uppercase;font-size:11px;font-weight:500;display:block}.block-library-video-tracks-editor>.components-popover__content>div,.block-library-video-tracks-editor__add-tracks-container .components-menu-group__label,.block-library-video-tracks-editor__track-list .components-menu-group__label{padding:0}.block-library-video-tracks-editor__add-tracks-container,.block-library-video-tracks-editor__single-track-editor,.block-library-video-tracks-editor__track-list{padding:12px}.block-library-video-tracks-editor__single-track-editor .components-base-control .components-base-control__label{margin-bottom:4px}.block-library-video-tracks-editor__single-track-editor .components-base-control .components-base-control__field{margin-bottom:12px}.block-library-video-tracks-editor__single-track-editor .components-base-control .components-text-control__input{margin-left:0}.block-library-video-tracks-editor__single-track-editor .components-base-control .components-input-control__label{margin-bottom:4px}.wp-block-query-title__placeholder{padding:1em 0;border:1px dashed}.editor-styles-wrapper ul.wp-block-query-loop{padding-left:0;margin-left:0;list-style:none}.block-library-query-toolbar__popover .components-popover__content{min-width:230px}.wp-block-query__create-new-link{padding:0 16px 16px 56px}.wp-block>.wp-block-query-pagination{display:flex;flex-wrap:wrap;flex-direction:row}.editor-styles-wrapper .wp-block-query-pagination{max-width:100%}.editor-styles-wrapper .wp-block-query-pagination.block-editor-block-list__layout{margin:0}.block-library-query-pagination-toolbar__popover .components-popover__content{min-width:230px}.wp-block-query-pagination>.wp-block-query-pagination-next,.wp-block-query-pagination>.wp-block-query-pagination-numbers,.wp-block-query-pagination>.wp-block-query-pagination-previous{display:inline-block;margin:.5em .5em .5em 0}.wp-block-query-pagination>.wp-block-query-pagination-next:last-child,.wp-block-query-pagination>.wp-block-query-pagination-numbers:last-child,.wp-block-query-pagination>.wp-block-query-pagination-previous:last-child{margin-right:0}.wp-block-query-pagination-numbers a{text-decoration:underline}.wp-block-query-pagination-numbers .page-numbers{margin-right:2px}.wp-block-query-pagination-numbers .page-numbers:last-child{margin-right:0}div[data-type="core/post-featured-image"] img{max-width:100%;height:auto;display:block}.editor-styles-wrapper .post-featured-image_placeholder{display:flex;flex-direction:row;align-items:flex-start;border-radius:2px;background-color:#fff;box-shadow:inset 0 0 0 1px #1e1e1e;padding:12px}.editor-styles-wrapper .post-featured-image_placeholder svg{margin-right:12px}.editor-styles-wrapper .post-featured-image_placeholder p{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;margin:0}.wp-block-term-description__placeholder{padding:1em 0;border:1px dashed}:root .editor-styles-wrapper .has-pale-pink-background-color{background-color:#f78da7}:root .editor-styles-wrapper .has-vivid-red-background-color{background-color:#cf2e2e}:root .editor-styles-wrapper .has-luminous-vivid-orange-background-color{background-color:#ff6900}:root .editor-styles-wrapper .has-luminous-vivid-amber-background-color{background-color:#fcb900}:root .editor-styles-wrapper .has-light-green-cyan-background-color{background-color:#7bdcb5}:root .editor-styles-wrapper .has-vivid-green-cyan-background-color{background-color:#00d084}:root .editor-styles-wrapper .has-pale-cyan-blue-background-color{background-color:#8ed1fc}:root .editor-styles-wrapper .has-vivid-cyan-blue-background-color{background-color:#0693e3}:root .editor-styles-wrapper .has-vivid-purple-background-color{background-color:#9b51e0}:root .editor-styles-wrapper .has-white-background-color{background-color:#fff}:root .editor-styles-wrapper .has-very-light-gray-background-color{background-color:#eee}:root .editor-styles-wrapper .has-cyan-bluish-gray-background-color{background-color:#abb8c3}:root .editor-styles-wrapper .has-very-dark-gray-background-color{background-color:#313131}:root .editor-styles-wrapper .has-black-background-color{background-color:#000}:root .editor-styles-wrapper .has-pale-pink-color{color:#f78da7}:root .editor-styles-wrapper .has-vivid-red-color{color:#cf2e2e}:root .editor-styles-wrapper .has-luminous-vivid-orange-color{color:#ff6900}:root .editor-styles-wrapper .has-luminous-vivid-amber-color{color:#fcb900}:root .editor-styles-wrapper .has-light-green-cyan-color{color:#7bdcb5}:root .editor-styles-wrapper .has-vivid-green-cyan-color{color:#00d084}:root .editor-styles-wrapper .has-pale-cyan-blue-color{color:#8ed1fc}:root .editor-styles-wrapper .has-vivid-cyan-blue-color{color:#0693e3}:root .editor-styles-wrapper .has-vivid-purple-color{color:#9b51e0}:root .editor-styles-wrapper .has-white-color{color:#fff}:root .editor-styles-wrapper .has-very-light-gray-color{color:#eee}:root .editor-styles-wrapper .has-cyan-bluish-gray-color{color:#abb8c3}:root .editor-styles-wrapper .has-very-dark-gray-color{color:#313131}:root .editor-styles-wrapper .has-black-color{color:#000}:root .editor-styles-wrapper .has-vivid-cyan-blue-to-vivid-purple-gradient-background{background:linear-gradient(135deg,#0693e3,#9b51e0)}:root .editor-styles-wrapper .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background{background:linear-gradient(135deg,#00d084,#0693e3)}:root .editor-styles-wrapper .has-light-green-cyan-to-vivid-green-cyan-gradient-background{background:linear-gradient(135deg,#7adcb4,#00d082)}:root .editor-styles-wrapper .has-luminous-vivid-amber-to-luminous-vivid-orange-gradient-background{background:linear-gradient(135deg,#fcb900,#ff6900)}:root .editor-styles-wrapper .has-luminous-vivid-orange-to-vivid-red-gradient-background{background:linear-gradient(135deg,#ff6900,#cf2e2e)}:root .editor-styles-wrapper .has-very-light-gray-to-cyan-bluish-gray-gradient-background{background:linear-gradient(135deg,#eee,#a9b8c3)}:root .editor-styles-wrapper .has-cool-to-warm-spectrum-gradient-background{background:linear-gradient(135deg,#4aeadc,#9778d1 20%,#cf2aba 40%,#ee2c82 60%,#fb6962 80%,#fef84c)}:root .editor-styles-wrapper .has-blush-light-purple-gradient-background{background:linear-gradient(135deg,#ffceec,#9896f0)}:root .editor-styles-wrapper .has-blush-bordeaux-gradient-background{background:linear-gradient(135deg,#fecda5,#fe2d2d 50%,#6b003e)}:root .editor-styles-wrapper .has-purple-crush-gradient-background{background:linear-gradient(135deg,#34e2e4,#4721fb 50%,#ab1dfe)}:root .editor-styles-wrapper .has-luminous-dusk-gradient-background{background:linear-gradient(135deg,#ffcb70,#c751c0 50%,#4158d0)}:root .editor-styles-wrapper .has-hazy-dawn-gradient-background{background:linear-gradient(135deg,#faaca8,#dad0ec)}:root .editor-styles-wrapper .has-pale-ocean-gradient-background{background:linear-gradient(135deg,#fff5cb,#b6e3d4 50%,#33a7b5)}:root .editor-styles-wrapper .has-electric-grass-gradient-background{background:linear-gradient(135deg,#caf880,#71ce7e)}:root .editor-styles-wrapper .has-subdued-olive-gradient-background{background:linear-gradient(135deg,#fafae1,#67a671)}:root .editor-styles-wrapper .has-atomic-cream-gradient-background{background:linear-gradient(135deg,#fdd79a,#004a59)}:root .editor-styles-wrapper .has-nightshade-gradient-background{background:linear-gradient(135deg,#330968,#31cdcf)}:root .editor-styles-wrapper .has-midnight-gradient-background{background:linear-gradient(135deg,#020381,#2874fc)}.editor-styles-wrapper .has-small-font-size{font-size:13px}.editor-styles-wrapper .has-normal-font-size,.editor-styles-wrapper .has-regular-font-size{font-size:16px}.editor-styles-wrapper .has-medium-font-size{font-size:20px}.editor-styles-wrapper .has-large-font-size{font-size:36px}.editor-styles-wrapper .has-huge-font-size,.editor-styles-wrapper .has-larger-font-size{font-size:42px}#end-resizable-editor-section{display:none} \ No newline at end of file + /*!rtl:ignore*/text-align:right}.wp-block-button{position:relative;cursor:text}.wp-block-button:not(.has-text-color):not(.is-style-outline) [data-rich-text-placeholder]:after{color:#fff}.wp-block-button:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px var(--wp-admin-theme-color);outline:2px solid transparent;outline-offset:-2px}.wp-block-button[data-rich-text-placeholder]:after{opacity:.8}.wp-block-button__inline-link{color:#757575;height:0;overflow:hidden;max-width:290px}.wp-block-button__inline-link-input__suggestions{max-width:290px}@media (min-width:782px){.wp-block-button__inline-link,.wp-block-button__inline-link-input__suggestions{max-width:260px}}@media (min-width:960px){.wp-block-button__inline-link,.wp-block-button__inline-link-input__suggestions{max-width:290px}}.is-selected .wp-block-button__inline-link{height:auto;overflow:visible;margin-top:16px}.wp-button-label__width .components-button-group{display:block}.wp-button-label__width .components-base-control__field{margin-bottom:12px}div[data-type="core/button"]{display:table}.wp-block>.wp-block-buttons{display:flex;flex-wrap:wrap}.wp-block-buttons>.wp-block{margin-left:0;margin-top:.5em;margin-right:.5em}.wp-block-buttons>.block-list-appender{display:inline-flex;align-items:center}.wp-block-buttons.is-vertical>.block-list-appender .block-list-appender__toggle{justify-content:flex-start}.wp-block-buttons>.wp-block-button:focus{box-shadow:none}.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block[data-align=center]{margin-left:auto;margin-right:auto;margin-top:0;width:100%}.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block[data-align=center] .wp-block-button{margin-bottom:0}.wp-block[data-align=center]>.wp-block-buttons{align-items:center;justify-content:center}.wp-block[data-align=right]>.wp-block-buttons{justify-content:flex-end}.wp-block-categories ul{padding-left:2.5em}.wp-block-categories ul ul{margin-top:6px}.wp-block-columns .wp-block{max-width:none;margin-left:0;margin-right:0}@media (min-width:600px){.editor-styles-wrapper .block-editor-block-list__block.wp-block-column:nth-child(2n){margin-left:32px}}@media (min-width:782px){.editor-styles-wrapper .block-editor-block-list__block.wp-block-column:not(:first-child){margin-left:32px}}.block-editor-block-list__block.wp-block-column.wp-block-column{margin-top:0;margin-bottom:0}.wp-block-cover.is-placeholder{min-height:auto!important;padding:0!important}.wp-block-cover.components-placeholder h2{color:inherit}.wp-block-cover.is-transient:before{background-color:#fff;opacity:.3}.wp-block-cover .components-spinner{position:absolute;z-index:1;top:50%;left:50%;transform:translate(-50%,-50%);margin:0}.wp-block-cover .block-editor-block-list__layout{width:100%}.wp-block-cover .wp-block-cover__inner-container{text-align:left;margin-left:0;margin-right:0}.wp-block-cover .wp-block-cover__placeholder-background-options{width:100%}[data-align=left]>.wp-block-cover,[data-align=right]>.wp-block-cover{max-width:420px;width:100%}.block-library-cover__reset-button{margin-left:auto}.block-library-cover__resize-container{position:absolute!important;top:0;left:0;right:0;bottom:0}.block-library-cover__resize-container:not(.is-resizing){height:auto!important}.wp-block-cover>.components-drop-zone.is-active{transition:opacity .2s,border .2s}@media (prefers-reduced-motion:reduce){.wp-block-cover>.components-drop-zone.is-active{transition-duration:0s;transition-delay:0s}}.wp-block-cover>.components-drop-zone.is-dragging-over-element{background-color:initial;border:48px solid var(--wp-admin-theme-color)}.wp-block-cover>.components-drop-zone.is-dragging-over-element .components-drop-zone__content{transform:none}.wp-block-cover>.components-drop-zone .components-drop-zone__content{display:flex;align-items:center;top:-36px;left:-36px;transform:none}.wp-block-cover>.components-drop-zone .components-drop-zone__content-icon,.wp-block-cover>.components-drop-zone .components-drop-zone__content-text{display:inline}.wp-block-cover>.components-drop-zone .components-drop-zone__content-icon{margin:0 8px 0 0}.wp-block-cover>.components-drop-zone .components-drop-zone__content-text{font-size:13px}.block-editor-block-patterns-list__list-item .has-parallax.wp-block-cover{background-attachment:scroll}.wp-block-embed{margin-left:0;margin-right:0;clear:both}.wp-block-embed.is-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:1em;min-height:200px;text-align:center;border-radius:2px;background-color:#fff;box-shadow:inset 0 0 0 1px #1e1e1e}.wp-block-embed.is-loading p{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-embed .components-placeholder__error{word-break:break-word}.wp-block-embed .components-placeholder__learn-more{margin-top:1em}.block-library-embed__interactive-overlay{position:absolute;top:0;left:0;right:0;bottom:0;opacity:0}.wp-block[data-align=left]>.wp-block-embed,.wp-block[data-align=right]>.wp-block-embed{max-width:360px;width:100%}.wp-block[data-align=left]>.wp-block-embed .wp-block-embed__wrapper,.wp-block[data-align=right]>.wp-block-embed .wp-block-embed__wrapper{min-width:280px}.wp-block-file{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;margin-bottom:0}.wp-block[data-align=left]>.wp-block-file,.wp-block[data-align=right]>.wp-block-file{height:auto}.wp-block-file .components-resizable-box__container{margin-bottom:1em}.wp-block-file .wp-block-file__preview{margin-bottom:1em;width:100%;height:100%}.wp-block-file .wp-block-file__preview-overlay{position:absolute;top:0;right:0;bottom:0;left:0}.wp-block-file .wp-block-file__content-wrapper{flex-grow:1}.wp-block-file a{min-width:1em}.wp-block-file .wp-block-file__button-richtext-wrapper{display:inline-block;margin-left:.75em}.wp-block-freeform.block-library-rich-text__tinymce{height:auto}.wp-block-freeform.block-library-rich-text__tinymce li,.wp-block-freeform.block-library-rich-text__tinymce p{line-height:1.8}.wp-block-freeform.block-library-rich-text__tinymce ol,.wp-block-freeform.block-library-rich-text__tinymce ul{padding-left:2.5em;margin-left:0}.wp-block-freeform.block-library-rich-text__tinymce blockquote{margin:0;box-shadow:inset 0 0 0 0 #ddd;border-left:4px solid #000;padding-left:1em}.wp-block-freeform.block-library-rich-text__tinymce pre{white-space:pre-wrap;font-family:Menlo,Consolas,monaco,monospace;font-size:15px;color:#1e1e1e}.wp-block-freeform.block-library-rich-text__tinymce>:first-child{margin-top:0}.wp-block-freeform.block-library-rich-text__tinymce>:last-child{margin-bottom:0}.wp-block-freeform.block-library-rich-text__tinymce.mce-edit-focus{outline:none}.wp-block-freeform.block-library-rich-text__tinymce a{color:var(--wp-admin-theme-color)}.wp-block-freeform.block-library-rich-text__tinymce:focus a[data-mce-selected]{padding:0 2px;margin:0 -2px;border-radius:2px;box-shadow:0 0 0 1px #e5f5fa;background:#e5f5fa}.wp-block-freeform.block-library-rich-text__tinymce code{padding:2px;border-radius:2px;color:#1e1e1e;background:#f0f0f0;font-family:Menlo,Consolas,monaco,monospace;font-size:14px}.wp-block-freeform.block-library-rich-text__tinymce:focus code[data-mce-selected]{background:#ddd}.wp-block-freeform.block-library-rich-text__tinymce .alignright{float:right;margin:.5em 0 .5em 1em}.wp-block-freeform.block-library-rich-text__tinymce .alignleft{float:left;margin:.5em 1em .5em 0}.wp-block-freeform.block-library-rich-text__tinymce .aligncenter{display:block;margin-left:auto;margin-right:auto}.wp-block-freeform.block-library-rich-text__tinymce .wp-more-tag{width:96%;height:20px;display:block;margin:15px auto;outline:0;cursor:default;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAADtgAAAAoBAMAAAA86gLBAAAAJFBMVEVMaXG7u7vBwcHDw8POzs68vLzGxsbMzMy+vr7AwMDQ0NDGxsYKLGzpAAAADHRSTlMA///zWf+/f///TMxNVGuqAAABwklEQVR4Ae3dMXLaQBTH4bfj8UCpx8hq0vgKvgFNemhT6Qo6gg6R+0ZahM2QLmyBJ99XWP9V5+o3jIUcLQEAAAAAAAAAAAAAAAAAAAAAAABQ8j0WL9lfTtlt18uNXAUA8O/KVtfa1tdcrOdSh9gCQAMlh1hMNbZZ1bsrsQWABsrhLRbz7z5in/32UbfUMUbkMQCAh5RfGYv82UdMdZ6HS2wjT2ILAI8r3XmM2B3WvM59vfO2xXYW2yYAENuPU8S+X/N67mKxzy225yaxBQCxLV392UdcvwV0jPVUj98ntkBWT7C7+9u2/V/vGtvXIWJ6/4rtbottWa6Ri0NUT/u72LYttrb97LHdvUXMxxrb8TO2W2TF1rYbbLG1bbGNjMi4+2Sbi1FsbbvNFlvbFtt5fDnE3d9sP1/XeIyV2Nr2U2/guZUuptNrH/dPI9eLB6SaAEBs6wPJf3/PNk9tYgsAYrv/8TFuzx/fvkFqGtrEFgDEdpcZUb7ejXy6ntrEFgDENvL6gsas4vbdyKt4DACI7TxElJv/Z7udpqFNbAFAbKduy2uU2trttM/x28UWAAAAAAAAAAAAAAAAAAAAAAAAAADgDyPwGmGTCZp7AAAAAElFTkSuQmCC);background-size:1900px 20px;background-repeat:no-repeat;background-position:50%}.wp-block-freeform.block-library-rich-text__tinymce img::selection{background-color:initial}.wp-block-freeform.block-library-rich-text__tinymce div.mceTemp{-ms-user-select:element}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption{margin:0;max-width:100%}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption a,.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption img{display:block}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption,.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption *{-webkit-user-drag:none}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption .wp-caption-dd{padding-top:.5em;margin:0}.wp-block-freeform.block-library-rich-text__tinymce .wpview{width:99.99%;position:relative;clear:both;margin-bottom:16px;border:1px solid transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview iframe{display:block;max-width:100%;background:transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview .mce-shim{position:absolute;top:0;right:0;bottom:0;left:0}.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected="2"] .mce-shim{display:none}.wp-block-freeform.block-library-rich-text__tinymce .wpview .loading-placeholder{border:1px dashed #ddd;padding:10px}.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error{border:1px solid #ddd;padding:1em 0;margin:0;word-wrap:break-word}.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error p{margin:0;text-align:center}.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .loading-placeholder,.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .wpview-error{border-color:transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview .dashicons{display:block;margin:0 auto;width:32px;height:32px;font-size:32px}.wp-block-freeform.block-library-rich-text__tinymce .wpview.wpview-type-gallery:after{content:"";display:table;clear:both}.wp-block-freeform.block-library-rich-text__tinymce .gallery img[data-mce-selected]:focus{outline:none}.wp-block-freeform.block-library-rich-text__tinymce .gallery a{cursor:default}.wp-block-freeform.block-library-rich-text__tinymce .gallery{margin:auto -6px;padding:6px 0;line-height:1;overflow-x:hidden}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-item{float:left;margin:0;text-align:center;padding:6px;box-sizing:border-box}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption,.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-icon{margin:0}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption{font-size:13px;margin:4px 0}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-1 .gallery-item{width:100%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-2 .gallery-item{width:50%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-3 .gallery-item{width:33.3333333333%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-4 .gallery-item{width:25%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-5 .gallery-item{width:20%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-6 .gallery-item{width:16.6666666667%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-7 .gallery-item{width:14.2857142857%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-8 .gallery-item{width:12.5%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-9 .gallery-item{width:11.1111111111%}.wp-block-freeform.block-library-rich-text__tinymce .gallery img{max-width:100%;height:auto;border:none;padding:0}div[data-type="core/freeform"]:before{transition:border-color .1s linear,box-shadow .1s linear;border:1px solid #ddd;outline:1px solid transparent}@media (prefers-reduced-motion:reduce){div[data-type="core/freeform"]:before{transition-duration:0s;transition-delay:0s}}div[data-type="core/freeform"].is-selected:before{border-color:#1e1e1e}div[data-type="core/freeform"] .block-editor-block-contextual-toolbar+div{margin-top:0;padding-top:0}div[data-type="core/freeform"].is-selected .block-library-rich-text__tinymce:after{content:"";display:table;clear:both}.mce-toolbar-grp .mce-btn.mce-active:hover button,.mce-toolbar-grp .mce-btn.mce-active:hover i,.mce-toolbar-grp .mce-btn.mce-active button,.mce-toolbar-grp .mce-btn.mce-active i{color:#1e1e1e}.mce-toolbar-grp .mce-rtl .mce-flow-layout-item.mce-last{margin-right:0;margin-left:8px}.mce-toolbar-grp .mce-btn i{font-style:normal}.block-library-classic__toolbar{display:none;width:auto;position:sticky;z-index:31;top:0;border:1px solid #ddd;border-bottom:none;border-radius:2px;margin:0 0 8px;padding:0}div[data-type="core/freeform"].is-selected .block-library-classic__toolbar{display:block;border-color:#1e1e1e}.block-library-classic__toolbar .mce-tinymce{box-shadow:none}@media (min-width:600px){.block-library-classic__toolbar{padding:0}}.block-library-classic__toolbar:empty{display:block;background:#f5f5f5;border-bottom:1px solid #e2e4e7}.block-library-classic__toolbar:empty:before{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;content:attr(data-placeholder);color:#555d66;line-height:37px;padding:14px}.block-library-classic__toolbar div.mce-toolbar-grp{border-bottom:1px solid #1e1e1e}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar .mce-menubar>div,.block-library-classic__toolbar .mce-tinymce-inline,.block-library-classic__toolbar .mce-tinymce-inline>div,.block-library-classic__toolbar div.mce-toolbar-grp,.block-library-classic__toolbar div.mce-toolbar-grp>div{height:auto!important;width:100%!important}.block-library-classic__toolbar .mce-container-body.mce-abs-layout{overflow:visible}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar div.mce-toolbar-grp{position:static}.block-library-classic__toolbar .mce-toolbar-grp>div{padding:1px 3px}.block-library-classic__toolbar .mce-toolbar-grp .mce-toolbar:not(:first-child){display:none}.block-library-classic__toolbar.has-advanced-toolbar .mce-toolbar-grp .mce-toolbar{display:block}.wp-block-gallery li{list-style-type:none}.wp-block-gallery .block-editor-media-placeholder.is-appender .components-placeholder__label{display:none}.wp-block-gallery .block-editor-media-placeholder.is-appender .block-editor-media-placeholder__button{margin-bottom:0}figure.wp-block-gallery{display:block;margin:0}.blocks-gallery-grid.blocks-gallery-grid{padding-left:0;margin-left:0;margin-bottom:0}.blocks-gallery-item figure:not(.is-selected):focus,.blocks-gallery-item img:focus{outline:none}.blocks-gallery-item figure.is-selected:before{box-shadow:0 0 0 1px #fff inset,0 0 0 3px var(--wp-admin-theme-color) inset;content:"";outline:2px solid transparent;position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;pointer-events:none}.blocks-gallery-item figure.is-selected figcaption{z-index:2}.blocks-gallery-item figure.is-transient img{opacity:.3}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu{display:inline-flex}.blocks-gallery-item .block-editor-media-placeholder{margin:0;height:100%}.blocks-gallery-item .block-editor-media-placeholder .components-placeholder__label{display:flex}.block-library-gallery-item__inline-menu{display:none;position:absolute;top:-2px;margin:8px;z-index:20;transition:box-shadow .2s ease-out;border-radius:2px;background:#fff;border:1px solid #1e1e1e}@media (prefers-reduced-motion:reduce){.block-library-gallery-item__inline-menu{transition-duration:0s;transition-delay:0s}}.block-library-gallery-item__inline-menu:hover{box-shadow:0 2px 6px rgba(0,0,0,.05)}@media (min-width:600px){.columns-7 .block-library-gallery-item__inline-menu,.columns-8 .block-library-gallery-item__inline-menu{padding:2px}}.block-library-gallery-item__inline-menu .components-button.has-icon:not(:focus){border:none;box-shadow:none}@media (min-width:600px){.columns-7 .block-library-gallery-item__inline-menu .components-button.has-icon,.columns-8 .block-library-gallery-item__inline-menu .components-button.has-icon{padding:0;width:inherit;height:inherit}}.block-library-gallery-item__inline-menu.is-left{left:-2px}.block-library-gallery-item__inline-menu.is-right{right:-2px}.blocks-gallery-item .components-spinner{position:absolute;top:50%;left:50%;margin-top:-9px;margin-left:-9px}.wp-block-group .block-editor-block-list__insertion-point{left:0;right:0}[data-type="core/group"].is-selected .block-list-appender{margin-left:0;margin-right:0}[data-type="core/group"].is-selected .has-background .block-list-appender{margin-top:18px;margin-bottom:18px}.block-library-heading-level-dropdown .components-popover__content{min-width:230px}.block-library-heading-level-dropdown .components-popover__content>div{padding:0}.block-library-heading-level-toolbar{border:none}.block-library-html__edit{margin-bottom:28px}.block-library-html__edit .block-library-html__preview-overlay{position:absolute;width:100%;height:100%;top:0;left:0}.block-library-html__edit .block-editor-plain-text{font-family:Menlo,Consolas,monaco,monospace;color:#1e1e1e;padding:.8em 1em;border:1px solid #ddd;border-radius:4px;max-height:250px;font-size:16px}@media (min-width:600px){.block-library-html__edit .block-editor-plain-text{font-size:13px}}.block-library-html__edit .block-editor-plain-text:focus{box-shadow:none}figure.wp-block-image:not(.wp-block){margin:0}.wp-block-image{position:relative}.wp-block-image .is-applying img,.wp-block-image.is-transient img{opacity:.3}.wp-block-image figcaption img{display:inline}.wp-block-image .components-spinner{position:absolute;top:50%;left:50%;margin-top:-9px;margin-left:-9px}.wp-block-image:not(.is-style-rounded)>div{border-radius:inherit}.wp-block-image .components-resizable-box__container{display:inline-block}.wp-block-image .components-resizable-box__container img{display:block;width:inherit;height:inherit}.block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal{position:absolute;left:0;right:0;margin:-1px 0}@media (min-width:600px){.block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal{margin:-1px}}[data-align=full]>.wp-block-image img,[data-align=wide]>.wp-block-image img{width:100%}.wp-block[data-align=center]>.wp-block-image,.wp-block[data-align=left]>.wp-block-image,.wp-block[data-align=right]>.wp-block-image{display:table}.wp-block[data-align=center]>.wp-block-image>figcaption,.wp-block[data-align=left]>.wp-block-image>figcaption,.wp-block[data-align=right]>.wp-block-image>figcaption{display:table-caption;caption-side:bottom}.wp-block[data-align=left]>.wp-block-image{margin:.5em 1em .5em 0}.wp-block[data-align=right]>.wp-block-image{margin:.5em 0 .5em 1em}.wp-block[data-align=center]>.wp-block-image{margin-left:auto;margin-right:auto;text-align:center}.wp-block-image__crop-area{position:relative;max-width:100%;width:100%}.wp-block-image__crop-icon{padding:0 8px;min-width:48px;display:flex;justify-content:center;align-items:center}.wp-block-image__crop-icon svg{fill:currentColor}.wp-block-image__zoom .components-popover__content{overflow:visible;min-width:260px}.wp-block-image__zoom .components-range-control{flex:1}.wp-block-image__zoom .components-base-control__field{display:flex;margin-bottom:0;flex-direction:column;align-items:flex-start}.wp-block-image__aspect-ratio{height:46px;margin-bottom:-8px;display:flex;align-items:center}.wp-block-image__aspect-ratio .components-button{width:36px;padding-left:0;padding-right:0}.wp-block-latest-posts{padding-left:2.5em}.wp-block-latest-posts.is-grid{padding-left:0}.wp-block-latest-posts li a>div{display:inline}.edit-post-visual-editor .wp-block-latest-posts.is-grid li{margin-bottom:20px}.wp-block-legacy-widget__edit-form{background:#fff;border-radius:2px;border:1px solid #1e1e1e;padding:11px}.wp-block-legacy-widget__edit-form .wp-block-legacy-widget__edit-form-title{color:#000;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px;font-weight:600;margin:0 0 12px}.wp-block-legacy-widget__edit-form .widget-inside{border:none;box-shadow:none;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.wp-block-legacy-widget__edit-form .widget-inside label{font-size:13px}.wp-block-legacy-widget__edit-form .widget-inside label+.widefat{margin-top:12px}.wp-block-legacy-widget__edit-form .widget.open{z-index:0}.wp-block-legacy-widget__edit-no-preview,.wp-block-legacy-widget__edit-preview{cursor:pointer}.wp-block-legacy-widget__edit-no-preview:hover:after,.wp-block-legacy-widget__edit-preview:hover:after{border-radius:2px;border:1px solid #949494;bottom:0;content:"";left:0;position:absolute;right:0;top:0}.wp-block-legacy-widget__edit-preview.is-offscreen{left:-9999px;position:absolute;top:0;width:100%}.wp-block-legacy-widget__edit-preview-iframe{overflow:hidden;width:100%}.wp-block-legacy-widget__edit-no-preview{background:#f0f0f0;padding:8px 12px;font-size:13px}.wp-block-legacy-widget__edit-no-preview h3{font-size:14px;font-weight:600;margin:4px 0}.wp-block-legacy-widget__edit-no-preview p{margin:4px 0}.wp-block-legacy-widget-inspector-card{padding:0 16px 16px 52px}.interface-complementary-area .wp-block-legacy-widget-inspector-card__name{margin:0 0 5px;font-weight:500}.is-selected .wp-block-legacy-widget__container{padding:8px 12px;min-height:50px}.wp-block-media-text .__resizable_base__{grid-column:1/span 2;grid-row:2}.wp-block-media-text .editor-media-container__resizer{width:100%!important}.wp-block-media-text.is-image-fill .editor-media-container__resizer{height:100%!important}.wp-block-media-text>.block-editor-block-list__layout>.block-editor-block-list__block{max-width:unset}.block-editor-block-list__block[data-type="core/more"]{max-width:100%;text-align:center;margin-top:28px;margin-bottom:28px}.wp-block-more{display:block;text-align:center;white-space:nowrap}.wp-block-more input[type=text]{position:relative;font-size:13px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#757575;border:none;box-shadow:none;white-space:nowrap;text-align:center;margin:0;border-radius:4px;background:#fff;padding:6px 8px;height:24px;max-width:100%}.wp-block-more input[type=text]:focus{box-shadow:none}.wp-block-more:before{content:"";position:absolute;top:50%;left:0;right:0;border-top:3px dashed #ccc}.editor-styles-wrapper .wp-block-navigation ul{margin-top:0;margin-bottom:0;margin-left:0;padding-left:0}.wp-block-navigation__container.is-parent-of-selected-block{visibility:visible;opacity:1}.wp-block-navigation-link,.wp-block-navigation__container{background-color:inherit}.wp-block-navigation:not(.is-selected):not(.has-child-selected) .has-child:hover>.wp-block-navigation-link__container{opacity:0;visibility:hidden}.has-child.has-child-selected>.wp-block-navigation-link__container,.has-child.is-selected>.wp-block-navigation-link__container{display:flex;opacity:1;visibility:visible}.is-dragging-components-draggable .has-child.is-dragging-within>.wp-block-navigation-link__container{opacity:1;visibility:visible}.is-editing>.wp-block-navigation__container{visibility:visible;opacity:1;display:flex;flex-direction:column}.is-dragging-components-draggable .wp-block-navigation-link>.wp-block-navigation__container{opacity:1;visibility:hidden}.is-dragging-components-draggable .wp-block-navigation-link>.wp-block-navigation__container .block-editor-block-draggable-chip-wrapper{visibility:visible}.block-library-colors-selector{width:auto}.block-library-colors-selector .block-library-colors-selector__toggle{display:block;margin:0 auto;padding:3px;width:auto}.block-library-colors-selector .block-library-colors-selector__icon-container{height:30px;position:relative;margin:0 auto;padding:3px;display:flex;align-items:center;border-radius:4px}.block-library-colors-selector .block-library-colors-selector__state-selection{margin-left:auto;margin-right:auto;border-radius:11px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.2);width:22px;min-width:22px;height:22px;min-height:22px;line-height:20px;padding:2px}.block-library-colors-selector .block-library-colors-selector__state-selection>svg{min-width:auto!important}.block-library-colors-selector .block-library-colors-selector__state-selection.has-text-color>svg,.block-library-colors-selector .block-library-colors-selector__state-selection.has-text-color>svg path{color:inherit}.block-library-colors-selector__popover .color-palette-controller-container{padding:16px}.block-library-colors-selector__popover .components-base-control__label{height:20px;line-height:20px}.block-library-colors-selector__popover .component-color-indicator{float:right;margin-top:2px}.block-library-colors-selector__popover .components-panel__body-title{display:none}.wp-block-navigation .block-editor-button-block-appender{justify-content:flex-start}.components-placeholder.wp-block-navigation-placeholder{outline:none;padding:0;box-shadow:none;background:none;min-height:0;color:inherit}.components-placeholder.wp-block-navigation-placeholder .components-placeholder__fieldset{font-size:inherit}.components-placeholder.wp-block-navigation-placeholder .components-placeholder__fieldset .components-button{margin-bottom:0}.is-selected .components-placeholder.wp-block-navigation-placeholder{color:#1e1e1e}.wp-block-navigation-placeholder .components-spinner{margin-top:-4px;margin-left:4px;vertical-align:middle;margin-right:7px}.wp-block-navigation-placeholder__preview{display:flex;flex-direction:row;align-items:center;flex-wrap:nowrap;width:100%;overflow:hidden}.wp-block-navigation-placeholder__preview .wp-block-navigation-link.wp-block-navigation-link{position:relative;min-width:72px}.wp-block-navigation-placeholder__preview .wp-block-navigation-link.wp-block-navigation-link:before{display:block;content:"";border-radius:2px;background:currentColor;height:16px;width:100%}.wp-block-navigation-placeholder__preview svg{fill:currentColor}.wp-block-navigation-placeholder__preview .wp-block-navigation-link.wp-block-navigation-link,.wp-block-navigation-placeholder__preview svg{opacity:.3}.wp-block-navigation.is-selected .wp-block-navigation-placeholder__preview{display:flex;opacity:0;width:0;overflow:hidden;flex-wrap:nowrap}.wp-block-navigation.is-selected .is-medium .wp-block-navigation-placeholder__preview,.wp-block-navigation.is-selected .is-small .wp-block-navigation-placeholder__preview{display:none}.wp-block-navigation-placeholder__controls{padding:8px;border-radius:2px;background-color:#fff;box-shadow:inset 0 0 0 1px #1e1e1e;flex-direction:row;align-items:center;display:none;position:relative;z-index:1;float:left;width:100%}.is-large .wp-block-navigation-placeholder__controls{padding:4px 8px}.wp-block-navigation.is-selected .wp-block-navigation-placeholder__controls{display:flex}.is-medium .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions,.is-small .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions,.is-vertical .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions{flex-direction:column}.is-selected.is-vertical .wp-block-navigation-placeholder__controls{display:inline-flex;padding:12px}.wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__icon{margin-right:12px;height:36px}.wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator{margin-right:12px;padding:0;align-items:center;justify-content:flex-start;line-height:0;margin-left:5px;display:none}.wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator svg{margin-right:4px}.is-vertical .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator{margin-bottom:4px;margin-left:0}.is-large .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator{display:inline-flex}.is-vertical .wp-block-navigation-placeholder,.is-vertical .wp-block-navigation-placeholder__controls,.is-vertical .wp-block-navigation-placeholder__preview{min-height:156px}.is-vertical .wp-block-navigation-placeholder__controls,.is-vertical .wp-block-navigation-placeholder__preview{flex-direction:column;align-items:flex-start}.wp-block-navigation-placeholder__actions{display:flex;font-size:13px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.wp-block-navigation-placeholder__actions .components-button.components-dropdown-menu__toggle.has-icon{padding:6px 4px 6px 12px;display:flex;flex-direction:row-reverse}.wp-block-navigation-placeholder__actions .components-dropdown,.wp-block-navigation-placeholder__actions>.components-button{margin-right:12px}@media (min-width:600px){.components-button.wp-block-navigation__responsive-container-open,.wp-block-navigation__responsive-container:not(.is-menu-open) .components-button.wp-block-navigation__responsive-container-close{display:none}}.wp-block-navigation__responsive-container.is-menu-open{position:fixed}body.admin-bar .wp-block-navigation__responsive-container.is-menu-open{top:155px}@media (min-width:782px){body.admin-bar .wp-block-navigation__responsive-container.is-menu-open{top:61px}}@media (min-width:600px){.wp-block-navigation__responsive-close{pointer-events:none}.wp-block-navigation__responsive-close .block-editor-block-list__layout *,.wp-block-navigation__responsive-close .wp-block-navigation__responsive-container-close{pointer-events:all}}.wp-block-navigation__responsive-close .wp-block-pages-list__item__link{pointer-events:none}.components-button.wp-block-navigation__responsive-container-close.wp-block-navigation__responsive-container-close,.components-button.wp-block-navigation__responsive-container-open.wp-block-navigation__responsive-container-open{padding:0;height:auto;color:inherit}.is-menu-open .wp-block-navigation__responsive-container-content * .block-list-appender{margin-top:16px}.wp-block-navigation-link__container{border-radius:0;min-height:36px}.wp-block-navigation .has-child{cursor:pointer}.wp-block-navigation .has-child .submenu-container,.wp-block-navigation .has-child .wp-block-navigation-link__container{z-index:28}.wp-block-navigation .has-child:hover .submenu-container,.wp-block-navigation .has-child:hover .wp-block-navigation-link__container{z-index:29}.wp-block-navigation .has-child.has-child-selected>.wp-block-navigation-link__container,.wp-block-navigation .has-child.is-selected>.wp-block-navigation-link__container{visibility:visible!important;opacity:1!important}.wp-block-navigation-link .wp-block-navigation-link__container{display:block}.wp-block-navigation-link .wp-block-navigation-link__content{cursor:text}.wp-block-navigation-link.is-editing,.wp-block-navigation-link.is-selected{min-width:20px}.wp-block-navigation-link .block-list-appender{margin:16px auto 16px 16px}.wp-block-navigation .block-editor-block-list__block[data-type="core/navigation-link"]>.block-editor-block-list__insertion-point{display:none}.wp-block-navigation-link__placeholder{position:relative;margin:2px}.wp-block-navigation-link__placeholder .wp-block-navigation-link__placeholder-text{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;padding-left:4px;padding-right:4px}.wp-block-navigation-link__placeholder.wp-block-navigation-link__content{cursor:pointer}.wp-block-navigation-link__placeholder:before{content:"";display:block;position:absolute;top:0;right:0;bottom:0;left:0;border-radius:2px;opacity:.1}.is-dark-theme .wp-block-navigation-link__placeholder:before{opacity:.2}.is-editing .wp-block-navigation-link__placeholder:before{background:currentColor}.wp-block-navigation .wp-block-navigation-link:not(.is-editing) .wp-block-navigation-link__content.wp-block-navigation-link__placeholder{box-shadow:inset 0 0 0 1px #757575;border-radius:2px;color:var(--wp-admin-theme-color)}.block-editor-block-list__block[data-type="core/nextpage"]{max-width:100%;text-align:center;margin-top:28px;margin-bottom:28px}.wp-block-nextpage{display:block;text-align:center;white-space:nowrap}.wp-block-nextpage>span{font-size:13px;position:relative;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#757575;border-radius:4px;background:#fff;padding:6px 8px;height:24px}.wp-block-nextpage:before{content:"";position:absolute;top:50%;left:0;right:0;border-top:3px dashed #ccc}.wp-block-navigation .wp-block-page-list,.wp-block-navigation .wp-block-page-list>div{background-color:inherit}.wp-block-navigation.items-justified-space-between .wp-block-page-list,.wp-block-navigation.items-justified-space-between .wp-block-page-list>div{display:contents;flex:1}.wp-block-navigation.items-justified-space-between.has-child-selected .wp-block-page-list,.wp-block-navigation.items-justified-space-between.has-child-selected .wp-block-page-list>div,.wp-block-navigation.items-justified-space-between.is-selected .wp-block-page-list,.wp-block-navigation.items-justified-space-between.is-selected .wp-block-page-list>div{flex:inherit}.wp-block-pages-list__item__link{pointer-events:none}.wp-block-page-list .components-placeholder{min-height:0;padding:0;background-color:inherit}.wp-block-page-list .components-placeholder .components-spinner{margin:.5em}.wp-block-page-list-modal{max-width:400px}.wp-block-page-list-modal-buttons{display:flex;justify-content:flex-end}.wp-block-page-list-modal-buttons .components-button{margin-left:12px}.block-editor-block-list__block[data-type="core/paragraph"].has-drop-cap:focus{min-height:auto!important}.block-editor-block-list__block[data-empty=true] [data-rich-text-placeholder]{opacity:1}.block-editor-block-list__block[data-empty=true]+.block-editor-block-list__block[data-empty=true] [data-rich-text-placeholder]{opacity:0}.wp-block-post-content__placeholder{height:100px;border:1px dashed;display:flex;justify-content:center;align-items:center}.wp-block-post-content__placeholder span{font-style:italic}.wp-block-post-excerpt .wp-block-post-excerpt__excerpt.is-inline{display:inline-block}.wp-block-post-author{display:flex;flex-wrap:wrap}.wp-block-post-author .wp-block-post-author__byline{font-size:.5em;margin-top:0;position:relative;font-style:normal}.wp-block-post-author .wp-block-post-author__content{flex-grow:1;flex-basis:0}.wp-block-post-author .wp-block-post-author__avatar img{margin:0}.wp-block-post-author .wp-block-post-author__avatar{margin-bottom:-8px}.wp-block-post-author .wp-block-post-author__name{margin:0;font-weight:700}.wp-block-post-author .wp-block-post-author__bio{margin:0 0 8px;font-size:.7em}.wp-block[data-align=left]>.wp-block-pullquote p,.wp-block[data-align=right]>.wp-block-pullquote p{font-size:20px}.wp-block-pullquote blockquote p{font-size:28px;line-height:1.6}.wp-block-pullquote.is-style-solid-color blockquote p{font-size:32px}.wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation{text-transform:none;font-style:normal}.wp-block-pullquote .wp-block-pullquote__citation{color:inherit}.wp-block-rss li a>div{display:inline}.wp-block-rss__placeholder-form{display:flex;align-items:stretch}.wp-block-rss__placeholder-form>*{margin-bottom:8px}@media (min-width:782px){.wp-block-rss__placeholder-form>*{margin-bottom:0}}.wp-block-rss__placeholder-input{display:flex;align-items:stretch;flex-grow:1}.wp-block-rss__placeholder-input .components-base-control__field{display:flex;align-items:stretch;flex-grow:1;margin:0 8px 0 0}.wp-block[data-align=center] .wp-block-search .wp-block-search__inside-wrapper{margin:auto}.wp-block-search .wp-block-search__input{padding:8px}.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper{padding:4px}.wp-block-search .wp-block-search__button{height:auto;border-radius:initial}.wp-block-search .wp-block-search__button.wp-block-search__button.wp-block-search__button{padding:6px 10px}.wp-block-search__components-button-group{margin-top:10px}.block-editor-block-list__block[data-type="core/separator"]{padding-top:.1px;padding-bottom:.1px}[data-type="core/shortcode"] .block-editor-plain-text{max-height:250px}[data-type="core/shortcode"].components-placeholder{min-height:0}.blocks-shortcode__textarea{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;padding:6px 8px;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:2px;border:1px solid #757575;font-size:16px;line-height:normal}@media (prefers-reduced-motion:reduce){.blocks-shortcode__textarea{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.blocks-shortcode__textarea{font-size:13px;line-height:normal}}.blocks-shortcode__textarea:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color);outline:2px solid transparent}.blocks-shortcode__textarea::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.blocks-shortcode__textarea::-moz-placeholder{opacity:1;color:rgba(30,30,30,.62)}.blocks-shortcode__textarea:-ms-input-placeholder{color:rgba(30,30,30,.62)}.is-dark-theme .blocks-shortcode__textarea::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .blocks-shortcode__textarea::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .blocks-shortcode__textarea:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}.wp-block[data-align=center]>.wp-block-site-logo{margin-left:auto;margin-right:auto;text-align:center}.wp-block-site-logo a{pointer-events:none}.wp-block-site-logo:not(.is-default-size){display:table}.wp-block-site-logo.is-default-size{width:120px}.wp-block-site-logo.is-default-size img{width:100%}.wp-block-site-logo .custom-logo-link{cursor:inherit}.wp-block-site-logo .custom-logo-link:focus{box-shadow:none}.wp-block-site-logo .custom-logo-link.is-transient img{opacity:.3}.wp-block-site-logo img{display:block;max-width:100%}.wp-block-site-logo .components-placeholder{min-height:auto;height:120px;padding:8px}.wp-block-site-logo .components-placeholder .components-placeholder__label{white-space:nowrap}.wp-block-site-logo .components-placeholder .components-placeholder__label .block-editor-block-icon{margin-right:4px}.wp-block-site-logo .components-placeholder .components-form-file-upload{display:none}.wp-block-site-logo .components-placeholder .components-placeholder__preview{position:absolute;top:4px;right:4px;bottom:4px;left:4px;background:hsla(0,0%,100%,.8);display:flex;align-items:center;justify-content:center}.wp-block-site-logo .components-placeholder .components-drop-zone__content-text{display:none}.wp-block-social-links .wp-social-link{line-height:0}.wp-block-social-links .wp-social-link button{font-size:inherit;color:currentColor;height:auto;line-height:0;padding:.25em}.wp-block-social-links.is-style-pill-shape .wp-social-link button{padding-left:.66667em;padding-right:.66667em}.wp-block-social-links div.block-editor-url-input{display:inline-block;margin-left:8px}.wp-social-link:hover{transform:none}.editor-styles-wrapper .wp-block-social-links{padding:0}.wp-block-social-links__social-placeholder{display:flex;opacity:.8;list-style:none}.wp-block-social-links__social-placeholder>.wp-social-link{padding-left:0!important;margin-left:0!important;padding-right:0!important;margin-right:0!important;width:0!important;visibility:hidden}.wp-block-social-links__social-placeholder>.wp-block-social-links__social-placeholder-icons{display:flex}.wp-block-social-links__social-placeholder+.block-list-appender,.wp-block-social-links__social-placeholder .wp-social-link{padding:.25em}.is-style-pill-shape .wp-block-social-links__social-placeholder+.block-list-appender,.is-style-pill-shape .wp-block-social-links__social-placeholder .wp-social-link{padding-left:.66667em;padding-right:.66667em}.wp-block-social-links__social-placeholder .wp-social-link:before{content:"";display:block;width:1em;height:1em;border-radius:50%}.is-style-logos-only .wp-block-social-links__social-placeholder .wp-social-link:before{background:currentColor}.wp-block-social-links .wp-block-social-links__social-prompt{list-style:none;order:2;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:24px;margin-top:auto;margin-bottom:auto;cursor:default;padding-right:8px}.wp-block-social-links .wp-block-social-links__social-prompt+.block-list-appender{margin-right:8px;padding:.25em}.wp-block-social-links .block-list-appender{margin:4px auto 4px 0;border-radius:9999px}.wp-block-social-links .block-list-appender .block-editor-inserter{display:flex;align-items:center;justify-content:center;font-size:inherit;width:1em;height:1em}.has-small-icon-size .wp-block-social-links .block-list-appender{font-size:16px}.has-normal-icon-size .wp-block-social-links .block-list-appender{font-size:24px}.has-large-icon-size .wp-block-social-links .block-list-appender{font-size:36px}.has-huge-icon-size .wp-block-social-links .block-list-appender{font-size:48px}.wp-block-social-links .block-list-appender:before{content:none}.wp-block[data-align=center]>.wp-block-social-links{justify-content:center}.block-editor-block-preview__content .components-button:disabled{opacity:1}.wp-social-link.wp-social-link__is-incomplete{opacity:.5}@media (prefers-reduced-motion:reduce){.wp-social-link.wp-social-link__is-incomplete{transition-duration:0s;transition-delay:0s}}.wp-block-social-links .is-selected .wp-social-link__is-incomplete,.wp-social-link.wp-social-link__is-incomplete:focus,.wp-social-link.wp-social-link__is-incomplete:hover{opacity:1}.block-editor-block-list__block[data-type="core/spacer"]:before{content:"";display:block;position:absolute;width:100%;height:24px;transform:translateY(-12px)}.block-library-spacer__resize-container.has-show-handle,.wp-block-spacer.is-hovered .block-library-spacer__resize-container{background:rgba(0,0,0,.1)}.is-dark-theme .block-library-spacer__resize-container.has-show-handle,.is-dark-theme .wp-block-spacer.is-hovered .block-library-spacer__resize-container{background:hsla(0,0%,100%,.15)}.block-library-spacer__resize-container{clear:both}.block-library-spacer__resize-container .components-resizable-box__handle:before{content:none}.block-library-spacer__resize-container.resize-horizontal{margin-bottom:0}.wp-block-table{margin:0}.wp-block[data-align=center]>.wp-block-table,.wp-block[data-align=left]>.wp-block-table,.wp-block[data-align=right]>.wp-block-table{height:auto}.wp-block[data-align=center]>.wp-block-table table,.wp-block[data-align=left]>.wp-block-table table,.wp-block[data-align=right]>.wp-block-table table{width:auto}.wp-block[data-align=center]>.wp-block-table td,.wp-block[data-align=center]>.wp-block-table th,.wp-block[data-align=left]>.wp-block-table td,.wp-block[data-align=left]>.wp-block-table th,.wp-block[data-align=right]>.wp-block-table td,.wp-block[data-align=right]>.wp-block-table th{word-break:break-word}.wp-block[data-align=center]>.wp-block-table{text-align:initial}.wp-block[data-align=center]>.wp-block-table table{margin:0 auto}.wp-block-table td,.wp-block-table th{border:1px solid}.wp-block-table td.is-selected,.wp-block-table th.is-selected{border-color:var(--wp-admin-theme-color);box-shadow:inset 0 0 0 1px var(--wp-admin-theme-color);border-style:double}.wp-block-table figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-table figcaption{color:hsla(0,0%,100%,.65)}.blocks-table__placeholder-form.blocks-table__placeholder-form{display:flex;flex-direction:column;align-items:flex-start}.blocks-table__placeholder-form.blocks-table__placeholder-form>*{margin-bottom:8px}@media (min-width:782px){.blocks-table__placeholder-form.blocks-table__placeholder-form{flex-direction:row;align-items:flex-end}.blocks-table__placeholder-form.blocks-table__placeholder-form>*{margin-bottom:0}}.blocks-table__placeholder-input{width:112px;margin-right:8px;margin-bottom:0}.blocks-table__placeholder-input input{height:36px}.blocks-table__placeholder-input .components-base-control__field{margin-bottom:0}.wp-block-tag-cloud a{display:inline-block;margin-right:5px}.wp-block-tag-cloud span{display:inline-block;margin-left:5px;color:#757575;text-decoration:none}.wp-block-template-part__placeholder-preview-dropdown-content .components-popover__content,.wp-block-template-part__preview-dropdown-content .components-popover__content{min-width:320px;padding:0}.wp-block-template-part__selection-preview-search-form{border-bottom:1px solid #ddd}.wp-block-template-part__selection-preview-container{background:#fff;padding-bottom:16px}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item{border-radius:2px;cursor:pointer;margin-top:16px;transition:all .05s ease-in-out;border:1px solid transparent;width:100%;background-color:#fff}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item:hover{border:1px solid var(--wp-admin-theme-color)}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item:focus{box-shadow:inset 0 0 0 1px #fff,0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);outline:2px solid transparent}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item.is-placeholder{min-height:100px}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item-title{padding:4px;font-size:12px;text-align:left}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-panel-group-header{padding:16px 16px 0}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-panel-group-content{padding:0 16px}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-panel-group-title{color:var(--wp-admin-theme-color);text-transform:uppercase;font-size:11px;font-weight:500}.block-editor-block-list__block[data-type="core/template-part"].has-child-selected:after{border:1px dotted var(--wp-admin-theme-color)}.block-editor-block-list__block[data-type="core/template-part"].has-child-selected.is-highlighted:after,.block-editor-block-list__block[data-type="core/template-part"].has-child-selected.is-hovered:after{border:none}.wp-block-text-columns .block-editor-rich-text__editable:focus{outline:1px solid #ddd}.wp-block[data-align=center]>.wp-block-video{text-align:center}.wp-block-video{position:relative}.wp-block-video.is-transient video{opacity:.3}.wp-block-video .components-spinner{position:absolute;top:50%;left:50%;margin-top:-9px;margin-left:-9px}.editor-video-poster-control .components-base-control__label{display:block}.editor-video-poster-control .components-button{margin-right:8px}.block-library-video-tracks-editor{z-index:159990}.block-library-video-tracks-editor>.components-popover__content{width:360px}.block-library-video-tracks-editor__track-list-track{display:flex;place-content:space-between;align-items:baseline;padding-left:12px}.block-library-video-tracks-editor__single-track-editor-label-language{display:flex;margin-top:12px}.block-library-video-tracks-editor__single-track-editor-label-language>.components-base-control{width:50%}.block-library-video-tracks-editor__single-track-editor-label-language>.components-base-control:first-child{margin-right:16px}.block-library-video-tracks-editor__single-track-editor-kind-select{max-width:240px}.block-library-video-tracks-editor__single-track-editor-buttons-container{display:flex;place-content:space-between;margin-top:32px}.block-library-video-tracks-editor__single-track-editor-edit-track-label{margin-top:4px;margin-bottom:12px;color:#757575;text-transform:uppercase;font-size:11px;font-weight:500;display:block}.block-library-video-tracks-editor>.components-popover__content>div,.block-library-video-tracks-editor__add-tracks-container .components-menu-group__label,.block-library-video-tracks-editor__track-list .components-menu-group__label{padding:0}.block-library-video-tracks-editor__add-tracks-container,.block-library-video-tracks-editor__single-track-editor,.block-library-video-tracks-editor__track-list{padding:12px}.block-library-video-tracks-editor__single-track-editor .components-base-control .components-base-control__label{margin-bottom:4px}.block-library-video-tracks-editor__single-track-editor .components-base-control .components-base-control__field{margin-bottom:12px}.block-library-video-tracks-editor__single-track-editor .components-base-control .components-text-control__input{margin-left:0}.block-library-video-tracks-editor__single-track-editor .components-base-control .components-input-control__label{margin-bottom:4px}.wp-block-query-title__placeholder{padding:1em 0;border:1px dashed}.editor-styles-wrapper ul.wp-block-query-loop{padding-left:0;margin-left:0;list-style:none}.block-library-query-toolbar__popover .components-popover__content{min-width:230px}.wp-block-query__create-new-link{padding:0 16px 16px 56px}.wp-block>.wp-block-query-pagination{display:flex;flex-wrap:wrap;flex-direction:row}.editor-styles-wrapper .wp-block-query-pagination{max-width:100%}.editor-styles-wrapper .wp-block-query-pagination.block-editor-block-list__layout{margin:0}.block-library-query-pagination-toolbar__popover .components-popover__content{min-width:230px}.wp-block-query-pagination>.wp-block-query-pagination-next,.wp-block-query-pagination>.wp-block-query-pagination-numbers,.wp-block-query-pagination>.wp-block-query-pagination-previous{display:inline-block;margin:.5em .5em .5em 0}.wp-block-query-pagination>.wp-block-query-pagination-next:last-child,.wp-block-query-pagination>.wp-block-query-pagination-numbers:last-child,.wp-block-query-pagination>.wp-block-query-pagination-previous:last-child{margin-right:0}.wp-block-query-pagination-numbers a{text-decoration:underline}.wp-block-query-pagination-numbers .page-numbers{margin-right:2px}.wp-block-query-pagination-numbers .page-numbers:last-child{margin-right:0}div[data-type="core/post-featured-image"] img{max-width:100%;height:auto;display:block}.editor-styles-wrapper .post-featured-image_placeholder{display:flex;flex-direction:row;align-items:flex-start;border-radius:2px;background-color:#fff;box-shadow:inset 0 0 0 1px #1e1e1e;padding:12px}.editor-styles-wrapper .post-featured-image_placeholder svg{margin-right:12px}.editor-styles-wrapper .post-featured-image_placeholder p{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;margin:0}.wp-block-term-description__placeholder{padding:1em 0;border:1px dashed}:root .editor-styles-wrapper .has-pale-pink-background-color{background-color:#f78da7}:root .editor-styles-wrapper .has-vivid-red-background-color{background-color:#cf2e2e}:root .editor-styles-wrapper .has-luminous-vivid-orange-background-color{background-color:#ff6900}:root .editor-styles-wrapper .has-luminous-vivid-amber-background-color{background-color:#fcb900}:root .editor-styles-wrapper .has-light-green-cyan-background-color{background-color:#7bdcb5}:root .editor-styles-wrapper .has-vivid-green-cyan-background-color{background-color:#00d084}:root .editor-styles-wrapper .has-pale-cyan-blue-background-color{background-color:#8ed1fc}:root .editor-styles-wrapper .has-vivid-cyan-blue-background-color{background-color:#0693e3}:root .editor-styles-wrapper .has-vivid-purple-background-color{background-color:#9b51e0}:root .editor-styles-wrapper .has-white-background-color{background-color:#fff}:root .editor-styles-wrapper .has-very-light-gray-background-color{background-color:#eee}:root .editor-styles-wrapper .has-cyan-bluish-gray-background-color{background-color:#abb8c3}:root .editor-styles-wrapper .has-very-dark-gray-background-color{background-color:#313131}:root .editor-styles-wrapper .has-black-background-color{background-color:#000}:root .editor-styles-wrapper .has-pale-pink-color{color:#f78da7}:root .editor-styles-wrapper .has-vivid-red-color{color:#cf2e2e}:root .editor-styles-wrapper .has-luminous-vivid-orange-color{color:#ff6900}:root .editor-styles-wrapper .has-luminous-vivid-amber-color{color:#fcb900}:root .editor-styles-wrapper .has-light-green-cyan-color{color:#7bdcb5}:root .editor-styles-wrapper .has-vivid-green-cyan-color{color:#00d084}:root .editor-styles-wrapper .has-pale-cyan-blue-color{color:#8ed1fc}:root .editor-styles-wrapper .has-vivid-cyan-blue-color{color:#0693e3}:root .editor-styles-wrapper .has-vivid-purple-color{color:#9b51e0}:root .editor-styles-wrapper .has-white-color{color:#fff}:root .editor-styles-wrapper .has-very-light-gray-color{color:#eee}:root .editor-styles-wrapper .has-cyan-bluish-gray-color{color:#abb8c3}:root .editor-styles-wrapper .has-very-dark-gray-color{color:#313131}:root .editor-styles-wrapper .has-black-color{color:#000}:root .editor-styles-wrapper .has-vivid-cyan-blue-to-vivid-purple-gradient-background{background:linear-gradient(135deg,#0693e3,#9b51e0)}:root .editor-styles-wrapper .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background{background:linear-gradient(135deg,#00d084,#0693e3)}:root .editor-styles-wrapper .has-light-green-cyan-to-vivid-green-cyan-gradient-background{background:linear-gradient(135deg,#7adcb4,#00d082)}:root .editor-styles-wrapper .has-luminous-vivid-amber-to-luminous-vivid-orange-gradient-background{background:linear-gradient(135deg,#fcb900,#ff6900)}:root .editor-styles-wrapper .has-luminous-vivid-orange-to-vivid-red-gradient-background{background:linear-gradient(135deg,#ff6900,#cf2e2e)}:root .editor-styles-wrapper .has-very-light-gray-to-cyan-bluish-gray-gradient-background{background:linear-gradient(135deg,#eee,#a9b8c3)}:root .editor-styles-wrapper .has-cool-to-warm-spectrum-gradient-background{background:linear-gradient(135deg,#4aeadc,#9778d1 20%,#cf2aba 40%,#ee2c82 60%,#fb6962 80%,#fef84c)}:root .editor-styles-wrapper .has-blush-light-purple-gradient-background{background:linear-gradient(135deg,#ffceec,#9896f0)}:root .editor-styles-wrapper .has-blush-bordeaux-gradient-background{background:linear-gradient(135deg,#fecda5,#fe2d2d 50%,#6b003e)}:root .editor-styles-wrapper .has-purple-crush-gradient-background{background:linear-gradient(135deg,#34e2e4,#4721fb 50%,#ab1dfe)}:root .editor-styles-wrapper .has-luminous-dusk-gradient-background{background:linear-gradient(135deg,#ffcb70,#c751c0 50%,#4158d0)}:root .editor-styles-wrapper .has-hazy-dawn-gradient-background{background:linear-gradient(135deg,#faaca8,#dad0ec)}:root .editor-styles-wrapper .has-pale-ocean-gradient-background{background:linear-gradient(135deg,#fff5cb,#b6e3d4 50%,#33a7b5)}:root .editor-styles-wrapper .has-electric-grass-gradient-background{background:linear-gradient(135deg,#caf880,#71ce7e)}:root .editor-styles-wrapper .has-subdued-olive-gradient-background{background:linear-gradient(135deg,#fafae1,#67a671)}:root .editor-styles-wrapper .has-atomic-cream-gradient-background{background:linear-gradient(135deg,#fdd79a,#004a59)}:root .editor-styles-wrapper .has-nightshade-gradient-background{background:linear-gradient(135deg,#330968,#31cdcf)}:root .editor-styles-wrapper .has-midnight-gradient-background{background:linear-gradient(135deg,#020381,#2874fc)}.editor-styles-wrapper .has-small-font-size{font-size:13px}.editor-styles-wrapper .has-normal-font-size,.editor-styles-wrapper .has-regular-font-size{font-size:16px}.editor-styles-wrapper .has-medium-font-size{font-size:20px}.editor-styles-wrapper .has-large-font-size{font-size:36px}.editor-styles-wrapper .has-huge-font-size,.editor-styles-wrapper .has-larger-font-size{font-size:42px}#end-resizable-editor-section{display:none} \ No newline at end of file diff --git a/wp-includes/css/dist/components/style-rtl.css b/wp-includes/css/dist/components/style-rtl.css index 59865439c3..7c6d9335cf 100644 --- a/wp-includes/css/dist/components/style-rtl.css +++ b/wp-includes/css/dist/components/style-rtl.css @@ -3541,7 +3541,6 @@ body.is-dragging-components-draggable { .components-notice-list { max-width: 100vw; box-sizing: border-box; - z-index: 29; } .components-notice-list .components-notice__content { margin-top: 12px; diff --git a/wp-includes/css/dist/components/style-rtl.min.css b/wp-includes/css/dist/components/style-rtl.min.css index b7b1632db4..63f120c057 100644 --- a/wp-includes/css/dist/components/style-rtl.min.css +++ b/wp-includes/css/dist/components/style-rtl.min.css @@ -1 +1 @@ -@charset "UTF-8";:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}.components-animate__appear{animation:components-animate__appear-animation .1s cubic-bezier(0,0,.2,1) 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.components-animate__appear{animation-duration:1ms;animation-delay:0s}}.components-animate__appear.is-from-top,.components-animate__appear.is-from-top.is-from-left{transform-origin:top right}.components-animate__appear.is-from-top.is-from-right{transform-origin:top left}.components-animate__appear.is-from-bottom,.components-animate__appear.is-from-bottom.is-from-left{transform-origin:bottom right}.components-animate__appear.is-from-bottom.is-from-right{transform-origin:bottom left}@keyframes components-animate__appear-animation{0%{transform:translateY(-2em) scaleY(0) scaleX(0)}to{transform:translateY(0) scaleY(1) scaleX(1)}}.components-animate__slide-in{animation:components-animate__slide-in-animation .1s cubic-bezier(0,0,.2,1);animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.components-animate__slide-in{animation-duration:1ms;animation-delay:0s}}.components-animate__slide-in.is-from-left{transform:translateX(-100%)}.components-animate__slide-in.is-from-right{transform:translateX(100%)}@keyframes components-animate__slide-in-animation{to{transform:translateX(0)}}.components-animate__loading{animation:components-animate__loading 1.6s ease-in-out infinite}@keyframes components-animate__loading{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}.components-autocomplete__popover .components-popover__content>div{padding:16px;min-width:220px}.components-autocomplete__result.components-button{display:flex;height:auto;min-height:36px;text-align:right;width:100%}.components-autocomplete__result.components-button.is-selected{box-shadow:0 0 0 2px var(--wp-admin-theme-color)}.components-button-group{display:inline-block}.components-button-group .components-button{border-radius:0;display:inline-flex;color:#1e1e1e;box-shadow:inset 0 0 0 1px #1e1e1e}.components-button-group .components-button+.components-button{margin-right:-1px}.components-button-group .components-button:first-child{border-radius:0 2px 2px 0}.components-button-group .components-button:last-child{border-radius:2px 0 0 2px}.components-button-group .components-button.is-primary,.components-button-group .components-button:focus{position:relative;z-index:1}.components-button-group .components-button.is-primary{box-shadow:inset 0 0 0 1px #1e1e1e}.components-button{display:inline-flex;text-decoration:none;font-weight:400;font-size:13px;margin:0;border:0;cursor:pointer;-webkit-appearance:none;background:none;transition:box-shadow .1s linear;height:36px;align-items:center;box-sizing:border-box;padding:6px 12px;border-radius:2px;color:#1e1e1e}@media (prefers-reduced-motion:reduce){.components-button{transition-duration:0s;transition-delay:0s}}.components-button:hover,.components-button[aria-expanded=true]{color:var(--wp-admin-theme-color)}.components-button[aria-disabled=true]:hover{color:initial}.components-button:focus:not(:disabled){box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);outline:3px solid transparent}.components-button.is-primary{white-space:nowrap;background:var(--wp-admin-theme-color);color:#fff;text-decoration:none;text-shadow:none;outline:1px solid transparent}.components-button.is-primary:hover:not(:disabled){background:var(--wp-admin-theme-color-darker-10);color:#fff}.components-button.is-primary:active:not(:disabled){background:var(--wp-admin-theme-color-darker-20);border-color:var(--wp-admin-theme-color-darker-20);color:#fff}.components-button.is-primary:focus:not(:disabled){box-shadow:inset 0 0 0 1px #fff,0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.components-button.is-primary:disabled,.components-button.is-primary:disabled:active:enabled,.components-button.is-primary[aria-disabled=true],.components-button.is-primary[aria-disabled=true]:active:enabled,.components-button.is-primary[aria-disabled=true]:enabled{color:hsla(0,0%,100%,.4);background:var(--wp-admin-theme-color);border-color:var(--wp-admin-theme-color);opacity:1;outline:none}.components-button.is-primary:disabled:active:enabled:focus:enabled,.components-button.is-primary:disabled:focus:enabled,.components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,.components-button.is-primary[aria-disabled=true]:enabled:focus:enabled,.components-button.is-primary[aria-disabled=true]:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px var(--wp-admin-theme-color)}.components-button.is-primary.is-busy,.components-button.is-primary.is-busy:disabled,.components-button.is-primary.is-busy[aria-disabled=true]{color:#fff;background-size:100px 100%;background-image:linear-gradient(45deg,var(--wp-admin-theme-color) 33%,var(--wp-admin-theme-color-darker-20) 0,var(--wp-admin-theme-color-darker-20) 70%,var(--wp-admin-theme-color) 0);border-color:var(--wp-admin-theme-color)}.components-button.is-secondary,.components-button.is-tertiary{outline:1px solid transparent}.components-button.is-secondary:active:not(:disabled),.components-button.is-tertiary:active:not(:disabled){background:#ddd;color:var(--wp-admin-theme-color-darker-10);box-shadow:none}.components-button.is-secondary:hover:not(:disabled),.components-button.is-tertiary:hover:not(:disabled){color:var(--wp-admin-theme-color-darker-10);box-shadow:inset 0 0 0 1px var(--wp-admin-theme-color-darker-10)}.components-button.is-secondary:disabled,.components-button.is-secondary[aria-disabled=true],.components-button.is-secondary[aria-disabled=true]:hover,.components-button.is-tertiary:disabled,.components-button.is-tertiary[aria-disabled=true],.components-button.is-tertiary[aria-disabled=true]:hover{color:#828282;background:#eaeaea;transform:none;opacity:1;box-shadow:none;outline:none}.components-button.is-secondary{box-shadow:inset 0 0 0 1px var(--wp-admin-theme-color);outline:1px solid transparent}.components-button.is-secondary,.components-button.is-tertiary{white-space:nowrap;color:var(--wp-admin-theme-color);background:transparent}.components-button.is-tertiary{padding:6px}.components-button.is-tertiary .dashicon{display:inline-block;flex:0 0 auto}.components-button.is-destructive{color:#cc1818;box-shadow:inset 0 0 0 1px #cc1818}.components-button.is-destructive:hover:not(:disabled){color:#710d0d;box-shadow:inset 0 0 0 1px #710d0d}.components-button.is-destructive:focus:not(:disabled){color:var(--wp-admin-theme-color)}.components-button.is-destructive:active:not(:disabled){background:#ccc}.components-button.is-destructive.is-primary{color:#fff;background:#cc1818;box-shadow:inset 0 0 0 1px #cc1818}.components-button.is-destructive.is-primary:hover:not(:disabled){color:#fff;background:#710d0d;box-shadow:inset 0 0 0 1px #710d0d}.components-button.is-link{margin:0;padding:0;box-shadow:none;border:0;border-radius:0;background:none;outline:none;text-align:right;color:var(--wp-admin-theme-color);text-decoration:underline;transition-property:border,background,color;transition-duration:.05s;transition-timing-function:ease-in-out;height:auto}@media (prefers-reduced-motion:reduce){.components-button.is-link{transition-duration:0s;transition-delay:0s}}.components-button.is-link:focus{border-radius:2px}.components-button.is-link.is-destructive{color:#cc1818}.components-button.is-link.is-destructive:active:not(:disabled),.components-button.is-link.is-destructive:hover:not(:disabled){color:#710d0d;background:none}.components-button.is-link.is-destructive:focus:not(:disabled){color:var(--wp-admin-theme-color)}.components-button:not([aria-disabled=true]):active{color:inherit}.components-button:disabled,.components-button[aria-disabled=true]{cursor:default;opacity:.3}.components-button.is-busy,.components-button.is-secondary.is-busy,.components-button.is-secondary.is-busy:disabled,.components-button.is-secondary.is-busy[aria-disabled=true]{animation:components-button__busy-animation 2.5s linear infinite;opacity:1;background-size:100px 100%;background-image:linear-gradient(45deg,#fafafa 33%,#e0e0e0 0,#e0e0e0 70%,#fafafa 0)}.components-button.is-small{height:24px;line-height:22px;padding:0 8px;font-size:11px}.components-button.is-small.has-icon:not(.has-text){padding:0 8px;width:24px}.components-button.has-icon{padding:6px;min-width:36px;justify-content:center}.components-button.has-icon .dashicon{display:inline-block;flex:0 0 auto;margin-right:2px;margin-left:2px}.components-button.has-icon.has-text{justify-content:left}.components-button.has-icon.has-text svg{margin-left:8px}.components-button.has-icon.has-text .dashicon{margin-left:10px}.components-button.is-pressed{color:#fff;background:#1e1e1e}.components-button.is-pressed:focus:not(:disabled){box-shadow:inset 0 0 0 1px #fff,0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);outline:2px solid transparent}.components-button.is-pressed:hover:not(:disabled){color:#fff;background:#1e1e1e}.components-button svg{fill:currentColor;outline:none}.components-button .components-visually-hidden{height:auto}@keyframes components-button__busy-animation{0%{background-position:200px 0}}.components-checkbox-control__input[type=checkbox]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;padding:6px 8px;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;font-size:16px;line-height:normal;border:1px solid #1e1e1e;transition:none;border-radius:2px;background:#fff;color:#1e1e1e;clear:none;cursor:pointer;display:inline-block;line-height:0;margin:0 0 0 4px;outline:0;padding:0!important;text-align:center;vertical-align:top;width:24px;height:24px;-webkit-appearance:none;appearance:none;transition:border-color .1s ease-in-out}@media (min-width:600px){.components-checkbox-control__input[type=checkbox]{font-size:13px;line-height:normal}}.components-checkbox-control__input[type=checkbox]:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color)}.components-checkbox-control__input[type=checkbox]::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.components-checkbox-control__input[type=checkbox]::-moz-placeholder{opacity:1;color:rgba(30,30,30,.62)}.components-checkbox-control__input[type=checkbox]:-ms-input-placeholder{color:rgba(30,30,30,.62)}.is-dark-theme .components-checkbox-control__input[type=checkbox]::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .components-checkbox-control__input[type=checkbox]::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .components-checkbox-control__input[type=checkbox]:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}.components-checkbox-control__input[type=checkbox]:checked:before,.components-checkbox-control__input[type=checkbox][aria-checked=mixed]:before{margin:-3px -5px;color:#fff}@media (min-width:782px){.components-checkbox-control__input[type=checkbox]:checked:before,.components-checkbox-control__input[type=checkbox][aria-checked=mixed]:before{margin:-4px -5px 0 0}}.components-checkbox-control__input[type=checkbox][aria-checked=mixed]{background:var(--wp-admin-theme-color);border-color:var(--wp-admin-theme-color)}.components-checkbox-control__input[type=checkbox][aria-checked=mixed]:before{content:"";float:right;display:inline-block;vertical-align:middle;width:16px;font:normal 30px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (min-width:782px){.components-checkbox-control__input[type=checkbox][aria-checked=mixed]:before{float:none;font-size:21px}}@media (min-width:600px){.components-checkbox-control__input[type=checkbox]{height:20px;width:20px}}@media (prefers-reduced-motion:reduce){.components-checkbox-control__input[type=checkbox]{transition-duration:0s;transition-delay:0s}}.components-checkbox-control__input[type=checkbox]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px var(--wp-admin-theme-color);outline:2px solid transparent}.components-checkbox-control__input[type=checkbox]:checked{background:var(--wp-admin-theme-color);border-color:var(--wp-admin-theme-color)}.components-checkbox-control__input[type=checkbox]:checked::-ms-check{opacity:0}.components-checkbox-control__input[type=checkbox]:checked:before{content:none}.components-checkbox-control__input-container{position:relative;display:inline-block;margin-left:12px;vertical-align:middle;width:24px;height:24px}@media (min-width:600px){.components-checkbox-control__input-container{width:20px;height:20px}}svg.components-checkbox-control__checked{fill:#fff;cursor:pointer;position:absolute;right:0;top:0;width:24px;height:24px;-webkit-user-select:none;user-select:none;pointer-events:none}@media (min-width:600px){svg.components-checkbox-control__checked{right:-2px;top:-2px}}.components-circular-option-picker{display:inline-block;width:100%;min-width:188px}.components-circular-option-picker .components-circular-option-picker__custom-clear-wrapper{display:flex;justify-content:flex-end}.components-circular-option-picker .components-circular-option-picker__swatches{margin-left:-12px}.components-circular-option-picker__option-wrapper{display:inline-block;height:28px;width:28px;margin-left:12px;margin-bottom:12px;vertical-align:top;transform:scale(1);transition:transform .1s ease}@media (prefers-reduced-motion:reduce){.components-circular-option-picker__option-wrapper{transition-duration:0s;transition-delay:0s}}.components-circular-option-picker__option-wrapper:hover{transform:scale(1.2)}.components-circular-option-picker__option-wrapper>div{height:100%;width:100%}.components-circular-option-picker__option-wrapper:before{content:"";position:absolute;top:1px;right:1px;bottom:1px;left:1px;border-radius:50%;z-index:-1;background:url("data:image/svg+xml;charset=utf-8,%3Csvg width='28' height='28' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 8V6H4v2h2zm2 0V6h2v2H8zm2 8H8v-2h2v2zm2 0v-2h2v2h-2zm0 2v-2h-2v2H8v2h2v-2h2zm2 0v2h-2v-2h2zm2 0h-2v-2h2v2z' fill='%23555D65'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M18 18h2v-2h-2v-2h2v-2h-2v-2h2V8h-2v2h-2V8h-2v2h2v2h-2v2h2v2h2v2zm-2-4v-2h2v2h-2z' fill='%23555D65'/%3E%3Cpath d='M18 18v2h-2v-2h2z' fill='%23555D65'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8 10V8H6v2H4v2h2v2H4v2h2v2H4v2h2v2H4v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2V8h-2V6h2V4h-2v2h-2V4h-2v2h-2V4h-2v2h-2V4h-2v2h2v2h-2v2H8zm0 2v-2H6v2h2zm2 0v-2h2v2h-2zm0 2v-2H8v2H6v2h2v2H6v2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2V8h-2V6h-2v2h-2V6h-2v2h-2v2h2v2h-2v2h-2z' fill='%23555D65'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M4 0H2v2H0v2h2v2H0v2h2v2H0v2h2v2H0v2h2v2H0v2h2v2H0v2h2v2H0v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2V8h-2V6h2V4h-2V2h2V0h-2v2h-2V0h-2v2h-2V0h-2v2h-2V0h-2v2h-2V0h-2v2H8V0H6v2H4V0zm0 4V2H2v2h2zm2 0V2h2v2H6zm0 2V4H4v2H2v2h2v2H2v2h2v2H2v2h2v2H2v2h2v2H2v2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2V8h-2V6h2V4h-2V2h-2v2h-2V2h-2v2h-2V2h-2v2h-2V2h-2v2H8v2H6z' fill='%23555D65'/%3E%3C/svg%3E")}.components-circular-option-picker__option{display:inline-block;vertical-align:top;height:100%;width:100%;border:none;border-radius:50%;background:transparent;box-shadow:inset 0 0 0 14px;transition:box-shadow .1s ease;cursor:pointer}@media (prefers-reduced-motion:reduce){.components-circular-option-picker__option{transition-duration:0s;transition-delay:0s}}.components-circular-option-picker__option:hover{box-shadow:inset 0 0 0 14px!important}.components-circular-option-picker__option.is-pressed{box-shadow:inset 0 0 0 4px;position:relative;z-index:1;overflow:visible}.components-circular-option-picker__option.is-pressed+svg{position:absolute;right:2px;top:2px;border-radius:50%;z-index:2;pointer-events:none}.components-circular-option-picker__option:after{content:"";position:absolute;top:-1px;right:-1px;bottom:-1px;left:-1px;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(0,0,0,.2);border:1px solid transparent}.components-circular-option-picker__option:focus:after{content:"";border:2px solid #757575;width:32px;height:32px;position:absolute;top:-2px;right:-2px;border-radius:50%;box-shadow:inset 0 0 0 2px #fff}.components-circular-option-picker__option.components-button:focus{background-color:initial;box-shadow:inset 0 0 0 14px;outline:none}.components-circular-option-picker__button-action .components-circular-option-picker__option{color:#fff;background:#fff}.components-circular-option-picker__dropdown-link-action{margin-left:16px}.components-circular-option-picker__dropdown-link-action .components-button{line-height:22px}.components-color-edit__color-option-main-area{display:flex;align-items:center}.components-color-edit__color-option-main-area div.components-circular-option-picker__option-wrapper{display:block;margin:8px}.components-color-edit__color-option.is-hover{background:#e0e0e0}.components-color-edit__cancel-button{float:left}.components-color-edit__color-option-color-name{width:100%}.components-color-edit__label-and-insert-container{display:flex;align-items:center;justify-content:space-between}.components-color-edit__insert-button{margin-top:-8px}.components-color-edit__hidden-control{position:relative;right:-9999px}.components-color-edit__color-option-color-name-input .components-base-control__field{margin-bottom:0;margin-left:8px}.components-color-edit__slug-input{margin-right:8px}.components-color-edit__reset-button{float:left}.component-color-indicator{width:25px;height:16px;margin-right:.8rem;border:1px solid #dadada;display:inline-block}.component-color-indicator+.component-color-indicator{margin-right:.5rem}.components-color-picker{width:100%}.components-color-picker *{box-sizing:border-box}.components-color-picker__saturation{width:100%;padding-bottom:55%;position:relative}.components-color-picker__body{padding:16px 16px 12px}.components-color-picker__controls{display:flex}.components-color-picker__alpha-pointer,.components-color-picker__hue-pointer,.components-color-picker__saturation-pointer{padding:0;position:absolute;cursor:pointer;box-shadow:none;border:none}.components-color-picker__swatch{margin-left:8px;width:32px;height:32px;border-radius:50%;position:relative;overflow:hidden;background-image:linear-gradient(-45deg,#ddd 25%,transparent 0),linear-gradient(45deg,#ddd 25%,transparent 0),linear-gradient(-45deg,transparent 75%,#ddd 0),linear-gradient(45deg,transparent 75%,#ddd 0);background-size:10px 10px;background-position:100% 0,100% 5px,5px -5px,-5px 0}.is-alpha-disabled .components-color-picker__swatch{width:12px;height:12px;margin-top:0}.components-color-picker__active{border-radius:50%;box-shadow:inset 0 0 0 1px rgba(0,0,0,.1);z-index:2}.components-color-picker__active,.components-color-picker__saturation-black,.components-color-picker__saturation-color,.components-color-picker__saturation-white{position:absolute;top:0;right:0;left:0;bottom:0}.components-color-picker__saturation-color{overflow:visible}.components-color-picker__saturation-white{background:linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.components-color-picker__saturation-black{background:linear-gradient(0deg,#000,transparent)}.components-button.components-color-picker__saturation-pointer{width:14px;height:14px;padding:0;border-radius:50%;background-color:initial;transform:translate(50%,-50%);box-shadow:0 0 0 1px #fff,inset 0 0 0 1px #000,0 0 0 2px #000}.components-button.components-color-picker__saturation-pointer:focus:not(:disabled){box-shadow:0 0 0 2px #fff,inset 0 0 0 1px #000,0 0 0 3px #000}.components-color-picker__toggles{flex:1}.components-color-picker__alpha{background-image:linear-gradient(-45deg,#ddd 25%,transparent 0),linear-gradient(45deg,#ddd 25%,transparent 0),linear-gradient(-45deg,transparent 75%,#ddd 0),linear-gradient(45deg,transparent 75%,#ddd 0);background-size:10px 10px;background-position:100% 0,100% 5px,5px -5px,-5px 0}.components-color-picker__alpha-gradient,.components-color-picker__hue-gradient{position:absolute;top:0;right:0;left:0;bottom:0}.components-color-picker__alpha,.components-color-picker__hue{height:12px;position:relative}.is-alpha-enabled .components-color-picker__hue{margin-bottom:8px}.components-color-picker__alpha-bar,.components-color-picker__hue-bar{position:relative;margin:0 3px;height:100%;padding:0 2px}.components-color-picker__hue-gradient{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.components-color-picker__alpha-pointer,.components-color-picker__hue-pointer{left:0;width:14px;height:14px;border-radius:50%;box-shadow:0 1px 4px 0 rgba(0,0,0,.37);background:#fff;transform:translate(7px,-1px)}.components-color-picker__hue-pointer,.components-color-picker__saturation-pointer{transition:box-shadow .1s linear}@media (prefers-reduced-motion:reduce){.components-color-picker__hue-pointer,.components-color-picker__saturation-pointer{transition-duration:0s;transition-delay:0s}}.components-color-picker__saturation-pointer:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px var(--wp-admin-theme-color),0 0 5px 0 var(--wp-admin-theme-color),inset 0 0 1px 1px rgba(0,0,0,.3),0 0 1px 2px rgba(0,0,0,.4)}.components-color-picker__alpha-pointer:focus,.components-color-picker__hue-pointer:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 2px var(--wp-admin-theme-color),0 0 3px 0 var(--wp-admin-theme-color);outline:2px solid transparent;outline-offset:-2px}.components-color-picker__inputs-wrapper{margin:0 -4px;padding-top:16px;display:flex;align-items:flex-end;min-width:255px}.components-color-picker__inputs-wrapper fieldset{flex:1;border:none;margin:0;padding:0}.components-color-picker__inputs-wrapper .components-color-picker__inputs-fields .components-text-control__input[type=number]{padding:6px 3px;margin:0}.components-color-picker__inputs-field{width:100%}.components-color-picker__inputs-fields{display:flex;direction:ltr;flex-grow:1;margin-left:4px}.components-color-picker__inputs-fields .components-base-control+.components-base-control{margin-top:0}.components-color-picker__inputs-fields .components-base-control__field{margin:0 2px}.components-color-picker__inputs-toggle{height:30px;padding:0 5px}.components-combobox-control{width:100%}input.components-combobox-control__input[type=text]{width:100%;border:none;box-shadow:none;font-size:16px;padding:2px;margin:0;line-height:inherit;min-height:auto}@media (min-width:600px){input.components-combobox-control__input[type=text]{font-size:13px}}input.components-combobox-control__input[type=text]:focus{outline:none;box-shadow:none}.components-combobox-control__suggestions-container{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:2px;border:1px solid #757575;font-size:16px;line-height:normal;display:flex;flex-wrap:wrap;align-items:flex-start;width:100%;margin:0 0 8px;padding:4px}@media (prefers-reduced-motion:reduce){.components-combobox-control__suggestions-container{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.components-combobox-control__suggestions-container{font-size:13px;line-height:normal}}.components-combobox-control__suggestions-container:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color);outline:2px solid transparent}.components-combobox-control__suggestions-container::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.components-combobox-control__suggestions-container::-moz-placeholder{opacity:1;color:rgba(30,30,30,.62)}.components-combobox-control__suggestions-container:-ms-input-placeholder{color:rgba(30,30,30,.62)}.is-dark-theme .components-combobox-control__suggestions-container::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .components-combobox-control__suggestions-container::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .components-combobox-control__suggestions-container:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}.components-combobox-control__suggestions-container:focus-within{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color);outline:2px solid transparent}.components-combobox-control__reset.components-button{display:flex;height:24px;min-width:24px;padding:0}.components-color-list-picker,.components-color-list-picker__swatch-button{width:100%}.components-custom-gradient-picker__gradient-bar:not(.has-gradient){opacity:.4}.components-custom-gradient-picker__gradient-bar{margin-top:12px;width:100%;height:36px;border-radius:36px;margin-bottom:12px;padding-right:6px;padding-left:30px}.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__markers-container{position:relative}.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__insert-point{border-radius:50%;background:#fff;padding:2px;top:6px;min-width:24px;width:24px;height:24px;position:relative;color:#1e1e1e}.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__insert-point svg{height:100%;width:100%}.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__control-point-button{border:2px solid transparent;box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) #fff;border-radius:50%;height:24px;width:24px;padding:0;position:absolute;top:6px}.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__control-point-button.is-active,.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__control-point-button:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #1e1e1e}.components-custom-gradient-picker__color-picker-popover .components-custom-gradient-picker__remove-control-point{margin-right:auto;margin-left:auto;display:block;margin-bottom:8px}.components-custom-gradient-picker__inserter{width:100%}.components-custom-gradient-picker__liner-gradient-indicator{display:inline-block;flex:0 auto;width:20px;height:20px}.components-custom-gradient-picker .components-custom-gradient-picker__ui-line{margin-bottom:16px}.components-custom-gradient-picker .components-custom-gradient-picker__ui-line .components-base-control.components-angle-picker,.components-custom-gradient-picker .components-custom-gradient-picker__ui-line .components-base-control.components-custom-gradient-picker__type-picker{margin-bottom:0}.components-custom-gradient-picker .components-custom-gradient-picker__toolbar{border:none}.components-custom-gradient-picker .components-custom-gradient-picker__toolbar>div+div{margin-right:1px}.components-custom-gradient-picker .components-custom-gradient-picker__toolbar button.is-pressed>svg{background:#fff;border:1px solid #949494;border-radius:2px}.components-custom-select-control{position:relative}.components-custom-select-control__label{display:block;margin-bottom:8px}.components-custom-select-control__button{border:1px solid #757575;border-radius:2px;min-height:30px;min-width:130px;position:relative;text-align:right}.components-custom-select-control__button.components-custom-select-control__button{padding-left:24px}.components-custom-select-control__button:focus:not(:disabled){border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color)}.components-custom-select-control__button .components-custom-select-control__button-icon{height:100%;padding:0;position:absolute;left:0;top:0}.components-custom-select-control__menu{border:1px solid #1e1e1e;background-color:#fff;border-radius:2px;outline:none;transition:none;max-height:400px;min-width:100%;overflow:auto;padding:0;position:absolute;z-index:1000000}.components-custom-select-control__menu[aria-hidden=true]{display:none}.components-custom-select-control__item{align-items:center;display:flex;list-style-type:none;padding:8px;cursor:default;line-height:28px}.components-custom-select-control__item.is-highlighted{background:#ddd}.components-custom-select-control__item .components-custom-select-control__item-icon{margin-left:0;margin-right:auto}.components-custom-select-control__item:last-child{margin-bottom:0}.PresetDateRangePicker_panel{padding:0 22px 11px}.PresetDateRangePicker_button{position:relative;height:100%;text-align:center;background:0 0;border:2px solid #00a699;color:#00a699;padding:4px 12px;margin-right:8px;font:inherit;font-weight:700;line-height:normal;overflow:visible;box-sizing:border-box;cursor:pointer}.PresetDateRangePicker_button:active{outline:0}.PresetDateRangePicker_button__selected{color:#fff;background:#00a699}.SingleDatePickerInput{display:inline-block;background-color:#fff}.SingleDatePickerInput__withBorder{border-radius:2px;border:1px solid #dbdbdb}.SingleDatePickerInput__rtl{direction:rtl}.SingleDatePickerInput__disabled{background-color:#f2f2f2}.SingleDatePickerInput__block{display:block}.SingleDatePickerInput__showClearDate{padding-right:30px}.SingleDatePickerInput_clearDate{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;cursor:pointer;padding:10px;margin:0 10px 0 5px;position:absolute;right:0;top:50%;transform:translateY(-50%)}.SingleDatePickerInput_clearDate__default:focus,.SingleDatePickerInput_clearDate__default:hover{background:#dbdbdb;border-radius:50%}.SingleDatePickerInput_clearDate__small{padding:6px}.SingleDatePickerInput_clearDate__hide{visibility:hidden}.SingleDatePickerInput_clearDate_svg{fill:#82888a;height:12px;width:15px;vertical-align:middle}.SingleDatePickerInput_clearDate_svg__small{height:9px}.SingleDatePickerInput_calendarIcon{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;cursor:pointer;display:inline-block;vertical-align:middle;padding:10px;margin:0 5px 0 10px}.SingleDatePickerInput_calendarIcon_svg{fill:#82888a;height:15px;width:14px;vertical-align:middle}.SingleDatePicker{position:relative;display:inline-block}.SingleDatePicker__block{display:block}.SingleDatePicker_picker{z-index:1;background-color:#fff;position:absolute}.SingleDatePicker_picker__rtl{direction:rtl}.SingleDatePicker_picker__directionLeft{left:0}.SingleDatePicker_picker__directionRight{right:0}.SingleDatePicker_picker__portal{background-color:rgba(0,0,0,.3);position:fixed;top:0;left:0;height:100%;width:100%}.SingleDatePicker_picker__fullScreenPortal{background-color:#fff}.SingleDatePicker_closeButton{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;cursor:pointer;position:absolute;top:0;right:0;padding:15px;z-index:2}.SingleDatePicker_closeButton:focus,.SingleDatePicker_closeButton:hover{color:#b0b3b4;text-decoration:none}.SingleDatePicker_closeButton_svg{height:15px;width:15px;fill:#cacccd}.DayPickerKeyboardShortcuts_buttonReset{background:0 0;border:0;border-radius:0;color:inherit;font:inherit;line-height:normal;overflow:visible;padding:0;cursor:pointer;font-size:14px}.DayPickerKeyboardShortcuts_buttonReset:active{outline:0}.DayPickerKeyboardShortcuts_show{width:22px;position:absolute;z-index:2}.DayPickerKeyboardShortcuts_show__bottomRight{border-top:26px solid transparent;border-right:33px solid #00a699;bottom:0;right:0}.DayPickerKeyboardShortcuts_show__bottomRight:hover{border-right:33px solid #008489}.DayPickerKeyboardShortcuts_show__topRight{border-bottom:26px solid transparent;border-right:33px solid #00a699;top:0;right:0}.DayPickerKeyboardShortcuts_show__topRight:hover{border-right:33px solid #008489}.DayPickerKeyboardShortcuts_show__topLeft{border-bottom:26px solid transparent;border-left:33px solid #00a699;top:0;left:0}.DayPickerKeyboardShortcuts_show__topLeft:hover{border-left:33px solid #008489}.DayPickerKeyboardShortcuts_showSpan{color:#fff;position:absolute}.DayPickerKeyboardShortcuts_showSpan__bottomRight{bottom:0;right:-28px}.DayPickerKeyboardShortcuts_showSpan__topRight{top:1px;right:-28px}.DayPickerKeyboardShortcuts_showSpan__topLeft{top:1px;left:-28px}.DayPickerKeyboardShortcuts_panel{overflow:auto;background:#fff;border:1px solid #dbdbdb;border-radius:2px;position:absolute;top:0;bottom:0;right:0;left:0;z-index:2;padding:22px;margin:33px}.DayPickerKeyboardShortcuts_title{font-size:16px;font-weight:700;margin:0}.DayPickerKeyboardShortcuts_list{list-style:none;padding:0;font-size:14px}.DayPickerKeyboardShortcuts_close{position:absolute;right:22px;top:22px;z-index:2}.DayPickerKeyboardShortcuts_close:active{outline:0}.DayPickerKeyboardShortcuts_closeSvg{height:15px;width:15px;fill:#cacccd}.DayPickerKeyboardShortcuts_closeSvg:focus,.DayPickerKeyboardShortcuts_closeSvg:hover{fill:#82888a}.CalendarDay{box-sizing:border-box;cursor:pointer;font-size:14px;text-align:center}.CalendarDay:active{outline:0}.CalendarDay__defaultCursor{cursor:default}.CalendarDay__default{border:1px solid #e4e7e7;color:#484848;background:#fff}.CalendarDay__default:hover{background:#e4e7e7;border:1px double #e4e7e7;color:inherit}.CalendarDay__hovered_offset{background:#f4f5f5;border:1px double #e4e7e7;color:inherit}.CalendarDay__outside{border:0;background:#fff;color:#484848}.CalendarDay__outside:hover{border:0}.CalendarDay__blocked_minimum_nights{background:#fff;border:1px solid #eceeee;color:#cacccd}.CalendarDay__blocked_minimum_nights:active,.CalendarDay__blocked_minimum_nights:hover{background:#fff;color:#cacccd}.CalendarDay__highlighted_calendar{background:#ffe8bc;color:#484848}.CalendarDay__highlighted_calendar:active,.CalendarDay__highlighted_calendar:hover{background:#ffce71;color:#484848}.CalendarDay__selected_span{background:#66e2da;border:1px solid #33dacd;color:#fff}.CalendarDay__selected_span:active,.CalendarDay__selected_span:hover{background:#33dacd;border:1px solid #33dacd;color:#fff}.CalendarDay__last_in_range{border-right:#00a699}.CalendarDay__selected,.CalendarDay__selected:active,.CalendarDay__selected:hover{background:#00a699;border:1px solid #00a699;color:#fff}.CalendarDay__hovered_span,.CalendarDay__hovered_span:hover{background:#b2f1ec;border:1px solid #80e8e0;color:#007a87}.CalendarDay__hovered_span:active{background:#80e8e0;border:1px solid #80e8e0;color:#007a87}.CalendarDay__blocked_calendar,.CalendarDay__blocked_calendar:active,.CalendarDay__blocked_calendar:hover{background:#cacccd;border:1px solid #cacccd;color:#82888a}.CalendarDay__blocked_out_of_range,.CalendarDay__blocked_out_of_range:active,.CalendarDay__blocked_out_of_range:hover{background:#fff;border:1px solid #e4e7e7;color:#cacccd}.CalendarMonth{background:#fff;text-align:center;vertical-align:top;-webkit-user-select:none;user-select:none}.CalendarMonth_table{border-collapse:collapse;border-spacing:0}.CalendarMonth_verticalSpacing{border-collapse:initial}.CalendarMonth_caption{color:#484848;font-size:18px;text-align:center;padding-top:22px;padding-bottom:37px;caption-side:top}.CalendarMonth_caption__verticalScrollable{padding-top:12px;padding-bottom:7px}.CalendarMonthGrid{background:#fff;text-align:left;z-index:0}.CalendarMonthGrid__animating{z-index:1}.CalendarMonthGrid__horizontal{position:absolute;left:0}.CalendarMonthGrid__vertical{margin:0 auto}.CalendarMonthGrid__vertical_scrollable{margin:0 auto;overflow-y:scroll}.CalendarMonthGrid_month__horizontal{display:inline-block;vertical-align:top;min-height:100%}.CalendarMonthGrid_month__hideForAnimation{position:absolute;z-index:-1;opacity:0;pointer-events:none}.CalendarMonthGrid_month__hidden{visibility:hidden}.DayPickerNavigation{position:relative;z-index:2}.DayPickerNavigation__horizontal{height:0}.DayPickerNavigation__verticalDefault{position:absolute;width:100%;height:52px;bottom:0;left:0}.DayPickerNavigation__verticalScrollableDefault{position:relative}.DayPickerNavigation_button{cursor:pointer;-webkit-user-select:none;user-select:none;border:0;padding:0;margin:0}.DayPickerNavigation_button__default{border:1px solid #e4e7e7;background-color:#fff;color:#757575}.DayPickerNavigation_button__default:focus,.DayPickerNavigation_button__default:hover{border:1px solid #c4c4c4}.DayPickerNavigation_button__default:active{background:#f2f2f2}.DayPickerNavigation_button__horizontalDefault{position:absolute;top:18px;line-height:.78;border-radius:3px;padding:6px 9px}.DayPickerNavigation_leftButton__horizontalDefault{left:22px}.DayPickerNavigation_rightButton__horizontalDefault{right:22px}.DayPickerNavigation_button__verticalDefault{padding:5px;background:#fff;box-shadow:0 0 5px 2px rgba(0,0,0,.1);position:relative;display:inline-block;height:100%;width:50%}.DayPickerNavigation_nextButton__verticalDefault{border-left:0}.DayPickerNavigation_nextButton__verticalScrollableDefault{width:100%}.DayPickerNavigation_svg__horizontal{height:19px;width:19px;fill:#82888a;display:block}.DayPickerNavigation_svg__vertical{height:42px;width:42px;fill:#484848;display:block}.DayPicker{position:relative;text-align:left}.DayPicker,.DayPicker__horizontal{background:#fff}.DayPicker__verticalScrollable{height:100%}.DayPicker__hidden{visibility:hidden}.DayPicker__withBorder{box-shadow:0 2px 6px rgba(0,0,0,.05),0 0 0 1px rgba(0,0,0,.07);border-radius:3px}.DayPicker_portal__horizontal{box-shadow:none;position:absolute;left:50%;top:50%}.DayPicker_portal__vertical{position:static}.DayPicker_focusRegion{outline:0}.DayPicker_calendarInfo__horizontal,.DayPicker_wrapper__horizontal{display:inline-block;vertical-align:top}.DayPicker_weekHeaders{position:relative}.DayPicker_weekHeaders__horizontal{margin-left:13px}.DayPicker_weekHeader{color:#757575;position:absolute;top:62px;z-index:2;text-align:left;padding:0!important}.DayPicker_weekHeader__vertical{left:50%}.DayPicker_weekHeader__verticalScrollable{top:0;display:table-row;border-bottom:1px solid #dbdbdb;background:#fff;margin-left:0;left:0;width:100%;text-align:center}.DayPicker_weekHeader_ul{list-style:none;margin:1px 0;padding-left:0;padding-right:0;font-size:14px}.DayPicker_weekHeader_li{display:inline-block;text-align:center;margin:0 1px}.DayPicker_transitionContainer{position:relative;overflow:hidden;border-radius:3px}.DayPicker_transitionContainer__horizontal{transition:height .2s ease-in-out}.DayPicker_transitionContainer__vertical{width:100%}.DayPicker_transitionContainer__verticalScrollable{padding-top:20px;height:100%;position:absolute;top:0;bottom:0;right:0;left:0;overflow-y:scroll}.DateInput{margin:0;padding:0;background:#fff;position:relative;display:inline-block;width:130px;vertical-align:middle}.DateInput__small{width:97px}.DateInput__block{width:100%}.DateInput__disabled{background:#f2f2f2;color:#dbdbdb}.DateInput_input{font-weight:200;font-size:19px;line-height:24px;color:#484848;background-color:#fff;width:100%;padding:11px 11px 9px;border:0;border-bottom:2px solid transparent;border-radius:0}.DateInput_input__small{font-size:15px;line-height:18px;letter-spacing:.2px;padding:7px 7px 5px}.DateInput_input__regular{font-weight:auto}.DateInput_input__readOnly{-webkit-user-select:none;user-select:none}.DateInput_input__focused{outline:0;background:#fff;border:0;border-bottom:2px solid #008489}.DateInput_input__disabled{background:#f2f2f2;font-style:italic}.DateInput_screenReaderMessage{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.DateInput_fang{position:absolute;width:20px;height:10px;left:22px;z-index:2}.DateInput_fangShape{fill:#fff}.DateInput_fangStroke{stroke:#dbdbdb;fill:transparent}.DateRangePickerInput{background-color:#fff;display:inline-block}.DateRangePickerInput__disabled{background:#f2f2f2}.DateRangePickerInput__withBorder{border-radius:2px;border:1px solid #dbdbdb}.DateRangePickerInput__rtl{direction:rtl}.DateRangePickerInput__block{display:block}.DateRangePickerInput__showClearDates{padding-right:30px}.DateRangePickerInput_arrow{display:inline-block;vertical-align:middle;color:#484848}.DateRangePickerInput_arrow_svg{vertical-align:middle;fill:#484848;height:24px;width:24px}.DateRangePickerInput_clearDates{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;cursor:pointer;padding:10px;margin:0 10px 0 5px;position:absolute;right:0;top:50%;transform:translateY(-50%)}.DateRangePickerInput_clearDates__small{padding:6px}.DateRangePickerInput_clearDates_default:focus,.DateRangePickerInput_clearDates_default:hover{background:#dbdbdb;border-radius:50%}.DateRangePickerInput_clearDates__hide{visibility:hidden}.DateRangePickerInput_clearDates_svg{fill:#82888a;height:12px;width:15px;vertical-align:middle}.DateRangePickerInput_clearDates_svg__small{height:9px}.DateRangePickerInput_calendarIcon{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;cursor:pointer;display:inline-block;vertical-align:middle;padding:10px;margin:0 5px 0 10px}.DateRangePickerInput_calendarIcon_svg{fill:#82888a;height:15px;width:14px;vertical-align:middle}.DateRangePicker{position:relative;display:inline-block}.DateRangePicker__block{display:block}.DateRangePicker_picker{z-index:1;background-color:#fff;position:absolute}.DateRangePicker_picker__rtl{direction:rtl}.DateRangePicker_picker__directionLeft{left:0}.DateRangePicker_picker__directionRight{right:0}.DateRangePicker_picker__portal{background-color:rgba(0,0,0,.3);position:fixed;top:0;left:0;height:100%;width:100%}.DateRangePicker_picker__fullScreenPortal{background-color:#fff}.DateRangePicker_closeButton{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;cursor:pointer;position:absolute;top:0;right:0;padding:15px;z-index:2}.DateRangePicker_closeButton:focus,.DateRangePicker_closeButton:hover{color:#b0b3b4;text-decoration:none}.DateRangePicker_closeButton_svg{height:15px;width:15px;fill:#cacccd}.components-datetime{padding:16px}.components-panel__body .components-datetime{padding:0}.components-datetime .components-datetime__calendar-help{padding:16px}.components-datetime .components-datetime__calendar-help h4{margin:0}.components-datetime .components-datetime__buttons{display:flex;justify-content:space-between}.components-datetime .components-datetime__date-help-toggle{display:block;margin-right:auto}.components-datetime fieldset{border:0;padding:0;margin:0}.components-datetime input,.components-datetime select{box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:2px;border:1px solid #757575}@media (prefers-reduced-motion:reduce){.components-datetime input,.components-datetime select{transition-duration:0s;transition-delay:0s}}.components-datetime .components-button,.components-datetime input[type=number],.components-datetime select{height:30px;margin-top:0;margin-bottom:0}.components-datetime__date{min-height:236px;border-top:1px solid #ddd}.components-datetime__date .DayPickerNavigation_leftButton__horizontalDefault{left:13px}.components-datetime__date .CalendarMonth_caption{font-size:13px}.components-datetime__date .CalendarMonth_table{border-collapse:initial;border-spacing:2px}.components-datetime__date .CalendarDay{font-size:13px;border:none;border-radius:50%;text-align:center}.components-datetime__date .CalendarDay:focus{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color),inset 0 0 0 3px #fff;outline:2px solid transparent}.components-datetime__date .CalendarDay__selected{background:var(--wp-admin-theme-color);border:2px solid transparent}.components-datetime__date .CalendarDay__selected:hover{background:var(--wp-admin-theme-color-darker-20)}.components-datetime__date .CalendarDay__selected:focus{box-shadow:inset 0 0 0 1px #fff}.components-datetime__date .DayPickerNavigation_button__horizontalDefault{padding:2px 8px;top:20px}.components-datetime__date .DayPickerNavigation_button__horizontalDefault:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color);outline:2px solid transparent}.components-datetime__date .DayPicker_weekHeader{top:50px}.components-datetime__date .DayPicker_weekHeader .DayPicker_weekHeader_ul{margin:1px;padding-right:0;padding-left:0}.components-datetime__date.is-description-visible .DayPicker{visibility:hidden}.components-datetime__date .CalendarDay .components-datetime__date__day{height:100%;display:flex;justify-content:center;align-content:center;flex-direction:column;position:relative}.components-datetime__date .CalendarDay .components-datetime__date__day.has-events:before{content:" ";width:4px;height:4px;border-radius:2px;position:absolute;right:50%;margin-right:-2px;bottom:0;background-color:#fff}.components-datetime__date .CalendarDay:not(.CalendarDay__selected) .components-datetime__date__day.has-events:before{background:var(--wp-admin-theme-color)}.components-datetime__time{padding-bottom:16px}.components-datetime__time fieldset{position:relative;margin-bottom:.5em}.components-datetime__time fieldset+fieldset{margin-bottom:0}.components-datetime__time .components-datetime__time-field-am-pm fieldset{margin-top:0}.components-datetime__time .components-datetime__time-wrapper{display:flex}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-separator{display:inline-block;padding:0 0 0 3px}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field-time{direction:ltr}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field select{margin-left:4px}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field select:focus{position:relative;z-index:1}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field input[type=number]{padding:2px;margin-left:4px;text-align:center;-moz-appearance:textfield}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field input[type=number]:focus{position:relative;z-index:1}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.components-datetime__time.is-12-hour .components-datetime__time-field-day input{margin:-4px 0 0!important;border-radius:0 2px 2px 0!important}.components-datetime__time.is-12-hour .components-datetime__time-field-year input{border-radius:2px 0 0 2px!important}.components-datetime__timezone{line-height:30px;margin-right:4px;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.components-datetime__time-legend{font-weight:600;margin-top:.5em}.components-datetime__time-legend.invisible{position:absolute;top:-999em;right:-999em}.components-datetime__time-field-day-input,.components-datetime__time-field-hours-input,.components-datetime__time-field-minutes-input{width:35px}.components-datetime__time-field-year-input{width:55px}.components-datetime__time-field-month-select{max-width:145px}.components-popover .components-datetime__date{padding-right:4px}.block-editor-dimension-control .components-base-control__field{display:flex;align-items:center}.block-editor-dimension-control .components-base-control__label{display:flex;align-items:center;margin-left:1em;margin-bottom:0}.block-editor-dimension-control .components-base-control__label .dashicon{margin-left:.5em}.block-editor-dimension-control.is-manual .components-base-control__label{width:10em}body.is-dragging-components-draggable{cursor:move;cursor:grabbing!important}.components-draggable__invisible-drag-image{position:fixed;right:-1000px;height:50px;width:50px}.components-draggable__clone{position:fixed;padding:0;background:transparent;pointer-events:none;z-index:1000000000}.components-drop-zone{position:absolute;top:0;left:0;bottom:0;right:0;z-index:40;visibility:hidden;opacity:0;transition:opacity .3s,background-color .3s,visibility 0s .3s;border:2px solid var(--wp-admin-theme-color);border-radius:2px}@media (prefers-reduced-motion:reduce){.components-drop-zone{transition-duration:0s;transition-delay:0s}}.components-drop-zone.is-active{opacity:1;visibility:visible;transition:opacity .3s,background-color .3s}@media (prefers-reduced-motion:reduce){.components-drop-zone.is-active{transition-duration:0s;transition-delay:0s}}.components-drop-zone.is-dragging-over-element{background-color:var(--wp-admin-theme-color)}.components-drop-zone__content{position:absolute;top:50%;right:0;left:0;z-index:50;transform:translateY(-50%);width:100%;text-align:center;color:#fff;transition:transform .2s ease-in-out}@media (prefers-reduced-motion:reduce){.components-drop-zone__content{transition-duration:0s;transition-delay:0s}}.components-drop-zone.is-dragging-over-element .components-drop-zone__content{transform:translateY(-50%) scale(1.05)}.components-drop-zone__content-icon,.components-drop-zone__content-text{display:block}.components-drop-zone__content-icon{margin:0 auto;line-height:0;fill:currentColor}.components-drop-zone__content-text{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.components-dropdown{display:inline-block}.components-dropdown__content .components-popover__content>div{padding:12px}.components-dropdown-menu__popover .components-popover__content{min-width:200px}.components-dropdown-menu__menu{width:100%;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:1.4}.components-dropdown-menu__menu .components-dropdown-menu__menu-item,.components-dropdown-menu__menu .components-menu-item{width:100%;padding:6px;outline:none;cursor:pointer;white-space:nowrap}.components-dropdown-menu__menu .components-dropdown-menu__menu-item.has-separator,.components-dropdown-menu__menu .components-menu-item.has-separator{margin-top:6px;position:relative;overflow:visible}.components-dropdown-menu__menu .components-dropdown-menu__menu-item.has-separator:before,.components-dropdown-menu__menu .components-menu-item.has-separator:before{display:block;content:"";box-sizing:initial;background-color:#ddd;position:absolute;top:-3px;right:0;left:0;height:1px}.components-dropdown-menu__menu .components-dropdown-menu__menu-item.is-active svg,.components-dropdown-menu__menu .components-menu-item.is-active svg{color:#fff;background:#1e1e1e;box-shadow:0 0 0 1px #1e1e1e;border-radius:1px}.components-dropdown-menu__menu .components-dropdown-menu__menu-item>svg,.components-dropdown-menu__menu .components-menu-item>svg{border-radius:2px;width:24px;height:24px}.components-dropdown-menu__menu .components-menu-item__button,.components-dropdown-menu__menu .components-menu-item__button.components-button{min-height:36px;height:auto;text-align:right;padding-right:8px;padding-left:8px}.components-dropdown-menu__menu .components-menu-group{padding:12px;margin:0 -12px}.components-dropdown-menu__menu .components-menu-group:first-child{margin-top:-12px}.components-dropdown-menu__menu .components-menu-group:last-child{margin-bottom:-12px}.components-dropdown-menu__menu .components-menu-group+.components-menu-group{margin-top:0;border-top:1px solid #ccc;padding:12px}.is-alternate .components-dropdown-menu__menu .components-menu-group+.components-menu-group{border-color:#1e1e1e}.components-font-size-picker__controls{max-width:248px;display:flex;flex-wrap:wrap;align-items:center;margin-bottom:24px}.components-font-size-picker__controls .components-unit-control-wrapper{margin-left:8px}.components-font-size-picker__controls .components-unit-control-wrapper .components-input-control__label{font-weight:300;padding-bottom:0!important;margin-bottom:8px!important}.components-font-size-picker__controls .components-custom-select-control__button{min-width:120px}.components-font-size-picker__controls .components-font-size-picker__number{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;padding:6px 8px;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:2px;border:1px solid #757575;font-size:16px;line-height:normal;display:inline-block;font-weight:500;height:30px;margin:8px 0 0 8px;width:54px}@media (prefers-reduced-motion:reduce){.components-font-size-picker__controls .components-font-size-picker__number{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.components-font-size-picker__controls .components-font-size-picker__number{font-size:13px;line-height:normal}}.components-font-size-picker__controls .components-font-size-picker__number:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color);outline:2px solid transparent}.components-font-size-picker__controls .components-font-size-picker__number::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.components-font-size-picker__controls .components-font-size-picker__number::-moz-placeholder{opacity:1;color:rgba(30,30,30,.62)}.components-font-size-picker__controls .components-font-size-picker__number:-ms-input-placeholder{color:rgba(30,30,30,.62)}.is-dark-theme .components-font-size-picker__controls .components-font-size-picker__number::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .components-font-size-picker__controls .components-font-size-picker__number::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .components-font-size-picker__controls .components-font-size-picker__number:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}.components-font-size-picker__controls .components-font-size-picker__number[value=""]+.components-button{cursor:default;opacity:.3;pointer-events:none}.components-font-size-picker__controls .components-font-size-picker__number-container{display:flex;flex-direction:column}.components-font-size-picker__controls .components-font-size-picker__select{margin-left:8px}.components-font-size-picker__controls .components-color-palette__clear{height:30px;margin-top:26px}.components-font-size-picker__custom-input .components-range-control__slider+.dashicon{width:30px;height:30px}.components-font-size-picker{border:0;padding:0;margin:0}.components-form-toggle{position:relative;display:inline-block}.components-form-toggle .components-form-toggle__track{content:"";display:inline-block;box-sizing:border-box;vertical-align:top;background-color:#fff;border:1px solid #1e1e1e;width:36px;height:18px;border-radius:9px;transition:background .2s ease}@media (prefers-reduced-motion:reduce){.components-form-toggle .components-form-toggle__track{transition-duration:0s;transition-delay:0s}}.components-form-toggle .components-form-toggle__thumb{display:block;position:absolute;box-sizing:border-box;top:3px;right:3px;width:12px;height:12px;border-radius:50%;transition:transform .1s ease;background-color:#1e1e1e;border:5px solid #1e1e1e}@media (prefers-reduced-motion:reduce){.components-form-toggle .components-form-toggle__thumb{transition-duration:0s;transition-delay:0s}}.components-form-toggle.is-checked .components-form-toggle__track{background-color:var(--wp-admin-theme-color);border:9px solid transparent}.components-form-toggle .components-form-toggle__input:focus+.components-form-toggle__track{box-shadow:0 0 0 2px #fff,0 0 0 4px var(--wp-admin-theme-color);outline:2px solid transparent;outline-offset:2px}.components-form-toggle.is-checked .components-form-toggle__thumb{background-color:#fff;border-width:0;transform:translateX(-18px)}.components-disabled .components-form-toggle,.components-form-toggle.is-disabled{opacity:.3}.components-form-toggle input.components-form-toggle__input[type=checkbox]{position:absolute;top:0;right:0;width:100%;height:100%;opacity:0;margin:0;padding:0;z-index:1;border:none}.components-form-toggle input.components-form-toggle__input[type=checkbox]:checked{background:none}.components-form-toggle input.components-form-toggle__input[type=checkbox]:before{content:""}.components-form-token-field__input-container{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:2px;border:1px solid #757575;font-size:16px;line-height:normal;display:flex;flex-wrap:wrap;align-items:center;width:100%;margin:0 0 8px;padding:2px 4px;cursor:text}@media (prefers-reduced-motion:reduce){.components-form-token-field__input-container{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.components-form-token-field__input-container{font-size:13px;line-height:normal}}.components-form-token-field__input-container:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color);outline:2px solid transparent}.components-form-token-field__input-container::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.components-form-token-field__input-container::-moz-placeholder{opacity:1;color:rgba(30,30,30,.62)}.components-form-token-field__input-container:-ms-input-placeholder{color:rgba(30,30,30,.62)}.is-dark-theme .components-form-token-field__input-container::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .components-form-token-field__input-container::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .components-form-token-field__input-container:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}.components-form-token-field__input-container.is-disabled{background:#ddd;border-color:#ddd}.components-form-token-field__input-container.is-active{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color);outline:2px solid transparent}.components-form-token-field__input-container input[type=text].components-form-token-field__input{display:inline-block;flex:1;font-size:16px;width:100%;max-width:100%;margin-right:4px;padding:0;min-height:24px;min-width:50px;background:inherit;border:0;color:#1e1e1e;box-shadow:none}@media (min-width:600px){.components-form-token-field__input-container input[type=text].components-form-token-field__input{font-size:13px}}.components-form-token-field.is-active .components-form-token-field__input-container input[type=text].components-form-token-field__input,.components-form-token-field__input-container input[type=text].components-form-token-field__input:focus{outline:none;box-shadow:none}.components-form-token-field__input-container .components-form-token-field__token+input[type=text].components-form-token-field__input{width:auto}.components-form-token-field__label{display:inline-block;margin-bottom:4px}.components-form-token-field__help{font-size:12px;font-style:normal;color:#757575}.components-form-token-field__token{font-size:13px;display:flex;margin:2px 0 2px 4px;color:#1e1e1e;max-width:100%}.components-form-token-field__token.is-success .components-form-token-field__remove-token,.components-form-token-field__token.is-success .components-form-token-field__token-text{background:#4ab866}.components-form-token-field__token.is-error .components-form-token-field__remove-token,.components-form-token-field__token.is-error .components-form-token-field__token-text{background:#cc1818}.components-form-token-field__token.is-validating .components-form-token-field__remove-token,.components-form-token-field__token.is-validating .components-form-token-field__token-text{color:#757575}.components-form-token-field__token.is-borderless{position:relative;padding:0 0 0 16px}.components-form-token-field__token.is-borderless .components-form-token-field__token-text{background:transparent;color:var(--wp-admin-theme-color)}.components-form-token-field__token.is-borderless .components-form-token-field__remove-token{background:transparent;color:#757575;position:absolute;top:1px;left:0}.components-form-token-field__token.is-borderless.is-success .components-form-token-field__token-text{color:#4ab866}.components-form-token-field__token.is-borderless.is-error .components-form-token-field__token-text{color:#cc1818;border-radius:0 4px 4px 0;padding:0 6px 0 4px}.components-form-token-field__token.is-borderless.is-validating .components-form-token-field__token-text{color:#1e1e1e}.components-form-token-field__token.is-disabled .components-form-token-field__remove-token{cursor:default}.components-form-token-field__remove-token.components-button,.components-form-token-field__token-text{display:inline-block;line-height:24px;height:auto;background:#ddd;min-width:unset;transition:all .2s cubic-bezier(.4,1,.4,1)}@media (prefers-reduced-motion:reduce){.components-form-token-field__remove-token.components-button,.components-form-token-field__token-text{transition-duration:0s;transition-delay:0s;animation-duration:1ms;animation-delay:0s}}.components-form-token-field__token-text{border-radius:0 2px 2px 0;padding:0 8px 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.components-form-token-field__remove-token.components-button{cursor:pointer;border-radius:2px 0 0 2px;padding:0 2px;color:#1e1e1e;line-height:10px;overflow:initial}.components-form-token-field__remove-token.components-button:hover{color:#1e1e1e}.components-form-token-field__suggestions-list{flex:1 0 100%;min-width:100%;max-height:9em;overflow-y:auto;transition:all .15s ease-in-out;list-style:none;border-top:1px solid #757575;margin:4px -4px -4px;padding:0}@media (prefers-reduced-motion:reduce){.components-form-token-field__suggestions-list{transition-duration:0s;transition-delay:0s}}.components-form-token-field__suggestion{color:#757575;display:block;font-size:13px;padding:4px 8px;margin:0;cursor:pointer}.components-form-token-field__suggestion.is-selected{background:var(--wp-admin-theme-color);color:#fff}.components-form-token-field__suggestion-match{text-decoration:underline}@media (min-width:600px){.components-guide{width:600px}}.components-guide .components-modal__header{background:none;border-bottom:none;width:100%;padding:0;margin:0}.components-guide .components-modal__header .components-button{align-self:flex-start;margin:8px 0 0 8px;position:static}.components-guide .components-modal__header .components-button:hover svg{fill:#fff}.components-guide__container{display:flex;flex-direction:column;justify-content:space-between;margin-top:-60px;min-height:100%}.components-guide__page{display:flex;flex-direction:column;justify-content:center;position:relative}@media (min-width:600px){.components-guide__page{min-height:300px}}.components-guide__footer{align-content:center;display:flex;height:30px;justify-content:center;margin:0 0 24px;padding:0 32px;position:relative;width:100%}@media (max-width:600px){.components-guide__footer{position:absolute;bottom:0}}.components-guide__page-control{margin:0;text-align:center}.components-guide__page-control li{display:inline-block;margin:0}.components-guide__page-control .components-button{height:30px;min-width:20px;margin:-6px 0}.components-guide .components-modal__content{padding:0}.components-modal__frame.components-guide{border:none;min-width:312px;height:80vh;max-height:575px}@media (max-width:600px){.components-modal__frame.components-guide{bottom:5%;right:16px;left:16px;top:5%;margin:0 auto}}.components-button.components-guide__back-button,.components-button.components-guide__finish-button,.components-button.components-guide__forward-button{height:30px;position:absolute}.components-button.components-guide__back-button,.components-button.components-guide__forward-button{font-size:13px;padding:4px 2px}.components-button.components-guide__back-button.has-text svg,.components-button.components-guide__forward-button.has-text svg{margin:0}.components-button.components-guide__back-button:hover,.components-button.components-guide__forward-button:hover{text-decoration:underline}.components-button.components-guide__back-button{right:32px}.components-button.components-guide__forward-button{left:32px;color:#1386bf;font-weight:700}.components-button.components-guide__finish-button{left:32px}.components-button.components-guide__inline-finish-button{display:none}[role=region]{position:relative}.is-focusing-regions [role=region]:focus:after{content:"";position:absolute;top:0;bottom:0;right:0;left:0;pointer-events:none;outline:4px solid transparent;box-shadow:inset 0 0 0 4px var(--wp-admin-theme-color)}@supports (outline-offset:1px){.is-focusing-regions [role=region]:focus:after{content:none}.is-focusing-regions [role=region]:focus{outline-style:solid;outline-color:var(--wp-admin-theme-color);outline-width:4px;outline-offset:-4px}}.components-menu-group+.components-menu-group{margin-top:8px;padding-top:8px;border-top:1px solid #1e1e1e}.components-menu-group+.components-menu-group.has-hidden-separator{border-top:none;margin-top:0;padding-top:0}.components-menu-group__label{padding:0 8px;margin-top:4px;margin-bottom:12px;color:#757575;text-transform:uppercase;font-size:11px;font-weight:500}.components-menu-item__button,.components-menu-item__button.components-button{width:100%}.components-menu-item__button.components-button .components-menu-items__item-icon,.components-menu-item__button .components-menu-items__item-icon{margin-left:-2px;margin-right:24px;display:inline-block;flex:0 0 auto}.components-menu-item__button.components-button .components-menu-item__shortcut+.components-menu-items__item-icon,.components-menu-item__button .components-menu-item__shortcut+.components-menu-items__item-icon{margin-right:8px}.components-menu-item__button .block-editor-block-icon,.components-menu-item__button.components-button .block-editor-block-icon{margin-right:-2px;margin-left:8px}.components-menu-item__button.components-button.is-primary,.components-menu-item__button.is-primary{justify-content:center}.components-menu-item__button.components-button.is-primary .components-menu-item__item,.components-menu-item__button.is-primary .components-menu-item__item{margin-left:0}.components-menu-item__info-wrapper{display:flex;flex-direction:column;margin-left:auto}.components-menu-item__info{margin-top:4px;font-size:12px;color:#757575;white-space:normal}.components-menu-item__item{white-space:nowrap;margin-left:auto;display:inline-flex;align-items:center}.components-menu-item__shortcut{align-self:center;margin-left:0;margin-right:auto;padding-right:24px;color:currentColor;display:none}@media (min-width:480px){.components-menu-item__shortcut{display:inline}}.components-menu-items-choice.components-button svg,.components-menu-items-choice svg{margin-left:12px}.components-menu-items-choice.components-button.has-icon,.components-menu-items-choice.has-icon{padding-right:12px}.components-modal__screen-overlay{position:fixed;top:0;left:0;bottom:0;right:0;background-color:rgba(0,0,0,.35);z-index:100000;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.components-modal__screen-overlay{animation-duration:1ms;animation-delay:0s}}.components-modal__frame{position:absolute;top:0;left:0;bottom:0;right:0;box-sizing:border-box;margin:0;background:#fff;box-shadow:0 10px 10px rgba(0,0,0,.25);border-radius:2px;overflow:auto}@media (min-width:600px){.components-modal__frame{top:50%;left:auto;bottom:auto;right:50%;min-width:360px;max-width:calc(100% - 32px);max-height:90%;transform:translate(50%,-50%);animation:components-modal__appear-animation .1s ease-out;animation-fill-mode:forwards}}@media (min-width:600px) and (prefers-reduced-motion:reduce){.components-modal__frame{animation-duration:1ms;animation-delay:0s}}@keyframes components-modal__appear-animation{0%{margin-top:32px}to{margin-top:0}}.components-modal__header{box-sizing:border-box;border-bottom:1px solid #ddd;padding:0 32px;display:flex;flex-direction:row;justify-content:space-between;background:#fff;align-items:center;height:60px;z-index:10;position:relative;position:sticky;top:0;margin:0 -32px 24px}@supports (-ms-ime-align:auto){.components-modal__header{position:fixed;width:100%}}.components-modal__header .components-modal__header-heading{font-size:1rem;font-weight:600}.components-modal__header h1{line-height:1;margin:0}.components-modal__header .components-button{position:relative;right:8px}.components-modal__header-heading-container{align-items:center;flex-grow:1;display:flex;flex-direction:row;justify-content:left}.components-modal__header-icon-container{display:inline-block}.components-modal__header-icon-container svg{max-width:36px;max-height:36px;padding:8px}.components-modal__content{box-sizing:border-box;height:100%;padding:0 32px 24px}@supports (-ms-ime-align:auto){.components-modal__content{padding-top:60px}}.components-notice{display:flex;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;background-color:#fff;border-right:4px solid var(--wp-admin-theme-color);margin:5px 15px 2px;padding:8px 12px;align-items:center}.components-notice.is-dismissible{padding-left:36px;position:relative}.components-notice.is-success{border-right-color:#4ab866;background-color:#eff9f1}.components-notice.is-warning{border-right-color:#f0b849;background-color:#fef8ee}.components-notice.is-error{border-right-color:#cc1818;background-color:#f4a2a2}.components-notice__content{flex-grow:1;margin:4px 0 4px 25px}.components-notice__actions{display:flex;flex-wrap:wrap}.components-notice__action.components-button{margin-left:8px}.components-notice__action.components-button,.components-notice__action.components-button.is-link{margin-right:12px}.components-notice__action.components-button.is-secondary{vertical-align:initial}.components-notice__dismiss{color:#757575;align-self:flex-start;flex-shrink:0}.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):focus,.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-secondary):active,.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover{color:#1e1e1e;background-color:initial}.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover{box-shadow:none}.components-notice-list{max-width:100vw;box-sizing:border-box;z-index:29}.components-notice-list .components-notice__content{margin-top:12px;margin-bottom:12px;line-height:2}.components-notice-list .components-notice__action.components-button{display:block;margin-right:0;margin-top:8px}.components-panel{background:#fff;border:1px solid #e0e0e0}.components-panel>.components-panel__body:first-child,.components-panel>.components-panel__header:first-child{margin-top:-1px}.components-panel>.components-panel__body:last-child,.components-panel>.components-panel__header:last-child{border-bottom-width:0}.components-panel+.components-panel{margin-top:-1px}.components-panel__body{border-top:1px solid #e0e0e0;border-bottom:1px solid #e0e0e0}.components-panel__body h3{margin:0 0 .5em}.components-panel__body.is-opened{padding:16px}.components-panel__header{display:flex;justify-content:space-between;align-items:center;padding:0 16px;height:48px;border-top:1px solid #ddd;border-bottom:1px solid #ddd}.components-panel__header h2{margin:0;font-size:inherit;color:inherit}.components-panel__body+.components-panel__body,.components-panel__body+.components-panel__header,.components-panel__header+.components-panel__body,.components-panel__header+.components-panel__header{margin-top:-1px}.components-panel__body>.components-panel__body-title{display:block;padding:0;font-size:inherit;margin-top:0;margin-bottom:0;transition:background .1s ease-in-out}@media (prefers-reduced-motion:reduce){.components-panel__body>.components-panel__body-title{transition-duration:0s;transition-delay:0s}}.components-panel__body.is-opened>.components-panel__body-title{margin:-16px -16px 5px}.components-panel__body>.components-panel__body-title:hover{background:#f0f0f0;border:none}.components-panel__body-toggle.components-button{position:relative;padding:16px 16px 16px 48px;outline:none;width:100%;font-weight:500;text-align:right;color:#1e1e1e;border:none;box-shadow:none;transition:background .1s ease-in-out;height:auto}@media (prefers-reduced-motion:reduce){.components-panel__body-toggle.components-button{transition-duration:0s;transition-delay:0s}}.components-panel__body-toggle.components-button:focus{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);border-radius:0}.components-panel__body-toggle.components-button .components-panel__arrow{position:absolute;left:16px;top:50%;transform:translateY(-50%);color:#1e1e1e;fill:currentColor;transition:color .1s ease-in-out}@media (prefers-reduced-motion:reduce){.components-panel__body-toggle.components-button .components-panel__arrow{transition-duration:0s;transition-delay:0s}}body.rtl .components-panel__body-toggle.components-button .dashicons-arrow-right{transform:scaleX(-1);-ms-filter:fliph;filter:FlipH;margin-top:-10px}.components-panel__icon{color:#757575;margin:-2px 6px -2px 0}.components-panel__body-toggle-icon{margin-left:-5px}.components-panel__color-title{float:right;height:19px}.components-panel__row{display:flex;justify-content:space-between;align-items:center;margin-top:8px;min-height:36px}.components-panel__row select{min-width:0}.components-panel__row label{margin-left:12px;flex-shrink:0;max-width:75%}.components-panel__row:empty,.components-panel__row:first-of-type{margin-top:0}.components-panel .circle-picker{padding-bottom:20px}.components-placeholder.components-placeholder{box-sizing:border-box;position:relative;padding:1em;min-height:200px;width:100%;text-align:right;margin:0;color:#1e1e1e;-moz-font-smoothing:subpixel-antialiased;-webkit-font-smoothing:subpixel-antialiased;border-radius:2px;background-color:#fff;box-shadow:inset 0 0 0 1px #1e1e1e;outline:1px solid transparent}@supports (position:sticky){.components-placeholder.components-placeholder{display:flex;flex-direction:column;justify-content:center;align-items:flex-start}}.components-placeholder.components-placeholder .components-base-control__label{font-size:13px}.components-placeholder__error,.components-placeholder__fieldset,.components-placeholder__instructions,.components-placeholder__label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.components-placeholder__label{display:flex;font-weight:600;margin-bottom:16px;align-items:center}.components-placeholder__label .block-editor-block-icon,.components-placeholder__label .dashicon,.components-placeholder__label>svg{fill:currentColor;margin-left:1ch}.components-placeholder__label:empty{display:none}.components-placeholder__fieldset,.components-placeholder__fieldset form{display:flex;flex-direction:row;width:100%;flex-wrap:wrap}.components-placeholder__fieldset form p,.components-placeholder__fieldset p{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.components-placeholder__fieldset.is-column-layout,.components-placeholder__fieldset.is-column-layout form{flex-direction:column}.components-placeholder__input[type=url]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;padding:6px 8px;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:2px;border:1px solid #757575;font-size:16px;line-height:normal;margin:0 0 0 8px;flex:1 1 auto}@media (prefers-reduced-motion:reduce){.components-placeholder__input[type=url]{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.components-placeholder__input[type=url]{font-size:13px;line-height:normal}}.components-placeholder__input[type=url]:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color);outline:2px solid transparent}.components-placeholder__input[type=url]::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.components-placeholder__input[type=url]::-moz-placeholder{opacity:1;color:rgba(30,30,30,.62)}.components-placeholder__input[type=url]:-ms-input-placeholder{color:rgba(30,30,30,.62)}.is-dark-theme .components-placeholder__input[type=url]::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .components-placeholder__input[type=url]::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .components-placeholder__input[type=url]:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}.components-placeholder__instructions{margin-bottom:1em}.components-placeholder__error{margin-top:1em;width:100%}.components-placeholder__preview img{margin:3%;width:50%}.components-placeholder__fieldset .components-button{margin-left:12px;margin-bottom:12px}.components-placeholder__fieldset .components-button:last-child{margin-bottom:0;margin-left:0}.components-placeholder__fieldset .components-button:not(.is-link)~.components-button.is-link{margin-right:10px;margin-left:10px}.components-placeholder__fieldset .components-button:not(.is-link)~.components-button.is-link:last-child{margin-left:0}.components-placeholder.is-large .components-placeholder__label{font-size:18pt;font-weight:400}.components-placeholder.is-medium .components-placeholder__instructions,.components-placeholder.is-small .components-placeholder__instructions{display:none}.components-placeholder.is-medium .components-placeholder__fieldset,.components-placeholder.is-medium .components-placeholder__fieldset form,.components-placeholder.is-small .components-placeholder__fieldset,.components-placeholder.is-small .components-placeholder__fieldset form{flex-direction:column}.components-placeholder.is-medium .components-placeholder__fieldset .components-button,.components-placeholder.is-small .components-placeholder__fieldset .components-button{margin-left:auto}.components-placeholder.is-small .components-button{padding:0 8px 2px}.components-popover{position:fixed;z-index:1000000;top:0;left:0;opacity:0}.components-popover.is-expanded,.components-popover[data-x-axis][data-y-axis]{opacity:1}.components-popover.is-expanded{top:0;left:0;right:0;bottom:0;z-index:1000000!important}.components-popover:not(.is-without-arrow){margin-left:2px}.components-popover:not(.is-without-arrow):before{border:8px solid #ccc}.components-popover:not(.is-without-arrow).is-alternate:before{border-color:#1e1e1e}.components-popover:not(.is-without-arrow):after{border:8px solid #fff}.components-popover:not(.is-without-arrow):after,.components-popover:not(.is-without-arrow):before{content:"";position:absolute;height:0;width:0;line-height:0}.components-popover:not(.is-without-arrow)[data-y-axis=top]{margin-top:-8px}.components-popover:not(.is-without-arrow)[data-y-axis=top]:before{bottom:-8px}.components-popover:not(.is-without-arrow)[data-y-axis=top]:after{bottom:-6px}.components-popover:not(.is-without-arrow)[data-y-axis=top]:after,.components-popover:not(.is-without-arrow)[data-y-axis=top]:before{border-bottom:none;border-left-color:transparent;border-right-color:transparent;border-top-style:solid;margin-left:-10px}.components-popover:not(.is-without-arrow)[data-y-axis=bottom]{margin-top:8px}.components-popover:not(.is-without-arrow)[data-y-axis=bottom]:before{top:-8px}.components-popover:not(.is-without-arrow)[data-y-axis=bottom]:after{top:-6px}.components-popover:not(.is-without-arrow)[data-y-axis=bottom]:after,.components-popover:not(.is-without-arrow)[data-y-axis=bottom]:before{border-bottom-style:solid;border-left-color:transparent;border-right-color:transparent;border-top:none;margin-left:-10px}.components-popover:not(.is-without-arrow)[data-y-axis=middle][data-x-axis=left]{margin-left:-8px}.components-popover:not(.is-without-arrow)[data-y-axis=middle][data-x-axis=left]:before{right:-8px}.components-popover:not(.is-without-arrow)[data-y-axis=middle][data-x-axis=left]:after{right:-6px}.components-popover:not(.is-without-arrow)[data-y-axis=middle][data-x-axis=left]:after,.components-popover:not(.is-without-arrow)[data-y-axis=middle][data-x-axis=left]:before{border-bottom-color:transparent;border-left-style:solid;border-right:none;border-top-color:transparent}.components-popover:not(.is-without-arrow)[data-y-axis=middle][data-x-axis=right]{margin-left:8px}.components-popover:not(.is-without-arrow)[data-y-axis=middle][data-x-axis=right]:before{left:-8px}.components-popover:not(.is-without-arrow)[data-y-axis=middle][data-x-axis=right]:after{left:-6px}.components-popover:not(.is-without-arrow)[data-y-axis=middle][data-x-axis=right]:after,.components-popover:not(.is-without-arrow)[data-y-axis=middle][data-x-axis=right]:before{border-bottom-color:transparent;border-left:none;border-right-style:solid;border-top-color:transparent}.components-popover[data-y-axis=top]{bottom:100%}.components-popover[data-y-axis=bottom]{top:100%}.components-popover[data-y-axis=middle]{align-items:center;display:flex}.components-popover.is-from-top{margin-top:12px}.components-popover.is-from-bottom{margin-top:-12px}.components-popover.is-from-left:not(.is-from-top):not(.is-from-bottom){margin-left:12px}.components-popover.is-from-right:not(.is-from-top):not(.is-from-bottom){margin-right:12px}.components-popover__content{height:100%;background:#fff;border:1px solid #ccc;box-shadow:0 2px 6px rgba(0,0,0,.05);border-radius:2px}.is-alternate .components-popover__content{border:1px solid #1e1e1e;box-shadow:none}.components-popover .components-popover__content{position:absolute;height:auto;overflow-y:auto}.components-popover.is-expanded .components-popover__content{position:static;height:calc(100% - 48px);overflow-y:visible;min-width:auto;border:none;border-top:1px solid #1e1e1e}.components-popover[data-y-axis=top] .components-popover__content{bottom:100%}.components-popover[data-x-axis=center] .components-popover__content{left:50%;transform:translateX(-50%)}.components-popover[data-x-axis=right] .components-popover__content{position:absolute;left:100%}.components-popover:not([data-y-axis=middle])[data-x-axis=right] .components-popover__content{margin-left:-25px}.components-popover[data-x-axis=left] .components-popover__content{position:absolute;right:100%}.components-popover:not([data-y-axis=middle])[data-x-axis=left] .components-popover__content{margin-right:-25px}.components-popover__header{align-items:center;background:#fff;display:flex;height:48px;justify-content:space-between;padding:0 8px 0 16px}.components-popover__header-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.components-popover__close.components-button{z-index:5}.components-radio-control{display:flex;flex-direction:column}.components-radio-control .components-base-control__help{margin-top:0}.components-radio-control .components-base-control__field{margin-bottom:0}.components-radio-control__option:not(:last-child){margin-bottom:4px}.components-radio-control__input[type=radio]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;padding:6px 8px;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:2px;font-size:16px;line-height:normal;border:1px solid #1e1e1e;transition:none;border-radius:50%;width:24px;height:24px;margin-top:0;margin-left:6px}@media (prefers-reduced-motion:reduce){.components-radio-control__input[type=radio]{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.components-radio-control__input[type=radio]{font-size:13px;line-height:normal}}.components-radio-control__input[type=radio]:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color)}.components-radio-control__input[type=radio]::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.components-radio-control__input[type=radio]::-moz-placeholder{opacity:1;color:rgba(30,30,30,.62)}.components-radio-control__input[type=radio]:-ms-input-placeholder{color:rgba(30,30,30,.62)}.is-dark-theme .components-radio-control__input[type=radio]::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .components-radio-control__input[type=radio]::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .components-radio-control__input[type=radio]:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}@media (min-width:600px){.components-radio-control__input[type=radio]{height:20px;width:20px}}.components-radio-control__input[type=radio]:checked:before{box-sizing:inherit;width:8px;height:8px;transform:translate(-7px,7px);margin:0;background-color:#fff;border:4px solid #fff}@media (min-width:600px){.components-radio-control__input[type=radio]:checked:before{transform:translate(-5px,5px)}}.components-radio-control__input[type=radio]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px var(--wp-admin-theme-color);outline:2px solid transparent}.components-radio-control__input[type=radio]:checked{background:var(--wp-admin-theme-color);border-color:var(--wp-admin-theme-color)}.components-resizable-box__handle{display:none;width:23px;height:23px;z-index:2}.components-resizable-box__container.has-show-handle .components-resizable-box__handle{display:block}.components-resizable-box__handle:after{display:block;content:"";width:15px;height:15px;border:2px solid var(--wp-admin-theme-color);border-radius:50%;background:#fff;cursor:inherit;position:absolute;top:calc(50% - 8px);left:calc(50% - 8px)}.components-resizable-box__side-handle:before{display:block;border-radius:2px;content:"";width:3px;height:3px;background:var(--wp-admin-theme-color);cursor:inherit;position:absolute;top:calc(50% - 1px);left:calc(50% - 1px);transition:transform .1s ease-in;opacity:0}@media (prefers-reduced-motion:reduce){.components-resizable-box__side-handle:before{transition-duration:0s;transition-delay:0s}}.components-resizable-box__corner-handle,.components-resizable-box__side-handle{z-index:2}.components-resizable-box__side-handle.components-resizable-box__handle-bottom,.components-resizable-box__side-handle.components-resizable-box__handle-bottom:before,.components-resizable-box__side-handle.components-resizable-box__handle-top,.components-resizable-box__side-handle.components-resizable-box__handle-top:before{width:100%;right:0;border-right:0;border-left:0}.components-resizable-box__side-handle.components-resizable-box__handle-left,.components-resizable-box__side-handle.components-resizable-box__handle-left:before,.components-resizable-box__side-handle.components-resizable-box__handle-right,.components-resizable-box__side-handle.components-resizable-box__handle-right:before{height:100%;top:0;border-top:0;border-bottom:0}.components-resizable-box__side-handle.components-resizable-box__handle-bottom:active:before,.components-resizable-box__side-handle.components-resizable-box__handle-bottom:hover:before,.components-resizable-box__side-handle.components-resizable-box__handle-top:active:before,.components-resizable-box__side-handle.components-resizable-box__handle-top:hover:before{animation:components-resizable-box__top-bottom-animation .1s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.components-resizable-box__side-handle.components-resizable-box__handle-bottom:active:before,.components-resizable-box__side-handle.components-resizable-box__handle-bottom:hover:before,.components-resizable-box__side-handle.components-resizable-box__handle-top:active:before,.components-resizable-box__side-handle.components-resizable-box__handle-top:hover:before{animation-duration:1ms;animation-delay:0s}}.components-resizable-box__side-handle.components-resizable-box__handle-left:active:before,.components-resizable-box__side-handle.components-resizable-box__handle-left:hover:before,.components-resizable-box__side-handle.components-resizable-box__handle-right:active:before,.components-resizable-box__side-handle.components-resizable-box__handle-right:hover:before{animation:components-resizable-box__left-right-animation .1s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.components-resizable-box__side-handle.components-resizable-box__handle-left:active:before,.components-resizable-box__side-handle.components-resizable-box__handle-left:hover:before,.components-resizable-box__side-handle.components-resizable-box__handle-right:active:before,.components-resizable-box__side-handle.components-resizable-box__handle-right:hover:before{animation-duration:1ms;animation-delay:0s}}@media not all and (-webkit-min-device-pixel-ratio:0),not all and (min-resolution:0.001dpcm){@supports (-webkit-appearance:none){.components-resizable-box__side-handle.components-resizable-box__handle-bottom:active:before,.components-resizable-box__side-handle.components-resizable-box__handle-bottom:hover:before,.components-resizable-box__side-handle.components-resizable-box__handle-left:active:before,.components-resizable-box__side-handle.components-resizable-box__handle-left:hover:before,.components-resizable-box__side-handle.components-resizable-box__handle-right:active:before,.components-resizable-box__side-handle.components-resizable-box__handle-right:hover:before,.components-resizable-box__side-handle.components-resizable-box__handle-top:active:before,.components-resizable-box__side-handle.components-resizable-box__handle-top:hover:before{animation:none}}}@keyframes components-resizable-box__top-bottom-animation{0%{transform:scaleX(0);opacity:0}to{transform:scaleX(1);opacity:1}}@keyframes components-resizable-box__left-right-animation{0%{transform:scaleY(0);opacity:0}to{transform:scaleY(1);opacity:1}}.components-resizable-box__handle-right{right:-11.5px}.components-resizable-box__handle-left{left:-11.5px}.components-resizable-box__handle-top{top:-11.5px}.components-resizable-box__handle-bottom{bottom:-11.5px}.components-responsive-wrapper{position:relative;max-width:100%}.components-responsive-wrapper,.components-responsive-wrapper>span{display:block}.components-responsive-wrapper__content{position:absolute;top:0;left:0;bottom:0;right:0;width:100%;height:100%;margin:auto}.components-sandbox{overflow:hidden}iframe.components-sandbox{width:100%}body.lockscroll,html.lockscroll{overflow:hidden}.components-select-control__input{background:#fff;height:36px;line-height:36px;margin:1px;outline:0;width:100%;-webkit-tap-highlight-color:rgba(0,0,0,0)!important}@media (min-width:782px){.components-select-control__input{height:28px;line-height:28px}}@media (max-width:782px){.components-base-control .components-base-control__field .components-select-control__input{font-size:16px}}.components-snackbar{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;background-color:#1e1e1e;border-radius:2px;box-shadow:0 2px 4px rgba(0,0,0,.3);color:#fff;padding:16px 24px;width:100%;max-width:600px;box-sizing:border-box;cursor:pointer;pointer-events:auto}@media (min-width:600px){.components-snackbar{width:-moz-fit-content;width:fit-content}}.components-snackbar:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px var(--wp-admin-theme-color)}.components-snackbar.components-snackbar-explicit-dismiss{cursor:default}.components-snackbar .components-snackbar__content-with-icon{margin-right:24px}.components-snackbar .components-snackbar__icon{position:absolute;top:24px;right:28px}.components-snackbar .components-snackbar__dismiss-button{margin-right:32px;cursor:pointer}.components-snackbar__action.components-button{margin-right:32px;color:#fff;height:auto;flex-shrink:0;line-height:1.4;padding:0}.components-snackbar__action.components-button:not(:disabled):not([aria-disabled=true]):not(.is-secondary){text-decoration:underline;background-color:initial}.components-snackbar__action.components-button:not(:disabled):not([aria-disabled=true]):not(.is-secondary):focus{color:#fff;box-shadow:none;outline:1px dotted #fff}.components-snackbar__action.components-button:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover{color:var(--wp-admin-theme-color)}.components-snackbar__content{display:flex;align-items:baseline;justify-content:space-between;line-height:1.4}.components-snackbar-list{position:absolute;z-index:100000;width:100%;box-sizing:border-box;pointer-events:none}.components-snackbar-list__notice-container{position:relative;padding-top:8px}.components-swatch{width:18px;height:18px;border-radius:50%;color:transparent;background:transparent}.components-swatch:after{content:"";display:block;width:100%;height:100%;border:1px solid rgba(0,0,0,.2);border-radius:50%}.components-button.has-icon.has-text .components-swatch{margin-left:8px}.components-tab-panel__tabs{display:flex;align-items:stretch;flex-direction:row}.components-tab-panel__tabs[aria-orientation=vertical]{flex-direction:column}.components-tab-panel__tabs-item{background:transparent;border:none;box-shadow:none;border-radius:0;cursor:pointer;height:48px;padding:3px 16px;margin-right:0;font-weight:500;transition:box-shadow .1s linear;box-sizing:border-box}.components-tab-panel__tabs-item:after{content:attr(data-label);display:block;height:0;overflow:hidden;speak:none;visibility:hidden}.components-tab-panel__tabs-item:focus:not(:disabled){box-shadow:inset 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.components-tab-panel__tabs-item.is-active{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) transparent,inset 0 -4px 0 0 var(--wp-admin-theme-color);position:relative}.components-tab-panel__tabs-item.is-active:before{content:"";position:absolute;top:0;bottom:1px;left:0;right:0;border-bottom:4px solid transparent}.components-tab-panel__tabs-item:focus{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.components-tab-panel__tabs-item.is-active:focus{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color),inset 0 -4px 0 0 var(--wp-admin-theme-color)}.components-text-control__input,.components-text-control__input[type=color],.components-text-control__input[type=date],.components-text-control__input[type=datetime-local],.components-text-control__input[type=datetime],.components-text-control__input[type=email],.components-text-control__input[type=month],.components-text-control__input[type=number],.components-text-control__input[type=password],.components-text-control__input[type=tel],.components-text-control__input[type=text],.components-text-control__input[type=time],.components-text-control__input[type=url],.components-text-control__input[type=week]{width:100%;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;padding:6px 8px;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:2px;border:1px solid #757575;font-size:16px;line-height:normal}@media (prefers-reduced-motion:reduce){.components-text-control__input,.components-text-control__input[type=color],.components-text-control__input[type=date],.components-text-control__input[type=datetime-local],.components-text-control__input[type=datetime],.components-text-control__input[type=email],.components-text-control__input[type=month],.components-text-control__input[type=number],.components-text-control__input[type=password],.components-text-control__input[type=tel],.components-text-control__input[type=text],.components-text-control__input[type=time],.components-text-control__input[type=url],.components-text-control__input[type=week]{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.components-text-control__input,.components-text-control__input[type=color],.components-text-control__input[type=date],.components-text-control__input[type=datetime-local],.components-text-control__input[type=datetime],.components-text-control__input[type=email],.components-text-control__input[type=month],.components-text-control__input[type=number],.components-text-control__input[type=password],.components-text-control__input[type=tel],.components-text-control__input[type=text],.components-text-control__input[type=time],.components-text-control__input[type=url],.components-text-control__input[type=week]{font-size:13px;line-height:normal}}.components-text-control__input:focus,.components-text-control__input[type=color]:focus,.components-text-control__input[type=date]:focus,.components-text-control__input[type=datetime-local]:focus,.components-text-control__input[type=datetime]:focus,.components-text-control__input[type=email]:focus,.components-text-control__input[type=month]:focus,.components-text-control__input[type=number]:focus,.components-text-control__input[type=password]:focus,.components-text-control__input[type=tel]:focus,.components-text-control__input[type=text]:focus,.components-text-control__input[type=time]:focus,.components-text-control__input[type=url]:focus,.components-text-control__input[type=week]:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color);outline:2px solid transparent}.components-text-control__input::-webkit-input-placeholder,.components-text-control__input[type=color]::-webkit-input-placeholder,.components-text-control__input[type=date]::-webkit-input-placeholder,.components-text-control__input[type=datetime-local]::-webkit-input-placeholder,.components-text-control__input[type=datetime]::-webkit-input-placeholder,.components-text-control__input[type=email]::-webkit-input-placeholder,.components-text-control__input[type=month]::-webkit-input-placeholder,.components-text-control__input[type=number]::-webkit-input-placeholder,.components-text-control__input[type=password]::-webkit-input-placeholder,.components-text-control__input[type=tel]::-webkit-input-placeholder,.components-text-control__input[type=text]::-webkit-input-placeholder,.components-text-control__input[type=time]::-webkit-input-placeholder,.components-text-control__input[type=url]::-webkit-input-placeholder,.components-text-control__input[type=week]::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.components-text-control__input::-moz-placeholder,.components-text-control__input[type=color]::-moz-placeholder,.components-text-control__input[type=date]::-moz-placeholder,.components-text-control__input[type=datetime-local]::-moz-placeholder,.components-text-control__input[type=datetime]::-moz-placeholder,.components-text-control__input[type=email]::-moz-placeholder,.components-text-control__input[type=month]::-moz-placeholder,.components-text-control__input[type=number]::-moz-placeholder,.components-text-control__input[type=password]::-moz-placeholder,.components-text-control__input[type=tel]::-moz-placeholder,.components-text-control__input[type=text]::-moz-placeholder,.components-text-control__input[type=time]::-moz-placeholder,.components-text-control__input[type=url]::-moz-placeholder,.components-text-control__input[type=week]::-moz-placeholder{opacity:1;color:rgba(30,30,30,.62)}.components-text-control__input:-ms-input-placeholder,.components-text-control__input[type=color]:-ms-input-placeholder,.components-text-control__input[type=date]:-ms-input-placeholder,.components-text-control__input[type=datetime-local]:-ms-input-placeholder,.components-text-control__input[type=datetime]:-ms-input-placeholder,.components-text-control__input[type=email]:-ms-input-placeholder,.components-text-control__input[type=month]:-ms-input-placeholder,.components-text-control__input[type=number]:-ms-input-placeholder,.components-text-control__input[type=password]:-ms-input-placeholder,.components-text-control__input[type=tel]:-ms-input-placeholder,.components-text-control__input[type=text]:-ms-input-placeholder,.components-text-control__input[type=time]:-ms-input-placeholder,.components-text-control__input[type=url]:-ms-input-placeholder,.components-text-control__input[type=week]:-ms-input-placeholder{color:rgba(30,30,30,.62)}.is-dark-theme .components-text-control__input::-webkit-input-placeholder,.is-dark-theme .components-text-control__input[type=color]::-webkit-input-placeholder,.is-dark-theme .components-text-control__input[type=date]::-webkit-input-placeholder,.is-dark-theme .components-text-control__input[type=datetime-local]::-webkit-input-placeholder,.is-dark-theme .components-text-control__input[type=datetime]::-webkit-input-placeholder,.is-dark-theme .components-text-control__input[type=email]::-webkit-input-placeholder,.is-dark-theme .components-text-control__input[type=month]::-webkit-input-placeholder,.is-dark-theme .components-text-control__input[type=number]::-webkit-input-placeholder,.is-dark-theme .components-text-control__input[type=password]::-webkit-input-placeholder,.is-dark-theme .components-text-control__input[type=tel]::-webkit-input-placeholder,.is-dark-theme .components-text-control__input[type=text]::-webkit-input-placeholder,.is-dark-theme .components-text-control__input[type=time]::-webkit-input-placeholder,.is-dark-theme .components-text-control__input[type=url]::-webkit-input-placeholder,.is-dark-theme .components-text-control__input[type=week]::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .components-text-control__input::-moz-placeholder,.is-dark-theme .components-text-control__input[type=color]::-moz-placeholder,.is-dark-theme .components-text-control__input[type=date]::-moz-placeholder,.is-dark-theme .components-text-control__input[type=datetime-local]::-moz-placeholder,.is-dark-theme .components-text-control__input[type=datetime]::-moz-placeholder,.is-dark-theme .components-text-control__input[type=email]::-moz-placeholder,.is-dark-theme .components-text-control__input[type=month]::-moz-placeholder,.is-dark-theme .components-text-control__input[type=number]::-moz-placeholder,.is-dark-theme .components-text-control__input[type=password]::-moz-placeholder,.is-dark-theme .components-text-control__input[type=tel]::-moz-placeholder,.is-dark-theme .components-text-control__input[type=text]::-moz-placeholder,.is-dark-theme .components-text-control__input[type=time]::-moz-placeholder,.is-dark-theme .components-text-control__input[type=url]::-moz-placeholder,.is-dark-theme .components-text-control__input[type=week]::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .components-text-control__input:-ms-input-placeholder,.is-dark-theme .components-text-control__input[type=color]:-ms-input-placeholder,.is-dark-theme .components-text-control__input[type=date]:-ms-input-placeholder,.is-dark-theme .components-text-control__input[type=datetime-local]:-ms-input-placeholder,.is-dark-theme .components-text-control__input[type=datetime]:-ms-input-placeholder,.is-dark-theme .components-text-control__input[type=email]:-ms-input-placeholder,.is-dark-theme .components-text-control__input[type=month]:-ms-input-placeholder,.is-dark-theme .components-text-control__input[type=number]:-ms-input-placeholder,.is-dark-theme .components-text-control__input[type=password]:-ms-input-placeholder,.is-dark-theme .components-text-control__input[type=tel]:-ms-input-placeholder,.is-dark-theme .components-text-control__input[type=text]:-ms-input-placeholder,.is-dark-theme .components-text-control__input[type=time]:-ms-input-placeholder,.is-dark-theme .components-text-control__input[type=url]:-ms-input-placeholder,.is-dark-theme .components-text-control__input[type=week]:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}.components-tip{display:flex;color:#757575}.components-tip svg{align-self:center;fill:#f0b849;flex-shrink:0;margin-left:16px}.components-tip p{margin:0}.components-toggle-control .components-base-control__field{display:flex;margin-bottom:12px;line-height:normal;align-items:center}.components-toggle-control .components-base-control__field .components-form-toggle{margin-left:12px}.components-toggle-control .components-base-control__field .components-toggle-control__label{display:block}.components-accessible-toolbar{display:inline-flex;border:1px solid #1e1e1e;border-radius:2px;flex-shrink:0}.components-accessible-toolbar>.components-toolbar-group:last-child{border-left:none}.components-accessible-toolbar .components-button,.components-toolbar .components-button{position:relative;height:48px;z-index:1;padding-right:16px;padding-left:16px}.components-accessible-toolbar .components-button:focus:enabled,.components-toolbar .components-button:focus:enabled{box-shadow:none;outline:none}.components-accessible-toolbar .components-button:before,.components-toolbar .components-button:before{content:"";position:absolute;display:block;border-radius:2px;height:32px;right:8px;left:8px;z-index:-1;animation:components-button__appear-animation .1s ease;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.components-accessible-toolbar .components-button:before,.components-toolbar .components-button:before{animation-duration:1ms;animation-delay:0s}}.components-accessible-toolbar .components-button svg,.components-toolbar .components-button svg{position:relative;margin-right:auto;margin-left:auto}.components-accessible-toolbar .components-button.is-pressed,.components-accessible-toolbar .components-button.is-pressed:hover,.components-toolbar .components-button.is-pressed,.components-toolbar .components-button.is-pressed:hover{background:transparent}.components-accessible-toolbar .components-button.is-pressed:before,.components-toolbar .components-button.is-pressed:before{background:#1e1e1e}.components-accessible-toolbar .components-button:focus:before,.components-toolbar .components-button:focus:before{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color),inset 0 0 0 4px #fff;outline:2px solid transparent}.components-accessible-toolbar .components-button.has-icon,.components-toolbar .components-button.has-icon{padding-right:8px;padding-left:8px;min-width:48px;justify-content:center}.components-accessible-toolbar .components-button.components-tab-button,.components-toolbar .components-button.components-tab-button{font-weight:500}.components-accessible-toolbar .components-button.components-tab-button span,.components-toolbar .components-button.components-tab-button span{display:inline-block;padding-right:0;padding-left:0;position:relative}@keyframes components-button__appear-animation{0%{transform:scaleY(0)}to{transform:scaleY(1)}}.components-toolbar__control.components-button{position:relative}.components-toolbar__control.components-button[data-subscript] svg{padding:5px 0 5px 10px}.components-toolbar__control.components-button[data-subscript]:after{content:attr(data-subscript);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;font-weight:600;line-height:12px;position:absolute;left:8px;bottom:10px}.components-toolbar__control.components-button:active:before{display:none}.components-toolbar__control.components-button:not(:disabled).is-pressed[data-subscript]:after{color:#fff}.components-toolbar-group{min-height:48px;border-left:1px solid #1e1e1e;background-color:#fff;display:inline-flex;flex-shrink:0;flex-wrap:wrap;line-height:0}.components-toolbar-group .components-toolbar-group.components-toolbar-group{border-width:0;margin:0}.components-toolbar{min-height:48px;margin:0;border:1px solid #1e1e1e;background-color:#fff;display:inline-flex;flex-shrink:0;flex-wrap:wrap}.components-toolbar .components-toolbar.components-toolbar{border-width:0;margin:0}div.components-toolbar>div{display:block;margin:0}@supports (position:sticky){div.components-toolbar>div{display:flex}}div.components-toolbar>div+div.has-left-divider{margin-right:6px;position:relative;overflow:visible}div.components-toolbar>div+div.has-left-divider:before{display:inline-block;content:"";box-sizing:initial;background-color:#ddd;position:absolute;top:8px;right:-3px;width:1px;height:20px}.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group.components-dropdown>* .components-button,.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group.components-dropdown>.components-button.components-button,.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group>.components-button:first-child:last-child,.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group>.components-dropdown:first-child:last-child .components-button,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-dropdown.components-dropdown>* .components-button,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-dropdown.components-dropdown>.components-button.components-button,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-dropdown>.components-button:first-child:last-child,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-dropdown>.components-dropdown:first-child:last-child .components-button,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-toolbar.components-dropdown>* .components-button,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-toolbar.components-dropdown>.components-button.components-button,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-toolbar>.components-button:first-child:last-child,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-toolbar>.components-dropdown:first-child:last-child .components-button,.block-editor-block-toolbar>.components-toolbar-group>.block-editor-block-toolbar__slot.components-dropdown>* .components-button,.block-editor-block-toolbar>.components-toolbar-group>.block-editor-block-toolbar__slot.components-dropdown>.components-button.components-button,.block-editor-block-toolbar>.components-toolbar-group>.block-editor-block-toolbar__slot>.components-button:first-child:last-child,.block-editor-block-toolbar>.components-toolbar-group>.block-editor-block-toolbar__slot>.components-dropdown:first-child:last-child .components-button,.block-editor-block-toolbar>.components-toolbar>.block-editor-block-toolbar__slot.components-dropdown>* .components-button,.block-editor-block-toolbar>.components-toolbar>.block-editor-block-toolbar__slot.components-dropdown>.components-button.components-button,.block-editor-block-toolbar>.components-toolbar>.block-editor-block-toolbar__slot>.components-button:first-child:last-child,.block-editor-block-toolbar>.components-toolbar>.block-editor-block-toolbar__slot>.components-dropdown:first-child:last-child .components-button{min-width:48px;padding-right:12px;padding-left:12px}.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group.components-dropdown>* .components-button:before,.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group.components-dropdown>.components-button.components-button:before,.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group>.components-button:first-child:last-child:before,.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group>.components-dropdown:first-child:last-child .components-button:before,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-dropdown.components-dropdown>* .components-button:before,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-dropdown.components-dropdown>.components-button.components-button:before,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-dropdown>.components-button:first-child:last-child:before,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-dropdown>.components-dropdown:first-child:last-child .components-button:before,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-toolbar.components-dropdown>* .components-button:before,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-toolbar.components-dropdown>.components-button.components-button:before,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-toolbar>.components-button:first-child:last-child:before,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-toolbar>.components-dropdown:first-child:last-child .components-button:before,.block-editor-block-toolbar>.components-toolbar-group>.block-editor-block-toolbar__slot.components-dropdown>* .components-button:before,.block-editor-block-toolbar>.components-toolbar-group>.block-editor-block-toolbar__slot.components-dropdown>.components-button.components-button:before,.block-editor-block-toolbar>.components-toolbar-group>.block-editor-block-toolbar__slot>.components-button:first-child:last-child:before,.block-editor-block-toolbar>.components-toolbar-group>.block-editor-block-toolbar__slot>.components-dropdown:first-child:last-child .components-button:before,.block-editor-block-toolbar>.components-toolbar>.block-editor-block-toolbar__slot.components-dropdown>* .components-button:before,.block-editor-block-toolbar>.components-toolbar>.block-editor-block-toolbar__slot.components-dropdown>.components-button.components-button:before,.block-editor-block-toolbar>.components-toolbar>.block-editor-block-toolbar__slot>.components-button:first-child:last-child:before,.block-editor-block-toolbar>.components-toolbar>.block-editor-block-toolbar__slot>.components-dropdown:first-child:last-child .components-button:before{right:8px;left:8px}.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group>.components-button:first-child,.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group>.components-dropdown:first-child .components-button,.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group>div:first-child>.components-button,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-dropdown>.components-button:first-child,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-dropdown>.components-dropdown:first-child .components-button,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-dropdown>div:first-child>.components-button,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-toolbar>.components-button:first-child,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-toolbar>.components-dropdown:first-child .components-button,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-toolbar>div:first-child>.components-button,.block-editor-block-toolbar>.components-toolbar-group>.block-editor-block-toolbar__slot>.components-button:first-child,.block-editor-block-toolbar>.components-toolbar-group>.block-editor-block-toolbar__slot>.components-dropdown:first-child .components-button,.block-editor-block-toolbar>.components-toolbar-group>.block-editor-block-toolbar__slot>div:first-child>.components-button,.block-editor-block-toolbar>.components-toolbar>.block-editor-block-toolbar__slot>.components-button:first-child,.block-editor-block-toolbar>.components-toolbar>.block-editor-block-toolbar__slot>.components-dropdown:first-child .components-button,.block-editor-block-toolbar>.components-toolbar>.block-editor-block-toolbar__slot>div:first-child>.components-button{min-width:42px;padding-right:11px;padding-left:6px}.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group>.components-button:first-child:before,.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group>.components-dropdown:first-child .components-button:before,.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group>div:first-child>.components-button:before,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-dropdown>.components-button:first-child:before,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-dropdown>.components-dropdown:first-child .components-button:before,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-dropdown>div:first-child>.components-button:before,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-toolbar>.components-button:first-child:before,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-toolbar>.components-dropdown:first-child .components-button:before,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-toolbar>div:first-child>.components-button:before,.block-editor-block-toolbar>.components-toolbar-group>.block-editor-block-toolbar__slot>.components-button:first-child:before,.block-editor-block-toolbar>.components-toolbar-group>.block-editor-block-toolbar__slot>.components-dropdown:first-child .components-button:before,.block-editor-block-toolbar>.components-toolbar-group>.block-editor-block-toolbar__slot>div:first-child>.components-button:before,.block-editor-block-toolbar>.components-toolbar>.block-editor-block-toolbar__slot>.components-button:first-child:before,.block-editor-block-toolbar>.components-toolbar>.block-editor-block-toolbar__slot>.components-dropdown:first-child .components-button:before,.block-editor-block-toolbar>.components-toolbar>.block-editor-block-toolbar__slot>div:first-child>.components-button:before{right:8px;left:2px}.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group>.components-button,.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group>.components-dropdown .components-button,.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group>div>.components-button,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-dropdown>.components-button,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-dropdown>.components-dropdown .components-button,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-dropdown>div>.components-button,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-toolbar>.components-button,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-toolbar>.components-dropdown .components-button,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-toolbar>div>.components-button,.block-editor-block-toolbar>.components-toolbar-group>.block-editor-block-toolbar__slot>.components-button,.block-editor-block-toolbar>.components-toolbar-group>.block-editor-block-toolbar__slot>.components-dropdown .components-button,.block-editor-block-toolbar>.components-toolbar-group>.block-editor-block-toolbar__slot>div>.components-button,.block-editor-block-toolbar>.components-toolbar>.block-editor-block-toolbar__slot>.components-button,.block-editor-block-toolbar>.components-toolbar>.block-editor-block-toolbar__slot>.components-dropdown .components-button,.block-editor-block-toolbar>.components-toolbar>.block-editor-block-toolbar__slot>div>.components-button{min-width:36px;padding-right:6px;padding-left:6px}.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group>.components-button svg,.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group>.components-dropdown .components-button svg,.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group>div>.components-button svg,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-dropdown>.components-button svg,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-dropdown>.components-dropdown .components-button svg,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-dropdown>div>.components-button svg,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-toolbar>.components-button svg,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-toolbar>.components-dropdown .components-button svg,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-toolbar>div>.components-button svg,.block-editor-block-toolbar>.components-toolbar-group>.block-editor-block-toolbar__slot>.components-button svg,.block-editor-block-toolbar>.components-toolbar-group>.block-editor-block-toolbar__slot>.components-dropdown .components-button svg,.block-editor-block-toolbar>.components-toolbar-group>.block-editor-block-toolbar__slot>div>.components-button svg,.block-editor-block-toolbar>.components-toolbar>.block-editor-block-toolbar__slot>.components-button svg,.block-editor-block-toolbar>.components-toolbar>.block-editor-block-toolbar__slot>.components-dropdown .components-button svg,.block-editor-block-toolbar>.components-toolbar>.block-editor-block-toolbar__slot>div>.components-button svg{min-width:24px}.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group>.components-button:before,.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group>.components-dropdown .components-button:before,.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group>div>.components-button:before,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-dropdown>.components-button:before,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-dropdown>.components-dropdown .components-button:before,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-dropdown>div>.components-button:before,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-toolbar>.components-button:before,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-toolbar>.components-dropdown .components-button:before,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-toolbar>div>.components-button:before,.block-editor-block-toolbar>.components-toolbar-group>.block-editor-block-toolbar__slot>.components-button:before,.block-editor-block-toolbar>.components-toolbar-group>.block-editor-block-toolbar__slot>.components-dropdown .components-button:before,.block-editor-block-toolbar>.components-toolbar-group>.block-editor-block-toolbar__slot>div>.components-button:before,.block-editor-block-toolbar>.components-toolbar>.block-editor-block-toolbar__slot>.components-button:before,.block-editor-block-toolbar>.components-toolbar>.block-editor-block-toolbar__slot>.components-dropdown .components-button:before,.block-editor-block-toolbar>.components-toolbar>.block-editor-block-toolbar__slot>div>.components-button:before{right:2px;left:2px}.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group>.components-button:last-child,.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group>.components-dropdown:last-child .components-button,.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group>div:last-child>.components-button,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-dropdown>.components-button:last-child,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-dropdown>.components-dropdown:last-child .components-button,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-dropdown>div:last-child>.components-button,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-toolbar>.components-button:last-child,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-toolbar>.components-dropdown:last-child .components-button,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-toolbar>div:last-child>.components-button,.block-editor-block-toolbar>.components-toolbar-group>.block-editor-block-toolbar__slot>.components-button:last-child,.block-editor-block-toolbar>.components-toolbar-group>.block-editor-block-toolbar__slot>.components-dropdown:last-child .components-button,.block-editor-block-toolbar>.components-toolbar-group>.block-editor-block-toolbar__slot>div:last-child>.components-button,.block-editor-block-toolbar>.components-toolbar>.block-editor-block-toolbar__slot>.components-button:last-child,.block-editor-block-toolbar>.components-toolbar>.block-editor-block-toolbar__slot>.components-dropdown:last-child .components-button,.block-editor-block-toolbar>.components-toolbar>.block-editor-block-toolbar__slot>div:last-child>.components-button{min-width:42px;padding-right:6px;padding-left:11px}.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group>.components-button:last-child:before,.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group>.components-dropdown:last-child .components-button:before,.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group>div:last-child>.components-button:before,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-dropdown>.components-button:last-child:before,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-dropdown>.components-dropdown:last-child .components-button:before,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-dropdown>div:last-child>.components-button:before,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-toolbar>.components-button:last-child:before,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-toolbar>.components-dropdown:last-child .components-button:before,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-toolbar>div:last-child>.components-button:before,.block-editor-block-toolbar>.components-toolbar-group>.block-editor-block-toolbar__slot>.components-button:last-child:before,.block-editor-block-toolbar>.components-toolbar-group>.block-editor-block-toolbar__slot>.components-dropdown:last-child .components-button:before,.block-editor-block-toolbar>.components-toolbar-group>.block-editor-block-toolbar__slot>div:last-child>.components-button:before,.block-editor-block-toolbar>.components-toolbar>.block-editor-block-toolbar__slot>.components-button:last-child:before,.block-editor-block-toolbar>.components-toolbar>.block-editor-block-toolbar__slot>.components-dropdown:last-child .components-button:before,.block-editor-block-toolbar>.components-toolbar>.block-editor-block-toolbar__slot>div:last-child>.components-button:before{right:2px;left:8px}.components-tooltip.components-popover{z-index:1000002}.components-tooltip.components-popover .components-popover__content{min-width:0}.components-tooltip .components-popover__content{background:#1e1e1e;border-radius:2px;border-width:0;color:#fff;white-space:nowrap;text-align:center;line-height:1.4;font-size:12px;box-shadow:none}.components-tooltip .components-popover__content>div{padding:4px 8px}.components-tooltip__shortcut{display:inline-block;margin-right:8px}.disabled-element-wrapper{position:relative}.disabled-element-wrapper .event-catcher{z-index:100002;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0}.components-visually-hidden{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.components-visually-hidden:focus{background-color:#ddd;clip:auto!important;-webkit-clip-path:none;clip-path:none;color:#444;display:block;font-size:1em;height:auto;right:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000} \ No newline at end of file +@charset "UTF-8";:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}.components-animate__appear{animation:components-animate__appear-animation .1s cubic-bezier(0,0,.2,1) 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.components-animate__appear{animation-duration:1ms;animation-delay:0s}}.components-animate__appear.is-from-top,.components-animate__appear.is-from-top.is-from-left{transform-origin:top right}.components-animate__appear.is-from-top.is-from-right{transform-origin:top left}.components-animate__appear.is-from-bottom,.components-animate__appear.is-from-bottom.is-from-left{transform-origin:bottom right}.components-animate__appear.is-from-bottom.is-from-right{transform-origin:bottom left}@keyframes components-animate__appear-animation{0%{transform:translateY(-2em) scaleY(0) scaleX(0)}to{transform:translateY(0) scaleY(1) scaleX(1)}}.components-animate__slide-in{animation:components-animate__slide-in-animation .1s cubic-bezier(0,0,.2,1);animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.components-animate__slide-in{animation-duration:1ms;animation-delay:0s}}.components-animate__slide-in.is-from-left{transform:translateX(-100%)}.components-animate__slide-in.is-from-right{transform:translateX(100%)}@keyframes components-animate__slide-in-animation{to{transform:translateX(0)}}.components-animate__loading{animation:components-animate__loading 1.6s ease-in-out infinite}@keyframes components-animate__loading{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}.components-autocomplete__popover .components-popover__content>div{padding:16px;min-width:220px}.components-autocomplete__result.components-button{display:flex;height:auto;min-height:36px;text-align:right;width:100%}.components-autocomplete__result.components-button.is-selected{box-shadow:0 0 0 2px var(--wp-admin-theme-color)}.components-button-group{display:inline-block}.components-button-group .components-button{border-radius:0;display:inline-flex;color:#1e1e1e;box-shadow:inset 0 0 0 1px #1e1e1e}.components-button-group .components-button+.components-button{margin-right:-1px}.components-button-group .components-button:first-child{border-radius:0 2px 2px 0}.components-button-group .components-button:last-child{border-radius:2px 0 0 2px}.components-button-group .components-button.is-primary,.components-button-group .components-button:focus{position:relative;z-index:1}.components-button-group .components-button.is-primary{box-shadow:inset 0 0 0 1px #1e1e1e}.components-button{display:inline-flex;text-decoration:none;font-weight:400;font-size:13px;margin:0;border:0;cursor:pointer;-webkit-appearance:none;background:none;transition:box-shadow .1s linear;height:36px;align-items:center;box-sizing:border-box;padding:6px 12px;border-radius:2px;color:#1e1e1e}@media (prefers-reduced-motion:reduce){.components-button{transition-duration:0s;transition-delay:0s}}.components-button:hover,.components-button[aria-expanded=true]{color:var(--wp-admin-theme-color)}.components-button[aria-disabled=true]:hover{color:initial}.components-button:focus:not(:disabled){box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);outline:3px solid transparent}.components-button.is-primary{white-space:nowrap;background:var(--wp-admin-theme-color);color:#fff;text-decoration:none;text-shadow:none;outline:1px solid transparent}.components-button.is-primary:hover:not(:disabled){background:var(--wp-admin-theme-color-darker-10);color:#fff}.components-button.is-primary:active:not(:disabled){background:var(--wp-admin-theme-color-darker-20);border-color:var(--wp-admin-theme-color-darker-20);color:#fff}.components-button.is-primary:focus:not(:disabled){box-shadow:inset 0 0 0 1px #fff,0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.components-button.is-primary:disabled,.components-button.is-primary:disabled:active:enabled,.components-button.is-primary[aria-disabled=true],.components-button.is-primary[aria-disabled=true]:active:enabled,.components-button.is-primary[aria-disabled=true]:enabled{color:hsla(0,0%,100%,.4);background:var(--wp-admin-theme-color);border-color:var(--wp-admin-theme-color);opacity:1;outline:none}.components-button.is-primary:disabled:active:enabled:focus:enabled,.components-button.is-primary:disabled:focus:enabled,.components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,.components-button.is-primary[aria-disabled=true]:enabled:focus:enabled,.components-button.is-primary[aria-disabled=true]:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px var(--wp-admin-theme-color)}.components-button.is-primary.is-busy,.components-button.is-primary.is-busy:disabled,.components-button.is-primary.is-busy[aria-disabled=true]{color:#fff;background-size:100px 100%;background-image:linear-gradient(45deg,var(--wp-admin-theme-color) 33%,var(--wp-admin-theme-color-darker-20) 0,var(--wp-admin-theme-color-darker-20) 70%,var(--wp-admin-theme-color) 0);border-color:var(--wp-admin-theme-color)}.components-button.is-secondary,.components-button.is-tertiary{outline:1px solid transparent}.components-button.is-secondary:active:not(:disabled),.components-button.is-tertiary:active:not(:disabled){background:#ddd;color:var(--wp-admin-theme-color-darker-10);box-shadow:none}.components-button.is-secondary:hover:not(:disabled),.components-button.is-tertiary:hover:not(:disabled){color:var(--wp-admin-theme-color-darker-10);box-shadow:inset 0 0 0 1px var(--wp-admin-theme-color-darker-10)}.components-button.is-secondary:disabled,.components-button.is-secondary[aria-disabled=true],.components-button.is-secondary[aria-disabled=true]:hover,.components-button.is-tertiary:disabled,.components-button.is-tertiary[aria-disabled=true],.components-button.is-tertiary[aria-disabled=true]:hover{color:#828282;background:#eaeaea;transform:none;opacity:1;box-shadow:none;outline:none}.components-button.is-secondary{box-shadow:inset 0 0 0 1px var(--wp-admin-theme-color);outline:1px solid transparent}.components-button.is-secondary,.components-button.is-tertiary{white-space:nowrap;color:var(--wp-admin-theme-color);background:transparent}.components-button.is-tertiary{padding:6px}.components-button.is-tertiary .dashicon{display:inline-block;flex:0 0 auto}.components-button.is-destructive{color:#cc1818;box-shadow:inset 0 0 0 1px #cc1818}.components-button.is-destructive:hover:not(:disabled){color:#710d0d;box-shadow:inset 0 0 0 1px #710d0d}.components-button.is-destructive:focus:not(:disabled){color:var(--wp-admin-theme-color)}.components-button.is-destructive:active:not(:disabled){background:#ccc}.components-button.is-destructive.is-primary{color:#fff;background:#cc1818;box-shadow:inset 0 0 0 1px #cc1818}.components-button.is-destructive.is-primary:hover:not(:disabled){color:#fff;background:#710d0d;box-shadow:inset 0 0 0 1px #710d0d}.components-button.is-link{margin:0;padding:0;box-shadow:none;border:0;border-radius:0;background:none;outline:none;text-align:right;color:var(--wp-admin-theme-color);text-decoration:underline;transition-property:border,background,color;transition-duration:.05s;transition-timing-function:ease-in-out;height:auto}@media (prefers-reduced-motion:reduce){.components-button.is-link{transition-duration:0s;transition-delay:0s}}.components-button.is-link:focus{border-radius:2px}.components-button.is-link.is-destructive{color:#cc1818}.components-button.is-link.is-destructive:active:not(:disabled),.components-button.is-link.is-destructive:hover:not(:disabled){color:#710d0d;background:none}.components-button.is-link.is-destructive:focus:not(:disabled){color:var(--wp-admin-theme-color)}.components-button:not([aria-disabled=true]):active{color:inherit}.components-button:disabled,.components-button[aria-disabled=true]{cursor:default;opacity:.3}.components-button.is-busy,.components-button.is-secondary.is-busy,.components-button.is-secondary.is-busy:disabled,.components-button.is-secondary.is-busy[aria-disabled=true]{animation:components-button__busy-animation 2.5s linear infinite;opacity:1;background-size:100px 100%;background-image:linear-gradient(45deg,#fafafa 33%,#e0e0e0 0,#e0e0e0 70%,#fafafa 0)}.components-button.is-small{height:24px;line-height:22px;padding:0 8px;font-size:11px}.components-button.is-small.has-icon:not(.has-text){padding:0 8px;width:24px}.components-button.has-icon{padding:6px;min-width:36px;justify-content:center}.components-button.has-icon .dashicon{display:inline-block;flex:0 0 auto;margin-right:2px;margin-left:2px}.components-button.has-icon.has-text{justify-content:left}.components-button.has-icon.has-text svg{margin-left:8px}.components-button.has-icon.has-text .dashicon{margin-left:10px}.components-button.is-pressed{color:#fff;background:#1e1e1e}.components-button.is-pressed:focus:not(:disabled){box-shadow:inset 0 0 0 1px #fff,0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);outline:2px solid transparent}.components-button.is-pressed:hover:not(:disabled){color:#fff;background:#1e1e1e}.components-button svg{fill:currentColor;outline:none}.components-button .components-visually-hidden{height:auto}@keyframes components-button__busy-animation{0%{background-position:200px 0}}.components-checkbox-control__input[type=checkbox]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;padding:6px 8px;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;font-size:16px;line-height:normal;border:1px solid #1e1e1e;transition:none;border-radius:2px;background:#fff;color:#1e1e1e;clear:none;cursor:pointer;display:inline-block;line-height:0;margin:0 0 0 4px;outline:0;padding:0!important;text-align:center;vertical-align:top;width:24px;height:24px;-webkit-appearance:none;appearance:none;transition:border-color .1s ease-in-out}@media (min-width:600px){.components-checkbox-control__input[type=checkbox]{font-size:13px;line-height:normal}}.components-checkbox-control__input[type=checkbox]:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color)}.components-checkbox-control__input[type=checkbox]::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.components-checkbox-control__input[type=checkbox]::-moz-placeholder{opacity:1;color:rgba(30,30,30,.62)}.components-checkbox-control__input[type=checkbox]:-ms-input-placeholder{color:rgba(30,30,30,.62)}.is-dark-theme .components-checkbox-control__input[type=checkbox]::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .components-checkbox-control__input[type=checkbox]::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .components-checkbox-control__input[type=checkbox]:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}.components-checkbox-control__input[type=checkbox]:checked:before,.components-checkbox-control__input[type=checkbox][aria-checked=mixed]:before{margin:-3px -5px;color:#fff}@media (min-width:782px){.components-checkbox-control__input[type=checkbox]:checked:before,.components-checkbox-control__input[type=checkbox][aria-checked=mixed]:before{margin:-4px -5px 0 0}}.components-checkbox-control__input[type=checkbox][aria-checked=mixed]{background:var(--wp-admin-theme-color);border-color:var(--wp-admin-theme-color)}.components-checkbox-control__input[type=checkbox][aria-checked=mixed]:before{content:"";float:right;display:inline-block;vertical-align:middle;width:16px;font:normal 30px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (min-width:782px){.components-checkbox-control__input[type=checkbox][aria-checked=mixed]:before{float:none;font-size:21px}}@media (min-width:600px){.components-checkbox-control__input[type=checkbox]{height:20px;width:20px}}@media (prefers-reduced-motion:reduce){.components-checkbox-control__input[type=checkbox]{transition-duration:0s;transition-delay:0s}}.components-checkbox-control__input[type=checkbox]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px var(--wp-admin-theme-color);outline:2px solid transparent}.components-checkbox-control__input[type=checkbox]:checked{background:var(--wp-admin-theme-color);border-color:var(--wp-admin-theme-color)}.components-checkbox-control__input[type=checkbox]:checked::-ms-check{opacity:0}.components-checkbox-control__input[type=checkbox]:checked:before{content:none}.components-checkbox-control__input-container{position:relative;display:inline-block;margin-left:12px;vertical-align:middle;width:24px;height:24px}@media (min-width:600px){.components-checkbox-control__input-container{width:20px;height:20px}}svg.components-checkbox-control__checked{fill:#fff;cursor:pointer;position:absolute;right:0;top:0;width:24px;height:24px;-webkit-user-select:none;user-select:none;pointer-events:none}@media (min-width:600px){svg.components-checkbox-control__checked{right:-2px;top:-2px}}.components-circular-option-picker{display:inline-block;width:100%;min-width:188px}.components-circular-option-picker .components-circular-option-picker__custom-clear-wrapper{display:flex;justify-content:flex-end}.components-circular-option-picker .components-circular-option-picker__swatches{margin-left:-12px}.components-circular-option-picker__option-wrapper{display:inline-block;height:28px;width:28px;margin-left:12px;margin-bottom:12px;vertical-align:top;transform:scale(1);transition:transform .1s ease}@media (prefers-reduced-motion:reduce){.components-circular-option-picker__option-wrapper{transition-duration:0s;transition-delay:0s}}.components-circular-option-picker__option-wrapper:hover{transform:scale(1.2)}.components-circular-option-picker__option-wrapper>div{height:100%;width:100%}.components-circular-option-picker__option-wrapper:before{content:"";position:absolute;top:1px;right:1px;bottom:1px;left:1px;border-radius:50%;z-index:-1;background:url("data:image/svg+xml;charset=utf-8,%3Csvg width='28' height='28' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 8V6H4v2h2zm2 0V6h2v2H8zm2 8H8v-2h2v2zm2 0v-2h2v2h-2zm0 2v-2h-2v2H8v2h2v-2h2zm2 0v2h-2v-2h2zm2 0h-2v-2h2v2z' fill='%23555D65'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M18 18h2v-2h-2v-2h2v-2h-2v-2h2V8h-2v2h-2V8h-2v2h2v2h-2v2h2v2h2v2zm-2-4v-2h2v2h-2z' fill='%23555D65'/%3E%3Cpath d='M18 18v2h-2v-2h2z' fill='%23555D65'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8 10V8H6v2H4v2h2v2H4v2h2v2H4v2h2v2H4v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2V8h-2V6h2V4h-2v2h-2V4h-2v2h-2V4h-2v2h-2V4h-2v2h2v2h-2v2H8zm0 2v-2H6v2h2zm2 0v-2h2v2h-2zm0 2v-2H8v2H6v2h2v2H6v2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2V8h-2V6h-2v2h-2V6h-2v2h-2v2h2v2h-2v2h-2z' fill='%23555D65'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M4 0H2v2H0v2h2v2H0v2h2v2H0v2h2v2H0v2h2v2H0v2h2v2H0v2h2v2H0v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2V8h-2V6h2V4h-2V2h2V0h-2v2h-2V0h-2v2h-2V0h-2v2h-2V0h-2v2h-2V0h-2v2H8V0H6v2H4V0zm0 4V2H2v2h2zm2 0V2h2v2H6zm0 2V4H4v2H2v2h2v2H2v2h2v2H2v2h2v2H2v2h2v2H2v2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2V8h-2V6h2V4h-2V2h-2v2h-2V2h-2v2h-2V2h-2v2h-2V2h-2v2H8v2H6z' fill='%23555D65'/%3E%3C/svg%3E")}.components-circular-option-picker__option{display:inline-block;vertical-align:top;height:100%;width:100%;border:none;border-radius:50%;background:transparent;box-shadow:inset 0 0 0 14px;transition:box-shadow .1s ease;cursor:pointer}@media (prefers-reduced-motion:reduce){.components-circular-option-picker__option{transition-duration:0s;transition-delay:0s}}.components-circular-option-picker__option:hover{box-shadow:inset 0 0 0 14px!important}.components-circular-option-picker__option.is-pressed{box-shadow:inset 0 0 0 4px;position:relative;z-index:1;overflow:visible}.components-circular-option-picker__option.is-pressed+svg{position:absolute;right:2px;top:2px;border-radius:50%;z-index:2;pointer-events:none}.components-circular-option-picker__option:after{content:"";position:absolute;top:-1px;right:-1px;bottom:-1px;left:-1px;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(0,0,0,.2);border:1px solid transparent}.components-circular-option-picker__option:focus:after{content:"";border:2px solid #757575;width:32px;height:32px;position:absolute;top:-2px;right:-2px;border-radius:50%;box-shadow:inset 0 0 0 2px #fff}.components-circular-option-picker__option.components-button:focus{background-color:initial;box-shadow:inset 0 0 0 14px;outline:none}.components-circular-option-picker__button-action .components-circular-option-picker__option{color:#fff;background:#fff}.components-circular-option-picker__dropdown-link-action{margin-left:16px}.components-circular-option-picker__dropdown-link-action .components-button{line-height:22px}.components-color-edit__color-option-main-area{display:flex;align-items:center}.components-color-edit__color-option-main-area div.components-circular-option-picker__option-wrapper{display:block;margin:8px}.components-color-edit__color-option.is-hover{background:#e0e0e0}.components-color-edit__cancel-button{float:left}.components-color-edit__color-option-color-name{width:100%}.components-color-edit__label-and-insert-container{display:flex;align-items:center;justify-content:space-between}.components-color-edit__insert-button{margin-top:-8px}.components-color-edit__hidden-control{position:relative;right:-9999px}.components-color-edit__color-option-color-name-input .components-base-control__field{margin-bottom:0;margin-left:8px}.components-color-edit__slug-input{margin-right:8px}.components-color-edit__reset-button{float:left}.component-color-indicator{width:25px;height:16px;margin-right:.8rem;border:1px solid #dadada;display:inline-block}.component-color-indicator+.component-color-indicator{margin-right:.5rem}.components-color-picker{width:100%}.components-color-picker *{box-sizing:border-box}.components-color-picker__saturation{width:100%;padding-bottom:55%;position:relative}.components-color-picker__body{padding:16px 16px 12px}.components-color-picker__controls{display:flex}.components-color-picker__alpha-pointer,.components-color-picker__hue-pointer,.components-color-picker__saturation-pointer{padding:0;position:absolute;cursor:pointer;box-shadow:none;border:none}.components-color-picker__swatch{margin-left:8px;width:32px;height:32px;border-radius:50%;position:relative;overflow:hidden;background-image:linear-gradient(-45deg,#ddd 25%,transparent 0),linear-gradient(45deg,#ddd 25%,transparent 0),linear-gradient(-45deg,transparent 75%,#ddd 0),linear-gradient(45deg,transparent 75%,#ddd 0);background-size:10px 10px;background-position:100% 0,100% 5px,5px -5px,-5px 0}.is-alpha-disabled .components-color-picker__swatch{width:12px;height:12px;margin-top:0}.components-color-picker__active{border-radius:50%;box-shadow:inset 0 0 0 1px rgba(0,0,0,.1);z-index:2}.components-color-picker__active,.components-color-picker__saturation-black,.components-color-picker__saturation-color,.components-color-picker__saturation-white{position:absolute;top:0;right:0;left:0;bottom:0}.components-color-picker__saturation-color{overflow:visible}.components-color-picker__saturation-white{background:linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.components-color-picker__saturation-black{background:linear-gradient(0deg,#000,transparent)}.components-button.components-color-picker__saturation-pointer{width:14px;height:14px;padding:0;border-radius:50%;background-color:initial;transform:translate(50%,-50%);box-shadow:0 0 0 1px #fff,inset 0 0 0 1px #000,0 0 0 2px #000}.components-button.components-color-picker__saturation-pointer:focus:not(:disabled){box-shadow:0 0 0 2px #fff,inset 0 0 0 1px #000,0 0 0 3px #000}.components-color-picker__toggles{flex:1}.components-color-picker__alpha{background-image:linear-gradient(-45deg,#ddd 25%,transparent 0),linear-gradient(45deg,#ddd 25%,transparent 0),linear-gradient(-45deg,transparent 75%,#ddd 0),linear-gradient(45deg,transparent 75%,#ddd 0);background-size:10px 10px;background-position:100% 0,100% 5px,5px -5px,-5px 0}.components-color-picker__alpha-gradient,.components-color-picker__hue-gradient{position:absolute;top:0;right:0;left:0;bottom:0}.components-color-picker__alpha,.components-color-picker__hue{height:12px;position:relative}.is-alpha-enabled .components-color-picker__hue{margin-bottom:8px}.components-color-picker__alpha-bar,.components-color-picker__hue-bar{position:relative;margin:0 3px;height:100%;padding:0 2px}.components-color-picker__hue-gradient{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.components-color-picker__alpha-pointer,.components-color-picker__hue-pointer{left:0;width:14px;height:14px;border-radius:50%;box-shadow:0 1px 4px 0 rgba(0,0,0,.37);background:#fff;transform:translate(7px,-1px)}.components-color-picker__hue-pointer,.components-color-picker__saturation-pointer{transition:box-shadow .1s linear}@media (prefers-reduced-motion:reduce){.components-color-picker__hue-pointer,.components-color-picker__saturation-pointer{transition-duration:0s;transition-delay:0s}}.components-color-picker__saturation-pointer:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px var(--wp-admin-theme-color),0 0 5px 0 var(--wp-admin-theme-color),inset 0 0 1px 1px rgba(0,0,0,.3),0 0 1px 2px rgba(0,0,0,.4)}.components-color-picker__alpha-pointer:focus,.components-color-picker__hue-pointer:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 2px var(--wp-admin-theme-color),0 0 3px 0 var(--wp-admin-theme-color);outline:2px solid transparent;outline-offset:-2px}.components-color-picker__inputs-wrapper{margin:0 -4px;padding-top:16px;display:flex;align-items:flex-end;min-width:255px}.components-color-picker__inputs-wrapper fieldset{flex:1;border:none;margin:0;padding:0}.components-color-picker__inputs-wrapper .components-color-picker__inputs-fields .components-text-control__input[type=number]{padding:6px 3px;margin:0}.components-color-picker__inputs-field{width:100%}.components-color-picker__inputs-fields{display:flex;direction:ltr;flex-grow:1;margin-left:4px}.components-color-picker__inputs-fields .components-base-control+.components-base-control{margin-top:0}.components-color-picker__inputs-fields .components-base-control__field{margin:0 2px}.components-color-picker__inputs-toggle{height:30px;padding:0 5px}.components-combobox-control{width:100%}input.components-combobox-control__input[type=text]{width:100%;border:none;box-shadow:none;font-size:16px;padding:2px;margin:0;line-height:inherit;min-height:auto}@media (min-width:600px){input.components-combobox-control__input[type=text]{font-size:13px}}input.components-combobox-control__input[type=text]:focus{outline:none;box-shadow:none}.components-combobox-control__suggestions-container{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:2px;border:1px solid #757575;font-size:16px;line-height:normal;display:flex;flex-wrap:wrap;align-items:flex-start;width:100%;margin:0 0 8px;padding:4px}@media (prefers-reduced-motion:reduce){.components-combobox-control__suggestions-container{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.components-combobox-control__suggestions-container{font-size:13px;line-height:normal}}.components-combobox-control__suggestions-container:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color);outline:2px solid transparent}.components-combobox-control__suggestions-container::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.components-combobox-control__suggestions-container::-moz-placeholder{opacity:1;color:rgba(30,30,30,.62)}.components-combobox-control__suggestions-container:-ms-input-placeholder{color:rgba(30,30,30,.62)}.is-dark-theme .components-combobox-control__suggestions-container::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .components-combobox-control__suggestions-container::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .components-combobox-control__suggestions-container:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}.components-combobox-control__suggestions-container:focus-within{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color);outline:2px solid transparent}.components-combobox-control__reset.components-button{display:flex;height:24px;min-width:24px;padding:0}.components-color-list-picker,.components-color-list-picker__swatch-button{width:100%}.components-custom-gradient-picker__gradient-bar:not(.has-gradient){opacity:.4}.components-custom-gradient-picker__gradient-bar{margin-top:12px;width:100%;height:36px;border-radius:36px;margin-bottom:12px;padding-right:6px;padding-left:30px}.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__markers-container{position:relative}.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__insert-point{border-radius:50%;background:#fff;padding:2px;top:6px;min-width:24px;width:24px;height:24px;position:relative;color:#1e1e1e}.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__insert-point svg{height:100%;width:100%}.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__control-point-button{border:2px solid transparent;box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) #fff;border-radius:50%;height:24px;width:24px;padding:0;position:absolute;top:6px}.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__control-point-button.is-active,.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__control-point-button:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #1e1e1e}.components-custom-gradient-picker__color-picker-popover .components-custom-gradient-picker__remove-control-point{margin-right:auto;margin-left:auto;display:block;margin-bottom:8px}.components-custom-gradient-picker__inserter{width:100%}.components-custom-gradient-picker__liner-gradient-indicator{display:inline-block;flex:0 auto;width:20px;height:20px}.components-custom-gradient-picker .components-custom-gradient-picker__ui-line{margin-bottom:16px}.components-custom-gradient-picker .components-custom-gradient-picker__ui-line .components-base-control.components-angle-picker,.components-custom-gradient-picker .components-custom-gradient-picker__ui-line .components-base-control.components-custom-gradient-picker__type-picker{margin-bottom:0}.components-custom-gradient-picker .components-custom-gradient-picker__toolbar{border:none}.components-custom-gradient-picker .components-custom-gradient-picker__toolbar>div+div{margin-right:1px}.components-custom-gradient-picker .components-custom-gradient-picker__toolbar button.is-pressed>svg{background:#fff;border:1px solid #949494;border-radius:2px}.components-custom-select-control{position:relative}.components-custom-select-control__label{display:block;margin-bottom:8px}.components-custom-select-control__button{border:1px solid #757575;border-radius:2px;min-height:30px;min-width:130px;position:relative;text-align:right}.components-custom-select-control__button.components-custom-select-control__button{padding-left:24px}.components-custom-select-control__button:focus:not(:disabled){border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color)}.components-custom-select-control__button .components-custom-select-control__button-icon{height:100%;padding:0;position:absolute;left:0;top:0}.components-custom-select-control__menu{border:1px solid #1e1e1e;background-color:#fff;border-radius:2px;outline:none;transition:none;max-height:400px;min-width:100%;overflow:auto;padding:0;position:absolute;z-index:1000000}.components-custom-select-control__menu[aria-hidden=true]{display:none}.components-custom-select-control__item{align-items:center;display:flex;list-style-type:none;padding:8px;cursor:default;line-height:28px}.components-custom-select-control__item.is-highlighted{background:#ddd}.components-custom-select-control__item .components-custom-select-control__item-icon{margin-left:0;margin-right:auto}.components-custom-select-control__item:last-child{margin-bottom:0}.PresetDateRangePicker_panel{padding:0 22px 11px}.PresetDateRangePicker_button{position:relative;height:100%;text-align:center;background:0 0;border:2px solid #00a699;color:#00a699;padding:4px 12px;margin-right:8px;font:inherit;font-weight:700;line-height:normal;overflow:visible;box-sizing:border-box;cursor:pointer}.PresetDateRangePicker_button:active{outline:0}.PresetDateRangePicker_button__selected{color:#fff;background:#00a699}.SingleDatePickerInput{display:inline-block;background-color:#fff}.SingleDatePickerInput__withBorder{border-radius:2px;border:1px solid #dbdbdb}.SingleDatePickerInput__rtl{direction:rtl}.SingleDatePickerInput__disabled{background-color:#f2f2f2}.SingleDatePickerInput__block{display:block}.SingleDatePickerInput__showClearDate{padding-right:30px}.SingleDatePickerInput_clearDate{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;cursor:pointer;padding:10px;margin:0 10px 0 5px;position:absolute;right:0;top:50%;transform:translateY(-50%)}.SingleDatePickerInput_clearDate__default:focus,.SingleDatePickerInput_clearDate__default:hover{background:#dbdbdb;border-radius:50%}.SingleDatePickerInput_clearDate__small{padding:6px}.SingleDatePickerInput_clearDate__hide{visibility:hidden}.SingleDatePickerInput_clearDate_svg{fill:#82888a;height:12px;width:15px;vertical-align:middle}.SingleDatePickerInput_clearDate_svg__small{height:9px}.SingleDatePickerInput_calendarIcon{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;cursor:pointer;display:inline-block;vertical-align:middle;padding:10px;margin:0 5px 0 10px}.SingleDatePickerInput_calendarIcon_svg{fill:#82888a;height:15px;width:14px;vertical-align:middle}.SingleDatePicker{position:relative;display:inline-block}.SingleDatePicker__block{display:block}.SingleDatePicker_picker{z-index:1;background-color:#fff;position:absolute}.SingleDatePicker_picker__rtl{direction:rtl}.SingleDatePicker_picker__directionLeft{left:0}.SingleDatePicker_picker__directionRight{right:0}.SingleDatePicker_picker__portal{background-color:rgba(0,0,0,.3);position:fixed;top:0;left:0;height:100%;width:100%}.SingleDatePicker_picker__fullScreenPortal{background-color:#fff}.SingleDatePicker_closeButton{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;cursor:pointer;position:absolute;top:0;right:0;padding:15px;z-index:2}.SingleDatePicker_closeButton:focus,.SingleDatePicker_closeButton:hover{color:#b0b3b4;text-decoration:none}.SingleDatePicker_closeButton_svg{height:15px;width:15px;fill:#cacccd}.DayPickerKeyboardShortcuts_buttonReset{background:0 0;border:0;border-radius:0;color:inherit;font:inherit;line-height:normal;overflow:visible;padding:0;cursor:pointer;font-size:14px}.DayPickerKeyboardShortcuts_buttonReset:active{outline:0}.DayPickerKeyboardShortcuts_show{width:22px;position:absolute;z-index:2}.DayPickerKeyboardShortcuts_show__bottomRight{border-top:26px solid transparent;border-right:33px solid #00a699;bottom:0;right:0}.DayPickerKeyboardShortcuts_show__bottomRight:hover{border-right:33px solid #008489}.DayPickerKeyboardShortcuts_show__topRight{border-bottom:26px solid transparent;border-right:33px solid #00a699;top:0;right:0}.DayPickerKeyboardShortcuts_show__topRight:hover{border-right:33px solid #008489}.DayPickerKeyboardShortcuts_show__topLeft{border-bottom:26px solid transparent;border-left:33px solid #00a699;top:0;left:0}.DayPickerKeyboardShortcuts_show__topLeft:hover{border-left:33px solid #008489}.DayPickerKeyboardShortcuts_showSpan{color:#fff;position:absolute}.DayPickerKeyboardShortcuts_showSpan__bottomRight{bottom:0;right:-28px}.DayPickerKeyboardShortcuts_showSpan__topRight{top:1px;right:-28px}.DayPickerKeyboardShortcuts_showSpan__topLeft{top:1px;left:-28px}.DayPickerKeyboardShortcuts_panel{overflow:auto;background:#fff;border:1px solid #dbdbdb;border-radius:2px;position:absolute;top:0;bottom:0;right:0;left:0;z-index:2;padding:22px;margin:33px}.DayPickerKeyboardShortcuts_title{font-size:16px;font-weight:700;margin:0}.DayPickerKeyboardShortcuts_list{list-style:none;padding:0;font-size:14px}.DayPickerKeyboardShortcuts_close{position:absolute;right:22px;top:22px;z-index:2}.DayPickerKeyboardShortcuts_close:active{outline:0}.DayPickerKeyboardShortcuts_closeSvg{height:15px;width:15px;fill:#cacccd}.DayPickerKeyboardShortcuts_closeSvg:focus,.DayPickerKeyboardShortcuts_closeSvg:hover{fill:#82888a}.CalendarDay{box-sizing:border-box;cursor:pointer;font-size:14px;text-align:center}.CalendarDay:active{outline:0}.CalendarDay__defaultCursor{cursor:default}.CalendarDay__default{border:1px solid #e4e7e7;color:#484848;background:#fff}.CalendarDay__default:hover{background:#e4e7e7;border:1px double #e4e7e7;color:inherit}.CalendarDay__hovered_offset{background:#f4f5f5;border:1px double #e4e7e7;color:inherit}.CalendarDay__outside{border:0;background:#fff;color:#484848}.CalendarDay__outside:hover{border:0}.CalendarDay__blocked_minimum_nights{background:#fff;border:1px solid #eceeee;color:#cacccd}.CalendarDay__blocked_minimum_nights:active,.CalendarDay__blocked_minimum_nights:hover{background:#fff;color:#cacccd}.CalendarDay__highlighted_calendar{background:#ffe8bc;color:#484848}.CalendarDay__highlighted_calendar:active,.CalendarDay__highlighted_calendar:hover{background:#ffce71;color:#484848}.CalendarDay__selected_span{background:#66e2da;border:1px solid #33dacd;color:#fff}.CalendarDay__selected_span:active,.CalendarDay__selected_span:hover{background:#33dacd;border:1px solid #33dacd;color:#fff}.CalendarDay__last_in_range{border-right:#00a699}.CalendarDay__selected,.CalendarDay__selected:active,.CalendarDay__selected:hover{background:#00a699;border:1px solid #00a699;color:#fff}.CalendarDay__hovered_span,.CalendarDay__hovered_span:hover{background:#b2f1ec;border:1px solid #80e8e0;color:#007a87}.CalendarDay__hovered_span:active{background:#80e8e0;border:1px solid #80e8e0;color:#007a87}.CalendarDay__blocked_calendar,.CalendarDay__blocked_calendar:active,.CalendarDay__blocked_calendar:hover{background:#cacccd;border:1px solid #cacccd;color:#82888a}.CalendarDay__blocked_out_of_range,.CalendarDay__blocked_out_of_range:active,.CalendarDay__blocked_out_of_range:hover{background:#fff;border:1px solid #e4e7e7;color:#cacccd}.CalendarMonth{background:#fff;text-align:center;vertical-align:top;-webkit-user-select:none;user-select:none}.CalendarMonth_table{border-collapse:collapse;border-spacing:0}.CalendarMonth_verticalSpacing{border-collapse:initial}.CalendarMonth_caption{color:#484848;font-size:18px;text-align:center;padding-top:22px;padding-bottom:37px;caption-side:top}.CalendarMonth_caption__verticalScrollable{padding-top:12px;padding-bottom:7px}.CalendarMonthGrid{background:#fff;text-align:left;z-index:0}.CalendarMonthGrid__animating{z-index:1}.CalendarMonthGrid__horizontal{position:absolute;left:0}.CalendarMonthGrid__vertical{margin:0 auto}.CalendarMonthGrid__vertical_scrollable{margin:0 auto;overflow-y:scroll}.CalendarMonthGrid_month__horizontal{display:inline-block;vertical-align:top;min-height:100%}.CalendarMonthGrid_month__hideForAnimation{position:absolute;z-index:-1;opacity:0;pointer-events:none}.CalendarMonthGrid_month__hidden{visibility:hidden}.DayPickerNavigation{position:relative;z-index:2}.DayPickerNavigation__horizontal{height:0}.DayPickerNavigation__verticalDefault{position:absolute;width:100%;height:52px;bottom:0;left:0}.DayPickerNavigation__verticalScrollableDefault{position:relative}.DayPickerNavigation_button{cursor:pointer;-webkit-user-select:none;user-select:none;border:0;padding:0;margin:0}.DayPickerNavigation_button__default{border:1px solid #e4e7e7;background-color:#fff;color:#757575}.DayPickerNavigation_button__default:focus,.DayPickerNavigation_button__default:hover{border:1px solid #c4c4c4}.DayPickerNavigation_button__default:active{background:#f2f2f2}.DayPickerNavigation_button__horizontalDefault{position:absolute;top:18px;line-height:.78;border-radius:3px;padding:6px 9px}.DayPickerNavigation_leftButton__horizontalDefault{left:22px}.DayPickerNavigation_rightButton__horizontalDefault{right:22px}.DayPickerNavigation_button__verticalDefault{padding:5px;background:#fff;box-shadow:0 0 5px 2px rgba(0,0,0,.1);position:relative;display:inline-block;height:100%;width:50%}.DayPickerNavigation_nextButton__verticalDefault{border-left:0}.DayPickerNavigation_nextButton__verticalScrollableDefault{width:100%}.DayPickerNavigation_svg__horizontal{height:19px;width:19px;fill:#82888a;display:block}.DayPickerNavigation_svg__vertical{height:42px;width:42px;fill:#484848;display:block}.DayPicker{position:relative;text-align:left}.DayPicker,.DayPicker__horizontal{background:#fff}.DayPicker__verticalScrollable{height:100%}.DayPicker__hidden{visibility:hidden}.DayPicker__withBorder{box-shadow:0 2px 6px rgba(0,0,0,.05),0 0 0 1px rgba(0,0,0,.07);border-radius:3px}.DayPicker_portal__horizontal{box-shadow:none;position:absolute;left:50%;top:50%}.DayPicker_portal__vertical{position:static}.DayPicker_focusRegion{outline:0}.DayPicker_calendarInfo__horizontal,.DayPicker_wrapper__horizontal{display:inline-block;vertical-align:top}.DayPicker_weekHeaders{position:relative}.DayPicker_weekHeaders__horizontal{margin-left:13px}.DayPicker_weekHeader{color:#757575;position:absolute;top:62px;z-index:2;text-align:left;padding:0!important}.DayPicker_weekHeader__vertical{left:50%}.DayPicker_weekHeader__verticalScrollable{top:0;display:table-row;border-bottom:1px solid #dbdbdb;background:#fff;margin-left:0;left:0;width:100%;text-align:center}.DayPicker_weekHeader_ul{list-style:none;margin:1px 0;padding-left:0;padding-right:0;font-size:14px}.DayPicker_weekHeader_li{display:inline-block;text-align:center;margin:0 1px}.DayPicker_transitionContainer{position:relative;overflow:hidden;border-radius:3px}.DayPicker_transitionContainer__horizontal{transition:height .2s ease-in-out}.DayPicker_transitionContainer__vertical{width:100%}.DayPicker_transitionContainer__verticalScrollable{padding-top:20px;height:100%;position:absolute;top:0;bottom:0;right:0;left:0;overflow-y:scroll}.DateInput{margin:0;padding:0;background:#fff;position:relative;display:inline-block;width:130px;vertical-align:middle}.DateInput__small{width:97px}.DateInput__block{width:100%}.DateInput__disabled{background:#f2f2f2;color:#dbdbdb}.DateInput_input{font-weight:200;font-size:19px;line-height:24px;color:#484848;background-color:#fff;width:100%;padding:11px 11px 9px;border:0;border-bottom:2px solid transparent;border-radius:0}.DateInput_input__small{font-size:15px;line-height:18px;letter-spacing:.2px;padding:7px 7px 5px}.DateInput_input__regular{font-weight:auto}.DateInput_input__readOnly{-webkit-user-select:none;user-select:none}.DateInput_input__focused{outline:0;background:#fff;border:0;border-bottom:2px solid #008489}.DateInput_input__disabled{background:#f2f2f2;font-style:italic}.DateInput_screenReaderMessage{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.DateInput_fang{position:absolute;width:20px;height:10px;left:22px;z-index:2}.DateInput_fangShape{fill:#fff}.DateInput_fangStroke{stroke:#dbdbdb;fill:transparent}.DateRangePickerInput{background-color:#fff;display:inline-block}.DateRangePickerInput__disabled{background:#f2f2f2}.DateRangePickerInput__withBorder{border-radius:2px;border:1px solid #dbdbdb}.DateRangePickerInput__rtl{direction:rtl}.DateRangePickerInput__block{display:block}.DateRangePickerInput__showClearDates{padding-right:30px}.DateRangePickerInput_arrow{display:inline-block;vertical-align:middle;color:#484848}.DateRangePickerInput_arrow_svg{vertical-align:middle;fill:#484848;height:24px;width:24px}.DateRangePickerInput_clearDates{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;cursor:pointer;padding:10px;margin:0 10px 0 5px;position:absolute;right:0;top:50%;transform:translateY(-50%)}.DateRangePickerInput_clearDates__small{padding:6px}.DateRangePickerInput_clearDates_default:focus,.DateRangePickerInput_clearDates_default:hover{background:#dbdbdb;border-radius:50%}.DateRangePickerInput_clearDates__hide{visibility:hidden}.DateRangePickerInput_clearDates_svg{fill:#82888a;height:12px;width:15px;vertical-align:middle}.DateRangePickerInput_clearDates_svg__small{height:9px}.DateRangePickerInput_calendarIcon{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;cursor:pointer;display:inline-block;vertical-align:middle;padding:10px;margin:0 5px 0 10px}.DateRangePickerInput_calendarIcon_svg{fill:#82888a;height:15px;width:14px;vertical-align:middle}.DateRangePicker{position:relative;display:inline-block}.DateRangePicker__block{display:block}.DateRangePicker_picker{z-index:1;background-color:#fff;position:absolute}.DateRangePicker_picker__rtl{direction:rtl}.DateRangePicker_picker__directionLeft{left:0}.DateRangePicker_picker__directionRight{right:0}.DateRangePicker_picker__portal{background-color:rgba(0,0,0,.3);position:fixed;top:0;left:0;height:100%;width:100%}.DateRangePicker_picker__fullScreenPortal{background-color:#fff}.DateRangePicker_closeButton{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;cursor:pointer;position:absolute;top:0;right:0;padding:15px;z-index:2}.DateRangePicker_closeButton:focus,.DateRangePicker_closeButton:hover{color:#b0b3b4;text-decoration:none}.DateRangePicker_closeButton_svg{height:15px;width:15px;fill:#cacccd}.components-datetime{padding:16px}.components-panel__body .components-datetime{padding:0}.components-datetime .components-datetime__calendar-help{padding:16px}.components-datetime .components-datetime__calendar-help h4{margin:0}.components-datetime .components-datetime__buttons{display:flex;justify-content:space-between}.components-datetime .components-datetime__date-help-toggle{display:block;margin-right:auto}.components-datetime fieldset{border:0;padding:0;margin:0}.components-datetime input,.components-datetime select{box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:2px;border:1px solid #757575}@media (prefers-reduced-motion:reduce){.components-datetime input,.components-datetime select{transition-duration:0s;transition-delay:0s}}.components-datetime .components-button,.components-datetime input[type=number],.components-datetime select{height:30px;margin-top:0;margin-bottom:0}.components-datetime__date{min-height:236px;border-top:1px solid #ddd}.components-datetime__date .DayPickerNavigation_leftButton__horizontalDefault{left:13px}.components-datetime__date .CalendarMonth_caption{font-size:13px}.components-datetime__date .CalendarMonth_table{border-collapse:initial;border-spacing:2px}.components-datetime__date .CalendarDay{font-size:13px;border:none;border-radius:50%;text-align:center}.components-datetime__date .CalendarDay:focus{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color),inset 0 0 0 3px #fff;outline:2px solid transparent}.components-datetime__date .CalendarDay__selected{background:var(--wp-admin-theme-color);border:2px solid transparent}.components-datetime__date .CalendarDay__selected:hover{background:var(--wp-admin-theme-color-darker-20)}.components-datetime__date .CalendarDay__selected:focus{box-shadow:inset 0 0 0 1px #fff}.components-datetime__date .DayPickerNavigation_button__horizontalDefault{padding:2px 8px;top:20px}.components-datetime__date .DayPickerNavigation_button__horizontalDefault:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color);outline:2px solid transparent}.components-datetime__date .DayPicker_weekHeader{top:50px}.components-datetime__date .DayPicker_weekHeader .DayPicker_weekHeader_ul{margin:1px;padding-right:0;padding-left:0}.components-datetime__date.is-description-visible .DayPicker{visibility:hidden}.components-datetime__date .CalendarDay .components-datetime__date__day{height:100%;display:flex;justify-content:center;align-content:center;flex-direction:column;position:relative}.components-datetime__date .CalendarDay .components-datetime__date__day.has-events:before{content:" ";width:4px;height:4px;border-radius:2px;position:absolute;right:50%;margin-right:-2px;bottom:0;background-color:#fff}.components-datetime__date .CalendarDay:not(.CalendarDay__selected) .components-datetime__date__day.has-events:before{background:var(--wp-admin-theme-color)}.components-datetime__time{padding-bottom:16px}.components-datetime__time fieldset{position:relative;margin-bottom:.5em}.components-datetime__time fieldset+fieldset{margin-bottom:0}.components-datetime__time .components-datetime__time-field-am-pm fieldset{margin-top:0}.components-datetime__time .components-datetime__time-wrapper{display:flex}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-separator{display:inline-block;padding:0 0 0 3px}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field-time{direction:ltr}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field select{margin-left:4px}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field select:focus{position:relative;z-index:1}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field input[type=number]{padding:2px;margin-left:4px;text-align:center;-moz-appearance:textfield}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field input[type=number]:focus{position:relative;z-index:1}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.components-datetime__time.is-12-hour .components-datetime__time-field-day input{margin:-4px 0 0!important;border-radius:0 2px 2px 0!important}.components-datetime__time.is-12-hour .components-datetime__time-field-year input{border-radius:2px 0 0 2px!important}.components-datetime__timezone{line-height:30px;margin-right:4px;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.components-datetime__time-legend{font-weight:600;margin-top:.5em}.components-datetime__time-legend.invisible{position:absolute;top:-999em;right:-999em}.components-datetime__time-field-day-input,.components-datetime__time-field-hours-input,.components-datetime__time-field-minutes-input{width:35px}.components-datetime__time-field-year-input{width:55px}.components-datetime__time-field-month-select{max-width:145px}.components-popover .components-datetime__date{padding-right:4px}.block-editor-dimension-control .components-base-control__field{display:flex;align-items:center}.block-editor-dimension-control .components-base-control__label{display:flex;align-items:center;margin-left:1em;margin-bottom:0}.block-editor-dimension-control .components-base-control__label .dashicon{margin-left:.5em}.block-editor-dimension-control.is-manual .components-base-control__label{width:10em}body.is-dragging-components-draggable{cursor:move;cursor:grabbing!important}.components-draggable__invisible-drag-image{position:fixed;right:-1000px;height:50px;width:50px}.components-draggable__clone{position:fixed;padding:0;background:transparent;pointer-events:none;z-index:1000000000}.components-drop-zone{position:absolute;top:0;left:0;bottom:0;right:0;z-index:40;visibility:hidden;opacity:0;transition:opacity .3s,background-color .3s,visibility 0s .3s;border:2px solid var(--wp-admin-theme-color);border-radius:2px}@media (prefers-reduced-motion:reduce){.components-drop-zone{transition-duration:0s;transition-delay:0s}}.components-drop-zone.is-active{opacity:1;visibility:visible;transition:opacity .3s,background-color .3s}@media (prefers-reduced-motion:reduce){.components-drop-zone.is-active{transition-duration:0s;transition-delay:0s}}.components-drop-zone.is-dragging-over-element{background-color:var(--wp-admin-theme-color)}.components-drop-zone__content{position:absolute;top:50%;right:0;left:0;z-index:50;transform:translateY(-50%);width:100%;text-align:center;color:#fff;transition:transform .2s ease-in-out}@media (prefers-reduced-motion:reduce){.components-drop-zone__content{transition-duration:0s;transition-delay:0s}}.components-drop-zone.is-dragging-over-element .components-drop-zone__content{transform:translateY(-50%) scale(1.05)}.components-drop-zone__content-icon,.components-drop-zone__content-text{display:block}.components-drop-zone__content-icon{margin:0 auto;line-height:0;fill:currentColor}.components-drop-zone__content-text{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.components-dropdown{display:inline-block}.components-dropdown__content .components-popover__content>div{padding:12px}.components-dropdown-menu__popover .components-popover__content{min-width:200px}.components-dropdown-menu__menu{width:100%;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:1.4}.components-dropdown-menu__menu .components-dropdown-menu__menu-item,.components-dropdown-menu__menu .components-menu-item{width:100%;padding:6px;outline:none;cursor:pointer;white-space:nowrap}.components-dropdown-menu__menu .components-dropdown-menu__menu-item.has-separator,.components-dropdown-menu__menu .components-menu-item.has-separator{margin-top:6px;position:relative;overflow:visible}.components-dropdown-menu__menu .components-dropdown-menu__menu-item.has-separator:before,.components-dropdown-menu__menu .components-menu-item.has-separator:before{display:block;content:"";box-sizing:initial;background-color:#ddd;position:absolute;top:-3px;right:0;left:0;height:1px}.components-dropdown-menu__menu .components-dropdown-menu__menu-item.is-active svg,.components-dropdown-menu__menu .components-menu-item.is-active svg{color:#fff;background:#1e1e1e;box-shadow:0 0 0 1px #1e1e1e;border-radius:1px}.components-dropdown-menu__menu .components-dropdown-menu__menu-item>svg,.components-dropdown-menu__menu .components-menu-item>svg{border-radius:2px;width:24px;height:24px}.components-dropdown-menu__menu .components-menu-item__button,.components-dropdown-menu__menu .components-menu-item__button.components-button{min-height:36px;height:auto;text-align:right;padding-right:8px;padding-left:8px}.components-dropdown-menu__menu .components-menu-group{padding:12px;margin:0 -12px}.components-dropdown-menu__menu .components-menu-group:first-child{margin-top:-12px}.components-dropdown-menu__menu .components-menu-group:last-child{margin-bottom:-12px}.components-dropdown-menu__menu .components-menu-group+.components-menu-group{margin-top:0;border-top:1px solid #ccc;padding:12px}.is-alternate .components-dropdown-menu__menu .components-menu-group+.components-menu-group{border-color:#1e1e1e}.components-font-size-picker__controls{max-width:248px;display:flex;flex-wrap:wrap;align-items:center;margin-bottom:24px}.components-font-size-picker__controls .components-unit-control-wrapper{margin-left:8px}.components-font-size-picker__controls .components-unit-control-wrapper .components-input-control__label{font-weight:300;padding-bottom:0!important;margin-bottom:8px!important}.components-font-size-picker__controls .components-custom-select-control__button{min-width:120px}.components-font-size-picker__controls .components-font-size-picker__number{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;padding:6px 8px;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:2px;border:1px solid #757575;font-size:16px;line-height:normal;display:inline-block;font-weight:500;height:30px;margin:8px 0 0 8px;width:54px}@media (prefers-reduced-motion:reduce){.components-font-size-picker__controls .components-font-size-picker__number{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.components-font-size-picker__controls .components-font-size-picker__number{font-size:13px;line-height:normal}}.components-font-size-picker__controls .components-font-size-picker__number:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color);outline:2px solid transparent}.components-font-size-picker__controls .components-font-size-picker__number::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.components-font-size-picker__controls .components-font-size-picker__number::-moz-placeholder{opacity:1;color:rgba(30,30,30,.62)}.components-font-size-picker__controls .components-font-size-picker__number:-ms-input-placeholder{color:rgba(30,30,30,.62)}.is-dark-theme .components-font-size-picker__controls .components-font-size-picker__number::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .components-font-size-picker__controls .components-font-size-picker__number::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .components-font-size-picker__controls .components-font-size-picker__number:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}.components-font-size-picker__controls .components-font-size-picker__number[value=""]+.components-button{cursor:default;opacity:.3;pointer-events:none}.components-font-size-picker__controls .components-font-size-picker__number-container{display:flex;flex-direction:column}.components-font-size-picker__controls .components-font-size-picker__select{margin-left:8px}.components-font-size-picker__controls .components-color-palette__clear{height:30px;margin-top:26px}.components-font-size-picker__custom-input .components-range-control__slider+.dashicon{width:30px;height:30px}.components-font-size-picker{border:0;padding:0;margin:0}.components-form-toggle{position:relative;display:inline-block}.components-form-toggle .components-form-toggle__track{content:"";display:inline-block;box-sizing:border-box;vertical-align:top;background-color:#fff;border:1px solid #1e1e1e;width:36px;height:18px;border-radius:9px;transition:background .2s ease}@media (prefers-reduced-motion:reduce){.components-form-toggle .components-form-toggle__track{transition-duration:0s;transition-delay:0s}}.components-form-toggle .components-form-toggle__thumb{display:block;position:absolute;box-sizing:border-box;top:3px;right:3px;width:12px;height:12px;border-radius:50%;transition:transform .1s ease;background-color:#1e1e1e;border:5px solid #1e1e1e}@media (prefers-reduced-motion:reduce){.components-form-toggle .components-form-toggle__thumb{transition-duration:0s;transition-delay:0s}}.components-form-toggle.is-checked .components-form-toggle__track{background-color:var(--wp-admin-theme-color);border:9px solid transparent}.components-form-toggle .components-form-toggle__input:focus+.components-form-toggle__track{box-shadow:0 0 0 2px #fff,0 0 0 4px var(--wp-admin-theme-color);outline:2px solid transparent;outline-offset:2px}.components-form-toggle.is-checked .components-form-toggle__thumb{background-color:#fff;border-width:0;transform:translateX(-18px)}.components-disabled .components-form-toggle,.components-form-toggle.is-disabled{opacity:.3}.components-form-toggle input.components-form-toggle__input[type=checkbox]{position:absolute;top:0;right:0;width:100%;height:100%;opacity:0;margin:0;padding:0;z-index:1;border:none}.components-form-toggle input.components-form-toggle__input[type=checkbox]:checked{background:none}.components-form-toggle input.components-form-toggle__input[type=checkbox]:before{content:""}.components-form-token-field__input-container{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:2px;border:1px solid #757575;font-size:16px;line-height:normal;display:flex;flex-wrap:wrap;align-items:center;width:100%;margin:0 0 8px;padding:2px 4px;cursor:text}@media (prefers-reduced-motion:reduce){.components-form-token-field__input-container{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.components-form-token-field__input-container{font-size:13px;line-height:normal}}.components-form-token-field__input-container:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color);outline:2px solid transparent}.components-form-token-field__input-container::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.components-form-token-field__input-container::-moz-placeholder{opacity:1;color:rgba(30,30,30,.62)}.components-form-token-field__input-container:-ms-input-placeholder{color:rgba(30,30,30,.62)}.is-dark-theme .components-form-token-field__input-container::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .components-form-token-field__input-container::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .components-form-token-field__input-container:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}.components-form-token-field__input-container.is-disabled{background:#ddd;border-color:#ddd}.components-form-token-field__input-container.is-active{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color);outline:2px solid transparent}.components-form-token-field__input-container input[type=text].components-form-token-field__input{display:inline-block;flex:1;font-size:16px;width:100%;max-width:100%;margin-right:4px;padding:0;min-height:24px;min-width:50px;background:inherit;border:0;color:#1e1e1e;box-shadow:none}@media (min-width:600px){.components-form-token-field__input-container input[type=text].components-form-token-field__input{font-size:13px}}.components-form-token-field.is-active .components-form-token-field__input-container input[type=text].components-form-token-field__input,.components-form-token-field__input-container input[type=text].components-form-token-field__input:focus{outline:none;box-shadow:none}.components-form-token-field__input-container .components-form-token-field__token+input[type=text].components-form-token-field__input{width:auto}.components-form-token-field__label{display:inline-block;margin-bottom:4px}.components-form-token-field__help{font-size:12px;font-style:normal;color:#757575}.components-form-token-field__token{font-size:13px;display:flex;margin:2px 0 2px 4px;color:#1e1e1e;max-width:100%}.components-form-token-field__token.is-success .components-form-token-field__remove-token,.components-form-token-field__token.is-success .components-form-token-field__token-text{background:#4ab866}.components-form-token-field__token.is-error .components-form-token-field__remove-token,.components-form-token-field__token.is-error .components-form-token-field__token-text{background:#cc1818}.components-form-token-field__token.is-validating .components-form-token-field__remove-token,.components-form-token-field__token.is-validating .components-form-token-field__token-text{color:#757575}.components-form-token-field__token.is-borderless{position:relative;padding:0 0 0 16px}.components-form-token-field__token.is-borderless .components-form-token-field__token-text{background:transparent;color:var(--wp-admin-theme-color)}.components-form-token-field__token.is-borderless .components-form-token-field__remove-token{background:transparent;color:#757575;position:absolute;top:1px;left:0}.components-form-token-field__token.is-borderless.is-success .components-form-token-field__token-text{color:#4ab866}.components-form-token-field__token.is-borderless.is-error .components-form-token-field__token-text{color:#cc1818;border-radius:0 4px 4px 0;padding:0 6px 0 4px}.components-form-token-field__token.is-borderless.is-validating .components-form-token-field__token-text{color:#1e1e1e}.components-form-token-field__token.is-disabled .components-form-token-field__remove-token{cursor:default}.components-form-token-field__remove-token.components-button,.components-form-token-field__token-text{display:inline-block;line-height:24px;height:auto;background:#ddd;min-width:unset;transition:all .2s cubic-bezier(.4,1,.4,1)}@media (prefers-reduced-motion:reduce){.components-form-token-field__remove-token.components-button,.components-form-token-field__token-text{transition-duration:0s;transition-delay:0s;animation-duration:1ms;animation-delay:0s}}.components-form-token-field__token-text{border-radius:0 2px 2px 0;padding:0 8px 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.components-form-token-field__remove-token.components-button{cursor:pointer;border-radius:2px 0 0 2px;padding:0 2px;color:#1e1e1e;line-height:10px;overflow:initial}.components-form-token-field__remove-token.components-button:hover{color:#1e1e1e}.components-form-token-field__suggestions-list{flex:1 0 100%;min-width:100%;max-height:9em;overflow-y:auto;transition:all .15s ease-in-out;list-style:none;border-top:1px solid #757575;margin:4px -4px -4px;padding:0}@media (prefers-reduced-motion:reduce){.components-form-token-field__suggestions-list{transition-duration:0s;transition-delay:0s}}.components-form-token-field__suggestion{color:#757575;display:block;font-size:13px;padding:4px 8px;margin:0;cursor:pointer}.components-form-token-field__suggestion.is-selected{background:var(--wp-admin-theme-color);color:#fff}.components-form-token-field__suggestion-match{text-decoration:underline}@media (min-width:600px){.components-guide{width:600px}}.components-guide .components-modal__header{background:none;border-bottom:none;width:100%;padding:0;margin:0}.components-guide .components-modal__header .components-button{align-self:flex-start;margin:8px 0 0 8px;position:static}.components-guide .components-modal__header .components-button:hover svg{fill:#fff}.components-guide__container{display:flex;flex-direction:column;justify-content:space-between;margin-top:-60px;min-height:100%}.components-guide__page{display:flex;flex-direction:column;justify-content:center;position:relative}@media (min-width:600px){.components-guide__page{min-height:300px}}.components-guide__footer{align-content:center;display:flex;height:30px;justify-content:center;margin:0 0 24px;padding:0 32px;position:relative;width:100%}@media (max-width:600px){.components-guide__footer{position:absolute;bottom:0}}.components-guide__page-control{margin:0;text-align:center}.components-guide__page-control li{display:inline-block;margin:0}.components-guide__page-control .components-button{height:30px;min-width:20px;margin:-6px 0}.components-guide .components-modal__content{padding:0}.components-modal__frame.components-guide{border:none;min-width:312px;height:80vh;max-height:575px}@media (max-width:600px){.components-modal__frame.components-guide{bottom:5%;right:16px;left:16px;top:5%;margin:0 auto}}.components-button.components-guide__back-button,.components-button.components-guide__finish-button,.components-button.components-guide__forward-button{height:30px;position:absolute}.components-button.components-guide__back-button,.components-button.components-guide__forward-button{font-size:13px;padding:4px 2px}.components-button.components-guide__back-button.has-text svg,.components-button.components-guide__forward-button.has-text svg{margin:0}.components-button.components-guide__back-button:hover,.components-button.components-guide__forward-button:hover{text-decoration:underline}.components-button.components-guide__back-button{right:32px}.components-button.components-guide__forward-button{left:32px;color:#1386bf;font-weight:700}.components-button.components-guide__finish-button{left:32px}.components-button.components-guide__inline-finish-button{display:none}[role=region]{position:relative}.is-focusing-regions [role=region]:focus:after{content:"";position:absolute;top:0;bottom:0;right:0;left:0;pointer-events:none;outline:4px solid transparent;box-shadow:inset 0 0 0 4px var(--wp-admin-theme-color)}@supports (outline-offset:1px){.is-focusing-regions [role=region]:focus:after{content:none}.is-focusing-regions [role=region]:focus{outline-style:solid;outline-color:var(--wp-admin-theme-color);outline-width:4px;outline-offset:-4px}}.components-menu-group+.components-menu-group{margin-top:8px;padding-top:8px;border-top:1px solid #1e1e1e}.components-menu-group+.components-menu-group.has-hidden-separator{border-top:none;margin-top:0;padding-top:0}.components-menu-group__label{padding:0 8px;margin-top:4px;margin-bottom:12px;color:#757575;text-transform:uppercase;font-size:11px;font-weight:500}.components-menu-item__button,.components-menu-item__button.components-button{width:100%}.components-menu-item__button.components-button .components-menu-items__item-icon,.components-menu-item__button .components-menu-items__item-icon{margin-left:-2px;margin-right:24px;display:inline-block;flex:0 0 auto}.components-menu-item__button.components-button .components-menu-item__shortcut+.components-menu-items__item-icon,.components-menu-item__button .components-menu-item__shortcut+.components-menu-items__item-icon{margin-right:8px}.components-menu-item__button .block-editor-block-icon,.components-menu-item__button.components-button .block-editor-block-icon{margin-right:-2px;margin-left:8px}.components-menu-item__button.components-button.is-primary,.components-menu-item__button.is-primary{justify-content:center}.components-menu-item__button.components-button.is-primary .components-menu-item__item,.components-menu-item__button.is-primary .components-menu-item__item{margin-left:0}.components-menu-item__info-wrapper{display:flex;flex-direction:column;margin-left:auto}.components-menu-item__info{margin-top:4px;font-size:12px;color:#757575;white-space:normal}.components-menu-item__item{white-space:nowrap;margin-left:auto;display:inline-flex;align-items:center}.components-menu-item__shortcut{align-self:center;margin-left:0;margin-right:auto;padding-right:24px;color:currentColor;display:none}@media (min-width:480px){.components-menu-item__shortcut{display:inline}}.components-menu-items-choice.components-button svg,.components-menu-items-choice svg{margin-left:12px}.components-menu-items-choice.components-button.has-icon,.components-menu-items-choice.has-icon{padding-right:12px}.components-modal__screen-overlay{position:fixed;top:0;left:0;bottom:0;right:0;background-color:rgba(0,0,0,.35);z-index:100000;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.components-modal__screen-overlay{animation-duration:1ms;animation-delay:0s}}.components-modal__frame{position:absolute;top:0;left:0;bottom:0;right:0;box-sizing:border-box;margin:0;background:#fff;box-shadow:0 10px 10px rgba(0,0,0,.25);border-radius:2px;overflow:auto}@media (min-width:600px){.components-modal__frame{top:50%;left:auto;bottom:auto;right:50%;min-width:360px;max-width:calc(100% - 32px);max-height:90%;transform:translate(50%,-50%);animation:components-modal__appear-animation .1s ease-out;animation-fill-mode:forwards}}@media (min-width:600px) and (prefers-reduced-motion:reduce){.components-modal__frame{animation-duration:1ms;animation-delay:0s}}@keyframes components-modal__appear-animation{0%{margin-top:32px}to{margin-top:0}}.components-modal__header{box-sizing:border-box;border-bottom:1px solid #ddd;padding:0 32px;display:flex;flex-direction:row;justify-content:space-between;background:#fff;align-items:center;height:60px;z-index:10;position:relative;position:sticky;top:0;margin:0 -32px 24px}@supports (-ms-ime-align:auto){.components-modal__header{position:fixed;width:100%}}.components-modal__header .components-modal__header-heading{font-size:1rem;font-weight:600}.components-modal__header h1{line-height:1;margin:0}.components-modal__header .components-button{position:relative;right:8px}.components-modal__header-heading-container{align-items:center;flex-grow:1;display:flex;flex-direction:row;justify-content:left}.components-modal__header-icon-container{display:inline-block}.components-modal__header-icon-container svg{max-width:36px;max-height:36px;padding:8px}.components-modal__content{box-sizing:border-box;height:100%;padding:0 32px 24px}@supports (-ms-ime-align:auto){.components-modal__content{padding-top:60px}}.components-notice{display:flex;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;background-color:#fff;border-right:4px solid var(--wp-admin-theme-color);margin:5px 15px 2px;padding:8px 12px;align-items:center}.components-notice.is-dismissible{padding-left:36px;position:relative}.components-notice.is-success{border-right-color:#4ab866;background-color:#eff9f1}.components-notice.is-warning{border-right-color:#f0b849;background-color:#fef8ee}.components-notice.is-error{border-right-color:#cc1818;background-color:#f4a2a2}.components-notice__content{flex-grow:1;margin:4px 0 4px 25px}.components-notice__actions{display:flex;flex-wrap:wrap}.components-notice__action.components-button{margin-left:8px}.components-notice__action.components-button,.components-notice__action.components-button.is-link{margin-right:12px}.components-notice__action.components-button.is-secondary{vertical-align:initial}.components-notice__dismiss{color:#757575;align-self:flex-start;flex-shrink:0}.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):focus,.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-secondary):active,.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover{color:#1e1e1e;background-color:initial}.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover{box-shadow:none}.components-notice-list{max-width:100vw;box-sizing:border-box}.components-notice-list .components-notice__content{margin-top:12px;margin-bottom:12px;line-height:2}.components-notice-list .components-notice__action.components-button{display:block;margin-right:0;margin-top:8px}.components-panel{background:#fff;border:1px solid #e0e0e0}.components-panel>.components-panel__body:first-child,.components-panel>.components-panel__header:first-child{margin-top:-1px}.components-panel>.components-panel__body:last-child,.components-panel>.components-panel__header:last-child{border-bottom-width:0}.components-panel+.components-panel{margin-top:-1px}.components-panel__body{border-top:1px solid #e0e0e0;border-bottom:1px solid #e0e0e0}.components-panel__body h3{margin:0 0 .5em}.components-panel__body.is-opened{padding:16px}.components-panel__header{display:flex;justify-content:space-between;align-items:center;padding:0 16px;height:48px;border-top:1px solid #ddd;border-bottom:1px solid #ddd}.components-panel__header h2{margin:0;font-size:inherit;color:inherit}.components-panel__body+.components-panel__body,.components-panel__body+.components-panel__header,.components-panel__header+.components-panel__body,.components-panel__header+.components-panel__header{margin-top:-1px}.components-panel__body>.components-panel__body-title{display:block;padding:0;font-size:inherit;margin-top:0;margin-bottom:0;transition:background .1s ease-in-out}@media (prefers-reduced-motion:reduce){.components-panel__body>.components-panel__body-title{transition-duration:0s;transition-delay:0s}}.components-panel__body.is-opened>.components-panel__body-title{margin:-16px -16px 5px}.components-panel__body>.components-panel__body-title:hover{background:#f0f0f0;border:none}.components-panel__body-toggle.components-button{position:relative;padding:16px 16px 16px 48px;outline:none;width:100%;font-weight:500;text-align:right;color:#1e1e1e;border:none;box-shadow:none;transition:background .1s ease-in-out;height:auto}@media (prefers-reduced-motion:reduce){.components-panel__body-toggle.components-button{transition-duration:0s;transition-delay:0s}}.components-panel__body-toggle.components-button:focus{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);border-radius:0}.components-panel__body-toggle.components-button .components-panel__arrow{position:absolute;left:16px;top:50%;transform:translateY(-50%);color:#1e1e1e;fill:currentColor;transition:color .1s ease-in-out}@media (prefers-reduced-motion:reduce){.components-panel__body-toggle.components-button .components-panel__arrow{transition-duration:0s;transition-delay:0s}}body.rtl .components-panel__body-toggle.components-button .dashicons-arrow-right{transform:scaleX(-1);-ms-filter:fliph;filter:FlipH;margin-top:-10px}.components-panel__icon{color:#757575;margin:-2px 6px -2px 0}.components-panel__body-toggle-icon{margin-left:-5px}.components-panel__color-title{float:right;height:19px}.components-panel__row{display:flex;justify-content:space-between;align-items:center;margin-top:8px;min-height:36px}.components-panel__row select{min-width:0}.components-panel__row label{margin-left:12px;flex-shrink:0;max-width:75%}.components-panel__row:empty,.components-panel__row:first-of-type{margin-top:0}.components-panel .circle-picker{padding-bottom:20px}.components-placeholder.components-placeholder{box-sizing:border-box;position:relative;padding:1em;min-height:200px;width:100%;text-align:right;margin:0;color:#1e1e1e;-moz-font-smoothing:subpixel-antialiased;-webkit-font-smoothing:subpixel-antialiased;border-radius:2px;background-color:#fff;box-shadow:inset 0 0 0 1px #1e1e1e;outline:1px solid transparent}@supports (position:sticky){.components-placeholder.components-placeholder{display:flex;flex-direction:column;justify-content:center;align-items:flex-start}}.components-placeholder.components-placeholder .components-base-control__label{font-size:13px}.components-placeholder__error,.components-placeholder__fieldset,.components-placeholder__instructions,.components-placeholder__label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.components-placeholder__label{display:flex;font-weight:600;margin-bottom:16px;align-items:center}.components-placeholder__label .block-editor-block-icon,.components-placeholder__label .dashicon,.components-placeholder__label>svg{fill:currentColor;margin-left:1ch}.components-placeholder__label:empty{display:none}.components-placeholder__fieldset,.components-placeholder__fieldset form{display:flex;flex-direction:row;width:100%;flex-wrap:wrap}.components-placeholder__fieldset form p,.components-placeholder__fieldset p{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.components-placeholder__fieldset.is-column-layout,.components-placeholder__fieldset.is-column-layout form{flex-direction:column}.components-placeholder__input[type=url]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;padding:6px 8px;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:2px;border:1px solid #757575;font-size:16px;line-height:normal;margin:0 0 0 8px;flex:1 1 auto}@media (prefers-reduced-motion:reduce){.components-placeholder__input[type=url]{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.components-placeholder__input[type=url]{font-size:13px;line-height:normal}}.components-placeholder__input[type=url]:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color);outline:2px solid transparent}.components-placeholder__input[type=url]::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.components-placeholder__input[type=url]::-moz-placeholder{opacity:1;color:rgba(30,30,30,.62)}.components-placeholder__input[type=url]:-ms-input-placeholder{color:rgba(30,30,30,.62)}.is-dark-theme .components-placeholder__input[type=url]::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .components-placeholder__input[type=url]::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .components-placeholder__input[type=url]:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}.components-placeholder__instructions{margin-bottom:1em}.components-placeholder__error{margin-top:1em;width:100%}.components-placeholder__preview img{margin:3%;width:50%}.components-placeholder__fieldset .components-button{margin-left:12px;margin-bottom:12px}.components-placeholder__fieldset .components-button:last-child{margin-bottom:0;margin-left:0}.components-placeholder__fieldset .components-button:not(.is-link)~.components-button.is-link{margin-right:10px;margin-left:10px}.components-placeholder__fieldset .components-button:not(.is-link)~.components-button.is-link:last-child{margin-left:0}.components-placeholder.is-large .components-placeholder__label{font-size:18pt;font-weight:400}.components-placeholder.is-medium .components-placeholder__instructions,.components-placeholder.is-small .components-placeholder__instructions{display:none}.components-placeholder.is-medium .components-placeholder__fieldset,.components-placeholder.is-medium .components-placeholder__fieldset form,.components-placeholder.is-small .components-placeholder__fieldset,.components-placeholder.is-small .components-placeholder__fieldset form{flex-direction:column}.components-placeholder.is-medium .components-placeholder__fieldset .components-button,.components-placeholder.is-small .components-placeholder__fieldset .components-button{margin-left:auto}.components-placeholder.is-small .components-button{padding:0 8px 2px}.components-popover{position:fixed;z-index:1000000;top:0;left:0;opacity:0}.components-popover.is-expanded,.components-popover[data-x-axis][data-y-axis]{opacity:1}.components-popover.is-expanded{top:0;left:0;right:0;bottom:0;z-index:1000000!important}.components-popover:not(.is-without-arrow){margin-left:2px}.components-popover:not(.is-without-arrow):before{border:8px solid #ccc}.components-popover:not(.is-without-arrow).is-alternate:before{border-color:#1e1e1e}.components-popover:not(.is-without-arrow):after{border:8px solid #fff}.components-popover:not(.is-without-arrow):after,.components-popover:not(.is-without-arrow):before{content:"";position:absolute;height:0;width:0;line-height:0}.components-popover:not(.is-without-arrow)[data-y-axis=top]{margin-top:-8px}.components-popover:not(.is-without-arrow)[data-y-axis=top]:before{bottom:-8px}.components-popover:not(.is-without-arrow)[data-y-axis=top]:after{bottom:-6px}.components-popover:not(.is-without-arrow)[data-y-axis=top]:after,.components-popover:not(.is-without-arrow)[data-y-axis=top]:before{border-bottom:none;border-left-color:transparent;border-right-color:transparent;border-top-style:solid;margin-left:-10px}.components-popover:not(.is-without-arrow)[data-y-axis=bottom]{margin-top:8px}.components-popover:not(.is-without-arrow)[data-y-axis=bottom]:before{top:-8px}.components-popover:not(.is-without-arrow)[data-y-axis=bottom]:after{top:-6px}.components-popover:not(.is-without-arrow)[data-y-axis=bottom]:after,.components-popover:not(.is-without-arrow)[data-y-axis=bottom]:before{border-bottom-style:solid;border-left-color:transparent;border-right-color:transparent;border-top:none;margin-left:-10px}.components-popover:not(.is-without-arrow)[data-y-axis=middle][data-x-axis=left]{margin-left:-8px}.components-popover:not(.is-without-arrow)[data-y-axis=middle][data-x-axis=left]:before{right:-8px}.components-popover:not(.is-without-arrow)[data-y-axis=middle][data-x-axis=left]:after{right:-6px}.components-popover:not(.is-without-arrow)[data-y-axis=middle][data-x-axis=left]:after,.components-popover:not(.is-without-arrow)[data-y-axis=middle][data-x-axis=left]:before{border-bottom-color:transparent;border-left-style:solid;border-right:none;border-top-color:transparent}.components-popover:not(.is-without-arrow)[data-y-axis=middle][data-x-axis=right]{margin-left:8px}.components-popover:not(.is-without-arrow)[data-y-axis=middle][data-x-axis=right]:before{left:-8px}.components-popover:not(.is-without-arrow)[data-y-axis=middle][data-x-axis=right]:after{left:-6px}.components-popover:not(.is-without-arrow)[data-y-axis=middle][data-x-axis=right]:after,.components-popover:not(.is-without-arrow)[data-y-axis=middle][data-x-axis=right]:before{border-bottom-color:transparent;border-left:none;border-right-style:solid;border-top-color:transparent}.components-popover[data-y-axis=top]{bottom:100%}.components-popover[data-y-axis=bottom]{top:100%}.components-popover[data-y-axis=middle]{align-items:center;display:flex}.components-popover.is-from-top{margin-top:12px}.components-popover.is-from-bottom{margin-top:-12px}.components-popover.is-from-left:not(.is-from-top):not(.is-from-bottom){margin-left:12px}.components-popover.is-from-right:not(.is-from-top):not(.is-from-bottom){margin-right:12px}.components-popover__content{height:100%;background:#fff;border:1px solid #ccc;box-shadow:0 2px 6px rgba(0,0,0,.05);border-radius:2px}.is-alternate .components-popover__content{border:1px solid #1e1e1e;box-shadow:none}.components-popover .components-popover__content{position:absolute;height:auto;overflow-y:auto}.components-popover.is-expanded .components-popover__content{position:static;height:calc(100% - 48px);overflow-y:visible;min-width:auto;border:none;border-top:1px solid #1e1e1e}.components-popover[data-y-axis=top] .components-popover__content{bottom:100%}.components-popover[data-x-axis=center] .components-popover__content{left:50%;transform:translateX(-50%)}.components-popover[data-x-axis=right] .components-popover__content{position:absolute;left:100%}.components-popover:not([data-y-axis=middle])[data-x-axis=right] .components-popover__content{margin-left:-25px}.components-popover[data-x-axis=left] .components-popover__content{position:absolute;right:100%}.components-popover:not([data-y-axis=middle])[data-x-axis=left] .components-popover__content{margin-right:-25px}.components-popover__header{align-items:center;background:#fff;display:flex;height:48px;justify-content:space-between;padding:0 8px 0 16px}.components-popover__header-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.components-popover__close.components-button{z-index:5}.components-radio-control{display:flex;flex-direction:column}.components-radio-control .components-base-control__help{margin-top:0}.components-radio-control .components-base-control__field{margin-bottom:0}.components-radio-control__option:not(:last-child){margin-bottom:4px}.components-radio-control__input[type=radio]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;padding:6px 8px;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:2px;font-size:16px;line-height:normal;border:1px solid #1e1e1e;transition:none;border-radius:50%;width:24px;height:24px;margin-top:0;margin-left:6px}@media (prefers-reduced-motion:reduce){.components-radio-control__input[type=radio]{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.components-radio-control__input[type=radio]{font-size:13px;line-height:normal}}.components-radio-control__input[type=radio]:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color)}.components-radio-control__input[type=radio]::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.components-radio-control__input[type=radio]::-moz-placeholder{opacity:1;color:rgba(30,30,30,.62)}.components-radio-control__input[type=radio]:-ms-input-placeholder{color:rgba(30,30,30,.62)}.is-dark-theme .components-radio-control__input[type=radio]::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .components-radio-control__input[type=radio]::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .components-radio-control__input[type=radio]:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}@media (min-width:600px){.components-radio-control__input[type=radio]{height:20px;width:20px}}.components-radio-control__input[type=radio]:checked:before{box-sizing:inherit;width:8px;height:8px;transform:translate(-7px,7px);margin:0;background-color:#fff;border:4px solid #fff}@media (min-width:600px){.components-radio-control__input[type=radio]:checked:before{transform:translate(-5px,5px)}}.components-radio-control__input[type=radio]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px var(--wp-admin-theme-color);outline:2px solid transparent}.components-radio-control__input[type=radio]:checked{background:var(--wp-admin-theme-color);border-color:var(--wp-admin-theme-color)}.components-resizable-box__handle{display:none;width:23px;height:23px;z-index:2}.components-resizable-box__container.has-show-handle .components-resizable-box__handle{display:block}.components-resizable-box__handle:after{display:block;content:"";width:15px;height:15px;border:2px solid var(--wp-admin-theme-color);border-radius:50%;background:#fff;cursor:inherit;position:absolute;top:calc(50% - 8px);left:calc(50% - 8px)}.components-resizable-box__side-handle:before{display:block;border-radius:2px;content:"";width:3px;height:3px;background:var(--wp-admin-theme-color);cursor:inherit;position:absolute;top:calc(50% - 1px);left:calc(50% - 1px);transition:transform .1s ease-in;opacity:0}@media (prefers-reduced-motion:reduce){.components-resizable-box__side-handle:before{transition-duration:0s;transition-delay:0s}}.components-resizable-box__corner-handle,.components-resizable-box__side-handle{z-index:2}.components-resizable-box__side-handle.components-resizable-box__handle-bottom,.components-resizable-box__side-handle.components-resizable-box__handle-bottom:before,.components-resizable-box__side-handle.components-resizable-box__handle-top,.components-resizable-box__side-handle.components-resizable-box__handle-top:before{width:100%;right:0;border-right:0;border-left:0}.components-resizable-box__side-handle.components-resizable-box__handle-left,.components-resizable-box__side-handle.components-resizable-box__handle-left:before,.components-resizable-box__side-handle.components-resizable-box__handle-right,.components-resizable-box__side-handle.components-resizable-box__handle-right:before{height:100%;top:0;border-top:0;border-bottom:0}.components-resizable-box__side-handle.components-resizable-box__handle-bottom:active:before,.components-resizable-box__side-handle.components-resizable-box__handle-bottom:hover:before,.components-resizable-box__side-handle.components-resizable-box__handle-top:active:before,.components-resizable-box__side-handle.components-resizable-box__handle-top:hover:before{animation:components-resizable-box__top-bottom-animation .1s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.components-resizable-box__side-handle.components-resizable-box__handle-bottom:active:before,.components-resizable-box__side-handle.components-resizable-box__handle-bottom:hover:before,.components-resizable-box__side-handle.components-resizable-box__handle-top:active:before,.components-resizable-box__side-handle.components-resizable-box__handle-top:hover:before{animation-duration:1ms;animation-delay:0s}}.components-resizable-box__side-handle.components-resizable-box__handle-left:active:before,.components-resizable-box__side-handle.components-resizable-box__handle-left:hover:before,.components-resizable-box__side-handle.components-resizable-box__handle-right:active:before,.components-resizable-box__side-handle.components-resizable-box__handle-right:hover:before{animation:components-resizable-box__left-right-animation .1s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.components-resizable-box__side-handle.components-resizable-box__handle-left:active:before,.components-resizable-box__side-handle.components-resizable-box__handle-left:hover:before,.components-resizable-box__side-handle.components-resizable-box__handle-right:active:before,.components-resizable-box__side-handle.components-resizable-box__handle-right:hover:before{animation-duration:1ms;animation-delay:0s}}@media not all and (-webkit-min-device-pixel-ratio:0),not all and (min-resolution:0.001dpcm){@supports (-webkit-appearance:none){.components-resizable-box__side-handle.components-resizable-box__handle-bottom:active:before,.components-resizable-box__side-handle.components-resizable-box__handle-bottom:hover:before,.components-resizable-box__side-handle.components-resizable-box__handle-left:active:before,.components-resizable-box__side-handle.components-resizable-box__handle-left:hover:before,.components-resizable-box__side-handle.components-resizable-box__handle-right:active:before,.components-resizable-box__side-handle.components-resizable-box__handle-right:hover:before,.components-resizable-box__side-handle.components-resizable-box__handle-top:active:before,.components-resizable-box__side-handle.components-resizable-box__handle-top:hover:before{animation:none}}}@keyframes components-resizable-box__top-bottom-animation{0%{transform:scaleX(0);opacity:0}to{transform:scaleX(1);opacity:1}}@keyframes components-resizable-box__left-right-animation{0%{transform:scaleY(0);opacity:0}to{transform:scaleY(1);opacity:1}}.components-resizable-box__handle-right{right:-11.5px}.components-resizable-box__handle-left{left:-11.5px}.components-resizable-box__handle-top{top:-11.5px}.components-resizable-box__handle-bottom{bottom:-11.5px}.components-responsive-wrapper{position:relative;max-width:100%}.components-responsive-wrapper,.components-responsive-wrapper>span{display:block}.components-responsive-wrapper__content{position:absolute;top:0;left:0;bottom:0;right:0;width:100%;height:100%;margin:auto}.components-sandbox{overflow:hidden}iframe.components-sandbox{width:100%}body.lockscroll,html.lockscroll{overflow:hidden}.components-select-control__input{background:#fff;height:36px;line-height:36px;margin:1px;outline:0;width:100%;-webkit-tap-highlight-color:rgba(0,0,0,0)!important}@media (min-width:782px){.components-select-control__input{height:28px;line-height:28px}}@media (max-width:782px){.components-base-control .components-base-control__field .components-select-control__input{font-size:16px}}.components-snackbar{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;background-color:#1e1e1e;border-radius:2px;box-shadow:0 2px 4px rgba(0,0,0,.3);color:#fff;padding:16px 24px;width:100%;max-width:600px;box-sizing:border-box;cursor:pointer;pointer-events:auto}@media (min-width:600px){.components-snackbar{width:-moz-fit-content;width:fit-content}}.components-snackbar:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px var(--wp-admin-theme-color)}.components-snackbar.components-snackbar-explicit-dismiss{cursor:default}.components-snackbar .components-snackbar__content-with-icon{margin-right:24px}.components-snackbar .components-snackbar__icon{position:absolute;top:24px;right:28px}.components-snackbar .components-snackbar__dismiss-button{margin-right:32px;cursor:pointer}.components-snackbar__action.components-button{margin-right:32px;color:#fff;height:auto;flex-shrink:0;line-height:1.4;padding:0}.components-snackbar__action.components-button:not(:disabled):not([aria-disabled=true]):not(.is-secondary){text-decoration:underline;background-color:initial}.components-snackbar__action.components-button:not(:disabled):not([aria-disabled=true]):not(.is-secondary):focus{color:#fff;box-shadow:none;outline:1px dotted #fff}.components-snackbar__action.components-button:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover{color:var(--wp-admin-theme-color)}.components-snackbar__content{display:flex;align-items:baseline;justify-content:space-between;line-height:1.4}.components-snackbar-list{position:absolute;z-index:100000;width:100%;box-sizing:border-box;pointer-events:none}.components-snackbar-list__notice-container{position:relative;padding-top:8px}.components-swatch{width:18px;height:18px;border-radius:50%;color:transparent;background:transparent}.components-swatch:after{content:"";display:block;width:100%;height:100%;border:1px solid rgba(0,0,0,.2);border-radius:50%}.components-button.has-icon.has-text .components-swatch{margin-left:8px}.components-tab-panel__tabs{display:flex;align-items:stretch;flex-direction:row}.components-tab-panel__tabs[aria-orientation=vertical]{flex-direction:column}.components-tab-panel__tabs-item{background:transparent;border:none;box-shadow:none;border-radius:0;cursor:pointer;height:48px;padding:3px 16px;margin-right:0;font-weight:500;transition:box-shadow .1s linear;box-sizing:border-box}.components-tab-panel__tabs-item:after{content:attr(data-label);display:block;height:0;overflow:hidden;speak:none;visibility:hidden}.components-tab-panel__tabs-item:focus:not(:disabled){box-shadow:inset 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.components-tab-panel__tabs-item.is-active{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) transparent,inset 0 -4px 0 0 var(--wp-admin-theme-color);position:relative}.components-tab-panel__tabs-item.is-active:before{content:"";position:absolute;top:0;bottom:1px;left:0;right:0;border-bottom:4px solid transparent}.components-tab-panel__tabs-item:focus{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.components-tab-panel__tabs-item.is-active:focus{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color),inset 0 -4px 0 0 var(--wp-admin-theme-color)}.components-text-control__input,.components-text-control__input[type=color],.components-text-control__input[type=date],.components-text-control__input[type=datetime-local],.components-text-control__input[type=datetime],.components-text-control__input[type=email],.components-text-control__input[type=month],.components-text-control__input[type=number],.components-text-control__input[type=password],.components-text-control__input[type=tel],.components-text-control__input[type=text],.components-text-control__input[type=time],.components-text-control__input[type=url],.components-text-control__input[type=week]{width:100%;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;padding:6px 8px;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:2px;border:1px solid #757575;font-size:16px;line-height:normal}@media (prefers-reduced-motion:reduce){.components-text-control__input,.components-text-control__input[type=color],.components-text-control__input[type=date],.components-text-control__input[type=datetime-local],.components-text-control__input[type=datetime],.components-text-control__input[type=email],.components-text-control__input[type=month],.components-text-control__input[type=number],.components-text-control__input[type=password],.components-text-control__input[type=tel],.components-text-control__input[type=text],.components-text-control__input[type=time],.components-text-control__input[type=url],.components-text-control__input[type=week]{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.components-text-control__input,.components-text-control__input[type=color],.components-text-control__input[type=date],.components-text-control__input[type=datetime-local],.components-text-control__input[type=datetime],.components-text-control__input[type=email],.components-text-control__input[type=month],.components-text-control__input[type=number],.components-text-control__input[type=password],.components-text-control__input[type=tel],.components-text-control__input[type=text],.components-text-control__input[type=time],.components-text-control__input[type=url],.components-text-control__input[type=week]{font-size:13px;line-height:normal}}.components-text-control__input:focus,.components-text-control__input[type=color]:focus,.components-text-control__input[type=date]:focus,.components-text-control__input[type=datetime-local]:focus,.components-text-control__input[type=datetime]:focus,.components-text-control__input[type=email]:focus,.components-text-control__input[type=month]:focus,.components-text-control__input[type=number]:focus,.components-text-control__input[type=password]:focus,.components-text-control__input[type=tel]:focus,.components-text-control__input[type=text]:focus,.components-text-control__input[type=time]:focus,.components-text-control__input[type=url]:focus,.components-text-control__input[type=week]:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color);outline:2px solid transparent}.components-text-control__input::-webkit-input-placeholder,.components-text-control__input[type=color]::-webkit-input-placeholder,.components-text-control__input[type=date]::-webkit-input-placeholder,.components-text-control__input[type=datetime-local]::-webkit-input-placeholder,.components-text-control__input[type=datetime]::-webkit-input-placeholder,.components-text-control__input[type=email]::-webkit-input-placeholder,.components-text-control__input[type=month]::-webkit-input-placeholder,.components-text-control__input[type=number]::-webkit-input-placeholder,.components-text-control__input[type=password]::-webkit-input-placeholder,.components-text-control__input[type=tel]::-webkit-input-placeholder,.components-text-control__input[type=text]::-webkit-input-placeholder,.components-text-control__input[type=time]::-webkit-input-placeholder,.components-text-control__input[type=url]::-webkit-input-placeholder,.components-text-control__input[type=week]::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.components-text-control__input::-moz-placeholder,.components-text-control__input[type=color]::-moz-placeholder,.components-text-control__input[type=date]::-moz-placeholder,.components-text-control__input[type=datetime-local]::-moz-placeholder,.components-text-control__input[type=datetime]::-moz-placeholder,.components-text-control__input[type=email]::-moz-placeholder,.components-text-control__input[type=month]::-moz-placeholder,.components-text-control__input[type=number]::-moz-placeholder,.components-text-control__input[type=password]::-moz-placeholder,.components-text-control__input[type=tel]::-moz-placeholder,.components-text-control__input[type=text]::-moz-placeholder,.components-text-control__input[type=time]::-moz-placeholder,.components-text-control__input[type=url]::-moz-placeholder,.components-text-control__input[type=week]::-moz-placeholder{opacity:1;color:rgba(30,30,30,.62)}.components-text-control__input:-ms-input-placeholder,.components-text-control__input[type=color]:-ms-input-placeholder,.components-text-control__input[type=date]:-ms-input-placeholder,.components-text-control__input[type=datetime-local]:-ms-input-placeholder,.components-text-control__input[type=datetime]:-ms-input-placeholder,.components-text-control__input[type=email]:-ms-input-placeholder,.components-text-control__input[type=month]:-ms-input-placeholder,.components-text-control__input[type=number]:-ms-input-placeholder,.components-text-control__input[type=password]:-ms-input-placeholder,.components-text-control__input[type=tel]:-ms-input-placeholder,.components-text-control__input[type=text]:-ms-input-placeholder,.components-text-control__input[type=time]:-ms-input-placeholder,.components-text-control__input[type=url]:-ms-input-placeholder,.components-text-control__input[type=week]:-ms-input-placeholder{color:rgba(30,30,30,.62)}.is-dark-theme .components-text-control__input::-webkit-input-placeholder,.is-dark-theme .components-text-control__input[type=color]::-webkit-input-placeholder,.is-dark-theme .components-text-control__input[type=date]::-webkit-input-placeholder,.is-dark-theme .components-text-control__input[type=datetime-local]::-webkit-input-placeholder,.is-dark-theme .components-text-control__input[type=datetime]::-webkit-input-placeholder,.is-dark-theme .components-text-control__input[type=email]::-webkit-input-placeholder,.is-dark-theme .components-text-control__input[type=month]::-webkit-input-placeholder,.is-dark-theme .components-text-control__input[type=number]::-webkit-input-placeholder,.is-dark-theme .components-text-control__input[type=password]::-webkit-input-placeholder,.is-dark-theme .components-text-control__input[type=tel]::-webkit-input-placeholder,.is-dark-theme .components-text-control__input[type=text]::-webkit-input-placeholder,.is-dark-theme .components-text-control__input[type=time]::-webkit-input-placeholder,.is-dark-theme .components-text-control__input[type=url]::-webkit-input-placeholder,.is-dark-theme .components-text-control__input[type=week]::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .components-text-control__input::-moz-placeholder,.is-dark-theme .components-text-control__input[type=color]::-moz-placeholder,.is-dark-theme .components-text-control__input[type=date]::-moz-placeholder,.is-dark-theme .components-text-control__input[type=datetime-local]::-moz-placeholder,.is-dark-theme .components-text-control__input[type=datetime]::-moz-placeholder,.is-dark-theme .components-text-control__input[type=email]::-moz-placeholder,.is-dark-theme .components-text-control__input[type=month]::-moz-placeholder,.is-dark-theme .components-text-control__input[type=number]::-moz-placeholder,.is-dark-theme .components-text-control__input[type=password]::-moz-placeholder,.is-dark-theme .components-text-control__input[type=tel]::-moz-placeholder,.is-dark-theme .components-text-control__input[type=text]::-moz-placeholder,.is-dark-theme .components-text-control__input[type=time]::-moz-placeholder,.is-dark-theme .components-text-control__input[type=url]::-moz-placeholder,.is-dark-theme .components-text-control__input[type=week]::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .components-text-control__input:-ms-input-placeholder,.is-dark-theme .components-text-control__input[type=color]:-ms-input-placeholder,.is-dark-theme .components-text-control__input[type=date]:-ms-input-placeholder,.is-dark-theme .components-text-control__input[type=datetime-local]:-ms-input-placeholder,.is-dark-theme .components-text-control__input[type=datetime]:-ms-input-placeholder,.is-dark-theme .components-text-control__input[type=email]:-ms-input-placeholder,.is-dark-theme .components-text-control__input[type=month]:-ms-input-placeholder,.is-dark-theme .components-text-control__input[type=number]:-ms-input-placeholder,.is-dark-theme .components-text-control__input[type=password]:-ms-input-placeholder,.is-dark-theme .components-text-control__input[type=tel]:-ms-input-placeholder,.is-dark-theme .components-text-control__input[type=text]:-ms-input-placeholder,.is-dark-theme .components-text-control__input[type=time]:-ms-input-placeholder,.is-dark-theme .components-text-control__input[type=url]:-ms-input-placeholder,.is-dark-theme .components-text-control__input[type=week]:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}.components-tip{display:flex;color:#757575}.components-tip svg{align-self:center;fill:#f0b849;flex-shrink:0;margin-left:16px}.components-tip p{margin:0}.components-toggle-control .components-base-control__field{display:flex;margin-bottom:12px;line-height:normal;align-items:center}.components-toggle-control .components-base-control__field .components-form-toggle{margin-left:12px}.components-toggle-control .components-base-control__field .components-toggle-control__label{display:block}.components-accessible-toolbar{display:inline-flex;border:1px solid #1e1e1e;border-radius:2px;flex-shrink:0}.components-accessible-toolbar>.components-toolbar-group:last-child{border-left:none}.components-accessible-toolbar .components-button,.components-toolbar .components-button{position:relative;height:48px;z-index:1;padding-right:16px;padding-left:16px}.components-accessible-toolbar .components-button:focus:enabled,.components-toolbar .components-button:focus:enabled{box-shadow:none;outline:none}.components-accessible-toolbar .components-button:before,.components-toolbar .components-button:before{content:"";position:absolute;display:block;border-radius:2px;height:32px;right:8px;left:8px;z-index:-1;animation:components-button__appear-animation .1s ease;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.components-accessible-toolbar .components-button:before,.components-toolbar .components-button:before{animation-duration:1ms;animation-delay:0s}}.components-accessible-toolbar .components-button svg,.components-toolbar .components-button svg{position:relative;margin-right:auto;margin-left:auto}.components-accessible-toolbar .components-button.is-pressed,.components-accessible-toolbar .components-button.is-pressed:hover,.components-toolbar .components-button.is-pressed,.components-toolbar .components-button.is-pressed:hover{background:transparent}.components-accessible-toolbar .components-button.is-pressed:before,.components-toolbar .components-button.is-pressed:before{background:#1e1e1e}.components-accessible-toolbar .components-button:focus:before,.components-toolbar .components-button:focus:before{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color),inset 0 0 0 4px #fff;outline:2px solid transparent}.components-accessible-toolbar .components-button.has-icon,.components-toolbar .components-button.has-icon{padding-right:8px;padding-left:8px;min-width:48px;justify-content:center}.components-accessible-toolbar .components-button.components-tab-button,.components-toolbar .components-button.components-tab-button{font-weight:500}.components-accessible-toolbar .components-button.components-tab-button span,.components-toolbar .components-button.components-tab-button span{display:inline-block;padding-right:0;padding-left:0;position:relative}@keyframes components-button__appear-animation{0%{transform:scaleY(0)}to{transform:scaleY(1)}}.components-toolbar__control.components-button{position:relative}.components-toolbar__control.components-button[data-subscript] svg{padding:5px 0 5px 10px}.components-toolbar__control.components-button[data-subscript]:after{content:attr(data-subscript);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;font-weight:600;line-height:12px;position:absolute;left:8px;bottom:10px}.components-toolbar__control.components-button:active:before{display:none}.components-toolbar__control.components-button:not(:disabled).is-pressed[data-subscript]:after{color:#fff}.components-toolbar-group{min-height:48px;border-left:1px solid #1e1e1e;background-color:#fff;display:inline-flex;flex-shrink:0;flex-wrap:wrap;line-height:0}.components-toolbar-group .components-toolbar-group.components-toolbar-group{border-width:0;margin:0}.components-toolbar{min-height:48px;margin:0;border:1px solid #1e1e1e;background-color:#fff;display:inline-flex;flex-shrink:0;flex-wrap:wrap}.components-toolbar .components-toolbar.components-toolbar{border-width:0;margin:0}div.components-toolbar>div{display:block;margin:0}@supports (position:sticky){div.components-toolbar>div{display:flex}}div.components-toolbar>div+div.has-left-divider{margin-right:6px;position:relative;overflow:visible}div.components-toolbar>div+div.has-left-divider:before{display:inline-block;content:"";box-sizing:initial;background-color:#ddd;position:absolute;top:8px;right:-3px;width:1px;height:20px}.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group.components-dropdown>* .components-button,.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group.components-dropdown>.components-button.components-button,.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group>.components-button:first-child:last-child,.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group>.components-dropdown:first-child:last-child .components-button,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-dropdown.components-dropdown>* .components-button,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-dropdown.components-dropdown>.components-button.components-button,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-dropdown>.components-button:first-child:last-child,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-dropdown>.components-dropdown:first-child:last-child .components-button,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-toolbar.components-dropdown>* .components-button,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-toolbar.components-dropdown>.components-button.components-button,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-toolbar>.components-button:first-child:last-child,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-toolbar>.components-dropdown:first-child:last-child .components-button,.block-editor-block-toolbar>.components-toolbar-group>.block-editor-block-toolbar__slot.components-dropdown>* .components-button,.block-editor-block-toolbar>.components-toolbar-group>.block-editor-block-toolbar__slot.components-dropdown>.components-button.components-button,.block-editor-block-toolbar>.components-toolbar-group>.block-editor-block-toolbar__slot>.components-button:first-child:last-child,.block-editor-block-toolbar>.components-toolbar-group>.block-editor-block-toolbar__slot>.components-dropdown:first-child:last-child .components-button,.block-editor-block-toolbar>.components-toolbar>.block-editor-block-toolbar__slot.components-dropdown>* .components-button,.block-editor-block-toolbar>.components-toolbar>.block-editor-block-toolbar__slot.components-dropdown>.components-button.components-button,.block-editor-block-toolbar>.components-toolbar>.block-editor-block-toolbar__slot>.components-button:first-child:last-child,.block-editor-block-toolbar>.components-toolbar>.block-editor-block-toolbar__slot>.components-dropdown:first-child:last-child .components-button{min-width:48px;padding-right:12px;padding-left:12px}.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group.components-dropdown>* .components-button:before,.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group.components-dropdown>.components-button.components-button:before,.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group>.components-button:first-child:last-child:before,.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group>.components-dropdown:first-child:last-child .components-button:before,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-dropdown.components-dropdown>* .components-button:before,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-dropdown.components-dropdown>.components-button.components-button:before,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-dropdown>.components-button:first-child:last-child:before,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-dropdown>.components-dropdown:first-child:last-child .components-button:before,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-toolbar.components-dropdown>* .components-button:before,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-toolbar.components-dropdown>.components-button.components-button:before,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-toolbar>.components-button:first-child:last-child:before,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-toolbar>.components-dropdown:first-child:last-child .components-button:before,.block-editor-block-toolbar>.components-toolbar-group>.block-editor-block-toolbar__slot.components-dropdown>* .components-button:before,.block-editor-block-toolbar>.components-toolbar-group>.block-editor-block-toolbar__slot.components-dropdown>.components-button.components-button:before,.block-editor-block-toolbar>.components-toolbar-group>.block-editor-block-toolbar__slot>.components-button:first-child:last-child:before,.block-editor-block-toolbar>.components-toolbar-group>.block-editor-block-toolbar__slot>.components-dropdown:first-child:last-child .components-button:before,.block-editor-block-toolbar>.components-toolbar>.block-editor-block-toolbar__slot.components-dropdown>* .components-button:before,.block-editor-block-toolbar>.components-toolbar>.block-editor-block-toolbar__slot.components-dropdown>.components-button.components-button:before,.block-editor-block-toolbar>.components-toolbar>.block-editor-block-toolbar__slot>.components-button:first-child:last-child:before,.block-editor-block-toolbar>.components-toolbar>.block-editor-block-toolbar__slot>.components-dropdown:first-child:last-child .components-button:before{right:8px;left:8px}.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group>.components-button:first-child,.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group>.components-dropdown:first-child .components-button,.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group>div:first-child>.components-button,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-dropdown>.components-button:first-child,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-dropdown>.components-dropdown:first-child .components-button,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-dropdown>div:first-child>.components-button,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-toolbar>.components-button:first-child,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-toolbar>.components-dropdown:first-child .components-button,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-toolbar>div:first-child>.components-button,.block-editor-block-toolbar>.components-toolbar-group>.block-editor-block-toolbar__slot>.components-button:first-child,.block-editor-block-toolbar>.components-toolbar-group>.block-editor-block-toolbar__slot>.components-dropdown:first-child .components-button,.block-editor-block-toolbar>.components-toolbar-group>.block-editor-block-toolbar__slot>div:first-child>.components-button,.block-editor-block-toolbar>.components-toolbar>.block-editor-block-toolbar__slot>.components-button:first-child,.block-editor-block-toolbar>.components-toolbar>.block-editor-block-toolbar__slot>.components-dropdown:first-child .components-button,.block-editor-block-toolbar>.components-toolbar>.block-editor-block-toolbar__slot>div:first-child>.components-button{min-width:42px;padding-right:11px;padding-left:6px}.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group>.components-button:first-child:before,.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group>.components-dropdown:first-child .components-button:before,.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group>div:first-child>.components-button:before,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-dropdown>.components-button:first-child:before,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-dropdown>.components-dropdown:first-child .components-button:before,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-dropdown>div:first-child>.components-button:before,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-toolbar>.components-button:first-child:before,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-toolbar>.components-dropdown:first-child .components-button:before,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-toolbar>div:first-child>.components-button:before,.block-editor-block-toolbar>.components-toolbar-group>.block-editor-block-toolbar__slot>.components-button:first-child:before,.block-editor-block-toolbar>.components-toolbar-group>.block-editor-block-toolbar__slot>.components-dropdown:first-child .components-button:before,.block-editor-block-toolbar>.components-toolbar-group>.block-editor-block-toolbar__slot>div:first-child>.components-button:before,.block-editor-block-toolbar>.components-toolbar>.block-editor-block-toolbar__slot>.components-button:first-child:before,.block-editor-block-toolbar>.components-toolbar>.block-editor-block-toolbar__slot>.components-dropdown:first-child .components-button:before,.block-editor-block-toolbar>.components-toolbar>.block-editor-block-toolbar__slot>div:first-child>.components-button:before{right:8px;left:2px}.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group>.components-button,.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group>.components-dropdown .components-button,.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group>div>.components-button,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-dropdown>.components-button,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-dropdown>.components-dropdown .components-button,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-dropdown>div>.components-button,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-toolbar>.components-button,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-toolbar>.components-dropdown .components-button,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-toolbar>div>.components-button,.block-editor-block-toolbar>.components-toolbar-group>.block-editor-block-toolbar__slot>.components-button,.block-editor-block-toolbar>.components-toolbar-group>.block-editor-block-toolbar__slot>.components-dropdown .components-button,.block-editor-block-toolbar>.components-toolbar-group>.block-editor-block-toolbar__slot>div>.components-button,.block-editor-block-toolbar>.components-toolbar>.block-editor-block-toolbar__slot>.components-button,.block-editor-block-toolbar>.components-toolbar>.block-editor-block-toolbar__slot>.components-dropdown .components-button,.block-editor-block-toolbar>.components-toolbar>.block-editor-block-toolbar__slot>div>.components-button{min-width:36px;padding-right:6px;padding-left:6px}.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group>.components-button svg,.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group>.components-dropdown .components-button svg,.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group>div>.components-button svg,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-dropdown>.components-button svg,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-dropdown>.components-dropdown .components-button svg,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-dropdown>div>.components-button svg,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-toolbar>.components-button svg,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-toolbar>.components-dropdown .components-button svg,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-toolbar>div>.components-button svg,.block-editor-block-toolbar>.components-toolbar-group>.block-editor-block-toolbar__slot>.components-button svg,.block-editor-block-toolbar>.components-toolbar-group>.block-editor-block-toolbar__slot>.components-dropdown .components-button svg,.block-editor-block-toolbar>.components-toolbar-group>.block-editor-block-toolbar__slot>div>.components-button svg,.block-editor-block-toolbar>.components-toolbar>.block-editor-block-toolbar__slot>.components-button svg,.block-editor-block-toolbar>.components-toolbar>.block-editor-block-toolbar__slot>.components-dropdown .components-button svg,.block-editor-block-toolbar>.components-toolbar>.block-editor-block-toolbar__slot>div>.components-button svg{min-width:24px}.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group>.components-button:before,.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group>.components-dropdown .components-button:before,.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group>div>.components-button:before,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-dropdown>.components-button:before,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-dropdown>.components-dropdown .components-button:before,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-dropdown>div>.components-button:before,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-toolbar>.components-button:before,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-toolbar>.components-dropdown .components-button:before,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-toolbar>div>.components-button:before,.block-editor-block-toolbar>.components-toolbar-group>.block-editor-block-toolbar__slot>.components-button:before,.block-editor-block-toolbar>.components-toolbar-group>.block-editor-block-toolbar__slot>.components-dropdown .components-button:before,.block-editor-block-toolbar>.components-toolbar-group>.block-editor-block-toolbar__slot>div>.components-button:before,.block-editor-block-toolbar>.components-toolbar>.block-editor-block-toolbar__slot>.components-button:before,.block-editor-block-toolbar>.components-toolbar>.block-editor-block-toolbar__slot>.components-dropdown .components-button:before,.block-editor-block-toolbar>.components-toolbar>.block-editor-block-toolbar__slot>div>.components-button:before{right:2px;left:2px}.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group>.components-button:last-child,.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group>.components-dropdown:last-child .components-button,.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group>div:last-child>.components-button,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-dropdown>.components-button:last-child,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-dropdown>.components-dropdown:last-child .components-button,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-dropdown>div:last-child>.components-button,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-toolbar>.components-button:last-child,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-toolbar>.components-dropdown:last-child .components-button,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-toolbar>div:last-child>.components-button,.block-editor-block-toolbar>.components-toolbar-group>.block-editor-block-toolbar__slot>.components-button:last-child,.block-editor-block-toolbar>.components-toolbar-group>.block-editor-block-toolbar__slot>.components-dropdown:last-child .components-button,.block-editor-block-toolbar>.components-toolbar-group>.block-editor-block-toolbar__slot>div:last-child>.components-button,.block-editor-block-toolbar>.components-toolbar>.block-editor-block-toolbar__slot>.components-button:last-child,.block-editor-block-toolbar>.components-toolbar>.block-editor-block-toolbar__slot>.components-dropdown:last-child .components-button,.block-editor-block-toolbar>.components-toolbar>.block-editor-block-toolbar__slot>div:last-child>.components-button{min-width:42px;padding-right:6px;padding-left:11px}.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group>.components-button:last-child:before,.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group>.components-dropdown:last-child .components-button:before,.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group>div:last-child>.components-button:before,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-dropdown>.components-button:last-child:before,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-dropdown>.components-dropdown:last-child .components-button:before,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-dropdown>div:last-child>.components-button:before,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-toolbar>.components-button:last-child:before,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-toolbar>.components-dropdown:last-child .components-button:before,.block-editor-block-toolbar>.block-editor-block-toolbar__slot>.components-toolbar>div:last-child>.components-button:before,.block-editor-block-toolbar>.components-toolbar-group>.block-editor-block-toolbar__slot>.components-button:last-child:before,.block-editor-block-toolbar>.components-toolbar-group>.block-editor-block-toolbar__slot>.components-dropdown:last-child .components-button:before,.block-editor-block-toolbar>.components-toolbar-group>.block-editor-block-toolbar__slot>div:last-child>.components-button:before,.block-editor-block-toolbar>.components-toolbar>.block-editor-block-toolbar__slot>.components-button:last-child:before,.block-editor-block-toolbar>.components-toolbar>.block-editor-block-toolbar__slot>.components-dropdown:last-child .components-button:before,.block-editor-block-toolbar>.components-toolbar>.block-editor-block-toolbar__slot>div:last-child>.components-button:before{right:2px;left:8px}.components-tooltip.components-popover{z-index:1000002}.components-tooltip.components-popover .components-popover__content{min-width:0}.components-tooltip .components-popover__content{background:#1e1e1e;border-radius:2px;border-width:0;color:#fff;white-space:nowrap;text-align:center;line-height:1.4;font-size:12px;box-shadow:none}.components-tooltip .components-popover__content>div{padding:4px 8px}.components-tooltip__shortcut{display:inline-block;margin-right:8px}.disabled-element-wrapper{position:relative}.disabled-element-wrapper .event-catcher{z-index:100002;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0}.components-visually-hidden{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.components-visually-hidden:focus{background-color:#ddd;clip:auto!important;-webkit-clip-path:none;clip-path:none;color:#444;display:block;font-size:1em;height:auto;right:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000} \ No newline at end of file diff --git a/wp-includes/css/dist/components/style.css b/wp-includes/css/dist/components/style.css index fda05e769f..99c75b8e4e 100644 --- a/wp-includes/css/dist/components/style.css +++ b/wp-includes/css/dist/components/style.css @@ -3551,7 +3551,6 @@ body.is-dragging-components-draggable { .components-notice-list { max-width: 100vw; box-sizing: border-box; - z-index: 29; } .components-notice-list .components-notice__content { margin-top: 12px; diff --git a/wp-includes/css/dist/components/style.min.css b/wp-includes/css/dist/components/style.min.css index ff743c8a8e..ab7ae04afd 100644 --- a/wp-includes/css/dist/components/style.min.css +++ b/wp-includes/css/dist/components/style.min.css @@ -1,6 +1,6 @@ @charset "UTF-8";:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}.components-animate__appear{animation:components-animate__appear-animation .1s cubic-bezier(0,0,.2,1) 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.components-animate__appear{animation-duration:1ms;animation-delay:0s}}.components-animate__appear.is-from-top,.components-animate__appear.is-from-top.is-from-left{transform-origin:top left}.components-animate__appear.is-from-top.is-from-right{transform-origin:top right}.components-animate__appear.is-from-bottom,.components-animate__appear.is-from-bottom.is-from-left{transform-origin:bottom left}.components-animate__appear.is-from-bottom.is-from-right{transform-origin:bottom right}@keyframes components-animate__appear-animation{0%{transform:translateY(-2em) scaleY(0) scaleX(0)}to{transform:translateY(0) scaleY(1) scaleX(1)}}.components-animate__slide-in{animation:components-animate__slide-in-animation .1s cubic-bezier(0,0,.2,1);animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.components-animate__slide-in{animation-duration:1ms;animation-delay:0s}}.components-animate__slide-in.is-from-left{transform:translateX(100%)}.components-animate__slide-in.is-from-right{transform:translateX(-100%)}@keyframes components-animate__slide-in-animation{to{transform:translateX(0)}}.components-animate__loading{animation:components-animate__loading 1.6s ease-in-out infinite}@keyframes components-animate__loading{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}.components-autocomplete__popover .components-popover__content>div{padding:16px;min-width:220px}.components-autocomplete__result.components-button{display:flex;height:auto;min-height:36px;text-align:left;width:100%}.components-autocomplete__result.components-button.is-selected{box-shadow:0 0 0 2px var(--wp-admin-theme-color)}.components-button-group{display:inline-block}.components-button-group .components-button{border-radius:0;display:inline-flex;color:#1e1e1e;box-shadow:inset 0 0 0 1px #1e1e1e}.components-button-group .components-button+.components-button{margin-left:-1px}.components-button-group .components-button:first-child{border-radius:2px 0 0 2px}.components-button-group .components-button:last-child{border-radius:0 2px 2px 0}.components-button-group .components-button.is-primary,.components-button-group .components-button:focus{position:relative;z-index:1}.components-button-group .components-button.is-primary{box-shadow:inset 0 0 0 1px #1e1e1e}.components-button{display:inline-flex;text-decoration:none;font-weight:400;font-size:13px;margin:0;border:0;cursor:pointer;-webkit-appearance:none;background:none;transition:box-shadow .1s linear;height:36px;align-items:center;box-sizing:border-box;padding:6px 12px;border-radius:2px;color:#1e1e1e}@media (prefers-reduced-motion:reduce){.components-button{transition-duration:0s;transition-delay:0s}}.components-button:hover,.components-button[aria-expanded=true]{color:var(--wp-admin-theme-color)}.components-button[aria-disabled=true]:hover{color:initial}.components-button:focus:not(:disabled){box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);outline:3px solid transparent}.components-button.is-primary{white-space:nowrap;background:var(--wp-admin-theme-color);color:#fff;text-decoration:none;text-shadow:none;outline:1px solid transparent}.components-button.is-primary:hover:not(:disabled){background:var(--wp-admin-theme-color-darker-10);color:#fff}.components-button.is-primary:active:not(:disabled){background:var(--wp-admin-theme-color-darker-20);border-color:var(--wp-admin-theme-color-darker-20);color:#fff}.components-button.is-primary:focus:not(:disabled){box-shadow:inset 0 0 0 1px #fff,0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.components-button.is-primary:disabled,.components-button.is-primary:disabled:active:enabled,.components-button.is-primary[aria-disabled=true],.components-button.is-primary[aria-disabled=true]:active:enabled,.components-button.is-primary[aria-disabled=true]:enabled{color:hsla(0,0%,100%,.4);background:var(--wp-admin-theme-color);border-color:var(--wp-admin-theme-color);opacity:1;outline:none}.components-button.is-primary:disabled:active:enabled:focus:enabled,.components-button.is-primary:disabled:focus:enabled,.components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,.components-button.is-primary[aria-disabled=true]:enabled:focus:enabled,.components-button.is-primary[aria-disabled=true]:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px var(--wp-admin-theme-color)}.components-button.is-primary.is-busy,.components-button.is-primary.is-busy:disabled,.components-button.is-primary.is-busy[aria-disabled=true]{color:#fff;background-size:100px 100%;background-image:linear-gradient(-45deg,var(--wp-admin-theme-color) 33%,var(--wp-admin-theme-color-darker-20) 0,var(--wp-admin-theme-color-darker-20) 70%,var(--wp-admin-theme-color) 0);border-color:var(--wp-admin-theme-color)}.components-button.is-secondary,.components-button.is-tertiary{outline:1px solid transparent}.components-button.is-secondary:active:not(:disabled),.components-button.is-tertiary:active:not(:disabled){background:#ddd;color:var(--wp-admin-theme-color-darker-10);box-shadow:none}.components-button.is-secondary:hover:not(:disabled),.components-button.is-tertiary:hover:not(:disabled){color:var(--wp-admin-theme-color-darker-10);box-shadow:inset 0 0 0 1px var(--wp-admin-theme-color-darker-10)}.components-button.is-secondary:disabled,.components-button.is-secondary[aria-disabled=true],.components-button.is-secondary[aria-disabled=true]:hover,.components-button.is-tertiary:disabled,.components-button.is-tertiary[aria-disabled=true],.components-button.is-tertiary[aria-disabled=true]:hover{color:#828282;background:#eaeaea;transform:none;opacity:1;box-shadow:none;outline:none}.components-button.is-secondary{box-shadow:inset 0 0 0 1px var(--wp-admin-theme-color);outline:1px solid transparent}.components-button.is-secondary,.components-button.is-tertiary{white-space:nowrap;color:var(--wp-admin-theme-color);background:transparent}.components-button.is-tertiary{padding:6px}.components-button.is-tertiary .dashicon{display:inline-block;flex:0 0 auto}.components-button.is-destructive{color:#cc1818;box-shadow:inset 0 0 0 1px #cc1818}.components-button.is-destructive:hover:not(:disabled){color:#710d0d;box-shadow:inset 0 0 0 1px #710d0d}.components-button.is-destructive:focus:not(:disabled){color:var(--wp-admin-theme-color)}.components-button.is-destructive:active:not(:disabled){background:#ccc}.components-button.is-destructive.is-primary{color:#fff;background:#cc1818;box-shadow:inset 0 0 0 1px #cc1818}.components-button.is-destructive.is-primary:hover:not(:disabled){color:#fff;background:#710d0d;box-shadow:inset 0 0 0 1px #710d0d}.components-button.is-link{margin:0;padding:0;box-shadow:none;border:0;border-radius:0;background:none;outline:none;text-align:left;color:var(--wp-admin-theme-color);text-decoration:underline;transition-property:border,background,color;transition-duration:.05s;transition-timing-function:ease-in-out;height:auto}@media (prefers-reduced-motion:reduce){.components-button.is-link{transition-duration:0s;transition-delay:0s}}.components-button.is-link:focus{border-radius:2px}.components-button.is-link.is-destructive{color:#cc1818}.components-button.is-link.is-destructive:active:not(:disabled),.components-button.is-link.is-destructive:hover:not(:disabled){color:#710d0d;background:none}.components-button.is-link.is-destructive:focus:not(:disabled){color:var(--wp-admin-theme-color)}.components-button:not([aria-disabled=true]):active{color:inherit}.components-button:disabled,.components-button[aria-disabled=true]{cursor:default;opacity:.3}.components-button.is-busy,.components-button.is-secondary.is-busy,.components-button.is-secondary.is-busy:disabled,.components-button.is-secondary.is-busy[aria-disabled=true]{animation:components-button__busy-animation 2.5s linear infinite;opacity:1;background-size:100px 100%;background-image:linear-gradient(-45deg,#fafafa 33%,#e0e0e0 0,#e0e0e0 70%,#fafafa 0)}.components-button.is-small{height:24px;line-height:22px;padding:0 8px;font-size:11px}.components-button.is-small.has-icon:not(.has-text){padding:0 8px;width:24px}.components-button.has-icon{padding:6px;min-width:36px;justify-content:center}.components-button.has-icon .dashicon{display:inline-block;flex:0 0 auto;margin-left:2px;margin-right:2px}.components-button.has-icon.has-text{justify-content:left}.components-button.has-icon.has-text svg{margin-right:8px}.components-button.has-icon.has-text .dashicon{margin-right:10px}.components-button.is-pressed{color:#fff;background:#1e1e1e}.components-button.is-pressed:focus:not(:disabled){box-shadow:inset 0 0 0 1px #fff,0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);outline:2px solid transparent}.components-button.is-pressed:hover:not(:disabled){color:#fff;background:#1e1e1e}.components-button svg{fill:currentColor;outline:none}.components-button .components-visually-hidden{height:auto}@keyframes components-button__busy-animation{0%{background-position:200px 0}}.components-checkbox-control__input[type=checkbox]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;padding:6px 8px;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;font-size:16px;line-height:normal;border:1px solid #1e1e1e;transition:none;border-radius:2px;background:#fff;color:#1e1e1e;clear:none;cursor:pointer;display:inline-block;line-height:0;margin:0 4px 0 0;outline:0;padding:0!important;text-align:center;vertical-align:top;width:24px;height:24px;-webkit-appearance:none;appearance:none;transition:border-color .1s ease-in-out}@media (min-width:600px){.components-checkbox-control__input[type=checkbox]{font-size:13px;line-height:normal}}.components-checkbox-control__input[type=checkbox]:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color)}.components-checkbox-control__input[type=checkbox]::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.components-checkbox-control__input[type=checkbox]::-moz-placeholder{opacity:1;color:rgba(30,30,30,.62)}.components-checkbox-control__input[type=checkbox]:-ms-input-placeholder{color:rgba(30,30,30,.62)}.is-dark-theme .components-checkbox-control__input[type=checkbox]::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .components-checkbox-control__input[type=checkbox]::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .components-checkbox-control__input[type=checkbox]:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}.components-checkbox-control__input[type=checkbox]:checked:before,.components-checkbox-control__input[type=checkbox][aria-checked=mixed]:before{margin:-3px -5px;color:#fff}@media (min-width:782px){.components-checkbox-control__input[type=checkbox]:checked:before,.components-checkbox-control__input[type=checkbox][aria-checked=mixed]:before{margin:-4px 0 0 -5px}}.components-checkbox-control__input[type=checkbox][aria-checked=mixed]{background:var(--wp-admin-theme-color);border-color:var(--wp-admin-theme-color)}.components-checkbox-control__input[type=checkbox][aria-checked=mixed]:before{content:"";float:left;display:inline-block;vertical-align:middle;width:16px;font:normal 30px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (min-width:782px){.components-checkbox-control__input[type=checkbox][aria-checked=mixed]:before{float:none;font-size:21px}}@media (min-width:600px){.components-checkbox-control__input[type=checkbox]{height:20px;width:20px}}@media (prefers-reduced-motion:reduce){.components-checkbox-control__input[type=checkbox]{transition-duration:0s;transition-delay:0s}}.components-checkbox-control__input[type=checkbox]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px var(--wp-admin-theme-color);outline:2px solid transparent}.components-checkbox-control__input[type=checkbox]:checked{background:var(--wp-admin-theme-color);border-color:var(--wp-admin-theme-color)}.components-checkbox-control__input[type=checkbox]:checked::-ms-check{opacity:0}.components-checkbox-control__input[type=checkbox]:checked:before{content:none}.components-checkbox-control__input-container{position:relative;display:inline-block;margin-right:12px;vertical-align:middle;width:24px;height:24px}@media (min-width:600px){.components-checkbox-control__input-container{width:20px;height:20px}}svg.components-checkbox-control__checked{fill:#fff;cursor:pointer;position:absolute;left:0;top:0;width:24px;height:24px;-webkit-user-select:none;user-select:none;pointer-events:none}@media (min-width:600px){svg.components-checkbox-control__checked{left:-2px;top:-2px}}.components-circular-option-picker{display:inline-block;width:100%;min-width:188px}.components-circular-option-picker .components-circular-option-picker__custom-clear-wrapper{display:flex;justify-content:flex-end}.components-circular-option-picker .components-circular-option-picker__swatches{margin-right:-12px}.components-circular-option-picker__option-wrapper{display:inline-block;height:28px;width:28px;margin-right:12px;margin-bottom:12px;vertical-align:top;transform:scale(1);transition:transform .1s ease}@media (prefers-reduced-motion:reduce){.components-circular-option-picker__option-wrapper{transition-duration:0s;transition-delay:0s}}.components-circular-option-picker__option-wrapper:hover{transform:scale(1.2)}.components-circular-option-picker__option-wrapper>div{height:100%;width:100%}.components-circular-option-picker__option-wrapper:before{content:"";position:absolute;top:1px;left:1px;bottom:1px;right:1px;border-radius:50%;z-index:-1;background:url("data:image/svg+xml;charset=utf-8,%3Csvg width='28' height='28' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 8V6H4v2h2zm2 0V6h2v2H8zm2 8H8v-2h2v2zm2 0v-2h2v2h-2zm0 2v-2h-2v2H8v2h2v-2h2zm2 0v2h-2v-2h2zm2 0h-2v-2h2v2z' fill='%23555D65'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M18 18h2v-2h-2v-2h2v-2h-2v-2h2V8h-2v2h-2V8h-2v2h2v2h-2v2h2v2h2v2zm-2-4v-2h2v2h-2z' fill='%23555D65'/%3E%3Cpath d='M18 18v2h-2v-2h2z' fill='%23555D65'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8 10V8H6v2H4v2h2v2H4v2h2v2H4v2h2v2H4v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2V8h-2V6h2V4h-2v2h-2V4h-2v2h-2V4h-2v2h-2V4h-2v2h2v2h-2v2H8zm0 2v-2H6v2h2zm2 0v-2h2v2h-2zm0 2v-2H8v2H6v2h2v2H6v2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2V8h-2V6h-2v2h-2V6h-2v2h-2v2h2v2h-2v2h-2z' fill='%23555D65'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M4 0H2v2H0v2h2v2H0v2h2v2H0v2h2v2H0v2h2v2H0v2h2v2H0v2h2v2H0v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2V8h-2V6h2V4h-2V2h2V0h-2v2h-2V0h-2v2h-2V0h-2v2h-2V0h-2v2h-2V0h-2v2H8V0H6v2H4V0zm0 4V2H2v2h2zm2 0V2h2v2H6zm0 2V4H4v2H2v2h2v2H2v2h2v2H2v2h2v2H2v2h2v2H2v2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2V8h-2V6h2V4h-2V2h-2v2h-2V2h-2v2h-2V2h-2v2h-2V2h-2v2H8v2H6z' fill='%23555D65'/%3E%3C/svg%3E")}.components-circular-option-picker__option{display:inline-block;vertical-align:top;height:100%;width:100%;border:none;border-radius:50%;background:transparent;box-shadow:inset 0 0 0 14px;transition:box-shadow .1s ease;cursor:pointer}@media (prefers-reduced-motion:reduce){.components-circular-option-picker__option{transition-duration:0s;transition-delay:0s}}.components-circular-option-picker__option:hover{box-shadow:inset 0 0 0 14px!important}.components-circular-option-picker__option.is-pressed{box-shadow:inset 0 0 0 4px;position:relative;z-index:1;overflow:visible}.components-circular-option-picker__option.is-pressed+svg{position:absolute;left:2px;top:2px;border-radius:50%;z-index:2;pointer-events:none}.components-circular-option-picker__option:after{content:"";position:absolute;top:-1px;left:-1px;bottom:-1px;right:-1px;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(0,0,0,.2);border:1px solid transparent}.components-circular-option-picker__option:focus:after{content:"";border:2px solid #757575;width:32px;height:32px;position:absolute;top:-2px;left:-2px;border-radius:50%;box-shadow:inset 0 0 0 2px #fff}.components-circular-option-picker__option.components-button:focus{background-color:initial;box-shadow:inset 0 0 0 14px;outline:none}.components-circular-option-picker__button-action .components-circular-option-picker__option{color:#fff;background:#fff}.components-circular-option-picker__dropdown-link-action{margin-right:16px}.components-circular-option-picker__dropdown-link-action .components-button{line-height:22px}.components-color-edit__color-option-main-area{display:flex;align-items:center}.components-color-edit__color-option-main-area div.components-circular-option-picker__option-wrapper{display:block;margin:8px}.components-color-edit__color-option.is-hover{background:#e0e0e0}.components-color-edit__cancel-button{float:right}.components-color-edit__color-option-color-name{width:100%}.components-color-edit__label-and-insert-container{display:flex;align-items:center;justify-content:space-between}.components-color-edit__insert-button{margin-top:-8px}.components-color-edit__hidden-control{position:relative;left:-9999px}.components-color-edit__color-option-color-name-input .components-base-control__field{margin-bottom:0;margin-right:8px}.components-color-edit__slug-input{margin-left:8px}.components-color-edit__reset-button{float:right}.component-color-indicator{width:25px;height:16px;margin-left:.8rem;border:1px solid #dadada;display:inline-block}.component-color-indicator+.component-color-indicator{margin-left:.5rem}.components-color-picker{width:100%}.components-color-picker *{box-sizing:border-box}.components-color-picker__saturation{width:100%;padding-bottom:55%;position:relative}.components-color-picker__body{padding:16px 16px 12px}.components-color-picker__controls{display:flex}.components-color-picker__alpha-pointer,.components-color-picker__hue-pointer,.components-color-picker__saturation-pointer{padding:0;position:absolute;cursor:pointer;box-shadow:none;border:none}.components-color-picker__swatch{margin-right:8px;width:32px;height:32px;border-radius:50%;position:relative;overflow:hidden;background-image:linear-gradient(45deg,#ddd 25%,transparent 0),linear-gradient(-45deg,#ddd 25%,transparent 0),linear-gradient(45deg,transparent 75%,#ddd 0),linear-gradient(-45deg,transparent 75%,#ddd 0);background-size:10px 10px;background-position:0 0,0 5px,5px -5px,-5px 0}.is-alpha-disabled .components-color-picker__swatch{width:12px;height:12px;margin-top:0}.components-color-picker__active{border-radius:50%;box-shadow:inset 0 0 0 1px rgba(0,0,0,.1);z-index:2}.components-color-picker__active,.components-color-picker__saturation-black,.components-color-picker__saturation-color,.components-color-picker__saturation-white{position:absolute;top:0;left:0;right:0;bottom:0}.components-color-picker__saturation-color{overflow:visible}.components-color-picker__saturation-white{background:linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.components-color-picker__saturation-black{background:linear-gradient(0deg,#000,transparent)}.components-button.components-color-picker__saturation-pointer{width:14px;height:14px;padding:0;border-radius:50%;background-color:initial;transform:translate(-50%,-50%);box-shadow:0 0 0 1px #fff,inset 0 0 0 1px #000,0 0 0 2px #000}.components-button.components-color-picker__saturation-pointer:focus:not(:disabled){box-shadow:0 0 0 2px #fff,inset 0 0 0 1px #000,0 0 0 3px #000}.components-color-picker__toggles{flex:1}.components-color-picker__alpha{background-image:linear-gradient(45deg,#ddd 25%,transparent 0),linear-gradient(-45deg,#ddd 25%,transparent 0),linear-gradient(45deg,transparent 75%,#ddd 0),linear-gradient(-45deg,transparent 75%,#ddd 0);background-size:10px 10px;background-position:0 0,0 5px,5px -5px,-5px 0}.components-color-picker__alpha-gradient,.components-color-picker__hue-gradient{position:absolute;top:0;left:0;right:0;bottom:0}.components-color-picker__alpha,.components-color-picker__hue{height:12px;position:relative}.is-alpha-enabled .components-color-picker__hue{margin-bottom:8px}.components-color-picker__alpha-bar,.components-color-picker__hue-bar{position:relative;margin:0 3px;height:100%;padding:0 2px}.components-color-picker__hue-gradient{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.components-color-picker__alpha-pointer,.components-color-picker__hue-pointer{left:0;width:14px;height:14px;border-radius:50%;box-shadow:0 1px 4px 0 rgba(0,0,0,.37);background:#fff;transform:translate(-7px,-1px)}.components-color-picker__hue-pointer,.components-color-picker__saturation-pointer{transition:box-shadow .1s linear}@media (prefers-reduced-motion:reduce){.components-color-picker__hue-pointer,.components-color-picker__saturation-pointer{transition-duration:0s;transition-delay:0s}}.components-color-picker__saturation-pointer:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px var(--wp-admin-theme-color),0 0 5px 0 var(--wp-admin-theme-color),inset 0 0 1px 1px rgba(0,0,0,.3),0 0 1px 2px rgba(0,0,0,.4)}.components-color-picker__alpha-pointer:focus,.components-color-picker__hue-pointer:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 2px var(--wp-admin-theme-color),0 0 3px 0 var(--wp-admin-theme-color);outline:2px solid transparent;outline-offset:-2px}.components-color-picker__inputs-wrapper{margin:0 -4px;padding-top:16px;display:flex;align-items:flex-end;min-width:255px}.components-color-picker__inputs-wrapper fieldset{flex:1;border:none;margin:0;padding:0}.components-color-picker__inputs-wrapper .components-color-picker__inputs-fields .components-text-control__input[type=number]{padding:6px 3px;margin:0}.components-color-picker__inputs-field{width:100%}.components-color-picker__inputs-fields{display:flex;direction:ltr;flex-grow:1;margin-right:4px}.components-color-picker__inputs-fields .components-base-control+.components-base-control{margin-top:0}.components-color-picker__inputs-fields .components-base-control__field{margin:0 2px}.components-color-picker__inputs-toggle{height:30px;padding:0 5px}.components-combobox-control{width:100%}input.components-combobox-control__input[type=text]{width:100%;border:none;box-shadow:none;font-size:16px;padding:2px;margin:0;line-height:inherit;min-height:auto}@media (min-width:600px){input.components-combobox-control__input[type=text]{font-size:13px}}input.components-combobox-control__input[type=text]:focus{outline:none;box-shadow:none}.components-combobox-control__suggestions-container{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:2px;border:1px solid #757575;font-size:16px;line-height:normal;display:flex;flex-wrap:wrap;align-items:flex-start;width:100%;margin:0 0 8px;padding:4px}@media (prefers-reduced-motion:reduce){.components-combobox-control__suggestions-container{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.components-combobox-control__suggestions-container{font-size:13px;line-height:normal}}.components-combobox-control__suggestions-container:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color);outline:2px solid transparent}.components-combobox-control__suggestions-container::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.components-combobox-control__suggestions-container::-moz-placeholder{opacity:1;color:rgba(30,30,30,.62)}.components-combobox-control__suggestions-container:-ms-input-placeholder{color:rgba(30,30,30,.62)}.is-dark-theme .components-combobox-control__suggestions-container::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .components-combobox-control__suggestions-container::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .components-combobox-control__suggestions-container:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}.components-combobox-control__suggestions-container:focus-within{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color);outline:2px solid transparent}.components-combobox-control__reset.components-button{display:flex;height:24px;min-width:24px;padding:0}.components-color-list-picker,.components-color-list-picker__swatch-button{width:100%}.components-custom-gradient-picker__gradient-bar:not(.has-gradient){opacity:.4}.components-custom-gradient-picker__gradient-bar{margin-top:12px;width:100%;height:36px;border-radius:36px;margin-bottom:12px;padding-left:6px;padding-right:30px}.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__markers-container{position:relative}.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__insert-point{border-radius:50%;background:#fff;padding:2px;top:6px;min-width:24px;width:24px;height:24px;position:relative;color:#1e1e1e}.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__insert-point svg{height:100%;width:100%}.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__control-point-button{border:2px solid transparent;box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) #fff;border-radius:50%;height:24px;width:24px;padding:0;position:absolute;top:6px}.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__control-point-button.is-active,.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__control-point-button:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #1e1e1e}.components-custom-gradient-picker__color-picker-popover .components-custom-gradient-picker__remove-control-point{margin-left:auto;margin-right:auto;display:block;margin-bottom:8px}.components-custom-gradient-picker__inserter{width:100%}.components-custom-gradient-picker__liner-gradient-indicator{display:inline-block;flex:0 auto;width:20px;height:20px}.components-custom-gradient-picker .components-custom-gradient-picker__ui-line{margin-bottom:16px}.components-custom-gradient-picker .components-custom-gradient-picker__ui-line .components-base-control.components-angle-picker,.components-custom-gradient-picker .components-custom-gradient-picker__ui-line .components-base-control.components-custom-gradient-picker__type-picker{margin-bottom:0}.components-custom-gradient-picker .components-custom-gradient-picker__toolbar{border:none}.components-custom-gradient-picker .components-custom-gradient-picker__toolbar>div+div{margin-left:1px}.components-custom-gradient-picker .components-custom-gradient-picker__toolbar button.is-pressed>svg{background:#fff;border:1px solid #949494;border-radius:2px}.components-custom-select-control{position:relative}.components-custom-select-control__label{display:block;margin-bottom:8px}.components-custom-select-control__button{border:1px solid #757575;border-radius:2px;min-height:30px;min-width:130px;position:relative;text-align:left}.components-custom-select-control__button.components-custom-select-control__button{padding-right:24px}.components-custom-select-control__button:focus:not(:disabled){border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color)}.components-custom-select-control__button .components-custom-select-control__button-icon{height:100%;padding:0;position:absolute;right:0;top:0}.components-custom-select-control__menu{border:1px solid #1e1e1e;background-color:#fff;border-radius:2px;outline:none;transition:none;max-height:400px;min-width:100%;overflow:auto;padding:0;position:absolute;z-index:1000000}.components-custom-select-control__menu[aria-hidden=true]{display:none}.components-custom-select-control__item{align-items:center;display:flex;list-style-type:none;padding:8px;cursor:default;line-height:28px}.components-custom-select-control__item.is-highlighted{background:#ddd}.components-custom-select-control__item .components-custom-select-control__item-icon{margin-right:0;margin-left:auto}.components-custom-select-control__item:last-child{margin-bottom:0}.PresetDateRangePicker_panel{padding:0 22px 11px}.PresetDateRangePicker_button{position:relative;height:100%;text-align:center;background:0 0;border:2px solid #00a699;color:#00a699;padding:4px 12px;margin-right:8px;font:inherit;font-weight:700;line-height:normal;overflow:visible;box-sizing:border-box;cursor:pointer}.PresetDateRangePicker_button:active{outline:0}.PresetDateRangePicker_button__selected{color:#fff;background:#00a699}.SingleDatePickerInput{display:inline-block;background-color:#fff}.SingleDatePickerInput__withBorder{border-radius:2px;border:1px solid #dbdbdb}.SingleDatePickerInput__rtl{direction:rtl}.SingleDatePickerInput__disabled{background-color:#f2f2f2}.SingleDatePickerInput__block{display:block}.SingleDatePickerInput__showClearDate{padding-right:30px}.SingleDatePickerInput_clearDate{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;cursor:pointer;padding:10px;margin:0 10px 0 5px;position:absolute;right:0;top:50%;transform:translateY(-50%)}.SingleDatePickerInput_clearDate__default:focus,.SingleDatePickerInput_clearDate__default:hover{background:#dbdbdb;border-radius:50%}.SingleDatePickerInput_clearDate__small{padding:6px}.SingleDatePickerInput_clearDate__hide{visibility:hidden}.SingleDatePickerInput_clearDate_svg{fill:#82888a;height:12px;width:15px;vertical-align:middle}.SingleDatePickerInput_clearDate_svg__small{height:9px}.SingleDatePickerInput_calendarIcon{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;cursor:pointer;display:inline-block;vertical-align:middle;padding:10px;margin:0 5px 0 10px}.SingleDatePickerInput_calendarIcon_svg{fill:#82888a;height:15px;width:14px;vertical-align:middle}.SingleDatePicker{position:relative;display:inline-block}.SingleDatePicker__block{display:block}.SingleDatePicker_picker{z-index:1;background-color:#fff;position:absolute}.SingleDatePicker_picker__rtl{direction:rtl}.SingleDatePicker_picker__directionLeft{left:0}.SingleDatePicker_picker__directionRight{right:0}.SingleDatePicker_picker__portal{background-color:rgba(0,0,0,.3);position:fixed;top:0;left:0;height:100%;width:100%}.SingleDatePicker_picker__fullScreenPortal{background-color:#fff}.SingleDatePicker_closeButton{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;cursor:pointer;position:absolute;top:0;right:0;padding:15px;z-index:2}.SingleDatePicker_closeButton:focus,.SingleDatePicker_closeButton:hover{color:#b0b3b4;text-decoration:none}.SingleDatePicker_closeButton_svg{height:15px;width:15px;fill:#cacccd}.DayPickerKeyboardShortcuts_buttonReset{background:0 0;border:0;border-radius:0;color:inherit;font:inherit;line-height:normal;overflow:visible;padding:0;cursor:pointer;font-size:14px}.DayPickerKeyboardShortcuts_buttonReset:active{outline:0}.DayPickerKeyboardShortcuts_show{width:22px;position:absolute;z-index:2}.DayPickerKeyboardShortcuts_show__bottomRight{border-top:26px solid transparent;border-right:33px solid #00a699;bottom:0;right:0}.DayPickerKeyboardShortcuts_show__bottomRight:hover{border-right:33px solid #008489}.DayPickerKeyboardShortcuts_show__topRight{border-bottom:26px solid transparent;border-right:33px solid #00a699;top:0;right:0}.DayPickerKeyboardShortcuts_show__topRight:hover{border-right:33px solid #008489}.DayPickerKeyboardShortcuts_show__topLeft{border-bottom:26px solid transparent;border-left:33px solid #00a699;top:0;left:0}.DayPickerKeyboardShortcuts_show__topLeft:hover{border-left:33px solid #008489}.DayPickerKeyboardShortcuts_showSpan{color:#fff;position:absolute}.DayPickerKeyboardShortcuts_showSpan__bottomRight{bottom:0;right:-28px}.DayPickerKeyboardShortcuts_showSpan__topRight{top:1px;right:-28px}.DayPickerKeyboardShortcuts_showSpan__topLeft{top:1px;left:-28px}.DayPickerKeyboardShortcuts_panel{overflow:auto;background:#fff;border:1px solid #dbdbdb;border-radius:2px;position:absolute;top:0;bottom:0;right:0;left:0;z-index:2;padding:22px;margin:33px}.DayPickerKeyboardShortcuts_title{font-size:16px;font-weight:700;margin:0}.DayPickerKeyboardShortcuts_list{list-style:none;padding:0;font-size:14px}.DayPickerKeyboardShortcuts_close{position:absolute;right:22px;top:22px;z-index:2}.DayPickerKeyboardShortcuts_close:active{outline:0}.DayPickerKeyboardShortcuts_closeSvg{height:15px;width:15px;fill:#cacccd}.DayPickerKeyboardShortcuts_closeSvg:focus,.DayPickerKeyboardShortcuts_closeSvg:hover{fill:#82888a}.CalendarDay{box-sizing:border-box;cursor:pointer;font-size:14px;text-align:center}.CalendarDay:active{outline:0}.CalendarDay__defaultCursor{cursor:default}.CalendarDay__default{border:1px solid #e4e7e7;color:#484848;background:#fff}.CalendarDay__default:hover{background:#e4e7e7;border:1px double #e4e7e7;color:inherit}.CalendarDay__hovered_offset{background:#f4f5f5;border:1px double #e4e7e7;color:inherit}.CalendarDay__outside{border:0;background:#fff;color:#484848}.CalendarDay__outside:hover{border:0}.CalendarDay__blocked_minimum_nights{background:#fff;border:1px solid #eceeee;color:#cacccd}.CalendarDay__blocked_minimum_nights:active,.CalendarDay__blocked_minimum_nights:hover{background:#fff;color:#cacccd}.CalendarDay__highlighted_calendar{background:#ffe8bc;color:#484848}.CalendarDay__highlighted_calendar:active,.CalendarDay__highlighted_calendar:hover{background:#ffce71;color:#484848}.CalendarDay__selected_span{background:#66e2da;border:1px solid #33dacd;color:#fff}.CalendarDay__selected_span:active,.CalendarDay__selected_span:hover{background:#33dacd;border:1px solid #33dacd;color:#fff}.CalendarDay__last_in_range{border-right:#00a699}.CalendarDay__selected,.CalendarDay__selected:active,.CalendarDay__selected:hover{background:#00a699;border:1px solid #00a699;color:#fff}.CalendarDay__hovered_span,.CalendarDay__hovered_span:hover{background:#b2f1ec;border:1px solid #80e8e0;color:#007a87}.CalendarDay__hovered_span:active{background:#80e8e0;border:1px solid #80e8e0;color:#007a87}.CalendarDay__blocked_calendar,.CalendarDay__blocked_calendar:active,.CalendarDay__blocked_calendar:hover{background:#cacccd;border:1px solid #cacccd;color:#82888a}.CalendarDay__blocked_out_of_range,.CalendarDay__blocked_out_of_range:active,.CalendarDay__blocked_out_of_range:hover{background:#fff;border:1px solid #e4e7e7;color:#cacccd}.CalendarMonth{background:#fff;text-align:center;vertical-align:top;-webkit-user-select:none;user-select:none}.CalendarMonth_table{border-collapse:collapse;border-spacing:0}.CalendarMonth_verticalSpacing{border-collapse:initial}.CalendarMonth_caption{color:#484848;font-size:18px;text-align:center;padding-top:22px;padding-bottom:37px;caption-side:top}.CalendarMonth_caption__verticalScrollable{padding-top:12px;padding-bottom:7px}.CalendarMonthGrid{background:#fff;text-align:left;z-index:0}.CalendarMonthGrid__animating{z-index:1}.CalendarMonthGrid__horizontal{position:absolute;left:0}.CalendarMonthGrid__vertical{margin:0 auto}.CalendarMonthGrid__vertical_scrollable{margin:0 auto;overflow-y:scroll}.CalendarMonthGrid_month__horizontal{display:inline-block;vertical-align:top;min-height:100%}.CalendarMonthGrid_month__hideForAnimation{position:absolute;z-index:-1;opacity:0;pointer-events:none}.CalendarMonthGrid_month__hidden{visibility:hidden}.DayPickerNavigation{position:relative;z-index:2}.DayPickerNavigation__horizontal{height:0}.DayPickerNavigation__verticalDefault{position:absolute;width:100%;height:52px;bottom:0;left:0}.DayPickerNavigation__verticalScrollableDefault{position:relative}.DayPickerNavigation_button{cursor:pointer;-webkit-user-select:none;user-select:none;border:0;padding:0;margin:0}.DayPickerNavigation_button__default{border:1px solid #e4e7e7;background-color:#fff;color:#757575}.DayPickerNavigation_button__default:focus,.DayPickerNavigation_button__default:hover{border:1px solid #c4c4c4}.DayPickerNavigation_button__default:active{background:#f2f2f2}.DayPickerNavigation_button__horizontalDefault{position:absolute;top:18px;line-height:.78;border-radius:3px;padding:6px 9px}.DayPickerNavigation_leftButton__horizontalDefault{left:22px}.DayPickerNavigation_rightButton__horizontalDefault{right:22px}.DayPickerNavigation_button__verticalDefault{padding:5px;background:#fff;box-shadow:0 0 5px 2px rgba(0,0,0,.1);position:relative;display:inline-block;height:100%;width:50%}.DayPickerNavigation_nextButton__verticalDefault{border-left:0}.DayPickerNavigation_nextButton__verticalScrollableDefault{width:100%}.DayPickerNavigation_svg__horizontal{height:19px;width:19px;fill:#82888a;display:block}.DayPickerNavigation_svg__vertical{height:42px;width:42px;fill:#484848;display:block}.DayPicker{position:relative;text-align:left}.DayPicker,.DayPicker__horizontal{background:#fff}.DayPicker__verticalScrollable{height:100%}.DayPicker__hidden{visibility:hidden}.DayPicker__withBorder{box-shadow:0 2px 6px rgba(0,0,0,.05),0 0 0 1px rgba(0,0,0,.07);border-radius:3px}.DayPicker_portal__horizontal{box-shadow:none;position:absolute;left:50%;top:50%}.DayPicker_portal__vertical{position:static}.DayPicker_focusRegion{outline:0}.DayPicker_calendarInfo__horizontal,.DayPicker_wrapper__horizontal{display:inline-block;vertical-align:top}.DayPicker_weekHeaders{position:relative}.DayPicker_weekHeaders__horizontal{margin-left:13px}.DayPicker_weekHeader{color:#757575;position:absolute;top:62px;z-index:2;text-align:left;padding:0!important}.DayPicker_weekHeader__vertical{left:50%}.DayPicker_weekHeader__verticalScrollable{top:0;display:table-row;border-bottom:1px solid #dbdbdb;background:#fff;margin-left:0;left:0;width:100%;text-align:center}.DayPicker_weekHeader_ul{list-style:none;margin:1px 0;padding-left:0;padding-right:0;font-size:14px}.DayPicker_weekHeader_li{display:inline-block;text-align:center;margin:0 1px}.DayPicker_transitionContainer{position:relative;overflow:hidden;border-radius:3px}.DayPicker_transitionContainer__horizontal{transition:height .2s ease-in-out}.DayPicker_transitionContainer__vertical{width:100%}.DayPicker_transitionContainer__verticalScrollable{padding-top:20px;height:100%;position:absolute;top:0;bottom:0;right:0;left:0;overflow-y:scroll}.DateInput{margin:0;padding:0;background:#fff;position:relative;display:inline-block;width:130px;vertical-align:middle}.DateInput__small{width:97px}.DateInput__block{width:100%}.DateInput__disabled{background:#f2f2f2;color:#dbdbdb}.DateInput_input{font-weight:200;font-size:19px;line-height:24px;color:#484848;background-color:#fff;width:100%;padding:11px 11px 9px;border:0;border-bottom:2px solid transparent;border-radius:0}.DateInput_input__small{font-size:15px;line-height:18px;letter-spacing:.2px;padding:7px 7px 5px}.DateInput_input__regular{font-weight:auto}.DateInput_input__readOnly{-webkit-user-select:none;user-select:none}.DateInput_input__focused{outline:0;background:#fff;border:0;border-bottom:2px solid #008489}.DateInput_input__disabled{background:#f2f2f2;font-style:italic}.DateInput_screenReaderMessage{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.DateInput_fang{position:absolute;width:20px;height:10px;left:22px;z-index:2}.DateInput_fangShape{fill:#fff}.DateInput_fangStroke{stroke:#dbdbdb;fill:transparent}.DateRangePickerInput{background-color:#fff;display:inline-block}.DateRangePickerInput__disabled{background:#f2f2f2}.DateRangePickerInput__withBorder{border-radius:2px;border:1px solid #dbdbdb}.DateRangePickerInput__rtl{direction:rtl}.DateRangePickerInput__block{display:block}.DateRangePickerInput__showClearDates{padding-right:30px}.DateRangePickerInput_arrow{display:inline-block;vertical-align:middle;color:#484848}.DateRangePickerInput_arrow_svg{vertical-align:middle;fill:#484848;height:24px;width:24px}.DateRangePickerInput_clearDates{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;cursor:pointer;padding:10px;margin:0 10px 0 5px;position:absolute;right:0;top:50%;transform:translateY(-50%)}.DateRangePickerInput_clearDates__small{padding:6px}.DateRangePickerInput_clearDates_default:focus,.DateRangePickerInput_clearDates_default:hover{background:#dbdbdb;border-radius:50%}.DateRangePickerInput_clearDates__hide{visibility:hidden}.DateRangePickerInput_clearDates_svg{fill:#82888a;height:12px;width:15px;vertical-align:middle}.DateRangePickerInput_clearDates_svg__small{height:9px}.DateRangePickerInput_calendarIcon{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;cursor:pointer;display:inline-block;vertical-align:middle;padding:10px;margin:0 5px 0 10px}.DateRangePickerInput_calendarIcon_svg{fill:#82888a;height:15px;width:14px;vertical-align:middle}.DateRangePicker{position:relative;display:inline-block}.DateRangePicker__block{display:block}.DateRangePicker_picker{z-index:1;background-color:#fff;position:absolute}.DateRangePicker_picker__rtl{direction:rtl}.DateRangePicker_picker__directionLeft{left:0}.DateRangePicker_picker__directionRight{right:0}.DateRangePicker_picker__portal{background-color:rgba(0,0,0,.3);position:fixed;top:0;left:0;height:100%;width:100%}.DateRangePicker_picker__fullScreenPortal{background-color:#fff}.DateRangePicker_closeButton{background:0 0;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;cursor:pointer;position:absolute;top:0;right:0;padding:15px;z-index:2}.DateRangePicker_closeButton:focus,.DateRangePicker_closeButton:hover{color:#b0b3b4;text-decoration:none}.DateRangePicker_closeButton_svg{height:15px;width:15px;fill:#cacccd}.components-datetime{padding:16px}.components-panel__body .components-datetime{padding:0}.components-datetime .components-datetime__calendar-help{padding:16px}.components-datetime .components-datetime__calendar-help h4{margin:0}.components-datetime .components-datetime__buttons{display:flex;justify-content:space-between}.components-datetime .components-datetime__date-help-toggle{display:block;margin-left:auto}.components-datetime fieldset{border:0;padding:0;margin:0}.components-datetime input,.components-datetime select{box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:2px;border:1px solid #757575}@media (prefers-reduced-motion:reduce){.components-datetime input,.components-datetime select{transition-duration:0s;transition-delay:0s}}.components-datetime .components-button,.components-datetime input[type=number],.components-datetime select{height:30px;margin-top:0;margin-bottom:0}.components-datetime__date{min-height:236px;border-top:1px solid #ddd}.components-datetime__date .DayPickerNavigation_leftButton__horizontalDefault{ /*!rtl:begin:ignore*/left:13px - /*!rtl:end:ignore*/}.components-datetime__date .CalendarMonth_caption{font-size:13px}.components-datetime__date .CalendarMonth_table{border-collapse:initial;border-spacing:2px}.components-datetime__date .CalendarDay{font-size:13px;border:none;border-radius:50%;text-align:center}.components-datetime__date .CalendarDay:focus{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color),inset 0 0 0 3px #fff;outline:2px solid transparent}.components-datetime__date .CalendarDay__selected{background:var(--wp-admin-theme-color);border:2px solid transparent}.components-datetime__date .CalendarDay__selected:hover{background:var(--wp-admin-theme-color-darker-20)}.components-datetime__date .CalendarDay__selected:focus{box-shadow:inset 0 0 0 1px #fff}.components-datetime__date .DayPickerNavigation_button__horizontalDefault{padding:2px 8px;top:20px}.components-datetime__date .DayPickerNavigation_button__horizontalDefault:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color);outline:2px solid transparent}.components-datetime__date .DayPicker_weekHeader{top:50px}.components-datetime__date .DayPicker_weekHeader .DayPicker_weekHeader_ul{margin:1px;padding-left:0;padding-right:0}.components-datetime__date.is-description-visible .DayPicker{visibility:hidden}.components-datetime__date .CalendarDay .components-datetime__date__day{height:100%;display:flex;justify-content:center;align-content:center;flex-direction:column;position:relative}.components-datetime__date .CalendarDay .components-datetime__date__day.has-events:before{content:" ";width:4px;height:4px;border-radius:2px;position:absolute;left:50%;margin-left:-2px;bottom:0;background-color:#fff}.components-datetime__date .CalendarDay:not(.CalendarDay__selected) .components-datetime__date__day.has-events:before{background:var(--wp-admin-theme-color)}.components-datetime__time{padding-bottom:16px}.components-datetime__time fieldset{position:relative;margin-bottom:.5em}.components-datetime__time fieldset+fieldset{margin-bottom:0}.components-datetime__time .components-datetime__time-field-am-pm fieldset{margin-top:0}.components-datetime__time .components-datetime__time-wrapper{display:flex}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-separator{display:inline-block;padding:0 3px 0 0}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field-time{direction:ltr}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field select{margin-right:4px}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field select:focus{position:relative;z-index:1}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field input[type=number]{padding:2px;margin-right:4px;text-align:center;-moz-appearance:textfield}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field input[type=number]:focus{position:relative;z-index:1}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.components-datetime__time.is-12-hour .components-datetime__time-field-day input{margin:-4px 0 0!important;border-radius:2px 0 0 2px!important}.components-datetime__time.is-12-hour .components-datetime__time-field-year input{border-radius:0 2px 2px 0!important}.components-datetime__timezone{line-height:30px;margin-left:4px;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.components-datetime__time-legend{font-weight:600;margin-top:.5em}.components-datetime__time-legend.invisible{position:absolute;top:-999em;left:-999em}.components-datetime__time-field-day-input,.components-datetime__time-field-hours-input,.components-datetime__time-field-minutes-input{width:35px}.components-datetime__time-field-year-input{width:55px}.components-datetime__time-field-month-select{max-width:145px}.components-popover .components-datetime__date{padding-left:4px}.block-editor-dimension-control .components-base-control__field{display:flex;align-items:center}.block-editor-dimension-control .components-base-control__label{display:flex;align-items:center;margin-right:1em;margin-bottom:0}.block-editor-dimension-control .components-base-control__label .dashicon{margin-right:.5em}.block-editor-dimension-control.is-manual .components-base-control__label{width:10em}body.is-dragging-components-draggable{cursor:move;cursor:grabbing!important}.components-draggable__invisible-drag-image{position:fixed;left:-1000px;height:50px;width:50px}.components-draggable__clone{position:fixed;padding:0;background:transparent;pointer-events:none;z-index:1000000000}.components-drop-zone{position:absolute;top:0;right:0;bottom:0;left:0;z-index:40;visibility:hidden;opacity:0;transition:opacity .3s,background-color .3s,visibility 0s .3s;border:2px solid var(--wp-admin-theme-color);border-radius:2px}@media (prefers-reduced-motion:reduce){.components-drop-zone{transition-duration:0s;transition-delay:0s}}.components-drop-zone.is-active{opacity:1;visibility:visible;transition:opacity .3s,background-color .3s}@media (prefers-reduced-motion:reduce){.components-drop-zone.is-active{transition-duration:0s;transition-delay:0s}}.components-drop-zone.is-dragging-over-element{background-color:var(--wp-admin-theme-color)}.components-drop-zone__content{position:absolute;top:50%;left:0;right:0;z-index:50;transform:translateY(-50%);width:100%;text-align:center;color:#fff;transition:transform .2s ease-in-out}@media (prefers-reduced-motion:reduce){.components-drop-zone__content{transition-duration:0s;transition-delay:0s}}.components-drop-zone.is-dragging-over-element .components-drop-zone__content{transform:translateY(-50%) scale(1.05)}.components-drop-zone__content-icon,.components-drop-zone__content-text{display:block}.components-drop-zone__content-icon{margin:0 auto;line-height:0;fill:currentColor}.components-drop-zone__content-text{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.components-dropdown{display:inline-block}.components-dropdown__content .components-popover__content>div{padding:12px}.components-dropdown-menu__popover .components-popover__content{min-width:200px}.components-dropdown-menu__menu{width:100%;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:1.4}.components-dropdown-menu__menu .components-dropdown-menu__menu-item,.components-dropdown-menu__menu .components-menu-item{width:100%;padding:6px;outline:none;cursor:pointer;white-space:nowrap}.components-dropdown-menu__menu .components-dropdown-menu__menu-item.has-separator,.components-dropdown-menu__menu .components-menu-item.has-separator{margin-top:6px;position:relative;overflow:visible}.components-dropdown-menu__menu .components-dropdown-menu__menu-item.has-separator:before,.components-dropdown-menu__menu .components-menu-item.has-separator:before{display:block;content:"";box-sizing:initial;background-color:#ddd;position:absolute;top:-3px;left:0;right:0;height:1px}.components-dropdown-menu__menu .components-dropdown-menu__menu-item.is-active svg,.components-dropdown-menu__menu .components-menu-item.is-active svg{color:#fff;background:#1e1e1e;box-shadow:0 0 0 1px #1e1e1e;border-radius:1px}.components-dropdown-menu__menu .components-dropdown-menu__menu-item>svg,.components-dropdown-menu__menu .components-menu-item>svg{border-radius:2px;width:24px;height:24px}.components-dropdown-menu__menu .components-menu-item__button,.components-dropdown-menu__menu .components-menu-item__button.components-button{min-height:36px;height:auto;text-align:left;padding-left:8px;padding-right:8px}.components-dropdown-menu__menu .components-menu-group{padding:12px;margin:0 -12px}.components-dropdown-menu__menu .components-menu-group:first-child{margin-top:-12px}.components-dropdown-menu__menu .components-menu-group:last-child{margin-bottom:-12px}.components-dropdown-menu__menu .components-menu-group+.components-menu-group{margin-top:0;border-top:1px solid #ccc;padding:12px}.is-alternate .components-dropdown-menu__menu .components-menu-group+.components-menu-group{border-color:#1e1e1e}.components-font-size-picker__controls{max-width:248px;display:flex;flex-wrap:wrap;align-items:center;margin-bottom:24px}.components-font-size-picker__controls .components-unit-control-wrapper{margin-right:8px}.components-font-size-picker__controls .components-unit-control-wrapper .components-input-control__label{font-weight:300;padding-bottom:0!important;margin-bottom:8px!important}.components-font-size-picker__controls .components-custom-select-control__button{min-width:120px}.components-font-size-picker__controls .components-font-size-picker__number{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;padding:6px 8px;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:2px;border:1px solid #757575;font-size:16px;line-height:normal;display:inline-block;font-weight:500;height:30px;margin:8px 8px 0 0;width:54px}@media (prefers-reduced-motion:reduce){.components-font-size-picker__controls .components-font-size-picker__number{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.components-font-size-picker__controls .components-font-size-picker__number{font-size:13px;line-height:normal}}.components-font-size-picker__controls .components-font-size-picker__number:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color);outline:2px solid transparent}.components-font-size-picker__controls .components-font-size-picker__number::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.components-font-size-picker__controls .components-font-size-picker__number::-moz-placeholder{opacity:1;color:rgba(30,30,30,.62)}.components-font-size-picker__controls .components-font-size-picker__number:-ms-input-placeholder{color:rgba(30,30,30,.62)}.is-dark-theme .components-font-size-picker__controls .components-font-size-picker__number::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .components-font-size-picker__controls .components-font-size-picker__number::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .components-font-size-picker__controls .components-font-size-picker__number:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}.components-font-size-picker__controls .components-font-size-picker__number[value=""]+.components-button{cursor:default;opacity:.3;pointer-events:none}.components-font-size-picker__controls .components-font-size-picker__number-container{display:flex;flex-direction:column}.components-font-size-picker__controls .components-font-size-picker__select{margin-right:8px}.components-font-size-picker__controls .components-color-palette__clear{height:30px;margin-top:26px}.components-font-size-picker__custom-input .components-range-control__slider+.dashicon{width:30px;height:30px}.components-font-size-picker{border:0;padding:0;margin:0}.components-form-toggle{position:relative;display:inline-block}.components-form-toggle .components-form-toggle__track{content:"";display:inline-block;box-sizing:border-box;vertical-align:top;background-color:#fff;border:1px solid #1e1e1e;width:36px;height:18px;border-radius:9px;transition:background .2s ease}@media (prefers-reduced-motion:reduce){.components-form-toggle .components-form-toggle__track{transition-duration:0s;transition-delay:0s}}.components-form-toggle .components-form-toggle__thumb{display:block;position:absolute;box-sizing:border-box;top:3px;left:3px;width:12px;height:12px;border-radius:50%;transition:transform .1s ease;background-color:#1e1e1e;border:5px solid #1e1e1e}@media (prefers-reduced-motion:reduce){.components-form-toggle .components-form-toggle__thumb{transition-duration:0s;transition-delay:0s}}.components-form-toggle.is-checked .components-form-toggle__track{background-color:var(--wp-admin-theme-color);border:9px solid transparent}.components-form-toggle .components-form-toggle__input:focus+.components-form-toggle__track{box-shadow:0 0 0 2px #fff,0 0 0 4px var(--wp-admin-theme-color);outline:2px solid transparent;outline-offset:2px}.components-form-toggle.is-checked .components-form-toggle__thumb{background-color:#fff;border-width:0;transform:translateX(18px)}.components-disabled .components-form-toggle,.components-form-toggle.is-disabled{opacity:.3}.components-form-toggle input.components-form-toggle__input[type=checkbox]{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;margin:0;padding:0;z-index:1;border:none}.components-form-toggle input.components-form-toggle__input[type=checkbox]:checked{background:none}.components-form-toggle input.components-form-toggle__input[type=checkbox]:before{content:""}.components-form-token-field__input-container{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:2px;border:1px solid #757575;font-size:16px;line-height:normal;display:flex;flex-wrap:wrap;align-items:center;width:100%;margin:0 0 8px;padding:2px 4px;cursor:text}@media (prefers-reduced-motion:reduce){.components-form-token-field__input-container{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.components-form-token-field__input-container{font-size:13px;line-height:normal}}.components-form-token-field__input-container:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color);outline:2px solid transparent}.components-form-token-field__input-container::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.components-form-token-field__input-container::-moz-placeholder{opacity:1;color:rgba(30,30,30,.62)}.components-form-token-field__input-container:-ms-input-placeholder{color:rgba(30,30,30,.62)}.is-dark-theme .components-form-token-field__input-container::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .components-form-token-field__input-container::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .components-form-token-field__input-container:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}.components-form-token-field__input-container.is-disabled{background:#ddd;border-color:#ddd}.components-form-token-field__input-container.is-active{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color);outline:2px solid transparent}.components-form-token-field__input-container input[type=text].components-form-token-field__input{display:inline-block;flex:1;font-size:16px;width:100%;max-width:100%;margin-left:4px;padding:0;min-height:24px;min-width:50px;background:inherit;border:0;color:#1e1e1e;box-shadow:none}@media (min-width:600px){.components-form-token-field__input-container input[type=text].components-form-token-field__input{font-size:13px}}.components-form-token-field.is-active .components-form-token-field__input-container input[type=text].components-form-token-field__input,.components-form-token-field__input-container input[type=text].components-form-token-field__input:focus{outline:none;box-shadow:none}.components-form-token-field__input-container .components-form-token-field__token+input[type=text].components-form-token-field__input{width:auto}.components-form-token-field__label{display:inline-block;margin-bottom:4px}.components-form-token-field__help{font-size:12px;font-style:normal;color:#757575}.components-form-token-field__token{font-size:13px;display:flex;margin:2px 4px 2px 0;color:#1e1e1e;max-width:100%}.components-form-token-field__token.is-success .components-form-token-field__remove-token,.components-form-token-field__token.is-success .components-form-token-field__token-text{background:#4ab866}.components-form-token-field__token.is-error .components-form-token-field__remove-token,.components-form-token-field__token.is-error .components-form-token-field__token-text{background:#cc1818}.components-form-token-field__token.is-validating .components-form-token-field__remove-token,.components-form-token-field__token.is-validating .components-form-token-field__token-text{color:#757575}.components-form-token-field__token.is-borderless{position:relative;padding:0 16px 0 0}.components-form-token-field__token.is-borderless .components-form-token-field__token-text{background:transparent;color:var(--wp-admin-theme-color)}.components-form-token-field__token.is-borderless .components-form-token-field__remove-token{background:transparent;color:#757575;position:absolute;top:1px;right:0}.components-form-token-field__token.is-borderless.is-success .components-form-token-field__token-text{color:#4ab866}.components-form-token-field__token.is-borderless.is-error .components-form-token-field__token-text{color:#cc1818;border-radius:4px 0 0 4px;padding:0 4px 0 6px}.components-form-token-field__token.is-borderless.is-validating .components-form-token-field__token-text{color:#1e1e1e}.components-form-token-field__token.is-disabled .components-form-token-field__remove-token{cursor:default}.components-form-token-field__remove-token.components-button,.components-form-token-field__token-text{display:inline-block;line-height:24px;height:auto;background:#ddd;min-width:unset;transition:all .2s cubic-bezier(.4,1,.4,1)}@media (prefers-reduced-motion:reduce){.components-form-token-field__remove-token.components-button,.components-form-token-field__token-text{transition-duration:0s;transition-delay:0s;animation-duration:1ms;animation-delay:0s}}.components-form-token-field__token-text{border-radius:2px 0 0 2px;padding:0 0 0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.components-form-token-field__remove-token.components-button{cursor:pointer;border-radius:0 2px 2px 0;padding:0 2px;color:#1e1e1e;line-height:10px;overflow:initial}.components-form-token-field__remove-token.components-button:hover{color:#1e1e1e}.components-form-token-field__suggestions-list{flex:1 0 100%;min-width:100%;max-height:9em;overflow-y:auto;transition:all .15s ease-in-out;list-style:none;border-top:1px solid #757575;margin:4px -4px -4px;padding:0}@media (prefers-reduced-motion:reduce){.components-form-token-field__suggestions-list{transition-duration:0s;transition-delay:0s}}.components-form-token-field__suggestion{color:#757575;display:block;font-size:13px;padding:4px 8px;margin:0;cursor:pointer}.components-form-token-field__suggestion.is-selected{background:var(--wp-admin-theme-color);color:#fff}.components-form-token-field__suggestion-match{text-decoration:underline}@media (min-width:600px){.components-guide{width:600px}}.components-guide .components-modal__header{background:none;border-bottom:none;width:100%;padding:0;margin:0}.components-guide .components-modal__header .components-button{align-self:flex-start;margin:8px 8px 0 0;position:static}.components-guide .components-modal__header .components-button:hover svg{fill:#fff}.components-guide__container{display:flex;flex-direction:column;justify-content:space-between;margin-top:-60px;min-height:100%}.components-guide__page{display:flex;flex-direction:column;justify-content:center;position:relative}@media (min-width:600px){.components-guide__page{min-height:300px}}.components-guide__footer{align-content:center;display:flex;height:30px;justify-content:center;margin:0 0 24px;padding:0 32px;position:relative;width:100%}@media (max-width:600px){.components-guide__footer{position:absolute;bottom:0}}.components-guide__page-control{margin:0;text-align:center}.components-guide__page-control li{display:inline-block;margin:0}.components-guide__page-control .components-button{height:30px;min-width:20px;margin:-6px 0}.components-guide .components-modal__content{padding:0}.components-modal__frame.components-guide{border:none;min-width:312px;height:80vh;max-height:575px}@media (max-width:600px){.components-modal__frame.components-guide{bottom:5%;left:16px;right:16px;top:5%;margin:0 auto}}.components-button.components-guide__back-button,.components-button.components-guide__finish-button,.components-button.components-guide__forward-button{height:30px;position:absolute}.components-button.components-guide__back-button,.components-button.components-guide__forward-button{font-size:13px;padding:4px 2px}.components-button.components-guide__back-button.has-text svg,.components-button.components-guide__forward-button.has-text svg{margin:0}.components-button.components-guide__back-button:hover,.components-button.components-guide__forward-button:hover{text-decoration:underline}.components-button.components-guide__back-button{left:32px}.components-button.components-guide__forward-button{right:32px;color:#1386bf;font-weight:700}.components-button.components-guide__finish-button{right:32px}.components-button.components-guide__inline-finish-button{display:none}[role=region]{position:relative}.is-focusing-regions [role=region]:focus:after{content:"";position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:none;outline:4px solid transparent;box-shadow:inset 0 0 0 4px var(--wp-admin-theme-color)}@supports (outline-offset:1px){.is-focusing-regions [role=region]:focus:after{content:none}.is-focusing-regions [role=region]:focus{outline-style:solid;outline-color:var(--wp-admin-theme-color);outline-width:4px;outline-offset:-4px}}.components-menu-group+.components-menu-group{margin-top:8px;padding-top:8px;border-top:1px solid #1e1e1e}.components-menu-group+.components-menu-group.has-hidden-separator{border-top:none;margin-top:0;padding-top:0}.components-menu-group__label{padding:0 8px;margin-top:4px;margin-bottom:12px;color:#757575;text-transform:uppercase;font-size:11px;font-weight:500}.components-menu-item__button,.components-menu-item__button.components-button{width:100%}.components-menu-item__button.components-button .components-menu-items__item-icon,.components-menu-item__button .components-menu-items__item-icon{margin-right:-2px;margin-left:24px;display:inline-block;flex:0 0 auto}.components-menu-item__button.components-button .components-menu-item__shortcut+.components-menu-items__item-icon,.components-menu-item__button .components-menu-item__shortcut+.components-menu-items__item-icon{margin-left:8px}.components-menu-item__button .block-editor-block-icon,.components-menu-item__button.components-button .block-editor-block-icon{margin-left:-2px;margin-right:8px}.components-menu-item__button.components-button.is-primary,.components-menu-item__button.is-primary{justify-content:center}.components-menu-item__button.components-button.is-primary .components-menu-item__item,.components-menu-item__button.is-primary .components-menu-item__item{margin-right:0}.components-menu-item__info-wrapper{display:flex;flex-direction:column;margin-right:auto}.components-menu-item__info{margin-top:4px;font-size:12px;color:#757575;white-space:normal}.components-menu-item__item{white-space:nowrap;margin-right:auto;display:inline-flex;align-items:center}.components-menu-item__shortcut{align-self:center;margin-right:0;margin-left:auto;padding-left:24px;color:currentColor;display:none}@media (min-width:480px){.components-menu-item__shortcut{display:inline}}.components-menu-items-choice.components-button svg,.components-menu-items-choice svg{margin-right:12px}.components-menu-items-choice.components-button.has-icon,.components-menu-items-choice.has-icon{padding-left:12px}.components-modal__screen-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0,0,0,.35);z-index:100000;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.components-modal__screen-overlay{animation-duration:1ms;animation-delay:0s}}.components-modal__frame{position:absolute;top:0;right:0;bottom:0;left:0;box-sizing:border-box;margin:0;background:#fff;box-shadow:0 10px 10px rgba(0,0,0,.25);border-radius:2px;overflow:auto}@media (min-width:600px){.components-modal__frame{top:50%;right:auto;bottom:auto;left:50%;min-width:360px;max-width:calc(100% - 32px);max-height:90%;transform:translate(-50%,-50%);animation:components-modal__appear-animation .1s ease-out;animation-fill-mode:forwards}}@media (min-width:600px) and (prefers-reduced-motion:reduce){.components-modal__frame{animation-duration:1ms;animation-delay:0s}}@keyframes components-modal__appear-animation{0%{margin-top:32px}to{margin-top:0}}.components-modal__header{box-sizing:border-box;border-bottom:1px solid #ddd;padding:0 32px;display:flex;flex-direction:row;justify-content:space-between;background:#fff;align-items:center;height:60px;z-index:10;position:relative;position:sticky;top:0;margin:0 -32px 24px}@supports (-ms-ime-align:auto){.components-modal__header{position:fixed;width:100%}}.components-modal__header .components-modal__header-heading{font-size:1rem;font-weight:600}.components-modal__header h1{line-height:1;margin:0}.components-modal__header .components-button{position:relative;left:8px}.components-modal__header-heading-container{align-items:center;flex-grow:1;display:flex;flex-direction:row;justify-content:left}.components-modal__header-icon-container{display:inline-block}.components-modal__header-icon-container svg{max-width:36px;max-height:36px;padding:8px}.components-modal__content{box-sizing:border-box;height:100%;padding:0 32px 24px}@supports (-ms-ime-align:auto){.components-modal__content{padding-top:60px}}.components-notice{display:flex;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;background-color:#fff;border-left:4px solid var(--wp-admin-theme-color);margin:5px 15px 2px;padding:8px 12px;align-items:center}.components-notice.is-dismissible{padding-right:36px;position:relative}.components-notice.is-success{border-left-color:#4ab866;background-color:#eff9f1}.components-notice.is-warning{border-left-color:#f0b849;background-color:#fef8ee}.components-notice.is-error{border-left-color:#cc1818;background-color:#f4a2a2}.components-notice__content{flex-grow:1;margin:4px 25px 4px 0}.components-notice__actions{display:flex;flex-wrap:wrap}.components-notice__action.components-button{margin-right:8px}.components-notice__action.components-button,.components-notice__action.components-button.is-link{margin-left:12px}.components-notice__action.components-button.is-secondary{vertical-align:initial}.components-notice__dismiss{color:#757575;align-self:flex-start;flex-shrink:0}.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):focus,.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-secondary):active,.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover{color:#1e1e1e;background-color:initial}.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover{box-shadow:none}.components-notice-list{max-width:100vw;box-sizing:border-box;z-index:29}.components-notice-list .components-notice__content{margin-top:12px;margin-bottom:12px;line-height:2}.components-notice-list .components-notice__action.components-button{display:block;margin-left:0;margin-top:8px}.components-panel{background:#fff;border:1px solid #e0e0e0}.components-panel>.components-panel__body:first-child,.components-panel>.components-panel__header:first-child{margin-top:-1px}.components-panel>.components-panel__body:last-child,.components-panel>.components-panel__header:last-child{border-bottom-width:0}.components-panel+.components-panel{margin-top:-1px}.components-panel__body{border-top:1px solid #e0e0e0;border-bottom:1px solid #e0e0e0}.components-panel__body h3{margin:0 0 .5em}.components-panel__body.is-opened{padding:16px}.components-panel__header{display:flex;justify-content:space-between;align-items:center;padding:0 16px;height:48px;border-top:1px solid #ddd;border-bottom:1px solid #ddd}.components-panel__header h2{margin:0;font-size:inherit;color:inherit}.components-panel__body+.components-panel__body,.components-panel__body+.components-panel__header,.components-panel__header+.components-panel__body,.components-panel__header+.components-panel__header{margin-top:-1px}.components-panel__body>.components-panel__body-title{display:block;padding:0;font-size:inherit;margin-top:0;margin-bottom:0;transition:background .1s ease-in-out}@media (prefers-reduced-motion:reduce){.components-panel__body>.components-panel__body-title{transition-duration:0s;transition-delay:0s}}.components-panel__body.is-opened>.components-panel__body-title{margin:-16px -16px 5px}.components-panel__body>.components-panel__body-title:hover{background:#f0f0f0;border:none}.components-panel__body-toggle.components-button{position:relative;padding:16px 48px 16px 16px;outline:none;width:100%;font-weight:500;text-align:left;color:#1e1e1e;border:none;box-shadow:none;transition:background .1s ease-in-out;height:auto}@media (prefers-reduced-motion:reduce){.components-panel__body-toggle.components-button{transition-duration:0s;transition-delay:0s}}.components-panel__body-toggle.components-button:focus{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);border-radius:0}.components-panel__body-toggle.components-button .components-panel__arrow{position:absolute;right:16px;top:50%;transform:translateY(-50%);color:#1e1e1e;fill:currentColor;transition:color .1s ease-in-out}@media (prefers-reduced-motion:reduce){.components-panel__body-toggle.components-button .components-panel__arrow{transition-duration:0s;transition-delay:0s}}body.rtl .components-panel__body-toggle.components-button .dashicons-arrow-right{transform:scaleX(-1);-ms-filter:fliph;filter:FlipH;margin-top:-10px}.components-panel__icon{color:#757575;margin:-2px 0 -2px 6px}.components-panel__body-toggle-icon{margin-right:-5px}.components-panel__color-title{float:left;height:19px}.components-panel__row{display:flex;justify-content:space-between;align-items:center;margin-top:8px;min-height:36px}.components-panel__row select{min-width:0}.components-panel__row label{margin-right:12px;flex-shrink:0;max-width:75%}.components-panel__row:empty,.components-panel__row:first-of-type{margin-top:0}.components-panel .circle-picker{padding-bottom:20px}.components-placeholder.components-placeholder{box-sizing:border-box;position:relative;padding:1em;min-height:200px;width:100%;text-align:left;margin:0;color:#1e1e1e;-moz-font-smoothing:subpixel-antialiased;-webkit-font-smoothing:subpixel-antialiased;border-radius:2px;background-color:#fff;box-shadow:inset 0 0 0 1px #1e1e1e;outline:1px solid transparent}@supports (position:sticky){.components-placeholder.components-placeholder{display:flex;flex-direction:column;justify-content:center;align-items:flex-start}}.components-placeholder.components-placeholder .components-base-control__label{font-size:13px}.components-placeholder__error,.components-placeholder__fieldset,.components-placeholder__instructions,.components-placeholder__label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.components-placeholder__label{display:flex;font-weight:600;margin-bottom:16px;align-items:center}.components-placeholder__label .block-editor-block-icon,.components-placeholder__label .dashicon,.components-placeholder__label>svg{fill:currentColor;margin-right:1ch}.components-placeholder__label:empty{display:none}.components-placeholder__fieldset,.components-placeholder__fieldset form{display:flex;flex-direction:row;width:100%;flex-wrap:wrap}.components-placeholder__fieldset form p,.components-placeholder__fieldset p{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.components-placeholder__fieldset.is-column-layout,.components-placeholder__fieldset.is-column-layout form{flex-direction:column}.components-placeholder__input[type=url]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;padding:6px 8px;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:2px;border:1px solid #757575;font-size:16px;line-height:normal;margin:0 8px 0 0;flex:1 1 auto}@media (prefers-reduced-motion:reduce){.components-placeholder__input[type=url]{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.components-placeholder__input[type=url]{font-size:13px;line-height:normal}}.components-placeholder__input[type=url]:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color);outline:2px solid transparent}.components-placeholder__input[type=url]::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.components-placeholder__input[type=url]::-moz-placeholder{opacity:1;color:rgba(30,30,30,.62)}.components-placeholder__input[type=url]:-ms-input-placeholder{color:rgba(30,30,30,.62)}.is-dark-theme .components-placeholder__input[type=url]::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .components-placeholder__input[type=url]::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .components-placeholder__input[type=url]:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}.components-placeholder__instructions{margin-bottom:1em}.components-placeholder__error{margin-top:1em;width:100%}.components-placeholder__preview img{margin:3%;width:50%}.components-placeholder__fieldset .components-button{margin-right:12px;margin-bottom:12px}.components-placeholder__fieldset .components-button:last-child{margin-bottom:0;margin-right:0}.components-placeholder__fieldset .components-button:not(.is-link)~.components-button.is-link{margin-left:10px;margin-right:10px}.components-placeholder__fieldset .components-button:not(.is-link)~.components-button.is-link:last-child{margin-right:0}.components-placeholder.is-large .components-placeholder__label{font-size:18pt;font-weight:400}.components-placeholder.is-medium .components-placeholder__instructions,.components-placeholder.is-small .components-placeholder__instructions{display:none}.components-placeholder.is-medium .components-placeholder__fieldset,.components-placeholder.is-medium .components-placeholder__fieldset form,.components-placeholder.is-small .components-placeholder__fieldset,.components-placeholder.is-small .components-placeholder__fieldset form{flex-direction:column}.components-placeholder.is-medium .components-placeholder__fieldset .components-button,.components-placeholder.is-small .components-placeholder__fieldset .components-button{margin-right:auto}.components-placeholder.is-small .components-button{padding:0 8px 2px} + /*!rtl:end:ignore*/}.components-datetime__date .CalendarMonth_caption{font-size:13px}.components-datetime__date .CalendarMonth_table{border-collapse:initial;border-spacing:2px}.components-datetime__date .CalendarDay{font-size:13px;border:none;border-radius:50%;text-align:center}.components-datetime__date .CalendarDay:focus{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color),inset 0 0 0 3px #fff;outline:2px solid transparent}.components-datetime__date .CalendarDay__selected{background:var(--wp-admin-theme-color);border:2px solid transparent}.components-datetime__date .CalendarDay__selected:hover{background:var(--wp-admin-theme-color-darker-20)}.components-datetime__date .CalendarDay__selected:focus{box-shadow:inset 0 0 0 1px #fff}.components-datetime__date .DayPickerNavigation_button__horizontalDefault{padding:2px 8px;top:20px}.components-datetime__date .DayPickerNavigation_button__horizontalDefault:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color);outline:2px solid transparent}.components-datetime__date .DayPicker_weekHeader{top:50px}.components-datetime__date .DayPicker_weekHeader .DayPicker_weekHeader_ul{margin:1px;padding-left:0;padding-right:0}.components-datetime__date.is-description-visible .DayPicker{visibility:hidden}.components-datetime__date .CalendarDay .components-datetime__date__day{height:100%;display:flex;justify-content:center;align-content:center;flex-direction:column;position:relative}.components-datetime__date .CalendarDay .components-datetime__date__day.has-events:before{content:" ";width:4px;height:4px;border-radius:2px;position:absolute;left:50%;margin-left:-2px;bottom:0;background-color:#fff}.components-datetime__date .CalendarDay:not(.CalendarDay__selected) .components-datetime__date__day.has-events:before{background:var(--wp-admin-theme-color)}.components-datetime__time{padding-bottom:16px}.components-datetime__time fieldset{position:relative;margin-bottom:.5em}.components-datetime__time fieldset+fieldset{margin-bottom:0}.components-datetime__time .components-datetime__time-field-am-pm fieldset{margin-top:0}.components-datetime__time .components-datetime__time-wrapper{display:flex}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-separator{display:inline-block;padding:0 3px 0 0}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field-time{direction:ltr}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field select{margin-right:4px}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field select:focus{position:relative;z-index:1}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field input[type=number]{padding:2px;margin-right:4px;text-align:center;-moz-appearance:textfield}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field input[type=number]:focus{position:relative;z-index:1}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.components-datetime__time.is-12-hour .components-datetime__time-field-day input{margin:-4px 0 0!important;border-radius:2px 0 0 2px!important}.components-datetime__time.is-12-hour .components-datetime__time-field-year input{border-radius:0 2px 2px 0!important}.components-datetime__timezone{line-height:30px;margin-left:4px;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.components-datetime__time-legend{font-weight:600;margin-top:.5em}.components-datetime__time-legend.invisible{position:absolute;top:-999em;left:-999em}.components-datetime__time-field-day-input,.components-datetime__time-field-hours-input,.components-datetime__time-field-minutes-input{width:35px}.components-datetime__time-field-year-input{width:55px}.components-datetime__time-field-month-select{max-width:145px}.components-popover .components-datetime__date{padding-left:4px}.block-editor-dimension-control .components-base-control__field{display:flex;align-items:center}.block-editor-dimension-control .components-base-control__label{display:flex;align-items:center;margin-right:1em;margin-bottom:0}.block-editor-dimension-control .components-base-control__label .dashicon{margin-right:.5em}.block-editor-dimension-control.is-manual .components-base-control__label{width:10em}body.is-dragging-components-draggable{cursor:move;cursor:grabbing!important}.components-draggable__invisible-drag-image{position:fixed;left:-1000px;height:50px;width:50px}.components-draggable__clone{position:fixed;padding:0;background:transparent;pointer-events:none;z-index:1000000000}.components-drop-zone{position:absolute;top:0;right:0;bottom:0;left:0;z-index:40;visibility:hidden;opacity:0;transition:opacity .3s,background-color .3s,visibility 0s .3s;border:2px solid var(--wp-admin-theme-color);border-radius:2px}@media (prefers-reduced-motion:reduce){.components-drop-zone{transition-duration:0s;transition-delay:0s}}.components-drop-zone.is-active{opacity:1;visibility:visible;transition:opacity .3s,background-color .3s}@media (prefers-reduced-motion:reduce){.components-drop-zone.is-active{transition-duration:0s;transition-delay:0s}}.components-drop-zone.is-dragging-over-element{background-color:var(--wp-admin-theme-color)}.components-drop-zone__content{position:absolute;top:50%;left:0;right:0;z-index:50;transform:translateY(-50%);width:100%;text-align:center;color:#fff;transition:transform .2s ease-in-out}@media (prefers-reduced-motion:reduce){.components-drop-zone__content{transition-duration:0s;transition-delay:0s}}.components-drop-zone.is-dragging-over-element .components-drop-zone__content{transform:translateY(-50%) scale(1.05)}.components-drop-zone__content-icon,.components-drop-zone__content-text{display:block}.components-drop-zone__content-icon{margin:0 auto;line-height:0;fill:currentColor}.components-drop-zone__content-text{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.components-dropdown{display:inline-block}.components-dropdown__content .components-popover__content>div{padding:12px}.components-dropdown-menu__popover .components-popover__content{min-width:200px}.components-dropdown-menu__menu{width:100%;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:1.4}.components-dropdown-menu__menu .components-dropdown-menu__menu-item,.components-dropdown-menu__menu .components-menu-item{width:100%;padding:6px;outline:none;cursor:pointer;white-space:nowrap}.components-dropdown-menu__menu .components-dropdown-menu__menu-item.has-separator,.components-dropdown-menu__menu .components-menu-item.has-separator{margin-top:6px;position:relative;overflow:visible}.components-dropdown-menu__menu .components-dropdown-menu__menu-item.has-separator:before,.components-dropdown-menu__menu .components-menu-item.has-separator:before{display:block;content:"";box-sizing:initial;background-color:#ddd;position:absolute;top:-3px;left:0;right:0;height:1px}.components-dropdown-menu__menu .components-dropdown-menu__menu-item.is-active svg,.components-dropdown-menu__menu .components-menu-item.is-active svg{color:#fff;background:#1e1e1e;box-shadow:0 0 0 1px #1e1e1e;border-radius:1px}.components-dropdown-menu__menu .components-dropdown-menu__menu-item>svg,.components-dropdown-menu__menu .components-menu-item>svg{border-radius:2px;width:24px;height:24px}.components-dropdown-menu__menu .components-menu-item__button,.components-dropdown-menu__menu .components-menu-item__button.components-button{min-height:36px;height:auto;text-align:left;padding-left:8px;padding-right:8px}.components-dropdown-menu__menu .components-menu-group{padding:12px;margin:0 -12px}.components-dropdown-menu__menu .components-menu-group:first-child{margin-top:-12px}.components-dropdown-menu__menu .components-menu-group:last-child{margin-bottom:-12px}.components-dropdown-menu__menu .components-menu-group+.components-menu-group{margin-top:0;border-top:1px solid #ccc;padding:12px}.is-alternate .components-dropdown-menu__menu .components-menu-group+.components-menu-group{border-color:#1e1e1e}.components-font-size-picker__controls{max-width:248px;display:flex;flex-wrap:wrap;align-items:center;margin-bottom:24px}.components-font-size-picker__controls .components-unit-control-wrapper{margin-right:8px}.components-font-size-picker__controls .components-unit-control-wrapper .components-input-control__label{font-weight:300;padding-bottom:0!important;margin-bottom:8px!important}.components-font-size-picker__controls .components-custom-select-control__button{min-width:120px}.components-font-size-picker__controls .components-font-size-picker__number{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;padding:6px 8px;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:2px;border:1px solid #757575;font-size:16px;line-height:normal;display:inline-block;font-weight:500;height:30px;margin:8px 8px 0 0;width:54px}@media (prefers-reduced-motion:reduce){.components-font-size-picker__controls .components-font-size-picker__number{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.components-font-size-picker__controls .components-font-size-picker__number{font-size:13px;line-height:normal}}.components-font-size-picker__controls .components-font-size-picker__number:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color);outline:2px solid transparent}.components-font-size-picker__controls .components-font-size-picker__number::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.components-font-size-picker__controls .components-font-size-picker__number::-moz-placeholder{opacity:1;color:rgba(30,30,30,.62)}.components-font-size-picker__controls .components-font-size-picker__number:-ms-input-placeholder{color:rgba(30,30,30,.62)}.is-dark-theme .components-font-size-picker__controls .components-font-size-picker__number::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .components-font-size-picker__controls .components-font-size-picker__number::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .components-font-size-picker__controls .components-font-size-picker__number:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}.components-font-size-picker__controls .components-font-size-picker__number[value=""]+.components-button{cursor:default;opacity:.3;pointer-events:none}.components-font-size-picker__controls .components-font-size-picker__number-container{display:flex;flex-direction:column}.components-font-size-picker__controls .components-font-size-picker__select{margin-right:8px}.components-font-size-picker__controls .components-color-palette__clear{height:30px;margin-top:26px}.components-font-size-picker__custom-input .components-range-control__slider+.dashicon{width:30px;height:30px}.components-font-size-picker{border:0;padding:0;margin:0}.components-form-toggle{position:relative;display:inline-block}.components-form-toggle .components-form-toggle__track{content:"";display:inline-block;box-sizing:border-box;vertical-align:top;background-color:#fff;border:1px solid #1e1e1e;width:36px;height:18px;border-radius:9px;transition:background .2s ease}@media (prefers-reduced-motion:reduce){.components-form-toggle .components-form-toggle__track{transition-duration:0s;transition-delay:0s}}.components-form-toggle .components-form-toggle__thumb{display:block;position:absolute;box-sizing:border-box;top:3px;left:3px;width:12px;height:12px;border-radius:50%;transition:transform .1s ease;background-color:#1e1e1e;border:5px solid #1e1e1e}@media (prefers-reduced-motion:reduce){.components-form-toggle .components-form-toggle__thumb{transition-duration:0s;transition-delay:0s}}.components-form-toggle.is-checked .components-form-toggle__track{background-color:var(--wp-admin-theme-color);border:9px solid transparent}.components-form-toggle .components-form-toggle__input:focus+.components-form-toggle__track{box-shadow:0 0 0 2px #fff,0 0 0 4px var(--wp-admin-theme-color);outline:2px solid transparent;outline-offset:2px}.components-form-toggle.is-checked .components-form-toggle__thumb{background-color:#fff;border-width:0;transform:translateX(18px)}.components-disabled .components-form-toggle,.components-form-toggle.is-disabled{opacity:.3}.components-form-toggle input.components-form-toggle__input[type=checkbox]{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;margin:0;padding:0;z-index:1;border:none}.components-form-toggle input.components-form-toggle__input[type=checkbox]:checked{background:none}.components-form-toggle input.components-form-toggle__input[type=checkbox]:before{content:""}.components-form-token-field__input-container{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:2px;border:1px solid #757575;font-size:16px;line-height:normal;display:flex;flex-wrap:wrap;align-items:center;width:100%;margin:0 0 8px;padding:2px 4px;cursor:text}@media (prefers-reduced-motion:reduce){.components-form-token-field__input-container{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.components-form-token-field__input-container{font-size:13px;line-height:normal}}.components-form-token-field__input-container:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color);outline:2px solid transparent}.components-form-token-field__input-container::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.components-form-token-field__input-container::-moz-placeholder{opacity:1;color:rgba(30,30,30,.62)}.components-form-token-field__input-container:-ms-input-placeholder{color:rgba(30,30,30,.62)}.is-dark-theme .components-form-token-field__input-container::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .components-form-token-field__input-container::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .components-form-token-field__input-container:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}.components-form-token-field__input-container.is-disabled{background:#ddd;border-color:#ddd}.components-form-token-field__input-container.is-active{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color);outline:2px solid transparent}.components-form-token-field__input-container input[type=text].components-form-token-field__input{display:inline-block;flex:1;font-size:16px;width:100%;max-width:100%;margin-left:4px;padding:0;min-height:24px;min-width:50px;background:inherit;border:0;color:#1e1e1e;box-shadow:none}@media (min-width:600px){.components-form-token-field__input-container input[type=text].components-form-token-field__input{font-size:13px}}.components-form-token-field.is-active .components-form-token-field__input-container input[type=text].components-form-token-field__input,.components-form-token-field__input-container input[type=text].components-form-token-field__input:focus{outline:none;box-shadow:none}.components-form-token-field__input-container .components-form-token-field__token+input[type=text].components-form-token-field__input{width:auto}.components-form-token-field__label{display:inline-block;margin-bottom:4px}.components-form-token-field__help{font-size:12px;font-style:normal;color:#757575}.components-form-token-field__token{font-size:13px;display:flex;margin:2px 4px 2px 0;color:#1e1e1e;max-width:100%}.components-form-token-field__token.is-success .components-form-token-field__remove-token,.components-form-token-field__token.is-success .components-form-token-field__token-text{background:#4ab866}.components-form-token-field__token.is-error .components-form-token-field__remove-token,.components-form-token-field__token.is-error .components-form-token-field__token-text{background:#cc1818}.components-form-token-field__token.is-validating .components-form-token-field__remove-token,.components-form-token-field__token.is-validating .components-form-token-field__token-text{color:#757575}.components-form-token-field__token.is-borderless{position:relative;padding:0 16px 0 0}.components-form-token-field__token.is-borderless .components-form-token-field__token-text{background:transparent;color:var(--wp-admin-theme-color)}.components-form-token-field__token.is-borderless .components-form-token-field__remove-token{background:transparent;color:#757575;position:absolute;top:1px;right:0}.components-form-token-field__token.is-borderless.is-success .components-form-token-field__token-text{color:#4ab866}.components-form-token-field__token.is-borderless.is-error .components-form-token-field__token-text{color:#cc1818;border-radius:4px 0 0 4px;padding:0 4px 0 6px}.components-form-token-field__token.is-borderless.is-validating .components-form-token-field__token-text{color:#1e1e1e}.components-form-token-field__token.is-disabled .components-form-token-field__remove-token{cursor:default}.components-form-token-field__remove-token.components-button,.components-form-token-field__token-text{display:inline-block;line-height:24px;height:auto;background:#ddd;min-width:unset;transition:all .2s cubic-bezier(.4,1,.4,1)}@media (prefers-reduced-motion:reduce){.components-form-token-field__remove-token.components-button,.components-form-token-field__token-text{transition-duration:0s;transition-delay:0s;animation-duration:1ms;animation-delay:0s}}.components-form-token-field__token-text{border-radius:2px 0 0 2px;padding:0 0 0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.components-form-token-field__remove-token.components-button{cursor:pointer;border-radius:0 2px 2px 0;padding:0 2px;color:#1e1e1e;line-height:10px;overflow:initial}.components-form-token-field__remove-token.components-button:hover{color:#1e1e1e}.components-form-token-field__suggestions-list{flex:1 0 100%;min-width:100%;max-height:9em;overflow-y:auto;transition:all .15s ease-in-out;list-style:none;border-top:1px solid #757575;margin:4px -4px -4px;padding:0}@media (prefers-reduced-motion:reduce){.components-form-token-field__suggestions-list{transition-duration:0s;transition-delay:0s}}.components-form-token-field__suggestion{color:#757575;display:block;font-size:13px;padding:4px 8px;margin:0;cursor:pointer}.components-form-token-field__suggestion.is-selected{background:var(--wp-admin-theme-color);color:#fff}.components-form-token-field__suggestion-match{text-decoration:underline}@media (min-width:600px){.components-guide{width:600px}}.components-guide .components-modal__header{background:none;border-bottom:none;width:100%;padding:0;margin:0}.components-guide .components-modal__header .components-button{align-self:flex-start;margin:8px 8px 0 0;position:static}.components-guide .components-modal__header .components-button:hover svg{fill:#fff}.components-guide__container{display:flex;flex-direction:column;justify-content:space-between;margin-top:-60px;min-height:100%}.components-guide__page{display:flex;flex-direction:column;justify-content:center;position:relative}@media (min-width:600px){.components-guide__page{min-height:300px}}.components-guide__footer{align-content:center;display:flex;height:30px;justify-content:center;margin:0 0 24px;padding:0 32px;position:relative;width:100%}@media (max-width:600px){.components-guide__footer{position:absolute;bottom:0}}.components-guide__page-control{margin:0;text-align:center}.components-guide__page-control li{display:inline-block;margin:0}.components-guide__page-control .components-button{height:30px;min-width:20px;margin:-6px 0}.components-guide .components-modal__content{padding:0}.components-modal__frame.components-guide{border:none;min-width:312px;height:80vh;max-height:575px}@media (max-width:600px){.components-modal__frame.components-guide{bottom:5%;left:16px;right:16px;top:5%;margin:0 auto}}.components-button.components-guide__back-button,.components-button.components-guide__finish-button,.components-button.components-guide__forward-button{height:30px;position:absolute}.components-button.components-guide__back-button,.components-button.components-guide__forward-button{font-size:13px;padding:4px 2px}.components-button.components-guide__back-button.has-text svg,.components-button.components-guide__forward-button.has-text svg{margin:0}.components-button.components-guide__back-button:hover,.components-button.components-guide__forward-button:hover{text-decoration:underline}.components-button.components-guide__back-button{left:32px}.components-button.components-guide__forward-button{right:32px;color:#1386bf;font-weight:700}.components-button.components-guide__finish-button{right:32px}.components-button.components-guide__inline-finish-button{display:none}[role=region]{position:relative}.is-focusing-regions [role=region]:focus:after{content:"";position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:none;outline:4px solid transparent;box-shadow:inset 0 0 0 4px var(--wp-admin-theme-color)}@supports (outline-offset:1px){.is-focusing-regions [role=region]:focus:after{content:none}.is-focusing-regions [role=region]:focus{outline-style:solid;outline-color:var(--wp-admin-theme-color);outline-width:4px;outline-offset:-4px}}.components-menu-group+.components-menu-group{margin-top:8px;padding-top:8px;border-top:1px solid #1e1e1e}.components-menu-group+.components-menu-group.has-hidden-separator{border-top:none;margin-top:0;padding-top:0}.components-menu-group__label{padding:0 8px;margin-top:4px;margin-bottom:12px;color:#757575;text-transform:uppercase;font-size:11px;font-weight:500}.components-menu-item__button,.components-menu-item__button.components-button{width:100%}.components-menu-item__button.components-button .components-menu-items__item-icon,.components-menu-item__button .components-menu-items__item-icon{margin-right:-2px;margin-left:24px;display:inline-block;flex:0 0 auto}.components-menu-item__button.components-button .components-menu-item__shortcut+.components-menu-items__item-icon,.components-menu-item__button .components-menu-item__shortcut+.components-menu-items__item-icon{margin-left:8px}.components-menu-item__button .block-editor-block-icon,.components-menu-item__button.components-button .block-editor-block-icon{margin-left:-2px;margin-right:8px}.components-menu-item__button.components-button.is-primary,.components-menu-item__button.is-primary{justify-content:center}.components-menu-item__button.components-button.is-primary .components-menu-item__item,.components-menu-item__button.is-primary .components-menu-item__item{margin-right:0}.components-menu-item__info-wrapper{display:flex;flex-direction:column;margin-right:auto}.components-menu-item__info{margin-top:4px;font-size:12px;color:#757575;white-space:normal}.components-menu-item__item{white-space:nowrap;margin-right:auto;display:inline-flex;align-items:center}.components-menu-item__shortcut{align-self:center;margin-right:0;margin-left:auto;padding-left:24px;color:currentColor;display:none}@media (min-width:480px){.components-menu-item__shortcut{display:inline}}.components-menu-items-choice.components-button svg,.components-menu-items-choice svg{margin-right:12px}.components-menu-items-choice.components-button.has-icon,.components-menu-items-choice.has-icon{padding-left:12px}.components-modal__screen-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0,0,0,.35);z-index:100000;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.components-modal__screen-overlay{animation-duration:1ms;animation-delay:0s}}.components-modal__frame{position:absolute;top:0;right:0;bottom:0;left:0;box-sizing:border-box;margin:0;background:#fff;box-shadow:0 10px 10px rgba(0,0,0,.25);border-radius:2px;overflow:auto}@media (min-width:600px){.components-modal__frame{top:50%;right:auto;bottom:auto;left:50%;min-width:360px;max-width:calc(100% - 32px);max-height:90%;transform:translate(-50%,-50%);animation:components-modal__appear-animation .1s ease-out;animation-fill-mode:forwards}}@media (min-width:600px) and (prefers-reduced-motion:reduce){.components-modal__frame{animation-duration:1ms;animation-delay:0s}}@keyframes components-modal__appear-animation{0%{margin-top:32px}to{margin-top:0}}.components-modal__header{box-sizing:border-box;border-bottom:1px solid #ddd;padding:0 32px;display:flex;flex-direction:row;justify-content:space-between;background:#fff;align-items:center;height:60px;z-index:10;position:relative;position:sticky;top:0;margin:0 -32px 24px}@supports (-ms-ime-align:auto){.components-modal__header{position:fixed;width:100%}}.components-modal__header .components-modal__header-heading{font-size:1rem;font-weight:600}.components-modal__header h1{line-height:1;margin:0}.components-modal__header .components-button{position:relative;left:8px}.components-modal__header-heading-container{align-items:center;flex-grow:1;display:flex;flex-direction:row;justify-content:left}.components-modal__header-icon-container{display:inline-block}.components-modal__header-icon-container svg{max-width:36px;max-height:36px;padding:8px}.components-modal__content{box-sizing:border-box;height:100%;padding:0 32px 24px}@supports (-ms-ime-align:auto){.components-modal__content{padding-top:60px}}.components-notice{display:flex;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;background-color:#fff;border-left:4px solid var(--wp-admin-theme-color);margin:5px 15px 2px;padding:8px 12px;align-items:center}.components-notice.is-dismissible{padding-right:36px;position:relative}.components-notice.is-success{border-left-color:#4ab866;background-color:#eff9f1}.components-notice.is-warning{border-left-color:#f0b849;background-color:#fef8ee}.components-notice.is-error{border-left-color:#cc1818;background-color:#f4a2a2}.components-notice__content{flex-grow:1;margin:4px 25px 4px 0}.components-notice__actions{display:flex;flex-wrap:wrap}.components-notice__action.components-button{margin-right:8px}.components-notice__action.components-button,.components-notice__action.components-button.is-link{margin-left:12px}.components-notice__action.components-button.is-secondary{vertical-align:initial}.components-notice__dismiss{color:#757575;align-self:flex-start;flex-shrink:0}.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):focus,.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-secondary):active,.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover{color:#1e1e1e;background-color:initial}.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover{box-shadow:none}.components-notice-list{max-width:100vw;box-sizing:border-box}.components-notice-list .components-notice__content{margin-top:12px;margin-bottom:12px;line-height:2}.components-notice-list .components-notice__action.components-button{display:block;margin-left:0;margin-top:8px}.components-panel{background:#fff;border:1px solid #e0e0e0}.components-panel>.components-panel__body:first-child,.components-panel>.components-panel__header:first-child{margin-top:-1px}.components-panel>.components-panel__body:last-child,.components-panel>.components-panel__header:last-child{border-bottom-width:0}.components-panel+.components-panel{margin-top:-1px}.components-panel__body{border-top:1px solid #e0e0e0;border-bottom:1px solid #e0e0e0}.components-panel__body h3{margin:0 0 .5em}.components-panel__body.is-opened{padding:16px}.components-panel__header{display:flex;justify-content:space-between;align-items:center;padding:0 16px;height:48px;border-top:1px solid #ddd;border-bottom:1px solid #ddd}.components-panel__header h2{margin:0;font-size:inherit;color:inherit}.components-panel__body+.components-panel__body,.components-panel__body+.components-panel__header,.components-panel__header+.components-panel__body,.components-panel__header+.components-panel__header{margin-top:-1px}.components-panel__body>.components-panel__body-title{display:block;padding:0;font-size:inherit;margin-top:0;margin-bottom:0;transition:background .1s ease-in-out}@media (prefers-reduced-motion:reduce){.components-panel__body>.components-panel__body-title{transition-duration:0s;transition-delay:0s}}.components-panel__body.is-opened>.components-panel__body-title{margin:-16px -16px 5px}.components-panel__body>.components-panel__body-title:hover{background:#f0f0f0;border:none}.components-panel__body-toggle.components-button{position:relative;padding:16px 48px 16px 16px;outline:none;width:100%;font-weight:500;text-align:left;color:#1e1e1e;border:none;box-shadow:none;transition:background .1s ease-in-out;height:auto}@media (prefers-reduced-motion:reduce){.components-panel__body-toggle.components-button{transition-duration:0s;transition-delay:0s}}.components-panel__body-toggle.components-button:focus{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);border-radius:0}.components-panel__body-toggle.components-button .components-panel__arrow{position:absolute;right:16px;top:50%;transform:translateY(-50%);color:#1e1e1e;fill:currentColor;transition:color .1s ease-in-out}@media (prefers-reduced-motion:reduce){.components-panel__body-toggle.components-button .components-panel__arrow{transition-duration:0s;transition-delay:0s}}body.rtl .components-panel__body-toggle.components-button .dashicons-arrow-right{transform:scaleX(-1);-ms-filter:fliph;filter:FlipH;margin-top:-10px}.components-panel__icon{color:#757575;margin:-2px 0 -2px 6px}.components-panel__body-toggle-icon{margin-right:-5px}.components-panel__color-title{float:left;height:19px}.components-panel__row{display:flex;justify-content:space-between;align-items:center;margin-top:8px;min-height:36px}.components-panel__row select{min-width:0}.components-panel__row label{margin-right:12px;flex-shrink:0;max-width:75%}.components-panel__row:empty,.components-panel__row:first-of-type{margin-top:0}.components-panel .circle-picker{padding-bottom:20px}.components-placeholder.components-placeholder{box-sizing:border-box;position:relative;padding:1em;min-height:200px;width:100%;text-align:left;margin:0;color:#1e1e1e;-moz-font-smoothing:subpixel-antialiased;-webkit-font-smoothing:subpixel-antialiased;border-radius:2px;background-color:#fff;box-shadow:inset 0 0 0 1px #1e1e1e;outline:1px solid transparent}@supports (position:sticky){.components-placeholder.components-placeholder{display:flex;flex-direction:column;justify-content:center;align-items:flex-start}}.components-placeholder.components-placeholder .components-base-control__label{font-size:13px}.components-placeholder__error,.components-placeholder__fieldset,.components-placeholder__instructions,.components-placeholder__label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.components-placeholder__label{display:flex;font-weight:600;margin-bottom:16px;align-items:center}.components-placeholder__label .block-editor-block-icon,.components-placeholder__label .dashicon,.components-placeholder__label>svg{fill:currentColor;margin-right:1ch}.components-placeholder__label:empty{display:none}.components-placeholder__fieldset,.components-placeholder__fieldset form{display:flex;flex-direction:row;width:100%;flex-wrap:wrap}.components-placeholder__fieldset form p,.components-placeholder__fieldset p{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.components-placeholder__fieldset.is-column-layout,.components-placeholder__fieldset.is-column-layout form{flex-direction:column}.components-placeholder__input[type=url]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;padding:6px 8px;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:2px;border:1px solid #757575;font-size:16px;line-height:normal;margin:0 8px 0 0;flex:1 1 auto}@media (prefers-reduced-motion:reduce){.components-placeholder__input[type=url]{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.components-placeholder__input[type=url]{font-size:13px;line-height:normal}}.components-placeholder__input[type=url]:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color);outline:2px solid transparent}.components-placeholder__input[type=url]::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.components-placeholder__input[type=url]::-moz-placeholder{opacity:1;color:rgba(30,30,30,.62)}.components-placeholder__input[type=url]:-ms-input-placeholder{color:rgba(30,30,30,.62)}.is-dark-theme .components-placeholder__input[type=url]::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .components-placeholder__input[type=url]::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .components-placeholder__input[type=url]:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}.components-placeholder__instructions{margin-bottom:1em}.components-placeholder__error{margin-top:1em;width:100%}.components-placeholder__preview img{margin:3%;width:50%}.components-placeholder__fieldset .components-button{margin-right:12px;margin-bottom:12px}.components-placeholder__fieldset .components-button:last-child{margin-bottom:0;margin-right:0}.components-placeholder__fieldset .components-button:not(.is-link)~.components-button.is-link{margin-left:10px;margin-right:10px}.components-placeholder__fieldset .components-button:not(.is-link)~.components-button.is-link:last-child{margin-right:0}.components-placeholder.is-large .components-placeholder__label{font-size:18pt;font-weight:400}.components-placeholder.is-medium .components-placeholder__instructions,.components-placeholder.is-small .components-placeholder__instructions{display:none}.components-placeholder.is-medium .components-placeholder__fieldset,.components-placeholder.is-medium .components-placeholder__fieldset form,.components-placeholder.is-small .components-placeholder__fieldset,.components-placeholder.is-small .components-placeholder__fieldset form{flex-direction:column}.components-placeholder.is-medium .components-placeholder__fieldset .components-button,.components-placeholder.is-small .components-placeholder__fieldset .components-button{margin-right:auto}.components-placeholder.is-small .components-button{padding:0 8px 2px} /*!rtl:begin:ignore*/.components-popover{position:fixed;z-index:1000000;top:0;left:0;opacity:0}.components-popover.is-expanded,.components-popover[data-x-axis][data-y-axis]{opacity:1}.components-popover.is-expanded{top:0;left:0;right:0;bottom:0;z-index:1000000!important}.components-popover:not(.is-without-arrow){margin-left:2px}.components-popover:not(.is-without-arrow):before{border:8px solid #ccc}.components-popover:not(.is-without-arrow).is-alternate:before{border-color:#1e1e1e}.components-popover:not(.is-without-arrow):after{border:8px solid #fff}.components-popover:not(.is-without-arrow):after,.components-popover:not(.is-without-arrow):before{content:"";position:absolute;height:0;width:0;line-height:0}.components-popover:not(.is-without-arrow)[data-y-axis=top]{margin-top:-8px}.components-popover:not(.is-without-arrow)[data-y-axis=top]:before{bottom:-8px}.components-popover:not(.is-without-arrow)[data-y-axis=top]:after{bottom:-6px}.components-popover:not(.is-without-arrow)[data-y-axis=top]:after,.components-popover:not(.is-without-arrow)[data-y-axis=top]:before{border-bottom:none;border-left-color:transparent;border-right-color:transparent;border-top-style:solid;margin-left:-10px}.components-popover:not(.is-without-arrow)[data-y-axis=bottom]{margin-top:8px}.components-popover:not(.is-without-arrow)[data-y-axis=bottom]:before{top:-8px}.components-popover:not(.is-without-arrow)[data-y-axis=bottom]:after{top:-6px}.components-popover:not(.is-without-arrow)[data-y-axis=bottom]:after,.components-popover:not(.is-without-arrow)[data-y-axis=bottom]:before{border-bottom-style:solid;border-left-color:transparent;border-right-color:transparent;border-top:none;margin-left:-10px}.components-popover:not(.is-without-arrow)[data-y-axis=middle][data-x-axis=left]{margin-left:-8px}.components-popover:not(.is-without-arrow)[data-y-axis=middle][data-x-axis=left]:before{right:-8px}.components-popover:not(.is-without-arrow)[data-y-axis=middle][data-x-axis=left]:after{right:-6px}.components-popover:not(.is-without-arrow)[data-y-axis=middle][data-x-axis=left]:after,.components-popover:not(.is-without-arrow)[data-y-axis=middle][data-x-axis=left]:before{border-bottom-color:transparent;border-left-style:solid;border-right:none;border-top-color:transparent}.components-popover:not(.is-without-arrow)[data-y-axis=middle][data-x-axis=right]{margin-left:8px}.components-popover:not(.is-without-arrow)[data-y-axis=middle][data-x-axis=right]:before{left:-8px}.components-popover:not(.is-without-arrow)[data-y-axis=middle][data-x-axis=right]:after{left:-6px}.components-popover:not(.is-without-arrow)[data-y-axis=middle][data-x-axis=right]:after,.components-popover:not(.is-without-arrow)[data-y-axis=middle][data-x-axis=right]:before{border-bottom-color:transparent;border-left:none;border-right-style:solid;border-top-color:transparent}.components-popover[data-y-axis=top]{bottom:100%}.components-popover[data-y-axis=bottom]{top:100%}.components-popover[data-y-axis=middle]{align-items:center;display:flex}.components-popover.is-from-top{margin-top:12px}.components-popover.is-from-bottom{margin-top:-12px}.components-popover.is-from-left:not(.is-from-top):not(.is-from-bottom){margin-left:12px}.components-popover.is-from-right:not(.is-from-top):not(.is-from-bottom){margin-right:12px}.components-popover__content{height:100%;background:#fff;border:1px solid #ccc;box-shadow:0 2px 6px rgba(0,0,0,.05);border-radius:2px}.is-alternate .components-popover__content{border:1px solid #1e1e1e;box-shadow:none}.components-popover .components-popover__content{position:absolute;height:auto;overflow-y:auto}.components-popover.is-expanded .components-popover__content{position:static;height:calc(100% - 48px);overflow-y:visible;min-width:auto;border:none;border-top:1px solid #1e1e1e}.components-popover[data-y-axis=top] .components-popover__content{bottom:100%}.components-popover[data-x-axis=center] .components-popover__content{left:50%;transform:translateX(-50%)}.components-popover[data-x-axis=right] .components-popover__content{position:absolute;left:100%}.components-popover:not([data-y-axis=middle])[data-x-axis=right] .components-popover__content{margin-left:-25px}.components-popover[data-x-axis=left] .components-popover__content{position:absolute;right:100%}.components-popover:not([data-y-axis=middle])[data-x-axis=left] .components-popover__content{margin-right:-25px}.components-popover__header{align-items:center;background:#fff;display:flex;height:48px;justify-content:space-between;padding:0 8px 0 16px}.components-popover__header-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.components-popover__close.components-button{z-index:5} diff --git a/wp-includes/css/dist/edit-post/style-rtl.css b/wp-includes/css/dist/edit-post/style-rtl.css index 5ce5b0ceb0..e5a48ed28a 100644 --- a/wp-includes/css/dist/edit-post/style-rtl.css +++ b/wp-includes/css/dist/edit-post/style-rtl.css @@ -872,7 +872,22 @@ body.is-fullscreen-mode .interface-interface-skeleton { } .edit-post-template-top-area__popover .components-popover__content { - min-width: 360px; + min-width: 280px; +} + +.edit-post-template-top-area__second-menu-group { + margin-right: -12px; + margin-left: -12px; + padding: 12px; + padding-bottom: 0; + border-top: 1px solid #ddd; +} +.edit-post-template-top-area__second-menu-group .edit-post-template-top-area__delete-template-button { + display: flex; + justify-content: center; +} +.edit-post-template-top-area__second-menu-group .edit-post-template-top-area__delete-template-button .components-menu-item__item { + margin-left: 0; } .edit-post-keyboard-shortcut-help-modal__section { diff --git a/wp-includes/css/dist/edit-post/style-rtl.min.css b/wp-includes/css/dist/edit-post/style-rtl.min.css index 56a0bcd84a..c335aa361d 100644 --- a/wp-includes/css/dist/edit-post/style-rtl.min.css +++ b/wp-includes/css/dist/edit-post/style-rtl.min.css @@ -1 +1 @@ -:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}.components-panel__header.interface-complementary-area-header__small{background:#fff;padding-left:4px}.components-panel__header.interface-complementary-area-header__small .interface-complementary-area-header__small-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}@media (min-width:782px){.components-panel__header.interface-complementary-area-header__small{display:none}}.interface-complementary-area-header{background:#fff;padding-left:4px}.interface-complementary-area-header .components-button.has-icon{display:none;margin-right:auto}.interface-complementary-area-header .components-button.has-icon~.components-button{margin-right:0}@media (min-width:782px){.interface-complementary-area-header .components-button.has-icon{display:flex}}.interface-complementary-area{background:#fff;color:#1e1e1e}@media (min-width:600px){.interface-complementary-area{-webkit-overflow-scrolling:touch}}@media (min-width:782px){.interface-complementary-area{width:280px}}.interface-complementary-area .components-panel{border:none;position:relative;z-index:0}.interface-complementary-area .components-panel__header{position:sticky;top:0;z-index:1}.interface-complementary-area .components-panel__header.edit-post-sidebar__panel-tabs{top:48px}@media (min-width:782px){.interface-complementary-area .components-panel__header.edit-post-sidebar__panel-tabs{top:0}}.interface-complementary-area p{margin-top:0}.interface-complementary-area h2,.interface-complementary-area h3{font-size:13px;color:#1e1e1e;margin-bottom:1.5em}.interface-complementary-area hr{border-top:none;border-bottom:1px solid #f0f0f0;margin:1.5em 0}.interface-complementary-area div.components-toolbar,.interface-complementary-area div.components-toolbar-group{box-shadow:none;margin-bottom:1.5em}.interface-complementary-area div.components-toolbar-group:last-child,.interface-complementary-area div.components-toolbar:last-child{margin-bottom:0}.interface-complementary-area .block-editor-skip-to-selected-block:focus{top:auto;left:10px;bottom:10px;right:auto}@media (min-width:782px){body.js.is-fullscreen-mode{margin-top:-32px;height:calc(100% + 32px)}body.js.is-fullscreen-mode #adminmenumain,body.js.is-fullscreen-mode #wpadminbar{display:none}body.js.is-fullscreen-mode #wpcontent,body.js.is-fullscreen-mode #wpfooter{margin-right:0}}html.interface-interface-skeleton__html-container{position:fixed;width:100%}@media (min-width:782px){html.interface-interface-skeleton__html-container{position:static;width:auto}}.interface-interface-skeleton{display:flex;flex-direction:row;height:auto;max-height:100%;position:fixed;top:46px;left:0;bottom:0}@media (min-width:783px){.interface-interface-skeleton{top:32px}.is-fullscreen-mode .interface-interface-skeleton{top:0}}.interface-interface-skeleton__editor{display:flex;flex-direction:column;flex:0 1 100%;overflow:hidden}.interface-interface-skeleton{right:0}@media (min-width:783px){.interface-interface-skeleton{right:160px}}@media (min-width:783px){.auto-fold .interface-interface-skeleton{right:36px}}@media (min-width:961px){.auto-fold .interface-interface-skeleton{right:160px}}.folded .interface-interface-skeleton{right:0}@media (min-width:783px){.folded .interface-interface-skeleton{right:36px}}body.is-fullscreen-mode .interface-interface-skeleton{right:0!important}.interface-interface-skeleton__body{flex-grow:1;display:flex;overflow:auto;overscroll-behavior-y:none}@media (min-width:782px){.has-footer .interface-interface-skeleton__body{padding-bottom:25px}}.interface-interface-skeleton__content{flex-grow:1;display:flex;flex-direction:column;overflow:auto}.interface-interface-skeleton__secondary-sidebar,.interface-interface-skeleton__sidebar{display:block;flex-shrink:0;position:absolute;z-index:100000;top:0;left:0;bottom:0;right:0;background:#fff;color:#1e1e1e}@media (min-width:782px){.interface-interface-skeleton__secondary-sidebar,.interface-interface-skeleton__sidebar{position:relative!important;z-index:90;width:auto}}.interface-interface-skeleton__sidebar{overflow:auto}@media (min-width:782px){.interface-interface-skeleton__sidebar{border-right:1px solid #e0e0e0}}@media (min-width:782px){.interface-interface-skeleton__secondary-sidebar{border-left:1px solid #e0e0e0}}.interface-interface-skeleton__header{flex-shrink:0;height:auto;border-bottom:1px solid #e0e0e0;z-index:30;color:#1e1e1e}.interface-interface-skeleton__footer{height:auto;flex-shrink:0;border-top:1px solid #e0e0e0;color:#1e1e1e;position:absolute;bottom:0;right:0;width:100%;background-color:#fff;z-index:90;display:none}@media (min-width:782px){.interface-interface-skeleton__footer{display:flex}}.interface-interface-skeleton__footer .block-editor-block-breadcrumb{z-index:30;display:flex;background:#fff;height:24px;align-items:center;font-size:13px;padding:0 18px}.interface-interface-skeleton__actions{z-index:100000;position:fixed!important;top:-9999em;bottom:auto;right:auto;left:0;width:280px;color:#1e1e1e}.interface-interface-skeleton__actions:focus{top:auto;bottom:0}.interface-pinned-items{display:flex}.interface-pinned-items .components-button:not(:first-child){display:none}@media (min-width:600px){.interface-pinned-items .components-button:not(:first-child){display:flex}}.interface-pinned-items .components-button{margin-right:4px}.interface-pinned-items .components-button svg{max-width:24px;max-height:24px}.edit-post-header{height:60px;background:#fff;display:flex;flex-wrap:wrap;align-items:center;max-width:100vw}@media (min-width:280px){.edit-post-header{flex-wrap:nowrap}}.edit-post-header>.edit-post-header__settings{order:1}@supports (position:sticky){.edit-post-header>.edit-post-header__settings{order:0}}.edit-post-header__toolbar{display:flex;flex-grow:1}.edit-post-header__toolbar .table-of-contents{display:none}@media (min-width:600px){.edit-post-header__toolbar .table-of-contents{display:block}}.edit-post-header__settings{display:inline-flex;align-items:center;flex-wrap:wrap;padding-left:4px}@media (min-width:600px){.edit-post-header__settings{padding-left:16px}}.edit-post-header__settings .components-button.components-button,.edit-post-header__settings .editor-post-saved-state{margin-left:4px}@media (min-width:600px){.edit-post-header__settings .components-button.components-button,.edit-post-header__settings .editor-post-saved-state{margin-left:12px}}.edit-post-header__settings .components-button.is-tertiary,.edit-post-header__settings .editor-post-saved-state{padding:0 6px}.edit-post-header__settings .edit-post-more-menu .components-button,.edit-post-header__settings .interface-pinned-items .components-button{margin-left:0}.edit-post-header-preview__grouping-external{display:flex;position:relative;padding-bottom:0}.edit-post-header-preview__button-external{padding-right:8px;margin-left:auto;width:100%;display:flex;justify-content:flex-start}.edit-post-header-preview__button-external svg{margin-right:auto}.edit-post-post-preview-dropdown .components-popover__content>div{padding-bottom:0}.edit-post-header__dropdown .components-button.has-icon,.show-icon-labels .edit-post-header .components-button.has-icon,.show-icon-labels.interface-pinned-items .components-button.has-icon{width:auto}.edit-post-header__dropdown .components-button.has-icon svg,.show-icon-labels .edit-post-header .components-button.has-icon svg,.show-icon-labels.interface-pinned-items .components-button.has-icon svg{display:none}.edit-post-header__dropdown .components-button.has-icon:after,.show-icon-labels .edit-post-header .components-button.has-icon:after,.show-icon-labels.interface-pinned-items .components-button.has-icon:after{content:attr(aria-label)}.edit-post-header__dropdown .components-button.has-icon[aria-disabled=true],.show-icon-labels .edit-post-header .components-button.has-icon[aria-disabled=true],.show-icon-labels.interface-pinned-items .components-button.has-icon[aria-disabled=true]{background-color:initial}.edit-post-header__dropdown .is-tertiary:active,.show-icon-labels .edit-post-header .is-tertiary:active,.show-icon-labels.interface-pinned-items .is-tertiary:active{box-shadow:0 0 0 1.5px var(--wp-admin-theme-color);background-color:initial}.edit-post-header__dropdown .components-button.has-icon.button-toggle svg,.edit-post-header__dropdown .edit-post-fullscreen-mode-close.has-icon svg,.show-icon-labels .edit-post-header .components-button.has-icon.button-toggle svg,.show-icon-labels .edit-post-header .edit-post-fullscreen-mode-close.has-icon svg,.show-icon-labels.interface-pinned-items .components-button.has-icon.button-toggle svg,.show-icon-labels.interface-pinned-items .edit-post-fullscreen-mode-close.has-icon svg{display:block}.edit-post-header__dropdown .components-button.has-icon.button-toggle:after,.edit-post-header__dropdown .edit-post-fullscreen-mode-close.has-icon:after,.show-icon-labels .edit-post-header .components-button.has-icon.button-toggle:after,.show-icon-labels .edit-post-header .edit-post-fullscreen-mode-close.has-icon:after,.show-icon-labels.interface-pinned-items .components-button.has-icon.button-toggle:after,.show-icon-labels.interface-pinned-items .edit-post-fullscreen-mode-close.has-icon:after{content:none}.edit-post-header__dropdown .edit-post-fullscreen-mode-close.has-icon,.show-icon-labels .edit-post-header .edit-post-fullscreen-mode-close.has-icon,.show-icon-labels.interface-pinned-items .edit-post-fullscreen-mode-close.has-icon{width:60px}.edit-post-header__dropdown .components-menu-items-choice .components-menu-items__item-icon.components-menu-items__item-icon,.show-icon-labels .edit-post-header .components-menu-items-choice .components-menu-items__item-icon.components-menu-items__item-icon,.show-icon-labels.interface-pinned-items .components-menu-items-choice .components-menu-items__item-icon.components-menu-items__item-icon{display:block}.edit-post-header__dropdown .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.edit-post-header__dropdown .interface-pinned-items .components-button,.show-icon-labels .edit-post-header .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.show-icon-labels .edit-post-header .interface-pinned-items .components-button,.show-icon-labels.interface-pinned-items .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.show-icon-labels.interface-pinned-items .interface-pinned-items .components-button{padding-right:8px;padding-left:8px}@media (min-width:600px){.edit-post-header__dropdown .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.edit-post-header__dropdown .interface-pinned-items .components-button,.show-icon-labels .edit-post-header .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.show-icon-labels .edit-post-header .interface-pinned-items .components-button,.show-icon-labels.interface-pinned-items .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.show-icon-labels.interface-pinned-items .interface-pinned-items .components-button{padding-right:12px;padding-left:12px}}.edit-post-header__dropdown .components-dropdown-menu__toggle,.show-icon-labels .edit-post-header .components-dropdown-menu__toggle,.show-icon-labels.interface-pinned-items .components-dropdown-menu__toggle{margin-right:8px;padding-right:8px;padding-left:8px}@media (min-width:600px){.edit-post-header__dropdown .components-dropdown-menu__toggle,.show-icon-labels .edit-post-header .components-dropdown-menu__toggle,.show-icon-labels.interface-pinned-items .components-dropdown-menu__toggle{margin-right:12px;padding-right:12px;padding-left:12px}}.edit-post-header__dropdown .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle:after,.edit-post-header__dropdown .editor-post-save-draft.editor-post-save-draft:after,.show-icon-labels .edit-post-header .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle:after,.show-icon-labels .edit-post-header .editor-post-save-draft.editor-post-save-draft:after,.show-icon-labels.interface-pinned-items .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle:after,.show-icon-labels.interface-pinned-items .editor-post-save-draft.editor-post-save-draft:after{content:none}@media (min-width:600px){.edit-post-header__dropdown .editor-post-save-draft.editor-post-save-draft:after,.show-icon-labels .edit-post-header .editor-post-save-draft.editor-post-save-draft:after,.show-icon-labels.interface-pinned-items .editor-post-save-draft.editor-post-save-draft:after{content:attr(aria-label)}}.edit-post-header__dropdown .components-button.block-editor-block-navigation,.edit-post-header__dropdown .components-button.editor-history__redo,.edit-post-header__dropdown .components-button.editor-history__undo,.edit-post-header__dropdown .components-menu-item__button.components-menu-item__button,.edit-post-header__dropdown .table-of-contents .components-button{margin:0;padding:6px 40px 6px 6px;width:14.625rem;text-align:right;justify-content:flex-start}.show-icon-labels.interface-pinned-items{padding:6px 12px 12px;margin:0 -12px;border-bottom:1px solid #ccc;display:block}.show-icon-labels.interface-pinned-items>.components-button.has-icon{margin:0;padding:6px 8px 6px 6px;width:14.625rem;justify-content:flex-start}.show-icon-labels.interface-pinned-items>.components-button.has-icon[aria-expanded=true] svg{display:block;max-width:24px}.show-icon-labels.interface-pinned-items>.components-button.has-icon[aria-expanded=false]{padding-right:40px}.show-icon-labels.interface-pinned-items>.components-button.has-icon svg{margin-left:8px}.edit-post-fullscreen-mode-close.has-icon{display:none}@media (min-width:782px){.edit-post-fullscreen-mode-close.has-icon{display:flex;align-items:center;align-self:stretch;border:none;background:#23282e;color:#fff;border-radius:0;height:61px;width:60px;position:relative;margin-bottom:-1px}.edit-post-fullscreen-mode-close.has-icon:active{color:#fff}.edit-post-fullscreen-mode-close.has-icon:focus{box-shadow:none}.edit-post-fullscreen-mode-close.has-icon:before{transition:box-shadow .1s ease;content:"";display:block;position:absolute;top:9px;left:9px;bottom:9px;right:9px;border-radius:4px;box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) #23282e}}@media (min-width:782px) and (prefers-reduced-motion:reduce){.edit-post-fullscreen-mode-close.has-icon:before{transition-duration:0s;transition-delay:0s}}@media (min-width:782px){.edit-post-fullscreen-mode-close.has-icon:hover:before{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) #757575}}@media (min-width:782px){.edit-post-fullscreen-mode-close.has-icon:focus:before{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) hsla(0,0%,100%,.1),inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}}.edit-post-fullscreen-mode-close_site-icon{width:36px;border-radius:2px}.edit-post-header-toolbar{display:inline-flex;flex-grow:1;align-items:center;border:none}.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button{display:none}@media (min-width:600px){.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button{display:inline-flex}}.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle{display:inline-flex}.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle svg{transition:transform .2s cubic-bezier(.165,.84,.44,1)}@media (prefers-reduced-motion:reduce){.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle svg{transition-duration:0s;transition-delay:0s}}.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle.is-pressed svg{transform:rotate(-45deg)}.edit-post-header-toolbar .block-editor-block-navigation{display:none}@media (min-width:600px){.edit-post-header-toolbar .block-editor-block-navigation{display:flex}}.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button.has-icon,.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-dropdown>.components-button.has-icon{height:36px;min-width:36px;padding:6px}.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button.has-icon.is-pressed,.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-dropdown>.components-button.has-icon.is-pressed{background:#1e1e1e}.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button.has-icon:focus:not(:disabled),.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-dropdown>.components-button.has-icon:focus:not(:disabled){box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color),inset 0 0 0 1px #fff;outline:1px solid transparent}.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button.has-icon:before,.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-dropdown>.components-button.has-icon:before{display:none}@media (min-width:600px){.edit-post-header.has-reduced-ui .edit-post-header-toolbar__left>*+.components-button,.edit-post-header.has-reduced-ui .edit-post-header-toolbar__left>*+.components-dropdown>[aria-expanded=false]{transition:opacity .1s linear}}@media (min-width:600px) and (prefers-reduced-motion:reduce){.edit-post-header.has-reduced-ui .edit-post-header-toolbar__left>*+.components-button,.edit-post-header.has-reduced-ui .edit-post-header-toolbar__left>*+.components-dropdown>[aria-expanded=false]{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.edit-post-header.has-reduced-ui:not(:hover) .edit-post-header-toolbar__left>*+.components-button,.edit-post-header.has-reduced-ui:not(:hover) .edit-post-header-toolbar__left>*+.components-dropdown>[aria-expanded=false]{opacity:0}}.edit-post-header-toolbar__left{display:inline-flex;align-items:center;padding-right:8px}@media (min-width:600px){.edit-post-header-toolbar__left{padding-right:24px}}@media (min-width:1280px){.edit-post-header-toolbar__left{padding-left:8px}}.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle.has-icon{margin-left:8px;min-width:32px;width:32px;height:32px;padding:0}.show-icon-labels .edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle.has-icon{height:36px}.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle.has-text.has-icon{width:auto;padding:0 8px}.show-icon-labels .edit-post-header-toolbar__left>*+*{margin-right:8px}.edit-post-more-menu{margin-right:-4px}.edit-post-more-menu .components-button{width:auto;padding:0 2px}@media (min-width:600px){.edit-post-more-menu{margin-right:0}.edit-post-more-menu .components-button{padding:0 4px}}.edit-post-more-menu__content .components-popover__content{min-width:280px}@media (min-width:480px){.edit-post-more-menu__content .components-popover__content{width:auto;max-width:480px}}.edit-post-more-menu__content .components-popover__content .components-dropdown-menu__menu{padding:0}.components-popover.edit-post-more-menu__content{z-index:99998}.edit-post-template-top-area{display:flex;flex-direction:column;align-content:space-between;width:100%;align-items:center}.edit-post-template-top-area .edit-post-template-post-title,.edit-post-template-top-area .edit-post-template-title{padding:0;text-decoration:none;height:auto}.edit-post-template-top-area .edit-post-template-post-title:before,.edit-post-template-top-area .edit-post-template-title:before{height:100%}.edit-post-template-top-area .edit-post-template-post-title.has-icon svg,.edit-post-template-top-area .edit-post-template-title.has-icon svg{order:1;margin-left:0}.edit-post-template-top-area .edit-post-template-title{color:#1e1e1e}.edit-post-template-top-area .edit-post-template-post-title{margin-top:4px;max-width:160px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}.edit-post-template-top-area .edit-post-template-post-title:before{right:0;left:0}@media (min-width:1080px){.edit-post-template-top-area .edit-post-template-post-title{max-width:none}}.edit-post-template-top-area__popover .components-popover__content{min-width:360px}.edit-post-keyboard-shortcut-help-modal__section{margin:0 0 2rem}.edit-post-keyboard-shortcut-help-modal__main-shortcuts .edit-post-keyboard-shortcut-help-modal__shortcut-list{margin-top:-25px}.edit-post-keyboard-shortcut-help-modal__section-title{font-size:.9rem;font-weight:600}.edit-post-keyboard-shortcut-help-modal__shortcut{display:flex;align-items:baseline;padding:.6rem 0;border-top:1px solid #ddd;margin-bottom:0}.edit-post-keyboard-shortcut-help-modal__shortcut:last-child{border-bottom:1px solid #ddd}.edit-post-keyboard-shortcut-help-modal__shortcut:empty{display:none}.edit-post-keyboard-shortcut-help-modal__shortcut-term{font-weight:600;margin:0 1rem 0 0;text-align:left}.edit-post-keyboard-shortcut-help-modal__shortcut-description{flex:1;margin:0;flex-basis:auto}.edit-post-keyboard-shortcut-help-modal__shortcut-key-combination{display:block;background:none;margin:0;padding:0}.edit-post-keyboard-shortcut-help-modal__shortcut-key-combination+.edit-post-keyboard-shortcut-help-modal__shortcut-key-combination{margin-top:10px}.edit-post-keyboard-shortcut-help-modal__shortcut-key{padding:.25rem .5rem;border-radius:8%;margin:0 .2rem}.edit-post-keyboard-shortcut-help-modal__shortcut-key:last-child{margin:0 .2rem 0 0}.edit-post-layout__metaboxes{flex-shrink:0}.edit-post-layout__metaboxes:not(:empty){border-top:1px solid #ddd;padding:10px 0;clear:both}.edit-post-layout__metaboxes:not(:empty) .edit-post-meta-boxes-area{margin:auto 20px}.edit-post-layout .components-editor-notices__snackbar{position:fixed;left:0;bottom:40px;padding-right:16px;padding-left:16px;right:0}@media (min-width:783px){.edit-post-layout .components-editor-notices__snackbar{right:160px}}@media (min-width:783px){.auto-fold .edit-post-layout .components-editor-notices__snackbar{right:36px}}@media (min-width:961px){.auto-fold .edit-post-layout .components-editor-notices__snackbar{right:160px}}.folded .edit-post-layout .components-editor-notices__snackbar{right:0}@media (min-width:783px){.folded .edit-post-layout .components-editor-notices__snackbar{right:36px}}body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar{right:0!important}.edit-post-layout .editor-post-publish-panel{position:fixed;z-index:100001;top:46px;bottom:0;left:0;right:0;overflow:auto}@media (min-width:782px){.edit-post-layout .editor-post-publish-panel{z-index:99998;top:32px;right:auto;width:281px;border-right:1px solid #ddd;transform:translateX(-100%);animation:edit-post-post-publish-panel__slide-in-animation .1s forwards}}@media (min-width:782px) and (prefers-reduced-motion:reduce){.edit-post-layout .editor-post-publish-panel{animation-duration:1ms;animation-delay:0s}}@media (min-width:782px){body.is-fullscreen-mode .edit-post-layout .editor-post-publish-panel{top:0}}@media (min-width:782px){[role=region]:focus .edit-post-layout .editor-post-publish-panel{transform:translateX(0)}}@keyframes edit-post-post-publish-panel__slide-in-animation{to{transform:translateX(0)}}.edit-post-layout .editor-post-publish-panel__header-publish-button{justify-content:center}.edit-post-layout__toggle-entities-saved-states-panel,.edit-post-layout__toggle-publish-panel,.edit-post-layout__toggle-sidebar-panel{z-index:100000;position:fixed!important;top:-9999em;bottom:auto;right:auto;left:0;width:280px;background-color:#fff;border:1px dotted #ddd;height:auto!important;padding:24px;display:flex;justify-content:center}.interface-interface-skeleton__actions:focus-within .edit-post-layout__toggle-entities-saved-states-panel,.interface-interface-skeleton__actions:focus-within .edit-post-layout__toggle-publish-panel,.interface-interface-skeleton__actions:focus-within .edit-post-layout__toggle-sidebar-panel,.interface-interface-skeleton__actions:focus .edit-post-layout__toggle-entities-saved-states-panel,.interface-interface-skeleton__actions:focus .edit-post-layout__toggle-publish-panel,.interface-interface-skeleton__actions:focus .edit-post-layout__toggle-sidebar-panel{top:auto;bottom:0}.edit-post-layout .interface-interface-skeleton__content{background-color:#2f2f2f}@media (min-width:600px){.edit-post-manage-blocks-modal{height:calc(100% - 120px)}}.edit-post-manage-blocks-modal .components-modal__content{padding-bottom:0;display:flex;flex-direction:column}.edit-post-manage-blocks-modal .components-modal__header{flex-shrink:0;margin-bottom:0}.edit-post-manage-blocks-modal__content{display:flex;flex-direction:column;flex:0 1 100%;min-height:0}.edit-post-manage-blocks-modal__no-results{font-style:italic;padding:24px 0;text-align:center}.edit-post-manage-blocks-modal__search{margin:16px 0}.edit-post-manage-blocks-modal__search .components-base-control__field{margin-bottom:0}.edit-post-manage-blocks-modal__search .components-base-control__label{margin-top:-4px}.edit-post-manage-blocks-modal__search input[type=search].components-text-control__input{padding:8px;border-radius:2px}.edit-post-manage-blocks-modal__disabled-blocks-count{border-top:1px solid #ddd;margin-right:-24px;margin-left:-24px;padding:.6rem 24px;background-color:#f0f0f0}.edit-post-manage-blocks-modal__category{margin:0 0 2rem}.edit-post-manage-blocks-modal__category-title{position:sticky;top:0;padding:16px 0;background-color:#fff;z-index:1}.edit-post-manage-blocks-modal__category-title .components-base-control__field{margin-bottom:0}.edit-post-manage-blocks-modal__category-title .components-checkbox-control__label{font-size:.9rem;font-weight:600}.edit-post-manage-blocks-modal__show-all{margin-left:8px}.edit-post-manage-blocks-modal__checklist{margin-top:0}.edit-post-manage-blocks-modal__checklist-item{margin-bottom:0;padding-right:16px;border-top:1px solid #ddd}.edit-post-manage-blocks-modal__checklist-item:last-child{border-bottom:1px solid #ddd}.edit-post-manage-blocks-modal__checklist-item .components-base-control__field{align-items:center;display:flex;margin:0}.components-modal__content .edit-post-manage-blocks-modal__checklist-item.components-checkbox-control__input-container{margin:0 8px}.edit-post-manage-blocks-modal__checklist-item .components-checkbox-control__label{display:flex;align-items:center;justify-content:space-between;flex-grow:1;padding:.6rem 10px .6rem 0}.edit-post-manage-blocks-modal__checklist-item .block-editor-block-icon{margin-left:10px;fill:#1e1e1e}.edit-post-manage-blocks-modal__results{height:100%;overflow:auto;margin-right:-32px;margin-left:-32px;padding-right:32px;padding-left:32px;border-top:1px solid #ddd}.edit-post-meta-boxes-area{position:relative}.edit-post-meta-boxes-area .inside,.edit-post-meta-boxes-area__container{box-sizing:initial}.edit-post-meta-boxes-area input,.edit-post-meta-boxes-area textarea{box-sizing:border-box}.edit-post-meta-boxes-area #poststuff{margin:0 auto;padding-top:0;min-width:auto}.edit-post-meta-boxes-area #poststuff .stuffbox>h3,.edit-post-meta-boxes-area #poststuff h2.hndle,.edit-post-meta-boxes-area #poststuff h3.hndle{box-sizing:border-box;color:inherit;font-weight:600;outline:none;padding:15px;position:relative;width:100%}.edit-post-meta-boxes-area .postbox{border:0;color:inherit;margin-bottom:0}.edit-post-meta-boxes-area .postbox>.inside{border-bottom:1px solid #ddd;color:inherit;padding:0 14px 14px;margin:0}.edit-post-meta-boxes-area .postbox .handlediv{height:44px;width:44px}.edit-post-meta-boxes-area.is-loading:before{position:absolute;top:0;right:0;left:0;bottom:0;content:"";background:transparent;z-index:1}.edit-post-meta-boxes-area .components-spinner{position:absolute;top:10px;left:20px;z-index:5}.edit-post-meta-boxes-area .is-hidden{display:none}.edit-post-meta-boxes-area .metabox-location-side .postbox input[type=checkbox]{border:1px solid #757575}.edit-post-meta-boxes-area .metabox-location-side .postbox input[type=checkbox]:checked{background:#fff;border-color:#757575}.edit-post-meta-boxes-area .metabox-location-side .postbox input[type=checkbox]:before{margin:-3px -4px}.edit-post-meta-boxes-area__clear{clear:both}.edit-post-preferences-modal{min-width:360px;width:100%}@media (min-width:782px){.edit-post-preferences-modal{width:auto}}@media (min-width:600px){.edit-post-preferences-modal{height:calc(100% - 120px)}}.edit-post-preferences-modal .components-navigation{background-color:#fff;margin:-8px;padding:8px}.edit-post-preferences-modal .components-navigation .components-navigation__menu{margin:0;color:#1e1e1e}.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__item{color:#1e1e1e}.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__item>button{color:inherit;padding:3px 16px;height:48px}.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__item>button:focus{background:#f0f0f0;font-weight:500}.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__item>button:hover{color:var(--wp-admin-theme-color)}.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__item .components-toggle-control__label{color:inherit}.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__menu-title-heading{color:inherit;border-bottom:1px solid #ddd;padding-right:0;padding-left:0}.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__back-button{color:inherit;padding-right:0}.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__back-button:hover{color:var(--wp-admin-theme-color)}.edit-post-preferences-modal .components-navigation .components-navigation__menu .edit-post-preferences-modal__custom-fields-confirmation-button{width:auto}.edit-post-preferences-modal .edit-post-preferences__tabs{display:flex;flex-direction:row}.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tabs{width:160px}.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item{border-radius:2px;font-weight:400}.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item.is-active{background:#f0f0f0;box-shadow:none;font-weight:500}.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item:focus:not(:disabled){box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tab-content{width:500px;padding-right:24px}.edit-post-preferences-modal__section{margin:0 0 2.5rem}.edit-post-preferences-modal__section-title{font-size:.9rem;font-weight:600}.edit-post-preferences-modal__option .components-base-control .components-base-control__field{align-items:center;display:flex;margin-bottom:0}.edit-post-preferences-modal__option .components-base-control .components-base-control__field>label{flex-grow:1;padding:.6rem 10px .6rem 0}.edit-post-preferences-modal__custom-fields-confirmation-button,.edit-post-preferences-modal__custom-fields-confirmation-message{margin:0 48px .6rem 0}@media (min-width:782px){.edit-post-preferences-modal__custom-fields-confirmation-button,.edit-post-preferences-modal__custom-fields-confirmation-message{margin-right:38px}}@media (min-width:600px){.edit-post-preferences-modal__custom-fields-confirmation-button,.edit-post-preferences-modal__custom-fields-confirmation-message{max-width:300px}}.edit-post-preferences-modal .components-base-control__help{margin:-8px 58px 8px 0;font-size:12px;font-style:normal;color:#757575}.edit-post-preferences-modal .edit-post-preferences-modal__section-description{margin:-8px 0 8px;font-size:12px;font-style:normal;color:#757575}.edit-post-editor__inserter-panel,.edit-post-editor__list-view-panel{height:100%;display:flex;flex-direction:column}.edit-post-editor__list-view-panel{min-width:350px}.edit-post-editor__inserter-panel-header{padding-top:8px;padding-left:8px;display:flex;justify-content:flex-end}@media (min-width:782px){.edit-post-editor__inserter-panel-header{display:none}}.edit-post-editor__inserter-panel-content,.edit-post-editor__list-view-panel-content{height:calc(100% - 44px)}@media (min-width:782px){.edit-post-editor__inserter-panel-content{height:100%}}.edit-post-editor__list-view-panel-header{align-items:center;border-bottom:1px solid #ddd;display:flex;justify-content:space-between;height:48px;padding-right:16px;padding-left:4px}.edit-post-editor__list-view-panel-content{overflow-y:auto;padding:8px}.components-panel__header.edit-post-sidebar__panel-tabs{justify-content:flex-start;padding-right:0;padding-left:16px;border-top:0;margin-top:0}.components-panel__header.edit-post-sidebar__panel-tabs ul{display:flex}.components-panel__header.edit-post-sidebar__panel-tabs li{margin:0}.components-panel__header.edit-post-sidebar__panel-tabs .components-button.has-icon{display:none;margin:0 auto 0 0;padding:0;min-width:24px;height:24px}@media (min-width:782px){.components-panel__header.edit-post-sidebar__panel-tabs .components-button.has-icon{display:flex}}.components-panel__body.is-opened.edit-post-last-revision__panel{padding:0;height:48px}.editor-post-last-revision__title.components-button{padding:16px}.editor-post-author__select{margin:-5px 0;width:100%}@supports (position:sticky){.editor-post-author__select{width:auto}}.edit-post-post-link__link-post-name{font-weight:600}.edit-post-post-link__preview-label{font-weight:400;margin:0}.edit-post-post-link__link{text-align:right;word-wrap:break-word;display:block}.edit-post-post-link__preview-link-container{direction:ltr}.edit-post-post-schedule{width:100%;position:relative;justify-content:left}.edit-post-post-schedule span{display:block;width:45%}.components-button.edit-post-post-schedule__toggle{text-align:left}.edit-post-post-schedule__dialog .components-popover__content>div{padding:0}.editor-post-slug__input{margin:-5px 0;padding:2px}.edit-post-post-status .edit-post-post-publish-dropdown__switch-to-draft{margin-top:15px;width:100%;text-align:center}.edit-post-post-visibility{width:100%;justify-content:left}.edit-post-post-visibility span{display:block;width:45%}@media (min-width:782px){.edit-post-post-visibility__dialog .components-popover__content{width:257px}}.edit-post-post-visibility__dialog-legend{font-weight:600}.edit-post-post-visibility__choice{margin:10px 0}.edit-post-post-visibility__dialog-label,.edit-post-post-visibility__dialog-radio{vertical-align:top}.edit-post-post-visibility__dialog-password-input{width:calc(100% - 20px);margin-right:20px}.edit-post-post-visibility__dialog-info{color:#757575;padding-right:20px;font-style:italic;margin:4px 0 0;line-height:1.4}.components-button.edit-post-sidebar__panel-tab{border-radius:0;height:48px;background:transparent;border:none;box-shadow:none;cursor:pointer;display:inline-block;padding:3px 15px;margin-right:0;font-weight:500}.components-button.edit-post-sidebar__panel-tab:after{content:attr(data-label);display:block;font-weight:600;height:0;overflow:hidden;speak:none;visibility:hidden}.components-button.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) transparent,inset 0 -4px 0 0 var(--wp-admin-theme-color);position:relative;z-index:1}.components-button.edit-post-sidebar__panel-tab.is-active:before{content:"";position:absolute;top:0;bottom:1px;left:0;right:0;border-bottom:4px solid transparent}.components-button.edit-post-sidebar__panel-tab:focus{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);position:relative;z-index:1}.components-button.edit-post-sidebar__panel-tab.is-active:focus{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color),inset 0 -4px 0 0 var(--wp-admin-theme-color)}.edit-post-template__modal-actions{padding-top:12px}.edit-post-template__actions button:not(:last-child){margin-left:8px}h2.edit-post-template-summary__title{margin:0;line-height:24px}.edit-post-text-editor{position:relative;width:100%;background-color:#fff;flex-grow:1}.edit-post-text-editor .editor-post-title.editor-post-title__block{max-width:none;line-height:1.4}.edit-post-text-editor .editor-post-title.editor-post-title__block .editor-post-title__input.editor-post-title__input.editor-post-title__input{font-family:Menlo,Consolas,monaco,monospace;font-size:2.5em;font-weight:400}.edit-post-text-editor .editor-post-title.editor-post-title__block .editor-post-title__input{border:1px solid #949494;margin-bottom:-1px;padding:16px}@media (min-width:600px){.edit-post-text-editor .editor-post-title.editor-post-title__block .editor-post-title__input{padding:24px}}.edit-post-text-editor .editor-post-title.editor-post-title__block .editor-post-title__input:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}@media (min-width:600px){.edit-post-text-editor .editor-post-title.editor-post-title__block{padding:0}}.edit-post-text-editor__body{width:100%;padding:0 12px 12px;max-width:1080px;margin-right:auto;margin-left:auto}@media (min-width:960px){.edit-post-text-editor__body{padding:0 24px 24px}}.edit-post-text-editor__toolbar{position:sticky;z-index:1;top:0;right:0;left:0;display:flex;background:hsla(0,0%,100%,.8);padding:4px 12px}@media (min-width:600px){.edit-post-text-editor__toolbar{padding:12px}}@media (min-width:960px){.edit-post-text-editor__toolbar{padding:12px 24px}}.edit-post-text-editor__toolbar h2{line-height:36px;margin:0 0 0 auto;font-size:13px;color:#1e1e1e}.edit-post-text-editor__toolbar .components-button svg{order:1}.edit-post-visual-editor{position:relative;display:flex;flex-flow:column;flex:1 1 auto}.edit-post-visual-editor .components-button{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;padding:6px 12px}.edit-post-visual-editor .components-button.has-icon,.edit-post-visual-editor .components-button.is-tertiary{padding:6px}@supports (position:sticky){.edit-post-visual-editor{flex-basis:100%}}.edit-post-visual-editor__post-title-wrapper .editor-post-title{margin:2em auto 0}.edit-post-visual-editor__exit-template-mode{position:absolute;top:8px;right:8px;color:#fff}.edit-post-visual-editor__exit-template-mode:active:not([aria-disabled=true]),.edit-post-visual-editor__exit-template-mode:focus:not([aria-disabled=true]),.edit-post-visual-editor__exit-template-mode:hover{color:#f0f0f0}.edit-post-visual-editor__content-area{width:100%;height:100%;position:relative}.edit-post-welcome-guide{width:312px}.edit-post-welcome-guide__image{background:#00a0d2;margin:0 0 16px}.edit-post-welcome-guide__heading{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:24px;line-height:1.4;margin:16px 0;padding:0 32px}.edit-post-welcome-guide__text{font-size:13px;line-height:1.4;margin:0 0 24px;padding:0 32px}.edit-post-welcome-guide__inserter-icon{margin:0 4px;vertical-align:text-top}@keyframes edit-post__fade-in-animation{0%{opacity:0}to{opacity:1}}body.block-editor-page,html.wp-toolbar{background:#fff}body.block-editor-page #wpcontent{padding-right:0}body.block-editor-page #wpbody-content{padding-bottom:0}body.block-editor-page #wpbody-content>div:not(.block-editor):not(#screen-meta),body.block-editor-page #wpfooter{display:none}body.block-editor-page .a11y-speak-region{right:-1px;top:-1px}body.block-editor-page ul#adminmenu>li.current>a.current:after,body.block-editor-page ul#adminmenu a.wp-has-current-submenu:after{border-left-color:#fff}body.block-editor-page .media-frame select.attachment-filters:last-of-type{width:auto;max-width:100%}.block-editor-page #wpwrap{overflow-y:auto}@media (min-width:782px){.block-editor-page #wpwrap{overflow-y:initial}}.components-modal__frame,.components-popover,.edit-post-editor__inserter-panel,.edit-post-header,.edit-post-sidebar,.edit-post-text-editor,.edit-post-visual-editor,.editor-post-publish-panel{box-sizing:border-box}.components-modal__frame *,.components-modal__frame :after,.components-modal__frame :before,.components-popover *,.components-popover :after,.components-popover :before,.edit-post-editor__inserter-panel *,.edit-post-editor__inserter-panel :after,.edit-post-editor__inserter-panel :before,.edit-post-header *,.edit-post-header :after,.edit-post-header :before,.edit-post-sidebar *,.edit-post-sidebar :after,.edit-post-sidebar :before,.edit-post-text-editor *,.edit-post-text-editor :after,.edit-post-text-editor :before,.edit-post-visual-editor *,.edit-post-visual-editor :after,.edit-post-visual-editor :before,.editor-post-publish-panel *,.editor-post-publish-panel :after,.editor-post-publish-panel :before{box-sizing:inherit}@media (min-width:600px){.block-editor__container{position:absolute;top:0;left:0;bottom:0;right:0;min-height:calc(100vh - 46px)}}@media (min-width:782px){.block-editor__container{min-height:calc(100vh - 32px)}body.is-fullscreen-mode .block-editor__container{min-height:100vh}}.block-editor__container img{max-width:100%;height:auto}.block-editor__container iframe{width:100%}body.admin-color-light{--wp-admin-theme-color:#0085ba;--wp-admin-theme-color-darker-10:#0073a1;--wp-admin-theme-color-darker-20:#006187;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-light{--wp-admin-border-width-focus:1.5px}}body.admin-color-modern{--wp-admin-theme-color:#3858e9;--wp-admin-theme-color-darker-10:#2145e6;--wp-admin-theme-color-darker-20:#183ad6;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-modern{--wp-admin-border-width-focus:1.5px}}body.admin-color-blue{--wp-admin-theme-color:#096484;--wp-admin-theme-color-darker-10:#07526c;--wp-admin-theme-color-darker-20:#064054;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-blue{--wp-admin-border-width-focus:1.5px}}body.admin-color-coffee{--wp-admin-theme-color:#46403c;--wp-admin-theme-color-darker-10:#383330;--wp-admin-theme-color-darker-20:#2b2724;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-coffee{--wp-admin-border-width-focus:1.5px}}body.admin-color-ectoplasm{--wp-admin-theme-color:#523f6d;--wp-admin-theme-color-darker-10:#46365d;--wp-admin-theme-color-darker-20:#3a2c4d;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-ectoplasm{--wp-admin-border-width-focus:1.5px}}body.admin-color-midnight{--wp-admin-theme-color:#e14d43;--wp-admin-theme-color-darker-10:#dd382d;--wp-admin-theme-color-darker-20:#d02c21;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-midnight{--wp-admin-border-width-focus:1.5px}}body.admin-color-ocean{--wp-admin-theme-color:#627c83;--wp-admin-theme-color-darker-10:#576e74;--wp-admin-theme-color-darker-20:#4c6066;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-ocean{--wp-admin-border-width-focus:1.5px}}body.admin-color-sunrise{--wp-admin-theme-color:#dd823b;--wp-admin-theme-color-darker-10:#d97426;--wp-admin-theme-color-darker-20:#c36922;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-sunrise{--wp-admin-border-width-focus:1.5px}} \ No newline at end of file +:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}.components-panel__header.interface-complementary-area-header__small{background:#fff;padding-left:4px}.components-panel__header.interface-complementary-area-header__small .interface-complementary-area-header__small-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}@media (min-width:782px){.components-panel__header.interface-complementary-area-header__small{display:none}}.interface-complementary-area-header{background:#fff;padding-left:4px}.interface-complementary-area-header .components-button.has-icon{display:none;margin-right:auto}.interface-complementary-area-header .components-button.has-icon~.components-button{margin-right:0}@media (min-width:782px){.interface-complementary-area-header .components-button.has-icon{display:flex}}.interface-complementary-area{background:#fff;color:#1e1e1e}@media (min-width:600px){.interface-complementary-area{-webkit-overflow-scrolling:touch}}@media (min-width:782px){.interface-complementary-area{width:280px}}.interface-complementary-area .components-panel{border:none;position:relative;z-index:0}.interface-complementary-area .components-panel__header{position:sticky;top:0;z-index:1}.interface-complementary-area .components-panel__header.edit-post-sidebar__panel-tabs{top:48px}@media (min-width:782px){.interface-complementary-area .components-panel__header.edit-post-sidebar__panel-tabs{top:0}}.interface-complementary-area p{margin-top:0}.interface-complementary-area h2,.interface-complementary-area h3{font-size:13px;color:#1e1e1e;margin-bottom:1.5em}.interface-complementary-area hr{border-top:none;border-bottom:1px solid #f0f0f0;margin:1.5em 0}.interface-complementary-area div.components-toolbar,.interface-complementary-area div.components-toolbar-group{box-shadow:none;margin-bottom:1.5em}.interface-complementary-area div.components-toolbar-group:last-child,.interface-complementary-area div.components-toolbar:last-child{margin-bottom:0}.interface-complementary-area .block-editor-skip-to-selected-block:focus{top:auto;left:10px;bottom:10px;right:auto}@media (min-width:782px){body.js.is-fullscreen-mode{margin-top:-32px;height:calc(100% + 32px)}body.js.is-fullscreen-mode #adminmenumain,body.js.is-fullscreen-mode #wpadminbar{display:none}body.js.is-fullscreen-mode #wpcontent,body.js.is-fullscreen-mode #wpfooter{margin-right:0}}html.interface-interface-skeleton__html-container{position:fixed;width:100%}@media (min-width:782px){html.interface-interface-skeleton__html-container{position:static;width:auto}}.interface-interface-skeleton{display:flex;flex-direction:row;height:auto;max-height:100%;position:fixed;top:46px;left:0;bottom:0}@media (min-width:783px){.interface-interface-skeleton{top:32px}.is-fullscreen-mode .interface-interface-skeleton{top:0}}.interface-interface-skeleton__editor{display:flex;flex-direction:column;flex:0 1 100%;overflow:hidden}.interface-interface-skeleton{right:0}@media (min-width:783px){.interface-interface-skeleton{right:160px}}@media (min-width:783px){.auto-fold .interface-interface-skeleton{right:36px}}@media (min-width:961px){.auto-fold .interface-interface-skeleton{right:160px}}.folded .interface-interface-skeleton{right:0}@media (min-width:783px){.folded .interface-interface-skeleton{right:36px}}body.is-fullscreen-mode .interface-interface-skeleton{right:0!important}.interface-interface-skeleton__body{flex-grow:1;display:flex;overflow:auto;overscroll-behavior-y:none}@media (min-width:782px){.has-footer .interface-interface-skeleton__body{padding-bottom:25px}}.interface-interface-skeleton__content{flex-grow:1;display:flex;flex-direction:column;overflow:auto}.interface-interface-skeleton__secondary-sidebar,.interface-interface-skeleton__sidebar{display:block;flex-shrink:0;position:absolute;z-index:100000;top:0;left:0;bottom:0;right:0;background:#fff;color:#1e1e1e}@media (min-width:782px){.interface-interface-skeleton__secondary-sidebar,.interface-interface-skeleton__sidebar{position:relative!important;z-index:90;width:auto}}.interface-interface-skeleton__sidebar{overflow:auto}@media (min-width:782px){.interface-interface-skeleton__sidebar{border-right:1px solid #e0e0e0}}@media (min-width:782px){.interface-interface-skeleton__secondary-sidebar{border-left:1px solid #e0e0e0}}.interface-interface-skeleton__header{flex-shrink:0;height:auto;border-bottom:1px solid #e0e0e0;z-index:30;color:#1e1e1e}.interface-interface-skeleton__footer{height:auto;flex-shrink:0;border-top:1px solid #e0e0e0;color:#1e1e1e;position:absolute;bottom:0;right:0;width:100%;background-color:#fff;z-index:90;display:none}@media (min-width:782px){.interface-interface-skeleton__footer{display:flex}}.interface-interface-skeleton__footer .block-editor-block-breadcrumb{z-index:30;display:flex;background:#fff;height:24px;align-items:center;font-size:13px;padding:0 18px}.interface-interface-skeleton__actions{z-index:100000;position:fixed!important;top:-9999em;bottom:auto;right:auto;left:0;width:280px;color:#1e1e1e}.interface-interface-skeleton__actions:focus{top:auto;bottom:0}.interface-pinned-items{display:flex}.interface-pinned-items .components-button:not(:first-child){display:none}@media (min-width:600px){.interface-pinned-items .components-button:not(:first-child){display:flex}}.interface-pinned-items .components-button{margin-right:4px}.interface-pinned-items .components-button svg{max-width:24px;max-height:24px}.edit-post-header{height:60px;background:#fff;display:flex;flex-wrap:wrap;align-items:center;max-width:100vw}@media (min-width:280px){.edit-post-header{flex-wrap:nowrap}}.edit-post-header>.edit-post-header__settings{order:1}@supports (position:sticky){.edit-post-header>.edit-post-header__settings{order:0}}.edit-post-header__toolbar{display:flex;flex-grow:1}.edit-post-header__toolbar .table-of-contents{display:none}@media (min-width:600px){.edit-post-header__toolbar .table-of-contents{display:block}}.edit-post-header__settings{display:inline-flex;align-items:center;flex-wrap:wrap;padding-left:4px}@media (min-width:600px){.edit-post-header__settings{padding-left:16px}}.edit-post-header__settings .components-button.components-button,.edit-post-header__settings .editor-post-saved-state{margin-left:4px}@media (min-width:600px){.edit-post-header__settings .components-button.components-button,.edit-post-header__settings .editor-post-saved-state{margin-left:12px}}.edit-post-header__settings .components-button.is-tertiary,.edit-post-header__settings .editor-post-saved-state{padding:0 6px}.edit-post-header__settings .edit-post-more-menu .components-button,.edit-post-header__settings .interface-pinned-items .components-button{margin-left:0}.edit-post-header-preview__grouping-external{display:flex;position:relative;padding-bottom:0}.edit-post-header-preview__button-external{padding-right:8px;margin-left:auto;width:100%;display:flex;justify-content:flex-start}.edit-post-header-preview__button-external svg{margin-right:auto}.edit-post-post-preview-dropdown .components-popover__content>div{padding-bottom:0}.edit-post-header__dropdown .components-button.has-icon,.show-icon-labels .edit-post-header .components-button.has-icon,.show-icon-labels.interface-pinned-items .components-button.has-icon{width:auto}.edit-post-header__dropdown .components-button.has-icon svg,.show-icon-labels .edit-post-header .components-button.has-icon svg,.show-icon-labels.interface-pinned-items .components-button.has-icon svg{display:none}.edit-post-header__dropdown .components-button.has-icon:after,.show-icon-labels .edit-post-header .components-button.has-icon:after,.show-icon-labels.interface-pinned-items .components-button.has-icon:after{content:attr(aria-label)}.edit-post-header__dropdown .components-button.has-icon[aria-disabled=true],.show-icon-labels .edit-post-header .components-button.has-icon[aria-disabled=true],.show-icon-labels.interface-pinned-items .components-button.has-icon[aria-disabled=true]{background-color:initial}.edit-post-header__dropdown .is-tertiary:active,.show-icon-labels .edit-post-header .is-tertiary:active,.show-icon-labels.interface-pinned-items .is-tertiary:active{box-shadow:0 0 0 1.5px var(--wp-admin-theme-color);background-color:initial}.edit-post-header__dropdown .components-button.has-icon.button-toggle svg,.edit-post-header__dropdown .edit-post-fullscreen-mode-close.has-icon svg,.show-icon-labels .edit-post-header .components-button.has-icon.button-toggle svg,.show-icon-labels .edit-post-header .edit-post-fullscreen-mode-close.has-icon svg,.show-icon-labels.interface-pinned-items .components-button.has-icon.button-toggle svg,.show-icon-labels.interface-pinned-items .edit-post-fullscreen-mode-close.has-icon svg{display:block}.edit-post-header__dropdown .components-button.has-icon.button-toggle:after,.edit-post-header__dropdown .edit-post-fullscreen-mode-close.has-icon:after,.show-icon-labels .edit-post-header .components-button.has-icon.button-toggle:after,.show-icon-labels .edit-post-header .edit-post-fullscreen-mode-close.has-icon:after,.show-icon-labels.interface-pinned-items .components-button.has-icon.button-toggle:after,.show-icon-labels.interface-pinned-items .edit-post-fullscreen-mode-close.has-icon:after{content:none}.edit-post-header__dropdown .edit-post-fullscreen-mode-close.has-icon,.show-icon-labels .edit-post-header .edit-post-fullscreen-mode-close.has-icon,.show-icon-labels.interface-pinned-items .edit-post-fullscreen-mode-close.has-icon{width:60px}.edit-post-header__dropdown .components-menu-items-choice .components-menu-items__item-icon.components-menu-items__item-icon,.show-icon-labels .edit-post-header .components-menu-items-choice .components-menu-items__item-icon.components-menu-items__item-icon,.show-icon-labels.interface-pinned-items .components-menu-items-choice .components-menu-items__item-icon.components-menu-items__item-icon{display:block}.edit-post-header__dropdown .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.edit-post-header__dropdown .interface-pinned-items .components-button,.show-icon-labels .edit-post-header .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.show-icon-labels .edit-post-header .interface-pinned-items .components-button,.show-icon-labels.interface-pinned-items .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.show-icon-labels.interface-pinned-items .interface-pinned-items .components-button{padding-right:8px;padding-left:8px}@media (min-width:600px){.edit-post-header__dropdown .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.edit-post-header__dropdown .interface-pinned-items .components-button,.show-icon-labels .edit-post-header .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.show-icon-labels .edit-post-header .interface-pinned-items .components-button,.show-icon-labels.interface-pinned-items .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.show-icon-labels.interface-pinned-items .interface-pinned-items .components-button{padding-right:12px;padding-left:12px}}.edit-post-header__dropdown .components-dropdown-menu__toggle,.show-icon-labels .edit-post-header .components-dropdown-menu__toggle,.show-icon-labels.interface-pinned-items .components-dropdown-menu__toggle{margin-right:8px;padding-right:8px;padding-left:8px}@media (min-width:600px){.edit-post-header__dropdown .components-dropdown-menu__toggle,.show-icon-labels .edit-post-header .components-dropdown-menu__toggle,.show-icon-labels.interface-pinned-items .components-dropdown-menu__toggle{margin-right:12px;padding-right:12px;padding-left:12px}}.edit-post-header__dropdown .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle:after,.edit-post-header__dropdown .editor-post-save-draft.editor-post-save-draft:after,.show-icon-labels .edit-post-header .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle:after,.show-icon-labels .edit-post-header .editor-post-save-draft.editor-post-save-draft:after,.show-icon-labels.interface-pinned-items .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle:after,.show-icon-labels.interface-pinned-items .editor-post-save-draft.editor-post-save-draft:after{content:none}@media (min-width:600px){.edit-post-header__dropdown .editor-post-save-draft.editor-post-save-draft:after,.show-icon-labels .edit-post-header .editor-post-save-draft.editor-post-save-draft:after,.show-icon-labels.interface-pinned-items .editor-post-save-draft.editor-post-save-draft:after{content:attr(aria-label)}}.edit-post-header__dropdown .components-button.block-editor-block-navigation,.edit-post-header__dropdown .components-button.editor-history__redo,.edit-post-header__dropdown .components-button.editor-history__undo,.edit-post-header__dropdown .components-menu-item__button.components-menu-item__button,.edit-post-header__dropdown .table-of-contents .components-button{margin:0;padding:6px 40px 6px 6px;width:14.625rem;text-align:right;justify-content:flex-start}.show-icon-labels.interface-pinned-items{padding:6px 12px 12px;margin:0 -12px;border-bottom:1px solid #ccc;display:block}.show-icon-labels.interface-pinned-items>.components-button.has-icon{margin:0;padding:6px 8px 6px 6px;width:14.625rem;justify-content:flex-start}.show-icon-labels.interface-pinned-items>.components-button.has-icon[aria-expanded=true] svg{display:block;max-width:24px}.show-icon-labels.interface-pinned-items>.components-button.has-icon[aria-expanded=false]{padding-right:40px}.show-icon-labels.interface-pinned-items>.components-button.has-icon svg{margin-left:8px}.edit-post-fullscreen-mode-close.has-icon{display:none}@media (min-width:782px){.edit-post-fullscreen-mode-close.has-icon{display:flex;align-items:center;align-self:stretch;border:none;background:#23282e;color:#fff;border-radius:0;height:61px;width:60px;position:relative;margin-bottom:-1px}.edit-post-fullscreen-mode-close.has-icon:active{color:#fff}.edit-post-fullscreen-mode-close.has-icon:focus{box-shadow:none}.edit-post-fullscreen-mode-close.has-icon:before{transition:box-shadow .1s ease;content:"";display:block;position:absolute;top:9px;left:9px;bottom:9px;right:9px;border-radius:4px;box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) #23282e}}@media (min-width:782px) and (prefers-reduced-motion:reduce){.edit-post-fullscreen-mode-close.has-icon:before{transition-duration:0s;transition-delay:0s}}@media (min-width:782px){.edit-post-fullscreen-mode-close.has-icon:hover:before{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) #757575}}@media (min-width:782px){.edit-post-fullscreen-mode-close.has-icon:focus:before{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) hsla(0,0%,100%,.1),inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}}.edit-post-fullscreen-mode-close_site-icon{width:36px;border-radius:2px}.edit-post-header-toolbar{display:inline-flex;flex-grow:1;align-items:center;border:none}.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button{display:none}@media (min-width:600px){.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button{display:inline-flex}}.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle{display:inline-flex}.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle svg{transition:transform .2s cubic-bezier(.165,.84,.44,1)}@media (prefers-reduced-motion:reduce){.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle svg{transition-duration:0s;transition-delay:0s}}.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle.is-pressed svg{transform:rotate(-45deg)}.edit-post-header-toolbar .block-editor-block-navigation{display:none}@media (min-width:600px){.edit-post-header-toolbar .block-editor-block-navigation{display:flex}}.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button.has-icon,.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-dropdown>.components-button.has-icon{height:36px;min-width:36px;padding:6px}.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button.has-icon.is-pressed,.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-dropdown>.components-button.has-icon.is-pressed{background:#1e1e1e}.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button.has-icon:focus:not(:disabled),.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-dropdown>.components-button.has-icon:focus:not(:disabled){box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color),inset 0 0 0 1px #fff;outline:1px solid transparent}.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button.has-icon:before,.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-dropdown>.components-button.has-icon:before{display:none}@media (min-width:600px){.edit-post-header.has-reduced-ui .edit-post-header-toolbar__left>*+.components-button,.edit-post-header.has-reduced-ui .edit-post-header-toolbar__left>*+.components-dropdown>[aria-expanded=false]{transition:opacity .1s linear}}@media (min-width:600px) and (prefers-reduced-motion:reduce){.edit-post-header.has-reduced-ui .edit-post-header-toolbar__left>*+.components-button,.edit-post-header.has-reduced-ui .edit-post-header-toolbar__left>*+.components-dropdown>[aria-expanded=false]{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.edit-post-header.has-reduced-ui:not(:hover) .edit-post-header-toolbar__left>*+.components-button,.edit-post-header.has-reduced-ui:not(:hover) .edit-post-header-toolbar__left>*+.components-dropdown>[aria-expanded=false]{opacity:0}}.edit-post-header-toolbar__left{display:inline-flex;align-items:center;padding-right:8px}@media (min-width:600px){.edit-post-header-toolbar__left{padding-right:24px}}@media (min-width:1280px){.edit-post-header-toolbar__left{padding-left:8px}}.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle.has-icon{margin-left:8px;min-width:32px;width:32px;height:32px;padding:0}.show-icon-labels .edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle.has-icon{height:36px}.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle.has-text.has-icon{width:auto;padding:0 8px}.show-icon-labels .edit-post-header-toolbar__left>*+*{margin-right:8px}.edit-post-more-menu{margin-right:-4px}.edit-post-more-menu .components-button{width:auto;padding:0 2px}@media (min-width:600px){.edit-post-more-menu{margin-right:0}.edit-post-more-menu .components-button{padding:0 4px}}.edit-post-more-menu__content .components-popover__content{min-width:280px}@media (min-width:480px){.edit-post-more-menu__content .components-popover__content{width:auto;max-width:480px}}.edit-post-more-menu__content .components-popover__content .components-dropdown-menu__menu{padding:0}.components-popover.edit-post-more-menu__content{z-index:99998}.edit-post-template-top-area{display:flex;flex-direction:column;align-content:space-between;width:100%;align-items:center}.edit-post-template-top-area .edit-post-template-post-title,.edit-post-template-top-area .edit-post-template-title{padding:0;text-decoration:none;height:auto}.edit-post-template-top-area .edit-post-template-post-title:before,.edit-post-template-top-area .edit-post-template-title:before{height:100%}.edit-post-template-top-area .edit-post-template-post-title.has-icon svg,.edit-post-template-top-area .edit-post-template-title.has-icon svg{order:1;margin-left:0}.edit-post-template-top-area .edit-post-template-title{color:#1e1e1e}.edit-post-template-top-area .edit-post-template-post-title{margin-top:4px;max-width:160px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}.edit-post-template-top-area .edit-post-template-post-title:before{right:0;left:0}@media (min-width:1080px){.edit-post-template-top-area .edit-post-template-post-title{max-width:none}}.edit-post-template-top-area__popover .components-popover__content{min-width:280px}.edit-post-template-top-area__second-menu-group{margin-right:-12px;margin-left:-12px;padding:12px 12px 0;border-top:1px solid #ddd}.edit-post-template-top-area__second-menu-group .edit-post-template-top-area__delete-template-button{display:flex;justify-content:center}.edit-post-template-top-area__second-menu-group .edit-post-template-top-area__delete-template-button .components-menu-item__item{margin-left:0}.edit-post-keyboard-shortcut-help-modal__section{margin:0 0 2rem}.edit-post-keyboard-shortcut-help-modal__main-shortcuts .edit-post-keyboard-shortcut-help-modal__shortcut-list{margin-top:-25px}.edit-post-keyboard-shortcut-help-modal__section-title{font-size:.9rem;font-weight:600}.edit-post-keyboard-shortcut-help-modal__shortcut{display:flex;align-items:baseline;padding:.6rem 0;border-top:1px solid #ddd;margin-bottom:0}.edit-post-keyboard-shortcut-help-modal__shortcut:last-child{border-bottom:1px solid #ddd}.edit-post-keyboard-shortcut-help-modal__shortcut:empty{display:none}.edit-post-keyboard-shortcut-help-modal__shortcut-term{font-weight:600;margin:0 1rem 0 0;text-align:left}.edit-post-keyboard-shortcut-help-modal__shortcut-description{flex:1;margin:0;flex-basis:auto}.edit-post-keyboard-shortcut-help-modal__shortcut-key-combination{display:block;background:none;margin:0;padding:0}.edit-post-keyboard-shortcut-help-modal__shortcut-key-combination+.edit-post-keyboard-shortcut-help-modal__shortcut-key-combination{margin-top:10px}.edit-post-keyboard-shortcut-help-modal__shortcut-key{padding:.25rem .5rem;border-radius:8%;margin:0 .2rem}.edit-post-keyboard-shortcut-help-modal__shortcut-key:last-child{margin:0 .2rem 0 0}.edit-post-layout__metaboxes{flex-shrink:0}.edit-post-layout__metaboxes:not(:empty){border-top:1px solid #ddd;padding:10px 0;clear:both}.edit-post-layout__metaboxes:not(:empty) .edit-post-meta-boxes-area{margin:auto 20px}.edit-post-layout .components-editor-notices__snackbar{position:fixed;left:0;bottom:40px;padding-right:16px;padding-left:16px;right:0}@media (min-width:783px){.edit-post-layout .components-editor-notices__snackbar{right:160px}}@media (min-width:783px){.auto-fold .edit-post-layout .components-editor-notices__snackbar{right:36px}}@media (min-width:961px){.auto-fold .edit-post-layout .components-editor-notices__snackbar{right:160px}}.folded .edit-post-layout .components-editor-notices__snackbar{right:0}@media (min-width:783px){.folded .edit-post-layout .components-editor-notices__snackbar{right:36px}}body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar{right:0!important}.edit-post-layout .editor-post-publish-panel{position:fixed;z-index:100001;top:46px;bottom:0;left:0;right:0;overflow:auto}@media (min-width:782px){.edit-post-layout .editor-post-publish-panel{z-index:99998;top:32px;right:auto;width:281px;border-right:1px solid #ddd;transform:translateX(-100%);animation:edit-post-post-publish-panel__slide-in-animation .1s forwards}}@media (min-width:782px) and (prefers-reduced-motion:reduce){.edit-post-layout .editor-post-publish-panel{animation-duration:1ms;animation-delay:0s}}@media (min-width:782px){body.is-fullscreen-mode .edit-post-layout .editor-post-publish-panel{top:0}}@media (min-width:782px){[role=region]:focus .edit-post-layout .editor-post-publish-panel{transform:translateX(0)}}@keyframes edit-post-post-publish-panel__slide-in-animation{to{transform:translateX(0)}}.edit-post-layout .editor-post-publish-panel__header-publish-button{justify-content:center}.edit-post-layout__toggle-entities-saved-states-panel,.edit-post-layout__toggle-publish-panel,.edit-post-layout__toggle-sidebar-panel{z-index:100000;position:fixed!important;top:-9999em;bottom:auto;right:auto;left:0;width:280px;background-color:#fff;border:1px dotted #ddd;height:auto!important;padding:24px;display:flex;justify-content:center}.interface-interface-skeleton__actions:focus-within .edit-post-layout__toggle-entities-saved-states-panel,.interface-interface-skeleton__actions:focus-within .edit-post-layout__toggle-publish-panel,.interface-interface-skeleton__actions:focus-within .edit-post-layout__toggle-sidebar-panel,.interface-interface-skeleton__actions:focus .edit-post-layout__toggle-entities-saved-states-panel,.interface-interface-skeleton__actions:focus .edit-post-layout__toggle-publish-panel,.interface-interface-skeleton__actions:focus .edit-post-layout__toggle-sidebar-panel{top:auto;bottom:0}.edit-post-layout .interface-interface-skeleton__content{background-color:#2f2f2f}@media (min-width:600px){.edit-post-manage-blocks-modal{height:calc(100% - 120px)}}.edit-post-manage-blocks-modal .components-modal__content{padding-bottom:0;display:flex;flex-direction:column}.edit-post-manage-blocks-modal .components-modal__header{flex-shrink:0;margin-bottom:0}.edit-post-manage-blocks-modal__content{display:flex;flex-direction:column;flex:0 1 100%;min-height:0}.edit-post-manage-blocks-modal__no-results{font-style:italic;padding:24px 0;text-align:center}.edit-post-manage-blocks-modal__search{margin:16px 0}.edit-post-manage-blocks-modal__search .components-base-control__field{margin-bottom:0}.edit-post-manage-blocks-modal__search .components-base-control__label{margin-top:-4px}.edit-post-manage-blocks-modal__search input[type=search].components-text-control__input{padding:8px;border-radius:2px}.edit-post-manage-blocks-modal__disabled-blocks-count{border-top:1px solid #ddd;margin-right:-24px;margin-left:-24px;padding:.6rem 24px;background-color:#f0f0f0}.edit-post-manage-blocks-modal__category{margin:0 0 2rem}.edit-post-manage-blocks-modal__category-title{position:sticky;top:0;padding:16px 0;background-color:#fff;z-index:1}.edit-post-manage-blocks-modal__category-title .components-base-control__field{margin-bottom:0}.edit-post-manage-blocks-modal__category-title .components-checkbox-control__label{font-size:.9rem;font-weight:600}.edit-post-manage-blocks-modal__show-all{margin-left:8px}.edit-post-manage-blocks-modal__checklist{margin-top:0}.edit-post-manage-blocks-modal__checklist-item{margin-bottom:0;padding-right:16px;border-top:1px solid #ddd}.edit-post-manage-blocks-modal__checklist-item:last-child{border-bottom:1px solid #ddd}.edit-post-manage-blocks-modal__checklist-item .components-base-control__field{align-items:center;display:flex;margin:0}.components-modal__content .edit-post-manage-blocks-modal__checklist-item.components-checkbox-control__input-container{margin:0 8px}.edit-post-manage-blocks-modal__checklist-item .components-checkbox-control__label{display:flex;align-items:center;justify-content:space-between;flex-grow:1;padding:.6rem 10px .6rem 0}.edit-post-manage-blocks-modal__checklist-item .block-editor-block-icon{margin-left:10px;fill:#1e1e1e}.edit-post-manage-blocks-modal__results{height:100%;overflow:auto;margin-right:-32px;margin-left:-32px;padding-right:32px;padding-left:32px;border-top:1px solid #ddd}.edit-post-meta-boxes-area{position:relative}.edit-post-meta-boxes-area .inside,.edit-post-meta-boxes-area__container{box-sizing:initial}.edit-post-meta-boxes-area input,.edit-post-meta-boxes-area textarea{box-sizing:border-box}.edit-post-meta-boxes-area #poststuff{margin:0 auto;padding-top:0;min-width:auto}.edit-post-meta-boxes-area #poststuff .stuffbox>h3,.edit-post-meta-boxes-area #poststuff h2.hndle,.edit-post-meta-boxes-area #poststuff h3.hndle{box-sizing:border-box;color:inherit;font-weight:600;outline:none;padding:15px;position:relative;width:100%}.edit-post-meta-boxes-area .postbox{border:0;color:inherit;margin-bottom:0}.edit-post-meta-boxes-area .postbox>.inside{border-bottom:1px solid #ddd;color:inherit;padding:0 14px 14px;margin:0}.edit-post-meta-boxes-area .postbox .handlediv{height:44px;width:44px}.edit-post-meta-boxes-area.is-loading:before{position:absolute;top:0;right:0;left:0;bottom:0;content:"";background:transparent;z-index:1}.edit-post-meta-boxes-area .components-spinner{position:absolute;top:10px;left:20px;z-index:5}.edit-post-meta-boxes-area .is-hidden{display:none}.edit-post-meta-boxes-area .metabox-location-side .postbox input[type=checkbox]{border:1px solid #757575}.edit-post-meta-boxes-area .metabox-location-side .postbox input[type=checkbox]:checked{background:#fff;border-color:#757575}.edit-post-meta-boxes-area .metabox-location-side .postbox input[type=checkbox]:before{margin:-3px -4px}.edit-post-meta-boxes-area__clear{clear:both}.edit-post-preferences-modal{min-width:360px;width:100%}@media (min-width:782px){.edit-post-preferences-modal{width:auto}}@media (min-width:600px){.edit-post-preferences-modal{height:calc(100% - 120px)}}.edit-post-preferences-modal .components-navigation{background-color:#fff;margin:-8px;padding:8px}.edit-post-preferences-modal .components-navigation .components-navigation__menu{margin:0;color:#1e1e1e}.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__item{color:#1e1e1e}.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__item>button{color:inherit;padding:3px 16px;height:48px}.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__item>button:focus{background:#f0f0f0;font-weight:500}.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__item>button:hover{color:var(--wp-admin-theme-color)}.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__item .components-toggle-control__label{color:inherit}.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__menu-title-heading{color:inherit;border-bottom:1px solid #ddd;padding-right:0;padding-left:0}.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__back-button{color:inherit;padding-right:0}.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__back-button:hover{color:var(--wp-admin-theme-color)}.edit-post-preferences-modal .components-navigation .components-navigation__menu .edit-post-preferences-modal__custom-fields-confirmation-button{width:auto}.edit-post-preferences-modal .edit-post-preferences__tabs{display:flex;flex-direction:row}.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tabs{width:160px}.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item{border-radius:2px;font-weight:400}.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item.is-active{background:#f0f0f0;box-shadow:none;font-weight:500}.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item:focus:not(:disabled){box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tab-content{width:500px;padding-right:24px}.edit-post-preferences-modal__section{margin:0 0 2.5rem}.edit-post-preferences-modal__section-title{font-size:.9rem;font-weight:600}.edit-post-preferences-modal__option .components-base-control .components-base-control__field{align-items:center;display:flex;margin-bottom:0}.edit-post-preferences-modal__option .components-base-control .components-base-control__field>label{flex-grow:1;padding:.6rem 10px .6rem 0}.edit-post-preferences-modal__custom-fields-confirmation-button,.edit-post-preferences-modal__custom-fields-confirmation-message{margin:0 48px .6rem 0}@media (min-width:782px){.edit-post-preferences-modal__custom-fields-confirmation-button,.edit-post-preferences-modal__custom-fields-confirmation-message{margin-right:38px}}@media (min-width:600px){.edit-post-preferences-modal__custom-fields-confirmation-button,.edit-post-preferences-modal__custom-fields-confirmation-message{max-width:300px}}.edit-post-preferences-modal .components-base-control__help{margin:-8px 58px 8px 0;font-size:12px;font-style:normal;color:#757575}.edit-post-preferences-modal .edit-post-preferences-modal__section-description{margin:-8px 0 8px;font-size:12px;font-style:normal;color:#757575}.edit-post-editor__inserter-panel,.edit-post-editor__list-view-panel{height:100%;display:flex;flex-direction:column}.edit-post-editor__list-view-panel{min-width:350px}.edit-post-editor__inserter-panel-header{padding-top:8px;padding-left:8px;display:flex;justify-content:flex-end}@media (min-width:782px){.edit-post-editor__inserter-panel-header{display:none}}.edit-post-editor__inserter-panel-content,.edit-post-editor__list-view-panel-content{height:calc(100% - 44px)}@media (min-width:782px){.edit-post-editor__inserter-panel-content{height:100%}}.edit-post-editor__list-view-panel-header{align-items:center;border-bottom:1px solid #ddd;display:flex;justify-content:space-between;height:48px;padding-right:16px;padding-left:4px}.edit-post-editor__list-view-panel-content{overflow-y:auto;padding:8px}.components-panel__header.edit-post-sidebar__panel-tabs{justify-content:flex-start;padding-right:0;padding-left:16px;border-top:0;margin-top:0}.components-panel__header.edit-post-sidebar__panel-tabs ul{display:flex}.components-panel__header.edit-post-sidebar__panel-tabs li{margin:0}.components-panel__header.edit-post-sidebar__panel-tabs .components-button.has-icon{display:none;margin:0 auto 0 0;padding:0;min-width:24px;height:24px}@media (min-width:782px){.components-panel__header.edit-post-sidebar__panel-tabs .components-button.has-icon{display:flex}}.components-panel__body.is-opened.edit-post-last-revision__panel{padding:0;height:48px}.editor-post-last-revision__title.components-button{padding:16px}.editor-post-author__select{margin:-5px 0;width:100%}@supports (position:sticky){.editor-post-author__select{width:auto}}.edit-post-post-link__link-post-name{font-weight:600}.edit-post-post-link__preview-label{font-weight:400;margin:0}.edit-post-post-link__link{text-align:right;word-wrap:break-word;display:block}.edit-post-post-link__preview-link-container{direction:ltr}.edit-post-post-schedule{width:100%;position:relative;justify-content:left}.edit-post-post-schedule span{display:block;width:45%}.components-button.edit-post-post-schedule__toggle{text-align:left}.edit-post-post-schedule__dialog .components-popover__content>div{padding:0}.editor-post-slug__input{margin:-5px 0;padding:2px}.edit-post-post-status .edit-post-post-publish-dropdown__switch-to-draft{margin-top:15px;width:100%;text-align:center}.edit-post-post-visibility{width:100%;justify-content:left}.edit-post-post-visibility span{display:block;width:45%}@media (min-width:782px){.edit-post-post-visibility__dialog .components-popover__content{width:257px}}.edit-post-post-visibility__dialog-legend{font-weight:600}.edit-post-post-visibility__choice{margin:10px 0}.edit-post-post-visibility__dialog-label,.edit-post-post-visibility__dialog-radio{vertical-align:top}.edit-post-post-visibility__dialog-password-input{width:calc(100% - 20px);margin-right:20px}.edit-post-post-visibility__dialog-info{color:#757575;padding-right:20px;font-style:italic;margin:4px 0 0;line-height:1.4}.components-button.edit-post-sidebar__panel-tab{border-radius:0;height:48px;background:transparent;border:none;box-shadow:none;cursor:pointer;display:inline-block;padding:3px 15px;margin-right:0;font-weight:500}.components-button.edit-post-sidebar__panel-tab:after{content:attr(data-label);display:block;font-weight:600;height:0;overflow:hidden;speak:none;visibility:hidden}.components-button.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) transparent,inset 0 -4px 0 0 var(--wp-admin-theme-color);position:relative;z-index:1}.components-button.edit-post-sidebar__panel-tab.is-active:before{content:"";position:absolute;top:0;bottom:1px;left:0;right:0;border-bottom:4px solid transparent}.components-button.edit-post-sidebar__panel-tab:focus{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);position:relative;z-index:1}.components-button.edit-post-sidebar__panel-tab.is-active:focus{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color),inset 0 -4px 0 0 var(--wp-admin-theme-color)}.edit-post-template__modal-actions{padding-top:12px}.edit-post-template__actions button:not(:last-child){margin-left:8px}h2.edit-post-template-summary__title{margin:0;line-height:24px}.edit-post-text-editor{position:relative;width:100%;background-color:#fff;flex-grow:1}.edit-post-text-editor .editor-post-title.editor-post-title__block{max-width:none;line-height:1.4}.edit-post-text-editor .editor-post-title.editor-post-title__block .editor-post-title__input.editor-post-title__input.editor-post-title__input{font-family:Menlo,Consolas,monaco,monospace;font-size:2.5em;font-weight:400}.edit-post-text-editor .editor-post-title.editor-post-title__block .editor-post-title__input{border:1px solid #949494;margin-bottom:-1px;padding:16px}@media (min-width:600px){.edit-post-text-editor .editor-post-title.editor-post-title__block .editor-post-title__input{padding:24px}}.edit-post-text-editor .editor-post-title.editor-post-title__block .editor-post-title__input:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}@media (min-width:600px){.edit-post-text-editor .editor-post-title.editor-post-title__block{padding:0}}.edit-post-text-editor__body{width:100%;padding:0 12px 12px;max-width:1080px;margin-right:auto;margin-left:auto}@media (min-width:960px){.edit-post-text-editor__body{padding:0 24px 24px}}.edit-post-text-editor__toolbar{position:sticky;z-index:1;top:0;right:0;left:0;display:flex;background:hsla(0,0%,100%,.8);padding:4px 12px}@media (min-width:600px){.edit-post-text-editor__toolbar{padding:12px}}@media (min-width:960px){.edit-post-text-editor__toolbar{padding:12px 24px}}.edit-post-text-editor__toolbar h2{line-height:36px;margin:0 0 0 auto;font-size:13px;color:#1e1e1e}.edit-post-text-editor__toolbar .components-button svg{order:1}.edit-post-visual-editor{position:relative;display:flex;flex-flow:column;flex:1 1 auto}.edit-post-visual-editor .components-button{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;padding:6px 12px}.edit-post-visual-editor .components-button.has-icon,.edit-post-visual-editor .components-button.is-tertiary{padding:6px}@supports (position:sticky){.edit-post-visual-editor{flex-basis:100%}}.edit-post-visual-editor__post-title-wrapper .editor-post-title{margin:2em auto 0}.edit-post-visual-editor__exit-template-mode{position:absolute;top:8px;right:8px;color:#fff}.edit-post-visual-editor__exit-template-mode:active:not([aria-disabled=true]),.edit-post-visual-editor__exit-template-mode:focus:not([aria-disabled=true]),.edit-post-visual-editor__exit-template-mode:hover{color:#f0f0f0}.edit-post-visual-editor__content-area{width:100%;height:100%;position:relative}.edit-post-welcome-guide{width:312px}.edit-post-welcome-guide__image{background:#00a0d2;margin:0 0 16px}.edit-post-welcome-guide__heading{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:24px;line-height:1.4;margin:16px 0;padding:0 32px}.edit-post-welcome-guide__text{font-size:13px;line-height:1.4;margin:0 0 24px;padding:0 32px}.edit-post-welcome-guide__inserter-icon{margin:0 4px;vertical-align:text-top}@keyframes edit-post__fade-in-animation{0%{opacity:0}to{opacity:1}}body.block-editor-page,html.wp-toolbar{background:#fff}body.block-editor-page #wpcontent{padding-right:0}body.block-editor-page #wpbody-content{padding-bottom:0}body.block-editor-page #wpbody-content>div:not(.block-editor):not(#screen-meta),body.block-editor-page #wpfooter{display:none}body.block-editor-page .a11y-speak-region{right:-1px;top:-1px}body.block-editor-page ul#adminmenu>li.current>a.current:after,body.block-editor-page ul#adminmenu a.wp-has-current-submenu:after{border-left-color:#fff}body.block-editor-page .media-frame select.attachment-filters:last-of-type{width:auto;max-width:100%}.block-editor-page #wpwrap{overflow-y:auto}@media (min-width:782px){.block-editor-page #wpwrap{overflow-y:initial}}.components-modal__frame,.components-popover,.edit-post-editor__inserter-panel,.edit-post-header,.edit-post-sidebar,.edit-post-text-editor,.edit-post-visual-editor,.editor-post-publish-panel{box-sizing:border-box}.components-modal__frame *,.components-modal__frame :after,.components-modal__frame :before,.components-popover *,.components-popover :after,.components-popover :before,.edit-post-editor__inserter-panel *,.edit-post-editor__inserter-panel :after,.edit-post-editor__inserter-panel :before,.edit-post-header *,.edit-post-header :after,.edit-post-header :before,.edit-post-sidebar *,.edit-post-sidebar :after,.edit-post-sidebar :before,.edit-post-text-editor *,.edit-post-text-editor :after,.edit-post-text-editor :before,.edit-post-visual-editor *,.edit-post-visual-editor :after,.edit-post-visual-editor :before,.editor-post-publish-panel *,.editor-post-publish-panel :after,.editor-post-publish-panel :before{box-sizing:inherit}@media (min-width:600px){.block-editor__container{position:absolute;top:0;left:0;bottom:0;right:0;min-height:calc(100vh - 46px)}}@media (min-width:782px){.block-editor__container{min-height:calc(100vh - 32px)}body.is-fullscreen-mode .block-editor__container{min-height:100vh}}.block-editor__container img{max-width:100%;height:auto}.block-editor__container iframe{width:100%}body.admin-color-light{--wp-admin-theme-color:#0085ba;--wp-admin-theme-color-darker-10:#0073a1;--wp-admin-theme-color-darker-20:#006187;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-light{--wp-admin-border-width-focus:1.5px}}body.admin-color-modern{--wp-admin-theme-color:#3858e9;--wp-admin-theme-color-darker-10:#2145e6;--wp-admin-theme-color-darker-20:#183ad6;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-modern{--wp-admin-border-width-focus:1.5px}}body.admin-color-blue{--wp-admin-theme-color:#096484;--wp-admin-theme-color-darker-10:#07526c;--wp-admin-theme-color-darker-20:#064054;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-blue{--wp-admin-border-width-focus:1.5px}}body.admin-color-coffee{--wp-admin-theme-color:#46403c;--wp-admin-theme-color-darker-10:#383330;--wp-admin-theme-color-darker-20:#2b2724;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-coffee{--wp-admin-border-width-focus:1.5px}}body.admin-color-ectoplasm{--wp-admin-theme-color:#523f6d;--wp-admin-theme-color-darker-10:#46365d;--wp-admin-theme-color-darker-20:#3a2c4d;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-ectoplasm{--wp-admin-border-width-focus:1.5px}}body.admin-color-midnight{--wp-admin-theme-color:#e14d43;--wp-admin-theme-color-darker-10:#dd382d;--wp-admin-theme-color-darker-20:#d02c21;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-midnight{--wp-admin-border-width-focus:1.5px}}body.admin-color-ocean{--wp-admin-theme-color:#627c83;--wp-admin-theme-color-darker-10:#576e74;--wp-admin-theme-color-darker-20:#4c6066;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-ocean{--wp-admin-border-width-focus:1.5px}}body.admin-color-sunrise{--wp-admin-theme-color:#dd823b;--wp-admin-theme-color-darker-10:#d97426;--wp-admin-theme-color-darker-20:#c36922;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-sunrise{--wp-admin-border-width-focus:1.5px}} \ No newline at end of file diff --git a/wp-includes/css/dist/edit-post/style.css b/wp-includes/css/dist/edit-post/style.css index 2bf7495de6..baa9a203cb 100644 --- a/wp-includes/css/dist/edit-post/style.css +++ b/wp-includes/css/dist/edit-post/style.css @@ -872,7 +872,22 @@ body.is-fullscreen-mode .interface-interface-skeleton { } .edit-post-template-top-area__popover .components-popover__content { - min-width: 360px; + min-width: 280px; +} + +.edit-post-template-top-area__second-menu-group { + margin-left: -12px; + margin-right: -12px; + padding: 12px; + padding-bottom: 0; + border-top: 1px solid #ddd; +} +.edit-post-template-top-area__second-menu-group .edit-post-template-top-area__delete-template-button { + display: flex; + justify-content: center; +} +.edit-post-template-top-area__second-menu-group .edit-post-template-top-area__delete-template-button .components-menu-item__item { + margin-right: 0; } .edit-post-keyboard-shortcut-help-modal__section { diff --git a/wp-includes/css/dist/edit-post/style.min.css b/wp-includes/css/dist/edit-post/style.min.css index 50e04ea63c..1477c24e88 100644 --- a/wp-includes/css/dist/edit-post/style.min.css +++ b/wp-includes/css/dist/edit-post/style.min.css @@ -1 +1 @@ -:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}.components-panel__header.interface-complementary-area-header__small{background:#fff;padding-right:4px}.components-panel__header.interface-complementary-area-header__small .interface-complementary-area-header__small-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}@media (min-width:782px){.components-panel__header.interface-complementary-area-header__small{display:none}}.interface-complementary-area-header{background:#fff;padding-right:4px}.interface-complementary-area-header .components-button.has-icon{display:none;margin-left:auto}.interface-complementary-area-header .components-button.has-icon~.components-button{margin-left:0}@media (min-width:782px){.interface-complementary-area-header .components-button.has-icon{display:flex}}.interface-complementary-area{background:#fff;color:#1e1e1e}@media (min-width:600px){.interface-complementary-area{-webkit-overflow-scrolling:touch}}@media (min-width:782px){.interface-complementary-area{width:280px}}.interface-complementary-area .components-panel{border:none;position:relative;z-index:0}.interface-complementary-area .components-panel__header{position:sticky;top:0;z-index:1}.interface-complementary-area .components-panel__header.edit-post-sidebar__panel-tabs{top:48px}@media (min-width:782px){.interface-complementary-area .components-panel__header.edit-post-sidebar__panel-tabs{top:0}}.interface-complementary-area p{margin-top:0}.interface-complementary-area h2,.interface-complementary-area h3{font-size:13px;color:#1e1e1e;margin-bottom:1.5em}.interface-complementary-area hr{border-top:none;border-bottom:1px solid #f0f0f0;margin:1.5em 0}.interface-complementary-area div.components-toolbar,.interface-complementary-area div.components-toolbar-group{box-shadow:none;margin-bottom:1.5em}.interface-complementary-area div.components-toolbar-group:last-child,.interface-complementary-area div.components-toolbar:last-child{margin-bottom:0}.interface-complementary-area .block-editor-skip-to-selected-block:focus{top:auto;right:10px;bottom:10px;left:auto}@media (min-width:782px){body.js.is-fullscreen-mode{margin-top:-32px;height:calc(100% + 32px)}body.js.is-fullscreen-mode #adminmenumain,body.js.is-fullscreen-mode #wpadminbar{display:none}body.js.is-fullscreen-mode #wpcontent,body.js.is-fullscreen-mode #wpfooter{margin-left:0}}html.interface-interface-skeleton__html-container{position:fixed;width:100%}@media (min-width:782px){html.interface-interface-skeleton__html-container{position:static;width:auto}}.interface-interface-skeleton{display:flex;flex-direction:row;height:auto;max-height:100%;position:fixed;top:46px;right:0;bottom:0}@media (min-width:783px){.interface-interface-skeleton{top:32px}.is-fullscreen-mode .interface-interface-skeleton{top:0}}.interface-interface-skeleton__editor{display:flex;flex-direction:column;flex:0 1 100%;overflow:hidden}.interface-interface-skeleton{left:0}@media (min-width:783px){.interface-interface-skeleton{left:160px}}@media (min-width:783px){.auto-fold .interface-interface-skeleton{left:36px}}@media (min-width:961px){.auto-fold .interface-interface-skeleton{left:160px}}.folded .interface-interface-skeleton{left:0}@media (min-width:783px){.folded .interface-interface-skeleton{left:36px}}body.is-fullscreen-mode .interface-interface-skeleton{left:0!important}.interface-interface-skeleton__body{flex-grow:1;display:flex;overflow:auto;overscroll-behavior-y:none}@media (min-width:782px){.has-footer .interface-interface-skeleton__body{padding-bottom:25px}}.interface-interface-skeleton__content{flex-grow:1;display:flex;flex-direction:column;overflow:auto}.interface-interface-skeleton__secondary-sidebar,.interface-interface-skeleton__sidebar{display:block;flex-shrink:0;position:absolute;z-index:100000;top:0;right:0;bottom:0;left:0;background:#fff;color:#1e1e1e}@media (min-width:782px){.interface-interface-skeleton__secondary-sidebar,.interface-interface-skeleton__sidebar{position:relative!important;z-index:90;width:auto}}.interface-interface-skeleton__sidebar{overflow:auto}@media (min-width:782px){.interface-interface-skeleton__sidebar{border-left:1px solid #e0e0e0}}@media (min-width:782px){.interface-interface-skeleton__secondary-sidebar{border-right:1px solid #e0e0e0}}.interface-interface-skeleton__header{flex-shrink:0;height:auto;border-bottom:1px solid #e0e0e0;z-index:30;color:#1e1e1e}.interface-interface-skeleton__footer{height:auto;flex-shrink:0;border-top:1px solid #e0e0e0;color:#1e1e1e;position:absolute;bottom:0;left:0;width:100%;background-color:#fff;z-index:90;display:none}@media (min-width:782px){.interface-interface-skeleton__footer{display:flex}}.interface-interface-skeleton__footer .block-editor-block-breadcrumb{z-index:30;display:flex;background:#fff;height:24px;align-items:center;font-size:13px;padding:0 18px}.interface-interface-skeleton__actions{z-index:100000;position:fixed!important;top:-9999em;bottom:auto;left:auto;right:0;width:280px;color:#1e1e1e}.interface-interface-skeleton__actions:focus{top:auto;bottom:0}.interface-pinned-items{display:flex}.interface-pinned-items .components-button:not(:first-child){display:none}@media (min-width:600px){.interface-pinned-items .components-button:not(:first-child){display:flex}}.interface-pinned-items .components-button{margin-left:4px}.interface-pinned-items .components-button svg{max-width:24px;max-height:24px}.edit-post-header{height:60px;background:#fff;display:flex;flex-wrap:wrap;align-items:center;max-width:100vw}@media (min-width:280px){.edit-post-header{flex-wrap:nowrap}}.edit-post-header>.edit-post-header__settings{order:1}@supports (position:sticky){.edit-post-header>.edit-post-header__settings{order:0}}.edit-post-header__toolbar{display:flex;flex-grow:1}.edit-post-header__toolbar .table-of-contents{display:none}@media (min-width:600px){.edit-post-header__toolbar .table-of-contents{display:block}}.edit-post-header__settings{display:inline-flex;align-items:center;flex-wrap:wrap;padding-right:4px}@media (min-width:600px){.edit-post-header__settings{padding-right:16px}}.edit-post-header__settings .components-button.components-button,.edit-post-header__settings .editor-post-saved-state{margin-right:4px}@media (min-width:600px){.edit-post-header__settings .components-button.components-button,.edit-post-header__settings .editor-post-saved-state{margin-right:12px}}.edit-post-header__settings .components-button.is-tertiary,.edit-post-header__settings .editor-post-saved-state{padding:0 6px}.edit-post-header__settings .edit-post-more-menu .components-button,.edit-post-header__settings .interface-pinned-items .components-button{margin-right:0}.edit-post-header-preview__grouping-external{display:flex;position:relative;padding-bottom:0}.edit-post-header-preview__button-external{padding-left:8px;margin-right:auto;width:100%;display:flex;justify-content:flex-start}.edit-post-header-preview__button-external svg{margin-left:auto}.edit-post-post-preview-dropdown .components-popover__content>div{padding-bottom:0}.edit-post-header__dropdown .components-button.has-icon,.show-icon-labels .edit-post-header .components-button.has-icon,.show-icon-labels.interface-pinned-items .components-button.has-icon{width:auto}.edit-post-header__dropdown .components-button.has-icon svg,.show-icon-labels .edit-post-header .components-button.has-icon svg,.show-icon-labels.interface-pinned-items .components-button.has-icon svg{display:none}.edit-post-header__dropdown .components-button.has-icon:after,.show-icon-labels .edit-post-header .components-button.has-icon:after,.show-icon-labels.interface-pinned-items .components-button.has-icon:after{content:attr(aria-label)}.edit-post-header__dropdown .components-button.has-icon[aria-disabled=true],.show-icon-labels .edit-post-header .components-button.has-icon[aria-disabled=true],.show-icon-labels.interface-pinned-items .components-button.has-icon[aria-disabled=true]{background-color:initial}.edit-post-header__dropdown .is-tertiary:active,.show-icon-labels .edit-post-header .is-tertiary:active,.show-icon-labels.interface-pinned-items .is-tertiary:active{box-shadow:0 0 0 1.5px var(--wp-admin-theme-color);background-color:initial}.edit-post-header__dropdown .components-button.has-icon.button-toggle svg,.edit-post-header__dropdown .edit-post-fullscreen-mode-close.has-icon svg,.show-icon-labels .edit-post-header .components-button.has-icon.button-toggle svg,.show-icon-labels .edit-post-header .edit-post-fullscreen-mode-close.has-icon svg,.show-icon-labels.interface-pinned-items .components-button.has-icon.button-toggle svg,.show-icon-labels.interface-pinned-items .edit-post-fullscreen-mode-close.has-icon svg{display:block}.edit-post-header__dropdown .components-button.has-icon.button-toggle:after,.edit-post-header__dropdown .edit-post-fullscreen-mode-close.has-icon:after,.show-icon-labels .edit-post-header .components-button.has-icon.button-toggle:after,.show-icon-labels .edit-post-header .edit-post-fullscreen-mode-close.has-icon:after,.show-icon-labels.interface-pinned-items .components-button.has-icon.button-toggle:after,.show-icon-labels.interface-pinned-items .edit-post-fullscreen-mode-close.has-icon:after{content:none}.edit-post-header__dropdown .edit-post-fullscreen-mode-close.has-icon,.show-icon-labels .edit-post-header .edit-post-fullscreen-mode-close.has-icon,.show-icon-labels.interface-pinned-items .edit-post-fullscreen-mode-close.has-icon{width:60px}.edit-post-header__dropdown .components-menu-items-choice .components-menu-items__item-icon.components-menu-items__item-icon,.show-icon-labels .edit-post-header .components-menu-items-choice .components-menu-items__item-icon.components-menu-items__item-icon,.show-icon-labels.interface-pinned-items .components-menu-items-choice .components-menu-items__item-icon.components-menu-items__item-icon{display:block}.edit-post-header__dropdown .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.edit-post-header__dropdown .interface-pinned-items .components-button,.show-icon-labels .edit-post-header .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.show-icon-labels .edit-post-header .interface-pinned-items .components-button,.show-icon-labels.interface-pinned-items .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.show-icon-labels.interface-pinned-items .interface-pinned-items .components-button{padding-left:8px;padding-right:8px}@media (min-width:600px){.edit-post-header__dropdown .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.edit-post-header__dropdown .interface-pinned-items .components-button,.show-icon-labels .edit-post-header .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.show-icon-labels .edit-post-header .interface-pinned-items .components-button,.show-icon-labels.interface-pinned-items .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.show-icon-labels.interface-pinned-items .interface-pinned-items .components-button{padding-left:12px;padding-right:12px}}.edit-post-header__dropdown .components-dropdown-menu__toggle,.show-icon-labels .edit-post-header .components-dropdown-menu__toggle,.show-icon-labels.interface-pinned-items .components-dropdown-menu__toggle{margin-left:8px;padding-left:8px;padding-right:8px}@media (min-width:600px){.edit-post-header__dropdown .components-dropdown-menu__toggle,.show-icon-labels .edit-post-header .components-dropdown-menu__toggle,.show-icon-labels.interface-pinned-items .components-dropdown-menu__toggle{margin-left:12px;padding-left:12px;padding-right:12px}}.edit-post-header__dropdown .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle:after,.edit-post-header__dropdown .editor-post-save-draft.editor-post-save-draft:after,.show-icon-labels .edit-post-header .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle:after,.show-icon-labels .edit-post-header .editor-post-save-draft.editor-post-save-draft:after,.show-icon-labels.interface-pinned-items .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle:after,.show-icon-labels.interface-pinned-items .editor-post-save-draft.editor-post-save-draft:after{content:none}@media (min-width:600px){.edit-post-header__dropdown .editor-post-save-draft.editor-post-save-draft:after,.show-icon-labels .edit-post-header .editor-post-save-draft.editor-post-save-draft:after,.show-icon-labels.interface-pinned-items .editor-post-save-draft.editor-post-save-draft:after{content:attr(aria-label)}}.edit-post-header__dropdown .components-button.block-editor-block-navigation,.edit-post-header__dropdown .components-button.editor-history__redo,.edit-post-header__dropdown .components-button.editor-history__undo,.edit-post-header__dropdown .components-menu-item__button.components-menu-item__button,.edit-post-header__dropdown .table-of-contents .components-button{margin:0;padding:6px 6px 6px 40px;width:14.625rem;text-align:left;justify-content:flex-start}.show-icon-labels.interface-pinned-items{padding:6px 12px 12px;margin:0 -12px;border-bottom:1px solid #ccc;display:block}.show-icon-labels.interface-pinned-items>.components-button.has-icon{margin:0;padding:6px 6px 6px 8px;width:14.625rem;justify-content:flex-start}.show-icon-labels.interface-pinned-items>.components-button.has-icon[aria-expanded=true] svg{display:block;max-width:24px}.show-icon-labels.interface-pinned-items>.components-button.has-icon[aria-expanded=false]{padding-left:40px}.show-icon-labels.interface-pinned-items>.components-button.has-icon svg{margin-right:8px}.edit-post-fullscreen-mode-close.has-icon{display:none}@media (min-width:782px){.edit-post-fullscreen-mode-close.has-icon{display:flex;align-items:center;align-self:stretch;border:none;background:#23282e;color:#fff;border-radius:0;height:61px;width:60px;position:relative;margin-bottom:-1px}.edit-post-fullscreen-mode-close.has-icon:active{color:#fff}.edit-post-fullscreen-mode-close.has-icon:focus{box-shadow:none}.edit-post-fullscreen-mode-close.has-icon:before{transition:box-shadow .1s ease;content:"";display:block;position:absolute;top:9px;right:9px;bottom:9px;left:9px;border-radius:4px;box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) #23282e}}@media (min-width:782px) and (prefers-reduced-motion:reduce){.edit-post-fullscreen-mode-close.has-icon:before{transition-duration:0s;transition-delay:0s}}@media (min-width:782px){.edit-post-fullscreen-mode-close.has-icon:hover:before{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) #757575}}@media (min-width:782px){.edit-post-fullscreen-mode-close.has-icon:focus:before{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) hsla(0,0%,100%,.1),inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}}.edit-post-fullscreen-mode-close_site-icon{width:36px;border-radius:2px}.edit-post-header-toolbar{display:inline-flex;flex-grow:1;align-items:center;border:none}.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button{display:none}@media (min-width:600px){.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button{display:inline-flex}}.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle{display:inline-flex}.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle svg{transition:transform .2s cubic-bezier(.165,.84,.44,1)}@media (prefers-reduced-motion:reduce){.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle svg{transition-duration:0s;transition-delay:0s}}.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle.is-pressed svg{transform:rotate(45deg)}.edit-post-header-toolbar .block-editor-block-navigation{display:none}@media (min-width:600px){.edit-post-header-toolbar .block-editor-block-navigation{display:flex}}.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button.has-icon,.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-dropdown>.components-button.has-icon{height:36px;min-width:36px;padding:6px}.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button.has-icon.is-pressed,.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-dropdown>.components-button.has-icon.is-pressed{background:#1e1e1e}.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button.has-icon:focus:not(:disabled),.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-dropdown>.components-button.has-icon:focus:not(:disabled){box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color),inset 0 0 0 1px #fff;outline:1px solid transparent}.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button.has-icon:before,.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-dropdown>.components-button.has-icon:before{display:none}@media (min-width:600px){.edit-post-header.has-reduced-ui .edit-post-header-toolbar__left>*+.components-button,.edit-post-header.has-reduced-ui .edit-post-header-toolbar__left>*+.components-dropdown>[aria-expanded=false]{transition:opacity .1s linear}}@media (min-width:600px) and (prefers-reduced-motion:reduce){.edit-post-header.has-reduced-ui .edit-post-header-toolbar__left>*+.components-button,.edit-post-header.has-reduced-ui .edit-post-header-toolbar__left>*+.components-dropdown>[aria-expanded=false]{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.edit-post-header.has-reduced-ui:not(:hover) .edit-post-header-toolbar__left>*+.components-button,.edit-post-header.has-reduced-ui:not(:hover) .edit-post-header-toolbar__left>*+.components-dropdown>[aria-expanded=false]{opacity:0}}.edit-post-header-toolbar__left{display:inline-flex;align-items:center;padding-left:8px}@media (min-width:600px){.edit-post-header-toolbar__left{padding-left:24px}}@media (min-width:1280px){.edit-post-header-toolbar__left{padding-right:8px}}.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle.has-icon{margin-right:8px;min-width:32px;width:32px;height:32px;padding:0}.show-icon-labels .edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle.has-icon{height:36px}.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle.has-text.has-icon{width:auto;padding:0 8px}.show-icon-labels .edit-post-header-toolbar__left>*+*{margin-left:8px}.edit-post-more-menu{margin-left:-4px}.edit-post-more-menu .components-button{width:auto;padding:0 2px}@media (min-width:600px){.edit-post-more-menu{margin-left:0}.edit-post-more-menu .components-button{padding:0 4px}}.edit-post-more-menu__content .components-popover__content{min-width:280px}@media (min-width:480px){.edit-post-more-menu__content .components-popover__content{width:auto;max-width:480px}}.edit-post-more-menu__content .components-popover__content .components-dropdown-menu__menu{padding:0}.components-popover.edit-post-more-menu__content{z-index:99998}.edit-post-template-top-area{display:flex;flex-direction:column;align-content:space-between;width:100%;align-items:center}.edit-post-template-top-area .edit-post-template-post-title,.edit-post-template-top-area .edit-post-template-title{padding:0;text-decoration:none;height:auto}.edit-post-template-top-area .edit-post-template-post-title:before,.edit-post-template-top-area .edit-post-template-title:before{height:100%}.edit-post-template-top-area .edit-post-template-post-title.has-icon svg,.edit-post-template-top-area .edit-post-template-title.has-icon svg{order:1;margin-right:0}.edit-post-template-top-area .edit-post-template-title{color:#1e1e1e}.edit-post-template-top-area .edit-post-template-post-title{margin-top:4px;max-width:160px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}.edit-post-template-top-area .edit-post-template-post-title:before{left:0;right:0}@media (min-width:1080px){.edit-post-template-top-area .edit-post-template-post-title{max-width:none}}.edit-post-template-top-area__popover .components-popover__content{min-width:360px}.edit-post-keyboard-shortcut-help-modal__section{margin:0 0 2rem}.edit-post-keyboard-shortcut-help-modal__main-shortcuts .edit-post-keyboard-shortcut-help-modal__shortcut-list{margin-top:-25px}.edit-post-keyboard-shortcut-help-modal__section-title{font-size:.9rem;font-weight:600}.edit-post-keyboard-shortcut-help-modal__shortcut{display:flex;align-items:baseline;padding:.6rem 0;border-top:1px solid #ddd;margin-bottom:0}.edit-post-keyboard-shortcut-help-modal__shortcut:last-child{border-bottom:1px solid #ddd}.edit-post-keyboard-shortcut-help-modal__shortcut:empty{display:none}.edit-post-keyboard-shortcut-help-modal__shortcut-term{font-weight:600;margin:0 0 0 1rem;text-align:right}.edit-post-keyboard-shortcut-help-modal__shortcut-description{flex:1;margin:0;flex-basis:auto}.edit-post-keyboard-shortcut-help-modal__shortcut-key-combination{display:block;background:none;margin:0;padding:0}.edit-post-keyboard-shortcut-help-modal__shortcut-key-combination+.edit-post-keyboard-shortcut-help-modal__shortcut-key-combination{margin-top:10px}.edit-post-keyboard-shortcut-help-modal__shortcut-key{padding:.25rem .5rem;border-radius:8%;margin:0 .2rem}.edit-post-keyboard-shortcut-help-modal__shortcut-key:last-child{margin:0 0 0 .2rem}.edit-post-layout__metaboxes{flex-shrink:0}.edit-post-layout__metaboxes:not(:empty){border-top:1px solid #ddd;padding:10px 0;clear:both}.edit-post-layout__metaboxes:not(:empty) .edit-post-meta-boxes-area{margin:auto 20px}.edit-post-layout .components-editor-notices__snackbar{position:fixed;right:0;bottom:40px;padding-left:16px;padding-right:16px;left:0}@media (min-width:783px){.edit-post-layout .components-editor-notices__snackbar{left:160px}}@media (min-width:783px){.auto-fold .edit-post-layout .components-editor-notices__snackbar{left:36px}}@media (min-width:961px){.auto-fold .edit-post-layout .components-editor-notices__snackbar{left:160px}}.folded .edit-post-layout .components-editor-notices__snackbar{left:0}@media (min-width:783px){.folded .edit-post-layout .components-editor-notices__snackbar{left:36px}}body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar{left:0!important}.edit-post-layout .editor-post-publish-panel{position:fixed;z-index:100001;top:46px;bottom:0;right:0;left:0;overflow:auto}@media (min-width:782px){.edit-post-layout .editor-post-publish-panel{z-index:99998;top:32px;left:auto;width:281px;border-left:1px solid #ddd;transform:translateX(100%);animation:edit-post-post-publish-panel__slide-in-animation .1s forwards}}@media (min-width:782px) and (prefers-reduced-motion:reduce){.edit-post-layout .editor-post-publish-panel{animation-duration:1ms;animation-delay:0s}}@media (min-width:782px){body.is-fullscreen-mode .edit-post-layout .editor-post-publish-panel{top:0}}@media (min-width:782px){[role=region]:focus .edit-post-layout .editor-post-publish-panel{transform:translateX(0)}}@keyframes edit-post-post-publish-panel__slide-in-animation{to{transform:translateX(0)}}.edit-post-layout .editor-post-publish-panel__header-publish-button{justify-content:center}.edit-post-layout__toggle-entities-saved-states-panel,.edit-post-layout__toggle-publish-panel,.edit-post-layout__toggle-sidebar-panel{z-index:100000;position:fixed!important;top:-9999em;bottom:auto;left:auto;right:0;width:280px;background-color:#fff;border:1px dotted #ddd;height:auto!important;padding:24px;display:flex;justify-content:center}.interface-interface-skeleton__actions:focus-within .edit-post-layout__toggle-entities-saved-states-panel,.interface-interface-skeleton__actions:focus-within .edit-post-layout__toggle-publish-panel,.interface-interface-skeleton__actions:focus-within .edit-post-layout__toggle-sidebar-panel,.interface-interface-skeleton__actions:focus .edit-post-layout__toggle-entities-saved-states-panel,.interface-interface-skeleton__actions:focus .edit-post-layout__toggle-publish-panel,.interface-interface-skeleton__actions:focus .edit-post-layout__toggle-sidebar-panel{top:auto;bottom:0}.edit-post-layout .interface-interface-skeleton__content{background-color:#2f2f2f}@media (min-width:600px){.edit-post-manage-blocks-modal{height:calc(100% - 120px)}}.edit-post-manage-blocks-modal .components-modal__content{padding-bottom:0;display:flex;flex-direction:column}.edit-post-manage-blocks-modal .components-modal__header{flex-shrink:0;margin-bottom:0}.edit-post-manage-blocks-modal__content{display:flex;flex-direction:column;flex:0 1 100%;min-height:0}.edit-post-manage-blocks-modal__no-results{font-style:italic;padding:24px 0;text-align:center}.edit-post-manage-blocks-modal__search{margin:16px 0}.edit-post-manage-blocks-modal__search .components-base-control__field{margin-bottom:0}.edit-post-manage-blocks-modal__search .components-base-control__label{margin-top:-4px}.edit-post-manage-blocks-modal__search input[type=search].components-text-control__input{padding:8px;border-radius:2px}.edit-post-manage-blocks-modal__disabled-blocks-count{border-top:1px solid #ddd;margin-left:-24px;margin-right:-24px;padding:.6rem 24px;background-color:#f0f0f0}.edit-post-manage-blocks-modal__category{margin:0 0 2rem}.edit-post-manage-blocks-modal__category-title{position:sticky;top:0;padding:16px 0;background-color:#fff;z-index:1}.edit-post-manage-blocks-modal__category-title .components-base-control__field{margin-bottom:0}.edit-post-manage-blocks-modal__category-title .components-checkbox-control__label{font-size:.9rem;font-weight:600}.edit-post-manage-blocks-modal__show-all{margin-right:8px}.edit-post-manage-blocks-modal__checklist{margin-top:0}.edit-post-manage-blocks-modal__checklist-item{margin-bottom:0;padding-left:16px;border-top:1px solid #ddd}.edit-post-manage-blocks-modal__checklist-item:last-child{border-bottom:1px solid #ddd}.edit-post-manage-blocks-modal__checklist-item .components-base-control__field{align-items:center;display:flex;margin:0}.components-modal__content .edit-post-manage-blocks-modal__checklist-item.components-checkbox-control__input-container{margin:0 8px}.edit-post-manage-blocks-modal__checklist-item .components-checkbox-control__label{display:flex;align-items:center;justify-content:space-between;flex-grow:1;padding:.6rem 0 .6rem 10px}.edit-post-manage-blocks-modal__checklist-item .block-editor-block-icon{margin-right:10px;fill:#1e1e1e}.edit-post-manage-blocks-modal__results{height:100%;overflow:auto;margin-left:-32px;margin-right:-32px;padding-left:32px;padding-right:32px;border-top:1px solid #ddd}.edit-post-meta-boxes-area{position:relative}.edit-post-meta-boxes-area .inside,.edit-post-meta-boxes-area__container{box-sizing:initial}.edit-post-meta-boxes-area input,.edit-post-meta-boxes-area textarea{box-sizing:border-box}.edit-post-meta-boxes-area #poststuff{margin:0 auto;padding-top:0;min-width:auto}.edit-post-meta-boxes-area #poststuff .stuffbox>h3,.edit-post-meta-boxes-area #poststuff h2.hndle,.edit-post-meta-boxes-area #poststuff h3.hndle{box-sizing:border-box;color:inherit;font-weight:600;outline:none;padding:15px;position:relative;width:100%}.edit-post-meta-boxes-area .postbox{border:0;color:inherit;margin-bottom:0}.edit-post-meta-boxes-area .postbox>.inside{border-bottom:1px solid #ddd;color:inherit;padding:0 14px 14px;margin:0}.edit-post-meta-boxes-area .postbox .handlediv{height:44px;width:44px}.edit-post-meta-boxes-area.is-loading:before{position:absolute;top:0;left:0;right:0;bottom:0;content:"";background:transparent;z-index:1}.edit-post-meta-boxes-area .components-spinner{position:absolute;top:10px;right:20px;z-index:5}.edit-post-meta-boxes-area .is-hidden{display:none}.edit-post-meta-boxes-area .metabox-location-side .postbox input[type=checkbox]{border:1px solid #757575}.edit-post-meta-boxes-area .metabox-location-side .postbox input[type=checkbox]:checked{background:#fff;border-color:#757575}.edit-post-meta-boxes-area .metabox-location-side .postbox input[type=checkbox]:before{margin:-3px -4px}.edit-post-meta-boxes-area__clear{clear:both}.edit-post-preferences-modal{min-width:360px;width:100%}@media (min-width:782px){.edit-post-preferences-modal{width:auto}}@media (min-width:600px){.edit-post-preferences-modal{height:calc(100% - 120px)}}.edit-post-preferences-modal .components-navigation{background-color:#fff;margin:-8px;padding:8px}.edit-post-preferences-modal .components-navigation .components-navigation__menu{margin:0;color:#1e1e1e}.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__item{color:#1e1e1e}.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__item>button{color:inherit;padding:3px 16px;height:48px}.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__item>button:focus{background:#f0f0f0;font-weight:500}.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__item>button:hover{color:var(--wp-admin-theme-color)}.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__item .components-toggle-control__label{color:inherit}.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__menu-title-heading{color:inherit;border-bottom:1px solid #ddd;padding-left:0;padding-right:0}.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__back-button{color:inherit;padding-left:0}.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__back-button:hover{color:var(--wp-admin-theme-color)}.edit-post-preferences-modal .components-navigation .components-navigation__menu .edit-post-preferences-modal__custom-fields-confirmation-button{width:auto}.edit-post-preferences-modal .edit-post-preferences__tabs{display:flex;flex-direction:row}.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tabs{width:160px}.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item{border-radius:2px;font-weight:400}.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item.is-active{background:#f0f0f0;box-shadow:none;font-weight:500}.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item:focus:not(:disabled){box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tab-content{width:500px;padding-left:24px}.edit-post-preferences-modal__section{margin:0 0 2.5rem}.edit-post-preferences-modal__section-title{font-size:.9rem;font-weight:600}.edit-post-preferences-modal__option .components-base-control .components-base-control__field{align-items:center;display:flex;margin-bottom:0}.edit-post-preferences-modal__option .components-base-control .components-base-control__field>label{flex-grow:1;padding:.6rem 0 .6rem 10px}.edit-post-preferences-modal__custom-fields-confirmation-button,.edit-post-preferences-modal__custom-fields-confirmation-message{margin:0 0 .6rem 48px}@media (min-width:782px){.edit-post-preferences-modal__custom-fields-confirmation-button,.edit-post-preferences-modal__custom-fields-confirmation-message{margin-left:38px}}@media (min-width:600px){.edit-post-preferences-modal__custom-fields-confirmation-button,.edit-post-preferences-modal__custom-fields-confirmation-message{max-width:300px}}.edit-post-preferences-modal .components-base-control__help{margin:-8px 0 8px 58px;font-size:12px;font-style:normal;color:#757575}.edit-post-preferences-modal .edit-post-preferences-modal__section-description{margin:-8px 0 8px;font-size:12px;font-style:normal;color:#757575}.edit-post-editor__inserter-panel,.edit-post-editor__list-view-panel{height:100%;display:flex;flex-direction:column}.edit-post-editor__list-view-panel{min-width:350px}.edit-post-editor__inserter-panel-header{padding-top:8px;padding-right:8px;display:flex;justify-content:flex-end}@media (min-width:782px){.edit-post-editor__inserter-panel-header{display:none}}.edit-post-editor__inserter-panel-content,.edit-post-editor__list-view-panel-content{height:calc(100% - 44px)}@media (min-width:782px){.edit-post-editor__inserter-panel-content{height:100%}}.edit-post-editor__list-view-panel-header{align-items:center;border-bottom:1px solid #ddd;display:flex;justify-content:space-between;height:48px;padding-left:16px;padding-right:4px}.edit-post-editor__list-view-panel-content{overflow-y:auto;padding:8px}.components-panel__header.edit-post-sidebar__panel-tabs{justify-content:flex-start;padding-left:0;padding-right:16px;border-top:0;margin-top:0}.components-panel__header.edit-post-sidebar__panel-tabs ul{display:flex}.components-panel__header.edit-post-sidebar__panel-tabs li{margin:0}.components-panel__header.edit-post-sidebar__panel-tabs .components-button.has-icon{display:none;margin:0 0 0 auto;padding:0;min-width:24px;height:24px}@media (min-width:782px){.components-panel__header.edit-post-sidebar__panel-tabs .components-button.has-icon{display:flex}}.components-panel__body.is-opened.edit-post-last-revision__panel{padding:0;height:48px}.editor-post-last-revision__title.components-button{padding:16px}.editor-post-author__select{margin:-5px 0;width:100%}@supports (position:sticky){.editor-post-author__select{width:auto}}.edit-post-post-link__link-post-name{font-weight:600}.edit-post-post-link__preview-label{font-weight:400;margin:0}.edit-post-post-link__link{text-align:left;word-wrap:break-word;display:block}.edit-post-post-link__preview-link-container{direction:ltr}.edit-post-post-schedule{width:100%;position:relative;justify-content:left}.edit-post-post-schedule span{display:block;width:45%}.components-button.edit-post-post-schedule__toggle{text-align:right}.edit-post-post-schedule__dialog .components-popover__content>div{padding:0}.editor-post-slug__input{margin:-5px 0;padding:2px}.edit-post-post-status .edit-post-post-publish-dropdown__switch-to-draft{margin-top:15px;width:100%;text-align:center}.edit-post-post-visibility{width:100%;justify-content:left}.edit-post-post-visibility span{display:block;width:45%}@media (min-width:782px){.edit-post-post-visibility__dialog .components-popover__content{width:257px}}.edit-post-post-visibility__dialog-legend{font-weight:600}.edit-post-post-visibility__choice{margin:10px 0}.edit-post-post-visibility__dialog-label,.edit-post-post-visibility__dialog-radio{vertical-align:top}.edit-post-post-visibility__dialog-password-input{width:calc(100% - 20px);margin-left:20px}.edit-post-post-visibility__dialog-info{color:#757575;padding-left:20px;font-style:italic;margin:4px 0 0;line-height:1.4}.components-button.edit-post-sidebar__panel-tab{border-radius:0;height:48px;background:transparent;border:none;box-shadow:none;cursor:pointer;display:inline-block;padding:3px 15px;margin-left:0;font-weight:500}.components-button.edit-post-sidebar__panel-tab:after{content:attr(data-label);display:block;font-weight:600;height:0;overflow:hidden;speak:none;visibility:hidden}.components-button.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) transparent,inset 0 -4px 0 0 var(--wp-admin-theme-color);position:relative;z-index:1}.components-button.edit-post-sidebar__panel-tab.is-active:before{content:"";position:absolute;top:0;bottom:1px;right:0;left:0;border-bottom:4px solid transparent}.components-button.edit-post-sidebar__panel-tab:focus{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);position:relative;z-index:1}.components-button.edit-post-sidebar__panel-tab.is-active:focus{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color),inset 0 -4px 0 0 var(--wp-admin-theme-color)}.edit-post-template__modal-actions{padding-top:12px}.edit-post-template__actions button:not(:last-child){margin-right:8px}h2.edit-post-template-summary__title{margin:0;line-height:24px}.edit-post-text-editor{position:relative;width:100%;background-color:#fff;flex-grow:1}.edit-post-text-editor .editor-post-title.editor-post-title__block{max-width:none;line-height:1.4}.edit-post-text-editor .editor-post-title.editor-post-title__block .editor-post-title__input.editor-post-title__input.editor-post-title__input{font-family:Menlo,Consolas,monaco,monospace;font-size:2.5em;font-weight:400}.edit-post-text-editor .editor-post-title.editor-post-title__block .editor-post-title__input{border:1px solid #949494;margin-bottom:-1px;padding:16px}@media (min-width:600px){.edit-post-text-editor .editor-post-title.editor-post-title__block .editor-post-title__input{padding:24px}}.edit-post-text-editor .editor-post-title.editor-post-title__block .editor-post-title__input:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}@media (min-width:600px){.edit-post-text-editor .editor-post-title.editor-post-title__block{padding:0}}.edit-post-text-editor__body{width:100%;padding:0 12px 12px;max-width:1080px;margin-left:auto;margin-right:auto}@media (min-width:960px){.edit-post-text-editor__body{padding:0 24px 24px}}.edit-post-text-editor__toolbar{position:sticky;z-index:1;top:0;left:0;right:0;display:flex;background:hsla(0,0%,100%,.8);padding:4px 12px}@media (min-width:600px){.edit-post-text-editor__toolbar{padding:12px}}@media (min-width:960px){.edit-post-text-editor__toolbar{padding:12px 24px}}.edit-post-text-editor__toolbar h2{line-height:36px;margin:0 auto 0 0;font-size:13px;color:#1e1e1e}.edit-post-text-editor__toolbar .components-button svg{order:1}.edit-post-visual-editor{position:relative;display:flex;flex-flow:column;flex:1 1 auto}.edit-post-visual-editor .components-button{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;padding:6px 12px}.edit-post-visual-editor .components-button.has-icon,.edit-post-visual-editor .components-button.is-tertiary{padding:6px}@supports (position:sticky){.edit-post-visual-editor{flex-basis:100%}}.edit-post-visual-editor__post-title-wrapper .editor-post-title{margin:2em auto 0}.edit-post-visual-editor__exit-template-mode{position:absolute;top:8px;left:8px;color:#fff}.edit-post-visual-editor__exit-template-mode:active:not([aria-disabled=true]),.edit-post-visual-editor__exit-template-mode:focus:not([aria-disabled=true]),.edit-post-visual-editor__exit-template-mode:hover{color:#f0f0f0}.edit-post-visual-editor__content-area{width:100%;height:100%;position:relative}.edit-post-welcome-guide{width:312px}.edit-post-welcome-guide__image{background:#00a0d2;margin:0 0 16px}.edit-post-welcome-guide__heading{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:24px;line-height:1.4;margin:16px 0;padding:0 32px}.edit-post-welcome-guide__text{font-size:13px;line-height:1.4;margin:0 0 24px;padding:0 32px}.edit-post-welcome-guide__inserter-icon{margin:0 4px;vertical-align:text-top}@keyframes edit-post__fade-in-animation{0%{opacity:0}to{opacity:1}}body.block-editor-page,html.wp-toolbar{background:#fff}body.block-editor-page #wpcontent{padding-left:0}body.block-editor-page #wpbody-content{padding-bottom:0}body.block-editor-page #wpbody-content>div:not(.block-editor):not(#screen-meta),body.block-editor-page #wpfooter{display:none}body.block-editor-page .a11y-speak-region{left:-1px;top:-1px}body.block-editor-page ul#adminmenu>li.current>a.current:after,body.block-editor-page ul#adminmenu a.wp-has-current-submenu:after{border-right-color:#fff}body.block-editor-page .media-frame select.attachment-filters:last-of-type{width:auto;max-width:100%}.block-editor-page #wpwrap{overflow-y:auto}@media (min-width:782px){.block-editor-page #wpwrap{overflow-y:initial}}.components-modal__frame,.components-popover,.edit-post-editor__inserter-panel,.edit-post-header,.edit-post-sidebar,.edit-post-text-editor,.edit-post-visual-editor,.editor-post-publish-panel{box-sizing:border-box}.components-modal__frame *,.components-modal__frame :after,.components-modal__frame :before,.components-popover *,.components-popover :after,.components-popover :before,.edit-post-editor__inserter-panel *,.edit-post-editor__inserter-panel :after,.edit-post-editor__inserter-panel :before,.edit-post-header *,.edit-post-header :after,.edit-post-header :before,.edit-post-sidebar *,.edit-post-sidebar :after,.edit-post-sidebar :before,.edit-post-text-editor *,.edit-post-text-editor :after,.edit-post-text-editor :before,.edit-post-visual-editor *,.edit-post-visual-editor :after,.edit-post-visual-editor :before,.editor-post-publish-panel *,.editor-post-publish-panel :after,.editor-post-publish-panel :before{box-sizing:inherit}@media (min-width:600px){.block-editor__container{position:absolute;top:0;right:0;bottom:0;left:0;min-height:calc(100vh - 46px)}}@media (min-width:782px){.block-editor__container{min-height:calc(100vh - 32px)}body.is-fullscreen-mode .block-editor__container{min-height:100vh}}.block-editor__container img{max-width:100%;height:auto}.block-editor__container iframe{width:100%}body.admin-color-light{--wp-admin-theme-color:#0085ba;--wp-admin-theme-color-darker-10:#0073a1;--wp-admin-theme-color-darker-20:#006187;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-light{--wp-admin-border-width-focus:1.5px}}body.admin-color-modern{--wp-admin-theme-color:#3858e9;--wp-admin-theme-color-darker-10:#2145e6;--wp-admin-theme-color-darker-20:#183ad6;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-modern{--wp-admin-border-width-focus:1.5px}}body.admin-color-blue{--wp-admin-theme-color:#096484;--wp-admin-theme-color-darker-10:#07526c;--wp-admin-theme-color-darker-20:#064054;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-blue{--wp-admin-border-width-focus:1.5px}}body.admin-color-coffee{--wp-admin-theme-color:#46403c;--wp-admin-theme-color-darker-10:#383330;--wp-admin-theme-color-darker-20:#2b2724;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-coffee{--wp-admin-border-width-focus:1.5px}}body.admin-color-ectoplasm{--wp-admin-theme-color:#523f6d;--wp-admin-theme-color-darker-10:#46365d;--wp-admin-theme-color-darker-20:#3a2c4d;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-ectoplasm{--wp-admin-border-width-focus:1.5px}}body.admin-color-midnight{--wp-admin-theme-color:#e14d43;--wp-admin-theme-color-darker-10:#dd382d;--wp-admin-theme-color-darker-20:#d02c21;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-midnight{--wp-admin-border-width-focus:1.5px}}body.admin-color-ocean{--wp-admin-theme-color:#627c83;--wp-admin-theme-color-darker-10:#576e74;--wp-admin-theme-color-darker-20:#4c6066;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-ocean{--wp-admin-border-width-focus:1.5px}}body.admin-color-sunrise{--wp-admin-theme-color:#dd823b;--wp-admin-theme-color-darker-10:#d97426;--wp-admin-theme-color-darker-20:#c36922;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-sunrise{--wp-admin-border-width-focus:1.5px}} \ No newline at end of file +:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}.components-panel__header.interface-complementary-area-header__small{background:#fff;padding-right:4px}.components-panel__header.interface-complementary-area-header__small .interface-complementary-area-header__small-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}@media (min-width:782px){.components-panel__header.interface-complementary-area-header__small{display:none}}.interface-complementary-area-header{background:#fff;padding-right:4px}.interface-complementary-area-header .components-button.has-icon{display:none;margin-left:auto}.interface-complementary-area-header .components-button.has-icon~.components-button{margin-left:0}@media (min-width:782px){.interface-complementary-area-header .components-button.has-icon{display:flex}}.interface-complementary-area{background:#fff;color:#1e1e1e}@media (min-width:600px){.interface-complementary-area{-webkit-overflow-scrolling:touch}}@media (min-width:782px){.interface-complementary-area{width:280px}}.interface-complementary-area .components-panel{border:none;position:relative;z-index:0}.interface-complementary-area .components-panel__header{position:sticky;top:0;z-index:1}.interface-complementary-area .components-panel__header.edit-post-sidebar__panel-tabs{top:48px}@media (min-width:782px){.interface-complementary-area .components-panel__header.edit-post-sidebar__panel-tabs{top:0}}.interface-complementary-area p{margin-top:0}.interface-complementary-area h2,.interface-complementary-area h3{font-size:13px;color:#1e1e1e;margin-bottom:1.5em}.interface-complementary-area hr{border-top:none;border-bottom:1px solid #f0f0f0;margin:1.5em 0}.interface-complementary-area div.components-toolbar,.interface-complementary-area div.components-toolbar-group{box-shadow:none;margin-bottom:1.5em}.interface-complementary-area div.components-toolbar-group:last-child,.interface-complementary-area div.components-toolbar:last-child{margin-bottom:0}.interface-complementary-area .block-editor-skip-to-selected-block:focus{top:auto;right:10px;bottom:10px;left:auto}@media (min-width:782px){body.js.is-fullscreen-mode{margin-top:-32px;height:calc(100% + 32px)}body.js.is-fullscreen-mode #adminmenumain,body.js.is-fullscreen-mode #wpadminbar{display:none}body.js.is-fullscreen-mode #wpcontent,body.js.is-fullscreen-mode #wpfooter{margin-left:0}}html.interface-interface-skeleton__html-container{position:fixed;width:100%}@media (min-width:782px){html.interface-interface-skeleton__html-container{position:static;width:auto}}.interface-interface-skeleton{display:flex;flex-direction:row;height:auto;max-height:100%;position:fixed;top:46px;right:0;bottom:0}@media (min-width:783px){.interface-interface-skeleton{top:32px}.is-fullscreen-mode .interface-interface-skeleton{top:0}}.interface-interface-skeleton__editor{display:flex;flex-direction:column;flex:0 1 100%;overflow:hidden}.interface-interface-skeleton{left:0}@media (min-width:783px){.interface-interface-skeleton{left:160px}}@media (min-width:783px){.auto-fold .interface-interface-skeleton{left:36px}}@media (min-width:961px){.auto-fold .interface-interface-skeleton{left:160px}}.folded .interface-interface-skeleton{left:0}@media (min-width:783px){.folded .interface-interface-skeleton{left:36px}}body.is-fullscreen-mode .interface-interface-skeleton{left:0!important}.interface-interface-skeleton__body{flex-grow:1;display:flex;overflow:auto;overscroll-behavior-y:none}@media (min-width:782px){.has-footer .interface-interface-skeleton__body{padding-bottom:25px}}.interface-interface-skeleton__content{flex-grow:1;display:flex;flex-direction:column;overflow:auto}.interface-interface-skeleton__secondary-sidebar,.interface-interface-skeleton__sidebar{display:block;flex-shrink:0;position:absolute;z-index:100000;top:0;right:0;bottom:0;left:0;background:#fff;color:#1e1e1e}@media (min-width:782px){.interface-interface-skeleton__secondary-sidebar,.interface-interface-skeleton__sidebar{position:relative!important;z-index:90;width:auto}}.interface-interface-skeleton__sidebar{overflow:auto}@media (min-width:782px){.interface-interface-skeleton__sidebar{border-left:1px solid #e0e0e0}}@media (min-width:782px){.interface-interface-skeleton__secondary-sidebar{border-right:1px solid #e0e0e0}}.interface-interface-skeleton__header{flex-shrink:0;height:auto;border-bottom:1px solid #e0e0e0;z-index:30;color:#1e1e1e}.interface-interface-skeleton__footer{height:auto;flex-shrink:0;border-top:1px solid #e0e0e0;color:#1e1e1e;position:absolute;bottom:0;left:0;width:100%;background-color:#fff;z-index:90;display:none}@media (min-width:782px){.interface-interface-skeleton__footer{display:flex}}.interface-interface-skeleton__footer .block-editor-block-breadcrumb{z-index:30;display:flex;background:#fff;height:24px;align-items:center;font-size:13px;padding:0 18px}.interface-interface-skeleton__actions{z-index:100000;position:fixed!important;top:-9999em;bottom:auto;left:auto;right:0;width:280px;color:#1e1e1e}.interface-interface-skeleton__actions:focus{top:auto;bottom:0}.interface-pinned-items{display:flex}.interface-pinned-items .components-button:not(:first-child){display:none}@media (min-width:600px){.interface-pinned-items .components-button:not(:first-child){display:flex}}.interface-pinned-items .components-button{margin-left:4px}.interface-pinned-items .components-button svg{max-width:24px;max-height:24px}.edit-post-header{height:60px;background:#fff;display:flex;flex-wrap:wrap;align-items:center;max-width:100vw}@media (min-width:280px){.edit-post-header{flex-wrap:nowrap}}.edit-post-header>.edit-post-header__settings{order:1}@supports (position:sticky){.edit-post-header>.edit-post-header__settings{order:0}}.edit-post-header__toolbar{display:flex;flex-grow:1}.edit-post-header__toolbar .table-of-contents{display:none}@media (min-width:600px){.edit-post-header__toolbar .table-of-contents{display:block}}.edit-post-header__settings{display:inline-flex;align-items:center;flex-wrap:wrap;padding-right:4px}@media (min-width:600px){.edit-post-header__settings{padding-right:16px}}.edit-post-header__settings .components-button.components-button,.edit-post-header__settings .editor-post-saved-state{margin-right:4px}@media (min-width:600px){.edit-post-header__settings .components-button.components-button,.edit-post-header__settings .editor-post-saved-state{margin-right:12px}}.edit-post-header__settings .components-button.is-tertiary,.edit-post-header__settings .editor-post-saved-state{padding:0 6px}.edit-post-header__settings .edit-post-more-menu .components-button,.edit-post-header__settings .interface-pinned-items .components-button{margin-right:0}.edit-post-header-preview__grouping-external{display:flex;position:relative;padding-bottom:0}.edit-post-header-preview__button-external{padding-left:8px;margin-right:auto;width:100%;display:flex;justify-content:flex-start}.edit-post-header-preview__button-external svg{margin-left:auto}.edit-post-post-preview-dropdown .components-popover__content>div{padding-bottom:0}.edit-post-header__dropdown .components-button.has-icon,.show-icon-labels .edit-post-header .components-button.has-icon,.show-icon-labels.interface-pinned-items .components-button.has-icon{width:auto}.edit-post-header__dropdown .components-button.has-icon svg,.show-icon-labels .edit-post-header .components-button.has-icon svg,.show-icon-labels.interface-pinned-items .components-button.has-icon svg{display:none}.edit-post-header__dropdown .components-button.has-icon:after,.show-icon-labels .edit-post-header .components-button.has-icon:after,.show-icon-labels.interface-pinned-items .components-button.has-icon:after{content:attr(aria-label)}.edit-post-header__dropdown .components-button.has-icon[aria-disabled=true],.show-icon-labels .edit-post-header .components-button.has-icon[aria-disabled=true],.show-icon-labels.interface-pinned-items .components-button.has-icon[aria-disabled=true]{background-color:initial}.edit-post-header__dropdown .is-tertiary:active,.show-icon-labels .edit-post-header .is-tertiary:active,.show-icon-labels.interface-pinned-items .is-tertiary:active{box-shadow:0 0 0 1.5px var(--wp-admin-theme-color);background-color:initial}.edit-post-header__dropdown .components-button.has-icon.button-toggle svg,.edit-post-header__dropdown .edit-post-fullscreen-mode-close.has-icon svg,.show-icon-labels .edit-post-header .components-button.has-icon.button-toggle svg,.show-icon-labels .edit-post-header .edit-post-fullscreen-mode-close.has-icon svg,.show-icon-labels.interface-pinned-items .components-button.has-icon.button-toggle svg,.show-icon-labels.interface-pinned-items .edit-post-fullscreen-mode-close.has-icon svg{display:block}.edit-post-header__dropdown .components-button.has-icon.button-toggle:after,.edit-post-header__dropdown .edit-post-fullscreen-mode-close.has-icon:after,.show-icon-labels .edit-post-header .components-button.has-icon.button-toggle:after,.show-icon-labels .edit-post-header .edit-post-fullscreen-mode-close.has-icon:after,.show-icon-labels.interface-pinned-items .components-button.has-icon.button-toggle:after,.show-icon-labels.interface-pinned-items .edit-post-fullscreen-mode-close.has-icon:after{content:none}.edit-post-header__dropdown .edit-post-fullscreen-mode-close.has-icon,.show-icon-labels .edit-post-header .edit-post-fullscreen-mode-close.has-icon,.show-icon-labels.interface-pinned-items .edit-post-fullscreen-mode-close.has-icon{width:60px}.edit-post-header__dropdown .components-menu-items-choice .components-menu-items__item-icon.components-menu-items__item-icon,.show-icon-labels .edit-post-header .components-menu-items-choice .components-menu-items__item-icon.components-menu-items__item-icon,.show-icon-labels.interface-pinned-items .components-menu-items-choice .components-menu-items__item-icon.components-menu-items__item-icon{display:block}.edit-post-header__dropdown .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.edit-post-header__dropdown .interface-pinned-items .components-button,.show-icon-labels .edit-post-header .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.show-icon-labels .edit-post-header .interface-pinned-items .components-button,.show-icon-labels.interface-pinned-items .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.show-icon-labels.interface-pinned-items .interface-pinned-items .components-button{padding-left:8px;padding-right:8px}@media (min-width:600px){.edit-post-header__dropdown .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.edit-post-header__dropdown .interface-pinned-items .components-button,.show-icon-labels .edit-post-header .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.show-icon-labels .edit-post-header .interface-pinned-items .components-button,.show-icon-labels.interface-pinned-items .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle,.show-icon-labels.interface-pinned-items .interface-pinned-items .components-button{padding-left:12px;padding-right:12px}}.edit-post-header__dropdown .components-dropdown-menu__toggle,.show-icon-labels .edit-post-header .components-dropdown-menu__toggle,.show-icon-labels.interface-pinned-items .components-dropdown-menu__toggle{margin-left:8px;padding-left:8px;padding-right:8px}@media (min-width:600px){.edit-post-header__dropdown .components-dropdown-menu__toggle,.show-icon-labels .edit-post-header .components-dropdown-menu__toggle,.show-icon-labels.interface-pinned-items .components-dropdown-menu__toggle{margin-left:12px;padding-left:12px;padding-right:12px}}.edit-post-header__dropdown .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle:after,.edit-post-header__dropdown .editor-post-save-draft.editor-post-save-draft:after,.show-icon-labels .edit-post-header .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle:after,.show-icon-labels .edit-post-header .editor-post-save-draft.editor-post-save-draft:after,.show-icon-labels.interface-pinned-items .edit-post-header-toolbar__inserter-toggle.edit-post-header-toolbar__inserter-toggle:after,.show-icon-labels.interface-pinned-items .editor-post-save-draft.editor-post-save-draft:after{content:none}@media (min-width:600px){.edit-post-header__dropdown .editor-post-save-draft.editor-post-save-draft:after,.show-icon-labels .edit-post-header .editor-post-save-draft.editor-post-save-draft:after,.show-icon-labels.interface-pinned-items .editor-post-save-draft.editor-post-save-draft:after{content:attr(aria-label)}}.edit-post-header__dropdown .components-button.block-editor-block-navigation,.edit-post-header__dropdown .components-button.editor-history__redo,.edit-post-header__dropdown .components-button.editor-history__undo,.edit-post-header__dropdown .components-menu-item__button.components-menu-item__button,.edit-post-header__dropdown .table-of-contents .components-button{margin:0;padding:6px 6px 6px 40px;width:14.625rem;text-align:left;justify-content:flex-start}.show-icon-labels.interface-pinned-items{padding:6px 12px 12px;margin:0 -12px;border-bottom:1px solid #ccc;display:block}.show-icon-labels.interface-pinned-items>.components-button.has-icon{margin:0;padding:6px 6px 6px 8px;width:14.625rem;justify-content:flex-start}.show-icon-labels.interface-pinned-items>.components-button.has-icon[aria-expanded=true] svg{display:block;max-width:24px}.show-icon-labels.interface-pinned-items>.components-button.has-icon[aria-expanded=false]{padding-left:40px}.show-icon-labels.interface-pinned-items>.components-button.has-icon svg{margin-right:8px}.edit-post-fullscreen-mode-close.has-icon{display:none}@media (min-width:782px){.edit-post-fullscreen-mode-close.has-icon{display:flex;align-items:center;align-self:stretch;border:none;background:#23282e;color:#fff;border-radius:0;height:61px;width:60px;position:relative;margin-bottom:-1px}.edit-post-fullscreen-mode-close.has-icon:active{color:#fff}.edit-post-fullscreen-mode-close.has-icon:focus{box-shadow:none}.edit-post-fullscreen-mode-close.has-icon:before{transition:box-shadow .1s ease;content:"";display:block;position:absolute;top:9px;right:9px;bottom:9px;left:9px;border-radius:4px;box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) #23282e}}@media (min-width:782px) and (prefers-reduced-motion:reduce){.edit-post-fullscreen-mode-close.has-icon:before{transition-duration:0s;transition-delay:0s}}@media (min-width:782px){.edit-post-fullscreen-mode-close.has-icon:hover:before{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) #757575}}@media (min-width:782px){.edit-post-fullscreen-mode-close.has-icon:focus:before{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) hsla(0,0%,100%,.1),inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}}.edit-post-fullscreen-mode-close_site-icon{width:36px;border-radius:2px}.edit-post-header-toolbar{display:inline-flex;flex-grow:1;align-items:center;border:none}.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button{display:none}@media (min-width:600px){.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button{display:inline-flex}}.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle{display:inline-flex}.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle svg{transition:transform .2s cubic-bezier(.165,.84,.44,1)}@media (prefers-reduced-motion:reduce){.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle svg{transition-duration:0s;transition-delay:0s}}.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle.is-pressed svg{transform:rotate(45deg)}.edit-post-header-toolbar .block-editor-block-navigation{display:none}@media (min-width:600px){.edit-post-header-toolbar .block-editor-block-navigation{display:flex}}.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button.has-icon,.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-dropdown>.components-button.has-icon{height:36px;min-width:36px;padding:6px}.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button.has-icon.is-pressed,.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-dropdown>.components-button.has-icon.is-pressed{background:#1e1e1e}.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button.has-icon:focus:not(:disabled),.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-dropdown>.components-button.has-icon:focus:not(:disabled){box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color),inset 0 0 0 1px #fff;outline:1px solid transparent}.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-button.has-icon:before,.edit-post-header-toolbar .edit-post-header-toolbar__left>.components-dropdown>.components-button.has-icon:before{display:none}@media (min-width:600px){.edit-post-header.has-reduced-ui .edit-post-header-toolbar__left>*+.components-button,.edit-post-header.has-reduced-ui .edit-post-header-toolbar__left>*+.components-dropdown>[aria-expanded=false]{transition:opacity .1s linear}}@media (min-width:600px) and (prefers-reduced-motion:reduce){.edit-post-header.has-reduced-ui .edit-post-header-toolbar__left>*+.components-button,.edit-post-header.has-reduced-ui .edit-post-header-toolbar__left>*+.components-dropdown>[aria-expanded=false]{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.edit-post-header.has-reduced-ui:not(:hover) .edit-post-header-toolbar__left>*+.components-button,.edit-post-header.has-reduced-ui:not(:hover) .edit-post-header-toolbar__left>*+.components-dropdown>[aria-expanded=false]{opacity:0}}.edit-post-header-toolbar__left{display:inline-flex;align-items:center;padding-left:8px}@media (min-width:600px){.edit-post-header-toolbar__left{padding-left:24px}}@media (min-width:1280px){.edit-post-header-toolbar__left{padding-right:8px}}.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle.has-icon{margin-right:8px;min-width:32px;width:32px;height:32px;padding:0}.show-icon-labels .edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle.has-icon{height:36px}.edit-post-header-toolbar .edit-post-header-toolbar__left>.edit-post-header-toolbar__inserter-toggle.has-text.has-icon{width:auto;padding:0 8px}.show-icon-labels .edit-post-header-toolbar__left>*+*{margin-left:8px}.edit-post-more-menu{margin-left:-4px}.edit-post-more-menu .components-button{width:auto;padding:0 2px}@media (min-width:600px){.edit-post-more-menu{margin-left:0}.edit-post-more-menu .components-button{padding:0 4px}}.edit-post-more-menu__content .components-popover__content{min-width:280px}@media (min-width:480px){.edit-post-more-menu__content .components-popover__content{width:auto;max-width:480px}}.edit-post-more-menu__content .components-popover__content .components-dropdown-menu__menu{padding:0}.components-popover.edit-post-more-menu__content{z-index:99998}.edit-post-template-top-area{display:flex;flex-direction:column;align-content:space-between;width:100%;align-items:center}.edit-post-template-top-area .edit-post-template-post-title,.edit-post-template-top-area .edit-post-template-title{padding:0;text-decoration:none;height:auto}.edit-post-template-top-area .edit-post-template-post-title:before,.edit-post-template-top-area .edit-post-template-title:before{height:100%}.edit-post-template-top-area .edit-post-template-post-title.has-icon svg,.edit-post-template-top-area .edit-post-template-title.has-icon svg{order:1;margin-right:0}.edit-post-template-top-area .edit-post-template-title{color:#1e1e1e}.edit-post-template-top-area .edit-post-template-post-title{margin-top:4px;max-width:160px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}.edit-post-template-top-area .edit-post-template-post-title:before{left:0;right:0}@media (min-width:1080px){.edit-post-template-top-area .edit-post-template-post-title{max-width:none}}.edit-post-template-top-area__popover .components-popover__content{min-width:280px}.edit-post-template-top-area__second-menu-group{margin-left:-12px;margin-right:-12px;padding:12px 12px 0;border-top:1px solid #ddd}.edit-post-template-top-area__second-menu-group .edit-post-template-top-area__delete-template-button{display:flex;justify-content:center}.edit-post-template-top-area__second-menu-group .edit-post-template-top-area__delete-template-button .components-menu-item__item{margin-right:0}.edit-post-keyboard-shortcut-help-modal__section{margin:0 0 2rem}.edit-post-keyboard-shortcut-help-modal__main-shortcuts .edit-post-keyboard-shortcut-help-modal__shortcut-list{margin-top:-25px}.edit-post-keyboard-shortcut-help-modal__section-title{font-size:.9rem;font-weight:600}.edit-post-keyboard-shortcut-help-modal__shortcut{display:flex;align-items:baseline;padding:.6rem 0;border-top:1px solid #ddd;margin-bottom:0}.edit-post-keyboard-shortcut-help-modal__shortcut:last-child{border-bottom:1px solid #ddd}.edit-post-keyboard-shortcut-help-modal__shortcut:empty{display:none}.edit-post-keyboard-shortcut-help-modal__shortcut-term{font-weight:600;margin:0 0 0 1rem;text-align:right}.edit-post-keyboard-shortcut-help-modal__shortcut-description{flex:1;margin:0;flex-basis:auto}.edit-post-keyboard-shortcut-help-modal__shortcut-key-combination{display:block;background:none;margin:0;padding:0}.edit-post-keyboard-shortcut-help-modal__shortcut-key-combination+.edit-post-keyboard-shortcut-help-modal__shortcut-key-combination{margin-top:10px}.edit-post-keyboard-shortcut-help-modal__shortcut-key{padding:.25rem .5rem;border-radius:8%;margin:0 .2rem}.edit-post-keyboard-shortcut-help-modal__shortcut-key:last-child{margin:0 0 0 .2rem}.edit-post-layout__metaboxes{flex-shrink:0}.edit-post-layout__metaboxes:not(:empty){border-top:1px solid #ddd;padding:10px 0;clear:both}.edit-post-layout__metaboxes:not(:empty) .edit-post-meta-boxes-area{margin:auto 20px}.edit-post-layout .components-editor-notices__snackbar{position:fixed;right:0;bottom:40px;padding-left:16px;padding-right:16px;left:0}@media (min-width:783px){.edit-post-layout .components-editor-notices__snackbar{left:160px}}@media (min-width:783px){.auto-fold .edit-post-layout .components-editor-notices__snackbar{left:36px}}@media (min-width:961px){.auto-fold .edit-post-layout .components-editor-notices__snackbar{left:160px}}.folded .edit-post-layout .components-editor-notices__snackbar{left:0}@media (min-width:783px){.folded .edit-post-layout .components-editor-notices__snackbar{left:36px}}body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar{left:0!important}.edit-post-layout .editor-post-publish-panel{position:fixed;z-index:100001;top:46px;bottom:0;right:0;left:0;overflow:auto}@media (min-width:782px){.edit-post-layout .editor-post-publish-panel{z-index:99998;top:32px;left:auto;width:281px;border-left:1px solid #ddd;transform:translateX(100%);animation:edit-post-post-publish-panel__slide-in-animation .1s forwards}}@media (min-width:782px) and (prefers-reduced-motion:reduce){.edit-post-layout .editor-post-publish-panel{animation-duration:1ms;animation-delay:0s}}@media (min-width:782px){body.is-fullscreen-mode .edit-post-layout .editor-post-publish-panel{top:0}}@media (min-width:782px){[role=region]:focus .edit-post-layout .editor-post-publish-panel{transform:translateX(0)}}@keyframes edit-post-post-publish-panel__slide-in-animation{to{transform:translateX(0)}}.edit-post-layout .editor-post-publish-panel__header-publish-button{justify-content:center}.edit-post-layout__toggle-entities-saved-states-panel,.edit-post-layout__toggle-publish-panel,.edit-post-layout__toggle-sidebar-panel{z-index:100000;position:fixed!important;top:-9999em;bottom:auto;left:auto;right:0;width:280px;background-color:#fff;border:1px dotted #ddd;height:auto!important;padding:24px;display:flex;justify-content:center}.interface-interface-skeleton__actions:focus-within .edit-post-layout__toggle-entities-saved-states-panel,.interface-interface-skeleton__actions:focus-within .edit-post-layout__toggle-publish-panel,.interface-interface-skeleton__actions:focus-within .edit-post-layout__toggle-sidebar-panel,.interface-interface-skeleton__actions:focus .edit-post-layout__toggle-entities-saved-states-panel,.interface-interface-skeleton__actions:focus .edit-post-layout__toggle-publish-panel,.interface-interface-skeleton__actions:focus .edit-post-layout__toggle-sidebar-panel{top:auto;bottom:0}.edit-post-layout .interface-interface-skeleton__content{background-color:#2f2f2f}@media (min-width:600px){.edit-post-manage-blocks-modal{height:calc(100% - 120px)}}.edit-post-manage-blocks-modal .components-modal__content{padding-bottom:0;display:flex;flex-direction:column}.edit-post-manage-blocks-modal .components-modal__header{flex-shrink:0;margin-bottom:0}.edit-post-manage-blocks-modal__content{display:flex;flex-direction:column;flex:0 1 100%;min-height:0}.edit-post-manage-blocks-modal__no-results{font-style:italic;padding:24px 0;text-align:center}.edit-post-manage-blocks-modal__search{margin:16px 0}.edit-post-manage-blocks-modal__search .components-base-control__field{margin-bottom:0}.edit-post-manage-blocks-modal__search .components-base-control__label{margin-top:-4px}.edit-post-manage-blocks-modal__search input[type=search].components-text-control__input{padding:8px;border-radius:2px}.edit-post-manage-blocks-modal__disabled-blocks-count{border-top:1px solid #ddd;margin-left:-24px;margin-right:-24px;padding:.6rem 24px;background-color:#f0f0f0}.edit-post-manage-blocks-modal__category{margin:0 0 2rem}.edit-post-manage-blocks-modal__category-title{position:sticky;top:0;padding:16px 0;background-color:#fff;z-index:1}.edit-post-manage-blocks-modal__category-title .components-base-control__field{margin-bottom:0}.edit-post-manage-blocks-modal__category-title .components-checkbox-control__label{font-size:.9rem;font-weight:600}.edit-post-manage-blocks-modal__show-all{margin-right:8px}.edit-post-manage-blocks-modal__checklist{margin-top:0}.edit-post-manage-blocks-modal__checklist-item{margin-bottom:0;padding-left:16px;border-top:1px solid #ddd}.edit-post-manage-blocks-modal__checklist-item:last-child{border-bottom:1px solid #ddd}.edit-post-manage-blocks-modal__checklist-item .components-base-control__field{align-items:center;display:flex;margin:0}.components-modal__content .edit-post-manage-blocks-modal__checklist-item.components-checkbox-control__input-container{margin:0 8px}.edit-post-manage-blocks-modal__checklist-item .components-checkbox-control__label{display:flex;align-items:center;justify-content:space-between;flex-grow:1;padding:.6rem 0 .6rem 10px}.edit-post-manage-blocks-modal__checklist-item .block-editor-block-icon{margin-right:10px;fill:#1e1e1e}.edit-post-manage-blocks-modal__results{height:100%;overflow:auto;margin-left:-32px;margin-right:-32px;padding-left:32px;padding-right:32px;border-top:1px solid #ddd}.edit-post-meta-boxes-area{position:relative}.edit-post-meta-boxes-area .inside,.edit-post-meta-boxes-area__container{box-sizing:initial}.edit-post-meta-boxes-area input,.edit-post-meta-boxes-area textarea{box-sizing:border-box}.edit-post-meta-boxes-area #poststuff{margin:0 auto;padding-top:0;min-width:auto}.edit-post-meta-boxes-area #poststuff .stuffbox>h3,.edit-post-meta-boxes-area #poststuff h2.hndle,.edit-post-meta-boxes-area #poststuff h3.hndle{box-sizing:border-box;color:inherit;font-weight:600;outline:none;padding:15px;position:relative;width:100%}.edit-post-meta-boxes-area .postbox{border:0;color:inherit;margin-bottom:0}.edit-post-meta-boxes-area .postbox>.inside{border-bottom:1px solid #ddd;color:inherit;padding:0 14px 14px;margin:0}.edit-post-meta-boxes-area .postbox .handlediv{height:44px;width:44px}.edit-post-meta-boxes-area.is-loading:before{position:absolute;top:0;left:0;right:0;bottom:0;content:"";background:transparent;z-index:1}.edit-post-meta-boxes-area .components-spinner{position:absolute;top:10px;right:20px;z-index:5}.edit-post-meta-boxes-area .is-hidden{display:none}.edit-post-meta-boxes-area .metabox-location-side .postbox input[type=checkbox]{border:1px solid #757575}.edit-post-meta-boxes-area .metabox-location-side .postbox input[type=checkbox]:checked{background:#fff;border-color:#757575}.edit-post-meta-boxes-area .metabox-location-side .postbox input[type=checkbox]:before{margin:-3px -4px}.edit-post-meta-boxes-area__clear{clear:both}.edit-post-preferences-modal{min-width:360px;width:100%}@media (min-width:782px){.edit-post-preferences-modal{width:auto}}@media (min-width:600px){.edit-post-preferences-modal{height:calc(100% - 120px)}}.edit-post-preferences-modal .components-navigation{background-color:#fff;margin:-8px;padding:8px}.edit-post-preferences-modal .components-navigation .components-navigation__menu{margin:0;color:#1e1e1e}.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__item{color:#1e1e1e}.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__item>button{color:inherit;padding:3px 16px;height:48px}.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__item>button:focus{background:#f0f0f0;font-weight:500}.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__item>button:hover{color:var(--wp-admin-theme-color)}.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__item .components-toggle-control__label{color:inherit}.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__menu-title-heading{color:inherit;border-bottom:1px solid #ddd;padding-left:0;padding-right:0}.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__back-button{color:inherit;padding-left:0}.edit-post-preferences-modal .components-navigation .components-navigation__menu .components-navigation__back-button:hover{color:var(--wp-admin-theme-color)}.edit-post-preferences-modal .components-navigation .components-navigation__menu .edit-post-preferences-modal__custom-fields-confirmation-button{width:auto}.edit-post-preferences-modal .edit-post-preferences__tabs{display:flex;flex-direction:row}.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tabs{width:160px}.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item{border-radius:2px;font-weight:400}.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item.is-active{background:#f0f0f0;box-shadow:none;font-weight:500}.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item:focus:not(:disabled){box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.edit-post-preferences-modal .edit-post-preferences__tabs .components-tab-panel__tab-content{width:500px;padding-left:24px}.edit-post-preferences-modal__section{margin:0 0 2.5rem}.edit-post-preferences-modal__section-title{font-size:.9rem;font-weight:600}.edit-post-preferences-modal__option .components-base-control .components-base-control__field{align-items:center;display:flex;margin-bottom:0}.edit-post-preferences-modal__option .components-base-control .components-base-control__field>label{flex-grow:1;padding:.6rem 0 .6rem 10px}.edit-post-preferences-modal__custom-fields-confirmation-button,.edit-post-preferences-modal__custom-fields-confirmation-message{margin:0 0 .6rem 48px}@media (min-width:782px){.edit-post-preferences-modal__custom-fields-confirmation-button,.edit-post-preferences-modal__custom-fields-confirmation-message{margin-left:38px}}@media (min-width:600px){.edit-post-preferences-modal__custom-fields-confirmation-button,.edit-post-preferences-modal__custom-fields-confirmation-message{max-width:300px}}.edit-post-preferences-modal .components-base-control__help{margin:-8px 0 8px 58px;font-size:12px;font-style:normal;color:#757575}.edit-post-preferences-modal .edit-post-preferences-modal__section-description{margin:-8px 0 8px;font-size:12px;font-style:normal;color:#757575}.edit-post-editor__inserter-panel,.edit-post-editor__list-view-panel{height:100%;display:flex;flex-direction:column}.edit-post-editor__list-view-panel{min-width:350px}.edit-post-editor__inserter-panel-header{padding-top:8px;padding-right:8px;display:flex;justify-content:flex-end}@media (min-width:782px){.edit-post-editor__inserter-panel-header{display:none}}.edit-post-editor__inserter-panel-content,.edit-post-editor__list-view-panel-content{height:calc(100% - 44px)}@media (min-width:782px){.edit-post-editor__inserter-panel-content{height:100%}}.edit-post-editor__list-view-panel-header{align-items:center;border-bottom:1px solid #ddd;display:flex;justify-content:space-between;height:48px;padding-left:16px;padding-right:4px}.edit-post-editor__list-view-panel-content{overflow-y:auto;padding:8px}.components-panel__header.edit-post-sidebar__panel-tabs{justify-content:flex-start;padding-left:0;padding-right:16px;border-top:0;margin-top:0}.components-panel__header.edit-post-sidebar__panel-tabs ul{display:flex}.components-panel__header.edit-post-sidebar__panel-tabs li{margin:0}.components-panel__header.edit-post-sidebar__panel-tabs .components-button.has-icon{display:none;margin:0 0 0 auto;padding:0;min-width:24px;height:24px}@media (min-width:782px){.components-panel__header.edit-post-sidebar__panel-tabs .components-button.has-icon{display:flex}}.components-panel__body.is-opened.edit-post-last-revision__panel{padding:0;height:48px}.editor-post-last-revision__title.components-button{padding:16px}.editor-post-author__select{margin:-5px 0;width:100%}@supports (position:sticky){.editor-post-author__select{width:auto}}.edit-post-post-link__link-post-name{font-weight:600}.edit-post-post-link__preview-label{font-weight:400;margin:0}.edit-post-post-link__link{text-align:left;word-wrap:break-word;display:block}.edit-post-post-link__preview-link-container{direction:ltr}.edit-post-post-schedule{width:100%;position:relative;justify-content:left}.edit-post-post-schedule span{display:block;width:45%}.components-button.edit-post-post-schedule__toggle{text-align:right}.edit-post-post-schedule__dialog .components-popover__content>div{padding:0}.editor-post-slug__input{margin:-5px 0;padding:2px}.edit-post-post-status .edit-post-post-publish-dropdown__switch-to-draft{margin-top:15px;width:100%;text-align:center}.edit-post-post-visibility{width:100%;justify-content:left}.edit-post-post-visibility span{display:block;width:45%}@media (min-width:782px){.edit-post-post-visibility__dialog .components-popover__content{width:257px}}.edit-post-post-visibility__dialog-legend{font-weight:600}.edit-post-post-visibility__choice{margin:10px 0}.edit-post-post-visibility__dialog-label,.edit-post-post-visibility__dialog-radio{vertical-align:top}.edit-post-post-visibility__dialog-password-input{width:calc(100% - 20px);margin-left:20px}.edit-post-post-visibility__dialog-info{color:#757575;padding-left:20px;font-style:italic;margin:4px 0 0;line-height:1.4}.components-button.edit-post-sidebar__panel-tab{border-radius:0;height:48px;background:transparent;border:none;box-shadow:none;cursor:pointer;display:inline-block;padding:3px 15px;margin-left:0;font-weight:500}.components-button.edit-post-sidebar__panel-tab:after{content:attr(data-label);display:block;font-weight:600;height:0;overflow:hidden;speak:none;visibility:hidden}.components-button.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) transparent,inset 0 -4px 0 0 var(--wp-admin-theme-color);position:relative;z-index:1}.components-button.edit-post-sidebar__panel-tab.is-active:before{content:"";position:absolute;top:0;bottom:1px;right:0;left:0;border-bottom:4px solid transparent}.components-button.edit-post-sidebar__panel-tab:focus{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);position:relative;z-index:1}.components-button.edit-post-sidebar__panel-tab.is-active:focus{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color),inset 0 -4px 0 0 var(--wp-admin-theme-color)}.edit-post-template__modal-actions{padding-top:12px}.edit-post-template__actions button:not(:last-child){margin-right:8px}h2.edit-post-template-summary__title{margin:0;line-height:24px}.edit-post-text-editor{position:relative;width:100%;background-color:#fff;flex-grow:1}.edit-post-text-editor .editor-post-title.editor-post-title__block{max-width:none;line-height:1.4}.edit-post-text-editor .editor-post-title.editor-post-title__block .editor-post-title__input.editor-post-title__input.editor-post-title__input{font-family:Menlo,Consolas,monaco,monospace;font-size:2.5em;font-weight:400}.edit-post-text-editor .editor-post-title.editor-post-title__block .editor-post-title__input{border:1px solid #949494;margin-bottom:-1px;padding:16px}@media (min-width:600px){.edit-post-text-editor .editor-post-title.editor-post-title__block .editor-post-title__input{padding:24px}}.edit-post-text-editor .editor-post-title.editor-post-title__block .editor-post-title__input:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}@media (min-width:600px){.edit-post-text-editor .editor-post-title.editor-post-title__block{padding:0}}.edit-post-text-editor__body{width:100%;padding:0 12px 12px;max-width:1080px;margin-left:auto;margin-right:auto}@media (min-width:960px){.edit-post-text-editor__body{padding:0 24px 24px}}.edit-post-text-editor__toolbar{position:sticky;z-index:1;top:0;left:0;right:0;display:flex;background:hsla(0,0%,100%,.8);padding:4px 12px}@media (min-width:600px){.edit-post-text-editor__toolbar{padding:12px}}@media (min-width:960px){.edit-post-text-editor__toolbar{padding:12px 24px}}.edit-post-text-editor__toolbar h2{line-height:36px;margin:0 auto 0 0;font-size:13px;color:#1e1e1e}.edit-post-text-editor__toolbar .components-button svg{order:1}.edit-post-visual-editor{position:relative;display:flex;flex-flow:column;flex:1 1 auto}.edit-post-visual-editor .components-button{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;padding:6px 12px}.edit-post-visual-editor .components-button.has-icon,.edit-post-visual-editor .components-button.is-tertiary{padding:6px}@supports (position:sticky){.edit-post-visual-editor{flex-basis:100%}}.edit-post-visual-editor__post-title-wrapper .editor-post-title{margin:2em auto 0}.edit-post-visual-editor__exit-template-mode{position:absolute;top:8px;left:8px;color:#fff}.edit-post-visual-editor__exit-template-mode:active:not([aria-disabled=true]),.edit-post-visual-editor__exit-template-mode:focus:not([aria-disabled=true]),.edit-post-visual-editor__exit-template-mode:hover{color:#f0f0f0}.edit-post-visual-editor__content-area{width:100%;height:100%;position:relative}.edit-post-welcome-guide{width:312px}.edit-post-welcome-guide__image{background:#00a0d2;margin:0 0 16px}.edit-post-welcome-guide__heading{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:24px;line-height:1.4;margin:16px 0;padding:0 32px}.edit-post-welcome-guide__text{font-size:13px;line-height:1.4;margin:0 0 24px;padding:0 32px}.edit-post-welcome-guide__inserter-icon{margin:0 4px;vertical-align:text-top}@keyframes edit-post__fade-in-animation{0%{opacity:0}to{opacity:1}}body.block-editor-page,html.wp-toolbar{background:#fff}body.block-editor-page #wpcontent{padding-left:0}body.block-editor-page #wpbody-content{padding-bottom:0}body.block-editor-page #wpbody-content>div:not(.block-editor):not(#screen-meta),body.block-editor-page #wpfooter{display:none}body.block-editor-page .a11y-speak-region{left:-1px;top:-1px}body.block-editor-page ul#adminmenu>li.current>a.current:after,body.block-editor-page ul#adminmenu a.wp-has-current-submenu:after{border-right-color:#fff}body.block-editor-page .media-frame select.attachment-filters:last-of-type{width:auto;max-width:100%}.block-editor-page #wpwrap{overflow-y:auto}@media (min-width:782px){.block-editor-page #wpwrap{overflow-y:initial}}.components-modal__frame,.components-popover,.edit-post-editor__inserter-panel,.edit-post-header,.edit-post-sidebar,.edit-post-text-editor,.edit-post-visual-editor,.editor-post-publish-panel{box-sizing:border-box}.components-modal__frame *,.components-modal__frame :after,.components-modal__frame :before,.components-popover *,.components-popover :after,.components-popover :before,.edit-post-editor__inserter-panel *,.edit-post-editor__inserter-panel :after,.edit-post-editor__inserter-panel :before,.edit-post-header *,.edit-post-header :after,.edit-post-header :before,.edit-post-sidebar *,.edit-post-sidebar :after,.edit-post-sidebar :before,.edit-post-text-editor *,.edit-post-text-editor :after,.edit-post-text-editor :before,.edit-post-visual-editor *,.edit-post-visual-editor :after,.edit-post-visual-editor :before,.editor-post-publish-panel *,.editor-post-publish-panel :after,.editor-post-publish-panel :before{box-sizing:inherit}@media (min-width:600px){.block-editor__container{position:absolute;top:0;right:0;bottom:0;left:0;min-height:calc(100vh - 46px)}}@media (min-width:782px){.block-editor__container{min-height:calc(100vh - 32px)}body.is-fullscreen-mode .block-editor__container{min-height:100vh}}.block-editor__container img{max-width:100%;height:auto}.block-editor__container iframe{width:100%}body.admin-color-light{--wp-admin-theme-color:#0085ba;--wp-admin-theme-color-darker-10:#0073a1;--wp-admin-theme-color-darker-20:#006187;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-light{--wp-admin-border-width-focus:1.5px}}body.admin-color-modern{--wp-admin-theme-color:#3858e9;--wp-admin-theme-color-darker-10:#2145e6;--wp-admin-theme-color-darker-20:#183ad6;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-modern{--wp-admin-border-width-focus:1.5px}}body.admin-color-blue{--wp-admin-theme-color:#096484;--wp-admin-theme-color-darker-10:#07526c;--wp-admin-theme-color-darker-20:#064054;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-blue{--wp-admin-border-width-focus:1.5px}}body.admin-color-coffee{--wp-admin-theme-color:#46403c;--wp-admin-theme-color-darker-10:#383330;--wp-admin-theme-color-darker-20:#2b2724;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-coffee{--wp-admin-border-width-focus:1.5px}}body.admin-color-ectoplasm{--wp-admin-theme-color:#523f6d;--wp-admin-theme-color-darker-10:#46365d;--wp-admin-theme-color-darker-20:#3a2c4d;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-ectoplasm{--wp-admin-border-width-focus:1.5px}}body.admin-color-midnight{--wp-admin-theme-color:#e14d43;--wp-admin-theme-color-darker-10:#dd382d;--wp-admin-theme-color-darker-20:#d02c21;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-midnight{--wp-admin-border-width-focus:1.5px}}body.admin-color-ocean{--wp-admin-theme-color:#627c83;--wp-admin-theme-color-darker-10:#576e74;--wp-admin-theme-color-darker-20:#4c6066;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-ocean{--wp-admin-border-width-focus:1.5px}}body.admin-color-sunrise{--wp-admin-theme-color:#dd823b;--wp-admin-theme-color-darker-10:#d97426;--wp-admin-theme-color-darker-20:#c36922;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-sunrise{--wp-admin-border-width-focus:1.5px}} \ No newline at end of file diff --git a/wp-includes/css/dist/editor/style-rtl.css b/wp-includes/css/dist/editor/style-rtl.css index 04ea7d5d66..8babb75de3 100644 --- a/wp-includes/css/dist/editor/style-rtl.css +++ b/wp-includes/css/dist/editor/style-rtl.css @@ -190,13 +190,7 @@ padding: 1px 0; } -.components-editor-notices__dismissible { - position: sticky; - top: 0; - left: 0; - color: #1e1e1e; -} - +.components-editor-notices__dismissible, .components-editor-notices__pinned { position: relative; right: 0; @@ -204,7 +198,6 @@ left: 0; color: #1e1e1e; } - .components-editor-notices__dismissible .components-notice, .components-editor-notices__pinned .components-notice { box-sizing: border-box; diff --git a/wp-includes/css/dist/editor/style-rtl.min.css b/wp-includes/css/dist/editor/style-rtl.min.css index 243c621681..9078557c87 100644 --- a/wp-includes/css/dist/editor/style-rtl.min.css +++ b/wp-includes/css/dist/editor/style-rtl.min.css @@ -1 +1 @@ -@charset "UTF-8";:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}.editor-autocompleters__user .editor-autocompleters__no-avatar:before{font:normal 20px/1 dashicons;content:"";margin-left:5px;vertical-align:middle}.editor-autocompleters__user .editor-autocompleters__user-avatar{margin-left:8px;flex-grow:0;flex-shrink:0;max-width:none;width:24px;height:24px}.editor-autocompleters__user .editor-autocompleters__user-name{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:200px;flex-shrink:0;flex-grow:1}.editor-autocompleters__user .editor-autocompleters__user-slug{margin-right:8px;color:#757575;white-space:nowrap;text-overflow:ellipsis;overflow:none;max-width:100px;flex-grow:0;flex-shrink:0}.editor-autocompleters__user:hover .editor-autocompleters__user-slug{color:var(--wp-admin-theme-color)}.document-outline{margin:20px 0}.document-outline ul{margin:0;padding:0}.document-outline__item{display:flex;margin:4px 0}.document-outline__item a{text-decoration:none}.document-outline__item .document-outline__emdash:before{color:#ddd;margin-left:4px}.document-outline__item.is-h2 .document-outline__emdash:before{content:"—"}.document-outline__item.is-h3 .document-outline__emdash:before{content:"——"}.document-outline__item.is-h4 .document-outline__emdash:before{content:"———"}.document-outline__item.is-h5 .document-outline__emdash:before{content:"————"}.document-outline__item.is-h6 .document-outline__emdash:before{content:"—————"}.document-outline__button{cursor:pointer;background:none;border:none;display:flex;align-items:flex-start;margin:0 -1px 0 0;padding:2px 1px 2px 5px;color:#1e1e1e;text-align:right;border-radius:2px}.document-outline__button:disabled{cursor:default}.document-outline__button:focus{box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);outline:2px solid transparent}.document-outline__level{background:#ddd;color:#1e1e1e;border-radius:3px;font-size:13px;padding:1px 6px;margin-left:4px}.is-invalid .document-outline__level{background:#f0b849}.document-outline__item-content{padding:1px 0}.components-editor-notices__dismissible{position:sticky;top:0;left:0;color:#1e1e1e}.components-editor-notices__pinned{position:relative;right:0;top:0;left:0;color:#1e1e1e}.components-editor-notices__dismissible .components-notice,.components-editor-notices__pinned .components-notice{box-sizing:border-box;margin:0;border-bottom:1px solid rgba(0,0,0,.2);padding:0 12px;min-height:60px}.components-editor-notices__dismissible .components-notice .components-notice__dismiss,.components-editor-notices__pinned .components-notice .components-notice__dismiss{margin-top:12px}.entities-saved-states__panel{background:#fff;position:fixed;z-index:100001;top:46px;bottom:0;left:0;right:0;overflow:auto;box-sizing:border-box}.entities-saved-states__panel *,.entities-saved-states__panel :after,.entities-saved-states__panel :before{box-sizing:inherit}.entities-saved-states__panel .entities-saved-states__find-entity{display:none}.entities-saved-states__panel .entities-saved-states__find-entity-small{display:block}@media (min-width:782px){.entities-saved-states__panel{top:32px;right:auto;width:280px;border-right:1px solid #ddd}body.is-fullscreen-mode .entities-saved-states__panel{top:0}.entities-saved-states__panel .entities-saved-states__find-entity{display:block}.entities-saved-states__panel .entities-saved-states__find-entity-small{display:none}}.entities-saved-states__panel .entities-saved-states__panel-header{background:#fff;padding-right:8px;padding-left:8px;height:61px;border-bottom:1px solid #ddd;display:flex;align-items:center;align-content:space-between}.entities-saved-states__panel .entities-saved-states__panel-header .editor-entities-saved-states__save-button{margin:auto}.entities-saved-states__panel .entities-saved-states__panel-header .components-button.has-icon{position:absolute;left:8px}.entities-saved-states__panel .entities-saved-states__text-prompt{padding:16px 16px 4px}.editor-error-boundary{max-width:780px;padding:20px;margin:60px auto auto;box-shadow:0 10px 10px rgba(0,0,0,.25)}.editor-page-attributes__order{width:100%}.editor-page-attributes__order .components-base-control__field{display:flex;justify-content:space-between;align-items:center}.editor-page-attributes__order input{width:66px}.editor-post-excerpt__textarea{width:100%;margin-bottom:10px}.editor-post-featured-image{padding:0}.editor-post-featured-image__container{margin-bottom:1em;position:relative}.editor-post-featured-image .components-spinner{position:absolute;top:50%;right:50%;margin-top:-9px;margin-right:-9px}.editor-post-featured-image .components-button+.components-button{display:block;margin-top:1em}.editor-post-featured-image .components-responsive-wrapper__content{max-width:100%;width:auto}.editor-post-featured-image__preview,.editor-post-featured-image__toggle{display:block;width:100%;padding:0;transition:all .1s ease-out;box-shadow:0 0 0 0 var(--wp-admin-theme-color)}@media (prefers-reduced-motion:reduce){.editor-post-featured-image__preview,.editor-post-featured-image__toggle{transition-duration:0s;transition-delay:0s}}.editor-post-featured-image__preview{height:auto}.editor-post-featured-image__preview:not(:disabled):not([aria-disabled=true]):focus{box-shadow:0 0 0 4px var(--wp-admin-theme-color)}.editor-post-featured-image__toggle{border-radius:2px;background-color:#f0f0f0;min-height:90px;line-height:20px;padding:8px 0;text-align:center}.editor-post-featured-image__toggle:hover{background:#ddd;color:#1e1e1e}.editor-post-format{flex-direction:column;align-items:stretch;width:100%}.editor-post-format__content{display:inline-flex;justify-content:space-between;align-items:center;width:100%}.editor-post-format__suggestion{text-align:left;font-size:13px}.editor-post-last-revision__title{width:100%;font-weight:600}.editor-post-last-revision__title .dashicon{margin-left:5px}.components-button.editor-post-last-revision__title{height:100%}.components-button.editor-post-last-revision__title:active,.components-button.editor-post-last-revision__title:hover{background:#f0f0f0}.components-button.editor-post-last-revision__title:focus{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);border-radius:0}.editor-post-locked-modal{height:auto;padding-left:10px;padding-right:10px;padding-top:10px;max-width:480px}.editor-post-locked-modal .components-modal__header{height:36px}.editor-post-locked-modal .components-modal__content{height:auto}.editor-post-locked-modal__buttons{margin-top:10px}.editor-post-locked-modal__buttons .components-button{margin-left:5px}.editor-post-locked-modal__avatar{float:right;margin:5px 5px 5px 15px}.editor-post-publish-button__button.has-changes-dot:before{background:currentcolor;border-radius:4px;content:"";height:8px;margin:auto -3px auto 5px;width:8px}.editor-post-publish-panel{background:#fff}.editor-post-publish-panel__content{min-height:calc(100% - 144px)}.editor-post-publish-panel__content .components-spinner{display:block;margin:100px auto 0}.editor-post-publish-panel__header{background:#fff;padding-right:16px;padding-left:16px;height:61px;border-bottom:1px solid #ddd;display:flex;align-items:center;align-content:space-between}.editor-post-publish-panel__header .components-button{width:100%;justify-content:center}.editor-post-publish-panel__header .has-icon{margin-right:auto;width:auto}.components-site-card{display:flex;align-items:center;margin:16px 0}.components-site-icon{border:none;border-radius:2px;margin-left:12px;height:36px;width:36px}.components-site-name{display:block;font-size:14px}.components-site-home{display:block;color:#757575;font-size:12px}.editor-post-publish-panel__header-cancel-button,.editor-post-publish-panel__header-publish-button{flex-grow:1}@media (min-width:480px){.editor-post-publish-panel__header-cancel-button,.editor-post-publish-panel__header-publish-button{max-width:160px}}.editor-post-publish-panel__header-publish-button{padding-left:4px}.editor-post-publish-panel__header-cancel-button{padding-right:4px}.editor-post-publish-panel__header-published{flex-grow:1}.editor-post-publish-panel__footer{padding:16px}.components-button.editor-post-publish-panel__toggle.is-primary{display:inline-flex;align-items:center}.components-button.editor-post-publish-panel__toggle.is-primary.is-busy .dashicon{display:none}.components-button.editor-post-publish-panel__toggle.is-primary .dashicon{margin-left:-4px}.editor-post-publish-panel__link{font-weight:400;padding-right:4px}.editor-post-publish-panel__prepublish{padding:16px}.editor-post-publish-panel__prepublish strong{color:#1e1e1e}.editor-post-publish-panel__prepublish .components-panel__body{background:#fff;margin-right:-16px;margin-left:-16px}.editor-post-publish-panel__prepublish .editor-post-visibility__dialog-legend{display:none}.post-publish-panel__postpublish .components-panel__body{border-bottom:1px solid #e0e0e0;border-top:none}.post-publish-panel__postpublish-buttons{display:flex;align-content:space-between;flex-wrap:wrap;margin:-5px}.post-publish-panel__postpublish-buttons>*{flex-grow:1;margin:5px}.post-publish-panel__postpublish-buttons .components-button{height:auto;justify-content:center;padding:3px 10px 4px;line-height:1.6;text-align:center;white-space:normal}.post-publish-panel__postpublish-buttons .components-clipboard-button{width:100%}.post-publish-panel__postpublish-post-address{margin-bottom:16px}.post-publish-panel__postpublish-post-address input[readonly]{padding:10px;background:#ddd;overflow:hidden;text-overflow:ellipsis}.post-publish-panel__postpublish-header{font-weight:500}.post-publish-panel__postpublish-subheader{margin:0 0 8px}.post-publish-panel__tip{color:#f0b849}.editor-post-saved-state{display:flex;align-items:center;width:28px;padding:12px 4px;color:#757575;overflow:hidden;white-space:nowrap}.editor-post-saved-state svg{display:inline-block;flex:0 0 auto;fill:currentColor;margin-left:8px}@media (min-width:600px){.editor-post-saved-state{width:auto;padding:8px 12px;text-indent:inherit}.editor-post-saved-state svg{margin-left:4px}}.editor-post-taxonomies__hierarchical-terms-list{max-height:14em;overflow:auto;margin-right:-6px;padding-right:6px;margin-top:-6px;padding-top:6px}.editor-post-taxonomies__hierarchical-terms-choice{margin-bottom:8px}.editor-post-taxonomies__hierarchical-terms-subchoices{margin-top:8px;margin-right:16px}.components-button.editor-post-taxonomies__hierarchical-terms-add,.components-button.editor-post-taxonomies__hierarchical-terms-submit{margin-top:12px}.editor-post-taxonomies__hierarchical-terms-label{display:inline-block;margin-top:12px}.editor-post-taxonomies__hierarchical-terms-input{margin-top:8px;width:100%}.editor-post-taxonomies__hierarchical-terms-filter{margin-bottom:8px;width:100%}.editor-post-taxonomies__flat-term-most-used .editor-post-taxonomies__flat-term-most-used-label{font-weight:400;margin-bottom:12px}.editor-post-taxonomies__flat-term-most-used-list{margin:0}.editor-post-taxonomies__flat-term-most-used-list li{display:inline-block;margin-left:8px}.editor-post-taxonomies__flat-term-most-used-list .components-button{font-size:12px}.edit-post-text-editor__body textarea.editor-post-text-editor{border:1px solid #949494;border-radius:0;display:block;margin:0;width:100%;box-shadow:none;resize:none;overflow:hidden;font-family:Menlo,Consolas,monaco,monospace;line-height:2.4;min-height:200px;transition:border .1s ease-out,box-shadow .1s linear;padding:16px;font-size:16px!important}@media (prefers-reduced-motion:reduce){.edit-post-text-editor__body textarea.editor-post-text-editor{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.edit-post-text-editor__body textarea.editor-post-text-editor{padding:24px;font-size:15px!important}}.edit-post-text-editor__body textarea.editor-post-text-editor:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);position:relative}.edit-post-text-editor__body textarea.editor-post-text-editor::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.edit-post-text-editor__body textarea.editor-post-text-editor::-moz-placeholder{color:rgba(30,30,30,.62);opacity:1}.edit-post-text-editor__body textarea.editor-post-text-editor:-ms-input-placeholder{color:rgba(30,30,30,.62)}.edit-post-post-visibility__dialog,.editor-post-visibility__dialog-fieldset{padding:0 4px 4px}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-legend,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-legend{font-weight:600;margin-bottom:1em;margin-top:.5em;padding:0}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio],.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;padding:6px 8px;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:2px;font-size:16px;line-height:normal;border:1px solid #1e1e1e;margin-left:12px;transition:none;border-radius:50%;width:24px;height:24px;margin-top:2px}@media (prefers-reduced-motion:reduce){.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio],.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio],.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]{font-size:13px;line-height:normal}}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio]:focus,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color)}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio]::-webkit-input-placeholder,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio]::-moz-placeholder,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]::-moz-placeholder{opacity:1;color:rgba(30,30,30,.62)}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio]:-ms-input-placeholder,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]:-ms-input-placeholder{color:rgba(30,30,30,.62)}.is-dark-theme .edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio]::-webkit-input-placeholder,.is-dark-theme .editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio]::-moz-placeholder,.is-dark-theme .editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio]:-ms-input-placeholder,.is-dark-theme .editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}@media (min-width:600px){.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio],.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]{height:20px;width:20px}}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio]:checked:before,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]:checked:before{box-sizing:inherit;width:8px;height:8px;transform:translate(-7px,7px);margin:0;background-color:#fff;border:4px solid #fff}@media (min-width:600px){.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio]:checked:before,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]:checked:before{transform:translate(-5px,5px)}}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio]:focus,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px var(--wp-admin-theme-color);outline:2px solid transparent}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio]:checked,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]:checked{background:var(--wp-admin-theme-color);border-color:var(--wp-admin-theme-color)}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-label,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-label{font-weight:600}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-info,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-info{margin-top:0;margin-right:32px}.edit-post-post-visibility__dialog .editor-post-visibility__choice:last-child .editor-post-visibility__dialog-info,.editor-post-visibility__dialog-fieldset .editor-post-visibility__choice:last-child .editor-post-visibility__dialog-info{margin-bottom:0}.editor-post-visibility__dialog-password .editor-post-visibility__dialog-password-input[type=text]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;padding:6px 8px;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:2px;border:1px solid #757575;font-size:16px;line-height:normal;margin-right:36px;margin-top:8px}@media (prefers-reduced-motion:reduce){.editor-post-visibility__dialog-password .editor-post-visibility__dialog-password-input[type=text]{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.editor-post-visibility__dialog-password .editor-post-visibility__dialog-password-input[type=text]{font-size:13px;line-height:normal}}.editor-post-visibility__dialog-password .editor-post-visibility__dialog-password-input[type=text]:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color);outline:2px solid transparent}.editor-post-visibility__dialog-password .editor-post-visibility__dialog-password-input[type=text]::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.editor-post-visibility__dialog-password .editor-post-visibility__dialog-password-input[type=text]::-moz-placeholder{opacity:1;color:rgba(30,30,30,.62)}.editor-post-visibility__dialog-password .editor-post-visibility__dialog-password-input[type=text]:-ms-input-placeholder{color:rgba(30,30,30,.62)}.is-dark-theme .editor-post-visibility__dialog-password .editor-post-visibility__dialog-password-input[type=text]::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .editor-post-visibility__dialog-password .editor-post-visibility__dialog-password-input[type=text]::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .editor-post-visibility__dialog-password .editor-post-visibility__dialog-password-input[type=text]:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}.editor-post-title{position:relative}.editor-post-title .editor-post-title__input{display:block;width:100%;margin:0;box-shadow:none;background:transparent;transition:border .1s ease-out,box-shadow .1s linear;padding:19px 0;word-break:keep-all;font-family:inherit;color:inherit;border-color:transparent;border-style:solid;border-width:1px 0;border-radius:0;outline:1px solid transparent;font-size:2.44em;font-weight:800;line-height:1.4}@media (prefers-reduced-motion:reduce){.editor-post-title .editor-post-title__input{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.editor-post-title .editor-post-title__input{border-width:1px}}.editor-post-title .editor-post-title__input::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.editor-post-title .editor-post-title__input::-moz-placeholder{color:rgba(30,30,30,.62);opacity:1}.editor-post-title .editor-post-title__input:-ms-input-placeholder{color:rgba(30,30,30,.62)}.is-dark-theme .editor-post-title .editor-post-title__input::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .editor-post-title .editor-post-title__input::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .editor-post-title .editor-post-title__input:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}.editor-post-title .editor-post-title__input:focus{border:1px solid transparent;outline:1px solid transparent;box-shadow:none}.editor-post-title.is-focus-mode .editor-post-title__input{opacity:.5;transition:opacity .1s linear}@media (prefers-reduced-motion:reduce){.editor-post-title.is-focus-mode .editor-post-title__input{transition-duration:0s;transition-delay:0s}}.editor-post-title.is-focus-mode .editor-post-title__input:focus{opacity:1}.editor-post-trash.components-button{margin-top:4px}.table-of-contents__popover.components-popover .components-popover__content{min-width:380px}.components-popover.table-of-contents__popover{z-index:99998}.table-of-contents__popover .components-popover__content>div{padding:16px}@media (min-width:600px){.table-of-contents__popover .components-popover__content{max-height:calc(100vh - 120px);overflow-y:auto}}.table-of-contents__popover hr{margin:10px -16px 0}.table-of-contents__wrapper:focus:before{content:"";display:block;position:absolute;top:0;left:0;bottom:0;right:0;box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);pointer-events:none}.table-of-contents__counts{display:flex;flex-wrap:wrap;margin:-8px 0 0}.table-of-contents__count{flex-basis:33%;display:flex;flex-direction:column;font-size:13px;color:#1e1e1e;padding-left:8px;margin-bottom:0;margin-top:8px}.table-of-contents__count:nth-child(4n){padding-left:0}.table-of-contents__number,.table-of-contents__popover .word-count{font-size:21px;font-weight:400;line-height:30px;color:#1e1e1e}.table-of-contents__title{display:block;margin-top:20px;font-size:15px;font-weight:600}.editor-template-validation-notice{display:flex;justify-content:space-between;align-items:center}.editor-template-validation-notice .components-button{margin-right:5px} \ No newline at end of file +@charset "UTF-8";:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}.editor-autocompleters__user .editor-autocompleters__no-avatar:before{font:normal 20px/1 dashicons;content:"";margin-left:5px;vertical-align:middle}.editor-autocompleters__user .editor-autocompleters__user-avatar{margin-left:8px;flex-grow:0;flex-shrink:0;max-width:none;width:24px;height:24px}.editor-autocompleters__user .editor-autocompleters__user-name{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:200px;flex-shrink:0;flex-grow:1}.editor-autocompleters__user .editor-autocompleters__user-slug{margin-right:8px;color:#757575;white-space:nowrap;text-overflow:ellipsis;overflow:none;max-width:100px;flex-grow:0;flex-shrink:0}.editor-autocompleters__user:hover .editor-autocompleters__user-slug{color:var(--wp-admin-theme-color)}.document-outline{margin:20px 0}.document-outline ul{margin:0;padding:0}.document-outline__item{display:flex;margin:4px 0}.document-outline__item a{text-decoration:none}.document-outline__item .document-outline__emdash:before{color:#ddd;margin-left:4px}.document-outline__item.is-h2 .document-outline__emdash:before{content:"—"}.document-outline__item.is-h3 .document-outline__emdash:before{content:"——"}.document-outline__item.is-h4 .document-outline__emdash:before{content:"———"}.document-outline__item.is-h5 .document-outline__emdash:before{content:"————"}.document-outline__item.is-h6 .document-outline__emdash:before{content:"—————"}.document-outline__button{cursor:pointer;background:none;border:none;display:flex;align-items:flex-start;margin:0 -1px 0 0;padding:2px 1px 2px 5px;color:#1e1e1e;text-align:right;border-radius:2px}.document-outline__button:disabled{cursor:default}.document-outline__button:focus{box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);outline:2px solid transparent}.document-outline__level{background:#ddd;color:#1e1e1e;border-radius:3px;font-size:13px;padding:1px 6px;margin-left:4px}.is-invalid .document-outline__level{background:#f0b849}.document-outline__item-content{padding:1px 0}.components-editor-notices__dismissible,.components-editor-notices__pinned{position:relative;right:0;top:0;left:0;color:#1e1e1e}.components-editor-notices__dismissible .components-notice,.components-editor-notices__pinned .components-notice{box-sizing:border-box;margin:0;border-bottom:1px solid rgba(0,0,0,.2);padding:0 12px;min-height:60px}.components-editor-notices__dismissible .components-notice .components-notice__dismiss,.components-editor-notices__pinned .components-notice .components-notice__dismiss{margin-top:12px}.entities-saved-states__panel{background:#fff;position:fixed;z-index:100001;top:46px;bottom:0;left:0;right:0;overflow:auto;box-sizing:border-box}.entities-saved-states__panel *,.entities-saved-states__panel :after,.entities-saved-states__panel :before{box-sizing:inherit}.entities-saved-states__panel .entities-saved-states__find-entity{display:none}.entities-saved-states__panel .entities-saved-states__find-entity-small{display:block}@media (min-width:782px){.entities-saved-states__panel{top:32px;right:auto;width:280px;border-right:1px solid #ddd}body.is-fullscreen-mode .entities-saved-states__panel{top:0}.entities-saved-states__panel .entities-saved-states__find-entity{display:block}.entities-saved-states__panel .entities-saved-states__find-entity-small{display:none}}.entities-saved-states__panel .entities-saved-states__panel-header{background:#fff;padding-right:8px;padding-left:8px;height:61px;border-bottom:1px solid #ddd;display:flex;align-items:center;align-content:space-between}.entities-saved-states__panel .entities-saved-states__panel-header .editor-entities-saved-states__save-button{margin:auto}.entities-saved-states__panel .entities-saved-states__panel-header .components-button.has-icon{position:absolute;left:8px}.entities-saved-states__panel .entities-saved-states__text-prompt{padding:16px 16px 4px}.editor-error-boundary{max-width:780px;padding:20px;margin:60px auto auto;box-shadow:0 10px 10px rgba(0,0,0,.25)}.editor-page-attributes__order{width:100%}.editor-page-attributes__order .components-base-control__field{display:flex;justify-content:space-between;align-items:center}.editor-page-attributes__order input{width:66px}.editor-post-excerpt__textarea{width:100%;margin-bottom:10px}.editor-post-featured-image{padding:0}.editor-post-featured-image__container{margin-bottom:1em;position:relative}.editor-post-featured-image .components-spinner{position:absolute;top:50%;right:50%;margin-top:-9px;margin-right:-9px}.editor-post-featured-image .components-button+.components-button{display:block;margin-top:1em}.editor-post-featured-image .components-responsive-wrapper__content{max-width:100%;width:auto}.editor-post-featured-image__preview,.editor-post-featured-image__toggle{display:block;width:100%;padding:0;transition:all .1s ease-out;box-shadow:0 0 0 0 var(--wp-admin-theme-color)}@media (prefers-reduced-motion:reduce){.editor-post-featured-image__preview,.editor-post-featured-image__toggle{transition-duration:0s;transition-delay:0s}}.editor-post-featured-image__preview{height:auto}.editor-post-featured-image__preview:not(:disabled):not([aria-disabled=true]):focus{box-shadow:0 0 0 4px var(--wp-admin-theme-color)}.editor-post-featured-image__toggle{border-radius:2px;background-color:#f0f0f0;min-height:90px;line-height:20px;padding:8px 0;text-align:center}.editor-post-featured-image__toggle:hover{background:#ddd;color:#1e1e1e}.editor-post-format{flex-direction:column;align-items:stretch;width:100%}.editor-post-format__content{display:inline-flex;justify-content:space-between;align-items:center;width:100%}.editor-post-format__suggestion{text-align:left;font-size:13px}.editor-post-last-revision__title{width:100%;font-weight:600}.editor-post-last-revision__title .dashicon{margin-left:5px}.components-button.editor-post-last-revision__title{height:100%}.components-button.editor-post-last-revision__title:active,.components-button.editor-post-last-revision__title:hover{background:#f0f0f0}.components-button.editor-post-last-revision__title:focus{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);border-radius:0}.editor-post-locked-modal{height:auto;padding-left:10px;padding-right:10px;padding-top:10px;max-width:480px}.editor-post-locked-modal .components-modal__header{height:36px}.editor-post-locked-modal .components-modal__content{height:auto}.editor-post-locked-modal__buttons{margin-top:10px}.editor-post-locked-modal__buttons .components-button{margin-left:5px}.editor-post-locked-modal__avatar{float:right;margin:5px 5px 5px 15px}.editor-post-publish-button__button.has-changes-dot:before{background:currentcolor;border-radius:4px;content:"";height:8px;margin:auto -3px auto 5px;width:8px}.editor-post-publish-panel{background:#fff}.editor-post-publish-panel__content{min-height:calc(100% - 144px)}.editor-post-publish-panel__content .components-spinner{display:block;margin:100px auto 0}.editor-post-publish-panel__header{background:#fff;padding-right:16px;padding-left:16px;height:61px;border-bottom:1px solid #ddd;display:flex;align-items:center;align-content:space-between}.editor-post-publish-panel__header .components-button{width:100%;justify-content:center}.editor-post-publish-panel__header .has-icon{margin-right:auto;width:auto}.components-site-card{display:flex;align-items:center;margin:16px 0}.components-site-icon{border:none;border-radius:2px;margin-left:12px;height:36px;width:36px}.components-site-name{display:block;font-size:14px}.components-site-home{display:block;color:#757575;font-size:12px}.editor-post-publish-panel__header-cancel-button,.editor-post-publish-panel__header-publish-button{flex-grow:1}@media (min-width:480px){.editor-post-publish-panel__header-cancel-button,.editor-post-publish-panel__header-publish-button{max-width:160px}}.editor-post-publish-panel__header-publish-button{padding-left:4px}.editor-post-publish-panel__header-cancel-button{padding-right:4px}.editor-post-publish-panel__header-published{flex-grow:1}.editor-post-publish-panel__footer{padding:16px}.components-button.editor-post-publish-panel__toggle.is-primary{display:inline-flex;align-items:center}.components-button.editor-post-publish-panel__toggle.is-primary.is-busy .dashicon{display:none}.components-button.editor-post-publish-panel__toggle.is-primary .dashicon{margin-left:-4px}.editor-post-publish-panel__link{font-weight:400;padding-right:4px}.editor-post-publish-panel__prepublish{padding:16px}.editor-post-publish-panel__prepublish strong{color:#1e1e1e}.editor-post-publish-panel__prepublish .components-panel__body{background:#fff;margin-right:-16px;margin-left:-16px}.editor-post-publish-panel__prepublish .editor-post-visibility__dialog-legend{display:none}.post-publish-panel__postpublish .components-panel__body{border-bottom:1px solid #e0e0e0;border-top:none}.post-publish-panel__postpublish-buttons{display:flex;align-content:space-between;flex-wrap:wrap;margin:-5px}.post-publish-panel__postpublish-buttons>*{flex-grow:1;margin:5px}.post-publish-panel__postpublish-buttons .components-button{height:auto;justify-content:center;padding:3px 10px 4px;line-height:1.6;text-align:center;white-space:normal}.post-publish-panel__postpublish-buttons .components-clipboard-button{width:100%}.post-publish-panel__postpublish-post-address{margin-bottom:16px}.post-publish-panel__postpublish-post-address input[readonly]{padding:10px;background:#ddd;overflow:hidden;text-overflow:ellipsis}.post-publish-panel__postpublish-header{font-weight:500}.post-publish-panel__postpublish-subheader{margin:0 0 8px}.post-publish-panel__tip{color:#f0b849}.editor-post-saved-state{display:flex;align-items:center;width:28px;padding:12px 4px;color:#757575;overflow:hidden;white-space:nowrap}.editor-post-saved-state svg{display:inline-block;flex:0 0 auto;fill:currentColor;margin-left:8px}@media (min-width:600px){.editor-post-saved-state{width:auto;padding:8px 12px;text-indent:inherit}.editor-post-saved-state svg{margin-left:4px}}.editor-post-taxonomies__hierarchical-terms-list{max-height:14em;overflow:auto;margin-right:-6px;padding-right:6px;margin-top:-6px;padding-top:6px}.editor-post-taxonomies__hierarchical-terms-choice{margin-bottom:8px}.editor-post-taxonomies__hierarchical-terms-subchoices{margin-top:8px;margin-right:16px}.components-button.editor-post-taxonomies__hierarchical-terms-add,.components-button.editor-post-taxonomies__hierarchical-terms-submit{margin-top:12px}.editor-post-taxonomies__hierarchical-terms-label{display:inline-block;margin-top:12px}.editor-post-taxonomies__hierarchical-terms-input{margin-top:8px;width:100%}.editor-post-taxonomies__hierarchical-terms-filter{margin-bottom:8px;width:100%}.editor-post-taxonomies__flat-term-most-used .editor-post-taxonomies__flat-term-most-used-label{font-weight:400;margin-bottom:12px}.editor-post-taxonomies__flat-term-most-used-list{margin:0}.editor-post-taxonomies__flat-term-most-used-list li{display:inline-block;margin-left:8px}.editor-post-taxonomies__flat-term-most-used-list .components-button{font-size:12px}.edit-post-text-editor__body textarea.editor-post-text-editor{border:1px solid #949494;border-radius:0;display:block;margin:0;width:100%;box-shadow:none;resize:none;overflow:hidden;font-family:Menlo,Consolas,monaco,monospace;line-height:2.4;min-height:200px;transition:border .1s ease-out,box-shadow .1s linear;padding:16px;font-size:16px!important}@media (prefers-reduced-motion:reduce){.edit-post-text-editor__body textarea.editor-post-text-editor{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.edit-post-text-editor__body textarea.editor-post-text-editor{padding:24px;font-size:15px!important}}.edit-post-text-editor__body textarea.editor-post-text-editor:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);position:relative}.edit-post-text-editor__body textarea.editor-post-text-editor::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.edit-post-text-editor__body textarea.editor-post-text-editor::-moz-placeholder{color:rgba(30,30,30,.62);opacity:1}.edit-post-text-editor__body textarea.editor-post-text-editor:-ms-input-placeholder{color:rgba(30,30,30,.62)}.edit-post-post-visibility__dialog,.editor-post-visibility__dialog-fieldset{padding:0 4px 4px}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-legend,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-legend{font-weight:600;margin-bottom:1em;margin-top:.5em;padding:0}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio],.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;padding:6px 8px;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:2px;font-size:16px;line-height:normal;border:1px solid #1e1e1e;margin-left:12px;transition:none;border-radius:50%;width:24px;height:24px;margin-top:2px}@media (prefers-reduced-motion:reduce){.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio],.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio],.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]{font-size:13px;line-height:normal}}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio]:focus,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color)}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio]::-webkit-input-placeholder,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio]::-moz-placeholder,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]::-moz-placeholder{opacity:1;color:rgba(30,30,30,.62)}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio]:-ms-input-placeholder,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]:-ms-input-placeholder{color:rgba(30,30,30,.62)}.is-dark-theme .edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio]::-webkit-input-placeholder,.is-dark-theme .editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio]::-moz-placeholder,.is-dark-theme .editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio]:-ms-input-placeholder,.is-dark-theme .editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}@media (min-width:600px){.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio],.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]{height:20px;width:20px}}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio]:checked:before,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]:checked:before{box-sizing:inherit;width:8px;height:8px;transform:translate(-7px,7px);margin:0;background-color:#fff;border:4px solid #fff}@media (min-width:600px){.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio]:checked:before,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]:checked:before{transform:translate(-5px,5px)}}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio]:focus,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px var(--wp-admin-theme-color);outline:2px solid transparent}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio]:checked,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]:checked{background:var(--wp-admin-theme-color);border-color:var(--wp-admin-theme-color)}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-label,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-label{font-weight:600}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-info,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-info{margin-top:0;margin-right:32px}.edit-post-post-visibility__dialog .editor-post-visibility__choice:last-child .editor-post-visibility__dialog-info,.editor-post-visibility__dialog-fieldset .editor-post-visibility__choice:last-child .editor-post-visibility__dialog-info{margin-bottom:0}.editor-post-visibility__dialog-password .editor-post-visibility__dialog-password-input[type=text]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;padding:6px 8px;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:2px;border:1px solid #757575;font-size:16px;line-height:normal;margin-right:36px;margin-top:8px}@media (prefers-reduced-motion:reduce){.editor-post-visibility__dialog-password .editor-post-visibility__dialog-password-input[type=text]{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.editor-post-visibility__dialog-password .editor-post-visibility__dialog-password-input[type=text]{font-size:13px;line-height:normal}}.editor-post-visibility__dialog-password .editor-post-visibility__dialog-password-input[type=text]:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color);outline:2px solid transparent}.editor-post-visibility__dialog-password .editor-post-visibility__dialog-password-input[type=text]::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.editor-post-visibility__dialog-password .editor-post-visibility__dialog-password-input[type=text]::-moz-placeholder{opacity:1;color:rgba(30,30,30,.62)}.editor-post-visibility__dialog-password .editor-post-visibility__dialog-password-input[type=text]:-ms-input-placeholder{color:rgba(30,30,30,.62)}.is-dark-theme .editor-post-visibility__dialog-password .editor-post-visibility__dialog-password-input[type=text]::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .editor-post-visibility__dialog-password .editor-post-visibility__dialog-password-input[type=text]::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .editor-post-visibility__dialog-password .editor-post-visibility__dialog-password-input[type=text]:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}.editor-post-title{position:relative}.editor-post-title .editor-post-title__input{display:block;width:100%;margin:0;box-shadow:none;background:transparent;transition:border .1s ease-out,box-shadow .1s linear;padding:19px 0;word-break:keep-all;font-family:inherit;color:inherit;border-color:transparent;border-style:solid;border-width:1px 0;border-radius:0;outline:1px solid transparent;font-size:2.44em;font-weight:800;line-height:1.4}@media (prefers-reduced-motion:reduce){.editor-post-title .editor-post-title__input{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.editor-post-title .editor-post-title__input{border-width:1px}}.editor-post-title .editor-post-title__input::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.editor-post-title .editor-post-title__input::-moz-placeholder{color:rgba(30,30,30,.62);opacity:1}.editor-post-title .editor-post-title__input:-ms-input-placeholder{color:rgba(30,30,30,.62)}.is-dark-theme .editor-post-title .editor-post-title__input::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .editor-post-title .editor-post-title__input::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .editor-post-title .editor-post-title__input:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}.editor-post-title .editor-post-title__input:focus{border:1px solid transparent;outline:1px solid transparent;box-shadow:none}.editor-post-title.is-focus-mode .editor-post-title__input{opacity:.5;transition:opacity .1s linear}@media (prefers-reduced-motion:reduce){.editor-post-title.is-focus-mode .editor-post-title__input{transition-duration:0s;transition-delay:0s}}.editor-post-title.is-focus-mode .editor-post-title__input:focus{opacity:1}.editor-post-trash.components-button{margin-top:4px}.table-of-contents__popover.components-popover .components-popover__content{min-width:380px}.components-popover.table-of-contents__popover{z-index:99998}.table-of-contents__popover .components-popover__content>div{padding:16px}@media (min-width:600px){.table-of-contents__popover .components-popover__content{max-height:calc(100vh - 120px);overflow-y:auto}}.table-of-contents__popover hr{margin:10px -16px 0}.table-of-contents__wrapper:focus:before{content:"";display:block;position:absolute;top:0;left:0;bottom:0;right:0;box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);pointer-events:none}.table-of-contents__counts{display:flex;flex-wrap:wrap;margin:-8px 0 0}.table-of-contents__count{flex-basis:33%;display:flex;flex-direction:column;font-size:13px;color:#1e1e1e;padding-left:8px;margin-bottom:0;margin-top:8px}.table-of-contents__count:nth-child(4n){padding-left:0}.table-of-contents__number,.table-of-contents__popover .word-count{font-size:21px;font-weight:400;line-height:30px;color:#1e1e1e}.table-of-contents__title{display:block;margin-top:20px;font-size:15px;font-weight:600}.editor-template-validation-notice{display:flex;justify-content:space-between;align-items:center}.editor-template-validation-notice .components-button{margin-right:5px} \ No newline at end of file diff --git a/wp-includes/css/dist/editor/style.css b/wp-includes/css/dist/editor/style.css index ddde1ccad1..63c63b54bc 100644 --- a/wp-includes/css/dist/editor/style.css +++ b/wp-includes/css/dist/editor/style.css @@ -190,13 +190,7 @@ padding: 1px 0; } -.components-editor-notices__dismissible { - position: sticky; - top: 0; - right: 0; - color: #1e1e1e; -} - +.components-editor-notices__dismissible, .components-editor-notices__pinned { position: relative; left: 0; @@ -204,7 +198,6 @@ right: 0; color: #1e1e1e; } - .components-editor-notices__dismissible .components-notice, .components-editor-notices__pinned .components-notice { box-sizing: border-box; diff --git a/wp-includes/css/dist/editor/style.min.css b/wp-includes/css/dist/editor/style.min.css index df2fab419b..b8d74e9d4a 100644 --- a/wp-includes/css/dist/editor/style.min.css +++ b/wp-includes/css/dist/editor/style.min.css @@ -1 +1 @@ -@charset "UTF-8";:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}.editor-autocompleters__user .editor-autocompleters__no-avatar:before{font:normal 20px/1 dashicons;content:"";margin-right:5px;vertical-align:middle}.editor-autocompleters__user .editor-autocompleters__user-avatar{margin-right:8px;flex-grow:0;flex-shrink:0;max-width:none;width:24px;height:24px}.editor-autocompleters__user .editor-autocompleters__user-name{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:200px;flex-shrink:0;flex-grow:1}.editor-autocompleters__user .editor-autocompleters__user-slug{margin-left:8px;color:#757575;white-space:nowrap;text-overflow:ellipsis;overflow:none;max-width:100px;flex-grow:0;flex-shrink:0}.editor-autocompleters__user:hover .editor-autocompleters__user-slug{color:var(--wp-admin-theme-color)}.document-outline{margin:20px 0}.document-outline ul{margin:0;padding:0}.document-outline__item{display:flex;margin:4px 0}.document-outline__item a{text-decoration:none}.document-outline__item .document-outline__emdash:before{color:#ddd;margin-right:4px}.document-outline__item.is-h2 .document-outline__emdash:before{content:"—"}.document-outline__item.is-h3 .document-outline__emdash:before{content:"——"}.document-outline__item.is-h4 .document-outline__emdash:before{content:"———"}.document-outline__item.is-h5 .document-outline__emdash:before{content:"————"}.document-outline__item.is-h6 .document-outline__emdash:before{content:"—————"}.document-outline__button{cursor:pointer;background:none;border:none;display:flex;align-items:flex-start;margin:0 0 0 -1px;padding:2px 5px 2px 1px;color:#1e1e1e;text-align:left;border-radius:2px}.document-outline__button:disabled{cursor:default}.document-outline__button:focus{box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);outline:2px solid transparent}.document-outline__level{background:#ddd;color:#1e1e1e;border-radius:3px;font-size:13px;padding:1px 6px;margin-right:4px}.is-invalid .document-outline__level{background:#f0b849}.document-outline__item-content{padding:1px 0}.components-editor-notices__dismissible{position:sticky;top:0;right:0;color:#1e1e1e}.components-editor-notices__pinned{position:relative;left:0;top:0;right:0;color:#1e1e1e}.components-editor-notices__dismissible .components-notice,.components-editor-notices__pinned .components-notice{box-sizing:border-box;margin:0;border-bottom:1px solid rgba(0,0,0,.2);padding:0 12px;min-height:60px}.components-editor-notices__dismissible .components-notice .components-notice__dismiss,.components-editor-notices__pinned .components-notice .components-notice__dismiss{margin-top:12px}.entities-saved-states__panel{background:#fff;position:fixed;z-index:100001;top:46px;bottom:0;right:0;left:0;overflow:auto;box-sizing:border-box}.entities-saved-states__panel *,.entities-saved-states__panel :after,.entities-saved-states__panel :before{box-sizing:inherit}.entities-saved-states__panel .entities-saved-states__find-entity{display:none}.entities-saved-states__panel .entities-saved-states__find-entity-small{display:block}@media (min-width:782px){.entities-saved-states__panel{top:32px;left:auto;width:280px;border-left:1px solid #ddd}body.is-fullscreen-mode .entities-saved-states__panel{top:0}.entities-saved-states__panel .entities-saved-states__find-entity{display:block}.entities-saved-states__panel .entities-saved-states__find-entity-small{display:none}}.entities-saved-states__panel .entities-saved-states__panel-header{background:#fff;padding-left:8px;padding-right:8px;height:61px;border-bottom:1px solid #ddd;display:flex;align-items:center;align-content:space-between}.entities-saved-states__panel .entities-saved-states__panel-header .editor-entities-saved-states__save-button{margin:auto}.entities-saved-states__panel .entities-saved-states__panel-header .components-button.has-icon{position:absolute;right:8px}.entities-saved-states__panel .entities-saved-states__text-prompt{padding:16px 16px 4px}.editor-error-boundary{max-width:780px;padding:20px;margin:60px auto auto;box-shadow:0 10px 10px rgba(0,0,0,.25)}.editor-page-attributes__order{width:100%}.editor-page-attributes__order .components-base-control__field{display:flex;justify-content:space-between;align-items:center}.editor-page-attributes__order input{width:66px}.editor-post-excerpt__textarea{width:100%;margin-bottom:10px}.editor-post-featured-image{padding:0}.editor-post-featured-image__container{margin-bottom:1em;position:relative}.editor-post-featured-image .components-spinner{position:absolute;top:50%;left:50%;margin-top:-9px;margin-left:-9px}.editor-post-featured-image .components-button+.components-button{display:block;margin-top:1em}.editor-post-featured-image .components-responsive-wrapper__content{max-width:100%;width:auto}.editor-post-featured-image__preview,.editor-post-featured-image__toggle{display:block;width:100%;padding:0;transition:all .1s ease-out;box-shadow:0 0 0 0 var(--wp-admin-theme-color)}@media (prefers-reduced-motion:reduce){.editor-post-featured-image__preview,.editor-post-featured-image__toggle{transition-duration:0s;transition-delay:0s}}.editor-post-featured-image__preview{height:auto}.editor-post-featured-image__preview:not(:disabled):not([aria-disabled=true]):focus{box-shadow:0 0 0 4px var(--wp-admin-theme-color)}.editor-post-featured-image__toggle{border-radius:2px;background-color:#f0f0f0;min-height:90px;line-height:20px;padding:8px 0;text-align:center}.editor-post-featured-image__toggle:hover{background:#ddd;color:#1e1e1e}.editor-post-format{flex-direction:column;align-items:stretch;width:100%}.editor-post-format__content{display:inline-flex;justify-content:space-between;align-items:center;width:100%}.editor-post-format__suggestion{text-align:right;font-size:13px}.editor-post-last-revision__title{width:100%;font-weight:600}.editor-post-last-revision__title .dashicon{margin-right:5px}.components-button.editor-post-last-revision__title{height:100%}.components-button.editor-post-last-revision__title:active,.components-button.editor-post-last-revision__title:hover{background:#f0f0f0}.components-button.editor-post-last-revision__title:focus{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);border-radius:0}.editor-post-locked-modal{height:auto;padding-right:10px;padding-left:10px;padding-top:10px;max-width:480px}.editor-post-locked-modal .components-modal__header{height:36px}.editor-post-locked-modal .components-modal__content{height:auto}.editor-post-locked-modal__buttons{margin-top:10px}.editor-post-locked-modal__buttons .components-button{margin-right:5px}.editor-post-locked-modal__avatar{float:left;margin:5px 15px 5px 5px}.editor-post-publish-button__button.has-changes-dot:before{background:currentcolor;border-radius:4px;content:"";height:8px;margin:auto 5px auto -3px;width:8px}.editor-post-publish-panel{background:#fff}.editor-post-publish-panel__content{min-height:calc(100% - 144px)}.editor-post-publish-panel__content .components-spinner{display:block;margin:100px auto 0}.editor-post-publish-panel__header{background:#fff;padding-left:16px;padding-right:16px;height:61px;border-bottom:1px solid #ddd;display:flex;align-items:center;align-content:space-between}.editor-post-publish-panel__header .components-button{width:100%;justify-content:center}.editor-post-publish-panel__header .has-icon{margin-left:auto;width:auto}.components-site-card{display:flex;align-items:center;margin:16px 0}.components-site-icon{border:none;border-radius:2px;margin-right:12px;height:36px;width:36px}.components-site-name{display:block;font-size:14px}.components-site-home{display:block;color:#757575;font-size:12px}.editor-post-publish-panel__header-cancel-button,.editor-post-publish-panel__header-publish-button{flex-grow:1}@media (min-width:480px){.editor-post-publish-panel__header-cancel-button,.editor-post-publish-panel__header-publish-button{max-width:160px}}.editor-post-publish-panel__header-publish-button{padding-right:4px}.editor-post-publish-panel__header-cancel-button{padding-left:4px}.editor-post-publish-panel__header-published{flex-grow:1}.editor-post-publish-panel__footer{padding:16px}.components-button.editor-post-publish-panel__toggle.is-primary{display:inline-flex;align-items:center}.components-button.editor-post-publish-panel__toggle.is-primary.is-busy .dashicon{display:none}.components-button.editor-post-publish-panel__toggle.is-primary .dashicon{margin-right:-4px}.editor-post-publish-panel__link{font-weight:400;padding-left:4px}.editor-post-publish-panel__prepublish{padding:16px}.editor-post-publish-panel__prepublish strong{color:#1e1e1e}.editor-post-publish-panel__prepublish .components-panel__body{background:#fff;margin-left:-16px;margin-right:-16px}.editor-post-publish-panel__prepublish .editor-post-visibility__dialog-legend{display:none}.post-publish-panel__postpublish .components-panel__body{border-bottom:1px solid #e0e0e0;border-top:none}.post-publish-panel__postpublish-buttons{display:flex;align-content:space-between;flex-wrap:wrap;margin:-5px}.post-publish-panel__postpublish-buttons>*{flex-grow:1;margin:5px}.post-publish-panel__postpublish-buttons .components-button{height:auto;justify-content:center;padding:3px 10px 4px;line-height:1.6;text-align:center;white-space:normal}.post-publish-panel__postpublish-buttons .components-clipboard-button{width:100%}.post-publish-panel__postpublish-post-address{margin-bottom:16px}.post-publish-panel__postpublish-post-address input[readonly]{padding:10px;background:#ddd;overflow:hidden;text-overflow:ellipsis}.post-publish-panel__postpublish-header{font-weight:500}.post-publish-panel__postpublish-subheader{margin:0 0 8px}.post-publish-panel__tip{color:#f0b849}.editor-post-saved-state{display:flex;align-items:center;width:28px;padding:12px 4px;color:#757575;overflow:hidden;white-space:nowrap}.editor-post-saved-state svg{display:inline-block;flex:0 0 auto;fill:currentColor;margin-right:8px}@media (min-width:600px){.editor-post-saved-state{width:auto;padding:8px 12px;text-indent:inherit}.editor-post-saved-state svg{margin-right:4px}}.editor-post-taxonomies__hierarchical-terms-list{max-height:14em;overflow:auto;margin-left:-6px;padding-left:6px;margin-top:-6px;padding-top:6px}.editor-post-taxonomies__hierarchical-terms-choice{margin-bottom:8px}.editor-post-taxonomies__hierarchical-terms-subchoices{margin-top:8px;margin-left:16px}.components-button.editor-post-taxonomies__hierarchical-terms-add,.components-button.editor-post-taxonomies__hierarchical-terms-submit{margin-top:12px}.editor-post-taxonomies__hierarchical-terms-label{display:inline-block;margin-top:12px}.editor-post-taxonomies__hierarchical-terms-input{margin-top:8px;width:100%}.editor-post-taxonomies__hierarchical-terms-filter{margin-bottom:8px;width:100%}.editor-post-taxonomies__flat-term-most-used .editor-post-taxonomies__flat-term-most-used-label{font-weight:400;margin-bottom:12px}.editor-post-taxonomies__flat-term-most-used-list{margin:0}.editor-post-taxonomies__flat-term-most-used-list li{display:inline-block;margin-right:8px}.editor-post-taxonomies__flat-term-most-used-list .components-button{font-size:12px}.edit-post-text-editor__body textarea.editor-post-text-editor{border:1px solid #949494;border-radius:0;display:block;margin:0;width:100%;box-shadow:none;resize:none;overflow:hidden;font-family:Menlo,Consolas,monaco,monospace;line-height:2.4;min-height:200px;transition:border .1s ease-out,box-shadow .1s linear;padding:16px;font-size:16px!important}@media (prefers-reduced-motion:reduce){.edit-post-text-editor__body textarea.editor-post-text-editor{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.edit-post-text-editor__body textarea.editor-post-text-editor{padding:24px;font-size:15px!important}}.edit-post-text-editor__body textarea.editor-post-text-editor:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);position:relative}.edit-post-text-editor__body textarea.editor-post-text-editor::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.edit-post-text-editor__body textarea.editor-post-text-editor::-moz-placeholder{color:rgba(30,30,30,.62);opacity:1}.edit-post-text-editor__body textarea.editor-post-text-editor:-ms-input-placeholder{color:rgba(30,30,30,.62)}.edit-post-post-visibility__dialog,.editor-post-visibility__dialog-fieldset{padding:0 4px 4px}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-legend,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-legend{font-weight:600;margin-bottom:1em;margin-top:.5em;padding:0}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio],.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;padding:6px 8px;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:2px;font-size:16px;line-height:normal;border:1px solid #1e1e1e;margin-right:12px;transition:none;border-radius:50%;width:24px;height:24px;margin-top:2px}@media (prefers-reduced-motion:reduce){.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio],.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio],.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]{font-size:13px;line-height:normal}}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio]:focus,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color)}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio]::-webkit-input-placeholder,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio]::-moz-placeholder,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]::-moz-placeholder{opacity:1;color:rgba(30,30,30,.62)}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio]:-ms-input-placeholder,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]:-ms-input-placeholder{color:rgba(30,30,30,.62)}.is-dark-theme .edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio]::-webkit-input-placeholder,.is-dark-theme .editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio]::-moz-placeholder,.is-dark-theme .editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio]:-ms-input-placeholder,.is-dark-theme .editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}@media (min-width:600px){.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio],.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]{height:20px;width:20px}}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio]:checked:before,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]:checked:before{box-sizing:inherit;width:8px;height:8px;transform:translate(7px,7px);margin:0;background-color:#fff;border:4px solid #fff}@media (min-width:600px){.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio]:checked:before,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]:checked:before{transform:translate(5px,5px)}}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio]:focus,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px var(--wp-admin-theme-color);outline:2px solid transparent}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio]:checked,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]:checked{background:var(--wp-admin-theme-color);border-color:var(--wp-admin-theme-color)}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-label,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-label{font-weight:600}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-info,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-info{margin-top:0;margin-left:32px}.edit-post-post-visibility__dialog .editor-post-visibility__choice:last-child .editor-post-visibility__dialog-info,.editor-post-visibility__dialog-fieldset .editor-post-visibility__choice:last-child .editor-post-visibility__dialog-info{margin-bottom:0}.editor-post-visibility__dialog-password .editor-post-visibility__dialog-password-input[type=text]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;padding:6px 8px;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:2px;border:1px solid #757575;font-size:16px;line-height:normal;margin-left:36px;margin-top:8px}@media (prefers-reduced-motion:reduce){.editor-post-visibility__dialog-password .editor-post-visibility__dialog-password-input[type=text]{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.editor-post-visibility__dialog-password .editor-post-visibility__dialog-password-input[type=text]{font-size:13px;line-height:normal}}.editor-post-visibility__dialog-password .editor-post-visibility__dialog-password-input[type=text]:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color);outline:2px solid transparent}.editor-post-visibility__dialog-password .editor-post-visibility__dialog-password-input[type=text]::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.editor-post-visibility__dialog-password .editor-post-visibility__dialog-password-input[type=text]::-moz-placeholder{opacity:1;color:rgba(30,30,30,.62)}.editor-post-visibility__dialog-password .editor-post-visibility__dialog-password-input[type=text]:-ms-input-placeholder{color:rgba(30,30,30,.62)}.is-dark-theme .editor-post-visibility__dialog-password .editor-post-visibility__dialog-password-input[type=text]::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .editor-post-visibility__dialog-password .editor-post-visibility__dialog-password-input[type=text]::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .editor-post-visibility__dialog-password .editor-post-visibility__dialog-password-input[type=text]:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}.editor-post-title{position:relative}.editor-post-title .editor-post-title__input{display:block;width:100%;margin:0;box-shadow:none;background:transparent;transition:border .1s ease-out,box-shadow .1s linear;padding:19px 0;word-break:keep-all;font-family:inherit;color:inherit;border-color:transparent;border-style:solid;border-width:1px 0;border-radius:0;outline:1px solid transparent;font-size:2.44em;font-weight:800;line-height:1.4}@media (prefers-reduced-motion:reduce){.editor-post-title .editor-post-title__input{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.editor-post-title .editor-post-title__input{border-width:1px}}.editor-post-title .editor-post-title__input::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.editor-post-title .editor-post-title__input::-moz-placeholder{color:rgba(30,30,30,.62);opacity:1}.editor-post-title .editor-post-title__input:-ms-input-placeholder{color:rgba(30,30,30,.62)}.is-dark-theme .editor-post-title .editor-post-title__input::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .editor-post-title .editor-post-title__input::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .editor-post-title .editor-post-title__input:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}.editor-post-title .editor-post-title__input:focus{border:1px solid transparent;outline:1px solid transparent;box-shadow:none}.editor-post-title.is-focus-mode .editor-post-title__input{opacity:.5;transition:opacity .1s linear}@media (prefers-reduced-motion:reduce){.editor-post-title.is-focus-mode .editor-post-title__input{transition-duration:0s;transition-delay:0s}}.editor-post-title.is-focus-mode .editor-post-title__input:focus{opacity:1}.editor-post-trash.components-button{margin-top:4px}.table-of-contents__popover.components-popover .components-popover__content{min-width:380px}.components-popover.table-of-contents__popover{z-index:99998}.table-of-contents__popover .components-popover__content>div{padding:16px}@media (min-width:600px){.table-of-contents__popover .components-popover__content{max-height:calc(100vh - 120px);overflow-y:auto}}.table-of-contents__popover hr{margin:10px -16px 0}.table-of-contents__wrapper:focus:before{content:"";display:block;position:absolute;top:0;right:0;bottom:0;left:0;box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);pointer-events:none}.table-of-contents__counts{display:flex;flex-wrap:wrap;margin:-8px 0 0}.table-of-contents__count{flex-basis:33%;display:flex;flex-direction:column;font-size:13px;color:#1e1e1e;padding-right:8px;margin-bottom:0;margin-top:8px}.table-of-contents__count:nth-child(4n){padding-right:0}.table-of-contents__number,.table-of-contents__popover .word-count{font-size:21px;font-weight:400;line-height:30px;color:#1e1e1e}.table-of-contents__title{display:block;margin-top:20px;font-size:15px;font-weight:600}.editor-template-validation-notice{display:flex;justify-content:space-between;align-items:center}.editor-template-validation-notice .components-button{margin-left:5px} \ No newline at end of file +@charset "UTF-8";:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}.editor-autocompleters__user .editor-autocompleters__no-avatar:before{font:normal 20px/1 dashicons;content:"";margin-right:5px;vertical-align:middle}.editor-autocompleters__user .editor-autocompleters__user-avatar{margin-right:8px;flex-grow:0;flex-shrink:0;max-width:none;width:24px;height:24px}.editor-autocompleters__user .editor-autocompleters__user-name{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:200px;flex-shrink:0;flex-grow:1}.editor-autocompleters__user .editor-autocompleters__user-slug{margin-left:8px;color:#757575;white-space:nowrap;text-overflow:ellipsis;overflow:none;max-width:100px;flex-grow:0;flex-shrink:0}.editor-autocompleters__user:hover .editor-autocompleters__user-slug{color:var(--wp-admin-theme-color)}.document-outline{margin:20px 0}.document-outline ul{margin:0;padding:0}.document-outline__item{display:flex;margin:4px 0}.document-outline__item a{text-decoration:none}.document-outline__item .document-outline__emdash:before{color:#ddd;margin-right:4px}.document-outline__item.is-h2 .document-outline__emdash:before{content:"—"}.document-outline__item.is-h3 .document-outline__emdash:before{content:"——"}.document-outline__item.is-h4 .document-outline__emdash:before{content:"———"}.document-outline__item.is-h5 .document-outline__emdash:before{content:"————"}.document-outline__item.is-h6 .document-outline__emdash:before{content:"—————"}.document-outline__button{cursor:pointer;background:none;border:none;display:flex;align-items:flex-start;margin:0 0 0 -1px;padding:2px 5px 2px 1px;color:#1e1e1e;text-align:left;border-radius:2px}.document-outline__button:disabled{cursor:default}.document-outline__button:focus{box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);outline:2px solid transparent}.document-outline__level{background:#ddd;color:#1e1e1e;border-radius:3px;font-size:13px;padding:1px 6px;margin-right:4px}.is-invalid .document-outline__level{background:#f0b849}.document-outline__item-content{padding:1px 0}.components-editor-notices__dismissible,.components-editor-notices__pinned{position:relative;left:0;top:0;right:0;color:#1e1e1e}.components-editor-notices__dismissible .components-notice,.components-editor-notices__pinned .components-notice{box-sizing:border-box;margin:0;border-bottom:1px solid rgba(0,0,0,.2);padding:0 12px;min-height:60px}.components-editor-notices__dismissible .components-notice .components-notice__dismiss,.components-editor-notices__pinned .components-notice .components-notice__dismiss{margin-top:12px}.entities-saved-states__panel{background:#fff;position:fixed;z-index:100001;top:46px;bottom:0;right:0;left:0;overflow:auto;box-sizing:border-box}.entities-saved-states__panel *,.entities-saved-states__panel :after,.entities-saved-states__panel :before{box-sizing:inherit}.entities-saved-states__panel .entities-saved-states__find-entity{display:none}.entities-saved-states__panel .entities-saved-states__find-entity-small{display:block}@media (min-width:782px){.entities-saved-states__panel{top:32px;left:auto;width:280px;border-left:1px solid #ddd}body.is-fullscreen-mode .entities-saved-states__panel{top:0}.entities-saved-states__panel .entities-saved-states__find-entity{display:block}.entities-saved-states__panel .entities-saved-states__find-entity-small{display:none}}.entities-saved-states__panel .entities-saved-states__panel-header{background:#fff;padding-left:8px;padding-right:8px;height:61px;border-bottom:1px solid #ddd;display:flex;align-items:center;align-content:space-between}.entities-saved-states__panel .entities-saved-states__panel-header .editor-entities-saved-states__save-button{margin:auto}.entities-saved-states__panel .entities-saved-states__panel-header .components-button.has-icon{position:absolute;right:8px}.entities-saved-states__panel .entities-saved-states__text-prompt{padding:16px 16px 4px}.editor-error-boundary{max-width:780px;padding:20px;margin:60px auto auto;box-shadow:0 10px 10px rgba(0,0,0,.25)}.editor-page-attributes__order{width:100%}.editor-page-attributes__order .components-base-control__field{display:flex;justify-content:space-between;align-items:center}.editor-page-attributes__order input{width:66px}.editor-post-excerpt__textarea{width:100%;margin-bottom:10px}.editor-post-featured-image{padding:0}.editor-post-featured-image__container{margin-bottom:1em;position:relative}.editor-post-featured-image .components-spinner{position:absolute;top:50%;left:50%;margin-top:-9px;margin-left:-9px}.editor-post-featured-image .components-button+.components-button{display:block;margin-top:1em}.editor-post-featured-image .components-responsive-wrapper__content{max-width:100%;width:auto}.editor-post-featured-image__preview,.editor-post-featured-image__toggle{display:block;width:100%;padding:0;transition:all .1s ease-out;box-shadow:0 0 0 0 var(--wp-admin-theme-color)}@media (prefers-reduced-motion:reduce){.editor-post-featured-image__preview,.editor-post-featured-image__toggle{transition-duration:0s;transition-delay:0s}}.editor-post-featured-image__preview{height:auto}.editor-post-featured-image__preview:not(:disabled):not([aria-disabled=true]):focus{box-shadow:0 0 0 4px var(--wp-admin-theme-color)}.editor-post-featured-image__toggle{border-radius:2px;background-color:#f0f0f0;min-height:90px;line-height:20px;padding:8px 0;text-align:center}.editor-post-featured-image__toggle:hover{background:#ddd;color:#1e1e1e}.editor-post-format{flex-direction:column;align-items:stretch;width:100%}.editor-post-format__content{display:inline-flex;justify-content:space-between;align-items:center;width:100%}.editor-post-format__suggestion{text-align:right;font-size:13px}.editor-post-last-revision__title{width:100%;font-weight:600}.editor-post-last-revision__title .dashicon{margin-right:5px}.components-button.editor-post-last-revision__title{height:100%}.components-button.editor-post-last-revision__title:active,.components-button.editor-post-last-revision__title:hover{background:#f0f0f0}.components-button.editor-post-last-revision__title:focus{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);border-radius:0}.editor-post-locked-modal{height:auto;padding-right:10px;padding-left:10px;padding-top:10px;max-width:480px}.editor-post-locked-modal .components-modal__header{height:36px}.editor-post-locked-modal .components-modal__content{height:auto}.editor-post-locked-modal__buttons{margin-top:10px}.editor-post-locked-modal__buttons .components-button{margin-right:5px}.editor-post-locked-modal__avatar{float:left;margin:5px 15px 5px 5px}.editor-post-publish-button__button.has-changes-dot:before{background:currentcolor;border-radius:4px;content:"";height:8px;margin:auto 5px auto -3px;width:8px}.editor-post-publish-panel{background:#fff}.editor-post-publish-panel__content{min-height:calc(100% - 144px)}.editor-post-publish-panel__content .components-spinner{display:block;margin:100px auto 0}.editor-post-publish-panel__header{background:#fff;padding-left:16px;padding-right:16px;height:61px;border-bottom:1px solid #ddd;display:flex;align-items:center;align-content:space-between}.editor-post-publish-panel__header .components-button{width:100%;justify-content:center}.editor-post-publish-panel__header .has-icon{margin-left:auto;width:auto}.components-site-card{display:flex;align-items:center;margin:16px 0}.components-site-icon{border:none;border-radius:2px;margin-right:12px;height:36px;width:36px}.components-site-name{display:block;font-size:14px}.components-site-home{display:block;color:#757575;font-size:12px}.editor-post-publish-panel__header-cancel-button,.editor-post-publish-panel__header-publish-button{flex-grow:1}@media (min-width:480px){.editor-post-publish-panel__header-cancel-button,.editor-post-publish-panel__header-publish-button{max-width:160px}}.editor-post-publish-panel__header-publish-button{padding-right:4px}.editor-post-publish-panel__header-cancel-button{padding-left:4px}.editor-post-publish-panel__header-published{flex-grow:1}.editor-post-publish-panel__footer{padding:16px}.components-button.editor-post-publish-panel__toggle.is-primary{display:inline-flex;align-items:center}.components-button.editor-post-publish-panel__toggle.is-primary.is-busy .dashicon{display:none}.components-button.editor-post-publish-panel__toggle.is-primary .dashicon{margin-right:-4px}.editor-post-publish-panel__link{font-weight:400;padding-left:4px}.editor-post-publish-panel__prepublish{padding:16px}.editor-post-publish-panel__prepublish strong{color:#1e1e1e}.editor-post-publish-panel__prepublish .components-panel__body{background:#fff;margin-left:-16px;margin-right:-16px}.editor-post-publish-panel__prepublish .editor-post-visibility__dialog-legend{display:none}.post-publish-panel__postpublish .components-panel__body{border-bottom:1px solid #e0e0e0;border-top:none}.post-publish-panel__postpublish-buttons{display:flex;align-content:space-between;flex-wrap:wrap;margin:-5px}.post-publish-panel__postpublish-buttons>*{flex-grow:1;margin:5px}.post-publish-panel__postpublish-buttons .components-button{height:auto;justify-content:center;padding:3px 10px 4px;line-height:1.6;text-align:center;white-space:normal}.post-publish-panel__postpublish-buttons .components-clipboard-button{width:100%}.post-publish-panel__postpublish-post-address{margin-bottom:16px}.post-publish-panel__postpublish-post-address input[readonly]{padding:10px;background:#ddd;overflow:hidden;text-overflow:ellipsis}.post-publish-panel__postpublish-header{font-weight:500}.post-publish-panel__postpublish-subheader{margin:0 0 8px}.post-publish-panel__tip{color:#f0b849}.editor-post-saved-state{display:flex;align-items:center;width:28px;padding:12px 4px;color:#757575;overflow:hidden;white-space:nowrap}.editor-post-saved-state svg{display:inline-block;flex:0 0 auto;fill:currentColor;margin-right:8px}@media (min-width:600px){.editor-post-saved-state{width:auto;padding:8px 12px;text-indent:inherit}.editor-post-saved-state svg{margin-right:4px}}.editor-post-taxonomies__hierarchical-terms-list{max-height:14em;overflow:auto;margin-left:-6px;padding-left:6px;margin-top:-6px;padding-top:6px}.editor-post-taxonomies__hierarchical-terms-choice{margin-bottom:8px}.editor-post-taxonomies__hierarchical-terms-subchoices{margin-top:8px;margin-left:16px}.components-button.editor-post-taxonomies__hierarchical-terms-add,.components-button.editor-post-taxonomies__hierarchical-terms-submit{margin-top:12px}.editor-post-taxonomies__hierarchical-terms-label{display:inline-block;margin-top:12px}.editor-post-taxonomies__hierarchical-terms-input{margin-top:8px;width:100%}.editor-post-taxonomies__hierarchical-terms-filter{margin-bottom:8px;width:100%}.editor-post-taxonomies__flat-term-most-used .editor-post-taxonomies__flat-term-most-used-label{font-weight:400;margin-bottom:12px}.editor-post-taxonomies__flat-term-most-used-list{margin:0}.editor-post-taxonomies__flat-term-most-used-list li{display:inline-block;margin-right:8px}.editor-post-taxonomies__flat-term-most-used-list .components-button{font-size:12px}.edit-post-text-editor__body textarea.editor-post-text-editor{border:1px solid #949494;border-radius:0;display:block;margin:0;width:100%;box-shadow:none;resize:none;overflow:hidden;font-family:Menlo,Consolas,monaco,monospace;line-height:2.4;min-height:200px;transition:border .1s ease-out,box-shadow .1s linear;padding:16px;font-size:16px!important}@media (prefers-reduced-motion:reduce){.edit-post-text-editor__body textarea.editor-post-text-editor{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.edit-post-text-editor__body textarea.editor-post-text-editor{padding:24px;font-size:15px!important}}.edit-post-text-editor__body textarea.editor-post-text-editor:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);position:relative}.edit-post-text-editor__body textarea.editor-post-text-editor::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.edit-post-text-editor__body textarea.editor-post-text-editor::-moz-placeholder{color:rgba(30,30,30,.62);opacity:1}.edit-post-text-editor__body textarea.editor-post-text-editor:-ms-input-placeholder{color:rgba(30,30,30,.62)}.edit-post-post-visibility__dialog,.editor-post-visibility__dialog-fieldset{padding:0 4px 4px}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-legend,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-legend{font-weight:600;margin-bottom:1em;margin-top:.5em;padding:0}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio],.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;padding:6px 8px;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:2px;font-size:16px;line-height:normal;border:1px solid #1e1e1e;margin-right:12px;transition:none;border-radius:50%;width:24px;height:24px;margin-top:2px}@media (prefers-reduced-motion:reduce){.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio],.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio],.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]{font-size:13px;line-height:normal}}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio]:focus,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color)}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio]::-webkit-input-placeholder,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio]::-moz-placeholder,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]::-moz-placeholder{opacity:1;color:rgba(30,30,30,.62)}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio]:-ms-input-placeholder,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]:-ms-input-placeholder{color:rgba(30,30,30,.62)}.is-dark-theme .edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio]::-webkit-input-placeholder,.is-dark-theme .editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio]::-moz-placeholder,.is-dark-theme .editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio]:-ms-input-placeholder,.is-dark-theme .editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}@media (min-width:600px){.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio],.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]{height:20px;width:20px}}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio]:checked:before,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]:checked:before{box-sizing:inherit;width:8px;height:8px;transform:translate(7px,7px);margin:0;background-color:#fff;border:4px solid #fff}@media (min-width:600px){.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio]:checked:before,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]:checked:before{transform:translate(5px,5px)}}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio]:focus,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px var(--wp-admin-theme-color);outline:2px solid transparent}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio]:checked,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio]:checked{background:var(--wp-admin-theme-color);border-color:var(--wp-admin-theme-color)}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-label,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-label{font-weight:600}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-info,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-info{margin-top:0;margin-left:32px}.edit-post-post-visibility__dialog .editor-post-visibility__choice:last-child .editor-post-visibility__dialog-info,.editor-post-visibility__dialog-fieldset .editor-post-visibility__choice:last-child .editor-post-visibility__dialog-info{margin-bottom:0}.editor-post-visibility__dialog-password .editor-post-visibility__dialog-password-input[type=text]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;padding:6px 8px;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:2px;border:1px solid #757575;font-size:16px;line-height:normal;margin-left:36px;margin-top:8px}@media (prefers-reduced-motion:reduce){.editor-post-visibility__dialog-password .editor-post-visibility__dialog-password-input[type=text]{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.editor-post-visibility__dialog-password .editor-post-visibility__dialog-password-input[type=text]{font-size:13px;line-height:normal}}.editor-post-visibility__dialog-password .editor-post-visibility__dialog-password-input[type=text]:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color);outline:2px solid transparent}.editor-post-visibility__dialog-password .editor-post-visibility__dialog-password-input[type=text]::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.editor-post-visibility__dialog-password .editor-post-visibility__dialog-password-input[type=text]::-moz-placeholder{opacity:1;color:rgba(30,30,30,.62)}.editor-post-visibility__dialog-password .editor-post-visibility__dialog-password-input[type=text]:-ms-input-placeholder{color:rgba(30,30,30,.62)}.is-dark-theme .editor-post-visibility__dialog-password .editor-post-visibility__dialog-password-input[type=text]::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .editor-post-visibility__dialog-password .editor-post-visibility__dialog-password-input[type=text]::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .editor-post-visibility__dialog-password .editor-post-visibility__dialog-password-input[type=text]:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}.editor-post-title{position:relative}.editor-post-title .editor-post-title__input{display:block;width:100%;margin:0;box-shadow:none;background:transparent;transition:border .1s ease-out,box-shadow .1s linear;padding:19px 0;word-break:keep-all;font-family:inherit;color:inherit;border-color:transparent;border-style:solid;border-width:1px 0;border-radius:0;outline:1px solid transparent;font-size:2.44em;font-weight:800;line-height:1.4}@media (prefers-reduced-motion:reduce){.editor-post-title .editor-post-title__input{transition-duration:0s;transition-delay:0s}}@media (min-width:600px){.editor-post-title .editor-post-title__input{border-width:1px}}.editor-post-title .editor-post-title__input::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.editor-post-title .editor-post-title__input::-moz-placeholder{color:rgba(30,30,30,.62);opacity:1}.editor-post-title .editor-post-title__input:-ms-input-placeholder{color:rgba(30,30,30,.62)}.is-dark-theme .editor-post-title .editor-post-title__input::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .editor-post-title .editor-post-title__input::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .editor-post-title .editor-post-title__input:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}.editor-post-title .editor-post-title__input:focus{border:1px solid transparent;outline:1px solid transparent;box-shadow:none}.editor-post-title.is-focus-mode .editor-post-title__input{opacity:.5;transition:opacity .1s linear}@media (prefers-reduced-motion:reduce){.editor-post-title.is-focus-mode .editor-post-title__input{transition-duration:0s;transition-delay:0s}}.editor-post-title.is-focus-mode .editor-post-title__input:focus{opacity:1}.editor-post-trash.components-button{margin-top:4px}.table-of-contents__popover.components-popover .components-popover__content{min-width:380px}.components-popover.table-of-contents__popover{z-index:99998}.table-of-contents__popover .components-popover__content>div{padding:16px}@media (min-width:600px){.table-of-contents__popover .components-popover__content{max-height:calc(100vh - 120px);overflow-y:auto}}.table-of-contents__popover hr{margin:10px -16px 0}.table-of-contents__wrapper:focus:before{content:"";display:block;position:absolute;top:0;right:0;bottom:0;left:0;box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);pointer-events:none}.table-of-contents__counts{display:flex;flex-wrap:wrap;margin:-8px 0 0}.table-of-contents__count{flex-basis:33%;display:flex;flex-direction:column;font-size:13px;color:#1e1e1e;padding-right:8px;margin-bottom:0;margin-top:8px}.table-of-contents__count:nth-child(4n){padding-right:0}.table-of-contents__number,.table-of-contents__popover .word-count{font-size:21px;font-weight:400;line-height:30px;color:#1e1e1e}.table-of-contents__title{display:block;margin-top:20px;font-size:15px;font-weight:600}.editor-template-validation-notice{display:flex;justify-content:space-between;align-items:center}.editor-template-validation-notice .components-button{margin-left:5px} \ No newline at end of file diff --git a/wp-includes/default-filters.php b/wp-includes/default-filters.php index 5b312b54f1..b91135c151 100644 --- a/wp-includes/default-filters.php +++ b/wp-includes/default-filters.php @@ -217,6 +217,8 @@ add_filter( 'widget_text_content', 'do_shortcode', 11 ); // Runs after wpautop() add_filter( 'widget_block_content', 'do_blocks', 9 ); add_filter( 'widget_block_content', 'do_shortcode', 11 ); +add_filter( 'block_type_metadata', 'wp_migrate_old_typography_shape' ); + add_filter( 'wp_get_custom_css', 'wp_replace_insecure_home_url' ); // RSS filters. diff --git a/wp-includes/js/dist/block-editor.js b/wp-includes/js/dist/block-editor.js index 1efb5fc830..ab18c51934 100644 --- a/wp-includes/js/dist/block-editor.js +++ b/wp-includes/js/dist/block-editor.js @@ -6313,13 +6313,6 @@ module.exports = computedStyle; /***/ }), -/***/ "ouCq": -/***/ (function(module, exports) { - -(function() { module.exports = window["wp"]["blockSerializationDefaultParser"]; }()); - -/***/ }), - /***/ "pPDe": /***/ (function(module, __webpack_exports__, __webpack_require__) { @@ -7236,7 +7229,7 @@ __webpack_require__.d(selectors_namespaceObject, "getInserterItems", function() __webpack_require__.d(selectors_namespaceObject, "getBlockTransformItems", function() { return selectors_getBlockTransformItems; }); __webpack_require__.d(selectors_namespaceObject, "hasInserterItems", function() { return selectors_hasInserterItems; }); __webpack_require__.d(selectors_namespaceObject, "__experimentalGetAllowedBlocks", function() { return selectors_experimentalGetAllowedBlocks; }); -__webpack_require__.d(selectors_namespaceObject, "__experimentalGetParsedPattern", function() { return selectors_experimentalGetParsedPattern; }); +__webpack_require__.d(selectors_namespaceObject, "__experimentalGetParsedPattern", function() { return __experimentalGetParsedPattern; }); __webpack_require__.d(selectors_namespaceObject, "__experimentalGetAllowedPatterns", function() { return selectors_experimentalGetAllowedPatterns; }); __webpack_require__.d(selectors_namespaceObject, "__experimentalGetPatternsByBlockTypes", function() { return selectors_experimentalGetPatternsByBlockTypes; }); __webpack_require__.d(selectors_namespaceObject, "__experimentalGetPatternTransformItems", function() { return selectors_experimentalGetPatternTransformItems; }); @@ -9209,9 +9202,6 @@ function lastBlockInserted(state = {}, action) { // EXTERNAL MODULE: ./node_modules/rememo/es/rememo.js var rememo = __webpack_require__("pPDe"); -// EXTERNAL MODULE: external ["wp","blockSerializationDefaultParser"] -var external_wp_blockSerializationDefaultParser_ = __webpack_require__("ouCq"); - // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/store/selectors.js @@ -9227,7 +9217,6 @@ var external_wp_blockSerializationDefaultParser_ = __webpack_require__("ouCq"); - /** * A block selection object. * @@ -10856,7 +10845,7 @@ const checkAllowListRecursive = (blocks, allowedBlockTypes) => { return true; }; -const selectors_experimentalGetParsedPattern = Object(rememo["a" /* default */])((state, patternName) => { +const __experimentalGetParsedPattern = Object(rememo["a" /* default */])((state, patternName) => { const patterns = state.settings.__experimentalBlockPatterns; const pattern = patterns.find(({ name @@ -10875,17 +10864,12 @@ const getAllAllowedPatterns = Object(rememo["a" /* default */])(state => { const { allowedBlockTypes } = selectors_getSettings(state); - const parsedPatterns = patterns.map(pattern => ({ ...pattern, - // We only need the overall block structure of the pattern. So, for - // performance reasons, we can parse the pattern's content using - // the raw blocks parser, also known as the "stage I" block parser. - // This is about 250x faster than the full parse that the Block API - // offers. - blockNodes: Object(external_wp_blockSerializationDefaultParser_["parse"])(pattern.content) - })); + const parsedPatterns = patterns.map(({ + name + }) => __experimentalGetParsedPattern(state, name)); const allowedPatterns = parsedPatterns.filter(({ - blockNodes - }) => checkAllowListRecursive(blockNodes, allowedBlockTypes)); + blocks + }) => checkAllowListRecursive(blocks, allowedBlockTypes)); return allowedPatterns; }, state => [state.settings.__experimentalBlockPatterns, state.settings.allowedBlockTypes]); /** @@ -10900,10 +10884,10 @@ const getAllAllowedPatterns = Object(rememo["a" /* default */])(state => { const selectors_experimentalGetAllowedPatterns = Object(rememo["a" /* default */])((state, rootClientId = null) => { const availableParsedPatterns = getAllAllowedPatterns(state); const patternsAllowed = Object(external_lodash_["filter"])(availableParsedPatterns, ({ - blockNodes - }) => blockNodes.every(({ - blockName - }) => selectors_canInsertBlockType(state, blockName, rootClientId))); + blocks + }) => blocks.every(({ + name + }) => selectors_canInsertBlockType(state, name, rootClientId))); return patternsAllowed; }, (state, rootClientId) => [state.settings.__experimentalBlockPatterns, state.settings.allowedBlockTypes, state.settings.templateLock, state.blockListSettings[rootClientId], state.blocks.byClientId[rootClientId]]); /** @@ -13659,9 +13643,13 @@ const getColorObjectByColorValue = (colors, colorValue) => { function getColorClassName(colorContextName, colorSlug) { if (!colorContextName || !colorSlug) { return undefined; - } + } // We don't want to use kebabCase from lodash here + // see https://github.com/WordPress/gutenberg/issues/32347 + // However, we need to make sure the generated class + // doesn't contain spaces. - return `has-${Object(external_lodash_["kebabCase"])(colorSlug)}-${colorContextName}`; + + return `has-${colorSlug.replace(/\s+/g, '-')}-${colorContextName.replace(/\s+/g, '-')}`; } /** * Given an array of color objects and a color value returns the color value of the most readable color in the array. @@ -15223,306 +15211,6 @@ Object(external_wp_hooks_["addFilter"])('blocks.getSaveContent.extraProps', 'cor 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); -// 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/font-sizes/utils.js -/** - * 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. - * - * @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 getFontSize = (fontSizes, fontSizeAttribute, customFontSizeAttribute) => { - if (fontSizeAttribute) { - const fontSizeObject = Object(external_lodash_["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 = Object(external_lodash_["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-${Object(external_lodash_["kebabCase"])(fontSizeSlug)}-font-size`; -} - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/font-sizes/font-size-picker.js - - - -/** - * WordPress dependencies - */ - -/** - * Internal dependencies - */ - - - -function FontSizePicker(props) { - const fontSizes = useSetting('typography.fontSizes'); - const disableCustomFontSizes = !useSetting('typography.customFontSize'); - return Object(external_wp_element_["createElement"])(external_wp_components_["FontSizePicker"], Object(esm_extends["a" /* default */])({}, 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 - - -/** - * WordPress dependencies - */ - - - - -/** - * Internal dependencies - */ - - - - -const FONT_SIZE_SUPPORT_KEY = 'fontSize'; -/** - * Filters registered block settings, extending attributes to include - * `fontSize` and `fontWeight` attributes. - * - * @param {Object} settings Original block settings - * @return {Object} Filtered block settings - */ - -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. - - - 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 - */ - - -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, '__experimentalSkipFontSizeSerialization')) { - return props; - } // Use TokenList to dedupe classes. - - - const classes = new external_wp_tokenList_default.a(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 - */ - - -function font_size_addEditProps(settings) { - if (!Object(external_wp_blocks_["hasBlockSupport"])(settings, FONT_SIZE_SUPPORT_KEY)) { - return settings; - } - - const existingGetEditWrapperProps = settings.getEditWrapperProps; - - settings.getEditWrapperProps = attributes => { - let props = {}; - - if (existingGetEditWrapperProps) { - props = existingGetEditWrapperProps(attributes); - } - - 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. - */ - - -function FontSizeEdit(props) { - var _style$typography, _style$typography2; - - const { - attributes: { - fontSize, - style - }, - setAttributes - } = props; - const isDisabled = useIsFontSizeDisabled(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 - }); - }; - - if (isDisabled) { - return null; - } - - 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 Object(external_wp_element_["createElement"])(font_size_picker, { - onChange: onChange, - value: fontSizeValue - }); -} -/** - * 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({ - name: blockName -} = {}) { - const fontSizes = useSetting('typography.fontSizes'); - const hasFontSizes = !!(fontSizes !== null && fontSizes !== void 0 && fontSizes.length); - return !Object(external_wp_blocks_["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 - */ - -const withFontSizeInlineStyles = Object(external_wp_compose_["createHigherOrderComponent"])(BlockListBlock => props => { - var _style$typography3, _style$typography4; - - 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 (!Object(external_wp_blocks_["hasBlockSupport"])(blockName, FONT_SIZE_SUPPORT_KEY) || Object(external_wp_blocks_["hasBlockSupport"])(blockName, '__experimentalSkipFontSizeSerialization') || !fontSize || style !== null && style !== void 0 && (_style$typography3 = style.typography) !== null && _style$typography3 !== void 0 && _style$typography3.fontSize) { - return Object(external_wp_element_["createElement"])(BlockListBlock, props); - } - - const fontSizeValue = getFontSize(fontSizes, fontSize, style === null || style === void 0 ? void 0 : (_style$typography4 = style.typography) === null || _style$typography4 === void 0 ? void 0 : _style$typography4.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); - // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/format-underline.js @@ -15607,7 +15295,7 @@ function TextDecorationControl({ * decorations e.g. settings found in `block.json`. */ -const TEXT_DECORATION_SUPPORT_KEY = '__experimentalTextDecoration'; +const TEXT_DECORATION_SUPPORT_KEY = 'typography.__experimentalTextDecoration'; /** * Inspector control panel containing the text decoration options. * @@ -15775,7 +15463,7 @@ function TextTransformControl({ * transforms e.g. settings found in `block.json`. */ -const TEXT_TRANSFORM_SUPPORT_KEY = '__experimentalTextTransform'; +const TEXT_TRANSFORM_SUPPORT_KEY = 'typography.__experimentalTextTransform'; /** * Inspector control panel containing the text transform options. * @@ -15985,7 +15673,7 @@ function LineHeightControl({ -const LINE_HEIGHT_SUPPORT_KEY = 'lineHeight'; +const LINE_HEIGHT_SUPPORT_KEY = 'typography.lineHeight'; /** * Inspector control panel containing the line height related configuration * @@ -16227,12 +15915,12 @@ function FontAppearanceControl(props) { * Key within block settings' support array indicating support for font style. */ -const FONT_STYLE_SUPPORT_KEY = '__experimentalFontStyle'; +const FONT_STYLE_SUPPORT_KEY = 'typography.__experimentalFontStyle'; /** * Key within block settings' support array indicating support for font weight. */ -const FONT_WEIGHT_SUPPORT_KEY = '__experimentalFontWeight'; +const FONT_WEIGHT_SUPPORT_KEY = 'typography.__experimentalFontWeight'; /** * Inspector control panel containing the font appearance options. * @@ -16399,7 +16087,7 @@ function FontFamilyControl({ -const FONT_FAMILY_SUPPORT_KEY = '__experimentalFontFamily'; +const FONT_FAMILY_SUPPORT_KEY = 'typography.__experimentalFontFamily'; const getFontFamilyFromAttributeValue = (fontFamilies, value) => { const attributeParsed = /var:preset\|font-family\|(.+)/.exec(value); @@ -16473,6 +16161,310 @@ function useIsFontFamilyDisabled({ return !fontFamilies || fontFamilies.length === 0 || !Object(external_wp_blocks_["hasBlockSupport"])(name, FONT_FAMILY_SUPPORT_KEY); } +// 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/font-sizes/utils.js +/** + * 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. + * + * @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 getFontSize = (fontSizes, fontSizeAttribute, customFontSizeAttribute) => { + if (fontSizeAttribute) { + const fontSizeObject = Object(external_lodash_["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 = Object(external_lodash_["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 and ending with '-font-size'. + */ + +function getFontSizeClass(fontSizeSlug) { + if (!fontSizeSlug) { + return; + } // We don't want to use kebabCase from lodash here + // see https://github.com/WordPress/gutenberg/issues/32347 + // However, we need to make sure the generated class + // doesn't contain spaces. + + + return `has-${fontSizeSlug.replace(/\s+/g, '-')}-font-size`; +} + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/font-sizes/font-size-picker.js + + + +/** + * WordPress dependencies + */ + +/** + * Internal dependencies + */ + + + +function FontSizePicker(props) { + const fontSizes = useSetting('typography.fontSizes'); + const disableCustomFontSizes = !useSetting('typography.customFontSize'); + return Object(external_wp_element_["createElement"])(external_wp_components_["FontSizePicker"], Object(esm_extends["a" /* default */])({}, 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 + + +/** + * WordPress dependencies + */ + + + + +/** + * Internal dependencies + */ + + + + +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 + */ + +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. + + + 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 + */ + + +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. + + + const classes = new external_wp_tokenList_default.a(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 + */ + + +function font_size_addEditProps(settings) { + if (!Object(external_wp_blocks_["hasBlockSupport"])(settings, FONT_SIZE_SUPPORT_KEY)) { + return settings; + } + + const existingGetEditWrapperProps = settings.getEditWrapperProps; + + settings.getEditWrapperProps = attributes => { + let props = {}; + + if (existingGetEditWrapperProps) { + props = existingGetEditWrapperProps(attributes); + } + + 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. + */ + + +function FontSizeEdit(props) { + var _style$typography, _style$typography2; + + const { + attributes: { + fontSize, + style + }, + setAttributes + } = props; + const isDisabled = useIsFontSizeDisabled(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 + }); + }; + + if (isDisabled) { + return null; + } + + 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 Object(external_wp_element_["createElement"])(font_size_picker, { + onChange: onChange, + value: fontSizeValue + }); +} +/** + * 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({ + name: blockName +} = {}) { + const fontSizes = useSetting('typography.fontSizes'); + const hasFontSizes = !!(fontSizes !== null && fontSizes !== void 0 && fontSizes.length); + return !Object(external_wp_blocks_["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 + */ + +const withFontSizeInlineStyles = Object(external_wp_compose_["createHigherOrderComponent"])(BlockListBlock => props => { + var _style$typography3, _style$typography4; + + 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 (!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$typography3 = style.typography) !== null && _style$typography3 !== void 0 && _style$typography3.fontSize) { + return Object(external_wp_element_["createElement"])(BlockListBlock, props); + } + + const fontSizeValue = getFontSize(fontSizes, fontSize, style === null || style === void 0 ? void 0 : (_style$typography4 = style.typography) === null || _style$typography4 === void 0 ? void 0 : _style$typography4.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); + // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/typography.js @@ -16499,6 +16491,7 @@ function useIsFontFamilyDisabled({ +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]; function TypographyPanel(props) { const isDisabled = useIsTypographyDisabled(props); @@ -16838,7 +16831,6 @@ function useCustomSides(blockName, feature) { - const styleSupportKeys = [...TYPOGRAPHY_SUPPORT_KEYS, BORDER_SUPPORT_KEY, COLOR_SUPPORT_KEY, SPACING_SUPPORT_KEY]; const hasStyleSupport = blockType => styleSupportKeys.some(key => Object(external_wp_blocks_["hasBlockSupport"])(blockType, key)); @@ -16921,12 +16913,7 @@ function style_addAttribute(settings) { const skipSerializationPaths = { [`${BORDER_SUPPORT_KEY}.__experimentalSkipSerialization`]: ['border'], [`${COLOR_SUPPORT_KEY}.__experimentalSkipSerialization`]: [COLOR_SUPPORT_KEY], - [`__experimentalSkipFontSizeSerialization`]: ['typography', 'fontSize'], - [`__experimentalSkipTypographySerialization`]: Object(external_lodash_["without"])(TYPOGRAPHY_SUPPORT_KEYS, FONT_SIZE_SUPPORT_KEY).map(feature => { - var _find; - - return (_find = Object(external_lodash_["find"])(external_wp_blocks_["__EXPERIMENTAL_STYLE_PROPERTY"], property => Object(external_lodash_["isEqual"])(property.support, [feature]))) === null || _find === void 0 ? void 0 : _find.value; - }) + [`${TYPOGRAPHY_SUPPORT_KEY}.__experimentalSkipSerialization`]: [TYPOGRAPHY_SUPPORT_KEY] }; /** * Override props assigned to save component to inject the CSS variables definition. @@ -17005,19 +16992,14 @@ const withElementsStyles = Object(external_wp_compose_["createHigherOrderCompone 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; - - if (!elements) { - return Object(external_wp_element_["createElement"])(BlockListBlock, props); - } - 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); - return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])("style", { + return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, elements && Object(external_wp_element_["createElement"])("style", { dangerouslySetInnerHTML: { __html: styles } }), Object(external_wp_element_["createElement"])(BlockListBlock, Object(esm_extends["a" /* default */])({}, props, { - className: classnames_default()(props.classname, blockElementsContainerIdentifier) + className: elements ? classnames_default()(props.className, blockElementsContainerIdentifier) : props.className }))); }); Object(external_wp_hooks_["addFilter"])('blocks.registerBlockType', 'core/style/addAttribute', style_addAttribute); @@ -17326,7 +17308,7 @@ const withDuotoneStyles = Object(external_wp_compose_["createHigherOrderComponen const selectors = duotoneSupport.split(','); const selectorsScoped = selectors.map(selector => `.${id} ${selector.trim()}`); const selectorsGroup = selectorsScoped.join(', '); - const className = classnames_default()(props === null || props === void 0 ? void 0 : props.classname, id); + const className = classnames_default()(props === null || props === void 0 ? void 0 : props.className, id); return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(DuotoneFilter, { selector: selectorsGroup, id: id, @@ -20498,9 +20480,7 @@ function BlockHTML({ /* harmony default export */ var block_html = (BlockHTML); // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/utils/dom.js -// Consider the block appender to be a child block of its own, which also has -// this class. -const BLOCK_SELECTOR = '.wp-block'; +const BLOCK_SELECTOR = '.block-editor-block-list__block'; /** * Returns true if two elements are contained within the same block. * @@ -26394,13 +26374,11 @@ const getRetainedBlockAttributes = (name, attributes) => { */ - /** * Internal dependencies */ - /** * Mutate the matched block's attributes by getting * which block type's attributes to retain and prioritize @@ -26480,10 +26458,7 @@ const getPatternTransformedBlocks = (selectedBlocks, patternBlocks) => { // TODO tests const useTransformedPatterns = (patterns, selectedBlocks) => { - const parsedPatterns = Object(external_wp_data_["useSelect"])(select => patterns.map(({ - name - }) => select(store).__experimentalGetParsedPattern(name)), [patterns]); - return Object(external_wp_element_["useMemo"])(() => parsedPatterns.reduce((accumulator, _pattern) => { + return Object(external_wp_element_["useMemo"])(() => patterns.reduce((accumulator, _pattern) => { const transformedBlocks = getPatternTransformedBlocks(selectedBlocks, _pattern.blocks); if (transformedBlocks) { @@ -26493,7 +26468,7 @@ const useTransformedPatterns = (patterns, selectedBlocks) => { } return accumulator; - }, []), [parsedPatterns, selectedBlocks]); + }, []), [patterns, selectedBlocks]); }; /* harmony default export */ var use_transformed_patterns = (useTransformedPatterns); @@ -28442,7 +28417,8 @@ function useBlockProps(props = {}, { const { clientId, className, - wrapperProps = {} + wrapperProps = {}, + isAligned } = Object(external_wp_element_["useContext"])(BlockListBlockContext); const { index, @@ -28500,7 +28476,9 @@ function useBlockProps(props = {}, { 'data-type': name, 'data-title': blockTitle, className: classnames_default()( // The wp-block className is important for editor styles. - 'wp-block block-editor-block-list__block', className, props.className, wrapperProps.className, useBlockClassNames(clientId), useBlockDefaultClassName(clientId), useBlockCustomClassName(clientId), useBlockMovingModeClassNames(clientId)), + 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 } @@ -28664,7 +28642,8 @@ function block_BlockListBlock({ const value = { clientId, className, - wrapperProps: Object(external_lodash_["omit"])(wrapperProps, ['data-align']) + wrapperProps: Object(external_lodash_["omit"])(wrapperProps, ['data-align']), + isAligned }; const memoizedValue = Object(external_wp_element_["useMemo"])(() => value, Object.values(value)); return Object(external_wp_element_["createElement"])(BlockListBlockContext.Provider, { @@ -31119,7 +31098,7 @@ function RichTextWrapper({ __unstableMultilineTag: multilineTag, __unstableDisableFormats: disableFormats, preserveWhiteSpace, - __unstableDependencies: dependencies, + __unstableDependencies: [...dependencies, tagName], __unstableAfterParse: addEditorOnlyFormats, __unstableBeforeSerialize: removeEditorOnlyFormats, __unstableAddInvisibleFormats: addInvisibleFormats @@ -31486,21 +31465,15 @@ function usePatternsSetup(clientId, blockName, filterPatternsFn) { const { getBlockRootClientId, __experimentalGetPatternsByBlockTypes, - __experimentalGetParsedPattern, __experimentalGetAllowedPatterns } = select(store); const rootClientId = getBlockRootClientId(clientId); - let patterns = []; if (filterPatternsFn) { - patterns = __experimentalGetAllowedPatterns(rootClientId).filter(filterPatternsFn); - } else { - patterns = __experimentalGetPatternsByBlockTypes(blockName, rootClientId); + return __experimentalGetAllowedPatterns(rootClientId).filter(filterPatternsFn); } - return patterns.map(({ - name - }) => __experimentalGetParsedPattern(name)); + return __experimentalGetPatternsByBlockTypes(blockName, rootClientId); }, [clientId, blockName, filterPatternsFn]); } diff --git a/wp-includes/js/dist/block-editor.min.js b/wp-includes/js/dist/block-editor.min.js index 426d3a9650..cec0ac2eea 100644 --- a/wp-includes/js/dist/block-editor.min.js +++ b/wp-includes/js/dist/block-editor.min.js @@ -9,4 +9,4 @@ this.wp=this.wp||{},this.wp.blockEditor=function(e){var t={};function n(o){if(t[ 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)}()},Tqx9:function(e,t){e.exports=window.wp.primitives},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},VbXa:function(e,t,n){var o=n("SksO");e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,o(e,t)},e.exports.default=e.exports,e.exports.__esModule=!0},WbBG:function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},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},YLtl:function(e,t){e.exports=window.lodash},ZO3Q:function(e,t,n){"use strict";function o(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(t,"__esModule",{value:!0});var r=o(n("pVnL")),c=o(n("8OQS")),l=n("cDcd"),i=o(l),a=o(n("VbXa")),s=o(n("PJYZ")),u={arr:Array.isArray,obj:function(e){return"[object Object]"===Object.prototype.toString.call(e)},fun:function(e){return"function"==typeof e},str:function(e){return"string"==typeof e},num:function(e){return"number"==typeof e},und:function(e){return void 0===e},nul:function(e){return null===e},set:function(e){return e instanceof Set},map:function(e){return e instanceof Map},equ:function(e,t){if(typeof e!=typeof t)return!1;if(u.str(e)||u.num(e))return e===t;if(u.obj(e)&&u.obj(t)&&Object.keys(e).length+Object.keys(t).length===0)return!0;var n;for(n in e)if(!(n in t))return!1;for(n in t)if(e[n]!==t[n])return!1;return!u.und(n)||e===t}};function d(){var e=l.useState(!1)[1];return l.useCallback((function(){return e((function(e){return!e}))}),[])}function b(e,t){return u.und(e)||u.nul(e)?t:e}function m(e){return u.und(e)?[]:u.arr(e)?e:[e]}function p(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return u.fun(e)?e.apply(void 0,n):e}function f(e){var t=function(e){return e.to,e.from,e.config,e.onStart,e.onRest,e.onFrame,e.children,e.reset,e.reverse,e.force,e.immediate,e.delay,e.attach,e.destroyed,e.interpolateTo,e.ref,e.lazy,c(e,["to","from","config","onStart","onRest","onFrame","children","reset","reverse","force","immediate","delay","attach","destroyed","interpolateTo","ref","lazy"])}(e);if(u.und(t))return r({to:t},e);var n=Object.keys(e).reduce((function(n,o){var c;return u.und(t[o])?r({},n,((c={})[o]=e[o],c)):n}),{});return r({to:t},n)}var g,h,O=function(){function e(){this.payload=void 0,this.children=[]}var t=e.prototype;return t.getAnimatedValue=function(){return this.getValue()},t.getPayload=function(){return this.payload||this},t.attach=function(){},t.detach=function(){},t.getChildren=function(){return this.children},t.addChild=function(e){0===this.children.length&&this.attach(),this.children.push(e)},t.removeChild=function(e){var t=this.children.indexOf(e);this.children.splice(t,1),0===this.children.length&&this.detach()},e}(),j=function(e){function t(){for(var t,n=arguments.length,o=new Array(n),r=0;r<n;r++)o[r]=arguments[r];return(t=e.call.apply(e,[this].concat(o))||this).payload=[],t.attach=function(){return t.payload.forEach((function(e){return e instanceof O&&e.addChild(s(t))}))},t.detach=function(){return t.payload.forEach((function(e){return e instanceof O&&e.removeChild(s(t))}))},t}return a(t,e),t}(O),v=function(e){function t(){for(var t,n=arguments.length,o=new Array(n),r=0;r<n;r++)o[r]=arguments[r];return(t=e.call.apply(e,[this].concat(o))||this).payload={},t.attach=function(){return Object.values(t.payload).forEach((function(e){return e instanceof O&&e.addChild(s(t))}))},t.detach=function(){return Object.values(t.payload).forEach((function(e){return e instanceof O&&e.removeChild(s(t))}))},t}a(t,e);var n=t.prototype;return n.getValue=function(e){void 0===e&&(e=!1);var t={};for(var n in this.payload){var o=this.payload[n];(!e||o instanceof O)&&(t[n]=o instanceof O?o[e?"getAnimatedValue":"getValue"]():o)}return t},n.getAnimatedValue=function(){return this.getValue(!0)},t}(O);function k(e,t){g={fn:e,transform:t}}function _(e){h=e}var y,E=function(e){return"undefined"!=typeof window?window.requestAnimationFrame(e):-1},C=function(e){"undefined"!=typeof window&&window.cancelAnimationFrame(e)};function S(e){y=e}var w,B=function(){return Date.now()};function I(e){w=e}var x,T,N=function(e){return e.current};function P(e){x=e}var L=Object.freeze({get applyAnimatedValues(){return g},injectApplyAnimatedValues:k,get colorNames(){return h},injectColorNames:_,get requestFrame(){return E},get cancelFrame(){return C},injectFrame:function(e,t){E=e,C=t},get interpolation(){return y},injectStringInterpolator:S,get now(){return B},injectNow:function(e){B=e},get defaultElement(){return w},injectDefaultElement:I,get animatedApi(){return N},injectAnimatedApi:function(e){N=e},get createAnimatedStyle(){return x},injectCreateAnimatedStyle:P,get manualFrameloop(){return T},injectManualFrameloop:function(e){T=e}}),R=function(e){function t(t,n){var o;return(o=e.call(this)||this).update=void 0,o.payload=t.style?r({},t,{style:x(t.style)}):t,o.update=n,o.attach(),o}return a(t,e),t}(v),A=!1,M=new Set,D=function e(){if(!A)return!1;var t=B(),n=M,o=Array.isArray(n),r=0;for(n=o?n:n[Symbol.iterator]();;){var c;if(o){if(r>=n.length)break;c=n[r++]}else{if((r=n.next()).done)break;c=r.value}for(var l=c,i=!1,a=0;a<l.configs.length;a++){for(var s=l.configs[a],u=void 0,d=void 0,b=0;b<s.animatedValues.length;b++){var m=s.animatedValues[b];if(!m.done){var p=s.fromValues[b],f=s.toValues[b],g=m.lastPosition,h=f instanceof O,j=Array.isArray(s.initialVelocity)?s.initialVelocity[b]:s.initialVelocity;if(h&&(f=f.getValue()),s.immediate)m.setValue(f),m.done=!0;else if("string"!=typeof p&&"string"!=typeof f){if(void 0!==s.duration)g=p+s.easing((t-m.startTime)/s.duration)*(f-p),u=t>=m.startTime+s.duration;else if(s.decay)g=p+j/(1-.998)*(1-Math.exp(-(1-.998)*(t-m.startTime))),(u=Math.abs(m.lastPosition-g)<.1)&&(f=g);else{d=void 0!==m.lastTime?m.lastTime:t,j=void 0!==m.lastVelocity?m.lastVelocity:s.initialVelocity,t>d+64&&(d=t);for(var v=Math.floor(t-d),k=0;k<v;++k){g+=1*(j+=1*((-s.tension*(g-f)+-s.friction*j)/s.mass)/1e3)/1e3}var _=!(!s.clamp||0===s.tension)&&(p<f?g>f:g<f),y=Math.abs(j)<=s.precision,C=0===s.tension||Math.abs(f-g)<=s.precision;u=_||y&&C,m.lastVelocity=j,m.lastTime=t}h&&!s.toValues[b].done&&(u=!1),u?(m.value!==f&&(g=f),m.done=!0):i=!0,m.setValue(g),m.lastPosition=g}else m.setValue(f),m.done=!0}}l.props.onFrame&&(l.values[s.name]=s.interpolation.getValue())}l.props.onFrame&&l.props.onFrame(l.values),i||(M.delete(l),l.stop(!0))}return M.size?T?T():E(e):A=!1,A};function F(e,t,n){if("function"==typeof e)return e;if(Array.isArray(e))return F({range:e,output:t,extrapolate:n});if(y&&"string"==typeof e.output[0])return y(e);var 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||function(e){return e};return function(e){var 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){var 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)}}var V=function(e){function t(n,o,r,c){var l;return(l=e.call(this)||this).calc=void 0,l.payload=n instanceof j&&!(n instanceof t)?n.getPayload():Array.isArray(n)?n:[n],l.calc=F(o,r,c),l}a(t,e);var n=t.prototype;return n.getValue=function(){return this.calc.apply(this,this.payload.map((function(e){return e.getValue()})))},n.updateConfig=function(e,t,n){this.calc=F(e,t,n)},n.interpolate=function(e,n,o){return new t(this,e,n,o)},t}(j);var H=function(e){function t(t){var n;return(n=e.call(this)||this).animatedStyles=new Set,n.value=void 0,n.startPosition=void 0,n.lastPosition=void 0,n.lastVelocity=void 0,n.startTime=void 0,n.lastTime=void 0,n.done=!1,n.setValue=function(e,t){void 0===t&&(t=!0),n.value=e,t&&n.flush()},n.value=t,n.startPosition=t,n.lastPosition=t,n}a(t,e);var n=t.prototype;return n.flush=function(){0===this.animatedStyles.size&&function e(t,n){"update"in t?n.add(t):t.getChildren().forEach((function(t){return e(t,n)}))}(this,this.animatedStyles),this.animatedStyles.forEach((function(e){return e.update()}))},n.clearStyles=function(){this.animatedStyles.clear()},n.getValue=function(){return this.value},n.interpolate=function(e,t,n){return new V(this,e,t,n)},t}(O),z=function(e){function t(t){var n;return(n=e.call(this)||this).payload=t.map((function(e){return new H(e)})),n}a(t,e);var n=t.prototype;return n.setValue=function(e,t){var n=this;void 0===t&&(t=!0),Array.isArray(e)?e.length===this.payload.length&&e.forEach((function(e,o){return n.payload[o].setValue(e,t)})):this.payload.forEach((function(n){return n.setValue(e,t)}))},n.getValue=function(){return this.payload.map((function(e){return e.getValue()}))},n.interpolate=function(e,t){return new V(this,e,t)},t}(j),G=0,U=function(){function e(){var e=this;this.id=void 0,this.idle=!0,this.hasChanged=!1,this.guid=0,this.local=0,this.props={},this.merged={},this.animations={},this.interpolations={},this.values={},this.configs=[],this.listeners=[],this.queue=[],this.localQueue=void 0,this.getValues=function(){return e.interpolations},this.id=G++}var t=e.prototype;return t.update=function(e){if(!e)return this;var t=f(e),n=t.delay,o=void 0===n?0:n,l=t.to,i=c(t,["delay","to"]);if(u.arr(l)||u.fun(l))this.queue.push(r({},i,{delay:o,to:l}));else if(l){var a={};Object.entries(l).forEach((function(e){var t,n=e[0],c=e[1],l=r({to:(t={},t[n]=c,t),delay:p(o,n)},i),s=a[l.delay]&&a[l.delay].to;a[l.delay]=r({},a[l.delay],l,{to:r({},s,l.to)})})),this.queue=Object.values(a)}return this.queue=this.queue.sort((function(e,t){return e.delay-t.delay})),this.diff(i),this},t.start=function(e){var t,n=this;if(this.queue.length){this.idle=!1,this.localQueue&&this.localQueue.forEach((function(e){var t=e.from,o=void 0===t?{}:t,c=e.to,l=void 0===c?{}:c;u.obj(o)&&(n.merged=r({},o,n.merged)),u.obj(l)&&(n.merged=r({},n.merged,l))}));var o=this.local=++this.guid,l=this.localQueue=this.queue;this.queue=[],l.forEach((function(t,r){var i=t.delay,a=c(t,["delay"]),s=function(t){r===l.length-1&&o===n.guid&&t&&(n.idle=!0,n.props.onRest&&n.props.onRest(n.merged)),e&&e()},d=u.arr(a.to)||u.fun(a.to);i?setTimeout((function(){o===n.guid&&(d?n.runAsync(a,s):n.diff(a).start(s))}),i):d?n.runAsync(a,s):n.diff(a).start(s)}))}else u.fun(e)&&this.listeners.push(e),this.props.onStart&&this.props.onStart(),t=this,M.has(t)||M.add(t),A||(A=!0,E(T||D));return this},t.stop=function(e){return this.listeners.forEach((function(t){return t(e)})),this.listeners=[],this},t.pause=function(e){var t;return this.stop(!0),e&&(t=this,M.has(t)&&M.delete(t)),this},t.runAsync=function(e,t){var n=this,o=(e.delay,c(e,["delay"])),l=this.local,i=Promise.resolve(void 0);if(u.arr(o.to))for(var a=function(e){var t=e,c=r({},o,f(o.to[t]));u.arr(c.config)&&(c.config=c.config[t]),i=i.then((function(){if(l===n.guid)return new Promise((function(e){return n.diff(c).start(e)}))}))},s=0;s<o.to.length;s++)a(s);else if(u.fun(o.to)){var d,b=0;i=i.then((function(){return o.to((function(e){var t=r({},o,f(e));if(u.arr(t.config)&&(t.config=t.config[b]),b++,l===n.guid)return d=new Promise((function(e){return n.diff(t).start(e)}))}),(function(e){return void 0===e&&(e=!0),n.stop(e)})).then((function(){return d}))}))}i.then(t)},t.diff=function(e){var t=this;this.props=r({},this.props,e);var n=this.props,o=n.from,c=void 0===o?{}:o,l=n.to,i=void 0===l?{}:l,a=n.config,s=void 0===a?{}:a,d=n.reverse,f=n.attach,g=n.reset,O=n.immediate;if(d){var j=[i,c];c=j[0],i=j[1]}this.merged=r({},c,this.merged,i),this.hasChanged=!1;var v=f&&f(this);if(this.animations=Object.entries(this.merged).reduce((function(e,n){var o=n[0],l=n[1],i=e[o]||{},a=u.num(l),d=u.str(l)&&!l.startsWith("#")&&!/\d/.test(l)&&!h[l],f=u.arr(l),j=!a&&!f&&!d,k=u.und(c[o])?l:c[o],_=a||f||d?l:1,E=p(s,o);v&&(_=v.animations[o].parent);var C,S=i.parent,w=i.interpolation,I=m(v?_.getPayload():_),x=l;j&&(x=y({range:[0,1],output:[l,l]})(1));var T,N=w&&w.getValue(),P=!u.und(S)&&i.animatedValues.some((function(e){return!e.done})),L=!u.equ(x,N),R=!u.equ(x,i.previous),A=!u.equ(E,i.config);if(g||R&&L||A){var M;if(a||d)S=w=i.parent||new H(k);else if(f)S=w=i.parent||new z(k);else if(j){var D=i.interpolation&&i.interpolation.calc(i.parent.value);D=void 0===D||g?k:D,i.parent?(S=i.parent).setValue(0,!1):S=new H(0);var F={output:[D,l]};i.interpolation?(w=i.interpolation,i.interpolation.updateConfig(F)):w=S.interpolate(F)}return I=m(v?_.getPayload():_),C=m(S.getPayload()),g&&!j&&S.setValue(k,!1),t.hasChanged=!0,C.forEach((function(e){e.startPosition=e.value,e.lastPosition=e.value,e.lastVelocity=P?e.lastVelocity:void 0,e.lastTime=P?e.lastTime:void 0,e.startTime=B(),e.done=!1,e.animatedStyles.clear()})),p(O,o)&&S.setValue(j?_:l,!1),r({},e,((M={})[o]=r({},i,{name:o,parent:S,interpolation:w,animatedValues:C,toValues:I,previous:x,config:E,fromValues:m(S.getValue()),immediate:p(O,o),initialVelocity:b(E.velocity,0),clamp:b(E.clamp,!1),precision:b(E.precision,.01),tension:b(E.tension,170),friction:b(E.friction,26),mass:b(E.mass,1),duration:E.duration,easing:b(E.easing,(function(e){return e})),decay:E.decay}),M))}return L?e:(j&&(S.setValue(1,!1),w.updateConfig({output:[x,x]})),S.done=!0,t.hasChanged=!0,r({},e,((T={})[o]=r({},e[o],{previous:x}),T)))}),this.animations),this.hasChanged)for(var k in this.configs=Object.values(this.animations),this.values={},this.interpolations={},this.animations)this.interpolations[k]=this.animations[k].interpolation,this.values[k]=this.animations[k].interpolation.getValue();return this},t.destroy=function(){this.stop(),this.props={},this.merged={},this.animations={},this.interpolations={},this.values={},this.configs=[],this.local=0},e}(),W=function(e,t){var n=l.useRef(!1),o=l.useRef(),r=u.fun(t),c=l.useMemo((function(){var n;return o.current&&(o.current.map((function(e){return e.destroy()})),o.current=void 0),[new Array(e).fill().map((function(e,o){var c=new U,l=r?p(t,o,c):t[o];return 0===o&&(n=l.ref),c.update(l),n||c.start(),c})),n]}),[e]),i=c[0],a=c[1];o.current=i;l.useImperativeHandle(a,(function(){return{start:function(){return Promise.all(o.current.map((function(e){return new Promise((function(t){return e.start(t)}))})))},stop:function(e){return o.current.forEach((function(t){return t.stop(e)}))},get controllers(){return o.current}}}));var s=l.useMemo((function(){return function(e){return o.current.map((function(t,n){t.update(r?p(e,n,t):e[n]),a||t.start()}))}}),[e]);l.useEffect((function(){n.current?r||s(t):a||o.current.forEach((function(e){return e.start()}))})),l.useEffect((function(){return n.current=!0,function(){return o.current.forEach((function(e){return e.destroy()}))}}),[]);var d=o.current.map((function(e){return e.getValues()}));return r?[d,s,function(e){return o.current.forEach((function(t){return t.pause(e)}))}]:d},K=0,q=function(e,t){return("function"==typeof t?e.map(t):m(t)).map(String)},$=function(e){var t=e.items,n=e.keys,o=void 0===n?function(e){return e}:n,l=c(e,["items","keys"]);return t=m(void 0!==t?t:null),r({items:t,keys:q(t,o)},l)};function Y(e,t){var n=function(){if(r){if(c>=o.length)return"break";l=o[c++]}else{if((c=o.next()).done)return"break";l=c.value}var n=l.key,i=function(e){return e.key!==n};(u.und(t)||t===n)&&(e.current.instances.delete(n),e.current.transitions=e.current.transitions.filter(i),e.current.deleted=e.current.deleted.filter(i))},o=e.current.deleted,r=Array.isArray(o),c=0;for(o=r?o:o[Symbol.iterator]();;){var l;if("break"===n())break}e.current.forceUpdate()}var X=function(e){function t(t){var n;return void 0===t&&(t={}),n=e.call(this)||this,!t.transform||t.transform instanceof O||(t=g.transform(t)),n.payload=t,n}return a(t,e),t}(v),Q={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},Z="[-+]?\\d*\\.?\\d+";function J(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return"\\(\\s*("+t.join(")\\s*,\\s*(")+")\\s*\\)"}var ee=new RegExp("rgb"+J(Z,Z,Z)),te=new RegExp("rgba"+J(Z,Z,Z,Z)),ne=new RegExp("hsl"+J(Z,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%")),oe=new RegExp("hsla"+J(Z,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%",Z)),re=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,ce=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,le=/^#([0-9a-fA-F]{6})$/,ie=/^#([0-9a-fA-F]{8})$/;function ae(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 se(e,t,n){var o=n<.5?n*(1+t):n+t-n*t,r=2*n-o,c=ae(r,o,e+1/3),l=ae(r,o,e),i=ae(r,o,e-1/3);return Math.round(255*c)<<24|Math.round(255*l)<<16|Math.round(255*i)<<8}function ue(e){var t=parseInt(e,10);return t<0?0:t>255?255:t}function de(e){return(parseFloat(e)%360+360)%360/360}function be(e){var t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function me(e){var t=parseFloat(e);return t<0?0:t>100?1:t/100}function pe(e){var t,n,o="number"==typeof(t=e)?t>>>0===t&&t>=0&&t<=4294967295?t:null:(n=le.exec(t))?parseInt(n[1]+"ff",16)>>>0:Q.hasOwnProperty(t)?Q[t]:(n=ee.exec(t))?(ue(n[1])<<24|ue(n[2])<<16|ue(n[3])<<8|255)>>>0:(n=te.exec(t))?(ue(n[1])<<24|ue(n[2])<<16|ue(n[3])<<8|be(n[4]))>>>0:(n=re.exec(t))?parseInt(n[1]+n[1]+n[2]+n[2]+n[3]+n[3]+"ff",16)>>>0:(n=ie.exec(t))?parseInt(n[1],16)>>>0:(n=ce.exec(t))?parseInt(n[1]+n[1]+n[2]+n[2]+n[3]+n[3]+n[4]+n[4],16)>>>0:(n=ne.exec(t))?(255|se(de(n[1]),me(n[2]),me(n[3])))>>>0:(n=oe.exec(t))?(se(de(n[1]),me(n[2]),me(n[3]))|be(n[4]))>>>0:null;return null===o?e:"rgba("+((4278190080&(o=o||0))>>>24)+", "+((16711680&o)>>>16)+", "+((65280&o)>>>8)+", "+(255&o)/255+")"}var fe=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,ge=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,he=new RegExp("("+Object.keys(Q).join("|")+")","g"),Oe={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},je=["Webkit","Ms","Moz","O"];function ve(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||Oe.hasOwnProperty(e)&&Oe[e]?(""+t).trim():t+"px"}Oe=Object.keys(Oe).reduce((function(e,t){return je.forEach((function(n){return e[function(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}(n,t)]=e[t]})),e}),Oe);var ke={};P((function(e){return new X(e)})),I("div"),S((function(e){var t=e.output.map((function(e){return e.replace(ge,pe)})).map((function(e){return e.replace(he,pe)})),n=t[0].match(fe).map((function(){return[]}));t.forEach((function(e){e.match(fe).forEach((function(e,t){return n[t].push(+e)}))}));var o=t[0].match(fe).map((function(t,o){return F(r({},e,{output:n[o]}))}));return function(e){var n=0;return t[0].replace(fe,(function(){return o[n++](e)})).replace(/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,(function(e,t,n,o,r){return"rgba("+Math.round(t)+", "+Math.round(n)+", "+Math.round(o)+", "+r+")"}))}})),_(Q),k((function(e,t){if(!e.nodeType||void 0===e.setAttribute)return!1;var n=t.style,o=t.children,r=t.scrollTop,l=t.scrollLeft,i=c(t,["style","children","scrollTop","scrollLeft"]),a="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName;for(var s in void 0!==r&&(e.scrollTop=r),void 0!==l&&(e.scrollLeft=l),void 0!==o&&(e.textContent=o),n)if(n.hasOwnProperty(s)){var u=0===s.indexOf("--"),d=ve(s,n[s],u);"float"===s&&(s="cssFloat"),u?e.style.setProperty(s,d):e.style[s]=d}for(var b in i){var m=a?b:ke[b]||(ke[b]=b.replace(/([A-Z])/g,(function(e){return"-"+e.toLowerCase()})));void 0!==e.getAttribute(m)&&e.setAttribute(m,i[b])}}),(function(e){return e}));var _e,ye,Ee=(_e=function(e){return l.forwardRef((function(t,n){var o=d(),a=l.useRef(!0),s=l.useRef(null),b=l.useRef(null),m=l.useCallback((function(e){var t=s.current;s.current=new R(e,(function(){var e=!1;b.current&&(e=g.fn(b.current,s.current.getAnimatedValue())),b.current&&!1!==e||o()})),t&&t.detach()}),[]);l.useEffect((function(){return function(){a.current=!1,s.current&&s.current.detach()}}),[]),l.useImperativeHandle(n,(function(){return N(b,a,o)})),m(t);var p,f=s.current.getValue(),h=(f.scrollTop,f.scrollLeft,c(f,["scrollTop","scrollLeft"])),O=(p=e,!u.fun(p)||p.prototype instanceof i.Component?function(e){return b.current=function(e,t){return t&&(u.fun(t)?t(e):u.obj(t)&&(t.current=e)),e}(e,n)}:void 0);return i.createElement(e,r({},h,{ref:O}))}))},void 0===(ye=!1)&&(ye=!0),function(e){return(u.arr(e)?e:Object.keys(e)).reduce((function(e,t){var n=ye?t[0].toLowerCase()+t.substring(1):t;return e[n]=_e(n),e}),_e)}),Ce=Ee(["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"]);t.apply=Ee,t.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}},t.update=D,t.animated=Ce,t.a=Ce,t.interpolate=function(e,t,n){return e&&new V(e,t,n)},t.Globals=L,t.useSpring=function(e){var t=u.fun(e),n=W(1,t?e:[e]),o=n[0],r=n[1],c=n[2];return t?[o[0],r,c]:o},t.useTrail=function(e,t){var n=l.useRef(!1),o=u.fun(t),c=p(t),i=l.useRef(),a=W(e,(function(e,t){return 0===e&&(i.current=[]),i.current.push(t),r({},c,{config:p(c.config,e),attach:e>0&&function(){return i.current[e-1]}})})),s=a[0],d=a[1],b=a[2],m=l.useMemo((function(){return function(e){return d((function(t,n){e.reverse;var o=e.reverse?t+1:t-1,l=i.current[o];return r({},e,{config:p(e.config||c.config,t),attach:l&&function(){return l}})}))}}),[e,c.reverse]);return l.useEffect((function(){n.current&&!o&&m(t)})),l.useEffect((function(){n.current=!0}),[]),o?[s,m,b]:s},t.useTransition=function(e,t,n){var o=r({items:e,keys:t||function(e){return e}},n),i=$(o),a=i.lazy,s=void 0!==a&&a,u=(i.unique,i.reset),b=void 0!==u&&u,m=(i.enter,i.leave,i.update,i.onDestroyed),f=(i.keys,i.items,i.onFrame),g=i.onRest,h=i.onStart,O=i.ref,j=c(i,["lazy","unique","reset","enter","leave","update","onDestroyed","keys","items","onFrame","onRest","onStart","ref"]),v=d(),k=l.useRef(!1),_=l.useRef({mounted:!1,first:!0,deleted:[],current:{},transitions:[],prevProps:{},paused:!!o.ref,instances:!k.current&&new Map,forceUpdate:v});return l.useImperativeHandle(o.ref,(function(){return{start:function(){return Promise.all(Array.from(_.current.instances).map((function(e){var t=e[1];return new Promise((function(e){return t.start(e)}))})))},stop:function(e){return Array.from(_.current.instances).forEach((function(t){return t[1].stop(e)}))},get controllers(){return Array.from(_.current.instances).map((function(e){return e[1]}))}}})),_.current=function(e,t){var n=e.first,o=e.prevProps,l=c(e,["first","prevProps"]),i=$(t),a=i.items,s=i.keys,u=i.initial,d=i.from,b=i.enter,m=i.leave,f=i.update,g=i.trail,h=void 0===g?0:g,O=i.unique,j=i.config,v=i.order,k=void 0===v?["enter","leave","update"]:v,_=$(o),y=_.keys,E=_.items,C=r({},l.current),S=[].concat(l.deleted),w=Object.keys(C),B=new Set(w),I=new Set(s),x=s.filter((function(e){return!B.has(e)})),T=l.transitions.filter((function(e){return!e.destroyed&&!I.has(e.originalKey)})).map((function(e){return e.originalKey})),N=s.filter((function(e){return B.has(e)})),P=-h;for(;k.length;){switch(k.shift()){case"enter":x.forEach((function(e,t){O&&S.find((function(t){return t.originalKey===e}))&&(S=S.filter((function(t){return t.originalKey!==e})));var o=s.indexOf(e),r=a[o],c=n&&void 0!==u?"initial":"enter";C[e]={slot:c,originalKey:e,key:O?String(e):K++,item:r,trail:P+=h,config:p(j,r,c),from:p(n&&void 0!==u?u||{}:d,r),to:p(b,r)}}));break;case"leave":T.forEach((function(e){var t=y.indexOf(e),n=E[t];S.unshift(r({},C[e],{slot:"leave",destroyed:!0,left:y[Math.max(0,t-1)],right:y[Math.min(y.length,t+1)],trail:P+=h,config:p(j,n,"leave"),to:p(m,n)})),delete C[e]}));break;case"update":N.forEach((function(e){var t=s.indexOf(e),n=a[t];C[e]=r({},C[e],{item:n,slot:"update",trail:P+=h,config:p(j,n,"update"),to:p(f,n)})}))}}var L=s.map((function(e){return C[e]}));return S.forEach((function(e){var t,n=e.left,o=(e.right,c(e,["left","right"]));-1!==(t=L.findIndex((function(e){return e.originalKey===n})))&&(t+=1),t=Math.max(0,t),L=[].concat(L.slice(0,t),[o],L.slice(t))})),r({},l,{changed:x.length||T.length||N.length,first:n&&0===x.length,transitions:L,current:C,deleted:S,prevProps:t})}(_.current,o),_.current.changed&&_.current.transitions.forEach((function(e){var t=e.slot,n=e.from,o=e.to,c=e.config,l=e.trail,i=e.key,a=e.item;_.current.instances.has(i)||_.current.instances.set(i,new U);var u=_.current.instances.get(i),d=r({},j,{to:o,from:n,config:c,ref:O,onRest:function(n){_.current.mounted&&(e.destroyed&&(O||s||Y(_,i),m&&m(a)),!Array.from(_.current.instances).some((function(e){return!e[1].idle}))&&(O||s)&&_.current.deleted.length>0&&Y(_),g&&g(a,t,n))},onStart:h&&function(){return h(a,t)},onFrame:f&&function(e){return f(a,t,e)},delay:l,reset:b&&"enter"===t});u.update(d),_.current.paused||u.start()})),l.useEffect((function(){return _.current.mounted=k.current=!0,function(){_.current.mounted=k.current=!1,Array.from(_.current.instances).map((function(e){return e[1].destroy()})),_.current.instances.clear()}}),[]),_.current.transitions.map((function(e){var t=e.item,n=e.slot,o=e.key;return{item:t,key:o,state:n,props:_.current.instances.get(o).getValues()}}))},t.useChain=function(e,t,n){void 0===n&&(n=1e3);var o=l.useRef();l.useEffect((function(){u.equ(e,o.current)?e.forEach((function(e){var t=e.current;return t&&t.start()})):t?e.forEach((function(e,o){var c=e.current;if(c){var l=c.controllers;if(l.length){var i=n*t[o];l.forEach((function(e){e.queue=e.queue.map((function(e){return r({},e,{delay:e.delay+i})})),e.start()}))}}})):e.reduce((function(e,t,n){var o=t.current;return e.then((function(){return o.start()}))}),Promise.resolve()),o.current=e}))},t.useSprings=W},Zss7:function(e,t,n){var o;!function(r){var c=/^\s+/,l=/\s+$/,i=0,a=r.round,s=r.min,u=r.max,d=r.random;function b(e,t){if(t=t||{},(e=e||"")instanceof b)return e;if(!(this instanceof b))return new b(e,t);var n=function(e){var t={r:0,g:0,b:0},n=1,o=null,i=null,a=null,d=!1,b=!1;"string"==typeof e&&(e=function(e){e=e.replace(c,"").replace(l,"").toLowerCase();var t,n=!1;if(x[e])e=x[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=G.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=G.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=G.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=G.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=G.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=G.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=G.hex8.exec(e))return{r:R(t[1]),g:R(t[2]),b:R(t[3]),a:F(t[4]),format:n?"name":"hex8"};if(t=G.hex6.exec(e))return{r:R(t[1]),g:R(t[2]),b:R(t[3]),format:n?"name":"hex"};if(t=G.hex4.exec(e))return{r:R(t[1]+""+t[1]),g:R(t[2]+""+t[2]),b:R(t[3]+""+t[3]),a:F(t[4]+""+t[4]),format:n?"name":"hex8"};if(t=G.hex3.exec(e))return{r:R(t[1]+""+t[1]),g:R(t[2]+""+t[2]),b:R(t[3]+""+t[3]),format:n?"name":"hex"};return!1}(e));"object"==typeof e&&(U(e.r)&&U(e.g)&&U(e.b)?(m=e.r,p=e.g,f=e.b,t={r:255*P(m,255),g:255*P(p,255),b:255*P(f,255)},d=!0,b="%"===String(e.r).substr(-1)?"prgb":"rgb"):U(e.h)&&U(e.s)&&U(e.v)?(o=M(e.s),i=M(e.v),t=function(e,t,n){e=6*P(e,360),t=P(t,100),n=P(n,100);var o=r.floor(e),c=e-o,l=n*(1-t),i=n*(1-c*t),a=n*(1-(1-c)*t),s=o%6;return{r:255*[n,i,l,l,a,n][s],g:255*[a,n,n,i,l,l][s],b:255*[l,l,a,n,n,i][s]}}(e.h,o,i),d=!0,b="hsv"):U(e.h)&&U(e.s)&&U(e.l)&&(o=M(e.s),a=M(e.l),t=function(e,t,n){var o,r,c;function l(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}if(e=P(e,360),t=P(t,100),n=P(n,100),0===t)o=r=c=n;else{var i=n<.5?n*(1+t):n+t-n*t,a=2*n-i;o=l(a,i,e+1/3),r=l(a,i,e),c=l(a,i,e-1/3)}return{r:255*o,g:255*r,b:255*c}}(e.h,o,a),d=!0,b="hsl"),e.hasOwnProperty("a")&&(n=e.a));var m,p,f;return n=N(n),{ok:d,format:e.format||b,r:s(255,u(t.r,0)),g:s(255,u(t.g,0)),b:s(255,u(t.b,0)),a:n}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=a(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=a(this._r)),this._g<1&&(this._g=a(this._g)),this._b<1&&(this._b=a(this._b)),this._ok=n.ok,this._tc_id=i++}function m(e,t,n){e=P(e,255),t=P(t,255),n=P(n,255);var o,r,c=u(e,t,n),l=s(e,t,n),i=(c+l)/2;if(c==l)o=r=0;else{var a=c-l;switch(r=i>.5?a/(2-c-l):a/(c+l),c){case e:o=(t-n)/a+(t<n?6:0);break;case t:o=(n-e)/a+2;break;case n:o=(e-t)/a+4}o/=6}return{h:o,s:r,l:i}}function p(e,t,n){e=P(e,255),t=P(t,255),n=P(n,255);var o,r,c=u(e,t,n),l=s(e,t,n),i=c,a=c-l;if(r=0===c?0:a/c,c==l)o=0;else{switch(c){case e:o=(t-n)/a+(t<n?6:0);break;case t:o=(n-e)/a+2;break;case n:o=(e-t)/a+4}o/=6}return{h:o,s:r,v:i}}function f(e,t,n,o){var r=[A(a(e).toString(16)),A(a(t).toString(16)),A(a(n).toString(16))];return o&&r[0].charAt(0)==r[0].charAt(1)&&r[1].charAt(0)==r[1].charAt(1)&&r[2].charAt(0)==r[2].charAt(1)?r[0].charAt(0)+r[1].charAt(0)+r[2].charAt(0):r.join("")}function g(e,t,n,o){return[A(D(o)),A(a(e).toString(16)),A(a(t).toString(16)),A(a(n).toString(16))].join("")}function h(e,t){t=0===t?0:t||10;var n=b(e).toHsl();return n.s-=t/100,n.s=L(n.s),b(n)}function O(e,t){t=0===t?0:t||10;var n=b(e).toHsl();return n.s+=t/100,n.s=L(n.s),b(n)}function j(e){return b(e).desaturate(100)}function v(e,t){t=0===t?0:t||10;var n=b(e).toHsl();return n.l+=t/100,n.l=L(n.l),b(n)}function k(e,t){t=0===t?0:t||10;var n=b(e).toRgb();return n.r=u(0,s(255,n.r-a(-t/100*255))),n.g=u(0,s(255,n.g-a(-t/100*255))),n.b=u(0,s(255,n.b-a(-t/100*255))),b(n)}function _(e,t){t=0===t?0:t||10;var n=b(e).toHsl();return n.l-=t/100,n.l=L(n.l),b(n)}function y(e,t){var n=b(e).toHsl(),o=(n.h+t)%360;return n.h=o<0?360+o:o,b(n)}function E(e){var t=b(e).toHsl();return t.h=(t.h+180)%360,b(t)}function C(e){var t=b(e).toHsl(),n=t.h;return[b(e),b({h:(n+120)%360,s:t.s,l:t.l}),b({h:(n+240)%360,s:t.s,l:t.l})]}function S(e){var t=b(e).toHsl(),n=t.h;return[b(e),b({h:(n+90)%360,s:t.s,l:t.l}),b({h:(n+180)%360,s:t.s,l:t.l}),b({h:(n+270)%360,s:t.s,l:t.l})]}function w(e){var t=b(e).toHsl(),n=t.h;return[b(e),b({h:(n+72)%360,s:t.s,l:t.l}),b({h:(n+216)%360,s:t.s,l:t.l})]}function B(e,t,n){t=t||6,n=n||30;var o=b(e).toHsl(),r=360/n,c=[b(e)];for(o.h=(o.h-(r*t>>1)+720)%360;--t;)o.h=(o.h+r)%360,c.push(b(o));return c}function I(e,t){t=t||6;for(var n=b(e).toHsv(),o=n.h,r=n.s,c=n.v,l=[],i=1/t;t--;)l.push(b({h:o,s:r,v:c})),c=(c+i)%1;return l}b.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,o=this.toRgb();return e=o.r/255,t=o.g/255,n=o.b/255,.2126*(e<=.03928?e/12.92:r.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:r.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:r.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=N(e),this._roundA=a(100*this._a)/100,this},toHsv:function(){var e=p(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=p(this._r,this._g,this._b),t=a(360*e.h),n=a(100*e.s),o=a(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+o+"%)":"hsva("+t+", "+n+"%, "+o+"%, "+this._roundA+")"},toHsl:function(){var e=m(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=m(this._r,this._g,this._b),t=a(360*e.h),n=a(100*e.s),o=a(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+o+"%)":"hsla("+t+", "+n+"%, "+o+"%, "+this._roundA+")"},toHex:function(e){return f(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,o,r){var c=[A(a(e).toString(16)),A(a(t).toString(16)),A(a(n).toString(16)),A(D(o))];if(r&&c[0].charAt(0)==c[0].charAt(1)&&c[1].charAt(0)==c[1].charAt(1)&&c[2].charAt(0)==c[2].charAt(1)&&c[3].charAt(0)==c[3].charAt(1))return c[0].charAt(0)+c[1].charAt(0)+c[2].charAt(0)+c[3].charAt(0);return c.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:a(this._r),g:a(this._g),b:a(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+a(this._r)+", "+a(this._g)+", "+a(this._b)+")":"rgba("+a(this._r)+", "+a(this._g)+", "+a(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:a(100*P(this._r,255))+"%",g:a(100*P(this._g,255))+"%",b:a(100*P(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+a(100*P(this._r,255))+"%, "+a(100*P(this._g,255))+"%, "+a(100*P(this._b,255))+"%)":"rgba("+a(100*P(this._r,255))+"%, "+a(100*P(this._g,255))+"%, "+a(100*P(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(T[f(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+g(this._r,this._g,this._b,this._a),n=t,o=this._gradientType?"GradientType = 1, ":"";if(e){var r=b(e);n="#"+g(r._r,r._g,r._b,r._a)}return"progid:DXImageTransform.Microsoft.gradient("+o+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,o=this._a<1&&this._a>=0;return t||!o||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return b(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(v,arguments)},brighten:function(){return this._applyModification(k,arguments)},darken:function(){return this._applyModification(_,arguments)},desaturate:function(){return this._applyModification(h,arguments)},saturate:function(){return this._applyModification(O,arguments)},greyscale:function(){return this._applyModification(j,arguments)},spin:function(){return this._applyModification(y,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(B,arguments)},complement:function(){return this._applyCombination(E,arguments)},monochromatic:function(){return this._applyCombination(I,arguments)},splitcomplement:function(){return this._applyCombination(w,arguments)},triad:function(){return this._applyCombination(C,arguments)},tetrad:function(){return this._applyCombination(S,arguments)}},b.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var o in e)e.hasOwnProperty(o)&&(n[o]="a"===o?e[o]:M(e[o]));e=n}return b(e,t)},b.equals=function(e,t){return!(!e||!t)&&b(e).toRgbString()==b(t).toRgbString()},b.random=function(){return b.fromRatio({r:d(),g:d(),b:d()})},b.mix=function(e,t,n){n=0===n?0:n||50;var o=b(e).toRgb(),r=b(t).toRgb(),c=n/100;return b({r:(r.r-o.r)*c+o.r,g:(r.g-o.g)*c+o.g,b:(r.b-o.b)*c+o.b,a:(r.a-o.a)*c+o.a})},b.readability=function(e,t){var n=b(e),o=b(t);return(r.max(n.getLuminance(),o.getLuminance())+.05)/(r.min(n.getLuminance(),o.getLuminance())+.05)},b.isReadable=function(e,t,n){var o,r,c=b.readability(e,t);switch(r=!1,(o=function(e){var t,n;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==n&&"large"!==n&&(n="small");return{level:t,size:n}}(n)).level+o.size){case"AAsmall":case"AAAlarge":r=c>=4.5;break;case"AAlarge":r=c>=3;break;case"AAAsmall":r=c>=7}return r},b.mostReadable=function(e,t,n){var o,r,c,l,i=null,a=0;r=(n=n||{}).includeFallbackColors,c=n.level,l=n.size;for(var s=0;s<t.length;s++)(o=b.readability(e,t[s]))>a&&(a=o,i=b(t[s]));return b.isReadable(e,i,{level:c,size:l})||!r?i:(n.includeFallbackColors=!1,b.mostReadable(e,["#fff","#000"],n))};var x=b.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},T=b.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(x);function N(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function P(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=s(t,u(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),r.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function L(e){return s(1,u(0,e))}function R(e){return parseInt(e,16)}function A(e){return 1==e.length?"0"+e:""+e}function M(e){return e<=1&&(e=100*e+"%"),e}function D(e){return r.round(255*parseFloat(e)).toString(16)}function F(e){return R(e)/255}var V,H,z,G=(H="[\\s|\\(]+("+(V="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+V+")[,|\\s]+("+V+")\\s*\\)?",z="[\\s|\\(]+("+V+")[,|\\s]+("+V+")[,|\\s]+("+V+")[,|\\s]+("+V+")\\s*\\)?",{CSS_UNIT:new RegExp(V),rgb:new RegExp("rgb"+H),rgba:new RegExp("rgba"+z),hsl:new RegExp("hsl"+H),hsla:new RegExp("hsla"+z),hsv:new RegExp("hsv"+H),hsva:new RegExp("hsva"+z),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function U(e){return!!G.CSS_UNIT.exec(e)}e.exports?e.exports=b:void 0===(o=function(){return b}.call(t,n,t,e))||(e.exports=o)}(Math)},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},bWcr: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 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=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},cDcd:function(e,t){e.exports=window.React},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},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,m={},p=!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&&(p=!1)},delete:function(e){delete f.parent.node[f.key],e&&(p=!1)},remove:function(e){a(f.parent.node)?f.parent.node.splice(f.key,1):delete f.parent.node[f.key],e&&(p=!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(){i=!1},block:function(){p=!1}};if(!i)return f;function g(){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}g();var h=t.call(f,f.node);return void 0!==h&&f.update&&f.update(h),m.before&&m.before.call(f,f.node),p?("object"!=typeof f.node||null===f.node||f.circular||(r.push(f),g(),s(f.keys,(function(t,r){o.push(t),m.pre&&m.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,m.post&&m.post.call(f,c),o.pop()})),r.pop()),m.after&&m.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}},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},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},iA5R:function(e,t,n){"use strict";var o;Object.defineProperty(t,"__esModule",{value:!0}),t.diffChars=function(e,t,n){return r.diff(e,t,n)},t.characterDiff=void 0;var r=new(((o=n("smQA"))&&o.__esModule?o:{default:o}).default);t.characterDiff=r},iClF:function(e,t,n){"use strict";var o=n("GRId");t.a=function({icon:e,size:t=24,...n}){return Object(o.cloneElement)(e,{width:t,height:t,...n})}},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 m(e,t){for(var n=0;n<e.length;n++)t(e[n])}function p(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 g(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 h(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 j={};function v(e,t,n){if(O(e))return"width"===t?j.viewportWidth(e):j.viewportHeight(e);if(9===e.nodeType)return"width"===t?j.docWidth(e):j.docHeight(e);var o="width"===t?["Left","Right"]:["Top","Bottom"],r="width"===t?e.offsetWidth:e.offsetHeight,c=(b(e),p(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-h(e,["border","padding"],o):l;if(i){var s=2===n?-h(e,["border"],o):h(e,["margin"],o);return a+(1===n?0:s)}return l+h(e,f.slice(n),o)}m(["Width","Height"],(function(e){j["doc"+e]=function(t){var n=t.document;return Math.max(n.documentElement["scroll"+e],n.body["scroll"+e],j["viewport"+e](n))},j["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=v.apply(void 0,n):g(e,k,(function(){t=v.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])}m(["width","height"],(function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);j["outer"+t]=function(t,n){return t&&_(t,e,n?0:1)};var n="width"===e?["Left","Right"]:["Top","Bottom"];j[e]=function(t,o){if(void 0===o)return t&&_(t,e,-1);if(t){b(t);return p(t)&&(o+=h(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:m,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},j)},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()}))]}},l3Sj:function(e,t){e.exports=window.wp.i18n},onLe:function(e,t){e.exports=window.wp.notices},ouCq:function(e,t){e.exports=window.wp.blockSerializationDefaultParser},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}},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 o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},e.exports.default=e.exports,e.exports.__esModule=!0,n.apply(this,arguments)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},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},qRz9:function(e,t){e.exports=window.wp.richText},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},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:[]}],m=this.extractCommon(b[0],t,e,0);if(b[0].newPos+1>=a&&m+1>=s)return i([{value:this.join(t),count:t.length}]);function p(){for(var n=-1*u;n<=u;n+=2){var o=void 0,d=b[n-1],m=b[n+1],p=(m?m.newPos:0)-n;d&&(b[n-1]=void 0);var f=d&&d.newPos+1<a,g=m&&0<=p&&p<s;if(f||g){if(!f||g&&d.newPos<m.newPos?(o=c(m),l.pushComponent(o.components,void 0,!0)):((o=d).newPos++,l.pushComponent(o.components,!0,void 0)),p=l.extractCommon(o,t,e,n),o.newPos+1>=a&&p+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();p()||e()}),0)}();else for(;u<=d;){var f=p();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("")}}},"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 Zc})),n.d(t,"__experimentalUseBorderProps",(function(){return Jc})),n.d(t,"__experimentalGetColorClassesAndStyles",(function(){return tl})),n.d(t,"__experimentalUseColorProps",(function(){return nl})),n.d(t,"__experimentalUseCustomSides",(function(){return Tc})),n.d(t,"getColorClassName",(function(){return Lo})),n.d(t,"getColorObjectByAttributeValues",(function(){return No})),n.d(t,"getColorObjectByColorValue",(function(){return Po})),n.d(t,"createCustomColorsHOC",(function(){return cl})),n.d(t,"withColors",(function(){return ll})),n.d(t,"__experimentalUseColors",(function(){return gl})),n.d(t,"__experimentalGetGradientClass",(function(){return Ao})),n.d(t,"getGradientValueBySlug",(function(){return Mo})),n.d(t,"__experimentalGetGradientObjectByGradientValue",(function(){return Do})),n.d(t,"getGradientSlugByValue",(function(){return Fo})),n.d(t,"__experimentalUseGradient",(function(){return Vo})),n.d(t,"getFontSize",(function(){return Mr})),n.d(t,"getFontSizeClass",(function(){return Fr})),n.d(t,"getFontSizeObjectByValue",(function(){return Dr})),n.d(t,"FontSizePicker",(function(){return Vr})),n.d(t,"withFontSizes",(function(){return Ol})),n.d(t,"AlignmentControl",(function(){return Cl})),n.d(t,"AlignmentToolbar",(function(){return Sl})),n.d(t,"Autocomplete",(function(){return Ul})),n.d(t,"BlockAlignmentControl",(function(){return io})),n.d(t,"BlockAlignmentToolbar",(function(){return ao})),n.d(t,"__experimentalBlockFullHeightAligmentControl",(function(){return Kl})),n.d(t,"__experimentalBlockAlignmentMatrixControl",(function(){return ql})),n.d(t,"BlockBreadcrumb",(function(){return Xl})),n.d(t,"BlockContextProvider",(function(){return Zl})),n.d(t,"BlockControls",(function(){return Gn})),n.d(t,"BlockFormatControls",(function(){return zn})),n.d(t,"BlockColorsStyleSelector",(function(){return oi})),n.d(t,"BlockEdit",(function(){return li})),n.d(t,"useBlockEditContext",(function(){return O})),n.d(t,"BlockIcon",(function(){return Vl})),n.d(t,"BlockNavigationDropdown",(function(){return Xu})),n.d(t,"__experimentalBlockNavigationBlockFill",(function(){return Du})),n.d(t,"__experimentalBlockNavigationEditor",(function(){return Od})),n.d(t,"__experimentalBlockNavigationTree",(function(){return $u})),n.d(t,"__experimentalBlockVariationPicker",(function(){return vd})),n.d(t,"__experimentalBlockPatternSetup",(function(){return Td})),n.d(t,"__experimentalBlockVariationTransforms",(function(){return Pd})),n.d(t,"BlockVerticalAlignmentToolbar",(function(){return Hd})),n.d(t,"BlockVerticalAlignmentControl",(function(){return Vd})),n.d(t,"__experimentalBorderStyleControl",(function(){return nr})),n.d(t,"ButtonBlockerAppender",(function(){return cs})),n.d(t,"ColorPalette",(function(){return Gd})),n.d(t,"ColorPaletteControl",(function(){return Ud})),n.d(t,"ContrastChecker",(function(){return hr})),n.d(t,"__experimentalDuotoneControl",(function(){return Hc})),n.d(t,"__experimentalGradientPicker",(function(){return qd})),n.d(t,"__experimentalGradientPickerControl",(function(){return $d})),n.d(t,"__experimentalGradientPickerPanel",(function(){return Yd})),n.d(t,"__experimentalFontAppearanceControl",(function(){return dc})),n.d(t,"__experimentalFontFamilyControl",(function(){return gc})),n.d(t,"__experimentalColorGradientControl",(function(){return qo})),n.d(t,"__experimentalPanelColorGradientSettings",(function(){return fr})),n.d(t,"__experimentalImageSizeControl",(function(){return Qd})),n.d(t,"InnerBlocks",(function(){return ab})),n.d(t,"__experimentalUseInnerBlocksProps",(function(){return ib})),n.d(t,"InspectorAdvancedControls",(function(){return Oo})),n.d(t,"InspectorControls",(function(){return _o})),n.d(t,"JustifyToolbar",(function(){return gb})),n.d(t,"JustifyContentControl",(function(){return fb})),n.d(t,"__experimentalLinkControl",(function(){return Db})),n.d(t,"__experimentalLinkControlSearchInput",(function(){return Nb})),n.d(t,"__experimentalLinkControlSearchResults",(function(){return Cb})),n.d(t,"__experimentalLinkControlSearchItem",(function(){return Eb})),n.d(t,"LineHeightControl",(function(){return lc})),n.d(t,"MediaReplaceFlow",(function(){return Gb})),n.d(t,"MediaPlaceholder",(function(){return Yb})),n.d(t,"MediaUpload",(function(){return Hb})),n.d(t,"MediaUploadCheck",(function(){return zb})),n.d(t,"PanelColorSettings",(function(){return sl})),n.d(t,"PlainText",(function(){return Zb})),n.d(t,"__experimentalResponsiveBlockControl",(function(){return em})),n.d(t,"RichText",(function(){return hd})),n.d(t,"RichTextShortcut",(function(){return tm})),n.d(t,"RichTextToolbarButton",(function(){return nm})),n.d(t,"__unstableRichTextInputEvent",(function(){return om})),n.d(t,"ToolSelector",(function(){return cm})),n.d(t,"__experimentalUnitControl",(function(){return lm})),n.d(t,"URLInput",(function(){return kb})),n.d(t,"URLInputButton",(function(){return um})),n.d(t,"URLPopover",(function(){return qb})),n.d(t,"__experimentalImageURLInputUI",(function(){return pm})),n.d(t,"withColorContext",(function(){return zd})),n.d(t,"__unstableBlockSettingsMenuFirstItem",(function(){return nu})),n.d(t,"__unstableInserterMenuExtension",(function(){return Ka})),n.d(t,"__experimentalPreviewOptions",(function(){return gm})),n.d(t,"__experimentalUseResizeCanvas",(function(){return ym})),n.d(t,"BlockInspector",(function(){return xm})),n.d(t,"BlockList",(function(){return yu})),n.d(t,"useBlockProps",(function(){return wu})),n.d(t,"__experimentalLayoutStyle",(function(){return eo})),n.d(t,"BlockMover",(function(){return Cs})),n.d(t,"BlockPreview",(function(){return ha})),n.d(t,"BlockSelectionClearer",(function(){return vu})),n.d(t,"__unstableUseBlockSelectionClearer",(function(){return ju})),n.d(t,"BlockSettingsMenu",(function(){return du})),n.d(t,"BlockSettingsMenuControls",(function(){return iu})),n.d(t,"BlockTitle",(function(){return Yl})),n.d(t,"BlockToolbar",(function(){return bu})),n.d(t,"BlockTools",(function(){return Tm})),n.d(t,"CopyHandler",(function(){return Xs})),n.d(t,"__unstableUseClipboardHandler",(function(){return Ys})),n.d(t,"DefaultBlockAppender",(function(){return rs})),n.d(t,"__unstableEditorStyles",(function(){return Jm})),n.d(t,"Inserter",(function(){return os})),n.d(t,"__experimentalLibrary",(function(){return ep})),n.d(t,"__experimentalSearchForm",(function(){return ua})),n.d(t,"BlockEditorKeyboardShortcuts",(function(){return np})),n.d(t,"MultiSelectScrollIntoView",(function(){return op})),n.d(t,"NavigableToolbar",(function(){return Es})),n.d(t,"ObserveTyping",(function(){return ip})),n.d(t,"__unstableUseTypingObserver",(function(){return lp})),n.d(t,"__unstableUseMouseMoveTypingReset",(function(){return cp})),n.d(t,"PreserveScrollInReorder",(function(){return ap})),n.d(t,"SkipToSelectedBlock",(function(){return Em})),n.d(t,"Typewriter",(function(){return bp})),n.d(t,"__unstableUseTypewriter",(function(){return dp})),n.d(t,"Warning",(function(){return Ii})),n.d(t,"WritingFlow",(function(){return kp})),n.d(t,"__unstableUseCanvasClickRedirect",(function(){return yp})),n.d(t,"useBlockDisplayInformation",(function(){return $l})),n.d(t,"__unstableIframe",(function(){return Sp})),n.d(t,"__experimentalUseNoRecursiveRenders",(function(){return Bp})),n.d(t,"BlockEditorProvider",(function(){return ma})),n.d(t,"__experimentalUseSimulatedMediaQuery",(function(){return _m})),n.d(t,"useSetting",(function(){return Io})),n.d(t,"transformStyles",(function(){return Qm})),n.d(t,"validateThemeColors",(function(){return Ip})),n.d(t,"validateThemeGradients",(function(){return xp})),n.d(t,"__experimentalGetMatchingVariation",(function(){return Nd})),n.d(t,"storeConfig",(function(){return Rn})),n.d(t,"store",(function(){return An})),n.d(t,"SETTINGS_DEFAULTS",(function(){return k}));var o={};n.r(o),n.d(o,"getBlockName",(function(){return D})),n.d(o,"isBlockValid",(function(){return F})),n.d(o,"getBlockAttributes",(function(){return V})),n.d(o,"getBlock",(function(){return H})),n.d(o,"__unstableGetBlockWithoutInnerBlocks",(function(){return z})),n.d(o,"getBlocks",(function(){return G})),n.d(o,"__unstableGetBlockWithBlockTree",(function(){return U})),n.d(o,"__unstableGetBlockTree",(function(){return W})),n.d(o,"__unstableGetClientIdWithClientIdsTree",(function(){return K})),n.d(o,"__unstableGetClientIdsTree",(function(){return q})),n.d(o,"getClientIdsOfDescendants",(function(){return $})),n.d(o,"getClientIdsWithDescendants",(function(){return Y})),n.d(o,"getGlobalBlockCount",(function(){return X})),n.d(o,"getBlocksByClientId",(function(){return Q})),n.d(o,"getBlockCount",(function(){return Z})),n.d(o,"getSelectionStart",(function(){return J})),n.d(o,"getSelectionEnd",(function(){return ee})),n.d(o,"getBlockSelectionStart",(function(){return te})),n.d(o,"getBlockSelectionEnd",(function(){return ne})),n.d(o,"getSelectedBlockCount",(function(){return oe})),n.d(o,"hasSelectedBlock",(function(){return re})),n.d(o,"getSelectedBlockClientId",(function(){return ce})),n.d(o,"getSelectedBlock",(function(){return le})),n.d(o,"getBlockRootClientId",(function(){return ie})),n.d(o,"getBlockParents",(function(){return ae})),n.d(o,"getBlockParentsByBlockName",(function(){return se})),n.d(o,"getBlockHierarchyRootClientId",(function(){return ue})),n.d(o,"getLowestCommonAncestorWithSelectedBlock",(function(){return de})),n.d(o,"getAdjacentBlockClientId",(function(){return be})),n.d(o,"getPreviousBlockClientId",(function(){return me})),n.d(o,"getNextBlockClientId",(function(){return pe})),n.d(o,"getSelectedBlocksInitialCaretPosition",(function(){return fe})),n.d(o,"getSelectedBlockClientIds",(function(){return ge})),n.d(o,"getMultiSelectedBlockClientIds",(function(){return he})),n.d(o,"getMultiSelectedBlocks",(function(){return Oe})),n.d(o,"getFirstMultiSelectedBlockClientId",(function(){return je})),n.d(o,"getLastMultiSelectedBlockClientId",(function(){return ve})),n.d(o,"isFirstMultiSelectedBlock",(function(){return ke})),n.d(o,"isBlockMultiSelected",(function(){return _e})),n.d(o,"isAncestorMultiSelected",(function(){return ye})),n.d(o,"getMultiSelectedBlocksStartClientId",(function(){return Ee})),n.d(o,"getMultiSelectedBlocksEndClientId",(function(){return Ce})),n.d(o,"getBlockOrder",(function(){return Se})),n.d(o,"getBlockIndex",(function(){return we})),n.d(o,"isBlockSelected",(function(){return Be})),n.d(o,"hasSelectedInnerBlock",(function(){return Ie})),n.d(o,"isBlockWithinSelection",(function(){return xe})),n.d(o,"hasMultiSelection",(function(){return Te})),n.d(o,"isMultiSelecting",(function(){return Ne})),n.d(o,"isSelectionEnabled",(function(){return Pe})),n.d(o,"getBlockMode",(function(){return Le})),n.d(o,"isTyping",(function(){return Re})),n.d(o,"isDraggingBlocks",(function(){return Ae})),n.d(o,"getDraggedBlockClientIds",(function(){return Me})),n.d(o,"isBlockBeingDragged",(function(){return De})),n.d(o,"isAncestorBeingDragged",(function(){return Fe})),n.d(o,"isCaretWithinFormattedText",(function(){return Ve})),n.d(o,"getBlockInsertionPoint",(function(){return He})),n.d(o,"isBlockInsertionPointVisible",(function(){return ze})),n.d(o,"isValidTemplate",(function(){return Ge})),n.d(o,"getTemplate",(function(){return Ue})),n.d(o,"getTemplateLock",(function(){return We})),n.d(o,"canInsertBlockType",(function(){return $e})),n.d(o,"canInsertBlocks",(function(){return Ye})),n.d(o,"getInserterItems",(function(){return tt})),n.d(o,"getBlockTransformItems",(function(){return nt})),n.d(o,"hasInserterItems",(function(){return ot})),n.d(o,"__experimentalGetAllowedBlocks",(function(){return rt})),n.d(o,"__experimentalGetParsedPattern",(function(){return ct})),n.d(o,"__experimentalGetAllowedPatterns",(function(){return it})),n.d(o,"__experimentalGetPatternsByBlockTypes",(function(){return at})),n.d(o,"__experimentalGetPatternTransformItems",(function(){return st})),n.d(o,"getBlockListSettings",(function(){return ut})),n.d(o,"getSettings",(function(){return dt})),n.d(o,"isLastBlockChangePersistent",(function(){return bt})),n.d(o,"__experimentalGetBlockListSettingsForBlocks",(function(){return mt})),n.d(o,"__experimentalGetParsedReusableBlock",(function(){return pt})),n.d(o,"__experimentalGetReusableBlockTitle",(function(){return ft})),n.d(o,"__unstableIsLastBlockChangeIgnored",(function(){return gt})),n.d(o,"__experimentalGetLastBlockAttributeChanges",(function(){return ht})),n.d(o,"isNavigationMode",(function(){return jt})),n.d(o,"hasBlockMovingClientId",(function(){return vt})),n.d(o,"didAutomaticChange",(function(){return kt})),n.d(o,"isBlockHighlighted",(function(){return _t})),n.d(o,"areInnerBlocksControlled",(function(){return yt})),n.d(o,"__experimentalGetActiveBlockIdByBlockNames",(function(){return Et})),n.d(o,"wasBlockJustInserted",(function(){return Ct}));var r={};n.r(r),n.d(r,"resetBlocks",(function(){return Nt})),n.d(r,"validateBlocksToTemplate",(function(){return Pt})),n.d(r,"resetSelection",(function(){return Lt})),n.d(r,"receiveBlocks",(function(){return Rt})),n.d(r,"updateBlockAttributes",(function(){return At})),n.d(r,"updateBlock",(function(){return Mt})),n.d(r,"selectBlock",(function(){return Dt})),n.d(r,"selectPreviousBlock",(function(){return Ft})),n.d(r,"selectNextBlock",(function(){return Vt})),n.d(r,"startMultiSelect",(function(){return Ht})),n.d(r,"stopMultiSelect",(function(){return zt})),n.d(r,"multiSelect",(function(){return Gt})),n.d(r,"clearSelectedBlock",(function(){return Ut})),n.d(r,"toggleSelection",(function(){return Wt})),n.d(r,"replaceBlocks",(function(){return qt})),n.d(r,"replaceBlock",(function(){return $t})),n.d(r,"moveBlocksDown",(function(){return Xt})),n.d(r,"moveBlocksUp",(function(){return Qt})),n.d(r,"moveBlocksToPosition",(function(){return Zt})),n.d(r,"moveBlockToPosition",(function(){return Jt})),n.d(r,"insertBlock",(function(){return en})),n.d(r,"insertBlocks",(function(){return tn})),n.d(r,"showInsertionPoint",(function(){return nn})),n.d(r,"hideInsertionPoint",(function(){return on})),n.d(r,"setTemplateValidity",(function(){return rn})),n.d(r,"synchronizeTemplate",(function(){return cn})),n.d(r,"mergeBlocks",(function(){return ln})),n.d(r,"removeBlocks",(function(){return an})),n.d(r,"removeBlock",(function(){return sn})),n.d(r,"replaceInnerBlocks",(function(){return un})),n.d(r,"toggleBlockMode",(function(){return dn})),n.d(r,"startTyping",(function(){return bn})),n.d(r,"stopTyping",(function(){return mn})),n.d(r,"startDraggingBlocks",(function(){return pn})),n.d(r,"stopDraggingBlocks",(function(){return fn})),n.d(r,"enterFormattedText",(function(){return gn})),n.d(r,"exitFormattedText",(function(){return hn})),n.d(r,"selectionChange",(function(){return On})),n.d(r,"insertDefaultBlock",(function(){return jn})),n.d(r,"updateBlockListSettings",(function(){return vn})),n.d(r,"updateSettings",(function(){return kn})),n.d(r,"__unstableSaveReusableBlock",(function(){return _n})),n.d(r,"__unstableMarkLastChangeAsPersistent",(function(){return yn})),n.d(r,"__unstableMarkNextChangeAsNotPersistent",(function(){return En})),n.d(r,"__unstableMarkAutomaticChange",(function(){return Cn})),n.d(r,"__unstableMarkAutomaticChangeFinal",(function(){return Sn})),n.d(r,"setNavigationMode",(function(){return wn})),n.d(r,"setBlockMovingClientId",(function(){return Bn})),n.d(r,"duplicateBlocks",(function(){return In})),n.d(r,"insertBeforeBlock",(function(){return xn})),n.d(r,"insertAfterBlock",(function(){return Tn})),n.d(r,"toggleBlockHighlight",(function(){return Nn})),n.d(r,"flashBlock",(function(){return Pn})),n.d(r,"setHasControlledInnerBlocks",(function(){return Ln}));var c=n("qRz9"),l=n("wx14"),i=n("GRId"),a=n("TSYQ"),s=n.n(a),u=n("YLtl"),d=n("K9lf"),b=n("g56x"),m=n("HSyU"),p=n("tI+e"),f=n("1ZqX");const g=Object(i.createContext)({name:"",isSelected:!1,clientId:null}),{Provider:h}=g;function O(){return Object(i.useContext)(g)}var j=n("l3Sj");const v={insertUsage:{}},k={alignWide:!1,supportsLayout:!0,colors:[{name:Object(j.__)("Black"),slug:"black",color:"#000000"},{name:Object(j.__)("Cyan bluish gray"),slug:"cyan-bluish-gray",color:"#abb8c3"},{name:Object(j.__)("White"),slug:"white",color:"#ffffff"},{name:Object(j.__)("Pale pink"),slug:"pale-pink",color:"#f78da7"},{name:Object(j.__)("Vivid red"),slug:"vivid-red",color:"#cf2e2e"},{name:Object(j.__)("Luminous vivid orange"),slug:"luminous-vivid-orange",color:"#ff6900"},{name:Object(j.__)("Luminous vivid amber"),slug:"luminous-vivid-amber",color:"#fcb900"},{name:Object(j.__)("Light green cyan"),slug:"light-green-cyan",color:"#7bdcb5"},{name:Object(j.__)("Vivid green cyan"),slug:"vivid-green-cyan",color:"#00d084"},{name:Object(j.__)("Pale cyan blue"),slug:"pale-cyan-blue",color:"#8ed1fc"},{name:Object(j.__)("Vivid cyan blue"),slug:"vivid-cyan-blue",color:"#0693e3"},{name:Object(j.__)("Vivid purple"),slug:"vivid-purple",color:"#9b51e0"}],fontSizes:[{name:Object(j._x)("Small","font size name"),size:13,slug:"small"},{name:Object(j._x)("Normal","font size name"),size:16,slug:"normal"},{name:Object(j._x)("Medium","font size name"),size:20,slug:"medium"},{name:Object(j._x)("Large","font size name"),size:36,slug:"large"},{name:Object(j._x)("Huge","font size name"),size:42,slug:"huge"}],imageDefaultSize:"large",imageSizes:[{slug:"thumbnail",name:Object(j.__)("Thumbnail")},{slug:"medium",name:Object(j.__)("Medium")},{slug:"large",name:Object(j.__)("Large")},{slug:"full",name:Object(j.__)("Full Size")}],imageEditing:!0,maxWidth:580,allowedBlockTypes:!0,maxUploadFileSize:0,allowedMimeTypes:null,__experimentalCanUserUseUnfilteredHTML:!1,__experimentalBlockDirectory:!1,__mobileEnablePageTemplates:!1,__experimentalBlockPatterns:[],__experimentalBlockPatternCategories:[],__experimentalSpotlightEntityBlocks:[],gradients:[{name:Object(j.__)("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(j.__)("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(j.__)("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(j.__)("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(j.__)("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(j.__)("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(j.__)("Blush light purple"),gradient:"linear-gradient(135deg,rgb(255,206,236) 0%,rgb(152,150,240) 100%)",slug:"blush-light-purple"},{name:Object(j.__)("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(j.__)("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(j.__)("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(j.__)("Electric grass"),gradient:"linear-gradient(135deg,rgb(202,248,128) 0%,rgb(113,206,126) 100%)",slug:"electric-grass"},{name:Object(j.__)("Midnight"),gradient:"linear-gradient(135deg,rgb(2,3,129) 0%,rgb(40,116,252) 100%)",slug:"midnight"}]};function _(e,t,n){return[...e.slice(0,n),...Object(u.castArray)(t),...e.slice(n)]}function y(e,t,n,o=1){const r=[...e];return r.splice(t,o),_(r,e.slice(t,t+o),n)}function E(e,t=""){const n={[t]:[]};return e.forEach(e=>{const{clientId:o,innerBlocks:r}=e;n[t].push(o),Object.assign(n,E(r,o))}),n}function C(e,t=""){return e.reduce((e,n)=>Object.assign(e,{[n.clientId]:t},C(n.innerBlocks,n.clientId)),{})}function S(e,t=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 w(e){return S(e,e=>Object(u.omit)(e,"attributes"))}function B(e){return S(e,e=>e.attributes)}function I(e,t){return"UPDATE_BLOCK_ATTRIBUTES"===e.type&&void 0!==t&&"UPDATE_BLOCK_ATTRIBUTES"===t.type&&Object(u.isEqual)(e.clientIds,t.clientIds)&&(n=e.attributes,o=t.attributes,Object(u.isEqual)(Object(u.keys)(n),Object(u.keys)(o)));var n,o}const x=e=>e.reduce((e,t)=>(e[t]={},e),{});const T=Object(u.flow)(f.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(u.mapValues)(t.attributes,(n,r)=>{const{name:c}=t.byClientId[r];return"core/block"===c&&n.ref===e?{...n,ref:o}:n})}return e(t,n)},e=>(t={},n)=>{const o=e(t,n);if(o===t)return t;o.cache=t.cache?t.cache:{};const r=e=>e.reduce((e,n)=>{let o=n;do{e.push(o),o=t.parents[o]}while(o&&!t.controlledInnerBlocks[o]);return e},[]);switch(n.type){case"RESET_BLOCKS":o.cache=Object(u.mapValues)(S(n.blocks),()=>({}));break;case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":{const e=Object(u.keys)(S(n.blocks));n.rootClientId&&!t.controlledInnerBlocks[n.rootClientId]&&e.push(n.rootClientId),o.cache={...o.cache,...x(r(e))};break}case"UPDATE_BLOCK":o.cache={...o.cache,...x(r([n.clientId]))};break;case"UPDATE_BLOCK_ATTRIBUTES":o.cache={...o.cache,...x(r(n.clientIds))};break;case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":const e=x(r(n.replacedClientIds));o.cache={...Object(u.omit)(o.cache,n.replacedClientIds),...Object(u.omit)(e,n.replacedClientIds),...x(Object(u.keys)(S(n.blocks)))};break;case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":o.cache={...Object(u.omit)(o.cache,n.removedClientIds),...x(Object(u.difference)(r(n.clientIds),n.clientIds))};break;case"MOVE_BLOCKS_TO_POSITION":{const e=[...n.clientIds];n.fromRootClientId&&e.push(n.fromRootClientId),n.toRootClientId&&e.push(n.toRootClientId),o.cache={...o.cache,...x(r(e))};break}case"MOVE_BLOCKS_UP":case"MOVE_BLOCKS_DOWN":{const e=[];n.rootClientId&&e.push(n.rootClientId),o.cache={...o.cache,...x(r(e))};break}case"SAVE_REUSABLE_BLOCK_SUCCESS":{const e=Object(u.keys)(Object(u.omitBy)(o.attributes,(e,t)=>"core/block"!==o.byClientId[t].name||e.ref!==n.updatedId));o.cache={...o.cache,...x(r(e))}}}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(u.reduce)(o,(e,n,o)=>(t.order[o]&&(e[o]=t.order[o]),e),{})}),c},e=>(t,n)=>{if(t&&"RESET_BLOCKS"===n.type){const e=function e(t,n="",o={}){return Object(u.reduce)(t[n],(n,r)=>o[r]?n:[...n,r,...e(t,r)],[])}(t.order,"",t.controlledInnerBlocks),o=Object.keys(Object(u.pickBy)(t.controlledInnerBlocks));return{...t,byClientId:{...Object(u.omit)(t.byClientId,e),...w(n.blocks)},attributes:{...Object(u.omit)(t.attributes,e),...B(n.blocks)},order:{...Object(u.omit)(t.order,e),...Object(u.omit)(E(n.blocks),o)},parents:{...Object(u.omit)(t.parents,e),...C(n.blocks)},cache:{...Object(u.omit)(t.cache,e),...Object(u.omit)(Object(u.mapValues)(S(n.blocks),()=>({})),o)}}}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:!I(r,t)},t=r,n="MARK_NEXT_CHANGE_AS_NOT_PERSISTENT"===r.type,c}}),(function(e){const t=new Set(["RECEIVE_BLOCKS"]);return(n,o)=>{const r=e(n,o);return r!==n&&(r.isIgnoredChange=t.has(o.type)),r}}))({byClientId(e={},t){switch(t.type){case"RESET_BLOCKS":return w(t.blocks);case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":return{...e,...w(t.blocks)};case"UPDATE_BLOCK":if(!e[t.clientId])return e;const n=Object(u.omit)(t.updates,"attributes");return Object(u.isEmpty)(n)?e:{...e,[t.clientId]:{...e[t.clientId],...n}};case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":return t.blocks?{...Object(u.omit)(e,t.replacedClientIds),...w(t.blocks)}:e;case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(u.omit)(e,t.removedClientIds)}return e},attributes(e={},t){switch(t.type){case"RESET_BLOCKS":return B(t.blocks);case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":return{...e,...B(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(u.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(u.omit)(e,t.replacedClientIds),...B(t.blocks)}:e;case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(u.omit)(e,t.removedClientIds)}return e},order(e={},t){switch(t.type){case"RESET_BLOCKS":return E(t.blocks);case"RECEIVE_BLOCKS":return{...e,...Object(u.omit)(E(t.blocks),"")};case"INSERT_BLOCKS":{const{rootClientId:n=""}=t,o=e[n]||[],r=E(t.blocks,n),{index:c=o.length}=t;return{...e,...r,[n]:_(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]:y(e[o],t,c,r.length)}}return{...e,[n]:Object(u.without)(e[n],...r),[o]:_(e[o],r,c)}}case"MOVE_BLOCKS_UP":{const{clientIds:n,rootClientId:o=""}=t,r=Object(u.first)(n),c=e[o];if(!c.length||r===Object(u.first)(c))return e;const l=c.indexOf(r);return{...e,[o]:y(c,l,l-1,n.length)}}case"MOVE_BLOCKS_DOWN":{const{clientIds:n,rootClientId:o=""}=t,r=Object(u.first)(n),c=Object(u.last)(n),l=e[o];if(!l.length||c===Object(u.last)(l))return e;const i=l.indexOf(r);return{...e,[o]:y(l,i,i+1,n.length)}}case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":{const{clientIds:n}=t;if(!t.blocks)return e;const o=E(t.blocks);return Object(u.flow)([e=>Object(u.omit)(e,t.replacedClientIds),e=>({...e,...Object(u.omit)(o,"")}),e=>Object(u.mapValues)(e,e=>Object(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 Object(u.flow)([e=>Object(u.omit)(e,t.removedClientIds),e=>Object(u.mapValues)(e,e=>Object(u.without)(e,...t.removedClientIds))])(e)}return e},parents(e={},t){switch(t.type){case"RESET_BLOCKS":return C(t.blocks);case"RECEIVE_BLOCKS":return{...e,...C(t.blocks)};case"INSERT_BLOCKS":return{...e,...C(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(u.omit)(e,t.replacedClientIds),...C(t.blocks,e[t.clientIds[0]])};case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(u.omit)(e,t.removedClientIds)}return e},controlledInnerBlocks:(e={},{type:t,clientId:n,hasControlledInnerBlocks:o})=>"SET_HAS_CONTROLLED_INNER_BLOCKS"===t?{...e,[n]:o}:e});function N(e={},t){switch(t.type){case"CLEAR_SELECTED_BLOCK":return e.clientId?{}:e;case"SELECT_BLOCK":return t.clientId===e.clientId?e:{clientId:t.clientId};case"REPLACE_INNER_BLOCKS":case"INSERT_BLOCKS":return t.updateSelection&&t.blocks.length?{clientId:t.blocks[0].clientId}:e;case"REMOVE_BLOCKS":return t.clientIds&&t.clientIds.length&&-1!==t.clientIds.indexOf(e.clientId)?{}:e;case"REPLACE_BLOCKS":{if(-1===t.clientIds.indexOf(e.clientId))return e;const n=t.indexToSelect||t.blocks.length-1,o=t.blocks[n];return o?o.clientId===e.clientId?e:{clientId:o.clientId}:{}}}return e}var P=Object(f.combineReducers)({blocks:T,isTyping:function(e=!1,t){switch(t.type){case"START_TYPING":return!0;case"STOP_TYPING":return!1}return e},draggedBlocks:function(e=[],t){switch(t.type){case"START_DRAGGING_BLOCKS":return t.clientIds;case"STOP_DRAGGING_BLOCKS":return[]}return e},isCaretWithinFormattedText:function(e=!1,t){switch(t.type){case"ENTER_FORMATTED_TEXT":return!0;case"EXIT_FORMATTED_TEXT":return!1}return e},selection:function(e={},t){var n,o;switch(t.type){case"SELECTION_CHANGE":return{selectionStart:{clientId:t.clientId,attributeKey:t.attributeKey,offset:t.startOffset},selectionEnd:{clientId:t.clientId,attributeKey:t.attributeKey,offset:t.endOffset}};case"RESET_SELECTION":const{selectionStart:r,selectionEnd:c}=t;return{selectionStart:r,selectionEnd:c};case"MULTI_SELECT":const{start:l,end:i}=t;return{selectionStart:{clientId:l},selectionEnd:{clientId:i}};case"RESET_BLOCKS":const a=null==e||null===(n=e.selectionStart)||void 0===n?void 0:n.clientId,s=null==e||null===(o=e.selectionEnd)||void 0===o?void 0:o.clientId;if(!a&&!s)return e;if(!t.blocks.some(e=>e.clientId===a))return{selectionStart:{},selectionEnd:{}};if(!t.blocks.some(e=>e.clientId===s))return{...e,selectionEnd:e.selectionStart}}return{selectionStart:N(e.selectionStart,t),selectionEnd:N(e.selectionEnd,t)}},isMultiSelecting:function(e=!1,t){switch(t.type){case"START_MULTI_SELECT":return!0;case"STOP_MULTI_SELECT":return!1}return e},isSelectionEnabled:function(e=!0,t){switch(t.type){case"TOGGLE_SELECTION":return t.isSelectionEnabled}return e},initialPosition:function(e=null,t){return"REPLACE_BLOCKS"===t.type&&void 0!==t.initialPosition||["SELECT_BLOCK","RESET_SELECTION","INSERT_BLOCKS","REPLACE_INNER_BLOCKS"].includes(t.type)?t.initialPosition:e},blocksMode:function(e={},t){if("TOGGLE_BLOCK_MODE"===t.type){const{clientId:n}=t;return{...e,[n]:e[n]&&"html"===e[n]?"visual":"html"}}return e},blockListSettings:(e={},t)=>{switch(t.type){case"REPLACE_BLOCKS":case"REMOVE_BLOCKS":return Object(u.omit)(e,t.clientIds);case"UPDATE_BLOCK_LIST_SETTINGS":{const{clientId:n}=t;return t.settings?Object(u.isEqual)(e[n],t.settings)?e:{...e,[n]:t.settings}:e.hasOwnProperty(n)?Object(u.omit)(e,n):e}}return e},insertionPoint:function(e=null,t){switch(t.type){case"SHOW_INSERTION_POINT":const{rootClientId:e,index:n,__unstableWithInserter:o}=t;return{rootClientId:e,index:n,__unstableWithInserter:o};case"HIDE_INSERTION_POINT":return null}return e},template:function(e={isValid:!0},t){switch(t.type){case"SET_TEMPLATE_VALIDITY":return{...e,isValid:t.isValid}}return e},settings:function(e=k,t){switch(t.type){case"UPDATE_SETTINGS":return{...e,...t.settings}}return e},preferences:function(e=v,t){switch(t.type){case"INSERT_BLOCKS":case"REPLACE_BLOCKS":return t.blocks.reduce((e,n)=>{const{attributes:o,name:r}=n,c=Object(f.select)(m.store).getActiveBlockVariation(r,o);let l=null!=c&&c.name?`${r}/${c.name}`:r;const i={name:l};return"core/block"===r&&(i.ref=o.ref,l+="/"+o.ref),{...e,insertUsage:{...e.insertUsage,[l]:{time:t.time,count:e.insertUsage[l]?e.insertUsage[l].count+1:1,insert:i}}}},e)}return e},lastBlockAttributesChange:function(e,t){switch(t.type){case"UPDATE_BLOCK":if(!t.updates.attributes)break;return{[t.clientId]:t.updates.attributes};case"UPDATE_BLOCK_ATTRIBUTES":return t.clientIds.reduce((e,n)=>({...e,[n]:t.uniqueByBlock?t.attributes[n]:t.attributes}),{})}return null},isNavigationMode:function(e=!1,t){return"INSERT_BLOCKS"!==t.type&&("SET_NAVIGATION_MODE"===t.type?t.isNavigationMode:e)},hasBlockMovingClientId:function(e=null,t){return"SET_BLOCK_MOVING_MODE"===t.type?t.hasBlockMovingClientId:"SET_NAVIGATION_MODE"===t.type?null:e},automaticChangeStatus:function(e,t){switch(t.type){case"MARK_AUTOMATIC_CHANGE":return"pending";case"MARK_AUTOMATIC_CHANGE_FINAL":return"pending"===e?"final":void 0;case"SELECTION_CHANGE":return"final"!==e?e:void 0;case"START_TYPING":case"STOP_TYPING":return e}},highlightedBlock:function(e,t){switch(t.type){case"TOGGLE_BLOCK_HIGHLIGHT":const{clientId:n,isHighlighted:o}=t;return o?n:e===n?null:e;case"SELECT_BLOCK":if(t.clientId!==e)return null}return e},lastBlockInserted:function(e={},t){var n;switch(t.type){case"INSERT_BLOCKS":if(!t.blocks.length)return e;return{clientId:t.blocks[0].clientId,source:null===(n=t.meta)||void 0===n?void 0:n.source};case"RESET_BLOCKS":return{}}return e}}),L=n("pPDe"),R=n("ouCq");const A=Object(i.createElement)(p.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(p.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(i.createElement)(p.G,null,Object(i.createElement)(p.Path,{d:"M19 3H5c-1.105 0-2 .895-2 2v14c0 1.105.895 2 2 2h14c1.105 0 2-.895 2-2V5c0-1.105-.895-2-2-2zM6 6h5v5H6V6zm4.5 13C9.12 19 8 17.88 8 16.5S9.12 14 10.5 14s2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5zm3-6l3-5 3 5h-6z"}))),M=[];function D(e,t){const n=e.blocks.byClientId[t];if("web"!==i.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 F(e,t){const n=e.blocks.byClientId[t];return!!n&&n.isValid}function V(e,t){return e.blocks.byClientId[t]?e.blocks.attributes[t]:null}const H=Object(L.a)((e,t)=>{const n=e.blocks.byClientId[t];return n?{...n,attributes:V(e,t),innerBlocks:yt(e,t)?M:G(e,t)}:null},(e,t)=>[e.blocks.cache[t]]),z=Object(L.a)((e,t)=>{const n=e.blocks.byClientId[t];return n?{...n,attributes:V(e,t)}:null},(e,t)=>[e.blocks.byClientId[t],e.blocks.attributes[t]]),G=Object(L.a)((e,t)=>Object(u.map)(Se(e,t),t=>H(e,t)),(e,t)=>Object(u.map)(e.blocks.order[t||""],t=>e.blocks.cache[t])),U=Object(L.a)((e,t)=>{const n=e.blocks.byClientId[t];return n?{...n,attributes:V(e,t),innerBlocks:W(e,t)}:null},e=>[e.blocks.byClientId,e.blocks.order,e.blocks.attributes]),W=Object(L.a)((e,t="")=>Object(u.map)(Se(e,t),t=>U(e,t)),e=>[e.blocks.byClientId,e.blocks.order,e.blocks.attributes]),K=Object(L.a)((e,t)=>({clientId:t,innerBlocks:q(e,t)}),e=>[e.blocks.order]),q=Object(L.a)((e,t="")=>Object(u.map)(Se(e,t),t=>K(e,t)),e=>[e.blocks.order]),$=(e,t)=>Object(u.flatMap)(t,t=>{const n=Se(e,t);return[...n,...$(e,n)]}),Y=Object(L.a)(e=>{const t=Se(e);return[...t,...$(e,t)]},e=>[e.blocks.order]),X=Object(L.a)((e,t)=>{const n=Y(e);return t?Object(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=Object(L.a)((e,t)=>Object(u.map)(Object(u.castArray)(t),t=>H(e,t)),e=>[e.blocks.byClientId,e.blocks.order,e.blocks.attributes]);function Z(e,t){return Se(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=he(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 ce(e){const{selectionStart:t,selectionEnd:n}=e.selection,{clientId:o}=t;return o&&o===n.clientId?o:null}function le(e){const t=ce(e);return t?H(e,t):null}function ie(e,t){return void 0!==e.blocks.parents[t]?e.blocks.parents[t]:null}const ae=Object(L.a)((e,t,n=!1)=>{const o=[];let r=t;for(;e.blocks.parents[r];)r=e.blocks.parents[r],o.push(r);return n?o:o.reverse()},e=>[e.blocks.parents]),se=Object(L.a)((e,t,n,o=!1)=>{const r=ae(e,t,o);return Object(u.map)(Object(u.filter)(Object(u.map)(r,t=>({id:t,name:D(e,t)})),({name:e})=>Array.isArray(n)?n.includes(e):e===n),({id:e})=>e)},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=ce(e),o=[...ae(e,t),t],r=[...ae(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 be(e,t,n=1){if(void 0===t&&(t=ce(e)),void 0===t&&(t=n<0?je(e):ve(e)),!t)return null;const o=ie(e,t);if(null===o)return null;const{order:r}=e.blocks,c=r[o],l=c.indexOf(t)+1*n;return l<0||l===c.length?null:c[l]}function me(e,t){return be(e,t,-1)}function pe(e,t){return be(e,t,1)}function fe(e){return e.initialPosition}const ge=Object(L.a)(e=>{const{selectionStart:t,selectionEnd:n}=e.selection;if(void 0===t.clientId||void 0===n.clientId)return M;if(t.clientId===n.clientId)return[t.clientId];const o=ie(e,t.clientId);if(null===o)return M;const r=Se(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 he(e){const{selectionStart:t,selectionEnd:n}=e.selection;return t.clientId===n.clientId?M:ge(e)}const Oe=Object(L.a)(e=>{const t=he(e);return t.length?t.map(t=>H(e,t)):M},e=>[...ge.getDependants(e),e.blocks.byClientId,e.blocks.order,e.blocks.attributes]);function je(e){return Object(u.first)(he(e))||null}function ve(e){return Object(u.last)(he(e))||null}function ke(e,t){return je(e)===t}function _e(e,t){return-1!==he(e).indexOf(t)}const ye=Object(L.a)((e,t)=>{let n=t,o=!1;for(;n&&!o;)n=ie(e,n),o=_e(e,n);return o},e=>[e.blocks.order,e.selection.selectionStart.clientId,e.selection.selectionEnd.clientId]);function Ee(e){const{selectionStart:t,selectionEnd:n}=e.selection;return t.clientId===n.clientId?null:t.clientId||null}function Ce(e){const{selectionStart:t,selectionEnd:n}=e.selection;return t.clientId===n.clientId?null:n.clientId||null}function Se(e,t){return e.blocks.order[t||""]||M}function we(e,t,n){return Se(e,n).indexOf(t)}function Be(e,t){const{selectionStart:n,selectionEnd:o}=e.selection;return n.clientId===o.clientId&&n.clientId===t}function Ie(e,t,n=!1){return Object(u.some)(Se(e,t),t=>Be(e,t)||_e(e,t)||n&&Ie(e,t,n))}function xe(e,t){if(!t)return!1;const n=he(e),o=n.indexOf(t);return o>-1&&o<n.length-1}function Te(e){const{selectionStart:t,selectionEnd:n}=e.selection;return t.clientId!==n.clientId}function Ne(e){return e.isMultiSelecting}function Pe(e){return e.isSelectionEnabled}function Le(e,t){return e.blocksMode[t]||"visual"}function Re(e){return e.isTyping}function Ae(e){return!!e.draggedBlocks.length}function Me(e){return e.draggedBlocks}function De(e,t){return e.draggedBlocks.includes(t)}function Fe(e,t){if(!Ae(e))return!1;const n=ae(e,t);return Object(u.some)(n,t=>De(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:c}=r;return c?(t=ie(e,c)||void 0,n=we(e,r.clientId,t)+1):n=Se(e).length,{rootClientId:t,index:n}}function ze(e){return null!==e.insertionPoint}function Ge(e){return e.template.isValid}function Ue(e){return e.settings.template}function We(e,t){if(!t)return e.settings.templateLock;const n=ut(e,t);return n?n.templateLock:null}const Ke=(e,t,n=null)=>Object(u.isBoolean)(e)?e:Object(u.isArray)(e)?!(!e.includes("core/post-content")||null!==t)||e.includes(t):n,qe=(e,t,n=null)=>{let o;if(t&&"object"==typeof t?(o=t,t=o.name):o=Object(m.getBlockType)(t),!o)return!1;const{allowedBlockTypes:r}=dt(e);if(!Ke(r,t,!0))return!1;if(!!We(e,n))return!1;const c=ut(e,n);if(n&&void 0===c)return!1;const l=null==c?void 0:c.allowedBlocks,i=Ke(l,t),a=o.parent,s=D(e,n),u=Ke(a,s);return null!==i&&null!==u?i||u:null!==i?i:null===u||u},$e=Object(L.a)(qe,(e,t,n)=>[e.blockListSettings[n],e.blocks.byClientId[n],e.settings.allowedBlockTypes,e.settings.templateLock]);function Ye(e,t,n=null){return t.every(t=>$e(e,D(e,t),n))}function Xe(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 Qe=(e,t,n)=>!!Object(m.hasBlockSupport)(t,"inserter",!0)&&qe(e,t.name,n),Ze=(e,t)=>n=>{const o=`${t.id}/${n.name}`,{time:r,count:c=0}=Xe(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:Je(r,c)}},Je=(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}},et=(e,{buildScope:t="inserter"})=>n=>{const o=n.name;let r=!1;Object(m.hasBlockSupport)(n.name,"multiple",!0)||(r=Object(u.some)(Q(e,Y(e)),{name:n.name}));const{time:c,count:l=0}=Xe(e,o)||{},i={id:o,name:n.name,title:n.title,icon:n.icon,isDisabled:r,frecency:Je(c,l)};if("transform"===t)return i;const a=n.variations.filter(({scope:e})=>!e||e.includes("inserter"));return{...i,initialAttributes:{},description:n.description,category:n.category,keywords:n.keywords,variations:a,example:n.example,utility:1}},tt=Object(L.a)((e,t=null)=>{const n=et(e,{buildScope:"inserter"}),o=Object(m.getBlockTypes)().filter(n=>Qe(e,n,t)).map(n),r=qe(e,"core/block",t)?Ot(e).map(t=>{const n="core/block/"+t.id,o=pt(e,t.id);let r;1===o.length&&(r=Object(m.getBlockType)(o[0].name));const{time:c,count:l=0}=Xe(e,n)||{},i=Je(c,l);return{id:n,name:"core/block",initialAttributes:{ref:t.id},title:t.title.raw,icon:r?r.icon:A,category:"reusable",keywords:[],isDisabled:!1,utility:1,frecency:i}}):[],c=o.filter(({variations:e=[]})=>!e.some(({isDefault:e})=>e)),l=[];for(const t of o){const{variations:n=[]}=t;if(n.length){const o=Ze(e,t);l.push(...n.map(o))}}return[...[...c,...l].sort((e,t)=>{const n=e.name.startsWith("core/"),o=t.name.startsWith("core/");return n&&o?0:n&&!o?-1:1}),...r]},(e,t)=>[e.blockListSettings[t],e.blocks.byClientId,e.blocks.order,e.preferences.insertUsage,e.settings.allowedBlockTypes,e.settings.templateLock,Ot(e),Object(m.getBlockTypes)()]),nt=Object(L.a)((e,t,n=null)=>{const o=et(e,{buildScope:"transform"}),r=Object(m.getBlockTypes)().filter(t=>Qe(e,t,n)).map(o),c=Object(u.mapKeys)(r,({name:e})=>e),l=Object(m.getPossibleBlockTransformations)(t).reduce((e,t)=>(c[null==t?void 0:t.name]&&e.push(c[t.name]),e),[]);return Object(u.orderBy)(l,e=>c[e.name].frecency,"desc")},(e,t)=>[e.blockListSettings[t],e.blocks.byClientId,e.preferences.insertUsage,e.settings.allowedBlockTypes,e.settings.templateLock,Object(m.getBlockTypes)()]),ot=Object(L.a)((e,t=null)=>{if(Object(u.some)(Object(m.getBlockTypes)(),n=>Qe(e,n,t)))return!0;return qe(e,"core/block",t)&&Ot(e).length>0},(e,t)=>[e.blockListSettings[t],e.blocks.byClientId,e.settings.allowedBlockTypes,e.settings.templateLock,Ot(e),Object(m.getBlockTypes)()]),rt=Object(L.a)((e,t=null)=>{if(t)return Object(u.filter)(Object(m.getBlockTypes)(),n=>Qe(e,n,t))},(e,t)=>[e.blockListSettings[t],e.blocks.byClientId,e.settings.allowedBlockTypes,e.settings.templateLock,Object(m.getBlockTypes)()]),ct=Object(L.a)((e,t)=>{const n=e.settings.__experimentalBlockPatterns.find(({name:e})=>e===t);return n?{...n,blocks:Object(m.parse)(n.content)}:null},e=>[e.settings.__experimentalBlockPatterns]),lt=Object(L.a)(e=>{const t=e.settings.__experimentalBlockPatterns,{allowedBlockTypes:n}=dt(e);return t.map(e=>({...e,blockNodes:Object(R.parse)(e.content)})).filter(({blockNodes:e})=>((e,t)=>{if(Object(u.isBoolean)(t))return t;const n=[...e];for(;n.length>0;){var o;const e=n.shift();if(!Ke(t,e.name||e.blockName,!0))return!1;null===(o=e.innerBlocks)||void 0===o||o.forEach(e=>{n.push(e)})}return!0})(e,n))},e=>[e.settings.__experimentalBlockPatterns,e.settings.allowedBlockTypes]),it=Object(L.a)((e,t=null)=>{const n=lt(e);return Object(u.filter)(n,({blockNodes:n})=>n.every(({blockName:n})=>$e(e,n,t)))},(e,t)=>[e.settings.__experimentalBlockPatterns,e.settings.allowedBlockTypes,e.settings.templateLock,e.blockListSettings[t],e.blocks.byClientId[t]]),at=Object(L.a)((e,t,n=null)=>{if(!t)return M;const o=it(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)=>[...it.getDependants(e,t)]),st=Object(L.a)((e,t,n=null)=>{if(!t)return M;if(t.some(({clientId:t,innerBlocks:n})=>n.length||yt(e,t)))return M;const o=Array.from(new Set(t.map(({name:e})=>e)));return at(e,o,n)},(e,t)=>[...at.getDependants(e,t)]);function ut(e,t){return e.blockListSettings[t]}function dt(e){return e.settings}function bt(e){return e.blocks.isPersistentChange}const mt=Object(L.a)((e,t=[])=>t.reduce((t,n)=>e.blockListSettings[n]?{...t,[n]:e.blockListSettings[n]}:t,{}),e=>[e.blockListSettings]),pt=Object(L.a)((e,t)=>{const n=Object(u.find)(Ot(e),e=>e.id===t);return n?Object(m.parse)("string"==typeof n.content.raw?n.content.raw:n.content):null},e=>[Ot(e)]),ft=Object(L.a)((e,t)=>{var n;const o=Object(u.find)(Ot(e),e=>e.id===t);return o?null===(n=o.title)||void 0===n?void 0:n.raw:null},e=>[Ot(e)]);function gt(e){return e.blocks.isIgnoredChange}function ht(e){return e.lastBlockAttributesChange}function Ot(e){var t,n;return null!==(t=null==e||null===(n=e.settings)||void 0===n?void 0:n.__experimentalReusableBlocks)&&void 0!==t?t:M}function jt(e){return e.isNavigationMode}function vt(e){return e.hasBlockMovingClientId}function kt(e){return!!e.automaticChangeStatus}function _t(e,t){return e.highlightedBlock===t}function yt(e,t){return!!e.blocks.controlledInnerBlocks[t]}const Et=Object(L.a)((e,t)=>{if(!t.length)return null;const n=ce(e);if(t.includes(D(e,n)))return n;const o=he(e),r=se(e,n||o[0],t);return r?Object(u.last)(r):null},(e,t)=>[e.selection.selectionStart.clientId,e.selection.selectionEnd.clientId,t]);function Ct(e,t,n){const{lastBlockInserted:o}=e;return o.clientId===t&&o.source===n}var St=n("gdqT"),wt=n("NMb1"),Bt=n.n(wt);var It={SLEEP:({duration:e})=>new Promise(t=>{setTimeout(t,e)}),MARK_AUTOMATIC_CHANGE_FINAL_CONTROL:Object(f.createRegistryControl)(e=>()=>{const{requestIdleCallback:t=(e=>setTimeout(e,100))}=window;t(()=>e.dispatch(An).__unstableMarkAutomaticChangeFinal())})};const xt="core/block-editor";function*Tt(){if(0===(yield f.controls.select(xt,"getBlockCount")))return yield jn()}function*Nt(e){return yield{type:"RESET_BLOCKS",blocks:e},yield*Pt(e)}function*Pt(e){const t=yield f.controls.select(xt,"getTemplate"),n=yield f.controls.select(xt,"getTemplateLock"),o=!t||"all"!==n||Object(m.doBlocksMatchTemplate)(e,t);if(o!==(yield f.controls.select(xt,"isValidTemplate")))return yield rn(o),o}function Lt(e,t,n){return{type:"RESET_SELECTION",selectionStart:e,selectionEnd:t,initialPosition:n}}function Rt(e){return{type:"RECEIVE_BLOCKS",blocks:e}}function At(e,t,n=!1){return{type:"UPDATE_BLOCK_ATTRIBUTES",clientIds:Object(u.castArray)(e),attributes:t,uniqueByBlock:n}}function Mt(e,t){return{type:"UPDATE_BLOCK",clientId:e,updates:t}}function Dt(e,t=0){return{type:"SELECT_BLOCK",initialPosition:t,clientId:e}}function*Ft(e){const t=yield f.controls.select(xt,"getPreviousBlockClientId",e);if(t)return yield Dt(t,-1),[t]}function*Vt(e){const t=yield f.controls.select(xt,"getNextBlockClientId",e);if(t)return yield Dt(t),[t]}function Ht(){return{type:"START_MULTI_SELECT"}}function zt(){return{type:"STOP_MULTI_SELECT"}}function*Gt(e,t){yield{type:"MULTI_SELECT",start:e,end:t};const n=yield f.controls.select(xt,"getSelectedBlockCount");Object(St.speak)(Object(j.sprintf)(Object(j._n)("%s block selected.","%s blocks selected.",n),n),"assertive")}function Ut(){return{type:"CLEAR_SELECTED_BLOCK"}}function Wt(e=!0){return{type:"TOGGLE_SELECTION",isSelectionEnabled:e}}function Kt(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(m.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()}}})}function*qt(e,t,n,o=0,r){e=Object(u.castArray)(e),t=Kt(Object(u.castArray)(t),yield f.controls.select(xt,"getSettings"));const c=yield f.controls.select(xt,"getBlockRootClientId",Object(u.first)(e));for(let e=0;e<t.length;e++){const n=t[e];if(!(yield f.controls.select(xt,"canInsertBlockType",n.name,c)))return}yield{type:"REPLACE_BLOCKS",clientIds:e,blocks:t,time:Date.now(),indexToSelect:n,initialPosition:o,meta:r},yield*Tt()}function $t(e,t){return qt(e,t)}function Yt(e){return(t,n)=>({clientIds:Object(u.castArray)(t),type:e,rootClientId:n})}const Xt=Yt("MOVE_BLOCKS_DOWN"),Qt=Yt("MOVE_BLOCKS_UP");function*Zt(e,t="",n="",o){const r=yield f.controls.select(xt,"getTemplateLock",t);if("all"===r)return;const c={type:"MOVE_BLOCKS_TO_POSITION",fromRootClientId:t,toRootClientId:n,clientIds:e,index:o};if(t===n)return void(yield c);if("insert"===r)return;(yield f.controls.select(xt,"canInsertBlocks",e,n))&&(yield c)}function*Jt(e,t="",n="",o){yield Zt([e],t,n,o)}function en(e,t,n,o=!0,r){return tn([e],t,n,o,0,r)}function*tn(e,t,n,o=!0,r=0,c){Object(u.isObject)(r)&&(c=r,r=0,Bt()("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=Kt(Object(u.castArray)(e),yield f.controls.select(xt,"getSettings"));const l=[];for(const t of e){(yield f.controls.select(xt,"canInsertBlockType",t.name,n))&&l.push(t)}if(l.length)return{type:"INSERT_BLOCKS",blocks:l,index:t,rootClientId:n,time:Date.now(),updateSelection:o,initialPosition:o?r:null,meta:c}}function nn(e,t,n={}){const{__unstableWithInserter:o}=n;return{type:"SHOW_INSERTION_POINT",rootClientId:e,index:t,__unstableWithInserter:o}}function on(){return{type:"HIDE_INSERTION_POINT"}}function rn(e){return{type:"SET_TEMPLATE_VALIDITY",isValid:e}}function*cn(){yield{type:"SYNCHRONIZE_TEMPLATE"};const e=yield f.controls.select(xt,"getBlocks"),t=yield f.controls.select(xt,"getTemplate"),n=Object(m.synchronizeBlocksWithTemplate)(e,t);return yield Nt(n)}function*ln(e,t){const n=[e,t];yield{type:"MERGE_BLOCKS",blocks:n};const[o,r]=n,l=yield f.controls.select(xt,"getBlock",o),i=Object(m.getBlockType)(l.name);if(!i.merge)return void(yield Dt(l.clientId));const a=yield f.controls.select(xt,"getBlock",r),s=Object(m.getBlockType)(a.name),{clientId:d,attributeKey:b,offset:p}=yield f.controls.select(xt,"getSelectionStart"),g=(d===o?i:s).attributes[b],h=(d===o||d===r)&&void 0!==b&&void 0!==p&&!!g;g||("number"==typeof b?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 b):window.console.error("The RichText identifier prop does not match any attributes defined by the block."));const O=Object(m.cloneBlock)(l),j=Object(m.cloneBlock)(a);if(h){const e=d===o?O:j,t=e.attributes[b],{multiline:n,__unstableMultilineWrapperTags:r,__unstablePreserveWhiteSpace:l}=g,i=Object(c.insert)(Object(c.create)({html:t,multilineTag:n,multilineWrapperTags:r,preserveWhiteSpace:l}),"",p,p);e.attributes[b]=Object(c.toHTMLString)({value:i,multilineTag:n,preserveWhiteSpace:l})}const v=l.name===a.name?[j]:Object(m.switchToBlockType)(j,l.name);if(!v||!v.length)return;const k=i.merge(O.attributes,v[0].attributes);if(h){const e=Object(u.findKey)(k,e=>"string"==typeof e&&-1!==e.indexOf("")),t=k[e],{multiline:n,__unstableMultilineWrapperTags:o,__unstablePreserveWhiteSpace:r}=i.attributes[e],a=Object(c.create)({html:t,multilineTag:n,multilineWrapperTags:o,preserveWhiteSpace:r}),s=a.text.indexOf(""),d=Object(c.remove)(a,s,s+1),b=Object(c.toHTMLString)({value:d,multilineTag:n,preserveWhiteSpace:r});k[e]=b,yield On(l.clientId,e,s,s)}yield*qt([l.clientId,a.clientId],[{...l,attributes:{...l.attributes,...k}},...v.slice(1)])}function*an(e,t=!0){if(!e||!e.length)return;e=Object(u.castArray)(e);const n=yield f.controls.select(xt,"getBlockRootClientId",e[0]);if(yield f.controls.select(xt,"getTemplateLock",n))return;let o;o=t?yield Ft(e[0]):yield f.controls.select(xt,"getPreviousBlockClientId",e[0]),yield{type:"REMOVE_BLOCKS",clientIds:e};const r=yield*Tt();return[o||r]}function sn(e,t){return an([e],t)}function un(e,t,n=!1,o=0){return{type:"REPLACE_INNER_BLOCKS",rootClientId:e,blocks:t,updateSelection:n,initialPosition:n?o:null,time:Date.now()}}function dn(e){return{type:"TOGGLE_BLOCK_MODE",clientId:e}}function bn(){return{type:"START_TYPING"}}function mn(){return{type:"STOP_TYPING"}}function pn(e=[]){return{type:"START_DRAGGING_BLOCKS",clientIds:e}}function fn(){return{type:"STOP_DRAGGING_BLOCKS"}}function gn(){return{type:"ENTER_FORMATTED_TEXT"}}function hn(){return{type:"EXIT_FORMATTED_TEXT"}}function On(e,t,n,o){return{type:"SELECTION_CHANGE",clientId:e,attributeKey:t,startOffset:n,endOffset:o}}function jn(e,t,n){const o=Object(m.getDefaultBlockName)();if(!o)return;return en(Object(m.createBlock)(o,e),n,t)}function vn(e,t){return{type:"UPDATE_BLOCK_LIST_SETTINGS",clientId:e,settings:t}}function kn(e){return{type:"UPDATE_SETTINGS",settings:e}}function _n(e,t){return{type:"SAVE_REUSABLE_BLOCK_SUCCESS",id:e,updatedId:t}}function yn(){return{type:"MARK_LAST_CHANGE_AS_PERSISTENT"}}function En(){return{type:"MARK_NEXT_CHANGE_AS_NOT_PERSISTENT"}}function*Cn(){yield{type:"MARK_AUTOMATIC_CHANGE"},yield{type:"MARK_AUTOMATIC_CHANGE_FINAL_CONTROL"}}function Sn(){return{type:"MARK_AUTOMATIC_CHANGE_FINAL"}}function*wn(e=!0){yield{type:"SET_NAVIGATION_MODE",isNavigationMode:e},e?Object(St.speak)(Object(j.__)("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(St.speak)(Object(j.__)("You are currently in edit mode. To return to the navigation mode, press Escape."))}function*Bn(e=null){yield{type:"SET_BLOCK_MOVING_MODE",hasBlockMovingClientId:e},e&&Object(St.speak)(Object(j.__)("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."))}function*In(e,t=!0){if(!e&&!e.length)return;const n=yield f.controls.select(xt,"getBlocksByClientId",e),o=yield f.controls.select(xt,"getBlockRootClientId",e[0]);if(Object(u.some)(n,e=>!e))return;const r=n.map(e=>e.name);if(Object(u.some)(r,e=>!Object(m.hasBlockSupport)(e,"multiple",!0)))return;const c=yield f.controls.select(xt,"getBlockIndex",Object(u.last)(Object(u.castArray)(e)),o),l=n.map(e=>Object(m.__experimentalCloneSanitizedBlock)(e));return yield tn(l,c+1,o,t),l.length>1&&t&&(yield Gt(Object(u.first)(l).clientId,Object(u.last)(l).clientId)),l.map(e=>e.clientId)}function*xn(e){if(!e)return;const t=yield f.controls.select(xt,"getBlockRootClientId",e);if(yield f.controls.select(xt,"getTemplateLock",t))return;const n=yield f.controls.select(xt,"getBlockIndex",e,t);return yield jn({},t,n)}function*Tn(e){if(!e)return;const t=yield f.controls.select(xt,"getBlockRootClientId",e);if(yield f.controls.select(xt,"getTemplateLock",t))return;const n=yield f.controls.select(xt,"getBlockIndex",e,t);return yield jn({},t,n+1)}function Nn(e,t){return{type:"TOGGLE_BLOCK_HIGHLIGHT",clientId:e,isHighlighted:t}}function*Pn(e){yield Nn(e,!0),yield{type:"SLEEP",duration:150},yield Nn(e,!1)}function Ln(e,t){return{type:"SET_HAS_CONTROLLED_INNER_BLOCKS",hasControlledInnerBlocks:t,clientId:e}}const Rn={reducer:P,selectors:o,actions:r,controls:It},An=Object(f.createReduxStore)(xt,{...Rn,persist:["preferences"]});function Mn(){const{isSelected:e,clientId:t,name:n}=O(),o=Object(f.useSelect)(o=>{if(e)return;const{getBlockName:r,isFirstMultiSelectedBlock:c,getMultiSelectedBlockClientIds:l}=o(An);return!!c(t)&&l().every(e=>r(e)===n)},[t,e,n]);return e||o}Object(f.registerStore)(xt,{...Rn,persist:["preferences"]});var Dn={default:Object(p.createSlotFill)("BlockControls"),block:Object(p.createSlotFill)("BlockControlsBlock"),inline:Object(p.createSlotFill)("BlockFormatControls"),other:Object(p.createSlotFill)("BlockControlsOther")};function Fn({group:e="default",controls:t,children:n}){if(!Mn())return null;const o=Dn[e].Fill;return Object(i.createElement)(p.__experimentalStyleProvider,{document:document},Object(i.createElement)(o,null,o=>{const r=Object(u.isEmpty)(o)?null:o;return Object(i.createElement)(p.__experimentalToolbarContext.Provider,{value:r},"default"===e&&Object(i.createElement)(p.ToolbarGroup,{controls:t}),n)}))}function Vn({group:e="default",...t}){const n=Object(i.useContext)(p.__experimentalToolbarContext),o=Dn[e].Slot,r=Object(p.__experimentalUseSlot)(o.__unstableName);return Boolean(r.fills&&r.fills.length)?"default"===e?Object(i.createElement)(o,Object(l.a)({},t,{bubblesVirtually:!0,fillProps:n})):Object(i.createElement)(p.ToolbarGroup,null,Object(i.createElement)(o,Object(l.a)({},t,{bubblesVirtually:!0,fillProps:n}))):null}const Hn=Fn;Hn.Slot=Vn;const zn=e=>Object(i.createElement)(Fn,Object(l.a)({group:"inline"},e));zn.Slot=e=>Object(i.createElement)(Vn,Object(l.a)({group:"inline"},e));var Gn=Hn,Un=n("Tqx9");var Wn=Object(i.createElement)(Un.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(Un.Path,{d:"M4 9v6h14V9H4zm8-4.8H4v1.5h8V4.2zM4 19.8h8v-1.5H4v1.5z"}));var Kn=Object(i.createElement)(Un.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(Un.Path,{d:"M5 15h14V9H5v6zm0 4.8h14v-1.5H5v1.5zM5 4.2v1.5h14V4.2H5z"}));var qn=Object(i.createElement)(Un.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(Un.Path,{d:"M6 15h14V9H6v6zm6-10.8v1.5h8V4.2h-8zm0 15.6h8v-1.5h-8v1.5z"}));var $n=Object(i.createElement)(Un.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(Un.Path,{d:"M5 9v6h14V9H5zm11-4.8H8v1.5h8V4.2zM8 19.8h8v-1.5H8v1.5z"}));var Yn=Object(i.createElement)(Un.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(Un.Path,{d:"M5 4v11h14V4H5zm3 15.8h8v-1.5H8v1.5z"}));const Xn={type:"default"},Qn=Object(i.createContext)(Xn);function Zn(e,t){return e.split(",").map(e=>`.editor-styles-wrapper ${e} ${t}`).join(",")}const Jn=Qn.Provider;function eo({selector:e,layout:t={}}){const{contentSize:n,wideSize:o}=t;let r=n||o?`\n\t\t\t\t${Zn(e,"> *")} {\n\t\t\t\t\tmax-width: ${null!=n?n:o};\n\t\t\t\t\tmargin-left: auto !important;\n\t\t\t\t\tmargin-right: auto !important;\n\t\t\t\t}\n\n\t\t\t\t${Zn(e,'> [data-align="wide"]')} {\n\t\t\t\t\tmax-width: ${null!=o?o:n};\n\t\t\t\t}\n\n\t\t\t\t${Zn(e,'> [data-align="full"]')} {\n\t\t\t\t\tmax-width: none;\n\t\t\t\t}\n\t\t\t`:"";return r+=`\n\t\t${Zn(e,'> [data-align="left"]')} {\n\t\t\tfloat: left;\n\t\t\tmargin-right: 2em;\n\t\t}\n\n\t\t${Zn(e,'> [data-align="right"]')} {\n\t\t\tfloat: right;\n\t\t\tmargin-left: 2em;\n\t\t}\n\t`,Object(i.createElement)("style",null,r)}const to=["left","center","right","wide","full"],no=["wide","full"];function oo(e=to){const{wideControlsEnabled:t=!1}=Object(f.useSelect)(e=>{const{getSettings:t}=e(An);return{wideControlsEnabled:t().alignWide}},[]),n=Object(i.useContext)(Qn);if(!("default"===n.type))return[];const{alignments:o=to}=n;return e.filter(e=>(n.alignments||t||!no.includes(e))&&o.includes(e))}const ro={left:{icon:Wn,title:Object(j.__)("Align left")},center:{icon:Kn,title:Object(j.__)("Align center")},right:{icon:qn,title:Object(j.__)("Align right")},wide:{icon:$n,title:Object(j.__)("Wide width")},full:{icon:Yn,title:Object(j.__)("Full width")}},co={isAlternate:!0};var lo=function({value:e,onChange:t,controls:n,isToolbar:o,isCollapsed:r=!0}){const c=oo(n);if(0===c.length)return null;const a=ro[e],s=ro.center,u=o?p.ToolbarGroup:p.ToolbarDropdownMenu,d=o?{isCollapsed:r}:{};return Object(i.createElement)(u,Object(l.a)({popoverProps:co,icon:a?a.icon:s.icon,label:Object(j.__)("Align"),toggleProps:{describedBy:Object(j.__)("Change alignment")},controls:c.map(n=>{return{...ro[n],isActive:e===n,role:r?"menuitemradio":void 0,onClick:(o=n,()=>t(e===o?void 0:o))};var o})},d))};function io(e){return Object(i.createElement)(lo,Object(l.a)({},e,{isToolbar:!1}))}function ao(e){return Object(i.createElement)(lo,Object(l.a)({},e,{isToolbar:!0}))}const so=["left","center","right","wide","full"],uo=["wide","full"];function bo(e,t=!0,n=!0){let o;return o=Array.isArray(e)?so.filter(t=>e.includes(t)):!0===e?so:[],!n||!0===e&&!t?Object(u.without)(o,...uo):o}const mo=Object(d.createHigherOrderComponent)(e=>t=>{const{name:n}=t,o=oo(bo(Object(m.getBlockSupport)(n,"align"),Object(m.hasBlockSupport)(n,"alignWide",!0)));return[o.length>0&&t.isSelected&&Object(i.createElement)(Gn,{key:"align-controls",group:"block"},Object(i.createElement)(io,{value:t.attributes.align,onChange:e=>{if(!e){var n,o;(null===(n=Object(m.getBlockType)(t.name).attributes)||void 0===n||null===(o=n.align)||void 0===o?void 0:o.default)&&(e="")}t.setAttributes({align:e})},controls:o})),Object(i.createElement)(e,Object(l.a)({key:"edit"},t))]},"withToolbarControls"),po=Object(d.createHigherOrderComponent)(e=>t=>{const{name:n,attributes:o}=t,{align:r}=o,c=oo(bo(Object(m.getBlockSupport)(n,"align"),Object(m.hasBlockSupport)(n,"alignWide",!0)));if(void 0===r)return Object(i.createElement)(e,t);let a=t.wrapperProps;return c.includes(r)&&(a={...a,"data-align":r}),Object(i.createElement)(e,Object(l.a)({},t,{wrapperProps:a}))});Object(b.addFilter)("blocks.registerBlockType","core/align/addAttribute",(function(e){return Object(u.has)(e.attributes,["align","type"])||Object(m.hasBlockSupport)(e,"align")&&(e.attributes={...e.attributes,align:{type:"string",enum:[...so,""]}}),e})),Object(b.addFilter)("editor.BlockListBlock","core/editor/align/with-data-align",po),Object(b.addFilter)("editor.BlockEdit","core/editor/align/with-toolbar-controls",mo),Object(b.addFilter)("blocks.getSaveContent.extraProps","core/align/addAssignedAlign",(function(e,t,n){const{align:o}=n;return bo(Object(m.getBlockSupport)(t,"align"),Object(m.hasBlockSupport)(t,"alignWide",!0)).includes(o)&&(e.className=s()("align"+o,e.className)),e}));const{Fill:fo,Slot:go}=Object(p.createSlotFill)("InspectorAdvancedControls");function ho({children:e}){const{isSelected:t}=O();return t?Object(i.createElement)(p.__experimentalStyleProvider,{document:document},Object(i.createElement)(fo,null,e)):null}ho.slotName="InspectorAdvancedControls",ho.Slot=go;var Oo=ho;const{Fill:jo,Slot:vo}=Object(p.createSlotFill)("InspectorControls");function ko({children:e}){return Mn()?Object(i.createElement)(p.__experimentalStyleProvider,{document:document},Object(i.createElement)(jo,null,e)):null}ko.Slot=vo;var _o=ko;const yo=/[\s#]/g;const Eo=Object(d.createHigherOrderComponent)(e=>t=>{if(Object(m.hasBlockSupport)(t.name,"anchor")&&t.isSelected){const n="web"===i.Platform.OS,o=Object(i.createElement)(p.TextControl,{className:"html-anchor-control",label:Object(j.__)("HTML anchor"),help:Object(i.createElement)(i.Fragment,null,Object(j.__)("Enter a word or two — without spaces — to make a unique web address just for this block, called an “anchor.” Then, you’ll be able to link directly to this section of your page."),Object(i.createElement)(p.ExternalLink,{href:"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(yo,"-"),t.setAttributes({anchor:e})},autoCapitalize:"none",autoComplete:"off"});return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(e,t),n&&Object(i.createElement)(Oo,null,o),!n&&"core/heading"===t.name&&Object(i.createElement)(_o,null,Object(i.createElement)(p.PanelBody,{title:Object(j.__)("Heading settings")},o)))}return Object(i.createElement)(e,t)},"withInspectorControl");Object(b.addFilter)("blocks.registerBlockType","core/anchor/attribute",(function(e){return Object(u.has)(e.attributes,["anchor","type"])||Object(m.hasBlockSupport)(e,"anchor")&&(e.attributes={...e.attributes,anchor:{type:"string",source:"attribute",attribute:"id",selector:"*"}}),e})),Object(b.addFilter)("editor.BlockEdit","core/editor/anchor/with-inspector-control",Eo),Object(b.addFilter)("blocks.getSaveContent.extraProps","core/anchor/save-props",(function(e,t,n){return Object(m.hasBlockSupport)(t,"anchor")&&(e.id=""===n.anchor?null:n.anchor),e}));const Co=Object(d.createHigherOrderComponent)(e=>t=>Object(m.hasBlockSupport)(t.name,"customClassName",!0)&&t.isSelected?Object(i.createElement)(i.Fragment,null,Object(i.createElement)(e,t),Object(i.createElement)(Oo,null,Object(i.createElement)(p.TextControl,{autoComplete:"off",label:Object(j.__)("Additional CSS class(es)"),value:t.attributes.className||"",onChange:e=>{t.setAttributes({className:""!==e?e:void 0})},help:Object(j.__)("Separate multiple classes with spaces.")}))):Object(i.createElement)(e,t),"withInspectorControl");function So(e){e=`<div data-custom-class-name>${e}</div>`;const t=Object(m.parseWithAttributeSchema)(e,{type:"string",source:"attribute",selector:"[data-custom-class-name] > *",attribute:"class"});return t?t.trim().split(/\s+/):[]}Object(b.addFilter)("blocks.registerBlockType","core/custom-class-name/attribute",(function(e){return Object(m.hasBlockSupport)(e,"customClassName",!0)&&(e.attributes={...e.attributes,className:{type:"string"}}),e})),Object(b.addFilter)("editor.BlockEdit","core/editor/custom-class-name/with-inspector-control",Co),Object(b.addFilter)("blocks.getSaveContent.extraProps","core/custom-class-name/save-props",(function(e,t,n){return Object(m.hasBlockSupport)(t,"customClassName",!0)&&n.className&&(e.className=s()(e.className,n.className)),e})),Object(b.addFilter)("blocks.getBlockAttributes","core/custom-class-name/addParsedDifference",(function(e,t,n){if(Object(m.hasBlockSupport)(t,"customClassName",!0)){const o=Object(u.omit)(e,["className"]),r=Object(m.getSaveContent)(t,o),c=So(r),l=So(n),i=Object(u.difference)(l,c);i.length?e.className=i.join(" "):r&&delete e.className}return e})),Object(b.addFilter)("blocks.getSaveContent.extraProps","core/generated-class-name/save-props",(function(e,t){return Object(m.hasBlockSupport)(t,"className",!0)&&("string"==typeof e.className?e.className=Object(u.uniq)([Object(m.getBlockDefaultClassName)(t.name),...e.className.split(" ")]).join(" ").trim():e.className=Object(m.getBlockDefaultClassName)(t.name)),e}));const wo={"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.customLineHeight":e=>e.enableCustomLineHeight,"spacing.units":e=>{if(void 0!==e.enableCustomUnits)return!0===e.enableCustomUnits?["px","em","rem","vh","vw"]:e.enableCustomUnits},"spacing.customPadding":e=>e.enableCustomSpacing},Bo=(e,t)=>{if("color.palette"!==e&&"color.gradients"!==e)return t;if(!Array.isArray(t))return t;const n=t.filter(e=>"core"!==(null==e?void 0:e.origin));return n.length>0?n:t};function Io(e){const{name:t}=O();return Object(f.useSelect)(n=>{var o;const r=n(An).getSettings(),c="__experimentalFeatures."+e,l=`__experimentalFeatures.blocks.${t}.${e}`,i=null!==(o=Object(u.get)(r,l))&&void 0!==o?o:Object(u.get)(r,c);if(void 0!==i)return Bo(e,i);const a=wo[e]?wo[e](r):void 0;return void 0!==a?Bo(e,a):"typography.dropCap"===e||void 0},[t,e])}var xo=n("Zss7"),To=n.n(xo);const No=(e,t,n)=>{if(t){const n=Object(u.find)(e,{slug:t});if(n)return n}return{color:n}},Po=(e,t)=>Object(u.find)(e,{color:t});function Lo(e,t){if(e&&t)return`has-${Object(u.kebabCase)(t)}-${e}`}const Ro=[];function Ao(e){if(e)return`has-${e}-gradient-background`}function Mo(e,t){const n=Object(u.find)(e,["slug",t]);return n&&n.gradient}function Do(e,t){return Object(u.find)(e,["gradient",t])}function Fo(e,t){const n=Do(e,t);return n&&n.slug}function Vo({gradientAttribute:e="gradient",customGradientAttribute:t="customGradient"}={}){const{clientId:n}=O(),o=Io("color.gradients")||Ro,{gradient:r,customGradient:c}=Object(f.useSelect)(o=>{const{getBlockAttributes:r}=o(An),c=r(n)||{};return{customGradient:c[t],gradient:c[e]}},[n,e,t]),{updateBlockAttributes:l}=Object(f.useDispatch)(An),a=Object(i.useCallback)(r=>{const c=Fo(o,r);l(n,c?{[e]:c,[t]:void 0}:{[e]:void 0,[t]:r})},[o,n,l]),s=Ao(r);let u;return u=r?Mo(o,r):c,{gradientClass:s,gradientValue:u,setGradient:a}}const Ho=Object(j.__)("(Color: %s)"),zo=Object(j.__)("(Gradient: %s)"),Go=["colors","disableCustomColors","gradients","disableCustomGradients"];function Uo({colors:e,gradients:t,label:n,currentTab:o,colorValue:r,gradientValue:c}){let l,a;if("color"===o){if(r){l=r;const t=Po(e,l),n=t&&t.name;a=Object(j.sprintf)(Ho,n||l)}}else if("gradient"===o&&c){l=c;const e=Do(t,l),n=e&&e.name;a=Object(j.sprintf)(zo,n||l)}return Object(i.createElement)(i.Fragment,null,n,!!l&&Object(i.createElement)(p.ColorIndicator,{colorValue:l,"aria-label":a}))}function Wo({colors:e,gradients:t,disableCustomColors:n,disableCustomGradients:o,className:r,label:c,onColorChange:l,onGradientChange:a,colorValue:d,gradientValue:b,clearable:m}){const f=l&&(!Object(u.isEmpty)(e)||!n),g=a&&(!Object(u.isEmpty)(t)||!o),[h,O]=Object(i.useState)(b?"gradient":!!f&&"color");return f||g?Object(i.createElement)(p.BaseControl,{className:s()("block-editor-color-gradient-control",r)},Object(i.createElement)("fieldset",null,Object(i.createElement)("legend",null,Object(i.createElement)("div",{className:"block-editor-color-gradient-control__color-indicator"},Object(i.createElement)(p.BaseControl.VisualLabel,null,Object(i.createElement)(Uo,{currentTab:h,label:c,colorValue:d,gradientValue:b})))),f&&g&&Object(i.createElement)(p.ButtonGroup,{className:"block-editor-color-gradient-control__button-tabs"},Object(i.createElement)(p.Button,{isSmall:!0,isPressed:"color"===h,onClick:()=>O("color")},Object(j.__)("Solid")),Object(i.createElement)(p.Button,{isSmall:!0,isPressed:"gradient"===h,onClick:()=>O("gradient")},Object(j.__)("Gradient"))),("color"===h||!g)&&Object(i.createElement)(p.ColorPalette,{value:d,onChange:g?e=>{l(e),a()}:l,colors:e,disableCustomColors:n,clearable:m}),("gradient"===h||!f)&&Object(i.createElement)(p.__experimentalGradientPicker,{value:b,onChange:f?e=>{a(e),l()}:a,gradients:t,disableCustomGradients:o,clearable:m}))):null}function Ko(e){const t={};return t.colors=Io("color.palette"),t.gradients=Io("color.gradients"),t.disableCustomColors=!Io("color.custom"),t.disableCustomGradients=!Io("color.customGradient"),Object(i.createElement)(Wo,Object(l.a)({},t,e))}var qo=function(e){return Object(u.every)(Go,t=>e.hasOwnProperty(t))?Object(i.createElement)(Wo,e):Object(i.createElement)(Ko,e)};const $o=e=>{if(!Object(u.isObject)(e)||Array.isArray(e))return e;const t=Object(u.pickBy)(Object(u.mapValues)(e,$o),u.identity);return Object(u.isEmpty)(t)?void 0:t},Yo=[];function Xo(e){var t;const{attributes:{borderColor:n,style:o},setAttributes:r}=e,c=Io("color.palette")||Yo,l=!Io("color.custom"),a=!Io("color.customGradient");return Object(i.createElement)(qo,{label:Object(j.__)("Border color"),value:n||(null==o||null===(t=o.border)||void 0===t?void 0:t.color),colors:c,gradients:void 0,disableCustomColors:l,disableCustomGradients:a,onColorChange:e=>{const t=Po(c,e),n={...o,border:{...null==o?void 0:o.border,color:null!=t&&t.slug?void 0:e}},l=null!=t&&t.slug?t.slug:void 0;r({style:$o(n),borderColor:l})}})}function Qo(e,t,n){var o;if(!lr(t,"color")||ir(t))return e;const{borderColor:r,style:c}=n,l=Lo("border-color",r),i=s()(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 Zo=Object(d.createHigherOrderComponent)(e=>t=>{var n,o;const{name:r,attributes:c}=t,{borderColor:a}=c,s=Io("color.palette")||Yo;if(!lr(r,"color")||ir(r))return Object(i.createElement)(e,t);const u={borderColor:a?null===(n=No(s,a))||void 0===n?void 0:n.color:void 0};let d=t.wrapperProps;return d={...t.wrapperProps,style:{...u,...null===(o=t.wrapperProps)||void 0===o?void 0:o.style}},Object(i.createElement)(e,Object(l.a)({},t,{wrapperProps:d}))});Object(b.addFilter)("blocks.registerBlockType","core/border/addAttributes",(function(e){return lr(e,"color")?e.attributes.borderColor?e:{...e,attributes:{...e.attributes,borderColor:{type:"string"}}}:e})),Object(b.addFilter)("blocks.getSaveContent.extraProps","core/border/addSaveProps",Qo),Object(b.addFilter)("blocks.registerBlockType","core/border/addEditProps",(function(e){if(!lr(e,"color")||ir(e))return e;const t=e.getEditWrapperProps;return e.getEditWrapperProps=n=>{let o={};return t&&(o=t(n)),Qo(o,e,n)},e})),Object(b.addFilter)("editor.BlockListBlock","core/border/with-border-color-palette-styles",Zo);function Jo(e){var t;const{attributes:{style:n},setAttributes:o}=e;return Object(i.createElement)(p.RangeControl,{value:null==n||null===(t=n.border)||void 0===t?void 0:t.radius,label:Object(j.__)("Border radius"),min:0,max:50,initialPosition:0,allowReset:!0,onChange:e=>{let t={...n,border:{...null==n?void 0:n.border,radius:e}};void 0===e&&(t=$o(t)),o({style:t})}})}const er={key:"default",name:Object(j.__)("Default"),style:{borderStyle:void 0}},tr=[er,{key:"none",name:Object(j.__)("None"),style:{borderStyle:"none"}},{key:"solid",name:Object(j.__)("Solid"),style:{borderStyle:"solid"}},{key:"dashed",name:Object(j.__)("Dashed"),style:{borderStyle:"dashed"}},{key:"dotted",name:Object(j.__)("Dotted"),style:{borderStyle:"dotted"}}];function nr({onChange:e,value:t}){const n=tr.find(e=>e.key===t);return Object(i.createElement)("fieldset",{className:"components-border-style-control"},Object(i.createElement)(p.CustomSelectControl,{className:"components-border-style-control__select",label:Object(j.__)("Border style"),options:tr,value:n||er,onChange:({selectedItem:t})=>"default"===t.key?e(void 0):e(t.key)}))}const or=e=>{var t;const{attributes:{style:n},setAttributes:o}=e;return Object(i.createElement)(nr,{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:$o(t)})}})},rr=e=>{var t;const{attributes:{style:n},setAttributes:o}=e;return Object(i.createElement)(p.RangeControl,{value:null==n||null===(t=n.border)||void 0===t?void 0:t.width,label:Object(j.__)("Border width"),min:0,max:50,initialPosition:0,allowReset:!0,onChange:e=>{const t={...n,border:{...null==n?void 0:n.border,width:e}};o({style:$o(t)})}})};function cr(e){const t=ar(e),n=lr(e.name),o=Io("border.customColor")&&lr(e.name,"color"),r=Io("border.customRadius")&&lr(e.name,"radius"),c=Io("border.customStyle")&&lr(e.name,"style"),l=Io("border.customWidth")&&lr(e.name,"width");return t||!n?null:Object(i.createElement)(_o,null,Object(i.createElement)(p.PanelBody,{title:Object(j.__)("Border settings"),initialOpen:!1},c&&Object(i.createElement)(or,e),l&&Object(i.createElement)(rr,e),r&&Object(i.createElement)(Jo,e),o&&Object(i.createElement)(Xo,e)))}function lr(e,t="any"){if("web"!==i.Platform.OS)return!1;const n=Object(m.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 ir(e){const t=Object(m.getBlockSupport)(e,"__experimentalBorder");return null==t?void 0:t.__experimentalSkipSerialization}const ar=()=>[!Io("border.customColor"),!Io("border.customRadius"),!Io("border.customStyle"),!Io("border.customWidth")].every(Boolean),sr=Object(j.__)("(%s: color %s)"),ur=Object(j.__)("(%s: gradient %s)"),dr=["colors","disableCustomColors","gradients","disableCustomGradients"],br=({colors:e,gradients:t,settings:n})=>n.map(({colorValue:n,gradientValue:o,label:r,colors:c,gradients:l},a)=>{if(!n&&!o)return null;let s;if(n){const t=Po(c||e,n);s=Object(j.sprintf)(sr,r.toLowerCase(),t&&t.name||n)}else{const e=Do(l||t,n);s=Object(j.sprintf)(ur,r.toLowerCase(),e&&e.name||o)}return Object(i.createElement)(p.ColorIndicator,{key:a,colorValue:n||o,"aria-label":s})}),mr=({className:e,colors:t,gradients:n,disableCustomColors:o,disableCustomGradients:r,children:c,settings:a,title:d,...b})=>{if(Object(u.isEmpty)(t)&&Object(u.isEmpty)(n)&&o&&r&&Object(u.every)(a,e=>Object(u.isEmpty)(e.colors)&&Object(u.isEmpty)(e.gradients)&&(void 0===e.disableCustomColors||e.disableCustomColors)&&(void 0===e.disableCustomGradients||e.disableCustomGradients)))return null;const m=Object(i.createElement)("span",{className:"block-editor-panel-color-gradient-settings__panel-title"},d,Object(i.createElement)(br,{colors:t,gradients:n,settings:a}));return Object(i.createElement)(p.PanelBody,Object(l.a)({className:s()("block-editor-panel-color-gradient-settings",e),title:m},b),a.map((e,c)=>Object(i.createElement)(qo,Object(l.a)({key:c,colors:t,gradients:n,disableCustomColors:o,disableCustomGradients:r},e))),c)},pr=e=>{const t={};return t.colors=Io("color.palette"),t.gradients=Io("color.gradients"),t.disableCustomColors=!Io("color.custom"),t.disableCustomGradients=!Io("color.customGradient"),Object(i.createElement)(mr,Object(l.a)({},t,e))};var fr=e=>Object(u.every)(dr,t=>e.hasOwnProperty(t))?Object(i.createElement)(mr,e):Object(i.createElement)(pr,e);function gr({tinyBackgroundColor:e,tinyTextColor:t,backgroundColor:n,textColor:o}){const r=e.getBrightness()<t.getBrightness()?Object(j.__)("This color combination may be hard for people to read. Try using a darker background color and/or a brighter text color."):Object(j.__)("This color combination may be hard for people to read. Try using a brighter background color and/or a darker text color.");return Object(i.useEffect)(()=>{Object(St.speak)(Object(j.__)("This color combination may be hard for people to read."))},[n,o]),Object(i.createElement)("div",{className:"block-editor-contrast-checker"},Object(i.createElement)(p.Notice,{spokenMessage:null,status:"warning",isDismissible:!1},r))}var hr=function({backgroundColor:e,fallbackBackgroundColor:t,fallbackTextColor:n,fontSize:o,isLargeText:r,textColor:c}){if(!e&&!t||!c&&!n)return null;const l=To()(e||t),a=To()(c||n);return 1!==l.getAlpha()||1!==a.getAlpha()||To.a.isReadable(l,a,{level:"AA",size:r||!1!==r&&o>=24?"large":"small"})?null:Object(i.createElement)(gr,{backgroundColor:e,textColor:c,tinyBackgroundColor:l,tinyTextColor:a})};const Or=Object(i.createContext)();function jr({children:e}){const t=Object(i.useMemo)(()=>({refs:new Map,callbacks:new Map}),[]);return Object(i.createElement)(Or.Provider,{value:t},e)}function vr(e){const{refs:t,callbacks:n}=Object(i.useContext)(Or),o=Object(i.useRef)();return Object(i.useLayoutEffect)(()=>(t.set(o,e),()=>{t.delete(o)}),[e]),Object(d.useRefEffect)(t=>{o.current=t,n.forEach((n,o)=>{e===n&&o(t)})},[e])}function kr(e){const{refs:t}=Object(i.useContext)(Or),n=Object(i.useRef)();return n.current=e,Object(i.useMemo)(()=>({get current(){let e=null;for(const[o,r]of t.entries())r===n.current&&o.current&&(e=o.current);return e}}),[])}function _r(e){const{callbacks:t}=Object(i.useContext)(Or),n=kr(e),[o,r]=Object(i.useState)(null);return Object(i.useLayoutEffect)(()=>{if(e)return t.set(r,e),()=>{t.delete(r)}},[e]),n.current||o}function yr(e){return e.ownerDocument.defaultView.getComputedStyle(e)}function Er({settings:e,clientId:t,enableContrastChecking:n=!0}){const[o,r]=Object(i.useState)(),[c,l]=Object(i.useState)(),a=kr(t);return Object(i.useEffect)(()=>{if(!n)return;if(!a.current)return;l(yr(a.current).color);let e=a.current,t=yr(e).backgroundColor;for(;"rgba(0, 0, 0, 0)"===t&&e.parentNode&&e.parentNode.nodeType===e.parentNode.ELEMENT_NODE;)e=e.parentNode,t=yr(e).backgroundColor;r(t)}),Object(i.createElement)(_o,null,Object(i.createElement)(fr,{title:Object(j.__)("Color"),initialOpen:!1,settings:e},n&&Object(i.createElement)(hr,{backgroundColor:o,textColor:c})))}const Cr=[],Sr=e=>{const t=Object(m.getBlockSupport)(e,"color");return t&&(!0===t.link||!0===t.gradient||!1!==t.background||!1!==t.text)},wr=e=>{const t=Object(m.getBlockSupport)(e,"color");return null==t?void 0:t.__experimentalSkipSerialization},Br=e=>{if("web"!==i.Platform.OS)return!1;const t=Object(m.getBlockSupport)(e,"color");return Object(u.isObject)(t)&&!!t.link},Ir=e=>{if("web"!==i.Platform.OS)return!1;const t=Object(m.getBlockSupport)(e,"color");return Object(u.isObject)(t)&&!!t.gradients},xr=e=>{const t=Object(m.getBlockSupport)(e,"color");return t&&!1!==t.text};function Tr(e,t,n){var o,r,c,l,i,a;if(!Sr(t)||wr(t))return e;const u=Ir(t),{backgroundColor:d,textColor:b,gradient:m,style:p}=n,f=Lo("background-color",d),g=Ao(m),h=Lo("color",b),O=s()(e.className,h,g,{[f]:!(u&&null!=p&&null!==(o=p.color)&&void 0!==o&&o.gradient||!f),"has-text-color":b||(null==p||null===(r=p.color)||void 0===r?void 0:r.text),"has-background":d||(null==p||null===(c=p.color)||void 0===c?void 0:c.background)||u&&(m||(null==p||null===(l=p.color)||void 0===l?void 0:l.gradient)),"has-link-color":null==p||null===(i=p.elements)||void 0===i||null===(a=i.link)||void 0===a?void 0:a.color});return e.className=O||void 0,e}const Nr=(e,t)=>{const n=/var:preset\|color\|(.+)/.exec(t);return n&&n[1]?No(e,n[1]).color:t};function Pr(e){var t,n,o,r,c,l,a,s,d;const{name:b,attributes:p}=e,f=Io("color.link"),g=Io("color.palette")||Cr,h=Io("color.gradients")||Cr,O=Object(i.useRef)(p);if(Object(i.useEffect)(()=>{O.current=p},[p]),!Sr(b)||"web"!==i.Platform.OS)return null;const v=(e=>{const t=Object(m.getBlockSupport)(e,"color");return t&&!1!==t.background})(b),k=Ir(b),{style:_,textColor:y,backgroundColor:E,gradient:C}=p;let S;if(k&&C)S=Mo(h,C);else if(k){var w;S=null==_||null===(w=_.color)||void 0===w?void 0:w.gradient}const B=t=>n=>{var o,r;const c=Po(g,n),l=t+"Color",i={...O.current.style,color:{...null===(o=O.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:$o(i),[l]:a};e.setAttributes(s),O.current={...O.current,...s}};return Object(i.createElement)(Er,{enableContrastChecking:!("web"!==i.Platform.OS||C||null!=_&&null!==(t=_.color)&&void 0!==t&&t.gradient),clientId:e.clientId,settings:[...xr(b)?[{label:Object(j.__)("Text color"),onColorChange:B("text"),colorValue:No(g,y,null==_||null===(n=_.color)||void 0===n?void 0:n.text).color}]:[],...v||k?[{label:Object(j.__)("Background color"),onColorChange:v?B("background"):void 0,colorValue:No(g,E,null==_||null===(o=_.color)||void 0===o?void 0:o.background).color,gradientValue:S,onGradientChange:k?t=>{const n=Fo(h,t);let o;if(n){var r,c,l;const e={...null===(r=O.current)||void 0===r?void 0:r.style,color:{...null===(c=O.current)||void 0===c||null===(l=c.style)||void 0===l?void 0:l.color,gradient:void 0}};o={style:$o(e),gradient:n}}else{var i,a,s;const e={...null===(i=O.current)||void 0===i?void 0:i.style,color:{...null===(a=O.current)||void 0===a||null===(s=a.style)||void 0===s?void 0:s.color,gradient:t}};o={style:$o(e),gradient:void 0}}e.setAttributes(o),O.current={...O.current,...o}}:void 0}]:[],...f&&Br(b)?[{label:Object(j.__)("Link Color"),onColorChange:t=>{const n=Po(g,t),o=null!=n&&n.slug?"var:preset|color|"+n.slug:t,r=function(e,t,n){return Object(u.setWith)(e?Object(u.clone)(e):{},t,n,u.clone)}(_,["elements","link","color","text"],o);e.setAttributes({style:r})},colorValue:Nr(g,null==_||null===(r=_.elements)||void 0===r||null===(c=r.link)||void 0===c||null===(l=c.color)||void 0===l?void 0:l.text),clearable:!(null==_||null===(a=_.elements)||void 0===a||null===(s=a.link)||void 0===s||null===(d=s.color)||void 0===d||!d.text)}]:[]]})}const Lr=Object(d.createHigherOrderComponent)(e=>t=>{var n,o,r;const{name:c,attributes:a}=t,{backgroundColor:s,textColor:u}=a,d=Io("color.palette")||Cr;if(!Sr(c)||wr(c))return Object(i.createElement)(e,t);const b={color:u?null===(n=No(d,u))||void 0===n?void 0:n.color:void 0,backgroundColor:s?null===(o=No(d,s))||void 0===o?void 0:o.color:void 0};let m=t.wrapperProps;return m={...t.wrapperProps,style:{...b,...null===(r=t.wrapperProps)||void 0===r?void 0:r.style}},Object(i.createElement)(e,Object(l.a)({},t,{wrapperProps:m}))});Object(b.addFilter)("blocks.registerBlockType","core/color/addAttribute",(function(e){return Sr(e)?(e.attributes.backgroundColor||Object.assign(e.attributes,{backgroundColor:{type:"string"}}),e.attributes.textColor||Object.assign(e.attributes,{textColor:{type:"string"}}),Ir(e)&&!e.attributes.gradient&&Object.assign(e.attributes,{gradient:{type:"string"}}),e):e})),Object(b.addFilter)("blocks.getSaveContent.extraProps","core/color/addSaveProps",Tr),Object(b.addFilter)("blocks.registerBlockType","core/color/addEditProps",(function(e){if(!Sr(e)||wr(e))return e;const t=e.getEditWrapperProps;return e.getEditWrapperProps=n=>{let o={};return t&&(o=t(n)),Tr(o,e,n)},e})),Object(b.addFilter)("editor.BlockListBlock","core/color/with-color-palette-styles",Lr);var Rr=n("BLeD"),Ar=n.n(Rr);const Mr=(e,t,n)=>{if(t){const n=Object(u.find)(e,{slug:t});if(n)return n}return{size:n}};function Dr(e,t){const n=Object(u.find)(e,{size:t});return n||{size:t}}function Fr(e){if(e)return`has-${Object(u.kebabCase)(e)}-font-size`}var Vr=function(e){const t=Io("typography.fontSizes"),n=!Io("typography.customFontSize");return Object(i.createElement)(p.FontSizePicker,Object(l.a)({},e,{fontSizes:t,disableCustomFontSizes:n}))};function Hr(e,t,n){if(!Object(m.hasBlockSupport)(t,"fontSize"))return e;if(Object(m.hasBlockSupport)(t,"__experimentalSkipFontSizeSerialization"))return e;const o=new Ar.a(e.className);o.add(Fr(n.fontSize));const r=o.value;return e.className=r||void 0,e}function zr(e){var t,n;const{attributes:{fontSize:o,style:r},setAttributes:c}=e,l=Gr(e),a=Io("typography.fontSizes");if(l)return null;const s=Mr(a,o,null==r||null===(t=r.typography)||void 0===t?void 0:t.fontSize),u=(null==s?void 0:s.size)||(null==r||null===(n=r.typography)||void 0===n?void 0:n.fontSize)||o;return Object(i.createElement)(Vr,{onChange:e=>{const t=Dr(a,e).slug;c({style:$o({...r,typography:{...null==r?void 0:r.typography,fontSize:t?void 0:e}}),fontSize:t})},value:u})}function Gr({name:e}={}){const t=Io("typography.fontSizes"),n=!(null==t||!t.length);return!Object(m.hasBlockSupport)(e,"fontSize")||!n}const Ur=Object(d.createHigherOrderComponent)(e=>t=>{var n,o;const r=Io("typography.fontSizes"),{name:c,attributes:{fontSize:l,style:a},wrapperProps:s}=t;if(!Object(m.hasBlockSupport)(c,"fontSize")||Object(m.hasBlockSupport)(c,"__experimentalSkipFontSizeSerialization")||!l||null!=a&&null!==(n=a.typography)&&void 0!==n&&n.fontSize)return Object(i.createElement)(e,t);const u=Mr(r,l,null==a||null===(o=a.typography)||void 0===o?void 0:o.fontSize).size,d={...t,wrapperProps:{...s,style:{fontSize:u,...null==s?void 0:s.style}}};return Object(i.createElement)(e,d)},"withFontSizeInlineStyles");Object(b.addFilter)("blocks.registerBlockType","core/font/addAttribute",(function(e){return Object(m.hasBlockSupport)(e,"fontSize")?(e.attributes.fontSize||Object.assign(e.attributes,{fontSize:{type:"string"}}),e):e})),Object(b.addFilter)("blocks.getSaveContent.extraProps","core/font/addSaveProps",Hr),Object(b.addFilter)("blocks.registerBlockType","core/font/addEditProps",(function(e){if(!Object(m.hasBlockSupport)(e,"fontSize"))return e;const t=e.getEditWrapperProps;return e.getEditWrapperProps=n=>{let o={};return t&&(o=t(n)),Hr(o,e,n)},e})),Object(b.addFilter)("editor.BlockListBlock","core/font-size/with-font-size-inline-styles",Ur);var Wr=Object(i.createElement)(Un.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(Un.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"})),Kr=n("Crq9");const qr=[{name:Object(j.__)("Underline"),value:"underline",icon:Wr},{name:Object(j.__)("Strikethrough"),value:"line-through",icon:Kr.a}];function $r({value:e,onChange:t}){return Object(i.createElement)("fieldset",{className:"block-editor-text-decoration-control"},Object(i.createElement)("legend",null,Object(j.__)("Decoration")),Object(i.createElement)("div",{className:"block-editor-text-decoration-control__buttons"},qr.map(n=>Object(i.createElement)(p.Button,{key:n.value,icon:n.icon,isSmall:!0,isPressed:n.value===e,onClick:()=>t(n.value===e?void 0:n.value),"aria-label":n.name}))))}function Yr(e){var t;const{attributes:{style:n},setAttributes:o}=e;if(Xr(e))return null;return Object(i.createElement)($r,{value:null==n||null===(t=n.typography)||void 0===t?void 0:t.textDecoration,onChange:function(e){o({style:$o({...n,typography:{...null==n?void 0:n.typography,textDecoration:e}})})}})}function Xr({name:e}={}){const t=!Object(m.hasBlockSupport)(e,"__experimentalTextDecoration"),n=Io("typography.customTextDecorations");return t||!n}var Qr=Object(i.createElement)(Un.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(Un.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 Zr=Object(i.createElement)(Un.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(Un.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 Jr=Object(i.createElement)(Un.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(Un.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 ec=[{name:Object(j.__)("Uppercase"),value:"uppercase",icon:Qr},{name:Object(j.__)("Lowercase"),value:"lowercase",icon:Zr},{name:Object(j.__)("Capitalize"),value:"capitalize",icon:Jr}];function tc({value:e,onChange:t}){return Object(i.createElement)("fieldset",{className:"block-editor-text-transform-control"},Object(i.createElement)("legend",null,Object(j.__)("Letter case")),Object(i.createElement)("div",{className:"block-editor-text-transform-control__buttons"},ec.map(n=>Object(i.createElement)(p.Button,{key:n.value,icon:n.icon,isSmall:!0,isPressed:e===n.value,"aria-label":n.name,onClick:()=>t(e===n.value?void 0:n.value)}))))}function nc(e){var t;const{attributes:{style:n},setAttributes:o}=e;if(oc(e))return null;return Object(i.createElement)(tc,{value:null==n||null===(t=n.typography)||void 0===t?void 0:t.textTransform,onChange:function(e){o({style:$o({...n,typography:{...null==n?void 0:n.typography,textTransform:e}})})}})}function oc({name:e}={}){const t=!Object(m.hasBlockSupport)(e,"__experimentalTextTransform"),n=Io("typography.customTextTransforms");return t||!n}function rc(e){const t=!Xr(e),n=!oc(e);return t||n?Object(i.createElement)("div",{className:"block-editor-text-decoration-and-transform"},t&&Object(i.createElement)(Yr,e),n&&Object(i.createElement)(nc,e)):null}var cc=n("RxS6");function lc({value:e,onChange:t}){const n=function(e){return void 0!==e&&""!==e}(e),o=n?e:"";return Object(i.createElement)("div",{className:"block-editor-line-height-control"},Object(i.createElement)(p.TextControl,{autoComplete:"off",onKeyDown:e=>{const{keyCode:o}=e;o!==cc.ZERO||n||(e.preventDefault(),t("0"))},onChange:e=>{if(n)return void t(e);let o=e;switch(e){case"0.1":o=1.6;break;case"0":o=1.4}t(o)},label:Object(j.__)("Line height"),placeholder:1.5,step:.1,type:"number",value:o,min:0}))}function ic(e){var t;const{attributes:{style:n}}=e;if(ac(e))return null;return Object(i.createElement)(lc,{value:null==n||null===(t=n.typography)||void 0===t?void 0:t.lineHeight,onChange:t=>{const o={...n,typography:{...null==n?void 0:n.typography,lineHeight:t}};e.setAttributes({style:$o(o)})}})}function ac({name:e}={}){const t=!Io("typography.customLineHeight");return!Object(m.hasBlockSupport)(e,"lineHeight")||t}const sc=[{name:Object(j.__)("Regular"),value:"normal"},{name:Object(j.__)("Italic"),value:"italic"}],uc=[{name:Object(j.__)("Thin"),value:"100"},{name:Object(j.__)("Extra Light"),value:"200"},{name:Object(j.__)("Light"),value:"300"},{name:Object(j.__)("Regular"),value:"400"},{name:Object(j.__)("Medium"),value:"500"},{name:Object(j.__)("Semi Bold"),value:"600"},{name:Object(j.__)("Bold"),value:"700"},{name:Object(j.__)("Extra Bold"),value:"800"},{name:Object(j.__)("Black"),value:"900"}];function dc(e){const{onChange:t,hasFontStyles:n=!0,hasFontWeights:o=!0,value:{fontStyle:r,fontWeight:c}}=e,l=n||o,a={key:"default",name:Object(j.__)("Default"),style:{fontStyle:void 0,fontWeight:void 0}},s=Object(i.useMemo)(()=>n&&o?(()=>{const e=[a];return sc.forEach(({name:t,value:n})=>{uc.forEach(({name:o,value:r})=>{const c="normal"===n?o:Object(j.sprintf)(Object(j.__)("%1$s %2$s"),o,t);e.push({key:`${n}-${r}`,name:c,style:{fontStyle:n,fontWeight:r}})})}),e})():n?(()=>{const e=[a];return sc.forEach(({name:t,value:n})=>{e.push({key:n,name:t,style:{fontStyle:n,fontWeight:void 0}})}),e})():(()=>{const e=[a];return uc.forEach(({name:t,value:n})=>{e.push({key:n,name:t,style:{fontStyle:void 0,fontWeight:n}})}),e})(),[e.options]),u=s.find(e=>e.style.fontStyle===r&&e.style.fontWeight===c);return Object(i.createElement)("fieldset",{className:"components-font-appearance-control"},l&&Object(i.createElement)(p.CustomSelectControl,{className:"components-font-appearance-control__select",label:n?o?Object(j.__)("Appearance"):Object(j.__)("Font style"):Object(j.__)("Font weight"),options:s,value:u,onChange:({selectedItem:e})=>t(e.style)}))}function bc(e){var t,n;const{attributes:{style:o},setAttributes:r}=e,c=!mc(e),l=!pc(e);if(!c&&!l)return null;const a=null==o||null===(t=o.typography)||void 0===t?void 0:t.fontStyle,s=null==o||null===(n=o.typography)||void 0===n?void 0:n.fontWeight;return Object(i.createElement)(dc,{onChange:e=>{r({style:$o({...o,typography:{...null==o?void 0:o.typography,fontStyle:e.fontStyle,fontWeight:e.fontWeight}})})},hasFontStyles:c,hasFontWeights:l,value:{fontStyle:a,fontWeight:s}})}function mc({name:e}={}){const t=Object(m.hasBlockSupport)(e,"__experimentalFontStyle"),n=Io("typography.customFontStyle");return!t||!n}function pc({name:e}={}){const t=Object(m.hasBlockSupport)(e,"__experimentalFontWeight"),n=Io("typography.customFontWeight");return!t||!n}function fc(e){const t=mc(e),n=pc(e);return t&&n}function gc({value:e="",onChange:t,fontFamilies:n,...o}){const r=Io("typography.fontFamilies");if(n||(n=r),Object(u.isEmpty)(n))return null;const c=[{value:"",label:Object(j.__)("Default")},...n.map(({fontFamily:e,name:t})=>({value:e,label:t||e}))];return Object(i.createElement)(p.SelectControl,Object(l.a)({label:Object(j.__)("Font family"),options:c,value:e,onChange:t,labelPosition:"top"},o))}function hc({name:e,setAttributes:t,attributes:{style:n={}}}){var o;const r=Io("typography.fontFamilies");if(Oc({name:e}))return null;const c=((e,t)=>{const n=/var:preset\|font-family\|(.+)/.exec(t);if(n&&n[1]){const t=Object(u.find)(e,({slug:e})=>e===n[1]);if(t)return t.fontFamily}return t})(r,null===(o=n.typography)||void 0===o?void 0:o.fontFamily);return Object(i.createElement)(gc,{className:"block-editor-hooks-font-family-control",fontFamilies:r,value:c,onChange:function(e){const o=Object(u.find)(r,({fontFamily:t})=>t===e);t({style:$o({...n,typography:{...n.typography||{},fontFamily:o?"var:preset|font-family|"+o.slug:e||void 0}})})}})}function Oc({name:e}){const t=Io("typography.fontFamilies");return!t||0===t.length||!Object(m.hasBlockSupport)(e,"__experimentalFontFamily")}const jc=["lineHeight","fontSize","__experimentalFontStyle","__experimentalFontWeight","__experimentalFontFamily","__experimentalTextDecoration","__experimentalTextTransform"];function vc(e){const t=function(e={}){const t=[fc(e),Gr(e),ac(e),Oc(e),Xr(e),oc(e)];return t.filter(Boolean).length===t.length}(e),n=kc(e.name);return t||!n?null:Object(i.createElement)(_o,null,Object(i.createElement)(p.PanelBody,{title:Object(j.__)("Typography")},Object(i.createElement)(p.__unstableComponentSystemProvider,{__unstableNextInclude:["WPComponentsFontSizePicker"]},Object(i.createElement)(hc,e),Object(i.createElement)(zr,e),Object(i.createElement)(bc,e),Object(i.createElement)(ic,e),Object(i.createElement)(rc,e))))}const kc=e=>"web"===i.Platform.OS&&jc.some(t=>Object(m.hasBlockSupport)(e,t));function _c(e){const t=Object(m.getBlockSupport)(e,Bc);return!!(!0===t||null!=t&&t.margin)}function yc({name:e}={}){const t=!Io("spacing.customMargin");return!_c(e)||t}function Ec(e){var t;const{name:n,attributes:{style:o},setAttributes:r}=e,c=Object(p.__experimentalUseCustomUnits)({availableUnits:Io("spacing.units")||["%","px","em","rem","vw"]}),l=Tc(n,"margin");if(yc(e))return null;return i.Platform.select({web:Object(i.createElement)(i.Fragment,null,Object(i.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:$o(t)})},onChangeShowVisualizer:e=>{const t={...o,visualizers:{margin:e}};r({style:$o(t)})},label:Object(j.__)("Margin"),sides:l,units:c})),native:null})}function Cc(e){const t=Object(m.getBlockSupport)(e,Bc);return!!(!0===t||null!=t&&t.padding)}function Sc({name:e}={}){const t=!Io("spacing.customPadding");return!Cc(e)||t}function wc(e){var t;const{name:n,attributes:{style:o},setAttributes:r}=e,c=Object(p.__experimentalUseCustomUnits)({availableUnits:Io("spacing.units")||["%","px","em","rem","vw"]}),l=Tc(n,"padding");if(Sc(e))return null;return i.Platform.select({web:Object(i.createElement)(i.Fragment,null,Object(i.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:$o(t)})},onChangeShowVisualizer:e=>{const t={...o,visualizers:{padding:e}};r({style:$o(t)})},label:Object(j.__)("Padding"),sides:l,units:c})),native:null})}const Bc="spacing";function Ic(e){const t=xc(e),n=function(e){if("web"!==i.Platform.OS)return!1;return Cc(e)||_c(e)}(e.name);return t||!n?null:Object(i.createElement)(_o,{key:"spacing"},Object(i.createElement)(p.PanelBody,{title:Object(j.__)("Spacing")},Object(i.createElement)(wc,e),Object(i.createElement)(Ec,e)))}const xc=(e={})=>{const t=Sc(e),n=yc(e);return t&&n};function Tc(e,t){const n=Object(m.getBlockSupport)(e,Bc);if("boolean"!=typeof n[t])return n[t]}const Nc=[...jc,"__experimentalBorder","color",Bc],Pc=e=>Nc.some(t=>Object(m.hasBlockSupport)(e,t));function Lc(e){if(Object(u.startsWith)(e,"var:")){return`var(--wp--${e.slice("var:".length).split("|").join("--")})`}return e}function Rc(e={}){const t={};return Object.keys(m.__EXPERIMENTAL_STYLE_PROPERTY).forEach(n=>{const o=m.__EXPERIMENTAL_STYLE_PROPERTY[n].value,r=m.__EXPERIMENTAL_STYLE_PROPERTY[n].properties;Object(u.has)(e,o)&&"elements"!==Object(u.first)(o)&&(r?r.forEach(r=>{t[n+Object(u.capitalize)(r)]=Lc(Object(u.get)(e,[...o,r]))}):t[n]=Lc(Object(u.get)(e,o)))}),t}const Ac={"__experimentalBorder.__experimentalSkipSerialization":["border"],"color.__experimentalSkipSerialization":["color"],__experimentalSkipFontSizeSerialization:["typography","fontSize"],__experimentalSkipTypographySerialization:Object(u.without)(jc,"fontSize").map(e=>{var t;return null===(t=Object(u.find)(m.__EXPERIMENTAL_STYLE_PROPERTY,t=>Object(u.isEqual)(t.support,[e])))||void 0===t?void 0:t.value})};function Mc(e,t,n){if(!Pc(t))return e;let{style:o}=n;return Object(u.forEach)(Ac,(e,n)=>{Object(m.getBlockSupport)(t,n)&&(o=Object(u.omit)(o,e))}),e.style={...Rc(o),...e.style},e}const Dc=Object(d.createHigherOrderComponent)(e=>t=>{const n=Mn();return Object(i.createElement)(i.Fragment,null,n&&Object(i.createElement)(i.Fragment,null,Object(i.createElement)(vc,t),Object(i.createElement)(cr,t),Object(i.createElement)(Pr,t),Object(i.createElement)(Ic,t)),Object(i.createElement)(e,t))},"withToolbarControls"),Fc=Object(d.createHigherOrderComponent)(e=>t=>{var n,o;if(!(null===(n=t.attributes.style)||void 0===n?void 0:n.elements))return Object(i.createElement)(e,t);const r="wp-elements-"+Object(d.useInstanceId)(e),c=function(e,t={}){return Object(u.map)(t,(t,n)=>{const o=Rc(t);return Object(u.isEmpty)(o)?"":[`.${e} ${m.__EXPERIMENTAL_ELEMENTS[n]}{`,...Object(u.map)(o,(e,t)=>`\t${Object(u.kebabCase)(t)}: ${e}${"link"===n?"!important":""};`),"}"].join("\n")}).join("\n")}(r,null===(o=t.attributes.style)||void 0===o?void 0:o.elements);return Object(i.createElement)(i.Fragment,null,Object(i.createElement)("style",{dangerouslySetInnerHTML:{__html:c}}),Object(i.createElement)(e,Object(l.a)({},t,{className:s()(t.classname,r)})))});Object(b.addFilter)("blocks.registerBlockType","core/style/addAttribute",(function(e){return Pc(e)?(e.attributes.style||Object.assign(e.attributes,{style:{type:"object"}}),e):e})),Object(b.addFilter)("blocks.getSaveContent.extraProps","core/style/addSaveProps",Mc),Object(b.addFilter)("blocks.registerBlockType","core/style/addEditProps",(function(e){if(!Pc(e))return e;const t=e.getEditWrapperProps;return e.getEditWrapperProps=n=>{let o={};return t&&(o=t(n)),Mc(o,e,n)},e})),Object(b.addFilter)("editor.BlockEdit","core/style/with-block-controls",Dc),Object(b.addFilter)("editor.BlockListBlock","core/editor/with-elements-styles",Fc);var Vc=function({value:e,onChange:t,onToggle:n,duotonePalette:o,colorPalette:r,disableCustomColors:c}){return Object(i.createElement)(p.Popover,{className:"block-editor-duotone-control__popover",headerTitle:Object(j.__)("Duotone"),onFocusOutside:n},Object(i.createElement)(p.MenuGroup,{label:Object(j.__)("Duotone")},Object(i.createElement)(p.DuotonePicker,{colorPalette:r,duotonePalette:o,disableCustomColors:c,value:e,onChange:t})))};var Hc=function({colorPalette:e,duotonePalette:t,disableCustomColors:n,value:o,onChange:r}){const[c,l]=Object(i.useState)(!1);if(!t)return null;const a=()=>{l(e=>!e)};return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(p.ToolbarButton,{showTooltip:!0,onClick:a,"aria-haspopup":"true","aria-expanded":c,onKeyDown:e=>{c||e.keyCode!==cc.DOWN||(e.preventDefault(),e.stopPropagation(),a())},label:Object(j.__)("Apply duotone filter"),icon:Object(i.createElement)(p.DuotoneSwatch,{values:o})}),c&&Object(i.createElement)(Vc,{value:o,onChange:r,onToggle:a,duotonePalette:t,colorPalette:e,disableCustomColors:n}))};function zc(e=[]){const t={r:[],g:[],b:[]};return e.forEach(e=>{const n=To()(e);t.r.push(n._r/255),t.g.push(n._g/255),t.b.push(n._b/255)}),t}function Gc({selector:e,id:t,values:n}){const o=`\n${e} {\n\tfilter: url( #${t} );\n}\n`;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(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"}},Object(i.createElement)("defs",null,Object(i.createElement)("filter",{id:t},Object(i.createElement)("feColorMatrix",{type:"matrix",values:".299 .587 .114 0 0 .299 .587 .114 0 0 .299 .587 .114 0 0 0 0 0 1 0"}),Object(i.createElement)("feComponentTransfer",{colorInterpolationFilters:"sRGB"},Object(i.createElement)("feFuncR",{type:"table",tableValues:n.r.join(" ")}),Object(i.createElement)("feFuncG",{type:"table",tableValues:n.g.join(" ")}),Object(i.createElement)("feFuncB",{type:"table",tableValues:n.b.join(" ")}))))),Object(i.createElement)("style",{dangerouslySetInnerHTML:{__html:o}}))}function Uc({attributes:e,setAttributes:t}){var n;const o=null==e?void 0:e.style,r=null==o||null===(n=o.color)||void 0===n?void 0:n.duotone,c=Io("color.duotone"),l=Io("color.palette"),a=!Io("color.custom");return Object(i.createElement)(Gn,{group:"block"},Object(i.createElement)(Hc,{duotonePalette:c,colorPalette:l,disableCustomColors:a,value:r,onChange:e=>{const n={...o,color:{...null==o?void 0:o.color,duotone:e}};t({style:n})}}))}const Wc=Object(d.createHigherOrderComponent)(e=>t=>{const n=Object(m.hasBlockSupport)(t.name,"color.__experimentalDuotone");return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(e,t),n&&Object(i.createElement)(Uc,t))},"withDuotoneControls"),Kc=Object(d.createHigherOrderComponent)(e=>t=>{var n,o,r;const c=Object(m.getBlockSupport)(t.name,"color.__experimentalDuotone"),a=null==t||null===(n=t.attributes)||void 0===n||null===(o=n.style)||void 0===o||null===(r=o.color)||void 0===r?void 0:r.duotone;if(!c||!a)return Object(i.createElement)(e,t);const u="wp-duotone-filter-"+Object(d.useInstanceId)(e),b=c.split(",").map(e=>`.${u} ${e.trim()}`).join(", "),p=s()(null==t?void 0:t.classname,u);return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(Gc,{selector:b,id:u,values:zc(a)}),Object(i.createElement)(e,Object(l.a)({},t,{className:p})))},"withDuotoneStyles");Object(b.addFilter)("blocks.registerBlockType","core/editor/duotone/add-attributes",(function(e){return Object(m.hasBlockSupport)(e,"color.__experimentalDuotone")?(e.attributes.style||Object.assign(e.attributes,{style:{type:"object"}}),e):e})),Object(b.addFilter)("editor.BlockEdit","core/editor/duotone/with-editor-controls",Wc),Object(b.addFilter)("editor.BlockListBlock","core/editor/duotone/with-styles",Kc);var qc=n("iClF");function $c({setAttributes:e,attributes:t}){const{layout:n={}}=t,{wideSize:o,contentSize:r,inherit:c=!1}=n,l=Io("layout"),a=Object(f.useSelect)(e=>{const{getSettings:t}=e(An);return t().supportsLayout},[]),s=Object(p.__experimentalUseCustomUnits)({availableUnits:Io("layout.units")||["%","px","em","rem","vw"]});return a?Object(i.createElement)(_o,null,Object(i.createElement)(p.PanelBody,{title:Object(j.__)("Layout")},!!l&&Object(i.createElement)(p.ToggleControl,{label:Object(j.__)("Inherit default layout"),checked:!!c,onChange:()=>e({layout:{inherit:!c}})}),!c&&Object(i.createElement)(i.Fragment,null,Object(i.createElement)("div",{className:"block-editor-hooks__layout-controls"},Object(i.createElement)("div",{className:"block-editor-hooks__layout-controls-unit"},Object(i.createElement)(p.__experimentalUnitControl,{label:Object(j.__)("Content"),labelPosition:"top",__unstableInputWidth:"80px",value:r||o||"",onChange:t=>{t=0>parseFloat(t)?"0":t,e({layout:{...n,contentSize:t}})},units:s}),Object(i.createElement)(qc.a,{icon:Kn})),Object(i.createElement)("div",{className:"block-editor-hooks__layout-controls-unit"},Object(i.createElement)(p.__experimentalUnitControl,{label:Object(j.__)("Wide"),labelPosition:"top",__unstableInputWidth:"80px",value:o||r||"",onChange:t=>{t=0>parseFloat(t)?"0":t,e({layout:{...n,wideSize:t}})},units:s}),Object(i.createElement)(qc.a,{icon:$n}))),Object(i.createElement)("div",{className:"block-editor-hooks__layout-controls-reset"},Object(i.createElement)(p.Button,{isSecondary:!0,isSmall:!0,disabled:!r&&!o,onClick:()=>e({layout:{contentSize:void 0,wideSize:void 0,inherit:!1}})},Object(j.__)("Reset")))),Object(i.createElement)("p",{className:"block-editor-hooks__layout-controls-helptext"},Object(j.__)("Customize the width for all elements that are assigned to the center or wide columns.")))):null}const Yc=Object(d.createHigherOrderComponent)(e=>t=>{const{name:n}=t;return[Object(m.hasBlockSupport)(n,"__experimentalLayout")&&Object(i.createElement)($c,Object(l.a)({key:"layout"},t)),Object(i.createElement)(e,Object(l.a)({key:"edit"},t))]},"withInspectorControls"),Xc=Object(d.createHigherOrderComponent)(e=>t=>{const{name:n,attributes:o}=t,r=Object(m.hasBlockSupport)(n,"__experimentalLayout"),c=Object(d.useInstanceId)(e),a=Io("layout")||{};if(!r)return Object(i.createElement)(e,t);const{layout:u={}}=o,b=u&&u.inherit?a:u,p=s()(null==t?void 0:t.className,"wp-container-"+c);return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(eo,{selector:".wp-container-"+c,layout:b}),Object(i.createElement)(e,Object(l.a)({},t,{className:p})))});Object(b.addFilter)("blocks.registerBlockType","core/layout/addAttribute",(function(e){return Object(u.has)(e.attributes,["layout","type"])||Object(m.hasBlockSupport)(e,"__experimentalLayout")&&(e.attributes={...e.attributes,layout:{type:"object"}}),e})),Object(b.addFilter)("editor.BlockListBlock","core/editor/layout/with-layout-styles",Xc),Object(b.addFilter)("editor.BlockEdit","core/editor/layout/with-inspector-controls",Yc);const Qc=[];function Zc({borderColor:e,style:t}){var n;const o=(null==t?void 0:t.border)||{},r=Lo("border-color",e);return{className:s()({[r]:!!r,"has-border-color":e||(null==t||null===(n=t.border)||void 0===n?void 0:n.color)})||void 0,style:Rc({border:o})}}function Jc(e){const t=Io("color.palette")||Qc,n=Zc(e);if(e.borderColor){const o=No(t,e.borderColor);n.style.borderColor=o.color}return n}const el=[];function tl(e){var t,n,o,r,c,l;const{backgroundColor:i,textColor:a,gradient:u,style:d}=e,b=Lo("background-color",i),m=Lo("color",a),p=Ao(u),f=p||(null==d||null===(t=d.color)||void 0===t?void 0:t.gradient);return{className:s()(m,p,{[b]:!f&&!!b,"has-text-color":a||(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:Rc({color:(null==d?void 0:d.color)||{}})}}function nl(e){const{backgroundColor:t,textColor:n,gradient:o}=e,r=Io("color.palette")||el,c=Io("color.gradients")||el,l=tl(e);if(t){const e=No(r,t);l.style.backgroundColor=e.color}if(o&&(l.style.background=Mo(c,o)),n){const e=No(r,n);l.style.color=e.color}return l}const ol=[];function rl(e,t){const n=Object(u.reduce)(e,(e,t)=>({...e,...Object(u.isString)(t)?{[t]:Object(u.kebabCase)(t)}:t}),{});return Object(d.compose)([t,e=>class extends i.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){return To.a.mostReadable(t,Object(u.map)(e,"color")).toHexString()}(t,e)}createSetters(){return Object(u.reduce)(n,(e,t,n)=>{const o=Object(u.upperFirst)(n),r="custom"+o;return e["set"+o]=this.createSetColor(n,r),e},{})}createSetColor(e,t){return n=>{const o=Po(this.props.colors,n);this.props.setAttributes({[e]:o&&o.slug?o.slug:void 0,[t]:o&&o.slug?void 0:n})}}static getDerivedStateFromProps({attributes:e,colors:t},o){return Object(u.reduce)(n,(n,r,c)=>{const l=No(t,e[c],e["custom"+Object(u.upperFirst)(c)]),i=o[c];return(null==i?void 0:i.color)===l.color&&i?n[c]=i:n[c]={...l,class:Lo(r,l.slug)},n},{})}render(){return Object(i.createElement)(e,Object(l.a)({},this.props,{colors:void 0},this.state,this.setters,{colorUtils:this.colorUtils}))}}])}function cl(e){return(...t)=>{const n=(e=>Object(d.createHigherOrderComponent)(t=>n=>Object(i.createElement)(t,Object(l.a)({},n,{colors:e})),"withCustomColorPalette"))(e);return Object(d.createHigherOrderComponent)(rl(t,n),"withCustomColors")}}function ll(...e){const t=Object(d.createHigherOrderComponent)(e=>t=>{const n=Io("color.palette")||ol;return Object(i.createElement)(e,Object(l.a)({},t,{colors:n}))},"withEditorColorPalette");return Object(d.createHigherOrderComponent)(rl(e,t),"withColors")}var il=n("4eJC"),al=n.n(il);var sl=({colorSettings:e,...t})=>{const n=e.map(({value:e,onChange:t,...n})=>({...n,colorValue:e,onColorChange:t}));return Object(i.createElement)(fr,Object(l.a)({settings:n,gradients:[],disableCustomGradients:!0},t))};const ul=(e,t,n)=>"function"==typeof e?e(t):!0===e?n:e;function dl({title:e,colorSettings:t,colorPanelProps:n,contrastCheckers:o,detectedBackgroundColor:r,detectedColor:c,panelChildren:a,initialOpen:s}){return Object(i.createElement)(sl,Object(l.a)({title:e,initialOpen:s,colorSettings:Object.values(t)},n),o&&(Array.isArray(o)?o.map(({backgroundColor:e,textColor:n,...o})=>(e=ul(e,t,r),n=ul(n,t,c),Object(i.createElement)(hr,Object(l.a)({key:`${e}-${n}`,backgroundColor:e,textColor:n},o)))):Object(u.map)(t,({value:e})=>{let{backgroundColor:n,textColor:a}=o;return n=ul(n||e,t,r),a=ul(a||e,t,c),Object(i.createElement)(hr,Object(l.a)({},o,{key:`${n}-${a}`,backgroundColor:n,textColor:a}))})),"function"==typeof a?a(t):a)}function bl(e){return e.ownerDocument.defaultView.getComputedStyle(e)}const ml=[],pl={textColor:Object(j.__)("Text color"),backgroundColor:Object(j.__)("Background color")},fl=e=>Object(i.createElement)(_o,null,Object(i.createElement)(dl,e));function gl(e,{panelTitle:t=Object(j.__)("Color"),colorPanelProps:n,contrastCheckers:o,panelChildren:r,colorDetector:{targetRef:c,backgroundColorTargetRef:l=c,textColorTargetRef:a=c}={}}={panelTitle:Object(j.__)("Color")},d=[]){const{clientId:b}=O(),m=Io("color.palette")||ml,{attributes:p}=Object(f.useSelect)(e=>{const{getBlockAttributes:t}=e(An);return{attributes:t(b)}},[b]),{updateBlockAttributes:g}=Object(f.useDispatch)(An),h=Object(i.useCallback)(e=>g(b,e),[g,b]),v=Object(i.useMemo)(()=>al()((e,t,n,o,r,c)=>({children:l,className:a="",style:d={}})=>{let b={};o?b={[t]:r}:c&&(b={[t]:c});const m={className:s()(a,{[`has-${Object(u.kebabCase)(o)}-${Object(u.kebabCase)(t)}`]:o,[n||"has-"+Object(u.kebabCase)(e)]:o||c}),style:{...b,...d}};return Object(u.isFunction)(l)?l(m):i.Children.map(l,e=>Object(i.cloneElement)(e,{className:s()(e.props.className,m.className),style:{...m.style,...e.props.style||{}}}))},{maxSize:e.length}),[e.length]),k=Object(i.useMemo)(()=>al()((e,t)=>n=>{const o=t.find(e=>e.color===n);h({[o?Object(u.camelCase)("custom "+e):e]:void 0}),h({[o?e:Object(u.camelCase)("custom "+e)]:o?o.slug:n})},{maxSize:e.length}),[h,e.length]),[_,y]=Object(i.useState)(),[E,C]=Object(i.useState)();return Object(i.useEffect)(()=>{if(!o)return;let e=!1,t=!1;for(const{backgroundColor:n,textColor:r}of Object(u.castArray)(o))if(e||(e=!0===n),t||(t=!0===r),e&&t)break;if(t&&C(bl(a.current).color),e){let e=l.current,t=bl(e).backgroundColor;for(;"rgba(0, 0, 0, 0)"===t&&e.parentNode&&e.parentNode.nodeType===e.parentNode.ELEMENT_NODE;)e=e.parentNode,t=bl(e).backgroundColor;y(t)}},[e.reduce((e,t)=>`${e} | ${p[t.name]} | ${p[Object(u.camelCase)("custom "+t.name)]}`,""),...d]),Object(i.useMemo)(()=>{const c={},l=e.reduce((e,t)=>{"string"==typeof t&&(t={name:t});const{name:n,property:o=n,className:r,panelLabel:l=t.label||pl[n]||Object(u.startCase)(n),componentName:i=Object(u.startCase)(n).replace(/\s/g,""),color:a=t.color,colors:s=m}={...t,color:p[t.name]},d=p[Object(u.camelCase)("custom "+n)],b=d?void 0:s.find(e=>e.slug===a);return e[i]=v(n,o,r,a,b&&b.color,d),e[i].displayName=i,e[i].color=d||b&&b.color,e[i].slug=a,e[i].setColor=k(n,s),c[i]={value:b?b.color:p[Object(u.camelCase)("custom "+n)],onChange:e[i].setColor,label:l,colors:s},s||delete c[i].colors,e},{}),a={title:t,initialOpen:!1,colorSettings:c,colorPanelProps:n,contrastCheckers:o,detectedBackgroundColor:_,detectedColor:E,panelChildren:r};return{...l,ColorPanel:Object(i.createElement)(dl,a),InspectorControlsColorPanel:Object(i.createElement)(fl,a)}},[p,h,E,_,...d])}const hl=[];var Ol=(...e)=>{const t=Object(u.reduce)(e,(e,t)=>(e[t]="custom"+Object(u.upperFirst)(t),e),{});return Object(d.createHigherOrderComponent)(Object(d.compose)([Object(d.createHigherOrderComponent)(e=>t=>{const n=Io("typography.fontSizes")||hl;return Object(i.createElement)(e,Object(l.a)({},t,{fontSizes:n}))},"withFontSizes"),e=>class extends i.Component{constructor(e){super(e),this.setters=this.createSetters(),this.state={}}createSetters(){return Object(u.reduce)(t,(e,t,n)=>(e["set"+Object(u.upperFirst)(n)]=this.createSetFontSize(n,t),e),{})}createSetFontSize(e,t){return n=>{const o=Object(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({attributes:e,fontSizes:n},o){const r=(t,n)=>!o[n]||(e[n]?e[n]!==o[n].slug:o[n].size!==e[t]);if(!Object(u.some)(t,r))return null;const c=Object(u.reduce)(Object(u.pickBy)(t,r),(t,o,r)=>{const c=e[r],l=Mr(n,c,e[o]);return t[r]={...l,class:Fr(c)},t},{});return{...o,...c}}render(){return Object(i.createElement)(e,Object(l.a)({},this.props,{fontSizes:void 0},this.state,this.setters))}}]),"withFontSizes")},jl=n("fPbg"),vl=n("plpT"),kl=n("ziDm");const _l=[{icon:jl.a,title:Object(j.__)("Align text left"),align:"left"},{icon:vl.a,title:Object(j.__)("Align text center"),align:"center"},{icon:kl.a,title:Object(j.__)("Align text right"),align:"right"}],yl={position:"bottom right",isAlternate:!0};var El=function({value:e,onChange:t,alignmentControls:n=_l,label:o=Object(j.__)("Align"),describedBy:r=Object(j.__)("Change text alignment"),isCollapsed:c=!0,isToolbar:a}){function s(n){return()=>t(e===n?void 0:n)}const d=Object(u.find)(n,t=>t.align===e),b=a?p.ToolbarGroup:p.ToolbarDropdownMenu,m=a?{isCollapsed:c}:{};return Object(i.createElement)(b,Object(l.a)({icon:d?d.icon:Object(j.isRTL)()?kl.a:jl.a,label:o,toggleProps:{describedBy:r},popoverProps:yl,controls:n.map(t=>{const{align:n}=t,o=e===n;return{...t,isActive:o,role:c?"menuitemradio":void 0,onClick:s(n)}})},m))};function Cl(e){return Object(i.createElement)(El,Object(l.a)({},e,{isToolbar:!1}))}function Sl(e){return Object(i.createElement)(El,Object(l.a)({},e,{isToolbar:!0}))}const wl=e=>e.name||"",Bl=e=>e.title,Il=e=>e.description||"",xl=e=>e.keywords||[],Tl=e=>e.category,Nl=()=>null;function Pl(e=""){return e=(e=(e=Object(u.deburr)(e)).replace(/^\//,"")).toLowerCase()}const Ll=(e="")=>Object(u.words)(Pl(e)),Rl=(e,t,n,o)=>{if(0===Ll(o).length)return e;return Al(e,o,{getCategory:e=>{var n;return null===(n=Object(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}})},Al=(e=[],t="",n={})=>{if(0===Ll(t).length)return e;const o=e.map(e=>[e,Ml(e,t,n)]).filter(([,e])=>e>0);return o.sort(([,e],[,t])=>t-e),o.map(([e])=>e)};function Ml(e,t,n={}){const{getName:o=wl,getTitle:r=Bl,getDescription:c=Il,getKeywords:l=xl,getCategory:i=Tl,getCollection:a=Nl}=n,s=o(e),d=r(e),b=c(e),m=l(e),p=i(e),f=a(e),g=Pl(t),h=Pl(d);let O=0;if(g===h)O+=30;else if(h.startsWith(g))O+=20;else{const e=[s,d,b,...m,p,f].join(" ");0===((e,t)=>Object(u.differenceWith)(e,Ll(t),(e,t)=>t.includes(e)))(Object(u.words)(g),e).length&&(O+=10)}return 0!==O&&s.startsWith("core/")&&O++,O}var Dl=(e,t)=>{const{categories:n,collections:o,items:r}=Object(f.useSelect)(t=>{const{getInserterItems:n}=t(An),{getCategories:o,getCollections:r}=t(m.store);return{categories:o(),collections:r(),items:n(e)}},[e]);return[r,n,o,Object(i.useCallback)(({name:e,initialAttributes:n,innerBlocks:o},r)=>{const c=Object(m.createBlock)(e,n,Object(m.createBlocksFromInnerBlocksTemplate)(o));t(c,void 0,r)},[t])]},Fl=n("//Lo");function Vl({icon:e,showColors:t=!1,className:n}){var o;"block-default"===(null===(o=e)||void 0===o?void 0:o.src)&&(e={src:Fl.a});const r=Object(i.createElement)(p.Icon,{icon:e&&e.src?e.src:e}),c=t?{backgroundColor:e&&e.background,color:e&&e.foreground}:{};return Object(i.createElement)("span",{style:c,className:s()("block-editor-block-icon",n,{"has-colors":t})},r)}var Hl={name:"blocks",className:"block-editor-autocompleters__block",triggerPrefix:"/",useItems(e){const{rootClientId:t,selectedBlockName:n}=Object(f.useSelect)(e=>{const{getSelectedBlockClientId:t,getBlockName:n,getBlockInsertionPoint:o}=e(An),r=t();return{selectedBlockName:r?n(r):null,rootClientId:o().rootClientId}},[]),[o,r,c]=Dl(t,u.noop),l=Object(i.useMemo)(()=>(e.trim()?Rl(o,r,c,e):Object(u.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)(Vl,{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(m.createBlock)(t,n,Object(m.createBlocksFromInnerBlocksTemplate)(o))}}};const zl=[];function Gl({completers:e=zl}){const{name:t}=O();return Object(i.useMemo)(()=>{let n=e;return t===Object(m.getDefaultBlockName)()&&(n=n.concat([Hl])),Object(b.hasFilter)("editor.Autocomplete.completers")&&(n===e&&(n=n.map(u.clone)),n=Object(b.applyFilters)("editor.Autocomplete.completers",n,t)),n},[e,t])}var Ul=function(e){return Object(i.createElement)(p.Autocomplete,Object(l.a)({},e,{completers:Gl(e)}))};var Wl=Object(i.createElement)(Un.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(Un.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 Kl=function({isActive:e,label:t=Object(j.__)("Toggle full height"),onToggle:n,isDisabled:o}){return Object(i.createElement)(p.ToolbarButton,{isActive:e,icon:Wl,label:t,onClick:()=>n(!e),disabled:o})};var ql=function(e){const{label:t=Object(j.__)("Change matrix alignment"),onChange:n=u.noop,value:o="center",isDisabled:r}=e,c=Object(i.createElement)(p.__experimentalAlignmentMatrixControl.Icon,{value:o}),l="block-editor-block-alignment-matrix-control";return Object(i.createElement)(p.Dropdown,{position:"bottom right",className:l,popoverProps:{className:"block-editor-block-alignment-matrix-control__popover",isAlternate:!0},renderToggle:({onToggle:e,isOpen:n})=>Object(i.createElement)(p.ToolbarButton,{onClick:e,"aria-haspopup":"true","aria-expanded":n,onKeyDown:t=>{n||t.keyCode!==cc.DOWN||(t.preventDefault(),t.stopPropagation(),e())},label:t,icon:c,showTooltip:!0,disabled:r}),renderContent:()=>Object(i.createElement)(p.__experimentalAlignmentMatrixControl,{hasFocusBorder:!1,onChange:n,value:o})})};function $l(e){return Object(f.useSelect)(t=>{if(!e)return null;const{getBlockName:n,getBlockAttributes:o}=t(An),{getBlockType:r,getActiveBlockVariation:c}=t(m.store),l=n(e),i=r(l);if(!i)return null;const a=o(e),s=c(l,a),u={title:i.title,icon:i.icon,description:i.description,anchor:null==a?void 0:a.anchor};return s?{title:s.title||i.title,icon:s.icon||i.icon,description:s.description||i.description}:u},[e])}function Yl({clientId:e}){const{attributes:t,name:n,reusableBlockTitle:o}=Object(f.useSelect)(t=>{if(!e)return{};const{getBlockName:n,getBlockAttributes:o,__experimentalGetReusableBlockTitle:r}=t(An),c=n(e);if(!c)return{};const l=Object(m.isReusableBlock)(Object(m.getBlockType)(c));return{attributes:o(e),name:c,reusableBlockTitle:l&&r(o(e).ref)}},[e]),r=$l(e);if(!n||!r)return null;const c=Object(m.getBlockType)(n),l=o||Object(m.__experimentalGetBlockLabel)(c,t);return l!==c.title?Object(u.truncate)(l,{length:35}):r.title}var Xl=function(){const{selectBlock:e,clearSelectedBlock:t}=Object(f.useDispatch)(An),{clientId:n,parents:o,hasSelection:r}=Object(f.useSelect)(e=>{const{getSelectionStart:t,getSelectedBlockClientId:n,getBlockParents:o}=e(An),r=n();return{parents:o(r),clientId:r,hasSelection:!!t().clientId}},[]);return Object(i.createElement)("ul",{className:"block-editor-block-breadcrumb",role:"list","aria-label":Object(j.__)("Block breadcrumb")},Object(i.createElement)("li",{className:r?void 0:"block-editor-block-breadcrumb__current","aria-current":r?void 0:"true"},r&&Object(i.createElement)(p.Button,{className:"block-editor-block-breadcrumb__button",isTertiary:!0,onClick:t},Object(j.__)("Document")),!r&&Object(j.__)("Document")),o.map(t=>Object(i.createElement)("li",{key:t},Object(i.createElement)(p.Button,{className:"block-editor-block-breadcrumb__button",isTertiary:!0,onClick:()=>e(t)},Object(i.createElement)(Yl,{clientId:t})))),!!n&&Object(i.createElement)("li",{className:"block-editor-block-breadcrumb__current","aria-current":"true"},Object(i.createElement)(Yl,{clientId:n})))};const Ql=Object(i.createContext)({});function Zl({value:e,children:t}){const n=Object(i.useContext)(Ql),o=Object(i.useMemo)(()=>({...n,...e}),[n,e]);return Object(i.createElement)(Ql.Provider,{value:o,children:t})}var Jl=Ql;const ei=()=>Object(i.createElement)(p.SVG,{xmlns:"https://www.w3.org/2000/svg",viewBox:"0 0 20 20"},Object(i.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"})),ti=({style:e,className:t})=>Object(i.createElement)("div",{className:"block-library-colors-selector__icon-container"},Object(i.createElement)("div",{className:t+" block-library-colors-selector__state-selection",style:e},Object(i.createElement)(ei,null))),ni=({TextColor:e,BackgroundColor:t})=>({onToggle:n,isOpen:o})=>Object(i.createElement)(p.ToolbarGroup,null,Object(i.createElement)(p.ToolbarButton,{className:"components-toolbar__control block-library-colors-selector__toggle",label:Object(j.__)("Open Colors Selector"),onClick:n,onKeyDown:e=>{o||e.keyCode!==cc.DOWN||(e.preventDefault(),e.stopPropagation(),n())},icon:Object(i.createElement)(t,null,Object(i.createElement)(e,null,Object(i.createElement)(ti,null)))}));var oi=({children:e,...t})=>Object(i.createElement)(p.Dropdown,{position:"bottom right",className:"block-library-colors-selector",contentClassName:"block-library-colors-selector__popover",renderToggle:ni(t),renderContent:()=>e});const ri={};var ci=Object(p.withFilters)("editor.BlockEdit")(e=>{const{attributes:t={},name:n}=e,o=Object(m.getBlockType)(n),r=Object(i.useContext)(Jl),c=Object(i.useMemo)(()=>o&&o.usesContext?Object(u.pick)(r,o.usesContext):ri,[o,r]);if(!o)return null;const a=o.edit||o.save;if(o.apiVersion>1||Object(m.hasBlockSupport)(o,"lightBlockWrapper",!1))return Object(i.createElement)(a,Object(l.a)({},e,{context:c}));const d=Object(m.hasBlockSupport)(o,"className",!0)?Object(m.getBlockDefaultClassName)(n):null,b=s()(d,t.className);return Object(i.createElement)(a,Object(l.a)({},e,{context:c,className:b}))});function li(e){const{name:t,isSelected:n,clientId:o}=e,r={name:t,isSelected:n,clientId:o};return Object(i.createElement)(h,{value:Object(i.useMemo)(()=>r,Object.values(r))},Object(i.createElement)(ci,e))}var ii=n("OzlF"),ai=n("VKE3"),si=n("ZO3Q"),ui=n("1CF3");const di=e=>e+1,bi=e=>({top:e.offsetTop,left:e.offsetLeft});var mi=function({isSelected:e,adjustScrolling:t,enableAnimation:n,triggerAnimationOnChange:o}){const r=Object(i.useRef)(),c=Object(d.useReducedMotion)()||!n,[l,a]=Object(i.useReducer)(di,0),[s,u]=Object(i.useReducer)(di,0),[b,m]=Object(i.useState)({x:0,y:0}),p=Object(i.useMemo)(()=>r.current?bi(r.current):null,[o]),f=Object(i.useMemo)(()=>{if(!t||!r.current)return()=>{};const e=Object(ui.getScrollContainer)(r.current);if(!e)return()=>{};const n=r.current.getBoundingClientRect();return()=>{const t=r.current.getBoundingClientRect().top-n.top;t&&(e.scrollTop+=t)}},[o,t]);function g({x:t,y:n}){t=Math.round(t),n=Math.round(n),t===g.x&&n===g.y||(!function({x:t,y:n}){if(!r.current)return;const o=0===t&&0===n;r.current.style.transformOrigin=o?"":"center",r.current.style.transform=o?"":`translate3d(${t}px,${n}px,0)`,r.current.style.zIndex=!e||o?"":"1",f()}({x:t,y:n}),g.x=t,g.y=n)}return Object(i.useLayoutEffect)(()=>{l&&u()},[l]),Object(i.useLayoutEffect)(()=>{if(!p)return;if(c)return void f();r.current.style.transform="";const e=bi(r.current);a(),m({x:Math.round(p.left-e.left),y:Math.round(p.top-e.top)})},[o]),g.x=0,g.y=0,Object(si.useSpring)({from:{x:b.x,y:b.y},to:{x:0,y:0},reset:l!==s,config:{mass:5,tension:2e3,friction:200},immediate:c,onFrame:g}),r};const pi=Object(si.animated)(p.__experimentalTreeGridRow);function fi({isSelected:e,position:t,level:n,rowCount:o,children:r,className:c,path:a,...u}){const d=mi({isSelected:e,adjustScrolling:!1,enableAnimation:!0,triggerAnimationOnChange:a.join("_")});return Object(i.createElement)(pi,Object(l.a)({ref:d,className:s()("block-editor-block-navigation-leaf",c),level:n,positionInSet:t,setSize:o},u),r)}var gi=n("1iEr"),hi=n("2gm7"),Oi=n("XgzB"),ji=n("NWDH");function vi(e,t,n,o,r,c,l){const i=n+1,a=e=>"up"===e?"horizontal"===l?Object(j.isRTL)()?"right":"left":"up":"down"===e?"horizontal"===l?Object(j.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(j.__)("Blocks cannot be moved up as they are already at the top");if(r>0&&o)return Object(j.__)("Blocks cannot be moved down as they are already at the bottom");if(r<0&&!n)return Object(j.sprintf)(Object(j._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(j.sprintf)(Object(j._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(j.sprintf)(Object(j.__)("Block %s is the only block, and cannot be moved"),t);if(c>0&&!r){const e=a("down");if("down"===e)return Object(j.sprintf)(Object(j.__)("Move %1$s block from position %2$d down to position %3$d"),t,i,i+1);if("left"===e)return Object(j.sprintf)(Object(j.__)("Move %1$s block from position %2$d left to position %3$d"),t,i,i+1);if("right"===e)return Object(j.sprintf)(Object(j.__)("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(j.sprintf)(Object(j.__)("Block %1$s is at the end of the content and can’t be moved down"),t);if("left"===e)return Object(j.sprintf)(Object(j.__)("Block %1$s is at the end of the content and can’t be moved left"),t);if("right"===e)return Object(j.sprintf)(Object(j.__)("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(j.sprintf)(Object(j.__)("Move %1$s block from position %2$d up to position %3$d"),t,i,i-1);if("left"===e)return Object(j.sprintf)(Object(j.__)("Move %1$s block from position %2$d left to position %3$d"),t,i,i-1);if("right"===e)return Object(j.sprintf)(Object(j.__)("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(j.sprintf)(Object(j.__)("Block %1$s is at the beginning of the content and can’t be moved up"),t);if("left"===e)return Object(j.sprintf)(Object(j.__)("Block %1$s is at the beginning of the content and can’t be moved left"),t);if("right"===e)return Object(j.sprintf)(Object(j.__)("Block %1$s is at the beginning of the content and can’t be moved right"),t)}}const ki=(e,t)=>"up"===e?"horizontal"===t?Object(j.isRTL)()?gi.a:hi.a:Oi.a:"down"===e?"horizontal"===t?Object(j.isRTL)()?hi.a:gi.a:ji.a:null,_i=(e,t)=>"up"===e?"horizontal"===t?Object(j.isRTL)()?Object(j.__)("Move right"):Object(j.__)("Move left"):Object(j.__)("Move up"):"down"===e?"horizontal"===t?Object(j.isRTL)()?Object(j.__)("Move left"):Object(j.__)("Move right"):Object(j.__)("Move down"):null,yi=Object(i.forwardRef)(({clientIds:e,direction:t,orientation:n,...o},r)=>{const c=Object(d.useInstanceId)(yi),a=Object(u.castArray)(e).length,{blockType:b,isDisabled:g,rootClientId:h,isFirst:O,isLast:j,firstIndex:v,orientation:k="vertical"}=Object(f.useSelect)(o=>{const{getBlockIndex:r,getBlockRootClientId:c,getBlockOrder:l,getBlock:i,getBlockListSettings:a}=o(An),s=Object(u.castArray)(e),d=Object(u.first)(s),b=c(d),p=r(d,b),f=r(Object(u.last)(s),b),g=l(b),h=i(d),O=0===p,j=f===g.length-1,{orientation:v}=a(b)||{};return{blockType:h?Object(m.getBlockType)(h.name):null,isDisabled:"up"===t?O:j,rootClientId:b,firstIndex:p,isFirst:O,isLast:j,orientation:n||v}},[e,t]),{moveBlocksDown:_,moveBlocksUp:y}=Object(f.useDispatch)(An),E="up"===t?y:_,C="block-editor-block-mover-button__description-"+c;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(p.Button,Object(l.a)({ref:r,className:s()("block-editor-block-mover-button",`is-${t}-button`),icon:ki(t,k),label:_i(t,k),"aria-describedby":C},o,{onClick:g?null:t=>{E(e,h),o.onClick&&o.onClick(t)},"aria-disabled":g})),Object(i.createElement)("span",{id:C,className:"block-editor-block-mover-button__description"},vi(a,b&&b.title,v,O,j,"up"===t?-1:1,k)))}),Ei=Object(i.forwardRef)((e,t)=>Object(i.createElement)(yi,Object(l.a)({direction:"up",ref:t},e))),Ci=Object(i.forwardRef)((e,t)=>Object(i.createElement)(yi,Object(l.a)({direction:"down",ref:t},e))),Si=Object(i.createContext)({__experimentalFeatures:!1,__experimentalPersistentListViewFeatures:!1}),wi=()=>Object(i.useContext)(Si);var Bi=Object(i.createElement)(Un.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(Un.Path,{d:"M11 13h2v-2h-2v2zm-6 0h2v-2H5v2zm12-2v2h2v-2h-2z"}));var Ii=function({className:e,actions:t,children:n,secondaryActions:o}){return Object(i.createElement)("div",{className:s()(e,"block-editor-warning")},Object(i.createElement)("div",{className:"block-editor-warning__contents"},Object(i.createElement)("p",{className:"block-editor-warning__message"},n),(i.Children.count(t)>0||o)&&Object(i.createElement)("div",{className:"block-editor-warning__actions"},i.Children.count(t)>0&&i.Children.map(t,(e,t)=>Object(i.createElement)("span",{key:t,className:"block-editor-warning__action"},e)),o&&Object(i.createElement)(p.DropdownMenu,{className:"block-editor-warning__secondary",icon:Bi,label:Object(j.__)("More options"),popoverProps:{position:"bottom left",className:"block-editor-warning__dropdown"},noIcons:!0},()=>Object(i.createElement)(p.MenuGroup,null,o.map((e,t)=>Object(i.createElement)(p.MenuItem,{onClick:e.onClick,key:t},e.title)))))))},xi=n("iA5R");var Ti=({title:e,rawContent:t,renderedContent:n,action:o,actionText:r,className:c})=>Object(i.createElement)("div",{className:c},Object(i.createElement)("div",{className:"block-editor-block-compare__content"},Object(i.createElement)("h2",{className:"block-editor-block-compare__heading"},e),Object(i.createElement)("div",{className:"block-editor-block-compare__html"},t),Object(i.createElement)("div",{className:"block-editor-block-compare__preview edit-post-visual-editor"},n)),Object(i.createElement)("div",{className:"block-editor-block-compare__action"},Object(i.createElement)(p.Button,{isSecondary:!0,tabIndex:"0",onClick:o},r)));var Ni=function({block:e,onKeep:t,onConvert:n,convertor:o,convertButtonText:r}){const c={rawContent:e.originalContent,renderedContent:Object(m.getSaveElement)(e.name,e.attributes)},l=function(e){const t=Object(u.castArray)(e),n=t.map(e=>Object(m.getSaveContent)(e.name,e.attributes,e.innerBlocks)),o=t.map(e=>Object(m.getSaveElement)(e.name,e.attributes,e.innerBlocks));return{rawContent:n.join(""),renderedContent:o}}(o(e)),a=(d=c.rawContent,b=l.rawContent,Object(xi.diffChars)(d,b).map((e,t)=>{const n=s()({"block-editor-block-compare__added":e.added,"block-editor-block-compare__removed":e.removed});return Object(i.createElement)("span",{key:t,className:n},e.value)}));var d,b;return Object(i.createElement)("div",{className:"block-editor-block-compare__wrapper"},Object(i.createElement)(Ti,{title:Object(j.__)("Current"),className:"block-editor-block-compare__current",action:t,actionText:Object(j.__)("Convert to HTML"),rawContent:c.rawContent,renderedContent:c.renderedContent}),Object(i.createElement)(Ti,{title:Object(j.__)("After Conversion"),className:"block-editor-block-compare__converted",action:n,actionText:r,rawContent:a,renderedContent:l.renderedContent}))};const Pi=e=>Object(m.rawHandler)({HTML:e.originalContent});var Li=Object(d.compose)([Object(f.withSelect)((e,{clientId:t})=>({block:e(An).getBlock(t)})),Object(f.withDispatch)((e,{block:t})=>{const{replaceBlock:n}=e(An);return{convertToClassic(){n(t.clientId,(e=>Object(m.createBlock)("core/freeform",{content:e.originalContent}))(t))},convertToHTML(){n(t.clientId,(e=>Object(m.createBlock)("core/html",{content:e.originalContent}))(t))},convertToBlocks(){n(t.clientId,Pi(t))},attemptBlockRecovery(){n(t.clientId,(({name:e,attributes:t,innerBlocks:n})=>Object(m.createBlock)(e,t,n))(t))}}})])((function({convertToHTML:e,convertToBlocks:t,convertToClassic:n,attemptBlockRecovery:o,block:r}){const c=!!Object(m.getBlockType)("core/html"),[l,a]=Object(i.useState)(!1),s=Object(i.useCallback)(()=>a(!0),[]),u=Object(i.useCallback)(()=>a(!1),[]),d=Object(i.useMemo)(()=>[{title:Object(j._x)("Resolve","imperative verb"),onClick:s},c&&{title:Object(j.__)("Convert to HTML"),onClick:e},{title:Object(j.__)("Convert to Classic Block"),onClick:n}].filter(Boolean),[s,e,n]);return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(Ii,{actions:[Object(i.createElement)(p.Button,{key:"recover",onClick:o,isPrimary:!0},Object(j.__)("Attempt Block Recovery"))],secondaryActions:d},Object(j.__)("This block contains unexpected or invalid content.")),l&&Object(i.createElement)(p.Modal,{title:Object(j.__)("Resolve Block"),onRequestClose:u,className:"block-editor-block-compare"},Object(i.createElement)(Ni,{block:r,onKeep:e,onConvert:t,convertor:Pi,convertButtonText:Object(j.__)("Convert to Blocks")})))}));const Ri=Object(i.createElement)(Ii,{className:"block-editor-block-list__block-crash-warning"},Object(j.__)("This block has encountered an error and cannot be previewed."));var Ai=()=>Ri;class Mi extends i.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 Di=Mi,Fi=n("O6Fj"),Vi=n.n(Fi);var Hi=function({clientId:e}){const[t,n]=Object(i.useState)(""),o=Object(f.useSelect)(t=>t(An).getBlock(e),[e]),{updateBlock:r}=Object(f.useDispatch)(An);return Object(i.useEffect)(()=>{n(Object(m.getBlockContent)(o))},[o]),Object(i.createElement)(Vi.a,{className:"block-editor-block-list__block-html-textarea",value:t,onBlur:()=>{const c=Object(m.getBlockType)(o.name),l=Object(m.getBlockAttributes)(c,t,o.attributes),i=t||Object(m.getSaveContent)(c,l),a=!t||Object(m.isValidBlockContent)(c,l,i);r(e,{attributes:l,originalContent:i,isValid:a}),t||n({content:i})},onChange:e=>n(e.target.value)})};function zi(e,t){return t.closest(".wp-block")===e}function Gi(e){const t=Object(i.useRef)(),n=function(e){return Object(f.useSelect)(t=>{const{getSelectedBlocksInitialCaretPosition:n,isMultiSelecting:o,isNavigationMode:r,isBlockSelected:c}=t(An);if(c(e)&&!o()&&!r())return n()},[e])}(e);return Object(i.useEffect)(()=>{if(null==n)return;if(!t.current)return;const{ownerDocument:e}=t.current;if(t.current.contains(e.activeElement))return;const o=ui.focus.tabbable.find(t.current).filter(e=>Object(ui.isTextField)(e)),r=-1===n,c=(r?u.last:u.first)(o)||t.current;zi(t.current,c)&&!c.closest(".block-list-appender")?Object(ui.placeCaretAtHorizontalEdge)(c,r):t.current.focus()},[n]),t}function Ui(e){if(e.defaultPrevented)return;const t="mouseover"===e.type?"add":"remove";e.preventDefault(),e.currentTarget.classList[t]("is-hovered")}function Wi(){const e=Object(f.useSelect)(e=>{const{isNavigationMode:t,getSettings:n}=e(An);return t()||n().outlineMode},[]);return Object(d.useRefEffect)(t=>{if(e)return t.addEventListener("mouseout",Ui),t.addEventListener("mouseover",Ui),()=>{t.removeEventListener("mouseout",Ui),t.removeEventListener("mouseover",Ui),t.classList.remove("is-hovered")}},[e])}function Ki(e){return Object(f.useSelect)(t=>{const{isBlockBeingDragged:n,isBlockHighlighted:o,isBlockSelected:r,isBlockMultiSelected:c,getBlockName:l,getSettings:i,hasSelectedInnerBlock:a,__experimentalGetActiveBlockIdByBlockNames:u}=t(An),{__experimentalSpotlightEntityBlocks:d}=i(),b=n(e),p=r(e),f=l(e),g=a(e,!0),h=u(d);return s()({"is-selected":p,"is-highlighted":o(e),"is-multi-selected":c(e),"is-reusable":Object(m.isReusableBlock)(Object(m.getBlockType)(f)),"is-dragging":b,"has-child-selected":g,"has-active-entity":h,"is-active-entity":h===e})},[e])}function qi(e){return Object(f.useSelect)(t=>{const n=t(An).getBlockName(e),o=Object(m.getBlockType)(n);if(o.apiVersion>1||Object(m.hasBlockSupport)(o,"lightBlockWrapper",!1))return Object(m.getBlockDefaultClassName)(n)},[e])}function $i(e){return Object(f.useSelect)(t=>{const{getBlockName:n,getBlockAttributes:o}=t(An),{className:r}=o(e);if(!r)return;const c=Object(m.getBlockType)(n(e));return c.apiVersion>1||Object(m.hasBlockSupport)(c,"lightBlockWrapper",!1)?r:void 0},[e])}function Yi(e){return Object(f.useSelect)(t=>{const{hasBlockMovingClientId:n,canInsertBlockType:o,getBlockName:r,getBlockRootClientId:c,isBlockSelected:l}=t(An);if(!l(e))return;const i=n();return i?s()("is-block-moving-mode",{"can-insert-moving-block":o(r(i),c(e))}):void 0},[e])}function Xi(e){const{isBlockSelected:t}=Object(f.useSelect)(An),{selectBlock:n,selectionChange:o}=Object(f.useDispatch)(An);return Object(d.useRefEffect)(r=>{function c(c){t(e)?c.target.isContentEditable||o(e):zi(r,c.target)&&n(e)}return r.addEventListener("focusin",c),()=>{r.removeEventListener("focusin",c)}},[t,n])}function Qi(e){const t=Object(f.useSelect)(t=>t(An).isBlockSelected(e),[e]),{getBlockRootClientId:n,getBlockIndex:o}=Object(f.useSelect)(An),{insertDefaultBlock:r,removeBlock:c}=Object(f.useDispatch)(An);return Object(d.useRefEffect)(l=>{if(t)return l.addEventListener("keydown",i),l.addEventListener("dragstart",a),()=>{l.removeEventListener("keydown",i),l.removeEventListener("dragstart",a)};function i(t){const{keyCode:i,target:a}=t;i!==cc.ENTER&&i!==cc.BACKSPACE&&i!==cc.DELETE||a!==l||Object(ui.isTextField)(a)||(t.preventDefault(),i===cc.ENTER?r({},n(e),o(e)+1):c(e))}function a(e){e.preventDefault()}},[e,t,n,o,r,c])}function Zi(e){const{isNavigationMode:t,isBlockSelected:n}=Object(f.useSelect)(An),{setNavigationMode:o,selectBlock:r}=Object(f.useDispatch)(An);return Object(d.useRefEffect)(c=>{function l(c){t()&&!c.defaultPrevented&&(c.preventDefault(),n(e)?o(!1):r(e))}return c.addEventListener("mousedown",l),()=>{c.addEventListener("mousedown",l)}},[e,t,n,o])}var Ji=n("9Do8"),ea=n.n(Ji);function ta(e){const t=Object(i.useRef)(),n=Object(f.useSelect)(t=>{const{isBlockSelected:n,getBlockSelectionEnd:o}=t(An);return n(e)||o()===e},[e]);return Object(i.useEffect)(()=>{if(!n)return;const e=t.current;if(!e)return;if(e.contains(e.ownerDocument.activeElement))return;const o=Object(ui.getScrollContainer)(e)||e.ownerDocument.defaultView;o&&ea()(e,o,{onlyScrollIfNeeded:!0})},[n]),t}function na(e,t){Array.from(e.closest(".is-root-container").querySelectorAll(".rich-text")).forEach(e=>{t?e.setAttribute("contenteditable",!0):e.removeAttribute("contenteditable")})}function oa(e){const{startMultiSelect:t,stopMultiSelect:n,multiSelect:o,selectBlock:r}=Object(f.useDispatch)(An),{isSelectionEnabled:c,isBlockSelected:l,getBlockParents:i,getBlockSelectionStart:a,hasMultiSelection:s}=Object(f.useSelect)(An);return Object(d.useRefEffect)(u=>{const{ownerDocument:d}=u,{defaultView:b}=d;let m,p;function f({isSelectionEnd:t}){const n=b.getSelection();if(!n.rangeCount||n.isCollapsed)return void na(u,!0);const c=function(e){for(;e&&e.nodeType!==e.ELEMENT_NODE;)e=e.parentNode;if(!e)return;const t=e.closest(".wp-block");return t?t.id.slice("block-".length):void 0}(n.focusNode);if(e===c){if(r(e),t&&(na(u,!0),n.rangeCount)){const{commonAncestorContainer:e}=n.getRangeAt(0);m.contains(e)&&m.focus()}}else{const t=[...i(e),e],n=[...i(c),c],r=Math.min(t.length,n.length)-1;o(t[r],n[r])}}function g(){d.removeEventListener("selectionchange",f),b.removeEventListener("mouseup",g),p=b.requestAnimationFrame(()=>{f({isSelectionEnd:!0}),n()})}function h({buttons:n}){1===n&&c()&&l(e)&&(m=d.activeElement,t(),d.addEventListener("selectionchange",f),b.addEventListener("mouseup",g),na(u,!1))}function O(t){if(c()&&0===t.button)if(t.shiftKey){const n=a();n!==e&&(na(u,!1),o(n,e),t.preventDefault())}else s()&&r(e)}return u.addEventListener("mousedown",O),u.addEventListener("mouseleave",h),()=>{u.removeEventListener("mousedown",O),u.removeEventListener("mouseleave",h),d.removeEventListener("selectionchange",f),b.removeEventListener("mouseup",g),b.cancelAnimationFrame(p)}},[e,t,n,o,r,c,l,i])}var ra=n("rmEH"),ca=n("Q4Sy");const la=[Object(i.createInterpolateElement)(Object(j.__)("While writing, you can press <kbd>/</kbd> to quickly insert new blocks."),{kbd:Object(i.createElement)("kbd",null)}),Object(i.createInterpolateElement)(Object(j.__)("Indent a list by pressing <kbd>space</kbd> at the beginning of a line."),{kbd:Object(i.createElement)("kbd",null)}),Object(i.createInterpolateElement)(Object(j.__)("Outdent a list by pressing <kbd>backspace</kbd> at the beginning of a line."),{kbd:Object(i.createElement)("kbd",null)}),Object(j.__)("Drag files into the editor to automatically insert media blocks."),Object(j.__)("Change a block's type by pressing the block icon on the toolbar.")];var ia=function(){const[e]=Object(i.useState)(Math.floor(Math.random()*la.length));return Object(i.createElement)(p.Tip,null,la[e])},aa=n("bWcr"),sa=n("cGtP");var ua=function e({className:t,onChange:n,value:o,label:r,placeholder:c}){const l=Object(d.useInstanceId)(e),a=Object(i.useRef)();return Object(i.createElement)("div",{className:s()("block-editor-inserter__search",t)},Object(i.createElement)(p.VisuallyHidden,{as:"label",htmlFor:"block-editor-inserter__search-"+l},r||c),Object(i.createElement)("input",{ref:a,className:"block-editor-inserter__search-input",id:"block-editor-inserter__search-"+l,type:"search",placeholder:c,onChange:e=>n(e.target.value),autoComplete:"off",value:o||""}),Object(i.createElement)("div",{className:"block-editor-inserter__search-icon"},!!o&&Object(i.createElement)(p.Button,{icon:aa.a,label:Object(j.__)("Reset search"),onClick:()=>{n(""),a.current.focus()}}),!o&&Object(i.createElement)(qc.a,{icon:sa.a})))};var da=function({title:e,icon:t,description:n,blockType:o}){return o&&(Bt()("`blockType` property in `BlockCard component`",{since:"5.7",alternative:"`title, icon and description` properties"}),({title:e,icon:t,description:n}=o)),Object(i.createElement)("div",{className:"block-editor-block-card"},Object(i.createElement)(Vl,{icon:t,showColors:!0}),Object(i.createElement)("div",{className:"block-editor-block-card__content"},Object(i.createElement)("h2",{className:"block-editor-block-card__title"},e),Object(i.createElement)("span",{className:"block-editor-block-card__description"},n)))};function ba({clientId:e=null,value:t,selection:n,onChange:o=u.noop,onInput:r=u.noop}){const c=Object(f.useRegistry)(),{resetBlocks:l,resetSelection:a,replaceInnerBlocks:s,setHasControlledInnerBlocks:d,__unstableMarkNextChangeAsNotPersistent:b}=c.dispatch(An),{getBlockName:p,getBlocks:g}=c.select(An),h=Object(i.useRef)({incoming:null,outgoing:[]}),O=Object(i.useRef)(!1),j=Object(i.useRef)(r),v=Object(i.useRef)(o);Object(i.useEffect)(()=>{j.current=r,v.current=o},[r,o]),Object(i.useEffect)(()=>{h.current.outgoing.includes(t)?Object(u.last)(h.current.outgoing)===t&&(h.current.outgoing=[]):g(e)!==t&&(h.current.outgoing=[],(()=>{if(t)if(b(),e){d(e,!0),b();const n=t.map(e=>Object(m.cloneBlock)(e));O.current&&(h.current.incoming=n),s(e,n)}else O.current&&(h.current.incoming=t),l(t)})(),n&&a(n.selectionStart,n.selectionEnd,n.initialPosition))},[t,e]),Object(i.useEffect)(()=>{const{getSelectionStart:t,getSelectionEnd:n,getSelectedBlocksInitialCaretPosition:o,isLastBlockChangePersistent:r,__unstableIsLastBlockChangeIgnored:l}=c.select(An);let i=g(e),a=r(),s=!1;O.current=!0;const u=c.subscribe(()=>{if(null!==e&&null===p(e))return;const c=r(),u=g(e),d=u!==i;if(i=u,d&&(h.current.incoming||l()))return h.current.incoming=null,void(a=c);if(d||s&&!d&&c&&!a){a=c,h.current.outgoing.push(i);(a?v.current:j.current)(i,{selection:{selectionStart:t(),selectionEnd:n(),initialPosition:o()}})}s=d});return()=>u()},[c,e])}var ma=Object(d.createHigherOrderComponent)(e=>Object(f.withRegistry)(({useSubRegistry:t=!0,registry:n,...o})=>{if(!t)return Object(i.createElement)(e,Object(l.a)({registry:n},o));const[r,c]=Object(i.useState)(null);return Object(i.useEffect)(()=>{const e=Object(f.createRegistry)({},n);e.registerStore(xt,Rn),c(e)},[n]),r?Object(i.createElement)(f.RegistryProvider,{value:r},Object(i.createElement)(e,Object(l.a)({registry:r},o))):null}),"withRegistryProvider")((function(e){const{children:t,settings:n}=e,{updateSettings:o}=Object(f.useDispatch)(An);return Object(i.useEffect)(()=>{o(n)},[n]),ba(e),Object(i.createElement)(jr,null,t)}));function pa({onClick:e}){return Object(i.createElement)("div",{tabIndex:0,role:"button",onClick:e,onKeyPress:e},Object(i.createElement)(p.Disabled,null,Object(i.createElement)(yu,null)))}let fa;var ga=function({viewportWidth:e,__experimentalPadding:t}){const[n,{width:o}]=Object(d.useResizeObserver)(),[r,{height:c}]=Object(d.useResizeObserver)();fa=fa||Object(d.pure)(yu);const l=(o-2*t)/e;return Object(i.createElement)("div",{className:"block-editor-block-preview__container editor-styles-wrapper","aria-hidden":!0,style:{height:c*l+2*t}},n,Object(i.createElement)(p.Disabled,{style:{transform:`scale(${l})`,width:e,left:t,right:t,top:t},className:"block-editor-block-preview__content"},r,Object(i.createElement)(fa,null)))};var ha=Object(i.memo)((function({blocks:e,__experimentalPadding:t=0,viewportWidth:n=1200,__experimentalLive:o=!1,__experimentalOnClick:r}){const c=Object(f.useSelect)(e=>e(An).getSettings(),[]),l=Object(i.useMemo)(()=>{const e={...c};return e.__experimentalBlockPatterns=[],e},[c]),a=Object(i.useMemo)(()=>Object(u.castArray)(e),[e]);return e&&0!==e.length?Object(i.createElement)(ma,{value:a,settings:l},o?Object(i.createElement)(pa,{onClick:r}):Object(i.createElement)(ga,{viewportWidth:n,__experimentalPadding:t})):null}));var Oa=function({item:e}){var t,n;const{name:o,title:r,icon:c,description:l,initialAttributes:a}=e,s=Object(m.getBlockType)(o),u=Object(m.isReusableBlock)(e);return Object(i.createElement)("div",{className:"block-editor-inserter__preview-container"},Object(i.createElement)("div",{className:"block-editor-inserter__preview"},u||s.example?Object(i.createElement)("div",{className:"block-editor-inserter__preview-content"},Object(i.createElement)(ha,{__experimentalPadding:16,viewportWidth:null!==(t=null===(n=s.example)||void 0===n?void 0:n.viewportWidth)&&void 0!==t?t:500,blocks:s.example?Object(m.getBlockFromExample)(e.name,{attributes:{...s.example.attributes,...a},innerBlocks:s.example.innerBlocks}):Object(m.createBlock)(o,a)})):Object(i.createElement)("div",{className:"block-editor-inserter__preview-content-missing"},Object(j.__)("No Preview Available."))),!u&&Object(i.createElement)(da,{title:r,icon:c,description:l}))};var ja=Object(i.createContext)();var va=Object(i.forwardRef)((function({isFirst:e,as:t,children:n,...o},r){const c=Object(i.useContext)(ja);return Object(i.createElement)(p.__unstableCompositeItem,Object(l.a)({ref:r,state:c,role:"option",focusable:!0},o),o=>{const r={...o,tabIndex:e?0:o.tabIndex};return t?Object(i.createElement)(t,r,n):"function"==typeof n?n(r):Object(i.createElement)(p.Button,r,n)})}));var ka=Object(i.createElement)(Un.SVG,{width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},Object(i.createElement)(Un.Path,{d:"M5 4h2V2H5v2zm6-2v2h2V2h-2zm-6 8h2V8H5v2zm6 0h2V8h-2v2zm-6 6h2v-2H5v2zm6 0h2v-2h-2v2z"}));function _a({count:e,icon:t}){return Object(i.createElement)("div",{className:"block-editor-block-draggable-chip-wrapper"},Object(i.createElement)("div",{className:"block-editor-block-draggable-chip"},Object(i.createElement)(p.Flex,{justify:"center",className:"block-editor-block-draggable-chip__content"},Object(i.createElement)(p.FlexItem,null,t?Object(i.createElement)(Vl,{icon:t}):Object(j.sprintf)(Object(j._n)("%d block","%d blocks",e),e)),Object(i.createElement)(p.FlexItem,null,Object(i.createElement)(Vl,{icon:ka})))))}var ya=({isEnabled:e,blocks:t,icon:n,children:o})=>{const r={type:"inserter",blocks:t};return Object(i.createElement)(p.Draggable,{__experimentalTransferDataType:"wp-blocks",transferData:r,__experimentalDragComponent:Object(i.createElement)(_a,{count:t.length,icon:n})},({onDraggableStart:t,onDraggableEnd:n})=>o({draggable:e,onDragStart:e?t:void 0,onDragEnd:e?n:void 0}))};function Ea(e=window){const{platform:t}=e.navigator;return-1!==t.indexOf("Mac")||["iPad","iPhone"].includes(t)}var Ca=Object(i.memo)((function({className:e,isFirst:t,item:n,onSelect:o,onHover:r,isDraggable:c,...a}){const u=Object(i.useRef)(!1),d=n.icon?{backgroundColor:n.icon.background,color:n.icon.foreground}:{},b=Object(i.useMemo)(()=>[Object(m.createBlock)(n.name,n.initialAttributes,Object(m.createBlocksFromInnerBlocksTemplate)(n.innerBlocks))],[n.name,n.initialAttributes,n.initialAttributes]);return Object(i.createElement)(ya,{isEnabled:c&&!n.disabled,blocks:b,icon:n.icon},({draggable:c,onDragStart:b,onDragEnd:m})=>Object(i.createElement)("div",{className:"block-editor-block-types-list__list-item",draggable:c,onDragStart:e=>{u.current=!0,b&&(r(null),b(e))},onDragEnd:e=>{u.current=!1,m&&m(e)}},Object(i.createElement)(va,Object(l.a)({isFirst:t,className:s()("block-editor-block-types-list__item",e),disabled:n.isDisabled,onClick:e=>{e.preventDefault(),o(n,Ea()?e.metaKey:e.ctrlKey),r(null)},onKeyDown:e=>{const{keyCode:t}=e;t===cc.ENTER&&(e.preventDefault(),o(n,Ea()?e.metaKey:e.ctrlKey),r(null))},onFocus:()=>{u.current||r(n)},onMouseEnter:()=>{u.current||r(n)},onMouseLeave:()=>r(null),onBlur:()=>r(null)},a),Object(i.createElement)("span",{className:"block-editor-block-types-list__item-icon",style:d},Object(i.createElement)(Vl,{icon:n.icon,showColors:!0})),Object(i.createElement)("span",{className:"block-editor-block-types-list__item-title"},n.title))))}));var Sa=Object(i.forwardRef)((function(e,t){const[n,o]=Object(i.useState)(!1);return Object(i.useEffect)(()=>{n&&Object(St.speak)(Object(j.__)("Use left and right arrow keys to move through blocks"))},[n]),Object(i.createElement)("div",Object(l.a)({ref:t,role:"listbox","aria-orientation":"horizontal",onFocus:()=>{o(!0)},onBlur:e=>{!e.currentTarget.contains(e.relatedTarget)&&o(!1)}},e))}));var wa=Object(i.forwardRef)((function(e,t){const n=Object(i.useContext)(ja);return Object(i.createElement)(p.__unstableCompositeGroup,Object(l.a)({state:n,role:"presentation",ref:t},e))}));var Ba=function({items:e=[],onSelect:t,onHover:n=(()=>{}),children:o,label:r,isDraggable:c=!0}){return Object(i.createElement)(Sa,{className:"block-editor-block-types-list","aria-label":r},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}(e,3).map((e,o)=>Object(i.createElement)(wa,{key:o},e.map((e,r)=>Object(i.createElement)(Ca,{key:e.id,item:e,className:Object(m.getBlockMenuDefaultClassName)(e.id),onSelect:t,onHover:n,isDraggable:c,isFirst:0===o&&0===r})))),o)};var Ia=function({title:e,icon:t,children:n}){return Object(i.createElement)(i.Fragment,null,Object(i.createElement)("div",{className:"block-editor-inserter__panel-header"},Object(i.createElement)("h2",{className:"block-editor-inserter__panel-title"},e),Object(i.createElement)(p.Icon,{icon:t})),Object(i.createElement)("div",{className:"block-editor-inserter__panel-content"},n))};var xa=function({children:e}){const t=Object(p.__unstableUseCompositeState)({shift:!0,wrap:"horizontal"});return Object(i.createElement)(ja.Provider,{value:t},e)};var Ta=function({rootClientId:e,onInsert:t,onHover:n,showMostUsedBlocks:o}){const[r,c,l,a]=Dl(e,t),s=Object(i.useMemo)(()=>Object(u.orderBy)(r,["frecency"],["desc"]).slice(0,6),[r]),d=Object(i.useMemo)(()=>r.filter(e=>!e.category),[r]),b=Object(i.useMemo)(()=>Object(u.flow)(e=>e.filter(e=>e.category&&"reusable"!==e.category),e=>Object(u.groupBy)(e,"category"))(r),[r]),m=Object(i.useMemo)(()=>{const e={...l};return Object.keys(l).forEach(t=>{e[t]=r.filter(e=>(e=>e.name.split("/")[0])(e)===t),0===e[t].length&&delete e[t]}),e},[r,l]);return Object(i.useEffect)(()=>()=>n(null),[]),Object(i.createElement)(xa,null,Object(i.createElement)("div",null,o&&!!s.length&&Object(i.createElement)(Ia,{title:Object(j._x)("Most used","blocks")},Object(i.createElement)(Ba,{items:s,onSelect:a,onHover:n,label:Object(j._x)("Most used","blocks")})),Object(u.map)(c,e=>{const t=b[e.slug];return t&&t.length?Object(i.createElement)(Ia,{key:e.slug,title:e.title,icon:e.icon},Object(i.createElement)(Ba,{items:t,onSelect:a,onHover:n,label:e.title})):null}),d.length>0&&Object(i.createElement)(Ia,{className:"block-editor-inserter__uncategorized-blocks-panel",title:Object(j.__)("Uncategorized")},Object(i.createElement)(Ba,{items:d,onSelect:a,onHover:n,label:Object(j.__)("Uncategorized")})),Object(u.map)(l,(e,t)=>{const o=m[t];return o&&o.length?Object(i.createElement)(Ia,{key:t,title:e.title,icon:e.icon},Object(i.createElement)(Ba,{items:o,onSelect:a,onHover:n,label:e.title})):null})))};var Na=function({selectedCategory:e,patternCategories:t,onClickCategory:n,children:o}){return Object(i.createElement)(i.Fragment,null,Object(i.createElement)("div",{className:s()("block-editor-inserter__panel-header","block-editor-inserter__panel-header-patterns")},Object(i.createElement)(p.SelectControl,{className:"block-editor-inserter__panel-dropdown",label:Object(j.__)("Filter patterns"),hideLabelFromVision:!0,value:e.name,onChange:e=>{n(t.find(t=>e===t.name))},onBlur:e=>{null!=e&&e.relatedTarget||e.stopPropagation()},options:(()=>{const e=[];return t.map(t=>e.push({value:t.name,label:t.label})),e})()})),Object(i.createElement)("div",{className:"block-editor-inserter__panel-content"},o))},Pa=n("onLe");var La=(e,t)=>{const{patternCategories:n,patterns:o}=Object(f.useSelect)(e=>{const{__experimentalGetAllowedPatterns:n,getSettings:o}=e(An);return{patterns:n(t),patternCategories:o().__experimentalBlockPatternCategories}},[t]),{createSuccessNotice:r}=Object(f.useDispatch)(Pa.store);return[o,n,Object(i.useCallback)((t,n)=>{e(Object(u.map)(n,e=>Object(m.cloneBlock)(e)),t.name),r(Object(j.sprintf)(Object(j.__)('Block pattern "%s" inserted.'),t.title),{type:"snackbar"})},[])]};function Ra({isDraggable:e,pattern:t,onClick:n,composite:o}){const{name:r,viewportWidth:c}=t,{blocks:a}=Object(f.useSelect)(e=>e(An).__experimentalGetParsedPattern(r),[r]),s="block-editor-block-patterns-list__item-description-"+Object(d.useInstanceId)(Ra);return Object(i.createElement)(ya,{isEnabled:e,blocks:a},({draggable:e,onDragStart:r,onDragEnd:u})=>Object(i.createElement)("div",{className:"block-editor-block-patterns-list__list-item","aria-label":t.title,"aria-describedby":t.description?s:void 0,draggable:e,onDragStart:r,onDragEnd:u},Object(i.createElement)(p.__unstableCompositeItem,Object(l.a)({role:"option",as:"div"},o,{className:"block-editor-block-patterns-list__item",onClick:()=>n(t,a)}),Object(i.createElement)(ha,{blocks:a,viewportWidth:c}),Object(i.createElement)("div",{className:"block-editor-block-patterns-list__item-title"},t.title),!!t.description&&Object(i.createElement)(p.VisuallyHidden,{id:s},t.description))))}function Aa(){return Object(i.createElement)("div",{className:"block-editor-block-patterns-list__item is-placeholder"})}var Ma=function({isDraggable:e,blockPatterns:t,shownPatterns:n,onClickPattern:o,orientation:r,label:c=Object(j.__)("Block Patterns")}){const a=Object(p.__unstableUseCompositeState)({orientation:r});return Object(i.createElement)(p.__unstableComposite,Object(l.a)({},a,{role:"listbox",className:"block-editor-block-patterns-list","aria-label":c}),t.map(t=>n.includes(t)?Object(i.createElement)(Ra,{key:t.name,pattern:t,onClick:o,isDraggable:e,composite:a}):Object(i.createElement)(Aa,{key:t.name})))};function Da({rootClientId:e,onInsert:t,selectedCategory:n,onClickCategory:o}){const[r,c,l]=La(t,e),a=Object(i.useMemo)(()=>c.filter(e=>r.some(t=>{var n;return null===(n=t.categories)||void 0===n?void 0:n.includes(e.name)})),[r,c]),s=n||a[0];Object(i.useEffect)(()=>{r.some(e=>b(e)===1/0)&&!a.find(e=>"uncategorized"===e.name)&&a.push({name:"uncategorized",label:Object(j._x)("Uncategorized")})},[a,r]);const b=Object(i.useCallback)(e=>{if(!e.categories||!e.categories.length)return 1/0;const t=Object(u.fromPairs)(a.map(({name:e},t)=>[e,t]));return Math.min(...e.categories.map(e=>void 0!==t[e]?t[e]:1/0))},[a]),m=Object(i.useMemo)(()=>r.filter(e=>"uncategorized"===s.name?b(e)===1/0:e.categories&&e.categories.includes(s.name)),[r,s]),p=Object(i.useMemo)(()=>m.sort((e,t)=>b(e)-b(t)),[m,b]),f=Object(d.useAsyncList)(p);return Object(i.createElement)(i.Fragment,null,!!m.length&&Object(i.createElement)(Na,{selectedCategory:s,patternCategories:a,onClickCategory:o},Object(i.createElement)(Ma,{shownPatterns:f,blockPatterns:m,onClickPattern:l,label:s.label,orientation:"vertical",isDraggable:!0})))}var Fa=function({rootClientId:e,onInsert:t,onClickCategory:n,selectedCategory:o}){return Object(i.createElement)(Da,{rootClientId:e,selectedCategory:o,onInsert:t,onClickCategory:n})},Va=n("Mmq9");var Ha=function(){return Object(i.createElement)("div",{className:"block-editor-inserter__no-results"},Object(i.createElement)(qc.a,{className:"block-editor-inserter__no-results-icon",icon:Fl.a}),Object(i.createElement)("p",null,Object(j.__)("No results found.")))};function za({onHover:e,onInsert:t,rootClientId:n}){const[o,,,r]=Dl(n,t),c=Object(i.useMemo)(()=>o.filter(({category:e})=>"reusable"===e),[o]);return 0===c.length?Object(i.createElement)(Ha,null):Object(i.createElement)(Ia,{title:Object(j.__)("Reusable blocks")},Object(i.createElement)(Ba,{items:c,onSelect:r,onHover:e,label:Object(j.__)("Reusable blocks")}))}var Ga=function({rootClientId:e,onInsert:t,onHover:n}){return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(za,{onHover:n,onInsert:t,rootClientId:e}),Object(i.createElement)("div",{className:"block-editor-inserter__manage-reusable-blocks-container"},Object(i.createElement)("a",{className:"block-editor-inserter__manage-reusable-blocks",href:Object(Va.addQueryArgs)("edit.php",{post_type:"wp_block"})},Object(j.__)("Manage Reusable blocks"))))};const{Fill:Ua,Slot:Wa}=Object(p.createSlotFill)("__unstableInserterMenuExtension");Ua.Slot=Wa;var Ka=Ua;var qa=function({rootClientId:e="",insertionIndex:t,clientId:n,isAppender:o,onSelect:r,shouldFocusBlock:c=!0}){const{getSelectedBlock:l}=Object(f.useSelect)(An),{destinationRootClientId:a,destinationIndex:s}=Object(f.useSelect)(r=>{const{getSelectedBlockClientId:c,getBlockRootClientId:l,getBlockIndex:i,getBlockOrder:a}=r(An),s=c();let u,d=e;return t?u=t:n?u=i(n,d):!o&&s?(d=l(s),u=i(s,d)+1):u=a(d).length,{destinationRootClientId:d,destinationIndex:u}},[e,t,n,o]),{replaceBlocks:d,insertBlocks:b,showInsertionPoint:p,hideInsertionPoint:g}=Object(f.useDispatch)(An),h=Object(i.useCallback)((e,t,n=!1)=>{const i=l();!o&&i&&Object(m.isUnmodifiedDefaultBlock)(i)?d(i.clientId,e,null,c||n?0:null,t):b(e,s,a,!0,c||n?0:null,t);const p=Object(j.sprintf)(Object(j._n)("%d block added.","%d blocks added.",Object(u.castArray)(e).length),Object(u.castArray)(e).length);Object(St.speak)(p),r&&r()},[o,l,d,b,a,s,r,c]),O=Object(i.useCallback)(e=>{e?p(a,s):g()},[p,g,a,s]);return[a,h,O]};var $a=function({filterValue:e,onSelect:t,onHover:n,rootClientId:o,clientId:r,isAppender:c,__experimentalInsertionIndex:l,maxBlockPatterns:a,maxBlockTypes:s,showBlockDirectory:b=!1,isDraggable:m=!0,shouldFocusBlock:f=!0}){const g=Object(d.useDebounce)(St.speak,500),[h,O]=qa({onSelect:t,rootClientId:o,clientId:r,isAppender:c,insertionIndex:l,shouldFocusBlock:f}),[v,k,_,y]=Dl(h,O),[E,,C]=La(O,h),S=Object(i.useMemo)(()=>{const t=Rl(Object(u.orderBy)(v,["frecency"],["desc"]),k,_,e);return void 0!==s?t.slice(0,s):t},[e,v,k,_,s]),w=Object(i.useMemo)(()=>{const t=Al(E,e);return void 0!==a?t.slice(0,a):t},[e,E,a]);Object(i.useEffect)(()=>{if(!e)return;const t=S.length+w.length,n=Object(j.sprintf)(Object(j._n)("%d result found.","%d results found.",t),t);g(n)},[e,g]);const B=Object(d.useAsyncList)(w),I=!Object(u.isEmpty)(S)||!Object(u.isEmpty)(w);return Object(i.createElement)(xa,null,!b&&!I&&Object(i.createElement)(Ha,null),!!S.length&&Object(i.createElement)(Ia,{title:Object(i.createElement)(p.VisuallyHidden,null,Object(j.__)("Blocks"))},Object(i.createElement)(Ba,{items:S,onSelect:y,onHover:n,label:Object(j.__)("Blocks"),isDraggable:m})),!!S.length&&!!w.length&&Object(i.createElement)("div",{className:"block-editor-inserter__quick-inserter-separator"}),!!w.length&&Object(i.createElement)(Ia,{title:Object(i.createElement)(p.VisuallyHidden,null,Object(j.__)("Block Patterns"))},Object(i.createElement)("div",{className:"block-editor-inserter__quick-inserter-patterns"},Object(i.createElement)(Ma,{shownPatterns:B,blockPatterns:w,onClickPattern:C,isDraggable:m}))),b&&Object(i.createElement)(Ka.Slot,{fillProps:{onSelect:y,onHover:n,filterValue:e,hasItems:I,rootClientId:h}},e=>e.length?e:I?null:Object(i.createElement)(Ha,null)))};const Ya={name:"blocks",title:Object(j.__)("Blocks")},Xa={name:"patterns",title:Object(j.__)("Patterns")},Qa={name:"reusable",title:Object(j.__)("Reusable")};var Za=function({children:e,showPatterns:t=!1,showReusableBlocks:n=!1,onSelect:o}){const r=Object(i.useMemo)(()=>{const e=[Ya];return t&&e.push(Xa),n&&e.push(Qa),e},[Ya,t,Xa,n,Qa]);return Object(i.createElement)(p.TabPanel,{className:"block-editor-inserter__tabs",tabs:r,onSelect:o},e)};var Ja=function({rootClientId:e,clientId:t,isAppender:n,__experimentalInsertionIndex:o,onSelect:r,showInserterHelpPanel:c,showMostUsedBlocks:l,shouldFocusBlock:a=!0}){const[s,u]=Object(i.useState)(""),[d,b]=Object(i.useState)(null),[m,g]=Object(i.useState)(null),[h,O,v]=qa({rootClientId:e,clientId:t,isAppender:n,insertionIndex:o,shouldFocusBlock:a}),{showPatterns:k,hasReusableBlocks:_}=Object(f.useSelect)(e=>{var t;const{__experimentalGetAllowedPatterns:n,getSettings:o}=e(An);return{showPatterns:!!n(h).length,hasReusableBlocks:!(null===(t=o().__experimentalReusableBlocks)||void 0===t||!t.length)}},[h]),y=Object(i.useCallback)((e,t,n)=>{O(e,t,n),r()},[O,r]),E=Object(i.useCallback)((e,t)=>{O(e,{patternName:t}),r()},[O,r]),C=Object(i.useCallback)(e=>{v(!!e),b(e)},[v,b]),S=Object(i.useCallback)(e=>{g(e)},[g]),w=Object(i.useMemo)(()=>Object(i.createElement)(i.Fragment,null,Object(i.createElement)("div",{className:"block-editor-inserter__block-list"},Object(i.createElement)(Ta,{rootClientId:h,onInsert:y,onHover:C,showMostUsedBlocks:l})),c&&Object(i.createElement)("div",{className:"block-editor-inserter__tips"},Object(i.createElement)(p.VisuallyHidden,{as:"h2"},Object(j.__)("A tip for using the block editor")),Object(i.createElement)(ia,null))),[h,y,C,s,l,c]),B=Object(i.useMemo)(()=>Object(i.createElement)(Fa,{rootClientId:h,onInsert:E,onClickCategory:S,selectedCategory:m}),[h,E,S,m]),I=Object(i.useMemo)(()=>Object(i.createElement)(Ga,{rootClientId:h,onInsert:y,onHover:C}),[h,y,C]),x=Object(i.useCallback)(e=>"blocks"===e.name?w:"patterns"===e.name?B:I,[w,B,I]);return Object(i.createElement)("div",{className:"block-editor-inserter__menu"},Object(i.createElement)("div",{className:"block-editor-inserter__main-area"},Object(i.createElement)("div",{className:"block-editor-inserter__content"},Object(i.createElement)(ua,{onChange:e=>{d&&b(null),u(e)},value:s,label:Object(j.__)("Search for blocks and patterns"),placeholder:Object(j.__)("Search")}),!!s&&Object(i.createElement)($a,{filterValue:s,onSelect:r,onHover:C,rootClientId:e,clientId:t,isAppender:n,__experimentalInsertionIndex:o,showBlockDirectory:!0,shouldFocusBlock:a}),!s&&(k||_)&&Object(i.createElement)(Za,{showPatterns:k,showReusableBlocks:_},x),!s&&!k&&!_&&w)),c&&d&&Object(i.createElement)(Oa,{item:d}))};function es({onSelect:e,rootClientId:t,clientId:n,isAppender:o}){const[r,c]=Object(i.useState)(""),[l,a]=qa({onSelect:e,rootClientId:t,clientId:n,isAppender:o}),[u]=Dl(l,a),[d]=La(a,l),b=d.length&&!!r,m=b&&d.length>6||u.length>6,{setInserterIsOpened:g,insertionIndex:h}=Object(f.useSelect)(e=>{const{getSettings:o,getBlockIndex:r,getBlockCount:c}=e(An),l=r(n,t);return{setInserterIsOpened:o().__experimentalSetIsInserterOpened,insertionIndex:-1===l?c():l}},[n,t]);Object(i.useEffect)(()=>{g&&g(!1)},[g]);return Object(i.createElement)("div",{className:s()("block-editor-inserter__quick-inserter",{"has-search":m,"has-expand":g})},m&&Object(i.createElement)(ua,{value:r,onChange:e=>{c(e)},label:Object(j.__)("Search for blocks and patterns"),placeholder:Object(j.__)("Search")}),Object(i.createElement)("div",{className:"block-editor-inserter__quick-inserter-results"},Object(i.createElement)($a,{filterValue:r,onSelect:e,rootClientId:t,clientId:n,isAppender:o,maxBlockPatterns:b?2:0,maxBlockTypes:6,isDraggable:!1})),g&&Object(i.createElement)(p.Button,{className:"block-editor-inserter__quick-inserter-expand",onClick:()=>{g({rootClientId:t,insertionIndex:h})},"aria-label":Object(j.__)("Browse all. This will open the main inserter panel in the editor toolbar.")},Object(j.__)("Browse all")))}const ts=({onToggle:e,disabled:t,isOpen:n,blockTitle:o,hasSingleBlockType:r,toggleProps:c={}})=>{let a;a=r?Object(j.sprintf)(Object(j._x)("Add %s","directly add the only allowed block"),o):Object(j._x)("Add block","Generic label for block inserter button");const{onClick:s,...u}=c;return Object(i.createElement)(p.Button,Object(l.a)({icon:ca.a,label:a,tooltipPosition:"bottom",onClick:function(t){e&&e(t),s&&s(t)},className:"block-editor-inserter__toggle","aria-haspopup":!r&&"true","aria-expanded":!r&&n,disabled:t},u))};class ns extends i.Component{constructor(){super(...arguments),this.onToggle=this.onToggle.bind(this),this.renderToggle=this.renderToggle.bind(this),this.renderContent=this.renderContent.bind(this)}onToggle(e){const{onToggle:t}=this.props;t&&t(e)}renderToggle({onToggle:e,isOpen:t}){const{disabled:n,blockTitle:o,hasSingleBlockType:r,toggleProps:c,hasItems:l,renderToggle:i=ts}=this.props;return i({onToggle:e,isOpen:t,disabled:n||!l,blockTitle:o,hasSingleBlockType:r,toggleProps:c})}renderContent({onClose:e}){const{rootClientId:t,clientId:n,isAppender:o,showInserterHelpPanel:r,__experimentalIsQuick:c}=this.props;return c?Object(i.createElement)(es,{onSelect:()=>{e()},rootClientId:t,clientId:n,isAppender:o}):Object(i.createElement)(Ja,{onSelect:()=>{e()},rootClientId:t,clientId:n,isAppender:o,showInserterHelpPanel:r})}render(){const{position:e,hasSingleBlockType:t,insertOnlyAllowedBlock:n,__experimentalIsQuick:o,onSelectOrClose:r}=this.props;return t?this.renderToggle({onToggle:n}):Object(i.createElement)(p.Dropdown,{className:"block-editor-inserter",contentClassName:s()("block-editor-inserter__popover",{"is-quick":o}),position:e,onToggle:this.onToggle,expandOnMobile:!0,headerTitle:Object(j.__)("Add a block"),renderToggle:this.renderToggle,renderContent:this.renderContent,onClose:r})}}var os=Object(d.compose)([Object(f.withSelect)((e,{clientId:t,rootClientId:n})=>{const{getBlockRootClientId:o,hasInserterItems:r,__experimentalGetAllowedBlocks:c}=e(An),{getBlockVariations:l}=e(m.store),i=c(n=n||o(t)||void 0),a=1===Object(u.size)(i)&&0===Object(u.size)(l(i[0].name,"inserter"));let s=!1;return a&&(s=i[0]),{hasItems:r(n),hasSingleBlockType:a,blockTitle:s?s.title:"",allowedBlockType:s,rootClientId:n}}),Object(f.withDispatch)((e,t,{select:n})=>({insertOnlyAllowedBlock(){const{rootClientId:o,clientId:r,isAppender:c,hasSingleBlockType:l,allowedBlockType:i,onSelectOrClose:a}=t;if(!l)return;const{insertBlock:s}=e(An);s(Object(m.createBlock)(i.name),function(){const{getBlockIndex:e,getBlockSelectionEnd:t,getBlockOrder:l,getBlockRootClientId:i}=n(An);if(r)return e(r,o);const a=t();return!c&&a&&i(a)===o?e(a,o)+1:l(o).length}(),o),a&&a();const u=Object(j.sprintf)(Object(j.__)("%s block added"),i.title);Object(St.speak)(u)}})),Object(d.ifCondition)(({hasItems:e,isAppender:t,rootClientId:n,clientId:o})=>e||!t&&!n&&!o)])(ns);var rs=Object(d.compose)(Object(f.withSelect)((e,t)=>{const{getBlockCount:n,getBlockName:o,isBlockValid:r,getSettings:c,getTemplateLock:l}=e(An),i=!n(t.rootClientId),a=o(t.lastBlockClientId)===Object(m.getDefaultBlockName)(),s=r(t.lastBlockClientId),{bodyPlaceholder:u}=c();return{isVisible:i||!a||!s,showPrompt:i,isLocked:!!l(t.rootClientId),placeholder:u}}),Object(f.withDispatch)((e,t)=>{const{insertDefaultBlock:n,startTyping:o}=e(An);return{onAppend(){const{rootClientId:e}=t;n(void 0,e),o()}}}))((function({isLocked:e,isVisible:t,onAppend:n,showPrompt:o,placeholder:r,rootClientId:c}){if(e||!t)return null;const l=Object(ra.decodeEntities)(r)||Object(j.__)("Type / to choose a block");return Object(i.createElement)("div",{"data-root-client-id":c||"",className:"block-editor-default-block-appender"},Object(i.createElement)("p",{tabIndex:"0",contentEditable:!0,suppressContentEditableWarning:!0,role:"button","aria-label":Object(j.__)("Add block"),className:"wp-block block-editor-default-block-appender__content",onFocus:n},o?l:"\ufeff"),Object(i.createElement)(os,{rootClientId:c,position:"bottom right",isAppender:!0,__experimentalIsQuick:!0}))}));var cs=Object(i.forwardRef)((function({rootClientId:e,className:t,onFocus:n,tabIndex:o},r){return Object(i.createElement)(os,{position:"bottom center",rootClientId:e,__experimentalIsQuick:!0,renderToggle:({onToggle:e,disabled:c,isOpen:l,blockTitle:a,hasSingleBlockType:u})=>{let d;d=u?Object(j.sprintf)(Object(j._x)("Add %s","directly add the only allowed block"),a):Object(j._x)("Add block","Generic label for block inserter button");const b=!u;let m=Object(i.createElement)(p.Button,{ref:r,onFocus:n,tabIndex:o,className:s()(t,"block-editor-button-block-appender"),onClick:e,"aria-haspopup":b?"true":void 0,"aria-expanded":b?l:void 0,disabled:c,label:d},!u&&Object(i.createElement)(p.VisuallyHidden,{as:"span"},d),Object(i.createElement)(qc.a,{icon:ca.a}));return(b||u)&&(m=Object(i.createElement)(p.Tooltip,{text:d},m)),m},isAppender:!0})}));Object(i.createContext)();function ls(e){e.stopPropagation()}var is=Object(f.withSelect)((e,{rootClientId:t})=>{const{getBlockOrder:n,canInsertBlockType:o,getTemplateLock:r,getSelectedBlockClientId:c}=e(An);return{isLocked:!!r(t),blockClientIds:n(t),canInsertDefaultBlock:o(Object(m.getDefaultBlockName)(),t),selectedBlockClientId:c()}})((function({blockClientIds:e,rootClientId:t,canInsertDefaultBlock:n,isLocked:o,renderAppender:r,className:c,selectedBlockClientId:l,tagName:a="div"}){if(o||!1===r)return null;let d;if(r)d=Object(i.createElement)(r,null);else{const o=!t,r=l===t,c=l&&!e.includes(l);if(!o&&!r&&(!l||c))return null;d=n?Object(i.createElement)(rs,{rootClientId:t,lastBlockClientId:Object(u.last)(e)}):Object(i.createElement)(cs,{rootClientId:t,className:"block-list-appender__toggle"})}return Object(i.createElement)(a,{tabIndex:-1,onFocus:ls,className:s()("block-list-appender","wp-block",c)},d)}));function as(e,t,n,o,r,c,l){return i=>{const{srcRootClientId:a,srcClientIds:s,type:u,blocks:d}=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}(i);if("inserter"===u&&(l(),c(d,t,e,!0,null)),"block"===u){const c=n(s[0],a);if(a===e&&c===t)return;if(s.includes(e)||o(s).some(t=>t===e))return;const l=a===e,i=s.length;r(s,a,e,l&&c<t?t-i:t)}}}function ss(e,t){const n=Object(f.useSelect)(e=>e(An).getSettings().mediaUpload,[]),{canInsertBlockType:o,getBlockIndex:r,getClientIdsOfDescendants:c}=Object(f.useSelect)(An),{insertBlocks:l,moveBlocksToPosition:i,updateBlockAttributes:a,clearSelectedBlock:s}=Object(f.useDispatch)(An),u=as(e,t,r,c,i,l,s),d=function(e,t,n,o,r,c){return l=>{if(!n)return;const i=Object(m.findTransform)(Object(m.getBlockTransforms)("from"),t=>"files"===t.type&&r(t.blockName,e)&&t.isMatch(l));if(i){const n=i.transform(l,o);c(n,t,e)}}}(e,t,n,a,o,l),b=function(e,t,n){return o=>{const r=Object(m.pasteHandler)({HTML:o,mode:"BLOCKS"});r.length&&n(r,t,e)}}(e,t,l);return e=>{const t=Object(ui.getFilesFromDataTransfer)(e.dataTransfer),n=e.dataTransfer.getData("text/html");t.length?d(t):n?b(n):u(e)}}function us(e,t,n=["top","bottom","left","right"]){let o,r;return n.forEach(n=>{const c=function(e,t,n){const o="top"===n||"bottom"===n,{x:r,y:c}=e,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)}(e,t,n);(void 0===o||c<o)&&(o=c,r=n)}),[o,r]}function ds({rootClientId:e=""}={}){const[t,n]=Object(i.useState)(null),{isLockedAll:o,orientation:r}=Object(f.useSelect)(t=>{var n;const{getBlockListSettings:o,getTemplateLock:r}=t(An);return{isLockedAll:"all"===r(e),orientation:null===(n=o(e))||void 0===n?void 0:n.orientation}},[e]),{showInsertionPoint:c,hideInsertionPoint:l}=Object(f.useDispatch)(An),a=ss(e,t),s=Object(d.useThrottle)(Object(i.useCallback)((t,o)=>{const l=function(e,t,n){const o="horizontal"===n?["left","right"]:["top","bottom"];let r,c;return e.forEach((n,l)=>{if(!n.classList.contains("wp-block"))return;const i=n.getBoundingClientRect(),[a,s]=us(t,i,o);if(void 0===c||a<c){const t="bottom"===s||"right"===s;let n=t?1:0;n+=t&&e[l+1]&&e[l+1].classList.contains("is-dragging")?1:0,c=a,r=l+n}}),r}(Array.from(o.children),{x:t.clientX,y:t.clientY},r);n(void 0===l?0:l),null!==l&&c(e,l)},[]),200);return Object(d.__experimentalUseDropZone)({isDisabled:o,onDrop:a,onDragOver(e){s(e,e.currentTarget)},onDragEnd(){s.cancel(),l(),n(null)}})}function bs(e){return Object(d.useRefEffect)(t=>{if(e)return t.addEventListener("wheel",n),()=>{t.removeEventListener("wheel",n)};function n(t){const{deltaX:n,deltaY:o}=t;e.current.scrollBy(n,o)}},[e])}const ms=Object(i.createContext)();function ps({__unstablePopoverSlot:e,__unstableContentRef:t}){const{selectBlock:n}=Object(f.useDispatch)(An),o=Object(i.useContext)(ms),r=Object(i.useRef)(),{orientation:c,isHidden:l,previousClientId:a,nextClientId:u,rootClientId:d,isInserterShown:b}=Object(f.useSelect)(e=>{var t;const{getBlockOrder:n,getBlockListSettings:o,getMultiSelectedBlockClientIds:r,getSelectedBlockClientId:c,hasMultiSelection:l,getSettings:i,getBlockInsertionPoint:a}=e(An),s=a(),u=n(s.rootClientId)[s.index-1],d=s.rootClientId,b=n(d);if(!b.length)return{};const m=u||b[b.length-1],p=m===b[b.length-1]?null:b[b.indexOf(m)+1],{hasReducedUI:f}=i(),g=r(),h=c(),O=(null===(t=o(d))||void 0===t?void 0:t.orientation)||"vertical";return{previousClientId:m,nextClientId:p,isHidden:f||(l()?p&&g.includes(p):p&&"vertical"===O&&p===h),orientation:O,clientId:u,rootClientId:d,isInserterShown:null==s?void 0:s.__unstableWithInserter}},[]),m=_r(a),g=_r(u),h=Object(i.useMemo)(()=>{if(!m)return{};const e=m.getBoundingClientRect(),t=g?g.getBoundingClientRect():null;if("vertical"===c)return{width:m.offsetWidth,height:t?t.top-e.bottom:0};let n=0;return g&&(n=Object(j.isRTL)()?e.left-t.right:t.left-e.right),{width:n,height:m.offsetHeight}},[m,g]),O=Object(i.useCallback)(()=>{const{ownerDocument:e}=m,t=m.getBoundingClientRect(),n=g?g.getBoundingClientRect():null;return"vertical"===c?Object(j.isRTL)()?{top:t.bottom,left:t.right,right:t.left,bottom:n?n.top:t.bottom,ownerDocument:e}:{top:t.bottom,left:t.left,right:t.right,bottom:n?n.top:t.bottom,ownerDocument:e}:Object(j.isRTL)()?{top:t.top,left:n?n.right:t.left,right:t.left,bottom:t.bottom,ownerDocument:e}:{top:t.top,left:t.right,right:n?n.left:t.right,bottom:t.bottom,ownerDocument:e}},[m,g]),v=bs(t);if(!m)return null;const k=s()("block-editor-block-list__insertion-point","is-"+c);const _=!l&&g&&b,y=_||!l;return Object(i.createElement)(p.Popover,{ref:v,noArrow:!0,animate:!1,getAnchorRect:O,focusOnMount:!1,className:"block-editor-block-list__insertion-point-popover",__unstableSlotName:e||null},Object(i.createElement)("div",{ref:r,tabIndex:-1,onClick:function(e){e.target===r.current&&u&&n(u,-1)},onFocus:function(e){e.target!==r.current&&(o.current=!0)},className:s()(k,{"is-with-inserter":_}),style:h},y&&Object(i.createElement)("div",{className:"block-editor-block-list__insertion-point-indicator"}),_&&Object(i.createElement)("div",{className:s()("block-editor-block-list__insertion-point-inserter")},Object(i.createElement)(os,{position:"bottom center",clientId:u,rootClientId:d,__experimentalIsQuick:!0,onToggle:e=>{o.current=e},onSelectOrClose:()=>{o.current=!1}}))))}function fs({children:e,__unstablePopoverSlot:t,__unstableContentRef:n}){const o=Object(f.useSelect)(e=>{const{isMultiSelecting:t,isBlockInsertionPointVisible:n}=e(An);return n()&&!t()},[]);return Object(i.createElement)(ms.Provider,{value:Object(i.useRef)(!1)},o&&Object(i.createElement)(ps,{__unstablePopoverSlot:t,__unstableContentRef:n}),e)}function gs(){const e=Object(i.useContext)(ms),{getBlockListSettings:t,getBlockRootClientId:n,getBlockIndex:o,isBlockInsertionPointVisible:r,isMultiSelecting:c}=Object(f.useSelect)(An),{showInsertionPoint:l,hideInsertionPoint:a}=Object(f.useDispatch)(An);return Object(d.useRefEffect)(n=>{function i(n){var i;if(e.current)return;if(c())return;if(!n.target.classList.contains("block-editor-block-list__layout"))return void(r()&&a());let s;if(!n.target.classList.contains("is-root-container")){s=(n.target.getAttribute("data-block")?n.target:n.target.closest("[data-block]")).getAttribute("data-block")}const u=(null===(i=t(s))||void 0===i?void 0:i.orientation)||"vertical",d=n.target.getBoundingClientRect(),b=n.clientY-d.top,m=n.clientX-d.left;let p=Array.from(n.target.children).find(e=>e.classList.contains("wp-block")&&"vertical"===u&&e.offsetTop>b||e.classList.contains("wp-block")&&"horizontal"===u&&e.offsetLeft>m);if(!p)return;if(!p.id&&(p=p.firstElementChild,!p))return;const f=p.id.slice("block-".length);if(!f)return;const g=p.getBoundingClientRect();if("horizontal"===u&&(n.clientY>g.bottom||n.clientY<g.top)||"vertical"===u&&(n.clientX>g.right||n.clientX<g.left))return void(r()&&a());const h=o(f,s);0!==h?l(s,h,{__unstableWithInserter:!0}):r()&&a()}return n.addEventListener("mousemove",i),()=>{n.removeEventListener("mousemove",i)}},[e,t,n,o,r,c,l,a])}const hs="undefined"==typeof window?e=>{setTimeout(()=>e(Date.now()),0)}:window.requestIdleCallback||window.requestAnimationFrame,Os="undefined"==typeof window?clearTimeout:window.cancelIdleCallback||window.cancelAnimationFrame;var js=n("hF7m");var vs=({children:e,clientIds:t,cloneClassname:n,onDragStart:o,onDragEnd:r,elementId:c})=>{const{srcRootClientId:l,isDraggable:a,icon:s}=Object(f.useSelect)(e=>{var n;const{getBlockRootClientId:o,getTemplateLock:r,getBlockName:c}=e(An),l=o(t[0]),i=l?r(l):null,a=c(t[0]);return{srcRootClientId:l,isDraggable:"all"!==i,icon:null===(n=Object(m.getBlockType)(a))||void 0===n?void 0:n.icon}},[t]),u=Object(i.useRef)(!1),[d,b,g]=function(){const e=Object(i.useRef)(null),t=Object(i.useRef)(null),n=Object(i.useRef)(null),o=Object(i.useRef)(null);return Object(i.useEffect)(()=>()=>{o.current&&(clearInterval(o.current),o.current=null)},[]),[Object(i.useCallback)(r=>{e.current=r.clientY,n.current=Object(ui.getScrollContainer)(r.target),o.current=setInterval(()=>{if(n.current&&t.current){const e=n.current.scrollTop+t.current;n.current.scroll({top:e})}},25)},[]),Object(i.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,o.current&&(clearInterval(o.current),o.current=null)}]}(),{startDraggingBlocks:h,stopDraggingBlocks:O}=Object(f.useDispatch)(An);if(Object(i.useEffect)(()=>()=>{u.current&&O()},[]),!a)return e({isDraggable:!1});const j={type:"block",srcClientIds:t,srcRootClientId:l};return Object(i.createElement)(p.Draggable,{cloneClassname:n,elementId:c,__experimentalTransferDataType:"wp-blocks",transferData:j,onDragStart:e=>{h(t),u.current=!0,d(e),o&&o()},onDragOver:b,onDragEnd:()=>{O(),u.current=!1,g(),r&&r()},__experimentalDragComponent:Object(i.createElement)(_a,{count:t.length,icon:s})},({onDraggableStart:t,onDraggableEnd:n})=>e({draggable:!0,onDragStart:t,onDragEnd:n}))};var ks=function({clientId:e,rootClientId:t,blockElement:n}){const o=$l(e),r=Object(f.useSelect)(n=>{var o;const{__unstableGetBlockWithoutInnerBlocks:r,getBlockIndex:c,hasBlockMovingClientId:l,getBlockListSettings:i}=n(An),a=c(e,t),{name:s,attributes:u}=r(e);return{index:a,name:s,attributes:u,blockMovingMode:l(),orientation:null===(o=i(t))||void 0===o?void 0:o.orientation}},[e,t]),{index:c,name:a,attributes:u,blockMovingMode:d,orientation:b}=r,{setNavigationMode:g,removeBlock:h}=Object(f.useDispatch)(An),O=Object(i.useRef)();Object(i.useEffect)(()=>{O.current.focus(),window.navigator.platform.indexOf("Win")>-1&&Object(St.speak)(P)},[]);const{hasBlockMovingClientId:v,getBlockIndex:k,getBlockRootClientId:_,getClientIdsOfDescendants:y,getSelectedBlockClientId:E,getMultiSelectedBlocksEndClientId:C,getPreviousBlockClientId:S,getNextBlockClientId:w}=Object(f.useSelect)(An),{selectBlock:B,clearSelectedBlock:I,setBlockMovingClientId:x,moveBlockToPosition:T}=Object(f.useDispatch)(An),N=Object(m.getBlockType)(a),P=Object(m.__experimentalGetAccessibleBlockLabel)(N,u,c+1,b),L=s()("block-editor-block-list__block-selection-button",{"is-block-moving-mode":!!d}),R=Object(j.__)("Drag");return Object(i.createElement)("div",{className:L},Object(i.createElement)(p.Flex,{justify:"center",className:"block-editor-block-list__block-selection-button__content"},Object(i.createElement)(p.FlexItem,null,Object(i.createElement)(Vl,{icon:null==o?void 0:o.icon,showColors:!0})),Object(i.createElement)(p.FlexItem,null,Object(i.createElement)(vs,{clientIds:[e]},e=>Object(i.createElement)(p.Button,Object(l.a)({icon:ka,className:"block-selection-button_drag-handle","aria-hidden":"true",label:R,tabIndex:"-1"},e)))),Object(i.createElement)(p.FlexItem,null,Object(i.createElement)(p.Button,{ref:O,onClick:()=>g(!1),onKeyDown:function(t){const{keyCode:o}=t,r=o===cc.UP,c=o===cc.DOWN,l=o===cc.LEFT,i=o===cc.RIGHT,a=o===cc.TAB,s=o===cc.ESCAPE,u=o===cc.ENTER,d=o===cc.SPACE,b=t.shiftKey;if(o===cc.BACKSPACE||o===cc.DELETE)return h(e),void t.preventDefault();const m=E(),p=C(),f=S(p||m),g=w(p||m),O=a&&b||r,j=a&&!b||c,N=l,P=i;let L;if(O)L=f;else if(j)L=g;else if(N){var R;L=null!==(R=_(m))&&void 0!==R?R:m}else if(P){var A;L=null!==(A=y([m])[0])&&void 0!==A?A:m}const M=v();if(s&&M&&x(null),(u||d)&&M){const e=_(M),t=_(m),n=k(M,e);let o=k(m,t);n<o&&e===t&&(o-=1),T(M,e,t,o),B(M),x(null)}if(j||O||N||P)if(L)t.preventDefault(),B(L);else if(a&&m){let e;j?(e=ui.focus.tabbable.findNext(n),e||(e=n.ownerDocument.defaultView.frameElement,e=ui.focus.tabbable.findNext(e))):e=ui.focus.tabbable.findPrevious(n),e&&(t.preventDefault(),e.focus(),I())}},label:P,className:"block-selection-button_select-button"},Object(i.createElement)(Yl,{clientId:e})))))};function _s(e){return Array.from(e.querySelectorAll("[data-toolbar-item]"))}function ys(e,t,n,o,r){const[c]=Object(i.useState)(t),[l]=Object(i.useState)(o),a=Object(i.useCallback)(()=>{!function(e){const[t]=ui.focus.tabbable.find(e);t&&t.focus()}(e.current)},[]);Object(js.useShortcut)("core/block-editor/focus-toolbar",a,{bindGlobal:!0,eventName:"keydown"}),Object(i.useEffect)(()=>{c&&a()},[n,c,a]),Object(i.useEffect)(()=>{let t=0;return l&&!c&&(t=window.requestAnimationFrame(()=>{const t=_s(e.current),n=l||0;var o;t[n]&&(o=e.current).contains(o.ownerDocument.activeElement)&&t[n].focus()})),()=>{if(window.cancelAnimationFrame(t),!r)return;const n=_s(e.current).findIndex(e=>0===e.tabIndex);r(n)}},[l,c])}var Es=function({children:e,focusOnMount:t,__experimentalInitialIndex:n,__experimentalOnIndexChange:o,...r}){const c=Object(i.useRef)(),a=function(e){const[t,n]=Object(i.useState)(!0),o=Object(i.useCallback)(()=>{const t=ui.focus.tabbable.find(e.current),o=!t.some(e=>!("toolbarItem"in e.dataset));o||Bt()("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(i.useLayoutEffect)(()=>{const t=new window.MutationObserver(o);return t.observe(e.current,{childList:!0,subtree:!0}),()=>t.disconnect()},[t]),t}(c);return ys(c,t,a,n,o),a?Object(i.createElement)(p.Toolbar,Object(l.a)({label:r["aria-label"],ref:c},r),e):Object(i.createElement)(p.NavigableMenu,Object(l.a)({orientation:"horizontal",role:"toolbar",ref:c},r),e)};var Cs=Object(f.withSelect)((e,{clientIds:t})=>{var n;const{getBlock:o,getBlockIndex:r,getBlockListSettings:c,getTemplateLock:l,getBlockOrder:i,getBlockRootClientId:a}=e(An),s=Object(u.castArray)(t),d=Object(u.first)(s),b=o(d),p=a(Object(u.first)(s)),f=r(d,p),g=0===f,h=r(Object(u.last)(s),p)===i(p).length-1;return{blockType:b?Object(m.getBlockType)(b.name):null,isLocked:"all"===l(p),rootClientId:p,firstIndex:f,isFirst:g,isLast:h,orientation:null===(n=c(p))||void 0===n?void 0:n.orientation}})((function({isFirst:e,isLast:t,clientIds:n,isLocked:o,isHidden:r,rootClientId:c,orientation:a,hideDragHandle:u}){const[d,b]=Object(i.useState)(!1),m=()=>b(!0),f=()=>b(!1);if(o||e&&t&&!c)return null;const g=Object(j.__)("Drag");return Object(i.createElement)("div",{className:s()("block-editor-block-mover",{"is-visible":d||!r,"is-horizontal":"horizontal"===a})},!u&&Object(i.createElement)(vs,{clientIds:n,cloneClassname:"block-editor-block-mover__drag-clone"},e=>Object(i.createElement)(p.Button,Object(l.a)({icon:ka,className:"block-editor-block-mover__drag-handle","aria-hidden":"true",label:g,tabIndex:"-1"},e))),Object(i.createElement)(p.ToolbarGroup,{className:"block-editor-block-mover__move-button-container"},Object(i.createElement)(p.ToolbarItem,{onFocus:m,onBlur:f},e=>Object(i.createElement)(Ei,Object(l.a)({clientIds:n},e))),Object(i.createElement)(p.ToolbarItem,{onFocus:m,onBlur:f},e=>Object(i.createElement)(Ci,Object(l.a)({clientIds:n},e)))))}));const{clearTimeout:Ss,setTimeout:ws}=window;function Bs({ref:e,isFocused:t,debounceTimeout:n=200,onChange:o=u.noop}){const[r,c]=Object(i.useState)(!1),l=Object(i.useRef)(),a=t=>{null!=e&&e.current&&c(t),o(t)},s=()=>{const n=(null==e?void 0:e.current)&&e.current.matches(":hover");return!t&&!n},d=()=>{const e=l.current;e&&Ss&&Ss(e)};return Object(i.useEffect)(()=>()=>d(),[]),{showMovers:r,debouncedShowMovers:e=>{e&&e.stopPropagation(),d(),r||a(!0)},debouncedHideMovers:e=>{e&&e.stopPropagation(),d(),l.current=ws(()=>{s()&&a(!1)},n)}}}function Is({ref:e,debounceTimeout:t=200,onChange:n=u.noop}){const[o,r]=Object(i.useState)(!1),{showMovers:c,debouncedShowMovers:l,debouncedHideMovers:a}=Bs({ref:e,debounceTimeout:t,isFocused:o,onChange:n}),s=Object(i.useRef)(!1),d=()=>(null==e?void 0:e.current)&&e.current.contains(e.current.ownerDocument.activeElement);return Object(i.useEffect)(()=>{const t=e.current,n=()=>{d()&&(r(!0),l())},o=()=>{d()||(r(!1),a())};return t&&!s.current&&(t.addEventListener("focus",n,!0),t.addEventListener("blur",o,!0),s.current=!0),()=>{t&&(t.removeEventListener("focus",n),t.removeEventListener("blur",o))}},[e,s,r,l,a]),{showMovers:c,gestures:{onMouseMove:l,onMouseLeave:a}}}function xs(){const{selectBlock:e,toggleBlockHighlight:t}=Object(f.useDispatch)(An),{firstParentClientId:n,shouldHide:o,hasReducedUI:r}=Object(f.useSelect)(e=>{const{getBlockName:t,getBlockParents:n,getSelectedBlockClientId:o,getSettings:r}=e(An),{hasBlockSupport:c}=e(m.store),l=n(o()),i=l[l.length-1],a=t(i),s=Object(m.getBlockType)(a),u=r();return{firstParentClientId:i,shouldHide:!c(s,"__experimentalParentSelector",!0),hasReducedUI:u.hasReducedUI}},[]),c=$l(n),a=Object(i.useRef)(),{gestures:s}=Is({ref:a,onChange(e){e&&r||t(n,e)}});return o||void 0===n?null:Object(i.createElement)("div",Object(l.a)({className:"block-editor-block-parent-selector",key:n,ref:a},s),Object(i.createElement)(p.ToolbarButton,{className:"block-editor-block-parent-selector__button",onClick:()=>e(n),label:Object(j.sprintf)(Object(j.__)("Select %s"),c.title),showTooltip:!0,icon:Object(i.createElement)(Vl,{icon:c.icon})}))}var Ts=Object(i.createElement)(Un.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(Un.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 Ns({blocks:e}){return Object(i.createElement)("div",{className:"block-editor-block-switcher__popover__preview__parent"},Object(i.createElement)("div",{className:"block-editor-block-switcher__popover__preview__container"},Object(i.createElement)(p.Popover,{className:"block-editor-block-switcher__preview__popover",position:"bottom right",focusOnMount:!1},Object(i.createElement)("div",{className:"block-editor-block-switcher__preview"},Object(i.createElement)("div",{className:"block-editor-block-switcher__preview-title"},Object(j.__)("Preview")),Object(i.createElement)(ha,{viewportWidth:500,blocks:e})))))}var Ps=({className:e,possibleBlockTransformations:t,onSelect:n,blocks:o})=>{const[r,c]=Object(i.useState)();return Object(i.createElement)(p.MenuGroup,{label:Object(j.__)("Transform to"),className:e},r&&Object(i.createElement)(Ns,{blocks:Object(m.switchToBlockType)(o,r)}),t.map(e=>{const{name:t,icon:o,title:r,isDisabled:l}=e;return Object(i.createElement)(p.MenuItem,{key:t,className:Object(m.getBlockMenuDefaultClassName)(t),onClick:e=>{e.preventDefault(),n(t)},disabled:l,onMouseLeave:()=>c(null),onMouseEnter:()=>c(t)},Object(i.createElement)(Vl,{icon:o,showColors:!0}),r)}))};const Ls={};function Rs({genericPreviewBlock:e,style:t,isActive:n,onBlur:o,onHover:r,onSelect:c,styleClassName:l,itemRole:a}){const u=Object(i.useMemo)(()=>({...e,attributes:{...e.attributes,className:l}}),[e,l]);return Object(i.createElement)("div",{key:t.name,className:s()("block-editor-block-styles__item",{"is-active":n}),onClick:()=>c(),onKeyDown:e=>{cc.ENTER!==e.keyCode&&cc.SPACE!==e.keyCode||(e.preventDefault(),c())},onMouseEnter:r,onMouseLeave:o,role:a||"button",tabIndex:"0","aria-label":t.label||t.name},Object(i.createElement)("div",{className:"block-editor-block-styles__item-preview"},Object(i.createElement)(ha,{viewportWidth:500,blocks:u})),Object(i.createElement)("div",{className:"block-editor-block-styles__item-label"},t.label||t.name))}var As=function({clientId:e,onSwitch:t=u.noop,onHoverClassName:n=u.noop,itemRole:o}){const{styles:r,block:c,type:l,className:a}=Object(f.useSelect)(t=>{const{getBlock:n}=t(An),o=n(e);if(!o)return Ls;const r=Object(m.getBlockType)(o.name),{getBlockStyles:c}=t(m.store);return{block:o,type:r,styles:c(o.name),className:o.attributes.className||""}},[e]),{updateBlockAttributes:s}=Object(f.useDispatch)(An),d=function(e,t){return Object(i.useMemo)(()=>{const n=null==t?void 0:t.example,o=null==t?void 0:t.name;return n&&o?Object(m.getBlockFromExample)(o,{attributes:n.attributes,innerBlocks:n.innerBlocks}):e?Object(m.cloneBlock)(e):void 0},[null!=t&&t.example?null==e?void 0:e.name:e,t])}(c,l);if(!r||0===r.length)return null;const b=Object(u.find)(r,"isDefault")?r:[{name:"default",label:Object(j._x)("Default","block style"),isDefault:!0},...r],p=function(e,t){for(const n of new Ar.a(t).values()){if(-1===n.indexOf("is-style-"))continue;const t=n.substring(9),o=Object(u.find)(e,{name:t});if(o)return o}return Object(u.find)(e,"isDefault")}(b,a);return Object(i.createElement)("div",{className:"block-editor-block-styles"},b.map(r=>{const c=function(e,t,n){const o=new Ar.a(e);return t&&o.remove("is-style-"+t.name),o.add("is-style-"+n.name),o.value}(a,p,r);return Object(i.createElement)(Rs,{genericPreviewBlock:d,className:a,isActive:p===r,key:r.name,onSelect:()=>{s(e,{className:c}),n(null),t()},onBlur:()=>n(null),onHover:()=>n(c),style:r,styleClassName:c,itemRole:o})}))};function Ms({hoveredBlock:e,onSwitch:t}){const{name:n,clientId:o}=e,[r,c]=Object(i.useState)(),l=Object(f.useSelect)(e=>e(m.store).getBlockType(n),[n]);return Object(i.createElement)(p.MenuGroup,{label:Object(j.__)("Styles"),className:"block-editor-block-switcher__styles__menugroup"},r&&Object(i.createElement)(Ns,{blocks:l.example?Object(m.getBlockFromExample)(l.name,{attributes:{...l.example.attributes,className:r},innerBlocks:l.example.innerBlocks}):Object(m.cloneBlock)(e,{className:r})}),Object(i.createElement)(As,{clientId:o,onSwitch:t,onHoverClassName:c,itemRole:"menuitem"}))}const Ds=(e,t,n=new Set)=>{const{clientId:o,name:r,innerBlocks:c=[]}=e;if(!n.has(o)){if(r===t)return e;for(const e of c){const o=Ds(e,t,n);if(o)return o}}},Fs=(e,t)=>{const n=((e,t)=>{const n=Object(m.__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 Vs=(e,t)=>{const n=Object(f.useSelect)(t=>e.map(({name:e})=>t(An).__experimentalGetParsedPattern(e)),[e]);return Object(i.useMemo)(()=>n.reduce((e,n)=>{const o=((e,t)=>{const n=t.map(e=>Object(m.cloneBlock)(e)),o=new Set;for(const t of e){let e=!1;for(const r of n){const n=Ds(r,t.name,o);if(n){e=!0,o.add(n.clientId),Fs(n,t);break}}if(!e)return}return n})(t,n.blocks);return o&&e.push({...n,transformedBlocks:o}),e},[]),[n,t])};function Hs({patterns:e,onSelect:t}){return Object(i.createElement)("div",{className:"block-editor-block-switcher__popover__preview__parent"},Object(i.createElement)("div",{className:"block-editor-block-switcher__popover__preview__container"},Object(i.createElement)(p.Popover,{className:"block-editor-block-switcher__preview__popover",position:"bottom right"},Object(i.createElement)("div",{className:"block-editor-block-switcher__preview"},Object(i.createElement)("div",{className:"block-editor-block-switcher__preview-title"},Object(j.__)("Preview")),Object(i.createElement)(zs,{patterns:e,onSelect:t})))))}function zs({patterns:e,onSelect:t}){const n=Object(p.__unstableUseCompositeState)();return Object(i.createElement)(p.__unstableComposite,Object(l.a)({},n,{role:"listbox",className:"block-editor-block-switcher__preview-patterns-container","aria-label":Object(j.__)("Patterns list")}),e.map(e=>Object(i.createElement)(Gs,{key:e.name,pattern:e,onSelect:t,composite:n})))}function Gs({pattern:e,onSelect:t,composite:n}){const o="block-editor-block-switcher__preview-patterns-container",r=Object(d.useInstanceId)(Gs,o+"-list__item-description");return Object(i.createElement)("div",{className:o+"-list__list-item","aria-label":e.title,"aria-describedby":e.description?r:void 0},Object(i.createElement)(p.__unstableCompositeItem,Object(l.a)({role:"option",as:"div"},n,{className:o+"-list__item",onClick:()=>t(e.transformedBlocks)}),Object(i.createElement)(ha,{blocks:e.transformedBlocks,viewportWidth:e.viewportWidth||500}),Object(i.createElement)("div",{className:o+"-list__item-title"},e.title)),!!e.description&&Object(i.createElement)(p.VisuallyHidden,{id:r},e.description))}var Us=function({blocks:e,patterns:t,onSelect:n}){const[o,r]=Object(i.useState)(!1),c=Vs(t,e);return c.length?Object(i.createElement)(p.MenuGroup,{className:"block-editor-block-switcher__pattern__transforms__menugroup"},o&&Object(i.createElement)(Hs,{patterns:c,onSelect:n}),Object(i.createElement)(p.MenuItem,{onClick:e=>{e.preventDefault(),r(!o)},icon:gi.a},Object(j.__)("Patterns"))):null};const Ws=({clientIds:e,blocks:t})=>{const{replaceBlocks:n}=Object(f.useDispatch)(An),o=$l(t[0].clientId),{possibleBlockTransformations:r,hasBlockStyles:c,icon:l,blockTitle:a,patterns:s}=Object(f.useSelect)(n=>{const{getBlockRootClientId:r,getBlockTransformItems:c,__experimentalGetPatternTransformItems:l}=n(An),{getBlockStyles:i,getBlockType:a}=n(m.store),s=r(Object(u.castArray)(e)[0]),[{name:d}]=t,b=1===t.length,p=b&&i(d);let f;if(b)f=null==o?void 0:o.icon;else{var g;f=1===Object(u.uniq)(t.map(({name:e})=>e)).length?null===(g=a(d))||void 0===g?void 0:g.icon:Ts}return{possibleBlockTransformations:c(t,s),hasBlockStyles:!(null==p||!p.length),icon:f,blockTitle:a(d).title,patterns:l(t,s)}},[e,t,null==o?void 0:o.icon]),d=1===t.length&&Object(m.isReusableBlock)(t[0]),b=1===t.length&&Object(m.isTemplatePart)(t[0]),g=!!r.length,h=!(null==s||!s.length);if(!c&&!g)return Object(i.createElement)(p.ToolbarGroup,null,Object(i.createElement)(p.ToolbarButton,{disabled:!0,className:"block-editor-block-switcher__no-switcher-icon",title:a,icon:Object(i.createElement)(Vl,{icon:l,showColors:!0})}));const O=a,v=1===t.length?Object(j.sprintf)(Object(j.__)("%s: Change block type or style"),a):Object(j.sprintf)(Object(j._n)("Change type of %d block","Change type of %d blocks",t.length),t.length),k=c||g||h;return Object(i.createElement)(p.ToolbarGroup,null,Object(i.createElement)(p.ToolbarItem,null,o=>Object(i.createElement)(p.DropdownMenu,{className:"block-editor-block-switcher",label:O,popoverProps:{position:"bottom right",isAlternate:!0,className:"block-editor-block-switcher__popover"},icon:Object(i.createElement)(i.Fragment,null,Object(i.createElement)(Vl,{icon:l,className:"block-editor-block-switcher__toggle",showColors:!0}),(d||b)&&Object(i.createElement)("span",{className:"block-editor-block-switcher__toggle-text"},Object(i.createElement)(Yl,{clientId:e}))),toggleProps:{describedBy:v,...o},menuProps:{orientation:"both"}},({onClose:o})=>k&&Object(i.createElement)("div",{className:"block-editor-block-switcher__container"},h&&Object(i.createElement)(Us,{blocks:t,patterns:s,onSelect:t=>{(t=>{n(e,t)})(t),o()}}),g&&Object(i.createElement)(Ps,{className:"block-editor-block-switcher__transforms__menugroup",possibleBlockTransformations:r,blocks:t,onSelect:r=>{(o=>{n(e,Object(m.switchToBlockType)(t,o))})(r),o()}}),c&&Object(i.createElement)(Ms,{hoveredBlock:t[0],onSwitch:o})))))};var Ks=({clientIds:e})=>{const t=Object(f.useSelect)(t=>t(An).getBlocksByClientId(e),[e]);return!t.length||t.some(e=>!e)?null:Object(i.createElement)(Ws,{clientIds:e,blocks:t})},qs=n("xTGt");function $s(){const{getBlockName:e}=Object(f.useSelect)(An),{getBlockType:t}=Object(f.useSelect)(m.store),{createSuccessNotice:n}=Object(f.useDispatch)(Pa.store);return Object(i.useCallback)((o,r)=>{let c="";if(1===r.length){const n=r[0],{title:l}=t(e(n));c="copy"===o?Object(j.sprintf)(Object(j.__)('Copied "%s" to clipboard.'),l):Object(j.sprintf)(Object(j.__)('Moved "%s" to clipboard.'),l)}else c="copy"===o?Object(j.sprintf)(Object(j._n)("Copied %d block to clipboard.","Copied %d blocks to clipboard.",r.length),r.length):Object(j.sprintf)(Object(j._n)("Moved %d block to clipboard.","Moved %d blocks to clipboard.",r.length),r.length);n(c,{type:"snackbar"})},[])}function Ys(){const{getBlocksByClientId:e,getSelectedBlockClientIds:t,hasMultiSelection:n,getSettings:o}=Object(f.useSelect)(An),{flashBlock:r,removeBlocks:c,replaceBlocks:l}=Object(f.useDispatch)(An),i=$s();return Object(d.useRefEffect)(a=>{function s(s){const u=t();if(0!==u.length){if(!n()){const{target:e}=s,{ownerDocument:t}=e;if("copy"===s.type||"cut"===s.type?Object(ui.documentHasUncollapsedSelection)(t):Object(ui.documentHasSelection)(t))return}if(a.contains(s.target.ownerDocument.activeElement)){if(s.preventDefault(),"copy"===s.type||"cut"===s.type){1===u.length&&r(u[0]),i(s.type,u);const t=e(u),n=Object(m.serialize)(t);s.clipboardData.setData("text/plain",n),s.clipboardData.setData("text/html",n)}if("cut"===s.type)c(u);else if("paste"===s.type){const{__experimentalCanUserUseUnfilteredHTML:e}=o(),{plainText:t,html:n}=function({clipboardData:e}){let t="",n="";try{t=e.getData("text/plain"),n=e.getData("text/html")}catch(t){try{n=e.getData("Text")}catch(e){return}}const o=Object(ui.getFilesFromDataTransfer)(e).filter(({type:e})=>/^image\/(?:jpe?g|png|gif)$/.test(e));return o.length&&!n&&(n=o.map(e=>`<img src="${Object(qs.createBlobURL)(e)}">`).join(""),t=""),{html:n,plainText:t}}(s),r=Object(m.pasteHandler)({HTML:n,plainText:t,mode:"BLOCKS",canUserUseUnfilteredHTML:e});l(u,r,r.length-1,-1)}}}}return a.ownerDocument.addEventListener("copy",s),a.ownerDocument.addEventListener("cut",s),a.ownerDocument.addEventListener("paste",s),()=>{a.ownerDocument.removeEventListener("copy",s),a.ownerDocument.removeEventListener("cut",s),a.ownerDocument.removeEventListener("paste",s)}},[])}var Xs=function({children:e}){return Object(i.createElement)("div",{ref:Ys()},e)};function Qs({clientIds:e,children:t,__experimentalUpdateSelection:n}){const{canInsertBlockType:o,getBlockRootClientId:r,getBlocksByClientId:c,getTemplateLock:l}=Object(f.useSelect)(e=>e(An),[]),{getDefaultBlockName:i,getGroupingBlockName:a}=Object(f.useSelect)(e=>e(m.store),[]),s=c(e),d=r(e[0]),b=Object(u.every)(s,e=>!!e&&Object(m.hasBlockSupport)(e.name,"multiple",!0)&&o(e.name,d)),p=o(i(),d),{removeBlocks:g,replaceBlocks:h,duplicateBlocks:O,insertAfterBlock:j,insertBeforeBlock:v,flashBlock:k,setBlockMovingClientId:_,setNavigationMode:y,selectBlock:E}=Object(f.useDispatch)(An),C=$s();return t({canDuplicate:b,canInsertDefaultBlock:p,isLocked:!!l(d),rootClientId:d,blocks:s,onDuplicate:()=>O(e,n),onRemove:()=>g(e,n),onInsertBefore(){v(Object(u.first)(Object(u.castArray)(e)))},onInsertAfter(){j(Object(u.last)(Object(u.castArray)(e)))},onMoveTo(){y(!0),E(e[0]),_(e[0])},onGroup(){if(!s.length)return;const t=a(),n=Object(m.switchToBlockType)(s,t);n&&h(e,n)},onUngroup(){if(!s.length)return;const t=s[0].innerBlocks;t.length&&h(e,t)},onCopy(){const e=s.map(({clientId:e})=>e);1===s.length&&k(e[0]),C("copy",e)}})}var Zs=Object(d.compose)([Object(f.withSelect)((e,{clientId:t})=>{const{getBlock:n,getBlockMode:o,getSettings:r}=e(An),c=n(t),l=r().codeEditingEnabled;return{mode:o(t),blockType:c?Object(m.getBlockType)(c.name):null,isCodeEditingEnabled:l}}),Object(f.withDispatch)((e,{onToggle:t=u.noop,clientId:n})=>({onToggleMode(){e(An).toggleBlockMode(n),t()}}))])((function({blockType:e,mode:t,onToggleMode:n,small:o=!1,isCodeEditingEnabled:r=!0}){if(!Object(m.hasBlockSupport)(e,"html",!0)||!r)return null;const c="visual"===t?Object(j.__)("Edit as HTML"):Object(j.__)("Edit visually");return Object(i.createElement)(p.MenuItem,{onClick:n},!o&&c)}));var Js=Object(d.compose)(Object(f.withSelect)((e,{clientId:t})=>{const n=e(An).getBlock(t);return{block:n,shouldRender:n&&"core/html"===n.name}}),Object(f.withDispatch)((e,{block:t})=>({onClick:()=>e(An).replaceBlocks(t.clientId,Object(m.rawHandler)({HTML:Object(m.getBlockContent)(t)}))})))((function({shouldRender:e,onClick:t,small:n}){if(!e)return null;const o=Object(j.__)("Convert to Blocks");return Object(i.createElement)(p.MenuItem,{onClick:t},!n&&o)}));const{Fill:eu,Slot:tu}=Object(p.createSlotFill)("__unstableBlockSettingsMenuFirstItem");eu.Slot=tu;var nu=eu;function ou({clientIds:e,isGroupable:t,isUngroupable:n,blocksSelection:o,groupingBlockName:r,onClose:c=(()=>{})}){const{replaceBlocks:l}=Object(f.useDispatch)(An);return t||n?Object(i.createElement)(i.Fragment,null,t&&Object(i.createElement)(p.MenuItem,{onClick:()=>{(()=>{const t=Object(m.switchToBlockType)(o,r);t&&l(e,t)})(),c()}},Object(j._x)("Group","verb")),n&&Object(i.createElement)(p.MenuItem,{onClick:()=>{(()=>{const t=o[0].innerBlocks;t.length&&l(e,t)})(),c()}},Object(j._x)("Ungroup","Ungrouping blocks from within a Group block back into individual blocks within the Editor "))):null}const{Fill:ru,Slot:cu}=Object(p.createSlotFill)("BlockSettingsMenuControls");function lu({...e}){return Object(i.createElement)(p.__experimentalStyleProvider,{document:document},Object(i.createElement)(ru,e))}lu.Slot=({fillProps:e,clientIds:t=null})=>{const n=Object(f.useSelect)(e=>{const{getBlocksByClientId:n,getSelectedBlockClientIds:o}=e(An),r=null!==t?t:o();return Object(u.map)(Object(u.compact)(n(r)),e=>e.name)},[t]),o=function(){const{clientIds:e,isGroupable:t,isUngroupable:n,blocksSelection:o,groupingBlockName:r}=Object(f.useSelect)(e=>{var t;const{getBlockRootClientId:n,getBlocksByClientId:o,canInsertBlockType:r,getSelectedBlockClientIds:c}=e(An),{getGroupingBlockName:l}=e(m.store),i=c(),a=l(),s=r(a,null!=i&&i.length?n(i[0]):void 0),u=o(i),d=1===u.length&&(null===(t=u[0])||void 0===t?void 0:t.name)===a;return{clientIds:i,isGroupable:s&&u.length&&!d,isUngroupable:d&&!!u[0].innerBlocks.length,blocksSelection:u,groupingBlockName:a}},[]);return{clientIds:e,isGroupable:t,isUngroupable:n,blocksSelection:o,groupingBlockName:r}}(),{isGroupable:r,isUngroupable:c}=o,a=r||c;return Object(i.createElement)(cu,{fillProps:{...e,selectedBlocks:n}},t=>{if((null==t?void 0:t.length)>0||a)return Object(i.createElement)(p.MenuGroup,null,t,Object(i.createElement)(ou,Object(l.a)({},o,{onClose:null==e?void 0:e.onClose})))})};var iu=lu;const au={className:"block-editor-block-settings-menu__popover",position:"bottom right",isAlternate:!0};function su({blocks:e,onCopy:t}){const n=Object(d.useCopyToClipboard)(()=>Object(m.serialize)(e),t);return Object(i.createElement)(p.MenuItem,{ref:n},Object(j.__)("Copy"))}var uu=function({clientIds:e,__experimentalSelectBlock:t,children:n,...o}){const r=Object(u.castArray)(e),c=r.length,a=r[0],s=Object(f.useSelect)(e=>{const{getShortcutRepresentation:t}=e(js.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")}},[]),d=Object(i.useCallback)(t?async e=>{const n=await e;n&&n[0]&&t(n[0])}:u.noop,[t]),b=1===c?Object(j.__)("Remove block"):Object(j.__)("Remove blocks");return Object(i.createElement)(Qs,{clientIds:e,__experimentalUpdateSelection:!t},({canDuplicate:t,canInsertDefaultBlock:r,isLocked:m,onDuplicate:f,onInsertAfter:g,onInsertBefore:h,onRemove:O,onCopy:v,onMoveTo:k,blocks:_})=>Object(i.createElement)(p.DropdownMenu,Object(l.a)({icon:ai.a,label:Object(j.__)("Options"),className:"block-editor-block-settings-menu",popoverProps:au,noIcons:!0},o),({onClose:o})=>Object(i.createElement)(i.Fragment,null,Object(i.createElement)(p.MenuGroup,null,Object(i.createElement)(nu.Slot,{fillProps:{onClose:o}}),1===c&&Object(i.createElement)(Js,{clientId:a}),Object(i.createElement)(su,{blocks:_,onCopy:v}),t&&Object(i.createElement)(p.MenuItem,{onClick:Object(u.flow)(o,f,d),shortcut:s.duplicate},Object(j.__)("Duplicate")),r&&Object(i.createElement)(i.Fragment,null,Object(i.createElement)(p.MenuItem,{onClick:Object(u.flow)(o,h),shortcut:s.insertBefore},Object(j.__)("Insert before")),Object(i.createElement)(p.MenuItem,{onClick:Object(u.flow)(o,g),shortcut:s.insertAfter},Object(j.__)("Insert after"))),!m&&Object(i.createElement)(p.MenuItem,{onClick:Object(u.flow)(o,k)},Object(j.__)("Move to")),1===c&&Object(i.createElement)(Zs,{clientId:a,onToggle:o})),Object(i.createElement)(iu.Slot,{fillProps:{onClose:o},clientIds:e}),"function"==typeof n?n({onClose:o}):i.Children.map(e=>Object(i.cloneElement)(e,{onClose:o})),Object(i.createElement)(p.MenuGroup,null,!m&&Object(i.createElement)(p.MenuItem,{onClick:Object(u.flow)(o,O,d),shortcut:s.remove},b)))))};var du=function({clientIds:e,...t}){return Object(i.createElement)(p.ToolbarGroup,null,Object(i.createElement)(p.ToolbarItem,null,n=>Object(i.createElement)(uu,Object(l.a)({clientIds:e,toggleProps:n},t))))};function bu({hideDragHandle:e}){const{blockClientIds:t,blockClientId:n,blockType:o,hasFixedToolbar:r,hasReducedUI:c,isValid:a,isVisual:u}=Object(f.useSelect)(e=>{const{getBlockName:t,getBlockMode:n,getSelectedBlockClientIds:o,isBlockValid:r,getBlockRootClientId:c,getSettings:l}=e(An),i=o(),a=i[0],s=c(a),u=l();return{blockClientIds:i,blockClientId:a,blockType:a&&Object(m.getBlockType)(t(a)),hasFixedToolbar:u.hasFixedToolbar,hasReducedUI:u.hasReducedUI,rootClientId:s,isValid:i.every(e=>r(e)),isVisual:i.every(e=>"visual"===n(e))}},[]),{toggleBlockHighlight:b}=Object(f.useDispatch)(An),g=Object(i.useRef)(),{showMovers:h,gestures:O}=Is({ref:g,onChange(e){e&&c||b(n,e)}}),j=Object(d.useViewportMatch)("medium","<")||r;if(o&&!Object(m.hasBlockSupport)(o,"__experimentalToolbar",!0))return null;const v=j||h;if(0===t.length)return null;const k=a&&u,_=t.length>1,y=s()("block-editor-block-toolbar",v&&"is-showing-movers");return Object(i.createElement)("div",{className:y},!_&&!j&&Object(i.createElement)(xs,{clientIds:t}),Object(i.createElement)("div",Object(l.a)({ref:g},O),(k||_)&&Object(i.createElement)(p.ToolbarGroup,{className:"block-editor-block-toolbar__block-controls"},Object(i.createElement)(Ks,{clientIds:t}),Object(i.createElement)(Cs,{clientIds:t,hideDragHandle:e||c}))),k&&Object(i.createElement)(i.Fragment,null,Object(i.createElement)(Gn.Slot,{group:"block",className:"block-editor-block-toolbar__slot"}),Object(i.createElement)(Gn.Slot,{className:"block-editor-block-toolbar__slot"}),Object(i.createElement)(Gn.Slot,{group:"inline",className:"block-editor-block-toolbar__slot"}),Object(i.createElement)(Gn.Slot,{group:"other",className:"block-editor-block-toolbar__slot"})),Object(i.createElement)(du,{clientIds:t}))}var mu=function({focusOnMount:e,isFixed:t,...n}){const{blockType:o,hasParents:r,showParentSelector:c}=Object(f.useSelect)(e=>{const{getBlockName:t,getBlockParents:n,getSelectedBlockClientIds:o}=e(An),{getBlockType:r}=e(m.store),c=o()[0],l=n(c),i=r(t(l[l.length-1]));return{blockType:c&&r(t(c)),hasParents:l.length,showParentSelector:Object(m.hasBlockSupport)(i,"__experimentalParentSelector",!0)}},[]);if(o&&!Object(m.hasBlockSupport)(o,"__experimentalToolbar",!0))return null;const a=s()("block-editor-block-contextual-toolbar",{"has-parent":r&&c,"is-fixed":t});return Object(i.createElement)(Es,Object(l.a)({focusOnMount:e,className:a,"aria-label":Object(j.__)("Block tools")},n),Object(i.createElement)(bu,{hideDragHandle:t}))};function pu(e){const{isNavigationMode:t,isMultiSelecting:n,hasMultiSelection:o,isTyping:r,isCaretWithinFormattedText:c,getSettings:l,getLastMultiSelectedBlockClientId:i}=e(An);return{isNavigationMode:t(),isMultiSelecting:n(),isTyping:r(),isCaretWithinFormattedText:c(),hasMultiSelection:o(),hasFixedToolbar:l().hasFixedToolbar,lastClientId:i()}}function fu({clientId:e,rootClientId:t,isValid:n,isEmptyDefaultBlock:o,capturingClientId:r,__unstablePopoverSlot:c,__unstableContentRef:l}){const{isNavigationMode:a,isMultiSelecting:u,isTyping:b,isCaretWithinFormattedText:m,hasMultiSelection:g,hasFixedToolbar:h,lastClientId:O}=Object(f.useSelect)(pu,[]),j=Object(d.useViewportMatch)("medium"),[v,k]=Object(i.useState)(!1),[_,y]=Object(i.useState)(!1),{stopTyping:E}=Object(f.useDispatch)(An),C=!b&&!a&&o&&n,S=a,w=!a&&!h&&j&&!C&&!u&&(!b||m),B=!(a||w||h||o);Object(js.useShortcut)("core/block-editor/focus-toolbar",Object(i.useCallback)(()=>{k(!0),E(!0)},[]),{bindGlobal:!0,eventName:"keydown",isDisabled:!B}),Object(i.useEffect)(()=>{w||k(!1)},[w]);const I=Object(i.useRef)(),x=_r(e),T=_r(O),N=_r(r),P=bs(l);if(!(S||w||v||C))return null;let L=x;if(!L)return null;r&&(L=N);let R=L;if(g){if(!T)return null;R={top:L,bottom:T}}const A=C?"top left right":"top right left",{ownerDocument:M}=L,D=C?void 0:M.defaultView.frameElement||Object(ui.getScrollContainer)(L)||M.body;return Object(i.createElement)(p.Popover,{ref:P,noArrow:!0,animate:!1,position:A,focusOnMount:!1,anchorRef:R,className:"block-editor-block-list__block-popover",__unstableStickyBoundaryElement:D,__unstableSlotName:c||null,__unstableBoundaryParent:!0,__unstableObserveElement:L,shouldAnchorIncludePadding:!0},(w||v)&&Object(i.createElement)("div",{onFocus:function(){y(!0)},onBlur:function(){y(!1)},tabIndex:-1,className:s()("block-editor-block-list__block-popover-inserter",{"is-visible":_})},Object(i.createElement)(os,{clientId:e,rootClientId:t,__experimentalIsQuick:!0})),(w||v)&&Object(i.createElement)(mu,{focusOnMount:v,__experimentalInitialIndex:I.current,__experimentalOnIndexChange:e=>{I.current=e},key:e}),S&&Object(i.createElement)(ks,{clientId:e,rootClientId:t,blockElement:L}),C&&Object(i.createElement)("div",{className:"block-editor-block-list__empty-block-inserter"},Object(i.createElement)(os,{position:"bottom right",rootClientId:t,clientId:e,__experimentalIsQuick:!0})))}function gu(e){const{getSelectedBlockClientId:t,getFirstMultiSelectedBlockClientId:n,getBlockRootClientId:o,__unstableGetBlockWithoutInnerBlocks:r,getBlockParents:c,__experimentalGetBlockListSettingsForBlocks:l}=e(An),i=t()||n();if(!i)return;const{name:a,attributes:s={},isValid:d}=r(i)||{},b=c(i),p=l(b),f=Object(u.find)(b,e=>{var t;return null===(t=p[e])||void 0===t?void 0:t.__experimentalCaptureToolbars});return{clientId:i,rootClientId:o(i),name:a,isValid:d,isEmptyDefaultBlock:a&&Object(m.isUnmodifiedDefaultBlock)({name:a,attributes:s}),capturingClientId:f}}function hu({__unstablePopoverSlot:e,__unstableContentRef:t}){const n=Object(f.useSelect)(gu,[]);if(!n)return null;const{clientId:o,rootClientId:r,name:c,isValid:l,isEmptyDefaultBlock:a,capturingClientId:s}=n;return c?Object(i.createElement)(fu,{clientId:o,rootClientId:r,isValid:l,isEmptyDefaultBlock:a,capturingClientId:s,__unstablePopoverSlot:e,__unstableContentRef:t}):null}function Ou({children:e}){const t=Object(i.useContext)(ms),n=Object(i.useContext)(p.Disabled.Context);return t||n?e:(Bt()('wp.components.Popover.Slot name="block-toolbar"',{alternative:"wp.blockEditor.BlockTools"}),Object(i.createElement)(fs,{__unstablePopoverSlot:"block-toolbar"},Object(i.createElement)(hu,{__unstablePopoverSlot:"block-toolbar"}),e))}function ju(){const{hasSelectedBlock:e,hasMultiSelection:t}=Object(f.useSelect)(An),{clearSelectedBlock:n}=Object(f.useDispatch)(An);return Object(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 vu(e){return Object(i.createElement)("div",Object(l.a)({ref:ju()},e))}const ku=Object(i.createContext)();function _u({className:e,children:t}){const n=Object(d.useViewportMatch)("medium"),{isTyping:o,isOutlineMode:r,isFocusMode:c,isNavigationMode:l}=Object(f.useSelect)(e=>{const{isTyping:t,getSettings:n,isNavigationMode:o}=e(An),{outlineMode:r,focusMode:c}=n();return{isTyping:t(),isOutlineMode:r,isFocusMode:c,isNavigationMode:o()}},[]);return Object(i.createElement)("div",{ref:Object(d.useMergeRefs)([ju(),ds(),gs()]),className:s()("block-editor-block-list__layout is-root-container",e,{"is-typing":o,"is-outline-mode":r,"is-focus-mode":c&&n,"is-navigate-mode":l})},t)}function yu({className:e,__experimentalLayout:t}){return function(){const e=Object(f.useSelect)(e=>e(An).getSettings().__experimentalBlockPatterns,[]);Object(i.useEffect)(()=>{if(null==e||!e.length)return;let t,n=-1;const o=()=>{n++,n>=e.length||(Object(f.select)(An).__experimentalGetParsedPattern(e[n].name),t=hs(o))};return t=hs(o),()=>Os(t)},[e])}(),Object(i.createElement)(Ou,null,Object(i.createElement)(_u,{className:e},Object(i.createElement)(Cu,{__experimentalLayout:t})))}function Eu({placeholder:e,rootClientId:t,renderAppender:n,__experimentalAppenderTagName:o,__experimentalLayout:r=Xn}){const[c,l]=Object(i.useState)(new Set),a=Object(i.useMemo)(()=>{const{IntersectionObserver:e}=window;if(e)return new e(e=>{l(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})})},[l]),{order:s,selectedBlocks:u}=Object(f.useSelect)(e=>{const{getBlockOrder:n,getSelectedBlockClientIds:o}=e(An);return{order:n(t),selectedBlocks:o()}},[t]);return Object(i.createElement)(Jn,{value:r},Object(i.createElement)(ku.Provider,{value:a},s.map(e=>Object(i.createElement)(f.AsyncModeProvider,{key:e,value:!c.has(e)&&!u.includes(e)},Object(i.createElement)(Nu,{rootClientId:t,clientId:e})))),s.length<1&&e,Object(i.createElement)(is,{tagName:o,rootClientId:t,renderAppender:n}))}function Cu(e){return Object(i.createElement)(f.AsyncModeProvider,{value:!1},Object(i.createElement)(Eu,e))}function Su(){const e=Object(i.useContext)(ku);return Object(d.useRefEffect)(t=>{if(e)return e.observe(t),()=>{e.unobserve(t)}},[e])}function wu(e={},{__unstableIsHtml:t}={}){const{clientId:n,className:o,wrapperProps:r={}}=Object(i.useContext)(Bu),{index:c,mode:l,name:a,blockTitle:u,isPartOfSelection:b,adjustScrolling:p,enableAnimation:g}=Object(f.useSelect)(e=>{const{getBlockRootClientId:t,getBlockIndex:o,getBlockMode:r,getBlockName:c,isTyping:l,getGlobalBlockCount:i,isBlockSelected:a,isBlockMultiSelected:s,isAncestorMultiSelected:u,isFirstMultiSelectedBlock:d}=e(An),b=a(n),p=s(n)||u(n),f=c(n),g=t(n);return{index:o(n,g),mode:r(n),name:f,blockTitle:Object(m.getBlockType)(f).title,isPartOfSelection:b||p,adjustScrolling:b||d(n),enableAnimation:!l()&&i()<=200}},[n]),h=Object(j.sprintf)(Object(j.__)("Block: %s"),u),O="html"!==l||t?"":"-visual",v=Object(d.useMergeRefs)([e.ref,Gi(n),ta(n),vr(n),Xi(n),oa(n),Qi(n),Zi(n),Wi(),Su(),mi({isSelected:b,adjustScrolling:p,enableAnimation:g,triggerAnimationOnChange:c})]);return{...r,...e,ref:v,id:`block-${n}${O}`,tabIndex:0,role:"group","aria-label":h,"data-block":n,"data-type":a,"data-title":u,className:s()("wp-block block-editor-block-list__block",o,e.className,r.className,Ki(n),qi(n),$i(n),Yi(n)),style:{...r.style,...e.style}}}wu.save=m.__unstableGetBlockProps;const Bu=Object(i.createContext)();function Iu({children:e,isHtml:t,...n}){return Object(i.createElement)("div",wu(n,{__unstableIsHtml:t}),e)}const xu=Object(f.withSelect)((e,{clientId:t,rootClientId:n})=>{const{isBlockSelected:o,getBlockMode:r,isSelectionEnabled:c,getTemplateLock:l,__unstableGetBlockWithoutInnerBlocks:i}=e(An),a=i(t),s=o(t),u=l(n),{name:d,attributes:b,isValid:m}=a||{};return{mode:r(t),isSelectionEnabled:c(),isLocked:!!u,block:a,name:d,attributes:b,isValid:m,isSelected:s}}),Tu=Object(f.withDispatch)((e,t,{select:n})=>{const{updateBlockAttributes:o,insertBlocks:r,mergeBlocks:c,replaceBlocks:l,toggleSelection:i,__unstableMarkLastChangeAsPersistent:a}=e(An);return{setAttributes(e){const{getMultiSelectedBlockClientIds:r}=n(An),c=r(),{clientId:l}=t,i=c.length?c:[l];o(i,e)},onInsertBlocks(e,n){const{rootClientId:o}=t;r(e,n,o)},onInsertBlocksAfter(e){const{clientId:o,rootClientId:c}=t,{getBlockIndex:l}=n(An),i=l(o,c);r(e,i+1,c)},onMerge(e){const{clientId:o}=t,{getPreviousBlockClientId:r,getNextBlockClientId:l}=n(An);if(e){const e=l(o);e&&c(o,e)}else{const e=r(o);e&&c(e,o)}},onReplace(e,n,o){e.length&&!Object(m.isUnmodifiedDefaultBlock)(e[e.length-1])&&a(),l([t.clientId],e,n,o)},toggleSelection(e){i(e)}}});var Nu=Object(d.compose)(d.pure,xu,Tu,Object(d.ifCondition)(({block:e})=>!!e),Object(p.withFilters)("editor.BlockListBlock"))((function({mode:e,isLocked:t,clientId:n,isSelected:o,isSelectionEnabled:r,className:c,name:l,isValid:a,attributes:d,wrapperProps:b,setAttributes:p,onReplace:g,onInsertBlocksAfter:h,onMerge:O,toggleSelection:j}){const{removeBlock:v}=Object(f.useDispatch)(An),k=Object(i.useCallback)(()=>v(n),[n]);let _=Object(i.createElement)(li,{name:l,isSelected:o,attributes:d,setAttributes:p,insertBlocksAfter:t?void 0:h,onReplace:t?void 0:g,onRemove:t?void 0:k,mergeBlocks:t?void 0:O,clientId:n,isSelectionEnabled:r,toggleSelection:j});const y=Object(m.getBlockType)(l),E=y.apiVersion>1||Object(m.hasBlockSupport)(y,"lightBlockWrapper",!1);let C;y.getEditWrapperProps&&(b=function(e,t){const n={...e,...t};return e&&t&&e.className&&t.className&&(n.className=s()(e.className,t.className)),e&&t&&e.style&&t.style&&(n.style={...e.style,...t.style}),n}(b,y.getEditWrapperProps(d))),b&&!!b["data-align"]&&(_=Object(i.createElement)("div",{className:"wp-block","data-align":b["data-align"]},_)),C=a?"html"===e?Object(i.createElement)(i.Fragment,null,Object(i.createElement)("div",{style:{display:"none"}},_),Object(i.createElement)(Iu,{isHtml:!0},Object(i.createElement)(Hi,{clientId:n}))):E?_:Object(i.createElement)(Iu,b,_):Object(i.createElement)(Iu,{className:"has-warning"},Object(i.createElement)(Li,{clientId:n}),Object(i.createElement)("div",null,Object(m.getSaveElement)(y,d)));const S={clientId:n,className:c,wrapperProps:Object(u.omit)(b,["data-align"])},w=Object(i.useMemo)(()=>S,Object.values(S));return Object(i.createElement)(Bu.Provider,{value:w},Object(i.createElement)(Di,{fallback:Object(i.createElement)(Iu,{className:"has-warning"},Object(i.createElement)(Ai,null))},C))}));const Pu=(e,t,n)=>Object(j.sprintf)(Object(j.__)("Block %1$d of %2$d, Level %3$d"),e,t,n),Lu=(e,t)=>Object(u.isArray)(t)&&t.length?-1!==t.indexOf(e):t===e;var Ru=Object(i.forwardRef)((function e({className:t,block:{clientId:n},isSelected:o,onClick:r,position:c,siblingBlockCount:l,level:a,tabIndex:u,onFocus:b,onDragStart:m,onDragEnd:f,draggable:g},h){const O=$l(n),v="block-navigation-block-select-button__"+Object(d.useInstanceId)(e),k=Pu(c,l,a);return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(p.Button,{className:s()("block-editor-block-navigation-block-select-button",t),onClick:r,"aria-describedby":v,ref:h,tabIndex:u,onFocus:b,onDragStart:m,onDragEnd:f,draggable:g},Object(i.createElement)(Vl,{icon:null==O?void 0:O.icon,showColors:!0}),Object(i.createElement)(Yl,{clientId:n}),(null==O?void 0:O.anchor)&&Object(i.createElement)("span",{className:"block-editor-block-navigation-block-select-button__anchor"},O.anchor),o&&Object(i.createElement)(p.VisuallyHidden,null,Object(j.__)("(selected block)"))),Object(i.createElement)("div",{className:"block-editor-block-navigation-block-select-button__description",id:v},k))}));const Au=e=>"BlockNavigationBlock-"+e;var Mu=Object(i.forwardRef)((function e(t,n){const{clientId:o}=t.block,{name:r}=Object(f.useSelect)(e=>e(An).getBlockName(o),[o]),c=Object(d.useInstanceId)(e);return Object(i.createElement)(p.Slot,{name:Au(o)},e=>{if(!e.length)return Object(i.createElement)(Ru,Object(l.a)({ref:n},t));const{className:o,isSelected:a,position:u,siblingBlockCount:d,level:b,tabIndex:f,onFocus:g}=t,h=Object(m.getBlockType)(r),O="block-navigation-block-slot__"+c,v=Pu(u,d,b),k={tabIndex:f,onFocus:g,ref:n,"aria-describedby":O};return Object(i.createElement)(i.Fragment,null,Object(i.createElement)("div",{className:s()("block-editor-block-navigation-block-slot",o)},Object(i.createElement)(Vl,{icon:h.icon,showColors:!0}),i.Children.map(e,e=>Object(i.cloneElement)(e,{...e.props,...k})),a&&Object(i.createElement)(p.VisuallyHidden,null,Object(j.__)("(selected block)")),Object(i.createElement)("div",{className:"block-editor-block-navigation-block-slot__description",id:O},v)))})}));const Du=e=>{const{clientId:t}=Object(i.useContext)(Bu);return Object(i.createElement)(p.Fill,Object(l.a)({},e,{name:Au(t)}))};var Fu=Object(i.forwardRef)(({onClick:e,block:t,isSelected:n,position:o,siblingBlockCount:r,level:c,...a},u)=>{const{__experimentalFeatures:d,blockDropTarget:b={}}=wi(),{clientId:m}=t,{rootClientId:p,blockMovingClientId:g,selectedBlockInBlockEditor:h}=Object(f.useSelect)(e=>{const{getBlockRootClientId:t,hasBlockMovingClientId:n,getSelectedBlockClientId:o}=e(An);return{rootClientId:t(m)||"",blockMovingClientId:n(),selectedBlockInBlockEditor:o()}},[m]),O=g&&h===m,{rootClientId:j,clientId:v,dropPosition:k}=b,_=j===p&&v===m&&"top"===k,y=j===p&&v===m&&"bottom"===k,E=j===m&&"inside"===k,C=s()("block-editor-block-navigation-block-contents",{"is-dropping-before":_||O,"is-dropping-after":y,"is-dropping-to-inner-blocks":E});return Object(i.createElement)(vs,{clientIds:[t.clientId],elementId:"block-navigation-block-"+t.clientId},({draggable:s,onDragStart:b,onDragEnd:m})=>d?Object(i.createElement)(Mu,Object(l.a)({ref:u,className:C,block:t,onClick:e,isSelected:n,position:o,siblingBlockCount:r,level:c,draggable:s&&d,onDragStart:b,onDragEnd:m},a)):Object(i.createElement)(Ru,Object(l.a)({ref:u,className:C,block:t,onClick:e,isSelected:n,position:o,siblingBlockCount:r,level:c,draggable:s&&d,onDragStart:b,onDragEnd:m},a)))});function Vu({block:e,isSelected:t,isBranchSelected:n,isLastOfSelectedBranch:o,onClick:r,position:c,level:l,rowCount:a,siblingBlockCount:u,showBlockMovers:d,path:b}){const m=Object(i.useRef)(null),[g,h]=Object(i.useState)(!1),{clientId:O}=e,{isDragging:v,blockParents:k}=Object(f.useSelect)(e=>{const{isBlockBeingDragged:t,isAncestorBeingDragged:n,getBlockParents:o}=e(An);return{isDragging:t(O)||n(O),blockParents:o(O)}},[O]),{selectBlock:_,toggleBlockHighlight:y}=Object(f.useDispatch)(An),E=d&&u>0,C=s()("block-editor-block-navigation-block__mover-cell",{"is-visible":g}),{__experimentalFeatures:S,__experimentalPersistentListViewFeatures:w,isTreeGridMounted:B}=wi(),I=s()("block-editor-block-navigation-block__menu-cell",{"is-visible":g});Object(i.useEffect)(()=>{w&&!B&&t&&m.current.focus()},[]),Object(i.useEffect)(()=>{S&&t&&m.current.focus()},[S,t]);const x=w?y:()=>{},T=()=>{h(!0),x(O,!0)},N=()=>{h(!1),x(O,!1)},P=s()({"is-selected":t,"is-branch-selected":w&&n,"is-last-of-selected-branch":w&&o,"is-dragging":v});return Object(i.createElement)(fi,{className:P,onMouseEnter:T,onMouseLeave:N,onFocus:T,onBlur:N,level:l,position:c,rowCount:a,path:b,id:"block-navigation-block-"+O,"data-block":O},Object(i.createElement)(p.__experimentalTreeGridCell,{className:"block-editor-block-navigation-block__contents-cell",colSpan:E?void 0:2,ref:m},({ref:n,tabIndex:o,onFocus:a})=>Object(i.createElement)("div",{className:"block-editor-block-navigation-block__contents-container"},Object(i.createElement)(Fu,{block:e,onClick:()=>r(e.clientId),isSelected:t,position:c,siblingBlockCount:u,level:l,ref:n,tabIndex:o,onFocus:a}))),E&&Object(i.createElement)(i.Fragment,null,Object(i.createElement)(p.__experimentalTreeGridCell,{className:C,withoutGridItem:!0},Object(i.createElement)(p.__experimentalTreeGridItem,null,({ref:e,tabIndex:t,onFocus:n})=>Object(i.createElement)(Ei,{orientation:"vertical",clientIds:[O],ref:e,tabIndex:t,onFocus:n})),Object(i.createElement)(p.__experimentalTreeGridItem,null,({ref:e,tabIndex:t,onFocus:n})=>Object(i.createElement)(Ci,{orientation:"vertical",clientIds:[O],ref:e,tabIndex:t,onFocus:n})))),S&&Object(i.createElement)(p.__experimentalTreeGridCell,{className:I},({ref:e,tabIndex:t,onFocus:n})=>Object(i.createElement)(uu,{clientIds:[O],icon:ai.a,toggleProps:{ref:e,tabIndex:t,onFocus:n},disableOpenOnArrowDown:!0,__experimentalSelectBlock:r},({onClose:e})=>Object(i.createElement)(p.MenuGroup,null,Object(i.createElement)(p.MenuItem,{onClick:async()=>{if(k.length)for(const e of k)await _(e);else await _(null);await _(O),e()}},Object(j.__)("Go to block"))))))}function Hu({parentBlockClientId:e,position:t,level:n,rowCount:o,path:r}){const c=Object(f.useSelect)(t=>{const{isBlockBeingDragged:n,isAncestorBeingDragged:o}=t(An);return n(e)||o(e)},[e]),l="block-navigation-appender-row__description_"+Object(d.useInstanceId)(Hu),a=Object(j.sprintf)(Object(j.__)("Add block at position %1$d, Level %2$d"),t,n);return Object(i.createElement)(fi,{className:s()({"is-dragging":c}),level:n,position:t,rowCount:o,path:r},Object(i.createElement)(p.__experimentalTreeGridCell,{className:"block-editor-block-navigation-appender__cell",colSpan:"3"},({ref:t,tabIndex:n,onFocus:o})=>Object(i.createElement)("div",{className:"block-editor-block-navigation-appender__container"},Object(i.createElement)(os,{rootClientId:e,__experimentalIsQuick:!0,"aria-describedby":l,toggleProps:{ref:t,tabIndex:n,onFocus:o}}),Object(i.createElement)("div",{className:"block-editor-block-navigation-appender__description",id:l},a))))}function zu(e){const{blocks:t,selectBlock:n,selectedBlockClientIds:o,showAppender:r,showBlockMovers:c,showNestedBlocks:l,parentBlockClientId:a,level:s=1,terminatedLevels:d=[],path:b=[],isBranchSelected:m=!1,isLastOfBranch:p=!1}=e,f=!a,g=Object(u.compact)(t),h=e=>r&&!f&&Lu(e,o),O=h(a),j=g.length,v=O?j+1:j,k=v;return Object(i.createElement)(i.Fragment,null,Object(u.map)(g,(e,t)=>{const{clientId:a,innerBlocks:u}=e,f=t+1,g=v===f?[...d,s]:d,O=[...b,f],k=l&&!!u&&!!u.length,_=h(a),y=k||_,E=Lu(a,o),C=m||E&&y,S=t===j-1,w=E||p&&S,B=p&&!y&&S;return Object(i.createElement)(i.Fragment,{key:a},Object(i.createElement)(Vu,{block:e,onClick:n,isSelected:E,isBranchSelected:C,isLastOfSelectedBranch:B,level:s,position:f,rowCount:v,siblingBlockCount:j,showBlockMovers:c,terminatedLevels:d,path:O}),y&&Object(i.createElement)(zu,{blocks:u,selectedBlockClientIds:o,selectBlock:n,isBranchSelected:C,isLastOfBranch:w,showAppender:r,showBlockMovers:c,showNestedBlocks:l,parentBlockClientId:a,level:s+1,terminatedLevels:g,path:O}))}),O&&Object(i.createElement)(Hu,{parentBlockClientId:a,position:v,rowCount:k,level:s,terminatedLevels:d,path:[...b,k]}))}zu.defaultProps={selectBlock:()=>{}};function Gu(e,t,n){const o=(e=>Object(f.useSelect)(t=>{const{getSelectedBlockClientId:n,getSelectedBlockClientIds:o}=t(An);return e?o():n()},[e]))(n);return{clientIdsTree:((e,t,n)=>Object(f.useSelect)(o=>{const{getBlockHierarchyRootClientId:r,__unstableGetClientIdsTree:c,__unstableGetClientIdWithClientIdsTree:l}=o(An);if(e)return e;const i=t&&!Array.isArray(t);if(!n||!i)return c();const a=l(r(t));if(!a)return c();return!Lu(a.clientId,t)||a.innerBlocks&&0!==a.innerBlocks.length?[a]:c()},[e,t,n]))(e,o,t),selectedClientIds:o}}function Uu(e,t){return t.left<=e.x&&t.right>=e.x&&t.top<=e.y&&t.bottom>=e.y}const Wu=["top","bottom"];function Ku(){const{getBlockRootClientId:e,getBlockIndex:t,getBlockCount:n,getDraggedBlockClientIds:o,canInsertBlocks:r}=Object(f.useSelect)(An),[c,l]=Object(i.useState)(),{rootClientId:a,blockIndex:s}=c||{},u=ss(a,s),b=Object(d.useThrottle)(Object(i.useCallback)((c,i)=>{const a={x:c.clientX,y:c.clientY},s=!!c.dataTransfer.getData("wp-blocks"),u=s?o():void 0,d=function(e,t){let n,o,r,c;for(const l of e){if(l.isDraggedBlock)continue;const i=l.element.getBoundingClientRect(),[a,s]=us(t,i,Wu),u=Uu(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(i.querySelectorAll("[data-block]")).map(o=>{const c=o.dataset.block,l=e(c);return{clientId:c,rootClientId:l,blockIndex:t(c,l),element:o,isDraggedBlock:!!s&&u.includes(c),innerBlockCount:n(c),canInsertDraggedBlocksAsSibling:!s||r(u,l),canInsertDraggedBlocksAsChild:!s||r(u,c)}}),a);d&&l(d)},[]),200);return{ref:Object(d.__experimentalUseDropZone)({onDrop:u,onDragOver(e){b(e,e.currentTarget)},onDragEnd(){b.cancel(),l(null)}}),target:c}}const qu=()=>{};function $u({blocks:e,showOnlyCurrentHierarchy:t,onSelect:n=qu,__experimentalFeatures:o,__experimentalPersistentListViewFeatures:r,...c}){const{clientIdsTree:a,selectedClientIds:s}=Gu(e,t,r),{selectBlock:u}=Object(f.useDispatch)(An),d=Object(i.useCallback)(e=>{u(e),n(e)},[u,n]);let{ref:b,target:m}=Ku();const g=Object(i.useRef)(!1);Object(i.useEffect)(()=>{g.current=!0},[]),o||(m=void 0);const h=Object(i.useMemo)(()=>({__experimentalFeatures:o,__experimentalPersistentListViewFeatures:r,blockDropTarget:m,isTreeGridMounted:g.current}),[o,r,m,g.current]);return Object(i.createElement)(p.__experimentalTreeGrid,{className:"block-editor-block-navigation-tree","aria-label":Object(j.__)("Block navigation structure"),ref:b},Object(i.createElement)(Si.Provider,{value:h},Object(i.createElement)(zu,Object(l.a)({blocks:a,selectBlock:d,selectedBlockClientIds:s},c))))}function Yu({isEnabled:e,onToggle:t,isOpen:n,innerRef:o,...r}){return Object(i.createElement)(p.Button,Object(l.a)({},r,{ref:o,icon:ii.a,"aria-expanded":n,"aria-haspopup":"true",onClick:e?t:void 0,label:Object(j.__)("List view"),className:"block-editor-block-navigation","aria-disabled":!e}))}var Xu=Object(i.forwardRef)((function({isDisabled:e,__experimentalFeatures:t,...n},o){const r=Object(f.useSelect)(e=>!!e(An).getBlockCount(),[])&&!e;return Object(i.createElement)(p.Dropdown,{contentClassName:"block-editor-block-navigation__popover",position:"bottom right",renderToggle:({isOpen:e,onToggle:t})=>Object(i.createElement)(Yu,Object(l.a)({},n,{innerRef:o,isOpen:e,onToggle:t,isEnabled:r})),renderContent:()=>Object(i.createElement)("div",{className:"block-editor-block-navigation__container"},Object(i.createElement)("p",{className:"block-editor-block-navigation__label"},Object(j.__)("List view")),Object(i.createElement)($u,{showNestedBlocks:!0,showOnlyCurrentHierarchy:!0,__experimentalFeatures:t}))})}));const Qu=[cc.rawShortcut.primary("z"),cc.rawShortcut.primaryShift("z"),cc.rawShortcut.primary("y")],Zu=Object(i.createElement)(p.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(u.fromPairs)(Qu.map(e=>[e,e=>e.preventDefault()]))}),Ju=()=>Zu,ed={position:"bottom right",isAlternate:!0};var td=()=>Object(i.createElement)(i.Fragment,null,["bold","italic","link","text-color"].map(e=>Object(i.createElement)(p.Slot,{name:"RichText.ToolbarControls."+e,key:e})),Object(i.createElement)(p.Slot,{name:"RichText.ToolbarControls"},e=>0!==e.length&&Object(i.createElement)(p.ToolbarItem,null,t=>Object(i.createElement)(p.DropdownMenu,{icon:ji.a,label:Object(j.__)("More"),toggleProps:t,controls:Object(u.orderBy)(e.map(([{props:e}])=>e),"title"),popoverProps:ed}))));var nd=({inline:e,anchorRef:t})=>e?Object(i.createElement)(p.Popover,{noArrow:!0,position:"top center",focusOnMount:!1,anchorRef:t,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)(p.ToolbarGroup,null,Object(i.createElement)(td,null)))):Object(i.createElement)(Gn,{group:"inline"},Object(i.createElement)(td,null));function od(){const{didAutomaticChange:e,getSettings:t}=Object(f.useSelect)(An);return Object(d.useRefEffect)(n=>{function o(n){const{keyCode:o}=n;o!==cc.DELETE&&o!==cc.BACKSPACE&&o!==cc.ESCAPE||e()&&(n.preventDefault(),t().__experimentalUndo())}return n.addEventListener("keydown",o),()=>{n.removeEventListener("keydown",o)}},[])}function rd(e){return e.filter(({type:e})=>/^image\/(?:jpe?g|png|gif)$/.test(e)).map(e=>`<img src="${Object(qs.createBlobURL)(e)}">`).join("")}var cd=n("SVSp");function ld(e,t){if(t.length){let n=e.formats.length;for(;n--;)e.formats[n]=[...t,...e.formats[n]||[]]}}function id(e){if(!0===e||"p"===e||"li"===e)return!0===e?"p":e}function ad({allowedFormats:e,formattingControls:t,disableFormats:n}){return n?ad.EMPTY_ARRAY:e||t?e||(Bt()("wp.blockEditor.RichText formattingControls prop",{since:"5.4",alternative:"allowedFormats"}),t.map(e=>"core/"+e)):void 0}ad.EMPTY_ARRAY=[];function sd({value:e,pastedBlocks:t=[],onReplace:n,onSplit:o,onSplitMiddle:r,multilineTag:l}){if(!n||!o)return;const i=[],[a,s]=Object(c.split)(e),u=t.length>0;let d=-1;const b=Object(c.isEmpty)(a)&&!Object(c.isEmpty)(s);u&&Object(c.isEmpty)(a)||(i.push(o(Object(c.toHTMLString)({value:a,multilineTag:l}),!b)),d+=1),u?(i.push(...t),d+=t.length):r&&i.push(r()),(u||r)&&Object(c.isEmpty)(s)||i.push(o(Object(c.toHTMLString)({value:s,multilineTag:l}),b));n(i,u?d:1,u?-1:0)}function ud(e){const t=Object(i.useRef)(e);return t.current=e,Object(d.useRefEffect)(e=>{function n(e){const{isSelected:n,disableFormats:o,onChange:r,value:l,formatTypes:i,tagName:a,onReplace:s,onSplit:u,onSplitMiddle:d,__unstableEmbedURLOnPaste:b,multilineTag:p,preserveWhiteSpace:f,pastePlainText:g}=t.current;if(!n)return void e.preventDefault();const{clipboardData:h}=e;let O="",j="";try{O=h.getData("text/plain"),j=h.getData("text/html")}catch(e){try{j=h.getData("Text")}catch(e){return}}if(e.preventDefault(),window.console.log("Received HTML:\n\n",j),window.console.log("Received plain text:\n\n",O),o)return void r(Object(c.insert)(l,O));const v=i.reduce((e,{__unstablePasteRule:t})=>(t&&e===l&&(e=t(l,{html:j,plainText:O})),e),l);if(v!==l)return void r(v);const k=[...Object(ui.getFilesFromDataTransfer)(h)];if("true"===h.getData("rich-text")){const e=Object(c.create)({html:j,multilineTag:p,multilineWrapperTags:"li"===p?["ul","ol"]:void 0,preserveWhiteSpace:f});return ld(e,l.activeFormats),void r(Object(c.insert)(l,e))}if(g)return void r(Object(c.insert)(l,Object(c.create)({text:O})));if(k&&k.length&&!j){const e=Object(m.pasteHandler)({HTML:rd(k),mode:"BLOCKS",tagName:a,preserveWhiteSpace:f});return window.console.log("Received items:\n\n",k),void(s&&Object(c.isEmpty)(l)?s(e):sd({value:l,pastedBlocks:e,onReplace:s,onSplit:u,onSplitMiddle:d,multilineTag:p}))}let _=s&&u?"AUTO":"INLINE";var y;"AUTO"===_&&Object(c.isEmpty)(l)&&(y=O,Object(cd.regexp)(".*").test(y))&&(_="BLOCKS"),b&&Object(c.isEmpty)(l)&&Object(Va.isURL)(O.trim())&&(_="BLOCKS");const E=Object(m.pasteHandler)({HTML:j,plainText:O,mode:_,tagName:a,preserveWhiteSpace:f});if("string"==typeof E){let e=Object(c.create)({html:E});ld(e,l.activeFormats),p&&(e=Object(c.replace)(e,/\n+/g,c.__UNSTABLE_LINE_SEPARATOR)),r(Object(c.insert)(l,e))}else E.length>0&&(s&&Object(c.isEmpty)(l)?s(E,E.length-1,-1):sd({value:l,pastedBlocks:E,onReplace:s,onSplit:u,onSplitMiddle:d,multilineTag:p}))}return e.addEventListener("paste",n),()=>{e.removeEventListener("paste",n)}},[])}function dd(e){const{__unstableMarkLastChangeAsPersistent:t,__unstableMarkAutomaticChange:n}=Object(f.useDispatch)(An),o=Object(i.useRef)(e);return o.current=e,Object(d.useRefEffect)(e=>{function r(){const{value:e,onReplace:t}=o.current;if(!t)return;const{start:r,text:l}=e;if(" "!==l.slice(r-1,r))return;const i=l.slice(0,r).trim(),a=Object(m.getBlockTransforms)("from").filter(({type:e})=>"prefix"===e),s=Object(m.findTransform)(a,({prefix:e})=>i===e);if(!s)return;const u=Object(c.toHTMLString)({value:Object(c.slice)(e,r,l.length)});t([s.transform(u)]),n()}function l(e){const{inputType:c}=e,{value:l,onChange:i,__unstableAllowPrefixTransformations:a,formatTypes:s}=o.current;if("insertText"!==c)return;a&&r&&r();const u=s.reduce((e,{__unstableInputRule:t})=>(t&&(e=t(e)),e),l);u!==l&&(t(),i({...u,activeFormats:l.activeFormats}),n())}return e.addEventListener("input",l),()=>{e.removeEventListener("input",l)}},[])}function bd(e){const{__unstableMarkAutomaticChange:t}=Object(f.useDispatch)(An),n=Object(i.useRef)(e);return n.current=e,Object(d.useRefEffect)(e=>{function o(e){if(e.defaultPrevented)return;const{removeEditorOnlyFormats:o,value:r,onReplace:l,onSplit:i,onSplitMiddle:a,multilineTag:s,onChange:u,disableLineBreaks:d,onSplitAtEnd:b}=n.current;if(e.keyCode!==cc.ENTER)return;e.preventDefault();const p={...r};p.formats=o(r);const f=l&&i;if(l){const e=Object(m.getBlockTransforms)("from").filter(({type:e})=>"enter"===e),n=Object(m.findTransform)(e,e=>e.regExp.test(p.text));n&&(l([n.transform({content:p.text})]),t())}if(s)e.shiftKey?d||u(Object(c.insert)(p,"\n")):f&&Object(c.__unstableIsEmptyLine)(p)?sd({value:p,onReplace:l,onSplit:i,onSplitMiddle:a,multilineTag:s}):u(Object(c.__unstableInsertLineSeparator)(p));else{const{text:t,start:n,end:o}=p,r=b&&n===o&&o===t.length;e.shiftKey||!f&&!r?d||u(Object(c.insert)(p,"\n")):!f&&r?b():f&&sd({value:p,onReplace:l,onSplit:i,onSplitMiddle:a,multilineTag:s})}}return e.addEventListener("keydown",o),()=>{e.removeEventListener("keydown",o)}},[])}function md(e){return e(c.store).getFormatTypes()}const pd=new Set(["a","audio","button","details","embed","iframe","input","label","select","textarea","video"]);function fd({formatTypes:e,onChange:t,onFocus:n,value:o,forwardedRef:r}){return e.map(e=>{const{name:l,edit:a}=e;if(!a)return null;const s=Object(c.getActiveFormat)(o,l),u=void 0!==s,d=Object(c.getActiveObject)(o),b=void 0!==d&&d.type===l;return Object(i.createElement)(a,{key:l,isActive:u,activeAttributes:u&&s.attributes||{},isObjectActive:b,activeObjectAttributes:b&&d.attributes||{},value:o,onChange:t,onFocus:n,contentRef:r})})}const gd=Object(i.forwardRef)((function e({children:t,tagName:n="div",value:o="",onChange:r,isSelected:a,multiline:b,inlineToolbar:g,wrapperClassName:h,autocompleters:j,onReplace:v,placeholder:k,allowedFormats:_,formattingControls:y,withoutInteractiveFormatting:E,onRemove:C,onMerge:S,onSplit:w,__unstableOnSplitAtEnd:B,__unstableOnSplitMiddle:I,identifier:x,preserveWhiteSpace:T,__unstablePastePlainText:N,__unstableEmbedURLOnPaste:P,__unstableDisableFormats:L,disableLineBreaks:R,unstableOnFocus:A,__unstableAllowPrefixTransformations:M,...D},F){const V=Object(d.useInstanceId)(e);x=x||V,D=function(e){return Object(u.omit)(e,["__unstableMobileNoFocusOnMount","deleteEnter","placeholderTextColor","textAlign","selectionColor","tagsToEliminate","rootTagsToEliminate","disableEditingMenu","fontSize","fontFamily","fontWeight","fontStyle","minWidth","maxWidth","setRef"])}(D);const H=Object(i.useRef)(),{clientId:z}=O(),{selectionStart:G,selectionEnd:U,isSelected:W,disabled:K}=Object(f.useSelect)(e=>{const{getSelectionStart:t,getSelectionEnd:n,isMultiSelecting:o,hasMultiSelection:r}=e(An),c=t(),l=n();let i;return void 0===a?i=c.clientId===z&&c.attributeKey===x:a&&(i=c.clientId===z),{selectionStart:i?c.offset:void 0,selectionEnd:i?l.offset:void 0,isSelected:i,disabled:o()||r()}}),{selectionChange:q}=Object(f.useDispatch)(An),$=id(b),Y=ad({allowedFormats:_,formattingControls:y,disableFormats:L}),X=!Y||Y.length>0;let Q=o,Z=r;Array.isArray(o)&&(Q=m.children.toHTML(o),Z=e=>r(m.children.fromDOM(Object(c.__unstableCreateElement)(document,e).childNodes)));const J=Object(i.useCallback)((e,t)=>{q(z,x,e,t)},[z,x]),{formatTypes:ee,prepareHandlers:te,valueHandlers:ne,changeHandlers:oe,dependencies:re}=function({clientId:e,identifier:t,withoutInteractiveFormatting:n,allowedFormats:o}){const r=Object(f.useSelect)(md,[]),c=Object(i.useMemo)(()=>r.filter(({name:e,tagName:t})=>!(o&&!o.includes(e))&&(!n||!pd.has(t))),[r,o,pd]),l=Object(f.useSelect)(n=>c.reduce((o,r)=>(r.__experimentalGetPropsForEditableTreePreparation&&(o[r.name]=r.__experimentalGetPropsForEditableTreePreparation(n,{richTextIdentifier:t,blockClientId:e})),o),{}),[c,e,t]),a=Object(f.useDispatch)(),s=[],u=[],d=[],b=[];return c.forEach(n=>{if(n.__experimentalCreatePrepareEditableTree){const o=l[n.name],r=n.__experimentalCreatePrepareEditableTree(o,{richTextIdentifier:t,blockClientId:e});n.__experimentalCreateOnChangeEditableValue?u.push(r):s.push(r);for(const e in o)b.push(o[e])}if(n.__experimentalCreateOnChangeEditableValue){let o={};n.__experimentalGetPropsForEditableTreeChangeHandler&&(o=n.__experimentalGetPropsForEditableTreeChangeHandler(a,{richTextIdentifier:t,blockClientId:e})),d.push(n.__experimentalCreateOnChangeEditableValue({...l[n.name]||{},...o},{richTextIdentifier:t,blockClientId:e}))}}),{formatTypes:c,prepareHandlers:s,valueHandlers:u,changeHandlers:d,dependencies:b}}({clientId:z,identifier:x,withoutInteractiveFormatting:E,allowedFormats:Y});function ce(e){return ee.forEach(t=>{t.__experimentalCreatePrepareEditableTree&&(e=Object(c.removeFormat)(e,t.name,0,e.text.length))}),e.formats}const{value:le,onChange:ie,onFocus:ae,ref:se}=Object(c.__unstableUseRichText)({value:Q,onChange(e,{__unstableFormats:t,__unstableText:n}){Z(e),Object.values(oe).forEach(e=>{e(t,n)})},selectionStart:G,selectionEnd:U,onSelectionChange:J,placeholder:k,__unstableIsSelected:W,__unstableMultilineTag:$,__unstableDisableFormats:L,preserveWhiteSpace:T,__unstableDependencies:re,__unstableAfterParse:function(e){return ne.reduce((t,n)=>n(t,e.text),e.formats)},__unstableBeforeSerialize:ce,__unstableAddInvisibleFormats:function(e){return te.reduce((t,n)=>n(t,e.text),e.formats)}}),ue=function(e){return Object(p.__unstableUseAutocompleteProps)({...e,completers:Gl(e)})}({onReplace:v,completers:j,record:le,onChange:ie});!function({value:e}){const t=e.activeFormats&&!!e.activeFormats.length,{isCaretWithinFormattedText:n}=Object(f.useSelect)(An),{enterFormattedText:o,exitFormattedText:r}=Object(f.useDispatch)(An);Object(i.useEffect)(()=>{t?n()||o():n()&&r()},[t])}({value:le}),function({html:e,value:t}){const n=Object(i.useRef)(),o=t.activeFormats&&!!t.activeFormats.length,{__unstableMarkLastChangeAsPersistent:r}=Object(f.useDispatch)(An);Object(i.useLayoutEffect)(()=>{if(n.current){if(n.current!==t.text){const e=window.setTimeout(()=>{r()},1e3);return n.current=t.text,()=>{window.clearTimeout(e)}}r()}else n.current=t.text},[e,o])}({html:Q,value:le});const de=n,be=Object(i.createElement)(i.Fragment,null,W&&t&&t({value:le,onChange:ie,onFocus:ae}),W&&Object(i.createElement)(Ju,null),W&&ue.children,W&&Object(i.createElement)(fd,{value:le,onChange:ie,onFocus:ae,formatTypes:ee,forwardedRef:H}),W&&X&&Object(i.createElement)(nd,{inline:g,anchorRef:H.current}),Object(i.createElement)(de,Object(l.a)({role:"textbox","aria-multiline":!0,"aria-label":k},D,ue,{ref:Object(d.useMergeRefs)([ue.ref,D.ref,se,dd({value:le,onChange:ie,__unstableAllowPrefixTransformations:M,formatTypes:ee,onReplace:v}),od(),ud({isSelected:W,disableFormats:L,onChange:ie,value:le,formatTypes:ee,tagName:n,onReplace:v,onSplit:w,onSplitMiddle:I,__unstableEmbedURLOnPaste:P,multilineTag:$,preserveWhiteSpace:T,pastePlainText:N}),bd({removeEditorOnlyFormats:ce,value:le,onReplace:v,onSplit:w,onSplitMiddle:I,multilineTag:$,onChange:ie,disableLineBreaks:R,onSplitAtEnd:B}),H,F]),contentEditable:!K||void 0,suppressContentEditableWarning:!K,className:s()("block-editor-rich-text__editable",D.className,"rich-text"),onFocus:A,onKeyDown:function(e){const{keyCode:t}=e;if(!e.defaultPrevented&&(t===cc.DELETE||t===cc.BACKSPACE)){const{start:n,end:o,text:r}=le,l=t===cc.BACKSPACE,i=le.activeFormats&&!!le.activeFormats.length;if(!Object(c.isCollapsed)(le)||i||l&&0!==n||!l&&o!==r.length)return;S&&S(!l),C&&Object(c.isEmpty)(le)&&l&&C(!l),e.preventDefault()}}})));if(!h)return be;Bt()("wp.blockEditor.RichText wrapperClassName prop",{since:"5.4",alternative:"className prop or create your own wrapper div"});const me=s()("block-editor-rich-text",h);return Object(i.createElement)("div",{className:me},be)}));gd.Content=({value:e,tagName:t,multiline:n,...o})=>{Array.isArray(e)&&(e=m.children.toHTML(e));const r=id(n);!e&&r&&(e=`<${r}></${r}>`);const c=Object(i.createElement)(i.RawHTML,null,e);return t?Object(i.createElement)(t,Object(u.omit)(o,["format"]),c):c},gd.isEmpty=e=>!e||0===e.length;var hd=gd;function Od({value:e,onChange:t}){return Object(i.createElement)(Du,null,Object(i.createElement)(hd,{value:e,onChange:t,placeholder:Object(j.__)("Navigation item"),withoutInteractiveFormatting:!0,allowedFormats:["core/bold","core/italic","core/image","core/strikethrough"]}))}var jd=n("Civd");var vd=function({icon:e=jd.a,label:t=Object(j.__)("Choose variation"),instructions:n=Object(j.__)("Select a variation to start with."),variations:o,onSelect:r,allowSkip:c}){const l=s()("block-editor-block-variation-picker",{"has-many-variations":o.length>4});return Object(i.createElement)(p.Placeholder,{icon:e,label:t,instructions:n,className:l},Object(i.createElement)("ul",{className:"block-editor-block-variation-picker__variations",role:"list","aria-label":Object(j.__)("Block variations")},o.map(e=>Object(i.createElement)("li",{key:e.name},Object(i.createElement)(p.Button,{isSecondary:!0,icon:e.icon,iconSize:48,onClick:()=>r(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)))),c&&Object(i.createElement)("div",{className:"block-editor-block-variation-picker__skip"},Object(i.createElement)(p.Button,{isLink:!0,onClick:()=>r()},Object(j.__)("Skip"))))},kd=n("b2RC");const _d="carousel",yd="grid",Ed=({onStartBlank:e,onBlockPatternSelect:t})=>Object(i.createElement)("div",{className:"block-editor-block-pattern-setup__actions"},Object(i.createElement)(p.Button,{onClick:e},Object(j.__)("Start blank")),Object(i.createElement)(p.Button,{isPrimary:!0,onClick:t},Object(j.__)("Choose"))),Cd=({handlePrevious:e,handleNext:t,activeSlide:n,totalSlides:o})=>Object(i.createElement)("div",{className:"block-editor-block-pattern-setup__navigation"},Object(i.createElement)(p.Button,{icon:hi.a,label:Object(j.__)("Previous pattern"),onClick:e,disabled:0===n}),Object(i.createElement)(p.Button,{icon:gi.a,label:Object(j.__)("Next pattern"),onClick:t,disabled:n===o-1}));var Sd=({viewMode:e,setViewMode:t,handlePrevious:n,handleNext:o,activeSlide:r,totalSlides:c,onBlockPatternSelect:l,onStartBlank:a})=>{const s=e===_d,u=Object(i.createElement)("div",{className:"block-editor-block-pattern-setup__display-controls"},Object(i.createElement)(p.Button,{icon:Yn,label:Object(j.__)("Carousel view"),onClick:()=>t(_d),isPressed:s}),Object(i.createElement)(p.Button,{icon:kd.a,label:Object(j.__)("Grid view"),onClick:()=>t(yd),isPressed:e===yd}));return Object(i.createElement)("div",{className:"block-editor-block-pattern-setup__toolbar"},s&&Object(i.createElement)(Cd,{handlePrevious:n,handleNext:o,activeSlide:r,totalSlides:c}),u,s&&Object(i.createElement)(Ed,{onBlockPatternSelect:l,onStartBlank:a}))};var wd=function(e,t,n){return Object(f.useSelect)(o=>{const{getBlockRootClientId:r,__experimentalGetPatternsByBlockTypes:c,__experimentalGetParsedPattern:l,__experimentalGetAllowedPatterns:i}=o(An),a=r(e);let s=[];return s=n?i(a).filter(n):c(t,a),s.map(({name:e})=>l(e))},[e,t,n])};const Bd=({viewMode:e,activeSlide:t,patterns:n,onBlockPatternSelect:o})=>{const r=Object(p.__unstableUseCompositeState)(),c="block-editor-block-pattern-setup__container";if(e===_d){const e=new Map([[t,"active-slide"],[t-1,"previous-slide"],[t+1,"next-slide"]]);return Object(i.createElement)("div",{className:c},Object(i.createElement)("ul",{className:"carousel-container"},n.map((t,n)=>Object(i.createElement)(xd,{className:e.get(n)||"",key:t.name,pattern:t}))))}return Object(i.createElement)(p.__unstableComposite,Object(l.a)({},r,{role:"listbox",className:c,"aria-label":Object(j.__)("Patterns list")}),n.map(e=>Object(i.createElement)(Id,{key:e.name,pattern:e,onSelect:o,composite:r})))};function Id({pattern:e,onSelect:t,composite:n}){const o="block-editor-block-pattern-setup-list",{blocks:r,title:c,description:a,viewportWidth:s=700}=e,u=Object(d.useInstanceId)(Id,o+"__item-description");return Object(i.createElement)("div",{className:o+"__list-item","aria-label":e.title,"aria-describedby":e.description?u:void 0},Object(i.createElement)(p.__unstableCompositeItem,Object(l.a)({role:"option",as:"div"},n,{className:o+"__item",onClick:()=>t(r)}),Object(i.createElement)(ha,{blocks:r,viewportWidth:s}),Object(i.createElement)("div",{className:o+"__item-title"},c)),!!a&&Object(i.createElement)(p.VisuallyHidden,{id:u},a))}function xd({className:e,pattern:t}){const{blocks:n,title:o,description:r}=t,c=Object(d.useInstanceId)(xd,"block-editor-block-pattern-setup-list__item-description");return Object(i.createElement)("li",{className:"pattern-slide "+e,"aria-label":o,"aria-describedby":r?c:void 0},Object(i.createElement)(ha,{blocks:n,__experimentalLive:!0}),!!r&&Object(i.createElement)(p.VisuallyHidden,{id:c},r))}var Td=({clientId:e,blockName:t,filterPatternsFn:n,startBlankComponent:o,onBlockPatternSelect:r})=>{const[c,l]=Object(i.useState)(_d),[a,s]=Object(i.useState)(0),[u,d]=Object(i.useState)(!1),{replaceBlock:b}=Object(f.useDispatch)(An),p=wd(e,t,n);if(null==p||!p.length||u)return o;const g=r||(t=>{const n=t.map(e=>Object(m.cloneBlock)(e));b(e,n)});return Object(i.createElement)("div",{className:"block-editor-block-pattern-setup view-mode-"+c},Object(i.createElement)(Sd,{viewMode:c,setViewMode:l,activeSlide:a,totalSlides:p.length,handleNext:()=>{s(e=>e+1)},handlePrevious:()=>{s(e=>e-1)},onBlockPatternSelect:()=>{g(p[a].blocks)},onStartBlank:()=>{d(!0)}}),Object(i.createElement)(Bd,{viewMode:c,activeSlide:a,patterns:p,onBlockPatternSelect:g}))};const Nd=(e,t)=>{if(!t||!e)return;const n=t.filter(({attributes:t})=>!(!t||!Object.keys(t).length)&&Object(u.isMatch)(e,t));return 1===n.length?n[0]:void 0};var Pd=function({blockClientId:e}){const[t,n]=Object(i.useState)(),{updateBlockAttributes:o}=Object(f.useDispatch)(An),{variations:r,blockAttributes:c}=Object(f.useSelect)(t=>{const{getBlockVariations:n}=t(m.store),{getBlockName:o,getBlockAttributes:r}=t(An),c=e&&o(e);return{variations:c&&n(c,"transform"),blockAttributes:r(e)}},[e]);if(Object(i.useEffect)(()=>{var e;n(null===(e=Nd(c,r))||void 0===e?void 0:e.name)},[c,r]),null==r||!r.length)return null;const l=r.map(({name:e,title:t,description:n})=>({value:e,label:t,info:n})),a=t=>{o(e,{...r.find(({name:e})=>e===t).attributes})},s="block-editor-block-variation-transforms";return Object(i.createElement)(p.DropdownMenu,{className:s,label:Object(j.__)("Transform to variation"),text:Object(j.__)("Transform to variation"),popoverProps:{position:"bottom center",className:s+"__popover"},icon:ji.a,toggleProps:{iconPosition:"right"}},()=>Object(i.createElement)("div",{className:s+"__container"},Object(i.createElement)(p.MenuGroup,null,Object(i.createElement)(p.MenuItemsChoice,{choices:l,value:t,onSelect:a}))))};const Ld=Object(i.createElement)(p.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(p.Path,{d:"M15 4H9v11h6V4zM4 18.5V20h16v-1.5H4z"})),Rd=Object(i.createElement)(p.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(p.Path,{d:"M20 11h-5V4H9v7H4v1.5h5V20h6v-7.5h5z"})),Ad={top:{icon:Object(i.createElement)(p.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(p.Path,{d:"M9 20h6V9H9v11zM4 4v1.5h16V4H4z"})),title:Object(j._x)("Align top","Block vertical alignment setting")},center:{icon:Rd,title:Object(j._x)("Align middle","Block vertical alignment setting")},bottom:{icon:Ld,title:Object(j._x)("Align bottom","Block vertical alignment setting")}},Md=["top","center","bottom"],Dd={isAlternate:!0};var Fd=function({value:e,onChange:t,controls:n=Md,isCollapsed:o=!0,isToolbar:r}){const c=Ad[e],a=Ad.top,s=r?p.ToolbarGroup:p.ToolbarDropdownMenu,u=r?{isCollapsed:o}:{};return Object(i.createElement)(s,Object(l.a)({popoverProps:Dd,icon:c?c.icon:a.icon,label:Object(j._x)("Change vertical alignment","Block vertical alignment setting label"),controls:n.map(n=>{return{...Ad[n],isActive:e===n,role:o?"menuitemradio":void 0,onClick:(r=n,()=>t(e===r?void 0:r))};var r})},u))};function Vd(e){return Object(i.createElement)(Fd,Object(l.a)({},e,{isToolbar:!1}))}function Hd(e){return Object(i.createElement)(Fd,Object(l.a)({},e,{isToolbar:!0}))}var zd=Object(d.createHigherOrderComponent)(e=>t=>{const n=Io("color.palette"),o=!Io("color.custom"),r=void 0===t.colors?n:t.colors,c=void 0===t.disableCustomColors?o:t.disableCustomColors,a=!Object(u.isEmpty)(r)||!c;return Object(i.createElement)(e,Object(l.a)({},t,{colors:r,disableCustomColors:c,hasColorsToChoose:a}))},"withColorContext"),Gd=zd(p.ColorPalette);function Ud({onChange:e,value:t,...n}){return Object(i.createElement)(qo,Object(l.a)({},n,{onColorChange:e,colorValue:t,gradients:[],disableCustomGradients:!0}))}const Wd=[];function Kd(e){const t=Io("color.gradients")||Wd,n=!Io("color.customGradient");return Object(i.createElement)(p.__experimentalGradientPicker,Object(l.a)({gradients:void 0!==e.gradients?e.gradient:t,disableCustomGradients:void 0!==e.disableCustomGradients?e.disableCustomGradients:n},e))}var qd=function(e){const t=void 0!==e.gradients&&void 0!==e.disableCustomGradients?p.__experimentalGradientPicker:Kd;return Object(i.createElement)(t,e)};function $d({className:e,value:t,onChange:n,label:o=Object(j.__)("Gradient Presets"),...r}){const c=Io("color.gradients"),a=!Io("color.customGradient");return Object(u.isEmpty)(c)&&a?null:Object(i.createElement)(p.BaseControl,{className:s()("block-editor-gradient-picker-control",e)},Object(i.createElement)(p.BaseControl.VisualLabel,null,o),Object(i.createElement)(qd,Object(l.a)({value:t,onChange:n,className:"block-editor-gradient-picker-control__gradient-picker-presets",gradients:c,disableCustomGradients:a},r)))}function Yd(e){const t=Io("color.gradients");return Object(u.isEmpty)(t)?null:Object(i.createElement)(p.PanelBody,{title:Object(j.__)("Gradient")},Object(i.createElement)($d,e))}const Xd=[25,50,75,100];function Qd({imageWidth:e,imageHeight:t,imageSizeOptions:n=[],isResizable:o=!0,slug:r,width:c,height:l,onChange:a,onChangeImage:s=u.noop}){var d,b;function m(e,t){return()=>{a({width:e,height:t})}}return Object(i.createElement)(i.Fragment,null,!Object(u.isEmpty)(n)&&Object(i.createElement)(p.SelectControl,{label:Object(j.__)("Image size"),value:r,options:n,onChange:s}),o&&Object(i.createElement)("div",{className:"block-editor-image-size-control"},Object(i.createElement)("p",{className:"block-editor-image-size-control__row"},Object(j.__)("Image dimensions")),Object(i.createElement)("div",{className:"block-editor-image-size-control__row"},Object(i.createElement)(p.TextControl,{type:"number",className:"block-editor-image-size-control__width",label:Object(j.__)("Width"),value:null!==(d=null!=c?c:e)&&void 0!==d?d:"",min:1,onChange:e=>a({width:parseInt(e,10)})}),Object(i.createElement)(p.TextControl,{type:"number",className:"block-editor-image-size-control__height",label:Object(j.__)("Height"),value:null!==(b=null!=l?l:t)&&void 0!==b?b:"",min:1,onChange:e=>a({height:parseInt(e,10)})})),Object(i.createElement)("div",{className:"block-editor-image-size-control__row"},Object(i.createElement)(p.ButtonGroup,{"aria-label":Object(j.__)("Image size presets")},Xd.map(n=>{const o=Math.round(e*(n/100)),r=Math.round(t*(n/100)),a=c===o&&l===r;return Object(i.createElement)(p.Button,{key:n,isSmall:!0,isPrimary:a,isPressed:a,onClick:m(o,r)},n,"%")})),Object(i.createElement)(p.Button,{isSmall:!0,onClick:m()},Object(j.__)("Reset")))))}var Zd=Object(d.createHigherOrderComponent)(e=>t=>{const{clientId:n}=O();return Object(i.createElement)(e,Object(l.a)({},t,{clientId:n}))},"withClientId");var Jd=Zd(({clientId:e,showSeparator:t,isFloating:n,onAddBlock:o})=>Object(i.createElement)(cs,{rootClientId:e,showSeparator:t,isFloating:n,onAddBlock:o}));var eb=Object(d.compose)([Zd,Object(f.withSelect)((e,{clientId:t})=>{const{getBlockOrder:n}=e(An),o=n(t);return{lastBlockClientId:Object(u.last)(o)}})])(({clientId:e,lastBlockClientId:t})=>Object(i.createElement)(rs,{rootClientId:e,lastBlockClientId:t})),tb=n("rl8x"),nb=n.n(tb);const ob=new WeakMap;function rb(e){const{clientId:t,allowedBlocks:n,template:o,templateLock:r,wrapperRef:c,templateInsertUpdatesSelection:l,__experimentalCaptureToolbars:a,__experimentalAppenderTagName:s,renderAppender:d,orientation:b,placeholder:p,__experimentalLayout:g}=e;!function(e,t,n,o,r){const{updateBlockListSettings:c}=Object(f.useDispatch)(An),{blockListSettings:l,parentLock:a}=Object(f.useSelect)(t=>{const n=t(An).getBlockRootClientId(e);return{blockListSettings:t(An).getBlockListSettings(e),parentLock:t(An).getTemplateLock(n)}},[e]),s=Object(i.useMemo)(()=>t,t);Object(i.useLayoutEffect)(()=>{const t={allowedBlocks:s,templateLock:void 0===n?a:n};void 0!==o&&(t.__experimentalCaptureToolbars=o),void 0!==r&&(t.orientation=r),nb()(l,t)||c(e,t)},[e,l,s,n,a,o,r,c])}(t,n,r,a,b),function(e,t,n,o){const{getSelectedBlocksInitialCaretPosition:r}=Object(f.useSelect)(An),{replaceInnerBlocks:c}=Object(f.useDispatch)(An),l=Object(f.useSelect)(t=>t(An).getBlocks(e),[e]),a=Object(i.useRef)(null);Object(i.useLayoutEffect)(()=>{if(0===l.length||"all"===n){if(!Object(u.isEqual)(t,a.current)){a.current=t;const n=Object(m.synchronizeBlocksWithTemplate)(l,t);Object(u.isEqual)(n,l)||c(e,n,0===l.length&&o&&0!==n.length,r())}}},[l,t,n,e])}(t,o,r,l);const h=Object(f.useSelect)(e=>{const n=e(An).getBlock(t),o=Object(m.getBlockType)(n.name);if(o&&o.providesContext)return function(e,t){ob.has(t)||ob.set(t,new WeakMap);const n=ob.get(t);if(!n.has(e)){const o=Object(u.mapValues)(t.providesContext,t=>e[t]);n.set(e,o)}return n.get(e)}(n.attributes,o)},[t]);return Object(i.createElement)(Zl,{value:h},Object(i.createElement)(Cu,{rootClientId:t,renderAppender:d,__experimentalAppenderTagName:s,__experimentalLayout:g,wrapperRef:c,placeholder:p}))}function cb(e){return ba(e),Object(i.createElement)(rb,e)}const lb=Object(i.forwardRef)((e,t)=>{const n=ib({ref:t},e);return Object(i.createElement)("div",{className:"block-editor-inner-blocks"},Object(i.createElement)("div",n))});function ib(e={},t={}){const{clientId:n}=O(),o=Object(d.useViewportMatch)("medium","<"),r=Object(f.useSelect)(e=>{const{getBlockName:t,isBlockSelected:r,hasSelectedInnerBlock:c,isNavigationMode:l}=e(An),i=l()||o;return"core/template"!==t(n)&&!r(n)&&!c(n,!0)&&i},[n,o]),c=Object(d.useMergeRefs)([e.ref,ds({rootClientId:n})]),a=t.value&&t.onChange?cb:rb;return{...e,ref:c,className:s()(e.className,"block-editor-block-list__layout",{"has-overlay":r}),children:Object(i.createElement)(a,Object(l.a)({},t,{clientId:n}))}}lb.DefaultBlockAppender=eb,lb.ButtonBlockAppender=Jd,lb.Content=Object(m.withBlockContentContext)(({BlockContent:e})=>Object(i.createElement)(e,null));var ab=lb;var sb=Object(i.createElement)(Un.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(Un.Path,{d:"M9 9v6h11V9H9zM4 20h1.5V4H4v16z"}));var ub=Object(i.createElement)(Un.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(Un.Path,{d:"M20 9h-7.2V4h-1.6v5H4v6h7.2v5h1.6v-5H20z"}));var db=Object(i.createElement)(Un.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(Un.Path,{d:"M4 15h11V9H4v6zM18.5 4v16H20V4h-1.5z"}));var bb=Object(i.createElement)(Un.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(Un.Path,{d:"M9 15h6V9H9v6zm-5 5h1.5V4H4v16zM18.5 4v16H20V4h-1.5z"}));const mb={left:sb,center:ub,right:db,"space-between":bb};var pb=function({allowedControls:e=["left","center","right","space-between"],isCollapsed:t=!0,onChange:n,value:o,popoverProps:r,isToolbar:c}){const a=e=>{n(e===o?void 0:e)},s=o?mb[o]:mb.left,u=[{name:"left",icon:sb,title:Object(j.__)("Justify items left"),isActive:"left"===o,onClick:()=>a("left")},{name:"center",icon:ub,title:Object(j.__)("Justify items center"),isActive:"center"===o,onClick:()=>a("center")},{name:"right",icon:db,title:Object(j.__)("Justify items right"),isActive:"right"===o,onClick:()=>a("right")},{name:"space-between",icon:bb,title:Object(j.__)("Space between items"),isActive:"space-between"===o,onClick:()=>a("space-between")}],d=c?p.ToolbarGroup:p.ToolbarDropdownMenu,b=c?{isCollapsed:t}:{};return Object(i.createElement)(d,Object(l.a)({icon:s,popoverProps:r,label:Object(j.__)("Change items justification"),controls:u.filter(t=>e.includes(t.name))},b))};function fb(e){return Object(i.createElement)(pb,Object(l.a)({},e,{isToolbar:!1}))}function gb(e){return Object(i.createElement)(pb,Object(l.a)({},e,{isToolbar:!0}))}var hb=n("btIw");const Ob=[{id:"opensInNewTab",title:Object(j.__)("Open in new tab")}];var jb=({value:e,onChange:t=u.noop,settings:n=Ob})=>{if(!n||!n.length)return null;const o=n=>o=>{t({...e,[n.id]:o})},r=n.map(t=>Object(i.createElement)(p.ToggleControl,{className:"block-editor-link-control__setting",key:t.id,label:t.title,onChange:o(t),checked:!!e&&!!e[t.id]}));return Object(i.createElement)("fieldset",{className:"block-editor-link-control__settings"},Object(i.createElement)(p.VisuallyHidden,{as:"legend"},Object(j.__)("Currently selected link settings")),r)};class vb 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(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}=this.props;t&&null!==n&&this.suggestionNodes[n]&&!this.scrollingIntoView&&(this.scrollingIntoView=!0,ea()(this.suggestionNodes[n],this.autocompleteRef.current,{onlyScrollIfNeeded:!0}),this.props.setTimeout(()=>{this.scrollingIntoView=!1},100)),e.value!==o&&this.shouldShowInitialSuggestions()&&this.updateSuggestions()}componentDidMount(){this.shouldShowInitialSuggestions()&&this.updateSuggestions()}componentWillUnmount(){var e,t;null===(e=this.suggestionsRequest)||void 0===e||null===(t=e.cancel)||void 0===t||t.call(e),delete this.suggestionsRequest}bindSuggestionNode(e){return t=>{this.suggestionNodes[e]=t}}shouldShowInitialSuggestions(){const{suggestions:e}=this.state,{__experimentalShowInitialSuggestions:t=!1,value:n}=this.props;return!this.isUpdatingSuggestions&&t&&!(n&&n.length)&&!(e&&e.length)}updateSuggestions(e=""){const{__experimentalFetchLinkSuggestions:t,__experimentalHandleURLSuggestions:n}=this.props;if(!t)return;const o=!(e&&e.length);if(!o&&(e.length<2||!n&&Object(Va.isURL)(e)))return void this.setState({showSuggestions:!1,selectedSuggestion:null,loading:!1});this.isUpdatingSuggestions=!0,this.setState({selectedSuggestion:null,loading:!0});const r=t(e,{isInitialSuggestions:o});r.then(e=>{this.suggestionsRequest===r&&(this.setState({suggestions:e,loading:!1,showSuggestions:!!e.length}),e.length?this.props.debouncedSpeak(Object(j.sprintf)(Object(j._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(j.__)("No results."),"assertive"),this.isUpdatingSuggestions=!1)}).catch(()=>{this.suggestionsRequest===r&&(this.setState({loading:!1}),this.isUpdatingSuggestions=!1)}),this.suggestionsRequest=r}onChange(e){const t=e.target.value;this.props.onChange(t),this.props.disableSuggestions||this.updateSuggestions(t.trim())}onFocus(){const{suggestions:e}=this.state,{disableSuggestions:t,value:n}=this.props;!n||t||this.isUpdatingSuggestions||e&&e.length||this.updateSuggestions(n.trim())}onKeyDown(e){const{showSuggestions:t,selectedSuggestion:n,suggestions:o,loading:r}=this.state;if(!t||!o.length||r){switch(e.keyCode){case cc.UP:0!==e.target.selectionStart&&(e.stopPropagation(),e.preventDefault(),e.target.setSelectionRange(0,0));break;case cc.DOWN:this.props.value.length!==e.target.selectionStart&&(e.stopPropagation(),e.preventDefault(),e.target.setSelectionRange(this.props.value.length,this.props.value.length))}return}const c=this.state.suggestions[this.state.selectedSuggestion];switch(e.keyCode){case cc.UP:{e.stopPropagation(),e.preventDefault();const t=n?n-1:o.length-1;this.setState({selectedSuggestion:t});break}case cc.DOWN:{e.stopPropagation(),e.preventDefault();const t=null===n||n===o.length-1?0:n+1;this.setState({selectedSuggestion:t});break}case cc.TAB:null!==this.state.selectedSuggestion&&(this.selectLink(c),this.props.speak(Object(j.__)("Link selected.")));break;case cc.ENTER:null!==this.state.selectedSuggestion&&(e.stopPropagation(),this.selectLink(c))}}selectLink(e){this.props.onChange(e.url,e),this.setState({selectedSuggestion:null,showSuggestions:!1})}handleOnClick(e){this.selectLink(e),this.inputRef.current.focus()}static getDerivedStateFromProps({value:e,instanceId:t,disableSuggestions:n,__experimentalShowInitialSuggestions:o=!1},{showSuggestions:r}){let c=r;const l=e&&e.length;return o||l||(c=!1),!0===n&&(c=!1),{showSuggestions:c,suggestionsListboxId:"block-editor-url-input-suggestions-"+t,suggestionOptionIdPrefix:"block-editor-url-input-suggestion-"+t}}render(){return Object(i.createElement)(i.Fragment,null,this.renderControl(),this.renderSuggestions())}renderControl(){const{label:e,className:t,isFullWidth:n,instanceId:o,placeholder:r=Object(j.__)("Paste URL or type to search"),__experimentalRenderControl:c,value:l=""}=this.props,{loading:a,showSuggestions:u,selectedSuggestion:d,suggestionsListboxId:b,suggestionOptionIdPrefix:m}=this.state,f={id:"url-input-control-"+o,label:e,className:s()("block-editor-url-input",t,{"is-full-width":n})},g={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(j.__)("URL"),"aria-expanded":u,"aria-autocomplete":"list","aria-owns":b,"aria-activedescendant":null!==d?`${m}-${d}`:void 0,ref:this.inputRef};return c?c(f,g,a):Object(i.createElement)(p.BaseControl,f,Object(i.createElement)("input",g),a&&Object(i.createElement)(p.Spinner,null))}renderSuggestions(){const{className:e,__experimentalRenderSuggestions:t,value:n="",__experimentalShowInitialSuggestions:o=!1}=this.props,{showSuggestions:r,suggestions:c,selectedSuggestion:a,suggestionsListboxId:d,suggestionOptionIdPrefix:b,loading:m}=this.state,f={id:d,ref:this.autocompleteRef,role:"listbox"},g=(e,t)=>({role:"option",tabIndex:"-1",id:`${b}-${t}`,ref:this.bindSuggestionNode(t),"aria-selected":t===a});return Object(u.isFunction)(t)&&r&&c.length?t({suggestions:c,selectedSuggestion:a,suggestionsListProps:f,buildSuggestionItemProps:g,isLoading:m,handleSuggestionClick:this.handleOnClick,isInitialSuggestions:o&&!(n&&n.length)}):!Object(u.isFunction)(t)&&r&&c.length?Object(i.createElement)(p.Popover,{position:"bottom",noArrow:!0,focusOnMount:!1},Object(i.createElement)("div",Object(l.a)({},f,{className:s()("block-editor-url-input__suggestions",e+"__suggestions")}),c.map((e,t)=>Object(i.createElement)(p.Button,Object(l.a)({},g(0,t),{key:e.id,className:s()("block-editor-url-input__suggestion",{"is-selected":t===a}),onClick:()=>this.handleOnClick(e)}),e.title)))):null}}var kb=Object(d.compose)(d.withSafeTimeout,p.withSpokenMessages,d.withInstanceId,Object(f.withSelect)((e,t)=>{if(Object(u.isFunction)(t.__experimentalFetchLinkSuggestions))return;const{getSettings:n}=e(An);return{__experimentalFetchLinkSuggestions:n().__experimentalFetchLinkSuggestions}}))(vb);var _b=({searchTerm:e,onClick:t,itemProps:n,isSelected:o,buttonText:r})=>{if(!e)return null;let c;return c=r?Object(u.isFunction)(r)?r(e):r:Object(i.createInterpolateElement)(Object(j.sprintf)(Object(j.__)("Create: <mark>%s</mark>"),e),{mark:Object(i.createElement)("mark",null)}),Object(i.createElement)(p.Button,Object(l.a)({},n,{className:s()("block-editor-link-control__search-create block-editor-link-control__search-item",{"is-selected":o}),onClick:t}),Object(i.createElement)(qc.a,{className:"block-editor-link-control__search-item-icon",icon:ca.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"},c)))};var yb=Object(i.createElement)(Un.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(i.createElement)(Un.Path,{d:"M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zM1.11 9.68h2.51c.04.91.167 1.814.38 2.7H1.84c-.403-.85-.65-1.764-.73-2.7zm8.57-5.4V1.19c.964.366 1.756 1.08 2.22 2 .205.347.386.708.54 1.08l-2.76.01zm3.22 1.35c.232.883.37 1.788.41 2.7H9.68v-2.7h3.22zM8.32 1.19v3.09H5.56c.154-.372.335-.733.54-1.08.462-.924 1.255-1.64 2.22-2.01zm0 4.44v2.7H4.7c.04-.912.178-1.817.41-2.7h3.21zm-4.7 2.69H1.11c.08-.936.327-1.85.73-2.7H4c-.213.886-.34 1.79-.38 2.7zM4.7 9.68h3.62v2.7H5.11c-.232-.883-.37-1.788-.41-2.7zm3.63 4v3.09c-.964-.366-1.756-1.08-2.22-2-.205-.347-.386-.708-.54-1.08l2.76-.01zm1.35 3.09v-3.04h2.76c-.154.372-.335.733-.54 1.08-.464.92-1.256 1.634-2.22 2v-.04zm0-4.44v-2.7h3.62c-.04.912-.178 1.817-.41 2.7H9.68zm4.71-2.7h2.51c-.08.936-.327 1.85-.73 2.7H14c.21-.87.337-1.757.38-2.65l.01-.05zm0-1.35c-.046-.894-.176-1.78-.39-2.65h2.16c.403.85.65 1.764.73 2.7l-2.5-.05zm1-4H13.6c-.324-.91-.793-1.76-1.39-2.52 1.244.56 2.325 1.426 3.14 2.52h.04zm-9.6-2.52c-.597.76-1.066 1.61-1.39 2.52H2.65c.815-1.094 1.896-1.96 3.14-2.52zm-3.15 12H4.4c.324.91.793 1.76 1.39 2.52-1.248-.567-2.33-1.445-3.14-2.55l-.01.03zm9.56 2.52c.597-.76 1.066-1.61 1.39-2.52h1.76c-.82 1.08-1.9 1.933-3.14 2.48l-.01.04z"}));var Eb=({itemProps:e,suggestion:t,isSelected:n=!1,onClick:o,isURL:r=!1,searchTerm:c="",shouldShowType:a=!1})=>Object(i.createElement)(p.Button,Object(l.a)({},e,{onClick:o,className:s()("block-editor-link-control__search-item",{"is-selected":n,"is-url":r,"is-entity":!r})}),r&&Object(i.createElement)(qc.a,{className:"block-editor-link-control__search-item-icon",icon:yb}),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)(p.TextHighlight,{text:t.title,highlight:c})),Object(i.createElement)("span",{"aria-hidden":!r,className:"block-editor-link-control__search-item-info"},!r&&(Object(Va.filterURLForDisplay)(Object(Va.safeDecodeURI)(t.url))||""),r&&Object(j.__)("Press ENTER to add this link"))),a&&t.type&&Object(i.createElement)("span",{className:"block-editor-link-control__search-item-type"},"post_tag"===t.type?"tag":t.type));function Cb({instanceId:e,withCreateSuggestion:t,currentInputValue:n,handleSuggestionClick:o,suggestionsListProps:r,buildSuggestionItemProps:c,suggestions:a,selectedSuggestion:u,isLoading:d,isInitialSuggestions:b,createSuggestionButtonText:m,suggestionsQuery:f}){const g=s()("block-editor-link-control__search-results",{"is-loading":d}),h=["url","mailto","tel","internal"],O=1===a.length&&h.includes(a[0].type.toLowerCase()),v=t&&!O&&!b,k=!(null!=f&&f.type),_="block-editor-link-control-search-results-label-"+e,y=b?Object(j.__)("Recently updated"):Object(j.sprintf)(Object(j.__)('Search results for "%s"'),n),E=Object(i.createElement)(b?i.Fragment:p.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)({},r,{className:g,"aria-labelledby":_}),a.map((e,t)=>v&&"__CREATE__"===e.type?Object(i.createElement)(_b,{searchTerm:n,buttonText:m,onClick:()=>o(e),key:e.type,itemProps:c(e,t),isSelected:t===u}):"__CREATE__"===e.type?null:Object(i.createElement)(Eb,{key:`${e.id}-${e.type}`,itemProps:c(e,t),suggestion:e,index:t,onClick:()=>{o(e)},isSelected:t===u,isURL:h.includes(e.type.toLowerCase()),searchTerm:n,shouldShowType:k}))))}function Sb(e){const t=Object(u.startsWith)(e,"#");return Object(Va.isURL)(e)||e&&e.includes("www.")||t}const wb=()=>Promise.resolve([]),Bb=e=>{let t="URL";const n=Object(Va.getProtocol)(e)||"";return n.includes("mailto")&&(t="mailto"),n.includes("tel")&&(t="tel"),Object(u.startsWith)(e,"#")&&(t="internal"),Promise.resolve([{id:e,title:e,url:"URL"===t?Object(Va.prependHTTP)(e):e,type:t}])};function Ib(e,t,n,o){const{fetchSearchSuggestions:r}=Object(f.useSelect)(e=>{const{getSettings:t}=e(An);return{fetchSearchSuggestions:t().__experimentalFetchLinkSuggestions}},[]),c=t?Bb:wb;return Object(i.useCallback)((t,{isInitialSuggestions:l})=>Sb(t)?c(t,{isInitialSuggestions:l}):(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||Sb(e)||!r?i:i.concat({title:e,url:e,type:"__CREATE__"})})(t,{...e,isInitialSuggestions:l},r,c,n,o),[c,r,n])}const xb=Promise.resolve([]),Tb=Object(i.forwardRef)(({value:e,children:t,currentLink:n={},className:o=null,placeholder:r=null,withCreateSuggestion:c=!1,onCreateSuggestion:l=u.noop,onChange:a=u.noop,onSelect:s=u.noop,showSuggestions:b=!0,renderSuggestions:m=(e=>Object(i.createElement)(Cb,e)),fetchSuggestions:p=null,allowDirectEntry:f=!0,showInitialSuggestions:g=!1,suggestionsQuery:h={},withURLSuggestion:O=!0,createSuggestionButtonText:v},k)=>{const _=Ib(h,f,c,O),y=b?p||_:xb,E=Object(d.useInstanceId)(Tb),[C,S]=Object(i.useState)(),w=async e=>{let t=e;if("__CREATE__"!==e.type)(f||t&&Object.keys(t).length>=1)&&s({...Object(u.omit)(n,"id","url"),...t},t);else try{var o;t=await l(e.title),null!==(o=t)&&void 0!==o&&o.url&&s(t)}catch(e){}};return Object(i.createElement)("form",{onSubmit:t=>{t.preventDefault(),w(C||{url:e})}},Object(i.createElement)(kb,{className:o,value:e,onChange:(e,t)=>{a(e),S(t)},placeholder:null!=r?r:Object(j.__)("Search or type url"),__experimentalRenderSuggestions:b?t=>m({...t,instanceId:E,withCreateSuggestion:c,currentInputValue:e,createSuggestionButtonText:v,suggestionsQuery:h,handleSuggestionClick:e=>{t.handleSuggestionClick&&t.handleSuggestionClick(e),w(e)}}):null,__experimentalFetchLinkSuggestions:y,__experimentalHandleURLSuggestions:!0,__experimentalShowInitialSuggestions:g,ref:k}),t)});var Nb=Tb;const{Slot:Pb,Fill:Lb}=Object(p.createSlotFill)("BlockEditorLinkControlViewer");function Rb({value:e,onEditClick:t}){const n=e&&Object(Va.filterURLForDisplay)(Object(Va.safeDecodeURI)(e.url),16)||"";return Object(i.createElement)("div",{"aria-label":Object(j.__)("Currently selected"),"aria-selected":"true",className:s()("block-editor-link-control__search-item",{"is-current":!0})},Object(i.createElement)("span",{className:"block-editor-link-control__search-item-header"},Object(i.createElement)(p.ExternalLink,{className:"block-editor-link-control__search-item-title",href:e.url},e&&e.title||n),e&&e.title&&Object(i.createElement)("span",{className:"block-editor-link-control__search-item-info"},n)),Object(i.createElement)(p.Button,{isSecondary:!0,onClick:()=>t(),className:"block-editor-link-control__search-item-action"},Object(j.__)("Edit")),Object(i.createElement)(Pb,{fillProps:e}))}const Ab=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 Mb({searchInputPlaceholder:e,value:t,settings:n,onChange:o=u.noop,noDirectEntry:r=!1,showSuggestions:c=!0,showInitialSuggestions:l,forceIsEditingLink:a,createSuggestion:s,withCreateSuggestion:d,inputValue:b="",suggestionsQuery:m={},noURLSuggestion:f=!1,createSuggestionButtonText:g}){void 0===d&&s&&(d=!0);const h=Object(i.useRef)(!0),O=Object(i.useRef)(),[v,k]=Object(i.useState)(t&&t.url||""),_=b||v,[y,E]=Object(i.useState)(void 0!==a?a:!t||!t.url),C=Object(i.useRef)(!1);Object(i.useEffect)(()=>{void 0!==a&&a!==y&&E(a)},[a]),Object(i.useEffect)(()=>{if(h.current)return void(h.current=!1);if(!O.current.contains(O.current.ownerDocument.activeElement)){(ui.focus.focusable.find(O.current)[0]||O.current).focus()}C.current=!1},[y]);const{createPage:S,isCreatingPage:w,errorMessage:B}=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=Ab(Promise.resolve(e(n))),await t.current.promise}catch(e){if(e&&e.isCanceled)return;throw c(e.message||Object(j.__)("An unknown error occurred during creation. Please try again.")),e}finally{o(!1)}},isCreatingPage:n,errorMessage:r}}(s);return Object(i.createElement)("div",{tabIndex:-1,ref:O,className:"block-editor-link-control"},w&&Object(i.createElement)("div",{className:"block-editor-link-control__loading"},Object(i.createElement)(p.Spinner,null)," ",Object(j.__)("Creating"),"…"),(y||!t)&&!w&&Object(i.createElement)(i.Fragment,null,Object(i.createElement)("div",{className:"block-editor-link-control__search-input-wrapper"},Object(i.createElement)(Nb,{currentLink:t,className:"block-editor-link-control__search-input",placeholder:e,value:_,withCreateSuggestion:d,onCreateSuggestion:S,onChange:k,onSelect:e=>{var t;o(e),C.current=!(null===(t=O.current)||void 0===t||!t.contains(O.current.ownerDocument.activeElement)),E(!1)},showInitialSuggestions:l,allowDirectEntry:!r,showSuggestions:c,suggestionsQuery:m,withURLSuggestion:!f,createSuggestionButtonText:g},Object(i.createElement)("div",{className:"block-editor-link-control__search-actions"},Object(i.createElement)(p.Button,{type:"submit",label:Object(j.__)("Submit"),icon:hb.a,className:"block-editor-link-control__search-submit"})))),B&&Object(i.createElement)(p.Notice,{className:"block-editor-link-control__search-error",status:"error",isDismissible:!1},B)),t&&!y&&!w&&Object(i.createElement)(Rb,{value:t,onEditClick:()=>E(!0)}),Object(i.createElement)(jb,{value:t,settings:n,onChange:o}))}Mb.ViewerFill=Lb;var Db=Mb,Fb=n("rH4q"),Vb=n("NTP4");var Hb=Object(p.withFilters)("editor.MediaUpload")(()=>null);var zb=function({fallback:e=null,children:t}){return Object(f.useSelect)(e=>{const{getSettings:t}=e(An);return!!t().mediaUpload},[])?t:e};var Gb=Object(d.compose)([Object(f.withDispatch)(e=>{const{createNotice:t,removeNotice:n}=e(Pa.store);return{createNotice:t,removeNotice:n}}),Object(p.withFilters)("editor.MediaReplaceFlow")])(({mediaURL:e,mediaId:t,allowedTypes:n,accept:o,onSelect:r,onSelectURL:c,onFilesUpload:l=u.noop,name:a=Object(j.__)("Replace"),createNotice:s,removeNotice:d})=>{const[b,m]=Object(i.useState)(e),g=Object(f.useSelect)(e=>e(An).getSettings().mediaUpload,[]),h=Object(i.createRef)(),O=Object(u.uniqueId)("block-editor/media-replace-flow/error-notice/"),v=e=>{const t=document.createElement("div");t.innerHTML=Object(i.renderToString)(e);const n=t.textContent||t.innerText||"";setTimeout(()=>{s("error",n,{speak:!0,id:O,isDismissible:!0})},1e3)},k=e=>{r(e),m(e.url),Object(St.speak)(Object(j.__)("The media file has been replaced")),d(O)},_=e=>{e.keyCode===cc.DOWN&&(e.preventDefault(),e.stopPropagation(),e.target.click())};return Object(i.createElement)(p.Dropdown,{popoverProps:{isAlternate:!0},contentClassName:"block-editor-media-replace-flow__options",renderToggle:({isOpen:e,onToggle:t})=>Object(i.createElement)(p.ToolbarButton,{ref:h,"aria-expanded":e,"aria-haspopup":"true",onClick:t,onKeyDown:_},a),renderContent:({onClose:e})=>Object(i.createElement)(i.Fragment,null,Object(i.createElement)(p.NavigableMenu,{className:"block-editor-media-replace-flow__media-upload-menu"},Object(i.createElement)(Hb,{value:t,onSelect:e=>k(e),allowedTypes:n,render:({open:e})=>Object(i.createElement)(p.MenuItem,{icon:Fb.a,onClick:e},Object(j.__)("Open Media Library"))}),Object(i.createElement)(zb,null,Object(i.createElement)(p.FormFileUpload,{onChange:e=>{(e=>{const t=e.target.files;l(t);g({allowedTypes:n,filesList:t,onFileChange:([e])=>{k(e)},onError:v})})(e)},accept:o,render:({openFileDialog:e})=>Object(i.createElement)(p.MenuItem,{icon:Vb.a,onClick:()=>{e()}},Object(j.__)("Upload"))}))),c&&Object(i.createElement)("form",{className:"block-editor-media-flow__url-input",onKeyDown:e=>{[cc.TAB,cc.ESCAPE].includes(e.keyCode)||e.stopPropagation()},onKeyPress:e=>{[cc.TAB,cc.ESCAPE].includes(e.keyCode)||e.stopPropagation()}},Object(i.createElement)("span",{className:"block-editor-media-replace-flow__image-url-label"},Object(j.__)("Current media URL:")),Object(i.createElement)(Db,{value:{url:b},settings:[],showSuggestions:!1,onChange:({url:e})=>{m(e),c(e),h.current.focus()}})))})}),Ub=n("B9Az");function Wb({url:e,urlLabel:t,className:n}){const o=s()(n,"block-editor-url-popover__link-viewer-url");return e?Object(i.createElement)(p.ExternalLink,{className:o,href:e},t||Object(Va.filterURLForDisplay)(Object(Va.safeDecodeURI)(e))):Object(i.createElement)("span",{className:o})}function Kb({additionalControls:e,children:t,renderSettings:n,position:o="bottom center",focusOnMount:r="firstElement",...c}){const[a,s]=Object(i.useState)(!1),u=!!n&&a;return Object(i.createElement)(p.Popover,Object(l.a)({className:"block-editor-url-popover",focusOnMount:r,position:o},c),Object(i.createElement)("div",{className:"block-editor-url-popover__input-container"},Object(i.createElement)("div",{className:"block-editor-url-popover__row"},t,!!n&&Object(i.createElement)(p.Button,{className:"block-editor-url-popover__settings-toggle",icon:ji.a,label:Object(j.__)("Link settings"),onClick:()=>{s(!a)},"aria-expanded":a})),u&&Object(i.createElement)("div",{className:"block-editor-url-popover__row block-editor-url-popover__settings"},n())),e&&!u&&Object(i.createElement)("div",{className:"block-editor-url-popover__additional-controls"},e))}Kb.LinkEditor=function({autocompleteRef:e,className:t,onChangeInputValue:n,value:o,...r}){return Object(i.createElement)("form",Object(l.a)({className:s()("block-editor-url-popover__link-editor",t)},r),Object(i.createElement)(kb,{value:o,onChange:n,autocompleteRef:e}),Object(i.createElement)(p.Button,{icon:hb.a,label:Object(j.__)("Apply"),type:"submit"}))},Kb.LinkViewer=function({className:e,linkClassName:t,onEditLinkClick:n,url:o,urlLabel:r,...c}){return Object(i.createElement)("div",Object(l.a)({className:s()("block-editor-url-popover__link-viewer",e)},c),Object(i.createElement)(Wb,{url:o,urlLabel:r,className:t}),n&&Object(i.createElement)(p.Button,{icon:Ub.a,label:Object(j.__)("Edit"),onClick:n}))};var qb=Kb;const $b=({src:e,onChange:t,onSubmit:n,onClose:o})=>Object(i.createElement)(qb,{onClose:o},Object(i.createElement)("form",{className:"block-editor-media-placeholder__url-input-form",onSubmit:n},Object(i.createElement)("input",{className:"block-editor-media-placeholder__url-input-field",type:"url","aria-label":Object(j.__)("URL"),placeholder:Object(j.__)("Paste or type URL"),onChange:t,value:e}),Object(i.createElement)(p.Button,{className:"block-editor-media-placeholder__url-input-submit-button",icon:hb.a,label:Object(j.__)("Apply"),type:"submit"})));var Yb=Object(p.withFilters)("editor.MediaPlaceholder")((function({value:e={},allowedTypes:t,className:n,icon:o,labels:r={},mediaPreview:c,notices:l,isAppender:a,accept:d,addToGallery:b,multiple:m=!1,dropZoneUIOnly:g,disableDropZone:h,disableMediaButtons:O,onError:v,onSelect:k,onCancel:_,onSelectURL:y,onDoubleClick:E,onFilesPreUpload:C=u.noop,onHTMLDrop:S=u.noop,children:w}){const B=Object(f.useSelect)(e=>{const{getSettings:t}=e(An);return t().mediaUpload},[]),[I,x]=Object(i.useState)(""),[T,N]=Object(i.useState)(!1);Object(i.useEffect)(()=>{var t;x(null!==(t=null==e?void 0:e.src)&&void 0!==t?t:"")},[null==e?void 0:e.src]);const P=e=>{x(e.target.value)},L=()=>{N(!0)},R=()=>{N(!1)},A=e=>{e.preventDefault(),I&&y&&(y(I),R())},M=n=>{let o;if(C(n),m)if(b){let t=[];o=n=>{const o=(null!=e?e:[]).filter(e=>e.id?!t.some(({id:t})=>Number(t)===Number(e.id)):!t.some(({urlSlug:t})=>e.url.includes(t)));k(o.concat(n)),t=n.map(e=>{const t=e.url.lastIndexOf("."),n=e.url.slice(0,t);return{id:e.id,urlSlug:n}})}}else o=k;else o=([e])=>k(e);B({allowedTypes:t,filesList:n,onFileChange:o,onError:v})},D=e=>{M(e.target.files)},F=(e,u)=>{let{instructions:d,title:b}=r;if(B||y||(d=Object(j.__)("To edit this block, you need permission to upload media.")),void 0===d||void 0===b){const e=null!=t?t:[],[n]=e,o=1===e.length,r=o&&"audio"===n,c=o&&"image"===n,l=o&&"video"===n;void 0===d&&B&&(d=Object(j.__)("Upload a media file or pick one from your media library."),r?d=Object(j.__)("Upload an audio file, pick one from your media library, or add one with a URL."):c?d=Object(j.__)("Upload an image file, pick one from your media library, or add one with a URL."):l&&(d=Object(j.__)("Upload a video file, pick one from your media library, or add one with a URL."))),void 0===b&&(b=Object(j.__)("Media"),r?b=Object(j.__)("Audio"):c?b=Object(j.__)("Image"):l&&(b=Object(j.__)("Video")))}const m=s()("block-editor-media-placeholder",n,{"is-appender":a});return Object(i.createElement)(p.Placeholder,{icon:o,label:b,instructions:d,className:m,notices:l,onClick:u,onDoubleClick:E,preview:c},e,w)},V=()=>h?null:Object(i.createElement)(p.DropZone,{onFilesDrop:M,onHTMLDrop:S}),H=()=>_&&Object(i.createElement)(p.Button,{className:"block-editor-media-placeholder__cancel-button",title:Object(j.__)("Cancel"),isLink:!0,onClick:_},Object(j.__)("Cancel")),z=()=>y&&Object(i.createElement)("div",{className:"block-editor-media-placeholder__url-input-container"},Object(i.createElement)(p.Button,{className:"block-editor-media-placeholder__button",onClick:L,isPressed:T,isTertiary:!0},Object(j.__)("Insert from URL")),T&&Object(i.createElement)($b,{src:I,onChange:P,onSubmit:A,onClose:R}));return g||O?(g&&Bt()("wp.blockEditor.MediaPlaceholder dropZoneUIOnly prop",{since:"5.4",alternative:"disableMediaButtons"}),Object(i.createElement)(zb,null,V())):Object(i.createElement)(zb,{fallback:F(z())},(()=>{const n=Object(i.createElement)(Hb,{addToGallery:b,gallery:m&&!(!t||0===t.length)&&t.every(e=>"image"===e||e.startsWith("image/")),multiple:m,onSelect:k,allowedTypes:t,value:Array.isArray(e)?e.map(({id:e})=>e):e.id,render:({open:e})=>Object(i.createElement)(p.Button,{isTertiary:!0,onClick:t=>{t.stopPropagation(),e()}},Object(j.__)("Media Library"))});if(B&&a)return Object(i.createElement)(i.Fragment,null,V(),Object(i.createElement)(p.FormFileUpload,{onChange:D,accept:d,multiple:m,render:({openFileDialog:e})=>{const t=Object(i.createElement)(i.Fragment,null,Object(i.createElement)(p.Button,{isPrimary:!0,className:s()("block-editor-media-placeholder__button","block-editor-media-placeholder__upload-button")},Object(j.__)("Upload")),n,z(),H());return F(t,e)}}));if(B){const e=Object(i.createElement)(i.Fragment,null,V(),Object(i.createElement)(p.FormFileUpload,{isPrimary:!0,className:s()("block-editor-media-placeholder__button","block-editor-media-placeholder__upload-button"),onChange:D,accept:d,multiple:m},Object(j.__)("Upload")),n,z(),H());return F(e)}return F(n)})())}));const Xb=Object(i.forwardRef)((e,t)=>Object(i.createElement)(hd,Object(l.a)({ref:t},e,{__unstableDisableFormats:!0,preserveWhiteSpace:!0})));Xb.Content=({value:e="",tagName:t="div",...n})=>Object(i.createElement)(t,n,e);var Qb=Xb;var Zb=Object(i.forwardRef)(({__experimentalVersion:e,...t},n)=>{if(2===e)return Object(i.createElement)(Qb,Object(l.a)({ref:n},t));const{className:o,onChange:r,...c}=t;return Object(i.createElement)(Vi.a,Object(l.a)({ref:n,className:s()("block-editor-plain-text",o),onChange:e=>r(e.target.value)},c))});function Jb({property:e,viewport:t,desc:n}){const o=Object(d.useInstanceId)(Jb),r=n||Object(j.sprintf)(Object(j._x)("Controls the %1$s property for %2$s viewports.","Text labelling a interface as controlling a given layout property (eg: margin) for a given screen size."),e,t.label);return Object(i.createElement)(i.Fragment,null,Object(i.createElement)("span",{"aria-describedby":"rbc-desc-"+o},t.label),Object(i.createElement)(p.VisuallyHidden,{as:"span",id:"rbc-desc-"+o},r))}var em=function(e){const{title:t,property:n,toggleLabel:o,onIsResponsiveChange:r,renderDefaultControl:c,renderResponsiveControls:l,isResponsive:a=!1,defaultLabel:u={id:"all",label:Object(j.__)("All")},viewports:d=[{id:"small",label:Object(j.__)("Small screens")},{id:"medium",label:Object(j.__)("Medium screens")},{id:"large",label:Object(j.__)("Large screens")}]}=e;if(!t||!n||!c)return null;const b=o||Object(j.sprintf)(Object(j.__)("Use the same %s on all screensizes."),n),m=Object(j.__)("Toggle between using the same value for all screen sizes or using a unique value per screen size."),f=c(Object(i.createElement)(Jb,{property:n,viewport:u}),u);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)(p.ToggleControl,{className:"block-editor-responsive-block-control__toggle",label:b,checked:!a,onChange:r,help:m}),Object(i.createElement)("div",{className:s()("block-editor-responsive-block-control__group",{"is-responsive":a})},!a&&f,a&&(l?l(d):d.map(e=>Object(i.createElement)(i.Fragment,{key:e.id},c(Object(i.createElement)(Jb,{property:n,viewport:e}),e)))))))};function tm({character:e,type:t,onUse:n}){return Object(d.useKeyboardShortcut)(cc.rawShortcut[t](e),()=>(n(),!1),{bindGlobal:!0}),null}function nm({name:e,shortcutType:t,shortcutCharacter:n,...o}){let r,c="RichText.ToolbarControls";return e&&(c+="."+e),t&&n&&(r=cc.displayShortcut[t](n)),Object(i.createElement)(p.Fill,{name:c},Object(i.createElement)(p.ToolbarButton,Object(l.a)({},o,{shortcut:r})))}class om extends i.Component{constructor(){super(...arguments),this.onInput=this.onInput.bind(this)}onInput(e){e.inputType===this.props.inputType&&this.props.onInput()}componentDidMount(){document.addEventListener("input",this.onInput,!0)}componentWillUnmount(){document.removeEventListener("input",this.onInput,!0)}render(){return null}}const rm=Object(i.createElement)(p.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(i.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 cm=Object(i.forwardRef)((function(e,t){const n=Object(f.useSelect)(e=>e(An).isNavigationMode(),[]),{setNavigationMode:o}=Object(f.useDispatch)(An),r=e=>{o("edit"!==e)};return Object(i.createElement)(p.Dropdown,{renderToggle:({isOpen:o,onToggle:r})=>Object(i.createElement)(p.Button,Object(l.a)({},e,{ref:t,icon:n?rm:Ub.a,"aria-expanded":o,"aria-haspopup":"true",onClick:r,label:Object(j.__)("Tools")})),position:"bottom right",renderContent:()=>Object(i.createElement)(i.Fragment,null,Object(i.createElement)(p.NavigableMenu,{role:"menu","aria-label":Object(j.__)("Tools")},Object(i.createElement)(p.MenuItemsChoice,{value:n?"select":"edit",onSelect:r,choices:[{value:"edit",label:Object(i.createElement)(i.Fragment,null,Object(i.createElement)(qc.a,{icon:Ub.a}),Object(j.__)("Edit"))},{value:"select",label:Object(i.createElement)(i.Fragment,null,rm,Object(j.__)("Select"))}]})),Object(i.createElement)("div",{className:"block-editor-tool-selector__help"},Object(j.__)("Tools provide different interactions for selecting, navigating, and editing blocks. Toggle between select and edit by pressing Escape and Enter.")))})}));function lm({units:e,...t}){const n=Object(p.__experimentalUseCustomUnits)({availableUnits:Io("spacing.units")||["%","px","em","rem","vw"],units:e});return Object(i.createElement)(p.__experimentalUnitControl,Object(l.a)({units:n},t))}var im=n("Bpkj"),am=n("cjQ8");class sm 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(j.__)("Edit link"):Object(j.__)("Insert link");return Object(i.createElement)("div",{className:"block-editor-url-input__button"},Object(i.createElement)(p.Button,{icon:im.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)(p.Button,{className:"block-editor-url-input__back",icon:am.a,label:Object(j.__)("Close"),onClick:this.toggle}),Object(i.createElement)(kb,{value:e||"",onChange:t}),Object(i.createElement)(p.Button,{icon:hb.a,label:Object(j.__)("Submit"),type:"submit"}))))}}var um=sm,dm=n("w95h");const bm=["noreferrer","noopener"],mm=Object(i.createElement)(p.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(i.createElement)(p.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(i.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"}),Object(i.createElement)(p.Path,{d:"m14.14 11.86l-3 3.87-2.14-2.59-3 3.86h12l-3.86-5.14z"})),pm=({linkDestination:e,onChangeUrl:t,url:n,mediaType:o="image",mediaUrl:r,mediaLink:c,linkTarget:l,linkClass:a,rel:s})=>{const[d,b]=Object(i.useState)(!1),m=Object(i.useCallback)(()=>{b(!0)}),[f,g]=Object(i.useState)(!1),[h,O]=Object(i.useState)(null),v=Object(i.useRef)(null),k=Object(i.useCallback)(()=>{"media"!==e&&"attachment"!==e||O(""),g(!0)}),_=Object(i.useCallback)(()=>{g(!1)}),y=Object(i.useCallback)(()=>{O(null),_(),b(!1)}),E=e=>{let t=e;return void 0===e||Object(u.isEmpty)(t)||Object(u.isEmpty)(t)||(Object(u.each)(bm,e=>{const n=new RegExp("\\b"+e+"\\b","gi");t=t.replace(n,"")}),t!==e&&(t=t.trim()),Object(u.isEmpty)(t)&&(t=void 0)),t},C=Object(i.useCallback)(()=>e=>{const t=v.current;t&&t.contains(e.target)||(b(!1),O(null),_())}),S=Object(i.useCallback)(()=>e=>{if(h){var n;const e=(null===(n=B().find(e=>e.url===h))||void 0===n?void 0:n.linkDestination)||"custom";t({href:h,linkDestination:e})}_(),O(null),e.preventDefault()}),w=Object(i.useCallback)(()=>{t({linkDestination:"none",href:""})}),B=()=>{const e=[{linkDestination:"media",title:Object(j.__)("Media File"),url:"image"===o?r:void 0,icon:mm}];return"image"===o&&c&&e.push({linkDestination:"attachment",title:Object(j.__)("Attachment Page"),url:"image"===o?c:void 0,icon:Object(i.createElement)(p.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(i.createElement)(p.Path,{d:"M0 0h24v24H0V0z",fill:"none"}),Object(i.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},I=Object(i.createElement)(i.Fragment,null,Object(i.createElement)(p.ToggleControl,{label:Object(j.__)("Open in new tab"),onChange:e=>{const n=(e=>{const t=e?"_blank":void 0;let n;return n=t||s?E(s):void 0,{linkTarget:t,rel:n}})(e);t(n)},checked:"_blank"===l}),Object(i.createElement)(p.TextControl,{label:Object(j.__)("Link Rel"),value:E(s)||"",onChange:e=>{t({rel:e})}}),Object(i.createElement)(p.TextControl,{label:Object(j.__)("Link CSS Class"),value:a||"",onChange:e=>{t({linkClass:e})}})),x=null!==h?h:n,T=(Object(u.find)(B(),["linkDestination",e])||{}).title;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(p.ToolbarButton,{icon:im.a,className:"components-toolbar__control",label:n?Object(j.__)("Edit link"):Object(j.__)("Insert link"),"aria-expanded":d,onClick:m}),d&&Object(i.createElement)(qb,{onFocusOutside:C(),onClose:y,renderSettings:()=>I,additionalControls:!x&&Object(i.createElement)(p.NavigableMenu,null,Object(u.map)(B(),e=>Object(i.createElement)(p.MenuItem,{key:e.linkDestination,icon:e.icon,onClick:()=>{O(null),(e=>{const n=B();let o;o=e?(Object(u.find)(n,t=>t.url===e)||{linkDestination:"custom"}).linkDestination:"none",t({linkDestination:o,href:e})})(e.url),_()}},e.title)))},(!n||f)&&Object(i.createElement)(qb.LinkEditor,{className:"block-editor-format-toolbar__link-container-content",value:x,onChangeInputValue:O,onSubmit:S(),autocompleteRef:v}),n&&!f&&Object(i.createElement)(i.Fragment,null,Object(i.createElement)(qb.LinkViewer,{className:"block-editor-format-toolbar__link-container-content",url:n,onEditLinkClick:k,urlLabel:T}),Object(i.createElement)(p.Button,{icon:dm.a,label:Object(j.__)("Remove link"),onClick:w}))))};var fm=n("RMJe");function gm({children:e,className:t,isEnabled:n=!0,deviceType:o,setDeviceType:r}){if(Object(d.useViewportMatch)("small","<"))return null;const c={className:s()(t,"block-editor-post-preview__dropdown-content"),position:"bottom left"},l={isTertiary:!0,className:"block-editor-post-preview__button-toggle",disabled:!n,children:Object(j.__)("Preview")};return Object(i.createElement)(p.DropdownMenu,{className:"block-editor-post-preview__dropdown",popoverProps:c,toggleProps:l,icon:null},()=>Object(i.createElement)(i.Fragment,null,Object(i.createElement)(p.MenuGroup,null,Object(i.createElement)(p.MenuItem,{className:"block-editor-post-preview__button-resize",onClick:()=>r("Desktop"),icon:"Desktop"===o&&fm.a},Object(j.__)("Desktop")),Object(i.createElement)(p.MenuItem,{className:"block-editor-post-preview__button-resize",onClick:()=>r("Tablet"),icon:"Tablet"===o&&fm.a},Object(j.__)("Tablet")),Object(i.createElement)(p.MenuItem,{className:"block-editor-post-preview__button-resize",onClick:()=>r("Mobile"),icon:"Mobile"===o&&fm.a},Object(j.__)("Mobile"))),e))}var hm=n("6fKw");const Om=/\((min|max)-width:[^\(]*?\)/g;function jm(e){return!!e.media&&!!e.media.mediaText.match(Om)}function vm(e,t,n){e.deleteRule(n),e.insertRule(t,n)}function km(e,t){return e.replace(Om,e=>Object(hm.match)(e,{type:"screen",width:t})?"(min-width:0px)":"(min-width:999999px)")}function _m(e,t){Object(i.useEffect)(()=>{if(!t)return;const n="undefined"==typeof window?[]:Object(u.filter)(null!==(o=null===(r=window)||void 0===r||null===(c=r.document)||void 0===c?void 0:c.styleSheets)&&void 0!==o?o:[],e=>!!e.href&&Object(Va.getProtocol)(e.href)===window.location.protocol&&Object(Va.getAuthority)(e.href)===window.location.host);var o,r,c;const l=[];return n.forEach((n,o)=>{let r=!1;for(let c=0;c<n.cssRules.length;++c){const i=n.cssRules[c];if(i.type!==window.CSSRule.STYLE_RULE&&i.type!==window.CSSRule.MEDIA_RULE)continue;if(!r&&i.cssText.match(new RegExp("#start-"+e))&&(r=!0),r&&i.cssText.match(new RegExp("#end-"+e))&&(r=!1),!r||!jm(i))continue;const a=i.cssText;l[o]||(l[o]=[]),l[o][c]=a,vm(n,km(a,t),c)}}),()=>{l.forEach((e,t)=>{if(e)for(let o=0;o<e.length;++o){const r=e[o];r&&vm(n[t],r,o)}})}},[t])}function ym(e,t){const[n,o]=Object(i.useState)(window.innerWidth);Object(i.useEffect)(()=>{if("Desktop"===e)return;const t=()=>o(window.innerWidth);return window.addEventListener("resize",t),()=>{window.removeEventListener("resize",t)}},[e]);const r=e=>{let t;switch(e){case"Tablet":t=780;break;case"Mobile":t=360;break;default:return null}return t<n?t:n};return _m("resizable-editor-section",t?null:r(e)),(e=>{const t="Mobile"===e?"768px":"1024px";switch(e){case"Tablet":case"Mobile":return{width:r(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 Em=Object(f.withSelect)(e=>({selectedBlockClientId:e(An).getBlockSelectionStart()}))(({selectedBlockClientId:e})=>{const t=kr(e);return e?Object(i.createElement)(p.Button,{isSecondary:!0,className:"block-editor-skip-to-selected-block",onClick:()=>{t.current.focus()}},Object(j.__)("Skip to the selected block")):null}),Cm=n("7fqt");var Sm=Object(f.withSelect)(e=>{const{getMultiSelectedBlocks:t}=e(An);return{blocks:t()}})((function({blocks:e}){const t=Object(Cm.count)(Object(m.serialize)(e),"words");return Object(i.createElement)("div",{className:"block-editor-multi-selection-inspector__card"},Object(i.createElement)(Vl,{icon:Ts,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(j.sprintf)(Object(j._n)("%d block","%d blocks",e.length),e.length)),Object(i.createElement)("div",{className:"block-editor-multi-selection-inspector__card-description"},Object(j.sprintf)(Object(j._n)("%d word","%d words",t),t))))}));function wm({blockName:e}){const{preferredStyle:t,onUpdatePreferredStyleVariations:n,styles:o}=Object(f.useSelect)(t=>{var n,o;const r=t(An).getSettings().__experimentalPreferredStyleVariations;return{preferredStyle:null==r||null===(n=r.value)||void 0===n?void 0:n[e],onUpdatePreferredStyleVariations:null!==(o=null==r?void 0:r.onChange)&&void 0!==o?o:null,styles:t(m.store).getBlockStyles(e)}},[e]),r=Object(i.useMemo)(()=>[{label:Object(j.__)("Not set"),value:""},...o.map(({label:e,name:t})=>({label:e,value:t}))],[o]),c=Object(i.useCallback)(t=>{n(e,t)},[e,n]);return n&&Object(i.createElement)(p.SelectControl,{options:r,value:t||"",label:Object(j.__)("Default Style"),onChange:c})}const Bm=({clientId:e,blockName:t,hasBlockStyles:n,bubblesVirtually:o})=>{const r=$l(e);return Object(i.createElement)("div",{className:"block-editor-block-inspector"},Object(i.createElement)(da,r),Object(i.createElement)(Pd,{blockClientId:e}),n&&Object(i.createElement)("div",null,Object(i.createElement)(p.PanelBody,{title:Object(j.__)("Styles")},Object(i.createElement)(As,{clientId:e}),Object(m.hasBlockSupport)(t,"defaultStylePicker",!0)&&Object(i.createElement)(wm,{blockName:t}))),Object(i.createElement)(_o.Slot,{bubblesVirtually:o}),Object(i.createElement)("div",null,Object(i.createElement)(Im,{slotName:Oo.slotName,bubblesVirtually:o})),Object(i.createElement)(Em,{key:"back"}))},Im=({slotName:e,bubblesVirtually:t})=>{const n=Object(p.__experimentalUseSlot)(e);return Boolean(n.fills&&n.fills.length)?Object(i.createElement)(p.PanelBody,{className:"block-editor-block-inspector__advanced",title:Object(j.__)("Advanced"),initialOpen:!1},Object(i.createElement)(Oo.Slot,{bubblesVirtually:t})):null};var xm=({showNoBlockSelectedMessage:e=!0,bubblesVirtually:t=!0})=>{const{count:n,hasBlockStyles:o,selectedBlockName:r,selectedBlockClientId:c,blockType:l}=Object(f.useSelect)(e=>{const{getSelectedBlockClientId:t,getSelectedBlockCount:n,getBlockName:o}=e(An),{getBlockStyles:r}=e(m.store),c=t(),l=c&&o(c),i=l&&Object(m.getBlockType)(l),a=l&&r(l);return{count:n(),selectedBlockClientId:c,selectedBlockName:l,blockType:i,hasBlockStyles:a&&a.length>0}},[]);if(n>1)return Object(i.createElement)("div",{className:"block-editor-block-inspector"},Object(i.createElement)(Sm,null),Object(i.createElement)(_o.Slot,{bubblesVirtually:t}));const a=r===Object(m.getUnregisteredTypeHandlerName)();return l&&c&&!a?Object(i.createElement)(Bm,{clientId:c,blockName:l.name,hasBlockStyles:o,bubblesVirtually:t}):e?Object(i.createElement)("span",{className:"block-editor-block-inspector__no-blocks"},Object(j.__)("No block selected.")):null};function Tm({children:e,__unstableContentRef:t}){const n=Object(d.useViewportMatch)("medium"),o=Object(f.useSelect)(e=>e(An).getSettings().hasFixedToolbar,[]);return Object(i.createElement)(fs,{__unstableContentRef:t},(o||!n)&&Object(i.createElement)(mu,{isFixed:!0}),Object(i.createElement)(hu,{__unstableContentRef:t}),Object(i.createElement)(p.Popover.Slot,{name:"block-toolbar",ref:bs(t)}),e)}var Nm=n("eGrx"),Pm=n.n(Nm);const Lm=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g;var Rm=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),m(),t}}function l(e){this.start=e,this.end={line:n,column:o},this.source=t.source}l.prototype.content=e;const i=[];function a(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;i.push(c)}function s(){return b(/^{\s*/)}function u(){return b(/^}/)}function d(){let t;const n=[];for(m(),p(n);e.length&&"}"!==e.charAt(0)&&(t=E()||C());)!1!==t&&(n.push(t),p(n));return n}function b(t){const n=t.exec(e);if(!n)return;const o=n[0];return r(o),e=e.slice(o.length),n}function m(){b(/^\s*/)}function p(e){let t;for(e=e||[];t=f();)!1!==t&&e.push(t);return e}function f(){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 a("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 g(){const e=b(/^([^{]+)/);if(e)return Am(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 h(){const e=c();let t=b(/^(\*?[-#\/\*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(!t)return;if(t=Am(t[0]),!b(/^:\s*/))return a("property missing ':'");const n=b(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^\)]*?\)|[^};])+)/),o=e({type:"declaration",property:t.replace(Lm,""),value:n?Am(n[0]).replace(Lm,""):""});return b(/^[;\s]*/),o}function O(){const e=[];if(!s())return a("missing '{'");let t;for(p(e);t=h();)!1!==t&&(e.push(t),p(e));return u()?e:a("missing '}'")}function j(){let e;const t=[],n=c();for(;e=b(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)t.push(e[1]),b(/^,\s*/);if(t.length)return n({type:"keyframe",values:t,declarations:O()})}const v=y("import"),k=y("charset"),_=y("namespace");function y(e){const t=new RegExp("^@"+e+"\\s*([^;]+);");return function(){const n=c(),o=b(t);if(!o)return;const r={type:e};return r[e]=o[1].trim(),n(r)}}function E(){if("@"===e[0])return function(){const e=c();let t=b(/^@([-\w]+)?keyframes\s*/);if(!t)return;const n=t[1];if(t=b(/^([-\w]+)\s*/),!t)return a("@keyframes missing name");const o=t[1];if(!s())return a("@keyframes missing '{'");let r,l=p();for(;r=j();)l.push(r),l=l.concat(p());return u()?e({type:"keyframes",name:o,vendor:n,keyframes:l}):a("@keyframes missing '}'")}()||function(){const e=c(),t=b(/^@media *([^{]+)/);if(!t)return;const n=Am(t[1]);if(!s())return a("@media missing '{'");const o=p().concat(d());return u()?e({type:"media",media:n,rules:o}):a("@media missing '}'")}()||function(){const e=c(),t=b(/^@custom-media\s+(--[^\s]+)\s*([^{;]+);/);if(t)return e({type:"custom-media",name:Am(t[1]),media:Am(t[2])})}()||function(){const e=c(),t=b(/^@supports *([^{]+)/);if(!t)return;const n=Am(t[1]);if(!s())return a("@supports missing '{'");const o=p().concat(d());return u()?e({type:"supports",supports:n,rules:o}):a("@supports missing '}'")}()||v()||k()||_()||function(){const e=c(),t=b(/^@([-\w]+)?document *([^{]+)/);if(!t)return;const n=Am(t[1]),o=Am(t[2]);if(!s())return a("@document missing '{'");const r=p().concat(d());return u()?e({type:"document",document:o,vendor:n,rules:r}):a("@document missing '}'")}()||function(){const e=c();if(!b(/^@page */))return;const t=g()||[];if(!s())return a("@page missing '{'");let n,o=p();for(;n=h();)o.push(n),o=o.concat(p());return u()?e({type:"page",selectors:t,declarations:o}):a("@page missing '}'")}()||function(){const e=c();if(!b(/^@host\s*/))return;if(!s())return a("@host missing '{'");const t=p().concat(d());return u()?e({type:"host",rules:t}):a("@host missing '}'")}()||function(){const e=c();if(!b(/^@font-face\s*/))return;if(!s())return a("@font-face missing '{'");let t,n=p();for(;t=h();)n.push(t),n=n.concat(p());return u()?e({type:"font-face",declarations:n}):a("@font-face missing '}'")}()}function C(){const e=c(),t=g();return t?(p(),e({type:"rule",selectors:t,declarations:O()})):a("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=d();return{type:"stylesheet",stylesheet:{source:t.source,rules:e,parsingErrors:i}}}())};function Am(e){return e?e.replace(/^\s+|\s+$/g,""):""}var Mm=n("P7XM"),Dm=n.n(Mm),Fm=Vm;function Vm(e){this.options=e||{}}Vm.prototype.emit=function(e){return e},Vm.prototype.visit=function(e){return this[e.type](e)},Vm.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 Hm=zm;function zm(e){Fm.call(this,e)}Dm()(zm,Fm),zm.prototype.compile=function(e){return e.stylesheet.rules.map(this.visit,this).join("")},zm.prototype.comment=function(e){return this.emit("",e.position)},zm.prototype.import=function(e){return this.emit("@import "+e.import+";",e.position)},zm.prototype.media=function(e){return this.emit("@media "+e.media,e.position)+this.emit("{")+this.mapVisit(e.rules)+this.emit("}")},zm.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("}")},zm.prototype.charset=function(e){return this.emit("@charset "+e.charset+";",e.position)},zm.prototype.namespace=function(e){return this.emit("@namespace "+e.namespace+";",e.position)},zm.prototype.supports=function(e){return this.emit("@supports "+e.supports,e.position)+this.emit("{")+this.mapVisit(e.rules)+this.emit("}")},zm.prototype.keyframes=function(e){return this.emit("@"+(e.vendor||"")+"keyframes "+e.name,e.position)+this.emit("{")+this.mapVisit(e.keyframes)+this.emit("}")},zm.prototype.keyframe=function(e){const t=e.declarations;return this.emit(e.values.join(","),e.position)+this.emit("{")+this.mapVisit(t)+this.emit("}")},zm.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("}")},zm.prototype["font-face"]=function(e){return this.emit("@font-face",e.position)+this.emit("{")+this.mapVisit(e.declarations)+this.emit("}")},zm.prototype.host=function(e){return this.emit("@host",e.position)+this.emit("{")+this.mapVisit(e.rules)+this.emit("}")},zm.prototype["custom-media"]=function(e){return this.emit("@custom-media "+e.name+" "+e.media+";",e.position)},zm.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("}"):""},zm.prototype.declaration=function(e){return this.emit(e.property+":"+e.value,e.position)+this.emit(";")};var Gm=Um;function Um(e){e=e||{},Fm.call(this,e),this.indentation=e.indent}Dm()(Um,Fm),Um.prototype.compile=function(e){return this.stylesheet(e)},Um.prototype.stylesheet=function(e){return this.mapVisit(e.stylesheet.rules,"\n\n")},Um.prototype.comment=function(e){return this.emit(this.indent()+"/*"+e.comment+"*/",e.position)},Um.prototype.import=function(e){return this.emit("@import "+e.import+";",e.position)},Um.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}")},Um.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}")},Um.prototype.charset=function(e){return this.emit("@charset "+e.charset+";",e.position)},Um.prototype.namespace=function(e){return this.emit("@namespace "+e.namespace+";",e.position)},Um.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}")},Um.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)+"}")},Um.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")},Um.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}")},Um.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}")},Um.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}")},Um.prototype["custom-media"]=function(e){return this.emit("@custom-media "+e.name+" "+e.media+";",e.position)},Um.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()+"}"):""},Um.prototype.declaration=function(e){return this.emit(this.indent())+this.emit(e.property+": "+e.value,e.position)+this.emit(";")},Um.prototype.indent=function(e){return this.level=this.level||1,null!==e?(this.level+=e,""):Array(this.level).join(this.indentation||" ")};var Wm=function(e,t){try{const r=Rm(e),c=Pm.a.map(r,(function(e){if(!e)return e;const n=t(e);return this.update(n)}));return n=c,((o=o||{}).compress?new Hm(o):new Gm(o)).compile(n)}catch(e){return console.warn("Error while traversing the CSS: "+e),null}var n,o};function Km(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 qm(e,t){return new URL(e,t).toString()}var $m=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]};Km(e)&&o.push(e)}return o}(t.value).map((r=e,e=>({...e,newUrl:"url("+e.before+e.quote+qm(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 Ym=/^(body|html|:root).*$/;var Xm=(e,t=[])=>n=>{const o=n=>t.includes(n.trim())?n:n.match(Ym)?n.replace(/^(body|html|:root)/,e):e+" "+n;return"rule"===n.type?{...n,selectors:n.selectors.map(o)}:n};var Qm=(e,t="")=>Object(u.map)(e,({css:e,baseURL:n,__experimentalNoWrapper:o=!1})=>{const r=[];return t&&!o&&r.push(Xm(t)),n&&r.push($m(n)),r.length?Wm(e,Object(d.compose)(r)):e});function Zm(e){return Object(i.useCallback)(e=>{if(!e)return;const{ownerDocument:t}=e,{defaultView:n,body:o}=t,r=t.querySelector(".editor-styles-wrapper"),c=n.getComputedStyle(r,null).getPropertyValue("background-color");To()(c).getLuminance()>.5?o.classList.remove("is-dark-theme"):o.classList.add("is-dark-theme")},[e])}function Jm({styles:e}){const t=Object(i.useMemo)(()=>Qm(e,".editor-styles-wrapper"),[e]);return Object(i.createElement)(i.Fragment,null,Object(i.createElement)("style",{ref:Zm(e)}),t.map((e,t)=>Object(i.createElement)("style",{key:t},e)))}var ep=function({rootClientId:e,clientId:t,isAppender:n,showInserterHelpPanel:o,showMostUsedBlocks:r=!1,__experimentalInsertionIndex:c,onSelect:l=u.noop,shouldFocusBlock:a=!1}){const s=Object(f.useSelect)(n=>{const{getBlockRootClientId:o}=n(An);return e||o(t)||void 0},[t,e]);return Object(i.createElement)(Ja,{onSelect:l,rootClientId:s,clientId:t,isAppender:n,showInserterHelpPanel:o,showMostUsedBlocks:r,__experimentalInsertionIndex:c,shouldFocusBlock:a})};function tp(){const{clientIds:e,rootClientId:t}=Object(f.useSelect)(e=>{const{getSelectedBlockClientIds:t,getBlockRootClientId:n}=e(An),o=t(),[r]=o;return{clientIds:o,rootClientId:n(r)}},[]),{duplicateBlocks:n,removeBlocks:o,insertAfterBlock:r,insertBeforeBlock:c,clearSelectedBlock:l,moveBlocksUp:a,moveBlocksDown:s}=Object(f.useDispatch)(An);return Object(js.useShortcut)("core/block-editor/move-up",Object(i.useCallback)(n=>{n.preventDefault(),a(e,t)},[e,a]),{bindGlobal:!0,isDisabled:0===e.length}),Object(js.useShortcut)("core/block-editor/move-down",Object(i.useCallback)(n=>{n.preventDefault(),s(e,t)},[e,s]),{bindGlobal:!0,isDisabled:0===e.length}),Object(js.useShortcut)("core/block-editor/duplicate",Object(i.useCallback)(t=>{t.preventDefault(),n(e)},[e,n]),{bindGlobal:!0,isDisabled:0===e.length}),Object(js.useShortcut)("core/block-editor/remove",Object(i.useCallback)(t=>{t.preventDefault(),o(e)},[e,o]),{bindGlobal:!0,isDisabled:0===e.length}),Object(js.useShortcut)("core/block-editor/insert-after",Object(i.useCallback)(t=>{t.preventDefault(),r(Object(u.last)(e))},[e,r]),{bindGlobal:!0,isDisabled:0===e.length}),Object(js.useShortcut)("core/block-editor/insert-before",Object(i.useCallback)(t=>{t.preventDefault(),c(Object(u.first)(e))},[e,c]),{bindGlobal:!0,isDisabled:0===e.length}),Object(js.useShortcut)("core/block-editor/delete-multi-selection",Object(i.useCallback)(t=>{t.preventDefault(),o(e)},[e,o]),{isDisabled:e.length<2}),Object(js.useShortcut)("core/block-editor/unselect",Object(i.useCallback)(e=>{e.preventDefault(),l(),e.target.ownerDocument.defaultView.getSelection().removeAllRanges()},[e,l]),{isDisabled:e.length<2}),null}tp.Register=function(){const{registerShortcut:e}=Object(f.useDispatch)(js.store);return Object(i.useEffect)(()=>{e({name:"core/block-editor/duplicate",category:"block",description:Object(j.__)("Duplicate the selected block(s)."),keyCombination:{modifier:"primaryShift",character:"d"}}),e({name:"core/block-editor/remove",category:"block",description:Object(j.__)("Remove the selected block(s)."),keyCombination:{modifier:"access",character:"z"}}),e({name:"core/block-editor/insert-before",category:"block",description:Object(j.__)("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(j.__)("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(j.__)("Remove multiple selected blocks."),keyCombination:{character:"del"},aliases:[{character:"backspace"}]}),e({name:"core/block-editor/select-all",category:"selection",description:Object(j.__)("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(j.__)("Clear selection."),keyCombination:{character:"escape"}}),e({name:"core/block-editor/focus-toolbar",category:"global",description:Object(j.__)("Navigate to the nearest toolbar."),keyCombination:{modifier:"alt",character:"F10"}}),e({name:"core/block-editor/move-up",category:"block",description:Object(j.__)("Move the selected block(s) up."),keyCombination:{modifier:"secondary",character:"t"}}),e({name:"core/block-editor/move-down",category:"block",description:Object(j.__)("Move the selected block(s) down."),keyCombination:{modifier:"secondary",character:"y"}})},[e]),null};var np=tp;function op(){return Bt()("wp.blockEditor.MultiSelectScrollIntoView",{hint:"This behaviour is now built-in."}),null}const rp=new Set([cc.UP,cc.RIGHT,cc.DOWN,cc.LEFT,cc.ENTER,cc.BACKSPACE]);function cp(){const e=Object(f.useSelect)(e=>e(An).isTyping()),{stopTyping:t}=Object(f.useDispatch)(An);return Object(d.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 lp(){const e=Object(f.useSelect)(e=>e(An).isTyping()),{startTyping:t,stopTyping:n}=Object(f.useDispatch)(An),o=cp(),r=Object(d.useRefEffect)(o=>{const{ownerDocument:r}=o,{defaultView:c}=r;if(e){let e;function l(t){const{target:o}=t;e=c.setTimeout(()=>{Object(ui.isTextField)(o)||n()})}function i(e){const{keyCode:t}=e;t!==cc.ESCAPE&&t!==cc.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(ui.isTextField)(r)&&o.contains(r)&&("keydown"!==n||function(e){const{keyCode:t,shiftKey:n}=e;return!n&&rp.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(d.useMergeRefs)([o,r])}var ip=function({children:e}){return Object(i.createElement)("div",{ref:lp()},e)};function ap(){return Bt()("PreserveScrollInReorder component",{since:"5.4",hint:"This behavior is now built-in the block list"}),null}const sp=-1!==window.navigator.userAgent.indexOf("Trident"),up=new Set([cc.UP,cc.DOWN,cc.LEFT,cc.RIGHT]);function dp(){const e=Object(f.useSelect)(e=>e(An).hasSelectedBlock());return Object(d.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({keyCode:e}){if(!m())return;const r=Object(ui.computeCaretRect)(o);if(!r)return;if(!l)return void(l=r);if(up.has(e))return void(l=r);const c=r.top-l.top;if(0===c)return;const i=Object(ui.getScrollContainer)(t);if(!i)return;const a=i===n.body,s=a?o.scrollY:i.scrollTop,u=a?0:i.getBoundingClientRect().top,d=a?l.top/o.innerHeight:(l.top-u)/(o.innerHeight-u);if(0===s&&d<.75&&function(){const e=t.querySelectorAll('[contenteditable="true"]');return e[e.length-1]===n.activeElement}())return void(l=r);const b=a?o.innerHeight:i.clientHeight;l.top+l.height>u+b||l.top<u?l=r:a?o.scrollBy(0,c):i.scrollTop+=c}function u(){n.addEventListener("selectionchange",d)}function d(){n.removeEventListener("selectionchange",d),b()}function b(){m()&&(l=Object(ui.computeCaretRect)(o))}function m(){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 bp=sp?e=>e.children:function({children:e}){return Object(i.createElement)("div",{ref:dp(),className:"block-editor__typewriter"},e)};function mp(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 pp(e){const{isMultiSelecting:t,getMultiSelectedBlockClientIds:n,hasMultiSelection:o,getSelectedBlockClientId:r}=e(An);return{isMultiSelecting:t(),multiSelectedBlockClientIds:n(),hasMultiSelection:o(),selectedBlockClientId:r()}}function fp(){const e=Object(i.useRef)(),{isMultiSelecting:t,multiSelectedBlockClientIds:n,hasMultiSelection:o,selectedBlockClientId:r}=Object(f.useSelect)(pp,[]),{selectBlock:c}=Object(f.useDispatch)(An),l=kr(r),a=kr(Object(u.first)(n)),s=kr(Object(u.last)(n));return Object(i.useEffect)(()=>{const{ownerDocument:c}=e.current,{defaultView:i}=c;if(!o||t){if(!r||t)return;const e=i.getSelection();if(e.rangeCount&&!e.isCollapsed){const t=l.current,{startContainer:n,endContainer:o}=e.getRangeAt(0);!t||t.contains(n)&&t.contains(o)||e.removeAllRanges()}return}const{length:u}=n;if(u<2)return;e.current.focus();const d=i.getSelection(),b=c.createRange(),m=mp(a.current,"start"),p=mp(s.current,"end");var f,g;f=e.current,g=!1,Array.from(f.querySelectorAll(".rich-text")).forEach(e=>{g?e.setAttribute("contenteditable",!0):e.removeAttribute("contenteditable")}),b.setStartBefore(m),b.setEndAfter(p),d.removeAllRanges(),d.addRange(b)},[o,t,n,c,r]),e}const gp={position:"fixed"};function hp(e){const{tagName:t}=e;return"INPUT"===t||"BUTTON"===t||"SELECT"===t||"TEXTAREA"===t}function Op(e,t,n,o){let r,c=ui.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(!ui.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 jp(){const{getSelectedBlockClientId:e,getMultiSelectedBlocksStartClientId:t,getMultiSelectedBlocksEndClientId:n,getPreviousBlockClientId:o,getNextBlockClientId:r,getFirstMultiSelectedBlockClientId:c,getLastMultiSelectedBlockClientId:l,getSettings:i,hasMultiSelection:a}=Object(f.useSelect)(An),{multiSelect:s,selectBlock:u}=Object(f.useDispatch)(An);return Object(d.useRefEffect)(d=>{let b;function m(){b=null}function p(c){const l=e(),i=t(),a=n(),d=o(a||l),b=r(a||l),m=c?d:b;m&&(i===m?u(m):s(i||l,m))}function f(e){const t=c(),n=l(),o=e?t:n;o&&u(o)}function g(t){const{keyCode:c,target:l}=t,s=c===cc.UP,u=c===cc.DOWN,m=c===cc.LEFT,g=c===cc.RIGHT,h=s||m,O=m||g,j=s||u,v=O||j,k=t.shiftKey,_=k||t.ctrlKey||t.altKey||t.metaKey,y=j?ui.isVerticalEdge:ui.isHorizontalEdge,{ownerDocument:E}=d,{defaultView:C}=E;if(a()){if(v){(k?p:f)(h),t.preventDefault()}return}if(j?b||(b=Object(ui.computeCaretRect)(C)):b=null,t.defaultPrevented)return;if(!v)return;if(!function(e,t,n){if((t===cc.UP||t===cc.DOWN)&&!n)return!0;const{tagName:o}=e;return"INPUT"!==o&&"TEXTAREA"!==o}(l,c,_))return;const S=Object(ui.isRTL)(l)?!h:h,{keepCaretInsideBlock:w}=i(),B=e();if(k){const e=n(),c=o(e||B),i=r(e||B);(h&&c||!h&&i)&&function(e,t){const n=Op(e,t,d);return!(n&&(o=e,r=n,o.closest(".wp-block")===r.closest(".wp-block")));var o,r}(l,h)&&y(l,h)&&(p(h),t.preventDefault())}else if(j&&Object(ui.isVerticalEdge)(l,h)&&!w){const e=Op(l,h,d,!0);e&&(Object(ui.placeCaretAtVerticalEdge)(e,h,b),t.preventDefault())}else if(O&&C.getSelection().isCollapsed&&Object(ui.isHorizontalEdge)(l,S)&&!w){const e=Op(l,S,d);Object(ui.placeCaretAtHorizontalEdge)(e,h),t.preventDefault()}}return d.addEventListener("mousedown",m),d.addEventListener("keydown",g),()=>{d.removeEventListener("mousedown",m),d.removeEventListener("keydown",g)}},[])}function vp(){const e=Object(i.useRef)(),{getBlockOrder:t,getSelectedBlockClientIds:n,getBlockRootClientId:o}=Object(f.useSelect)(An),{multiSelect:r}=Object(f.useDispatch)(An),c=Object(i.useCallback)(e=>{const c=n();if(!c.length)return;if(1===c.length&&!Object(ui.isEntirelySelected)(e.target))return;const[l]=c,i=o(l);let a=t(i);c.length===a.length&&(a=t(o(i)));const s=Object(u.first)(a),d=Object(u.last)(a);s!==d&&(r(s,d),e.preventDefault())},[]);return Object(js.useShortcut)("core/block-editor/select-all",c,{target:e}),e}function kp({children:e}){const[t,n,o]=function(){const e=Object(i.useRef)(),t=Object(i.useRef)(),n=Object(i.useRef)(),o=Object(i.useRef)(),{hasMultiSelection:r,getSelectedBlockClientId:c}=Object(f.useSelect)(An),{setNavigationMode:l}=Object(f.useDispatch)(An),a=Object(f.useSelect)(e=>e(An).isNavigationMode(),[])?void 0:"0",s=Object(i.useRef)();function u(t){if(s.current)s.current=null;else if(r())e.current.focus();else if(c())o.current.focus();else{l(!0);const n=t.target.compareDocumentPosition(e.current)&t.target.DOCUMENT_POSITION_FOLLOWING?"findNext":"findPrevious";ui.focus.tabbable[n](t.target).focus()}}const b=Object(i.createElement)("div",{ref:t,tabIndex:a,onFocus:u,style:gp}),m=Object(i.createElement)("div",{ref:n,tabIndex:a,onFocus:u,style:gp}),p=Object(d.useRefEffect)(e=>{function i(e){if(e.keyCode===cc.ESCAPE&&!r())return e.stopPropagation(),void l(!0);if(e.keyCode!==cc.TAB)return;const o=e.shiftKey,i=o?"findPrevious":"findNext";if(!r()&&!c())return;if(hp(e.target)&&hp(ui.focus.tabbable[i](e.target)))return;const a=o?t:n;s.current=!0,a.current.focus()}function a(e){o.current=e.target}return e.addEventListener("keydown",i),e.addEventListener("focusout",a),()=>{e.removeEventListener("keydown",i),e.removeEventListener("focusout",a)}},[]);return[b,Object(d.useMergeRefs)([e,p]),m]}(),r=Object(f.useSelect)(e=>e(An).hasMultiSelection(),[]);return Object(i.createElement)(i.Fragment,null,t,Object(i.createElement)("div",{ref:Object(d.useMergeRefs)([n,fp(),vp(),jp()]),className:"block-editor-writing-flow",tabIndex:r?"0":void 0,"aria-label":r?Object(j.__)("Multiple selected blocks"):void 0},e),o)}const _p=Object(u.overEvery)([ui.isTextField,ui.focus.tabbable.isTabbableIndex]);function yp(){return Object(d.useRefEffect)(e=>{function t(t){if(t.target!==e)return;const n=ui.focus.focusable.find(e),o=Object(u.findLast)(n,_p);if(!o)return;const{bottom:r}=o.getBoundingClientRect();t.clientY<r||(Object(ui.placeCaretAtHorizontalEdge)(o,!0),t.preventDefault())}return e.addEventListener("mousedown",t),()=>{e.addEventListener("mousedown",t)}},[])}function Ep(e){e.dir=document.dir,e.body.className="editor-styles-wrapper";for(const t of document.body.classList)t.startsWith("admin-color-")?e.body.classList.add(t):"wp-embed-responsive"===t&&e.body.classList.add("wp-embed-responsive")}function Cp(e){return Object(i.useMemo)(()=>{const t=document.implementation.createHTMLDocument("");return t.body.innerHTML=e,Array.from(t.body.children)},[e])}var Sp=Object(i.forwardRef)((function({contentRef:e,children:t,head:n,...o},r){const[c,a]=Object(i.useState)(),s=Cp(window.__editorAssets.styles),u=Cp(window.__editorAssets.scripts),b=ju(),m=Object(i.useCallback)(t=>{function n(){const{contentDocument:n}=t,{readyState:o,body:r,documentElement:c}=n;return("interactive"===o||"complete"===o)&&("function"==typeof e?e(r):e&&(e.current=r),Ep(n),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=["keydown","keypress","dragover"];for(const t of r)e.addEventListener(t,o)}(n),Ep(n),a(n),b(c),b(r),u.reduce((e,t)=>e.then(()=>async function(e,{id:t,src:n}){return new Promise((o,r)=>{const c=e.createElement("script");c.id=t,n?(c.src=n,c.onload=()=>o(),c.onerror=()=>r()):o(),e.head.appendChild(c)})}(n,t)),Promise.resolve()),!0)}t&&(n()||t.addEventListener("load",()=>{n()}))},[]);return Object(i.useEffect)(()=>{var e;c&&(e=c,Array.from(document.styleSheets).forEach(t=>{try{t.cssRules}catch(e){return}const{ownerNode:n,cssRules:o}=t;o&&Array.from(o).find(({selectorText:e})=>e&&(e.includes(".editor-styles-wrapper")||e.includes(".wp-block")))&&!e.getElementById(n.id)&&(console.error(`Stylesheet ${n.id} was not properly added.\nFor blocks, use the block API's style (https://developer.wordpress.org/block-editor/reference-guides/block-api/block-metadata/#style) or editorStyle (https://developer.wordpress.org/block-editor/reference-guides/block-api/block-metadata/#editor-style).\nFor themes, use add_editor_style (https://developer.wordpress.org/block-editor/how-to-guides/themes/theme-support/#editor-styles).`,n),e.head.appendChild(n.cloneNode(!0)))}))},[c]),n=Object(i.createElement)(i.Fragment,null,Object(i.createElement)("style",null,"body{margin:0}"),s.map(({tagName:e,href:t,id:n,rel:o,media:r},c)=>{const l=e.toLowerCase();return Object(i.createElement)(l,{href:t,id:n,rel:o,media:r,key:c})}),n),Object(i.createElement)("iframe",Object(l.a)({},o,{ref:Object(d.useMergeRefs)([r,m]),tabIndex:"0",title:Object(j.__)("Editor canvas"),name:"editor-canvas"}),c&&Object(i.createPortal)(Object(i.createElement)(p.__experimentalStyleProvider,{document:c},t),c.body),c&&Object(i.createPortal)(n,c.head))}));const wp=Object(i.createContext)({});function Bp(e,t=""){var n;const o=Object(i.useContext)(wp),{name:r}=O();t=t||r;const c=Boolean(null===(n=o[t])||void 0===n?void 0:n.has(e)),l=Object(i.useMemo)(()=>function(e,t,n){const o={...e,[t]:e[t]?new Set(e[t]):new Set};return o[t].add(n),o}(o,t,e),[o,t,e]);return[c,Object(i.useCallback)(({children:e})=>Object(i.createElement)(wp.Provider,{value:l},e),[l])]}function Ip(e){if(void 0===e)e=k.colors;else{const t=e.filter(e=>e.color);0===t.length?e=k.colors:t.length<e.length&&(e=t)}return e}function xp(e){if(void 0===e)e=k.gradients;else{const t=e.filter(e=>e.gradient);0===t.length?e=k.gradients:t.length<e.length&&(e=t)}return e}},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},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}))},xTGt:function(e,t){e.exports=window.wp.blob},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},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),m=o.offset(e),p=o.outerHeight(e),f=o.outerWidth(e),g=void 0,h=void 0,O=void 0,j=void 0,v=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(_)},v={left:m.left-y.left-s,top:m.top-y.top-a},k={left:m.left+f-(y.left+E)+d,top:m.top+p-(y.top+C)+u},j=y):(g=o.offset(t),h=t.clientHeight,O=t.clientWidth,j={left:t.scrollLeft,top:t.scrollTop},v={left:m.left-(g.left+(parseFloat(o.css(t,"borderLeftWidth"))||0))-s,top:m.top-(g.top+(parseFloat(o.css(t,"borderTopWidth"))||0))-a},k={left:m.left+f-(g.left+O+(parseFloat(o.css(t,"borderRightWidth"))||0))+d,top:m.top+p-(g.top+h+(parseFloat(o.css(t,"borderBottomWidth"))||0))+u}),v.top<0||k.top>0?!0===l?o.scrollTop(t,j.top+v.top):!1===l?o.scrollTop(t,j.top+k.top):v.top<0?o.scrollTop(t,j.top+v.top):o.scrollTop(t,j.top+k.top):c||((l=void 0===l||!!l)?o.scrollTop(t,j.top+v.top):o.scrollTop(t,j.top+k.top)),r&&(v.left<0||k.left>0?!0===i?o.scrollLeft(t,j.left+v.left):!1===i?o.scrollLeft(t,j.left+k.left):v.left<0?o.scrollLeft(t,j.left+v.left):o.scrollLeft(t,j.left+k.left):c||((i=void 0===i||!!i)?o.scrollLeft(t,j.left+v.left):o.scrollLeft(t,j.left+k.left)))}}}); \ No newline at end of file +*/!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)}()},Tqx9:function(e,t){e.exports=window.wp.primitives},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},VbXa:function(e,t,n){var o=n("SksO");e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,o(e,t)},e.exports.default=e.exports,e.exports.__esModule=!0},WbBG:function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},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},YLtl:function(e,t){e.exports=window.lodash},ZO3Q:function(e,t,n){"use strict";function o(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(t,"__esModule",{value:!0});var r=o(n("pVnL")),c=o(n("8OQS")),l=n("cDcd"),i=o(l),a=o(n("VbXa")),s=o(n("PJYZ")),u={arr:Array.isArray,obj:function(e){return"[object Object]"===Object.prototype.toString.call(e)},fun:function(e){return"function"==typeof e},str:function(e){return"string"==typeof e},num:function(e){return"number"==typeof e},und:function(e){return void 0===e},nul:function(e){return null===e},set:function(e){return e instanceof Set},map:function(e){return e instanceof Map},equ:function(e,t){if(typeof e!=typeof t)return!1;if(u.str(e)||u.num(e))return e===t;if(u.obj(e)&&u.obj(t)&&Object.keys(e).length+Object.keys(t).length===0)return!0;var n;for(n in e)if(!(n in t))return!1;for(n in t)if(e[n]!==t[n])return!1;return!u.und(n)||e===t}};function d(){var e=l.useState(!1)[1];return l.useCallback((function(){return e((function(e){return!e}))}),[])}function b(e,t){return u.und(e)||u.nul(e)?t:e}function m(e){return u.und(e)?[]:u.arr(e)?e:[e]}function p(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return u.fun(e)?e.apply(void 0,n):e}function f(e){var t=function(e){return e.to,e.from,e.config,e.onStart,e.onRest,e.onFrame,e.children,e.reset,e.reverse,e.force,e.immediate,e.delay,e.attach,e.destroyed,e.interpolateTo,e.ref,e.lazy,c(e,["to","from","config","onStart","onRest","onFrame","children","reset","reverse","force","immediate","delay","attach","destroyed","interpolateTo","ref","lazy"])}(e);if(u.und(t))return r({to:t},e);var n=Object.keys(e).reduce((function(n,o){var c;return u.und(t[o])?r({},n,((c={})[o]=e[o],c)):n}),{});return r({to:t},n)}var g,h,O=function(){function e(){this.payload=void 0,this.children=[]}var t=e.prototype;return t.getAnimatedValue=function(){return this.getValue()},t.getPayload=function(){return this.payload||this},t.attach=function(){},t.detach=function(){},t.getChildren=function(){return this.children},t.addChild=function(e){0===this.children.length&&this.attach(),this.children.push(e)},t.removeChild=function(e){var t=this.children.indexOf(e);this.children.splice(t,1),0===this.children.length&&this.detach()},e}(),j=function(e){function t(){for(var t,n=arguments.length,o=new Array(n),r=0;r<n;r++)o[r]=arguments[r];return(t=e.call.apply(e,[this].concat(o))||this).payload=[],t.attach=function(){return t.payload.forEach((function(e){return e instanceof O&&e.addChild(s(t))}))},t.detach=function(){return t.payload.forEach((function(e){return e instanceof O&&e.removeChild(s(t))}))},t}return a(t,e),t}(O),v=function(e){function t(){for(var t,n=arguments.length,o=new Array(n),r=0;r<n;r++)o[r]=arguments[r];return(t=e.call.apply(e,[this].concat(o))||this).payload={},t.attach=function(){return Object.values(t.payload).forEach((function(e){return e instanceof O&&e.addChild(s(t))}))},t.detach=function(){return Object.values(t.payload).forEach((function(e){return e instanceof O&&e.removeChild(s(t))}))},t}a(t,e);var n=t.prototype;return n.getValue=function(e){void 0===e&&(e=!1);var t={};for(var n in this.payload){var o=this.payload[n];(!e||o instanceof O)&&(t[n]=o instanceof O?o[e?"getAnimatedValue":"getValue"]():o)}return t},n.getAnimatedValue=function(){return this.getValue(!0)},t}(O);function k(e,t){g={fn:e,transform:t}}function _(e){h=e}var y,E=function(e){return"undefined"!=typeof window?window.requestAnimationFrame(e):-1},C=function(e){"undefined"!=typeof window&&window.cancelAnimationFrame(e)};function S(e){y=e}var w,B=function(){return Date.now()};function I(e){w=e}var x,T,N=function(e){return e.current};function P(e){x=e}var L=Object.freeze({get applyAnimatedValues(){return g},injectApplyAnimatedValues:k,get colorNames(){return h},injectColorNames:_,get requestFrame(){return E},get cancelFrame(){return C},injectFrame:function(e,t){E=e,C=t},get interpolation(){return y},injectStringInterpolator:S,get now(){return B},injectNow:function(e){B=e},get defaultElement(){return w},injectDefaultElement:I,get animatedApi(){return N},injectAnimatedApi:function(e){N=e},get createAnimatedStyle(){return x},injectCreateAnimatedStyle:P,get manualFrameloop(){return T},injectManualFrameloop:function(e){T=e}}),R=function(e){function t(t,n){var o;return(o=e.call(this)||this).update=void 0,o.payload=t.style?r({},t,{style:x(t.style)}):t,o.update=n,o.attach(),o}return a(t,e),t}(v),A=!1,M=new Set,D=function e(){if(!A)return!1;var t=B(),n=M,o=Array.isArray(n),r=0;for(n=o?n:n[Symbol.iterator]();;){var c;if(o){if(r>=n.length)break;c=n[r++]}else{if((r=n.next()).done)break;c=r.value}for(var l=c,i=!1,a=0;a<l.configs.length;a++){for(var s=l.configs[a],u=void 0,d=void 0,b=0;b<s.animatedValues.length;b++){var m=s.animatedValues[b];if(!m.done){var p=s.fromValues[b],f=s.toValues[b],g=m.lastPosition,h=f instanceof O,j=Array.isArray(s.initialVelocity)?s.initialVelocity[b]:s.initialVelocity;if(h&&(f=f.getValue()),s.immediate)m.setValue(f),m.done=!0;else if("string"!=typeof p&&"string"!=typeof f){if(void 0!==s.duration)g=p+s.easing((t-m.startTime)/s.duration)*(f-p),u=t>=m.startTime+s.duration;else if(s.decay)g=p+j/(1-.998)*(1-Math.exp(-(1-.998)*(t-m.startTime))),(u=Math.abs(m.lastPosition-g)<.1)&&(f=g);else{d=void 0!==m.lastTime?m.lastTime:t,j=void 0!==m.lastVelocity?m.lastVelocity:s.initialVelocity,t>d+64&&(d=t);for(var v=Math.floor(t-d),k=0;k<v;++k){g+=1*(j+=1*((-s.tension*(g-f)+-s.friction*j)/s.mass)/1e3)/1e3}var _=!(!s.clamp||0===s.tension)&&(p<f?g>f:g<f),y=Math.abs(j)<=s.precision,C=0===s.tension||Math.abs(f-g)<=s.precision;u=_||y&&C,m.lastVelocity=j,m.lastTime=t}h&&!s.toValues[b].done&&(u=!1),u?(m.value!==f&&(g=f),m.done=!0):i=!0,m.setValue(g),m.lastPosition=g}else m.setValue(f),m.done=!0}}l.props.onFrame&&(l.values[s.name]=s.interpolation.getValue())}l.props.onFrame&&l.props.onFrame(l.values),i||(M.delete(l),l.stop(!0))}return M.size?T?T():E(e):A=!1,A};function F(e,t,n){if("function"==typeof e)return e;if(Array.isArray(e))return F({range:e,output:t,extrapolate:n});if(y&&"string"==typeof e.output[0])return y(e);var 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||function(e){return e};return function(e){var 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){var 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)}}var V=function(e){function t(n,o,r,c){var l;return(l=e.call(this)||this).calc=void 0,l.payload=n instanceof j&&!(n instanceof t)?n.getPayload():Array.isArray(n)?n:[n],l.calc=F(o,r,c),l}a(t,e);var n=t.prototype;return n.getValue=function(){return this.calc.apply(this,this.payload.map((function(e){return e.getValue()})))},n.updateConfig=function(e,t,n){this.calc=F(e,t,n)},n.interpolate=function(e,n,o){return new t(this,e,n,o)},t}(j);var H=function(e){function t(t){var n;return(n=e.call(this)||this).animatedStyles=new Set,n.value=void 0,n.startPosition=void 0,n.lastPosition=void 0,n.lastVelocity=void 0,n.startTime=void 0,n.lastTime=void 0,n.done=!1,n.setValue=function(e,t){void 0===t&&(t=!0),n.value=e,t&&n.flush()},n.value=t,n.startPosition=t,n.lastPosition=t,n}a(t,e);var n=t.prototype;return n.flush=function(){0===this.animatedStyles.size&&function e(t,n){"update"in t?n.add(t):t.getChildren().forEach((function(t){return e(t,n)}))}(this,this.animatedStyles),this.animatedStyles.forEach((function(e){return e.update()}))},n.clearStyles=function(){this.animatedStyles.clear()},n.getValue=function(){return this.value},n.interpolate=function(e,t,n){return new V(this,e,t,n)},t}(O),z=function(e){function t(t){var n;return(n=e.call(this)||this).payload=t.map((function(e){return new H(e)})),n}a(t,e);var n=t.prototype;return n.setValue=function(e,t){var n=this;void 0===t&&(t=!0),Array.isArray(e)?e.length===this.payload.length&&e.forEach((function(e,o){return n.payload[o].setValue(e,t)})):this.payload.forEach((function(n){return n.setValue(e,t)}))},n.getValue=function(){return this.payload.map((function(e){return e.getValue()}))},n.interpolate=function(e,t){return new V(this,e,t)},t}(j),G=0,U=function(){function e(){var e=this;this.id=void 0,this.idle=!0,this.hasChanged=!1,this.guid=0,this.local=0,this.props={},this.merged={},this.animations={},this.interpolations={},this.values={},this.configs=[],this.listeners=[],this.queue=[],this.localQueue=void 0,this.getValues=function(){return e.interpolations},this.id=G++}var t=e.prototype;return t.update=function(e){if(!e)return this;var t=f(e),n=t.delay,o=void 0===n?0:n,l=t.to,i=c(t,["delay","to"]);if(u.arr(l)||u.fun(l))this.queue.push(r({},i,{delay:o,to:l}));else if(l){var a={};Object.entries(l).forEach((function(e){var t,n=e[0],c=e[1],l=r({to:(t={},t[n]=c,t),delay:p(o,n)},i),s=a[l.delay]&&a[l.delay].to;a[l.delay]=r({},a[l.delay],l,{to:r({},s,l.to)})})),this.queue=Object.values(a)}return this.queue=this.queue.sort((function(e,t){return e.delay-t.delay})),this.diff(i),this},t.start=function(e){var t,n=this;if(this.queue.length){this.idle=!1,this.localQueue&&this.localQueue.forEach((function(e){var t=e.from,o=void 0===t?{}:t,c=e.to,l=void 0===c?{}:c;u.obj(o)&&(n.merged=r({},o,n.merged)),u.obj(l)&&(n.merged=r({},n.merged,l))}));var o=this.local=++this.guid,l=this.localQueue=this.queue;this.queue=[],l.forEach((function(t,r){var i=t.delay,a=c(t,["delay"]),s=function(t){r===l.length-1&&o===n.guid&&t&&(n.idle=!0,n.props.onRest&&n.props.onRest(n.merged)),e&&e()},d=u.arr(a.to)||u.fun(a.to);i?setTimeout((function(){o===n.guid&&(d?n.runAsync(a,s):n.diff(a).start(s))}),i):d?n.runAsync(a,s):n.diff(a).start(s)}))}else u.fun(e)&&this.listeners.push(e),this.props.onStart&&this.props.onStart(),t=this,M.has(t)||M.add(t),A||(A=!0,E(T||D));return this},t.stop=function(e){return this.listeners.forEach((function(t){return t(e)})),this.listeners=[],this},t.pause=function(e){var t;return this.stop(!0),e&&(t=this,M.has(t)&&M.delete(t)),this},t.runAsync=function(e,t){var n=this,o=(e.delay,c(e,["delay"])),l=this.local,i=Promise.resolve(void 0);if(u.arr(o.to))for(var a=function(e){var t=e,c=r({},o,f(o.to[t]));u.arr(c.config)&&(c.config=c.config[t]),i=i.then((function(){if(l===n.guid)return new Promise((function(e){return n.diff(c).start(e)}))}))},s=0;s<o.to.length;s++)a(s);else if(u.fun(o.to)){var d,b=0;i=i.then((function(){return o.to((function(e){var t=r({},o,f(e));if(u.arr(t.config)&&(t.config=t.config[b]),b++,l===n.guid)return d=new Promise((function(e){return n.diff(t).start(e)}))}),(function(e){return void 0===e&&(e=!0),n.stop(e)})).then((function(){return d}))}))}i.then(t)},t.diff=function(e){var t=this;this.props=r({},this.props,e);var n=this.props,o=n.from,c=void 0===o?{}:o,l=n.to,i=void 0===l?{}:l,a=n.config,s=void 0===a?{}:a,d=n.reverse,f=n.attach,g=n.reset,O=n.immediate;if(d){var j=[i,c];c=j[0],i=j[1]}this.merged=r({},c,this.merged,i),this.hasChanged=!1;var v=f&&f(this);if(this.animations=Object.entries(this.merged).reduce((function(e,n){var o=n[0],l=n[1],i=e[o]||{},a=u.num(l),d=u.str(l)&&!l.startsWith("#")&&!/\d/.test(l)&&!h[l],f=u.arr(l),j=!a&&!f&&!d,k=u.und(c[o])?l:c[o],_=a||f||d?l:1,E=p(s,o);v&&(_=v.animations[o].parent);var C,S=i.parent,w=i.interpolation,I=m(v?_.getPayload():_),x=l;j&&(x=y({range:[0,1],output:[l,l]})(1));var T,N=w&&w.getValue(),P=!u.und(S)&&i.animatedValues.some((function(e){return!e.done})),L=!u.equ(x,N),R=!u.equ(x,i.previous),A=!u.equ(E,i.config);if(g||R&&L||A){var M;if(a||d)S=w=i.parent||new H(k);else if(f)S=w=i.parent||new z(k);else if(j){var D=i.interpolation&&i.interpolation.calc(i.parent.value);D=void 0===D||g?k:D,i.parent?(S=i.parent).setValue(0,!1):S=new H(0);var F={output:[D,l]};i.interpolation?(w=i.interpolation,i.interpolation.updateConfig(F)):w=S.interpolate(F)}return I=m(v?_.getPayload():_),C=m(S.getPayload()),g&&!j&&S.setValue(k,!1),t.hasChanged=!0,C.forEach((function(e){e.startPosition=e.value,e.lastPosition=e.value,e.lastVelocity=P?e.lastVelocity:void 0,e.lastTime=P?e.lastTime:void 0,e.startTime=B(),e.done=!1,e.animatedStyles.clear()})),p(O,o)&&S.setValue(j?_:l,!1),r({},e,((M={})[o]=r({},i,{name:o,parent:S,interpolation:w,animatedValues:C,toValues:I,previous:x,config:E,fromValues:m(S.getValue()),immediate:p(O,o),initialVelocity:b(E.velocity,0),clamp:b(E.clamp,!1),precision:b(E.precision,.01),tension:b(E.tension,170),friction:b(E.friction,26),mass:b(E.mass,1),duration:E.duration,easing:b(E.easing,(function(e){return e})),decay:E.decay}),M))}return L?e:(j&&(S.setValue(1,!1),w.updateConfig({output:[x,x]})),S.done=!0,t.hasChanged=!0,r({},e,((T={})[o]=r({},e[o],{previous:x}),T)))}),this.animations),this.hasChanged)for(var k in this.configs=Object.values(this.animations),this.values={},this.interpolations={},this.animations)this.interpolations[k]=this.animations[k].interpolation,this.values[k]=this.animations[k].interpolation.getValue();return this},t.destroy=function(){this.stop(),this.props={},this.merged={},this.animations={},this.interpolations={},this.values={},this.configs=[],this.local=0},e}(),W=function(e,t){var n=l.useRef(!1),o=l.useRef(),r=u.fun(t),c=l.useMemo((function(){var n;return o.current&&(o.current.map((function(e){return e.destroy()})),o.current=void 0),[new Array(e).fill().map((function(e,o){var c=new U,l=r?p(t,o,c):t[o];return 0===o&&(n=l.ref),c.update(l),n||c.start(),c})),n]}),[e]),i=c[0],a=c[1];o.current=i;l.useImperativeHandle(a,(function(){return{start:function(){return Promise.all(o.current.map((function(e){return new Promise((function(t){return e.start(t)}))})))},stop:function(e){return o.current.forEach((function(t){return t.stop(e)}))},get controllers(){return o.current}}}));var s=l.useMemo((function(){return function(e){return o.current.map((function(t,n){t.update(r?p(e,n,t):e[n]),a||t.start()}))}}),[e]);l.useEffect((function(){n.current?r||s(t):a||o.current.forEach((function(e){return e.start()}))})),l.useEffect((function(){return n.current=!0,function(){return o.current.forEach((function(e){return e.destroy()}))}}),[]);var d=o.current.map((function(e){return e.getValues()}));return r?[d,s,function(e){return o.current.forEach((function(t){return t.pause(e)}))}]:d},K=0,q=function(e,t){return("function"==typeof t?e.map(t):m(t)).map(String)},$=function(e){var t=e.items,n=e.keys,o=void 0===n?function(e){return e}:n,l=c(e,["items","keys"]);return t=m(void 0!==t?t:null),r({items:t,keys:q(t,o)},l)};function Y(e,t){var n=function(){if(r){if(c>=o.length)return"break";l=o[c++]}else{if((c=o.next()).done)return"break";l=c.value}var n=l.key,i=function(e){return e.key!==n};(u.und(t)||t===n)&&(e.current.instances.delete(n),e.current.transitions=e.current.transitions.filter(i),e.current.deleted=e.current.deleted.filter(i))},o=e.current.deleted,r=Array.isArray(o),c=0;for(o=r?o:o[Symbol.iterator]();;){var l;if("break"===n())break}e.current.forceUpdate()}var X=function(e){function t(t){var n;return void 0===t&&(t={}),n=e.call(this)||this,!t.transform||t.transform instanceof O||(t=g.transform(t)),n.payload=t,n}return a(t,e),t}(v),Q={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},Z="[-+]?\\d*\\.?\\d+";function J(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return"\\(\\s*("+t.join(")\\s*,\\s*(")+")\\s*\\)"}var ee=new RegExp("rgb"+J(Z,Z,Z)),te=new RegExp("rgba"+J(Z,Z,Z,Z)),ne=new RegExp("hsl"+J(Z,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%")),oe=new RegExp("hsla"+J(Z,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%",Z)),re=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,ce=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,le=/^#([0-9a-fA-F]{6})$/,ie=/^#([0-9a-fA-F]{8})$/;function ae(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 se(e,t,n){var o=n<.5?n*(1+t):n+t-n*t,r=2*n-o,c=ae(r,o,e+1/3),l=ae(r,o,e),i=ae(r,o,e-1/3);return Math.round(255*c)<<24|Math.round(255*l)<<16|Math.round(255*i)<<8}function ue(e){var t=parseInt(e,10);return t<0?0:t>255?255:t}function de(e){return(parseFloat(e)%360+360)%360/360}function be(e){var t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function me(e){var t=parseFloat(e);return t<0?0:t>100?1:t/100}function pe(e){var t,n,o="number"==typeof(t=e)?t>>>0===t&&t>=0&&t<=4294967295?t:null:(n=le.exec(t))?parseInt(n[1]+"ff",16)>>>0:Q.hasOwnProperty(t)?Q[t]:(n=ee.exec(t))?(ue(n[1])<<24|ue(n[2])<<16|ue(n[3])<<8|255)>>>0:(n=te.exec(t))?(ue(n[1])<<24|ue(n[2])<<16|ue(n[3])<<8|be(n[4]))>>>0:(n=re.exec(t))?parseInt(n[1]+n[1]+n[2]+n[2]+n[3]+n[3]+"ff",16)>>>0:(n=ie.exec(t))?parseInt(n[1],16)>>>0:(n=ce.exec(t))?parseInt(n[1]+n[1]+n[2]+n[2]+n[3]+n[3]+n[4]+n[4],16)>>>0:(n=ne.exec(t))?(255|se(de(n[1]),me(n[2]),me(n[3])))>>>0:(n=oe.exec(t))?(se(de(n[1]),me(n[2]),me(n[3]))|be(n[4]))>>>0:null;return null===o?e:"rgba("+((4278190080&(o=o||0))>>>24)+", "+((16711680&o)>>>16)+", "+((65280&o)>>>8)+", "+(255&o)/255+")"}var fe=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,ge=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,he=new RegExp("("+Object.keys(Q).join("|")+")","g"),Oe={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},je=["Webkit","Ms","Moz","O"];function ve(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||Oe.hasOwnProperty(e)&&Oe[e]?(""+t).trim():t+"px"}Oe=Object.keys(Oe).reduce((function(e,t){return je.forEach((function(n){return e[function(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}(n,t)]=e[t]})),e}),Oe);var ke={};P((function(e){return new X(e)})),I("div"),S((function(e){var t=e.output.map((function(e){return e.replace(ge,pe)})).map((function(e){return e.replace(he,pe)})),n=t[0].match(fe).map((function(){return[]}));t.forEach((function(e){e.match(fe).forEach((function(e,t){return n[t].push(+e)}))}));var o=t[0].match(fe).map((function(t,o){return F(r({},e,{output:n[o]}))}));return function(e){var n=0;return t[0].replace(fe,(function(){return o[n++](e)})).replace(/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,(function(e,t,n,o,r){return"rgba("+Math.round(t)+", "+Math.round(n)+", "+Math.round(o)+", "+r+")"}))}})),_(Q),k((function(e,t){if(!e.nodeType||void 0===e.setAttribute)return!1;var n=t.style,o=t.children,r=t.scrollTop,l=t.scrollLeft,i=c(t,["style","children","scrollTop","scrollLeft"]),a="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName;for(var s in void 0!==r&&(e.scrollTop=r),void 0!==l&&(e.scrollLeft=l),void 0!==o&&(e.textContent=o),n)if(n.hasOwnProperty(s)){var u=0===s.indexOf("--"),d=ve(s,n[s],u);"float"===s&&(s="cssFloat"),u?e.style.setProperty(s,d):e.style[s]=d}for(var b in i){var m=a?b:ke[b]||(ke[b]=b.replace(/([A-Z])/g,(function(e){return"-"+e.toLowerCase()})));void 0!==e.getAttribute(m)&&e.setAttribute(m,i[b])}}),(function(e){return e}));var _e,ye,Ee=(_e=function(e){return l.forwardRef((function(t,n){var o=d(),a=l.useRef(!0),s=l.useRef(null),b=l.useRef(null),m=l.useCallback((function(e){var t=s.current;s.current=new R(e,(function(){var e=!1;b.current&&(e=g.fn(b.current,s.current.getAnimatedValue())),b.current&&!1!==e||o()})),t&&t.detach()}),[]);l.useEffect((function(){return function(){a.current=!1,s.current&&s.current.detach()}}),[]),l.useImperativeHandle(n,(function(){return N(b,a,o)})),m(t);var p,f=s.current.getValue(),h=(f.scrollTop,f.scrollLeft,c(f,["scrollTop","scrollLeft"])),O=(p=e,!u.fun(p)||p.prototype instanceof i.Component?function(e){return b.current=function(e,t){return t&&(u.fun(t)?t(e):u.obj(t)&&(t.current=e)),e}(e,n)}:void 0);return i.createElement(e,r({},h,{ref:O}))}))},void 0===(ye=!1)&&(ye=!0),function(e){return(u.arr(e)?e:Object.keys(e)).reduce((function(e,t){var n=ye?t[0].toLowerCase()+t.substring(1):t;return e[n]=_e(n),e}),_e)}),Ce=Ee(["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"]);t.apply=Ee,t.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}},t.update=D,t.animated=Ce,t.a=Ce,t.interpolate=function(e,t,n){return e&&new V(e,t,n)},t.Globals=L,t.useSpring=function(e){var t=u.fun(e),n=W(1,t?e:[e]),o=n[0],r=n[1],c=n[2];return t?[o[0],r,c]:o},t.useTrail=function(e,t){var n=l.useRef(!1),o=u.fun(t),c=p(t),i=l.useRef(),a=W(e,(function(e,t){return 0===e&&(i.current=[]),i.current.push(t),r({},c,{config:p(c.config,e),attach:e>0&&function(){return i.current[e-1]}})})),s=a[0],d=a[1],b=a[2],m=l.useMemo((function(){return function(e){return d((function(t,n){e.reverse;var o=e.reverse?t+1:t-1,l=i.current[o];return r({},e,{config:p(e.config||c.config,t),attach:l&&function(){return l}})}))}}),[e,c.reverse]);return l.useEffect((function(){n.current&&!o&&m(t)})),l.useEffect((function(){n.current=!0}),[]),o?[s,m,b]:s},t.useTransition=function(e,t,n){var o=r({items:e,keys:t||function(e){return e}},n),i=$(o),a=i.lazy,s=void 0!==a&&a,u=(i.unique,i.reset),b=void 0!==u&&u,m=(i.enter,i.leave,i.update,i.onDestroyed),f=(i.keys,i.items,i.onFrame),g=i.onRest,h=i.onStart,O=i.ref,j=c(i,["lazy","unique","reset","enter","leave","update","onDestroyed","keys","items","onFrame","onRest","onStart","ref"]),v=d(),k=l.useRef(!1),_=l.useRef({mounted:!1,first:!0,deleted:[],current:{},transitions:[],prevProps:{},paused:!!o.ref,instances:!k.current&&new Map,forceUpdate:v});return l.useImperativeHandle(o.ref,(function(){return{start:function(){return Promise.all(Array.from(_.current.instances).map((function(e){var t=e[1];return new Promise((function(e){return t.start(e)}))})))},stop:function(e){return Array.from(_.current.instances).forEach((function(t){return t[1].stop(e)}))},get controllers(){return Array.from(_.current.instances).map((function(e){return e[1]}))}}})),_.current=function(e,t){var n=e.first,o=e.prevProps,l=c(e,["first","prevProps"]),i=$(t),a=i.items,s=i.keys,u=i.initial,d=i.from,b=i.enter,m=i.leave,f=i.update,g=i.trail,h=void 0===g?0:g,O=i.unique,j=i.config,v=i.order,k=void 0===v?["enter","leave","update"]:v,_=$(o),y=_.keys,E=_.items,C=r({},l.current),S=[].concat(l.deleted),w=Object.keys(C),B=new Set(w),I=new Set(s),x=s.filter((function(e){return!B.has(e)})),T=l.transitions.filter((function(e){return!e.destroyed&&!I.has(e.originalKey)})).map((function(e){return e.originalKey})),N=s.filter((function(e){return B.has(e)})),P=-h;for(;k.length;){switch(k.shift()){case"enter":x.forEach((function(e,t){O&&S.find((function(t){return t.originalKey===e}))&&(S=S.filter((function(t){return t.originalKey!==e})));var o=s.indexOf(e),r=a[o],c=n&&void 0!==u?"initial":"enter";C[e]={slot:c,originalKey:e,key:O?String(e):K++,item:r,trail:P+=h,config:p(j,r,c),from:p(n&&void 0!==u?u||{}:d,r),to:p(b,r)}}));break;case"leave":T.forEach((function(e){var t=y.indexOf(e),n=E[t];S.unshift(r({},C[e],{slot:"leave",destroyed:!0,left:y[Math.max(0,t-1)],right:y[Math.min(y.length,t+1)],trail:P+=h,config:p(j,n,"leave"),to:p(m,n)})),delete C[e]}));break;case"update":N.forEach((function(e){var t=s.indexOf(e),n=a[t];C[e]=r({},C[e],{item:n,slot:"update",trail:P+=h,config:p(j,n,"update"),to:p(f,n)})}))}}var L=s.map((function(e){return C[e]}));return S.forEach((function(e){var t,n=e.left,o=(e.right,c(e,["left","right"]));-1!==(t=L.findIndex((function(e){return e.originalKey===n})))&&(t+=1),t=Math.max(0,t),L=[].concat(L.slice(0,t),[o],L.slice(t))})),r({},l,{changed:x.length||T.length||N.length,first:n&&0===x.length,transitions:L,current:C,deleted:S,prevProps:t})}(_.current,o),_.current.changed&&_.current.transitions.forEach((function(e){var t=e.slot,n=e.from,o=e.to,c=e.config,l=e.trail,i=e.key,a=e.item;_.current.instances.has(i)||_.current.instances.set(i,new U);var u=_.current.instances.get(i),d=r({},j,{to:o,from:n,config:c,ref:O,onRest:function(n){_.current.mounted&&(e.destroyed&&(O||s||Y(_,i),m&&m(a)),!Array.from(_.current.instances).some((function(e){return!e[1].idle}))&&(O||s)&&_.current.deleted.length>0&&Y(_),g&&g(a,t,n))},onStart:h&&function(){return h(a,t)},onFrame:f&&function(e){return f(a,t,e)},delay:l,reset:b&&"enter"===t});u.update(d),_.current.paused||u.start()})),l.useEffect((function(){return _.current.mounted=k.current=!0,function(){_.current.mounted=k.current=!1,Array.from(_.current.instances).map((function(e){return e[1].destroy()})),_.current.instances.clear()}}),[]),_.current.transitions.map((function(e){var t=e.item,n=e.slot,o=e.key;return{item:t,key:o,state:n,props:_.current.instances.get(o).getValues()}}))},t.useChain=function(e,t,n){void 0===n&&(n=1e3);var o=l.useRef();l.useEffect((function(){u.equ(e,o.current)?e.forEach((function(e){var t=e.current;return t&&t.start()})):t?e.forEach((function(e,o){var c=e.current;if(c){var l=c.controllers;if(l.length){var i=n*t[o];l.forEach((function(e){e.queue=e.queue.map((function(e){return r({},e,{delay:e.delay+i})})),e.start()}))}}})):e.reduce((function(e,t,n){var o=t.current;return e.then((function(){return o.start()}))}),Promise.resolve()),o.current=e}))},t.useSprings=W},Zss7:function(e,t,n){var o;!function(r){var c=/^\s+/,l=/\s+$/,i=0,a=r.round,s=r.min,u=r.max,d=r.random;function b(e,t){if(t=t||{},(e=e||"")instanceof b)return e;if(!(this instanceof b))return new b(e,t);var n=function(e){var t={r:0,g:0,b:0},n=1,o=null,i=null,a=null,d=!1,b=!1;"string"==typeof e&&(e=function(e){e=e.replace(c,"").replace(l,"").toLowerCase();var t,n=!1;if(x[e])e=x[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=G.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=G.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=G.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=G.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=G.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=G.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=G.hex8.exec(e))return{r:R(t[1]),g:R(t[2]),b:R(t[3]),a:F(t[4]),format:n?"name":"hex8"};if(t=G.hex6.exec(e))return{r:R(t[1]),g:R(t[2]),b:R(t[3]),format:n?"name":"hex"};if(t=G.hex4.exec(e))return{r:R(t[1]+""+t[1]),g:R(t[2]+""+t[2]),b:R(t[3]+""+t[3]),a:F(t[4]+""+t[4]),format:n?"name":"hex8"};if(t=G.hex3.exec(e))return{r:R(t[1]+""+t[1]),g:R(t[2]+""+t[2]),b:R(t[3]+""+t[3]),format:n?"name":"hex"};return!1}(e));"object"==typeof e&&(U(e.r)&&U(e.g)&&U(e.b)?(m=e.r,p=e.g,f=e.b,t={r:255*P(m,255),g:255*P(p,255),b:255*P(f,255)},d=!0,b="%"===String(e.r).substr(-1)?"prgb":"rgb"):U(e.h)&&U(e.s)&&U(e.v)?(o=M(e.s),i=M(e.v),t=function(e,t,n){e=6*P(e,360),t=P(t,100),n=P(n,100);var o=r.floor(e),c=e-o,l=n*(1-t),i=n*(1-c*t),a=n*(1-(1-c)*t),s=o%6;return{r:255*[n,i,l,l,a,n][s],g:255*[a,n,n,i,l,l][s],b:255*[l,l,a,n,n,i][s]}}(e.h,o,i),d=!0,b="hsv"):U(e.h)&&U(e.s)&&U(e.l)&&(o=M(e.s),a=M(e.l),t=function(e,t,n){var o,r,c;function l(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}if(e=P(e,360),t=P(t,100),n=P(n,100),0===t)o=r=c=n;else{var i=n<.5?n*(1+t):n+t-n*t,a=2*n-i;o=l(a,i,e+1/3),r=l(a,i,e),c=l(a,i,e-1/3)}return{r:255*o,g:255*r,b:255*c}}(e.h,o,a),d=!0,b="hsl"),e.hasOwnProperty("a")&&(n=e.a));var m,p,f;return n=N(n),{ok:d,format:e.format||b,r:s(255,u(t.r,0)),g:s(255,u(t.g,0)),b:s(255,u(t.b,0)),a:n}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=a(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=a(this._r)),this._g<1&&(this._g=a(this._g)),this._b<1&&(this._b=a(this._b)),this._ok=n.ok,this._tc_id=i++}function m(e,t,n){e=P(e,255),t=P(t,255),n=P(n,255);var o,r,c=u(e,t,n),l=s(e,t,n),i=(c+l)/2;if(c==l)o=r=0;else{var a=c-l;switch(r=i>.5?a/(2-c-l):a/(c+l),c){case e:o=(t-n)/a+(t<n?6:0);break;case t:o=(n-e)/a+2;break;case n:o=(e-t)/a+4}o/=6}return{h:o,s:r,l:i}}function p(e,t,n){e=P(e,255),t=P(t,255),n=P(n,255);var o,r,c=u(e,t,n),l=s(e,t,n),i=c,a=c-l;if(r=0===c?0:a/c,c==l)o=0;else{switch(c){case e:o=(t-n)/a+(t<n?6:0);break;case t:o=(n-e)/a+2;break;case n:o=(e-t)/a+4}o/=6}return{h:o,s:r,v:i}}function f(e,t,n,o){var r=[A(a(e).toString(16)),A(a(t).toString(16)),A(a(n).toString(16))];return o&&r[0].charAt(0)==r[0].charAt(1)&&r[1].charAt(0)==r[1].charAt(1)&&r[2].charAt(0)==r[2].charAt(1)?r[0].charAt(0)+r[1].charAt(0)+r[2].charAt(0):r.join("")}function g(e,t,n,o){return[A(D(o)),A(a(e).toString(16)),A(a(t).toString(16)),A(a(n).toString(16))].join("")}function h(e,t){t=0===t?0:t||10;var n=b(e).toHsl();return n.s-=t/100,n.s=L(n.s),b(n)}function O(e,t){t=0===t?0:t||10;var n=b(e).toHsl();return n.s+=t/100,n.s=L(n.s),b(n)}function j(e){return b(e).desaturate(100)}function v(e,t){t=0===t?0:t||10;var n=b(e).toHsl();return n.l+=t/100,n.l=L(n.l),b(n)}function k(e,t){t=0===t?0:t||10;var n=b(e).toRgb();return n.r=u(0,s(255,n.r-a(-t/100*255))),n.g=u(0,s(255,n.g-a(-t/100*255))),n.b=u(0,s(255,n.b-a(-t/100*255))),b(n)}function _(e,t){t=0===t?0:t||10;var n=b(e).toHsl();return n.l-=t/100,n.l=L(n.l),b(n)}function y(e,t){var n=b(e).toHsl(),o=(n.h+t)%360;return n.h=o<0?360+o:o,b(n)}function E(e){var t=b(e).toHsl();return t.h=(t.h+180)%360,b(t)}function C(e){var t=b(e).toHsl(),n=t.h;return[b(e),b({h:(n+120)%360,s:t.s,l:t.l}),b({h:(n+240)%360,s:t.s,l:t.l})]}function S(e){var t=b(e).toHsl(),n=t.h;return[b(e),b({h:(n+90)%360,s:t.s,l:t.l}),b({h:(n+180)%360,s:t.s,l:t.l}),b({h:(n+270)%360,s:t.s,l:t.l})]}function w(e){var t=b(e).toHsl(),n=t.h;return[b(e),b({h:(n+72)%360,s:t.s,l:t.l}),b({h:(n+216)%360,s:t.s,l:t.l})]}function B(e,t,n){t=t||6,n=n||30;var o=b(e).toHsl(),r=360/n,c=[b(e)];for(o.h=(o.h-(r*t>>1)+720)%360;--t;)o.h=(o.h+r)%360,c.push(b(o));return c}function I(e,t){t=t||6;for(var n=b(e).toHsv(),o=n.h,r=n.s,c=n.v,l=[],i=1/t;t--;)l.push(b({h:o,s:r,v:c})),c=(c+i)%1;return l}b.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,o=this.toRgb();return e=o.r/255,t=o.g/255,n=o.b/255,.2126*(e<=.03928?e/12.92:r.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:r.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:r.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=N(e),this._roundA=a(100*this._a)/100,this},toHsv:function(){var e=p(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=p(this._r,this._g,this._b),t=a(360*e.h),n=a(100*e.s),o=a(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+o+"%)":"hsva("+t+", "+n+"%, "+o+"%, "+this._roundA+")"},toHsl:function(){var e=m(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=m(this._r,this._g,this._b),t=a(360*e.h),n=a(100*e.s),o=a(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+o+"%)":"hsla("+t+", "+n+"%, "+o+"%, "+this._roundA+")"},toHex:function(e){return f(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,o,r){var c=[A(a(e).toString(16)),A(a(t).toString(16)),A(a(n).toString(16)),A(D(o))];if(r&&c[0].charAt(0)==c[0].charAt(1)&&c[1].charAt(0)==c[1].charAt(1)&&c[2].charAt(0)==c[2].charAt(1)&&c[3].charAt(0)==c[3].charAt(1))return c[0].charAt(0)+c[1].charAt(0)+c[2].charAt(0)+c[3].charAt(0);return c.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:a(this._r),g:a(this._g),b:a(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+a(this._r)+", "+a(this._g)+", "+a(this._b)+")":"rgba("+a(this._r)+", "+a(this._g)+", "+a(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:a(100*P(this._r,255))+"%",g:a(100*P(this._g,255))+"%",b:a(100*P(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+a(100*P(this._r,255))+"%, "+a(100*P(this._g,255))+"%, "+a(100*P(this._b,255))+"%)":"rgba("+a(100*P(this._r,255))+"%, "+a(100*P(this._g,255))+"%, "+a(100*P(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(T[f(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+g(this._r,this._g,this._b,this._a),n=t,o=this._gradientType?"GradientType = 1, ":"";if(e){var r=b(e);n="#"+g(r._r,r._g,r._b,r._a)}return"progid:DXImageTransform.Microsoft.gradient("+o+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,o=this._a<1&&this._a>=0;return t||!o||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return b(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(v,arguments)},brighten:function(){return this._applyModification(k,arguments)},darken:function(){return this._applyModification(_,arguments)},desaturate:function(){return this._applyModification(h,arguments)},saturate:function(){return this._applyModification(O,arguments)},greyscale:function(){return this._applyModification(j,arguments)},spin:function(){return this._applyModification(y,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(B,arguments)},complement:function(){return this._applyCombination(E,arguments)},monochromatic:function(){return this._applyCombination(I,arguments)},splitcomplement:function(){return this._applyCombination(w,arguments)},triad:function(){return this._applyCombination(C,arguments)},tetrad:function(){return this._applyCombination(S,arguments)}},b.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var o in e)e.hasOwnProperty(o)&&(n[o]="a"===o?e[o]:M(e[o]));e=n}return b(e,t)},b.equals=function(e,t){return!(!e||!t)&&b(e).toRgbString()==b(t).toRgbString()},b.random=function(){return b.fromRatio({r:d(),g:d(),b:d()})},b.mix=function(e,t,n){n=0===n?0:n||50;var o=b(e).toRgb(),r=b(t).toRgb(),c=n/100;return b({r:(r.r-o.r)*c+o.r,g:(r.g-o.g)*c+o.g,b:(r.b-o.b)*c+o.b,a:(r.a-o.a)*c+o.a})},b.readability=function(e,t){var n=b(e),o=b(t);return(r.max(n.getLuminance(),o.getLuminance())+.05)/(r.min(n.getLuminance(),o.getLuminance())+.05)},b.isReadable=function(e,t,n){var o,r,c=b.readability(e,t);switch(r=!1,(o=function(e){var t,n;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==n&&"large"!==n&&(n="small");return{level:t,size:n}}(n)).level+o.size){case"AAsmall":case"AAAlarge":r=c>=4.5;break;case"AAlarge":r=c>=3;break;case"AAAsmall":r=c>=7}return r},b.mostReadable=function(e,t,n){var o,r,c,l,i=null,a=0;r=(n=n||{}).includeFallbackColors,c=n.level,l=n.size;for(var s=0;s<t.length;s++)(o=b.readability(e,t[s]))>a&&(a=o,i=b(t[s]));return b.isReadable(e,i,{level:c,size:l})||!r?i:(n.includeFallbackColors=!1,b.mostReadable(e,["#fff","#000"],n))};var x=b.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},T=b.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(x);function N(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function P(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=s(t,u(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),r.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function L(e){return s(1,u(0,e))}function R(e){return parseInt(e,16)}function A(e){return 1==e.length?"0"+e:""+e}function M(e){return e<=1&&(e=100*e+"%"),e}function D(e){return r.round(255*parseFloat(e)).toString(16)}function F(e){return R(e)/255}var V,H,z,G=(H="[\\s|\\(]+("+(V="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+V+")[,|\\s]+("+V+")\\s*\\)?",z="[\\s|\\(]+("+V+")[,|\\s]+("+V+")[,|\\s]+("+V+")[,|\\s]+("+V+")\\s*\\)?",{CSS_UNIT:new RegExp(V),rgb:new RegExp("rgb"+H),rgba:new RegExp("rgba"+z),hsl:new RegExp("hsl"+H),hsla:new RegExp("hsla"+z),hsv:new RegExp("hsv"+H),hsva:new RegExp("hsva"+z),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function U(e){return!!G.CSS_UNIT.exec(e)}e.exports?e.exports=b:void 0===(o=function(){return b}.call(t,n,t,e))||(e.exports=o)}(Math)},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},bWcr: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 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=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},cDcd:function(e,t){e.exports=window.React},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},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,m={},p=!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&&(p=!1)},delete:function(e){delete f.parent.node[f.key],e&&(p=!1)},remove:function(e){a(f.parent.node)?f.parent.node.splice(f.key,1):delete f.parent.node[f.key],e&&(p=!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(){i=!1},block:function(){p=!1}};if(!i)return f;function g(){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}g();var h=t.call(f,f.node);return void 0!==h&&f.update&&f.update(h),m.before&&m.before.call(f,f.node),p?("object"!=typeof f.node||null===f.node||f.circular||(r.push(f),g(),s(f.keys,(function(t,r){o.push(t),m.pre&&m.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,m.post&&m.post.call(f,c),o.pop()})),r.pop()),m.after&&m.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}},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},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},iA5R:function(e,t,n){"use strict";var o;Object.defineProperty(t,"__esModule",{value:!0}),t.diffChars=function(e,t,n){return r.diff(e,t,n)},t.characterDiff=void 0;var r=new(((o=n("smQA"))&&o.__esModule?o:{default:o}).default);t.characterDiff=r},iClF:function(e,t,n){"use strict";var o=n("GRId");t.a=function({icon:e,size:t=24,...n}){return Object(o.cloneElement)(e,{width:t,height:t,...n})}},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 m(e,t){for(var n=0;n<e.length;n++)t(e[n])}function p(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 g(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 h(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 j={};function v(e,t,n){if(O(e))return"width"===t?j.viewportWidth(e):j.viewportHeight(e);if(9===e.nodeType)return"width"===t?j.docWidth(e):j.docHeight(e);var o="width"===t?["Left","Right"]:["Top","Bottom"],r="width"===t?e.offsetWidth:e.offsetHeight,c=(b(e),p(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-h(e,["border","padding"],o):l;if(i){var s=2===n?-h(e,["border"],o):h(e,["margin"],o);return a+(1===n?0:s)}return l+h(e,f.slice(n),o)}m(["Width","Height"],(function(e){j["doc"+e]=function(t){var n=t.document;return Math.max(n.documentElement["scroll"+e],n.body["scroll"+e],j["viewport"+e](n))},j["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=v.apply(void 0,n):g(e,k,(function(){t=v.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])}m(["width","height"],(function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);j["outer"+t]=function(t,n){return t&&_(t,e,n?0:1)};var n="width"===e?["Left","Right"]:["Top","Bottom"];j[e]=function(t,o){if(void 0===o)return t&&_(t,e,-1);if(t){b(t);return p(t)&&(o+=h(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:m,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},j)},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()}))]}},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 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}},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 o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},e.exports.default=e.exports,e.exports.__esModule=!0,n.apply(this,arguments)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},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},qRz9:function(e,t){e.exports=window.wp.richText},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},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:[]}],m=this.extractCommon(b[0],t,e,0);if(b[0].newPos+1>=a&&m+1>=s)return i([{value:this.join(t),count:t.length}]);function p(){for(var n=-1*u;n<=u;n+=2){var o=void 0,d=b[n-1],m=b[n+1],p=(m?m.newPos:0)-n;d&&(b[n-1]=void 0);var f=d&&d.newPos+1<a,g=m&&0<=p&&p<s;if(f||g){if(!f||g&&d.newPos<m.newPos?(o=c(m),l.pushComponent(o.components,void 0,!0)):((o=d).newPos++,l.pushComponent(o.components,!0,void 0)),p=l.extractCommon(o,t,e,n),o.newPos+1>=a&&p+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();p()||e()}),0)}();else for(;u<=d;){var f=p();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("")}}},"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 Qc})),n.d(t,"__experimentalUseBorderProps",(function(){return Zc})),n.d(t,"__experimentalGetColorClassesAndStyles",(function(){return el})),n.d(t,"__experimentalUseColorProps",(function(){return tl})),n.d(t,"__experimentalUseCustomSides",(function(){return xc})),n.d(t,"getColorClassName",(function(){return Po})),n.d(t,"getColorObjectByAttributeValues",(function(){return To})),n.d(t,"getColorObjectByColorValue",(function(){return No})),n.d(t,"createCustomColorsHOC",(function(){return rl})),n.d(t,"withColors",(function(){return cl})),n.d(t,"__experimentalUseColors",(function(){return fl})),n.d(t,"__experimentalGetGradientClass",(function(){return Ro})),n.d(t,"getGradientValueBySlug",(function(){return Ao})),n.d(t,"__experimentalGetGradientObjectByGradientValue",(function(){return Mo})),n.d(t,"getGradientSlugByValue",(function(){return Do})),n.d(t,"__experimentalUseGradient",(function(){return Fo})),n.d(t,"getFontSize",(function(){return uc})),n.d(t,"getFontSizeClass",(function(){return bc})),n.d(t,"getFontSizeObjectByValue",(function(){return dc})),n.d(t,"FontSizePicker",(function(){return mc})),n.d(t,"withFontSizes",(function(){return hl})),n.d(t,"AlignmentControl",(function(){return El})),n.d(t,"AlignmentToolbar",(function(){return Cl})),n.d(t,"Autocomplete",(function(){return Gl})),n.d(t,"BlockAlignmentControl",(function(){return lo})),n.d(t,"BlockAlignmentToolbar",(function(){return io})),n.d(t,"__experimentalBlockFullHeightAligmentControl",(function(){return Wl})),n.d(t,"__experimentalBlockAlignmentMatrixControl",(function(){return Kl})),n.d(t,"BlockBreadcrumb",(function(){return Yl})),n.d(t,"BlockContextProvider",(function(){return Ql})),n.d(t,"BlockControls",(function(){return zn})),n.d(t,"BlockFormatControls",(function(){return Hn})),n.d(t,"BlockColorsStyleSelector",(function(){return ni})),n.d(t,"BlockEdit",(function(){return ci})),n.d(t,"useBlockEditContext",(function(){return O})),n.d(t,"BlockIcon",(function(){return Fl})),n.d(t,"BlockNavigationDropdown",(function(){return Xu})),n.d(t,"__experimentalBlockNavigationBlockFill",(function(){return Du})),n.d(t,"__experimentalBlockNavigationEditor",(function(){return Od})),n.d(t,"__experimentalBlockNavigationTree",(function(){return $u})),n.d(t,"__experimentalBlockVariationPicker",(function(){return vd})),n.d(t,"__experimentalBlockPatternSetup",(function(){return Td})),n.d(t,"__experimentalBlockVariationTransforms",(function(){return Pd})),n.d(t,"BlockVerticalAlignmentToolbar",(function(){return Hd})),n.d(t,"BlockVerticalAlignmentControl",(function(){return Vd})),n.d(t,"__experimentalBorderStyleControl",(function(){return tr})),n.d(t,"ButtonBlockerAppender",(function(){return cs})),n.d(t,"ColorPalette",(function(){return Gd})),n.d(t,"ColorPaletteControl",(function(){return Ud})),n.d(t,"ContrastChecker",(function(){return gr})),n.d(t,"__experimentalDuotoneControl",(function(){return Vc})),n.d(t,"__experimentalGradientPicker",(function(){return qd})),n.d(t,"__experimentalGradientPickerControl",(function(){return $d})),n.d(t,"__experimentalGradientPickerPanel",(function(){return Yd})),n.d(t,"__experimentalFontAppearanceControl",(function(){return ec})),n.d(t,"__experimentalFontFamilyControl",(function(){return cc})),n.d(t,"__experimentalColorGradientControl",(function(){return Ko})),n.d(t,"__experimentalPanelColorGradientSettings",(function(){return pr})),n.d(t,"__experimentalImageSizeControl",(function(){return Qd})),n.d(t,"InnerBlocks",(function(){return ab})),n.d(t,"__experimentalUseInnerBlocksProps",(function(){return ib})),n.d(t,"InspectorAdvancedControls",(function(){return ho})),n.d(t,"InspectorControls",(function(){return ko})),n.d(t,"JustifyToolbar",(function(){return gb})),n.d(t,"JustifyContentControl",(function(){return fb})),n.d(t,"__experimentalLinkControl",(function(){return Db})),n.d(t,"__experimentalLinkControlSearchInput",(function(){return Nb})),n.d(t,"__experimentalLinkControlSearchResults",(function(){return Cb})),n.d(t,"__experimentalLinkControlSearchItem",(function(){return Eb})),n.d(t,"LineHeightControl",(function(){return Yr})),n.d(t,"MediaReplaceFlow",(function(){return Gb})),n.d(t,"MediaPlaceholder",(function(){return Yb})),n.d(t,"MediaUpload",(function(){return Hb})),n.d(t,"MediaUploadCheck",(function(){return zb})),n.d(t,"PanelColorSettings",(function(){return al})),n.d(t,"PlainText",(function(){return Zb})),n.d(t,"__experimentalResponsiveBlockControl",(function(){return em})),n.d(t,"RichText",(function(){return hd})),n.d(t,"RichTextShortcut",(function(){return tm})),n.d(t,"RichTextToolbarButton",(function(){return nm})),n.d(t,"__unstableRichTextInputEvent",(function(){return om})),n.d(t,"ToolSelector",(function(){return cm})),n.d(t,"__experimentalUnitControl",(function(){return lm})),n.d(t,"URLInput",(function(){return kb})),n.d(t,"URLInputButton",(function(){return um})),n.d(t,"URLPopover",(function(){return qb})),n.d(t,"__experimentalImageURLInputUI",(function(){return pm})),n.d(t,"withColorContext",(function(){return zd})),n.d(t,"__unstableBlockSettingsMenuFirstItem",(function(){return nu})),n.d(t,"__unstableInserterMenuExtension",(function(){return Ka})),n.d(t,"__experimentalPreviewOptions",(function(){return gm})),n.d(t,"__experimentalUseResizeCanvas",(function(){return ym})),n.d(t,"BlockInspector",(function(){return xm})),n.d(t,"BlockList",(function(){return yu})),n.d(t,"useBlockProps",(function(){return wu})),n.d(t,"__experimentalLayoutStyle",(function(){return Jn})),n.d(t,"BlockMover",(function(){return Cs})),n.d(t,"BlockPreview",(function(){return ha})),n.d(t,"BlockSelectionClearer",(function(){return vu})),n.d(t,"__unstableUseBlockSelectionClearer",(function(){return ju})),n.d(t,"BlockSettingsMenu",(function(){return du})),n.d(t,"BlockSettingsMenuControls",(function(){return iu})),n.d(t,"BlockTitle",(function(){return $l})),n.d(t,"BlockToolbar",(function(){return bu})),n.d(t,"BlockTools",(function(){return Tm})),n.d(t,"CopyHandler",(function(){return Xs})),n.d(t,"__unstableUseClipboardHandler",(function(){return Ys})),n.d(t,"DefaultBlockAppender",(function(){return rs})),n.d(t,"__unstableEditorStyles",(function(){return Jm})),n.d(t,"Inserter",(function(){return os})),n.d(t,"__experimentalLibrary",(function(){return ep})),n.d(t,"__experimentalSearchForm",(function(){return ua})),n.d(t,"BlockEditorKeyboardShortcuts",(function(){return np})),n.d(t,"MultiSelectScrollIntoView",(function(){return op})),n.d(t,"NavigableToolbar",(function(){return Es})),n.d(t,"ObserveTyping",(function(){return ip})),n.d(t,"__unstableUseTypingObserver",(function(){return lp})),n.d(t,"__unstableUseMouseMoveTypingReset",(function(){return cp})),n.d(t,"PreserveScrollInReorder",(function(){return ap})),n.d(t,"SkipToSelectedBlock",(function(){return Em})),n.d(t,"Typewriter",(function(){return bp})),n.d(t,"__unstableUseTypewriter",(function(){return dp})),n.d(t,"Warning",(function(){return Bi})),n.d(t,"WritingFlow",(function(){return kp})),n.d(t,"__unstableUseCanvasClickRedirect",(function(){return yp})),n.d(t,"useBlockDisplayInformation",(function(){return ql})),n.d(t,"__unstableIframe",(function(){return Sp})),n.d(t,"__experimentalUseNoRecursiveRenders",(function(){return Bp})),n.d(t,"BlockEditorProvider",(function(){return ma})),n.d(t,"__experimentalUseSimulatedMediaQuery",(function(){return _m})),n.d(t,"useSetting",(function(){return Bo})),n.d(t,"transformStyles",(function(){return Qm})),n.d(t,"validateThemeColors",(function(){return Ip})),n.d(t,"validateThemeGradients",(function(){return xp})),n.d(t,"__experimentalGetMatchingVariation",(function(){return Nd})),n.d(t,"storeConfig",(function(){return Ln})),n.d(t,"store",(function(){return Rn})),n.d(t,"SETTINGS_DEFAULTS",(function(){return k}));var o={};n.r(o),n.d(o,"getBlockName",(function(){return M})),n.d(o,"isBlockValid",(function(){return D})),n.d(o,"getBlockAttributes",(function(){return F})),n.d(o,"getBlock",(function(){return V})),n.d(o,"__unstableGetBlockWithoutInnerBlocks",(function(){return H})),n.d(o,"getBlocks",(function(){return z})),n.d(o,"__unstableGetBlockWithBlockTree",(function(){return G})),n.d(o,"__unstableGetBlockTree",(function(){return U})),n.d(o,"__unstableGetClientIdWithClientIdsTree",(function(){return W})),n.d(o,"__unstableGetClientIdsTree",(function(){return K})),n.d(o,"getClientIdsOfDescendants",(function(){return q})),n.d(o,"getClientIdsWithDescendants",(function(){return $})),n.d(o,"getGlobalBlockCount",(function(){return Y})),n.d(o,"getBlocksByClientId",(function(){return X})),n.d(o,"getBlockCount",(function(){return Q})),n.d(o,"getSelectionStart",(function(){return Z})),n.d(o,"getSelectionEnd",(function(){return J})),n.d(o,"getBlockSelectionStart",(function(){return ee})),n.d(o,"getBlockSelectionEnd",(function(){return te})),n.d(o,"getSelectedBlockCount",(function(){return ne})),n.d(o,"hasSelectedBlock",(function(){return oe})),n.d(o,"getSelectedBlockClientId",(function(){return re})),n.d(o,"getSelectedBlock",(function(){return ce})),n.d(o,"getBlockRootClientId",(function(){return le})),n.d(o,"getBlockParents",(function(){return ie})),n.d(o,"getBlockParentsByBlockName",(function(){return ae})),n.d(o,"getBlockHierarchyRootClientId",(function(){return se})),n.d(o,"getLowestCommonAncestorWithSelectedBlock",(function(){return ue})),n.d(o,"getAdjacentBlockClientId",(function(){return de})),n.d(o,"getPreviousBlockClientId",(function(){return be})),n.d(o,"getNextBlockClientId",(function(){return me})),n.d(o,"getSelectedBlocksInitialCaretPosition",(function(){return pe})),n.d(o,"getSelectedBlockClientIds",(function(){return fe})),n.d(o,"getMultiSelectedBlockClientIds",(function(){return ge})),n.d(o,"getMultiSelectedBlocks",(function(){return he})),n.d(o,"getFirstMultiSelectedBlockClientId",(function(){return Oe})),n.d(o,"getLastMultiSelectedBlockClientId",(function(){return je})),n.d(o,"isFirstMultiSelectedBlock",(function(){return ve})),n.d(o,"isBlockMultiSelected",(function(){return ke})),n.d(o,"isAncestorMultiSelected",(function(){return _e})),n.d(o,"getMultiSelectedBlocksStartClientId",(function(){return ye})),n.d(o,"getMultiSelectedBlocksEndClientId",(function(){return Ee})),n.d(o,"getBlockOrder",(function(){return Ce})),n.d(o,"getBlockIndex",(function(){return Se})),n.d(o,"isBlockSelected",(function(){return we})),n.d(o,"hasSelectedInnerBlock",(function(){return Be})),n.d(o,"isBlockWithinSelection",(function(){return Ie})),n.d(o,"hasMultiSelection",(function(){return xe})),n.d(o,"isMultiSelecting",(function(){return Te})),n.d(o,"isSelectionEnabled",(function(){return Ne})),n.d(o,"getBlockMode",(function(){return Pe})),n.d(o,"isTyping",(function(){return Le})),n.d(o,"isDraggingBlocks",(function(){return Re})),n.d(o,"getDraggedBlockClientIds",(function(){return Ae})),n.d(o,"isBlockBeingDragged",(function(){return Me})),n.d(o,"isAncestorBeingDragged",(function(){return De})),n.d(o,"isCaretWithinFormattedText",(function(){return Fe})),n.d(o,"getBlockInsertionPoint",(function(){return Ve})),n.d(o,"isBlockInsertionPointVisible",(function(){return He})),n.d(o,"isValidTemplate",(function(){return ze})),n.d(o,"getTemplate",(function(){return Ge})),n.d(o,"getTemplateLock",(function(){return Ue})),n.d(o,"canInsertBlockType",(function(){return qe})),n.d(o,"canInsertBlocks",(function(){return $e})),n.d(o,"getInserterItems",(function(){return et})),n.d(o,"getBlockTransformItems",(function(){return tt})),n.d(o,"hasInserterItems",(function(){return nt})),n.d(o,"__experimentalGetAllowedBlocks",(function(){return ot})),n.d(o,"__experimentalGetParsedPattern",(function(){return rt})),n.d(o,"__experimentalGetAllowedPatterns",(function(){return lt})),n.d(o,"__experimentalGetPatternsByBlockTypes",(function(){return it})),n.d(o,"__experimentalGetPatternTransformItems",(function(){return at})),n.d(o,"getBlockListSettings",(function(){return st})),n.d(o,"getSettings",(function(){return ut})),n.d(o,"isLastBlockChangePersistent",(function(){return dt})),n.d(o,"__experimentalGetBlockListSettingsForBlocks",(function(){return bt})),n.d(o,"__experimentalGetParsedReusableBlock",(function(){return mt})),n.d(o,"__experimentalGetReusableBlockTitle",(function(){return pt})),n.d(o,"__unstableIsLastBlockChangeIgnored",(function(){return ft})),n.d(o,"__experimentalGetLastBlockAttributeChanges",(function(){return gt})),n.d(o,"isNavigationMode",(function(){return Ot})),n.d(o,"hasBlockMovingClientId",(function(){return jt})),n.d(o,"didAutomaticChange",(function(){return vt})),n.d(o,"isBlockHighlighted",(function(){return kt})),n.d(o,"areInnerBlocksControlled",(function(){return _t})),n.d(o,"__experimentalGetActiveBlockIdByBlockNames",(function(){return yt})),n.d(o,"wasBlockJustInserted",(function(){return Et}));var r={};n.r(r),n.d(r,"resetBlocks",(function(){return Tt})),n.d(r,"validateBlocksToTemplate",(function(){return Nt})),n.d(r,"resetSelection",(function(){return Pt})),n.d(r,"receiveBlocks",(function(){return Lt})),n.d(r,"updateBlockAttributes",(function(){return Rt})),n.d(r,"updateBlock",(function(){return At})),n.d(r,"selectBlock",(function(){return Mt})),n.d(r,"selectPreviousBlock",(function(){return Dt})),n.d(r,"selectNextBlock",(function(){return Ft})),n.d(r,"startMultiSelect",(function(){return Vt})),n.d(r,"stopMultiSelect",(function(){return Ht})),n.d(r,"multiSelect",(function(){return zt})),n.d(r,"clearSelectedBlock",(function(){return Gt})),n.d(r,"toggleSelection",(function(){return Ut})),n.d(r,"replaceBlocks",(function(){return Kt})),n.d(r,"replaceBlock",(function(){return qt})),n.d(r,"moveBlocksDown",(function(){return Yt})),n.d(r,"moveBlocksUp",(function(){return Xt})),n.d(r,"moveBlocksToPosition",(function(){return Qt})),n.d(r,"moveBlockToPosition",(function(){return Zt})),n.d(r,"insertBlock",(function(){return Jt})),n.d(r,"insertBlocks",(function(){return en})),n.d(r,"showInsertionPoint",(function(){return tn})),n.d(r,"hideInsertionPoint",(function(){return nn})),n.d(r,"setTemplateValidity",(function(){return on})),n.d(r,"synchronizeTemplate",(function(){return rn})),n.d(r,"mergeBlocks",(function(){return cn})),n.d(r,"removeBlocks",(function(){return ln})),n.d(r,"removeBlock",(function(){return an})),n.d(r,"replaceInnerBlocks",(function(){return sn})),n.d(r,"toggleBlockMode",(function(){return un})),n.d(r,"startTyping",(function(){return dn})),n.d(r,"stopTyping",(function(){return bn})),n.d(r,"startDraggingBlocks",(function(){return mn})),n.d(r,"stopDraggingBlocks",(function(){return pn})),n.d(r,"enterFormattedText",(function(){return fn})),n.d(r,"exitFormattedText",(function(){return gn})),n.d(r,"selectionChange",(function(){return hn})),n.d(r,"insertDefaultBlock",(function(){return On})),n.d(r,"updateBlockListSettings",(function(){return jn})),n.d(r,"updateSettings",(function(){return vn})),n.d(r,"__unstableSaveReusableBlock",(function(){return kn})),n.d(r,"__unstableMarkLastChangeAsPersistent",(function(){return _n})),n.d(r,"__unstableMarkNextChangeAsNotPersistent",(function(){return yn})),n.d(r,"__unstableMarkAutomaticChange",(function(){return En})),n.d(r,"__unstableMarkAutomaticChangeFinal",(function(){return Cn})),n.d(r,"setNavigationMode",(function(){return Sn})),n.d(r,"setBlockMovingClientId",(function(){return wn})),n.d(r,"duplicateBlocks",(function(){return Bn})),n.d(r,"insertBeforeBlock",(function(){return In})),n.d(r,"insertAfterBlock",(function(){return xn})),n.d(r,"toggleBlockHighlight",(function(){return Tn})),n.d(r,"flashBlock",(function(){return Nn})),n.d(r,"setHasControlledInnerBlocks",(function(){return Pn}));var c=n("qRz9"),l=n("wx14"),i=n("GRId"),a=n("TSYQ"),s=n.n(a),u=n("YLtl"),d=n("K9lf"),b=n("g56x"),m=n("HSyU"),p=n("tI+e"),f=n("1ZqX");const g=Object(i.createContext)({name:"",isSelected:!1,clientId:null}),{Provider:h}=g;function O(){return Object(i.useContext)(g)}var j=n("l3Sj");const v={insertUsage:{}},k={alignWide:!1,supportsLayout:!0,colors:[{name:Object(j.__)("Black"),slug:"black",color:"#000000"},{name:Object(j.__)("Cyan bluish gray"),slug:"cyan-bluish-gray",color:"#abb8c3"},{name:Object(j.__)("White"),slug:"white",color:"#ffffff"},{name:Object(j.__)("Pale pink"),slug:"pale-pink",color:"#f78da7"},{name:Object(j.__)("Vivid red"),slug:"vivid-red",color:"#cf2e2e"},{name:Object(j.__)("Luminous vivid orange"),slug:"luminous-vivid-orange",color:"#ff6900"},{name:Object(j.__)("Luminous vivid amber"),slug:"luminous-vivid-amber",color:"#fcb900"},{name:Object(j.__)("Light green cyan"),slug:"light-green-cyan",color:"#7bdcb5"},{name:Object(j.__)("Vivid green cyan"),slug:"vivid-green-cyan",color:"#00d084"},{name:Object(j.__)("Pale cyan blue"),slug:"pale-cyan-blue",color:"#8ed1fc"},{name:Object(j.__)("Vivid cyan blue"),slug:"vivid-cyan-blue",color:"#0693e3"},{name:Object(j.__)("Vivid purple"),slug:"vivid-purple",color:"#9b51e0"}],fontSizes:[{name:Object(j._x)("Small","font size name"),size:13,slug:"small"},{name:Object(j._x)("Normal","font size name"),size:16,slug:"normal"},{name:Object(j._x)("Medium","font size name"),size:20,slug:"medium"},{name:Object(j._x)("Large","font size name"),size:36,slug:"large"},{name:Object(j._x)("Huge","font size name"),size:42,slug:"huge"}],imageDefaultSize:"large",imageSizes:[{slug:"thumbnail",name:Object(j.__)("Thumbnail")},{slug:"medium",name:Object(j.__)("Medium")},{slug:"large",name:Object(j.__)("Large")},{slug:"full",name:Object(j.__)("Full Size")}],imageEditing:!0,maxWidth:580,allowedBlockTypes:!0,maxUploadFileSize:0,allowedMimeTypes:null,__experimentalCanUserUseUnfilteredHTML:!1,__experimentalBlockDirectory:!1,__mobileEnablePageTemplates:!1,__experimentalBlockPatterns:[],__experimentalBlockPatternCategories:[],__experimentalSpotlightEntityBlocks:[],gradients:[{name:Object(j.__)("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(j.__)("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(j.__)("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(j.__)("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(j.__)("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(j.__)("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(j.__)("Blush light purple"),gradient:"linear-gradient(135deg,rgb(255,206,236) 0%,rgb(152,150,240) 100%)",slug:"blush-light-purple"},{name:Object(j.__)("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(j.__)("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(j.__)("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(j.__)("Electric grass"),gradient:"linear-gradient(135deg,rgb(202,248,128) 0%,rgb(113,206,126) 100%)",slug:"electric-grass"},{name:Object(j.__)("Midnight"),gradient:"linear-gradient(135deg,rgb(2,3,129) 0%,rgb(40,116,252) 100%)",slug:"midnight"}]};function _(e,t,n){return[...e.slice(0,n),...Object(u.castArray)(t),...e.slice(n)]}function y(e,t,n,o=1){const r=[...e];return r.splice(t,o),_(r,e.slice(t,t+o),n)}function E(e,t=""){const n={[t]:[]};return e.forEach(e=>{const{clientId:o,innerBlocks:r}=e;n[t].push(o),Object.assign(n,E(r,o))}),n}function C(e,t=""){return e.reduce((e,n)=>Object.assign(e,{[n.clientId]:t},C(n.innerBlocks,n.clientId)),{})}function S(e,t=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 w(e){return S(e,e=>Object(u.omit)(e,"attributes"))}function B(e){return S(e,e=>e.attributes)}function I(e,t){return"UPDATE_BLOCK_ATTRIBUTES"===e.type&&void 0!==t&&"UPDATE_BLOCK_ATTRIBUTES"===t.type&&Object(u.isEqual)(e.clientIds,t.clientIds)&&(n=e.attributes,o=t.attributes,Object(u.isEqual)(Object(u.keys)(n),Object(u.keys)(o)));var n,o}const x=e=>e.reduce((e,t)=>(e[t]={},e),{});const T=Object(u.flow)(f.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(u.mapValues)(t.attributes,(n,r)=>{const{name:c}=t.byClientId[r];return"core/block"===c&&n.ref===e?{...n,ref:o}:n})}return e(t,n)},e=>(t={},n)=>{const o=e(t,n);if(o===t)return t;o.cache=t.cache?t.cache:{};const r=e=>e.reduce((e,n)=>{let o=n;do{e.push(o),o=t.parents[o]}while(o&&!t.controlledInnerBlocks[o]);return e},[]);switch(n.type){case"RESET_BLOCKS":o.cache=Object(u.mapValues)(S(n.blocks),()=>({}));break;case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":{const e=Object(u.keys)(S(n.blocks));n.rootClientId&&!t.controlledInnerBlocks[n.rootClientId]&&e.push(n.rootClientId),o.cache={...o.cache,...x(r(e))};break}case"UPDATE_BLOCK":o.cache={...o.cache,...x(r([n.clientId]))};break;case"UPDATE_BLOCK_ATTRIBUTES":o.cache={...o.cache,...x(r(n.clientIds))};break;case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":const e=x(r(n.replacedClientIds));o.cache={...Object(u.omit)(o.cache,n.replacedClientIds),...Object(u.omit)(e,n.replacedClientIds),...x(Object(u.keys)(S(n.blocks)))};break;case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":o.cache={...Object(u.omit)(o.cache,n.removedClientIds),...x(Object(u.difference)(r(n.clientIds),n.clientIds))};break;case"MOVE_BLOCKS_TO_POSITION":{const e=[...n.clientIds];n.fromRootClientId&&e.push(n.fromRootClientId),n.toRootClientId&&e.push(n.toRootClientId),o.cache={...o.cache,...x(r(e))};break}case"MOVE_BLOCKS_UP":case"MOVE_BLOCKS_DOWN":{const e=[];n.rootClientId&&e.push(n.rootClientId),o.cache={...o.cache,...x(r(e))};break}case"SAVE_REUSABLE_BLOCK_SUCCESS":{const e=Object(u.keys)(Object(u.omitBy)(o.attributes,(e,t)=>"core/block"!==o.byClientId[t].name||e.ref!==n.updatedId));o.cache={...o.cache,...x(r(e))}}}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(u.reduce)(o,(e,n,o)=>(t.order[o]&&(e[o]=t.order[o]),e),{})}),c},e=>(t,n)=>{if(t&&"RESET_BLOCKS"===n.type){const e=function e(t,n="",o={}){return Object(u.reduce)(t[n],(n,r)=>o[r]?n:[...n,r,...e(t,r)],[])}(t.order,"",t.controlledInnerBlocks),o=Object.keys(Object(u.pickBy)(t.controlledInnerBlocks));return{...t,byClientId:{...Object(u.omit)(t.byClientId,e),...w(n.blocks)},attributes:{...Object(u.omit)(t.attributes,e),...B(n.blocks)},order:{...Object(u.omit)(t.order,e),...Object(u.omit)(E(n.blocks),o)},parents:{...Object(u.omit)(t.parents,e),...C(n.blocks)},cache:{...Object(u.omit)(t.cache,e),...Object(u.omit)(Object(u.mapValues)(S(n.blocks),()=>({})),o)}}}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:!I(r,t)},t=r,n="MARK_NEXT_CHANGE_AS_NOT_PERSISTENT"===r.type,c}}),(function(e){const t=new Set(["RECEIVE_BLOCKS"]);return(n,o)=>{const r=e(n,o);return r!==n&&(r.isIgnoredChange=t.has(o.type)),r}}))({byClientId(e={},t){switch(t.type){case"RESET_BLOCKS":return w(t.blocks);case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":return{...e,...w(t.blocks)};case"UPDATE_BLOCK":if(!e[t.clientId])return e;const n=Object(u.omit)(t.updates,"attributes");return Object(u.isEmpty)(n)?e:{...e,[t.clientId]:{...e[t.clientId],...n}};case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":return t.blocks?{...Object(u.omit)(e,t.replacedClientIds),...w(t.blocks)}:e;case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(u.omit)(e,t.removedClientIds)}return e},attributes(e={},t){switch(t.type){case"RESET_BLOCKS":return B(t.blocks);case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":return{...e,...B(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(u.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(u.omit)(e,t.replacedClientIds),...B(t.blocks)}:e;case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(u.omit)(e,t.removedClientIds)}return e},order(e={},t){switch(t.type){case"RESET_BLOCKS":return E(t.blocks);case"RECEIVE_BLOCKS":return{...e,...Object(u.omit)(E(t.blocks),"")};case"INSERT_BLOCKS":{const{rootClientId:n=""}=t,o=e[n]||[],r=E(t.blocks,n),{index:c=o.length}=t;return{...e,...r,[n]:_(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]:y(e[o],t,c,r.length)}}return{...e,[n]:Object(u.without)(e[n],...r),[o]:_(e[o],r,c)}}case"MOVE_BLOCKS_UP":{const{clientIds:n,rootClientId:o=""}=t,r=Object(u.first)(n),c=e[o];if(!c.length||r===Object(u.first)(c))return e;const l=c.indexOf(r);return{...e,[o]:y(c,l,l-1,n.length)}}case"MOVE_BLOCKS_DOWN":{const{clientIds:n,rootClientId:o=""}=t,r=Object(u.first)(n),c=Object(u.last)(n),l=e[o];if(!l.length||c===Object(u.last)(l))return e;const i=l.indexOf(r);return{...e,[o]:y(l,i,i+1,n.length)}}case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":{const{clientIds:n}=t;if(!t.blocks)return e;const o=E(t.blocks);return Object(u.flow)([e=>Object(u.omit)(e,t.replacedClientIds),e=>({...e,...Object(u.omit)(o,"")}),e=>Object(u.mapValues)(e,e=>Object(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 Object(u.flow)([e=>Object(u.omit)(e,t.removedClientIds),e=>Object(u.mapValues)(e,e=>Object(u.without)(e,...t.removedClientIds))])(e)}return e},parents(e={},t){switch(t.type){case"RESET_BLOCKS":return C(t.blocks);case"RECEIVE_BLOCKS":return{...e,...C(t.blocks)};case"INSERT_BLOCKS":return{...e,...C(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(u.omit)(e,t.replacedClientIds),...C(t.blocks,e[t.clientIds[0]])};case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(u.omit)(e,t.removedClientIds)}return e},controlledInnerBlocks:(e={},{type:t,clientId:n,hasControlledInnerBlocks:o})=>"SET_HAS_CONTROLLED_INNER_BLOCKS"===t?{...e,[n]:o}:e});function N(e={},t){switch(t.type){case"CLEAR_SELECTED_BLOCK":return e.clientId?{}:e;case"SELECT_BLOCK":return t.clientId===e.clientId?e:{clientId:t.clientId};case"REPLACE_INNER_BLOCKS":case"INSERT_BLOCKS":return t.updateSelection&&t.blocks.length?{clientId:t.blocks[0].clientId}:e;case"REMOVE_BLOCKS":return t.clientIds&&t.clientIds.length&&-1!==t.clientIds.indexOf(e.clientId)?{}:e;case"REPLACE_BLOCKS":{if(-1===t.clientIds.indexOf(e.clientId))return e;const n=t.indexToSelect||t.blocks.length-1,o=t.blocks[n];return o?o.clientId===e.clientId?e:{clientId:o.clientId}:{}}}return e}var P=Object(f.combineReducers)({blocks:T,isTyping:function(e=!1,t){switch(t.type){case"START_TYPING":return!0;case"STOP_TYPING":return!1}return e},draggedBlocks:function(e=[],t){switch(t.type){case"START_DRAGGING_BLOCKS":return t.clientIds;case"STOP_DRAGGING_BLOCKS":return[]}return e},isCaretWithinFormattedText:function(e=!1,t){switch(t.type){case"ENTER_FORMATTED_TEXT":return!0;case"EXIT_FORMATTED_TEXT":return!1}return e},selection:function(e={},t){var n,o;switch(t.type){case"SELECTION_CHANGE":return{selectionStart:{clientId:t.clientId,attributeKey:t.attributeKey,offset:t.startOffset},selectionEnd:{clientId:t.clientId,attributeKey:t.attributeKey,offset:t.endOffset}};case"RESET_SELECTION":const{selectionStart:r,selectionEnd:c}=t;return{selectionStart:r,selectionEnd:c};case"MULTI_SELECT":const{start:l,end:i}=t;return{selectionStart:{clientId:l},selectionEnd:{clientId:i}};case"RESET_BLOCKS":const a=null==e||null===(n=e.selectionStart)||void 0===n?void 0:n.clientId,s=null==e||null===(o=e.selectionEnd)||void 0===o?void 0:o.clientId;if(!a&&!s)return e;if(!t.blocks.some(e=>e.clientId===a))return{selectionStart:{},selectionEnd:{}};if(!t.blocks.some(e=>e.clientId===s))return{...e,selectionEnd:e.selectionStart}}return{selectionStart:N(e.selectionStart,t),selectionEnd:N(e.selectionEnd,t)}},isMultiSelecting:function(e=!1,t){switch(t.type){case"START_MULTI_SELECT":return!0;case"STOP_MULTI_SELECT":return!1}return e},isSelectionEnabled:function(e=!0,t){switch(t.type){case"TOGGLE_SELECTION":return t.isSelectionEnabled}return e},initialPosition:function(e=null,t){return"REPLACE_BLOCKS"===t.type&&void 0!==t.initialPosition||["SELECT_BLOCK","RESET_SELECTION","INSERT_BLOCKS","REPLACE_INNER_BLOCKS"].includes(t.type)?t.initialPosition:e},blocksMode:function(e={},t){if("TOGGLE_BLOCK_MODE"===t.type){const{clientId:n}=t;return{...e,[n]:e[n]&&"html"===e[n]?"visual":"html"}}return e},blockListSettings:(e={},t)=>{switch(t.type){case"REPLACE_BLOCKS":case"REMOVE_BLOCKS":return Object(u.omit)(e,t.clientIds);case"UPDATE_BLOCK_LIST_SETTINGS":{const{clientId:n}=t;return t.settings?Object(u.isEqual)(e[n],t.settings)?e:{...e,[n]:t.settings}:e.hasOwnProperty(n)?Object(u.omit)(e,n):e}}return e},insertionPoint:function(e=null,t){switch(t.type){case"SHOW_INSERTION_POINT":const{rootClientId:e,index:n,__unstableWithInserter:o}=t;return{rootClientId:e,index:n,__unstableWithInserter:o};case"HIDE_INSERTION_POINT":return null}return e},template:function(e={isValid:!0},t){switch(t.type){case"SET_TEMPLATE_VALIDITY":return{...e,isValid:t.isValid}}return e},settings:function(e=k,t){switch(t.type){case"UPDATE_SETTINGS":return{...e,...t.settings}}return e},preferences:function(e=v,t){switch(t.type){case"INSERT_BLOCKS":case"REPLACE_BLOCKS":return t.blocks.reduce((e,n)=>{const{attributes:o,name:r}=n,c=Object(f.select)(m.store).getActiveBlockVariation(r,o);let l=null!=c&&c.name?`${r}/${c.name}`:r;const i={name:l};return"core/block"===r&&(i.ref=o.ref,l+="/"+o.ref),{...e,insertUsage:{...e.insertUsage,[l]:{time:t.time,count:e.insertUsage[l]?e.insertUsage[l].count+1:1,insert:i}}}},e)}return e},lastBlockAttributesChange:function(e,t){switch(t.type){case"UPDATE_BLOCK":if(!t.updates.attributes)break;return{[t.clientId]:t.updates.attributes};case"UPDATE_BLOCK_ATTRIBUTES":return t.clientIds.reduce((e,n)=>({...e,[n]:t.uniqueByBlock?t.attributes[n]:t.attributes}),{})}return null},isNavigationMode:function(e=!1,t){return"INSERT_BLOCKS"!==t.type&&("SET_NAVIGATION_MODE"===t.type?t.isNavigationMode:e)},hasBlockMovingClientId:function(e=null,t){return"SET_BLOCK_MOVING_MODE"===t.type?t.hasBlockMovingClientId:"SET_NAVIGATION_MODE"===t.type?null:e},automaticChangeStatus:function(e,t){switch(t.type){case"MARK_AUTOMATIC_CHANGE":return"pending";case"MARK_AUTOMATIC_CHANGE_FINAL":return"pending"===e?"final":void 0;case"SELECTION_CHANGE":return"final"!==e?e:void 0;case"START_TYPING":case"STOP_TYPING":return e}},highlightedBlock:function(e,t){switch(t.type){case"TOGGLE_BLOCK_HIGHLIGHT":const{clientId:n,isHighlighted:o}=t;return o?n:e===n?null:e;case"SELECT_BLOCK":if(t.clientId!==e)return null}return e},lastBlockInserted:function(e={},t){var n;switch(t.type){case"INSERT_BLOCKS":if(!t.blocks.length)return e;return{clientId:t.blocks[0].clientId,source:null===(n=t.meta)||void 0===n?void 0:n.source};case"RESET_BLOCKS":return{}}return e}}),L=n("pPDe");const R=Object(i.createElement)(p.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(p.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(i.createElement)(p.G,null,Object(i.createElement)(p.Path,{d:"M19 3H5c-1.105 0-2 .895-2 2v14c0 1.105.895 2 2 2h14c1.105 0 2-.895 2-2V5c0-1.105-.895-2-2-2zM6 6h5v5H6V6zm4.5 13C9.12 19 8 17.88 8 16.5S9.12 14 10.5 14s2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5zm3-6l3-5 3 5h-6z"}))),A=[];function M(e,t){const n=e.blocks.byClientId[t];if("web"!==i.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 D(e,t){const n=e.blocks.byClientId[t];return!!n&&n.isValid}function F(e,t){return e.blocks.byClientId[t]?e.blocks.attributes[t]:null}const V=Object(L.a)((e,t)=>{const n=e.blocks.byClientId[t];return n?{...n,attributes:F(e,t),innerBlocks:_t(e,t)?A:z(e,t)}:null},(e,t)=>[e.blocks.cache[t]]),H=Object(L.a)((e,t)=>{const n=e.blocks.byClientId[t];return n?{...n,attributes:F(e,t)}:null},(e,t)=>[e.blocks.byClientId[t],e.blocks.attributes[t]]),z=Object(L.a)((e,t)=>Object(u.map)(Ce(e,t),t=>V(e,t)),(e,t)=>Object(u.map)(e.blocks.order[t||""],t=>e.blocks.cache[t])),G=Object(L.a)((e,t)=>{const n=e.blocks.byClientId[t];return n?{...n,attributes:F(e,t),innerBlocks:U(e,t)}:null},e=>[e.blocks.byClientId,e.blocks.order,e.blocks.attributes]),U=Object(L.a)((e,t="")=>Object(u.map)(Ce(e,t),t=>G(e,t)),e=>[e.blocks.byClientId,e.blocks.order,e.blocks.attributes]),W=Object(L.a)((e,t)=>({clientId:t,innerBlocks:K(e,t)}),e=>[e.blocks.order]),K=Object(L.a)((e,t="")=>Object(u.map)(Ce(e,t),t=>W(e,t)),e=>[e.blocks.order]),q=(e,t)=>Object(u.flatMap)(t,t=>{const n=Ce(e,t);return[...n,...q(e,n)]}),$=Object(L.a)(e=>{const t=Ce(e);return[...t,...q(e,t)]},e=>[e.blocks.order]),Y=Object(L.a)((e,t)=>{const n=$(e);return t?Object(u.reduce)(n,(n,o)=>e.blocks.byClientId[o].name===t?n+1:n,0):n.length},e=>[e.blocks.order,e.blocks.byClientId]),X=Object(L.a)((e,t)=>Object(u.map)(Object(u.castArray)(t),t=>V(e,t)),e=>[e.blocks.byClientId,e.blocks.order,e.blocks.attributes]);function Q(e,t){return Ce(e,t).length}function Z(e){return e.selection.selectionStart}function J(e){return e.selection.selectionEnd}function ee(e){return e.selection.selectionStart.clientId}function te(e){return e.selection.selectionEnd.clientId}function ne(e){const t=ge(e).length;return t||(e.selection.selectionStart.clientId?1:0)}function oe(e){const{selectionStart:t,selectionEnd:n}=e.selection;return!!t.clientId&&t.clientId===n.clientId}function re(e){const{selectionStart:t,selectionEnd:n}=e.selection,{clientId:o}=t;return o&&o===n.clientId?o:null}function ce(e){const t=re(e);return t?V(e,t):null}function le(e,t){return void 0!==e.blocks.parents[t]?e.blocks.parents[t]:null}const ie=Object(L.a)((e,t,n=!1)=>{const o=[];let r=t;for(;e.blocks.parents[r];)r=e.blocks.parents[r],o.push(r);return n?o:o.reverse()},e=>[e.blocks.parents]),ae=Object(L.a)((e,t,n,o=!1)=>{const r=ie(e,t,o);return Object(u.map)(Object(u.filter)(Object(u.map)(r,t=>({id:t,name:M(e,t)})),({name:e})=>Array.isArray(n)?n.includes(e):e===n),({id:e})=>e)},e=>[e.blocks.parents]);function se(e,t){let n,o=t;do{n=o,o=e.blocks.parents[o]}while(o);return n}function ue(e,t){const n=re(e),o=[...ie(e,t),t],r=[...ie(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 de(e,t,n=1){if(void 0===t&&(t=re(e)),void 0===t&&(t=n<0?Oe(e):je(e)),!t)return null;const o=le(e,t);if(null===o)return null;const{order:r}=e.blocks,c=r[o],l=c.indexOf(t)+1*n;return l<0||l===c.length?null:c[l]}function be(e,t){return de(e,t,-1)}function me(e,t){return de(e,t,1)}function pe(e){return e.initialPosition}const fe=Object(L.a)(e=>{const{selectionStart:t,selectionEnd:n}=e.selection;if(void 0===t.clientId||void 0===n.clientId)return A;if(t.clientId===n.clientId)return[t.clientId];const o=le(e,t.clientId);if(null===o)return A;const r=Ce(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 ge(e){const{selectionStart:t,selectionEnd:n}=e.selection;return t.clientId===n.clientId?A:fe(e)}const he=Object(L.a)(e=>{const t=ge(e);return t.length?t.map(t=>V(e,t)):A},e=>[...fe.getDependants(e),e.blocks.byClientId,e.blocks.order,e.blocks.attributes]);function Oe(e){return Object(u.first)(ge(e))||null}function je(e){return Object(u.last)(ge(e))||null}function ve(e,t){return Oe(e)===t}function ke(e,t){return-1!==ge(e).indexOf(t)}const _e=Object(L.a)((e,t)=>{let n=t,o=!1;for(;n&&!o;)n=le(e,n),o=ke(e,n);return o},e=>[e.blocks.order,e.selection.selectionStart.clientId,e.selection.selectionEnd.clientId]);function ye(e){const{selectionStart:t,selectionEnd:n}=e.selection;return t.clientId===n.clientId?null:t.clientId||null}function Ee(e){const{selectionStart:t,selectionEnd:n}=e.selection;return t.clientId===n.clientId?null:n.clientId||null}function Ce(e,t){return e.blocks.order[t||""]||A}function Se(e,t,n){return Ce(e,n).indexOf(t)}function we(e,t){const{selectionStart:n,selectionEnd:o}=e.selection;return n.clientId===o.clientId&&n.clientId===t}function Be(e,t,n=!1){return Object(u.some)(Ce(e,t),t=>we(e,t)||ke(e,t)||n&&Be(e,t,n))}function Ie(e,t){if(!t)return!1;const n=ge(e),o=n.indexOf(t);return o>-1&&o<n.length-1}function xe(e){const{selectionStart:t,selectionEnd:n}=e.selection;return t.clientId!==n.clientId}function Te(e){return e.isMultiSelecting}function Ne(e){return e.isSelectionEnabled}function Pe(e,t){return e.blocksMode[t]||"visual"}function Le(e){return e.isTyping}function Re(e){return!!e.draggedBlocks.length}function Ae(e){return e.draggedBlocks}function Me(e,t){return e.draggedBlocks.includes(t)}function De(e,t){if(!Re(e))return!1;const n=ie(e,t);return Object(u.some)(n,t=>Me(e,t))}function Fe(e){return e.isCaretWithinFormattedText}function Ve(e){let t,n;const{insertionPoint:o,selection:{selectionEnd:r}}=e;if(null!==o)return o;const{clientId:c}=r;return c?(t=le(e,c)||void 0,n=Se(e,r.clientId,t)+1):n=Ce(e).length,{rootClientId:t,index:n}}function He(e){return null!==e.insertionPoint}function ze(e){return e.template.isValid}function Ge(e){return e.settings.template}function Ue(e,t){if(!t)return e.settings.templateLock;const n=st(e,t);return n?n.templateLock:null}const We=(e,t,n=null)=>Object(u.isBoolean)(e)?e:Object(u.isArray)(e)?!(!e.includes("core/post-content")||null!==t)||e.includes(t):n,Ke=(e,t,n=null)=>{let o;if(t&&"object"==typeof t?(o=t,t=o.name):o=Object(m.getBlockType)(t),!o)return!1;const{allowedBlockTypes:r}=ut(e);if(!We(r,t,!0))return!1;if(!!Ue(e,n))return!1;const c=st(e,n);if(n&&void 0===c)return!1;const l=null==c?void 0:c.allowedBlocks,i=We(l,t),a=o.parent,s=M(e,n),u=We(a,s);return null!==i&&null!==u?i||u:null!==i?i:null===u||u},qe=Object(L.a)(Ke,(e,t,n)=>[e.blockListSettings[n],e.blocks.byClientId[n],e.settings.allowedBlockTypes,e.settings.templateLock]);function $e(e,t,n=null){return t.every(t=>qe(e,M(e,t),n))}function Ye(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 Xe=(e,t,n)=>!!Object(m.hasBlockSupport)(t,"inserter",!0)&&Ke(e,t.name,n),Qe=(e,t)=>n=>{const o=`${t.id}/${n.name}`,{time:r,count:c=0}=Ye(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:Ze(r,c)}},Ze=(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}},Je=(e,{buildScope:t="inserter"})=>n=>{const o=n.name;let r=!1;Object(m.hasBlockSupport)(n.name,"multiple",!0)||(r=Object(u.some)(X(e,$(e)),{name:n.name}));const{time:c,count:l=0}=Ye(e,o)||{},i={id:o,name:n.name,title:n.title,icon:n.icon,isDisabled:r,frecency:Ze(c,l)};if("transform"===t)return i;const a=n.variations.filter(({scope:e})=>!e||e.includes("inserter"));return{...i,initialAttributes:{},description:n.description,category:n.category,keywords:n.keywords,variations:a,example:n.example,utility:1}},et=Object(L.a)((e,t=null)=>{const n=Je(e,{buildScope:"inserter"}),o=Object(m.getBlockTypes)().filter(n=>Xe(e,n,t)).map(n),r=Ke(e,"core/block",t)?ht(e).map(t=>{const n="core/block/"+t.id,o=mt(e,t.id);let r;1===o.length&&(r=Object(m.getBlockType)(o[0].name));const{time:c,count:l=0}=Ye(e,n)||{},i=Ze(c,l);return{id:n,name:"core/block",initialAttributes:{ref:t.id},title:t.title.raw,icon:r?r.icon:R,category:"reusable",keywords:[],isDisabled:!1,utility:1,frecency:i}}):[],c=o.filter(({variations:e=[]})=>!e.some(({isDefault:e})=>e)),l=[];for(const t of o){const{variations:n=[]}=t;if(n.length){const o=Qe(e,t);l.push(...n.map(o))}}return[...[...c,...l].sort((e,t)=>{const n=e.name.startsWith("core/"),o=t.name.startsWith("core/");return n&&o?0:n&&!o?-1:1}),...r]},(e,t)=>[e.blockListSettings[t],e.blocks.byClientId,e.blocks.order,e.preferences.insertUsage,e.settings.allowedBlockTypes,e.settings.templateLock,ht(e),Object(m.getBlockTypes)()]),tt=Object(L.a)((e,t,n=null)=>{const o=Je(e,{buildScope:"transform"}),r=Object(m.getBlockTypes)().filter(t=>Xe(e,t,n)).map(o),c=Object(u.mapKeys)(r,({name:e})=>e),l=Object(m.getPossibleBlockTransformations)(t).reduce((e,t)=>(c[null==t?void 0:t.name]&&e.push(c[t.name]),e),[]);return Object(u.orderBy)(l,e=>c[e.name].frecency,"desc")},(e,t)=>[e.blockListSettings[t],e.blocks.byClientId,e.preferences.insertUsage,e.settings.allowedBlockTypes,e.settings.templateLock,Object(m.getBlockTypes)()]),nt=Object(L.a)((e,t=null)=>{if(Object(u.some)(Object(m.getBlockTypes)(),n=>Xe(e,n,t)))return!0;return Ke(e,"core/block",t)&&ht(e).length>0},(e,t)=>[e.blockListSettings[t],e.blocks.byClientId,e.settings.allowedBlockTypes,e.settings.templateLock,ht(e),Object(m.getBlockTypes)()]),ot=Object(L.a)((e,t=null)=>{if(t)return Object(u.filter)(Object(m.getBlockTypes)(),n=>Xe(e,n,t))},(e,t)=>[e.blockListSettings[t],e.blocks.byClientId,e.settings.allowedBlockTypes,e.settings.templateLock,Object(m.getBlockTypes)()]),rt=Object(L.a)((e,t)=>{const n=e.settings.__experimentalBlockPatterns.find(({name:e})=>e===t);return n?{...n,blocks:Object(m.parse)(n.content)}:null},e=>[e.settings.__experimentalBlockPatterns]),ct=Object(L.a)(e=>{const t=e.settings.__experimentalBlockPatterns,{allowedBlockTypes:n}=ut(e);return t.map(({name:t})=>rt(e,t)).filter(({blocks:e})=>((e,t)=>{if(Object(u.isBoolean)(t))return t;const n=[...e];for(;n.length>0;){var o;const e=n.shift();if(!We(t,e.name||e.blockName,!0))return!1;null===(o=e.innerBlocks)||void 0===o||o.forEach(e=>{n.push(e)})}return!0})(e,n))},e=>[e.settings.__experimentalBlockPatterns,e.settings.allowedBlockTypes]),lt=Object(L.a)((e,t=null)=>{const n=ct(e);return Object(u.filter)(n,({blocks:n})=>n.every(({name:n})=>qe(e,n,t)))},(e,t)=>[e.settings.__experimentalBlockPatterns,e.settings.allowedBlockTypes,e.settings.templateLock,e.blockListSettings[t],e.blocks.byClientId[t]]),it=Object(L.a)((e,t,n=null)=>{if(!t)return A;const o=lt(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)=>[...lt.getDependants(e,t)]),at=Object(L.a)((e,t,n=null)=>{if(!t)return A;if(t.some(({clientId:t,innerBlocks:n})=>n.length||_t(e,t)))return A;const o=Array.from(new Set(t.map(({name:e})=>e)));return it(e,o,n)},(e,t)=>[...it.getDependants(e,t)]);function st(e,t){return e.blockListSettings[t]}function ut(e){return e.settings}function dt(e){return e.blocks.isPersistentChange}const bt=Object(L.a)((e,t=[])=>t.reduce((t,n)=>e.blockListSettings[n]?{...t,[n]:e.blockListSettings[n]}:t,{}),e=>[e.blockListSettings]),mt=Object(L.a)((e,t)=>{const n=Object(u.find)(ht(e),e=>e.id===t);return n?Object(m.parse)("string"==typeof n.content.raw?n.content.raw:n.content):null},e=>[ht(e)]),pt=Object(L.a)((e,t)=>{var n;const o=Object(u.find)(ht(e),e=>e.id===t);return o?null===(n=o.title)||void 0===n?void 0:n.raw:null},e=>[ht(e)]);function ft(e){return e.blocks.isIgnoredChange}function gt(e){return e.lastBlockAttributesChange}function ht(e){var t,n;return null!==(t=null==e||null===(n=e.settings)||void 0===n?void 0:n.__experimentalReusableBlocks)&&void 0!==t?t:A}function Ot(e){return e.isNavigationMode}function jt(e){return e.hasBlockMovingClientId}function vt(e){return!!e.automaticChangeStatus}function kt(e,t){return e.highlightedBlock===t}function _t(e,t){return!!e.blocks.controlledInnerBlocks[t]}const yt=Object(L.a)((e,t)=>{if(!t.length)return null;const n=re(e);if(t.includes(M(e,n)))return n;const o=ge(e),r=ae(e,n||o[0],t);return r?Object(u.last)(r):null},(e,t)=>[e.selection.selectionStart.clientId,e.selection.selectionEnd.clientId,t]);function Et(e,t,n){const{lastBlockInserted:o}=e;return o.clientId===t&&o.source===n}var Ct=n("gdqT"),St=n("NMb1"),wt=n.n(St);var Bt={SLEEP:({duration:e})=>new Promise(t=>{setTimeout(t,e)}),MARK_AUTOMATIC_CHANGE_FINAL_CONTROL:Object(f.createRegistryControl)(e=>()=>{const{requestIdleCallback:t=(e=>setTimeout(e,100))}=window;t(()=>e.dispatch(Rn).__unstableMarkAutomaticChangeFinal())})};const It="core/block-editor";function*xt(){if(0===(yield f.controls.select(It,"getBlockCount")))return yield On()}function*Tt(e){return yield{type:"RESET_BLOCKS",blocks:e},yield*Nt(e)}function*Nt(e){const t=yield f.controls.select(It,"getTemplate"),n=yield f.controls.select(It,"getTemplateLock"),o=!t||"all"!==n||Object(m.doBlocksMatchTemplate)(e,t);if(o!==(yield f.controls.select(It,"isValidTemplate")))return yield on(o),o}function Pt(e,t,n){return{type:"RESET_SELECTION",selectionStart:e,selectionEnd:t,initialPosition:n}}function Lt(e){return{type:"RECEIVE_BLOCKS",blocks:e}}function Rt(e,t,n=!1){return{type:"UPDATE_BLOCK_ATTRIBUTES",clientIds:Object(u.castArray)(e),attributes:t,uniqueByBlock:n}}function At(e,t){return{type:"UPDATE_BLOCK",clientId:e,updates:t}}function Mt(e,t=0){return{type:"SELECT_BLOCK",initialPosition:t,clientId:e}}function*Dt(e){const t=yield f.controls.select(It,"getPreviousBlockClientId",e);if(t)return yield Mt(t,-1),[t]}function*Ft(e){const t=yield f.controls.select(It,"getNextBlockClientId",e);if(t)return yield Mt(t),[t]}function Vt(){return{type:"START_MULTI_SELECT"}}function Ht(){return{type:"STOP_MULTI_SELECT"}}function*zt(e,t){yield{type:"MULTI_SELECT",start:e,end:t};const n=yield f.controls.select(It,"getSelectedBlockCount");Object(Ct.speak)(Object(j.sprintf)(Object(j._n)("%s block selected.","%s blocks selected.",n),n),"assertive")}function Gt(){return{type:"CLEAR_SELECTED_BLOCK"}}function Ut(e=!0){return{type:"TOGGLE_SELECTION",isSelectionEnabled:e}}function Wt(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(m.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()}}})}function*Kt(e,t,n,o=0,r){e=Object(u.castArray)(e),t=Wt(Object(u.castArray)(t),yield f.controls.select(It,"getSettings"));const c=yield f.controls.select(It,"getBlockRootClientId",Object(u.first)(e));for(let e=0;e<t.length;e++){const n=t[e];if(!(yield f.controls.select(It,"canInsertBlockType",n.name,c)))return}yield{type:"REPLACE_BLOCKS",clientIds:e,blocks:t,time:Date.now(),indexToSelect:n,initialPosition:o,meta:r},yield*xt()}function qt(e,t){return Kt(e,t)}function $t(e){return(t,n)=>({clientIds:Object(u.castArray)(t),type:e,rootClientId:n})}const Yt=$t("MOVE_BLOCKS_DOWN"),Xt=$t("MOVE_BLOCKS_UP");function*Qt(e,t="",n="",o){const r=yield f.controls.select(It,"getTemplateLock",t);if("all"===r)return;const c={type:"MOVE_BLOCKS_TO_POSITION",fromRootClientId:t,toRootClientId:n,clientIds:e,index:o};if(t===n)return void(yield c);if("insert"===r)return;(yield f.controls.select(It,"canInsertBlocks",e,n))&&(yield c)}function*Zt(e,t="",n="",o){yield Qt([e],t,n,o)}function Jt(e,t,n,o=!0,r){return en([e],t,n,o,0,r)}function*en(e,t,n,o=!0,r=0,c){Object(u.isObject)(r)&&(c=r,r=0,wt()("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=Wt(Object(u.castArray)(e),yield f.controls.select(It,"getSettings"));const l=[];for(const t of e){(yield f.controls.select(It,"canInsertBlockType",t.name,n))&&l.push(t)}if(l.length)return{type:"INSERT_BLOCKS",blocks:l,index:t,rootClientId:n,time:Date.now(),updateSelection:o,initialPosition:o?r:null,meta:c}}function tn(e,t,n={}){const{__unstableWithInserter:o}=n;return{type:"SHOW_INSERTION_POINT",rootClientId:e,index:t,__unstableWithInserter:o}}function nn(){return{type:"HIDE_INSERTION_POINT"}}function on(e){return{type:"SET_TEMPLATE_VALIDITY",isValid:e}}function*rn(){yield{type:"SYNCHRONIZE_TEMPLATE"};const e=yield f.controls.select(It,"getBlocks"),t=yield f.controls.select(It,"getTemplate"),n=Object(m.synchronizeBlocksWithTemplate)(e,t);return yield Tt(n)}function*cn(e,t){const n=[e,t];yield{type:"MERGE_BLOCKS",blocks:n};const[o,r]=n,l=yield f.controls.select(It,"getBlock",o),i=Object(m.getBlockType)(l.name);if(!i.merge)return void(yield Mt(l.clientId));const a=yield f.controls.select(It,"getBlock",r),s=Object(m.getBlockType)(a.name),{clientId:d,attributeKey:b,offset:p}=yield f.controls.select(It,"getSelectionStart"),g=(d===o?i:s).attributes[b],h=(d===o||d===r)&&void 0!==b&&void 0!==p&&!!g;g||("number"==typeof b?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 b):window.console.error("The RichText identifier prop does not match any attributes defined by the block."));const O=Object(m.cloneBlock)(l),j=Object(m.cloneBlock)(a);if(h){const e=d===o?O:j,t=e.attributes[b],{multiline:n,__unstableMultilineWrapperTags:r,__unstablePreserveWhiteSpace:l}=g,i=Object(c.insert)(Object(c.create)({html:t,multilineTag:n,multilineWrapperTags:r,preserveWhiteSpace:l}),"",p,p);e.attributes[b]=Object(c.toHTMLString)({value:i,multilineTag:n,preserveWhiteSpace:l})}const v=l.name===a.name?[j]:Object(m.switchToBlockType)(j,l.name);if(!v||!v.length)return;const k=i.merge(O.attributes,v[0].attributes);if(h){const e=Object(u.findKey)(k,e=>"string"==typeof e&&-1!==e.indexOf("")),t=k[e],{multiline:n,__unstableMultilineWrapperTags:o,__unstablePreserveWhiteSpace:r}=i.attributes[e],a=Object(c.create)({html:t,multilineTag:n,multilineWrapperTags:o,preserveWhiteSpace:r}),s=a.text.indexOf(""),d=Object(c.remove)(a,s,s+1),b=Object(c.toHTMLString)({value:d,multilineTag:n,preserveWhiteSpace:r});k[e]=b,yield hn(l.clientId,e,s,s)}yield*Kt([l.clientId,a.clientId],[{...l,attributes:{...l.attributes,...k}},...v.slice(1)])}function*ln(e,t=!0){if(!e||!e.length)return;e=Object(u.castArray)(e);const n=yield f.controls.select(It,"getBlockRootClientId",e[0]);if(yield f.controls.select(It,"getTemplateLock",n))return;let o;o=t?yield Dt(e[0]):yield f.controls.select(It,"getPreviousBlockClientId",e[0]),yield{type:"REMOVE_BLOCKS",clientIds:e};const r=yield*xt();return[o||r]}function an(e,t){return ln([e],t)}function sn(e,t,n=!1,o=0){return{type:"REPLACE_INNER_BLOCKS",rootClientId:e,blocks:t,updateSelection:n,initialPosition:n?o:null,time:Date.now()}}function un(e){return{type:"TOGGLE_BLOCK_MODE",clientId:e}}function dn(){return{type:"START_TYPING"}}function bn(){return{type:"STOP_TYPING"}}function mn(e=[]){return{type:"START_DRAGGING_BLOCKS",clientIds:e}}function pn(){return{type:"STOP_DRAGGING_BLOCKS"}}function fn(){return{type:"ENTER_FORMATTED_TEXT"}}function gn(){return{type:"EXIT_FORMATTED_TEXT"}}function hn(e,t,n,o){return{type:"SELECTION_CHANGE",clientId:e,attributeKey:t,startOffset:n,endOffset:o}}function On(e,t,n){const o=Object(m.getDefaultBlockName)();if(!o)return;return Jt(Object(m.createBlock)(o,e),n,t)}function jn(e,t){return{type:"UPDATE_BLOCK_LIST_SETTINGS",clientId:e,settings:t}}function vn(e){return{type:"UPDATE_SETTINGS",settings:e}}function kn(e,t){return{type:"SAVE_REUSABLE_BLOCK_SUCCESS",id:e,updatedId:t}}function _n(){return{type:"MARK_LAST_CHANGE_AS_PERSISTENT"}}function yn(){return{type:"MARK_NEXT_CHANGE_AS_NOT_PERSISTENT"}}function*En(){yield{type:"MARK_AUTOMATIC_CHANGE"},yield{type:"MARK_AUTOMATIC_CHANGE_FINAL_CONTROL"}}function Cn(){return{type:"MARK_AUTOMATIC_CHANGE_FINAL"}}function*Sn(e=!0){yield{type:"SET_NAVIGATION_MODE",isNavigationMode:e},e?Object(Ct.speak)(Object(j.__)("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(Ct.speak)(Object(j.__)("You are currently in edit mode. To return to the navigation mode, press Escape."))}function*wn(e=null){yield{type:"SET_BLOCK_MOVING_MODE",hasBlockMovingClientId:e},e&&Object(Ct.speak)(Object(j.__)("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."))}function*Bn(e,t=!0){if(!e&&!e.length)return;const n=yield f.controls.select(It,"getBlocksByClientId",e),o=yield f.controls.select(It,"getBlockRootClientId",e[0]);if(Object(u.some)(n,e=>!e))return;const r=n.map(e=>e.name);if(Object(u.some)(r,e=>!Object(m.hasBlockSupport)(e,"multiple",!0)))return;const c=yield f.controls.select(It,"getBlockIndex",Object(u.last)(Object(u.castArray)(e)),o),l=n.map(e=>Object(m.__experimentalCloneSanitizedBlock)(e));return yield en(l,c+1,o,t),l.length>1&&t&&(yield zt(Object(u.first)(l).clientId,Object(u.last)(l).clientId)),l.map(e=>e.clientId)}function*In(e){if(!e)return;const t=yield f.controls.select(It,"getBlockRootClientId",e);if(yield f.controls.select(It,"getTemplateLock",t))return;const n=yield f.controls.select(It,"getBlockIndex",e,t);return yield On({},t,n)}function*xn(e){if(!e)return;const t=yield f.controls.select(It,"getBlockRootClientId",e);if(yield f.controls.select(It,"getTemplateLock",t))return;const n=yield f.controls.select(It,"getBlockIndex",e,t);return yield On({},t,n+1)}function Tn(e,t){return{type:"TOGGLE_BLOCK_HIGHLIGHT",clientId:e,isHighlighted:t}}function*Nn(e){yield Tn(e,!0),yield{type:"SLEEP",duration:150},yield Tn(e,!1)}function Pn(e,t){return{type:"SET_HAS_CONTROLLED_INNER_BLOCKS",hasControlledInnerBlocks:t,clientId:e}}const Ln={reducer:P,selectors:o,actions:r,controls:Bt},Rn=Object(f.createReduxStore)(It,{...Ln,persist:["preferences"]});function An(){const{isSelected:e,clientId:t,name:n}=O(),o=Object(f.useSelect)(o=>{if(e)return;const{getBlockName:r,isFirstMultiSelectedBlock:c,getMultiSelectedBlockClientIds:l}=o(Rn);return!!c(t)&&l().every(e=>r(e)===n)},[t,e,n]);return e||o}Object(f.registerStore)(It,{...Ln,persist:["preferences"]});var Mn={default:Object(p.createSlotFill)("BlockControls"),block:Object(p.createSlotFill)("BlockControlsBlock"),inline:Object(p.createSlotFill)("BlockFormatControls"),other:Object(p.createSlotFill)("BlockControlsOther")};function Dn({group:e="default",controls:t,children:n}){if(!An())return null;const o=Mn[e].Fill;return Object(i.createElement)(p.__experimentalStyleProvider,{document:document},Object(i.createElement)(o,null,o=>{const r=Object(u.isEmpty)(o)?null:o;return Object(i.createElement)(p.__experimentalToolbarContext.Provider,{value:r},"default"===e&&Object(i.createElement)(p.ToolbarGroup,{controls:t}),n)}))}function Fn({group:e="default",...t}){const n=Object(i.useContext)(p.__experimentalToolbarContext),o=Mn[e].Slot,r=Object(p.__experimentalUseSlot)(o.__unstableName);return Boolean(r.fills&&r.fills.length)?"default"===e?Object(i.createElement)(o,Object(l.a)({},t,{bubblesVirtually:!0,fillProps:n})):Object(i.createElement)(p.ToolbarGroup,null,Object(i.createElement)(o,Object(l.a)({},t,{bubblesVirtually:!0,fillProps:n}))):null}const Vn=Dn;Vn.Slot=Fn;const Hn=e=>Object(i.createElement)(Dn,Object(l.a)({group:"inline"},e));Hn.Slot=e=>Object(i.createElement)(Fn,Object(l.a)({group:"inline"},e));var zn=Vn,Gn=n("Tqx9");var Un=Object(i.createElement)(Gn.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(Gn.Path,{d:"M4 9v6h14V9H4zm8-4.8H4v1.5h8V4.2zM4 19.8h8v-1.5H4v1.5z"}));var Wn=Object(i.createElement)(Gn.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(Gn.Path,{d:"M5 15h14V9H5v6zm0 4.8h14v-1.5H5v1.5zM5 4.2v1.5h14V4.2H5z"}));var Kn=Object(i.createElement)(Gn.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(Gn.Path,{d:"M6 15h14V9H6v6zm6-10.8v1.5h8V4.2h-8zm0 15.6h8v-1.5h-8v1.5z"}));var qn=Object(i.createElement)(Gn.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(Gn.Path,{d:"M5 9v6h14V9H5zm11-4.8H8v1.5h8V4.2zM8 19.8h8v-1.5H8v1.5z"}));var $n=Object(i.createElement)(Gn.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(Gn.Path,{d:"M5 4v11h14V4H5zm3 15.8h8v-1.5H8v1.5z"}));const Yn={type:"default"},Xn=Object(i.createContext)(Yn);function Qn(e,t){return e.split(",").map(e=>`.editor-styles-wrapper ${e} ${t}`).join(",")}const Zn=Xn.Provider;function Jn({selector:e,layout:t={}}){const{contentSize:n,wideSize:o}=t;let r=n||o?`\n\t\t\t\t${Qn(e,"> *")} {\n\t\t\t\t\tmax-width: ${null!=n?n:o};\n\t\t\t\t\tmargin-left: auto !important;\n\t\t\t\t\tmargin-right: auto !important;\n\t\t\t\t}\n\n\t\t\t\t${Qn(e,'> [data-align="wide"]')} {\n\t\t\t\t\tmax-width: ${null!=o?o:n};\n\t\t\t\t}\n\n\t\t\t\t${Qn(e,'> [data-align="full"]')} {\n\t\t\t\t\tmax-width: none;\n\t\t\t\t}\n\t\t\t`:"";return r+=`\n\t\t${Qn(e,'> [data-align="left"]')} {\n\t\t\tfloat: left;\n\t\t\tmargin-right: 2em;\n\t\t}\n\n\t\t${Qn(e,'> [data-align="right"]')} {\n\t\t\tfloat: right;\n\t\t\tmargin-left: 2em;\n\t\t}\n\t`,Object(i.createElement)("style",null,r)}const eo=["left","center","right","wide","full"],to=["wide","full"];function no(e=eo){const{wideControlsEnabled:t=!1}=Object(f.useSelect)(e=>{const{getSettings:t}=e(Rn);return{wideControlsEnabled:t().alignWide}},[]),n=Object(i.useContext)(Xn);if(!("default"===n.type))return[];const{alignments:o=eo}=n;return e.filter(e=>(n.alignments||t||!to.includes(e))&&o.includes(e))}const oo={left:{icon:Un,title:Object(j.__)("Align left")},center:{icon:Wn,title:Object(j.__)("Align center")},right:{icon:Kn,title:Object(j.__)("Align right")},wide:{icon:qn,title:Object(j.__)("Wide width")},full:{icon:$n,title:Object(j.__)("Full width")}},ro={isAlternate:!0};var co=function({value:e,onChange:t,controls:n,isToolbar:o,isCollapsed:r=!0}){const c=no(n);if(0===c.length)return null;const a=oo[e],s=oo.center,u=o?p.ToolbarGroup:p.ToolbarDropdownMenu,d=o?{isCollapsed:r}:{};return Object(i.createElement)(u,Object(l.a)({popoverProps:ro,icon:a?a.icon:s.icon,label:Object(j.__)("Align"),toggleProps:{describedBy:Object(j.__)("Change alignment")},controls:c.map(n=>{return{...oo[n],isActive:e===n,role:r?"menuitemradio":void 0,onClick:(o=n,()=>t(e===o?void 0:o))};var o})},d))};function lo(e){return Object(i.createElement)(co,Object(l.a)({},e,{isToolbar:!1}))}function io(e){return Object(i.createElement)(co,Object(l.a)({},e,{isToolbar:!0}))}const ao=["left","center","right","wide","full"],so=["wide","full"];function uo(e,t=!0,n=!0){let o;return o=Array.isArray(e)?ao.filter(t=>e.includes(t)):!0===e?ao:[],!n||!0===e&&!t?Object(u.without)(o,...so):o}const bo=Object(d.createHigherOrderComponent)(e=>t=>{const{name:n}=t,o=no(uo(Object(m.getBlockSupport)(n,"align"),Object(m.hasBlockSupport)(n,"alignWide",!0)));return[o.length>0&&t.isSelected&&Object(i.createElement)(zn,{key:"align-controls",group:"block"},Object(i.createElement)(lo,{value:t.attributes.align,onChange:e=>{if(!e){var n,o;(null===(n=Object(m.getBlockType)(t.name).attributes)||void 0===n||null===(o=n.align)||void 0===o?void 0:o.default)&&(e="")}t.setAttributes({align:e})},controls:o})),Object(i.createElement)(e,Object(l.a)({key:"edit"},t))]},"withToolbarControls"),mo=Object(d.createHigherOrderComponent)(e=>t=>{const{name:n,attributes:o}=t,{align:r}=o,c=no(uo(Object(m.getBlockSupport)(n,"align"),Object(m.hasBlockSupport)(n,"alignWide",!0)));if(void 0===r)return Object(i.createElement)(e,t);let a=t.wrapperProps;return c.includes(r)&&(a={...a,"data-align":r}),Object(i.createElement)(e,Object(l.a)({},t,{wrapperProps:a}))});Object(b.addFilter)("blocks.registerBlockType","core/align/addAttribute",(function(e){return Object(u.has)(e.attributes,["align","type"])||Object(m.hasBlockSupport)(e,"align")&&(e.attributes={...e.attributes,align:{type:"string",enum:[...ao,""]}}),e})),Object(b.addFilter)("editor.BlockListBlock","core/editor/align/with-data-align",mo),Object(b.addFilter)("editor.BlockEdit","core/editor/align/with-toolbar-controls",bo),Object(b.addFilter)("blocks.getSaveContent.extraProps","core/align/addAssignedAlign",(function(e,t,n){const{align:o}=n;return uo(Object(m.getBlockSupport)(t,"align"),Object(m.hasBlockSupport)(t,"alignWide",!0)).includes(o)&&(e.className=s()("align"+o,e.className)),e}));const{Fill:po,Slot:fo}=Object(p.createSlotFill)("InspectorAdvancedControls");function go({children:e}){const{isSelected:t}=O();return t?Object(i.createElement)(p.__experimentalStyleProvider,{document:document},Object(i.createElement)(po,null,e)):null}go.slotName="InspectorAdvancedControls",go.Slot=fo;var ho=go;const{Fill:Oo,Slot:jo}=Object(p.createSlotFill)("InspectorControls");function vo({children:e}){return An()?Object(i.createElement)(p.__experimentalStyleProvider,{document:document},Object(i.createElement)(Oo,null,e)):null}vo.Slot=jo;var ko=vo;const _o=/[\s#]/g;const yo=Object(d.createHigherOrderComponent)(e=>t=>{if(Object(m.hasBlockSupport)(t.name,"anchor")&&t.isSelected){const n="web"===i.Platform.OS,o=Object(i.createElement)(p.TextControl,{className:"html-anchor-control",label:Object(j.__)("HTML anchor"),help:Object(i.createElement)(i.Fragment,null,Object(j.__)("Enter a word or two — without spaces — to make a unique web address just for this block, called an “anchor.” Then, you’ll be able to link directly to this section of your page."),Object(i.createElement)(p.ExternalLink,{href:"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(_o,"-"),t.setAttributes({anchor:e})},autoCapitalize:"none",autoComplete:"off"});return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(e,t),n&&Object(i.createElement)(ho,null,o),!n&&"core/heading"===t.name&&Object(i.createElement)(ko,null,Object(i.createElement)(p.PanelBody,{title:Object(j.__)("Heading settings")},o)))}return Object(i.createElement)(e,t)},"withInspectorControl");Object(b.addFilter)("blocks.registerBlockType","core/anchor/attribute",(function(e){return Object(u.has)(e.attributes,["anchor","type"])||Object(m.hasBlockSupport)(e,"anchor")&&(e.attributes={...e.attributes,anchor:{type:"string",source:"attribute",attribute:"id",selector:"*"}}),e})),Object(b.addFilter)("editor.BlockEdit","core/editor/anchor/with-inspector-control",yo),Object(b.addFilter)("blocks.getSaveContent.extraProps","core/anchor/save-props",(function(e,t,n){return Object(m.hasBlockSupport)(t,"anchor")&&(e.id=""===n.anchor?null:n.anchor),e}));const Eo=Object(d.createHigherOrderComponent)(e=>t=>Object(m.hasBlockSupport)(t.name,"customClassName",!0)&&t.isSelected?Object(i.createElement)(i.Fragment,null,Object(i.createElement)(e,t),Object(i.createElement)(ho,null,Object(i.createElement)(p.TextControl,{autoComplete:"off",label:Object(j.__)("Additional CSS class(es)"),value:t.attributes.className||"",onChange:e=>{t.setAttributes({className:""!==e?e:void 0})},help:Object(j.__)("Separate multiple classes with spaces.")}))):Object(i.createElement)(e,t),"withInspectorControl");function Co(e){e=`<div data-custom-class-name>${e}</div>`;const t=Object(m.parseWithAttributeSchema)(e,{type:"string",source:"attribute",selector:"[data-custom-class-name] > *",attribute:"class"});return t?t.trim().split(/\s+/):[]}Object(b.addFilter)("blocks.registerBlockType","core/custom-class-name/attribute",(function(e){return Object(m.hasBlockSupport)(e,"customClassName",!0)&&(e.attributes={...e.attributes,className:{type:"string"}}),e})),Object(b.addFilter)("editor.BlockEdit","core/editor/custom-class-name/with-inspector-control",Eo),Object(b.addFilter)("blocks.getSaveContent.extraProps","core/custom-class-name/save-props",(function(e,t,n){return Object(m.hasBlockSupport)(t,"customClassName",!0)&&n.className&&(e.className=s()(e.className,n.className)),e})),Object(b.addFilter)("blocks.getBlockAttributes","core/custom-class-name/addParsedDifference",(function(e,t,n){if(Object(m.hasBlockSupport)(t,"customClassName",!0)){const o=Object(u.omit)(e,["className"]),r=Object(m.getSaveContent)(t,o),c=Co(r),l=Co(n),i=Object(u.difference)(l,c);i.length?e.className=i.join(" "):r&&delete e.className}return e})),Object(b.addFilter)("blocks.getSaveContent.extraProps","core/generated-class-name/save-props",(function(e,t){return Object(m.hasBlockSupport)(t,"className",!0)&&("string"==typeof e.className?e.className=Object(u.uniq)([Object(m.getBlockDefaultClassName)(t.name),...e.className.split(" ")]).join(" ").trim():e.className=Object(m.getBlockDefaultClassName)(t.name)),e}));const So={"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.customLineHeight":e=>e.enableCustomLineHeight,"spacing.units":e=>{if(void 0!==e.enableCustomUnits)return!0===e.enableCustomUnits?["px","em","rem","vh","vw"]:e.enableCustomUnits},"spacing.customPadding":e=>e.enableCustomSpacing},wo=(e,t)=>{if("color.palette"!==e&&"color.gradients"!==e)return t;if(!Array.isArray(t))return t;const n=t.filter(e=>"core"!==(null==e?void 0:e.origin));return n.length>0?n:t};function Bo(e){const{name:t}=O();return Object(f.useSelect)(n=>{var o;const r=n(Rn).getSettings(),c="__experimentalFeatures."+e,l=`__experimentalFeatures.blocks.${t}.${e}`,i=null!==(o=Object(u.get)(r,l))&&void 0!==o?o:Object(u.get)(r,c);if(void 0!==i)return wo(e,i);const a=So[e]?So[e](r):void 0;return void 0!==a?wo(e,a):"typography.dropCap"===e||void 0},[t,e])}var Io=n("Zss7"),xo=n.n(Io);const To=(e,t,n)=>{if(t){const n=Object(u.find)(e,{slug:t});if(n)return n}return{color:n}},No=(e,t)=>Object(u.find)(e,{color:t});function Po(e,t){if(e&&t)return`has-${t.replace(/\s+/g,"-")}-${e.replace(/\s+/g,"-")}`}const Lo=[];function Ro(e){if(e)return`has-${e}-gradient-background`}function Ao(e,t){const n=Object(u.find)(e,["slug",t]);return n&&n.gradient}function Mo(e,t){return Object(u.find)(e,["gradient",t])}function Do(e,t){const n=Mo(e,t);return n&&n.slug}function Fo({gradientAttribute:e="gradient",customGradientAttribute:t="customGradient"}={}){const{clientId:n}=O(),o=Bo("color.gradients")||Lo,{gradient:r,customGradient:c}=Object(f.useSelect)(o=>{const{getBlockAttributes:r}=o(Rn),c=r(n)||{};return{customGradient:c[t],gradient:c[e]}},[n,e,t]),{updateBlockAttributes:l}=Object(f.useDispatch)(Rn),a=Object(i.useCallback)(r=>{const c=Do(o,r);l(n,c?{[e]:c,[t]:void 0}:{[e]:void 0,[t]:r})},[o,n,l]),s=Ro(r);let u;return u=r?Ao(o,r):c,{gradientClass:s,gradientValue:u,setGradient:a}}const Vo=Object(j.__)("(Color: %s)"),Ho=Object(j.__)("(Gradient: %s)"),zo=["colors","disableCustomColors","gradients","disableCustomGradients"];function Go({colors:e,gradients:t,label:n,currentTab:o,colorValue:r,gradientValue:c}){let l,a;if("color"===o){if(r){l=r;const t=No(e,l),n=t&&t.name;a=Object(j.sprintf)(Vo,n||l)}}else if("gradient"===o&&c){l=c;const e=Mo(t,l),n=e&&e.name;a=Object(j.sprintf)(Ho,n||l)}return Object(i.createElement)(i.Fragment,null,n,!!l&&Object(i.createElement)(p.ColorIndicator,{colorValue:l,"aria-label":a}))}function Uo({colors:e,gradients:t,disableCustomColors:n,disableCustomGradients:o,className:r,label:c,onColorChange:l,onGradientChange:a,colorValue:d,gradientValue:b,clearable:m}){const f=l&&(!Object(u.isEmpty)(e)||!n),g=a&&(!Object(u.isEmpty)(t)||!o),[h,O]=Object(i.useState)(b?"gradient":!!f&&"color");return f||g?Object(i.createElement)(p.BaseControl,{className:s()("block-editor-color-gradient-control",r)},Object(i.createElement)("fieldset",null,Object(i.createElement)("legend",null,Object(i.createElement)("div",{className:"block-editor-color-gradient-control__color-indicator"},Object(i.createElement)(p.BaseControl.VisualLabel,null,Object(i.createElement)(Go,{currentTab:h,label:c,colorValue:d,gradientValue:b})))),f&&g&&Object(i.createElement)(p.ButtonGroup,{className:"block-editor-color-gradient-control__button-tabs"},Object(i.createElement)(p.Button,{isSmall:!0,isPressed:"color"===h,onClick:()=>O("color")},Object(j.__)("Solid")),Object(i.createElement)(p.Button,{isSmall:!0,isPressed:"gradient"===h,onClick:()=>O("gradient")},Object(j.__)("Gradient"))),("color"===h||!g)&&Object(i.createElement)(p.ColorPalette,{value:d,onChange:g?e=>{l(e),a()}:l,colors:e,disableCustomColors:n,clearable:m}),("gradient"===h||!f)&&Object(i.createElement)(p.__experimentalGradientPicker,{value:b,onChange:f?e=>{a(e),l()}:a,gradients:t,disableCustomGradients:o,clearable:m}))):null}function Wo(e){const t={};return t.colors=Bo("color.palette"),t.gradients=Bo("color.gradients"),t.disableCustomColors=!Bo("color.custom"),t.disableCustomGradients=!Bo("color.customGradient"),Object(i.createElement)(Uo,Object(l.a)({},t,e))}var Ko=function(e){return Object(u.every)(zo,t=>e.hasOwnProperty(t))?Object(i.createElement)(Uo,e):Object(i.createElement)(Wo,e)};const qo=e=>{if(!Object(u.isObject)(e)||Array.isArray(e))return e;const t=Object(u.pickBy)(Object(u.mapValues)(e,qo),u.identity);return Object(u.isEmpty)(t)?void 0:t},$o=[];function Yo(e){var t;const{attributes:{borderColor:n,style:o},setAttributes:r}=e,c=Bo("color.palette")||$o,l=!Bo("color.custom"),a=!Bo("color.customGradient");return Object(i.createElement)(Ko,{label:Object(j.__)("Border color"),value:n||(null==o||null===(t=o.border)||void 0===t?void 0:t.color),colors:c,gradients:void 0,disableCustomColors:l,disableCustomGradients:a,onColorChange:e=>{const t=No(c,e),n={...o,border:{...null==o?void 0:o.border,color:null!=t&&t.slug?void 0:e}},l=null!=t&&t.slug?t.slug:void 0;r({style:qo(n),borderColor:l})}})}function Xo(e,t,n){var o;if(!cr(t,"color")||lr(t))return e;const{borderColor:r,style:c}=n,l=Po("border-color",r),i=s()(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 Qo=Object(d.createHigherOrderComponent)(e=>t=>{var n,o;const{name:r,attributes:c}=t,{borderColor:a}=c,s=Bo("color.palette")||$o;if(!cr(r,"color")||lr(r))return Object(i.createElement)(e,t);const u={borderColor:a?null===(n=To(s,a))||void 0===n?void 0:n.color:void 0};let d=t.wrapperProps;return d={...t.wrapperProps,style:{...u,...null===(o=t.wrapperProps)||void 0===o?void 0:o.style}},Object(i.createElement)(e,Object(l.a)({},t,{wrapperProps:d}))});Object(b.addFilter)("blocks.registerBlockType","core/border/addAttributes",(function(e){return cr(e,"color")?e.attributes.borderColor?e:{...e,attributes:{...e.attributes,borderColor:{type:"string"}}}:e})),Object(b.addFilter)("blocks.getSaveContent.extraProps","core/border/addSaveProps",Xo),Object(b.addFilter)("blocks.registerBlockType","core/border/addEditProps",(function(e){if(!cr(e,"color")||lr(e))return e;const t=e.getEditWrapperProps;return e.getEditWrapperProps=n=>{let o={};return t&&(o=t(n)),Xo(o,e,n)},e})),Object(b.addFilter)("editor.BlockListBlock","core/border/with-border-color-palette-styles",Qo);function Zo(e){var t;const{attributes:{style:n},setAttributes:o}=e;return Object(i.createElement)(p.RangeControl,{value:null==n||null===(t=n.border)||void 0===t?void 0:t.radius,label:Object(j.__)("Border radius"),min:0,max:50,initialPosition:0,allowReset:!0,onChange:e=>{let t={...n,border:{...null==n?void 0:n.border,radius:e}};void 0===e&&(t=qo(t)),o({style:t})}})}const Jo={key:"default",name:Object(j.__)("Default"),style:{borderStyle:void 0}},er=[Jo,{key:"none",name:Object(j.__)("None"),style:{borderStyle:"none"}},{key:"solid",name:Object(j.__)("Solid"),style:{borderStyle:"solid"}},{key:"dashed",name:Object(j.__)("Dashed"),style:{borderStyle:"dashed"}},{key:"dotted",name:Object(j.__)("Dotted"),style:{borderStyle:"dotted"}}];function tr({onChange:e,value:t}){const n=er.find(e=>e.key===t);return Object(i.createElement)("fieldset",{className:"components-border-style-control"},Object(i.createElement)(p.CustomSelectControl,{className:"components-border-style-control__select",label:Object(j.__)("Border style"),options:er,value:n||Jo,onChange:({selectedItem:t})=>"default"===t.key?e(void 0):e(t.key)}))}const nr=e=>{var t;const{attributes:{style:n},setAttributes:o}=e;return Object(i.createElement)(tr,{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)})}})},or=e=>{var t;const{attributes:{style:n},setAttributes:o}=e;return Object(i.createElement)(p.RangeControl,{value:null==n||null===(t=n.border)||void 0===t?void 0:t.width,label:Object(j.__)("Border width"),min:0,max:50,initialPosition:0,allowReset:!0,onChange:e=>{const t={...n,border:{...null==n?void 0:n.border,width:e}};o({style:qo(t)})}})};function rr(e){const t=ir(e),n=cr(e.name),o=Bo("border.customColor")&&cr(e.name,"color"),r=Bo("border.customRadius")&&cr(e.name,"radius"),c=Bo("border.customStyle")&&cr(e.name,"style"),l=Bo("border.customWidth")&&cr(e.name,"width");return t||!n?null:Object(i.createElement)(ko,null,Object(i.createElement)(p.PanelBody,{title:Object(j.__)("Border settings"),initialOpen:!1},c&&Object(i.createElement)(nr,e),l&&Object(i.createElement)(or,e),r&&Object(i.createElement)(Zo,e),o&&Object(i.createElement)(Yo,e)))}function cr(e,t="any"){if("web"!==i.Platform.OS)return!1;const n=Object(m.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 lr(e){const t=Object(m.getBlockSupport)(e,"__experimentalBorder");return null==t?void 0:t.__experimentalSkipSerialization}const ir=()=>[!Bo("border.customColor"),!Bo("border.customRadius"),!Bo("border.customStyle"),!Bo("border.customWidth")].every(Boolean),ar=Object(j.__)("(%s: color %s)"),sr=Object(j.__)("(%s: gradient %s)"),ur=["colors","disableCustomColors","gradients","disableCustomGradients"],dr=({colors:e,gradients:t,settings:n})=>n.map(({colorValue:n,gradientValue:o,label:r,colors:c,gradients:l},a)=>{if(!n&&!o)return null;let s;if(n){const t=No(c||e,n);s=Object(j.sprintf)(ar,r.toLowerCase(),t&&t.name||n)}else{const e=Mo(l||t,n);s=Object(j.sprintf)(sr,r.toLowerCase(),e&&e.name||o)}return Object(i.createElement)(p.ColorIndicator,{key:a,colorValue:n||o,"aria-label":s})}),br=({className:e,colors:t,gradients:n,disableCustomColors:o,disableCustomGradients:r,children:c,settings:a,title:d,...b})=>{if(Object(u.isEmpty)(t)&&Object(u.isEmpty)(n)&&o&&r&&Object(u.every)(a,e=>Object(u.isEmpty)(e.colors)&&Object(u.isEmpty)(e.gradients)&&(void 0===e.disableCustomColors||e.disableCustomColors)&&(void 0===e.disableCustomGradients||e.disableCustomGradients)))return null;const m=Object(i.createElement)("span",{className:"block-editor-panel-color-gradient-settings__panel-title"},d,Object(i.createElement)(dr,{colors:t,gradients:n,settings:a}));return Object(i.createElement)(p.PanelBody,Object(l.a)({className:s()("block-editor-panel-color-gradient-settings",e),title:m},b),a.map((e,c)=>Object(i.createElement)(Ko,Object(l.a)({key:c,colors:t,gradients:n,disableCustomColors:o,disableCustomGradients:r},e))),c)},mr=e=>{const t={};return t.colors=Bo("color.palette"),t.gradients=Bo("color.gradients"),t.disableCustomColors=!Bo("color.custom"),t.disableCustomGradients=!Bo("color.customGradient"),Object(i.createElement)(br,Object(l.a)({},t,e))};var pr=e=>Object(u.every)(ur,t=>e.hasOwnProperty(t))?Object(i.createElement)(br,e):Object(i.createElement)(mr,e);function fr({tinyBackgroundColor:e,tinyTextColor:t,backgroundColor:n,textColor:o}){const r=e.getBrightness()<t.getBrightness()?Object(j.__)("This color combination may be hard for people to read. Try using a darker background color and/or a brighter text color."):Object(j.__)("This color combination may be hard for people to read. Try using a brighter background color and/or a darker text color.");return Object(i.useEffect)(()=>{Object(Ct.speak)(Object(j.__)("This color combination may be hard for people to read."))},[n,o]),Object(i.createElement)("div",{className:"block-editor-contrast-checker"},Object(i.createElement)(p.Notice,{spokenMessage:null,status:"warning",isDismissible:!1},r))}var gr=function({backgroundColor:e,fallbackBackgroundColor:t,fallbackTextColor:n,fontSize:o,isLargeText:r,textColor:c}){if(!e&&!t||!c&&!n)return null;const l=xo()(e||t),a=xo()(c||n);return 1!==l.getAlpha()||1!==a.getAlpha()||xo.a.isReadable(l,a,{level:"AA",size:r||!1!==r&&o>=24?"large":"small"})?null:Object(i.createElement)(fr,{backgroundColor:e,textColor:c,tinyBackgroundColor:l,tinyTextColor:a})};const hr=Object(i.createContext)();function Or({children:e}){const t=Object(i.useMemo)(()=>({refs:new Map,callbacks:new Map}),[]);return Object(i.createElement)(hr.Provider,{value:t},e)}function jr(e){const{refs:t,callbacks:n}=Object(i.useContext)(hr),o=Object(i.useRef)();return Object(i.useLayoutEffect)(()=>(t.set(o,e),()=>{t.delete(o)}),[e]),Object(d.useRefEffect)(t=>{o.current=t,n.forEach((n,o)=>{e===n&&o(t)})},[e])}function vr(e){const{refs:t}=Object(i.useContext)(hr),n=Object(i.useRef)();return n.current=e,Object(i.useMemo)(()=>({get current(){let e=null;for(const[o,r]of t.entries())r===n.current&&o.current&&(e=o.current);return e}}),[])}function kr(e){const{callbacks:t}=Object(i.useContext)(hr),n=vr(e),[o,r]=Object(i.useState)(null);return Object(i.useLayoutEffect)(()=>{if(e)return t.set(r,e),()=>{t.delete(r)}},[e]),n.current||o}function _r(e){return e.ownerDocument.defaultView.getComputedStyle(e)}function yr({settings:e,clientId:t,enableContrastChecking:n=!0}){const[o,r]=Object(i.useState)(),[c,l]=Object(i.useState)(),a=vr(t);return Object(i.useEffect)(()=>{if(!n)return;if(!a.current)return;l(_r(a.current).color);let e=a.current,t=_r(e).backgroundColor;for(;"rgba(0, 0, 0, 0)"===t&&e.parentNode&&e.parentNode.nodeType===e.parentNode.ELEMENT_NODE;)e=e.parentNode,t=_r(e).backgroundColor;r(t)}),Object(i.createElement)(ko,null,Object(i.createElement)(pr,{title:Object(j.__)("Color"),initialOpen:!1,settings:e},n&&Object(i.createElement)(gr,{backgroundColor:o,textColor:c})))}const Er=[],Cr=e=>{const t=Object(m.getBlockSupport)(e,"color");return t&&(!0===t.link||!0===t.gradient||!1!==t.background||!1!==t.text)},Sr=e=>{const t=Object(m.getBlockSupport)(e,"color");return null==t?void 0:t.__experimentalSkipSerialization},wr=e=>{if("web"!==i.Platform.OS)return!1;const t=Object(m.getBlockSupport)(e,"color");return Object(u.isObject)(t)&&!!t.link},Br=e=>{if("web"!==i.Platform.OS)return!1;const t=Object(m.getBlockSupport)(e,"color");return Object(u.isObject)(t)&&!!t.gradients},Ir=e=>{const t=Object(m.getBlockSupport)(e,"color");return t&&!1!==t.text};function xr(e,t,n){var o,r,c,l,i,a;if(!Cr(t)||Sr(t))return e;const u=Br(t),{backgroundColor:d,textColor:b,gradient:m,style:p}=n,f=Po("background-color",d),g=Ro(m),h=Po("color",b),O=s()(e.className,h,g,{[f]:!(u&&null!=p&&null!==(o=p.color)&&void 0!==o&&o.gradient||!f),"has-text-color":b||(null==p||null===(r=p.color)||void 0===r?void 0:r.text),"has-background":d||(null==p||null===(c=p.color)||void 0===c?void 0:c.background)||u&&(m||(null==p||null===(l=p.color)||void 0===l?void 0:l.gradient)),"has-link-color":null==p||null===(i=p.elements)||void 0===i||null===(a=i.link)||void 0===a?void 0:a.color});return e.className=O||void 0,e}const Tr=(e,t)=>{const n=/var:preset\|color\|(.+)/.exec(t);return n&&n[1]?To(e,n[1]).color:t};function Nr(e){var t,n,o,r,c,l,a,s,d;const{name:b,attributes:p}=e,f=Bo("color.link"),g=Bo("color.palette")||Er,h=Bo("color.gradients")||Er,O=Object(i.useRef)(p);if(Object(i.useEffect)(()=>{O.current=p},[p]),!Cr(b)||"web"!==i.Platform.OS)return null;const v=(e=>{const t=Object(m.getBlockSupport)(e,"color");return t&&!1!==t.background})(b),k=Br(b),{style:_,textColor:y,backgroundColor:E,gradient:C}=p;let S;if(k&&C)S=Ao(h,C);else if(k){var w;S=null==_||null===(w=_.color)||void 0===w?void 0:w.gradient}const B=t=>n=>{var o,r;const c=No(g,n),l=t+"Color",i={...O.current.style,color:{...null===(o=O.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:qo(i),[l]:a};e.setAttributes(s),O.current={...O.current,...s}};return Object(i.createElement)(yr,{enableContrastChecking:!("web"!==i.Platform.OS||C||null!=_&&null!==(t=_.color)&&void 0!==t&&t.gradient),clientId:e.clientId,settings:[...Ir(b)?[{label:Object(j.__)("Text color"),onColorChange:B("text"),colorValue:To(g,y,null==_||null===(n=_.color)||void 0===n?void 0:n.text).color}]:[],...v||k?[{label:Object(j.__)("Background color"),onColorChange:v?B("background"):void 0,colorValue:To(g,E,null==_||null===(o=_.color)||void 0===o?void 0:o.background).color,gradientValue:S,onGradientChange:k?t=>{const n=Do(h,t);let o;if(n){var r,c,l;const e={...null===(r=O.current)||void 0===r?void 0:r.style,color:{...null===(c=O.current)||void 0===c||null===(l=c.style)||void 0===l?void 0:l.color,gradient:void 0}};o={style:qo(e),gradient:n}}else{var i,a,s;const e={...null===(i=O.current)||void 0===i?void 0:i.style,color:{...null===(a=O.current)||void 0===a||null===(s=a.style)||void 0===s?void 0:s.color,gradient:t}};o={style:qo(e),gradient:void 0}}e.setAttributes(o),O.current={...O.current,...o}}:void 0}]:[],...f&&wr(b)?[{label:Object(j.__)("Link Color"),onColorChange:t=>{const n=No(g,t),o=null!=n&&n.slug?"var:preset|color|"+n.slug:t,r=function(e,t,n){return Object(u.setWith)(e?Object(u.clone)(e):{},t,n,u.clone)}(_,["elements","link","color","text"],o);e.setAttributes({style:r})},colorValue:Tr(g,null==_||null===(r=_.elements)||void 0===r||null===(c=r.link)||void 0===c||null===(l=c.color)||void 0===l?void 0:l.text),clearable:!(null==_||null===(a=_.elements)||void 0===a||null===(s=a.link)||void 0===s||null===(d=s.color)||void 0===d||!d.text)}]:[]]})}const Pr=Object(d.createHigherOrderComponent)(e=>t=>{var n,o,r;const{name:c,attributes:a}=t,{backgroundColor:s,textColor:u}=a,d=Bo("color.palette")||Er;if(!Cr(c)||Sr(c))return Object(i.createElement)(e,t);const b={color:u?null===(n=To(d,u))||void 0===n?void 0:n.color:void 0,backgroundColor:s?null===(o=To(d,s))||void 0===o?void 0:o.color:void 0};let m=t.wrapperProps;return m={...t.wrapperProps,style:{...b,...null===(r=t.wrapperProps)||void 0===r?void 0:r.style}},Object(i.createElement)(e,Object(l.a)({},t,{wrapperProps:m}))});Object(b.addFilter)("blocks.registerBlockType","core/color/addAttribute",(function(e){return Cr(e)?(e.attributes.backgroundColor||Object.assign(e.attributes,{backgroundColor:{type:"string"}}),e.attributes.textColor||Object.assign(e.attributes,{textColor:{type:"string"}}),Br(e)&&!e.attributes.gradient&&Object.assign(e.attributes,{gradient:{type:"string"}}),e):e})),Object(b.addFilter)("blocks.getSaveContent.extraProps","core/color/addSaveProps",xr),Object(b.addFilter)("blocks.registerBlockType","core/color/addEditProps",(function(e){if(!Cr(e)||Sr(e))return e;const t=e.getEditWrapperProps;return e.getEditWrapperProps=n=>{let o={};return t&&(o=t(n)),xr(o,e,n)},e})),Object(b.addFilter)("editor.BlockListBlock","core/color/with-color-palette-styles",Pr);var Lr=Object(i.createElement)(Gn.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(Gn.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"})),Rr=n("Crq9");const Ar=[{name:Object(j.__)("Underline"),value:"underline",icon:Lr},{name:Object(j.__)("Strikethrough"),value:"line-through",icon:Rr.a}];function Mr({value:e,onChange:t}){return Object(i.createElement)("fieldset",{className:"block-editor-text-decoration-control"},Object(i.createElement)("legend",null,Object(j.__)("Decoration")),Object(i.createElement)("div",{className:"block-editor-text-decoration-control__buttons"},Ar.map(n=>Object(i.createElement)(p.Button,{key:n.value,icon:n.icon,isSmall:!0,isPressed:n.value===e,onClick:()=>t(n.value===e?void 0:n.value),"aria-label":n.name}))))}function Dr(e){var t;const{attributes:{style:n},setAttributes:o}=e;if(Fr(e))return null;return Object(i.createElement)(Mr,{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 Fr({name:e}={}){const t=!Object(m.hasBlockSupport)(e,"typography.__experimentalTextDecoration"),n=Bo("typography.customTextDecorations");return t||!n}var Vr=Object(i.createElement)(Gn.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(Gn.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 Hr=Object(i.createElement)(Gn.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(Gn.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 zr=Object(i.createElement)(Gn.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(Gn.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 Gr=[{name:Object(j.__)("Uppercase"),value:"uppercase",icon:Vr},{name:Object(j.__)("Lowercase"),value:"lowercase",icon:Hr},{name:Object(j.__)("Capitalize"),value:"capitalize",icon:zr}];function Ur({value:e,onChange:t}){return Object(i.createElement)("fieldset",{className:"block-editor-text-transform-control"},Object(i.createElement)("legend",null,Object(j.__)("Letter case")),Object(i.createElement)("div",{className:"block-editor-text-transform-control__buttons"},Gr.map(n=>Object(i.createElement)(p.Button,{key:n.value,icon:n.icon,isSmall:!0,isPressed:e===n.value,"aria-label":n.name,onClick:()=>t(e===n.value?void 0:n.value)}))))}function Wr(e){var t;const{attributes:{style:n},setAttributes:o}=e;if(Kr(e))return null;return Object(i.createElement)(Ur,{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 Kr({name:e}={}){const t=!Object(m.hasBlockSupport)(e,"typography.__experimentalTextTransform"),n=Bo("typography.customTextTransforms");return t||!n}function qr(e){const t=!Fr(e),n=!Kr(e);return t||n?Object(i.createElement)("div",{className:"block-editor-text-decoration-and-transform"},t&&Object(i.createElement)(Dr,e),n&&Object(i.createElement)(Wr,e)):null}var $r=n("RxS6");function Yr({value:e,onChange:t}){const n=function(e){return void 0!==e&&""!==e}(e),o=n?e:"";return Object(i.createElement)("div",{className:"block-editor-line-height-control"},Object(i.createElement)(p.TextControl,{autoComplete:"off",onKeyDown:e=>{const{keyCode:o}=e;o!==$r.ZERO||n||(e.preventDefault(),t("0"))},onChange:e=>{if(n)return void t(e);let o=e;switch(e){case"0.1":o=1.6;break;case"0":o=1.4}t(o)},label:Object(j.__)("Line height"),placeholder:1.5,step:.1,type:"number",value:o,min:0}))}function Xr(e){var t;const{attributes:{style:n}}=e;if(Qr(e))return null;return Object(i.createElement)(Yr,{value:null==n||null===(t=n.typography)||void 0===t?void 0:t.lineHeight,onChange:t=>{const o={...n,typography:{...null==n?void 0:n.typography,lineHeight:t}};e.setAttributes({style:qo(o)})}})}function Qr({name:e}={}){const t=!Bo("typography.customLineHeight");return!Object(m.hasBlockSupport)(e,"typography.lineHeight")||t}const Zr=[{name:Object(j.__)("Regular"),value:"normal"},{name:Object(j.__)("Italic"),value:"italic"}],Jr=[{name:Object(j.__)("Thin"),value:"100"},{name:Object(j.__)("Extra Light"),value:"200"},{name:Object(j.__)("Light"),value:"300"},{name:Object(j.__)("Regular"),value:"400"},{name:Object(j.__)("Medium"),value:"500"},{name:Object(j.__)("Semi Bold"),value:"600"},{name:Object(j.__)("Bold"),value:"700"},{name:Object(j.__)("Extra Bold"),value:"800"},{name:Object(j.__)("Black"),value:"900"}];function ec(e){const{onChange:t,hasFontStyles:n=!0,hasFontWeights:o=!0,value:{fontStyle:r,fontWeight:c}}=e,l=n||o,a={key:"default",name:Object(j.__)("Default"),style:{fontStyle:void 0,fontWeight:void 0}},s=Object(i.useMemo)(()=>n&&o?(()=>{const e=[a];return Zr.forEach(({name:t,value:n})=>{Jr.forEach(({name:o,value:r})=>{const c="normal"===n?o:Object(j.sprintf)(Object(j.__)("%1$s %2$s"),o,t);e.push({key:`${n}-${r}`,name:c,style:{fontStyle:n,fontWeight:r}})})}),e})():n?(()=>{const e=[a];return Zr.forEach(({name:t,value:n})=>{e.push({key:n,name:t,style:{fontStyle:n,fontWeight:void 0}})}),e})():(()=>{const e=[a];return Jr.forEach(({name:t,value:n})=>{e.push({key:n,name:t,style:{fontStyle:void 0,fontWeight:n}})}),e})(),[e.options]),u=s.find(e=>e.style.fontStyle===r&&e.style.fontWeight===c);return Object(i.createElement)("fieldset",{className:"components-font-appearance-control"},l&&Object(i.createElement)(p.CustomSelectControl,{className:"components-font-appearance-control__select",label:n?o?Object(j.__)("Appearance"):Object(j.__)("Font style"):Object(j.__)("Font weight"),options:s,value:u,onChange:({selectedItem:e})=>t(e.style)}))}function tc(e){var t,n;const{attributes:{style:o},setAttributes:r}=e,c=!nc(e),l=!oc(e);if(!c&&!l)return null;const a=null==o||null===(t=o.typography)||void 0===t?void 0:t.fontStyle,s=null==o||null===(n=o.typography)||void 0===n?void 0:n.fontWeight;return Object(i.createElement)(ec,{onChange:e=>{r({style:qo({...o,typography:{...null==o?void 0:o.typography,fontStyle:e.fontStyle,fontWeight:e.fontWeight}})})},hasFontStyles:c,hasFontWeights:l,value:{fontStyle:a,fontWeight:s}})}function nc({name:e}={}){const t=Object(m.hasBlockSupport)(e,"typography.__experimentalFontStyle"),n=Bo("typography.customFontStyle");return!t||!n}function oc({name:e}={}){const t=Object(m.hasBlockSupport)(e,"typography.__experimentalFontWeight"),n=Bo("typography.customFontWeight");return!t||!n}function rc(e){const t=nc(e),n=oc(e);return t&&n}function cc({value:e="",onChange:t,fontFamilies:n,...o}){const r=Bo("typography.fontFamilies");if(n||(n=r),Object(u.isEmpty)(n))return null;const c=[{value:"",label:Object(j.__)("Default")},...n.map(({fontFamily:e,name:t})=>({value:e,label:t||e}))];return Object(i.createElement)(p.SelectControl,Object(l.a)({label:Object(j.__)("Font family"),options:c,value:e,onChange:t,labelPosition:"top"},o))}function lc({name:e,setAttributes:t,attributes:{style:n={}}}){var o;const r=Bo("typography.fontFamilies");if(ic({name:e}))return null;const c=((e,t)=>{const n=/var:preset\|font-family\|(.+)/.exec(t);if(n&&n[1]){const t=Object(u.find)(e,({slug:e})=>e===n[1]);if(t)return t.fontFamily}return t})(r,null===(o=n.typography)||void 0===o?void 0:o.fontFamily);return Object(i.createElement)(cc,{className:"block-editor-hooks-font-family-control",fontFamilies:r,value:c,onChange:function(e){const o=Object(u.find)(r,({fontFamily:t})=>t===e);t({style:qo({...n,typography:{...n.typography||{},fontFamily:o?"var:preset|font-family|"+o.slug:e||void 0}})})}})}function ic({name:e}){const t=Bo("typography.fontFamilies");return!t||0===t.length||!Object(m.hasBlockSupport)(e,"typography.__experimentalFontFamily")}var ac=n("BLeD"),sc=n.n(ac);const uc=(e,t,n)=>{if(t){const n=Object(u.find)(e,{slug:t});if(n)return n}return{size:n}};function dc(e,t){const n=Object(u.find)(e,{size:t});return n||{size:t}}function bc(e){if(e)return`has-${e.replace(/\s+/g,"-")}-font-size`}var mc=function(e){const t=Bo("typography.fontSizes"),n=!Bo("typography.customFontSize");return Object(i.createElement)(p.FontSizePicker,Object(l.a)({},e,{fontSizes:t,disableCustomFontSizes:n}))};function pc(e,t,n){if(!Object(m.hasBlockSupport)(t,"typography.fontSize"))return e;if(Object(m.hasBlockSupport)(t,"typography.__experimentalSkipSerialization"))return e;const o=new sc.a(e.className);o.add(bc(n.fontSize));const r=o.value;return e.className=r||void 0,e}function fc(e){var t,n;const{attributes:{fontSize:o,style:r},setAttributes:c}=e,l=gc(e),a=Bo("typography.fontSizes");if(l)return null;const s=uc(a,o,null==r||null===(t=r.typography)||void 0===t?void 0:t.fontSize),u=(null==s?void 0:s.size)||(null==r||null===(n=r.typography)||void 0===n?void 0:n.fontSize)||o;return Object(i.createElement)(mc,{onChange:e=>{const t=dc(a,e).slug;c({style:qo({...r,typography:{...null==r?void 0:r.typography,fontSize:t?void 0:e}}),fontSize:t})},value:u})}function gc({name:e}={}){const t=Bo("typography.fontSizes"),n=!(null==t||!t.length);return!Object(m.hasBlockSupport)(e,"typography.fontSize")||!n}const hc=Object(d.createHigherOrderComponent)(e=>t=>{var n,o;const r=Bo("typography.fontSizes"),{name:c,attributes:{fontSize:l,style:a},wrapperProps:s}=t;if(!Object(m.hasBlockSupport)(c,"typography.fontSize")||Object(m.hasBlockSupport)(c,"typography.__experimentalSkipSerialization")||!l||null!=a&&null!==(n=a.typography)&&void 0!==n&&n.fontSize)return Object(i.createElement)(e,t);const u=uc(r,l,null==a||null===(o=a.typography)||void 0===o?void 0:o.fontSize).size,d={...t,wrapperProps:{...s,style:{fontSize:u,...null==s?void 0:s.style}}};return Object(i.createElement)(e,d)},"withFontSizeInlineStyles");Object(b.addFilter)("blocks.registerBlockType","core/font/addAttribute",(function(e){return Object(m.hasBlockSupport)(e,"typography.fontSize")?(e.attributes.fontSize||Object.assign(e.attributes,{fontSize:{type:"string"}}),e):e})),Object(b.addFilter)("blocks.getSaveContent.extraProps","core/font/addSaveProps",pc),Object(b.addFilter)("blocks.registerBlockType","core/font/addEditProps",(function(e){if(!Object(m.hasBlockSupport)(e,"typography.fontSize"))return e;const t=e.getEditWrapperProps;return e.getEditWrapperProps=n=>{let o={};return t&&(o=t(n)),pc(o,e,n)},e})),Object(b.addFilter)("editor.BlockListBlock","core/font-size/with-font-size-inline-styles",hc);const Oc=["typography.lineHeight","typography.fontSize","typography.__experimentalFontStyle","typography.__experimentalFontWeight","typography.__experimentalFontFamily","typography.__experimentalTextDecoration","typography.__experimentalTextTransform"];function jc(e){const t=function(e={}){const t=[rc(e),gc(e),Qr(e),ic(e),Fr(e),Kr(e)];return t.filter(Boolean).length===t.length}(e),n=vc(e.name);return t||!n?null:Object(i.createElement)(ko,null,Object(i.createElement)(p.PanelBody,{title:Object(j.__)("Typography")},Object(i.createElement)(p.__unstableComponentSystemProvider,{__unstableNextInclude:["WPComponentsFontSizePicker"]},Object(i.createElement)(lc,e),Object(i.createElement)(fc,e),Object(i.createElement)(tc,e),Object(i.createElement)(Xr,e),Object(i.createElement)(qr,e))))}const vc=e=>"web"===i.Platform.OS&&Oc.some(t=>Object(m.hasBlockSupport)(e,t));function kc(e){const t=Object(m.getBlockSupport)(e,wc);return!!(!0===t||null!=t&&t.margin)}function _c({name:e}={}){const t=!Bo("spacing.customMargin");return!kc(e)||t}function yc(e){var t;const{name:n,attributes:{style:o},setAttributes:r}=e,c=Object(p.__experimentalUseCustomUnits)({availableUnits:Bo("spacing.units")||["%","px","em","rem","vw"]}),l=xc(n,"margin");if(_c(e))return null;return i.Platform.select({web:Object(i.createElement)(i.Fragment,null,Object(i.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:Object(j.__)("Margin"),sides:l,units:c})),native:null})}function Ec(e){const t=Object(m.getBlockSupport)(e,wc);return!!(!0===t||null!=t&&t.padding)}function Cc({name:e}={}){const t=!Bo("spacing.customPadding");return!Ec(e)||t}function Sc(e){var t;const{name:n,attributes:{style:o},setAttributes:r}=e,c=Object(p.__experimentalUseCustomUnits)({availableUnits:Bo("spacing.units")||["%","px","em","rem","vw"]}),l=xc(n,"padding");if(Cc(e))return null;return i.Platform.select({web:Object(i.createElement)(i.Fragment,null,Object(i.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:Object(j.__)("Padding"),sides:l,units:c})),native:null})}const wc="spacing";function Bc(e){const t=Ic(e),n=function(e){if("web"!==i.Platform.OS)return!1;return Ec(e)||kc(e)}(e.name);return t||!n?null:Object(i.createElement)(ko,{key:"spacing"},Object(i.createElement)(p.PanelBody,{title:Object(j.__)("Spacing")},Object(i.createElement)(Sc,e),Object(i.createElement)(yc,e)))}const Ic=(e={})=>{const t=Cc(e),n=_c(e);return t&&n};function xc(e,t){const n=Object(m.getBlockSupport)(e,wc);if("boolean"!=typeof n[t])return n[t]}const Tc=[...Oc,"__experimentalBorder","color",wc],Nc=e=>Tc.some(t=>Object(m.hasBlockSupport)(e,t));function Pc(e){if(Object(u.startsWith)(e,"var:")){return`var(--wp--${e.slice("var:".length).split("|").join("--")})`}return e}function Lc(e={}){const t={};return Object.keys(m.__EXPERIMENTAL_STYLE_PROPERTY).forEach(n=>{const o=m.__EXPERIMENTAL_STYLE_PROPERTY[n].value,r=m.__EXPERIMENTAL_STYLE_PROPERTY[n].properties;Object(u.has)(e,o)&&"elements"!==Object(u.first)(o)&&(r?r.forEach(r=>{t[n+Object(u.capitalize)(r)]=Pc(Object(u.get)(e,[...o,r]))}):t[n]=Pc(Object(u.get)(e,o)))}),t}const Rc={"__experimentalBorder.__experimentalSkipSerialization":["border"],"color.__experimentalSkipSerialization":["color"],"typography.__experimentalSkipSerialization":["typography"]};function Ac(e,t,n){if(!Nc(t))return e;let{style:o}=n;return Object(u.forEach)(Rc,(e,n)=>{Object(m.getBlockSupport)(t,n)&&(o=Object(u.omit)(o,e))}),e.style={...Lc(o),...e.style},e}const Mc=Object(d.createHigherOrderComponent)(e=>t=>{const n=An();return Object(i.createElement)(i.Fragment,null,n&&Object(i.createElement)(i.Fragment,null,Object(i.createElement)(jc,t),Object(i.createElement)(rr,t),Object(i.createElement)(Nr,t),Object(i.createElement)(Bc,t)),Object(i.createElement)(e,t))},"withToolbarControls"),Dc=Object(d.createHigherOrderComponent)(e=>t=>{var n,o;const r=null===(n=t.attributes.style)||void 0===n?void 0:n.elements,c="wp-elements-"+Object(d.useInstanceId)(e),a=function(e,t={}){return Object(u.map)(t,(t,n)=>{const o=Lc(t);return Object(u.isEmpty)(o)?"":[`.${e} ${m.__EXPERIMENTAL_ELEMENTS[n]}{`,...Object(u.map)(o,(e,t)=>`\t${Object(u.kebabCase)(t)}: ${e}${"link"===n?"!important":""};`),"}"].join("\n")}).join("\n")}(c,null===(o=t.attributes.style)||void 0===o?void 0:o.elements);return Object(i.createElement)(i.Fragment,null,r&&Object(i.createElement)("style",{dangerouslySetInnerHTML:{__html:a}}),Object(i.createElement)(e,Object(l.a)({},t,{className:r?s()(t.className,c):t.className})))});Object(b.addFilter)("blocks.registerBlockType","core/style/addAttribute",(function(e){return Nc(e)?(e.attributes.style||Object.assign(e.attributes,{style:{type:"object"}}),e):e})),Object(b.addFilter)("blocks.getSaveContent.extraProps","core/style/addSaveProps",Ac),Object(b.addFilter)("blocks.registerBlockType","core/style/addEditProps",(function(e){if(!Nc(e))return e;const t=e.getEditWrapperProps;return e.getEditWrapperProps=n=>{let o={};return t&&(o=t(n)),Ac(o,e,n)},e})),Object(b.addFilter)("editor.BlockEdit","core/style/with-block-controls",Mc),Object(b.addFilter)("editor.BlockListBlock","core/editor/with-elements-styles",Dc);var Fc=function({value:e,onChange:t,onToggle:n,duotonePalette:o,colorPalette:r,disableCustomColors:c}){return Object(i.createElement)(p.Popover,{className:"block-editor-duotone-control__popover",headerTitle:Object(j.__)("Duotone"),onFocusOutside:n},Object(i.createElement)(p.MenuGroup,{label:Object(j.__)("Duotone")},Object(i.createElement)(p.DuotonePicker,{colorPalette:r,duotonePalette:o,disableCustomColors:c,value:e,onChange:t})))};var Vc=function({colorPalette:e,duotonePalette:t,disableCustomColors:n,value:o,onChange:r}){const[c,l]=Object(i.useState)(!1);if(!t)return null;const a=()=>{l(e=>!e)};return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(p.ToolbarButton,{showTooltip:!0,onClick:a,"aria-haspopup":"true","aria-expanded":c,onKeyDown:e=>{c||e.keyCode!==$r.DOWN||(e.preventDefault(),e.stopPropagation(),a())},label:Object(j.__)("Apply duotone filter"),icon:Object(i.createElement)(p.DuotoneSwatch,{values:o})}),c&&Object(i.createElement)(Fc,{value:o,onChange:r,onToggle:a,duotonePalette:t,colorPalette:e,disableCustomColors:n}))};function Hc(e=[]){const t={r:[],g:[],b:[]};return e.forEach(e=>{const n=xo()(e);t.r.push(n._r/255),t.g.push(n._g/255),t.b.push(n._b/255)}),t}function zc({selector:e,id:t,values:n}){const o=`\n${e} {\n\tfilter: url( #${t} );\n}\n`;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(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"}},Object(i.createElement)("defs",null,Object(i.createElement)("filter",{id:t},Object(i.createElement)("feColorMatrix",{type:"matrix",values:".299 .587 .114 0 0 .299 .587 .114 0 0 .299 .587 .114 0 0 0 0 0 1 0"}),Object(i.createElement)("feComponentTransfer",{colorInterpolationFilters:"sRGB"},Object(i.createElement)("feFuncR",{type:"table",tableValues:n.r.join(" ")}),Object(i.createElement)("feFuncG",{type:"table",tableValues:n.g.join(" ")}),Object(i.createElement)("feFuncB",{type:"table",tableValues:n.b.join(" ")}))))),Object(i.createElement)("style",{dangerouslySetInnerHTML:{__html:o}}))}function Gc({attributes:e,setAttributes:t}){var n;const o=null==e?void 0:e.style,r=null==o||null===(n=o.color)||void 0===n?void 0:n.duotone,c=Bo("color.duotone"),l=Bo("color.palette"),a=!Bo("color.custom");return Object(i.createElement)(zn,{group:"block"},Object(i.createElement)(Vc,{duotonePalette:c,colorPalette:l,disableCustomColors:a,value:r,onChange:e=>{const n={...o,color:{...null==o?void 0:o.color,duotone:e}};t({style:n})}}))}const Uc=Object(d.createHigherOrderComponent)(e=>t=>{const n=Object(m.hasBlockSupport)(t.name,"color.__experimentalDuotone");return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(e,t),n&&Object(i.createElement)(Gc,t))},"withDuotoneControls"),Wc=Object(d.createHigherOrderComponent)(e=>t=>{var n,o,r;const c=Object(m.getBlockSupport)(t.name,"color.__experimentalDuotone"),a=null==t||null===(n=t.attributes)||void 0===n||null===(o=n.style)||void 0===o||null===(r=o.color)||void 0===r?void 0:r.duotone;if(!c||!a)return Object(i.createElement)(e,t);const u="wp-duotone-filter-"+Object(d.useInstanceId)(e),b=c.split(",").map(e=>`.${u} ${e.trim()}`).join(", "),p=s()(null==t?void 0:t.className,u);return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(zc,{selector:b,id:u,values:Hc(a)}),Object(i.createElement)(e,Object(l.a)({},t,{className:p})))},"withDuotoneStyles");Object(b.addFilter)("blocks.registerBlockType","core/editor/duotone/add-attributes",(function(e){return Object(m.hasBlockSupport)(e,"color.__experimentalDuotone")?(e.attributes.style||Object.assign(e.attributes,{style:{type:"object"}}),e):e})),Object(b.addFilter)("editor.BlockEdit","core/editor/duotone/with-editor-controls",Uc),Object(b.addFilter)("editor.BlockListBlock","core/editor/duotone/with-styles",Wc);var Kc=n("iClF");function qc({setAttributes:e,attributes:t}){const{layout:n={}}=t,{wideSize:o,contentSize:r,inherit:c=!1}=n,l=Bo("layout"),a=Object(f.useSelect)(e=>{const{getSettings:t}=e(Rn);return t().supportsLayout},[]),s=Object(p.__experimentalUseCustomUnits)({availableUnits:Bo("layout.units")||["%","px","em","rem","vw"]});return a?Object(i.createElement)(ko,null,Object(i.createElement)(p.PanelBody,{title:Object(j.__)("Layout")},!!l&&Object(i.createElement)(p.ToggleControl,{label:Object(j.__)("Inherit default layout"),checked:!!c,onChange:()=>e({layout:{inherit:!c}})}),!c&&Object(i.createElement)(i.Fragment,null,Object(i.createElement)("div",{className:"block-editor-hooks__layout-controls"},Object(i.createElement)("div",{className:"block-editor-hooks__layout-controls-unit"},Object(i.createElement)(p.__experimentalUnitControl,{label:Object(j.__)("Content"),labelPosition:"top",__unstableInputWidth:"80px",value:r||o||"",onChange:t=>{t=0>parseFloat(t)?"0":t,e({layout:{...n,contentSize:t}})},units:s}),Object(i.createElement)(Kc.a,{icon:Wn})),Object(i.createElement)("div",{className:"block-editor-hooks__layout-controls-unit"},Object(i.createElement)(p.__experimentalUnitControl,{label:Object(j.__)("Wide"),labelPosition:"top",__unstableInputWidth:"80px",value:o||r||"",onChange:t=>{t=0>parseFloat(t)?"0":t,e({layout:{...n,wideSize:t}})},units:s}),Object(i.createElement)(Kc.a,{icon:qn}))),Object(i.createElement)("div",{className:"block-editor-hooks__layout-controls-reset"},Object(i.createElement)(p.Button,{isSecondary:!0,isSmall:!0,disabled:!r&&!o,onClick:()=>e({layout:{contentSize:void 0,wideSize:void 0,inherit:!1}})},Object(j.__)("Reset")))),Object(i.createElement)("p",{className:"block-editor-hooks__layout-controls-helptext"},Object(j.__)("Customize the width for all elements that are assigned to the center or wide columns.")))):null}const $c=Object(d.createHigherOrderComponent)(e=>t=>{const{name:n}=t;return[Object(m.hasBlockSupport)(n,"__experimentalLayout")&&Object(i.createElement)(qc,Object(l.a)({key:"layout"},t)),Object(i.createElement)(e,Object(l.a)({key:"edit"},t))]},"withInspectorControls"),Yc=Object(d.createHigherOrderComponent)(e=>t=>{const{name:n,attributes:o}=t,r=Object(m.hasBlockSupport)(n,"__experimentalLayout"),c=Object(d.useInstanceId)(e),a=Bo("layout")||{};if(!r)return Object(i.createElement)(e,t);const{layout:u={}}=o,b=u&&u.inherit?a:u,p=s()(null==t?void 0:t.className,"wp-container-"+c);return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(Jn,{selector:".wp-container-"+c,layout:b}),Object(i.createElement)(e,Object(l.a)({},t,{className:p})))});Object(b.addFilter)("blocks.registerBlockType","core/layout/addAttribute",(function(e){return Object(u.has)(e.attributes,["layout","type"])||Object(m.hasBlockSupport)(e,"__experimentalLayout")&&(e.attributes={...e.attributes,layout:{type:"object"}}),e})),Object(b.addFilter)("editor.BlockListBlock","core/editor/layout/with-layout-styles",Yc),Object(b.addFilter)("editor.BlockEdit","core/editor/layout/with-inspector-controls",$c);const Xc=[];function Qc({borderColor:e,style:t}){var n;const o=(null==t?void 0:t.border)||{},r=Po("border-color",e);return{className:s()({[r]:!!r,"has-border-color":e||(null==t||null===(n=t.border)||void 0===n?void 0:n.color)})||void 0,style:Lc({border:o})}}function Zc(e){const t=Bo("color.palette")||Xc,n=Qc(e);if(e.borderColor){const o=To(t,e.borderColor);n.style.borderColor=o.color}return n}const Jc=[];function el(e){var t,n,o,r,c,l;const{backgroundColor:i,textColor:a,gradient:u,style:d}=e,b=Po("background-color",i),m=Po("color",a),p=Ro(u),f=p||(null==d||null===(t=d.color)||void 0===t?void 0:t.gradient);return{className:s()(m,p,{[b]:!f&&!!b,"has-text-color":a||(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:Lc({color:(null==d?void 0:d.color)||{}})}}function tl(e){const{backgroundColor:t,textColor:n,gradient:o}=e,r=Bo("color.palette")||Jc,c=Bo("color.gradients")||Jc,l=el(e);if(t){const e=To(r,t);l.style.backgroundColor=e.color}if(o&&(l.style.background=Ao(c,o)),n){const e=To(r,n);l.style.color=e.color}return l}const nl=[];function ol(e,t){const n=Object(u.reduce)(e,(e,t)=>({...e,...Object(u.isString)(t)?{[t]:Object(u.kebabCase)(t)}:t}),{});return Object(d.compose)([t,e=>class extends i.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){return xo.a.mostReadable(t,Object(u.map)(e,"color")).toHexString()}(t,e)}createSetters(){return Object(u.reduce)(n,(e,t,n)=>{const o=Object(u.upperFirst)(n),r="custom"+o;return e["set"+o]=this.createSetColor(n,r),e},{})}createSetColor(e,t){return n=>{const o=No(this.props.colors,n);this.props.setAttributes({[e]:o&&o.slug?o.slug:void 0,[t]:o&&o.slug?void 0:n})}}static getDerivedStateFromProps({attributes:e,colors:t},o){return Object(u.reduce)(n,(n,r,c)=>{const l=To(t,e[c],e["custom"+Object(u.upperFirst)(c)]),i=o[c];return(null==i?void 0:i.color)===l.color&&i?n[c]=i:n[c]={...l,class:Po(r,l.slug)},n},{})}render(){return Object(i.createElement)(e,Object(l.a)({},this.props,{colors:void 0},this.state,this.setters,{colorUtils:this.colorUtils}))}}])}function rl(e){return(...t)=>{const n=(e=>Object(d.createHigherOrderComponent)(t=>n=>Object(i.createElement)(t,Object(l.a)({},n,{colors:e})),"withCustomColorPalette"))(e);return Object(d.createHigherOrderComponent)(ol(t,n),"withCustomColors")}}function cl(...e){const t=Object(d.createHigherOrderComponent)(e=>t=>{const n=Bo("color.palette")||nl;return Object(i.createElement)(e,Object(l.a)({},t,{colors:n}))},"withEditorColorPalette");return Object(d.createHigherOrderComponent)(ol(e,t),"withColors")}var ll=n("4eJC"),il=n.n(ll);var al=({colorSettings:e,...t})=>{const n=e.map(({value:e,onChange:t,...n})=>({...n,colorValue:e,onColorChange:t}));return Object(i.createElement)(pr,Object(l.a)({settings:n,gradients:[],disableCustomGradients:!0},t))};const sl=(e,t,n)=>"function"==typeof e?e(t):!0===e?n:e;function ul({title:e,colorSettings:t,colorPanelProps:n,contrastCheckers:o,detectedBackgroundColor:r,detectedColor:c,panelChildren:a,initialOpen:s}){return Object(i.createElement)(al,Object(l.a)({title:e,initialOpen:s,colorSettings:Object.values(t)},n),o&&(Array.isArray(o)?o.map(({backgroundColor:e,textColor:n,...o})=>(e=sl(e,t,r),n=sl(n,t,c),Object(i.createElement)(gr,Object(l.a)({key:`${e}-${n}`,backgroundColor:e,textColor:n},o)))):Object(u.map)(t,({value:e})=>{let{backgroundColor:n,textColor:a}=o;return n=sl(n||e,t,r),a=sl(a||e,t,c),Object(i.createElement)(gr,Object(l.a)({},o,{key:`${n}-${a}`,backgroundColor:n,textColor:a}))})),"function"==typeof a?a(t):a)}function dl(e){return e.ownerDocument.defaultView.getComputedStyle(e)}const bl=[],ml={textColor:Object(j.__)("Text color"),backgroundColor:Object(j.__)("Background color")},pl=e=>Object(i.createElement)(ko,null,Object(i.createElement)(ul,e));function fl(e,{panelTitle:t=Object(j.__)("Color"),colorPanelProps:n,contrastCheckers:o,panelChildren:r,colorDetector:{targetRef:c,backgroundColorTargetRef:l=c,textColorTargetRef:a=c}={}}={panelTitle:Object(j.__)("Color")},d=[]){const{clientId:b}=O(),m=Bo("color.palette")||bl,{attributes:p}=Object(f.useSelect)(e=>{const{getBlockAttributes:t}=e(Rn);return{attributes:t(b)}},[b]),{updateBlockAttributes:g}=Object(f.useDispatch)(Rn),h=Object(i.useCallback)(e=>g(b,e),[g,b]),v=Object(i.useMemo)(()=>il()((e,t,n,o,r,c)=>({children:l,className:a="",style:d={}})=>{let b={};o?b={[t]:r}:c&&(b={[t]:c});const m={className:s()(a,{[`has-${Object(u.kebabCase)(o)}-${Object(u.kebabCase)(t)}`]:o,[n||"has-"+Object(u.kebabCase)(e)]:o||c}),style:{...b,...d}};return Object(u.isFunction)(l)?l(m):i.Children.map(l,e=>Object(i.cloneElement)(e,{className:s()(e.props.className,m.className),style:{...m.style,...e.props.style||{}}}))},{maxSize:e.length}),[e.length]),k=Object(i.useMemo)(()=>il()((e,t)=>n=>{const o=t.find(e=>e.color===n);h({[o?Object(u.camelCase)("custom "+e):e]:void 0}),h({[o?e:Object(u.camelCase)("custom "+e)]:o?o.slug:n})},{maxSize:e.length}),[h,e.length]),[_,y]=Object(i.useState)(),[E,C]=Object(i.useState)();return Object(i.useEffect)(()=>{if(!o)return;let e=!1,t=!1;for(const{backgroundColor:n,textColor:r}of Object(u.castArray)(o))if(e||(e=!0===n),t||(t=!0===r),e&&t)break;if(t&&C(dl(a.current).color),e){let e=l.current,t=dl(e).backgroundColor;for(;"rgba(0, 0, 0, 0)"===t&&e.parentNode&&e.parentNode.nodeType===e.parentNode.ELEMENT_NODE;)e=e.parentNode,t=dl(e).backgroundColor;y(t)}},[e.reduce((e,t)=>`${e} | ${p[t.name]} | ${p[Object(u.camelCase)("custom "+t.name)]}`,""),...d]),Object(i.useMemo)(()=>{const c={},l=e.reduce((e,t)=>{"string"==typeof t&&(t={name:t});const{name:n,property:o=n,className:r,panelLabel:l=t.label||ml[n]||Object(u.startCase)(n),componentName:i=Object(u.startCase)(n).replace(/\s/g,""),color:a=t.color,colors:s=m}={...t,color:p[t.name]},d=p[Object(u.camelCase)("custom "+n)],b=d?void 0:s.find(e=>e.slug===a);return e[i]=v(n,o,r,a,b&&b.color,d),e[i].displayName=i,e[i].color=d||b&&b.color,e[i].slug=a,e[i].setColor=k(n,s),c[i]={value:b?b.color:p[Object(u.camelCase)("custom "+n)],onChange:e[i].setColor,label:l,colors:s},s||delete c[i].colors,e},{}),a={title:t,initialOpen:!1,colorSettings:c,colorPanelProps:n,contrastCheckers:o,detectedBackgroundColor:_,detectedColor:E,panelChildren:r};return{...l,ColorPanel:Object(i.createElement)(ul,a),InspectorControlsColorPanel:Object(i.createElement)(pl,a)}},[p,h,E,_,...d])}const gl=[];var hl=(...e)=>{const t=Object(u.reduce)(e,(e,t)=>(e[t]="custom"+Object(u.upperFirst)(t),e),{});return Object(d.createHigherOrderComponent)(Object(d.compose)([Object(d.createHigherOrderComponent)(e=>t=>{const n=Bo("typography.fontSizes")||gl;return Object(i.createElement)(e,Object(l.a)({},t,{fontSizes:n}))},"withFontSizes"),e=>class extends i.Component{constructor(e){super(e),this.setters=this.createSetters(),this.state={}}createSetters(){return Object(u.reduce)(t,(e,t,n)=>(e["set"+Object(u.upperFirst)(n)]=this.createSetFontSize(n,t),e),{})}createSetFontSize(e,t){return n=>{const o=Object(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({attributes:e,fontSizes:n},o){const r=(t,n)=>!o[n]||(e[n]?e[n]!==o[n].slug:o[n].size!==e[t]);if(!Object(u.some)(t,r))return null;const c=Object(u.reduce)(Object(u.pickBy)(t,r),(t,o,r)=>{const c=e[r],l=uc(n,c,e[o]);return t[r]={...l,class:bc(c)},t},{});return{...o,...c}}render(){return Object(i.createElement)(e,Object(l.a)({},this.props,{fontSizes:void 0},this.state,this.setters))}}]),"withFontSizes")},Ol=n("fPbg"),jl=n("plpT"),vl=n("ziDm");const kl=[{icon:Ol.a,title:Object(j.__)("Align text left"),align:"left"},{icon:jl.a,title:Object(j.__)("Align text center"),align:"center"},{icon:vl.a,title:Object(j.__)("Align text right"),align:"right"}],_l={position:"bottom right",isAlternate:!0};var yl=function({value:e,onChange:t,alignmentControls:n=kl,label:o=Object(j.__)("Align"),describedBy:r=Object(j.__)("Change text alignment"),isCollapsed:c=!0,isToolbar:a}){function s(n){return()=>t(e===n?void 0:n)}const d=Object(u.find)(n,t=>t.align===e),b=a?p.ToolbarGroup:p.ToolbarDropdownMenu,m=a?{isCollapsed:c}:{};return Object(i.createElement)(b,Object(l.a)({icon:d?d.icon:Object(j.isRTL)()?vl.a:Ol.a,label:o,toggleProps:{describedBy:r},popoverProps:_l,controls:n.map(t=>{const{align:n}=t,o=e===n;return{...t,isActive:o,role:c?"menuitemradio":void 0,onClick:s(n)}})},m))};function El(e){return Object(i.createElement)(yl,Object(l.a)({},e,{isToolbar:!1}))}function Cl(e){return Object(i.createElement)(yl,Object(l.a)({},e,{isToolbar:!0}))}const Sl=e=>e.name||"",wl=e=>e.title,Bl=e=>e.description||"",Il=e=>e.keywords||[],xl=e=>e.category,Tl=()=>null;function Nl(e=""){return e=(e=(e=Object(u.deburr)(e)).replace(/^\//,"")).toLowerCase()}const Pl=(e="")=>Object(u.words)(Nl(e)),Ll=(e,t,n,o)=>{if(0===Pl(o).length)return e;return Rl(e,o,{getCategory:e=>{var n;return null===(n=Object(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}})},Rl=(e=[],t="",n={})=>{if(0===Pl(t).length)return e;const o=e.map(e=>[e,Al(e,t,n)]).filter(([,e])=>e>0);return o.sort(([,e],[,t])=>t-e),o.map(([e])=>e)};function Al(e,t,n={}){const{getName:o=Sl,getTitle:r=wl,getDescription:c=Bl,getKeywords:l=Il,getCategory:i=xl,getCollection:a=Tl}=n,s=o(e),d=r(e),b=c(e),m=l(e),p=i(e),f=a(e),g=Nl(t),h=Nl(d);let O=0;if(g===h)O+=30;else if(h.startsWith(g))O+=20;else{const e=[s,d,b,...m,p,f].join(" ");0===((e,t)=>Object(u.differenceWith)(e,Pl(t),(e,t)=>t.includes(e)))(Object(u.words)(g),e).length&&(O+=10)}return 0!==O&&s.startsWith("core/")&&O++,O}var Ml=(e,t)=>{const{categories:n,collections:o,items:r}=Object(f.useSelect)(t=>{const{getInserterItems:n}=t(Rn),{getCategories:o,getCollections:r}=t(m.store);return{categories:o(),collections:r(),items:n(e)}},[e]);return[r,n,o,Object(i.useCallback)(({name:e,initialAttributes:n,innerBlocks:o},r)=>{const c=Object(m.createBlock)(e,n,Object(m.createBlocksFromInnerBlocksTemplate)(o));t(c,void 0,r)},[t])]},Dl=n("//Lo");function Fl({icon:e,showColors:t=!1,className:n}){var o;"block-default"===(null===(o=e)||void 0===o?void 0:o.src)&&(e={src:Dl.a});const r=Object(i.createElement)(p.Icon,{icon:e&&e.src?e.src:e}),c=t?{backgroundColor:e&&e.background,color:e&&e.foreground}:{};return Object(i.createElement)("span",{style:c,className:s()("block-editor-block-icon",n,{"has-colors":t})},r)}var Vl={name:"blocks",className:"block-editor-autocompleters__block",triggerPrefix:"/",useItems(e){const{rootClientId:t,selectedBlockName:n}=Object(f.useSelect)(e=>{const{getSelectedBlockClientId:t,getBlockName:n,getBlockInsertionPoint:o}=e(Rn),r=t();return{selectedBlockName:r?n(r):null,rootClientId:o().rootClientId}},[]),[o,r,c]=Ml(t,u.noop),l=Object(i.useMemo)(()=>(e.trim()?Ll(o,r,c,e):Object(u.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)(Fl,{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(m.createBlock)(t,n,Object(m.createBlocksFromInnerBlocksTemplate)(o))}}};const Hl=[];function zl({completers:e=Hl}){const{name:t}=O();return Object(i.useMemo)(()=>{let n=e;return t===Object(m.getDefaultBlockName)()&&(n=n.concat([Vl])),Object(b.hasFilter)("editor.Autocomplete.completers")&&(n===e&&(n=n.map(u.clone)),n=Object(b.applyFilters)("editor.Autocomplete.completers",n,t)),n},[e,t])}var Gl=function(e){return Object(i.createElement)(p.Autocomplete,Object(l.a)({},e,{completers:zl(e)}))};var Ul=Object(i.createElement)(Gn.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(Gn.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 Wl=function({isActive:e,label:t=Object(j.__)("Toggle full height"),onToggle:n,isDisabled:o}){return Object(i.createElement)(p.ToolbarButton,{isActive:e,icon:Ul,label:t,onClick:()=>n(!e),disabled:o})};var Kl=function(e){const{label:t=Object(j.__)("Change matrix alignment"),onChange:n=u.noop,value:o="center",isDisabled:r}=e,c=Object(i.createElement)(p.__experimentalAlignmentMatrixControl.Icon,{value:o}),l="block-editor-block-alignment-matrix-control";return Object(i.createElement)(p.Dropdown,{position:"bottom right",className:l,popoverProps:{className:"block-editor-block-alignment-matrix-control__popover",isAlternate:!0},renderToggle:({onToggle:e,isOpen:n})=>Object(i.createElement)(p.ToolbarButton,{onClick:e,"aria-haspopup":"true","aria-expanded":n,onKeyDown:t=>{n||t.keyCode!==$r.DOWN||(t.preventDefault(),t.stopPropagation(),e())},label:t,icon:c,showTooltip:!0,disabled:r}),renderContent:()=>Object(i.createElement)(p.__experimentalAlignmentMatrixControl,{hasFocusBorder:!1,onChange:n,value:o})})};function ql(e){return Object(f.useSelect)(t=>{if(!e)return null;const{getBlockName:n,getBlockAttributes:o}=t(Rn),{getBlockType:r,getActiveBlockVariation:c}=t(m.store),l=n(e),i=r(l);if(!i)return null;const a=o(e),s=c(l,a),u={title:i.title,icon:i.icon,description:i.description,anchor:null==a?void 0:a.anchor};return s?{title:s.title||i.title,icon:s.icon||i.icon,description:s.description||i.description}:u},[e])}function $l({clientId:e}){const{attributes:t,name:n,reusableBlockTitle:o}=Object(f.useSelect)(t=>{if(!e)return{};const{getBlockName:n,getBlockAttributes:o,__experimentalGetReusableBlockTitle:r}=t(Rn),c=n(e);if(!c)return{};const l=Object(m.isReusableBlock)(Object(m.getBlockType)(c));return{attributes:o(e),name:c,reusableBlockTitle:l&&r(o(e).ref)}},[e]),r=ql(e);if(!n||!r)return null;const c=Object(m.getBlockType)(n),l=o||Object(m.__experimentalGetBlockLabel)(c,t);return l!==c.title?Object(u.truncate)(l,{length:35}):r.title}var Yl=function(){const{selectBlock:e,clearSelectedBlock:t}=Object(f.useDispatch)(Rn),{clientId:n,parents:o,hasSelection:r}=Object(f.useSelect)(e=>{const{getSelectionStart:t,getSelectedBlockClientId:n,getBlockParents:o}=e(Rn),r=n();return{parents:o(r),clientId:r,hasSelection:!!t().clientId}},[]);return Object(i.createElement)("ul",{className:"block-editor-block-breadcrumb",role:"list","aria-label":Object(j.__)("Block breadcrumb")},Object(i.createElement)("li",{className:r?void 0:"block-editor-block-breadcrumb__current","aria-current":r?void 0:"true"},r&&Object(i.createElement)(p.Button,{className:"block-editor-block-breadcrumb__button",isTertiary:!0,onClick:t},Object(j.__)("Document")),!r&&Object(j.__)("Document")),o.map(t=>Object(i.createElement)("li",{key:t},Object(i.createElement)(p.Button,{className:"block-editor-block-breadcrumb__button",isTertiary:!0,onClick:()=>e(t)},Object(i.createElement)($l,{clientId:t})))),!!n&&Object(i.createElement)("li",{className:"block-editor-block-breadcrumb__current","aria-current":"true"},Object(i.createElement)($l,{clientId:n})))};const Xl=Object(i.createContext)({});function Ql({value:e,children:t}){const n=Object(i.useContext)(Xl),o=Object(i.useMemo)(()=>({...n,...e}),[n,e]);return Object(i.createElement)(Xl.Provider,{value:o,children:t})}var Zl=Xl;const Jl=()=>Object(i.createElement)(p.SVG,{xmlns:"https://www.w3.org/2000/svg",viewBox:"0 0 20 20"},Object(i.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"})),ei=({style:e,className:t})=>Object(i.createElement)("div",{className:"block-library-colors-selector__icon-container"},Object(i.createElement)("div",{className:t+" block-library-colors-selector__state-selection",style:e},Object(i.createElement)(Jl,null))),ti=({TextColor:e,BackgroundColor:t})=>({onToggle:n,isOpen:o})=>Object(i.createElement)(p.ToolbarGroup,null,Object(i.createElement)(p.ToolbarButton,{className:"components-toolbar__control block-library-colors-selector__toggle",label:Object(j.__)("Open Colors Selector"),onClick:n,onKeyDown:e=>{o||e.keyCode!==$r.DOWN||(e.preventDefault(),e.stopPropagation(),n())},icon:Object(i.createElement)(t,null,Object(i.createElement)(e,null,Object(i.createElement)(ei,null)))}));var ni=({children:e,...t})=>Object(i.createElement)(p.Dropdown,{position:"bottom right",className:"block-library-colors-selector",contentClassName:"block-library-colors-selector__popover",renderToggle:ti(t),renderContent:()=>e});const oi={};var ri=Object(p.withFilters)("editor.BlockEdit")(e=>{const{attributes:t={},name:n}=e,o=Object(m.getBlockType)(n),r=Object(i.useContext)(Zl),c=Object(i.useMemo)(()=>o&&o.usesContext?Object(u.pick)(r,o.usesContext):oi,[o,r]);if(!o)return null;const a=o.edit||o.save;if(o.apiVersion>1||Object(m.hasBlockSupport)(o,"lightBlockWrapper",!1))return Object(i.createElement)(a,Object(l.a)({},e,{context:c}));const d=Object(m.hasBlockSupport)(o,"className",!0)?Object(m.getBlockDefaultClassName)(n):null,b=s()(d,t.className);return Object(i.createElement)(a,Object(l.a)({},e,{context:c,className:b}))});function ci(e){const{name:t,isSelected:n,clientId:o}=e,r={name:t,isSelected:n,clientId:o};return Object(i.createElement)(h,{value:Object(i.useMemo)(()=>r,Object.values(r))},Object(i.createElement)(ri,e))}var li=n("OzlF"),ii=n("VKE3"),ai=n("ZO3Q"),si=n("1CF3");const ui=e=>e+1,di=e=>({top:e.offsetTop,left:e.offsetLeft});var bi=function({isSelected:e,adjustScrolling:t,enableAnimation:n,triggerAnimationOnChange:o}){const r=Object(i.useRef)(),c=Object(d.useReducedMotion)()||!n,[l,a]=Object(i.useReducer)(ui,0),[s,u]=Object(i.useReducer)(ui,0),[b,m]=Object(i.useState)({x:0,y:0}),p=Object(i.useMemo)(()=>r.current?di(r.current):null,[o]),f=Object(i.useMemo)(()=>{if(!t||!r.current)return()=>{};const e=Object(si.getScrollContainer)(r.current);if(!e)return()=>{};const n=r.current.getBoundingClientRect();return()=>{const t=r.current.getBoundingClientRect().top-n.top;t&&(e.scrollTop+=t)}},[o,t]);function g({x:t,y:n}){t=Math.round(t),n=Math.round(n),t===g.x&&n===g.y||(!function({x:t,y:n}){if(!r.current)return;const o=0===t&&0===n;r.current.style.transformOrigin=o?"":"center",r.current.style.transform=o?"":`translate3d(${t}px,${n}px,0)`,r.current.style.zIndex=!e||o?"":"1",f()}({x:t,y:n}),g.x=t,g.y=n)}return Object(i.useLayoutEffect)(()=>{l&&u()},[l]),Object(i.useLayoutEffect)(()=>{if(!p)return;if(c)return void f();r.current.style.transform="";const e=di(r.current);a(),m({x:Math.round(p.left-e.left),y:Math.round(p.top-e.top)})},[o]),g.x=0,g.y=0,Object(ai.useSpring)({from:{x:b.x,y:b.y},to:{x:0,y:0},reset:l!==s,config:{mass:5,tension:2e3,friction:200},immediate:c,onFrame:g}),r};const mi=Object(ai.animated)(p.__experimentalTreeGridRow);function pi({isSelected:e,position:t,level:n,rowCount:o,children:r,className:c,path:a,...u}){const d=bi({isSelected:e,adjustScrolling:!1,enableAnimation:!0,triggerAnimationOnChange:a.join("_")});return Object(i.createElement)(mi,Object(l.a)({ref:d,className:s()("block-editor-block-navigation-leaf",c),level:n,positionInSet:t,setSize:o},u),r)}var fi=n("1iEr"),gi=n("2gm7"),hi=n("XgzB"),Oi=n("NWDH");function ji(e,t,n,o,r,c,l){const i=n+1,a=e=>"up"===e?"horizontal"===l?Object(j.isRTL)()?"right":"left":"up":"down"===e?"horizontal"===l?Object(j.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(j.__)("Blocks cannot be moved up as they are already at the top");if(r>0&&o)return Object(j.__)("Blocks cannot be moved down as they are already at the bottom");if(r<0&&!n)return Object(j.sprintf)(Object(j._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(j.sprintf)(Object(j._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(j.sprintf)(Object(j.__)("Block %s is the only block, and cannot be moved"),t);if(c>0&&!r){const e=a("down");if("down"===e)return Object(j.sprintf)(Object(j.__)("Move %1$s block from position %2$d down to position %3$d"),t,i,i+1);if("left"===e)return Object(j.sprintf)(Object(j.__)("Move %1$s block from position %2$d left to position %3$d"),t,i,i+1);if("right"===e)return Object(j.sprintf)(Object(j.__)("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(j.sprintf)(Object(j.__)("Block %1$s is at the end of the content and can’t be moved down"),t);if("left"===e)return Object(j.sprintf)(Object(j.__)("Block %1$s is at the end of the content and can’t be moved left"),t);if("right"===e)return Object(j.sprintf)(Object(j.__)("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(j.sprintf)(Object(j.__)("Move %1$s block from position %2$d up to position %3$d"),t,i,i-1);if("left"===e)return Object(j.sprintf)(Object(j.__)("Move %1$s block from position %2$d left to position %3$d"),t,i,i-1);if("right"===e)return Object(j.sprintf)(Object(j.__)("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(j.sprintf)(Object(j.__)("Block %1$s is at the beginning of the content and can’t be moved up"),t);if("left"===e)return Object(j.sprintf)(Object(j.__)("Block %1$s is at the beginning of the content and can’t be moved left"),t);if("right"===e)return Object(j.sprintf)(Object(j.__)("Block %1$s is at the beginning of the content and can’t be moved right"),t)}}const vi=(e,t)=>"up"===e?"horizontal"===t?Object(j.isRTL)()?fi.a:gi.a:hi.a:"down"===e?"horizontal"===t?Object(j.isRTL)()?gi.a:fi.a:Oi.a:null,ki=(e,t)=>"up"===e?"horizontal"===t?Object(j.isRTL)()?Object(j.__)("Move right"):Object(j.__)("Move left"):Object(j.__)("Move up"):"down"===e?"horizontal"===t?Object(j.isRTL)()?Object(j.__)("Move left"):Object(j.__)("Move right"):Object(j.__)("Move down"):null,_i=Object(i.forwardRef)(({clientIds:e,direction:t,orientation:n,...o},r)=>{const c=Object(d.useInstanceId)(_i),a=Object(u.castArray)(e).length,{blockType:b,isDisabled:g,rootClientId:h,isFirst:O,isLast:j,firstIndex:v,orientation:k="vertical"}=Object(f.useSelect)(o=>{const{getBlockIndex:r,getBlockRootClientId:c,getBlockOrder:l,getBlock:i,getBlockListSettings:a}=o(Rn),s=Object(u.castArray)(e),d=Object(u.first)(s),b=c(d),p=r(d,b),f=r(Object(u.last)(s),b),g=l(b),h=i(d),O=0===p,j=f===g.length-1,{orientation:v}=a(b)||{};return{blockType:h?Object(m.getBlockType)(h.name):null,isDisabled:"up"===t?O:j,rootClientId:b,firstIndex:p,isFirst:O,isLast:j,orientation:n||v}},[e,t]),{moveBlocksDown:_,moveBlocksUp:y}=Object(f.useDispatch)(Rn),E="up"===t?y:_,C="block-editor-block-mover-button__description-"+c;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(p.Button,Object(l.a)({ref:r,className:s()("block-editor-block-mover-button",`is-${t}-button`),icon:vi(t,k),label:ki(t,k),"aria-describedby":C},o,{onClick:g?null:t=>{E(e,h),o.onClick&&o.onClick(t)},"aria-disabled":g})),Object(i.createElement)("span",{id:C,className:"block-editor-block-mover-button__description"},ji(a,b&&b.title,v,O,j,"up"===t?-1:1,k)))}),yi=Object(i.forwardRef)((e,t)=>Object(i.createElement)(_i,Object(l.a)({direction:"up",ref:t},e))),Ei=Object(i.forwardRef)((e,t)=>Object(i.createElement)(_i,Object(l.a)({direction:"down",ref:t},e))),Ci=Object(i.createContext)({__experimentalFeatures:!1,__experimentalPersistentListViewFeatures:!1}),Si=()=>Object(i.useContext)(Ci);var wi=Object(i.createElement)(Gn.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(Gn.Path,{d:"M11 13h2v-2h-2v2zm-6 0h2v-2H5v2zm12-2v2h2v-2h-2z"}));var Bi=function({className:e,actions:t,children:n,secondaryActions:o}){return Object(i.createElement)("div",{className:s()(e,"block-editor-warning")},Object(i.createElement)("div",{className:"block-editor-warning__contents"},Object(i.createElement)("p",{className:"block-editor-warning__message"},n),(i.Children.count(t)>0||o)&&Object(i.createElement)("div",{className:"block-editor-warning__actions"},i.Children.count(t)>0&&i.Children.map(t,(e,t)=>Object(i.createElement)("span",{key:t,className:"block-editor-warning__action"},e)),o&&Object(i.createElement)(p.DropdownMenu,{className:"block-editor-warning__secondary",icon:wi,label:Object(j.__)("More options"),popoverProps:{position:"bottom left",className:"block-editor-warning__dropdown"},noIcons:!0},()=>Object(i.createElement)(p.MenuGroup,null,o.map((e,t)=>Object(i.createElement)(p.MenuItem,{onClick:e.onClick,key:t},e.title)))))))},Ii=n("iA5R");var xi=({title:e,rawContent:t,renderedContent:n,action:o,actionText:r,className:c})=>Object(i.createElement)("div",{className:c},Object(i.createElement)("div",{className:"block-editor-block-compare__content"},Object(i.createElement)("h2",{className:"block-editor-block-compare__heading"},e),Object(i.createElement)("div",{className:"block-editor-block-compare__html"},t),Object(i.createElement)("div",{className:"block-editor-block-compare__preview edit-post-visual-editor"},n)),Object(i.createElement)("div",{className:"block-editor-block-compare__action"},Object(i.createElement)(p.Button,{isSecondary:!0,tabIndex:"0",onClick:o},r)));var Ti=function({block:e,onKeep:t,onConvert:n,convertor:o,convertButtonText:r}){const c={rawContent:e.originalContent,renderedContent:Object(m.getSaveElement)(e.name,e.attributes)},l=function(e){const t=Object(u.castArray)(e),n=t.map(e=>Object(m.getSaveContent)(e.name,e.attributes,e.innerBlocks)),o=t.map(e=>Object(m.getSaveElement)(e.name,e.attributes,e.innerBlocks));return{rawContent:n.join(""),renderedContent:o}}(o(e)),a=(d=c.rawContent,b=l.rawContent,Object(Ii.diffChars)(d,b).map((e,t)=>{const n=s()({"block-editor-block-compare__added":e.added,"block-editor-block-compare__removed":e.removed});return Object(i.createElement)("span",{key:t,className:n},e.value)}));var d,b;return Object(i.createElement)("div",{className:"block-editor-block-compare__wrapper"},Object(i.createElement)(xi,{title:Object(j.__)("Current"),className:"block-editor-block-compare__current",action:t,actionText:Object(j.__)("Convert to HTML"),rawContent:c.rawContent,renderedContent:c.renderedContent}),Object(i.createElement)(xi,{title:Object(j.__)("After Conversion"),className:"block-editor-block-compare__converted",action:n,actionText:r,rawContent:a,renderedContent:l.renderedContent}))};const Ni=e=>Object(m.rawHandler)({HTML:e.originalContent});var Pi=Object(d.compose)([Object(f.withSelect)((e,{clientId:t})=>({block:e(Rn).getBlock(t)})),Object(f.withDispatch)((e,{block:t})=>{const{replaceBlock:n}=e(Rn);return{convertToClassic(){n(t.clientId,(e=>Object(m.createBlock)("core/freeform",{content:e.originalContent}))(t))},convertToHTML(){n(t.clientId,(e=>Object(m.createBlock)("core/html",{content:e.originalContent}))(t))},convertToBlocks(){n(t.clientId,Ni(t))},attemptBlockRecovery(){n(t.clientId,(({name:e,attributes:t,innerBlocks:n})=>Object(m.createBlock)(e,t,n))(t))}}})])((function({convertToHTML:e,convertToBlocks:t,convertToClassic:n,attemptBlockRecovery:o,block:r}){const c=!!Object(m.getBlockType)("core/html"),[l,a]=Object(i.useState)(!1),s=Object(i.useCallback)(()=>a(!0),[]),u=Object(i.useCallback)(()=>a(!1),[]),d=Object(i.useMemo)(()=>[{title:Object(j._x)("Resolve","imperative verb"),onClick:s},c&&{title:Object(j.__)("Convert to HTML"),onClick:e},{title:Object(j.__)("Convert to Classic Block"),onClick:n}].filter(Boolean),[s,e,n]);return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(Bi,{actions:[Object(i.createElement)(p.Button,{key:"recover",onClick:o,isPrimary:!0},Object(j.__)("Attempt Block Recovery"))],secondaryActions:d},Object(j.__)("This block contains unexpected or invalid content.")),l&&Object(i.createElement)(p.Modal,{title:Object(j.__)("Resolve Block"),onRequestClose:u,className:"block-editor-block-compare"},Object(i.createElement)(Ti,{block:r,onKeep:e,onConvert:t,convertor:Ni,convertButtonText:Object(j.__)("Convert to Blocks")})))}));const Li=Object(i.createElement)(Bi,{className:"block-editor-block-list__block-crash-warning"},Object(j.__)("This block has encountered an error and cannot be previewed."));var Ri=()=>Li;class Ai extends i.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 Mi=Ai,Di=n("O6Fj"),Fi=n.n(Di);var Vi=function({clientId:e}){const[t,n]=Object(i.useState)(""),o=Object(f.useSelect)(t=>t(Rn).getBlock(e),[e]),{updateBlock:r}=Object(f.useDispatch)(Rn);return Object(i.useEffect)(()=>{n(Object(m.getBlockContent)(o))},[o]),Object(i.createElement)(Fi.a,{className:"block-editor-block-list__block-html-textarea",value:t,onBlur:()=>{const c=Object(m.getBlockType)(o.name),l=Object(m.getBlockAttributes)(c,t,o.attributes),i=t||Object(m.getSaveContent)(c,l),a=!t||Object(m.isValidBlockContent)(c,l,i);r(e,{attributes:l,originalContent:i,isValid:a}),t||n({content:i})},onChange:e=>n(e.target.value)})};const Hi=".block-editor-block-list__block";function zi(e,t){return t.closest(Hi)===e}function Gi(e){const t=Object(i.useRef)(),n=function(e){return Object(f.useSelect)(t=>{const{getSelectedBlocksInitialCaretPosition:n,isMultiSelecting:o,isNavigationMode:r,isBlockSelected:c}=t(Rn);if(c(e)&&!o()&&!r())return n()},[e])}(e);return Object(i.useEffect)(()=>{if(null==n)return;if(!t.current)return;const{ownerDocument:e}=t.current;if(t.current.contains(e.activeElement))return;const o=si.focus.tabbable.find(t.current).filter(e=>Object(si.isTextField)(e)),r=-1===n,c=(r?u.last:u.first)(o)||t.current;zi(t.current,c)&&!c.closest(".block-list-appender")?Object(si.placeCaretAtHorizontalEdge)(c,r):t.current.focus()},[n]),t}function Ui(e){if(e.defaultPrevented)return;const t="mouseover"===e.type?"add":"remove";e.preventDefault(),e.currentTarget.classList[t]("is-hovered")}function Wi(){const e=Object(f.useSelect)(e=>{const{isNavigationMode:t,getSettings:n}=e(Rn);return t()||n().outlineMode},[]);return Object(d.useRefEffect)(t=>{if(e)return t.addEventListener("mouseout",Ui),t.addEventListener("mouseover",Ui),()=>{t.removeEventListener("mouseout",Ui),t.removeEventListener("mouseover",Ui),t.classList.remove("is-hovered")}},[e])}function Ki(e){return Object(f.useSelect)(t=>{const{isBlockBeingDragged:n,isBlockHighlighted:o,isBlockSelected:r,isBlockMultiSelected:c,getBlockName:l,getSettings:i,hasSelectedInnerBlock:a,__experimentalGetActiveBlockIdByBlockNames:u}=t(Rn),{__experimentalSpotlightEntityBlocks:d}=i(),b=n(e),p=r(e),f=l(e),g=a(e,!0),h=u(d);return s()({"is-selected":p,"is-highlighted":o(e),"is-multi-selected":c(e),"is-reusable":Object(m.isReusableBlock)(Object(m.getBlockType)(f)),"is-dragging":b,"has-child-selected":g,"has-active-entity":h,"is-active-entity":h===e})},[e])}function qi(e){return Object(f.useSelect)(t=>{const n=t(Rn).getBlockName(e),o=Object(m.getBlockType)(n);if(o.apiVersion>1||Object(m.hasBlockSupport)(o,"lightBlockWrapper",!1))return Object(m.getBlockDefaultClassName)(n)},[e])}function $i(e){return Object(f.useSelect)(t=>{const{getBlockName:n,getBlockAttributes:o}=t(Rn),{className:r}=o(e);if(!r)return;const c=Object(m.getBlockType)(n(e));return c.apiVersion>1||Object(m.hasBlockSupport)(c,"lightBlockWrapper",!1)?r:void 0},[e])}function Yi(e){return Object(f.useSelect)(t=>{const{hasBlockMovingClientId:n,canInsertBlockType:o,getBlockName:r,getBlockRootClientId:c,isBlockSelected:l}=t(Rn);if(!l(e))return;const i=n();return i?s()("is-block-moving-mode",{"can-insert-moving-block":o(r(i),c(e))}):void 0},[e])}function Xi(e){const{isBlockSelected:t}=Object(f.useSelect)(Rn),{selectBlock:n,selectionChange:o}=Object(f.useDispatch)(Rn);return Object(d.useRefEffect)(r=>{function c(c){t(e)?c.target.isContentEditable||o(e):zi(r,c.target)&&n(e)}return r.addEventListener("focusin",c),()=>{r.removeEventListener("focusin",c)}},[t,n])}function Qi(e){const t=Object(f.useSelect)(t=>t(Rn).isBlockSelected(e),[e]),{getBlockRootClientId:n,getBlockIndex:o}=Object(f.useSelect)(Rn),{insertDefaultBlock:r,removeBlock:c}=Object(f.useDispatch)(Rn);return Object(d.useRefEffect)(l=>{if(t)return l.addEventListener("keydown",i),l.addEventListener("dragstart",a),()=>{l.removeEventListener("keydown",i),l.removeEventListener("dragstart",a)};function i(t){const{keyCode:i,target:a}=t;i!==$r.ENTER&&i!==$r.BACKSPACE&&i!==$r.DELETE||a!==l||Object(si.isTextField)(a)||(t.preventDefault(),i===$r.ENTER?r({},n(e),o(e)+1):c(e))}function a(e){e.preventDefault()}},[e,t,n,o,r,c])}function Zi(e){const{isNavigationMode:t,isBlockSelected:n}=Object(f.useSelect)(Rn),{setNavigationMode:o,selectBlock:r}=Object(f.useDispatch)(Rn);return Object(d.useRefEffect)(c=>{function l(c){t()&&!c.defaultPrevented&&(c.preventDefault(),n(e)?o(!1):r(e))}return c.addEventListener("mousedown",l),()=>{c.addEventListener("mousedown",l)}},[e,t,n,o])}var Ji=n("9Do8"),ea=n.n(Ji);function ta(e){const t=Object(i.useRef)(),n=Object(f.useSelect)(t=>{const{isBlockSelected:n,getBlockSelectionEnd:o}=t(Rn);return n(e)||o()===e},[e]);return Object(i.useEffect)(()=>{if(!n)return;const e=t.current;if(!e)return;if(e.contains(e.ownerDocument.activeElement))return;const o=Object(si.getScrollContainer)(e)||e.ownerDocument.defaultView;o&&ea()(e,o,{onlyScrollIfNeeded:!0})},[n]),t}function na(e,t){Array.from(e.closest(".is-root-container").querySelectorAll(".rich-text")).forEach(e=>{t?e.setAttribute("contenteditable",!0):e.removeAttribute("contenteditable")})}function oa(e){const{startMultiSelect:t,stopMultiSelect:n,multiSelect:o,selectBlock:r}=Object(f.useDispatch)(Rn),{isSelectionEnabled:c,isBlockSelected:l,getBlockParents:i,getBlockSelectionStart:a,hasMultiSelection:s}=Object(f.useSelect)(Rn);return Object(d.useRefEffect)(u=>{const{ownerDocument:d}=u,{defaultView:b}=d;let m,p;function f({isSelectionEnd:t}){const n=b.getSelection();if(!n.rangeCount||n.isCollapsed)return void na(u,!0);const c=function(e){for(;e&&e.nodeType!==e.ELEMENT_NODE;)e=e.parentNode;if(!e)return;const t=e.closest(Hi);return t?t.id.slice("block-".length):void 0}(n.focusNode);if(e===c){if(r(e),t&&(na(u,!0),n.rangeCount)){const{commonAncestorContainer:e}=n.getRangeAt(0);m.contains(e)&&m.focus()}}else{const t=[...i(e),e],n=[...i(c),c],r=Math.min(t.length,n.length)-1;o(t[r],n[r])}}function g(){d.removeEventListener("selectionchange",f),b.removeEventListener("mouseup",g),p=b.requestAnimationFrame(()=>{f({isSelectionEnd:!0}),n()})}function h({buttons:n}){1===n&&c()&&l(e)&&(m=d.activeElement,t(),d.addEventListener("selectionchange",f),b.addEventListener("mouseup",g),na(u,!1))}function O(t){if(c()&&0===t.button)if(t.shiftKey){const n=a();n!==e&&(na(u,!1),o(n,e),t.preventDefault())}else s()&&r(e)}return u.addEventListener("mousedown",O),u.addEventListener("mouseleave",h),()=>{u.removeEventListener("mousedown",O),u.removeEventListener("mouseleave",h),d.removeEventListener("selectionchange",f),b.removeEventListener("mouseup",g),b.cancelAnimationFrame(p)}},[e,t,n,o,r,c,l,i])}var ra=n("rmEH"),ca=n("Q4Sy");const la=[Object(i.createInterpolateElement)(Object(j.__)("While writing, you can press <kbd>/</kbd> to quickly insert new blocks."),{kbd:Object(i.createElement)("kbd",null)}),Object(i.createInterpolateElement)(Object(j.__)("Indent a list by pressing <kbd>space</kbd> at the beginning of a line."),{kbd:Object(i.createElement)("kbd",null)}),Object(i.createInterpolateElement)(Object(j.__)("Outdent a list by pressing <kbd>backspace</kbd> at the beginning of a line."),{kbd:Object(i.createElement)("kbd",null)}),Object(j.__)("Drag files into the editor to automatically insert media blocks."),Object(j.__)("Change a block's type by pressing the block icon on the toolbar.")];var ia=function(){const[e]=Object(i.useState)(Math.floor(Math.random()*la.length));return Object(i.createElement)(p.Tip,null,la[e])},aa=n("bWcr"),sa=n("cGtP");var ua=function e({className:t,onChange:n,value:o,label:r,placeholder:c}){const l=Object(d.useInstanceId)(e),a=Object(i.useRef)();return Object(i.createElement)("div",{className:s()("block-editor-inserter__search",t)},Object(i.createElement)(p.VisuallyHidden,{as:"label",htmlFor:"block-editor-inserter__search-"+l},r||c),Object(i.createElement)("input",{ref:a,className:"block-editor-inserter__search-input",id:"block-editor-inserter__search-"+l,type:"search",placeholder:c,onChange:e=>n(e.target.value),autoComplete:"off",value:o||""}),Object(i.createElement)("div",{className:"block-editor-inserter__search-icon"},!!o&&Object(i.createElement)(p.Button,{icon:aa.a,label:Object(j.__)("Reset search"),onClick:()=>{n(""),a.current.focus()}}),!o&&Object(i.createElement)(Kc.a,{icon:sa.a})))};var da=function({title:e,icon:t,description:n,blockType:o}){return o&&(wt()("`blockType` property in `BlockCard component`",{since:"5.7",alternative:"`title, icon and description` properties"}),({title:e,icon:t,description:n}=o)),Object(i.createElement)("div",{className:"block-editor-block-card"},Object(i.createElement)(Fl,{icon:t,showColors:!0}),Object(i.createElement)("div",{className:"block-editor-block-card__content"},Object(i.createElement)("h2",{className:"block-editor-block-card__title"},e),Object(i.createElement)("span",{className:"block-editor-block-card__description"},n)))};function ba({clientId:e=null,value:t,selection:n,onChange:o=u.noop,onInput:r=u.noop}){const c=Object(f.useRegistry)(),{resetBlocks:l,resetSelection:a,replaceInnerBlocks:s,setHasControlledInnerBlocks:d,__unstableMarkNextChangeAsNotPersistent:b}=c.dispatch(Rn),{getBlockName:p,getBlocks:g}=c.select(Rn),h=Object(i.useRef)({incoming:null,outgoing:[]}),O=Object(i.useRef)(!1),j=Object(i.useRef)(r),v=Object(i.useRef)(o);Object(i.useEffect)(()=>{j.current=r,v.current=o},[r,o]),Object(i.useEffect)(()=>{h.current.outgoing.includes(t)?Object(u.last)(h.current.outgoing)===t&&(h.current.outgoing=[]):g(e)!==t&&(h.current.outgoing=[],(()=>{if(t)if(b(),e){d(e,!0),b();const n=t.map(e=>Object(m.cloneBlock)(e));O.current&&(h.current.incoming=n),s(e,n)}else O.current&&(h.current.incoming=t),l(t)})(),n&&a(n.selectionStart,n.selectionEnd,n.initialPosition))},[t,e]),Object(i.useEffect)(()=>{const{getSelectionStart:t,getSelectionEnd:n,getSelectedBlocksInitialCaretPosition:o,isLastBlockChangePersistent:r,__unstableIsLastBlockChangeIgnored:l}=c.select(Rn);let i=g(e),a=r(),s=!1;O.current=!0;const u=c.subscribe(()=>{if(null!==e&&null===p(e))return;const c=r(),u=g(e),d=u!==i;if(i=u,d&&(h.current.incoming||l()))return h.current.incoming=null,void(a=c);if(d||s&&!d&&c&&!a){a=c,h.current.outgoing.push(i);(a?v.current:j.current)(i,{selection:{selectionStart:t(),selectionEnd:n(),initialPosition:o()}})}s=d});return()=>u()},[c,e])}var ma=Object(d.createHigherOrderComponent)(e=>Object(f.withRegistry)(({useSubRegistry:t=!0,registry:n,...o})=>{if(!t)return Object(i.createElement)(e,Object(l.a)({registry:n},o));const[r,c]=Object(i.useState)(null);return Object(i.useEffect)(()=>{const e=Object(f.createRegistry)({},n);e.registerStore(It,Ln),c(e)},[n]),r?Object(i.createElement)(f.RegistryProvider,{value:r},Object(i.createElement)(e,Object(l.a)({registry:r},o))):null}),"withRegistryProvider")((function(e){const{children:t,settings:n}=e,{updateSettings:o}=Object(f.useDispatch)(Rn);return Object(i.useEffect)(()=>{o(n)},[n]),ba(e),Object(i.createElement)(Or,null,t)}));function pa({onClick:e}){return Object(i.createElement)("div",{tabIndex:0,role:"button",onClick:e,onKeyPress:e},Object(i.createElement)(p.Disabled,null,Object(i.createElement)(yu,null)))}let fa;var ga=function({viewportWidth:e,__experimentalPadding:t}){const[n,{width:o}]=Object(d.useResizeObserver)(),[r,{height:c}]=Object(d.useResizeObserver)();fa=fa||Object(d.pure)(yu);const l=(o-2*t)/e;return Object(i.createElement)("div",{className:"block-editor-block-preview__container editor-styles-wrapper","aria-hidden":!0,style:{height:c*l+2*t}},n,Object(i.createElement)(p.Disabled,{style:{transform:`scale(${l})`,width:e,left:t,right:t,top:t},className:"block-editor-block-preview__content"},r,Object(i.createElement)(fa,null)))};var ha=Object(i.memo)((function({blocks:e,__experimentalPadding:t=0,viewportWidth:n=1200,__experimentalLive:o=!1,__experimentalOnClick:r}){const c=Object(f.useSelect)(e=>e(Rn).getSettings(),[]),l=Object(i.useMemo)(()=>{const e={...c};return e.__experimentalBlockPatterns=[],e},[c]),a=Object(i.useMemo)(()=>Object(u.castArray)(e),[e]);return e&&0!==e.length?Object(i.createElement)(ma,{value:a,settings:l},o?Object(i.createElement)(pa,{onClick:r}):Object(i.createElement)(ga,{viewportWidth:n,__experimentalPadding:t})):null}));var Oa=function({item:e}){var t,n;const{name:o,title:r,icon:c,description:l,initialAttributes:a}=e,s=Object(m.getBlockType)(o),u=Object(m.isReusableBlock)(e);return Object(i.createElement)("div",{className:"block-editor-inserter__preview-container"},Object(i.createElement)("div",{className:"block-editor-inserter__preview"},u||s.example?Object(i.createElement)("div",{className:"block-editor-inserter__preview-content"},Object(i.createElement)(ha,{__experimentalPadding:16,viewportWidth:null!==(t=null===(n=s.example)||void 0===n?void 0:n.viewportWidth)&&void 0!==t?t:500,blocks:s.example?Object(m.getBlockFromExample)(e.name,{attributes:{...s.example.attributes,...a},innerBlocks:s.example.innerBlocks}):Object(m.createBlock)(o,a)})):Object(i.createElement)("div",{className:"block-editor-inserter__preview-content-missing"},Object(j.__)("No Preview Available."))),!u&&Object(i.createElement)(da,{title:r,icon:c,description:l}))};var ja=Object(i.createContext)();var va=Object(i.forwardRef)((function({isFirst:e,as:t,children:n,...o},r){const c=Object(i.useContext)(ja);return Object(i.createElement)(p.__unstableCompositeItem,Object(l.a)({ref:r,state:c,role:"option",focusable:!0},o),o=>{const r={...o,tabIndex:e?0:o.tabIndex};return t?Object(i.createElement)(t,r,n):"function"==typeof n?n(r):Object(i.createElement)(p.Button,r,n)})}));var ka=Object(i.createElement)(Gn.SVG,{width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},Object(i.createElement)(Gn.Path,{d:"M5 4h2V2H5v2zm6-2v2h2V2h-2zm-6 8h2V8H5v2zm6 0h2V8h-2v2zm-6 6h2v-2H5v2zm6 0h2v-2h-2v2z"}));function _a({count:e,icon:t}){return Object(i.createElement)("div",{className:"block-editor-block-draggable-chip-wrapper"},Object(i.createElement)("div",{className:"block-editor-block-draggable-chip"},Object(i.createElement)(p.Flex,{justify:"center",className:"block-editor-block-draggable-chip__content"},Object(i.createElement)(p.FlexItem,null,t?Object(i.createElement)(Fl,{icon:t}):Object(j.sprintf)(Object(j._n)("%d block","%d blocks",e),e)),Object(i.createElement)(p.FlexItem,null,Object(i.createElement)(Fl,{icon:ka})))))}var ya=({isEnabled:e,blocks:t,icon:n,children:o})=>{const r={type:"inserter",blocks:t};return Object(i.createElement)(p.Draggable,{__experimentalTransferDataType:"wp-blocks",transferData:r,__experimentalDragComponent:Object(i.createElement)(_a,{count:t.length,icon:n})},({onDraggableStart:t,onDraggableEnd:n})=>o({draggable:e,onDragStart:e?t:void 0,onDragEnd:e?n:void 0}))};function Ea(e=window){const{platform:t}=e.navigator;return-1!==t.indexOf("Mac")||["iPad","iPhone"].includes(t)}var Ca=Object(i.memo)((function({className:e,isFirst:t,item:n,onSelect:o,onHover:r,isDraggable:c,...a}){const u=Object(i.useRef)(!1),d=n.icon?{backgroundColor:n.icon.background,color:n.icon.foreground}:{},b=Object(i.useMemo)(()=>[Object(m.createBlock)(n.name,n.initialAttributes,Object(m.createBlocksFromInnerBlocksTemplate)(n.innerBlocks))],[n.name,n.initialAttributes,n.initialAttributes]);return Object(i.createElement)(ya,{isEnabled:c&&!n.disabled,blocks:b,icon:n.icon},({draggable:c,onDragStart:b,onDragEnd:m})=>Object(i.createElement)("div",{className:"block-editor-block-types-list__list-item",draggable:c,onDragStart:e=>{u.current=!0,b&&(r(null),b(e))},onDragEnd:e=>{u.current=!1,m&&m(e)}},Object(i.createElement)(va,Object(l.a)({isFirst:t,className:s()("block-editor-block-types-list__item",e),disabled:n.isDisabled,onClick:e=>{e.preventDefault(),o(n,Ea()?e.metaKey:e.ctrlKey),r(null)},onKeyDown:e=>{const{keyCode:t}=e;t===$r.ENTER&&(e.preventDefault(),o(n,Ea()?e.metaKey:e.ctrlKey),r(null))},onFocus:()=>{u.current||r(n)},onMouseEnter:()=>{u.current||r(n)},onMouseLeave:()=>r(null),onBlur:()=>r(null)},a),Object(i.createElement)("span",{className:"block-editor-block-types-list__item-icon",style:d},Object(i.createElement)(Fl,{icon:n.icon,showColors:!0})),Object(i.createElement)("span",{className:"block-editor-block-types-list__item-title"},n.title))))}));var Sa=Object(i.forwardRef)((function(e,t){const[n,o]=Object(i.useState)(!1);return Object(i.useEffect)(()=>{n&&Object(Ct.speak)(Object(j.__)("Use left and right arrow keys to move through blocks"))},[n]),Object(i.createElement)("div",Object(l.a)({ref:t,role:"listbox","aria-orientation":"horizontal",onFocus:()=>{o(!0)},onBlur:e=>{!e.currentTarget.contains(e.relatedTarget)&&o(!1)}},e))}));var wa=Object(i.forwardRef)((function(e,t){const n=Object(i.useContext)(ja);return Object(i.createElement)(p.__unstableCompositeGroup,Object(l.a)({state:n,role:"presentation",ref:t},e))}));var Ba=function({items:e=[],onSelect:t,onHover:n=(()=>{}),children:o,label:r,isDraggable:c=!0}){return Object(i.createElement)(Sa,{className:"block-editor-block-types-list","aria-label":r},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}(e,3).map((e,o)=>Object(i.createElement)(wa,{key:o},e.map((e,r)=>Object(i.createElement)(Ca,{key:e.id,item:e,className:Object(m.getBlockMenuDefaultClassName)(e.id),onSelect:t,onHover:n,isDraggable:c,isFirst:0===o&&0===r})))),o)};var Ia=function({title:e,icon:t,children:n}){return Object(i.createElement)(i.Fragment,null,Object(i.createElement)("div",{className:"block-editor-inserter__panel-header"},Object(i.createElement)("h2",{className:"block-editor-inserter__panel-title"},e),Object(i.createElement)(p.Icon,{icon:t})),Object(i.createElement)("div",{className:"block-editor-inserter__panel-content"},n))};var xa=function({children:e}){const t=Object(p.__unstableUseCompositeState)({shift:!0,wrap:"horizontal"});return Object(i.createElement)(ja.Provider,{value:t},e)};var Ta=function({rootClientId:e,onInsert:t,onHover:n,showMostUsedBlocks:o}){const[r,c,l,a]=Ml(e,t),s=Object(i.useMemo)(()=>Object(u.orderBy)(r,["frecency"],["desc"]).slice(0,6),[r]),d=Object(i.useMemo)(()=>r.filter(e=>!e.category),[r]),b=Object(i.useMemo)(()=>Object(u.flow)(e=>e.filter(e=>e.category&&"reusable"!==e.category),e=>Object(u.groupBy)(e,"category"))(r),[r]),m=Object(i.useMemo)(()=>{const e={...l};return Object.keys(l).forEach(t=>{e[t]=r.filter(e=>(e=>e.name.split("/")[0])(e)===t),0===e[t].length&&delete e[t]}),e},[r,l]);return Object(i.useEffect)(()=>()=>n(null),[]),Object(i.createElement)(xa,null,Object(i.createElement)("div",null,o&&!!s.length&&Object(i.createElement)(Ia,{title:Object(j._x)("Most used","blocks")},Object(i.createElement)(Ba,{items:s,onSelect:a,onHover:n,label:Object(j._x)("Most used","blocks")})),Object(u.map)(c,e=>{const t=b[e.slug];return t&&t.length?Object(i.createElement)(Ia,{key:e.slug,title:e.title,icon:e.icon},Object(i.createElement)(Ba,{items:t,onSelect:a,onHover:n,label:e.title})):null}),d.length>0&&Object(i.createElement)(Ia,{className:"block-editor-inserter__uncategorized-blocks-panel",title:Object(j.__)("Uncategorized")},Object(i.createElement)(Ba,{items:d,onSelect:a,onHover:n,label:Object(j.__)("Uncategorized")})),Object(u.map)(l,(e,t)=>{const o=m[t];return o&&o.length?Object(i.createElement)(Ia,{key:t,title:e.title,icon:e.icon},Object(i.createElement)(Ba,{items:o,onSelect:a,onHover:n,label:e.title})):null})))};var Na=function({selectedCategory:e,patternCategories:t,onClickCategory:n,children:o}){return Object(i.createElement)(i.Fragment,null,Object(i.createElement)("div",{className:s()("block-editor-inserter__panel-header","block-editor-inserter__panel-header-patterns")},Object(i.createElement)(p.SelectControl,{className:"block-editor-inserter__panel-dropdown",label:Object(j.__)("Filter patterns"),hideLabelFromVision:!0,value:e.name,onChange:e=>{n(t.find(t=>e===t.name))},onBlur:e=>{null!=e&&e.relatedTarget||e.stopPropagation()},options:(()=>{const e=[];return t.map(t=>e.push({value:t.name,label:t.label})),e})()})),Object(i.createElement)("div",{className:"block-editor-inserter__panel-content"},o))},Pa=n("onLe");var La=(e,t)=>{const{patternCategories:n,patterns:o}=Object(f.useSelect)(e=>{const{__experimentalGetAllowedPatterns:n,getSettings:o}=e(Rn);return{patterns:n(t),patternCategories:o().__experimentalBlockPatternCategories}},[t]),{createSuccessNotice:r}=Object(f.useDispatch)(Pa.store);return[o,n,Object(i.useCallback)((t,n)=>{e(Object(u.map)(n,e=>Object(m.cloneBlock)(e)),t.name),r(Object(j.sprintf)(Object(j.__)('Block pattern "%s" inserted.'),t.title),{type:"snackbar"})},[])]};function Ra({isDraggable:e,pattern:t,onClick:n,composite:o}){const{name:r,viewportWidth:c}=t,{blocks:a}=Object(f.useSelect)(e=>e(Rn).__experimentalGetParsedPattern(r),[r]),s="block-editor-block-patterns-list__item-description-"+Object(d.useInstanceId)(Ra);return Object(i.createElement)(ya,{isEnabled:e,blocks:a},({draggable:e,onDragStart:r,onDragEnd:u})=>Object(i.createElement)("div",{className:"block-editor-block-patterns-list__list-item","aria-label":t.title,"aria-describedby":t.description?s:void 0,draggable:e,onDragStart:r,onDragEnd:u},Object(i.createElement)(p.__unstableCompositeItem,Object(l.a)({role:"option",as:"div"},o,{className:"block-editor-block-patterns-list__item",onClick:()=>n(t,a)}),Object(i.createElement)(ha,{blocks:a,viewportWidth:c}),Object(i.createElement)("div",{className:"block-editor-block-patterns-list__item-title"},t.title),!!t.description&&Object(i.createElement)(p.VisuallyHidden,{id:s},t.description))))}function Aa(){return Object(i.createElement)("div",{className:"block-editor-block-patterns-list__item is-placeholder"})}var Ma=function({isDraggable:e,blockPatterns:t,shownPatterns:n,onClickPattern:o,orientation:r,label:c=Object(j.__)("Block Patterns")}){const a=Object(p.__unstableUseCompositeState)({orientation:r});return Object(i.createElement)(p.__unstableComposite,Object(l.a)({},a,{role:"listbox",className:"block-editor-block-patterns-list","aria-label":c}),t.map(t=>n.includes(t)?Object(i.createElement)(Ra,{key:t.name,pattern:t,onClick:o,isDraggable:e,composite:a}):Object(i.createElement)(Aa,{key:t.name})))};function Da({rootClientId:e,onInsert:t,selectedCategory:n,onClickCategory:o}){const[r,c,l]=La(t,e),a=Object(i.useMemo)(()=>c.filter(e=>r.some(t=>{var n;return null===(n=t.categories)||void 0===n?void 0:n.includes(e.name)})),[r,c]),s=n||a[0];Object(i.useEffect)(()=>{r.some(e=>b(e)===1/0)&&!a.find(e=>"uncategorized"===e.name)&&a.push({name:"uncategorized",label:Object(j._x)("Uncategorized")})},[a,r]);const b=Object(i.useCallback)(e=>{if(!e.categories||!e.categories.length)return 1/0;const t=Object(u.fromPairs)(a.map(({name:e},t)=>[e,t]));return Math.min(...e.categories.map(e=>void 0!==t[e]?t[e]:1/0))},[a]),m=Object(i.useMemo)(()=>r.filter(e=>"uncategorized"===s.name?b(e)===1/0:e.categories&&e.categories.includes(s.name)),[r,s]),p=Object(i.useMemo)(()=>m.sort((e,t)=>b(e)-b(t)),[m,b]),f=Object(d.useAsyncList)(p);return Object(i.createElement)(i.Fragment,null,!!m.length&&Object(i.createElement)(Na,{selectedCategory:s,patternCategories:a,onClickCategory:o},Object(i.createElement)(Ma,{shownPatterns:f,blockPatterns:m,onClickPattern:l,label:s.label,orientation:"vertical",isDraggable:!0})))}var Fa=function({rootClientId:e,onInsert:t,onClickCategory:n,selectedCategory:o}){return Object(i.createElement)(Da,{rootClientId:e,selectedCategory:o,onInsert:t,onClickCategory:n})},Va=n("Mmq9");var Ha=function(){return Object(i.createElement)("div",{className:"block-editor-inserter__no-results"},Object(i.createElement)(Kc.a,{className:"block-editor-inserter__no-results-icon",icon:Dl.a}),Object(i.createElement)("p",null,Object(j.__)("No results found.")))};function za({onHover:e,onInsert:t,rootClientId:n}){const[o,,,r]=Ml(n,t),c=Object(i.useMemo)(()=>o.filter(({category:e})=>"reusable"===e),[o]);return 0===c.length?Object(i.createElement)(Ha,null):Object(i.createElement)(Ia,{title:Object(j.__)("Reusable blocks")},Object(i.createElement)(Ba,{items:c,onSelect:r,onHover:e,label:Object(j.__)("Reusable blocks")}))}var Ga=function({rootClientId:e,onInsert:t,onHover:n}){return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(za,{onHover:n,onInsert:t,rootClientId:e}),Object(i.createElement)("div",{className:"block-editor-inserter__manage-reusable-blocks-container"},Object(i.createElement)("a",{className:"block-editor-inserter__manage-reusable-blocks",href:Object(Va.addQueryArgs)("edit.php",{post_type:"wp_block"})},Object(j.__)("Manage Reusable blocks"))))};const{Fill:Ua,Slot:Wa}=Object(p.createSlotFill)("__unstableInserterMenuExtension");Ua.Slot=Wa;var Ka=Ua;var qa=function({rootClientId:e="",insertionIndex:t,clientId:n,isAppender:o,onSelect:r,shouldFocusBlock:c=!0}){const{getSelectedBlock:l}=Object(f.useSelect)(Rn),{destinationRootClientId:a,destinationIndex:s}=Object(f.useSelect)(r=>{const{getSelectedBlockClientId:c,getBlockRootClientId:l,getBlockIndex:i,getBlockOrder:a}=r(Rn),s=c();let u,d=e;return t?u=t:n?u=i(n,d):!o&&s?(d=l(s),u=i(s,d)+1):u=a(d).length,{destinationRootClientId:d,destinationIndex:u}},[e,t,n,o]),{replaceBlocks:d,insertBlocks:b,showInsertionPoint:p,hideInsertionPoint:g}=Object(f.useDispatch)(Rn),h=Object(i.useCallback)((e,t,n=!1)=>{const i=l();!o&&i&&Object(m.isUnmodifiedDefaultBlock)(i)?d(i.clientId,e,null,c||n?0:null,t):b(e,s,a,!0,c||n?0:null,t);const p=Object(j.sprintf)(Object(j._n)("%d block added.","%d blocks added.",Object(u.castArray)(e).length),Object(u.castArray)(e).length);Object(Ct.speak)(p),r&&r()},[o,l,d,b,a,s,r,c]),O=Object(i.useCallback)(e=>{e?p(a,s):g()},[p,g,a,s]);return[a,h,O]};var $a=function({filterValue:e,onSelect:t,onHover:n,rootClientId:o,clientId:r,isAppender:c,__experimentalInsertionIndex:l,maxBlockPatterns:a,maxBlockTypes:s,showBlockDirectory:b=!1,isDraggable:m=!0,shouldFocusBlock:f=!0}){const g=Object(d.useDebounce)(Ct.speak,500),[h,O]=qa({onSelect:t,rootClientId:o,clientId:r,isAppender:c,insertionIndex:l,shouldFocusBlock:f}),[v,k,_,y]=Ml(h,O),[E,,C]=La(O,h),S=Object(i.useMemo)(()=>{const t=Ll(Object(u.orderBy)(v,["frecency"],["desc"]),k,_,e);return void 0!==s?t.slice(0,s):t},[e,v,k,_,s]),w=Object(i.useMemo)(()=>{const t=Rl(E,e);return void 0!==a?t.slice(0,a):t},[e,E,a]);Object(i.useEffect)(()=>{if(!e)return;const t=S.length+w.length,n=Object(j.sprintf)(Object(j._n)("%d result found.","%d results found.",t),t);g(n)},[e,g]);const B=Object(d.useAsyncList)(w),I=!Object(u.isEmpty)(S)||!Object(u.isEmpty)(w);return Object(i.createElement)(xa,null,!b&&!I&&Object(i.createElement)(Ha,null),!!S.length&&Object(i.createElement)(Ia,{title:Object(i.createElement)(p.VisuallyHidden,null,Object(j.__)("Blocks"))},Object(i.createElement)(Ba,{items:S,onSelect:y,onHover:n,label:Object(j.__)("Blocks"),isDraggable:m})),!!S.length&&!!w.length&&Object(i.createElement)("div",{className:"block-editor-inserter__quick-inserter-separator"}),!!w.length&&Object(i.createElement)(Ia,{title:Object(i.createElement)(p.VisuallyHidden,null,Object(j.__)("Block Patterns"))},Object(i.createElement)("div",{className:"block-editor-inserter__quick-inserter-patterns"},Object(i.createElement)(Ma,{shownPatterns:B,blockPatterns:w,onClickPattern:C,isDraggable:m}))),b&&Object(i.createElement)(Ka.Slot,{fillProps:{onSelect:y,onHover:n,filterValue:e,hasItems:I,rootClientId:h}},e=>e.length?e:I?null:Object(i.createElement)(Ha,null)))};const Ya={name:"blocks",title:Object(j.__)("Blocks")},Xa={name:"patterns",title:Object(j.__)("Patterns")},Qa={name:"reusable",title:Object(j.__)("Reusable")};var Za=function({children:e,showPatterns:t=!1,showReusableBlocks:n=!1,onSelect:o}){const r=Object(i.useMemo)(()=>{const e=[Ya];return t&&e.push(Xa),n&&e.push(Qa),e},[Ya,t,Xa,n,Qa]);return Object(i.createElement)(p.TabPanel,{className:"block-editor-inserter__tabs",tabs:r,onSelect:o},e)};var Ja=function({rootClientId:e,clientId:t,isAppender:n,__experimentalInsertionIndex:o,onSelect:r,showInserterHelpPanel:c,showMostUsedBlocks:l,shouldFocusBlock:a=!0}){const[s,u]=Object(i.useState)(""),[d,b]=Object(i.useState)(null),[m,g]=Object(i.useState)(null),[h,O,v]=qa({rootClientId:e,clientId:t,isAppender:n,insertionIndex:o,shouldFocusBlock:a}),{showPatterns:k,hasReusableBlocks:_}=Object(f.useSelect)(e=>{var t;const{__experimentalGetAllowedPatterns:n,getSettings:o}=e(Rn);return{showPatterns:!!n(h).length,hasReusableBlocks:!(null===(t=o().__experimentalReusableBlocks)||void 0===t||!t.length)}},[h]),y=Object(i.useCallback)((e,t,n)=>{O(e,t,n),r()},[O,r]),E=Object(i.useCallback)((e,t)=>{O(e,{patternName:t}),r()},[O,r]),C=Object(i.useCallback)(e=>{v(!!e),b(e)},[v,b]),S=Object(i.useCallback)(e=>{g(e)},[g]),w=Object(i.useMemo)(()=>Object(i.createElement)(i.Fragment,null,Object(i.createElement)("div",{className:"block-editor-inserter__block-list"},Object(i.createElement)(Ta,{rootClientId:h,onInsert:y,onHover:C,showMostUsedBlocks:l})),c&&Object(i.createElement)("div",{className:"block-editor-inserter__tips"},Object(i.createElement)(p.VisuallyHidden,{as:"h2"},Object(j.__)("A tip for using the block editor")),Object(i.createElement)(ia,null))),[h,y,C,s,l,c]),B=Object(i.useMemo)(()=>Object(i.createElement)(Fa,{rootClientId:h,onInsert:E,onClickCategory:S,selectedCategory:m}),[h,E,S,m]),I=Object(i.useMemo)(()=>Object(i.createElement)(Ga,{rootClientId:h,onInsert:y,onHover:C}),[h,y,C]),x=Object(i.useCallback)(e=>"blocks"===e.name?w:"patterns"===e.name?B:I,[w,B,I]);return Object(i.createElement)("div",{className:"block-editor-inserter__menu"},Object(i.createElement)("div",{className:"block-editor-inserter__main-area"},Object(i.createElement)("div",{className:"block-editor-inserter__content"},Object(i.createElement)(ua,{onChange:e=>{d&&b(null),u(e)},value:s,label:Object(j.__)("Search for blocks and patterns"),placeholder:Object(j.__)("Search")}),!!s&&Object(i.createElement)($a,{filterValue:s,onSelect:r,onHover:C,rootClientId:e,clientId:t,isAppender:n,__experimentalInsertionIndex:o,showBlockDirectory:!0,shouldFocusBlock:a}),!s&&(k||_)&&Object(i.createElement)(Za,{showPatterns:k,showReusableBlocks:_},x),!s&&!k&&!_&&w)),c&&d&&Object(i.createElement)(Oa,{item:d}))};function es({onSelect:e,rootClientId:t,clientId:n,isAppender:o}){const[r,c]=Object(i.useState)(""),[l,a]=qa({onSelect:e,rootClientId:t,clientId:n,isAppender:o}),[u]=Ml(l,a),[d]=La(a,l),b=d.length&&!!r,m=b&&d.length>6||u.length>6,{setInserterIsOpened:g,insertionIndex:h}=Object(f.useSelect)(e=>{const{getSettings:o,getBlockIndex:r,getBlockCount:c}=e(Rn),l=r(n,t);return{setInserterIsOpened:o().__experimentalSetIsInserterOpened,insertionIndex:-1===l?c():l}},[n,t]);Object(i.useEffect)(()=>{g&&g(!1)},[g]);return Object(i.createElement)("div",{className:s()("block-editor-inserter__quick-inserter",{"has-search":m,"has-expand":g})},m&&Object(i.createElement)(ua,{value:r,onChange:e=>{c(e)},label:Object(j.__)("Search for blocks and patterns"),placeholder:Object(j.__)("Search")}),Object(i.createElement)("div",{className:"block-editor-inserter__quick-inserter-results"},Object(i.createElement)($a,{filterValue:r,onSelect:e,rootClientId:t,clientId:n,isAppender:o,maxBlockPatterns:b?2:0,maxBlockTypes:6,isDraggable:!1})),g&&Object(i.createElement)(p.Button,{className:"block-editor-inserter__quick-inserter-expand",onClick:()=>{g({rootClientId:t,insertionIndex:h})},"aria-label":Object(j.__)("Browse all. This will open the main inserter panel in the editor toolbar.")},Object(j.__)("Browse all")))}const ts=({onToggle:e,disabled:t,isOpen:n,blockTitle:o,hasSingleBlockType:r,toggleProps:c={}})=>{let a;a=r?Object(j.sprintf)(Object(j._x)("Add %s","directly add the only allowed block"),o):Object(j._x)("Add block","Generic label for block inserter button");const{onClick:s,...u}=c;return Object(i.createElement)(p.Button,Object(l.a)({icon:ca.a,label:a,tooltipPosition:"bottom",onClick:function(t){e&&e(t),s&&s(t)},className:"block-editor-inserter__toggle","aria-haspopup":!r&&"true","aria-expanded":!r&&n,disabled:t},u))};class ns extends i.Component{constructor(){super(...arguments),this.onToggle=this.onToggle.bind(this),this.renderToggle=this.renderToggle.bind(this),this.renderContent=this.renderContent.bind(this)}onToggle(e){const{onToggle:t}=this.props;t&&t(e)}renderToggle({onToggle:e,isOpen:t}){const{disabled:n,blockTitle:o,hasSingleBlockType:r,toggleProps:c,hasItems:l,renderToggle:i=ts}=this.props;return i({onToggle:e,isOpen:t,disabled:n||!l,blockTitle:o,hasSingleBlockType:r,toggleProps:c})}renderContent({onClose:e}){const{rootClientId:t,clientId:n,isAppender:o,showInserterHelpPanel:r,__experimentalIsQuick:c}=this.props;return c?Object(i.createElement)(es,{onSelect:()=>{e()},rootClientId:t,clientId:n,isAppender:o}):Object(i.createElement)(Ja,{onSelect:()=>{e()},rootClientId:t,clientId:n,isAppender:o,showInserterHelpPanel:r})}render(){const{position:e,hasSingleBlockType:t,insertOnlyAllowedBlock:n,__experimentalIsQuick:o,onSelectOrClose:r}=this.props;return t?this.renderToggle({onToggle:n}):Object(i.createElement)(p.Dropdown,{className:"block-editor-inserter",contentClassName:s()("block-editor-inserter__popover",{"is-quick":o}),position:e,onToggle:this.onToggle,expandOnMobile:!0,headerTitle:Object(j.__)("Add a block"),renderToggle:this.renderToggle,renderContent:this.renderContent,onClose:r})}}var os=Object(d.compose)([Object(f.withSelect)((e,{clientId:t,rootClientId:n})=>{const{getBlockRootClientId:o,hasInserterItems:r,__experimentalGetAllowedBlocks:c}=e(Rn),{getBlockVariations:l}=e(m.store),i=c(n=n||o(t)||void 0),a=1===Object(u.size)(i)&&0===Object(u.size)(l(i[0].name,"inserter"));let s=!1;return a&&(s=i[0]),{hasItems:r(n),hasSingleBlockType:a,blockTitle:s?s.title:"",allowedBlockType:s,rootClientId:n}}),Object(f.withDispatch)((e,t,{select:n})=>({insertOnlyAllowedBlock(){const{rootClientId:o,clientId:r,isAppender:c,hasSingleBlockType:l,allowedBlockType:i,onSelectOrClose:a}=t;if(!l)return;const{insertBlock:s}=e(Rn);s(Object(m.createBlock)(i.name),function(){const{getBlockIndex:e,getBlockSelectionEnd:t,getBlockOrder:l,getBlockRootClientId:i}=n(Rn);if(r)return e(r,o);const a=t();return!c&&a&&i(a)===o?e(a,o)+1:l(o).length}(),o),a&&a();const u=Object(j.sprintf)(Object(j.__)("%s block added"),i.title);Object(Ct.speak)(u)}})),Object(d.ifCondition)(({hasItems:e,isAppender:t,rootClientId:n,clientId:o})=>e||!t&&!n&&!o)])(ns);var rs=Object(d.compose)(Object(f.withSelect)((e,t)=>{const{getBlockCount:n,getBlockName:o,isBlockValid:r,getSettings:c,getTemplateLock:l}=e(Rn),i=!n(t.rootClientId),a=o(t.lastBlockClientId)===Object(m.getDefaultBlockName)(),s=r(t.lastBlockClientId),{bodyPlaceholder:u}=c();return{isVisible:i||!a||!s,showPrompt:i,isLocked:!!l(t.rootClientId),placeholder:u}}),Object(f.withDispatch)((e,t)=>{const{insertDefaultBlock:n,startTyping:o}=e(Rn);return{onAppend(){const{rootClientId:e}=t;n(void 0,e),o()}}}))((function({isLocked:e,isVisible:t,onAppend:n,showPrompt:o,placeholder:r,rootClientId:c}){if(e||!t)return null;const l=Object(ra.decodeEntities)(r)||Object(j.__)("Type / to choose a block");return Object(i.createElement)("div",{"data-root-client-id":c||"",className:"block-editor-default-block-appender"},Object(i.createElement)("p",{tabIndex:"0",contentEditable:!0,suppressContentEditableWarning:!0,role:"button","aria-label":Object(j.__)("Add block"),className:"wp-block block-editor-default-block-appender__content",onFocus:n},o?l:"\ufeff"),Object(i.createElement)(os,{rootClientId:c,position:"bottom right",isAppender:!0,__experimentalIsQuick:!0}))}));var cs=Object(i.forwardRef)((function({rootClientId:e,className:t,onFocus:n,tabIndex:o},r){return Object(i.createElement)(os,{position:"bottom center",rootClientId:e,__experimentalIsQuick:!0,renderToggle:({onToggle:e,disabled:c,isOpen:l,blockTitle:a,hasSingleBlockType:u})=>{let d;d=u?Object(j.sprintf)(Object(j._x)("Add %s","directly add the only allowed block"),a):Object(j._x)("Add block","Generic label for block inserter button");const b=!u;let m=Object(i.createElement)(p.Button,{ref:r,onFocus:n,tabIndex:o,className:s()(t,"block-editor-button-block-appender"),onClick:e,"aria-haspopup":b?"true":void 0,"aria-expanded":b?l:void 0,disabled:c,label:d},!u&&Object(i.createElement)(p.VisuallyHidden,{as:"span"},d),Object(i.createElement)(Kc.a,{icon:ca.a}));return(b||u)&&(m=Object(i.createElement)(p.Tooltip,{text:d},m)),m},isAppender:!0})}));Object(i.createContext)();function ls(e){e.stopPropagation()}var is=Object(f.withSelect)((e,{rootClientId:t})=>{const{getBlockOrder:n,canInsertBlockType:o,getTemplateLock:r,getSelectedBlockClientId:c}=e(Rn);return{isLocked:!!r(t),blockClientIds:n(t),canInsertDefaultBlock:o(Object(m.getDefaultBlockName)(),t),selectedBlockClientId:c()}})((function({blockClientIds:e,rootClientId:t,canInsertDefaultBlock:n,isLocked:o,renderAppender:r,className:c,selectedBlockClientId:l,tagName:a="div"}){if(o||!1===r)return null;let d;if(r)d=Object(i.createElement)(r,null);else{const o=!t,r=l===t,c=l&&!e.includes(l);if(!o&&!r&&(!l||c))return null;d=n?Object(i.createElement)(rs,{rootClientId:t,lastBlockClientId:Object(u.last)(e)}):Object(i.createElement)(cs,{rootClientId:t,className:"block-list-appender__toggle"})}return Object(i.createElement)(a,{tabIndex:-1,onFocus:ls,className:s()("block-list-appender","wp-block",c)},d)}));function as(e,t,n,o,r,c,l){return i=>{const{srcRootClientId:a,srcClientIds:s,type:u,blocks:d}=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}(i);if("inserter"===u&&(l(),c(d,t,e,!0,null)),"block"===u){const c=n(s[0],a);if(a===e&&c===t)return;if(s.includes(e)||o(s).some(t=>t===e))return;const l=a===e,i=s.length;r(s,a,e,l&&c<t?t-i:t)}}}function ss(e,t){const n=Object(f.useSelect)(e=>e(Rn).getSettings().mediaUpload,[]),{canInsertBlockType:o,getBlockIndex:r,getClientIdsOfDescendants:c}=Object(f.useSelect)(Rn),{insertBlocks:l,moveBlocksToPosition:i,updateBlockAttributes:a,clearSelectedBlock:s}=Object(f.useDispatch)(Rn),u=as(e,t,r,c,i,l,s),d=function(e,t,n,o,r,c){return l=>{if(!n)return;const i=Object(m.findTransform)(Object(m.getBlockTransforms)("from"),t=>"files"===t.type&&r(t.blockName,e)&&t.isMatch(l));if(i){const n=i.transform(l,o);c(n,t,e)}}}(e,t,n,a,o,l),b=function(e,t,n){return o=>{const r=Object(m.pasteHandler)({HTML:o,mode:"BLOCKS"});r.length&&n(r,t,e)}}(e,t,l);return e=>{const t=Object(si.getFilesFromDataTransfer)(e.dataTransfer),n=e.dataTransfer.getData("text/html");t.length?d(t):n?b(n):u(e)}}function us(e,t,n=["top","bottom","left","right"]){let o,r;return n.forEach(n=>{const c=function(e,t,n){const o="top"===n||"bottom"===n,{x:r,y:c}=e,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)}(e,t,n);(void 0===o||c<o)&&(o=c,r=n)}),[o,r]}function ds({rootClientId:e=""}={}){const[t,n]=Object(i.useState)(null),{isLockedAll:o,orientation:r}=Object(f.useSelect)(t=>{var n;const{getBlockListSettings:o,getTemplateLock:r}=t(Rn);return{isLockedAll:"all"===r(e),orientation:null===(n=o(e))||void 0===n?void 0:n.orientation}},[e]),{showInsertionPoint:c,hideInsertionPoint:l}=Object(f.useDispatch)(Rn),a=ss(e,t),s=Object(d.useThrottle)(Object(i.useCallback)((t,o)=>{const l=function(e,t,n){const o="horizontal"===n?["left","right"]:["top","bottom"];let r,c;return e.forEach((n,l)=>{if(!n.classList.contains("wp-block"))return;const i=n.getBoundingClientRect(),[a,s]=us(t,i,o);if(void 0===c||a<c){const t="bottom"===s||"right"===s;let n=t?1:0;n+=t&&e[l+1]&&e[l+1].classList.contains("is-dragging")?1:0,c=a,r=l+n}}),r}(Array.from(o.children),{x:t.clientX,y:t.clientY},r);n(void 0===l?0:l),null!==l&&c(e,l)},[]),200);return Object(d.__experimentalUseDropZone)({isDisabled:o,onDrop:a,onDragOver(e){s(e,e.currentTarget)},onDragEnd(){s.cancel(),l(),n(null)}})}function bs(e){return Object(d.useRefEffect)(t=>{if(e)return t.addEventListener("wheel",n),()=>{t.removeEventListener("wheel",n)};function n(t){const{deltaX:n,deltaY:o}=t;e.current.scrollBy(n,o)}},[e])}const ms=Object(i.createContext)();function ps({__unstablePopoverSlot:e,__unstableContentRef:t}){const{selectBlock:n}=Object(f.useDispatch)(Rn),o=Object(i.useContext)(ms),r=Object(i.useRef)(),{orientation:c,isHidden:l,previousClientId:a,nextClientId:u,rootClientId:d,isInserterShown:b}=Object(f.useSelect)(e=>{var t;const{getBlockOrder:n,getBlockListSettings:o,getMultiSelectedBlockClientIds:r,getSelectedBlockClientId:c,hasMultiSelection:l,getSettings:i,getBlockInsertionPoint:a}=e(Rn),s=a(),u=n(s.rootClientId)[s.index-1],d=s.rootClientId,b=n(d);if(!b.length)return{};const m=u||b[b.length-1],p=m===b[b.length-1]?null:b[b.indexOf(m)+1],{hasReducedUI:f}=i(),g=r(),h=c(),O=(null===(t=o(d))||void 0===t?void 0:t.orientation)||"vertical";return{previousClientId:m,nextClientId:p,isHidden:f||(l()?p&&g.includes(p):p&&"vertical"===O&&p===h),orientation:O,clientId:u,rootClientId:d,isInserterShown:null==s?void 0:s.__unstableWithInserter}},[]),m=kr(a),g=kr(u),h=Object(i.useMemo)(()=>{if(!m)return{};const e=m.getBoundingClientRect(),t=g?g.getBoundingClientRect():null;if("vertical"===c)return{width:m.offsetWidth,height:t?t.top-e.bottom:0};let n=0;return g&&(n=Object(j.isRTL)()?e.left-t.right:t.left-e.right),{width:n,height:m.offsetHeight}},[m,g]),O=Object(i.useCallback)(()=>{const{ownerDocument:e}=m,t=m.getBoundingClientRect(),n=g?g.getBoundingClientRect():null;return"vertical"===c?Object(j.isRTL)()?{top:t.bottom,left:t.right,right:t.left,bottom:n?n.top:t.bottom,ownerDocument:e}:{top:t.bottom,left:t.left,right:t.right,bottom:n?n.top:t.bottom,ownerDocument:e}:Object(j.isRTL)()?{top:t.top,left:n?n.right:t.left,right:t.left,bottom:t.bottom,ownerDocument:e}:{top:t.top,left:t.right,right:n?n.left:t.right,bottom:t.bottom,ownerDocument:e}},[m,g]),v=bs(t);if(!m)return null;const k=s()("block-editor-block-list__insertion-point","is-"+c);const _=!l&&g&&b,y=_||!l;return Object(i.createElement)(p.Popover,{ref:v,noArrow:!0,animate:!1,getAnchorRect:O,focusOnMount:!1,className:"block-editor-block-list__insertion-point-popover",__unstableSlotName:e||null},Object(i.createElement)("div",{ref:r,tabIndex:-1,onClick:function(e){e.target===r.current&&u&&n(u,-1)},onFocus:function(e){e.target!==r.current&&(o.current=!0)},className:s()(k,{"is-with-inserter":_}),style:h},y&&Object(i.createElement)("div",{className:"block-editor-block-list__insertion-point-indicator"}),_&&Object(i.createElement)("div",{className:s()("block-editor-block-list__insertion-point-inserter")},Object(i.createElement)(os,{position:"bottom center",clientId:u,rootClientId:d,__experimentalIsQuick:!0,onToggle:e=>{o.current=e},onSelectOrClose:()=>{o.current=!1}}))))}function fs({children:e,__unstablePopoverSlot:t,__unstableContentRef:n}){const o=Object(f.useSelect)(e=>{const{isMultiSelecting:t,isBlockInsertionPointVisible:n}=e(Rn);return n()&&!t()},[]);return Object(i.createElement)(ms.Provider,{value:Object(i.useRef)(!1)},o&&Object(i.createElement)(ps,{__unstablePopoverSlot:t,__unstableContentRef:n}),e)}function gs(){const e=Object(i.useContext)(ms),{getBlockListSettings:t,getBlockRootClientId:n,getBlockIndex:o,isBlockInsertionPointVisible:r,isMultiSelecting:c}=Object(f.useSelect)(Rn),{showInsertionPoint:l,hideInsertionPoint:a}=Object(f.useDispatch)(Rn);return Object(d.useRefEffect)(n=>{function i(n){var i;if(e.current)return;if(c())return;if(!n.target.classList.contains("block-editor-block-list__layout"))return void(r()&&a());let s;if(!n.target.classList.contains("is-root-container")){s=(n.target.getAttribute("data-block")?n.target:n.target.closest("[data-block]")).getAttribute("data-block")}const u=(null===(i=t(s))||void 0===i?void 0:i.orientation)||"vertical",d=n.target.getBoundingClientRect(),b=n.clientY-d.top,m=n.clientX-d.left;let p=Array.from(n.target.children).find(e=>e.classList.contains("wp-block")&&"vertical"===u&&e.offsetTop>b||e.classList.contains("wp-block")&&"horizontal"===u&&e.offsetLeft>m);if(!p)return;if(!p.id&&(p=p.firstElementChild,!p))return;const f=p.id.slice("block-".length);if(!f)return;const g=p.getBoundingClientRect();if("horizontal"===u&&(n.clientY>g.bottom||n.clientY<g.top)||"vertical"===u&&(n.clientX>g.right||n.clientX<g.left))return void(r()&&a());const h=o(f,s);0!==h?l(s,h,{__unstableWithInserter:!0}):r()&&a()}return n.addEventListener("mousemove",i),()=>{n.removeEventListener("mousemove",i)}},[e,t,n,o,r,c,l,a])}const hs="undefined"==typeof window?e=>{setTimeout(()=>e(Date.now()),0)}:window.requestIdleCallback||window.requestAnimationFrame,Os="undefined"==typeof window?clearTimeout:window.cancelIdleCallback||window.cancelAnimationFrame;var js=n("hF7m");var vs=({children:e,clientIds:t,cloneClassname:n,onDragStart:o,onDragEnd:r,elementId:c})=>{const{srcRootClientId:l,isDraggable:a,icon:s}=Object(f.useSelect)(e=>{var n;const{getBlockRootClientId:o,getTemplateLock:r,getBlockName:c}=e(Rn),l=o(t[0]),i=l?r(l):null,a=c(t[0]);return{srcRootClientId:l,isDraggable:"all"!==i,icon:null===(n=Object(m.getBlockType)(a))||void 0===n?void 0:n.icon}},[t]),u=Object(i.useRef)(!1),[d,b,g]=function(){const e=Object(i.useRef)(null),t=Object(i.useRef)(null),n=Object(i.useRef)(null),o=Object(i.useRef)(null);return Object(i.useEffect)(()=>()=>{o.current&&(clearInterval(o.current),o.current=null)},[]),[Object(i.useCallback)(r=>{e.current=r.clientY,n.current=Object(si.getScrollContainer)(r.target),o.current=setInterval(()=>{if(n.current&&t.current){const e=n.current.scrollTop+t.current;n.current.scroll({top:e})}},25)},[]),Object(i.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,o.current&&(clearInterval(o.current),o.current=null)}]}(),{startDraggingBlocks:h,stopDraggingBlocks:O}=Object(f.useDispatch)(Rn);if(Object(i.useEffect)(()=>()=>{u.current&&O()},[]),!a)return e({isDraggable:!1});const j={type:"block",srcClientIds:t,srcRootClientId:l};return Object(i.createElement)(p.Draggable,{cloneClassname:n,elementId:c,__experimentalTransferDataType:"wp-blocks",transferData:j,onDragStart:e=>{h(t),u.current=!0,d(e),o&&o()},onDragOver:b,onDragEnd:()=>{O(),u.current=!1,g(),r&&r()},__experimentalDragComponent:Object(i.createElement)(_a,{count:t.length,icon:s})},({onDraggableStart:t,onDraggableEnd:n})=>e({draggable:!0,onDragStart:t,onDragEnd:n}))};var ks=function({clientId:e,rootClientId:t,blockElement:n}){const o=ql(e),r=Object(f.useSelect)(n=>{var o;const{__unstableGetBlockWithoutInnerBlocks:r,getBlockIndex:c,hasBlockMovingClientId:l,getBlockListSettings:i}=n(Rn),a=c(e,t),{name:s,attributes:u}=r(e);return{index:a,name:s,attributes:u,blockMovingMode:l(),orientation:null===(o=i(t))||void 0===o?void 0:o.orientation}},[e,t]),{index:c,name:a,attributes:u,blockMovingMode:d,orientation:b}=r,{setNavigationMode:g,removeBlock:h}=Object(f.useDispatch)(Rn),O=Object(i.useRef)();Object(i.useEffect)(()=>{O.current.focus(),window.navigator.platform.indexOf("Win")>-1&&Object(Ct.speak)(P)},[]);const{hasBlockMovingClientId:v,getBlockIndex:k,getBlockRootClientId:_,getClientIdsOfDescendants:y,getSelectedBlockClientId:E,getMultiSelectedBlocksEndClientId:C,getPreviousBlockClientId:S,getNextBlockClientId:w}=Object(f.useSelect)(Rn),{selectBlock:B,clearSelectedBlock:I,setBlockMovingClientId:x,moveBlockToPosition:T}=Object(f.useDispatch)(Rn),N=Object(m.getBlockType)(a),P=Object(m.__experimentalGetAccessibleBlockLabel)(N,u,c+1,b),L=s()("block-editor-block-list__block-selection-button",{"is-block-moving-mode":!!d}),R=Object(j.__)("Drag");return Object(i.createElement)("div",{className:L},Object(i.createElement)(p.Flex,{justify:"center",className:"block-editor-block-list__block-selection-button__content"},Object(i.createElement)(p.FlexItem,null,Object(i.createElement)(Fl,{icon:null==o?void 0:o.icon,showColors:!0})),Object(i.createElement)(p.FlexItem,null,Object(i.createElement)(vs,{clientIds:[e]},e=>Object(i.createElement)(p.Button,Object(l.a)({icon:ka,className:"block-selection-button_drag-handle","aria-hidden":"true",label:R,tabIndex:"-1"},e)))),Object(i.createElement)(p.FlexItem,null,Object(i.createElement)(p.Button,{ref:O,onClick:()=>g(!1),onKeyDown:function(t){const{keyCode:o}=t,r=o===$r.UP,c=o===$r.DOWN,l=o===$r.LEFT,i=o===$r.RIGHT,a=o===$r.TAB,s=o===$r.ESCAPE,u=o===$r.ENTER,d=o===$r.SPACE,b=t.shiftKey;if(o===$r.BACKSPACE||o===$r.DELETE)return h(e),void t.preventDefault();const m=E(),p=C(),f=S(p||m),g=w(p||m),O=a&&b||r,j=a&&!b||c,N=l,P=i;let L;if(O)L=f;else if(j)L=g;else if(N){var R;L=null!==(R=_(m))&&void 0!==R?R:m}else if(P){var A;L=null!==(A=y([m])[0])&&void 0!==A?A:m}const M=v();if(s&&M&&x(null),(u||d)&&M){const e=_(M),t=_(m),n=k(M,e);let o=k(m,t);n<o&&e===t&&(o-=1),T(M,e,t,o),B(M),x(null)}if(j||O||N||P)if(L)t.preventDefault(),B(L);else if(a&&m){let e;j?(e=si.focus.tabbable.findNext(n),e||(e=n.ownerDocument.defaultView.frameElement,e=si.focus.tabbable.findNext(e))):e=si.focus.tabbable.findPrevious(n),e&&(t.preventDefault(),e.focus(),I())}},label:P,className:"block-selection-button_select-button"},Object(i.createElement)($l,{clientId:e})))))};function _s(e){return Array.from(e.querySelectorAll("[data-toolbar-item]"))}function ys(e,t,n,o,r){const[c]=Object(i.useState)(t),[l]=Object(i.useState)(o),a=Object(i.useCallback)(()=>{!function(e){const[t]=si.focus.tabbable.find(e);t&&t.focus()}(e.current)},[]);Object(js.useShortcut)("core/block-editor/focus-toolbar",a,{bindGlobal:!0,eventName:"keydown"}),Object(i.useEffect)(()=>{c&&a()},[n,c,a]),Object(i.useEffect)(()=>{let t=0;return l&&!c&&(t=window.requestAnimationFrame(()=>{const t=_s(e.current),n=l||0;var o;t[n]&&(o=e.current).contains(o.ownerDocument.activeElement)&&t[n].focus()})),()=>{if(window.cancelAnimationFrame(t),!r)return;const n=_s(e.current).findIndex(e=>0===e.tabIndex);r(n)}},[l,c])}var Es=function({children:e,focusOnMount:t,__experimentalInitialIndex:n,__experimentalOnIndexChange:o,...r}){const c=Object(i.useRef)(),a=function(e){const[t,n]=Object(i.useState)(!0),o=Object(i.useCallback)(()=>{const t=si.focus.tabbable.find(e.current),o=!t.some(e=>!("toolbarItem"in e.dataset));o||wt()("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(i.useLayoutEffect)(()=>{const t=new window.MutationObserver(o);return t.observe(e.current,{childList:!0,subtree:!0}),()=>t.disconnect()},[t]),t}(c);return ys(c,t,a,n,o),a?Object(i.createElement)(p.Toolbar,Object(l.a)({label:r["aria-label"],ref:c},r),e):Object(i.createElement)(p.NavigableMenu,Object(l.a)({orientation:"horizontal",role:"toolbar",ref:c},r),e)};var Cs=Object(f.withSelect)((e,{clientIds:t})=>{var n;const{getBlock:o,getBlockIndex:r,getBlockListSettings:c,getTemplateLock:l,getBlockOrder:i,getBlockRootClientId:a}=e(Rn),s=Object(u.castArray)(t),d=Object(u.first)(s),b=o(d),p=a(Object(u.first)(s)),f=r(d,p),g=0===f,h=r(Object(u.last)(s),p)===i(p).length-1;return{blockType:b?Object(m.getBlockType)(b.name):null,isLocked:"all"===l(p),rootClientId:p,firstIndex:f,isFirst:g,isLast:h,orientation:null===(n=c(p))||void 0===n?void 0:n.orientation}})((function({isFirst:e,isLast:t,clientIds:n,isLocked:o,isHidden:r,rootClientId:c,orientation:a,hideDragHandle:u}){const[d,b]=Object(i.useState)(!1),m=()=>b(!0),f=()=>b(!1);if(o||e&&t&&!c)return null;const g=Object(j.__)("Drag");return Object(i.createElement)("div",{className:s()("block-editor-block-mover",{"is-visible":d||!r,"is-horizontal":"horizontal"===a})},!u&&Object(i.createElement)(vs,{clientIds:n,cloneClassname:"block-editor-block-mover__drag-clone"},e=>Object(i.createElement)(p.Button,Object(l.a)({icon:ka,className:"block-editor-block-mover__drag-handle","aria-hidden":"true",label:g,tabIndex:"-1"},e))),Object(i.createElement)(p.ToolbarGroup,{className:"block-editor-block-mover__move-button-container"},Object(i.createElement)(p.ToolbarItem,{onFocus:m,onBlur:f},e=>Object(i.createElement)(yi,Object(l.a)({clientIds:n},e))),Object(i.createElement)(p.ToolbarItem,{onFocus:m,onBlur:f},e=>Object(i.createElement)(Ei,Object(l.a)({clientIds:n},e)))))}));const{clearTimeout:Ss,setTimeout:ws}=window;function Bs({ref:e,isFocused:t,debounceTimeout:n=200,onChange:o=u.noop}){const[r,c]=Object(i.useState)(!1),l=Object(i.useRef)(),a=t=>{null!=e&&e.current&&c(t),o(t)},s=()=>{const n=(null==e?void 0:e.current)&&e.current.matches(":hover");return!t&&!n},d=()=>{const e=l.current;e&&Ss&&Ss(e)};return Object(i.useEffect)(()=>()=>d(),[]),{showMovers:r,debouncedShowMovers:e=>{e&&e.stopPropagation(),d(),r||a(!0)},debouncedHideMovers:e=>{e&&e.stopPropagation(),d(),l.current=ws(()=>{s()&&a(!1)},n)}}}function Is({ref:e,debounceTimeout:t=200,onChange:n=u.noop}){const[o,r]=Object(i.useState)(!1),{showMovers:c,debouncedShowMovers:l,debouncedHideMovers:a}=Bs({ref:e,debounceTimeout:t,isFocused:o,onChange:n}),s=Object(i.useRef)(!1),d=()=>(null==e?void 0:e.current)&&e.current.contains(e.current.ownerDocument.activeElement);return Object(i.useEffect)(()=>{const t=e.current,n=()=>{d()&&(r(!0),l())},o=()=>{d()||(r(!1),a())};return t&&!s.current&&(t.addEventListener("focus",n,!0),t.addEventListener("blur",o,!0),s.current=!0),()=>{t&&(t.removeEventListener("focus",n),t.removeEventListener("blur",o))}},[e,s,r,l,a]),{showMovers:c,gestures:{onMouseMove:l,onMouseLeave:a}}}function xs(){const{selectBlock:e,toggleBlockHighlight:t}=Object(f.useDispatch)(Rn),{firstParentClientId:n,shouldHide:o,hasReducedUI:r}=Object(f.useSelect)(e=>{const{getBlockName:t,getBlockParents:n,getSelectedBlockClientId:o,getSettings:r}=e(Rn),{hasBlockSupport:c}=e(m.store),l=n(o()),i=l[l.length-1],a=t(i),s=Object(m.getBlockType)(a),u=r();return{firstParentClientId:i,shouldHide:!c(s,"__experimentalParentSelector",!0),hasReducedUI:u.hasReducedUI}},[]),c=ql(n),a=Object(i.useRef)(),{gestures:s}=Is({ref:a,onChange(e){e&&r||t(n,e)}});return o||void 0===n?null:Object(i.createElement)("div",Object(l.a)({className:"block-editor-block-parent-selector",key:n,ref:a},s),Object(i.createElement)(p.ToolbarButton,{className:"block-editor-block-parent-selector__button",onClick:()=>e(n),label:Object(j.sprintf)(Object(j.__)("Select %s"),c.title),showTooltip:!0,icon:Object(i.createElement)(Fl,{icon:c.icon})}))}var Ts=Object(i.createElement)(Gn.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(Gn.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 Ns({blocks:e}){return Object(i.createElement)("div",{className:"block-editor-block-switcher__popover__preview__parent"},Object(i.createElement)("div",{className:"block-editor-block-switcher__popover__preview__container"},Object(i.createElement)(p.Popover,{className:"block-editor-block-switcher__preview__popover",position:"bottom right",focusOnMount:!1},Object(i.createElement)("div",{className:"block-editor-block-switcher__preview"},Object(i.createElement)("div",{className:"block-editor-block-switcher__preview-title"},Object(j.__)("Preview")),Object(i.createElement)(ha,{viewportWidth:500,blocks:e})))))}var Ps=({className:e,possibleBlockTransformations:t,onSelect:n,blocks:o})=>{const[r,c]=Object(i.useState)();return Object(i.createElement)(p.MenuGroup,{label:Object(j.__)("Transform to"),className:e},r&&Object(i.createElement)(Ns,{blocks:Object(m.switchToBlockType)(o,r)}),t.map(e=>{const{name:t,icon:o,title:r,isDisabled:l}=e;return Object(i.createElement)(p.MenuItem,{key:t,className:Object(m.getBlockMenuDefaultClassName)(t),onClick:e=>{e.preventDefault(),n(t)},disabled:l,onMouseLeave:()=>c(null),onMouseEnter:()=>c(t)},Object(i.createElement)(Fl,{icon:o,showColors:!0}),r)}))};const Ls={};function Rs({genericPreviewBlock:e,style:t,isActive:n,onBlur:o,onHover:r,onSelect:c,styleClassName:l,itemRole:a}){const u=Object(i.useMemo)(()=>({...e,attributes:{...e.attributes,className:l}}),[e,l]);return Object(i.createElement)("div",{key:t.name,className:s()("block-editor-block-styles__item",{"is-active":n}),onClick:()=>c(),onKeyDown:e=>{$r.ENTER!==e.keyCode&&$r.SPACE!==e.keyCode||(e.preventDefault(),c())},onMouseEnter:r,onMouseLeave:o,role:a||"button",tabIndex:"0","aria-label":t.label||t.name},Object(i.createElement)("div",{className:"block-editor-block-styles__item-preview"},Object(i.createElement)(ha,{viewportWidth:500,blocks:u})),Object(i.createElement)("div",{className:"block-editor-block-styles__item-label"},t.label||t.name))}var As=function({clientId:e,onSwitch:t=u.noop,onHoverClassName:n=u.noop,itemRole:o}){const{styles:r,block:c,type:l,className:a}=Object(f.useSelect)(t=>{const{getBlock:n}=t(Rn),o=n(e);if(!o)return Ls;const r=Object(m.getBlockType)(o.name),{getBlockStyles:c}=t(m.store);return{block:o,type:r,styles:c(o.name),className:o.attributes.className||""}},[e]),{updateBlockAttributes:s}=Object(f.useDispatch)(Rn),d=function(e,t){return Object(i.useMemo)(()=>{const n=null==t?void 0:t.example,o=null==t?void 0:t.name;return n&&o?Object(m.getBlockFromExample)(o,{attributes:n.attributes,innerBlocks:n.innerBlocks}):e?Object(m.cloneBlock)(e):void 0},[null!=t&&t.example?null==e?void 0:e.name:e,t])}(c,l);if(!r||0===r.length)return null;const b=Object(u.find)(r,"isDefault")?r:[{name:"default",label:Object(j._x)("Default","block style"),isDefault:!0},...r],p=function(e,t){for(const n of new sc.a(t).values()){if(-1===n.indexOf("is-style-"))continue;const t=n.substring(9),o=Object(u.find)(e,{name:t});if(o)return o}return Object(u.find)(e,"isDefault")}(b,a);return Object(i.createElement)("div",{className:"block-editor-block-styles"},b.map(r=>{const c=function(e,t,n){const o=new sc.a(e);return t&&o.remove("is-style-"+t.name),o.add("is-style-"+n.name),o.value}(a,p,r);return Object(i.createElement)(Rs,{genericPreviewBlock:d,className:a,isActive:p===r,key:r.name,onSelect:()=>{s(e,{className:c}),n(null),t()},onBlur:()=>n(null),onHover:()=>n(c),style:r,styleClassName:c,itemRole:o})}))};function Ms({hoveredBlock:e,onSwitch:t}){const{name:n,clientId:o}=e,[r,c]=Object(i.useState)(),l=Object(f.useSelect)(e=>e(m.store).getBlockType(n),[n]);return Object(i.createElement)(p.MenuGroup,{label:Object(j.__)("Styles"),className:"block-editor-block-switcher__styles__menugroup"},r&&Object(i.createElement)(Ns,{blocks:l.example?Object(m.getBlockFromExample)(l.name,{attributes:{...l.example.attributes,className:r},innerBlocks:l.example.innerBlocks}):Object(m.cloneBlock)(e,{className:r})}),Object(i.createElement)(As,{clientId:o,onSwitch:t,onHoverClassName:c,itemRole:"menuitem"}))}const Ds=(e,t,n=new Set)=>{const{clientId:o,name:r,innerBlocks:c=[]}=e;if(!n.has(o)){if(r===t)return e;for(const e of c){const o=Ds(e,t,n);if(o)return o}}},Fs=(e,t)=>{const n=((e,t)=>{const n=Object(m.__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 Vs=(e,t)=>Object(i.useMemo)(()=>e.reduce((e,n)=>{const o=((e,t)=>{const n=t.map(e=>Object(m.cloneBlock)(e)),o=new Set;for(const t of e){let e=!1;for(const r of n){const n=Ds(r,t.name,o);if(n){e=!0,o.add(n.clientId),Fs(n,t);break}}if(!e)return}return n})(t,n.blocks);return o&&e.push({...n,transformedBlocks:o}),e},[]),[e,t]);function Hs({patterns:e,onSelect:t}){return Object(i.createElement)("div",{className:"block-editor-block-switcher__popover__preview__parent"},Object(i.createElement)("div",{className:"block-editor-block-switcher__popover__preview__container"},Object(i.createElement)(p.Popover,{className:"block-editor-block-switcher__preview__popover",position:"bottom right"},Object(i.createElement)("div",{className:"block-editor-block-switcher__preview"},Object(i.createElement)("div",{className:"block-editor-block-switcher__preview-title"},Object(j.__)("Preview")),Object(i.createElement)(zs,{patterns:e,onSelect:t})))))}function zs({patterns:e,onSelect:t}){const n=Object(p.__unstableUseCompositeState)();return Object(i.createElement)(p.__unstableComposite,Object(l.a)({},n,{role:"listbox",className:"block-editor-block-switcher__preview-patterns-container","aria-label":Object(j.__)("Patterns list")}),e.map(e=>Object(i.createElement)(Gs,{key:e.name,pattern:e,onSelect:t,composite:n})))}function Gs({pattern:e,onSelect:t,composite:n}){const o="block-editor-block-switcher__preview-patterns-container",r=Object(d.useInstanceId)(Gs,o+"-list__item-description");return Object(i.createElement)("div",{className:o+"-list__list-item","aria-label":e.title,"aria-describedby":e.description?r:void 0},Object(i.createElement)(p.__unstableCompositeItem,Object(l.a)({role:"option",as:"div"},n,{className:o+"-list__item",onClick:()=>t(e.transformedBlocks)}),Object(i.createElement)(ha,{blocks:e.transformedBlocks,viewportWidth:e.viewportWidth||500}),Object(i.createElement)("div",{className:o+"-list__item-title"},e.title)),!!e.description&&Object(i.createElement)(p.VisuallyHidden,{id:r},e.description))}var Us=function({blocks:e,patterns:t,onSelect:n}){const[o,r]=Object(i.useState)(!1),c=Vs(t,e);return c.length?Object(i.createElement)(p.MenuGroup,{className:"block-editor-block-switcher__pattern__transforms__menugroup"},o&&Object(i.createElement)(Hs,{patterns:c,onSelect:n}),Object(i.createElement)(p.MenuItem,{onClick:e=>{e.preventDefault(),r(!o)},icon:fi.a},Object(j.__)("Patterns"))):null};const Ws=({clientIds:e,blocks:t})=>{const{replaceBlocks:n}=Object(f.useDispatch)(Rn),o=ql(t[0].clientId),{possibleBlockTransformations:r,hasBlockStyles:c,icon:l,blockTitle:a,patterns:s}=Object(f.useSelect)(n=>{const{getBlockRootClientId:r,getBlockTransformItems:c,__experimentalGetPatternTransformItems:l}=n(Rn),{getBlockStyles:i,getBlockType:a}=n(m.store),s=r(Object(u.castArray)(e)[0]),[{name:d}]=t,b=1===t.length,p=b&&i(d);let f;if(b)f=null==o?void 0:o.icon;else{var g;f=1===Object(u.uniq)(t.map(({name:e})=>e)).length?null===(g=a(d))||void 0===g?void 0:g.icon:Ts}return{possibleBlockTransformations:c(t,s),hasBlockStyles:!(null==p||!p.length),icon:f,blockTitle:a(d).title,patterns:l(t,s)}},[e,t,null==o?void 0:o.icon]),d=1===t.length&&Object(m.isReusableBlock)(t[0]),b=1===t.length&&Object(m.isTemplatePart)(t[0]),g=!!r.length,h=!(null==s||!s.length);if(!c&&!g)return Object(i.createElement)(p.ToolbarGroup,null,Object(i.createElement)(p.ToolbarButton,{disabled:!0,className:"block-editor-block-switcher__no-switcher-icon",title:a,icon:Object(i.createElement)(Fl,{icon:l,showColors:!0})}));const O=a,v=1===t.length?Object(j.sprintf)(Object(j.__)("%s: Change block type or style"),a):Object(j.sprintf)(Object(j._n)("Change type of %d block","Change type of %d blocks",t.length),t.length),k=c||g||h;return Object(i.createElement)(p.ToolbarGroup,null,Object(i.createElement)(p.ToolbarItem,null,o=>Object(i.createElement)(p.DropdownMenu,{className:"block-editor-block-switcher",label:O,popoverProps:{position:"bottom right",isAlternate:!0,className:"block-editor-block-switcher__popover"},icon:Object(i.createElement)(i.Fragment,null,Object(i.createElement)(Fl,{icon:l,className:"block-editor-block-switcher__toggle",showColors:!0}),(d||b)&&Object(i.createElement)("span",{className:"block-editor-block-switcher__toggle-text"},Object(i.createElement)($l,{clientId:e}))),toggleProps:{describedBy:v,...o},menuProps:{orientation:"both"}},({onClose:o})=>k&&Object(i.createElement)("div",{className:"block-editor-block-switcher__container"},h&&Object(i.createElement)(Us,{blocks:t,patterns:s,onSelect:t=>{(t=>{n(e,t)})(t),o()}}),g&&Object(i.createElement)(Ps,{className:"block-editor-block-switcher__transforms__menugroup",possibleBlockTransformations:r,blocks:t,onSelect:r=>{(o=>{n(e,Object(m.switchToBlockType)(t,o))})(r),o()}}),c&&Object(i.createElement)(Ms,{hoveredBlock:t[0],onSwitch:o})))))};var Ks=({clientIds:e})=>{const t=Object(f.useSelect)(t=>t(Rn).getBlocksByClientId(e),[e]);return!t.length||t.some(e=>!e)?null:Object(i.createElement)(Ws,{clientIds:e,blocks:t})},qs=n("xTGt");function $s(){const{getBlockName:e}=Object(f.useSelect)(Rn),{getBlockType:t}=Object(f.useSelect)(m.store),{createSuccessNotice:n}=Object(f.useDispatch)(Pa.store);return Object(i.useCallback)((o,r)=>{let c="";if(1===r.length){const n=r[0],{title:l}=t(e(n));c="copy"===o?Object(j.sprintf)(Object(j.__)('Copied "%s" to clipboard.'),l):Object(j.sprintf)(Object(j.__)('Moved "%s" to clipboard.'),l)}else c="copy"===o?Object(j.sprintf)(Object(j._n)("Copied %d block to clipboard.","Copied %d blocks to clipboard.",r.length),r.length):Object(j.sprintf)(Object(j._n)("Moved %d block to clipboard.","Moved %d blocks to clipboard.",r.length),r.length);n(c,{type:"snackbar"})},[])}function Ys(){const{getBlocksByClientId:e,getSelectedBlockClientIds:t,hasMultiSelection:n,getSettings:o}=Object(f.useSelect)(Rn),{flashBlock:r,removeBlocks:c,replaceBlocks:l}=Object(f.useDispatch)(Rn),i=$s();return Object(d.useRefEffect)(a=>{function s(s){const u=t();if(0!==u.length){if(!n()){const{target:e}=s,{ownerDocument:t}=e;if("copy"===s.type||"cut"===s.type?Object(si.documentHasUncollapsedSelection)(t):Object(si.documentHasSelection)(t))return}if(a.contains(s.target.ownerDocument.activeElement)){if(s.preventDefault(),"copy"===s.type||"cut"===s.type){1===u.length&&r(u[0]),i(s.type,u);const t=e(u),n=Object(m.serialize)(t);s.clipboardData.setData("text/plain",n),s.clipboardData.setData("text/html",n)}if("cut"===s.type)c(u);else if("paste"===s.type){const{__experimentalCanUserUseUnfilteredHTML:e}=o(),{plainText:t,html:n}=function({clipboardData:e}){let t="",n="";try{t=e.getData("text/plain"),n=e.getData("text/html")}catch(t){try{n=e.getData("Text")}catch(e){return}}const o=Object(si.getFilesFromDataTransfer)(e).filter(({type:e})=>/^image\/(?:jpe?g|png|gif)$/.test(e));return o.length&&!n&&(n=o.map(e=>`<img src="${Object(qs.createBlobURL)(e)}">`).join(""),t=""),{html:n,plainText:t}}(s),r=Object(m.pasteHandler)({HTML:n,plainText:t,mode:"BLOCKS",canUserUseUnfilteredHTML:e});l(u,r,r.length-1,-1)}}}}return a.ownerDocument.addEventListener("copy",s),a.ownerDocument.addEventListener("cut",s),a.ownerDocument.addEventListener("paste",s),()=>{a.ownerDocument.removeEventListener("copy",s),a.ownerDocument.removeEventListener("cut",s),a.ownerDocument.removeEventListener("paste",s)}},[])}var Xs=function({children:e}){return Object(i.createElement)("div",{ref:Ys()},e)};function Qs({clientIds:e,children:t,__experimentalUpdateSelection:n}){const{canInsertBlockType:o,getBlockRootClientId:r,getBlocksByClientId:c,getTemplateLock:l}=Object(f.useSelect)(e=>e(Rn),[]),{getDefaultBlockName:i,getGroupingBlockName:a}=Object(f.useSelect)(e=>e(m.store),[]),s=c(e),d=r(e[0]),b=Object(u.every)(s,e=>!!e&&Object(m.hasBlockSupport)(e.name,"multiple",!0)&&o(e.name,d)),p=o(i(),d),{removeBlocks:g,replaceBlocks:h,duplicateBlocks:O,insertAfterBlock:j,insertBeforeBlock:v,flashBlock:k,setBlockMovingClientId:_,setNavigationMode:y,selectBlock:E}=Object(f.useDispatch)(Rn),C=$s();return t({canDuplicate:b,canInsertDefaultBlock:p,isLocked:!!l(d),rootClientId:d,blocks:s,onDuplicate:()=>O(e,n),onRemove:()=>g(e,n),onInsertBefore(){v(Object(u.first)(Object(u.castArray)(e)))},onInsertAfter(){j(Object(u.last)(Object(u.castArray)(e)))},onMoveTo(){y(!0),E(e[0]),_(e[0])},onGroup(){if(!s.length)return;const t=a(),n=Object(m.switchToBlockType)(s,t);n&&h(e,n)},onUngroup(){if(!s.length)return;const t=s[0].innerBlocks;t.length&&h(e,t)},onCopy(){const e=s.map(({clientId:e})=>e);1===s.length&&k(e[0]),C("copy",e)}})}var Zs=Object(d.compose)([Object(f.withSelect)((e,{clientId:t})=>{const{getBlock:n,getBlockMode:o,getSettings:r}=e(Rn),c=n(t),l=r().codeEditingEnabled;return{mode:o(t),blockType:c?Object(m.getBlockType)(c.name):null,isCodeEditingEnabled:l}}),Object(f.withDispatch)((e,{onToggle:t=u.noop,clientId:n})=>({onToggleMode(){e(Rn).toggleBlockMode(n),t()}}))])((function({blockType:e,mode:t,onToggleMode:n,small:o=!1,isCodeEditingEnabled:r=!0}){if(!Object(m.hasBlockSupport)(e,"html",!0)||!r)return null;const c="visual"===t?Object(j.__)("Edit as HTML"):Object(j.__)("Edit visually");return Object(i.createElement)(p.MenuItem,{onClick:n},!o&&c)}));var Js=Object(d.compose)(Object(f.withSelect)((e,{clientId:t})=>{const n=e(Rn).getBlock(t);return{block:n,shouldRender:n&&"core/html"===n.name}}),Object(f.withDispatch)((e,{block:t})=>({onClick:()=>e(Rn).replaceBlocks(t.clientId,Object(m.rawHandler)({HTML:Object(m.getBlockContent)(t)}))})))((function({shouldRender:e,onClick:t,small:n}){if(!e)return null;const o=Object(j.__)("Convert to Blocks");return Object(i.createElement)(p.MenuItem,{onClick:t},!n&&o)}));const{Fill:eu,Slot:tu}=Object(p.createSlotFill)("__unstableBlockSettingsMenuFirstItem");eu.Slot=tu;var nu=eu;function ou({clientIds:e,isGroupable:t,isUngroupable:n,blocksSelection:o,groupingBlockName:r,onClose:c=(()=>{})}){const{replaceBlocks:l}=Object(f.useDispatch)(Rn);return t||n?Object(i.createElement)(i.Fragment,null,t&&Object(i.createElement)(p.MenuItem,{onClick:()=>{(()=>{const t=Object(m.switchToBlockType)(o,r);t&&l(e,t)})(),c()}},Object(j._x)("Group","verb")),n&&Object(i.createElement)(p.MenuItem,{onClick:()=>{(()=>{const t=o[0].innerBlocks;t.length&&l(e,t)})(),c()}},Object(j._x)("Ungroup","Ungrouping blocks from within a Group block back into individual blocks within the Editor "))):null}const{Fill:ru,Slot:cu}=Object(p.createSlotFill)("BlockSettingsMenuControls");function lu({...e}){return Object(i.createElement)(p.__experimentalStyleProvider,{document:document},Object(i.createElement)(ru,e))}lu.Slot=({fillProps:e,clientIds:t=null})=>{const n=Object(f.useSelect)(e=>{const{getBlocksByClientId:n,getSelectedBlockClientIds:o}=e(Rn),r=null!==t?t:o();return Object(u.map)(Object(u.compact)(n(r)),e=>e.name)},[t]),o=function(){const{clientIds:e,isGroupable:t,isUngroupable:n,blocksSelection:o,groupingBlockName:r}=Object(f.useSelect)(e=>{var t;const{getBlockRootClientId:n,getBlocksByClientId:o,canInsertBlockType:r,getSelectedBlockClientIds:c}=e(Rn),{getGroupingBlockName:l}=e(m.store),i=c(),a=l(),s=r(a,null!=i&&i.length?n(i[0]):void 0),u=o(i),d=1===u.length&&(null===(t=u[0])||void 0===t?void 0:t.name)===a;return{clientIds:i,isGroupable:s&&u.length&&!d,isUngroupable:d&&!!u[0].innerBlocks.length,blocksSelection:u,groupingBlockName:a}},[]);return{clientIds:e,isGroupable:t,isUngroupable:n,blocksSelection:o,groupingBlockName:r}}(),{isGroupable:r,isUngroupable:c}=o,a=r||c;return Object(i.createElement)(cu,{fillProps:{...e,selectedBlocks:n}},t=>{if((null==t?void 0:t.length)>0||a)return Object(i.createElement)(p.MenuGroup,null,t,Object(i.createElement)(ou,Object(l.a)({},o,{onClose:null==e?void 0:e.onClose})))})};var iu=lu;const au={className:"block-editor-block-settings-menu__popover",position:"bottom right",isAlternate:!0};function su({blocks:e,onCopy:t}){const n=Object(d.useCopyToClipboard)(()=>Object(m.serialize)(e),t);return Object(i.createElement)(p.MenuItem,{ref:n},Object(j.__)("Copy"))}var uu=function({clientIds:e,__experimentalSelectBlock:t,children:n,...o}){const r=Object(u.castArray)(e),c=r.length,a=r[0],s=Object(f.useSelect)(e=>{const{getShortcutRepresentation:t}=e(js.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")}},[]),d=Object(i.useCallback)(t?async e=>{const n=await e;n&&n[0]&&t(n[0])}:u.noop,[t]),b=1===c?Object(j.__)("Remove block"):Object(j.__)("Remove blocks");return Object(i.createElement)(Qs,{clientIds:e,__experimentalUpdateSelection:!t},({canDuplicate:t,canInsertDefaultBlock:r,isLocked:m,onDuplicate:f,onInsertAfter:g,onInsertBefore:h,onRemove:O,onCopy:v,onMoveTo:k,blocks:_})=>Object(i.createElement)(p.DropdownMenu,Object(l.a)({icon:ii.a,label:Object(j.__)("Options"),className:"block-editor-block-settings-menu",popoverProps:au,noIcons:!0},o),({onClose:o})=>Object(i.createElement)(i.Fragment,null,Object(i.createElement)(p.MenuGroup,null,Object(i.createElement)(nu.Slot,{fillProps:{onClose:o}}),1===c&&Object(i.createElement)(Js,{clientId:a}),Object(i.createElement)(su,{blocks:_,onCopy:v}),t&&Object(i.createElement)(p.MenuItem,{onClick:Object(u.flow)(o,f,d),shortcut:s.duplicate},Object(j.__)("Duplicate")),r&&Object(i.createElement)(i.Fragment,null,Object(i.createElement)(p.MenuItem,{onClick:Object(u.flow)(o,h),shortcut:s.insertBefore},Object(j.__)("Insert before")),Object(i.createElement)(p.MenuItem,{onClick:Object(u.flow)(o,g),shortcut:s.insertAfter},Object(j.__)("Insert after"))),!m&&Object(i.createElement)(p.MenuItem,{onClick:Object(u.flow)(o,k)},Object(j.__)("Move to")),1===c&&Object(i.createElement)(Zs,{clientId:a,onToggle:o})),Object(i.createElement)(iu.Slot,{fillProps:{onClose:o},clientIds:e}),"function"==typeof n?n({onClose:o}):i.Children.map(e=>Object(i.cloneElement)(e,{onClose:o})),Object(i.createElement)(p.MenuGroup,null,!m&&Object(i.createElement)(p.MenuItem,{onClick:Object(u.flow)(o,O,d),shortcut:s.remove},b)))))};var du=function({clientIds:e,...t}){return Object(i.createElement)(p.ToolbarGroup,null,Object(i.createElement)(p.ToolbarItem,null,n=>Object(i.createElement)(uu,Object(l.a)({clientIds:e,toggleProps:n},t))))};function bu({hideDragHandle:e}){const{blockClientIds:t,blockClientId:n,blockType:o,hasFixedToolbar:r,hasReducedUI:c,isValid:a,isVisual:u}=Object(f.useSelect)(e=>{const{getBlockName:t,getBlockMode:n,getSelectedBlockClientIds:o,isBlockValid:r,getBlockRootClientId:c,getSettings:l}=e(Rn),i=o(),a=i[0],s=c(a),u=l();return{blockClientIds:i,blockClientId:a,blockType:a&&Object(m.getBlockType)(t(a)),hasFixedToolbar:u.hasFixedToolbar,hasReducedUI:u.hasReducedUI,rootClientId:s,isValid:i.every(e=>r(e)),isVisual:i.every(e=>"visual"===n(e))}},[]),{toggleBlockHighlight:b}=Object(f.useDispatch)(Rn),g=Object(i.useRef)(),{showMovers:h,gestures:O}=Is({ref:g,onChange(e){e&&c||b(n,e)}}),j=Object(d.useViewportMatch)("medium","<")||r;if(o&&!Object(m.hasBlockSupport)(o,"__experimentalToolbar",!0))return null;const v=j||h;if(0===t.length)return null;const k=a&&u,_=t.length>1,y=s()("block-editor-block-toolbar",v&&"is-showing-movers");return Object(i.createElement)("div",{className:y},!_&&!j&&Object(i.createElement)(xs,{clientIds:t}),Object(i.createElement)("div",Object(l.a)({ref:g},O),(k||_)&&Object(i.createElement)(p.ToolbarGroup,{className:"block-editor-block-toolbar__block-controls"},Object(i.createElement)(Ks,{clientIds:t}),Object(i.createElement)(Cs,{clientIds:t,hideDragHandle:e||c}))),k&&Object(i.createElement)(i.Fragment,null,Object(i.createElement)(zn.Slot,{group:"block",className:"block-editor-block-toolbar__slot"}),Object(i.createElement)(zn.Slot,{className:"block-editor-block-toolbar__slot"}),Object(i.createElement)(zn.Slot,{group:"inline",className:"block-editor-block-toolbar__slot"}),Object(i.createElement)(zn.Slot,{group:"other",className:"block-editor-block-toolbar__slot"})),Object(i.createElement)(du,{clientIds:t}))}var mu=function({focusOnMount:e,isFixed:t,...n}){const{blockType:o,hasParents:r,showParentSelector:c}=Object(f.useSelect)(e=>{const{getBlockName:t,getBlockParents:n,getSelectedBlockClientIds:o}=e(Rn),{getBlockType:r}=e(m.store),c=o()[0],l=n(c),i=r(t(l[l.length-1]));return{blockType:c&&r(t(c)),hasParents:l.length,showParentSelector:Object(m.hasBlockSupport)(i,"__experimentalParentSelector",!0)}},[]);if(o&&!Object(m.hasBlockSupport)(o,"__experimentalToolbar",!0))return null;const a=s()("block-editor-block-contextual-toolbar",{"has-parent":r&&c,"is-fixed":t});return Object(i.createElement)(Es,Object(l.a)({focusOnMount:e,className:a,"aria-label":Object(j.__)("Block tools")},n),Object(i.createElement)(bu,{hideDragHandle:t}))};function pu(e){const{isNavigationMode:t,isMultiSelecting:n,hasMultiSelection:o,isTyping:r,isCaretWithinFormattedText:c,getSettings:l,getLastMultiSelectedBlockClientId:i}=e(Rn);return{isNavigationMode:t(),isMultiSelecting:n(),isTyping:r(),isCaretWithinFormattedText:c(),hasMultiSelection:o(),hasFixedToolbar:l().hasFixedToolbar,lastClientId:i()}}function fu({clientId:e,rootClientId:t,isValid:n,isEmptyDefaultBlock:o,capturingClientId:r,__unstablePopoverSlot:c,__unstableContentRef:l}){const{isNavigationMode:a,isMultiSelecting:u,isTyping:b,isCaretWithinFormattedText:m,hasMultiSelection:g,hasFixedToolbar:h,lastClientId:O}=Object(f.useSelect)(pu,[]),j=Object(d.useViewportMatch)("medium"),[v,k]=Object(i.useState)(!1),[_,y]=Object(i.useState)(!1),{stopTyping:E}=Object(f.useDispatch)(Rn),C=!b&&!a&&o&&n,S=a,w=!a&&!h&&j&&!C&&!u&&(!b||m),B=!(a||w||h||o);Object(js.useShortcut)("core/block-editor/focus-toolbar",Object(i.useCallback)(()=>{k(!0),E(!0)},[]),{bindGlobal:!0,eventName:"keydown",isDisabled:!B}),Object(i.useEffect)(()=>{w||k(!1)},[w]);const I=Object(i.useRef)(),x=kr(e),T=kr(O),N=kr(r),P=bs(l);if(!(S||w||v||C))return null;let L=x;if(!L)return null;r&&(L=N);let R=L;if(g){if(!T)return null;R={top:L,bottom:T}}const A=C?"top left right":"top right left",{ownerDocument:M}=L,D=C?void 0:M.defaultView.frameElement||Object(si.getScrollContainer)(L)||M.body;return Object(i.createElement)(p.Popover,{ref:P,noArrow:!0,animate:!1,position:A,focusOnMount:!1,anchorRef:R,className:"block-editor-block-list__block-popover",__unstableStickyBoundaryElement:D,__unstableSlotName:c||null,__unstableBoundaryParent:!0,__unstableObserveElement:L,shouldAnchorIncludePadding:!0},(w||v)&&Object(i.createElement)("div",{onFocus:function(){y(!0)},onBlur:function(){y(!1)},tabIndex:-1,className:s()("block-editor-block-list__block-popover-inserter",{"is-visible":_})},Object(i.createElement)(os,{clientId:e,rootClientId:t,__experimentalIsQuick:!0})),(w||v)&&Object(i.createElement)(mu,{focusOnMount:v,__experimentalInitialIndex:I.current,__experimentalOnIndexChange:e=>{I.current=e},key:e}),S&&Object(i.createElement)(ks,{clientId:e,rootClientId:t,blockElement:L}),C&&Object(i.createElement)("div",{className:"block-editor-block-list__empty-block-inserter"},Object(i.createElement)(os,{position:"bottom right",rootClientId:t,clientId:e,__experimentalIsQuick:!0})))}function gu(e){const{getSelectedBlockClientId:t,getFirstMultiSelectedBlockClientId:n,getBlockRootClientId:o,__unstableGetBlockWithoutInnerBlocks:r,getBlockParents:c,__experimentalGetBlockListSettingsForBlocks:l}=e(Rn),i=t()||n();if(!i)return;const{name:a,attributes:s={},isValid:d}=r(i)||{},b=c(i),p=l(b),f=Object(u.find)(b,e=>{var t;return null===(t=p[e])||void 0===t?void 0:t.__experimentalCaptureToolbars});return{clientId:i,rootClientId:o(i),name:a,isValid:d,isEmptyDefaultBlock:a&&Object(m.isUnmodifiedDefaultBlock)({name:a,attributes:s}),capturingClientId:f}}function hu({__unstablePopoverSlot:e,__unstableContentRef:t}){const n=Object(f.useSelect)(gu,[]);if(!n)return null;const{clientId:o,rootClientId:r,name:c,isValid:l,isEmptyDefaultBlock:a,capturingClientId:s}=n;return c?Object(i.createElement)(fu,{clientId:o,rootClientId:r,isValid:l,isEmptyDefaultBlock:a,capturingClientId:s,__unstablePopoverSlot:e,__unstableContentRef:t}):null}function Ou({children:e}){const t=Object(i.useContext)(ms),n=Object(i.useContext)(p.Disabled.Context);return t||n?e:(wt()('wp.components.Popover.Slot name="block-toolbar"',{alternative:"wp.blockEditor.BlockTools"}),Object(i.createElement)(fs,{__unstablePopoverSlot:"block-toolbar"},Object(i.createElement)(hu,{__unstablePopoverSlot:"block-toolbar"}),e))}function ju(){const{hasSelectedBlock:e,hasMultiSelection:t}=Object(f.useSelect)(Rn),{clearSelectedBlock:n}=Object(f.useDispatch)(Rn);return Object(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 vu(e){return Object(i.createElement)("div",Object(l.a)({ref:ju()},e))}const ku=Object(i.createContext)();function _u({className:e,children:t}){const n=Object(d.useViewportMatch)("medium"),{isTyping:o,isOutlineMode:r,isFocusMode:c,isNavigationMode:l}=Object(f.useSelect)(e=>{const{isTyping:t,getSettings:n,isNavigationMode:o}=e(Rn),{outlineMode:r,focusMode:c}=n();return{isTyping:t(),isOutlineMode:r,isFocusMode:c,isNavigationMode:o()}},[]);return Object(i.createElement)("div",{ref:Object(d.useMergeRefs)([ju(),ds(),gs()]),className:s()("block-editor-block-list__layout is-root-container",e,{"is-typing":o,"is-outline-mode":r,"is-focus-mode":c&&n,"is-navigate-mode":l})},t)}function yu({className:e,__experimentalLayout:t}){return function(){const e=Object(f.useSelect)(e=>e(Rn).getSettings().__experimentalBlockPatterns,[]);Object(i.useEffect)(()=>{if(null==e||!e.length)return;let t,n=-1;const o=()=>{n++,n>=e.length||(Object(f.select)(Rn).__experimentalGetParsedPattern(e[n].name),t=hs(o))};return t=hs(o),()=>Os(t)},[e])}(),Object(i.createElement)(Ou,null,Object(i.createElement)(_u,{className:e},Object(i.createElement)(Cu,{__experimentalLayout:t})))}function Eu({placeholder:e,rootClientId:t,renderAppender:n,__experimentalAppenderTagName:o,__experimentalLayout:r=Yn}){const[c,l]=Object(i.useState)(new Set),a=Object(i.useMemo)(()=>{const{IntersectionObserver:e}=window;if(e)return new e(e=>{l(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})})},[l]),{order:s,selectedBlocks:u}=Object(f.useSelect)(e=>{const{getBlockOrder:n,getSelectedBlockClientIds:o}=e(Rn);return{order:n(t),selectedBlocks:o()}},[t]);return Object(i.createElement)(Zn,{value:r},Object(i.createElement)(ku.Provider,{value:a},s.map(e=>Object(i.createElement)(f.AsyncModeProvider,{key:e,value:!c.has(e)&&!u.includes(e)},Object(i.createElement)(Nu,{rootClientId:t,clientId:e})))),s.length<1&&e,Object(i.createElement)(is,{tagName:o,rootClientId:t,renderAppender:n}))}function Cu(e){return Object(i.createElement)(f.AsyncModeProvider,{value:!1},Object(i.createElement)(Eu,e))}function Su(){const e=Object(i.useContext)(ku);return Object(d.useRefEffect)(t=>{if(e)return e.observe(t),()=>{e.unobserve(t)}},[e])}function wu(e={},{__unstableIsHtml:t}={}){const{clientId:n,className:o,wrapperProps:r={},isAligned:c}=Object(i.useContext)(Bu),{index:l,mode:a,name:u,blockTitle:b,isPartOfSelection:p,adjustScrolling:g,enableAnimation:h}=Object(f.useSelect)(e=>{const{getBlockRootClientId:t,getBlockIndex:o,getBlockMode:r,getBlockName:c,isTyping:l,getGlobalBlockCount:i,isBlockSelected:a,isBlockMultiSelected:s,isAncestorMultiSelected:u,isFirstMultiSelectedBlock:d}=e(Rn),b=a(n),p=s(n)||u(n),f=c(n),g=t(n);return{index:o(n,g),mode:r(n),name:f,blockTitle:Object(m.getBlockType)(f).title,isPartOfSelection:b||p,adjustScrolling:b||d(n),enableAnimation:!l()&&i()<=200}},[n]),O=Object(j.sprintf)(Object(j.__)("Block: %s"),b),v="html"!==a||t?"":"-visual",k=Object(d.useMergeRefs)([e.ref,Gi(n),ta(n),jr(n),Xi(n),oa(n),Qi(n),Zi(n),Wi(),Su(),bi({isSelected:p,adjustScrolling:g,enableAnimation:h,triggerAnimationOnChange:l})]);return{...r,...e,ref:k,id:`block-${n}${v}`,tabIndex:0,role:"group","aria-label":O,"data-block":n,"data-type":u,"data-title":b,className:s()(s()("block-editor-block-list__block",{"wp-block":!c}),o,e.className,r.className,Ki(n),qi(n),$i(n),Yi(n)),style:{...r.style,...e.style}}}wu.save=m.__unstableGetBlockProps;const Bu=Object(i.createContext)();function Iu({children:e,isHtml:t,...n}){return Object(i.createElement)("div",wu(n,{__unstableIsHtml:t}),e)}const xu=Object(f.withSelect)((e,{clientId:t,rootClientId:n})=>{const{isBlockSelected:o,getBlockMode:r,isSelectionEnabled:c,getTemplateLock:l,__unstableGetBlockWithoutInnerBlocks:i}=e(Rn),a=i(t),s=o(t),u=l(n),{name:d,attributes:b,isValid:m}=a||{};return{mode:r(t),isSelectionEnabled:c(),isLocked:!!u,block:a,name:d,attributes:b,isValid:m,isSelected:s}}),Tu=Object(f.withDispatch)((e,t,{select:n})=>{const{updateBlockAttributes:o,insertBlocks:r,mergeBlocks:c,replaceBlocks:l,toggleSelection:i,__unstableMarkLastChangeAsPersistent:a}=e(Rn);return{setAttributes(e){const{getMultiSelectedBlockClientIds:r}=n(Rn),c=r(),{clientId:l}=t,i=c.length?c:[l];o(i,e)},onInsertBlocks(e,n){const{rootClientId:o}=t;r(e,n,o)},onInsertBlocksAfter(e){const{clientId:o,rootClientId:c}=t,{getBlockIndex:l}=n(Rn),i=l(o,c);r(e,i+1,c)},onMerge(e){const{clientId:o}=t,{getPreviousBlockClientId:r,getNextBlockClientId:l}=n(Rn);if(e){const e=l(o);e&&c(o,e)}else{const e=r(o);e&&c(e,o)}},onReplace(e,n,o){e.length&&!Object(m.isUnmodifiedDefaultBlock)(e[e.length-1])&&a(),l([t.clientId],e,n,o)},toggleSelection(e){i(e)}}});var Nu=Object(d.compose)(d.pure,xu,Tu,Object(d.ifCondition)(({block:e})=>!!e),Object(p.withFilters)("editor.BlockListBlock"))((function({mode:e,isLocked:t,clientId:n,isSelected:o,isSelectionEnabled:r,className:c,name:l,isValid:a,attributes:d,wrapperProps:b,setAttributes:p,onReplace:g,onInsertBlocksAfter:h,onMerge:O,toggleSelection:j}){const{removeBlock:v}=Object(f.useDispatch)(Rn),k=Object(i.useCallback)(()=>v(n),[n]);let _=Object(i.createElement)(ci,{name:l,isSelected:o,attributes:d,setAttributes:p,insertBlocksAfter:t?void 0:h,onReplace:t?void 0:g,onRemove:t?void 0:k,mergeBlocks:t?void 0:O,clientId:n,isSelectionEnabled:r,toggleSelection:j});const y=Object(m.getBlockType)(l),E=y.apiVersion>1||Object(m.hasBlockSupport)(y,"lightBlockWrapper",!1);y.getEditWrapperProps&&(b=function(e,t){const n={...e,...t};return e&&t&&e.className&&t.className&&(n.className=s()(e.className,t.className)),e&&t&&e.style&&t.style&&(n.style={...e.style,...t.style}),n}(b,y.getEditWrapperProps(d)));const C=b&&!!b["data-align"];let S;C&&(_=Object(i.createElement)("div",{className:"wp-block","data-align":b["data-align"]},_)),S=a?"html"===e?Object(i.createElement)(i.Fragment,null,Object(i.createElement)("div",{style:{display:"none"}},_),Object(i.createElement)(Iu,{isHtml:!0},Object(i.createElement)(Vi,{clientId:n}))):E?_:Object(i.createElement)(Iu,b,_):Object(i.createElement)(Iu,{className:"has-warning"},Object(i.createElement)(Pi,{clientId:n}),Object(i.createElement)("div",null,Object(m.getSaveElement)(y,d)));const w={clientId:n,className:c,wrapperProps:Object(u.omit)(b,["data-align"]),isAligned:C},B=Object(i.useMemo)(()=>w,Object.values(w));return Object(i.createElement)(Bu.Provider,{value:B},Object(i.createElement)(Mi,{fallback:Object(i.createElement)(Iu,{className:"has-warning"},Object(i.createElement)(Ri,null))},S))}));const Pu=(e,t,n)=>Object(j.sprintf)(Object(j.__)("Block %1$d of %2$d, Level %3$d"),e,t,n),Lu=(e,t)=>Object(u.isArray)(t)&&t.length?-1!==t.indexOf(e):t===e;var Ru=Object(i.forwardRef)((function e({className:t,block:{clientId:n},isSelected:o,onClick:r,position:c,siblingBlockCount:l,level:a,tabIndex:u,onFocus:b,onDragStart:m,onDragEnd:f,draggable:g},h){const O=ql(n),v="block-navigation-block-select-button__"+Object(d.useInstanceId)(e),k=Pu(c,l,a);return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(p.Button,{className:s()("block-editor-block-navigation-block-select-button",t),onClick:r,"aria-describedby":v,ref:h,tabIndex:u,onFocus:b,onDragStart:m,onDragEnd:f,draggable:g},Object(i.createElement)(Fl,{icon:null==O?void 0:O.icon,showColors:!0}),Object(i.createElement)($l,{clientId:n}),(null==O?void 0:O.anchor)&&Object(i.createElement)("span",{className:"block-editor-block-navigation-block-select-button__anchor"},O.anchor),o&&Object(i.createElement)(p.VisuallyHidden,null,Object(j.__)("(selected block)"))),Object(i.createElement)("div",{className:"block-editor-block-navigation-block-select-button__description",id:v},k))}));const Au=e=>"BlockNavigationBlock-"+e;var Mu=Object(i.forwardRef)((function e(t,n){const{clientId:o}=t.block,{name:r}=Object(f.useSelect)(e=>e(Rn).getBlockName(o),[o]),c=Object(d.useInstanceId)(e);return Object(i.createElement)(p.Slot,{name:Au(o)},e=>{if(!e.length)return Object(i.createElement)(Ru,Object(l.a)({ref:n},t));const{className:o,isSelected:a,position:u,siblingBlockCount:d,level:b,tabIndex:f,onFocus:g}=t,h=Object(m.getBlockType)(r),O="block-navigation-block-slot__"+c,v=Pu(u,d,b),k={tabIndex:f,onFocus:g,ref:n,"aria-describedby":O};return Object(i.createElement)(i.Fragment,null,Object(i.createElement)("div",{className:s()("block-editor-block-navigation-block-slot",o)},Object(i.createElement)(Fl,{icon:h.icon,showColors:!0}),i.Children.map(e,e=>Object(i.cloneElement)(e,{...e.props,...k})),a&&Object(i.createElement)(p.VisuallyHidden,null,Object(j.__)("(selected block)")),Object(i.createElement)("div",{className:"block-editor-block-navigation-block-slot__description",id:O},v)))})}));const Du=e=>{const{clientId:t}=Object(i.useContext)(Bu);return Object(i.createElement)(p.Fill,Object(l.a)({},e,{name:Au(t)}))};var Fu=Object(i.forwardRef)(({onClick:e,block:t,isSelected:n,position:o,siblingBlockCount:r,level:c,...a},u)=>{const{__experimentalFeatures:d,blockDropTarget:b={}}=Si(),{clientId:m}=t,{rootClientId:p,blockMovingClientId:g,selectedBlockInBlockEditor:h}=Object(f.useSelect)(e=>{const{getBlockRootClientId:t,hasBlockMovingClientId:n,getSelectedBlockClientId:o}=e(Rn);return{rootClientId:t(m)||"",blockMovingClientId:n(),selectedBlockInBlockEditor:o()}},[m]),O=g&&h===m,{rootClientId:j,clientId:v,dropPosition:k}=b,_=j===p&&v===m&&"top"===k,y=j===p&&v===m&&"bottom"===k,E=j===m&&"inside"===k,C=s()("block-editor-block-navigation-block-contents",{"is-dropping-before":_||O,"is-dropping-after":y,"is-dropping-to-inner-blocks":E});return Object(i.createElement)(vs,{clientIds:[t.clientId],elementId:"block-navigation-block-"+t.clientId},({draggable:s,onDragStart:b,onDragEnd:m})=>d?Object(i.createElement)(Mu,Object(l.a)({ref:u,className:C,block:t,onClick:e,isSelected:n,position:o,siblingBlockCount:r,level:c,draggable:s&&d,onDragStart:b,onDragEnd:m},a)):Object(i.createElement)(Ru,Object(l.a)({ref:u,className:C,block:t,onClick:e,isSelected:n,position:o,siblingBlockCount:r,level:c,draggable:s&&d,onDragStart:b,onDragEnd:m},a)))});function Vu({block:e,isSelected:t,isBranchSelected:n,isLastOfSelectedBranch:o,onClick:r,position:c,level:l,rowCount:a,siblingBlockCount:u,showBlockMovers:d,path:b}){const m=Object(i.useRef)(null),[g,h]=Object(i.useState)(!1),{clientId:O}=e,{isDragging:v,blockParents:k}=Object(f.useSelect)(e=>{const{isBlockBeingDragged:t,isAncestorBeingDragged:n,getBlockParents:o}=e(Rn);return{isDragging:t(O)||n(O),blockParents:o(O)}},[O]),{selectBlock:_,toggleBlockHighlight:y}=Object(f.useDispatch)(Rn),E=d&&u>0,C=s()("block-editor-block-navigation-block__mover-cell",{"is-visible":g}),{__experimentalFeatures:S,__experimentalPersistentListViewFeatures:w,isTreeGridMounted:B}=Si(),I=s()("block-editor-block-navigation-block__menu-cell",{"is-visible":g});Object(i.useEffect)(()=>{w&&!B&&t&&m.current.focus()},[]),Object(i.useEffect)(()=>{S&&t&&m.current.focus()},[S,t]);const x=w?y:()=>{},T=()=>{h(!0),x(O,!0)},N=()=>{h(!1),x(O,!1)},P=s()({"is-selected":t,"is-branch-selected":w&&n,"is-last-of-selected-branch":w&&o,"is-dragging":v});return Object(i.createElement)(pi,{className:P,onMouseEnter:T,onMouseLeave:N,onFocus:T,onBlur:N,level:l,position:c,rowCount:a,path:b,id:"block-navigation-block-"+O,"data-block":O},Object(i.createElement)(p.__experimentalTreeGridCell,{className:"block-editor-block-navigation-block__contents-cell",colSpan:E?void 0:2,ref:m},({ref:n,tabIndex:o,onFocus:a})=>Object(i.createElement)("div",{className:"block-editor-block-navigation-block__contents-container"},Object(i.createElement)(Fu,{block:e,onClick:()=>r(e.clientId),isSelected:t,position:c,siblingBlockCount:u,level:l,ref:n,tabIndex:o,onFocus:a}))),E&&Object(i.createElement)(i.Fragment,null,Object(i.createElement)(p.__experimentalTreeGridCell,{className:C,withoutGridItem:!0},Object(i.createElement)(p.__experimentalTreeGridItem,null,({ref:e,tabIndex:t,onFocus:n})=>Object(i.createElement)(yi,{orientation:"vertical",clientIds:[O],ref:e,tabIndex:t,onFocus:n})),Object(i.createElement)(p.__experimentalTreeGridItem,null,({ref:e,tabIndex:t,onFocus:n})=>Object(i.createElement)(Ei,{orientation:"vertical",clientIds:[O],ref:e,tabIndex:t,onFocus:n})))),S&&Object(i.createElement)(p.__experimentalTreeGridCell,{className:I},({ref:e,tabIndex:t,onFocus:n})=>Object(i.createElement)(uu,{clientIds:[O],icon:ii.a,toggleProps:{ref:e,tabIndex:t,onFocus:n},disableOpenOnArrowDown:!0,__experimentalSelectBlock:r},({onClose:e})=>Object(i.createElement)(p.MenuGroup,null,Object(i.createElement)(p.MenuItem,{onClick:async()=>{if(k.length)for(const e of k)await _(e);else await _(null);await _(O),e()}},Object(j.__)("Go to block"))))))}function Hu({parentBlockClientId:e,position:t,level:n,rowCount:o,path:r}){const c=Object(f.useSelect)(t=>{const{isBlockBeingDragged:n,isAncestorBeingDragged:o}=t(Rn);return n(e)||o(e)},[e]),l="block-navigation-appender-row__description_"+Object(d.useInstanceId)(Hu),a=Object(j.sprintf)(Object(j.__)("Add block at position %1$d, Level %2$d"),t,n);return Object(i.createElement)(pi,{className:s()({"is-dragging":c}),level:n,position:t,rowCount:o,path:r},Object(i.createElement)(p.__experimentalTreeGridCell,{className:"block-editor-block-navigation-appender__cell",colSpan:"3"},({ref:t,tabIndex:n,onFocus:o})=>Object(i.createElement)("div",{className:"block-editor-block-navigation-appender__container"},Object(i.createElement)(os,{rootClientId:e,__experimentalIsQuick:!0,"aria-describedby":l,toggleProps:{ref:t,tabIndex:n,onFocus:o}}),Object(i.createElement)("div",{className:"block-editor-block-navigation-appender__description",id:l},a))))}function zu(e){const{blocks:t,selectBlock:n,selectedBlockClientIds:o,showAppender:r,showBlockMovers:c,showNestedBlocks:l,parentBlockClientId:a,level:s=1,terminatedLevels:d=[],path:b=[],isBranchSelected:m=!1,isLastOfBranch:p=!1}=e,f=!a,g=Object(u.compact)(t),h=e=>r&&!f&&Lu(e,o),O=h(a),j=g.length,v=O?j+1:j,k=v;return Object(i.createElement)(i.Fragment,null,Object(u.map)(g,(e,t)=>{const{clientId:a,innerBlocks:u}=e,f=t+1,g=v===f?[...d,s]:d,O=[...b,f],k=l&&!!u&&!!u.length,_=h(a),y=k||_,E=Lu(a,o),C=m||E&&y,S=t===j-1,w=E||p&&S,B=p&&!y&&S;return Object(i.createElement)(i.Fragment,{key:a},Object(i.createElement)(Vu,{block:e,onClick:n,isSelected:E,isBranchSelected:C,isLastOfSelectedBranch:B,level:s,position:f,rowCount:v,siblingBlockCount:j,showBlockMovers:c,terminatedLevels:d,path:O}),y&&Object(i.createElement)(zu,{blocks:u,selectedBlockClientIds:o,selectBlock:n,isBranchSelected:C,isLastOfBranch:w,showAppender:r,showBlockMovers:c,showNestedBlocks:l,parentBlockClientId:a,level:s+1,terminatedLevels:g,path:O}))}),O&&Object(i.createElement)(Hu,{parentBlockClientId:a,position:v,rowCount:k,level:s,terminatedLevels:d,path:[...b,k]}))}zu.defaultProps={selectBlock:()=>{}};function Gu(e,t,n){const o=(e=>Object(f.useSelect)(t=>{const{getSelectedBlockClientId:n,getSelectedBlockClientIds:o}=t(Rn);return e?o():n()},[e]))(n);return{clientIdsTree:((e,t,n)=>Object(f.useSelect)(o=>{const{getBlockHierarchyRootClientId:r,__unstableGetClientIdsTree:c,__unstableGetClientIdWithClientIdsTree:l}=o(Rn);if(e)return e;const i=t&&!Array.isArray(t);if(!n||!i)return c();const a=l(r(t));if(!a)return c();return!Lu(a.clientId,t)||a.innerBlocks&&0!==a.innerBlocks.length?[a]:c()},[e,t,n]))(e,o,t),selectedClientIds:o}}function Uu(e,t){return t.left<=e.x&&t.right>=e.x&&t.top<=e.y&&t.bottom>=e.y}const Wu=["top","bottom"];function Ku(){const{getBlockRootClientId:e,getBlockIndex:t,getBlockCount:n,getDraggedBlockClientIds:o,canInsertBlocks:r}=Object(f.useSelect)(Rn),[c,l]=Object(i.useState)(),{rootClientId:a,blockIndex:s}=c||{},u=ss(a,s),b=Object(d.useThrottle)(Object(i.useCallback)((c,i)=>{const a={x:c.clientX,y:c.clientY},s=!!c.dataTransfer.getData("wp-blocks"),u=s?o():void 0,d=function(e,t){let n,o,r,c;for(const l of e){if(l.isDraggedBlock)continue;const i=l.element.getBoundingClientRect(),[a,s]=us(t,i,Wu),u=Uu(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(i.querySelectorAll("[data-block]")).map(o=>{const c=o.dataset.block,l=e(c);return{clientId:c,rootClientId:l,blockIndex:t(c,l),element:o,isDraggedBlock:!!s&&u.includes(c),innerBlockCount:n(c),canInsertDraggedBlocksAsSibling:!s||r(u,l),canInsertDraggedBlocksAsChild:!s||r(u,c)}}),a);d&&l(d)},[]),200);return{ref:Object(d.__experimentalUseDropZone)({onDrop:u,onDragOver(e){b(e,e.currentTarget)},onDragEnd(){b.cancel(),l(null)}}),target:c}}const qu=()=>{};function $u({blocks:e,showOnlyCurrentHierarchy:t,onSelect:n=qu,__experimentalFeatures:o,__experimentalPersistentListViewFeatures:r,...c}){const{clientIdsTree:a,selectedClientIds:s}=Gu(e,t,r),{selectBlock:u}=Object(f.useDispatch)(Rn),d=Object(i.useCallback)(e=>{u(e),n(e)},[u,n]);let{ref:b,target:m}=Ku();const g=Object(i.useRef)(!1);Object(i.useEffect)(()=>{g.current=!0},[]),o||(m=void 0);const h=Object(i.useMemo)(()=>({__experimentalFeatures:o,__experimentalPersistentListViewFeatures:r,blockDropTarget:m,isTreeGridMounted:g.current}),[o,r,m,g.current]);return Object(i.createElement)(p.__experimentalTreeGrid,{className:"block-editor-block-navigation-tree","aria-label":Object(j.__)("Block navigation structure"),ref:b},Object(i.createElement)(Ci.Provider,{value:h},Object(i.createElement)(zu,Object(l.a)({blocks:a,selectBlock:d,selectedBlockClientIds:s},c))))}function Yu({isEnabled:e,onToggle:t,isOpen:n,innerRef:o,...r}){return Object(i.createElement)(p.Button,Object(l.a)({},r,{ref:o,icon:li.a,"aria-expanded":n,"aria-haspopup":"true",onClick:e?t:void 0,label:Object(j.__)("List view"),className:"block-editor-block-navigation","aria-disabled":!e}))}var Xu=Object(i.forwardRef)((function({isDisabled:e,__experimentalFeatures:t,...n},o){const r=Object(f.useSelect)(e=>!!e(Rn).getBlockCount(),[])&&!e;return Object(i.createElement)(p.Dropdown,{contentClassName:"block-editor-block-navigation__popover",position:"bottom right",renderToggle:({isOpen:e,onToggle:t})=>Object(i.createElement)(Yu,Object(l.a)({},n,{innerRef:o,isOpen:e,onToggle:t,isEnabled:r})),renderContent:()=>Object(i.createElement)("div",{className:"block-editor-block-navigation__container"},Object(i.createElement)("p",{className:"block-editor-block-navigation__label"},Object(j.__)("List view")),Object(i.createElement)($u,{showNestedBlocks:!0,showOnlyCurrentHierarchy:!0,__experimentalFeatures:t}))})}));const Qu=[$r.rawShortcut.primary("z"),$r.rawShortcut.primaryShift("z"),$r.rawShortcut.primary("y")],Zu=Object(i.createElement)(p.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(u.fromPairs)(Qu.map(e=>[e,e=>e.preventDefault()]))}),Ju=()=>Zu,ed={position:"bottom right",isAlternate:!0};var td=()=>Object(i.createElement)(i.Fragment,null,["bold","italic","link","text-color"].map(e=>Object(i.createElement)(p.Slot,{name:"RichText.ToolbarControls."+e,key:e})),Object(i.createElement)(p.Slot,{name:"RichText.ToolbarControls"},e=>0!==e.length&&Object(i.createElement)(p.ToolbarItem,null,t=>Object(i.createElement)(p.DropdownMenu,{icon:Oi.a,label:Object(j.__)("More"),toggleProps:t,controls:Object(u.orderBy)(e.map(([{props:e}])=>e),"title"),popoverProps:ed}))));var nd=({inline:e,anchorRef:t})=>e?Object(i.createElement)(p.Popover,{noArrow:!0,position:"top center",focusOnMount:!1,anchorRef:t,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)(p.ToolbarGroup,null,Object(i.createElement)(td,null)))):Object(i.createElement)(zn,{group:"inline"},Object(i.createElement)(td,null));function od(){const{didAutomaticChange:e,getSettings:t}=Object(f.useSelect)(Rn);return Object(d.useRefEffect)(n=>{function o(n){const{keyCode:o}=n;o!==$r.DELETE&&o!==$r.BACKSPACE&&o!==$r.ESCAPE||e()&&(n.preventDefault(),t().__experimentalUndo())}return n.addEventListener("keydown",o),()=>{n.removeEventListener("keydown",o)}},[])}function rd(e){return e.filter(({type:e})=>/^image\/(?:jpe?g|png|gif)$/.test(e)).map(e=>`<img src="${Object(qs.createBlobURL)(e)}">`).join("")}var cd=n("SVSp");function ld(e,t){if(t.length){let n=e.formats.length;for(;n--;)e.formats[n]=[...t,...e.formats[n]||[]]}}function id(e){if(!0===e||"p"===e||"li"===e)return!0===e?"p":e}function ad({allowedFormats:e,formattingControls:t,disableFormats:n}){return n?ad.EMPTY_ARRAY:e||t?e||(wt()("wp.blockEditor.RichText formattingControls prop",{since:"5.4",alternative:"allowedFormats"}),t.map(e=>"core/"+e)):void 0}ad.EMPTY_ARRAY=[];function sd({value:e,pastedBlocks:t=[],onReplace:n,onSplit:o,onSplitMiddle:r,multilineTag:l}){if(!n||!o)return;const i=[],[a,s]=Object(c.split)(e),u=t.length>0;let d=-1;const b=Object(c.isEmpty)(a)&&!Object(c.isEmpty)(s);u&&Object(c.isEmpty)(a)||(i.push(o(Object(c.toHTMLString)({value:a,multilineTag:l}),!b)),d+=1),u?(i.push(...t),d+=t.length):r&&i.push(r()),(u||r)&&Object(c.isEmpty)(s)||i.push(o(Object(c.toHTMLString)({value:s,multilineTag:l}),b));n(i,u?d:1,u?-1:0)}function ud(e){const t=Object(i.useRef)(e);return t.current=e,Object(d.useRefEffect)(e=>{function n(e){const{isSelected:n,disableFormats:o,onChange:r,value:l,formatTypes:i,tagName:a,onReplace:s,onSplit:u,onSplitMiddle:d,__unstableEmbedURLOnPaste:b,multilineTag:p,preserveWhiteSpace:f,pastePlainText:g}=t.current;if(!n)return void e.preventDefault();const{clipboardData:h}=e;let O="",j="";try{O=h.getData("text/plain"),j=h.getData("text/html")}catch(e){try{j=h.getData("Text")}catch(e){return}}if(e.preventDefault(),window.console.log("Received HTML:\n\n",j),window.console.log("Received plain text:\n\n",O),o)return void r(Object(c.insert)(l,O));const v=i.reduce((e,{__unstablePasteRule:t})=>(t&&e===l&&(e=t(l,{html:j,plainText:O})),e),l);if(v!==l)return void r(v);const k=[...Object(si.getFilesFromDataTransfer)(h)];if("true"===h.getData("rich-text")){const e=Object(c.create)({html:j,multilineTag:p,multilineWrapperTags:"li"===p?["ul","ol"]:void 0,preserveWhiteSpace:f});return ld(e,l.activeFormats),void r(Object(c.insert)(l,e))}if(g)return void r(Object(c.insert)(l,Object(c.create)({text:O})));if(k&&k.length&&!j){const e=Object(m.pasteHandler)({HTML:rd(k),mode:"BLOCKS",tagName:a,preserveWhiteSpace:f});return window.console.log("Received items:\n\n",k),void(s&&Object(c.isEmpty)(l)?s(e):sd({value:l,pastedBlocks:e,onReplace:s,onSplit:u,onSplitMiddle:d,multilineTag:p}))}let _=s&&u?"AUTO":"INLINE";var y;"AUTO"===_&&Object(c.isEmpty)(l)&&(y=O,Object(cd.regexp)(".*").test(y))&&(_="BLOCKS"),b&&Object(c.isEmpty)(l)&&Object(Va.isURL)(O.trim())&&(_="BLOCKS");const E=Object(m.pasteHandler)({HTML:j,plainText:O,mode:_,tagName:a,preserveWhiteSpace:f});if("string"==typeof E){let e=Object(c.create)({html:E});ld(e,l.activeFormats),p&&(e=Object(c.replace)(e,/\n+/g,c.__UNSTABLE_LINE_SEPARATOR)),r(Object(c.insert)(l,e))}else E.length>0&&(s&&Object(c.isEmpty)(l)?s(E,E.length-1,-1):sd({value:l,pastedBlocks:E,onReplace:s,onSplit:u,onSplitMiddle:d,multilineTag:p}))}return e.addEventListener("paste",n),()=>{e.removeEventListener("paste",n)}},[])}function dd(e){const{__unstableMarkLastChangeAsPersistent:t,__unstableMarkAutomaticChange:n}=Object(f.useDispatch)(Rn),o=Object(i.useRef)(e);return o.current=e,Object(d.useRefEffect)(e=>{function r(){const{value:e,onReplace:t}=o.current;if(!t)return;const{start:r,text:l}=e;if(" "!==l.slice(r-1,r))return;const i=l.slice(0,r).trim(),a=Object(m.getBlockTransforms)("from").filter(({type:e})=>"prefix"===e),s=Object(m.findTransform)(a,({prefix:e})=>i===e);if(!s)return;const u=Object(c.toHTMLString)({value:Object(c.slice)(e,r,l.length)});t([s.transform(u)]),n()}function l(e){const{inputType:c}=e,{value:l,onChange:i,__unstableAllowPrefixTransformations:a,formatTypes:s}=o.current;if("insertText"!==c)return;a&&r&&r();const u=s.reduce((e,{__unstableInputRule:t})=>(t&&(e=t(e)),e),l);u!==l&&(t(),i({...u,activeFormats:l.activeFormats}),n())}return e.addEventListener("input",l),()=>{e.removeEventListener("input",l)}},[])}function bd(e){const{__unstableMarkAutomaticChange:t}=Object(f.useDispatch)(Rn),n=Object(i.useRef)(e);return n.current=e,Object(d.useRefEffect)(e=>{function o(e){if(e.defaultPrevented)return;const{removeEditorOnlyFormats:o,value:r,onReplace:l,onSplit:i,onSplitMiddle:a,multilineTag:s,onChange:u,disableLineBreaks:d,onSplitAtEnd:b}=n.current;if(e.keyCode!==$r.ENTER)return;e.preventDefault();const p={...r};p.formats=o(r);const f=l&&i;if(l){const e=Object(m.getBlockTransforms)("from").filter(({type:e})=>"enter"===e),n=Object(m.findTransform)(e,e=>e.regExp.test(p.text));n&&(l([n.transform({content:p.text})]),t())}if(s)e.shiftKey?d||u(Object(c.insert)(p,"\n")):f&&Object(c.__unstableIsEmptyLine)(p)?sd({value:p,onReplace:l,onSplit:i,onSplitMiddle:a,multilineTag:s}):u(Object(c.__unstableInsertLineSeparator)(p));else{const{text:t,start:n,end:o}=p,r=b&&n===o&&o===t.length;e.shiftKey||!f&&!r?d||u(Object(c.insert)(p,"\n")):!f&&r?b():f&&sd({value:p,onReplace:l,onSplit:i,onSplitMiddle:a,multilineTag:s})}}return e.addEventListener("keydown",o),()=>{e.removeEventListener("keydown",o)}},[])}function md(e){return e(c.store).getFormatTypes()}const pd=new Set(["a","audio","button","details","embed","iframe","input","label","select","textarea","video"]);function fd({formatTypes:e,onChange:t,onFocus:n,value:o,forwardedRef:r}){return e.map(e=>{const{name:l,edit:a}=e;if(!a)return null;const s=Object(c.getActiveFormat)(o,l),u=void 0!==s,d=Object(c.getActiveObject)(o),b=void 0!==d&&d.type===l;return Object(i.createElement)(a,{key:l,isActive:u,activeAttributes:u&&s.attributes||{},isObjectActive:b,activeObjectAttributes:b&&d.attributes||{},value:o,onChange:t,onFocus:n,contentRef:r})})}const gd=Object(i.forwardRef)((function e({children:t,tagName:n="div",value:o="",onChange:r,isSelected:a,multiline:b,inlineToolbar:g,wrapperClassName:h,autocompleters:j,onReplace:v,placeholder:k,allowedFormats:_,formattingControls:y,withoutInteractiveFormatting:E,onRemove:C,onMerge:S,onSplit:w,__unstableOnSplitAtEnd:B,__unstableOnSplitMiddle:I,identifier:x,preserveWhiteSpace:T,__unstablePastePlainText:N,__unstableEmbedURLOnPaste:P,__unstableDisableFormats:L,disableLineBreaks:R,unstableOnFocus:A,__unstableAllowPrefixTransformations:M,...D},F){const V=Object(d.useInstanceId)(e);x=x||V,D=function(e){return Object(u.omit)(e,["__unstableMobileNoFocusOnMount","deleteEnter","placeholderTextColor","textAlign","selectionColor","tagsToEliminate","rootTagsToEliminate","disableEditingMenu","fontSize","fontFamily","fontWeight","fontStyle","minWidth","maxWidth","setRef"])}(D);const H=Object(i.useRef)(),{clientId:z}=O(),{selectionStart:G,selectionEnd:U,isSelected:W,disabled:K}=Object(f.useSelect)(e=>{const{getSelectionStart:t,getSelectionEnd:n,isMultiSelecting:o,hasMultiSelection:r}=e(Rn),c=t(),l=n();let i;return void 0===a?i=c.clientId===z&&c.attributeKey===x:a&&(i=c.clientId===z),{selectionStart:i?c.offset:void 0,selectionEnd:i?l.offset:void 0,isSelected:i,disabled:o()||r()}}),{selectionChange:q}=Object(f.useDispatch)(Rn),$=id(b),Y=ad({allowedFormats:_,formattingControls:y,disableFormats:L}),X=!Y||Y.length>0;let Q=o,Z=r;Array.isArray(o)&&(Q=m.children.toHTML(o),Z=e=>r(m.children.fromDOM(Object(c.__unstableCreateElement)(document,e).childNodes)));const J=Object(i.useCallback)((e,t)=>{q(z,x,e,t)},[z,x]),{formatTypes:ee,prepareHandlers:te,valueHandlers:ne,changeHandlers:oe,dependencies:re}=function({clientId:e,identifier:t,withoutInteractiveFormatting:n,allowedFormats:o}){const r=Object(f.useSelect)(md,[]),c=Object(i.useMemo)(()=>r.filter(({name:e,tagName:t})=>!(o&&!o.includes(e))&&(!n||!pd.has(t))),[r,o,pd]),l=Object(f.useSelect)(n=>c.reduce((o,r)=>(r.__experimentalGetPropsForEditableTreePreparation&&(o[r.name]=r.__experimentalGetPropsForEditableTreePreparation(n,{richTextIdentifier:t,blockClientId:e})),o),{}),[c,e,t]),a=Object(f.useDispatch)(),s=[],u=[],d=[],b=[];return c.forEach(n=>{if(n.__experimentalCreatePrepareEditableTree){const o=l[n.name],r=n.__experimentalCreatePrepareEditableTree(o,{richTextIdentifier:t,blockClientId:e});n.__experimentalCreateOnChangeEditableValue?u.push(r):s.push(r);for(const e in o)b.push(o[e])}if(n.__experimentalCreateOnChangeEditableValue){let o={};n.__experimentalGetPropsForEditableTreeChangeHandler&&(o=n.__experimentalGetPropsForEditableTreeChangeHandler(a,{richTextIdentifier:t,blockClientId:e})),d.push(n.__experimentalCreateOnChangeEditableValue({...l[n.name]||{},...o},{richTextIdentifier:t,blockClientId:e}))}}),{formatTypes:c,prepareHandlers:s,valueHandlers:u,changeHandlers:d,dependencies:b}}({clientId:z,identifier:x,withoutInteractiveFormatting:E,allowedFormats:Y});function ce(e){return ee.forEach(t=>{t.__experimentalCreatePrepareEditableTree&&(e=Object(c.removeFormat)(e,t.name,0,e.text.length))}),e.formats}const{value:le,onChange:ie,onFocus:ae,ref:se}=Object(c.__unstableUseRichText)({value:Q,onChange(e,{__unstableFormats:t,__unstableText:n}){Z(e),Object.values(oe).forEach(e=>{e(t,n)})},selectionStart:G,selectionEnd:U,onSelectionChange:J,placeholder:k,__unstableIsSelected:W,__unstableMultilineTag:$,__unstableDisableFormats:L,preserveWhiteSpace:T,__unstableDependencies:[...re,n],__unstableAfterParse:function(e){return ne.reduce((t,n)=>n(t,e.text),e.formats)},__unstableBeforeSerialize:ce,__unstableAddInvisibleFormats:function(e){return te.reduce((t,n)=>n(t,e.text),e.formats)}}),ue=function(e){return Object(p.__unstableUseAutocompleteProps)({...e,completers:zl(e)})}({onReplace:v,completers:j,record:le,onChange:ie});!function({value:e}){const t=e.activeFormats&&!!e.activeFormats.length,{isCaretWithinFormattedText:n}=Object(f.useSelect)(Rn),{enterFormattedText:o,exitFormattedText:r}=Object(f.useDispatch)(Rn);Object(i.useEffect)(()=>{t?n()||o():n()&&r()},[t])}({value:le}),function({html:e,value:t}){const n=Object(i.useRef)(),o=t.activeFormats&&!!t.activeFormats.length,{__unstableMarkLastChangeAsPersistent:r}=Object(f.useDispatch)(Rn);Object(i.useLayoutEffect)(()=>{if(n.current){if(n.current!==t.text){const e=window.setTimeout(()=>{r()},1e3);return n.current=t.text,()=>{window.clearTimeout(e)}}r()}else n.current=t.text},[e,o])}({html:Q,value:le});const de=n,be=Object(i.createElement)(i.Fragment,null,W&&t&&t({value:le,onChange:ie,onFocus:ae}),W&&Object(i.createElement)(Ju,null),W&&ue.children,W&&Object(i.createElement)(fd,{value:le,onChange:ie,onFocus:ae,formatTypes:ee,forwardedRef:H}),W&&X&&Object(i.createElement)(nd,{inline:g,anchorRef:H.current}),Object(i.createElement)(de,Object(l.a)({role:"textbox","aria-multiline":!0,"aria-label":k},D,ue,{ref:Object(d.useMergeRefs)([ue.ref,D.ref,se,dd({value:le,onChange:ie,__unstableAllowPrefixTransformations:M,formatTypes:ee,onReplace:v}),od(),ud({isSelected:W,disableFormats:L,onChange:ie,value:le,formatTypes:ee,tagName:n,onReplace:v,onSplit:w,onSplitMiddle:I,__unstableEmbedURLOnPaste:P,multilineTag:$,preserveWhiteSpace:T,pastePlainText:N}),bd({removeEditorOnlyFormats:ce,value:le,onReplace:v,onSplit:w,onSplitMiddle:I,multilineTag:$,onChange:ie,disableLineBreaks:R,onSplitAtEnd:B}),H,F]),contentEditable:!K||void 0,suppressContentEditableWarning:!K,className:s()("block-editor-rich-text__editable",D.className,"rich-text"),onFocus:A,onKeyDown:function(e){const{keyCode:t}=e;if(!e.defaultPrevented&&(t===$r.DELETE||t===$r.BACKSPACE)){const{start:n,end:o,text:r}=le,l=t===$r.BACKSPACE,i=le.activeFormats&&!!le.activeFormats.length;if(!Object(c.isCollapsed)(le)||i||l&&0!==n||!l&&o!==r.length)return;S&&S(!l),C&&Object(c.isEmpty)(le)&&l&&C(!l),e.preventDefault()}}})));if(!h)return be;wt()("wp.blockEditor.RichText wrapperClassName prop",{since:"5.4",alternative:"className prop or create your own wrapper div"});const me=s()("block-editor-rich-text",h);return Object(i.createElement)("div",{className:me},be)}));gd.Content=({value:e,tagName:t,multiline:n,...o})=>{Array.isArray(e)&&(e=m.children.toHTML(e));const r=id(n);!e&&r&&(e=`<${r}></${r}>`);const c=Object(i.createElement)(i.RawHTML,null,e);return t?Object(i.createElement)(t,Object(u.omit)(o,["format"]),c):c},gd.isEmpty=e=>!e||0===e.length;var hd=gd;function Od({value:e,onChange:t}){return Object(i.createElement)(Du,null,Object(i.createElement)(hd,{value:e,onChange:t,placeholder:Object(j.__)("Navigation item"),withoutInteractiveFormatting:!0,allowedFormats:["core/bold","core/italic","core/image","core/strikethrough"]}))}var jd=n("Civd");var vd=function({icon:e=jd.a,label:t=Object(j.__)("Choose variation"),instructions:n=Object(j.__)("Select a variation to start with."),variations:o,onSelect:r,allowSkip:c}){const l=s()("block-editor-block-variation-picker",{"has-many-variations":o.length>4});return Object(i.createElement)(p.Placeholder,{icon:e,label:t,instructions:n,className:l},Object(i.createElement)("ul",{className:"block-editor-block-variation-picker__variations",role:"list","aria-label":Object(j.__)("Block variations")},o.map(e=>Object(i.createElement)("li",{key:e.name},Object(i.createElement)(p.Button,{isSecondary:!0,icon:e.icon,iconSize:48,onClick:()=>r(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)))),c&&Object(i.createElement)("div",{className:"block-editor-block-variation-picker__skip"},Object(i.createElement)(p.Button,{isLink:!0,onClick:()=>r()},Object(j.__)("Skip"))))},kd=n("b2RC");const _d="carousel",yd="grid",Ed=({onStartBlank:e,onBlockPatternSelect:t})=>Object(i.createElement)("div",{className:"block-editor-block-pattern-setup__actions"},Object(i.createElement)(p.Button,{onClick:e},Object(j.__)("Start blank")),Object(i.createElement)(p.Button,{isPrimary:!0,onClick:t},Object(j.__)("Choose"))),Cd=({handlePrevious:e,handleNext:t,activeSlide:n,totalSlides:o})=>Object(i.createElement)("div",{className:"block-editor-block-pattern-setup__navigation"},Object(i.createElement)(p.Button,{icon:gi.a,label:Object(j.__)("Previous pattern"),onClick:e,disabled:0===n}),Object(i.createElement)(p.Button,{icon:fi.a,label:Object(j.__)("Next pattern"),onClick:t,disabled:n===o-1}));var Sd=({viewMode:e,setViewMode:t,handlePrevious:n,handleNext:o,activeSlide:r,totalSlides:c,onBlockPatternSelect:l,onStartBlank:a})=>{const s=e===_d,u=Object(i.createElement)("div",{className:"block-editor-block-pattern-setup__display-controls"},Object(i.createElement)(p.Button,{icon:$n,label:Object(j.__)("Carousel view"),onClick:()=>t(_d),isPressed:s}),Object(i.createElement)(p.Button,{icon:kd.a,label:Object(j.__)("Grid view"),onClick:()=>t(yd),isPressed:e===yd}));return Object(i.createElement)("div",{className:"block-editor-block-pattern-setup__toolbar"},s&&Object(i.createElement)(Cd,{handlePrevious:n,handleNext:o,activeSlide:r,totalSlides:c}),u,s&&Object(i.createElement)(Ed,{onBlockPatternSelect:l,onStartBlank:a}))};var wd=function(e,t,n){return Object(f.useSelect)(o=>{const{getBlockRootClientId:r,__experimentalGetPatternsByBlockTypes:c,__experimentalGetAllowedPatterns:l}=o(Rn),i=r(e);return n?l(i).filter(n):c(t,i)},[e,t,n])};const Bd=({viewMode:e,activeSlide:t,patterns:n,onBlockPatternSelect:o})=>{const r=Object(p.__unstableUseCompositeState)(),c="block-editor-block-pattern-setup__container";if(e===_d){const e=new Map([[t,"active-slide"],[t-1,"previous-slide"],[t+1,"next-slide"]]);return Object(i.createElement)("div",{className:c},Object(i.createElement)("ul",{className:"carousel-container"},n.map((t,n)=>Object(i.createElement)(xd,{className:e.get(n)||"",key:t.name,pattern:t}))))}return Object(i.createElement)(p.__unstableComposite,Object(l.a)({},r,{role:"listbox",className:c,"aria-label":Object(j.__)("Patterns list")}),n.map(e=>Object(i.createElement)(Id,{key:e.name,pattern:e,onSelect:o,composite:r})))};function Id({pattern:e,onSelect:t,composite:n}){const o="block-editor-block-pattern-setup-list",{blocks:r,title:c,description:a,viewportWidth:s=700}=e,u=Object(d.useInstanceId)(Id,o+"__item-description");return Object(i.createElement)("div",{className:o+"__list-item","aria-label":e.title,"aria-describedby":e.description?u:void 0},Object(i.createElement)(p.__unstableCompositeItem,Object(l.a)({role:"option",as:"div"},n,{className:o+"__item",onClick:()=>t(r)}),Object(i.createElement)(ha,{blocks:r,viewportWidth:s}),Object(i.createElement)("div",{className:o+"__item-title"},c)),!!a&&Object(i.createElement)(p.VisuallyHidden,{id:u},a))}function xd({className:e,pattern:t}){const{blocks:n,title:o,description:r}=t,c=Object(d.useInstanceId)(xd,"block-editor-block-pattern-setup-list__item-description");return Object(i.createElement)("li",{className:"pattern-slide "+e,"aria-label":o,"aria-describedby":r?c:void 0},Object(i.createElement)(ha,{blocks:n,__experimentalLive:!0}),!!r&&Object(i.createElement)(p.VisuallyHidden,{id:c},r))}var Td=({clientId:e,blockName:t,filterPatternsFn:n,startBlankComponent:o,onBlockPatternSelect:r})=>{const[c,l]=Object(i.useState)(_d),[a,s]=Object(i.useState)(0),[u,d]=Object(i.useState)(!1),{replaceBlock:b}=Object(f.useDispatch)(Rn),p=wd(e,t,n);if(null==p||!p.length||u)return o;const g=r||(t=>{const n=t.map(e=>Object(m.cloneBlock)(e));b(e,n)});return Object(i.createElement)("div",{className:"block-editor-block-pattern-setup view-mode-"+c},Object(i.createElement)(Sd,{viewMode:c,setViewMode:l,activeSlide:a,totalSlides:p.length,handleNext:()=>{s(e=>e+1)},handlePrevious:()=>{s(e=>e-1)},onBlockPatternSelect:()=>{g(p[a].blocks)},onStartBlank:()=>{d(!0)}}),Object(i.createElement)(Bd,{viewMode:c,activeSlide:a,patterns:p,onBlockPatternSelect:g}))};const Nd=(e,t)=>{if(!t||!e)return;const n=t.filter(({attributes:t})=>!(!t||!Object.keys(t).length)&&Object(u.isMatch)(e,t));return 1===n.length?n[0]:void 0};var Pd=function({blockClientId:e}){const[t,n]=Object(i.useState)(),{updateBlockAttributes:o}=Object(f.useDispatch)(Rn),{variations:r,blockAttributes:c}=Object(f.useSelect)(t=>{const{getBlockVariations:n}=t(m.store),{getBlockName:o,getBlockAttributes:r}=t(Rn),c=e&&o(e);return{variations:c&&n(c,"transform"),blockAttributes:r(e)}},[e]);if(Object(i.useEffect)(()=>{var e;n(null===(e=Nd(c,r))||void 0===e?void 0:e.name)},[c,r]),null==r||!r.length)return null;const l=r.map(({name:e,title:t,description:n})=>({value:e,label:t,info:n})),a=t=>{o(e,{...r.find(({name:e})=>e===t).attributes})},s="block-editor-block-variation-transforms";return Object(i.createElement)(p.DropdownMenu,{className:s,label:Object(j.__)("Transform to variation"),text:Object(j.__)("Transform to variation"),popoverProps:{position:"bottom center",className:s+"__popover"},icon:Oi.a,toggleProps:{iconPosition:"right"}},()=>Object(i.createElement)("div",{className:s+"__container"},Object(i.createElement)(p.MenuGroup,null,Object(i.createElement)(p.MenuItemsChoice,{choices:l,value:t,onSelect:a}))))};const Ld=Object(i.createElement)(p.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(p.Path,{d:"M15 4H9v11h6V4zM4 18.5V20h16v-1.5H4z"})),Rd=Object(i.createElement)(p.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(p.Path,{d:"M20 11h-5V4H9v7H4v1.5h5V20h6v-7.5h5z"})),Ad={top:{icon:Object(i.createElement)(p.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(p.Path,{d:"M9 20h6V9H9v11zM4 4v1.5h16V4H4z"})),title:Object(j._x)("Align top","Block vertical alignment setting")},center:{icon:Rd,title:Object(j._x)("Align middle","Block vertical alignment setting")},bottom:{icon:Ld,title:Object(j._x)("Align bottom","Block vertical alignment setting")}},Md=["top","center","bottom"],Dd={isAlternate:!0};var Fd=function({value:e,onChange:t,controls:n=Md,isCollapsed:o=!0,isToolbar:r}){const c=Ad[e],a=Ad.top,s=r?p.ToolbarGroup:p.ToolbarDropdownMenu,u=r?{isCollapsed:o}:{};return Object(i.createElement)(s,Object(l.a)({popoverProps:Dd,icon:c?c.icon:a.icon,label:Object(j._x)("Change vertical alignment","Block vertical alignment setting label"),controls:n.map(n=>{return{...Ad[n],isActive:e===n,role:o?"menuitemradio":void 0,onClick:(r=n,()=>t(e===r?void 0:r))};var r})},u))};function Vd(e){return Object(i.createElement)(Fd,Object(l.a)({},e,{isToolbar:!1}))}function Hd(e){return Object(i.createElement)(Fd,Object(l.a)({},e,{isToolbar:!0}))}var zd=Object(d.createHigherOrderComponent)(e=>t=>{const n=Bo("color.palette"),o=!Bo("color.custom"),r=void 0===t.colors?n:t.colors,c=void 0===t.disableCustomColors?o:t.disableCustomColors,a=!Object(u.isEmpty)(r)||!c;return Object(i.createElement)(e,Object(l.a)({},t,{colors:r,disableCustomColors:c,hasColorsToChoose:a}))},"withColorContext"),Gd=zd(p.ColorPalette);function Ud({onChange:e,value:t,...n}){return Object(i.createElement)(Ko,Object(l.a)({},n,{onColorChange:e,colorValue:t,gradients:[],disableCustomGradients:!0}))}const Wd=[];function Kd(e){const t=Bo("color.gradients")||Wd,n=!Bo("color.customGradient");return Object(i.createElement)(p.__experimentalGradientPicker,Object(l.a)({gradients:void 0!==e.gradients?e.gradient:t,disableCustomGradients:void 0!==e.disableCustomGradients?e.disableCustomGradients:n},e))}var qd=function(e){const t=void 0!==e.gradients&&void 0!==e.disableCustomGradients?p.__experimentalGradientPicker:Kd;return Object(i.createElement)(t,e)};function $d({className:e,value:t,onChange:n,label:o=Object(j.__)("Gradient Presets"),...r}){const c=Bo("color.gradients"),a=!Bo("color.customGradient");return Object(u.isEmpty)(c)&&a?null:Object(i.createElement)(p.BaseControl,{className:s()("block-editor-gradient-picker-control",e)},Object(i.createElement)(p.BaseControl.VisualLabel,null,o),Object(i.createElement)(qd,Object(l.a)({value:t,onChange:n,className:"block-editor-gradient-picker-control__gradient-picker-presets",gradients:c,disableCustomGradients:a},r)))}function Yd(e){const t=Bo("color.gradients");return Object(u.isEmpty)(t)?null:Object(i.createElement)(p.PanelBody,{title:Object(j.__)("Gradient")},Object(i.createElement)($d,e))}const Xd=[25,50,75,100];function Qd({imageWidth:e,imageHeight:t,imageSizeOptions:n=[],isResizable:o=!0,slug:r,width:c,height:l,onChange:a,onChangeImage:s=u.noop}){var d,b;function m(e,t){return()=>{a({width:e,height:t})}}return Object(i.createElement)(i.Fragment,null,!Object(u.isEmpty)(n)&&Object(i.createElement)(p.SelectControl,{label:Object(j.__)("Image size"),value:r,options:n,onChange:s}),o&&Object(i.createElement)("div",{className:"block-editor-image-size-control"},Object(i.createElement)("p",{className:"block-editor-image-size-control__row"},Object(j.__)("Image dimensions")),Object(i.createElement)("div",{className:"block-editor-image-size-control__row"},Object(i.createElement)(p.TextControl,{type:"number",className:"block-editor-image-size-control__width",label:Object(j.__)("Width"),value:null!==(d=null!=c?c:e)&&void 0!==d?d:"",min:1,onChange:e=>a({width:parseInt(e,10)})}),Object(i.createElement)(p.TextControl,{type:"number",className:"block-editor-image-size-control__height",label:Object(j.__)("Height"),value:null!==(b=null!=l?l:t)&&void 0!==b?b:"",min:1,onChange:e=>a({height:parseInt(e,10)})})),Object(i.createElement)("div",{className:"block-editor-image-size-control__row"},Object(i.createElement)(p.ButtonGroup,{"aria-label":Object(j.__)("Image size presets")},Xd.map(n=>{const o=Math.round(e*(n/100)),r=Math.round(t*(n/100)),a=c===o&&l===r;return Object(i.createElement)(p.Button,{key:n,isSmall:!0,isPrimary:a,isPressed:a,onClick:m(o,r)},n,"%")})),Object(i.createElement)(p.Button,{isSmall:!0,onClick:m()},Object(j.__)("Reset")))))}var Zd=Object(d.createHigherOrderComponent)(e=>t=>{const{clientId:n}=O();return Object(i.createElement)(e,Object(l.a)({},t,{clientId:n}))},"withClientId");var Jd=Zd(({clientId:e,showSeparator:t,isFloating:n,onAddBlock:o})=>Object(i.createElement)(cs,{rootClientId:e,showSeparator:t,isFloating:n,onAddBlock:o}));var eb=Object(d.compose)([Zd,Object(f.withSelect)((e,{clientId:t})=>{const{getBlockOrder:n}=e(Rn),o=n(t);return{lastBlockClientId:Object(u.last)(o)}})])(({clientId:e,lastBlockClientId:t})=>Object(i.createElement)(rs,{rootClientId:e,lastBlockClientId:t})),tb=n("rl8x"),nb=n.n(tb);const ob=new WeakMap;function rb(e){const{clientId:t,allowedBlocks:n,template:o,templateLock:r,wrapperRef:c,templateInsertUpdatesSelection:l,__experimentalCaptureToolbars:a,__experimentalAppenderTagName:s,renderAppender:d,orientation:b,placeholder:p,__experimentalLayout:g}=e;!function(e,t,n,o,r){const{updateBlockListSettings:c}=Object(f.useDispatch)(Rn),{blockListSettings:l,parentLock:a}=Object(f.useSelect)(t=>{const n=t(Rn).getBlockRootClientId(e);return{blockListSettings:t(Rn).getBlockListSettings(e),parentLock:t(Rn).getTemplateLock(n)}},[e]),s=Object(i.useMemo)(()=>t,t);Object(i.useLayoutEffect)(()=>{const t={allowedBlocks:s,templateLock:void 0===n?a:n};void 0!==o&&(t.__experimentalCaptureToolbars=o),void 0!==r&&(t.orientation=r),nb()(l,t)||c(e,t)},[e,l,s,n,a,o,r,c])}(t,n,r,a,b),function(e,t,n,o){const{getSelectedBlocksInitialCaretPosition:r}=Object(f.useSelect)(Rn),{replaceInnerBlocks:c}=Object(f.useDispatch)(Rn),l=Object(f.useSelect)(t=>t(Rn).getBlocks(e),[e]),a=Object(i.useRef)(null);Object(i.useLayoutEffect)(()=>{if(0===l.length||"all"===n){if(!Object(u.isEqual)(t,a.current)){a.current=t;const n=Object(m.synchronizeBlocksWithTemplate)(l,t);Object(u.isEqual)(n,l)||c(e,n,0===l.length&&o&&0!==n.length,r())}}},[l,t,n,e])}(t,o,r,l);const h=Object(f.useSelect)(e=>{const n=e(Rn).getBlock(t),o=Object(m.getBlockType)(n.name);if(o&&o.providesContext)return function(e,t){ob.has(t)||ob.set(t,new WeakMap);const n=ob.get(t);if(!n.has(e)){const o=Object(u.mapValues)(t.providesContext,t=>e[t]);n.set(e,o)}return n.get(e)}(n.attributes,o)},[t]);return Object(i.createElement)(Ql,{value:h},Object(i.createElement)(Cu,{rootClientId:t,renderAppender:d,__experimentalAppenderTagName:s,__experimentalLayout:g,wrapperRef:c,placeholder:p}))}function cb(e){return ba(e),Object(i.createElement)(rb,e)}const lb=Object(i.forwardRef)((e,t)=>{const n=ib({ref:t},e);return Object(i.createElement)("div",{className:"block-editor-inner-blocks"},Object(i.createElement)("div",n))});function ib(e={},t={}){const{clientId:n}=O(),o=Object(d.useViewportMatch)("medium","<"),r=Object(f.useSelect)(e=>{const{getBlockName:t,isBlockSelected:r,hasSelectedInnerBlock:c,isNavigationMode:l}=e(Rn),i=l()||o;return"core/template"!==t(n)&&!r(n)&&!c(n,!0)&&i},[n,o]),c=Object(d.useMergeRefs)([e.ref,ds({rootClientId:n})]),a=t.value&&t.onChange?cb:rb;return{...e,ref:c,className:s()(e.className,"block-editor-block-list__layout",{"has-overlay":r}),children:Object(i.createElement)(a,Object(l.a)({},t,{clientId:n}))}}lb.DefaultBlockAppender=eb,lb.ButtonBlockAppender=Jd,lb.Content=Object(m.withBlockContentContext)(({BlockContent:e})=>Object(i.createElement)(e,null));var ab=lb;var sb=Object(i.createElement)(Gn.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(Gn.Path,{d:"M9 9v6h11V9H9zM4 20h1.5V4H4v16z"}));var ub=Object(i.createElement)(Gn.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(Gn.Path,{d:"M20 9h-7.2V4h-1.6v5H4v6h7.2v5h1.6v-5H20z"}));var db=Object(i.createElement)(Gn.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(Gn.Path,{d:"M4 15h11V9H4v6zM18.5 4v16H20V4h-1.5z"}));var bb=Object(i.createElement)(Gn.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(Gn.Path,{d:"M9 15h6V9H9v6zm-5 5h1.5V4H4v16zM18.5 4v16H20V4h-1.5z"}));const mb={left:sb,center:ub,right:db,"space-between":bb};var pb=function({allowedControls:e=["left","center","right","space-between"],isCollapsed:t=!0,onChange:n,value:o,popoverProps:r,isToolbar:c}){const a=e=>{n(e===o?void 0:e)},s=o?mb[o]:mb.left,u=[{name:"left",icon:sb,title:Object(j.__)("Justify items left"),isActive:"left"===o,onClick:()=>a("left")},{name:"center",icon:ub,title:Object(j.__)("Justify items center"),isActive:"center"===o,onClick:()=>a("center")},{name:"right",icon:db,title:Object(j.__)("Justify items right"),isActive:"right"===o,onClick:()=>a("right")},{name:"space-between",icon:bb,title:Object(j.__)("Space between items"),isActive:"space-between"===o,onClick:()=>a("space-between")}],d=c?p.ToolbarGroup:p.ToolbarDropdownMenu,b=c?{isCollapsed:t}:{};return Object(i.createElement)(d,Object(l.a)({icon:s,popoverProps:r,label:Object(j.__)("Change items justification"),controls:u.filter(t=>e.includes(t.name))},b))};function fb(e){return Object(i.createElement)(pb,Object(l.a)({},e,{isToolbar:!1}))}function gb(e){return Object(i.createElement)(pb,Object(l.a)({},e,{isToolbar:!0}))}var hb=n("btIw");const Ob=[{id:"opensInNewTab",title:Object(j.__)("Open in new tab")}];var jb=({value:e,onChange:t=u.noop,settings:n=Ob})=>{if(!n||!n.length)return null;const o=n=>o=>{t({...e,[n.id]:o})},r=n.map(t=>Object(i.createElement)(p.ToggleControl,{className:"block-editor-link-control__setting",key:t.id,label:t.title,onChange:o(t),checked:!!e&&!!e[t.id]}));return Object(i.createElement)("fieldset",{className:"block-editor-link-control__settings"},Object(i.createElement)(p.VisuallyHidden,{as:"legend"},Object(j.__)("Currently selected link settings")),r)};class vb 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(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}=this.props;t&&null!==n&&this.suggestionNodes[n]&&!this.scrollingIntoView&&(this.scrollingIntoView=!0,ea()(this.suggestionNodes[n],this.autocompleteRef.current,{onlyScrollIfNeeded:!0}),this.props.setTimeout(()=>{this.scrollingIntoView=!1},100)),e.value!==o&&this.shouldShowInitialSuggestions()&&this.updateSuggestions()}componentDidMount(){this.shouldShowInitialSuggestions()&&this.updateSuggestions()}componentWillUnmount(){var e,t;null===(e=this.suggestionsRequest)||void 0===e||null===(t=e.cancel)||void 0===t||t.call(e),delete this.suggestionsRequest}bindSuggestionNode(e){return t=>{this.suggestionNodes[e]=t}}shouldShowInitialSuggestions(){const{suggestions:e}=this.state,{__experimentalShowInitialSuggestions:t=!1,value:n}=this.props;return!this.isUpdatingSuggestions&&t&&!(n&&n.length)&&!(e&&e.length)}updateSuggestions(e=""){const{__experimentalFetchLinkSuggestions:t,__experimentalHandleURLSuggestions:n}=this.props;if(!t)return;const o=!(e&&e.length);if(!o&&(e.length<2||!n&&Object(Va.isURL)(e)))return void this.setState({showSuggestions:!1,selectedSuggestion:null,loading:!1});this.isUpdatingSuggestions=!0,this.setState({selectedSuggestion:null,loading:!0});const r=t(e,{isInitialSuggestions:o});r.then(e=>{this.suggestionsRequest===r&&(this.setState({suggestions:e,loading:!1,showSuggestions:!!e.length}),e.length?this.props.debouncedSpeak(Object(j.sprintf)(Object(j._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(j.__)("No results."),"assertive"),this.isUpdatingSuggestions=!1)}).catch(()=>{this.suggestionsRequest===r&&(this.setState({loading:!1}),this.isUpdatingSuggestions=!1)}),this.suggestionsRequest=r}onChange(e){const t=e.target.value;this.props.onChange(t),this.props.disableSuggestions||this.updateSuggestions(t.trim())}onFocus(){const{suggestions:e}=this.state,{disableSuggestions:t,value:n}=this.props;!n||t||this.isUpdatingSuggestions||e&&e.length||this.updateSuggestions(n.trim())}onKeyDown(e){const{showSuggestions:t,selectedSuggestion:n,suggestions:o,loading:r}=this.state;if(!t||!o.length||r){switch(e.keyCode){case $r.UP:0!==e.target.selectionStart&&(e.stopPropagation(),e.preventDefault(),e.target.setSelectionRange(0,0));break;case $r.DOWN:this.props.value.length!==e.target.selectionStart&&(e.stopPropagation(),e.preventDefault(),e.target.setSelectionRange(this.props.value.length,this.props.value.length))}return}const c=this.state.suggestions[this.state.selectedSuggestion];switch(e.keyCode){case $r.UP:{e.stopPropagation(),e.preventDefault();const t=n?n-1:o.length-1;this.setState({selectedSuggestion:t});break}case $r.DOWN:{e.stopPropagation(),e.preventDefault();const t=null===n||n===o.length-1?0:n+1;this.setState({selectedSuggestion:t});break}case $r.TAB:null!==this.state.selectedSuggestion&&(this.selectLink(c),this.props.speak(Object(j.__)("Link selected.")));break;case $r.ENTER:null!==this.state.selectedSuggestion&&(e.stopPropagation(),this.selectLink(c))}}selectLink(e){this.props.onChange(e.url,e),this.setState({selectedSuggestion:null,showSuggestions:!1})}handleOnClick(e){this.selectLink(e),this.inputRef.current.focus()}static getDerivedStateFromProps({value:e,instanceId:t,disableSuggestions:n,__experimentalShowInitialSuggestions:o=!1},{showSuggestions:r}){let c=r;const l=e&&e.length;return o||l||(c=!1),!0===n&&(c=!1),{showSuggestions:c,suggestionsListboxId:"block-editor-url-input-suggestions-"+t,suggestionOptionIdPrefix:"block-editor-url-input-suggestion-"+t}}render(){return Object(i.createElement)(i.Fragment,null,this.renderControl(),this.renderSuggestions())}renderControl(){const{label:e,className:t,isFullWidth:n,instanceId:o,placeholder:r=Object(j.__)("Paste URL or type to search"),__experimentalRenderControl:c,value:l=""}=this.props,{loading:a,showSuggestions:u,selectedSuggestion:d,suggestionsListboxId:b,suggestionOptionIdPrefix:m}=this.state,f={id:"url-input-control-"+o,label:e,className:s()("block-editor-url-input",t,{"is-full-width":n})},g={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(j.__)("URL"),"aria-expanded":u,"aria-autocomplete":"list","aria-owns":b,"aria-activedescendant":null!==d?`${m}-${d}`:void 0,ref:this.inputRef};return c?c(f,g,a):Object(i.createElement)(p.BaseControl,f,Object(i.createElement)("input",g),a&&Object(i.createElement)(p.Spinner,null))}renderSuggestions(){const{className:e,__experimentalRenderSuggestions:t,value:n="",__experimentalShowInitialSuggestions:o=!1}=this.props,{showSuggestions:r,suggestions:c,selectedSuggestion:a,suggestionsListboxId:d,suggestionOptionIdPrefix:b,loading:m}=this.state,f={id:d,ref:this.autocompleteRef,role:"listbox"},g=(e,t)=>({role:"option",tabIndex:"-1",id:`${b}-${t}`,ref:this.bindSuggestionNode(t),"aria-selected":t===a});return Object(u.isFunction)(t)&&r&&c.length?t({suggestions:c,selectedSuggestion:a,suggestionsListProps:f,buildSuggestionItemProps:g,isLoading:m,handleSuggestionClick:this.handleOnClick,isInitialSuggestions:o&&!(n&&n.length)}):!Object(u.isFunction)(t)&&r&&c.length?Object(i.createElement)(p.Popover,{position:"bottom",noArrow:!0,focusOnMount:!1},Object(i.createElement)("div",Object(l.a)({},f,{className:s()("block-editor-url-input__suggestions",e+"__suggestions")}),c.map((e,t)=>Object(i.createElement)(p.Button,Object(l.a)({},g(0,t),{key:e.id,className:s()("block-editor-url-input__suggestion",{"is-selected":t===a}),onClick:()=>this.handleOnClick(e)}),e.title)))):null}}var kb=Object(d.compose)(d.withSafeTimeout,p.withSpokenMessages,d.withInstanceId,Object(f.withSelect)((e,t)=>{if(Object(u.isFunction)(t.__experimentalFetchLinkSuggestions))return;const{getSettings:n}=e(Rn);return{__experimentalFetchLinkSuggestions:n().__experimentalFetchLinkSuggestions}}))(vb);var _b=({searchTerm:e,onClick:t,itemProps:n,isSelected:o,buttonText:r})=>{if(!e)return null;let c;return c=r?Object(u.isFunction)(r)?r(e):r:Object(i.createInterpolateElement)(Object(j.sprintf)(Object(j.__)("Create: <mark>%s</mark>"),e),{mark:Object(i.createElement)("mark",null)}),Object(i.createElement)(p.Button,Object(l.a)({},n,{className:s()("block-editor-link-control__search-create block-editor-link-control__search-item",{"is-selected":o}),onClick:t}),Object(i.createElement)(Kc.a,{className:"block-editor-link-control__search-item-icon",icon:ca.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"},c)))};var yb=Object(i.createElement)(Gn.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(i.createElement)(Gn.Path,{d:"M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zM1.11 9.68h2.51c.04.91.167 1.814.38 2.7H1.84c-.403-.85-.65-1.764-.73-2.7zm8.57-5.4V1.19c.964.366 1.756 1.08 2.22 2 .205.347.386.708.54 1.08l-2.76.01zm3.22 1.35c.232.883.37 1.788.41 2.7H9.68v-2.7h3.22zM8.32 1.19v3.09H5.56c.154-.372.335-.733.54-1.08.462-.924 1.255-1.64 2.22-2.01zm0 4.44v2.7H4.7c.04-.912.178-1.817.41-2.7h3.21zm-4.7 2.69H1.11c.08-.936.327-1.85.73-2.7H4c-.213.886-.34 1.79-.38 2.7zM4.7 9.68h3.62v2.7H5.11c-.232-.883-.37-1.788-.41-2.7zm3.63 4v3.09c-.964-.366-1.756-1.08-2.22-2-.205-.347-.386-.708-.54-1.08l2.76-.01zm1.35 3.09v-3.04h2.76c-.154.372-.335.733-.54 1.08-.464.92-1.256 1.634-2.22 2v-.04zm0-4.44v-2.7h3.62c-.04.912-.178 1.817-.41 2.7H9.68zm4.71-2.7h2.51c-.08.936-.327 1.85-.73 2.7H14c.21-.87.337-1.757.38-2.65l.01-.05zm0-1.35c-.046-.894-.176-1.78-.39-2.65h2.16c.403.85.65 1.764.73 2.7l-2.5-.05zm1-4H13.6c-.324-.91-.793-1.76-1.39-2.52 1.244.56 2.325 1.426 3.14 2.52h.04zm-9.6-2.52c-.597.76-1.066 1.61-1.39 2.52H2.65c.815-1.094 1.896-1.96 3.14-2.52zm-3.15 12H4.4c.324.91.793 1.76 1.39 2.52-1.248-.567-2.33-1.445-3.14-2.55l-.01.03zm9.56 2.52c.597-.76 1.066-1.61 1.39-2.52h1.76c-.82 1.08-1.9 1.933-3.14 2.48l-.01.04z"}));var Eb=({itemProps:e,suggestion:t,isSelected:n=!1,onClick:o,isURL:r=!1,searchTerm:c="",shouldShowType:a=!1})=>Object(i.createElement)(p.Button,Object(l.a)({},e,{onClick:o,className:s()("block-editor-link-control__search-item",{"is-selected":n,"is-url":r,"is-entity":!r})}),r&&Object(i.createElement)(Kc.a,{className:"block-editor-link-control__search-item-icon",icon:yb}),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)(p.TextHighlight,{text:t.title,highlight:c})),Object(i.createElement)("span",{"aria-hidden":!r,className:"block-editor-link-control__search-item-info"},!r&&(Object(Va.filterURLForDisplay)(Object(Va.safeDecodeURI)(t.url))||""),r&&Object(j.__)("Press ENTER to add this link"))),a&&t.type&&Object(i.createElement)("span",{className:"block-editor-link-control__search-item-type"},"post_tag"===t.type?"tag":t.type));function Cb({instanceId:e,withCreateSuggestion:t,currentInputValue:n,handleSuggestionClick:o,suggestionsListProps:r,buildSuggestionItemProps:c,suggestions:a,selectedSuggestion:u,isLoading:d,isInitialSuggestions:b,createSuggestionButtonText:m,suggestionsQuery:f}){const g=s()("block-editor-link-control__search-results",{"is-loading":d}),h=["url","mailto","tel","internal"],O=1===a.length&&h.includes(a[0].type.toLowerCase()),v=t&&!O&&!b,k=!(null!=f&&f.type),_="block-editor-link-control-search-results-label-"+e,y=b?Object(j.__)("Recently updated"):Object(j.sprintf)(Object(j.__)('Search results for "%s"'),n),E=Object(i.createElement)(b?i.Fragment:p.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)({},r,{className:g,"aria-labelledby":_}),a.map((e,t)=>v&&"__CREATE__"===e.type?Object(i.createElement)(_b,{searchTerm:n,buttonText:m,onClick:()=>o(e),key:e.type,itemProps:c(e,t),isSelected:t===u}):"__CREATE__"===e.type?null:Object(i.createElement)(Eb,{key:`${e.id}-${e.type}`,itemProps:c(e,t),suggestion:e,index:t,onClick:()=>{o(e)},isSelected:t===u,isURL:h.includes(e.type.toLowerCase()),searchTerm:n,shouldShowType:k}))))}function Sb(e){const t=Object(u.startsWith)(e,"#");return Object(Va.isURL)(e)||e&&e.includes("www.")||t}const wb=()=>Promise.resolve([]),Bb=e=>{let t="URL";const n=Object(Va.getProtocol)(e)||"";return n.includes("mailto")&&(t="mailto"),n.includes("tel")&&(t="tel"),Object(u.startsWith)(e,"#")&&(t="internal"),Promise.resolve([{id:e,title:e,url:"URL"===t?Object(Va.prependHTTP)(e):e,type:t}])};function Ib(e,t,n,o){const{fetchSearchSuggestions:r}=Object(f.useSelect)(e=>{const{getSettings:t}=e(Rn);return{fetchSearchSuggestions:t().__experimentalFetchLinkSuggestions}},[]),c=t?Bb:wb;return Object(i.useCallback)((t,{isInitialSuggestions:l})=>Sb(t)?c(t,{isInitialSuggestions:l}):(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||Sb(e)||!r?i:i.concat({title:e,url:e,type:"__CREATE__"})})(t,{...e,isInitialSuggestions:l},r,c,n,o),[c,r,n])}const xb=Promise.resolve([]),Tb=Object(i.forwardRef)(({value:e,children:t,currentLink:n={},className:o=null,placeholder:r=null,withCreateSuggestion:c=!1,onCreateSuggestion:l=u.noop,onChange:a=u.noop,onSelect:s=u.noop,showSuggestions:b=!0,renderSuggestions:m=(e=>Object(i.createElement)(Cb,e)),fetchSuggestions:p=null,allowDirectEntry:f=!0,showInitialSuggestions:g=!1,suggestionsQuery:h={},withURLSuggestion:O=!0,createSuggestionButtonText:v},k)=>{const _=Ib(h,f,c,O),y=b?p||_:xb,E=Object(d.useInstanceId)(Tb),[C,S]=Object(i.useState)(),w=async e=>{let t=e;if("__CREATE__"!==e.type)(f||t&&Object.keys(t).length>=1)&&s({...Object(u.omit)(n,"id","url"),...t},t);else try{var o;t=await l(e.title),null!==(o=t)&&void 0!==o&&o.url&&s(t)}catch(e){}};return Object(i.createElement)("form",{onSubmit:t=>{t.preventDefault(),w(C||{url:e})}},Object(i.createElement)(kb,{className:o,value:e,onChange:(e,t)=>{a(e),S(t)},placeholder:null!=r?r:Object(j.__)("Search or type url"),__experimentalRenderSuggestions:b?t=>m({...t,instanceId:E,withCreateSuggestion:c,currentInputValue:e,createSuggestionButtonText:v,suggestionsQuery:h,handleSuggestionClick:e=>{t.handleSuggestionClick&&t.handleSuggestionClick(e),w(e)}}):null,__experimentalFetchLinkSuggestions:y,__experimentalHandleURLSuggestions:!0,__experimentalShowInitialSuggestions:g,ref:k}),t)});var Nb=Tb;const{Slot:Pb,Fill:Lb}=Object(p.createSlotFill)("BlockEditorLinkControlViewer");function Rb({value:e,onEditClick:t}){const n=e&&Object(Va.filterURLForDisplay)(Object(Va.safeDecodeURI)(e.url),16)||"";return Object(i.createElement)("div",{"aria-label":Object(j.__)("Currently selected"),"aria-selected":"true",className:s()("block-editor-link-control__search-item",{"is-current":!0})},Object(i.createElement)("span",{className:"block-editor-link-control__search-item-header"},Object(i.createElement)(p.ExternalLink,{className:"block-editor-link-control__search-item-title",href:e.url},e&&e.title||n),e&&e.title&&Object(i.createElement)("span",{className:"block-editor-link-control__search-item-info"},n)),Object(i.createElement)(p.Button,{isSecondary:!0,onClick:()=>t(),className:"block-editor-link-control__search-item-action"},Object(j.__)("Edit")),Object(i.createElement)(Pb,{fillProps:e}))}const Ab=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 Mb({searchInputPlaceholder:e,value:t,settings:n,onChange:o=u.noop,noDirectEntry:r=!1,showSuggestions:c=!0,showInitialSuggestions:l,forceIsEditingLink:a,createSuggestion:s,withCreateSuggestion:d,inputValue:b="",suggestionsQuery:m={},noURLSuggestion:f=!1,createSuggestionButtonText:g}){void 0===d&&s&&(d=!0);const h=Object(i.useRef)(!0),O=Object(i.useRef)(),[v,k]=Object(i.useState)(t&&t.url||""),_=b||v,[y,E]=Object(i.useState)(void 0!==a?a:!t||!t.url),C=Object(i.useRef)(!1);Object(i.useEffect)(()=>{void 0!==a&&a!==y&&E(a)},[a]),Object(i.useEffect)(()=>{if(h.current)return void(h.current=!1);if(!O.current.contains(O.current.ownerDocument.activeElement)){(si.focus.focusable.find(O.current)[0]||O.current).focus()}C.current=!1},[y]);const{createPage:S,isCreatingPage:w,errorMessage:B}=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=Ab(Promise.resolve(e(n))),await t.current.promise}catch(e){if(e&&e.isCanceled)return;throw c(e.message||Object(j.__)("An unknown error occurred during creation. Please try again.")),e}finally{o(!1)}},isCreatingPage:n,errorMessage:r}}(s);return Object(i.createElement)("div",{tabIndex:-1,ref:O,className:"block-editor-link-control"},w&&Object(i.createElement)("div",{className:"block-editor-link-control__loading"},Object(i.createElement)(p.Spinner,null)," ",Object(j.__)("Creating"),"…"),(y||!t)&&!w&&Object(i.createElement)(i.Fragment,null,Object(i.createElement)("div",{className:"block-editor-link-control__search-input-wrapper"},Object(i.createElement)(Nb,{currentLink:t,className:"block-editor-link-control__search-input",placeholder:e,value:_,withCreateSuggestion:d,onCreateSuggestion:S,onChange:k,onSelect:e=>{var t;o(e),C.current=!(null===(t=O.current)||void 0===t||!t.contains(O.current.ownerDocument.activeElement)),E(!1)},showInitialSuggestions:l,allowDirectEntry:!r,showSuggestions:c,suggestionsQuery:m,withURLSuggestion:!f,createSuggestionButtonText:g},Object(i.createElement)("div",{className:"block-editor-link-control__search-actions"},Object(i.createElement)(p.Button,{type:"submit",label:Object(j.__)("Submit"),icon:hb.a,className:"block-editor-link-control__search-submit"})))),B&&Object(i.createElement)(p.Notice,{className:"block-editor-link-control__search-error",status:"error",isDismissible:!1},B)),t&&!y&&!w&&Object(i.createElement)(Rb,{value:t,onEditClick:()=>E(!0)}),Object(i.createElement)(jb,{value:t,settings:n,onChange:o}))}Mb.ViewerFill=Lb;var Db=Mb,Fb=n("rH4q"),Vb=n("NTP4");var Hb=Object(p.withFilters)("editor.MediaUpload")(()=>null);var zb=function({fallback:e=null,children:t}){return Object(f.useSelect)(e=>{const{getSettings:t}=e(Rn);return!!t().mediaUpload},[])?t:e};var Gb=Object(d.compose)([Object(f.withDispatch)(e=>{const{createNotice:t,removeNotice:n}=e(Pa.store);return{createNotice:t,removeNotice:n}}),Object(p.withFilters)("editor.MediaReplaceFlow")])(({mediaURL:e,mediaId:t,allowedTypes:n,accept:o,onSelect:r,onSelectURL:c,onFilesUpload:l=u.noop,name:a=Object(j.__)("Replace"),createNotice:s,removeNotice:d})=>{const[b,m]=Object(i.useState)(e),g=Object(f.useSelect)(e=>e(Rn).getSettings().mediaUpload,[]),h=Object(i.createRef)(),O=Object(u.uniqueId)("block-editor/media-replace-flow/error-notice/"),v=e=>{const t=document.createElement("div");t.innerHTML=Object(i.renderToString)(e);const n=t.textContent||t.innerText||"";setTimeout(()=>{s("error",n,{speak:!0,id:O,isDismissible:!0})},1e3)},k=e=>{r(e),m(e.url),Object(Ct.speak)(Object(j.__)("The media file has been replaced")),d(O)},_=e=>{e.keyCode===$r.DOWN&&(e.preventDefault(),e.stopPropagation(),e.target.click())};return Object(i.createElement)(p.Dropdown,{popoverProps:{isAlternate:!0},contentClassName:"block-editor-media-replace-flow__options",renderToggle:({isOpen:e,onToggle:t})=>Object(i.createElement)(p.ToolbarButton,{ref:h,"aria-expanded":e,"aria-haspopup":"true",onClick:t,onKeyDown:_},a),renderContent:({onClose:e})=>Object(i.createElement)(i.Fragment,null,Object(i.createElement)(p.NavigableMenu,{className:"block-editor-media-replace-flow__media-upload-menu"},Object(i.createElement)(Hb,{value:t,onSelect:e=>k(e),allowedTypes:n,render:({open:e})=>Object(i.createElement)(p.MenuItem,{icon:Fb.a,onClick:e},Object(j.__)("Open Media Library"))}),Object(i.createElement)(zb,null,Object(i.createElement)(p.FormFileUpload,{onChange:e=>{(e=>{const t=e.target.files;l(t);g({allowedTypes:n,filesList:t,onFileChange:([e])=>{k(e)},onError:v})})(e)},accept:o,render:({openFileDialog:e})=>Object(i.createElement)(p.MenuItem,{icon:Vb.a,onClick:()=>{e()}},Object(j.__)("Upload"))}))),c&&Object(i.createElement)("form",{className:"block-editor-media-flow__url-input",onKeyDown:e=>{[$r.TAB,$r.ESCAPE].includes(e.keyCode)||e.stopPropagation()},onKeyPress:e=>{[$r.TAB,$r.ESCAPE].includes(e.keyCode)||e.stopPropagation()}},Object(i.createElement)("span",{className:"block-editor-media-replace-flow__image-url-label"},Object(j.__)("Current media URL:")),Object(i.createElement)(Db,{value:{url:b},settings:[],showSuggestions:!1,onChange:({url:e})=>{m(e),c(e),h.current.focus()}})))})}),Ub=n("B9Az");function Wb({url:e,urlLabel:t,className:n}){const o=s()(n,"block-editor-url-popover__link-viewer-url");return e?Object(i.createElement)(p.ExternalLink,{className:o,href:e},t||Object(Va.filterURLForDisplay)(Object(Va.safeDecodeURI)(e))):Object(i.createElement)("span",{className:o})}function Kb({additionalControls:e,children:t,renderSettings:n,position:o="bottom center",focusOnMount:r="firstElement",...c}){const[a,s]=Object(i.useState)(!1),u=!!n&&a;return Object(i.createElement)(p.Popover,Object(l.a)({className:"block-editor-url-popover",focusOnMount:r,position:o},c),Object(i.createElement)("div",{className:"block-editor-url-popover__input-container"},Object(i.createElement)("div",{className:"block-editor-url-popover__row"},t,!!n&&Object(i.createElement)(p.Button,{className:"block-editor-url-popover__settings-toggle",icon:Oi.a,label:Object(j.__)("Link settings"),onClick:()=>{s(!a)},"aria-expanded":a})),u&&Object(i.createElement)("div",{className:"block-editor-url-popover__row block-editor-url-popover__settings"},n())),e&&!u&&Object(i.createElement)("div",{className:"block-editor-url-popover__additional-controls"},e))}Kb.LinkEditor=function({autocompleteRef:e,className:t,onChangeInputValue:n,value:o,...r}){return Object(i.createElement)("form",Object(l.a)({className:s()("block-editor-url-popover__link-editor",t)},r),Object(i.createElement)(kb,{value:o,onChange:n,autocompleteRef:e}),Object(i.createElement)(p.Button,{icon:hb.a,label:Object(j.__)("Apply"),type:"submit"}))},Kb.LinkViewer=function({className:e,linkClassName:t,onEditLinkClick:n,url:o,urlLabel:r,...c}){return Object(i.createElement)("div",Object(l.a)({className:s()("block-editor-url-popover__link-viewer",e)},c),Object(i.createElement)(Wb,{url:o,urlLabel:r,className:t}),n&&Object(i.createElement)(p.Button,{icon:Ub.a,label:Object(j.__)("Edit"),onClick:n}))};var qb=Kb;const $b=({src:e,onChange:t,onSubmit:n,onClose:o})=>Object(i.createElement)(qb,{onClose:o},Object(i.createElement)("form",{className:"block-editor-media-placeholder__url-input-form",onSubmit:n},Object(i.createElement)("input",{className:"block-editor-media-placeholder__url-input-field",type:"url","aria-label":Object(j.__)("URL"),placeholder:Object(j.__)("Paste or type URL"),onChange:t,value:e}),Object(i.createElement)(p.Button,{className:"block-editor-media-placeholder__url-input-submit-button",icon:hb.a,label:Object(j.__)("Apply"),type:"submit"})));var Yb=Object(p.withFilters)("editor.MediaPlaceholder")((function({value:e={},allowedTypes:t,className:n,icon:o,labels:r={},mediaPreview:c,notices:l,isAppender:a,accept:d,addToGallery:b,multiple:m=!1,dropZoneUIOnly:g,disableDropZone:h,disableMediaButtons:O,onError:v,onSelect:k,onCancel:_,onSelectURL:y,onDoubleClick:E,onFilesPreUpload:C=u.noop,onHTMLDrop:S=u.noop,children:w}){const B=Object(f.useSelect)(e=>{const{getSettings:t}=e(Rn);return t().mediaUpload},[]),[I,x]=Object(i.useState)(""),[T,N]=Object(i.useState)(!1);Object(i.useEffect)(()=>{var t;x(null!==(t=null==e?void 0:e.src)&&void 0!==t?t:"")},[null==e?void 0:e.src]);const P=e=>{x(e.target.value)},L=()=>{N(!0)},R=()=>{N(!1)},A=e=>{e.preventDefault(),I&&y&&(y(I),R())},M=n=>{let o;if(C(n),m)if(b){let t=[];o=n=>{const o=(null!=e?e:[]).filter(e=>e.id?!t.some(({id:t})=>Number(t)===Number(e.id)):!t.some(({urlSlug:t})=>e.url.includes(t)));k(o.concat(n)),t=n.map(e=>{const t=e.url.lastIndexOf("."),n=e.url.slice(0,t);return{id:e.id,urlSlug:n}})}}else o=k;else o=([e])=>k(e);B({allowedTypes:t,filesList:n,onFileChange:o,onError:v})},D=e=>{M(e.target.files)},F=(e,u)=>{let{instructions:d,title:b}=r;if(B||y||(d=Object(j.__)("To edit this block, you need permission to upload media.")),void 0===d||void 0===b){const e=null!=t?t:[],[n]=e,o=1===e.length,r=o&&"audio"===n,c=o&&"image"===n,l=o&&"video"===n;void 0===d&&B&&(d=Object(j.__)("Upload a media file or pick one from your media library."),r?d=Object(j.__)("Upload an audio file, pick one from your media library, or add one with a URL."):c?d=Object(j.__)("Upload an image file, pick one from your media library, or add one with a URL."):l&&(d=Object(j.__)("Upload a video file, pick one from your media library, or add one with a URL."))),void 0===b&&(b=Object(j.__)("Media"),r?b=Object(j.__)("Audio"):c?b=Object(j.__)("Image"):l&&(b=Object(j.__)("Video")))}const m=s()("block-editor-media-placeholder",n,{"is-appender":a});return Object(i.createElement)(p.Placeholder,{icon:o,label:b,instructions:d,className:m,notices:l,onClick:u,onDoubleClick:E,preview:c},e,w)},V=()=>h?null:Object(i.createElement)(p.DropZone,{onFilesDrop:M,onHTMLDrop:S}),H=()=>_&&Object(i.createElement)(p.Button,{className:"block-editor-media-placeholder__cancel-button",title:Object(j.__)("Cancel"),isLink:!0,onClick:_},Object(j.__)("Cancel")),z=()=>y&&Object(i.createElement)("div",{className:"block-editor-media-placeholder__url-input-container"},Object(i.createElement)(p.Button,{className:"block-editor-media-placeholder__button",onClick:L,isPressed:T,isTertiary:!0},Object(j.__)("Insert from URL")),T&&Object(i.createElement)($b,{src:I,onChange:P,onSubmit:A,onClose:R}));return g||O?(g&&wt()("wp.blockEditor.MediaPlaceholder dropZoneUIOnly prop",{since:"5.4",alternative:"disableMediaButtons"}),Object(i.createElement)(zb,null,V())):Object(i.createElement)(zb,{fallback:F(z())},(()=>{const n=Object(i.createElement)(Hb,{addToGallery:b,gallery:m&&!(!t||0===t.length)&&t.every(e=>"image"===e||e.startsWith("image/")),multiple:m,onSelect:k,allowedTypes:t,value:Array.isArray(e)?e.map(({id:e})=>e):e.id,render:({open:e})=>Object(i.createElement)(p.Button,{isTertiary:!0,onClick:t=>{t.stopPropagation(),e()}},Object(j.__)("Media Library"))});if(B&&a)return Object(i.createElement)(i.Fragment,null,V(),Object(i.createElement)(p.FormFileUpload,{onChange:D,accept:d,multiple:m,render:({openFileDialog:e})=>{const t=Object(i.createElement)(i.Fragment,null,Object(i.createElement)(p.Button,{isPrimary:!0,className:s()("block-editor-media-placeholder__button","block-editor-media-placeholder__upload-button")},Object(j.__)("Upload")),n,z(),H());return F(t,e)}}));if(B){const e=Object(i.createElement)(i.Fragment,null,V(),Object(i.createElement)(p.FormFileUpload,{isPrimary:!0,className:s()("block-editor-media-placeholder__button","block-editor-media-placeholder__upload-button"),onChange:D,accept:d,multiple:m},Object(j.__)("Upload")),n,z(),H());return F(e)}return F(n)})())}));const Xb=Object(i.forwardRef)((e,t)=>Object(i.createElement)(hd,Object(l.a)({ref:t},e,{__unstableDisableFormats:!0,preserveWhiteSpace:!0})));Xb.Content=({value:e="",tagName:t="div",...n})=>Object(i.createElement)(t,n,e);var Qb=Xb;var Zb=Object(i.forwardRef)(({__experimentalVersion:e,...t},n)=>{if(2===e)return Object(i.createElement)(Qb,Object(l.a)({ref:n},t));const{className:o,onChange:r,...c}=t;return Object(i.createElement)(Fi.a,Object(l.a)({ref:n,className:s()("block-editor-plain-text",o),onChange:e=>r(e.target.value)},c))});function Jb({property:e,viewport:t,desc:n}){const o=Object(d.useInstanceId)(Jb),r=n||Object(j.sprintf)(Object(j._x)("Controls the %1$s property for %2$s viewports.","Text labelling a interface as controlling a given layout property (eg: margin) for a given screen size."),e,t.label);return Object(i.createElement)(i.Fragment,null,Object(i.createElement)("span",{"aria-describedby":"rbc-desc-"+o},t.label),Object(i.createElement)(p.VisuallyHidden,{as:"span",id:"rbc-desc-"+o},r))}var em=function(e){const{title:t,property:n,toggleLabel:o,onIsResponsiveChange:r,renderDefaultControl:c,renderResponsiveControls:l,isResponsive:a=!1,defaultLabel:u={id:"all",label:Object(j.__)("All")},viewports:d=[{id:"small",label:Object(j.__)("Small screens")},{id:"medium",label:Object(j.__)("Medium screens")},{id:"large",label:Object(j.__)("Large screens")}]}=e;if(!t||!n||!c)return null;const b=o||Object(j.sprintf)(Object(j.__)("Use the same %s on all screensizes."),n),m=Object(j.__)("Toggle between using the same value for all screen sizes or using a unique value per screen size."),f=c(Object(i.createElement)(Jb,{property:n,viewport:u}),u);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)(p.ToggleControl,{className:"block-editor-responsive-block-control__toggle",label:b,checked:!a,onChange:r,help:m}),Object(i.createElement)("div",{className:s()("block-editor-responsive-block-control__group",{"is-responsive":a})},!a&&f,a&&(l?l(d):d.map(e=>Object(i.createElement)(i.Fragment,{key:e.id},c(Object(i.createElement)(Jb,{property:n,viewport:e}),e)))))))};function tm({character:e,type:t,onUse:n}){return Object(d.useKeyboardShortcut)($r.rawShortcut[t](e),()=>(n(),!1),{bindGlobal:!0}),null}function nm({name:e,shortcutType:t,shortcutCharacter:n,...o}){let r,c="RichText.ToolbarControls";return e&&(c+="."+e),t&&n&&(r=$r.displayShortcut[t](n)),Object(i.createElement)(p.Fill,{name:c},Object(i.createElement)(p.ToolbarButton,Object(l.a)({},o,{shortcut:r})))}class om extends i.Component{constructor(){super(...arguments),this.onInput=this.onInput.bind(this)}onInput(e){e.inputType===this.props.inputType&&this.props.onInput()}componentDidMount(){document.addEventListener("input",this.onInput,!0)}componentWillUnmount(){document.removeEventListener("input",this.onInput,!0)}render(){return null}}const rm=Object(i.createElement)(p.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(i.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 cm=Object(i.forwardRef)((function(e,t){const n=Object(f.useSelect)(e=>e(Rn).isNavigationMode(),[]),{setNavigationMode:o}=Object(f.useDispatch)(Rn),r=e=>{o("edit"!==e)};return Object(i.createElement)(p.Dropdown,{renderToggle:({isOpen:o,onToggle:r})=>Object(i.createElement)(p.Button,Object(l.a)({},e,{ref:t,icon:n?rm:Ub.a,"aria-expanded":o,"aria-haspopup":"true",onClick:r,label:Object(j.__)("Tools")})),position:"bottom right",renderContent:()=>Object(i.createElement)(i.Fragment,null,Object(i.createElement)(p.NavigableMenu,{role:"menu","aria-label":Object(j.__)("Tools")},Object(i.createElement)(p.MenuItemsChoice,{value:n?"select":"edit",onSelect:r,choices:[{value:"edit",label:Object(i.createElement)(i.Fragment,null,Object(i.createElement)(Kc.a,{icon:Ub.a}),Object(j.__)("Edit"))},{value:"select",label:Object(i.createElement)(i.Fragment,null,rm,Object(j.__)("Select"))}]})),Object(i.createElement)("div",{className:"block-editor-tool-selector__help"},Object(j.__)("Tools provide different interactions for selecting, navigating, and editing blocks. Toggle between select and edit by pressing Escape and Enter.")))})}));function lm({units:e,...t}){const n=Object(p.__experimentalUseCustomUnits)({availableUnits:Bo("spacing.units")||["%","px","em","rem","vw"],units:e});return Object(i.createElement)(p.__experimentalUnitControl,Object(l.a)({units:n},t))}var im=n("Bpkj"),am=n("cjQ8");class sm 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(j.__)("Edit link"):Object(j.__)("Insert link");return Object(i.createElement)("div",{className:"block-editor-url-input__button"},Object(i.createElement)(p.Button,{icon:im.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)(p.Button,{className:"block-editor-url-input__back",icon:am.a,label:Object(j.__)("Close"),onClick:this.toggle}),Object(i.createElement)(kb,{value:e||"",onChange:t}),Object(i.createElement)(p.Button,{icon:hb.a,label:Object(j.__)("Submit"),type:"submit"}))))}}var um=sm,dm=n("w95h");const bm=["noreferrer","noopener"],mm=Object(i.createElement)(p.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(i.createElement)(p.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(i.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"}),Object(i.createElement)(p.Path,{d:"m14.14 11.86l-3 3.87-2.14-2.59-3 3.86h12l-3.86-5.14z"})),pm=({linkDestination:e,onChangeUrl:t,url:n,mediaType:o="image",mediaUrl:r,mediaLink:c,linkTarget:l,linkClass:a,rel:s})=>{const[d,b]=Object(i.useState)(!1),m=Object(i.useCallback)(()=>{b(!0)}),[f,g]=Object(i.useState)(!1),[h,O]=Object(i.useState)(null),v=Object(i.useRef)(null),k=Object(i.useCallback)(()=>{"media"!==e&&"attachment"!==e||O(""),g(!0)}),_=Object(i.useCallback)(()=>{g(!1)}),y=Object(i.useCallback)(()=>{O(null),_(),b(!1)}),E=e=>{let t=e;return void 0===e||Object(u.isEmpty)(t)||Object(u.isEmpty)(t)||(Object(u.each)(bm,e=>{const n=new RegExp("\\b"+e+"\\b","gi");t=t.replace(n,"")}),t!==e&&(t=t.trim()),Object(u.isEmpty)(t)&&(t=void 0)),t},C=Object(i.useCallback)(()=>e=>{const t=v.current;t&&t.contains(e.target)||(b(!1),O(null),_())}),S=Object(i.useCallback)(()=>e=>{if(h){var n;const e=(null===(n=B().find(e=>e.url===h))||void 0===n?void 0:n.linkDestination)||"custom";t({href:h,linkDestination:e})}_(),O(null),e.preventDefault()}),w=Object(i.useCallback)(()=>{t({linkDestination:"none",href:""})}),B=()=>{const e=[{linkDestination:"media",title:Object(j.__)("Media File"),url:"image"===o?r:void 0,icon:mm}];return"image"===o&&c&&e.push({linkDestination:"attachment",title:Object(j.__)("Attachment Page"),url:"image"===o?c:void 0,icon:Object(i.createElement)(p.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(i.createElement)(p.Path,{d:"M0 0h24v24H0V0z",fill:"none"}),Object(i.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},I=Object(i.createElement)(i.Fragment,null,Object(i.createElement)(p.ToggleControl,{label:Object(j.__)("Open in new tab"),onChange:e=>{const n=(e=>{const t=e?"_blank":void 0;let n;return n=t||s?E(s):void 0,{linkTarget:t,rel:n}})(e);t(n)},checked:"_blank"===l}),Object(i.createElement)(p.TextControl,{label:Object(j.__)("Link Rel"),value:E(s)||"",onChange:e=>{t({rel:e})}}),Object(i.createElement)(p.TextControl,{label:Object(j.__)("Link CSS Class"),value:a||"",onChange:e=>{t({linkClass:e})}})),x=null!==h?h:n,T=(Object(u.find)(B(),["linkDestination",e])||{}).title;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(p.ToolbarButton,{icon:im.a,className:"components-toolbar__control",label:n?Object(j.__)("Edit link"):Object(j.__)("Insert link"),"aria-expanded":d,onClick:m}),d&&Object(i.createElement)(qb,{onFocusOutside:C(),onClose:y,renderSettings:()=>I,additionalControls:!x&&Object(i.createElement)(p.NavigableMenu,null,Object(u.map)(B(),e=>Object(i.createElement)(p.MenuItem,{key:e.linkDestination,icon:e.icon,onClick:()=>{O(null),(e=>{const n=B();let o;o=e?(Object(u.find)(n,t=>t.url===e)||{linkDestination:"custom"}).linkDestination:"none",t({linkDestination:o,href:e})})(e.url),_()}},e.title)))},(!n||f)&&Object(i.createElement)(qb.LinkEditor,{className:"block-editor-format-toolbar__link-container-content",value:x,onChangeInputValue:O,onSubmit:S(),autocompleteRef:v}),n&&!f&&Object(i.createElement)(i.Fragment,null,Object(i.createElement)(qb.LinkViewer,{className:"block-editor-format-toolbar__link-container-content",url:n,onEditLinkClick:k,urlLabel:T}),Object(i.createElement)(p.Button,{icon:dm.a,label:Object(j.__)("Remove link"),onClick:w}))))};var fm=n("RMJe");function gm({children:e,className:t,isEnabled:n=!0,deviceType:o,setDeviceType:r}){if(Object(d.useViewportMatch)("small","<"))return null;const c={className:s()(t,"block-editor-post-preview__dropdown-content"),position:"bottom left"},l={isTertiary:!0,className:"block-editor-post-preview__button-toggle",disabled:!n,children:Object(j.__)("Preview")};return Object(i.createElement)(p.DropdownMenu,{className:"block-editor-post-preview__dropdown",popoverProps:c,toggleProps:l,icon:null},()=>Object(i.createElement)(i.Fragment,null,Object(i.createElement)(p.MenuGroup,null,Object(i.createElement)(p.MenuItem,{className:"block-editor-post-preview__button-resize",onClick:()=>r("Desktop"),icon:"Desktop"===o&&fm.a},Object(j.__)("Desktop")),Object(i.createElement)(p.MenuItem,{className:"block-editor-post-preview__button-resize",onClick:()=>r("Tablet"),icon:"Tablet"===o&&fm.a},Object(j.__)("Tablet")),Object(i.createElement)(p.MenuItem,{className:"block-editor-post-preview__button-resize",onClick:()=>r("Mobile"),icon:"Mobile"===o&&fm.a},Object(j.__)("Mobile"))),e))}var hm=n("6fKw");const Om=/\((min|max)-width:[^\(]*?\)/g;function jm(e){return!!e.media&&!!e.media.mediaText.match(Om)}function vm(e,t,n){e.deleteRule(n),e.insertRule(t,n)}function km(e,t){return e.replace(Om,e=>Object(hm.match)(e,{type:"screen",width:t})?"(min-width:0px)":"(min-width:999999px)")}function _m(e,t){Object(i.useEffect)(()=>{if(!t)return;const n="undefined"==typeof window?[]:Object(u.filter)(null!==(o=null===(r=window)||void 0===r||null===(c=r.document)||void 0===c?void 0:c.styleSheets)&&void 0!==o?o:[],e=>!!e.href&&Object(Va.getProtocol)(e.href)===window.location.protocol&&Object(Va.getAuthority)(e.href)===window.location.host);var o,r,c;const l=[];return n.forEach((n,o)=>{let r=!1;for(let c=0;c<n.cssRules.length;++c){const i=n.cssRules[c];if(i.type!==window.CSSRule.STYLE_RULE&&i.type!==window.CSSRule.MEDIA_RULE)continue;if(!r&&i.cssText.match(new RegExp("#start-"+e))&&(r=!0),r&&i.cssText.match(new RegExp("#end-"+e))&&(r=!1),!r||!jm(i))continue;const a=i.cssText;l[o]||(l[o]=[]),l[o][c]=a,vm(n,km(a,t),c)}}),()=>{l.forEach((e,t)=>{if(e)for(let o=0;o<e.length;++o){const r=e[o];r&&vm(n[t],r,o)}})}},[t])}function ym(e,t){const[n,o]=Object(i.useState)(window.innerWidth);Object(i.useEffect)(()=>{if("Desktop"===e)return;const t=()=>o(window.innerWidth);return window.addEventListener("resize",t),()=>{window.removeEventListener("resize",t)}},[e]);const r=e=>{let t;switch(e){case"Tablet":t=780;break;case"Mobile":t=360;break;default:return null}return t<n?t:n};return _m("resizable-editor-section",t?null:r(e)),(e=>{const t="Mobile"===e?"768px":"1024px";switch(e){case"Tablet":case"Mobile":return{width:r(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 Em=Object(f.withSelect)(e=>({selectedBlockClientId:e(Rn).getBlockSelectionStart()}))(({selectedBlockClientId:e})=>{const t=vr(e);return e?Object(i.createElement)(p.Button,{isSecondary:!0,className:"block-editor-skip-to-selected-block",onClick:()=>{t.current.focus()}},Object(j.__)("Skip to the selected block")):null}),Cm=n("7fqt");var Sm=Object(f.withSelect)(e=>{const{getMultiSelectedBlocks:t}=e(Rn);return{blocks:t()}})((function({blocks:e}){const t=Object(Cm.count)(Object(m.serialize)(e),"words");return Object(i.createElement)("div",{className:"block-editor-multi-selection-inspector__card"},Object(i.createElement)(Fl,{icon:Ts,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(j.sprintf)(Object(j._n)("%d block","%d blocks",e.length),e.length)),Object(i.createElement)("div",{className:"block-editor-multi-selection-inspector__card-description"},Object(j.sprintf)(Object(j._n)("%d word","%d words",t),t))))}));function wm({blockName:e}){const{preferredStyle:t,onUpdatePreferredStyleVariations:n,styles:o}=Object(f.useSelect)(t=>{var n,o;const r=t(Rn).getSettings().__experimentalPreferredStyleVariations;return{preferredStyle:null==r||null===(n=r.value)||void 0===n?void 0:n[e],onUpdatePreferredStyleVariations:null!==(o=null==r?void 0:r.onChange)&&void 0!==o?o:null,styles:t(m.store).getBlockStyles(e)}},[e]),r=Object(i.useMemo)(()=>[{label:Object(j.__)("Not set"),value:""},...o.map(({label:e,name:t})=>({label:e,value:t}))],[o]),c=Object(i.useCallback)(t=>{n(e,t)},[e,n]);return n&&Object(i.createElement)(p.SelectControl,{options:r,value:t||"",label:Object(j.__)("Default Style"),onChange:c})}const Bm=({clientId:e,blockName:t,hasBlockStyles:n,bubblesVirtually:o})=>{const r=ql(e);return Object(i.createElement)("div",{className:"block-editor-block-inspector"},Object(i.createElement)(da,r),Object(i.createElement)(Pd,{blockClientId:e}),n&&Object(i.createElement)("div",null,Object(i.createElement)(p.PanelBody,{title:Object(j.__)("Styles")},Object(i.createElement)(As,{clientId:e}),Object(m.hasBlockSupport)(t,"defaultStylePicker",!0)&&Object(i.createElement)(wm,{blockName:t}))),Object(i.createElement)(ko.Slot,{bubblesVirtually:o}),Object(i.createElement)("div",null,Object(i.createElement)(Im,{slotName:ho.slotName,bubblesVirtually:o})),Object(i.createElement)(Em,{key:"back"}))},Im=({slotName:e,bubblesVirtually:t})=>{const n=Object(p.__experimentalUseSlot)(e);return Boolean(n.fills&&n.fills.length)?Object(i.createElement)(p.PanelBody,{className:"block-editor-block-inspector__advanced",title:Object(j.__)("Advanced"),initialOpen:!1},Object(i.createElement)(ho.Slot,{bubblesVirtually:t})):null};var xm=({showNoBlockSelectedMessage:e=!0,bubblesVirtually:t=!0})=>{const{count:n,hasBlockStyles:o,selectedBlockName:r,selectedBlockClientId:c,blockType:l}=Object(f.useSelect)(e=>{const{getSelectedBlockClientId:t,getSelectedBlockCount:n,getBlockName:o}=e(Rn),{getBlockStyles:r}=e(m.store),c=t(),l=c&&o(c),i=l&&Object(m.getBlockType)(l),a=l&&r(l);return{count:n(),selectedBlockClientId:c,selectedBlockName:l,blockType:i,hasBlockStyles:a&&a.length>0}},[]);if(n>1)return Object(i.createElement)("div",{className:"block-editor-block-inspector"},Object(i.createElement)(Sm,null),Object(i.createElement)(ko.Slot,{bubblesVirtually:t}));const a=r===Object(m.getUnregisteredTypeHandlerName)();return l&&c&&!a?Object(i.createElement)(Bm,{clientId:c,blockName:l.name,hasBlockStyles:o,bubblesVirtually:t}):e?Object(i.createElement)("span",{className:"block-editor-block-inspector__no-blocks"},Object(j.__)("No block selected.")):null};function Tm({children:e,__unstableContentRef:t}){const n=Object(d.useViewportMatch)("medium"),o=Object(f.useSelect)(e=>e(Rn).getSettings().hasFixedToolbar,[]);return Object(i.createElement)(fs,{__unstableContentRef:t},(o||!n)&&Object(i.createElement)(mu,{isFixed:!0}),Object(i.createElement)(hu,{__unstableContentRef:t}),Object(i.createElement)(p.Popover.Slot,{name:"block-toolbar",ref:bs(t)}),e)}var Nm=n("eGrx"),Pm=n.n(Nm);const Lm=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g;var Rm=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),m(),t}}function l(e){this.start=e,this.end={line:n,column:o},this.source=t.source}l.prototype.content=e;const i=[];function a(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;i.push(c)}function s(){return b(/^{\s*/)}function u(){return b(/^}/)}function d(){let t;const n=[];for(m(),p(n);e.length&&"}"!==e.charAt(0)&&(t=E()||C());)!1!==t&&(n.push(t),p(n));return n}function b(t){const n=t.exec(e);if(!n)return;const o=n[0];return r(o),e=e.slice(o.length),n}function m(){b(/^\s*/)}function p(e){let t;for(e=e||[];t=f();)!1!==t&&e.push(t);return e}function f(){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 a("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 g(){const e=b(/^([^{]+)/);if(e)return Am(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 h(){const e=c();let t=b(/^(\*?[-#\/\*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(!t)return;if(t=Am(t[0]),!b(/^:\s*/))return a("property missing ':'");const n=b(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^\)]*?\)|[^};])+)/),o=e({type:"declaration",property:t.replace(Lm,""),value:n?Am(n[0]).replace(Lm,""):""});return b(/^[;\s]*/),o}function O(){const e=[];if(!s())return a("missing '{'");let t;for(p(e);t=h();)!1!==t&&(e.push(t),p(e));return u()?e:a("missing '}'")}function j(){let e;const t=[],n=c();for(;e=b(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)t.push(e[1]),b(/^,\s*/);if(t.length)return n({type:"keyframe",values:t,declarations:O()})}const v=y("import"),k=y("charset"),_=y("namespace");function y(e){const t=new RegExp("^@"+e+"\\s*([^;]+);");return function(){const n=c(),o=b(t);if(!o)return;const r={type:e};return r[e]=o[1].trim(),n(r)}}function E(){if("@"===e[0])return function(){const e=c();let t=b(/^@([-\w]+)?keyframes\s*/);if(!t)return;const n=t[1];if(t=b(/^([-\w]+)\s*/),!t)return a("@keyframes missing name");const o=t[1];if(!s())return a("@keyframes missing '{'");let r,l=p();for(;r=j();)l.push(r),l=l.concat(p());return u()?e({type:"keyframes",name:o,vendor:n,keyframes:l}):a("@keyframes missing '}'")}()||function(){const e=c(),t=b(/^@media *([^{]+)/);if(!t)return;const n=Am(t[1]);if(!s())return a("@media missing '{'");const o=p().concat(d());return u()?e({type:"media",media:n,rules:o}):a("@media missing '}'")}()||function(){const e=c(),t=b(/^@custom-media\s+(--[^\s]+)\s*([^{;]+);/);if(t)return e({type:"custom-media",name:Am(t[1]),media:Am(t[2])})}()||function(){const e=c(),t=b(/^@supports *([^{]+)/);if(!t)return;const n=Am(t[1]);if(!s())return a("@supports missing '{'");const o=p().concat(d());return u()?e({type:"supports",supports:n,rules:o}):a("@supports missing '}'")}()||v()||k()||_()||function(){const e=c(),t=b(/^@([-\w]+)?document *([^{]+)/);if(!t)return;const n=Am(t[1]),o=Am(t[2]);if(!s())return a("@document missing '{'");const r=p().concat(d());return u()?e({type:"document",document:o,vendor:n,rules:r}):a("@document missing '}'")}()||function(){const e=c();if(!b(/^@page */))return;const t=g()||[];if(!s())return a("@page missing '{'");let n,o=p();for(;n=h();)o.push(n),o=o.concat(p());return u()?e({type:"page",selectors:t,declarations:o}):a("@page missing '}'")}()||function(){const e=c();if(!b(/^@host\s*/))return;if(!s())return a("@host missing '{'");const t=p().concat(d());return u()?e({type:"host",rules:t}):a("@host missing '}'")}()||function(){const e=c();if(!b(/^@font-face\s*/))return;if(!s())return a("@font-face missing '{'");let t,n=p();for(;t=h();)n.push(t),n=n.concat(p());return u()?e({type:"font-face",declarations:n}):a("@font-face missing '}'")}()}function C(){const e=c(),t=g();return t?(p(),e({type:"rule",selectors:t,declarations:O()})):a("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=d();return{type:"stylesheet",stylesheet:{source:t.source,rules:e,parsingErrors:i}}}())};function Am(e){return e?e.replace(/^\s+|\s+$/g,""):""}var Mm=n("P7XM"),Dm=n.n(Mm),Fm=Vm;function Vm(e){this.options=e||{}}Vm.prototype.emit=function(e){return e},Vm.prototype.visit=function(e){return this[e.type](e)},Vm.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 Hm=zm;function zm(e){Fm.call(this,e)}Dm()(zm,Fm),zm.prototype.compile=function(e){return e.stylesheet.rules.map(this.visit,this).join("")},zm.prototype.comment=function(e){return this.emit("",e.position)},zm.prototype.import=function(e){return this.emit("@import "+e.import+";",e.position)},zm.prototype.media=function(e){return this.emit("@media "+e.media,e.position)+this.emit("{")+this.mapVisit(e.rules)+this.emit("}")},zm.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("}")},zm.prototype.charset=function(e){return this.emit("@charset "+e.charset+";",e.position)},zm.prototype.namespace=function(e){return this.emit("@namespace "+e.namespace+";",e.position)},zm.prototype.supports=function(e){return this.emit("@supports "+e.supports,e.position)+this.emit("{")+this.mapVisit(e.rules)+this.emit("}")},zm.prototype.keyframes=function(e){return this.emit("@"+(e.vendor||"")+"keyframes "+e.name,e.position)+this.emit("{")+this.mapVisit(e.keyframes)+this.emit("}")},zm.prototype.keyframe=function(e){const t=e.declarations;return this.emit(e.values.join(","),e.position)+this.emit("{")+this.mapVisit(t)+this.emit("}")},zm.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("}")},zm.prototype["font-face"]=function(e){return this.emit("@font-face",e.position)+this.emit("{")+this.mapVisit(e.declarations)+this.emit("}")},zm.prototype.host=function(e){return this.emit("@host",e.position)+this.emit("{")+this.mapVisit(e.rules)+this.emit("}")},zm.prototype["custom-media"]=function(e){return this.emit("@custom-media "+e.name+" "+e.media+";",e.position)},zm.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("}"):""},zm.prototype.declaration=function(e){return this.emit(e.property+":"+e.value,e.position)+this.emit(";")};var Gm=Um;function Um(e){e=e||{},Fm.call(this,e),this.indentation=e.indent}Dm()(Um,Fm),Um.prototype.compile=function(e){return this.stylesheet(e)},Um.prototype.stylesheet=function(e){return this.mapVisit(e.stylesheet.rules,"\n\n")},Um.prototype.comment=function(e){return this.emit(this.indent()+"/*"+e.comment+"*/",e.position)},Um.prototype.import=function(e){return this.emit("@import "+e.import+";",e.position)},Um.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}")},Um.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}")},Um.prototype.charset=function(e){return this.emit("@charset "+e.charset+";",e.position)},Um.prototype.namespace=function(e){return this.emit("@namespace "+e.namespace+";",e.position)},Um.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}")},Um.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)+"}")},Um.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")},Um.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}")},Um.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}")},Um.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}")},Um.prototype["custom-media"]=function(e){return this.emit("@custom-media "+e.name+" "+e.media+";",e.position)},Um.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()+"}"):""},Um.prototype.declaration=function(e){return this.emit(this.indent())+this.emit(e.property+": "+e.value,e.position)+this.emit(";")},Um.prototype.indent=function(e){return this.level=this.level||1,null!==e?(this.level+=e,""):Array(this.level).join(this.indentation||" ")};var Wm=function(e,t){try{const r=Rm(e),c=Pm.a.map(r,(function(e){if(!e)return e;const n=t(e);return this.update(n)}));return n=c,((o=o||{}).compress?new Hm(o):new Gm(o)).compile(n)}catch(e){return console.warn("Error while traversing the CSS: "+e),null}var n,o};function Km(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 qm(e,t){return new URL(e,t).toString()}var $m=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]};Km(e)&&o.push(e)}return o}(t.value).map((r=e,e=>({...e,newUrl:"url("+e.before+e.quote+qm(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 Ym=/^(body|html|:root).*$/;var Xm=(e,t=[])=>n=>{const o=n=>t.includes(n.trim())?n:n.match(Ym)?n.replace(/^(body|html|:root)/,e):e+" "+n;return"rule"===n.type?{...n,selectors:n.selectors.map(o)}:n};var Qm=(e,t="")=>Object(u.map)(e,({css:e,baseURL:n,__experimentalNoWrapper:o=!1})=>{const r=[];return t&&!o&&r.push(Xm(t)),n&&r.push($m(n)),r.length?Wm(e,Object(d.compose)(r)):e});function Zm(e){return Object(i.useCallback)(e=>{if(!e)return;const{ownerDocument:t}=e,{defaultView:n,body:o}=t,r=t.querySelector(".editor-styles-wrapper"),c=n.getComputedStyle(r,null).getPropertyValue("background-color");xo()(c).getLuminance()>.5?o.classList.remove("is-dark-theme"):o.classList.add("is-dark-theme")},[e])}function Jm({styles:e}){const t=Object(i.useMemo)(()=>Qm(e,".editor-styles-wrapper"),[e]);return Object(i.createElement)(i.Fragment,null,Object(i.createElement)("style",{ref:Zm(e)}),t.map((e,t)=>Object(i.createElement)("style",{key:t},e)))}var ep=function({rootClientId:e,clientId:t,isAppender:n,showInserterHelpPanel:o,showMostUsedBlocks:r=!1,__experimentalInsertionIndex:c,onSelect:l=u.noop,shouldFocusBlock:a=!1}){const s=Object(f.useSelect)(n=>{const{getBlockRootClientId:o}=n(Rn);return e||o(t)||void 0},[t,e]);return Object(i.createElement)(Ja,{onSelect:l,rootClientId:s,clientId:t,isAppender:n,showInserterHelpPanel:o,showMostUsedBlocks:r,__experimentalInsertionIndex:c,shouldFocusBlock:a})};function tp(){const{clientIds:e,rootClientId:t}=Object(f.useSelect)(e=>{const{getSelectedBlockClientIds:t,getBlockRootClientId:n}=e(Rn),o=t(),[r]=o;return{clientIds:o,rootClientId:n(r)}},[]),{duplicateBlocks:n,removeBlocks:o,insertAfterBlock:r,insertBeforeBlock:c,clearSelectedBlock:l,moveBlocksUp:a,moveBlocksDown:s}=Object(f.useDispatch)(Rn);return Object(js.useShortcut)("core/block-editor/move-up",Object(i.useCallback)(n=>{n.preventDefault(),a(e,t)},[e,a]),{bindGlobal:!0,isDisabled:0===e.length}),Object(js.useShortcut)("core/block-editor/move-down",Object(i.useCallback)(n=>{n.preventDefault(),s(e,t)},[e,s]),{bindGlobal:!0,isDisabled:0===e.length}),Object(js.useShortcut)("core/block-editor/duplicate",Object(i.useCallback)(t=>{t.preventDefault(),n(e)},[e,n]),{bindGlobal:!0,isDisabled:0===e.length}),Object(js.useShortcut)("core/block-editor/remove",Object(i.useCallback)(t=>{t.preventDefault(),o(e)},[e,o]),{bindGlobal:!0,isDisabled:0===e.length}),Object(js.useShortcut)("core/block-editor/insert-after",Object(i.useCallback)(t=>{t.preventDefault(),r(Object(u.last)(e))},[e,r]),{bindGlobal:!0,isDisabled:0===e.length}),Object(js.useShortcut)("core/block-editor/insert-before",Object(i.useCallback)(t=>{t.preventDefault(),c(Object(u.first)(e))},[e,c]),{bindGlobal:!0,isDisabled:0===e.length}),Object(js.useShortcut)("core/block-editor/delete-multi-selection",Object(i.useCallback)(t=>{t.preventDefault(),o(e)},[e,o]),{isDisabled:e.length<2}),Object(js.useShortcut)("core/block-editor/unselect",Object(i.useCallback)(e=>{e.preventDefault(),l(),e.target.ownerDocument.defaultView.getSelection().removeAllRanges()},[e,l]),{isDisabled:e.length<2}),null}tp.Register=function(){const{registerShortcut:e}=Object(f.useDispatch)(js.store);return Object(i.useEffect)(()=>{e({name:"core/block-editor/duplicate",category:"block",description:Object(j.__)("Duplicate the selected block(s)."),keyCombination:{modifier:"primaryShift",character:"d"}}),e({name:"core/block-editor/remove",category:"block",description:Object(j.__)("Remove the selected block(s)."),keyCombination:{modifier:"access",character:"z"}}),e({name:"core/block-editor/insert-before",category:"block",description:Object(j.__)("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(j.__)("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(j.__)("Remove multiple selected blocks."),keyCombination:{character:"del"},aliases:[{character:"backspace"}]}),e({name:"core/block-editor/select-all",category:"selection",description:Object(j.__)("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(j.__)("Clear selection."),keyCombination:{character:"escape"}}),e({name:"core/block-editor/focus-toolbar",category:"global",description:Object(j.__)("Navigate to the nearest toolbar."),keyCombination:{modifier:"alt",character:"F10"}}),e({name:"core/block-editor/move-up",category:"block",description:Object(j.__)("Move the selected block(s) up."),keyCombination:{modifier:"secondary",character:"t"}}),e({name:"core/block-editor/move-down",category:"block",description:Object(j.__)("Move the selected block(s) down."),keyCombination:{modifier:"secondary",character:"y"}})},[e]),null};var np=tp;function op(){return wt()("wp.blockEditor.MultiSelectScrollIntoView",{hint:"This behaviour is now built-in."}),null}const rp=new Set([$r.UP,$r.RIGHT,$r.DOWN,$r.LEFT,$r.ENTER,$r.BACKSPACE]);function cp(){const e=Object(f.useSelect)(e=>e(Rn).isTyping()),{stopTyping:t}=Object(f.useDispatch)(Rn);return Object(d.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 lp(){const e=Object(f.useSelect)(e=>e(Rn).isTyping()),{startTyping:t,stopTyping:n}=Object(f.useDispatch)(Rn),o=cp(),r=Object(d.useRefEffect)(o=>{const{ownerDocument:r}=o,{defaultView:c}=r;if(e){let e;function l(t){const{target:o}=t;e=c.setTimeout(()=>{Object(si.isTextField)(o)||n()})}function i(e){const{keyCode:t}=e;t!==$r.ESCAPE&&t!==$r.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(si.isTextField)(r)&&o.contains(r)&&("keydown"!==n||function(e){const{keyCode:t,shiftKey:n}=e;return!n&&rp.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(d.useMergeRefs)([o,r])}var ip=function({children:e}){return Object(i.createElement)("div",{ref:lp()},e)};function ap(){return wt()("PreserveScrollInReorder component",{since:"5.4",hint:"This behavior is now built-in the block list"}),null}const sp=-1!==window.navigator.userAgent.indexOf("Trident"),up=new Set([$r.UP,$r.DOWN,$r.LEFT,$r.RIGHT]);function dp(){const e=Object(f.useSelect)(e=>e(Rn).hasSelectedBlock());return Object(d.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({keyCode:e}){if(!m())return;const r=Object(si.computeCaretRect)(o);if(!r)return;if(!l)return void(l=r);if(up.has(e))return void(l=r);const c=r.top-l.top;if(0===c)return;const i=Object(si.getScrollContainer)(t);if(!i)return;const a=i===n.body,s=a?o.scrollY:i.scrollTop,u=a?0:i.getBoundingClientRect().top,d=a?l.top/o.innerHeight:(l.top-u)/(o.innerHeight-u);if(0===s&&d<.75&&function(){const e=t.querySelectorAll('[contenteditable="true"]');return e[e.length-1]===n.activeElement}())return void(l=r);const b=a?o.innerHeight:i.clientHeight;l.top+l.height>u+b||l.top<u?l=r:a?o.scrollBy(0,c):i.scrollTop+=c}function u(){n.addEventListener("selectionchange",d)}function d(){n.removeEventListener("selectionchange",d),b()}function b(){m()&&(l=Object(si.computeCaretRect)(o))}function m(){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 bp=sp?e=>e.children:function({children:e}){return Object(i.createElement)("div",{ref:dp(),className:"block-editor__typewriter"},e)};function mp(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 pp(e){const{isMultiSelecting:t,getMultiSelectedBlockClientIds:n,hasMultiSelection:o,getSelectedBlockClientId:r}=e(Rn);return{isMultiSelecting:t(),multiSelectedBlockClientIds:n(),hasMultiSelection:o(),selectedBlockClientId:r()}}function fp(){const e=Object(i.useRef)(),{isMultiSelecting:t,multiSelectedBlockClientIds:n,hasMultiSelection:o,selectedBlockClientId:r}=Object(f.useSelect)(pp,[]),{selectBlock:c}=Object(f.useDispatch)(Rn),l=vr(r),a=vr(Object(u.first)(n)),s=vr(Object(u.last)(n));return Object(i.useEffect)(()=>{const{ownerDocument:c}=e.current,{defaultView:i}=c;if(!o||t){if(!r||t)return;const e=i.getSelection();if(e.rangeCount&&!e.isCollapsed){const t=l.current,{startContainer:n,endContainer:o}=e.getRangeAt(0);!t||t.contains(n)&&t.contains(o)||e.removeAllRanges()}return}const{length:u}=n;if(u<2)return;e.current.focus();const d=i.getSelection(),b=c.createRange(),m=mp(a.current,"start"),p=mp(s.current,"end");var f,g;f=e.current,g=!1,Array.from(f.querySelectorAll(".rich-text")).forEach(e=>{g?e.setAttribute("contenteditable",!0):e.removeAttribute("contenteditable")}),b.setStartBefore(m),b.setEndAfter(p),d.removeAllRanges(),d.addRange(b)},[o,t,n,c,r]),e}const gp={position:"fixed"};function hp(e){const{tagName:t}=e;return"INPUT"===t||"BUTTON"===t||"SELECT"===t||"TEXTAREA"===t}function Op(e,t,n,o){let r,c=si.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(!si.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 jp(){const{getSelectedBlockClientId:e,getMultiSelectedBlocksStartClientId:t,getMultiSelectedBlocksEndClientId:n,getPreviousBlockClientId:o,getNextBlockClientId:r,getFirstMultiSelectedBlockClientId:c,getLastMultiSelectedBlockClientId:l,getSettings:i,hasMultiSelection:a}=Object(f.useSelect)(Rn),{multiSelect:s,selectBlock:u}=Object(f.useDispatch)(Rn);return Object(d.useRefEffect)(d=>{let b;function m(){b=null}function p(c){const l=e(),i=t(),a=n(),d=o(a||l),b=r(a||l),m=c?d:b;m&&(i===m?u(m):s(i||l,m))}function f(e){const t=c(),n=l(),o=e?t:n;o&&u(o)}function g(e,t){const n=Op(e,t,d);return!(n&&(o=e,r=n,o.closest(Hi)===r.closest(Hi)));var o,r}function h(t){const{keyCode:c,target:l}=t,s=c===$r.UP,u=c===$r.DOWN,m=c===$r.LEFT,h=c===$r.RIGHT,O=s||m,j=m||h,v=s||u,k=j||v,_=t.shiftKey,y=_||t.ctrlKey||t.altKey||t.metaKey,E=v?si.isVerticalEdge:si.isHorizontalEdge,{ownerDocument:C}=d,{defaultView:S}=C;if(a()){if(k){(_?p:f)(O),t.preventDefault()}return}if(v?b||(b=Object(si.computeCaretRect)(S)):b=null,t.defaultPrevented)return;if(!k)return;if(!function(e,t,n){if((t===$r.UP||t===$r.DOWN)&&!n)return!0;const{tagName:o}=e;return"INPUT"!==o&&"TEXTAREA"!==o}(l,c,y))return;const w=Object(si.isRTL)(l)?!O:O,{keepCaretInsideBlock:B}=i(),I=e();if(_){const e=n(),c=o(e||I),i=r(e||I);(O&&c||!O&&i)&&g(l,O)&&E(l,O)&&(p(O),t.preventDefault())}else if(v&&Object(si.isVerticalEdge)(l,O)&&!B){const e=Op(l,O,d,!0);e&&(Object(si.placeCaretAtVerticalEdge)(e,O,b),t.preventDefault())}else if(j&&S.getSelection().isCollapsed&&Object(si.isHorizontalEdge)(l,w)&&!B){const e=Op(l,w,d);Object(si.placeCaretAtHorizontalEdge)(e,O),t.preventDefault()}}return d.addEventListener("mousedown",m),d.addEventListener("keydown",h),()=>{d.removeEventListener("mousedown",m),d.removeEventListener("keydown",h)}},[])}function vp(){const e=Object(i.useRef)(),{getBlockOrder:t,getSelectedBlockClientIds:n,getBlockRootClientId:o}=Object(f.useSelect)(Rn),{multiSelect:r}=Object(f.useDispatch)(Rn),c=Object(i.useCallback)(e=>{const c=n();if(!c.length)return;if(1===c.length&&!Object(si.isEntirelySelected)(e.target))return;const[l]=c,i=o(l);let a=t(i);c.length===a.length&&(a=t(o(i)));const s=Object(u.first)(a),d=Object(u.last)(a);s!==d&&(r(s,d),e.preventDefault())},[]);return Object(js.useShortcut)("core/block-editor/select-all",c,{target:e}),e}function kp({children:e}){const[t,n,o]=function(){const e=Object(i.useRef)(),t=Object(i.useRef)(),n=Object(i.useRef)(),o=Object(i.useRef)(),{hasMultiSelection:r,getSelectedBlockClientId:c}=Object(f.useSelect)(Rn),{setNavigationMode:l}=Object(f.useDispatch)(Rn),a=Object(f.useSelect)(e=>e(Rn).isNavigationMode(),[])?void 0:"0",s=Object(i.useRef)();function u(t){if(s.current)s.current=null;else if(r())e.current.focus();else if(c())o.current.focus();else{l(!0);const n=t.target.compareDocumentPosition(e.current)&t.target.DOCUMENT_POSITION_FOLLOWING?"findNext":"findPrevious";si.focus.tabbable[n](t.target).focus()}}const b=Object(i.createElement)("div",{ref:t,tabIndex:a,onFocus:u,style:gp}),m=Object(i.createElement)("div",{ref:n,tabIndex:a,onFocus:u,style:gp}),p=Object(d.useRefEffect)(e=>{function i(e){if(e.keyCode===$r.ESCAPE&&!r())return e.stopPropagation(),void l(!0);if(e.keyCode!==$r.TAB)return;const o=e.shiftKey,i=o?"findPrevious":"findNext";if(!r()&&!c())return;if(hp(e.target)&&hp(si.focus.tabbable[i](e.target)))return;const a=o?t:n;s.current=!0,a.current.focus()}function a(e){o.current=e.target}return e.addEventListener("keydown",i),e.addEventListener("focusout",a),()=>{e.removeEventListener("keydown",i),e.removeEventListener("focusout",a)}},[]);return[b,Object(d.useMergeRefs)([e,p]),m]}(),r=Object(f.useSelect)(e=>e(Rn).hasMultiSelection(),[]);return Object(i.createElement)(i.Fragment,null,t,Object(i.createElement)("div",{ref:Object(d.useMergeRefs)([n,fp(),vp(),jp()]),className:"block-editor-writing-flow",tabIndex:r?"0":void 0,"aria-label":r?Object(j.__)("Multiple selected blocks"):void 0},e),o)}const _p=Object(u.overEvery)([si.isTextField,si.focus.tabbable.isTabbableIndex]);function yp(){return Object(d.useRefEffect)(e=>{function t(t){if(t.target!==e)return;const n=si.focus.focusable.find(e),o=Object(u.findLast)(n,_p);if(!o)return;const{bottom:r}=o.getBoundingClientRect();t.clientY<r||(Object(si.placeCaretAtHorizontalEdge)(o,!0),t.preventDefault())}return e.addEventListener("mousedown",t),()=>{e.addEventListener("mousedown",t)}},[])}function Ep(e){e.dir=document.dir,e.body.className="editor-styles-wrapper";for(const t of document.body.classList)t.startsWith("admin-color-")?e.body.classList.add(t):"wp-embed-responsive"===t&&e.body.classList.add("wp-embed-responsive")}function Cp(e){return Object(i.useMemo)(()=>{const t=document.implementation.createHTMLDocument("");return t.body.innerHTML=e,Array.from(t.body.children)},[e])}var Sp=Object(i.forwardRef)((function({contentRef:e,children:t,head:n,...o},r){const[c,a]=Object(i.useState)(),s=Cp(window.__editorAssets.styles),u=Cp(window.__editorAssets.scripts),b=ju(),m=Object(i.useCallback)(t=>{function n(){const{contentDocument:n}=t,{readyState:o,body:r,documentElement:c}=n;return("interactive"===o||"complete"===o)&&("function"==typeof e?e(r):e&&(e.current=r),Ep(n),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=["keydown","keypress","dragover"];for(const t of r)e.addEventListener(t,o)}(n),Ep(n),a(n),b(c),b(r),u.reduce((e,t)=>e.then(()=>async function(e,{id:t,src:n}){return new Promise((o,r)=>{const c=e.createElement("script");c.id=t,n?(c.src=n,c.onload=()=>o(),c.onerror=()=>r()):o(),e.head.appendChild(c)})}(n,t)),Promise.resolve()),!0)}t&&(n()||t.addEventListener("load",()=>{n()}))},[]);return Object(i.useEffect)(()=>{var e;c&&(e=c,Array.from(document.styleSheets).forEach(t=>{try{t.cssRules}catch(e){return}const{ownerNode:n,cssRules:o}=t;o&&Array.from(o).find(({selectorText:e})=>e&&(e.includes(".editor-styles-wrapper")||e.includes(".wp-block")))&&!e.getElementById(n.id)&&(console.error(`Stylesheet ${n.id} was not properly added.\nFor blocks, use the block API's style (https://developer.wordpress.org/block-editor/reference-guides/block-api/block-metadata/#style) or editorStyle (https://developer.wordpress.org/block-editor/reference-guides/block-api/block-metadata/#editor-style).\nFor themes, use add_editor_style (https://developer.wordpress.org/block-editor/how-to-guides/themes/theme-support/#editor-styles).`,n),e.head.appendChild(n.cloneNode(!0)))}))},[c]),n=Object(i.createElement)(i.Fragment,null,Object(i.createElement)("style",null,"body{margin:0}"),s.map(({tagName:e,href:t,id:n,rel:o,media:r},c)=>{const l=e.toLowerCase();return Object(i.createElement)(l,{href:t,id:n,rel:o,media:r,key:c})}),n),Object(i.createElement)("iframe",Object(l.a)({},o,{ref:Object(d.useMergeRefs)([r,m]),tabIndex:"0",title:Object(j.__)("Editor canvas"),name:"editor-canvas"}),c&&Object(i.createPortal)(Object(i.createElement)(p.__experimentalStyleProvider,{document:c},t),c.body),c&&Object(i.createPortal)(n,c.head))}));const wp=Object(i.createContext)({});function Bp(e,t=""){var n;const o=Object(i.useContext)(wp),{name:r}=O();t=t||r;const c=Boolean(null===(n=o[t])||void 0===n?void 0:n.has(e)),l=Object(i.useMemo)(()=>function(e,t,n){const o={...e,[t]:e[t]?new Set(e[t]):new Set};return o[t].add(n),o}(o,t,e),[o,t,e]);return[c,Object(i.useCallback)(({children:e})=>Object(i.createElement)(wp.Provider,{value:l},e),[l])]}function Ip(e){if(void 0===e)e=k.colors;else{const t=e.filter(e=>e.color);0===t.length?e=k.colors:t.length<e.length&&(e=t)}return e}function xp(e){if(void 0===e)e=k.gradients;else{const t=e.filter(e=>e.gradient);0===t.length?e=k.gradients:t.length<e.length&&(e=t)}return e}},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},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}))},xTGt:function(e,t){e.exports=window.wp.blob},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},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),m=o.offset(e),p=o.outerHeight(e),f=o.outerWidth(e),g=void 0,h=void 0,O=void 0,j=void 0,v=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(_)},v={left:m.left-y.left-s,top:m.top-y.top-a},k={left:m.left+f-(y.left+E)+d,top:m.top+p-(y.top+C)+u},j=y):(g=o.offset(t),h=t.clientHeight,O=t.clientWidth,j={left:t.scrollLeft,top:t.scrollTop},v={left:m.left-(g.left+(parseFloat(o.css(t,"borderLeftWidth"))||0))-s,top:m.top-(g.top+(parseFloat(o.css(t,"borderTopWidth"))||0))-a},k={left:m.left+f-(g.left+O+(parseFloat(o.css(t,"borderRightWidth"))||0))+d,top:m.top+p-(g.top+h+(parseFloat(o.css(t,"borderBottomWidth"))||0))+u}),v.top<0||k.top>0?!0===l?o.scrollTop(t,j.top+v.top):!1===l?o.scrollTop(t,j.top+k.top):v.top<0?o.scrollTop(t,j.top+v.top):o.scrollTop(t,j.top+k.top):c||((l=void 0===l||!!l)?o.scrollTop(t,j.top+v.top):o.scrollTop(t,j.top+k.top)),r&&(v.left<0||k.left>0?!0===i?o.scrollLeft(t,j.left+v.left):!1===i?o.scrollLeft(t,j.left+k.left):v.left<0?o.scrollLeft(t,j.left+v.left):o.scrollLeft(t,j.left+k.left):c||((i=void 0===i||!!i)?o.scrollLeft(t,j.left+v.left):o.scrollLeft(t,j.left+k.left)))}}}); \ No newline at end of file diff --git a/wp-includes/js/dist/block-library.js b/wp-includes/js/dist/block-library.js index 75b2ba7f0a..0b775281c8 100644 --- a/wp-includes/js/dist/block-library.js +++ b/wp-includes/js/dist/block-library.js @@ -2212,8 +2212,10 @@ const { color: { link: true }, - fontSize: true, - lineHeight: true, + typography: { + fontSize: true, + lineHeight: true + }, __experimentalSelector: "p", __unstablePasteTextInline: true }, @@ -2307,8 +2309,10 @@ const paragraph_metadata = { color: { link: true }, - fontSize: true, - lineHeight: true, + typography: { + fontSize: true, + lineHeight: true + }, __experimentalSelector: "p", __unstablePasteTextInline: true }, @@ -3932,7 +3936,6 @@ function (_super) { muted: true, className: index_module_classNames('reactEasyCrop_Video', objectFit === 'contain' && 'reactEasyCrop_Contain', objectFit === 'horizontal-cover' && 'reactEasyCrop_Cover_Horizontal', objectFit === 'vertical-cover' && 'reactEasyCrop_Cover_Vertical', mediaClassName) }, mediaProps, { - src: video, ref: function ref(el) { return _this.videoRef = el; }, @@ -3941,6 +3944,12 @@ function (_super) { 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, @@ -6377,8 +6386,11 @@ const { color: { link: true }, - fontSize: true, - lineHeight: true, + typography: { + fontSize: true, + lineHeight: true, + __experimentalFontWeight: true + }, __experimentalSelector: "h1,h2,h3,h4,h5,h6", __unstablePasteTextInline: true }, @@ -6521,8 +6533,11 @@ const heading_metadata = { color: { link: true }, - fontSize: true, - lineHeight: true, + typography: { + fontSize: true, + lineHeight: true, + __experimentalFontWeight: true + }, __experimentalSelector: "h1,h2,h3,h4,h5,h6", __unstablePasteTextInline: true }, @@ -10707,13 +10722,15 @@ const button_metadata = { __experimentalSkipSerialization: true, gradients: true }, - fontSize: true, + typography: { + fontSize: true, + __experimentalFontFamily: true + }, reusable: false, __experimentalBorder: { radius: true, __experimentalSkipSerialization: true }, - __experimentalFontFamily: true, __experimentalSelector: ".wp-block-button__link" }, styles: [{ @@ -10770,6 +10787,12 @@ const button_settings = { const ALLOWED_BLOCKS = [button_name]; const BUTTONS_TEMPLATE = [['core/button']]; +const LAYOUT = { + type: 'default', + alignments: [] +}; +const VERTICAL_JUSTIFY_CONTROLS = ['left', 'center', 'right']; +const HORIZONTAL_JUSTIFY_CONTROLS = ['left', 'center', 'right', 'space-between']; function ButtonsEdit({ attributes: { @@ -10788,13 +10811,10 @@ function ButtonsEdit({ allowedBlocks: ALLOWED_BLOCKS, template: BUTTONS_TEMPLATE, orientation, - __experimentalLayout: { - type: 'default', - alignments: [] - }, + __experimentalLayout: LAYOUT, templateInsertUpdatesSelection: true }); - const justifyControls = orientation === 'vertical' ? ['left', 'center', 'right'] : ['left', 'center', 'right', 'space-between']; + const justifyControls = orientation === 'vertical' ? VERTICAL_JUSTIFY_CONTROLS : HORIZONTAL_JUSTIFY_CONTROLS; return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockControls"], { group: "block" }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["JustifyContentControl"], { @@ -11433,7 +11453,9 @@ const code_metadata = { }, supports: { anchor: true, - fontSize: true + typography: { + fontSize: true + } }, style: "wp-block-code" }; @@ -19049,6 +19071,10 @@ function serializeForm(form) { // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/legacy-widget/edit/form.js +/** + * External dependencies + */ + /** * WordPress dependencies */ @@ -19056,6 +19082,9 @@ function serializeForm(form) { + + + /** * Internal dependencies */ @@ -19067,10 +19096,12 @@ function Form({ id, idBase, instance, + isWide, onChangeInstance, onChangeHasPreview }) { - const ref = Object(external_wp_element_["useRef"])(); // We only want to remount the control when the instance changes + 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 // *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. @@ -19115,7 +19146,26 @@ function Form({ control.destroy(); }; - }, [id, idBase, instance, onChangeInstance, onChangeHasPreview]); + }, [id, idBase, instance, onChangeInstance, onChangeHasPreview, isMediumLargeViewport]); + + if (isWide && isMediumLargeViewport) { + return Object(external_wp_element_["createElement"])("div", { + className: classnames_default()({ + 'wp-block-legacy-widget__container': isVisible + }) + }, isVisible && Object(external_wp_element_["createElement"])("h3", { + className: "wp-block-legacy-widget__edit-form-title" + }, title), Object(external_wp_element_["createElement"])(external_wp_components_["Popover"], { + focusOnMount: false, + position: "middle right", + __unstableForceXAlignment: true + }, Object(external_wp_element_["createElement"])("div", { + ref: ref, + className: "wp-block-legacy-widget__edit-form", + hidden: !isVisible + }))); + } + return Object(external_wp_element_["createElement"])("div", { ref: ref, className: "wp-block-legacy-widget__edit-form", @@ -19188,8 +19238,7 @@ function Preview({ // Ideally, we'd render a <ServerSideRender>. Maybe by // rendering one in an iframe via a portal. , - src: Object(external_wp_url_["addQueryArgs"])('themes.php', { - page: 'gutenberg-widgets', + src: Object(external_wp_url_["addQueryArgs"])('widgets.php', { 'legacy-widget-preview': { idBase, instance @@ -19252,6 +19301,10 @@ function ConvertToBlocksButton({ // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/legacy-widget/edit/index.js +/** + * External dependencies + */ + /** * WordPress dependencies */ @@ -19262,6 +19315,7 @@ function ConvertToBlocksButton({ + /** * Internal dependencies */ @@ -19277,7 +19331,15 @@ function Edit(props) { id, idBase } = props.attributes; - return Object(external_wp_element_["createElement"])("div", Object(external_wp_blockEditor_["useBlockProps"])(), !id && !idBase ? Object(external_wp_element_["createElement"])(Empty, props) : Object(external_wp_element_["createElement"])(NotEmpty, props)); + const { + isWide = false + } = props; + const blockProps = Object(external_wp_blockEditor_["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)); } function Empty({ @@ -19329,7 +19391,8 @@ function NotEmpty({ }, setAttributes, clientId, - isSelected + isSelected, + isWide = false }) { const [hasPreview, setHasPreview] = Object(external_wp_element_["useState"])(null); const { @@ -19393,6 +19456,7 @@ function NotEmpty({ id: id, idBase: idBase, instance: instance, + 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, { @@ -19752,7 +19816,9 @@ const loginout_metadata = { }, supports: { className: true, - fontSize: false + typography: { + fontSize: false + } } }; const { @@ -20365,7 +20431,10 @@ const list_metadata = { supports: { anchor: true, className: false, - fontSize: true, + typography: { + fontSize: true, + __experimentalFontFamily: true + }, color: { gradients: true }, @@ -21254,7 +21323,9 @@ const preformatted_metadata = { color: { gradients: true }, - fontSize: true + typography: { + fontSize: true + } }, style: "wp-block-preformatted" }; @@ -23101,6 +23172,7 @@ const group_deprecated_deprecated = [// Version of the block with the double div + function GroupEdit({ attributes, setAttributes, @@ -23133,18 +23205,27 @@ function GroupEdit({ contentSize, wideSize } = usedLayout; - const alignments = contentSize || wideSize ? ['wide', 'full'] : ['left', 'center', 'right']; + + const _layout = Object(external_wp_element_["useMemo"])(() => { + if (themeSupportsLayout) { + const alignments = contentSize || wideSize ? ['wide', 'full'] : ['left', 'center', 'right']; + return { + type: 'default', + // Find a way to inject this in the support flag code (hooks). + alignments + }; + } + + return undefined; + }, [themeSupportsLayout, contentSize, wideSize]); + const blockProps = Object(external_wp_blockEditor_["useBlockProps"])(); const innerBlocksProps = Object(external_wp_blockEditor_["__experimentalUseInnerBlocksProps"])(themeSupportsLayout ? blockProps : { className: 'wp-block-group__inner-container' }, { templateLock, renderAppender: hasInnerBlocks ? undefined : external_wp_blockEditor_["InnerBlocks"].ButtonBlockAppender, - __experimentalLayout: { - type: 'default', - // Find a way to inject this in the support flag code (hooks). - alignments: themeSupportsLayout ? alignments : undefined - } + __experimentalLayout: _layout }); return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorAdvancedControls"], null, Object(external_wp_element_["createElement"])(external_wp_components_["SelectControl"], { label: Object(external_wp_i18n_["__"])('HTML element'), @@ -25990,8 +26071,10 @@ const verse_metadata = { gradients: true, link: true }, - __experimentalFontFamily: true, - fontSize: true, + typography: { + fontSize: true, + __experimentalFontFamily: true + }, spacing: { padding: true } @@ -29469,10 +29552,12 @@ const site_tagline_metadata = { margin: true, padding: true }, - fontSize: true, - lineHeight: true, - __experimentalFontFamily: true, - __experimentalTextTransform: true + typography: { + fontSize: true, + lineHeight: true, + __experimentalFontFamily: true, + __experimentalTextTransform: true + } } }; @@ -29674,12 +29759,14 @@ const site_title_metadata = { padding: true, margin: true }, - fontSize: true, - lineHeight: true, - __experimentalFontFamily: true, - __experimentalTextTransform: true, - __experimentalFontStyle: true, - __experimentalFontWeight: true + typography: { + fontSize: true, + lineHeight: true, + __experimentalFontFamily: true, + __experimentalTextTransform: true, + __experimentalFontStyle: true, + __experimentalFontWeight: true + } } }; @@ -30305,15 +30392,24 @@ function QueryContent({ contentSize, wideSize } = usedLayout; - const alignments = contentSize || wideSize ? ['wide', 'full'] : ['left', 'center', 'right']; const blockProps = Object(external_wp_blockEditor_["useBlockProps"])(); + + const _layout = Object(external_wp_element_["useMemo"])(() => { + if (themeSupportsLayout) { + const alignments = contentSize || wideSize ? ['wide', 'full'] : ['left', 'center', 'right']; + return { + type: 'default', + // Find a way to inject this in the support flag code (hooks). + alignments + }; + } + + return undefined; + }, [themeSupportsLayout, contentSize, wideSize]); + const innerBlocksProps = Object(external_wp_blockEditor_["__experimentalUseInnerBlocksProps"])(blockProps, { template: edit_TEMPLATE, - __experimentalLayout: { - type: 'default', - // Find a way to inject this in the support flag code (hooks). - alignments: themeSupportsLayout ? alignments : undefined - } + __experimentalLayout: _layout }); const { postsPerPage @@ -31055,9 +31151,11 @@ const query_title_metadata = { color: { gradients: true }, - fontSize: true, - lineHeight: true, - __experimentalFontFamily: true + typography: { + fontSize: true, + lineHeight: true, + __experimentalFontFamily: true + } }, editorStyle: "wp-block-query-title-editor" }; @@ -31268,8 +31366,10 @@ const query_pagination_next_metadata = { gradients: true, link: true }, - fontSize: true, - lineHeight: true + typography: { + fontSize: true, + lineHeight: true + } } }; @@ -31454,8 +31554,10 @@ const query_pagination_previous_metadata = { gradients: true, link: true }, - fontSize: true, - lineHeight: true + typography: { + fontSize: true, + lineHeight: true + } } }; @@ -31650,9 +31752,11 @@ const post_title_metadata = { gradients: true, link: true }, - fontSize: true, - lineHeight: true, - __experimentalFontFamily: true + typography: { + fontSize: true, + lineHeight: true, + __experimentalFontFamily: true + } }, style: "wp-block-post-title" }; @@ -31692,6 +31796,7 @@ const postContent = Object(external_wp_element_["createElement"])(external_wp_pr + function Content({ layout, postType, @@ -31711,7 +31816,20 @@ function Content({ contentSize, wideSize } = usedLayout; - const alignments = contentSize || wideSize ? ['wide', 'full'] : ['left', 'center', 'right']; + + const _layout = Object(external_wp_element_["useMemo"])(() => { + if (themeSupportsLayout) { + const alignments = contentSize || wideSize ? ['wide', 'full'] : ['left', 'center', 'right']; + return { + type: 'default', + // Find a way to inject this in the support flag code (hooks). + alignments + }; + } + + return undefined; + }, [themeSupportsLayout, contentSize, wideSize]); + const [blocks, onInput, onChange] = Object(external_wp_coreData_["useEntityBlockEditor"])('postType', postType, { id: postId }); @@ -31721,11 +31839,7 @@ function Content({ value: blocks, onInput, onChange, - __experimentalLayout: { - type: 'default', - // Find a way to inject this in the support flag code (hooks). - alignments: themeSupportsLayout ? alignments : undefined - } + __experimentalLayout: _layout }); return Object(external_wp_element_["createElement"])("div", props); } @@ -31959,8 +32073,10 @@ const post_date_metadata = { gradients: true, link: true }, - fontSize: true, - lineHeight: true + typography: { + fontSize: true, + lineHeight: true + } } }; @@ -32123,12 +32239,14 @@ const post_excerpt_metadata = { usesContext: ["postId", "postType"], supports: { html: false, - fontSize: true, color: { gradients: true, link: true }, - lineHeight: true + typography: { + fontSize: true, + lineHeight: true + } }, editorStyle: "wp-block-post-excerpt-editor", style: "wp-block-post-excerpt" @@ -32503,12 +32621,14 @@ const post_terms_metadata = { usesContext: ["postId", "postType"], supports: { html: false, - fontSize: true, color: { gradients: true, link: true }, - lineHeight: true + typography: { + lineHeight: true, + fontSize: true + } } }; diff --git a/wp-includes/js/dist/block-library.min.js b/wp-includes/js/dist/block-library.min.js index 157bc4e9e1..a8e4f95bb0 100644 --- a/wp-includes/js/dist/block-library.min.js +++ b/wp-includes/js/dist/block-library.min.js @@ -6,7 +6,7 @@ this.wp=this.wp||{},this.wp.blockLibrary=function(e){var t={};function n(o){if(t 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 c=[];for(var l in a)a[l]&&c.push(l);return c.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},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 c,l=e[Symbol.iterator]();!(o=(c=l.next()).done)&&(n.push(c.value),!t||n.length!==t);o=!0);}catch(e){r=!0,a=e}finally{try{o||null==l.return||l.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,c=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 l=this._ctx.getImageData(0,0,r.destWidth,r.destHeight).data;c=this.getColorFromArray4(l,t)}catch(e){a=e}return this._prepareResult(c,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),c=this._getOption(t,"height",e.height),l=a,i=c;return"precision"===t.mode||(a>c?(n=a/c,l=100,i=Math.round(l/n)):(n=c/a,i=100,l=Math.round(i/n)),(l>a||i>c||l<10||i<10)&&(l=a,i=c)),{srcLeft:o,srcTop:r,srcWidth:a,srcHeight:c,destWidth:l,destHeight:i}}},{key:"_simpleAlgorithm",value:function(e,t,n){for(var o=0,r=0,a=0,c=0,l=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,c+=s,l++}return c?[Math.round(o/c),Math.round(r/c),Math.round(a/c),Math.round(c/l)]:[0,0,0,0]}},{key:"_sqrtAlgorithm",value:function(e,t,n){for(var o=0,r=0,a=0,c=0,l=0,i=0;i<t;i+=n){var s=e[i],u=e[i+1],d=e[i+2],m=e[i+3];o+=s*s*m,r+=u*u*m,a+=d*d*m,c+=m,l++}return c?[Math.round(Math.sqrt(o/c)),Math.round(Math.sqrt(r/c)),Math.round(Math.sqrt(a/c)),Math.round(c/l)]:[0,0,0,0]}},{key:"_dominantAlgorithm",value:function(e,n,o){for(var r={},a=0;a<n;a+=o){var c=e[a],l=e[a+1],i=e[a+2],s=e[a+3],u=Math.round(c/24)+","+Math.round(l/24)+","+Math.round(i/24);r[u]?r[u]=[r[u][0]+c*s,r[u][1]+l*s,r[u][2]+i*s,r[u][3]+s,r[u][4]+1]:r[u]=[c*s,l*s,i*s,s,1]}var d=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),m=d[0],b=d[1],p=d[2],g=d[3],h=d[4];return g?[Math.round(m/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),c=function(){s(),t.call(e,o.getColor(e,n),r)},l=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",c),e.removeEventListener("error",l),e.removeEventListener("abort",i)};e.addEventListener("load",c),e.addEventListener("error",l),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},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 mm})),n.d(t,"registerCoreBlocks",(function(){return bm})),n.d(t,"__experimentalRegisterExperimentalCoreBlocks",(function(){return pm}));var o={};n.r(o),n.d(o,"metadata",(function(){return ze})),n.d(o,"name",(function(){return Pe})),n.d(o,"settings",(function(){return Me}));var r={};n.r(r),n.d(r,"metadata",(function(){return Qt})),n.d(r,"name",(function(){return Jt})),n.d(r,"settings",(function(){return Yt}));var a={};n.r(a),n.d(a,"metadata",(function(){return pn})),n.d(a,"name",(function(){return gn})),n.d(a,"settings",(function(){return hn}));var c={};n.r(c),n.d(c,"metadata",(function(){return _n})),n.d(c,"name",(function(){return kn})),n.d(c,"settings",(function(){return En}));var l={};n.r(l),n.d(l,"metadata",(function(){return $n})),n.d(l,"name",(function(){return Zn})),n.d(l,"settings",(function(){return Qn}));var i={};n.r(i),n.d(i,"metadata",(function(){return Xn})),n.d(i,"name",(function(){return eo})),n.d(i,"settings",(function(){return to}));var s={};n.r(s),n.d(s,"metadata",(function(){return lo})),n.d(s,"name",(function(){return io})),n.d(s,"settings",(function(){return so}));var u={};n.r(u),n.d(u,"metadata",(function(){return Co})),n.d(u,"name",(function(){return xo})),n.d(u,"settings",(function(){return So}));var d={};n.r(d),n.d(d,"metadata",(function(){return Mo})),n.d(d,"name",(function(){return No})),n.d(d,"settings",(function(){return Ro}));var m={};n.r(m),n.d(m,"metadata",(function(){return Do})),n.d(m,"name",(function(){return Fo})),n.d(m,"settings",(function(){return Go}));var b={};n.r(b),n.d(b,"metadata",(function(){return Wo})),n.d(b,"name",(function(){return $o})),n.d(b,"settings",(function(){return Zo}));var p={};n.r(p),n.d(p,"metadata",(function(){return Xo})),n.d(p,"name",(function(){return er})),n.d(p,"settings",(function(){return tr}));var g={};n.r(g),n.d(g,"metadata",(function(){return gr})),n.d(g,"name",(function(){return hr})),n.d(g,"settings",(function(){return vr}));var h={};n.r(h),n.d(h,"metadata",(function(){return yr})),n.d(h,"name",(function(){return wr})),n.d(h,"settings",(function(){return _r}));var v={};n.r(v),n.d(v,"metadata",(function(){return $r})),n.d(v,"name",(function(){return Zr})),n.d(v,"settings",(function(){return Qr}));var O={};n.r(O),n.d(O,"metadata",(function(){return xa})),n.d(O,"name",(function(){return Sa})),n.d(O,"settings",(function(){return Ba}));var j={};n.r(j),n.d(j,"metadata",(function(){return Ia})),n.d(j,"name",(function(){return Aa})),n.d(j,"settings",(function(){return Da}));var f={};n.r(f),n.d(f,"metadata",(function(){return qa})),n.d(f,"name",(function(){return Ua})),n.d(f,"settings",(function(){return Wa}));var y={};n.r(y),n.d(y,"metadata",(function(){return dc})),n.d(y,"name",(function(){return mc})),n.d(y,"settings",(function(){return bc}));var w={};n.r(w),n.d(w,"metadata",(function(){return gc})),n.d(w,"name",(function(){return hc})),n.d(w,"settings",(function(){return vc}));var _={};n.r(_),n.d(_,"metadata",(function(){return Cc})),n.d(_,"name",(function(){return xc})),n.d(_,"settings",(function(){return Sc}));var k={};n.r(k),n.d(k,"metadata",(function(){return Zc})),n.d(k,"name",(function(){return Qc})),n.d(k,"settings",(function(){return Jc}));var E={};n.r(E),n.d(E,"metadata",(function(){return Kc})),n.d(E,"name",(function(){return Xc})),n.d(E,"settings",(function(){return el}));var C={};n.r(C),n.d(C,"metadata",(function(){return ml})),n.d(C,"name",(function(){return bl})),n.d(C,"settings",(function(){return pl}));var x={};n.r(x),n.d(x,"metadata",(function(){return hl})),n.d(x,"name",(function(){return vl})),n.d(x,"settings",(function(){return Ol}));var S={};n.r(S),n.d(S,"metadata",(function(){return wl})),n.d(S,"name",(function(){return _l})),n.d(S,"settings",(function(){return kl}));var B={};n.r(B),n.d(B,"metadata",(function(){return xl})),n.d(B,"name",(function(){return Sl})),n.d(B,"settings",(function(){return Bl}));var T={};n.r(T),n.d(T,"metadata",(function(){return Nl})),n.d(T,"name",(function(){return Rl})),n.d(T,"settings",(function(){return Vl}));var z={};n.r(z),n.d(z,"metadata",(function(){return Il})),n.d(z,"name",(function(){return Al})),n.d(z,"settings",(function(){return Dl}));var P={};n.r(P),n.d(P,"metadata",(function(){return Zl})),n.d(P,"name",(function(){return Ql})),n.d(P,"settings",(function(){return Jl}));var M={};n.r(M),n.d(M,"metadata",(function(){return Xl})),n.d(M,"name",(function(){return ei})),n.d(M,"settings",(function(){return ti}));var N={};n.r(N),n.d(N,"metadata",(function(){return oi})),n.d(N,"name",(function(){return ri})),n.d(N,"settings",(function(){return ai}));var R={};n.r(R),n.d(R,"metadata",(function(){return bi})),n.d(R,"name",(function(){return pi})),n.d(R,"settings",(function(){return gi}));var V={};n.r(V),n.d(V,"metadata",(function(){return fi})),n.d(V,"name",(function(){return yi})),n.d(V,"settings",(function(){return wi}));var H={};n.r(H),n.d(H,"metadata",(function(){return xi})),n.d(H,"name",(function(){return Si})),n.d(H,"settings",(function(){return Bi}));var L={};n.r(L),n.d(L,"metadata",(function(){return Ni})),n.d(L,"name",(function(){return Ri})),n.d(L,"settings",(function(){return Vi}));var I={};n.r(I),n.d(I,"metadata",(function(){return Ii})),n.d(I,"name",(function(){return Ai})),n.d(I,"settings",(function(){return Di}));var A={};n.r(A),n.d(A,"metadata",(function(){return ps})),n.d(A,"name",(function(){return gs})),n.d(A,"settings",(function(){return hs}));var D={};n.r(D),n.d(D,"metadata",(function(){return fs})),n.d(D,"name",(function(){return ys})),n.d(D,"settings",(function(){return ws}));var F={};n.r(F),n.d(F,"metadata",(function(){return Cs})),n.d(F,"name",(function(){return xs})),n.d(F,"settings",(function(){return Ss}));var G={};n.r(G),n.d(G,"metadata",(function(){return Us})),n.d(G,"name",(function(){return Ws})),n.d(G,"settings",(function(){return $s}));var q={};n.r(q),n.d(q,"metadata",(function(){return Js})),n.d(q,"name",(function(){return Ys})),n.d(q,"settings",(function(){return Ks}));var U={};n.r(U),n.d(U,"metadata",(function(){return nu})),n.d(U,"name",(function(){return ou})),n.d(U,"settings",(function(){return ru}));var W={};n.r(W),n.d(W,"metadata",(function(){return uu})),n.d(W,"name",(function(){return du})),n.d(W,"settings",(function(){return mu}));var $={};n.r($),n.d($,"metadata",(function(){return Ou})),n.d($,"name",(function(){return ju})),n.d($,"settings",(function(){return fu}));var Z={};n.r(Z),n.d(Z,"metadata",(function(){return ku})),n.d(Z,"name",(function(){return Eu})),n.d(Z,"settings",(function(){return Cu}));var Q={};n.r(Q),n.d(Q,"metadata",(function(){return Su})),n.d(Q,"name",(function(){return Bu})),n.d(Q,"settings",(function(){return Tu}));var J={};n.r(J),n.d(J,"metadata",(function(){return Nu})),n.d(J,"name",(function(){return Ru})),n.d(J,"settings",(function(){return Vu}));var Y={};n.r(Y),n.d(Y,"metadata",(function(){return nd})),n.d(Y,"name",(function(){return od})),n.d(Y,"settings",(function(){return rd}));var K={};n.r(K),n.d(K,"metadata",(function(){return cd})),n.d(K,"name",(function(){return ld})),n.d(K,"settings",(function(){return id}));var X={};n.r(X),n.d(X,"metadata",(function(){return bd})),n.d(X,"name",(function(){return pd})),n.d(X,"settings",(function(){return gd}));var ee={};n.r(ee),n.d(ee,"metadata",(function(){return Od})),n.d(ee,"name",(function(){return jd})),n.d(ee,"settings",(function(){return fd}));var te={};n.r(te),n.d(te,"metadata",(function(){return wd})),n.d(te,"name",(function(){return _d})),n.d(te,"settings",(function(){return kd}));var ne={};n.r(ne),n.d(ne,"metadata",(function(){return xd})),n.d(ne,"name",(function(){return Sd})),n.d(ne,"settings",(function(){return Bd}));var oe={};n.r(oe),n.d(oe,"metadata",(function(){return zd})),n.d(oe,"name",(function(){return Pd})),n.d(oe,"settings",(function(){return Md}));var re={};n.r(re),n.d(re,"metadata",(function(){return Rd})),n.d(re,"name",(function(){return Vd})),n.d(re,"settings",(function(){return Hd}));var ae={};n.r(ae),n.d(ae,"metadata",(function(){return Fd})),n.d(ae,"name",(function(){return Gd})),n.d(ae,"settings",(function(){return qd}));var ce={};n.r(ce),n.d(ce,"metadata",(function(){return Wd})),n.d(ce,"name",(function(){return $d})),n.d(ce,"settings",(function(){return Zd}));var le={};n.r(le),n.d(le,"metadata",(function(){return Jd})),n.d(le,"name",(function(){return Yd})),n.d(le,"settings",(function(){return Kd}));var ie={};n.r(ie),n.d(ie,"metadata",(function(){return om})),n.d(ie,"name",(function(){return rm})),n.d(ie,"settings",(function(){return am}));var se={};n.r(se),n.d(se,"metadata",(function(){return im})),n.d(se,"name",(function(){return sm})),n.d(se,"settings",(function(){return um}));var ue=n("jZUy"),de=n("axFQ"),me=n("HSyU"),be=n("YLtl"),pe=n("l3Sj"),ge=n("GRId"),he=n("Tqx9");var ve=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.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"})),Oe=n("TSYQ"),je=n.n(Oe);const fe={className:!1},ye={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"}},we=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(be.omit)(e,["customTextColor","customBackgroundColor","customFontSize"]),style:t}};var _e=[{supports:fe,attributes:{...Object(be.omit)(ye,["style"]),customTextColor:{type:"string"},customBackgroundColor:{type:"string"},customFontSize:{type:"number"}},migrate:we,save({attributes:e}){const{align:t,content:n,dropCap:o,backgroundColor:r,textColor:a,customBackgroundColor:c,customTextColor:l,fontSize:i,customFontSize:s,direction:u}=e,d=Object(de.getColorClassName)("color",a),m=Object(de.getColorClassName)("background-color",r),b=Object(de.getFontSizeClass)(i),p=je()({"has-text-color":a||l,"has-background":r||c,"has-drop-cap":o,["has-text-align-"+t]:t,[b]:b,[d]:d,[m]:m}),g={backgroundColor:m?void 0:c,color:d?void 0:l,fontSize:b?void 0:s};return Object(ge.createElement)(de.RichText.Content,{tagName:"p",style:g,className:p||void 0,value:n,dir:u})}},{supports:fe,attributes:{...Object(be.omit)(ye,["style"]),customTextColor:{type:"string"},customBackgroundColor:{type:"string"},customFontSize:{type:"number"}},migrate:we,save({attributes:e}){const{align:t,content:n,dropCap:o,backgroundColor:r,textColor:a,customBackgroundColor:c,customTextColor:l,fontSize:i,customFontSize:s,direction:u}=e,d=Object(de.getColorClassName)("color",a),m=Object(de.getColorClassName)("background-color",r),b=Object(de.getFontSizeClass)(i),p=je()({"has-text-color":a||l,"has-background":r||c,"has-drop-cap":o,[b]:b,[d]:d,[m]:m}),g={backgroundColor:m?void 0:c,color:d?void 0:l,fontSize:b?void 0:s,textAlign:t};return Object(ge.createElement)(de.RichText.Content,{tagName:"p",style:g,className:p||void 0,value:n,dir:u})}},{supports:fe,attributes:{...Object(be.omit)(ye,["style"]),customTextColor:{type:"string"},customBackgroundColor:{type:"string"},customFontSize:{type:"number"},width:{type:"string"}},migrate:we,save({attributes:e}){const{width:t,align:n,content:o,dropCap:r,backgroundColor:a,textColor:c,customBackgroundColor:l,customTextColor:i,fontSize:s,customFontSize:u}=e,d=Object(de.getColorClassName)("color",c),m=Object(de.getColorClassName)("background-color",a),b=s&&`is-${s}-text`,p=je()({["align"+t]:t,"has-background":a||l,"has-drop-cap":r,[b]:b,[d]:d,[m]:m}),g={backgroundColor:m?void 0:l,color:d?void 0:i,fontSize:b?void 0:u,textAlign:n};return Object(ge.createElement)(de.RichText.Content,{tagName:"p",style:g,className:p||void 0,value:o})}},{supports:fe,attributes:Object(be.omit)({...ye,fontSize:{type:"number"}},["style"]),save({attributes:e}){const{width:t,align:n,content:o,dropCap:r,backgroundColor:a,textColor:c,fontSize:l}=e,i=je()({["align"+t]:t,"has-background":a,"has-drop-cap":r}),s={backgroundColor:a,color:c,fontSize:l,textAlign:n};return Object(ge.createElement)("p",{style:s,className:i||void 0},o)},migrate:e=>we(Object(be.omit)({...e,customFontSize:Object(be.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:fe,attributes:{...ye,content:{type:"string",source:"html",default:""}},save:({attributes:e})=>Object(ge.createElement)(ge.RawHTML,null,e.content),migrate:e=>e}],ke=n("wx14"),Ee=n("tI+e");var Ce=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(ge.createElement)(he.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 xe({direction:e,setDirection:t}){return Object(pe.isRTL)()&&Object(ge.createElement)(Ee.ToolbarDropdownMenu,{controls:[{icon:Ce,title:Object(pe._x)("Left to right","editor button"),isActive:"ltr"===e,onClick(){t("ltr"===e?void 0:"ltr")}}]})}var Se=function({attributes:e,mergeBlocks:t,onReplace:n,onRemove:o,setAttributes:r,clientId:a}){const{align:c,content:l,direction:i,dropCap:s,placeholder:u}=e,d=Object(de.useSetting)("typography.dropCap"),m=Object(de.useBlockProps)({className:je()({"has-drop-cap":s,["has-text-align-"+c]:c}),style:{direction:i}});return Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.BlockControls,{group:"block"},Object(ge.createElement)(de.AlignmentControl,{value:c,onChange:e=>r({align:e})}),Object(ge.createElement)(xe,{direction:i,setDirection:e=>r({direction:e})})),d&&Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Text settings")},Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Drop cap"),checked:!!s,onChange:()=>r({dropCap:!s}),help:s?Object(pe.__)("Showing large initial letter."):Object(pe.__)("Toggle to show a large initial letter.")}))),Object(ge.createElement)(de.RichText,Object(ke.a)({identifier:"content",tagName:"p"},m,{value:l,onChange:e=>r({content:e}),onSplit:(t,n)=>{let o;(n||t)&&(o={...e,content:t});const r=Object(me.createBlock)("core/paragraph",o);return n&&(r.clientId=a),r},onMerge:t,onReplace:n,onRemove:o,"aria-label":l?Object(pe.__)("Paragraph block"):Object(pe.__)("Empty block; start writing or type forward slash to choose a block"),"data-empty":!l,placeholder:u||Object(pe.__)("Type / to choose a block"),__unstableEmbedURLOnPaste:!0,__unstableAllowPrefixTransformations:!0})))};const{name:Be}={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},fontSize:!0,lineHeight:!0,__experimentalSelector:"p",__unstablePasteTextInline:!0},editorStyle:"wp-block-paragraph-editor",style:"wp-block-paragraph"};var Te={from:[{type:"raw",priority:20,selector:"p",schema:({phrasingContentSchema:e,isPaste:t})=>({p:{children:e,attributes:t?[]:["style","id"]}}),transform(e){const t=Object(me.getBlockAttributes)(Be,e.outerHTML),{textAlign:n}=e.style||{};return"left"!==n&&"center"!==n&&"right"!==n||(t.align=n),Object(me.createBlock)(Be,t)}}]};const ze={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},fontSize:!0,lineHeight:!0,__experimentalSelector:"p",__unstablePasteTextInline:!0},editorStyle:"wp-block-paragraph-editor",style:"wp-block-paragraph"},{name:Pe}=ze,Me={icon:ve,example:{attributes:{content:Object(pe.__)("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,{context:t}){if("accessibility"===t){const{content:t}=e;return Object(be.isEmpty)(t)?Object(pe.__)("Empty"):t}},transforms:Te,deprecated:_e,merge:(e,t)=>({content:(e.content||"")+(t.content||"")}),edit:Se,save:function({attributes:e}){const{align:t,content:n,dropCap:o,direction:r}=e,a=je()({"has-drop-cap":o,["has-text-align-"+t]:t});return Object(ge.createElement)("p",de.useBlockProps.save({className:a,dir:r}),Object(ge.createElement)(de.RichText.Content,{value:n}))}};var Ne=Object(ge.createElement)(he.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(he.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"}));const Re={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 Ve=[{attributes:Re,save({attributes:e}){const{url:t,alt:n,caption:o,align:r,href:a,width:c,height:l,id:i}=e,s=je()({["align"+r]:r,"is-resized":c||l}),u=Object(ge.createElement)("img",{src:t,alt:n,className:i?"wp-image-"+i:null,width:c,height:l});return Object(ge.createElement)("figure",{className:s},a?Object(ge.createElement)("a",{href:a},u):u,!de.RichText.isEmpty(o)&&Object(ge.createElement)(de.RichText.Content,{tagName:"figcaption",value:o}))}},{attributes:Re,save({attributes:e}){const{url:t,alt:n,caption:o,align:r,href:a,width:c,height:l,id:i}=e,s=Object(ge.createElement)("img",{src:t,alt:n,className:i?"wp-image-"+i:null,width:c,height:l});return Object(ge.createElement)("figure",{className:r?"align"+r:null},a?Object(ge.createElement)("a",{href:a},s):s,!de.RichText.isEmpty(o)&&Object(ge.createElement)(de.RichText.Content,{tagName:"figcaption",value:o}))}},{attributes:Re,save({attributes:e}){const{url:t,alt:n,caption:o,align:r,href:a,width:c,height:l}=e,i=c||l?{width:c,height:l}:{},s=Object(ge.createElement)("img",Object(ke.a)({src:t,alt:n},i));let u={};return c?u={width:c}:"left"!==r&&"right"!==r||(u={maxWidth:"50%"}),Object(ge.createElement)("figure",{className:r?"align"+r:null,style:u},a?Object(ge.createElement)("a",{href:a},s):s,!de.RichText.isEmpty(o)&&Object(ge.createElement)(de.RichText.Content,{tagName:"figcaption",value:o}))}}],He=n("xTGt"),Le=n("1ZqX"),Ie=n("K9lf"),Ae=n("Mmq9");var De=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.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"})),Fe=n("NTP4");var Ge=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.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"})),qe=n("onLe");const Ue=[{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 We=n("A/WM"),$e=n.n(We),Ze=n("4eJC"),Qe=n.n(Ze);const{name:Je}={apiVersion:2,name:"core/embed",title:"Embed",category:"embed",description:"Add a block that displays content pulled from other sites, like Twitter, Instagram 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"},Ye=e=>e&&e.includes('class="wp-embedded-content"'),Ke=(e,t={})=>{var n;const{preview:o,attributes:{url:r,providerNameSlug:a,type:c}={}}=e;if(!r||!Object(me.getBlockType)(Je))return;const l=(e=>{var t;return null===(t=Object(me.getBlockVariations)(Je))||void 0===t?void 0:t.find(({patterns:t})=>((e,t=[])=>t.some(t=>e.match(t)))(e,t))})(r),i="wordpress"===a||"wp-embed"===c;if(!i&&l&&(l.attributes.providerNameSlug!==a||!a))return Object(me.createBlock)(Je,{url:r,...l.attributes});const s=null===(n=Object(me.getBlockVariations)(Je))||void 0===n?void 0:n.find(({name:e})=>"wordpress"===e);return s&&o&&Ye(o.html)&&!i?Object(me.createBlock)(Je,{url:r,...s.attributes,...t}):void 0},Xe=e=>{if(!e)return e;const t=Ue.reduce((e,{className:t})=>(e[t]=!1,e),{"wp-has-aspect-ratio":!1});return $e()(e,t)};function et(e,t,n=!0){if(!n)return Xe(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<Ue.length;n++){const o=Ue[n];if(e>=o.ratio){return e-o.ratio>.1?Xe(t):$e()(Xe(t),o.className,"wp-has-aspect-ratio")}}}return t}const tt=Qe()((e,t,n,o,r=!0)=>{if(!e)return{};const a={};let{type:c="rich"}=e;const{html:l,provider_name:i}=e,s=Object(be.kebabCase)((i||t).toLowerCase());return Ye(l)&&(c="wp-embed"),(l||"photo"===c)&&(a.type=c,a.providerNameSlug=s),a.className=et(l,n,o&&r),a});function nt(e,t){const[n,o]=Object(ge.useState)();function r(){o(e.current.clientWidth)}return Object(ge.useEffect)(r,t),Object(ge.useEffect)(()=>{const{defaultView:t}=e.current.ownerDocument;return t.addEventListener("resize",r),()=>{t.removeEventListener("resize",r)}},[]),n} +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 c,l=e[Symbol.iterator]();!(o=(c=l.next()).done)&&(n.push(c.value),!t||n.length!==t);o=!0);}catch(e){r=!0,a=e}finally{try{o||null==l.return||l.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,c=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 l=this._ctx.getImageData(0,0,r.destWidth,r.destHeight).data;c=this.getColorFromArray4(l,t)}catch(e){a=e}return this._prepareResult(c,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),c=this._getOption(t,"height",e.height),l=a,i=c;return"precision"===t.mode||(a>c?(n=a/c,l=100,i=Math.round(l/n)):(n=c/a,i=100,l=Math.round(i/n)),(l>a||i>c||l<10||i<10)&&(l=a,i=c)),{srcLeft:o,srcTop:r,srcWidth:a,srcHeight:c,destWidth:l,destHeight:i}}},{key:"_simpleAlgorithm",value:function(e,t,n){for(var o=0,r=0,a=0,c=0,l=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,c+=s,l++}return c?[Math.round(o/c),Math.round(r/c),Math.round(a/c),Math.round(c/l)]:[0,0,0,0]}},{key:"_sqrtAlgorithm",value:function(e,t,n){for(var o=0,r=0,a=0,c=0,l=0,i=0;i<t;i+=n){var s=e[i],u=e[i+1],d=e[i+2],m=e[i+3];o+=s*s*m,r+=u*u*m,a+=d*d*m,c+=m,l++}return c?[Math.round(Math.sqrt(o/c)),Math.round(Math.sqrt(r/c)),Math.round(Math.sqrt(a/c)),Math.round(c/l)]:[0,0,0,0]}},{key:"_dominantAlgorithm",value:function(e,n,o){for(var r={},a=0;a<n;a+=o){var c=e[a],l=e[a+1],i=e[a+2],s=e[a+3],u=Math.round(c/24)+","+Math.round(l/24)+","+Math.round(i/24);r[u]?r[u]=[r[u][0]+c*s,r[u][1]+l*s,r[u][2]+i*s,r[u][3]+s,r[u][4]+1]:r[u]=[c*s,l*s,i*s,s,1]}var d=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),m=d[0],b=d[1],p=d[2],g=d[3],h=d[4];return g?[Math.round(m/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),c=function(){s(),t.call(e,o.getColor(e,n),r)},l=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",c),e.removeEventListener("error",l),e.removeEventListener("abort",i)};e.addEventListener("load",c),e.addEventListener("error",l),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},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 gm})),n.d(t,"registerCoreBlocks",(function(){return hm})),n.d(t,"__experimentalRegisterExperimentalCoreBlocks",(function(){return vm}));var o={};n.r(o),n.d(o,"metadata",(function(){return ze})),n.d(o,"name",(function(){return Pe})),n.d(o,"settings",(function(){return Me}));var r={};n.r(r),n.d(r,"metadata",(function(){return Qt})),n.d(r,"name",(function(){return Jt})),n.d(r,"settings",(function(){return Yt}));var a={};n.r(a),n.d(a,"metadata",(function(){return pn})),n.d(a,"name",(function(){return gn})),n.d(a,"settings",(function(){return hn}));var c={};n.r(c),n.d(c,"metadata",(function(){return _n})),n.d(c,"name",(function(){return kn})),n.d(c,"settings",(function(){return En}));var l={};n.r(l),n.d(l,"metadata",(function(){return $n})),n.d(l,"name",(function(){return Zn})),n.d(l,"settings",(function(){return Qn}));var i={};n.r(i),n.d(i,"metadata",(function(){return Xn})),n.d(i,"name",(function(){return eo})),n.d(i,"settings",(function(){return to}));var s={};n.r(s),n.d(s,"metadata",(function(){return lo})),n.d(s,"name",(function(){return io})),n.d(s,"settings",(function(){return so}));var u={};n.r(u),n.d(u,"metadata",(function(){return Co})),n.d(u,"name",(function(){return xo})),n.d(u,"settings",(function(){return So}));var d={};n.r(d),n.d(d,"metadata",(function(){return Vo})),n.d(d,"name",(function(){return Ho})),n.d(d,"settings",(function(){return Lo}));var m={};n.r(m),n.d(m,"metadata",(function(){return qo})),n.d(m,"name",(function(){return Uo})),n.d(m,"settings",(function(){return Wo}));var b={};n.r(b),n.d(b,"metadata",(function(){return Qo})),n.d(b,"name",(function(){return Jo})),n.d(b,"settings",(function(){return Yo}));var p={};n.r(p),n.d(p,"metadata",(function(){return nr})),n.d(p,"name",(function(){return or})),n.d(p,"settings",(function(){return rr}));var g={};n.r(g),n.d(g,"metadata",(function(){return Or})),n.d(g,"name",(function(){return jr})),n.d(g,"settings",(function(){return fr}));var h={};n.r(h),n.d(h,"metadata",(function(){return kr})),n.d(h,"name",(function(){return Er})),n.d(h,"settings",(function(){return Cr}));var v={};n.r(v),n.d(v,"metadata",(function(){return Jr})),n.d(v,"name",(function(){return Yr})),n.d(v,"settings",(function(){return Kr}));var O={};n.r(O),n.d(O,"metadata",(function(){return Ta})),n.d(O,"name",(function(){return za})),n.d(O,"settings",(function(){return Pa}));var j={};n.r(j),n.d(j,"metadata",(function(){return Fa})),n.d(j,"name",(function(){return Ga})),n.d(j,"settings",(function(){return qa}));var f={};n.r(f),n.d(f,"metadata",(function(){return $a})),n.d(f,"name",(function(){return Za})),n.d(f,"settings",(function(){return Qa}));var y={};n.r(y),n.d(y,"metadata",(function(){return pc})),n.d(y,"name",(function(){return gc})),n.d(y,"settings",(function(){return hc}));var w={};n.r(w),n.d(w,"metadata",(function(){return Oc})),n.d(w,"name",(function(){return jc})),n.d(w,"settings",(function(){return fc}));var _={};n.r(_),n.d(_,"metadata",(function(){return Bc})),n.d(_,"name",(function(){return Tc})),n.d(_,"settings",(function(){return zc}));var k={};n.r(k),n.d(k,"metadata",(function(){return Yc})),n.d(k,"name",(function(){return Kc})),n.d(k,"settings",(function(){return Xc}));var E={};n.r(E),n.d(E,"metadata",(function(){return tl})),n.d(E,"name",(function(){return nl})),n.d(E,"settings",(function(){return ol}));var C={};n.r(C),n.d(C,"metadata",(function(){return gl})),n.d(C,"name",(function(){return hl})),n.d(C,"settings",(function(){return vl}));var x={};n.r(x),n.d(x,"metadata",(function(){return jl})),n.d(x,"name",(function(){return fl})),n.d(x,"settings",(function(){return yl}));var S={};n.r(S),n.d(S,"metadata",(function(){return El})),n.d(S,"name",(function(){return Cl})),n.d(S,"settings",(function(){return xl}));var B={};n.r(B),n.d(B,"metadata",(function(){return Tl})),n.d(B,"name",(function(){return zl})),n.d(B,"settings",(function(){return Pl}));var T={};n.r(T),n.d(T,"metadata",(function(){return Hl})),n.d(T,"name",(function(){return Ll})),n.d(T,"settings",(function(){return Il}));var z={};n.r(z),n.d(z,"metadata",(function(){return Fl})),n.d(z,"name",(function(){return Gl})),n.d(z,"settings",(function(){return ql}));var P={};n.r(P),n.d(P,"metadata",(function(){return Yl})),n.d(P,"name",(function(){return Kl})),n.d(P,"settings",(function(){return Xl}));var M={};n.r(M),n.d(M,"metadata",(function(){return ni})),n.d(M,"name",(function(){return oi})),n.d(M,"settings",(function(){return ri}));var N={};n.r(N),n.d(N,"metadata",(function(){return ci})),n.d(N,"name",(function(){return li})),n.d(N,"settings",(function(){return ii}));var R={};n.r(R),n.d(R,"metadata",(function(){return hi})),n.d(R,"name",(function(){return vi})),n.d(R,"settings",(function(){return Oi}));var V={};n.r(V),n.d(V,"metadata",(function(){return _i})),n.d(V,"name",(function(){return ki})),n.d(V,"settings",(function(){return Ei}));var H={};n.r(H),n.d(H,"metadata",(function(){return Ti})),n.d(H,"name",(function(){return zi})),n.d(H,"settings",(function(){return Pi}));var L={};n.r(L),n.d(L,"metadata",(function(){return Hi})),n.d(L,"name",(function(){return Li})),n.d(L,"settings",(function(){return Ii}));var I={};n.r(I),n.d(I,"metadata",(function(){return Fi})),n.d(I,"name",(function(){return Gi})),n.d(I,"settings",(function(){return qi}));var A={};n.r(A),n.d(A,"metadata",(function(){return vs})),n.d(A,"name",(function(){return Os})),n.d(A,"settings",(function(){return js}));var D={};n.r(D),n.d(D,"metadata",(function(){return _s})),n.d(D,"name",(function(){return ks})),n.d(D,"settings",(function(){return Es}));var F={};n.r(F),n.d(F,"metadata",(function(){return Bs})),n.d(F,"name",(function(){return Ts})),n.d(F,"settings",(function(){return zs}));var G={};n.r(G),n.d(G,"metadata",(function(){return Zs})),n.d(G,"name",(function(){return Qs})),n.d(G,"settings",(function(){return Js}));var q={};n.r(q),n.d(q,"metadata",(function(){return Xs})),n.d(q,"name",(function(){return eu})),n.d(q,"settings",(function(){return tu}));var U={};n.r(U),n.d(U,"metadata",(function(){return au})),n.d(U,"name",(function(){return cu})),n.d(U,"settings",(function(){return lu}));var W={};n.r(W),n.d(W,"metadata",(function(){return bu})),n.d(W,"name",(function(){return pu})),n.d(W,"settings",(function(){return gu}));var $={};n.r($),n.d($,"metadata",(function(){return yu})),n.d($,"name",(function(){return wu})),n.d($,"settings",(function(){return _u}));var Z={};n.r(Z),n.d(Z,"metadata",(function(){return xu})),n.d(Z,"name",(function(){return Su})),n.d(Z,"settings",(function(){return Bu}));var Q={};n.r(Q),n.d(Q,"metadata",(function(){return zu})),n.d(Q,"name",(function(){return Pu})),n.d(Q,"settings",(function(){return Mu}));var J={};n.r(J),n.d(J,"metadata",(function(){return Hu})),n.d(J,"name",(function(){return Lu})),n.d(J,"settings",(function(){return Iu}));var Y={};n.r(Y),n.d(Y,"metadata",(function(){return ad})),n.d(Y,"name",(function(){return cd})),n.d(Y,"settings",(function(){return ld}));var K={};n.r(K),n.d(K,"metadata",(function(){return sd})),n.d(K,"name",(function(){return ud})),n.d(K,"settings",(function(){return dd}));var X={};n.r(X),n.d(X,"metadata",(function(){return hd})),n.d(X,"name",(function(){return vd})),n.d(X,"settings",(function(){return Od}));var ee={};n.r(ee),n.d(ee,"metadata",(function(){return yd})),n.d(ee,"name",(function(){return wd})),n.d(ee,"settings",(function(){return _d}));var te={};n.r(te),n.d(te,"metadata",(function(){return Ed})),n.d(te,"name",(function(){return Cd})),n.d(te,"settings",(function(){return xd}));var ne={};n.r(ne),n.d(ne,"metadata",(function(){return Td})),n.d(ne,"name",(function(){return zd})),n.d(ne,"settings",(function(){return Pd}));var oe={};n.r(oe),n.d(oe,"metadata",(function(){return Nd})),n.d(oe,"name",(function(){return Rd})),n.d(oe,"settings",(function(){return Vd}));var re={};n.r(re),n.d(re,"metadata",(function(){return Ld})),n.d(re,"name",(function(){return Id})),n.d(re,"settings",(function(){return Ad}));var ae={};n.r(ae),n.d(ae,"metadata",(function(){return Ud})),n.d(ae,"name",(function(){return Wd})),n.d(ae,"settings",(function(){return $d}));var ce={};n.r(ce),n.d(ce,"metadata",(function(){return Qd})),n.d(ce,"name",(function(){return Jd})),n.d(ce,"settings",(function(){return Yd}));var le={};n.r(le),n.d(le,"metadata",(function(){return Xd})),n.d(le,"name",(function(){return em})),n.d(le,"settings",(function(){return tm}));var ie={};n.r(ie),n.d(ie,"metadata",(function(){return cm})),n.d(ie,"name",(function(){return lm})),n.d(ie,"settings",(function(){return im}));var se={};n.r(se),n.d(se,"metadata",(function(){return dm})),n.d(se,"name",(function(){return mm})),n.d(se,"settings",(function(){return bm}));var ue=n("jZUy"),de=n("axFQ"),me=n("HSyU"),be=n("YLtl"),pe=n("l3Sj"),ge=n("GRId"),he=n("Tqx9");var ve=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.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"})),Oe=n("TSYQ"),je=n.n(Oe);const fe={className:!1},ye={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"}},we=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(be.omit)(e,["customTextColor","customBackgroundColor","customFontSize"]),style:t}};var _e=[{supports:fe,attributes:{...Object(be.omit)(ye,["style"]),customTextColor:{type:"string"},customBackgroundColor:{type:"string"},customFontSize:{type:"number"}},migrate:we,save({attributes:e}){const{align:t,content:n,dropCap:o,backgroundColor:r,textColor:a,customBackgroundColor:c,customTextColor:l,fontSize:i,customFontSize:s,direction:u}=e,d=Object(de.getColorClassName)("color",a),m=Object(de.getColorClassName)("background-color",r),b=Object(de.getFontSizeClass)(i),p=je()({"has-text-color":a||l,"has-background":r||c,"has-drop-cap":o,["has-text-align-"+t]:t,[b]:b,[d]:d,[m]:m}),g={backgroundColor:m?void 0:c,color:d?void 0:l,fontSize:b?void 0:s};return Object(ge.createElement)(de.RichText.Content,{tagName:"p",style:g,className:p||void 0,value:n,dir:u})}},{supports:fe,attributes:{...Object(be.omit)(ye,["style"]),customTextColor:{type:"string"},customBackgroundColor:{type:"string"},customFontSize:{type:"number"}},migrate:we,save({attributes:e}){const{align:t,content:n,dropCap:o,backgroundColor:r,textColor:a,customBackgroundColor:c,customTextColor:l,fontSize:i,customFontSize:s,direction:u}=e,d=Object(de.getColorClassName)("color",a),m=Object(de.getColorClassName)("background-color",r),b=Object(de.getFontSizeClass)(i),p=je()({"has-text-color":a||l,"has-background":r||c,"has-drop-cap":o,[b]:b,[d]:d,[m]:m}),g={backgroundColor:m?void 0:c,color:d?void 0:l,fontSize:b?void 0:s,textAlign:t};return Object(ge.createElement)(de.RichText.Content,{tagName:"p",style:g,className:p||void 0,value:n,dir:u})}},{supports:fe,attributes:{...Object(be.omit)(ye,["style"]),customTextColor:{type:"string"},customBackgroundColor:{type:"string"},customFontSize:{type:"number"},width:{type:"string"}},migrate:we,save({attributes:e}){const{width:t,align:n,content:o,dropCap:r,backgroundColor:a,textColor:c,customBackgroundColor:l,customTextColor:i,fontSize:s,customFontSize:u}=e,d=Object(de.getColorClassName)("color",c),m=Object(de.getColorClassName)("background-color",a),b=s&&`is-${s}-text`,p=je()({["align"+t]:t,"has-background":a||l,"has-drop-cap":r,[b]:b,[d]:d,[m]:m}),g={backgroundColor:m?void 0:l,color:d?void 0:i,fontSize:b?void 0:u,textAlign:n};return Object(ge.createElement)(de.RichText.Content,{tagName:"p",style:g,className:p||void 0,value:o})}},{supports:fe,attributes:Object(be.omit)({...ye,fontSize:{type:"number"}},["style"]),save({attributes:e}){const{width:t,align:n,content:o,dropCap:r,backgroundColor:a,textColor:c,fontSize:l}=e,i=je()({["align"+t]:t,"has-background":a,"has-drop-cap":r}),s={backgroundColor:a,color:c,fontSize:l,textAlign:n};return Object(ge.createElement)("p",{style:s,className:i||void 0},o)},migrate:e=>we(Object(be.omit)({...e,customFontSize:Object(be.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:fe,attributes:{...ye,content:{type:"string",source:"html",default:""}},save:({attributes:e})=>Object(ge.createElement)(ge.RawHTML,null,e.content),migrate:e=>e}],ke=n("wx14"),Ee=n("tI+e");var Ce=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(ge.createElement)(he.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 xe({direction:e,setDirection:t}){return Object(pe.isRTL)()&&Object(ge.createElement)(Ee.ToolbarDropdownMenu,{controls:[{icon:Ce,title:Object(pe._x)("Left to right","editor button"),isActive:"ltr"===e,onClick(){t("ltr"===e?void 0:"ltr")}}]})}var Se=function({attributes:e,mergeBlocks:t,onReplace:n,onRemove:o,setAttributes:r,clientId:a}){const{align:c,content:l,direction:i,dropCap:s,placeholder:u}=e,d=Object(de.useSetting)("typography.dropCap"),m=Object(de.useBlockProps)({className:je()({"has-drop-cap":s,["has-text-align-"+c]:c}),style:{direction:i}});return Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.BlockControls,{group:"block"},Object(ge.createElement)(de.AlignmentControl,{value:c,onChange:e=>r({align:e})}),Object(ge.createElement)(xe,{direction:i,setDirection:e=>r({direction:e})})),d&&Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Text settings")},Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Drop cap"),checked:!!s,onChange:()=>r({dropCap:!s}),help:s?Object(pe.__)("Showing large initial letter."):Object(pe.__)("Toggle to show a large initial letter.")}))),Object(ge.createElement)(de.RichText,Object(ke.a)({identifier:"content",tagName:"p"},m,{value:l,onChange:e=>r({content:e}),onSplit:(t,n)=>{let o;(n||t)&&(o={...e,content:t});const r=Object(me.createBlock)("core/paragraph",o);return n&&(r.clientId=a),r},onMerge:t,onReplace:n,onRemove:o,"aria-label":l?Object(pe.__)("Paragraph block"):Object(pe.__)("Empty block; start writing or type forward slash to choose a block"),"data-empty":!l,placeholder:u||Object(pe.__)("Type / to choose a block"),__unstableEmbedURLOnPaste:!0,__unstableAllowPrefixTransformations:!0})))};const{name:Be}={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},__experimentalSelector:"p",__unstablePasteTextInline:!0},editorStyle:"wp-block-paragraph-editor",style:"wp-block-paragraph"};var Te={from:[{type:"raw",priority:20,selector:"p",schema:({phrasingContentSchema:e,isPaste:t})=>({p:{children:e,attributes:t?[]:["style","id"]}}),transform(e){const t=Object(me.getBlockAttributes)(Be,e.outerHTML),{textAlign:n}=e.style||{};return"left"!==n&&"center"!==n&&"right"!==n||(t.align=n),Object(me.createBlock)(Be,t)}}]};const ze={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},__experimentalSelector:"p",__unstablePasteTextInline:!0},editorStyle:"wp-block-paragraph-editor",style:"wp-block-paragraph"},{name:Pe}=ze,Me={icon:ve,example:{attributes:{content:Object(pe.__)("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,{context:t}){if("accessibility"===t){const{content:t}=e;return Object(be.isEmpty)(t)?Object(pe.__)("Empty"):t}},transforms:Te,deprecated:_e,merge:(e,t)=>({content:(e.content||"")+(t.content||"")}),edit:Se,save:function({attributes:e}){const{align:t,content:n,dropCap:o,direction:r}=e,a=je()({"has-drop-cap":o,["has-text-align-"+t]:t});return Object(ge.createElement)("p",de.useBlockProps.save({className:a,dir:r}),Object(ge.createElement)(de.RichText.Content,{value:n}))}};var Ne=Object(ge.createElement)(he.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(he.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"}));const Re={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 Ve=[{attributes:Re,save({attributes:e}){const{url:t,alt:n,caption:o,align:r,href:a,width:c,height:l,id:i}=e,s=je()({["align"+r]:r,"is-resized":c||l}),u=Object(ge.createElement)("img",{src:t,alt:n,className:i?"wp-image-"+i:null,width:c,height:l});return Object(ge.createElement)("figure",{className:s},a?Object(ge.createElement)("a",{href:a},u):u,!de.RichText.isEmpty(o)&&Object(ge.createElement)(de.RichText.Content,{tagName:"figcaption",value:o}))}},{attributes:Re,save({attributes:e}){const{url:t,alt:n,caption:o,align:r,href:a,width:c,height:l,id:i}=e,s=Object(ge.createElement)("img",{src:t,alt:n,className:i?"wp-image-"+i:null,width:c,height:l});return Object(ge.createElement)("figure",{className:r?"align"+r:null},a?Object(ge.createElement)("a",{href:a},s):s,!de.RichText.isEmpty(o)&&Object(ge.createElement)(de.RichText.Content,{tagName:"figcaption",value:o}))}},{attributes:Re,save({attributes:e}){const{url:t,alt:n,caption:o,align:r,href:a,width:c,height:l}=e,i=c||l?{width:c,height:l}:{},s=Object(ge.createElement)("img",Object(ke.a)({src:t,alt:n},i));let u={};return c?u={width:c}:"left"!==r&&"right"!==r||(u={maxWidth:"50%"}),Object(ge.createElement)("figure",{className:r?"align"+r:null,style:u},a?Object(ge.createElement)("a",{href:a},s):s,!de.RichText.isEmpty(o)&&Object(ge.createElement)(de.RichText.Content,{tagName:"figcaption",value:o}))}}],He=n("xTGt"),Le=n("1ZqX"),Ie=n("K9lf"),Ae=n("Mmq9");var De=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.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"})),Fe=n("NTP4");var Ge=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.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"})),qe=n("onLe");const Ue=[{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 We=n("A/WM"),$e=n.n(We),Ze=n("4eJC"),Qe=n.n(Ze);const{name:Je}={apiVersion:2,name:"core/embed",title:"Embed",category:"embed",description:"Add a block that displays content pulled from other sites, like Twitter, Instagram 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"},Ye=e=>e&&e.includes('class="wp-embedded-content"'),Ke=(e,t={})=>{var n;const{preview:o,attributes:{url:r,providerNameSlug:a,type:c}={}}=e;if(!r||!Object(me.getBlockType)(Je))return;const l=(e=>{var t;return null===(t=Object(me.getBlockVariations)(Je))||void 0===t?void 0:t.find(({patterns:t})=>((e,t=[])=>t.some(t=>e.match(t)))(e,t))})(r),i="wordpress"===a||"wp-embed"===c;if(!i&&l&&(l.attributes.providerNameSlug!==a||!a))return Object(me.createBlock)(Je,{url:r,...l.attributes});const s=null===(n=Object(me.getBlockVariations)(Je))||void 0===n?void 0:n.find(({name:e})=>"wordpress"===e);return s&&o&&Ye(o.html)&&!i?Object(me.createBlock)(Je,{url:r,...s.attributes,...t}):void 0},Xe=e=>{if(!e)return e;const t=Ue.reduce((e,{className:t})=>(e[t]=!1,e),{"wp-has-aspect-ratio":!1});return $e()(e,t)};function et(e,t,n=!0){if(!n)return Xe(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<Ue.length;n++){const o=Ue[n];if(e>=o.ratio){return e-o.ratio>.1?Xe(t):$e()(Xe(t),o.className,"wp-has-aspect-ratio")}}}return t}const tt=Qe()((e,t,n,o,r=!0)=>{if(!e)return{};const a={};let{type:c="rich"}=e;const{html:l,provider_name:i}=e,s=Object(be.kebabCase)((i||t).toLowerCase());return Ye(l)&&(c="wp-embed"),(l||"photo"===c)&&(a.type=c,a.providerNameSlug=s),a.className=et(l,n,o&&r),a});function nt(e,t){const[n,o]=Object(ge.useState)();function r(){o(e.current.clientWidth)}return Object(ge.useEffect)(r,t),Object(ge.useEffect)(()=>{const{defaultView:t}=e.current.ownerDocument;return t.addEventListener("resize",r),()=>{t.removeEventListener("resize",r)}},[]),n} /*! ***************************************************************************** Copyright (c) Microsoft Corporation. @@ -20,7 +20,7 @@ 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 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)};var rt=function(){return(rt=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 at=n("cDcd"),ct=n.n(at),lt=n("wJiJ"),it=n.n(lt);function st(e,t,n,o,r,a){void 0===a&&(a=0);var c=ft(e,t,a),l=c.width,i=c.height,s=Math.min(l,n),u=Math.min(i,o);return s>u*r?{width:u*r,height:u}:{width:s,height:s/r}}function ut(e,t,n,o,r){void 0===r&&(r=0);var a=ft(t.width,t.height,r),c=a.width,l=a.height;return{x:dt(e.x,c,n.width,o),y:dt(e.y,l,n.height,o)}}function dt(e,t,n,o){var r=t*o/2-n/2;return Math.min(r,Math.max(e,-r))}function mt(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 pt(e,t,n,o,r,a,c){void 0===a&&(a=0),void 0===c&&(c=!0);var l=c&&0===a?gt:ht,i={x:l(100,((t.width-n.width/r)/2-e.x/r)/t.width*100),y:l(100,((t.height-n.height/r)/2-e.y/r)/t.height*100),width:l(100,n.width/t.width*100/r),height:l(100,n.height/t.height*100/r)},s=Math.round(l(t.naturalWidth,i.width*t.naturalWidth/100)),u=Math.round(l(t.naturalHeight,i.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:i,croppedAreaPixels:rt(rt({},d),{x:Math.round(l(t.naturalWidth-d.width,i.x*t.naturalWidth/100)),y:Math.round(l(t.naturalHeight-d.height,i.y*t.naturalHeight/100))})}}function gt(e,t){return Math.min(e,Math.max(0,t))}function ht(e,t){return t}function vt(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),a=o*r;return{crop:{x:((t.naturalWidth-e.width)/2-e.x)*a,y:((t.naturalHeight-e.height)/2-e.y)*a},zoom:r}}function Ot(e,t){return{x:(t.x+e.x)/2,y:(t.y+e.y)/2}}function jt(e,t,n,o,r){var a=Math.cos,c=Math.sin,l=r*Math.PI/180;return[(e-n)*a(l)-(t-o)*c(l)+n,(e-n)*c(l)+(t-o)*a(l)+o]}function ft(e,t,n){var o=e/2,r=t/2,a=[jt(0,0,o,r,n),jt(e,0,o,r,n),jt(e,t,o,r,n),jt(0,t,o,r,n)],c=Math.min.apply(Math,a.map((function(e){return e[0]}))),l=Math.max.apply(Math,a.map((function(e){return e[0]}))),i=Math.min.apply(Math,a.map((function(e){return e[1]})));return{width:l-c,height:Math.max.apply(Math,a.map((function(e){return e[1]})))-i}}function yt(){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 wt=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=vt(t,n.mediaSize,o),a=r.crop,c=r.zoom;n.props.onCropChange(a),n.props.onZoomChange&&n.props.onZoomChange(c)}},n.computeSizes=function(){var e,t,o,r,a,c,l=n.imageRef||n.videoRef;if(l&&n.containerRef){n.containerRect=n.containerRef.getBoundingClientRect(),n.mediaSize={width:l.offsetWidth,height:l.offsetHeight,naturalWidth:(null===(e=n.imageRef)||void 0===e?void 0:e.naturalWidth)||(null===(t=n.videoRef)||void 0===t?void 0:t.videoWidth)||0,naturalHeight:(null===(o=n.imageRef)||void 0===o?void 0:o.naturalHeight)||(null===(r=n.videoRef)||void 0===r?void 0:r.videoHeight)||0};var i=n.props.cropSize?n.props.cropSize:st(l.offsetWidth,l.offsetHeight,n.containerRect.width,n.containerRect.height,n.props.aspect,n.props.rotation);(null===(a=n.state.cropSize)||void 0===a?void 0:a.height)===i.height&&(null===(c=n.state.cropSize)||void 0===c?void 0:c.width)===i.width||n.props.onCropSizeChange&&n.props.onCropSizeChange(i),n.setState({cropSize:i},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){e.preventDefault(),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,a=e.y;n.dragStartPosition={x:r,y:a},n.dragStartCrop=rt({},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,a={x:n.dragStartCrop.x+e,y:n.dragStartCrop.y+r},c=n.props.restrictPosition?ut(a,n.mediaSize,n.state.cropSize,n.props.zoom,n.props.rotation):a;n.props.onCropChange(c)}}))},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=it()(e).pixelY,a=n.props.zoom-r*n.props.zoomSpeed/200;n.setNewZoom(a,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,a=r.crop,c=r.zoom;return{x:(t+a.x)/c,y:(o+a.y)/c}},n.setNewZoom=function(e,t){if(n.state.cropSize&&n.props.onZoomChange){var o=n.getPointOnContainer(t),r=n.getPointOnMedia(o),a=Math.min(n.props.maxZoom,Math.max(e,n.props.minZoom)),c={x:r.x*a-o.x,y:r.y*a-o.y},l=n.props.restrictPosition?ut(c,n.mediaSize,n.state.cropSize,a,n.props.rotation):c;n.props.onCropChange(l),n.props.onZoomChange(a)}},n.getCropData=function(){return n.state.cropSize?pt(n.props.restrictPosition?ut(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?ut(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}ot(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,a,c,l,i;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===(a=e.crop)||void 0===a?void 0:a.x)===(null===(c=this.props.crop)||void 0===c?void 0:c.x)&&(null===(l=e.crop)||void 0===l?void 0:l.y)===(null===(i=this.props.crop)||void 0===i?void 0:i.y)||this.emitCropAreaChange(),e.zoomWithScroll!==this.props.zoomWithScroll&&this.containerRef&&(this.props.zoomWithScroll?this.containerRef.addEventListener("wheel",this.onWheel,{passive:!1}):this.clearScrollEvent())},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=mt(n,o),this.lastPinchRotation=bt(n,o),this.onDragStart(Ot(n,o))},t.prototype.onPinchMove=function(e){var n=this,o=t.getTouchPoint(e.touches[0]),r=t.getTouchPoint(e.touches[1]),a=Ot(o,r);this.onDrag(a),this.rafPinchTimeout&&window.cancelAnimationFrame(this.rafPinchTimeout),this.rafPinchTimeout=window.requestAnimationFrame((function(){var e=mt(o,r),t=n.props.zoom*(e/n.lastPinchDistance);n.setNewZoom(t,a),n.lastPinchDistance=e;var c=bt(o,r),l=n.props.rotation+(c-n.lastPinchRotation);n.props.onRotationChange&&n.props.onRotationChange(l),n.lastPinchRotation=c}))},t.prototype.render=function(){var e=this,t=this.props,n=t.image,o=t.video,r=t.mediaProps,a=t.transform,c=t.crop,l=c.x,i=c.y,s=t.rotation,u=t.zoom,d=t.cropShape,m=t.showGrid,b=t.style,p=b.containerStyle,g=b.cropAreaStyle,h=b.mediaStyle,v=t.classes,O=v.containerClassName,j=v.cropAreaClassName,f=v.mediaClassName,y=t.objectFit;return ct.a.createElement("div",{onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart,ref:function(t){return e.containerRef=t},"data-testid":"container",style:p,className:yt("reactEasyCrop_Container",O)},n?ct.a.createElement("img",rt({alt:"",className:yt("reactEasyCrop_Image","contain"===y&&"reactEasyCrop_Contain","horizontal-cover"===y&&"reactEasyCrop_Cover_Horizontal","vertical-cover"===y&&"reactEasyCrop_Cover_Vertical",f)},r,{src:n,ref:function(t){return e.imageRef=t},style:rt(rt({},h),{transform:a||"translate("+l+"px, "+i+"px) rotate("+s+"deg) scale("+u+")"}),onLoad:this.onMediaLoad})):o&&ct.a.createElement("video",rt({autoPlay:!0,loop:!0,muted:!0,className:yt("reactEasyCrop_Video","contain"===y&&"reactEasyCrop_Contain","horizontal-cover"===y&&"reactEasyCrop_Cover_Horizontal","vertical-cover"===y&&"reactEasyCrop_Cover_Vertical",f)},r,{src:o,ref:function(t){return e.videoRef=t},onLoadedMetadata:this.onMediaLoad,style:rt(rt({},h),{transform:a||"translate("+l+"px, "+i+"px) rotate("+s+"deg) scale("+u+")"}),controls:!1})),this.state.cropSize&&ct.a.createElement("div",{style:rt(rt({},g),{width:this.state.cropSize.width,height:this.state.cropSize.height}),"data-testid":"cropper",className:yt("reactEasyCrop_CropArea","round"===d&&"reactEasyCrop_CropAreaRound",m&&"reactEasyCrop_CropAreaGrid",j)}))},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}(ct.a.Component);const _t={position:"bottom right",isAlternate:!0};var kt=n("ywyh"),Et=n.n(kt);var Ct=n("g56x");function xt(e,t){const n=function({url:e,naturalWidth:t,naturalHeight:n}){const[o,r]=Object(ge.useState)(),[a,c]=Object(ge.useState)(),[l,i]=Object(ge.useState)({x:0,y:0}),[s,u]=Object(ge.useState)(),[d,m]=Object(ge.useState)(),[b,p]=Object(ge.useState)(),[g,h]=Object(ge.useState)(),v=Object(ge.useCallback)(()=>{i({x:0,y:0}),u(100),m(0),p(t/n),h(t/n)},[t,n,i,u,m,p,h]),O=Object(ge.useCallback)(()=>{const o=(d+90)%360;let a=t/n;if(d%180==90&&(a=n/t),0===o)return r(),m(o),p(1/b),void i({x:-l.y*a,y:l.x*a});const c=new window.Image;c.src=e,c.onload=function(e){const t=document.createElement("canvas");let n=0,c=0;o%180?(t.width=e.target.height,t.height=e.target.width):(t.width=e.target.width,t.height=e.target.height),90!==o&&180!==o||(n=t.width),270!==o&&180!==o||(c=t.height);const s=t.getContext("2d");s.translate(n,c),s.rotate(o*Math.PI/180),s.drawImage(e.target,0,0),t.toBlob(e=>{r(URL.createObjectURL(e)),m(o),p(1/b),i({x:-l.y*a,y:l.x*a})})};const s=Object(Ct.applyFilters)("media.crossOrigin",void 0,e);"string"==typeof s&&(c.crossOrigin=s)},[d,t,n,r,m,p,i]);return Object(ge.useMemo)(()=>({editedUrl:o,setEditedUrl:r,crop:a,setCrop:c,position:l,setPosition:i,zoom:s,setZoom:u,rotation:d,setRotation:m,rotateClockwise:O,aspect:b,setAspect:p,defaultAspect:g,initializeTransformValues:v}),[o,r,a,c,l,i,s,u,d,m,O,b,p,g,v])}(e),{initializeTransformValues:o}=n;return Object(ge.useEffect)(()=>{t&&o()},[t,o]),n}const St=Object(ge.createContext)({}),Bt=()=>Object(ge.useContext)(St);function Tt({id:e,url:t,naturalWidth:n,naturalHeight:o,isEditing:r,onFinishEditing:a,onSaveImage:c,children:l}){const i=xt({url:t,naturalWidth:n,naturalHeight:o},r),s=function({crop:e,rotation:t,height:n,width:o,aspect:r,url:a,id:c,onSaveImage:l,onFinishEditing:i}){const{createErrorNotice:s}=Object(Le.useDispatch)(qe.store),[u,d]=Object(ge.useState)(!1),m=Object(ge.useCallback)(()=>{d(!1),i()},[d,i]),b=Object(ge.useCallback)(()=>{d(!0);let u={};(e.width<99.9||e.height<99.9)&&(u=e),t>0&&(u.rotation=t),u.src=a,Et()({path:`/wp/v2/media/${c}/edit`,method:"POST",data:u}).then(e=>{l({id:e.id,url:e.source_url,height:n&&o?o/r:void 0})}).catch(e=>{s(Object(pe.sprintf)(Object(pe.__)("Could not edit image. %s"),e.message),{id:"image-editing-error",type:"snackbar"})}).finally(()=>{d(!1),i()})},[d,e,t,n,o,r,a,l,s,d,i]);return Object(ge.useMemo)(()=>({isInProgress:u,apply:b,cancel:m}),[u,b,m])}({id:e,url:t,onSaveImage:c,onFinishEditing:a,...i}),u=Object(ge.useMemo)(()=>({...i,...s}),[i,s]);return Object(ge.createElement)(St.Provider,{value:u},l)}function zt({url:e,width:t,height:n,clientWidth:o,naturalHeight:r,naturalWidth:a}){const{isInProgress:c,editedUrl:l,position:i,zoom:s,aspect:u,setPosition:d,setCrop:m,setZoom:b,rotation:p}=Bt();let g=n||o*r/a;return p%180==90&&(g=o*a/r),Object(ge.createElement)("div",{className:je()("wp-block-image__crop-area",{"is-applying":c}),style:{width:t||o,height:g}},Object(ge.createElement)(wt,{image:l||e,disabled:c,minZoom:1,maxZoom:3,crop:i,zoom:s/100,aspect:u,onCropChange:d,onCropComplete:e=>{m(e)},onZoomChange:e=>{b(100*e)}}),c&&Object(ge.createElement)(Ee.Spinner,null))}var Pt=n("cGtP");function Mt(){const{isInProgress:e,zoom:t,setZoom:n}=Bt();return Object(ge.createElement)(Ee.Dropdown,{contentClassName:"wp-block-image__zoom",popoverProps:_t,renderToggle:({isOpen:t,onToggle:n})=>Object(ge.createElement)(Ee.ToolbarButton,{icon:Pt.a,label:Object(pe.__)("Zoom"),onClick:n,"aria-expanded":t,disabled:e}),renderContent:()=>Object(ge.createElement)(Ee.RangeControl,{label:Object(pe.__)("Zoom"),min:100,max:300,value:Math.round(t),onChange:n})})}var Nt=n("RMJe");var Rt=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.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 Vt({aspectRatios:e,isDisabled:t,label:n,onClick:o,value:r}){return Object(ge.createElement)(Ee.MenuGroup,{label:n},e.map(({title:e,aspect:n})=>Object(ge.createElement)(Ee.MenuItem,{key:n,disabled:t,onClick:()=>{o(n)},role:"menuitemradio",isSelected:n===r,icon:n===r?Nt.a:void 0},e)))}function Ht({toggleProps:e}){const{isInProgress:t,aspect:n,setAspect:o,defaultAspect:r}=Bt();return Object(ge.createElement)(Ee.DropdownMenu,{icon:Rt,label:Object(pe.__)("Aspect Ratio"),popoverProps:_t,toggleProps:e,className:"wp-block-image__aspect-ratio"},({onClose:e})=>Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(Vt,{isDisabled:t,onClick:t=>{o(t),e()},value:n,aspectRatios:[{title:Object(pe.__)("Original"),aspect:r},{title:Object(pe.__)("Square"),aspect:1}]}),Object(ge.createElement)(Vt,{label:Object(pe.__)("Landscape"),isDisabled:t,onClick:t=>{o(t),e()},value:n,aspectRatios:[{title:Object(pe.__)("16:10"),aspect:1.6},{title:Object(pe.__)("16:9"),aspect:16/9},{title:Object(pe.__)("4:3"),aspect:4/3},{title:Object(pe.__)("3:2"),aspect:1.5}]}),Object(ge.createElement)(Vt,{label:Object(pe.__)("Portrait"),isDisabled:t,onClick:t=>{o(t),e()},value:n,aspectRatios:[{title:Object(pe.__)("10:16"),aspect:.625},{title:Object(pe.__)("9:16"),aspect:9/16},{title:Object(pe.__)("3:4"),aspect:3/4},{title:Object(pe.__)("2:3"),aspect:2/3}]})))}var Lt=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.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 It(){const{isInProgress:e,rotateClockwise:t}=Bt();return Object(ge.createElement)(Ee.ToolbarButton,{icon:Lt,label:Object(pe.__)("Rotate"),onClick:t,disabled:e})}function At(){const{isInProgress:e,apply:t,cancel:n}=Bt();return Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(Ee.ToolbarButton,{onClick:t,disabled:e},Object(pe.__)("Apply")),Object(ge.createElement)(Ee.ToolbarButton,{onClick:n},Object(pe.__)("Cancel")))}function Dt({url:e,width:t,height:n,clientWidth:o,naturalHeight:r,naturalWidth:a}){return Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(zt,{url:e,width:t,height:n,clientWidth:o,naturalHeight:r,naturalWidth:a}),Object(ge.createElement)(de.BlockControls,null,Object(ge.createElement)(Ee.ToolbarGroup,null,Object(ge.createElement)(Mt,null),Object(ge.createElement)(Ee.ToolbarItem,null,e=>Object(ge.createElement)(Ht,{toggleProps:e})),Object(ge.createElement)(It,null)),Object(ge.createElement)(Ee.ToolbarGroup,null,Object(ge.createElement)(At,null))))}const Ft=["image"];function Gt({temporaryURL:e,attributes:{url:t="",alt:n,caption:o,align:r,id:a,href:c,rel:l,linkClass:i,linkDestination:s,title:u,width:d,height:m,linkTarget:b,sizeSlug:p},setAttributes:g,isSelected:h,insertBlocksAfter:v,onReplace:O,onSelectImage:j,onSelectURL:f,onUploadError:y,containerRef:w,clientId:_}){const k=Object(ge.useRef)(),E=Object(Ie.usePrevious)(t),{getBlock:C}=Object(Le.useSelect)(de.store),{image:x,multiImageSelection:S}=Object(Le.useSelect)(e=>{const{getMedia:t}=e(ue.store),{getMultiSelectedBlockClientIds:n,getBlockName:o}=e(de.store),r=n();return{image:a&&h?t(a):null,multiImageSelection:r.length&&r.every(e=>"core/image"===o(e))}},[a,h]),{imageEditing:B,imageSizes:T,maxWidth:z,mediaUpload:P}=Object(Le.useSelect)(e=>{const{getSettings:t}=e(de.store);return Object(be.pick)(t(),["imageEditing","imageSizes","maxWidth","mediaUpload"])}),{replaceBlocks:M,toggleSelection:N}=Object(Le.useDispatch)(de.store),{createErrorNotice:R,createSuccessNotice:V}=Object(Le.useDispatch)(qe.store),H=Object(Ie.useViewportMatch)("medium"),L=Object(be.includes)(["wide","full"],r),[{naturalWidth:I,naturalHeight:A},D]=Object(ge.useState)({}),[F,G]=Object(ge.useState)(!1),[q,U]=Object(ge.useState)(),W=nt(w,[r]),$=!L&&H,Z=Object(be.map)(Object(be.filter)(T,({slug:e})=>Object(be.get)(x,["media_details","sizes",e,"source_url"])),({name:e,slug:t})=>({value:t,label:e})),Q=!!Object(me.getBlockType)("core/cover");Object(ge.useEffect)(()=>{qt(a,t)&&h&&!q&&window.fetch(t).then(e=>e.blob()).then(e=>U(e))},[a,t,h,q]),Object(ge.useEffect)(()=>{t&&!E&&h&&k.current.focus()},[t,E]),Object(ge.useEffect)(()=>{h||G(!1)},[h]);const J=a&&I&&A&&B,Y=!S&&J&&!F;const K=Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.BlockControls,{group:"block"},Object(ge.createElement)(de.BlockAlignmentControl,{value:r,onChange:function(e){const t=["wide","full"].includes(e)?{width:void 0,height:void 0}:{};g({...t,align:e})}}),!S&&!F&&Object(ge.createElement)(de.__experimentalImageURLInputUI,{url:c||"",onChangeUrl:function(e){g(e)},linkDestination:s,mediaUrl:x&&x.source_url||t,mediaLink:x&&x.link,linkTarget:b,linkClass:i,rel:l}),Y&&Object(ge.createElement)(Ee.ToolbarButton,{onClick:()=>G(!0),icon:De,label:Object(pe.__)("Crop")}),q&&Object(ge.createElement)(Ee.ToolbarButton,{onClick:function(){P({filesList:[q],onFileChange([e]){j(e),Object(He.isBlobURL)(e.url)||(U(),V(Object(pe.__)("Image uploaded."),{type:"snackbar"}))},allowedTypes:Ft,onError(e){R(e,{type:"snackbar"})}})},icon:Fe.a,label:Object(pe.__)("Upload external image")}),!S&&Q&&Object(ge.createElement)(Ee.ToolbarButton,{icon:Ge,label:Object(pe.__)("Add text over image"),onClick:function(){M(_,Object(me.switchToBlockType)(C(_),"core/cover"))}})),!S&&!F&&Object(ge.createElement)(de.BlockControls,{group:"other"},Object(ge.createElement)(de.MediaReplaceFlow,{mediaId:a,mediaURL:t,allowedTypes:Ft,accept:"image/*",onSelect:j,onSelectURL:f,onError:y})),Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Image settings")},!S&&Object(ge.createElement)(Ee.TextareaControl,{label:Object(pe.__)("Alt text (alternative text)"),value:n,onChange:function(e){g({alt:e})},help:Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(Ee.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},Object(pe.__)("Describe the purpose of the image")),Object(pe.__)("Leave empty if the image is purely decorative."))}),Object(ge.createElement)(de.__experimentalImageSizeControl,{onChangeImage:function(e){const t=Object(be.get)(x,["media_details","sizes",e,"source_url"]);if(!t)return null;g({url:t,width:void 0,height:void 0,sizeSlug:e})},onChange:e=>g(e),slug:p,width:d,height:m,imageSizeOptions:Z,isResizable:$,imageWidth:I,imageHeight:A}))),Object(ge.createElement)(de.InspectorAdvancedControls,null,Object(ge.createElement)(Ee.TextControl,{label:Object(pe.__)("Title attribute"),value:u||"",onChange:function(e){g({title:e})},help:Object(ge.createElement)(ge.Fragment,null,Object(pe.__)("Describe the role of this image on the page."),Object(ge.createElement)(Ee.ExternalLink,{href:"https://www.w3.org/TR/html52/dom.html#the-title-attribute"},Object(pe.__)("(Note: many devices and browsers do not display this text.)")))}))),X=function(e){const t=Object(Ae.getPath)(e);if(t)return Object(be.last)(t.split("/"))}(t);let ee;ee=n||(X?Object(pe.sprintf)(Object(pe.__)("This image has an empty alt attribute; its file name is %s"),X):Object(pe.__)("This image has an empty alt attribute"));let te,ne,oe=Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)("img",{src:e||t,alt:ee,onError:()=>function(){const e=Ke({attributes:{url:t}});void 0!==e&&O(e)}(),onLoad:e=>{D(Object(be.pick)(e.target,["naturalWidth","naturalHeight"]))}}),e&&Object(ge.createElement)(Ee.Spinner,null));if(W&&I&&A){const e=I>W,t=A/I;te=e?W:I,ne=e?W*t:A}if(J&&F)oe=Object(ge.createElement)(Dt,{url:t,width:d,height:m,clientWidth:W,naturalHeight:A,naturalWidth:I});else if($&&te){const e=d||te,t=m||ne,n=I/A,o=I<A?20:20*n,a=A<I?20:20/n,c=2.5*z;let l=!1,i=!1;"center"===r?(l=!0,i=!0):Object(pe.isRTL)()?"left"===r?l=!0:i=!0:"right"===r?i=!0:l=!0,oe=Object(ge.createElement)(Ee.ResizableBox,{size:{width:null!=d?d:"auto",height:null!=m?m:"auto"},showHandle:h,minWidth:o,maxWidth:c,minHeight:a,maxHeight:c/n,lockAspectRatio:!0,enable:{top:!1,right:l,bottom:!0,left:i},onResizeStart:function(){N(!1)},onResizeStop:(n,o,r,a)=>{N(!0),g({width:parseInt(e+a.width,10),height:parseInt(t+a.height,10)})}},oe)}else oe=Object(ge.createElement)("div",{style:{width:d,height:m}},oe);return Object(ge.createElement)(Tt,{id:a,url:t,naturalWidth:I,naturalHeight:A,clientWidth:W,onSaveImage:e=>g(e),isEditing:F,onFinishEditing:()=>G(!1)},!e&&K,oe,(!de.RichText.isEmpty(o)||h)&&Object(ge.createElement)(de.RichText,{ref:k,tagName:"figcaption","aria-label":Object(pe.__)("Image caption text"),placeholder:Object(pe.__)("Add caption"),value:o,onChange:e=>g({caption:e}),inlineToolbar:!0,__unstableOnSplitAtEnd:()=>v(Object(me.createBlock)("core/paragraph"))}))}const qt=(e,t)=>t&&!e&&!Object(He.isBlobURL)(t);var Ut=Object(Ee.withNotices)((function({attributes:e,setAttributes:t,isSelected:n,className:o,noticeUI:r,insertBlocksAfter:a,noticeOperations:c,onReplace:l,clientId:i}){const{url:s="",alt:u,caption:d,align:m,id:b,width:p,height:g,sizeSlug:h}=e,[v,O]=Object(ge.useState)(),j=Object(ge.useRef)();Object(ge.useEffect)(()=>{j.current=u},[u]);const f=Object(ge.useRef)();Object(ge.useEffect)(()=>{f.current=d},[d]);const y=Object(ge.useRef)(),{imageDefaultSize:w,mediaUpload:_}=Object(Le.useSelect)(e=>{const{getSettings:t}=e(de.store);return Object(be.pick)(t(),["imageDefaultSize","mediaUpload"])},[]);function k(e){c.removeAllNotices(),c.createErrorNotice(e)}function E(n){var o,r,a,c,l;if(!n||!n.url)return void t({url:void 0,alt:void 0,id:void 0,title:void 0,caption:void 0});if(Object(He.isBlobURL)(n.url))return void O(n.url);O();let i,u=((e,t)=>{const n=Object(be.pick)(e,["alt","id","link","caption"]);return n.url=Object(be.get)(e,["sizes",t,"url"])||Object(be.get)(e,["media_details","sizes",t,"source_url"])||e.url,n})(n,w);f.current&&!Object(be.get)(u,["caption"])&&(u=Object(be.omit)(u,["caption"])),i=n.id&&n.id===b?{url:s}:{width:void 0,height:void 0,sizeSlug:w};let d,m=e.linkDestination;if(!m)switch((null===(o=wp)||void 0===o||null===(r=o.media)||void 0===r||null===(a=r.view)||void 0===a||null===(c=a.settings)||void 0===c||null===(l=c.defaultProps)||void 0===l?void 0:l.link)||"none"){case"file":case"media":m="media";break;case"post":case"attachment":m="attachment";break;case"custom":m="custom";break;case"none":m="none"}switch(m){case"media":d=n.url;break;case"attachment":d=n.link}u.href=d,t({...u,...i,linkDestination:m})}function C(e){e!==s&&t({url:e,id:void 0,width:void 0,height:void 0,sizeSlug:w})}const x=((e,t)=>!e&&Object(He.isBlobURL)(t))(b,s);Object(ge.useEffect)(()=>{if(!x)return;const e=Object(He.getBlobByURL)(s);e&&_({filesList:[e],onFileChange:([e])=>{E(e)},allowedTypes:Ft,onError:e=>{c.createErrorNotice(e),t({src:void 0,id:void 0,url:void 0})}})},[]),Object(ge.useEffect)(()=>{if(v)return()=>{Object(He.revokeBlobURL)(v)}},[v]);const S=qt(b,s)?s:void 0,B=!!s&&Object(ge.createElement)("img",{alt:Object(pe.__)("Edit image"),title:Object(pe.__)("Edit image"),className:"edit-image-preview",src:s}),T=je()(o,{"is-transient":v,"is-resized":!!p||!!g,["size-"+h]:h}),z=Object(de.useBlockProps)({ref:y,className:T});return Object(ge.createElement)("figure",z,(v||s)&&Object(ge.createElement)(Gt,{temporaryURL:v,attributes:e,setAttributes:t,isSelected:n,insertBlocksAfter:a,onReplace:l,onSelectImage:E,onSelectURL:C,onUploadError:k,containerRef:y,clientId:i}),!s&&Object(ge.createElement)(de.BlockControls,{group:"block"},Object(ge.createElement)(de.BlockAlignmentControl,{value:m,onChange:function(e){const n=["wide","full"].includes(e)?{width:void 0,height:void 0}:{};t({...n,align:e})}})),Object(ge.createElement)(de.MediaPlaceholder,{icon:Object(ge.createElement)(de.BlockIcon,{icon:Ne}),onSelect:E,onSelectURL:C,notices:r,onError:k,accept:"image/*",allowedTypes:Ft,value:{id:b,src:S},mediaPreview:B,disableMediaButtons:v||s}))}));function Wt(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 $t={img:{attributes:["src","alt","title"],classes:["alignleft","aligncenter","alignright","alignnone",/^wp-image-\d+$/]}};var Zt={from:[{type:"raw",isMatch:e=>"FIGURE"===e.nodeName&&!!e.querySelector("img"),schema:({phrasingContentSchema:e})=>({figure:{require:["img"],children:{...$t,a:{attributes:["href","rel","target"],children:$t},figcaption:{children:e}}}}),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),c=a?Number(a[1]):void 0,l=e.querySelector("a"),i=l&&l.href?"custom":void 0,s=l&&l.href?l.href:void 0,u=l&&l.rel?l.rel:void 0,d=l&&l.className?l.className:void 0,m=Object(me.getBlockAttributes)("core/image",e.outerHTML,{align:r,id:c,linkDestination:i,href:s,rel:u,linkClass:d,anchor:o});return Object(me.createBlock)("core/image",m)}},{type:"files",isMatch:e=>1===e.length&&0===e[0].type.indexOf("image/"),transform(e){const t=e[0];return Object(me.createBlock)("core/image",{url:Object(He.createBlobURL)(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,{shortcode:t}){const{body:n}=document.implementation.createHTMLDocument("");n.innerHTML=t.content;let o=n.querySelector("img");for(;o&&o.parentNode&&o.parentNode!==n;)o=o.parentNode;return o&&o.parentNode.removeChild(o),n.innerHTML.trim()}},href:{shortcode:(e,{shortcode:t})=>Wt(t.content,"href")},rel:{shortcode:(e,{shortcode:t})=>Wt(t.content,"rel")},linkClass:{shortcode:(e,{shortcode:t})=>Wt(t.content,"class")},id:{type:"number",shortcode:({named:{id:e}})=>{if(e)return parseInt(e.replace("attachment_",""),10)}},align:{type:"string",shortcode:({named:{align:e="alignnone"}})=>e.replace("align","")}}}]};const Qt={apiVersion:2,name:"core/image",title:"Image",category:"media",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:Jt}=Qt,Yt={icon:Ne,example:{attributes:{sizeSlug:"large",url:"https://s.w.org/images/core/5.3/MtBlanc1.jpg",caption:Object(pe.__)("Mont Blanc appears—still, snowy, and serene.")}},__experimentalLabel(e,{context:t}){if("accessibility"===t){const{caption:t,alt:n,url:o}=e;return o?n?n+(t?". "+t:""):t||"":Object(pe.__)("Empty")}},getEditWrapperProps:e=>({"data-align":e.align}),transforms:Zt,edit:Ut,save:function({attributes:e}){const{url:t,alt:n,caption:o,align:r,href:a,rel:c,linkClass:l,width:i,height:s,id:u,linkTarget:d,sizeSlug:m,title:b}=e,p=Object(be.isEmpty)(c)?void 0:c,g=je()({["align"+r]:r,["size-"+m]:m,"is-resized":i||s}),h=Object(ge.createElement)("img",{src:t,alt:n,className:u?"wp-image-"+u:null,width:i,height:s,title:b}),v=Object(ge.createElement)(ge.Fragment,null,a?Object(ge.createElement)("a",{className:l,href:a,target:d,rel:p},h):h,!de.RichText.isEmpty(o)&&Object(ge.createElement)(de.RichText.Content,{tagName:"figcaption",value:o}));return"left"===r||"right"===r||"center"===r?Object(ge.createElement)("div",de.useBlockProps.save(),Object(ge.createElement)("figure",{className:g},v)):Object(ge.createElement)("figure",de.useBlockProps.save({className:g}),v)},deprecated:Ve};var Kt=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.Path,{d:"M6.2 5.2v13.4l5.8-4.8 5.8 4.8V5.2z"}));const Xt={className:!1,anchor:!0},en={align:{type:"string"},content:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6",default:""},level:{type:"number",default:2},placeholder:{type:"string"}},tn=e=>{if(!e.customTextColor)return e;const t={color:{text:e.customTextColor}};return{...Object(be.omit)(e,["customTextColor"]),style:t}},nn=["left","right","center"],on=e=>{const{align:t,...n}=e;return nn.includes(t)?{...n,textAlign:t}:e};var rn=[{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:en,isEligible:({align:e})=>nn.includes(e),migrate:on,save({attributes:e}){const{align:t,content:n,level:o}=e,r="h"+o,a=je()({["has-text-align-"+t]:t});return Object(ge.createElement)(r,de.useBlockProps.save({className:a}),Object(ge.createElement)(de.RichText.Content,{value:n}))}},{supports:Xt,attributes:{...en,customTextColor:{type:"string"},textColor:{type:"string"}},migrate:e=>tn(on(e)),save({attributes:e}){const{align:t,content:n,customTextColor:o,level:r,textColor:a}=e,c="h"+r,l=Object(de.getColorClassName)("color",a),i=je()({[l]:l,"has-text-color":a||o,["has-text-align-"+t]:t});return Object(ge.createElement)(de.RichText.Content,{className:i||void 0,tagName:c,style:{color:l?void 0:o},value:n})}},{attributes:{...en,customTextColor:{type:"string"},textColor:{type:"string"}},migrate:e=>tn(on(e)),save({attributes:e}){const{align:t,content:n,customTextColor:o,level:r,textColor:a}=e,c="h"+r,l=Object(de.getColorClassName)("color",a),i=je()({[l]:l,["has-text-align-"+t]:t});return Object(ge.createElement)(de.RichText.Content,{className:i||void 0,tagName:c,style:{color:l?void 0:o},value:n})},supports:Xt},{supports:Xt,attributes:{...en,customTextColor:{type:"string"},textColor:{type:"string"}},migrate:e=>tn(on(e)),save({attributes:e}){const{align:t,level:n,content:o,textColor:r,customTextColor:a}=e,c="h"+n,l=Object(de.getColorClassName)("color",r),i=je()({[l]:l});return Object(ge.createElement)(de.RichText.Content,{className:i||void 0,tagName:c,style:{textAlign:t,color:l?void 0:a},value:o})}}],an=n("RxS6");function cn({level:e,isPressed:t=!1}){const n={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 n.hasOwnProperty(e)?Object(ge.createElement)(Ee.SVG,{width:"24",height:"24",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",isPressed:t},Object(ge.createElement)(Ee.Path,{d:n[e]})):null}const ln=[1,2,3,4,5,6],sn={className:"block-library-heading-level-dropdown",isAlternate:!0};function un({selectedLevel:e,onChange:t}){return Object(ge.createElement)(Ee.Dropdown,{popoverProps:sn,renderToggle:({onToggle:t,isOpen:n})=>Object(ge.createElement)(Ee.ToolbarButton,{"aria-expanded":n,"aria-haspopup":"true",icon:Object(ge.createElement)(cn,{level:e}),label:Object(pe.__)("Change heading level"),onClick:t,onKeyDown:e=>{n||e.keyCode!==an.DOWN||(e.preventDefault(),e.stopPropagation(),t())},showTooltip:!0}),renderContent:()=>Object(ge.createElement)(Ee.Toolbar,{className:"block-library-heading-level-toolbar",label:Object(pe.__)("Change heading level")},Object(ge.createElement)(Ee.ToolbarGroup,{isCollapsed:!1,controls:ln.map(n=>{const o=n===e;return{icon:Object(ge.createElement)(cn,{level:n,isPressed:o}),title:Object(pe.sprintf)(Object(pe.__)("Heading %d"),n),isActive:o,onClick(){t(n)}}})}))})}var dn=function({attributes:e,setAttributes:t,mergeBlocks:n,onReplace:o,mergedStyle:r,clientId:a}){const{textAlign:c,content:l,level:i,placeholder:s}=e,u="h"+i,d=Object(de.useBlockProps)({className:je()({["has-text-align-"+c]:c}),style:r});return Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.BlockControls,{group:"block"},Object(ge.createElement)(un,{selectedLevel:i,onChange:e=>t({level:e})}),Object(ge.createElement)(de.AlignmentControl,{value:c,onChange:e=>{t({textAlign:e})}})),Object(ge.createElement)(de.RichText,Object(ke.a)({identifier:"content",tagName:u,value:l,onChange:e=>t({content:e}),onMerge:n,onSplit:(t,n)=>{let o;return o=n||t?Object(me.createBlock)("core/heading",{...e,content:t}):Object(me.createBlock)("core/paragraph"),n&&(o.clientId=a),o},onReplace:o,onRemove:()=>o([]),"aria-label":Object(pe.__)("Heading text"),placeholder:s||Object(pe.__)("Heading"),textAlign:c},d)))};const{name:mn}={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},fontSize:!0,lineHeight:!0,__experimentalSelector:"h1,h2,h3,h4,h5,h6",__unstablePasteTextInline:!0},editorStyle:"wp-block-heading-editor",style:"wp-block-heading"};var bn={from:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:e=>e.map(({content:e,anchor:t})=>Object(me.createBlock)(mn,{content:e,anchor:t}))},{type:"raw",selector:"h1,h2,h3,h4,h5,h6",schema:({phrasingContentSchema:e,isPaste:t})=>{const n={children:e,attributes:t?[]:["style","id"]};return{h1:n,h2:n,h3:n,h4:n,h5:n,h6:n}},transform(e){const t=Object(me.getBlockAttributes)(mn,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(me.createBlock)(mn,t)}},...[1,2,3,4,5,6].map(e=>({type:"prefix",prefix:Array(e+1).join("#"),transform:t=>Object(me.createBlock)(mn,{level:e,content:t})})),...[1,2,3,4,5,6].map(e=>({type:"enter",regExp:new RegExp(`^/(h|H)${e}$`),transform:t=>Object(me.createBlock)(mn,{level:e,content:t})}))],to:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:e=>e.map(({content:e,anchor:t})=>Object(me.createBlock)("core/paragraph",{content:e,anchor:t}))}]};const pn={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},fontSize:!0,lineHeight:!0,__experimentalSelector:"h1,h2,h3,h4,h5,h6",__unstablePasteTextInline:!0},editorStyle:"wp-block-heading-editor",style:"wp-block-heading"},{name:gn}=pn,hn={icon:Kt,example:{attributes:{content:Object(pe.__)("Code is Poetry"),level:2}},__experimentalLabel(e,{context:t}){if("accessibility"===t){const{content:t,level:n}=e;return Object(be.isEmpty)(t)?Object(pe.sprintf)(Object(pe.__)("Level %s. Empty."),n):Object(pe.sprintf)(Object(pe.__)("Level %1$s. %2$s"),n,t)}},transforms:bn,deprecated:rn,merge:(e,t)=>({content:(e.content||"")+(t.content||"")}),edit:dn,save:function({attributes:e}){const{textAlign:t,content:n,level:o}=e,r="h"+o,a=je()({["has-text-align-"+t]:t});return Object(ge.createElement)(r,de.useBlockProps.save({className:a}),Object(ge.createElement)(de.RichText.Content,{value:n}))}};var vn=Object(ge.createElement)(he.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(he.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 On={value:{type:"string",source:"html",selector:"blockquote",multiline:"p",default:""},citation:{type:"string",source:"html",selector:"cite",default:""},align:{type:"string"}};var jn=[{attributes:On,save({attributes:e}){const{align:t,value:n,citation:o}=e;return Object(ge.createElement)("blockquote",{style:{textAlign:t||null}},Object(ge.createElement)(de.RichText.Content,{multiline:!0,value:n}),!de.RichText.isEmpty(o)&&Object(ge.createElement)(de.RichText.Content,{tagName:"cite",value:o}))}},{attributes:{...On,style:{type:"number",default:1}},migrate:e=>2===e.style?{...Object(be.omit)(e,["style"]),className:e.className?e.className+" is-style-large":"is-style-large"}:e,save({attributes:e}){const{align:t,value:n,citation:o,style:r}=e;return Object(ge.createElement)("blockquote",{className:2===r?"is-large":"",style:{textAlign:t||null}},Object(ge.createElement)(de.RichText.Content,{multiline:!0,value:n}),!de.RichText.isEmpty(o)&&Object(ge.createElement)(de.RichText.Content,{tagName:"cite",value:o}))}},{attributes:{...On,citation:{type:"string",source:"html",selector:"footer",default:""},style:{type:"number",default:1}},save({attributes:e}){const{align:t,value:n,citation:o,style:r}=e;return Object(ge.createElement)("blockquote",{className:"blocks-quote-style-"+r,style:{textAlign:t||null}},Object(ge.createElement)(de.RichText.Content,{multiline:!0,value:n}),!de.RichText.isEmpty(o)&&Object(ge.createElement)(de.RichText.Content,{tagName:"footer",value:o}))}}];const fn="web"===ge.Platform.OS;var yn=n("qRz9");var wn={from:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:e=>Object(me.createBlock)("core/quote",{value:Object(yn.toHTMLString)({value:Object(yn.join)(e.map(({content:e})=>Object(yn.create)({html:e})),"\u2028"),multilineTag:"p"}),anchor:e.anchor})},{type:"block",blocks:["core/heading"],transform:({content:e,anchor:t})=>Object(me.createBlock)("core/quote",{value:`<p>${e}</p>`,anchor:t})},{type:"block",blocks:["core/pullquote"],transform:({value:e,citation:t,anchor:n})=>Object(me.createBlock)("core/quote",{value:e,citation:t,anchor:n})},{type:"prefix",prefix:">",transform:e=>Object(me.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:({phrasingContentSchema:e})=>({blockquote:{children:{p:{children:e},cite:{children:e}}}})}],to:[{type:"block",blocks:["core/paragraph"],transform:({value:e,citation:t})=>{const n=[];return e&&"<p></p>"!==e&&n.push(...Object(yn.split)(Object(yn.create)({html:e,multilineTag:"p"}),"\u2028").map(e=>Object(me.createBlock)("core/paragraph",{content:Object(yn.toHTMLString)({value:e})}))),t&&"<p></p>"!==t&&n.push(Object(me.createBlock)("core/paragraph",{content:t})),0===n.length?Object(me.createBlock)("core/paragraph",{content:""}):n}},{type:"block",blocks:["core/heading"],transform:({value:e,citation:t,...n})=>{if("<p></p>"===e)return Object(me.createBlock)("core/heading",{content:t});const o=Object(yn.split)(Object(yn.create)({html:e,multilineTag:"p"}),"\u2028"),r=Object(me.createBlock)("core/heading",{content:Object(yn.toHTMLString)({value:o[0]})});if(!t&&1===o.length)return r;const a=o.slice(1);return[r,Object(me.createBlock)("core/quote",{...n,citation:t,value:Object(yn.toHTMLString)({value:a.length?Object(yn.join)(o.slice(1),"\u2028"):Object(yn.create)(),multilineTag:"p"})})]}},{type:"block",blocks:["core/pullquote"],transform:({value:e,citation:t,anchor:n})=>Object(me.createBlock)("core/pullquote",{value:e,citation:t,anchor:n})}]};const _n={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},styles:[{name:"default",label:"Default",isDefault:!0},{name:"large",label:"Large"}],editorStyle:"wp-block-quote-editor",style:"wp-block-quote"},{name:kn}=_n,En={icon:vn,example:{attributes:{value:"<p>"+Object(pe.__)("In quoting others, we cite ourselves.")+"</p>",citation:"Julio Cortázar",className:"is-style-large"}},transforms:wn,edit:function({attributes:e,setAttributes:t,isSelected:n,mergeBlocks:o,onReplace:r,className:a,insertBlocksAfter:c,mergedStyle:l}){const{align:i,value:s,citation:u}=e,d=Object(de.useBlockProps)({className:je()(a,{["has-text-align-"+i]:i}),style:l});return Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.BlockControls,{group:"block"},Object(ge.createElement)(de.AlignmentControl,{value:i,onChange:e=>{t({align:e})}})),Object(ge.createElement)(Ee.BlockQuotation,d,Object(ge.createElement)(de.RichText,{identifier:"value",multiline:!0,value:s,onChange:e=>t({value:e}),onMerge:o,onRemove:e=>{const t=!u||0===u.length;!e&&t&&r([])},"aria-label":Object(pe.__)("Quote text"),placeholder:Object(pe.__)("Add quote"),onReplace:r,onSplit:t=>Object(me.createBlock)("core/quote",{...e,value:t}),__unstableOnSplitMiddle:()=>Object(me.createBlock)("core/paragraph"),textAlign:i}),(!de.RichText.isEmpty(u)||n)&&Object(ge.createElement)(de.RichText,{identifier:"citation",tagName:fn?"cite":void 0,style:{display:"block"},value:u,onChange:e=>t({citation:e}),__unstableMobileNoFocusOnMount:!0,"aria-label":Object(pe.__)("Quote citation text"),placeholder:Object(pe.__)("Add citation"),className:"wp-block-quote__citation",textAlign:i,__unstableOnSplitAtEnd:()=>c(Object(me.createBlock)("core/paragraph"))})))},save:function({attributes:e}){const{align:t,value:n,citation:o}=e,r=je()({["has-text-align-"+t]:t});return Object(ge.createElement)("blockquote",de.useBlockProps.save({className:r}),Object(ge.createElement)(de.RichText.Content,{multiline:!0,value:n}),!de.RichText.isEmpty(o)&&Object(ge.createElement)(de.RichText.Content,{tagName:"cite",value:o}))},merge:(e,{value:t,citation:n})=>(n||(n=e.citation),t&&"<p></p>"!==t?{...e,value:e.value+t,citation:n}:{...e,citation:n}),deprecated:jn};var Cn=Object(ge.createElement)(he.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(he.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"}));function xn(e){return Math.min(3,e.images.length)}const Sn=(e,t="large")=>{const n=Object(be.pick)(e,["alt","id","link","caption"]);n.url=Object(be.get)(e,["sizes",t,"url"])||Object(be.get)(e,["media_details","sizes",t,"source_url"])||e.url;const o=Object(be.get)(e,["sizes","full","url"])||Object(be.get)(e,["media_details","sizes","full","source_url"]);return o&&(n.fullUrl=o),n};var Bn=[{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:({linkTo:e})=>!e||"attachment"===e||"media"===e,migrate(e){let t=e.linkTo;return e.linkTo?"attachment"===e.linkTo?t="post":"media"===e.linkTo&&(t="file"):t="none",{...e,linkTo:t}},save({attributes:e}){const{images:t,columns:n=xn(e),imageCrop:o,caption:r,linkTo:a}=e;return Object(ge.createElement)("figure",{className:`columns-${n} ${o?"is-cropped":""}`},Object(ge.createElement)("ul",{className:"blocks-gallery-grid"},t.map(e=>{let t;switch(a){case"media":t=e.fullUrl||e.url;break;case"attachment":t=e.link}const n=Object(ge.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(ge.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(ge.createElement)("figure",null,t?Object(ge.createElement)("a",{href:t},n):n,!de.RichText.isEmpty(e.caption)&&Object(ge.createElement)(de.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-item__caption",value:e.caption})))})),!de.RichText.isEmpty(r)&&Object(ge.createElement)(de.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-caption",value:r}))}},{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:({ids:e})=>e&&e.some(e=>"string"==typeof e),migrate:e=>({...e,ids:Object(be.map)(e.ids,e=>{const t=parseInt(e,10);return Number.isInteger(t)?t:null})}),save({attributes:e}){const{images:t,columns:n=xn(e),imageCrop:o,caption:r,linkTo:a}=e;return Object(ge.createElement)("figure",{className:`columns-${n} ${o?"is-cropped":""}`},Object(ge.createElement)("ul",{className:"blocks-gallery-grid"},t.map(e=>{let t;switch(a){case"media":t=e.fullUrl||e.url;break;case"attachment":t=e.link}const n=Object(ge.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(ge.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(ge.createElement)("figure",null,t?Object(ge.createElement)("a",{href:t},n):n,!de.RichText.isEmpty(e.caption)&&Object(ge.createElement)(de.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-item__caption",value:e.caption})))})),!de.RichText.isEmpty(r)&&Object(ge.createElement)(de.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-caption",value:r}))}},{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({attributes:e}){const{images:t,columns:n=xn(e),imageCrop:o,linkTo:r}=e;return Object(ge.createElement)("ul",{className:`columns-${n} ${o?"is-cropped":""}`},t.map(e=>{let t;switch(r){case"media":t=e.fullUrl||e.url;break;case"attachment":t=e.link}const n=Object(ge.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(ge.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(ge.createElement)("figure",null,t?Object(ge.createElement)("a",{href:t},n):n,e.caption&&e.caption.length>0&&Object(ge.createElement)(de.RichText.Content,{tagName:"figcaption",value:e.caption})))}))}},{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:({images:e,ids:t})=>e&&e.length>0&&(!t&&e||t&&e&&t.length!==e.length||Object(be.some)(e,(e,n)=>!e&&null!==t[n]||parseInt(e,10)!==t[n])),migrate:e=>({...e,ids:Object(be.map)(e.images,({id:e})=>e?parseInt(e,10):null)}),supports:{align:!0},save({attributes:e}){const{images:t,columns:n=xn(e),imageCrop:o,linkTo:r}=e;return Object(ge.createElement)("ul",{className:`columns-${n} ${o?"is-cropped":""}`},t.map(e=>{let t;switch(r){case"media":t=e.url;break;case"attachment":t=e.link}const n=Object(ge.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(ge.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(ge.createElement)("figure",null,t?Object(ge.createElement)("a",{href:t},n):n,e.caption&&e.caption.length>0&&Object(ge.createElement)(de.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({attributes:e}){const{images:t,columns:n=xn(e),align:o,imageCrop:r,linkTo:a}=e,c=je()("columns-"+n,{alignnone:"none"===o,"is-cropped":r});return Object(ge.createElement)("div",{className:c},t.map(e=>{let t;switch(a){case"media":t=e.url;break;case"attachment":t=e.link}const n=Object(ge.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id});return Object(ge.createElement)("figure",{key:e.id||e.url,className:"blocks-gallery-image"},t?Object(ge.createElement)("a",{href:t},n):n)}))}}],Tn=n("KEfo");const zn=Object(ge.createElement)(de.BlockIcon,{icon:Cn});var Pn=n("2gm7"),Mn=n("1iEr"),Nn=n("B9Az"),Rn=n("bWcr");class Vn extends ge.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!==[an.BACKSPACE,an.DELETE].indexOf(e.keyCode)&&(e.stopPropagation(),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:c}=this.props;if(!e||!e.url)return;let l=Sn(e,c);((e,t)=>!e&&Object(He.isBlobURL)(t))(n,o)&&r&&(l=Object(be.omit)(l,["alt"])),a&&!Object(be.get)(l,["caption"])&&(l=Object(be.omit)(l,["caption"])),t(l),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:c,isSelected:l,caption:i,onRemove:s,onMoveForward:u,onMoveBackward:d,setAttributes:m,"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(ge.createElement)(ge.Fragment,null,Object(ge.createElement)("img",{src:e,alt:t,"data-id":n,onKeyDown:this.onRemoveImage,tabIndex:"0","aria-label":b,ref:this.bindContainer}),Object(He.isBlobURL)(e)&&Object(ge.createElement)(Ee.Spinner,null)),v=je()({"is-selected":l,"is-transient":Object(He.isBlobURL)(e)});return Object(ge.createElement)("figure",{className:v,onClick:this.onSelectImage,onFocus:this.onSelectImage},!p&&(g?Object(ge.createElement)("a",{href:g},h):h),p&&Object(ge.createElement)(de.MediaPlaceholder,{labels:{title:Object(pe.__)("Edit gallery image")},icon:Ne,onSelect:this.onSelectImageFromLibrary,onSelectURL:this.onSelectCustomURL,accept:"image/*",allowedTypes:["image"],value:{id:n,src:e}}),Object(ge.createElement)(Ee.ButtonGroup,{className:"block-library-gallery-item__inline-menu is-left"},Object(ge.createElement)(Ee.Button,{icon:Pn.a,onClick:a?void 0:d,label:Object(pe.__)("Move image backward"),"aria-disabled":a,disabled:!l}),Object(ge.createElement)(Ee.Button,{icon:Mn.a,onClick:c?void 0:u,label:Object(pe.__)("Move image forward"),"aria-disabled":c,disabled:!l})),Object(ge.createElement)(Ee.ButtonGroup,{className:"block-library-gallery-item__inline-menu is-right"},Object(ge.createElement)(Ee.Button,{icon:Nn.a,onClick:this.onEdit,label:Object(pe.__)("Replace image"),disabled:!l}),Object(ge.createElement)(Ee.Button,{icon:Rn.a,onClick:s,label:Object(pe.__)("Remove image"),disabled:!l})),!p&&(l||i)&&Object(ge.createElement)(de.RichText,{tagName:"figcaption","aria-label":Object(pe.__)("Image caption text"),placeholder:l?Object(pe.__)("Add caption"):null,value:i,onChange:e=>m({caption:e}),inlineToolbar:!0}))}}var Hn=Object(Ie.compose)([Object(Le.withSelect)((e,t)=>{const{getMedia:n}=e(ue.store),{id:o}=t;return{image:o?n(parseInt(o,10)):null}}),Object(Le.withDispatch)(e=>{const{__unstableMarkNextChangeAsNotPersistent:t}=e(de.store);return{__unstableMarkNextChangeAsNotPersistent:t}})])(Vn);function Ln({isHidden:e,...t}){return e?Object(ge.createElement)(Ee.VisuallyHidden,Object(ke.a)({as:de.RichText},t)):Object(ge.createElement)(de.RichText,t)}var In=e=>{const{attributes:t,isSelected:n,setAttributes:o,selectedImage:r,mediaPlaceholder:a,onMoveBackward:c,onMoveForward:l,onRemoveImage:i,onSelectImage:s,onDeselectImage:u,onSetImageAttributes:d,insertBlocksAfter:m,blockProps:b}=e,{align:p,columns:g=xn(t),caption:h,imageCrop:v,images:O}=t;return Object(ge.createElement)("figure",Object(ke.a)({},b,{className:je()(b.className,{["align"+p]:p,["columns-"+g]:g,"is-cropped":v})}),Object(ge.createElement)("ul",{className:"blocks-gallery-grid"},O.map((e,o)=>{const a=Object(pe.sprintf)(Object(pe.__)("image %1$d of %2$d in gallery"),o+1,O.length);return Object(ge.createElement)("li",{className:"blocks-gallery-item",key:e.id?`${e.id}-${o}`:e.url},Object(ge.createElement)(Hn,{url:e.url,alt:e.alt,id:e.id,isFirstItem:0===o,isLastItem:o+1===O.length,isSelected:n&&r===o,onMoveBackward:c(o),onMoveForward:l(o),onRemove:i(o),onSelect:s(o),onDeselect:u(o),setAttributes:e=>d(o,e),caption:e.caption,"aria-label":a,sizeSlug:t.sizeSlug}))})),a,Object(ge.createElement)(Ln,{isHidden:!n&&de.RichText.isEmpty(h),tagName:"figcaption",className:"blocks-gallery-caption","aria-label":Object(pe.__)("Gallery caption text"),placeholder:Object(pe.__)("Write gallery caption…"),value:h,onChange:e=>o({caption:e}),inlineToolbar:!0,__unstableOnSplitAtEnd:()=>m(Object(me.createBlock)("core/paragraph"))}))};const An=[{value:"post",label:Object(pe.__)("Attachment Page")},{value:"file",label:Object(pe.__)("Media File")},{value:"none",label:Object(pe.__)("None")}],Dn=["image"],Fn=ge.Platform.select({web:Object(pe.__)("Drag images, upload new ones or select files from your library."),native:Object(pe.__)("ADD MEDIA")}),Gn=ge.Platform.select({web:{},native:{type:"stepper"}});var qn=Object(Ie.compose)([Ee.withNotices,Object(Tn.withViewportMatch)({isNarrow:"< small"})])((function(e){const{attributes:t,clientId:n,isSelected:o,noticeUI:r,noticeOperations:a,onFocus:c}=e,{columns:l=xn(t),imageCrop:i,images:s,linkTo:u,sizeSlug:d}=t,[m,b]=Object(ge.useState)(),[p,g]=Object(ge.useState)(),{__unstableMarkNextChangeAsNotPersistent:h}=Object(Le.useDispatch)(de.store),{imageSizes:v,mediaUpload:O,getMedia:j,wasBlockJustInserted:f}=Object(Le.useSelect)(e=>{const t=e(de.store).getSettings();return{imageSizes:t.imageSizes,mediaUpload:t.mediaUpload,getMedia:e(ue.store).getMedia,wasBlockJustInserted:e(de.store).wasBlockJustInserted(n,"inserter_menu")}}),y=Object(ge.useMemo)(()=>o?Object(be.reduce)(t.ids,(e,t)=>{if(!t)return e;const n=j(t),o=Object(be.reduce)(v,(e,t)=>{const o=Object(be.get)(n,["sizes",t.slug,"url"]),r=Object(be.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 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:Object(be.map)(t.images,({id:e})=>parseInt(e,10))}),e.setAttributes(t)}function _(e,t){const n=[...s];n.splice(t,1,s[e]),n.splice(e,1,s[t]),b(t),w({images:n})}function k(e){const t=Object(be.toString)(e.id),n=Object(be.find)(s,{id:t}),o=n?n.caption:e.caption;if(!p)return o;const r=Object(be.find)(p,{id:t});return r&&r.caption!==e.caption?e.caption:o}function E(e){g(e.map(e=>({id:Object(be.toString)(e.id),caption:e.caption}))),w({images:e.map(e=>({...Sn(e,d),caption:k(e),id:Object(be.toString)(e.id)})),columns:t.columns?Math.min(e.length,t.columns):t.columns})}Object(ge.useEffect)(()=>{if("web"===ge.Platform.OS&&s&&s.length>0&&Object(be.every)(s,({url:e})=>Object(He.isBlobURL)(e))){const e=Object(be.map)(s,({url:e})=>Object(He.getBlobByURL)(e));Object(be.forEach)(s,({url:e})=>Object(He.revokeBlobURL)(e)),O({filesList:e,onFileChange:E,allowedTypes:["image"]})}},[]),Object(ge.useEffect)(()=>{o||b()},[o]),Object(ge.useEffect)(()=>{var e,t,n,o,r,a;u||(h(),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)||"none"}))},[u]);const C=!!s.length,x=C&&s.some(e=>!!e.id),S=Object(ge.createElement)(de.MediaPlaceholder,{addToGallery:x,isAppender:C,disableMediaButtons:C&&!o,icon:!C&&zn,labels:{title:!C&&Object(pe.__)("Gallery"),instructions:!C&&Fn},onSelect:E,accept:"image/*",allowedTypes:Dn,multiple:!0,value:x?s:{},onError:function(e){a.removeAllNotices(),a.createErrorNotice(e)},notices:C?void 0:r,onFocus:c,autoOpenMediaUpload:!C&&o&&f}),B=Object(de.useBlockProps)();if(!C)return Object(ge.createElement)(he.View,B,S);const T=Object(be.map)(Object(be.filter)(v,({slug:e})=>Object(be.some)(y,t=>t[e])),({name:e,slug:t})=>({value:t,label:e})),z=C&&!Object(be.isEmpty)(T);return Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Gallery settings")},s.length>1&&Object(ge.createElement)(Ee.RangeControl,Object(ke.a)({label:Object(pe.__)("Columns"),value:l,onChange:function(e){w({columns:e})},min:1,max:Math.min(8,s.length)},Gn,{required:!0})),Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Crop images"),checked:!!i,onChange:function(){w({imageCrop:!i})},help:function(e){return e?Object(pe.__)("Thumbnails are cropped to align."):Object(pe.__)("Thumbnails are not cropped.")}}),Object(ge.createElement)(Ee.SelectControl,{label:Object(pe.__)("Link to"),value:u,onChange:function(e){w({linkTo:e})},options:An,hideCancelButton:!0}),z&&Object(ge.createElement)(Ee.SelectControl,{label:Object(pe.__)("Image size"),value:d,options:T,onChange:function(e){w({images:Object(be.map)(s,t=>{if(!t.id)return t;const n=Object(be.get)(y,[parseInt(t.id,10),e]);return{...t,...n&&{url:n}}}),sizeSlug:e})},hideCancelButton:!0}))),r,Object(ge.createElement)(In,Object(ke.a)({},e,{selectedImage:m,mediaPlaceholder:S,onMoveBackward:function(e){return()=>{0!==e&&_(e,e-1)}},onMoveForward:function(e){return()=>{e!==s.length-1&&_(e,e+1)}},onRemoveImage:function(e){return()=>{const n=Object(be.filter)(s,(t,n)=>e!==n);b(),w({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]&&w({images:[...s.slice(0,e),{...s[e],...t},...s.slice(e+1)]})},blockProps:B,onFocusGalleryCaption:function(){b()}})))}));const Un=e=>e?e.split(",").map(e=>parseInt(e,10)):[];var Wn={from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],transform:e=>{let{align:t,sizeSlug:n}=e[0];t=Object(be.every)(e,["align",t])?t:void 0,n=Object(be.every)(e,["sizeSlug",n])?n:void 0;const o=Object(be.filter)(e,({url:e})=>e);return Object(me.createBlock)("core/gallery",{images:o.map(({id:e,url:t,alt:n,caption:o})=>({id:Object(be.toString)(e),url:t,alt:n,caption:o})),ids:o.map(({id:e})=>parseInt(e,10)),align:t,sizeSlug:n})}},{type:"shortcode",tag:"gallery",attributes:{images:{type:"array",shortcode:({named:{ids:e}})=>Un(e).map(e=>({id:Object(be.toString)(e)}))},ids:{type:"array",shortcode:({named:{ids:e}})=>Un(e)},columns:{type:"number",shortcode:({named:{columns:e="3"}})=>parseInt(e,10)},linkTo:{type:"string",shortcode:({named:{link:e="post"}})=>e}},isMatch:({named:e})=>void 0!==e.ids},{type:"files",isMatch:e=>1!==e.length&&Object(be.every)(e,e=>0===e.type.indexOf("image/")),transform:e=>Object(me.createBlock)("core/gallery",{images:e.map(e=>Sn({url:Object(He.createBlobURL)(e)}))})}],to:[{type:"block",blocks:["core/image"],transform:({images:e,align:t,sizeSlug:n,ids:o})=>e.length>0?e.map(({url:e,alt:r,caption:a},c)=>Object(me.createBlock)("core/image",{id:o[c],url:e,alt:r,caption:a,align:t,sizeSlug:n})):Object(me.createBlock)("core/image",{align:t})}]};const $n={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:[]},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},editorStyle:"wp-block-gallery-editor",style:"wp-block-gallery"},{name:Zn}=$n,Qn={icon:Cn,example:{attributes:{columns:2,images:[{url:"https://s.w.org/images/core/5.3/Glacial_lakes%2C_Bhutan.jpg"},{url:"https://s.w.org/images/core/5.3/Sediment_off_the_Yucatan_Peninsula.jpg"}]}},transforms:Wn,edit:qn,save:function({attributes:e}){const{images:t,columns:n=xn(e),imageCrop:o,caption:r,linkTo:a}=e,c=`columns-${n} ${o?"is-cropped":""}`;return Object(ge.createElement)("figure",de.useBlockProps.save({className:c}),Object(ge.createElement)("ul",{className:"blocks-gallery-grid"},t.map(e=>{let t;switch(a){case"file":t=e.fullUrl||e.url;break;case"post":t=e.link}const n=Object(ge.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(ge.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(ge.createElement)("figure",null,t?Object(ge.createElement)("a",{href:t},n):n,!de.RichText.isEmpty(e.caption)&&Object(ge.createElement)(de.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-item__caption",value:e.caption})))})),!de.RichText.isEmpty(r)&&Object(ge.createElement)(de.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-caption",value:r}))},deprecated:Bn};var Jn=Object(ge.createElement)(he.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(he.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"})),Yn=n("JREk"),Kn=n.n(Yn);const Xn={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:eo}=Xn,to={icon:Jn,example:{},edit:function({attributes:e,setAttributes:t}){const{showPostCounts:n,displayAsDropdown:o}=e;return Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Archives settings")},Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Display as dropdown"),checked:o,onChange:()=>t({displayAsDropdown:!o})}),Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Show post counts"),checked:n,onChange:()=>t({showPostCounts:!n})}))),Object(ge.createElement)("div",Object(de.useBlockProps)(),Object(ge.createElement)(Ee.Disabled,null,Object(ge.createElement)(Kn.a,{block:"core/archives",attributes:e}))))}};var no=Object(ge.createElement)(he.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(he.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"})),oo=[{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({attributes:e}){const{autoplay:t,caption:n,loop:o,preload:r,src:a}=e;return Object(ge.createElement)("figure",null,Object(ge.createElement)("audio",{controls:"controls",src:a,autoPlay:t,loop:o,preload:r}),!de.RichText.isEmpty(n)&&Object(ge.createElement)(de.RichText.Content,{tagName:"figcaption",value:n}))}}];const ro=["audio"];var ao=Object(Ee.withNotices)((function({attributes:e,noticeOperations:t,setAttributes:n,onReplace:o,isSelected:r,noticeUI:a,insertBlocksAfter:c}){const{id:l,autoplay:i,caption:s,loop:u,preload:d,src:m}=e,b=Object(de.useBlockProps)(),p=Object(Le.useSelect)(e=>{const{getSettings:t}=e(de.store);return t().mediaUpload},[]);function g(e){return t=>{n({[e]:t})}}function h(e){if(e!==m){const t=Ke({attributes:{url:e}});if(void 0!==t)return void o(t);n({src:e,id:void 0})}}function v(e){t.removeAllNotices(),t.createErrorNotice(e)}function O(e){e&&e.url?n({src:e.url,id:e.id}):n({src:void 0,id:void 0})}return Object(ge.useEffect)(()=>{if(!l&&Object(He.isBlobURL)(m)){const e=Object(He.getBlobByURL)(m);e&&p({filesList:[e],onFileChange:([{id:e,url:t}])=>{n({id:e,src:t})},onError:e=>{n({src:void 0,id:void 0}),t.createErrorNotice(e)},allowedTypes:ro})}},[]),m?Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.BlockControls,{group:"other"},Object(ge.createElement)(de.MediaReplaceFlow,{mediaId:l,mediaURL:m,allowedTypes:ro,accept:"audio/*",onSelect:O,onSelectURL:h,onError:v})),Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Audio settings")},Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Autoplay"),onChange:g("autoplay"),checked:i,help:function(e){return e?Object(pe.__)("Autoplay may cause usability issues for some users."):null}}),Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Loop"),onChange:g("loop"),checked:u}),Object(ge.createElement)(Ee.SelectControl,{label:Object(pe.__)("Preload"),value:d||"",onChange:e=>n({preload:e||void 0}),options:[{value:"",label:Object(pe.__)("Browser default")},{value:"auto",label:Object(pe.__)("Auto")},{value:"metadata",label:Object(pe.__)("Metadata")},{value:"none",label:Object(pe.__)("None")}]}))),Object(ge.createElement)("figure",b,Object(ge.createElement)(Ee.Disabled,{isDisabled:!r},Object(ge.createElement)("audio",{controls:"controls",src:m})),(!de.RichText.isEmpty(s)||r)&&Object(ge.createElement)(de.RichText,{tagName:"figcaption","aria-label":Object(pe.__)("Audio caption text"),placeholder:Object(pe.__)("Add caption"),value:s,onChange:e=>n({caption:e}),inlineToolbar:!0,__unstableOnSplitAtEnd:()=>c(Object(me.createBlock)("core/paragraph"))}))):Object(ge.createElement)("div",b,Object(ge.createElement)(de.MediaPlaceholder,{icon:Object(ge.createElement)(de.BlockIcon,{icon:no}),onSelect:O,onSelectURL:h,accept:"audio/*",allowedTypes:ro,value:e,notices:a,onError:v}))}));var co={from:[{type:"files",isMatch:e=>1===e.length&&0===e[0].type.indexOf("audio/"),transform(e){const t=e[0];return Object(me.createBlock)("core/audio",{src:Object(He.createBlobURL)(t)})}},{type:"shortcode",tag:"audio",attributes:{src:{type:"string",shortcode:({named:{src:e,mp3:t,m4a:n,ogg:o,wav:r,wma:a}})=>e||t||n||o||r||a},loop:{type:"string",shortcode:({named:{loop:e}})=>e},autoplay:{type:"string",shortcode:({named:{autoplay:e}})=>e},preload:{type:"string",shortcode:({named:{preload:e}})=>e}}}]};const lo={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:io}=lo,so={icon:no,transforms:co,deprecated:oo,edit:ao,save:function({attributes:e}){const{autoplay:t,caption:n,loop:o,preload:r,src:a}=e;return a&&Object(ge.createElement)("figure",de.useBlockProps.save(),Object(ge.createElement)("audio",{controls:"controls",src:a,autoPlay:t,loop:o,preload:r}),!de.RichText.isEmpty(n)&&Object(ge.createElement)(de.RichText.Content,{tagName:"figcaption",value:n}))}};var uo=Object(ge.createElement)(he.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(he.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"}));var mo=[{supports:{align:["center","left","right"],anchor:!0},save:()=>Object(ge.createElement)("div",null,Object(ge.createElement)(de.InnerBlocks.Content,null)),isEligible:({align:e})=>e&&["center","left","right"].includes(e),migrate:e=>({...e,align:void 0,contentJustification:e.align})}];const{name:bo}={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",attributes:{contentJustification:{type:"string"},orientation:{type:"string",default:"horizontal"}},supports:{anchor:!0,align:["wide","full"]},editorStyle:"wp-block-buttons-editor",style:"wp-block-buttons"};var po={from:[{type:"block",isMultiBlock:!0,blocks:["core/button"],transform:e=>Object(me.createBlock)(bo,{},e.map(e=>Object(me.createBlock)("core/button",e)))},{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:e=>Object(me.createBlock)(bo,{},e.map(e=>{const t=document.createElement("div");t.innerHTML=e.content;const n=t.innerText||"",o=t.querySelector("a"),r=null==o?void 0:o.getAttribute("href");return Object(me.createBlock)("core/button",{text:n,url:r})})),isMatch:e=>e.every(e=>{const t=document.createElement("div");t.innerHTML=e.content;const n=t.innerText||"",o=t.querySelectorAll("a");return n.length<=30&&o.length<=1})}]},go=n("oMoS");const ho=e=>{const{borderRadius:t,...n}=e;return t||0===t?{...n,style:{...n.style,border:{radius:t}}}:n},vo=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(be.omit)(e,["customTextColor","customBackgroundColor","customGradient"]),style:t}},Oo=e=>vo(Object(be.omit)({...e,customTextColor:e.textColor&&"#"===e.textColor[0]?e.textColor:void 0,customBackgroundColor:e.color&&"#"===e.color[0]?e.color:void 0},["color","textColor"])),jo={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 fo=[{supports:{anchor:!0,align:!0,alignWide:!1,color:{__experimentalSkipSerialization:!0},reusable:!1,__experimentalSelector:".wp-block-button__link"},attributes:{...jo,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({attributes:e,className:t}){const{borderRadius:n,linkTarget:o,rel:r,text:a,title:c,url:l,width:i}=e,s=Object(de.__experimentalGetColorClassesAndStyles)(e),u=je()("wp-block-button__link",s.className,{"no-border-radius":0===n}),d={borderRadius:n?n+"px":void 0,...s.style},m=je()(t,{["has-custom-width wp-block-button__width-"+i]:i});return Object(ge.createElement)("div",de.useBlockProps.save({className:m}),Object(ge.createElement)(de.RichText.Content,{tagName:"a",className:u,href:l,title:c,style:d,value:a,target:o,rel:r}))},migrate:ho},{supports:{anchor:!0,align:!0,alignWide:!1,color:{__experimentalSkipSerialization:!0},reusable:!1,__experimentalSelector:".wp-block-button__link"},attributes:{...jo,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({attributes:e,className:t}){const{borderRadius:n,linkTarget:o,rel:r,text:a,title:c,url:l,width:i}=e,s=Object(de.__experimentalGetColorClassesAndStyles)(e),u=je()("wp-block-button__link",s.className,{"no-border-radius":0===n}),d={borderRadius:n?n+"px":void 0,...s.style},m=je()(t,{["has-custom-width wp-block-button__width-"+i]:i});return Object(ge.createElement)("div",de.useBlockProps.save({className:m}),Object(ge.createElement)(de.RichText.Content,{tagName:"a",className:u,href:l,title:c,style:d,value:a,target:o,rel:r}))},migrate:ho},{supports:{align:!0,alignWide:!1,color:{gradients:!0}},attributes:{...jo,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({attributes:e}){const{borderRadius:t,linkTarget:n,rel:o,text:r,title:a,url:c}=e,l=je()("wp-block-button__link",{"no-border-radius":0===t}),i={borderRadius:t?t+"px":void 0};return Object(ge.createElement)(de.RichText.Content,{tagName:"a",className:l,href:c,title:a,style:i,value:r,target:n,rel:o})},migrate:ho},{supports:{align:!0,alignWide:!1},attributes:{...jo,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(Ie.compose)(ho,vo),save({attributes:e}){const{backgroundColor:t,borderRadius:n,customBackgroundColor:o,customTextColor:r,customGradient:a,linkTarget:c,gradient:l,rel:i,text:s,textColor:u,title:d,url:m}=e,b=Object(de.getColorClassName)("color",u),p=!a&&Object(de.getColorClassName)("background-color",t),g=Object(de.__experimentalGetGradientClass)(l),h=je()("wp-block-button__link",{"has-text-color":u||r,[b]:b,"has-background":t||o||a||l,[p]:p,"no-border-radius":0===n,[g]:g}),v={background:a||void 0,backgroundColor:p||a||l?void 0:o,color:b?void 0:r,borderRadius:n?n+"px":void 0};return Object(ge.createElement)("div",null,Object(ge.createElement)(de.RichText.Content,{tagName:"a",className:h,href:m,title:d,style:v,value:s,target:c,rel:i}))}},{attributes:{...jo,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()),ho(vo({...e,className:t||void 0,borderRadius:0}))},save({attributes:e}){const{backgroundColor:t,customBackgroundColor:n,customTextColor:o,linkTarget:r,rel:a,text:c,textColor:l,title:i,url:s}=e,u=Object(de.getColorClassName)("color",l),d=Object(de.getColorClassName)("background-color",t),m=je()("wp-block-button__link",{"has-text-color":l||o,[u]:u,"has-background":t||n,[d]:d}),b={backgroundColor:d?void 0:n,color:u?void 0:o};return Object(ge.createElement)("div",null,Object(ge.createElement)(de.RichText.Content,{tagName:"a",className:m,href:s,title:i,style:b,value:c,target:r,rel:a}))}},{attributes:{...jo,align:{type:"string",default:"none"},backgroundColor:{type:"string"},textColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"}},migrate:Oo,save({attributes:e}){const{url:t,text:n,title:o,backgroundColor:r,textColor:a,customBackgroundColor:c,customTextColor:l}=e,i=Object(de.getColorClassName)("color",a),s=Object(de.getColorClassName)("background-color",r),u=je()("wp-block-button__link",{"has-text-color":a||l,[i]:i,"has-background":r||c,[s]:s}),d={backgroundColor:s?void 0:c,color:i?void 0:l};return Object(ge.createElement)("div",null,Object(ge.createElement)(de.RichText.Content,{tagName:"a",className:u,href:t,title:o,style:d,value:n}))}},{attributes:{...jo,color:{type:"string"},textColor:{type:"string"},align:{type:"string",default:"none"}},save({attributes:e}){const{url:t,text:n,title:o,align:r,color:a,textColor:c}=e,l={backgroundColor:a,color:c};return Object(ge.createElement)("div",{className:"align"+r},Object(ge.createElement)(de.RichText.Content,{tagName:"a",className:"wp-block-button__link",href:t,title:o,style:l,value:n}))},migrate:Oo},{attributes:{...jo,color:{type:"string"},textColor:{type:"string"},align:{type:"string",default:"none"}},save({attributes:e}){const{url:t,text:n,title:o,align:r,color:a,textColor:c}=e;return Object(ge.createElement)("div",{className:"align"+r,style:{backgroundColor:a}},Object(ge.createElement)(de.RichText.Content,{tagName:"a",href:t,title:o,style:{color:c},value:n}))},migrate:Oo}],yo=n("Bpkj"),wo=n("Mp0b");function _o({selectedWidth:e,setAttributes:t}){return Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Width settings")},Object(ge.createElement)(Ee.ButtonGroup,{"aria-label":Object(pe.__)("Button width")},[25,50,75,100].map(n=>Object(ge.createElement)(Ee.Button,{key:n,isSmall:!0,isPrimary:n===e,onClick:()=>{var o;t({width:e===(o=n)?void 0:o})}},n,"%"))))}function ko({isSelected:e,url:t,setAttributes:n,opensInNewTab:o,onToggleOpenInNewTab:r,anchorRef:a}){const[c,l]=Object(ge.useState)(!1),i=!!t,s=i&&e,u=()=>(l(!0),!1),d=()=>{n({url:void 0,linkTarget:void 0,rel:void 0}),l(!1)},m=(c||s)&&Object(ge.createElement)(Ee.Popover,{position:"bottom center",onClose:()=>l(!1),anchorRef:null==a?void 0:a.current},Object(ge.createElement)(de.__experimentalLinkControl,{className:"wp-block-navigation-link__inline-link-input",value:{url:t,opensInNewTab:o},onChange:({url:e="",opensInNewTab:t})=>{n({url:e}),o!==t&&r(t)}}));return Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.BlockControls,{group:"block"},!i&&Object(ge.createElement)(Ee.ToolbarButton,{name:"link",icon:yo.a,title:Object(pe.__)("Link"),shortcut:an.displayShortcut.primary("k"),onClick:u}),s&&Object(ge.createElement)(Ee.ToolbarButton,{name:"link",icon:wo.a,title:Object(pe.__)("Unlink"),shortcut:an.displayShortcut.primaryShift("k"),onClick:d,isActive:!0})),e&&Object(ge.createElement)(Ee.KeyboardShortcuts,{bindGlobal:!0,shortcuts:{[an.rawShortcut.primary("k")]:u,[an.rawShortcut.primaryShift("k")]:d}}),m)}var Eo=function(e){var t;const{attributes:n,setAttributes:o,className:r,isSelected:a,onReplace:c,mergeBlocks:l}=e,{linkTarget:i,placeholder:s,rel:u,style:d,text:m,url:b,width:p}=n,g=Object(ge.useCallback)(e=>{o({rel:e})},[o]),h=Object(ge.useCallback)(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})},[u,o]),v=null==d||null===(t=d.border)||void 0===t?void 0:t.radius,O=Object(de.__experimentalUseColorProps)(n),j=Object(ge.useRef)(),f=Object(de.useBlockProps)({ref:j});return Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)("div",Object(ke.a)({},f,{className:je()(f.className,{["has-custom-width wp-block-button__width-"+p]:p,"has-custom-font-size":f.style.fontSize})}),Object(ge.createElement)(de.RichText,{"aria-label":Object(pe.__)("Button text"),placeholder:s||Object(pe.__)("Add text…"),value:m,onChange:e=>{o({text:e.replace(/<\/?a[^>]*>/g,"")})},withoutInteractiveFormatting:!0,className:je()(r,"wp-block-button__link",O.className,{"no-border-radius":0===v}),style:{borderRadius:v?v+"px":void 0,...O.style},onSplit:e=>Object(me.createBlock)("core/button",{...n,text:e}),onReplace:c,onMerge:l,identifier:"text"})),Object(ge.createElement)(ko,{url:b,setAttributes:o,isSelected:a,opensInNewTab:"_blank"===i,onToggleOpenInNewTab:h,anchorRef:j}),Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(_o,{selectedWidth:p,setAttributes:o})),Object(ge.createElement)(de.InspectorAdvancedControls,null,Object(ge.createElement)(Ee.TextControl,{label:Object(pe.__)("Link rel"),value:u||"",onChange:g})))};const Co={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},fontSize:!0,reusable:!1,__experimentalBorder:{radius:!0,__experimentalSkipSerialization:!0},__experimentalFontFamily:!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:xo}=Co,So={icon:go.a,example:{attributes:{className:"is-style-fill",backgroundColor:"vivid-green-cyan",text:Object(pe.__)("Call to Action")}},edit:Eo,save:function({attributes:e,className:t}){var n,o;const{fontSize:r,linkTarget:a,rel:c,style:l,text:i,title:s,url:u,width:d}=e;if(!i)return null;const m=null==l||null===(n=l.border)||void 0===n?void 0:n.radius,b=Object(de.__experimentalGetColorClassesAndStyles)(e),p=je()("wp-block-button__link",b.className,{"no-border-radius":0===m}),g={borderRadius:m?m+"px":void 0,...b.style},h=je()(t,{["has-custom-width wp-block-button__width-"+d]:d,"has-custom-font-size":r||(null==l||null===(o=l.typography)||void 0===o?void 0:o.fontSize)});return Object(ge.createElement)("div",de.useBlockProps.save({className:h}),Object(ge.createElement)(de.RichText.Content,{tagName:"a",className:p,href:u,title:s,style:g,value:i,target:a,rel:c}))},deprecated:fo,merge:(e,{text:t=""})=>({...e,text:(e.text||"")+t})},Bo=[xo],To=[["core/button"]];var zo=function({attributes:{contentJustification:e,orientation:t},setAttributes:n}){const o=Object(de.useBlockProps)({className:je()({["is-content-justification-"+e]:e,"is-vertical":"vertical"===t})}),r=Object(de.__experimentalUseInnerBlocksProps)(o,{allowedBlocks:Bo,template:To,orientation:t,__experimentalLayout:{type:"default",alignments:[]},templateInsertUpdatesSelection:!0}),a="vertical"===t?["left","center","right"]:["left","center","right","space-between"];return Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.BlockControls,{group:"block"},Object(ge.createElement)(de.JustifyContentControl,{allowedControls:a,value:e,onChange:e=>n({contentJustification:e}),popoverProps:{position:"bottom right",isAlternate:!0}})),Object(ge.createElement)("div",r))};var Po=[{name:"buttons-horizontal",isDefault:!0,title:Object(pe.__)("Horizontal"),description:Object(pe.__)("Buttons shown in a row."),attributes:{orientation:"horizontal"},scope:["transform"]},{name:"buttons-vertical",title:Object(pe.__)("Vertical"),description:Object(pe.__)("Buttons shown in a column."),attributes:{orientation:"vertical"},scope:["transform"]}];const Mo={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",attributes:{contentJustification:{type:"string"},orientation:{type:"string",default:"horizontal"}},supports:{anchor:!0,align:["wide","full"]},editorStyle:"wp-block-buttons-editor",style:"wp-block-buttons"},{name:No}=Mo,Ro={icon:uo,example:{innerBlocks:[{name:"core/button",attributes:{text:Object(pe.__)("Find out more")}},{name:"core/button",attributes:{text:Object(pe.__)("Contact us")}}]},deprecated:mo,transforms:po,edit:zo,save:function({attributes:{contentJustification:e,orientation:t}}){return Object(ge.createElement)("div",de.useBlockProps.save({className:je()({["is-content-justification-"+e]:e,"is-vertical":"vertical"===t})}),Object(ge.createElement)(de.InnerBlocks.Content,null))},variations:Po};var Vo=Object(ge.createElement)(he.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(he.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"})),Ho=n("wy2R"),Lo=n.n(Ho),Io=n("jSdM");const Ao=Qe()(e=>{if(!e)return{};const t=Lo()(e);return{year:t.year(),month:t.month()+1}});const Do={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:Fo}=Do,Go={icon:Vo,example:{},edit:function({attributes:e}){const t=Object(Le.useSelect)(e=>{const{getEditedPostAttribute:t}=e(Io.store);return"post"===t("type")?t("date"):void 0},[]);return Object(ge.createElement)("div",Object(de.useBlockProps)(),Object(ge.createElement)(Ee.Disabled,null,Object(ge.createElement)(Kn.a,{block:"core/calendar",attributes:{...e,...Ao(t)}})))}};var qo=Object(ge.createElement)(he.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(he.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 Uo=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(ge.createElement)(he.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 Wo={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}},supports:{align:!0,html:!1},editorStyle:"wp-block-categories-editor",style:"wp-block-categories"},{name:$o}=Wo,Zo={icon:qo,example:{},edit:function e({attributes:{displayAsDropdown:t,showHierarchy:n,showPostCounts:o},setAttributes:r}){const a=Object(Ie.useInstanceId)(e,"blocks-category-select"),{categories:c,isRequesting:l}=Object(Le.useSelect)(e=>{const{getEntityRecords:t}=e(ue.store),{isResolving:n}=e("core/data"),o={per_page:-1,hide_empty:!0};return{categories:t("taxonomy","category",o),isRequesting:n("core","getEntityRecords",["taxonomy","category",o])}},[]),i=e=>null!=c&&c.length?null===e?c:c.filter(({parent:t})=>t===e):[],s=e=>"wp-block-categories__list wp-block-categories__list-level-"+e,u=e=>t=>r({[e]:t}),d=e=>e?Object(be.unescape)(e).trim():Object(pe.__)("(Untitled)"),m=(e,t)=>{const r=i(e.id),{id:a,link:c,count:l,name:u}=e;return Object(ge.createElement)("li",{key:a},Object(ge.createElement)("a",{href:c,target:"_blank",rel:"noreferrer noopener"},d(u)),o&&Object(ge.createElement)("span",{className:"wp-block-categories__post-count"},` (${l})`),n&&!!r.length&&Object(ge.createElement)("ul",{className:s(t+1)},r.map(e=>m(e,t+1))))},b=(e,t)=>{const{id:r,count:a,name:c}=e,l=i(r);return[Object(ge.createElement)("option",{key:r},Object(be.times)(3*t,()=>" "),d(c),o&&` (${a})`),n&&!!l.length&&l.map(e=>b(e,t+1))]};return Object(ge.createElement)("div",Object(de.useBlockProps)(),Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Categories settings")},Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Display as dropdown"),checked:t,onChange:u("displayAsDropdown")}),Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Show hierarchy"),checked:n,onChange:u("showHierarchy")}),Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Show post counts"),checked:o,onChange:u("showPostCounts")}))),l&&Object(ge.createElement)(Ee.Placeholder,{icon:Uo,label:Object(pe.__)("Categories")},Object(ge.createElement)(Ee.Spinner,null)),!l&&0===c.length&&Object(ge.createElement)("p",null,Object(pe.__)("Your site does not have any posts, so there is nothing to display here at the moment.")),!l&&c.length>0&&(t?(()=>{const e=i(n?0:null);return Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(Ee.VisuallyHidden,{as:"label",htmlFor:a},Object(pe.__)("Categories")),Object(ge.createElement)("select",{id:a,className:"wp-block-categories__dropdown"},e.map(e=>b(e,0))))})():(()=>{const e=i(n?0:null);return Object(ge.createElement)("ul",{className:s(0)},e.map(e=>m(e,0)))})()))}};var Qo=n("1Yn1");function Jo(e){return e.replace(/\[/g,"[")}function Yo(e){return e.replace(/^(\s*https?:)\/\/([^\s<>"]+\s*)$/m,"$1//$2")}var Ko={from:[{type:"enter",regExp:/^```$/,transform:()=>Object(me.createBlock)("core/code")},{type:"block",blocks:["core/html"],transform:({content:e})=>Object(me.createBlock)("core/code",{content:e})},{type:"raw",isMatch:e=>"PRE"===e.nodeName&&1===e.children.length&&"CODE"===e.firstChild.nodeName,schema:{pre:{children:{code:{children:{"#text":{}}}}}}}]};const Xo={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,fontSize:!0},style:"wp-block-code"},{name:er}=Xo,tr={icon:Qo.a,example:{attributes:{content:Object(pe.__)('// 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:Ko,edit:function({attributes:e,setAttributes:t,onRemove:n}){const o=Object(de.useBlockProps)();return Object(ge.createElement)("pre",o,Object(ge.createElement)(de.RichText,{tagName:"code",value:e.content,onChange:e=>t({content:e}),onRemove:n,placeholder:Object(pe.__)("Write code…"),"aria-label":Object(pe.__)("Code"),preserveWhiteSpace:!0,__unstablePastePlainText:!0}))},save:function({attributes:e}){return Object(ge.createElement)("pre",de.useBlockProps.save(),Object(ge.createElement)(de.RichText.Content,{tagName:"code",value:(t=e.content,Object(be.flow)(Jo,Yo)(t||""))}));var t}};var nr=Object(ge.createElement)(he.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(he.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 or(e){let t,{doc:n}=or;n||(n=document.implementation.createHTMLDocument(""),or.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 rr=[{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(be.omit)(e,["customTextColor","customBackgroundColor"]),style:t}},save({attributes:e}){const{verticalAlignment:t,backgroundColor:n,customBackgroundColor:o,textColor:r,customTextColor:a}=e,c=Object(de.getColorClassName)("background-color",n),l=Object(de.getColorClassName)("color",r),i=je()({"has-background":n||o,"has-text-color":r||a,[c]:c,[l]:l,["are-vertically-aligned-"+t]:t}),s={backgroundColor:c?void 0:o,color:l?void 0:a};return Object(ge.createElement)("div",{className:i||void 0,style:s},Object(ge.createElement)(de.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!==or(e.originalContent)),migrate(e,t){const n=t.reduce((e,t)=>{const{originalContent:n}=t;let o=or(n);return void 0===o&&(o=0),e[o]||(e[o]=[]),e[o].push(t),e},[]).map(e=>Object(me.createBlock)("core/column",{},e));return[Object(be.omit)(e,["columns"]),n]},save({attributes:e}){const{columns:t}=e;return Object(ge.createElement)("div",{className:`has-${t}-columns`},Object(ge.createElement)(de.InnerBlocks.Content,null))}},{attributes:{columns:{type:"number",default:2}},migrate:(e,t)=>[e=Object(be.omit)(e,["columns"]),t],save({attributes:e}){const{verticalAlignment:t,columns:n}=e,o=je()(`has-${n}-columns`,{["are-vertically-aligned-"+t]:t});return Object(ge.createElement)("div",{className:o},Object(ge.createElement)(de.InnerBlocks.Content,null))}}];const ar=e=>{const t=parseFloat(e);return Number.isFinite(t)?parseFloat(t.toFixed(2)):void 0};function cr(e,t){const{width:n=100/t}=e.attributes;return ar(n)}function lr(e,t,n=e.length){const o=function(e,t=e.length){return Object(be.sumBy)(e,e=>cr(e,t))}(e,n);return Object(be.mapValues)(function(e,t=e.length){return e.reduce((e,n)=>{const o=cr(n,t);return Object.assign(e,{[n.clientId]:o})},{})}(e,n),e=>ar(t*e/o))}function ir(e,t){return e.map(e=>Object(be.merge)({},e,{attributes:{width:t[e.clientId]}}))}const sr=["core/column"];const ur=Object(Le.withDispatch)((e,t,n)=>({updateAlignment(o){const{clientId:r,setAttributes:a}=t,{updateBlockAttributes:c}=e(de.store),{getBlockOrder:l}=n.select(de.store);a({verticalAlignment:o});l(r).forEach(e=>{c(e,{verticalAlignment:o})})},updateColumns(o,r){const{clientId:a}=t,{replaceInnerBlocks:c}=e(de.store),{getBlocks:l}=n.select(de.store);let i=l(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=ar(100/r);i=[...ir(i,lr(i,100-e)),...Object(be.times)(r-o,()=>Object(me.createBlock)("core/column",{width:e}))]}else if(u)i=[...i,...Object(be.times)(r-o,()=>Object(me.createBlock)("core/column"))];else if(i=Object(be.dropRight)(i,o-r),s){i=ir(i,lr(i,100))}c(a,i)}}))((function({attributes:e,updateAlignment:t,updateColumns:n,clientId:o}){const{verticalAlignment:r}=e,{count:a}=Object(Le.useSelect)(e=>({count:e(de.store).getBlockCount(o)}),[o]),c=je()({["are-vertically-aligned-"+r]:r}),l=Object(de.useBlockProps)({className:c}),i=Object(de.__experimentalUseInnerBlocksProps)(l,{allowedBlocks:sr,orientation:"horizontal",renderAppender:!1});return Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.BlockControls,null,Object(ge.createElement)(de.BlockVerticalAlignmentToolbar,{onChange:t,value:r})),Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(Ee.PanelBody,null,Object(ge.createElement)(Ee.RangeControl,{label:Object(pe.__)("Columns"),value:a,onChange:e=>n(a,e),min:1,max:Math.max(6,a)}),a>6&&Object(ge.createElement)(Ee.Notice,{status:"warning",isDismissible:!1},Object(pe.__)("This column count exceeds the recommended amount and may cause visual breakage.")))),Object(ge.createElement)("div",i))}));function dr({clientId:e,name:t,setAttributes:n}){const{blockType:o,defaultVariation:r,variations:a}=Object(Le.useSelect)(e=>{const{getBlockVariations:n,getBlockType:o,getDefaultBlockVariation:r}=e(me.store);return{blockType:o(t),defaultVariation:r(t,"block"),variations:n(t,"block")}},[t]),{replaceInnerBlocks:c}=Object(Le.useDispatch)(de.store),l=Object(de.useBlockProps)();return Object(ge.createElement)("div",l,Object(ge.createElement)(de.__experimentalBlockVariationPicker,{icon:Object(be.get)(o,["icon","src"]),label:Object(be.get)(o,["title"]),variations:a,onSelect:(t=r)=>{t.attributes&&n(t.attributes),t.innerBlocks&&c(e,Object(me.createBlocksFromInnerBlocksTemplate)(t.innerBlocks),!0)},allowSkip:!0}))}var mr=e=>{const{clientId:t}=e,n=Object(Le.useSelect)(e=>e(de.store).getBlocks(t).length>0,[t])?ur:dr;return Object(ge.createElement)(n,e)};var br=[{name:"one-column-full",title:Object(pe.__)("100"),description:Object(pe.__)("One column"),icon:Object(ge.createElement)(Ee.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(Ee.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(pe.__)("50 / 50"),description:Object(pe.__)("Two columns; equal split"),icon:Object(ge.createElement)(Ee.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(Ee.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(pe.__)("30 / 70"),description:Object(pe.__)("Two columns; one-third, two-thirds split"),icon:Object(ge.createElement)(Ee.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(Ee.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(pe.__)("70 / 30"),description:Object(pe.__)("Two columns; two-thirds, one-third split"),icon:Object(ge.createElement)(Ee.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(Ee.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(pe.__)("33 / 33 / 33"),description:Object(pe.__)("Three columns; equal split"),icon:Object(ge.createElement)(Ee.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(Ee.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(pe.__)("25 / 50 / 25"),description:Object(pe.__)("Three columns; wide center column"),icon:Object(ge.createElement)(Ee.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(Ee.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 pr={from:[{type:"block",isMultiBlock:!0,blocks:["*"],__experimentalConvert:e=>{const t=+(100/e.length).toFixed(2),n=e.map(({name:e,attributes:n,innerBlocks:o})=>["core/column",{width:t+"%"},[[e,{...n},o]]]);return Object(me.createBlock)("core/columns",{},Object(me.createBlocksFromInnerBlocksTemplate)(n))},isMatch:({length:e})=>e&&e<=6},{type:"block",blocks:["core/media-text"],priority:1,transform:(e,t)=>{const{align:n,backgroundColor:o,textColor:r,style:a,mediaAlt:c,mediaId:l,mediaPosition:i,mediaSizeSlug:s,mediaType:u,mediaUrl:d,mediaWidth:m,verticalAlignment:b}=e;let p;if("image"!==u&&u)p=["core/video",{id:l,src:d}];else{p=["core/image",{...{id:l,alt:c,url:d,sizeSlug:s},...{href:e.href,linkClass:e.linkClass,linkDestination:e.linkDestination,linkTarget:e.linkTarget,rel:e.rel}}]}const g=[["core/column",{width:m+"%"},[p]],["core/column",{width:100-m+"%"},t]];return"right"===i&&g.reverse(),Object(me.createBlock)("core/columns",{align:n,backgroundColor:o,textColor:r,style:a,verticalAlignment:b},Object(me.createBlocksFromInnerBlocksTemplate)(g))}}]};const gr={apiVersion:2,name:"core/columns",title:"Columns",category:"design",description:"Add a block that displays content in multiple columns, then add whatever content blocks you’d like.",textdomain:"default",attributes:{verticalAlignment:{type:"string"}},supports:{anchor:!0,align:["wide","full"],html:!1,color:{gradients:!0,link:!0}},editorStyle:"wp-block-columns-editor",style:"wp-block-columns"},{name:hr}=gr,vr={icon:nr,variations:br,example:{innerBlocks:[{name:"core/column",innerBlocks:[{name:"core/paragraph",attributes:{content:Object(pe.__)("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(pe.__)("Suspendisse commodo neque lacus, a dictum orci interdum et.")}}]},{name:"core/column",innerBlocks:[{name:"core/paragraph",attributes:{content:Object(pe.__)("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(pe.__)("Nam risus massa, ullamcorper consectetur eros fermentum, porta aliquet ligula. Sed vel mauris nec enim.")}}]}]},deprecated:rr,edit:mr,save:function({attributes:e}){const{verticalAlignment:t}=e,n=je()({["are-vertically-aligned-"+t]:t});return Object(ge.createElement)("div",de.useBlockProps.save({className:n}),Object(ge.createElement)(de.InnerBlocks.Content,null))},transforms:pr};var Or=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.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 jr=[{attributes:{verticalAlignment:{type:"string"},width:{type:"number",min:0,max:100}},isEligible:({width:e})=>isFinite(e),migrate:e=>({...e,width:e.width+"%"}),save({attributes:e}){const{verticalAlignment:t,width:n}=e,o=je()({["is-vertically-aligned-"+t]:t}),r={flexBasis:n+"%"};return Object(ge.createElement)("div",{className:o,style:r},Object(ge.createElement)(de.InnerBlocks.Content,null))}}];var fr=function({attributes:{verticalAlignment:e,width:t,templateLock:n=!1},setAttributes:o,clientId:r}){const a=je()("block-core-columns",{["is-vertically-aligned-"+e]:e}),c=Object(Ee.__experimentalUseCustomUnits)({availableUnits:Object(de.useSetting)("layout.units")||["%","px","em","rem","vw"]}),{columnsIds:l,hasChildBlocks:i,rootClientId:s}=Object(Le.useSelect)(e=>{const{getBlockOrder:t,getBlockRootClientId:n}=e(de.store),o=n(r);return{hasChildBlocks:t(r).length>0,rootClientId:o,columnsIds:t(o)}},[r]),{updateBlockAttributes:u}=Object(Le.useDispatch)(de.store),d=Number.isFinite(t)?t+"%":t,m=Object(de.useBlockProps)({className:a,style:d?{flexBasis:d}:void 0}),b=l.length,p=l.indexOf(r)+1,g=Object(pe.sprintf)(Object(pe.__)("%1$s (%2$d of %3$d)"),m["aria-label"],p,b),h=Object(de.__experimentalUseInnerBlocksProps)({...m,"aria-label":g},{templateLock:n,renderAppender:i?void 0:de.InnerBlocks.ButtonBlockAppender});return Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.BlockControls,null,Object(ge.createElement)(de.BlockVerticalAlignmentToolbar,{onChange:e=>{o({verticalAlignment:e}),u(s,{verticalAlignment:null})},value:e})),Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Column settings")},Object(ge.createElement)(Ee.__experimentalUnitControl,{label:Object(pe.__)("Width"),labelPosition:"edge",__unstableInputWidth:"80px",value:t||"",onChange:e=>{e=0>parseFloat(e)?"0":e,o({width:e})},units:c}))),Object(ge.createElement)("div",h))};const yr={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"},templateLock:{enum:["all","insert",!1]}},supports:{anchor:!0,reusable:!1,html:!1,color:{gradients:!0,link:!0},spacing:{padding:!0}}},{name:wr}=yr,_r={icon:Or,edit:fr,save:function({attributes:e}){const{verticalAlignment:t,width:n}=e,o=je()({["is-vertically-aligned-"+t]:t});let r;return n&&(r={flexBasis:Number.isFinite(n)?n+"%":n}),Object(ge.createElement)("div",de.useBlockProps.save({className:o,style:r}),Object(ge.createElement)(de.InnerBlocks.Content,null))},deprecated:jr};var kr=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.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 Er={"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 Cr(e){return e?{backgroundImage:`url(${e})`}:{}}const xr=["image","video"];function Sr(e){return 0!==e&&50!==e&&e?"has-background-dim-"+10*Math.round(e/10):null}function Br(e){return!e||"center center"===e||"center"===e}function Tr(e){return Br(e)?"":Er[e]}const zr={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 Pr=[{attributes:{...zr,title:{type:"string",source:"html",selector:"p"},contentAlign:{type:"string",default:"center"},isRepeated:{type:"boolean",default:!1},minHeight:{type:"number"},minHeightUnit:{type:"string"},gradient:{type:"string"},customGradient:{type:"string"},contentPosition:{type:"string"}},supports:{align:!0},save({attributes:e}){const{backgroundType:t,gradient:n,contentPosition:o,customGradient:r,customOverlayColor:a,dimRatio:c,focalPoint:l,hasParallax:i,isRepeated:s,overlayColor:u,url:d,minHeight:m,minHeightUnit:b}=e,p=Object(de.getColorClassName)("background-color",u),g=Object(de.__experimentalGetGradientClass)(n),h=b?`${m}${b}`:m,v="image"===t,O="video"===t,j=v?Cr(d):{},f={};let y;p||(j.backgroundColor=a),r&&!d&&(j.background=r),j.minHeight=h||void 0,l&&(y=`${Math.round(100*l.x)}% ${Math.round(100*l.y)}%`,v&&!i&&(j.backgroundPosition=y),O&&(f.objectPosition=y));const w=je()(Sr(c),p,{"has-background-dim":0!==c,"has-parallax":i,"is-repeated":s,"has-background-gradient":n||r,[g]:!d&&g,"has-custom-content-position":!Br(o)},Tr(o));return Object(ge.createElement)("div",de.useBlockProps.save({className:w,style:j}),d&&(n||r)&&0!==c&&Object(ge.createElement)("span",{"aria-hidden":"true",className:je()("wp-block-cover__gradient-background",g),style:r?{background:r}:void 0}),O&&d&&Object(ge.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,playsInline:!0,src:d,style:f}),Object(ge.createElement)("div",{className:"wp-block-cover__inner-container"},Object(ge.createElement)(de.InnerBlocks.Content,null)))}},{attributes:{...zr,title:{type:"string",source:"html",selector:"p"},contentAlign:{type:"string",default:"center"},minHeight:{type:"number"},gradient:{type:"string"},customGradient:{type:"string"}},supports:{align:!0},save({attributes:e}){const{backgroundType:t,gradient:n,customGradient:o,customOverlayColor:r,dimRatio:a,focalPoint:c,hasParallax:l,overlayColor:i,url:s,minHeight:u}=e,d=Object(de.getColorClassName)("background-color",i),m=Object(de.__experimentalGetGradientClass)(n),b="image"===t?Cr(s):{};d||(b.backgroundColor=r),c&&!l&&(b.backgroundPosition=`${Math.round(100*c.x)}% ${Math.round(100*c.y)}%`),o&&!s&&(b.background=o),b.minHeight=u||void 0;const p=je()(Sr(a),d,{"has-background-dim":0!==a,"has-parallax":l,"has-background-gradient":o,[m]:!s&&m});return Object(ge.createElement)("div",{className:p,style:b},s&&(n||o)&&0!==a&&Object(ge.createElement)("span",{"aria-hidden":"true",className:je()("wp-block-cover__gradient-background",m),style:o?{background:o}:void 0}),"video"===t&&s&&Object(ge.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:s}),Object(ge.createElement)("div",{className:"wp-block-cover__inner-container"},Object(ge.createElement)(de.InnerBlocks.Content,null)))}},{attributes:{...zr,title:{type:"string",source:"html",selector:"p"},contentAlign:{type:"string",default:"center"},minHeight:{type:"number"},gradient:{type:"string"},customGradient:{type:"string"}},supports:{align:!0},save({attributes:e}){const{backgroundType:t,gradient:n,customGradient:o,customOverlayColor:r,dimRatio:a,focalPoint:c,hasParallax:l,overlayColor:i,url:s,minHeight:u}=e,d=Object(de.getColorClassName)("background-color",i),m=Object(de.__experimentalGetGradientClass)(n),b="image"===t?Cr(s):{};d||(b.backgroundColor=r),c&&!l&&(b.backgroundPosition=`${100*c.x}% ${100*c.y}%`),o&&!s&&(b.background=o),b.minHeight=u||void 0;const p=je()(Sr(a),d,{"has-background-dim":0!==a,"has-parallax":l,"has-background-gradient":o,[m]:!s&&m});return Object(ge.createElement)("div",{className:p,style:b},s&&(n||o)&&0!==a&&Object(ge.createElement)("span",{"aria-hidden":"true",className:je()("wp-block-cover__gradient-background",m),style:o?{background:o}:void 0}),"video"===t&&s&&Object(ge.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:s}),Object(ge.createElement)("div",{className:"wp-block-cover__inner-container"},Object(ge.createElement)(de.InnerBlocks.Content,null)))}},{attributes:{...zr,title:{type:"string",source:"html",selector:"p"},contentAlign:{type:"string",default:"center"}},supports:{align:!0},save({attributes:e}){const{backgroundType:t,contentAlign:n,customOverlayColor:o,dimRatio:r,focalPoint:a,hasParallax:c,overlayColor:l,title:i,url:s}=e,u=Object(de.getColorClassName)("background-color",l),d="image"===t?Cr(s):{};u||(d.backgroundColor=o),a&&!c&&(d.backgroundPosition=`${100*a.x}% ${100*a.y}%`);const m=je()(Sr(r),u,{"has-background-dim":0!==r,"has-parallax":c,[`has-${n}-content`]:"center"!==n});return Object(ge.createElement)("div",{className:m,style:d},"video"===t&&s&&Object(ge.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:s}),!de.RichText.isEmpty(i)&&Object(ge.createElement)(de.RichText.Content,{tagName:"p",className:"wp-block-cover-text",value:i}))},migrate:e=>[Object(be.omit)(e,["title","contentAlign"]),[Object(me.createBlock)("core/paragraph",{content:e.title,align:e.contentAlign,fontSize:"large",placeholder:Object(pe.__)("Write title…")})]]},{attributes:{...zr,title:{type:"string",source:"html",selector:"p"},contentAlign:{type:"string",default:"center"},align:{type:"string"}},supports:{className:!1},save({attributes:e}){const{url:t,title:n,hasParallax:o,dimRatio:r,align:a,contentAlign:c,overlayColor:l,customOverlayColor:i}=e,s=Object(de.getColorClassName)("background-color",l),u=Cr(t);s||(u.backgroundColor=i);const d=je()("wp-block-cover-image",Sr(r),s,{"has-background-dim":0!==r,"has-parallax":o,[`has-${c}-content`]:"center"!==c},a?"align"+a:null);return Object(ge.createElement)("div",{className:d,style:u},!de.RichText.isEmpty(n)&&Object(ge.createElement)(de.RichText.Content,{tagName:"p",className:"wp-block-cover-image-text",value:n}))},migrate:e=>[Object(be.omit)(e,["title","contentAlign","align"]),[Object(me.createBlock)("core/paragraph",{content:e.title,align:e.contentAlign,fontSize:"large",placeholder:Object(pe.__)("Write title…")})]]},{attributes:{...zr,title:{type:"string",source:"html",selector:"h2"},align:{type:"string"},contentAlign:{type:"string",default:"center"}},supports:{className:!1},save({attributes:e}){const{url:t,title:n,hasParallax:o,dimRatio:r,align:a}=e,c=Cr(t),l=je()("wp-block-cover-image",Sr(r),{"has-background-dim":0!==r,"has-parallax":o},a?"align"+a:null);return Object(ge.createElement)("section",{className:l,style:c},Object(ge.createElement)(de.RichText.Content,{tagName:"h2",value:n}))},migrate:e=>[Object(be.omit)(e,["title","contentAlign","align"]),[Object(me.createBlock)("core/paragraph",{content:e.title,align:e.contentAlign,fontSize:"large",placeholder:Object(pe.__)("Write title…")})]]}],Mr=n("FEKF"),Nr=n.n(Mr),Rr=n("Zss7"),Vr=n.n(Rr);const Hr=[["core/paragraph",{align:"center",fontSize:"large",placeholder:Object(pe.__)("Write title…")}]],{__Visualizer:Lr}=Ee.__experimentalBoxControl;function Ir(){return Ir.fastAverageColor||(Ir.fastAverageColor=new Nr.a),Ir.fastAverageColor}function Ar({onChange:e,onUnitChange:t,unit:n="px",value:o=""}){const[r,a]=Object(ge.useState)(null),c="block-cover-height-input-"+Object(Ie.useInstanceId)(de.__experimentalUnitControl),l="px"===n,i=Object(Ee.__experimentalUseCustomUnits)({availableUnits:Object(de.useSetting)("spacing.units")||["px","em","rem","vw","vh"],defaultValues:{px:"430",em:"20",rem:"20",vw:"20",vh:"50"}}),s=null!==r?r:o,u=l?50:0;return Object(ge.createElement)(Ee.BaseControl,{label:Object(pe.__)("Minimum height of cover"),id:c},Object(ge.createElement)(de.__experimentalUnitControl,{id:c,isResetValueOnUnitChange:!0,min:u,onBlur:()=>{null!==r&&a(null)},onChange:n=>{const o=""!==n?parseInt(n,10):void 0;isNaN(o)&&void 0!==o?a(n):(a(null),e(o),void 0===o&&t())},onUnitChange:t,step:"1",style:{maxWidth:80},unit:n,units:i,value:s}))}const Dr={top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1};function Fr({className:e,onResizeStart:t,onResize:n,onResizeStop:o,...r}){const[a,c]=Object(ge.useState)(!1);return Object(ge.createElement)(Ee.ResizableBox,Object(ke.a)({className:je()(e,{"is-resizing":a}),enable:Dr,onResizeStart:(e,o,r)=>{t(r.clientHeight),n(r.clientHeight)},onResize:(e,t,o)=>{n(o.clientHeight),a||c(!0)},onResizeStop:(e,t,n)=>{o(n.clientHeight),c(!1)},minHeight:50},r))}function Gr({x:e,y:t}){return`${Math.round(100*e)}% ${Math.round(100*t)}%`}function qr({disableMediaButtons:e=!1,children:t,noticeUI:n,noticeOperations:o,onSelectMedia:r}){const{removeAllNotices:a,createErrorNotice:c}=o;return Object(ge.createElement)(de.MediaPlaceholder,{icon:Object(ge.createElement)(de.BlockIcon,{icon:kr}),labels:{title:Object(pe.__)("Cover"),instructions:Object(pe.__)("Upload an image or video file, or pick one from your media library.")},onSelect:r,accept:"image/*,video/*",allowedTypes:xr,notices:n,disableMediaButtons:e,onError:e=>{a(),c(e)}},t)}var Ur=Object(Ie.compose)([Object(Le.withDispatch)(e=>{const{toggleSelection:t}=e(de.store);return{toggleSelection:t}}),Object(de.withColors)({overlayColor:"background-color"}),Ee.withNotices,Ie.withInstanceId])((function({attributes:e,clientId:t,isSelected:n,noticeUI:o,noticeOperations:r,overlayColor:a,setAttributes:c,setOverlayColor:l,toggleSelection:i}){var s,u;const{contentPosition:d,id:m,backgroundType:b,dimRatio:p,focalPoint:g,hasParallax:h,isRepeated:v,minHeight:O,minHeightUnit:j,style:f,url:y}=e,{gradientClass:w,gradientValue:_,setGradient:k}=Object(de.__experimentalUseGradient)(),E=function(e){return t=>{if(!t||!t.url)return void e({url:void 0,id:void 0});let n;if(Object(He.isBlobURL)(t.url)&&(t.type=Object(He.getBlobTypeByURL)(t.url)),t.media_type)n="image"===t.media_type?"image":"video";else{if("image"!==t.type&&"video"!==t.type)return;n=t.type}e({url:t.url,id:t.id,backgroundType:n,..."video"===n?{focalPoint:void 0,hasParallax:void 0}:{}})}}(c),C=((e,t)=>!e&&Object(He.isBlobURL)(t))(m,y),[x,S]=Object(ge.useState)(O),[B,T]=Object(ge.useState)(j),z="vh"===j&&100===O,P=Object(ge.useRef)(),M=function(e,t=50,n,o){const[r,a]=Object(ge.useState)(!1);return Object(ge.useEffect)(()=>{e&&t<=50&&o.current&&Ir().getColorAsync(o.current,e=>{a(e.isDark)})},[e,e&&t<=50&&o.current,a]),Object(ge.useEffect)(()=>{if(t>50||!e){if(!n)return void a(!0);a(Vr()(n).isDark())}},[n,t>50||!e,a]),Object(ge.useEffect)(()=>{e||n||a(!1)},[!e&&!n,a]),r}(y,p,a.color,P),N="image"===b,R="video"===b,[V,H]=Object(ge.useState)(null),L=j?`${O}${j}`:O,I=!(h||v),A={...N&&!I?Cr(y):{backgroundImage:_||void 0},backgroundColor:a.color,minHeight:V||L||void 0},D={objectPosition:g&&I?Gr(g):void 0},F=!!(y||a.color||_),G=R||N&&(!h||v),q=e=>{const[t,n]=P.current?[P.current.style,"objectPosition"]:[$.current.style,"backgroundPosition"];t[n]=Gr(e)},U=Object(Le.useSelect)(e=>e(de.store).getBlock(t).innerBlocks.length>0,[t]),W=Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.BlockControls,{group:"block"},Object(ge.createElement)(de.__experimentalBlockAlignmentMatrixControl,{label:Object(pe.__)("Change content position"),value:d,onChange:e=>c({contentPosition:e}),isDisabled:!U}),Object(ge.createElement)(de.__experimentalBlockFullHeightAligmentControl,{isActive:z,onToggle:()=>z?c("vh"===B&&100===x?{minHeight:void 0,minHeightUnit:void 0}:{minHeight:x,minHeightUnit:B}):(S(O),T(j),c({minHeight:100,minHeightUnit:"vh"})),isDisabled:!U})),Object(ge.createElement)(de.BlockControls,{group:"other"},Object(ge.createElement)(de.MediaReplaceFlow,{mediaId:m,mediaURL:y,allowedTypes:xr,accept:"image/*,video/*",onSelect:E,name:y?Object(pe.__)("Replace"):Object(pe.__)("Add Media")})),Object(ge.createElement)(de.InspectorControls,null,!!y&&Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Media settings")},N&&Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Fixed background"),checked:h,onChange:()=>{c({hasParallax:!h,...h?{}:{focalPoint:void 0}})}}),Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Repeated background"),checked:v,onChange:()=>{c({isRepeated:!v})}})),G&&Object(ge.createElement)(Ee.FocalPointPicker,{label:Object(pe.__)("Focal point picker"),url:y,value:g,onDragStart:q,onDrag:q,onChange:e=>c({focalPoint:e})}),Object(ge.createElement)(Ee.PanelRow,null,Object(ge.createElement)(Ee.Button,{isSecondary:!0,isSmall:!0,className:"block-library-cover__reset-button",onClick:()=>c({url:void 0,id:void 0,backgroundType:void 0,dimRatio:void 0,focalPoint:void 0,hasParallax:void 0,isRepeated:void 0})},Object(pe.__)("Clear Media")))),Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Dimensions")},Object(ge.createElement)(Ar,{value:V||O,unit:j,onChange:e=>c({minHeight:e}),onUnitChange:e=>c({minHeightUnit:e})})),Object(ge.createElement)(de.__experimentalPanelColorGradientSettings,{title:Object(pe.__)("Overlay"),initialOpen:!0,settings:[{colorValue:a.color,gradientValue:_,onColorChange:l,onGradientChange:k,label:Object(pe.__)("Color")}]},!!y&&Object(ge.createElement)(Ee.RangeControl,{label:Object(pe.__)("Opacity"),value:p,onChange:e=>c({dimRatio:e}),min:0,max:100,step:10,required:!0})))),$=Object(ge.useRef)(),Z=Object(de.useBlockProps)({ref:$}),Q=Object(de.__experimentalUseInnerBlocksProps)({className:"wp-block-cover__inner-container"},{template:Hr,templateInsertUpdatesSelection:!0});if(!U&&!F)return Object(ge.createElement)(ge.Fragment,null,W,Object(ge.createElement)("div",Object(ke.a)({},Z,{className:je()("is-placeholder",Z.className)}),Object(ge.createElement)(qr,{noticeUI:o,onSelectMedia:E,noticeOperations:r},Object(ge.createElement)("div",{className:"wp-block-cover__placeholder-background-options"},Object(ge.createElement)(de.ColorPalette,{disableCustomColors:!0,value:a.color,onChange:l,clearable:!1})))));const J=je()(Sr(p),{"is-dark-theme":M,"has-background-dim":0!==p,"is-transient":C,"has-parallax":h,"is-repeated":v,[a.class]:a.class,"has-background-gradient":_,[w]:!y&&w,"has-custom-content-position":!Br(d)},Tr(d));return Object(ge.createElement)(ge.Fragment,null,W,Object(ge.createElement)("div",Object(ke.a)({},Z,{className:je()(J,Z.className),style:{...A,...Z.style},"data-url":y}),Object(ge.createElement)(Lr,{values:null==f||null===(s=f.spacing)||void 0===s?void 0:s.padding,showValues:null==f||null===(u=f.visualizers)||void 0===u?void 0:u.padding}),Object(ge.createElement)(Fr,{className:"block-library-cover__resize-container",onResizeStart:()=>{c({minHeightUnit:"px"}),i(!1)},onResize:H,onResizeStop:e=>{i(!0),c({minHeight:e}),H(null)},showHandle:n}),y&&_&&0!==p&&Object(ge.createElement)("span",{"aria-hidden":"true",className:je()("wp-block-cover__gradient-background",w),style:{backgroundImage:_}}),y&&N&&I&&Object(ge.createElement)("img",{ref:P,className:"wp-block-cover__image-background",alt:"",src:y,style:D}),y&&R&&Object(ge.createElement)("video",{ref:P,className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:y,style:D}),C&&Object(ge.createElement)(Ee.Spinner,null),Object(ge.createElement)(qr,{disableMediaButtons:!0,noticeUI:o,onSelectMedia:E,noticeOperations:r}),Object(ge.createElement)("div",Q)))}));var Wr={from:[{type:"block",blocks:["core/image"],transform:({caption:e,url:t,align:n,id:o,anchor:r,style:a})=>{var c;return Object(me.createBlock)("core/cover",{url:t,align:n,id:o,anchor:r,style:{color:{duotone:null==a||null===(c=a.color)||void 0===c?void 0:c.duotone}}},[Object(me.createBlock)("core/paragraph",{content:e,fontSize:"large"})])}},{type:"block",blocks:["core/video"],transform:({caption:e,src:t,align:n,id:o,anchor:r})=>Object(me.createBlock)("core/cover",{url:t,align:n,id:o,backgroundType:"video",anchor:r},[Object(me.createBlock)("core/paragraph",{content:e,fontSize:"large"})])},{type:"block",blocks:["core/group"],isMatch:({backgroundColor:e,gradient:t,style:n})=>{var o,r;return e||(null==n||null===(o=n.color)||void 0===o?void 0:o.background)||(null==n||null===(r=n.color)||void 0===r?void 0:r.gradient)||t},transform:({align:e,anchor:t,backgroundColor:n,gradient:o,style:r},a)=>{var c,l;return Object(me.createBlock)("core/cover",{align:e,anchor:t,overlayColor:n,customOverlayColor:null==r||null===(c=r.color)||void 0===c?void 0:c.background,gradient:o,customGradient:null==r||null===(l=r.color)||void 0===l?void 0:l.gradient},a)}}],to:[{type:"block",blocks:["core/image"],isMatch:({backgroundType:e,url:t,overlayColor:n,customOverlayColor:o,gradient:r,customGradient:a})=>t?"image"===e:!(n||o||r||a),transform:({title:e,url:t,align:n,id:o,anchor:r,style:a})=>{var c;return Object(me.createBlock)("core/image",{caption:e,url:t,align:n,id:o,anchor:r,style:{color:{duotone:null==a||null===(c=a.color)||void 0===c?void 0:c.duotone}}})}},{type:"block",blocks:["core/video"],isMatch:({backgroundType:e,url:t,overlayColor:n,customOverlayColor:o,gradient:r,customGradient:a})=>t?"video"===e:!(n||o||r||a),transform:({title:e,url:t,align:n,id:o,anchor:r})=>Object(me.createBlock)("core/video",{caption:e,src:t,id:o,align:n,anchor:r})}]};const $r={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"},hasParallax:{type:"boolean",default:!1},isRepeated:{type:"boolean",default:!1},dimRatio:{type:"number",default:50},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"}},supports:{anchor:!0,align:!0,html:!1,spacing:{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:Zr}=$r,Qr={icon:kr,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(pe.__)("<strong>Snow Patrol</strong>"),align:"center"}}]},transforms:Wr,save:function({attributes:e}){const{backgroundType:t,gradient:n,contentPosition:o,customGradient:r,customOverlayColor:a,dimRatio:c,focalPoint:l,hasParallax:i,isRepeated:s,overlayColor:u,url:d,id:m,minHeight:b,minHeightUnit:p}=e,g=Object(de.getColorClassName)("background-color",u),h=Object(de.__experimentalGetGradientClass)(n),v=p?`${b}${p}`:b,O="image"===t,j="video"===t,f=!(i||s),y={...O&&!f?Cr(d):{},backgroundColor:g?void 0:a,background:r&&!d?r:void 0,minHeight:v||void 0},w=l&&f?`${Math.round(100*l.x)}% ${Math.round(100*l.y)}%`:void 0,_=je()(Sr(c),g,{"has-background-dim":0!==c,"has-parallax":i,"is-repeated":s,"has-background-gradient":n||r,[h]:!d&&h,"has-custom-content-position":!Br(o)},Tr(o));return Object(ge.createElement)("div",de.useBlockProps.save({className:_,style:y}),d&&(n||r)&&0!==c&&Object(ge.createElement)("span",{"aria-hidden":"true",className:je()("wp-block-cover__gradient-background",h),style:r?{background:r}:void 0}),O&&f&&d&&Object(ge.createElement)("img",{className:je()("wp-block-cover__image-background",m?"wp-image-"+m:null),alt:"",src:d,style:{objectPosition:w},"data-object-fit":"cover","data-object-position":w}),j&&d&&Object(ge.createElement)("video",{className:je()("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(ge.createElement)("div",{className:"wp-block-cover__inner-container"},Object(ge.createElement)(de.InnerBlocks.Content,null)))},edit:Ur,deprecated:Pr};var Jr=({blockSupportsResponsive:e,showEditButton:t,themeSupportsResponsive:n,allowResponsive:o,getResponsiveHelp:r,toggleResponsive:a,switchBackToURLInput:c})=>Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.BlockControls,null,Object(ge.createElement)(Ee.ToolbarGroup,null,t&&Object(ge.createElement)(Ee.ToolbarButton,{className:"components-toolbar__control",label:Object(pe.__)("Edit URL"),icon:Nn.a,onClick:c}))),n&&e&&Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Media settings"),className:"blocks-responsive"},Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Resize for smaller devices"),checked:o,help:r,onChange:a}))));const Yr=Object(ge.createElement)(Ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(Ee.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"})),Kr=Object(ge.createElement)(Ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(Ee.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"})),Xr=Object(ge.createElement)(Ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(Ee.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"})),ea=Object(ge.createElement)(Ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(Ee.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"})),ta={foreground:"#1da1f2",src:Object(ge.createElement)(Ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(Ee.G,null,Object(ge.createElement)(Ee.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"})))},na={foreground:"#ff0000",src:Object(ge.createElement)(Ee.SVG,{viewBox:"0 0 24 24"},Object(ge.createElement)(Ee.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"}))},oa={foreground:"#3b5998",src:Object(ge.createElement)(Ee.SVG,{viewBox:"0 0 24 24"},Object(ge.createElement)(Ee.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"}))},ra=Object(ge.createElement)(Ee.SVG,{viewBox:"0 0 24 24"},Object(ge.createElement)(Ee.G,null,Object(ge.createElement)(Ee.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"}))),aa={foreground:"#0073AA",src:Object(ge.createElement)(Ee.SVG,{viewBox:"0 0 24 24"},Object(ge.createElement)(Ee.G,null,Object(ge.createElement)(Ee.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"})))},ca={foreground:"#1db954",src:Object(ge.createElement)(Ee.SVG,{viewBox:"0 0 24 24"},Object(ge.createElement)(Ee.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"}))},la=Object(ge.createElement)(Ee.SVG,{viewBox:"0 0 24 24"},Object(ge.createElement)(Ee.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"})),ia={foreground:"#1ab7ea",src:Object(ge.createElement)(Ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(Ee.G,null,Object(ge.createElement)(Ee.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"})))},sa=Object(ge.createElement)(Ee.SVG,{viewBox:"0 0 24 24"},Object(ge.createElement)(Ee.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"})),ua={foreground:"#35465c",src:Object(ge.createElement)(Ee.SVG,{viewBox:"0 0 24 24"},Object(ge.createElement)(Ee.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"}))},da=Object(ge.createElement)(Ee.SVG,{viewBox:"0 0 24 24"},Object(ge.createElement)(Ee.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(ge.createElement)(Ee.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(ge.createElement)(Ee.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"})),ma=Object(ge.createElement)(Ee.SVG,{viewBox:"0 0 24 24"},Object(ge.createElement)(Ee.Path,{d:"m.0206909 21 19.8160091-13.07806 3.5831 6.20826z",fill:"#4bc7ee"}),Object(ge.createElement)(Ee.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(ge.createElement)(Ee.Path,{d:"m.0206909 21 15.2439091-16.38571 4.3029 7.32271z",fill:"#c3d82e"}),Object(ge.createElement)(Ee.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(ge.createElement)(Ee.Path,{d:"m.0206909 21 19.5468091-9.063 1.6621 2.8344z",fill:"#209dbd"}),Object(ge.createElement)(Ee.Path,{d:"m.0206909 21 17.9209091-11.82623 1.6259 2.76323z",fill:"#7cb3c9"})),ba=Object(ge.createElement)(Ee.SVG,{viewBox:"0 0 24 24"},Object(ge.createElement)(Ee.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"}));var pa=()=>Object(ge.createElement)("div",{className:"wp-block-embed is-loading"},Object(ge.createElement)(Ee.Spinner,null),Object(ge.createElement)("p",null,Object(pe.__)("Embedding…")));var ga=({icon:e,label:t,value:n,onSubmit:o,onChange:r,cannotEmbed:a,fallback:c,tryAgain:l})=>Object(ge.createElement)(Ee.Placeholder,{icon:Object(ge.createElement)(de.BlockIcon,{icon:e,showColors:!0}),label:t,className:"wp-block-embed",instructions:Object(pe.__)("Paste a link to the content you want to display on your site.")},Object(ge.createElement)("form",{onSubmit:o},Object(ge.createElement)("input",{type:"url",value:n||"",className:"components-placeholder__input","aria-label":t,placeholder:Object(pe.__)("Enter URL to embed here…"),onChange:r}),Object(ge.createElement)(Ee.Button,{isPrimary:!0,type:"submit"},Object(pe._x)("Embed","button label"))),Object(ge.createElement)("div",{className:"components-placeholder__learn-more"},Object(ge.createElement)(Ee.ExternalLink,{href:Object(pe.__)("https://wordpress.org/support/article/embeds/")},Object(pe.__)("Learn more about embeds"))),a&&Object(ge.createElement)("div",{className:"components-placeholder__error"},Object(ge.createElement)("div",{className:"components-placeholder__instructions"},Object(pe.__)("Sorry, this content could not be embedded.")),Object(ge.createElement)(Ee.Button,{isSecondary:!0,onClick:l},Object(pe._x)("Try again","button label"))," ",Object(ge.createElement)(Ee.Button,{isSecondary:!0,onClick:c},Object(pe._x)("Convert to link","button label"))));function ha({html:e}){const t=Object(ge.useRef)();Object(ge.useEffect)(()=>{const{ownerDocument:e}=t.current,{defaultView:n}=e;function o({data:{secret:t,message:n,value:o}={}}){[t,n,o].some(e=>!e)||"height"!==n||e.querySelectorAll(`iframe[data-secret="${t}"`).forEach(e=>{+e.height!==o&&(e.height=o)})}function r(){const{activeElement:n}=e;"IFRAME"===n.tagName&&n.parentNode===t.current&&n.focus()}return n.addEventListener("message",o),n.addEventListener("blur",r),()=>{n.removeEventListener("message",o),n.removeEventListener("blur",r)}},[]);const n=Object(ge.useMemo)(()=>{const t=(new window.DOMParser).parseFromString(e,"text/html"),n=t.querySelector("iframe");n&&n.removeAttribute("style");const o=t.querySelector("blockquote");return o&&(o.style.display="none"),t.body.innerHTML},[e]);return Object(ge.createElement)("div",{ref:t,className:"wp-block-embed__wrapper",dangerouslySetInnerHTML:{__html:n}})}class va extends ge.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:c,className:l,icon:i,label:s,insertBlocksAfter:u}=this.props,{scripts:d}=e,{interactive:m}=this.state,b="photo"===o?(e=>{const t=e.thumbnail_url||e.url,n=Object(ge.createElement)("p",null,Object(ge.createElement)("img",{src:t,alt:e.title,width:"100%"}));return Object(ge.renderToString)(n)})(e):e.html,p=new URL(n).host.split("."),g=p.splice(p.length-2,p.length-1).join("."),h=Object(pe.sprintf)(Object(pe.__)("Embedded content from %s"),g),v=$e()(o,l,"wp-block-embed__wrapper"),O="wp-embed"===o?Object(ge.createElement)(ha,{html:b}):Object(ge.createElement)("div",{className:"wp-block-embed__wrapper"},Object(ge.createElement)(Ee.SandBox,{html:b,scripts:d,title:h,type:v,onFocus:this.hideOverlay}),!m&&Object(ge.createElement)("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}));return Object(ge.createElement)("figure",{className:$e()(l,"wp-block-embed",{"is-type-video":"video"===o})},t?O:Object(ge.createElement)(Ee.Placeholder,{icon:Object(ge.createElement)(de.BlockIcon,{icon:i,showColors:!0}),label:s},Object(ge.createElement)("p",{className:"components-placeholder__error"},Object(ge.createElement)("a",{href:n},n)),Object(ge.createElement)("p",{className:"components-placeholder__error"},Object(pe.sprintf)(Object(pe.__)("Embedded content from %s can't be previewed in the editor."),g))),(!de.RichText.isEmpty(r)||c)&&Object(ge.createElement)(de.RichText,{tagName:"figcaption",placeholder:Object(pe.__)("Add caption"),value:r,onChange:a,inlineToolbar:!0,__unstableOnSplitAtEnd:()=>u(Object(me.createBlock)("core/paragraph"))}))}}var Oa=va;function ja(e){return e?Object(pe.__)("This embed will preserve its aspect ratio when the browser is resized."):Object(pe.__)("This embed may not preserve its aspect ratio when the browser is resized.")}var fa=e=>{const{attributes:{providerNameSlug:t,previewable:n,responsive:o,url:r},attributes:a,isSelected:c,onReplace:l,setAttributes:i,insertBlocksAfter:s,onFocus:u}=e,d={title:Object(pe._x)("Embed","block title"),icon:Yr},{icon:m,title:b}=(p=t,(null===(g=Object(me.getBlockVariations)(Je))||void 0===g?void 0:g.find(({name:e})=>e===p))||d);var p,g;const[h,v]=Object(ge.useState)(r),[O,j]=Object(ge.useState)(!1),{invalidateResolution:f}=Object(Le.useDispatch)("core/data"),{preview:y,fetching:w,themeSupportsResponsive:_,cannotEmbed:k}=Object(Le.useSelect)(e=>{var t;const{getEmbedPreview:n,isPreviewEmbedFallback:o,isRequestingEmbedPreview:a,getThemeSupports:c}=e(ue.store);if(!r)return{fetching:!1,cannotEmbed:!1};const l=n(r),i=o(r),s=!1===(null==l?void 0:l.html)&&void 0===(null==l?void 0:l.type),u=404===(null==l||null===(t=l.data)||void 0===t?void 0:t.status),d=!!l&&!s&&!u;return{preview:d?l:void 0,fetching:a(r),themeSupportsResponsive:c()["responsive-embeds"],cannotEmbed:!d||i}},[r]),E=()=>{const{allowResponsive:e,className:t}=a;return{...a,...tt(y,b,t,o,e)}};Object(ge.useEffect)(()=>{if(null==y||!y.html||!k||w)return;const e=r.replace(/\/$/,"");v(e),j(!1),i({url:e})},[null==y?void 0:y.html,r]),Object(ge.useEffect)(()=>{if(y&&!O&&(i(E()),l)){const t=Ke(e,E());t&&l(t)}},[y,O]);const C=Object(de.useBlockProps)();if(w)return Object(ge.createElement)(he.View,C,Object(ge.createElement)(pa,null));const x=ge.Platform.select({web:Object(pe.sprintf)(Object(pe.__)("%s URL"),b),native:b});if(!y||k||O)return Object(ge.createElement)(he.View,C,Object(ge.createElement)(ga,{icon:m,label:x,onFocus:u,onSubmit:e=>{e&&e.preventDefault(),j(!1),i({url:h})},value:h,cannotEmbed:k,onChange:e=>v(e.target.value),fallback:()=>function(e,t){const n=Object(ge.createElement)("a",{href:e},e);t(Object(me.createBlock)("core/paragraph",{content:Object(ge.renderToString)(n)}))}(h,l),tryAgain:()=>{f("core","getEmbedPreview",[h])}}));const{caption:S,type:B,allowResponsive:T,className:z}=E(),P=je()(z,e.className);return Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(Jr,{showEditButton:y&&!k,themeSupportsResponsive:_,blockSupportsResponsive:o,allowResponsive:T,getResponsiveHelp:ja,toggleResponsive:()=>{const{allowResponsive:e,className:t}=a,{html:n}=y,r=!e;i({allowResponsive:r,className:et(n,t,o&&r)})},switchBackToURLInput:()=>j(!0)}),Object(ge.createElement)(he.View,C,Object(ge.createElement)(Oa,{preview:y,previewable:n,className:P,url:h,type:B,caption:S,onCaptionChange:e=>i({caption:e}),isSelected:c,icon:m,label:x,insertBlocksAfter:s})))};const{name:ya}={apiVersion:2,name:"core/embed",title:"Embed",category:"embed",description:"Add a block that displays content pulled from other sites, like Twitter, Instagram 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 wa={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(me.createBlock)(ya,{url:e.textContent.trim()})}],to:[{type:"block",blocks:["core/paragraph"],transform:({url:e,caption:t})=>{const n=Object(ge.createElement)("a",{href:e},t||e);return Object(me.createBlock)("core/paragraph",{content:Object(ge.renderToString)(n)})}}]};const _a=[{name:"twitter",title:"Twitter",icon:ta,keywords:["tweet",Object(pe.__)("social")],description:Object(pe.__)("Embed a tweet."),patterns:[/^https?:\/\/(www\.)?twitter\.com\/.+/i],attributes:{providerNameSlug:"twitter",responsive:!0}},{name:"youtube",title:"YouTube",icon:na,keywords:[Object(pe.__)("music"),Object(pe.__)("video")],description:Object(pe.__)("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:oa,keywords:[Object(pe.__)("social")],description:Object(pe.__)("Embed a Facebook post."),scope:["block"],patterns:[],attributes:{providerNameSlug:"facebook",previewable:!1,responsive:!0}},{name:"instagram",title:"Instagram",icon:ra,keywords:[Object(pe.__)("image"),Object(pe.__)("social")],description:Object(pe.__)("Embed an Instagram post."),scope:["block"],patterns:[],attributes:{providerNameSlug:"instagram",responsive:!0}},{name:"wordpress",title:"WordPress",icon:aa,keywords:[Object(pe.__)("post"),Object(pe.__)("blog")],description:Object(pe.__)("Embed a WordPress post."),attributes:{providerNameSlug:"wordpress"}},{name:"soundcloud",title:"SoundCloud",icon:Kr,keywords:[Object(pe.__)("music"),Object(pe.__)("audio")],description:Object(pe.__)("Embed SoundCloud content."),patterns:[/^https?:\/\/(www\.)?soundcloud\.com\/.+/i],attributes:{providerNameSlug:"soundcloud",responsive:!0}},{name:"spotify",title:"Spotify",icon:ca,keywords:[Object(pe.__)("music"),Object(pe.__)("audio")],description:Object(pe.__)("Embed Spotify content."),patterns:[/^https?:\/\/(open|play)\.spotify\.com\/.+/i],attributes:{providerNameSlug:"spotify",responsive:!0}},{name:"flickr",title:"Flickr",icon:la,keywords:[Object(pe.__)("image")],description:Object(pe.__)("Embed Flickr content."),patterns:[/^https?:\/\/(www\.)?flickr\.com\/.+/i,/^https?:\/\/flic\.kr\/.+/i],attributes:{providerNameSlug:"flickr",responsive:!0}},{name:"vimeo",title:"Vimeo",icon:ia,keywords:[Object(pe.__)("video")],description:Object(pe.__)("Embed a Vimeo video."),patterns:[/^https?:\/\/(www\.)?vimeo\.com\/.+/i],attributes:{providerNameSlug:"vimeo",responsive:!0}},{name:"animoto",title:"Animoto",icon:ma,description:Object(pe.__)("Embed an Animoto video."),patterns:[/^https?:\/\/(www\.)?(animoto|video214)\.com\/.+/i],attributes:{providerNameSlug:"animoto",responsive:!0}},{name:"cloudup",title:"Cloudup",icon:Yr,description:Object(pe.__)("Embed Cloudup content."),patterns:[/^https?:\/\/cloudup\.com\/.+/i],attributes:{providerNameSlug:"cloudup",responsive:!0}},{name:"collegehumor",title:"CollegeHumor",icon:ea,description:Object(pe.__)("Embed CollegeHumor content."),scope:["block"],patterns:[],attributes:{providerNameSlug:"collegehumor",responsive:!0}},{name:"crowdsignal",title:"Crowdsignal",icon:Yr,keywords:["polldaddy",Object(pe.__)("survey")],description:Object(pe.__)("Embed Crowdsignal (formerly Polldaddy) content."),patterns:[/^https?:\/\/((.+\.)?polldaddy\.com|poll\.fm|.+\.survey\.fm)\/.+/i],attributes:{providerNameSlug:"crowdsignal",responsive:!0}},{name:"dailymotion",title:"Dailymotion",icon:ba,keywords:[Object(pe.__)("video")],description:Object(pe.__)("Embed a Dailymotion video."),patterns:[/^https?:\/\/(www\.)?dailymotion\.com\/.+/i],attributes:{providerNameSlug:"dailymotion",responsive:!0}},{name:"imgur",title:"Imgur",icon:Xr,description:Object(pe.__)("Embed Imgur content."),patterns:[/^https?:\/\/(.+\.)?imgur\.com\/.+/i],attributes:{providerNameSlug:"imgur",responsive:!0}},{name:"issuu",title:"Issuu",icon:Yr,description:Object(pe.__)("Embed Issuu content."),patterns:[/^https?:\/\/(www\.)?issuu\.com\/.+/i],attributes:{providerNameSlug:"issuu",responsive:!0}},{name:"kickstarter",title:"Kickstarter",icon:Yr,description:Object(pe.__)("Embed Kickstarter content."),patterns:[/^https?:\/\/(www\.)?kickstarter\.com\/.+/i,/^https?:\/\/kck\.st\/.+/i],attributes:{providerNameSlug:"kickstarter",responsive:!0}},{name:"meetup-com",title:"Meetup.com",icon:Yr,description:Object(pe.__)("Embed Meetup.com content."),patterns:[/^https?:\/\/(www\.)?meetu(\.ps|p\.com)\/.+/i],attributes:{providerNameSlug:"meetup-com",responsive:!0}},{name:"mixcloud",title:"Mixcloud",icon:Kr,keywords:[Object(pe.__)("music"),Object(pe.__)("audio")],description:Object(pe.__)("Embed Mixcloud content."),patterns:[/^https?:\/\/(www\.)?mixcloud\.com\/.+/i],attributes:{providerNameSlug:"mixcloud",responsive:!0}},{name:"reddit",title:"Reddit",icon:sa,description:Object(pe.__)("Embed a Reddit thread."),patterns:[/^https?:\/\/(www\.)?reddit\.com\/.+/i],attributes:{providerNameSlug:"reddit",responsive:!0}},{name:"reverbnation",title:"ReverbNation",icon:Kr,description:Object(pe.__)("Embed ReverbNation content."),patterns:[/^https?:\/\/(www\.)?reverbnation\.com\/.+/i],attributes:{providerNameSlug:"reverbnation",responsive:!0}},{name:"screencast",title:"Screencast",icon:ea,description:Object(pe.__)("Embed Screencast content."),patterns:[/^https?:\/\/(www\.)?screencast\.com\/.+/i],attributes:{providerNameSlug:"screencast",responsive:!0}},{name:"scribd",title:"Scribd",icon:Yr,description:Object(pe.__)("Embed Scribd content."),patterns:[/^https?:\/\/(www\.)?scribd\.com\/.+/i],attributes:{providerNameSlug:"scribd",responsive:!0}},{name:"slideshare",title:"Slideshare",icon:Yr,description:Object(pe.__)("Embed Slideshare content."),patterns:[/^https?:\/\/(.+?\.)?slideshare\.net\/.+/i],attributes:{providerNameSlug:"slideshare",responsive:!0}},{name:"smugmug",title:"SmugMug",icon:Xr,description:Object(pe.__)("Embed SmugMug content."),patterns:[/^https?:\/\/(.+\.)?smugmug\.com\/.*/i],attributes:{providerNameSlug:"smugmug",previewable:!1,responsive:!0}},{name:"speaker-deck",title:"Speaker Deck",icon:Yr,description:Object(pe.__)("Embed Speaker Deck content."),patterns:[/^https?:\/\/(www\.)?speakerdeck\.com\/.+/i],attributes:{providerNameSlug:"speaker-deck",responsive:!0}},{name:"tiktok",title:"TikTok",icon:ea,keywords:[Object(pe.__)("video")],description:Object(pe.__)("Embed a TikTok video."),patterns:[/^https?:\/\/(www\.)?tiktok\.com\/.+/i],attributes:{providerNameSlug:"tiktok",responsive:!0}},{name:"ted",title:"TED",icon:ea,description:Object(pe.__)("Embed a TED video."),patterns:[/^https?:\/\/(www\.|embed\.)?ted\.com\/.+/i],attributes:{providerNameSlug:"ted",responsive:!0}},{name:"tumblr",title:"Tumblr",icon:ua,keywords:[Object(pe.__)("social")],description:Object(pe.__)("Embed a Tumblr post."),patterns:[/^https?:\/\/(www\.)?tumblr\.com\/.+/i],attributes:{providerNameSlug:"tumblr",responsive:!0}},{name:"videopress",title:"VideoPress",icon:ea,keywords:[Object(pe.__)("video")],description:Object(pe.__)("Embed a VideoPress video."),patterns:[/^https?:\/\/videopress\.com\/.+/i],attributes:{providerNameSlug:"videopress",responsive:!0}},{name:"wordpress-tv",title:"WordPress.tv",icon:ea,description:Object(pe.__)("Embed a WordPress.tv video."),patterns:[/^https?:\/\/wordpress\.tv\/.+/i],attributes:{providerNameSlug:"wordpress-tv",responsive:!0}},{name:"amazon-kindle",title:"Amazon Kindle",icon:da,keywords:[Object(pe.__)("ebook")],description:Object(pe.__)("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"}}];_a.forEach(e=>{e.isActive||(e.isActive=(e,t)=>e.providerNameSlug===t.providerNameSlug)});var ka=_a;const{attributes:Ea}={apiVersion:2,name:"core/embed",title:"Embed",category:"embed",description:"Add a block that displays content pulled from other sites, like Twitter, Instagram 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 Ca=[{attributes:Ea,save({attributes:{url:e,caption:t,type:n,providerNameSlug:o}}){if(!e)return null;const r=je()("wp-block-embed",{["is-type-"+n]:n,["is-provider-"+o]:o});return Object(ge.createElement)("figure",{className:r},`\n${e}\n`,!de.RichText.isEmpty(t)&&Object(ge.createElement)(de.RichText.Content,{tagName:"figcaption",value:t}))}}];const xa={apiVersion:2,name:"core/embed",title:"Embed",category:"embed",description:"Add a block that displays content pulled from other sites, like Twitter, Instagram 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:Sa}=xa,Ba={icon:Yr,edit:fa,save:function({attributes:e}){const{url:t,caption:n,type:o,providerNameSlug:r}=e;if(!t)return null;const a=$e()("wp-block-embed",{["is-type-"+o]:o,["is-provider-"+r]:r,["wp-block-embed-"+r]:r});return Object(ge.createElement)("figure",de.useBlockProps.save({className:a}),Object(ge.createElement)("div",{className:"wp-block-embed__wrapper"},`\n${t}\n`),!de.RichText.isEmpty(n)&&Object(ge.createElement)(de.RichText.Content,{tagName:"figcaption",value:n}))},transforms:wa,variations:ka,deprecated:Ca};var Ta=Object(ge.createElement)(he.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(he.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"}));function za({hrefs:e,openInNewWindow:t,showDownloadButton:n,changeLinkDestinationOption:o,changeOpenInNewWindow:r,changeShowDownloadButton:a,displayPreview:c,changeDisplayPreview:l,previewHeight:i,changePreviewHeight:s}){const{href:u,textLinkHref:d,attachmentPage:m}=e;let b=[{value:u,label:Object(pe.__)("URL")}];return m&&(b=[{value:u,label:Object(pe.__)("Media file")},{value:m,label:Object(pe.__)("Attachment page")}]),Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.InspectorControls,null,u.endsWith(".pdf")&&Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("PDF settings")},Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Show inline embed"),help:c?Object(pe.__)("Note: Most phone and tablet browsers won't display embedded PDFs."):null,checked:!!c,onChange:l}),Object(ge.createElement)(Ee.RangeControl,{label:Object(pe.__)("Height in pixels"),min:Na,max:Math.max(Ra,i),value:i,onChange:s})),Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Text link settings")},Object(ge.createElement)(Ee.SelectControl,{label:Object(pe.__)("Link to"),value:d,options:b,onChange:o}),Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Open in new tab"),checked:t,onChange:r})),Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Download button settings")},Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Show download button"),checked:n,onChange:a}))))}const Pa=()=>!(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)&&!Ma("AcroPDF.PDF")&&!Ma("PDF.PdfCtrl")))),Ma=e=>{let t;try{t=new window.ActiveXObject(e)}catch(e){t=void 0}return t},Na=200,Ra=2e3;function Va({text:e,disabled:t}){const{createNotice:n}=Object(Le.useDispatch)(qe.store),o=Object(Ie.useCopyToClipboard)(e,()=>{n("info",Object(pe.__)("Copied URL to clipboard."),{isDismissible:!0,type:"snackbar"})});return Object(ge.createElement)(Ee.ToolbarButton,{className:"components-clipboard-toolbar-button",ref:o,disabled:t},Object(pe.__)("Copy URL"))}var Ha=Object(Ee.withNotices)((function({attributes:e,isSelected:t,setAttributes:n,noticeUI:o,noticeOperations:r}){const{id:a,fileName:c,href:l,textLinkHref:i,textLinkTarget:s,showDownloadButton:u,downloadButtonText:d,displayPreview:m,previewHeight:b}=e,[p,g]=Object(ge.useState)(!1),{media:h,mediaUpload:v}=Object(Le.useSelect)(e=>({media:void 0===a?void 0:e(ue.store).getMedia(a),mediaUpload:e(de.store).getSettings().mediaUpload}),[a]),{toggleSelection:O}=Object(Le.useDispatch)(de.store);function j(e){if(e&&e.url){g(!1);const t=e.url.endsWith(".pdf");n({href:e.url,fileName:e.title,textLinkHref:e.url,id:e.id,displayPreview:!!t||void 0,previewHeight:t?600:void 0})}}function f(e){g(!0),r.removeAllNotices(),r.createErrorNotice(e)}function y(e){n({downloadButtonText:e.replace(/<\/?a[^>]*>/g,"")})}Object(ge.useEffect)(()=>{if(Object(He.isBlobURL)(l)){const e=Object(He.getBlobByURL)(l);v({filesList:[e],onFileChange:([e])=>j(e),onError:e=>{g(!0),r.createErrorNotice(e)}}),Object(He.revokeBlobURL)(l)}void 0===d&&y(Object(pe._x)("Download","button label"))},[]);const w=h&&h.link,_=Object(de.useBlockProps)({className:je()(Object(He.isBlobURL)(l)&&Object(Ee.__unstableGetAnimateClassName)({type:"loading"}),{"is-transient":Object(He.isBlobURL)(l)})}),k=Pa()&&m;return!l||p?Object(ge.createElement)("div",_,Object(ge.createElement)(de.MediaPlaceholder,{icon:Object(ge.createElement)(de.BlockIcon,{icon:Ta}),labels:{title:Object(pe.__)("File"),instructions:Object(pe.__)("Upload a file or pick one from your media library.")},onSelect:j,notices:o,onError:f,accept:"*"})):Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(za,{hrefs:{href:l,textLinkHref:i,attachmentPage:w},openInNewWindow:!!s,showDownloadButton:u,changeLinkDestinationOption:function(e){n({textLinkHref:e})},changeOpenInNewWindow:function(e){n({textLinkTarget:!!e&&"_blank"})},changeShowDownloadButton:function(e){n({showDownloadButton:e})},displayPreview:m,changeDisplayPreview:function(e){n({displayPreview:e})},previewHeight:b,changePreviewHeight:function(e){const t=Math.max(parseInt(e,10),Na);n({previewHeight:t})}}),Object(ge.createElement)(de.BlockControls,{group:"other"},Object(ge.createElement)(de.MediaReplaceFlow,{mediaId:a,mediaURL:l,accept:"*",onSelect:j,onError:f}),Object(ge.createElement)(Va,{text:l,disabled:Object(He.isBlobURL)(l)})),Object(ge.createElement)("div",_,k&&Object(ge.createElement)(Ee.ResizableBox,{size:{height:b},minHeight:Na,maxHeight:Ra,minWidth:"100%",grid:[10,10],enable:{top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},onResizeStart:()=>O(!1),onResizeStop:function(e,t,o,r){O(!0);const a=parseInt(b+r.height,10);n({previewHeight:a})},showHandle:t},Object(ge.createElement)("object",{className:"wp-block-file__preview",data:l,type:"application/pdf","aria-label":Object(pe.__)("Embed of the selected PDF file.")}),!t&&Object(ge.createElement)("div",{className:"wp-block-file__preview-overlay"})),Object(ge.createElement)("div",{className:"wp-block-file__content-wrapper"},Object(ge.createElement)(de.RichText,{style:{display:"inline-block"},tagName:"a",value:c,placeholder:Object(pe.__)("Write file name…"),withoutInteractiveFormatting:!0,onChange:e=>n({fileName:e}),href:i}),u&&Object(ge.createElement)("div",{className:"wp-block-file__button-richtext-wrapper"},Object(ge.createElement)(de.RichText,{tagName:"div","aria-label":Object(pe.__)("Download button text"),className:"wp-block-file__button",value:d,withoutInteractiveFormatting:!0,placeholder:Object(pe.__)("Add text…"),onChange:e=>y(e)})))))}));var La={from:[{type:"files",isMatch:e=>e.length>0,priority:15,transform:e=>{const t=[];return e.forEach(e=>{const n=Object(He.createBlobURL)(e);t.push(Object(me.createBlock)("core/file",{href:n,fileName:e.name,textLinkHref:n}))}),t}},{type:"block",blocks:["core/audio"],transform:e=>Object(me.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(me.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(me.createBlock)("core/file",{href:e.url,fileName:e.caption,textLinkHref:e.url,id:e.id,anchor:e.anchor})}],to:[{type:"block",blocks:["core/audio"],isMatch:({id:e})=>{if(!e)return!1;const{getMedia:t}=Object(Le.select)(ue.store),n=t(e);return!!n&&Object(be.includes)(n.mime_type,"audio")},transform:e=>Object(me.createBlock)("core/audio",{src:e.href,caption:e.fileName,id:e.id,anchor:e.anchor})},{type:"block",blocks:["core/video"],isMatch:({id:e})=>{if(!e)return!1;const{getMedia:t}=Object(Le.select)(ue.store),n=t(e);return!!n&&Object(be.includes)(n.mime_type,"video")},transform:e=>Object(me.createBlock)("core/video",{src:e.href,caption:e.fileName,id:e.id,anchor:e.anchor})},{type:"block",blocks:["core/image"],isMatch:({id:e})=>{if(!e)return!1;const{getMedia:t}=Object(Le.select)(ue.store),n=t(e);return!!n&&Object(be.includes)(n.mime_type,"image")},transform:e=>Object(me.createBlock)("core/image",{url:e.href,caption:e.fileName,id:e.id,anchor:e.anchor})}]};const Ia={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"},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},editorStyle:"wp-block-file-editor",style:"wp-block-file"},{name:Aa}=Ia,Da={icon:Ta,transforms:La,edit:Ha,save:function({attributes:e}){const{href:t,fileName:n,textLinkHref:o,textLinkTarget:r,showDownloadButton:a,downloadButtonText:c,displayPreview:l,previewHeight:i}=e,s=de.RichText.isEmpty(n)?Object(pe.__)("PDF embed"):Object(pe.sprintf)(Object(pe.__)("Embed of %s."),n);return t&&Object(ge.createElement)("div",de.useBlockProps.save(),l&&Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)("object",{className:"wp-block-file__embed",data:t,type:"application/pdf",style:{width:"100%",height:i+"px"},"aria-label":s})),!de.RichText.isEmpty(n)&&Object(ge.createElement)("a",{href:o,target:r,rel:r?"noreferrer noopener":void 0},Object(ge.createElement)(de.RichText.Content,{value:n})),a&&Object(ge.createElement)("a",{href:t,className:"wp-block-file__button",download:!0},Object(ge.createElement)(de.RichText.Content,{value:c})))}};var Fa=Object(ge.createElement)(he.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(he.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 Ga={from:[{type:"block",blocks:["core/code"],transform:({content:e})=>Object(me.createBlock)("core/html",{content:e})}]};const qa={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:Ua}=qa,Wa={icon:Fa,example:{attributes:{content:"<marquee>"+Object(pe.__)("Welcome to the wonderful world of blocks…")+"</marquee>"}},edit:function({attributes:e,setAttributes:t,isSelected:n}){const[o,r]=Object(ge.useState)(),a=Object(Le.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(de.transformStyles)(e(de.store).getSettings().styles)],[]);return Object(ge.createElement)("div",Object(de.useBlockProps)({className:"block-library-html__edit"}),Object(ge.createElement)(de.BlockControls,null,Object(ge.createElement)(Ee.ToolbarGroup,null,Object(ge.createElement)(Ee.ToolbarButton,{className:"components-tab-button",isPressed:!o,onClick:function(){r(!1)}},Object(ge.createElement)("span",null,"HTML")),Object(ge.createElement)(Ee.ToolbarButton,{className:"components-tab-button",isPressed:o,onClick:function(){r(!0)}},Object(ge.createElement)("span",null,Object(pe.__)("Preview"))))),Object(ge.createElement)(Ee.Disabled.Consumer,null,r=>o||r?Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(Ee.SandBox,{html:e.content,styles:a}),!n&&Object(ge.createElement)("div",{className:"block-library-html__preview-overlay"})):Object(ge.createElement)(de.PlainText,{value:e.content,onChange:e=>t({content:e}),placeholder:Object(pe.__)("Write HTML…"),"aria-label":Object(pe.__)("HTML")})))},save:function({attributes:e}){return Object(ge.createElement)(ge.RawHTML,null,e.content)},transforms:Ga};var $a=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.Path,{d:"M3 18h8V6H3v12zM14 7.5V9h7V7.5h-7zm0 5.3h7v-1.5h-7v1.5zm0 3.7h7V15h-7v1.5z"})),Za=Object(ge.createElement)(Ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(Ee.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(ge.createElement)(Ee.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(ge.createElement)(Ee.Path,{d:"M5 19h8l-1.59-2H9.24l-.84 1.1L7 16.3 5 19z"}));const Qa=["image","video"];function Ja(e,t){return e?{backgroundImage:`url(${e})`,backgroundPosition:t?`${100*t.x}% ${100*t.y}%`:"50% 50%"}:{}}const Ya=Object(ge.forwardRef)(({isSelected:e,isStackedOnMobile:t,...n},o)=>{const r=Object(Ie.useViewportMatch)("small","<");return Object(ge.createElement)(Ee.ResizableBox,Object(ke.a)({ref:o,showHandle:e&&(!r||!t)},n))});function Ka({mediaId:e,mediaUrl:t,onSelectMedia:n}){return Object(ge.createElement)(de.BlockControls,{group:"other"},Object(ge.createElement)(de.MediaReplaceFlow,{mediaId:e,mediaURL:t,allowedTypes:Qa,accept:"image/*,video/*",onSelect:n}))}function Xa({className:e,noticeOperations:t,noticeUI:n,onSelectMedia:o}){return Object(ge.createElement)(de.MediaPlaceholder,{icon:Object(ge.createElement)(de.BlockIcon,{icon:Za}),labels:{title:Object(pe.__)("Media area")},className:e,onSelect:o,accept:"image/*,video/*",allowedTypes:Qa,notices:n,onError:e=>{t.removeAllNotices(),t.createErrorNotice(e)}})}var ec=Object(Ee.withNotices)(Object(ge.forwardRef)((function(e,t){const{className:n,commitWidthChange:o,focalPoint:r,imageFill:a,isSelected:c,isStackedOnMobile:l,mediaAlt:i,mediaId:s,mediaPosition:u,mediaType:d,mediaUrl:m,mediaWidth:b,onSelectMedia:p,onWidthChange:g}=e,{toggleSelection:h}=Object(Le.useDispatch)(de.store);if(d&&m){const e=()=>{h(!1)},v=(e,t,n)=>{g(parseInt(n.style.width))},O=(e,t,n)=>{h(!0),o(parseInt(n.style.width))},j={right:"left"===u,left:"right"===u},f="image"===d&&a?Ja(m,r):{},y={image:()=>Object(ge.createElement)("img",{src:m,alt:i}),video:()=>Object(ge.createElement)("video",{controls:!0,src:m})};return Object(ge.createElement)(Ya,{as:"figure",className:je()(n,"editor-media-container__resizer"),style:f,size:{width:b+"%"},minWidth:"10%",maxWidth:"100%",enable:j,onResizeStart:e,onResize:v,onResizeStop:O,axis:"x",isSelected:c,isStackedOnMobile:l,ref:t},Object(ge.createElement)(Ka,{onSelectMedia:p,mediaUrl:m,mediaId:s}),(y[d]||be.noop)())}return Object(ge.createElement)(Xa,e)})));const tc=e=>{if(!e.customBackgroundColor)return e;const t={color:{background:e.customBackgroundColor}};return{...Object(be.omit)(e,["customBackgroundColor"]),style:t}},nc={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 oc=[{attributes:{...nc,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:tc,save({attributes:e}){const{backgroundColor:t,customBackgroundColor:n,isStackedOnMobile:o,mediaAlt:r,mediaPosition:a,mediaType:c,mediaUrl:l,mediaWidth:i,mediaId:s,verticalAlignment:u,imageFill:d,focalPoint:m,linkClass:b,href:p,linkTarget:g,rel:h}=e,v=Object(be.isEmpty)(h)?void 0:h;let O=Object(ge.createElement)("img",{src:l,alt:r,className:s&&"image"===c?"wp-image-"+s:null});p&&(O=Object(ge.createElement)("a",{className:b,href:p,target:g,rel:v},O));const j={image:()=>O,video:()=>Object(ge.createElement)("video",{controls:!0,src:l})},f=Object(de.getColorClassName)("background-color",t),y=je()({"has-media-on-the-right":"right"===a,"has-background":f||n,[f]:f,"is-stacked-on-mobile":o,["is-vertically-aligned-"+u]:u,"is-image-fill":d}),w=d?Ja(l,m):{};let _;50!==i&&(_="right"===a?`auto ${i}%`:i+"% auto");const k={backgroundColor:f?void 0:n,gridTemplateColumns:_};return Object(ge.createElement)("div",{className:y,style:k},Object(ge.createElement)("figure",{className:"wp-block-media-text__media",style:w},(j[c]||be.noop)()),Object(ge.createElement)("div",{className:"wp-block-media-text__content"},Object(ge.createElement)(de.InnerBlocks.Content,null)))}},{attributes:{...nc,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:tc,save({attributes:e}){const{backgroundColor:t,customBackgroundColor:n,isStackedOnMobile:o,mediaAlt:r,mediaPosition:a,mediaType:c,mediaUrl:l,mediaWidth:i,mediaId:s,verticalAlignment:u,imageFill:d,focalPoint:m}=e,b={image:()=>Object(ge.createElement)("img",{src:l,alt:r,className:s&&"image"===c?"wp-image-"+s:null}),video:()=>Object(ge.createElement)("video",{controls:!0,src:l})},p=Object(de.getColorClassName)("background-color",t),g=je()({"has-media-on-the-right":"right"===a,[p]:p,"is-stacked-on-mobile":o,["is-vertically-aligned-"+u]:u,"is-image-fill":d}),h=d?Ja(l,m):{};let v;50!==i&&(v="right"===a?`auto ${i}%`:i+"% auto");const O={backgroundColor:p?void 0:n,gridTemplateColumns:v};return Object(ge.createElement)("div",{className:g,style:O},Object(ge.createElement)("figure",{className:"wp-block-media-text__media",style:h},(b[c]||be.noop)()),Object(ge.createElement)("div",{className:"wp-block-media-text__content"},Object(ge.createElement)(de.InnerBlocks.Content,null)))}},{attributes:{...nc,customBackgroundColor:{type:"string"},mediaUrl:{type:"string",source:"attribute",selector:"figure video,figure img",attribute:"src"}},save({attributes:e}){const{backgroundColor:t,customBackgroundColor:n,isStackedOnMobile:o,mediaAlt:r,mediaPosition:a,mediaType:c,mediaUrl:l,mediaWidth:i}=e,s={image:()=>Object(ge.createElement)("img",{src:l,alt:r}),video:()=>Object(ge.createElement)("video",{controls:!0,src:l})},u=Object(de.getColorClassName)("background-color",t),d=je()({"has-media-on-the-right":"right"===a,[u]:u,"is-stacked-on-mobile":o});let m;50!==i&&(m="right"===a?`auto ${i}%`:i+"% auto");const b={backgroundColor:u?void 0:n,gridTemplateColumns:m};return Object(ge.createElement)("div",{className:d,style:b},Object(ge.createElement)("figure",{className:"wp-block-media-text__media"},(s[c]||be.noop)()),Object(ge.createElement)("div",{className:"wp-block-media-text__content"},Object(ge.createElement)(de.InnerBlocks.Content,null)))}}];var rc=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.Path,{d:"M4 18h6V6H4v12zm9-9.5V10h7V8.5h-7zm0 7h7V14h-7v1.5z"}));var ac=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.Path,{d:"M14 6v12h6V6h-6zM4 10h7V8.5H4V10zm0 5.5h7V14H4v1.5z"}));const cc=[["core/paragraph",{fontSize:"large",placeholder:Object(pe._x)("Content…","content placeholder")}]],lc=e=>Math.max(15,Math.min(e,85));function ic(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 sc=function({attributes:e,isSelected:t,setAttributes:n}){const{focalPoint:o,href:r,imageFill:a,isStackedOnMobile:c,linkClass:l,linkDestination:i,linkTarget:s,mediaAlt:u,mediaId:d,mediaPosition:m,mediaType:b,mediaUrl:p,mediaWidth:g,rel:h,verticalAlignment:v}=e,O=e.mediaSizeSlug||"full",j=Object(Le.useSelect)(e=>d&&t?e(ue.store).getMedia(d):null,[t,d]),f=Object(ge.useRef)(),y=e=>{const{style:t}=f.current.resizable,{x:n,y:o}=e;t.backgroundPosition=`${100*n}% ${100*o}%`},[w,_]=Object(ge.useState)(null),k=function({attributes:{linkDestination:e,href:t},setAttributes:n}){return o=>{let r,a;var c,l,i,s,u;(r=o.media_type?"image"===o.media_type?"image":"video":o.type,"image"===r)&&(a=(null===(c=o.sizes)||void 0===c||null===(l=c.large)||void 0===l?void 0:l.url)||(null===(i=o.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 d=t;"media"===e&&(d=o.url),"attachment"===e&&(d=o.link),n({mediaAlt:o.alt,mediaId:o.id,mediaType:r,mediaUrl:a||o.url,mediaLink:o.link||void 0,href:d,focalPoint:void 0})}}({attributes:e,setAttributes:n}),E=e=>{n({mediaWidth:lc(e)}),_(lc(e))},C=je()({"has-media-on-the-right":"right"===m,"is-selected":t,"is-stacked-on-mobile":c,["is-vertically-aligned-"+v]:v,"is-image-fill":a}),x=(w||g)+"%",S="right"===m?"1fr "+x:x+" 1fr",B={gridTemplateColumns:S,msGridColumns:S},T=Object(Le.useSelect)(e=>{const t=e(de.store).getSettings();return null==t?void 0:t.imageSizes}),z=Object(be.map)(Object(be.filter)(T,({slug:e})=>ic(j,e)),({name:e,slug:t})=>({value:t,label:e})),P=Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Media & Text settings")},Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Stack on mobile"),checked:c,onChange:()=>n({isStackedOnMobile:!c})}),"image"===b&&Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Crop image to fill entire column"),checked:a,onChange:()=>n({imageFill:!a})}),a&&p&&"image"===b&&Object(ge.createElement)(Ee.FocalPointPicker,{label:Object(pe.__)("Focal point picker"),url:p,value:o,onChange:e=>n({focalPoint:e}),onDragStart:y,onDrag:y}),"image"===b&&Object(ge.createElement)(Ee.TextareaControl,{label:Object(pe.__)("Alt text (alternative text)"),value:u,onChange:e=>{n({mediaAlt:e})},help:Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(Ee.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},Object(pe.__)("Describe the purpose of the image")),Object(pe.__)("Leave empty if the image is purely decorative."))}),"image"===b&&Object(ge.createElement)(de.__experimentalImageSizeControl,{onChangeImage:e=>{const t=ic(j,e);if(!t)return null;n({mediaUrl:t,mediaSizeSlug:e})},slug:O,imageSizeOptions:z,isResizable:!1}),p&&Object(ge.createElement)(Ee.RangeControl,{label:Object(pe.__)("Media width"),value:w||g,onChange:E,min:15,max:85})),M=Object(de.useBlockProps)({className:C,style:B}),N=Object(de.__experimentalUseInnerBlocksProps)({className:"wp-block-media-text__content"},{template:cc});return Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.InspectorControls,null,P),Object(ge.createElement)(de.BlockControls,{group:"block"},Object(ge.createElement)(de.BlockVerticalAlignmentControl,{onChange:e=>{n({verticalAlignment:e})},value:v}),Object(ge.createElement)(Ee.ToolbarButton,{icon:rc,title:Object(pe.__)("Show media on left"),isActive:"left"===m,onClick:()=>n({mediaPosition:"left"})}),Object(ge.createElement)(Ee.ToolbarButton,{icon:ac,title:Object(pe.__)("Show media on right"),isActive:"right"===m,onClick:()=>n({mediaPosition:"right"})}),"image"===b&&Object(ge.createElement)(de.__experimentalImageURLInputUI,{url:r||"",onChangeUrl:e=>{n(e)},linkDestination:i,mediaType:b,mediaUrl:j&&j.source_url,mediaLink:j&&j.link,linkTarget:s,linkClass:l,rel:h})),Object(ge.createElement)("div",M,Object(ge.createElement)(ec,{className:"wp-block-media-text__media",onSelectMedia:k,onWidthChange:e=>{_(lc(e))},commitWidthChange:E,ref:f,focalPoint:o,imageFill:a,isSelected:t,isStackedOnMobile:c,mediaAlt:u,mediaId:d,mediaPosition:m,mediaType:b,mediaUrl:p,mediaWidth:g}),Object(ge.createElement)("div",N)))};var uc={from:[{type:"block",blocks:["core/image"],transform:({alt:e,url:t,id:n,anchor:o})=>Object(me.createBlock)("core/media-text",{mediaAlt:e,mediaId:n,mediaUrl:t,mediaType:"image",anchor:o})},{type:"block",blocks:["core/video"],transform:({src:e,id:t,anchor:n})=>Object(me.createBlock)("core/media-text",{mediaId:t,mediaUrl:e,mediaType:"video",anchor:n})}],to:[{type:"block",blocks:["core/image"],isMatch:({mediaType:e,mediaUrl:t})=>!t||"image"===e,transform:({mediaAlt:e,mediaId:t,mediaUrl:n,anchor:o})=>Object(me.createBlock)("core/image",{alt:e,id:t,url:n,anchor:o})},{type:"block",blocks:["core/video"],isMatch:({mediaType:e,mediaUrl:t})=>!t||"video"===e,transform:({mediaId:e,mediaUrl:t,anchor:n})=>Object(me.createBlock)("core/video",{id:e,src:t,anchor:n})}]};const dc={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:mc}=dc,bc={icon:$a,example:{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(pe.__)("The wren<br>Earns his living<br>Noiselessly.")}},{name:"core/paragraph",attributes:{content:Object(pe.__)("— Kobayashi Issa (一茶)")}}]},transforms:uc,edit:sc,save:function({attributes:e}){const{isStackedOnMobile:t,mediaAlt:n,mediaPosition:o,mediaType:r,mediaUrl:a,mediaWidth:c,mediaId:l,verticalAlignment:i,imageFill:s,focalPoint:u,linkClass:d,href:m,linkTarget:b,rel:p}=e,g=e.mediaSizeSlug||"full",h=Object(be.isEmpty)(p)?void 0:p,v=je()({["wp-image-"+l]:l&&"image"===r,["size-"+g]:l&&"image"===r});let O=Object(ge.createElement)("img",{src:a,alt:n,className:v||null});m&&(O=Object(ge.createElement)("a",{className:d,href:m,target:b,rel:h},O));const j={image:()=>O,video:()=>Object(ge.createElement)("video",{controls:!0,src:a})},f=je()({"has-media-on-the-right":"right"===o,"is-stacked-on-mobile":t,["is-vertically-aligned-"+i]:i,"is-image-fill":s}),y=s?Ja(a,u):{};let w;50!==c&&(w="right"===o?`auto ${c}%`:c+"% auto");const _={gridTemplateColumns:w};return Object(ge.createElement)("div",de.useBlockProps.save({className:f,style:_}),Object(ge.createElement)("figure",{className:"wp-block-media-text__media",style:y},(j[r]||be.noop)()),Object(ge.createElement)("div",{className:"wp-block-media-text__content"},Object(ge.createElement)(de.InnerBlocks.Content,null)))},deprecated:oc};var pc=Object(ge.createElement)(he.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(he.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 gc={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:hc}=gc,vc={icon:pc,example:{},edit:function({attributes:e,setAttributes:t}){const{commentsToShow:n,displayAvatar:o,displayDate:r,displayExcerpt:a}=e;return Object(ge.createElement)("div",Object(de.useBlockProps)(),Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Latest comments settings")},Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Display avatar"),checked:o,onChange:()=>t({displayAvatar:!o})}),Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Display date"),checked:r,onChange:()=>t({displayDate:!r})}),Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Display excerpt"),checked:a,onChange:()=>t({displayExcerpt:!a})}),Object(ge.createElement)(Ee.RangeControl,{label:Object(pe.__)("Number of comments"),value:n,onChange:e=>t({commentsToShow:e}),min:1,max:100,required:!0}))),Object(ge.createElement)(Ee.Disabled,null,Object(ge.createElement)(Kn.a,{block:"core/latest-comments",attributes:e})))}};var Oc=Object(ge.createElement)(he.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(he.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:jc}={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 fc=[{attributes:{...jc,categories:{type:"string"}},supports:{align:!0,html:!1},migrate:e=>({...e,categories:[{id:Number(e.categories)}]}),isEligible:({categories:e})=>e&&"string"==typeof e,save:()=>null}],yc=n("FqII");var wc=Object(ge.createElement)(he.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(he.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"})),_c=n("b2RC");const kc={per_page:-1},Ec={per_page:-1};const Cc={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:xc}=Cc,Sc={icon:Oc,example:{},edit:function({attributes:e,setAttributes:t}){const{postsToShow:n,order:o,orderBy:r,categories:a,selectedAuthor:c,displayFeaturedImage:l,displayPostContentRadio:i,displayPostContent:s,displayPostDate:u,displayAuthor:d,postLayout:m,columns:b,excerptLength:p,featuredImageAlign:g,featuredImageSizeSlug:h,featuredImageSizeWidth:v,featuredImageSizeHeight:O,addLinkToFeaturedImage:j}=e,{imageSizeOptions:f,latestPosts:y,defaultImageWidth:w,defaultImageHeight:_}=Object(Le.useSelect)(e=>{const{getEntityRecords:t,getMedia:l}=e(ue.store),{getSettings:i}=e(de.store),{imageSizes:s,imageDimensions:u}=i(),d=a&&a.length>0?a.map(e=>e.id):[],m=t("postType","post",Object(be.pickBy)({categories:d,author:c,order:o,orderby:r,per_page:n},e=>!Object(be.isUndefined)(e)));return{defaultImageWidth:Object(be.get)(u,[h,"width"],0),defaultImageHeight:Object(be.get)(u,[h,"height"],0),imageSizeOptions:s.filter(({slug:e})=>"full"!==e).map(({name:e,slug:t})=>({value:t,label:e})),latestPosts:Array.isArray(m)?m.map(e=>{if(!e.featured_media)return e;const t=l(e.featured_media);let n=Object(be.get)(t,["media_details","sizes",h,"source_url"],null);n||(n=Object(be.get)(t,"source_url",null));const o={url:n,alt:null==t?void 0:t.alt_text};return{...e,featuredImageInfo:o}}):m}},[h,n,o,r,a,c]),[k,E]=Object(ge.useState)([]),[C,x]=Object(ge.useState)([]),S=k.reduce((e,t)=>({...e,[t.name]:t}),{}),B=Object(ge.useRef)();Object(ge.useEffect)(()=>(B.current=!0,Et()({path:Object(Ae.addQueryArgs)("/wp/v2/categories",kc)}).then(e=>{B.current&&E(e)}).catch(()=>{B.current&&E([])}),Et()({path:Object(Ae.addQueryArgs)("/wp/v2/users",Ec)}).then(e=>{B.current&&x(e)}).catch(()=>{B.current&&x([])}),()=>{B.current=!1}),[]);const T=!(null==y||!y.length),z=Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Post content settings")},Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Post content"),checked:s,onChange:e=>t({displayPostContent:e})}),s&&Object(ge.createElement)(Ee.RadioControl,{label:Object(pe.__)("Show:"),selected:i,options:[{label:Object(pe.__)("Excerpt"),value:"excerpt"},{label:Object(pe.__)("Full post"),value:"full_post"}],onChange:e=>t({displayPostContentRadio:e})}),s&&"excerpt"===i&&Object(ge.createElement)(Ee.RangeControl,{label:Object(pe.__)("Max number of words in excerpt"),value:p,onChange:e=>t({excerptLength:e}),min:10,max:100})),Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Post meta settings")},Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Display author name"),checked:d,onChange:e=>t({displayAuthor:e})}),Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Display post date"),checked:u,onChange:e=>t({displayPostDate:e})})),Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Featured image settings")},Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Display featured image"),checked:l,onChange:e=>t({displayFeaturedImage:e})}),l&&Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.__experimentalImageSizeControl,{onChange:e=>{const n={};e.hasOwnProperty("width")&&(n.featuredImageSizeWidth=e.width),e.hasOwnProperty("height")&&(n.featuredImageSizeHeight=e.height),t(n)},slug:h,width:v,height:O,imageWidth:w,imageHeight:_,imageSizeOptions:f,onChangeImage:e=>t({featuredImageSizeSlug:e,featuredImageSizeWidth:void 0,featuredImageSizeHeight:void 0})}),Object(ge.createElement)(Ee.BaseControl,{className:"block-editor-image-alignment-control__row"},Object(ge.createElement)(Ee.BaseControl.VisualLabel,null,Object(pe.__)("Image alignment")),Object(ge.createElement)(de.BlockAlignmentToolbar,{value:g,onChange:e=>t({featuredImageAlign:e}),controls:["left","center","right"],isCollapsed:!1})),Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Add link to featured image"),checked:j,onChange:e=>t({addLinkToFeaturedImage:e})}))),Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Sorting and filtering")},Object(ge.createElement)(Ee.QueryControls,{order:o,orderBy:r,numberOfItems:n,onOrderChange:e=>t({order:e}),onOrderByChange:e=>t({orderBy:e}),onNumberOfItemsChange:e=>t({postsToShow:e}),categorySuggestions:S,onCategoryChange:e=>{if(e.some(e=>"string"==typeof e&&!S[e]))return;const n=e.map(e=>"string"==typeof e?S[e]:e);if(Object(be.includes)(n,null))return!1;t({categories:n})},selectedCategories:a,onAuthorChange:e=>t({selectedAuthor:""!==e?Number(e):void 0}),authorList:C,selectedAuthorId:c}),"grid"===m&&Object(ge.createElement)(Ee.RangeControl,{label:Object(pe.__)("Columns"),value:b,onChange:e=>t({columns:e}),min:2,max:T?Math.min(6,y.length):6,required:!0}))),P=Object(de.useBlockProps)({className:je()({"wp-block-latest-posts__list":!0,"is-grid":"grid"===m,"has-dates":u,"has-author":d,["columns-"+b]:"grid"===m})});if(!T)return Object(ge.createElement)("div",P,z,Object(ge.createElement)(Ee.Placeholder,{icon:Uo,label:Object(pe.__)("Latest Posts")},Array.isArray(y)?Object(pe.__)("No posts found."):Object(ge.createElement)(Ee.Spinner,null)));const M=y.length>n?y.slice(0,n):y,N=[{icon:wc,title:Object(pe.__)("List view"),onClick:()=>t({postLayout:"list"}),isActive:"list"===m},{icon:_c.a,title:Object(pe.__)("Grid view"),onClick:()=>t({postLayout:"grid"}),isActive:"grid"===m}],R=Object(yc.__experimentalGetSettings)().formats.date;return Object(ge.createElement)("div",null,z,Object(ge.createElement)(de.BlockControls,null,Object(ge.createElement)(Ee.ToolbarGroup,{controls:N})),Object(ge.createElement)("ul",P,M.map((e,t)=>{const n=Object(be.invoke)(e,["title","rendered","trim"]);let o=e.excerpt.rendered;const r=C.find(t=>t.id===e.author),a=document.createElement("div");a.innerHTML=o,o=a.textContent||a.innerText||"";const{featuredImageInfo:{url:c,alt:m}={}}=e,b=je()({"wp-block-latest-posts__featured-image":!0,["align"+g]:!!g}),h=l&&c,f=h&&Object(ge.createElement)("img",{src:c,alt:m,style:{maxWidth:v,maxHeight:O}}),y=p<o.trim().split(" ").length&&""===e.excerpt.raw?Object(ge.createElement)(ge.Fragment,null,o.trim().split(" ",p).join(" "),Object(pe.__)(" … "),Object(ge.createElement)("a",{href:e.link,rel:"noopener noreferrer"},Object(pe.__)("Read more"))):o;return Object(ge.createElement)("li",{key:t},h&&Object(ge.createElement)("div",{className:b},j?Object(ge.createElement)("a",{href:e.link,rel:"noreferrer noopener"},f):f),Object(ge.createElement)("a",{href:e.link,rel:"noreferrer noopener"},n?Object(ge.createElement)(ge.RawHTML,null,n):Object(pe.__)("(no title)")),d&&r&&Object(ge.createElement)("div",{className:"wp-block-latest-posts__post-author"},Object(pe.sprintf)(Object(pe.__)("by %s"),r.name)),u&&e.date_gmt&&Object(ge.createElement)("time",{dateTime:Object(yc.format)("c",e.date_gmt),className:"wp-block-latest-posts__post-date"},Object(yc.dateI18n)(R,e.date_gmt)),s&&"excerpt"===i&&Object(ge.createElement)("div",{className:"wp-block-latest-posts__post-excerpt"},y),s&&"full_post"===i&&Object(ge.createElement)("div",{className:"wp-block-latest-posts__post-full-content"},Object(ge.createElement)(ge.RawHTML,{key:"html"},e.content.raw.trim())))})))},deprecated:fc};var Bc=Object(ge.createElement)(he.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(he.Path,{d:"M7 11h2v2H7v-2zm14-5v14l-2 2H5l-2-2V6l2-2h1V2h2v2h8V2h2v2h1l2 2zM5 8h14V6H5v2zm14 12V10H5v10h14zm-4-7h2v-2h-2v2zm-4 0h2v-2h-2v2z"}));var Tc=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.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"}));var zc=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(ge.createElement)(he.Path,{d:"M10.2 3.28c3.53 0 6.43 2.61 6.92 6h2.08l-3.5 4-3.5-4h2.32c-.45-1.97-2.21-3.45-4.32-3.45-1.45 0-2.73.71-3.54 1.78L4.95 5.66C6.23 4.2 8.11 3.28 10.2 3.28zm-.4 13.44c-3.52 0-6.43-2.61-6.92-6H.8l3.5-4c1.17 1.33 2.33 2.67 3.5 4H5.48c.45 1.97 2.21 3.45 4.32 3.45 1.45 0 2.73-.71 3.54-1.78l1.71 1.95c-1.28 1.46-3.15 2.38-5.25 2.38z"}));function Pc({selectedId:e,onSelect:t}){const n=Object(Le.useSelect)(e=>{var t,n,o;const r=null!==(t=null===(n=e(de.store).getSettings())||void 0===n?void 0:n.widgetTypesToHideFromLegacyWidgetBlock)&&void 0!==t?t:[];return null===(o=e(ue.store).getWidgetTypes({per_page:-1}))||void 0===o?void 0:o.filter(e=>!r.includes(e.id))},[]);return n?0===n.length?Object(pe.__)("There are no widgets available."):Object(ge.createElement)(Ee.SelectControl,{label:Object(pe.__)("Select a legacy widget to display:"),value:null!=e?e:"",options:[{value:"",label:Object(pe.__)("Select widget")},...n.map(e=>({value:e.id,label:e.name}))],onChange:e=>{if(e){const o=n.find(t=>t.id===e);t({selectedId:o.id,isMulti:o.is_multi})}else t({selectedId:null})}}):Object(ge.createElement)(Ee.Spinner,null)}function Mc({name:e,description:t}){return Object(ge.createElement)("div",{className:"wp-block-legacy-widget-inspector-card"},Object(ge.createElement)("h3",{className:"wp-block-legacy-widget-inspector-card__name"},e),Object(ge.createElement)("span",null,t))}class Nc{constructor({id:e,idBase:t,instance:n,onChangeInstance:o,onChangeHasPreview:r,onError:a}){this.id=e,this.idBase=t,this._instance=n,this._hasPreview=null,this.onChangeInstance=o,this.onChangeHasPreview=r,this.onError=a,this.number=++Rc,this.handleFormChange=Object(be.debounce)(this.saveForm.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=Vc("div",{class:"widget open"},[Vc("div",{class:"widget-inside"},[this.form=Vc("form",{class:"form",method:"post"},[Vc("input",{class:"widget-id",type:"hidden",name:"widget-id",value:null!==(e=this.id)&&void 0!==e?e:`${this.idBase}-${this.number}`}),Vc("input",{class:"id_base",type:"hidden",name:"id_base",value:null!==(t=this.idBase)&&void 0!==t?t:this.id}),Vc("input",{class:"widget-width",type:"hidden",name:"widget-width",value:"250"}),Vc("input",{class:"widget-height",type:"hidden",name:"widget-height",value:"200"}),Vc("input",{class:"widget_number",type:"hidden",name:"widget_number",value:this.idBase?this.number.toString():""}),this.content=Vc("div",{class:"widget-content"}),this.id&&Vc("button",{class:"button is-primary",type:"submit"},Object(pe.__)("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 Hc(this.id);this.content.innerHTML=e}else if(this.idBase){const{form:e,preview:t}=await Lc({idBase:this.idBase,instance:this.instance,number:this.number});if(this.content.innerHTML=e,this.hasPreview=!Ic(t),!this.instance.hash){const{instance:e}=await Lc({idBase:this.idBase,instance:this.instance,number:this.number,formData:Ac(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)}}handleFormSubmit(e){e.preventDefault(),this.saveForm()}async saveForm(){const e=Ac(this.form);try{if(this.id){const{form:t}=await Hc(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 Lc({idBase:this.idBase,instance:this.instance,number:this.number,formData:e});this.instance=t,this.hasPreview=!Ic(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 Rc=0;function Vc(e,t={},n=null){const o=document.createElement(e);for(const[e,n]of Object.entries(t))o.setAttribute(e,n);if(Array.isArray(n))for(const e of n)e&&o.appendChild(e);else"string"==typeof n&&(o.innerText=n);return o}async function Hc(e,t=null){let n;return n=t?await Et()({path:`/wp/v2/widgets/${e}?context=edit`,method:"PUT",data:{form_data:t}}):await Et()({path:`/wp/v2/widgets/${e}?context=edit`,method:"GET"}),{form:n.rendered_form}}async function Lc({idBase:e,instance:t,number:n,formData:o=null}){const r=await Et()({path:`/wp/v2/widget-types/${e}/encode`,method:"POST",data:{instance:t,number:n,form_data:o}});return{instance:r.instance,form:r.form,preview:r.preview}}function Ic(e){const t=document.createElement("div");return t.innerHTML=e,""===t.innerText.trim()}function Ac(e){return new window.URLSearchParams(Array.from(new window.FormData(e))).toString()}function Dc({title:e,isVisible:t,id:n,idBase:o,instance:r,onChangeInstance:a,onChangeHasPreview:c}){const l=Object(ge.useRef)(),i=Object(ge.useRef)(new Set),s=Object(ge.useRef)(new Set),{createNotice:u}=Object(Le.useDispatch)(qe.store);return Object(ge.useEffect)(()=>{if(s.current.has(r))return void s.current.delete(r);const e=new Nc({id:n,idBase:o,instance:r,onChangeInstance(e){i.current.add(r),s.current.add(e),a(e)},onChangeHasPreview:c,onError(e){var t;u("error",null!==(t=null==e?void 0:e.message)&&void 0!==t?t:Object(pe.__)("An error occured while fetching or updating the widget."))}});return l.current.appendChild(e.element),()=>{i.current.has(r)?i.current.delete(r):e.destroy()}},[n,o,r,a,c]),Object(ge.createElement)("div",{ref:l,className:"wp-block-legacy-widget__edit-form",hidden:!t},Object(ge.createElement)("h3",{className:"wp-block-legacy-widget__edit-form-title"},e))}function Fc({idBase:e,instance:t,isVisible:n}){const[o,r]=Object(ge.useState)(),a=Object(Ie.useRefEffect)(e=>{function t(){var t,n;const o=null==e||null===(t=e.contentDocument)||void 0===t||null===(n=t.body)||void 0===n?void 0:n.getBoundingClientRect();o&&r(o.top+o.height)}const{IntersectionObserver:n}=e.ownerDocument.defaultView;return new n(t,{threshold:1}).observe(e),e.addEventListener("load",t),()=>{e.removeEventListener("load",t)}},[]);return Object(ge.createElement)(ge.Fragment,null,n&&null===o&&Object(ge.createElement)(Ee.Placeholder,null,Object(ge.createElement)(Ee.Spinner,null)),Object(ge.createElement)("div",{className:je()("wp-block-legacy-widget__edit-preview",{"is-offscreen":!n||null===o})},Object(ge.createElement)(Ee.Disabled,null,Object(ge.createElement)("iframe",{ref:a,className:"wp-block-legacy-widget__edit-preview-iframe",title:Object(pe.__)("Legacy Widget Preview"),src:Object(Ae.addQueryArgs)("themes.php",{page:"gutenberg-widgets","legacy-widget-preview":{idBase:e,instance:t}}),height:o||100}))))}function Gc({name:e}){return Object(ge.createElement)("div",{className:"wp-block-legacy-widget__edit-no-preview"},e&&Object(ge.createElement)("h3",null,e),Object(ge.createElement)("p",null,Object(pe.__)("No preview available.")))}function qc({clientId:e,rawInstance:t}){const{replaceBlocks:n}=Object(Le.useDispatch)(de.store);return Object(ge.createElement)(Ee.ToolbarButton,{onClick:()=>{t.title?n(e,[Object(me.createBlock)("core/heading",{content:t.title}),...Object(me.rawHandler)({HTML:t.text})]):n(e,Object(me.rawHandler)({HTML:t.text}))}},Object(pe.__)("Convert to blocks"))}function Uc({attributes:{id:e,idBase:t},setAttributes:n}){return Object(ge.createElement)(Ee.Placeholder,{icon:Object(ge.createElement)(de.BlockIcon,{icon:Tc}),label:Object(pe.__)("Legacy Widget")},Object(ge.createElement)(Pc,{selectedId:null!=e?e:t,onSelect:({selectedId:e,isMulti:t})=>{n(e?t?{id:null,idBase:e,instance:{}}:{id:e,idBase:null,instance:null}:{id:null,idBase:null,instance:null})}}))}function Wc({attributes:{id:e,idBase:t,instance:n},setAttributes:o,clientId:r,isSelected:a}){const[c,l]=Object(ge.useState)(null),{widgetType:i,hasResolvedWidgetType:s,isWidgetTypeHidden:u,isNavigationMode:d}=Object(Le.useSelect)(n=>{var o,r;const a=null!=e?e:t,c=null!==(o=null===(r=n(de.store).getSettings())||void 0===r?void 0:r.widgetTypesToHideFromLegacyWidgetBlock)&&void 0!==o?o:[];return{widgetType:n(ue.store).getWidgetType(a),hasResolvedWidgetType:n(ue.store).hasFinishedResolution("getWidgetType",[a]),isWidgetTypeHidden:c.includes(a),isNavigationMode:n(de.store).isNavigationMode()}},[e,t]),m=Object(ge.useCallback)(e=>{o({instance:e})},[]);if(!i&&s)return Object(ge.createElement)(Ee.Placeholder,{icon:Object(ge.createElement)(de.BlockIcon,{icon:Tc}),label:Object(pe.__)("Legacy Widget")},Object(pe.__)("Widget is missing."));if(!s)return Object(ge.createElement)(Ee.Placeholder,null,Object(ge.createElement)(Ee.Spinner,null));const b=d||!a?"preview":"edit";return Object(ge.createElement)(ge.Fragment,null,!u&&Object(ge.createElement)(de.BlockControls,{group:"block"},Object(ge.createElement)(Ee.ToolbarButton,{label:Object(pe.__)("Change widget"),icon:zc,onClick:()=>o({id:null,idBase:null,instance:null})})),"text"===t&&Object(ge.createElement)(de.BlockControls,{group:"other"},Object(ge.createElement)(qc,{clientId:r,rawInstance:n.raw})),Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(Mc,{name:i.name,description:i.description})),Object(ge.createElement)(Dc,{title:i.name,isVisible:"edit"===b,id:e,idBase:t,instance:n,onChangeInstance:m,onChangeHasPreview:l}),t&&Object(ge.createElement)(ge.Fragment,null,null===c&&"preview"===b&&Object(ge.createElement)(Ee.Placeholder,null,Object(ge.createElement)(Ee.Spinner,null)),!0===c&&Object(ge.createElement)(Fc,{idBase:t,instance:n,isVisible:"preview"===b}),!1===c&&"preview"===b&&Object(ge.createElement)(Gc,{name:i.name})))}var $c={to:[{block:"core/calendar",widget:"calendar"},{block:"core/search",widget:"search"},{block:"core/html",widget:"html",transform:({content:e})=>({content:e})},{block:"core/archives",widget:"archives",transform:({count:e,dropdown:t})=>({displayAsDropdown:!!t,showPostCounts:!!e})},{block:"core/latest-posts",widget:"recent-posts",transform:({show_date:e,number:t})=>({displayPostDate:!!e,postsToShow:t})},{block:"core/latest-comments",widget:"recent-comments",transform:({number:e})=>({commentsToShow:e})},{block:"core/tag-cloud",widget:"tag_cloud",transform:({taxonomy:e,count:t})=>({showTagCounts:!!t,taxonomy:e})},{block:"core/categories",widget:"categories",transform:({count:e,dropdown:t,hierarchical:n})=>({displayAsDropdown:!!t,showPostCounts:!!e,showHierarchy:!!n})},{block:"core/audio",widget:"media_audio",transform:({url:e,preload:t,loop:n,attachment_id:o})=>({src:e,id:o,preload:t,loop:n})},{block:"core/video",widget:"media_video",transform:({url:e,preload:t,loop:n,attachment_id:o})=>({src:e,id:o,preload:t,loop:n})},{block:"core/image",widget:"media_image",transform:({alt:e,attachment_id:t,caption:n,height:o,link_classes:r,link_rel:a,link_target_blank:c,link_type:l,link_url:i,size:s,url:u,width:d})=>({alt:e,caption:n,height:o,id:t,link:i,linkClass:r,linkDestination:l,linkTarget:c?"_blank":void 0,rel:a,sizeSlug:s,url:u,width:d})},{block:"core/gallery",widget:"media_gallery",transform:({ids:e,link_type:t,size:n,number:o})=>({ids:e,columns:o,linkTo:t,sizeSlug:n,images:e.map(e=>({id:e}))})},{block:"core/rss",widget:"rss",transform:({url:e,show_author:t,show_date:n,show_summary:o,items:r})=>({feedURL:e,displayAuthor:!!t,displayDate:!!n,displayExcerpt:!!o,itemsToShow:r})}].map(({block:e,widget:t,transform:n})=>({type:"block",blocks:[e],isMatch:({idBase:e,instance:n})=>e===t&&!(null==n||!n.raw),transform:({instance:t})=>{var o;const r=Object(me.createBlock)(e,n?n(t.raw):void 0);return null!==(o=t.raw)&&void 0!==o&&o.title?[Object(me.createBlock)("core/heading",{content:t.raw.title}),r]:r}}))};const Zc={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:Qc}=Zc,Jc={icon:Bc,edit:function(e){const{id:t,idBase:n}=e.attributes;return Object(ge.createElement)("div",Object(de.useBlockProps)(),t||n?Object(ge.createElement)(Wc,e):Object(ge.createElement)(Uc,e))},transforms:$c};var Yc=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.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 Kc={apiVersion:2,name:"core/loginout",title:"Login/out",category:"design",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,fontSize:!1}},{name:Xc}=Kc,el={icon:Yc,edit:function({attributes:e,setAttributes:t}){const{displayLoginAsForm:n,redirectToCurrent:o}=e;return Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Login/out settings")},Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Display login as form"),checked:n,onChange:()=>t({displayLoginAsForm:!n})}),Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Redirect to current URL"),checked:o,onChange:()=>t({redirectToCurrent:!o})}))),Object(ge.createElement)("div",Object(de.useBlockProps)({className:"logged-in"}),Object(ge.createElement)("a",{href:"#login-pseudo-link"},Object(pe.__)("Log out"))))}};var tl=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.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 cl=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.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 ll=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.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=({setAttributes:e,reversed:t,start:n})=>Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Ordered list settings")},Object(ge.createElement)(Ee.TextControl,{label:Object(pe.__)("Start value"),type:"number",onChange:t=>{const n=parseInt(t,10);e({start:isNaN(n)?void 0:n})},value:Number.isInteger(n)?n.toString(10):"",step:"1"}),Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Reverse list numbering"),checked:t||!1,onChange:t=>{e({reversed:t||void 0})}})));function ul({phrasingContentSchema:e}){const t={...e,ul:{},ol:{attributes:["type","start","reversed"]}};return["ul","ol"].forEach(e=>{t[e].children={li:{children:t}}}),t}var dl={from:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph","core/heading"],transform:e=>Object(me.createBlock)("core/list",{values:Object(yn.toHTMLString)({value:Object(yn.join)(e.map(({content:t})=>{const n=Object(yn.create)({html:t});return e.length>1?n:Object(yn.replace)(n,/\n/g,yn.__UNSTABLE_LINE_SEPARATOR)}),yn.__UNSTABLE_LINE_SEPARATOR),multilineTag:"li"}),anchor:e.anchor})},{type:"block",blocks:["core/quote","core/pullquote"],transform:({value:e,anchor:t})=>Object(me.createBlock)("core/list",{values:Object(yn.toHTMLString)({value:Object(yn.create)({html:e,multilineTag:"p"}),multilineTag:"li"}),anchor:t})},{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(me.createBlock)("core/list",{...Object(me.getBlockAttributes)("core/list",e.outerHTML),...t})}},...["*","-"].map(e=>({type:"prefix",prefix:e,transform:e=>Object(me.createBlock)("core/list",{values:`<li>${e}</li>`})})),...["1.","1)"].map(e=>({type:"prefix",prefix:e,transform:e=>Object(me.createBlock)("core/list",{ordered:!0,values:`<li>${e}</li>`})}))],to:[{type:"block",blocks:["core/paragraph"],transform:({values:e})=>Object(yn.split)(Object(yn.create)({html:e,multilineTag:"li",multilineWrapperTags:["ul","ol"]}),yn.__UNSTABLE_LINE_SEPARATOR).map(e=>Object(me.createBlock)("core/paragraph",{content:Object(yn.toHTMLString)({value:e})}))},{type:"block",blocks:["core/heading"],transform:({values:e})=>Object(yn.split)(Object(yn.create)({html:e,multilineTag:"li",multilineWrapperTags:["ul","ol"]}),yn.__UNSTABLE_LINE_SEPARATOR).map(e=>Object(me.createBlock)("core/heading",{content:Object(yn.toHTMLString)({value:e})}))},{type:"block",blocks:["core/quote"],transform:({values:e,anchor:t})=>Object(me.createBlock)("core/quote",{value:Object(yn.toHTMLString)({value:Object(yn.create)({html:e,multilineTag:"li",multilineWrapperTags:["ul","ol"]}),multilineTag:"p"}),anchor:t})},{type:"block",blocks:["core/pullquote"],transform:({values:e,anchor:t})=>Object(me.createBlock)("core/pullquote",{value:Object(yn.toHTMLString)({value:Object(yn.create)({html:e,multilineTag:"li",multilineWrapperTags:["ul","ol"]}),multilineTag:"p"}),anchor:t})}]};const ml={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,fontSize:!0,color:{gradients:!0},__unstablePasteTextInline:!0,__experimentalSelector:"ol,ul"},editorStyle:"wp-block-list-editor",style:"wp-block-list"},{name:bl}=ml,pl={icon:wc,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:dl,merge(e,t){const{values:n}=t;return n&&"<li></li>"!==n?{...e,values:e.values+n}:e},edit:function({attributes:e,setAttributes:t,mergeBlocks:n,onReplace:o}){const{ordered:r,values:a,type:c,reversed:l,start:i,placeholder:s}=e,u=r?"ol":"ul",d=Object(de.useBlockProps)();return Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.RichText,Object(ke.a)({identifier:"values",multiline:"li",tagName:u,onChange:e=>t({values:e}),value:a,"aria-label":Object(pe.__)("List text"),placeholder:s||Object(pe.__)("List"),onMerge:n,onSplit:t=>Object(me.createBlock)(bl,{...e,values:t}),__unstableOnSplitMiddle:()=>Object(me.createBlock)("core/paragraph"),onReplace:o,onRemove:()=>o([]),start:i,reversed:l,type:c},d),({value:e,onChange:n,onFocus:o})=>Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.RichTextShortcut,{type:"primary",character:"[",onUse:()=>{n(Object(yn.__unstableOutdentListItems)(e))}}),Object(ge.createElement)(de.RichTextShortcut,{type:"primary",character:"]",onUse:()=>{n(Object(yn.__unstableIndentListItems)(e,{type:u}))}}),Object(ge.createElement)(de.RichTextShortcut,{type:"primary",character:"m",onUse:()=>{n(Object(yn.__unstableIndentListItems)(e,{type:u}))}}),Object(ge.createElement)(de.RichTextShortcut,{type:"primaryShift",character:"m",onUse:()=>{n(Object(yn.__unstableOutdentListItems)(e))}}),Object(ge.createElement)(de.BlockControls,{group:"block"},Object(ge.createElement)(Ee.ToolbarButton,{icon:Object(pe.isRTL)()?tl:nl,title:Object(pe.__)("Unordered"),describedBy:Object(pe.__)("Convert to unordered list"),isActive:Object(yn.__unstableIsActiveListType)(e,"ul",u),onClick:()=>{n(Object(yn.__unstableChangeListType)(e,{type:"ul"})),o(),Object(yn.__unstableIsListRootSelected)(e)&&t({ordered:!1})}}),Object(ge.createElement)(Ee.ToolbarButton,{icon:Object(pe.isRTL)()?ol:rl,title:Object(pe.__)("Ordered"),describedBy:Object(pe.__)("Convert to ordered list"),isActive:Object(yn.__unstableIsActiveListType)(e,"ol",u),onClick:()=>{n(Object(yn.__unstableChangeListType)(e,{type:"ol"})),o(),Object(yn.__unstableIsListRootSelected)(e)&&t({ordered:!0})}}),Object(ge.createElement)(Ee.ToolbarButton,{icon:Object(pe.isRTL)()?al:cl,title:Object(pe.__)("Outdent"),describedBy:Object(pe.__)("Outdent list item"),shortcut:Object(pe._x)("Backspace","keyboard key"),isDisabled:!Object(yn.__unstableCanOutdentListItems)(e),onClick:()=>{n(Object(yn.__unstableOutdentListItems)(e)),o()}}),Object(ge.createElement)(Ee.ToolbarButton,{icon:Object(pe.isRTL)()?ll:il,title:Object(pe.__)("Indent"),describedBy:Object(pe.__)("Indent list item"),shortcut:Object(pe._x)("Space","keyboard key"),isDisabled:!Object(yn.__unstableCanIndentListItems)(e),onClick:()=>{n(Object(yn.__unstableIndentListItems)(e,{type:u})),o()}})))),r&&Object(ge.createElement)(sl,{setAttributes:t,ordered:r,reversed:l,start:i,placeholder:s}))},save:function({attributes:e}){const{ordered:t,values:n,type:o,reversed:r,start:a}=e,c=t?"ol":"ul";return Object(ge.createElement)(c,de.useBlockProps.save({type:o,reversed:r,start:a}),Object(ge.createElement)(de.RichText.Content,{value:n,multiline:"li"}))}};var gl=Object(Le.withDispatch)((e,{clientId:t,attributes:n})=>{const{replaceBlock:o}=e(de.store);return{convertToHTML(){o(t,Object(me.createBlock)("core/html",{content:n.originalUndelimitedContent}))}}})((function({attributes:e,convertToHTML:t}){const{originalName:n,originalUndelimitedContent:o}=e,r=!!o,a=Object(me.getBlockType)("core/html"),c=[];let l;return r&&a?(l=Object(pe.sprintf)(Object(pe.__)('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.'),n),c.push(Object(ge.createElement)(Ee.Button,{key:"convert",onClick:t,isPrimary:!0},Object(pe.__)("Keep as HTML")))):l=Object(pe.sprintf)(Object(pe.__)('Your site doesn’t include support for the "%s" block. You can leave this block intact or remove it entirely.'),n),Object(ge.createElement)("div",Object(de.useBlockProps)({className:"has-warning"}),Object(ge.createElement)(de.Warning,{actions:c},l),Object(ge.createElement)(ge.RawHTML,null,o))}));const hl={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:vl}=hl,Ol={name:vl,__experimentalLabel(e,{context:t}){if("accessibility"===t){const{originalName:t}=e,n=t?Object(me.getBlockType)(t):void 0;return n?n.settings.title||t:""}},edit:gl,save:function({attributes:e}){return Object(ge.createElement)(ge.RawHTML,null,e.originalContent)}};var jl=Object(ge.createElement)(he.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(he.Path,{d:"M4 9v1.5h16V9H4zm12 5.5h4V13h-4v1.5zm-6 0h4V13h-4v1.5zm-6 0h4V13H4v1.5z"}));const fl=Object(pe.__)("Read more");var yl={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(me.createBlock)("core/more",o)}}]};const wl={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:_l}=wl,kl={icon:jl,example:{},__experimentalLabel(e,{context:t}){if("accessibility"===t)return e.customText},transforms:yl,edit:function({attributes:{customText:e,noTeaser:t},insertBlocksAfter:n,setAttributes:o}){const r={width:(e||fl).length+1.2+"em"};return Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(Ee.PanelBody,null,Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Hide the excerpt on the full content page"),checked:!!t,onChange:()=>o({noTeaser:!t}),help:e=>e?Object(pe.__)("The excerpt is hidden."):Object(pe.__)("The excerpt is visible.")}))),Object(ge.createElement)("div",Object(de.useBlockProps)(),Object(ge.createElement)("div",{className:"wp-block-more"},Object(ge.createElement)("input",{"aria-label":Object(pe.__)("Read more link text"),type:"text",value:e,placeholder:fl,onChange:e=>{o({customText:""!==e.target.value?e.target.value:void 0})},onKeyDown:({keyCode:e})=>{e===an.ENTER&&n([Object(me.createBlock)(Object(me.getDefaultBlockName)())])},style:r}))))},save:function({attributes:{customText:e,noTeaser:t}}){const n=e?`\x3c!--more ${e}--\x3e`:"\x3c!--more--\x3e",o=t?"\x3c!--noteaser--\x3e":"";return Object(ge.createElement)(ge.RawHTML,null,Object(be.compact)([n,o]).join("\n"))}};var El=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.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 Cl={from:[{type:"raw",schema:{"wp-block":{attributes:["data-block"]}},isMatch:e=>e.dataset&&"core/nextpage"===e.dataset.block,transform:()=>Object(me.createBlock)("core/nextpage",{})}]};const xl={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:Sl}=xl,Bl={icon:El,example:{},transforms:Cl,edit:function(){return Object(ge.createElement)("div",Object(de.useBlockProps)(),Object(ge.createElement)("div",{className:"wp-block-nextpage"},Object(ge.createElement)("span",null,Object(pe.__)("Page break"))))},save:function(){return Object(ge.createElement)(ge.RawHTML,null,"\x3c!--nextpage--\x3e")}};var Tl=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.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 zl=["id","title","link","type","parent"],Pl=({pages:e,clientId:t,replaceBlock:n,createBlock:o})=>()=>{if(!e)return;const r={},a=[];e.forEach(({id:e,title:t,link:n,type:c,parent:l})=>{var i,s;const u=null!==(i=null===(s=r[e])||void 0===s?void 0:s.innerBlocks)&&void 0!==i?i:[];if(r[e]=o("core/navigation-link",{id:e,label:t.rendered,url:n,type:c,kind:"post-type"},u),l){r[l]||(r[l]={innerBlocks:[]});r[l].innerBlocks.push(r[e])}else a.push(r[e])}),n(t,a)};function Ml({onClose:e,clientId:t}){const{pages:n,pagesFinished:o}=Object(Le.useSelect)(e=>{const{getEntityRecords:t,hasFinishedResolution:n}=e(ue.store),o=["postType","page",{per_page:100,_fields:zl,orderby:"menu_order",order:"asc"}];return{pages:t(...o),pagesFinished:n("getEntityRecords",o)}},[t]),{replaceBlock:r}=Object(Le.useDispatch)(de.store);return Object(ge.createElement)(Ee.Modal,{closeLabel:Object(pe.__)("Close"),onRequestClose:e,title:Object(pe.__)("Convert to links"),className:"wp-block-page-list-modal",aria:{describedby:"wp-block-page-list-modal__description"}},Object(ge.createElement)("p",{id:"wp-block-page-list-modal__description"},Object(pe.__)("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(ge.createElement)("p",null,Object(pe.__)("Note: if you add new pages to your site, you'll need to add them to your navigation menu.")),Object(ge.createElement)("div",{className:"wp-block-page-list-modal-buttons"},Object(ge.createElement)(Ee.Button,{isTertiary:!0,onClick:e},Object(pe.__)("Cancel")),Object(ge.createElement)(Ee.Button,{isPrimary:!0,disabled:!o,onClick:Pl({pages:n,replaceBlock:r,clientId:t,createBlock:me.createBlock})},Object(pe.__)("Convert"))))}const Nl={apiVersion:2,name:"core/page-list",title:"Page List",category:"widgets",description:"Display a list of all pages.",keywords:["menu","navigation"],textdomain:"default",usesContext:["textColor","customTextColor","backgroundColor","customBackgroundColor","fontSize","customFontSize","showSubmenuIcon","style"],supports:{reusable:!1,html:!1},editorStyle:"wp-block-page-list-editor",style:"wp-block-page-list"},{name:Rl}=Nl,Vl={icon:Tl,example:{},edit:function({context:e,clientId:t}){const{textColor:n,backgroundColor:o,showSubmenuIcon:r,style:a}=e||{},[c,l]=Object(ge.useState)(!1),i=Object(de.useBlockProps)({className:je()({"has-text-color":!!n,[`has-${n}-color`]:!!n,"has-background":!!o,[`has-${o}-background-color`]:!!o,"show-submenu-icons":!!r}),style:{...null==a?void 0:a.color}}),s=Object(Le.useSelect)(e=>{const{getBlockParentsByBlockName:n}=e(de.store);return n(t,"core/navigation").length>0},[t]);Object(ge.useEffect)(()=>{s?Et()({path:Object(Ae.addQueryArgs)("/wp/v2/pages",{per_page:1,_fields:["id"]}),parse:!1}).then(e=>{l(e.headers.get("X-WP-Total")<=100)}):l(!1)},[s]);const[u,d]=Object(ge.useState)(!1);return Object(ge.createElement)(ge.Fragment,null,c&&Object(ge.createElement)(de.BlockControls,{group:"other"},Object(ge.createElement)(Ee.ToolbarButton,{title:Object(pe.__)("Edit"),onClick:()=>d(!0)},Object(pe.__)("Edit"))),c&&u&&Object(ge.createElement)(Ml,{onClose:()=>d(!1),clientId:t}),Object(ge.createElement)("div",i,Object(ge.createElement)(Kn.a,{block:"core/page-list"})))}};var Hl=Object(ge.createElement)(he.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(he.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 Ll={from:[{type:"block",blocks:["core/code","core/paragraph"],transform:({content:e,anchor:t})=>Object(me.createBlock)("core/preformatted",{content:e,anchor:t})},{type:"raw",isMatch:e=>"PRE"===e.nodeName&&!(1===e.children.length&&"CODE"===e.firstChild.nodeName),schema:({phrasingContentSchema:e})=>({pre:{children:e}})}],to:[{type:"block",blocks:["core/paragraph"],transform:e=>Object(me.createBlock)("core/paragraph",e)},{type:"block",blocks:["core/code"],transform:e=>Object(me.createBlock)("core/code",e)}]};const Il={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},fontSize:!0},style:"wp-block-preformatted"},{name:Al}=Il,Dl={icon:Hl,example:{attributes:{content:Object(pe.__)("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:Ll,edit:function({attributes:e,mergeBlocks:t,setAttributes:n,onRemove:o}){const{content:r}=e,a=Object(de.useBlockProps)();return Object(ge.createElement)(de.RichText,Object(ke.a)({tagName:"pre",identifier:"content",preserveWhiteSpace:!0,value:r,onChange:e=>{n({content:e})},onRemove:o,"aria-label":Object(pe.__)("Preformatted text"),placeholder:Object(pe.__)("Write preformatted text…"),onMerge:t},a,{__unstablePastePlainText:!0}))},save:function({attributes:e}){const{content:t}=e;return Object(ge.createElement)("pre",de.useBlockProps.save(),Object(ge.createElement)(de.RichText.Content,{value:t}))},merge:(e,t)=>({content:e.content+t.content})};var Fl=Object(ge.createElement)(he.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(he.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 Gl={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 ql(e){if(!e)return;const t=e.match(/border-color:([^;]+)[;]?/);return t&&t[1]?t[1]:void 0}var Ul=[{attributes:{...Gl,figureStyle:{source:"attribute",selector:"figure",attribute:"style"}},save({attributes:e}){const{mainColor:t,customMainColor:n,textColor:o,customTextColor:r,value:a,citation:c,className:l,figureStyle:i}=e;let s,u;if(Object(be.includes)(l,"is-style-solid-color")){const e=Object(de.getColorClassName)("background-color",t);s=je()({"has-background":e||n,[e]:e}),u={backgroundColor:e?void 0:n}}else if(n)u={borderColor:n};else if(t){u={borderColor:ql(i)}}const d=Object(de.getColorClassName)("color",o),m=(o||r)&&je()("has-text-color",{[d]:d}),b=d?void 0:{color:r};return Object(ge.createElement)("figure",{className:s,style:u},Object(ge.createElement)("blockquote",{className:m,style:b},Object(ge.createElement)(de.RichText.Content,{value:a,multiline:!0}),!de.RichText.isEmpty(c)&&Object(ge.createElement)(de.RichText.Content,{tagName:"cite",value:c})))},migrate({className:e,figureStyle:t,mainColor:n,...o}){if(!Object(be.includes)(e,"is-style-solid-color")&&n&&t){const n=ql(t);if(n)return{...o,className:e,customMainColor:n}}return{className:e,mainColor:n,...o}}},{attributes:Gl,save({attributes:e}){const{mainColor:t,customMainColor:n,textColor:o,customTextColor:r,value:a,citation:c,className:l}=e;let i,s;if(Object(be.includes)(l,"is-style-solid-color"))i=Object(de.getColorClassName)("background-color",t),i||(s={backgroundColor:n});else if(n)s={borderColor:n};else if(t){const e=Object(be.get)(Object(Le.select)(de.store).getSettings(),["colors"],[]);s={borderColor:Object(de.getColorObjectByAttributeValues)(e,t).color}}const u=Object(de.getColorClassName)("color",o),d=o||r?je()("has-text-color",{[u]:u}):void 0,m=u?void 0:{color:r};return Object(ge.createElement)("figure",{className:i,style:s},Object(ge.createElement)("blockquote",{className:d,style:m},Object(ge.createElement)(de.RichText.Content,{value:a,multiline:!0}),!de.RichText.isEmpty(c)&&Object(ge.createElement)(de.RichText.Content,{tagName:"cite",value:c})))}},{attributes:{...Gl},save({attributes:e}){const{value:t,citation:n}=e;return Object(ge.createElement)("blockquote",null,Object(ge.createElement)(de.RichText.Content,{value:t,multiline:!0}),!de.RichText.isEmpty(n)&&Object(ge.createElement)(de.RichText.Content,{tagName:"cite",value:n}))}},{attributes:{...Gl,citation:{type:"string",source:"html",selector:"footer"},align:{type:"string",default:"none"}},save({attributes:e}){const{value:t,citation:n,align:o}=e;return Object(ge.createElement)("blockquote",{className:"align"+o},Object(ge.createElement)(de.RichText.Content,{value:t,multiline:!0}),!de.RichText.isEmpty(n)&&Object(ge.createElement)(de.RichText.Content,{tagName:"footer",value:n}))}}];var Wl=Object(de.withColors)({mainColor:"background-color",textColor:"color"})((function({colorUtils:e,textColor:t,attributes:{value:n,citation:o},setAttributes:r,setTextColor:a,setMainColor:c,mainColor:l,isSelected:i,insertBlocksAfter:s}){const u=Object(ge.useRef)(!1),d=Object(de.useBlockProps)(),{style:m={},className:b}=d,p=Object(be.includes)(b,"is-style-solid-color"),g={...d,className:je()(b,{"has-background":p&&l.color,[l.class]:p&&l.class}),style:p?{...m,backgroundColor:l.color}:{...m,borderColor:l.color}};return Object(ge.useEffect)(()=>{l&&!p&&r({mainColor:void 0,customMainColor:l.color})},[p,l]),Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)("figure",g,Object(ge.createElement)("blockquote",{style:{color:t.color},className:t.color&&je()("has-text-color",{[t.class]:t.class})},Object(ge.createElement)(de.RichText,{identifier:"value",multiline:!0,value:n,onChange:e=>r({value:e}),"aria-label":Object(pe.__)("Pullquote text"),placeholder:Object(pe.__)("Add quote"),textAlign:"center"}),(!de.RichText.isEmpty(o)||i)&&Object(ge.createElement)(de.RichText,{identifier:"citation",value:o,"aria-label":Object(pe.__)("Pullquote citation text"),placeholder:Object(pe.__)("Add citation"),onChange:e=>r({citation:e}),className:"wp-block-pullquote__citation",__unstableMobileNoFocusOnMount:!0,textAlign:"center",__unstableOnSplitAtEnd:()=>s(Object(me.createBlock)("core/paragraph"))}))),"web"===ge.Platform.OS&&Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(de.PanelColorSettings,{title:Object(pe.__)("Color"),colorSettings:[{value:l.color,onChange:function(n){const o=!t.color||u.current,l=p&&o;p?c(n):r({customMainColor:n}),l&&(n?(u.current=!0,a(e.getMostReadableColor(n))):u.current&&(u.current=!1,a()))},label:Object(pe.__)("Main color")},{value:t.color,onChange:function(e){a(e),u.current=!1},label:Object(pe.__)("Text color")}]},p&&Object(ge.createElement)(de.ContrastChecker,{textColor:t.color,backgroundColor:l.color,isLargeText:!1}))))}));var $l={from:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:e=>Object(me.createBlock)("core/pullquote",{value:Object(yn.toHTMLString)({value:Object(yn.join)(e.map(({content:e})=>Object(yn.create)({html:e})),"\u2028"),multilineTag:"p"}),anchor:e.anchor})},{type:"block",blocks:["core/heading"],transform:({content:e,anchor:t})=>Object(me.createBlock)("core/pullquote",{value:`<p>${e}</p>`,anchor:t})}],to:[{type:"block",blocks:["core/paragraph"],transform:({value:e,citation:t})=>{const n=[];return e&&"<p></p>"!==e&&n.push(...Object(yn.split)(Object(yn.create)({html:e,multilineTag:"p"}),"\u2028").map(e=>Object(me.createBlock)("core/paragraph",{content:Object(yn.toHTMLString)({value:e})}))),t&&"<p></p>"!==t&&n.push(Object(me.createBlock)("core/paragraph",{content:t})),0===n.length?Object(me.createBlock)("core/paragraph",{content:""}):n}},{type:"block",blocks:["core/heading"],transform:({value:e,citation:t,...n})=>{if("<p></p>"===e)return Object(me.createBlock)("core/heading",{content:t});const o=Object(yn.split)(Object(yn.create)({html:e,multilineTag:"p"}),"\u2028"),r=Object(me.createBlock)("core/heading",{content:Object(yn.toHTMLString)({value:o[0]})});if(!t&&1===o.length)return r;const a=o.slice(1);return[r,Object(me.createBlock)("core/pullquote",{...n,citation:t,value:Object(yn.toHTMLString)({value:a.length?Object(yn.join)(o.slice(1),"\u2028"):Object(yn.create)(),multilineTag:"p"})})]}}]};const Zl={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"},mainColor:{type:"string"},customMainColor:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"}},supports:{anchor:!0,align:["left","right","wide","full"]},styles:[{name:"default",label:"Default",isDefault:!0},{name:"solid-color",label:"Solid color"}],editorStyle:"wp-block-pullquote-editor",style:"wp-block-pullquote"},{name:Ql}=Zl,Jl={icon:Fl,example:{attributes:{value:"<p>"+Object(pe.__)("One of the hardest things to do in technology is disrupt yourself.")+"</p>",citation:Object(pe.__)("Matt Mullenweg")}},transforms:$l,edit:Wl,save:function({attributes:e}){const{mainColor:t,customMainColor:n,textColor:o,customTextColor:r,value:a,citation:c,className:l}=e;let i,s;if(Object(be.includes)(l,"is-style-solid-color")){const e=Object(de.getColorClassName)("background-color",t);i=je()({"has-background":e||n,[e]:e}),s={backgroundColor:e?void 0:n}}else n&&(s={borderColor:n});const u=Object(de.getColorClassName)("color",o),d=(o||r)&&je()("has-text-color",{[u]:u}),m=u?void 0:{color:r};return Object(ge.createElement)("figure",de.useBlockProps.save({className:i,style:s}),Object(ge.createElement)("blockquote",{className:d,style:m},Object(ge.createElement)(de.RichText.Content,{value:a,multiline:!0}),!de.RichText.isEmpty(c)&&Object(ge.createElement)(de.RichText.Content,{tagName:"cite",value:c})))},deprecated:Ul};var Yl=n("diJD");var Kl=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.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 Xl={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:ei}=Xl,ti={edit:function({attributes:{ref:e},clientId:t}){const[n,o]=Object(de.__experimentalUseNoRecursiveRenders)(e),{isMissing:r,hasResolved:a}=Object(Le.useSelect)(t=>{const n=t(ue.store).getEntityRecord("postType","wp_block",e),o=t(ue.store).hasFinishedResolution("getEntityRecord",["postType","wp_block",e]);return{hasResolved:o,isMissing:o&&!n}},[e,t]),{__experimentalConvertBlockToStatic:c}=Object(Le.useDispatch)(Yl.store),[l,i,s]=Object(ue.useEntityBlockEditor)("postType","wp_block",{id:e}),[u,d]=Object(ue.useEntityProp)("postType","wp_block","title",e),m=Object(de.__experimentalUseInnerBlocksProps)({},{value:l,onInput:i,onChange:s,renderAppender:null!=l&&l.length?void 0:de.InnerBlocks.ButtonBlockAppender}),b=Object(de.useBlockProps)();return n?Object(ge.createElement)("div",b,Object(ge.createElement)(de.Warning,null,Object(pe.__)("Block cannot be rendered inside itself."))):r?Object(ge.createElement)("div",b,Object(ge.createElement)(de.Warning,null,Object(pe.__)("Block has been deleted or is unavailable."))):a?Object(ge.createElement)(o,null,Object(ge.createElement)("div",b,Object(ge.createElement)(de.BlockControls,null,Object(ge.createElement)(Ee.ToolbarGroup,null,Object(ge.createElement)(Ee.ToolbarButton,{onClick:()=>c(t),label:Object(pe.__)("Convert to regular blocks"),icon:Kl,showTooltip:!0}))),Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(Ee.PanelBody,null,Object(ge.createElement)(Ee.TextControl,{label:Object(pe.__)("Name"),value:u,onChange:d}))),Object(ge.createElement)("div",{className:"block-library-block__reusable-block-container"},Object(ge.createElement)("div",m)))):Object(ge.createElement)("div",b,Object(ge.createElement)(Ee.Placeholder,null,Object(ge.createElement)(Ee.Spinner,null)))}};var ni=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.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 oi={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:ri}=oi,ai={icon:ni,example:{attributes:{feedURL:"https://wordpress.org"}},edit:function({attributes:e,setAttributes:t}){const[n,o]=Object(ge.useState)(!e.feedURL),{blockLayout:r,columns:a,displayAuthor:c,displayDate:l,displayExcerpt:i,excerptLength:s,feedURL:u,itemsToShow:d}=e;function m(n){return()=>{const o=e[n];t({[n]:!o})}}const b=Object(de.useBlockProps)();if(n)return Object(ge.createElement)("div",b,Object(ge.createElement)(Ee.Placeholder,{icon:ni,label:"RSS"},Object(ge.createElement)("form",{onSubmit:function(e){e.preventDefault(),u&&o(!1)},className:"wp-block-rss__placeholder-form"},Object(ge.createElement)(Ee.TextControl,{placeholder:Object(pe.__)("Enter URL here…"),value:u,onChange:e=>t({feedURL:e}),className:"wp-block-rss__placeholder-input"}),Object(ge.createElement)(Ee.Button,{isPrimary:!0,type:"submit"},Object(pe.__)("Use URL")))));const p=[{icon:Nn.a,title:Object(pe.__)("Edit RSS URL"),onClick:()=>o(!0)},{icon:wc,title:Object(pe.__)("List view"),onClick:()=>t({blockLayout:"list"}),isActive:"list"===r},{icon:_c.a,title:Object(pe.__)("Grid view"),onClick:()=>t({blockLayout:"grid"}),isActive:"grid"===r}];return Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.BlockControls,null,Object(ge.createElement)(Ee.ToolbarGroup,{controls:p})),Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("RSS settings")},Object(ge.createElement)(Ee.RangeControl,{label:Object(pe.__)("Number of items"),value:d,onChange:e=>t({itemsToShow:e}),min:1,max:10,required:!0}),Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Display author"),checked:c,onChange:m("displayAuthor")}),Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Display date"),checked:l,onChange:m("displayDate")}),Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Display excerpt"),checked:i,onChange:m("displayExcerpt")}),i&&Object(ge.createElement)(Ee.RangeControl,{label:Object(pe.__)("Max number of words in excerpt"),value:s,onChange:e=>t({excerptLength:e}),min:10,max:100,required:!0}),"grid"===r&&Object(ge.createElement)(Ee.RangeControl,{label:Object(pe.__)("Columns"),value:a,onChange:e=>t({columns:e}),min:2,max:6,required:!0}))),Object(ge.createElement)("div",b,Object(ge.createElement)(Ee.Disabled,null,Object(ge.createElement)(Kn.a,{block:"core/rss",attributes:e}))))}},ci=Object(ge.createElement)(Ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(Ee.Rect,{x:"7",y:"10",width:"10",height:"4",rx:"1",fill:"currentColor"})),li=Object(ge.createElement)(Ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(Ee.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(ge.createElement)(Ee.Rect,{x:"16",y:"10",width:"4",height:"4",rx:"1",fill:"currentColor"})),ii=Object(ge.createElement)(Ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(Ee.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(ge.createElement)(Ee.Rect,{x:"14",y:"10",width:"4",height:"4",rx:"1",fill:"currentColor"})),si=Object(ge.createElement)(Ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(Ee.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"})),ui=Object(ge.createElement)(Ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(Ee.Rect,{x:"4.75",y:"7.75",width:"14.5",height:"8.5",rx:"1.25",stroke:"currentColor",fill:"none",strokeWidth:"1.5"}),Object(ge.createElement)(Ee.Rect,{x:"8",y:"11",width:"8",height:"2",fill:"currentColor"})),di=Object(ge.createElement)(Ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(Ee.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(ge.createElement)(Ee.Rect,{x:"4",y:"7",width:"10",height:"2",fill:"currentColor"}));var mi=[{name:"default",isDefault:!0,attributes:{buttonText:Object(pe.__)("Search"),label:Object(pe.__)("Search")}}];const bi={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"],__experimentalBorder:{radius:!0,__experimentalSkipSerialization:!0},html:!1},editorStyle:"wp-block-search-editor",style:"wp-block-search"},{name:pi}=bi,gi={icon:Pt.a,example:{},variations:mi,edit:function({className:e,attributes:t,setAttributes:n,toggleSelection:o,isSelected:r}){var a;const{label:c,showLabel:l,placeholder:i,width:s,widthUnit:u,align:d,buttonText:m,buttonPosition:b,buttonUseIcon:p,style:g}=t,h=null==g||null===(a=g.border)||void 0===a?void 0:a.radius,v="wp-block-search__width-"+Object(Ie.useInstanceId)(de.__experimentalUnitControl),O=Object(Ee.__experimentalUseCustomUnits)({availableUnits:["%","px"],defaultValues:{"%":50,px:350}}),j=()=>Object(ge.createElement)("input",{className:"wp-block-search__input",style:{borderRadius:h},"aria-label":Object(pe.__)("Optional placeholder text"),placeholder:i?void 0:Object(pe.__)("Optional placeholder…"),value:i,onChange:e=>n({placeholder:e.target.value})}),f=()=>Object(ge.createElement)(ge.Fragment,null,p&&Object(ge.createElement)(Ee.Button,{icon:Pt.a,className:"wp-block-search__button",style:{borderRadius:h}}),!p&&Object(ge.createElement)(de.RichText,{className:"wp-block-search__button",style:{borderRadius:h},"aria-label":Object(pe.__)("Button text"),placeholder:Object(pe.__)("Add button text…"),withoutInteractiveFormatting:!0,value:m,onChange:e=>n({buttonText:e})})),y=Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.BlockControls,null,Object(ge.createElement)(Ee.ToolbarGroup,null,Object(ge.createElement)(Ee.ToolbarButton,{title:Object(pe.__)("Toggle search label"),icon:di,onClick:()=>{n({showLabel:!l})},className:l?"is-pressed":void 0}),Object(ge.createElement)(Ee.DropdownMenu,{icon:(()=>{switch(b){case"button-inside":return ii;case"button-outside":return li;case"no-button":return si;case"button-only":return ci}})(),label:Object(pe.__)("Change button position")},({onClose:e})=>Object(ge.createElement)(Ee.MenuGroup,{className:"wp-block-search__button-position-menu"},Object(ge.createElement)(Ee.MenuItem,{icon:si,onClick:()=>{n({buttonPosition:"no-button"}),e()}},Object(pe.__)("No Button")),Object(ge.createElement)(Ee.MenuItem,{icon:li,onClick:()=>{n({buttonPosition:"button-outside"}),e()}},Object(pe.__)("Button Outside")),Object(ge.createElement)(Ee.MenuItem,{icon:ii,onClick:()=>{n({buttonPosition:"button-inside"}),e()}},Object(pe.__)("Button Inside")))),"no-button"!==b&&Object(ge.createElement)(Ee.ToolbarButton,{title:Object(pe.__)("Use button with icon"),icon:ui,onClick:()=>{n({buttonUseIcon:!p})},className:p?"is-pressed":void 0}))),Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Display Settings")},Object(ge.createElement)(Ee.BaseControl,{label:Object(pe.__)("Width"),id:v},Object(ge.createElement)(de.__experimentalUnitControl,{id:v,min:"220px",onChange:e=>{const t="%"===u&&parseInt(e,10)>100?100:e;n({width:parseInt(t,10)})},onUnitChange:e=>{n({width:"%"===e?50:350,widthUnit:e})},style:{maxWidth:80},value:`${s}${u}`,unit:u,units:O}),Object(ge.createElement)(Ee.ButtonGroup,{className:"wp-block-search__components-button-group","aria-label":Object(pe.__)("Percentage Width")},[25,50,75,100].map(e=>Object(ge.createElement)(Ee.Button,{key:e,isSmall:!0,isPrimary:e+"%"==`${s}${u}`,onClick:()=>n({width:e,widthUnit:"%"})},e,"%"))))))),w=Object(de.useBlockProps)({className:je()(e,"button-inside"===b?"wp-block-search__button-inside":void 0,"button-outside"===b?"wp-block-search__button-outside":void 0,"no-button"===b?"wp-block-search__no-button":void 0,"button-only"===b?"wp-block-search__button-only":void 0,p||"no-button"===b?void 0:"wp-block-search__text-button",p&&"no-button"!==b?"wp-block-search__icon-button":void 0)});return Object(ge.createElement)("div",w,y,l&&Object(ge.createElement)(de.RichText,{className:"wp-block-search__label","aria-label":Object(pe.__)("Label text"),placeholder:Object(pe.__)("Add label…"),withoutInteractiveFormatting:!0,value:c,onChange:e=>n({label:e})}),Object(ge.createElement)(Ee.ResizableBox,{size:{width:`${s}${u}`},className:"wp-block-search__inside-wrapper",style:(()=>{var e;if("button-inside"===b&&null!=g&&null!==(e=g.border)&&void 0!==e&&e.radius){var t;return{borderRadius:parseInt(null==g||null===(t=g.border)||void 0===t?void 0:t.radius,10)+4+"px"}}})(),minWidth:220,enable:"button-only"===b?{}:{right:"right"!==d,left:"right"===d},onResizeStart:(e,t,r)=>{n({width:parseInt(r.offsetWidth,10),widthUnit:"px"}),o(!1)},onResizeStop:(e,t,r,a)=>{n({width:parseInt(s+a.width,10)}),o(!0)},showHandle:r},("button-inside"===b||"button-outside"===b)&&Object(ge.createElement)(ge.Fragment,null,j(),f()),"button-only"===b&&f(),"no-button"===b&&j()))}};var hi=Object(ge.createElement)(he.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(he.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 vi=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(be.omit)(e,["customTextColor","customBackgroundColor"]),style:t}};var Oi=[{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({attributes:e}){const{tagName:t}=e;return Object(ge.createElement)(t,de.useBlockProps.save(),Object(ge.createElement)("div",{className:"wp-block-group__inner-container"},Object(ge.createElement)(de.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:vi,save({attributes:e}){const{backgroundColor:t,customBackgroundColor:n,textColor:o,customTextColor:r}=e,a=Object(de.getColorClassName)("background-color",t),c=Object(de.getColorClassName)("color",o),l=je()(a,c,{"has-text-color":o||r,"has-background":t||n}),i={backgroundColor:a?void 0:n,color:c?void 0:r};return Object(ge.createElement)("div",{className:l,style:i},Object(ge.createElement)("div",{className:"wp-block-group__inner-container"},Object(ge.createElement)(de.InnerBlocks.Content,null)))}},{attributes:{backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"}},migrate:vi,supports:{align:["wide","full"],anchor:!0,html:!1},save({attributes:e}){const{backgroundColor:t,customBackgroundColor:n,textColor:o,customTextColor:r}=e,a=Object(de.getColorClassName)("background-color",t),c=Object(de.getColorClassName)("color",o),l=je()(a,{"has-text-color":o||r,"has-background":t||n}),i={backgroundColor:a?void 0:n,color:c?void 0:r};return Object(ge.createElement)("div",{className:l,style:i},Object(ge.createElement)("div",{className:"wp-block-group__inner-container"},Object(ge.createElement)(de.InnerBlocks.Content,null)))}},{attributes:{backgroundColor:{type:"string"},customBackgroundColor:{type:"string"}},supports:{align:["wide","full"],anchor:!0,html:!1},migrate:vi,save({attributes:e}){const{backgroundColor:t,customBackgroundColor:n}=e,o=Object(de.getColorClassName)("background-color",t),r=je()(o,{"has-background":t||n}),a={backgroundColor:o?void 0:n};return Object(ge.createElement)("div",{className:r,style:a},Object(ge.createElement)(de.InnerBlocks.Content,null))}}];var ji=function({attributes:e,setAttributes:t,clientId:n}){const{hasInnerBlocks:o,themeSupportsLayout:r}=Object(Le.useSelect)(e=>{var t;const{getBlock:o,getSettings:r}=e(de.store),a=o(n);return{hasInnerBlocks:!(!a||!a.innerBlocks.length),themeSupportsLayout:null===(t=r())||void 0===t?void 0:t.supportsLayout}},[n]),a=Object(de.useSetting)("layout")||{},{tagName:c="div",templateLock:l,layout:i={}}=e,s=i&&i.inherit?a:i,{contentSize:u,wideSize:d}=s,m=u||d?["wide","full"]:["left","center","right"],b=Object(de.useBlockProps)(),p=Object(de.__experimentalUseInnerBlocksProps)(r?b:{className:"wp-block-group__inner-container"},{templateLock:l,renderAppender:o?void 0:de.InnerBlocks.ButtonBlockAppender,__experimentalLayout:{type:"default",alignments:r?m:void 0}});return Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.InspectorAdvancedControls,null,Object(ge.createElement)(Ee.SelectControl,{label:Object(pe.__)("HTML element"),options:[{label:Object(pe.__)("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=>t({tagName:e})})),r&&Object(ge.createElement)(c,p),!r&&Object(ge.createElement)(c,b,Object(ge.createElement)("div",p)))};const fi={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:{enum:["all","insert",!1]}},supports:{align:["wide","full"],anchor:!0,html:!1,color:{gradients:!0,link:!0},spacing:{padding:!0},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0},__experimentalLayout:!0},editorStyle:"wp-block-group-editor",style:"wp-block-group"},{name:yi}=fi,wi={icon:hi,example:{attributes:{style:{color:{text:"#000000",background:"#ffffff"}}},innerBlocks:[{name:"core/paragraph",attributes:{customTextColor:"#cf2e2e",fontSize:"large",content:Object(pe.__)("One.")}},{name:"core/paragraph",attributes:{customTextColor:"#ff6900",fontSize:"large",content:Object(pe.__)("Two.")}},{name:"core/paragraph",attributes:{customTextColor:"#fcb900",fontSize:"large",content:Object(pe.__)("Three.")}},{name:"core/paragraph",attributes:{customTextColor:"#00d084",fontSize:"large",content:Object(pe.__)("Four.")}},{name:"core/paragraph",attributes:{customTextColor:"#0693e3",fontSize:"large",content:Object(pe.__)("Five.")}},{name:"core/paragraph",attributes:{customTextColor:"#9b51e0",fontSize:"large",content:Object(pe.__)("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(me.createBlock)(e.name,e.attributes,e.innerBlocks));return Object(me.createBlock)("core/group",{align:n},o)}}]},edit:ji,save:function({attributes:e}){const{tagName:t}=e;return Object(ge.createElement)(t,de.useBlockProps.save(),Object(ge.createElement)(de.InnerBlocks.Content,null))},deprecated:Oi};var _i=Object(ge.createElement)(he.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(he.Path,{d:"M20.2 7v4H3.8V7H2.2v9h1.6v-3.5h16.4V16h1.6V7z"}));var ki=({color:e,setColor:t})=>Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(de.PanelColorSettings,{title:Object(pe.__)("Color"),colorSettings:[{value:e.color,onChange:t,label:Object(pe.__)("Color")}]}));var Ei=Object(de.withColors)("color",{textColor:"color"})((function({color:e,setColor:t,className:n}){return Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(Ee.HorizontalRule,Object(de.useBlockProps)({className:je()(n,{"has-background":e.color,[e.class]:e.class}),style:{backgroundColor:e.color,color:e.color}})),Object(ge.createElement)(ki,{color:e,setColor:t}))}));var Ci={from:[{type:"enter",regExp:/^-{3,}$/,transform:()=>Object(me.createBlock)("core/separator")},{type:"raw",selector:"hr",schema:{hr:{}}}]};const xi={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:Si}=xi,Bi={icon:_i,example:{attributes:{customColor:"#065174",className:"is-style-wide"}},transforms:Ci,edit:Ei,save:function({attributes:e}){const{color:t,customColor:n}=e,o=Object(de.getColorClassName)("background-color",t),r=Object(de.getColorClassName)("color",t),a=je()({"has-text-color has-background":t||n,[o]:o,[r]:r}),c={backgroundColor:o?void 0:n,color:r?void 0:n};return Object(ge.createElement)("hr",de.useBlockProps.save({className:a,style:c}))}};var Ti=Object(ge.createElement)(he.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(he.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"})),zi=n("iClF");var Pi=n("UuzZ");var Mi={from:[{type:"shortcode",tag:"[a-z][a-z0-9_-]*",attributes:{text:{type:"string",shortcode:(e,{content:t})=>Object(Pi.removep)(Object(Pi.autop)(t))}},priority:20}]};const Ni={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:Ri}=Ni,Vi={icon:Ti,transforms:Mi,edit:function e({attributes:t,setAttributes:n}){const o="blocks-shortcode-input-"+Object(Ie.useInstanceId)(e);return Object(ge.createElement)("div",Object(de.useBlockProps)({className:"components-placeholder"}),Object(ge.createElement)("label",{htmlFor:o,className:"components-placeholder__label"},Object(ge.createElement)(zi.a,{icon:Ti}),Object(pe.__)("Shortcode")),Object(ge.createElement)(de.PlainText,{className:"blocks-shortcode__textarea",id:o,value:t.text,"aria-label":Object(pe.__)("Shortcode text"),placeholder:Object(pe.__)("Write shortcode here…"),onChange:e=>n({text:e})}))},save:function({attributes:e}){return Object(ge.createElement)(ge.RawHTML,null,e.text)}};var Hi=Object(ge.createElement)(he.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(he.Path,{d:"M12.5 4.2v1.6h4.7L5.8 17.2V12H4.2v7.8H12v-1.6H6.8L18.2 6.8v4.7h1.6V4.2z"}));var Li=Object(Ie.compose)([Object(Le.withDispatch)(e=>{const{toggleSelection:t}=e(de.store);return{onResizeStart:()=>t(!1),onResizeStop:()=>t(!0)}}),Ie.withInstanceId])(({attributes:e,isSelected:t,setAttributes:n,onResizeStart:o,onResizeStop:r,context:a})=>{const{orientation:c}=a,[l,i]=Object(ge.useState)(!1),{height:s,width:u}=e,d=e=>{n({height:e})},m=e=>{n({width:e})},b=(...e)=>{o(...e),i(!0)},p=(e,t,n,o)=>{r();const a=Math.min(parseInt(s+o.height,10),500);d(a),i(!1)},g=(e,t,n,o)=>{r();const a=Math.min(parseInt(u+o.width,10),500);m(a),i(!1)};return Object(ge.useEffect)(()=>{"horizontal"!==c||u||(m(72),d(0))},[]),Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(he.View,Object(de.useBlockProps)(),"horizontal"===c?Object(ge.createElement)(Ee.ResizableBox,{className:je()("block-library-spacer__resize-container","resize-horizontal",{"is-selected":t}),size:{width:u,height:24},minWidth:1,enable:{top:!1,right:!0,bottom:!1,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},onResizeStart:b,onResizeStop:g,showHandle:t,__experimentalShowTooltip:!0,__experimentalTooltipProps:{axis:"x",position:"corner",isVisible:l}}):Object(ge.createElement)(Ee.ResizableBox,{className:je()("block-library-spacer__resize-container",{"is-selected":t}),size:{height:s},minHeight:1,enable:{top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},onResizeStart:b,onResizeStop:p,showHandle:t,__experimentalShowTooltip:!0,__experimentalTooltipProps:{axis:"y",position:"bottom",isVisible:l}})),Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Spacer settings")},"horizontal"===c&&Object(ge.createElement)(Ee.RangeControl,{label:Object(pe.__)("Width in pixels"),min:1,max:Math.max(500,u),value:u,onChange:m}),"horizontal"!==c&&Object(ge.createElement)(Ee.RangeControl,{label:Object(pe.__)("Height in pixels"),min:1,max:Math.max(500,s),value:s,onChange:d}))))});const Ii={apiVersion:2,name:"core/spacer",title:"Spacer",category:"design",description:"Add white space between blocks and customize its height.",textdomain:"default",attributes:{height:{type:"number",default:100},width:{type:"number"}},usesContext:["orientation"],supports:{anchor:!0},editorStyle:"wp-block-spacer-editor",style:"wp-block-spacer"},{name:Ai}=Ii,Di={icon:Hi,edit:Li,save:function({attributes:e}){return Object(ge.createElement)("div",de.useBlockProps.save({style:{height:e.height,width:e.width},"aria-hidden":!0}))}};var Fi=Object(ge.createElement)(he.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(he.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 Gi={"subtle-light-gray":"#f3f4f5","subtle-pale-green":"#e9fbe5","subtle-pale-blue":"#e7f5fe","subtle-pale-pink":"#fcf0ef"};var qi=[{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:({attributes:e})=>{const{hasFixedLayout:t,head:n,body:o,foot:r,backgroundColor:a,caption:c}=e;if(!n.length&&!o.length&&!r.length)return null;const l=Object(de.getColorClassName)("background-color",a),i=je()(l,{"has-fixed-layout":t,"has-background":!!l}),s=!de.RichText.isEmpty(c),u=({type:e,rows:t})=>{if(!t.length)return null;const n="t"+e;return Object(ge.createElement)(n,null,t.map(({cells:e},t)=>Object(ge.createElement)("tr",{key:t},e.map(({content:e,tag:t,scope:n,align:o},r)=>{const a=je()({["has-text-align-"+o]:o});return Object(ge.createElement)(de.RichText.Content,{className:a||void 0,"data-align":o,tagName:t,value:e,key:r,scope:"th"===t?n:void 0})}))))};return Object(ge.createElement)("figure",de.useBlockProps.save(),Object(ge.createElement)("table",{className:""===i?void 0:i},Object(ge.createElement)(u,{type:"head",rows:n}),Object(ge.createElement)(u,{type:"body",rows:o}),Object(ge.createElement)(u,{type:"foot",rows:r})),s&&Object(ge.createElement)(de.RichText.Content,{tagName:"figcaption",value:c}))},isEligible:e=>e.backgroundColor&&!e.style,migrate:e=>({...e,backgroundColor:void 0,style:{color:{background:Gi[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({attributes:e}){const{hasFixedLayout:t,head:n,body:o,foot:r,backgroundColor:a}=e;if(!n.length&&!o.length&&!r.length)return null;const c=Object(de.getColorClassName)("background-color",a),l=je()(c,{"has-fixed-layout":t,"has-background":!!c}),i=({type:e,rows:t})=>{if(!t.length)return null;const n="t"+e;return Object(ge.createElement)(n,null,t.map(({cells:e},t)=>Object(ge.createElement)("tr",{key:t},e.map(({content:e,tag:t,scope:n},o)=>Object(ge.createElement)(de.RichText.Content,{tagName:t,value:e,key:o,scope:"th"===t?n:void 0})))))};return Object(ge.createElement)("table",{className:l},Object(ge.createElement)(i,{type:"head",rows:n}),Object(ge.createElement)(i,{type:"body",rows:o}),Object(ge.createElement)(i,{type:"foot",rows:r}))}}],Ui=n("fPbg"),Wi=n("plpT"),$i=n("ziDm");var Zi=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(ge.createElement)(he.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 Qi=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(ge.createElement)(he.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 Ji=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(ge.createElement)(he.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 Yi=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(ge.createElement)(he.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 Ki=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(ge.createElement)(he.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 Xi=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(ge.createElement)(he.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 es=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.Path,{d:"M4 6v11.5h16V6H4zm1.5 1.5h6V11h-6V7.5zm0 8.5v-3.5h6V16h-6zm13 0H13v-3.5h5.5V16zM13 11V7.5h5.5V11H13z"}));const ts=["align"];function ns(e,t,n){if(!t)return e;const o=Object(be.pick)(e,["head","body","foot"]),{sectionName:r,rowIndex:a}=t;return Object(be.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 os(e,{sectionName:t,rowIndex:n,columnCount:o}){const r=function(e){return as(e.head)?as(e.body)?as(e.foot)?void 0:e.foot[0]:e.body[0]:e.head[0]}(e),a=void 0===o?Object(be.get)(r,["cells","length"]):o;return a?{[t]:[...e[t].slice(0,n),{cells:Object(be.times)(a,e=>{const n=Object(be.get)(r,["cells",e],{});return{...Object(be.pick)(n,ts),content:"",tag:"head"===t?"th":"td"}})},...e[t].slice(n)]}:e}function rs(e,t){if(!as(e[t]))return{[t]:[]};return os(e,{sectionName:t,rowIndex:0,columnCount:Object(be.get)(e,["body",0,"cells","length"],1)})}function as(e){return!e||!e.length||Object(be.every)(e,cs)}function cs(e){return!(e.cells&&e.cells.length)}const ls=[{icon:Ui.a,title:Object(pe.__)("Align column left"),align:"left"},{icon:Wi.a,title:Object(pe.__)("Align column center"),align:"center"},{icon:$i.a,title:Object(pe.__)("Align column right"),align:"right"}],is={head:Object(pe.__)("Header cell text"),body:Object(pe.__)("Body cell text"),foot:Object(pe.__)("Footer cell text")},ss={head:Object(pe.__)("Header label"),foot:Object(pe.__)("Footer label")};function us({name:e,...t}){const n="t"+e;return Object(ge.createElement)(n,t)}var ds=function({attributes:e,setAttributes:t,insertBlocksAfter:n,isSelected:o}){const{hasFixedLayout:r,caption:a,head:c,foot:l}=e,[i,s]=Object(ge.useState)(2),[u,d]=Object(ge.useState)(2),[m,b]=Object(ge.useState)(),p=Object(de.__experimentalUseColorProps)(e),g=Object(de.__experimentalUseBorderProps)(e);function h(n){m&&t(ns(e,m,e=>({...e,content:n})))}function v(n){if(!m)return;const{sectionName:o,rowIndex:r}=m,a=r+n;t(os(e,{sectionName:o,rowIndex:a})),b({sectionName:o,rowIndex:a,columnIndex:0,type:"cell"})}function O(n=0){if(!m)return;const{columnIndex:o}=m,r=o+n;t(function(e,{columnIndex:t}){const n=Object(be.pick)(e,["head","body","foot"]);return Object(be.mapValues)(n,(e,n)=>as(e)?e:e.map(e=>cs(e)||e.cells.length<t?e:{cells:[...e.cells.slice(0,t),{content:"",tag:"head"===n?"th":"td"},...e.cells.slice(t)]}))}(e,{columnIndex:r})),b({rowIndex:0,columnIndex:r,type:"cell"})}Object(ge.useEffect)(()=>{o||b()},[o]);const j=["head","body","foot"].filter(t=>!as(e[t])),f=[{icon:Zi,title:Object(pe.__)("Insert row before"),isDisabled:!m,onClick:function(){v(0)}},{icon:Qi,title:Object(pe.__)("Insert row after"),isDisabled:!m,onClick:function(){v(1)}},{icon:Ji,title:Object(pe.__)("Delete row"),isDisabled:!m,onClick:function(){if(!m)return;const{sectionName:n,rowIndex:o}=m;b(),t(function(e,{sectionName:t,rowIndex:n}){return{[t]:e[t].filter((e,t)=>t!==n)}}(e,{sectionName:n,rowIndex:o}))}},{icon:Yi,title:Object(pe.__)("Insert column before"),isDisabled:!m,onClick:function(){O(0)}},{icon:Ki,title:Object(pe.__)("Insert column after"),isDisabled:!m,onClick:function(){O(1)}},{icon:Xi,title:Object(pe.__)("Delete column"),isDisabled:!m,onClick:function(){if(!m)return;const{sectionName:n,columnIndex:o}=m;b(),t(function(e,{columnIndex:t}){const n=Object(be.pick)(e,["head","body","foot"]);return Object(be.mapValues)(n,e=>as(e)?e:e.map(e=>({cells:e.cells.length>=t?e.cells.filter((e,n)=>n!==t):e.cells})).filter(e=>e.cells.length))}(e,{sectionName:n,columnIndex:o}))}}],y=["head","body","foot"].map(t=>Object(ge.createElement)(us,{name:t,key:t},e[t].map(({cells:e},n)=>Object(ge.createElement)("tr",{key:n},e.map(({content:e,tag:o,scope:r,align:a},c)=>Object(ge.createElement)(de.RichText,{tagName:o,key:c,className:je()({["has-text-align-"+a]:a},"wp-block-table__cell-content"),scope:"th"===o?r:void 0,value:e,onChange:h,unstableOnFocus:()=>{b({sectionName:t,rowIndex:n,columnIndex:c,type:"cell"})},"aria-label":is[t],placeholder:ss[t]})))))),w=!j.length;return Object(ge.createElement)("figure",Object(de.useBlockProps)(),!w&&Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.BlockControls,{group:"block"},Object(ge.createElement)(de.AlignmentControl,{label:Object(pe.__)("Change column alignment"),alignmentControls:ls,value:function(){if(m)return function(e,t,n){const{sectionName:o,rowIndex:r,columnIndex:a}=t;return Object(be.get)(e,[o,r,"cells",a,n])}(e,m,"align")}(),onChange:n=>function(n){if(!m)return;const o={type:"column",columnIndex:m.columnIndex},r=ns(e,o,e=>({...e,align:n}));t(r)}(n)})),Object(ge.createElement)(de.BlockControls,{group:"other"},Object(ge.createElement)(Ee.ToolbarDropdownMenu,{hasArrowIndicator:!0,icon:es,label:Object(pe.__)("Edit table"),controls:f}))),!w&&Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Table settings"),className:"blocks-table-settings"},Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Fixed width table cells"),checked:!!r,onChange:function(){t({hasFixedLayout:!r})}}),Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Header section"),checked:!(!c||!c.length),onChange:function(){t(rs(e,"head"))}}),Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Footer section"),checked:!(!l||!l.length),onChange:function(){t(rs(e,"foot"))}}))),!w&&Object(ge.createElement)("table",{className:je()(p.className,g.className,{"has-fixed-layout":r}),style:{...p.style,...g.style}},y),!w&&Object(ge.createElement)(de.RichText,{tagName:"figcaption","aria-label":Object(pe.__)("Table caption text"),placeholder:Object(pe.__)("Add caption"),value:a,onChange:e=>t({caption:e}),unstableOnFocus:()=>b(),__unstableOnSplitAtEnd:()=>n(Object(me.createBlock)("core/paragraph"))}),w&&Object(ge.createElement)(Ee.Placeholder,{label:Object(pe.__)("Table"),icon:Object(ge.createElement)(de.BlockIcon,{icon:Fi,showColors:!0}),instructions:Object(pe.__)("Insert a table for sharing data.")},Object(ge.createElement)("form",{className:"blocks-table__placeholder-form",onSubmit:function(e){e.preventDefault(),t(function({rowCount:e,columnCount:t}){return{body:Object(be.times)(e,()=>({cells:Object(be.times)(t,()=>({content:"",tag:"td"}))}))}}({rowCount:parseInt(i,10)||2,columnCount:parseInt(u,10)||2}))}},Object(ge.createElement)(Ee.TextControl,{type:"number",label:Object(pe.__)("Column count"),value:u,onChange:function(e){d(e)},min:"1",className:"blocks-table__placeholder-input"}),Object(ge.createElement)(Ee.TextControl,{type:"number",label:Object(pe.__)("Row count"),value:i,onChange:function(e){s(e)},min:"1",className:"blocks-table__placeholder-input"}),Object(ge.createElement)(Ee.Button,{className:"blocks-table__placeholder-button",isPrimary:!0,type:"submit"},Object(pe.__)("Create Table")))))};const ms=({phrasingContentSchema:e})=>({tr:{allowEmpty:!0,children:{th:{allowEmpty:!0,children:e,attributes:["scope"]},td:{allowEmpty:!0,children:e}}}});var bs={from:[{type:"raw",selector:"table",schema:e=>({table:{children:{thead:{allowEmpty:!0,children:ms(e)},tfoot:{allowEmpty:!0,children:ms(e)},tbody:{allowEmpty:!0,children:ms(e)}}}})}]};const ps={apiVersion:2,name:"core/table",title:"Table",category:"text",description:"Insert a table — perfect for sharing charts and data.",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},__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:gs}=ps,hs={icon:Fi,example:{attributes:{head:[{cells:[{content:Object(pe.__)("Version"),tag:"th"},{content:Object(pe.__)("Jazz Musician"),tag:"th"},{content:Object(pe.__)("Release Date"),tag:"th"}]}],body:[{cells:[{content:"5.2",tag:"td"},{content:"Jaco Pastorius",tag:"td"},{content:Object(pe.__)("May 7, 2019"),tag:"td"}]},{cells:[{content:"5.1",tag:"td"},{content:"Betty Carter",tag:"td"},{content:Object(pe.__)("February 21, 2019"),tag:"td"}]},{cells:[{content:"5.0",tag:"td"},{content:"Bebo Valdés",tag:"td"},{content:Object(pe.__)("December 6, 2018"),tag:"td"}]}]}},transforms:bs,edit:ds,save:function({attributes:e}){const{hasFixedLayout:t,head:n,body:o,foot:r,caption:a}=e;if(!n.length&&!o.length&&!r.length)return null;const c=Object(de.__experimentalGetColorClassesAndStyles)(e),l=Object(de.__experimentalGetBorderClassesAndStyles)(e),i=je()(c.className,l.className,{"has-fixed-layout":t}),s=!de.RichText.isEmpty(a),u=({type:e,rows:t})=>{if(!t.length)return null;const n="t"+e;return Object(ge.createElement)(n,null,t.map(({cells:e},t)=>Object(ge.createElement)("tr",{key:t},e.map(({content:e,tag:t,scope:n,align:o},r)=>{const a=je()({["has-text-align-"+o]:o});return Object(ge.createElement)(de.RichText.Content,{className:a||void 0,"data-align":o,tagName:t,value:e,key:r,scope:"th"===t?n:void 0})}))))};return Object(ge.createElement)("figure",de.useBlockProps.save(),Object(ge.createElement)("table",{className:""===i?void 0:i,style:{...c.style,...l.style}},Object(ge.createElement)(u,{type:"head",rows:n}),Object(ge.createElement)(u,{type:"body",rows:o}),Object(ge.createElement)(u,{type:"foot",rows:r})),s&&Object(ge.createElement)(de.RichText.Content,{tagName:"figcaption",value:a}))},deprecated:qi};var vs=n("NMb1"),Os=n.n(vs);var js={to:[{type:"block",blocks:["core/columns"],transform:({className:e,columns:t,content:n,width:o})=>Object(me.createBlock)("core/columns",{align:"wide"===o||"full"===o?o:void 0,className:e,columns:t},n.map(({children:e})=>Object(me.createBlock)("core/column",{},[Object(me.createBlock)("core/paragraph",{content:e})])))}]};const fs={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:ys}=fs,ws={transforms:js,getEditWrapperProps(e){const{width:t}=e;if("wide"===t||"full"===t)return{"data-align":t}},edit:function({attributes:e,setAttributes:t}){const{width:n,content:o,columns:r}=e;return Os()("The Text Columns block",{since:"5.3",alternative:"the Columns block"}),Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.BlockControls,null,Object(ge.createElement)(de.BlockAlignmentToolbar,{value:n,onChange:e=>t({width:e}),controls:["center","wide","full"]})),Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(Ee.PanelBody,null,Object(ge.createElement)(Ee.RangeControl,{label:Object(pe.__)("Columns"),value:r,onChange:e=>t({columns:e}),min:2,max:4,required:!0}))),Object(ge.createElement)("div",Object(de.useBlockProps)({className:`align${n} columns-${r}`}),Object(be.times)(r,e=>Object(ge.createElement)("div",{className:"wp-block-column",key:"column-"+e},Object(ge.createElement)(de.RichText,{tagName:"p",value:Object(be.get)(o,[e,"children"]),onChange:n=>{t({content:[...o.slice(0,e),{children:n},...o.slice(e+1)]})},"aria-label":Object(pe.sprintf)(Object(pe.__)("Column %d text"),e+1),placeholder:Object(pe.__)("New Column")})))))},save:function({attributes:e}){const{width:t,content:n,columns:o}=e;return Object(ge.createElement)("div",de.useBlockProps.save({className:`align${t} columns-${o}`}),Object(be.times)(o,e=>Object(ge.createElement)("div",{className:"wp-block-column",key:"column-"+e},Object(ge.createElement)(de.RichText.Content,{tagName:"p",value:Object(be.get)(n,[e,"children"])}))))}};var _s=Object(ge.createElement)(he.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(he.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 ks=[{attributes:{content:{type:"string",source:"html",selector:"pre",default:""},textAlign:{type:"string"}},save({attributes:e}){const{textAlign:t,content:n}=e;return Object(ge.createElement)(de.RichText.Content,{tagName:"pre",style:{textAlign:t},value:n})}}];var Es={from:[{type:"block",blocks:["core/paragraph"],transform:e=>Object(me.createBlock)("core/verse",e)}],to:[{type:"block",blocks:["core/paragraph"],transform:e=>Object(me.createBlock)("core/paragraph",e)}]};const Cs={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},__experimentalFontFamily:!0,fontSize:!0,spacing:{padding:!0}},style:"wp-block-verse",editorStyle:"wp-block-verse-editor"},{name:xs}=Cs,Ss={icon:_s,example:{attributes:{content:Object(pe.__)("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:Es,deprecated:ks,merge:(e,t)=>({content:e.content+t.content}),edit:function({attributes:e,setAttributes:t,mergeBlocks:n,onRemove:o}){const{textAlign:r,content:a}=e,c=Object(de.useBlockProps)({className:je()({["has-text-align-"+r]:r})});return Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.BlockControls,null,Object(ge.createElement)(de.AlignmentToolbar,{value:r,onChange:e=>{t({textAlign:e})}})),Object(ge.createElement)(de.RichText,Object(ke.a)({tagName:"pre",identifier:"content",preserveWhiteSpace:!0,value:a,onChange:e=>{t({content:e})},"aria-label":Object(pe.__)("Verse text"),placeholder:Object(pe.__)("Write verse…"),onRemove:o,onMerge:n,textAlign:r},c,{__unstablePastePlainText:!0})))},save:function({attributes:e}){const{textAlign:t,content:n}=e,o=je()({["has-text-align-"+t]:t});return Object(ge.createElement)("pre",de.useBlockProps.save({className:o}),Object(ge.createElement)(de.RichText.Content,{value:n}))}};var Bs=Object(ge.createElement)(he.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(he.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 Ts=[{value:"auto",label:Object(pe.__)("Auto")},{value:"metadata",label:Object(pe.__)("Metadata")},{value:"none",label:Object(pe.__)("None")}];var zs=({setAttributes:e,attributes:t})=>{const{autoplay:n,controls:o,loop:r,muted:a,playsInline:c,preload:l}=t,i=Object(pe.__)("Autoplay may cause usability issues for some users."),s=ge.Platform.select({web:Object(ge.useCallback)(e=>e?i:null,[]),native:i}),u=Object(ge.useMemo)(()=>{const t=t=>n=>{e({[t]:n})};return{autoplay:t("autoplay"),loop:t("loop"),muted:t("muted"),controls:t("controls"),playsInline:t("playsInline")}},[]),d=Object(ge.useCallback)(t=>{e({preload:t})},[]);return Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Autoplay"),onChange:u.autoplay,checked:n,help:s}),Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Loop"),onChange:u.loop,checked:r}),Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Muted"),onChange:u.muted,checked:a}),Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Playback controls"),onChange:u.controls,checked:o}),Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Play inline"),onChange:u.playsInline,checked:c}),Object(ge.createElement)(Ee.SelectControl,{label:Object(pe.__)("Preload"),value:l,onChange:d,options:Ts,hideCancelButton:!0}))},Ps=n("rH4q");const Ms=["text/vtt"],Ns="subtitles",Rs=[{label:Object(pe.__)("Subtitles"),value:"subtitles"},{label:Object(pe.__)("Captions"),value:"captions"},{label:Object(pe.__)("Descriptions"),value:"descriptions"},{label:Object(pe.__)("Chapters"),value:"chapters"},{label:Object(pe.__)("Metadata"),value:"metadata"}],Vs=Object(ge.createElement)(Ee.SVG,{width:"18",height:"14",viewBox:"0 0 18 14",role:"img",fill:"none"},Object(ge.createElement)(Ee.Rect,{x:"0.75",y:"0.75",width:"16.5",height:"12.5",rx:"1.25",stroke:"black",strokeWidth:"1.5",fill:"none"}),Object(ge.createElement)(Ee.Path,{d:"M3 7H15",stroke:"black",strokeWidth:"1.5"}),Object(ge.createElement)(Ee.Path,{d:"M3 10L15 10",stroke:"black",strokeWidth:"1.5"}));function Hs({tracks:e,onEditPress:t}){let n;return n=0===e.length?Object(ge.createElement)("p",{className:"block-library-video-tracks-editor__tracks-informative-message"},Object(pe.__)("Tracks can be subtitles, captions, chapters, or descriptions. They help make your content more accessible to a wider range of users.")):e.map((e,n)=>Object(ge.createElement)("div",{key:n,className:"block-library-video-tracks-editor__track-list-track"},Object(ge.createElement)("span",null,e.label," "),Object(ge.createElement)(Ee.Button,{isTertiary:!0,onClick:()=>t(n),"aria-label":Object(pe.sprintf)(Object(pe.__)("Edit %s"),e.label)},Object(pe.__)("Edit")))),Object(ge.createElement)(Ee.MenuGroup,{label:Object(pe.__)("Text tracks"),className:"block-library-video-tracks-editor__track-list"},n)}function Ls({track:e,onChange:t,onClose:n,onRemove:o}){const{src:r="",label:a="",srcLang:c="",kind:l=Ns}=e,i=r.startsWith("blob:")?"":r.substring(r.lastIndexOf("/")+1);return Object(ge.createElement)(Ee.NavigableMenu,null,Object(ge.createElement)("div",{className:"block-library-video-tracks-editor__single-track-editor"},Object(ge.createElement)("span",{className:"block-library-video-tracks-editor__single-track-editor-edit-track-label"},Object(pe.__)("Edit track")),Object(ge.createElement)("span",null,Object(pe.__)("File"),": ",Object(ge.createElement)("b",null,i)),Object(ge.createElement)("div",{className:"block-library-video-tracks-editor__single-track-editor-label-language"},Object(ge.createElement)(Ee.TextControl,{autoFocus:!0,onChange:n=>t({...e,label:n}),label:Object(pe.__)("Label"),value:a,help:Object(pe.__)("Title of track")}),Object(ge.createElement)(Ee.TextControl,{onChange:n=>t({...e,srcLang:n}),label:Object(pe.__)("Source language"),value:c,help:Object(pe.__)("Language tag (en, fr, etc.)")})),Object(ge.createElement)(Ee.SelectControl,{className:"block-library-video-tracks-editor__single-track-editor-kind-select",options:Rs,value:l,label:Object(pe.__)("Kind"),onChange:n=>{t({...e,kind:n})}}),Object(ge.createElement)("div",{className:"block-library-video-tracks-editor__single-track-editor-buttons-container"},Object(ge.createElement)(Ee.Button,{isSecondary:!0,onClick:()=>{const o={};let r=!1;""===a&&(o.label=Object(pe.__)("English"),r=!0),""===c&&(o.srcLang="en",r=!0),void 0===e.kind&&(o.kind=Ns,r=!0),r&&t({...e,...o}),n()}},Object(pe.__)("Close")),Object(ge.createElement)(Ee.Button,{isDestructive:!0,isLink:!0,onClick:o},Object(pe.__)("Remove track")))))}function Is({tracks:e=[],onChange:t}){const n=Object(Le.useSelect)(e=>e(de.store).getSettings().mediaUpload,[]),[o,r]=Object(ge.useState)(null);return n?Object(ge.createElement)(Ee.Dropdown,{contentClassName:"block-library-video-tracks-editor",renderToggle:({isOpen:e,onToggle:t})=>Object(ge.createElement)(Ee.ToolbarButton,{label:Object(pe.__)("Text tracks"),showTooltip:!0,"aria-expanded":e,"aria-haspopup":"true",onClick:t,icon:Vs}),renderContent:({})=>null!==o?Object(ge.createElement)(Ls,{track:e[o],onChange:n=>{const r=[...e];r[o]=n,t(r)},onClose:()=>r(null),onRemove:()=>{t(e.filter((e,t)=>t!==o)),r(null)}}):Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(Ee.NavigableMenu,null,Object(ge.createElement)(Hs,{tracks:e,onEditPress:r}),Object(ge.createElement)(Ee.MenuGroup,{className:"block-library-video-tracks-editor__add-tracks-container",label:Object(pe.__)("Add tracks")},Object(ge.createElement)(de.MediaUpload,{onSelect:({url:n})=>{const o=e.length;t([...e,{src:n}]),r(o)},allowedTypes:Ms,render:({open:e})=>Object(ge.createElement)(Ee.MenuItem,{icon:Ps.a,onClick:e},Object(pe.__)("Open Media Library"))}),Object(ge.createElement)(de.MediaUploadCheck,null,Object(ge.createElement)(Ee.FormFileUpload,{onChange:o=>{const a=o.target.files,c=e.length;n({allowedTypes:Ms,filesList:a,onFileChange:([{url:n}])=>{const o=[...e];o[c]||(o[c]={}),o[c]={...e[c],src:n},t(o),r(c)}})},accept:".vtt,text/vtt",render:({openFileDialog:e})=>Object(ge.createElement)(Ee.MenuItem,{icon:Fe.a,onClick:()=>{e()}},Object(pe.__)("Upload"))})))))}):null}function As({tracks:e=[]}){return e.map(e=>Object(ge.createElement)("track",Object(ke.a)({key:e.src},e)))}const Ds=["video"],Fs=["image"];var Gs=Object(Ee.withNotices)((function e({isSelected:t,noticeUI:n,attributes:o,className:r,setAttributes:a,insertBlocksAfter:c,onReplace:l,noticeOperations:i}){const s=Object(Ie.useInstanceId)(e),u=Object(ge.useRef)(),d=Object(ge.useRef)(),{id:m,caption:b,controls:p,poster:g,src:h,tracks:v}=o,O=!m&&Object(He.isBlobURL)(h),j=Object(Le.useSelect)(e=>e(de.store).getSettings().mediaUpload);function f(e){e&&e.url?a({src:e.url,id:e.id}):a({src:void 0,id:void 0})}function y(e){if(e!==h){const t=Ke({attributes:{url:e}});if(void 0!==t)return void l(t);a({src:e,id:void 0})}}function w(e){i.removeAllNotices(),i.createErrorNotice(e)}Object(ge.useEffect)(()=>{if(!m&&Object(He.isBlobURL)(h)){const e=Object(He.getBlobByURL)(h);e&&j({filesList:[e],onFileChange:([{url:e}])=>{a({src:e})},onError:e=>{i.createErrorNotice(e)},allowedTypes:Ds})}},[]),Object(ge.useEffect)(()=>{u.current&&u.current.load()},[g]);const _=je()(r,{"is-transient":O}),k=Object(de.useBlockProps)({className:_});if(!h)return Object(ge.createElement)("div",k,Object(ge.createElement)(de.MediaPlaceholder,{icon:Object(ge.createElement)(de.BlockIcon,{icon:Bs}),onSelect:f,onSelectURL:y,accept:"video/*",allowedTypes:Ds,value:o,notices:n,onError:w}));const E="video-block__poster-image-description-"+s;return Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.BlockControls,{group:"block"},Object(ge.createElement)(Is,{tracks:v,onChange:e=>{a({tracks:e})}})),Object(ge.createElement)(de.BlockControls,{group:"other"},Object(ge.createElement)(de.MediaReplaceFlow,{mediaId:m,mediaURL:h,allowedTypes:Ds,accept:"video/*",onSelect:f,onSelectURL:y,onError:w})),Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Video settings")},Object(ge.createElement)(zs,{setAttributes:a,attributes:o}),Object(ge.createElement)(de.MediaUploadCheck,null,Object(ge.createElement)(Ee.BaseControl,{className:"editor-video-poster-control"},Object(ge.createElement)(Ee.BaseControl.VisualLabel,null,Object(pe.__)("Poster image")),Object(ge.createElement)(de.MediaUpload,{title:Object(pe.__)("Select poster image"),onSelect:function(e){a({poster:e.url})},allowedTypes:Fs,render:({open:e})=>Object(ge.createElement)(Ee.Button,{isPrimary:!0,onClick:e,ref:d,"aria-describedby":E},g?Object(pe.__)("Replace"):Object(pe.__)("Select"))}),Object(ge.createElement)("p",{id:E,hidden:!0},g?Object(pe.sprintf)(Object(pe.__)("The current poster image url is %s"),g):Object(pe.__)("There is no poster image currently selected")),!!g&&Object(ge.createElement)(Ee.Button,{onClick:function(){a({poster:""}),this.posterImageButton.current.focus()},isTertiary:!0},Object(pe.__)("Remove")))))),Object(ge.createElement)("figure",k,Object(ge.createElement)(Ee.Disabled,{isDisabled:!t},Object(ge.createElement)("video",{controls:p,poster:g,src:h,ref:u},Object(ge.createElement)(As,{tracks:v}))),O&&Object(ge.createElement)(Ee.Spinner,null),(!de.RichText.isEmpty(b)||t)&&Object(ge.createElement)(de.RichText,{tagName:"figcaption","aria-label":Object(pe.__)("Video caption text"),placeholder:Object(pe.__)("Add caption"),value:b,onChange:e=>a({caption:e}),inlineToolbar:!0,__unstableOnSplitAtEnd:()=>c(Object(me.createBlock)("core/paragraph"))})))}));var qs={from:[{type:"files",isMatch:e=>1===e.length&&0===e[0].type.indexOf("video/"),transform(e){const t=e[0];return Object(me.createBlock)("core/video",{src:Object(He.createBlobURL)(t)})}},{type:"shortcode",tag:"video",attributes:{src:{type:"string",shortcode:({named:{src:e,mp4:t,m4v:n,webm:o,ogv:r,flv:a}})=>e||t||n||o||r||a},poster:{type:"string",shortcode:({named:{poster:e}})=>e},loop:{type:"string",shortcode:({named:{loop:e}})=>e},autoplay:{type:"string",shortcode:({named:{autoplay:e}})=>e},preload:{type:"string",shortcode:({named:{preload:e}})=>e}}}]};const Us={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:Ws}=Us,$s={icon:Bs,example:{attributes:{src:"https://upload.wikimedia.org/wikipedia/commons/c/ca/Wood_thrush_in_Central_Park_switch_sides_%2816510%29.webm",caption:Object(pe.__)("Wood thrush singing in Central Park, NYC.")}},transforms:qs,edit:Gs,save:function({attributes:e}){const{autoplay:t,caption:n,controls:o,loop:r,muted:a,poster:c,preload:l,src:i,playsInline:s,tracks:u}=e;return Object(ge.createElement)("figure",de.useBlockProps.save(),i&&Object(ge.createElement)("video",{autoPlay:t,controls:o,loop:r,muted:a,poster:c,preload:"metadata"!==l?l:void 0,src:i,playsInline:s},Object(ge.createElement)(As,{tracks:u})),!de.RichText.isEmpty(n)&&Object(ge.createElement)(de.RichText.Content,{tagName:"figcaption",value:n}))}};var Zs=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.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 Qs=Object(Le.withSelect)(e=>({taxonomies:e(ue.store).getTaxonomies({per_page:-1})}))((function({attributes:e,setAttributes:t,taxonomies:n}){const{taxonomy:o,showTagCounts:r}=e,a=Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Tag Cloud settings")},Object(ge.createElement)(Ee.SelectControl,{label:Object(pe.__)("Taxonomy"),options:[{label:Object(pe.__)("- Select -"),value:"",disabled:!0},...Object(be.map)(Object(be.filter)(n,"show_cloud"),e=>({value:e.slug,label:e.name}))],value:o,onChange:e=>t({taxonomy:e})}),Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Show post counts"),checked:r,onChange:()=>t({showTagCounts:!r})})));return Object(ge.createElement)(ge.Fragment,null,a,Object(ge.createElement)("div",Object(de.useBlockProps)(),Object(ge.createElement)(Kn.a,{key:"tag-cloud",block:"core/tag-cloud",attributes:e})))}));const Js={apiVersion:2,name:"core/tag-cloud",title:"Tag Cloud",category:"widgets",description:"A cloud of your most used tags.",textdomain:"default",attributes:{taxonomy:{type:"string",default:"post_tag"},showTagCounts:{type:"boolean",default:!1}},supports:{html:!1,align:!0},editorStyle:"wp-block-tag-cloud-editor"},{name:Ys}=Js,Ks={icon:Zs,example:{},edit:Qs};var Xs=Object(ge.createElement)(he.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(he.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 eu=({clientId:e})=>{const{replaceBlocks:t}=Object(Le.useDispatch)(de.store),n=Object(Le.useSelect)(t=>t(de.store).getBlock(e),[e]);return Object(ge.createElement)(Ee.ToolbarButton,{onClick:()=>t(n.clientId,Object(me.rawHandler)({HTML:Object(me.serialize)(n)}))},Object(pe.__)("Convert to blocks"))};const{wp:tu}=window;const nu={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:ou}=nu,ru={icon:Xs,edit:function({clientId:e,attributes:{content:t},setAttributes:n,onReplace:o}){const r=Object(ge.useRef)(!1);return Object(ge.useEffect)(()=>{if(!r.current)return;const n=window.tinymce.get("editor-"+e);(null==n?void 0:n.getContent())!==t&&n.setContent(t||"")},[t]),Object(ge.useEffect)(()=>{const{baseURL:a,suffix:c}=window.wpEditorL10n.tinymce;function l(e){let r;t&&e.on("loadContent",()=>e.setContent(t)),e.on("blur",()=>{r=e.selection.getBookmark(2,!0);const t=document.querySelector(".interface-interface-skeleton__content"),o=t.scrollTop;return n({content:e.getContent()}),e.once("focus",()=>{r&&(e.selection.moveToBookmark(r),t.scrollTop!==o&&(t.scrollTop=o))}),!1}),e.on("mousedown touchstart",()=>{r=null});const a=Object(be.debounce)(()=>{const t=e.getContent();t!==e._lastChange&&(e._lastChange=t,n({content:t}))},250);e.on("Paste Change input Undo Redo",a),e.on("remove",a.cancel),e.on("keydown",t=>{an.isKeyboardEvent.primary(t,"z")&&t.stopPropagation(),t.keyCode!==an.BACKSPACE&&t.keyCode!==an.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)||(o([]),t.preventDefault(),t.stopImmediatePropagation());const{altKey:n}=t;n&&t.keyCode===an.F10&&t.stopPropagation()}),e.on("init",()=>{const t=e.getBody();t.ownerDocument.activeElement===t&&(t.blur(),e.focus())})}function i(){const{settings:t}=window.wpEditorL10n.tinymce;tu.oldEditor.initialize("editor-"+e,{tinymce:{...t,inline:!0,content_css:!1,fixed_toolbar_container:"#toolbar-"+e,setup:l}})}function s(){"complete"===document.readyState&&i()}return r.current=!0,window.tinymce.EditorManager.overrideDefaults({base_url:a,suffix:c}),"complete"===document.readyState?i():document.addEventListener("readystatechange",s),()=>{document.removeEventListener("readystatechange",s),tu.oldEditor.remove("editor-"+e)}},[]),Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.BlockControls,null,Object(ge.createElement)(Ee.ToolbarGroup,null,Object(ge.createElement)(eu,{clientId:e}))),Object(ge.createElement)("div",Object(de.useBlockProps)(),Object(ge.createElement)("div",{key:"toolbar",id:"toolbar-"+e,className:"block-library-classic__toolbar",onClick:function(){const t=window.tinymce.get("editor-"+e);t&&t.focus()},"data-placeholder":Object(pe.__)("Classic"),onKeyDown:function(e){e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()}}),Object(ge.createElement)("div",{key:"editor",id:"editor-"+e,className:"wp-block-freeform block-library-rich-text__tinymce"})))},save:function({attributes:e}){const{content:t}=e;return Object(ge.createElement)(ge.RawHTML,null,t)}};var au=Object(ge.createElement)(he.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(he.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 cu=[{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},save:e=>{const{attributes:{iconBackgroundColorValue:t,iconColorValue:n,itemsJustification:o,size:r}}=e,a=je()(r,{"has-icon-color":n,"has-icon-background-color":t,["items-justified-"+o]:o}),c={"--wp--social-links--icon-color":n,"--wp--social-links--icon-background-color":t};return Object(ge.createElement)("ul",de.useBlockProps.save({className:a,style:c}),Object(ge.createElement)(de.InnerBlocks.Content,null))}}];const lu=["core/social-link"],iu=[{name:Object(pe.__)("Small"),value:"has-small-icon-size"},{name:Object(pe.__)("Normal"),value:"has-normal-icon-size"},{name:Object(pe.__)("Large"),value:"has-large-icon-size"},{name:Object(pe.__)("Huge"),value:"has-huge-icon-size"}];var su=Object(de.withColors)({iconColor:"icon-color",iconBackgroundColor:"icon-background-color"})((function(e){var t;const{attributes:n,iconBackgroundColor:o,iconColor:r,isSelected:a,setAttributes:c,setIconBackgroundColor:l,setIconColor:i}=e,{iconBackgroundColorValue:s,iconColorValue:u,itemsJustification:d,openInNewTab:m,size:b}=n,p=(null===(t=n.className)||void 0===t?void 0:t.indexOf("is-style-logos-only"))>=0;Object(ge.useEffect)(()=>{p&&c({iconBackgroundColor:void 0,customIconBackgroundColor:void 0,iconBackgroundColorValue:void 0})},[p,c]);const g=Object(ge.createElement)("li",{className:"wp-block-social-links__social-placeholder"},Object(ge.createElement)("div",{className:"wp-social-link"}),Object(ge.createElement)("div",{className:"wp-block-social-links__social-placeholder-icons"},Object(ge.createElement)("div",{className:"wp-social-link wp-social-link-twitter"}),Object(ge.createElement)("div",{className:"wp-social-link wp-social-link-facebook"}),Object(ge.createElement)("div",{className:"wp-social-link wp-social-link-instagram"}))),h=Object(ge.createElement)("li",{className:"wp-block-social-links__social-prompt"},Object(pe.__)("Click plus to add")),v=je()(b,{"has-icon-color":r.color||u,"has-icon-background-color":o.color||s,["items-justified-"+d]:d}),O=Object(de.useBlockProps)({className:v}),j=Object(de.__experimentalUseInnerBlocksProps)(O,{allowedBlocks:lu,orientation:"horizontal",placeholder:a?h:g,templateLock:!1,__experimentalAppenderTagName:"li"});return Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.BlockControls,{group:"block"},Object(ge.createElement)(de.JustifyContentControl,{allowedControls:["left","center","right","space-between"],value:d,onChange:e=>c({itemsJustification:e}),popoverProps:{position:"bottom right",isAlternate:!0}})),Object(ge.createElement)(de.BlockControls,{group:"other"},Object(ge.createElement)(Ee.ToolbarDropdownMenu,{label:Object(pe.__)("Size"),text:Object(pe.__)("Size"),icon:null,popoverProps:{position:"bottom right",isAlternate:!0}},({onClose:e})=>Object(ge.createElement)(Ee.MenuGroup,null,iu.map(t=>Object(ge.createElement)(Ee.MenuItem,{icon:(b===t.value||!b&&"has-normal-icon-size"===t.value)&&Nt.a,isSelected:b===t.value,key:t.value,onClick:()=>{c({size:t.value})},onClose:e,role:"menuitemradio"},t.name))))),Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Link settings")},Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Open links in new tab"),checked:m,onChange:()=>c({openInNewTab:!m})})),Object(ge.createElement)(de.PanelColorSettings,{title:Object(pe.__)("Color"),colorSettings:[{value:r.color||u,onChange:e=>{i(e),c({iconColorValue:e})},label:Object(pe.__)("Icon color")},!p&&{value:o.color||s,onChange:e=>{l(e),c({iconBackgroundColorValue:e})},label:Object(pe.__)("Icon background color")}]}),!p&&Object(ge.createElement)(de.ContrastChecker,{textColor:u,backgroundColor:s,isLargeText:!1})),Object(ge.createElement)("ul",j))}));const uu={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},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:du}=uu,mu={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:au,edit:su,save:function(e){const{attributes:{iconBackgroundColorValue:t,iconColorValue:n,itemsJustification:o,size:r}}=e,a=je()(r,{"has-icon-color":n,"has-icon-background-color":t,["items-justified-"+o]:o});return Object(ge.createElement)("ul",de.useBlockProps.save({className:a}),Object(ge.createElement)(de.InnerBlocks.Content,null))},deprecated:cu};var bu=n("btIw");const pu=()=>Object(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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"})),gu=[{isDefault:!0,name:"wordpress",attributes:{service:"wordpress"},title:"WordPress",icon:()=>Object(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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:pu},{name:"codepen",attributes:{service:"codepen"},title:"CodePen",icon:()=>Object(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 569 546",version:"1.1"},Object(ge.createElement)(he.Circle,{cx:"363",cy:"205",r:"205"}),Object(ge.createElement)(he.Rect,{width:"100",height:"546",x:"0",y:"0"}))},{name:"pinterest",attributes:{service:"pinterest"},title:"Pinterest",icon:()=>Object(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 128 128",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 32 32",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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"}))}];gu.forEach(e=>{e.isActive||(e.isActive=(e,t)=>e.service===t.service)});var hu=gu;var vu=({attributes:e,context:t,isSelected:n,setAttributes:o})=>{const{url:r,service:a,label:c}=e,{iconColorValue:l,iconBackgroundColorValue:i}=t,[s,u]=Object(ge.useState)(!1),d=je()("wp-social-link","wp-social-link-"+a,{"wp-social-link__is-incomplete":!r}),m=(e=>{const t=Object(be.find)(hu,{name:e});return t?t.icon:pu})(a),b=(e=>{const t=Object(be.find)(hu,{name:e});return t?t.title:Object(pe.__)("Social Icon")})(a),p=Object(de.useBlockProps)({className:d,style:{color:l,backgroundColor:i}});return Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.sprintf)(Object(pe.__)("%s label"),b),initialOpen:!1},Object(ge.createElement)(Ee.PanelRow,null,Object(ge.createElement)(Ee.TextControl,{label:Object(pe.__)("Link label"),help:Object(pe.__)("Briefly describe the link to help screen reader users."),value:c,onChange:e=>o({label:e})})))),Object(ge.createElement)("li",p,Object(ge.createElement)(Ee.Button,{onClick:()=>u(!0)},Object(ge.createElement)(m,null),n&&s&&Object(ge.createElement)(de.URLPopover,{onClose:()=>u(!1)},Object(ge.createElement)("form",{className:"block-editor-url-popover__link-editor",onSubmit:e=>{e.preventDefault(),u(!1)}},Object(ge.createElement)("div",{className:"block-editor-url-input"},Object(ge.createElement)(de.URLInput,{value:r,onChange:e=>o({url:e}),placeholder:Object(pe.__)("Enter address"),disableSuggestions:!0})),Object(ge.createElement)(Ee.Button,{icon:bu.a,label:Object(pe.__)("Apply"),type:"submit"}))))))};const Ou={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:ju}=Ou,fu={icon:au,edit:vu,variations:hu};var yu=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.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 wu=["image"],_u=({alt:e,attributes:{align:t,width:n,height:o,isLink:r,linkTarget:a},containerRef:c,isSelected:l,setAttributes:i,logoUrl:s,siteUrl:u})=>{const d=nt(c,[t]),m=Object(Ie.useViewportMatch)("medium"),b=!Object(be.includes)(["wide","full"],t)&&m,[{naturalWidth:p,naturalHeight:g},h]=Object(ge.useState)({}),{toggleSelection:v}=Object(Le.useDispatch)(de.store),O=je()("custom-logo-link",{"is-transient":Object(He.isBlobURL)(s)}),{maxWidth:j,title:f}=Object(Le.useSelect)(e=>{const{getSettings:t}=e(de.store);return{title:e(ue.store).getEditedEntityRecord("root","site").title,...Object(be.pick)(t(),["imageSizes","maxWidth"])}});const y=Object(ge.createElement)("img",{className:"custom-logo",src:s,alt:e,onLoad:e=>{h(Object(be.pick)(e.target,["naturalWidth","naturalHeight"]))}});let w,_=y;if(r&&(_=Object(ge.createElement)("a",{href:u,className:O,rel:"home",title:f,onClick:e=>e.preventDefault()},y)),d&&p&&g){w=p>d?d:p}if(!b||!w)return Object(ge.createElement)("div",{style:{width:n,height:o}},_);const k=n||w,E=p/g,C=k/E,x=p<g?20:20*E,S=g<p?20:20/E,B=2.5*j;let T=!1,z=!1;return"center"===t?(T=!0,z=!0):Object(pe.isRTL)()?"left"===t?T=!0:z=!0:"right"===t?z=!0:T=!0,Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Settings")},Object(ge.createElement)(Ee.RangeControl,{label:Object(pe.__)("Image width"),onChange:e=>i({width:e}),min:x,max:B,initialPosition:Math.min(120,B),value:n||"",disabled:!b}),Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Link image to home"),onChange:()=>i({isLink:!r}),checked:r}),r&&Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Open in new tab"),onChange:e=>i({linkTarget:e?"_blank":"_self"}),checked:"_blank"===a})))),Object(ge.createElement)(Ee.ResizableBox,{size:{width:n,height:o},showHandle:l,minWidth:x,maxWidth:B,minHeight:S,maxHeight:B/E,lockAspectRatio:!0,enable:{top:!1,right:T,bottom:!0,left:z},onResizeStart:function(){v(!1)},onResizeStop:(e,t,n,o)=>{v(!0),i({width:parseInt(k+o.width,10),height:parseInt(C+o.height,10)})}},_))};const ku={apiVersion:2,name:"core/site-logo",title:"Site Logo",category:"layout",description:"Useful for displaying a graphic mark, design, or symbol to represent the site. Once a site logo is set, it can be reused in different places and templates. It should not be confused with the site icon, which is the small image used in the dashboard, browser tabs, public search results, etc, to help recognize a site.",textdomain:"default",attributes:{align:{type:"string"},width:{type:"number"},isLink:{type:"boolean",default:!0},linkTarget:{type:"string",default:"_self"}},supports:{html:!1,align:!0,alignWide:!1},styles:[{name:"default",label:"Default",isDefault:!0},{name:"rounded",label:"Rounded"}],editorStyle:"wp-block-site-logo-editor",style:"wp-block-site-logo"},{name:Eu}=ku,Cu={icon:yu,edit:function({attributes:e,className:t,setAttributes:n,isSelected:o}){const{width:r}=e,[a,c]=Object(ge.useState)(),[l,i]=Object(ge.useState)(),s=Object(ge.useRef)(),{mediaItemData:u,siteLogo:d,url:m}=Object(Le.useSelect)(e=>{const t=e(ue.store).getEditedEntityRecord("root","site"),n=t.site_logo?e(ue.store).getEntityRecord("root","media",t.site_logo):null;return{mediaItemData:n&&{url:n.source_url,alt:n.alt_text},siteLogo:t.site_logo,url:t.url}},[]),{editEntityRecord:b}=Object(Le.useDispatch)(ue.store),p=e=>b("root","site",void 0,{site_logo:e});let g=null;u&&(g=u.alt,a!==u.url&&c(u.url));const h=e=>{if(e)return!e.id&&e.url?(p(void 0),i(null),void c(e.url)):void p(e.id)},v=e=>{i(e[2]?e[2]:null)},O=a&&Object(ge.createElement)(de.BlockControls,{group:"other"},Object(ge.createElement)(de.MediaReplaceFlow,{mediaURL:a,allowedTypes:wu,accept:"image/*",onSelect:h,onError:v})),j=Object(pe.__)("Site Logo");let f;void 0===d&&(f=Object(ge.createElement)(Ee.Spinner,null)),a&&(f=Object(ge.createElement)(_u,{alt:g,attributes:e,className:t,containerRef:s,isSelected:o,setAttributes:n,logoUrl:a,siteUrl:m}));const y=Object(ge.createElement)(de.MediaPlaceholder,{icon:Object(ge.createElement)(de.BlockIcon,{icon:yu}),labels:{title:j,instructions:Object(pe.__)("Upload an image, or pick one from your media library, to be your site logo")},onSelect:h,accept:"image/*",allowedTypes:wu,mediaPreview:f,notices:l&&Object(ge.createElement)(Ee.Notice,{status:"error",isDismissible:!1},l),onError:v}),w=je()(t,{"is-default-size":!r}),_=Object(de.useBlockProps)({ref:s,className:w});return Object(ge.createElement)("div",_,O,a&&f,!a&&y)}};var xu=Object(ge.createElement)(Ee.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24"},Object(ge.createElement)(Ee.Path,{fill:"none",d:"M0 0h24v24H0z"}),Object(ge.createElement)(Ee.Path,{d:"M4 9h16v2H4V9zm0 4h10v2H4v-2z"}));const Su={apiVersion:2,name:"core/site-tagline",title:"Site Tagline",category:"design",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:{html:!1,color:{gradients:!0},spacing:{margin:!0,padding:!0},fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalTextTransform:!0}},{name:Bu}=Su,Tu={icon:xu,edit:function({attributes:e,setAttributes:t}){const{textAlign:n}=e,[o,r]=Object(ue.useEntityProp)("root","site","description"),a=Object(de.useBlockProps)({className:je()({["has-text-align-"+n]:n})});return Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.BlockControls,{group:"block"},Object(ge.createElement)(de.AlignmentControl,{onChange:e=>t({textAlign:e}),value:n})),Object(ge.createElement)(de.RichText,Object(ke.a)({allowedFormats:[],onChange:r,"aria-label":Object(pe.__)("Site tagline text"),placeholder:Object(pe.__)("Write site tagline…"),tagName:"p",value:o},a)))}};var zu=Object(ge.createElement)(he.SVG,{xmlns:"https://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.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 Pu({level:e,isPressed:t=!1}){if(0===e)return ve;return Object(ge.createElement)(Ee.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",isPressed:t},Object(ge.createElement)(Ee.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"}[e]}))}function Mu({level:e,onChange:t}){const n=[1,2,3,4,5,6,0].map(n=>{const o=n===e;return{icon:Object(ge.createElement)(Pu,{level:n,isPressed:o}),title:0===n?Object(pe.__)("Paragraph"):Object(pe.sprintf)(Object(pe.__)("Heading %d"),n),isActive:o,onClick:()=>t(n)}});return Object(ge.createElement)(Ee.ToolbarDropdownMenu,{label:Object(pe.__)("Change heading level"),icon:Object(ge.createElement)(Pu,{level:e}),controls:n})}const Nu={apiVersion:2,name:"core/site-title",title:"Site Title",category:"design",description:"Displays and allows editing the name of the site. The site title usually appears in the browser title bar, in search results, and more. Also available in Settings > General.",textdomain:"default",attributes:{level:{type:"number",default:1},textAlign:{type:"string"}},supports:{align:["wide","full"],html:!1,color:{gradients:!0,text:!1,link:!0},spacing:{padding:!0,margin:!0},fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalTextTransform:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0}},{name:Ru}=Nu,Vu={icon:zu,edit:function({attributes:e,setAttributes:t,insertBlocksAfter:n}){const{level:o,textAlign:r}=e,[a,c]=Object(ue.useEntityProp)("root","site","title"),l=0===o?"p":"h"+o,i=Object(de.useBlockProps)({className:je()({["has-text-align-"+r]:r})});return Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.BlockControls,{group:"block"},Object(ge.createElement)(Mu,{level:o,onChange:e=>t({level:e})}),Object(ge.createElement)(de.AlignmentControl,{value:r,onChange:e=>{t({textAlign:e})}})),Object(ge.createElement)(l,i,Object(ge.createElement)(de.RichText,{tagName:"a",style:{display:"inline-block"},"aria-label":Object(pe.__)("Site title text"),placeholder:Object(pe.__)("Write site title…"),value:a,onChange:c,allowedFormats:[],disableLineBreaks:!0,__unstableOnSplitAtEnd:()=>n(Object(me.createBlock)(Object(me.getDefaultBlockName)()))})))}};var Hu=Object(ge.createElement)(he.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(he.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 Lu=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.Path,{d:"M17 4h-2v4.5h2V7h3V5.5h-3V4zM4 5.5h9V7H4V5.5zm16 5.75h-9v1.5h9v-1.5zm-16 0h3V10h2v4.25H7v-1.5H4v-1.5zM9 17H4v1.5h5V17zm4 0h7v1.5h-7V20h-2v-4.25h2V17z"}));function Iu({attributes:{query:e,displayLayout:t},setQuery:n,setDisplayLayout:o}){const r=Object(Ie.useInstanceId)(Iu,"blocks-query-pagination-max-page-input"),a=[{icon:wc,title:Object(pe.__)("List view"),onClick:()=>o({type:"list"}),isActive:"list"===(null==t?void 0:t.type)},{icon:_c.a,title:Object(pe.__)("Grid view"),onClick:()=>o({type:"flex",columns:(null==t?void 0:t.columns)||3}),isActive:"flex"===(null==t?void 0:t.type)}];return Object(ge.createElement)(ge.Fragment,null,!e.inherit&&Object(ge.createElement)(Ee.ToolbarGroup,null,Object(ge.createElement)(Ee.Dropdown,{contentClassName:"block-library-query-toolbar__popover",renderToggle:({onToggle:e})=>Object(ge.createElement)(Ee.ToolbarButton,{icon:Lu,label:Object(pe.__)("Display settings"),onClick:e}),renderContent:()=>Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(Ee.BaseControl,null,Object(ge.createElement)(Ee.__experimentalNumberControl,{__unstableInputWidth:"60px",label:Object(pe.__)("Items per Page"),labelPosition:"edge",min:1,max:100,onChange:e=>{var t;return n({perPage:null!==(t=+e)&&void 0!==t?t:-1})},step:"1",value:e.perPage,isDragEnabled:!1})),Object(ge.createElement)(Ee.BaseControl,null,Object(ge.createElement)(Ee.__experimentalNumberControl,{__unstableInputWidth:"60px",label:Object(pe.__)("Offset"),labelPosition:"edge",min:0,max:100,onChange:e=>n({offset:+e}),step:"1",value:e.offset,isDragEnabled:!1})),Object(ge.createElement)(Ee.BaseControl,{id:r,help:Object(pe.__)("Limit the pages you want to show, even if the query has more results. To show all pages use 0 (zero).")},Object(ge.createElement)(Ee.__experimentalNumberControl,{id:r,__unstableInputWidth:"60px",label:Object(pe.__)("Max page to show"),labelPosition:"edge",min:0,onChange:e=>n({pages:+e}),step:"1",value:e.pages,isDragEnabled:!1})))})),Object(ge.createElement)(Ee.ToolbarGroup,{controls:a}))}const Au=e=>({terms:e,...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:[]})});const Du=[{label:Object(pe.__)("Include"),value:""},{label:Object(pe.__)("Exclude"),value:"exclude"},{label:Object(pe.__)("Only"),value:"only"}];function Fu({attributes:{query:e,displayLayout:t},setQuery:n,setDisplayLayout:o}){var r,a;const{order:c,orderBy:l,author:i,postType:s,sticky:u,inherit:d}=e,[m,b]=Object(ge.useState)(!0),[p,g]=Object(ge.useState)(!0),[h,v]=Object(ge.useState)("post"===s),{postTypesTaxonomiesMap:O,postTypesSelectOptions:j}=(()=>{const{postTypes:e}=Object(Le.useSelect)(e=>{var t;const{getPostTypes:n}=e(ue.store),o=["attachment"];return{postTypes:null===(t=n({per_page:-1}))||void 0===t?void 0:t.filter(({viewable:e,slug:t})=>e&&!o.includes(t))}},[]);return{postTypesTaxonomiesMap:Object(ge.useMemo)(()=>{if(null!=e&&e.length)return e.reduce((e,t)=>(e[t.slug]=t.taxonomies,e),{})},[e]),postTypesSelectOptions:Object(ge.useMemo)(()=>(e||[]).map(({labels:e,slug:t})=>({label:e.singular_name,value:t})),[e])}})(),{authorList:f,categories:y,tags:w}=Object(Le.useSelect)(e=>{const{getEntityRecords:t}=e(ue.store),n={per_page:100},o=t("taxonomy","category",n),r=t("taxonomy","post_tag",n);return{categories:Au(o),tags:Au(r),authorList:t("root","user",{per_page:-1})}},[]);Object(ge.useEffect)(()=>{if(!O)return;const e=O[s];b(e.includes("category")),g(e.includes("post_tag"))},[s,O]),Object(ge.useEffect)(()=>{v("post"===s)},[s]);const _=(e,t)=>o=>{const r=Array.from(o.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));n({[t]:r})},k=_(y,"categoryIds"),E=_(w,"tagIds"),[C,x]=Object(ge.useState)(e.search),S=Object(ge.useCallback)(Object(be.debounce)(()=>{e.search!==C&&n({search:C})},250),[C,e.search]);Object(ge.useEffect)(()=>(S(),S.cancel),[C,S]);const B=t=>{const n={category:{queryProp:"categoryIds",terms:y},post_tag:{queryProp:"tagIds",terms:w}}[t];return(e[n.queryProp]||[]).reduce((e,t)=>{const o=n.terms.mapById[t];return o&&e.push({id:t,value:o.name}),e},[])};return Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Settings")},Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Inherit query from URL"),help:Object(pe.__)("Disable the option to customize the query arguments. Leave enabled to inherit the global query depending on the URL."),checked:!!d,onChange:e=>n({inherit:!!e})}),!d&&Object(ge.createElement)(Ee.SelectControl,{options:j,value:s,label:Object(pe.__)("Post Type"),onChange:e=>{const t={postType:e};O[e].includes("category")||(t.categoryIds=[]),O[e].includes("post_tag")||(t.tagIds=[]),"post"!==e&&(t.sticky=""),n(t)}}),"flex"===(null==t?void 0:t.type)&&Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(Ee.RangeControl,{label:Object(pe.__)("Columns"),value:t.columns,onChange:e=>o({columns:e}),min:2,max:Math.max(6,t.columns)}),t.columns>6&&Object(ge.createElement)(Ee.Notice,{status:"warning",isDismissible:!1},Object(pe.__)("This column count exceeds the recommended amount and may cause visual breakage."))),!d&&Object(ge.createElement)(Ee.QueryControls,{order:c,orderBy:l,onOrderChange:e=>n({order:e}),onOrderByChange:e=>n({orderBy:e})}),h&&Object(ge.createElement)(Ee.SelectControl,{label:Object(pe.__)("Sticky posts"),options:Du,value:u,onChange:e=>n({sticky:e})})),!d&&Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Filters")},m&&(null==y||null===(r=y.terms)||void 0===r?void 0:r.length)>0&&Object(ge.createElement)(Ee.FormTokenField,{label:Object(pe.__)("Categories"),value:B("category"),suggestions:y.names,onChange:k}),p&&(null==w||null===(a=w.terms)||void 0===a?void 0:a.length)>0&&Object(ge.createElement)(Ee.FormTokenField,{label:Object(pe.__)("Tags"),value:B("post_tag"),suggestions:w.names,onChange:E}),Object(ge.createElement)(Ee.QueryControls,{selectedAuthorId:i,authorList:f,onAuthorChange:e=>n({author:""!==e?+e:void 0})}),Object(ge.createElement)(Ee.TextControl,{label:Object(pe.__)("Keyword"),value:C,onChange:x})))}var Gu=({clientId:e,name:t,attributes:n,setAttributes:o})=>{var r;const{blockType:a,defaultVariation:c,scopeVariations:l,allVariations:i}=Object(Le.useSelect)(e=>{const{getBlockVariations:n,getBlockType:o,getDefaultBlockVariation:r}=e(me.store);return{blockType:o(t),defaultVariation:r(t,"block"),scopeVariations:n(t,"block"),allVariations:n(t)}},[t]),{replaceInnerBlocks:s}=Object(Le.useDispatch)(de.store),u=Object(de.useBlockProps)(),d=Object(de.__experimentalGetMatchingVariation)(n,i),m=(null==d?void 0:d.icon)||(null==a||null===(r=a.icon)||void 0===r?void 0:r.src),b=(null==d?void 0:d.title)||(null==a?void 0:a.title);return Object(ge.createElement)("div",u,Object(ge.createElement)(de.__experimentalBlockVariationPicker,{icon:m,label:b,variations:l,onSelect:(t=c)=>{t.attributes&&o(t.attributes),t.innerBlocks&&s(e,Object(me.createBlocksFromInnerBlocksTemplate)(t.innerBlocks),!1)}}))};const qu=[["core/query-loop"]];function Uu({attributes:e,setAttributes:t}){const{queryId:n,query:o,displayLayout:r,tagName:a="div",layout:c={}}=e,{__unstableMarkNextChangeAsNotPersistent:l}=Object(Le.useDispatch)(de.store),i=Object(Ie.useInstanceId)(Uu),{themeSupportsLayout:s}=Object(Le.useSelect)(e=>{var t;const{getSettings:n}=e(de.store);return{themeSupportsLayout:null===(t=n())||void 0===t?void 0:t.supportsLayout}},[]),u=Object(de.useSetting)("layout")||{},d=c&&c.inherit?u:c,{contentSize:m,wideSize:b}=d,p=m||b?["wide","full"]:["left","center","right"],g=Object(de.useBlockProps)(),h=Object(de.__experimentalUseInnerBlocksProps)(g,{template:qu,__experimentalLayout:{type:"default",alignments:s?p:void 0}}),{postsPerPage:v}=Object(Le.useSelect)(e=>{const{getSettings:t}=e(de.store);return{postsPerPage:+t().postsPerPage||3}},[]);Object(ge.useEffect)(()=>{const e={};!o.perPage&&v&&(e.perPage=v),Object.keys(e).length&&(l(),O(e))},[o.perPage]),Object(ge.useEffect)(()=>{n||(l(),t({queryId:i}))},[n,i]);const O=e=>t({query:{...o,...e}}),j=e=>t({displayLayout:{...r,...e}});return Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(Fu,{attributes:e,setQuery:O,setDisplayLayout:j}),Object(ge.createElement)(de.BlockControls,null,Object(ge.createElement)(Iu,{attributes:e,setQuery:O,setDisplayLayout:j})),Object(ge.createElement)(de.InspectorAdvancedControls,null,Object(ge.createElement)(Ee.SelectControl,{label:Object(pe.__)("HTML element"),options:[{label:Object(pe.__)("Default (<div>)"),value:"div"},{label:"<main>",value:"main"},{label:"<section>",value:"section"},{label:"<aside>",value:"aside"}],value:a,onChange:e=>t({tagName:e})})),Object(ge.createElement)(a,h))}function Wu(e){const{clientId:t,name:n}=e,o=Object(de.useBlockProps)();return Object(ge.createElement)("div",o,Object(ge.createElement)(de.__experimentalBlockPatternSetup,{blockName:n,clientId:t,startBlankComponent:Object(ge.createElement)(Gu,e)}))}var $u=e=>{const{clientId:t}=e,n=Object(Le.useSelect)(e=>!!e(de.store).getBlocks(t).length,[t])?Uu:Wu;return Object(ge.createElement)(n,e)};const Zu=Object(ge.createElement)(Ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},Object(ge.createElement)(Ee.Path,{d:"M41 9H7v3h34V9zm-22 5H7v1h12v-1zM7 26h12v1H7v-1zm34-5H7v3h34v-3zM7 38h12v1H7v-1zm34-5H7v3h34v-3z"})),Qu=Object(ge.createElement)(Ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},Object(ge.createElement)(Ee.Path,{d:"M41 9H7v3h34V9zm-4 5H7v1h30v-1zm4 3H7v1h34v-1zM7 20h30v1H7v-1zm0 12h30v1H7v-1zm34 3H7v1h34v-1zM7 38h30v1H7v-1zm34-11H7v3h34v-3z"})),Ju=Object(ge.createElement)(Ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},Object(ge.createElement)(Ee.Path,{d:"M41 9H7v3h34V9zm-22 5H7v1h12v-1zm22 3H7v1h34v-1zM7 20h34v1H7v-1zm0 12h12v1H7v-1zm34 3H7v1h34v-1zM7 38h34v1H7v-1zm34-11H7v3h34v-3z"})),Yu=Object(ge.createElement)(Ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},Object(ge.createElement)(Ee.Path,{d:"M7 9h34v6H7V9zm12 8H7v1h12v-1zm18 3H7v1h30v-1zm0 18H7v1h30v-1zM7 35h12v1H7v-1zm34-8H7v6h34v-6z"}));var Ku=[{name:"posts-list",title:Object(pe.__)("Posts List"),description:Object(pe.__)("Display a list of your most recent posts, excluding sticky posts."),icon:Oc,attributes:{query:{perPage:4,pages:1,offset:0,postType:"post",categoryIds:[],tagIds:[],order:"desc",orderBy:"date",author:"",search:"",sticky:"exclude"}},scope:["inserter"]},{name:"title-date",title:Object(pe.__)("Title & Date"),icon:Zu,innerBlocks:[["core/query-loop",{},[["core/post-title"],["core/post-date"]]]],scope:["block"]},{name:"title-excerpt",title:Object(pe.__)("Title & Excerpt"),icon:Qu,innerBlocks:[["core/query-loop",{},[["core/post-title"],["core/post-excerpt"]]]],scope:["block"]},{name:"title-date-excerpt",title:Object(pe.__)("Title, Date, & Excerpt"),icon:Ju,innerBlocks:[["core/query-loop",{},[["core/post-title"],["core/post-date"],["core/post-excerpt"]]]],scope:["block"]},{name:"image-date-title",title:Object(pe.__)("Image, Date, & Title"),icon:Yu,innerBlocks:[["core/query-loop",{},[["core/post-featured-image"],["core/post-date"],["core/post-title"]]]],scope:["block"]}];var Xu=[{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},save:()=>Object(ge.createElement)(de.InnerBlocks.Content,null)}];const ed=({attributes:{query:{postType:e}={}}={}})=>{if(!e)return null;const t=Object(Ae.addQueryArgs)("post-new.php",{post_type:e});return Object(ge.createElement)("div",{className:"wp-block-query__create-new-link"},Object(ge.createInterpolateElement)(Object(pe.__)("<a>Create a new post</a> for this feed."),{a:Object(ge.createElement)("a",{href:t})}))};var td=Object(Ie.createHigherOrderComponent)(e=>t=>{const{name:n,isSelected:o}=t;return"core/query"===n&&o?Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(ed,t)),Object(ge.createElement)(e,Object(ke.a)({key:"edit"},t))):Object(ge.createElement)(e,Object(ke.a)({key:"edit"},t))},"withInspectorControls");const nd={apiVersion:2,name:"core/query",title:"Query",category:"design",description:"Displays a list of posts as a result of a query.",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:od}=nd,rd={icon:Hu,edit:$u,save:function({attributes:{tagName:e="div"}}){return Object(ge.createElement)(e,de.useBlockProps.save(),Object(ge.createElement)(de.InnerBlocks.Content,null))},variations:Ku,deprecated:Xu};Object(Ct.addFilter)("editor.BlockEdit","core/query",td);const ad=[["core/post-title"],["core/post-date"],["core/post-excerpt"]];const cd={apiVersion:2,name:"core/query-loop",title:"Query Loop",category:"design",parent:["core/query"],description:"Query loop.",textdomain:"default",usesContext:["queryId","query","queryContext","displayLayout","templateSlug"],supports:{reusable:!1,html:!1,align:!0},style:"wp-block-query-loop",editorStyle:"wp-block-query-loop-editor"},{name:ld}=cd,id={icon:Hu,edit:function({clientId:e,context:{query:{perPage:t,offset:n,categoryIds:o,postType:r,tagIds:a=[],order:c,orderBy:l,author:i,search:s,exclude:u,sticky:d,inherit:m}={},queryContext:b=[{page:1}],templateSlug:p,displayLayout:{type:g="flex",columns:h=1}={}}}){const[{page:v}]=b,[O,j]=Object(ge.useState)(),{posts:f,blocks:y}=Object(Le.useSelect)(b=>{const{getEntityRecords:g}=b(ue.store),{getBlocks:h}=b(de.store),O={offset:t?t*(v-1)+n:0,categories:o,tags:a,order:c,orderby:l};return t&&(O.per_page=t),i&&(O.author=i),s&&(O.search=s),null!=u&&u.length&&(O.exclude=u),d&&(O.sticky="only"===d),m&&null!=p&&p.startsWith("archive-")&&(O.postType=p.replace("archive-",""),r=O.postType),{posts:g("postType",r,O),blocks:h(e)}},[t,v,n,o,a,c,l,e,i,s,r,u,d,m,p]),w=Object(ge.useMemo)(()=>null==f?void 0:f.map(e=>({postType:e.type,postId:e.id})),[f]),_="flex"===g&&h>1,k=Object(de.useBlockProps)({className:je()({"is-flex-container":_,["columns-"+h]:_})}),E=Object(de.__experimentalUseInnerBlocksProps)({},{template:ad});return f?f.length?Object(ge.createElement)("ul",k,w&&w.map(e=>Object(ge.createElement)(de.BlockContextProvider,{key:e.postId,value:e},e===(O||w[0])?Object(ge.createElement)("li",E):Object(ge.createElement)("li",null,Object(ge.createElement)(de.BlockPreview,{blocks:y,__experimentalLive:!0,__experimentalOnClick:()=>j(e)}))))):Object(ge.createElement)("p",k," ",Object(pe.__)("No results found.")):Object(ge.createElement)("p",k,Object(ge.createElement)(Ee.Spinner,null))},save:function(){return Object(ge.createElement)(de.InnerBlocks.Content,null)}},sd=["archive"];var ud=Object(ge.createElement)(he.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(he.Path,{stroke:"#1E1E1E",strokeWidth:"1.5",d:"M4 19.25h9M4 15.25h16"}),Object(ge.createElement)(he.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 dd=[{isDefault:!0,name:"archive-title",title:Object(pe.__)("Archive Title"),description:Object(pe.__)("Display the archive title based on the queried object."),icon:ud,attributes:{type:"archive"},scope:["inserter"]}];dd.forEach(e=>{e.isActive||(e.isActive=(e,t)=>e.type===t.type)});var md=dd;const bd={apiVersion:2,name:"core/query-title",title:"Query Title",category:"design",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},fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0},editorStyle:"wp-block-query-title-editor"},{name:pd}=bd,gd={edit:function({attributes:{type:e,level:t,textAlign:n},setAttributes:o}){const r="h"+t,a=Object(de.useBlockProps)({className:je()({["has-text-align-"+n]:n,"wp-block-query-title__placeholder":"archive"===e})});if(!sd.includes(e))return Object(ge.createElement)("div",a,Object(ge.createElement)(de.Warning,null,Object(pe.__)("Provided type is not supported.")));let c;return"archive"===e&&(c=Object(ge.createElement)(r,a,Object(pe.__)("Archive title"))),Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.BlockControls,{group:"block"},Object(ge.createElement)(un,{selectedLevel:t,onChange:e=>o({level:e})}),Object(ge.createElement)(de.AlignmentControl,{value:n,onChange:e=>{o({textAlign:e})}})),c)},variations:md};var hd=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.Rect,{x:"4",y:"10.5",width:"6",height:"3",rx:"1.5",fill:"#000"}),Object(ge.createElement)(he.Rect,{x:"12",y:"10.5",width:"3",height:"3",rx:"1.5",fill:"#000"}),Object(ge.createElement)(he.Rect,{x:"17",y:"10.5",width:"3",height:"3",rx:"1.5",fill:"#000"}));const vd=[["core/query-pagination-previous"],["core/query-pagination-numbers"],["core/query-pagination-next"]];const Od={apiVersion:2,name:"core/query-pagination",title:"Query Pagination",category:"design",parent:["core/query"],description:"Displays a paginated navigation to next/previous set of posts, when applicable.",textdomain:"default",usesContext:["queryId","query"],supports:{align:!0,reusable:!1,html:!1,color:{gradients:!0,link:!0}},editorStyle:"wp-block-query-pagination-editor",style:"wp-block-query-pagination"},{name:jd}=Od,fd={icon:hd,edit:function(){const e=Object(de.useBlockProps)(),t=Object(de.__experimentalUseInnerBlocksProps)(e,{template:vd,allowedBlocks:["core/query-pagination-previous","core/query-pagination-numbers","core/query-pagination-next"],orientation:"horizontal"});return Object(ge.createElement)("div",t)},save:function(){return Object(ge.createElement)("div",de.useBlockProps.save(),Object(ge.createElement)(de.InnerBlocks.Content,null))}};var yd=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.Rect,{x:"6",y:"10.5",width:"3",height:"3",rx:"1.5",fill:"#000"}),Object(ge.createElement)(he.Rect,{x:"11",y:"10.5",width:"3",height:"3",rx:"1.5",fill:"#000"}),Object(ge.createElement)(he.Path,{d:"M16.5 9.5L19 12l-2.5 2.5",stroke:"#1E1E1E",strokeWidth:"1.5"}));const wd={apiVersion:2,name:"core/query-pagination-next",title:"Query Pagination Next",category:"design",parent:["core/query-pagination"],description:"Displays the next posts page link.",textdomain:"default",attributes:{label:{type:"string"}},usesContext:["queryId","query"],supports:{reusable:!1,html:!1,color:{gradients:!0,link:!0},fontSize:!0,lineHeight:!0}},{name:_d}=wd,kd={icon:yd,edit:function({attributes:{label:e},setAttributes:t}){return Object(ge.createElement)(de.PlainText,Object(ke.a)({__experimentalVersion:2,tagName:"a",style:{display:"inline-block"},"aria-label":Object(pe.__)("Next page link"),placeholder:Object(pe.__)("Next Page"),value:e,onChange:e=>t({label:e})},Object(de.useBlockProps)()))}};var Ed=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.Rect,{x:"4",y:"10.5",width:"6",height:"3",rx:"1.5",fill:"#000"}),Object(ge.createElement)(he.Path,{d:"M13.5 14v-4l-1.5.5",stroke:"#1E1E1E"}),Object(ge.createElement)(he.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 Cd=(e,t="a",n="")=>Object(ge.createElement)(t,{className:"page-numbers "+n},e);const xd={apiVersion:2,name:"core/query-pagination-numbers",title:"Query Pagination 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:Sd}=xd,Bd={icon:Ed,edit:function(){const e=Object(ge.createElement)(ge.Fragment,null,Cd(1),Cd(2),Cd(3,"span","current"),Cd(4),Cd(5),Cd("...","span","dots"),Cd(8));return Object(ge.createElement)("div",Object(de.useBlockProps)(),e)}};var Td=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.Rect,{x:"18",y:"13.5",width:"3",height:"3",rx:"1.5",transform:"rotate(-180 18 13.5)",fill:"#000"}),Object(ge.createElement)(he.Rect,{x:"13",y:"13.5",width:"3",height:"3",rx:"1.5",transform:"rotate(-180 13 13.5)",fill:"#000"}),Object(ge.createElement)(he.Path,{d:"M7.5 14.5L5 12l2.5-2.5",stroke:"#1E1E1E",strokeWidth:"1.5"}));const zd={apiVersion:2,name:"core/query-pagination-previous",title:"Query Pagination Previous",category:"design",parent:["core/query-pagination"],description:"Displays the previous posts page link.",textdomain:"default",attributes:{label:{type:"string"}},usesContext:["queryId","query"],supports:{reusable:!1,html:!1,color:{gradients:!0,link:!0},fontSize:!0,lineHeight:!0}},{name:Pd}=zd,Md={icon:Td,edit:function({attributes:{label:e},setAttributes:t}){return Object(ge.createElement)(de.PlainText,Object(ke.a)({__experimentalVersion:2,tagName:"a",style:{display:"inline-block"},"aria-label":Object(pe.__)("Previous page link"),placeholder:Object(pe.__)("Previous Page"),value:e,onChange:e=>t({label:e})},Object(de.useBlockProps)()))}};var Nd=Object(ge.createElement)(he.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(he.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"}));const Rd={apiVersion:2,name:"core/post-title",title:"Post Title",category:"design",description:"Displays the title of a post, page, or any other content-type.",textdomain:"default",usesContext:["postId","postType"],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},fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0},style:"wp-block-post-title"},{name:Vd}=Rd,Hd={icon:Nd,edit:function({attributes:{level:e,textAlign:t,isLink:n,rel:o,linkTarget:r},setAttributes:a,context:{postType:c,postId:l}}){const i=0===e?"p":"h"+e,s=Object(Le.useSelect)(e=>e(ue.store).getEditedEntityRecord("postType",c,l),[c,l]),{editEntityRecord:u}=Object(Le.useDispatch)(ue.store),d=Object(de.useBlockProps)({className:je()({["has-text-align-"+t]:t})});if(!s)return null;const{title:m="",link:b}=s;let p=Object(ge.createElement)(i,n?{}:d,Object(pe.__)("An example title"));return c&&l&&(p=Object(ge.createElement)(de.PlainText,Object(ke.a)({tagName:i,placeholder:Object(pe.__)("No Title"),value:m,onChange:e=>u("postType",c,l,{title:e}),__experimentalVersion:2},n?{}:d))),n&&(p=Object(ge.createElement)(i,d,Object(ge.createElement)(de.PlainText,{tagName:"a",href:b,target:r,rel:o,placeholder:0===m.length?Object(pe.__)("No Title"):null,value:m,onChange:e=>u("postType",c,l,{title:e}),__experimentalVersion:2}))),Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.BlockControls,{group:"block"},Object(ge.createElement)(un,{selectedLevel:e,onChange:e=>a({level:e})}),Object(ge.createElement)(de.AlignmentControl,{value:t,onChange:e=>{a({textAlign:e})}})),Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Link settings")},Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Make title a link"),onChange:()=>a({isLink:!n}),checked:n}),n&&Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Open in new tab"),onChange:e=>a({linkTarget:e?"_blank":"_self"}),checked:"_blank"===r}),Object(ge.createElement)(Ee.TextControl,{label:Object(pe.__)("Link rel"),value:o,onChange:e=>a({rel:e})})))),p)}};var Ld=Object(ge.createElement)(he.SVG,{xmlns:"https://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.Path,{d:"M4 20h16v-1.5H4V20zm0-4.8h16v-1.5H4v1.5zm0-6.4v1.5h16V8.8H4zM16 4H4v1.5h12V4z"}));function Id({layout:e,postType:t,postId:n}){const o=Object(Le.useSelect)(e=>{var t;const{getSettings:n}=e(de.store);return null===(t=n())||void 0===t?void 0:t.supportsLayout},[]),r=Object(de.useSetting)("layout")||{},a=e&&e.inherit?r:e,{contentSize:c,wideSize:l}=a,i=c||l?["wide","full"]:["left","center","right"],[s,u,d]=Object(ue.useEntityBlockEditor)("postType",t,{id:n}),m=Object(de.__experimentalUseInnerBlocksProps)(Object(de.useBlockProps)({className:"entry-content"}),{value:s,onInput:u,onChange:d,__experimentalLayout:{type:"default",alignments:o?i:void 0}});return Object(ge.createElement)("div",m)}function Ad(){const e=Object(de.useBlockProps)();return Object(ge.createElement)("div",e,Object(ge.createElement)("div",{className:"wp-block-post-content__placeholder"},Object(ge.createElement)("span",null,Object(pe.__)("This is a placeholder for post content."))))}function Dd(){const e=Object(de.useBlockProps)();return Object(ge.createElement)("div",e,Object(ge.createElement)(de.Warning,null,Object(pe.__)("Block cannot be rendered inside itself.")))}const Fd={apiVersion:2,name:"core/post-content",title:"Post Content",category:"design",description:"Displays the contents of a post or page.",textdomain:"default",usesContext:["postId","postType"],supports:{align:["wide","full"],html:!1,__experimentalLayout:!0},editorStyle:"wp-block-post-content-editor"},{name:Gd}=Fd,qd={icon:Ld,edit:function({context:{postId:e,postType:t},attributes:n}){const{layout:o={}}=n,[r,a]=Object(de.__experimentalUseNoRecursiveRenders)(e);return e&&t&&r?Object(ge.createElement)(Dd,null):Object(ge.createElement)(a,null,e&&t?Object(ge.createElement)(Id,{postType:t,postId:e,layout:o}):Object(ge.createElement)(Ad,null))}};var Ud=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.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(ge.createElement)(he.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"}));const Wd={apiVersion:2,name:"core/post-date",title:"Post Date",category:"design",description:"Add the date of this post.",textdomain:"default",attributes:{textAlign:{type:"string"},format:{type:"string"},isLink:{type:"boolean",default:!1}},usesContext:["postId","postType"],supports:{html:!1,color:{gradients:!0,link:!0},fontSize:!0,lineHeight:!0}},{name:$d}=Wd,Zd={icon:Ud,edit:function({attributes:e,context:t,setAttributes:n}){const{textAlign:o,format:r,isLink:a}=e,{postId:c,postType:l}=t,[i]=Object(ue.useEntityProp)("root","site","date_format"),[s,u]=Object(ue.useEntityProp)("postType",l,"date",c),[d,m]=Object(ge.useState)(!1),b=Object(yc.__experimentalGetSettings)(),p=/a(?!\\)/i.test(b.formats.time.toLowerCase().replace(/\\\\/g,"").split("").reverse().join("")),g=Object.values(b.formats).map(e=>({key:e,name:Object(yc.dateI18n)(e,s)})),h=r||i||b.formats.date,v=Object(de.useBlockProps)({className:je()({["has-text-align-"+o]:o})});let O=s?Object(ge.createElement)("time",{dateTime:Object(yc.dateI18n)("c",s)},Object(yc.dateI18n)(h,s),d&&Object(ge.createElement)(Ee.Popover,{onClose:m.bind(null,!1)},Object(ge.createElement)(Ee.DateTimePicker,{currentDate:s,onChange:u,is12Hour:p}))):Object(pe.__)("No Date");return a&&s&&(O=Object(ge.createElement)("a",{href:"#post-date-pseudo-link",onClick:e=>e.preventDefault()},O)),Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.BlockControls,{group:"block"},Object(ge.createElement)(de.AlignmentControl,{value:o,onChange:e=>{n({textAlign:e})}}),s&&Object(ge.createElement)(Ee.ToolbarButton,{icon:Nn.a,title:Object(pe.__)("Change Date"),onClick:()=>m(e=>!e)})),Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Format settings")},Object(ge.createElement)(Ee.CustomSelectControl,{hideLabelFromVision:!0,label:Object(pe.__)("Date Format"),options:g,onChange:({selectedItem:e})=>n({format:e.key}),value:g.find(e=>e.key===h)})),Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Link settings")},Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.sprintf)(Object(pe.__)("Link to %s"),l),onChange:()=>n({isLink:!a}),checked:a}))),Object(ge.createElement)("div",v,O))}};var Qd=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.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 Jd={apiVersion:2,name:"core/post-excerpt",title:"Post Excerpt",category:"design",description:"Display a post's excerpt.",textdomain:"default",attributes:{textAlign:{type:"string"},wordCount:{type:"number",default:55},moreText:{type:"string"},showMoreOnNewLine:{type:"boolean",default:!0}},usesContext:["postId","postType"],supports:{html:!1,fontSize:!0,color:{gradients:!0,link:!0},lineHeight:!0},editorStyle:"wp-block-post-excerpt-editor",style:"wp-block-post-excerpt"},{name:Yd}=Jd,Kd={icon:Qd,edit:function({attributes:{textAlign:e,wordCount:t,moreText:n,showMoreOnNewLine:o},setAttributes:r,isSelected:a,context:{postId:c,postType:l}}){const[i,s]=Object(ue.useEntityProp)("postType",l,"excerpt",c),u=function(e,t,n){const[,,o]=Object(ue.useEntityProp)("postType",n,"content",t),r=null==o?void 0:o.raw;return Object(ge.useMemo)(()=>{if(!r)return"";const t=document.createElement("div");t.innerHTML=r;return(t.textContent||t.innerText||"").trim().split(" ",e).join(" ")},[r,e])}(t,c,l),d=Object(de.useBlockProps)({className:je()({["has-text-align-"+e]:e})});if(!l||!c)return Object(ge.createElement)("div",d,Object(ge.createElement)(de.Warning,null,Object(pe.__)("Post excerpt block: no post found.")));const m=Object(ge.createElement)(de.RichText,{className:"wp-block-post-excerpt__more-link",tagName:"a","aria-label":Object(pe.__)('"Read more" link text'),placeholder:Object(pe.__)('Add "read more" link text'),value:n,onChange:e=>r({moreText:e})});return Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.BlockControls,null,Object(ge.createElement)(de.AlignmentToolbar,{value:e,onChange:e=>r({textAlign:e})})),Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Post Excerpt Settings")},!i&&Object(ge.createElement)(Ee.RangeControl,{label:Object(pe.__)("Max words"),value:t,onChange:e=>r({wordCount:e}),min:10,max:100}),Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Show link on new line"),checked:o,onChange:e=>r({showMoreOnNewLine:e})}))),Object(ge.createElement)("div",d,Object(ge.createElement)(de.RichText,{className:!o&&"wp-block-post-excerpt__excerpt is-inline","aria-label":Object(pe.__)("Post excerpt text"),value:i||u||(a?"":Object(pe.__)("No post excerpt found")),onChange:s}),!o&&" ",o?Object(ge.createElement)("p",{className:"wp-block-post-excerpt__more-text"},m):m))}};var Xd=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.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 em=["image"],tm=Object(ge.createElement)("div",{className:"post-featured-image_placeholder"},Object(ge.createElement)(Ee.Icon,{icon:Xd}),Object(ge.createElement)("p",null," ",Object(pe.__)("Featured Image")));const nm=Object(Ee.withNotices)((function({attributes:{isLink:e},setAttributes:t,context:{postId:n,postType:o},noticeUI:r,noticeOperations:a}){const[c,l]=Object(ue.useEntityProp)("postType",o,"featured_media",n),i=Object(Le.useSelect)(e=>c&&e(ue.store).getMedia(c),[c]),s=e=>{null!=e&&e.id&&l(e.id)};function u(e){a.removeAllNotices(),a.createErrorNotice(e)}let d;return d=c?i?Object(ge.createElement)("img",{src:i.source_url,alt:i.alt_text||Object(pe.__)("Featured image")}):tm:Object(ge.createElement)(de.MediaPlaceholder,{icon:Object(ge.createElement)(de.BlockIcon,{icon:Xd}),onSelect:s,notices:r,onError:u,accept:"image/*",allowedTypes:em,labels:{title:Object(pe.__)("Featured image"),instructions:Object(pe.__)("Upload a media file or pick one from your media library.")}}),Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Link settings")},Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.sprintf)(Object(pe.__)("Link to %s"),o),onChange:()=>t({isLink:!e}),checked:e}))),Object(ge.createElement)(de.BlockControls,{group:"other"},!!i&&Object(ge.createElement)(de.MediaReplaceFlow,{mediaId:c,mediaURL:i.source_url,allowedTypes:em,accept:"image/*",onSelect:s,onError:u})),Object(ge.createElement)("figure",Object(de.useBlockProps)(),d))}));const om={apiVersion:2,name:"core/post-featured-image",title:"Post Featured Image",category:"design",description:"Display a post's featured image.",textdomain:"default",attributes:{isLink:{type:"boolean",default:!1}},usesContext:["postId","postType"],supports:{align:["left","right","center","wide","full"],html:!1},editorStyle:"wp-block-post-featured-image-editor",style:"wp-block-post-featured-image"},{name:rm}=om,am={icon:Xd,edit:function(e){var t;const n=Object(de.useBlockProps)();return null!==(t=e.context)&&void 0!==t&&t.postId?Object(ge.createElement)(nm,e):Object(ge.createElement)("div",n,tm)}};var cm=Object(ge.createElement)(he.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(he.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 lm=[{name:"category",title:Object(pe.__)("Post Categories"),description:Object(pe.__)("Display a post's categories."),icon:cm,isDefault:!0,attributes:{term:"category"},isActive:e=>"category"===e.term},{name:"post_tag",title:Object(pe.__)("Post Tags"),description:Object(pe.__)("Display a post's tags."),icon:cm,attributes:{term:"post_tag"},isActive:e=>"post_tag"===e.term}];const im={apiVersion:2,name:"core/post-terms",title:"Post Terms",category:"design",description:"Post terms.",textdomain:"default",attributes:{term:{type:"string"},textAlign:{type:"string"}},usesContext:["postId","postType"],supports:{html:!1,fontSize:!0,color:{gradients:!0,link:!0},lineHeight:!0}},{name:sm}=im,um={variations:lm,edit:function({attributes:e,context:t,setAttributes:n}){var o;const{term:r,textAlign:a}=e,{postId:c,postType:l}=t,i=Object(Le.useSelect)(e=>{if(!r)return{};const t=e(ue.store).getTaxonomies({per_page:-1});return Object(be.find)(t,e=>e.slug===r&&e.visibility.show_ui)||{}},[r]),{termLinks:s,isLoadingTermLinks:u}=function({postId:e,postType:t,term:n}){const{rest_base:o,slug:r}=n,[a]=Object(ue.useEntityProp)("postType",t,o,e),{termLinks:c,isLoadingTermLinks:l}=Object(Le.useSelect)(e=>{const{getEntityRecord:t}=e(ue.store);let n=!0;return{termLinks:Object(be.map)(a,e=>{const o=t("taxonomy",r,e);return o?Object(ge.createElement)("a",{key:e,href:o.link,onClick:e=>e.preventDefault()},o.name):n=!1}),isLoadingTermLinks:!n}},[a]);return{termLinks:c,isLoadingTermLinks:l}}({postId:c,postType:l,term:i}),d=c&&l,m=s&&s.length>0,b=Object(de.useBlockProps)({className:je()({["has-text-align-"+a]:a})});return d?r?Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.BlockControls,null,Object(ge.createElement)(de.AlignmentToolbar,{value:a,onChange:e=>{n({textAlign:e})}})),Object(ge.createElement)("div",b,u&&Object(ge.createElement)(Ee.Spinner,null),m&&!u&&s.reduce((e,t)=>[e," | ",t]),!u&&!m&&((null==i||null===(o=i.labels)||void 0===o?void 0:o.no_terms)||Object(pe.__)("Term items not found.")))):Object(ge.createElement)("div",b,Object(pe.__)("Post Terms block: no term specified.")):Object(ge.createElement)("div",b,Object(ge.createElement)(de.Warning,null,Object(pe.__)("Post Terms block: post not found.")))}},dm=e=>{if(!e)return;const{metadata:t,settings:n,name:o}=e;Object(me.registerBlockType)({name:o,...t},n)},mm=()=>[o,r,a,l,C,c,L,i,s,u,d,m,b,p,g,h,v,O,j,V,window.wp&&window.wp.oldEditor?U:null,f,y,w,_,k,x,S,B,T,z,P,N,R,H,M,W,$,I,A,q,D,F,G,Z,Q,J,Y,K,X,ee,te,ne,oe,re,ae,ce,le,ie,se,E],bm=(e=mm())=>{e.forEach(dm),Object(me.setDefaultBlockName)(Pe),window.wp&&window.wp.oldEditor&&Object(me.setFreeformContentHandlerName)(ou),Object(me.setUnregisteredTypeHandlerName)(vl),Object(me.setGroupingBlockName)(yi)},pm=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},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:"M18.3 5.6L9.9 16.9l-4.6-3.4-.9 1.2 5.8 4.3 9.3-12.6z"}));t.a=a},RxS6:function(e,t){e.exports=window.wp.keycodes},TSYQ:function(e,t,n){var o; +***************************************************************************** */var 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)};var rt=function(){return(rt=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 at=n("cDcd"),ct=n.n(at),lt=n("wJiJ"),it=n.n(lt);function st(e,t,n,o,r,a){void 0===a&&(a=0);var c=ft(e,t,a),l=c.width,i=c.height,s=Math.min(l,n),u=Math.min(i,o);return s>u*r?{width:u*r,height:u}:{width:s,height:s/r}}function ut(e,t,n,o,r){void 0===r&&(r=0);var a=ft(t.width,t.height,r),c=a.width,l=a.height;return{x:dt(e.x,c,n.width,o),y:dt(e.y,l,n.height,o)}}function dt(e,t,n,o){var r=t*o/2-n/2;return Math.min(r,Math.max(e,-r))}function mt(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 pt(e,t,n,o,r,a,c){void 0===a&&(a=0),void 0===c&&(c=!0);var l=c&&0===a?gt:ht,i={x:l(100,((t.width-n.width/r)/2-e.x/r)/t.width*100),y:l(100,((t.height-n.height/r)/2-e.y/r)/t.height*100),width:l(100,n.width/t.width*100/r),height:l(100,n.height/t.height*100/r)},s=Math.round(l(t.naturalWidth,i.width*t.naturalWidth/100)),u=Math.round(l(t.naturalHeight,i.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:i,croppedAreaPixels:rt(rt({},d),{x:Math.round(l(t.naturalWidth-d.width,i.x*t.naturalWidth/100)),y:Math.round(l(t.naturalHeight-d.height,i.y*t.naturalHeight/100))})}}function gt(e,t){return Math.min(e,Math.max(0,t))}function ht(e,t){return t}function vt(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),a=o*r;return{crop:{x:((t.naturalWidth-e.width)/2-e.x)*a,y:((t.naturalHeight-e.height)/2-e.y)*a},zoom:r}}function Ot(e,t){return{x:(t.x+e.x)/2,y:(t.y+e.y)/2}}function jt(e,t,n,o,r){var a=Math.cos,c=Math.sin,l=r*Math.PI/180;return[(e-n)*a(l)-(t-o)*c(l)+n,(e-n)*c(l)+(t-o)*a(l)+o]}function ft(e,t,n){var o=e/2,r=t/2,a=[jt(0,0,o,r,n),jt(e,0,o,r,n),jt(e,t,o,r,n),jt(0,t,o,r,n)],c=Math.min.apply(Math,a.map((function(e){return e[0]}))),l=Math.max.apply(Math,a.map((function(e){return e[0]}))),i=Math.min.apply(Math,a.map((function(e){return e[1]})));return{width:l-c,height:Math.max.apply(Math,a.map((function(e){return e[1]})))-i}}function yt(){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 wt=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=vt(t,n.mediaSize,o),a=r.crop,c=r.zoom;n.props.onCropChange(a),n.props.onZoomChange&&n.props.onZoomChange(c)}},n.computeSizes=function(){var e,t,o,r,a,c,l=n.imageRef||n.videoRef;if(l&&n.containerRef){n.containerRect=n.containerRef.getBoundingClientRect(),n.mediaSize={width:l.offsetWidth,height:l.offsetHeight,naturalWidth:(null===(e=n.imageRef)||void 0===e?void 0:e.naturalWidth)||(null===(t=n.videoRef)||void 0===t?void 0:t.videoWidth)||0,naturalHeight:(null===(o=n.imageRef)||void 0===o?void 0:o.naturalHeight)||(null===(r=n.videoRef)||void 0===r?void 0:r.videoHeight)||0};var i=n.props.cropSize?n.props.cropSize:st(l.offsetWidth,l.offsetHeight,n.containerRect.width,n.containerRect.height,n.props.aspect,n.props.rotation);(null===(a=n.state.cropSize)||void 0===a?void 0:a.height)===i.height&&(null===(c=n.state.cropSize)||void 0===c?void 0:c.width)===i.width||n.props.onCropSizeChange&&n.props.onCropSizeChange(i),n.setState({cropSize:i},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){e.preventDefault(),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,a=e.y;n.dragStartPosition={x:r,y:a},n.dragStartCrop=rt({},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,a={x:n.dragStartCrop.x+e,y:n.dragStartCrop.y+r},c=n.props.restrictPosition?ut(a,n.mediaSize,n.state.cropSize,n.props.zoom,n.props.rotation):a;n.props.onCropChange(c)}}))},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=it()(e).pixelY,a=n.props.zoom-r*n.props.zoomSpeed/200;n.setNewZoom(a,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,a=r.crop,c=r.zoom;return{x:(t+a.x)/c,y:(o+a.y)/c}},n.setNewZoom=function(e,t){if(n.state.cropSize&&n.props.onZoomChange){var o=n.getPointOnContainer(t),r=n.getPointOnMedia(o),a=Math.min(n.props.maxZoom,Math.max(e,n.props.minZoom)),c={x:r.x*a-o.x,y:r.y*a-o.y},l=n.props.restrictPosition?ut(c,n.mediaSize,n.state.cropSize,a,n.props.rotation):c;n.props.onCropChange(l),n.props.onZoomChange(a)}},n.getCropData=function(){return n.state.cropSize?pt(n.props.restrictPosition?ut(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?ut(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}ot(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,a,c,l,i;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===(a=e.crop)||void 0===a?void 0:a.x)===(null===(c=this.props.crop)||void 0===c?void 0:c.x)&&(null===(l=e.crop)||void 0===l?void 0:l.y)===(null===(i=this.props.crop)||void 0===i?void 0:i.y)||this.emitCropAreaChange(),e.zoomWithScroll!==this.props.zoomWithScroll&&this.containerRef&&(this.props.zoomWithScroll?this.containerRef.addEventListener("wheel",this.onWheel,{passive:!1}):this.clearScrollEvent())},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=mt(n,o),this.lastPinchRotation=bt(n,o),this.onDragStart(Ot(n,o))},t.prototype.onPinchMove=function(e){var n=this,o=t.getTouchPoint(e.touches[0]),r=t.getTouchPoint(e.touches[1]),a=Ot(o,r);this.onDrag(a),this.rafPinchTimeout&&window.cancelAnimationFrame(this.rafPinchTimeout),this.rafPinchTimeout=window.requestAnimationFrame((function(){var e=mt(o,r),t=n.props.zoom*(e/n.lastPinchDistance);n.setNewZoom(t,a),n.lastPinchDistance=e;var c=bt(o,r),l=n.props.rotation+(c-n.lastPinchRotation);n.props.onRotationChange&&n.props.onRotationChange(l),n.lastPinchRotation=c}))},t.prototype.render=function(){var e=this,t=this.props,n=t.image,o=t.video,r=t.mediaProps,a=t.transform,c=t.crop,l=c.x,i=c.y,s=t.rotation,u=t.zoom,d=t.cropShape,m=t.showGrid,b=t.style,p=b.containerStyle,g=b.cropAreaStyle,h=b.mediaStyle,v=t.classes,O=v.containerClassName,j=v.cropAreaClassName,f=v.mediaClassName,y=t.objectFit;return ct.a.createElement("div",{onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart,ref:function(t){return e.containerRef=t},"data-testid":"container",style:p,className:yt("reactEasyCrop_Container",O)},n?ct.a.createElement("img",rt({alt:"",className:yt("reactEasyCrop_Image","contain"===y&&"reactEasyCrop_Contain","horizontal-cover"===y&&"reactEasyCrop_Cover_Horizontal","vertical-cover"===y&&"reactEasyCrop_Cover_Vertical",f)},r,{src:n,ref:function(t){return e.imageRef=t},style:rt(rt({},h),{transform:a||"translate("+l+"px, "+i+"px) rotate("+s+"deg) scale("+u+")"}),onLoad:this.onMediaLoad})):o&&ct.a.createElement("video",rt({autoPlay:!0,loop:!0,muted:!0,className:yt("reactEasyCrop_Video","contain"===y&&"reactEasyCrop_Contain","horizontal-cover"===y&&"reactEasyCrop_Cover_Horizontal","vertical-cover"===y&&"reactEasyCrop_Cover_Vertical",f)},r,{ref:function(t){return e.videoRef=t},onLoadedMetadata:this.onMediaLoad,style:rt(rt({},h),{transform:a||"translate("+l+"px, "+i+"px) rotate("+s+"deg) scale("+u+")"}),controls:!1}),(Array.isArray(o)?o:[{src:o}]).map((function(e){return ct.a.createElement("source",rt({key:e.src},e))}))),this.state.cropSize&&ct.a.createElement("div",{style:rt(rt({},g),{width:this.state.cropSize.width,height:this.state.cropSize.height}),"data-testid":"cropper",className:yt("reactEasyCrop_CropArea","round"===d&&"reactEasyCrop_CropAreaRound",m&&"reactEasyCrop_CropAreaGrid",j)}))},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}(ct.a.Component);const _t={position:"bottom right",isAlternate:!0};var kt=n("ywyh"),Et=n.n(kt);var Ct=n("g56x");function xt(e,t){const n=function({url:e,naturalWidth:t,naturalHeight:n}){const[o,r]=Object(ge.useState)(),[a,c]=Object(ge.useState)(),[l,i]=Object(ge.useState)({x:0,y:0}),[s,u]=Object(ge.useState)(),[d,m]=Object(ge.useState)(),[b,p]=Object(ge.useState)(),[g,h]=Object(ge.useState)(),v=Object(ge.useCallback)(()=>{i({x:0,y:0}),u(100),m(0),p(t/n),h(t/n)},[t,n,i,u,m,p,h]),O=Object(ge.useCallback)(()=>{const o=(d+90)%360;let a=t/n;if(d%180==90&&(a=n/t),0===o)return r(),m(o),p(1/b),void i({x:-l.y*a,y:l.x*a});const c=new window.Image;c.src=e,c.onload=function(e){const t=document.createElement("canvas");let n=0,c=0;o%180?(t.width=e.target.height,t.height=e.target.width):(t.width=e.target.width,t.height=e.target.height),90!==o&&180!==o||(n=t.width),270!==o&&180!==o||(c=t.height);const s=t.getContext("2d");s.translate(n,c),s.rotate(o*Math.PI/180),s.drawImage(e.target,0,0),t.toBlob(e=>{r(URL.createObjectURL(e)),m(o),p(1/b),i({x:-l.y*a,y:l.x*a})})};const s=Object(Ct.applyFilters)("media.crossOrigin",void 0,e);"string"==typeof s&&(c.crossOrigin=s)},[d,t,n,r,m,p,i]);return Object(ge.useMemo)(()=>({editedUrl:o,setEditedUrl:r,crop:a,setCrop:c,position:l,setPosition:i,zoom:s,setZoom:u,rotation:d,setRotation:m,rotateClockwise:O,aspect:b,setAspect:p,defaultAspect:g,initializeTransformValues:v}),[o,r,a,c,l,i,s,u,d,m,O,b,p,g,v])}(e),{initializeTransformValues:o}=n;return Object(ge.useEffect)(()=>{t&&o()},[t,o]),n}const St=Object(ge.createContext)({}),Bt=()=>Object(ge.useContext)(St);function Tt({id:e,url:t,naturalWidth:n,naturalHeight:o,isEditing:r,onFinishEditing:a,onSaveImage:c,children:l}){const i=xt({url:t,naturalWidth:n,naturalHeight:o},r),s=function({crop:e,rotation:t,height:n,width:o,aspect:r,url:a,id:c,onSaveImage:l,onFinishEditing:i}){const{createErrorNotice:s}=Object(Le.useDispatch)(qe.store),[u,d]=Object(ge.useState)(!1),m=Object(ge.useCallback)(()=>{d(!1),i()},[d,i]),b=Object(ge.useCallback)(()=>{d(!0);let u={};(e.width<99.9||e.height<99.9)&&(u=e),t>0&&(u.rotation=t),u.src=a,Et()({path:`/wp/v2/media/${c}/edit`,method:"POST",data:u}).then(e=>{l({id:e.id,url:e.source_url,height:n&&o?o/r:void 0})}).catch(e=>{s(Object(pe.sprintf)(Object(pe.__)("Could not edit image. %s"),e.message),{id:"image-editing-error",type:"snackbar"})}).finally(()=>{d(!1),i()})},[d,e,t,n,o,r,a,l,s,d,i]);return Object(ge.useMemo)(()=>({isInProgress:u,apply:b,cancel:m}),[u,b,m])}({id:e,url:t,onSaveImage:c,onFinishEditing:a,...i}),u=Object(ge.useMemo)(()=>({...i,...s}),[i,s]);return Object(ge.createElement)(St.Provider,{value:u},l)}function zt({url:e,width:t,height:n,clientWidth:o,naturalHeight:r,naturalWidth:a}){const{isInProgress:c,editedUrl:l,position:i,zoom:s,aspect:u,setPosition:d,setCrop:m,setZoom:b,rotation:p}=Bt();let g=n||o*r/a;return p%180==90&&(g=o*a/r),Object(ge.createElement)("div",{className:je()("wp-block-image__crop-area",{"is-applying":c}),style:{width:t||o,height:g}},Object(ge.createElement)(wt,{image:l||e,disabled:c,minZoom:1,maxZoom:3,crop:i,zoom:s/100,aspect:u,onCropChange:d,onCropComplete:e=>{m(e)},onZoomChange:e=>{b(100*e)}}),c&&Object(ge.createElement)(Ee.Spinner,null))}var Pt=n("cGtP");function Mt(){const{isInProgress:e,zoom:t,setZoom:n}=Bt();return Object(ge.createElement)(Ee.Dropdown,{contentClassName:"wp-block-image__zoom",popoverProps:_t,renderToggle:({isOpen:t,onToggle:n})=>Object(ge.createElement)(Ee.ToolbarButton,{icon:Pt.a,label:Object(pe.__)("Zoom"),onClick:n,"aria-expanded":t,disabled:e}),renderContent:()=>Object(ge.createElement)(Ee.RangeControl,{label:Object(pe.__)("Zoom"),min:100,max:300,value:Math.round(t),onChange:n})})}var Nt=n("RMJe");var Rt=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.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 Vt({aspectRatios:e,isDisabled:t,label:n,onClick:o,value:r}){return Object(ge.createElement)(Ee.MenuGroup,{label:n},e.map(({title:e,aspect:n})=>Object(ge.createElement)(Ee.MenuItem,{key:n,disabled:t,onClick:()=>{o(n)},role:"menuitemradio",isSelected:n===r,icon:n===r?Nt.a:void 0},e)))}function Ht({toggleProps:e}){const{isInProgress:t,aspect:n,setAspect:o,defaultAspect:r}=Bt();return Object(ge.createElement)(Ee.DropdownMenu,{icon:Rt,label:Object(pe.__)("Aspect Ratio"),popoverProps:_t,toggleProps:e,className:"wp-block-image__aspect-ratio"},({onClose:e})=>Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(Vt,{isDisabled:t,onClick:t=>{o(t),e()},value:n,aspectRatios:[{title:Object(pe.__)("Original"),aspect:r},{title:Object(pe.__)("Square"),aspect:1}]}),Object(ge.createElement)(Vt,{label:Object(pe.__)("Landscape"),isDisabled:t,onClick:t=>{o(t),e()},value:n,aspectRatios:[{title:Object(pe.__)("16:10"),aspect:1.6},{title:Object(pe.__)("16:9"),aspect:16/9},{title:Object(pe.__)("4:3"),aspect:4/3},{title:Object(pe.__)("3:2"),aspect:1.5}]}),Object(ge.createElement)(Vt,{label:Object(pe.__)("Portrait"),isDisabled:t,onClick:t=>{o(t),e()},value:n,aspectRatios:[{title:Object(pe.__)("10:16"),aspect:.625},{title:Object(pe.__)("9:16"),aspect:9/16},{title:Object(pe.__)("3:4"),aspect:3/4},{title:Object(pe.__)("2:3"),aspect:2/3}]})))}var Lt=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.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 It(){const{isInProgress:e,rotateClockwise:t}=Bt();return Object(ge.createElement)(Ee.ToolbarButton,{icon:Lt,label:Object(pe.__)("Rotate"),onClick:t,disabled:e})}function At(){const{isInProgress:e,apply:t,cancel:n}=Bt();return Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(Ee.ToolbarButton,{onClick:t,disabled:e},Object(pe.__)("Apply")),Object(ge.createElement)(Ee.ToolbarButton,{onClick:n},Object(pe.__)("Cancel")))}function Dt({url:e,width:t,height:n,clientWidth:o,naturalHeight:r,naturalWidth:a}){return Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(zt,{url:e,width:t,height:n,clientWidth:o,naturalHeight:r,naturalWidth:a}),Object(ge.createElement)(de.BlockControls,null,Object(ge.createElement)(Ee.ToolbarGroup,null,Object(ge.createElement)(Mt,null),Object(ge.createElement)(Ee.ToolbarItem,null,e=>Object(ge.createElement)(Ht,{toggleProps:e})),Object(ge.createElement)(It,null)),Object(ge.createElement)(Ee.ToolbarGroup,null,Object(ge.createElement)(At,null))))}const Ft=["image"];function Gt({temporaryURL:e,attributes:{url:t="",alt:n,caption:o,align:r,id:a,href:c,rel:l,linkClass:i,linkDestination:s,title:u,width:d,height:m,linkTarget:b,sizeSlug:p},setAttributes:g,isSelected:h,insertBlocksAfter:v,onReplace:O,onSelectImage:j,onSelectURL:f,onUploadError:y,containerRef:w,clientId:_}){const k=Object(ge.useRef)(),E=Object(Ie.usePrevious)(t),{getBlock:C}=Object(Le.useSelect)(de.store),{image:x,multiImageSelection:S}=Object(Le.useSelect)(e=>{const{getMedia:t}=e(ue.store),{getMultiSelectedBlockClientIds:n,getBlockName:o}=e(de.store),r=n();return{image:a&&h?t(a):null,multiImageSelection:r.length&&r.every(e=>"core/image"===o(e))}},[a,h]),{imageEditing:B,imageSizes:T,maxWidth:z,mediaUpload:P}=Object(Le.useSelect)(e=>{const{getSettings:t}=e(de.store);return Object(be.pick)(t(),["imageEditing","imageSizes","maxWidth","mediaUpload"])}),{replaceBlocks:M,toggleSelection:N}=Object(Le.useDispatch)(de.store),{createErrorNotice:R,createSuccessNotice:V}=Object(Le.useDispatch)(qe.store),H=Object(Ie.useViewportMatch)("medium"),L=Object(be.includes)(["wide","full"],r),[{naturalWidth:I,naturalHeight:A},D]=Object(ge.useState)({}),[F,G]=Object(ge.useState)(!1),[q,U]=Object(ge.useState)(),W=nt(w,[r]),$=!L&&H,Z=Object(be.map)(Object(be.filter)(T,({slug:e})=>Object(be.get)(x,["media_details","sizes",e,"source_url"])),({name:e,slug:t})=>({value:t,label:e})),Q=!!Object(me.getBlockType)("core/cover");Object(ge.useEffect)(()=>{qt(a,t)&&h&&!q&&window.fetch(t).then(e=>e.blob()).then(e=>U(e))},[a,t,h,q]),Object(ge.useEffect)(()=>{t&&!E&&h&&k.current.focus()},[t,E]),Object(ge.useEffect)(()=>{h||G(!1)},[h]);const J=a&&I&&A&&B,Y=!S&&J&&!F;const K=Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.BlockControls,{group:"block"},Object(ge.createElement)(de.BlockAlignmentControl,{value:r,onChange:function(e){const t=["wide","full"].includes(e)?{width:void 0,height:void 0}:{};g({...t,align:e})}}),!S&&!F&&Object(ge.createElement)(de.__experimentalImageURLInputUI,{url:c||"",onChangeUrl:function(e){g(e)},linkDestination:s,mediaUrl:x&&x.source_url||t,mediaLink:x&&x.link,linkTarget:b,linkClass:i,rel:l}),Y&&Object(ge.createElement)(Ee.ToolbarButton,{onClick:()=>G(!0),icon:De,label:Object(pe.__)("Crop")}),q&&Object(ge.createElement)(Ee.ToolbarButton,{onClick:function(){P({filesList:[q],onFileChange([e]){j(e),Object(He.isBlobURL)(e.url)||(U(),V(Object(pe.__)("Image uploaded."),{type:"snackbar"}))},allowedTypes:Ft,onError(e){R(e,{type:"snackbar"})}})},icon:Fe.a,label:Object(pe.__)("Upload external image")}),!S&&Q&&Object(ge.createElement)(Ee.ToolbarButton,{icon:Ge,label:Object(pe.__)("Add text over image"),onClick:function(){M(_,Object(me.switchToBlockType)(C(_),"core/cover"))}})),!S&&!F&&Object(ge.createElement)(de.BlockControls,{group:"other"},Object(ge.createElement)(de.MediaReplaceFlow,{mediaId:a,mediaURL:t,allowedTypes:Ft,accept:"image/*",onSelect:j,onSelectURL:f,onError:y})),Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Image settings")},!S&&Object(ge.createElement)(Ee.TextareaControl,{label:Object(pe.__)("Alt text (alternative text)"),value:n,onChange:function(e){g({alt:e})},help:Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(Ee.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},Object(pe.__)("Describe the purpose of the image")),Object(pe.__)("Leave empty if the image is purely decorative."))}),Object(ge.createElement)(de.__experimentalImageSizeControl,{onChangeImage:function(e){const t=Object(be.get)(x,["media_details","sizes",e,"source_url"]);if(!t)return null;g({url:t,width:void 0,height:void 0,sizeSlug:e})},onChange:e=>g(e),slug:p,width:d,height:m,imageSizeOptions:Z,isResizable:$,imageWidth:I,imageHeight:A}))),Object(ge.createElement)(de.InspectorAdvancedControls,null,Object(ge.createElement)(Ee.TextControl,{label:Object(pe.__)("Title attribute"),value:u||"",onChange:function(e){g({title:e})},help:Object(ge.createElement)(ge.Fragment,null,Object(pe.__)("Describe the role of this image on the page."),Object(ge.createElement)(Ee.ExternalLink,{href:"https://www.w3.org/TR/html52/dom.html#the-title-attribute"},Object(pe.__)("(Note: many devices and browsers do not display this text.)")))}))),X=function(e){const t=Object(Ae.getPath)(e);if(t)return Object(be.last)(t.split("/"))}(t);let ee;ee=n||(X?Object(pe.sprintf)(Object(pe.__)("This image has an empty alt attribute; its file name is %s"),X):Object(pe.__)("This image has an empty alt attribute"));let te,ne,oe=Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)("img",{src:e||t,alt:ee,onError:()=>function(){const e=Ke({attributes:{url:t}});void 0!==e&&O(e)}(),onLoad:e=>{D(Object(be.pick)(e.target,["naturalWidth","naturalHeight"]))}}),e&&Object(ge.createElement)(Ee.Spinner,null));if(W&&I&&A){const e=I>W,t=A/I;te=e?W:I,ne=e?W*t:A}if(J&&F)oe=Object(ge.createElement)(Dt,{url:t,width:d,height:m,clientWidth:W,naturalHeight:A,naturalWidth:I});else if($&&te){const e=d||te,t=m||ne,n=I/A,o=I<A?20:20*n,a=A<I?20:20/n,c=2.5*z;let l=!1,i=!1;"center"===r?(l=!0,i=!0):Object(pe.isRTL)()?"left"===r?l=!0:i=!0:"right"===r?i=!0:l=!0,oe=Object(ge.createElement)(Ee.ResizableBox,{size:{width:null!=d?d:"auto",height:null!=m?m:"auto"},showHandle:h,minWidth:o,maxWidth:c,minHeight:a,maxHeight:c/n,lockAspectRatio:!0,enable:{top:!1,right:l,bottom:!0,left:i},onResizeStart:function(){N(!1)},onResizeStop:(n,o,r,a)=>{N(!0),g({width:parseInt(e+a.width,10),height:parseInt(t+a.height,10)})}},oe)}else oe=Object(ge.createElement)("div",{style:{width:d,height:m}},oe);return Object(ge.createElement)(Tt,{id:a,url:t,naturalWidth:I,naturalHeight:A,clientWidth:W,onSaveImage:e=>g(e),isEditing:F,onFinishEditing:()=>G(!1)},!e&&K,oe,(!de.RichText.isEmpty(o)||h)&&Object(ge.createElement)(de.RichText,{ref:k,tagName:"figcaption","aria-label":Object(pe.__)("Image caption text"),placeholder:Object(pe.__)("Add caption"),value:o,onChange:e=>g({caption:e}),inlineToolbar:!0,__unstableOnSplitAtEnd:()=>v(Object(me.createBlock)("core/paragraph"))}))}const qt=(e,t)=>t&&!e&&!Object(He.isBlobURL)(t);var Ut=Object(Ee.withNotices)((function({attributes:e,setAttributes:t,isSelected:n,className:o,noticeUI:r,insertBlocksAfter:a,noticeOperations:c,onReplace:l,clientId:i}){const{url:s="",alt:u,caption:d,align:m,id:b,width:p,height:g,sizeSlug:h}=e,[v,O]=Object(ge.useState)(),j=Object(ge.useRef)();Object(ge.useEffect)(()=>{j.current=u},[u]);const f=Object(ge.useRef)();Object(ge.useEffect)(()=>{f.current=d},[d]);const y=Object(ge.useRef)(),{imageDefaultSize:w,mediaUpload:_}=Object(Le.useSelect)(e=>{const{getSettings:t}=e(de.store);return Object(be.pick)(t(),["imageDefaultSize","mediaUpload"])},[]);function k(e){c.removeAllNotices(),c.createErrorNotice(e)}function E(n){var o,r,a,c,l;if(!n||!n.url)return void t({url:void 0,alt:void 0,id:void 0,title:void 0,caption:void 0});if(Object(He.isBlobURL)(n.url))return void O(n.url);O();let i,u=((e,t)=>{const n=Object(be.pick)(e,["alt","id","link","caption"]);return n.url=Object(be.get)(e,["sizes",t,"url"])||Object(be.get)(e,["media_details","sizes",t,"source_url"])||e.url,n})(n,w);f.current&&!Object(be.get)(u,["caption"])&&(u=Object(be.omit)(u,["caption"])),i=n.id&&n.id===b?{url:s}:{width:void 0,height:void 0,sizeSlug:w};let d,m=e.linkDestination;if(!m)switch((null===(o=wp)||void 0===o||null===(r=o.media)||void 0===r||null===(a=r.view)||void 0===a||null===(c=a.settings)||void 0===c||null===(l=c.defaultProps)||void 0===l?void 0:l.link)||"none"){case"file":case"media":m="media";break;case"post":case"attachment":m="attachment";break;case"custom":m="custom";break;case"none":m="none"}switch(m){case"media":d=n.url;break;case"attachment":d=n.link}u.href=d,t({...u,...i,linkDestination:m})}function C(e){e!==s&&t({url:e,id:void 0,width:void 0,height:void 0,sizeSlug:w})}const x=((e,t)=>!e&&Object(He.isBlobURL)(t))(b,s);Object(ge.useEffect)(()=>{if(!x)return;const e=Object(He.getBlobByURL)(s);e&&_({filesList:[e],onFileChange:([e])=>{E(e)},allowedTypes:Ft,onError:e=>{c.createErrorNotice(e),t({src:void 0,id:void 0,url:void 0})}})},[]),Object(ge.useEffect)(()=>{if(v)return()=>{Object(He.revokeBlobURL)(v)}},[v]);const S=qt(b,s)?s:void 0,B=!!s&&Object(ge.createElement)("img",{alt:Object(pe.__)("Edit image"),title:Object(pe.__)("Edit image"),className:"edit-image-preview",src:s}),T=je()(o,{"is-transient":v,"is-resized":!!p||!!g,["size-"+h]:h}),z=Object(de.useBlockProps)({ref:y,className:T});return Object(ge.createElement)("figure",z,(v||s)&&Object(ge.createElement)(Gt,{temporaryURL:v,attributes:e,setAttributes:t,isSelected:n,insertBlocksAfter:a,onReplace:l,onSelectImage:E,onSelectURL:C,onUploadError:k,containerRef:y,clientId:i}),!s&&Object(ge.createElement)(de.BlockControls,{group:"block"},Object(ge.createElement)(de.BlockAlignmentControl,{value:m,onChange:function(e){const n=["wide","full"].includes(e)?{width:void 0,height:void 0}:{};t({...n,align:e})}})),Object(ge.createElement)(de.MediaPlaceholder,{icon:Object(ge.createElement)(de.BlockIcon,{icon:Ne}),onSelect:E,onSelectURL:C,notices:r,onError:k,accept:"image/*",allowedTypes:Ft,value:{id:b,src:S},mediaPreview:B,disableMediaButtons:v||s}))}));function Wt(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 $t={img:{attributes:["src","alt","title"],classes:["alignleft","aligncenter","alignright","alignnone",/^wp-image-\d+$/]}};var Zt={from:[{type:"raw",isMatch:e=>"FIGURE"===e.nodeName&&!!e.querySelector("img"),schema:({phrasingContentSchema:e})=>({figure:{require:["img"],children:{...$t,a:{attributes:["href","rel","target"],children:$t},figcaption:{children:e}}}}),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),c=a?Number(a[1]):void 0,l=e.querySelector("a"),i=l&&l.href?"custom":void 0,s=l&&l.href?l.href:void 0,u=l&&l.rel?l.rel:void 0,d=l&&l.className?l.className:void 0,m=Object(me.getBlockAttributes)("core/image",e.outerHTML,{align:r,id:c,linkDestination:i,href:s,rel:u,linkClass:d,anchor:o});return Object(me.createBlock)("core/image",m)}},{type:"files",isMatch:e=>1===e.length&&0===e[0].type.indexOf("image/"),transform(e){const t=e[0];return Object(me.createBlock)("core/image",{url:Object(He.createBlobURL)(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,{shortcode:t}){const{body:n}=document.implementation.createHTMLDocument("");n.innerHTML=t.content;let o=n.querySelector("img");for(;o&&o.parentNode&&o.parentNode!==n;)o=o.parentNode;return o&&o.parentNode.removeChild(o),n.innerHTML.trim()}},href:{shortcode:(e,{shortcode:t})=>Wt(t.content,"href")},rel:{shortcode:(e,{shortcode:t})=>Wt(t.content,"rel")},linkClass:{shortcode:(e,{shortcode:t})=>Wt(t.content,"class")},id:{type:"number",shortcode:({named:{id:e}})=>{if(e)return parseInt(e.replace("attachment_",""),10)}},align:{type:"string",shortcode:({named:{align:e="alignnone"}})=>e.replace("align","")}}}]};const Qt={apiVersion:2,name:"core/image",title:"Image",category:"media",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:Jt}=Qt,Yt={icon:Ne,example:{attributes:{sizeSlug:"large",url:"https://s.w.org/images/core/5.3/MtBlanc1.jpg",caption:Object(pe.__)("Mont Blanc appears—still, snowy, and serene.")}},__experimentalLabel(e,{context:t}){if("accessibility"===t){const{caption:t,alt:n,url:o}=e;return o?n?n+(t?". "+t:""):t||"":Object(pe.__)("Empty")}},getEditWrapperProps:e=>({"data-align":e.align}),transforms:Zt,edit:Ut,save:function({attributes:e}){const{url:t,alt:n,caption:o,align:r,href:a,rel:c,linkClass:l,width:i,height:s,id:u,linkTarget:d,sizeSlug:m,title:b}=e,p=Object(be.isEmpty)(c)?void 0:c,g=je()({["align"+r]:r,["size-"+m]:m,"is-resized":i||s}),h=Object(ge.createElement)("img",{src:t,alt:n,className:u?"wp-image-"+u:null,width:i,height:s,title:b}),v=Object(ge.createElement)(ge.Fragment,null,a?Object(ge.createElement)("a",{className:l,href:a,target:d,rel:p},h):h,!de.RichText.isEmpty(o)&&Object(ge.createElement)(de.RichText.Content,{tagName:"figcaption",value:o}));return"left"===r||"right"===r||"center"===r?Object(ge.createElement)("div",de.useBlockProps.save(),Object(ge.createElement)("figure",{className:g},v)):Object(ge.createElement)("figure",de.useBlockProps.save({className:g}),v)},deprecated:Ve};var Kt=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.Path,{d:"M6.2 5.2v13.4l5.8-4.8 5.8 4.8V5.2z"}));const Xt={className:!1,anchor:!0},en={align:{type:"string"},content:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6",default:""},level:{type:"number",default:2},placeholder:{type:"string"}},tn=e=>{if(!e.customTextColor)return e;const t={color:{text:e.customTextColor}};return{...Object(be.omit)(e,["customTextColor"]),style:t}},nn=["left","right","center"],on=e=>{const{align:t,...n}=e;return nn.includes(t)?{...n,textAlign:t}:e};var rn=[{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:en,isEligible:({align:e})=>nn.includes(e),migrate:on,save({attributes:e}){const{align:t,content:n,level:o}=e,r="h"+o,a=je()({["has-text-align-"+t]:t});return Object(ge.createElement)(r,de.useBlockProps.save({className:a}),Object(ge.createElement)(de.RichText.Content,{value:n}))}},{supports:Xt,attributes:{...en,customTextColor:{type:"string"},textColor:{type:"string"}},migrate:e=>tn(on(e)),save({attributes:e}){const{align:t,content:n,customTextColor:o,level:r,textColor:a}=e,c="h"+r,l=Object(de.getColorClassName)("color",a),i=je()({[l]:l,"has-text-color":a||o,["has-text-align-"+t]:t});return Object(ge.createElement)(de.RichText.Content,{className:i||void 0,tagName:c,style:{color:l?void 0:o},value:n})}},{attributes:{...en,customTextColor:{type:"string"},textColor:{type:"string"}},migrate:e=>tn(on(e)),save({attributes:e}){const{align:t,content:n,customTextColor:o,level:r,textColor:a}=e,c="h"+r,l=Object(de.getColorClassName)("color",a),i=je()({[l]:l,["has-text-align-"+t]:t});return Object(ge.createElement)(de.RichText.Content,{className:i||void 0,tagName:c,style:{color:l?void 0:o},value:n})},supports:Xt},{supports:Xt,attributes:{...en,customTextColor:{type:"string"},textColor:{type:"string"}},migrate:e=>tn(on(e)),save({attributes:e}){const{align:t,level:n,content:o,textColor:r,customTextColor:a}=e,c="h"+n,l=Object(de.getColorClassName)("color",r),i=je()({[l]:l});return Object(ge.createElement)(de.RichText.Content,{className:i||void 0,tagName:c,style:{textAlign:t,color:l?void 0:a},value:o})}}],an=n("RxS6");function cn({level:e,isPressed:t=!1}){const n={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 n.hasOwnProperty(e)?Object(ge.createElement)(Ee.SVG,{width:"24",height:"24",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",isPressed:t},Object(ge.createElement)(Ee.Path,{d:n[e]})):null}const ln=[1,2,3,4,5,6],sn={className:"block-library-heading-level-dropdown",isAlternate:!0};function un({selectedLevel:e,onChange:t}){return Object(ge.createElement)(Ee.Dropdown,{popoverProps:sn,renderToggle:({onToggle:t,isOpen:n})=>Object(ge.createElement)(Ee.ToolbarButton,{"aria-expanded":n,"aria-haspopup":"true",icon:Object(ge.createElement)(cn,{level:e}),label:Object(pe.__)("Change heading level"),onClick:t,onKeyDown:e=>{n||e.keyCode!==an.DOWN||(e.preventDefault(),e.stopPropagation(),t())},showTooltip:!0}),renderContent:()=>Object(ge.createElement)(Ee.Toolbar,{className:"block-library-heading-level-toolbar",label:Object(pe.__)("Change heading level")},Object(ge.createElement)(Ee.ToolbarGroup,{isCollapsed:!1,controls:ln.map(n=>{const o=n===e;return{icon:Object(ge.createElement)(cn,{level:n,isPressed:o}),title:Object(pe.sprintf)(Object(pe.__)("Heading %d"),n),isActive:o,onClick(){t(n)}}})}))})}var dn=function({attributes:e,setAttributes:t,mergeBlocks:n,onReplace:o,mergedStyle:r,clientId:a}){const{textAlign:c,content:l,level:i,placeholder:s}=e,u="h"+i,d=Object(de.useBlockProps)({className:je()({["has-text-align-"+c]:c}),style:r});return Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.BlockControls,{group:"block"},Object(ge.createElement)(un,{selectedLevel:i,onChange:e=>t({level:e})}),Object(ge.createElement)(de.AlignmentControl,{value:c,onChange:e=>{t({textAlign:e})}})),Object(ge.createElement)(de.RichText,Object(ke.a)({identifier:"content",tagName:u,value:l,onChange:e=>t({content:e}),onMerge:n,onSplit:(t,n)=>{let o;return o=n||t?Object(me.createBlock)("core/heading",{...e,content:t}):Object(me.createBlock)("core/paragraph"),n&&(o.clientId=a),o},onReplace:o,onRemove:()=>o([]),"aria-label":Object(pe.__)("Heading text"),placeholder:s||Object(pe.__)("Heading"),textAlign:c},d)))};const{name:mn}={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},typography:{fontSize:!0,lineHeight:!0,__experimentalFontWeight:!0},__experimentalSelector:"h1,h2,h3,h4,h5,h6",__unstablePasteTextInline:!0},editorStyle:"wp-block-heading-editor",style:"wp-block-heading"};var bn={from:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:e=>e.map(({content:e,anchor:t})=>Object(me.createBlock)(mn,{content:e,anchor:t}))},{type:"raw",selector:"h1,h2,h3,h4,h5,h6",schema:({phrasingContentSchema:e,isPaste:t})=>{const n={children:e,attributes:t?[]:["style","id"]};return{h1:n,h2:n,h3:n,h4:n,h5:n,h6:n}},transform(e){const t=Object(me.getBlockAttributes)(mn,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(me.createBlock)(mn,t)}},...[1,2,3,4,5,6].map(e=>({type:"prefix",prefix:Array(e+1).join("#"),transform:t=>Object(me.createBlock)(mn,{level:e,content:t})})),...[1,2,3,4,5,6].map(e=>({type:"enter",regExp:new RegExp(`^/(h|H)${e}$`),transform:t=>Object(me.createBlock)(mn,{level:e,content:t})}))],to:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:e=>e.map(({content:e,anchor:t})=>Object(me.createBlock)("core/paragraph",{content:e,anchor:t}))}]};const pn={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},typography:{fontSize:!0,lineHeight:!0,__experimentalFontWeight:!0},__experimentalSelector:"h1,h2,h3,h4,h5,h6",__unstablePasteTextInline:!0},editorStyle:"wp-block-heading-editor",style:"wp-block-heading"},{name:gn}=pn,hn={icon:Kt,example:{attributes:{content:Object(pe.__)("Code is Poetry"),level:2}},__experimentalLabel(e,{context:t}){if("accessibility"===t){const{content:t,level:n}=e;return Object(be.isEmpty)(t)?Object(pe.sprintf)(Object(pe.__)("Level %s. Empty."),n):Object(pe.sprintf)(Object(pe.__)("Level %1$s. %2$s"),n,t)}},transforms:bn,deprecated:rn,merge:(e,t)=>({content:(e.content||"")+(t.content||"")}),edit:dn,save:function({attributes:e}){const{textAlign:t,content:n,level:o}=e,r="h"+o,a=je()({["has-text-align-"+t]:t});return Object(ge.createElement)(r,de.useBlockProps.save({className:a}),Object(ge.createElement)(de.RichText.Content,{value:n}))}};var vn=Object(ge.createElement)(he.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(he.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 On={value:{type:"string",source:"html",selector:"blockquote",multiline:"p",default:""},citation:{type:"string",source:"html",selector:"cite",default:""},align:{type:"string"}};var jn=[{attributes:On,save({attributes:e}){const{align:t,value:n,citation:o}=e;return Object(ge.createElement)("blockquote",{style:{textAlign:t||null}},Object(ge.createElement)(de.RichText.Content,{multiline:!0,value:n}),!de.RichText.isEmpty(o)&&Object(ge.createElement)(de.RichText.Content,{tagName:"cite",value:o}))}},{attributes:{...On,style:{type:"number",default:1}},migrate:e=>2===e.style?{...Object(be.omit)(e,["style"]),className:e.className?e.className+" is-style-large":"is-style-large"}:e,save({attributes:e}){const{align:t,value:n,citation:o,style:r}=e;return Object(ge.createElement)("blockquote",{className:2===r?"is-large":"",style:{textAlign:t||null}},Object(ge.createElement)(de.RichText.Content,{multiline:!0,value:n}),!de.RichText.isEmpty(o)&&Object(ge.createElement)(de.RichText.Content,{tagName:"cite",value:o}))}},{attributes:{...On,citation:{type:"string",source:"html",selector:"footer",default:""},style:{type:"number",default:1}},save({attributes:e}){const{align:t,value:n,citation:o,style:r}=e;return Object(ge.createElement)("blockquote",{className:"blocks-quote-style-"+r,style:{textAlign:t||null}},Object(ge.createElement)(de.RichText.Content,{multiline:!0,value:n}),!de.RichText.isEmpty(o)&&Object(ge.createElement)(de.RichText.Content,{tagName:"footer",value:o}))}}];const fn="web"===ge.Platform.OS;var yn=n("qRz9");var wn={from:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:e=>Object(me.createBlock)("core/quote",{value:Object(yn.toHTMLString)({value:Object(yn.join)(e.map(({content:e})=>Object(yn.create)({html:e})),"\u2028"),multilineTag:"p"}),anchor:e.anchor})},{type:"block",blocks:["core/heading"],transform:({content:e,anchor:t})=>Object(me.createBlock)("core/quote",{value:`<p>${e}</p>`,anchor:t})},{type:"block",blocks:["core/pullquote"],transform:({value:e,citation:t,anchor:n})=>Object(me.createBlock)("core/quote",{value:e,citation:t,anchor:n})},{type:"prefix",prefix:">",transform:e=>Object(me.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:({phrasingContentSchema:e})=>({blockquote:{children:{p:{children:e},cite:{children:e}}}})}],to:[{type:"block",blocks:["core/paragraph"],transform:({value:e,citation:t})=>{const n=[];return e&&"<p></p>"!==e&&n.push(...Object(yn.split)(Object(yn.create)({html:e,multilineTag:"p"}),"\u2028").map(e=>Object(me.createBlock)("core/paragraph",{content:Object(yn.toHTMLString)({value:e})}))),t&&"<p></p>"!==t&&n.push(Object(me.createBlock)("core/paragraph",{content:t})),0===n.length?Object(me.createBlock)("core/paragraph",{content:""}):n}},{type:"block",blocks:["core/heading"],transform:({value:e,citation:t,...n})=>{if("<p></p>"===e)return Object(me.createBlock)("core/heading",{content:t});const o=Object(yn.split)(Object(yn.create)({html:e,multilineTag:"p"}),"\u2028"),r=Object(me.createBlock)("core/heading",{content:Object(yn.toHTMLString)({value:o[0]})});if(!t&&1===o.length)return r;const a=o.slice(1);return[r,Object(me.createBlock)("core/quote",{...n,citation:t,value:Object(yn.toHTMLString)({value:a.length?Object(yn.join)(o.slice(1),"\u2028"):Object(yn.create)(),multilineTag:"p"})})]}},{type:"block",blocks:["core/pullquote"],transform:({value:e,citation:t,anchor:n})=>Object(me.createBlock)("core/pullquote",{value:e,citation:t,anchor:n})}]};const _n={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},styles:[{name:"default",label:"Default",isDefault:!0},{name:"large",label:"Large"}],editorStyle:"wp-block-quote-editor",style:"wp-block-quote"},{name:kn}=_n,En={icon:vn,example:{attributes:{value:"<p>"+Object(pe.__)("In quoting others, we cite ourselves.")+"</p>",citation:"Julio Cortázar",className:"is-style-large"}},transforms:wn,edit:function({attributes:e,setAttributes:t,isSelected:n,mergeBlocks:o,onReplace:r,className:a,insertBlocksAfter:c,mergedStyle:l}){const{align:i,value:s,citation:u}=e,d=Object(de.useBlockProps)({className:je()(a,{["has-text-align-"+i]:i}),style:l});return Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.BlockControls,{group:"block"},Object(ge.createElement)(de.AlignmentControl,{value:i,onChange:e=>{t({align:e})}})),Object(ge.createElement)(Ee.BlockQuotation,d,Object(ge.createElement)(de.RichText,{identifier:"value",multiline:!0,value:s,onChange:e=>t({value:e}),onMerge:o,onRemove:e=>{const t=!u||0===u.length;!e&&t&&r([])},"aria-label":Object(pe.__)("Quote text"),placeholder:Object(pe.__)("Add quote"),onReplace:r,onSplit:t=>Object(me.createBlock)("core/quote",{...e,value:t}),__unstableOnSplitMiddle:()=>Object(me.createBlock)("core/paragraph"),textAlign:i}),(!de.RichText.isEmpty(u)||n)&&Object(ge.createElement)(de.RichText,{identifier:"citation",tagName:fn?"cite":void 0,style:{display:"block"},value:u,onChange:e=>t({citation:e}),__unstableMobileNoFocusOnMount:!0,"aria-label":Object(pe.__)("Quote citation text"),placeholder:Object(pe.__)("Add citation"),className:"wp-block-quote__citation",textAlign:i,__unstableOnSplitAtEnd:()=>c(Object(me.createBlock)("core/paragraph"))})))},save:function({attributes:e}){const{align:t,value:n,citation:o}=e,r=je()({["has-text-align-"+t]:t});return Object(ge.createElement)("blockquote",de.useBlockProps.save({className:r}),Object(ge.createElement)(de.RichText.Content,{multiline:!0,value:n}),!de.RichText.isEmpty(o)&&Object(ge.createElement)(de.RichText.Content,{tagName:"cite",value:o}))},merge:(e,{value:t,citation:n})=>(n||(n=e.citation),t&&"<p></p>"!==t?{...e,value:e.value+t,citation:n}:{...e,citation:n}),deprecated:jn};var Cn=Object(ge.createElement)(he.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(he.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"}));function xn(e){return Math.min(3,e.images.length)}const Sn=(e,t="large")=>{const n=Object(be.pick)(e,["alt","id","link","caption"]);n.url=Object(be.get)(e,["sizes",t,"url"])||Object(be.get)(e,["media_details","sizes",t,"source_url"])||e.url;const o=Object(be.get)(e,["sizes","full","url"])||Object(be.get)(e,["media_details","sizes","full","source_url"]);return o&&(n.fullUrl=o),n};var Bn=[{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:({linkTo:e})=>!e||"attachment"===e||"media"===e,migrate(e){let t=e.linkTo;return e.linkTo?"attachment"===e.linkTo?t="post":"media"===e.linkTo&&(t="file"):t="none",{...e,linkTo:t}},save({attributes:e}){const{images:t,columns:n=xn(e),imageCrop:o,caption:r,linkTo:a}=e;return Object(ge.createElement)("figure",{className:`columns-${n} ${o?"is-cropped":""}`},Object(ge.createElement)("ul",{className:"blocks-gallery-grid"},t.map(e=>{let t;switch(a){case"media":t=e.fullUrl||e.url;break;case"attachment":t=e.link}const n=Object(ge.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(ge.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(ge.createElement)("figure",null,t?Object(ge.createElement)("a",{href:t},n):n,!de.RichText.isEmpty(e.caption)&&Object(ge.createElement)(de.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-item__caption",value:e.caption})))})),!de.RichText.isEmpty(r)&&Object(ge.createElement)(de.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-caption",value:r}))}},{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:({ids:e})=>e&&e.some(e=>"string"==typeof e),migrate:e=>({...e,ids:Object(be.map)(e.ids,e=>{const t=parseInt(e,10);return Number.isInteger(t)?t:null})}),save({attributes:e}){const{images:t,columns:n=xn(e),imageCrop:o,caption:r,linkTo:a}=e;return Object(ge.createElement)("figure",{className:`columns-${n} ${o?"is-cropped":""}`},Object(ge.createElement)("ul",{className:"blocks-gallery-grid"},t.map(e=>{let t;switch(a){case"media":t=e.fullUrl||e.url;break;case"attachment":t=e.link}const n=Object(ge.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(ge.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(ge.createElement)("figure",null,t?Object(ge.createElement)("a",{href:t},n):n,!de.RichText.isEmpty(e.caption)&&Object(ge.createElement)(de.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-item__caption",value:e.caption})))})),!de.RichText.isEmpty(r)&&Object(ge.createElement)(de.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-caption",value:r}))}},{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({attributes:e}){const{images:t,columns:n=xn(e),imageCrop:o,linkTo:r}=e;return Object(ge.createElement)("ul",{className:`columns-${n} ${o?"is-cropped":""}`},t.map(e=>{let t;switch(r){case"media":t=e.fullUrl||e.url;break;case"attachment":t=e.link}const n=Object(ge.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(ge.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(ge.createElement)("figure",null,t?Object(ge.createElement)("a",{href:t},n):n,e.caption&&e.caption.length>0&&Object(ge.createElement)(de.RichText.Content,{tagName:"figcaption",value:e.caption})))}))}},{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:({images:e,ids:t})=>e&&e.length>0&&(!t&&e||t&&e&&t.length!==e.length||Object(be.some)(e,(e,n)=>!e&&null!==t[n]||parseInt(e,10)!==t[n])),migrate:e=>({...e,ids:Object(be.map)(e.images,({id:e})=>e?parseInt(e,10):null)}),supports:{align:!0},save({attributes:e}){const{images:t,columns:n=xn(e),imageCrop:o,linkTo:r}=e;return Object(ge.createElement)("ul",{className:`columns-${n} ${o?"is-cropped":""}`},t.map(e=>{let t;switch(r){case"media":t=e.url;break;case"attachment":t=e.link}const n=Object(ge.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(ge.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(ge.createElement)("figure",null,t?Object(ge.createElement)("a",{href:t},n):n,e.caption&&e.caption.length>0&&Object(ge.createElement)(de.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({attributes:e}){const{images:t,columns:n=xn(e),align:o,imageCrop:r,linkTo:a}=e,c=je()("columns-"+n,{alignnone:"none"===o,"is-cropped":r});return Object(ge.createElement)("div",{className:c},t.map(e=>{let t;switch(a){case"media":t=e.url;break;case"attachment":t=e.link}const n=Object(ge.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id});return Object(ge.createElement)("figure",{key:e.id||e.url,className:"blocks-gallery-image"},t?Object(ge.createElement)("a",{href:t},n):n)}))}}],Tn=n("KEfo");const zn=Object(ge.createElement)(de.BlockIcon,{icon:Cn});var Pn=n("2gm7"),Mn=n("1iEr"),Nn=n("B9Az"),Rn=n("bWcr");class Vn extends ge.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!==[an.BACKSPACE,an.DELETE].indexOf(e.keyCode)&&(e.stopPropagation(),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:c}=this.props;if(!e||!e.url)return;let l=Sn(e,c);((e,t)=>!e&&Object(He.isBlobURL)(t))(n,o)&&r&&(l=Object(be.omit)(l,["alt"])),a&&!Object(be.get)(l,["caption"])&&(l=Object(be.omit)(l,["caption"])),t(l),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:c,isSelected:l,caption:i,onRemove:s,onMoveForward:u,onMoveBackward:d,setAttributes:m,"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(ge.createElement)(ge.Fragment,null,Object(ge.createElement)("img",{src:e,alt:t,"data-id":n,onKeyDown:this.onRemoveImage,tabIndex:"0","aria-label":b,ref:this.bindContainer}),Object(He.isBlobURL)(e)&&Object(ge.createElement)(Ee.Spinner,null)),v=je()({"is-selected":l,"is-transient":Object(He.isBlobURL)(e)});return Object(ge.createElement)("figure",{className:v,onClick:this.onSelectImage,onFocus:this.onSelectImage},!p&&(g?Object(ge.createElement)("a",{href:g},h):h),p&&Object(ge.createElement)(de.MediaPlaceholder,{labels:{title:Object(pe.__)("Edit gallery image")},icon:Ne,onSelect:this.onSelectImageFromLibrary,onSelectURL:this.onSelectCustomURL,accept:"image/*",allowedTypes:["image"],value:{id:n,src:e}}),Object(ge.createElement)(Ee.ButtonGroup,{className:"block-library-gallery-item__inline-menu is-left"},Object(ge.createElement)(Ee.Button,{icon:Pn.a,onClick:a?void 0:d,label:Object(pe.__)("Move image backward"),"aria-disabled":a,disabled:!l}),Object(ge.createElement)(Ee.Button,{icon:Mn.a,onClick:c?void 0:u,label:Object(pe.__)("Move image forward"),"aria-disabled":c,disabled:!l})),Object(ge.createElement)(Ee.ButtonGroup,{className:"block-library-gallery-item__inline-menu is-right"},Object(ge.createElement)(Ee.Button,{icon:Nn.a,onClick:this.onEdit,label:Object(pe.__)("Replace image"),disabled:!l}),Object(ge.createElement)(Ee.Button,{icon:Rn.a,onClick:s,label:Object(pe.__)("Remove image"),disabled:!l})),!p&&(l||i)&&Object(ge.createElement)(de.RichText,{tagName:"figcaption","aria-label":Object(pe.__)("Image caption text"),placeholder:l?Object(pe.__)("Add caption"):null,value:i,onChange:e=>m({caption:e}),inlineToolbar:!0}))}}var Hn=Object(Ie.compose)([Object(Le.withSelect)((e,t)=>{const{getMedia:n}=e(ue.store),{id:o}=t;return{image:o?n(parseInt(o,10)):null}}),Object(Le.withDispatch)(e=>{const{__unstableMarkNextChangeAsNotPersistent:t}=e(de.store);return{__unstableMarkNextChangeAsNotPersistent:t}})])(Vn);function Ln({isHidden:e,...t}){return e?Object(ge.createElement)(Ee.VisuallyHidden,Object(ke.a)({as:de.RichText},t)):Object(ge.createElement)(de.RichText,t)}var In=e=>{const{attributes:t,isSelected:n,setAttributes:o,selectedImage:r,mediaPlaceholder:a,onMoveBackward:c,onMoveForward:l,onRemoveImage:i,onSelectImage:s,onDeselectImage:u,onSetImageAttributes:d,insertBlocksAfter:m,blockProps:b}=e,{align:p,columns:g=xn(t),caption:h,imageCrop:v,images:O}=t;return Object(ge.createElement)("figure",Object(ke.a)({},b,{className:je()(b.className,{["align"+p]:p,["columns-"+g]:g,"is-cropped":v})}),Object(ge.createElement)("ul",{className:"blocks-gallery-grid"},O.map((e,o)=>{const a=Object(pe.sprintf)(Object(pe.__)("image %1$d of %2$d in gallery"),o+1,O.length);return Object(ge.createElement)("li",{className:"blocks-gallery-item",key:e.id?`${e.id}-${o}`:e.url},Object(ge.createElement)(Hn,{url:e.url,alt:e.alt,id:e.id,isFirstItem:0===o,isLastItem:o+1===O.length,isSelected:n&&r===o,onMoveBackward:c(o),onMoveForward:l(o),onRemove:i(o),onSelect:s(o),onDeselect:u(o),setAttributes:e=>d(o,e),caption:e.caption,"aria-label":a,sizeSlug:t.sizeSlug}))})),a,Object(ge.createElement)(Ln,{isHidden:!n&&de.RichText.isEmpty(h),tagName:"figcaption",className:"blocks-gallery-caption","aria-label":Object(pe.__)("Gallery caption text"),placeholder:Object(pe.__)("Write gallery caption…"),value:h,onChange:e=>o({caption:e}),inlineToolbar:!0,__unstableOnSplitAtEnd:()=>m(Object(me.createBlock)("core/paragraph"))}))};const An=[{value:"post",label:Object(pe.__)("Attachment Page")},{value:"file",label:Object(pe.__)("Media File")},{value:"none",label:Object(pe.__)("None")}],Dn=["image"],Fn=ge.Platform.select({web:Object(pe.__)("Drag images, upload new ones or select files from your library."),native:Object(pe.__)("ADD MEDIA")}),Gn=ge.Platform.select({web:{},native:{type:"stepper"}});var qn=Object(Ie.compose)([Ee.withNotices,Object(Tn.withViewportMatch)({isNarrow:"< small"})])((function(e){const{attributes:t,clientId:n,isSelected:o,noticeUI:r,noticeOperations:a,onFocus:c}=e,{columns:l=xn(t),imageCrop:i,images:s,linkTo:u,sizeSlug:d}=t,[m,b]=Object(ge.useState)(),[p,g]=Object(ge.useState)(),{__unstableMarkNextChangeAsNotPersistent:h}=Object(Le.useDispatch)(de.store),{imageSizes:v,mediaUpload:O,getMedia:j,wasBlockJustInserted:f}=Object(Le.useSelect)(e=>{const t=e(de.store).getSettings();return{imageSizes:t.imageSizes,mediaUpload:t.mediaUpload,getMedia:e(ue.store).getMedia,wasBlockJustInserted:e(de.store).wasBlockJustInserted(n,"inserter_menu")}}),y=Object(ge.useMemo)(()=>o?Object(be.reduce)(t.ids,(e,t)=>{if(!t)return e;const n=j(t),o=Object(be.reduce)(v,(e,t)=>{const o=Object(be.get)(n,["sizes",t.slug,"url"]),r=Object(be.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 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:Object(be.map)(t.images,({id:e})=>parseInt(e,10))}),e.setAttributes(t)}function _(e,t){const n=[...s];n.splice(t,1,s[e]),n.splice(e,1,s[t]),b(t),w({images:n})}function k(e){const t=Object(be.toString)(e.id),n=Object(be.find)(s,{id:t}),o=n?n.caption:e.caption;if(!p)return o;const r=Object(be.find)(p,{id:t});return r&&r.caption!==e.caption?e.caption:o}function E(e){g(e.map(e=>({id:Object(be.toString)(e.id),caption:e.caption}))),w({images:e.map(e=>({...Sn(e,d),caption:k(e),id:Object(be.toString)(e.id)})),columns:t.columns?Math.min(e.length,t.columns):t.columns})}Object(ge.useEffect)(()=>{if("web"===ge.Platform.OS&&s&&s.length>0&&Object(be.every)(s,({url:e})=>Object(He.isBlobURL)(e))){const e=Object(be.map)(s,({url:e})=>Object(He.getBlobByURL)(e));Object(be.forEach)(s,({url:e})=>Object(He.revokeBlobURL)(e)),O({filesList:e,onFileChange:E,allowedTypes:["image"]})}},[]),Object(ge.useEffect)(()=>{o||b()},[o]),Object(ge.useEffect)(()=>{var e,t,n,o,r,a;u||(h(),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)||"none"}))},[u]);const C=!!s.length,x=C&&s.some(e=>!!e.id),S=Object(ge.createElement)(de.MediaPlaceholder,{addToGallery:x,isAppender:C,disableMediaButtons:C&&!o,icon:!C&&zn,labels:{title:!C&&Object(pe.__)("Gallery"),instructions:!C&&Fn},onSelect:E,accept:"image/*",allowedTypes:Dn,multiple:!0,value:x?s:{},onError:function(e){a.removeAllNotices(),a.createErrorNotice(e)},notices:C?void 0:r,onFocus:c,autoOpenMediaUpload:!C&&o&&f}),B=Object(de.useBlockProps)();if(!C)return Object(ge.createElement)(he.View,B,S);const T=Object(be.map)(Object(be.filter)(v,({slug:e})=>Object(be.some)(y,t=>t[e])),({name:e,slug:t})=>({value:t,label:e})),z=C&&!Object(be.isEmpty)(T);return Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Gallery settings")},s.length>1&&Object(ge.createElement)(Ee.RangeControl,Object(ke.a)({label:Object(pe.__)("Columns"),value:l,onChange:function(e){w({columns:e})},min:1,max:Math.min(8,s.length)},Gn,{required:!0})),Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Crop images"),checked:!!i,onChange:function(){w({imageCrop:!i})},help:function(e){return e?Object(pe.__)("Thumbnails are cropped to align."):Object(pe.__)("Thumbnails are not cropped.")}}),Object(ge.createElement)(Ee.SelectControl,{label:Object(pe.__)("Link to"),value:u,onChange:function(e){w({linkTo:e})},options:An,hideCancelButton:!0}),z&&Object(ge.createElement)(Ee.SelectControl,{label:Object(pe.__)("Image size"),value:d,options:T,onChange:function(e){w({images:Object(be.map)(s,t=>{if(!t.id)return t;const n=Object(be.get)(y,[parseInt(t.id,10),e]);return{...t,...n&&{url:n}}}),sizeSlug:e})},hideCancelButton:!0}))),r,Object(ge.createElement)(In,Object(ke.a)({},e,{selectedImage:m,mediaPlaceholder:S,onMoveBackward:function(e){return()=>{0!==e&&_(e,e-1)}},onMoveForward:function(e){return()=>{e!==s.length-1&&_(e,e+1)}},onRemoveImage:function(e){return()=>{const n=Object(be.filter)(s,(t,n)=>e!==n);b(),w({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]&&w({images:[...s.slice(0,e),{...s[e],...t},...s.slice(e+1)]})},blockProps:B,onFocusGalleryCaption:function(){b()}})))}));const Un=e=>e?e.split(",").map(e=>parseInt(e,10)):[];var Wn={from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],transform:e=>{let{align:t,sizeSlug:n}=e[0];t=Object(be.every)(e,["align",t])?t:void 0,n=Object(be.every)(e,["sizeSlug",n])?n:void 0;const o=Object(be.filter)(e,({url:e})=>e);return Object(me.createBlock)("core/gallery",{images:o.map(({id:e,url:t,alt:n,caption:o})=>({id:Object(be.toString)(e),url:t,alt:n,caption:o})),ids:o.map(({id:e})=>parseInt(e,10)),align:t,sizeSlug:n})}},{type:"shortcode",tag:"gallery",attributes:{images:{type:"array",shortcode:({named:{ids:e}})=>Un(e).map(e=>({id:Object(be.toString)(e)}))},ids:{type:"array",shortcode:({named:{ids:e}})=>Un(e)},columns:{type:"number",shortcode:({named:{columns:e="3"}})=>parseInt(e,10)},linkTo:{type:"string",shortcode:({named:{link:e="post"}})=>e}},isMatch:({named:e})=>void 0!==e.ids},{type:"files",isMatch:e=>1!==e.length&&Object(be.every)(e,e=>0===e.type.indexOf("image/")),transform:e=>Object(me.createBlock)("core/gallery",{images:e.map(e=>Sn({url:Object(He.createBlobURL)(e)}))})}],to:[{type:"block",blocks:["core/image"],transform:({images:e,align:t,sizeSlug:n,ids:o})=>e.length>0?e.map(({url:e,alt:r,caption:a},c)=>Object(me.createBlock)("core/image",{id:o[c],url:e,alt:r,caption:a,align:t,sizeSlug:n})):Object(me.createBlock)("core/image",{align:t})}]};const $n={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:[]},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},editorStyle:"wp-block-gallery-editor",style:"wp-block-gallery"},{name:Zn}=$n,Qn={icon:Cn,example:{attributes:{columns:2,images:[{url:"https://s.w.org/images/core/5.3/Glacial_lakes%2C_Bhutan.jpg"},{url:"https://s.w.org/images/core/5.3/Sediment_off_the_Yucatan_Peninsula.jpg"}]}},transforms:Wn,edit:qn,save:function({attributes:e}){const{images:t,columns:n=xn(e),imageCrop:o,caption:r,linkTo:a}=e,c=`columns-${n} ${o?"is-cropped":""}`;return Object(ge.createElement)("figure",de.useBlockProps.save({className:c}),Object(ge.createElement)("ul",{className:"blocks-gallery-grid"},t.map(e=>{let t;switch(a){case"file":t=e.fullUrl||e.url;break;case"post":t=e.link}const n=Object(ge.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(ge.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(ge.createElement)("figure",null,t?Object(ge.createElement)("a",{href:t},n):n,!de.RichText.isEmpty(e.caption)&&Object(ge.createElement)(de.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-item__caption",value:e.caption})))})),!de.RichText.isEmpty(r)&&Object(ge.createElement)(de.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-caption",value:r}))},deprecated:Bn};var Jn=Object(ge.createElement)(he.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(he.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"})),Yn=n("JREk"),Kn=n.n(Yn);const Xn={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:eo}=Xn,to={icon:Jn,example:{},edit:function({attributes:e,setAttributes:t}){const{showPostCounts:n,displayAsDropdown:o}=e;return Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Archives settings")},Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Display as dropdown"),checked:o,onChange:()=>t({displayAsDropdown:!o})}),Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Show post counts"),checked:n,onChange:()=>t({showPostCounts:!n})}))),Object(ge.createElement)("div",Object(de.useBlockProps)(),Object(ge.createElement)(Ee.Disabled,null,Object(ge.createElement)(Kn.a,{block:"core/archives",attributes:e}))))}};var no=Object(ge.createElement)(he.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(he.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"})),oo=[{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({attributes:e}){const{autoplay:t,caption:n,loop:o,preload:r,src:a}=e;return Object(ge.createElement)("figure",null,Object(ge.createElement)("audio",{controls:"controls",src:a,autoPlay:t,loop:o,preload:r}),!de.RichText.isEmpty(n)&&Object(ge.createElement)(de.RichText.Content,{tagName:"figcaption",value:n}))}}];const ro=["audio"];var ao=Object(Ee.withNotices)((function({attributes:e,noticeOperations:t,setAttributes:n,onReplace:o,isSelected:r,noticeUI:a,insertBlocksAfter:c}){const{id:l,autoplay:i,caption:s,loop:u,preload:d,src:m}=e,b=Object(de.useBlockProps)(),p=Object(Le.useSelect)(e=>{const{getSettings:t}=e(de.store);return t().mediaUpload},[]);function g(e){return t=>{n({[e]:t})}}function h(e){if(e!==m){const t=Ke({attributes:{url:e}});if(void 0!==t)return void o(t);n({src:e,id:void 0})}}function v(e){t.removeAllNotices(),t.createErrorNotice(e)}function O(e){e&&e.url?n({src:e.url,id:e.id}):n({src:void 0,id:void 0})}return Object(ge.useEffect)(()=>{if(!l&&Object(He.isBlobURL)(m)){const e=Object(He.getBlobByURL)(m);e&&p({filesList:[e],onFileChange:([{id:e,url:t}])=>{n({id:e,src:t})},onError:e=>{n({src:void 0,id:void 0}),t.createErrorNotice(e)},allowedTypes:ro})}},[]),m?Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.BlockControls,{group:"other"},Object(ge.createElement)(de.MediaReplaceFlow,{mediaId:l,mediaURL:m,allowedTypes:ro,accept:"audio/*",onSelect:O,onSelectURL:h,onError:v})),Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Audio settings")},Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Autoplay"),onChange:g("autoplay"),checked:i,help:function(e){return e?Object(pe.__)("Autoplay may cause usability issues for some users."):null}}),Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Loop"),onChange:g("loop"),checked:u}),Object(ge.createElement)(Ee.SelectControl,{label:Object(pe.__)("Preload"),value:d||"",onChange:e=>n({preload:e||void 0}),options:[{value:"",label:Object(pe.__)("Browser default")},{value:"auto",label:Object(pe.__)("Auto")},{value:"metadata",label:Object(pe.__)("Metadata")},{value:"none",label:Object(pe.__)("None")}]}))),Object(ge.createElement)("figure",b,Object(ge.createElement)(Ee.Disabled,{isDisabled:!r},Object(ge.createElement)("audio",{controls:"controls",src:m})),(!de.RichText.isEmpty(s)||r)&&Object(ge.createElement)(de.RichText,{tagName:"figcaption","aria-label":Object(pe.__)("Audio caption text"),placeholder:Object(pe.__)("Add caption"),value:s,onChange:e=>n({caption:e}),inlineToolbar:!0,__unstableOnSplitAtEnd:()=>c(Object(me.createBlock)("core/paragraph"))}))):Object(ge.createElement)("div",b,Object(ge.createElement)(de.MediaPlaceholder,{icon:Object(ge.createElement)(de.BlockIcon,{icon:no}),onSelect:O,onSelectURL:h,accept:"audio/*",allowedTypes:ro,value:e,notices:a,onError:v}))}));var co={from:[{type:"files",isMatch:e=>1===e.length&&0===e[0].type.indexOf("audio/"),transform(e){const t=e[0];return Object(me.createBlock)("core/audio",{src:Object(He.createBlobURL)(t)})}},{type:"shortcode",tag:"audio",attributes:{src:{type:"string",shortcode:({named:{src:e,mp3:t,m4a:n,ogg:o,wav:r,wma:a}})=>e||t||n||o||r||a},loop:{type:"string",shortcode:({named:{loop:e}})=>e},autoplay:{type:"string",shortcode:({named:{autoplay:e}})=>e},preload:{type:"string",shortcode:({named:{preload:e}})=>e}}}]};const lo={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:io}=lo,so={icon:no,transforms:co,deprecated:oo,edit:ao,save:function({attributes:e}){const{autoplay:t,caption:n,loop:o,preload:r,src:a}=e;return a&&Object(ge.createElement)("figure",de.useBlockProps.save(),Object(ge.createElement)("audio",{controls:"controls",src:a,autoPlay:t,loop:o,preload:r}),!de.RichText.isEmpty(n)&&Object(ge.createElement)(de.RichText.Content,{tagName:"figcaption",value:n}))}};var uo=Object(ge.createElement)(he.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(he.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"}));var mo=[{supports:{align:["center","left","right"],anchor:!0},save:()=>Object(ge.createElement)("div",null,Object(ge.createElement)(de.InnerBlocks.Content,null)),isEligible:({align:e})=>e&&["center","left","right"].includes(e),migrate:e=>({...e,align:void 0,contentJustification:e.align})}];const{name:bo}={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",attributes:{contentJustification:{type:"string"},orientation:{type:"string",default:"horizontal"}},supports:{anchor:!0,align:["wide","full"]},editorStyle:"wp-block-buttons-editor",style:"wp-block-buttons"};var po={from:[{type:"block",isMultiBlock:!0,blocks:["core/button"],transform:e=>Object(me.createBlock)(bo,{},e.map(e=>Object(me.createBlock)("core/button",e)))},{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:e=>Object(me.createBlock)(bo,{},e.map(e=>{const t=document.createElement("div");t.innerHTML=e.content;const n=t.innerText||"",o=t.querySelector("a"),r=null==o?void 0:o.getAttribute("href");return Object(me.createBlock)("core/button",{text:n,url:r})})),isMatch:e=>e.every(e=>{const t=document.createElement("div");t.innerHTML=e.content;const n=t.innerText||"",o=t.querySelectorAll("a");return n.length<=30&&o.length<=1})}]},go=n("oMoS");const ho=e=>{const{borderRadius:t,...n}=e;return t||0===t?{...n,style:{...n.style,border:{radius:t}}}:n},vo=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(be.omit)(e,["customTextColor","customBackgroundColor","customGradient"]),style:t}},Oo=e=>vo(Object(be.omit)({...e,customTextColor:e.textColor&&"#"===e.textColor[0]?e.textColor:void 0,customBackgroundColor:e.color&&"#"===e.color[0]?e.color:void 0},["color","textColor"])),jo={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 fo=[{supports:{anchor:!0,align:!0,alignWide:!1,color:{__experimentalSkipSerialization:!0},reusable:!1,__experimentalSelector:".wp-block-button__link"},attributes:{...jo,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({attributes:e,className:t}){const{borderRadius:n,linkTarget:o,rel:r,text:a,title:c,url:l,width:i}=e,s=Object(de.__experimentalGetColorClassesAndStyles)(e),u=je()("wp-block-button__link",s.className,{"no-border-radius":0===n}),d={borderRadius:n?n+"px":void 0,...s.style},m=je()(t,{["has-custom-width wp-block-button__width-"+i]:i});return Object(ge.createElement)("div",de.useBlockProps.save({className:m}),Object(ge.createElement)(de.RichText.Content,{tagName:"a",className:u,href:l,title:c,style:d,value:a,target:o,rel:r}))},migrate:ho},{supports:{anchor:!0,align:!0,alignWide:!1,color:{__experimentalSkipSerialization:!0},reusable:!1,__experimentalSelector:".wp-block-button__link"},attributes:{...jo,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({attributes:e,className:t}){const{borderRadius:n,linkTarget:o,rel:r,text:a,title:c,url:l,width:i}=e,s=Object(de.__experimentalGetColorClassesAndStyles)(e),u=je()("wp-block-button__link",s.className,{"no-border-radius":0===n}),d={borderRadius:n?n+"px":void 0,...s.style},m=je()(t,{["has-custom-width wp-block-button__width-"+i]:i});return Object(ge.createElement)("div",de.useBlockProps.save({className:m}),Object(ge.createElement)(de.RichText.Content,{tagName:"a",className:u,href:l,title:c,style:d,value:a,target:o,rel:r}))},migrate:ho},{supports:{align:!0,alignWide:!1,color:{gradients:!0}},attributes:{...jo,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({attributes:e}){const{borderRadius:t,linkTarget:n,rel:o,text:r,title:a,url:c}=e,l=je()("wp-block-button__link",{"no-border-radius":0===t}),i={borderRadius:t?t+"px":void 0};return Object(ge.createElement)(de.RichText.Content,{tagName:"a",className:l,href:c,title:a,style:i,value:r,target:n,rel:o})},migrate:ho},{supports:{align:!0,alignWide:!1},attributes:{...jo,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(Ie.compose)(ho,vo),save({attributes:e}){const{backgroundColor:t,borderRadius:n,customBackgroundColor:o,customTextColor:r,customGradient:a,linkTarget:c,gradient:l,rel:i,text:s,textColor:u,title:d,url:m}=e,b=Object(de.getColorClassName)("color",u),p=!a&&Object(de.getColorClassName)("background-color",t),g=Object(de.__experimentalGetGradientClass)(l),h=je()("wp-block-button__link",{"has-text-color":u||r,[b]:b,"has-background":t||o||a||l,[p]:p,"no-border-radius":0===n,[g]:g}),v={background:a||void 0,backgroundColor:p||a||l?void 0:o,color:b?void 0:r,borderRadius:n?n+"px":void 0};return Object(ge.createElement)("div",null,Object(ge.createElement)(de.RichText.Content,{tagName:"a",className:h,href:m,title:d,style:v,value:s,target:c,rel:i}))}},{attributes:{...jo,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()),ho(vo({...e,className:t||void 0,borderRadius:0}))},save({attributes:e}){const{backgroundColor:t,customBackgroundColor:n,customTextColor:o,linkTarget:r,rel:a,text:c,textColor:l,title:i,url:s}=e,u=Object(de.getColorClassName)("color",l),d=Object(de.getColorClassName)("background-color",t),m=je()("wp-block-button__link",{"has-text-color":l||o,[u]:u,"has-background":t||n,[d]:d}),b={backgroundColor:d?void 0:n,color:u?void 0:o};return Object(ge.createElement)("div",null,Object(ge.createElement)(de.RichText.Content,{tagName:"a",className:m,href:s,title:i,style:b,value:c,target:r,rel:a}))}},{attributes:{...jo,align:{type:"string",default:"none"},backgroundColor:{type:"string"},textColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"}},migrate:Oo,save({attributes:e}){const{url:t,text:n,title:o,backgroundColor:r,textColor:a,customBackgroundColor:c,customTextColor:l}=e,i=Object(de.getColorClassName)("color",a),s=Object(de.getColorClassName)("background-color",r),u=je()("wp-block-button__link",{"has-text-color":a||l,[i]:i,"has-background":r||c,[s]:s}),d={backgroundColor:s?void 0:c,color:i?void 0:l};return Object(ge.createElement)("div",null,Object(ge.createElement)(de.RichText.Content,{tagName:"a",className:u,href:t,title:o,style:d,value:n}))}},{attributes:{...jo,color:{type:"string"},textColor:{type:"string"},align:{type:"string",default:"none"}},save({attributes:e}){const{url:t,text:n,title:o,align:r,color:a,textColor:c}=e,l={backgroundColor:a,color:c};return Object(ge.createElement)("div",{className:"align"+r},Object(ge.createElement)(de.RichText.Content,{tagName:"a",className:"wp-block-button__link",href:t,title:o,style:l,value:n}))},migrate:Oo},{attributes:{...jo,color:{type:"string"},textColor:{type:"string"},align:{type:"string",default:"none"}},save({attributes:e}){const{url:t,text:n,title:o,align:r,color:a,textColor:c}=e;return Object(ge.createElement)("div",{className:"align"+r,style:{backgroundColor:a}},Object(ge.createElement)(de.RichText.Content,{tagName:"a",href:t,title:o,style:{color:c},value:n}))},migrate:Oo}],yo=n("Bpkj"),wo=n("Mp0b");function _o({selectedWidth:e,setAttributes:t}){return Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Width settings")},Object(ge.createElement)(Ee.ButtonGroup,{"aria-label":Object(pe.__)("Button width")},[25,50,75,100].map(n=>Object(ge.createElement)(Ee.Button,{key:n,isSmall:!0,isPrimary:n===e,onClick:()=>{var o;t({width:e===(o=n)?void 0:o})}},n,"%"))))}function ko({isSelected:e,url:t,setAttributes:n,opensInNewTab:o,onToggleOpenInNewTab:r,anchorRef:a}){const[c,l]=Object(ge.useState)(!1),i=!!t,s=i&&e,u=()=>(l(!0),!1),d=()=>{n({url:void 0,linkTarget:void 0,rel:void 0}),l(!1)},m=(c||s)&&Object(ge.createElement)(Ee.Popover,{position:"bottom center",onClose:()=>l(!1),anchorRef:null==a?void 0:a.current},Object(ge.createElement)(de.__experimentalLinkControl,{className:"wp-block-navigation-link__inline-link-input",value:{url:t,opensInNewTab:o},onChange:({url:e="",opensInNewTab:t})=>{n({url:e}),o!==t&&r(t)}}));return Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.BlockControls,{group:"block"},!i&&Object(ge.createElement)(Ee.ToolbarButton,{name:"link",icon:yo.a,title:Object(pe.__)("Link"),shortcut:an.displayShortcut.primary("k"),onClick:u}),s&&Object(ge.createElement)(Ee.ToolbarButton,{name:"link",icon:wo.a,title:Object(pe.__)("Unlink"),shortcut:an.displayShortcut.primaryShift("k"),onClick:d,isActive:!0})),e&&Object(ge.createElement)(Ee.KeyboardShortcuts,{bindGlobal:!0,shortcuts:{[an.rawShortcut.primary("k")]:u,[an.rawShortcut.primaryShift("k")]:d}}),m)}var Eo=function(e){var t;const{attributes:n,setAttributes:o,className:r,isSelected:a,onReplace:c,mergeBlocks:l}=e,{linkTarget:i,placeholder:s,rel:u,style:d,text:m,url:b,width:p}=n,g=Object(ge.useCallback)(e=>{o({rel:e})},[o]),h=Object(ge.useCallback)(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})},[u,o]),v=null==d||null===(t=d.border)||void 0===t?void 0:t.radius,O=Object(de.__experimentalUseColorProps)(n),j=Object(ge.useRef)(),f=Object(de.useBlockProps)({ref:j});return Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)("div",Object(ke.a)({},f,{className:je()(f.className,{["has-custom-width wp-block-button__width-"+p]:p,"has-custom-font-size":f.style.fontSize})}),Object(ge.createElement)(de.RichText,{"aria-label":Object(pe.__)("Button text"),placeholder:s||Object(pe.__)("Add text…"),value:m,onChange:e=>{o({text:e.replace(/<\/?a[^>]*>/g,"")})},withoutInteractiveFormatting:!0,className:je()(r,"wp-block-button__link",O.className,{"no-border-radius":0===v}),style:{borderRadius:v?v+"px":void 0,...O.style},onSplit:e=>Object(me.createBlock)("core/button",{...n,text:e}),onReplace:c,onMerge:l,identifier:"text"})),Object(ge.createElement)(ko,{url:b,setAttributes:o,isSelected:a,opensInNewTab:"_blank"===i,onToggleOpenInNewTab:h,anchorRef:j}),Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(_o,{selectedWidth:p,setAttributes:o})),Object(ge.createElement)(de.InspectorAdvancedControls,null,Object(ge.createElement)(Ee.TextControl,{label:Object(pe.__)("Link rel"),value:u||"",onChange:g})))};const Co={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},reusable:!1,__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:xo}=Co,So={icon:go.a,example:{attributes:{className:"is-style-fill",backgroundColor:"vivid-green-cyan",text:Object(pe.__)("Call to Action")}},edit:Eo,save:function({attributes:e,className:t}){var n,o;const{fontSize:r,linkTarget:a,rel:c,style:l,text:i,title:s,url:u,width:d}=e;if(!i)return null;const m=null==l||null===(n=l.border)||void 0===n?void 0:n.radius,b=Object(de.__experimentalGetColorClassesAndStyles)(e),p=je()("wp-block-button__link",b.className,{"no-border-radius":0===m}),g={borderRadius:m?m+"px":void 0,...b.style},h=je()(t,{["has-custom-width wp-block-button__width-"+d]:d,"has-custom-font-size":r||(null==l||null===(o=l.typography)||void 0===o?void 0:o.fontSize)});return Object(ge.createElement)("div",de.useBlockProps.save({className:h}),Object(ge.createElement)(de.RichText.Content,{tagName:"a",className:p,href:u,title:s,style:g,value:i,target:a,rel:c}))},deprecated:fo,merge:(e,{text:t=""})=>({...e,text:(e.text||"")+t})},Bo=[xo],To=[["core/button"]],zo={type:"default",alignments:[]},Po=["left","center","right"],Mo=["left","center","right","space-between"];var No=function({attributes:{contentJustification:e,orientation:t},setAttributes:n}){const o=Object(de.useBlockProps)({className:je()({["is-content-justification-"+e]:e,"is-vertical":"vertical"===t})}),r=Object(de.__experimentalUseInnerBlocksProps)(o,{allowedBlocks:Bo,template:To,orientation:t,__experimentalLayout:zo,templateInsertUpdatesSelection:!0}),a="vertical"===t?Po:Mo;return Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.BlockControls,{group:"block"},Object(ge.createElement)(de.JustifyContentControl,{allowedControls:a,value:e,onChange:e=>n({contentJustification:e}),popoverProps:{position:"bottom right",isAlternate:!0}})),Object(ge.createElement)("div",r))};var Ro=[{name:"buttons-horizontal",isDefault:!0,title:Object(pe.__)("Horizontal"),description:Object(pe.__)("Buttons shown in a row."),attributes:{orientation:"horizontal"},scope:["transform"]},{name:"buttons-vertical",title:Object(pe.__)("Vertical"),description:Object(pe.__)("Buttons shown in a column."),attributes:{orientation:"vertical"},scope:["transform"]}];const Vo={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",attributes:{contentJustification:{type:"string"},orientation:{type:"string",default:"horizontal"}},supports:{anchor:!0,align:["wide","full"]},editorStyle:"wp-block-buttons-editor",style:"wp-block-buttons"},{name:Ho}=Vo,Lo={icon:uo,example:{innerBlocks:[{name:"core/button",attributes:{text:Object(pe.__)("Find out more")}},{name:"core/button",attributes:{text:Object(pe.__)("Contact us")}}]},deprecated:mo,transforms:po,edit:No,save:function({attributes:{contentJustification:e,orientation:t}}){return Object(ge.createElement)("div",de.useBlockProps.save({className:je()({["is-content-justification-"+e]:e,"is-vertical":"vertical"===t})}),Object(ge.createElement)(de.InnerBlocks.Content,null))},variations:Ro};var Io=Object(ge.createElement)(he.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(he.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"})),Ao=n("wy2R"),Do=n.n(Ao),Fo=n("jSdM");const Go=Qe()(e=>{if(!e)return{};const t=Do()(e);return{year:t.year(),month:t.month()+1}});const qo={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:Uo}=qo,Wo={icon:Io,example:{},edit:function({attributes:e}){const t=Object(Le.useSelect)(e=>{const{getEditedPostAttribute:t}=e(Fo.store);return"post"===t("type")?t("date"):void 0},[]);return Object(ge.createElement)("div",Object(de.useBlockProps)(),Object(ge.createElement)(Ee.Disabled,null,Object(ge.createElement)(Kn.a,{block:"core/calendar",attributes:{...e,...Go(t)}})))}};var $o=Object(ge.createElement)(he.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(he.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 Zo=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(ge.createElement)(he.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 Qo={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}},supports:{align:!0,html:!1},editorStyle:"wp-block-categories-editor",style:"wp-block-categories"},{name:Jo}=Qo,Yo={icon:$o,example:{},edit:function e({attributes:{displayAsDropdown:t,showHierarchy:n,showPostCounts:o},setAttributes:r}){const a=Object(Ie.useInstanceId)(e,"blocks-category-select"),{categories:c,isRequesting:l}=Object(Le.useSelect)(e=>{const{getEntityRecords:t}=e(ue.store),{isResolving:n}=e("core/data"),o={per_page:-1,hide_empty:!0};return{categories:t("taxonomy","category",o),isRequesting:n("core","getEntityRecords",["taxonomy","category",o])}},[]),i=e=>null!=c&&c.length?null===e?c:c.filter(({parent:t})=>t===e):[],s=e=>"wp-block-categories__list wp-block-categories__list-level-"+e,u=e=>t=>r({[e]:t}),d=e=>e?Object(be.unescape)(e).trim():Object(pe.__)("(Untitled)"),m=(e,t)=>{const r=i(e.id),{id:a,link:c,count:l,name:u}=e;return Object(ge.createElement)("li",{key:a},Object(ge.createElement)("a",{href:c,target:"_blank",rel:"noreferrer noopener"},d(u)),o&&Object(ge.createElement)("span",{className:"wp-block-categories__post-count"},` (${l})`),n&&!!r.length&&Object(ge.createElement)("ul",{className:s(t+1)},r.map(e=>m(e,t+1))))},b=(e,t)=>{const{id:r,count:a,name:c}=e,l=i(r);return[Object(ge.createElement)("option",{key:r},Object(be.times)(3*t,()=>" "),d(c),o&&` (${a})`),n&&!!l.length&&l.map(e=>b(e,t+1))]};return Object(ge.createElement)("div",Object(de.useBlockProps)(),Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Categories settings")},Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Display as dropdown"),checked:t,onChange:u("displayAsDropdown")}),Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Show hierarchy"),checked:n,onChange:u("showHierarchy")}),Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Show post counts"),checked:o,onChange:u("showPostCounts")}))),l&&Object(ge.createElement)(Ee.Placeholder,{icon:Zo,label:Object(pe.__)("Categories")},Object(ge.createElement)(Ee.Spinner,null)),!l&&0===c.length&&Object(ge.createElement)("p",null,Object(pe.__)("Your site does not have any posts, so there is nothing to display here at the moment.")),!l&&c.length>0&&(t?(()=>{const e=i(n?0:null);return Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(Ee.VisuallyHidden,{as:"label",htmlFor:a},Object(pe.__)("Categories")),Object(ge.createElement)("select",{id:a,className:"wp-block-categories__dropdown"},e.map(e=>b(e,0))))})():(()=>{const e=i(n?0:null);return Object(ge.createElement)("ul",{className:s(0)},e.map(e=>m(e,0)))})()))}};var Ko=n("1Yn1");function Xo(e){return e.replace(/\[/g,"[")}function er(e){return e.replace(/^(\s*https?:)\/\/([^\s<>"]+\s*)$/m,"$1//$2")}var tr={from:[{type:"enter",regExp:/^```$/,transform:()=>Object(me.createBlock)("core/code")},{type:"block",blocks:["core/html"],transform:({content:e})=>Object(me.createBlock)("core/code",{content:e})},{type:"raw",isMatch:e=>"PRE"===e.nodeName&&1===e.children.length&&"CODE"===e.firstChild.nodeName,schema:{pre:{children:{code:{children:{"#text":{}}}}}}}]};const nr={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,typography:{fontSize:!0}},style:"wp-block-code"},{name:or}=nr,rr={icon:Ko.a,example:{attributes:{content:Object(pe.__)('// 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:tr,edit:function({attributes:e,setAttributes:t,onRemove:n}){const o=Object(de.useBlockProps)();return Object(ge.createElement)("pre",o,Object(ge.createElement)(de.RichText,{tagName:"code",value:e.content,onChange:e=>t({content:e}),onRemove:n,placeholder:Object(pe.__)("Write code…"),"aria-label":Object(pe.__)("Code"),preserveWhiteSpace:!0,__unstablePastePlainText:!0}))},save:function({attributes:e}){return Object(ge.createElement)("pre",de.useBlockProps.save(),Object(ge.createElement)(de.RichText.Content,{tagName:"code",value:(t=e.content,Object(be.flow)(Xo,er)(t||""))}));var t}};var ar=Object(ge.createElement)(he.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(he.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 cr(e){let t,{doc:n}=cr;n||(n=document.implementation.createHTMLDocument(""),cr.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 lr=[{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(be.omit)(e,["customTextColor","customBackgroundColor"]),style:t}},save({attributes:e}){const{verticalAlignment:t,backgroundColor:n,customBackgroundColor:o,textColor:r,customTextColor:a}=e,c=Object(de.getColorClassName)("background-color",n),l=Object(de.getColorClassName)("color",r),i=je()({"has-background":n||o,"has-text-color":r||a,[c]:c,[l]:l,["are-vertically-aligned-"+t]:t}),s={backgroundColor:c?void 0:o,color:l?void 0:a};return Object(ge.createElement)("div",{className:i||void 0,style:s},Object(ge.createElement)(de.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!==cr(e.originalContent)),migrate(e,t){const n=t.reduce((e,t)=>{const{originalContent:n}=t;let o=cr(n);return void 0===o&&(o=0),e[o]||(e[o]=[]),e[o].push(t),e},[]).map(e=>Object(me.createBlock)("core/column",{},e));return[Object(be.omit)(e,["columns"]),n]},save({attributes:e}){const{columns:t}=e;return Object(ge.createElement)("div",{className:`has-${t}-columns`},Object(ge.createElement)(de.InnerBlocks.Content,null))}},{attributes:{columns:{type:"number",default:2}},migrate:(e,t)=>[e=Object(be.omit)(e,["columns"]),t],save({attributes:e}){const{verticalAlignment:t,columns:n}=e,o=je()(`has-${n}-columns`,{["are-vertically-aligned-"+t]:t});return Object(ge.createElement)("div",{className:o},Object(ge.createElement)(de.InnerBlocks.Content,null))}}];const ir=e=>{const t=parseFloat(e);return Number.isFinite(t)?parseFloat(t.toFixed(2)):void 0};function sr(e,t){const{width:n=100/t}=e.attributes;return ir(n)}function ur(e,t,n=e.length){const o=function(e,t=e.length){return Object(be.sumBy)(e,e=>sr(e,t))}(e,n);return Object(be.mapValues)(function(e,t=e.length){return e.reduce((e,n)=>{const o=sr(n,t);return Object.assign(e,{[n.clientId]:o})},{})}(e,n),e=>ir(t*e/o))}function dr(e,t){return e.map(e=>Object(be.merge)({},e,{attributes:{width:t[e.clientId]}}))}const mr=["core/column"];const br=Object(Le.withDispatch)((e,t,n)=>({updateAlignment(o){const{clientId:r,setAttributes:a}=t,{updateBlockAttributes:c}=e(de.store),{getBlockOrder:l}=n.select(de.store);a({verticalAlignment:o});l(r).forEach(e=>{c(e,{verticalAlignment:o})})},updateColumns(o,r){const{clientId:a}=t,{replaceInnerBlocks:c}=e(de.store),{getBlocks:l}=n.select(de.store);let i=l(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=ir(100/r);i=[...dr(i,ur(i,100-e)),...Object(be.times)(r-o,()=>Object(me.createBlock)("core/column",{width:e}))]}else if(u)i=[...i,...Object(be.times)(r-o,()=>Object(me.createBlock)("core/column"))];else if(i=Object(be.dropRight)(i,o-r),s){i=dr(i,ur(i,100))}c(a,i)}}))((function({attributes:e,updateAlignment:t,updateColumns:n,clientId:o}){const{verticalAlignment:r}=e,{count:a}=Object(Le.useSelect)(e=>({count:e(de.store).getBlockCount(o)}),[o]),c=je()({["are-vertically-aligned-"+r]:r}),l=Object(de.useBlockProps)({className:c}),i=Object(de.__experimentalUseInnerBlocksProps)(l,{allowedBlocks:mr,orientation:"horizontal",renderAppender:!1});return Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.BlockControls,null,Object(ge.createElement)(de.BlockVerticalAlignmentToolbar,{onChange:t,value:r})),Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(Ee.PanelBody,null,Object(ge.createElement)(Ee.RangeControl,{label:Object(pe.__)("Columns"),value:a,onChange:e=>n(a,e),min:1,max:Math.max(6,a)}),a>6&&Object(ge.createElement)(Ee.Notice,{status:"warning",isDismissible:!1},Object(pe.__)("This column count exceeds the recommended amount and may cause visual breakage.")))),Object(ge.createElement)("div",i))}));function pr({clientId:e,name:t,setAttributes:n}){const{blockType:o,defaultVariation:r,variations:a}=Object(Le.useSelect)(e=>{const{getBlockVariations:n,getBlockType:o,getDefaultBlockVariation:r}=e(me.store);return{blockType:o(t),defaultVariation:r(t,"block"),variations:n(t,"block")}},[t]),{replaceInnerBlocks:c}=Object(Le.useDispatch)(de.store),l=Object(de.useBlockProps)();return Object(ge.createElement)("div",l,Object(ge.createElement)(de.__experimentalBlockVariationPicker,{icon:Object(be.get)(o,["icon","src"]),label:Object(be.get)(o,["title"]),variations:a,onSelect:(t=r)=>{t.attributes&&n(t.attributes),t.innerBlocks&&c(e,Object(me.createBlocksFromInnerBlocksTemplate)(t.innerBlocks),!0)},allowSkip:!0}))}var gr=e=>{const{clientId:t}=e,n=Object(Le.useSelect)(e=>e(de.store).getBlocks(t).length>0,[t])?br:pr;return Object(ge.createElement)(n,e)};var hr=[{name:"one-column-full",title:Object(pe.__)("100"),description:Object(pe.__)("One column"),icon:Object(ge.createElement)(Ee.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(Ee.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(pe.__)("50 / 50"),description:Object(pe.__)("Two columns; equal split"),icon:Object(ge.createElement)(Ee.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(Ee.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(pe.__)("30 / 70"),description:Object(pe.__)("Two columns; one-third, two-thirds split"),icon:Object(ge.createElement)(Ee.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(Ee.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(pe.__)("70 / 30"),description:Object(pe.__)("Two columns; two-thirds, one-third split"),icon:Object(ge.createElement)(Ee.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(Ee.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(pe.__)("33 / 33 / 33"),description:Object(pe.__)("Three columns; equal split"),icon:Object(ge.createElement)(Ee.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(Ee.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(pe.__)("25 / 50 / 25"),description:Object(pe.__)("Three columns; wide center column"),icon:Object(ge.createElement)(Ee.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(Ee.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 vr={from:[{type:"block",isMultiBlock:!0,blocks:["*"],__experimentalConvert:e=>{const t=+(100/e.length).toFixed(2),n=e.map(({name:e,attributes:n,innerBlocks:o})=>["core/column",{width:t+"%"},[[e,{...n},o]]]);return Object(me.createBlock)("core/columns",{},Object(me.createBlocksFromInnerBlocksTemplate)(n))},isMatch:({length:e})=>e&&e<=6},{type:"block",blocks:["core/media-text"],priority:1,transform:(e,t)=>{const{align:n,backgroundColor:o,textColor:r,style:a,mediaAlt:c,mediaId:l,mediaPosition:i,mediaSizeSlug:s,mediaType:u,mediaUrl:d,mediaWidth:m,verticalAlignment:b}=e;let p;if("image"!==u&&u)p=["core/video",{id:l,src:d}];else{p=["core/image",{...{id:l,alt:c,url:d,sizeSlug:s},...{href:e.href,linkClass:e.linkClass,linkDestination:e.linkDestination,linkTarget:e.linkTarget,rel:e.rel}}]}const g=[["core/column",{width:m+"%"},[p]],["core/column",{width:100-m+"%"},t]];return"right"===i&&g.reverse(),Object(me.createBlock)("core/columns",{align:n,backgroundColor:o,textColor:r,style:a,verticalAlignment:b},Object(me.createBlocksFromInnerBlocksTemplate)(g))}}]};const Or={apiVersion:2,name:"core/columns",title:"Columns",category:"design",description:"Add a block that displays content in multiple columns, then add whatever content blocks you’d like.",textdomain:"default",attributes:{verticalAlignment:{type:"string"}},supports:{anchor:!0,align:["wide","full"],html:!1,color:{gradients:!0,link:!0}},editorStyle:"wp-block-columns-editor",style:"wp-block-columns"},{name:jr}=Or,fr={icon:ar,variations:hr,example:{innerBlocks:[{name:"core/column",innerBlocks:[{name:"core/paragraph",attributes:{content:Object(pe.__)("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(pe.__)("Suspendisse commodo neque lacus, a dictum orci interdum et.")}}]},{name:"core/column",innerBlocks:[{name:"core/paragraph",attributes:{content:Object(pe.__)("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(pe.__)("Nam risus massa, ullamcorper consectetur eros fermentum, porta aliquet ligula. Sed vel mauris nec enim.")}}]}]},deprecated:lr,edit:gr,save:function({attributes:e}){const{verticalAlignment:t}=e,n=je()({["are-vertically-aligned-"+t]:t});return Object(ge.createElement)("div",de.useBlockProps.save({className:n}),Object(ge.createElement)(de.InnerBlocks.Content,null))},transforms:vr};var yr=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.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 wr=[{attributes:{verticalAlignment:{type:"string"},width:{type:"number",min:0,max:100}},isEligible:({width:e})=>isFinite(e),migrate:e=>({...e,width:e.width+"%"}),save({attributes:e}){const{verticalAlignment:t,width:n}=e,o=je()({["is-vertically-aligned-"+t]:t}),r={flexBasis:n+"%"};return Object(ge.createElement)("div",{className:o,style:r},Object(ge.createElement)(de.InnerBlocks.Content,null))}}];var _r=function({attributes:{verticalAlignment:e,width:t,templateLock:n=!1},setAttributes:o,clientId:r}){const a=je()("block-core-columns",{["is-vertically-aligned-"+e]:e}),c=Object(Ee.__experimentalUseCustomUnits)({availableUnits:Object(de.useSetting)("layout.units")||["%","px","em","rem","vw"]}),{columnsIds:l,hasChildBlocks:i,rootClientId:s}=Object(Le.useSelect)(e=>{const{getBlockOrder:t,getBlockRootClientId:n}=e(de.store),o=n(r);return{hasChildBlocks:t(r).length>0,rootClientId:o,columnsIds:t(o)}},[r]),{updateBlockAttributes:u}=Object(Le.useDispatch)(de.store),d=Number.isFinite(t)?t+"%":t,m=Object(de.useBlockProps)({className:a,style:d?{flexBasis:d}:void 0}),b=l.length,p=l.indexOf(r)+1,g=Object(pe.sprintf)(Object(pe.__)("%1$s (%2$d of %3$d)"),m["aria-label"],p,b),h=Object(de.__experimentalUseInnerBlocksProps)({...m,"aria-label":g},{templateLock:n,renderAppender:i?void 0:de.InnerBlocks.ButtonBlockAppender});return Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.BlockControls,null,Object(ge.createElement)(de.BlockVerticalAlignmentToolbar,{onChange:e=>{o({verticalAlignment:e}),u(s,{verticalAlignment:null})},value:e})),Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Column settings")},Object(ge.createElement)(Ee.__experimentalUnitControl,{label:Object(pe.__)("Width"),labelPosition:"edge",__unstableInputWidth:"80px",value:t||"",onChange:e=>{e=0>parseFloat(e)?"0":e,o({width:e})},units:c}))),Object(ge.createElement)("div",h))};const kr={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"},templateLock:{enum:["all","insert",!1]}},supports:{anchor:!0,reusable:!1,html:!1,color:{gradients:!0,link:!0},spacing:{padding:!0}}},{name:Er}=kr,Cr={icon:yr,edit:_r,save:function({attributes:e}){const{verticalAlignment:t,width:n}=e,o=je()({["is-vertically-aligned-"+t]:t});let r;return n&&(r={flexBasis:Number.isFinite(n)?n+"%":n}),Object(ge.createElement)("div",de.useBlockProps.save({className:o,style:r}),Object(ge.createElement)(de.InnerBlocks.Content,null))},deprecated:wr};var xr=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.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 Sr={"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 Br(e){return e?{backgroundImage:`url(${e})`}:{}}const Tr=["image","video"];function zr(e){return 0!==e&&50!==e&&e?"has-background-dim-"+10*Math.round(e/10):null}function Pr(e){return!e||"center center"===e||"center"===e}function Mr(e){return Pr(e)?"":Sr[e]}const Nr={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 Rr=[{attributes:{...Nr,title:{type:"string",source:"html",selector:"p"},contentAlign:{type:"string",default:"center"},isRepeated:{type:"boolean",default:!1},minHeight:{type:"number"},minHeightUnit:{type:"string"},gradient:{type:"string"},customGradient:{type:"string"},contentPosition:{type:"string"}},supports:{align:!0},save({attributes:e}){const{backgroundType:t,gradient:n,contentPosition:o,customGradient:r,customOverlayColor:a,dimRatio:c,focalPoint:l,hasParallax:i,isRepeated:s,overlayColor:u,url:d,minHeight:m,minHeightUnit:b}=e,p=Object(de.getColorClassName)("background-color",u),g=Object(de.__experimentalGetGradientClass)(n),h=b?`${m}${b}`:m,v="image"===t,O="video"===t,j=v?Br(d):{},f={};let y;p||(j.backgroundColor=a),r&&!d&&(j.background=r),j.minHeight=h||void 0,l&&(y=`${Math.round(100*l.x)}% ${Math.round(100*l.y)}%`,v&&!i&&(j.backgroundPosition=y),O&&(f.objectPosition=y));const w=je()(zr(c),p,{"has-background-dim":0!==c,"has-parallax":i,"is-repeated":s,"has-background-gradient":n||r,[g]:!d&&g,"has-custom-content-position":!Pr(o)},Mr(o));return Object(ge.createElement)("div",de.useBlockProps.save({className:w,style:j}),d&&(n||r)&&0!==c&&Object(ge.createElement)("span",{"aria-hidden":"true",className:je()("wp-block-cover__gradient-background",g),style:r?{background:r}:void 0}),O&&d&&Object(ge.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,playsInline:!0,src:d,style:f}),Object(ge.createElement)("div",{className:"wp-block-cover__inner-container"},Object(ge.createElement)(de.InnerBlocks.Content,null)))}},{attributes:{...Nr,title:{type:"string",source:"html",selector:"p"},contentAlign:{type:"string",default:"center"},minHeight:{type:"number"},gradient:{type:"string"},customGradient:{type:"string"}},supports:{align:!0},save({attributes:e}){const{backgroundType:t,gradient:n,customGradient:o,customOverlayColor:r,dimRatio:a,focalPoint:c,hasParallax:l,overlayColor:i,url:s,minHeight:u}=e,d=Object(de.getColorClassName)("background-color",i),m=Object(de.__experimentalGetGradientClass)(n),b="image"===t?Br(s):{};d||(b.backgroundColor=r),c&&!l&&(b.backgroundPosition=`${Math.round(100*c.x)}% ${Math.round(100*c.y)}%`),o&&!s&&(b.background=o),b.minHeight=u||void 0;const p=je()(zr(a),d,{"has-background-dim":0!==a,"has-parallax":l,"has-background-gradient":o,[m]:!s&&m});return Object(ge.createElement)("div",{className:p,style:b},s&&(n||o)&&0!==a&&Object(ge.createElement)("span",{"aria-hidden":"true",className:je()("wp-block-cover__gradient-background",m),style:o?{background:o}:void 0}),"video"===t&&s&&Object(ge.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:s}),Object(ge.createElement)("div",{className:"wp-block-cover__inner-container"},Object(ge.createElement)(de.InnerBlocks.Content,null)))}},{attributes:{...Nr,title:{type:"string",source:"html",selector:"p"},contentAlign:{type:"string",default:"center"},minHeight:{type:"number"},gradient:{type:"string"},customGradient:{type:"string"}},supports:{align:!0},save({attributes:e}){const{backgroundType:t,gradient:n,customGradient:o,customOverlayColor:r,dimRatio:a,focalPoint:c,hasParallax:l,overlayColor:i,url:s,minHeight:u}=e,d=Object(de.getColorClassName)("background-color",i),m=Object(de.__experimentalGetGradientClass)(n),b="image"===t?Br(s):{};d||(b.backgroundColor=r),c&&!l&&(b.backgroundPosition=`${100*c.x}% ${100*c.y}%`),o&&!s&&(b.background=o),b.minHeight=u||void 0;const p=je()(zr(a),d,{"has-background-dim":0!==a,"has-parallax":l,"has-background-gradient":o,[m]:!s&&m});return Object(ge.createElement)("div",{className:p,style:b},s&&(n||o)&&0!==a&&Object(ge.createElement)("span",{"aria-hidden":"true",className:je()("wp-block-cover__gradient-background",m),style:o?{background:o}:void 0}),"video"===t&&s&&Object(ge.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:s}),Object(ge.createElement)("div",{className:"wp-block-cover__inner-container"},Object(ge.createElement)(de.InnerBlocks.Content,null)))}},{attributes:{...Nr,title:{type:"string",source:"html",selector:"p"},contentAlign:{type:"string",default:"center"}},supports:{align:!0},save({attributes:e}){const{backgroundType:t,contentAlign:n,customOverlayColor:o,dimRatio:r,focalPoint:a,hasParallax:c,overlayColor:l,title:i,url:s}=e,u=Object(de.getColorClassName)("background-color",l),d="image"===t?Br(s):{};u||(d.backgroundColor=o),a&&!c&&(d.backgroundPosition=`${100*a.x}% ${100*a.y}%`);const m=je()(zr(r),u,{"has-background-dim":0!==r,"has-parallax":c,[`has-${n}-content`]:"center"!==n});return Object(ge.createElement)("div",{className:m,style:d},"video"===t&&s&&Object(ge.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:s}),!de.RichText.isEmpty(i)&&Object(ge.createElement)(de.RichText.Content,{tagName:"p",className:"wp-block-cover-text",value:i}))},migrate:e=>[Object(be.omit)(e,["title","contentAlign"]),[Object(me.createBlock)("core/paragraph",{content:e.title,align:e.contentAlign,fontSize:"large",placeholder:Object(pe.__)("Write title…")})]]},{attributes:{...Nr,title:{type:"string",source:"html",selector:"p"},contentAlign:{type:"string",default:"center"},align:{type:"string"}},supports:{className:!1},save({attributes:e}){const{url:t,title:n,hasParallax:o,dimRatio:r,align:a,contentAlign:c,overlayColor:l,customOverlayColor:i}=e,s=Object(de.getColorClassName)("background-color",l),u=Br(t);s||(u.backgroundColor=i);const d=je()("wp-block-cover-image",zr(r),s,{"has-background-dim":0!==r,"has-parallax":o,[`has-${c}-content`]:"center"!==c},a?"align"+a:null);return Object(ge.createElement)("div",{className:d,style:u},!de.RichText.isEmpty(n)&&Object(ge.createElement)(de.RichText.Content,{tagName:"p",className:"wp-block-cover-image-text",value:n}))},migrate:e=>[Object(be.omit)(e,["title","contentAlign","align"]),[Object(me.createBlock)("core/paragraph",{content:e.title,align:e.contentAlign,fontSize:"large",placeholder:Object(pe.__)("Write title…")})]]},{attributes:{...Nr,title:{type:"string",source:"html",selector:"h2"},align:{type:"string"},contentAlign:{type:"string",default:"center"}},supports:{className:!1},save({attributes:e}){const{url:t,title:n,hasParallax:o,dimRatio:r,align:a}=e,c=Br(t),l=je()("wp-block-cover-image",zr(r),{"has-background-dim":0!==r,"has-parallax":o},a?"align"+a:null);return Object(ge.createElement)("section",{className:l,style:c},Object(ge.createElement)(de.RichText.Content,{tagName:"h2",value:n}))},migrate:e=>[Object(be.omit)(e,["title","contentAlign","align"]),[Object(me.createBlock)("core/paragraph",{content:e.title,align:e.contentAlign,fontSize:"large",placeholder:Object(pe.__)("Write title…")})]]}],Vr=n("FEKF"),Hr=n.n(Vr),Lr=n("Zss7"),Ir=n.n(Lr);const Ar=[["core/paragraph",{align:"center",fontSize:"large",placeholder:Object(pe.__)("Write title…")}]],{__Visualizer:Dr}=Ee.__experimentalBoxControl;function Fr(){return Fr.fastAverageColor||(Fr.fastAverageColor=new Hr.a),Fr.fastAverageColor}function Gr({onChange:e,onUnitChange:t,unit:n="px",value:o=""}){const[r,a]=Object(ge.useState)(null),c="block-cover-height-input-"+Object(Ie.useInstanceId)(de.__experimentalUnitControl),l="px"===n,i=Object(Ee.__experimentalUseCustomUnits)({availableUnits:Object(de.useSetting)("spacing.units")||["px","em","rem","vw","vh"],defaultValues:{px:"430",em:"20",rem:"20",vw:"20",vh:"50"}}),s=null!==r?r:o,u=l?50:0;return Object(ge.createElement)(Ee.BaseControl,{label:Object(pe.__)("Minimum height of cover"),id:c},Object(ge.createElement)(de.__experimentalUnitControl,{id:c,isResetValueOnUnitChange:!0,min:u,onBlur:()=>{null!==r&&a(null)},onChange:n=>{const o=""!==n?parseInt(n,10):void 0;isNaN(o)&&void 0!==o?a(n):(a(null),e(o),void 0===o&&t())},onUnitChange:t,step:"1",style:{maxWidth:80},unit:n,units:i,value:s}))}const qr={top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1};function Ur({className:e,onResizeStart:t,onResize:n,onResizeStop:o,...r}){const[a,c]=Object(ge.useState)(!1);return Object(ge.createElement)(Ee.ResizableBox,Object(ke.a)({className:je()(e,{"is-resizing":a}),enable:qr,onResizeStart:(e,o,r)=>{t(r.clientHeight),n(r.clientHeight)},onResize:(e,t,o)=>{n(o.clientHeight),a||c(!0)},onResizeStop:(e,t,n)=>{o(n.clientHeight),c(!1)},minHeight:50},r))}function Wr({x:e,y:t}){return`${Math.round(100*e)}% ${Math.round(100*t)}%`}function $r({disableMediaButtons:e=!1,children:t,noticeUI:n,noticeOperations:o,onSelectMedia:r}){const{removeAllNotices:a,createErrorNotice:c}=o;return Object(ge.createElement)(de.MediaPlaceholder,{icon:Object(ge.createElement)(de.BlockIcon,{icon:xr}),labels:{title:Object(pe.__)("Cover"),instructions:Object(pe.__)("Upload an image or video file, or pick one from your media library.")},onSelect:r,accept:"image/*,video/*",allowedTypes:Tr,notices:n,disableMediaButtons:e,onError:e=>{a(),c(e)}},t)}var Zr=Object(Ie.compose)([Object(Le.withDispatch)(e=>{const{toggleSelection:t}=e(de.store);return{toggleSelection:t}}),Object(de.withColors)({overlayColor:"background-color"}),Ee.withNotices,Ie.withInstanceId])((function({attributes:e,clientId:t,isSelected:n,noticeUI:o,noticeOperations:r,overlayColor:a,setAttributes:c,setOverlayColor:l,toggleSelection:i}){var s,u;const{contentPosition:d,id:m,backgroundType:b,dimRatio:p,focalPoint:g,hasParallax:h,isRepeated:v,minHeight:O,minHeightUnit:j,style:f,url:y}=e,{gradientClass:w,gradientValue:_,setGradient:k}=Object(de.__experimentalUseGradient)(),E=function(e){return t=>{if(!t||!t.url)return void e({url:void 0,id:void 0});let n;if(Object(He.isBlobURL)(t.url)&&(t.type=Object(He.getBlobTypeByURL)(t.url)),t.media_type)n="image"===t.media_type?"image":"video";else{if("image"!==t.type&&"video"!==t.type)return;n=t.type}e({url:t.url,id:t.id,backgroundType:n,..."video"===n?{focalPoint:void 0,hasParallax:void 0}:{}})}}(c),C=((e,t)=>!e&&Object(He.isBlobURL)(t))(m,y),[x,S]=Object(ge.useState)(O),[B,T]=Object(ge.useState)(j),z="vh"===j&&100===O,P=Object(ge.useRef)(),M=function(e,t=50,n,o){const[r,a]=Object(ge.useState)(!1);return Object(ge.useEffect)(()=>{e&&t<=50&&o.current&&Fr().getColorAsync(o.current,e=>{a(e.isDark)})},[e,e&&t<=50&&o.current,a]),Object(ge.useEffect)(()=>{if(t>50||!e){if(!n)return void a(!0);a(Ir()(n).isDark())}},[n,t>50||!e,a]),Object(ge.useEffect)(()=>{e||n||a(!1)},[!e&&!n,a]),r}(y,p,a.color,P),N="image"===b,R="video"===b,[V,H]=Object(ge.useState)(null),L=j?`${O}${j}`:O,I=!(h||v),A={...N&&!I?Br(y):{backgroundImage:_||void 0},backgroundColor:a.color,minHeight:V||L||void 0},D={objectPosition:g&&I?Wr(g):void 0},F=!!(y||a.color||_),G=R||N&&(!h||v),q=e=>{const[t,n]=P.current?[P.current.style,"objectPosition"]:[$.current.style,"backgroundPosition"];t[n]=Wr(e)},U=Object(Le.useSelect)(e=>e(de.store).getBlock(t).innerBlocks.length>0,[t]),W=Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.BlockControls,{group:"block"},Object(ge.createElement)(de.__experimentalBlockAlignmentMatrixControl,{label:Object(pe.__)("Change content position"),value:d,onChange:e=>c({contentPosition:e}),isDisabled:!U}),Object(ge.createElement)(de.__experimentalBlockFullHeightAligmentControl,{isActive:z,onToggle:()=>z?c("vh"===B&&100===x?{minHeight:void 0,minHeightUnit:void 0}:{minHeight:x,minHeightUnit:B}):(S(O),T(j),c({minHeight:100,minHeightUnit:"vh"})),isDisabled:!U})),Object(ge.createElement)(de.BlockControls,{group:"other"},Object(ge.createElement)(de.MediaReplaceFlow,{mediaId:m,mediaURL:y,allowedTypes:Tr,accept:"image/*,video/*",onSelect:E,name:y?Object(pe.__)("Replace"):Object(pe.__)("Add Media")})),Object(ge.createElement)(de.InspectorControls,null,!!y&&Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Media settings")},N&&Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Fixed background"),checked:h,onChange:()=>{c({hasParallax:!h,...h?{}:{focalPoint:void 0}})}}),Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Repeated background"),checked:v,onChange:()=>{c({isRepeated:!v})}})),G&&Object(ge.createElement)(Ee.FocalPointPicker,{label:Object(pe.__)("Focal point picker"),url:y,value:g,onDragStart:q,onDrag:q,onChange:e=>c({focalPoint:e})}),Object(ge.createElement)(Ee.PanelRow,null,Object(ge.createElement)(Ee.Button,{isSecondary:!0,isSmall:!0,className:"block-library-cover__reset-button",onClick:()=>c({url:void 0,id:void 0,backgroundType:void 0,dimRatio:void 0,focalPoint:void 0,hasParallax:void 0,isRepeated:void 0})},Object(pe.__)("Clear Media")))),Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Dimensions")},Object(ge.createElement)(Gr,{value:V||O,unit:j,onChange:e=>c({minHeight:e}),onUnitChange:e=>c({minHeightUnit:e})})),Object(ge.createElement)(de.__experimentalPanelColorGradientSettings,{title:Object(pe.__)("Overlay"),initialOpen:!0,settings:[{colorValue:a.color,gradientValue:_,onColorChange:l,onGradientChange:k,label:Object(pe.__)("Color")}]},!!y&&Object(ge.createElement)(Ee.RangeControl,{label:Object(pe.__)("Opacity"),value:p,onChange:e=>c({dimRatio:e}),min:0,max:100,step:10,required:!0})))),$=Object(ge.useRef)(),Z=Object(de.useBlockProps)({ref:$}),Q=Object(de.__experimentalUseInnerBlocksProps)({className:"wp-block-cover__inner-container"},{template:Ar,templateInsertUpdatesSelection:!0});if(!U&&!F)return Object(ge.createElement)(ge.Fragment,null,W,Object(ge.createElement)("div",Object(ke.a)({},Z,{className:je()("is-placeholder",Z.className)}),Object(ge.createElement)($r,{noticeUI:o,onSelectMedia:E,noticeOperations:r},Object(ge.createElement)("div",{className:"wp-block-cover__placeholder-background-options"},Object(ge.createElement)(de.ColorPalette,{disableCustomColors:!0,value:a.color,onChange:l,clearable:!1})))));const J=je()(zr(p),{"is-dark-theme":M,"has-background-dim":0!==p,"is-transient":C,"has-parallax":h,"is-repeated":v,[a.class]:a.class,"has-background-gradient":_,[w]:!y&&w,"has-custom-content-position":!Pr(d)},Mr(d));return Object(ge.createElement)(ge.Fragment,null,W,Object(ge.createElement)("div",Object(ke.a)({},Z,{className:je()(J,Z.className),style:{...A,...Z.style},"data-url":y}),Object(ge.createElement)(Dr,{values:null==f||null===(s=f.spacing)||void 0===s?void 0:s.padding,showValues:null==f||null===(u=f.visualizers)||void 0===u?void 0:u.padding}),Object(ge.createElement)(Ur,{className:"block-library-cover__resize-container",onResizeStart:()=>{c({minHeightUnit:"px"}),i(!1)},onResize:H,onResizeStop:e=>{i(!0),c({minHeight:e}),H(null)},showHandle:n}),y&&_&&0!==p&&Object(ge.createElement)("span",{"aria-hidden":"true",className:je()("wp-block-cover__gradient-background",w),style:{backgroundImage:_}}),y&&N&&I&&Object(ge.createElement)("img",{ref:P,className:"wp-block-cover__image-background",alt:"",src:y,style:D}),y&&R&&Object(ge.createElement)("video",{ref:P,className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:y,style:D}),C&&Object(ge.createElement)(Ee.Spinner,null),Object(ge.createElement)($r,{disableMediaButtons:!0,noticeUI:o,onSelectMedia:E,noticeOperations:r}),Object(ge.createElement)("div",Q)))}));var Qr={from:[{type:"block",blocks:["core/image"],transform:({caption:e,url:t,align:n,id:o,anchor:r,style:a})=>{var c;return Object(me.createBlock)("core/cover",{url:t,align:n,id:o,anchor:r,style:{color:{duotone:null==a||null===(c=a.color)||void 0===c?void 0:c.duotone}}},[Object(me.createBlock)("core/paragraph",{content:e,fontSize:"large"})])}},{type:"block",blocks:["core/video"],transform:({caption:e,src:t,align:n,id:o,anchor:r})=>Object(me.createBlock)("core/cover",{url:t,align:n,id:o,backgroundType:"video",anchor:r},[Object(me.createBlock)("core/paragraph",{content:e,fontSize:"large"})])},{type:"block",blocks:["core/group"],isMatch:({backgroundColor:e,gradient:t,style:n})=>{var o,r;return e||(null==n||null===(o=n.color)||void 0===o?void 0:o.background)||(null==n||null===(r=n.color)||void 0===r?void 0:r.gradient)||t},transform:({align:e,anchor:t,backgroundColor:n,gradient:o,style:r},a)=>{var c,l;return Object(me.createBlock)("core/cover",{align:e,anchor:t,overlayColor:n,customOverlayColor:null==r||null===(c=r.color)||void 0===c?void 0:c.background,gradient:o,customGradient:null==r||null===(l=r.color)||void 0===l?void 0:l.gradient},a)}}],to:[{type:"block",blocks:["core/image"],isMatch:({backgroundType:e,url:t,overlayColor:n,customOverlayColor:o,gradient:r,customGradient:a})=>t?"image"===e:!(n||o||r||a),transform:({title:e,url:t,align:n,id:o,anchor:r,style:a})=>{var c;return Object(me.createBlock)("core/image",{caption:e,url:t,align:n,id:o,anchor:r,style:{color:{duotone:null==a||null===(c=a.color)||void 0===c?void 0:c.duotone}}})}},{type:"block",blocks:["core/video"],isMatch:({backgroundType:e,url:t,overlayColor:n,customOverlayColor:o,gradient:r,customGradient:a})=>t?"video"===e:!(n||o||r||a),transform:({title:e,url:t,align:n,id:o,anchor:r})=>Object(me.createBlock)("core/video",{caption:e,src:t,id:o,align:n,anchor:r})}]};const Jr={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"},hasParallax:{type:"boolean",default:!1},isRepeated:{type:"boolean",default:!1},dimRatio:{type:"number",default:50},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"}},supports:{anchor:!0,align:!0,html:!1,spacing:{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:Yr}=Jr,Kr={icon:xr,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(pe.__)("<strong>Snow Patrol</strong>"),align:"center"}}]},transforms:Qr,save:function({attributes:e}){const{backgroundType:t,gradient:n,contentPosition:o,customGradient:r,customOverlayColor:a,dimRatio:c,focalPoint:l,hasParallax:i,isRepeated:s,overlayColor:u,url:d,id:m,minHeight:b,minHeightUnit:p}=e,g=Object(de.getColorClassName)("background-color",u),h=Object(de.__experimentalGetGradientClass)(n),v=p?`${b}${p}`:b,O="image"===t,j="video"===t,f=!(i||s),y={...O&&!f?Br(d):{},backgroundColor:g?void 0:a,background:r&&!d?r:void 0,minHeight:v||void 0},w=l&&f?`${Math.round(100*l.x)}% ${Math.round(100*l.y)}%`:void 0,_=je()(zr(c),g,{"has-background-dim":0!==c,"has-parallax":i,"is-repeated":s,"has-background-gradient":n||r,[h]:!d&&h,"has-custom-content-position":!Pr(o)},Mr(o));return Object(ge.createElement)("div",de.useBlockProps.save({className:_,style:y}),d&&(n||r)&&0!==c&&Object(ge.createElement)("span",{"aria-hidden":"true",className:je()("wp-block-cover__gradient-background",h),style:r?{background:r}:void 0}),O&&f&&d&&Object(ge.createElement)("img",{className:je()("wp-block-cover__image-background",m?"wp-image-"+m:null),alt:"",src:d,style:{objectPosition:w},"data-object-fit":"cover","data-object-position":w}),j&&d&&Object(ge.createElement)("video",{className:je()("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(ge.createElement)("div",{className:"wp-block-cover__inner-container"},Object(ge.createElement)(de.InnerBlocks.Content,null)))},edit:Zr,deprecated:Rr};var Xr=({blockSupportsResponsive:e,showEditButton:t,themeSupportsResponsive:n,allowResponsive:o,getResponsiveHelp:r,toggleResponsive:a,switchBackToURLInput:c})=>Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.BlockControls,null,Object(ge.createElement)(Ee.ToolbarGroup,null,t&&Object(ge.createElement)(Ee.ToolbarButton,{className:"components-toolbar__control",label:Object(pe.__)("Edit URL"),icon:Nn.a,onClick:c}))),n&&e&&Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Media settings"),className:"blocks-responsive"},Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Resize for smaller devices"),checked:o,help:r,onChange:a}))));const ea=Object(ge.createElement)(Ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(Ee.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"})),ta=Object(ge.createElement)(Ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(Ee.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"})),na=Object(ge.createElement)(Ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(Ee.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"})),oa=Object(ge.createElement)(Ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(Ee.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"})),ra={foreground:"#1da1f2",src:Object(ge.createElement)(Ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(Ee.G,null,Object(ge.createElement)(Ee.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"})))},aa={foreground:"#ff0000",src:Object(ge.createElement)(Ee.SVG,{viewBox:"0 0 24 24"},Object(ge.createElement)(Ee.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"}))},ca={foreground:"#3b5998",src:Object(ge.createElement)(Ee.SVG,{viewBox:"0 0 24 24"},Object(ge.createElement)(Ee.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"}))},la=Object(ge.createElement)(Ee.SVG,{viewBox:"0 0 24 24"},Object(ge.createElement)(Ee.G,null,Object(ge.createElement)(Ee.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"}))),ia={foreground:"#0073AA",src:Object(ge.createElement)(Ee.SVG,{viewBox:"0 0 24 24"},Object(ge.createElement)(Ee.G,null,Object(ge.createElement)(Ee.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"})))},sa={foreground:"#1db954",src:Object(ge.createElement)(Ee.SVG,{viewBox:"0 0 24 24"},Object(ge.createElement)(Ee.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"}))},ua=Object(ge.createElement)(Ee.SVG,{viewBox:"0 0 24 24"},Object(ge.createElement)(Ee.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"})),da={foreground:"#1ab7ea",src:Object(ge.createElement)(Ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(Ee.G,null,Object(ge.createElement)(Ee.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"})))},ma=Object(ge.createElement)(Ee.SVG,{viewBox:"0 0 24 24"},Object(ge.createElement)(Ee.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"})),ba={foreground:"#35465c",src:Object(ge.createElement)(Ee.SVG,{viewBox:"0 0 24 24"},Object(ge.createElement)(Ee.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"}))},pa=Object(ge.createElement)(Ee.SVG,{viewBox:"0 0 24 24"},Object(ge.createElement)(Ee.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(ge.createElement)(Ee.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(ge.createElement)(Ee.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"})),ga=Object(ge.createElement)(Ee.SVG,{viewBox:"0 0 24 24"},Object(ge.createElement)(Ee.Path,{d:"m.0206909 21 19.8160091-13.07806 3.5831 6.20826z",fill:"#4bc7ee"}),Object(ge.createElement)(Ee.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(ge.createElement)(Ee.Path,{d:"m.0206909 21 15.2439091-16.38571 4.3029 7.32271z",fill:"#c3d82e"}),Object(ge.createElement)(Ee.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(ge.createElement)(Ee.Path,{d:"m.0206909 21 19.5468091-9.063 1.6621 2.8344z",fill:"#209dbd"}),Object(ge.createElement)(Ee.Path,{d:"m.0206909 21 17.9209091-11.82623 1.6259 2.76323z",fill:"#7cb3c9"})),ha=Object(ge.createElement)(Ee.SVG,{viewBox:"0 0 24 24"},Object(ge.createElement)(Ee.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"}));var va=()=>Object(ge.createElement)("div",{className:"wp-block-embed is-loading"},Object(ge.createElement)(Ee.Spinner,null),Object(ge.createElement)("p",null,Object(pe.__)("Embedding…")));var Oa=({icon:e,label:t,value:n,onSubmit:o,onChange:r,cannotEmbed:a,fallback:c,tryAgain:l})=>Object(ge.createElement)(Ee.Placeholder,{icon:Object(ge.createElement)(de.BlockIcon,{icon:e,showColors:!0}),label:t,className:"wp-block-embed",instructions:Object(pe.__)("Paste a link to the content you want to display on your site.")},Object(ge.createElement)("form",{onSubmit:o},Object(ge.createElement)("input",{type:"url",value:n||"",className:"components-placeholder__input","aria-label":t,placeholder:Object(pe.__)("Enter URL to embed here…"),onChange:r}),Object(ge.createElement)(Ee.Button,{isPrimary:!0,type:"submit"},Object(pe._x)("Embed","button label"))),Object(ge.createElement)("div",{className:"components-placeholder__learn-more"},Object(ge.createElement)(Ee.ExternalLink,{href:Object(pe.__)("https://wordpress.org/support/article/embeds/")},Object(pe.__)("Learn more about embeds"))),a&&Object(ge.createElement)("div",{className:"components-placeholder__error"},Object(ge.createElement)("div",{className:"components-placeholder__instructions"},Object(pe.__)("Sorry, this content could not be embedded.")),Object(ge.createElement)(Ee.Button,{isSecondary:!0,onClick:l},Object(pe._x)("Try again","button label"))," ",Object(ge.createElement)(Ee.Button,{isSecondary:!0,onClick:c},Object(pe._x)("Convert to link","button label"))));function ja({html:e}){const t=Object(ge.useRef)();Object(ge.useEffect)(()=>{const{ownerDocument:e}=t.current,{defaultView:n}=e;function o({data:{secret:t,message:n,value:o}={}}){[t,n,o].some(e=>!e)||"height"!==n||e.querySelectorAll(`iframe[data-secret="${t}"`).forEach(e=>{+e.height!==o&&(e.height=o)})}function r(){const{activeElement:n}=e;"IFRAME"===n.tagName&&n.parentNode===t.current&&n.focus()}return n.addEventListener("message",o),n.addEventListener("blur",r),()=>{n.removeEventListener("message",o),n.removeEventListener("blur",r)}},[]);const n=Object(ge.useMemo)(()=>{const t=(new window.DOMParser).parseFromString(e,"text/html"),n=t.querySelector("iframe");n&&n.removeAttribute("style");const o=t.querySelector("blockquote");return o&&(o.style.display="none"),t.body.innerHTML},[e]);return Object(ge.createElement)("div",{ref:t,className:"wp-block-embed__wrapper",dangerouslySetInnerHTML:{__html:n}})}class fa extends ge.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:c,className:l,icon:i,label:s,insertBlocksAfter:u}=this.props,{scripts:d}=e,{interactive:m}=this.state,b="photo"===o?(e=>{const t=e.thumbnail_url||e.url,n=Object(ge.createElement)("p",null,Object(ge.createElement)("img",{src:t,alt:e.title,width:"100%"}));return Object(ge.renderToString)(n)})(e):e.html,p=new URL(n).host.split("."),g=p.splice(p.length-2,p.length-1).join("."),h=Object(pe.sprintf)(Object(pe.__)("Embedded content from %s"),g),v=$e()(o,l,"wp-block-embed__wrapper"),O="wp-embed"===o?Object(ge.createElement)(ja,{html:b}):Object(ge.createElement)("div",{className:"wp-block-embed__wrapper"},Object(ge.createElement)(Ee.SandBox,{html:b,scripts:d,title:h,type:v,onFocus:this.hideOverlay}),!m&&Object(ge.createElement)("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}));return Object(ge.createElement)("figure",{className:$e()(l,"wp-block-embed",{"is-type-video":"video"===o})},t?O:Object(ge.createElement)(Ee.Placeholder,{icon:Object(ge.createElement)(de.BlockIcon,{icon:i,showColors:!0}),label:s},Object(ge.createElement)("p",{className:"components-placeholder__error"},Object(ge.createElement)("a",{href:n},n)),Object(ge.createElement)("p",{className:"components-placeholder__error"},Object(pe.sprintf)(Object(pe.__)("Embedded content from %s can't be previewed in the editor."),g))),(!de.RichText.isEmpty(r)||c)&&Object(ge.createElement)(de.RichText,{tagName:"figcaption",placeholder:Object(pe.__)("Add caption"),value:r,onChange:a,inlineToolbar:!0,__unstableOnSplitAtEnd:()=>u(Object(me.createBlock)("core/paragraph"))}))}}var ya=fa;function wa(e){return e?Object(pe.__)("This embed will preserve its aspect ratio when the browser is resized."):Object(pe.__)("This embed may not preserve its aspect ratio when the browser is resized.")}var _a=e=>{const{attributes:{providerNameSlug:t,previewable:n,responsive:o,url:r},attributes:a,isSelected:c,onReplace:l,setAttributes:i,insertBlocksAfter:s,onFocus:u}=e,d={title:Object(pe._x)("Embed","block title"),icon:ea},{icon:m,title:b}=(p=t,(null===(g=Object(me.getBlockVariations)(Je))||void 0===g?void 0:g.find(({name:e})=>e===p))||d);var p,g;const[h,v]=Object(ge.useState)(r),[O,j]=Object(ge.useState)(!1),{invalidateResolution:f}=Object(Le.useDispatch)("core/data"),{preview:y,fetching:w,themeSupportsResponsive:_,cannotEmbed:k}=Object(Le.useSelect)(e=>{var t;const{getEmbedPreview:n,isPreviewEmbedFallback:o,isRequestingEmbedPreview:a,getThemeSupports:c}=e(ue.store);if(!r)return{fetching:!1,cannotEmbed:!1};const l=n(r),i=o(r),s=!1===(null==l?void 0:l.html)&&void 0===(null==l?void 0:l.type),u=404===(null==l||null===(t=l.data)||void 0===t?void 0:t.status),d=!!l&&!s&&!u;return{preview:d?l:void 0,fetching:a(r),themeSupportsResponsive:c()["responsive-embeds"],cannotEmbed:!d||i}},[r]),E=()=>{const{allowResponsive:e,className:t}=a;return{...a,...tt(y,b,t,o,e)}};Object(ge.useEffect)(()=>{if(null==y||!y.html||!k||w)return;const e=r.replace(/\/$/,"");v(e),j(!1),i({url:e})},[null==y?void 0:y.html,r]),Object(ge.useEffect)(()=>{if(y&&!O&&(i(E()),l)){const t=Ke(e,E());t&&l(t)}},[y,O]);const C=Object(de.useBlockProps)();if(w)return Object(ge.createElement)(he.View,C,Object(ge.createElement)(va,null));const x=ge.Platform.select({web:Object(pe.sprintf)(Object(pe.__)("%s URL"),b),native:b});if(!y||k||O)return Object(ge.createElement)(he.View,C,Object(ge.createElement)(Oa,{icon:m,label:x,onFocus:u,onSubmit:e=>{e&&e.preventDefault(),j(!1),i({url:h})},value:h,cannotEmbed:k,onChange:e=>v(e.target.value),fallback:()=>function(e,t){const n=Object(ge.createElement)("a",{href:e},e);t(Object(me.createBlock)("core/paragraph",{content:Object(ge.renderToString)(n)}))}(h,l),tryAgain:()=>{f("core","getEmbedPreview",[h])}}));const{caption:S,type:B,allowResponsive:T,className:z}=E(),P=je()(z,e.className);return Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(Xr,{showEditButton:y&&!k,themeSupportsResponsive:_,blockSupportsResponsive:o,allowResponsive:T,getResponsiveHelp:wa,toggleResponsive:()=>{const{allowResponsive:e,className:t}=a,{html:n}=y,r=!e;i({allowResponsive:r,className:et(n,t,o&&r)})},switchBackToURLInput:()=>j(!0)}),Object(ge.createElement)(he.View,C,Object(ge.createElement)(ya,{preview:y,previewable:n,className:P,url:h,type:B,caption:S,onCaptionChange:e=>i({caption:e}),isSelected:c,icon:m,label:x,insertBlocksAfter:s})))};const{name:ka}={apiVersion:2,name:"core/embed",title:"Embed",category:"embed",description:"Add a block that displays content pulled from other sites, like Twitter, Instagram 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 Ea={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(me.createBlock)(ka,{url:e.textContent.trim()})}],to:[{type:"block",blocks:["core/paragraph"],transform:({url:e,caption:t})=>{const n=Object(ge.createElement)("a",{href:e},t||e);return Object(me.createBlock)("core/paragraph",{content:Object(ge.renderToString)(n)})}}]};const Ca=[{name:"twitter",title:"Twitter",icon:ra,keywords:["tweet",Object(pe.__)("social")],description:Object(pe.__)("Embed a tweet."),patterns:[/^https?:\/\/(www\.)?twitter\.com\/.+/i],attributes:{providerNameSlug:"twitter",responsive:!0}},{name:"youtube",title:"YouTube",icon:aa,keywords:[Object(pe.__)("music"),Object(pe.__)("video")],description:Object(pe.__)("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:ca,keywords:[Object(pe.__)("social")],description:Object(pe.__)("Embed a Facebook post."),scope:["block"],patterns:[],attributes:{providerNameSlug:"facebook",previewable:!1,responsive:!0}},{name:"instagram",title:"Instagram",icon:la,keywords:[Object(pe.__)("image"),Object(pe.__)("social")],description:Object(pe.__)("Embed an Instagram post."),scope:["block"],patterns:[],attributes:{providerNameSlug:"instagram",responsive:!0}},{name:"wordpress",title:"WordPress",icon:ia,keywords:[Object(pe.__)("post"),Object(pe.__)("blog")],description:Object(pe.__)("Embed a WordPress post."),attributes:{providerNameSlug:"wordpress"}},{name:"soundcloud",title:"SoundCloud",icon:ta,keywords:[Object(pe.__)("music"),Object(pe.__)("audio")],description:Object(pe.__)("Embed SoundCloud content."),patterns:[/^https?:\/\/(www\.)?soundcloud\.com\/.+/i],attributes:{providerNameSlug:"soundcloud",responsive:!0}},{name:"spotify",title:"Spotify",icon:sa,keywords:[Object(pe.__)("music"),Object(pe.__)("audio")],description:Object(pe.__)("Embed Spotify content."),patterns:[/^https?:\/\/(open|play)\.spotify\.com\/.+/i],attributes:{providerNameSlug:"spotify",responsive:!0}},{name:"flickr",title:"Flickr",icon:ua,keywords:[Object(pe.__)("image")],description:Object(pe.__)("Embed Flickr content."),patterns:[/^https?:\/\/(www\.)?flickr\.com\/.+/i,/^https?:\/\/flic\.kr\/.+/i],attributes:{providerNameSlug:"flickr",responsive:!0}},{name:"vimeo",title:"Vimeo",icon:da,keywords:[Object(pe.__)("video")],description:Object(pe.__)("Embed a Vimeo video."),patterns:[/^https?:\/\/(www\.)?vimeo\.com\/.+/i],attributes:{providerNameSlug:"vimeo",responsive:!0}},{name:"animoto",title:"Animoto",icon:ga,description:Object(pe.__)("Embed an Animoto video."),patterns:[/^https?:\/\/(www\.)?(animoto|video214)\.com\/.+/i],attributes:{providerNameSlug:"animoto",responsive:!0}},{name:"cloudup",title:"Cloudup",icon:ea,description:Object(pe.__)("Embed Cloudup content."),patterns:[/^https?:\/\/cloudup\.com\/.+/i],attributes:{providerNameSlug:"cloudup",responsive:!0}},{name:"collegehumor",title:"CollegeHumor",icon:oa,description:Object(pe.__)("Embed CollegeHumor content."),scope:["block"],patterns:[],attributes:{providerNameSlug:"collegehumor",responsive:!0}},{name:"crowdsignal",title:"Crowdsignal",icon:ea,keywords:["polldaddy",Object(pe.__)("survey")],description:Object(pe.__)("Embed Crowdsignal (formerly Polldaddy) content."),patterns:[/^https?:\/\/((.+\.)?polldaddy\.com|poll\.fm|.+\.survey\.fm)\/.+/i],attributes:{providerNameSlug:"crowdsignal",responsive:!0}},{name:"dailymotion",title:"Dailymotion",icon:ha,keywords:[Object(pe.__)("video")],description:Object(pe.__)("Embed a Dailymotion video."),patterns:[/^https?:\/\/(www\.)?dailymotion\.com\/.+/i],attributes:{providerNameSlug:"dailymotion",responsive:!0}},{name:"imgur",title:"Imgur",icon:na,description:Object(pe.__)("Embed Imgur content."),patterns:[/^https?:\/\/(.+\.)?imgur\.com\/.+/i],attributes:{providerNameSlug:"imgur",responsive:!0}},{name:"issuu",title:"Issuu",icon:ea,description:Object(pe.__)("Embed Issuu content."),patterns:[/^https?:\/\/(www\.)?issuu\.com\/.+/i],attributes:{providerNameSlug:"issuu",responsive:!0}},{name:"kickstarter",title:"Kickstarter",icon:ea,description:Object(pe.__)("Embed Kickstarter content."),patterns:[/^https?:\/\/(www\.)?kickstarter\.com\/.+/i,/^https?:\/\/kck\.st\/.+/i],attributes:{providerNameSlug:"kickstarter",responsive:!0}},{name:"meetup-com",title:"Meetup.com",icon:ea,description:Object(pe.__)("Embed Meetup.com content."),patterns:[/^https?:\/\/(www\.)?meetu(\.ps|p\.com)\/.+/i],attributes:{providerNameSlug:"meetup-com",responsive:!0}},{name:"mixcloud",title:"Mixcloud",icon:ta,keywords:[Object(pe.__)("music"),Object(pe.__)("audio")],description:Object(pe.__)("Embed Mixcloud content."),patterns:[/^https?:\/\/(www\.)?mixcloud\.com\/.+/i],attributes:{providerNameSlug:"mixcloud",responsive:!0}},{name:"reddit",title:"Reddit",icon:ma,description:Object(pe.__)("Embed a Reddit thread."),patterns:[/^https?:\/\/(www\.)?reddit\.com\/.+/i],attributes:{providerNameSlug:"reddit",responsive:!0}},{name:"reverbnation",title:"ReverbNation",icon:ta,description:Object(pe.__)("Embed ReverbNation content."),patterns:[/^https?:\/\/(www\.)?reverbnation\.com\/.+/i],attributes:{providerNameSlug:"reverbnation",responsive:!0}},{name:"screencast",title:"Screencast",icon:oa,description:Object(pe.__)("Embed Screencast content."),patterns:[/^https?:\/\/(www\.)?screencast\.com\/.+/i],attributes:{providerNameSlug:"screencast",responsive:!0}},{name:"scribd",title:"Scribd",icon:ea,description:Object(pe.__)("Embed Scribd content."),patterns:[/^https?:\/\/(www\.)?scribd\.com\/.+/i],attributes:{providerNameSlug:"scribd",responsive:!0}},{name:"slideshare",title:"Slideshare",icon:ea,description:Object(pe.__)("Embed Slideshare content."),patterns:[/^https?:\/\/(.+?\.)?slideshare\.net\/.+/i],attributes:{providerNameSlug:"slideshare",responsive:!0}},{name:"smugmug",title:"SmugMug",icon:na,description:Object(pe.__)("Embed SmugMug content."),patterns:[/^https?:\/\/(.+\.)?smugmug\.com\/.*/i],attributes:{providerNameSlug:"smugmug",previewable:!1,responsive:!0}},{name:"speaker-deck",title:"Speaker Deck",icon:ea,description:Object(pe.__)("Embed Speaker Deck content."),patterns:[/^https?:\/\/(www\.)?speakerdeck\.com\/.+/i],attributes:{providerNameSlug:"speaker-deck",responsive:!0}},{name:"tiktok",title:"TikTok",icon:oa,keywords:[Object(pe.__)("video")],description:Object(pe.__)("Embed a TikTok video."),patterns:[/^https?:\/\/(www\.)?tiktok\.com\/.+/i],attributes:{providerNameSlug:"tiktok",responsive:!0}},{name:"ted",title:"TED",icon:oa,description:Object(pe.__)("Embed a TED video."),patterns:[/^https?:\/\/(www\.|embed\.)?ted\.com\/.+/i],attributes:{providerNameSlug:"ted",responsive:!0}},{name:"tumblr",title:"Tumblr",icon:ba,keywords:[Object(pe.__)("social")],description:Object(pe.__)("Embed a Tumblr post."),patterns:[/^https?:\/\/(www\.)?tumblr\.com\/.+/i],attributes:{providerNameSlug:"tumblr",responsive:!0}},{name:"videopress",title:"VideoPress",icon:oa,keywords:[Object(pe.__)("video")],description:Object(pe.__)("Embed a VideoPress video."),patterns:[/^https?:\/\/videopress\.com\/.+/i],attributes:{providerNameSlug:"videopress",responsive:!0}},{name:"wordpress-tv",title:"WordPress.tv",icon:oa,description:Object(pe.__)("Embed a WordPress.tv video."),patterns:[/^https?:\/\/wordpress\.tv\/.+/i],attributes:{providerNameSlug:"wordpress-tv",responsive:!0}},{name:"amazon-kindle",title:"Amazon Kindle",icon:pa,keywords:[Object(pe.__)("ebook")],description:Object(pe.__)("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"}}];Ca.forEach(e=>{e.isActive||(e.isActive=(e,t)=>e.providerNameSlug===t.providerNameSlug)});var xa=Ca;const{attributes:Sa}={apiVersion:2,name:"core/embed",title:"Embed",category:"embed",description:"Add a block that displays content pulled from other sites, like Twitter, Instagram 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 Ba=[{attributes:Sa,save({attributes:{url:e,caption:t,type:n,providerNameSlug:o}}){if(!e)return null;const r=je()("wp-block-embed",{["is-type-"+n]:n,["is-provider-"+o]:o});return Object(ge.createElement)("figure",{className:r},`\n${e}\n`,!de.RichText.isEmpty(t)&&Object(ge.createElement)(de.RichText.Content,{tagName:"figcaption",value:t}))}}];const Ta={apiVersion:2,name:"core/embed",title:"Embed",category:"embed",description:"Add a block that displays content pulled from other sites, like Twitter, Instagram 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:za}=Ta,Pa={icon:ea,edit:_a,save:function({attributes:e}){const{url:t,caption:n,type:o,providerNameSlug:r}=e;if(!t)return null;const a=$e()("wp-block-embed",{["is-type-"+o]:o,["is-provider-"+r]:r,["wp-block-embed-"+r]:r});return Object(ge.createElement)("figure",de.useBlockProps.save({className:a}),Object(ge.createElement)("div",{className:"wp-block-embed__wrapper"},`\n${t}\n`),!de.RichText.isEmpty(n)&&Object(ge.createElement)(de.RichText.Content,{tagName:"figcaption",value:n}))},transforms:Ea,variations:xa,deprecated:Ba};var Ma=Object(ge.createElement)(he.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(he.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"}));function Na({hrefs:e,openInNewWindow:t,showDownloadButton:n,changeLinkDestinationOption:o,changeOpenInNewWindow:r,changeShowDownloadButton:a,displayPreview:c,changeDisplayPreview:l,previewHeight:i,changePreviewHeight:s}){const{href:u,textLinkHref:d,attachmentPage:m}=e;let b=[{value:u,label:Object(pe.__)("URL")}];return m&&(b=[{value:u,label:Object(pe.__)("Media file")},{value:m,label:Object(pe.__)("Attachment page")}]),Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.InspectorControls,null,u.endsWith(".pdf")&&Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("PDF settings")},Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Show inline embed"),help:c?Object(pe.__)("Note: Most phone and tablet browsers won't display embedded PDFs."):null,checked:!!c,onChange:l}),Object(ge.createElement)(Ee.RangeControl,{label:Object(pe.__)("Height in pixels"),min:Ha,max:Math.max(La,i),value:i,onChange:s})),Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Text link settings")},Object(ge.createElement)(Ee.SelectControl,{label:Object(pe.__)("Link to"),value:d,options:b,onChange:o}),Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Open in new tab"),checked:t,onChange:r})),Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Download button settings")},Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Show download button"),checked:n,onChange:a}))))}const Ra=()=>!(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)&&!Va("AcroPDF.PDF")&&!Va("PDF.PdfCtrl")))),Va=e=>{let t;try{t=new window.ActiveXObject(e)}catch(e){t=void 0}return t},Ha=200,La=2e3;function Ia({text:e,disabled:t}){const{createNotice:n}=Object(Le.useDispatch)(qe.store),o=Object(Ie.useCopyToClipboard)(e,()=>{n("info",Object(pe.__)("Copied URL to clipboard."),{isDismissible:!0,type:"snackbar"})});return Object(ge.createElement)(Ee.ToolbarButton,{className:"components-clipboard-toolbar-button",ref:o,disabled:t},Object(pe.__)("Copy URL"))}var Aa=Object(Ee.withNotices)((function({attributes:e,isSelected:t,setAttributes:n,noticeUI:o,noticeOperations:r}){const{id:a,fileName:c,href:l,textLinkHref:i,textLinkTarget:s,showDownloadButton:u,downloadButtonText:d,displayPreview:m,previewHeight:b}=e,[p,g]=Object(ge.useState)(!1),{media:h,mediaUpload:v}=Object(Le.useSelect)(e=>({media:void 0===a?void 0:e(ue.store).getMedia(a),mediaUpload:e(de.store).getSettings().mediaUpload}),[a]),{toggleSelection:O}=Object(Le.useDispatch)(de.store);function j(e){if(e&&e.url){g(!1);const t=e.url.endsWith(".pdf");n({href:e.url,fileName:e.title,textLinkHref:e.url,id:e.id,displayPreview:!!t||void 0,previewHeight:t?600:void 0})}}function f(e){g(!0),r.removeAllNotices(),r.createErrorNotice(e)}function y(e){n({downloadButtonText:e.replace(/<\/?a[^>]*>/g,"")})}Object(ge.useEffect)(()=>{if(Object(He.isBlobURL)(l)){const e=Object(He.getBlobByURL)(l);v({filesList:[e],onFileChange:([e])=>j(e),onError:e=>{g(!0),r.createErrorNotice(e)}}),Object(He.revokeBlobURL)(l)}void 0===d&&y(Object(pe._x)("Download","button label"))},[]);const w=h&&h.link,_=Object(de.useBlockProps)({className:je()(Object(He.isBlobURL)(l)&&Object(Ee.__unstableGetAnimateClassName)({type:"loading"}),{"is-transient":Object(He.isBlobURL)(l)})}),k=Ra()&&m;return!l||p?Object(ge.createElement)("div",_,Object(ge.createElement)(de.MediaPlaceholder,{icon:Object(ge.createElement)(de.BlockIcon,{icon:Ma}),labels:{title:Object(pe.__)("File"),instructions:Object(pe.__)("Upload a file or pick one from your media library.")},onSelect:j,notices:o,onError:f,accept:"*"})):Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(Na,{hrefs:{href:l,textLinkHref:i,attachmentPage:w},openInNewWindow:!!s,showDownloadButton:u,changeLinkDestinationOption:function(e){n({textLinkHref:e})},changeOpenInNewWindow:function(e){n({textLinkTarget:!!e&&"_blank"})},changeShowDownloadButton:function(e){n({showDownloadButton:e})},displayPreview:m,changeDisplayPreview:function(e){n({displayPreview:e})},previewHeight:b,changePreviewHeight:function(e){const t=Math.max(parseInt(e,10),Ha);n({previewHeight:t})}}),Object(ge.createElement)(de.BlockControls,{group:"other"},Object(ge.createElement)(de.MediaReplaceFlow,{mediaId:a,mediaURL:l,accept:"*",onSelect:j,onError:f}),Object(ge.createElement)(Ia,{text:l,disabled:Object(He.isBlobURL)(l)})),Object(ge.createElement)("div",_,k&&Object(ge.createElement)(Ee.ResizableBox,{size:{height:b},minHeight:Ha,maxHeight:La,minWidth:"100%",grid:[10,10],enable:{top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},onResizeStart:()=>O(!1),onResizeStop:function(e,t,o,r){O(!0);const a=parseInt(b+r.height,10);n({previewHeight:a})},showHandle:t},Object(ge.createElement)("object",{className:"wp-block-file__preview",data:l,type:"application/pdf","aria-label":Object(pe.__)("Embed of the selected PDF file.")}),!t&&Object(ge.createElement)("div",{className:"wp-block-file__preview-overlay"})),Object(ge.createElement)("div",{className:"wp-block-file__content-wrapper"},Object(ge.createElement)(de.RichText,{style:{display:"inline-block"},tagName:"a",value:c,placeholder:Object(pe.__)("Write file name…"),withoutInteractiveFormatting:!0,onChange:e=>n({fileName:e}),href:i}),u&&Object(ge.createElement)("div",{className:"wp-block-file__button-richtext-wrapper"},Object(ge.createElement)(de.RichText,{tagName:"div","aria-label":Object(pe.__)("Download button text"),className:"wp-block-file__button",value:d,withoutInteractiveFormatting:!0,placeholder:Object(pe.__)("Add text…"),onChange:e=>y(e)})))))}));var Da={from:[{type:"files",isMatch:e=>e.length>0,priority:15,transform:e=>{const t=[];return e.forEach(e=>{const n=Object(He.createBlobURL)(e);t.push(Object(me.createBlock)("core/file",{href:n,fileName:e.name,textLinkHref:n}))}),t}},{type:"block",blocks:["core/audio"],transform:e=>Object(me.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(me.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(me.createBlock)("core/file",{href:e.url,fileName:e.caption,textLinkHref:e.url,id:e.id,anchor:e.anchor})}],to:[{type:"block",blocks:["core/audio"],isMatch:({id:e})=>{if(!e)return!1;const{getMedia:t}=Object(Le.select)(ue.store),n=t(e);return!!n&&Object(be.includes)(n.mime_type,"audio")},transform:e=>Object(me.createBlock)("core/audio",{src:e.href,caption:e.fileName,id:e.id,anchor:e.anchor})},{type:"block",blocks:["core/video"],isMatch:({id:e})=>{if(!e)return!1;const{getMedia:t}=Object(Le.select)(ue.store),n=t(e);return!!n&&Object(be.includes)(n.mime_type,"video")},transform:e=>Object(me.createBlock)("core/video",{src:e.href,caption:e.fileName,id:e.id,anchor:e.anchor})},{type:"block",blocks:["core/image"],isMatch:({id:e})=>{if(!e)return!1;const{getMedia:t}=Object(Le.select)(ue.store),n=t(e);return!!n&&Object(be.includes)(n.mime_type,"image")},transform:e=>Object(me.createBlock)("core/image",{url:e.href,caption:e.fileName,id:e.id,anchor:e.anchor})}]};const Fa={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"},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},editorStyle:"wp-block-file-editor",style:"wp-block-file"},{name:Ga}=Fa,qa={icon:Ma,transforms:Da,edit:Aa,save:function({attributes:e}){const{href:t,fileName:n,textLinkHref:o,textLinkTarget:r,showDownloadButton:a,downloadButtonText:c,displayPreview:l,previewHeight:i}=e,s=de.RichText.isEmpty(n)?Object(pe.__)("PDF embed"):Object(pe.sprintf)(Object(pe.__)("Embed of %s."),n);return t&&Object(ge.createElement)("div",de.useBlockProps.save(),l&&Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)("object",{className:"wp-block-file__embed",data:t,type:"application/pdf",style:{width:"100%",height:i+"px"},"aria-label":s})),!de.RichText.isEmpty(n)&&Object(ge.createElement)("a",{href:o,target:r,rel:r?"noreferrer noopener":void 0},Object(ge.createElement)(de.RichText.Content,{value:n})),a&&Object(ge.createElement)("a",{href:t,className:"wp-block-file__button",download:!0},Object(ge.createElement)(de.RichText.Content,{value:c})))}};var Ua=Object(ge.createElement)(he.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(he.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 Wa={from:[{type:"block",blocks:["core/code"],transform:({content:e})=>Object(me.createBlock)("core/html",{content:e})}]};const $a={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:Za}=$a,Qa={icon:Ua,example:{attributes:{content:"<marquee>"+Object(pe.__)("Welcome to the wonderful world of blocks…")+"</marquee>"}},edit:function({attributes:e,setAttributes:t,isSelected:n}){const[o,r]=Object(ge.useState)(),a=Object(Le.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(de.transformStyles)(e(de.store).getSettings().styles)],[]);return Object(ge.createElement)("div",Object(de.useBlockProps)({className:"block-library-html__edit"}),Object(ge.createElement)(de.BlockControls,null,Object(ge.createElement)(Ee.ToolbarGroup,null,Object(ge.createElement)(Ee.ToolbarButton,{className:"components-tab-button",isPressed:!o,onClick:function(){r(!1)}},Object(ge.createElement)("span",null,"HTML")),Object(ge.createElement)(Ee.ToolbarButton,{className:"components-tab-button",isPressed:o,onClick:function(){r(!0)}},Object(ge.createElement)("span",null,Object(pe.__)("Preview"))))),Object(ge.createElement)(Ee.Disabled.Consumer,null,r=>o||r?Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(Ee.SandBox,{html:e.content,styles:a}),!n&&Object(ge.createElement)("div",{className:"block-library-html__preview-overlay"})):Object(ge.createElement)(de.PlainText,{value:e.content,onChange:e=>t({content:e}),placeholder:Object(pe.__)("Write HTML…"),"aria-label":Object(pe.__)("HTML")})))},save:function({attributes:e}){return Object(ge.createElement)(ge.RawHTML,null,e.content)},transforms:Wa};var Ja=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.Path,{d:"M3 18h8V6H3v12zM14 7.5V9h7V7.5h-7zm0 5.3h7v-1.5h-7v1.5zm0 3.7h7V15h-7v1.5z"})),Ya=Object(ge.createElement)(Ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(Ee.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(ge.createElement)(Ee.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(ge.createElement)(Ee.Path,{d:"M5 19h8l-1.59-2H9.24l-.84 1.1L7 16.3 5 19z"}));const Ka=["image","video"];function Xa(e,t){return e?{backgroundImage:`url(${e})`,backgroundPosition:t?`${100*t.x}% ${100*t.y}%`:"50% 50%"}:{}}const ec=Object(ge.forwardRef)(({isSelected:e,isStackedOnMobile:t,...n},o)=>{const r=Object(Ie.useViewportMatch)("small","<");return Object(ge.createElement)(Ee.ResizableBox,Object(ke.a)({ref:o,showHandle:e&&(!r||!t)},n))});function tc({mediaId:e,mediaUrl:t,onSelectMedia:n}){return Object(ge.createElement)(de.BlockControls,{group:"other"},Object(ge.createElement)(de.MediaReplaceFlow,{mediaId:e,mediaURL:t,allowedTypes:Ka,accept:"image/*,video/*",onSelect:n}))}function nc({className:e,noticeOperations:t,noticeUI:n,onSelectMedia:o}){return Object(ge.createElement)(de.MediaPlaceholder,{icon:Object(ge.createElement)(de.BlockIcon,{icon:Ya}),labels:{title:Object(pe.__)("Media area")},className:e,onSelect:o,accept:"image/*,video/*",allowedTypes:Ka,notices:n,onError:e=>{t.removeAllNotices(),t.createErrorNotice(e)}})}var oc=Object(Ee.withNotices)(Object(ge.forwardRef)((function(e,t){const{className:n,commitWidthChange:o,focalPoint:r,imageFill:a,isSelected:c,isStackedOnMobile:l,mediaAlt:i,mediaId:s,mediaPosition:u,mediaType:d,mediaUrl:m,mediaWidth:b,onSelectMedia:p,onWidthChange:g}=e,{toggleSelection:h}=Object(Le.useDispatch)(de.store);if(d&&m){const e=()=>{h(!1)},v=(e,t,n)=>{g(parseInt(n.style.width))},O=(e,t,n)=>{h(!0),o(parseInt(n.style.width))},j={right:"left"===u,left:"right"===u},f="image"===d&&a?Xa(m,r):{},y={image:()=>Object(ge.createElement)("img",{src:m,alt:i}),video:()=>Object(ge.createElement)("video",{controls:!0,src:m})};return Object(ge.createElement)(ec,{as:"figure",className:je()(n,"editor-media-container__resizer"),style:f,size:{width:b+"%"},minWidth:"10%",maxWidth:"100%",enable:j,onResizeStart:e,onResize:v,onResizeStop:O,axis:"x",isSelected:c,isStackedOnMobile:l,ref:t},Object(ge.createElement)(tc,{onSelectMedia:p,mediaUrl:m,mediaId:s}),(y[d]||be.noop)())}return Object(ge.createElement)(nc,e)})));const rc=e=>{if(!e.customBackgroundColor)return e;const t={color:{background:e.customBackgroundColor}};return{...Object(be.omit)(e,["customBackgroundColor"]),style:t}},ac={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 cc=[{attributes:{...ac,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:rc,save({attributes:e}){const{backgroundColor:t,customBackgroundColor:n,isStackedOnMobile:o,mediaAlt:r,mediaPosition:a,mediaType:c,mediaUrl:l,mediaWidth:i,mediaId:s,verticalAlignment:u,imageFill:d,focalPoint:m,linkClass:b,href:p,linkTarget:g,rel:h}=e,v=Object(be.isEmpty)(h)?void 0:h;let O=Object(ge.createElement)("img",{src:l,alt:r,className:s&&"image"===c?"wp-image-"+s:null});p&&(O=Object(ge.createElement)("a",{className:b,href:p,target:g,rel:v},O));const j={image:()=>O,video:()=>Object(ge.createElement)("video",{controls:!0,src:l})},f=Object(de.getColorClassName)("background-color",t),y=je()({"has-media-on-the-right":"right"===a,"has-background":f||n,[f]:f,"is-stacked-on-mobile":o,["is-vertically-aligned-"+u]:u,"is-image-fill":d}),w=d?Xa(l,m):{};let _;50!==i&&(_="right"===a?`auto ${i}%`:i+"% auto");const k={backgroundColor:f?void 0:n,gridTemplateColumns:_};return Object(ge.createElement)("div",{className:y,style:k},Object(ge.createElement)("figure",{className:"wp-block-media-text__media",style:w},(j[c]||be.noop)()),Object(ge.createElement)("div",{className:"wp-block-media-text__content"},Object(ge.createElement)(de.InnerBlocks.Content,null)))}},{attributes:{...ac,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:rc,save({attributes:e}){const{backgroundColor:t,customBackgroundColor:n,isStackedOnMobile:o,mediaAlt:r,mediaPosition:a,mediaType:c,mediaUrl:l,mediaWidth:i,mediaId:s,verticalAlignment:u,imageFill:d,focalPoint:m}=e,b={image:()=>Object(ge.createElement)("img",{src:l,alt:r,className:s&&"image"===c?"wp-image-"+s:null}),video:()=>Object(ge.createElement)("video",{controls:!0,src:l})},p=Object(de.getColorClassName)("background-color",t),g=je()({"has-media-on-the-right":"right"===a,[p]:p,"is-stacked-on-mobile":o,["is-vertically-aligned-"+u]:u,"is-image-fill":d}),h=d?Xa(l,m):{};let v;50!==i&&(v="right"===a?`auto ${i}%`:i+"% auto");const O={backgroundColor:p?void 0:n,gridTemplateColumns:v};return Object(ge.createElement)("div",{className:g,style:O},Object(ge.createElement)("figure",{className:"wp-block-media-text__media",style:h},(b[c]||be.noop)()),Object(ge.createElement)("div",{className:"wp-block-media-text__content"},Object(ge.createElement)(de.InnerBlocks.Content,null)))}},{attributes:{...ac,customBackgroundColor:{type:"string"},mediaUrl:{type:"string",source:"attribute",selector:"figure video,figure img",attribute:"src"}},save({attributes:e}){const{backgroundColor:t,customBackgroundColor:n,isStackedOnMobile:o,mediaAlt:r,mediaPosition:a,mediaType:c,mediaUrl:l,mediaWidth:i}=e,s={image:()=>Object(ge.createElement)("img",{src:l,alt:r}),video:()=>Object(ge.createElement)("video",{controls:!0,src:l})},u=Object(de.getColorClassName)("background-color",t),d=je()({"has-media-on-the-right":"right"===a,[u]:u,"is-stacked-on-mobile":o});let m;50!==i&&(m="right"===a?`auto ${i}%`:i+"% auto");const b={backgroundColor:u?void 0:n,gridTemplateColumns:m};return Object(ge.createElement)("div",{className:d,style:b},Object(ge.createElement)("figure",{className:"wp-block-media-text__media"},(s[c]||be.noop)()),Object(ge.createElement)("div",{className:"wp-block-media-text__content"},Object(ge.createElement)(de.InnerBlocks.Content,null)))}}];var lc=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.Path,{d:"M4 18h6V6H4v12zm9-9.5V10h7V8.5h-7zm0 7h7V14h-7v1.5z"}));var ic=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.Path,{d:"M14 6v12h6V6h-6zM4 10h7V8.5H4V10zm0 5.5h7V14H4v1.5z"}));const sc=[["core/paragraph",{fontSize:"large",placeholder:Object(pe._x)("Content…","content placeholder")}]],uc=e=>Math.max(15,Math.min(e,85));function dc(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 mc=function({attributes:e,isSelected:t,setAttributes:n}){const{focalPoint:o,href:r,imageFill:a,isStackedOnMobile:c,linkClass:l,linkDestination:i,linkTarget:s,mediaAlt:u,mediaId:d,mediaPosition:m,mediaType:b,mediaUrl:p,mediaWidth:g,rel:h,verticalAlignment:v}=e,O=e.mediaSizeSlug||"full",j=Object(Le.useSelect)(e=>d&&t?e(ue.store).getMedia(d):null,[t,d]),f=Object(ge.useRef)(),y=e=>{const{style:t}=f.current.resizable,{x:n,y:o}=e;t.backgroundPosition=`${100*n}% ${100*o}%`},[w,_]=Object(ge.useState)(null),k=function({attributes:{linkDestination:e,href:t},setAttributes:n}){return o=>{let r,a;var c,l,i,s,u;(r=o.media_type?"image"===o.media_type?"image":"video":o.type,"image"===r)&&(a=(null===(c=o.sizes)||void 0===c||null===(l=c.large)||void 0===l?void 0:l.url)||(null===(i=o.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 d=t;"media"===e&&(d=o.url),"attachment"===e&&(d=o.link),n({mediaAlt:o.alt,mediaId:o.id,mediaType:r,mediaUrl:a||o.url,mediaLink:o.link||void 0,href:d,focalPoint:void 0})}}({attributes:e,setAttributes:n}),E=e=>{n({mediaWidth:uc(e)}),_(uc(e))},C=je()({"has-media-on-the-right":"right"===m,"is-selected":t,"is-stacked-on-mobile":c,["is-vertically-aligned-"+v]:v,"is-image-fill":a}),x=(w||g)+"%",S="right"===m?"1fr "+x:x+" 1fr",B={gridTemplateColumns:S,msGridColumns:S},T=Object(Le.useSelect)(e=>{const t=e(de.store).getSettings();return null==t?void 0:t.imageSizes}),z=Object(be.map)(Object(be.filter)(T,({slug:e})=>dc(j,e)),({name:e,slug:t})=>({value:t,label:e})),P=Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Media & Text settings")},Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Stack on mobile"),checked:c,onChange:()=>n({isStackedOnMobile:!c})}),"image"===b&&Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Crop image to fill entire column"),checked:a,onChange:()=>n({imageFill:!a})}),a&&p&&"image"===b&&Object(ge.createElement)(Ee.FocalPointPicker,{label:Object(pe.__)("Focal point picker"),url:p,value:o,onChange:e=>n({focalPoint:e}),onDragStart:y,onDrag:y}),"image"===b&&Object(ge.createElement)(Ee.TextareaControl,{label:Object(pe.__)("Alt text (alternative text)"),value:u,onChange:e=>{n({mediaAlt:e})},help:Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(Ee.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},Object(pe.__)("Describe the purpose of the image")),Object(pe.__)("Leave empty if the image is purely decorative."))}),"image"===b&&Object(ge.createElement)(de.__experimentalImageSizeControl,{onChangeImage:e=>{const t=dc(j,e);if(!t)return null;n({mediaUrl:t,mediaSizeSlug:e})},slug:O,imageSizeOptions:z,isResizable:!1}),p&&Object(ge.createElement)(Ee.RangeControl,{label:Object(pe.__)("Media width"),value:w||g,onChange:E,min:15,max:85})),M=Object(de.useBlockProps)({className:C,style:B}),N=Object(de.__experimentalUseInnerBlocksProps)({className:"wp-block-media-text__content"},{template:sc});return Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.InspectorControls,null,P),Object(ge.createElement)(de.BlockControls,{group:"block"},Object(ge.createElement)(de.BlockVerticalAlignmentControl,{onChange:e=>{n({verticalAlignment:e})},value:v}),Object(ge.createElement)(Ee.ToolbarButton,{icon:lc,title:Object(pe.__)("Show media on left"),isActive:"left"===m,onClick:()=>n({mediaPosition:"left"})}),Object(ge.createElement)(Ee.ToolbarButton,{icon:ic,title:Object(pe.__)("Show media on right"),isActive:"right"===m,onClick:()=>n({mediaPosition:"right"})}),"image"===b&&Object(ge.createElement)(de.__experimentalImageURLInputUI,{url:r||"",onChangeUrl:e=>{n(e)},linkDestination:i,mediaType:b,mediaUrl:j&&j.source_url,mediaLink:j&&j.link,linkTarget:s,linkClass:l,rel:h})),Object(ge.createElement)("div",M,Object(ge.createElement)(oc,{className:"wp-block-media-text__media",onSelectMedia:k,onWidthChange:e=>{_(uc(e))},commitWidthChange:E,ref:f,focalPoint:o,imageFill:a,isSelected:t,isStackedOnMobile:c,mediaAlt:u,mediaId:d,mediaPosition:m,mediaType:b,mediaUrl:p,mediaWidth:g}),Object(ge.createElement)("div",N)))};var bc={from:[{type:"block",blocks:["core/image"],transform:({alt:e,url:t,id:n,anchor:o})=>Object(me.createBlock)("core/media-text",{mediaAlt:e,mediaId:n,mediaUrl:t,mediaType:"image",anchor:o})},{type:"block",blocks:["core/video"],transform:({src:e,id:t,anchor:n})=>Object(me.createBlock)("core/media-text",{mediaId:t,mediaUrl:e,mediaType:"video",anchor:n})}],to:[{type:"block",blocks:["core/image"],isMatch:({mediaType:e,mediaUrl:t})=>!t||"image"===e,transform:({mediaAlt:e,mediaId:t,mediaUrl:n,anchor:o})=>Object(me.createBlock)("core/image",{alt:e,id:t,url:n,anchor:o})},{type:"block",blocks:["core/video"],isMatch:({mediaType:e,mediaUrl:t})=>!t||"video"===e,transform:({mediaId:e,mediaUrl:t,anchor:n})=>Object(me.createBlock)("core/video",{id:e,src:t,anchor:n})}]};const pc={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:gc}=pc,hc={icon:Ja,example:{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(pe.__)("The wren<br>Earns his living<br>Noiselessly.")}},{name:"core/paragraph",attributes:{content:Object(pe.__)("— Kobayashi Issa (一茶)")}}]},transforms:bc,edit:mc,save:function({attributes:e}){const{isStackedOnMobile:t,mediaAlt:n,mediaPosition:o,mediaType:r,mediaUrl:a,mediaWidth:c,mediaId:l,verticalAlignment:i,imageFill:s,focalPoint:u,linkClass:d,href:m,linkTarget:b,rel:p}=e,g=e.mediaSizeSlug||"full",h=Object(be.isEmpty)(p)?void 0:p,v=je()({["wp-image-"+l]:l&&"image"===r,["size-"+g]:l&&"image"===r});let O=Object(ge.createElement)("img",{src:a,alt:n,className:v||null});m&&(O=Object(ge.createElement)("a",{className:d,href:m,target:b,rel:h},O));const j={image:()=>O,video:()=>Object(ge.createElement)("video",{controls:!0,src:a})},f=je()({"has-media-on-the-right":"right"===o,"is-stacked-on-mobile":t,["is-vertically-aligned-"+i]:i,"is-image-fill":s}),y=s?Xa(a,u):{};let w;50!==c&&(w="right"===o?`auto ${c}%`:c+"% auto");const _={gridTemplateColumns:w};return Object(ge.createElement)("div",de.useBlockProps.save({className:f,style:_}),Object(ge.createElement)("figure",{className:"wp-block-media-text__media",style:y},(j[r]||be.noop)()),Object(ge.createElement)("div",{className:"wp-block-media-text__content"},Object(ge.createElement)(de.InnerBlocks.Content,null)))},deprecated:cc};var vc=Object(ge.createElement)(he.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(he.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 Oc={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:jc}=Oc,fc={icon:vc,example:{},edit:function({attributes:e,setAttributes:t}){const{commentsToShow:n,displayAvatar:o,displayDate:r,displayExcerpt:a}=e;return Object(ge.createElement)("div",Object(de.useBlockProps)(),Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Latest comments settings")},Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Display avatar"),checked:o,onChange:()=>t({displayAvatar:!o})}),Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Display date"),checked:r,onChange:()=>t({displayDate:!r})}),Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Display excerpt"),checked:a,onChange:()=>t({displayExcerpt:!a})}),Object(ge.createElement)(Ee.RangeControl,{label:Object(pe.__)("Number of comments"),value:n,onChange:e=>t({commentsToShow:e}),min:1,max:100,required:!0}))),Object(ge.createElement)(Ee.Disabled,null,Object(ge.createElement)(Kn.a,{block:"core/latest-comments",attributes:e})))}};var yc=Object(ge.createElement)(he.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(he.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:wc}={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 _c=[{attributes:{...wc,categories:{type:"string"}},supports:{align:!0,html:!1},migrate:e=>({...e,categories:[{id:Number(e.categories)}]}),isEligible:({categories:e})=>e&&"string"==typeof e,save:()=>null}],kc=n("FqII");var Ec=Object(ge.createElement)(he.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(he.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"})),Cc=n("b2RC");const xc={per_page:-1},Sc={per_page:-1};const Bc={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:Tc}=Bc,zc={icon:yc,example:{},edit:function({attributes:e,setAttributes:t}){const{postsToShow:n,order:o,orderBy:r,categories:a,selectedAuthor:c,displayFeaturedImage:l,displayPostContentRadio:i,displayPostContent:s,displayPostDate:u,displayAuthor:d,postLayout:m,columns:b,excerptLength:p,featuredImageAlign:g,featuredImageSizeSlug:h,featuredImageSizeWidth:v,featuredImageSizeHeight:O,addLinkToFeaturedImage:j}=e,{imageSizeOptions:f,latestPosts:y,defaultImageWidth:w,defaultImageHeight:_}=Object(Le.useSelect)(e=>{const{getEntityRecords:t,getMedia:l}=e(ue.store),{getSettings:i}=e(de.store),{imageSizes:s,imageDimensions:u}=i(),d=a&&a.length>0?a.map(e=>e.id):[],m=t("postType","post",Object(be.pickBy)({categories:d,author:c,order:o,orderby:r,per_page:n},e=>!Object(be.isUndefined)(e)));return{defaultImageWidth:Object(be.get)(u,[h,"width"],0),defaultImageHeight:Object(be.get)(u,[h,"height"],0),imageSizeOptions:s.filter(({slug:e})=>"full"!==e).map(({name:e,slug:t})=>({value:t,label:e})),latestPosts:Array.isArray(m)?m.map(e=>{if(!e.featured_media)return e;const t=l(e.featured_media);let n=Object(be.get)(t,["media_details","sizes",h,"source_url"],null);n||(n=Object(be.get)(t,"source_url",null));const o={url:n,alt:null==t?void 0:t.alt_text};return{...e,featuredImageInfo:o}}):m}},[h,n,o,r,a,c]),[k,E]=Object(ge.useState)([]),[C,x]=Object(ge.useState)([]),S=k.reduce((e,t)=>({...e,[t.name]:t}),{}),B=Object(ge.useRef)();Object(ge.useEffect)(()=>(B.current=!0,Et()({path:Object(Ae.addQueryArgs)("/wp/v2/categories",xc)}).then(e=>{B.current&&E(e)}).catch(()=>{B.current&&E([])}),Et()({path:Object(Ae.addQueryArgs)("/wp/v2/users",Sc)}).then(e=>{B.current&&x(e)}).catch(()=>{B.current&&x([])}),()=>{B.current=!1}),[]);const T=!(null==y||!y.length),z=Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Post content settings")},Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Post content"),checked:s,onChange:e=>t({displayPostContent:e})}),s&&Object(ge.createElement)(Ee.RadioControl,{label:Object(pe.__)("Show:"),selected:i,options:[{label:Object(pe.__)("Excerpt"),value:"excerpt"},{label:Object(pe.__)("Full post"),value:"full_post"}],onChange:e=>t({displayPostContentRadio:e})}),s&&"excerpt"===i&&Object(ge.createElement)(Ee.RangeControl,{label:Object(pe.__)("Max number of words in excerpt"),value:p,onChange:e=>t({excerptLength:e}),min:10,max:100})),Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Post meta settings")},Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Display author name"),checked:d,onChange:e=>t({displayAuthor:e})}),Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Display post date"),checked:u,onChange:e=>t({displayPostDate:e})})),Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Featured image settings")},Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Display featured image"),checked:l,onChange:e=>t({displayFeaturedImage:e})}),l&&Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.__experimentalImageSizeControl,{onChange:e=>{const n={};e.hasOwnProperty("width")&&(n.featuredImageSizeWidth=e.width),e.hasOwnProperty("height")&&(n.featuredImageSizeHeight=e.height),t(n)},slug:h,width:v,height:O,imageWidth:w,imageHeight:_,imageSizeOptions:f,onChangeImage:e=>t({featuredImageSizeSlug:e,featuredImageSizeWidth:void 0,featuredImageSizeHeight:void 0})}),Object(ge.createElement)(Ee.BaseControl,{className:"block-editor-image-alignment-control__row"},Object(ge.createElement)(Ee.BaseControl.VisualLabel,null,Object(pe.__)("Image alignment")),Object(ge.createElement)(de.BlockAlignmentToolbar,{value:g,onChange:e=>t({featuredImageAlign:e}),controls:["left","center","right"],isCollapsed:!1})),Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Add link to featured image"),checked:j,onChange:e=>t({addLinkToFeaturedImage:e})}))),Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Sorting and filtering")},Object(ge.createElement)(Ee.QueryControls,{order:o,orderBy:r,numberOfItems:n,onOrderChange:e=>t({order:e}),onOrderByChange:e=>t({orderBy:e}),onNumberOfItemsChange:e=>t({postsToShow:e}),categorySuggestions:S,onCategoryChange:e=>{if(e.some(e=>"string"==typeof e&&!S[e]))return;const n=e.map(e=>"string"==typeof e?S[e]:e);if(Object(be.includes)(n,null))return!1;t({categories:n})},selectedCategories:a,onAuthorChange:e=>t({selectedAuthor:""!==e?Number(e):void 0}),authorList:C,selectedAuthorId:c}),"grid"===m&&Object(ge.createElement)(Ee.RangeControl,{label:Object(pe.__)("Columns"),value:b,onChange:e=>t({columns:e}),min:2,max:T?Math.min(6,y.length):6,required:!0}))),P=Object(de.useBlockProps)({className:je()({"wp-block-latest-posts__list":!0,"is-grid":"grid"===m,"has-dates":u,"has-author":d,["columns-"+b]:"grid"===m})});if(!T)return Object(ge.createElement)("div",P,z,Object(ge.createElement)(Ee.Placeholder,{icon:Zo,label:Object(pe.__)("Latest Posts")},Array.isArray(y)?Object(pe.__)("No posts found."):Object(ge.createElement)(Ee.Spinner,null)));const M=y.length>n?y.slice(0,n):y,N=[{icon:Ec,title:Object(pe.__)("List view"),onClick:()=>t({postLayout:"list"}),isActive:"list"===m},{icon:Cc.a,title:Object(pe.__)("Grid view"),onClick:()=>t({postLayout:"grid"}),isActive:"grid"===m}],R=Object(kc.__experimentalGetSettings)().formats.date;return Object(ge.createElement)("div",null,z,Object(ge.createElement)(de.BlockControls,null,Object(ge.createElement)(Ee.ToolbarGroup,{controls:N})),Object(ge.createElement)("ul",P,M.map((e,t)=>{const n=Object(be.invoke)(e,["title","rendered","trim"]);let o=e.excerpt.rendered;const r=C.find(t=>t.id===e.author),a=document.createElement("div");a.innerHTML=o,o=a.textContent||a.innerText||"";const{featuredImageInfo:{url:c,alt:m}={}}=e,b=je()({"wp-block-latest-posts__featured-image":!0,["align"+g]:!!g}),h=l&&c,f=h&&Object(ge.createElement)("img",{src:c,alt:m,style:{maxWidth:v,maxHeight:O}}),y=p<o.trim().split(" ").length&&""===e.excerpt.raw?Object(ge.createElement)(ge.Fragment,null,o.trim().split(" ",p).join(" "),Object(pe.__)(" … "),Object(ge.createElement)("a",{href:e.link,rel:"noopener noreferrer"},Object(pe.__)("Read more"))):o;return Object(ge.createElement)("li",{key:t},h&&Object(ge.createElement)("div",{className:b},j?Object(ge.createElement)("a",{href:e.link,rel:"noreferrer noopener"},f):f),Object(ge.createElement)("a",{href:e.link,rel:"noreferrer noopener"},n?Object(ge.createElement)(ge.RawHTML,null,n):Object(pe.__)("(no title)")),d&&r&&Object(ge.createElement)("div",{className:"wp-block-latest-posts__post-author"},Object(pe.sprintf)(Object(pe.__)("by %s"),r.name)),u&&e.date_gmt&&Object(ge.createElement)("time",{dateTime:Object(kc.format)("c",e.date_gmt),className:"wp-block-latest-posts__post-date"},Object(kc.dateI18n)(R,e.date_gmt)),s&&"excerpt"===i&&Object(ge.createElement)("div",{className:"wp-block-latest-posts__post-excerpt"},y),s&&"full_post"===i&&Object(ge.createElement)("div",{className:"wp-block-latest-posts__post-full-content"},Object(ge.createElement)(ge.RawHTML,{key:"html"},e.content.raw.trim())))})))},deprecated:_c};var Pc=Object(ge.createElement)(he.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(he.Path,{d:"M7 11h2v2H7v-2zm14-5v14l-2 2H5l-2-2V6l2-2h1V2h2v2h8V2h2v2h1l2 2zM5 8h14V6H5v2zm14 12V10H5v10h14zm-4-7h2v-2h-2v2zm-4 0h2v-2h-2v2z"}));var Mc=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.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"}));var Nc=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(ge.createElement)(he.Path,{d:"M10.2 3.28c3.53 0 6.43 2.61 6.92 6h2.08l-3.5 4-3.5-4h2.32c-.45-1.97-2.21-3.45-4.32-3.45-1.45 0-2.73.71-3.54 1.78L4.95 5.66C6.23 4.2 8.11 3.28 10.2 3.28zm-.4 13.44c-3.52 0-6.43-2.61-6.92-6H.8l3.5-4c1.17 1.33 2.33 2.67 3.5 4H5.48c.45 1.97 2.21 3.45 4.32 3.45 1.45 0 2.73-.71 3.54-1.78l1.71 1.95c-1.28 1.46-3.15 2.38-5.25 2.38z"}));function Rc({selectedId:e,onSelect:t}){const n=Object(Le.useSelect)(e=>{var t,n,o;const r=null!==(t=null===(n=e(de.store).getSettings())||void 0===n?void 0:n.widgetTypesToHideFromLegacyWidgetBlock)&&void 0!==t?t:[];return null===(o=e(ue.store).getWidgetTypes({per_page:-1}))||void 0===o?void 0:o.filter(e=>!r.includes(e.id))},[]);return n?0===n.length?Object(pe.__)("There are no widgets available."):Object(ge.createElement)(Ee.SelectControl,{label:Object(pe.__)("Select a legacy widget to display:"),value:null!=e?e:"",options:[{value:"",label:Object(pe.__)("Select widget")},...n.map(e=>({value:e.id,label:e.name}))],onChange:e=>{if(e){const o=n.find(t=>t.id===e);t({selectedId:o.id,isMulti:o.is_multi})}else t({selectedId:null})}}):Object(ge.createElement)(Ee.Spinner,null)}function Vc({name:e,description:t}){return Object(ge.createElement)("div",{className:"wp-block-legacy-widget-inspector-card"},Object(ge.createElement)("h3",{className:"wp-block-legacy-widget-inspector-card__name"},e),Object(ge.createElement)("span",null,t))}class Hc{constructor({id:e,idBase:t,instance:n,onChangeInstance:o,onChangeHasPreview:r,onError:a}){this.id=e,this.idBase=t,this._instance=n,this._hasPreview=null,this.onChangeInstance=o,this.onChangeHasPreview=r,this.onError=a,this.number=++Lc,this.handleFormChange=Object(be.debounce)(this.saveForm.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=Ic("div",{class:"widget open"},[Ic("div",{class:"widget-inside"},[this.form=Ic("form",{class:"form",method:"post"},[Ic("input",{class:"widget-id",type:"hidden",name:"widget-id",value:null!==(e=this.id)&&void 0!==e?e:`${this.idBase}-${this.number}`}),Ic("input",{class:"id_base",type:"hidden",name:"id_base",value:null!==(t=this.idBase)&&void 0!==t?t:this.id}),Ic("input",{class:"widget-width",type:"hidden",name:"widget-width",value:"250"}),Ic("input",{class:"widget-height",type:"hidden",name:"widget-height",value:"200"}),Ic("input",{class:"widget_number",type:"hidden",name:"widget_number",value:this.idBase?this.number.toString():""}),this.content=Ic("div",{class:"widget-content"}),this.id&&Ic("button",{class:"button is-primary",type:"submit"},Object(pe.__)("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 Ac(this.id);this.content.innerHTML=e}else if(this.idBase){const{form:e,preview:t}=await Dc({idBase:this.idBase,instance:this.instance,number:this.number});if(this.content.innerHTML=e,this.hasPreview=!Fc(t),!this.instance.hash){const{instance:e}=await Dc({idBase:this.idBase,instance:this.instance,number:this.number,formData:Gc(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)}}handleFormSubmit(e){e.preventDefault(),this.saveForm()}async saveForm(){const e=Gc(this.form);try{if(this.id){const{form:t}=await Ac(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 Dc({idBase:this.idBase,instance:this.instance,number:this.number,formData:e});this.instance=t,this.hasPreview=!Fc(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 Lc=0;function Ic(e,t={},n=null){const o=document.createElement(e);for(const[e,n]of Object.entries(t))o.setAttribute(e,n);if(Array.isArray(n))for(const e of n)e&&o.appendChild(e);else"string"==typeof n&&(o.innerText=n);return o}async function Ac(e,t=null){let n;return n=t?await Et()({path:`/wp/v2/widgets/${e}?context=edit`,method:"PUT",data:{form_data:t}}):await Et()({path:`/wp/v2/widgets/${e}?context=edit`,method:"GET"}),{form:n.rendered_form}}async function Dc({idBase:e,instance:t,number:n,formData:o=null}){const r=await Et()({path:`/wp/v2/widget-types/${e}/encode`,method:"POST",data:{instance:t,number:n,form_data:o}});return{instance:r.instance,form:r.form,preview:r.preview}}function Fc(e){const t=document.createElement("div");return t.innerHTML=e,""===t.innerText.trim()}function Gc(e){return new window.URLSearchParams(Array.from(new window.FormData(e))).toString()}function qc({title:e,isVisible:t,id:n,idBase:o,instance:r,isWide:a,onChangeInstance:c,onChangeHasPreview:l}){const i=Object(ge.useRef)(),s=Object(Ie.useViewportMatch)("small"),u=Object(ge.useRef)(new Set),d=Object(ge.useRef)(new Set),{createNotice:m}=Object(Le.useDispatch)(qe.store);return Object(ge.useEffect)(()=>{if(d.current.has(r))return void d.current.delete(r);const e=new Hc({id:n,idBase:o,instance:r,onChangeInstance(e){u.current.add(r),d.current.add(e),c(e)},onChangeHasPreview:l,onError(e){var t;m("error",null!==(t=null==e?void 0:e.message)&&void 0!==t?t:Object(pe.__)("An error occured while fetching or updating the widget."))}});return i.current.appendChild(e.element),()=>{u.current.has(r)?u.current.delete(r):e.destroy()}},[n,o,r,c,l,s]),a&&s?Object(ge.createElement)("div",{className:je()({"wp-block-legacy-widget__container":t})},t&&Object(ge.createElement)("h3",{className:"wp-block-legacy-widget__edit-form-title"},e),Object(ge.createElement)(Ee.Popover,{focusOnMount:!1,position:"middle right",__unstableForceXAlignment:!0},Object(ge.createElement)("div",{ref:i,className:"wp-block-legacy-widget__edit-form",hidden:!t}))):Object(ge.createElement)("div",{ref:i,className:"wp-block-legacy-widget__edit-form",hidden:!t},Object(ge.createElement)("h3",{className:"wp-block-legacy-widget__edit-form-title"},e))}function Uc({idBase:e,instance:t,isVisible:n}){const[o,r]=Object(ge.useState)(),a=Object(Ie.useRefEffect)(e=>{function t(){var t,n;const o=null==e||null===(t=e.contentDocument)||void 0===t||null===(n=t.body)||void 0===n?void 0:n.getBoundingClientRect();o&&r(o.top+o.height)}const{IntersectionObserver:n}=e.ownerDocument.defaultView;return new n(t,{threshold:1}).observe(e),e.addEventListener("load",t),()=>{e.removeEventListener("load",t)}},[]);return Object(ge.createElement)(ge.Fragment,null,n&&null===o&&Object(ge.createElement)(Ee.Placeholder,null,Object(ge.createElement)(Ee.Spinner,null)),Object(ge.createElement)("div",{className:je()("wp-block-legacy-widget__edit-preview",{"is-offscreen":!n||null===o})},Object(ge.createElement)(Ee.Disabled,null,Object(ge.createElement)("iframe",{ref:a,className:"wp-block-legacy-widget__edit-preview-iframe",title:Object(pe.__)("Legacy Widget Preview"),src:Object(Ae.addQueryArgs)("widgets.php",{"legacy-widget-preview":{idBase:e,instance:t}}),height:o||100}))))}function Wc({name:e}){return Object(ge.createElement)("div",{className:"wp-block-legacy-widget__edit-no-preview"},e&&Object(ge.createElement)("h3",null,e),Object(ge.createElement)("p",null,Object(pe.__)("No preview available.")))}function $c({clientId:e,rawInstance:t}){const{replaceBlocks:n}=Object(Le.useDispatch)(de.store);return Object(ge.createElement)(Ee.ToolbarButton,{onClick:()=>{t.title?n(e,[Object(me.createBlock)("core/heading",{content:t.title}),...Object(me.rawHandler)({HTML:t.text})]):n(e,Object(me.rawHandler)({HTML:t.text}))}},Object(pe.__)("Convert to blocks"))}function Zc({attributes:{id:e,idBase:t},setAttributes:n}){return Object(ge.createElement)(Ee.Placeholder,{icon:Object(ge.createElement)(de.BlockIcon,{icon:Mc}),label:Object(pe.__)("Legacy Widget")},Object(ge.createElement)(Rc,{selectedId:null!=e?e:t,onSelect:({selectedId:e,isMulti:t})=>{n(e?t?{id:null,idBase:e,instance:{}}:{id:e,idBase:null,instance:null}:{id:null,idBase:null,instance:null})}}))}function Qc({attributes:{id:e,idBase:t,instance:n},setAttributes:o,clientId:r,isSelected:a,isWide:c=!1}){const[l,i]=Object(ge.useState)(null),{widgetType:s,hasResolvedWidgetType:u,isWidgetTypeHidden:d,isNavigationMode:m}=Object(Le.useSelect)(n=>{var o,r;const a=null!=e?e:t,c=null!==(o=null===(r=n(de.store).getSettings())||void 0===r?void 0:r.widgetTypesToHideFromLegacyWidgetBlock)&&void 0!==o?o:[];return{widgetType:n(ue.store).getWidgetType(a),hasResolvedWidgetType:n(ue.store).hasFinishedResolution("getWidgetType",[a]),isWidgetTypeHidden:c.includes(a),isNavigationMode:n(de.store).isNavigationMode()}},[e,t]),b=Object(ge.useCallback)(e=>{o({instance:e})},[]);if(!s&&u)return Object(ge.createElement)(Ee.Placeholder,{icon:Object(ge.createElement)(de.BlockIcon,{icon:Mc}),label:Object(pe.__)("Legacy Widget")},Object(pe.__)("Widget is missing."));if(!u)return Object(ge.createElement)(Ee.Placeholder,null,Object(ge.createElement)(Ee.Spinner,null));const p=m||!a?"preview":"edit";return Object(ge.createElement)(ge.Fragment,null,!d&&Object(ge.createElement)(de.BlockControls,{group:"block"},Object(ge.createElement)(Ee.ToolbarButton,{label:Object(pe.__)("Change widget"),icon:Nc,onClick:()=>o({id:null,idBase:null,instance:null})})),"text"===t&&Object(ge.createElement)(de.BlockControls,{group:"other"},Object(ge.createElement)($c,{clientId:r,rawInstance:n.raw})),Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(Vc,{name:s.name,description:s.description})),Object(ge.createElement)(qc,{title:s.name,isVisible:"edit"===p,id:e,idBase:t,instance:n,isWide:c,onChangeInstance:b,onChangeHasPreview:i}),t&&Object(ge.createElement)(ge.Fragment,null,null===l&&"preview"===p&&Object(ge.createElement)(Ee.Placeholder,null,Object(ge.createElement)(Ee.Spinner,null)),!0===l&&Object(ge.createElement)(Uc,{idBase:t,instance:n,isVisible:"preview"===p}),!1===l&&"preview"===p&&Object(ge.createElement)(Wc,{name:s.name})))}var Jc={to:[{block:"core/calendar",widget:"calendar"},{block:"core/search",widget:"search"},{block:"core/html",widget:"html",transform:({content:e})=>({content:e})},{block:"core/archives",widget:"archives",transform:({count:e,dropdown:t})=>({displayAsDropdown:!!t,showPostCounts:!!e})},{block:"core/latest-posts",widget:"recent-posts",transform:({show_date:e,number:t})=>({displayPostDate:!!e,postsToShow:t})},{block:"core/latest-comments",widget:"recent-comments",transform:({number:e})=>({commentsToShow:e})},{block:"core/tag-cloud",widget:"tag_cloud",transform:({taxonomy:e,count:t})=>({showTagCounts:!!t,taxonomy:e})},{block:"core/categories",widget:"categories",transform:({count:e,dropdown:t,hierarchical:n})=>({displayAsDropdown:!!t,showPostCounts:!!e,showHierarchy:!!n})},{block:"core/audio",widget:"media_audio",transform:({url:e,preload:t,loop:n,attachment_id:o})=>({src:e,id:o,preload:t,loop:n})},{block:"core/video",widget:"media_video",transform:({url:e,preload:t,loop:n,attachment_id:o})=>({src:e,id:o,preload:t,loop:n})},{block:"core/image",widget:"media_image",transform:({alt:e,attachment_id:t,caption:n,height:o,link_classes:r,link_rel:a,link_target_blank:c,link_type:l,link_url:i,size:s,url:u,width:d})=>({alt:e,caption:n,height:o,id:t,link:i,linkClass:r,linkDestination:l,linkTarget:c?"_blank":void 0,rel:a,sizeSlug:s,url:u,width:d})},{block:"core/gallery",widget:"media_gallery",transform:({ids:e,link_type:t,size:n,number:o})=>({ids:e,columns:o,linkTo:t,sizeSlug:n,images:e.map(e=>({id:e}))})},{block:"core/rss",widget:"rss",transform:({url:e,show_author:t,show_date:n,show_summary:o,items:r})=>({feedURL:e,displayAuthor:!!t,displayDate:!!n,displayExcerpt:!!o,itemsToShow:r})}].map(({block:e,widget:t,transform:n})=>({type:"block",blocks:[e],isMatch:({idBase:e,instance:n})=>e===t&&!(null==n||!n.raw),transform:({instance:t})=>{var o;const r=Object(me.createBlock)(e,n?n(t.raw):void 0);return null!==(o=t.raw)&&void 0!==o&&o.title?[Object(me.createBlock)("core/heading",{content:t.raw.title}),r]:r}}))};const Yc={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:Kc}=Yc,Xc={icon:Pc,edit:function(e){const{id:t,idBase:n}=e.attributes,{isWide:o=!1}=e,r=Object(de.useBlockProps)({className:je()({"is-wide-widget":o})});return Object(ge.createElement)("div",r,t||n?Object(ge.createElement)(Qc,e):Object(ge.createElement)(Zc,e))},transforms:Jc};var el=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.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 tl={apiVersion:2,name:"core/loginout",title:"Login/out",category:"design",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:nl}=tl,ol={icon:el,edit:function({attributes:e,setAttributes:t}){const{displayLoginAsForm:n,redirectToCurrent:o}=e;return Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Login/out settings")},Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Display login as form"),checked:n,onChange:()=>t({displayLoginAsForm:!n})}),Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Redirect to current URL"),checked:o,onChange:()=>t({redirectToCurrent:!o})}))),Object(ge.createElement)("div",Object(de.useBlockProps)({className:"logged-in"}),Object(ge.createElement)("a",{href:"#login-pseudo-link"},Object(pe.__)("Log out"))))}};var rl=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.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 al=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.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 cl=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.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 ll=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.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 il=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.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 sl=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.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 ul=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.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 dl=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.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 ml=({setAttributes:e,reversed:t,start:n})=>Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Ordered list settings")},Object(ge.createElement)(Ee.TextControl,{label:Object(pe.__)("Start value"),type:"number",onChange:t=>{const n=parseInt(t,10);e({start:isNaN(n)?void 0:n})},value:Number.isInteger(n)?n.toString(10):"",step:"1"}),Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Reverse list numbering"),checked:t||!1,onChange:t=>{e({reversed:t||void 0})}})));function bl({phrasingContentSchema:e}){const t={...e,ul:{},ol:{attributes:["type","start","reversed"]}};return["ul","ol"].forEach(e=>{t[e].children={li:{children:t}}}),t}var pl={from:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph","core/heading"],transform:e=>Object(me.createBlock)("core/list",{values:Object(yn.toHTMLString)({value:Object(yn.join)(e.map(({content:t})=>{const n=Object(yn.create)({html:t});return e.length>1?n:Object(yn.replace)(n,/\n/g,yn.__UNSTABLE_LINE_SEPARATOR)}),yn.__UNSTABLE_LINE_SEPARATOR),multilineTag:"li"}),anchor:e.anchor})},{type:"block",blocks:["core/quote","core/pullquote"],transform:({value:e,anchor:t})=>Object(me.createBlock)("core/list",{values:Object(yn.toHTMLString)({value:Object(yn.create)({html:e,multilineTag:"p"}),multilineTag:"li"}),anchor:t})},{type:"raw",selector:"ol,ul",schema:e=>({ol:bl(e).ol,ul:bl(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(me.createBlock)("core/list",{...Object(me.getBlockAttributes)("core/list",e.outerHTML),...t})}},...["*","-"].map(e=>({type:"prefix",prefix:e,transform:e=>Object(me.createBlock)("core/list",{values:`<li>${e}</li>`})})),...["1.","1)"].map(e=>({type:"prefix",prefix:e,transform:e=>Object(me.createBlock)("core/list",{ordered:!0,values:`<li>${e}</li>`})}))],to:[{type:"block",blocks:["core/paragraph"],transform:({values:e})=>Object(yn.split)(Object(yn.create)({html:e,multilineTag:"li",multilineWrapperTags:["ul","ol"]}),yn.__UNSTABLE_LINE_SEPARATOR).map(e=>Object(me.createBlock)("core/paragraph",{content:Object(yn.toHTMLString)({value:e})}))},{type:"block",blocks:["core/heading"],transform:({values:e})=>Object(yn.split)(Object(yn.create)({html:e,multilineTag:"li",multilineWrapperTags:["ul","ol"]}),yn.__UNSTABLE_LINE_SEPARATOR).map(e=>Object(me.createBlock)("core/heading",{content:Object(yn.toHTMLString)({value:e})}))},{type:"block",blocks:["core/quote"],transform:({values:e,anchor:t})=>Object(me.createBlock)("core/quote",{value:Object(yn.toHTMLString)({value:Object(yn.create)({html:e,multilineTag:"li",multilineWrapperTags:["ul","ol"]}),multilineTag:"p"}),anchor:t})},{type:"block",blocks:["core/pullquote"],transform:({values:e,anchor:t})=>Object(me.createBlock)("core/pullquote",{value:Object(yn.toHTMLString)({value:Object(yn.create)({html:e,multilineTag:"li",multilineWrapperTags:["ul","ol"]}),multilineTag:"p"}),anchor:t})}]};const gl={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},color:{gradients:!0},__unstablePasteTextInline:!0,__experimentalSelector:"ol,ul"},editorStyle:"wp-block-list-editor",style:"wp-block-list"},{name:hl}=gl,vl={icon:Ec,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:pl,merge(e,t){const{values:n}=t;return n&&"<li></li>"!==n?{...e,values:e.values+n}:e},edit:function({attributes:e,setAttributes:t,mergeBlocks:n,onReplace:o}){const{ordered:r,values:a,type:c,reversed:l,start:i,placeholder:s}=e,u=r?"ol":"ul",d=Object(de.useBlockProps)();return Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.RichText,Object(ke.a)({identifier:"values",multiline:"li",tagName:u,onChange:e=>t({values:e}),value:a,"aria-label":Object(pe.__)("List text"),placeholder:s||Object(pe.__)("List"),onMerge:n,onSplit:t=>Object(me.createBlock)(hl,{...e,values:t}),__unstableOnSplitMiddle:()=>Object(me.createBlock)("core/paragraph"),onReplace:o,onRemove:()=>o([]),start:i,reversed:l,type:c},d),({value:e,onChange:n,onFocus:o})=>Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.RichTextShortcut,{type:"primary",character:"[",onUse:()=>{n(Object(yn.__unstableOutdentListItems)(e))}}),Object(ge.createElement)(de.RichTextShortcut,{type:"primary",character:"]",onUse:()=>{n(Object(yn.__unstableIndentListItems)(e,{type:u}))}}),Object(ge.createElement)(de.RichTextShortcut,{type:"primary",character:"m",onUse:()=>{n(Object(yn.__unstableIndentListItems)(e,{type:u}))}}),Object(ge.createElement)(de.RichTextShortcut,{type:"primaryShift",character:"m",onUse:()=>{n(Object(yn.__unstableOutdentListItems)(e))}}),Object(ge.createElement)(de.BlockControls,{group:"block"},Object(ge.createElement)(Ee.ToolbarButton,{icon:Object(pe.isRTL)()?rl:al,title:Object(pe.__)("Unordered"),describedBy:Object(pe.__)("Convert to unordered list"),isActive:Object(yn.__unstableIsActiveListType)(e,"ul",u),onClick:()=>{n(Object(yn.__unstableChangeListType)(e,{type:"ul"})),o(),Object(yn.__unstableIsListRootSelected)(e)&&t({ordered:!1})}}),Object(ge.createElement)(Ee.ToolbarButton,{icon:Object(pe.isRTL)()?cl:ll,title:Object(pe.__)("Ordered"),describedBy:Object(pe.__)("Convert to ordered list"),isActive:Object(yn.__unstableIsActiveListType)(e,"ol",u),onClick:()=>{n(Object(yn.__unstableChangeListType)(e,{type:"ol"})),o(),Object(yn.__unstableIsListRootSelected)(e)&&t({ordered:!0})}}),Object(ge.createElement)(Ee.ToolbarButton,{icon:Object(pe.isRTL)()?il:sl,title:Object(pe.__)("Outdent"),describedBy:Object(pe.__)("Outdent list item"),shortcut:Object(pe._x)("Backspace","keyboard key"),isDisabled:!Object(yn.__unstableCanOutdentListItems)(e),onClick:()=>{n(Object(yn.__unstableOutdentListItems)(e)),o()}}),Object(ge.createElement)(Ee.ToolbarButton,{icon:Object(pe.isRTL)()?ul:dl,title:Object(pe.__)("Indent"),describedBy:Object(pe.__)("Indent list item"),shortcut:Object(pe._x)("Space","keyboard key"),isDisabled:!Object(yn.__unstableCanIndentListItems)(e),onClick:()=>{n(Object(yn.__unstableIndentListItems)(e,{type:u})),o()}})))),r&&Object(ge.createElement)(ml,{setAttributes:t,ordered:r,reversed:l,start:i,placeholder:s}))},save:function({attributes:e}){const{ordered:t,values:n,type:o,reversed:r,start:a}=e,c=t?"ol":"ul";return Object(ge.createElement)(c,de.useBlockProps.save({type:o,reversed:r,start:a}),Object(ge.createElement)(de.RichText.Content,{value:n,multiline:"li"}))}};var Ol=Object(Le.withDispatch)((e,{clientId:t,attributes:n})=>{const{replaceBlock:o}=e(de.store);return{convertToHTML(){o(t,Object(me.createBlock)("core/html",{content:n.originalUndelimitedContent}))}}})((function({attributes:e,convertToHTML:t}){const{originalName:n,originalUndelimitedContent:o}=e,r=!!o,a=Object(me.getBlockType)("core/html"),c=[];let l;return r&&a?(l=Object(pe.sprintf)(Object(pe.__)('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.'),n),c.push(Object(ge.createElement)(Ee.Button,{key:"convert",onClick:t,isPrimary:!0},Object(pe.__)("Keep as HTML")))):l=Object(pe.sprintf)(Object(pe.__)('Your site doesn’t include support for the "%s" block. You can leave this block intact or remove it entirely.'),n),Object(ge.createElement)("div",Object(de.useBlockProps)({className:"has-warning"}),Object(ge.createElement)(de.Warning,{actions:c},l),Object(ge.createElement)(ge.RawHTML,null,o))}));const jl={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:fl}=jl,yl={name:fl,__experimentalLabel(e,{context:t}){if("accessibility"===t){const{originalName:t}=e,n=t?Object(me.getBlockType)(t):void 0;return n?n.settings.title||t:""}},edit:Ol,save:function({attributes:e}){return Object(ge.createElement)(ge.RawHTML,null,e.originalContent)}};var wl=Object(ge.createElement)(he.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(he.Path,{d:"M4 9v1.5h16V9H4zm12 5.5h4V13h-4v1.5zm-6 0h4V13h-4v1.5zm-6 0h4V13H4v1.5z"}));const _l=Object(pe.__)("Read more");var kl={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(me.createBlock)("core/more",o)}}]};const El={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:Cl}=El,xl={icon:wl,example:{},__experimentalLabel(e,{context:t}){if("accessibility"===t)return e.customText},transforms:kl,edit:function({attributes:{customText:e,noTeaser:t},insertBlocksAfter:n,setAttributes:o}){const r={width:(e||_l).length+1.2+"em"};return Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(Ee.PanelBody,null,Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Hide the excerpt on the full content page"),checked:!!t,onChange:()=>o({noTeaser:!t}),help:e=>e?Object(pe.__)("The excerpt is hidden."):Object(pe.__)("The excerpt is visible.")}))),Object(ge.createElement)("div",Object(de.useBlockProps)(),Object(ge.createElement)("div",{className:"wp-block-more"},Object(ge.createElement)("input",{"aria-label":Object(pe.__)("Read more link text"),type:"text",value:e,placeholder:_l,onChange:e=>{o({customText:""!==e.target.value?e.target.value:void 0})},onKeyDown:({keyCode:e})=>{e===an.ENTER&&n([Object(me.createBlock)(Object(me.getDefaultBlockName)())])},style:r}))))},save:function({attributes:{customText:e,noTeaser:t}}){const n=e?`\x3c!--more ${e}--\x3e`:"\x3c!--more--\x3e",o=t?"\x3c!--noteaser--\x3e":"";return Object(ge.createElement)(ge.RawHTML,null,Object(be.compact)([n,o]).join("\n"))}};var Sl=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.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 Bl={from:[{type:"raw",schema:{"wp-block":{attributes:["data-block"]}},isMatch:e=>e.dataset&&"core/nextpage"===e.dataset.block,transform:()=>Object(me.createBlock)("core/nextpage",{})}]};const Tl={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:zl}=Tl,Pl={icon:Sl,example:{},transforms:Bl,edit:function(){return Object(ge.createElement)("div",Object(de.useBlockProps)(),Object(ge.createElement)("div",{className:"wp-block-nextpage"},Object(ge.createElement)("span",null,Object(pe.__)("Page break"))))},save:function(){return Object(ge.createElement)(ge.RawHTML,null,"\x3c!--nextpage--\x3e")}};var Ml=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.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 Nl=["id","title","link","type","parent"],Rl=({pages:e,clientId:t,replaceBlock:n,createBlock:o})=>()=>{if(!e)return;const r={},a=[];e.forEach(({id:e,title:t,link:n,type:c,parent:l})=>{var i,s;const u=null!==(i=null===(s=r[e])||void 0===s?void 0:s.innerBlocks)&&void 0!==i?i:[];if(r[e]=o("core/navigation-link",{id:e,label:t.rendered,url:n,type:c,kind:"post-type"},u),l){r[l]||(r[l]={innerBlocks:[]});r[l].innerBlocks.push(r[e])}else a.push(r[e])}),n(t,a)};function Vl({onClose:e,clientId:t}){const{pages:n,pagesFinished:o}=Object(Le.useSelect)(e=>{const{getEntityRecords:t,hasFinishedResolution:n}=e(ue.store),o=["postType","page",{per_page:100,_fields:Nl,orderby:"menu_order",order:"asc"}];return{pages:t(...o),pagesFinished:n("getEntityRecords",o)}},[t]),{replaceBlock:r}=Object(Le.useDispatch)(de.store);return Object(ge.createElement)(Ee.Modal,{closeLabel:Object(pe.__)("Close"),onRequestClose:e,title:Object(pe.__)("Convert to links"),className:"wp-block-page-list-modal",aria:{describedby:"wp-block-page-list-modal__description"}},Object(ge.createElement)("p",{id:"wp-block-page-list-modal__description"},Object(pe.__)("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(ge.createElement)("p",null,Object(pe.__)("Note: if you add new pages to your site, you'll need to add them to your navigation menu.")),Object(ge.createElement)("div",{className:"wp-block-page-list-modal-buttons"},Object(ge.createElement)(Ee.Button,{isTertiary:!0,onClick:e},Object(pe.__)("Cancel")),Object(ge.createElement)(Ee.Button,{isPrimary:!0,disabled:!o,onClick:Rl({pages:n,replaceBlock:r,clientId:t,createBlock:me.createBlock})},Object(pe.__)("Convert"))))}const Hl={apiVersion:2,name:"core/page-list",title:"Page List",category:"widgets",description:"Display a list of all pages.",keywords:["menu","navigation"],textdomain:"default",usesContext:["textColor","customTextColor","backgroundColor","customBackgroundColor","fontSize","customFontSize","showSubmenuIcon","style"],supports:{reusable:!1,html:!1},editorStyle:"wp-block-page-list-editor",style:"wp-block-page-list"},{name:Ll}=Hl,Il={icon:Ml,example:{},edit:function({context:e,clientId:t}){const{textColor:n,backgroundColor:o,showSubmenuIcon:r,style:a}=e||{},[c,l]=Object(ge.useState)(!1),i=Object(de.useBlockProps)({className:je()({"has-text-color":!!n,[`has-${n}-color`]:!!n,"has-background":!!o,[`has-${o}-background-color`]:!!o,"show-submenu-icons":!!r}),style:{...null==a?void 0:a.color}}),s=Object(Le.useSelect)(e=>{const{getBlockParentsByBlockName:n}=e(de.store);return n(t,"core/navigation").length>0},[t]);Object(ge.useEffect)(()=>{s?Et()({path:Object(Ae.addQueryArgs)("/wp/v2/pages",{per_page:1,_fields:["id"]}),parse:!1}).then(e=>{l(e.headers.get("X-WP-Total")<=100)}):l(!1)},[s]);const[u,d]=Object(ge.useState)(!1);return Object(ge.createElement)(ge.Fragment,null,c&&Object(ge.createElement)(de.BlockControls,{group:"other"},Object(ge.createElement)(Ee.ToolbarButton,{title:Object(pe.__)("Edit"),onClick:()=>d(!0)},Object(pe.__)("Edit"))),c&&u&&Object(ge.createElement)(Vl,{onClose:()=>d(!1),clientId:t}),Object(ge.createElement)("div",i,Object(ge.createElement)(Kn.a,{block:"core/page-list"})))}};var Al=Object(ge.createElement)(he.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(he.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 Dl={from:[{type:"block",blocks:["core/code","core/paragraph"],transform:({content:e,anchor:t})=>Object(me.createBlock)("core/preformatted",{content:e,anchor:t})},{type:"raw",isMatch:e=>"PRE"===e.nodeName&&!(1===e.children.length&&"CODE"===e.firstChild.nodeName),schema:({phrasingContentSchema:e})=>({pre:{children:e}})}],to:[{type:"block",blocks:["core/paragraph"],transform:e=>Object(me.createBlock)("core/paragraph",e)},{type:"block",blocks:["core/code"],transform:e=>Object(me.createBlock)("core/code",e)}]};const Fl={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}},style:"wp-block-preformatted"},{name:Gl}=Fl,ql={icon:Al,example:{attributes:{content:Object(pe.__)("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:Dl,edit:function({attributes:e,mergeBlocks:t,setAttributes:n,onRemove:o}){const{content:r}=e,a=Object(de.useBlockProps)();return Object(ge.createElement)(de.RichText,Object(ke.a)({tagName:"pre",identifier:"content",preserveWhiteSpace:!0,value:r,onChange:e=>{n({content:e})},onRemove:o,"aria-label":Object(pe.__)("Preformatted text"),placeholder:Object(pe.__)("Write preformatted text…"),onMerge:t},a,{__unstablePastePlainText:!0}))},save:function({attributes:e}){const{content:t}=e;return Object(ge.createElement)("pre",de.useBlockProps.save(),Object(ge.createElement)(de.RichText.Content,{value:t}))},merge:(e,t)=>({content:e.content+t.content})};var Ul=Object(ge.createElement)(he.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(he.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 Wl={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 $l(e){if(!e)return;const t=e.match(/border-color:([^;]+)[;]?/);return t&&t[1]?t[1]:void 0}var Zl=[{attributes:{...Wl,figureStyle:{source:"attribute",selector:"figure",attribute:"style"}},save({attributes:e}){const{mainColor:t,customMainColor:n,textColor:o,customTextColor:r,value:a,citation:c,className:l,figureStyle:i}=e;let s,u;if(Object(be.includes)(l,"is-style-solid-color")){const e=Object(de.getColorClassName)("background-color",t);s=je()({"has-background":e||n,[e]:e}),u={backgroundColor:e?void 0:n}}else if(n)u={borderColor:n};else if(t){u={borderColor:$l(i)}}const d=Object(de.getColorClassName)("color",o),m=(o||r)&&je()("has-text-color",{[d]:d}),b=d?void 0:{color:r};return Object(ge.createElement)("figure",{className:s,style:u},Object(ge.createElement)("blockquote",{className:m,style:b},Object(ge.createElement)(de.RichText.Content,{value:a,multiline:!0}),!de.RichText.isEmpty(c)&&Object(ge.createElement)(de.RichText.Content,{tagName:"cite",value:c})))},migrate({className:e,figureStyle:t,mainColor:n,...o}){if(!Object(be.includes)(e,"is-style-solid-color")&&n&&t){const n=$l(t);if(n)return{...o,className:e,customMainColor:n}}return{className:e,mainColor:n,...o}}},{attributes:Wl,save({attributes:e}){const{mainColor:t,customMainColor:n,textColor:o,customTextColor:r,value:a,citation:c,className:l}=e;let i,s;if(Object(be.includes)(l,"is-style-solid-color"))i=Object(de.getColorClassName)("background-color",t),i||(s={backgroundColor:n});else if(n)s={borderColor:n};else if(t){const e=Object(be.get)(Object(Le.select)(de.store).getSettings(),["colors"],[]);s={borderColor:Object(de.getColorObjectByAttributeValues)(e,t).color}}const u=Object(de.getColorClassName)("color",o),d=o||r?je()("has-text-color",{[u]:u}):void 0,m=u?void 0:{color:r};return Object(ge.createElement)("figure",{className:i,style:s},Object(ge.createElement)("blockquote",{className:d,style:m},Object(ge.createElement)(de.RichText.Content,{value:a,multiline:!0}),!de.RichText.isEmpty(c)&&Object(ge.createElement)(de.RichText.Content,{tagName:"cite",value:c})))}},{attributes:{...Wl},save({attributes:e}){const{value:t,citation:n}=e;return Object(ge.createElement)("blockquote",null,Object(ge.createElement)(de.RichText.Content,{value:t,multiline:!0}),!de.RichText.isEmpty(n)&&Object(ge.createElement)(de.RichText.Content,{tagName:"cite",value:n}))}},{attributes:{...Wl,citation:{type:"string",source:"html",selector:"footer"},align:{type:"string",default:"none"}},save({attributes:e}){const{value:t,citation:n,align:o}=e;return Object(ge.createElement)("blockquote",{className:"align"+o},Object(ge.createElement)(de.RichText.Content,{value:t,multiline:!0}),!de.RichText.isEmpty(n)&&Object(ge.createElement)(de.RichText.Content,{tagName:"footer",value:n}))}}];var Ql=Object(de.withColors)({mainColor:"background-color",textColor:"color"})((function({colorUtils:e,textColor:t,attributes:{value:n,citation:o},setAttributes:r,setTextColor:a,setMainColor:c,mainColor:l,isSelected:i,insertBlocksAfter:s}){const u=Object(ge.useRef)(!1),d=Object(de.useBlockProps)(),{style:m={},className:b}=d,p=Object(be.includes)(b,"is-style-solid-color"),g={...d,className:je()(b,{"has-background":p&&l.color,[l.class]:p&&l.class}),style:p?{...m,backgroundColor:l.color}:{...m,borderColor:l.color}};return Object(ge.useEffect)(()=>{l&&!p&&r({mainColor:void 0,customMainColor:l.color})},[p,l]),Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)("figure",g,Object(ge.createElement)("blockquote",{style:{color:t.color},className:t.color&&je()("has-text-color",{[t.class]:t.class})},Object(ge.createElement)(de.RichText,{identifier:"value",multiline:!0,value:n,onChange:e=>r({value:e}),"aria-label":Object(pe.__)("Pullquote text"),placeholder:Object(pe.__)("Add quote"),textAlign:"center"}),(!de.RichText.isEmpty(o)||i)&&Object(ge.createElement)(de.RichText,{identifier:"citation",value:o,"aria-label":Object(pe.__)("Pullquote citation text"),placeholder:Object(pe.__)("Add citation"),onChange:e=>r({citation:e}),className:"wp-block-pullquote__citation",__unstableMobileNoFocusOnMount:!0,textAlign:"center",__unstableOnSplitAtEnd:()=>s(Object(me.createBlock)("core/paragraph"))}))),"web"===ge.Platform.OS&&Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(de.PanelColorSettings,{title:Object(pe.__)("Color"),colorSettings:[{value:l.color,onChange:function(n){const o=!t.color||u.current,l=p&&o;p?c(n):r({customMainColor:n}),l&&(n?(u.current=!0,a(e.getMostReadableColor(n))):u.current&&(u.current=!1,a()))},label:Object(pe.__)("Main color")},{value:t.color,onChange:function(e){a(e),u.current=!1},label:Object(pe.__)("Text color")}]},p&&Object(ge.createElement)(de.ContrastChecker,{textColor:t.color,backgroundColor:l.color,isLargeText:!1}))))}));var Jl={from:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:e=>Object(me.createBlock)("core/pullquote",{value:Object(yn.toHTMLString)({value:Object(yn.join)(e.map(({content:e})=>Object(yn.create)({html:e})),"\u2028"),multilineTag:"p"}),anchor:e.anchor})},{type:"block",blocks:["core/heading"],transform:({content:e,anchor:t})=>Object(me.createBlock)("core/pullquote",{value:`<p>${e}</p>`,anchor:t})}],to:[{type:"block",blocks:["core/paragraph"],transform:({value:e,citation:t})=>{const n=[];return e&&"<p></p>"!==e&&n.push(...Object(yn.split)(Object(yn.create)({html:e,multilineTag:"p"}),"\u2028").map(e=>Object(me.createBlock)("core/paragraph",{content:Object(yn.toHTMLString)({value:e})}))),t&&"<p></p>"!==t&&n.push(Object(me.createBlock)("core/paragraph",{content:t})),0===n.length?Object(me.createBlock)("core/paragraph",{content:""}):n}},{type:"block",blocks:["core/heading"],transform:({value:e,citation:t,...n})=>{if("<p></p>"===e)return Object(me.createBlock)("core/heading",{content:t});const o=Object(yn.split)(Object(yn.create)({html:e,multilineTag:"p"}),"\u2028"),r=Object(me.createBlock)("core/heading",{content:Object(yn.toHTMLString)({value:o[0]})});if(!t&&1===o.length)return r;const a=o.slice(1);return[r,Object(me.createBlock)("core/pullquote",{...n,citation:t,value:Object(yn.toHTMLString)({value:a.length?Object(yn.join)(o.slice(1),"\u2028"):Object(yn.create)(),multilineTag:"p"})})]}}]};const Yl={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"},mainColor:{type:"string"},customMainColor:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"}},supports:{anchor:!0,align:["left","right","wide","full"]},styles:[{name:"default",label:"Default",isDefault:!0},{name:"solid-color",label:"Solid color"}],editorStyle:"wp-block-pullquote-editor",style:"wp-block-pullquote"},{name:Kl}=Yl,Xl={icon:Ul,example:{attributes:{value:"<p>"+Object(pe.__)("One of the hardest things to do in technology is disrupt yourself.")+"</p>",citation:Object(pe.__)("Matt Mullenweg")}},transforms:Jl,edit:Ql,save:function({attributes:e}){const{mainColor:t,customMainColor:n,textColor:o,customTextColor:r,value:a,citation:c,className:l}=e;let i,s;if(Object(be.includes)(l,"is-style-solid-color")){const e=Object(de.getColorClassName)("background-color",t);i=je()({"has-background":e||n,[e]:e}),s={backgroundColor:e?void 0:n}}else n&&(s={borderColor:n});const u=Object(de.getColorClassName)("color",o),d=(o||r)&&je()("has-text-color",{[u]:u}),m=u?void 0:{color:r};return Object(ge.createElement)("figure",de.useBlockProps.save({className:i,style:s}),Object(ge.createElement)("blockquote",{className:d,style:m},Object(ge.createElement)(de.RichText.Content,{value:a,multiline:!0}),!de.RichText.isEmpty(c)&&Object(ge.createElement)(de.RichText.Content,{tagName:"cite",value:c})))},deprecated:Zl};var ei=n("diJD");var ti=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.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 ni={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:oi}=ni,ri={edit:function({attributes:{ref:e},clientId:t}){const[n,o]=Object(de.__experimentalUseNoRecursiveRenders)(e),{isMissing:r,hasResolved:a}=Object(Le.useSelect)(t=>{const n=t(ue.store).getEntityRecord("postType","wp_block",e),o=t(ue.store).hasFinishedResolution("getEntityRecord",["postType","wp_block",e]);return{hasResolved:o,isMissing:o&&!n}},[e,t]),{__experimentalConvertBlockToStatic:c}=Object(Le.useDispatch)(ei.store),[l,i,s]=Object(ue.useEntityBlockEditor)("postType","wp_block",{id:e}),[u,d]=Object(ue.useEntityProp)("postType","wp_block","title",e),m=Object(de.__experimentalUseInnerBlocksProps)({},{value:l,onInput:i,onChange:s,renderAppender:null!=l&&l.length?void 0:de.InnerBlocks.ButtonBlockAppender}),b=Object(de.useBlockProps)();return n?Object(ge.createElement)("div",b,Object(ge.createElement)(de.Warning,null,Object(pe.__)("Block cannot be rendered inside itself."))):r?Object(ge.createElement)("div",b,Object(ge.createElement)(de.Warning,null,Object(pe.__)("Block has been deleted or is unavailable."))):a?Object(ge.createElement)(o,null,Object(ge.createElement)("div",b,Object(ge.createElement)(de.BlockControls,null,Object(ge.createElement)(Ee.ToolbarGroup,null,Object(ge.createElement)(Ee.ToolbarButton,{onClick:()=>c(t),label:Object(pe.__)("Convert to regular blocks"),icon:ti,showTooltip:!0}))),Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(Ee.PanelBody,null,Object(ge.createElement)(Ee.TextControl,{label:Object(pe.__)("Name"),value:u,onChange:d}))),Object(ge.createElement)("div",{className:"block-library-block__reusable-block-container"},Object(ge.createElement)("div",m)))):Object(ge.createElement)("div",b,Object(ge.createElement)(Ee.Placeholder,null,Object(ge.createElement)(Ee.Spinner,null)))}};var ai=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.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 ci={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:li}=ci,ii={icon:ai,example:{attributes:{feedURL:"https://wordpress.org"}},edit:function({attributes:e,setAttributes:t}){const[n,o]=Object(ge.useState)(!e.feedURL),{blockLayout:r,columns:a,displayAuthor:c,displayDate:l,displayExcerpt:i,excerptLength:s,feedURL:u,itemsToShow:d}=e;function m(n){return()=>{const o=e[n];t({[n]:!o})}}const b=Object(de.useBlockProps)();if(n)return Object(ge.createElement)("div",b,Object(ge.createElement)(Ee.Placeholder,{icon:ai,label:"RSS"},Object(ge.createElement)("form",{onSubmit:function(e){e.preventDefault(),u&&o(!1)},className:"wp-block-rss__placeholder-form"},Object(ge.createElement)(Ee.TextControl,{placeholder:Object(pe.__)("Enter URL here…"),value:u,onChange:e=>t({feedURL:e}),className:"wp-block-rss__placeholder-input"}),Object(ge.createElement)(Ee.Button,{isPrimary:!0,type:"submit"},Object(pe.__)("Use URL")))));const p=[{icon:Nn.a,title:Object(pe.__)("Edit RSS URL"),onClick:()=>o(!0)},{icon:Ec,title:Object(pe.__)("List view"),onClick:()=>t({blockLayout:"list"}),isActive:"list"===r},{icon:Cc.a,title:Object(pe.__)("Grid view"),onClick:()=>t({blockLayout:"grid"}),isActive:"grid"===r}];return Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.BlockControls,null,Object(ge.createElement)(Ee.ToolbarGroup,{controls:p})),Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("RSS settings")},Object(ge.createElement)(Ee.RangeControl,{label:Object(pe.__)("Number of items"),value:d,onChange:e=>t({itemsToShow:e}),min:1,max:10,required:!0}),Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Display author"),checked:c,onChange:m("displayAuthor")}),Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Display date"),checked:l,onChange:m("displayDate")}),Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Display excerpt"),checked:i,onChange:m("displayExcerpt")}),i&&Object(ge.createElement)(Ee.RangeControl,{label:Object(pe.__)("Max number of words in excerpt"),value:s,onChange:e=>t({excerptLength:e}),min:10,max:100,required:!0}),"grid"===r&&Object(ge.createElement)(Ee.RangeControl,{label:Object(pe.__)("Columns"),value:a,onChange:e=>t({columns:e}),min:2,max:6,required:!0}))),Object(ge.createElement)("div",b,Object(ge.createElement)(Ee.Disabled,null,Object(ge.createElement)(Kn.a,{block:"core/rss",attributes:e}))))}},si=Object(ge.createElement)(Ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(Ee.Rect,{x:"7",y:"10",width:"10",height:"4",rx:"1",fill:"currentColor"})),ui=Object(ge.createElement)(Ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(Ee.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(ge.createElement)(Ee.Rect,{x:"16",y:"10",width:"4",height:"4",rx:"1",fill:"currentColor"})),di=Object(ge.createElement)(Ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(Ee.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(ge.createElement)(Ee.Rect,{x:"14",y:"10",width:"4",height:"4",rx:"1",fill:"currentColor"})),mi=Object(ge.createElement)(Ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(Ee.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"})),bi=Object(ge.createElement)(Ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(Ee.Rect,{x:"4.75",y:"7.75",width:"14.5",height:"8.5",rx:"1.25",stroke:"currentColor",fill:"none",strokeWidth:"1.5"}),Object(ge.createElement)(Ee.Rect,{x:"8",y:"11",width:"8",height:"2",fill:"currentColor"})),pi=Object(ge.createElement)(Ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(Ee.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(ge.createElement)(Ee.Rect,{x:"4",y:"7",width:"10",height:"2",fill:"currentColor"}));var gi=[{name:"default",isDefault:!0,attributes:{buttonText:Object(pe.__)("Search"),label:Object(pe.__)("Search")}}];const hi={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"],__experimentalBorder:{radius:!0,__experimentalSkipSerialization:!0},html:!1},editorStyle:"wp-block-search-editor",style:"wp-block-search"},{name:vi}=hi,Oi={icon:Pt.a,example:{},variations:gi,edit:function({className:e,attributes:t,setAttributes:n,toggleSelection:o,isSelected:r}){var a;const{label:c,showLabel:l,placeholder:i,width:s,widthUnit:u,align:d,buttonText:m,buttonPosition:b,buttonUseIcon:p,style:g}=t,h=null==g||null===(a=g.border)||void 0===a?void 0:a.radius,v="wp-block-search__width-"+Object(Ie.useInstanceId)(de.__experimentalUnitControl),O=Object(Ee.__experimentalUseCustomUnits)({availableUnits:["%","px"],defaultValues:{"%":50,px:350}}),j=()=>Object(ge.createElement)("input",{className:"wp-block-search__input",style:{borderRadius:h},"aria-label":Object(pe.__)("Optional placeholder text"),placeholder:i?void 0:Object(pe.__)("Optional placeholder…"),value:i,onChange:e=>n({placeholder:e.target.value})}),f=()=>Object(ge.createElement)(ge.Fragment,null,p&&Object(ge.createElement)(Ee.Button,{icon:Pt.a,className:"wp-block-search__button",style:{borderRadius:h}}),!p&&Object(ge.createElement)(de.RichText,{className:"wp-block-search__button",style:{borderRadius:h},"aria-label":Object(pe.__)("Button text"),placeholder:Object(pe.__)("Add button text…"),withoutInteractiveFormatting:!0,value:m,onChange:e=>n({buttonText:e})})),y=Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.BlockControls,null,Object(ge.createElement)(Ee.ToolbarGroup,null,Object(ge.createElement)(Ee.ToolbarButton,{title:Object(pe.__)("Toggle search label"),icon:pi,onClick:()=>{n({showLabel:!l})},className:l?"is-pressed":void 0}),Object(ge.createElement)(Ee.DropdownMenu,{icon:(()=>{switch(b){case"button-inside":return di;case"button-outside":return ui;case"no-button":return mi;case"button-only":return si}})(),label:Object(pe.__)("Change button position")},({onClose:e})=>Object(ge.createElement)(Ee.MenuGroup,{className:"wp-block-search__button-position-menu"},Object(ge.createElement)(Ee.MenuItem,{icon:mi,onClick:()=>{n({buttonPosition:"no-button"}),e()}},Object(pe.__)("No Button")),Object(ge.createElement)(Ee.MenuItem,{icon:ui,onClick:()=>{n({buttonPosition:"button-outside"}),e()}},Object(pe.__)("Button Outside")),Object(ge.createElement)(Ee.MenuItem,{icon:di,onClick:()=>{n({buttonPosition:"button-inside"}),e()}},Object(pe.__)("Button Inside")))),"no-button"!==b&&Object(ge.createElement)(Ee.ToolbarButton,{title:Object(pe.__)("Use button with icon"),icon:bi,onClick:()=>{n({buttonUseIcon:!p})},className:p?"is-pressed":void 0}))),Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Display Settings")},Object(ge.createElement)(Ee.BaseControl,{label:Object(pe.__)("Width"),id:v},Object(ge.createElement)(de.__experimentalUnitControl,{id:v,min:"220px",onChange:e=>{const t="%"===u&&parseInt(e,10)>100?100:e;n({width:parseInt(t,10)})},onUnitChange:e=>{n({width:"%"===e?50:350,widthUnit:e})},style:{maxWidth:80},value:`${s}${u}`,unit:u,units:O}),Object(ge.createElement)(Ee.ButtonGroup,{className:"wp-block-search__components-button-group","aria-label":Object(pe.__)("Percentage Width")},[25,50,75,100].map(e=>Object(ge.createElement)(Ee.Button,{key:e,isSmall:!0,isPrimary:e+"%"==`${s}${u}`,onClick:()=>n({width:e,widthUnit:"%"})},e,"%"))))))),w=Object(de.useBlockProps)({className:je()(e,"button-inside"===b?"wp-block-search__button-inside":void 0,"button-outside"===b?"wp-block-search__button-outside":void 0,"no-button"===b?"wp-block-search__no-button":void 0,"button-only"===b?"wp-block-search__button-only":void 0,p||"no-button"===b?void 0:"wp-block-search__text-button",p&&"no-button"!==b?"wp-block-search__icon-button":void 0)});return Object(ge.createElement)("div",w,y,l&&Object(ge.createElement)(de.RichText,{className:"wp-block-search__label","aria-label":Object(pe.__)("Label text"),placeholder:Object(pe.__)("Add label…"),withoutInteractiveFormatting:!0,value:c,onChange:e=>n({label:e})}),Object(ge.createElement)(Ee.ResizableBox,{size:{width:`${s}${u}`},className:"wp-block-search__inside-wrapper",style:(()=>{var e;if("button-inside"===b&&null!=g&&null!==(e=g.border)&&void 0!==e&&e.radius){var t;return{borderRadius:parseInt(null==g||null===(t=g.border)||void 0===t?void 0:t.radius,10)+4+"px"}}})(),minWidth:220,enable:"button-only"===b?{}:{right:"right"!==d,left:"right"===d},onResizeStart:(e,t,r)=>{n({width:parseInt(r.offsetWidth,10),widthUnit:"px"}),o(!1)},onResizeStop:(e,t,r,a)=>{n({width:parseInt(s+a.width,10)}),o(!0)},showHandle:r},("button-inside"===b||"button-outside"===b)&&Object(ge.createElement)(ge.Fragment,null,j(),f()),"button-only"===b&&f(),"no-button"===b&&j()))}};var ji=Object(ge.createElement)(he.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(he.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 fi=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(be.omit)(e,["customTextColor","customBackgroundColor"]),style:t}};var yi=[{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({attributes:e}){const{tagName:t}=e;return Object(ge.createElement)(t,de.useBlockProps.save(),Object(ge.createElement)("div",{className:"wp-block-group__inner-container"},Object(ge.createElement)(de.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:fi,save({attributes:e}){const{backgroundColor:t,customBackgroundColor:n,textColor:o,customTextColor:r}=e,a=Object(de.getColorClassName)("background-color",t),c=Object(de.getColorClassName)("color",o),l=je()(a,c,{"has-text-color":o||r,"has-background":t||n}),i={backgroundColor:a?void 0:n,color:c?void 0:r};return Object(ge.createElement)("div",{className:l,style:i},Object(ge.createElement)("div",{className:"wp-block-group__inner-container"},Object(ge.createElement)(de.InnerBlocks.Content,null)))}},{attributes:{backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"}},migrate:fi,supports:{align:["wide","full"],anchor:!0,html:!1},save({attributes:e}){const{backgroundColor:t,customBackgroundColor:n,textColor:o,customTextColor:r}=e,a=Object(de.getColorClassName)("background-color",t),c=Object(de.getColorClassName)("color",o),l=je()(a,{"has-text-color":o||r,"has-background":t||n}),i={backgroundColor:a?void 0:n,color:c?void 0:r};return Object(ge.createElement)("div",{className:l,style:i},Object(ge.createElement)("div",{className:"wp-block-group__inner-container"},Object(ge.createElement)(de.InnerBlocks.Content,null)))}},{attributes:{backgroundColor:{type:"string"},customBackgroundColor:{type:"string"}},supports:{align:["wide","full"],anchor:!0,html:!1},migrate:fi,save({attributes:e}){const{backgroundColor:t,customBackgroundColor:n}=e,o=Object(de.getColorClassName)("background-color",t),r=je()(o,{"has-background":t||n}),a={backgroundColor:o?void 0:n};return Object(ge.createElement)("div",{className:r,style:a},Object(ge.createElement)(de.InnerBlocks.Content,null))}}];var wi=function({attributes:e,setAttributes:t,clientId:n}){const{hasInnerBlocks:o,themeSupportsLayout:r}=Object(Le.useSelect)(e=>{var t;const{getBlock:o,getSettings:r}=e(de.store),a=o(n);return{hasInnerBlocks:!(!a||!a.innerBlocks.length),themeSupportsLayout:null===(t=r())||void 0===t?void 0:t.supportsLayout}},[n]),a=Object(de.useSetting)("layout")||{},{tagName:c="div",templateLock:l,layout:i={}}=e,s=i&&i.inherit?a:i,{contentSize:u,wideSize:d}=s,m=Object(ge.useMemo)(()=>{if(r){return{type:"default",alignments:u||d?["wide","full"]:["left","center","right"]}}},[r,u,d]),b=Object(de.useBlockProps)(),p=Object(de.__experimentalUseInnerBlocksProps)(r?b:{className:"wp-block-group__inner-container"},{templateLock:l,renderAppender:o?void 0:de.InnerBlocks.ButtonBlockAppender,__experimentalLayout:m});return Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.InspectorAdvancedControls,null,Object(ge.createElement)(Ee.SelectControl,{label:Object(pe.__)("HTML element"),options:[{label:Object(pe.__)("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=>t({tagName:e})})),r&&Object(ge.createElement)(c,p),!r&&Object(ge.createElement)(c,b,Object(ge.createElement)("div",p)))};const _i={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:{enum:["all","insert",!1]}},supports:{align:["wide","full"],anchor:!0,html:!1,color:{gradients:!0,link:!0},spacing:{padding:!0},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0},__experimentalLayout:!0},editorStyle:"wp-block-group-editor",style:"wp-block-group"},{name:ki}=_i,Ei={icon:ji,example:{attributes:{style:{color:{text:"#000000",background:"#ffffff"}}},innerBlocks:[{name:"core/paragraph",attributes:{customTextColor:"#cf2e2e",fontSize:"large",content:Object(pe.__)("One.")}},{name:"core/paragraph",attributes:{customTextColor:"#ff6900",fontSize:"large",content:Object(pe.__)("Two.")}},{name:"core/paragraph",attributes:{customTextColor:"#fcb900",fontSize:"large",content:Object(pe.__)("Three.")}},{name:"core/paragraph",attributes:{customTextColor:"#00d084",fontSize:"large",content:Object(pe.__)("Four.")}},{name:"core/paragraph",attributes:{customTextColor:"#0693e3",fontSize:"large",content:Object(pe.__)("Five.")}},{name:"core/paragraph",attributes:{customTextColor:"#9b51e0",fontSize:"large",content:Object(pe.__)("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(me.createBlock)(e.name,e.attributes,e.innerBlocks));return Object(me.createBlock)("core/group",{align:n},o)}}]},edit:wi,save:function({attributes:e}){const{tagName:t}=e;return Object(ge.createElement)(t,de.useBlockProps.save(),Object(ge.createElement)(de.InnerBlocks.Content,null))},deprecated:yi};var Ci=Object(ge.createElement)(he.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(he.Path,{d:"M20.2 7v4H3.8V7H2.2v9h1.6v-3.5h16.4V16h1.6V7z"}));var xi=({color:e,setColor:t})=>Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(de.PanelColorSettings,{title:Object(pe.__)("Color"),colorSettings:[{value:e.color,onChange:t,label:Object(pe.__)("Color")}]}));var Si=Object(de.withColors)("color",{textColor:"color"})((function({color:e,setColor:t,className:n}){return Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(Ee.HorizontalRule,Object(de.useBlockProps)({className:je()(n,{"has-background":e.color,[e.class]:e.class}),style:{backgroundColor:e.color,color:e.color}})),Object(ge.createElement)(xi,{color:e,setColor:t}))}));var Bi={from:[{type:"enter",regExp:/^-{3,}$/,transform:()=>Object(me.createBlock)("core/separator")},{type:"raw",selector:"hr",schema:{hr:{}}}]};const Ti={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:zi}=Ti,Pi={icon:Ci,example:{attributes:{customColor:"#065174",className:"is-style-wide"}},transforms:Bi,edit:Si,save:function({attributes:e}){const{color:t,customColor:n}=e,o=Object(de.getColorClassName)("background-color",t),r=Object(de.getColorClassName)("color",t),a=je()({"has-text-color has-background":t||n,[o]:o,[r]:r}),c={backgroundColor:o?void 0:n,color:r?void 0:n};return Object(ge.createElement)("hr",de.useBlockProps.save({className:a,style:c}))}};var Mi=Object(ge.createElement)(he.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(he.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"})),Ni=n("iClF");var Ri=n("UuzZ");var Vi={from:[{type:"shortcode",tag:"[a-z][a-z0-9_-]*",attributes:{text:{type:"string",shortcode:(e,{content:t})=>Object(Ri.removep)(Object(Ri.autop)(t))}},priority:20}]};const Hi={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:Li}=Hi,Ii={icon:Mi,transforms:Vi,edit:function e({attributes:t,setAttributes:n}){const o="blocks-shortcode-input-"+Object(Ie.useInstanceId)(e);return Object(ge.createElement)("div",Object(de.useBlockProps)({className:"components-placeholder"}),Object(ge.createElement)("label",{htmlFor:o,className:"components-placeholder__label"},Object(ge.createElement)(Ni.a,{icon:Mi}),Object(pe.__)("Shortcode")),Object(ge.createElement)(de.PlainText,{className:"blocks-shortcode__textarea",id:o,value:t.text,"aria-label":Object(pe.__)("Shortcode text"),placeholder:Object(pe.__)("Write shortcode here…"),onChange:e=>n({text:e})}))},save:function({attributes:e}){return Object(ge.createElement)(ge.RawHTML,null,e.text)}};var Ai=Object(ge.createElement)(he.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(he.Path,{d:"M12.5 4.2v1.6h4.7L5.8 17.2V12H4.2v7.8H12v-1.6H6.8L18.2 6.8v4.7h1.6V4.2z"}));var Di=Object(Ie.compose)([Object(Le.withDispatch)(e=>{const{toggleSelection:t}=e(de.store);return{onResizeStart:()=>t(!1),onResizeStop:()=>t(!0)}}),Ie.withInstanceId])(({attributes:e,isSelected:t,setAttributes:n,onResizeStart:o,onResizeStop:r,context:a})=>{const{orientation:c}=a,[l,i]=Object(ge.useState)(!1),{height:s,width:u}=e,d=e=>{n({height:e})},m=e=>{n({width:e})},b=(...e)=>{o(...e),i(!0)},p=(e,t,n,o)=>{r();const a=Math.min(parseInt(s+o.height,10),500);d(a),i(!1)},g=(e,t,n,o)=>{r();const a=Math.min(parseInt(u+o.width,10),500);m(a),i(!1)};return Object(ge.useEffect)(()=>{"horizontal"!==c||u||(m(72),d(0))},[]),Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(he.View,Object(de.useBlockProps)(),"horizontal"===c?Object(ge.createElement)(Ee.ResizableBox,{className:je()("block-library-spacer__resize-container","resize-horizontal",{"is-selected":t}),size:{width:u,height:24},minWidth:1,enable:{top:!1,right:!0,bottom:!1,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},onResizeStart:b,onResizeStop:g,showHandle:t,__experimentalShowTooltip:!0,__experimentalTooltipProps:{axis:"x",position:"corner",isVisible:l}}):Object(ge.createElement)(Ee.ResizableBox,{className:je()("block-library-spacer__resize-container",{"is-selected":t}),size:{height:s},minHeight:1,enable:{top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},onResizeStart:b,onResizeStop:p,showHandle:t,__experimentalShowTooltip:!0,__experimentalTooltipProps:{axis:"y",position:"bottom",isVisible:l}})),Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Spacer settings")},"horizontal"===c&&Object(ge.createElement)(Ee.RangeControl,{label:Object(pe.__)("Width in pixels"),min:1,max:Math.max(500,u),value:u,onChange:m}),"horizontal"!==c&&Object(ge.createElement)(Ee.RangeControl,{label:Object(pe.__)("Height in pixels"),min:1,max:Math.max(500,s),value:s,onChange:d}))))});const Fi={apiVersion:2,name:"core/spacer",title:"Spacer",category:"design",description:"Add white space between blocks and customize its height.",textdomain:"default",attributes:{height:{type:"number",default:100},width:{type:"number"}},usesContext:["orientation"],supports:{anchor:!0},editorStyle:"wp-block-spacer-editor",style:"wp-block-spacer"},{name:Gi}=Fi,qi={icon:Ai,edit:Di,save:function({attributes:e}){return Object(ge.createElement)("div",de.useBlockProps.save({style:{height:e.height,width:e.width},"aria-hidden":!0}))}};var Ui=Object(ge.createElement)(he.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(he.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 Wi={"subtle-light-gray":"#f3f4f5","subtle-pale-green":"#e9fbe5","subtle-pale-blue":"#e7f5fe","subtle-pale-pink":"#fcf0ef"};var $i=[{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:({attributes:e})=>{const{hasFixedLayout:t,head:n,body:o,foot:r,backgroundColor:a,caption:c}=e;if(!n.length&&!o.length&&!r.length)return null;const l=Object(de.getColorClassName)("background-color",a),i=je()(l,{"has-fixed-layout":t,"has-background":!!l}),s=!de.RichText.isEmpty(c),u=({type:e,rows:t})=>{if(!t.length)return null;const n="t"+e;return Object(ge.createElement)(n,null,t.map(({cells:e},t)=>Object(ge.createElement)("tr",{key:t},e.map(({content:e,tag:t,scope:n,align:o},r)=>{const a=je()({["has-text-align-"+o]:o});return Object(ge.createElement)(de.RichText.Content,{className:a||void 0,"data-align":o,tagName:t,value:e,key:r,scope:"th"===t?n:void 0})}))))};return Object(ge.createElement)("figure",de.useBlockProps.save(),Object(ge.createElement)("table",{className:""===i?void 0:i},Object(ge.createElement)(u,{type:"head",rows:n}),Object(ge.createElement)(u,{type:"body",rows:o}),Object(ge.createElement)(u,{type:"foot",rows:r})),s&&Object(ge.createElement)(de.RichText.Content,{tagName:"figcaption",value:c}))},isEligible:e=>e.backgroundColor&&!e.style,migrate:e=>({...e,backgroundColor:void 0,style:{color:{background:Wi[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({attributes:e}){const{hasFixedLayout:t,head:n,body:o,foot:r,backgroundColor:a}=e;if(!n.length&&!o.length&&!r.length)return null;const c=Object(de.getColorClassName)("background-color",a),l=je()(c,{"has-fixed-layout":t,"has-background":!!c}),i=({type:e,rows:t})=>{if(!t.length)return null;const n="t"+e;return Object(ge.createElement)(n,null,t.map(({cells:e},t)=>Object(ge.createElement)("tr",{key:t},e.map(({content:e,tag:t,scope:n},o)=>Object(ge.createElement)(de.RichText.Content,{tagName:t,value:e,key:o,scope:"th"===t?n:void 0})))))};return Object(ge.createElement)("table",{className:l},Object(ge.createElement)(i,{type:"head",rows:n}),Object(ge.createElement)(i,{type:"body",rows:o}),Object(ge.createElement)(i,{type:"foot",rows:r}))}}],Zi=n("fPbg"),Qi=n("plpT"),Ji=n("ziDm");var Yi=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(ge.createElement)(he.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 Ki=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(ge.createElement)(he.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 Xi=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(ge.createElement)(he.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 es=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(ge.createElement)(he.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 ts=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(ge.createElement)(he.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 ns=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(ge.createElement)(he.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 os=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.Path,{d:"M4 6v11.5h16V6H4zm1.5 1.5h6V11h-6V7.5zm0 8.5v-3.5h6V16h-6zm13 0H13v-3.5h5.5V16zM13 11V7.5h5.5V11H13z"}));const rs=["align"];function as(e,t,n){if(!t)return e;const o=Object(be.pick)(e,["head","body","foot"]),{sectionName:r,rowIndex:a}=t;return Object(be.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 cs(e,{sectionName:t,rowIndex:n,columnCount:o}){const r=function(e){return is(e.head)?is(e.body)?is(e.foot)?void 0:e.foot[0]:e.body[0]:e.head[0]}(e),a=void 0===o?Object(be.get)(r,["cells","length"]):o;return a?{[t]:[...e[t].slice(0,n),{cells:Object(be.times)(a,e=>{const n=Object(be.get)(r,["cells",e],{});return{...Object(be.pick)(n,rs),content:"",tag:"head"===t?"th":"td"}})},...e[t].slice(n)]}:e}function ls(e,t){if(!is(e[t]))return{[t]:[]};return cs(e,{sectionName:t,rowIndex:0,columnCount:Object(be.get)(e,["body",0,"cells","length"],1)})}function is(e){return!e||!e.length||Object(be.every)(e,ss)}function ss(e){return!(e.cells&&e.cells.length)}const us=[{icon:Zi.a,title:Object(pe.__)("Align column left"),align:"left"},{icon:Qi.a,title:Object(pe.__)("Align column center"),align:"center"},{icon:Ji.a,title:Object(pe.__)("Align column right"),align:"right"}],ds={head:Object(pe.__)("Header cell text"),body:Object(pe.__)("Body cell text"),foot:Object(pe.__)("Footer cell text")},ms={head:Object(pe.__)("Header label"),foot:Object(pe.__)("Footer label")};function bs({name:e,...t}){const n="t"+e;return Object(ge.createElement)(n,t)}var ps=function({attributes:e,setAttributes:t,insertBlocksAfter:n,isSelected:o}){const{hasFixedLayout:r,caption:a,head:c,foot:l}=e,[i,s]=Object(ge.useState)(2),[u,d]=Object(ge.useState)(2),[m,b]=Object(ge.useState)(),p=Object(de.__experimentalUseColorProps)(e),g=Object(de.__experimentalUseBorderProps)(e);function h(n){m&&t(as(e,m,e=>({...e,content:n})))}function v(n){if(!m)return;const{sectionName:o,rowIndex:r}=m,a=r+n;t(cs(e,{sectionName:o,rowIndex:a})),b({sectionName:o,rowIndex:a,columnIndex:0,type:"cell"})}function O(n=0){if(!m)return;const{columnIndex:o}=m,r=o+n;t(function(e,{columnIndex:t}){const n=Object(be.pick)(e,["head","body","foot"]);return Object(be.mapValues)(n,(e,n)=>is(e)?e:e.map(e=>ss(e)||e.cells.length<t?e:{cells:[...e.cells.slice(0,t),{content:"",tag:"head"===n?"th":"td"},...e.cells.slice(t)]}))}(e,{columnIndex:r})),b({rowIndex:0,columnIndex:r,type:"cell"})}Object(ge.useEffect)(()=>{o||b()},[o]);const j=["head","body","foot"].filter(t=>!is(e[t])),f=[{icon:Yi,title:Object(pe.__)("Insert row before"),isDisabled:!m,onClick:function(){v(0)}},{icon:Ki,title:Object(pe.__)("Insert row after"),isDisabled:!m,onClick:function(){v(1)}},{icon:Xi,title:Object(pe.__)("Delete row"),isDisabled:!m,onClick:function(){if(!m)return;const{sectionName:n,rowIndex:o}=m;b(),t(function(e,{sectionName:t,rowIndex:n}){return{[t]:e[t].filter((e,t)=>t!==n)}}(e,{sectionName:n,rowIndex:o}))}},{icon:es,title:Object(pe.__)("Insert column before"),isDisabled:!m,onClick:function(){O(0)}},{icon:ts,title:Object(pe.__)("Insert column after"),isDisabled:!m,onClick:function(){O(1)}},{icon:ns,title:Object(pe.__)("Delete column"),isDisabled:!m,onClick:function(){if(!m)return;const{sectionName:n,columnIndex:o}=m;b(),t(function(e,{columnIndex:t}){const n=Object(be.pick)(e,["head","body","foot"]);return Object(be.mapValues)(n,e=>is(e)?e:e.map(e=>({cells:e.cells.length>=t?e.cells.filter((e,n)=>n!==t):e.cells})).filter(e=>e.cells.length))}(e,{sectionName:n,columnIndex:o}))}}],y=["head","body","foot"].map(t=>Object(ge.createElement)(bs,{name:t,key:t},e[t].map(({cells:e},n)=>Object(ge.createElement)("tr",{key:n},e.map(({content:e,tag:o,scope:r,align:a},c)=>Object(ge.createElement)(de.RichText,{tagName:o,key:c,className:je()({["has-text-align-"+a]:a},"wp-block-table__cell-content"),scope:"th"===o?r:void 0,value:e,onChange:h,unstableOnFocus:()=>{b({sectionName:t,rowIndex:n,columnIndex:c,type:"cell"})},"aria-label":ds[t],placeholder:ms[t]})))))),w=!j.length;return Object(ge.createElement)("figure",Object(de.useBlockProps)(),!w&&Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.BlockControls,{group:"block"},Object(ge.createElement)(de.AlignmentControl,{label:Object(pe.__)("Change column alignment"),alignmentControls:us,value:function(){if(m)return function(e,t,n){const{sectionName:o,rowIndex:r,columnIndex:a}=t;return Object(be.get)(e,[o,r,"cells",a,n])}(e,m,"align")}(),onChange:n=>function(n){if(!m)return;const o={type:"column",columnIndex:m.columnIndex},r=as(e,o,e=>({...e,align:n}));t(r)}(n)})),Object(ge.createElement)(de.BlockControls,{group:"other"},Object(ge.createElement)(Ee.ToolbarDropdownMenu,{hasArrowIndicator:!0,icon:os,label:Object(pe.__)("Edit table"),controls:f}))),!w&&Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Table settings"),className:"blocks-table-settings"},Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Fixed width table cells"),checked:!!r,onChange:function(){t({hasFixedLayout:!r})}}),Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Header section"),checked:!(!c||!c.length),onChange:function(){t(ls(e,"head"))}}),Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Footer section"),checked:!(!l||!l.length),onChange:function(){t(ls(e,"foot"))}}))),!w&&Object(ge.createElement)("table",{className:je()(p.className,g.className,{"has-fixed-layout":r}),style:{...p.style,...g.style}},y),!w&&Object(ge.createElement)(de.RichText,{tagName:"figcaption","aria-label":Object(pe.__)("Table caption text"),placeholder:Object(pe.__)("Add caption"),value:a,onChange:e=>t({caption:e}),unstableOnFocus:()=>b(),__unstableOnSplitAtEnd:()=>n(Object(me.createBlock)("core/paragraph"))}),w&&Object(ge.createElement)(Ee.Placeholder,{label:Object(pe.__)("Table"),icon:Object(ge.createElement)(de.BlockIcon,{icon:Ui,showColors:!0}),instructions:Object(pe.__)("Insert a table for sharing data.")},Object(ge.createElement)("form",{className:"blocks-table__placeholder-form",onSubmit:function(e){e.preventDefault(),t(function({rowCount:e,columnCount:t}){return{body:Object(be.times)(e,()=>({cells:Object(be.times)(t,()=>({content:"",tag:"td"}))}))}}({rowCount:parseInt(i,10)||2,columnCount:parseInt(u,10)||2}))}},Object(ge.createElement)(Ee.TextControl,{type:"number",label:Object(pe.__)("Column count"),value:u,onChange:function(e){d(e)},min:"1",className:"blocks-table__placeholder-input"}),Object(ge.createElement)(Ee.TextControl,{type:"number",label:Object(pe.__)("Row count"),value:i,onChange:function(e){s(e)},min:"1",className:"blocks-table__placeholder-input"}),Object(ge.createElement)(Ee.Button,{className:"blocks-table__placeholder-button",isPrimary:!0,type:"submit"},Object(pe.__)("Create Table")))))};const gs=({phrasingContentSchema:e})=>({tr:{allowEmpty:!0,children:{th:{allowEmpty:!0,children:e,attributes:["scope"]},td:{allowEmpty:!0,children:e}}}});var hs={from:[{type:"raw",selector:"table",schema:e=>({table:{children:{thead:{allowEmpty:!0,children:gs(e)},tfoot:{allowEmpty:!0,children:gs(e)},tbody:{allowEmpty:!0,children:gs(e)}}}})}]};const vs={apiVersion:2,name:"core/table",title:"Table",category:"text",description:"Insert a table — perfect for sharing charts and data.",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},__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:Os}=vs,js={icon:Ui,example:{attributes:{head:[{cells:[{content:Object(pe.__)("Version"),tag:"th"},{content:Object(pe.__)("Jazz Musician"),tag:"th"},{content:Object(pe.__)("Release Date"),tag:"th"}]}],body:[{cells:[{content:"5.2",tag:"td"},{content:"Jaco Pastorius",tag:"td"},{content:Object(pe.__)("May 7, 2019"),tag:"td"}]},{cells:[{content:"5.1",tag:"td"},{content:"Betty Carter",tag:"td"},{content:Object(pe.__)("February 21, 2019"),tag:"td"}]},{cells:[{content:"5.0",tag:"td"},{content:"Bebo Valdés",tag:"td"},{content:Object(pe.__)("December 6, 2018"),tag:"td"}]}]}},transforms:hs,edit:ps,save:function({attributes:e}){const{hasFixedLayout:t,head:n,body:o,foot:r,caption:a}=e;if(!n.length&&!o.length&&!r.length)return null;const c=Object(de.__experimentalGetColorClassesAndStyles)(e),l=Object(de.__experimentalGetBorderClassesAndStyles)(e),i=je()(c.className,l.className,{"has-fixed-layout":t}),s=!de.RichText.isEmpty(a),u=({type:e,rows:t})=>{if(!t.length)return null;const n="t"+e;return Object(ge.createElement)(n,null,t.map(({cells:e},t)=>Object(ge.createElement)("tr",{key:t},e.map(({content:e,tag:t,scope:n,align:o},r)=>{const a=je()({["has-text-align-"+o]:o});return Object(ge.createElement)(de.RichText.Content,{className:a||void 0,"data-align":o,tagName:t,value:e,key:r,scope:"th"===t?n:void 0})}))))};return Object(ge.createElement)("figure",de.useBlockProps.save(),Object(ge.createElement)("table",{className:""===i?void 0:i,style:{...c.style,...l.style}},Object(ge.createElement)(u,{type:"head",rows:n}),Object(ge.createElement)(u,{type:"body",rows:o}),Object(ge.createElement)(u,{type:"foot",rows:r})),s&&Object(ge.createElement)(de.RichText.Content,{tagName:"figcaption",value:a}))},deprecated:$i};var fs=n("NMb1"),ys=n.n(fs);var ws={to:[{type:"block",blocks:["core/columns"],transform:({className:e,columns:t,content:n,width:o})=>Object(me.createBlock)("core/columns",{align:"wide"===o||"full"===o?o:void 0,className:e,columns:t},n.map(({children:e})=>Object(me.createBlock)("core/column",{},[Object(me.createBlock)("core/paragraph",{content:e})])))}]};const _s={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:ks}=_s,Es={transforms:ws,getEditWrapperProps(e){const{width:t}=e;if("wide"===t||"full"===t)return{"data-align":t}},edit:function({attributes:e,setAttributes:t}){const{width:n,content:o,columns:r}=e;return ys()("The Text Columns block",{since:"5.3",alternative:"the Columns block"}),Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.BlockControls,null,Object(ge.createElement)(de.BlockAlignmentToolbar,{value:n,onChange:e=>t({width:e}),controls:["center","wide","full"]})),Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(Ee.PanelBody,null,Object(ge.createElement)(Ee.RangeControl,{label:Object(pe.__)("Columns"),value:r,onChange:e=>t({columns:e}),min:2,max:4,required:!0}))),Object(ge.createElement)("div",Object(de.useBlockProps)({className:`align${n} columns-${r}`}),Object(be.times)(r,e=>Object(ge.createElement)("div",{className:"wp-block-column",key:"column-"+e},Object(ge.createElement)(de.RichText,{tagName:"p",value:Object(be.get)(o,[e,"children"]),onChange:n=>{t({content:[...o.slice(0,e),{children:n},...o.slice(e+1)]})},"aria-label":Object(pe.sprintf)(Object(pe.__)("Column %d text"),e+1),placeholder:Object(pe.__)("New Column")})))))},save:function({attributes:e}){const{width:t,content:n,columns:o}=e;return Object(ge.createElement)("div",de.useBlockProps.save({className:`align${t} columns-${o}`}),Object(be.times)(o,e=>Object(ge.createElement)("div",{className:"wp-block-column",key:"column-"+e},Object(ge.createElement)(de.RichText.Content,{tagName:"p",value:Object(be.get)(n,[e,"children"])}))))}};var Cs=Object(ge.createElement)(he.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(he.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 xs=[{attributes:{content:{type:"string",source:"html",selector:"pre",default:""},textAlign:{type:"string"}},save({attributes:e}){const{textAlign:t,content:n}=e;return Object(ge.createElement)(de.RichText.Content,{tagName:"pre",style:{textAlign:t},value:n})}}];var Ss={from:[{type:"block",blocks:["core/paragraph"],transform:e=>Object(me.createBlock)("core/verse",e)}],to:[{type:"block",blocks:["core/paragraph"],transform:e=>Object(me.createBlock)("core/paragraph",e)}]};const Bs={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},spacing:{padding:!0}},style:"wp-block-verse",editorStyle:"wp-block-verse-editor"},{name:Ts}=Bs,zs={icon:Cs,example:{attributes:{content:Object(pe.__)("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:Ss,deprecated:xs,merge:(e,t)=>({content:e.content+t.content}),edit:function({attributes:e,setAttributes:t,mergeBlocks:n,onRemove:o}){const{textAlign:r,content:a}=e,c=Object(de.useBlockProps)({className:je()({["has-text-align-"+r]:r})});return Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.BlockControls,null,Object(ge.createElement)(de.AlignmentToolbar,{value:r,onChange:e=>{t({textAlign:e})}})),Object(ge.createElement)(de.RichText,Object(ke.a)({tagName:"pre",identifier:"content",preserveWhiteSpace:!0,value:a,onChange:e=>{t({content:e})},"aria-label":Object(pe.__)("Verse text"),placeholder:Object(pe.__)("Write verse…"),onRemove:o,onMerge:n,textAlign:r},c,{__unstablePastePlainText:!0})))},save:function({attributes:e}){const{textAlign:t,content:n}=e,o=je()({["has-text-align-"+t]:t});return Object(ge.createElement)("pre",de.useBlockProps.save({className:o}),Object(ge.createElement)(de.RichText.Content,{value:n}))}};var Ps=Object(ge.createElement)(he.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(he.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 Ms=[{value:"auto",label:Object(pe.__)("Auto")},{value:"metadata",label:Object(pe.__)("Metadata")},{value:"none",label:Object(pe.__)("None")}];var Ns=({setAttributes:e,attributes:t})=>{const{autoplay:n,controls:o,loop:r,muted:a,playsInline:c,preload:l}=t,i=Object(pe.__)("Autoplay may cause usability issues for some users."),s=ge.Platform.select({web:Object(ge.useCallback)(e=>e?i:null,[]),native:i}),u=Object(ge.useMemo)(()=>{const t=t=>n=>{e({[t]:n})};return{autoplay:t("autoplay"),loop:t("loop"),muted:t("muted"),controls:t("controls"),playsInline:t("playsInline")}},[]),d=Object(ge.useCallback)(t=>{e({preload:t})},[]);return Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Autoplay"),onChange:u.autoplay,checked:n,help:s}),Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Loop"),onChange:u.loop,checked:r}),Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Muted"),onChange:u.muted,checked:a}),Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Playback controls"),onChange:u.controls,checked:o}),Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Play inline"),onChange:u.playsInline,checked:c}),Object(ge.createElement)(Ee.SelectControl,{label:Object(pe.__)("Preload"),value:l,onChange:d,options:Ms,hideCancelButton:!0}))},Rs=n("rH4q");const Vs=["text/vtt"],Hs="subtitles",Ls=[{label:Object(pe.__)("Subtitles"),value:"subtitles"},{label:Object(pe.__)("Captions"),value:"captions"},{label:Object(pe.__)("Descriptions"),value:"descriptions"},{label:Object(pe.__)("Chapters"),value:"chapters"},{label:Object(pe.__)("Metadata"),value:"metadata"}],Is=Object(ge.createElement)(Ee.SVG,{width:"18",height:"14",viewBox:"0 0 18 14",role:"img",fill:"none"},Object(ge.createElement)(Ee.Rect,{x:"0.75",y:"0.75",width:"16.5",height:"12.5",rx:"1.25",stroke:"black",strokeWidth:"1.5",fill:"none"}),Object(ge.createElement)(Ee.Path,{d:"M3 7H15",stroke:"black",strokeWidth:"1.5"}),Object(ge.createElement)(Ee.Path,{d:"M3 10L15 10",stroke:"black",strokeWidth:"1.5"}));function As({tracks:e,onEditPress:t}){let n;return n=0===e.length?Object(ge.createElement)("p",{className:"block-library-video-tracks-editor__tracks-informative-message"},Object(pe.__)("Tracks can be subtitles, captions, chapters, or descriptions. They help make your content more accessible to a wider range of users.")):e.map((e,n)=>Object(ge.createElement)("div",{key:n,className:"block-library-video-tracks-editor__track-list-track"},Object(ge.createElement)("span",null,e.label," "),Object(ge.createElement)(Ee.Button,{isTertiary:!0,onClick:()=>t(n),"aria-label":Object(pe.sprintf)(Object(pe.__)("Edit %s"),e.label)},Object(pe.__)("Edit")))),Object(ge.createElement)(Ee.MenuGroup,{label:Object(pe.__)("Text tracks"),className:"block-library-video-tracks-editor__track-list"},n)}function Ds({track:e,onChange:t,onClose:n,onRemove:o}){const{src:r="",label:a="",srcLang:c="",kind:l=Hs}=e,i=r.startsWith("blob:")?"":r.substring(r.lastIndexOf("/")+1);return Object(ge.createElement)(Ee.NavigableMenu,null,Object(ge.createElement)("div",{className:"block-library-video-tracks-editor__single-track-editor"},Object(ge.createElement)("span",{className:"block-library-video-tracks-editor__single-track-editor-edit-track-label"},Object(pe.__)("Edit track")),Object(ge.createElement)("span",null,Object(pe.__)("File"),": ",Object(ge.createElement)("b",null,i)),Object(ge.createElement)("div",{className:"block-library-video-tracks-editor__single-track-editor-label-language"},Object(ge.createElement)(Ee.TextControl,{autoFocus:!0,onChange:n=>t({...e,label:n}),label:Object(pe.__)("Label"),value:a,help:Object(pe.__)("Title of track")}),Object(ge.createElement)(Ee.TextControl,{onChange:n=>t({...e,srcLang:n}),label:Object(pe.__)("Source language"),value:c,help:Object(pe.__)("Language tag (en, fr, etc.)")})),Object(ge.createElement)(Ee.SelectControl,{className:"block-library-video-tracks-editor__single-track-editor-kind-select",options:Ls,value:l,label:Object(pe.__)("Kind"),onChange:n=>{t({...e,kind:n})}}),Object(ge.createElement)("div",{className:"block-library-video-tracks-editor__single-track-editor-buttons-container"},Object(ge.createElement)(Ee.Button,{isSecondary:!0,onClick:()=>{const o={};let r=!1;""===a&&(o.label=Object(pe.__)("English"),r=!0),""===c&&(o.srcLang="en",r=!0),void 0===e.kind&&(o.kind=Hs,r=!0),r&&t({...e,...o}),n()}},Object(pe.__)("Close")),Object(ge.createElement)(Ee.Button,{isDestructive:!0,isLink:!0,onClick:o},Object(pe.__)("Remove track")))))}function Fs({tracks:e=[],onChange:t}){const n=Object(Le.useSelect)(e=>e(de.store).getSettings().mediaUpload,[]),[o,r]=Object(ge.useState)(null);return n?Object(ge.createElement)(Ee.Dropdown,{contentClassName:"block-library-video-tracks-editor",renderToggle:({isOpen:e,onToggle:t})=>Object(ge.createElement)(Ee.ToolbarButton,{label:Object(pe.__)("Text tracks"),showTooltip:!0,"aria-expanded":e,"aria-haspopup":"true",onClick:t,icon:Is}),renderContent:({})=>null!==o?Object(ge.createElement)(Ds,{track:e[o],onChange:n=>{const r=[...e];r[o]=n,t(r)},onClose:()=>r(null),onRemove:()=>{t(e.filter((e,t)=>t!==o)),r(null)}}):Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(Ee.NavigableMenu,null,Object(ge.createElement)(As,{tracks:e,onEditPress:r}),Object(ge.createElement)(Ee.MenuGroup,{className:"block-library-video-tracks-editor__add-tracks-container",label:Object(pe.__)("Add tracks")},Object(ge.createElement)(de.MediaUpload,{onSelect:({url:n})=>{const o=e.length;t([...e,{src:n}]),r(o)},allowedTypes:Vs,render:({open:e})=>Object(ge.createElement)(Ee.MenuItem,{icon:Rs.a,onClick:e},Object(pe.__)("Open Media Library"))}),Object(ge.createElement)(de.MediaUploadCheck,null,Object(ge.createElement)(Ee.FormFileUpload,{onChange:o=>{const a=o.target.files,c=e.length;n({allowedTypes:Vs,filesList:a,onFileChange:([{url:n}])=>{const o=[...e];o[c]||(o[c]={}),o[c]={...e[c],src:n},t(o),r(c)}})},accept:".vtt,text/vtt",render:({openFileDialog:e})=>Object(ge.createElement)(Ee.MenuItem,{icon:Fe.a,onClick:()=>{e()}},Object(pe.__)("Upload"))})))))}):null}function Gs({tracks:e=[]}){return e.map(e=>Object(ge.createElement)("track",Object(ke.a)({key:e.src},e)))}const qs=["video"],Us=["image"];var Ws=Object(Ee.withNotices)((function e({isSelected:t,noticeUI:n,attributes:o,className:r,setAttributes:a,insertBlocksAfter:c,onReplace:l,noticeOperations:i}){const s=Object(Ie.useInstanceId)(e),u=Object(ge.useRef)(),d=Object(ge.useRef)(),{id:m,caption:b,controls:p,poster:g,src:h,tracks:v}=o,O=!m&&Object(He.isBlobURL)(h),j=Object(Le.useSelect)(e=>e(de.store).getSettings().mediaUpload);function f(e){e&&e.url?a({src:e.url,id:e.id}):a({src:void 0,id:void 0})}function y(e){if(e!==h){const t=Ke({attributes:{url:e}});if(void 0!==t)return void l(t);a({src:e,id:void 0})}}function w(e){i.removeAllNotices(),i.createErrorNotice(e)}Object(ge.useEffect)(()=>{if(!m&&Object(He.isBlobURL)(h)){const e=Object(He.getBlobByURL)(h);e&&j({filesList:[e],onFileChange:([{url:e}])=>{a({src:e})},onError:e=>{i.createErrorNotice(e)},allowedTypes:qs})}},[]),Object(ge.useEffect)(()=>{u.current&&u.current.load()},[g]);const _=je()(r,{"is-transient":O}),k=Object(de.useBlockProps)({className:_});if(!h)return Object(ge.createElement)("div",k,Object(ge.createElement)(de.MediaPlaceholder,{icon:Object(ge.createElement)(de.BlockIcon,{icon:Ps}),onSelect:f,onSelectURL:y,accept:"video/*",allowedTypes:qs,value:o,notices:n,onError:w}));const E="video-block__poster-image-description-"+s;return Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.BlockControls,{group:"block"},Object(ge.createElement)(Fs,{tracks:v,onChange:e=>{a({tracks:e})}})),Object(ge.createElement)(de.BlockControls,{group:"other"},Object(ge.createElement)(de.MediaReplaceFlow,{mediaId:m,mediaURL:h,allowedTypes:qs,accept:"video/*",onSelect:f,onSelectURL:y,onError:w})),Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Video settings")},Object(ge.createElement)(Ns,{setAttributes:a,attributes:o}),Object(ge.createElement)(de.MediaUploadCheck,null,Object(ge.createElement)(Ee.BaseControl,{className:"editor-video-poster-control"},Object(ge.createElement)(Ee.BaseControl.VisualLabel,null,Object(pe.__)("Poster image")),Object(ge.createElement)(de.MediaUpload,{title:Object(pe.__)("Select poster image"),onSelect:function(e){a({poster:e.url})},allowedTypes:Us,render:({open:e})=>Object(ge.createElement)(Ee.Button,{isPrimary:!0,onClick:e,ref:d,"aria-describedby":E},g?Object(pe.__)("Replace"):Object(pe.__)("Select"))}),Object(ge.createElement)("p",{id:E,hidden:!0},g?Object(pe.sprintf)(Object(pe.__)("The current poster image url is %s"),g):Object(pe.__)("There is no poster image currently selected")),!!g&&Object(ge.createElement)(Ee.Button,{onClick:function(){a({poster:""}),this.posterImageButton.current.focus()},isTertiary:!0},Object(pe.__)("Remove")))))),Object(ge.createElement)("figure",k,Object(ge.createElement)(Ee.Disabled,{isDisabled:!t},Object(ge.createElement)("video",{controls:p,poster:g,src:h,ref:u},Object(ge.createElement)(Gs,{tracks:v}))),O&&Object(ge.createElement)(Ee.Spinner,null),(!de.RichText.isEmpty(b)||t)&&Object(ge.createElement)(de.RichText,{tagName:"figcaption","aria-label":Object(pe.__)("Video caption text"),placeholder:Object(pe.__)("Add caption"),value:b,onChange:e=>a({caption:e}),inlineToolbar:!0,__unstableOnSplitAtEnd:()=>c(Object(me.createBlock)("core/paragraph"))})))}));var $s={from:[{type:"files",isMatch:e=>1===e.length&&0===e[0].type.indexOf("video/"),transform(e){const t=e[0];return Object(me.createBlock)("core/video",{src:Object(He.createBlobURL)(t)})}},{type:"shortcode",tag:"video",attributes:{src:{type:"string",shortcode:({named:{src:e,mp4:t,m4v:n,webm:o,ogv:r,flv:a}})=>e||t||n||o||r||a},poster:{type:"string",shortcode:({named:{poster:e}})=>e},loop:{type:"string",shortcode:({named:{loop:e}})=>e},autoplay:{type:"string",shortcode:({named:{autoplay:e}})=>e},preload:{type:"string",shortcode:({named:{preload:e}})=>e}}}]};const Zs={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:Qs}=Zs,Js={icon:Ps,example:{attributes:{src:"https://upload.wikimedia.org/wikipedia/commons/c/ca/Wood_thrush_in_Central_Park_switch_sides_%2816510%29.webm",caption:Object(pe.__)("Wood thrush singing in Central Park, NYC.")}},transforms:$s,edit:Ws,save:function({attributes:e}){const{autoplay:t,caption:n,controls:o,loop:r,muted:a,poster:c,preload:l,src:i,playsInline:s,tracks:u}=e;return Object(ge.createElement)("figure",de.useBlockProps.save(),i&&Object(ge.createElement)("video",{autoPlay:t,controls:o,loop:r,muted:a,poster:c,preload:"metadata"!==l?l:void 0,src:i,playsInline:s},Object(ge.createElement)(Gs,{tracks:u})),!de.RichText.isEmpty(n)&&Object(ge.createElement)(de.RichText.Content,{tagName:"figcaption",value:n}))}};var Ys=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.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 Ks=Object(Le.withSelect)(e=>({taxonomies:e(ue.store).getTaxonomies({per_page:-1})}))((function({attributes:e,setAttributes:t,taxonomies:n}){const{taxonomy:o,showTagCounts:r}=e,a=Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Tag Cloud settings")},Object(ge.createElement)(Ee.SelectControl,{label:Object(pe.__)("Taxonomy"),options:[{label:Object(pe.__)("- Select -"),value:"",disabled:!0},...Object(be.map)(Object(be.filter)(n,"show_cloud"),e=>({value:e.slug,label:e.name}))],value:o,onChange:e=>t({taxonomy:e})}),Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Show post counts"),checked:r,onChange:()=>t({showTagCounts:!r})})));return Object(ge.createElement)(ge.Fragment,null,a,Object(ge.createElement)("div",Object(de.useBlockProps)(),Object(ge.createElement)(Kn.a,{key:"tag-cloud",block:"core/tag-cloud",attributes:e})))}));const Xs={apiVersion:2,name:"core/tag-cloud",title:"Tag Cloud",category:"widgets",description:"A cloud of your most used tags.",textdomain:"default",attributes:{taxonomy:{type:"string",default:"post_tag"},showTagCounts:{type:"boolean",default:!1}},supports:{html:!1,align:!0},editorStyle:"wp-block-tag-cloud-editor"},{name:eu}=Xs,tu={icon:Ys,example:{},edit:Ks};var nu=Object(ge.createElement)(he.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(he.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 ou=({clientId:e})=>{const{replaceBlocks:t}=Object(Le.useDispatch)(de.store),n=Object(Le.useSelect)(t=>t(de.store).getBlock(e),[e]);return Object(ge.createElement)(Ee.ToolbarButton,{onClick:()=>t(n.clientId,Object(me.rawHandler)({HTML:Object(me.serialize)(n)}))},Object(pe.__)("Convert to blocks"))};const{wp:ru}=window;const au={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:cu}=au,lu={icon:nu,edit:function({clientId:e,attributes:{content:t},setAttributes:n,onReplace:o}){const r=Object(ge.useRef)(!1);return Object(ge.useEffect)(()=>{if(!r.current)return;const n=window.tinymce.get("editor-"+e);(null==n?void 0:n.getContent())!==t&&n.setContent(t||"")},[t]),Object(ge.useEffect)(()=>{const{baseURL:a,suffix:c}=window.wpEditorL10n.tinymce;function l(e){let r;t&&e.on("loadContent",()=>e.setContent(t)),e.on("blur",()=>{r=e.selection.getBookmark(2,!0);const t=document.querySelector(".interface-interface-skeleton__content"),o=t.scrollTop;return n({content:e.getContent()}),e.once("focus",()=>{r&&(e.selection.moveToBookmark(r),t.scrollTop!==o&&(t.scrollTop=o))}),!1}),e.on("mousedown touchstart",()=>{r=null});const a=Object(be.debounce)(()=>{const t=e.getContent();t!==e._lastChange&&(e._lastChange=t,n({content:t}))},250);e.on("Paste Change input Undo Redo",a),e.on("remove",a.cancel),e.on("keydown",t=>{an.isKeyboardEvent.primary(t,"z")&&t.stopPropagation(),t.keyCode!==an.BACKSPACE&&t.keyCode!==an.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)||(o([]),t.preventDefault(),t.stopImmediatePropagation());const{altKey:n}=t;n&&t.keyCode===an.F10&&t.stopPropagation()}),e.on("init",()=>{const t=e.getBody();t.ownerDocument.activeElement===t&&(t.blur(),e.focus())})}function i(){const{settings:t}=window.wpEditorL10n.tinymce;ru.oldEditor.initialize("editor-"+e,{tinymce:{...t,inline:!0,content_css:!1,fixed_toolbar_container:"#toolbar-"+e,setup:l}})}function s(){"complete"===document.readyState&&i()}return r.current=!0,window.tinymce.EditorManager.overrideDefaults({base_url:a,suffix:c}),"complete"===document.readyState?i():document.addEventListener("readystatechange",s),()=>{document.removeEventListener("readystatechange",s),ru.oldEditor.remove("editor-"+e)}},[]),Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.BlockControls,null,Object(ge.createElement)(Ee.ToolbarGroup,null,Object(ge.createElement)(ou,{clientId:e}))),Object(ge.createElement)("div",Object(de.useBlockProps)(),Object(ge.createElement)("div",{key:"toolbar",id:"toolbar-"+e,className:"block-library-classic__toolbar",onClick:function(){const t=window.tinymce.get("editor-"+e);t&&t.focus()},"data-placeholder":Object(pe.__)("Classic"),onKeyDown:function(e){e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()}}),Object(ge.createElement)("div",{key:"editor",id:"editor-"+e,className:"wp-block-freeform block-library-rich-text__tinymce"})))},save:function({attributes:e}){const{content:t}=e;return Object(ge.createElement)(ge.RawHTML,null,t)}};var iu=Object(ge.createElement)(he.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(he.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 su=[{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},save:e=>{const{attributes:{iconBackgroundColorValue:t,iconColorValue:n,itemsJustification:o,size:r}}=e,a=je()(r,{"has-icon-color":n,"has-icon-background-color":t,["items-justified-"+o]:o}),c={"--wp--social-links--icon-color":n,"--wp--social-links--icon-background-color":t};return Object(ge.createElement)("ul",de.useBlockProps.save({className:a,style:c}),Object(ge.createElement)(de.InnerBlocks.Content,null))}}];const uu=["core/social-link"],du=[{name:Object(pe.__)("Small"),value:"has-small-icon-size"},{name:Object(pe.__)("Normal"),value:"has-normal-icon-size"},{name:Object(pe.__)("Large"),value:"has-large-icon-size"},{name:Object(pe.__)("Huge"),value:"has-huge-icon-size"}];var mu=Object(de.withColors)({iconColor:"icon-color",iconBackgroundColor:"icon-background-color"})((function(e){var t;const{attributes:n,iconBackgroundColor:o,iconColor:r,isSelected:a,setAttributes:c,setIconBackgroundColor:l,setIconColor:i}=e,{iconBackgroundColorValue:s,iconColorValue:u,itemsJustification:d,openInNewTab:m,size:b}=n,p=(null===(t=n.className)||void 0===t?void 0:t.indexOf("is-style-logos-only"))>=0;Object(ge.useEffect)(()=>{p&&c({iconBackgroundColor:void 0,customIconBackgroundColor:void 0,iconBackgroundColorValue:void 0})},[p,c]);const g=Object(ge.createElement)("li",{className:"wp-block-social-links__social-placeholder"},Object(ge.createElement)("div",{className:"wp-social-link"}),Object(ge.createElement)("div",{className:"wp-block-social-links__social-placeholder-icons"},Object(ge.createElement)("div",{className:"wp-social-link wp-social-link-twitter"}),Object(ge.createElement)("div",{className:"wp-social-link wp-social-link-facebook"}),Object(ge.createElement)("div",{className:"wp-social-link wp-social-link-instagram"}))),h=Object(ge.createElement)("li",{className:"wp-block-social-links__social-prompt"},Object(pe.__)("Click plus to add")),v=je()(b,{"has-icon-color":r.color||u,"has-icon-background-color":o.color||s,["items-justified-"+d]:d}),O=Object(de.useBlockProps)({className:v}),j=Object(de.__experimentalUseInnerBlocksProps)(O,{allowedBlocks:uu,orientation:"horizontal",placeholder:a?h:g,templateLock:!1,__experimentalAppenderTagName:"li"});return Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.BlockControls,{group:"block"},Object(ge.createElement)(de.JustifyContentControl,{allowedControls:["left","center","right","space-between"],value:d,onChange:e=>c({itemsJustification:e}),popoverProps:{position:"bottom right",isAlternate:!0}})),Object(ge.createElement)(de.BlockControls,{group:"other"},Object(ge.createElement)(Ee.ToolbarDropdownMenu,{label:Object(pe.__)("Size"),text:Object(pe.__)("Size"),icon:null,popoverProps:{position:"bottom right",isAlternate:!0}},({onClose:e})=>Object(ge.createElement)(Ee.MenuGroup,null,du.map(t=>Object(ge.createElement)(Ee.MenuItem,{icon:(b===t.value||!b&&"has-normal-icon-size"===t.value)&&Nt.a,isSelected:b===t.value,key:t.value,onClick:()=>{c({size:t.value})},onClose:e,role:"menuitemradio"},t.name))))),Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Link settings")},Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Open links in new tab"),checked:m,onChange:()=>c({openInNewTab:!m})})),Object(ge.createElement)(de.PanelColorSettings,{title:Object(pe.__)("Color"),colorSettings:[{value:r.color||u,onChange:e=>{i(e),c({iconColorValue:e})},label:Object(pe.__)("Icon color")},!p&&{value:o.color||s,onChange:e=>{l(e),c({iconBackgroundColorValue:e})},label:Object(pe.__)("Icon background color")}]}),!p&&Object(ge.createElement)(de.ContrastChecker,{textColor:u,backgroundColor:s,isLargeText:!1})),Object(ge.createElement)("ul",j))}));const bu={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},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:pu}=bu,gu={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:iu,edit:mu,save:function(e){const{attributes:{iconBackgroundColorValue:t,iconColorValue:n,itemsJustification:o,size:r}}=e,a=je()(r,{"has-icon-color":n,"has-icon-background-color":t,["items-justified-"+o]:o});return Object(ge.createElement)("ul",de.useBlockProps.save({className:a}),Object(ge.createElement)(de.InnerBlocks.Content,null))},deprecated:su};var hu=n("btIw");const vu=()=>Object(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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"})),Ou=[{isDefault:!0,name:"wordpress",attributes:{service:"wordpress"},title:"WordPress",icon:()=>Object(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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:vu},{name:"codepen",attributes:{service:"codepen"},title:"CodePen",icon:()=>Object(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 569 546",version:"1.1"},Object(ge.createElement)(he.Circle,{cx:"363",cy:"205",r:"205"}),Object(ge.createElement)(he.Rect,{width:"100",height:"546",x:"0",y:"0"}))},{name:"pinterest",attributes:{service:"pinterest"},title:"Pinterest",icon:()=>Object(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 128 128",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 32 32",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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(ge.createElement)(he.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(ge.createElement)(he.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"}))}];Ou.forEach(e=>{e.isActive||(e.isActive=(e,t)=>e.service===t.service)});var ju=Ou;var fu=({attributes:e,context:t,isSelected:n,setAttributes:o})=>{const{url:r,service:a,label:c}=e,{iconColorValue:l,iconBackgroundColorValue:i}=t,[s,u]=Object(ge.useState)(!1),d=je()("wp-social-link","wp-social-link-"+a,{"wp-social-link__is-incomplete":!r}),m=(e=>{const t=Object(be.find)(ju,{name:e});return t?t.icon:vu})(a),b=(e=>{const t=Object(be.find)(ju,{name:e});return t?t.title:Object(pe.__)("Social Icon")})(a),p=Object(de.useBlockProps)({className:d,style:{color:l,backgroundColor:i}});return Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.sprintf)(Object(pe.__)("%s label"),b),initialOpen:!1},Object(ge.createElement)(Ee.PanelRow,null,Object(ge.createElement)(Ee.TextControl,{label:Object(pe.__)("Link label"),help:Object(pe.__)("Briefly describe the link to help screen reader users."),value:c,onChange:e=>o({label:e})})))),Object(ge.createElement)("li",p,Object(ge.createElement)(Ee.Button,{onClick:()=>u(!0)},Object(ge.createElement)(m,null),n&&s&&Object(ge.createElement)(de.URLPopover,{onClose:()=>u(!1)},Object(ge.createElement)("form",{className:"block-editor-url-popover__link-editor",onSubmit:e=>{e.preventDefault(),u(!1)}},Object(ge.createElement)("div",{className:"block-editor-url-input"},Object(ge.createElement)(de.URLInput,{value:r,onChange:e=>o({url:e}),placeholder:Object(pe.__)("Enter address"),disableSuggestions:!0})),Object(ge.createElement)(Ee.Button,{icon:hu.a,label:Object(pe.__)("Apply"),type:"submit"}))))))};const yu={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:wu}=yu,_u={icon:iu,edit:fu,variations:ju};var ku=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.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 Eu=["image"],Cu=({alt:e,attributes:{align:t,width:n,height:o,isLink:r,linkTarget:a},containerRef:c,isSelected:l,setAttributes:i,logoUrl:s,siteUrl:u})=>{const d=nt(c,[t]),m=Object(Ie.useViewportMatch)("medium"),b=!Object(be.includes)(["wide","full"],t)&&m,[{naturalWidth:p,naturalHeight:g},h]=Object(ge.useState)({}),{toggleSelection:v}=Object(Le.useDispatch)(de.store),O=je()("custom-logo-link",{"is-transient":Object(He.isBlobURL)(s)}),{maxWidth:j,title:f}=Object(Le.useSelect)(e=>{const{getSettings:t}=e(de.store);return{title:e(ue.store).getEditedEntityRecord("root","site").title,...Object(be.pick)(t(),["imageSizes","maxWidth"])}});const y=Object(ge.createElement)("img",{className:"custom-logo",src:s,alt:e,onLoad:e=>{h(Object(be.pick)(e.target,["naturalWidth","naturalHeight"]))}});let w,_=y;if(r&&(_=Object(ge.createElement)("a",{href:u,className:O,rel:"home",title:f,onClick:e=>e.preventDefault()},y)),d&&p&&g){w=p>d?d:p}if(!b||!w)return Object(ge.createElement)("div",{style:{width:n,height:o}},_);const k=n||w,E=p/g,C=k/E,x=p<g?20:20*E,S=g<p?20:20/E,B=2.5*j;let T=!1,z=!1;return"center"===t?(T=!0,z=!0):Object(pe.isRTL)()?"left"===t?T=!0:z=!0:"right"===t?z=!0:T=!0,Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Settings")},Object(ge.createElement)(Ee.RangeControl,{label:Object(pe.__)("Image width"),onChange:e=>i({width:e}),min:x,max:B,initialPosition:Math.min(120,B),value:n||"",disabled:!b}),Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Link image to home"),onChange:()=>i({isLink:!r}),checked:r}),r&&Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Open in new tab"),onChange:e=>i({linkTarget:e?"_blank":"_self"}),checked:"_blank"===a})))),Object(ge.createElement)(Ee.ResizableBox,{size:{width:n,height:o},showHandle:l,minWidth:x,maxWidth:B,minHeight:S,maxHeight:B/E,lockAspectRatio:!0,enable:{top:!1,right:T,bottom:!0,left:z},onResizeStart:function(){v(!1)},onResizeStop:(e,t,n,o)=>{v(!0),i({width:parseInt(k+o.width,10),height:parseInt(C+o.height,10)})}},_))};const xu={apiVersion:2,name:"core/site-logo",title:"Site Logo",category:"layout",description:"Useful for displaying a graphic mark, design, or symbol to represent the site. Once a site logo is set, it can be reused in different places and templates. It should not be confused with the site icon, which is the small image used in the dashboard, browser tabs, public search results, etc, to help recognize a site.",textdomain:"default",attributes:{align:{type:"string"},width:{type:"number"},isLink:{type:"boolean",default:!0},linkTarget:{type:"string",default:"_self"}},supports:{html:!1,align:!0,alignWide:!1},styles:[{name:"default",label:"Default",isDefault:!0},{name:"rounded",label:"Rounded"}],editorStyle:"wp-block-site-logo-editor",style:"wp-block-site-logo"},{name:Su}=xu,Bu={icon:ku,edit:function({attributes:e,className:t,setAttributes:n,isSelected:o}){const{width:r}=e,[a,c]=Object(ge.useState)(),[l,i]=Object(ge.useState)(),s=Object(ge.useRef)(),{mediaItemData:u,siteLogo:d,url:m}=Object(Le.useSelect)(e=>{const t=e(ue.store).getEditedEntityRecord("root","site"),n=t.site_logo?e(ue.store).getEntityRecord("root","media",t.site_logo):null;return{mediaItemData:n&&{url:n.source_url,alt:n.alt_text},siteLogo:t.site_logo,url:t.url}},[]),{editEntityRecord:b}=Object(Le.useDispatch)(ue.store),p=e=>b("root","site",void 0,{site_logo:e});let g=null;u&&(g=u.alt,a!==u.url&&c(u.url));const h=e=>{if(e)return!e.id&&e.url?(p(void 0),i(null),void c(e.url)):void p(e.id)},v=e=>{i(e[2]?e[2]:null)},O=a&&Object(ge.createElement)(de.BlockControls,{group:"other"},Object(ge.createElement)(de.MediaReplaceFlow,{mediaURL:a,allowedTypes:Eu,accept:"image/*",onSelect:h,onError:v})),j=Object(pe.__)("Site Logo");let f;void 0===d&&(f=Object(ge.createElement)(Ee.Spinner,null)),a&&(f=Object(ge.createElement)(Cu,{alt:g,attributes:e,className:t,containerRef:s,isSelected:o,setAttributes:n,logoUrl:a,siteUrl:m}));const y=Object(ge.createElement)(de.MediaPlaceholder,{icon:Object(ge.createElement)(de.BlockIcon,{icon:ku}),labels:{title:j,instructions:Object(pe.__)("Upload an image, or pick one from your media library, to be your site logo")},onSelect:h,accept:"image/*",allowedTypes:Eu,mediaPreview:f,notices:l&&Object(ge.createElement)(Ee.Notice,{status:"error",isDismissible:!1},l),onError:v}),w=je()(t,{"is-default-size":!r}),_=Object(de.useBlockProps)({ref:s,className:w});return Object(ge.createElement)("div",_,O,a&&f,!a&&y)}};var Tu=Object(ge.createElement)(Ee.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24"},Object(ge.createElement)(Ee.Path,{fill:"none",d:"M0 0h24v24H0z"}),Object(ge.createElement)(Ee.Path,{d:"M4 9h16v2H4V9zm0 4h10v2H4v-2z"}));const zu={apiVersion:2,name:"core/site-tagline",title:"Site Tagline",category:"design",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:{html:!1,color:{gradients:!0},spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalTextTransform:!0}}},{name:Pu}=zu,Mu={icon:Tu,edit:function({attributes:e,setAttributes:t}){const{textAlign:n}=e,[o,r]=Object(ue.useEntityProp)("root","site","description"),a=Object(de.useBlockProps)({className:je()({["has-text-align-"+n]:n})});return Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.BlockControls,{group:"block"},Object(ge.createElement)(de.AlignmentControl,{onChange:e=>t({textAlign:e}),value:n})),Object(ge.createElement)(de.RichText,Object(ke.a)({allowedFormats:[],onChange:r,"aria-label":Object(pe.__)("Site tagline text"),placeholder:Object(pe.__)("Write site tagline…"),tagName:"p",value:o},a)))}};var Nu=Object(ge.createElement)(he.SVG,{xmlns:"https://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.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 Ru({level:e,isPressed:t=!1}){if(0===e)return ve;return Object(ge.createElement)(Ee.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",isPressed:t},Object(ge.createElement)(Ee.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"}[e]}))}function Vu({level:e,onChange:t}){const n=[1,2,3,4,5,6,0].map(n=>{const o=n===e;return{icon:Object(ge.createElement)(Ru,{level:n,isPressed:o}),title:0===n?Object(pe.__)("Paragraph"):Object(pe.sprintf)(Object(pe.__)("Heading %d"),n),isActive:o,onClick:()=>t(n)}});return Object(ge.createElement)(Ee.ToolbarDropdownMenu,{label:Object(pe.__)("Change heading level"),icon:Object(ge.createElement)(Ru,{level:e}),controls:n})}const Hu={apiVersion:2,name:"core/site-title",title:"Site Title",category:"design",description:"Displays and allows editing the name of the site. The site title usually appears in the browser title bar, in search results, and more. Also available in Settings > General.",textdomain:"default",attributes:{level:{type:"number",default:1},textAlign:{type:"string"}},supports:{align:["wide","full"],html:!1,color:{gradients:!0,text:!1,link:!0},spacing:{padding:!0,margin:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalTextTransform:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0}}},{name:Lu}=Hu,Iu={icon:Nu,edit:function({attributes:e,setAttributes:t,insertBlocksAfter:n}){const{level:o,textAlign:r}=e,[a,c]=Object(ue.useEntityProp)("root","site","title"),l=0===o?"p":"h"+o,i=Object(de.useBlockProps)({className:je()({["has-text-align-"+r]:r})});return Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.BlockControls,{group:"block"},Object(ge.createElement)(Vu,{level:o,onChange:e=>t({level:e})}),Object(ge.createElement)(de.AlignmentControl,{value:r,onChange:e=>{t({textAlign:e})}})),Object(ge.createElement)(l,i,Object(ge.createElement)(de.RichText,{tagName:"a",style:{display:"inline-block"},"aria-label":Object(pe.__)("Site title text"),placeholder:Object(pe.__)("Write site title…"),value:a,onChange:c,allowedFormats:[],disableLineBreaks:!0,__unstableOnSplitAtEnd:()=>n(Object(me.createBlock)(Object(me.getDefaultBlockName)()))})))}};var Au=Object(ge.createElement)(he.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(he.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 Du=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.Path,{d:"M17 4h-2v4.5h2V7h3V5.5h-3V4zM4 5.5h9V7H4V5.5zm16 5.75h-9v1.5h9v-1.5zm-16 0h3V10h2v4.25H7v-1.5H4v-1.5zM9 17H4v1.5h5V17zm4 0h7v1.5h-7V20h-2v-4.25h2V17z"}));function Fu({attributes:{query:e,displayLayout:t},setQuery:n,setDisplayLayout:o}){const r=Object(Ie.useInstanceId)(Fu,"blocks-query-pagination-max-page-input"),a=[{icon:Ec,title:Object(pe.__)("List view"),onClick:()=>o({type:"list"}),isActive:"list"===(null==t?void 0:t.type)},{icon:Cc.a,title:Object(pe.__)("Grid view"),onClick:()=>o({type:"flex",columns:(null==t?void 0:t.columns)||3}),isActive:"flex"===(null==t?void 0:t.type)}];return Object(ge.createElement)(ge.Fragment,null,!e.inherit&&Object(ge.createElement)(Ee.ToolbarGroup,null,Object(ge.createElement)(Ee.Dropdown,{contentClassName:"block-library-query-toolbar__popover",renderToggle:({onToggle:e})=>Object(ge.createElement)(Ee.ToolbarButton,{icon:Du,label:Object(pe.__)("Display settings"),onClick:e}),renderContent:()=>Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(Ee.BaseControl,null,Object(ge.createElement)(Ee.__experimentalNumberControl,{__unstableInputWidth:"60px",label:Object(pe.__)("Items per Page"),labelPosition:"edge",min:1,max:100,onChange:e=>{var t;return n({perPage:null!==(t=+e)&&void 0!==t?t:-1})},step:"1",value:e.perPage,isDragEnabled:!1})),Object(ge.createElement)(Ee.BaseControl,null,Object(ge.createElement)(Ee.__experimentalNumberControl,{__unstableInputWidth:"60px",label:Object(pe.__)("Offset"),labelPosition:"edge",min:0,max:100,onChange:e=>n({offset:+e}),step:"1",value:e.offset,isDragEnabled:!1})),Object(ge.createElement)(Ee.BaseControl,{id:r,help:Object(pe.__)("Limit the pages you want to show, even if the query has more results. To show all pages use 0 (zero).")},Object(ge.createElement)(Ee.__experimentalNumberControl,{id:r,__unstableInputWidth:"60px",label:Object(pe.__)("Max page to show"),labelPosition:"edge",min:0,onChange:e=>n({pages:+e}),step:"1",value:e.pages,isDragEnabled:!1})))})),Object(ge.createElement)(Ee.ToolbarGroup,{controls:a}))}const Gu=e=>({terms:e,...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:[]})});const qu=[{label:Object(pe.__)("Include"),value:""},{label:Object(pe.__)("Exclude"),value:"exclude"},{label:Object(pe.__)("Only"),value:"only"}];function Uu({attributes:{query:e,displayLayout:t},setQuery:n,setDisplayLayout:o}){var r,a;const{order:c,orderBy:l,author:i,postType:s,sticky:u,inherit:d}=e,[m,b]=Object(ge.useState)(!0),[p,g]=Object(ge.useState)(!0),[h,v]=Object(ge.useState)("post"===s),{postTypesTaxonomiesMap:O,postTypesSelectOptions:j}=(()=>{const{postTypes:e}=Object(Le.useSelect)(e=>{var t;const{getPostTypes:n}=e(ue.store),o=["attachment"];return{postTypes:null===(t=n({per_page:-1}))||void 0===t?void 0:t.filter(({viewable:e,slug:t})=>e&&!o.includes(t))}},[]);return{postTypesTaxonomiesMap:Object(ge.useMemo)(()=>{if(null!=e&&e.length)return e.reduce((e,t)=>(e[t.slug]=t.taxonomies,e),{})},[e]),postTypesSelectOptions:Object(ge.useMemo)(()=>(e||[]).map(({labels:e,slug:t})=>({label:e.singular_name,value:t})),[e])}})(),{authorList:f,categories:y,tags:w}=Object(Le.useSelect)(e=>{const{getEntityRecords:t}=e(ue.store),n={per_page:100},o=t("taxonomy","category",n),r=t("taxonomy","post_tag",n);return{categories:Gu(o),tags:Gu(r),authorList:t("root","user",{per_page:-1})}},[]);Object(ge.useEffect)(()=>{if(!O)return;const e=O[s];b(e.includes("category")),g(e.includes("post_tag"))},[s,O]),Object(ge.useEffect)(()=>{v("post"===s)},[s]);const _=(e,t)=>o=>{const r=Array.from(o.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));n({[t]:r})},k=_(y,"categoryIds"),E=_(w,"tagIds"),[C,x]=Object(ge.useState)(e.search),S=Object(ge.useCallback)(Object(be.debounce)(()=>{e.search!==C&&n({search:C})},250),[C,e.search]);Object(ge.useEffect)(()=>(S(),S.cancel),[C,S]);const B=t=>{const n={category:{queryProp:"categoryIds",terms:y},post_tag:{queryProp:"tagIds",terms:w}}[t];return(e[n.queryProp]||[]).reduce((e,t)=>{const o=n.terms.mapById[t];return o&&e.push({id:t,value:o.name}),e},[])};return Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Settings")},Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Inherit query from URL"),help:Object(pe.__)("Disable the option to customize the query arguments. Leave enabled to inherit the global query depending on the URL."),checked:!!d,onChange:e=>n({inherit:!!e})}),!d&&Object(ge.createElement)(Ee.SelectControl,{options:j,value:s,label:Object(pe.__)("Post Type"),onChange:e=>{const t={postType:e};O[e].includes("category")||(t.categoryIds=[]),O[e].includes("post_tag")||(t.tagIds=[]),"post"!==e&&(t.sticky=""),n(t)}}),"flex"===(null==t?void 0:t.type)&&Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(Ee.RangeControl,{label:Object(pe.__)("Columns"),value:t.columns,onChange:e=>o({columns:e}),min:2,max:Math.max(6,t.columns)}),t.columns>6&&Object(ge.createElement)(Ee.Notice,{status:"warning",isDismissible:!1},Object(pe.__)("This column count exceeds the recommended amount and may cause visual breakage."))),!d&&Object(ge.createElement)(Ee.QueryControls,{order:c,orderBy:l,onOrderChange:e=>n({order:e}),onOrderByChange:e=>n({orderBy:e})}),h&&Object(ge.createElement)(Ee.SelectControl,{label:Object(pe.__)("Sticky posts"),options:qu,value:u,onChange:e=>n({sticky:e})})),!d&&Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Filters")},m&&(null==y||null===(r=y.terms)||void 0===r?void 0:r.length)>0&&Object(ge.createElement)(Ee.FormTokenField,{label:Object(pe.__)("Categories"),value:B("category"),suggestions:y.names,onChange:k}),p&&(null==w||null===(a=w.terms)||void 0===a?void 0:a.length)>0&&Object(ge.createElement)(Ee.FormTokenField,{label:Object(pe.__)("Tags"),value:B("post_tag"),suggestions:w.names,onChange:E}),Object(ge.createElement)(Ee.QueryControls,{selectedAuthorId:i,authorList:f,onAuthorChange:e=>n({author:""!==e?+e:void 0})}),Object(ge.createElement)(Ee.TextControl,{label:Object(pe.__)("Keyword"),value:C,onChange:x})))}var Wu=({clientId:e,name:t,attributes:n,setAttributes:o})=>{var r;const{blockType:a,defaultVariation:c,scopeVariations:l,allVariations:i}=Object(Le.useSelect)(e=>{const{getBlockVariations:n,getBlockType:o,getDefaultBlockVariation:r}=e(me.store);return{blockType:o(t),defaultVariation:r(t,"block"),scopeVariations:n(t,"block"),allVariations:n(t)}},[t]),{replaceInnerBlocks:s}=Object(Le.useDispatch)(de.store),u=Object(de.useBlockProps)(),d=Object(de.__experimentalGetMatchingVariation)(n,i),m=(null==d?void 0:d.icon)||(null==a||null===(r=a.icon)||void 0===r?void 0:r.src),b=(null==d?void 0:d.title)||(null==a?void 0:a.title);return Object(ge.createElement)("div",u,Object(ge.createElement)(de.__experimentalBlockVariationPicker,{icon:m,label:b,variations:l,onSelect:(t=c)=>{t.attributes&&o(t.attributes),t.innerBlocks&&s(e,Object(me.createBlocksFromInnerBlocksTemplate)(t.innerBlocks),!1)}}))};const $u=[["core/query-loop"]];function Zu({attributes:e,setAttributes:t}){const{queryId:n,query:o,displayLayout:r,tagName:a="div",layout:c={}}=e,{__unstableMarkNextChangeAsNotPersistent:l}=Object(Le.useDispatch)(de.store),i=Object(Ie.useInstanceId)(Zu),{themeSupportsLayout:s}=Object(Le.useSelect)(e=>{var t;const{getSettings:n}=e(de.store);return{themeSupportsLayout:null===(t=n())||void 0===t?void 0:t.supportsLayout}},[]),u=Object(de.useSetting)("layout")||{},d=c&&c.inherit?u:c,{contentSize:m,wideSize:b}=d,p=Object(de.useBlockProps)(),g=Object(ge.useMemo)(()=>{if(s){return{type:"default",alignments:m||b?["wide","full"]:["left","center","right"]}}},[s,m,b]),h=Object(de.__experimentalUseInnerBlocksProps)(p,{template:$u,__experimentalLayout:g}),{postsPerPage:v}=Object(Le.useSelect)(e=>{const{getSettings:t}=e(de.store);return{postsPerPage:+t().postsPerPage||3}},[]);Object(ge.useEffect)(()=>{const e={};!o.perPage&&v&&(e.perPage=v),Object.keys(e).length&&(l(),O(e))},[o.perPage]),Object(ge.useEffect)(()=>{n||(l(),t({queryId:i}))},[n,i]);const O=e=>t({query:{...o,...e}}),j=e=>t({displayLayout:{...r,...e}});return Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(Uu,{attributes:e,setQuery:O,setDisplayLayout:j}),Object(ge.createElement)(de.BlockControls,null,Object(ge.createElement)(Fu,{attributes:e,setQuery:O,setDisplayLayout:j})),Object(ge.createElement)(de.InspectorAdvancedControls,null,Object(ge.createElement)(Ee.SelectControl,{label:Object(pe.__)("HTML element"),options:[{label:Object(pe.__)("Default (<div>)"),value:"div"},{label:"<main>",value:"main"},{label:"<section>",value:"section"},{label:"<aside>",value:"aside"}],value:a,onChange:e=>t({tagName:e})})),Object(ge.createElement)(a,h))}function Qu(e){const{clientId:t,name:n}=e,o=Object(de.useBlockProps)();return Object(ge.createElement)("div",o,Object(ge.createElement)(de.__experimentalBlockPatternSetup,{blockName:n,clientId:t,startBlankComponent:Object(ge.createElement)(Wu,e)}))}var Ju=e=>{const{clientId:t}=e,n=Object(Le.useSelect)(e=>!!e(de.store).getBlocks(t).length,[t])?Zu:Qu;return Object(ge.createElement)(n,e)};const Yu=Object(ge.createElement)(Ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},Object(ge.createElement)(Ee.Path,{d:"M41 9H7v3h34V9zm-22 5H7v1h12v-1zM7 26h12v1H7v-1zm34-5H7v3h34v-3zM7 38h12v1H7v-1zm34-5H7v3h34v-3z"})),Ku=Object(ge.createElement)(Ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},Object(ge.createElement)(Ee.Path,{d:"M41 9H7v3h34V9zm-4 5H7v1h30v-1zm4 3H7v1h34v-1zM7 20h30v1H7v-1zm0 12h30v1H7v-1zm34 3H7v1h34v-1zM7 38h30v1H7v-1zm34-11H7v3h34v-3z"})),Xu=Object(ge.createElement)(Ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},Object(ge.createElement)(Ee.Path,{d:"M41 9H7v3h34V9zm-22 5H7v1h12v-1zm22 3H7v1h34v-1zM7 20h34v1H7v-1zm0 12h12v1H7v-1zm34 3H7v1h34v-1zM7 38h34v1H7v-1zm34-11H7v3h34v-3z"})),ed=Object(ge.createElement)(Ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},Object(ge.createElement)(Ee.Path,{d:"M7 9h34v6H7V9zm12 8H7v1h12v-1zm18 3H7v1h30v-1zm0 18H7v1h30v-1zM7 35h12v1H7v-1zm34-8H7v6h34v-6z"}));var td=[{name:"posts-list",title:Object(pe.__)("Posts List"),description:Object(pe.__)("Display a list of your most recent posts, excluding sticky posts."),icon:yc,attributes:{query:{perPage:4,pages:1,offset:0,postType:"post",categoryIds:[],tagIds:[],order:"desc",orderBy:"date",author:"",search:"",sticky:"exclude"}},scope:["inserter"]},{name:"title-date",title:Object(pe.__)("Title & Date"),icon:Yu,innerBlocks:[["core/query-loop",{},[["core/post-title"],["core/post-date"]]]],scope:["block"]},{name:"title-excerpt",title:Object(pe.__)("Title & Excerpt"),icon:Ku,innerBlocks:[["core/query-loop",{},[["core/post-title"],["core/post-excerpt"]]]],scope:["block"]},{name:"title-date-excerpt",title:Object(pe.__)("Title, Date, & Excerpt"),icon:Xu,innerBlocks:[["core/query-loop",{},[["core/post-title"],["core/post-date"],["core/post-excerpt"]]]],scope:["block"]},{name:"image-date-title",title:Object(pe.__)("Image, Date, & Title"),icon:ed,innerBlocks:[["core/query-loop",{},[["core/post-featured-image"],["core/post-date"],["core/post-title"]]]],scope:["block"]}];var nd=[{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},save:()=>Object(ge.createElement)(de.InnerBlocks.Content,null)}];const od=({attributes:{query:{postType:e}={}}={}})=>{if(!e)return null;const t=Object(Ae.addQueryArgs)("post-new.php",{post_type:e});return Object(ge.createElement)("div",{className:"wp-block-query__create-new-link"},Object(ge.createInterpolateElement)(Object(pe.__)("<a>Create a new post</a> for this feed."),{a:Object(ge.createElement)("a",{href:t})}))};var rd=Object(Ie.createHigherOrderComponent)(e=>t=>{const{name:n,isSelected:o}=t;return"core/query"===n&&o?Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(od,t)),Object(ge.createElement)(e,Object(ke.a)({key:"edit"},t))):Object(ge.createElement)(e,Object(ke.a)({key:"edit"},t))},"withInspectorControls");const ad={apiVersion:2,name:"core/query",title:"Query",category:"design",description:"Displays a list of posts as a result of a query.",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:cd}=ad,ld={icon:Au,edit:Ju,save:function({attributes:{tagName:e="div"}}){return Object(ge.createElement)(e,de.useBlockProps.save(),Object(ge.createElement)(de.InnerBlocks.Content,null))},variations:td,deprecated:nd};Object(Ct.addFilter)("editor.BlockEdit","core/query",rd);const id=[["core/post-title"],["core/post-date"],["core/post-excerpt"]];const sd={apiVersion:2,name:"core/query-loop",title:"Query Loop",category:"design",parent:["core/query"],description:"Query loop.",textdomain:"default",usesContext:["queryId","query","queryContext","displayLayout","templateSlug"],supports:{reusable:!1,html:!1,align:!0},style:"wp-block-query-loop",editorStyle:"wp-block-query-loop-editor"},{name:ud}=sd,dd={icon:Au,edit:function({clientId:e,context:{query:{perPage:t,offset:n,categoryIds:o,postType:r,tagIds:a=[],order:c,orderBy:l,author:i,search:s,exclude:u,sticky:d,inherit:m}={},queryContext:b=[{page:1}],templateSlug:p,displayLayout:{type:g="flex",columns:h=1}={}}}){const[{page:v}]=b,[O,j]=Object(ge.useState)(),{posts:f,blocks:y}=Object(Le.useSelect)(b=>{const{getEntityRecords:g}=b(ue.store),{getBlocks:h}=b(de.store),O={offset:t?t*(v-1)+n:0,categories:o,tags:a,order:c,orderby:l};return t&&(O.per_page=t),i&&(O.author=i),s&&(O.search=s),null!=u&&u.length&&(O.exclude=u),d&&(O.sticky="only"===d),m&&null!=p&&p.startsWith("archive-")&&(O.postType=p.replace("archive-",""),r=O.postType),{posts:g("postType",r,O),blocks:h(e)}},[t,v,n,o,a,c,l,e,i,s,r,u,d,m,p]),w=Object(ge.useMemo)(()=>null==f?void 0:f.map(e=>({postType:e.type,postId:e.id})),[f]),_="flex"===g&&h>1,k=Object(de.useBlockProps)({className:je()({"is-flex-container":_,["columns-"+h]:_})}),E=Object(de.__experimentalUseInnerBlocksProps)({},{template:id});return f?f.length?Object(ge.createElement)("ul",k,w&&w.map(e=>Object(ge.createElement)(de.BlockContextProvider,{key:e.postId,value:e},e===(O||w[0])?Object(ge.createElement)("li",E):Object(ge.createElement)("li",null,Object(ge.createElement)(de.BlockPreview,{blocks:y,__experimentalLive:!0,__experimentalOnClick:()=>j(e)}))))):Object(ge.createElement)("p",k," ",Object(pe.__)("No results found.")):Object(ge.createElement)("p",k,Object(ge.createElement)(Ee.Spinner,null))},save:function(){return Object(ge.createElement)(de.InnerBlocks.Content,null)}},md=["archive"];var bd=Object(ge.createElement)(he.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(he.Path,{stroke:"#1E1E1E",strokeWidth:"1.5",d:"M4 19.25h9M4 15.25h16"}),Object(ge.createElement)(he.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 pd=[{isDefault:!0,name:"archive-title",title:Object(pe.__)("Archive Title"),description:Object(pe.__)("Display the archive title based on the queried object."),icon:bd,attributes:{type:"archive"},scope:["inserter"]}];pd.forEach(e=>{e.isActive||(e.isActive=(e,t)=>e.type===t.type)});var gd=pd;const hd={apiVersion:2,name:"core/query-title",title:"Query Title",category:"design",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},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0}},editorStyle:"wp-block-query-title-editor"},{name:vd}=hd,Od={edit:function({attributes:{type:e,level:t,textAlign:n},setAttributes:o}){const r="h"+t,a=Object(de.useBlockProps)({className:je()({["has-text-align-"+n]:n,"wp-block-query-title__placeholder":"archive"===e})});if(!md.includes(e))return Object(ge.createElement)("div",a,Object(ge.createElement)(de.Warning,null,Object(pe.__)("Provided type is not supported.")));let c;return"archive"===e&&(c=Object(ge.createElement)(r,a,Object(pe.__)("Archive title"))),Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.BlockControls,{group:"block"},Object(ge.createElement)(un,{selectedLevel:t,onChange:e=>o({level:e})}),Object(ge.createElement)(de.AlignmentControl,{value:n,onChange:e=>{o({textAlign:e})}})),c)},variations:gd};var jd=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.Rect,{x:"4",y:"10.5",width:"6",height:"3",rx:"1.5",fill:"#000"}),Object(ge.createElement)(he.Rect,{x:"12",y:"10.5",width:"3",height:"3",rx:"1.5",fill:"#000"}),Object(ge.createElement)(he.Rect,{x:"17",y:"10.5",width:"3",height:"3",rx:"1.5",fill:"#000"}));const fd=[["core/query-pagination-previous"],["core/query-pagination-numbers"],["core/query-pagination-next"]];const yd={apiVersion:2,name:"core/query-pagination",title:"Query Pagination",category:"design",parent:["core/query"],description:"Displays a paginated navigation to next/previous set of posts, when applicable.",textdomain:"default",usesContext:["queryId","query"],supports:{align:!0,reusable:!1,html:!1,color:{gradients:!0,link:!0}},editorStyle:"wp-block-query-pagination-editor",style:"wp-block-query-pagination"},{name:wd}=yd,_d={icon:jd,edit:function(){const e=Object(de.useBlockProps)(),t=Object(de.__experimentalUseInnerBlocksProps)(e,{template:fd,allowedBlocks:["core/query-pagination-previous","core/query-pagination-numbers","core/query-pagination-next"],orientation:"horizontal"});return Object(ge.createElement)("div",t)},save:function(){return Object(ge.createElement)("div",de.useBlockProps.save(),Object(ge.createElement)(de.InnerBlocks.Content,null))}};var kd=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.Rect,{x:"6",y:"10.5",width:"3",height:"3",rx:"1.5",fill:"#000"}),Object(ge.createElement)(he.Rect,{x:"11",y:"10.5",width:"3",height:"3",rx:"1.5",fill:"#000"}),Object(ge.createElement)(he.Path,{d:"M16.5 9.5L19 12l-2.5 2.5",stroke:"#1E1E1E",strokeWidth:"1.5"}));const Ed={apiVersion:2,name:"core/query-pagination-next",title:"Query Pagination Next",category:"design",parent:["core/query-pagination"],description:"Displays the next posts page link.",textdomain:"default",attributes:{label:{type:"string"}},usesContext:["queryId","query"],supports:{reusable:!1,html:!1,color:{gradients:!0,link:!0},typography:{fontSize:!0,lineHeight:!0}}},{name:Cd}=Ed,xd={icon:kd,edit:function({attributes:{label:e},setAttributes:t}){return Object(ge.createElement)(de.PlainText,Object(ke.a)({__experimentalVersion:2,tagName:"a",style:{display:"inline-block"},"aria-label":Object(pe.__)("Next page link"),placeholder:Object(pe.__)("Next Page"),value:e,onChange:e=>t({label:e})},Object(de.useBlockProps)()))}};var Sd=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.Rect,{x:"4",y:"10.5",width:"6",height:"3",rx:"1.5",fill:"#000"}),Object(ge.createElement)(he.Path,{d:"M13.5 14v-4l-1.5.5",stroke:"#1E1E1E"}),Object(ge.createElement)(he.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 Bd=(e,t="a",n="")=>Object(ge.createElement)(t,{className:"page-numbers "+n},e);const Td={apiVersion:2,name:"core/query-pagination-numbers",title:"Query Pagination 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:zd}=Td,Pd={icon:Sd,edit:function(){const e=Object(ge.createElement)(ge.Fragment,null,Bd(1),Bd(2),Bd(3,"span","current"),Bd(4),Bd(5),Bd("...","span","dots"),Bd(8));return Object(ge.createElement)("div",Object(de.useBlockProps)(),e)}};var Md=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.Rect,{x:"18",y:"13.5",width:"3",height:"3",rx:"1.5",transform:"rotate(-180 18 13.5)",fill:"#000"}),Object(ge.createElement)(he.Rect,{x:"13",y:"13.5",width:"3",height:"3",rx:"1.5",transform:"rotate(-180 13 13.5)",fill:"#000"}),Object(ge.createElement)(he.Path,{d:"M7.5 14.5L5 12l2.5-2.5",stroke:"#1E1E1E",strokeWidth:"1.5"}));const Nd={apiVersion:2,name:"core/query-pagination-previous",title:"Query Pagination Previous",category:"design",parent:["core/query-pagination"],description:"Displays the previous posts page link.",textdomain:"default",attributes:{label:{type:"string"}},usesContext:["queryId","query"],supports:{reusable:!1,html:!1,color:{gradients:!0,link:!0},typography:{fontSize:!0,lineHeight:!0}}},{name:Rd}=Nd,Vd={icon:Md,edit:function({attributes:{label:e},setAttributes:t}){return Object(ge.createElement)(de.PlainText,Object(ke.a)({__experimentalVersion:2,tagName:"a",style:{display:"inline-block"},"aria-label":Object(pe.__)("Previous page link"),placeholder:Object(pe.__)("Previous Page"),value:e,onChange:e=>t({label:e})},Object(de.useBlockProps)()))}};var Hd=Object(ge.createElement)(he.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(he.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"}));const Ld={apiVersion:2,name:"core/post-title",title:"Post Title",category:"design",description:"Displays the title of a post, page, or any other content-type.",textdomain:"default",usesContext:["postId","postType"],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},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0}},style:"wp-block-post-title"},{name:Id}=Ld,Ad={icon:Hd,edit:function({attributes:{level:e,textAlign:t,isLink:n,rel:o,linkTarget:r},setAttributes:a,context:{postType:c,postId:l}}){const i=0===e?"p":"h"+e,s=Object(Le.useSelect)(e=>e(ue.store).getEditedEntityRecord("postType",c,l),[c,l]),{editEntityRecord:u}=Object(Le.useDispatch)(ue.store),d=Object(de.useBlockProps)({className:je()({["has-text-align-"+t]:t})});if(!s)return null;const{title:m="",link:b}=s;let p=Object(ge.createElement)(i,n?{}:d,Object(pe.__)("An example title"));return c&&l&&(p=Object(ge.createElement)(de.PlainText,Object(ke.a)({tagName:i,placeholder:Object(pe.__)("No Title"),value:m,onChange:e=>u("postType",c,l,{title:e}),__experimentalVersion:2},n?{}:d))),n&&(p=Object(ge.createElement)(i,d,Object(ge.createElement)(de.PlainText,{tagName:"a",href:b,target:r,rel:o,placeholder:0===m.length?Object(pe.__)("No Title"):null,value:m,onChange:e=>u("postType",c,l,{title:e}),__experimentalVersion:2}))),Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.BlockControls,{group:"block"},Object(ge.createElement)(un,{selectedLevel:e,onChange:e=>a({level:e})}),Object(ge.createElement)(de.AlignmentControl,{value:t,onChange:e=>{a({textAlign:e})}})),Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Link settings")},Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Make title a link"),onChange:()=>a({isLink:!n}),checked:n}),n&&Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Open in new tab"),onChange:e=>a({linkTarget:e?"_blank":"_self"}),checked:"_blank"===r}),Object(ge.createElement)(Ee.TextControl,{label:Object(pe.__)("Link rel"),value:o,onChange:e=>a({rel:e})})))),p)}};var Dd=Object(ge.createElement)(he.SVG,{xmlns:"https://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.Path,{d:"M4 20h16v-1.5H4V20zm0-4.8h16v-1.5H4v1.5zm0-6.4v1.5h16V8.8H4zM16 4H4v1.5h12V4z"}));function Fd({layout:e,postType:t,postId:n}){const o=Object(Le.useSelect)(e=>{var t;const{getSettings:n}=e(de.store);return null===(t=n())||void 0===t?void 0:t.supportsLayout},[]),r=Object(de.useSetting)("layout")||{},a=e&&e.inherit?r:e,{contentSize:c,wideSize:l}=a,i=Object(ge.useMemo)(()=>{if(o){return{type:"default",alignments:c||l?["wide","full"]:["left","center","right"]}}},[o,c,l]),[s,u,d]=Object(ue.useEntityBlockEditor)("postType",t,{id:n}),m=Object(de.__experimentalUseInnerBlocksProps)(Object(de.useBlockProps)({className:"entry-content"}),{value:s,onInput:u,onChange:d,__experimentalLayout:i});return Object(ge.createElement)("div",m)}function Gd(){const e=Object(de.useBlockProps)();return Object(ge.createElement)("div",e,Object(ge.createElement)("div",{className:"wp-block-post-content__placeholder"},Object(ge.createElement)("span",null,Object(pe.__)("This is a placeholder for post content."))))}function qd(){const e=Object(de.useBlockProps)();return Object(ge.createElement)("div",e,Object(ge.createElement)(de.Warning,null,Object(pe.__)("Block cannot be rendered inside itself.")))}const Ud={apiVersion:2,name:"core/post-content",title:"Post Content",category:"design",description:"Displays the contents of a post or page.",textdomain:"default",usesContext:["postId","postType"],supports:{align:["wide","full"],html:!1,__experimentalLayout:!0},editorStyle:"wp-block-post-content-editor"},{name:Wd}=Ud,$d={icon:Dd,edit:function({context:{postId:e,postType:t},attributes:n}){const{layout:o={}}=n,[r,a]=Object(de.__experimentalUseNoRecursiveRenders)(e);return e&&t&&r?Object(ge.createElement)(qd,null):Object(ge.createElement)(a,null,e&&t?Object(ge.createElement)(Fd,{postType:t,postId:e,layout:o}):Object(ge.createElement)(Gd,null))}};var Zd=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.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(ge.createElement)(he.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"}));const Qd={apiVersion:2,name:"core/post-date",title:"Post Date",category:"design",description:"Add the date of this post.",textdomain:"default",attributes:{textAlign:{type:"string"},format:{type:"string"},isLink:{type:"boolean",default:!1}},usesContext:["postId","postType"],supports:{html:!1,color:{gradients:!0,link:!0},typography:{fontSize:!0,lineHeight:!0}}},{name:Jd}=Qd,Yd={icon:Zd,edit:function({attributes:e,context:t,setAttributes:n}){const{textAlign:o,format:r,isLink:a}=e,{postId:c,postType:l}=t,[i]=Object(ue.useEntityProp)("root","site","date_format"),[s,u]=Object(ue.useEntityProp)("postType",l,"date",c),[d,m]=Object(ge.useState)(!1),b=Object(kc.__experimentalGetSettings)(),p=/a(?!\\)/i.test(b.formats.time.toLowerCase().replace(/\\\\/g,"").split("").reverse().join("")),g=Object.values(b.formats).map(e=>({key:e,name:Object(kc.dateI18n)(e,s)})),h=r||i||b.formats.date,v=Object(de.useBlockProps)({className:je()({["has-text-align-"+o]:o})});let O=s?Object(ge.createElement)("time",{dateTime:Object(kc.dateI18n)("c",s)},Object(kc.dateI18n)(h,s),d&&Object(ge.createElement)(Ee.Popover,{onClose:m.bind(null,!1)},Object(ge.createElement)(Ee.DateTimePicker,{currentDate:s,onChange:u,is12Hour:p}))):Object(pe.__)("No Date");return a&&s&&(O=Object(ge.createElement)("a",{href:"#post-date-pseudo-link",onClick:e=>e.preventDefault()},O)),Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.BlockControls,{group:"block"},Object(ge.createElement)(de.AlignmentControl,{value:o,onChange:e=>{n({textAlign:e})}}),s&&Object(ge.createElement)(Ee.ToolbarButton,{icon:Nn.a,title:Object(pe.__)("Change Date"),onClick:()=>m(e=>!e)})),Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Format settings")},Object(ge.createElement)(Ee.CustomSelectControl,{hideLabelFromVision:!0,label:Object(pe.__)("Date Format"),options:g,onChange:({selectedItem:e})=>n({format:e.key}),value:g.find(e=>e.key===h)})),Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Link settings")},Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.sprintf)(Object(pe.__)("Link to %s"),l),onChange:()=>n({isLink:!a}),checked:a}))),Object(ge.createElement)("div",v,O))}};var Kd=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.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 Xd={apiVersion:2,name:"core/post-excerpt",title:"Post Excerpt",category:"design",description:"Display a post's excerpt.",textdomain:"default",attributes:{textAlign:{type:"string"},wordCount:{type:"number",default:55},moreText:{type:"string"},showMoreOnNewLine:{type:"boolean",default:!0}},usesContext:["postId","postType"],supports:{html:!1,color:{gradients:!0,link:!0},typography:{fontSize:!0,lineHeight:!0}},editorStyle:"wp-block-post-excerpt-editor",style:"wp-block-post-excerpt"},{name:em}=Xd,tm={icon:Kd,edit:function({attributes:{textAlign:e,wordCount:t,moreText:n,showMoreOnNewLine:o},setAttributes:r,isSelected:a,context:{postId:c,postType:l}}){const[i,s]=Object(ue.useEntityProp)("postType",l,"excerpt",c),u=function(e,t,n){const[,,o]=Object(ue.useEntityProp)("postType",n,"content",t),r=null==o?void 0:o.raw;return Object(ge.useMemo)(()=>{if(!r)return"";const t=document.createElement("div");t.innerHTML=r;return(t.textContent||t.innerText||"").trim().split(" ",e).join(" ")},[r,e])}(t,c,l),d=Object(de.useBlockProps)({className:je()({["has-text-align-"+e]:e})});if(!l||!c)return Object(ge.createElement)("div",d,Object(ge.createElement)(de.Warning,null,Object(pe.__)("Post excerpt block: no post found.")));const m=Object(ge.createElement)(de.RichText,{className:"wp-block-post-excerpt__more-link",tagName:"a","aria-label":Object(pe.__)('"Read more" link text'),placeholder:Object(pe.__)('Add "read more" link text'),value:n,onChange:e=>r({moreText:e})});return Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.BlockControls,null,Object(ge.createElement)(de.AlignmentToolbar,{value:e,onChange:e=>r({textAlign:e})})),Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Post Excerpt Settings")},!i&&Object(ge.createElement)(Ee.RangeControl,{label:Object(pe.__)("Max words"),value:t,onChange:e=>r({wordCount:e}),min:10,max:100}),Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.__)("Show link on new line"),checked:o,onChange:e=>r({showMoreOnNewLine:e})}))),Object(ge.createElement)("div",d,Object(ge.createElement)(de.RichText,{className:!o&&"wp-block-post-excerpt__excerpt is-inline","aria-label":Object(pe.__)("Post excerpt text"),value:i||u||(a?"":Object(pe.__)("No post excerpt found")),onChange:s}),!o&&" ",o?Object(ge.createElement)("p",{className:"wp-block-post-excerpt__more-text"},m):m))}};var nm=Object(ge.createElement)(he.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(ge.createElement)(he.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 om=["image"],rm=Object(ge.createElement)("div",{className:"post-featured-image_placeholder"},Object(ge.createElement)(Ee.Icon,{icon:nm}),Object(ge.createElement)("p",null," ",Object(pe.__)("Featured Image")));const am=Object(Ee.withNotices)((function({attributes:{isLink:e},setAttributes:t,context:{postId:n,postType:o},noticeUI:r,noticeOperations:a}){const[c,l]=Object(ue.useEntityProp)("postType",o,"featured_media",n),i=Object(Le.useSelect)(e=>c&&e(ue.store).getMedia(c),[c]),s=e=>{null!=e&&e.id&&l(e.id)};function u(e){a.removeAllNotices(),a.createErrorNotice(e)}let d;return d=c?i?Object(ge.createElement)("img",{src:i.source_url,alt:i.alt_text||Object(pe.__)("Featured image")}):rm:Object(ge.createElement)(de.MediaPlaceholder,{icon:Object(ge.createElement)(de.BlockIcon,{icon:nm}),onSelect:s,notices:r,onError:u,accept:"image/*",allowedTypes:om,labels:{title:Object(pe.__)("Featured image"),instructions:Object(pe.__)("Upload a media file or pick one from your media library.")}}),Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.InspectorControls,null,Object(ge.createElement)(Ee.PanelBody,{title:Object(pe.__)("Link settings")},Object(ge.createElement)(Ee.ToggleControl,{label:Object(pe.sprintf)(Object(pe.__)("Link to %s"),o),onChange:()=>t({isLink:!e}),checked:e}))),Object(ge.createElement)(de.BlockControls,{group:"other"},!!i&&Object(ge.createElement)(de.MediaReplaceFlow,{mediaId:c,mediaURL:i.source_url,allowedTypes:om,accept:"image/*",onSelect:s,onError:u})),Object(ge.createElement)("figure",Object(de.useBlockProps)(),d))}));const cm={apiVersion:2,name:"core/post-featured-image",title:"Post Featured Image",category:"design",description:"Display a post's featured image.",textdomain:"default",attributes:{isLink:{type:"boolean",default:!1}},usesContext:["postId","postType"],supports:{align:["left","right","center","wide","full"],html:!1},editorStyle:"wp-block-post-featured-image-editor",style:"wp-block-post-featured-image"},{name:lm}=cm,im={icon:nm,edit:function(e){var t;const n=Object(de.useBlockProps)();return null!==(t=e.context)&&void 0!==t&&t.postId?Object(ge.createElement)(am,e):Object(ge.createElement)("div",n,rm)}};var sm=Object(ge.createElement)(he.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(ge.createElement)(he.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 um=[{name:"category",title:Object(pe.__)("Post Categories"),description:Object(pe.__)("Display a post's categories."),icon:sm,isDefault:!0,attributes:{term:"category"},isActive:e=>"category"===e.term},{name:"post_tag",title:Object(pe.__)("Post Tags"),description:Object(pe.__)("Display a post's tags."),icon:sm,attributes:{term:"post_tag"},isActive:e=>"post_tag"===e.term}];const dm={apiVersion:2,name:"core/post-terms",title:"Post Terms",category:"design",description:"Post terms.",textdomain:"default",attributes:{term:{type:"string"},textAlign:{type:"string"}},usesContext:["postId","postType"],supports:{html:!1,color:{gradients:!0,link:!0},typography:{lineHeight:!0,fontSize:!0}}},{name:mm}=dm,bm={variations:um,edit:function({attributes:e,context:t,setAttributes:n}){var o;const{term:r,textAlign:a}=e,{postId:c,postType:l}=t,i=Object(Le.useSelect)(e=>{if(!r)return{};const t=e(ue.store).getTaxonomies({per_page:-1});return Object(be.find)(t,e=>e.slug===r&&e.visibility.show_ui)||{}},[r]),{termLinks:s,isLoadingTermLinks:u}=function({postId:e,postType:t,term:n}){const{rest_base:o,slug:r}=n,[a]=Object(ue.useEntityProp)("postType",t,o,e),{termLinks:c,isLoadingTermLinks:l}=Object(Le.useSelect)(e=>{const{getEntityRecord:t}=e(ue.store);let n=!0;return{termLinks:Object(be.map)(a,e=>{const o=t("taxonomy",r,e);return o?Object(ge.createElement)("a",{key:e,href:o.link,onClick:e=>e.preventDefault()},o.name):n=!1}),isLoadingTermLinks:!n}},[a]);return{termLinks:c,isLoadingTermLinks:l}}({postId:c,postType:l,term:i}),d=c&&l,m=s&&s.length>0,b=Object(de.useBlockProps)({className:je()({["has-text-align-"+a]:a})});return d?r?Object(ge.createElement)(ge.Fragment,null,Object(ge.createElement)(de.BlockControls,null,Object(ge.createElement)(de.AlignmentToolbar,{value:a,onChange:e=>{n({textAlign:e})}})),Object(ge.createElement)("div",b,u&&Object(ge.createElement)(Ee.Spinner,null),m&&!u&&s.reduce((e,t)=>[e," | ",t]),!u&&!m&&((null==i||null===(o=i.labels)||void 0===o?void 0:o.no_terms)||Object(pe.__)("Term items not found.")))):Object(ge.createElement)("div",b,Object(pe.__)("Post Terms block: no term specified.")):Object(ge.createElement)("div",b,Object(ge.createElement)(de.Warning,null,Object(pe.__)("Post Terms block: post not found.")))}},pm=e=>{if(!e)return;const{metadata:t,settings:n,name:o}=e;Object(me.registerBlockType)({name:o,...t},n)},gm=()=>[o,r,a,l,C,c,L,i,s,u,d,m,b,p,g,h,v,O,j,V,window.wp&&window.wp.oldEditor?U:null,f,y,w,_,k,x,S,B,T,z,P,N,R,H,M,W,$,I,A,q,D,F,G,Z,Q,J,Y,K,X,ee,te,ne,oe,re,ae,ce,le,ie,se,E],hm=(e=gm())=>{e.forEach(pm),Object(me.setDefaultBlockName)(Pe),window.wp&&window.wp.oldEditor&&Object(me.setFreeformContentHandlerName)(cu),Object(me.setUnregisteredTypeHandlerName)(fl),Object(me.setGroupingBlockName)(ki)},vm=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},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:"M18.3 5.6L9.9 16.9l-4.6-3.4-.9 1.2 5.8 4.3 9.3-12.6z"}));t.a=a},RxS6:function(e,t){e.exports=window.wp.keycodes},TSYQ:function(e,t,n){var o; /*! Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see diff --git a/wp-includes/js/dist/blocks.js b/wp-includes/js/dist/blocks.js index 717806639b..b51e58d856 100644 --- a/wp-includes/js/dist/blocks.js +++ b/wp-includes/js/dist/blocks.js @@ -1361,23 +1361,23 @@ const __EXPERIMENTAL_STYLE_PROPERTY = { }, fontFamily: { value: ['typography', 'fontFamily'], - support: ['__experimentalFontFamily'] + support: ['typography', '__experimentalFontFamily'] }, fontSize: { value: ['typography', 'fontSize'], - support: ['fontSize'] + support: ['typography', 'fontSize'] }, fontStyle: { value: ['typography', 'fontStyle'], - support: ['__experimentalFontStyle'] + support: ['typography', '__experimentalFontStyle'] }, fontWeight: { value: ['typography', 'fontWeight'], - support: ['__experimentalFontWeight'] + support: ['typography', '__experimentalFontWeight'] }, lineHeight: { value: ['typography', 'lineHeight'], - support: ['lineHeight'] + support: ['typography', 'lineHeight'] }, margin: { value: ['spacing', 'margin'], @@ -1391,11 +1391,11 @@ const __EXPERIMENTAL_STYLE_PROPERTY = { }, textDecoration: { value: ['typography', 'textDecoration'], - support: ['__experimentalTextDecoration'] + support: ['typography', '__experimentalTextDecoration'] }, textTransform: { value: ['typography', 'textTransform'], - support: ['__experimentalTextTransform'] + support: ['typography', '__experimentalTextTransform'] } }; const __EXPERIMENTAL_ELEMENTS = { @@ -2475,19 +2475,14 @@ function switchToBlockType(blocks, name) { return null; } - const firstSwitchedBlock = Object(external_lodash_["findIndex"])(transformationResults, result => result.name === name); // Ensure that at least one block object returned by the transformation has + 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 (firstSwitchedBlock < 0) { + if (!hasSwitchedBlock) { return null; } - return transformationResults.map((result, index) => { - const transformedBlock = { ...result, - // The first transformed block whose type matches the "destination" - // type gets to keep the existing client ID of the first block. - clientId: index === firstSwitchedBlock ? firstBlock.clientId : result.clientId - }; + const ret = transformationResults.map(result => { /** * Filters an individual transform result from block transformation. * All of the original blocks are passed, since transformations are @@ -2496,9 +2491,9 @@ function switchToBlockType(blocks, name) { * @param {Object} transformedBlock The transformed block. * @param {Object[]} blocks Original blocks transformed. */ - - return Object(external_wp_hooks_["applyFilters"])('blocks.switchToBlockType.transformedBlock', transformedBlock, blocks); + return Object(external_wp_hooks_["applyFilters"])('blocks.switchToBlockType.transformedBlock', result, blocks); }); + return ret; } /** * Create a block object from the example API. diff --git a/wp-includes/js/dist/blocks.min.js b/wp-includes/js/dist/blocks.min.js index 07e80c15b2..1cbea8fdfa 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")}({"//Lo":function(e,t,r){"use strict";var n=r("GRId"),a=r("Tqx9");const i=Object(n.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(n.createElement)(a.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},"0ATp":function(e,t,r){"use strict";r.r(t),r.d(t,"store",(function(){return Y})),r.d(t,"createBlock",(function(){return We})),r.d(t,"createBlocksFromInnerBlocksTemplate",(function(){return Ye})),r.d(t,"cloneBlock",(function(){return Ze})),r.d(t,"__experimentalCloneSanitizedBlock",(function(){return Qe})),r.d(t,"getPossibleBlockTransformations",(function(){return tt})),r.d(t,"switchToBlockType",(function(){return at})),r.d(t,"getBlockTransforms",(function(){return nt})),r.d(t,"findTransform",(function(){return rt})),r.d(t,"getBlockFromExample",(function(){return it})),r.d(t,"parse",(function(){return Br})),r.d(t,"getBlockAttributes",(function(){return Or})),r.d(t,"parseWithAttributeSchema",(function(){return jr})),r.d(t,"pasteHandler",(function(){return fn})),r.d(t,"rawHandler",(function(){return mn})),r.d(t,"getPhrasingContentSchema",(function(){return gn})),r.d(t,"serialize",(function(){return $t})),r.d(t,"getBlockContent",(function(){return Ht})),r.d(t,"getBlockDefaultClassName",(function(){return Nt})),r.d(t,"getBlockMenuDefaultClassName",(function(){return Lt})),r.d(t,"getSaveElement",(function(){return Dt})),r.d(t,"getSaveContent",(function(){return It})),r.d(t,"__unstableGetBlockProps",(function(){return zt})),r.d(t,"__unstableSerializeAndClean",(function(){return Ft})),r.d(t,"isValidBlockContent",(function(){return pr})),r.d(t,"getCategories",(function(){return bn})),r.d(t,"setCategories",(function(){return _n})),r.d(t,"updateCategory",(function(){return kn})),r.d(t,"registerBlockType",(function(){return ve})),r.d(t,"registerBlockTypeFromMetadata",(function(){return je})),r.d(t,"registerBlockCollection",(function(){return Te})),r.d(t,"unregisterBlockType",(function(){return Oe})),r.d(t,"setFreeformContentHandlerName",(function(){return xe})),r.d(t,"getFreeformContentHandlerName",(function(){return Ce})),r.d(t,"setUnregisteredTypeHandlerName",(function(){return Ae})),r.d(t,"getUnregisteredTypeHandlerName",(function(){return Ee})),r.d(t,"setDefaultBlockName",(function(){return Be})),r.d(t,"getDefaultBlockName",(function(){return Ne})),r.d(t,"setGroupingBlockName",(function(){return Pe})),r.d(t,"getGroupingBlockName",(function(){return Se})),r.d(t,"getBlockType",(function(){return Le})),r.d(t,"getBlockTypes",(function(){return Me})),r.d(t,"getBlockSupport",(function(){return ze})),r.d(t,"hasBlockSupport",(function(){return De})),r.d(t,"getBlockVariations",(function(){return Ue})),r.d(t,"isReusableBlock",(function(){return Ie})),r.d(t,"isTemplatePart",(function(){return He})),r.d(t,"getChildBlockNames",(function(){return Ve})),r.d(t,"hasChildBlocks",(function(){return Re})),r.d(t,"hasChildBlocksWithInserterSupport",(function(){return Fe})),r.d(t,"unstable__bootstrapServerSideBlockDefinitions",(function(){return we})),r.d(t,"registerBlockStyle",(function(){return $e})),r.d(t,"unregisterBlockStyle",(function(){return qe})),r.d(t,"registerBlockVariation",(function(){return Ge})),r.d(t,"unregisterBlockVariation",(function(){return Ke})),r.d(t,"isUnmodifiedDefaultBlock",(function(){return oe})),r.d(t,"normalizeIconObject",(function(){return ce})),r.d(t,"isValidIcon",(function(){return se})),r.d(t,"__experimentalGetBlockLabel",(function(){return ue})),r.d(t,"__experimentalGetAccessibleBlockLabel",(function(){return de})),r.d(t,"__experimentalSanitizeBlockAttributes",(function(){return pe})),r.d(t,"__experimentalGetBlockAttributesNamesByRole",(function(){return he})),r.d(t,"doBlocksMatchTemplate",(function(){return wn})),r.d(t,"synchronizeBlocksWithTemplate",(function(){return yn})),r.d(t,"children",(function(){return wr})),r.d(t,"node",(function(){return mr})),r.d(t,"__EXPERIMENTAL_STYLE_PROPERTY",(function(){return ge})),r.d(t,"__EXPERIMENTAL_ELEMENTS",(function(){return me})),r.d(t,"withBlockContentContext",(function(){return Bt}));var n={};r.r(n),r.d(n,"getBlockTypes",(function(){return b})),r.d(n,"getBlockType",(function(){return _})),r.d(n,"getBlockStyles",(function(){return k})),r.d(n,"getBlockVariations",(function(){return w})),r.d(n,"getActiveBlockVariation",(function(){return y})),r.d(n,"getDefaultBlockVariation",(function(){return v})),r.d(n,"getCategories",(function(){return j})),r.d(n,"getCollections",(function(){return T})),r.d(n,"getDefaultBlockName",(function(){return O})),r.d(n,"getFreeformFallbackBlockName",(function(){return x})),r.d(n,"getUnregisteredFallbackBlockName",(function(){return C})),r.d(n,"getGroupingBlockName",(function(){return S})),r.d(n,"getChildBlockNames",(function(){return A})),r.d(n,"getBlockSupport",(function(){return E})),r.d(n,"hasBlockSupport",(function(){return B})),r.d(n,"isMatchingSearchTerm",(function(){return P})),r.d(n,"hasChildBlocks",(function(){return N})),r.d(n,"hasChildBlocksWithInserterSupport",(function(){return L}));var a={};r.r(a),r.d(a,"addBlockTypes",(function(){return M})),r.d(a,"removeBlockTypes",(function(){return z})),r.d(a,"addBlockStyles",(function(){return D})),r.d(a,"removeBlockStyles",(function(){return I})),r.d(a,"addBlockVariations",(function(){return H})),r.d(a,"removeBlockVariations",(function(){return V})),r.d(a,"setDefaultBlockName",(function(){return R})),r.d(a,"setFreeformFallbackBlockName",(function(){return F})),r.d(a,"setUnregisteredFallbackBlockName",(function(){return $})),r.d(a,"setGroupingBlockName",(function(){return q})),r.d(a,"setCategories",(function(){return U})),r.d(a,"updateCategory",(function(){return G})),r.d(a,"addBlockCollection",(function(){return K})),r.d(a,"removeBlockCollection",(function(){return W}));var i=r("1ZqX"),o=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(t=null,r)=>{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(i.combineReducers)({blockTypes:function(e={},t){switch(t.type){case"ADD_BLOCK_TYPES":return{...e,...Object(o.keyBy)(Object(o.map)(t.blockTypes,e=>Object(o.omit)(e,"styles ")),"name")};case"REMOVE_BLOCK_TYPES":return Object(o.omit)(e,t.names)}return e},blockStyles:function(e={},t){switch(t.type){case"ADD_BLOCK_TYPES":return{...e,...Object(o.mapValues)(Object(o.keyBy)(t.blockTypes,"name"),t=>Object(o.uniqBy)([...Object(o.get)(t,["styles"],[]),...Object(o.get)(e,[t.name],[])],e=>e.name))};case"ADD_BLOCK_STYLES":return{...e,[t.blockName]:Object(o.uniqBy)([...Object(o.get)(e,[t.blockName],[]),...t.styles],e=>e.name)};case"REMOVE_BLOCK_STYLES":return{...e,[t.blockName]:Object(o.filter)(Object(o.get)(e,[t.blockName],[]),e=>-1===t.styleNames.indexOf(e.name))}}return e},blockVariations:function(e={},t){switch(t.type){case"ADD_BLOCK_TYPES":return{...e,...Object(o.mapValues)(Object(o.keyBy)(t.blockTypes,"name"),t=>Object(o.uniqBy)([...Object(o.get)(t,["variations"],[]),...Object(o.get)(e,[t.name],[])],e=>e.name))};case"ADD_BLOCK_VARIATIONS":return{...e,[t.blockName]:Object(o.uniqBy)([...Object(o.get)(e,[t.blockName],[]),...t.variations],e=>e.name)};case"REMOVE_BLOCK_VARIATIONS":return{...e,[t.blockName]:Object(o.filter)(Object(o.get)(e,[t.blockName],[]),e=>-1===t.variationNames.indexOf(e.name))}}return e},defaultBlockName:u,freeformFallbackBlockName:d,unregisteredFallbackBlockName:p,groupingBlockName:h,categories:function(e=c,t){switch(t.type){case"SET_CATEGORIES":return t.categories||[];case"UPDATE_CATEGORY":if(!t.category||Object(o.isEmpty)(t.category))return e;if(Object(o.find)(e,["slug",t.slug]))return Object(o.map)(e,e=>e.slug===t.slug?{...e,...t.category}:e)}return e},collections:function(e={},t){switch(t.type){case"ADD_BLOCK_COLLECTION":return{...e,[t.namespace]:{title:t.title,icon:t.icon}};case"REMOVE_BLOCK_COLLECTION":return Object(o.omit)(e,t.namespace)}return e}}),g=r("pPDe");const m=(e,t)=>"string"==typeof t?_(e,t):t,b=Object(g.a)(e=>Object.values(e.blockTypes).map(t=>({...t,variations:w(e,t.name)})),e=>[e.blockTypes,e.blockVariations]);function _(e,t){return e.blockTypes[t]}function k(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 y(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=_(e,t),i=Object.keys(a.attributes||{}),o=n.isActive.filter(e=>i.includes(e));return 0!==o.length&&o.every(e=>r[e]===n.attributes[e])}return null===(a=n.isActive)||void 0===a?void 0:a.call(n,r,n.attributes)})}function v(e,t,r){const n=w(e,t,r);return Object(o.findLast)(n,"isDefault")||Object(o.first)(n)}function j(e){return e.categories}function T(e){return e.collections}function O(e){return e.defaultBlockName}function x(e){return e.freeformFallbackBlockName}function C(e){return e.unregisteredFallbackBlockName}function S(e){return e.groupingBlockName}const A=Object(g.a)((e,t)=>Object(o.map)(Object(o.filter)(e.blockTypes,e=>Object(o.includes)(e.parent,t)),({name:e})=>e),e=>[e.blockTypes]),E=(e,t,r,n)=>{const a=m(e,t);return Object(o.get)(a,["supports",...r.split(".")],n)};function B(e,t,r,n){return!!E(e,t,r,n)}function P(e,t,r){const n=m(e,t),a=Object(o.flow)([o.deburr,e=>e.toLowerCase(),e=>e.trim()]),i=a(r),s=Object(o.flow)([a,e=>Object(o.includes)(e,i)]);return s(n.title)||Object(o.some)(n.keywords,s)||s(n.category)}const N=(e,t)=>A(e,t).length>0,L=(e,t)=>Object(o.some)(A(e,t),t=>B(e,t,"inserter",!0));function M(e){return{type:"ADD_BLOCK_TYPES",blockTypes:Object(o.castArray)(e)}}function z(e){return{type:"REMOVE_BLOCK_TYPES",names:Object(o.castArray)(e)}}function D(e,t){return{type:"ADD_BLOCK_STYLES",styles:Object(o.castArray)(t),blockName:e}}function I(e,t){return{type:"REMOVE_BLOCK_STYLES",styleNames:Object(o.castArray)(t),blockName:e}}function H(e,t){return{type:"ADD_BLOCK_VARIATIONS",variations:Object(o.castArray)(t),blockName:e}}function V(e,t){return{type:"REMOVE_BLOCK_VARIATIONS",variationNames:Object(o.castArray)(t),blockName:e}}function R(e){return{type:"SET_DEFAULT_BLOCK_NAME",name:e}}function F(e){return{type:"SET_FREEFORM_FALLBACK_BLOCK_NAME",name:e}}function $(e){return{type:"SET_UNREGISTERED_FALLBACK_BLOCK_NAME",name:e}}function q(e){return{type:"SET_GROUPING_BLOCK_NAME",name:e}}function U(e){return{type:"SET_CATEGORIES",categories:e}}function G(e,t){return{type:"UPDATE_CATEGORY",slug:e,category:t}}function K(e,t,r){return{type:"ADD_BLOCK_COLLECTION",namespace:e,title:t,icon:r}}function W(e){return{type:"REMOVE_BLOCK_COLLECTION",namespace:e}}const Y=Object(i.createReduxStore)("core/blocks",{reducer:f,selectors:n,actions:a});Object(i.register)(Y);var Q=r("7Cbv"),Z=r("g56x"),X=r("NMb1"),J=r.n(X),ee=r("//Lo"),te=r("Zss7"),re=r.n(te),ne=r("GRId"),ae=r("1CF3");const ie=["#191e23","#f8f9f9"];function oe(e){const t=Ne();if(e.name!==t)return!1;oe.block&&oe.block.name===t||(oe.block=We(t));const r=oe.block,n=Le(t);return Object(o.every)(n.attributes,(t,n)=>r.attributes[n]===e.attributes[n])}function se(e){return!!e&&(Object(o.isString)(e)||Object(ne.isValidElement)(e)||Object(o.isFunction)(e)||e instanceof ne.Component)}function ce(e){if(se(e))return{src:e};if(Object(o.has)(e,["background"])){const t=re()(e.background);return{...e,foreground:e.foreground?e.foreground:Object(te.mostReadable)(t,ie,{includeFallbackColors:!0,level:"AA",size:"large"}).toHexString(),shadowColor:t.setAlpha(.3).toRgbString()}}return e}function le(e){return Object(o.isString)(e)?Le(e):e}function ue(e,t,r="visual"){const{__experimentalLabel:n,title:a}=e,i=n&&n(t,{context:r});return i?Object(ae.__unstableStripHTML)(i):a}function de(e,t,r,n="vertical"){const{title:a}=e,i=ue(e,t,"accessibility"),o=void 0!==r,c=i&&i!==a;return o&&"vertical"===n?c?Object(s.sprintf)(Object(s.__)("%1$s Block. Row %2$d. %3$s"),a,r,i):Object(s.sprintf)(Object(s.__)("%1$s Block. Row %2$d"),a,r):o&&"horizontal"===n?c?Object(s.sprintf)(Object(s.__)("%1$s Block. Column %2$d. %3$s"),a,r,i):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,i):Object(s.sprintf)(Object(s.__)("%s Block"),a)}function pe(e,t){const r=Le(e);if(void 0===r)throw new Error(`Block type '${e}' is not registered.`);return Object(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 he(e,t){var r;const n=null===(r=Le(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 fe=["attributes","supports","save","migrate","isEligible","apiVersion"],ge={"--wp--style--color--link":{value:["color","link"],support:["color","link"]},background:{value:["color","gradient"],support:["color","gradients"]},backgroundColor:{value:["color","background"],support:["color"]},borderColor:{value:["border","color"],support:["__experimentalBorder","color"]},borderRadius:{value:["border","radius"],support:["__experimentalBorder","radius"]},borderStyle:{value:["border","style"],support:["__experimentalBorder","style"]},borderWidth:{value:["border","width"],support:["__experimentalBorder","width"]},color:{value:["color","text"],support:["color"]},linkColor:{value:["elements","link","color","text"],support:["color","link"]},fontFamily:{value:["typography","fontFamily"],support:["__experimentalFontFamily"]},fontSize:{value:["typography","fontSize"],support:["fontSize"]},fontStyle:{value:["typography","fontStyle"],support:["__experimentalFontStyle"]},fontWeight:{value:["typography","fontWeight"],support:["__experimentalFontWeight"]},lineHeight:{value:["typography","lineHeight"],support:["lineHeight"]},margin:{value:["spacing","margin"],support:["spacing","margin"],properties:["top","right","bottom","left"]},padding:{value:["spacing","padding"],support:["spacing","padding"],properties:["top","right","bottom","left"]},textDecoration:{value:["typography","textDecoration"],support:["__experimentalTextDecoration"]},textTransform:{value:["typography","textTransform"],support:["__experimentalTextTransform"]}},me={link:"a",h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6"},be={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"]}]},_e={common:"text",formatting:"text",layout:"design"},ke={};function we(e){for(const t of Object.keys(e))ke[t]?void 0===ke[t].apiVersion&&e[t].apiVersion&&(ke[t].apiVersion=e[t].apiVersion):ke[t]=Object(o.mapKeys)(Object(o.pickBy)(e[t],e=>!Object(o.isNil)(e)),(e,t)=>Object(o.camelCase)(t))}function ye({textdomain:e,...t}){const r=Object(o.pick)(t,["apiVersion","title","category","parent","icon","description","keywords","attributes","providesContext","usesContext","supports","styles","example","variations"]);return e&&Object.keys(be).forEach(t=>{r[t]&&(r[t]=function e(t,r,n){if(Object(o.isString)(t)&&Object(o.isString)(r))return Object(s._x)(r,t,n);if(Object(o.isArray)(t)&&!Object(o.isEmpty)(t)&&Object(o.isArray)(r))return r.map(r=>e(t[0],r,n));if(Object(o.isObject)(t)&&!Object(o.isEmpty)(t)&&Object(o.isObject)(r))return Object.keys(r).reduce((a,i)=>t[i]?(a[i]=e(t[i],r[i],n),a):(a[i]=r[i],a),{});return r}(be[t],r[t],e))}),r}function ve(e,t){const r=Object(o.isObject)(e)?e.name:e;if("string"!=typeof r)return void console.error("Block names must be strings.");if(Object(o.isObject)(e)&&we({[r]:ye(e)}),t={name:r,icon:ee.a,keywords:[],attributes:{},providesContext:{},usesContext:[],supports:{},styles:[],save:()=>null,...null==ke?void 0:ke[r],...t},!/^[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(i.select)(Y).getBlockType(r))return void console.error('Block "'+r+'" is already registered.');const n={...t};if((t=Object(Z.applyFilters)("blocks.registerBlockType",t,r)).deprecated&&(t.deprecated=t.deprecated.map(e=>Object(o.pick)(Object(Z.applyFilters)("blocks.registerBlockType",{...Object(o.omit)(n,fe),...e},r),fe))),Object(o.isPlainObject)(t))if(Object(o.isFunction)(t.save))if(!("edit"in t)||Object(o.isFunction)(t.edit))if(_e.hasOwnProperty(t.category)&&(t.category=_e[t.category]),"category"in t&&!Object(o.some)(Object(i.select)(Y).getCategories(),{slug:t.category})&&(console.warn('The block "'+r+'" is registered with an invalid category "'+t.category+'".'),delete t.category),"title"in t&&""!==t.title)if("string"==typeof t.title){if(t.icon=ce(t.icon),se(t.icon.src))return Object(i.dispatch)(Y).addBlockTypes(t),t;console.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")}else console.error("Block titles must be strings.");else console.error('The block "'+r+'" must have a title.');else console.error('The "edit" property must be a valid function.');else console.error('The "save" property must be a valid function.');else console.error("Block settings must be a valid object.")}function je(e,t){return J()("wp.blocks.registerBlockTypeFromMetadata",{since:"10.7",plugin:"Gutenberg",alternative:"wp.blocks.registerBlockType",version:"11.0"}),ve(e,t)}function Te(e,{title:t,icon:r}){Object(i.dispatch)(Y).addBlockCollection(e,t,r)}function Oe(e){const t=Object(i.select)(Y).getBlockType(e);if(t)return Object(i.dispatch)(Y).removeBlockTypes(e),t;console.error('Block "'+e+'" is not registered.')}function xe(e){Object(i.dispatch)(Y).setFreeformFallbackBlockName(e)}function Ce(){return Object(i.select)(Y).getFreeformFallbackBlockName()}function Se(){return Object(i.select)(Y).getGroupingBlockName()}function Ae(e){Object(i.dispatch)(Y).setUnregisteredFallbackBlockName(e)}function Ee(){return Object(i.select)(Y).getUnregisteredFallbackBlockName()}function Be(e){Object(i.dispatch)(Y).setDefaultBlockName(e)}function Pe(e){Object(i.dispatch)(Y).setGroupingBlockName(e)}function Ne(){return Object(i.select)(Y).getDefaultBlockName()}function Le(e){return Object(i.select)(Y).getBlockType(e)}function Me(){return Object(i.select)(Y).getBlockTypes()}function ze(e,t,r){return Object(i.select)(Y).getBlockSupport(e,t,r)}function De(e,t,r){return Object(i.select)(Y).hasBlockSupport(e,t,r)}function Ie(e){return"core/block"===e.name}function He(e){return"core/template-part"===e.name}const Ve=e=>Object(i.select)(Y).getChildBlockNames(e),Re=e=>Object(i.select)(Y).hasChildBlocks(e),Fe=e=>Object(i.select)(Y).hasChildBlocksWithInserterSupport(e),$e=(e,t)=>{Object(i.dispatch)(Y).addBlockStyles(e,t)},qe=(e,t)=>{Object(i.dispatch)(Y).removeBlockStyles(e,t)},Ue=(e,t)=>Object(i.select)(Y).getBlockVariations(e,t),Ge=(e,t)=>{Object(i.dispatch)(Y).addBlockVariations(e,t)},Ke=(e,t)=>{Object(i.dispatch)(Y).removeBlockVariations(e,t)};function We(e,t={},r=[]){const n=pe(e,t);return{clientId:Object(Q.a)(),name:e,isValid:!0,attributes:n,innerBlocks:r}}function Ye(e=[]){return e.map(e=>{const t=Array.isArray(e)?e:[e.name,e.attributes,e.innerBlocks],[r,n,a=[]]=t;return We(r,n,Ye(a))})}function Qe(e,t={},r){const n=Object(Q.a)(),a=pe(e.name,{...e.attributes,...t});return{...e,clientId:n,attributes:a,innerBlocks:r||e.innerBlocks.map(e=>Qe(e))}}function Ze(e,t={},r){const n=Object(Q.a)();return{...e,clientId:n,attributes:{...e.attributes,...t},innerBlocks:r||e.innerBlocks.map(e=>Ze(e))}}const Xe=(e,t,r)=>{if(Object(o.isEmpty)(r))return!1;const n=r.length>1,a=Object(o.first)(r).name;if(!(Je(e)||!n||e.isMultiBlock))return!1;if(!Je(e)&&!Object(o.every)(r,{name:a}))return!1;if(!("block"===e.type))return!1;const i=Object(o.first)(r);if(!("from"!==t||-1!==e.blocks.indexOf(i.name)||Je(e)))return!1;if(!n&&et(i.name)&&et(e.blockName))return!1;if(Object(o.isFunction)(e.isMatch)){const t=e.isMultiBlock?r.map(e=>e.attributes):i.attributes;if(!e.isMatch(t))return!1}return!(e.usingMobileTransformations&&Je(e)&&!et(i.name))},Je=e=>e&&"block"===e.type&&Array.isArray(e.blocks)&&e.blocks.includes("*"),et=e=>e===Se();function tt(e){if(Object(o.isEmpty)(e))return[];const t=(e=>{if(Object(o.isEmpty)(e))return[];const t=Me();return Object(o.filter)(t,t=>!!rt(nt("from",t.name),t=>Xe(t,"from",e)))})(e),r=(e=>{if(Object(o.isEmpty)(e))return[];const t=nt("to",Le(Object(o.first)(e).name).name),r=Object(o.filter)(t,t=>t&&Xe(t,"to",e));return Object(o.flatMap)(r,e=>e.blocks).map(e=>Le(e))})(e);return Object(o.uniq)([...t,...r])}function rt(e,t){const r=Object(Z.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 nt(e,t){if(void 0===t)return Object(o.flatMap)(Me(),({name:t})=>nt(e,t));const r=le(t),{name:n,transforms:a}=r||{};if(!a||!Array.isArray(a[e]))return[];const i=a.supportedMobileTransforms&&Array.isArray(a.supportedMobileTransforms);return(i?Object(o.filter)(a[e],e=>"raw"===e.type||!(!e.blocks||!e.blocks.length)&&(!!Je(e)||Object(o.every)(e.blocks,e=>a.supportedMobileTransforms.includes(e)))):a[e]).map(e=>({...e,blockName:n,usingMobileTransformations:i}))}function at(e,t){const r=Object(o.castArray)(e),n=r.length>1,a=r[0],i=a.name,s=nt("from",t),c=rt(nt("to",i),e=>"block"===e.type&&(Je(e)||-1!==e.blocks.indexOf(t))&&(!n||e.isMultiBlock))||rt(s,e=>"block"===e.type&&(Je(e)||-1!==e.blocks.indexOf(i))&&(!n||e.isMultiBlock));if(!c)return null;let l;if(l=c.isMultiBlock?Object(o.has)(c,"__experimentalConvert")?c.__experimentalConvert(r):c.transform(r.map(e=>e.attributes),r.map(e=>e.innerBlocks)):Object(o.has)(c,"__experimentalConvert")?c.__experimentalConvert(a):c.transform(a.attributes,a.innerBlocks),!Object(o.isObjectLike)(l))return null;if(l=Object(o.castArray)(l),l.some(e=>!Le(e.name)))return null;const u=Object(o.findIndex)(l,e=>e.name===t);return u<0?null:l.map((t,r)=>{const n={...t,clientId:r===u?a.clientId:t.clientId};return Object(Z.applyFilters)("blocks.switchToBlockType.transformedBlock",n,e)})}const it=(e,t)=>We(e,t.attributes,Object(o.map)(t.innerBlocks,e=>it(e.name,e)));function ot(e,t){for(var r,n=t.split(".");r=n.shift();){if(!(r in e))return;e=e[r]}return e}var st,ct=function(){return st||(st=document.implementation.createHTMLDocument("")),st};function lt(e,t){if(t){if("string"==typeof e){var r=ct();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]=lt(e,t[n]),r}),{})}}function ut(e,t){return 1===arguments.length&&(t=e,e=void 0),function(r){var n=r;if(e&&(n=r.querySelector(e)),n)return ot(n,t)}}var dt=r("UuzZ"),pt=r("ouCq"),ht=/^#[xX]([A-Fa-f0-9]+)$/,ft=/^#([0-9]+)$/,gt=/^([A-Za-z0-9]+)$/,mt=(function(){function e(e){this.named=e}e.prototype.parse=function(e){if(e){var t=e.match(ht);return t?String.fromCharCode(parseInt(t[1],16)):(t=e.match(ft))?String.fromCharCode(parseInt(t[1],10)):(t=e.match(gt))?this.named[t[1]]:void 0}}}(),/[\t\n\f ]/),bt=/[A-Za-z]/,_t=/\r\n?/g;function kt(e){return mt.test(e)}function wt(e){return bt.test(e)}var yt=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||wt(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(){kt(this.consume())&&this.transitionTo("beforeDoctypeName")},beforeDoctypeName:function(){var e=this.consume();kt(e)||(this.transitionTo("doctypeName"),this.delegate.appendToDoctypeName&&this.delegate.appendToDoctypeName(e.toLowerCase()))},doctypeName:function(){var e=this.consume();kt(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(!kt(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();kt(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();kt(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();kt(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();kt(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();kt(e)?this.transitionTo("beforeAttributeName"):"/"===e?this.transitionTo("selfClosingStartTag"):">"===e?(this.delegate.finishTag(),this.transitionTo("beforeData")):this.appendToTagName(e)},endTagName:function(){var e=this.consume();kt(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();kt(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();kt(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();kt(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();kt(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();kt(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();kt(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||wt(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(_t,"\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}(),vt=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 yt(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 jt=r("rmEH");function Tt(){function e(e){return(t,...r)=>e("Block validation: "+t,...r)}return{error:e(console.error),warning:e(console.warn),getItems:()=>[]}}var Ot=r("rl8x"),xt=r.n(Ot),Ct=r("wx14"),St=r("K9lf");const{Consumer:At,Provider:Et}=Object(ne.createContext)(()=>{}),Bt=Object(St.createHigherOrderComponent)(e=>t=>Object(ne.createElement)(At,null,r=>Object(ne.createElement)(e,Object(Ct.a)({},t,{BlockContent:r}))),"withBlockContentContext");var Pt=({children:e,innerBlocks:t})=>Object(ne.createElement)(Et,{value:()=>{const e=$t(t,{isInnerBlocks:!0});return Object(ne.createElement)(ne.RawHTML,null,e)}},e);function Nt(e){const t="wp-block-"+e.replace(/\//,"-").replace(/^core-/,"");return Object(Z.applyFilters)("blocks.getBlockDefaultClassName",t,e)}function Lt(e){const t="editor-block-list-item-"+e.replace(/\//,"-").replace(/^core-/,"");return Object(Z.applyFilters)("blocks.getBlockMenuDefaultClassName",t,e)}const Mt={};function zt(e={}){const{blockType:t,attributes:r}=Mt;return Object(Z.applyFilters)("blocks.getSaveContent.extraProps",{...e},t,r)}function Dt(e,t,r=[]){const n=le(e);let{save:a}=n;if(a.prototype instanceof ne.Component){const e=new a({attributes:t});a=e.render.bind(e)}Mt.blockType=n,Mt.attributes=t;let i=a({attributes:t,innerBlocks:r});const s=n.apiVersion>1||De(n,"lightBlockWrapper",!1);if(Object(o.isObject)(i)&&Object(Z.hasFilter)("blocks.getSaveContent.extraProps")&&!s){const e=Object(Z.applyFilters)("blocks.getSaveContent.extraProps",{...i.props},n,t);xt()(e,i.props)||(i=Object(ne.cloneElement)(i,e))}return i=Object(Z.applyFilters)("blocks.getSaveElement",i,n,t),Object(ne.createElement)(Pt,{innerBlocks:r},i)}function It(e,t,r){const n=le(e);return Object(ne.renderToString)(Dt(n,t,r))}function Ht(e){let t=e.originalContent;if(e.isValid||e.innerBlocks.length)try{t=It(e.name,e.attributes,e.innerBlocks)}catch(e){}return t}function Vt(e,t,r){const n=Object(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=Object(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 Rt(e,{isInnerBlocks:t=!1}={}){const r=e.name,n=Ht(e);if(r===Ee()||!t&&r===Ce())return n;return Vt(r,function(e,t){return Object(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},{})}(Le(r),e.attributes),n)}function Ft(e){1===e.length&&oe(e[0])&&(e=[]);let t=$t(e);return 1===e.length&&e[0].name===Ce()&&(t=Object(dt.removep)(t)),t}function $t(e,t){return Object(o.castArray)(e).map(e=>Rt(e,t)).join("\n\n")}const qt=/[\t\n\r\v\f ]+/g,Ut=/^[\t\n\r\v\f ]*$/,Gt=/^url\s*\(['"\s]*(.*?)['"\s]*\)$/,Kt=["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"],Wt=[...Kt,"autocapitalize","autocomplete","charset","contenteditable","crossorigin","decoding","dir","draggable","enctype","formenctype","formmethod","http-equiv","inputmode","kind","method","preload","scope","shape","spellcheck","translate","type","wrap"],Yt=[o.identity,function(e){return er(e).join(" ")}],Qt=/^[\da-z]+$/i,Zt=/^#\d+$/,Xt=/^#x[\da-f]+$/i;class Jt{parse(e){if(t=e,Qt.test(t)||Zt.test(t)||Xt.test(t))return Object(jt.decodeEntities)("&"+e+";");var t}}function er(e){return e.trim().split(qt)}function tr(e){return e.attributes.filter(e=>{const[t,r]=e;return r||0===t.indexOf("data-")||Object(o.includes)(Wt,t)})}function rr(e,t,r=Tt()){let n=e.chars,a=t.chars;for(let e=0;e<Yt.length;e++){const t=Yt[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 nr(e){return 0===parseFloat(e)?"0":e}function ar(e){return er(e).map(nr).join(" ").replace(Gt,"url($1)")}function ir(e){const t=e.replace(/;?\s*$/,"").split(";").map(e=>{const[t,...r]=e.split(":"),n=r.join(":");return[t.trim(),ar(n.trim())]});return Object(o.fromPairs)(t)}const or={class:(e,t)=>!Object(o.xor)(...[e,t].map(er)).length,style:(e,t)=>Object(o.isEqual)(...[e,t].map(ir)),...Object(o.fromPairs)(Kt.map(e=>[e,o.stubTrue]))};const sr={StartTag:(e,t,r=Tt())=>e.tagName!==t.tagName&&e.tagName.toLowerCase()!==t.tagName.toLowerCase()?(r.warning("Expected tag name `%s`, instead saw `%s`.",t.tagName,e.tagName),!1):function(e,t,r=Tt()){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,i]=e[t],o=a.toLowerCase();if(!n.hasOwnProperty(o))return r.warning("Encountered unexpected attribute `%s`.",a),!1;const s=n[o],c=or[o];if(c){if(!c(i,s))return r.warning("Expected attribute `%s` of value `%s`, saw `%s`.",a,s,i),!1}else if(i!==s)return r.warning("Expected attribute `%s` of value `%s`, saw `%s`.",a,s,i),!1}return!0}(...[e,t].map(tr),r),Chars:rr,Comment:rr};function cr(e){let t;for(;t=e.shift();){if("Chars"!==t.type)return t;if(!Ut.test(t.chars))return t}}function lr(e,t){return!!e.selfClosing&&!(!t||t.tagName!==e.tagName||"EndTag"!==t.type)}function ur(e,t,r=Tt()){if(e===t)return!0;const[n,a]=[e,t].map(e=>function(e,t=Tt()){try{return new vt(new Jt).tokenize(e)}catch(r){t.warning("Malformed HTML detected: %s",e)}return null}(e,r));if(!n||!a)return!1;let i,o;for(;i=cr(n);){if(o=cr(a),!o)return r.warning("Expected end of content, instead saw %o.",i),!1;if(i.type!==o.type)return r.warning("Expected token of type `%s` (%o), instead saw `%s` (%o).",o.type,o,i.type,i),!1;const e=sr[i.type];if(e&&!e(i,o,r))return!1;lr(i,a[0])?cr(a):lr(o,n[0])&&cr(n)}return!(o=cr(a))||(r.warning("Expected %o, instead saw end of content.",o),!1)}function dr(e,t,r,n=function(){const e=[],t=Tt();return{error(...r){e.push({log:t.error,args:r})},warning(...r){e.push({log:t.warning,args:r})},getItems:()=>e}}()){const a=le(e);let i;try{i=It(a,t)}catch(e){return n.error("Block validation failed because an error occurred while generating block content:\n\n%s",e.toString()),{isValid:!1,validationIssues:n.getItems()}}const o=ur(r,i,n);return o||n.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",a.name,a,i,r),{isValid:o,validationIssues:n.getItems()}}function pr(e,t,r){const{isValid:n}=dr(e,t,r,Tt());return n}function hr(e){const t={};for(let r=0;r<e.length;r++){const{name:n,value:a}=e[r];t[n]=a}return t}function fr(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:{...hr(e.attributes),children:br(e.childNodes)}}}function gr(e){return t=>{let r=t;e&&(r=t.querySelector(e));try{return fr(r)}catch(e){return null}}}var mr={isNodeOfType:function(e,t){return e&&e.type===t},fromDOM:fr,toHTML:function(e){return _r([e])},matcher:gr};function br(e){const t=[];for(let r=0;r<e.length;r++)try{t.push(fr(e[r]))}catch(e){}return t}function _r(e){const t=e;return Object(ne.renderToString)(t)}function kr(e){return t=>{let r=t;return e&&(r=t.querySelector(e)),r?br(r.childNodes):[]}}var wr={concat:function(...e){const t=[];for(let r=0;r<e.length;r++){const n=Object(o.castArray)(e[r]);for(let e=0;e<n.length;e++){const r=n[e];"string"==typeof r&&"string"==typeof t[t.length-1]?t[t.length-1]+=r:t.push(r)}}return t},getChildrenArray:function(e){return e},fromDOM:br,toHTML:_r,matcher:kr};new Set(["attribute","html","text","tag"]);function yr(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 vr(e){switch(e.source){case"attribute":let n=function(e,t){return 1===arguments.length&&(t=e,e=void 0),function(r){var n=ut(e,"attributes")(r);if(n&&n.hasOwnProperty(t))return n[t].value}}(e.selector,e.attribute);return"boolean"===e.type&&(n=(e=>Object(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 ut(e,"textContent")}(e.selector);case"children":return kr(e.selector);case"node":return gr(e.selector);case"query":const a=Object(o.mapValues)(e.query,vr);return function(e,t){return function(r){var n=r.querySelectorAll(e);return[].map.call(n,(function(e){return lt(e,t)}))}}(e.selector,a);case"tag":return Object(o.flow)([ut(e.selector,"nodeName"),e=>e?e.toLowerCase():void 0]);default:console.error(`Unknown source type "${e.source}"`)}var t,r}function jr(e,t){return lt(e,vr(t))}function Tr(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=jr(r,t)}return function(e,t){return void 0===t||yr(e,Object(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 Or(e,t,r={}){const n=le(e),a=Object(o.mapValues)(n.attributes,(e,n)=>Tr(n,e,t,r));return Object(Z.applyFilters)("blocks.getBlockAttributes",a,n,t,r)}function xr(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{name:e,attributes:r}}function Cr(e){const{blockName:t}=e;let{attrs:r,innerBlocks:n=[],innerHTML:a}=e;const{innerContent:i}=e,s=Ce(),c=Ee()||s;r=r||{},a=a.trim();let l=t||s;({name:l,attributes:r}=xr(l,r)),l===s&&(a=Object(dt.autop)(a).trim());let u=Le(l);if(!u){const e={attrs:r,blockName:t,innerBlocks:n,innerContent:i},o=Sr(e,{isCommentDelimited:!1}),s=Sr(e,{isCommentDelimited:!0});l&&(a=s),l=c,r={originalName:t,originalContent:s,originalUndelimitedContent:o},u=Le(l)}n=n.map(Cr),n=n.filter(e=>e);const d=l===s||l===c;if(!u||!a&&d)return;let p=We(l,Or(u,a,r),n);if(!d){const{isValid:e,validationIssues:t}=dr(u,p.attributes,a);p.isValid=e,p.validationIssues=t}return p.originalContent=p.originalContent||a,p=function(e,t){const r=Le(e.name),{deprecated:n}=r;if(!n||!n.length)return e;const{originalContent:a,innerBlocks:i}=e;for(let s=0;s<n.length;s++){const{isEligible:c=o.stubFalse}=n[s];if(e.isValid&&!c(t,i))continue;const l=Object.assign(Object(o.omit)(r,fe),n[s]);let u=Or(l,a,t);const{isValid:d,validationIssues:p}=dr(l,u,a);if(!d){e={...e,validationIssues:[...Object(o.get)(e,"validationIssues",[]),...p]};continue}let h=i;const{migrate:f}=l;f&&([u=t,h=i]=Object(o.castArray)(f(u,i))),e={...e,attributes:u,innerBlocks:h,isValid:!0}}return e}(p,r),p.validationIssues&&p.validationIssues.length>0&&(p.isValid?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",u.name,u,It(u,p.attributes),p.originalContent):p.validationIssues.forEach(({log:e,args:t})=>e(...t))),p}function Sr(e,t={}){const{isCommentDelimited:r=!0}=t,{blockName:n,attrs:a={},innerBlocks:i=[],innerContent:o=[]}=e;let s=0;const c=o.map(e=>null!==e?e:Sr(i[s++],t)).join("\n").replace(/\n+/g,"\n").trim();return r?Vt(n,a,c):c}const Ar=(Er=pt.parse,e=>Er(e).reduce((e,t)=>{const r=Cr(t);return r&&e.push(r),e},[]));var Er,Br=Ar;function Pr(){return Object(o.filter)(nt("from"),{type:"raw"}).map(e=>e.isMatch?e:{...e,isMatch:t=>e.selector&&t.matches(e.selector)})}function Nr(e){const t=document.implementation.createHTMLDocument("");return t.body.innerHTML=e,Array.from(t.body.children).flatMap(e=>{const t=rt(Pr(),({isMatch:t})=>t(e));if(!t)return We("core/html",Or("core/html",e.outerHTML));const{transform:r,blockName:n}=t;return r?r(e):We(n,Or(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(ae.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(ae.isEmpty)(e)?n.removeChild(e):a.appendChild(e):Object(ae.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 Mr(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(ae.remove)(n);break}Object(ae.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(ae.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(ae.remove)(e)}function Dr(e,t){return e.every(e=>function(e,t){if(Object(ae.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(o.difference)([r,t],e).length)}(e,t)&&Dr(Array.from(e.children),t))}function Ir(e){return"BR"===e.nodeName&&e.previousSibling&&"BR"===e.previousSibling.nodeName}function Hr(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||Object(ae.wrap)(t.createElement("strong"),e),"italic"===n&&Object(ae.wrap)(t.createElement("em"),e),("line-through"===a||Object(o.includes)(i,"line-through"))&&Object(ae.wrap)(t.createElement("s"),e),"super"===s?Object(ae.wrap)(t.createElement("sup"),e):"sub"===s&&Object(ae.wrap)(t.createElement("sub"),e)}else"B"===e.nodeName?e=Object(ae.replaceTag)(e,"strong"):"I"===e.nodeName?e=Object(ae.replaceTag)(e,"em"):"A"===e.nodeName&&(e.target&&"_blank"===e.target.toLowerCase()?e.rel="noreferrer noopener":(e.removeAttribute("target"),e.removeAttribute("rel")))}function Vr(e){"SCRIPT"!==e.nodeName&&"NOSCRIPT"!==e.nodeName&&"TEMPLATE"!==e.nodeName&&"STYLE"!==e.nodeName||e.parentNode.removeChild(e)}const{parseInt:Rr}=window;function Fr(e){return"OL"===e.nodeName||"UL"===e.nodeName}function $r(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=Rr(n[1],10)-1||0;const i=e.previousElementSibling;if(!i||!Fr(i)){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 o=e.previousElementSibling,s=o.nodeName,c=t.createElement("li");let l=o;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 qr(e){return"OL"===e.nodeName||"UL"===e.nodeName}function Ur(e){if(!qr(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(({nodeValue:e=""})=>e).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&&qr(n)){const t=e.previousElementSibling;t?t.appendChild(e):Object(ae.unwrap)(e)}}var Gr=r("xTGt");const{atob:Kr,File:Wr}=window;function Yr(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=Kr(r)}catch(t){return void(e.src="")}const i=new Uint8Array(a.length);for(let e=0;e<i.length;e++)i[e]=a.charCodeAt(e);const o=n.replace("/","."),s=new Wr([i],o,{type:n});e.src=Object(Gr.createBlobURL)(s)}1!==e.height&&1!==e.width||e.parentNode.removeChild(e)}}function Qr(e){"BLOCKQUOTE"===e.nodeName&&(e.innerHTML=Lr(e.innerHTML))}function Zr(e,t=e){const r=e.ownerDocument.createElement("figure");t.parentNode.insertBefore(r,t),r.appendChild(e)}function Xr(e,t,r){if(!function(e,t){const r=e.nodeName.toLowerCase();return"figcaption"!==r&&!Object(ae.isTextContent)(e)&&Object(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 Object(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())&&Zr(n,i):Zr(n,i):"BODY"===n.parentNode.nodeName&&Zr(n)}var Jr=r("SVSp");var en=function e(t,r=0,n=[]){const a=rt(nt("from"),e=>-1===n.indexOf(e.blockName)&&"shortcode"===e.type&&Object(o.some)(Object(o.castArray)(e.tag),e=>Object(Jr.regexp)(e).test(t)));if(!a)return[t];const i=Object(o.castArray)(a.tag),s=Object(o.find)(i,e=>Object(Jr.regexp)(e).test(t));let c;const l=r;if(c=Object(Jr.next)(s,t,r)){r=c.index+c.content.length;const i=t.substr(0,c.index),s=t.substr(r);if(!(Object(o.includes)(c.shortcode.content||"","<")||/(\n|<p>)\s*$/.test(i)&&/^\s*(\n|<\/p>)/.test(s)))return e(t,r);if(a.isMatch&&!a.isMatch(c.shortcode.attrs))return e(t,l,[...n,a.blockName]);const u=Object(o.mapValues)(Object(o.pickBy)(a.attributes,e=>e.shortcode),e=>e.shortcode(c.shortcode.attrs,c)),d=We(a.blockName,Or({...Le(a.blockName),attributes:a.attributes},c.shortcode.content,u));return[...e(i),d,...e(s)]}return[t]},tn=r("M55E");const rn=new(r.n(tn).a.Converter)({noHeaderId:!0,tables:!0,literalMidWordUnderscores:!0,omitExtraWLInCodeBlocks:!0,simpleLineBreaks:!0,strikethrough:!0});function nn(e){if("IFRAME"===e.nodeName){const t=e.ownerDocument.createTextNode(e.src);e.parentNode.replaceChild(t,e)}}function an(e){e.id&&0===e.id.indexOf("docs-internal-guid-")&&Object(ae.unwrap)(e)}function on(e){return function(e,t){const r={phrasingContentSchema:Object(ae.getPhrasingContentSchema)(t),isPaste:"paste"===t},n=e.map(({isMatch:e,blockName:t,schema:n})=>{const a=De(t,"anchor");return n=Object(o.isFunction)(n)?n(r):n,a||e?Object(o.mapValues)(n,t=>{let r=t.attributes||[];return a&&(r=[...r,"id"]),{...t,attributes:r,isMatch:e||void 0}}):n});return Object(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(...r)=>e(...r)||t(...r)}})}(Pr(),e)}function sn(e,t=[],r){const n=document.implementation.createHTMLDocument("");return n.body.innerHTML=e,function e(t,r,n,a){Array.from(t).forEach(t=>{e(t.childNodes,r,n,a),r.forEach(e=>{n.contains(t)&&e(t,n,a)})})}(n.body.childNodes,t,n,r),n.body.innerHTML}function cn(e,t){const r=e[t+"Sibling"];if(r&&Object(ae.isPhrasingContent)(r))return r;const{parentNode:n}=e;return n&&Object(ae.isPhrasingContent)(n)?cn(n,t):void 0}function ln(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=cn(e,"previous");t&&"BR"!==t.nodeName&&" "!==t.textContent.slice(-1)||(r=r.slice(1))}if(" "===r[r.length-1]){const t=cn(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 un(e){"BR"===e.nodeName&&(cn(e,"next")||e.parentNode.removeChild(e))}function dn(e){"P"===e.nodeName&&(e.hasChildNodes()||e.parentNode.removeChild(e))}const{console:pn}=window;function hn(e,t){return e=sn(e,[an,Hr,zr]),e=Object(ae.removeInvalidHTML)(e,Object(ae.getPhrasingContentSchema)("paste"),{inline:!0}),t||(e=sn(e,[ln,un])),pn.log("Processed inline HTML:\n\n",e),e}function fn({HTML:e="",plainText:t="",mode:r="AUTO",tagName:n,preserveWhiteSpace:a}){if(e=(e=(e=e.replace(/<meta[^>]+>/g,"")).replace(/^\s*<html[^>]*>\s*<body[^>]*>(?:\s*<!--\s*StartFragment\s*-->)?/i,"")).replace(/(?:<!--\s*EndFragment\s*-->\s*)?<\/body>\s*<\/html>\s*$/i,""),"INLINE"!==r){const r=e||t;if(-1!==r.indexOf("\x3c!-- wp:"))return Ar(r)}var i;if(String.prototype.normalize&&(e=e.normalize()),!t||e&&!function(e){return!/<(?!br[ />])/i.test(e)}(e)||(e=t,/^\s+$/.test(t)||(i=e,e=rn.makeHtml(function(e){return e.replace(/((?:^|\n)```)([^\n`]+)(```(?:$|\n))/,(e,t,r,n)=>`${t}\n${r}\n${n}`)}(i))),"AUTO"===r&&-1===t.indexOf("\n")&&0!==t.indexOf("<p>")&&0===e.indexOf("<p>")&&(r="INLINE")),"INLINE"===r)return hn(e,a);const s=en(e),c=s.length>1;if("AUTO"===r&&!c&&function(e,t){const r=document.implementation.createHTMLDocument("");r.body.innerHTML=e;const n=Array.from(r.body.children);return!n.some(Ir)&&Dr(n,t)}(e,n))return hn(e,a);const l=Object(ae.getPhrasingContentSchema)("paste"),u=on("paste"),d=Object(o.compact)(Object(o.flatMap)(s,e=>{if("string"!=typeof e)return e;const t=[an,$r,Vr,Ur,Yr,Hr,Mr,zr,nn,Xr,Qr],r={...u,...l};return e=sn(e,t,u),e=sn(e=Lr(e=Object(ae.removeInvalidHTML)(e,r)),[ln,un,dn],u),pn.log("Processed HTML piece:\n\n",e),Nr(e)}));if("AUTO"===r&&1===d.length&&De(d[0].name,"__unstablePasteTextInline",!1)){const e=t.replace(/^[\n]+|[\n]+$/g,"");if(""!==e&&-1===e.indexOf("\n"))return Object(ae.removeInvalidHTML)(Ht(d[0]),l)}return d}function gn(e){return J()("wp.blocks.getPhrasingContentSchema",{since:"5.6",alternative:"wp.dom.getPhrasingContentSchema"}),Object(ae.getPhrasingContentSchema)(e)}function mn({HTML:e=""}){if(-1!==e.indexOf("\x3c!-- wp:"))return Ar(e);const t=en(e),r=on();return Object(o.compact)(Object(o.flatMap)(t,e=>{if("string"!=typeof e)return e;return Nr(e=Lr(e=sn(e,[Ur,Mr,Xr,Qr],r)))}))}function bn(){return Object(i.select)(Y).getCategories()}function _n(e){Object(i.dispatch)(Y).setCategories(e)}function kn(e,t){Object(i.dispatch)(Y).updateCategory(e,t)}function wn(e=[],t=[]){return e.length===t.length&&Object(o.every)(t,([t,,r],n)=>{const a=e[n];return t===a.name&&wn(a.innerBlocks,r)})}function yn(e=[],t){return t?Object(o.map)(t,([t,r,n],a)=>{const i=e[a];if(i&&i.name===t){const e=yn(i.innerBlocks,n);return{...i,innerBlocks:e}}const s=Le(t),c=(e,t)=>Object(o.mapValues)(t,(t,r)=>l(e[r],t)),l=(e,t)=>{return r=e,"html"===Object(o.get)(r,["source"])&&Object(o.isArray)(t)?Object(ne.renderToString)(t):(e=>"query"===Object(o.get)(e,["source"]))(e)&&t?t.map(t=>c(e.query,t)):t;var r},u=c(Object(o.get)(s,["attributes"],{}),r),{name:d,attributes:p}=xr(t,u);return We(d,p,yn([],n))}):e}},"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 i(){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 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 s=function(e){return"string"==typeof e&&o.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||i)();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)}},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 i={},o={},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:""};i.helper.isArray(e)||(e=[e]);for(var a=0;a<e.length;++a){var o=r+" sub-extension "+a+": ",s=e[a];if("object"!=typeof s)return n.valid=!1,n.error=o+"must be an object, but "+typeof s+" given",n;if(!i.helper.isString(s.type))return n.valid=!1,n.error=o+'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=o+"type "+c+' is not recognized. Valid values: "lang/language", "output/html" or "listener"',n;if("listener"===c){if(i.helper.isUndefined(s.listeners))return n.valid=!1,n.error=o+'. Extensions of type "listener" must have a property called "listeners"',n}else if(i.helper.isUndefined(s.filter)&&i.helper.isUndefined(s.regex))return n.valid=!1,n.error=o+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=o+'"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=o+'"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=o+'"filter" must be a function, but '+typeof s.filter+" given",n}else if(s.regex){if(i.helper.isString(s.regex)&&(s.regex=new RegExp(s.regex,"g")),!(s.regex instanceof RegExp))return n.valid=!1,n.error=o+'"regex" property must either be a string or a RegExp object, but '+typeof s.regex+" given",n;if(i.helper.isUndefined(s.replace))return n.valid=!1,n.error=o+'"regex" extensions must implement a replace string or function',n}}return n}function p(e,t){"use strict";return"¨E"+t.charCodeAt(0)+"E"}i.helper={},i.extensions={},i.setOption=function(e,t){"use strict";return c[e]=t,this},i.getOption=function(e){"use strict";return c[e]},i.getOptions=function(){"use strict";return c},i.resetOptions=function(){"use strict";c=a(!0)},i.setFlavor=function(e){"use strict";if(!u.hasOwnProperty(e))throw Error(e+" flavor was not found");i.resetOptions();var t=u[e];for(var r in l=e,t)t.hasOwnProperty(r)&&(c[r]=t[r])},i.getFlavor=function(){"use strict";return l},i.getFlavorOptions=function(e){"use strict";if(u.hasOwnProperty(e))return u[e]},i.getDefaultOptions=function(e){"use strict";return a(e)},i.subParser=function(e,t){"use strict";if(i.helper.isString(e)){if(void 0===t){if(o.hasOwnProperty(e))return o[e];throw Error("SubParser named "+e+" not registered!")}o[e]=t}},i.extension=function(e,t){"use strict";if(!i.helper.isString(e))throw Error("Extension 'name' must be a string");if(e=i.helper.stdExtName(e),i.helper.isUndefined(t)){if(!s.hasOwnProperty(e))throw Error("Extension named "+e+" is not registered!");return s[e]}"function"==typeof t&&(t=t()),i.helper.isArray(t)||(t=[t]);var r=d(t,e);if(!r.valid)throw Error(r.error);s[e]=t},i.getAllExtensions=function(){"use strict";return s},i.removeExtension=function(e){"use strict";delete s[e]},i.resetExtensions=function(){"use strict";s={}},i.validateExtension=function(e){"use strict";var t=d(e,null);return!!t.valid||(console.warn(t.error),!1)},i.hasOwnProperty("helper")||(i.helper={}),i.helper.isString=function(e){"use strict";return"string"==typeof e||e instanceof String},i.helper.isFunction=function(e){"use strict";return e&&"[object Function]"==={}.toString.call(e)},i.helper.isArray=function(e){"use strict";return Array.isArray(e)},i.helper.isUndefined=function(e){"use strict";return void 0===e},i.helper.forEach=function(e,t){"use strict";if(i.helper.isUndefined(e))throw new Error("obj param is required");if(i.helper.isUndefined(t))throw new Error("callback param is required");if(!i.helper.isFunction(t))throw new Error("callback param must be a function/closure");if("function"==typeof e.forEach)e.forEach(t);else if(i.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)}},i.helper.stdExtName=function(e){"use strict";return e.replace(/[_?*+\/\\.^-]/g,"").replace(/\s/g,"").toLowerCase()},i.helper.escapeCharactersCallback=p,i.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)},i.helper.unescapeHTMLEntities=function(e){"use strict";return e.replace(/"/g,'"').replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")};var h=function(e,t,r,n){"use strict";var a,i,o,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;o=d.exec(e);)if(p.test(o[0]))a++||(s=(i=d.lastIndex)-o[0].length);else if(a&&!--a){c=o.index+o[0].length;var f={left:{start:s,end:i},match:{start:i,end:o.index},right:{start:o.index,end:c},wholeMatch:{start:s,end:c}};if(h.push(f),!u)return h}}while(a&&(d.lastIndex=i));return h};i.helper.matchRecursiveRegExp=function(e,t,r,n){"use strict";for(var a=h(e,t,r,n),i=[],o=0;o<a.length;++o)i.push([e.slice(a[o].wholeMatch.start,a[o].wholeMatch.end),e.slice(a[o].match.start,a[o].match.end),e.slice(a[o].left.start,a[o].left.end),e.slice(a[o].right.start,a[o].right.end)]);return i},i.helper.replaceRecursiveRegExp=function(e,t,r,n,a){"use strict";if(!i.helper.isFunction(t)){var o=t;t=function(){return o}}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},i.helper.regexIndexOf=function(e,t,r){"use strict";if(!i.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},i.helper.splitAtIndex=function(e,t){"use strict";if(!i.helper.isString(e))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";return[e.substring(0,t),e.substring(t)]},i.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}))},i.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}}),i.helper.regexes={asteriskDashAndColon:/([*_:~])/g},i.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:"⛹️‍♀️",bat:"🦇",bath:"🛀",bathtub:"🛁",battery:"🔋",beach_umbrella:"🏖",bear:"🐻",bed:"🛏",bee:"🐝",beer:"🍺",beers:"🍻",beetle:"🐞",beginner:"🔰",bell:"🔔",bellhop_bell:"🛎",bento:"🍱",biking_man:"🚴",bike:"🚲",biking_woman:"🚴‍♀️",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:"👱‍♀️",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:"🙇‍♀️",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:"👷‍♀️",control_knobs:"🎛",convenience_store:"🏪",cookie:"🍪",cool:"🆒",policeman:"👮",copyright:"©️",corn:"🌽",couch_and_lamp:"🛋",couple:"👫",couple_with_heart_woman_man:"💑",couple_with_heart_man_man:"👨‍❤️‍👨",couple_with_heart_woman_woman:"👩‍❤️‍👩",couplekiss_man_man:"👨‍❤️‍💋‍👨",couplekiss_man_woman:"💏",couplekiss_woman_woman:"👩‍❤️‍💋‍👩",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:"👯‍♂️",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:"👁‍🗨",eyeglasses:"👓",eyes:"👀",face_with_head_bandage:"🤕",face_with_thermometer:"🤒",fist_oncoming:"👊",factory:"🏭",fallen_leaf:"🍂",family_man_woman_boy:"👪",family_man_boy:"👨‍👦",family_man_boy_boy:"👨‍👦‍👦",family_man_girl:"👨‍👧",family_man_girl_boy:"👨‍👧‍👦",family_man_girl_girl:"👨‍👧‍👧",family_man_man_boy:"👨‍👨‍👦",family_man_man_boy_boy:"👨‍👨‍👦‍👦",family_man_man_girl:"👨‍👨‍👧",family_man_man_girl_boy:"👨‍👨‍👧‍👦",family_man_man_girl_girl:"👨‍👨‍👧‍👧",family_man_woman_boy_boy:"👨‍👩‍👦‍👦",family_man_woman_girl:"👨‍👩‍👧",family_man_woman_girl_boy:"👨‍👩‍👧‍👦",family_man_woman_girl_girl:"👨‍👩‍👧‍👧",family_woman_boy:"👩‍👦",family_woman_boy_boy:"👩‍👦‍👦",family_woman_girl:"👩‍👧",family_woman_girl_boy:"👩‍👧‍👦",family_woman_girl_girl:"👩‍👧‍👧",family_woman_woman_boy:"👩‍👩‍👦",family_woman_woman_boy_boy:"👩‍👩‍👦‍👦",family_woman_woman_girl:"👩‍👩‍👧",family_woman_woman_girl_boy:"👩‍👩‍👧‍👦",family_woman_woman_girl_girl:"👩‍👩‍👧‍👧",fast_forward:"⏩",fax:"📠",fearful:"😨",feet:"🐾",female_detective:"🕵️‍♀️",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:"🙍‍♂️",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:"🏌️‍♀️",gorilla:"🦍",grapes:"🍇",green_apple:"🍏",green_book:"📗",green_heart:"💚",green_salad:"🥗",grey_exclamation:"❕",grey_question:"❔",grimacing:"😬",grin:"😁",grinning:"😀",guardsman:"💂",guardswoman:"💂‍♀️",guitar:"🎸",gun:"🔫",haircut_woman:"💇",haircut_man:"💇‍♂️",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:"👨‍🎨",man_astronaut:"👨‍🚀",man_cartwheeling:"🤸‍♂️",man_cook:"👨‍🍳",man_dancing:"🕺",man_facepalming:"🤦‍♂️",man_factory_worker:"👨‍🏭",man_farmer:"👨‍🌾",man_firefighter:"👨‍🚒",man_health_worker:"👨‍⚕️",man_in_tuxedo:"🤵",man_judge:"👨‍⚖️",man_juggling:"🤹‍♂️",man_mechanic:"👨‍🔧",man_office_worker:"👨‍💼",man_pilot:"👨‍✈️",man_playing_handball:"🤾‍♂️",man_playing_water_polo:"🤽‍♂️",man_scientist:"👨‍🔬",man_shrugging:"🤷‍♂️",man_singer:"👨‍🎤",man_student:"👨‍🎓",man_teacher:"👨‍🏫",man_technologist:"👨‍💻",man_with_gua_pi_mao:"👲",man_with_turban:"👳",tangerine:"🍊",mans_shoe:"👞",mantelpiece_clock:"🕰",maple_leaf:"🍁",martial_arts_uniform:"🥋",mask:"😷",massage_woman:"💆",massage_man:"💆‍♂️",meat_on_bone:"🍖",medal_military:"🎖",medal_sports:"🏅",mega:"📣",melon:"🍈",memo:"📝",men_wrestling:"🤼‍♂️",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:"🚵‍♀️",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:"🙅‍♂️",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:"🙆‍♂️",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:"👮‍♀️",poodle:"🐩",popcorn:"🍿",post_office:"🏣",postal_horn:"📯",postbox:"📮",potable_water:"🚰",potato:"🥔",pouch:"👝",poultry_leg:"🍗",pound:"💷",rage:"😡",pouting_cat:"😾",pouting_man:"🙎‍♂️",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:"🏳️‍🌈",raised_back_of_hand:"🤚",raised_hand_with_fingers_splayed:"🖐",raised_hands:"🙌",raising_hand_woman:"🙋",raising_hand_man:"🙋‍♂️",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:"🚣‍♀️",rugby_football:"🏉",running_man:"🏃",running_shirt_with_sash:"🎽",running_woman:"🏃‍♀️",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:"🏄‍♀️",sushi:"🍣",suspension_railway:"🚟",sweat:"😓",sweat_drops:"💦",sweat_smile:"😅",sweet_potato:"🍠",swimming_man:"🏊",swimming_woman:"🏊‍♀️",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:"💁‍♂️",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:"🚶‍♀️",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:"🏋️‍♀️",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:"👩‍🎨",woman_astronaut:"👩‍🚀",woman_cartwheeling:"🤸‍♀️",woman_cook:"👩‍🍳",woman_facepalming:"🤦‍♀️",woman_factory_worker:"👩‍🏭",woman_farmer:"👩‍🌾",woman_firefighter:"👩‍🚒",woman_health_worker:"👩‍⚕️",woman_judge:"👩‍⚖️",woman_juggling:"🤹‍♀️",woman_mechanic:"👩‍🔧",woman_office_worker:"👩‍💼",woman_pilot:"👩‍✈️",woman_playing_handball:"🤾‍♀️",woman_playing_water_polo:"🤽‍♀️",woman_scientist:"👩‍🔬",woman_shrugging:"🤷‍♀️",woman_singer:"👩‍🎤",woman_student:"👩‍🎓",woman_teacher:"👩‍🏫",woman_technologist:"👩‍💻",woman_with_turban:"👳‍♀️",womans_clothes:"👚",womans_hat:"👒",women_wrestling:"🤼‍♀️",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>"},i.Converter=function(e){"use strict";var t={},r=[],n=[],a={},o=l,p={parsed:{},raw:"",format:""};function h(e,t){if(t=t||null,i.helper.isString(e)){if(t=e=i.helper.stdExtName(e),i.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 i.Converter));i.helper.isArray(e)||(e=[e]);var a=d(e,t);if(!a.valid)throw Error(a.error);for(var o=0;o<e.length;++o)switch(e[o].type){case"lang":r.push(e[o]);break;case"output":n.push(e[o]);break;default:throw Error("Extension loader error: Type unrecognized!!!")}}(i.extensions[e],e);if(i.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()),i.helper.isArray(e)||(e=[e]);var a=d(e,t);if(!a.valid)throw Error(a.error);for(var o=0;o<e.length;++o){switch(e[o].type){case"lang":r.push(e[o]);break;case"output":n.push(e[o])}if(e[o].hasOwnProperty("listeners"))for(var c in e[o].listeners)e[o].listeners.hasOwnProperty(c)&&f(c,e[o].listeners[c])}}function f(e,t){if(!i.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&&i.helper.forEach(t.extensions,h)}(),this._dispatch=function(e,t,r,n){if(a.hasOwnProperty(e))for(var i=0;i<a[e].length;++i){var o=a[e][i](e,t,this,r,n);o&&void 0!==o&&(t=o)}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," "),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=i.subParser("detab")(e,t,a)).replace(/^[ \t]+$/gm,""),i.helper.forEach(r,(function(r){e=i.subParser("runExtension")(r,e,t,a)})),e=i.subParser("metadata")(e,t,a),e=i.subParser("hashPreCodeTags")(e,t,a),e=i.subParser("githubCodeBlocks")(e,t,a),e=i.subParser("hashHTMLBlocks")(e,t,a),e=i.subParser("hashCodeTags")(e,t,a),e=i.subParser("stripLinkDefinitions")(e,t,a),e=i.subParser("blockGamut")(e,t,a),e=i.subParser("unhashHTMLSpans")(e,t,a),e=(e=(e=i.subParser("unescapeSpecialChars")(e,t,a)).replace(/¨D/g,"$$")).replace(/¨T/g,"¨"),e=i.subParser("completeHTMLDocument")(e,t,a),i.helper.forEach(n,(function(r){e=i.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(),o=t[n].firstChild.getAttribute("data-language")||"";if(""===o)for(var s=t[n].firstChild.className.split(" "),c=0;c<s.length;++c){var l=s[c].match(/^language-(.+)$/);if(null!==l){o=l[1];break}}a=i.helper.unescapeHTMLEntities(a),r.push(a),t[n].outerHTML='<precode language="'+o+'" 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,o="",s=0;s<a.length;s++)o+=i.subParser("makeMarkdown.node")(a[s],n);return o},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 o=e,r)r.hasOwnProperty(n)&&(t[n]=r[n])},this.getFlavor=function(){return o},this.removeExtension=function(e){i.helper.isArray(e)||(e=[e]);for(var t=0;t<e.length;++t){for(var a=e[t],o=0;o<r.length;++o)r[o]===a&&r[o].splice(o,1);for(;0<n.length;++o)n[0]===a&&n[0].splice(o,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}},i.subParser("anchors",(function(e,t,r){"use strict";var n=function(e,n,a,o,s,c,l){if(i.helper.isUndefined(l)&&(l=""),a=a.toLowerCase(),e.search(/\(<?\s*>? ?(['"].*['"])?\)$/m)>-1)o="";else if(!o){if(a||(a=n.toLowerCase().replace(/ ?\n/g," ")),o="#"+a,i.helper.isUndefined(r.gUrls[a]))return e;o=r.gUrls[a],i.helper.isUndefined(r.gTitles[a])||(l=r.gTitles[a])}var u='<a href="'+(o=o.replace(i.helper.regexes.asteriskDashAndColon,i.helper.escapeCharactersCallback))+'"';return""!==l&&null!==l&&(u+=' title="'+(l=(l=l.replace(/"/g,""")).replace(i.helper.regexes.asteriskDashAndColon,i.helper.escapeCharactersCallback))+'"'),t.openLinksInNewWindow&&!/^#/.test(o)&&(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,o){if("\\"===n)return r+a;if(!i.helper.isString(t.ghMentionsLink))throw new Error("ghMentionsLink option must be a string");var s=t.ghMentionsLink.replace(/\{u}/g,o),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,o,s,c){var l=n=n.replace(i.helper.regexes.asteriskDashAndColon,i.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}},w=function(e,t){"use strict";return function(r,n,a){var o="mailto:";return n=n||"",a=i.subParser("unescapeSpecialChars")(a,e,t),e.encodeEmails?(o=i.helper.encodeEmailAddress(o+a),a=i.helper.encodeEmailAddress(a)):o+=a,n+'<a href="'+o+'">'+a+"</a>"}};i.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(_,w(t,r)),e=r.converter._dispatch("autoLinks.after",e,t,r)})),i.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,w(t,r)),e=r.converter._dispatch("simplifiedAutoLinks.after",e,t,r)):e})),i.subParser("blockGamut",(function(e,t,r){"use strict";return e=r.converter._dispatch("blockGamut.before",e,t,r),e=i.subParser("blockQuotes")(e,t,r),e=i.subParser("headers")(e,t,r),e=i.subParser("horizontalRule")(e,t,r),e=i.subParser("lists")(e,t,r),e=i.subParser("codeBlocks")(e,t,r),e=i.subParser("tables")(e,t,r),e=i.subParser("hashHTMLBlocks")(e,t,r),e=i.subParser("paragraphs")(e,t,r),e=r.converter._dispatch("blockGamut.after",e,t,r)})),i.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=i.subParser("githubCodeBlocks")(e,t,r),e=(e=(e=i.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,"")})),i.subParser("hashBlock")("<blockquote>\n"+e+"\n</blockquote>",t,r)})),e=r.converter._dispatch("blockQuotes.after",e,t,r)})),i.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 o=n,s=a,c="\n";return o=i.subParser("outdent")(o,t,r),o=i.subParser("encodeCode")(o,t,r),o=(o=(o=i.subParser("detab")(o,t,r)).replace(/^\n+/g,"")).replace(/\n+$/g,""),t.omitExtraWLInCodeBlocks&&(c=""),o="<pre><code>"+o+c+"</code></pre>",i.subParser("hashBlock")(o,t,r)+s}))).replace(/¨0/,""),e=r.converter._dispatch("codeBlocks.after",e,t,r)})),i.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,o){var s=o;return s=(s=s.replace(/^([ \t]*)/g,"")).replace(/[ \t]*$/g,""),s=n+"<code>"+(s=i.subParser("encodeCode")(s,t,r))+"</code>",s=i.subParser("hashHTMLSpans")(s,t,r)})),e=r.converter._dispatch("codeSpans.after",e,t,r)})),i.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",i="",o='<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||(o='<meta charset="utf-8">')),r.metadata.parsed)if(r.metadata.parsed.hasOwnProperty(l))switch(l.toLowerCase()){case"doctype":break;case"title":i="<title>"+r.metadata.parsed.title+"</title>\n";break;case"charset":o="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"+i+o+c+"</head>\n<body>\n"+e.trim()+"\n</body>\n</html>",e=r.converter._dispatch("completeHTMLDocument.after",e,t,r)})),i.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)})),i.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)})),i.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 i.helper.emojis.hasOwnProperty(t)?i.helper.emojis[t]:e})),e=r.converter._dispatch("emoji.after",e,t,r)})),i.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,"&")).replace(/<(?![a-z\/?$!])/gi,"<")).replace(/</g,"<")).replace(/>/g,">"),e=r.converter._dispatch("encodeAmpsAndAngles.after",e,t,r)})),i.subParser("encodeBackslashEscapes",(function(e,t,r){"use strict";return e=(e=(e=r.converter._dispatch("encodeBackslashEscapes.before",e,t,r)).replace(/\\(\\)/g,i.helper.escapeCharactersCallback)).replace(/\\([`*_{}\[\]()>#+.!~=|-])/g,i.helper.escapeCharactersCallback),e=r.converter._dispatch("encodeBackslashEscapes.after",e,t,r)})),i.subParser("encodeCode",(function(e,t,r){"use strict";return e=(e=r.converter._dispatch("encodeCode.before",e,t,r)).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/([*_{}\[\]\\=~-])/g,i.helper.escapeCharactersCallback),e=r.converter._dispatch("encodeCode.after",e,t,r)})),i.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,i.helper.escapeCharactersCallback)}))).replace(/<!(--(?:(?:[^>-]|-[^>])(?:[^-]|-[^-])*)--)>/gi,(function(e){return e.replace(/([\\`*_~=|])/g,i.helper.escapeCharactersCallback)})),e=r.converter._dispatch("escapeSpecialCharsWithinTagAttributes.after",e,t,r)})),i.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,o){var s=t.omitExtraWLInCodeBlocks?"":"\n";return o=i.subParser("encodeCode")(o,t,r),o="<pre><code"+(a?' class="'+a+" language-"+a+'"':"")+">"+(o=(o=(o=i.subParser("detab")(o,t,r)).replace(/^\n+/g,"")).replace(/\n+$/g,""))+s+"</code></pre>",o=i.subParser("hashBlock")(o,t,r),"\n\n¨G"+(r.ghCodeBlocks.push({text:e,codeblock:o})-1)+"G\n\n"}))).replace(/¨0/,""),r.converter._dispatch("githubCodeBlocks.after",e,t,r)):e})),i.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)})),i.subParser("hashCodeTags",(function(e,t,r){"use strict";e=r.converter._dispatch("hashCodeTags.before",e,t,r);return e=i.helper.replaceRecursiveRegExp(e,(function(e,n,a,o){var s=a+i.subParser("encodeCode")(n,t,r)+o;return"¨C"+(r.gHtmlSpans.push(s)-1)+"C"}),"<code\\b[^>]*>","</code>","gim"),e=r.converter._dispatch("hashCodeTags.after",e,t,r)})),i.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"}})),i.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 i=e;return-1!==n.search(/\bmarkdown\b/)&&(i=n+r.converter.makeHtml(t)+a),"\n\n¨K"+(r.gHtmlBlocks.push(i)-1)+"K\n\n"};t.backslashEscapesHTMLTags&&(e=e.replace(/\\<(\/?[^>]+?)>/g,(function(e,t){return"<"+t+">"})));for(var o=0;o<n.length;++o)for(var s,c=new RegExp("^ {0,3}(<"+n[o]+"\\b[^>]*>)","im"),l="<"+n[o]+"\\b[^>]*>",u="</"+n[o]+">";-1!==(s=i.helper.regexIndexOf(e,c));){var d=i.helper.splitAtIndex(e,s),p=i.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,i.subParser("hashElement")(e,t,r)),e=(e=i.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,i.subParser("hashElement")(e,t,r)),e=r.converter._dispatch("hashHTMLBlocks.after",e,t,r)})),i.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)})),i.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],i=0;/¨C(\d+)C/.test(a);){var o=RegExp.$1;if(a=a.replace("¨C"+o+"C",r.gHtmlSpans[o]),10===i){console.error("maximum nesting of 10 spans reached!!!");break}++i}e=e.replace("¨C"+n+"C",a)}return e=r.converter._dispatch("unhashHTMLSpans.after",e,t,r)})),i.subParser("hashPreCodeTags",(function(e,t,r){"use strict";e=r.converter._dispatch("hashPreCodeTags.before",e,t,r);return e=i.helper.replaceRecursiveRegExp(e,(function(e,n,a,o){var s=a+i.subParser("encodeCode")(n,t,r)+o;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)})),i.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,o=t.smoothLivePreview?/^(.+)[ \t]*\n-{2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n-+[ \t]*\n+/gm;e=(e=e.replace(a,(function(e,a){var o=i.subParser("spanGamut")(a,t,r),s=t.noHeaderId?"":' id="'+c(a)+'"',l="<h"+n+s+">"+o+"</h"+n+">";return i.subParser("hashBlock")(l,t,r)}))).replace(o,(function(e,a){var o=i.subParser("spanGamut")(a,t,r),s=t.noHeaderId?"":' id="'+c(a)+'"',l=n+1,u="<h"+l+s+">"+o+"</h"+l+">";return i.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 o=e.match(/\{([^{]+?)}\s*$/);o&&o[1]&&(e=o[1])}return n=e,a=i.helper.isString(t.prefixHeaderId)?t.prefixHeaderId:!0===t.prefixHeaderId?"section-":"",t.rawPrefixHeaderId||(n=a+n),n=t.ghCompatibleHeaderId?n.replace(/ /g,"-").replace(/&/g,"").replace(/¨T/g,"").replace(/¨D/g,"").replace(/[&+$,\/:;=?@"#{}|^¨~\[\]`\\*)(%.!'<>]/g,"").toLowerCase():t.rawHeaderId?n.replace(/ /g,"-").replace(/&/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,o){var s=o;t.customizedHeaderId&&(s=o.replace(/\s?\{([^{]+?)}\s*$/,""));var l=i.subParser("spanGamut")(s,t,r),u=t.noHeaderId?"":' id="'+c(o)+'"',d=n-1+a.length,p="<h"+d+u+">"+l+"</h"+d+">";return i.subParser("hashBlock")(p,t,r)})),e=r.converter._dispatch("headers.after",e,t,r)})),i.subParser("horizontalRule",(function(e,t,r){"use strict";e=r.converter._dispatch("horizontalRule.before",e,t,r);var n=i.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)})),i.subParser("images",(function(e,t,r){"use strict";function n(e,t,n,a,o,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,i.helper.isUndefined(u[n]))return e;a=u[n],i.helper.isUndefined(d[n])||(l=d[n]),i.helper.isUndefined(p[n])||(o=p[n].width,s=p[n].height)}t=t.replace(/"/g,""").replace(i.helper.regexes.asteriskDashAndColon,i.helper.escapeCharactersCallback);var h='<img src="'+(a=a.replace(i.helper.regexes.asteriskDashAndColon,i.helper.escapeCharactersCallback))+'" alt="'+t+'"';return l&&i.helper.isString(l)&&(h+=' title="'+(l=l.replace(/"/g,""").replace(i.helper.regexes.asteriskDashAndColon,i.helper.escapeCharactersCallback))+'"'),o&&s&&(h+=' width="'+(o="*"===o?"auto":o)+'"',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,i,o,s,c){return n(e,t,r,a=a.replace(/\s/g,""),i,o,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)})),i.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)})),i.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,o=/\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=i.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=i.subParser("githubCodeBlocks")(d,t,r),d=i.subParser("blockGamut")(d,t,r)):(d=(d=i.subParser("lists")(d,t,r)).replace(/\n$/,""),d=(d=i.subParser("hashHTMLBlocks")(d,t,r)).replace(/\n\n+/g,"\n\n"),d=o?i.subParser("paragraphs")(d,t,r):i.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 o(e,r,i){var o=t.disableForced4SpacesIndentedSublists?/^ ?\d+\.[ \t]/gm:/^ {0,3}\d+\.[ \t]/gm,s=t.disableForced4SpacesIndentedSublists?/^ ?[*+-][ \t]/gm:/^ {0,3}[*+-][ \t]/gm,c="ul"===r?o: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),!!i)+"</"+r+">\n",c="ul"===(r="ul"===r?"ol":"ul")?o:s,t(u.slice(d))):l+="\n\n<"+r+p+">\n"+n(u,!!i)+"</"+r+">\n"}(e);else{var u=a(e,r);l="\n\n<"+r+u+">\n"+n(e,!!i)+"</"+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 o(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 o(r,n.search(/[*+-]/g)>-1?"ul":"ol",!1)}))).replace(/¨0/,""),e=r.converter._dispatch("lists.after",e,t,r)})),i.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,"&").replace(/"/g,""")).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)})),i.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)})),i.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=[],o=n.length,s=0;s<o;s++){var c=n[s];c.search(/¨(K|G)(\d+)\1/g)>=0?a.push(c):c.search(/\S/)>=0&&(c=(c=i.subParser("spanGamut")(c,t,r)).replace(/^([ \t]*)/g,"<p>"),c+="</p>",a.push(c))}for(o=a.length,s=0;s<o;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?i.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)})),i.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})),i.subParser("spanGamut",(function(e,t,r){"use strict";return e=r.converter._dispatch("spanGamut.before",e,t,r),e=i.subParser("codeSpans")(e,t,r),e=i.subParser("escapeSpecialCharsWithinTagAttributes")(e,t,r),e=i.subParser("encodeBackslashEscapes")(e,t,r),e=i.subParser("images")(e,t,r),e=i.subParser("anchors")(e,t,r),e=i.subParser("autoLinks")(e,t,r),e=i.subParser("simplifiedAutoLinks")(e,t,r),e=i.subParser("emoji")(e,t,r),e=i.subParser("underline")(e,t,r),e=i.subParser("italicsAndBold")(e,t,r),e=i.subParser("strikethrough")(e,t,r),e=i.subParser("ellipsis")(e,t,r),e=i.subParser("hashHTMLSpans")(e,t,r),e=i.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)})),i.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=i.subParser("simplifiedAutoLinks")(e,t,r)),"<del>"+e+"</del>"}(n)})),e=r.converter._dispatch("strikethrough.after",e,t,r)),e})),i.subParser("stripLinkDefinitions",(function(e,t,r){"use strict";var n=function(e,n,a,o,s,c,l){return n=n.toLowerCase(),a.match(/^data:.+?\/.+?;base64,/)?r.gUrls[n]=a.replace(/\s/g,""):r.gUrls[n]=i.subParser("encodeAmpsAndAngles")(a,t,r),c?c+l:(l&&(r.gTitles[n]=l.replace(/"|'/g,""")),t.parseImgDimensions&&o&&s&&(r.gDimensions[n]={width:o,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/,"")})),i.subParser("tables",(function(e,t,r){"use strict";if(!t.tables)return e;function n(e,n){return"<td"+n+">"+i.subParser("spanGamut")(e,t,r)+"</td>\n"}function a(e){var a,o=e.split("\n");for(a=0;a<o.length;++a)/^ {0,3}\|/.test(o[a])&&(o[a]=o[a].replace(/^ {0,3}\|/,"")),/\|[ \t]*$/.test(o[a])&&(o[a]=o[a].replace(/\|[ \t]*$/,"")),o[a]=i.subParser("codeSpans")(o[a],t,r);var s,c,l,u,d=o[0].split("|").map((function(e){return e.trim()})),p=o[1].split("|").map((function(e){return e.trim()})),h=[],f=[],g=[],m=[];for(o.shift(),o.shift(),a=0;a<o.length;++a)""!==o[a].trim()&&h.push(o[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)i.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=i.subParser("spanGamut")(c,t,r))+"</th>\n"));for(a=0;a<h.length;++a){for(var b=[],_=0;_<f.length;++_)i.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 i=0;i<n;++i)r+=t[a][i];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,i.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)})),i.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,i.helper.escapeCharactersCallback),e=r.converter._dispatch("underline.after",e,t,r)):e})),i.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)})),i.subParser("makeMarkdown.blockquote",(function(e,t){"use strict";var r="";if(e.hasChildNodes())for(var n=e.childNodes,a=n.length,o=0;o<a;++o){var s=i.subParser("makeMarkdown.node")(n[o],t);""!==s&&(r+=s)}return r="> "+(r=r.trim()).split("\n").join("\n> ")})),i.subParser("makeMarkdown.codeBlock",(function(e,t){"use strict";var r=e.getAttribute("language"),n=e.getAttribute("precodenum");return"```"+r+"\n"+t.preList[n]+"\n```"})),i.subParser("makeMarkdown.codeSpan",(function(e){"use strict";return"`"+e.innerHTML+"`"})),i.subParser("makeMarkdown.emphasis",(function(e,t){"use strict";var r="";if(e.hasChildNodes()){r+="*";for(var n=e.childNodes,a=n.length,o=0;o<a;++o)r+=i.subParser("makeMarkdown.node")(n[o],t);r+="*"}return r})),i.subParser("makeMarkdown.header",(function(e,t,r){"use strict";var n=new Array(r+1).join("#"),a="";if(e.hasChildNodes()){a=n+" ";for(var o=e.childNodes,s=o.length,c=0;c<s;++c)a+=i.subParser("makeMarkdown.node")(o[c],t)}return a})),i.subParser("makeMarkdown.hr",(function(){"use strict";return"---"})),i.subParser("makeMarkdown.image",(function(e){"use strict";var t="";return e.hasAttribute("src")&&(t+="+">",e.hasAttribute("width")&&e.hasAttribute("height")&&(t+=" ="+e.getAttribute("width")+"x"+e.getAttribute("height")),e.hasAttribute("title")&&(t+=' "'+e.getAttribute("title")+'"'),t+=")"),t})),i.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 o=0;o<a;++o)r+=i.subParser("makeMarkdown.node")(n[o],t);r+="](",r+="<"+e.getAttribute("href")+">",e.hasAttribute("title")&&(r+=' "'+e.getAttribute("title")+'"'),r+=")"}return r})),i.subParser("makeMarkdown.list",(function(e,t,r){"use strict";var n="";if(!e.hasChildNodes())return"";for(var a=e.childNodes,o=a.length,s=e.getAttribute("start")||1,c=0;c<o;++c)if(void 0!==a[c].tagName&&"li"===a[c].tagName.toLowerCase()){n+=("ol"===r?s.toString()+". ":"- ")+i.subParser("makeMarkdown.listItem")(a[c],t),++s}return(n+="\n\x3c!-- --\x3e\n").trim()})),i.subParser("makeMarkdown.listItem",(function(e,t){"use strict";for(var r="",n=e.childNodes,a=n.length,o=0;o<a;++o)r+=i.subParser("makeMarkdown.node")(n[o],t);return/\n$/.test(r)?r=r.split("\n").join("\n ").replace(/^ {4}$/gm,"").replace(/\n\n+/g,"\n\n"):r+="\n",r})),i.subParser("makeMarkdown.node",(function(e,t,r){"use strict";r=r||!1;var n="";if(3===e.nodeType)return i.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=i.subParser("makeMarkdown.header")(e,t,1)+"\n\n");break;case"h2":r||(n=i.subParser("makeMarkdown.header")(e,t,2)+"\n\n");break;case"h3":r||(n=i.subParser("makeMarkdown.header")(e,t,3)+"\n\n");break;case"h4":r||(n=i.subParser("makeMarkdown.header")(e,t,4)+"\n\n");break;case"h5":r||(n=i.subParser("makeMarkdown.header")(e,t,5)+"\n\n");break;case"h6":r||(n=i.subParser("makeMarkdown.header")(e,t,6)+"\n\n");break;case"p":r||(n=i.subParser("makeMarkdown.paragraph")(e,t)+"\n\n");break;case"blockquote":r||(n=i.subParser("makeMarkdown.blockquote")(e,t)+"\n\n");break;case"hr":r||(n=i.subParser("makeMarkdown.hr")(e,t)+"\n\n");break;case"ol":r||(n=i.subParser("makeMarkdown.list")(e,t,"ol")+"\n\n");break;case"ul":r||(n=i.subParser("makeMarkdown.list")(e,t,"ul")+"\n\n");break;case"precode":r||(n=i.subParser("makeMarkdown.codeBlock")(e,t)+"\n\n");break;case"pre":r||(n=i.subParser("makeMarkdown.pre")(e,t)+"\n\n");break;case"table":r||(n=i.subParser("makeMarkdown.table")(e,t)+"\n\n");break;case"code":n=i.subParser("makeMarkdown.codeSpan")(e,t);break;case"em":case"i":n=i.subParser("makeMarkdown.emphasis")(e,t);break;case"strong":case"b":n=i.subParser("makeMarkdown.strong")(e,t);break;case"del":n=i.subParser("makeMarkdown.strikethrough")(e,t);break;case"a":n=i.subParser("makeMarkdown.links")(e,t);break;case"img":n=i.subParser("makeMarkdown.image")(e,t);break;default:n=e.outerHTML+"\n\n"}return n})),i.subParser("makeMarkdown.paragraph",(function(e,t){"use strict";var r="";if(e.hasChildNodes())for(var n=e.childNodes,a=n.length,o=0;o<a;++o)r+=i.subParser("makeMarkdown.node")(n[o],t);return r=r.trim()})),i.subParser("makeMarkdown.pre",(function(e,t){"use strict";var r=e.getAttribute("prenum");return"<pre>"+t.preList[r]+"</pre>"})),i.subParser("makeMarkdown.strikethrough",(function(e,t){"use strict";var r="";if(e.hasChildNodes()){r+="~~";for(var n=e.childNodes,a=n.length,o=0;o<a;++o)r+=i.subParser("makeMarkdown.node")(n[o],t);r+="~~"}return r})),i.subParser("makeMarkdown.strong",(function(e,t){"use strict";var r="";if(e.hasChildNodes()){r+="**";for(var n=e.childNodes,a=n.length,o=0;o<a;++o)r+=i.subParser("makeMarkdown.node")(n[o],t);r+="**"}return r})),i.subParser("makeMarkdown.table",(function(e,t){"use strict";var r,n,a="",o=[[],[]],s=e.querySelectorAll("thead>tr>th"),c=e.querySelectorAll("tbody>tr");for(r=0;r<s.length;++r){var l=i.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=":---:"}o[0][r]=l.trim(),o[1][r]=u}for(r=0;r<c.length;++r){var d=o.push([])-1,p=c[r].getElementsByTagName("td");for(n=0;n<s.length;++n){var h=" ";void 0!==p[n]&&(h=i.subParser("makeMarkdown.tableCell")(p[n],t)),o[d].push(h)}}var f=3;for(r=0;r<o.length;++r)for(n=0;n<o[r].length;++n){var g=o[r][n].length;g>f&&(f=g)}for(r=0;r<o.length;++r){for(n=0;n<o[r].length;++n)1===r?":"===o[r][n].slice(-1)?o[r][n]=i.helper.padEnd(o[r][n].slice(-1),f-1,"-")+":":o[r][n]=i.helper.padEnd(o[r][n],f,"-"):o[r][n]=i.helper.padEnd(o[r][n],f);a+="| "+o[r].join(" | ")+" |\n"}return a.trim()})),i.subParser("makeMarkdown.tableCell",(function(e,t){"use strict";var r="";if(!e.hasChildNodes())return"";for(var n=e.childNodes,a=n.length,o=0;o<a;++o)r+=i.subParser("makeMarkdown.node")(n[o],t,!0);return r.trim()})),i.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=i.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 i}.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},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},Zss7:function(e,t,r){var n;!function(a){var i=/^\s+/,o=/\s+$/,s=0,c=a.round,l=a.min,u=a.max,d=a.random;function p(e,t){if(t=t||{},(e=e||"")instanceof p)return e;if(!(this instanceof p))return new p(e,t);var r=function(e){var t={r:0,g:0,b:0},r=1,n=null,s=null,c=null,d=!1,p=!1;"string"==typeof e&&(e=function(e){e=e.replace(i,"").replace(o,"").toLowerCase();var t,r=!1;if(E[e])e=E[e],r=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=$.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=$.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=$.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=$.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=$.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=$.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=$.hex8.exec(e))return{r:M(t[1]),g:M(t[2]),b:M(t[3]),a:H(t[4]),format:r?"name":"hex8"};if(t=$.hex6.exec(e))return{r:M(t[1]),g:M(t[2]),b:M(t[3]),format:r?"name":"hex"};if(t=$.hex4.exec(e))return{r:M(t[1]+""+t[1]),g:M(t[2]+""+t[2]),b:M(t[3]+""+t[3]),a:H(t[4]+""+t[4]),format:r?"name":"hex8"};if(t=$.hex3.exec(e))return{r:M(t[1]+""+t[1]),g:M(t[2]+""+t[2]),b:M(t[3]+""+t[3]),format:r?"name":"hex"};return!1}(e));"object"==typeof e&&(q(e.r)&&q(e.g)&&q(e.b)?(h=e.r,f=e.g,g=e.b,t={r:255*N(h,255),g:255*N(f,255),b:255*N(g,255)},d=!0,p="%"===String(e.r).substr(-1)?"prgb":"rgb"):q(e.h)&&q(e.s)&&q(e.v)?(n=D(e.s),s=D(e.v),t=function(e,t,r){e=6*N(e,360),t=N(t,100),r=N(r,100);var n=a.floor(e),i=e-n,o=r*(1-t),s=r*(1-i*t),c=r*(1-(1-i)*t),l=n%6;return{r:255*[r,s,o,o,c,r][l],g:255*[c,r,r,s,o,o][l],b:255*[o,o,c,r,r,s][l]}}(e.h,n,s),d=!0,p="hsv"):q(e.h)&&q(e.s)&&q(e.l)&&(n=D(e.s),c=D(e.l),t=function(e,t,r){var n,a,i;function o(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}if(e=N(e,360),t=N(t,100),r=N(r,100),0===t)n=a=i=r;else{var s=r<.5?r*(1+t):r+t-r*t,c=2*r-s;n=o(c,s,e+1/3),a=o(c,s,e),i=o(c,s,e-1/3)}return{r:255*n,g:255*a,b:255*i}}(e.h,n,c),d=!0,p="hsl"),e.hasOwnProperty("a")&&(r=e.a));var h,f,g;return r=P(r),{ok:d,format:e.format||p,r:l(255,u(t.r,0)),g:l(255,u(t.g,0)),b:l(255,u(t.b,0)),a:r}}(e);this._originalInput=e,this._r=r.r,this._g=r.g,this._b=r.b,this._a=r.a,this._roundA=c(100*this._a)/100,this._format=t.format||r.format,this._gradientType=t.gradientType,this._r<1&&(this._r=c(this._r)),this._g<1&&(this._g=c(this._g)),this._b<1&&(this._b=c(this._b)),this._ok=r.ok,this._tc_id=s++}function h(e,t,r){e=N(e,255),t=N(t,255),r=N(r,255);var n,a,i=u(e,t,r),o=l(e,t,r),s=(i+o)/2;if(i==o)n=a=0;else{var c=i-o;switch(a=s>.5?c/(2-i-o):c/(i+o),i){case e:n=(t-r)/c+(t<r?6:0);break;case t:n=(r-e)/c+2;break;case r:n=(e-t)/c+4}n/=6}return{h:n,s:a,l:s}}function f(e,t,r){e=N(e,255),t=N(t,255),r=N(r,255);var n,a,i=u(e,t,r),o=l(e,t,r),s=i,c=i-o;if(a=0===i?0:c/i,i==o)n=0;else{switch(i){case e:n=(t-r)/c+(t<r?6:0);break;case t:n=(r-e)/c+2;break;case r:n=(e-t)/c+4}n/=6}return{h:n,s:a,v:s}}function g(e,t,r,n){var a=[z(c(e).toString(16)),z(c(t).toString(16)),z(c(r).toString(16))];return n&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0):a.join("")}function m(e,t,r,n){return[z(I(n)),z(c(e).toString(16)),z(c(t).toString(16)),z(c(r).toString(16))].join("")}function b(e,t){t=0===t?0:t||10;var r=p(e).toHsl();return r.s-=t/100,r.s=L(r.s),p(r)}function _(e,t){t=0===t?0:t||10;var r=p(e).toHsl();return r.s+=t/100,r.s=L(r.s),p(r)}function k(e){return p(e).desaturate(100)}function w(e,t){t=0===t?0:t||10;var r=p(e).toHsl();return r.l+=t/100,r.l=L(r.l),p(r)}function y(e,t){t=0===t?0:t||10;var r=p(e).toRgb();return r.r=u(0,l(255,r.r-c(-t/100*255))),r.g=u(0,l(255,r.g-c(-t/100*255))),r.b=u(0,l(255,r.b-c(-t/100*255))),p(r)}function v(e,t){t=0===t?0:t||10;var r=p(e).toHsl();return r.l-=t/100,r.l=L(r.l),p(r)}function j(e,t){var r=p(e).toHsl(),n=(r.h+t)%360;return r.h=n<0?360+n:n,p(r)}function T(e){var t=p(e).toHsl();return t.h=(t.h+180)%360,p(t)}function O(e){var t=p(e).toHsl(),r=t.h;return[p(e),p({h:(r+120)%360,s:t.s,l:t.l}),p({h:(r+240)%360,s:t.s,l:t.l})]}function x(e){var t=p(e).toHsl(),r=t.h;return[p(e),p({h:(r+90)%360,s:t.s,l:t.l}),p({h:(r+180)%360,s:t.s,l:t.l}),p({h:(r+270)%360,s:t.s,l:t.l})]}function C(e){var t=p(e).toHsl(),r=t.h;return[p(e),p({h:(r+72)%360,s:t.s,l:t.l}),p({h:(r+216)%360,s:t.s,l:t.l})]}function S(e,t,r){t=t||6,r=r||30;var n=p(e).toHsl(),a=360/r,i=[p(e)];for(n.h=(n.h-(a*t>>1)+720)%360;--t;)n.h=(n.h+a)%360,i.push(p(n));return i}function A(e,t){t=t||6;for(var r=p(e).toHsv(),n=r.h,a=r.s,i=r.v,o=[],s=1/t;t--;)o.push(p({h:n,s:a,v:i})),i=(i+s)%1;return o}p.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,r,n=this.toRgb();return e=n.r/255,t=n.g/255,r=n.b/255,.2126*(e<=.03928?e/12.92:a.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:a.pow((t+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:a.pow((r+.055)/1.055,2.4))},setAlpha:function(e){return this._a=P(e),this._roundA=c(100*this._a)/100,this},toHsv:function(){var e=f(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=f(this._r,this._g,this._b),t=c(360*e.h),r=c(100*e.s),n=c(100*e.v);return 1==this._a?"hsv("+t+", "+r+"%, "+n+"%)":"hsva("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHsl:function(){var e=h(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=h(this._r,this._g,this._b),t=c(360*e.h),r=c(100*e.s),n=c(100*e.l);return 1==this._a?"hsl("+t+", "+r+"%, "+n+"%)":"hsla("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHex:function(e){return g(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,r,n,a){var i=[z(c(e).toString(16)),z(c(t).toString(16)),z(c(r).toString(16)),z(I(n))];if(a&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)&&i[3].charAt(0)==i[3].charAt(1))return i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0);return i.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:c(this._r),g:c(this._g),b:c(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+c(this._r)+", "+c(this._g)+", "+c(this._b)+")":"rgba("+c(this._r)+", "+c(this._g)+", "+c(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:c(100*N(this._r,255))+"%",g:c(100*N(this._g,255))+"%",b:c(100*N(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+c(100*N(this._r,255))+"%, "+c(100*N(this._g,255))+"%, "+c(100*N(this._b,255))+"%)":"rgba("+c(100*N(this._r,255))+"%, "+c(100*N(this._g,255))+"%, "+c(100*N(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(B[g(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+m(this._r,this._g,this._b,this._a),r=t,n=this._gradientType?"GradientType = 1, ":"";if(e){var a=p(e);r="#"+m(a._r,a._g,a._b,a._a)}return"progid:DXImageTransform.Microsoft.gradient("+n+"startColorstr="+t+",endColorstr="+r+")"},toString:function(e){var t=!!e;e=e||this._format;var r=!1,n=this._a<1&&this._a>=0;return t||!n||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(r=this.toRgbString()),"prgb"===e&&(r=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(r=this.toHexString()),"hex3"===e&&(r=this.toHexString(!0)),"hex4"===e&&(r=this.toHex8String(!0)),"hex8"===e&&(r=this.toHex8String()),"name"===e&&(r=this.toName()),"hsl"===e&&(r=this.toHslString()),"hsv"===e&&(r=this.toHsvString()),r||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return p(this.toString())},_applyModification:function(e,t){var r=e.apply(null,[this].concat([].slice.call(t)));return this._r=r._r,this._g=r._g,this._b=r._b,this.setAlpha(r._a),this},lighten:function(){return this._applyModification(w,arguments)},brighten:function(){return this._applyModification(y,arguments)},darken:function(){return this._applyModification(v,arguments)},desaturate:function(){return this._applyModification(b,arguments)},saturate:function(){return this._applyModification(_,arguments)},greyscale:function(){return this._applyModification(k,arguments)},spin:function(){return this._applyModification(j,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(S,arguments)},complement:function(){return this._applyCombination(T,arguments)},monochromatic:function(){return this._applyCombination(A,arguments)},splitcomplement:function(){return this._applyCombination(C,arguments)},triad:function(){return this._applyCombination(O,arguments)},tetrad:function(){return this._applyCombination(x,arguments)}},p.fromRatio=function(e,t){if("object"==typeof e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]="a"===n?e[n]:D(e[n]));e=r}return p(e,t)},p.equals=function(e,t){return!(!e||!t)&&p(e).toRgbString()==p(t).toRgbString()},p.random=function(){return p.fromRatio({r:d(),g:d(),b:d()})},p.mix=function(e,t,r){r=0===r?0:r||50;var n=p(e).toRgb(),a=p(t).toRgb(),i=r/100;return p({r:(a.r-n.r)*i+n.r,g:(a.g-n.g)*i+n.g,b:(a.b-n.b)*i+n.b,a:(a.a-n.a)*i+n.a})},p.readability=function(e,t){var r=p(e),n=p(t);return(a.max(r.getLuminance(),n.getLuminance())+.05)/(a.min(r.getLuminance(),n.getLuminance())+.05)},p.isReadable=function(e,t,r){var n,a,i=p.readability(e,t);switch(a=!1,(n=function(e){var t,r;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),r=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==r&&"large"!==r&&(r="small");return{level:t,size:r}}(r)).level+n.size){case"AAsmall":case"AAAlarge":a=i>=4.5;break;case"AAlarge":a=i>=3;break;case"AAAsmall":a=i>=7}return a},p.mostReadable=function(e,t,r){var n,a,i,o,s=null,c=0;a=(r=r||{}).includeFallbackColors,i=r.level,o=r.size;for(var l=0;l<t.length;l++)(n=p.readability(e,t[l]))>c&&(c=n,s=p(t[l]));return p.isReadable(e,s,{level:i,size:o})||!a?s:(r.includeFallbackColors=!1,p.mostReadable(e,["#fff","#000"],r))};var E=p.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},B=p.hexNames=function(e){var t={};for(var r in e)e.hasOwnProperty(r)&&(t[e[r]]=r);return t}(E);function P(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function N(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var r=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=l(t,u(0,parseFloat(e))),r&&(e=parseInt(e*t,10)/100),a.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function L(e){return l(1,u(0,e))}function M(e){return parseInt(e,16)}function z(e){return 1==e.length?"0"+e:""+e}function D(e){return e<=1&&(e=100*e+"%"),e}function I(e){return a.round(255*parseFloat(e)).toString(16)}function H(e){return M(e)/255}var V,R,F,$=(R="[\\s|\\(]+("+(V="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+V+")[,|\\s]+("+V+")\\s*\\)?",F="[\\s|\\(]+("+V+")[,|\\s]+("+V+")[,|\\s]+("+V+")[,|\\s]+("+V+")\\s*\\)?",{CSS_UNIT:new RegExp(V),rgb:new RegExp("rgb"+R),rgba:new RegExp("rgba"+F),hsl:new RegExp("hsl"+R),hsla:new RegExp("hsla"+F),hsv:new RegExp("hsv"+R),hsva:new RegExp("hsva"+F),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function q(e){return!!$.CSS_UNIT.exec(e)}e.exports?e.exports=p:void 0===(n=function(){return p}.call(t,r,t,e))||(e.exports=n)}(Math)},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 i(e){return[e]}function o(){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:o()}function u(){var r,n,a,i,o,l=arguments.length;for(i=new Array(l),a=0;a<l;a++)i[a]=arguments[a];for(o=t.apply(null,i),(r=c(o)).isUniqueByDependants||(r.lastDependants&&!s(o,r.lastDependants,0)&&r.clear(),r.lastDependants=o),n=r.head;n;){if(s(n.args,i,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,i)},i[0]=null,n.args=i,r.head&&(r.head.prev=n,n.next=r.head),r.head=n,n.val}return t||(t=i),c=a?function(e){var t,a,i,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):(i=new WeakMap,l.set(a,i),l=i)}return l.has(n)||((s=o()).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 +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")}({"//Lo":function(e,t,r){"use strict";var n=r("GRId"),a=r("Tqx9");const o=Object(n.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(n.createElement)(a.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},"0ATp":function(e,t,r){"use strict";r.r(t),r.d(t,"store",(function(){return Y})),r.d(t,"createBlock",(function(){return We})),r.d(t,"createBlocksFromInnerBlocksTemplate",(function(){return Ye})),r.d(t,"cloneBlock",(function(){return Ze})),r.d(t,"__experimentalCloneSanitizedBlock",(function(){return Qe})),r.d(t,"getPossibleBlockTransformations",(function(){return tt})),r.d(t,"switchToBlockType",(function(){return at})),r.d(t,"getBlockTransforms",(function(){return nt})),r.d(t,"findTransform",(function(){return rt})),r.d(t,"getBlockFromExample",(function(){return ot})),r.d(t,"parse",(function(){return Br})),r.d(t,"getBlockAttributes",(function(){return Or})),r.d(t,"parseWithAttributeSchema",(function(){return jr})),r.d(t,"pasteHandler",(function(){return fn})),r.d(t,"rawHandler",(function(){return mn})),r.d(t,"getPhrasingContentSchema",(function(){return gn})),r.d(t,"serialize",(function(){return $t})),r.d(t,"getBlockContent",(function(){return Ht})),r.d(t,"getBlockDefaultClassName",(function(){return Nt})),r.d(t,"getBlockMenuDefaultClassName",(function(){return Lt})),r.d(t,"getSaveElement",(function(){return Dt})),r.d(t,"getSaveContent",(function(){return It})),r.d(t,"__unstableGetBlockProps",(function(){return zt})),r.d(t,"__unstableSerializeAndClean",(function(){return Ft})),r.d(t,"isValidBlockContent",(function(){return pr})),r.d(t,"getCategories",(function(){return bn})),r.d(t,"setCategories",(function(){return _n})),r.d(t,"updateCategory",(function(){return kn})),r.d(t,"registerBlockType",(function(){return ve})),r.d(t,"registerBlockTypeFromMetadata",(function(){return je})),r.d(t,"registerBlockCollection",(function(){return Te})),r.d(t,"unregisterBlockType",(function(){return Oe})),r.d(t,"setFreeformContentHandlerName",(function(){return xe})),r.d(t,"getFreeformContentHandlerName",(function(){return Ce})),r.d(t,"setUnregisteredTypeHandlerName",(function(){return Ae})),r.d(t,"getUnregisteredTypeHandlerName",(function(){return Ee})),r.d(t,"setDefaultBlockName",(function(){return Be})),r.d(t,"getDefaultBlockName",(function(){return Ne})),r.d(t,"setGroupingBlockName",(function(){return Pe})),r.d(t,"getGroupingBlockName",(function(){return Se})),r.d(t,"getBlockType",(function(){return Le})),r.d(t,"getBlockTypes",(function(){return Me})),r.d(t,"getBlockSupport",(function(){return ze})),r.d(t,"hasBlockSupport",(function(){return De})),r.d(t,"getBlockVariations",(function(){return Ue})),r.d(t,"isReusableBlock",(function(){return Ie})),r.d(t,"isTemplatePart",(function(){return He})),r.d(t,"getChildBlockNames",(function(){return Ve})),r.d(t,"hasChildBlocks",(function(){return Re})),r.d(t,"hasChildBlocksWithInserterSupport",(function(){return Fe})),r.d(t,"unstable__bootstrapServerSideBlockDefinitions",(function(){return ye})),r.d(t,"registerBlockStyle",(function(){return $e})),r.d(t,"unregisterBlockStyle",(function(){return qe})),r.d(t,"registerBlockVariation",(function(){return Ge})),r.d(t,"unregisterBlockVariation",(function(){return Ke})),r.d(t,"isUnmodifiedDefaultBlock",(function(){return ie})),r.d(t,"normalizeIconObject",(function(){return ce})),r.d(t,"isValidIcon",(function(){return se})),r.d(t,"__experimentalGetBlockLabel",(function(){return ue})),r.d(t,"__experimentalGetAccessibleBlockLabel",(function(){return de})),r.d(t,"__experimentalSanitizeBlockAttributes",(function(){return pe})),r.d(t,"__experimentalGetBlockAttributesNamesByRole",(function(){return he})),r.d(t,"doBlocksMatchTemplate",(function(){return yn})),r.d(t,"synchronizeBlocksWithTemplate",(function(){return wn})),r.d(t,"children",(function(){return yr})),r.d(t,"node",(function(){return mr})),r.d(t,"__EXPERIMENTAL_STYLE_PROPERTY",(function(){return ge})),r.d(t,"__EXPERIMENTAL_ELEMENTS",(function(){return me})),r.d(t,"withBlockContentContext",(function(){return Bt}));var n={};r.r(n),r.d(n,"getBlockTypes",(function(){return b})),r.d(n,"getBlockType",(function(){return _})),r.d(n,"getBlockStyles",(function(){return k})),r.d(n,"getBlockVariations",(function(){return y})),r.d(n,"getActiveBlockVariation",(function(){return w})),r.d(n,"getDefaultBlockVariation",(function(){return v})),r.d(n,"getCategories",(function(){return j})),r.d(n,"getCollections",(function(){return T})),r.d(n,"getDefaultBlockName",(function(){return O})),r.d(n,"getFreeformFallbackBlockName",(function(){return x})),r.d(n,"getUnregisteredFallbackBlockName",(function(){return C})),r.d(n,"getGroupingBlockName",(function(){return S})),r.d(n,"getChildBlockNames",(function(){return A})),r.d(n,"getBlockSupport",(function(){return E})),r.d(n,"hasBlockSupport",(function(){return B})),r.d(n,"isMatchingSearchTerm",(function(){return P})),r.d(n,"hasChildBlocks",(function(){return N})),r.d(n,"hasChildBlocksWithInserterSupport",(function(){return L}));var a={};r.r(a),r.d(a,"addBlockTypes",(function(){return M})),r.d(a,"removeBlockTypes",(function(){return z})),r.d(a,"addBlockStyles",(function(){return D})),r.d(a,"removeBlockStyles",(function(){return I})),r.d(a,"addBlockVariations",(function(){return H})),r.d(a,"removeBlockVariations",(function(){return V})),r.d(a,"setDefaultBlockName",(function(){return R})),r.d(a,"setFreeformFallbackBlockName",(function(){return F})),r.d(a,"setUnregisteredFallbackBlockName",(function(){return $})),r.d(a,"setGroupingBlockName",(function(){return q})),r.d(a,"setCategories",(function(){return U})),r.d(a,"updateCategory",(function(){return G})),r.d(a,"addBlockCollection",(function(){return K})),r.d(a,"removeBlockCollection",(function(){return W}));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(t=null,r)=>{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)({blockTypes:function(e={},t){switch(t.type){case"ADD_BLOCK_TYPES":return{...e,...Object(i.keyBy)(Object(i.map)(t.blockTypes,e=>Object(i.omit)(e,"styles ")),"name")};case"REMOVE_BLOCK_TYPES":return Object(i.omit)(e,t.names)}return e},blockStyles:function(e={},t){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"],[]),...Object(i.get)(e,[t.name],[])],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(e={},t){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"],[]),...Object(i.get)(e,[t.name],[])],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(e=c,t){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(e={},t){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?_(e,t):t,b=Object(g.a)(e=>Object.values(e.blockTypes).map(t=>({...t,variations:y(e,t.name)})),e=>[e.blockTypes,e.blockVariations]);function _(e,t){return e.blockTypes[t]}function k(e,t){return e.blockStyles[t]}const y=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 w(e,t,r,n){const a=y(e,t,n);return null==a?void 0:a.find(n=>{var a;if(Array.isArray(n.isActive)){const a=_(e,t),o=Object.keys(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 v(e,t,r){const n=y(e,t,r);return Object(i.findLast)(n,"isDefault")||Object(i.first)(n)}function j(e){return e.categories}function T(e){return e.collections}function O(e){return e.defaultBlockName}function x(e){return e.freeformFallbackBlockName}function C(e){return e.unregisteredFallbackBlockName}function S(e){return e.groupingBlockName}const A=Object(g.a)((e,t)=>Object(i.map)(Object(i.filter)(e.blockTypes,e=>Object(i.includes)(e.parent,t)),({name:e})=>e),e=>[e.blockTypes]),E=(e,t,r,n)=>{const a=m(e,t);return Object(i.get)(a,["supports",...r.split(".")],n)};function B(e,t,r,n){return!!E(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 N=(e,t)=>A(e,t).length>0,L=(e,t)=>Object(i.some)(A(e,t),t=>B(e,t,"inserter",!0));function M(e){return{type:"ADD_BLOCK_TYPES",blockTypes:Object(i.castArray)(e)}}function z(e){return{type:"REMOVE_BLOCK_TYPES",names:Object(i.castArray)(e)}}function D(e,t){return{type:"ADD_BLOCK_STYLES",styles:Object(i.castArray)(t),blockName:e}}function I(e,t){return{type:"REMOVE_BLOCK_STYLES",styleNames:Object(i.castArray)(t),blockName:e}}function H(e,t){return{type:"ADD_BLOCK_VARIATIONS",variations:Object(i.castArray)(t),blockName:e}}function V(e,t){return{type:"REMOVE_BLOCK_VARIATIONS",variationNames:Object(i.castArray)(t),blockName:e}}function R(e){return{type:"SET_DEFAULT_BLOCK_NAME",name:e}}function F(e){return{type:"SET_FREEFORM_FALLBACK_BLOCK_NAME",name:e}}function $(e){return{type:"SET_UNREGISTERED_FALLBACK_BLOCK_NAME",name:e}}function q(e){return{type:"SET_GROUPING_BLOCK_NAME",name:e}}function U(e){return{type:"SET_CATEGORIES",categories:e}}function G(e,t){return{type:"UPDATE_CATEGORY",slug:e,category:t}}function K(e,t,r){return{type:"ADD_BLOCK_COLLECTION",namespace:e,title:t,icon:r}}function W(e){return{type:"REMOVE_BLOCK_COLLECTION",namespace:e}}const Y=Object(o.createReduxStore)("core/blocks",{reducer:f,selectors:n,actions:a});Object(o.register)(Y);var Q=r("7Cbv"),Z=r("g56x"),X=r("NMb1"),J=r.n(X),ee=r("//Lo"),te=r("Zss7"),re=r.n(te),ne=r("GRId"),ae=r("1CF3");const oe=["#191e23","#f8f9f9"];function ie(e){const t=Ne();if(e.name!==t)return!1;ie.block&&ie.block.name===t||(ie.block=We(t));const r=ie.block,n=Le(t);return Object(i.every)(n.attributes,(t,n)=>r.attributes[n]===e.attributes[n])}function se(e){return!!e&&(Object(i.isString)(e)||Object(ne.isValidElement)(e)||Object(i.isFunction)(e)||e instanceof ne.Component)}function ce(e){if(se(e))return{src:e};if(Object(i.has)(e,["background"])){const t=re()(e.background);return{...e,foreground:e.foreground?e.foreground:Object(te.mostReadable)(t,oe,{includeFallbackColors:!0,level:"AA",size:"large"}).toHexString(),shadowColor:t.setAlpha(.3).toRgbString()}}return e}function le(e){return Object(i.isString)(e)?Le(e):e}function ue(e,t,r="visual"){const{__experimentalLabel:n,title:a}=e,o=n&&n(t,{context:r});return o?Object(ae.__unstableStripHTML)(o):a}function de(e,t,r,n="vertical"){const{title:a}=e,o=ue(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 pe(e,t){const r=Le(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 he(e,t){var r;const n=null===(r=Le(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 fe=["attributes","supports","save","migrate","isEligible","apiVersion"],ge={"--wp--style--color--link":{value:["color","link"],support:["color","link"]},background:{value:["color","gradient"],support:["color","gradients"]},backgroundColor:{value:["color","background"],support:["color"]},borderColor:{value:["border","color"],support:["__experimentalBorder","color"]},borderRadius:{value:["border","radius"],support:["__experimentalBorder","radius"]},borderStyle:{value:["border","style"],support:["__experimentalBorder","style"]},borderWidth:{value:["border","width"],support:["__experimentalBorder","width"]},color:{value:["color","text"],support:["color"]},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:["top","right","bottom","left"]},padding:{value:["spacing","padding"],support:["spacing","padding"],properties:["top","right","bottom","left"]},textDecoration:{value:["typography","textDecoration"],support:["typography","__experimentalTextDecoration"]},textTransform:{value:["typography","textTransform"],support:["typography","__experimentalTextTransform"]}},me={link:"a",h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6"},be={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"]}]},_e={common:"text",formatting:"text",layout:"design"},ke={};function ye(e){for(const t of Object.keys(e))ke[t]?void 0===ke[t].apiVersion&&e[t].apiVersion&&(ke[t].apiVersion=e[t].apiVersion):ke[t]=Object(i.mapKeys)(Object(i.pickBy)(e[t],e=>!Object(i.isNil)(e)),(e,t)=>Object(i.camelCase)(t))}function we({textdomain:e,...t}){const r=Object(i.pick)(t,["apiVersion","title","category","parent","icon","description","keywords","attributes","providesContext","usesContext","supports","styles","example","variations"]);return e&&Object.keys(be).forEach(t=>{r[t]&&(r[t]=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}(be[t],r[t],e))}),r}function ve(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(Object(i.isObject)(e)&&ye({[r]:we(e)}),t={name:r,icon:ee.a,keywords:[],attributes:{},providesContext:{},usesContext:[],supports:{},styles:[],save:()=>null,...null==ke?void 0:ke[r],...t},!/^[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)(Y).getBlockType(r))return void console.error('Block "'+r+'" is already registered.');const n={...t};if((t=Object(Z.applyFilters)("blocks.registerBlockType",t,r)).deprecated&&(t.deprecated=t.deprecated.map(e=>Object(i.pick)(Object(Z.applyFilters)("blocks.registerBlockType",{...Object(i.omit)(n,fe),...e},r),fe))),Object(i.isPlainObject)(t))if(Object(i.isFunction)(t.save))if(!("edit"in t)||Object(i.isFunction)(t.edit))if(_e.hasOwnProperty(t.category)&&(t.category=_e[t.category]),"category"in t&&!Object(i.some)(Object(o.select)(Y).getCategories(),{slug:t.category})&&(console.warn('The block "'+r+'" is registered with an invalid category "'+t.category+'".'),delete t.category),"title"in t&&""!==t.title)if("string"==typeof t.title){if(t.icon=ce(t.icon),se(t.icon.src))return Object(o.dispatch)(Y).addBlockTypes(t),t;console.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")}else console.error("Block titles must be strings.");else console.error('The block "'+r+'" must have a title.');else console.error('The "edit" property must be a valid function.');else console.error('The "save" property must be a valid function.');else console.error("Block settings must be a valid object.")}function je(e,t){return J()("wp.blocks.registerBlockTypeFromMetadata",{since:"10.7",plugin:"Gutenberg",alternative:"wp.blocks.registerBlockType",version:"11.0"}),ve(e,t)}function Te(e,{title:t,icon:r}){Object(o.dispatch)(Y).addBlockCollection(e,t,r)}function Oe(e){const t=Object(o.select)(Y).getBlockType(e);if(t)return Object(o.dispatch)(Y).removeBlockTypes(e),t;console.error('Block "'+e+'" is not registered.')}function xe(e){Object(o.dispatch)(Y).setFreeformFallbackBlockName(e)}function Ce(){return Object(o.select)(Y).getFreeformFallbackBlockName()}function Se(){return Object(o.select)(Y).getGroupingBlockName()}function Ae(e){Object(o.dispatch)(Y).setUnregisteredFallbackBlockName(e)}function Ee(){return Object(o.select)(Y).getUnregisteredFallbackBlockName()}function Be(e){Object(o.dispatch)(Y).setDefaultBlockName(e)}function Pe(e){Object(o.dispatch)(Y).setGroupingBlockName(e)}function Ne(){return Object(o.select)(Y).getDefaultBlockName()}function Le(e){return Object(o.select)(Y).getBlockType(e)}function Me(){return Object(o.select)(Y).getBlockTypes()}function ze(e,t,r){return Object(o.select)(Y).getBlockSupport(e,t,r)}function De(e,t,r){return Object(o.select)(Y).hasBlockSupport(e,t,r)}function Ie(e){return"core/block"===e.name}function He(e){return"core/template-part"===e.name}const Ve=e=>Object(o.select)(Y).getChildBlockNames(e),Re=e=>Object(o.select)(Y).hasChildBlocks(e),Fe=e=>Object(o.select)(Y).hasChildBlocksWithInserterSupport(e),$e=(e,t)=>{Object(o.dispatch)(Y).addBlockStyles(e,t)},qe=(e,t)=>{Object(o.dispatch)(Y).removeBlockStyles(e,t)},Ue=(e,t)=>Object(o.select)(Y).getBlockVariations(e,t),Ge=(e,t)=>{Object(o.dispatch)(Y).addBlockVariations(e,t)},Ke=(e,t)=>{Object(o.dispatch)(Y).removeBlockVariations(e,t)};function We(e,t={},r=[]){const n=pe(e,t);return{clientId:Object(Q.a)(),name:e,isValid:!0,attributes:n,innerBlocks:r}}function Ye(e=[]){return e.map(e=>{const t=Array.isArray(e)?e:[e.name,e.attributes,e.innerBlocks],[r,n,a=[]]=t;return We(r,n,Ye(a))})}function Qe(e,t={},r){const n=Object(Q.a)(),a=pe(e.name,{...e.attributes,...t});return{...e,clientId:n,attributes:a,innerBlocks:r||e.innerBlocks.map(e=>Qe(e))}}function Ze(e,t={},r){const n=Object(Q.a)();return{...e,clientId:n,attributes:{...e.attributes,...t},innerBlocks:r||e.innerBlocks.map(e=>Ze(e))}}const Xe=(e,t,r)=>{if(Object(i.isEmpty)(r))return!1;const n=r.length>1,a=Object(i.first)(r).name;if(!(Je(e)||!n||e.isMultiBlock))return!1;if(!Je(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)||Je(e)))return!1;if(!n&&et(o.name)&&et(e.blockName))return!1;if(Object(i.isFunction)(e.isMatch)){const t=e.isMultiBlock?r.map(e=>e.attributes):o.attributes;if(!e.isMatch(t))return!1}return!(e.usingMobileTransformations&&Je(e)&&!et(o.name))},Je=e=>e&&"block"===e.type&&Array.isArray(e.blocks)&&e.blocks.includes("*"),et=e=>e===Se();function tt(e){if(Object(i.isEmpty)(e))return[];const t=(e=>{if(Object(i.isEmpty)(e))return[];const t=Me();return Object(i.filter)(t,t=>!!rt(nt("from",t.name),t=>Xe(t,"from",e)))})(e),r=(e=>{if(Object(i.isEmpty)(e))return[];const t=nt("to",Le(Object(i.first)(e).name).name),r=Object(i.filter)(t,t=>t&&Xe(t,"to",e));return Object(i.flatMap)(r,e=>e.blocks).map(e=>Le(e))})(e);return Object(i.uniq)([...t,...r])}function rt(e,t){const r=Object(Z.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 nt(e,t){if(void 0===t)return Object(i.flatMap)(Me(),({name:t})=>nt(e,t));const r=le(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)&&(!!Je(e)||Object(i.every)(e.blocks,e=>a.supportedMobileTransforms.includes(e)))):a[e]).map(e=>({...e,blockName:n,usingMobileTransformations:o}))}function at(e,t){const r=Object(i.castArray)(e),n=r.length>1,a=r[0],o=a.name,s=nt("from",t),c=rt(nt("to",o),e=>"block"===e.type&&(Je(e)||-1!==e.blocks.indexOf(t))&&(!n||e.isMultiBlock))||rt(s,e=>"block"===e.type&&(Je(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=>!Le(e.name)))return null;if(!Object(i.some)(l,e=>e.name===t))return null;return l.map(t=>Object(Z.applyFilters)("blocks.switchToBlockType.transformedBlock",t,e))}const ot=(e,t)=>We(e,t.attributes,Object(i.map)(t.innerBlocks,e=>ot(e.name,e)));function it(e,t){for(var r,n=t.split(".");r=n.shift();){if(!(r in e))return;e=e[r]}return e}var st,ct=function(){return st||(st=document.implementation.createHTMLDocument("")),st};function lt(e,t){if(t){if("string"==typeof e){var r=ct();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]=lt(e,t[n]),r}),{})}}function ut(e,t){return 1===arguments.length&&(t=e,e=void 0),function(r){var n=r;if(e&&(n=r.querySelector(e)),n)return it(n,t)}}var dt=r("UuzZ"),pt=r("ouCq"),ht=/^#[xX]([A-Fa-f0-9]+)$/,ft=/^#([0-9]+)$/,gt=/^([A-Za-z0-9]+)$/,mt=(function(){function e(e){this.named=e}e.prototype.parse=function(e){if(e){var t=e.match(ht);return t?String.fromCharCode(parseInt(t[1],16)):(t=e.match(ft))?String.fromCharCode(parseInt(t[1],10)):(t=e.match(gt))?this.named[t[1]]:void 0}}}(),/[\t\n\f ]/),bt=/[A-Za-z]/,_t=/\r\n?/g;function kt(e){return mt.test(e)}function yt(e){return bt.test(e)}var wt=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||yt(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(){kt(this.consume())&&this.transitionTo("beforeDoctypeName")},beforeDoctypeName:function(){var e=this.consume();kt(e)||(this.transitionTo("doctypeName"),this.delegate.appendToDoctypeName&&this.delegate.appendToDoctypeName(e.toLowerCase()))},doctypeName:function(){var e=this.consume();kt(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(!kt(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();kt(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();kt(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();kt(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();kt(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();kt(e)?this.transitionTo("beforeAttributeName"):"/"===e?this.transitionTo("selfClosingStartTag"):">"===e?(this.delegate.finishTag(),this.transitionTo("beforeData")):this.appendToTagName(e)},endTagName:function(){var e=this.consume();kt(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();kt(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();kt(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();kt(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();kt(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();kt(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();kt(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||yt(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(_t,"\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}(),vt=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 wt(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 jt=r("rmEH");function Tt(){function e(e){return(t,...r)=>e("Block validation: "+t,...r)}return{error:e(console.error),warning:e(console.warn),getItems:()=>[]}}var Ot=r("rl8x"),xt=r.n(Ot),Ct=r("wx14"),St=r("K9lf");const{Consumer:At,Provider:Et}=Object(ne.createContext)(()=>{}),Bt=Object(St.createHigherOrderComponent)(e=>t=>Object(ne.createElement)(At,null,r=>Object(ne.createElement)(e,Object(Ct.a)({},t,{BlockContent:r}))),"withBlockContentContext");var Pt=({children:e,innerBlocks:t})=>Object(ne.createElement)(Et,{value:()=>{const e=$t(t,{isInnerBlocks:!0});return Object(ne.createElement)(ne.RawHTML,null,e)}},e);function Nt(e){const t="wp-block-"+e.replace(/\//,"-").replace(/^core-/,"");return Object(Z.applyFilters)("blocks.getBlockDefaultClassName",t,e)}function Lt(e){const t="editor-block-list-item-"+e.replace(/\//,"-").replace(/^core-/,"");return Object(Z.applyFilters)("blocks.getBlockMenuDefaultClassName",t,e)}const Mt={};function zt(e={}){const{blockType:t,attributes:r}=Mt;return Object(Z.applyFilters)("blocks.getSaveContent.extraProps",{...e},t,r)}function Dt(e,t,r=[]){const n=le(e);let{save:a}=n;if(a.prototype instanceof ne.Component){const e=new a({attributes:t});a=e.render.bind(e)}Mt.blockType=n,Mt.attributes=t;let o=a({attributes:t,innerBlocks:r});const s=n.apiVersion>1||De(n,"lightBlockWrapper",!1);if(Object(i.isObject)(o)&&Object(Z.hasFilter)("blocks.getSaveContent.extraProps")&&!s){const e=Object(Z.applyFilters)("blocks.getSaveContent.extraProps",{...o.props},n,t);xt()(e,o.props)||(o=Object(ne.cloneElement)(o,e))}return o=Object(Z.applyFilters)("blocks.getSaveElement",o,n,t),Object(ne.createElement)(Pt,{innerBlocks:r},o)}function It(e,t,r){const n=le(e);return Object(ne.renderToString)(Dt(n,t,r))}function Ht(e){let t=e.originalContent;if(e.isValid||e.innerBlocks.length)try{t=It(e.name,e.attributes,e.innerBlocks)}catch(e){}return t}function Vt(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 Rt(e,{isInnerBlocks:t=!1}={}){const r=e.name,n=Ht(e);if(r===Ee()||!t&&r===Ce())return n;return Vt(r,function(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},{})}(Le(r),e.attributes),n)}function Ft(e){1===e.length&&ie(e[0])&&(e=[]);let t=$t(e);return 1===e.length&&e[0].name===Ce()&&(t=Object(dt.removep)(t)),t}function $t(e,t){return Object(i.castArray)(e).map(e=>Rt(e,t)).join("\n\n")}const qt=/[\t\n\r\v\f ]+/g,Ut=/^[\t\n\r\v\f ]*$/,Gt=/^url\s*\(['"\s]*(.*?)['"\s]*\)$/,Kt=["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"],Wt=[...Kt,"autocapitalize","autocomplete","charset","contenteditable","crossorigin","decoding","dir","draggable","enctype","formenctype","formmethod","http-equiv","inputmode","kind","method","preload","scope","shape","spellcheck","translate","type","wrap"],Yt=[i.identity,function(e){return er(e).join(" ")}],Qt=/^[\da-z]+$/i,Zt=/^#\d+$/,Xt=/^#x[\da-f]+$/i;class Jt{parse(e){if(t=e,Qt.test(t)||Zt.test(t)||Xt.test(t))return Object(jt.decodeEntities)("&"+e+";");var t}}function er(e){return e.trim().split(qt)}function tr(e){return e.attributes.filter(e=>{const[t,r]=e;return r||0===t.indexOf("data-")||Object(i.includes)(Wt,t)})}function rr(e,t,r=Tt()){let n=e.chars,a=t.chars;for(let e=0;e<Yt.length;e++){const t=Yt[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 nr(e){return 0===parseFloat(e)?"0":e}function ar(e){return er(e).map(nr).join(" ").replace(Gt,"url($1)")}function or(e){const t=e.replace(/;?\s*$/,"").split(";").map(e=>{const[t,...r]=e.split(":"),n=r.join(":");return[t.trim(),ar(n.trim())]});return Object(i.fromPairs)(t)}const ir={class:(e,t)=>!Object(i.xor)(...[e,t].map(er)).length,style:(e,t)=>Object(i.isEqual)(...[e,t].map(or)),...Object(i.fromPairs)(Kt.map(e=>[e,i.stubTrue]))};const sr={StartTag:(e,t,r=Tt())=>e.tagName!==t.tagName&&e.tagName.toLowerCase()!==t.tagName.toLowerCase()?(r.warning("Expected tag name `%s`, instead saw `%s`.",t.tagName,e.tagName),!1):function(e,t,r=Tt()){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=ir[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}(...[e,t].map(tr),r),Chars:rr,Comment:rr};function cr(e){let t;for(;t=e.shift();){if("Chars"!==t.type)return t;if(!Ut.test(t.chars))return t}}function lr(e,t){return!!e.selfClosing&&!(!t||t.tagName!==e.tagName||"EndTag"!==t.type)}function ur(e,t,r=Tt()){if(e===t)return!0;const[n,a]=[e,t].map(e=>function(e,t=Tt()){try{return new vt(new Jt).tokenize(e)}catch(r){t.warning("Malformed HTML detected: %s",e)}return null}(e,r));if(!n||!a)return!1;let o,i;for(;o=cr(n);){if(i=cr(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=sr[o.type];if(e&&!e(o,i,r))return!1;lr(o,a[0])?cr(a):lr(i,n[0])&&cr(n)}return!(i=cr(a))||(r.warning("Expected %o, instead saw end of content.",i),!1)}function dr(e,t,r,n=function(){const e=[],t=Tt();return{error(...r){e.push({log:t.error,args:r})},warning(...r){e.push({log:t.warning,args:r})},getItems:()=>e}}()){const a=le(e);let o;try{o=It(a,t)}catch(e){return n.error("Block validation failed because an error occurred while generating block content:\n\n%s",e.toString()),{isValid:!1,validationIssues:n.getItems()}}const i=ur(r,o,n);return i||n.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",a.name,a,o,r),{isValid:i,validationIssues:n.getItems()}}function pr(e,t,r){const{isValid:n}=dr(e,t,r,Tt());return n}function hr(e){const t={};for(let r=0;r<e.length;r++){const{name:n,value:a}=e[r];t[n]=a}return t}function fr(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:{...hr(e.attributes),children:br(e.childNodes)}}}function gr(e){return t=>{let r=t;e&&(r=t.querySelector(e));try{return fr(r)}catch(e){return null}}}var mr={isNodeOfType:function(e,t){return e&&e.type===t},fromDOM:fr,toHTML:function(e){return _r([e])},matcher:gr};function br(e){const t=[];for(let r=0;r<e.length;r++)try{t.push(fr(e[r]))}catch(e){}return t}function _r(e){const t=e;return Object(ne.renderToString)(t)}function kr(e){return t=>{let r=t;return e&&(r=t.querySelector(e)),r?br(r.childNodes):[]}}var yr={concat:function(...e){const t=[];for(let r=0;r<e.length;r++){const n=Object(i.castArray)(e[r]);for(let e=0;e<n.length;e++){const r=n[e];"string"==typeof r&&"string"==typeof t[t.length-1]?t[t.length-1]+=r:t.push(r)}}return t},getChildrenArray:function(e){return e},fromDOM:br,toHTML:_r,matcher:kr};new Set(["attribute","html","text","tag"]);function wr(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 vr(e){switch(e.source){case"attribute":let n=function(e,t){return 1===arguments.length&&(t=e,e=void 0),function(r){var n=ut(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 ut(e,"textContent")}(e.selector);case"children":return kr(e.selector);case"node":return gr(e.selector);case"query":const a=Object(i.mapValues)(e.query,vr);return function(e,t){return function(r){var n=r.querySelectorAll(e);return[].map.call(n,(function(e){return lt(e,t)}))}}(e.selector,a);case"tag":return Object(i.flow)([ut(e.selector,"nodeName"),e=>e?e.toLowerCase():void 0]);default:console.error(`Unknown source type "${e.source}"`)}var t,r}function jr(e,t){return lt(e,vr(t))}function Tr(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=jr(r,t)}return function(e,t){return void 0===t||wr(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 Or(e,t,r={}){const n=le(e),a=Object(i.mapValues)(n.attributes,(e,n)=>Tr(n,e,t,r));return Object(Z.applyFilters)("blocks.getBlockAttributes",a,n,t,r)}function xr(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{name:e,attributes:r}}function Cr(e){const{blockName:t}=e;let{attrs:r,innerBlocks:n=[],innerHTML:a}=e;const{innerContent:o}=e,s=Ce(),c=Ee()||s;r=r||{},a=a.trim();let l=t||s;({name:l,attributes:r}=xr(l,r)),l===s&&(a=Object(dt.autop)(a).trim());let u=Le(l);if(!u){const e={attrs:r,blockName:t,innerBlocks:n,innerContent:o},i=Sr(e,{isCommentDelimited:!1}),s=Sr(e,{isCommentDelimited:!0});l&&(a=s),l=c,r={originalName:t,originalContent:s,originalUndelimitedContent:i},u=Le(l)}n=n.map(Cr),n=n.filter(e=>e);const d=l===s||l===c;if(!u||!a&&d)return;let p=We(l,Or(u,a,r),n);if(!d){const{isValid:e,validationIssues:t}=dr(u,p.attributes,a);p.isValid=e,p.validationIssues=t}return p.originalContent=p.originalContent||a,p=function(e,t){const r=Le(e.name),{deprecated:n}=r;if(!n||!n.length)return e;const{originalContent:a,innerBlocks:o}=e;for(let s=0;s<n.length;s++){const{isEligible:c=i.stubFalse}=n[s];if(e.isValid&&!c(t,o))continue;const l=Object.assign(Object(i.omit)(r,fe),n[s]);let u=Or(l,a,t);const{isValid:d,validationIssues:p}=dr(l,u,a);if(!d){e={...e,validationIssues:[...Object(i.get)(e,"validationIssues",[]),...p]};continue}let h=o;const{migrate:f}=l;f&&([u=t,h=o]=Object(i.castArray)(f(u,o))),e={...e,attributes:u,innerBlocks:h,isValid:!0}}return e}(p,r),p.validationIssues&&p.validationIssues.length>0&&(p.isValid?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",u.name,u,It(u,p.attributes),p.originalContent):p.validationIssues.forEach(({log:e,args:t})=>e(...t))),p}function Sr(e,t={}){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:Sr(o[s++],t)).join("\n").replace(/\n+/g,"\n").trim();return r?Vt(n,a,c):c}const Ar=(Er=pt.parse,e=>Er(e).reduce((e,t)=>{const r=Cr(t);return r&&e.push(r),e},[]));var Er,Br=Ar;function Pr(){return Object(i.filter)(nt("from"),{type:"raw"}).map(e=>e.isMatch?e:{...e,isMatch:t=>e.selector&&t.matches(e.selector)})}function Nr(e){const t=document.implementation.createHTMLDocument("");return t.body.innerHTML=e,Array.from(t.body.children).flatMap(e=>{const t=rt(Pr(),({isMatch:t})=>t(e));if(!t)return We("core/html",Or("core/html",e.outerHTML));const{transform:r,blockName:n}=t;return r?r(e):We(n,Or(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(ae.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(ae.isEmpty)(e)?n.removeChild(e):a.appendChild(e):Object(ae.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 Mr(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(ae.remove)(n);break}Object(ae.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(ae.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(ae.remove)(e)}function Dr(e,t){return e.every(e=>function(e,t){if(Object(ae.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)&&Dr(Array.from(e.children),t))}function Ir(e){return"BR"===e.nodeName&&e.previousSibling&&"BR"===e.previousSibling.nodeName}function Hr(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(ae.wrap)(t.createElement("strong"),e),"italic"===n&&Object(ae.wrap)(t.createElement("em"),e),("line-through"===a||Object(i.includes)(o,"line-through"))&&Object(ae.wrap)(t.createElement("s"),e),"super"===s?Object(ae.wrap)(t.createElement("sup"),e):"sub"===s&&Object(ae.wrap)(t.createElement("sub"),e)}else"B"===e.nodeName?e=Object(ae.replaceTag)(e,"strong"):"I"===e.nodeName?e=Object(ae.replaceTag)(e,"em"):"A"===e.nodeName&&(e.target&&"_blank"===e.target.toLowerCase()?e.rel="noreferrer noopener":(e.removeAttribute("target"),e.removeAttribute("rel")))}function Vr(e){"SCRIPT"!==e.nodeName&&"NOSCRIPT"!==e.nodeName&&"TEMPLATE"!==e.nodeName&&"STYLE"!==e.nodeName||e.parentNode.removeChild(e)}const{parseInt:Rr}=window;function Fr(e){return"OL"===e.nodeName||"UL"===e.nodeName}function $r(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=Rr(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 qr(e){return"OL"===e.nodeName||"UL"===e.nodeName}function Ur(e){if(!qr(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(({nodeValue:e=""})=>e).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&&qr(n)){const t=e.previousElementSibling;t?t.appendChild(e):Object(ae.unwrap)(e)}}var Gr=r("xTGt");const{atob:Kr,File:Wr}=window;function Yr(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=Kr(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 Wr([o],i,{type:n});e.src=Object(Gr.createBlobURL)(s)}1!==e.height&&1!==e.width||e.parentNode.removeChild(e)}}function Qr(e){"BLOCKQUOTE"===e.nodeName&&(e.innerHTML=Lr(e.innerHTML))}function Zr(e,t=e){const r=e.ownerDocument.createElement("figure");t.parentNode.insertBefore(r,t),r.appendChild(e)}function Xr(e,t,r){if(!function(e,t){const r=e.nodeName.toLowerCase();return"figcaption"!==r&&!Object(ae.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())&&Zr(n,o):Zr(n,o):"BODY"===n.parentNode.nodeName&&Zr(n)}var Jr=r("SVSp");var en=function e(t,r=0,n=[]){const a=rt(nt("from"),e=>-1===n.indexOf(e.blockName)&&"shortcode"===e.type&&Object(i.some)(Object(i.castArray)(e.tag),e=>Object(Jr.regexp)(e).test(t)));if(!a)return[t];const o=Object(i.castArray)(a.tag),s=Object(i.find)(o,e=>Object(Jr.regexp)(e).test(t));let c;const l=r;if(c=Object(Jr.next)(s,t,r)){r=c.index+c.content.length;const o=t.substr(0,c.index),s=t.substr(r);if(!(Object(i.includes)(c.shortcode.content||"","<")||/(\n|<p>)\s*$/.test(o)&&/^\s*(\n|<\/p>)/.test(s)))return e(t,r);if(a.isMatch&&!a.isMatch(c.shortcode.attrs))return e(t,l,[...n,a.blockName]);const u=Object(i.mapValues)(Object(i.pickBy)(a.attributes,e=>e.shortcode),e=>e.shortcode(c.shortcode.attrs,c)),d=We(a.blockName,Or({...Le(a.blockName),attributes:a.attributes},c.shortcode.content,u));return[...e(o),d,...e(s)]}return[t]},tn=r("M55E");const rn=new(r.n(tn).a.Converter)({noHeaderId:!0,tables:!0,literalMidWordUnderscores:!0,omitExtraWLInCodeBlocks:!0,simpleLineBreaks:!0,strikethrough:!0});function nn(e){if("IFRAME"===e.nodeName){const t=e.ownerDocument.createTextNode(e.src);e.parentNode.replaceChild(t,e)}}function an(e){e.id&&0===e.id.indexOf("docs-internal-guid-")&&Object(ae.unwrap)(e)}function on(e){return function(e,t){const r={phrasingContentSchema:Object(ae.getPhrasingContentSchema)(t),isPaste:"paste"===t},n=e.map(({isMatch:e,blockName:t,schema:n})=>{const a=De(t,"anchor");return n=Object(i.isFunction)(n)?n(r):n,a||e?Object(i.mapValues)(n,t=>{let r=t.attributes||[];return a&&(r=[...r,"id"]),{...t,attributes:r,isMatch:e||void 0}}):n});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(...r)=>e(...r)||t(...r)}})}(Pr(),e)}function sn(e,t=[],r){const n=document.implementation.createHTMLDocument("");return n.body.innerHTML=e,function e(t,r,n,a){Array.from(t).forEach(t=>{e(t.childNodes,r,n,a),r.forEach(e=>{n.contains(t)&&e(t,n,a)})})}(n.body.childNodes,t,n,r),n.body.innerHTML}function cn(e,t){const r=e[t+"Sibling"];if(r&&Object(ae.isPhrasingContent)(r))return r;const{parentNode:n}=e;return n&&Object(ae.isPhrasingContent)(n)?cn(n,t):void 0}function ln(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=cn(e,"previous");t&&"BR"!==t.nodeName&&" "!==t.textContent.slice(-1)||(r=r.slice(1))}if(" "===r[r.length-1]){const t=cn(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 un(e){"BR"===e.nodeName&&(cn(e,"next")||e.parentNode.removeChild(e))}function dn(e){"P"===e.nodeName&&(e.hasChildNodes()||e.parentNode.removeChild(e))}const{console:pn}=window;function hn(e,t){return e=sn(e,[an,Hr,zr]),e=Object(ae.removeInvalidHTML)(e,Object(ae.getPhrasingContentSchema)("paste"),{inline:!0}),t||(e=sn(e,[ln,un])),pn.log("Processed inline HTML:\n\n",e),e}function fn({HTML:e="",plainText:t="",mode:r="AUTO",tagName:n,preserveWhiteSpace:a}){if(e=(e=(e=e.replace(/<meta[^>]+>/g,"")).replace(/^\s*<html[^>]*>\s*<body[^>]*>(?:\s*<!--\s*StartFragment\s*-->)?/i,"")).replace(/(?:<!--\s*EndFragment\s*-->\s*)?<\/body>\s*<\/html>\s*$/i,""),"INLINE"!==r){const r=e||t;if(-1!==r.indexOf("\x3c!-- wp:"))return Ar(r)}var o;if(String.prototype.normalize&&(e=e.normalize()),!t||e&&!function(e){return!/<(?!br[ />])/i.test(e)}(e)||(e=t,/^\s+$/.test(t)||(o=e,e=rn.makeHtml(function(e){return e.replace(/((?:^|\n)```)([^\n`]+)(```(?:$|\n))/,(e,t,r,n)=>`${t}\n${r}\n${n}`)}(o))),"AUTO"===r&&-1===t.indexOf("\n")&&0!==t.indexOf("<p>")&&0===e.indexOf("<p>")&&(r="INLINE")),"INLINE"===r)return hn(e,a);const s=en(e),c=s.length>1;if("AUTO"===r&&!c&&function(e,t){const r=document.implementation.createHTMLDocument("");r.body.innerHTML=e;const n=Array.from(r.body.children);return!n.some(Ir)&&Dr(n,t)}(e,n))return hn(e,a);const l=Object(ae.getPhrasingContentSchema)("paste"),u=on("paste"),d=Object(i.compact)(Object(i.flatMap)(s,e=>{if("string"!=typeof e)return e;const t=[an,$r,Vr,Ur,Yr,Hr,Mr,zr,nn,Xr,Qr],r={...u,...l};return e=sn(e,t,u),e=sn(e=Lr(e=Object(ae.removeInvalidHTML)(e,r)),[ln,un,dn],u),pn.log("Processed HTML piece:\n\n",e),Nr(e)}));if("AUTO"===r&&1===d.length&&De(d[0].name,"__unstablePasteTextInline",!1)){const e=t.replace(/^[\n]+|[\n]+$/g,"");if(""!==e&&-1===e.indexOf("\n"))return Object(ae.removeInvalidHTML)(Ht(d[0]),l)}return d}function gn(e){return J()("wp.blocks.getPhrasingContentSchema",{since:"5.6",alternative:"wp.dom.getPhrasingContentSchema"}),Object(ae.getPhrasingContentSchema)(e)}function mn({HTML:e=""}){if(-1!==e.indexOf("\x3c!-- wp:"))return Ar(e);const t=en(e),r=on();return Object(i.compact)(Object(i.flatMap)(t,e=>{if("string"!=typeof e)return e;return Nr(e=Lr(e=sn(e,[Ur,Mr,Xr,Qr],r)))}))}function bn(){return Object(o.select)(Y).getCategories()}function _n(e){Object(o.dispatch)(Y).setCategories(e)}function kn(e,t){Object(o.dispatch)(Y).updateCategory(e,t)}function yn(e=[],t=[]){return e.length===t.length&&Object(i.every)(t,([t,,r],n)=>{const a=e[n];return t===a.name&&yn(a.innerBlocks,r)})}function wn(e=[],t){return t?Object(i.map)(t,([t,r,n],a)=>{const o=e[a];if(o&&o.name===t){const e=wn(o.innerBlocks,n);return{...o,innerBlocks:e}}const s=Le(t),c=(e,t)=>Object(i.mapValues)(t,(t,r)=>l(e[r],t)),l=(e,t)=>{return r=e,"html"===Object(i.get)(r,["source"])&&Object(i.isArray)(t)?Object(ne.renderToString)(t):(e=>"query"===Object(i.get)(e,["source"]))(e)&&t?t.map(t=>c(e.query,t)):t;var r},u=c(Object(i.get)(s,["attributes"],{}),r),{name:d,attributes:p}=xr(t,u);return We(d,p,wn([],n))}):e}},"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)}},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(/"/g,'"').replace(/</g,"<").replace(/>/g,">").replace(/&/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:"⛹️‍♀️",bat:"🦇",bath:"🛀",bathtub:"🛁",battery:"🔋",beach_umbrella:"🏖",bear:"🐻",bed:"🛏",bee:"🐝",beer:"🍺",beers:"🍻",beetle:"🐞",beginner:"🔰",bell:"🔔",bellhop_bell:"🛎",bento:"🍱",biking_man:"🚴",bike:"🚲",biking_woman:"🚴‍♀️",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:"👱‍♀️",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:"🙇‍♀️",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:"👷‍♀️",control_knobs:"🎛",convenience_store:"🏪",cookie:"🍪",cool:"🆒",policeman:"👮",copyright:"©️",corn:"🌽",couch_and_lamp:"🛋",couple:"👫",couple_with_heart_woman_man:"💑",couple_with_heart_man_man:"👨‍❤️‍👨",couple_with_heart_woman_woman:"👩‍❤️‍👩",couplekiss_man_man:"👨‍❤️‍💋‍👨",couplekiss_man_woman:"💏",couplekiss_woman_woman:"👩‍❤️‍💋‍👩",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:"👯‍♂️",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:"👁‍🗨",eyeglasses:"👓",eyes:"👀",face_with_head_bandage:"🤕",face_with_thermometer:"🤒",fist_oncoming:"👊",factory:"🏭",fallen_leaf:"🍂",family_man_woman_boy:"👪",family_man_boy:"👨‍👦",family_man_boy_boy:"👨‍👦‍👦",family_man_girl:"👨‍👧",family_man_girl_boy:"👨‍👧‍👦",family_man_girl_girl:"👨‍👧‍👧",family_man_man_boy:"👨‍👨‍👦",family_man_man_boy_boy:"👨‍👨‍👦‍👦",family_man_man_girl:"👨‍👨‍👧",family_man_man_girl_boy:"👨‍👨‍👧‍👦",family_man_man_girl_girl:"👨‍👨‍👧‍👧",family_man_woman_boy_boy:"👨‍👩‍👦‍👦",family_man_woman_girl:"👨‍👩‍👧",family_man_woman_girl_boy:"👨‍👩‍👧‍👦",family_man_woman_girl_girl:"👨‍👩‍👧‍👧",family_woman_boy:"👩‍👦",family_woman_boy_boy:"👩‍👦‍👦",family_woman_girl:"👩‍👧",family_woman_girl_boy:"👩‍👧‍👦",family_woman_girl_girl:"👩‍👧‍👧",family_woman_woman_boy:"👩‍👩‍👦",family_woman_woman_boy_boy:"👩‍👩‍👦‍👦",family_woman_woman_girl:"👩‍👩‍👧",family_woman_woman_girl_boy:"👩‍👩‍👧‍👦",family_woman_woman_girl_girl:"👩‍👩‍👧‍👧",fast_forward:"⏩",fax:"📠",fearful:"😨",feet:"🐾",female_detective:"🕵️‍♀️",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:"🙍‍♂️",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:"🏌️‍♀️",gorilla:"🦍",grapes:"🍇",green_apple:"🍏",green_book:"📗",green_heart:"💚",green_salad:"🥗",grey_exclamation:"❕",grey_question:"❔",grimacing:"😬",grin:"😁",grinning:"😀",guardsman:"💂",guardswoman:"💂‍♀️",guitar:"🎸",gun:"🔫",haircut_woman:"💇",haircut_man:"💇‍♂️",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:"👨‍🎨",man_astronaut:"👨‍🚀",man_cartwheeling:"🤸‍♂️",man_cook:"👨‍🍳",man_dancing:"🕺",man_facepalming:"🤦‍♂️",man_factory_worker:"👨‍🏭",man_farmer:"👨‍🌾",man_firefighter:"👨‍🚒",man_health_worker:"👨‍⚕️",man_in_tuxedo:"🤵",man_judge:"👨‍⚖️",man_juggling:"🤹‍♂️",man_mechanic:"👨‍🔧",man_office_worker:"👨‍💼",man_pilot:"👨‍✈️",man_playing_handball:"🤾‍♂️",man_playing_water_polo:"🤽‍♂️",man_scientist:"👨‍🔬",man_shrugging:"🤷‍♂️",man_singer:"👨‍🎤",man_student:"👨‍🎓",man_teacher:"👨‍🏫",man_technologist:"👨‍💻",man_with_gua_pi_mao:"👲",man_with_turban:"👳",tangerine:"🍊",mans_shoe:"👞",mantelpiece_clock:"🕰",maple_leaf:"🍁",martial_arts_uniform:"🥋",mask:"😷",massage_woman:"💆",massage_man:"💆‍♂️",meat_on_bone:"🍖",medal_military:"🎖",medal_sports:"🏅",mega:"📣",melon:"🍈",memo:"📝",men_wrestling:"🤼‍♂️",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:"🚵‍♀️",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:"🙅‍♂️",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:"🙆‍♂️",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:"👮‍♀️",poodle:"🐩",popcorn:"🍿",post_office:"🏣",postal_horn:"📯",postbox:"📮",potable_water:"🚰",potato:"🥔",pouch:"👝",poultry_leg:"🍗",pound:"💷",rage:"😡",pouting_cat:"😾",pouting_man:"🙎‍♂️",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:"🏳️‍🌈",raised_back_of_hand:"🤚",raised_hand_with_fingers_splayed:"🖐",raised_hands:"🙌",raising_hand_woman:"🙋",raising_hand_man:"🙋‍♂️",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:"🚣‍♀️",rugby_football:"🏉",running_man:"🏃",running_shirt_with_sash:"🎽",running_woman:"🏃‍♀️",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:"🏄‍♀️",sushi:"🍣",suspension_railway:"🚟",sweat:"😓",sweat_drops:"💦",sweat_smile:"😅",sweet_potato:"🍠",swimming_man:"🏊",swimming_woman:"🏊‍♀️",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:"💁‍♂️",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:"🚶‍♀️",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:"🏋️‍♀️",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:"👩‍🎨",woman_astronaut:"👩‍🚀",woman_cartwheeling:"🤸‍♀️",woman_cook:"👩‍🍳",woman_facepalming:"🤦‍♀️",woman_factory_worker:"👩‍🏭",woman_farmer:"👩‍🌾",woman_firefighter:"👩‍🚒",woman_health_worker:"👩‍⚕️",woman_judge:"👩‍⚖️",woman_juggling:"🤹‍♀️",woman_mechanic:"👩‍🔧",woman_office_worker:"👩‍💼",woman_pilot:"👩‍✈️",woman_playing_handball:"🤾‍♀️",woman_playing_water_polo:"🤽‍♀️",woman_scientist:"👩‍🔬",woman_shrugging:"🤷‍♀️",woman_singer:"👩‍🎤",woman_student:"👩‍🎓",woman_teacher:"👩‍🏫",woman_technologist:"👩‍💻",woman_with_turban:"👳‍♀️",womans_clothes:"👚",womans_hat:"👒",women_wrestling:"🤼‍♀️",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," "),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,""")).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,"&")).replace(/<(?![a-z\/?$!])/gi,"<")).replace(/</g,"<")).replace(/>/g,">"),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,"&").replace(/</g,"<").replace(/>/g,">").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"<"+t+">"})));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(/&/g,"").replace(/¨T/g,"").replace(/¨D/g,"").replace(/[&+$,\/:;=?@"#{}|^¨~\[\]`\\*)(%.!'<>]/g,"").toLowerCase():t.rawHeaderId?n.replace(/ /g,"-").replace(/&/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,""").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,""").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,"&").replace(/"/g,""")).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,""")),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.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},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},Zss7:function(e,t,r){var n;!function(a){var o=/^\s+/,i=/\s+$/,s=0,c=a.round,l=a.min,u=a.max,d=a.random;function p(e,t){if(t=t||{},(e=e||"")instanceof p)return e;if(!(this instanceof p))return new p(e,t);var r=function(e){var t={r:0,g:0,b:0},r=1,n=null,s=null,c=null,d=!1,p=!1;"string"==typeof e&&(e=function(e){e=e.replace(o,"").replace(i,"").toLowerCase();var t,r=!1;if(E[e])e=E[e],r=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=$.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=$.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=$.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=$.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=$.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=$.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=$.hex8.exec(e))return{r:M(t[1]),g:M(t[2]),b:M(t[3]),a:H(t[4]),format:r?"name":"hex8"};if(t=$.hex6.exec(e))return{r:M(t[1]),g:M(t[2]),b:M(t[3]),format:r?"name":"hex"};if(t=$.hex4.exec(e))return{r:M(t[1]+""+t[1]),g:M(t[2]+""+t[2]),b:M(t[3]+""+t[3]),a:H(t[4]+""+t[4]),format:r?"name":"hex8"};if(t=$.hex3.exec(e))return{r:M(t[1]+""+t[1]),g:M(t[2]+""+t[2]),b:M(t[3]+""+t[3]),format:r?"name":"hex"};return!1}(e));"object"==typeof e&&(q(e.r)&&q(e.g)&&q(e.b)?(h=e.r,f=e.g,g=e.b,t={r:255*N(h,255),g:255*N(f,255),b:255*N(g,255)},d=!0,p="%"===String(e.r).substr(-1)?"prgb":"rgb"):q(e.h)&&q(e.s)&&q(e.v)?(n=D(e.s),s=D(e.v),t=function(e,t,r){e=6*N(e,360),t=N(t,100),r=N(r,100);var n=a.floor(e),o=e-n,i=r*(1-t),s=r*(1-o*t),c=r*(1-(1-o)*t),l=n%6;return{r:255*[r,s,i,i,c,r][l],g:255*[c,r,r,s,i,i][l],b:255*[i,i,c,r,r,s][l]}}(e.h,n,s),d=!0,p="hsv"):q(e.h)&&q(e.s)&&q(e.l)&&(n=D(e.s),c=D(e.l),t=function(e,t,r){var n,a,o;function i(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}if(e=N(e,360),t=N(t,100),r=N(r,100),0===t)n=a=o=r;else{var s=r<.5?r*(1+t):r+t-r*t,c=2*r-s;n=i(c,s,e+1/3),a=i(c,s,e),o=i(c,s,e-1/3)}return{r:255*n,g:255*a,b:255*o}}(e.h,n,c),d=!0,p="hsl"),e.hasOwnProperty("a")&&(r=e.a));var h,f,g;return r=P(r),{ok:d,format:e.format||p,r:l(255,u(t.r,0)),g:l(255,u(t.g,0)),b:l(255,u(t.b,0)),a:r}}(e);this._originalInput=e,this._r=r.r,this._g=r.g,this._b=r.b,this._a=r.a,this._roundA=c(100*this._a)/100,this._format=t.format||r.format,this._gradientType=t.gradientType,this._r<1&&(this._r=c(this._r)),this._g<1&&(this._g=c(this._g)),this._b<1&&(this._b=c(this._b)),this._ok=r.ok,this._tc_id=s++}function h(e,t,r){e=N(e,255),t=N(t,255),r=N(r,255);var n,a,o=u(e,t,r),i=l(e,t,r),s=(o+i)/2;if(o==i)n=a=0;else{var c=o-i;switch(a=s>.5?c/(2-o-i):c/(o+i),o){case e:n=(t-r)/c+(t<r?6:0);break;case t:n=(r-e)/c+2;break;case r:n=(e-t)/c+4}n/=6}return{h:n,s:a,l:s}}function f(e,t,r){e=N(e,255),t=N(t,255),r=N(r,255);var n,a,o=u(e,t,r),i=l(e,t,r),s=o,c=o-i;if(a=0===o?0:c/o,o==i)n=0;else{switch(o){case e:n=(t-r)/c+(t<r?6:0);break;case t:n=(r-e)/c+2;break;case r:n=(e-t)/c+4}n/=6}return{h:n,s:a,v:s}}function g(e,t,r,n){var a=[z(c(e).toString(16)),z(c(t).toString(16)),z(c(r).toString(16))];return n&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0):a.join("")}function m(e,t,r,n){return[z(I(n)),z(c(e).toString(16)),z(c(t).toString(16)),z(c(r).toString(16))].join("")}function b(e,t){t=0===t?0:t||10;var r=p(e).toHsl();return r.s-=t/100,r.s=L(r.s),p(r)}function _(e,t){t=0===t?0:t||10;var r=p(e).toHsl();return r.s+=t/100,r.s=L(r.s),p(r)}function k(e){return p(e).desaturate(100)}function y(e,t){t=0===t?0:t||10;var r=p(e).toHsl();return r.l+=t/100,r.l=L(r.l),p(r)}function w(e,t){t=0===t?0:t||10;var r=p(e).toRgb();return r.r=u(0,l(255,r.r-c(-t/100*255))),r.g=u(0,l(255,r.g-c(-t/100*255))),r.b=u(0,l(255,r.b-c(-t/100*255))),p(r)}function v(e,t){t=0===t?0:t||10;var r=p(e).toHsl();return r.l-=t/100,r.l=L(r.l),p(r)}function j(e,t){var r=p(e).toHsl(),n=(r.h+t)%360;return r.h=n<0?360+n:n,p(r)}function T(e){var t=p(e).toHsl();return t.h=(t.h+180)%360,p(t)}function O(e){var t=p(e).toHsl(),r=t.h;return[p(e),p({h:(r+120)%360,s:t.s,l:t.l}),p({h:(r+240)%360,s:t.s,l:t.l})]}function x(e){var t=p(e).toHsl(),r=t.h;return[p(e),p({h:(r+90)%360,s:t.s,l:t.l}),p({h:(r+180)%360,s:t.s,l:t.l}),p({h:(r+270)%360,s:t.s,l:t.l})]}function C(e){var t=p(e).toHsl(),r=t.h;return[p(e),p({h:(r+72)%360,s:t.s,l:t.l}),p({h:(r+216)%360,s:t.s,l:t.l})]}function S(e,t,r){t=t||6,r=r||30;var n=p(e).toHsl(),a=360/r,o=[p(e)];for(n.h=(n.h-(a*t>>1)+720)%360;--t;)n.h=(n.h+a)%360,o.push(p(n));return o}function A(e,t){t=t||6;for(var r=p(e).toHsv(),n=r.h,a=r.s,o=r.v,i=[],s=1/t;t--;)i.push(p({h:n,s:a,v:o})),o=(o+s)%1;return i}p.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,r,n=this.toRgb();return e=n.r/255,t=n.g/255,r=n.b/255,.2126*(e<=.03928?e/12.92:a.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:a.pow((t+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:a.pow((r+.055)/1.055,2.4))},setAlpha:function(e){return this._a=P(e),this._roundA=c(100*this._a)/100,this},toHsv:function(){var e=f(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=f(this._r,this._g,this._b),t=c(360*e.h),r=c(100*e.s),n=c(100*e.v);return 1==this._a?"hsv("+t+", "+r+"%, "+n+"%)":"hsva("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHsl:function(){var e=h(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=h(this._r,this._g,this._b),t=c(360*e.h),r=c(100*e.s),n=c(100*e.l);return 1==this._a?"hsl("+t+", "+r+"%, "+n+"%)":"hsla("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHex:function(e){return g(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,r,n,a){var o=[z(c(e).toString(16)),z(c(t).toString(16)),z(c(r).toString(16)),z(I(n))];if(a&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)&&o[3].charAt(0)==o[3].charAt(1))return o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0);return o.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:c(this._r),g:c(this._g),b:c(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+c(this._r)+", "+c(this._g)+", "+c(this._b)+")":"rgba("+c(this._r)+", "+c(this._g)+", "+c(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:c(100*N(this._r,255))+"%",g:c(100*N(this._g,255))+"%",b:c(100*N(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+c(100*N(this._r,255))+"%, "+c(100*N(this._g,255))+"%, "+c(100*N(this._b,255))+"%)":"rgba("+c(100*N(this._r,255))+"%, "+c(100*N(this._g,255))+"%, "+c(100*N(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(B[g(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+m(this._r,this._g,this._b,this._a),r=t,n=this._gradientType?"GradientType = 1, ":"";if(e){var a=p(e);r="#"+m(a._r,a._g,a._b,a._a)}return"progid:DXImageTransform.Microsoft.gradient("+n+"startColorstr="+t+",endColorstr="+r+")"},toString:function(e){var t=!!e;e=e||this._format;var r=!1,n=this._a<1&&this._a>=0;return t||!n||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(r=this.toRgbString()),"prgb"===e&&(r=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(r=this.toHexString()),"hex3"===e&&(r=this.toHexString(!0)),"hex4"===e&&(r=this.toHex8String(!0)),"hex8"===e&&(r=this.toHex8String()),"name"===e&&(r=this.toName()),"hsl"===e&&(r=this.toHslString()),"hsv"===e&&(r=this.toHsvString()),r||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return p(this.toString())},_applyModification:function(e,t){var r=e.apply(null,[this].concat([].slice.call(t)));return this._r=r._r,this._g=r._g,this._b=r._b,this.setAlpha(r._a),this},lighten:function(){return this._applyModification(y,arguments)},brighten:function(){return this._applyModification(w,arguments)},darken:function(){return this._applyModification(v,arguments)},desaturate:function(){return this._applyModification(b,arguments)},saturate:function(){return this._applyModification(_,arguments)},greyscale:function(){return this._applyModification(k,arguments)},spin:function(){return this._applyModification(j,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(S,arguments)},complement:function(){return this._applyCombination(T,arguments)},monochromatic:function(){return this._applyCombination(A,arguments)},splitcomplement:function(){return this._applyCombination(C,arguments)},triad:function(){return this._applyCombination(O,arguments)},tetrad:function(){return this._applyCombination(x,arguments)}},p.fromRatio=function(e,t){if("object"==typeof e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]="a"===n?e[n]:D(e[n]));e=r}return p(e,t)},p.equals=function(e,t){return!(!e||!t)&&p(e).toRgbString()==p(t).toRgbString()},p.random=function(){return p.fromRatio({r:d(),g:d(),b:d()})},p.mix=function(e,t,r){r=0===r?0:r||50;var n=p(e).toRgb(),a=p(t).toRgb(),o=r/100;return p({r:(a.r-n.r)*o+n.r,g:(a.g-n.g)*o+n.g,b:(a.b-n.b)*o+n.b,a:(a.a-n.a)*o+n.a})},p.readability=function(e,t){var r=p(e),n=p(t);return(a.max(r.getLuminance(),n.getLuminance())+.05)/(a.min(r.getLuminance(),n.getLuminance())+.05)},p.isReadable=function(e,t,r){var n,a,o=p.readability(e,t);switch(a=!1,(n=function(e){var t,r;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),r=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==r&&"large"!==r&&(r="small");return{level:t,size:r}}(r)).level+n.size){case"AAsmall":case"AAAlarge":a=o>=4.5;break;case"AAlarge":a=o>=3;break;case"AAAsmall":a=o>=7}return a},p.mostReadable=function(e,t,r){var n,a,o,i,s=null,c=0;a=(r=r||{}).includeFallbackColors,o=r.level,i=r.size;for(var l=0;l<t.length;l++)(n=p.readability(e,t[l]))>c&&(c=n,s=p(t[l]));return p.isReadable(e,s,{level:o,size:i})||!a?s:(r.includeFallbackColors=!1,p.mostReadable(e,["#fff","#000"],r))};var E=p.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},B=p.hexNames=function(e){var t={};for(var r in e)e.hasOwnProperty(r)&&(t[e[r]]=r);return t}(E);function P(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function N(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var r=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=l(t,u(0,parseFloat(e))),r&&(e=parseInt(e*t,10)/100),a.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function L(e){return l(1,u(0,e))}function M(e){return parseInt(e,16)}function z(e){return 1==e.length?"0"+e:""+e}function D(e){return e<=1&&(e=100*e+"%"),e}function I(e){return a.round(255*parseFloat(e)).toString(16)}function H(e){return M(e)/255}var V,R,F,$=(R="[\\s|\\(]+("+(V="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+V+")[,|\\s]+("+V+")\\s*\\)?",F="[\\s|\\(]+("+V+")[,|\\s]+("+V+")[,|\\s]+("+V+")[,|\\s]+("+V+")\\s*\\)?",{CSS_UNIT:new RegExp(V),rgb:new RegExp("rgb"+R),rgba:new RegExp("rgba"+F),hsl:new RegExp("hsl"+R),hsla:new RegExp("hsla"+F),hsv:new RegExp("hsv"+R),hsva:new RegExp("hsva"+F),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function q(e){return!!$.CSS_UNIT.exec(e)}e.exports?e.exports=p:void 0===(n=function(){return p}.call(t,r,t,e))||(e.exports=n)}(Math)},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 diff --git a/wp-includes/js/dist/components.js b/wp-includes/js/dist/components.js index 65916fbbcc..457348b697 100644 --- a/wp-includes/js/dist/components.js +++ b/wp-includes/js/dist/components.js @@ -25340,7 +25340,7 @@ class suggestions_list_SuggestionsList extends external_wp_element_["Component"] id: `components-form-token-suggestions-${this.props.instanceId}-${index}`, role: "option", className: classeName, - key: this.props.displayTransform(suggestion), + 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), @@ -55403,11 +55403,12 @@ const HEIGHT_OFFSET = 10; // used by the arrow and a bit of empty space * @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. */ -function computePopoverXAxisPosition(anchorRect, contentSize, xAxis, corner, stickyBoundaryElement, chosenYAxis, boundaryElement, forcePosition) { +function computePopoverXAxisPosition(anchorRect, contentSize, xAxis, corner, stickyBoundaryElement, chosenYAxis, boundaryElement, forcePosition, forceXAlignment) { const { width } = contentSize; // Correct xAxis for RTL support @@ -55434,7 +55435,7 @@ function computePopoverXAxisPosition(anchorRect, contentSize, xAxis, corner, sti if (corner === 'right') { leftAlignmentX = anchorRect.right; - } else if (chosenYAxis !== 'middle') { + } else if (chosenYAxis !== 'middle' && !forceXAlignment) { leftAlignmentX = anchorMidPoint; } @@ -55442,7 +55443,7 @@ function computePopoverXAxisPosition(anchorRect, contentSize, xAxis, corner, sti if (corner === 'left') { rightAlignmentX = anchorRect.left; - } else if (chosenYAxis !== 'middle') { + } else if (chosenYAxis !== 'middle' && !forceXAlignment) { rightAlignmentX = anchorMidPoint; } @@ -55613,14 +55614,15 @@ function computePopoverYAxisPosition(anchorRect, contentSize, yAxis, corner, sti * 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 * * @return {Object} Popover position and constraints. */ -function computePopoverPosition(anchorRect, contentSize, position = 'top', stickyBoundaryElement, anchorRef, relativeOffsetTop, boundaryElement, forcePosition) { +function computePopoverPosition(anchorRect, contentSize, position = 'top', stickyBoundaryElement, anchorRef, relativeOffsetTop, boundaryElement, forcePosition, forceXAlignment) { const [yAxis, xAxis = 'center', corner] = position.split(' '); const yAxisPosition = computePopoverYAxisPosition(anchorRect, contentSize, yAxis, corner, stickyBoundaryElement, anchorRef, relativeOffsetTop, forcePosition); - const xAxisPosition = computePopoverXAxisPosition(anchorRect, contentSize, xAxis, corner, stickyBoundaryElement, yAxisPosition.yAxis, boundaryElement, forcePosition); + const xAxisPosition = computePopoverXAxisPosition(anchorRect, contentSize, xAxis, corner, stickyBoundaryElement, yAxisPosition.yAxis, boundaryElement, forcePosition, forceXAlignment); return { ...xAxisPosition, ...yAxisPosition }; @@ -55896,6 +55898,7 @@ const Popover = ({ __unstableObserveElement, __unstableBoundaryParent, __unstableForcePosition, + __unstableForceXAlignment, /* eslint-enable no-unused-vars */ ...contentProps @@ -55965,7 +55968,7 @@ const Popover = ({ yAxis, contentHeight, contentWidth - } = computePopoverPosition(anchor, usedContentSize, position, __unstableStickyBoundaryElement, containerRef.current, relativeOffsetTop, boundaryElement, __unstableForcePosition); + } = computePopoverPosition(anchor, usedContentSize, position, __unstableStickyBoundaryElement, containerRef.current, relativeOffsetTop, boundaryElement, __unstableForcePosition, __unstableForceXAlignment); if (typeof popoverTop === 'number' && typeof popoverLeft === 'number') { setStyle(containerRef.current, 'top', popoverTop + 'px'); diff --git a/wp-includes/js/dist/components.min.js b/wp-includes/js/dist/components.min.js index 394bb9504d..b9b469701c 100644 --- a/wp-includes/js/dist/components.min.js +++ b/wp-includes/js/dist/components.min.js @@ -7,7 +7,7 @@ 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,s=60114,c=60109,l=60110,u=60112,d=60113,f=60120,p=60115,h=60116,b=60121,m=60122,g=60117,v=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"),s=O("react.profiler"),c=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"),h=O("react.lazy"),b=O("react.block"),m=O("react.server.block"),g=O("react.fundamental"),v=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 s:case i:case d:case f:return e;default:switch(e=e&&e.$$typeof){case l:case u:case h:case p:case c:return e;default:return t}}case o:return t}}}var _=c,w=r,k=u,x=a,E=h,S=p,C=o,P=s,D=i,M=d;t.ContextConsumer=l,t.ContextProvider=_,t.Element=w,t.ForwardRef=k,t.Fragment=x,t.Lazy=E,t.Memo=S,t.Portal=C,t.Profiler=P,t.StrictMode=D,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)===c},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)===h},t.isMemo=function(e){return j(e)===p},t.isPortal=function(e){return j(e)===o},t.isProfiler=function(e){return j(e)===s},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===s||e===v||e===i||e===d||e===f||e===y||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===p||e.$$typeof===c||e.$$typeof===l||e.$$typeof===u||e.$$typeof===g||e.$$typeof===b||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}},"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}},"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}},"6ZB3":function(e,t,n){"use strict";var r=n("rZ7t"),o=n("1LY1"),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}},"6zzY":function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("GRId"),o=n("YLtl");const a="undefined"!=typeof window?r.useLayoutEffect:r.useEffect,i=Object(r.createContext)({}),s=()=>Object(r.useContext)(i);Object(r.memo)(({children:e,value:t})=>{const n=function({value:e}){const t=s(),n=Object(r.useRef)(t),i=Object(r.useRef)(Object(o.merge)(t,e)),[c,l]=Object(r.useState)(i.current);return a(()=>{let r=!1;Object(o.isEqual)(e,i.current)||(i.current=e,r=!0),Object(o.isEqual)(t,n.current)||(i.current=Object(o.merge)(t,i.current),n.current=t,r=!0),r&&l(e=>({...e,...i.current}))},[e,t]),c}({value:t});return Object(r.createElement)(i.Provider,{value:n},e)})},"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 s(){this.cache=Object.create(null)}s.prototype.has=function(e){return e in this.cache},s.prototype.get=function(e){return this.cache[e]},s.prototype.set=function(e,t){this.cache[e]=t};var c={create:function(){return new s}};e.exports=function(e,t){var n=t&&t.cache?t.cache:c,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 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,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(!s(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)}},"7Ji+":function(e,t,n){"use strict";var r=n("rZ7t"),o=r("%Array%"),a=r("%Symbol.species%",!0),i=r("%TypeError%"),s=n("3aeR"),c=n("9cOx"),l=n("kuGu"),u=n("R/b7"),d=n("V1cy");e.exports=function(e,t){if(!u(t)||t<0)throw new i("Assertion failed: length must be an integer >= 0");var n,r=0===t?0:t;if(c(e)&&(n=s(e,"constructor"),a&&"Object"===d(n)&&null===(n=s(n,a))&&(n=void 0)),void 0===n)return o(r);if(!l(n))throw new i("C must be a constructor");return new n(r)}},"7Jlx":function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return l}));var r=n("YLtl"),o=n("GRId"),a=(n("Z23Y"),n("tQ+x")),i=n("UAm0");function s(t,n,s={}){const{memo:c=!1}=s;let l=Object(o.forwardRef)(t);c&&(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 c(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?c(e).includes(t):!!Array.isArray(t)&&t.some(t=>c(e).includes(t)))}}).call(this,n("8oxB"))},"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,s=Object.defineProperty,c=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}}(),l=function(e,t,n,r){var o;(!(t in e)||"function"==typeof(o=r)&&"[object Function]"===a.call(o)&&r())&&(c?s(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 s=0;s<a.length;s+=1)l(e,a[s],t[a[s]],n[a[s]])};u.supportsDescriptors=!!c,e.exports=u},"8OQS":function(e,t){e.exports=function(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},e.exports.default=e.exports,e.exports.__esModule=!0},"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 s(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 c,l=[],u=!1,d=-1;function f(){u&&c&&(u=!1,c.length?l=c.concat(l):d=-1,l.length&&p())}function p(){if(!u){var e=s(f);u=!0;for(var t=l.length;t;){for(c=l,l=[];++d<t;)c&&c[d].run();d=-1,t=l.length}c=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 h(e,t){this.fun=e,this.array=t}function b(){}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 h(e,t)),1!==l.length||u||s(p)},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=b,o.addListener=b,o.once=b,o.off=b,o.removeListener=b,o.removeAllListeners=b,o.emit=b,o.prependListener=b,o.prependOnceListener=b,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}},"9Do8":function(e,t,n){"use strict";e.exports=n("zt9T")},"9NHk":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));n("wx14"),n("GRId");function r(e,t=(()=>null),n="Component",r=(e=>e)){return e}},"9VDH":function(e,t,n){"use strict";var r=n("wx14"),o=n("GRId"),a=n("Tqx9"),i=n("vUUf");t.a=function({icon:e=null,size:t,...n}){if("string"==typeof e)return Object(o.createElement)(i.a,Object(r.a)({icon:e},n));if(e&&i.a===e.type)return Object(o.cloneElement)(e,{...n});const s=t||24;if("function"==typeof e)return e.prototype instanceof o.Component?Object(o.createElement)(e,{size:s,...n}):e({size:s,...n});if(e&&("svg"===e.type||e.type===a.SVG)){const t={width:s,height:s,...e.props,...n};return Object(o.createElement)(a.SVG,t)}return Object(o.isValidElement)(e)?Object(o.cloneElement)(e,{size:s,...n}):e}},"9cOx":function(e,t,n){"use strict";var r=n("rZ7t")("%Array%"),o=!r.isArray&&n("EXo9")("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},s=function(){if(!t[a]){var e={};e[a]={};var n={};n[a]=i,r(t,e,n)}return t[a]},c=s(),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],c=s()},delete:function(e){return u(e),delete c[l(e)],!d.has(e)},get:function(e){return u(e),c[l(e)]},has:function(e){return u(e),l(e)in c},set:function(e,t){u(e);var n=l(e),o={};o[n]=t;var a={};return a[n]=i,r(c,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"))},"9uj6":function(e,t,n){"use strict";n.r(t);var r=n("4qRI"),o=/^((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)-.*))$/,a=Object(r.a)((function(e){return o.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));t.default=a},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){}},s=Object.getOwnPropertyDescriptor;if(s)try{s({},"")}catch(e){s=null}var c=function(){throw new a},l=s?function(){try{return c}catch(e){try{return s(arguments,"callee").get}catch(e){return c}}}():c,u=n("UVaH")(),d=Object.getPrototypeOf||function(e){return e.__proto__},f=i("async function* () {}"),p=f?f.prototype:void 0,h=p?p.prototype:void 0,b="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%":h?d(h):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%":b,"%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},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"]},v=n("D3zA"),y=n("oNNP"),O=v.call(Function.call,Array.prototype.concat),j=v.call(Function.apply,Array.prototype.splice),_=v.call(Function.call,String.prototype.replace),w=v.call(Function.call,String.prototype.slice),k=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,x=/\\(\\)?/g,E=function(e){var t=w(e,0,1),n=w(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 _(e,k,(function(e,t,n,r){o[o.length]=n?_(r,x,"$1"):t||e})),o},S=function(e,t){var n,o=e;if(y(g,o)&&(o="%"+(n=g[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),o=n.length>0?n[0]:"",i=S("%"+o+"%",t),c=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 h=n[f],b=w(h,0,1),g=w(h,-1);if(('"'===b||"'"===b||"`"===b||'"'===g||"'"===g||"`"===g)&&b!==g)throw new r("property names with quotes must have matching quotes");if("constructor"!==h&&p||(u=!0),y(m,c="%"+(o+="."+h)+"%"))l=m[c];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(s&&f+1>=n.length){var v=s(l,h);l=(p=!!v)&&"get"in v&&!("originalValue"in v.get)?v.get:l[h]}else p=y(l,h),l=l[h];p&&!u&&(m[c]=l)}}return l}},AP2z:function(e,t,n){var r=n("nmnc"),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=a.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var o=i.call(e);return r&&(t?e[s]=n:delete e[s]),o}},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 s=o.chooseAvailableDate,c=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")),h=r.has("blocked-out-of-range"),b={date:e.format(t)},m=(0,a.default)(s,b);r.has(i.BLOCKED_MODIFIER)?m=(0,a.default)(c,b):f&&(m=(0,a.default)(l,b));return{daySizeStyles:u,useDefaultCursor:d,selected:f,hoveredSpan:p,isOutsideRange:h,ariaLabel:m}};var r,o=n("oOcr"),a=(r=o)&&r.__esModule?r:{default:r},i=n("Fv1B")},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 s=/^\s*class\b/,c=function(e){try{var t=a.call(e);return s.test(t)}catch(e){return!1}},l=Object.prototype.toString,u="function"==typeof Symbol&&"symbol"==typeof 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!c(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!c(e)&&(a.call(e),!0)}catch(e){return!1}}(e);if(c(e))return!1;var t=l.call(e);return"[object Function]"===t||"[object GeneratorFunction]"===t}},B9Az:function(e,t,n){"use strict";var r=n("GRId"),o=n("Tqx9");var a=Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.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"}));t.a=a},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 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)}n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return c}))},BeK9:function(e,t,n){"use strict";e.exports=function(e){return null===e||"function"!=typeof e&&"object"!=typeof 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 s}));var r=n("kDDq"),o=(n("Z23Y"),n("6zzY")),a=n("Ohaz"),i=n("UAm0");function s(t,n){const s=Object(o.a)();void 0===n&&void 0!==e&&e.env;const c=(null==s?void 0:s[n])||{},l={...Object(a.a)(),...Object(a.b)(n)},{_overrides:u,...d}=c,f=Object.entries(d).length?Object.assign({},d,t):t,p=Object(r.b)(Object(i.a)(n),t.className),h="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=h,l.className=p,l}}).call(this,n("8oxB"))},CGNl:function(e,t,n){"use strict";var r=n("oNNP"),o=n("10Kj"),a=n("V1cy");e.exports=function(e){return void 0!==e&&(o(a,"Property Descriptor","Desc",e),!(!r(e,"[[Value]]")&&!r(e,"[[Writable]]")))}},"Cw+6":function(e,t,n){"use strict";var r=n("GRId"),o=n("YLtl");t.a=function({shortcut:e,className:t}){if(!e)return null;let n,a;return Object(o.isString)(e)&&(n=e),Object(o.isObject)(e)&&(n=e.display,a=e.ariaLabel),Object(r.createElement)("span",{className:t,"aria-label":a},n)}},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},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))}},DvWQ:function(e,t,n){"use strict";var r=n("rZ7t")("%TypeError%"),o=n("wTIp"),a=n("zYbv"),i=n("kgBv"),s=n("CGNl"),c=n("rDFq"),l=n("i10q"),u=n("HI8u"),d=n("V1cy");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||c(e);return!(f&&(!f["[[Writable]]"]||!f["[[Configurable]]"])||!p)&&o(s,u,a,e,t,{"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Value]]":n,"[[Writable]]":!0})}},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})}},EXo9:function(e,t,n){"use strict";var r=n("rZ7t"),o=n("hZ2/"),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}},ExA7:function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},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),s=(r.day()+7-n)%7,c=(n+6-o.day())%7,l=r.clone().subtract(s,"day"),u=o.clone().add(c,"day"),d=u.diff(l,"days")+1,f=l.clone(),p=[],h=0;h<d;h+=1){h%7==0&&p.push([]);var b=null;(h>=s&&h<d-c||t)&&(b=f.clone()),p[p.length-1].push(b),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"),s=Object,c=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,h,b,m=s(e);for(n=1;n<arguments.length;++n){i=s(arguments[n]),f=r(i);var g=a&&(Object.getOwnPropertySymbols||u);if(g)for(p=g(i),d=0;d<p.length;++d)b=p[d],l(i,b)&&c(f,b);for(d=0;d<f.length;++d)h=i[b=f[d]],l(i,b)&&(m[b]=h)}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"),s=n("aU41"),c=n("71Og"),l=(n("KA1K"),n("eNtd")),u=n("AXvK"),d=n("PcHe"),f=n("Vq1w"),p=n("reMF"),h=n("kqkJ"),b=n("zGFp"),m=Object(p.a)("Mac")&&!Object(p.a)("Chrome")&&(Object(p.a)("Safari")||Object(p.a)("Firefox"));function g(e){!Object(d.a)(e)&&Object(h.a)(e)&&e.focus()}function v(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:b.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,h=t.onKeyPressCapture,b=t.style,O=Object(r.a)(t,["ref","tabIndex","onClickCapture","onMouseDownCapture","onMouseDown","onKeyPressCapture","style"]),j=Object(i.useRef)(null),_=Object(l.a)(a),w=Object(l.a)(d),k=Object(l.a)(p),x=Object(l.a)(h),E=!!e.disabled&&!e.focusable,S=Object(i.useState)(!0),C=S[0],P=S[1],D=Object(i.useState)(!0),M=D[0],I=D[1],T=e.disabled?Object(r.b)({pointerEvents:"none"},b):b;Object(u.a)((function(){var e,t=j.current;t&&("BUTTON"!==(e=t).tagName&&"INPUT"!==e.tagName&&"SELECT"!==e.tagName&&"TEXTAREA"!==e.tagName&&"A"!==e.tagName&&P(!1),function(e){return"BUTTON"===e.tagName||"INPUT"===e.tagName||"SELECT"===e.tagName||"TEXTAREA"===e.tagName}(t)||I(!1))}),[]);var R=y(_,e.disabled),A=y(w,e.disabled),N=y(x,e.disabled),L=Object(i.useCallback)((function(e){var t;null===(t=k.current)||void 0===t||t.call(k,e);var n=e.currentTarget;if(!e.defaultPrevented&&m&&!Object(f.a)(e)&&Object(c.a)(n)){var r=requestAnimationFrame((function(){n.removeEventListener("mouseup",o,!0),g(n)})),o=function(){cancelAnimationFrame(r),g(n)};n.addEventListener("mouseup",o,{once:!0,capture:!0})}}),[]);return Object(r.b)({ref:Object(s.a)(j,n),style:T,tabIndex:v(E,C,M,o),disabled:!(!E||!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=g(n("Koq/")),i=g(n("cDcd")),s=g(n("17x9")),c=g(n("YZDV")),l=g(n("XGBb")),u=n("Hsqg"),d=n("TG4+"),f=g(n("wy2R")),p=n("vV+G"),h=g(n("yc2e")),b=g(n("Ae65")),m=n("Fv1B");function g(e){return e&&e.__esModule?e:{default:e}}function v(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=g(n("xOhs")).default.reactDates.color;function j(e,t){if(!e)return null;var n=e.hover;return t&&n?n:e}var _=s.default.shape({background:s.default.string,border:(0,u.or)([s.default.string,s.default.number]),color:s.default.string,hover:s.default.shape({background:s.default.string,border:(0,u.or)([s.default.string,s.default.number]),color:s.default.string})}),w=(0,u.forbidExtraProps)((0,a.default)({},d.withStylesPropTypes,{day:l.default.momentObj,daySize:u.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:_,outsideStyles:_,todayStyles:_,firstDayOfWeekStyles:_,lastDayOfWeekStyles:_,highlightedCalendarStyles:_,blockedMinNightsStyles:_,blockedCalendarStyles:_,blockedOutOfRangeStyles:_,hoveredSpanStyles:_,selectedSpanStyles:_,lastInRangeStyles:_,selectedStyles:_,selectedStartStyles:_,selectedEndStyles:_,afterHoveredStartStyles:_,phrases:s.default.shape((0,h.default)(p.CalendarDayPhrases))})),k=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"}},x=t.outsideStyles={background:O.outside.backgroundColor,border:0,color:O.outside.color},E=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}},D=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}},I=t.lastInRangeStyles={borderRight:O.core.primary},T=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:k,outsideStyles:x,todayStyles:{},highlightedCalendarStyles:E,blockedMinNightsStyles:S,blockedCalendarStyles:C,blockedOutOfRangeStyles:P,hoveredSpanStyles:D,selectedSpanStyles:M,lastInRangeStyles:I,selectedStyles:T,selectedStartStyles:{},selectedEndStyles:{},afterHoveredStartStyles:{},firstDayOfWeekStyles:{},lastDayOfWeekStyles:{},phrases:p.CalendarDayPhrases},A=function(e){function t(){var e;v(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,c.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,s=t.isOutsideDay,c=t.modifiers,l=t.tabIndex,u=t.renderDayContents,f=t.styles,p=t.phrases,h=t.defaultStyles,m=t.outsideStyles,g=t.todayStyles,v=t.firstDayOfWeekStyles,y=t.lastDayOfWeekStyles,O=t.highlightedCalendarStyles,_=t.blockedMinNightsStyles,w=t.blockedCalendarStyles,k=t.blockedOutOfRangeStyles,x=t.hoveredSpanStyles,E=t.selectedSpanStyles,S=t.lastInRangeStyles,C=t.selectedStyles,P=t.selectedStartStyles,D=t.selectedEndStyles,M=t.afterHoveredStartStyles,I=this.state.isHovered;if(!n)return i.default.createElement("td",null);var T=(0,b.default)(n,o,a,c,p),R=T.daySizeStyles,A=T.useDefaultCursor,N=T.selected,L=T.hoveredSpan,F=T.isOutsideRange,z=T.ariaLabel;return i.default.createElement("td",r({},(0,d.css)(f.CalendarDay,A&&f.CalendarDay__defaultCursor,R,j(h,I),s&&j(m,I),c.has("today")&&j(g,I),c.has("first-day-of-week")&&j(v,I),c.has("last-day-of-week")&&j(y,I),c.has("highlighted-calendar")&&j(O,I),c.has("blocked-minimum-nights")&&j(_,I),c.has("blocked-calendar")&&j(w,I),L&&j(x,I),c.has("after-hovered-start")&&j(M,I),c.has("selected-span")&&j(E,I),c.has("last-in-range")&&j(S,I),N&&j(C,I),c.has("selected-start")&&j(P,I),c.has("selected-end")&&j(D,I),F&&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:l}),u?u(n,c):n.format("D"))}}]),t}(i.default.Component);A.propTypes=w,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)()},HI8u: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)}},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}},"Hx/O":function(e,t,n){"use strict";var r=n("rZ7t"),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)}},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 s=/^\s*class\b/,c=function(e){try{var t=a.call(e);return s.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!c(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!c(e)&&(a.call(e),!0)}catch(e){return!1}}(e);if(c(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 s=t.clone().add(n-1,"months").endOf("month");a&&(s=s.endOf("week"));return!(0,o.default)(e,s)};var r=a(n("h6xH")),o=a(n("Nho6"));function a(e){return e&&e.__esModule?e:{default:e}}},In1I:function(e,t,n){"use strict";var r=n("rZ7t")("%Math.abs%");e.exports=function(e){return r(e)}},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 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 c(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(c(i)).some((function(e,n){var o,i=String(t)+": index "+String(n);return null!=(l=(o=a.default.string).isRequired.apply(o,[s({},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"),s=n("71Og"),c=(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(c.a)(n),h=Object(c.a)(o),b=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(s.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=h.current)||void 0===n||n.call(h,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:b,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("rZ7t")},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,s=/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))px/,c=/^(-?(([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=/^,/,h=/^\#([0-9a-fA-F]+)/,b=/^([a-zA-Z]+)/,m=/^rgb/i,g=/^rgba/i,v=/^(([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=D(_);return y.length>0&&O("Invalid input not EOF"),e}function _(){return w("linear-gradient",e,x)||w("repeating-linear-gradient",t,x)||w("radial-gradient",n,E)||w("repeating-radial-gradient",r,E)}function w(e,t,n){return k(t,(function(t){var r=n();return r&&(N(p)||O("Missing comma before color stops")),{type:e,orientation:r,colorStops:D(M)}}))}function k(e,t){var n=N(e);if(n)return N(d)||O("Missing ("),result=t(n),N(f)||O("Missing )"),result}function x(){return A("directional",o,1)||A("angular",u,1)}function E(){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=T()||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:T(),y:T()};if(e.x||e.y)return{type:"position",value:e}}function D(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",h,1)||k(g,(function(){return{type:"rgba",value:D(I)}}))||k(m,(function(){return{type:"rgb",value:D(I)}}))||A("literal",b,0);return e||O("Expected color definition"),e.length=T(),e}function I(){return N(v)[1]}function T(){return A("%",c,1)||A("position-keyword",i,1)||R()}function R(){return A("px",s,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"),s=n("8R9v"),c=o.apply(i()),l=function(e,t){return c(Object,arguments)};r(l,{getPolyfill:i,implementation:a,shim:s}),e.exports=l},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},L7Wv:function(e,t,n){"use strict";var r=n("WZeS");e.exports=function(e){return arguments.length>1?r(e,arguments[1]):r(e)}},L8Kx:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return s}));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 s({type:e,options:t={},children:n}){return n({className:i({type:e,...t})})}},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,s=t===String?["toString","valueOf"]:["valueOf","toString"];for(i=0;i<s.length;++i)if(a(e[s[i]])&&(n=e[s[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)}},MiSq:function(e,t,n){"use strict";n.d(t,"a",(function(){return b}));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("4qRI"),i=/[A-Z]|^ms/g,s=/_EMO_([^_]+?)_([^]*?)_EMO_/g,c=function(e){return 45===e.charCodeAt(1)},l=function(e){return null!=e&&"boolean"!=typeof e},u=Object(a.a)((function(e){return c(e)?e:e.replace(i,"-$&").toLowerCase()})),d=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(s,(function(e,t,n){return p={name:t,styles:n,next:p},t}))}return 1===o[e]||c(e)||"number"!=typeof t||0===t?t:t+"px"};function f(e,t,n,r){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 o=n.next;if(void 0!==o)for(;void 0!==o;)p={name:o.name,styles:o.styles,next:p},o=o.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],!1);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 s=f(e,t,i,!1);switch(a){case"animation":case"animationName":r+=u(a)+":"+s+";";break;default:r+=a+"{"+s+"}"}}else for(var c=0;c<i.length;c++)l(i[c])&&(r+=u(a)+":"+d(a,i[c])+";")}return r}(e,t,n);case"function":if(void 0!==e){var a=p,i=n(e);return p=a,f(e,t,i,r)}break;case"string":}if(null==t)return n;var s=t[n];return void 0===s||r?n:s}var p,h=/label:\s*([^\s;\n{]+)\s*;/g;var b=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,!1)):a+=i[0];for(var s=1;s<e.length;s++)a+=f(n,t,e[s],46===a.charCodeAt(a.length-1)),o&&(a+=i[s]);h.lastIndex=0;for(var c,l="";null!==(c=h.exec(a));)l+="-"+c[1];return{name:r(a)+l,styles:a,next:p}}},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=v(n("Koq/")),i=v(n("cDcd")),s=v(n("17x9")),c=v(n("YZDV")),l=v(n("XGBb")),u=n("Hsqg"),d=n("TG4+"),f=v(n("wy2R")),p=n("vV+G"),h=v(n("yc2e")),b=v(n("Ae65")),m=v(n("J7JS")),g=n("Fv1B");function v(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:s.default.bool,modifiers:m.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))})),_={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},w=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,c.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,s=t.isOutsideDay,c=t.modifiers,l=t.renderDayContents,u=t.tabIndex,f=t.styles,p=t.phrases;if(!n)return i.default.createElement("td",null);var h=(0,b.default)(n,o,a,c,p),m=h.daySizeStyles,g=h.useDefaultCursor,v=h.selected,y=h.hoveredSpan,O=h.isOutsideRange,j=h.ariaLabel;return i.default.createElement("td",r({},(0,d.css)(f.CalendarDay,g&&f.CalendarDay__defaultCursor,f.CalendarDay__default,s&&f.CalendarDay__outside,c.has("today")&&f.CalendarDay__today,c.has("first-day-of-week")&&f.CalendarDay__firstDayOfWeek,c.has("last-day-of-week")&&f.CalendarDay__lastDayOfWeek,c.has("hovered-offset")&&f.CalendarDay__hovered_offset,c.has("highlighted-calendar")&&f.CalendarDay__highlighted_calendar,c.has("blocked-minimum-nights")&&f.CalendarDay__blocked_minimum_nights,c.has("blocked-calendar")&&f.CalendarDay__blocked_calendar,y&&f.CalendarDay__hovered_span,c.has("selected-span")&&f.CalendarDay__selected_span,c.has("last-in-range")&&f.CalendarDay__last_in_range,c.has("selected-start")&&f.CalendarDay__selected_start,c.has("selected-end")&&f.CalendarDay__selected_end,v&&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,c):n.format("D"))}}]),t}(i.default.Component);w.propTypes=j,w.defaultProps=_,t.PureCalendarDay=w,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:{}}}))(w)},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")),s=M(n("17x9")),c=M(n("YZDV")),l=n("Hsqg"),u=n("TG4+"),d=M(n("wy2R")),f=M(n("DzJC")),p=M(n("LTAC")),h=M(n("3gBW")),b=n("vV+G"),m=M(n("yc2e")),g=M(n("Thzv")),v=M(n("zfJ5")),y=n("1+Kn"),O=M(y),j=M(n("0Dl3")),_=M(n("m2ax")),w=M(n("ixyq")),k=M(n("+51k")),x=M(n("IgE5")),E=M(n("J7JS")),S=M(n("aE6U")),C=M(n("2S2E")),P=M(n("oR9Z")),D=n("Fv1B");function M(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 T=(0,l.forbidExtraProps)((0,a.default)({},u.withStylesPropTypes,{enableOutsideDays:s.default.bool,numberOfMonths:s.default.number,orientation:S.default,withPortal:s.default.bool,onOutsideClick:s.default.func,hidden:s.default.bool,initialVisibleMonth:s.default.func,firstDayOfWeek:C.default,renderCalendarInfo:s.default.func,calendarInfoPosition:P.default,hideKeyboardShortcutsPanel:s.default.bool,daySize:l.nonNegativeInteger,isRTL:s.default.bool,verticalHeight:l.nonNegativeInteger,noBorder:s.default.bool,transitionDuration:l.nonNegativeInteger,verticalBorderSpacing:l.nonNegativeInteger,horizontalMonthPadding:l.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,l.mutuallyExclusiveProps)(s.default.func,"renderMonthText","renderMonthElement"),renderMonthElement:(0,l.mutuallyExclusiveProps)(s.default.func,"renderMonthText","renderMonthElement"),modifiers:s.default.objectOf(s.default.objectOf(E.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,m.default)(b.DayPickerPhrases)),dayAriaLabelFormat:s.default.string})),R=t.defaultProps={enableOutsideDays:!1,numberOfMonths:2,orientation:D.HORIZONTAL_ORIENTATION,withPortal:!1,onOutsideClick:function(){},hidden:!1,initialVisibleMonth:function(){return(0,d.default)()},firstDayOfWeek:null,renderCalendarInfo:null,calendarInfoPosition:D.INFO_POSITION_BOTTOM,hideKeyboardShortcutsPanel:!1,daySize:D.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:b.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,_.default)(e.daySize,a):0;return n.hasSetInitialVisibleMonth=!e.hidden,n.state={currentMonth:r,monthTransition:null,translationValue:i,scrollableMonthMultiple:1,calendarMonthWidth:(0,_.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,w.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,s=this.state.currentMonth;t||this.hasSetInitialVisibleMonth||(this.hasSetInitialVisibleMonth=!0,this.setState({currentMonth:e.initialVisibleMonth()}));var c=this.props,l=c.daySize,u=c.isFocused,d=c.renderMonthText;if(e.daySize!==l&&this.setState({calendarMonthWidth:(0,_.default)(e.daySize,i)}),n!==u)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});a!==d&&this.setState({monthTitleHeight:null})}},{key:"shouldComponentUpdate",value:function(e,t){return(0,c.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,w.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,s=i.focusedDate,c=i.monthTitleHeight;if(this.isHorizontal()&&(n!==e.orientation||r!==e.daySize)){var l=this.calendarMonthWeeks.slice(1,a+1),u=c+Math.max.apply(Math,[0].concat(I(l)))*(r-1)+1;this.adjustDayPickerHeight(u)}e.isFocused||!o||s||this.container.focus()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.setCalendarInfoWidthTimeout)}},{key:"onKeyDown",value:function(e){e.stopPropagation(),D.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 s=a.clone(),c=!1,l=(0,k.default)(),u=function(){l&&l.focus()};switch(e.key){case"ArrowUp":e.preventDefault(),s.subtract(1,"week"),c=this.maybeTransitionPrevMonth(s);break;case"ArrowLeft":e.preventDefault(),r?s.add(1,"day"):s.subtract(1,"day"),c=this.maybeTransitionPrevMonth(s);break;case"Home":e.preventDefault(),s.startOf("week"),c=this.maybeTransitionPrevMonth(s);break;case"PageUp":e.preventDefault(),s.subtract(1,"month"),c=this.maybeTransitionPrevMonth(s);break;case"ArrowDown":e.preventDefault(),s.add(1,"week"),c=this.maybeTransitionNextMonth(s);break;case"ArrowRight":e.preventDefault(),r?s.subtract(1,"day"):s.add(1,"day"),c=this.maybeTransitionNextMonth(s);break;case"End":e.preventDefault(),s.endOf("week"),c=this.maybeTransitionNextMonth(s);break;case"PageDown":e.preventDefault(),s.add(1,"month"),c=this.maybeTransitionNextMonth(s);break;case"?":this.openKeyboardShortcutsPanel(u);break;case"Escape":i?this.closeKeyboardShortcutsPanel():n()}c||this.setState({focusedDate:s})}}},{key:"onPrevMonthClick",value:function(e,t){var n=this.props,r=n.daySize,o=n.isRTL,a=n.numberOfMonths,i=this.state,s=i.calendarMonthWidth,c=i.monthTitleHeight;t&&t.preventDefault();var l=void 0;if(this.isVertical())l=c+this.calendarMonthWeeks[0]*(r-1)+1;else if(this.isHorizontal()){l=s,o&&(l=-2*s);var u=this.calendarMonthWeeks.slice(0,a),d=c+Math.max.apply(Math,[0].concat(I(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,s=i.calendarMonthWidth,c=i.monthTitleHeight;t&&t.preventDefault();var l=void 0;if(this.isVertical()&&(l=-(c+this.calendarMonthWeeks[1]*(a-1)+1)),this.isHorizontal()){l=-s,r&&(l=0);var u=this.calendarMonthWeeks.slice(2,o+2),d=c+Math.max.apply(Math,[0].concat(I(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===D.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,x.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(),s=(0,x.default)(e,r,t);return a!==i&&!s&&(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(),s=(0,x.default)(e,r,t);return a!==i&&!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===D.HORIZONTAL_ORIENTATION}},{key:"isVertical",value:function(){var e=this.props.orientation;return e===D.VERTICAL_ORIENTATION||e===D.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,s=t.isRTL,c=this.state,l=c.currentMonth,u=c.monthTransition,d=c.focusedDate,f=c.nextFocusedDate,p=c.withMouseInteractions,h=c.calendarMonthWidth;if(u){var b=l.clone(),m=this.getFirstDayOfWeek();if("prev"===u){b.subtract(1,"month"),n&&n(b);var g=b.clone().subtract(1,"month"),v=(0,j.default)(g,m);this.calendarMonthWeeks=[v].concat(I(this.calendarMonthWeeks.slice(0,-1)))}else if("next"===u){b.add(1,"month"),r&&r(b);var y=b.clone().add(o,"month"),O=(0,j.default)(y,m);this.calendarMonthWeeks=[].concat(I(this.calendarMonthWeeks.slice(1)),[O])}else"month_selection"===u?a&&a(b):"year_selection"===u&&i&&i(b);var _=null;f?_=f:d||p||(_=this.getFocusedDay(b)),this.setState({currentMonth:b,monthTransition:null,translationValue:s&&this.isHorizontal()?-h:0,nextFocusedDate:null,focusedDate:_},(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),a=r+Math.max.apply(Math,[0].concat(I(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,s=t.phrases,c=t.isRTL;if(o)return null;var l=void 0;return l=a===D.VERTICAL_SCROLLABLE?this.multiplyScrollableMonths:function(t){e.onNextMonthClick(null,t)},i.default.createElement(v.default,{onPrevMonthClick:function(t){e.onPrevMonthClick(null,t)},onNextMonthClick:l,navPrev:n,navNext:r,orientation:a,phrases:s,isRTL:c})}},{key:"renderWeekHeader",value:function(e){var t=this.props,n=t.daySize,o=t.horizontalMonthPadding,a=t.orientation,s=t.weekDayFormat,c=t.styles,l=this.state.calendarMonthWidth,f=a===D.VERTICAL_SCROLLABLE,p={left:e*l},h={marginLeft:-l/2},b={};this.isHorizontal()?b=p:this.isVertical()&&!f&&(b=h);for(var m=this.getFirstDayOfWeek(),g=[],v=0;v<7;v+=1)g.push(i.default.createElement("li",r({key:v},(0,u.css)(c.DayPicker_weekHeader_li,{width:n})),i.default.createElement("small",null,(0,d.default)().day((v+m)%7).format(s))));return i.default.createElement("div",r({},(0,u.css)(c.DayPicker_weekHeader,this.isVertical()&&c.DayPicker_weekHeader__vertical,f&&c.DayPicker_weekHeader__verticalScrollable,b,{padding:"0 "+String(o)+"px"}),{key:"week-"+String(e)}),i.default.createElement("ul",(0,u.css)(c.DayPicker_weekHeader_ul),g))}},{key:"render",value:function(){for(var e=this,t=this.state,n=t.calendarMonthWidth,o=t.currentMonth,a=t.monthTransition,s=t.translationValue,c=t.scrollableMonthMultiple,l=t.focusedDate,d=t.showKeyboardShortcuts,f=t.isTouchDevice,p=t.hasSetHeight,b=t.calendarInfoWidth,m=t.monthTitleHeight,v=this.props,j=v.enableOutsideDays,_=v.numberOfMonths,w=v.orientation,k=v.modifiers,x=v.withPortal,E=v.onDayClick,S=v.onDayMouseEnter,C=v.onDayMouseLeave,P=v.firstDayOfWeek,M=v.renderMonthText,I=v.renderCalendarDay,T=v.renderDayContents,R=v.renderCalendarInfo,A=v.renderMonthElement,N=v.calendarInfoPosition,L=v.hideKeyboardShortcutsPanel,F=v.onOutsideClick,z=v.monthFormat,B=v.daySize,H=v.isFocused,V=v.isRTL,W=v.styles,K=v.theme,U=v.phrases,G=v.verticalHeight,q=v.dayAriaLabelFormat,$=v.noBorder,Y=v.transitionDuration,Z=v.verticalBorderSpacing,X=v.horizontalMonthPadding,J=K.reactDates.spacing.dayPickerHorizontalPadding,Q=this.isHorizontal(),ee=this.isVertical()?1:_,te=[],ne=0;ne<ee;ne+=1)te.push(this.renderWeekHeader(ne));var re=w===D.VERTICAL_SCROLLABLE,oe=void 0;Q?oe=this.calendarMonthGridHeight:!this.isVertical()||re||x||(oe=G||1.75*n);var ae=null!==a,ie=!ae&&H,se=y.BOTTOM_RIGHT;this.isVertical()&&(se=x?y.TOP_LEFT:y.TOP_RIGHT);var ce=Q&&p,le=N===D.INFO_POSITION_TOP,ue=N===D.INFO_POSITION_BOTTOM,de=N===D.INFO_POSITION_BEFORE,fe=N===D.INFO_POSITION_AFTER,pe=de||fe,he=R&&i.default.createElement("div",r({ref:this.setCalendarInfoRef},(0,u.css)(pe&&W.DayPicker_calendarInfo__horizontal)),R()),be=R&&pe?b:0,me=this.getFirstVisibleIndex(),ge=n*_+2*J,ve=ge+be+1,ye={width:Q&&ge,height:oe},Oe={width:Q&&ge},je={width:Q&&ve,marginLeft:Q&&x?-ve/2:null,marginTop:Q&&x?-n/2:null};return i.default.createElement("div",r({role:"application","aria-label":U.calendarLabel},(0,u.css)(W.DayPicker,Q&&W.DayPicker__horizontal,re&&W.DayPicker__verticalScrollable,Q&&x&&W.DayPicker_portal__horizontal,this.isVertical()&&x&&W.DayPicker_portal__vertical,je,!m&&W.DayPicker__hidden,!$&&W.DayPicker__withBorder)),i.default.createElement(h.default,{onOutsideClick:F},(le||de)&&he,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,ce&&W.DayPicker_transitionContainer__horizontal,this.isVertical()&&W.DayPicker_transitionContainer__vertical,re&&W.DayPicker_transitionContainer__verticalScrollable,ye),{ref:this.setTransitionContainerRef}),i.default.createElement(g.default,{setMonthTitleHeight:m?void 0:this.setMonthTitleHeight,translationValue:s,enableOutsideDays:j,firstVisibleMonthIndex:me,initialMonth:o,isAnimating:ae,modifiers:k,orientation:w,numberOfMonths:_*c,onDayClick:E,onDayMouseEnter:S,onDayMouseLeave:C,onMonthChange:this.onMonthChange,onYearChange:this.onYearChange,renderMonthText:M,renderCalendarDay:I,renderDayContents:T,renderMonthElement:A,onMonthTransitionEnd:this.updateStateAfterMonthTransition,monthFormat:z,daySize:B,firstDayOfWeek:P,isFocused:ie,focusedDate:l,phrases:U,isRTL:V,dayAriaLabelFormat:q,transitionDuration:Y,verticalBorderSpacing:Z,horizontalMonthPadding:X}),re&&this.renderNavigation()),!f&&!L&&i.default.createElement(O.default,{block:this.isVertical()&&!x,buttonLocation:se,showKeyboardShortcutsPanel:d,openKeyboardShortcutsPanel:this.openKeyboardShortcutsPanel,closeKeyboardShortcutsPanel:this.closeKeyboardShortcutsPanel,phrases:U}))),(ue||fe)&&he))}}]),t}(i.default.Component);A.propTypes=T,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,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:i.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,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}}},PJYZ:function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.default=e.exports,e.exports.__esModule=!0},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}},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%"),s=o("%Reflect.apply%",!0)||r.call(i,a),c=o("%Object.defineProperty%",!0);if(c)try{c({},"a",{value:1})}catch(e){c=null}e.exports=function(){return s(r,i,arguments)};var l=function(){return s(r,a,arguments)};c?c(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("rZ7t"),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}},"R/b7":function(e,t,n){"use strict";var r=n("In1I"),o=n("4HRn"),a=n("HwJD"),i=n("ald4");e.exports=function(e){if("number"!=typeof e||a(e)||!i(e))return!1;var t=r(e);return o(t)===t}},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 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)}n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return c}))},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:"M18.3 5.6L9.9 16.9l-4.6-3.4-.9 1.2 5.8 4.3 9.3-12.6z"}));t.a=a},RxS6:function(e,t){e.exports=window.wp.keycodes},S0jC:function(e,t,n){"use strict";e.exports=n("laOf")},SB3u:function(e,t,n){"use strict";n.r(t),n.d(t,"SVG",(function(){return o.SVG})),n.d(t,"Path",(function(){return o.Path})),n.d(t,"Circle",(function(){return o.Circle})),n.d(t,"Polygon",(function(){return o.Polygon})),n.d(t,"Rect",(function(){return o.Rect})),n.d(t,"G",(function(){return o.G})),n.d(t,"HorizontalRule",(function(){return o.HorizontalRule})),n.d(t,"BlockQuotation",(function(){return o.BlockQuotation})),n.d(t,"__experimentalAlignmentMatrixControl",(function(){return gt})),n.d(t,"Animate",(function(){return vt.a})),n.d(t,"__unstableGetAnimateClassName",(function(){return vt.b})),n.d(t,"AnglePickerControl",(function(){return Vo})),n.d(t,"Autocomplete",(function(){return Zo})),n.d(t,"__unstableUseAutocompleteProps",(function(){return Yo})),n.d(t,"BaseControl",(function(){return St})),n.d(t,"__experimentalBoxControl",(function(){return fi})),n.d(t,"Button",(function(){return Uo.a})),n.d(t,"ButtonGroup",(function(){return pi})),n.d(t,"Card",(function(){return Di})),n.d(t,"CardBody",(function(){return Ii})),n.d(t,"CardDivider",(function(){return Ti})),n.d(t,"CardFooter",(function(){return Ai})),n.d(t,"CardHeader",(function(){return Li})),n.d(t,"CardMedia",(function(){return Fi})),n.d(t,"CheckboxControl",(function(){return Hi})),n.d(t,"ClipboardButton",(function(){return Vi})),n.d(t,"__experimentalColorEdit",(function(){return ys})),n.d(t,"ColorIndicator",(function(){return Os})),n.d(t,"ColorPalette",(function(){return js})),n.d(t,"ColorPicker",(function(){return bs})),n.d(t,"ComboboxControl",(function(){return Ms})),n.d(t,"__unstableComposite",(function(){return lt})),n.d(t,"__unstableCompositeGroup",(function(){return pt})),n.d(t,"__unstableCompositeItem",(function(){return f.a})),n.d(t,"__unstableUseCompositeState",(function(){return ze})),n.d(t,"CustomSelectControl",(function(){return Tc})),n.d(t,"Dashicon",(function(){return Rc.a})),n.d(t,"DateTimePicker",(function(){return Gc})),n.d(t,"DatePicker",(function(){return Hc})),n.d(t,"TimePicker",(function(){return Uc})),n.d(t,"__experimentalDimensionControl",(function(){return Qc})),n.d(t,"Disabled",(function(){return sl})),n.d(t,"__unstableDisclosureContent",(function(){return ul})),n.d(t,"__experimentalDivider",(function(){return hl})),n.d(t,"Draggable",(function(){return ml})),n.d(t,"DropZone",(function(){return vl})),n.d(t,"DropZoneProvider",(function(){return yl})),n.d(t,"Dropdown",(function(){return $i})),n.d(t,"DropdownMenu",(function(){return Sl})),n.d(t,"DuotoneSwatch",(function(){return Ml})),n.d(t,"DuotonePicker",(function(){return Yl})),n.d(t,"ExternalLink",(function(){return Jl})),n.d(t,"Flex",(function(){return Zt})),n.d(t,"FlexBlock",(function(){return Ht})),n.d(t,"FlexItem",(function(){return Vt})),n.d(t,"FocalPointPicker",(function(){return ku})),n.d(t,"FocusableIframe",(function(){return xu})),n.d(t,"FontSizePicker",(function(){return Qu})),n.d(t,"FormFileUpload",(function(){return ed})),n.d(t,"FormToggle",(function(){return td})),n.d(t,"FormTokenField",(function(){return cd})),n.d(t,"__experimentalGradientPicker",(function(){return kd})),n.d(t,"__experimentalCustomGradientPicker",(function(){return wd})),n.d(t,"__experimentalGrid",(function(){return Ed})),n.d(t,"Guide",(function(){return Vd})),n.d(t,"GuidePage",(function(){return Wd})),n.d(t,"__experimentalHeading",(function(){return Kd})),n.d(t,"__experimentalHStack",(function(){return $d})),n.d(t,"Icon",(function(){return qc.a})),n.d(t,"IconButton",(function(){return Yd})),n.d(t,"__experimentalInputControl",(function(){return Co})),n.d(t,"KeyboardShortcuts",(function(){return es})),n.d(t,"MenuGroup",(function(){return Zd})),n.d(t,"MenuItem",(function(){return Jd})),n.d(t,"MenuItemsChoice",(function(){return Qd})),n.d(t,"Modal",(function(){return Fd})),n.d(t,"ScrollLock",(function(){return ef.a})),n.d(t,"NavigableMenu",(function(){return xl})),n.d(t,"TabbableContainer",(function(){return tf})),n.d(t,"__experimentalNavigation",(function(){return yf})),n.d(t,"__experimentalNavigationBackButton",(function(){return _f})),n.d(t,"__experimentalNavigationGroup",(function(){return kf})),n.d(t,"__experimentalNavigationItem",(function(){return Mf})),n.d(t,"__experimentalNavigationMenu",(function(){return Nf})),n.d(t,"Notice",(function(){return Ff})),n.d(t,"__experimentalNumberControl",(function(){return No})),n.d(t,"NoticeList",(function(){return zf})),n.d(t,"Panel",(function(){return Hf})),n.d(t,"PanelBody",(function(){return Kf})),n.d(t,"PanelHeader",(function(){return Bf})),n.d(t,"PanelRow",(function(){return Uf})),n.d(t,"Placeholder",(function(){return Gf})),n.d(t,"Popover",(function(){return Go.a})),n.d(t,"QueryControls",(function(){return Jf})),n.d(t,"__experimentalRadio",(function(){return sp})),n.d(t,"__experimentalRadioGroup",(function(){return up})),n.d(t,"RadioControl",(function(){return dp})),n.d(t,"RangeControl",(function(){return Ju})),n.d(t,"ResizableBox",(function(){return Gp})),n.d(t,"ResponsiveWrapper",(function(){return qp})),n.d(t,"SandBox",(function(){return $p})),n.d(t,"SelectControl",(function(){return Xc})),n.d(t,"Snackbar",(function(){return Yp.a})),n.d(t,"SnackbarList",(function(){return Xp})),n.d(t,"__experimentalSpacer",(function(){return Qp})),n.d(t,"Spinner",(function(){return rh})),n.d(t,"TabPanel",(function(){return ah})),n.d(t,"__experimentalText",(function(){return En})),n.d(t,"TextControl",(function(){return as})),n.d(t,"TextareaControl",(function(){return dh})),n.d(t,"TextHighlight",(function(){return fh})),n.d(t,"Tip",(function(){return ph})),n.d(t,"ToggleControl",(function(){return hh})),n.d(t,"Toolbar",(function(){return Eh})),n.d(t,"ToolbarButton",(function(){return vh})),n.d(t,"ToolbarDropdownMenu",(function(){return Sh})),n.d(t,"__experimentalToolbarContext",(function(){return mh.a})),n.d(t,"ToolbarGroup",(function(){return jh})),n.d(t,"ToolbarItem",(function(){return bh.a})),n.d(t,"Tooltip",(function(){return p.a})),n.d(t,"__experimentalTreeGrid",(function(){return Ih})),n.d(t,"__experimentalTreeGridRow",(function(){return Th})),n.d(t,"__experimentalTreeGridCell",(function(){return Nh})),n.d(t,"__experimentalTreeGridItem",(function(){return Ah})),n.d(t,"TreeSelect",(function(){return Yf})),n.d(t,"__experimentalTruncate",(function(){return Lh})),n.d(t,"__experimentalUnitControl",(function(){return ma})),n.d(t,"__experimentalUseCustomUnits",(function(){return fa})),n.d(t,"VisuallyHidden",(function(){return h.a})),n.d(t,"__experimentalVStack",(function(){return Fh})),n.d(t,"IsolatedEventContainer",(function(){return Bh})),n.d(t,"createSlotFill",(function(){return Hh.d})),n.d(t,"Slot",(function(){return Hh.c})),n.d(t,"Fill",(function(){return Hh.a})),n.d(t,"SlotFillProvider",(function(){return Hh.b})),n.d(t,"__experimentalUseSlot",(function(){return Vh.a})),n.d(t,"__experimentalStyleProvider",(function(){return Kh})),n.d(t,"navigateRegions",(function(){return qh})),n.d(t,"__unstableUseNavigateRegions",(function(){return Gh})),n.d(t,"withConstrainedTabbing",(function(){return $h})),n.d(t,"withFallbackStyles",(function(){return Yh})),n.d(t,"withFilters",(function(){return Xh})),n.d(t,"withFocusOutside",(function(){return Ps})),n.d(t,"withFocusReturn",(function(){return Jh})),n.d(t,"FocusReturnProvider",(function(){return Qh})),n.d(t,"withNotices",(function(){return tb})),n.d(t,"withSpokenMessages",(function(){return ad})),n.d(t,"__unstableWithNext",(function(){return nb.a})),n.d(t,"__unstableComponentSystemProvider",(function(){return rb}));var r={};n.r(r),n.d(r,"Text",(function(){return fn})),n.d(r,"block",(function(){return pn})),n.d(r,"positive",(function(){return hn})),n.d(r,"destructive",(function(){return bn})),n.d(r,"muted",(function(){return mn})),n.d(r,"highlighterText",(function(){return gn})),n.d(r,"upperCase",(function(){return vn}));var o=n("Tqx9"),a=n("wx14"),i=n("GRId"),s=n("YLtl"),c=n("TSYQ"),l=n.n(c),u=n("l3Sj"),d=n("K9lf"),f=n("kTC8"),p=n("W/NR"),h=n("ldlY");const b=[["top left","top center","top right"],["center left","center center","center right"],["bottom left","bottom center","bottom right"]],m={"top left":Object(u.__)("Top Left"),"top center":Object(u.__)("Top Center"),"top right":Object(u.__)("Top Right"),"center left":Object(u.__)("Center Left"),"center center":Object(u.__)("Center Center"),"center right":Object(u.__)("Center Right"),"bottom left":Object(u.__)("Bottom Left"),"bottom center":Object(u.__)("Bottom Center"),"bottom right":Object(u.__)("Bottom Right")},g=Object(s.flattenDeep)(b);function v(e){return("center"===e?"center center":e).replace("-"," ")}function y(e,t){return`${e}-${v(t).replace(" ","-")}`}var O=n("lSNA"),j=n.n(O),_=n("cDcd"),w=n.n(_),k=n("9uj6");function x(e,t){return(x=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function E(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,x(e,t)}var S=n("TqVZ"),C=(n("VbXa"),n("SIPS")),P=n("MiSq"),D=(Object.prototype.hasOwnProperty,Object(_.createContext)("undefined"!=typeof HTMLElement?Object(S.a)():null)),M=Object(_.createContext)({}),I=D.Provider,T=function(e){var t=function(t,n){return Object(_.createElement)(D.Consumer,null,(function(r){return e(t,r,n)}))};return Object(_.forwardRef)(t)};var R=n("z9I/");var A=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Object(P.a)(t)},N=(_.Component,function e(t){for(var n=t.length,r=0,o="";r<n;r++){var a=t[r];if(null!=a){var i=void 0;switch(typeof a){case"boolean":break;case"object":if(Array.isArray(a))i=e(a);else for(var s in i="",a)a[s]&&s&&(i&&(i+=" "),i+=s);break;default:i=a}i&&(o&&(o+=" "),o+=i)}}return o});function L(e,t,n){var r=[],o=Object(C.a)(e,r,n);return r.length<2?n:o+t(r)}T((function(e,t){return Object(_.createElement)(M.Consumer,null,(function(n){var r=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=Object(P.a)(n,t.registered);return Object(C.b)(t,o,!1),t.key+"-"+o.name},o={css:r,cx:function(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];return L(t.registered,r,N(n))},theme:n},a=e.children(o);return!0,a}))}));var F=k.default,z=function(e){return"theme"!==e&&"innerRef"!==e},B=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?F:z};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 V(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?H(n,!0).forEach((function(t){j()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):H(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var W=function e(t,n){var r,o,a;void 0!==n&&(r=n.label,a=n.target,o=t.__emotion_forwardProp&&n.shouldForwardProp?function(e){return t.__emotion_forwardProp(e)&&n.shouldForwardProp(e)}:n.shouldForwardProp);var i=t.__emotion_real===t,s=i&&t.__emotion_base||t;"function"!=typeof o&&i&&(o=t.__emotion_forwardProp);var c=o||B(s),l=!c("as");return function(){var u=arguments,d=i&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==r&&d.push("label:"+r+";"),null==u[0]||void 0===u[0].raw)d.push.apply(d,u);else{0,d.push(u[0][0]);for(var f=u.length,p=1;p<f;p++)d.push(u[p],u[0][p])}var h=T((function(e,t,n){return Object(_.createElement)(M.Consumer,null,(function(r){var i=l&&e.as||s,u="",f=[],p=e;if(null==e.theme){for(var h in p={},e)p[h]=e[h];p.theme=r}"string"==typeof e.className?u=Object(C.a)(t.registered,f,e.className):null!=e.className&&(u=e.className+" ");var b=Object(P.a)(d.concat(f),t.registered,p);Object(C.b)(t,b,"string"==typeof i);u+=t.key+"-"+b.name,void 0!==a&&(u+=" "+a);var m=l&&void 0===o?B(i):c,g={};for(var v in e)l&&"as"===v||m(v)&&(g[v]=e[v]);return g.className=u,g.ref=n||e.innerRef,Object(_.createElement)(i,g)}))}));return h.displayName=void 0!==r?r:"Styled("+("string"==typeof s?s:s.displayName||s.name||"Component")+")",h.defaultProps=t.defaultProps,h.__emotion_real=h,h.__emotion_base=s,h.__emotion_styles=d,h.__emotion_forwardProp=o,Object.defineProperty(h,"toString",{value:function(){return"."+a}}),h.withComponent=function(t,r){return e(t,void 0!==r?V({},n||{},{},r):n).apply(void 0,d)},h}},K=n("Zss7"),U=n.n(K);function G(e="",t=1){const{r:n,g:r,b:o}=U()(e).toRgb();return`rgba(${n}, ${r}, ${o}, ${t})`}const q={black:"#000",white:"#fff"},$={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"}},Y={900:"#191e23",800:"#23282d",700:"#32373c",600:"#40464d",500:"#555d66",400:"#606a73",300:"#6c7781",200:"#7e8993",150:"#8d96a0",100:"#8f98a1",placeholder:G($.gray[900],.62)},Z={900:G("#000510",.9),800:G("#00000a",.85),700:G("#06060b",.8),600:G("#000913",.75),500:G("#0a1829",.7),400:G("#0a1829",.65),300:G("#0e1c2e",.62),200:G("#162435",.55),100:G("#223443",.5),backgroundFill:G(Y[700],.7)},X={900:G("#304455",.45),800:G("#425863",.4),700:G("#667886",.35),600:G("#7b86a2",.3),500:G("#9197a2",.25),400:G("#95959c",.2),300:G("#829493",.15),200:G("#8b8b96",.1),100:G("#747474",.05)},J={900:"#a2aab2",800:"#b5bcc2",700:"#ccd0d4",600:"#d7dade",500:"#e2e4e7",400:"#e8eaeb",300:"#edeff0",200:"#f3f4f5",100:"#f8f9f9",placeholder:G(q.white,.65)},Q={900:G(q.white,.5),800:G(q.white,.45),700:G(q.white,.4),600:G(q.white,.35),500:G(q.white,.3),400:G(q.white,.25),300:G(q.white,.2),200:G(q.white,.15),100:G(q.white,.1),backgroundFill:G(J[300],.8)},ee={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"}},te={theme:`var( --wp-admin-theme-color, ${ee.wordpress[700]})`,themeDark10:`var( --wp-admin-theme-color-darker-10, ${ee.medium.focus})`},ne={theme:te.theme,background:q.white,backgroundDisabled:J[200],border:$.gray[700],borderFocus:te.themeDark10,borderDisabled:$.gray[400],borderLight:$.gray[200],label:Y[500],textDisabled:Y[150],textDark:q.white,textLight:q.black},re={...q,darkGray:Object(s.merge)({},Y,$.darkGray),darkOpacity:Z,darkOpacityLight:X,mediumGray:$.mediumGray,gray:$.gray,lightGray:Object(s.merge)({},J,$.lightGray),lightGrayLight:Q,blue:Object(s.merge)({},ee,$.blue),alert:{yellow:"#f0b849",red:"#d94f4f",green:"#4ab866"},admin:te,ui:ne};function oe(e="transition"){let t;switch(e){case"transition":t="transition-duration: 0ms;";break;case"animation":t="animation-duration: 1ms;";break;default:t="\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${t};\n\t\t}\n\t`}var ae={name:"1xiracb",styles:"border-radius:2px;box-sizing:border-box;display:grid;grid-template-columns:repeat( 3,1fr );outline:none;"};const ie=()=>ae,se=W("div",{target:"e1od1u4s0",label:"Root"})(ie,";border:1px solid transparent;cursor:pointer;grid-template-columns:auto;",({size:e=92})=>A("grid-template-rows:repeat( 3,calc( ",e,"px / 3 ) );width:",e,"px;"),";"),ce=W("div",{target:"e1od1u4s1",label:"Row"})({name:"1177s8r",styles:"box-sizing:border-box;display:grid;grid-template-columns:repeat( 3,1fr );"}),le=e=>A("background:currentColor;box-sizing:border-box;display:grid;margin:auto;transition:all 120ms linear;",oe("transition")," ",(({isActive:e})=>{const t=e?"0 0 0 2px "+re.black:null,n=e?re.black:re.lightGray[800],r=e?re.black:re.blue.medium.focus;return A("box-shadow:",t,";color:",n,";*:hover > &{color:",r,";}")})(e),""),ue=W("span",{target:"e1od1u4s2",label:"Point"})("height:6px;width:6px;",le,""),de=W("span",{target:"e1od1u4s3",label:"Cell"})({name:"10ro24i",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 fe({isActive:e=!1,value:t,...n}){const r=m[t];return Object(i.createElement)(p.a,{text:r},Object(i.createElement)(f.a,Object(a.a)({as:de,role:"gridcell"},n),Object(i.createElement)(h.a,null,t),Object(i.createElement)(ue,{isActive:e,role:"presentation"})))}var pe=n("BZp5"),he=n("AXvK");function be(e){return Object(_.useState)(e)[0]}var me=n("ouKs");function ge(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(pe.c)(e);!(t=o()).done;)r();return n}function ve(e){for(var t,n=[],r=Object(pe.c)(e);!(t=r()).done;){var o=t.value;n.push.apply(n,o)}return n}function ye(e){return e.slice().reverse()}var Oe=n("iYXd");function je(e,t){if(t)return null==e?void 0:e.find((function(e){return e.id===t&&!e.disabled}))}function _e(e,t){return function(e){return"function"==typeof e}(e)?e(t):e}var we=n("KCH1");function ke(e,t){return Boolean(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)}function xe(e,t){return e.findIndex((function(e){return!(!e.ref.current||!t.ref.current)&&ke(t.ref.current,e.ref.current)}))}function Ee(e){for(var t,n=0,r=Object(pe.c)(e);!(t=r()).done;){var o=t.value.length;o>n&&(n=o)}return n}function Se(e){for(var t=ge(e),n=Ee(t),r=[],o=0;o<n;o+=1)for(var a,i=Object(pe.c)(t);!(a=i()).done;){var s=a.value;s[o]&&r.push(Object(pe.b)(Object(pe.b)({},s[o]),{},{groupId:s[o].groupId?""+o:void 0}))}return r}function Ce(e,t,n){for(var r,o=Ee(e),a=Object(pe.c)(e);!(r=a()).done;)for(var i=r.value,s=0;s<o;s+=1){var c=i[s];if(!c||n&&c.disabled){var l=0===s&&n?Object(Oe.a)(i):i[s-1];i[s]=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 Pe={id:null,ref:{current:null}};function De(e,t){return e.filter((function(e){return e.groupId===t}))}var Me={horizontal:"vertical",vertical:"horizontal"};function Ie(e,t,n){return n in e?[].concat(e.slice(0,n),[t],e.slice(n)):[].concat(e,[t])}function Te(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],s=o.ref.current,c=i.ref.current;return s&&c?ke(s,c)?(r>a&&(n=!0),-1):(r<a&&(n=!0),1):0})),n?t.map((function(e){e[0];return e[1]})):e}function Re(e,t){var n=Te(e);e!==n&&t(n)}function Ae(e,t){var n=Object(_.useRef)([]);Object(_.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(me.a)(o).body}(e),a=new IntersectionObserver((function(){!!n.current.length&&Re(e,t),n.current=e}),{root:o}),i=Object(pe.c)(e);!(r=i()).done;){var s=r.value;s.ref.current&&a.observe(s.ref.current)}return function(){a.disconnect()}}),[e])}function Ne(e,t){"function"==typeof IntersectionObserver?Ae(e,t):function(e,t){Object(_.useEffect)((function(){var n=setTimeout((function(){return Re(e,t)}),250);return function(){return clearTimeout(n)}}))}(e,t)}function Le(e,t){var n=e.unstable_virtual,r=e.rtl,o=e.orientation,a=e.items,i=e.groups,s=e.currentId,c=e.loop,l=e.wrap,u=e.pastIds,d=e.shift,f=e.unstable_moves,p=e.unstable_includesBaseElement,h=e.initialVirtual,b=e.initialRTL,m=e.initialOrientation,g=e.initialCurrentId,v=e.initialLoop,y=e.initialWrap,O=e.initialShift,j=e.hasSetCurrentId;switch(t.type){case"registerGroup":var _=t.group;if(0===i.length)return Object(pe.b)(Object(pe.b)({},e),{},{groups:[_]});var w=xe(i,_);return Object(pe.b)(Object(pe.b)({},e),{},{groups:Ie(i,_,w)});case"unregisterGroup":var k=t.id,x=i.filter((function(e){return e.id!==k}));return x.length===i.length?e:Object(pe.b)(Object(pe.b)({},e),{},{groups:x});case"registerItem":var E,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(pe.b)({groupId:null==C?void 0:C.id},S),D=xe(a,P),M=Object(pe.b)(Object(pe.b)({},e),{},{items:Ie(a,P,D)});return j||f||void 0!==g?M:Object(pe.b)(Object(pe.b)({},M),{},{currentId:null===(E=Object(Oe.a)(M.items))||void 0===E?void 0:E.id});case"unregisterItem":var I=t.id,T=a.filter((function(e){return e.id!==I}));if(T.length===a.length)return e;var R=u.filter((function(e){return e!==I})),A=Object(pe.b)(Object(pe.b)({},e),{},{pastIds:R,items:T});if(s&&s===I){var N=p?null:Object(Oe.b)(Object(pe.b)(Object(pe.b)({},A),{},{currentId:R[0]}));return Object(pe.b)(Object(pe.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!==s&&e!==L})),z=s?[s].concat(F):F,B=Object(pe.b)(Object(pe.b)({},e),{},{pastIds:z});if(null===L)return Object(pe.b)(Object(pe.b)({},B),{},{unstable_moves:f+1,currentId:Object(Oe.b)(B,L)});var H=je(a,L);return Object(pe.b)(Object(pe.b)({},B),{},{unstable_moves:H?f+1:f,currentId:Object(Oe.b)(B,null==H?void 0:H.id)});case"next":if(null==s)return Le(e,Object(pe.b)(Object(pe.b)({},t),{},{type:"first"}));var V=r&&"vertical"!==o,W=V?ye(a):a,K=W.find((function(e){return e.id===s}));if(!K)return Le(e,Object(pe.b)(Object(pe.b)({},t),{},{type:"first"}));var U=!!K.groupId,G=W.indexOf(K),q=W.slice(G+1),$=De(q,K.groupId);if(t.allTheWay){var Y=Object(Oe.a)(V?De(W,K.groupId):ye($));return Le(e,Object(pe.b)(Object(pe.b)({},t),{},{type:"move",id:null==Y?void 0:Y.id}))}var Z=function(e){return e&&Me[e]}(U?o||"horizontal":o),X=c&&c!==Z,J=U&&l&&l!==Z,Q=t.hasNullItem||!U&&X&&p;if(X){var ee=function(e,t,n){var r=e.findIndex((function(e){return e.id===t}));return[].concat(e.slice(r+1),n?[Pe]:[],e.slice(0,r))}(J&&!Q?W:De(W,K.groupId),s,Q),te=Object(Oe.a)(ee,s);return Le(e,Object(pe.b)(Object(pe.b)({},t),{},{type:"move",id:null==te?void 0:te.id}))}if(J){var ne=Object(Oe.a)(Q?$:q,s),re=Q?(null==ne?void 0:ne.id)||null:null==ne?void 0:ne.id;return Le(e,Object(pe.b)(Object(pe.b)({},t),{},{type:"move",id:re}))}var oe=Object(Oe.a)($,s);return Le(e,!oe&&Q?Object(pe.b)(Object(pe.b)({},t),{},{type:"move",id:null}):Object(pe.b)(Object(pe.b)({},t),{},{type:"move",id:null==oe?void 0:oe.id}));case"previous":var ae=!!!i.length&&p,ie=Le(Object(pe.b)(Object(pe.b)({},e),{},{items:ye(a)}),Object(pe.b)(Object(pe.b)({},t),{},{type:"next",hasNullItem:ae}));return Object(pe.b)(Object(pe.b)({},ie),{},{items:a});case"down":var se=d&&!t.allTheWay,ce=Se(ve(Ce(ge(a),s,se))),le=c&&"horizontal"!==c&&p,ue=Le(Object(pe.b)(Object(pe.b)({},e),{},{orientation:"vertical",items:ce}),Object(pe.b)(Object(pe.b)({},t),{},{type:"next",hasNullItem:le}));return Object(pe.b)(Object(pe.b)({},ue),{},{orientation:o,items:a});case"up":var de=d&&!t.allTheWay,fe=Se(ye(ve(Ce(ge(a),s,de)))),he=p,be=Le(Object(pe.b)(Object(pe.b)({},e),{},{orientation:"vertical",items:fe}),Object(pe.b)(Object(pe.b)({},t),{},{type:"next",hasNullItem:he}));return Object(pe.b)(Object(pe.b)({},be),{},{orientation:o,items:a});case"first":var me=Object(Oe.a)(a);return Le(e,Object(pe.b)(Object(pe.b)({},t),{},{type:"move",id:null==me?void 0:me.id}));case"last":var we=Le(Object(pe.b)(Object(pe.b)({},e),{},{items:ye(a)}),Object(pe.b)(Object(pe.b)({},t),{},{type:"first"}));return Object(pe.b)(Object(pe.b)({},we),{},{items:a});case"sort":return Object(pe.b)(Object(pe.b)({},e),{},{items:Te(a),groups:Te(i)});case"setVirtual":return Object(pe.b)(Object(pe.b)({},e),{},{unstable_virtual:_e(t.virtual,n)});case"setRTL":return Object(pe.b)(Object(pe.b)({},e),{},{rtl:_e(t.rtl,r)});case"setOrientation":return Object(pe.b)(Object(pe.b)({},e),{},{orientation:_e(t.orientation,o)});case"setCurrentId":var ke=Object(Oe.b)(Object(pe.b)(Object(pe.b)({},e),{},{currentId:_e(t.currentId,s)}));return Object(pe.b)(Object(pe.b)({},e),{},{currentId:ke,hasSetCurrentId:!0});case"setLoop":return Object(pe.b)(Object(pe.b)({},e),{},{loop:_e(t.loop,c)});case"setWrap":return Object(pe.b)(Object(pe.b)({},e),{},{wrap:_e(t.wrap,l)});case"setShift":return Object(pe.b)(Object(pe.b)({},e),{},{shift:_e(t.shift,d)});case"setIncludesBaseElement":return Object(pe.b)(Object(pe.b)({},e),{},{unstable_includesBaseElement:_e(t.includesBaseElement,p)});case"reset":return Object(pe.b)(Object(pe.b)({},e),{},{unstable_virtual:h,rtl:b,orientation:m,currentId:Object(Oe.b)(Object(pe.b)(Object(pe.b)({},e),{},{currentId:g})),loop:v,wrap:y,shift:O,unstable_moves:0,pastIds:[]});case"setItems":return Object(pe.b)(Object(pe.b)({},e),{},{items:t.items});default:throw new Error}}function Fe(e){return Object(_.useCallback)(e,[])}function ze(e){void 0===e&&(e={});var t=be(e),n=t.unstable_virtual,r=void 0!==n&&n,o=t.rtl,a=void 0!==o&&o,i=t.orientation,s=t.currentId,c=t.loop,l=void 0!==c&&c,u=t.wrap,d=void 0!==u&&u,f=t.shift,p=void 0!==f&&f,h=t.unstable_includesBaseElement,b=function(e){void 0===e&&(e={});var t=be(e).baseId,n=Object(_.useContext)(we.a),r=Object(_.useRef)(0),o=Object(_.useState)((function(){return t||n()}));return{baseId:o[0],setBaseId:o[1],unstable_idCountRef:r}}(Object(pe.a)(t,["unstable_virtual","rtl","orientation","currentId","loop","wrap","shift","unstable_includesBaseElement"])),m=Object(_.useReducer)(Le,{unstable_virtual:r,rtl:a,orientation:i,items:[],groups:[],currentId:s,loop:l,wrap:d,shift:p,unstable_moves:0,pastIds:[],unstable_includesBaseElement:null!=h?h:null===s,initialVirtual:r,initialRTL:a,initialOrientation:i,initialCurrentId:s,initialLoop:l,initialWrap:d,initialShift:p}),g=m[0],v=(g.pastIds,g.initialVirtual,g.initialRTL,g.initialOrientation,g.initialCurrentId,g.initialLoop,g.initialWrap,g.initialShift,g.hasSetCurrentId,Object(pe.a)(g,["pastIds","initialVirtual","initialRTL","initialOrientation","initialCurrentId","initialLoop","initialWrap","initialShift","hasSetCurrentId"])),y=m[1],O=Object(_.useState)(!1),j=O[0],w=O[1],k=function(){var e=Object(_.useRef)(!1);return Object(he.a)((function(){return function(){e.current=!0}}),[]),e}(),x=Object(_.useCallback)((function(e){return y({type:"setItems",items:e})}),[]);return Ne(v.items,x),Object(pe.b)(Object(pe.b)(Object(pe.b)({},b),v),{},{unstable_hasActiveWidget:j,unstable_setHasActiveWidget:w,registerItem:Fe((function(e){k.current||y({type:"registerItem",item:e})})),unregisterItem:Fe((function(e){k.current||y({type:"unregisterItem",id:e})})),registerGroup:Fe((function(e){k.current||y({type:"registerGroup",group:e})})),unregisterGroup:Fe((function(e){k.current||y({type:"unregisterGroup",id:e})})),move:Fe((function(e){return y({type:"move",id:e})})),next:Fe((function(e){return y({type:"next",allTheWay:e})})),previous:Fe((function(e){return y({type:"previous",allTheWay:e})})),up:Fe((function(e){return y({type:"up",allTheWay:e})})),down:Fe((function(e){return y({type:"down",allTheWay:e})})),first:Fe((function(){return y({type:"first"})})),last:Fe((function(){return y({type:"last"})})),sort:Fe((function(){return y({type:"sort"})})),unstable_setVirtual:Fe((function(e){return y({type:"setVirtual",virtual:e})})),setRTL:Fe((function(e){return y({type:"setRTL",rtl:e})})),setOrientation:Fe((function(e){return y({type:"setOrientation",orientation:e})})),setCurrentId:Fe((function(e){return y({type:"setCurrentId",currentId:e})})),setLoop:Fe((function(e){return y({type:"setLoop",loop:e})})),setWrap:Fe((function(e){return y({type:"setWrap",wrap:e})})),setShift:Fe((function(e){return y({type:"setShift",shift:e})})),unstable_setIncludesBaseElement:Fe((function(e){return y({type:"setIncludesBaseElement",includesBaseElement:e})})),reset:Fe((function(){return y({type:"reset"})}))})}var Be=n("hE48"),He=n("qdes"),Ve=n("aU41"),We=(n("KA1K"),n("eNtd")),Ke=n("k2cL"),Ue=n("zGFp"),Ge=n("G3V0"),qe=n("IVEb"),$e=n("I/A+"),Ye=n("khzz");function Ze(e,t,n){return void 0===n&&(n={}),"function"==typeof FocusEvent?new FocusEvent(t,n):Object(Ye.a)(e,t,n)}function Xe(e,t){var n=Ze(e,"blur",t),r=e.dispatchEvent(n),o=Object($e.b)(Object($e.b)({},t),{},{bubbles:!0});return e.dispatchEvent(Ze(e,"focusout",o)),r}var Je=n("SyVe");function Qe(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(me.a)(e).createEvent("KeyboardEvent");return r.initKeyboardEvent(t,n.bubbles,n.cancelable,Object(Je.a)(e),n.key,n.location,n.ctrlKey,n.altKey,n.shiftKey,n.metaKey),r}(e,t,n))}var et=n("+ipW"),tt=n("Nym8"),nt=et.a&&"msCrypto"in window;var rt=n("TFuP"),ot=n("Mih7"),at=et.a&&"msCrypto"in window;function it(e,t,n){var r=Object(We.a)(n);return Object(_.useCallback)((function(n){var o;if(null===(o=r.current)||void 0===o||o.call(r,n),!n.defaultPrevented&&e&&function(e){return!!Object(Ke.a)(e)&&(!e.metaKey&&"Tab"!==e.key)}(n)){var a=null==t?void 0:t.ref.current;a&&(Qe(a,n.type,n)||n.preventDefault(),n.currentTarget.contains(a)&&n.stopPropagation())}}),[e,t])}function st(e,t){return null==e?void 0:e.some((function(e){return!!t&&e.ref.current===t}))}var ct=Object(He.a)({name:"Composite",compose:[Ge.a],keys:rt.a,useOptions:function(e){return Object(pe.b)(Object(pe.b)({},e),{},{currentId:Object(Oe.b)(e)})},useProps:function(e,t){var n=t.ref,r=t.onFocusCapture,o=t.onFocus,a=t.onBlurCapture,i=t.onKeyDown,s=t.onKeyDownCapture,c=t.onKeyUpCapture,l=Object(pe.a)(t,["ref","onFocusCapture","onFocus","onBlurCapture","onKeyDown","onKeyDownCapture","onKeyUpCapture"]),u=Object(_.useRef)(null),d=je(e.items,e.currentId),f=Object(_.useRef)(null),p=Object(We.a)(r),h=Object(We.a)(o),b=Object(We.a)(a),m=Object(We.a)(i),g=function(e){var t=Object(We.a)(e),n=Object(_.useReducer)((function(e){return e+1}),0),r=n[0],o=n[1];return Object(_.useEffect)((function(){var e,n=null===(e=t.current)||void 0===e?void 0:e.ref.current;r&&n&&Object(ot.c)(n)}),[r]),o}(d),v=at?function(e){var t=Object(_.useRef)(null);return Object(_.useEffect)((function(){var n=Object(me.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(_.useEffect)((function(){var t=u.current;e.unstable_moves&&!d&&(null==t||t.focus())}),[e.unstable_moves,d]);var y=it(e.unstable_virtual,d,s),O=it(e.unstable_virtual,d,c),j=Object(_.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==v?void 0:v.current)||t.relatedTarget,o=st(e.items,r);Object(Ke.a)(t)&&o&&(t.stopPropagation(),f.current=r)}}),[e.unstable_virtual,e.items]),w=Object(_.useCallback)((function(t){var n;if(null===(n=h.current)||void 0===n||n.call(h,t),!t.defaultPrevented)if(e.unstable_virtual)Object(Ke.a)(t)&&g();else if(Object(Ke.a)(t)){var r;null===(r=e.setCurrentId)||void 0===r||r.call(e,null)}}),[e.unstable_virtual,e.setCurrentId]),k=Object(_.useCallback)((function(t){var n;if(null===(n=b.current)||void 0===n||n.call(b,t),!t.defaultPrevented&&e.unstable_virtual){var r=(null==d?void 0:d.ref.current)||null,o=function(e){return nt?Object(tt.a)(e.currentTarget):e.relatedTarget}(t),a=st(e.items,o);if(Object(Ke.a)(t)&&a)o===r?f.current&&f.current!==o&&Xe(f.current,t):r&&Xe(r,t),t.stopPropagation();else!st(e.items,t.target)&&r&&Xe(r,t)}}),[e.unstable_virtual,e.items,d]),x=Object(_.useCallback)((function(t){var n,r;if(null===(n=m.current)||void 0===n||n.call(m,t),!t.defaultPrevented&&null===e.currentId&&Object(Ke.a)(t)){var o="horizontal"!==e.orientation,a="vertical"!==e.orientation,i=!(null===(r=e.groups)||void 0===r||!r.length),s={ArrowUp:(i||o)&&function(){if(i){var t,n=(o=e.items,Object(Oe.a)(ve(ye(ge(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];s&&(t.preventDefault(),s())}}),[e.currentId,e.orientation,e.groups,e.items,e.move,e.last,e.first]);return Object(pe.b)({ref:Object(Ve.a)(u,n),id:e.baseId,onFocus:w,onFocusCapture:j,onBlurCapture:k,onKeyDownCapture:y,onKeyDown:x,onKeyUpCapture:O,"aria-activedescendant":e.unstable_virtual&&(null==d?void 0:d.id)||void 0},l)},useComposeProps:function(e,t){t=Object(Ue.a)(e,t,!0);var n=Object(Ge.a)(e,t,!0);return e.unstable_virtual||null===e.currentId?Object(pe.b)({tabIndex:0},n):Object(pe.b)(Object(pe.b)({},t),{},{ref:n.ref})}}),lt=Object(Be.a)({as:"div",useHook:ct,useCreateElement:function(e,t,n){return Object(qe.a)(e,t,n)}}),ut=n("ym77"),dt=Object(He.a)({name:"Group",compose:Ue.a,keys:[],useProps:function(e,t){return Object(pe.b)({role:"group"},t)}}),ft=(Object(Be.a)({as:"div",useHook:dt}),Object(He.a)({name:"CompositeGroup",compose:[dt,ut.a],keys:rt.b,propsAreEqual:function(e,t){if(!t.id||e.id!==t.id)return dt.unstable_propsAreEqual(e,t);var n=e.currentId,r=(e.unstable_moves,Object(pe.a)(e,["currentId","unstable_moves"])),o=t.currentId,a=(t.unstable_moves,Object(pe.a)(t,["currentId","unstable_moves"]));if(e.items&&t.items){var i=je(e.items,n),s=je(t.items,o),c=null==i?void 0:i.groupId,l=null==s?void 0:s.groupId;if(t.id===l||t.id===c)return!1}return dt.unstable_propsAreEqual(r,a)},useProps:function(e,t){var n=t.ref,r=Object(pe.a)(t,["ref"]),o=Object(_.useRef)(null),a=e.id;return Object(he.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(pe.b)({ref:Object(Ve.a)(o,n)},r)}})),pt=Object(Be.a)({as:"div",useHook:ft});W("div",{target:"elqsdmc0",label:"Wrapper"})({name:"co61ta",styles:"box-sizing:border-box;padding:2px;"});const ht=W("div",{target:"elqsdmc1",label:"Root"})("transform-origin:top left;height:100%;width:100%;",ie,";",()=>A({gridTemplateRows:"repeat( 3, calc( 21px / 3))",padding:1.5,maxHeight:24,maxWidth:24},""),";",({disablePointerEvents:e})=>A({pointerEvents:e?"none":null},""),";"),bt=W("span",{target:"elqsdmc2",label:"Point"})("height:2px;width:2px;",le,";",({isActive:e})=>A("box-shadow:",e?"0 0 0 1px currentColor":null,";color:currentColor;*:hover > &{color:currentColor;}"),";"),mt=de;function gt({className:e,id:t,label:n=Object(u.__)("Alignment Matrix Control"),defaultValue:r="center center",value:o,onChange:c=s.noop,width:f=92,...p}){const[h]=Object(i.useState)(null!=o?o:r),m=function(e){const t=Object(d.useInstanceId)(gt,"alignment-matrix-control");return e||t}(t),g=y(m,h),v=ze({baseId:m,currentId:g,rtl:Object(u.isRTL)()});Object(i.useEffect)(()=>{void 0!==o&&v.setCurrentId(y(m,o))},[o,v.setCurrentId]);const O=l()("component-alignment-matrix-control",e);return Object(i.createElement)(lt,Object(a.a)({},p,v,{"aria-label":n,as:se,className:O,role:"grid",width:f}),b.map((e,t)=>Object(i.createElement)(pt,Object(a.a)({},v,{as:ce,role:"row",key:t}),e.map(e=>{const t=y(m,e),n=v.currentId===t;return Object(i.createElement)(fe,Object(a.a)({},v,{id:t,isActive:n,key:e,value:e,onFocus:()=>{c(e)},tabIndex:n?0:-1}))}))))}gt.Icon=function({className:e,disablePointerEvents:t=!0,size:n=24,style:r={},value:o="center",...s}){const c=function(e="center"){const t=v(e).replace("-"," "),n=g.indexOf(t);return n>-1?n:void 0}(o),u=(n/24).toFixed(2),d=l()("component-alignment-matrix-control-icon",e),f={...r,transform:`scale(${u})`};return Object(i.createElement)(ht,Object(a.a)({},s,{className:d,disablePointerEvents:t,role:"presentation",size:n,style:f}),g.map((e,t)=>{const n=c===t;return Object(i.createElement)(mt,{key:e},Object(i.createElement)(bt,{isActive:n}))}))};var vt=n("L8Kx"),yt={"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 Ot(e){return Object(s.get)(yt,e,"")}function jt(e=1){return isNaN(e)?"8px":8*e+"px"}const _t=W("div",{target:"e1puf3u0",label:"Wrapper"})("font-family:",Ot("default.fontFamily"),";font-size:",Ot("default.fontSize"),";"),wt=W("div",{target:"e1puf3u1",label:"StyledField"})("margin-bottom:",jt(1),";.components-panel__row &{margin-bottom:inherit;}"),kt=W("label",{target:"e1puf3u2",label:"StyledLabel"})("display:inline-block;margin-bottom:",jt(1),";"),xt=W("p",{target:"e1puf3u3",label:"StyledHelp"})("font-size:",Ot("helpText.fontSize"),";font-style:normal;color:",re.mediumGray.text,";");function Et({id:e,label:t,hideLabelFromVision:n,help:r,className:o,children:a}){return Object(i.createElement)(_t,{className:l()("components-base-control",o)},Object(i.createElement)(wt,{className:"components-base-control__field"},t&&e&&(n?Object(i.createElement)(h.a,{as:"label",htmlFor:e},t):Object(i.createElement)(kt,{className:"components-base-control__label",htmlFor:e},t)),t&&!e&&(n?Object(i.createElement)(h.a,{as:"label"},t):Object(i.createElement)(Et.VisualLabel,null,t)),a),!!r&&Object(i.createElement)(xt,{id:e+"__help",className:"components-base-control__help"},r))}Et.VisualLabel=({className:e,children:t})=>(e=l()("components-base-control__label",e),Object(i.createElement)("span",{className:e},t));var St=Et,Ct=n("7Jlx");const Pt=W("div",{target:"em57xhy0",label:"View"})("");Pt.displayName="View";var Dt=Pt;const Mt=({as:e,name:t,useHook:n,memo:r=!1})=>{function o(t,r){const o=n(t);return Object(i.createElement)(Dt,Object(a.a)({as:e||"div"},o,{ref:r}))}return o.displayName=t,Object(Ct.a)(o,t,{memo:r})};var It=n("C6yU"),Tt=n("kDDq");const Rt=Object(i.createContext)({flexItemDisplay:void 0});const At=Object(Tt.a)({name:"142v397-Flex",styles:"display:flex;;label:Flex;"}),Nt=Object(Tt.a)({name:"1636tkh-Item",styles:"display:block;max-height:100%;max-width:100%;min-height:0;min-width:0;;label:Item;"}),Lt=Object(Tt.a)({name:"jhhyjf-block",styles:"flex:1;;label:block;"}),Ft=Object(Tt.a)({name:"1u16kd2-ItemsColumn",styles:"> *{min-height:0;};label:ItemsColumn;"}),zt=Object(Tt.a)({name:"1yewyqa-ItemsRow",styles:"> *{min-width:0;};label:ItemsRow;"});function Bt(e){const{className:t,display:n,isBlock:r=!1,...o}=Object(It.a)(e,"FlexItem"),a={},s=Object(i.useContext)(Rt).flexItemDisplay;a.Base=Object(Tt.a)({display:n||s},"");return{...o,className:Object(Tt.b)(Nt,a.Base,r&&Lt,t)}}var Ht=Mt({as:"div",useHook:function(e){return Bt({isBlock:!0,...Object(It.a)(e,"FlexBlock")})},name:"FlexBlock"});var Vt=Mt({as:"div",useHook:Bt,name:"FlexItem"}),Wt=n("NMb1"),Kt=n.n(Wt);const Ut=["40em","52em","64em"],Gt=(e={})=>{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>Ut.length-1)throw new RangeError(`Default breakpoint index out of range. Theme has ${Ut.length} breakpoints, got index ${t}`);const[n,r]=Object(i.useState)(t);return Object(i.useEffect)(()=>{const e=()=>{const e=Ut.filter(e=>"undefined"!=typeof window&&window.matchMedia(`screen and (min-width: ${e})`).matches).length;n!==e&&r(e)};return e(),"undefined"!=typeof document&&document.addEventListener("resize",e),()=>{"undefined"!=typeof document&&document.removeEventListener("resize",e)}},[n]),n};function qt(e,t={}){const n=Gt(t);if(!Array.isArray(e)&&"function"!=typeof e)return e;const r=e||[];return r[n>=r.length?r.length-1:n]}function $t(e){return"number"==typeof e?`calc(4px * ${e})`:e}function Yt(e){const{align:t="center",className:n,direction:r="row",expanded:o=!0,gap:a=2,justify:s="space-between",wrap:c=!1,...l}=Object(It.a)(function({isReversed:e,...t}){return void 0!==e?(Kt()("Flex isReversed",{alternative:'Flex direction="row-reverse" or "column-reverse"',since:"5.9"}),{...t,direction:e?"row-reverse":"row"}):t}(e),"Flex"),u=qt(Array.isArray(r)?r:[r]),d="string"==typeof u&&!!u.includes("column"),f="string"==typeof u&&u.includes("reverse");return{...l,className:Object(i.useMemo)(()=>{const e={};return e.Base=Object(Tt.a)({alignItems:d?"normal":t,flexDirection:u,flexWrap:c?"wrap":void 0,justifyContent:s,height:d&&o?"100%":void 0,width:!d&&o?"100%":void 0,marginBottom:c?`calc(${$t(a)} * -1)`:void 0},""),e.Items=Object(Tt.a)({"> * + *:not(marquee)":{marginTop:d?$t(a):void 0,marginRight:!d&&f?$t(a):void 0,marginLeft:d||f?void 0:$t(a)}},""),e.WrapItems=Object(Tt.a)({"> *:not(marquee)":{marginBottom:$t(a),marginLeft:!d&&f?$t(a):void 0,marginRight:d||f?void 0:$t(a)},"> *:last-child:not(marquee)":{marginLeft:!d&&f?0:void 0,marginRight:d||f?void 0:0}},""),Object(Tt.b)(At,e.Base,c?e.WrapItems:e.Items,d?Ft:zt,n)},[t,n,u,o,a,d,f,s,c]),isColumn:d}}var Zt=Object(Ct.a)((function(e,t){const{children:n,isColumn:r,...o}=Yt(e);return Object(i.createElement)(Rt.Provider,{value:{flexItemDisplay:r?"block":void 0}},Object(i.createElement)(Dt,Object(a.a)({},o,{ref:t}),n))}),"Flex");const Xt=Object(Tt.a)({name:"w4wjp3-Truncate",styles:"display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;;label:Truncate;"}),Jt="…",Qt={auto:"auto",head:"head",middle:"middle",tail:"tail",none:"none"},en={ellipsis:Jt,ellipsizeMode:Qt.auto,limit:0,numberOfLines:0};function tn(e="",t){const n={...en,...t},{ellipsis:r,ellipsizeMode:o,limit:a}=n;if(o===Qt.none)return e;let i,c;switch(o){case Qt.head:i=0,c=a;break;case Qt.middle:i=Math.floor(a/2),c=Math.floor(a/2);break;default:i=a,c=0}return o!==Qt.auto?function(e,t,n,r){if("string"!=typeof e)return"";const o=e.length,a=~~t,i=~~n,c=Object(s.isNil)(r)?Jt: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)}(e,i,c,r):e}function nn(e){const{className:t,children:n,ellipsis:r=Jt,ellipsizeMode:o=Qt.auto,limit:a=0,numberOfLines:s=0,...c}=Object(It.a)(e,"Truncate"),l=tn("string"==typeof n?n:"",{ellipsis:r,ellipsizeMode:o,limit:a,numberOfLines:s}),u=o===Qt.auto;return{...c,className:Object(i.useMemo)(()=>{const e={};return e.numberOfLines=Object(Tt.a)("-webkit-box-orient:vertical;-webkit-line-clamp:",s,";display:-webkit-box;overflow:hidden;"),Object(Tt.b)(u&&!s&&Xt,u&&!!s&&e.numberOfLines,t)},[t,s,u]),children:l}}var rn=n("4eJC"),on=n.n(rn);let an;const sn=on()((function(e){var t,n;if("string"!=typeof e)return"";if("string"==typeof(n=e)&&U()(n).isValid())return e;if(!e.includes("var("))return"";if("undefined"==typeof document)return"";const r=function(){if("undefined"!=typeof document){if(!an){const e=document.createElement("div");e.setAttribute("data-g2-color-computation-node",""),document.body.appendChild(e),an=e}return an}}();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 cn(e){return"#000000"===function(e){const t=sn(e);return U.a.isReadable(t,"#000000")?"#000000":"#ffffff"}(e)?"dark":"light"}const ln=$t(3),un=$t(3);var dn={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",controlHeight:"30px",controlHeightLarge:"calc( 30px * 1.2 )",controlHeightSmall:"calc( 30px * 0.8 )",controlHeightXSmall:"calc( 30px * 0.6 )",cardBorderRadius:"2px",cardPaddingX:ln,cardPaddingY:un,cardPadding:`${ln} ${un}`,cardHeaderFooterPaddingY:$t(1),cardHeaderHeight:"44px",surfaceBackgroundColor:re.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:re.white,surfaceColor:re.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 fn=Object(Tt.a)("color:",re.black,";line-height:",dn.fontLineHeightBase,";margin:0;;label:Text;"),pn=Object(Tt.a)({name:"w2ur5d-block",styles:"display:block;;label:block;"}),hn=Object(Tt.a)("color:",re.alert.green,";;label:positive;"),bn=Object(Tt.a)("color:",re.alert.red,";;label:destructive;"),mn=Object(Tt.a)("color:",re.mediumGray.text,";;label:muted;"),gn=Object(Tt.a)("mark{background:",re.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;};label:highlighterText;"),vn=Object(Tt.a)({name:"a0nhhd-upperCase",styles:"text-transform:uppercase;;label:upperCase;"});var yn=n("5V/u");const On=on()(e=>{const t={};for(const n in e)t[n.toLowerCase()]=e[n];return t});const jn={body:13,caption:10,footnote:11,largeTitle:28,subheadline:12,title:20},_n=[1,2,3,4,5,6].flatMap(e=>[e,e.toString()]);function wn(e=13){if(e in jn)return wn(jn[e]);if("number"!=typeof e){const t=parseFloat(e);if(Number.isNaN(t))return e;e=t}return`calc(${`(${e} / 13)`} * ${dn.fontSize})`}function kn(e=3){if(!_n.includes(e))return wn(e);return dn["fontSizeH"+e]}function xn(e){const{adjustLineHeightForInnerControls:t,align:n,children:o,className:a,color:c,ellipsizeMode:l,isDestructive:u=!1,display:d,highlightEscape:f=!1,highlightCaseSensitive:p=!1,highlightWords:h,highlightSanitize:b,isBlock:m=!1,letterSpacing:g,lineHeight:v,optimizeReadabilityFor:y,size:O,truncate:j=!1,upperCase:_=!1,variant:w,weight:k=dn.fontWeight,...x}=Object(It.a)(e,"Text");let E=o;const S=Array.isArray(h),C="caption"===O;if(S){if("string"!=typeof o)throw new TypeError("`children` of `Text` must only be `string` types when `highlightWords` is defined");E=function({activeClassName:e="",activeIndex:t=-1,activeStyle:n,autoEscape:r,caseSensitive:o=!1,children:a,findChunks:s,highlightClassName:c="",highlightStyle:l={},highlightTag:u="mark",sanitize:d,searchWords:f=[],unhighlightClassName:p="",unhighlightStyle:h}){if(!a)return null;if("string"!=typeof a)return a;const b=a,m=Object(yn.findAll)({autoEscape:r,caseSensitive:o,findChunks:s,sanitize:d,searchWords:f,textToHighlight:b}),g=u;let v,y=-1,O="";return m.map((r,a)=>{const s=b.substr(r.start,r.end-r.start);if(r.highlight){let r;y++,r="object"==typeof c?o?c[s]:(c=On(c))[s.toLowerCase()]:c;const u=y===+t;O=`${r} ${u?e:""}`,v=!0===u&&null!==n?Object.assign({},l,n):l;const d={children:s,className:O,key:a,style:v};return"string"!=typeof g&&(d.highlightIndex=y),Object(i.createElement)(g,d)}return Object(i.createElement)("span",{children:s,className:p,key:a,style:h})})}({autoEscape:f,children:o,caseSensitive:p,searchWords:h,sanitize:b})}let P;!0===j&&(P="auto"),!1===j&&(P="none");const D=nn({...x,className:Object(i.useMemo)(()=>{const e={},o=function(e,t){if(t)return t;if(!e)return;let n=`calc(${dn.controlHeight} + ${$t(2)})`;switch(e){case"large":n=`calc(${dn.controlHeightLarge} + ${$t(2)})`;break;case"small":n=`calc(${dn.controlHeightSmall} + ${$t(2)})`;break;case"xSmall":n=`calc(${dn.controlHeightXSmall} + ${$t(2)})`}return n}(t,v);if(e.Base=Object(Tt.a)({color:c,display:d,fontSize:wn(O),fontWeight:k,lineHeight:o,letterSpacing:g,textAlign:n},""),e.upperCase=Object(Tt.a)({name:"1lejymi",styles:"text-transform:uppercase;"}),e.optimalTextColor=null,y){const t="dark"===cn(y);e.optimalTextColor=t?Object(Tt.a)({color:re.black},""):Object(Tt.a)({color:re.white},"")}return Object(Tt.b)(fn,e.Base,e.optimalTextColor,u&&bn,!!S&&gn,m&&pn,C&&mn,w&&r[w],_&&e.upperCase,a)},[t,n,a,c,d,m,C,u,S,g,v,y,O,_,w,k]),children:o,ellipsizeMode:l||P});return!j&&Array.isArray(o)&&(E=i.Children.map(o,e=>{if(!Object(s.isPlainObject)(e)||!("props"in e))return e;return Object(Ct.b)(e,["Link"])?Object(i.cloneElement)(e,{size:e.props.size||"inherit"}):e})),{...D,children:j?D.children:E}}var En=Mt({as:"span",useHook:xn,name:"Text"});const Sn=new RegExp(/-left/g),Cn=new RegExp(/-right/g),Pn=new RegExp(/Left/g),Dn=new RegExp(/Right/g);const Mn=(e={})=>Object(s.mapKeys)(e,(e,t)=>function(e){return"left"===e?"right":"right"===e?"left":Sn.test(e)?e.replace(Sn,"-right"):Cn.test(e)?e.replace(Cn,"-left"):Pn.test(e)?e.replace(Pn,"Right"):Dn.test(e)?e.replace(Dn,"Left"):e}(t));function In(e={},t){return()=>t?Object(u.isRTL)()?A(t,""):A(e,""):Object(u.isRTL)()?A(Mn(e),""):A(e,"")}var Tn={name:"1dacand",styles:"padding-top:0;"};const Rn=()=>Tn;var An={name:"r6z5ec",styles:"z-index:1;"};const Nn=({isFocused:e})=>e?An:"";var Ln={name:"uz6002",styles:"align-items:flex-start;flex-direction:column;"},Fn={name:"53hdd7",styles:"align-items:flex-start;flex-direction:column-reverse;"},zn={name:"x4dmss",styles:"justify-content:space-between;"};const Bn=({labelPosition:e})=>{switch(e){case"top":return Ln;case"bottom":return Fn;case"edge":return zn;default:return""}},Hn=W(Zt,{target:"e1cr7zh10",label:"Root"})("position:relative;border-radius:2px;",Rn," ",Nn," ",Bn,"");var Vn={name:"1ibawvu",styles:"margin:0 !important;"};var Wn={name:"8atqhb",styles:"width:100%;"};const Kn=W("div",{target:"e1cr7zh11",label:"Container"})("align-items:center;box-sizing:border-box;border-radius:inherit;display:flex;flex:1;position:relative;",({disabled:e})=>{const t=e?re.ui.backgroundDisabled:re.ui.background;return A({backgroundColor:t},"")}," ",({hideLabel:e})=>e?Vn:null," ",({__unstableInputWidth:e,labelPosition:t})=>e?"side"===t?"":A("edge"===t?{flex:"0 0 "+e}:{width:e},""):Wn,"");var Un={name:"103r1kr",styles:"&::-webkit-input-placeholder{line-height:normal;}"};const Gn=W("input",{target:"e1cr7zh12",label:"Input"})("&&&{background-color:transparent;box-sizing:border-box;border:none;box-shadow:none !important;color:",re.black,";display:block;margin:0;outline:none;padding-left:8px;padding-right:8px;width:100%;",({isDragging:e,dragCursor:t})=>{let n="",r="";return e&&(n=A("cursor:",t,";user-select:none;&::-webkit-outer-spin-button,&::-webkit-inner-spin-button{-webkit-appearance:none !important;margin:0 !important;}")),e&&t&&(r=A("&:active{cursor:",t,";}")),A(n," ",r,"")}," ",({disabled:e})=>e?A({color:re.ui.textDisabled},""):""," ",({size:e})=>{const t={default:"13px",small:"11px"}[e];return t?A("font-size:","16px",";@media ( min-width:600px ){font-size:",t,";}"):""}," ",({size:e})=>{const t={default:{height:30,lineHeight:1,minHeight:30},small:{height:24,lineHeight:1,minHeight:24}};return A(t[e]||t.default,"")}," ",()=>Un,"}");var qn={name:"8uhtka",styles:"overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"};const $n=()=>qn,Yn=({labelPosition:e})=>{let t=4;return"edge"!==e&&"side"!==e||(t=0),A({paddingTop:0,paddingBottom:t},"")},Zn=W(En,{target:"e1cr7zh13",label:"BaseLabel"})("&&&{box-sizing:border-box;color:currentColor;display:block;margin:0;max-width:100%;z-index:1;",Yn," ",$n,"}"),Xn=e=>Object(i.createElement)(Zn,Object(a.a)({},e,{as:"label"})),Jn=W(Vt,{target:"e1cr7zh14",label:"LabelWrapper"})({name:"120o8im",styles:"max-width:calc( 100% - 10px );"}),Qn=W("div",{target:"e1cr7zh15",label:"BackdropUI"})("&&&{box-sizing:border-box;border-radius:inherit;bottom:0;left:0;margin:0;padding:0;pointer-events:none;position:absolute;right:0;top:0;",({disabled:e,isFocused:t})=>{let n=t?re.ui.borderFocus:re.ui.border,r=null;return t&&(r=`0 0 0 1px ${re.ui.borderFocus} inset`),e&&(n=re.ui.borderDisabled),A({boxShadow:r,borderColor:n,borderStyle:"solid",borderWidth:1},"")}," ",In({paddingLeft:2}),"}"),er=W("span",{target:"e1cr7zh16",label:"Prefix"})({name:"1pxuk39",styles:"box-sizing:border-box;display:block;"}),tr=W("span",{target:"e1cr7zh17",label:"Suffix"})({name:"1pxuk39",styles:"box-sizing:border-box;display:block;"});var nr=Object(i.memo)((function({disabled:e=!1,isFocused:t=!1}){return Object(i.createElement)(Qn,{"aria-hidden":"true",className:"components-input-control__backdrop",disabled:e,isFocused:t})}));function rr({children:e,hideLabelFromVision:t,htmlFor:n,...r}){return e?t?Object(i.createElement)(h.a,{as:"label",htmlFor:n},e):Object(i.createElement)(Xn,Object(a.a)({htmlFor:n},r),e):null}function or({__unstableInputWidth:e,children:t,className:n,disabled:r=!1,hideLabelFromVision:o=!1,labelPosition:s,id:c,isFocused:l=!1,label:u,prefix:f,size:p="default",suffix:h,...b},m){const g=function(e){const t=Object(d.useInstanceId)(or);return e||"input-base-control-"+t}(c),v=o||!u;return Object(i.createElement)(Hn,Object(a.a)({},b,function({labelPosition: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}({labelPosition:s}),{className:n,isFocused:l,labelPosition:s,ref:m,__unstableVersion:"next"}),Object(i.createElement)(Jn,null,Object(i.createElement)(rr,{className:"components-input-control__label",hideLabelFromVision:o,labelPosition:s,htmlFor:g,size:p},u)),Object(i.createElement)(Kn,{__unstableInputWidth:e,className:"components-input-control__container",disabled:r,hideLabel:v,isFocused:l,labelPosition:s},f&&Object(i.createElement)(er,{className:"components-input-control__prefix"},f),t,h&&Object(i.createElement)(tr,{className:"components-input-control__suffix"},h),Object(i.createElement)(nr,{"aria-hidden":"true",disabled:r,isFocused:l,label:u,size:p})))}var ar=Object(i.forwardRef)(or);function ir(e,t){return e.map((function(e,n){return e+t[n]}))}function sr(e,t){return e.map((function(e,n){return e-t[n]}))}function cr(e){return Math.hypot.apply(Math,e)}function lr(e,t,n){var r=cr(t),o=0===r?0:1/r,a=0===n?0:1/n,i=a*r,s=t.map((function(e){return a*e})),c=t.map((function(e){return o*e}));return{velocities:s,velocity:i,distance:cr(e),direction:c}}function ur(e){return Math.sign?Math.sign(e):Number(e>0)-Number(e<0)||+e}function dr(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 fr(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?-dr(t-e,n-t,r)+t:e>n?+dr(e-n,n-t,r)+n:e}function pr(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 hr(){return(hr=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 br(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function mr(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 gr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vr(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 yr(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 vr(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)?vr(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 Or(){}function jr(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?Or:1===t.length?t[0]:function(){for(var e,n,r=yr(t);!(n=r()).done;){var o=n.value;e=o.apply(this,arguments)||e}return e}}function _r(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 wr(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 kr(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],s=a[1];switch(typeof s){case"function":n[i]=s.call(n,e[i],i,e);break;case"object":n[i]=kr(e[i],s);break;case"boolean":s&&(n[i]=e[i])}}return n}function xr(){return"undefined"!=typeof window&&"ontouchstart"in window}function Er(e){return"pointerId"in e?null:"touchend"===e.type?e.changedTouches:e.targetTouches}function Sr(e){return Array.from(Er(e)).map((function(e){return e.identifier}))}function Cr(e){return{buttons:"buttons"in e?e.buttons:0,shiftKey:e.shiftKey,altKey:e.altKey,metaKey:e.metaKey,ctrlKey:e.ctrlKey}}var Pr=function(e){return e};function Dr(e,t){void 0===t&&(t=Pr);var n=Er(e),r=n?n[0]:e;return t([r.clientX,r.clientY])}var Mr={threshold:function(e){return void 0===e&&(e=0),_r(e)},rubberband:function(e){switch(void 0===e&&(e=0),e){case!0:return _r(.15);case!1:return _r(0);default:return _r(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:_r(e)},transform:!0},Ir=hr({},Mr,{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 Ir.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,s=void 0===i?-1/0:i,c=t.bottom;return[[r,a],[s,void 0===c?1/0:c]]}}),Tr="undefined"!=typeof window&&window.document&&window.document.createElement,Rr={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=Tr?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},Ar=hr({},Ir,{useTouch:function(e){void 0===e&&(e=!1);var t=xr(),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,s=n.axis,c=_r(e,o?3:i||(void 0===s?void 0:s)?1:0);return this.filterTaps=o,c},swipeVelocity:function(e){return void 0===e&&(e=.5),_r(e)},swipeDistance:function(e){return void 0===e&&(e=50),_r(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 Nr(e){return void 0===e&&(e={}),kr(e,Rr)}function Lr(e){return void 0===e&&(e={}),kr(e,Ar)}function Fr(e){var t=e.domTarget,n=e.eventOptions,r=e.window,o=e.enabled,a=mr(e,["domTarget","eventOptions","window","enabled"]),i=Nr({domTarget:t,eventOptions:n,window:r,enabled:o});return i.hover=hr({enabled:!0},a),i}function zr(e){var t=e.domTarget,n=e.eventOptions,r=e.window,o=e.enabled,a=mr(e,["domTarget","eventOptions","window","enabled"]),i=Nr({domTarget:t,eventOptions:n,window:r,enabled:o});return i.drag=Lr(a),i}function Br(e){return hr({_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:Or,canceled:!1,memo:void 0,args:void 0},e)}function Hr(){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:Br({_pointerId:void 0,axis:void 0,xy:[0,0],vxvy:[0,0],velocity:0,distance:0,tap:!1,swipe:[0,0]}),pinch:Br({_pointerIds:[],da:[0,0],vdva:[0,0],origin:void 0,turns:0}),wheel:Br({axis:void 0,xy:[0,0],vxvy:[0,0],velocity:0,distance:0}),move:Br({axis:void 0,xy:[0,0],vxvy:[0,0],velocity:0,distance:0}),scroll:Br({axis:void 0,xy:[0,0],vxvy:[0,0],velocity:0,distance:0})}}var Vr=new Map,Wr=function(e){return e},Kr=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=hr({},n.controller.state.shared,n.state,n.mapStateValues(n.state),{locked:!!document.pointerLockElement,touches:o,down:a}),s=n.handler(i);return n.state.memo=void 0!==s?s: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,s=n.lastOffset,c=n.movement,l=n._threshold,u=this.getInternalMovement(e,this.state),d=!1===i[0]?Ur(u[0],l[0]):i[0],f=!1===i[1]?Ur(u[1],l[1]):i[1],p=this.checkIntentionality([d,f],u);if(p._blocked)return hr({},p,{_movement:u,delta:[0,0]});var h=p._intentional,b=u,m=[!1!==h[0]?u[0]-h[0]:0,!1!==h[1]?u[1]-h[1]:0],g=ir(m,s),v=a?t:[0,0];return m=Gr(r,ir(m,o),v),hr({},p,{intentional:!1!==h[0]||!1!==h[1],_initial:o,_movement:b,movement:m,values:e,offset:Gr(r,g,v),delta:sr(m,c)})},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||Wr}}])&&pr(t.prototype,n),r&&pr(t,r),e}();function Ur(e,t){return Math.abs(e)>=t&&ur(e)*t}function Gr(e,t,n){var r=t[0],o=t[1],a=n[0],i=n[1],s=e[0],c=s[0],l=s[1],u=e[1],d=u[0],f=u[1];return[fr(r,c,l,a),fr(o,d,f,i)]}function qr(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 $r(e,t,n,r){var o=e.state,a=e.config,i=e.stateKey,s=e.args,c=e.transform,l=o.offset,u=n.timeStamp,d=a.initial,f=a.bounds,p=sr(c(a.threshold),c([0,0])).map(Math.abs),h=hr({},Hr()[i],{_active:!0,args:s,values:t,initial:null!=r?r:t,_threshold:p,offset:l,lastOffset:l,startTime:u});return hr({},h,{_initial:wr(d,h),_bounds:wr(f,h)})}var Yr=function(e){var t=this;this.classes=e,this.pointerIds=new Set,this.touchIds=new Set,this.supportsTouchEvents=xr(),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=yr(t.classes);!(o=i()).done;){var s=o.value;new s(t,n).addBindings(a)}var c=function(e){oo(a,e,(function(r){return t.nativeRefs[e](hr({},t.state.shared,{event:r,args:n}))}))};for(var l in t.nativeRefs)c(l);return t.config.domTarget?eo(t,a):to(t,a)},this.effect=function(){return t.config.domTarget&&t.bind(),t.clean},this.clean=function(){var e=ro(t.config),n=t.config.eventOptions;e&&io(e,no(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];io(n,i,r)}e.windowListeners={}}(t)},this.classes=e,this.state=Hr(),this.timeouts={},this.domListeners=[],this.windowListeners={}};function Zr(e,t){"pointerId"in t?e.pointerIds.add(t.pointerId):e.touchIds=new Set(Sr(t))}function Xr(e,t){"pointerId"in t?e.pointerIds.delete(t.pointerId):Sr(t).forEach((function(t){return e.touchIds.delete(t)}))}function Jr(e,t,n){var r=e.config,o=e.windowListeners;void 0===n&&(n=r.eventOptions),r.window&&(io(r.window,o[t],n),delete o[t])}function Qr(e,t,n,r){var o=e.config,a=e.windowListeners;void 0===n&&(n=[]),void 0===r&&(r=o.eventOptions),o.window&&(io(o.window,a[t],r),ao(o.window,a[t]=n,r))}function eo(e,t){var n=e.config,r=e.domListeners,o=ro(n);if(!o)throw new Error("domTarget must be defined");var a=n.eventOptions;io(o,no(r),a);for(var i=0,s=Object.entries(t);i<s.length;i++){var c=s[i],l=c[0],u=c[1],d=l.slice(2).toLowerCase();r.push([d,jr.apply(void 0,u)])}ao(o,r,a)}function to(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],s=i[0],c=i[1],l=Array.isArray(c)?c:[c];n[s+r]=jr.apply(void 0,l)}return n}function no(e){return void 0===e&&(e=[]),e.splice(0,e.length)}function ro(e){var t=e.domTarget;return t&&"current"in t?t.current:t}function oo(e,t,n){e[t]||(e[t]=[]),e[t].push(n)}function ao(e,t,n){void 0===t&&(t=[]),void 0===n&&(n={});for(var r,o=yr(t);!(r=o()).done;){var a=r.value,i=a[0],s=a[1];e.addEventListener(i,s,n)}}function io(e,t,n){void 0===t&&(t=[]),void 0===n&&(n={});for(var r,o=yr(t);!(r=o()).done;){var a=r.value,i=a[0],s=a[1];e.removeEventListener(i,s,n)}}function so(e,t,n){void 0===n&&(n={});var r=function(e){var t=new Set;e.drag&&t.add(Vr.get("drag"));e.wheel&&t.add(Vr.get("wheel"));e.scroll&&t.add(Vr.get("scroll"));e.move&&t.add(Vr.get("move"));e.pinch&&t.add(Vr.get("pinch"));e.hover&&t.add(Vr.get("hover"));return t}(e),o=w.a.useMemo((function(){return new Yr(r)}),[]);return o.config=t,o.handlers=e,o.nativeRefs=n,w.a.useEffect(o.effect,[]),o.config.domTarget?co:o.bind}function co(){0}var lo=function(e){function t(){return e.apply(this,arguments)||this}br(t,e);var n=t.prototype;return n.getInternalMovement=function(e,t){return sr(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,lr(n.movement,n.delta,r))}return n},n.mapStateValues=function(e){return{xy:e.values,vxvy:e.velocities}},t}(Kr);function uo(e){"persist"in e&&"function"==typeof e.persist&&e.persist()}var fo=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){uo(e),Qr(t.controller,t.stateKey,[["touchmove",t.preventScroll],["touchend",t.clean.bind(gr(t))],["touchcancel",t.clean.bind(gr(t))]],{passive:!1}),t.setTimeout(t.startDrag.bind(gr(t)),250,e)},t.setUpDelayedDragTrigger=function(e){t.state._dragDelayed=!0,uo(e),t.setTimeout(t.startDrag.bind(gr(t)),t.config.delay,e)},t.setStartState=function(e){var n=Dr(e,t.transform);t.updateSharedState(Cr(e)),t.updateGestureState(hr({},$r(gr(t),n,e),qr(gr(t),e,!0),{_pointerId:t.getEventId(e)})),t.updateGestureState(t.getMovement(n))},t.onDragStart=function(e){Zr(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=ir(t.transform([r,o]),t.state.values)}else n=Dr(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=Cr(e);t.updateSharedState(i);var s=qr(gr(t),e),c=cr(a._movement),l=t.state._dragIsTap;l&&c>=3&&(l=!1),t.updateGestureState(hr({},s,a,{_dragIsTap:l})),t.fireGestureHandler()}},t.onDragEnd=function(e){if(Xr(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,s=i[0],c=i[1],l=t.state._intentional,u=l[0],d=l[1],f=t.config.swipeVelocity,p=f[0],h=f[1],b=t.config.swipeDistance,m=b[0],g=b[1],v=t.config.swipeDuration,y=hr({},qr(gr(t),e),t.getMovement(t.state.values)),O=[0,0];y.elapsedTime<v&&(!1!==u&&Math.abs(o)>p&&Math.abs(s)>m&&(O[0]=ur(o)),!1!==d&&Math.abs(a)>h&&Math.abs(c)>g&&(O[1]=ur(a))),t.updateSharedState({buttons:0}),t.updateGestureState(hr({},y,{tap:n,swipe:O})),t.fireGestureHandler(t.config.filterTaps&&!0===n)}},t.clean=function(){e.prototype.clean.call(gr(t)),t.state._dragStarted=!1,t.releasePointerCapture(),Jr(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}br(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?(oo(e,"onTouchStart",this.onDragStart),oo(e,"onTouchMove",this.onDragChange),oo(e,"onTouchEnd",this.onDragEnd),oo(e,"onTouchCancel",this.onDragEnd)):(oo(e,"onPointerDown",this.onDragStart),oo(e,"onPointerMove",this.onDragChange),oo(e,"onPointerUp",this.onDragEnd),oo(e,"onPointerCancel",this.onDragEnd)),this.config.filterTaps)&&oo(e,this.controller.config.eventOptions.capture?"onClick":"onClickCapture",this.onClick)},t}(lo);function po(e,t){var n,r,o=[],a=!1;return function(){for(var i=arguments.length,s=new Array(i),c=0;c<i;c++)s[c]=arguments[c];return a&&n===this&&t(s,o)||(r=e.apply(this,s),a=!0,n=this,o=s),r}}function ho(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 bo=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(Cr(e));var n=Dr(e,t.transform);t.updateGestureState(hr({},$r(gr(t),n,e),qr(gr(t),e,!0))),t.updateGestureState(t.getMovement(n)),t.fireGestureHandler()},t.onMoveChange=function(e){t.updateSharedState(Cr(e));var n=Dr(e,t.transform);t.updateGestureState(hr({},qr(gr(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=Dr(e,t.hoverTransform()),r=hr({},t.controller.state.shared,t.state,qr(gr(t),e,!0),{args:t.args,values:n,active:!0,hovering:!0});t.controller.handlers.hover(hr({},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=Dr(e,t.hoverTransform()),r=hr({},t.controller.state.shared,t.state,qr(gr(t),e),{args:t.args,values:n,active:!1});t.controller.handlers.hover(hr({},r,t.mapStateValues(r)))}},t}return br(t,e),t.prototype.addBindings=function(e){"move"in this.controller.handlers&&oo(e,"onPointerMove",this.onMove),"hover"in this.controller.handlers&&(oo(e,"onPointerEnter",this.onPointerEnter),oo(e,"onPointerLeave",this.onPointerLeave))},t}(lo);var mo=n("RxS6");const go=e=>e,vo={_event:{},error:null,initialValue:"",isDirty:!1,isDragEnabled:!1,isDragging:!1,isPressEnterToChange:!1,value:""},yo={CHANGE:"CHANGE",COMMIT:"COMMIT",DRAG_END:"DRAG_END",DRAG_START:"DRAG_START",DRAG:"DRAG",INVALIDATE:"INVALIDATE",PRESS_DOWN:"PRESS_DOWN",PRESS_ENTER:"PRESS_ENTER",PRESS_UP:"PRESS_UP",RESET:"RESET",UPDATE:"UPDATE"},Oo=yo;const jo=(...e)=>(...t)=>e.reduceRight((e,n)=>{const r=n(...t);return Object(s.isEmpty)(r)?e:{...e,...r}},{});function _o(e=go,t=vo){const[n,r]=Object(i.useReducer)((o=e,(e,t)=>{const n={...e},{type:r,payload:a}=t;switch(r){case yo.PRESS_UP:case yo.PRESS_DOWN:n.isDirty=!1;break;case yo.DRAG_START:n.isDragging=!0;break;case yo.DRAG_END:n.isDragging=!1;break;case yo.CHANGE:n.error=null,n.value=a.value,e.isPressEnterToChange&&(n.isDirty=!0);break;case yo.COMMIT:n.value=a.value,n.isDirty=!1;break;case yo.RESET:n.error=null,n.isDirty=!1,n.value=a.value||e.initialValue;break;case yo.UPDATE:n.value=a.value,n.isDirty=!1;break;case yo.INVALIDATE:n.error=a.error}return a.event&&(n._event=a.event),o(n,t)}),function(e=vo){const{value:t}=e;return{...vo,...e,initialValue:t}}(t));var o;const a=e=>(t,n)=>{n&&n.persist&&n.persist(),r({type:e,payload:{value:t,event:n}})},s=e=>t=>{t&&t.persist&&t.persist(),r({type:e,payload:{event:t}})},c=e=>t=>{r({type:e,payload:t})},l=a(yo.CHANGE),u=a(yo.INVALIDATE),d=a(yo.RESET),f=a(yo.COMMIT),p=a(yo.UPDATE),h=c(yo.DRAG_START),b=c(yo.DRAG),m=c(yo.DRAG_END),g=s(yo.PRESS_UP),v=s(yo.PRESS_DOWN),y=s(yo.PRESS_ENTER);return{change:l,commit:f,dispatch:r,drag:b,dragEnd:m,dragStart:h,invalidate:u,pressDown:v,pressEnter:y,pressUp:g,reset:d,state:n,update:p}}function wo(e){return null!=e}function ko(e){const t=""===e;return!wo(e)||t}var xo=function(e,t){const n=Object(i.useRef)(!1);Object(i.useEffect)(()=>{if(n.current)return e();n.current=!0},t)};var Eo=Object(i.forwardRef)((function({disabled:e=!1,dragDirection:t="n",dragThreshold:n=10,id:r,isDragEnabled:o=!1,isFocused:c,isPressEnterToChange:l=!1,onBlur:u=s.noop,onChange:d=s.noop,onDrag:f=s.noop,onDragEnd:p=s.noop,onDragStart:h=s.noop,onFocus:b=s.noop,onKeyDown:m=s.noop,onValidate:g=s.noop,size:v="default",setIsFocused:y,stateReducer:O=(e=>e),value:j,type:w,...k},x){const{state:E,change:S,commit:C,drag:P,dragEnd:D,dragStart:M,invalidate:I,pressDown:T,pressEnter:R,pressUp:A,reset:N,update:L}=_o(O,{isDragEnabled:o,value:j,isPressEnterToChange:l}),{_event:F,value:z,isDragging:B,isDirty:H}=E,V=Object(i.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(i.useEffect)(()=>{document.documentElement.style.cursor=e?n:null},[e]),n}(B,t);xo(()=>{j!==z&&(c||V.current?H||(d(z,{event:F}),V.current=!1):L(j))},[z,H,c,j]);const K=e=>{const t=e.target.value;try{g(t,e),C(t,e)}catch(t){I(t,e)}},U=function(e,t){void 0===t&&(t={}),Vr.set("drag",fo);var n=Object(_.useRef)();return n.current||(n.current=po(zr,ho)),so({drag:e},n.current(t))}(e=>{const{distance:t,dragging:n,event:r}=e;if(r.persist(),t){if(r.stopPropagation(),!n)return p(e),void D(e);f(e),P(e),B||(h(e),M(e))}},{threshold:n,enabled:o}),G=o?U():{};let q;return"number"===w&&(q=e=>{var t;null===(t=k.onMouseDown)||void 0===t||t.call(k,e),e.target!==e.target.ownerDocument.activeElement&&e.target.focus()}),Object(i.createElement)(Gn,Object(a.a)({},k,G,{className:"components-input-control__input",disabled:e,dragCursor:W,isDragging:B,id:r,onBlur:e=>{u(e),y(!1),l&&H&&(V.current=!0,ko(z)?N(j):K(e))},onChange:e=>{const t=e.target.value;S(t,e)},onFocus:e=>{b(e),y(!0)},onKeyDown:e=>{const{keyCode:t}=e;switch(m(e),t){case mo.UP:A(e);break;case mo.DOWN:T(e);break;case mo.ENTER:R(e),l&&(e.preventDefault(),K(e))}},onMouseDown:q,ref:x,size:v,value:z,type:w}))}));function So({__unstableStateReducer:e=(e=>e),__unstableInputWidth:t,className:n,disabled:r=!1,hideLabelFromVision:o=!1,id:c,isPressEnterToChange:u=!1,label:f,labelPosition:p="top",onChange:h=s.noop,onValidate:b=s.noop,onKeyDown:m=s.noop,prefix:g,size:v="default",suffix:y,value:O,...j},_){const[w,k]=Object(i.useState)(!1),x=function(e){const t=Object(d.useInstanceId)(So);return e||"inspector-input-control-"+t}(c),E=l()("components-input-control",n);return Object(i.createElement)(ar,{__unstableInputWidth:t,className:E,disabled:r,gap:3,hideLabelFromVision:o,id:x,isFocused:w,justify:"left",label:f,labelPosition:p,prefix:g,size:v,suffix:y},Object(i.createElement)(Eo,Object(a.a)({},j,{className:"components-input-control__input",disabled:r,id:x,isFocused:w,isPressEnterToChange:u,onChange:h,onKeyDown:m,onValidate:b,ref:_,setIsFocused:k,size:v,stateReducer:e,value:O})))}var Co=Object(i.forwardRef)(So);var Po={name:"1b9wwt5",styles:"&::-webkit-outer-spin-button,&::-webkit-inner-spin-button{-webkit-appearance:none !important;margin:0 !important;}"};const Do=({hideHTMLArrows:e})=>e?Po:"",Mo=W(Co,{target:"ep48uk90",label:"Input"})(Do,";");function Io(e){const t=Number(e);return isNaN(t)?0:t}function To(...e){return e.reduce((e,t)=>e+Io(t),0)}function Ro(e=0,t=1/0,n=1/0,r=1){const o=Io(e),a=Io(r),i=function(e){const t=(e+"").split(".");return void 0!==t[1]?t[1].length:0}(r),c=Math.round(o/a)*a,l=Object(s.clamp)(c,t,n);return i?Io(l.toFixed(i)):l}var Ao=function({isShiftStepEnabled:e=!0,shiftStep:t=10,step:n=1}){const[r,o]=Object(i.useState)(!1);return Object(i.useEffect)(()=>{const e=e=>{o(e.shiftKey)};return window.addEventListener("keydown",e),window.addEventListener("keyup",e),()=>{window.removeEventListener("keydown",e),window.removeEventListener("keyup",e)}},[]),e&&r?t*n:n};var No=Object(i.forwardRef)((function({__unstableStateReducer:e=(e=>e),className:t,dragDirection:n="n",hideHTMLArrows:r=!1,isDragEnabled:o=!0,isShiftStepEnabled:s=!0,label:c,max:d=1/0,min:f=-1/0,shiftStep:p=10,step:h=1,type:b="number",value:m,...g},v){const y=Ro(0,f,d,h),O=Ao({step:h,shiftStep:p,isShiftStepEnabled:s}),j="number"===b?"off":null,_=l()("components-number-control",t);return Object(i.createElement)(Mo,Object(a.a)({autoComplete:j,inputMode:"numeric"},g,{className:_,dragDirection:n,hideHTMLArrows:r,isDragEnabled:o,label:c,max:d,min:f,ref:v,step:O,type:b,value:m,__unstableStateReducer:jo((e,t)=>{const{type:r,payload:a}=t,i=null==a?void 0:a.event,c=e.value;if(r===Oo.PRESS_UP||r===Oo.PRESS_DOWN){const t=i.shiftKey&&s?parseFloat(p)*parseFloat(h):parseFloat(h);let n=ko(c)?y:c;null!=i&&i.preventDefault&&i.preventDefault(),r===Oo.PRESS_UP&&(n=To(n,t)),r===Oo.PRESS_DOWN&&(n=function(...e){return e.reduce((e,t,n)=>{const r=Io(t);return 0===n?r:e-r},0)}(n,t)),n=Ro(n,f,d,t),e.value=n}if(r===Oo.DRAG&&o){const{delta:t,shiftKey:r}=a,[o,i]=t,s=r?parseFloat(p)*parseFloat(h):parseFloat(h);let l,b;switch(n){case"n":b=i,l=-1;break;case"e":b=o,l=Object(u.isRTL)()?-1:1;break;case"s":b=i,l=1;break;case"w":b=o,l=Object(u.isRTL)()?1:-1}const m=b*s*l;let g;0!==m&&(g=Ro(To(c,m),f,d,s),e.value=g)}return r!==Oo.PRESS_ENTER&&r!==Oo.COMMIT||(e.value=Ro(c,f,d)),e},e)}))}));const Lo=W(Zt,{target:"e65ony40",label:"Root"})({name:"tn9ygg",styles:"max-width:200px;"}),Fo=W("div",{target:"e65ony41",label:"CircleRoot"})("border-radius:50%;border:1px solid ",re.ui.borderLight,";box-sizing:border-box;cursor:grab;height:",30,"px;overflow:hidden;width:",30,"px;"),zo=W("div",{target:"e65ony42",label:"CircleIndicatorWrapper"})({name:"11t5m37",styles:"box-sizing:border-box;position:relative;width:100%;height:100%;"}),Bo=W("div",{target:"e65ony43",label:"CircleIndicator"})("background:",re.ui.border,";border-radius:50%;border:3px solid ",re.ui.border,";bottom:0;box-sizing:border-box;display:block;height:1px;left:0;margin:auto;position:absolute;right:0;top:-",15,"px;width:1px;");var Ho=function({value:e,onChange:t,...n}){const r=Object(i.useRef)(),o=Object(i.useRef)(),s=Object(i.useRef)(),c=e=>{const{x:n,y:a}=o.current,{ownerDocument:i}=r.current;e.preventDefault(),i.activeElement.blur(),t(function(e,t,n,r){const o=r-t,a=n-e,i=Math.atan2(o,a),s=Math.round(i*(180/Math.PI))+90;if(s<0)return 360+s;return s}(n,a,e.clientX,e.clientY))},{startDrag:l,isDragging:u}=Object(d.__experimentalUseDragging)({onDragStart:e=>{(()=>{const e=r.current.getBoundingClientRect();o.current={x:e.x+e.width/2,y:e.y+e.height/2}})(),c(e)},onDragMove:c,onDragEnd:c});return Object(i.useEffect)(()=>{u?(void 0===s.current&&(s.current=document.body.style.cursor),document.body.style.cursor="grabbing"):(document.body.style.cursor=s.current||null,s.current=void 0)},[u]),Object(i.createElement)(Fo,Object(a.a)({ref:r,onMouseDown:l,className:"components-angle-picker-control__angle-circle",style:u?{cursor:"grabbing"}:void 0},n),Object(i.createElement)(zo,{style:e?{transform:`rotate(${e}deg)`}:void 0,className:"components-angle-picker-control__angle-circle-indicator-wrapper"},Object(i.createElement)(Bo,{className:"components-angle-picker-control__angle-circle-indicator"})))};function Vo({className:e,hideLabelFromVision:t,id:n,label:r=Object(u.__)("Angle"),onChange:o,value:s,...c}){const f=Object(d.useInstanceId)(Vo,"components-angle-picker-control__input"),p=n||f,h=l()("components-angle-picker-control",e);return Object(i.createElement)(St,Object(a.a)({className:h,hideLabelFromVision:t,id:p,label:r},c),Object(i.createElement)(Lo,null,Object(i.createElement)(Ht,null,Object(i.createElement)(No,{className:"components-angle-picker-control__input-field",id:p,max:360,min:0,onChange:e=>{const t=""!==e?parseInt(e,10):0;o(t)},step:"1",value:s})),Object(i.createElement)(Vt,null,Object(i.createElement)(Ho,{"aria-hidden":"true",value:s,onChange:o}))))}var Wo=n("qRz9"),Ko=n("gdqT"),Uo=n("kA6J"),Go=n("oXO/");const qo=e=>{const t=e.useItems?e.useItems:t=>{const[n,r]=Object(i.useState)([]);return Object(i.useLayoutEffect)(()=>{const{options:n,isDebounced:o}=e,a=Object(s.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(s.escapeRegExp)(t),"i");r(function(e,t=[],n=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(s.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]};return function({filterValue:e,instanceId:n,listBoxId:r,className:o,selectedIndex:a,onChangeOptions:c,onSelect:u,onReset:d,value:f,contentRef:p}){const[h]=t(e),b=Object(Wo.useAnchorRef)({ref:p,value:f});return Object(i.useLayoutEffect)(()=>{c(h)},[h]),!h.length>0?null:Object(i.createElement)(Go.a,{focusOnMount:!1,onClose:d,position:"top right",className:"components-autocomplete__popover",anchorRef:b},Object(i.createElement)("div",{id:r,role:"listbox",className:"components-autocomplete__results"},Object(s.map)(h,(e,t)=>Object(i.createElement)(Uo.a,{key:e.key,id:`components-autocomplete-item-${n}-${e.key}`,role:"option","aria-selected":t===a,disabled:e.isDisabled,className:l()("components-autocomplete__result",o,{"is-selected":t===a}),onClick:()=>u(e)},e.label))))}};function $o({record:e,onChange:t,onReplace:n,completers:r,contentRef:o}){const a=Object(d.useDebounce)(Ko.speak,500),c=Object(d.useInstanceId)($o),[l,f]=Object(i.useState)(0),[p,h]=Object(i.useState)([]),[b,m]=Object(i.useState)(""),[g,v]=Object(i.useState)(null),[y,O]=Object(i.useState)(null),[j,_]=Object(i.useState)(!1);function w(r){const{getOptionCompletion:o}=g||{};if(!r.isDisabled){if(o){const a=o(r.value,b),{action:s,value:c}=void 0===a.action||void 0===a.value?{action:"insert-at-caret",value:a}:a;"replace"===s?n([c]):"insert-at-caret"===s&&function(n){const r=e.start,o=r-g.triggerPrefix.length-b.length,a=Object(Wo.create)({html:Object(i.renderToString)(n)});t(Object(Wo.insert)(e,a,o,r))}(c)}k()}}function k(){f(0),h([]),m(""),v(null),O(null)}let x;Object(Wo.isCollapsed)(e)&&(x=Object(Wo.getTextContent)(Object(Wo.slice)(e,0))),Object(i.useEffect)(()=>{if(!x)return;const t=Object(s.deburr)(x),n=Object(Wo.getTextContent)(Object(Wo.slice)(e,void 0,Object(Wo.getTextContent)(e).length)),o=Object(s.find)(r,({triggerPrefix:e,allowContext:r})=>{const o=t.lastIndexOf(e);if(-1===o)return!1;const a=t.slice(o+e.length);if(a.length>50)return!1;const i=0===p.length,s=1===a.split(/\s/).length,c=j&&a.split(/\s/).length<=3;return!(i&&!c&&!s)&&(!(r&&!r(t.slice(0,o),n))&&(!/^\s/.test(a)&&!/\s\s+$/.test(a)&&/[\u0000-\uFFFF]*$/.test(a)))});if(!o)return void k();const a=Object(s.escapeRegExp)(o.triggerPrefix),i=t.slice(t.lastIndexOf(o.triggerPrefix)).match(new RegExp(a+"([\0-]*)$")),c=i&&i[1];v(o),O(()=>o!==g?qo(o):y),m(c)},[x]);const{key:E=""}=p[l]||{},{className:S}=g||{},C=!!g&&p.length>0,P=C?"components-autocomplete-listbox-"+c:null;return{listBoxId:P,activeId:C?`components-autocomplete-item-${c}-${E}`:null,onKeyDown:function(e){if(_(e.keyCode===mo.BACKSPACE),g&&0!==p.length){switch(e.keyCode){case mo.UP:f((0===l?p.length:l)-1);break;case mo.DOWN:f((l+1)%p.length);break;case mo.ESCAPE:v(null),O(null);break;case mo.ENTER:w(p[l]);break;case mo.LEFT:case mo.RIGHT:return void k();default:return}e.preventDefault(),e.stopPropagation()}},popover:y&&Object(i.createElement)(y,{className:S,filterValue:b,instanceId:c,listBoxId:P,selectedIndex:l,onChangeOptions:function(e){f(e.length===p.length?l:0),h(e),function(e){a&&(e.length?a(Object(u.sprintf)(Object(u._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(Object(u.__)("No results."),"assertive"))}(e)},onSelect:w,value:e,contentRef:o})}}function Yo(e){const t=Object(i.useRef)(),n=Object(i.useRef)(),{popover:r,listBoxId:o,activeId:a,onKeyDown:s}=$o({...e,contentRef:t});return n.current=s,{ref:Object(d.useMergeRefs)([t,Object(d.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 Zo({children:e,isSelected:t,...n}){const{popover:r,...o}=$o(n);return Object(i.createElement)(i.Fragment,null,e(o),t&&r)}const Xo=W("div",{target:"e1agakv00",label:"Root"})({name:"1bt0omd",styles:"box-sizing:border-box;position:relative;"}),Jo=({disableUnits:e})=>A(In({paddingRight:e?3:24})(),";");var Qo={name:"1y65o8",styles:"&::-webkit-outer-spin-button,&::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}"};const ea=({disableUnits:e})=>e?"":Qo,ta=W(No,{target:"e1agakv01",label:"ValueInput"})("&&&{input{appearance:none;-moz-appearance:textfield;display:block;width:100%;",ea,";",Jo,";}}"),na=e=>A("appearance:none;background:transparent;border-radius:2px;border:none;box-sizing:border-box;color:",re.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;",In({borderTopLeftRadius:0,borderBottomLeftRadius:0})()," ",In({right:0})()," ",(({size:e})=>A({default:{height:28,lineHeight:"24px",minHeight:28,top:1},small:{height:22,lineHeight:"18px",minHeight:22,top:1}}[e],""))(e),""),ra=W("div",{target:"e1agakv02",label:"UnitLabel"})("&&&{pointer-events:none;",na,";}"),oa=W("select",{target:"e1agakv03",label:"UnitSelect"})("&&&{",na,";cursor:pointer;border:1px solid transparent;&:hover{background-color:",re.lightGray[300],";}&:focus{border-color:",re.ui.borderFocus,";outline:2px solid transparent;outline-offset:0;}&:disabled{cursor:initial;&:hover{background-color:transparent;}}}"),aa="web"===i.Platform.OS,ia=[{value:"px",label:aa?"px":Object(u.__)("Pixels (px)"),default:"",a11yLabel:Object(u.__)("Pixels (px)")},{value:"%",label:aa?"%":Object(u.__)("Percentage (%)"),default:"",a11yLabel:Object(u.__)("Percent (%)")},{value:"em",label:aa?"em":Object(u.__)("Relative to parent font size (em)"),default:"",a11yLabel:Object(u.__)("Relative to parent font size (em)")},{value:"rem",label:aa?"rem":Object(u.__)("Relative to root font size (rem)"),default:"",a11yLabel:Object(u.__)("Relative to root font size (rem)")},{value:"vw",label:aa?"vw":Object(u.__)("Viewport width (vw)"),default:"",a11yLabel:Object(u.__)("Viewport width (vw)")},{value:"vh",label:aa?"vh":Object(u.__)("Viewport height (vh)"),default:"",a11yLabel:Object(u.__)("Viewport height (vh)")},{value:"vmin",label:aa?"vmin":Object(u.__)("Viewport smallest dimension (vmin)"),default:"",a11yLabel:Object(u.__)("Viewport smallest dimension (vmin)")},{value:"vmax",label:aa?"vmax":Object(u.__)("Viewport largest dimension (vmax)"),default:"",a11yLabel:Object(u.__)("Viewport largest dimension (vmax)")},{value:"ch",label:aa?"ch":Object(u.__)("Width of the zero (0) character (ch)"),default:"",a11yLabel:Object(u.__)("Width of the zero (0) character (ch)")},{value:"ex",label:aa?"ex":Object(u.__)("x-height of the font (ex)"),default:"",a11yLabel:Object(u.__)("x-height of the font (ex)")},{value:"cm",label:aa?"cm":Object(u.__)("Centimeters (cm)"),default:"",a11yLabel:Object(u.__)("Centimeters (cm)")},{value:"mm",label:aa?"mm":Object(u.__)("Millimeters (mm)"),default:"",a11yLabel:Object(u.__)("Millimeters (mm)")},{value:"in",label:aa?"in":Object(u.__)("Inches (in)"),default:"",a11yLabel:Object(u.__)("Inches (in)")},{value:"pc",label:aa?"pc":Object(u.__)("Picas (pc)"),default:"",a11yLabel:Object(u.__)("Picas (pc)")},{value:"pt",label:aa?"pt":Object(u.__)("Points (pt)"),default:"",a11yLabel:Object(u.__)("Points (pt)")}],sa=[{value:"px",label:"px",default:0,a11yLabel:Object(u.__)("pixels")},{value:"%",label:"%",default:10,a11yLabel:Object(u.__)("percent")},{value:"em",label:"em",default:0,a11yLabel:Object(u._x)("ems","Relative to parent font size (em)")},{value:"rem",label:"rem",default:0,a11yLabel:Object(u._x)("rems","Relative to root font size (rem)")},{value:"vw",label:"vw",default:10,a11yLabel:Object(u.__)("viewport widths")},{value:"vh",label:"vh",default:10,a11yLabel:Object(u.__)("viewport heights")}],ca=sa[0];function la(e){return!Object(s.isEmpty)(e)&&e.length>1&&!1!==e}function ua(e,t=ia){const n=String(e).trim();let r=parseFloat(n,10);r=isNaN(r)?"":r;const o=n.match(/[\d.\-\+]*\s*(.*)/)[1];let a=void 0!==o?o:"";if(a=a.toLowerCase(),la(t)){const e=t.find(e=>e.value===a);a=null==e?void 0:e.value}else a=ca.value;return[r,a]}function da(e,t,n,r){const[o,a]=ua(e,t);let i,s=o;var c;((isNaN(o)||""===o)&&(s=n),i=a||r,la(t)&&!i)&&(i=null===(c=t[0])||void 0===c?void 0:c.value);return[s,i]}const fa=({units:e,availableUnits:t,defaultValues:n})=>{const r=function(e=[],t=[]){return t.filter(t=>e.includes(t.value))}(t||[],e=e||ia);return n&&r.forEach((e,t)=>{n[e.value]&&(r[t].default=n[e.value])}),0!==r.length&&r};function pa({className:e,isTabbable:t=!0,options:n=sa,onChange:r=s.noop,size:o="default",value:c="px",...u}){if(!la(n))return Object(i.createElement)(ra,{className:"components-unit-control__unit-label",size:o},c);const d=l()("components-unit-control__select",e);return Object(i.createElement)(oa,Object(a.a)({className:d,onChange:e=>{const{value:t}=e.target,o=n.find(e=>e.value===t);r(t,{event:e,data:o})},size:o,tabIndex:t?null:"-1",value:c},u),n.map(e=>Object(i.createElement)("option",{value:e.value,key:e.value},e.label)))}const ha={initial:void 0,fallback:""};var ba=function(e,t=ha){const{initial:n,fallback:r}={...ha,...t},[o,a]=Object(i.useState)(e),s=wo(e);return Object(i.useEffect)(()=>{s&&o&&a(void 0)},[s,o]),[function(e=[],t){var n;return null!==(n=e.find(wo))&&void 0!==n?n:t}([e,o,n],r),e=>{s||a(e)}]};var ma=Object(i.forwardRef)((function({__unstableStateReducer:e=(e=>e),autoComplete:t="off",className:n,disabled:r=!1,disableUnits:o=!1,isPressEnterToChange:c=!1,isResetValueOnUnitChange:d=!1,isUnitSelectTabbable:f=!0,label:p,onChange:h=s.noop,onUnitChange:b=s.noop,size:m="default",style:g,unit:v,units:y=sa,value:O,...j},_){const[w,k]=function(e,t,n){return ua(t?`${e}${t}`:e,n)}(O,v,y),[x,E]=ba(v,{initial:k}),S=Object(i.useRef)(null),C=l()("components-unit-control",n),P=e=>{if(!isNaN(e.target.value))return void(S.current=null);const[t,n]=da(e.target.value,y,w,x);if(S.current=t,c&&n!==x){const r={event:e,data:y.find(e=>e.value===n)};h(`${t}${n}`,r),b(n,r),E(n)}},D=P,M=o?null:Object(i.createElement)(pa,{"aria-label":Object(u.__)("Select unit"),disabled:r,isTabbable:f,options:y,onChange:(e,t)=>{const{data:n}=t;let r=`${w}${e}`;d&&void 0!==(null==n?void 0:n.default)&&(r=`${n.default}${e}`),h(r,t),b(e,t),E(e)},size:m,value:x});let I=j.step;if(!I&&y){var T;const e=y.find(e=>e.value===x);I=null!==(T=null==e?void 0:e.step)&&void 0!==T?T:1}return Object(i.createElement)(Xo,{className:"components-unit-control-wrapper",style:g},Object(i.createElement)(ta,Object(a.a)({"aria-label":p,type:c?"text":"number"},Object(s.omit)(j,["children"]),{autoComplete:t,className:C,disabled:r,disableUnits:o,isPressEnterToChange:c,label:p,onBlur:D,onKeyDown:e=>{const{keyCode:t}=e;t===mo.ENTER&&P(e)},onChange:(e,t)=>{""!==e?(e=da(e,y,w,x).join(""),h(e,t)):h("",t)},ref:_,size:m,suffix:M,value:w,step:I,__unstableStateReducer:jo((e,t)=>(t.type===Oo.COMMIT&&null!==S.current&&(e.value=S.current,S.current=null),e),e)})))}));const ga=W("div",{target:"e7pk0lh0",label:"Root"})({name:"vho1ao",styles:"box-sizing:border-box;max-width:235px;padding-bottom:12px;width:100%;"}),va=W(Zt,{target:"e7pk0lh1",label:"Header"})("color:",re.ui.label,";padding-bottom:8px;"),ya=W(Zt,{target:"e7pk0lh2",label:"HeaderControlWrapper"})({name:"19de7qh",styles:"min-height:30px;"}),Oa=W("div",{target:"e7pk0lh3",label:"UnitControlWrapper"})({name:"zypm0w",styles:"box-sizing:border-box;max-width:80px;"}),ja=W(Zt,{target:"e7pk0lh4",label:"LayoutContainer"})({name:"39f89t",styles:"justify-content:center;padding-top:8px;"}),_a=W(Zt,{target:"e7pk0lh5",label:"Layout"})({name:"qpveuy",styles:"position:relative;height:100%;width:100%;justify-content:flex-start;"});var wa={name:"icip60",styles:"border-radius:2px;"},ka={name:"1k07npk",styles:"border-radius:0;"};const xa=({isFirst:e,isLast:t,isOnly:n})=>e?In({borderTopRightRadius:0,borderBottomRightRadius:0})():t?In({borderTopLeftRadius:0,borderBottomLeftRadius:0})():n?wa:ka,Ea=({isFirst:e})=>In({marginLeft:e?0:-1})(),Sa=W(ma,{target:"e7pk0lh6",label:"UnitControl"})("max-width:60px;",xa,";",Ea,";");function Ca({isFirst:e,isLast:t,isOnly:n,onHoverOn:r=s.noop,onHoverOff:o=s.noop,label:c,value:l,...u}){const d=function(e,t){void 0===t&&(t={}),Vr.set("hover",bo);var n=Object(_.useRef)();return n.current||(n.current=po(Fr,ho)),so({hover:e},n.current(t))}(({event:e,...t})=>{t.hovering?r(e,t):o(e,t)});return Object(i.createElement)(Oa,d(),Object(i.createElement)(Pa,{text:c},Object(i.createElement)(Sa,Object(a.a)({"aria-label":c,className:"component-box-control__unit-control",hideHTMLArrows:!0,isFirst:e,isLast:t,isOnly:n,isPressEnterToChange:!0,isResetValueOnUnitChange:!1,value:l},u))))}function Pa({children:e,text:t}){return t?Object(i.createElement)(p.a,{text:t,position:"top"},Object(i.createElement)("div",null,e)):e}const Da={all:Object(u.__)("All"),top:Object(u.__)("Top"),bottom:Object(u.__)("Bottom"),left:Object(u.__)("Left"),right:Object(u.__)("Right"),mixed:Object(u.__)("Mixed")},Ma={top:null,right:null,bottom:null,left:null},Ia={top:!1,right:!1,bottom:!1,left:!1};function Ta(e={}){const t=Object.values(e).map(e=>ua(e)),n=t.map(e=>e[0]),r=t.map(e=>e[1]),o=n.every(e=>e===n[0])?n[0]:"",a=(i=r).sort((e,t)=>i.filter(t=>t===e).length-i.filter(e=>e===t).length).pop();var i;return Object(s.isNumber)(o)?`${o}${a}`:null}function Ra(e={}){const t=Ta(e);return isNaN(parseFloat(t))}function Aa(e){return void 0!==e&&!Object(s.isEmpty)(Object.values(e).filter(e=>!!e&&/\d/.test(e)))}function Na({onChange:e=s.noop,onFocus:t=s.noop,onHoverOn:n=s.noop,onHoverOff:r=s.noop,values:o,sides:c,...l}){const u=Ta(o),d=Aa(o)&&Ra(o),f=d?Da.mixed:null;return Object(i.createElement)(Ca,Object(a.a)({},l,{disableUnits:d,isOnly:!0,value:u,onChange:t=>{const n={...o};(null!=c&&c.length?c:["top","right","bottom","left"]).forEach(e=>n[e]=t),e(n)},onFocus:e=>{t(e,{side:"all"})},onHoverOn:()=>{n({top:!0,bottom:!0,left:!0,right:!0})},onHoverOff:()=>{r({top:!1,bottom:!1,left:!1,right:!1})},placeholder:f}))}const La=["top","right","bottom","left"];function Fa({onChange:e=s.noop,onFocus:t=s.noop,onHoverOn:n=s.noop,onHoverOff:r=s.noop,values:o,sides:c,...l}){const u=e=>n=>{t(n,{side:e})},d=e=>()=>{n({[e]:!0})},f=e=>()=>{r({[e]:!1})},p=t=>(n,{event:r})=>{const{altKey:a}=r,i={...o};if(i[t]=n,a)switch(t){case"top":i.bottom=n;break;case"bottom":i.top=n;break;case"left":i.right=n;break;case"right":i.left=n}(t=>{e(t)})(i)},h=null!=c&&c.length?La.filter(e=>c.includes(e)):La,b=h[0],m=h[h.length-1],g=b===m&&b;return Object(i.createElement)(ja,{className:"component-box-control__input-controls-wrapper"},Object(i.createElement)(_a,{gap:0,align:"top",className:"component-box-control__input-controls"},h.map(e=>Object(i.createElement)(Ca,Object(a.a)({},l,{isFirst:b===e,isLast:m===e,isOnly:g===e,value:o[e],onChange:p(e),onFocus:u(e),onHoverOn:d(e),onHoverOff:f(e),label:Da[e],key:"box-control-"+e})))))}const za=W("span",{target:"eaw9yqk0",label:"Root"})({name:"1qtciqq",styles:"box-sizing:border-box;display:block;width:24px;height:24px;position:relative;padding:4px;"}),Ba=W("span",{target:"eaw9yqk1",label:"Viewbox"})({name:"be7uli",styles:"box-sizing:border-box;display:block;position:relative;width:100%;height:100%;"}),Ha=W("span",{target:"eaw9yqk2",label:"Stroke"})("box-sizing:border-box;display:block;pointer-events:none;position:absolute;",({isFocused:e})=>A({backgroundColor:"currentColor",opacity:e?1:.3},""),";"),Va=W(Ha,{target:"eaw9yqk3",label:"VerticalStroke"})({name:"r820ty",styles:"bottom:3px;top:3px;width:2px;"}),Wa=W(Ha,{target:"eaw9yqk4",label:"HorizontalStroke"})({name:"1gteeqa",styles:"height:2px;left:3px;right:3px;"}),Ka=W(Wa,{target:"eaw9yqk5",label:"TopStroke"})({name:"1etxbbi",styles:"top:0;"}),Ua=W(Va,{target:"eaw9yqk6",label:"RightStroke"})({name:"19zs6va",styles:"right:0;"}),Ga=W(Wa,{target:"eaw9yqk7",label:"BottomStroke"})({name:"lh0t43",styles:"bottom:0;"}),qa=W(Va,{target:"eaw9yqk8",label:"LeftStroke"})({name:"260zpl",styles:"left:0;"});function $a({size:e=24,side:t="all",sides:n,...r}){const o=e=>!(e=>(null==n?void 0:n.length)&&!n.includes(e))(e)&&("all"===t||t===e),s=o("top"),c=o("right"),l=o("bottom"),u=o("left"),d=e/24;return Object(i.createElement)(za,Object(a.a)({style:{transform:`scale(${d})`}},r),Object(i.createElement)(Ba,null,Object(i.createElement)(Ka,{isFocused:s}),Object(i.createElement)(Ua,{isFocused:c}),Object(i.createElement)(Ga,{isFocused:l}),Object(i.createElement)(qa,{isFocused:u})))}var Ya=n("Bpkj"),Za=n("Mp0b");function Xa({isLinked:e,...t}){const n=e?Object(u.__)("Unlink Sides"):Object(u.__)("Link Sides");return Object(i.createElement)(p.a,{text:n},Object(i.createElement)("span",null,Object(i.createElement)(Uo.a,Object(a.a)({},t,{className:"component-box-control__linked-button",isPrimary:e,isSecondary:!e,isSmall:!0,icon:e?Ya.a:Za.a,iconSize:16,"aria-label":n}))))}var Ja={name:"tbck19",styles:"bottom:0;left:0;pointer-events:none;position:absolute;right:0;top:0;z-index:1;"};const Qa=W("div",{target:"e1df9b4q0",label:"Container"})("box-sizing:border-box;position:relative;",({isPositionAbsolute:e})=>e?Ja:"",";"),ei=W("div",{target:"e1df9b4q1",label:"Side"})("box-sizing:border-box;background:",re.blue.wordpress[700],";background:",re.ui.theme,";filter:brightness( 1 );opacity:0;position:absolute;pointer-events:none;transition:opacity 120ms linear;z-index:1;",({isActive:e})=>e&&"\n\t\topacity: 0.3;\n\t",""),ti=W(ei,{target:"e1df9b4q2",label:"TopView"})({name:"1pb21am",styles:"top:0;left:0;right:0;"}),ni=W(ei,{target:"e1df9b4q3",label:"RightView"})("top:0;bottom:0;",In({right:0}),";"),ri=W(ei,{target:"e1df9b4q4",label:"BottomView"})({name:"w87m56",styles:"bottom:0;left:0;right:0;"}),oi=W(ei,{target:"e1df9b4q5",label:"LeftView"})("top:0;bottom:0;",In({left:0}),";");function ai({showValues:e=Ia,values:t}){const{top:n,right:r,bottom:o,left:a}=t;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(ii,{isVisible:e.top,value:n}),Object(i.createElement)(si,{isVisible:e.right,value:r}),Object(i.createElement)(ci,{isVisible:e.bottom,value:o}),Object(i.createElement)(li,{isVisible:e.left,value:a}))}function ii({isVisible:e=!1,value:t}){const n=t,r=ui(n).isActive||e;return Object(i.createElement)(ti,{isActive:r,style:{height:n}})}function si({isVisible:e=!1,value:t}){const n=t,r=ui(n).isActive||e;return Object(i.createElement)(ni,{isActive:r,style:{width:n}})}function ci({isVisible:e=!1,value:t}){const n=t,r=ui(n).isActive||e;return Object(i.createElement)(ri,{isActive:r,style:{height:n}})}function li({isVisible:e=!1,value:t}){const n=t,r=ui(n).isActive||e;return Object(i.createElement)(oi,{isActive:r,style:{width:n}})}function ui(e){const[t,n]=Object(i.useState)(!1),r=Object(i.useRef)(e),o=Object(i.useRef)(),a=()=>{o.current&&window.clearTimeout(o.current)};return Object(i.useEffect)(()=>(e!==r.current&&(n(!0),r.current=e,a(),o.current=setTimeout(()=>{n(!1)},400)),()=>a()),[e]),{isActive:t}}const di={min:0};function fi({id:e,inputProps:t=di,onChange:n=s.noop,onChangeShowVisualizer:r=s.noop,label:o=Object(u.__)("Box Control"),values:c,units:l,sides:f,resetValues:p=Ma}){const[h,b]=ba(c,{fallback:Ma}),m=h||Ma,g=Aa(c),v=1===(null==f?void 0:f.length),[y,O]=Object(i.useState)(g),[j,_]=Object(i.useState)(!g||!Ra(m)||v),[w,k]=Object(i.useState)(j?"all":"top"),x=function(e){const t=Object(d.useInstanceId)(fi,"inspector-box-control");return e||t}(e),E=x+"-heading",S={...t,onChange:e=>{n(e),b(e),O(!0)},onFocus:(e,{side:t})=>{k(t)},onHoverOn:(e={})=>{r({...Ia,...e})},onHoverOff:(e={})=>{r({...Ia,...e})},isLinked:j,units:l,sides:f,values:m};return Object(i.createElement)(ga,{id:x,role:"region","aria-labelledby":E},Object(i.createElement)(va,{className:"component-box-control__header"},Object(i.createElement)(Vt,null,Object(i.createElement)(En,{id:E,className:"component-box-control__label"},o)),Object(i.createElement)(Vt,null,Object(i.createElement)(Uo.a,{className:"component-box-control__reset-button",isSecondary:!0,isSmall:!0,onClick:()=>{n(p),b(p),O(!1)},disabled:!y},Object(u.__)("Reset")))),Object(i.createElement)(ya,{className:"component-box-control__header-control-wrapper"},Object(i.createElement)(Vt,null,Object(i.createElement)($a,{side:w,sides:f})),j&&Object(i.createElement)(Ht,null,Object(i.createElement)(Na,Object(a.a)({"aria-label":o},S))),!v&&Object(i.createElement)(Vt,null,Object(i.createElement)(Xa,{onClick:()=>{_(!j),k(j?"top":"all")},isLinked:j}))),!j&&Object(i.createElement)(Fa,S))}fi.__Visualizer=function({children:e,showValues:t=Ia,values:n=Ma,...r}){const o=!e;return Object(i.createElement)(Qa,Object(a.a)({},r,{isPositionAbsolute:o,"aria-hidden":"true"}),Object(i.createElement)(ai,{showValues:t,values:n}),e)};var pi=Object(i.forwardRef)((function({className:e,...t},n){const r=l()("components-button-group",e);return Object(i.createElement)("div",Object(a.a)({ref:n,role:"group",className:r},t))}));const hi=Object(i.createContext)({}),bi=()=>Object(i.useContext)(hi),mi={borderColor:re.lightGray[500],borderRadius:"3px",backgroundShady:re.lightGray[200]},{borderColor:gi,borderRadius:vi,backgroundShady:yi}=mi,Oi=W("div",{target:"e1q7k77g0",label:"CardUI"})("background:",re.white,";box-sizing:border-box;border-radius:",vi,";border:1px solid ",gi,";",Si,";&.is-elevated{box-shadow:0px 1px 3px 0px rgba( 0,0,0,0.2 ),0px 1px 1px 0px rgba( 0,0,0,0.14 ),0px 2px 1px -1px rgba( 0,0,0,0.12 );}"),ji=W(Zt,{target:"e1q7k77g1",label:"HeaderUI"})("border-bottom:1px solid ",gi,";border-top-left-radius:",vi,";border-top-right-radius:",vi,";box-sizing:border-box;&:last-child{border-bottom:none;}",Ei,";",Si,";",Ci,";"),_i=W("div",{target:"e1q7k77g2",label:"MediaUI"})("box-sizing:border-box;overflow:hidden;& > img,& > iframe{display:block;height:auto;max-width:100%;width:100%;}&:first-of-type{border-top-left-radius:",vi,";border-top-right-radius:",vi,";}&:last-of-type{border-bottom-left-radius:",vi,";border-bottom-right-radius:",vi,";}"),wi=W("div",{target:"e1q7k77g3",label:"BodyUI"})("box-sizing:border-box;",(function(){return`\n\t\t&.is-size {\n\t\t\t&-large {\n\t\t\t\tpadding: ${jt(3)} ${jt(4)};\n\t\t\t}\n\t\t\t&-medium {\n\t\t\t\tpadding: ${jt(2)} ${jt(3)};\n\t\t\t}\n\t\t\t&-small {\n\t\t\t\tpadding: ${jt(2)};\n\t\t\t}\n\t\t\t&-extraSmall {\n\t\t\t\tpadding: ${jt(1)};\n\t\t\t}\n\t\t}\n\t`}),";",Ci,";"),ki=W(Zt,{target:"e1q7k77g4",label:"FooterUI"})("border-top:1px solid ",gi,";border-bottom-left-radius:",vi,";border-bottom-right-radius:",vi,";box-sizing:border-box;&:first-of-type{border-top:none;}",Ei,";",Si,";",Ci,";"),xi=W(o.HorizontalRule,{target:"e1q7k77g5",label:"DividerUI"})("all:unset;border-top:1px solid ",gi,";box-sizing:border-box;display:block;height:0;width:100%;");function Ei(){return`\n\t\t&.is-size {\n\t\t\t&-large {\n\t\t\t\tpadding: ${jt(3)} ${jt(4)};\n\t\t\t}\n\t\t\t&-medium {\n\t\t\t\tpadding: ${jt(2)} ${jt(3)};\n\t\t\t}\n\t\t\t&-small {\n\t\t\t\tpadding: ${jt(2)};\n\t\t\t}\n\t\t\t&-extraSmall {\n\t\t\t\tpadding: ${jt(1)};\n\t\t\t}\n\t\t}\n\t`}function Si(){return"\n\t\t&.is-borderless {\n\t\t\tborder: none;\n\t\t}\n\t"}function Ci(){return`\n\t\t&.is-shady {\n\t\t\tbackground: ${yi};\n\t\t}\n\t`}function Pi(e){const{className:t,isBorderless:n,isElevated:r,size:o,...s}=e,{Provider:c}=hi,u={isBorderless:n,isElevated:r,size:o},d=l()("components-card",n&&"is-borderless",r&&"is-elevated",o&&"is-size-"+o,t);return Object(i.createElement)(c,{value:u},Object(i.createElement)(Oi,Object(a.a)({},s,{className:d})))}Pi.defaultProps={isBorderless:!1,isElevated:!1,size:"medium"};var Di=Pi;const Mi={isShady:!1,size:"medium"};var Ii=function(e){const{className:t,isShady:n,...r}=e,o={...Mi,...bi(),...e},{size:s}=o,c=l()("components-card__body",n&&"is-shady",s&&"is-size-"+s,t);return Object(i.createElement)(wi,Object(a.a)({},r,{className:c}))};var Ti=function(e){const{className:t,...n}=e,r=l()("components-card__divider",t);return Object(i.createElement)(xi,Object(a.a)({},n,{children:null,className:r,role:"separator"}))};const Ri={isBorderless:!1,isShady:!1,size:"medium"};var Ai=function(e){const{className:t,isShady:n,...r}=e,o={...Ri,...bi(),...e},{isBorderless:s,size:c}=o,u=l()("components-card__footer",s&&"is-borderless",n&&"is-shady",c&&"is-size-"+c,t);return Object(i.createElement)(ki,Object(a.a)({},r,{className:u}))};const Ni={isBorderless:!1,isShady:!1,size:"medium"};var Li=function(e){const{className:t,isShady:n,...r}=e,o={...Ni,...bi(),...e},{isBorderless:s,size:c}=o,u=l()("components-card__header",s&&"is-borderless",n&&"is-shady",c&&"is-size-"+c,t);return Object(i.createElement)(ji,Object(a.a)({},r,{className:u}))};var Fi=function(e){const{className:t,...n}=e,r=l()("components-card__media",t);return Object(i.createElement)(_i,Object(a.a)({},n,{className:r}))},zi=n("iClF"),Bi=n("RMJe");function Hi({label:e,className:t,heading:n,checked:r,help:o,onChange:s,...c}){n&&Kt()("`heading` prop in `CheckboxControl`",{alternative:"a separate element to implement a heading",plugin:"Gutenberg"});const u="inspector-checkbox-control-"+Object(d.useInstanceId)(Hi);return Object(i.createElement)(St,{label:n,id:u,help:o,className:l()("components-checkbox-control",t)},Object(i.createElement)("span",{className:"components-checkbox-control__input-container"},Object(i.createElement)("input",Object(a.a)({id:u,className:"components-checkbox-control__input",type:"checkbox",value:"1",onChange:e=>s(e.target.checked),checked:r,"aria-describedby":o?u+"__help":void 0},c)),r?Object(i.createElement)(zi.a,{icon:Bi.a,className:"components-checkbox-control__checked",role:"presentation"}):null),Object(i.createElement)("label",{className:"components-checkbox-control__label",htmlFor:u},e))}function Vi({className:e,children:t,onCopy:n,onFinishCopy:r,text:o,...s}){Kt()("wp.components.ClipboardButton",{since:"10.3",plugin:"Gutenberg",alternative:"wp.compose.useCopyToClipboard"});const c=Object(i.useRef)(),u=Object(d.useCopyToClipboard)(o,()=>{n(),clearTimeout(c.current),r&&(c.current=setTimeout(()=>r(),4e3))});Object(i.useEffect)(()=>{clearTimeout(c.current)},[]);const f=l()("components-clipboard-button",e);return Object(i.createElement)(Uo.a,Object(a.a)({},s,{className:f,ref:u,onCopy:e=>{e.target.focus()}}),t)}var Wi=n("B9Az"),Ki=n("w95h"),Ui=n("XgzB"),Gi=n("NWDH"),qi=n("Q4Sy");function $i({renderContent:e,renderToggle:t,position:n="bottom right",className:r,contentClassName:o,expandOnMobile:s,headerTitle:c,focusOnMount:u,popoverProps:d,onClose:f,onToggle:p}){var h;const b=Object(i.useRef)(),[m,g]=function(e,t){const[n,r]=Object(i.useState)(e);return[n,e=>{r(e),t&&t(e)}]}(!1,p);function v(){f&&f(),g(!1)}Object(i.useEffect)(()=>()=>{p&&p(!1)},[]);const y={isOpen:m,onToggle:function(){g(!m)},onClose:v};return Object(i.createElement)("div",{className:l()("components-dropdown",r),ref:b},t(y),m&&Object(i.createElement)(Go.a,Object(a.a)({position:n,onClose:v,onFocusOutside:function(){const{ownerDocument:e}=b.current;b.current.contains(e.activeElement)||e.activeElement.closest('[role="dialog"]')||v()},expandOnMobile:s,headerTitle:c,focusOnMount:u},d,{anchorRef:null!==(h=null==d?void 0:d.anchorRef)&&void 0!==h?h:b.current,className:l()("components-dropdown__content",d?d.className:void 0,o)}),e(y)))}function Yi({actions:e,className:t,options:n,children:r}){return Object(i.createElement)("div",{className:l()("components-circular-option-picker",t)},Object(i.createElement)("div",{className:"components-circular-option-picker__swatches"},n),r,e&&Object(i.createElement)("div",{className:"components-circular-option-picker__custom-clear-wrapper"},e))}function Zi(e={},t=!1){const n=e.hex?U()(e.hex):U()(e),r=n.toHsl();r.h=Math.round(r.h),r.s=Math.round(100*r.s),r.l=Math.round(100*r.l);const o=n.toHsv();o.h=Math.round(o.h),o.s=Math.round(100*o.s),o.v=Math.round(100*o.v);const a=n.toRgb(),i=n.toHex();0===r.s&&(r.h=t||0,o.h=t||0);return{color:n,hex:"000000"===i&&0===a.a?"transparent":"#"+i,hsl:r,hsv:o,oldHue:e.h||t||r.h,rgb:a,source:e.source}}function Xi(e,t){e.preventDefault();const{left:n,top:r,width:o,height:a}=t.getBoundingClientRect(),i="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,s="number"==typeof e.pageY?e.pageY:e.touches[0].pageY;let c=i-(n+window.pageXOffset),l=s-(r+window.pageYOffset);return c<0?c=0:c>o?c=o:l<0?l=0:l>a&&(l=a),{top:l,left:c,width:o,height:a}}function Ji(e){const t="#"===String(e).charAt(0)?1:0;return e.length!==4+t&&e.length<7+t&&U()(e).isValid()}function Qi({target:e,callback:t,shortcut:n,bindGlobal:r,eventName:o}){return Object(d.useKeyboardShortcut)(n,t,{bindGlobal:r,target:e,eventName:o}),null}Yi.Option=function({className:e,isSelected:t,selectedIconProps:n,tooltipText:r,...o}){const s=Object(i.createElement)(Uo.a,Object(a.a)({isPressed:t,className:l()(e,"components-circular-option-picker__option")},o));return Object(i.createElement)("div",{className:"components-circular-option-picker__option-wrapper"},r?Object(i.createElement)(p.a,{text:r},s):s,t&&Object(i.createElement)(zi.a,Object(a.a)({icon:Bi.a},n||{})))},Yi.ButtonAction=function({className:e,children:t,...n}){return Object(i.createElement)(Uo.a,Object(a.a)({className:l()("components-circular-option-picker__clear",e),isSmall:!0,isSecondary:!0},n),t)},Yi.DropdownLinkAction=function({buttonProps:e,className:t,dropdownProps:n,linkText:r}){return Object(i.createElement)($i,Object(a.a)({className:l()("components-circular-option-picker__dropdown-link-action",t),renderToggle:({isOpen:t,onToggle:n})=>Object(i.createElement)(Uo.a,Object(a.a)({"aria-expanded":t,"aria-haspopup":"true",onClick:n,isLink:!0},e),r)},n))};var es=function({children:e,shortcuts:t,bindGlobal:n,eventName:r}){const o=Object(i.useRef)(),a=Object(s.map)(t,(e,t)=>Object(i.createElement)(Qi,{key:t,shortcut:t,callback:e,bindGlobal:n,eventName:r,target:o}));return i.Children.count(e)?Object(i.createElement)("div",{ref:o},a,e):a};class ts extends i.Component{constructor(){super(...arguments),this.container=Object(i.createRef)(),this.increase=this.increase.bind(this),this.decrease=this.decrease.bind(this),this.handleChange=this.handleChange.bind(this),this.handleMouseDown=this.handleMouseDown.bind(this),this.handleMouseUp=this.handleMouseUp.bind(this)}componentWillUnmount(){this.unbindEventListeners()}increase(e=.01){const{hsl:t,onChange:n=s.noop}=this.props;e=parseInt(100*e,10);n({h:t.h,s:t.s,l:t.l,a:(parseInt(100*t.a,10)+e)/100,source:"rgb"})}decrease(e=.01){const{hsl:t,onChange:n=s.noop}=this.props,r=parseInt(100*t.a,10)-parseInt(100*e,10);n({h:t.h,s:t.s,l:t.l,a:t.a<=e?0:r/100,source:"rgb"})}handleChange(e){const{onChange:t=s.noop}=this.props,n=function(e,t,n){const{left:r,width:o}=Xi(e,n),a=r<0?0:Math.round(100*r/o)/100;return t.hsl.a!==a?{h:t.hsl.h,s:t.hsl.s,l:t.hsl.l,a:a,source:"rgb"}:null}(e,this.props,this.container.current);n&&t(n,e)}handleMouseDown(e){this.handleChange(e),window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)}handleMouseUp(){this.unbindEventListeners()}preventKeyEvents(e){e.keyCode!==mo.TAB&&e.preventDefault()}unbindEventListeners(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}render(){const{rgb:e}=this.props,t=`${e.r},${e.g},${e.b}`,n={background:`linear-gradient(to right, rgba(${t}, 0) 0%, rgba(${t}, 1) 100%)`},r={left:100*e.a+"%"},o={up:()=>this.increase(),right:()=>this.increase(),"shift+up":()=>this.increase(.1),"shift+right":()=>this.increase(.1),pageup:()=>this.increase(.1),end:()=>this.increase(1),down:()=>this.decrease(),left:()=>this.decrease(),"shift+down":()=>this.decrease(.1),"shift+left":()=>this.decrease(.1),pagedown:()=>this.decrease(.1),home:()=>this.decrease(1)};return Object(i.createElement)(es,{shortcuts:o},Object(i.createElement)("div",{className:"components-color-picker__alpha"},Object(i.createElement)("div",{className:"components-color-picker__alpha-gradient",style:n}),Object(i.createElement)("div",{className:"components-color-picker__alpha-bar",ref:this.container,onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},Object(i.createElement)("div",{tabIndex:"0",role:"slider","aria-valuemax":"1","aria-valuemin":"0","aria-valuenow":e.a,"aria-orientation":"horizontal","aria-label":Object(u.__)("Alpha value, from 0 (transparent) to 1 (fully opaque)."),className:"components-color-picker__alpha-pointer",style:r,onKeyDown:this.preventKeyEvents}))))}}var ns=Object(d.pure)(ts);class rs extends i.Component{constructor(){super(...arguments),this.container=Object(i.createRef)(),this.increase=this.increase.bind(this),this.decrease=this.decrease.bind(this),this.handleChange=this.handleChange.bind(this),this.handleMouseDown=this.handleMouseDown.bind(this),this.handleMouseUp=this.handleMouseUp.bind(this)}componentWillUnmount(){this.unbindEventListeners()}increase(e=1){const{hsl:t,onChange:n=s.noop}=this.props;n({h:t.h+e>=359?359:t.h+e,s:t.s,l:t.l,a:t.a,source:"rgb"})}decrease(e=1){const{hsl:t,onChange:n=s.noop}=this.props;n({h:t.h<=e?0:t.h-e,s:t.s,l:t.l,a:t.a,source:"rgb"})}handleChange(e){const{onChange:t=s.noop}=this.props,n=function(e,t,n){const{left:r,width:o}=Xi(e,n),a=r>=o?359:360*(100*r/o)/100;return t.hsl.h!==a?{h:a,s:t.hsl.s,l:t.hsl.l,a:t.hsl.a,source:"rgb"}:null}(e,this.props,this.container.current);n&&t(n,e)}handleMouseDown(e){this.handleChange(e),window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)}handleMouseUp(){this.unbindEventListeners()}preventKeyEvents(e){e.keyCode!==mo.TAB&&e.preventDefault()}unbindEventListeners(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}render(){const{hsl:e={},instanceId:t}=this.props,n={left:100*e.h/360+"%"},r={up:()=>this.increase(),right:()=>this.increase(),"shift+up":()=>this.increase(10),"shift+right":()=>this.increase(10),pageup:()=>this.increase(10),end:()=>this.increase(359),down:()=>this.decrease(),left:()=>this.decrease(),"shift+down":()=>this.decrease(10),"shift+left":()=>this.decrease(10),pagedown:()=>this.decrease(10),home:()=>this.decrease(359)};return Object(i.createElement)(es,{shortcuts:r},Object(i.createElement)("div",{className:"components-color-picker__hue"},Object(i.createElement)("div",{className:"components-color-picker__hue-gradient"}),Object(i.createElement)("div",{className:"components-color-picker__hue-bar",ref:this.container,onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},Object(i.createElement)("div",{tabIndex:"0",role:"slider","aria-valuemax":"1","aria-valuemin":"359","aria-valuenow":e.h,"aria-orientation":"horizontal","aria-label":Object(u.__)("Hue value in degrees, from 0 to 359."),"aria-describedby":"components-color-picker__hue-description-"+t,className:"components-color-picker__hue-pointer",style:n,onKeyDown:this.preventKeyEvents}),Object(i.createElement)(h.a,{as:"p",id:"components-color-picker__hue-description-"+t},Object(u.__)("Move the arrow left or right to change hue.")))))}}var os=Object(d.compose)(d.pure,d.withInstanceId)(rs);var as=Object(i.forwardRef)((function e({label:t,hideLabelFromVision:n,value:r,help:o,className:s,onChange:c,type:l="text",...u},f){const p="inspector-text-control-"+Object(d.useInstanceId)(e);return Object(i.createElement)(St,{label:t,hideLabelFromVision:n,id:p,help:o,className:s},Object(i.createElement)("input",Object(a.a)({className:"components-text-control__input",type:l,id:p,value:r,onChange:e=>c(e.target.value),"aria-describedby":o?p+"__help":void 0,ref:f},u)))}));class is extends i.Component{constructor(){super(...arguments),this.handleBlur=this.handleBlur.bind(this),this.handleChange=this.handleChange.bind(this),this.handleKeyDown=this.handleKeyDown.bind(this)}handleBlur(){const{value:e,valueKey:t,onChange:n,source:r}=this.props;n({source:r,state:"commit",value:e,valueKey:t})}handleChange(e){const{valueKey:t,onChange:n,source:r}=this.props;e.length>4&&Ji(e)?n({source:r,state:"commit",value:e,valueKey:t}):n({source:r,state:"draft",value:e,valueKey:t})}handleKeyDown({keyCode:e}){if(e!==mo.ENTER&&e!==mo.UP&&e!==mo.DOWN)return;const{value:t,valueKey:n,onChange:r,source:o}=this.props;r({source:o,state:"commit",value:t,valueKey:n})}render(){const{label:e,value:t,...n}=this.props;return Object(i.createElement)(as,Object(a.a)({className:"components-color-picker__inputs-field",label:e,value:t,onChange:e=>this.handleChange(e),onBlur:this.handleBlur,onKeyDown:this.handleKeyDown},Object(s.omit)(n,["onChange","valueKey","source"])))}}const ss=Object(d.pure)(Uo.a);class cs extends i.Component{constructor({hsl:e}){super(...arguments);const t=1===e.a?"hex":"rgb";this.state={view:t},this.toggleViews=this.toggleViews.bind(this),this.resetDraftValues=this.resetDraftValues.bind(this),this.handleChange=this.handleChange.bind(this),this.normalizeValue=this.normalizeValue.bind(this)}static getDerivedStateFromProps(e,t){return 1!==e.hsl.a&&"hex"===t.view?{view:"rgb"}:null}toggleViews(){"hex"===this.state.view?(this.setState({view:"rgb"},this.resetDraftValues),Object(Ko.speak)(Object(u.__)("RGB mode active"))):"rgb"===this.state.view?(this.setState({view:"hsl"},this.resetDraftValues),Object(Ko.speak)(Object(u.__)("Hue/saturation/lightness mode active"))):"hsl"===this.state.view&&(1===this.props.hsl.a?(this.setState({view:"hex"},this.resetDraftValues),Object(Ko.speak)(Object(u.__)("Hex color mode active"))):(this.setState({view:"rgb"},this.resetDraftValues),Object(Ko.speak)(Object(u.__)("RGB mode active"))))}resetDraftValues(){return this.props.onChange({state:"reset"})}normalizeValue(e,t){return"a"!==e?t:t<0?0:t>1?1:Math.round(100*t)/100}handleChange({source:e,state:t,value:n,valueKey:r}){this.props.onChange({source:e,state:t,valueKey:r,value:this.normalizeValue(r,n)})}renderFields(){const{disableAlpha:e=!1}=this.props;if("hex"===this.state.view)return Object(i.createElement)("div",{className:"components-color-picker__inputs-fields"},Object(i.createElement)(is,{source:this.state.view,label:Object(u.__)("Color value in hexadecimal"),valueKey:"hex",value:this.props.hex,onChange:this.handleChange}));if("rgb"===this.state.view){const t=e?Object(u.__)("Color value in RGB"):Object(u.__)("Color value in RGBA");return Object(i.createElement)("fieldset",null,Object(i.createElement)(h.a,{as:"legend"},t),Object(i.createElement)("div",{className:"components-color-picker__inputs-fields"},Object(i.createElement)(is,{source:this.state.view,label:"r",valueKey:"r",value:this.props.rgb.r,onChange:this.handleChange,type:"number",min:"0",max:"255"}),Object(i.createElement)(is,{source:this.state.view,label:"g",valueKey:"g",value:this.props.rgb.g,onChange:this.handleChange,type:"number",min:"0",max:"255"}),Object(i.createElement)(is,{source:this.state.view,label:"b",valueKey:"b",value:this.props.rgb.b,onChange:this.handleChange,type:"number",min:"0",max:"255"}),e?null:Object(i.createElement)(is,{source:this.state.view,label:"a",valueKey:"a",value:this.props.rgb.a,onChange:this.handleChange,type:"number",min:"0",max:"1",step:"0.01"})))}if("hsl"===this.state.view){const t=e?Object(u.__)("Color value in HSL"):Object(u.__)("Color value in HSLA");return Object(i.createElement)("fieldset",null,Object(i.createElement)(h.a,{as:"legend"},t),Object(i.createElement)("div",{className:"components-color-picker__inputs-fields"},Object(i.createElement)(is,{source:this.state.view,label:"h",valueKey:"h",value:this.props.hsl.h,onChange:this.handleChange,type:"number",min:"0",max:"359"}),Object(i.createElement)(is,{source:this.state.view,label:"s",valueKey:"s",value:this.props.hsl.s,onChange:this.handleChange,type:"number",min:"0",max:"100"}),Object(i.createElement)(is,{source:this.state.view,label:"l",valueKey:"l",value:this.props.hsl.l,onChange:this.handleChange,type:"number",min:"0",max:"100"}),e?null:Object(i.createElement)(is,{source:this.state.view,label:"a",valueKey:"a",value:this.props.hsl.a,onChange:this.handleChange,type:"number",min:"0",max:"1",step:"0.05"})))}}render(){return Object(i.createElement)("div",{className:"components-color-picker__inputs-wrapper"},this.renderFields(),Object(i.createElement)("div",{className:"components-color-picker__inputs-toggle-wrapper"},Object(i.createElement)(ss,{className:"components-color-picker__inputs-toggle",icon:Gi.a,label:Object(u.__)("Change color format"),onClick:this.toggleViews})))}}var ls=cs;class us extends i.Component{constructor(e){super(e),this.throttle=Object(s.throttle)((e,t,n)=>{e(t,n)},50),this.container=Object(i.createRef)(),this.saturate=this.saturate.bind(this),this.brighten=this.brighten.bind(this),this.handleChange=this.handleChange.bind(this),this.handleMouseDown=this.handleMouseDown.bind(this),this.handleMouseUp=this.handleMouseUp.bind(this)}componentWillUnmount(){this.throttle.cancel(),this.unbindEventListeners()}saturate(e=.01){const{hsv:t,onChange:n=s.noop}=this.props,r=Object(s.clamp)(t.s+Math.round(100*e),0,100);n({h:t.h,s:r,v:t.v,a:t.a,source:"rgb"})}brighten(e=.01){const{hsv:t,onChange:n=s.noop}=this.props,r=Object(s.clamp)(t.v+Math.round(100*e),0,100);n({h:t.h,s:t.s,v:r,a:t.a,source:"rgb"})}handleChange(e){const{onChange:t=s.noop}=this.props,n=function(e,t,n){const{top:r,left:o,width:a,height:i}=Xi(e,n),s=o<0?0:100*o/a;let c=r>=i?0:-100*r/i+100;return c<1&&(c=0),{h:t.hsl.h,s:s,v:c,a:t.hsl.a,source:"rgb"}}(e,this.props,this.container.current);this.throttle(t,n,e)}handleMouseDown(e){this.handleChange(e),window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)}handleMouseUp(){this.unbindEventListeners()}preventKeyEvents(e){e.keyCode!==mo.TAB&&e.preventDefault()}unbindEventListeners(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}render(){const{hsv:e,hsl:t,instanceId:n}=this.props,r={top:100-e.v+"%",left:e.s+"%"},o={up:()=>this.brighten(),"shift+up":()=>this.brighten(.1),pageup:()=>this.brighten(1),down:()=>this.brighten(-.01),"shift+down":()=>this.brighten(-.1),pagedown:()=>this.brighten(-1),right:()=>this.saturate(),"shift+right":()=>this.saturate(.1),end:()=>this.saturate(1),left:()=>this.saturate(-.01),"shift+left":()=>this.saturate(-.1),home:()=>this.saturate(-1)};return Object(i.createElement)(es,{shortcuts:o},Object(i.createElement)("div",{style:{background:`hsl(${t.h},100%, 50%)`},className:"components-color-picker__saturation-color",ref:this.container,onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange,role:"application"},Object(i.createElement)("div",{className:"components-color-picker__saturation-white"}),Object(i.createElement)("div",{className:"components-color-picker__saturation-black"}),Object(i.createElement)(Uo.a,{"aria-label":Object(u.__)("Choose a shade"),"aria-describedby":"color-picker-saturation-"+n,className:"components-color-picker__saturation-pointer",style:r,onKeyDown:this.preventKeyEvents}),Object(i.createElement)(h.a,{id:"color-picker-saturation-"+n},Object(u.__)("Use your arrow keys to change the base color. Move up to lighten the color, down to darken, left to decrease saturation, and right to increase saturation."))))}}var ds=Object(d.compose)(d.pure,d.withInstanceId)(us);const fs=e=>String(e).toLowerCase(),ps=e=>e.hex?Ji(e.hex):function(e){let t=0,n=0;return Object(s.each)(["r","g","b","a","h","s","l","v"],r=>{e[r]&&(t+=1,isNaN(e[r])||(n+=1))}),t===n&&e}(e),hs=(e,{source:t,valueKey:n,value:r})=>"hex"===t?{source:t,[t]:r}:{source:t,...e[t],[n]:r};class bs extends i.Component{constructor({color:e="0071a1"}){super(...arguments);const t=Zi(e);this.state={...t,draftHex:fs(t.hex),draftRgb:t.rgb,draftHsl:t.hsl},this.commitValues=this.commitValues.bind(this),this.setDraftValues=this.setDraftValues.bind(this),this.resetDraftValues=this.resetDraftValues.bind(this),this.handleInputChange=this.handleInputChange.bind(this)}commitValues(e){const{oldHue:t,onChangeComplete:n=s.noop}=this.props;if(ps(e)){const r=Zi(e,e.h||t);this.setState({...r,draftHex:fs(r.hex),draftHsl:r.hsl,draftRgb:r.rgb},Object(s.debounce)(Object(s.partial)(n,r),100))}}resetDraftValues(){this.setState({draftHex:this.state.hex,draftHsl:this.state.hsl,draftRgb:this.state.rgb})}setDraftValues(e){switch(e.source){case"hex":this.setState({draftHex:fs(e.hex)});break;case"rgb":this.setState({draftRgb:e});break;case"hsl":this.setState({draftHsl:e})}}handleInputChange(e){switch(e.state){case"reset":this.resetDraftValues();break;case"commit":const t=hs(this.state,e);(e=>"hex"===e.source&&void 0===e.hex||("hsl"===e.source&&(void 0===e.h||void 0===e.s||void 0===e.l)||!("rgb"!==e.source||void 0!==e.r&&void 0!==e.g&&void 0!==e.b||void 0!==e.h&&void 0!==e.s&&void 0!==e.v&&void 0!==e.a||void 0!==e.h&&void 0!==e.s&&void 0!==e.l&&void 0!==e.a)))(t)||this.commitValues(t);break;case"draft":this.setDraftValues(hs(this.state,e))}}render(){const{className:e,disableAlpha:t}=this.props,{color:n,hsl:r,hsv:o,rgb:a,draftHex:s,draftHsl:c,draftRgb:u}=this.state,d=l()(e,{"components-color-picker":!0,"is-alpha-disabled":t,"is-alpha-enabled":!t});return Object(i.createElement)("div",{className:d},Object(i.createElement)("div",{className:"components-color-picker__saturation"},Object(i.createElement)(ds,{hsl:r,hsv:o,onChange:this.commitValues})),Object(i.createElement)("div",{className:"components-color-picker__body"},Object(i.createElement)("div",{className:"components-color-picker__controls"},Object(i.createElement)("div",{className:"components-color-picker__swatch"},Object(i.createElement)("div",{className:"components-color-picker__active",style:{backgroundColor:n&&n.toRgbString()}})),Object(i.createElement)("div",{className:"components-color-picker__toggles"},Object(i.createElement)(os,{hsl:r,onChange:this.commitValues}),t?null:Object(i.createElement)(ns,{rgb:a,hsl:r,onChange:this.commitValues}))),Object(i.createElement)(ls,{rgb:u,hsl:c,hex:s,onChange:this.handleInputChange,disableAlpha:t})))}}function ms({shouldOpen:e,isOpen:t,onToggle:n}){return Object(i.useEffect)(()=>{e&&!t&&n()},[]),null}function gs({color:e,name:t,slug:n,onChange:r,onRemove:o,onConfirm:a,confirmLabel:c=Object(u.__)("OK"),isEditingNameOnMount:d=!1,isEditingColorOnMount:f=!1,onCancel:p,immutableColorSlugs:h=[]}){const[b,m]=Object(i.useState)(!1),[g,v]=Object(i.useState)(!1),[y,O]=Object(i.useState)(d),[j,_]=Object(i.useState)(!1),w=(b||g||y||j)&&!h.includes(n);return Object(i.createElement)("div",{tabIndex:0,className:l()("components-color-edit__color-option",{"is-hover":b&&!y&&!j}),onMouseEnter:()=>m(!0),onMouseLeave:()=>m(!1),onFocus:()=>v(!0),onBlur:()=>v(!1),"aria-label":t?Object(u.sprintf)(Object(u.__)("Color: %s"),t):Object(u.sprintf)(Object(u.__)("Color code: %s"),e)},Object(i.createElement)("div",{className:"components-color-edit__color-option-main-area"},Object(i.createElement)($i,{renderToggle:({isOpen:t,onToggle:n})=>Object(i.createElement)(i.Fragment,null,Object(i.createElement)(ms,{shouldOpen:f,isOpen:t,onToggle:n}),Object(i.createElement)(Yi.Option,{style:{backgroundColor:e,color:e},"aria-expanded":t,"aria-haspopup":"true",onClick:n,"aria-label":Object(u.__)("Edit color value")})),renderContent:()=>Object(i.createElement)(bs,{color:e,onChangeComplete:e=>r({color:e.hex,slug:n,name:t}),disableAlpha:!0})}),!y&&Object(i.createElement)("div",{className:"components-color-edit__color-option-color-name"},t),y&&Object(i.createElement)(i.Fragment,null,Object(i.createElement)(as,{className:"components-color-edit__color-option-color-name-input",hideLabelFromVision:!0,onChange:t=>r({color:e,slug:Object(s.kebabCase)(t),name:t}),label:Object(u.__)("Color name"),placeholder:Object(u.__)("Name"),value:t}),Object(i.createElement)(Uo.a,{onClick:()=>{O(!1),v(!1),a&&a()},isPrimary:!0},c)),!y&&Object(i.createElement)(i.Fragment,null,Object(i.createElement)(Uo.a,{className:l()({"components-color-edit__hidden-control":!w}),icon:Wi.a,label:Object(u.__)("Edit color name"),onClick:()=>O(!0)}),Object(i.createElement)(Uo.a,{className:l()({"components-color-edit__hidden-control":!w}),icon:Ki.a,label:Object(u.__)("Remove color"),onClick:o})),Object(i.createElement)(Uo.a,{className:l()({"components-color-edit__hidden-control":!w}),icon:j?Ui.a:Gi.a,label:Object(u.__)("Additional color settings"),onClick:()=>{j&&v(!1),_(!j)},"aria-expanded":j})),p&&Object(i.createElement)(Uo.a,{className:"components-color-edit__cancel-button",onClick:p},Object(u.__)("Cancel")),j&&Object(i.createElement)(as,{className:"components-color-edit__slug-input",onChange:n=>r({color:e,slug:n,name:t}),label:Object(u.__)("Slug"),value:n}))}function vs({onInsert:e,onCancel:t}){const[n,r]=Object(i.useState)({color:"#fff",name:"",slug:""});return Object(i.createElement)(gs,{color:n.color,name:n.name,slug:n.slug,onChange:r,confirmLabel:Object(u.__)("Save"),onConfirm:()=>e(n),isEditingNameOnMount:!0,isEditingColorOnMount:!0,onCancel:t})}function ys({colors:e,onChange:t,emptyUI:n,immutableColorSlugs:r,canReset:o=!0}){const[a,c]=Object(i.useState)(!1);return Object(i.createElement)(St,null,Object(i.createElement)("fieldset",null,Object(i.createElement)("div",{className:"components-color-edit__label-and-insert-container"},Object(i.createElement)("legend",null,Object(i.createElement)("div",null,Object(i.createElement)(St.VisualLabel,null,Object(u.__)("Color palette")))),!a&&Object(i.createElement)(Uo.a,{onClick:()=>{c(!0)},className:"components-color-edit__insert-button",icon:qi.a})),Object(i.createElement)("div",null,!Object(s.isEmpty)(e)&&e.map((n,o)=>Object(i.createElement)(gs,{key:o,color:n.color,name:n.name,slug:n.slug,immutableColorSlugs:r,onChange:n=>{t(e.map((e,t)=>t===o?n:e))},onRemove:()=>{t(e.filter((e,t)=>t!==o))}})),a&&Object(i.createElement)(vs,{onInsert:n=>{c(!1),t([...e||[],n])},onCancel:()=>c(!1)}),!a&&Object(s.isEmpty)(e)&&n),!!o&&Object(i.createElement)(Uo.a,{isSmall:!0,isSecondary:!0,className:"components-color-edit__reset-button",onClick:()=>t()},Object(u.__)("Reset"))))}var Os=({className:e,colorValue:t,...n})=>Object(i.createElement)("span",Object(a.a)({className:l()("component-color-indicator",e),style:{background:t}},n));function js({clearable:e=!0,className:t,colors:n,disableCustomColors:r=!1,onChange:o,value:a}){const c=Object(i.useCallback)(()=>o(void 0),[o]),l=Object(i.useMemo)(()=>Object(s.map)(n,({color:e,name:t})=>Object(i.createElement)(Yi.Option,{key:e,isSelected:a===e,selectedIconProps:a===e?{fill:U.a.mostReadable(e,["#000","#fff"]).toHexString()}:{},tooltipText:t||Object(u.sprintf)(Object(u.__)("Color code: %s"),e),style:{backgroundColor:e,color:e},onClick:a===e?c:()=>o(e),"aria-label":t?Object(u.sprintf)(Object(u.__)("Color: %s"),t):Object(u.sprintf)(Object(u.__)("Color code: %s"),e)})),[n,a,o,c]);return Object(i.createElement)(Yi,{className:t,options:l,actions:Object(i.createElement)(i.Fragment,null,!r&&Object(i.createElement)(Yi.DropdownLinkAction,{dropdownProps:{renderContent:()=>Object(i.createElement)(bs,{color:a,onChangeComplete:e=>o(e.hex),disableAlpha:!0}),contentClassName:"components-color-palette__picker"},buttonProps:{"aria-label":Object(u.__)("Custom color picker")},linkText:Object(u.__)("Custom color")}),!!e&&Object(i.createElement)(Yi.ButtonAction,{onClick:c},Object(u.__)("Clear")))})}var _s=n("bWcr");class ws extends i.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,...s}=this.props,c=e?e.length+1:0;return Object(i.createElement)("input",Object(a.a)({ref:this.bindInput,id:"components-form-token-input-"+n,type:"text"},s,{value:e||"",onChange:this.onChange,size:c,className:l()(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 ks=ws,xs=n("9Do8"),Es=n.n(xs);class Ss extends i.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.scrollingIntoView=!0,Es()(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(i.createElement)("ul",{ref:this.bindList,className:"components-form-token-field__suggestions-list",id:"components-form-token-suggestions-"+this.props.instanceId,role:"listbox"},Object(s.map)(this.props.suggestions,(e,t)=>{const n=this.computeSuggestionMatch(e),r=l()("components-form-token-field__suggestion",{"is-selected":t===this.props.selectedIndex});return Object(i.createElement)("li",{id:`components-form-token-suggestions-${this.props.instanceId}-${t}`,role:"option",className:r,key:this.props.displayTransform(e),onMouseDown:this.handleMouseDown,onClick:this.handleClick(e),onMouseEnter:this.handleHover(e),"aria-selected":t===this.props.selectedIndex},n?Object(i.createElement)("span",{"aria-label":this.props.displayTransform(e)},n.suggestionBeforeMatch,Object(i.createElement)("strong",{className:"components-form-token-field__suggestion-match"},n.suggestionMatch),n.suggestionAfterMatch):this.props.displayTransform(e))}))}}Ss.defaultProps={match:"",onHover:()=>{},onSelect:()=>{},suggestions:Object.freeze([])};var Cs=Object(d.withSafeTimeout)(Ss),Ps=Object(d.createHigherOrderComponent)(e=>t=>{const[n,r]=Object(i.useState)(),o=Object(i.useCallback)(e=>r(()=>null!=e&&e.handleFocusOutside?e.handleFocusOutside.bind(e):void 0),[]);return Object(i.createElement)("div",Object(d.__experimentalUseFocusOutside)(n),Object(i.createElement)(e,Object(a.a)({ref:o},t)))},"withFocusOutside");const Ds=Ps(class extends i.Component{handleFocusOutside(e){this.props.onFocusOutside(e)}render(){return this.props.children}});var Ms=function e({value:t,label:n,options:r,onChange:o,onFilterValueChange:a=s.noop,hideLabelFromVision:c,help:f,allowReset:p=!0,className:h,messages:b={selected:Object(u.__)("Item selected.")}}){var m;const g=Object(d.useInstanceId)(e),[v,y]=Object(i.useState)(null),[O,j]=Object(i.useState)(!1),[_,w]=Object(i.useState)(""),k=Object(i.useRef)(),x=r.find(e=>e.value===t),E=null!==(m=null==x?void 0:x.label)&&void 0!==m?m:"",S=Object(i.useMemo)(()=>{const e=[],t=[],n=Object(s.deburr)(_.toLocaleLowerCase());return r.forEach(r=>{const o=Object(s.deburr)(r.label).toLocaleLowerCase().indexOf(n);0===o?e.push(r):o>0&&t.push(r)}),e.concat(t)},[_,r,t]),C=e=>{o(e.value),Object(Ko.speak)(b.selected,"assertive"),y(e),w(""),j(!1)},P=(e=1)=>{let t=S.indexOf(v)+e;t<0?t=S.length-1:t>=S.length&&(t=0),y(S[t]),j(!0)};return Object(i.useEffect)(()=>{const e=S.length>0;if(O){const t=e?Object(u.sprintf)(Object(u._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",S.length),S.length):Object(u.__)("No results.");Object(Ko.speak)(t,"polite")}},[S,O]),Object(i.createElement)(Ds,{onFocusOutside:()=>{j(!1)}},Object(i.createElement)(St,{className:l()(h,"components-combobox-control"),tabIndex:"-1",label:n,id:"components-form-token-input-"+g,hideLabelFromVision:c,help:f},Object(i.createElement)("div",{className:"components-combobox-control__suggestions-container",tabIndex:"-1",onKeyDown:e=>{let t=!1;switch(e.keyCode){case mo.ENTER:v&&(C(v),t=!0);break;case mo.UP:P(-1),t=!0;break;case mo.DOWN:P(1),t=!0;break;case mo.ESCAPE:j(!1),y(null),t=!0,e.stopPropagation()}t&&e.preventDefault()}},Object(i.createElement)(Zt,null,Object(i.createElement)(Ht,null,Object(i.createElement)(ks,{className:"components-combobox-control__input",instanceId:g,ref:k,value:O?_:E,"aria-label":E?`${E}, ${n}`:null,onFocus:()=>{j(!0),a(""),w("")},isExpanded:O,selectedSuggestionIndex:S.indexOf(v),onChange:e=>{const t=e.value;w(t),a(t),j(!0)}})),p&&Object(i.createElement)(Vt,null,Object(i.createElement)(Uo.a,{className:"components-combobox-control__reset",icon:_s.a,disabled:!t,onClick:()=>{o(null),k.current.input.focus()},label:Object(u.__)("Reset")}))),O&&Object(i.createElement)(Cs,{instanceId:g,match:{label:_},displayTransform:e=>e.label,suggestions:S,selectedIndex:S.indexOf(v),onHover:y,onSelect:C,scrollIntoView:!0}))))};function Is(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 Ts=n("17x9"),Rs=n.n(Ts);n("cD2C");function As(e){return"object"==typeof e&&null!=e&&1===e.nodeType}function Ns(e,t){return(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e}function Ls(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var n=getComputedStyle(e,null);return Ns(n.overflowY,t)||Ns(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 Fs(e,t,n,r,o,a,i,s){return a<e&&i>t||a>e&&i<t?0:a<=e&&s<=n||i>=t&&s>=n?a-e-r:i>t&&s<n||a<e&&s>n?i-t+o:0}var zs=0;function Bs(){}function Hs(e,t){e&&function(e,t){var n=window,r=t.scrollMode,o=t.block,a=t.inline,i=t.boundary,s=t.skipOverflowHiddenElements,c="function"==typeof i?i:function(e){return e!==i};if(!As(e))throw new TypeError("Invalid target");for(var l=document.scrollingElement||document.documentElement,u=[],d=e;As(d)&&c(d);){if((d=d.parentElement)===l){u.push(d);break}null!=d&&d===document.body&&Ls(d)&&!Ls(document.documentElement)||null!=d&&Ls(d,s)&&u.push(d)}for(var f=n.visualViewport?n.visualViewport.width:innerWidth,p=n.visualViewport?n.visualViewport.height:innerHeight,h=window.scrollX||pageXOffset,b=window.scrollY||pageYOffset,m=e.getBoundingClientRect(),g=m.height,v=m.width,y=m.top,O=m.right,j=m.bottom,_=m.left,w="start"===o||"nearest"===o?y:"end"===o?j:y+g/2,k="center"===a?_+v/2:"end"===a?O:_,x=[],E=0;E<u.length;E++){var S=u[E],C=S.getBoundingClientRect(),P=C.height,D=C.width,M=C.top,I=C.right,T=C.bottom,R=C.left;if("if-needed"===r&&y>=0&&_>=0&&j<=p&&O<=f&&y>=M&&j<=T&&_>=R&&O<=I)return x;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?w:"end"===o?w-p:"nearest"===o?Fs(b,b+p,p,L,z,b+w,b+w+g,g):w-p/2,H="start"===a?k:"center"===a?k-f/2:"end"===a?k-f:Fs(h,h+f,f,N,F,h+k,h+k+v,v),B=Math.max(0,B+b),H=Math.max(0,H+h);else{B="start"===o?w-M-L:"end"===o?w-T+z+W:"nearest"===o?Fs(M,T,P,L,z+W,w,w+g,g):w-(M+P/2)+W/2,H="start"===a?k-R-N:"center"===a?k-(R+D/2)+V/2:"end"===a?k-I+F+V:Fs(R,I,D,N,F+V,k,k+v,v);var K=S.scrollLeft,U=S.scrollTop;w+=U-(B=Math.max(0,Math.min(U+B,S.scrollHeight-P+W))),k+=K-(H=Math.max(0,Math.min(K+H,S.scrollWidth-D+V)))}x.push({el:S,top:B,left:H})}return x}(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 Vs(e,t,n){return e===t||t instanceof n.Node&&e.contains&&e.contains(t)}function Ws(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 Ks(){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 Us(){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 Gs(){return String(zs++)}function qs(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 $s(e,t){return Object.keys(e).reduce((function(n,r){return n[r]=Ys(t,r)?t[r]:e[r],n}),{})}function Ys(e,t){return void 0!==e[t]}function Zs(e){var t=e.key,n=e.keyCode;return n>=37&&n<=40&&0!==t.indexOf("Arrow")?"Arrow"+t:t}function Xs(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 s=Js(e,i,n,r,o);return-1===s?t>=n?-1:t:s}function Js(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 s=t-1;s>=0;s--)if(!r(s).hasAttribute("disabled"))return s;return o?e>0?Js(1,0,n,r,!1):Js(-1,n-1,n,r,!1):-1}function Qs(e,t,n,r){return void 0===r&&(r=!0),t.some((function(t){return t&&(Vs(t,e,n)||r&&Vs(t,n.document.activeElement,n))}))}var ec=Ws((function(e){nc(e).textContent=""}),500);function tc(e,t){var n=nc(t);e&&(n.textContent=e,ec(t))}function nc(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 rc={highlightedIndex:-1,isOpen:!1,selectedItem:null,inputValue:""};function oc(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"+uc(e)+"Change";o[s]&&void 0!==r[e]&&r[e]!==n[e]&&o[s](Object(a.a)({type:i},r))}(r,e,t,n),n[r]!==t[r]&&(i[r]=n[r])})),r.onStateChange&&Object.keys(i).length&&r.onStateChange(Object(a.a)({type:o},i))}var ac=Ws((function(e,t){tc(e(),t)}),200),ic="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?_.useLayoutEffect:_.useEffect;function sc(e){var t=e.id,n=void 0===t?"downshift-"+Gs():t,r=e.labelId,o=e.menuId,a=e.getItemId,i=e.toggleButtonId,s=e.inputId;return Object(_.useRef)({labelId:r||n+"-label",menuId:o||n+"-menu",getItemId:a||function(e){return n+"-item-"+e},toggleButtonId:i||n+"-toggle-button",inputId:s||n+"-input"}).current}function cc(e,t,n){return void 0!==e?e:0===n.length?-1:n.indexOf(t)}function lc(e){return/^\S{1}$/.test(e)}function uc(e){return""+e.slice(0,1).toUpperCase()+e.slice(1)}function dc(e){var t=Object(_.useRef)(e);return t.current=e,t}function fc(e,t,n){var r=Object(_.useRef)(),o=Object(_.useRef)(),i=Object(_.useCallback)((function(t,n){o.current=n,t=$s(t,n.props);var r=e(t,n);return n.props.stateReducer(t,Object(a.a)({},n,{changes:r}))}),[e]),s=Object(_.useReducer)(i,t),c=s[0],l=s[1],u=dc(n),d=Object(_.useCallback)((function(e){return l(Object(a.a)({props:u.current},e))}),[u]),f=o.current;return Object(_.useEffect)((function(){f&&r.current&&r.current!==c&&oc(f,$s(r.current,f.props),c),r.current=c}),[c,n,f]),[c,d]}function pc(e,t,n){var r=fc(e,t,n),o=r[0],a=r[1];return[$s(o,n),a]}var hc={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:Hs,circularNavigation:!1,environment:"undefined"==typeof window?{}:window};function bc(e,t,n){void 0===n&&(n=rc);var r="default"+uc(t);return r in e?e[r]:n[t]}function mc(e,t,n){if(void 0===n&&(n=rc),t in e)return e[t];var r="initial"+uc(t);return r in e?e[r]:bc(e,t,n)}function gc(e){var t=mc(e,"selectedItem"),n=mc(e,"isOpen"),r=mc(e,"highlightedIndex"),o=mc(e,"inputValue");return{highlightedIndex:r<0&&t&&n?e.items.indexOf(t):r,isOpen:n,selectedItem:t,inputValue:o}}function vc(e,t,n,r){var o=e.items,a=e.initialHighlightedIndex,i=e.defaultHighlightedIndex,s=t.selectedItem,c=t.highlightedIndex;return 0===o.length?-1:void 0!==a&&c===a?a:void 0!==i?i:s?0===n?o.indexOf(s):Xs(n,o.indexOf(s),o.length,r,!1):0===n?-1:n<0?o.length-1:0}function yc(e,t,n,r){var o=Object(_.useRef)({isMouseDown:!1,isTouchMove:!1});return Object(_.useEffect)((function(){var a=function(){o.current.isMouseDown=!0},i=function(a){o.current.isMouseDown=!1,e&&!Qs(a.target,t.map((function(e){return e.current})),n)&&r()},s=function(){o.current.isTouchMove=!1},c=function(){o.current.isTouchMove=!0},l=function(a){!e||o.current.isTouchMove||Qs(a.target,t.map((function(e){return e.current})),n,!1)||r()};return n.addEventListener("mousedown",a),n.addEventListener("mouseup",i),n.addEventListener("touchstart",s),n.addEventListener("touchmove",c),n.addEventListener("touchend",l),function(){n.removeEventListener("mousedown",a),n.removeEventListener("mouseup",i),n.removeEventListener("touchstart",s),n.removeEventListener("touchmove",c),n.removeEventListener("touchend",l)}}),[e,n]),o}var Oc=function(){return Bs};function jc(e,t,n){var r=n.isInitialMount,o=n.highlightedIndex,i=n.items,s=n.environment,c=Is(n,["isInitialMount","highlightedIndex","items","environment"]);Object(_.useEffect)((function(){r||ac((function(){return e(Object(a.a)({highlightedIndex:o,highlightedItem:i[o],resultCount:i.length},c))}),s.document)}),t)}function _c(e){var t=e.highlightedIndex,n=e.isOpen,r=e.itemRefs,o=e.getItemNodeFromIndex,a=e.menuElement,i=e.scrollIntoView,s=Object(_.useRef)(!0);return ic((function(){t<0||!n||!Object.keys(r.current).length||(!1===s.current?s.current=!0:i(o(t),a))}),[t]),s}var wc=Bs;function kc(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:vc(i,e,0)};break;case n.FunctionOpenMenu:r={isOpen:!0,highlightedIndex:vc(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:bc(i,"highlightedIndex"),isOpen:bc(i,"isOpen"),selectedItem:bc(i,"selectedItem"),inputValue:bc(i,"inputValue")};break;default:throw new Error("Reducer called without proper action type.")}return Object(a.a)({},e,r)}function xc(e,t,n,r,o){for(var a=e.toLowerCase(),i=0;i<n.length;i++){var s=(i+t+1)%n.length;if(r(n[s]).toLowerCase().startsWith(a)){var c=o(s);if(!c||!c.hasAttribute("disabled"))return s}}return t}Rs.a.array.isRequired,Rs.a.func,Rs.a.func,Rs.a.func,Rs.a.bool,Rs.a.number,Rs.a.number,Rs.a.number,Rs.a.bool,Rs.a.bool,Rs.a.bool,Rs.a.any,Rs.a.any,Rs.a.any,Rs.a.string,Rs.a.string,Rs.a.string,Rs.a.func,Rs.a.string,Rs.a.func,Rs.a.func,Rs.a.func,Rs.a.func,Rs.a.func,Rs.a.shape({addEventListener:Rs.a.func,removeEventListener:Rs.a.func,document:Rs.a.shape({getElementById:Rs.a.func,activeElement:Rs.a.any,body:Rs.a.any})});var Ec=Object(a.a)({},hc,{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.":""}}),Sc=Bs;var Cc=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 Pc(e,t){var n,r=t.type,o=t.props,i=t.shiftKey;switch(r){case 11:n={isOpen:bc(o,"isOpen"),highlightedIndex:bc(o,"highlightedIndex"),selectedItem:o.items[t.index]};break;case 15:var s=t.key,c=""+e.inputValue+s,l=xc(c,e.selectedItem?o.items.indexOf(e.selectedItem):-1,o.items,o.itemToString,t.getItemNodeFromIndex);n=Object(a.a)({inputValue:c},l>=0&&{selectedItem:o.items[l]});break;case 13:n={highlightedIndex:vc(o,e,1,t.getItemNodeFromIndex),isOpen:!0};break;case 14:n={highlightedIndex:vc(o,e,-1,t.getItemNodeFromIndex),isOpen:!0};break;case 5:case 6:n=Object(a.a)({isOpen:bc(o,"isOpen"),highlightedIndex:bc(o,"highlightedIndex")},e.highlightedIndex>=0&&{selectedItem:o.items[e.highlightedIndex]});break;case 3:n={highlightedIndex:Js(1,0,o.items.length,t.getItemNodeFromIndex,!1)};break;case 4:n={highlightedIndex:Js(-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=xc(d,e.highlightedIndex,o.items,o.itemToString,t.getItemNodeFromIndex);n=Object(a.a)({inputValue:d},f>=0&&{highlightedIndex:f});break;case 0:n={highlightedIndex:Xs(i?5:1,e.highlightedIndex,o.items.length,t.getItemNodeFromIndex,o.circularNavigation)};break;case 1:n={highlightedIndex:Xs(i?-5:-1,e.highlightedIndex,o.items.length,t.getItemNodeFromIndex,o.circularNavigation)};break;case 20:n={selectedItem:t.selectedItem};break;default:return kc(e,t,Cc)}return Object(a.a)({},e,n)}function Dc(e){void 0===e&&(e={}),Sc(e,Dc);var t=Object(a.a)({},Ec,e),n=t.items,r=t.scrollIntoView,o=t.environment,i=t.initialIsOpen,s=t.defaultIsOpen,c=t.itemToString,l=t.getA11ySelectionMessage,u=t.getA11yStatusMessage,d=pc(Pc,gc(t),t),f=d[0],p=d[1],h=f.isOpen,b=f.highlightedIndex,m=f.selectedItem,g=f.inputValue,v=Object(_.useRef)(null),y=Object(_.useRef)(null),O=Object(_.useRef)({}),j=Object(_.useRef)(!0),w=Object(_.useRef)(null),k=sc(t),x=Object(_.useRef)(),E=Object(_.useRef)(!0),S=dc({state:f,props:t}),C=Object(_.useCallback)((function(e){return O.current[k.getItemId(e)]}),[k]);jc(u,[h,b,g,n],Object(a.a)({isInitialMount:E.current,previousResultCount:x.current,items:n,environment:o,itemToString:c},f)),jc(l,[m],Object(a.a)({isInitialMount:E.current,previousResultCount:x.current,items:n,environment:o,itemToString:c},f));var P=_c({menuElement:y.current,highlightedIndex:b,isOpen:h,itemRefs:O,scrollIntoView:r,getItemNodeFromIndex:C});Object(_.useEffect)((function(){return w.current=Ws((function(e){e({type:21,inputValue:""})}),500),function(){w.current.cancel()}}),[]),Object(_.useEffect)((function(){g&&w.current(p)}),[p,g]),wc({isInitialMount:E.current,props:t,state:f}),Object(_.useEffect)((function(){E.current?(i||s||h)&&y.current&&y.current.focus():h?y.current&&y.current.focus():o.document.activeElement===y.current&&v.current&&(j.current=!1,v.current.focus())}),[h]),Object(_.useEffect)((function(){E.current||(x.current=n.length)}));var D=yc(h,[y,v],o,(function(){p({type:8})})),M=Oc();Object(_.useEffect)((function(){E.current=!1}),[]),Object(_.useEffect)((function(){h||(O.current={})}),[h]);var I=Object(_.useMemo)((function(){return{ArrowDown:function(e){e.preventDefault(),p({type:13,getItemNodeFromIndex:C,shiftKey:e.shiftKey})},ArrowUp:function(e){e.preventDefault(),p({type:14,getItemNodeFromIndex:C,shiftKey:e.shiftKey})}}}),[p,C]),T=Object(_.useMemo)((function(){return{ArrowDown:function(e){e.preventDefault(),p({type:0,getItemNodeFromIndex:C,shiftKey:e.shiftKey})},ArrowUp:function(e){e.preventDefault(),p({type:1,getItemNodeFromIndex:C,shiftKey:e.shiftKey})},Home:function(e){e.preventDefault(),p({type:3,getItemNodeFromIndex:C})},End:function(e){e.preventDefault(),p({type:4,getItemNodeFromIndex:C})},Escape:function(){p({type:2})},Enter:function(e){e.preventDefault(),p({type:5})}," ":function(e){e.preventDefault(),p({type:6})}}}),[p,C]),R=Object(_.useCallback)((function(){p({type:16})}),[p]),A=Object(_.useCallback)((function(){p({type:18})}),[p]),N=Object(_.useCallback)((function(){p({type:17})}),[p]),L=Object(_.useCallback)((function(e){p({type:19,highlightedIndex:e})}),[p]),F=Object(_.useCallback)((function(e){p({type:20,selectedItem:e})}),[p]),z=Object(_.useCallback)((function(){p({type:22})}),[p]),B=Object(_.useCallback)((function(e){p({type:21,inputValue:e})}),[p]),H=Object(_.useCallback)((function(e){return Object(a.a)({id:k.labelId,htmlFor:k.toggleButtonId},e)}),[k]),V=Object(_.useCallback)((function(e,t){var n,r=void 0===e?{}:e,o=r.onMouseLeave,i=r.refKey,s=void 0===i?"ref":i,c=r.onKeyDown,l=r.onBlur,u=r.ref,d=Is(r,["onMouseLeave","refKey","onKeyDown","onBlur","ref"]),f=(void 0===t?{}:t).suppressRefError,h=void 0!==f&&f,b=S.current.state;return M("getMenuProps",h,s,y),Object(a.a)(((n={})[s]=Us(u,(function(e){y.current=e})),n.id=k.menuId,n.role="listbox",n["aria-labelledby"]=k.labelId,n.tabIndex=-1,n),b.isOpen&&b.highlightedIndex>-1&&{"aria-activedescendant":k.getItemId(b.highlightedIndex)},{onMouseLeave:Ks(o,(function(){p({type:9})})),onKeyDown:Ks(c,(function(e){var t=Zs(e);t&&T[t]?T[t](e):lc(t)&&p({type:7,key:t,getItemNodeFromIndex:C})})),onBlur:Ks(l,(function(){!1!==j.current?!D.current.isMouseDown&&p({type:8}):j.current=!0}))},d)}),[p,S,T,D,M,k,C]);return{getToggleButtonProps:Object(_.useCallback)((function(e,t){var n,r=void 0===e?{}:e,o=r.onClick,i=r.onKeyDown,s=r.refKey,c=void 0===s?"ref":s,l=r.ref,u=Is(r,["onClick","onKeyDown","refKey","ref"]),d=(void 0===t?{}:t).suppressRefError,f=void 0!==d&&d,h=Object(a.a)(((n={})[c]=Us(l,(function(e){v.current=e})),n.id=k.toggleButtonId,n["aria-haspopup"]="listbox",n["aria-expanded"]=S.current.state.isOpen,n["aria-labelledby"]=k.labelId+" "+k.toggleButtonId,n),u);return u.disabled||(h.onClick=Ks(o,(function(){p({type:12})})),h.onKeyDown=Ks(i,(function(e){var t=Zs(e);t&&I[t]?I[t](e):lc(t)&&p({type:15,key:t,getItemNodeFromIndex:C})}))),M("getToggleButtonProps",f,c,v),h}),[p,S,I,M,k,C]),getLabelProps:H,getMenuProps:V,getItemProps:Object(_.useCallback)((function(e){var t,n=void 0===e?{}:e,r=n.item,o=n.index,i=n.onMouseMove,s=n.onClick,c=n.refKey,l=void 0===c?"ref":c,u=n.ref,d=Is(n,["item","index","onMouseMove","onClick","refKey","ref"]),f=S.current,h=f.state,b=f.props,m=cc(o,r,b.items);if(m<0)throw new Error("Pass either item or item index in getItemProps!");var g=Object(a.a)(((t={role:"option","aria-selected":""+(m===h.highlightedIndex),id:k.getItemId(m)})[l]=Us(u,(function(e){e&&(O.current[k.getItemId(m)]=e)})),t),d);return d.disabled||(g.onMouseMove=Ks(i,(function(){o!==h.highlightedIndex&&(P.current=!1,p({type:10,index:o}))})),g.onClick=Ks(s,(function(){p({type:11,index:o})}))),g}),[p,S,P,k]),toggleMenu:R,openMenu:N,closeMenu:A,setHighlightedIndex:L,selectItem:F,reset:z,setInputValue:B,highlightedIndex:b,isOpen:h,selectedItem:m,inputValue:g}}Dc.stateChangeTypes=Cc;Rs.a.array.isRequired,Rs.a.func,Rs.a.func,Rs.a.func,Rs.a.bool,Rs.a.number,Rs.a.number,Rs.a.number,Rs.a.bool,Rs.a.bool,Rs.a.bool,Rs.a.any,Rs.a.any,Rs.a.any,Rs.a.string,Rs.a.string,Rs.a.string,Rs.a.string,Rs.a.string,Rs.a.string,Rs.a.func,Rs.a.string,Rs.a.string,Rs.a.func,Rs.a.func,Rs.a.func,Rs.a.func,Rs.a.func,Rs.a.func,Rs.a.shape({addEventListener:Rs.a.func,removeEventListener:Rs.a.func,document:Rs.a.shape({getElementById:Rs.a.func,activeElement:Rs.a.any,body:Rs.a.any})});Object(a.a)({},hc,{getA11yStatusMessage:qs,circularNavigation:!0});Rs.a.array,Rs.a.array,Rs.a.array,Rs.a.func,Rs.a.func,Rs.a.func,Rs.a.number,Rs.a.number,Rs.a.number,Rs.a.func,Rs.a.func,Rs.a.string,Rs.a.string,Rs.a.shape({addEventListener:Rs.a.func,removeEventListener:Rs.a.func,document:Rs.a.shape({getElementById:Rs.a.func,activeElement:Rs.a.any,body:Rs.a.any})});const Mc=e=>e&&e.name,Ic=({selectedItem:e},{type:t,changes:n,props:{items:r}})=>{switch(t){case Dc.stateChangeTypes.ToggleButtonKeyDownArrowDown:return{selectedItem:r[e?Math.min(r.indexOf(e)+1,r.length-1):0]};case Dc.stateChangeTypes.ToggleButtonKeyDownArrowUp:return{selectedItem:r[e?Math.max(r.indexOf(e)-1,0):r.length-1]};default:return n}};function Tc({className:e,hideLabelFromVision:t,label:n,options:r,onChange:o,value:s}){const{getLabelProps:c,getToggleButtonProps:u,getMenuProps:d,getItemProps:f,isOpen:p,highlightedIndex:b,selectedItem:m}=Dc({initialSelectedItem:r[0],items:r,itemToString:Mc,onSelectedItemChange:o,selectedItem:s,stateReducer:Ic}),g=d({className:"components-custom-select-control__menu","aria-hidden":!p});return g["aria-activedescendant"]&&"downshift-null"===g["aria-activedescendant"].slice(0,"downshift-null".length)&&delete g["aria-activedescendant"],Object(i.createElement)("div",{className:l()("components-custom-select-control",e)},t?Object(i.createElement)(h.a,Object(a.a)({as:"label"},c()),n):Object(i.createElement)("label",c({className:"components-custom-select-control__label"}),n),Object(i.createElement)(Uo.a,u({"aria-label":n,"aria-labelledby":void 0,className:"components-custom-select-control__button",isSmall:!0}),Mc(m),Object(i.createElement)(zi.a,{icon:Gi.a,className:"components-custom-select-control__button-icon"})),Object(i.createElement)("ul",g,p&&r.map((e,t)=>Object(i.createElement)("li",f({item:e,index:t,key:e.key,className:l()(e.className,"components-custom-select-control__item",{"is-highlighted":t===b}),style:e.style}),e.name,e===m&&Object(i.createElement)(zi.a,{icon:Bi.a,className:"components-custom-select-control__item-icon"})))))}var Rc=n("vUUf"),Ac=(n("GG7f"),n("wy2R")),Nc=n.n(Ac),Lc=n("Xtko"),Fc=n.n(Lc);function zc({day:e,events:t=[]}){const n=Object(i.useRef)();return Object(i.useEffect)(()=>{var r;if(null==n||null===(r=n.current)||void 0===r||!r.parentNode)return;const{parentNode:o}=n.current,a=Nc()(e).format("dddd, LL");if(!t.length)return void o.setAttribute("aria-label",a);const i=Object(u.sprintf)(Object(u._n)("%1$s. There is %2$d event.","%1$s. There are %2$d events.",t.length),a,t.length);o.setAttribute("aria-label",i)},[t.length]),Object(i.createElement)("div",{ref:n,className:l()("components-datetime__date__day",{"has-events":null==t?void 0:t.length})},e.format("D"))}class Bc extends i.Component{constructor(){super(...arguments),this.onChangeMoment=this.onChangeMoment.bind(this),this.nodeRef=Object(i.createRef)(),this.onMonthPreviewedHandler=this.onMonthPreviewedHandler.bind(this)}onMonthPreviewedHandler(e){var t;null===(t=this.props)||void 0===t||t.onMonthPreviewed(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?Nc()(t):Nc()(),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?Nc()(e):Nc()()}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(i.createElement)("div",{className:"components-datetime__date",ref:this.nodeRef},Object(i.createElement)(Fc.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(u.isRTL)(),isOutsideRange:e=>t&&t(e.toDate()),onPrevMonthClick:this.onMonthPreviewedHandler,onNextMonthClick:this.onMonthPreviewedHandler,renderDayContents:e=>Object(i.createElement)(zc,{day:e,events:this.getEventsPerDay(e)})}))}}var Hc=Bc,Vc=n("FqII");var Wc=()=>{const{timezone:e}=Object(Vc.__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(u.__)("Coordinated Universal Time"):`(${r}) ${e.string.replace("_"," ")}`;return Object(i.createElement)(p.a,{position:"top center",text:o},Object(i.createElement)("div",{className:"components-datetime__timezone"},r))};function Kc({as:e,value:t,onUpdate:n,...r}){return Object(i.createElement)(e||"input",{key:t,defaultValue:t,onBlur:function(e){const{target:o}=e;if(t===o.value)return;const a=parseInt(o.value,10);!Object(s.isInteger)(a)||void 0!==r.max&&a>r.max||void 0!==r.min&&a<r.min?o.value=t:n(o.name,a)},...r})}var Uc=function({is12Hour:e,currentTime:t,onChange:n}){const[r,o]=Object(i.useState)(()=>Nc()(t).startOf("minutes"));Object(i.useEffect)(()=>{o(t?Nc()(t).startOf("minutes"):Nc()())},[t]);const{day:a,month:s,year:c,minutes:d,hours:f,am:p}=Object(i.useMemo)(()=>({day:r.format("DD"),month:r.format("MM"),year:r.format("YYYY"),minutes:r.format("mm"),hours:r.format(e?"hh":"HH"),am:r.format("H")<=11?"AM":"PM"}),[r,e]);function h(e){o(e),n(e.format("YYYY-MM-DDTHH:mm:ss"))}function b(e,t){h(r.clone()[e](t))}function m(e){return()=>{if(p===e)return;const t=parseInt(f,10);h(r.clone().hours("PM"===e?(t%12+12)%24:t%12))}}const g=Object(i.createElement)("div",{className:"components-datetime__time-field components-datetime__time-field-day"},Object(i.createElement)(Kc,{"aria-label":Object(u.__)("Day"),className:"components-datetime__time-field-day-input",type:"number",name:"date",value:a,step:1,min:1,max:31,onUpdate:b})),v=Object(i.createElement)("div",{className:"components-datetime__time-field components-datetime__time-field-month"},Object(i.createElement)(Kc,{as:"select","aria-label":Object(u.__)("Month"),className:"components-datetime__time-field-month-select",name:"month",value:s,onUpdate:(e,t)=>b(e,t-1)},Object(i.createElement)("option",{value:"01"},Object(u.__)("January")),Object(i.createElement)("option",{value:"02"},Object(u.__)("February")),Object(i.createElement)("option",{value:"03"},Object(u.__)("March")),Object(i.createElement)("option",{value:"04"},Object(u.__)("April")),Object(i.createElement)("option",{value:"05"},Object(u.__)("May")),Object(i.createElement)("option",{value:"06"},Object(u.__)("June")),Object(i.createElement)("option",{value:"07"},Object(u.__)("July")),Object(i.createElement)("option",{value:"08"},Object(u.__)("August")),Object(i.createElement)("option",{value:"09"},Object(u.__)("September")),Object(i.createElement)("option",{value:"10"},Object(u.__)("October")),Object(i.createElement)("option",{value:"11"},Object(u.__)("November")),Object(i.createElement)("option",{value:"12"},Object(u.__)("December")))),y=e?Object(i.createElement)(i.Fragment,null,g,v):Object(i.createElement)(i.Fragment,null,v,g);return Object(i.createElement)("div",{className:l()("components-datetime__time")},Object(i.createElement)("fieldset",null,Object(i.createElement)("legend",{className:"components-datetime__time-legend invisible"},Object(u.__)("Date")),Object(i.createElement)("div",{className:"components-datetime__time-wrapper"},y,Object(i.createElement)("div",{className:"components-datetime__time-field components-datetime__time-field-year"},Object(i.createElement)(Kc,{"aria-label":Object(u.__)("Year"),className:"components-datetime__time-field-year-input",type:"number",name:"year",step:1,min:0,max:9999,value:c,onUpdate:b})))),Object(i.createElement)("fieldset",null,Object(i.createElement)("legend",{className:"components-datetime__time-legend invisible"},Object(u.__)("Time")),Object(i.createElement)("div",{className:"components-datetime__time-wrapper"},Object(i.createElement)("div",{className:"components-datetime__time-field components-datetime__time-field-time"},Object(i.createElement)(Kc,{"aria-label":Object(u.__)("Hours"),className:"components-datetime__time-field-hours-input",type:"number",name:"hours",step:1,min:e?1:0,max:e?12:23,value:f,onUpdate:b}),Object(i.createElement)("span",{className:"components-datetime__time-separator","aria-hidden":"true"},":"),Object(i.createElement)(Kc,{"aria-label":Object(u.__)("Minutes"),className:"components-datetime__time-field-minutes-input",type:"number",name:"minutes",step:1,min:0,max:59,value:d,onUpdate:b})),e&&Object(i.createElement)(pi,{className:"components-datetime__time-field components-datetime__time-field-am-pm"},Object(i.createElement)(Uo.a,{isPrimary:"AM"===p,isSecondary:"AM"!==p,onClick:m("AM"),className:"components-datetime__time-am-button"},Object(u.__)("AM")),Object(i.createElement)(Uo.a,{isPrimary:"PM"===p,isSecondary:"PM"!==p,onClick:m("PM"),className:"components-datetime__time-pm-button"},Object(u.__)("PM"))),Object(i.createElement)(Wc,null))))};var Gc=Object(i.forwardRef)((function({currentDate:e,is12Hour:t,isInvalidDate:n,onMonthPreviewed:r=s.noop,onChange:o,events:a},c){const[l,d]=Object(i.useState)(!1);return Object(i.createElement)("div",{ref:c,className:"components-datetime"},!l&&Object(i.createElement)(i.Fragment,null,Object(i.createElement)(Uc,{currentTime:e,onChange:o,is12Hour:t}),Object(i.createElement)(Hc,{currentDate:e,onChange:o,isInvalidDate:n,events:a,onMonthPreviewed:r})),l&&Object(i.createElement)(i.Fragment,null,Object(i.createElement)("div",{className:"components-datetime__calendar-help"},Object(i.createElement)("h4",null,Object(u.__)("Click to Select")),Object(i.createElement)("ul",null,Object(i.createElement)("li",null,Object(u.__)("Click the right or left arrows to select other months in the past or the future.")),Object(i.createElement)("li",null,Object(u.__)("Click the desired day to select it."))),Object(i.createElement)("h4",null,Object(u.__)("Navigating with a keyboard")),Object(i.createElement)("ul",null,Object(i.createElement)("li",null,Object(i.createElement)("abbr",{"aria-label":Object(u._x)("Enter","keyboard button")},"↵")," ",Object(i.createElement)("span",null,Object(u.__)("Select the date in focus."))),Object(i.createElement)("li",null,Object(i.createElement)("abbr",{"aria-label":Object(u.__)("Left and Right Arrows")},"←/→")," ",Object(u.__)("Move backward (left) or forward (right) by one day.")),Object(i.createElement)("li",null,Object(i.createElement)("abbr",{"aria-label":Object(u.__)("Up and Down Arrows")},"↑/↓")," ",Object(u.__)("Move backward (up) or forward (down) by one week.")),Object(i.createElement)("li",null,Object(i.createElement)("abbr",{"aria-label":Object(u.__)("Page Up and Page Down")},Object(u.__)("PgUp/PgDn"))," ",Object(u.__)("Move backward (PgUp) or forward (PgDn) by one month.")),Object(i.createElement)("li",null,Object(i.createElement)("abbr",{"aria-label":Object(u.__)("Home and End")},Object(u.__)("Home/End"))," ",Object(u.__)("Go to the first (home) or last (end) day of a week."))))),Object(i.createElement)("div",{className:"components-datetime__buttons"},!l&&e&&Object(i.createElement)(Uo.a,{className:"components-datetime__date-reset-button",isLink:!0,onClick:()=>o(null)},Object(u.__)("Reset")),Object(i.createElement)(Uo.a,{className:"components-datetime__date-help-toggle",isLink:!0,onClick:function(){d(!l)}},l?Object(u.__)("Close"):Object(u.__)("Calendar Help"))))})),qc=n("9VDH");const $c=W("select",{target:"e12x0a390",label:"Select"})("&&&{appearance:none;background:transparent;box-sizing:border-box;border:none;box-shadow:none !important;color:",re.black,";display:block;margin:0;width:100%;",({disabled:e})=>e?A({color:re.ui.textDisabled},""):"",";",({size:e})=>{const t={default:"13px",small:"11px"}[e];return t?A("font-size:","16px",";@media ( min-width:600px ){font-size:",t,";}"):""},";",({size:e})=>{const t={default:{height:30,lineHeight:1,minHeight:30},small:{height:24,lineHeight:1,minHeight:24}};return A(t[e]||t.default,"")},";",In({paddingLeft:8,paddingRight:24})(),"}"),Yc=W("div",{target:"e12x0a391",label:"DownArrowWrapper"})("align-items:center;bottom:0;box-sizing:border-box;display:flex;padding:0 4px;pointer-events:none;position:absolute;top:0;",In({right:0})()," svg{display:block;}");function Zc({className:e,disabled:t=!1,help:n,hideLabelFromVision:r,id:o,label:c,multiple:u=!1,onBlur:f=s.noop,onChange:p=s.noop,onFocus:h=s.noop,options:b=[],size:m="default",value:g,labelPosition:v="top",...y},O){const[j,_]=Object(i.useState)(!1),w=function(e){const t=Object(d.useInstanceId)(Zc);return e||"inspector-select-control-"+t}(o),k=n?w+"__help":void 0;if(Object(s.isEmpty)(b))return null;const x=l()("components-select-control",e);return Object(i.createElement)(St,{help:n},Object(i.createElement)(ar,Object(a.a)({className:x,disabled:t,hideLabelFromVision:r,id:w,isFocused:j,label:c,size:m,suffix:Object(i.createElement)(Yc,null,Object(i.createElement)(zi.a,{icon:Gi.a,size:18})),labelPosition:v},y),Object(i.createElement)($c,Object(a.a)({},y,{"aria-describedby":k,className:"components-select-control__input",disabled:t,id:w,multiple:u,onBlur:e=>{f(e),_(!1)},onChange:e=>{if(u){const t=[...e.target.options].filter(({selected:e})=>e).map(({value:e})=>e);p(t)}else p(e.target.value,{event:e})},onFocus:e=>{h(e),_(!0)},ref:O,size:m,value:g}),b.map((e,t)=>{const n=e.id||`${e.label}-${e.value}-${t}`;return Object(i.createElement)("option",{key:n,value:e.value,disabled:e.disabled},e.label)}))))}var Xc=Object(i.forwardRef)(Zc);var Jc=[{name:Object(u.__)("None"),slug:"none"},{name:Object(u.__)("Small"),slug:"small"},{name:Object(u.__)("Medium"),slug:"medium"},{name:Object(u.__)("Large"),slug:"large"},{name:Object(u.__)("Extra Large"),slug:"xlarge"}];var Qc=function(e){const{label:t,value:n,sizes:r=Jc,icon:o,onChange:a,className:c=""}=e,d=Object(i.createElement)(i.Fragment,null,o&&Object(i.createElement)(qc.a,{icon:o}),t);return Object(i.createElement)(Xc,{className:l()(c,"block-editor-dimension-control"),label:d,hideLabelFromVision:!1,value:n,onChange:e=>{const t=((e,t)=>e.find(e=>t===e.slug))(r,e);t&&n!==t.slug?Object(s.isFunction)(a)&&a(t.slug):a(void 0)},options:(e=>{const t=e.map(({name:e,slug:t})=>({label:e,value:t}));return[{label:Object(u.__)("Default"),value:""}].concat(t)})(r)})},el=n("1CF3");const tl=W("div",{target:"e1ac3xxk0",label:"StyledWrapper"})({name:"u2jump",styles:"position:relative;pointer-events:none;&::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;}*{pointer-events:none;}"}),nl=Object(i.createContext)(!1),{Consumer:rl,Provider:ol}=nl,al=["BUTTON","FIELDSET","INPUT","OPTGROUP","OPTION","SELECT","TEXTAREA"];function il({className:e,children:t,isDisabled:n=!0,...r}){const o=Object(i.useRef)(),c=()=>{el.focus.focusable.find(o.current).forEach(e=>{Object(s.includes)(al,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(i.useCallback)(Object(s.debounce)(c,{leading:!0}),[]);return Object(i.useLayoutEffect)(()=>{if(!n)return;c();const e=new window.MutationObserver(u);return e.observe(o.current,{childList:!0,attributes:!0,subtree:!0}),()=>{e.disconnect(),u.cancel()}},[]),n?Object(i.createElement)(ol,{value:!0},Object(i.createElement)(tl,Object(a.a)({ref:o,className:l()(e,"components-disabled")},r),t)):Object(i.createElement)(ol,{value:!1},t)}il.Context=nl,il.Consumer=rl;var sl=il,cl=["baseId","unstable_idCountRef","visible","animated","animating","setBaseId","show","hide","toggle","setVisible","setAnimated","stopAnimation"],ll=Object(He.a)({name:"DisclosureContent",compose:Ue.a,keys:cl,useProps:function(e,t){var n=t.onTransitionEnd,r=t.onAnimationEnd,o=t.style,a=Object(pe.a)(t,["onTransitionEnd","onAnimationEnd","style"]),i=e.animated&&e.animating,s=Object(_.useState)(null),c=s[0],l=s[1],u=!e.visible&&!i,d=u?Object(pe.b)({display:"none"},o):o,f=Object(We.a)(n),p=Object(We.a)(r),h=Object(_.useRef)(0);Object(_.useEffect)((function(){if(e.animated)return h.current=window.requestAnimationFrame((function(){h.current=window.requestAnimationFrame((function(){e.visible?l("enter"):l(i?"leave":null)}))})),function(){return window.cancelAnimationFrame(h.current)}}),[e.animated,e.visible,i]);var b=Object(_.useCallback)((function(t){var n;Object(Ke.a)(t)&&(i&&!0===e.animated&&(null===(n=e.stopAnimation)||void 0===n||n.call(e)))}),[e.animated,i,e.stopAnimation]),m=Object(_.useCallback)((function(e){var t;null===(t=f.current)||void 0===t||t.call(f,e),b(e)}),[b]),g=Object(_.useCallback)((function(e){var t;null===(t=p.current)||void 0===t||t.call(p,e),b(e)}),[b]);return Object(pe.b)({id:e.baseId,"data-enter":"enter"===c?"":void 0,"data-leave":"leave"===c?"":void 0,onTransitionEnd:m,onAnimationEnd:g,hidden:u,style:d},a)}}),ul=Object(Be.a)({as:"div",useHook:ll}),dl=Object(He.a)({name:"Separator",compose:Ue.a,keys:["orientation"],useOptions:function(e){var t=e.orientation,n=void 0===t?"horizontal":t,r=Object(pe.a)(e,["orientation"]);return Object(pe.b)({orientation:n},r)},useProps:function(e,t){return Object(pe.b)({role:"separator","aria-orientation":e.orientation},t)}}),fl=Object(Be.a)({as:"hr",memo:!0,useHook:dl});const pl=Object(Tt.a)("border-color:",dn.colorDivider,";border-width:0 0 1px 0;height:0;margin:0;width:auto;;label:Divider;");var hl=Object(Ct.a)((function(e,t){const{className:n,margin:r,marginBottom:o,marginTop:s,...c}=Object(It.a)(e,"Divider"),l=Object(i.useMemo)(()=>{const e={};return void 0!==r?e.margin=Object(Tt.a)("margin-bottom:",$t(r),";margin-top:",$t(r),";"):(void 0!==s&&(e.marginTop=Object(Tt.a)("margin-top:",$t(s),";")),void 0!==o&&(e.marginBottom=Object(Tt.a)("margin-bottom:",$t(o),";"))),Object(Tt.b)(pl,e.marginBottom,e.marginTop,e.margin,n)},[n,r,o,s]);return Object(i.createElement)(fl,Object(a.a)({as:"hr"},c,{className:l,ref:t}))}),"Divider");const bl="is-dragging-components-draggable";function ml({children:e,onDragStart:t,onDragOver:n,onDragEnd:r,cloneClassname:o,elementId:a,transferData:s,__experimentalTransferDataType:c="text",__experimentalDragComponent:l}){const u=Object(i.useRef)(null),d=Object(i.useRef)(()=>{});return Object(i.useEffect)(()=>()=>{d.current()},[]),Object(i.createElement)(i.Fragment,null,e({onDraggableStart:function(e){const{ownerDocument:r}=e.target;e.dataTransfer.setData(c,JSON.stringify(s));const i=r.createElement("div"),l=r.createElement("div");if("function"==typeof e.dataTransfer.setDragImage&&(l.classList.add("components-draggable__invisible-drag-image"),r.body.appendChild(l),e.dataTransfer.setDragImage(l,0,0)),i.classList.add("components-draggable__clone"),o&&i.classList.add(o),u.current){i.style.top=e.clientY+"px",i.style.left=e.clientX+"px";const t=r.createElement("div");t.innerHTML=u.current.innerHTML,i.appendChild(t),r.body.appendChild(i)}else{const t=r.getElementById(a),n=t.getBoundingClientRect(),o=t.parentNode,s=parseInt(n.top,10),c=parseInt(n.left,10);i.style.width=n.width+0+"px";const l=t.cloneNode(!0);l.id="clone-"+a,n.height>700?(i.style.transform="scale(0.5)",i.style.transformOrigin="top left",i.style.top=e.clientY-100+"px",i.style.left=e.clientX+"px"):(i.style.top=s-0+"px",i.style.left=c-0+"px"),Array.from(l.querySelectorAll("iframe")).forEach(e=>e.parentNode.removeChild(e)),i.appendChild(l),o.appendChild(i)}let f,p=e.clientX,h=e.clientY;function b(e){i.style.top=parseInt(i.style.top,10)+e.clientY-h+"px",i.style.left=parseInt(i.style.left,10)+e.clientX-p+"px",p=e.clientX,h=e.clientY,n&&n(e)}r.addEventListener("dragover",b),r.body.classList.add(bl),e.persist(),t&&(f=setTimeout(()=>t(e))),d.current=()=>{i&&i.parentNode&&i.parentNode.removeChild(i),l&&l.parentNode&&l.parentNode.removeChild(l),r.body.classList.remove(bl),r.removeEventListener("dragover",b),clearTimeout(f)}},onDraggableEnd:function(e){e.preventDefault(),d.current(),r&&r(e)}}),l&&Object(i.createElement)("div",{className:"components-draggable-drag-component-root",style:{display:"none"},ref:u},l))}var gl=n("NTP4");function vl({className:e,label:t,onFilesDrop:n,onHTMLDrop:r,onDrop:o}){const[a,c]=Object(i.useState)(),[f,p]=Object(i.useState)(),[h,b]=Object(i.useState)(),m=Object(d.__experimentalUseDropZone)({onDrop(e){const t=Object(el.getFilesFromDataTransfer)(e.dataTransfer),a=e.dataTransfer.getData("text/html");t.length&&n?n(t):a&&r?r(a):o&&o(e)},onDragStart(e){c(!0);let t="default";Object(s.includes)(e.dataTransfer.types,"Files")||Object(el.getFilesFromDataTransfer)(e.dataTransfer).length>0?t="file":Object(s.includes)(e.dataTransfer.types,"text/html")&&(t="html"),b(t)},onDragEnd(){c(!1),b()},onDragEnter(){p(!0)},onDragLeave(){p(!1)}});let g;f&&(g=Object(i.createElement)("div",{className:"components-drop-zone__content"},Object(i.createElement)(zi.a,{icon:gl.a,className:"components-drop-zone__content-icon"}),Object(i.createElement)("span",{className:"components-drop-zone__content-text"},t||Object(u.__)("Drop files to upload"))));const v=l()("components-drop-zone",e,{"is-active":(a||f)&&("file"===h&&n||"html"===h&&r||"default"===h&&o),"is-dragging-over-document":a,"is-dragging-over-element":f,["is-dragging-"+h]:!!h});return Object(i.createElement)("div",{ref:m,className:v},g)}function yl({children:e}){return Kt()("wp.components.DropZoneProvider",{hint:"wp.component.DropZone no longer needs a provider. wp.components.DropZoneProvider is safe to remove from your code."}),e}var Ol=Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(o.Path,{d:"M5 5v1.5h14V5H5zm0 7.8h14v-1.5H5v1.5zM5 19h14v-1.5H5V19z"}));const jl=["menuitem","menuitemradio","menuitemcheckbox"];class _l extends i.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(s.isFunction)(t)?t(e):t&&"current"in t&&(t.current=e)}getFocusableContext(e){const{onlyBrowserTabstops:t}=this.props,n=(t?el.focus.tabbable:el.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=s.noop,stopNavigationEvents:a}=this.props,i=r(e);if(void 0!==i&&a){e.stopImmediatePropagation();const t=e.target.getAttribute("role");jl.includes(t)&&e.preventDefault()}if(!i)return;const c=t(e.target.ownerDocument.activeElement);if(!c)return;const{index:l,focusables:u}=c,d=n?function(e,t,n){const r=e+n;return r<0?t+r:r>=t?r-t:r}(l,u.length,i):l+i;d>=0&&d<u.length&&(u[d].focus(),o(d,u[d]))}render(){const{children:e,...t}=this.props;return Object(i.createElement)("div",Object(a.a)({ref:this.bindContainer},Object(s.omit)(t,["stopNavigationEvents","eventToOffset","onNavigate","onKeyDown","cycle","onlyBrowserTabstops","forwardedRef"])),e)}}const wl=(e,t)=>Object(i.createElement)(_l,Object(a.a)({},e,{forwardedRef:t}));wl.displayName="NavigableContainer";var kl=Object(i.forwardRef)(wl);var xl=Object(i.forwardRef)((function({role:e="menu",orientation:t="vertical",...n},r){return Object(i.createElement)(kl,Object(a.a)({ref:r,stopNavigationEvents:!0,onlyBrowserTabstops:!1,role:e,"aria-orientation":"presentation"===e?null:t,eventToOffset:e=>{const{keyCode:n}=e;let r=[mo.DOWN],o=[mo.UP];return"horizontal"===t&&(r=[mo.RIGHT],o=[mo.LEFT]),"both"===t&&(r=[mo.RIGHT,mo.DOWN],o=[mo.LEFT,mo.UP]),Object(s.includes)(r,n)?1:Object(s.includes)(o,n)?-1:Object(s.includes)([mo.DOWN,mo.UP,mo.LEFT,mo.RIGHT],n)?0:void 0}},n))}));function El(e={},t={}){const n={...e,...t};return t.className&&e.className&&(n.className=l()(t.className,e.className)),n}var Sl=function({children:e,className:t,controls:n,icon:r=Ol,label:o,popoverProps:c,toggleProps:u,menuProps:d,disableOpenOnArrowDown:f=!1,text:p,menuLabel:h,position:b,noIcons:m}){if(h&&Kt()("`menuLabel` prop in `DropdownComponent`",{since:"5.3",alternative:"`menuProps` object and its `aria-label` property"}),b&&Kt()("`position` prop in `DropdownComponent`",{since:"5.3",alternative:"`popoverProps` object and its `position` property"}),Object(s.isEmpty)(n)&&!Object(s.isFunction)(e))return null;let g;Object(s.isEmpty)(n)||(g=n,Array.isArray(g[0])||(g=[g]));const v=El({className:"components-dropdown-menu__popover",position:b},c);return Object(i.createElement)($i,{className:l()("components-dropdown-menu",t),popoverProps:v,renderToggle:({isOpen:e,onToggle:t})=>{var n;const s=El({className:l()("components-dropdown-menu__toggle",{"is-opened":e})},u);return Object(i.createElement)(Uo.a,Object(a.a)({},s,{icon:r,onClick:e=>{t(e),s.onClick&&s.onClick(e)},onKeyDown:n=>{(n=>{f||e||n.keyCode!==mo.DOWN||(n.preventDefault(),n.stopPropagation(),t())})(n),s.onKeyDown&&s.onKeyDown(n)},"aria-haspopup":"true","aria-expanded":e,label:o,text:p,showTooltip:null===(n=null==u?void 0:u.showTooltip)||void 0===n||n}),s.children)},renderContent:t=>{const n=El({"aria-label":h||o,className:l()("components-dropdown-menu__menu",{"no-icons":m})},d);return Object(i.createElement)(xl,Object(a.a)({},n,{role:"menu"}),Object(s.isFunction)(e)?e(t):null,Object(s.flatMap)(g,(e,n)=>e.map((e,r)=>Object(i.createElement)(Uo.a,{key:[n,r].join(),onClick:n=>{n.stopPropagation(),t.onClose(),e.onClick&&e.onClick()},className:l()("components-dropdown-menu__menu-item",{"has-separator":n>0&&0===r,"is-active":e.isActive}),icon:e.icon,"aria-checked":"menuitemcheckbox"===e.role||"menuitemradio"===e.role?e.isActive:void 0,role:"menuitemcheckbox"===e.role||"menuitemradio"===e.role?e.role:"menuitem",disabled:e.isDisabled},e.title))))}})};var Cl=Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(o.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 Pl=function({fill:e}){return e?Object(i.createElement)("span",{className:"components-swatch",style:{background:e}}):Object(i.createElement)(qc.a,{icon:Cl})};function Dl(e=[],t="90deg"){const n=100/e.length;return`linear-gradient( ${t}, ${e.map((e,t)=>`${e} ${t*n}%, ${e} ${(t+1)*n}%`).join(", ")} )`}var Ml=function({values:e}){return Object(i.createElement)(Pl,{fill:e&&Dl(e,"135deg")})};function Il({label:e,value:t,colors:n,disableCustomColors:r,onChange:o}){const[a,s]=Object(i.useState)(!1);return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(Uo.a,{className:"components-color-list-picker__swatch-button",icon:Object(i.createElement)(Pl,{fill:t}),onClick:()=>s(e=>!e)},e),a&&Object(i.createElement)(js,{colors:n,value:t,clearable:!1,onChange:o,disableCustomColors:r}))}var Tl=function({colors:e,labels:t,value:n=[],disableCustomColors:r,onChange:o}){return Object(i.createElement)("div",{className:"components-color-list-picker"},t.map((t,a)=>Object(i.createElement)(Il,{key:a,label:t,value:n[a],colors:e,disableCustomColors:r,onChange:e=>{const t=n.slice();t[a]=e,o(t)}})))};const Rl={className:"components-custom-gradient-picker__color-picker-popover",position:"top"};function Al(e){return Math.max(0,Math.min(100,e))}function Nl(e,t,n){const r=e.slice();return r[t]=n,r}function Ll(e,t,n){if(function(e,t,n,r=0){const o=e[t].position,a=Math.min(o,n),i=Math.max(o,n);return e.some(({position:e},o)=>o!==t&&(Math.abs(e-n)<r||a<e&&e<i))}(e,t,n))return e;return Nl(e,t,{...e[t],position:n})}function Fl(e,t,n){return Nl(e,t,{...e[t],color:n})}function zl(e,t,n){if(!t)return;const{x:r,width:o}=t.getBoundingClientRect(),a=e-r-5-n/2,i=o-5-23;return Math.round(Al(100*a/i))}function Bl({value:e,onChange:t,children:n}){const r={right(n){n.stopPropagation();const r=Al(e+10);t(r)},left(n){n.stopPropagation();const r=Al(e-10);t(r)}};return Object(i.createElement)(es,{shortcuts:r},n)}function Hl({isOpen:e,position:t,color:n,onChange:r,...o}){const s="components-custom-gradient-picker__control-point-button-description-"+Object(d.useInstanceId)(Hl);return Object(i.createElement)(Bl,{value:t,onChange:r},Object(i.createElement)(Uo.a,Object(a.a)({"aria-label":Object(u.sprintf)(Object(u.__)("Gradient control point at position %1$s%% with color code %2$s."),t,n),"aria-describedby":s,"aria-haspopup":"true","aria-expanded":e,className:l()("components-custom-gradient-picker__control-point-button",{"is-active":e}),style:{left:t+"%"}},o)),Object(i.createElement)(h.a,{id:s},Object(u.__)("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 Vl({disableRemove:e,disableAlpha:t,gradientPickerDomRef:n,ignoreMarkerPosition:r,value:o,onChange:a,onStartControlPointChange:s,onStopControlPointChange:c}){const l=Object(i.useRef)(),d=e=>{const t=zl(e.clientX,n.current,18),{initialPosition:r,index:i,significantMoveHappened:s}=l.current;!s&&Math.abs(r-t)>=5&&(l.current.significantMoveHappened=!0),a(Ll(o,i,t))},f=()=>{window&&window.removeEventListener&&l.current&&l.current.listenersActivated&&(window.removeEventListener("mousemove",d),window.removeEventListener("mouseup",f),c(),l.current.listenersActivated=!1)};return Object(i.useEffect)(()=>()=>{f()},[]),o.map((n,p)=>{const h=null==n?void 0:n.position;return r!==h&&Object(i.createElement)($i,{key:p,onClose:c,renderToggle:({isOpen:e,onToggle:t})=>Object(i.createElement)(Hl,{key:p,onClick:()=>{l.current&&l.current.significantMoveHappened||(e?c():s(),t())},onMouseDown:()=>{window&&window.addEventListener&&(l.current={initialPosition:h,index:p,significantMoveHappened:!1,listenersActivated:!0},s(),window.addEventListener("mousemove",d),window.addEventListener("mouseup",f))},isOpen:e,position:n.position,color:n.color,onChange:e=>{a(Ll(o,p,e))}}),renderContent:({onClose:r})=>Object(i.createElement)(i.Fragment,null,Object(i.createElement)(bs,{disableAlpha:t,color:n.color,onChangeComplete:({color:e})=>{a(Fl(o,p,e.toRgbString()))}}),!e&&Object(i.createElement)(Uo.a,{className:"components-custom-gradient-picker__remove-control-point",onClick:()=>{a(function(e,t){return e.filter((e,n)=>n!==t)}(o,p)),r()},isLink:!0},Object(u.__)("Remove Control Point"))),popoverProps:Rl})})}Vl.InsertPoint=function({value:e,onChange:t,onOpenInserter:n,onCloseInserter:r,insertPosition:o,disableAlpha:a}){const[s,c]=Object(i.useState)(!1);return Object(i.createElement)($i,{className:"components-custom-gradient-picker__inserter",onClose:()=>{r()},renderToggle:({isOpen:e,onToggle:t})=>Object(i.createElement)(Uo.a,{"aria-expanded":e,"aria-haspopup":"true",onClick:()=>{e?r():(c(!1),n()),t()},className:"components-custom-gradient-picker__insert-point",icon:qi.a,style:{left:null!==o?o+"%":void 0}}),renderContent:()=>Object(i.createElement)(bs,{disableAlpha:a,onChangeComplete:({color:n})=>{s?t(function(e,t,n){const r=e.findIndex(e=>e.position===t);return Fl(e,r,n)}(e,o,n.toRgbString())):(t(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}(e,o,n.toRgbString())),c(!0))}}),popoverProps:Rl})};var Wl=Vl;function Kl(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 Ul={id:"IDLE"};function Gl({background:e,hasGradient:t,value:n,onChange:r,disableInserter:o=!1,disableAlpha:a=!1}){const c=Object(i.useRef)(),[u,d]=Object(i.useReducer)(Kl,Ul),f=e=>{const t=zl(e.clientX,c.current,23);Object(s.some)(n,({position:e})=>Math.abs(t-e)<10)?"MOVING_INSERTER"===u.id&&d({type:"STOP_INSERTER_MOVE"}):d({type:"MOVE_INSERTER",insertPosition:t})},p="MOVING_INSERTER"===u.id,h="INSERTING_CONTROL_POINT"===u.id;return Object(i.createElement)("div",{ref:c,className:l()("components-custom-gradient-picker__gradient-bar",{"has-gradient":t}),onMouseEnter:f,onMouseMove:f,style:{background:e},onMouseLeave:()=>{d({type:"STOP_INSERTER_MOVE"})}},Object(i.createElement)("div",{className:"components-custom-gradient-picker__markers-container"},!o&&(p||h)&&Object(i.createElement)(Wl.InsertPoint,{disableAlpha:a,insertPosition:u.insertPosition,value:n,onChange:r,onOpenInserter:()=>{d({type:"OPEN_INSERTER"})},onCloseInserter:()=>{d({type:"CLOSE_INSERTER"})}}),Object(i.createElement)(Wl,{disableAlpha:a,disableRemove:o,gradientPickerDomRef:c,ignoreMarkerPosition:h?u.insertPosition:void 0,value:n,onChange:r,onStartControlPointChange:()=>{d({type:"START_CONTROL_CHANGE"})},onStopControlPointChange:()=>{d({type:"STOP_CONTROL_CHANGE"})}})))}const ql=["#333","#CCC"];function $l({value:e,onChange:t}){const n=!!e,r=n?e:ql,o=Dl(r),a=(s=r).map((e,t)=>({position:100*t/(s.length-1),color:e}));var s;return Object(i.createElement)(Gl,{disableInserter:!0,disableAlpha:!0,background:o,hasGradient:n,value:a,onChange:e=>{const n=function(e=[]){return e.map(({color:e})=>e)}(e);t(n)}})}var Yl=function({colorPalette:e,duotonePalette:t,disableCustomColors:n,value:r,onChange:o}){const[a,c]=Object(i.useMemo)(()=>{return!(t=e)||t.length<2?["#000","#fff"]:t.map(({color:e})=>({color:e,brightness:U()(e).getBrightness()/255})).reduce(([e,t],n)=>[n.brightness<=e.brightness?n:e,n.brightness>=t.brightness?n:t],[{brightness:1},{brightness:0}]).map(({color:e})=>e);var t},[e]);return Object(i.createElement)(Yi,{options:t.map(({colors:e,slug:t,name:n})=>{const a={background:Dl(e,"135deg"),color:"transparent"},c=null!=n?n:Object(u.sprintf)(Object(u.__)("Duotone code: %s"),t),l=n?Object(u.sprintf)(Object(u.__)("Duotone: %s"),n):c,d=Object(s.isEqual)(e,r);return Object(i.createElement)(Yi.Option,{key:t,value:e,isSelected:d,"aria-label":l,tooltipText:c,style:a,onClick:()=>{o(d?void 0:e)}})}),actions:Object(i.createElement)(Yi.ButtonAction,{onClick:()=>o(void 0)},Object(u.__)("Clear"))},!n&&Object(i.createElement)($l,{value:r,onChange:o}),e&&Object(i.createElement)(Tl,{labels:[Object(u.__)("Shadows"),Object(u.__)("Highlights")],colors:e,value:r,disableCustomColors:n,onChange:e=>{e[0]||(e[0]=a),e[1]||(e[1]=c);const t=e.length>=2?e:void 0;o(t)}}))},Zl=n("K+tz");const Xl=W(zi.a,{target:"etxm6pv0",label:"StyledIcon"})({name:"i8uvf3",styles:"width:1.4em;height:1.4em;margin:-0.2em 0.1em 0;vertical-align:middle;fill:currentColor;"});var Jl=Object(i.forwardRef)((function({href:e,children:t,className:n,rel:r="",...o},c){r=Object(s.uniq)(Object(s.compact)([...r.split(" "),"external","noreferrer","noopener"])).join(" ");const d=l()("components-external-link",n);return Object(i.createElement)("a",Object(a.a)({},o,{className:d,href:e,target:"_blank",rel:r,ref:c}),t,Object(i.createElement)(h.a,{as:"span"},Object(u.__)("(opens in a new tab)")),Object(i.createElement)(Xl,{icon:Zl.a,className:"components-external-link__icon"}))}));const Ql=W("div",{target:"e11wezi70",label:"MediaWrapper"})({name:"4wwkjz",styles:"background-color:transparent;box-sizing:border-box;text-align:center;width:100%;"}),eu=W("div",{target:"e11wezi71",label:"MediaContainer"})({name:"1q0l1fq",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;}"}),tu=W("div",{target:"e11wezi72",label:"MediaPlaceholder"})("background:",re.lightGray[300],";box-sizing:border-box;height:170px;max-width:280px;min-width:200px;width:100%;"),nu=W(ma,{target:"e11wezi73",label:"UnitControl"})({name:"v7v99c",styles:"width:100px;"}),ru=W(Zt,{target:"e11wezi74",label:"ControlWrapper"})({name:"lqoi1w",styles:"max-width:320px;padding:1em 0;"}),ou=W("div",{target:"e11wezi75",label:"GridView"})("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;",({isActive:e})=>e&&"\n\t\topacity: 1;\n\t",""),au=W("div",{target:"e11wezi76",label:"GridLine"})({name:"18dz4sk",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 );"}),iu=W(au,{target:"e11wezi77",label:"GridLineX"})({name:"1u4twh6",styles:"height:1px;left:0;right:0;"}),su=W(au,{target:"e11wezi78",label:"GridLineY"})({name:"13gvipf",styles:"width:1px;top:0;bottom:0;"}),cu={top:0,left:0,bottom:0,right:0,width:0,height:0},lu=["avi","mpg","mpeg","mov","mp4","m4v","ogg","ogv","webm","wmv"];function uu(e){return Math.round(100*e)}function du({onChange:e=s.noop,percentages:t={x:.5,y:.5}}){const n=uu(t.x),r=uu(t.y);return Object(i.createElement)(ru,{className:"focal-point-picker__controls"},Object(i.createElement)(fu,{label:Object(u.__)("Left"),value:n,onChange:n=>{e({...t,x:parseInt(n)/100})},dragDirection:"e"}),Object(i.createElement)(fu,{label:Object(u.__)("Top"),value:r,onChange:n=>{e({...t,y:parseInt(n)/100})},dragDirection:"s"}))}function fu(e){return Object(i.createElement)(nu,Object(a.a)({className:"focal-point-picker__controls-position-unit-control",labelPosition:"side",max:100,min:0,unit:"%",units:[{value:"%",label:"%"}]},e))}const pu=W("div",{target:"eas61re0",label:"FocalPointWrapper"})("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;",({isDragging:e})=>e&&"cursor: grabbing;",""),hu=W(o.SVG,{target:"eas61re1",label:"PointerIconSVG"})({name:"1fp1hff",styles:"display:block;height:100%;left:0;position:absolute;top:0;width:100%;"}),bu=W(o.Path,{target:"eas61re2",label:"PointerIconPathOutline"})({name:"j4aqsr",styles:"fill:white;"}),mu=W(o.Path,{target:"eas61re3",label:"PointerIconPathFill"})("fill:",re.blue.wordpress[700],";fill:",re.ui.theme,";");function gu({coordinates:e={left:"50%",top:"50%"},...t}){const n=l()("components-focal-point-picker__icon_container"),r={left:e.left,top:e.top};return Object(i.createElement)(pu,Object(a.a)({},t,{className:n,style:r}),Object(i.createElement)(hu,{className:"components-focal-point-picker__icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30"},Object(i.createElement)(bu,{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(i.createElement)(mu,{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:vu,setTimeout:yu}="undefined"!=typeof window?window:{};function Ou({bounds:e={},value:t,...n}){const r=function(e){const[t,n]=Object(i.useState)(!1);return xo(()=>{n(!0);const e=yu(()=>{n(!1)},600);return()=>vu(e)},[e]),{isActive:t}}(t),o={width:e.width,height:e.height};return Object(i.createElement)(ou,Object(a.a)({},n,r,{className:"components-focal-point-picker__grid",style:o}),Object(i.createElement)(iu,{style:{top:"33%"}}),Object(i.createElement)(iu,{style:{top:"66%"}}),Object(i.createElement)(su,{style:{left:"33%"}}),Object(i.createElement)(su,{style:{left:"66%"}}))}function ju({alt:e,autoPlay:t,src:n,onLoad:r=s.noop,mediaRef:o,muted:c=!0,...l}){if(!n)return Object(i.createElement)(_u,{className:"components-focal-point-picker__media components-focal-point-picker__media--placeholder",onLoad:r,mediaRef:o});return function(e=""){return!!e&&lu.includes(function(e=""){const t=e.split(".");return t[t.length-1]}(e))}(n)?Object(i.createElement)("video",Object(a.a)({},l,{autoPlay:t,className:"components-focal-point-picker__media components-focal-point-picker__media--video",loop:!0,muted:c,onLoadedData:r,ref:o,src:n})):Object(i.createElement)("img",Object(a.a)({},l,{alt:e,className:"components-focal-point-picker__media components-focal-point-picker__media--image",onLoad:r,ref:o,src:n}))}function _u({mediaRef:e,onLoad:t=s.noop,...n}){const r=Object(i.useRef)(t);return Object(i.useLayoutEffect)(()=>{window.requestAnimationFrame(()=>{r.current()})},[]),Object(i.createElement)(tu,Object(a.a)({ref:e},n))}class wu extends i.Component{constructor(e){super(...arguments),this.state={isDragging:!1,bounds:cu,percentages:e.value},this.containerRef=Object(i.createRef)(),this.mediaRef=Object(i.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=cu;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(e={}){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(![mo.UP,mo.DOWN,mo.LEFT,mo.RIGHT].includes(t))return;e.preventDefault();const r={...this.state.percentages},o=n?.1:.01,a=t===mo.UP||t===mo.LEFT?-1*o:o,i=t===mo.UP||t===mo.DOWN?"y":"x",s=parseFloat(r[i])+a;r[i]=Ro(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},a=Math.max(n.left,Math.min(o.left,n.right)),i=Math.max(n.top,Math.min(o.top,n.bottom));let s=(a-n.left)/(r.width-2*n.left),c=(i-n.top)/(r.height-2*n.top);const l=t?.1:.01;return s=Ro(s,0,1,l),c=Ro(c,0,1,l),{x:s,y:c}}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:s,isDragging:c,percentages:d}=this.state,f=this.iconCoordinates(),p=l()("components-focal-point-picker-control",t),h="inspector-focal-point-picker-control-"+r;return Object(i.createElement)(St,{label:o,id:h,help:n,className:p},Object(i.createElement)(Ql,{className:"components-focal-point-picker-wrapper"},Object(i.createElement)(eu,{className:"components-focal-point-picker",onKeyDown:this.onKeyDown,onMouseDown:this.onMouseDown,onBlur:this.ifDraggingStop,ref:this.containerRef,role:"button",tabIndex:"-1"},Object(i.createElement)(Ou,{bounds:s,value:d.x+d.y}),Object(i.createElement)(ju,{alt:Object(u.__)("Media preview"),autoPlay:e,mediaRef:this.mediaRef,onLoad:this.updateBounds,src:a}),Object(i.createElement)(gu,{coordinates:f,isDragging:c}))),Object(i.createElement)(du,{percentages:d,onChange:this.onChangeAtControls}))}}wu.defaultProps={autoPlay:!0,value:{x:.5,y:.5},url:null};var ku=Object(d.withInstanceId)(wu);function xu({iframeRef:e,...t}){const n=Object(i.useRef)(),r=Object(d.useMergeRefs)([e,n]);return Object(i.useEffect)(()=>{const e=n.current,{ownerDocument:t}=e,{defaultView:r}=t;function o(){t.activeElement===e&&e.focus()}return r.addEventListener("blur",o),()=>{r.removeEventListener("blur",o)}},[]),Object(i.createElement)("iframe",Object(a.a)({ref:r},t))}var Eu=n("uGfJ");function Su(e,t,n){return"number"!=typeof e?null:parseFloat(Object(s.clamp)(e,t,n))}var Cu={name:"tdik1c",styles:"height:30px;min-height:30px;"};const Pu=()=>Cu,Du=W("div",{target:"exqw8y20",label:"Root"})({name:"44oaj8",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%;"}),Mu=W("div",{target:"exqw8y21",label:"Wrapper"})("box-sizing:border-box;color:",re.blue.medium.focus,";display:block;flex:1;padding-top:15px;position:relative;width:100%;",({color:e=re.ui.borderFocus})=>A({color:e},""),";",Pu,";",({marks:e})=>A({marginBottom:e?16:null},""),";",In({marginLeft:10}),""),Iu=W("span",{target:"exqw8y22",label:"BeforeIconWrapper"})("margin-top:3px;",In({marginRight:6}),""),Tu=W("span",{target:"exqw8y23",label:"AfterIconWrapper"})("margin-top:3px;",In({marginLeft:16}),""),Ru=W("span",{target:"exqw8y24",label:"Rail"})("background-color:",re.lightGray[600],";box-sizing:border-box;left:0;pointer-events:none;right:0;display:block;height:3px;position:absolute;margin-top:14px;top:0;",({disabled:e,railColor:t})=>{let n=t||null;return e&&(n=re.lightGray[400]),A({background:n},"")},";"),Au=W("span",{target:"exqw8y25",label:"Track"})("background-color:currentColor;border-radius:1px;box-sizing:border-box;height:3px;pointer-events:none;display:block;position:absolute;margin-top:14px;top:0;",({disabled:e,trackColor:t})=>{let n=t||"currentColor";return e&&(n=re.lightGray[800]),A({background:n},"")},";"),Nu=W("span",{target:"exqw8y26",label:"MarksWrapper"})({name:"8d21nl",styles:"box-sizing:border-box;display:block;pointer-events:none;position:relative;width:100%;user-select:none;"}),Lu=W("span",{target:"exqw8y27",label:"Mark"})("box-sizing:border-box;height:9px;left:0;position:absolute;top:-4px;width:1px;",({disabled:e,isFilled:t})=>{let n=t?"currentColor":re.lightGray[600];return e&&(n=re.lightGray[800]),A({backgroundColor:n},"")},";"),Fu=W("span",{target:"exqw8y28",label:"MarkLabel"})("box-sizing:border-box;color:",re.lightGray[600],";left:0;font-size:11px;position:absolute;top:12px;transform:translateX( -50% );white-space:nowrap;",({isFilled:e})=>A({color:e?re.darkGray[300]:re.lightGray[600]},""),";"),zu=W("span",{target:"exqw8y29",label:"ThumbWrapper"})("align-items:center;box-sizing:border-box;display:flex;height:",20,"px;justify-content:center;margin-top:5px;outline:0;pointer-events:none;position:absolute;top:0;user-select:none;width:",20,"px;",In({marginLeft:-10}),""),Bu=W("span",{target:"exqw8y210",label:"Thumb"})("align-items:center;background-color:white;border-radius:50%;border:1px solid ",re.darkGray[200],";box-sizing:border-box;height:100%;outline:0;position:absolute;user-select:none;width:100%;",({isFocused:e})=>A({borderColor:e?re.ui.borderFocus:re.darkGray[200],boxShadow:e?`\n\t\t\t\t0 0 0 1px ${re.ui.borderFocus}\n\t\t\t`:"\n\t\t\t\t0 0 0 rgba(0, 0, 0, 0)\n\t\t\t"},""),";"),Hu=W("input",{target:"exqw8y211",label:"InputRange"})("box-sizing:border-box;cursor:pointer;display:block;height:100%;left:0;margin:0 -",10,"px;opacity:0;outline:none;position:absolute;right:0;top:0;width:calc( 100% + ",20,"px );");var Vu={name:"5qqmyx",styles:"top:-80%;"},Wu={name:"eda4eg",styles:"bottom:-80%;"};const Ku=W("span",{target:"exqw8y212",label:"Tooltip"})("background:",re.ui.border,";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;",({show:e})=>A({opacity:e?1:0},""),";",({position:e})=>"top"===e?Vu:Wu,";",oe("transition"),";",In({transform:"translateX(-50%)"},{transform:"translateX(50%)"}),""),Uu=W(No,{target:"exqw8y213",label:"InputNumber"})("box-sizing:border-box;display:inline-block;font-size:13px;margin-top:0;width:",jt(8)," !important;input[type='number']&{",Pu,";}",In({marginLeft:jt(2)+" !important"}),""),Gu=W("span",{target:"exqw8y214",label:"ActionRightWrapper"})("box-sizing:border-box;display:block;margin-top:0;button,button.is-small{margin-left:0;",Pu,";}",In({marginLeft:8}),"");var qu=Object(i.forwardRef)((function({describedBy:e,isShiftStepEnabled:t=!0,label:n,onHideTooltip:r=s.noop,onMouseLeave:o=s.noop,step:c=1,onBlur:l=s.noop,onChange:u=s.noop,onFocus:d=s.noop,onMouseMove:f=s.noop,onShowTooltip:p=s.noop,shiftStep:h=10,value:b,...m},g){const v=Ao({step:c,shiftStep:h,isShiftStepEnabled:t}),y=function({onHide:e=s.noop,onMouseLeave:t=s.noop,onMouseMove:n=s.noop,onShow:r=s.noop,timeout:o=300}){const[a,c]=Object(i.useState)(!1),l=Object(i.useRef)(),u=Object(i.useCallback)(e=>{window.clearTimeout(l.current),l.current=setTimeout(e,o)},[o]),d=Object(i.useCallback)(e=>{n(e),u(()=>{a||(c(!0),r())})},[]),f=Object(i.useCallback)(n=>{t(n),u(()=>{c(!1),e()})},[]);return Object(i.useEffect)(()=>()=>{window.clearTimeout(l.current)}),{onMouseMove:d,onMouseLeave:f}}({onHide:r,onMouseLeave:o,onMouseMove:f,onShow:p});return Object(i.createElement)(Hu,Object(a.a)({},m,y,{"aria-describedby":e,"aria-label":n,"aria-hidden":!1,onBlur:l,onChange:u,onFocus:d,ref:g,step:v,tabIndex:0,type:"range",value:b}))}));function $u({className:e,isFilled:t=!1,label:n,style:r={},...o}){const s=l()("components-range-control__mark",t&&"is-filled",e),c=l()("components-range-control__mark-label",t&&"is-filled");return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(Lu,Object(a.a)({},o,{"aria-hidden":"true",className:s,isFilled:t,style:r})),n&&Object(i.createElement)(Fu,{"aria-hidden":"true",className:c,isFilled:t,style:r},n))}function Yu({disabled:e=!1,marks:t=!1,min:n=0,max:r=100,step:o=1,value:s=0,...c}){return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(Ru,Object(a.a)({disabled:e},c)),t&&Object(i.createElement)(Zu,{disabled:e,marks:t,min:n,max:r,step:o,value:s}))}function Zu({disabled:e=!1,marks:t=!1,min:n=0,max:r=100,step:o=1,value:s=0}){const c=function({marks:e,min:t=0,max:n=100,step:r=1,value:o=0}){if(!e)return[];const a=n-t;if(!Array.isArray(e)){e=[];const n=1+Math.round(a/r);for(;n>e.push({value:r*e.length+t}););}const i=[];return e.forEach((e,r)=>{if(e.value<t||e.value>n)return;const s="mark-"+r,c=e.value<=o,l=(e.value-t)/a*100+"%",d={[Object(u.isRTL)()?"right":"left"]:l};i.push({...e,isFilled:c,key:s,style:d})}),i}({marks:t,min:n,max:r,step:o,value:s});return Object(i.createElement)(Nu,{"aria-hidden":"true",className:"components-range-control__marks"},c.map(t=>Object(i.createElement)($u,Object(a.a)({},t,{key:t.key,"aria-hidden":"true",disabled:e}))))}function Xu({className:e,inputRef:t,position:n="auto",show:r=!1,style:o={},value:s=0,renderTooltipContent:c=(e=>e),zIndex:u=100,...d}){const f=function({inputRef:e,position:t}){const[n,r]=Object(i.useState)("top"),o=Object(i.useCallback)(()=>{if(e&&e.current){let n=t;if("auto"===t){const{top:t}=e.current.getBoundingClientRect();n=t-32<0?"bottom":"top"}r(n)}},[t]);return Object(i.useEffect)(()=>{o()},[o]),Object(i.useEffect)(()=>(window.addEventListener("resize",o),()=>{window.removeEventListener("resize",o)})),n}({inputRef:t,position:n}),p=l()("components-simple-tooltip",e),h={...o,zIndex:u};return Object(i.createElement)(Ku,Object(a.a)({},d,{"aria-hidden":r,className:p,position:f,show:r,role:"tooltip",style:h}),c(s))}var Ju=Object(i.forwardRef)((function e({afterIcon:t,allowReset:n=!1,beforeIcon:r,className:o,currentInput:c,color:f=re.ui.theme,disabled:p=!1,help:h,initialPosition:b,isShiftStepEnabled:m=!0,label:g,marks:v=!1,max:y=100,min:O=0,onBlur:j=s.noop,onChange:_=s.noop,onFocus:w=s.noop,onMouseMove:k=s.noop,onMouseLeave:x=s.noop,railColor:E,resetFallbackValue:S,renderTooltipContent:C=(e=>e),showTooltip:P,shiftStep:D=10,step:M=1,trackColor:I,value:T,withInputField:R=!0,...A},N){var L;const[F,z]=function({min:e,max:t,value:n,initial:r}){const[o,a]=ba(Su(n,e,t),{initial:r,fallback:null});return[o,Object(i.useCallback)(n=>{a(null===n?null:Su(n,e,t))},[e,t])]}({min:O,max:y,value:T,initial:b}),B=Object(i.useRef)(!1),[H,V]=Object(i.useState)(P),[W,K]=Object(i.useState)(!1),U=Object(i.useRef)(),G=null===(L=U.current)||void 0===L?void 0:L.matches(":focus"),q=!p&&W,$=null===F,Y=$?"":void 0!==F?F:c,Z=$?(y-O)/2+O:F,X=$?50:(F-O)/(y-O)*100,J=Object(s.clamp)(X,0,100)+"%",Q=l()("components-range-control",o),ee=l()("components-range-control__wrapper",!!v&&"is-marked"),te=Object(d.useInstanceId)(e,"inspector-range-control"),ne=h?te+"__help":void 0,oe=!1!==P&&Object(s.isFinite)(F),ae=()=>{let e=parseFloat(S),t=e;isNaN(e)&&(e=null,t=void 0),z(e),_(t)},ie={[Object(u.isRTL)()?"right":"left"]:J};return Object(i.createElement)(St,{className:Q,label:g,id:te,help:h},Object(i.createElement)(Du,{className:"components-range-control__root"},r&&Object(i.createElement)(Iu,null,Object(i.createElement)(qc.a,{icon:r})),Object(i.createElement)(Mu,{className:ee,color:f,marks:!!v},Object(i.createElement)(qu,Object(a.a)({},A,{className:"components-range-control__slider",describedBy:ne,disabled:p,id:te,isShiftStepEnabled:m,label:g,max:y,min:O,onBlur:e=>{j(e),K(!1),V(!1)},onChange:e=>{const t=parseFloat(e.target.value);z(t),_(t)},onFocus:e=>{w(e),K(!0),V(!0)},onMouseMove:k,onMouseLeave:x,ref:e=>{U.current=e,N&&N(e)},shiftStep:D,step:M,value:Y})),Object(i.createElement)(Yu,{"aria-hidden":!0,disabled:p,marks:v,max:y,min:O,railColor:E,step:M,value:Z}),Object(i.createElement)(Au,{"aria-hidden":!0,className:"components-range-control__track",disabled:p,style:{width:J},trackColor:I}),Object(i.createElement)(zu,{style:ie},Object(i.createElement)(Bu,{"aria-hidden":!0,isFocused:q})),oe&&Object(i.createElement)(Xu,{className:"components-range-control__tooltip",inputRef:U,renderTooltipContent:C,show:G||H,style:ie,value:F})),t&&Object(i.createElement)(Tu,null,Object(i.createElement)(qc.a,{icon:t})),R&&Object(i.createElement)(Uu,{"aria-label":g,className:"components-range-control__number",disabled:p,inputMode:"decimal",isShiftStepEnabled:m,max:y,min:O,onBlur:()=>{B.current&&(ae(),B.current=!1)},onChange:e=>{e=parseFloat(e),z(e),isNaN(e)?n&&(B.current=!0):((e<O||e>y)&&(e=Su(e,O,y)),_(e),B.current=!1)},shiftStep:D,step:M,value:Y}),n&&Object(i.createElement)(Gu,null,Object(i.createElement)(Uo.a,{className:"components-range-control__reset",disabled:p||void 0===F,isSecondary:!0,isSmall:!0,onClick:ae},Object(u.__)("Reset")))))}));var Qu=Object(i.forwardRef)((function({fallbackFontSize:e,fontSizes:t=[],disableCustomFontSizes:n=!1,onChange:r,value:o,withSlider:c=!1},l){const d=Object(s.isString)(o)||t[0]&&Object(s.isString)(t[0].size);let f;f=d?parseInt(o):o;const p=Object(s.isNumber)(o)||Object(s.isString)(o)&&o.endsWith("px"),b=fa({availableUnits:["px","em","rem"]}),m=Object(i.useMemo)(()=>function(e,t){return t&&!e.length?null:(e=[{slug:"default",name:Object(u.__)("Default")},...e,...t?[]:[{slug:"custom",name:Object(u.__)("Custom")}]]).map(e=>({key:e.slug,name:e.name,size:e.size,style:{fontSize:`min( ${e.size}, 25px )`}}))}(t,n),[t,n]);if(!m)return null;const g=function(e,t){if(t){const n=e.find(e=>e.size===t);return n?n.slug:"custom"}return"default"}(t,o);return Object(i.createElement)("fieldset",Object(a.a)({className:"components-font-size-picker"},l?{}:{ref:l}),Object(i.createElement)(h.a,{as:"legend"},Object(u.__)("Font size")),Object(i.createElement)("div",{className:"components-font-size-picker__controls"},t.length>0&&Object(i.createElement)(Tc,{className:"components-font-size-picker__select",label:Object(u.__)("Font size"),options:m,value:m.find(e=>e.key===g),onChange:({selectedItem:e})=>{r(d?e.size:Number(e.size))}}),!c&&!n&&Object(i.createElement)(ma,{label:Object(u.__)("Custom"),labelPosition:"top",__unstableInputWidth:"60px",value:o,onChange:e=>{0!==parseFloat(e)&&e?r(e):r(void 0)},units:b}),Object(i.createElement)(Uo.a,{className:"components-color-palette__clear",disabled:void 0===o,onClick:()=>{r(void 0)},isSmall:!0,isSecondary:!0},Object(u.__)("Reset"))),c&&Object(i.createElement)(Ju,{className:"components-font-size-picker__custom-input",label:Object(u.__)("Custom Size"),value:p&&f||"",initialPosition:e,onChange:e=>{r(d?e+"px":e)},min:12,max:100,beforeIcon:Eu.a,afterIcon:Eu.a}))}));var ed=function({accept:e,children:t,multiple:n=!1,onChange:r,render:o,...s}){const c=Object(i.useRef)(),l=()=>{c.current.click()},u=o?o({openFileDialog:l}):Object(i.createElement)(Uo.a,Object(a.a)({onClick:l},s),t);return Object(i.createElement)("div",{className:"components-form-file-upload"},u,Object(i.createElement)("input",{type:"file",ref:c,multiple:n,style:{display:"none"},accept:e,onChange:r}))};var td=function({className:e,checked:t,id:n,disabled:r,onChange:o=s.noop,...c}){const u=l()("components-form-toggle",e,{"is-checked":t,"is-disabled":r});return Object(i.createElement)("span",{className:u},Object(i.createElement)("input",Object(a.a)({className:"components-form-toggle__input",id:n,type:"checkbox",checked:t,onChange:o,disabled:r},c)),Object(i.createElement)("span",{className:"components-form-toggle__track"}),Object(i.createElement)("span",{className:"components-form-toggle__thumb"}))},nd=n("rl8x"),rd=n.n(nd);function od({value:e,status:t,title:n,displayTransform:r,isBorderless:o=!1,disabled:a=!1,onClickRemove:c=s.noop,onMouseEnter:f,onMouseLeave:p,messages:b,termPosition:m,termsCount:g}){const v=Object(d.useInstanceId)(od),y=l()("components-form-token-field__token",{"is-error":"error"===t,"is-success":"success"===t,"is-validating":"validating"===t,"is-borderless":o,"is-disabled":a}),O=r(e),j=Object(u.sprintf)(Object(u.__)("%1$s (%2$s of %3$s)"),O,m,g);return Object(i.createElement)("span",{className:y,onMouseEnter:f,onMouseLeave:p,title:n},Object(i.createElement)("span",{className:"components-form-token-field__token-text",id:"components-form-token-field__token-text-"+v},Object(i.createElement)(h.a,{as:"span"},j),Object(i.createElement)("span",{"aria-hidden":"true"},O)),Object(i.createElement)(Uo.a,{className:"components-form-token-field__remove-token",icon:_s.a,onClick:!a&&(()=>c({value:e})),label:b.remove,"aria-describedby":"components-form-token-field__token-text-"+v}))}var ad=Object(d.createHigherOrderComponent)(e=>t=>Object(i.createElement)(e,Object(a.a)({},t,{speak:Ko.speak,debouncedSpeak:Object(d.useDebounce)(Ko.speak,500)})),"withSpokenMessages");const id={incompleteTokenValue:"",inputOffsetFromEnd:0,isActive:!1,isExpanded:!1,selectedSuggestionIndex:-1,selectedSuggestionScroll:!1};class sd extends i.Component{constructor(){super(...arguments),this.state=id,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=!rd()(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(id)}onKeyDown(e){let t=!1;switch(e.keyCode){case mo.BACKSPACE:t=this.handleDeleteKey(this.deleteTokenBeforeInput);break;case mo.ENTER:t=this.addCurrentToken();break;case mo.LEFT:t=this.handleLeftArrowKey();break;case mo.UP:t=this.handleUpArrowKey();break;case mo.RIGHT:t=this.handleRightArrowKey();break;case mo.DOWN:t=this.handleDownArrowKey();break;case mo.DELETE:t=this.handleDeleteKey(this.deleteTokenAfterInput);break;case mo.SPACE:this.props.tokenizeOnSpace&&(t=this.addCurrentToken());break;case mo.ESCAPE:t=this.handleEscapeKey(e),e.stopPropagation()}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(s.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(s.uniq)(e.map(this.props.saveTransform).filter(Boolean).filter(e=>!this.valueContainsToken(e)));if(t.length>0){const e=Object(s.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(e=this.state.incompleteTokenValue,t=this.props.suggestions,n=this.props.value,r=this.props.maxSuggestions,o=this.props.saveTransform){let a=o(e);const i=[],c=[];return 0===a.length?t=Object(s.difference)(t,n):(a=a.toLocaleLowerCase(),Object(s.each)(t,e=>{const t=e.toLocaleLowerCase().indexOf(a);-1===n.indexOf(e)&&(0===t?i.push(e):t>0&&c.push(e))}),t=i.concat(c)),Object(s.take)(t,r)}getSelectedSuggestion(){if(-1!==this.state.selectedSuggestionIndex)return this.getMatchingSuggestions()[this.state.selectedSuggestionIndex]}valueContainsToken(e){return Object(s.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(e=!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(u.sprintf)(Object(u._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(u.__)("No results."),"assertive")}}renderTokensAndInput(){const e=Object(s.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,s=n.length;return Object(i.createElement)(od,{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:s,termPosition:a})}renderInput(){const{autoCapitalize:e,autoComplete:t,maxLength:n,placeholder:r,value:o,instanceId:a}=this.props;let s={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||(s={...s,onChange:this.onInputChange}),Object(i.createElement)(ks,s)}render(){const{disabled:e,label:t=Object(u.__)("Add item"),instanceId:n,className:r,__experimentalShowHowTo:o}=this.props,{isExpanded:a}=this.state,s=l()(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 d=this.getMatchingSuggestions();return e||(c=Object.assign({},c,{onKeyDown:this.onKeyDown,onKeyPress:this.onKeyPress,onFocus:this.onFocus})),Object(i.createElement)("div",c,Object(i.createElement)("label",{htmlFor:"components-form-token-input-"+n,className:"components-form-token-field__label"},t),Object(i.createElement)("div",{ref:this.bindTokensAndInput,className:s,tabIndex:"-1",onMouseDown:this.onContainerTouched,onTouchStart:this.onContainerTouched},this.renderTokensAndInput(),a&&Object(i.createElement)(Cs,{instanceId:n,match:this.props.saveTransform(this.state.incompleteTokenValue),displayTransform:this.props.displayTransform,suggestions:d,selectedIndex:this.state.selectedSuggestionIndex,scrollIntoView:this.state.selectedSuggestionScroll,onHover:this.onSuggestionHovered,onSelect:this.onSuggestionSelected})),o&&Object(i.createElement)("p",{id:"components-form-token-suggestions-howto-"+n,className:"components-form-token-field__help"},this.props.tokenizeOnSpace?Object(u.__)("Separate with commas, spaces, or the Enter key."):Object(u.__)("Separate with commas or the Enter key.")))}}sd.defaultProps={suggestions:Object.freeze([]),maxSuggestions:100,value:Object.freeze([]),displayTransform:s.identity,saveTransform:e=>e.trim(),onChange:()=>{},onInputChange:()=>{},isBorderless:!1,disabled:!1,tokenizeOnSpace:!1,messages:{added:Object(u.__)("Item added."),removed:Object(u.__)("Item removed."),remove:Object(u.__)("Remove item"),__experimentalInvalid:Object(u.__)("Invalid item")},__experimentalExpandOnFocus:!1,__experimentalValidateInput:()=>!0,__experimentalShowHowTo:!0};var cd=ad(Object(d.withInstanceId)(sd)),ld=n("Jx1U"),ud=n.n(ld);const dd="linear-gradient(135deg, rgba(6, 147, 227, 1) 0%, rgb(155, 81, 224) 100%)",fd={type:"angular",value:90},pd=[{value:"linear-gradient",label:Object(u.__)("Linear")},{value:"radial-gradient",label:Object(u.__)("Radial")}],hd={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 bd({type:e,value:t,length:n}){return`${function({type:e,value:t}){return"literal"===e?t:"hex"===e?"#"+t:`${e}(${t.join(",")})`}({type:e,value:t})} ${function(e){if(!e)return"";const{value:t,type:n}=e;return`${t}${n}`}(n)}`}function md({type:e,orientation:t,colorStops:n}){const r=function(e){if(e&&"angular"===e.type)return e.value+"deg"}(t),o=n.sort((e,t)=>Object(s.get)(e,["length","value"],0)-Object(s.get)(t,["length","value"],0)).map(bd);return`${e}(${Object(s.compact)([r,...o]).join(",")})`}function gd(e){return void 0===e.length||"%"!==e.length.type}function vd(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"}}const yd=W(Ht,{target:"e99xvul0",label:"SelectWrapper"})({name:"otv6bo",styles:"flex-grow:5;"}),Od=W(Ht,{target:"e99xvul1",label:"AccessoryWrapper"})({name:"gmtefn",styles:"flex-grow:4;"}),jd=({gradientAST:e,hasGradient:t,onChange:n})=>{const r=Object(s.get)(e,["orientation","value"],180);return Object(i.createElement)(Vo,{hideLabelFromVision:!0,onChange:t=>{n(md({...e,orientation:{type:"angular",value:t}}))},value:t?r:""})},_d=({gradientAST:e,hasGradient:t,onChange:n})=>{const{type:r}=e;return Object(i.createElement)(Xc,{className:"components-custom-gradient-picker__type-picker",label:Object(u.__)("Type"),labelPosition:"side",onChange:t=>{"linear-gradient"===t&&n(md({...e,...e.orientation?{}:{orientation:fd},type:"linear-gradient"})),"radial-gradient"===t&&n(md({...Object(s.omit)(e,["orientation"]),type:"radial-gradient"}))},options:pd,value:t&&r})};function wd({value:e,onChange:t}){const n=function(e){var t;let n;try{n=ud.a.parse(e)[0],n.value=e}catch(e){n=ud.a.parse(dd)[0],n.value=dd}if("directional"===(null===(t=n.orientation)||void 0===t?void 0:t.type)&&(n.orientation.type="angular",n.orientation.value=hd[n.orientation.value].toString()),n.colorStops.some(gd)){const{colorStops:e}=n,t=100/(e.length-1);e.forEach((e,n)=>{e.length={value:t*n,type:"%"}}),n.value=md(n)}return n}(e),r="radial-gradient"===n.type?function(e){return md({type:"linear-gradient",orientation:fd,colorStops:e.colorStops})}(n):n.value,o=n.value!==dd,a=n.colorStops.map(e=>({color:vd(e),position:parseInt(e.length.value)}));return Object(i.createElement)("div",{className:"components-custom-gradient-picker"},Object(i.createElement)(Gl,{background:r,hasGradient:o,value:a,onChange:e=>{t(md(function(e,t){return{...e,colorStops:t.map(({position:e,color:t})=>{const{r:n,g:r,b:o,a:a}=U()(t).toRgb();return{length:{type:"%",value:e.toString()},type:a<1?"rgba":"rgb",value:a<1?[n,r,o,a]:[n,r,o]}})}}(n,e)))}}),Object(i.createElement)(Zt,{gap:3,className:"components-custom-gradient-picker__ui-line"},Object(i.createElement)(yd,null,Object(i.createElement)(_d,{gradientAST:n,hasGradient:o,onChange:t})),Object(i.createElement)(Od,null,"linear-gradient"===n.type&&Object(i.createElement)(jd,{gradientAST:n,hasGradient:o,onChange:t}))))}function kd({className:e,gradients:t,onChange:n,value:r,clearable:o=!0,disableCustomGradients:a=!1}){const c=Object(i.useCallback)(()=>n(void 0),[n]),l=Object(i.useMemo)(()=>Object(s.map)(t,({gradient:e,name:t})=>Object(i.createElement)(Yi.Option,{key:e,value:e,isSelected:r===e,tooltipText:t||Object(u.sprintf)(Object(u.__)("Gradient code: %s"),e),style:{color:"rgba( 0,0,0,0 )",background:e},onClick:r===e?c:()=>n(e),"aria-label":t?Object(u.sprintf)(Object(u.__)("Gradient: %s"),t):Object(u.sprintf)(Object(u.__)("Gradient code: %s"),e)})),[t,r,n,c]);return Object(i.createElement)(Yi,{className:e,options:l,actions:o&&Object(i.createElement)(Yi.ButtonAction,{onClick:c},Object(u.__)("Clear"))},!a&&Object(i.createElement)(wd,{value:r,onChange:n}))}const xd={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"}};var Ed=Mt({as:"div",useHook:function(e){const{align:t,alignment:n,className:r,columnGap:o,columns:a=2,gap:s=3,isInline:c=!1,justify:l,rowGap:u,rows:d,templateColumns:f,templateRows:p,...h}=Object(It.a)(e,"Grid"),b=qt(Array.isArray(a)?a:[a]),m=qt(Array.isArray(d)?d:[d]),g=f||!!a&&`repeat(${b}, 1fr)`,v=p||!!d&&`repeat(${m}, 1fr)`;return{...h,className:Object(i.useMemo)(()=>{const e=function(e){return e?xd[e]:{}}(n),a=Object(Tt.a)({alignItems:t,display:c?"inline-grid":"grid",gap:`calc( ${dn.gridBase} * ${s} )`,gridTemplateColumns:g||void 0,gridTemplateRows:v||void 0,gridRowGap:u,gridColumnGap:o,justifyContent:l,verticalAlign:c?"middle":void 0,...e},";label:gridClasses;");return Object(Tt.b)(a,r)},[t,n,r,o,s,g,v,c,l,u])}},name:"Grid"});function Sd({overlayClassName:e,contentLabel:t,aria:{describedby:n,labelledby:r},children:o,className:a,role:s,style:c,focusOnMount:u,shouldCloseOnEsc:f,onRequestClose:p}){const h=Object(d.useFocusOnMount)(u),b=Object(d.useConstrainedTabbing)(),m=Object(d.useFocusReturn)();return Object(i.createElement)("div",{className:l()("components-modal__screen-overlay",e),onKeyDown:function(e){f&&e.keyCode===mo.ESCAPE&&(e.stopPropagation(),p&&p(e))}},Object(i.createElement)("div",{className:l()("components-modal__frame",a),style:c,ref:Object(d.useMergeRefs)([b,m,h]),role:s,"aria-label":t,"aria-labelledby":t?null:r,"aria-describedby":n,tabIndex:"-1"},o))}class Cd extends i.Component{constructor(){super(...arguments),this.handleFocusOutside=this.handleFocusOutside.bind(this)}handleFocusOutside(e){this.props.shouldCloseOnClickOutside&&this.props.onRequestClose&&this.props.onRequestClose(e)}render(){return Object(i.createElement)(Sd,this.props)}}var Pd=Ps(Cd);var Dd=({icon:e,title:t,onClose:n,closeLabel:r,headingId:o,isDismissible:a})=>{const s=r||Object(u.__)("Close dialog");return Object(i.createElement)("div",{className:"components-modal__header"},Object(i.createElement)("div",{className:"components-modal__header-heading-container"},e&&Object(i.createElement)("span",{className:"components-modal__icon-container","aria-hidden":!0},e),t&&Object(i.createElement)("h1",{id:o,className:"components-modal__header-heading"},t)),a&&Object(i.createElement)(Uo.a,{onClick:n,icon:_s.a,label:s}))};const Md=new Set(["alert","status","log","marquee","timer"]);let Id=[],Td=!1;function Rd(e){if(Td)return;const t=document.body.children;Object(s.forEach)(t,t=>{t!==e&&function(e){const t=e.getAttribute("role");return!("SCRIPT"===e.tagName||e.hasAttribute("aria-hidden")||e.hasAttribute("aria-live")||Md.has(t))}(t)&&(t.setAttribute("aria-hidden","true"),Id.push(t))}),Td=!0}let Ad,Nd=0;class Ld extends i.Component{constructor(e){super(e),this.prepareDOM()}componentDidMount(){Nd++,1===Nd&&this.openFirstModal()}componentWillUnmount(){Nd--,0===Nd&&this.closeLastModal(),this.cleanDOM()}prepareDOM(){Ad||(Ad=document.createElement("div"),document.body.appendChild(Ad)),this.node=document.createElement("div"),Ad.appendChild(this.node)}cleanDOM(){Ad.removeChild(this.node)}openFirstModal(){Rd(Ad),document.body.classList.add(this.props.bodyOpenClassName)}closeLastModal(){document.body.classList.remove(this.props.bodyOpenClassName),Td&&(Object(s.forEach)(Id,e=>{e.removeAttribute("aria-hidden")}),Id=[],Td=!1)}render(){const{onRequestClose:e,title:t,icon:n,closeButtonLabel:r,children:o,aria:s,instanceId:c,isDismissible:l,isDismissable:u,...d}=this.props,f=t?"components-modal-header-"+c:s.labelledby;return u&&Kt()("isDismissable prop of the Modal component",{since:"5.4",alternative:"isDismissible prop (renamed) of the Modal component"}),Object(i.createPortal)(Object(i.createElement)(Pd,Object(a.a)({onRequestClose:e,aria:{labelledby:f,describedby:s.describedby}},d),Object(i.createElement)("div",{className:"components-modal__content",role:"document"},Object(i.createElement)(Dd,{closeLabel:r,headingId:t&&f,icon:n,isDismissible:l||u,onClose:e,title:t}),o)),this.node)}}Ld.defaultProps={bodyOpenClassName:"modal-open",role:"dialog",title:null,focusOnMount:!0,shouldCloseOnEsc:!0,shouldCloseOnClickOutside:!0,isDismissible:!0,aria:{labelledby:null,describedby:null}};var Fd=Object(d.withInstanceId)(Ld);const zd=({isSelected:e})=>Object(i.createElement)(o.SVG,{width:"8",height:"8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(i.createElement)(o.Circle,{cx:"4",cy:"4",r:"4",fill:e?"#419ECD":"#E1E3E6"}));function Bd({currentPage:e,numberOfPages:t,setCurrentPage:n}){return Object(i.createElement)("ul",{className:"components-guide__page-control","aria-label":Object(u.__)("Guide controls")},Object(s.times)(t,r=>Object(i.createElement)("li",{key:r,"aria-current":r===e?"step":void 0},Object(i.createElement)(Uo.a,{key:r,icon:Object(i.createElement)(zd,{isSelected:r===e}),"aria-label":Object(u.sprintf)(Object(u.__)("Page %1$d of %2$d"),r+1,t),onClick:()=>n(r)}))))}function Hd(e){const t=Object(i.useRef)();return Object(i.useLayoutEffect)(()=>{const{ownerDocument:e}=t.current,{activeElement:n,body:r}=e;n&&n!==r||t.current.focus()},[]),Object(i.createElement)(Uo.a,Object(a.a)({},e,{ref:t}))}function Vd({children:e,className:t,contentLabel:n,finishButtonText:r,onFinish:o,pages:a=[]}){const[s,c]=Object(i.useState)(0);Object(i.useEffect)(()=>{i.Children.count(e)&&Kt()("Passing children to <Guide>",{since:"5.5",alternative:"the `pages` prop"})},[e]),i.Children.count(e)&&(a=i.Children.map(e,e=>({content:e})));const d=s>0,f=s<a.length-1,p=()=>{d&&c(s-1)},h=()=>{f&&c(s+1)};return 0===a.length?null:Object(i.createElement)(Fd,{className:l()("components-guide",t),contentLabel:n,onRequestClose:o},Object(i.createElement)(es,{key:s,shortcuts:{left:p,right:h}}),Object(i.createElement)("div",{className:"components-guide__container"},Object(i.createElement)("div",{className:"components-guide__page"},a[s].image,a.length>1&&Object(i.createElement)(Bd,{currentPage:s,numberOfPages:a.length,setCurrentPage:c}),a[s].content,!f&&Object(i.createElement)(Hd,{className:"components-guide__inline-finish-button",onClick:o},r||Object(u.__)("Finish"))),Object(i.createElement)("div",{className:"components-guide__footer"},d&&Object(i.createElement)(Uo.a,{className:"components-guide__back-button",onClick:p},Object(u.__)("Previous")),f&&Object(i.createElement)(Uo.a,{className:"components-guide__forward-button",onClick:h},Object(u.__)("Next")),!f&&Object(i.createElement)(Hd,{className:"components-guide__finish-button",onClick:o},r||Object(u.__)("Finish")))))}function Wd(e){return Object(i.useEffect)(()=>{Kt()("<GuidePage>",{since:"5.5",alternative:"the `pages` prop in <Guide>"})},[]),Object(i.createElement)("div",e)}var Kd=Mt({as:"h1",useHook:function(e){const{as:t,level:n=2,...r}=Object(It.a)(e,"Heading"),o=t||"h"+n,a={};return"string"==typeof o&&"h"!==o[0]&&(a.role="heading",a["aria-level"]=n),{...xn({color:re.darkGray.heading,size:kn(n),isBlock:!0,weight:dn.fontWeightHeading,...r}),...a,as:o}},name:"Heading"});const Ud={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"}},Gd={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 qd(e){const{alignment:t="edge",children:n,direction:r,spacing:o=2,...c}=Object(It.a)(e,"HStack"),l=function(e,t="row"){if(Object(s.isNil)(e))return{};const n="column"===t?Gd:Ud;return e in n?n[e]:{align:e}}(t,r);return Yt({children:function(e){return"string"==typeof e?[e]:i.Children.toArray(e).filter(e=>Object(i.isValidElement)(e))}(n).map((e,t)=>{const n=e.key||"hstack-"+t;return Object(Ct.b)(e,["Spacer"])?Object(i.createElement)(Vt,Object(a.a)({isBlock:!0,key:n},e.props)):e}),direction:r,justify:"center",...l,...c,gap:o})}var $d=Mt({as:"div",useHook:qd,name:"HStack"});var Yd=Object(i.forwardRef)((function({labelPosition:e,size:t,tooltip:n,label:r,...o},s){return Kt()("wp.components.IconButton",{since:"5.4",alternative:"wp.components.Button"}),Object(i.createElement)(Uo.a,Object(a.a)({},o,{ref:s,tooltipPosition:e,iconSize:t,showTooltip:void 0!==n?!!n:void 0,label:n||r}))}));var Zd=function e({children:t,className:n="",label:r,hideSeparator:o}){const a=Object(d.useInstanceId)(e);if(!i.Children.count(t))return null;const s="components-menu-group-label-"+a,c=l()(n,"components-menu-group",{"has-hidden-separator":o});return Object(i.createElement)("div",{className:c},r&&Object(i.createElement)("div",{className:"components-menu-group__label",id:s,"aria-hidden":"true"},r),Object(i.createElement)("div",{role:"group","aria-labelledby":r?s:null},t))},Xd=n("Cw+6");var Jd=Object(i.forwardRef)((function({children:e,info:t,className:n,icon:r,shortcut:o,isSelected:c,role:u="menuitem",...d},f){return n=l()("components-menu-item__button",n),t&&(e=Object(i.createElement)("span",{className:"components-menu-item__info-wrapper"},Object(i.createElement)("span",{className:"components-menu-item__item"},e),Object(i.createElement)("span",{className:"components-menu-item__info"},t))),r&&!Object(s.isString)(r)&&(r=Object(i.cloneElement)(r,{className:"components-menu-items__item-icon"})),Object(i.createElement)(Uo.a,Object(a.a)({ref:f,"aria-checked":"menuitemcheckbox"===u||"menuitemradio"===u?c:void 0,role:u,className:n},d),Object(i.createElement)("span",{className:"components-menu-item__item"},e),Object(i.createElement)(Xd.a,{className:"components-menu-item__shortcut",shortcut:o}),r&&Object(i.createElement)(qc.a,{icon:r}))}));function Qd({choices:e=[],onHover:t=s.noop,onSelect:n,value:r}){return e.map(e=>{const o=r===e.value;return Object(i.createElement)(Jd,{key:e.value,role:"menuitemradio",icon:o&&Bi.a,info:e.info,isSelected:o,shortcut:e.shortcut,className:"components-menu-items-choice",onClick:()=>{o||n(e.value)},onMouseEnter:()=>t(e.value),onMouseLeave:()=>t(null),"aria-label":e["aria-label"]},e.label)})}var ef=n("k8OV");var tf=Object(i.forwardRef)((function({eventToOffset:e,...t},n){return Object(i.createElement)(kl,Object(a.a)({ref:n,stopNavigationEvents:!0,onlyBrowserTabstops:!0,eventToOffset:t=>{const{keyCode:n,shiftKey:r}=t;return mo.TAB===n?r?-1:1:e?e(t):void 0}},t))}));const nf="root",rf=Object(i.createContext)({activeItem:void 0,activeMenu:nf,setActiveMenu:s.noop,isMenuEmpty:s.noop,navigationTree:{items:{},getItem:s.noop,addItem:s.noop,removeItem:s.noop,menus:{},getMenu:s.noop,addMenu:s.noop,removeMenu:s.noop,childMenu:{},traverseMenu:s.noop,isMenuEmpty:s.noop}}),of=()=>Object(i.useContext)(rf);const af=W("div",{target:"ejwewyf0",label:"NavigationUI"})("width:100%;background-color:",$.darkGray.primary,";box-sizing:border-box;color:#f0f0f0;padding:0 ",jt(2),";overflow:hidden;"),sf=W("div",{target:"ejwewyf1",label:"MenuUI"})("margin-top:",jt(3),";margin-bottom:",jt(3),";display:flex;flex-direction:column;ul{padding:0;margin:0;list-style:none;}.components-navigation__back-button{margin-bottom:",jt(3),";}.components-navigation__group + .components-navigation__group{margin-top:",jt(3),";}"),cf=W(Uo.a,{target:"ejwewyf2",label:"MenuBackButtonUI"})("&.is-tertiary{color:",$.lightGray.ui,";&:hover:not(:disabled ){color:#ddd;box-shadow:none;}&:active:not(:disabled ){background:transparent;color:#ddd;}}"),lf=W("div",{target:"ejwewyf3",label:"MenuTitleUI"})({name:"16agjqd",styles:"overflow:hidden;width:100%;"}),uf=W(En,{target:"ejwewyf4",label:"MenuTitleHeadingUI"})("align-items:center;color:",$.gray[100],";display:flex;justify-content:space-between;margin-bottom:",jt(1),";padding:",()=>Object(u.isRTL)()?`${jt(.5)} ${jt(2)} ${jt(.5)} ${jt(1.5)}`:`${jt(.5)} ${jt(1.5)} ${jt(.5)} ${jt(2)}`,";"),df=W("span",{target:"ejwewyf5",label:"MenuTitleActionsUI"})("height:",jt(3),";.components-button.is-small{color:",$.lightGray.ui,";margin-right:",jt(.5),";padding:0;&:active:not(:disabled ){background:none;color:",$.gray[200],";}&:hover:not(:disabled ){box-shadow:none;color:",$.gray[200],";}}"),ff=W("div",{target:"ejwewyf6",label:"MenuTitleSearchUI"})("padding:0;position:relative;input{height:",jt(4.5),";margin-bottom:",jt(1),";padding-left:",jt(4),";padding-right:",jt(4),";&::-webkit-search-decoration,&::-webkit-search-cancel-button,&::-webkit-search-results-button,&::-webkit-search-results-decoration{-webkit-appearance:none;}}> svg{left:",jt(.5),";position:absolute;top:6px;}.components-button.is-small{height:30px;padding:0;position:absolute;right:",jt(1),";top:3px;&:active:not(:disabled ){background:none;}&:hover:not(:disabled ){box-shadow:none;}}"),pf=W(En,{target:"ejwewyf7",label:"GroupTitleUI"})("margin-top:",jt(1),";padding:",()=>Object(u.isRTL)()?`${jt(.5)} ${jt(2)} ${jt(.5)} 0`:`${jt(.5)} 0 ${jt(.5)} ${jt(2)}`,";text-transform:uppercase;color:",$.gray[100],";"),hf=W("li",{target:"ejwewyf8",label:"ItemBaseUI"})("border-radius:2px;color:",$.lightGray.ui,";margin-bottom:0;button,a.components-button,a{width:100%;color:",$.lightGray.ui,";padding:",jt(1)," ",jt(2),";",In({textAlign:"left"},{textAlign:"right"})," &:hover,&:focus:not( [aria-disabled='true'] ):active,&:active:not( [aria-disabled='true'] ):active{color:#ddd;}}&.is-active{background-color:",ne.theme,";color:",ne.textDark,";button,a{color:",ne.textDark,";}}svg path{color:",$.lightGray.ui,";}"),bf=W("div",{target:"ejwewyf9",label:"ItemUI"})("display:flex;align-items:center;height:auto;min-height:40px;margin:0;padding:",jt(.75)," ",jt(2),";font-weight:400;line-height:20px;width:100%;color:",$.lightGray.ui,";"),mf=W("span",{target:"ejwewyf10",label:"ItemBadgeUI"})("margin-left:",()=>Object(u.isRTL)()?"0":jt(1),";margin-right:",()=>Object(u.isRTL)()?jt(1):"0",";display:inline-flex;padding:",jt(.5)," ",jt(1.5),";border-radius:2px;animation:fade-in 250ms ease-out;@keyframes fade-in{from{opacity:0;}to{opacity:1;}}",oe("animation"),";"),gf=W(En,{target:"ejwewyf11",label:"ItemTitleUI"})(()=>Object(u.isRTL)()?"margin-left: auto;":"margin-right: auto;"," font-size:14px;line-height:20px;color:inherit;"),vf=()=>{const[e,t]=Object(i.useState)({});return{nodes:e,getNode:t=>e[t],addNode:(e,n)=>t(t=>({...t,[e]:Object(s.omit)(n,"children")})),removeNode:e=>t(t=>Object(s.omit)(t,e))}};function yf({activeItem:e,activeMenu:t=nf,children:n,className:r,onActivateMenu:o=s.noop}){const[a,c]=Object(i.useState)(t),[d,f]=Object(i.useState)(),p=(()=>{const{nodes:e,getNode:t,addNode:n,removeNode:r}=vf(),{nodes:o,getNode:a,addNode:s,removeNode:c}=vf(),[l,u]=Object(i.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}),s(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(u.isRTL)()?"right":"left",b=(e,t=h)=>{p.getMenu(e)&&(f(t),c(e),o(e))},m=Object(i.useRef)(!1);Object(i.useEffect)(()=>{m.current||(m.current=!0)},[]),Object(i.useEffect)(()=>{t!==a&&b(t)},[t]);const g={activeItem:e,activeMenu:a,setActiveMenu:b,navigationTree:p},v=l()("components-navigation",r),y=Object(vt.b)({type:"slide-in",origin:d});return Object(i.createElement)(af,{className:v},Object(i.createElement)("div",{key:a,className:l()({[y]:m.current&&d})},Object(i.createElement)(rf.Provider,{value:g},n)))}var Of=n("1iEr"),jf=n("2gm7");var _f=Object(i.forwardRef)((function({backButtonLabel:e,className:t,href:n,onClick:r,parentMenu:o},a){var s;const{setActiveMenu:c,navigationTree:d}=of(),f=l()("components-navigation__back-button",t),p=null===(s=d.getMenu(o))||void 0===s?void 0:s.title,h=Object(u.isRTL)()?Of.a:jf.a;return Object(i.createElement)(cf,{className:f,href:n,isTertiary:!0,ref:a,onClick:e=>{"function"==typeof r&&r(e);const t=Object(u.isRTL)()?"left":"right";o&&!e.defaultPrevented&&c(o,t)}},Object(i.createElement)(zi.a,{icon:h}),e||p||Object(u.__)("Back"))}));const wf=Object(i.createContext)({group:void 0});function kf({children:e,className:t,title:n}){const[r]=Object(i.useState)(Object(s.uniqueId)("group-")),{navigationTree:{items:o}}=of(),a={group:r};if(!Object(s.find)(o,{group:r,_isVisible:!0}))return Object(i.createElement)(wf.Provider,{value:a},e);const c="components-navigation__group-title-"+r,u=l()("components-navigation__group",t);return Object(i.createElement)(wf.Provider,{value:a},Object(i.createElement)("li",{className:u},n&&Object(i.createElement)(pf,{as:"h3",className:"components-navigation__group-title",id:c,variant:"caption"},n),Object(i.createElement)("ul",{"aria-labelledby":c,role:"group"},e)))}function xf(e){const{badge:t,title:n}=e;return Object(i.createElement)(i.Fragment,null,n&&Object(i.createElement)(gf,{className:"components-navigation__item-title",variant:"body.small",as:"span"},n),t&&Object(i.createElement)(mf,{className:"components-navigation__item-badge"},t))}const Ef=Object(i.createContext)({menu:void 0,search:""}),Sf=()=>Object(i.useContext)(Ef),Cf=e=>Object(s.deburr)(e).replace(/^\//,"").toLowerCase(),Pf=(e,t)=>{const{activeMenu:n,navigationTree:{addItem:r,removeItem:o}}=of(),{group:a}=Object(i.useContext)(wf),{menu:s,search:c}=Sf();Object(i.useEffect)(()=>{const i=n===s,l=!c||((e,t)=>-1!==Cf(e).indexOf(Cf(t)))(t.title,c);return r(e,{...t,group:a,menu:s,_isVisible:i&&l}),()=>{o(e)}},[n,c])};function Df(e){var t;const{children:n,className:r,...o}=e,[c]=Object(i.useState)(Object(s.uniqueId)("item-"));Pf(c,e);const{navigationTree:u}=of();if(null===(t=u.getItem(c))||void 0===t||!t._isVisible)return null;const d=l()("components-navigation__item",r);return Object(i.createElement)(hf,Object(a.a)({className:d},o),n)}function Mf(e){const{badge:t,children:n,className:r,href:o,item:c,navigateToMenu:d,onClick:f=s.noop,title:p,hideIfTargetMenuEmpty:h,isText:b,...m}=e,{activeItem:g,setActiveMenu:v,navigationTree:{isMenuEmpty:y}}=of();if(h&&d&&y(d))return null;const O=l()(r,{"is-active":c&&g===c}),j=Object(u.isRTL)()?jf.a:Of.a,_=b?m:{as:Uo.a,href:o,onClick:e=>{d&&v(d),f(e)},...m};return Object(i.createElement)(Df,Object(a.a)({},e,{className:O}),n||Object(i.createElement)(bf,_,Object(i.createElement)(xf,{title:p,badge:t}),d&&Object(i.createElement)(zi.a,{icon:j})))}var If=n("cGtP");var Tf=ad((function({debouncedSpeak:e,onCloseSearch:t,onSearch:n,search:r,title:o}){const{navigationTree:{items:a}}=of(),{menu:c}=Sf(),l=Object(i.useRef)();Object(i.useEffect)(()=>{const e=setTimeout(()=>{l.current.focus()},100);return()=>{clearTimeout(e)}},[]),Object(i.useEffect)(()=>{if(!r)return;const t=Object(s.filter)(a,"_isVisible").length,n=Object(u.sprintf)(Object(u._n)("%d result found.","%d results found.",t),t);e(n)},[a,r]);const d=()=>{n(""),t()},f="components-navigation__menu-title-"+c,p="components-navigation__menu-title-search-"+c,b=Object(u.sprintf)(Object(u.__)("Search in %s"),o);return Object(i.createElement)(ff,{className:"components-navigation__menu-title-search"},Object(i.createElement)(zi.a,{icon:If.a}),Object(i.createElement)(h.a,{as:"label",htmlFor:p,id:f},b),Object(i.createElement)("input",{autoComplete:"off",className:"components-text-control__input",id:p,onChange:e=>n(e.target.value),onKeyDown:function(e){e.keyCode===mo.ESCAPE&&(e.stopPropagation(),d())},placeholder:b,ref:l,type:"search",value:r}),Object(i.createElement)(Uo.a,{isSmall:!0,isTertiary:!0,label:Object(u.__)("Close search"),onClick:d},Object(i.createElement)(zi.a,{icon:_s.a})))}));function Rf({hasSearch:e,onSearch:t,search:n,title:r,titleAction:o}){const[a,s]=Object(i.useState)(!1),{menu:c}=Sf(),l=Object(i.useRef)();if(!r)return null;const d="components-navigation__menu-title-"+c,f=Object(u.sprintf)(Object(u.__)("Search in %s"),r);return Object(i.createElement)(lf,{className:"components-navigation__menu-title"},!a&&Object(i.createElement)(uf,{as:"h2",className:"components-navigation__menu-title-heading",variant:"title.small"},Object(i.createElement)("span",{id:d},r),(e||o)&&Object(i.createElement)(df,null,o,e&&Object(i.createElement)(Uo.a,{isSmall:!0,isTertiary:!0,label:f,onClick:()=>s(!0),ref:l},Object(i.createElement)(zi.a,{icon:If.a})))),a&&Object(i.createElement)("div",{className:Object(vt.b)({type:"slide-in",origin:"left"})},Object(i.createElement)(Tf,{onCloseSearch:()=>{s(!1),setTimeout(()=>{l.current.focus()},100)},onSearch:t,search:n,title:r})))}function Af({search:e}){const{navigationTree:{items:t}}=of(),n=Object(s.filter)(t,"_isVisible").length;return!e||n?null:Object(i.createElement)(hf,null,Object(i.createElement)(bf,null,Object(u.__)("No results found.")," "))}function Nf(e){const{backButtonLabel:t,children:n,className:r,hasSearch:o,menu:a=nf,onBackButtonClick:s,onSearch:c,parentMenu:u,search:d,isSearchDebouncing:f,title:p,titleAction:h}=e,[b,m]=Object(i.useState)("");(e=>{const{navigationTree:{addMenu:t,removeMenu:n}}=of(),r=e.menu||nf;Object(i.useEffect)(()=>(t(r,{...e,menu:r}),()=>{n(r)}),[])})(e);const{activeMenu:g}=of(),v={menu:a,search:b};if(g!==a)return Object(i.createElement)(Ef.Provider,{value:v},n);const y=!!c,O=y?d:b,j=y?c:m,_="components-navigation__menu-title-"+a,w=l()("components-navigation__menu",r);return Object(i.createElement)(Ef.Provider,{value:v},Object(i.createElement)(sf,{className:w},(u||s)&&Object(i.createElement)(_f,{backButtonLabel:t,parentMenu:u,onClick:s}),Object(i.createElement)(Rf,{hasSearch:o,onSearch:j,search:O,title:p,titleAction:h}),Object(i.createElement)(xl,null,Object(i.createElement)("ul",{"aria-labelledby":_},n,O&&!f&&Object(i.createElement)(Af,{search:O})))))}function Lf(e){switch(e){case"success":case"warning":case"info":return"polite";case"error":default:return"assertive"}}var Ff=function({className:e,status:t="info",children:n,spokenMessage:r=n,onRemove:o=s.noop,isDismissible:a=!0,actions:c=[],politeness:d=Lf(t),__unstableHTML:f}){!function(e,t){const n="string"==typeof e?e:Object(i.renderToString)(e);Object(i.useEffect)(()=>{n&&Object(Ko.speak)(n,t)},[n,t])}(r,d);const p=l()(e,"components-notice","is-"+t,{"is-dismissible":a});return f&&(n=Object(i.createElement)(i.RawHTML,null,n)),Object(i.createElement)("div",{className:p},Object(i.createElement)("div",{className:"components-notice__content"},n,Object(i.createElement)("div",{className:"components-notice__actions"},c.map(({className:e,label:t,isPrimary:n,noDefaultClasses:r=!1,onClick:o,url:a},s)=>Object(i.createElement)(Uo.a,{key:s,href:a,isPrimary:n,isSecondary:!r&&!a,isLink:!r&&!!a,onClick:a?void 0:o,className:l()("components-notice__action",e)},t)))),a&&Object(i.createElement)(Uo.a,{className:"components-notice__dismiss",icon:Ki.a,label:Object(u.__)("Dismiss this notice"),onClick:o,showTooltip:!1}))};var zf=function({notices:e,onRemove:t=s.noop,className:n,children:r}){return n=l()("components-notice-list",n),Object(i.createElement)("div",{className:n},r,[...e].reverse().map(e=>{return Object(i.createElement)(Ff,Object(a.a)({},Object(s.omit)(e,["content"]),{key:e.id,onRemove:(n=e.id,()=>t(n))}),e.content);var n}))};var Bf=function({label:e,children:t}){return Object(i.createElement)("div",{className:"components-panel__header"},e&&Object(i.createElement)("h2",null,e),t)};var Hf=Object(i.forwardRef)((function({header:e,className:t,children:n},r){const o=l()(t,"components-panel");return Object(i.createElement)("div",{className:o,ref:r},e&&Object(i.createElement)(Bf,{label:e}),n)}));const Vf=Object(i.forwardRef)(({isOpened:e,icon:t,title:n,...r},o)=>n?Object(i.createElement)("h2",{className:"components-panel__body-title"},Object(i.createElement)(Uo.a,Object(a.a)({className:"components-panel__body-toggle","aria-expanded":e,ref:o},r),Object(i.createElement)("span",{"aria-hidden":"true"},Object(i.createElement)(qc.a,{className:"components-panel__arrow",icon:e?Ui.a:Gi.a})),n,t&&Object(i.createElement)(qc.a,{icon:t,className:"components-panel__icon",size:20}))):null),Wf=Object(i.forwardRef)((function({buttonProps:e={},children:t,className:n,icon:r,initialOpen:o,onToggle:c=s.noop,opened:u,title:f,scrollAfterOpen:p=!0},h){const[b,m]=ba(u,{initial:void 0===o||o}),g=Object(i.useRef)(),v=Object(d.useReducedMotion)()?"auto":"smooth",y=Object(i.useRef)();y.current=p,xo(()=>{var e;b&&y.current&&null!==(e=g.current)&&void 0!==e&&e.scrollIntoView&&g.current.scrollIntoView({inline:"nearest",block:"nearest",behavior:v})},[b,v]);const O=l()("components-panel__body",n,{"is-opened":b});return Object(i.createElement)("div",{className:O,ref:Object(d.useMergeRefs)([g,h])},Object(i.createElement)(Vf,Object(a.a)({icon:r,isOpened:b,onClick:e=>{e.preventDefault();const t=!b;m(t),c(t)},title:f},e)),"function"==typeof t?t({opened:b}):b&&t)}));Wf.displayName="PanelBody";var Kf=Wf;var Uf=Object(i.forwardRef)(({className:e,children:t},n)=>Object(i.createElement)("div",{className:l()("components-panel__row",e),ref:n},t));var Gf=function({icon:e,children:t,label:n,instructions:r,className:o,notices:s,preview:c,isColumnLayout:u,...f}){const[p,{width:h}]=Object(d.useResizeObserver)();let b;"number"==typeof h&&(b={"is-large":h>=480,"is-medium":h>=160&&h<480,"is-small":h<160});const m=l()("components-placeholder",o,b),g=l()("components-placeholder__fieldset",{"is-column-layout":u});return Object(i.createElement)("div",Object(a.a)({},f,{className:m}),p,s,c&&Object(i.createElement)("div",{className:"components-placeholder__preview"},c),Object(i.createElement)("div",{className:"components-placeholder__label"},Object(i.createElement)(qc.a,{icon:e}),n),!!r&&Object(i.createElement)("div",{className:"components-placeholder__instructions"},r),Object(i.createElement)("div",{className:g},t))};function qf(e){const t=e.map(e=>({children:[],parent:null,...e})),n=Object(s.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 $f(e,t=0){return Object(s.flatMap)(e,e=>[{value:e.id,label:Object(s.repeat)(" ",3*t)+Object(s.unescape)(e.name)},...$f(e.children||[],t+1)])}function Yf({label:e,noOptionLabel:t,onChange:n,selectedId:r,tree:o,...c}){const l=Object(i.useMemo)(()=>Object(s.compact)([t&&{value:"",label:t},...$f(o)]),[t,o]);return Object(i.createElement)(Xc,Object(a.a)({label:e,options:l,onChange:n,value:r},c))}function Zf({label:e,noOptionLabel:t,categoriesList:n,selectedCategoryId:r,onChange:o,...s}){const c=Object(i.useMemo)(()=>qf(n),[n]);return Object(i.createElement)(Yf,Object(a.a)({label:e,noOptionLabel:t,onChange:o,tree:c,selectedId:r},s))}function Xf({label:e,noOptionLabel:t,authorList:n,selectedAuthorId:r,onChange:o}){if(!n)return null;const a=qf(n);return Object(i.createElement)(Yf,{label:e,noOptionLabel:t,onChange:o,tree:a,selectedId:r})}function Jf({authorList:e,selectedAuthorId:t,categoriesList:n,selectedCategoryId:r,categorySuggestions:o,selectedCategories:a,numberOfItems:s,order:c,orderBy:l,maxItems:d=100,minItems:f=1,onCategoryChange:p,onAuthorChange:h,onNumberOfItemsChange:b,onOrderChange:m,onOrderByChange:g}){return[m&&g&&Object(i.createElement)(Xc,{key:"query-controls-order-select",label:Object(u.__)("Order by"),value:`${l}/${c}`,options:[{label:Object(u.__)("Newest to oldest"),value:"date/desc"},{label:Object(u.__)("Oldest to newest"),value:"date/asc"},{label:Object(u.__)("A → Z"),value:"title/asc"},{label:Object(u.__)("Z → A"),value:"title/desc"}],onChange:e=>{const[t,n]=e.split("/");n!==c&&m(n),t!==l&&g(t)}}),n&&p&&Object(i.createElement)(Zf,{key:"query-controls-category-select",categoriesList:n,label:Object(u.__)("Category"),noOptionLabel:Object(u.__)("All"),selectedCategoryId:r,onChange:p}),o&&p&&Object(i.createElement)(cd,{key:"query-controls-categories-select",label:Object(u.__)("Categories"),value:a&&a.map(e=>({id:e.id,value:e.name||e.value})),suggestions:Object.keys(o),onChange:p,maxSuggestions:20}),h&&Object(i.createElement)(Xf,{key:"query-controls-author-select",authorList:e,label:Object(u.__)("Author"),noOptionLabel:Object(u.__)("All"),selectedAuthorId:t,onChange:h}),b&&Object(i.createElement)(Ju,{key:"query-controls-range-control",label:Object(u.__)("Number of items"),value:s,onChange:b,min:f,max:d,required:!0})]}n("WnOg");var Qf=["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"],ep=[].concat(Qf,["value","checked","unstable_checkOnFocus"]),tp=Qf;function np(e){return void 0!==e.checked?e.checked:void 0!==e.value&&e.state===e.value}function rp(e,t){var n=Object(Ye.a)(e,"change");Object.defineProperties(n,{type:{value:"change"},target:{value:e},currentTarget:{value:e}}),null==t||t(n)}var op=Object(He.a)({name:"Radio",compose:f.b,keys:ep,useOptions:function(e,t){var n,r=t.value,o=t.checked,a=e.unstable_clickOnEnter,i=void 0!==a&&a,s=e.unstable_checkOnFocus,c=void 0===s||s,l=Object(pe.a)(e,["unstable_clickOnEnter","unstable_checkOnFocus"]);return Object(pe.b)(Object(pe.b)({checked:o,unstable_clickOnEnter:i,unstable_checkOnFocus:c},l),{},{value:null!=(n=l.value)?n:r})},useProps:function(e,t){var n=t.ref,r=t.onChange,o=t.onClick,a=Object(pe.a)(t,["ref","onChange","onClick"]),i=Object(_.useRef)(null),s=Object(_.useState)(!0),c=s[0],l=s[1],u=np(e),d=Object(We.a)(e.currentId===e.id),f=Object(We.a)(r),p=Object(We.a)(o);!function(e){var t=Object(_.useState)((function(){return np(e)}))[0],n=Object(_.useState)(e.currentId)[0],r=e.id,o=e.setCurrentId;Object(_.useEffect)((function(){t&&r&&n!==r&&(null==o||o(r))}),[t,r,o,n])}(e),Object(_.useEffect)((function(){var e=i.current;e&&("INPUT"===e.tagName&&"radio"===e.type||l(!1))}),[]);var h=Object(_.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]),b=Object(_.useCallback)((function(e){var t;null===(t=p.current)||void 0===t||t.call(p,e),e.defaultPrevented||c||rp(e.currentTarget,h)}),[h,c]);return Object(_.useEffect)((function(){var t=i.current;t&&e.unstable_moves&&d.current&&e.unstable_checkOnFocus&&rp(t,h)}),[e.unstable_moves,e.unstable_checkOnFocus,h]),Object(pe.b)({ref:Object(Ve.a)(i,n),role:c?void 0:"radio",type:c?"radio":void 0,value:c?e.value:void 0,name:c?e.baseId:void 0,"aria-checked":u,checked:u,onChange:h,onClick:b},a)}}),ap=Object(Be.a)({as:"input",memo:!0,useHook:op});var ip=Object(i.createContext)({state:null,setState:()=>{}});var sp=Object(i.forwardRef)((function({children:e,value:t,...n},r){const o=Object(i.useContext)(ip),s=o.state===t;return Object(i.createElement)(ap,Object(a.a)({ref:r,as:Uo.a,isPrimary:s,isSecondary:!s,value:t},o,n),e||t)}));var cp=Object(He.a)({name:"RadioGroup",compose:ct,keys:tp,useProps:function(e,t){return Object(pe.b)({role:"radiogroup"},t)}}),lp=Object(Be.a)({as:"div",useHook:cp,useCreateElement:function(e,t,n){return Object(qe.a)(e,t,n)}});var up=Object(i.forwardRef)((function({label:e,checked:t,defaultChecked:n,disabled:r,onChange:o,...s},c){const l=function(e){void 0===e&&(e={});var t=be(e),n=t.state,r=t.loop,o=void 0===r||r,a=Object(pe.a)(t,["state","loop"]),i=Object(_.useState)(n),s=i[0],c=i[1],l=ze(Object(pe.b)(Object(pe.b)({},a),{},{loop:o}));return Object(pe.b)(Object(pe.b)({},l),{},{state:s,setState:c})}({state:n,baseId:s.id}),u={...l,disabled:r,state:null!=t?t:l.state,setState:null!=o?o:l.setState};return Object(i.createElement)(ip.Provider,{value:u},Object(i.createElement)(lp,Object(a.a)({ref:c,as:pi,"aria-label":e},l,s)))}));function dp({label:e,className:t,selected:n,help:r,onChange:o,options:c=[],...u}){const f="inspector-radio-control-"+Object(d.useInstanceId)(dp),p=e=>o(e.target.value);return!Object(s.isEmpty)(c)&&Object(i.createElement)(St,{label:e,id:f,help:r,className:l()(t,"components-radio-control")},c.map((e,t)=>Object(i.createElement)("div",{key:`${f}-${t}`,className:"components-radio-control__option"},Object(i.createElement)("input",Object(a.a)({id:`${f}-${t}`,className:"components-radio-control__input",type:"radio",name:f,value:e.value,onChange:p,checked:e.value===n,"aria-describedby":r?f+"__help":void 0},u)),Object(i.createElement)("label",{htmlFor:`${f}-${t}`},e.label))))}var fp,pp=(fp=function(e,t){return(fp=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])})(e,t)},function(e,t){function n(){this.constructor=e}fp(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),hp=function(){return(hp=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)},bp={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"}},mp=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 pp(t,e),t.prototype.render=function(){return _.createElement("div",{className:this.props.className||"",style:hp(hp({position:"absolute",userSelect:"none"},bp[this.props.direction]),this.props.replaceStyles||{}),onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart},this.props.children)},t}(_.PureComponent),gp=n("75pU"),vp=n.n(gp),yp=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)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Op=function(){return(Op=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)},jp={width:"auto",height:"auto"},_p=vp()((function(e,t,n){return Math.max(Math.min(e,n),t)})),wp=vp()((function(e,t){return Math.round(e/t)*t})),kp=vp()((function(e,t){return new RegExp(e,"i").test(t)})),xp=function(e){return Boolean(e.touches&&e.touches.length)},Ep=vp()((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})),Sp=vp()((function(e,t){return e.substr(e.length-t.length,t.length)===t})),Cp=vp()((function(e){return"auto"===(e=e.toString())||Sp(e,"px")||Sp(e,"%")||Sp(e,"vh")||Sp(e,"vw")||Sp(e,"vmax")||Sp(e,"vmin")?e:e+"px"})),Pp=function(e,t,n,r){if(e&&"string"==typeof e){if(Sp(e,"px"))return Number(e.replace("px",""));if(Sp(e,"%"))return t*(Number(e.replace("%",""))/100);if(Sp(e,"vw"))return n*(Number(e.replace("vw",""))/100);if(Sp(e,"vh"))return r*(Number(e.replace("vh",""))/100)}return e},Dp=vp()((function(e,t,n,r,o,a,i){return r=Pp(r,e.width,t,n),o=Pp(o,e.height,t,n),a=Pp(a,e.width,t,n),i=Pp(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)}})),Mp=["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"],Ip=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 yp(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||jp},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]&&Sp(e.propsSize[t].toString(),"%")){if(Sp(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 Cp(e.state[t])};return{width:t&&void 0!==t.width&&!this.state.isResizing?Cp(t.width):n("width"),height:t&&void 0!==t.height&&!this.state.isResizing?Cp(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&&kp("left",a),s=o&&kp("top",a);if("parent"===this.props.bounds){var c=this.parentNode;c&&(n=i?this.resizableRight-this.parentLeft:c.offsetWidth+(this.parentLeft-this.resizableLeft),r=s?this.resizableBottom-this.parentTop:c.offsetHeight+(this.parentTop-this.resizableTop))}else"window"===this.props.bounds?this.window&&(n=i?this.resizableRight:this.window.innerWidth-this.resizableLeft,r=s?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=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,a=o.direction,i=o.original,s=this.props,c=s.lockAspectRatio,l=s.lockAspectRatioExtraHeight,u=s.lockAspectRatioExtraWidth,d=i.width,f=i.height,p=l||0,h=u||0;return kp("right",a)&&(d=i.width+(e-i.x)*r/n,c&&(f=(d-h)/this.ratio+p)),kp("left",a)&&(d=i.width-(e-i.x)*r/n,c&&(f=(d-h)/this.ratio+p)),kp("bottom",a)&&(f=i.height+(t-i.y)*r/n,c&&(d=(f-p)*this.ratio+h)),kp("top",a)&&(f=i.height-(t-i.y)*r/n,c&&(d=(f-p)*this.ratio+h)),{newWidth:d,newHeight:f}},t.prototype.calculateNewSizeFromAspectRatio=function(e,t,n,r){var o=this.props,a=o.lockAspectRatio,i=o.lockAspectRatioExtraHeight,s=o.lockAspectRatioExtraWidth,c=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=s||0;if(a){var h=(u-f)*this.ratio+p,b=(d-f)*this.ratio+p,m=(c-p)/this.ratio+f,g=(l-p)/this.ratio+f,v=Math.max(c,h),y=Math.min(l,b),O=Math.max(u,m),j=Math.min(d,g);e=_p(e,v,y),t=_p(t,O,j)}else e=_p(e,c,l),t=_p(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,s=r.bottom;this.resizableLeft=o,this.resizableRight=i,this.resizableTop=a,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)){if(r=e.nativeEvent.clientX,o=e.nativeEvent.clientY,3===e.nativeEvent.which)return}else e.nativeEvent&&xp(e.nativeEvent)&&(r=e.nativeEvent.touches[0].clientX,o=e.nativeEvent.touches[0].clientY);if(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 s=this.window.getComputedStyle(i).flexDirection;this.flexDir=s.startsWith("row")?"row":"column",n=a.flexBasis}}this.setBoundingClientRect(),this.bindEvents();var c={original:{x:r,y:o,width:this.size.width,height:this.size.height},isResizing:!0,backgroundStyle:Op(Op({},this.state.backgroundStyle),{cursor:this.window.getComputedStyle(e.target).cursor||"auto"}),direction:t,flexBasis:n};this.setState(c)}},t.prototype.onMouseMove=function(e){if(this.state.isResizing&&this.resizable&&this.window){if(this.window.TouchEvent&&xp(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=xp(e)?e.touches[0].clientX:e.clientX,s=xp(e)?e.touches[0].clientY:e.clientY,c=this.state,l=c.direction,u=c.original,d=c.width,f=c.height,p=this.getParentSize(),h=Dp(p,this.window.innerWidth,this.window.innerHeight,n,r,o,a);n=h.maxWidth,r=h.maxHeight,o=h.minWidth,a=h.minHeight;var b=this.calculateNewSizeFromDirection(i,s),m=b.newHeight,g=b.newWidth,v=this.calculateNewMaxFromBoundary(n,r),y=this.calculateNewSizeFromAspectRatio(g,m,{width:v.maxWidth,height:v.maxHeight},{width:o,height:a});if(g=y.newWidth,m=y.newHeight,this.props.grid){var O=wp(g,this.props.grid[0]),j=wp(m,this.props.grid[1]),_=this.props.snapGap||0;g=0===_||Math.abs(O-g)<=_?O:g,m=0===_||Math.abs(j-m)<=_?j:m}this.props.snap&&this.props.snap.x&&(g=Ep(g,this.props.snap.x,this.props.snapGap)),this.props.snap&&this.props.snap.y&&(m=Ep(m,this.props.snap.y,this.props.snapGap));var w={width:g-u.width,height:m-u.height};if(d&&"string"==typeof d)if(Sp(d,"%"))g=g/p.width*100+"%";else if(Sp(d,"vw")){g=g/this.window.innerWidth*100+"vw"}else if(Sp(d,"vh")){g=g/this.window.innerHeight*100+"vh"}if(f&&"string"==typeof f)if(Sp(f,"%"))m=m/p.height*100+"%";else if(Sp(f,"vw")){m=m/this.window.innerWidth*100+"vw"}else if(Sp(f,"vh")){m=m/this.window.innerHeight*100+"vh"}var k={width:this.createSizeForCssProperty(g,"width"),height:this.createSizeForCssProperty(m,"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,l,this.resizable,w)}},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:Op(Op({},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,s=t.handleComponent;if(!n)return null;var c=Object.keys(n).map((function(t){return!1!==n[t]?_.createElement(mp,{key:t,direction:t,onResizeStart:e.onResizeStart,replaceStyles:r&&r[t],className:o&&o[t]},s&&s[t]?s[t]:null):null}));return _.createElement("div",{className:i,style:a},c)},t.prototype.render=function(){var e=this,t=Object.keys(this.props).reduce((function(t,n){return-1!==Mp.indexOf(n)||(t[n]=e.props[n]),t}),{}),n=Op(Op(Op({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 _.createElement(r,Op({ref:this.ref,style:n,className:this.props.className},t),this.state.isResizing&&_.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}(_.PureComponent),Tp=n("SSiF"),Rp=n.n(Tp);const{clearTimeout:Ap,setTimeout:Np}="undefined"!=typeof window?window:{},Lp="bottom",Fp="corner";function zp({axis:e,fadeTimeout:t=180,onResize:n=s.noop,position:r=Lp,showPx:o=!1}){const[a,c]=Rp()(),l=!!e,[u,d]=Object(i.useState)(!1),[f,p]=Object(i.useState)(!1),{width:h,height:b}=c,m=Object(i.useRef)(b),g=Object(i.useRef)(h),v=Object(i.useRef)(),y=()=>{l||(d(!1),p(!1))};Object(i.useEffect)(()=>{if(!(null!==h||null!==b))return;const e=h!==g.current,r=b!==m.current;if(e||r){if(h&&!g.current&&b&&!m.current)return g.current=h,void(m.current=b);e&&(d(!0),g.current=h),r&&(p(!0),m.current=b),n({width:h,height:b}),v.current&&Ap(v.current),v.current=Np(y,t)}},[h,b]);return{label:function({axis:e,height:t,moveX:n=!1,moveY:r=!1,position:o=Lp,showPx:a=!1,width:i}){if(!n&&!r)return null;if(o===Fp)return`${i} x ${t}`;const s=a?" px":"";if(e){if("x"===e&&n)return`${i}${s}`;if("y"===e&&r)return`${t}${s}`}if(n&&r)return`${i} x ${t}`;if(n)return`${i}${s}`;if(r)return`${t}${s}`;return null}({axis:e,height:b,moveX:u,moveY:f,position:r,showPx:o,width:h}),resizeListener:a}}const Bp=W("div",{target:"ekdag500",label:"Root"})({name:"mt2ez5",styles:"bottom:0;box-sizing:border-box;left:0;pointer-events:none;position:absolute;right:0;top:0;"}),Hp=W("div",{target:"ekdag501",label:"TooltipWrapper"})({name:"1kllayo",styles:"align-items:center;box-sizing:border-box;display:inline-flex;justify-content:center;opacity:0;pointer-events:none;transition:opacity 120ms linear;"}),Vp=W("div",{target:"ekdag502",label:"Tooltip"})("background:",re.ui.border,";border-radius:2px;box-sizing:border-box;font-size:12px;color:",re.ui.textDark,";padding:4px 8px;position:relative;"),Wp=W(En,{target:"ekdag503",label:"LabelText"})({name:"1kboj1g",styles:"&&&{color:white;display:block;font-size:13px;line-height:1.4;}"});var Kp=Object(i.forwardRef)((function({label:e,position:t=Fp,zIndex:n=1e3,...r},o){const s=!!e,c=t===Fp;if(!s)return null;let l={opacity:s?1:null,zIndex:n},d={};return t===Lp&&(l={...l,position:"absolute",bottom:-10,left:"50%",transform:"translate(-50%, 0)"},d={transform:"translate(0, 100%)"}),c&&(l={...l,position:"absolute",top:4,right:Object(u.isRTL)()?null:4,left:Object(u.isRTL)()?4:null}),Object(i.createElement)(Hp,Object(a.a)({"aria-hidden":"true",className:"components-resizable-tooltip__tooltip-wrapper",isActive:s,ref:o,style:l},r),Object(i.createElement)(Vp,{className:"components-resizable-tooltip__tooltip",style:d},Object(i.createElement)(Wp,{as:"span"},e)))}));var Up=Object(i.forwardRef)((function({axis:e,className:t,fadeTimeout:n=180,isVisible:r=!0,labelRef:o,onResize:c=s.noop,position:u=Lp,showPx:d=!0,zIndex:f=1e3,...p},h){const{label:b,resizeListener:m}=zp({axis:e,fadeTimeout:n,onResize:c,showPx:d,position:u});if(!r)return null;const g=l()("components-resize-tooltip",t);return Object(i.createElement)(Bp,Object(a.a)({"aria-hidden":"true",className:g,ref:h},p),m,Object(i.createElement)(Kp,{"aria-hidden":p["aria-hidden"],fadeTimeout:n,isVisible:r,label:b,position:u,ref:o,zIndex:f}))}));var Gp=Object(i.forwardRef)((function({className:e,children:t,showHandle:n=!0,__experimentalShowTooltip:r=!1,__experimentalTooltipProps:o={},...s},c){const u={width:null,height:null,top:null,right:null,bottom:null,left:null},d="components-resizable-box__handle",f="components-resizable-box__side-handle",p="components-resizable-box__corner-handle";return Object(i.createElement)(Ip,Object(a.a)({className:l()("components-resizable-box__container",n&&"has-show-handle",e),handleClasses:{top:l()(d,f,"components-resizable-box__handle-top"),right:l()(d,f,"components-resizable-box__handle-right"),bottom:l()(d,f,"components-resizable-box__handle-bottom"),left:l()(d,f,"components-resizable-box__handle-left"),topLeft:l()(d,p,"components-resizable-box__handle-top","components-resizable-box__handle-left"),topRight:l()(d,p,"components-resizable-box__handle-top","components-resizable-box__handle-right"),bottomRight:l()(d,p,"components-resizable-box__handle-bottom","components-resizable-box__handle-right"),bottomLeft:l()(d,p,"components-resizable-box__handle-bottom","components-resizable-box__handle-left")},handleStyles:{top:u,right:u,bottom:u,left:u,topLeft:u,topRight:u,bottomRight:u,bottomLeft:u},ref:c},s),t,r&&Object(i.createElement)(Up,o))}));var qp=function({naturalWidth:e,naturalHeight:t,children:n,isInline:r=!1}){const[o,{width:a}]=Object(d.useResizeObserver)();if(1!==i.Children.count(n))return null;const s={paddingBottom:e<a?t:t/e*100+"%"},c=r?"span":"div";return Object(i.createElement)(c,{className:"components-responsive-wrapper"},o,Object(i.createElement)(c,{style:s}),Object(i.cloneElement)(n,{className:l()("components-responsive-wrapper__content",n.props.className)}))};function $p({html:e="",title:t="",type:n,styles:r=[],scripts:o=[],onFocus:a}){const s=Object(i.useRef)(),[c,l]=Object(i.useState)(0),[u,d]=Object(i.useState)(0);function f(a=!1){if(!function(){try{return!!s.current.contentDocument.body}catch(e){return!1}}())return;const{contentDocument:c,ownerDocument:l}=s.current,{body:u}=c;if(!a&&null!==u.getAttribute("data-resizable-iframe-connected"))return;const d=Object(i.createElement)("html",{lang:l.documentElement.lang,className:n},Object(i.createElement)("head",null,Object(i.createElement)("title",null,t),Object(i.createElement)("style",{dangerouslySetInnerHTML:{__html:"\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"}}),r.map((e,t)=>Object(i.createElement)("style",{key:t,dangerouslySetInnerHTML:{__html:e}}))),Object(i.createElement)("body",{"data-resizable-iframe-connected":"data-resizable-iframe-connected",className:n},Object(i.createElement)("div",{dangerouslySetInnerHTML:{__html:e}}),Object(i.createElement)("script",{type:"text/javascript",dangerouslySetInnerHTML:{__html:"\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} )();"}}),o.map(e=>Object(i.createElement)("script",{key:e,src:e}))));c.open(),c.write("<!DOCTYPE html>"+Object(i.renderToString)(d)),c.close()}return Object(i.useEffect)(()=>{function e(){f(!1)}function t(e){const t=s.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&&(l(n.width),d(n.height))}f();const{ownerDocument:n}=s.current,{defaultView:r}=n;return s.current.addEventListener("load",e,!1),r.addEventListener("message",t),()=>{s.current.removeEventListener("load",e,!1),r.addEventListener("message",t)}},[]),Object(i.useEffect)(()=>{f()},[t,n,r,o]),Object(i.useEffect)(()=>{f(!0)},[e]),Object(i.createElement)(xu,{iframeRef:s,title:t,className:"components-sandbox",sandbox:"allow-scripts allow-same-origin allow-presentation",onFocus:a,width:Math.ceil(c),height:Math.ceil(u)})}var Yp=n("iB/h"),Zp=n("ZO3Q");var Xp=function({notices:e,className:t,children:n,onRemove:r=s.noop}){const o=Object(d.useReducedMotion)(),[c]=Object(i.useState)(()=>new WeakMap),u=Object(Zp.useTransition)(e,e=>e.id,{from:{opacity:0,height:0},enter:e=>async t=>await t({opacity:1,height:c.get(e).offsetHeight}),leave:()=>async e=>{await e({opacity:0}),await e({height:0})},immediate:o});t=l()("components-snackbar-list",t);const f=e=>()=>r(e.id);return Object(i.createElement)("div",{className:t},n,u.map(({item:e,key:t,props:n})=>Object(i.createElement)(Zp.animated.div,{key:t,style:n},Object(i.createElement)("div",{className:"components-snackbar-list__notice-container",ref:t=>t&&c.set(e,t)},Object(i.createElement)(Yp.a,Object(a.a)({},Object(s.omit)(e,["content"]),{onRemove:f(e)}),e.content)))))};const Jp=e=>null!=e;var Qp=Mt({as:"div",useHook:function(e){const{className:t,margin:n,marginBottom:r=2,marginLeft:o,marginRight:a,marginTop:i,marginX:s,marginY:c,padding:l,paddingBottom:u,paddingLeft:d,paddingRight:f,paddingTop:p,paddingX:h,paddingY:b,...m}=Object(It.a)(e,"Spacer");return{...m,className:Object(Tt.b)(Jp(i)&&Object(Tt.a)("margin-top:",$t(i),";;label:classes;"),Jp(r)&&Object(Tt.a)("margin-bottom:",$t(r),";;label:classes;"),Jp(o)&&Object(Tt.a)("margin-left:",$t(o),";;label:classes;"),Jp(a)&&Object(Tt.a)("margin-right:",$t(a),";;label:classes;"),Jp(s)&&Object(Tt.a)("margin-left:",$t(s),";margin-right:",$t(s),";;label:classes;"),Jp(c)&&Object(Tt.a)("margin-bottom:",$t(c),";margin-top:",$t(c),";;label:classes;"),Jp(n)&&Object(Tt.a)("margin:",$t(n),";;label:classes;"),Jp(p)&&Object(Tt.a)("padding-top:",$t(p),";;label:classes;"),Jp(u)&&Object(Tt.a)("padding-bottom:",$t(u),";;label:classes;"),Jp(d)&&Object(Tt.a)("padding-left:",$t(d),";;label:classes;"),Jp(f)&&Object(Tt.a)("padding-right:",$t(f),";;label:classes;"),Jp(h)&&Object(Tt.a)("padding-left:",$t(h),";padding-right:",$t(h),";;label:classes;"),Jp(b)&&Object(Tt.a)("padding-bottom:",$t(b),";padding-top:",$t(b),";;label:classes;"),Jp(l)&&Object(Tt.a)("padding:",$t(l),";;label:classes;"),t)}},name:"Spacer"});const eh=(function(){var e=A.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_"}}})` + */var r=60103,o=60106,a=60107,i=60108,s=60114,c=60109,l=60110,u=60112,d=60113,f=60120,p=60115,h=60116,b=60121,m=60122,g=60117,v=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"),s=O("react.profiler"),c=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"),h=O("react.lazy"),b=O("react.block"),m=O("react.server.block"),g=O("react.fundamental"),v=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 s:case i:case d:case f:return e;default:switch(e=e&&e.$$typeof){case l:case u:case h:case p:case c:return e;default:return t}}case o:return t}}}var _=c,w=r,k=u,x=a,E=h,S=p,C=o,P=s,D=i,M=d;t.ContextConsumer=l,t.ContextProvider=_,t.Element=w,t.ForwardRef=k,t.Fragment=x,t.Lazy=E,t.Memo=S,t.Portal=C,t.Profiler=P,t.StrictMode=D,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)===c},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)===h},t.isMemo=function(e){return j(e)===p},t.isPortal=function(e){return j(e)===o},t.isProfiler=function(e){return j(e)===s},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===s||e===v||e===i||e===d||e===f||e===y||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===p||e.$$typeof===c||e.$$typeof===l||e.$$typeof===u||e.$$typeof===g||e.$$typeof===b||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}},"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}},"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}},"6ZB3":function(e,t,n){"use strict";var r=n("rZ7t"),o=n("1LY1"),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}},"6zzY":function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("GRId"),o=n("YLtl");const a="undefined"!=typeof window?r.useLayoutEffect:r.useEffect,i=Object(r.createContext)({}),s=()=>Object(r.useContext)(i);Object(r.memo)(({children:e,value:t})=>{const n=function({value:e}){const t=s(),n=Object(r.useRef)(t),i=Object(r.useRef)(Object(o.merge)(t,e)),[c,l]=Object(r.useState)(i.current);return a(()=>{let r=!1;Object(o.isEqual)(e,i.current)||(i.current=e,r=!0),Object(o.isEqual)(t,n.current)||(i.current=Object(o.merge)(t,i.current),n.current=t,r=!0),r&&l(e=>({...e,...i.current}))},[e,t]),c}({value:t});return Object(r.createElement)(i.Provider,{value:n},e)})},"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 s(){this.cache=Object.create(null)}s.prototype.has=function(e){return e in this.cache},s.prototype.get=function(e){return this.cache[e]},s.prototype.set=function(e,t){this.cache[e]=t};var c={create:function(){return new s}};e.exports=function(e,t){var n=t&&t.cache?t.cache:c,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 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,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(!s(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)}},"7Ji+":function(e,t,n){"use strict";var r=n("rZ7t"),o=r("%Array%"),a=r("%Symbol.species%",!0),i=r("%TypeError%"),s=n("3aeR"),c=n("9cOx"),l=n("kuGu"),u=n("R/b7"),d=n("V1cy");e.exports=function(e,t){if(!u(t)||t<0)throw new i("Assertion failed: length must be an integer >= 0");var n,r=0===t?0:t;if(c(e)&&(n=s(e,"constructor"),a&&"Object"===d(n)&&null===(n=s(n,a))&&(n=void 0)),void 0===n)return o(r);if(!l(n))throw new i("C must be a constructor");return new n(r)}},"7Jlx":function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return l}));var r=n("YLtl"),o=n("GRId"),a=(n("Z23Y"),n("tQ+x")),i=n("UAm0");function s(t,n,s={}){const{memo:c=!1}=s;let l=Object(o.forwardRef)(t);c&&(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 c(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?c(e).includes(t):!!Array.isArray(t)&&t.some(t=>c(e).includes(t)))}}).call(this,n("8oxB"))},"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,s=Object.defineProperty,c=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}}(),l=function(e,t,n,r){var o;(!(t in e)||"function"==typeof(o=r)&&"[object Function]"===a.call(o)&&r())&&(c?s(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 s=0;s<a.length;s+=1)l(e,a[s],t[a[s]],n[a[s]])};u.supportsDescriptors=!!c,e.exports=u},"8OQS":function(e,t){e.exports=function(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},e.exports.default=e.exports,e.exports.__esModule=!0},"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 s(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 c,l=[],u=!1,d=-1;function f(){u&&c&&(u=!1,c.length?l=c.concat(l):d=-1,l.length&&p())}function p(){if(!u){var e=s(f);u=!0;for(var t=l.length;t;){for(c=l,l=[];++d<t;)c&&c[d].run();d=-1,t=l.length}c=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 h(e,t){this.fun=e,this.array=t}function b(){}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 h(e,t)),1!==l.length||u||s(p)},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=b,o.addListener=b,o.once=b,o.off=b,o.removeListener=b,o.removeAllListeners=b,o.emit=b,o.prependListener=b,o.prependOnceListener=b,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}},"9Do8":function(e,t,n){"use strict";e.exports=n("zt9T")},"9NHk":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));n("wx14"),n("GRId");function r(e,t=(()=>null),n="Component",r=(e=>e)){return e}},"9VDH":function(e,t,n){"use strict";var r=n("wx14"),o=n("GRId"),a=n("Tqx9"),i=n("vUUf");t.a=function({icon:e=null,size:t,...n}){if("string"==typeof e)return Object(o.createElement)(i.a,Object(r.a)({icon:e},n));if(e&&i.a===e.type)return Object(o.cloneElement)(e,{...n});const s=t||24;if("function"==typeof e)return e.prototype instanceof o.Component?Object(o.createElement)(e,{size:s,...n}):e({size:s,...n});if(e&&("svg"===e.type||e.type===a.SVG)){const t={width:s,height:s,...e.props,...n};return Object(o.createElement)(a.SVG,t)}return Object(o.isValidElement)(e)?Object(o.cloneElement)(e,{size:s,...n}):e}},"9cOx":function(e,t,n){"use strict";var r=n("rZ7t")("%Array%"),o=!r.isArray&&n("EXo9")("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},s=function(){if(!t[a]){var e={};e[a]={};var n={};n[a]=i,r(t,e,n)}return t[a]},c=s(),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],c=s()},delete:function(e){return u(e),delete c[l(e)],!d.has(e)},get:function(e){return u(e),c[l(e)]},has:function(e){return u(e),l(e)in c},set:function(e,t){u(e);var n=l(e),o={};o[n]=t;var a={};return a[n]=i,r(c,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"))},"9uj6":function(e,t,n){"use strict";n.r(t);var r=n("4qRI"),o=/^((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)-.*))$/,a=Object(r.a)((function(e){return o.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));t.default=a},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){}},s=Object.getOwnPropertyDescriptor;if(s)try{s({},"")}catch(e){s=null}var c=function(){throw new a},l=s?function(){try{return c}catch(e){try{return s(arguments,"callee").get}catch(e){return c}}}():c,u=n("UVaH")(),d=Object.getPrototypeOf||function(e){return e.__proto__},f=i("async function* () {}"),p=f?f.prototype:void 0,h=p?p.prototype:void 0,b="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%":h?d(h):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%":b,"%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},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"]},v=n("D3zA"),y=n("oNNP"),O=v.call(Function.call,Array.prototype.concat),j=v.call(Function.apply,Array.prototype.splice),_=v.call(Function.call,String.prototype.replace),w=v.call(Function.call,String.prototype.slice),k=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,x=/\\(\\)?/g,E=function(e){var t=w(e,0,1),n=w(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 _(e,k,(function(e,t,n,r){o[o.length]=n?_(r,x,"$1"):t||e})),o},S=function(e,t){var n,o=e;if(y(g,o)&&(o="%"+(n=g[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),o=n.length>0?n[0]:"",i=S("%"+o+"%",t),c=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 h=n[f],b=w(h,0,1),g=w(h,-1);if(('"'===b||"'"===b||"`"===b||'"'===g||"'"===g||"`"===g)&&b!==g)throw new r("property names with quotes must have matching quotes");if("constructor"!==h&&p||(u=!0),y(m,c="%"+(o+="."+h)+"%"))l=m[c];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(s&&f+1>=n.length){var v=s(l,h);l=(p=!!v)&&"get"in v&&!("originalValue"in v.get)?v.get:l[h]}else p=y(l,h),l=l[h];p&&!u&&(m[c]=l)}}return l}},AP2z:function(e,t,n){var r=n("nmnc"),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=a.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var o=i.call(e);return r&&(t?e[s]=n:delete e[s]),o}},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 s=o.chooseAvailableDate,c=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")),h=r.has("blocked-out-of-range"),b={date:e.format(t)},m=(0,a.default)(s,b);r.has(i.BLOCKED_MODIFIER)?m=(0,a.default)(c,b):f&&(m=(0,a.default)(l,b));return{daySizeStyles:u,useDefaultCursor:d,selected:f,hoveredSpan:p,isOutsideRange:h,ariaLabel:m}};var r,o=n("oOcr"),a=(r=o)&&r.__esModule?r:{default:r},i=n("Fv1B")},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 s=/^\s*class\b/,c=function(e){try{var t=a.call(e);return s.test(t)}catch(e){return!1}},l=Object.prototype.toString,u="function"==typeof Symbol&&"symbol"==typeof 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!c(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!c(e)&&(a.call(e),!0)}catch(e){return!1}}(e);if(c(e))return!1;var t=l.call(e);return"[object Function]"===t||"[object GeneratorFunction]"===t}},B9Az:function(e,t,n){"use strict";var r=n("GRId"),o=n("Tqx9");var a=Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.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"}));t.a=a},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 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)}n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return c}))},BeK9:function(e,t,n){"use strict";e.exports=function(e){return null===e||"function"!=typeof e&&"object"!=typeof 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 s}));var r=n("kDDq"),o=(n("Z23Y"),n("6zzY")),a=n("Ohaz"),i=n("UAm0");function s(t,n){const s=Object(o.a)();void 0===n&&void 0!==e&&e.env;const c=(null==s?void 0:s[n])||{},l={...Object(a.a)(),...Object(a.b)(n)},{_overrides:u,...d}=c,f=Object.entries(d).length?Object.assign({},d,t):t,p=Object(r.b)(Object(i.a)(n),t.className),h="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=h,l.className=p,l}}).call(this,n("8oxB"))},CGNl:function(e,t,n){"use strict";var r=n("oNNP"),o=n("10Kj"),a=n("V1cy");e.exports=function(e){return void 0!==e&&(o(a,"Property Descriptor","Desc",e),!(!r(e,"[[Value]]")&&!r(e,"[[Writable]]")))}},"Cw+6":function(e,t,n){"use strict";var r=n("GRId"),o=n("YLtl");t.a=function({shortcut:e,className:t}){if(!e)return null;let n,a;return Object(o.isString)(e)&&(n=e),Object(o.isObject)(e)&&(n=e.display,a=e.ariaLabel),Object(r.createElement)("span",{className:t,"aria-label":a},n)}},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},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))}},DvWQ:function(e,t,n){"use strict";var r=n("rZ7t")("%TypeError%"),o=n("wTIp"),a=n("zYbv"),i=n("kgBv"),s=n("CGNl"),c=n("rDFq"),l=n("i10q"),u=n("HI8u"),d=n("V1cy");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||c(e);return!(f&&(!f["[[Writable]]"]||!f["[[Configurable]]"])||!p)&&o(s,u,a,e,t,{"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Value]]":n,"[[Writable]]":!0})}},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})}},EXo9:function(e,t,n){"use strict";var r=n("rZ7t"),o=n("hZ2/"),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}},ExA7:function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},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),s=(r.day()+7-n)%7,c=(n+6-o.day())%7,l=r.clone().subtract(s,"day"),u=o.clone().add(c,"day"),d=u.diff(l,"days")+1,f=l.clone(),p=[],h=0;h<d;h+=1){h%7==0&&p.push([]);var b=null;(h>=s&&h<d-c||t)&&(b=f.clone()),p[p.length-1].push(b),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"),s=Object,c=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,h,b,m=s(e);for(n=1;n<arguments.length;++n){i=s(arguments[n]),f=r(i);var g=a&&(Object.getOwnPropertySymbols||u);if(g)for(p=g(i),d=0;d<p.length;++d)b=p[d],l(i,b)&&c(f,b);for(d=0;d<f.length;++d)h=i[b=f[d]],l(i,b)&&(m[b]=h)}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"),s=n("aU41"),c=n("71Og"),l=(n("KA1K"),n("eNtd")),u=n("AXvK"),d=n("PcHe"),f=n("Vq1w"),p=n("reMF"),h=n("kqkJ"),b=n("zGFp"),m=Object(p.a)("Mac")&&!Object(p.a)("Chrome")&&(Object(p.a)("Safari")||Object(p.a)("Firefox"));function g(e){!Object(d.a)(e)&&Object(h.a)(e)&&e.focus()}function v(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:b.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,h=t.onKeyPressCapture,b=t.style,O=Object(r.a)(t,["ref","tabIndex","onClickCapture","onMouseDownCapture","onMouseDown","onKeyPressCapture","style"]),j=Object(i.useRef)(null),_=Object(l.a)(a),w=Object(l.a)(d),k=Object(l.a)(p),x=Object(l.a)(h),E=!!e.disabled&&!e.focusable,S=Object(i.useState)(!0),C=S[0],P=S[1],D=Object(i.useState)(!0),M=D[0],I=D[1],T=e.disabled?Object(r.b)({pointerEvents:"none"},b):b;Object(u.a)((function(){var e,t=j.current;t&&("BUTTON"!==(e=t).tagName&&"INPUT"!==e.tagName&&"SELECT"!==e.tagName&&"TEXTAREA"!==e.tagName&&"A"!==e.tagName&&P(!1),function(e){return"BUTTON"===e.tagName||"INPUT"===e.tagName||"SELECT"===e.tagName||"TEXTAREA"===e.tagName}(t)||I(!1))}),[]);var R=y(_,e.disabled),A=y(w,e.disabled),N=y(x,e.disabled),L=Object(i.useCallback)((function(e){var t;null===(t=k.current)||void 0===t||t.call(k,e);var n=e.currentTarget;if(!e.defaultPrevented&&m&&!Object(f.a)(e)&&Object(c.a)(n)){var r=requestAnimationFrame((function(){n.removeEventListener("mouseup",o,!0),g(n)})),o=function(){cancelAnimationFrame(r),g(n)};n.addEventListener("mouseup",o,{once:!0,capture:!0})}}),[]);return Object(r.b)({ref:Object(s.a)(j,n),style:T,tabIndex:v(E,C,M,o),disabled:!(!E||!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=g(n("Koq/")),i=g(n("cDcd")),s=g(n("17x9")),c=g(n("YZDV")),l=g(n("XGBb")),u=n("Hsqg"),d=n("TG4+"),f=g(n("wy2R")),p=n("vV+G"),h=g(n("yc2e")),b=g(n("Ae65")),m=n("Fv1B");function g(e){return e&&e.__esModule?e:{default:e}}function v(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=g(n("xOhs")).default.reactDates.color;function j(e,t){if(!e)return null;var n=e.hover;return t&&n?n:e}var _=s.default.shape({background:s.default.string,border:(0,u.or)([s.default.string,s.default.number]),color:s.default.string,hover:s.default.shape({background:s.default.string,border:(0,u.or)([s.default.string,s.default.number]),color:s.default.string})}),w=(0,u.forbidExtraProps)((0,a.default)({},d.withStylesPropTypes,{day:l.default.momentObj,daySize:u.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:_,outsideStyles:_,todayStyles:_,firstDayOfWeekStyles:_,lastDayOfWeekStyles:_,highlightedCalendarStyles:_,blockedMinNightsStyles:_,blockedCalendarStyles:_,blockedOutOfRangeStyles:_,hoveredSpanStyles:_,selectedSpanStyles:_,lastInRangeStyles:_,selectedStyles:_,selectedStartStyles:_,selectedEndStyles:_,afterHoveredStartStyles:_,phrases:s.default.shape((0,h.default)(p.CalendarDayPhrases))})),k=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"}},x=t.outsideStyles={background:O.outside.backgroundColor,border:0,color:O.outside.color},E=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}},D=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}},I=t.lastInRangeStyles={borderRight:O.core.primary},T=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:k,outsideStyles:x,todayStyles:{},highlightedCalendarStyles:E,blockedMinNightsStyles:S,blockedCalendarStyles:C,blockedOutOfRangeStyles:P,hoveredSpanStyles:D,selectedSpanStyles:M,lastInRangeStyles:I,selectedStyles:T,selectedStartStyles:{},selectedEndStyles:{},afterHoveredStartStyles:{},firstDayOfWeekStyles:{},lastDayOfWeekStyles:{},phrases:p.CalendarDayPhrases},A=function(e){function t(){var e;v(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,c.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,s=t.isOutsideDay,c=t.modifiers,l=t.tabIndex,u=t.renderDayContents,f=t.styles,p=t.phrases,h=t.defaultStyles,m=t.outsideStyles,g=t.todayStyles,v=t.firstDayOfWeekStyles,y=t.lastDayOfWeekStyles,O=t.highlightedCalendarStyles,_=t.blockedMinNightsStyles,w=t.blockedCalendarStyles,k=t.blockedOutOfRangeStyles,x=t.hoveredSpanStyles,E=t.selectedSpanStyles,S=t.lastInRangeStyles,C=t.selectedStyles,P=t.selectedStartStyles,D=t.selectedEndStyles,M=t.afterHoveredStartStyles,I=this.state.isHovered;if(!n)return i.default.createElement("td",null);var T=(0,b.default)(n,o,a,c,p),R=T.daySizeStyles,A=T.useDefaultCursor,N=T.selected,L=T.hoveredSpan,F=T.isOutsideRange,z=T.ariaLabel;return i.default.createElement("td",r({},(0,d.css)(f.CalendarDay,A&&f.CalendarDay__defaultCursor,R,j(h,I),s&&j(m,I),c.has("today")&&j(g,I),c.has("first-day-of-week")&&j(v,I),c.has("last-day-of-week")&&j(y,I),c.has("highlighted-calendar")&&j(O,I),c.has("blocked-minimum-nights")&&j(_,I),c.has("blocked-calendar")&&j(w,I),L&&j(x,I),c.has("after-hovered-start")&&j(M,I),c.has("selected-span")&&j(E,I),c.has("last-in-range")&&j(S,I),N&&j(C,I),c.has("selected-start")&&j(P,I),c.has("selected-end")&&j(D,I),F&&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:l}),u?u(n,c):n.format("D"))}}]),t}(i.default.Component);A.propTypes=w,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)()},HI8u: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)}},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}},"Hx/O":function(e,t,n){"use strict";var r=n("rZ7t"),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)}},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 s=/^\s*class\b/,c=function(e){try{var t=a.call(e);return s.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!c(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!c(e)&&(a.call(e),!0)}catch(e){return!1}}(e);if(c(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 s=t.clone().add(n-1,"months").endOf("month");a&&(s=s.endOf("week"));return!(0,o.default)(e,s)};var r=a(n("h6xH")),o=a(n("Nho6"));function a(e){return e&&e.__esModule?e:{default:e}}},In1I:function(e,t,n){"use strict";var r=n("rZ7t")("%Math.abs%");e.exports=function(e){return r(e)}},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 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 c(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(c(i)).some((function(e,n){var o,i=String(t)+": index "+String(n);return null!=(l=(o=a.default.string).isRequired.apply(o,[s({},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"),s=n("71Og"),c=(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(c.a)(n),h=Object(c.a)(o),b=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(s.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=h.current)||void 0===n||n.call(h,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:b,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("rZ7t")},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,s=/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))px/,c=/^(-?(([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=/^,/,h=/^\#([0-9a-fA-F]+)/,b=/^([a-zA-Z]+)/,m=/^rgb/i,g=/^rgba/i,v=/^(([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=D(_);return y.length>0&&O("Invalid input not EOF"),e}function _(){return w("linear-gradient",e,x)||w("repeating-linear-gradient",t,x)||w("radial-gradient",n,E)||w("repeating-radial-gradient",r,E)}function w(e,t,n){return k(t,(function(t){var r=n();return r&&(N(p)||O("Missing comma before color stops")),{type:e,orientation:r,colorStops:D(M)}}))}function k(e,t){var n=N(e);if(n)return N(d)||O("Missing ("),result=t(n),N(f)||O("Missing )"),result}function x(){return A("directional",o,1)||A("angular",u,1)}function E(){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=T()||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:T(),y:T()};if(e.x||e.y)return{type:"position",value:e}}function D(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",h,1)||k(g,(function(){return{type:"rgba",value:D(I)}}))||k(m,(function(){return{type:"rgb",value:D(I)}}))||A("literal",b,0);return e||O("Expected color definition"),e.length=T(),e}function I(){return N(v)[1]}function T(){return A("%",c,1)||A("position-keyword",i,1)||R()}function R(){return A("px",s,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"),s=n("8R9v"),c=o.apply(i()),l=function(e,t){return c(Object,arguments)};r(l,{getPolyfill:i,implementation:a,shim:s}),e.exports=l},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},L7Wv:function(e,t,n){"use strict";var r=n("WZeS");e.exports=function(e){return arguments.length>1?r(e,arguments[1]):r(e)}},L8Kx:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return s}));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 s({type:e,options:t={},children:n}){return n({className:i({type:e,...t})})}},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,s=t===String?["toString","valueOf"]:["valueOf","toString"];for(i=0;i<s.length;++i)if(a(e[s[i]])&&(n=e[s[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)}},MiSq:function(e,t,n){"use strict";n.d(t,"a",(function(){return b}));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("4qRI"),i=/[A-Z]|^ms/g,s=/_EMO_([^_]+?)_([^]*?)_EMO_/g,c=function(e){return 45===e.charCodeAt(1)},l=function(e){return null!=e&&"boolean"!=typeof e},u=Object(a.a)((function(e){return c(e)?e:e.replace(i,"-$&").toLowerCase()})),d=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(s,(function(e,t,n){return p={name:t,styles:n,next:p},t}))}return 1===o[e]||c(e)||"number"!=typeof t||0===t?t:t+"px"};function f(e,t,n,r){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 o=n.next;if(void 0!==o)for(;void 0!==o;)p={name:o.name,styles:o.styles,next:p},o=o.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],!1);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 s=f(e,t,i,!1);switch(a){case"animation":case"animationName":r+=u(a)+":"+s+";";break;default:r+=a+"{"+s+"}"}}else for(var c=0;c<i.length;c++)l(i[c])&&(r+=u(a)+":"+d(a,i[c])+";")}return r}(e,t,n);case"function":if(void 0!==e){var a=p,i=n(e);return p=a,f(e,t,i,r)}break;case"string":}if(null==t)return n;var s=t[n];return void 0===s||r?n:s}var p,h=/label:\s*([^\s;\n{]+)\s*;/g;var b=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,!1)):a+=i[0];for(var s=1;s<e.length;s++)a+=f(n,t,e[s],46===a.charCodeAt(a.length-1)),o&&(a+=i[s]);h.lastIndex=0;for(var c,l="";null!==(c=h.exec(a));)l+="-"+c[1];return{name:r(a)+l,styles:a,next:p}}},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=v(n("Koq/")),i=v(n("cDcd")),s=v(n("17x9")),c=v(n("YZDV")),l=v(n("XGBb")),u=n("Hsqg"),d=n("TG4+"),f=v(n("wy2R")),p=n("vV+G"),h=v(n("yc2e")),b=v(n("Ae65")),m=v(n("J7JS")),g=n("Fv1B");function v(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:s.default.bool,modifiers:m.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))})),_={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},w=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,c.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,s=t.isOutsideDay,c=t.modifiers,l=t.renderDayContents,u=t.tabIndex,f=t.styles,p=t.phrases;if(!n)return i.default.createElement("td",null);var h=(0,b.default)(n,o,a,c,p),m=h.daySizeStyles,g=h.useDefaultCursor,v=h.selected,y=h.hoveredSpan,O=h.isOutsideRange,j=h.ariaLabel;return i.default.createElement("td",r({},(0,d.css)(f.CalendarDay,g&&f.CalendarDay__defaultCursor,f.CalendarDay__default,s&&f.CalendarDay__outside,c.has("today")&&f.CalendarDay__today,c.has("first-day-of-week")&&f.CalendarDay__firstDayOfWeek,c.has("last-day-of-week")&&f.CalendarDay__lastDayOfWeek,c.has("hovered-offset")&&f.CalendarDay__hovered_offset,c.has("highlighted-calendar")&&f.CalendarDay__highlighted_calendar,c.has("blocked-minimum-nights")&&f.CalendarDay__blocked_minimum_nights,c.has("blocked-calendar")&&f.CalendarDay__blocked_calendar,y&&f.CalendarDay__hovered_span,c.has("selected-span")&&f.CalendarDay__selected_span,c.has("last-in-range")&&f.CalendarDay__last_in_range,c.has("selected-start")&&f.CalendarDay__selected_start,c.has("selected-end")&&f.CalendarDay__selected_end,v&&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,c):n.format("D"))}}]),t}(i.default.Component);w.propTypes=j,w.defaultProps=_,t.PureCalendarDay=w,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:{}}}))(w)},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")),s=M(n("17x9")),c=M(n("YZDV")),l=n("Hsqg"),u=n("TG4+"),d=M(n("wy2R")),f=M(n("DzJC")),p=M(n("LTAC")),h=M(n("3gBW")),b=n("vV+G"),m=M(n("yc2e")),g=M(n("Thzv")),v=M(n("zfJ5")),y=n("1+Kn"),O=M(y),j=M(n("0Dl3")),_=M(n("m2ax")),w=M(n("ixyq")),k=M(n("+51k")),x=M(n("IgE5")),E=M(n("J7JS")),S=M(n("aE6U")),C=M(n("2S2E")),P=M(n("oR9Z")),D=n("Fv1B");function M(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 T=(0,l.forbidExtraProps)((0,a.default)({},u.withStylesPropTypes,{enableOutsideDays:s.default.bool,numberOfMonths:s.default.number,orientation:S.default,withPortal:s.default.bool,onOutsideClick:s.default.func,hidden:s.default.bool,initialVisibleMonth:s.default.func,firstDayOfWeek:C.default,renderCalendarInfo:s.default.func,calendarInfoPosition:P.default,hideKeyboardShortcutsPanel:s.default.bool,daySize:l.nonNegativeInteger,isRTL:s.default.bool,verticalHeight:l.nonNegativeInteger,noBorder:s.default.bool,transitionDuration:l.nonNegativeInteger,verticalBorderSpacing:l.nonNegativeInteger,horizontalMonthPadding:l.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,l.mutuallyExclusiveProps)(s.default.func,"renderMonthText","renderMonthElement"),renderMonthElement:(0,l.mutuallyExclusiveProps)(s.default.func,"renderMonthText","renderMonthElement"),modifiers:s.default.objectOf(s.default.objectOf(E.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,m.default)(b.DayPickerPhrases)),dayAriaLabelFormat:s.default.string})),R=t.defaultProps={enableOutsideDays:!1,numberOfMonths:2,orientation:D.HORIZONTAL_ORIENTATION,withPortal:!1,onOutsideClick:function(){},hidden:!1,initialVisibleMonth:function(){return(0,d.default)()},firstDayOfWeek:null,renderCalendarInfo:null,calendarInfoPosition:D.INFO_POSITION_BOTTOM,hideKeyboardShortcutsPanel:!1,daySize:D.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:b.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,_.default)(e.daySize,a):0;return n.hasSetInitialVisibleMonth=!e.hidden,n.state={currentMonth:r,monthTransition:null,translationValue:i,scrollableMonthMultiple:1,calendarMonthWidth:(0,_.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,w.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,s=this.state.currentMonth;t||this.hasSetInitialVisibleMonth||(this.hasSetInitialVisibleMonth=!0,this.setState({currentMonth:e.initialVisibleMonth()}));var c=this.props,l=c.daySize,u=c.isFocused,d=c.renderMonthText;if(e.daySize!==l&&this.setState({calendarMonthWidth:(0,_.default)(e.daySize,i)}),n!==u)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});a!==d&&this.setState({monthTitleHeight:null})}},{key:"shouldComponentUpdate",value:function(e,t){return(0,c.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,w.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,s=i.focusedDate,c=i.monthTitleHeight;if(this.isHorizontal()&&(n!==e.orientation||r!==e.daySize)){var l=this.calendarMonthWeeks.slice(1,a+1),u=c+Math.max.apply(Math,[0].concat(I(l)))*(r-1)+1;this.adjustDayPickerHeight(u)}e.isFocused||!o||s||this.container.focus()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.setCalendarInfoWidthTimeout)}},{key:"onKeyDown",value:function(e){e.stopPropagation(),D.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 s=a.clone(),c=!1,l=(0,k.default)(),u=function(){l&&l.focus()};switch(e.key){case"ArrowUp":e.preventDefault(),s.subtract(1,"week"),c=this.maybeTransitionPrevMonth(s);break;case"ArrowLeft":e.preventDefault(),r?s.add(1,"day"):s.subtract(1,"day"),c=this.maybeTransitionPrevMonth(s);break;case"Home":e.preventDefault(),s.startOf("week"),c=this.maybeTransitionPrevMonth(s);break;case"PageUp":e.preventDefault(),s.subtract(1,"month"),c=this.maybeTransitionPrevMonth(s);break;case"ArrowDown":e.preventDefault(),s.add(1,"week"),c=this.maybeTransitionNextMonth(s);break;case"ArrowRight":e.preventDefault(),r?s.subtract(1,"day"):s.add(1,"day"),c=this.maybeTransitionNextMonth(s);break;case"End":e.preventDefault(),s.endOf("week"),c=this.maybeTransitionNextMonth(s);break;case"PageDown":e.preventDefault(),s.add(1,"month"),c=this.maybeTransitionNextMonth(s);break;case"?":this.openKeyboardShortcutsPanel(u);break;case"Escape":i?this.closeKeyboardShortcutsPanel():n()}c||this.setState({focusedDate:s})}}},{key:"onPrevMonthClick",value:function(e,t){var n=this.props,r=n.daySize,o=n.isRTL,a=n.numberOfMonths,i=this.state,s=i.calendarMonthWidth,c=i.monthTitleHeight;t&&t.preventDefault();var l=void 0;if(this.isVertical())l=c+this.calendarMonthWeeks[0]*(r-1)+1;else if(this.isHorizontal()){l=s,o&&(l=-2*s);var u=this.calendarMonthWeeks.slice(0,a),d=c+Math.max.apply(Math,[0].concat(I(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,s=i.calendarMonthWidth,c=i.monthTitleHeight;t&&t.preventDefault();var l=void 0;if(this.isVertical()&&(l=-(c+this.calendarMonthWeeks[1]*(a-1)+1)),this.isHorizontal()){l=-s,r&&(l=0);var u=this.calendarMonthWeeks.slice(2,o+2),d=c+Math.max.apply(Math,[0].concat(I(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===D.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,x.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(),s=(0,x.default)(e,r,t);return a!==i&&!s&&(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(),s=(0,x.default)(e,r,t);return a!==i&&!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===D.HORIZONTAL_ORIENTATION}},{key:"isVertical",value:function(){var e=this.props.orientation;return e===D.VERTICAL_ORIENTATION||e===D.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,s=t.isRTL,c=this.state,l=c.currentMonth,u=c.monthTransition,d=c.focusedDate,f=c.nextFocusedDate,p=c.withMouseInteractions,h=c.calendarMonthWidth;if(u){var b=l.clone(),m=this.getFirstDayOfWeek();if("prev"===u){b.subtract(1,"month"),n&&n(b);var g=b.clone().subtract(1,"month"),v=(0,j.default)(g,m);this.calendarMonthWeeks=[v].concat(I(this.calendarMonthWeeks.slice(0,-1)))}else if("next"===u){b.add(1,"month"),r&&r(b);var y=b.clone().add(o,"month"),O=(0,j.default)(y,m);this.calendarMonthWeeks=[].concat(I(this.calendarMonthWeeks.slice(1)),[O])}else"month_selection"===u?a&&a(b):"year_selection"===u&&i&&i(b);var _=null;f?_=f:d||p||(_=this.getFocusedDay(b)),this.setState({currentMonth:b,monthTransition:null,translationValue:s&&this.isHorizontal()?-h:0,nextFocusedDate:null,focusedDate:_},(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),a=r+Math.max.apply(Math,[0].concat(I(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,s=t.phrases,c=t.isRTL;if(o)return null;var l=void 0;return l=a===D.VERTICAL_SCROLLABLE?this.multiplyScrollableMonths:function(t){e.onNextMonthClick(null,t)},i.default.createElement(v.default,{onPrevMonthClick:function(t){e.onPrevMonthClick(null,t)},onNextMonthClick:l,navPrev:n,navNext:r,orientation:a,phrases:s,isRTL:c})}},{key:"renderWeekHeader",value:function(e){var t=this.props,n=t.daySize,o=t.horizontalMonthPadding,a=t.orientation,s=t.weekDayFormat,c=t.styles,l=this.state.calendarMonthWidth,f=a===D.VERTICAL_SCROLLABLE,p={left:e*l},h={marginLeft:-l/2},b={};this.isHorizontal()?b=p:this.isVertical()&&!f&&(b=h);for(var m=this.getFirstDayOfWeek(),g=[],v=0;v<7;v+=1)g.push(i.default.createElement("li",r({key:v},(0,u.css)(c.DayPicker_weekHeader_li,{width:n})),i.default.createElement("small",null,(0,d.default)().day((v+m)%7).format(s))));return i.default.createElement("div",r({},(0,u.css)(c.DayPicker_weekHeader,this.isVertical()&&c.DayPicker_weekHeader__vertical,f&&c.DayPicker_weekHeader__verticalScrollable,b,{padding:"0 "+String(o)+"px"}),{key:"week-"+String(e)}),i.default.createElement("ul",(0,u.css)(c.DayPicker_weekHeader_ul),g))}},{key:"render",value:function(){for(var e=this,t=this.state,n=t.calendarMonthWidth,o=t.currentMonth,a=t.monthTransition,s=t.translationValue,c=t.scrollableMonthMultiple,l=t.focusedDate,d=t.showKeyboardShortcuts,f=t.isTouchDevice,p=t.hasSetHeight,b=t.calendarInfoWidth,m=t.monthTitleHeight,v=this.props,j=v.enableOutsideDays,_=v.numberOfMonths,w=v.orientation,k=v.modifiers,x=v.withPortal,E=v.onDayClick,S=v.onDayMouseEnter,C=v.onDayMouseLeave,P=v.firstDayOfWeek,M=v.renderMonthText,I=v.renderCalendarDay,T=v.renderDayContents,R=v.renderCalendarInfo,A=v.renderMonthElement,N=v.calendarInfoPosition,L=v.hideKeyboardShortcutsPanel,F=v.onOutsideClick,z=v.monthFormat,B=v.daySize,H=v.isFocused,V=v.isRTL,W=v.styles,K=v.theme,U=v.phrases,G=v.verticalHeight,q=v.dayAriaLabelFormat,$=v.noBorder,Y=v.transitionDuration,Z=v.verticalBorderSpacing,X=v.horizontalMonthPadding,J=K.reactDates.spacing.dayPickerHorizontalPadding,Q=this.isHorizontal(),ee=this.isVertical()?1:_,te=[],ne=0;ne<ee;ne+=1)te.push(this.renderWeekHeader(ne));var re=w===D.VERTICAL_SCROLLABLE,oe=void 0;Q?oe=this.calendarMonthGridHeight:!this.isVertical()||re||x||(oe=G||1.75*n);var ae=null!==a,ie=!ae&&H,se=y.BOTTOM_RIGHT;this.isVertical()&&(se=x?y.TOP_LEFT:y.TOP_RIGHT);var ce=Q&&p,le=N===D.INFO_POSITION_TOP,ue=N===D.INFO_POSITION_BOTTOM,de=N===D.INFO_POSITION_BEFORE,fe=N===D.INFO_POSITION_AFTER,pe=de||fe,he=R&&i.default.createElement("div",r({ref:this.setCalendarInfoRef},(0,u.css)(pe&&W.DayPicker_calendarInfo__horizontal)),R()),be=R&&pe?b:0,me=this.getFirstVisibleIndex(),ge=n*_+2*J,ve=ge+be+1,ye={width:Q&&ge,height:oe},Oe={width:Q&&ge},je={width:Q&&ve,marginLeft:Q&&x?-ve/2:null,marginTop:Q&&x?-n/2:null};return i.default.createElement("div",r({role:"application","aria-label":U.calendarLabel},(0,u.css)(W.DayPicker,Q&&W.DayPicker__horizontal,re&&W.DayPicker__verticalScrollable,Q&&x&&W.DayPicker_portal__horizontal,this.isVertical()&&x&&W.DayPicker_portal__vertical,je,!m&&W.DayPicker__hidden,!$&&W.DayPicker__withBorder)),i.default.createElement(h.default,{onOutsideClick:F},(le||de)&&he,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,ce&&W.DayPicker_transitionContainer__horizontal,this.isVertical()&&W.DayPicker_transitionContainer__vertical,re&&W.DayPicker_transitionContainer__verticalScrollable,ye),{ref:this.setTransitionContainerRef}),i.default.createElement(g.default,{setMonthTitleHeight:m?void 0:this.setMonthTitleHeight,translationValue:s,enableOutsideDays:j,firstVisibleMonthIndex:me,initialMonth:o,isAnimating:ae,modifiers:k,orientation:w,numberOfMonths:_*c,onDayClick:E,onDayMouseEnter:S,onDayMouseLeave:C,onMonthChange:this.onMonthChange,onYearChange:this.onYearChange,renderMonthText:M,renderCalendarDay:I,renderDayContents:T,renderMonthElement:A,onMonthTransitionEnd:this.updateStateAfterMonthTransition,monthFormat:z,daySize:B,firstDayOfWeek:P,isFocused:ie,focusedDate:l,phrases:U,isRTL:V,dayAriaLabelFormat:q,transitionDuration:Y,verticalBorderSpacing:Z,horizontalMonthPadding:X}),re&&this.renderNavigation()),!f&&!L&&i.default.createElement(O.default,{block:this.isVertical()&&!x,buttonLocation:se,showKeyboardShortcutsPanel:d,openKeyboardShortcutsPanel:this.openKeyboardShortcutsPanel,closeKeyboardShortcutsPanel:this.closeKeyboardShortcutsPanel,phrases:U}))),(ue||fe)&&he))}}]),t}(i.default.Component);A.propTypes=T,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,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:i.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,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}}},PJYZ:function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.default=e.exports,e.exports.__esModule=!0},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}},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%"),s=o("%Reflect.apply%",!0)||r.call(i,a),c=o("%Object.defineProperty%",!0);if(c)try{c({},"a",{value:1})}catch(e){c=null}e.exports=function(){return s(r,i,arguments)};var l=function(){return s(r,a,arguments)};c?c(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("rZ7t"),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}},"R/b7":function(e,t,n){"use strict";var r=n("In1I"),o=n("4HRn"),a=n("HwJD"),i=n("ald4");e.exports=function(e){if("number"!=typeof e||a(e)||!i(e))return!1;var t=r(e);return o(t)===t}},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 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)}n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return c}))},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:"M18.3 5.6L9.9 16.9l-4.6-3.4-.9 1.2 5.8 4.3 9.3-12.6z"}));t.a=a},RxS6:function(e,t){e.exports=window.wp.keycodes},S0jC:function(e,t,n){"use strict";e.exports=n("laOf")},SB3u:function(e,t,n){"use strict";n.r(t),n.d(t,"SVG",(function(){return o.SVG})),n.d(t,"Path",(function(){return o.Path})),n.d(t,"Circle",(function(){return o.Circle})),n.d(t,"Polygon",(function(){return o.Polygon})),n.d(t,"Rect",(function(){return o.Rect})),n.d(t,"G",(function(){return o.G})),n.d(t,"HorizontalRule",(function(){return o.HorizontalRule})),n.d(t,"BlockQuotation",(function(){return o.BlockQuotation})),n.d(t,"__experimentalAlignmentMatrixControl",(function(){return gt})),n.d(t,"Animate",(function(){return vt.a})),n.d(t,"__unstableGetAnimateClassName",(function(){return vt.b})),n.d(t,"AnglePickerControl",(function(){return Vo})),n.d(t,"Autocomplete",(function(){return Zo})),n.d(t,"__unstableUseAutocompleteProps",(function(){return Yo})),n.d(t,"BaseControl",(function(){return St})),n.d(t,"__experimentalBoxControl",(function(){return fi})),n.d(t,"Button",(function(){return Uo.a})),n.d(t,"ButtonGroup",(function(){return pi})),n.d(t,"Card",(function(){return Di})),n.d(t,"CardBody",(function(){return Ii})),n.d(t,"CardDivider",(function(){return Ti})),n.d(t,"CardFooter",(function(){return Ai})),n.d(t,"CardHeader",(function(){return Li})),n.d(t,"CardMedia",(function(){return Fi})),n.d(t,"CheckboxControl",(function(){return Hi})),n.d(t,"ClipboardButton",(function(){return Vi})),n.d(t,"__experimentalColorEdit",(function(){return ys})),n.d(t,"ColorIndicator",(function(){return Os})),n.d(t,"ColorPalette",(function(){return js})),n.d(t,"ColorPicker",(function(){return bs})),n.d(t,"ComboboxControl",(function(){return Ms})),n.d(t,"__unstableComposite",(function(){return lt})),n.d(t,"__unstableCompositeGroup",(function(){return pt})),n.d(t,"__unstableCompositeItem",(function(){return f.a})),n.d(t,"__unstableUseCompositeState",(function(){return ze})),n.d(t,"CustomSelectControl",(function(){return Tc})),n.d(t,"Dashicon",(function(){return Rc.a})),n.d(t,"DateTimePicker",(function(){return Gc})),n.d(t,"DatePicker",(function(){return Hc})),n.d(t,"TimePicker",(function(){return Uc})),n.d(t,"__experimentalDimensionControl",(function(){return Qc})),n.d(t,"Disabled",(function(){return sl})),n.d(t,"__unstableDisclosureContent",(function(){return ul})),n.d(t,"__experimentalDivider",(function(){return hl})),n.d(t,"Draggable",(function(){return ml})),n.d(t,"DropZone",(function(){return vl})),n.d(t,"DropZoneProvider",(function(){return yl})),n.d(t,"Dropdown",(function(){return $i})),n.d(t,"DropdownMenu",(function(){return Sl})),n.d(t,"DuotoneSwatch",(function(){return Ml})),n.d(t,"DuotonePicker",(function(){return Yl})),n.d(t,"ExternalLink",(function(){return Jl})),n.d(t,"Flex",(function(){return Zt})),n.d(t,"FlexBlock",(function(){return Ht})),n.d(t,"FlexItem",(function(){return Vt})),n.d(t,"FocalPointPicker",(function(){return ku})),n.d(t,"FocusableIframe",(function(){return xu})),n.d(t,"FontSizePicker",(function(){return Qu})),n.d(t,"FormFileUpload",(function(){return ed})),n.d(t,"FormToggle",(function(){return td})),n.d(t,"FormTokenField",(function(){return cd})),n.d(t,"__experimentalGradientPicker",(function(){return kd})),n.d(t,"__experimentalCustomGradientPicker",(function(){return wd})),n.d(t,"__experimentalGrid",(function(){return Ed})),n.d(t,"Guide",(function(){return Vd})),n.d(t,"GuidePage",(function(){return Wd})),n.d(t,"__experimentalHeading",(function(){return Kd})),n.d(t,"__experimentalHStack",(function(){return $d})),n.d(t,"Icon",(function(){return qc.a})),n.d(t,"IconButton",(function(){return Yd})),n.d(t,"__experimentalInputControl",(function(){return Co})),n.d(t,"KeyboardShortcuts",(function(){return es})),n.d(t,"MenuGroup",(function(){return Zd})),n.d(t,"MenuItem",(function(){return Jd})),n.d(t,"MenuItemsChoice",(function(){return Qd})),n.d(t,"Modal",(function(){return Fd})),n.d(t,"ScrollLock",(function(){return ef.a})),n.d(t,"NavigableMenu",(function(){return xl})),n.d(t,"TabbableContainer",(function(){return tf})),n.d(t,"__experimentalNavigation",(function(){return yf})),n.d(t,"__experimentalNavigationBackButton",(function(){return _f})),n.d(t,"__experimentalNavigationGroup",(function(){return kf})),n.d(t,"__experimentalNavigationItem",(function(){return Mf})),n.d(t,"__experimentalNavigationMenu",(function(){return Nf})),n.d(t,"Notice",(function(){return Ff})),n.d(t,"__experimentalNumberControl",(function(){return No})),n.d(t,"NoticeList",(function(){return zf})),n.d(t,"Panel",(function(){return Hf})),n.d(t,"PanelBody",(function(){return Kf})),n.d(t,"PanelHeader",(function(){return Bf})),n.d(t,"PanelRow",(function(){return Uf})),n.d(t,"Placeholder",(function(){return Gf})),n.d(t,"Popover",(function(){return Go.a})),n.d(t,"QueryControls",(function(){return Jf})),n.d(t,"__experimentalRadio",(function(){return sp})),n.d(t,"__experimentalRadioGroup",(function(){return up})),n.d(t,"RadioControl",(function(){return dp})),n.d(t,"RangeControl",(function(){return Ju})),n.d(t,"ResizableBox",(function(){return Gp})),n.d(t,"ResponsiveWrapper",(function(){return qp})),n.d(t,"SandBox",(function(){return $p})),n.d(t,"SelectControl",(function(){return Xc})),n.d(t,"Snackbar",(function(){return Yp.a})),n.d(t,"SnackbarList",(function(){return Xp})),n.d(t,"__experimentalSpacer",(function(){return Qp})),n.d(t,"Spinner",(function(){return rh})),n.d(t,"TabPanel",(function(){return ah})),n.d(t,"__experimentalText",(function(){return En})),n.d(t,"TextControl",(function(){return as})),n.d(t,"TextareaControl",(function(){return dh})),n.d(t,"TextHighlight",(function(){return fh})),n.d(t,"Tip",(function(){return ph})),n.d(t,"ToggleControl",(function(){return hh})),n.d(t,"Toolbar",(function(){return Eh})),n.d(t,"ToolbarButton",(function(){return vh})),n.d(t,"ToolbarDropdownMenu",(function(){return Sh})),n.d(t,"__experimentalToolbarContext",(function(){return mh.a})),n.d(t,"ToolbarGroup",(function(){return jh})),n.d(t,"ToolbarItem",(function(){return bh.a})),n.d(t,"Tooltip",(function(){return p.a})),n.d(t,"__experimentalTreeGrid",(function(){return Ih})),n.d(t,"__experimentalTreeGridRow",(function(){return Th})),n.d(t,"__experimentalTreeGridCell",(function(){return Nh})),n.d(t,"__experimentalTreeGridItem",(function(){return Ah})),n.d(t,"TreeSelect",(function(){return Yf})),n.d(t,"__experimentalTruncate",(function(){return Lh})),n.d(t,"__experimentalUnitControl",(function(){return ma})),n.d(t,"__experimentalUseCustomUnits",(function(){return fa})),n.d(t,"VisuallyHidden",(function(){return h.a})),n.d(t,"__experimentalVStack",(function(){return Fh})),n.d(t,"IsolatedEventContainer",(function(){return Bh})),n.d(t,"createSlotFill",(function(){return Hh.d})),n.d(t,"Slot",(function(){return Hh.c})),n.d(t,"Fill",(function(){return Hh.a})),n.d(t,"SlotFillProvider",(function(){return Hh.b})),n.d(t,"__experimentalUseSlot",(function(){return Vh.a})),n.d(t,"__experimentalStyleProvider",(function(){return Kh})),n.d(t,"navigateRegions",(function(){return qh})),n.d(t,"__unstableUseNavigateRegions",(function(){return Gh})),n.d(t,"withConstrainedTabbing",(function(){return $h})),n.d(t,"withFallbackStyles",(function(){return Yh})),n.d(t,"withFilters",(function(){return Xh})),n.d(t,"withFocusOutside",(function(){return Ps})),n.d(t,"withFocusReturn",(function(){return Jh})),n.d(t,"FocusReturnProvider",(function(){return Qh})),n.d(t,"withNotices",(function(){return tb})),n.d(t,"withSpokenMessages",(function(){return ad})),n.d(t,"__unstableWithNext",(function(){return nb.a})),n.d(t,"__unstableComponentSystemProvider",(function(){return rb}));var r={};n.r(r),n.d(r,"Text",(function(){return fn})),n.d(r,"block",(function(){return pn})),n.d(r,"positive",(function(){return hn})),n.d(r,"destructive",(function(){return bn})),n.d(r,"muted",(function(){return mn})),n.d(r,"highlighterText",(function(){return gn})),n.d(r,"upperCase",(function(){return vn}));var o=n("Tqx9"),a=n("wx14"),i=n("GRId"),s=n("YLtl"),c=n("TSYQ"),l=n.n(c),u=n("l3Sj"),d=n("K9lf"),f=n("kTC8"),p=n("W/NR"),h=n("ldlY");const b=[["top left","top center","top right"],["center left","center center","center right"],["bottom left","bottom center","bottom right"]],m={"top left":Object(u.__)("Top Left"),"top center":Object(u.__)("Top Center"),"top right":Object(u.__)("Top Right"),"center left":Object(u.__)("Center Left"),"center center":Object(u.__)("Center Center"),"center right":Object(u.__)("Center Right"),"bottom left":Object(u.__)("Bottom Left"),"bottom center":Object(u.__)("Bottom Center"),"bottom right":Object(u.__)("Bottom Right")},g=Object(s.flattenDeep)(b);function v(e){return("center"===e?"center center":e).replace("-"," ")}function y(e,t){return`${e}-${v(t).replace(" ","-")}`}var O=n("lSNA"),j=n.n(O),_=n("cDcd"),w=n.n(_),k=n("9uj6");function x(e,t){return(x=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function E(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,x(e,t)}var S=n("TqVZ"),C=(n("VbXa"),n("SIPS")),P=n("MiSq"),D=(Object.prototype.hasOwnProperty,Object(_.createContext)("undefined"!=typeof HTMLElement?Object(S.a)():null)),M=Object(_.createContext)({}),I=D.Provider,T=function(e){var t=function(t,n){return Object(_.createElement)(D.Consumer,null,(function(r){return e(t,r,n)}))};return Object(_.forwardRef)(t)};var R=n("z9I/");var A=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Object(P.a)(t)},N=(_.Component,function e(t){for(var n=t.length,r=0,o="";r<n;r++){var a=t[r];if(null!=a){var i=void 0;switch(typeof a){case"boolean":break;case"object":if(Array.isArray(a))i=e(a);else for(var s in i="",a)a[s]&&s&&(i&&(i+=" "),i+=s);break;default:i=a}i&&(o&&(o+=" "),o+=i)}}return o});function L(e,t,n){var r=[],o=Object(C.a)(e,r,n);return r.length<2?n:o+t(r)}T((function(e,t){return Object(_.createElement)(M.Consumer,null,(function(n){var r=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=Object(P.a)(n,t.registered);return Object(C.b)(t,o,!1),t.key+"-"+o.name},o={css:r,cx:function(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];return L(t.registered,r,N(n))},theme:n},a=e.children(o);return!0,a}))}));var F=k.default,z=function(e){return"theme"!==e&&"innerRef"!==e},B=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?F:z};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 V(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?H(n,!0).forEach((function(t){j()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):H(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var W=function e(t,n){var r,o,a;void 0!==n&&(r=n.label,a=n.target,o=t.__emotion_forwardProp&&n.shouldForwardProp?function(e){return t.__emotion_forwardProp(e)&&n.shouldForwardProp(e)}:n.shouldForwardProp);var i=t.__emotion_real===t,s=i&&t.__emotion_base||t;"function"!=typeof o&&i&&(o=t.__emotion_forwardProp);var c=o||B(s),l=!c("as");return function(){var u=arguments,d=i&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==r&&d.push("label:"+r+";"),null==u[0]||void 0===u[0].raw)d.push.apply(d,u);else{0,d.push(u[0][0]);for(var f=u.length,p=1;p<f;p++)d.push(u[p],u[0][p])}var h=T((function(e,t,n){return Object(_.createElement)(M.Consumer,null,(function(r){var i=l&&e.as||s,u="",f=[],p=e;if(null==e.theme){for(var h in p={},e)p[h]=e[h];p.theme=r}"string"==typeof e.className?u=Object(C.a)(t.registered,f,e.className):null!=e.className&&(u=e.className+" ");var b=Object(P.a)(d.concat(f),t.registered,p);Object(C.b)(t,b,"string"==typeof i);u+=t.key+"-"+b.name,void 0!==a&&(u+=" "+a);var m=l&&void 0===o?B(i):c,g={};for(var v in e)l&&"as"===v||m(v)&&(g[v]=e[v]);return g.className=u,g.ref=n||e.innerRef,Object(_.createElement)(i,g)}))}));return h.displayName=void 0!==r?r:"Styled("+("string"==typeof s?s:s.displayName||s.name||"Component")+")",h.defaultProps=t.defaultProps,h.__emotion_real=h,h.__emotion_base=s,h.__emotion_styles=d,h.__emotion_forwardProp=o,Object.defineProperty(h,"toString",{value:function(){return"."+a}}),h.withComponent=function(t,r){return e(t,void 0!==r?V({},n||{},{},r):n).apply(void 0,d)},h}},K=n("Zss7"),U=n.n(K);function G(e="",t=1){const{r:n,g:r,b:o}=U()(e).toRgb();return`rgba(${n}, ${r}, ${o}, ${t})`}const q={black:"#000",white:"#fff"},$={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"}},Y={900:"#191e23",800:"#23282d",700:"#32373c",600:"#40464d",500:"#555d66",400:"#606a73",300:"#6c7781",200:"#7e8993",150:"#8d96a0",100:"#8f98a1",placeholder:G($.gray[900],.62)},Z={900:G("#000510",.9),800:G("#00000a",.85),700:G("#06060b",.8),600:G("#000913",.75),500:G("#0a1829",.7),400:G("#0a1829",.65),300:G("#0e1c2e",.62),200:G("#162435",.55),100:G("#223443",.5),backgroundFill:G(Y[700],.7)},X={900:G("#304455",.45),800:G("#425863",.4),700:G("#667886",.35),600:G("#7b86a2",.3),500:G("#9197a2",.25),400:G("#95959c",.2),300:G("#829493",.15),200:G("#8b8b96",.1),100:G("#747474",.05)},J={900:"#a2aab2",800:"#b5bcc2",700:"#ccd0d4",600:"#d7dade",500:"#e2e4e7",400:"#e8eaeb",300:"#edeff0",200:"#f3f4f5",100:"#f8f9f9",placeholder:G(q.white,.65)},Q={900:G(q.white,.5),800:G(q.white,.45),700:G(q.white,.4),600:G(q.white,.35),500:G(q.white,.3),400:G(q.white,.25),300:G(q.white,.2),200:G(q.white,.15),100:G(q.white,.1),backgroundFill:G(J[300],.8)},ee={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"}},te={theme:`var( --wp-admin-theme-color, ${ee.wordpress[700]})`,themeDark10:`var( --wp-admin-theme-color-darker-10, ${ee.medium.focus})`},ne={theme:te.theme,background:q.white,backgroundDisabled:J[200],border:$.gray[700],borderFocus:te.themeDark10,borderDisabled:$.gray[400],borderLight:$.gray[200],label:Y[500],textDisabled:Y[150],textDark:q.white,textLight:q.black},re={...q,darkGray:Object(s.merge)({},Y,$.darkGray),darkOpacity:Z,darkOpacityLight:X,mediumGray:$.mediumGray,gray:$.gray,lightGray:Object(s.merge)({},J,$.lightGray),lightGrayLight:Q,blue:Object(s.merge)({},ee,$.blue),alert:{yellow:"#f0b849",red:"#d94f4f",green:"#4ab866"},admin:te,ui:ne};function oe(e="transition"){let t;switch(e){case"transition":t="transition-duration: 0ms;";break;case"animation":t="animation-duration: 1ms;";break;default:t="\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${t};\n\t\t}\n\t`}var ae={name:"1xiracb",styles:"border-radius:2px;box-sizing:border-box;display:grid;grid-template-columns:repeat( 3,1fr );outline:none;"};const ie=()=>ae,se=W("div",{target:"e1od1u4s0",label:"Root"})(ie,";border:1px solid transparent;cursor:pointer;grid-template-columns:auto;",({size:e=92})=>A("grid-template-rows:repeat( 3,calc( ",e,"px / 3 ) );width:",e,"px;"),";"),ce=W("div",{target:"e1od1u4s1",label:"Row"})({name:"1177s8r",styles:"box-sizing:border-box;display:grid;grid-template-columns:repeat( 3,1fr );"}),le=e=>A("background:currentColor;box-sizing:border-box;display:grid;margin:auto;transition:all 120ms linear;",oe("transition")," ",(({isActive:e})=>{const t=e?"0 0 0 2px "+re.black:null,n=e?re.black:re.lightGray[800],r=e?re.black:re.blue.medium.focus;return A("box-shadow:",t,";color:",n,";*:hover > &{color:",r,";}")})(e),""),ue=W("span",{target:"e1od1u4s2",label:"Point"})("height:6px;width:6px;",le,""),de=W("span",{target:"e1od1u4s3",label:"Cell"})({name:"10ro24i",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 fe({isActive:e=!1,value:t,...n}){const r=m[t];return Object(i.createElement)(p.a,{text:r},Object(i.createElement)(f.a,Object(a.a)({as:de,role:"gridcell"},n),Object(i.createElement)(h.a,null,t),Object(i.createElement)(ue,{isActive:e,role:"presentation"})))}var pe=n("BZp5"),he=n("AXvK");function be(e){return Object(_.useState)(e)[0]}var me=n("ouKs");function ge(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(pe.c)(e);!(t=o()).done;)r();return n}function ve(e){for(var t,n=[],r=Object(pe.c)(e);!(t=r()).done;){var o=t.value;n.push.apply(n,o)}return n}function ye(e){return e.slice().reverse()}var Oe=n("iYXd");function je(e,t){if(t)return null==e?void 0:e.find((function(e){return e.id===t&&!e.disabled}))}function _e(e,t){return function(e){return"function"==typeof e}(e)?e(t):e}var we=n("KCH1");function ke(e,t){return Boolean(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)}function xe(e,t){return e.findIndex((function(e){return!(!e.ref.current||!t.ref.current)&&ke(t.ref.current,e.ref.current)}))}function Ee(e){for(var t,n=0,r=Object(pe.c)(e);!(t=r()).done;){var o=t.value.length;o>n&&(n=o)}return n}function Se(e){for(var t=ge(e),n=Ee(t),r=[],o=0;o<n;o+=1)for(var a,i=Object(pe.c)(t);!(a=i()).done;){var s=a.value;s[o]&&r.push(Object(pe.b)(Object(pe.b)({},s[o]),{},{groupId:s[o].groupId?""+o:void 0}))}return r}function Ce(e,t,n){for(var r,o=Ee(e),a=Object(pe.c)(e);!(r=a()).done;)for(var i=r.value,s=0;s<o;s+=1){var c=i[s];if(!c||n&&c.disabled){var l=0===s&&n?Object(Oe.a)(i):i[s-1];i[s]=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 Pe={id:null,ref:{current:null}};function De(e,t){return e.filter((function(e){return e.groupId===t}))}var Me={horizontal:"vertical",vertical:"horizontal"};function Ie(e,t,n){return n in e?[].concat(e.slice(0,n),[t],e.slice(n)):[].concat(e,[t])}function Te(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],s=o.ref.current,c=i.ref.current;return s&&c?ke(s,c)?(r>a&&(n=!0),-1):(r<a&&(n=!0),1):0})),n?t.map((function(e){e[0];return e[1]})):e}function Re(e,t){var n=Te(e);e!==n&&t(n)}function Ae(e,t){var n=Object(_.useRef)([]);Object(_.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(me.a)(o).body}(e),a=new IntersectionObserver((function(){!!n.current.length&&Re(e,t),n.current=e}),{root:o}),i=Object(pe.c)(e);!(r=i()).done;){var s=r.value;s.ref.current&&a.observe(s.ref.current)}return function(){a.disconnect()}}),[e])}function Ne(e,t){"function"==typeof IntersectionObserver?Ae(e,t):function(e,t){Object(_.useEffect)((function(){var n=setTimeout((function(){return Re(e,t)}),250);return function(){return clearTimeout(n)}}))}(e,t)}function Le(e,t){var n=e.unstable_virtual,r=e.rtl,o=e.orientation,a=e.items,i=e.groups,s=e.currentId,c=e.loop,l=e.wrap,u=e.pastIds,d=e.shift,f=e.unstable_moves,p=e.unstable_includesBaseElement,h=e.initialVirtual,b=e.initialRTL,m=e.initialOrientation,g=e.initialCurrentId,v=e.initialLoop,y=e.initialWrap,O=e.initialShift,j=e.hasSetCurrentId;switch(t.type){case"registerGroup":var _=t.group;if(0===i.length)return Object(pe.b)(Object(pe.b)({},e),{},{groups:[_]});var w=xe(i,_);return Object(pe.b)(Object(pe.b)({},e),{},{groups:Ie(i,_,w)});case"unregisterGroup":var k=t.id,x=i.filter((function(e){return e.id!==k}));return x.length===i.length?e:Object(pe.b)(Object(pe.b)({},e),{},{groups:x});case"registerItem":var E,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(pe.b)({groupId:null==C?void 0:C.id},S),D=xe(a,P),M=Object(pe.b)(Object(pe.b)({},e),{},{items:Ie(a,P,D)});return j||f||void 0!==g?M:Object(pe.b)(Object(pe.b)({},M),{},{currentId:null===(E=Object(Oe.a)(M.items))||void 0===E?void 0:E.id});case"unregisterItem":var I=t.id,T=a.filter((function(e){return e.id!==I}));if(T.length===a.length)return e;var R=u.filter((function(e){return e!==I})),A=Object(pe.b)(Object(pe.b)({},e),{},{pastIds:R,items:T});if(s&&s===I){var N=p?null:Object(Oe.b)(Object(pe.b)(Object(pe.b)({},A),{},{currentId:R[0]}));return Object(pe.b)(Object(pe.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!==s&&e!==L})),z=s?[s].concat(F):F,B=Object(pe.b)(Object(pe.b)({},e),{},{pastIds:z});if(null===L)return Object(pe.b)(Object(pe.b)({},B),{},{unstable_moves:f+1,currentId:Object(Oe.b)(B,L)});var H=je(a,L);return Object(pe.b)(Object(pe.b)({},B),{},{unstable_moves:H?f+1:f,currentId:Object(Oe.b)(B,null==H?void 0:H.id)});case"next":if(null==s)return Le(e,Object(pe.b)(Object(pe.b)({},t),{},{type:"first"}));var V=r&&"vertical"!==o,W=V?ye(a):a,K=W.find((function(e){return e.id===s}));if(!K)return Le(e,Object(pe.b)(Object(pe.b)({},t),{},{type:"first"}));var U=!!K.groupId,G=W.indexOf(K),q=W.slice(G+1),$=De(q,K.groupId);if(t.allTheWay){var Y=Object(Oe.a)(V?De(W,K.groupId):ye($));return Le(e,Object(pe.b)(Object(pe.b)({},t),{},{type:"move",id:null==Y?void 0:Y.id}))}var Z=function(e){return e&&Me[e]}(U?o||"horizontal":o),X=c&&c!==Z,J=U&&l&&l!==Z,Q=t.hasNullItem||!U&&X&&p;if(X){var ee=function(e,t,n){var r=e.findIndex((function(e){return e.id===t}));return[].concat(e.slice(r+1),n?[Pe]:[],e.slice(0,r))}(J&&!Q?W:De(W,K.groupId),s,Q),te=Object(Oe.a)(ee,s);return Le(e,Object(pe.b)(Object(pe.b)({},t),{},{type:"move",id:null==te?void 0:te.id}))}if(J){var ne=Object(Oe.a)(Q?$:q,s),re=Q?(null==ne?void 0:ne.id)||null:null==ne?void 0:ne.id;return Le(e,Object(pe.b)(Object(pe.b)({},t),{},{type:"move",id:re}))}var oe=Object(Oe.a)($,s);return Le(e,!oe&&Q?Object(pe.b)(Object(pe.b)({},t),{},{type:"move",id:null}):Object(pe.b)(Object(pe.b)({},t),{},{type:"move",id:null==oe?void 0:oe.id}));case"previous":var ae=!!!i.length&&p,ie=Le(Object(pe.b)(Object(pe.b)({},e),{},{items:ye(a)}),Object(pe.b)(Object(pe.b)({},t),{},{type:"next",hasNullItem:ae}));return Object(pe.b)(Object(pe.b)({},ie),{},{items:a});case"down":var se=d&&!t.allTheWay,ce=Se(ve(Ce(ge(a),s,se))),le=c&&"horizontal"!==c&&p,ue=Le(Object(pe.b)(Object(pe.b)({},e),{},{orientation:"vertical",items:ce}),Object(pe.b)(Object(pe.b)({},t),{},{type:"next",hasNullItem:le}));return Object(pe.b)(Object(pe.b)({},ue),{},{orientation:o,items:a});case"up":var de=d&&!t.allTheWay,fe=Se(ye(ve(Ce(ge(a),s,de)))),he=p,be=Le(Object(pe.b)(Object(pe.b)({},e),{},{orientation:"vertical",items:fe}),Object(pe.b)(Object(pe.b)({},t),{},{type:"next",hasNullItem:he}));return Object(pe.b)(Object(pe.b)({},be),{},{orientation:o,items:a});case"first":var me=Object(Oe.a)(a);return Le(e,Object(pe.b)(Object(pe.b)({},t),{},{type:"move",id:null==me?void 0:me.id}));case"last":var we=Le(Object(pe.b)(Object(pe.b)({},e),{},{items:ye(a)}),Object(pe.b)(Object(pe.b)({},t),{},{type:"first"}));return Object(pe.b)(Object(pe.b)({},we),{},{items:a});case"sort":return Object(pe.b)(Object(pe.b)({},e),{},{items:Te(a),groups:Te(i)});case"setVirtual":return Object(pe.b)(Object(pe.b)({},e),{},{unstable_virtual:_e(t.virtual,n)});case"setRTL":return Object(pe.b)(Object(pe.b)({},e),{},{rtl:_e(t.rtl,r)});case"setOrientation":return Object(pe.b)(Object(pe.b)({},e),{},{orientation:_e(t.orientation,o)});case"setCurrentId":var ke=Object(Oe.b)(Object(pe.b)(Object(pe.b)({},e),{},{currentId:_e(t.currentId,s)}));return Object(pe.b)(Object(pe.b)({},e),{},{currentId:ke,hasSetCurrentId:!0});case"setLoop":return Object(pe.b)(Object(pe.b)({},e),{},{loop:_e(t.loop,c)});case"setWrap":return Object(pe.b)(Object(pe.b)({},e),{},{wrap:_e(t.wrap,l)});case"setShift":return Object(pe.b)(Object(pe.b)({},e),{},{shift:_e(t.shift,d)});case"setIncludesBaseElement":return Object(pe.b)(Object(pe.b)({},e),{},{unstable_includesBaseElement:_e(t.includesBaseElement,p)});case"reset":return Object(pe.b)(Object(pe.b)({},e),{},{unstable_virtual:h,rtl:b,orientation:m,currentId:Object(Oe.b)(Object(pe.b)(Object(pe.b)({},e),{},{currentId:g})),loop:v,wrap:y,shift:O,unstable_moves:0,pastIds:[]});case"setItems":return Object(pe.b)(Object(pe.b)({},e),{},{items:t.items});default:throw new Error}}function Fe(e){return Object(_.useCallback)(e,[])}function ze(e){void 0===e&&(e={});var t=be(e),n=t.unstable_virtual,r=void 0!==n&&n,o=t.rtl,a=void 0!==o&&o,i=t.orientation,s=t.currentId,c=t.loop,l=void 0!==c&&c,u=t.wrap,d=void 0!==u&&u,f=t.shift,p=void 0!==f&&f,h=t.unstable_includesBaseElement,b=function(e){void 0===e&&(e={});var t=be(e).baseId,n=Object(_.useContext)(we.a),r=Object(_.useRef)(0),o=Object(_.useState)((function(){return t||n()}));return{baseId:o[0],setBaseId:o[1],unstable_idCountRef:r}}(Object(pe.a)(t,["unstable_virtual","rtl","orientation","currentId","loop","wrap","shift","unstable_includesBaseElement"])),m=Object(_.useReducer)(Le,{unstable_virtual:r,rtl:a,orientation:i,items:[],groups:[],currentId:s,loop:l,wrap:d,shift:p,unstable_moves:0,pastIds:[],unstable_includesBaseElement:null!=h?h:null===s,initialVirtual:r,initialRTL:a,initialOrientation:i,initialCurrentId:s,initialLoop:l,initialWrap:d,initialShift:p}),g=m[0],v=(g.pastIds,g.initialVirtual,g.initialRTL,g.initialOrientation,g.initialCurrentId,g.initialLoop,g.initialWrap,g.initialShift,g.hasSetCurrentId,Object(pe.a)(g,["pastIds","initialVirtual","initialRTL","initialOrientation","initialCurrentId","initialLoop","initialWrap","initialShift","hasSetCurrentId"])),y=m[1],O=Object(_.useState)(!1),j=O[0],w=O[1],k=function(){var e=Object(_.useRef)(!1);return Object(he.a)((function(){return function(){e.current=!0}}),[]),e}(),x=Object(_.useCallback)((function(e){return y({type:"setItems",items:e})}),[]);return Ne(v.items,x),Object(pe.b)(Object(pe.b)(Object(pe.b)({},b),v),{},{unstable_hasActiveWidget:j,unstable_setHasActiveWidget:w,registerItem:Fe((function(e){k.current||y({type:"registerItem",item:e})})),unregisterItem:Fe((function(e){k.current||y({type:"unregisterItem",id:e})})),registerGroup:Fe((function(e){k.current||y({type:"registerGroup",group:e})})),unregisterGroup:Fe((function(e){k.current||y({type:"unregisterGroup",id:e})})),move:Fe((function(e){return y({type:"move",id:e})})),next:Fe((function(e){return y({type:"next",allTheWay:e})})),previous:Fe((function(e){return y({type:"previous",allTheWay:e})})),up:Fe((function(e){return y({type:"up",allTheWay:e})})),down:Fe((function(e){return y({type:"down",allTheWay:e})})),first:Fe((function(){return y({type:"first"})})),last:Fe((function(){return y({type:"last"})})),sort:Fe((function(){return y({type:"sort"})})),unstable_setVirtual:Fe((function(e){return y({type:"setVirtual",virtual:e})})),setRTL:Fe((function(e){return y({type:"setRTL",rtl:e})})),setOrientation:Fe((function(e){return y({type:"setOrientation",orientation:e})})),setCurrentId:Fe((function(e){return y({type:"setCurrentId",currentId:e})})),setLoop:Fe((function(e){return y({type:"setLoop",loop:e})})),setWrap:Fe((function(e){return y({type:"setWrap",wrap:e})})),setShift:Fe((function(e){return y({type:"setShift",shift:e})})),unstable_setIncludesBaseElement:Fe((function(e){return y({type:"setIncludesBaseElement",includesBaseElement:e})})),reset:Fe((function(){return y({type:"reset"})}))})}var Be=n("hE48"),He=n("qdes"),Ve=n("aU41"),We=(n("KA1K"),n("eNtd")),Ke=n("k2cL"),Ue=n("zGFp"),Ge=n("G3V0"),qe=n("IVEb"),$e=n("I/A+"),Ye=n("khzz");function Ze(e,t,n){return void 0===n&&(n={}),"function"==typeof FocusEvent?new FocusEvent(t,n):Object(Ye.a)(e,t,n)}function Xe(e,t){var n=Ze(e,"blur",t),r=e.dispatchEvent(n),o=Object($e.b)(Object($e.b)({},t),{},{bubbles:!0});return e.dispatchEvent(Ze(e,"focusout",o)),r}var Je=n("SyVe");function Qe(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(me.a)(e).createEvent("KeyboardEvent");return r.initKeyboardEvent(t,n.bubbles,n.cancelable,Object(Je.a)(e),n.key,n.location,n.ctrlKey,n.altKey,n.shiftKey,n.metaKey),r}(e,t,n))}var et=n("+ipW"),tt=n("Nym8"),nt=et.a&&"msCrypto"in window;var rt=n("TFuP"),ot=n("Mih7"),at=et.a&&"msCrypto"in window;function it(e,t,n){var r=Object(We.a)(n);return Object(_.useCallback)((function(n){var o;if(null===(o=r.current)||void 0===o||o.call(r,n),!n.defaultPrevented&&e&&function(e){return!!Object(Ke.a)(e)&&(!e.metaKey&&"Tab"!==e.key)}(n)){var a=null==t?void 0:t.ref.current;a&&(Qe(a,n.type,n)||n.preventDefault(),n.currentTarget.contains(a)&&n.stopPropagation())}}),[e,t])}function st(e,t){return null==e?void 0:e.some((function(e){return!!t&&e.ref.current===t}))}var ct=Object(He.a)({name:"Composite",compose:[Ge.a],keys:rt.a,useOptions:function(e){return Object(pe.b)(Object(pe.b)({},e),{},{currentId:Object(Oe.b)(e)})},useProps:function(e,t){var n=t.ref,r=t.onFocusCapture,o=t.onFocus,a=t.onBlurCapture,i=t.onKeyDown,s=t.onKeyDownCapture,c=t.onKeyUpCapture,l=Object(pe.a)(t,["ref","onFocusCapture","onFocus","onBlurCapture","onKeyDown","onKeyDownCapture","onKeyUpCapture"]),u=Object(_.useRef)(null),d=je(e.items,e.currentId),f=Object(_.useRef)(null),p=Object(We.a)(r),h=Object(We.a)(o),b=Object(We.a)(a),m=Object(We.a)(i),g=function(e){var t=Object(We.a)(e),n=Object(_.useReducer)((function(e){return e+1}),0),r=n[0],o=n[1];return Object(_.useEffect)((function(){var e,n=null===(e=t.current)||void 0===e?void 0:e.ref.current;r&&n&&Object(ot.c)(n)}),[r]),o}(d),v=at?function(e){var t=Object(_.useRef)(null);return Object(_.useEffect)((function(){var n=Object(me.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(_.useEffect)((function(){var t=u.current;e.unstable_moves&&!d&&(null==t||t.focus())}),[e.unstable_moves,d]);var y=it(e.unstable_virtual,d,s),O=it(e.unstable_virtual,d,c),j=Object(_.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==v?void 0:v.current)||t.relatedTarget,o=st(e.items,r);Object(Ke.a)(t)&&o&&(t.stopPropagation(),f.current=r)}}),[e.unstable_virtual,e.items]),w=Object(_.useCallback)((function(t){var n;if(null===(n=h.current)||void 0===n||n.call(h,t),!t.defaultPrevented)if(e.unstable_virtual)Object(Ke.a)(t)&&g();else if(Object(Ke.a)(t)){var r;null===(r=e.setCurrentId)||void 0===r||r.call(e,null)}}),[e.unstable_virtual,e.setCurrentId]),k=Object(_.useCallback)((function(t){var n;if(null===(n=b.current)||void 0===n||n.call(b,t),!t.defaultPrevented&&e.unstable_virtual){var r=(null==d?void 0:d.ref.current)||null,o=function(e){return nt?Object(tt.a)(e.currentTarget):e.relatedTarget}(t),a=st(e.items,o);if(Object(Ke.a)(t)&&a)o===r?f.current&&f.current!==o&&Xe(f.current,t):r&&Xe(r,t),t.stopPropagation();else!st(e.items,t.target)&&r&&Xe(r,t)}}),[e.unstable_virtual,e.items,d]),x=Object(_.useCallback)((function(t){var n,r;if(null===(n=m.current)||void 0===n||n.call(m,t),!t.defaultPrevented&&null===e.currentId&&Object(Ke.a)(t)){var o="horizontal"!==e.orientation,a="vertical"!==e.orientation,i=!(null===(r=e.groups)||void 0===r||!r.length),s={ArrowUp:(i||o)&&function(){if(i){var t,n=(o=e.items,Object(Oe.a)(ve(ye(ge(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];s&&(t.preventDefault(),s())}}),[e.currentId,e.orientation,e.groups,e.items,e.move,e.last,e.first]);return Object(pe.b)({ref:Object(Ve.a)(u,n),id:e.baseId,onFocus:w,onFocusCapture:j,onBlurCapture:k,onKeyDownCapture:y,onKeyDown:x,onKeyUpCapture:O,"aria-activedescendant":e.unstable_virtual&&(null==d?void 0:d.id)||void 0},l)},useComposeProps:function(e,t){t=Object(Ue.a)(e,t,!0);var n=Object(Ge.a)(e,t,!0);return e.unstable_virtual||null===e.currentId?Object(pe.b)({tabIndex:0},n):Object(pe.b)(Object(pe.b)({},t),{},{ref:n.ref})}}),lt=Object(Be.a)({as:"div",useHook:ct,useCreateElement:function(e,t,n){return Object(qe.a)(e,t,n)}}),ut=n("ym77"),dt=Object(He.a)({name:"Group",compose:Ue.a,keys:[],useProps:function(e,t){return Object(pe.b)({role:"group"},t)}}),ft=(Object(Be.a)({as:"div",useHook:dt}),Object(He.a)({name:"CompositeGroup",compose:[dt,ut.a],keys:rt.b,propsAreEqual:function(e,t){if(!t.id||e.id!==t.id)return dt.unstable_propsAreEqual(e,t);var n=e.currentId,r=(e.unstable_moves,Object(pe.a)(e,["currentId","unstable_moves"])),o=t.currentId,a=(t.unstable_moves,Object(pe.a)(t,["currentId","unstable_moves"]));if(e.items&&t.items){var i=je(e.items,n),s=je(t.items,o),c=null==i?void 0:i.groupId,l=null==s?void 0:s.groupId;if(t.id===l||t.id===c)return!1}return dt.unstable_propsAreEqual(r,a)},useProps:function(e,t){var n=t.ref,r=Object(pe.a)(t,["ref"]),o=Object(_.useRef)(null),a=e.id;return Object(he.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(pe.b)({ref:Object(Ve.a)(o,n)},r)}})),pt=Object(Be.a)({as:"div",useHook:ft});W("div",{target:"elqsdmc0",label:"Wrapper"})({name:"co61ta",styles:"box-sizing:border-box;padding:2px;"});const ht=W("div",{target:"elqsdmc1",label:"Root"})("transform-origin:top left;height:100%;width:100%;",ie,";",()=>A({gridTemplateRows:"repeat( 3, calc( 21px / 3))",padding:1.5,maxHeight:24,maxWidth:24},""),";",({disablePointerEvents:e})=>A({pointerEvents:e?"none":null},""),";"),bt=W("span",{target:"elqsdmc2",label:"Point"})("height:2px;width:2px;",le,";",({isActive:e})=>A("box-shadow:",e?"0 0 0 1px currentColor":null,";color:currentColor;*:hover > &{color:currentColor;}"),";"),mt=de;function gt({className:e,id:t,label:n=Object(u.__)("Alignment Matrix Control"),defaultValue:r="center center",value:o,onChange:c=s.noop,width:f=92,...p}){const[h]=Object(i.useState)(null!=o?o:r),m=function(e){const t=Object(d.useInstanceId)(gt,"alignment-matrix-control");return e||t}(t),g=y(m,h),v=ze({baseId:m,currentId:g,rtl:Object(u.isRTL)()});Object(i.useEffect)(()=>{void 0!==o&&v.setCurrentId(y(m,o))},[o,v.setCurrentId]);const O=l()("component-alignment-matrix-control",e);return Object(i.createElement)(lt,Object(a.a)({},p,v,{"aria-label":n,as:se,className:O,role:"grid",width:f}),b.map((e,t)=>Object(i.createElement)(pt,Object(a.a)({},v,{as:ce,role:"row",key:t}),e.map(e=>{const t=y(m,e),n=v.currentId===t;return Object(i.createElement)(fe,Object(a.a)({},v,{id:t,isActive:n,key:e,value:e,onFocus:()=>{c(e)},tabIndex:n?0:-1}))}))))}gt.Icon=function({className:e,disablePointerEvents:t=!0,size:n=24,style:r={},value:o="center",...s}){const c=function(e="center"){const t=v(e).replace("-"," "),n=g.indexOf(t);return n>-1?n:void 0}(o),u=(n/24).toFixed(2),d=l()("component-alignment-matrix-control-icon",e),f={...r,transform:`scale(${u})`};return Object(i.createElement)(ht,Object(a.a)({},s,{className:d,disablePointerEvents:t,role:"presentation",size:n,style:f}),g.map((e,t)=>{const n=c===t;return Object(i.createElement)(mt,{key:e},Object(i.createElement)(bt,{isActive:n}))}))};var vt=n("L8Kx"),yt={"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 Ot(e){return Object(s.get)(yt,e,"")}function jt(e=1){return isNaN(e)?"8px":8*e+"px"}const _t=W("div",{target:"e1puf3u0",label:"Wrapper"})("font-family:",Ot("default.fontFamily"),";font-size:",Ot("default.fontSize"),";"),wt=W("div",{target:"e1puf3u1",label:"StyledField"})("margin-bottom:",jt(1),";.components-panel__row &{margin-bottom:inherit;}"),kt=W("label",{target:"e1puf3u2",label:"StyledLabel"})("display:inline-block;margin-bottom:",jt(1),";"),xt=W("p",{target:"e1puf3u3",label:"StyledHelp"})("font-size:",Ot("helpText.fontSize"),";font-style:normal;color:",re.mediumGray.text,";");function Et({id:e,label:t,hideLabelFromVision:n,help:r,className:o,children:a}){return Object(i.createElement)(_t,{className:l()("components-base-control",o)},Object(i.createElement)(wt,{className:"components-base-control__field"},t&&e&&(n?Object(i.createElement)(h.a,{as:"label",htmlFor:e},t):Object(i.createElement)(kt,{className:"components-base-control__label",htmlFor:e},t)),t&&!e&&(n?Object(i.createElement)(h.a,{as:"label"},t):Object(i.createElement)(Et.VisualLabel,null,t)),a),!!r&&Object(i.createElement)(xt,{id:e+"__help",className:"components-base-control__help"},r))}Et.VisualLabel=({className:e,children:t})=>(e=l()("components-base-control__label",e),Object(i.createElement)("span",{className:e},t));var St=Et,Ct=n("7Jlx");const Pt=W("div",{target:"em57xhy0",label:"View"})("");Pt.displayName="View";var Dt=Pt;const Mt=({as:e,name:t,useHook:n,memo:r=!1})=>{function o(t,r){const o=n(t);return Object(i.createElement)(Dt,Object(a.a)({as:e||"div"},o,{ref:r}))}return o.displayName=t,Object(Ct.a)(o,t,{memo:r})};var It=n("C6yU"),Tt=n("kDDq");const Rt=Object(i.createContext)({flexItemDisplay:void 0});const At=Object(Tt.a)({name:"142v397-Flex",styles:"display:flex;;label:Flex;"}),Nt=Object(Tt.a)({name:"1636tkh-Item",styles:"display:block;max-height:100%;max-width:100%;min-height:0;min-width:0;;label:Item;"}),Lt=Object(Tt.a)({name:"jhhyjf-block",styles:"flex:1;;label:block;"}),Ft=Object(Tt.a)({name:"1u16kd2-ItemsColumn",styles:"> *{min-height:0;};label:ItemsColumn;"}),zt=Object(Tt.a)({name:"1yewyqa-ItemsRow",styles:"> *{min-width:0;};label:ItemsRow;"});function Bt(e){const{className:t,display:n,isBlock:r=!1,...o}=Object(It.a)(e,"FlexItem"),a={},s=Object(i.useContext)(Rt).flexItemDisplay;a.Base=Object(Tt.a)({display:n||s},"");return{...o,className:Object(Tt.b)(Nt,a.Base,r&&Lt,t)}}var Ht=Mt({as:"div",useHook:function(e){return Bt({isBlock:!0,...Object(It.a)(e,"FlexBlock")})},name:"FlexBlock"});var Vt=Mt({as:"div",useHook:Bt,name:"FlexItem"}),Wt=n("NMb1"),Kt=n.n(Wt);const Ut=["40em","52em","64em"],Gt=(e={})=>{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>Ut.length-1)throw new RangeError(`Default breakpoint index out of range. Theme has ${Ut.length} breakpoints, got index ${t}`);const[n,r]=Object(i.useState)(t);return Object(i.useEffect)(()=>{const e=()=>{const e=Ut.filter(e=>"undefined"!=typeof window&&window.matchMedia(`screen and (min-width: ${e})`).matches).length;n!==e&&r(e)};return e(),"undefined"!=typeof document&&document.addEventListener("resize",e),()=>{"undefined"!=typeof document&&document.removeEventListener("resize",e)}},[n]),n};function qt(e,t={}){const n=Gt(t);if(!Array.isArray(e)&&"function"!=typeof e)return e;const r=e||[];return r[n>=r.length?r.length-1:n]}function $t(e){return"number"==typeof e?`calc(4px * ${e})`:e}function Yt(e){const{align:t="center",className:n,direction:r="row",expanded:o=!0,gap:a=2,justify:s="space-between",wrap:c=!1,...l}=Object(It.a)(function({isReversed:e,...t}){return void 0!==e?(Kt()("Flex isReversed",{alternative:'Flex direction="row-reverse" or "column-reverse"',since:"5.9"}),{...t,direction:e?"row-reverse":"row"}):t}(e),"Flex"),u=qt(Array.isArray(r)?r:[r]),d="string"==typeof u&&!!u.includes("column"),f="string"==typeof u&&u.includes("reverse");return{...l,className:Object(i.useMemo)(()=>{const e={};return e.Base=Object(Tt.a)({alignItems:d?"normal":t,flexDirection:u,flexWrap:c?"wrap":void 0,justifyContent:s,height:d&&o?"100%":void 0,width:!d&&o?"100%":void 0,marginBottom:c?`calc(${$t(a)} * -1)`:void 0},""),e.Items=Object(Tt.a)({"> * + *:not(marquee)":{marginTop:d?$t(a):void 0,marginRight:!d&&f?$t(a):void 0,marginLeft:d||f?void 0:$t(a)}},""),e.WrapItems=Object(Tt.a)({"> *:not(marquee)":{marginBottom:$t(a),marginLeft:!d&&f?$t(a):void 0,marginRight:d||f?void 0:$t(a)},"> *:last-child:not(marquee)":{marginLeft:!d&&f?0:void 0,marginRight:d||f?void 0:0}},""),Object(Tt.b)(At,e.Base,c?e.WrapItems:e.Items,d?Ft:zt,n)},[t,n,u,o,a,d,f,s,c]),isColumn:d}}var Zt=Object(Ct.a)((function(e,t){const{children:n,isColumn:r,...o}=Yt(e);return Object(i.createElement)(Rt.Provider,{value:{flexItemDisplay:r?"block":void 0}},Object(i.createElement)(Dt,Object(a.a)({},o,{ref:t}),n))}),"Flex");const Xt=Object(Tt.a)({name:"w4wjp3-Truncate",styles:"display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;;label:Truncate;"}),Jt="…",Qt={auto:"auto",head:"head",middle:"middle",tail:"tail",none:"none"},en={ellipsis:Jt,ellipsizeMode:Qt.auto,limit:0,numberOfLines:0};function tn(e="",t){const n={...en,...t},{ellipsis:r,ellipsizeMode:o,limit:a}=n;if(o===Qt.none)return e;let i,c;switch(o){case Qt.head:i=0,c=a;break;case Qt.middle:i=Math.floor(a/2),c=Math.floor(a/2);break;default:i=a,c=0}return o!==Qt.auto?function(e,t,n,r){if("string"!=typeof e)return"";const o=e.length,a=~~t,i=~~n,c=Object(s.isNil)(r)?Jt: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)}(e,i,c,r):e}function nn(e){const{className:t,children:n,ellipsis:r=Jt,ellipsizeMode:o=Qt.auto,limit:a=0,numberOfLines:s=0,...c}=Object(It.a)(e,"Truncate"),l=tn("string"==typeof n?n:"",{ellipsis:r,ellipsizeMode:o,limit:a,numberOfLines:s}),u=o===Qt.auto;return{...c,className:Object(i.useMemo)(()=>{const e={};return e.numberOfLines=Object(Tt.a)("-webkit-box-orient:vertical;-webkit-line-clamp:",s,";display:-webkit-box;overflow:hidden;"),Object(Tt.b)(u&&!s&&Xt,u&&!!s&&e.numberOfLines,t)},[t,s,u]),children:l}}var rn=n("4eJC"),on=n.n(rn);let an;const sn=on()((function(e){var t,n;if("string"!=typeof e)return"";if("string"==typeof(n=e)&&U()(n).isValid())return e;if(!e.includes("var("))return"";if("undefined"==typeof document)return"";const r=function(){if("undefined"!=typeof document){if(!an){const e=document.createElement("div");e.setAttribute("data-g2-color-computation-node",""),document.body.appendChild(e),an=e}return an}}();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 cn(e){return"#000000"===function(e){const t=sn(e);return U.a.isReadable(t,"#000000")?"#000000":"#ffffff"}(e)?"dark":"light"}const ln=$t(3),un=$t(3);var dn={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",controlHeight:"30px",controlHeightLarge:"calc( 30px * 1.2 )",controlHeightSmall:"calc( 30px * 0.8 )",controlHeightXSmall:"calc( 30px * 0.6 )",cardBorderRadius:"2px",cardPaddingX:ln,cardPaddingY:un,cardPadding:`${ln} ${un}`,cardHeaderFooterPaddingY:$t(1),cardHeaderHeight:"44px",surfaceBackgroundColor:re.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:re.white,surfaceColor:re.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 fn=Object(Tt.a)("color:",re.black,";line-height:",dn.fontLineHeightBase,";margin:0;;label:Text;"),pn=Object(Tt.a)({name:"w2ur5d-block",styles:"display:block;;label:block;"}),hn=Object(Tt.a)("color:",re.alert.green,";;label:positive;"),bn=Object(Tt.a)("color:",re.alert.red,";;label:destructive;"),mn=Object(Tt.a)("color:",re.mediumGray.text,";;label:muted;"),gn=Object(Tt.a)("mark{background:",re.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;};label:highlighterText;"),vn=Object(Tt.a)({name:"a0nhhd-upperCase",styles:"text-transform:uppercase;;label:upperCase;"});var yn=n("5V/u");const On=on()(e=>{const t={};for(const n in e)t[n.toLowerCase()]=e[n];return t});const jn={body:13,caption:10,footnote:11,largeTitle:28,subheadline:12,title:20},_n=[1,2,3,4,5,6].flatMap(e=>[e,e.toString()]);function wn(e=13){if(e in jn)return wn(jn[e]);if("number"!=typeof e){const t=parseFloat(e);if(Number.isNaN(t))return e;e=t}return`calc(${`(${e} / 13)`} * ${dn.fontSize})`}function kn(e=3){if(!_n.includes(e))return wn(e);return dn["fontSizeH"+e]}function xn(e){const{adjustLineHeightForInnerControls:t,align:n,children:o,className:a,color:c,ellipsizeMode:l,isDestructive:u=!1,display:d,highlightEscape:f=!1,highlightCaseSensitive:p=!1,highlightWords:h,highlightSanitize:b,isBlock:m=!1,letterSpacing:g,lineHeight:v,optimizeReadabilityFor:y,size:O,truncate:j=!1,upperCase:_=!1,variant:w,weight:k=dn.fontWeight,...x}=Object(It.a)(e,"Text");let E=o;const S=Array.isArray(h),C="caption"===O;if(S){if("string"!=typeof o)throw new TypeError("`children` of `Text` must only be `string` types when `highlightWords` is defined");E=function({activeClassName:e="",activeIndex:t=-1,activeStyle:n,autoEscape:r,caseSensitive:o=!1,children:a,findChunks:s,highlightClassName:c="",highlightStyle:l={},highlightTag:u="mark",sanitize:d,searchWords:f=[],unhighlightClassName:p="",unhighlightStyle:h}){if(!a)return null;if("string"!=typeof a)return a;const b=a,m=Object(yn.findAll)({autoEscape:r,caseSensitive:o,findChunks:s,sanitize:d,searchWords:f,textToHighlight:b}),g=u;let v,y=-1,O="";return m.map((r,a)=>{const s=b.substr(r.start,r.end-r.start);if(r.highlight){let r;y++,r="object"==typeof c?o?c[s]:(c=On(c))[s.toLowerCase()]:c;const u=y===+t;O=`${r} ${u?e:""}`,v=!0===u&&null!==n?Object.assign({},l,n):l;const d={children:s,className:O,key:a,style:v};return"string"!=typeof g&&(d.highlightIndex=y),Object(i.createElement)(g,d)}return Object(i.createElement)("span",{children:s,className:p,key:a,style:h})})}({autoEscape:f,children:o,caseSensitive:p,searchWords:h,sanitize:b})}let P;!0===j&&(P="auto"),!1===j&&(P="none");const D=nn({...x,className:Object(i.useMemo)(()=>{const e={},o=function(e,t){if(t)return t;if(!e)return;let n=`calc(${dn.controlHeight} + ${$t(2)})`;switch(e){case"large":n=`calc(${dn.controlHeightLarge} + ${$t(2)})`;break;case"small":n=`calc(${dn.controlHeightSmall} + ${$t(2)})`;break;case"xSmall":n=`calc(${dn.controlHeightXSmall} + ${$t(2)})`}return n}(t,v);if(e.Base=Object(Tt.a)({color:c,display:d,fontSize:wn(O),fontWeight:k,lineHeight:o,letterSpacing:g,textAlign:n},""),e.upperCase=Object(Tt.a)({name:"1lejymi",styles:"text-transform:uppercase;"}),e.optimalTextColor=null,y){const t="dark"===cn(y);e.optimalTextColor=t?Object(Tt.a)({color:re.black},""):Object(Tt.a)({color:re.white},"")}return Object(Tt.b)(fn,e.Base,e.optimalTextColor,u&&bn,!!S&&gn,m&&pn,C&&mn,w&&r[w],_&&e.upperCase,a)},[t,n,a,c,d,m,C,u,S,g,v,y,O,_,w,k]),children:o,ellipsizeMode:l||P});return!j&&Array.isArray(o)&&(E=i.Children.map(o,e=>{if(!Object(s.isPlainObject)(e)||!("props"in e))return e;return Object(Ct.b)(e,["Link"])?Object(i.cloneElement)(e,{size:e.props.size||"inherit"}):e})),{...D,children:j?D.children:E}}var En=Mt({as:"span",useHook:xn,name:"Text"});const Sn=new RegExp(/-left/g),Cn=new RegExp(/-right/g),Pn=new RegExp(/Left/g),Dn=new RegExp(/Right/g);const Mn=(e={})=>Object(s.mapKeys)(e,(e,t)=>function(e){return"left"===e?"right":"right"===e?"left":Sn.test(e)?e.replace(Sn,"-right"):Cn.test(e)?e.replace(Cn,"-left"):Pn.test(e)?e.replace(Pn,"Right"):Dn.test(e)?e.replace(Dn,"Left"):e}(t));function In(e={},t){return()=>t?Object(u.isRTL)()?A(t,""):A(e,""):Object(u.isRTL)()?A(Mn(e),""):A(e,"")}var Tn={name:"1dacand",styles:"padding-top:0;"};const Rn=()=>Tn;var An={name:"r6z5ec",styles:"z-index:1;"};const Nn=({isFocused:e})=>e?An:"";var Ln={name:"uz6002",styles:"align-items:flex-start;flex-direction:column;"},Fn={name:"53hdd7",styles:"align-items:flex-start;flex-direction:column-reverse;"},zn={name:"x4dmss",styles:"justify-content:space-between;"};const Bn=({labelPosition:e})=>{switch(e){case"top":return Ln;case"bottom":return Fn;case"edge":return zn;default:return""}},Hn=W(Zt,{target:"e1cr7zh10",label:"Root"})("position:relative;border-radius:2px;",Rn," ",Nn," ",Bn,"");var Vn={name:"1ibawvu",styles:"margin:0 !important;"};var Wn={name:"8atqhb",styles:"width:100%;"};const Kn=W("div",{target:"e1cr7zh11",label:"Container"})("align-items:center;box-sizing:border-box;border-radius:inherit;display:flex;flex:1;position:relative;",({disabled:e})=>{const t=e?re.ui.backgroundDisabled:re.ui.background;return A({backgroundColor:t},"")}," ",({hideLabel:e})=>e?Vn:null," ",({__unstableInputWidth:e,labelPosition:t})=>e?"side"===t?"":A("edge"===t?{flex:"0 0 "+e}:{width:e},""):Wn,"");var Un={name:"103r1kr",styles:"&::-webkit-input-placeholder{line-height:normal;}"};const Gn=W("input",{target:"e1cr7zh12",label:"Input"})("&&&{background-color:transparent;box-sizing:border-box;border:none;box-shadow:none !important;color:",re.black,";display:block;margin:0;outline:none;padding-left:8px;padding-right:8px;width:100%;",({isDragging:e,dragCursor:t})=>{let n="",r="";return e&&(n=A("cursor:",t,";user-select:none;&::-webkit-outer-spin-button,&::-webkit-inner-spin-button{-webkit-appearance:none !important;margin:0 !important;}")),e&&t&&(r=A("&:active{cursor:",t,";}")),A(n," ",r,"")}," ",({disabled:e})=>e?A({color:re.ui.textDisabled},""):""," ",({size:e})=>{const t={default:"13px",small:"11px"}[e];return t?A("font-size:","16px",";@media ( min-width:600px ){font-size:",t,";}"):""}," ",({size:e})=>{const t={default:{height:30,lineHeight:1,minHeight:30},small:{height:24,lineHeight:1,minHeight:24}};return A(t[e]||t.default,"")}," ",()=>Un,"}");var qn={name:"8uhtka",styles:"overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"};const $n=()=>qn,Yn=({labelPosition:e})=>{let t=4;return"edge"!==e&&"side"!==e||(t=0),A({paddingTop:0,paddingBottom:t},"")},Zn=W(En,{target:"e1cr7zh13",label:"BaseLabel"})("&&&{box-sizing:border-box;color:currentColor;display:block;margin:0;max-width:100%;z-index:1;",Yn," ",$n,"}"),Xn=e=>Object(i.createElement)(Zn,Object(a.a)({},e,{as:"label"})),Jn=W(Vt,{target:"e1cr7zh14",label:"LabelWrapper"})({name:"120o8im",styles:"max-width:calc( 100% - 10px );"}),Qn=W("div",{target:"e1cr7zh15",label:"BackdropUI"})("&&&{box-sizing:border-box;border-radius:inherit;bottom:0;left:0;margin:0;padding:0;pointer-events:none;position:absolute;right:0;top:0;",({disabled:e,isFocused:t})=>{let n=t?re.ui.borderFocus:re.ui.border,r=null;return t&&(r=`0 0 0 1px ${re.ui.borderFocus} inset`),e&&(n=re.ui.borderDisabled),A({boxShadow:r,borderColor:n,borderStyle:"solid",borderWidth:1},"")}," ",In({paddingLeft:2}),"}"),er=W("span",{target:"e1cr7zh16",label:"Prefix"})({name:"1pxuk39",styles:"box-sizing:border-box;display:block;"}),tr=W("span",{target:"e1cr7zh17",label:"Suffix"})({name:"1pxuk39",styles:"box-sizing:border-box;display:block;"});var nr=Object(i.memo)((function({disabled:e=!1,isFocused:t=!1}){return Object(i.createElement)(Qn,{"aria-hidden":"true",className:"components-input-control__backdrop",disabled:e,isFocused:t})}));function rr({children:e,hideLabelFromVision:t,htmlFor:n,...r}){return e?t?Object(i.createElement)(h.a,{as:"label",htmlFor:n},e):Object(i.createElement)(Xn,Object(a.a)({htmlFor:n},r),e):null}function or({__unstableInputWidth:e,children:t,className:n,disabled:r=!1,hideLabelFromVision:o=!1,labelPosition:s,id:c,isFocused:l=!1,label:u,prefix:f,size:p="default",suffix:h,...b},m){const g=function(e){const t=Object(d.useInstanceId)(or);return e||"input-base-control-"+t}(c),v=o||!u;return Object(i.createElement)(Hn,Object(a.a)({},b,function({labelPosition: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}({labelPosition:s}),{className:n,isFocused:l,labelPosition:s,ref:m,__unstableVersion:"next"}),Object(i.createElement)(Jn,null,Object(i.createElement)(rr,{className:"components-input-control__label",hideLabelFromVision:o,labelPosition:s,htmlFor:g,size:p},u)),Object(i.createElement)(Kn,{__unstableInputWidth:e,className:"components-input-control__container",disabled:r,hideLabel:v,isFocused:l,labelPosition:s},f&&Object(i.createElement)(er,{className:"components-input-control__prefix"},f),t,h&&Object(i.createElement)(tr,{className:"components-input-control__suffix"},h),Object(i.createElement)(nr,{"aria-hidden":"true",disabled:r,isFocused:l,label:u,size:p})))}var ar=Object(i.forwardRef)(or);function ir(e,t){return e.map((function(e,n){return e+t[n]}))}function sr(e,t){return e.map((function(e,n){return e-t[n]}))}function cr(e){return Math.hypot.apply(Math,e)}function lr(e,t,n){var r=cr(t),o=0===r?0:1/r,a=0===n?0:1/n,i=a*r,s=t.map((function(e){return a*e})),c=t.map((function(e){return o*e}));return{velocities:s,velocity:i,distance:cr(e),direction:c}}function ur(e){return Math.sign?Math.sign(e):Number(e>0)-Number(e<0)||+e}function dr(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 fr(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?-dr(t-e,n-t,r)+t:e>n?+dr(e-n,n-t,r)+n:e}function pr(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 hr(){return(hr=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 br(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function mr(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 gr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vr(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 yr(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 vr(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)?vr(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 Or(){}function jr(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?Or:1===t.length?t[0]:function(){for(var e,n,r=yr(t);!(n=r()).done;){var o=n.value;e=o.apply(this,arguments)||e}return e}}function _r(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 wr(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 kr(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],s=a[1];switch(typeof s){case"function":n[i]=s.call(n,e[i],i,e);break;case"object":n[i]=kr(e[i],s);break;case"boolean":s&&(n[i]=e[i])}}return n}function xr(){return"undefined"!=typeof window&&"ontouchstart"in window}function Er(e){return"pointerId"in e?null:"touchend"===e.type?e.changedTouches:e.targetTouches}function Sr(e){return Array.from(Er(e)).map((function(e){return e.identifier}))}function Cr(e){return{buttons:"buttons"in e?e.buttons:0,shiftKey:e.shiftKey,altKey:e.altKey,metaKey:e.metaKey,ctrlKey:e.ctrlKey}}var Pr=function(e){return e};function Dr(e,t){void 0===t&&(t=Pr);var n=Er(e),r=n?n[0]:e;return t([r.clientX,r.clientY])}var Mr={threshold:function(e){return void 0===e&&(e=0),_r(e)},rubberband:function(e){switch(void 0===e&&(e=0),e){case!0:return _r(.15);case!1:return _r(0);default:return _r(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:_r(e)},transform:!0},Ir=hr({},Mr,{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 Ir.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,s=void 0===i?-1/0:i,c=t.bottom;return[[r,a],[s,void 0===c?1/0:c]]}}),Tr="undefined"!=typeof window&&window.document&&window.document.createElement,Rr={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=Tr?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},Ar=hr({},Ir,{useTouch:function(e){void 0===e&&(e=!1);var t=xr(),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,s=n.axis,c=_r(e,o?3:i||(void 0===s?void 0:s)?1:0);return this.filterTaps=o,c},swipeVelocity:function(e){return void 0===e&&(e=.5),_r(e)},swipeDistance:function(e){return void 0===e&&(e=50),_r(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 Nr(e){return void 0===e&&(e={}),kr(e,Rr)}function Lr(e){return void 0===e&&(e={}),kr(e,Ar)}function Fr(e){var t=e.domTarget,n=e.eventOptions,r=e.window,o=e.enabled,a=mr(e,["domTarget","eventOptions","window","enabled"]),i=Nr({domTarget:t,eventOptions:n,window:r,enabled:o});return i.hover=hr({enabled:!0},a),i}function zr(e){var t=e.domTarget,n=e.eventOptions,r=e.window,o=e.enabled,a=mr(e,["domTarget","eventOptions","window","enabled"]),i=Nr({domTarget:t,eventOptions:n,window:r,enabled:o});return i.drag=Lr(a),i}function Br(e){return hr({_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:Or,canceled:!1,memo:void 0,args:void 0},e)}function Hr(){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:Br({_pointerId:void 0,axis:void 0,xy:[0,0],vxvy:[0,0],velocity:0,distance:0,tap:!1,swipe:[0,0]}),pinch:Br({_pointerIds:[],da:[0,0],vdva:[0,0],origin:void 0,turns:0}),wheel:Br({axis:void 0,xy:[0,0],vxvy:[0,0],velocity:0,distance:0}),move:Br({axis:void 0,xy:[0,0],vxvy:[0,0],velocity:0,distance:0}),scroll:Br({axis:void 0,xy:[0,0],vxvy:[0,0],velocity:0,distance:0})}}var Vr=new Map,Wr=function(e){return e},Kr=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=hr({},n.controller.state.shared,n.state,n.mapStateValues(n.state),{locked:!!document.pointerLockElement,touches:o,down:a}),s=n.handler(i);return n.state.memo=void 0!==s?s: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,s=n.lastOffset,c=n.movement,l=n._threshold,u=this.getInternalMovement(e,this.state),d=!1===i[0]?Ur(u[0],l[0]):i[0],f=!1===i[1]?Ur(u[1],l[1]):i[1],p=this.checkIntentionality([d,f],u);if(p._blocked)return hr({},p,{_movement:u,delta:[0,0]});var h=p._intentional,b=u,m=[!1!==h[0]?u[0]-h[0]:0,!1!==h[1]?u[1]-h[1]:0],g=ir(m,s),v=a?t:[0,0];return m=Gr(r,ir(m,o),v),hr({},p,{intentional:!1!==h[0]||!1!==h[1],_initial:o,_movement:b,movement:m,values:e,offset:Gr(r,g,v),delta:sr(m,c)})},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||Wr}}])&&pr(t.prototype,n),r&&pr(t,r),e}();function Ur(e,t){return Math.abs(e)>=t&&ur(e)*t}function Gr(e,t,n){var r=t[0],o=t[1],a=n[0],i=n[1],s=e[0],c=s[0],l=s[1],u=e[1],d=u[0],f=u[1];return[fr(r,c,l,a),fr(o,d,f,i)]}function qr(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 $r(e,t,n,r){var o=e.state,a=e.config,i=e.stateKey,s=e.args,c=e.transform,l=o.offset,u=n.timeStamp,d=a.initial,f=a.bounds,p=sr(c(a.threshold),c([0,0])).map(Math.abs),h=hr({},Hr()[i],{_active:!0,args:s,values:t,initial:null!=r?r:t,_threshold:p,offset:l,lastOffset:l,startTime:u});return hr({},h,{_initial:wr(d,h),_bounds:wr(f,h)})}var Yr=function(e){var t=this;this.classes=e,this.pointerIds=new Set,this.touchIds=new Set,this.supportsTouchEvents=xr(),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=yr(t.classes);!(o=i()).done;){var s=o.value;new s(t,n).addBindings(a)}var c=function(e){oo(a,e,(function(r){return t.nativeRefs[e](hr({},t.state.shared,{event:r,args:n}))}))};for(var l in t.nativeRefs)c(l);return t.config.domTarget?eo(t,a):to(t,a)},this.effect=function(){return t.config.domTarget&&t.bind(),t.clean},this.clean=function(){var e=ro(t.config),n=t.config.eventOptions;e&&io(e,no(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];io(n,i,r)}e.windowListeners={}}(t)},this.classes=e,this.state=Hr(),this.timeouts={},this.domListeners=[],this.windowListeners={}};function Zr(e,t){"pointerId"in t?e.pointerIds.add(t.pointerId):e.touchIds=new Set(Sr(t))}function Xr(e,t){"pointerId"in t?e.pointerIds.delete(t.pointerId):Sr(t).forEach((function(t){return e.touchIds.delete(t)}))}function Jr(e,t,n){var r=e.config,o=e.windowListeners;void 0===n&&(n=r.eventOptions),r.window&&(io(r.window,o[t],n),delete o[t])}function Qr(e,t,n,r){var o=e.config,a=e.windowListeners;void 0===n&&(n=[]),void 0===r&&(r=o.eventOptions),o.window&&(io(o.window,a[t],r),ao(o.window,a[t]=n,r))}function eo(e,t){var n=e.config,r=e.domListeners,o=ro(n);if(!o)throw new Error("domTarget must be defined");var a=n.eventOptions;io(o,no(r),a);for(var i=0,s=Object.entries(t);i<s.length;i++){var c=s[i],l=c[0],u=c[1],d=l.slice(2).toLowerCase();r.push([d,jr.apply(void 0,u)])}ao(o,r,a)}function to(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],s=i[0],c=i[1],l=Array.isArray(c)?c:[c];n[s+r]=jr.apply(void 0,l)}return n}function no(e){return void 0===e&&(e=[]),e.splice(0,e.length)}function ro(e){var t=e.domTarget;return t&&"current"in t?t.current:t}function oo(e,t,n){e[t]||(e[t]=[]),e[t].push(n)}function ao(e,t,n){void 0===t&&(t=[]),void 0===n&&(n={});for(var r,o=yr(t);!(r=o()).done;){var a=r.value,i=a[0],s=a[1];e.addEventListener(i,s,n)}}function io(e,t,n){void 0===t&&(t=[]),void 0===n&&(n={});for(var r,o=yr(t);!(r=o()).done;){var a=r.value,i=a[0],s=a[1];e.removeEventListener(i,s,n)}}function so(e,t,n){void 0===n&&(n={});var r=function(e){var t=new Set;e.drag&&t.add(Vr.get("drag"));e.wheel&&t.add(Vr.get("wheel"));e.scroll&&t.add(Vr.get("scroll"));e.move&&t.add(Vr.get("move"));e.pinch&&t.add(Vr.get("pinch"));e.hover&&t.add(Vr.get("hover"));return t}(e),o=w.a.useMemo((function(){return new Yr(r)}),[]);return o.config=t,o.handlers=e,o.nativeRefs=n,w.a.useEffect(o.effect,[]),o.config.domTarget?co:o.bind}function co(){0}var lo=function(e){function t(){return e.apply(this,arguments)||this}br(t,e);var n=t.prototype;return n.getInternalMovement=function(e,t){return sr(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,lr(n.movement,n.delta,r))}return n},n.mapStateValues=function(e){return{xy:e.values,vxvy:e.velocities}},t}(Kr);function uo(e){"persist"in e&&"function"==typeof e.persist&&e.persist()}var fo=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){uo(e),Qr(t.controller,t.stateKey,[["touchmove",t.preventScroll],["touchend",t.clean.bind(gr(t))],["touchcancel",t.clean.bind(gr(t))]],{passive:!1}),t.setTimeout(t.startDrag.bind(gr(t)),250,e)},t.setUpDelayedDragTrigger=function(e){t.state._dragDelayed=!0,uo(e),t.setTimeout(t.startDrag.bind(gr(t)),t.config.delay,e)},t.setStartState=function(e){var n=Dr(e,t.transform);t.updateSharedState(Cr(e)),t.updateGestureState(hr({},$r(gr(t),n,e),qr(gr(t),e,!0),{_pointerId:t.getEventId(e)})),t.updateGestureState(t.getMovement(n))},t.onDragStart=function(e){Zr(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=ir(t.transform([r,o]),t.state.values)}else n=Dr(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=Cr(e);t.updateSharedState(i);var s=qr(gr(t),e),c=cr(a._movement),l=t.state._dragIsTap;l&&c>=3&&(l=!1),t.updateGestureState(hr({},s,a,{_dragIsTap:l})),t.fireGestureHandler()}},t.onDragEnd=function(e){if(Xr(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,s=i[0],c=i[1],l=t.state._intentional,u=l[0],d=l[1],f=t.config.swipeVelocity,p=f[0],h=f[1],b=t.config.swipeDistance,m=b[0],g=b[1],v=t.config.swipeDuration,y=hr({},qr(gr(t),e),t.getMovement(t.state.values)),O=[0,0];y.elapsedTime<v&&(!1!==u&&Math.abs(o)>p&&Math.abs(s)>m&&(O[0]=ur(o)),!1!==d&&Math.abs(a)>h&&Math.abs(c)>g&&(O[1]=ur(a))),t.updateSharedState({buttons:0}),t.updateGestureState(hr({},y,{tap:n,swipe:O})),t.fireGestureHandler(t.config.filterTaps&&!0===n)}},t.clean=function(){e.prototype.clean.call(gr(t)),t.state._dragStarted=!1,t.releasePointerCapture(),Jr(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}br(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?(oo(e,"onTouchStart",this.onDragStart),oo(e,"onTouchMove",this.onDragChange),oo(e,"onTouchEnd",this.onDragEnd),oo(e,"onTouchCancel",this.onDragEnd)):(oo(e,"onPointerDown",this.onDragStart),oo(e,"onPointerMove",this.onDragChange),oo(e,"onPointerUp",this.onDragEnd),oo(e,"onPointerCancel",this.onDragEnd)),this.config.filterTaps)&&oo(e,this.controller.config.eventOptions.capture?"onClick":"onClickCapture",this.onClick)},t}(lo);function po(e,t){var n,r,o=[],a=!1;return function(){for(var i=arguments.length,s=new Array(i),c=0;c<i;c++)s[c]=arguments[c];return a&&n===this&&t(s,o)||(r=e.apply(this,s),a=!0,n=this,o=s),r}}function ho(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 bo=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(Cr(e));var n=Dr(e,t.transform);t.updateGestureState(hr({},$r(gr(t),n,e),qr(gr(t),e,!0))),t.updateGestureState(t.getMovement(n)),t.fireGestureHandler()},t.onMoveChange=function(e){t.updateSharedState(Cr(e));var n=Dr(e,t.transform);t.updateGestureState(hr({},qr(gr(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=Dr(e,t.hoverTransform()),r=hr({},t.controller.state.shared,t.state,qr(gr(t),e,!0),{args:t.args,values:n,active:!0,hovering:!0});t.controller.handlers.hover(hr({},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=Dr(e,t.hoverTransform()),r=hr({},t.controller.state.shared,t.state,qr(gr(t),e),{args:t.args,values:n,active:!1});t.controller.handlers.hover(hr({},r,t.mapStateValues(r)))}},t}return br(t,e),t.prototype.addBindings=function(e){"move"in this.controller.handlers&&oo(e,"onPointerMove",this.onMove),"hover"in this.controller.handlers&&(oo(e,"onPointerEnter",this.onPointerEnter),oo(e,"onPointerLeave",this.onPointerLeave))},t}(lo);var mo=n("RxS6");const go=e=>e,vo={_event:{},error:null,initialValue:"",isDirty:!1,isDragEnabled:!1,isDragging:!1,isPressEnterToChange:!1,value:""},yo={CHANGE:"CHANGE",COMMIT:"COMMIT",DRAG_END:"DRAG_END",DRAG_START:"DRAG_START",DRAG:"DRAG",INVALIDATE:"INVALIDATE",PRESS_DOWN:"PRESS_DOWN",PRESS_ENTER:"PRESS_ENTER",PRESS_UP:"PRESS_UP",RESET:"RESET",UPDATE:"UPDATE"},Oo=yo;const jo=(...e)=>(...t)=>e.reduceRight((e,n)=>{const r=n(...t);return Object(s.isEmpty)(r)?e:{...e,...r}},{});function _o(e=go,t=vo){const[n,r]=Object(i.useReducer)((o=e,(e,t)=>{const n={...e},{type:r,payload:a}=t;switch(r){case yo.PRESS_UP:case yo.PRESS_DOWN:n.isDirty=!1;break;case yo.DRAG_START:n.isDragging=!0;break;case yo.DRAG_END:n.isDragging=!1;break;case yo.CHANGE:n.error=null,n.value=a.value,e.isPressEnterToChange&&(n.isDirty=!0);break;case yo.COMMIT:n.value=a.value,n.isDirty=!1;break;case yo.RESET:n.error=null,n.isDirty=!1,n.value=a.value||e.initialValue;break;case yo.UPDATE:n.value=a.value,n.isDirty=!1;break;case yo.INVALIDATE:n.error=a.error}return a.event&&(n._event=a.event),o(n,t)}),function(e=vo){const{value:t}=e;return{...vo,...e,initialValue:t}}(t));var o;const a=e=>(t,n)=>{n&&n.persist&&n.persist(),r({type:e,payload:{value:t,event:n}})},s=e=>t=>{t&&t.persist&&t.persist(),r({type:e,payload:{event:t}})},c=e=>t=>{r({type:e,payload:t})},l=a(yo.CHANGE),u=a(yo.INVALIDATE),d=a(yo.RESET),f=a(yo.COMMIT),p=a(yo.UPDATE),h=c(yo.DRAG_START),b=c(yo.DRAG),m=c(yo.DRAG_END),g=s(yo.PRESS_UP),v=s(yo.PRESS_DOWN),y=s(yo.PRESS_ENTER);return{change:l,commit:f,dispatch:r,drag:b,dragEnd:m,dragStart:h,invalidate:u,pressDown:v,pressEnter:y,pressUp:g,reset:d,state:n,update:p}}function wo(e){return null!=e}function ko(e){const t=""===e;return!wo(e)||t}var xo=function(e,t){const n=Object(i.useRef)(!1);Object(i.useEffect)(()=>{if(n.current)return e();n.current=!0},t)};var Eo=Object(i.forwardRef)((function({disabled:e=!1,dragDirection:t="n",dragThreshold:n=10,id:r,isDragEnabled:o=!1,isFocused:c,isPressEnterToChange:l=!1,onBlur:u=s.noop,onChange:d=s.noop,onDrag:f=s.noop,onDragEnd:p=s.noop,onDragStart:h=s.noop,onFocus:b=s.noop,onKeyDown:m=s.noop,onValidate:g=s.noop,size:v="default",setIsFocused:y,stateReducer:O=(e=>e),value:j,type:w,...k},x){const{state:E,change:S,commit:C,drag:P,dragEnd:D,dragStart:M,invalidate:I,pressDown:T,pressEnter:R,pressUp:A,reset:N,update:L}=_o(O,{isDragEnabled:o,value:j,isPressEnterToChange:l}),{_event:F,value:z,isDragging:B,isDirty:H}=E,V=Object(i.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(i.useEffect)(()=>{document.documentElement.style.cursor=e?n:null},[e]),n}(B,t);xo(()=>{j!==z&&(c||V.current?H||(d(z,{event:F}),V.current=!1):L(j))},[z,H,c,j]);const K=e=>{const t=e.target.value;try{g(t,e),C(t,e)}catch(t){I(t,e)}},U=function(e,t){void 0===t&&(t={}),Vr.set("drag",fo);var n=Object(_.useRef)();return n.current||(n.current=po(zr,ho)),so({drag:e},n.current(t))}(e=>{const{distance:t,dragging:n,event:r}=e;if(r.persist(),t){if(r.stopPropagation(),!n)return p(e),void D(e);f(e),P(e),B||(h(e),M(e))}},{threshold:n,enabled:o}),G=o?U():{};let q;return"number"===w&&(q=e=>{var t;null===(t=k.onMouseDown)||void 0===t||t.call(k,e),e.target!==e.target.ownerDocument.activeElement&&e.target.focus()}),Object(i.createElement)(Gn,Object(a.a)({},k,G,{className:"components-input-control__input",disabled:e,dragCursor:W,isDragging:B,id:r,onBlur:e=>{u(e),y(!1),l&&H&&(V.current=!0,ko(z)?N(j):K(e))},onChange:e=>{const t=e.target.value;S(t,e)},onFocus:e=>{b(e),y(!0)},onKeyDown:e=>{const{keyCode:t}=e;switch(m(e),t){case mo.UP:A(e);break;case mo.DOWN:T(e);break;case mo.ENTER:R(e),l&&(e.preventDefault(),K(e))}},onMouseDown:q,ref:x,size:v,value:z,type:w}))}));function So({__unstableStateReducer:e=(e=>e),__unstableInputWidth:t,className:n,disabled:r=!1,hideLabelFromVision:o=!1,id:c,isPressEnterToChange:u=!1,label:f,labelPosition:p="top",onChange:h=s.noop,onValidate:b=s.noop,onKeyDown:m=s.noop,prefix:g,size:v="default",suffix:y,value:O,...j},_){const[w,k]=Object(i.useState)(!1),x=function(e){const t=Object(d.useInstanceId)(So);return e||"inspector-input-control-"+t}(c),E=l()("components-input-control",n);return Object(i.createElement)(ar,{__unstableInputWidth:t,className:E,disabled:r,gap:3,hideLabelFromVision:o,id:x,isFocused:w,justify:"left",label:f,labelPosition:p,prefix:g,size:v,suffix:y},Object(i.createElement)(Eo,Object(a.a)({},j,{className:"components-input-control__input",disabled:r,id:x,isFocused:w,isPressEnterToChange:u,onChange:h,onKeyDown:m,onValidate:b,ref:_,setIsFocused:k,size:v,stateReducer:e,value:O})))}var Co=Object(i.forwardRef)(So);var Po={name:"1b9wwt5",styles:"&::-webkit-outer-spin-button,&::-webkit-inner-spin-button{-webkit-appearance:none !important;margin:0 !important;}"};const Do=({hideHTMLArrows:e})=>e?Po:"",Mo=W(Co,{target:"ep48uk90",label:"Input"})(Do,";");function Io(e){const t=Number(e);return isNaN(t)?0:t}function To(...e){return e.reduce((e,t)=>e+Io(t),0)}function Ro(e=0,t=1/0,n=1/0,r=1){const o=Io(e),a=Io(r),i=function(e){const t=(e+"").split(".");return void 0!==t[1]?t[1].length:0}(r),c=Math.round(o/a)*a,l=Object(s.clamp)(c,t,n);return i?Io(l.toFixed(i)):l}var Ao=function({isShiftStepEnabled:e=!0,shiftStep:t=10,step:n=1}){const[r,o]=Object(i.useState)(!1);return Object(i.useEffect)(()=>{const e=e=>{o(e.shiftKey)};return window.addEventListener("keydown",e),window.addEventListener("keyup",e),()=>{window.removeEventListener("keydown",e),window.removeEventListener("keyup",e)}},[]),e&&r?t*n:n};var No=Object(i.forwardRef)((function({__unstableStateReducer:e=(e=>e),className:t,dragDirection:n="n",hideHTMLArrows:r=!1,isDragEnabled:o=!0,isShiftStepEnabled:s=!0,label:c,max:d=1/0,min:f=-1/0,shiftStep:p=10,step:h=1,type:b="number",value:m,...g},v){const y=Ro(0,f,d,h),O=Ao({step:h,shiftStep:p,isShiftStepEnabled:s}),j="number"===b?"off":null,_=l()("components-number-control",t);return Object(i.createElement)(Mo,Object(a.a)({autoComplete:j,inputMode:"numeric"},g,{className:_,dragDirection:n,hideHTMLArrows:r,isDragEnabled:o,label:c,max:d,min:f,ref:v,step:O,type:b,value:m,__unstableStateReducer:jo((e,t)=>{const{type:r,payload:a}=t,i=null==a?void 0:a.event,c=e.value;if(r===Oo.PRESS_UP||r===Oo.PRESS_DOWN){const t=i.shiftKey&&s?parseFloat(p)*parseFloat(h):parseFloat(h);let n=ko(c)?y:c;null!=i&&i.preventDefault&&i.preventDefault(),r===Oo.PRESS_UP&&(n=To(n,t)),r===Oo.PRESS_DOWN&&(n=function(...e){return e.reduce((e,t,n)=>{const r=Io(t);return 0===n?r:e-r},0)}(n,t)),n=Ro(n,f,d,t),e.value=n}if(r===Oo.DRAG&&o){const{delta:t,shiftKey:r}=a,[o,i]=t,s=r?parseFloat(p)*parseFloat(h):parseFloat(h);let l,b;switch(n){case"n":b=i,l=-1;break;case"e":b=o,l=Object(u.isRTL)()?-1:1;break;case"s":b=i,l=1;break;case"w":b=o,l=Object(u.isRTL)()?1:-1}const m=b*s*l;let g;0!==m&&(g=Ro(To(c,m),f,d,s),e.value=g)}return r!==Oo.PRESS_ENTER&&r!==Oo.COMMIT||(e.value=Ro(c,f,d)),e},e)}))}));const Lo=W(Zt,{target:"e65ony40",label:"Root"})({name:"tn9ygg",styles:"max-width:200px;"}),Fo=W("div",{target:"e65ony41",label:"CircleRoot"})("border-radius:50%;border:1px solid ",re.ui.borderLight,";box-sizing:border-box;cursor:grab;height:",30,"px;overflow:hidden;width:",30,"px;"),zo=W("div",{target:"e65ony42",label:"CircleIndicatorWrapper"})({name:"11t5m37",styles:"box-sizing:border-box;position:relative;width:100%;height:100%;"}),Bo=W("div",{target:"e65ony43",label:"CircleIndicator"})("background:",re.ui.border,";border-radius:50%;border:3px solid ",re.ui.border,";bottom:0;box-sizing:border-box;display:block;height:1px;left:0;margin:auto;position:absolute;right:0;top:-",15,"px;width:1px;");var Ho=function({value:e,onChange:t,...n}){const r=Object(i.useRef)(),o=Object(i.useRef)(),s=Object(i.useRef)(),c=e=>{const{x:n,y:a}=o.current,{ownerDocument:i}=r.current;e.preventDefault(),i.activeElement.blur(),t(function(e,t,n,r){const o=r-t,a=n-e,i=Math.atan2(o,a),s=Math.round(i*(180/Math.PI))+90;if(s<0)return 360+s;return s}(n,a,e.clientX,e.clientY))},{startDrag:l,isDragging:u}=Object(d.__experimentalUseDragging)({onDragStart:e=>{(()=>{const e=r.current.getBoundingClientRect();o.current={x:e.x+e.width/2,y:e.y+e.height/2}})(),c(e)},onDragMove:c,onDragEnd:c});return Object(i.useEffect)(()=>{u?(void 0===s.current&&(s.current=document.body.style.cursor),document.body.style.cursor="grabbing"):(document.body.style.cursor=s.current||null,s.current=void 0)},[u]),Object(i.createElement)(Fo,Object(a.a)({ref:r,onMouseDown:l,className:"components-angle-picker-control__angle-circle",style:u?{cursor:"grabbing"}:void 0},n),Object(i.createElement)(zo,{style:e?{transform:`rotate(${e}deg)`}:void 0,className:"components-angle-picker-control__angle-circle-indicator-wrapper"},Object(i.createElement)(Bo,{className:"components-angle-picker-control__angle-circle-indicator"})))};function Vo({className:e,hideLabelFromVision:t,id:n,label:r=Object(u.__)("Angle"),onChange:o,value:s,...c}){const f=Object(d.useInstanceId)(Vo,"components-angle-picker-control__input"),p=n||f,h=l()("components-angle-picker-control",e);return Object(i.createElement)(St,Object(a.a)({className:h,hideLabelFromVision:t,id:p,label:r},c),Object(i.createElement)(Lo,null,Object(i.createElement)(Ht,null,Object(i.createElement)(No,{className:"components-angle-picker-control__input-field",id:p,max:360,min:0,onChange:e=>{const t=""!==e?parseInt(e,10):0;o(t)},step:"1",value:s})),Object(i.createElement)(Vt,null,Object(i.createElement)(Ho,{"aria-hidden":"true",value:s,onChange:o}))))}var Wo=n("qRz9"),Ko=n("gdqT"),Uo=n("kA6J"),Go=n("oXO/");const qo=e=>{const t=e.useItems?e.useItems:t=>{const[n,r]=Object(i.useState)([]);return Object(i.useLayoutEffect)(()=>{const{options:n,isDebounced:o}=e,a=Object(s.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(s.escapeRegExp)(t),"i");r(function(e,t=[],n=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(s.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]};return function({filterValue:e,instanceId:n,listBoxId:r,className:o,selectedIndex:a,onChangeOptions:c,onSelect:u,onReset:d,value:f,contentRef:p}){const[h]=t(e),b=Object(Wo.useAnchorRef)({ref:p,value:f});return Object(i.useLayoutEffect)(()=>{c(h)},[h]),!h.length>0?null:Object(i.createElement)(Go.a,{focusOnMount:!1,onClose:d,position:"top right",className:"components-autocomplete__popover",anchorRef:b},Object(i.createElement)("div",{id:r,role:"listbox",className:"components-autocomplete__results"},Object(s.map)(h,(e,t)=>Object(i.createElement)(Uo.a,{key:e.key,id:`components-autocomplete-item-${n}-${e.key}`,role:"option","aria-selected":t===a,disabled:e.isDisabled,className:l()("components-autocomplete__result",o,{"is-selected":t===a}),onClick:()=>u(e)},e.label))))}};function $o({record:e,onChange:t,onReplace:n,completers:r,contentRef:o}){const a=Object(d.useDebounce)(Ko.speak,500),c=Object(d.useInstanceId)($o),[l,f]=Object(i.useState)(0),[p,h]=Object(i.useState)([]),[b,m]=Object(i.useState)(""),[g,v]=Object(i.useState)(null),[y,O]=Object(i.useState)(null),[j,_]=Object(i.useState)(!1);function w(r){const{getOptionCompletion:o}=g||{};if(!r.isDisabled){if(o){const a=o(r.value,b),{action:s,value:c}=void 0===a.action||void 0===a.value?{action:"insert-at-caret",value:a}:a;"replace"===s?n([c]):"insert-at-caret"===s&&function(n){const r=e.start,o=r-g.triggerPrefix.length-b.length,a=Object(Wo.create)({html:Object(i.renderToString)(n)});t(Object(Wo.insert)(e,a,o,r))}(c)}k()}}function k(){f(0),h([]),m(""),v(null),O(null)}let x;Object(Wo.isCollapsed)(e)&&(x=Object(Wo.getTextContent)(Object(Wo.slice)(e,0))),Object(i.useEffect)(()=>{if(!x)return;const t=Object(s.deburr)(x),n=Object(Wo.getTextContent)(Object(Wo.slice)(e,void 0,Object(Wo.getTextContent)(e).length)),o=Object(s.find)(r,({triggerPrefix:e,allowContext:r})=>{const o=t.lastIndexOf(e);if(-1===o)return!1;const a=t.slice(o+e.length);if(a.length>50)return!1;const i=0===p.length,s=1===a.split(/\s/).length,c=j&&a.split(/\s/).length<=3;return!(i&&!c&&!s)&&(!(r&&!r(t.slice(0,o),n))&&(!/^\s/.test(a)&&!/\s\s+$/.test(a)&&/[\u0000-\uFFFF]*$/.test(a)))});if(!o)return void k();const a=Object(s.escapeRegExp)(o.triggerPrefix),i=t.slice(t.lastIndexOf(o.triggerPrefix)).match(new RegExp(a+"([\0-]*)$")),c=i&&i[1];v(o),O(()=>o!==g?qo(o):y),m(c)},[x]);const{key:E=""}=p[l]||{},{className:S}=g||{},C=!!g&&p.length>0,P=C?"components-autocomplete-listbox-"+c:null;return{listBoxId:P,activeId:C?`components-autocomplete-item-${c}-${E}`:null,onKeyDown:function(e){if(_(e.keyCode===mo.BACKSPACE),g&&0!==p.length){switch(e.keyCode){case mo.UP:f((0===l?p.length:l)-1);break;case mo.DOWN:f((l+1)%p.length);break;case mo.ESCAPE:v(null),O(null);break;case mo.ENTER:w(p[l]);break;case mo.LEFT:case mo.RIGHT:return void k();default:return}e.preventDefault(),e.stopPropagation()}},popover:y&&Object(i.createElement)(y,{className:S,filterValue:b,instanceId:c,listBoxId:P,selectedIndex:l,onChangeOptions:function(e){f(e.length===p.length?l:0),h(e),function(e){a&&(e.length?a(Object(u.sprintf)(Object(u._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(Object(u.__)("No results."),"assertive"))}(e)},onSelect:w,value:e,contentRef:o})}}function Yo(e){const t=Object(i.useRef)(),n=Object(i.useRef)(),{popover:r,listBoxId:o,activeId:a,onKeyDown:s}=$o({...e,contentRef:t});return n.current=s,{ref:Object(d.useMergeRefs)([t,Object(d.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 Zo({children:e,isSelected:t,...n}){const{popover:r,...o}=$o(n);return Object(i.createElement)(i.Fragment,null,e(o),t&&r)}const Xo=W("div",{target:"e1agakv00",label:"Root"})({name:"1bt0omd",styles:"box-sizing:border-box;position:relative;"}),Jo=({disableUnits:e})=>A(In({paddingRight:e?3:24})(),";");var Qo={name:"1y65o8",styles:"&::-webkit-outer-spin-button,&::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}"};const ea=({disableUnits:e})=>e?"":Qo,ta=W(No,{target:"e1agakv01",label:"ValueInput"})("&&&{input{appearance:none;-moz-appearance:textfield;display:block;width:100%;",ea,";",Jo,";}}"),na=e=>A("appearance:none;background:transparent;border-radius:2px;border:none;box-sizing:border-box;color:",re.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;",In({borderTopLeftRadius:0,borderBottomLeftRadius:0})()," ",In({right:0})()," ",(({size:e})=>A({default:{height:28,lineHeight:"24px",minHeight:28,top:1},small:{height:22,lineHeight:"18px",minHeight:22,top:1}}[e],""))(e),""),ra=W("div",{target:"e1agakv02",label:"UnitLabel"})("&&&{pointer-events:none;",na,";}"),oa=W("select",{target:"e1agakv03",label:"UnitSelect"})("&&&{",na,";cursor:pointer;border:1px solid transparent;&:hover{background-color:",re.lightGray[300],";}&:focus{border-color:",re.ui.borderFocus,";outline:2px solid transparent;outline-offset:0;}&:disabled{cursor:initial;&:hover{background-color:transparent;}}}"),aa="web"===i.Platform.OS,ia=[{value:"px",label:aa?"px":Object(u.__)("Pixels (px)"),default:"",a11yLabel:Object(u.__)("Pixels (px)")},{value:"%",label:aa?"%":Object(u.__)("Percentage (%)"),default:"",a11yLabel:Object(u.__)("Percent (%)")},{value:"em",label:aa?"em":Object(u.__)("Relative to parent font size (em)"),default:"",a11yLabel:Object(u.__)("Relative to parent font size (em)")},{value:"rem",label:aa?"rem":Object(u.__)("Relative to root font size (rem)"),default:"",a11yLabel:Object(u.__)("Relative to root font size (rem)")},{value:"vw",label:aa?"vw":Object(u.__)("Viewport width (vw)"),default:"",a11yLabel:Object(u.__)("Viewport width (vw)")},{value:"vh",label:aa?"vh":Object(u.__)("Viewport height (vh)"),default:"",a11yLabel:Object(u.__)("Viewport height (vh)")},{value:"vmin",label:aa?"vmin":Object(u.__)("Viewport smallest dimension (vmin)"),default:"",a11yLabel:Object(u.__)("Viewport smallest dimension (vmin)")},{value:"vmax",label:aa?"vmax":Object(u.__)("Viewport largest dimension (vmax)"),default:"",a11yLabel:Object(u.__)("Viewport largest dimension (vmax)")},{value:"ch",label:aa?"ch":Object(u.__)("Width of the zero (0) character (ch)"),default:"",a11yLabel:Object(u.__)("Width of the zero (0) character (ch)")},{value:"ex",label:aa?"ex":Object(u.__)("x-height of the font (ex)"),default:"",a11yLabel:Object(u.__)("x-height of the font (ex)")},{value:"cm",label:aa?"cm":Object(u.__)("Centimeters (cm)"),default:"",a11yLabel:Object(u.__)("Centimeters (cm)")},{value:"mm",label:aa?"mm":Object(u.__)("Millimeters (mm)"),default:"",a11yLabel:Object(u.__)("Millimeters (mm)")},{value:"in",label:aa?"in":Object(u.__)("Inches (in)"),default:"",a11yLabel:Object(u.__)("Inches (in)")},{value:"pc",label:aa?"pc":Object(u.__)("Picas (pc)"),default:"",a11yLabel:Object(u.__)("Picas (pc)")},{value:"pt",label:aa?"pt":Object(u.__)("Points (pt)"),default:"",a11yLabel:Object(u.__)("Points (pt)")}],sa=[{value:"px",label:"px",default:0,a11yLabel:Object(u.__)("pixels")},{value:"%",label:"%",default:10,a11yLabel:Object(u.__)("percent")},{value:"em",label:"em",default:0,a11yLabel:Object(u._x)("ems","Relative to parent font size (em)")},{value:"rem",label:"rem",default:0,a11yLabel:Object(u._x)("rems","Relative to root font size (rem)")},{value:"vw",label:"vw",default:10,a11yLabel:Object(u.__)("viewport widths")},{value:"vh",label:"vh",default:10,a11yLabel:Object(u.__)("viewport heights")}],ca=sa[0];function la(e){return!Object(s.isEmpty)(e)&&e.length>1&&!1!==e}function ua(e,t=ia){const n=String(e).trim();let r=parseFloat(n,10);r=isNaN(r)?"":r;const o=n.match(/[\d.\-\+]*\s*(.*)/)[1];let a=void 0!==o?o:"";if(a=a.toLowerCase(),la(t)){const e=t.find(e=>e.value===a);a=null==e?void 0:e.value}else a=ca.value;return[r,a]}function da(e,t,n,r){const[o,a]=ua(e,t);let i,s=o;var c;((isNaN(o)||""===o)&&(s=n),i=a||r,la(t)&&!i)&&(i=null===(c=t[0])||void 0===c?void 0:c.value);return[s,i]}const fa=({units:e,availableUnits:t,defaultValues:n})=>{const r=function(e=[],t=[]){return t.filter(t=>e.includes(t.value))}(t||[],e=e||ia);return n&&r.forEach((e,t)=>{n[e.value]&&(r[t].default=n[e.value])}),0!==r.length&&r};function pa({className:e,isTabbable:t=!0,options:n=sa,onChange:r=s.noop,size:o="default",value:c="px",...u}){if(!la(n))return Object(i.createElement)(ra,{className:"components-unit-control__unit-label",size:o},c);const d=l()("components-unit-control__select",e);return Object(i.createElement)(oa,Object(a.a)({className:d,onChange:e=>{const{value:t}=e.target,o=n.find(e=>e.value===t);r(t,{event:e,data:o})},size:o,tabIndex:t?null:"-1",value:c},u),n.map(e=>Object(i.createElement)("option",{value:e.value,key:e.value},e.label)))}const ha={initial:void 0,fallback:""};var ba=function(e,t=ha){const{initial:n,fallback:r}={...ha,...t},[o,a]=Object(i.useState)(e),s=wo(e);return Object(i.useEffect)(()=>{s&&o&&a(void 0)},[s,o]),[function(e=[],t){var n;return null!==(n=e.find(wo))&&void 0!==n?n:t}([e,o,n],r),e=>{s||a(e)}]};var ma=Object(i.forwardRef)((function({__unstableStateReducer:e=(e=>e),autoComplete:t="off",className:n,disabled:r=!1,disableUnits:o=!1,isPressEnterToChange:c=!1,isResetValueOnUnitChange:d=!1,isUnitSelectTabbable:f=!0,label:p,onChange:h=s.noop,onUnitChange:b=s.noop,size:m="default",style:g,unit:v,units:y=sa,value:O,...j},_){const[w,k]=function(e,t,n){return ua(t?`${e}${t}`:e,n)}(O,v,y),[x,E]=ba(v,{initial:k}),S=Object(i.useRef)(null),C=l()("components-unit-control",n),P=e=>{if(!isNaN(e.target.value))return void(S.current=null);const[t,n]=da(e.target.value,y,w,x);if(S.current=t,c&&n!==x){const r={event:e,data:y.find(e=>e.value===n)};h(`${t}${n}`,r),b(n,r),E(n)}},D=P,M=o?null:Object(i.createElement)(pa,{"aria-label":Object(u.__)("Select unit"),disabled:r,isTabbable:f,options:y,onChange:(e,t)=>{const{data:n}=t;let r=`${w}${e}`;d&&void 0!==(null==n?void 0:n.default)&&(r=`${n.default}${e}`),h(r,t),b(e,t),E(e)},size:m,value:x});let I=j.step;if(!I&&y){var T;const e=y.find(e=>e.value===x);I=null!==(T=null==e?void 0:e.step)&&void 0!==T?T:1}return Object(i.createElement)(Xo,{className:"components-unit-control-wrapper",style:g},Object(i.createElement)(ta,Object(a.a)({"aria-label":p,type:c?"text":"number"},Object(s.omit)(j,["children"]),{autoComplete:t,className:C,disabled:r,disableUnits:o,isPressEnterToChange:c,label:p,onBlur:D,onKeyDown:e=>{const{keyCode:t}=e;t===mo.ENTER&&P(e)},onChange:(e,t)=>{""!==e?(e=da(e,y,w,x).join(""),h(e,t)):h("",t)},ref:_,size:m,suffix:M,value:w,step:I,__unstableStateReducer:jo((e,t)=>(t.type===Oo.COMMIT&&null!==S.current&&(e.value=S.current,S.current=null),e),e)})))}));const ga=W("div",{target:"e7pk0lh0",label:"Root"})({name:"vho1ao",styles:"box-sizing:border-box;max-width:235px;padding-bottom:12px;width:100%;"}),va=W(Zt,{target:"e7pk0lh1",label:"Header"})("color:",re.ui.label,";padding-bottom:8px;"),ya=W(Zt,{target:"e7pk0lh2",label:"HeaderControlWrapper"})({name:"19de7qh",styles:"min-height:30px;"}),Oa=W("div",{target:"e7pk0lh3",label:"UnitControlWrapper"})({name:"zypm0w",styles:"box-sizing:border-box;max-width:80px;"}),ja=W(Zt,{target:"e7pk0lh4",label:"LayoutContainer"})({name:"39f89t",styles:"justify-content:center;padding-top:8px;"}),_a=W(Zt,{target:"e7pk0lh5",label:"Layout"})({name:"qpveuy",styles:"position:relative;height:100%;width:100%;justify-content:flex-start;"});var wa={name:"icip60",styles:"border-radius:2px;"},ka={name:"1k07npk",styles:"border-radius:0;"};const xa=({isFirst:e,isLast:t,isOnly:n})=>e?In({borderTopRightRadius:0,borderBottomRightRadius:0})():t?In({borderTopLeftRadius:0,borderBottomLeftRadius:0})():n?wa:ka,Ea=({isFirst:e})=>In({marginLeft:e?0:-1})(),Sa=W(ma,{target:"e7pk0lh6",label:"UnitControl"})("max-width:60px;",xa,";",Ea,";");function Ca({isFirst:e,isLast:t,isOnly:n,onHoverOn:r=s.noop,onHoverOff:o=s.noop,label:c,value:l,...u}){const d=function(e,t){void 0===t&&(t={}),Vr.set("hover",bo);var n=Object(_.useRef)();return n.current||(n.current=po(Fr,ho)),so({hover:e},n.current(t))}(({event:e,...t})=>{t.hovering?r(e,t):o(e,t)});return Object(i.createElement)(Oa,d(),Object(i.createElement)(Pa,{text:c},Object(i.createElement)(Sa,Object(a.a)({"aria-label":c,className:"component-box-control__unit-control",hideHTMLArrows:!0,isFirst:e,isLast:t,isOnly:n,isPressEnterToChange:!0,isResetValueOnUnitChange:!1,value:l},u))))}function Pa({children:e,text:t}){return t?Object(i.createElement)(p.a,{text:t,position:"top"},Object(i.createElement)("div",null,e)):e}const Da={all:Object(u.__)("All"),top:Object(u.__)("Top"),bottom:Object(u.__)("Bottom"),left:Object(u.__)("Left"),right:Object(u.__)("Right"),mixed:Object(u.__)("Mixed")},Ma={top:null,right:null,bottom:null,left:null},Ia={top:!1,right:!1,bottom:!1,left:!1};function Ta(e={}){const t=Object.values(e).map(e=>ua(e)),n=t.map(e=>e[0]),r=t.map(e=>e[1]),o=n.every(e=>e===n[0])?n[0]:"",a=(i=r).sort((e,t)=>i.filter(t=>t===e).length-i.filter(e=>e===t).length).pop();var i;return Object(s.isNumber)(o)?`${o}${a}`:null}function Ra(e={}){const t=Ta(e);return isNaN(parseFloat(t))}function Aa(e){return void 0!==e&&!Object(s.isEmpty)(Object.values(e).filter(e=>!!e&&/\d/.test(e)))}function Na({onChange:e=s.noop,onFocus:t=s.noop,onHoverOn:n=s.noop,onHoverOff:r=s.noop,values:o,sides:c,...l}){const u=Ta(o),d=Aa(o)&&Ra(o),f=d?Da.mixed:null;return Object(i.createElement)(Ca,Object(a.a)({},l,{disableUnits:d,isOnly:!0,value:u,onChange:t=>{const n={...o};(null!=c&&c.length?c:["top","right","bottom","left"]).forEach(e=>n[e]=t),e(n)},onFocus:e=>{t(e,{side:"all"})},onHoverOn:()=>{n({top:!0,bottom:!0,left:!0,right:!0})},onHoverOff:()=>{r({top:!1,bottom:!1,left:!1,right:!1})},placeholder:f}))}const La=["top","right","bottom","left"];function Fa({onChange:e=s.noop,onFocus:t=s.noop,onHoverOn:n=s.noop,onHoverOff:r=s.noop,values:o,sides:c,...l}){const u=e=>n=>{t(n,{side:e})},d=e=>()=>{n({[e]:!0})},f=e=>()=>{r({[e]:!1})},p=t=>(n,{event:r})=>{const{altKey:a}=r,i={...o};if(i[t]=n,a)switch(t){case"top":i.bottom=n;break;case"bottom":i.top=n;break;case"left":i.right=n;break;case"right":i.left=n}(t=>{e(t)})(i)},h=null!=c&&c.length?La.filter(e=>c.includes(e)):La,b=h[0],m=h[h.length-1],g=b===m&&b;return Object(i.createElement)(ja,{className:"component-box-control__input-controls-wrapper"},Object(i.createElement)(_a,{gap:0,align:"top",className:"component-box-control__input-controls"},h.map(e=>Object(i.createElement)(Ca,Object(a.a)({},l,{isFirst:b===e,isLast:m===e,isOnly:g===e,value:o[e],onChange:p(e),onFocus:u(e),onHoverOn:d(e),onHoverOff:f(e),label:Da[e],key:"box-control-"+e})))))}const za=W("span",{target:"eaw9yqk0",label:"Root"})({name:"1qtciqq",styles:"box-sizing:border-box;display:block;width:24px;height:24px;position:relative;padding:4px;"}),Ba=W("span",{target:"eaw9yqk1",label:"Viewbox"})({name:"be7uli",styles:"box-sizing:border-box;display:block;position:relative;width:100%;height:100%;"}),Ha=W("span",{target:"eaw9yqk2",label:"Stroke"})("box-sizing:border-box;display:block;pointer-events:none;position:absolute;",({isFocused:e})=>A({backgroundColor:"currentColor",opacity:e?1:.3},""),";"),Va=W(Ha,{target:"eaw9yqk3",label:"VerticalStroke"})({name:"r820ty",styles:"bottom:3px;top:3px;width:2px;"}),Wa=W(Ha,{target:"eaw9yqk4",label:"HorizontalStroke"})({name:"1gteeqa",styles:"height:2px;left:3px;right:3px;"}),Ka=W(Wa,{target:"eaw9yqk5",label:"TopStroke"})({name:"1etxbbi",styles:"top:0;"}),Ua=W(Va,{target:"eaw9yqk6",label:"RightStroke"})({name:"19zs6va",styles:"right:0;"}),Ga=W(Wa,{target:"eaw9yqk7",label:"BottomStroke"})({name:"lh0t43",styles:"bottom:0;"}),qa=W(Va,{target:"eaw9yqk8",label:"LeftStroke"})({name:"260zpl",styles:"left:0;"});function $a({size:e=24,side:t="all",sides:n,...r}){const o=e=>!(e=>(null==n?void 0:n.length)&&!n.includes(e))(e)&&("all"===t||t===e),s=o("top"),c=o("right"),l=o("bottom"),u=o("left"),d=e/24;return Object(i.createElement)(za,Object(a.a)({style:{transform:`scale(${d})`}},r),Object(i.createElement)(Ba,null,Object(i.createElement)(Ka,{isFocused:s}),Object(i.createElement)(Ua,{isFocused:c}),Object(i.createElement)(Ga,{isFocused:l}),Object(i.createElement)(qa,{isFocused:u})))}var Ya=n("Bpkj"),Za=n("Mp0b");function Xa({isLinked:e,...t}){const n=e?Object(u.__)("Unlink Sides"):Object(u.__)("Link Sides");return Object(i.createElement)(p.a,{text:n},Object(i.createElement)("span",null,Object(i.createElement)(Uo.a,Object(a.a)({},t,{className:"component-box-control__linked-button",isPrimary:e,isSecondary:!e,isSmall:!0,icon:e?Ya.a:Za.a,iconSize:16,"aria-label":n}))))}var Ja={name:"tbck19",styles:"bottom:0;left:0;pointer-events:none;position:absolute;right:0;top:0;z-index:1;"};const Qa=W("div",{target:"e1df9b4q0",label:"Container"})("box-sizing:border-box;position:relative;",({isPositionAbsolute:e})=>e?Ja:"",";"),ei=W("div",{target:"e1df9b4q1",label:"Side"})("box-sizing:border-box;background:",re.blue.wordpress[700],";background:",re.ui.theme,";filter:brightness( 1 );opacity:0;position:absolute;pointer-events:none;transition:opacity 120ms linear;z-index:1;",({isActive:e})=>e&&"\n\t\topacity: 0.3;\n\t",""),ti=W(ei,{target:"e1df9b4q2",label:"TopView"})({name:"1pb21am",styles:"top:0;left:0;right:0;"}),ni=W(ei,{target:"e1df9b4q3",label:"RightView"})("top:0;bottom:0;",In({right:0}),";"),ri=W(ei,{target:"e1df9b4q4",label:"BottomView"})({name:"w87m56",styles:"bottom:0;left:0;right:0;"}),oi=W(ei,{target:"e1df9b4q5",label:"LeftView"})("top:0;bottom:0;",In({left:0}),";");function ai({showValues:e=Ia,values:t}){const{top:n,right:r,bottom:o,left:a}=t;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(ii,{isVisible:e.top,value:n}),Object(i.createElement)(si,{isVisible:e.right,value:r}),Object(i.createElement)(ci,{isVisible:e.bottom,value:o}),Object(i.createElement)(li,{isVisible:e.left,value:a}))}function ii({isVisible:e=!1,value:t}){const n=t,r=ui(n).isActive||e;return Object(i.createElement)(ti,{isActive:r,style:{height:n}})}function si({isVisible:e=!1,value:t}){const n=t,r=ui(n).isActive||e;return Object(i.createElement)(ni,{isActive:r,style:{width:n}})}function ci({isVisible:e=!1,value:t}){const n=t,r=ui(n).isActive||e;return Object(i.createElement)(ri,{isActive:r,style:{height:n}})}function li({isVisible:e=!1,value:t}){const n=t,r=ui(n).isActive||e;return Object(i.createElement)(oi,{isActive:r,style:{width:n}})}function ui(e){const[t,n]=Object(i.useState)(!1),r=Object(i.useRef)(e),o=Object(i.useRef)(),a=()=>{o.current&&window.clearTimeout(o.current)};return Object(i.useEffect)(()=>(e!==r.current&&(n(!0),r.current=e,a(),o.current=setTimeout(()=>{n(!1)},400)),()=>a()),[e]),{isActive:t}}const di={min:0};function fi({id:e,inputProps:t=di,onChange:n=s.noop,onChangeShowVisualizer:r=s.noop,label:o=Object(u.__)("Box Control"),values:c,units:l,sides:f,resetValues:p=Ma}){const[h,b]=ba(c,{fallback:Ma}),m=h||Ma,g=Aa(c),v=1===(null==f?void 0:f.length),[y,O]=Object(i.useState)(g),[j,_]=Object(i.useState)(!g||!Ra(m)||v),[w,k]=Object(i.useState)(j?"all":"top"),x=function(e){const t=Object(d.useInstanceId)(fi,"inspector-box-control");return e||t}(e),E=x+"-heading",S={...t,onChange:e=>{n(e),b(e),O(!0)},onFocus:(e,{side:t})=>{k(t)},onHoverOn:(e={})=>{r({...Ia,...e})},onHoverOff:(e={})=>{r({...Ia,...e})},isLinked:j,units:l,sides:f,values:m};return Object(i.createElement)(ga,{id:x,role:"region","aria-labelledby":E},Object(i.createElement)(va,{className:"component-box-control__header"},Object(i.createElement)(Vt,null,Object(i.createElement)(En,{id:E,className:"component-box-control__label"},o)),Object(i.createElement)(Vt,null,Object(i.createElement)(Uo.a,{className:"component-box-control__reset-button",isSecondary:!0,isSmall:!0,onClick:()=>{n(p),b(p),O(!1)},disabled:!y},Object(u.__)("Reset")))),Object(i.createElement)(ya,{className:"component-box-control__header-control-wrapper"},Object(i.createElement)(Vt,null,Object(i.createElement)($a,{side:w,sides:f})),j&&Object(i.createElement)(Ht,null,Object(i.createElement)(Na,Object(a.a)({"aria-label":o},S))),!v&&Object(i.createElement)(Vt,null,Object(i.createElement)(Xa,{onClick:()=>{_(!j),k(j?"top":"all")},isLinked:j}))),!j&&Object(i.createElement)(Fa,S))}fi.__Visualizer=function({children:e,showValues:t=Ia,values:n=Ma,...r}){const o=!e;return Object(i.createElement)(Qa,Object(a.a)({},r,{isPositionAbsolute:o,"aria-hidden":"true"}),Object(i.createElement)(ai,{showValues:t,values:n}),e)};var pi=Object(i.forwardRef)((function({className:e,...t},n){const r=l()("components-button-group",e);return Object(i.createElement)("div",Object(a.a)({ref:n,role:"group",className:r},t))}));const hi=Object(i.createContext)({}),bi=()=>Object(i.useContext)(hi),mi={borderColor:re.lightGray[500],borderRadius:"3px",backgroundShady:re.lightGray[200]},{borderColor:gi,borderRadius:vi,backgroundShady:yi}=mi,Oi=W("div",{target:"e1q7k77g0",label:"CardUI"})("background:",re.white,";box-sizing:border-box;border-radius:",vi,";border:1px solid ",gi,";",Si,";&.is-elevated{box-shadow:0px 1px 3px 0px rgba( 0,0,0,0.2 ),0px 1px 1px 0px rgba( 0,0,0,0.14 ),0px 2px 1px -1px rgba( 0,0,0,0.12 );}"),ji=W(Zt,{target:"e1q7k77g1",label:"HeaderUI"})("border-bottom:1px solid ",gi,";border-top-left-radius:",vi,";border-top-right-radius:",vi,";box-sizing:border-box;&:last-child{border-bottom:none;}",Ei,";",Si,";",Ci,";"),_i=W("div",{target:"e1q7k77g2",label:"MediaUI"})("box-sizing:border-box;overflow:hidden;& > img,& > iframe{display:block;height:auto;max-width:100%;width:100%;}&:first-of-type{border-top-left-radius:",vi,";border-top-right-radius:",vi,";}&:last-of-type{border-bottom-left-radius:",vi,";border-bottom-right-radius:",vi,";}"),wi=W("div",{target:"e1q7k77g3",label:"BodyUI"})("box-sizing:border-box;",(function(){return`\n\t\t&.is-size {\n\t\t\t&-large {\n\t\t\t\tpadding: ${jt(3)} ${jt(4)};\n\t\t\t}\n\t\t\t&-medium {\n\t\t\t\tpadding: ${jt(2)} ${jt(3)};\n\t\t\t}\n\t\t\t&-small {\n\t\t\t\tpadding: ${jt(2)};\n\t\t\t}\n\t\t\t&-extraSmall {\n\t\t\t\tpadding: ${jt(1)};\n\t\t\t}\n\t\t}\n\t`}),";",Ci,";"),ki=W(Zt,{target:"e1q7k77g4",label:"FooterUI"})("border-top:1px solid ",gi,";border-bottom-left-radius:",vi,";border-bottom-right-radius:",vi,";box-sizing:border-box;&:first-of-type{border-top:none;}",Ei,";",Si,";",Ci,";"),xi=W(o.HorizontalRule,{target:"e1q7k77g5",label:"DividerUI"})("all:unset;border-top:1px solid ",gi,";box-sizing:border-box;display:block;height:0;width:100%;");function Ei(){return`\n\t\t&.is-size {\n\t\t\t&-large {\n\t\t\t\tpadding: ${jt(3)} ${jt(4)};\n\t\t\t}\n\t\t\t&-medium {\n\t\t\t\tpadding: ${jt(2)} ${jt(3)};\n\t\t\t}\n\t\t\t&-small {\n\t\t\t\tpadding: ${jt(2)};\n\t\t\t}\n\t\t\t&-extraSmall {\n\t\t\t\tpadding: ${jt(1)};\n\t\t\t}\n\t\t}\n\t`}function Si(){return"\n\t\t&.is-borderless {\n\t\t\tborder: none;\n\t\t}\n\t"}function Ci(){return`\n\t\t&.is-shady {\n\t\t\tbackground: ${yi};\n\t\t}\n\t`}function Pi(e){const{className:t,isBorderless:n,isElevated:r,size:o,...s}=e,{Provider:c}=hi,u={isBorderless:n,isElevated:r,size:o},d=l()("components-card",n&&"is-borderless",r&&"is-elevated",o&&"is-size-"+o,t);return Object(i.createElement)(c,{value:u},Object(i.createElement)(Oi,Object(a.a)({},s,{className:d})))}Pi.defaultProps={isBorderless:!1,isElevated:!1,size:"medium"};var Di=Pi;const Mi={isShady:!1,size:"medium"};var Ii=function(e){const{className:t,isShady:n,...r}=e,o={...Mi,...bi(),...e},{size:s}=o,c=l()("components-card__body",n&&"is-shady",s&&"is-size-"+s,t);return Object(i.createElement)(wi,Object(a.a)({},r,{className:c}))};var Ti=function(e){const{className:t,...n}=e,r=l()("components-card__divider",t);return Object(i.createElement)(xi,Object(a.a)({},n,{children:null,className:r,role:"separator"}))};const Ri={isBorderless:!1,isShady:!1,size:"medium"};var Ai=function(e){const{className:t,isShady:n,...r}=e,o={...Ri,...bi(),...e},{isBorderless:s,size:c}=o,u=l()("components-card__footer",s&&"is-borderless",n&&"is-shady",c&&"is-size-"+c,t);return Object(i.createElement)(ki,Object(a.a)({},r,{className:u}))};const Ni={isBorderless:!1,isShady:!1,size:"medium"};var Li=function(e){const{className:t,isShady:n,...r}=e,o={...Ni,...bi(),...e},{isBorderless:s,size:c}=o,u=l()("components-card__header",s&&"is-borderless",n&&"is-shady",c&&"is-size-"+c,t);return Object(i.createElement)(ji,Object(a.a)({},r,{className:u}))};var Fi=function(e){const{className:t,...n}=e,r=l()("components-card__media",t);return Object(i.createElement)(_i,Object(a.a)({},n,{className:r}))},zi=n("iClF"),Bi=n("RMJe");function Hi({label:e,className:t,heading:n,checked:r,help:o,onChange:s,...c}){n&&Kt()("`heading` prop in `CheckboxControl`",{alternative:"a separate element to implement a heading",plugin:"Gutenberg"});const u="inspector-checkbox-control-"+Object(d.useInstanceId)(Hi);return Object(i.createElement)(St,{label:n,id:u,help:o,className:l()("components-checkbox-control",t)},Object(i.createElement)("span",{className:"components-checkbox-control__input-container"},Object(i.createElement)("input",Object(a.a)({id:u,className:"components-checkbox-control__input",type:"checkbox",value:"1",onChange:e=>s(e.target.checked),checked:r,"aria-describedby":o?u+"__help":void 0},c)),r?Object(i.createElement)(zi.a,{icon:Bi.a,className:"components-checkbox-control__checked",role:"presentation"}):null),Object(i.createElement)("label",{className:"components-checkbox-control__label",htmlFor:u},e))}function Vi({className:e,children:t,onCopy:n,onFinishCopy:r,text:o,...s}){Kt()("wp.components.ClipboardButton",{since:"10.3",plugin:"Gutenberg",alternative:"wp.compose.useCopyToClipboard"});const c=Object(i.useRef)(),u=Object(d.useCopyToClipboard)(o,()=>{n(),clearTimeout(c.current),r&&(c.current=setTimeout(()=>r(),4e3))});Object(i.useEffect)(()=>{clearTimeout(c.current)},[]);const f=l()("components-clipboard-button",e);return Object(i.createElement)(Uo.a,Object(a.a)({},s,{className:f,ref:u,onCopy:e=>{e.target.focus()}}),t)}var Wi=n("B9Az"),Ki=n("w95h"),Ui=n("XgzB"),Gi=n("NWDH"),qi=n("Q4Sy");function $i({renderContent:e,renderToggle:t,position:n="bottom right",className:r,contentClassName:o,expandOnMobile:s,headerTitle:c,focusOnMount:u,popoverProps:d,onClose:f,onToggle:p}){var h;const b=Object(i.useRef)(),[m,g]=function(e,t){const[n,r]=Object(i.useState)(e);return[n,e=>{r(e),t&&t(e)}]}(!1,p);function v(){f&&f(),g(!1)}Object(i.useEffect)(()=>()=>{p&&p(!1)},[]);const y={isOpen:m,onToggle:function(){g(!m)},onClose:v};return Object(i.createElement)("div",{className:l()("components-dropdown",r),ref:b},t(y),m&&Object(i.createElement)(Go.a,Object(a.a)({position:n,onClose:v,onFocusOutside:function(){const{ownerDocument:e}=b.current;b.current.contains(e.activeElement)||e.activeElement.closest('[role="dialog"]')||v()},expandOnMobile:s,headerTitle:c,focusOnMount:u},d,{anchorRef:null!==(h=null==d?void 0:d.anchorRef)&&void 0!==h?h:b.current,className:l()("components-dropdown__content",d?d.className:void 0,o)}),e(y)))}function Yi({actions:e,className:t,options:n,children:r}){return Object(i.createElement)("div",{className:l()("components-circular-option-picker",t)},Object(i.createElement)("div",{className:"components-circular-option-picker__swatches"},n),r,e&&Object(i.createElement)("div",{className:"components-circular-option-picker__custom-clear-wrapper"},e))}function Zi(e={},t=!1){const n=e.hex?U()(e.hex):U()(e),r=n.toHsl();r.h=Math.round(r.h),r.s=Math.round(100*r.s),r.l=Math.round(100*r.l);const o=n.toHsv();o.h=Math.round(o.h),o.s=Math.round(100*o.s),o.v=Math.round(100*o.v);const a=n.toRgb(),i=n.toHex();0===r.s&&(r.h=t||0,o.h=t||0);return{color:n,hex:"000000"===i&&0===a.a?"transparent":"#"+i,hsl:r,hsv:o,oldHue:e.h||t||r.h,rgb:a,source:e.source}}function Xi(e,t){e.preventDefault();const{left:n,top:r,width:o,height:a}=t.getBoundingClientRect(),i="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,s="number"==typeof e.pageY?e.pageY:e.touches[0].pageY;let c=i-(n+window.pageXOffset),l=s-(r+window.pageYOffset);return c<0?c=0:c>o?c=o:l<0?l=0:l>a&&(l=a),{top:l,left:c,width:o,height:a}}function Ji(e){const t="#"===String(e).charAt(0)?1:0;return e.length!==4+t&&e.length<7+t&&U()(e).isValid()}function Qi({target:e,callback:t,shortcut:n,bindGlobal:r,eventName:o}){return Object(d.useKeyboardShortcut)(n,t,{bindGlobal:r,target:e,eventName:o}),null}Yi.Option=function({className:e,isSelected:t,selectedIconProps:n,tooltipText:r,...o}){const s=Object(i.createElement)(Uo.a,Object(a.a)({isPressed:t,className:l()(e,"components-circular-option-picker__option")},o));return Object(i.createElement)("div",{className:"components-circular-option-picker__option-wrapper"},r?Object(i.createElement)(p.a,{text:r},s):s,t&&Object(i.createElement)(zi.a,Object(a.a)({icon:Bi.a},n||{})))},Yi.ButtonAction=function({className:e,children:t,...n}){return Object(i.createElement)(Uo.a,Object(a.a)({className:l()("components-circular-option-picker__clear",e),isSmall:!0,isSecondary:!0},n),t)},Yi.DropdownLinkAction=function({buttonProps:e,className:t,dropdownProps:n,linkText:r}){return Object(i.createElement)($i,Object(a.a)({className:l()("components-circular-option-picker__dropdown-link-action",t),renderToggle:({isOpen:t,onToggle:n})=>Object(i.createElement)(Uo.a,Object(a.a)({"aria-expanded":t,"aria-haspopup":"true",onClick:n,isLink:!0},e),r)},n))};var es=function({children:e,shortcuts:t,bindGlobal:n,eventName:r}){const o=Object(i.useRef)(),a=Object(s.map)(t,(e,t)=>Object(i.createElement)(Qi,{key:t,shortcut:t,callback:e,bindGlobal:n,eventName:r,target:o}));return i.Children.count(e)?Object(i.createElement)("div",{ref:o},a,e):a};class ts extends i.Component{constructor(){super(...arguments),this.container=Object(i.createRef)(),this.increase=this.increase.bind(this),this.decrease=this.decrease.bind(this),this.handleChange=this.handleChange.bind(this),this.handleMouseDown=this.handleMouseDown.bind(this),this.handleMouseUp=this.handleMouseUp.bind(this)}componentWillUnmount(){this.unbindEventListeners()}increase(e=.01){const{hsl:t,onChange:n=s.noop}=this.props;e=parseInt(100*e,10);n({h:t.h,s:t.s,l:t.l,a:(parseInt(100*t.a,10)+e)/100,source:"rgb"})}decrease(e=.01){const{hsl:t,onChange:n=s.noop}=this.props,r=parseInt(100*t.a,10)-parseInt(100*e,10);n({h:t.h,s:t.s,l:t.l,a:t.a<=e?0:r/100,source:"rgb"})}handleChange(e){const{onChange:t=s.noop}=this.props,n=function(e,t,n){const{left:r,width:o}=Xi(e,n),a=r<0?0:Math.round(100*r/o)/100;return t.hsl.a!==a?{h:t.hsl.h,s:t.hsl.s,l:t.hsl.l,a:a,source:"rgb"}:null}(e,this.props,this.container.current);n&&t(n,e)}handleMouseDown(e){this.handleChange(e),window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)}handleMouseUp(){this.unbindEventListeners()}preventKeyEvents(e){e.keyCode!==mo.TAB&&e.preventDefault()}unbindEventListeners(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}render(){const{rgb:e}=this.props,t=`${e.r},${e.g},${e.b}`,n={background:`linear-gradient(to right, rgba(${t}, 0) 0%, rgba(${t}, 1) 100%)`},r={left:100*e.a+"%"},o={up:()=>this.increase(),right:()=>this.increase(),"shift+up":()=>this.increase(.1),"shift+right":()=>this.increase(.1),pageup:()=>this.increase(.1),end:()=>this.increase(1),down:()=>this.decrease(),left:()=>this.decrease(),"shift+down":()=>this.decrease(.1),"shift+left":()=>this.decrease(.1),pagedown:()=>this.decrease(.1),home:()=>this.decrease(1)};return Object(i.createElement)(es,{shortcuts:o},Object(i.createElement)("div",{className:"components-color-picker__alpha"},Object(i.createElement)("div",{className:"components-color-picker__alpha-gradient",style:n}),Object(i.createElement)("div",{className:"components-color-picker__alpha-bar",ref:this.container,onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},Object(i.createElement)("div",{tabIndex:"0",role:"slider","aria-valuemax":"1","aria-valuemin":"0","aria-valuenow":e.a,"aria-orientation":"horizontal","aria-label":Object(u.__)("Alpha value, from 0 (transparent) to 1 (fully opaque)."),className:"components-color-picker__alpha-pointer",style:r,onKeyDown:this.preventKeyEvents}))))}}var ns=Object(d.pure)(ts);class rs extends i.Component{constructor(){super(...arguments),this.container=Object(i.createRef)(),this.increase=this.increase.bind(this),this.decrease=this.decrease.bind(this),this.handleChange=this.handleChange.bind(this),this.handleMouseDown=this.handleMouseDown.bind(this),this.handleMouseUp=this.handleMouseUp.bind(this)}componentWillUnmount(){this.unbindEventListeners()}increase(e=1){const{hsl:t,onChange:n=s.noop}=this.props;n({h:t.h+e>=359?359:t.h+e,s:t.s,l:t.l,a:t.a,source:"rgb"})}decrease(e=1){const{hsl:t,onChange:n=s.noop}=this.props;n({h:t.h<=e?0:t.h-e,s:t.s,l:t.l,a:t.a,source:"rgb"})}handleChange(e){const{onChange:t=s.noop}=this.props,n=function(e,t,n){const{left:r,width:o}=Xi(e,n),a=r>=o?359:360*(100*r/o)/100;return t.hsl.h!==a?{h:a,s:t.hsl.s,l:t.hsl.l,a:t.hsl.a,source:"rgb"}:null}(e,this.props,this.container.current);n&&t(n,e)}handleMouseDown(e){this.handleChange(e),window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)}handleMouseUp(){this.unbindEventListeners()}preventKeyEvents(e){e.keyCode!==mo.TAB&&e.preventDefault()}unbindEventListeners(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}render(){const{hsl:e={},instanceId:t}=this.props,n={left:100*e.h/360+"%"},r={up:()=>this.increase(),right:()=>this.increase(),"shift+up":()=>this.increase(10),"shift+right":()=>this.increase(10),pageup:()=>this.increase(10),end:()=>this.increase(359),down:()=>this.decrease(),left:()=>this.decrease(),"shift+down":()=>this.decrease(10),"shift+left":()=>this.decrease(10),pagedown:()=>this.decrease(10),home:()=>this.decrease(359)};return Object(i.createElement)(es,{shortcuts:r},Object(i.createElement)("div",{className:"components-color-picker__hue"},Object(i.createElement)("div",{className:"components-color-picker__hue-gradient"}),Object(i.createElement)("div",{className:"components-color-picker__hue-bar",ref:this.container,onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},Object(i.createElement)("div",{tabIndex:"0",role:"slider","aria-valuemax":"1","aria-valuemin":"359","aria-valuenow":e.h,"aria-orientation":"horizontal","aria-label":Object(u.__)("Hue value in degrees, from 0 to 359."),"aria-describedby":"components-color-picker__hue-description-"+t,className:"components-color-picker__hue-pointer",style:n,onKeyDown:this.preventKeyEvents}),Object(i.createElement)(h.a,{as:"p",id:"components-color-picker__hue-description-"+t},Object(u.__)("Move the arrow left or right to change hue.")))))}}var os=Object(d.compose)(d.pure,d.withInstanceId)(rs);var as=Object(i.forwardRef)((function e({label:t,hideLabelFromVision:n,value:r,help:o,className:s,onChange:c,type:l="text",...u},f){const p="inspector-text-control-"+Object(d.useInstanceId)(e);return Object(i.createElement)(St,{label:t,hideLabelFromVision:n,id:p,help:o,className:s},Object(i.createElement)("input",Object(a.a)({className:"components-text-control__input",type:l,id:p,value:r,onChange:e=>c(e.target.value),"aria-describedby":o?p+"__help":void 0,ref:f},u)))}));class is extends i.Component{constructor(){super(...arguments),this.handleBlur=this.handleBlur.bind(this),this.handleChange=this.handleChange.bind(this),this.handleKeyDown=this.handleKeyDown.bind(this)}handleBlur(){const{value:e,valueKey:t,onChange:n,source:r}=this.props;n({source:r,state:"commit",value:e,valueKey:t})}handleChange(e){const{valueKey:t,onChange:n,source:r}=this.props;e.length>4&&Ji(e)?n({source:r,state:"commit",value:e,valueKey:t}):n({source:r,state:"draft",value:e,valueKey:t})}handleKeyDown({keyCode:e}){if(e!==mo.ENTER&&e!==mo.UP&&e!==mo.DOWN)return;const{value:t,valueKey:n,onChange:r,source:o}=this.props;r({source:o,state:"commit",value:t,valueKey:n})}render(){const{label:e,value:t,...n}=this.props;return Object(i.createElement)(as,Object(a.a)({className:"components-color-picker__inputs-field",label:e,value:t,onChange:e=>this.handleChange(e),onBlur:this.handleBlur,onKeyDown:this.handleKeyDown},Object(s.omit)(n,["onChange","valueKey","source"])))}}const ss=Object(d.pure)(Uo.a);class cs extends i.Component{constructor({hsl:e}){super(...arguments);const t=1===e.a?"hex":"rgb";this.state={view:t},this.toggleViews=this.toggleViews.bind(this),this.resetDraftValues=this.resetDraftValues.bind(this),this.handleChange=this.handleChange.bind(this),this.normalizeValue=this.normalizeValue.bind(this)}static getDerivedStateFromProps(e,t){return 1!==e.hsl.a&&"hex"===t.view?{view:"rgb"}:null}toggleViews(){"hex"===this.state.view?(this.setState({view:"rgb"},this.resetDraftValues),Object(Ko.speak)(Object(u.__)("RGB mode active"))):"rgb"===this.state.view?(this.setState({view:"hsl"},this.resetDraftValues),Object(Ko.speak)(Object(u.__)("Hue/saturation/lightness mode active"))):"hsl"===this.state.view&&(1===this.props.hsl.a?(this.setState({view:"hex"},this.resetDraftValues),Object(Ko.speak)(Object(u.__)("Hex color mode active"))):(this.setState({view:"rgb"},this.resetDraftValues),Object(Ko.speak)(Object(u.__)("RGB mode active"))))}resetDraftValues(){return this.props.onChange({state:"reset"})}normalizeValue(e,t){return"a"!==e?t:t<0?0:t>1?1:Math.round(100*t)/100}handleChange({source:e,state:t,value:n,valueKey:r}){this.props.onChange({source:e,state:t,valueKey:r,value:this.normalizeValue(r,n)})}renderFields(){const{disableAlpha:e=!1}=this.props;if("hex"===this.state.view)return Object(i.createElement)("div",{className:"components-color-picker__inputs-fields"},Object(i.createElement)(is,{source:this.state.view,label:Object(u.__)("Color value in hexadecimal"),valueKey:"hex",value:this.props.hex,onChange:this.handleChange}));if("rgb"===this.state.view){const t=e?Object(u.__)("Color value in RGB"):Object(u.__)("Color value in RGBA");return Object(i.createElement)("fieldset",null,Object(i.createElement)(h.a,{as:"legend"},t),Object(i.createElement)("div",{className:"components-color-picker__inputs-fields"},Object(i.createElement)(is,{source:this.state.view,label:"r",valueKey:"r",value:this.props.rgb.r,onChange:this.handleChange,type:"number",min:"0",max:"255"}),Object(i.createElement)(is,{source:this.state.view,label:"g",valueKey:"g",value:this.props.rgb.g,onChange:this.handleChange,type:"number",min:"0",max:"255"}),Object(i.createElement)(is,{source:this.state.view,label:"b",valueKey:"b",value:this.props.rgb.b,onChange:this.handleChange,type:"number",min:"0",max:"255"}),e?null:Object(i.createElement)(is,{source:this.state.view,label:"a",valueKey:"a",value:this.props.rgb.a,onChange:this.handleChange,type:"number",min:"0",max:"1",step:"0.01"})))}if("hsl"===this.state.view){const t=e?Object(u.__)("Color value in HSL"):Object(u.__)("Color value in HSLA");return Object(i.createElement)("fieldset",null,Object(i.createElement)(h.a,{as:"legend"},t),Object(i.createElement)("div",{className:"components-color-picker__inputs-fields"},Object(i.createElement)(is,{source:this.state.view,label:"h",valueKey:"h",value:this.props.hsl.h,onChange:this.handleChange,type:"number",min:"0",max:"359"}),Object(i.createElement)(is,{source:this.state.view,label:"s",valueKey:"s",value:this.props.hsl.s,onChange:this.handleChange,type:"number",min:"0",max:"100"}),Object(i.createElement)(is,{source:this.state.view,label:"l",valueKey:"l",value:this.props.hsl.l,onChange:this.handleChange,type:"number",min:"0",max:"100"}),e?null:Object(i.createElement)(is,{source:this.state.view,label:"a",valueKey:"a",value:this.props.hsl.a,onChange:this.handleChange,type:"number",min:"0",max:"1",step:"0.05"})))}}render(){return Object(i.createElement)("div",{className:"components-color-picker__inputs-wrapper"},this.renderFields(),Object(i.createElement)("div",{className:"components-color-picker__inputs-toggle-wrapper"},Object(i.createElement)(ss,{className:"components-color-picker__inputs-toggle",icon:Gi.a,label:Object(u.__)("Change color format"),onClick:this.toggleViews})))}}var ls=cs;class us extends i.Component{constructor(e){super(e),this.throttle=Object(s.throttle)((e,t,n)=>{e(t,n)},50),this.container=Object(i.createRef)(),this.saturate=this.saturate.bind(this),this.brighten=this.brighten.bind(this),this.handleChange=this.handleChange.bind(this),this.handleMouseDown=this.handleMouseDown.bind(this),this.handleMouseUp=this.handleMouseUp.bind(this)}componentWillUnmount(){this.throttle.cancel(),this.unbindEventListeners()}saturate(e=.01){const{hsv:t,onChange:n=s.noop}=this.props,r=Object(s.clamp)(t.s+Math.round(100*e),0,100);n({h:t.h,s:r,v:t.v,a:t.a,source:"rgb"})}brighten(e=.01){const{hsv:t,onChange:n=s.noop}=this.props,r=Object(s.clamp)(t.v+Math.round(100*e),0,100);n({h:t.h,s:t.s,v:r,a:t.a,source:"rgb"})}handleChange(e){const{onChange:t=s.noop}=this.props,n=function(e,t,n){const{top:r,left:o,width:a,height:i}=Xi(e,n),s=o<0?0:100*o/a;let c=r>=i?0:-100*r/i+100;return c<1&&(c=0),{h:t.hsl.h,s:s,v:c,a:t.hsl.a,source:"rgb"}}(e,this.props,this.container.current);this.throttle(t,n,e)}handleMouseDown(e){this.handleChange(e),window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)}handleMouseUp(){this.unbindEventListeners()}preventKeyEvents(e){e.keyCode!==mo.TAB&&e.preventDefault()}unbindEventListeners(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}render(){const{hsv:e,hsl:t,instanceId:n}=this.props,r={top:100-e.v+"%",left:e.s+"%"},o={up:()=>this.brighten(),"shift+up":()=>this.brighten(.1),pageup:()=>this.brighten(1),down:()=>this.brighten(-.01),"shift+down":()=>this.brighten(-.1),pagedown:()=>this.brighten(-1),right:()=>this.saturate(),"shift+right":()=>this.saturate(.1),end:()=>this.saturate(1),left:()=>this.saturate(-.01),"shift+left":()=>this.saturate(-.1),home:()=>this.saturate(-1)};return Object(i.createElement)(es,{shortcuts:o},Object(i.createElement)("div",{style:{background:`hsl(${t.h},100%, 50%)`},className:"components-color-picker__saturation-color",ref:this.container,onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange,role:"application"},Object(i.createElement)("div",{className:"components-color-picker__saturation-white"}),Object(i.createElement)("div",{className:"components-color-picker__saturation-black"}),Object(i.createElement)(Uo.a,{"aria-label":Object(u.__)("Choose a shade"),"aria-describedby":"color-picker-saturation-"+n,className:"components-color-picker__saturation-pointer",style:r,onKeyDown:this.preventKeyEvents}),Object(i.createElement)(h.a,{id:"color-picker-saturation-"+n},Object(u.__)("Use your arrow keys to change the base color. Move up to lighten the color, down to darken, left to decrease saturation, and right to increase saturation."))))}}var ds=Object(d.compose)(d.pure,d.withInstanceId)(us);const fs=e=>String(e).toLowerCase(),ps=e=>e.hex?Ji(e.hex):function(e){let t=0,n=0;return Object(s.each)(["r","g","b","a","h","s","l","v"],r=>{e[r]&&(t+=1,isNaN(e[r])||(n+=1))}),t===n&&e}(e),hs=(e,{source:t,valueKey:n,value:r})=>"hex"===t?{source:t,[t]:r}:{source:t,...e[t],[n]:r};class bs extends i.Component{constructor({color:e="0071a1"}){super(...arguments);const t=Zi(e);this.state={...t,draftHex:fs(t.hex),draftRgb:t.rgb,draftHsl:t.hsl},this.commitValues=this.commitValues.bind(this),this.setDraftValues=this.setDraftValues.bind(this),this.resetDraftValues=this.resetDraftValues.bind(this),this.handleInputChange=this.handleInputChange.bind(this)}commitValues(e){const{oldHue:t,onChangeComplete:n=s.noop}=this.props;if(ps(e)){const r=Zi(e,e.h||t);this.setState({...r,draftHex:fs(r.hex),draftHsl:r.hsl,draftRgb:r.rgb},Object(s.debounce)(Object(s.partial)(n,r),100))}}resetDraftValues(){this.setState({draftHex:this.state.hex,draftHsl:this.state.hsl,draftRgb:this.state.rgb})}setDraftValues(e){switch(e.source){case"hex":this.setState({draftHex:fs(e.hex)});break;case"rgb":this.setState({draftRgb:e});break;case"hsl":this.setState({draftHsl:e})}}handleInputChange(e){switch(e.state){case"reset":this.resetDraftValues();break;case"commit":const t=hs(this.state,e);(e=>"hex"===e.source&&void 0===e.hex||("hsl"===e.source&&(void 0===e.h||void 0===e.s||void 0===e.l)||!("rgb"!==e.source||void 0!==e.r&&void 0!==e.g&&void 0!==e.b||void 0!==e.h&&void 0!==e.s&&void 0!==e.v&&void 0!==e.a||void 0!==e.h&&void 0!==e.s&&void 0!==e.l&&void 0!==e.a)))(t)||this.commitValues(t);break;case"draft":this.setDraftValues(hs(this.state,e))}}render(){const{className:e,disableAlpha:t}=this.props,{color:n,hsl:r,hsv:o,rgb:a,draftHex:s,draftHsl:c,draftRgb:u}=this.state,d=l()(e,{"components-color-picker":!0,"is-alpha-disabled":t,"is-alpha-enabled":!t});return Object(i.createElement)("div",{className:d},Object(i.createElement)("div",{className:"components-color-picker__saturation"},Object(i.createElement)(ds,{hsl:r,hsv:o,onChange:this.commitValues})),Object(i.createElement)("div",{className:"components-color-picker__body"},Object(i.createElement)("div",{className:"components-color-picker__controls"},Object(i.createElement)("div",{className:"components-color-picker__swatch"},Object(i.createElement)("div",{className:"components-color-picker__active",style:{backgroundColor:n&&n.toRgbString()}})),Object(i.createElement)("div",{className:"components-color-picker__toggles"},Object(i.createElement)(os,{hsl:r,onChange:this.commitValues}),t?null:Object(i.createElement)(ns,{rgb:a,hsl:r,onChange:this.commitValues}))),Object(i.createElement)(ls,{rgb:u,hsl:c,hex:s,onChange:this.handleInputChange,disableAlpha:t})))}}function ms({shouldOpen:e,isOpen:t,onToggle:n}){return Object(i.useEffect)(()=>{e&&!t&&n()},[]),null}function gs({color:e,name:t,slug:n,onChange:r,onRemove:o,onConfirm:a,confirmLabel:c=Object(u.__)("OK"),isEditingNameOnMount:d=!1,isEditingColorOnMount:f=!1,onCancel:p,immutableColorSlugs:h=[]}){const[b,m]=Object(i.useState)(!1),[g,v]=Object(i.useState)(!1),[y,O]=Object(i.useState)(d),[j,_]=Object(i.useState)(!1),w=(b||g||y||j)&&!h.includes(n);return Object(i.createElement)("div",{tabIndex:0,className:l()("components-color-edit__color-option",{"is-hover":b&&!y&&!j}),onMouseEnter:()=>m(!0),onMouseLeave:()=>m(!1),onFocus:()=>v(!0),onBlur:()=>v(!1),"aria-label":t?Object(u.sprintf)(Object(u.__)("Color: %s"),t):Object(u.sprintf)(Object(u.__)("Color code: %s"),e)},Object(i.createElement)("div",{className:"components-color-edit__color-option-main-area"},Object(i.createElement)($i,{renderToggle:({isOpen:t,onToggle:n})=>Object(i.createElement)(i.Fragment,null,Object(i.createElement)(ms,{shouldOpen:f,isOpen:t,onToggle:n}),Object(i.createElement)(Yi.Option,{style:{backgroundColor:e,color:e},"aria-expanded":t,"aria-haspopup":"true",onClick:n,"aria-label":Object(u.__)("Edit color value")})),renderContent:()=>Object(i.createElement)(bs,{color:e,onChangeComplete:e=>r({color:e.hex,slug:n,name:t}),disableAlpha:!0})}),!y&&Object(i.createElement)("div",{className:"components-color-edit__color-option-color-name"},t),y&&Object(i.createElement)(i.Fragment,null,Object(i.createElement)(as,{className:"components-color-edit__color-option-color-name-input",hideLabelFromVision:!0,onChange:t=>r({color:e,slug:Object(s.kebabCase)(t),name:t}),label:Object(u.__)("Color name"),placeholder:Object(u.__)("Name"),value:t}),Object(i.createElement)(Uo.a,{onClick:()=>{O(!1),v(!1),a&&a()},isPrimary:!0},c)),!y&&Object(i.createElement)(i.Fragment,null,Object(i.createElement)(Uo.a,{className:l()({"components-color-edit__hidden-control":!w}),icon:Wi.a,label:Object(u.__)("Edit color name"),onClick:()=>O(!0)}),Object(i.createElement)(Uo.a,{className:l()({"components-color-edit__hidden-control":!w}),icon:Ki.a,label:Object(u.__)("Remove color"),onClick:o})),Object(i.createElement)(Uo.a,{className:l()({"components-color-edit__hidden-control":!w}),icon:j?Ui.a:Gi.a,label:Object(u.__)("Additional color settings"),onClick:()=>{j&&v(!1),_(!j)},"aria-expanded":j})),p&&Object(i.createElement)(Uo.a,{className:"components-color-edit__cancel-button",onClick:p},Object(u.__)("Cancel")),j&&Object(i.createElement)(as,{className:"components-color-edit__slug-input",onChange:n=>r({color:e,slug:n,name:t}),label:Object(u.__)("Slug"),value:n}))}function vs({onInsert:e,onCancel:t}){const[n,r]=Object(i.useState)({color:"#fff",name:"",slug:""});return Object(i.createElement)(gs,{color:n.color,name:n.name,slug:n.slug,onChange:r,confirmLabel:Object(u.__)("Save"),onConfirm:()=>e(n),isEditingNameOnMount:!0,isEditingColorOnMount:!0,onCancel:t})}function ys({colors:e,onChange:t,emptyUI:n,immutableColorSlugs:r,canReset:o=!0}){const[a,c]=Object(i.useState)(!1);return Object(i.createElement)(St,null,Object(i.createElement)("fieldset",null,Object(i.createElement)("div",{className:"components-color-edit__label-and-insert-container"},Object(i.createElement)("legend",null,Object(i.createElement)("div",null,Object(i.createElement)(St.VisualLabel,null,Object(u.__)("Color palette")))),!a&&Object(i.createElement)(Uo.a,{onClick:()=>{c(!0)},className:"components-color-edit__insert-button",icon:qi.a})),Object(i.createElement)("div",null,!Object(s.isEmpty)(e)&&e.map((n,o)=>Object(i.createElement)(gs,{key:o,color:n.color,name:n.name,slug:n.slug,immutableColorSlugs:r,onChange:n=>{t(e.map((e,t)=>t===o?n:e))},onRemove:()=>{t(e.filter((e,t)=>t!==o))}})),a&&Object(i.createElement)(vs,{onInsert:n=>{c(!1),t([...e||[],n])},onCancel:()=>c(!1)}),!a&&Object(s.isEmpty)(e)&&n),!!o&&Object(i.createElement)(Uo.a,{isSmall:!0,isSecondary:!0,className:"components-color-edit__reset-button",onClick:()=>t()},Object(u.__)("Reset"))))}var Os=({className:e,colorValue:t,...n})=>Object(i.createElement)("span",Object(a.a)({className:l()("component-color-indicator",e),style:{background:t}},n));function js({clearable:e=!0,className:t,colors:n,disableCustomColors:r=!1,onChange:o,value:a}){const c=Object(i.useCallback)(()=>o(void 0),[o]),l=Object(i.useMemo)(()=>Object(s.map)(n,({color:e,name:t})=>Object(i.createElement)(Yi.Option,{key:e,isSelected:a===e,selectedIconProps:a===e?{fill:U.a.mostReadable(e,["#000","#fff"]).toHexString()}:{},tooltipText:t||Object(u.sprintf)(Object(u.__)("Color code: %s"),e),style:{backgroundColor:e,color:e},onClick:a===e?c:()=>o(e),"aria-label":t?Object(u.sprintf)(Object(u.__)("Color: %s"),t):Object(u.sprintf)(Object(u.__)("Color code: %s"),e)})),[n,a,o,c]);return Object(i.createElement)(Yi,{className:t,options:l,actions:Object(i.createElement)(i.Fragment,null,!r&&Object(i.createElement)(Yi.DropdownLinkAction,{dropdownProps:{renderContent:()=>Object(i.createElement)(bs,{color:a,onChangeComplete:e=>o(e.hex),disableAlpha:!0}),contentClassName:"components-color-palette__picker"},buttonProps:{"aria-label":Object(u.__)("Custom color picker")},linkText:Object(u.__)("Custom color")}),!!e&&Object(i.createElement)(Yi.ButtonAction,{onClick:c},Object(u.__)("Clear")))})}var _s=n("bWcr");class ws extends i.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,...s}=this.props,c=e?e.length+1:0;return Object(i.createElement)("input",Object(a.a)({ref:this.bindInput,id:"components-form-token-input-"+n,type:"text"},s,{value:e||"",onChange:this.onChange,size:c,className:l()(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 ks=ws,xs=n("9Do8"),Es=n.n(xs);class Ss extends i.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.scrollingIntoView=!0,Es()(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(i.createElement)("ul",{ref:this.bindList,className:"components-form-token-field__suggestions-list",id:"components-form-token-suggestions-"+this.props.instanceId,role:"listbox"},Object(s.map)(this.props.suggestions,(e,t)=>{const n=this.computeSuggestionMatch(e),r=l()("components-form-token-field__suggestion",{"is-selected":t===this.props.selectedIndex});return Object(i.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(i.createElement)("span",{"aria-label":this.props.displayTransform(e)},n.suggestionBeforeMatch,Object(i.createElement)("strong",{className:"components-form-token-field__suggestion-match"},n.suggestionMatch),n.suggestionAfterMatch):this.props.displayTransform(e))}))}}Ss.defaultProps={match:"",onHover:()=>{},onSelect:()=>{},suggestions:Object.freeze([])};var Cs=Object(d.withSafeTimeout)(Ss),Ps=Object(d.createHigherOrderComponent)(e=>t=>{const[n,r]=Object(i.useState)(),o=Object(i.useCallback)(e=>r(()=>null!=e&&e.handleFocusOutside?e.handleFocusOutside.bind(e):void 0),[]);return Object(i.createElement)("div",Object(d.__experimentalUseFocusOutside)(n),Object(i.createElement)(e,Object(a.a)({ref:o},t)))},"withFocusOutside");const Ds=Ps(class extends i.Component{handleFocusOutside(e){this.props.onFocusOutside(e)}render(){return this.props.children}});var Ms=function e({value:t,label:n,options:r,onChange:o,onFilterValueChange:a=s.noop,hideLabelFromVision:c,help:f,allowReset:p=!0,className:h,messages:b={selected:Object(u.__)("Item selected.")}}){var m;const g=Object(d.useInstanceId)(e),[v,y]=Object(i.useState)(null),[O,j]=Object(i.useState)(!1),[_,w]=Object(i.useState)(""),k=Object(i.useRef)(),x=r.find(e=>e.value===t),E=null!==(m=null==x?void 0:x.label)&&void 0!==m?m:"",S=Object(i.useMemo)(()=>{const e=[],t=[],n=Object(s.deburr)(_.toLocaleLowerCase());return r.forEach(r=>{const o=Object(s.deburr)(r.label).toLocaleLowerCase().indexOf(n);0===o?e.push(r):o>0&&t.push(r)}),e.concat(t)},[_,r,t]),C=e=>{o(e.value),Object(Ko.speak)(b.selected,"assertive"),y(e),w(""),j(!1)},P=(e=1)=>{let t=S.indexOf(v)+e;t<0?t=S.length-1:t>=S.length&&(t=0),y(S[t]),j(!0)};return Object(i.useEffect)(()=>{const e=S.length>0;if(O){const t=e?Object(u.sprintf)(Object(u._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",S.length),S.length):Object(u.__)("No results.");Object(Ko.speak)(t,"polite")}},[S,O]),Object(i.createElement)(Ds,{onFocusOutside:()=>{j(!1)}},Object(i.createElement)(St,{className:l()(h,"components-combobox-control"),tabIndex:"-1",label:n,id:"components-form-token-input-"+g,hideLabelFromVision:c,help:f},Object(i.createElement)("div",{className:"components-combobox-control__suggestions-container",tabIndex:"-1",onKeyDown:e=>{let t=!1;switch(e.keyCode){case mo.ENTER:v&&(C(v),t=!0);break;case mo.UP:P(-1),t=!0;break;case mo.DOWN:P(1),t=!0;break;case mo.ESCAPE:j(!1),y(null),t=!0,e.stopPropagation()}t&&e.preventDefault()}},Object(i.createElement)(Zt,null,Object(i.createElement)(Ht,null,Object(i.createElement)(ks,{className:"components-combobox-control__input",instanceId:g,ref:k,value:O?_:E,"aria-label":E?`${E}, ${n}`:null,onFocus:()=>{j(!0),a(""),w("")},isExpanded:O,selectedSuggestionIndex:S.indexOf(v),onChange:e=>{const t=e.value;w(t),a(t),j(!0)}})),p&&Object(i.createElement)(Vt,null,Object(i.createElement)(Uo.a,{className:"components-combobox-control__reset",icon:_s.a,disabled:!t,onClick:()=>{o(null),k.current.input.focus()},label:Object(u.__)("Reset")}))),O&&Object(i.createElement)(Cs,{instanceId:g,match:{label:_},displayTransform:e=>e.label,suggestions:S,selectedIndex:S.indexOf(v),onHover:y,onSelect:C,scrollIntoView:!0}))))};function Is(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 Ts=n("17x9"),Rs=n.n(Ts);n("cD2C");function As(e){return"object"==typeof e&&null!=e&&1===e.nodeType}function Ns(e,t){return(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e}function Ls(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var n=getComputedStyle(e,null);return Ns(n.overflowY,t)||Ns(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 Fs(e,t,n,r,o,a,i,s){return a<e&&i>t||a>e&&i<t?0:a<=e&&s<=n||i>=t&&s>=n?a-e-r:i>t&&s<n||a<e&&s>n?i-t+o:0}var zs=0;function Bs(){}function Hs(e,t){e&&function(e,t){var n=window,r=t.scrollMode,o=t.block,a=t.inline,i=t.boundary,s=t.skipOverflowHiddenElements,c="function"==typeof i?i:function(e){return e!==i};if(!As(e))throw new TypeError("Invalid target");for(var l=document.scrollingElement||document.documentElement,u=[],d=e;As(d)&&c(d);){if((d=d.parentElement)===l){u.push(d);break}null!=d&&d===document.body&&Ls(d)&&!Ls(document.documentElement)||null!=d&&Ls(d,s)&&u.push(d)}for(var f=n.visualViewport?n.visualViewport.width:innerWidth,p=n.visualViewport?n.visualViewport.height:innerHeight,h=window.scrollX||pageXOffset,b=window.scrollY||pageYOffset,m=e.getBoundingClientRect(),g=m.height,v=m.width,y=m.top,O=m.right,j=m.bottom,_=m.left,w="start"===o||"nearest"===o?y:"end"===o?j:y+g/2,k="center"===a?_+v/2:"end"===a?O:_,x=[],E=0;E<u.length;E++){var S=u[E],C=S.getBoundingClientRect(),P=C.height,D=C.width,M=C.top,I=C.right,T=C.bottom,R=C.left;if("if-needed"===r&&y>=0&&_>=0&&j<=p&&O<=f&&y>=M&&j<=T&&_>=R&&O<=I)return x;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?w:"end"===o?w-p:"nearest"===o?Fs(b,b+p,p,L,z,b+w,b+w+g,g):w-p/2,H="start"===a?k:"center"===a?k-f/2:"end"===a?k-f:Fs(h,h+f,f,N,F,h+k,h+k+v,v),B=Math.max(0,B+b),H=Math.max(0,H+h);else{B="start"===o?w-M-L:"end"===o?w-T+z+W:"nearest"===o?Fs(M,T,P,L,z+W,w,w+g,g):w-(M+P/2)+W/2,H="start"===a?k-R-N:"center"===a?k-(R+D/2)+V/2:"end"===a?k-I+F+V:Fs(R,I,D,N,F+V,k,k+v,v);var K=S.scrollLeft,U=S.scrollTop;w+=U-(B=Math.max(0,Math.min(U+B,S.scrollHeight-P+W))),k+=K-(H=Math.max(0,Math.min(K+H,S.scrollWidth-D+V)))}x.push({el:S,top:B,left:H})}return x}(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 Vs(e,t,n){return e===t||t instanceof n.Node&&e.contains&&e.contains(t)}function Ws(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 Ks(){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 Us(){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 Gs(){return String(zs++)}function qs(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 $s(e,t){return Object.keys(e).reduce((function(n,r){return n[r]=Ys(t,r)?t[r]:e[r],n}),{})}function Ys(e,t){return void 0!==e[t]}function Zs(e){var t=e.key,n=e.keyCode;return n>=37&&n<=40&&0!==t.indexOf("Arrow")?"Arrow"+t:t}function Xs(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 s=Js(e,i,n,r,o);return-1===s?t>=n?-1:t:s}function Js(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 s=t-1;s>=0;s--)if(!r(s).hasAttribute("disabled"))return s;return o?e>0?Js(1,0,n,r,!1):Js(-1,n-1,n,r,!1):-1}function Qs(e,t,n,r){return void 0===r&&(r=!0),t.some((function(t){return t&&(Vs(t,e,n)||r&&Vs(t,n.document.activeElement,n))}))}var ec=Ws((function(e){nc(e).textContent=""}),500);function tc(e,t){var n=nc(t);e&&(n.textContent=e,ec(t))}function nc(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 rc={highlightedIndex:-1,isOpen:!1,selectedItem:null,inputValue:""};function oc(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"+uc(e)+"Change";o[s]&&void 0!==r[e]&&r[e]!==n[e]&&o[s](Object(a.a)({type:i},r))}(r,e,t,n),n[r]!==t[r]&&(i[r]=n[r])})),r.onStateChange&&Object.keys(i).length&&r.onStateChange(Object(a.a)({type:o},i))}var ac=Ws((function(e,t){tc(e(),t)}),200),ic="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?_.useLayoutEffect:_.useEffect;function sc(e){var t=e.id,n=void 0===t?"downshift-"+Gs():t,r=e.labelId,o=e.menuId,a=e.getItemId,i=e.toggleButtonId,s=e.inputId;return Object(_.useRef)({labelId:r||n+"-label",menuId:o||n+"-menu",getItemId:a||function(e){return n+"-item-"+e},toggleButtonId:i||n+"-toggle-button",inputId:s||n+"-input"}).current}function cc(e,t,n){return void 0!==e?e:0===n.length?-1:n.indexOf(t)}function lc(e){return/^\S{1}$/.test(e)}function uc(e){return""+e.slice(0,1).toUpperCase()+e.slice(1)}function dc(e){var t=Object(_.useRef)(e);return t.current=e,t}function fc(e,t,n){var r=Object(_.useRef)(),o=Object(_.useRef)(),i=Object(_.useCallback)((function(t,n){o.current=n,t=$s(t,n.props);var r=e(t,n);return n.props.stateReducer(t,Object(a.a)({},n,{changes:r}))}),[e]),s=Object(_.useReducer)(i,t),c=s[0],l=s[1],u=dc(n),d=Object(_.useCallback)((function(e){return l(Object(a.a)({props:u.current},e))}),[u]),f=o.current;return Object(_.useEffect)((function(){f&&r.current&&r.current!==c&&oc(f,$s(r.current,f.props),c),r.current=c}),[c,n,f]),[c,d]}function pc(e,t,n){var r=fc(e,t,n),o=r[0],a=r[1];return[$s(o,n),a]}var hc={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:Hs,circularNavigation:!1,environment:"undefined"==typeof window?{}:window};function bc(e,t,n){void 0===n&&(n=rc);var r="default"+uc(t);return r in e?e[r]:n[t]}function mc(e,t,n){if(void 0===n&&(n=rc),t in e)return e[t];var r="initial"+uc(t);return r in e?e[r]:bc(e,t,n)}function gc(e){var t=mc(e,"selectedItem"),n=mc(e,"isOpen"),r=mc(e,"highlightedIndex"),o=mc(e,"inputValue");return{highlightedIndex:r<0&&t&&n?e.items.indexOf(t):r,isOpen:n,selectedItem:t,inputValue:o}}function vc(e,t,n,r){var o=e.items,a=e.initialHighlightedIndex,i=e.defaultHighlightedIndex,s=t.selectedItem,c=t.highlightedIndex;return 0===o.length?-1:void 0!==a&&c===a?a:void 0!==i?i:s?0===n?o.indexOf(s):Xs(n,o.indexOf(s),o.length,r,!1):0===n?-1:n<0?o.length-1:0}function yc(e,t,n,r){var o=Object(_.useRef)({isMouseDown:!1,isTouchMove:!1});return Object(_.useEffect)((function(){var a=function(){o.current.isMouseDown=!0},i=function(a){o.current.isMouseDown=!1,e&&!Qs(a.target,t.map((function(e){return e.current})),n)&&r()},s=function(){o.current.isTouchMove=!1},c=function(){o.current.isTouchMove=!0},l=function(a){!e||o.current.isTouchMove||Qs(a.target,t.map((function(e){return e.current})),n,!1)||r()};return n.addEventListener("mousedown",a),n.addEventListener("mouseup",i),n.addEventListener("touchstart",s),n.addEventListener("touchmove",c),n.addEventListener("touchend",l),function(){n.removeEventListener("mousedown",a),n.removeEventListener("mouseup",i),n.removeEventListener("touchstart",s),n.removeEventListener("touchmove",c),n.removeEventListener("touchend",l)}}),[e,n]),o}var Oc=function(){return Bs};function jc(e,t,n){var r=n.isInitialMount,o=n.highlightedIndex,i=n.items,s=n.environment,c=Is(n,["isInitialMount","highlightedIndex","items","environment"]);Object(_.useEffect)((function(){r||ac((function(){return e(Object(a.a)({highlightedIndex:o,highlightedItem:i[o],resultCount:i.length},c))}),s.document)}),t)}function _c(e){var t=e.highlightedIndex,n=e.isOpen,r=e.itemRefs,o=e.getItemNodeFromIndex,a=e.menuElement,i=e.scrollIntoView,s=Object(_.useRef)(!0);return ic((function(){t<0||!n||!Object.keys(r.current).length||(!1===s.current?s.current=!0:i(o(t),a))}),[t]),s}var wc=Bs;function kc(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:vc(i,e,0)};break;case n.FunctionOpenMenu:r={isOpen:!0,highlightedIndex:vc(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:bc(i,"highlightedIndex"),isOpen:bc(i,"isOpen"),selectedItem:bc(i,"selectedItem"),inputValue:bc(i,"inputValue")};break;default:throw new Error("Reducer called without proper action type.")}return Object(a.a)({},e,r)}function xc(e,t,n,r,o){for(var a=e.toLowerCase(),i=0;i<n.length;i++){var s=(i+t+1)%n.length;if(r(n[s]).toLowerCase().startsWith(a)){var c=o(s);if(!c||!c.hasAttribute("disabled"))return s}}return t}Rs.a.array.isRequired,Rs.a.func,Rs.a.func,Rs.a.func,Rs.a.bool,Rs.a.number,Rs.a.number,Rs.a.number,Rs.a.bool,Rs.a.bool,Rs.a.bool,Rs.a.any,Rs.a.any,Rs.a.any,Rs.a.string,Rs.a.string,Rs.a.string,Rs.a.func,Rs.a.string,Rs.a.func,Rs.a.func,Rs.a.func,Rs.a.func,Rs.a.func,Rs.a.shape({addEventListener:Rs.a.func,removeEventListener:Rs.a.func,document:Rs.a.shape({getElementById:Rs.a.func,activeElement:Rs.a.any,body:Rs.a.any})});var Ec=Object(a.a)({},hc,{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.":""}}),Sc=Bs;var Cc=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 Pc(e,t){var n,r=t.type,o=t.props,i=t.shiftKey;switch(r){case 11:n={isOpen:bc(o,"isOpen"),highlightedIndex:bc(o,"highlightedIndex"),selectedItem:o.items[t.index]};break;case 15:var s=t.key,c=""+e.inputValue+s,l=xc(c,e.selectedItem?o.items.indexOf(e.selectedItem):-1,o.items,o.itemToString,t.getItemNodeFromIndex);n=Object(a.a)({inputValue:c},l>=0&&{selectedItem:o.items[l]});break;case 13:n={highlightedIndex:vc(o,e,1,t.getItemNodeFromIndex),isOpen:!0};break;case 14:n={highlightedIndex:vc(o,e,-1,t.getItemNodeFromIndex),isOpen:!0};break;case 5:case 6:n=Object(a.a)({isOpen:bc(o,"isOpen"),highlightedIndex:bc(o,"highlightedIndex")},e.highlightedIndex>=0&&{selectedItem:o.items[e.highlightedIndex]});break;case 3:n={highlightedIndex:Js(1,0,o.items.length,t.getItemNodeFromIndex,!1)};break;case 4:n={highlightedIndex:Js(-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=xc(d,e.highlightedIndex,o.items,o.itemToString,t.getItemNodeFromIndex);n=Object(a.a)({inputValue:d},f>=0&&{highlightedIndex:f});break;case 0:n={highlightedIndex:Xs(i?5:1,e.highlightedIndex,o.items.length,t.getItemNodeFromIndex,o.circularNavigation)};break;case 1:n={highlightedIndex:Xs(i?-5:-1,e.highlightedIndex,o.items.length,t.getItemNodeFromIndex,o.circularNavigation)};break;case 20:n={selectedItem:t.selectedItem};break;default:return kc(e,t,Cc)}return Object(a.a)({},e,n)}function Dc(e){void 0===e&&(e={}),Sc(e,Dc);var t=Object(a.a)({},Ec,e),n=t.items,r=t.scrollIntoView,o=t.environment,i=t.initialIsOpen,s=t.defaultIsOpen,c=t.itemToString,l=t.getA11ySelectionMessage,u=t.getA11yStatusMessage,d=pc(Pc,gc(t),t),f=d[0],p=d[1],h=f.isOpen,b=f.highlightedIndex,m=f.selectedItem,g=f.inputValue,v=Object(_.useRef)(null),y=Object(_.useRef)(null),O=Object(_.useRef)({}),j=Object(_.useRef)(!0),w=Object(_.useRef)(null),k=sc(t),x=Object(_.useRef)(),E=Object(_.useRef)(!0),S=dc({state:f,props:t}),C=Object(_.useCallback)((function(e){return O.current[k.getItemId(e)]}),[k]);jc(u,[h,b,g,n],Object(a.a)({isInitialMount:E.current,previousResultCount:x.current,items:n,environment:o,itemToString:c},f)),jc(l,[m],Object(a.a)({isInitialMount:E.current,previousResultCount:x.current,items:n,environment:o,itemToString:c},f));var P=_c({menuElement:y.current,highlightedIndex:b,isOpen:h,itemRefs:O,scrollIntoView:r,getItemNodeFromIndex:C});Object(_.useEffect)((function(){return w.current=Ws((function(e){e({type:21,inputValue:""})}),500),function(){w.current.cancel()}}),[]),Object(_.useEffect)((function(){g&&w.current(p)}),[p,g]),wc({isInitialMount:E.current,props:t,state:f}),Object(_.useEffect)((function(){E.current?(i||s||h)&&y.current&&y.current.focus():h?y.current&&y.current.focus():o.document.activeElement===y.current&&v.current&&(j.current=!1,v.current.focus())}),[h]),Object(_.useEffect)((function(){E.current||(x.current=n.length)}));var D=yc(h,[y,v],o,(function(){p({type:8})})),M=Oc();Object(_.useEffect)((function(){E.current=!1}),[]),Object(_.useEffect)((function(){h||(O.current={})}),[h]);var I=Object(_.useMemo)((function(){return{ArrowDown:function(e){e.preventDefault(),p({type:13,getItemNodeFromIndex:C,shiftKey:e.shiftKey})},ArrowUp:function(e){e.preventDefault(),p({type:14,getItemNodeFromIndex:C,shiftKey:e.shiftKey})}}}),[p,C]),T=Object(_.useMemo)((function(){return{ArrowDown:function(e){e.preventDefault(),p({type:0,getItemNodeFromIndex:C,shiftKey:e.shiftKey})},ArrowUp:function(e){e.preventDefault(),p({type:1,getItemNodeFromIndex:C,shiftKey:e.shiftKey})},Home:function(e){e.preventDefault(),p({type:3,getItemNodeFromIndex:C})},End:function(e){e.preventDefault(),p({type:4,getItemNodeFromIndex:C})},Escape:function(){p({type:2})},Enter:function(e){e.preventDefault(),p({type:5})}," ":function(e){e.preventDefault(),p({type:6})}}}),[p,C]),R=Object(_.useCallback)((function(){p({type:16})}),[p]),A=Object(_.useCallback)((function(){p({type:18})}),[p]),N=Object(_.useCallback)((function(){p({type:17})}),[p]),L=Object(_.useCallback)((function(e){p({type:19,highlightedIndex:e})}),[p]),F=Object(_.useCallback)((function(e){p({type:20,selectedItem:e})}),[p]),z=Object(_.useCallback)((function(){p({type:22})}),[p]),B=Object(_.useCallback)((function(e){p({type:21,inputValue:e})}),[p]),H=Object(_.useCallback)((function(e){return Object(a.a)({id:k.labelId,htmlFor:k.toggleButtonId},e)}),[k]),V=Object(_.useCallback)((function(e,t){var n,r=void 0===e?{}:e,o=r.onMouseLeave,i=r.refKey,s=void 0===i?"ref":i,c=r.onKeyDown,l=r.onBlur,u=r.ref,d=Is(r,["onMouseLeave","refKey","onKeyDown","onBlur","ref"]),f=(void 0===t?{}:t).suppressRefError,h=void 0!==f&&f,b=S.current.state;return M("getMenuProps",h,s,y),Object(a.a)(((n={})[s]=Us(u,(function(e){y.current=e})),n.id=k.menuId,n.role="listbox",n["aria-labelledby"]=k.labelId,n.tabIndex=-1,n),b.isOpen&&b.highlightedIndex>-1&&{"aria-activedescendant":k.getItemId(b.highlightedIndex)},{onMouseLeave:Ks(o,(function(){p({type:9})})),onKeyDown:Ks(c,(function(e){var t=Zs(e);t&&T[t]?T[t](e):lc(t)&&p({type:7,key:t,getItemNodeFromIndex:C})})),onBlur:Ks(l,(function(){!1!==j.current?!D.current.isMouseDown&&p({type:8}):j.current=!0}))},d)}),[p,S,T,D,M,k,C]);return{getToggleButtonProps:Object(_.useCallback)((function(e,t){var n,r=void 0===e?{}:e,o=r.onClick,i=r.onKeyDown,s=r.refKey,c=void 0===s?"ref":s,l=r.ref,u=Is(r,["onClick","onKeyDown","refKey","ref"]),d=(void 0===t?{}:t).suppressRefError,f=void 0!==d&&d,h=Object(a.a)(((n={})[c]=Us(l,(function(e){v.current=e})),n.id=k.toggleButtonId,n["aria-haspopup"]="listbox",n["aria-expanded"]=S.current.state.isOpen,n["aria-labelledby"]=k.labelId+" "+k.toggleButtonId,n),u);return u.disabled||(h.onClick=Ks(o,(function(){p({type:12})})),h.onKeyDown=Ks(i,(function(e){var t=Zs(e);t&&I[t]?I[t](e):lc(t)&&p({type:15,key:t,getItemNodeFromIndex:C})}))),M("getToggleButtonProps",f,c,v),h}),[p,S,I,M,k,C]),getLabelProps:H,getMenuProps:V,getItemProps:Object(_.useCallback)((function(e){var t,n=void 0===e?{}:e,r=n.item,o=n.index,i=n.onMouseMove,s=n.onClick,c=n.refKey,l=void 0===c?"ref":c,u=n.ref,d=Is(n,["item","index","onMouseMove","onClick","refKey","ref"]),f=S.current,h=f.state,b=f.props,m=cc(o,r,b.items);if(m<0)throw new Error("Pass either item or item index in getItemProps!");var g=Object(a.a)(((t={role:"option","aria-selected":""+(m===h.highlightedIndex),id:k.getItemId(m)})[l]=Us(u,(function(e){e&&(O.current[k.getItemId(m)]=e)})),t),d);return d.disabled||(g.onMouseMove=Ks(i,(function(){o!==h.highlightedIndex&&(P.current=!1,p({type:10,index:o}))})),g.onClick=Ks(s,(function(){p({type:11,index:o})}))),g}),[p,S,P,k]),toggleMenu:R,openMenu:N,closeMenu:A,setHighlightedIndex:L,selectItem:F,reset:z,setInputValue:B,highlightedIndex:b,isOpen:h,selectedItem:m,inputValue:g}}Dc.stateChangeTypes=Cc;Rs.a.array.isRequired,Rs.a.func,Rs.a.func,Rs.a.func,Rs.a.bool,Rs.a.number,Rs.a.number,Rs.a.number,Rs.a.bool,Rs.a.bool,Rs.a.bool,Rs.a.any,Rs.a.any,Rs.a.any,Rs.a.string,Rs.a.string,Rs.a.string,Rs.a.string,Rs.a.string,Rs.a.string,Rs.a.func,Rs.a.string,Rs.a.string,Rs.a.func,Rs.a.func,Rs.a.func,Rs.a.func,Rs.a.func,Rs.a.func,Rs.a.shape({addEventListener:Rs.a.func,removeEventListener:Rs.a.func,document:Rs.a.shape({getElementById:Rs.a.func,activeElement:Rs.a.any,body:Rs.a.any})});Object(a.a)({},hc,{getA11yStatusMessage:qs,circularNavigation:!0});Rs.a.array,Rs.a.array,Rs.a.array,Rs.a.func,Rs.a.func,Rs.a.func,Rs.a.number,Rs.a.number,Rs.a.number,Rs.a.func,Rs.a.func,Rs.a.string,Rs.a.string,Rs.a.shape({addEventListener:Rs.a.func,removeEventListener:Rs.a.func,document:Rs.a.shape({getElementById:Rs.a.func,activeElement:Rs.a.any,body:Rs.a.any})});const Mc=e=>e&&e.name,Ic=({selectedItem:e},{type:t,changes:n,props:{items:r}})=>{switch(t){case Dc.stateChangeTypes.ToggleButtonKeyDownArrowDown:return{selectedItem:r[e?Math.min(r.indexOf(e)+1,r.length-1):0]};case Dc.stateChangeTypes.ToggleButtonKeyDownArrowUp:return{selectedItem:r[e?Math.max(r.indexOf(e)-1,0):r.length-1]};default:return n}};function Tc({className:e,hideLabelFromVision:t,label:n,options:r,onChange:o,value:s}){const{getLabelProps:c,getToggleButtonProps:u,getMenuProps:d,getItemProps:f,isOpen:p,highlightedIndex:b,selectedItem:m}=Dc({initialSelectedItem:r[0],items:r,itemToString:Mc,onSelectedItemChange:o,selectedItem:s,stateReducer:Ic}),g=d({className:"components-custom-select-control__menu","aria-hidden":!p});return g["aria-activedescendant"]&&"downshift-null"===g["aria-activedescendant"].slice(0,"downshift-null".length)&&delete g["aria-activedescendant"],Object(i.createElement)("div",{className:l()("components-custom-select-control",e)},t?Object(i.createElement)(h.a,Object(a.a)({as:"label"},c()),n):Object(i.createElement)("label",c({className:"components-custom-select-control__label"}),n),Object(i.createElement)(Uo.a,u({"aria-label":n,"aria-labelledby":void 0,className:"components-custom-select-control__button",isSmall:!0}),Mc(m),Object(i.createElement)(zi.a,{icon:Gi.a,className:"components-custom-select-control__button-icon"})),Object(i.createElement)("ul",g,p&&r.map((e,t)=>Object(i.createElement)("li",f({item:e,index:t,key:e.key,className:l()(e.className,"components-custom-select-control__item",{"is-highlighted":t===b}),style:e.style}),e.name,e===m&&Object(i.createElement)(zi.a,{icon:Bi.a,className:"components-custom-select-control__item-icon"})))))}var Rc=n("vUUf"),Ac=(n("GG7f"),n("wy2R")),Nc=n.n(Ac),Lc=n("Xtko"),Fc=n.n(Lc);function zc({day:e,events:t=[]}){const n=Object(i.useRef)();return Object(i.useEffect)(()=>{var r;if(null==n||null===(r=n.current)||void 0===r||!r.parentNode)return;const{parentNode:o}=n.current,a=Nc()(e).format("dddd, LL");if(!t.length)return void o.setAttribute("aria-label",a);const i=Object(u.sprintf)(Object(u._n)("%1$s. There is %2$d event.","%1$s. There are %2$d events.",t.length),a,t.length);o.setAttribute("aria-label",i)},[t.length]),Object(i.createElement)("div",{ref:n,className:l()("components-datetime__date__day",{"has-events":null==t?void 0:t.length})},e.format("D"))}class Bc extends i.Component{constructor(){super(...arguments),this.onChangeMoment=this.onChangeMoment.bind(this),this.nodeRef=Object(i.createRef)(),this.onMonthPreviewedHandler=this.onMonthPreviewedHandler.bind(this)}onMonthPreviewedHandler(e){var t;null===(t=this.props)||void 0===t||t.onMonthPreviewed(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?Nc()(t):Nc()(),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?Nc()(e):Nc()()}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(i.createElement)("div",{className:"components-datetime__date",ref:this.nodeRef},Object(i.createElement)(Fc.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(u.isRTL)(),isOutsideRange:e=>t&&t(e.toDate()),onPrevMonthClick:this.onMonthPreviewedHandler,onNextMonthClick:this.onMonthPreviewedHandler,renderDayContents:e=>Object(i.createElement)(zc,{day:e,events:this.getEventsPerDay(e)})}))}}var Hc=Bc,Vc=n("FqII");var Wc=()=>{const{timezone:e}=Object(Vc.__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(u.__)("Coordinated Universal Time"):`(${r}) ${e.string.replace("_"," ")}`;return Object(i.createElement)(p.a,{position:"top center",text:o},Object(i.createElement)("div",{className:"components-datetime__timezone"},r))};function Kc({as:e,value:t,onUpdate:n,...r}){return Object(i.createElement)(e||"input",{key:t,defaultValue:t,onBlur:function(e){const{target:o}=e;if(t===o.value)return;const a=parseInt(o.value,10);!Object(s.isInteger)(a)||void 0!==r.max&&a>r.max||void 0!==r.min&&a<r.min?o.value=t:n(o.name,a)},...r})}var Uc=function({is12Hour:e,currentTime:t,onChange:n}){const[r,o]=Object(i.useState)(()=>Nc()(t).startOf("minutes"));Object(i.useEffect)(()=>{o(t?Nc()(t).startOf("minutes"):Nc()())},[t]);const{day:a,month:s,year:c,minutes:d,hours:f,am:p}=Object(i.useMemo)(()=>({day:r.format("DD"),month:r.format("MM"),year:r.format("YYYY"),minutes:r.format("mm"),hours:r.format(e?"hh":"HH"),am:r.format("H")<=11?"AM":"PM"}),[r,e]);function h(e){o(e),n(e.format("YYYY-MM-DDTHH:mm:ss"))}function b(e,t){h(r.clone()[e](t))}function m(e){return()=>{if(p===e)return;const t=parseInt(f,10);h(r.clone().hours("PM"===e?(t%12+12)%24:t%12))}}const g=Object(i.createElement)("div",{className:"components-datetime__time-field components-datetime__time-field-day"},Object(i.createElement)(Kc,{"aria-label":Object(u.__)("Day"),className:"components-datetime__time-field-day-input",type:"number",name:"date",value:a,step:1,min:1,max:31,onUpdate:b})),v=Object(i.createElement)("div",{className:"components-datetime__time-field components-datetime__time-field-month"},Object(i.createElement)(Kc,{as:"select","aria-label":Object(u.__)("Month"),className:"components-datetime__time-field-month-select",name:"month",value:s,onUpdate:(e,t)=>b(e,t-1)},Object(i.createElement)("option",{value:"01"},Object(u.__)("January")),Object(i.createElement)("option",{value:"02"},Object(u.__)("February")),Object(i.createElement)("option",{value:"03"},Object(u.__)("March")),Object(i.createElement)("option",{value:"04"},Object(u.__)("April")),Object(i.createElement)("option",{value:"05"},Object(u.__)("May")),Object(i.createElement)("option",{value:"06"},Object(u.__)("June")),Object(i.createElement)("option",{value:"07"},Object(u.__)("July")),Object(i.createElement)("option",{value:"08"},Object(u.__)("August")),Object(i.createElement)("option",{value:"09"},Object(u.__)("September")),Object(i.createElement)("option",{value:"10"},Object(u.__)("October")),Object(i.createElement)("option",{value:"11"},Object(u.__)("November")),Object(i.createElement)("option",{value:"12"},Object(u.__)("December")))),y=e?Object(i.createElement)(i.Fragment,null,g,v):Object(i.createElement)(i.Fragment,null,v,g);return Object(i.createElement)("div",{className:l()("components-datetime__time")},Object(i.createElement)("fieldset",null,Object(i.createElement)("legend",{className:"components-datetime__time-legend invisible"},Object(u.__)("Date")),Object(i.createElement)("div",{className:"components-datetime__time-wrapper"},y,Object(i.createElement)("div",{className:"components-datetime__time-field components-datetime__time-field-year"},Object(i.createElement)(Kc,{"aria-label":Object(u.__)("Year"),className:"components-datetime__time-field-year-input",type:"number",name:"year",step:1,min:0,max:9999,value:c,onUpdate:b})))),Object(i.createElement)("fieldset",null,Object(i.createElement)("legend",{className:"components-datetime__time-legend invisible"},Object(u.__)("Time")),Object(i.createElement)("div",{className:"components-datetime__time-wrapper"},Object(i.createElement)("div",{className:"components-datetime__time-field components-datetime__time-field-time"},Object(i.createElement)(Kc,{"aria-label":Object(u.__)("Hours"),className:"components-datetime__time-field-hours-input",type:"number",name:"hours",step:1,min:e?1:0,max:e?12:23,value:f,onUpdate:b}),Object(i.createElement)("span",{className:"components-datetime__time-separator","aria-hidden":"true"},":"),Object(i.createElement)(Kc,{"aria-label":Object(u.__)("Minutes"),className:"components-datetime__time-field-minutes-input",type:"number",name:"minutes",step:1,min:0,max:59,value:d,onUpdate:b})),e&&Object(i.createElement)(pi,{className:"components-datetime__time-field components-datetime__time-field-am-pm"},Object(i.createElement)(Uo.a,{isPrimary:"AM"===p,isSecondary:"AM"!==p,onClick:m("AM"),className:"components-datetime__time-am-button"},Object(u.__)("AM")),Object(i.createElement)(Uo.a,{isPrimary:"PM"===p,isSecondary:"PM"!==p,onClick:m("PM"),className:"components-datetime__time-pm-button"},Object(u.__)("PM"))),Object(i.createElement)(Wc,null))))};var Gc=Object(i.forwardRef)((function({currentDate:e,is12Hour:t,isInvalidDate:n,onMonthPreviewed:r=s.noop,onChange:o,events:a},c){const[l,d]=Object(i.useState)(!1);return Object(i.createElement)("div",{ref:c,className:"components-datetime"},!l&&Object(i.createElement)(i.Fragment,null,Object(i.createElement)(Uc,{currentTime:e,onChange:o,is12Hour:t}),Object(i.createElement)(Hc,{currentDate:e,onChange:o,isInvalidDate:n,events:a,onMonthPreviewed:r})),l&&Object(i.createElement)(i.Fragment,null,Object(i.createElement)("div",{className:"components-datetime__calendar-help"},Object(i.createElement)("h4",null,Object(u.__)("Click to Select")),Object(i.createElement)("ul",null,Object(i.createElement)("li",null,Object(u.__)("Click the right or left arrows to select other months in the past or the future.")),Object(i.createElement)("li",null,Object(u.__)("Click the desired day to select it."))),Object(i.createElement)("h4",null,Object(u.__)("Navigating with a keyboard")),Object(i.createElement)("ul",null,Object(i.createElement)("li",null,Object(i.createElement)("abbr",{"aria-label":Object(u._x)("Enter","keyboard button")},"↵")," ",Object(i.createElement)("span",null,Object(u.__)("Select the date in focus."))),Object(i.createElement)("li",null,Object(i.createElement)("abbr",{"aria-label":Object(u.__)("Left and Right Arrows")},"←/→")," ",Object(u.__)("Move backward (left) or forward (right) by one day.")),Object(i.createElement)("li",null,Object(i.createElement)("abbr",{"aria-label":Object(u.__)("Up and Down Arrows")},"↑/↓")," ",Object(u.__)("Move backward (up) or forward (down) by one week.")),Object(i.createElement)("li",null,Object(i.createElement)("abbr",{"aria-label":Object(u.__)("Page Up and Page Down")},Object(u.__)("PgUp/PgDn"))," ",Object(u.__)("Move backward (PgUp) or forward (PgDn) by one month.")),Object(i.createElement)("li",null,Object(i.createElement)("abbr",{"aria-label":Object(u.__)("Home and End")},Object(u.__)("Home/End"))," ",Object(u.__)("Go to the first (home) or last (end) day of a week."))))),Object(i.createElement)("div",{className:"components-datetime__buttons"},!l&&e&&Object(i.createElement)(Uo.a,{className:"components-datetime__date-reset-button",isLink:!0,onClick:()=>o(null)},Object(u.__)("Reset")),Object(i.createElement)(Uo.a,{className:"components-datetime__date-help-toggle",isLink:!0,onClick:function(){d(!l)}},l?Object(u.__)("Close"):Object(u.__)("Calendar Help"))))})),qc=n("9VDH");const $c=W("select",{target:"e12x0a390",label:"Select"})("&&&{appearance:none;background:transparent;box-sizing:border-box;border:none;box-shadow:none !important;color:",re.black,";display:block;margin:0;width:100%;",({disabled:e})=>e?A({color:re.ui.textDisabled},""):"",";",({size:e})=>{const t={default:"13px",small:"11px"}[e];return t?A("font-size:","16px",";@media ( min-width:600px ){font-size:",t,";}"):""},";",({size:e})=>{const t={default:{height:30,lineHeight:1,minHeight:30},small:{height:24,lineHeight:1,minHeight:24}};return A(t[e]||t.default,"")},";",In({paddingLeft:8,paddingRight:24})(),"}"),Yc=W("div",{target:"e12x0a391",label:"DownArrowWrapper"})("align-items:center;bottom:0;box-sizing:border-box;display:flex;padding:0 4px;pointer-events:none;position:absolute;top:0;",In({right:0})()," svg{display:block;}");function Zc({className:e,disabled:t=!1,help:n,hideLabelFromVision:r,id:o,label:c,multiple:u=!1,onBlur:f=s.noop,onChange:p=s.noop,onFocus:h=s.noop,options:b=[],size:m="default",value:g,labelPosition:v="top",...y},O){const[j,_]=Object(i.useState)(!1),w=function(e){const t=Object(d.useInstanceId)(Zc);return e||"inspector-select-control-"+t}(o),k=n?w+"__help":void 0;if(Object(s.isEmpty)(b))return null;const x=l()("components-select-control",e);return Object(i.createElement)(St,{help:n},Object(i.createElement)(ar,Object(a.a)({className:x,disabled:t,hideLabelFromVision:r,id:w,isFocused:j,label:c,size:m,suffix:Object(i.createElement)(Yc,null,Object(i.createElement)(zi.a,{icon:Gi.a,size:18})),labelPosition:v},y),Object(i.createElement)($c,Object(a.a)({},y,{"aria-describedby":k,className:"components-select-control__input",disabled:t,id:w,multiple:u,onBlur:e=>{f(e),_(!1)},onChange:e=>{if(u){const t=[...e.target.options].filter(({selected:e})=>e).map(({value:e})=>e);p(t)}else p(e.target.value,{event:e})},onFocus:e=>{h(e),_(!0)},ref:O,size:m,value:g}),b.map((e,t)=>{const n=e.id||`${e.label}-${e.value}-${t}`;return Object(i.createElement)("option",{key:n,value:e.value,disabled:e.disabled},e.label)}))))}var Xc=Object(i.forwardRef)(Zc);var Jc=[{name:Object(u.__)("None"),slug:"none"},{name:Object(u.__)("Small"),slug:"small"},{name:Object(u.__)("Medium"),slug:"medium"},{name:Object(u.__)("Large"),slug:"large"},{name:Object(u.__)("Extra Large"),slug:"xlarge"}];var Qc=function(e){const{label:t,value:n,sizes:r=Jc,icon:o,onChange:a,className:c=""}=e,d=Object(i.createElement)(i.Fragment,null,o&&Object(i.createElement)(qc.a,{icon:o}),t);return Object(i.createElement)(Xc,{className:l()(c,"block-editor-dimension-control"),label:d,hideLabelFromVision:!1,value:n,onChange:e=>{const t=((e,t)=>e.find(e=>t===e.slug))(r,e);t&&n!==t.slug?Object(s.isFunction)(a)&&a(t.slug):a(void 0)},options:(e=>{const t=e.map(({name:e,slug:t})=>({label:e,value:t}));return[{label:Object(u.__)("Default"),value:""}].concat(t)})(r)})},el=n("1CF3");const tl=W("div",{target:"e1ac3xxk0",label:"StyledWrapper"})({name:"u2jump",styles:"position:relative;pointer-events:none;&::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;}*{pointer-events:none;}"}),nl=Object(i.createContext)(!1),{Consumer:rl,Provider:ol}=nl,al=["BUTTON","FIELDSET","INPUT","OPTGROUP","OPTION","SELECT","TEXTAREA"];function il({className:e,children:t,isDisabled:n=!0,...r}){const o=Object(i.useRef)(),c=()=>{el.focus.focusable.find(o.current).forEach(e=>{Object(s.includes)(al,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(i.useCallback)(Object(s.debounce)(c,{leading:!0}),[]);return Object(i.useLayoutEffect)(()=>{if(!n)return;c();const e=new window.MutationObserver(u);return e.observe(o.current,{childList:!0,attributes:!0,subtree:!0}),()=>{e.disconnect(),u.cancel()}},[]),n?Object(i.createElement)(ol,{value:!0},Object(i.createElement)(tl,Object(a.a)({ref:o,className:l()(e,"components-disabled")},r),t)):Object(i.createElement)(ol,{value:!1},t)}il.Context=nl,il.Consumer=rl;var sl=il,cl=["baseId","unstable_idCountRef","visible","animated","animating","setBaseId","show","hide","toggle","setVisible","setAnimated","stopAnimation"],ll=Object(He.a)({name:"DisclosureContent",compose:Ue.a,keys:cl,useProps:function(e,t){var n=t.onTransitionEnd,r=t.onAnimationEnd,o=t.style,a=Object(pe.a)(t,["onTransitionEnd","onAnimationEnd","style"]),i=e.animated&&e.animating,s=Object(_.useState)(null),c=s[0],l=s[1],u=!e.visible&&!i,d=u?Object(pe.b)({display:"none"},o):o,f=Object(We.a)(n),p=Object(We.a)(r),h=Object(_.useRef)(0);Object(_.useEffect)((function(){if(e.animated)return h.current=window.requestAnimationFrame((function(){h.current=window.requestAnimationFrame((function(){e.visible?l("enter"):l(i?"leave":null)}))})),function(){return window.cancelAnimationFrame(h.current)}}),[e.animated,e.visible,i]);var b=Object(_.useCallback)((function(t){var n;Object(Ke.a)(t)&&(i&&!0===e.animated&&(null===(n=e.stopAnimation)||void 0===n||n.call(e)))}),[e.animated,i,e.stopAnimation]),m=Object(_.useCallback)((function(e){var t;null===(t=f.current)||void 0===t||t.call(f,e),b(e)}),[b]),g=Object(_.useCallback)((function(e){var t;null===(t=p.current)||void 0===t||t.call(p,e),b(e)}),[b]);return Object(pe.b)({id:e.baseId,"data-enter":"enter"===c?"":void 0,"data-leave":"leave"===c?"":void 0,onTransitionEnd:m,onAnimationEnd:g,hidden:u,style:d},a)}}),ul=Object(Be.a)({as:"div",useHook:ll}),dl=Object(He.a)({name:"Separator",compose:Ue.a,keys:["orientation"],useOptions:function(e){var t=e.orientation,n=void 0===t?"horizontal":t,r=Object(pe.a)(e,["orientation"]);return Object(pe.b)({orientation:n},r)},useProps:function(e,t){return Object(pe.b)({role:"separator","aria-orientation":e.orientation},t)}}),fl=Object(Be.a)({as:"hr",memo:!0,useHook:dl});const pl=Object(Tt.a)("border-color:",dn.colorDivider,";border-width:0 0 1px 0;height:0;margin:0;width:auto;;label:Divider;");var hl=Object(Ct.a)((function(e,t){const{className:n,margin:r,marginBottom:o,marginTop:s,...c}=Object(It.a)(e,"Divider"),l=Object(i.useMemo)(()=>{const e={};return void 0!==r?e.margin=Object(Tt.a)("margin-bottom:",$t(r),";margin-top:",$t(r),";"):(void 0!==s&&(e.marginTop=Object(Tt.a)("margin-top:",$t(s),";")),void 0!==o&&(e.marginBottom=Object(Tt.a)("margin-bottom:",$t(o),";"))),Object(Tt.b)(pl,e.marginBottom,e.marginTop,e.margin,n)},[n,r,o,s]);return Object(i.createElement)(fl,Object(a.a)({as:"hr"},c,{className:l,ref:t}))}),"Divider");const bl="is-dragging-components-draggable";function ml({children:e,onDragStart:t,onDragOver:n,onDragEnd:r,cloneClassname:o,elementId:a,transferData:s,__experimentalTransferDataType:c="text",__experimentalDragComponent:l}){const u=Object(i.useRef)(null),d=Object(i.useRef)(()=>{});return Object(i.useEffect)(()=>()=>{d.current()},[]),Object(i.createElement)(i.Fragment,null,e({onDraggableStart:function(e){const{ownerDocument:r}=e.target;e.dataTransfer.setData(c,JSON.stringify(s));const i=r.createElement("div"),l=r.createElement("div");if("function"==typeof e.dataTransfer.setDragImage&&(l.classList.add("components-draggable__invisible-drag-image"),r.body.appendChild(l),e.dataTransfer.setDragImage(l,0,0)),i.classList.add("components-draggable__clone"),o&&i.classList.add(o),u.current){i.style.top=e.clientY+"px",i.style.left=e.clientX+"px";const t=r.createElement("div");t.innerHTML=u.current.innerHTML,i.appendChild(t),r.body.appendChild(i)}else{const t=r.getElementById(a),n=t.getBoundingClientRect(),o=t.parentNode,s=parseInt(n.top,10),c=parseInt(n.left,10);i.style.width=n.width+0+"px";const l=t.cloneNode(!0);l.id="clone-"+a,n.height>700?(i.style.transform="scale(0.5)",i.style.transformOrigin="top left",i.style.top=e.clientY-100+"px",i.style.left=e.clientX+"px"):(i.style.top=s-0+"px",i.style.left=c-0+"px"),Array.from(l.querySelectorAll("iframe")).forEach(e=>e.parentNode.removeChild(e)),i.appendChild(l),o.appendChild(i)}let f,p=e.clientX,h=e.clientY;function b(e){i.style.top=parseInt(i.style.top,10)+e.clientY-h+"px",i.style.left=parseInt(i.style.left,10)+e.clientX-p+"px",p=e.clientX,h=e.clientY,n&&n(e)}r.addEventListener("dragover",b),r.body.classList.add(bl),e.persist(),t&&(f=setTimeout(()=>t(e))),d.current=()=>{i&&i.parentNode&&i.parentNode.removeChild(i),l&&l.parentNode&&l.parentNode.removeChild(l),r.body.classList.remove(bl),r.removeEventListener("dragover",b),clearTimeout(f)}},onDraggableEnd:function(e){e.preventDefault(),d.current(),r&&r(e)}}),l&&Object(i.createElement)("div",{className:"components-draggable-drag-component-root",style:{display:"none"},ref:u},l))}var gl=n("NTP4");function vl({className:e,label:t,onFilesDrop:n,onHTMLDrop:r,onDrop:o}){const[a,c]=Object(i.useState)(),[f,p]=Object(i.useState)(),[h,b]=Object(i.useState)(),m=Object(d.__experimentalUseDropZone)({onDrop(e){const t=Object(el.getFilesFromDataTransfer)(e.dataTransfer),a=e.dataTransfer.getData("text/html");t.length&&n?n(t):a&&r?r(a):o&&o(e)},onDragStart(e){c(!0);let t="default";Object(s.includes)(e.dataTransfer.types,"Files")||Object(el.getFilesFromDataTransfer)(e.dataTransfer).length>0?t="file":Object(s.includes)(e.dataTransfer.types,"text/html")&&(t="html"),b(t)},onDragEnd(){c(!1),b()},onDragEnter(){p(!0)},onDragLeave(){p(!1)}});let g;f&&(g=Object(i.createElement)("div",{className:"components-drop-zone__content"},Object(i.createElement)(zi.a,{icon:gl.a,className:"components-drop-zone__content-icon"}),Object(i.createElement)("span",{className:"components-drop-zone__content-text"},t||Object(u.__)("Drop files to upload"))));const v=l()("components-drop-zone",e,{"is-active":(a||f)&&("file"===h&&n||"html"===h&&r||"default"===h&&o),"is-dragging-over-document":a,"is-dragging-over-element":f,["is-dragging-"+h]:!!h});return Object(i.createElement)("div",{ref:m,className:v},g)}function yl({children:e}){return Kt()("wp.components.DropZoneProvider",{hint:"wp.component.DropZone no longer needs a provider. wp.components.DropZoneProvider is safe to remove from your code."}),e}var Ol=Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(o.Path,{d:"M5 5v1.5h14V5H5zm0 7.8h14v-1.5H5v1.5zM5 19h14v-1.5H5V19z"}));const jl=["menuitem","menuitemradio","menuitemcheckbox"];class _l extends i.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(s.isFunction)(t)?t(e):t&&"current"in t&&(t.current=e)}getFocusableContext(e){const{onlyBrowserTabstops:t}=this.props,n=(t?el.focus.tabbable:el.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=s.noop,stopNavigationEvents:a}=this.props,i=r(e);if(void 0!==i&&a){e.stopImmediatePropagation();const t=e.target.getAttribute("role");jl.includes(t)&&e.preventDefault()}if(!i)return;const c=t(e.target.ownerDocument.activeElement);if(!c)return;const{index:l,focusables:u}=c,d=n?function(e,t,n){const r=e+n;return r<0?t+r:r>=t?r-t:r}(l,u.length,i):l+i;d>=0&&d<u.length&&(u[d].focus(),o(d,u[d]))}render(){const{children:e,...t}=this.props;return Object(i.createElement)("div",Object(a.a)({ref:this.bindContainer},Object(s.omit)(t,["stopNavigationEvents","eventToOffset","onNavigate","onKeyDown","cycle","onlyBrowserTabstops","forwardedRef"])),e)}}const wl=(e,t)=>Object(i.createElement)(_l,Object(a.a)({},e,{forwardedRef:t}));wl.displayName="NavigableContainer";var kl=Object(i.forwardRef)(wl);var xl=Object(i.forwardRef)((function({role:e="menu",orientation:t="vertical",...n},r){return Object(i.createElement)(kl,Object(a.a)({ref:r,stopNavigationEvents:!0,onlyBrowserTabstops:!1,role:e,"aria-orientation":"presentation"===e?null:t,eventToOffset:e=>{const{keyCode:n}=e;let r=[mo.DOWN],o=[mo.UP];return"horizontal"===t&&(r=[mo.RIGHT],o=[mo.LEFT]),"both"===t&&(r=[mo.RIGHT,mo.DOWN],o=[mo.LEFT,mo.UP]),Object(s.includes)(r,n)?1:Object(s.includes)(o,n)?-1:Object(s.includes)([mo.DOWN,mo.UP,mo.LEFT,mo.RIGHT],n)?0:void 0}},n))}));function El(e={},t={}){const n={...e,...t};return t.className&&e.className&&(n.className=l()(t.className,e.className)),n}var Sl=function({children:e,className:t,controls:n,icon:r=Ol,label:o,popoverProps:c,toggleProps:u,menuProps:d,disableOpenOnArrowDown:f=!1,text:p,menuLabel:h,position:b,noIcons:m}){if(h&&Kt()("`menuLabel` prop in `DropdownComponent`",{since:"5.3",alternative:"`menuProps` object and its `aria-label` property"}),b&&Kt()("`position` prop in `DropdownComponent`",{since:"5.3",alternative:"`popoverProps` object and its `position` property"}),Object(s.isEmpty)(n)&&!Object(s.isFunction)(e))return null;let g;Object(s.isEmpty)(n)||(g=n,Array.isArray(g[0])||(g=[g]));const v=El({className:"components-dropdown-menu__popover",position:b},c);return Object(i.createElement)($i,{className:l()("components-dropdown-menu",t),popoverProps:v,renderToggle:({isOpen:e,onToggle:t})=>{var n;const s=El({className:l()("components-dropdown-menu__toggle",{"is-opened":e})},u);return Object(i.createElement)(Uo.a,Object(a.a)({},s,{icon:r,onClick:e=>{t(e),s.onClick&&s.onClick(e)},onKeyDown:n=>{(n=>{f||e||n.keyCode!==mo.DOWN||(n.preventDefault(),n.stopPropagation(),t())})(n),s.onKeyDown&&s.onKeyDown(n)},"aria-haspopup":"true","aria-expanded":e,label:o,text:p,showTooltip:null===(n=null==u?void 0:u.showTooltip)||void 0===n||n}),s.children)},renderContent:t=>{const n=El({"aria-label":h||o,className:l()("components-dropdown-menu__menu",{"no-icons":m})},d);return Object(i.createElement)(xl,Object(a.a)({},n,{role:"menu"}),Object(s.isFunction)(e)?e(t):null,Object(s.flatMap)(g,(e,n)=>e.map((e,r)=>Object(i.createElement)(Uo.a,{key:[n,r].join(),onClick:n=>{n.stopPropagation(),t.onClose(),e.onClick&&e.onClick()},className:l()("components-dropdown-menu__menu-item",{"has-separator":n>0&&0===r,"is-active":e.isActive}),icon:e.icon,"aria-checked":"menuitemcheckbox"===e.role||"menuitemradio"===e.role?e.isActive:void 0,role:"menuitemcheckbox"===e.role||"menuitemradio"===e.role?e.role:"menuitem",disabled:e.isDisabled},e.title))))}})};var Cl=Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(o.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 Pl=function({fill:e}){return e?Object(i.createElement)("span",{className:"components-swatch",style:{background:e}}):Object(i.createElement)(qc.a,{icon:Cl})};function Dl(e=[],t="90deg"){const n=100/e.length;return`linear-gradient( ${t}, ${e.map((e,t)=>`${e} ${t*n}%, ${e} ${(t+1)*n}%`).join(", ")} )`}var Ml=function({values:e}){return Object(i.createElement)(Pl,{fill:e&&Dl(e,"135deg")})};function Il({label:e,value:t,colors:n,disableCustomColors:r,onChange:o}){const[a,s]=Object(i.useState)(!1);return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(Uo.a,{className:"components-color-list-picker__swatch-button",icon:Object(i.createElement)(Pl,{fill:t}),onClick:()=>s(e=>!e)},e),a&&Object(i.createElement)(js,{colors:n,value:t,clearable:!1,onChange:o,disableCustomColors:r}))}var Tl=function({colors:e,labels:t,value:n=[],disableCustomColors:r,onChange:o}){return Object(i.createElement)("div",{className:"components-color-list-picker"},t.map((t,a)=>Object(i.createElement)(Il,{key:a,label:t,value:n[a],colors:e,disableCustomColors:r,onChange:e=>{const t=n.slice();t[a]=e,o(t)}})))};const Rl={className:"components-custom-gradient-picker__color-picker-popover",position:"top"};function Al(e){return Math.max(0,Math.min(100,e))}function Nl(e,t,n){const r=e.slice();return r[t]=n,r}function Ll(e,t,n){if(function(e,t,n,r=0){const o=e[t].position,a=Math.min(o,n),i=Math.max(o,n);return e.some(({position:e},o)=>o!==t&&(Math.abs(e-n)<r||a<e&&e<i))}(e,t,n))return e;return Nl(e,t,{...e[t],position:n})}function Fl(e,t,n){return Nl(e,t,{...e[t],color:n})}function zl(e,t,n){if(!t)return;const{x:r,width:o}=t.getBoundingClientRect(),a=e-r-5-n/2,i=o-5-23;return Math.round(Al(100*a/i))}function Bl({value:e,onChange:t,children:n}){const r={right(n){n.stopPropagation();const r=Al(e+10);t(r)},left(n){n.stopPropagation();const r=Al(e-10);t(r)}};return Object(i.createElement)(es,{shortcuts:r},n)}function Hl({isOpen:e,position:t,color:n,onChange:r,...o}){const s="components-custom-gradient-picker__control-point-button-description-"+Object(d.useInstanceId)(Hl);return Object(i.createElement)(Bl,{value:t,onChange:r},Object(i.createElement)(Uo.a,Object(a.a)({"aria-label":Object(u.sprintf)(Object(u.__)("Gradient control point at position %1$s%% with color code %2$s."),t,n),"aria-describedby":s,"aria-haspopup":"true","aria-expanded":e,className:l()("components-custom-gradient-picker__control-point-button",{"is-active":e}),style:{left:t+"%"}},o)),Object(i.createElement)(h.a,{id:s},Object(u.__)("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 Vl({disableRemove:e,disableAlpha:t,gradientPickerDomRef:n,ignoreMarkerPosition:r,value:o,onChange:a,onStartControlPointChange:s,onStopControlPointChange:c}){const l=Object(i.useRef)(),d=e=>{const t=zl(e.clientX,n.current,18),{initialPosition:r,index:i,significantMoveHappened:s}=l.current;!s&&Math.abs(r-t)>=5&&(l.current.significantMoveHappened=!0),a(Ll(o,i,t))},f=()=>{window&&window.removeEventListener&&l.current&&l.current.listenersActivated&&(window.removeEventListener("mousemove",d),window.removeEventListener("mouseup",f),c(),l.current.listenersActivated=!1)};return Object(i.useEffect)(()=>()=>{f()},[]),o.map((n,p)=>{const h=null==n?void 0:n.position;return r!==h&&Object(i.createElement)($i,{key:p,onClose:c,renderToggle:({isOpen:e,onToggle:t})=>Object(i.createElement)(Hl,{key:p,onClick:()=>{l.current&&l.current.significantMoveHappened||(e?c():s(),t())},onMouseDown:()=>{window&&window.addEventListener&&(l.current={initialPosition:h,index:p,significantMoveHappened:!1,listenersActivated:!0},s(),window.addEventListener("mousemove",d),window.addEventListener("mouseup",f))},isOpen:e,position:n.position,color:n.color,onChange:e=>{a(Ll(o,p,e))}}),renderContent:({onClose:r})=>Object(i.createElement)(i.Fragment,null,Object(i.createElement)(bs,{disableAlpha:t,color:n.color,onChangeComplete:({color:e})=>{a(Fl(o,p,e.toRgbString()))}}),!e&&Object(i.createElement)(Uo.a,{className:"components-custom-gradient-picker__remove-control-point",onClick:()=>{a(function(e,t){return e.filter((e,n)=>n!==t)}(o,p)),r()},isLink:!0},Object(u.__)("Remove Control Point"))),popoverProps:Rl})})}Vl.InsertPoint=function({value:e,onChange:t,onOpenInserter:n,onCloseInserter:r,insertPosition:o,disableAlpha:a}){const[s,c]=Object(i.useState)(!1);return Object(i.createElement)($i,{className:"components-custom-gradient-picker__inserter",onClose:()=>{r()},renderToggle:({isOpen:e,onToggle:t})=>Object(i.createElement)(Uo.a,{"aria-expanded":e,"aria-haspopup":"true",onClick:()=>{e?r():(c(!1),n()),t()},className:"components-custom-gradient-picker__insert-point",icon:qi.a,style:{left:null!==o?o+"%":void 0}}),renderContent:()=>Object(i.createElement)(bs,{disableAlpha:a,onChangeComplete:({color:n})=>{s?t(function(e,t,n){const r=e.findIndex(e=>e.position===t);return Fl(e,r,n)}(e,o,n.toRgbString())):(t(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}(e,o,n.toRgbString())),c(!0))}}),popoverProps:Rl})};var Wl=Vl;function Kl(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 Ul={id:"IDLE"};function Gl({background:e,hasGradient:t,value:n,onChange:r,disableInserter:o=!1,disableAlpha:a=!1}){const c=Object(i.useRef)(),[u,d]=Object(i.useReducer)(Kl,Ul),f=e=>{const t=zl(e.clientX,c.current,23);Object(s.some)(n,({position:e})=>Math.abs(t-e)<10)?"MOVING_INSERTER"===u.id&&d({type:"STOP_INSERTER_MOVE"}):d({type:"MOVE_INSERTER",insertPosition:t})},p="MOVING_INSERTER"===u.id,h="INSERTING_CONTROL_POINT"===u.id;return Object(i.createElement)("div",{ref:c,className:l()("components-custom-gradient-picker__gradient-bar",{"has-gradient":t}),onMouseEnter:f,onMouseMove:f,style:{background:e},onMouseLeave:()=>{d({type:"STOP_INSERTER_MOVE"})}},Object(i.createElement)("div",{className:"components-custom-gradient-picker__markers-container"},!o&&(p||h)&&Object(i.createElement)(Wl.InsertPoint,{disableAlpha:a,insertPosition:u.insertPosition,value:n,onChange:r,onOpenInserter:()=>{d({type:"OPEN_INSERTER"})},onCloseInserter:()=>{d({type:"CLOSE_INSERTER"})}}),Object(i.createElement)(Wl,{disableAlpha:a,disableRemove:o,gradientPickerDomRef:c,ignoreMarkerPosition:h?u.insertPosition:void 0,value:n,onChange:r,onStartControlPointChange:()=>{d({type:"START_CONTROL_CHANGE"})},onStopControlPointChange:()=>{d({type:"STOP_CONTROL_CHANGE"})}})))}const ql=["#333","#CCC"];function $l({value:e,onChange:t}){const n=!!e,r=n?e:ql,o=Dl(r),a=(s=r).map((e,t)=>({position:100*t/(s.length-1),color:e}));var s;return Object(i.createElement)(Gl,{disableInserter:!0,disableAlpha:!0,background:o,hasGradient:n,value:a,onChange:e=>{const n=function(e=[]){return e.map(({color:e})=>e)}(e);t(n)}})}var Yl=function({colorPalette:e,duotonePalette:t,disableCustomColors:n,value:r,onChange:o}){const[a,c]=Object(i.useMemo)(()=>{return!(t=e)||t.length<2?["#000","#fff"]:t.map(({color:e})=>({color:e,brightness:U()(e).getBrightness()/255})).reduce(([e,t],n)=>[n.brightness<=e.brightness?n:e,n.brightness>=t.brightness?n:t],[{brightness:1},{brightness:0}]).map(({color:e})=>e);var t},[e]);return Object(i.createElement)(Yi,{options:t.map(({colors:e,slug:t,name:n})=>{const a={background:Dl(e,"135deg"),color:"transparent"},c=null!=n?n:Object(u.sprintf)(Object(u.__)("Duotone code: %s"),t),l=n?Object(u.sprintf)(Object(u.__)("Duotone: %s"),n):c,d=Object(s.isEqual)(e,r);return Object(i.createElement)(Yi.Option,{key:t,value:e,isSelected:d,"aria-label":l,tooltipText:c,style:a,onClick:()=>{o(d?void 0:e)}})}),actions:Object(i.createElement)(Yi.ButtonAction,{onClick:()=>o(void 0)},Object(u.__)("Clear"))},!n&&Object(i.createElement)($l,{value:r,onChange:o}),e&&Object(i.createElement)(Tl,{labels:[Object(u.__)("Shadows"),Object(u.__)("Highlights")],colors:e,value:r,disableCustomColors:n,onChange:e=>{e[0]||(e[0]=a),e[1]||(e[1]=c);const t=e.length>=2?e:void 0;o(t)}}))},Zl=n("K+tz");const Xl=W(zi.a,{target:"etxm6pv0",label:"StyledIcon"})({name:"i8uvf3",styles:"width:1.4em;height:1.4em;margin:-0.2em 0.1em 0;vertical-align:middle;fill:currentColor;"});var Jl=Object(i.forwardRef)((function({href:e,children:t,className:n,rel:r="",...o},c){r=Object(s.uniq)(Object(s.compact)([...r.split(" "),"external","noreferrer","noopener"])).join(" ");const d=l()("components-external-link",n);return Object(i.createElement)("a",Object(a.a)({},o,{className:d,href:e,target:"_blank",rel:r,ref:c}),t,Object(i.createElement)(h.a,{as:"span"},Object(u.__)("(opens in a new tab)")),Object(i.createElement)(Xl,{icon:Zl.a,className:"components-external-link__icon"}))}));const Ql=W("div",{target:"e11wezi70",label:"MediaWrapper"})({name:"4wwkjz",styles:"background-color:transparent;box-sizing:border-box;text-align:center;width:100%;"}),eu=W("div",{target:"e11wezi71",label:"MediaContainer"})({name:"1q0l1fq",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;}"}),tu=W("div",{target:"e11wezi72",label:"MediaPlaceholder"})("background:",re.lightGray[300],";box-sizing:border-box;height:170px;max-width:280px;min-width:200px;width:100%;"),nu=W(ma,{target:"e11wezi73",label:"UnitControl"})({name:"v7v99c",styles:"width:100px;"}),ru=W(Zt,{target:"e11wezi74",label:"ControlWrapper"})({name:"lqoi1w",styles:"max-width:320px;padding:1em 0;"}),ou=W("div",{target:"e11wezi75",label:"GridView"})("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;",({isActive:e})=>e&&"\n\t\topacity: 1;\n\t",""),au=W("div",{target:"e11wezi76",label:"GridLine"})({name:"18dz4sk",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 );"}),iu=W(au,{target:"e11wezi77",label:"GridLineX"})({name:"1u4twh6",styles:"height:1px;left:0;right:0;"}),su=W(au,{target:"e11wezi78",label:"GridLineY"})({name:"13gvipf",styles:"width:1px;top:0;bottom:0;"}),cu={top:0,left:0,bottom:0,right:0,width:0,height:0},lu=["avi","mpg","mpeg","mov","mp4","m4v","ogg","ogv","webm","wmv"];function uu(e){return Math.round(100*e)}function du({onChange:e=s.noop,percentages:t={x:.5,y:.5}}){const n=uu(t.x),r=uu(t.y);return Object(i.createElement)(ru,{className:"focal-point-picker__controls"},Object(i.createElement)(fu,{label:Object(u.__)("Left"),value:n,onChange:n=>{e({...t,x:parseInt(n)/100})},dragDirection:"e"}),Object(i.createElement)(fu,{label:Object(u.__)("Top"),value:r,onChange:n=>{e({...t,y:parseInt(n)/100})},dragDirection:"s"}))}function fu(e){return Object(i.createElement)(nu,Object(a.a)({className:"focal-point-picker__controls-position-unit-control",labelPosition:"side",max:100,min:0,unit:"%",units:[{value:"%",label:"%"}]},e))}const pu=W("div",{target:"eas61re0",label:"FocalPointWrapper"})("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;",({isDragging:e})=>e&&"cursor: grabbing;",""),hu=W(o.SVG,{target:"eas61re1",label:"PointerIconSVG"})({name:"1fp1hff",styles:"display:block;height:100%;left:0;position:absolute;top:0;width:100%;"}),bu=W(o.Path,{target:"eas61re2",label:"PointerIconPathOutline"})({name:"j4aqsr",styles:"fill:white;"}),mu=W(o.Path,{target:"eas61re3",label:"PointerIconPathFill"})("fill:",re.blue.wordpress[700],";fill:",re.ui.theme,";");function gu({coordinates:e={left:"50%",top:"50%"},...t}){const n=l()("components-focal-point-picker__icon_container"),r={left:e.left,top:e.top};return Object(i.createElement)(pu,Object(a.a)({},t,{className:n,style:r}),Object(i.createElement)(hu,{className:"components-focal-point-picker__icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30"},Object(i.createElement)(bu,{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(i.createElement)(mu,{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:vu,setTimeout:yu}="undefined"!=typeof window?window:{};function Ou({bounds:e={},value:t,...n}){const r=function(e){const[t,n]=Object(i.useState)(!1);return xo(()=>{n(!0);const e=yu(()=>{n(!1)},600);return()=>vu(e)},[e]),{isActive:t}}(t),o={width:e.width,height:e.height};return Object(i.createElement)(ou,Object(a.a)({},n,r,{className:"components-focal-point-picker__grid",style:o}),Object(i.createElement)(iu,{style:{top:"33%"}}),Object(i.createElement)(iu,{style:{top:"66%"}}),Object(i.createElement)(su,{style:{left:"33%"}}),Object(i.createElement)(su,{style:{left:"66%"}}))}function ju({alt:e,autoPlay:t,src:n,onLoad:r=s.noop,mediaRef:o,muted:c=!0,...l}){if(!n)return Object(i.createElement)(_u,{className:"components-focal-point-picker__media components-focal-point-picker__media--placeholder",onLoad:r,mediaRef:o});return function(e=""){return!!e&&lu.includes(function(e=""){const t=e.split(".");return t[t.length-1]}(e))}(n)?Object(i.createElement)("video",Object(a.a)({},l,{autoPlay:t,className:"components-focal-point-picker__media components-focal-point-picker__media--video",loop:!0,muted:c,onLoadedData:r,ref:o,src:n})):Object(i.createElement)("img",Object(a.a)({},l,{alt:e,className:"components-focal-point-picker__media components-focal-point-picker__media--image",onLoad:r,ref:o,src:n}))}function _u({mediaRef:e,onLoad:t=s.noop,...n}){const r=Object(i.useRef)(t);return Object(i.useLayoutEffect)(()=>{window.requestAnimationFrame(()=>{r.current()})},[]),Object(i.createElement)(tu,Object(a.a)({ref:e},n))}class wu extends i.Component{constructor(e){super(...arguments),this.state={isDragging:!1,bounds:cu,percentages:e.value},this.containerRef=Object(i.createRef)(),this.mediaRef=Object(i.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=cu;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(e={}){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(![mo.UP,mo.DOWN,mo.LEFT,mo.RIGHT].includes(t))return;e.preventDefault();const r={...this.state.percentages},o=n?.1:.01,a=t===mo.UP||t===mo.LEFT?-1*o:o,i=t===mo.UP||t===mo.DOWN?"y":"x",s=parseFloat(r[i])+a;r[i]=Ro(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},a=Math.max(n.left,Math.min(o.left,n.right)),i=Math.max(n.top,Math.min(o.top,n.bottom));let s=(a-n.left)/(r.width-2*n.left),c=(i-n.top)/(r.height-2*n.top);const l=t?.1:.01;return s=Ro(s,0,1,l),c=Ro(c,0,1,l),{x:s,y:c}}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:s,isDragging:c,percentages:d}=this.state,f=this.iconCoordinates(),p=l()("components-focal-point-picker-control",t),h="inspector-focal-point-picker-control-"+r;return Object(i.createElement)(St,{label:o,id:h,help:n,className:p},Object(i.createElement)(Ql,{className:"components-focal-point-picker-wrapper"},Object(i.createElement)(eu,{className:"components-focal-point-picker",onKeyDown:this.onKeyDown,onMouseDown:this.onMouseDown,onBlur:this.ifDraggingStop,ref:this.containerRef,role:"button",tabIndex:"-1"},Object(i.createElement)(Ou,{bounds:s,value:d.x+d.y}),Object(i.createElement)(ju,{alt:Object(u.__)("Media preview"),autoPlay:e,mediaRef:this.mediaRef,onLoad:this.updateBounds,src:a}),Object(i.createElement)(gu,{coordinates:f,isDragging:c}))),Object(i.createElement)(du,{percentages:d,onChange:this.onChangeAtControls}))}}wu.defaultProps={autoPlay:!0,value:{x:.5,y:.5},url:null};var ku=Object(d.withInstanceId)(wu);function xu({iframeRef:e,...t}){const n=Object(i.useRef)(),r=Object(d.useMergeRefs)([e,n]);return Object(i.useEffect)(()=>{const e=n.current,{ownerDocument:t}=e,{defaultView:r}=t;function o(){t.activeElement===e&&e.focus()}return r.addEventListener("blur",o),()=>{r.removeEventListener("blur",o)}},[]),Object(i.createElement)("iframe",Object(a.a)({ref:r},t))}var Eu=n("uGfJ");function Su(e,t,n){return"number"!=typeof e?null:parseFloat(Object(s.clamp)(e,t,n))}var Cu={name:"tdik1c",styles:"height:30px;min-height:30px;"};const Pu=()=>Cu,Du=W("div",{target:"exqw8y20",label:"Root"})({name:"44oaj8",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%;"}),Mu=W("div",{target:"exqw8y21",label:"Wrapper"})("box-sizing:border-box;color:",re.blue.medium.focus,";display:block;flex:1;padding-top:15px;position:relative;width:100%;",({color:e=re.ui.borderFocus})=>A({color:e},""),";",Pu,";",({marks:e})=>A({marginBottom:e?16:null},""),";",In({marginLeft:10}),""),Iu=W("span",{target:"exqw8y22",label:"BeforeIconWrapper"})("margin-top:3px;",In({marginRight:6}),""),Tu=W("span",{target:"exqw8y23",label:"AfterIconWrapper"})("margin-top:3px;",In({marginLeft:16}),""),Ru=W("span",{target:"exqw8y24",label:"Rail"})("background-color:",re.lightGray[600],";box-sizing:border-box;left:0;pointer-events:none;right:0;display:block;height:3px;position:absolute;margin-top:14px;top:0;",({disabled:e,railColor:t})=>{let n=t||null;return e&&(n=re.lightGray[400]),A({background:n},"")},";"),Au=W("span",{target:"exqw8y25",label:"Track"})("background-color:currentColor;border-radius:1px;box-sizing:border-box;height:3px;pointer-events:none;display:block;position:absolute;margin-top:14px;top:0;",({disabled:e,trackColor:t})=>{let n=t||"currentColor";return e&&(n=re.lightGray[800]),A({background:n},"")},";"),Nu=W("span",{target:"exqw8y26",label:"MarksWrapper"})({name:"8d21nl",styles:"box-sizing:border-box;display:block;pointer-events:none;position:relative;width:100%;user-select:none;"}),Lu=W("span",{target:"exqw8y27",label:"Mark"})("box-sizing:border-box;height:9px;left:0;position:absolute;top:-4px;width:1px;",({disabled:e,isFilled:t})=>{let n=t?"currentColor":re.lightGray[600];return e&&(n=re.lightGray[800]),A({backgroundColor:n},"")},";"),Fu=W("span",{target:"exqw8y28",label:"MarkLabel"})("box-sizing:border-box;color:",re.lightGray[600],";left:0;font-size:11px;position:absolute;top:12px;transform:translateX( -50% );white-space:nowrap;",({isFilled:e})=>A({color:e?re.darkGray[300]:re.lightGray[600]},""),";"),zu=W("span",{target:"exqw8y29",label:"ThumbWrapper"})("align-items:center;box-sizing:border-box;display:flex;height:",20,"px;justify-content:center;margin-top:5px;outline:0;pointer-events:none;position:absolute;top:0;user-select:none;width:",20,"px;",In({marginLeft:-10}),""),Bu=W("span",{target:"exqw8y210",label:"Thumb"})("align-items:center;background-color:white;border-radius:50%;border:1px solid ",re.darkGray[200],";box-sizing:border-box;height:100%;outline:0;position:absolute;user-select:none;width:100%;",({isFocused:e})=>A({borderColor:e?re.ui.borderFocus:re.darkGray[200],boxShadow:e?`\n\t\t\t\t0 0 0 1px ${re.ui.borderFocus}\n\t\t\t`:"\n\t\t\t\t0 0 0 rgba(0, 0, 0, 0)\n\t\t\t"},""),";"),Hu=W("input",{target:"exqw8y211",label:"InputRange"})("box-sizing:border-box;cursor:pointer;display:block;height:100%;left:0;margin:0 -",10,"px;opacity:0;outline:none;position:absolute;right:0;top:0;width:calc( 100% + ",20,"px );");var Vu={name:"5qqmyx",styles:"top:-80%;"},Wu={name:"eda4eg",styles:"bottom:-80%;"};const Ku=W("span",{target:"exqw8y212",label:"Tooltip"})("background:",re.ui.border,";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;",({show:e})=>A({opacity:e?1:0},""),";",({position:e})=>"top"===e?Vu:Wu,";",oe("transition"),";",In({transform:"translateX(-50%)"},{transform:"translateX(50%)"}),""),Uu=W(No,{target:"exqw8y213",label:"InputNumber"})("box-sizing:border-box;display:inline-block;font-size:13px;margin-top:0;width:",jt(8)," !important;input[type='number']&{",Pu,";}",In({marginLeft:jt(2)+" !important"}),""),Gu=W("span",{target:"exqw8y214",label:"ActionRightWrapper"})("box-sizing:border-box;display:block;margin-top:0;button,button.is-small{margin-left:0;",Pu,";}",In({marginLeft:8}),"");var qu=Object(i.forwardRef)((function({describedBy:e,isShiftStepEnabled:t=!0,label:n,onHideTooltip:r=s.noop,onMouseLeave:o=s.noop,step:c=1,onBlur:l=s.noop,onChange:u=s.noop,onFocus:d=s.noop,onMouseMove:f=s.noop,onShowTooltip:p=s.noop,shiftStep:h=10,value:b,...m},g){const v=Ao({step:c,shiftStep:h,isShiftStepEnabled:t}),y=function({onHide:e=s.noop,onMouseLeave:t=s.noop,onMouseMove:n=s.noop,onShow:r=s.noop,timeout:o=300}){const[a,c]=Object(i.useState)(!1),l=Object(i.useRef)(),u=Object(i.useCallback)(e=>{window.clearTimeout(l.current),l.current=setTimeout(e,o)},[o]),d=Object(i.useCallback)(e=>{n(e),u(()=>{a||(c(!0),r())})},[]),f=Object(i.useCallback)(n=>{t(n),u(()=>{c(!1),e()})},[]);return Object(i.useEffect)(()=>()=>{window.clearTimeout(l.current)}),{onMouseMove:d,onMouseLeave:f}}({onHide:r,onMouseLeave:o,onMouseMove:f,onShow:p});return Object(i.createElement)(Hu,Object(a.a)({},m,y,{"aria-describedby":e,"aria-label":n,"aria-hidden":!1,onBlur:l,onChange:u,onFocus:d,ref:g,step:v,tabIndex:0,type:"range",value:b}))}));function $u({className:e,isFilled:t=!1,label:n,style:r={},...o}){const s=l()("components-range-control__mark",t&&"is-filled",e),c=l()("components-range-control__mark-label",t&&"is-filled");return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(Lu,Object(a.a)({},o,{"aria-hidden":"true",className:s,isFilled:t,style:r})),n&&Object(i.createElement)(Fu,{"aria-hidden":"true",className:c,isFilled:t,style:r},n))}function Yu({disabled:e=!1,marks:t=!1,min:n=0,max:r=100,step:o=1,value:s=0,...c}){return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(Ru,Object(a.a)({disabled:e},c)),t&&Object(i.createElement)(Zu,{disabled:e,marks:t,min:n,max:r,step:o,value:s}))}function Zu({disabled:e=!1,marks:t=!1,min:n=0,max:r=100,step:o=1,value:s=0}){const c=function({marks:e,min:t=0,max:n=100,step:r=1,value:o=0}){if(!e)return[];const a=n-t;if(!Array.isArray(e)){e=[];const n=1+Math.round(a/r);for(;n>e.push({value:r*e.length+t}););}const i=[];return e.forEach((e,r)=>{if(e.value<t||e.value>n)return;const s="mark-"+r,c=e.value<=o,l=(e.value-t)/a*100+"%",d={[Object(u.isRTL)()?"right":"left"]:l};i.push({...e,isFilled:c,key:s,style:d})}),i}({marks:t,min:n,max:r,step:o,value:s});return Object(i.createElement)(Nu,{"aria-hidden":"true",className:"components-range-control__marks"},c.map(t=>Object(i.createElement)($u,Object(a.a)({},t,{key:t.key,"aria-hidden":"true",disabled:e}))))}function Xu({className:e,inputRef:t,position:n="auto",show:r=!1,style:o={},value:s=0,renderTooltipContent:c=(e=>e),zIndex:u=100,...d}){const f=function({inputRef:e,position:t}){const[n,r]=Object(i.useState)("top"),o=Object(i.useCallback)(()=>{if(e&&e.current){let n=t;if("auto"===t){const{top:t}=e.current.getBoundingClientRect();n=t-32<0?"bottom":"top"}r(n)}},[t]);return Object(i.useEffect)(()=>{o()},[o]),Object(i.useEffect)(()=>(window.addEventListener("resize",o),()=>{window.removeEventListener("resize",o)})),n}({inputRef:t,position:n}),p=l()("components-simple-tooltip",e),h={...o,zIndex:u};return Object(i.createElement)(Ku,Object(a.a)({},d,{"aria-hidden":r,className:p,position:f,show:r,role:"tooltip",style:h}),c(s))}var Ju=Object(i.forwardRef)((function e({afterIcon:t,allowReset:n=!1,beforeIcon:r,className:o,currentInput:c,color:f=re.ui.theme,disabled:p=!1,help:h,initialPosition:b,isShiftStepEnabled:m=!0,label:g,marks:v=!1,max:y=100,min:O=0,onBlur:j=s.noop,onChange:_=s.noop,onFocus:w=s.noop,onMouseMove:k=s.noop,onMouseLeave:x=s.noop,railColor:E,resetFallbackValue:S,renderTooltipContent:C=(e=>e),showTooltip:P,shiftStep:D=10,step:M=1,trackColor:I,value:T,withInputField:R=!0,...A},N){var L;const[F,z]=function({min:e,max:t,value:n,initial:r}){const[o,a]=ba(Su(n,e,t),{initial:r,fallback:null});return[o,Object(i.useCallback)(n=>{a(null===n?null:Su(n,e,t))},[e,t])]}({min:O,max:y,value:T,initial:b}),B=Object(i.useRef)(!1),[H,V]=Object(i.useState)(P),[W,K]=Object(i.useState)(!1),U=Object(i.useRef)(),G=null===(L=U.current)||void 0===L?void 0:L.matches(":focus"),q=!p&&W,$=null===F,Y=$?"":void 0!==F?F:c,Z=$?(y-O)/2+O:F,X=$?50:(F-O)/(y-O)*100,J=Object(s.clamp)(X,0,100)+"%",Q=l()("components-range-control",o),ee=l()("components-range-control__wrapper",!!v&&"is-marked"),te=Object(d.useInstanceId)(e,"inspector-range-control"),ne=h?te+"__help":void 0,oe=!1!==P&&Object(s.isFinite)(F),ae=()=>{let e=parseFloat(S),t=e;isNaN(e)&&(e=null,t=void 0),z(e),_(t)},ie={[Object(u.isRTL)()?"right":"left"]:J};return Object(i.createElement)(St,{className:Q,label:g,id:te,help:h},Object(i.createElement)(Du,{className:"components-range-control__root"},r&&Object(i.createElement)(Iu,null,Object(i.createElement)(qc.a,{icon:r})),Object(i.createElement)(Mu,{className:ee,color:f,marks:!!v},Object(i.createElement)(qu,Object(a.a)({},A,{className:"components-range-control__slider",describedBy:ne,disabled:p,id:te,isShiftStepEnabled:m,label:g,max:y,min:O,onBlur:e=>{j(e),K(!1),V(!1)},onChange:e=>{const t=parseFloat(e.target.value);z(t),_(t)},onFocus:e=>{w(e),K(!0),V(!0)},onMouseMove:k,onMouseLeave:x,ref:e=>{U.current=e,N&&N(e)},shiftStep:D,step:M,value:Y})),Object(i.createElement)(Yu,{"aria-hidden":!0,disabled:p,marks:v,max:y,min:O,railColor:E,step:M,value:Z}),Object(i.createElement)(Au,{"aria-hidden":!0,className:"components-range-control__track",disabled:p,style:{width:J},trackColor:I}),Object(i.createElement)(zu,{style:ie},Object(i.createElement)(Bu,{"aria-hidden":!0,isFocused:q})),oe&&Object(i.createElement)(Xu,{className:"components-range-control__tooltip",inputRef:U,renderTooltipContent:C,show:G||H,style:ie,value:F})),t&&Object(i.createElement)(Tu,null,Object(i.createElement)(qc.a,{icon:t})),R&&Object(i.createElement)(Uu,{"aria-label":g,className:"components-range-control__number",disabled:p,inputMode:"decimal",isShiftStepEnabled:m,max:y,min:O,onBlur:()=>{B.current&&(ae(),B.current=!1)},onChange:e=>{e=parseFloat(e),z(e),isNaN(e)?n&&(B.current=!0):((e<O||e>y)&&(e=Su(e,O,y)),_(e),B.current=!1)},shiftStep:D,step:M,value:Y}),n&&Object(i.createElement)(Gu,null,Object(i.createElement)(Uo.a,{className:"components-range-control__reset",disabled:p||void 0===F,isSecondary:!0,isSmall:!0,onClick:ae},Object(u.__)("Reset")))))}));var Qu=Object(i.forwardRef)((function({fallbackFontSize:e,fontSizes:t=[],disableCustomFontSizes:n=!1,onChange:r,value:o,withSlider:c=!1},l){const d=Object(s.isString)(o)||t[0]&&Object(s.isString)(t[0].size);let f;f=d?parseInt(o):o;const p=Object(s.isNumber)(o)||Object(s.isString)(o)&&o.endsWith("px"),b=fa({availableUnits:["px","em","rem"]}),m=Object(i.useMemo)(()=>function(e,t){return t&&!e.length?null:(e=[{slug:"default",name:Object(u.__)("Default")},...e,...t?[]:[{slug:"custom",name:Object(u.__)("Custom")}]]).map(e=>({key:e.slug,name:e.name,size:e.size,style:{fontSize:`min( ${e.size}, 25px )`}}))}(t,n),[t,n]);if(!m)return null;const g=function(e,t){if(t){const n=e.find(e=>e.size===t);return n?n.slug:"custom"}return"default"}(t,o);return Object(i.createElement)("fieldset",Object(a.a)({className:"components-font-size-picker"},l?{}:{ref:l}),Object(i.createElement)(h.a,{as:"legend"},Object(u.__)("Font size")),Object(i.createElement)("div",{className:"components-font-size-picker__controls"},t.length>0&&Object(i.createElement)(Tc,{className:"components-font-size-picker__select",label:Object(u.__)("Font size"),options:m,value:m.find(e=>e.key===g),onChange:({selectedItem:e})=>{r(d?e.size:Number(e.size))}}),!c&&!n&&Object(i.createElement)(ma,{label:Object(u.__)("Custom"),labelPosition:"top",__unstableInputWidth:"60px",value:o,onChange:e=>{0!==parseFloat(e)&&e?r(e):r(void 0)},units:b}),Object(i.createElement)(Uo.a,{className:"components-color-palette__clear",disabled:void 0===o,onClick:()=>{r(void 0)},isSmall:!0,isSecondary:!0},Object(u.__)("Reset"))),c&&Object(i.createElement)(Ju,{className:"components-font-size-picker__custom-input",label:Object(u.__)("Custom Size"),value:p&&f||"",initialPosition:e,onChange:e=>{r(d?e+"px":e)},min:12,max:100,beforeIcon:Eu.a,afterIcon:Eu.a}))}));var ed=function({accept:e,children:t,multiple:n=!1,onChange:r,render:o,...s}){const c=Object(i.useRef)(),l=()=>{c.current.click()},u=o?o({openFileDialog:l}):Object(i.createElement)(Uo.a,Object(a.a)({onClick:l},s),t);return Object(i.createElement)("div",{className:"components-form-file-upload"},u,Object(i.createElement)("input",{type:"file",ref:c,multiple:n,style:{display:"none"},accept:e,onChange:r}))};var td=function({className:e,checked:t,id:n,disabled:r,onChange:o=s.noop,...c}){const u=l()("components-form-toggle",e,{"is-checked":t,"is-disabled":r});return Object(i.createElement)("span",{className:u},Object(i.createElement)("input",Object(a.a)({className:"components-form-toggle__input",id:n,type:"checkbox",checked:t,onChange:o,disabled:r},c)),Object(i.createElement)("span",{className:"components-form-toggle__track"}),Object(i.createElement)("span",{className:"components-form-toggle__thumb"}))},nd=n("rl8x"),rd=n.n(nd);function od({value:e,status:t,title:n,displayTransform:r,isBorderless:o=!1,disabled:a=!1,onClickRemove:c=s.noop,onMouseEnter:f,onMouseLeave:p,messages:b,termPosition:m,termsCount:g}){const v=Object(d.useInstanceId)(od),y=l()("components-form-token-field__token",{"is-error":"error"===t,"is-success":"success"===t,"is-validating":"validating"===t,"is-borderless":o,"is-disabled":a}),O=r(e),j=Object(u.sprintf)(Object(u.__)("%1$s (%2$s of %3$s)"),O,m,g);return Object(i.createElement)("span",{className:y,onMouseEnter:f,onMouseLeave:p,title:n},Object(i.createElement)("span",{className:"components-form-token-field__token-text",id:"components-form-token-field__token-text-"+v},Object(i.createElement)(h.a,{as:"span"},j),Object(i.createElement)("span",{"aria-hidden":"true"},O)),Object(i.createElement)(Uo.a,{className:"components-form-token-field__remove-token",icon:_s.a,onClick:!a&&(()=>c({value:e})),label:b.remove,"aria-describedby":"components-form-token-field__token-text-"+v}))}var ad=Object(d.createHigherOrderComponent)(e=>t=>Object(i.createElement)(e,Object(a.a)({},t,{speak:Ko.speak,debouncedSpeak:Object(d.useDebounce)(Ko.speak,500)})),"withSpokenMessages");const id={incompleteTokenValue:"",inputOffsetFromEnd:0,isActive:!1,isExpanded:!1,selectedSuggestionIndex:-1,selectedSuggestionScroll:!1};class sd extends i.Component{constructor(){super(...arguments),this.state=id,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=!rd()(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(id)}onKeyDown(e){let t=!1;switch(e.keyCode){case mo.BACKSPACE:t=this.handleDeleteKey(this.deleteTokenBeforeInput);break;case mo.ENTER:t=this.addCurrentToken();break;case mo.LEFT:t=this.handleLeftArrowKey();break;case mo.UP:t=this.handleUpArrowKey();break;case mo.RIGHT:t=this.handleRightArrowKey();break;case mo.DOWN:t=this.handleDownArrowKey();break;case mo.DELETE:t=this.handleDeleteKey(this.deleteTokenAfterInput);break;case mo.SPACE:this.props.tokenizeOnSpace&&(t=this.addCurrentToken());break;case mo.ESCAPE:t=this.handleEscapeKey(e),e.stopPropagation()}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(s.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(s.uniq)(e.map(this.props.saveTransform).filter(Boolean).filter(e=>!this.valueContainsToken(e)));if(t.length>0){const e=Object(s.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(e=this.state.incompleteTokenValue,t=this.props.suggestions,n=this.props.value,r=this.props.maxSuggestions,o=this.props.saveTransform){let a=o(e);const i=[],c=[];return 0===a.length?t=Object(s.difference)(t,n):(a=a.toLocaleLowerCase(),Object(s.each)(t,e=>{const t=e.toLocaleLowerCase().indexOf(a);-1===n.indexOf(e)&&(0===t?i.push(e):t>0&&c.push(e))}),t=i.concat(c)),Object(s.take)(t,r)}getSelectedSuggestion(){if(-1!==this.state.selectedSuggestionIndex)return this.getMatchingSuggestions()[this.state.selectedSuggestionIndex]}valueContainsToken(e){return Object(s.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(e=!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(u.sprintf)(Object(u._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(u.__)("No results."),"assertive")}}renderTokensAndInput(){const e=Object(s.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,s=n.length;return Object(i.createElement)(od,{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:s,termPosition:a})}renderInput(){const{autoCapitalize:e,autoComplete:t,maxLength:n,placeholder:r,value:o,instanceId:a}=this.props;let s={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||(s={...s,onChange:this.onInputChange}),Object(i.createElement)(ks,s)}render(){const{disabled:e,label:t=Object(u.__)("Add item"),instanceId:n,className:r,__experimentalShowHowTo:o}=this.props,{isExpanded:a}=this.state,s=l()(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 d=this.getMatchingSuggestions();return e||(c=Object.assign({},c,{onKeyDown:this.onKeyDown,onKeyPress:this.onKeyPress,onFocus:this.onFocus})),Object(i.createElement)("div",c,Object(i.createElement)("label",{htmlFor:"components-form-token-input-"+n,className:"components-form-token-field__label"},t),Object(i.createElement)("div",{ref:this.bindTokensAndInput,className:s,tabIndex:"-1",onMouseDown:this.onContainerTouched,onTouchStart:this.onContainerTouched},this.renderTokensAndInput(),a&&Object(i.createElement)(Cs,{instanceId:n,match:this.props.saveTransform(this.state.incompleteTokenValue),displayTransform:this.props.displayTransform,suggestions:d,selectedIndex:this.state.selectedSuggestionIndex,scrollIntoView:this.state.selectedSuggestionScroll,onHover:this.onSuggestionHovered,onSelect:this.onSuggestionSelected})),o&&Object(i.createElement)("p",{id:"components-form-token-suggestions-howto-"+n,className:"components-form-token-field__help"},this.props.tokenizeOnSpace?Object(u.__)("Separate with commas, spaces, or the Enter key."):Object(u.__)("Separate with commas or the Enter key.")))}}sd.defaultProps={suggestions:Object.freeze([]),maxSuggestions:100,value:Object.freeze([]),displayTransform:s.identity,saveTransform:e=>e.trim(),onChange:()=>{},onInputChange:()=>{},isBorderless:!1,disabled:!1,tokenizeOnSpace:!1,messages:{added:Object(u.__)("Item added."),removed:Object(u.__)("Item removed."),remove:Object(u.__)("Remove item"),__experimentalInvalid:Object(u.__)("Invalid item")},__experimentalExpandOnFocus:!1,__experimentalValidateInput:()=>!0,__experimentalShowHowTo:!0};var cd=ad(Object(d.withInstanceId)(sd)),ld=n("Jx1U"),ud=n.n(ld);const dd="linear-gradient(135deg, rgba(6, 147, 227, 1) 0%, rgb(155, 81, 224) 100%)",fd={type:"angular",value:90},pd=[{value:"linear-gradient",label:Object(u.__)("Linear")},{value:"radial-gradient",label:Object(u.__)("Radial")}],hd={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 bd({type:e,value:t,length:n}){return`${function({type:e,value:t}){return"literal"===e?t:"hex"===e?"#"+t:`${e}(${t.join(",")})`}({type:e,value:t})} ${function(e){if(!e)return"";const{value:t,type:n}=e;return`${t}${n}`}(n)}`}function md({type:e,orientation:t,colorStops:n}){const r=function(e){if(e&&"angular"===e.type)return e.value+"deg"}(t),o=n.sort((e,t)=>Object(s.get)(e,["length","value"],0)-Object(s.get)(t,["length","value"],0)).map(bd);return`${e}(${Object(s.compact)([r,...o]).join(",")})`}function gd(e){return void 0===e.length||"%"!==e.length.type}function vd(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"}}const yd=W(Ht,{target:"e99xvul0",label:"SelectWrapper"})({name:"otv6bo",styles:"flex-grow:5;"}),Od=W(Ht,{target:"e99xvul1",label:"AccessoryWrapper"})({name:"gmtefn",styles:"flex-grow:4;"}),jd=({gradientAST:e,hasGradient:t,onChange:n})=>{const r=Object(s.get)(e,["orientation","value"],180);return Object(i.createElement)(Vo,{hideLabelFromVision:!0,onChange:t=>{n(md({...e,orientation:{type:"angular",value:t}}))},value:t?r:""})},_d=({gradientAST:e,hasGradient:t,onChange:n})=>{const{type:r}=e;return Object(i.createElement)(Xc,{className:"components-custom-gradient-picker__type-picker",label:Object(u.__)("Type"),labelPosition:"side",onChange:t=>{"linear-gradient"===t&&n(md({...e,...e.orientation?{}:{orientation:fd},type:"linear-gradient"})),"radial-gradient"===t&&n(md({...Object(s.omit)(e,["orientation"]),type:"radial-gradient"}))},options:pd,value:t&&r})};function wd({value:e,onChange:t}){const n=function(e){var t;let n;try{n=ud.a.parse(e)[0],n.value=e}catch(e){n=ud.a.parse(dd)[0],n.value=dd}if("directional"===(null===(t=n.orientation)||void 0===t?void 0:t.type)&&(n.orientation.type="angular",n.orientation.value=hd[n.orientation.value].toString()),n.colorStops.some(gd)){const{colorStops:e}=n,t=100/(e.length-1);e.forEach((e,n)=>{e.length={value:t*n,type:"%"}}),n.value=md(n)}return n}(e),r="radial-gradient"===n.type?function(e){return md({type:"linear-gradient",orientation:fd,colorStops:e.colorStops})}(n):n.value,o=n.value!==dd,a=n.colorStops.map(e=>({color:vd(e),position:parseInt(e.length.value)}));return Object(i.createElement)("div",{className:"components-custom-gradient-picker"},Object(i.createElement)(Gl,{background:r,hasGradient:o,value:a,onChange:e=>{t(md(function(e,t){return{...e,colorStops:t.map(({position:e,color:t})=>{const{r:n,g:r,b:o,a:a}=U()(t).toRgb();return{length:{type:"%",value:e.toString()},type:a<1?"rgba":"rgb",value:a<1?[n,r,o,a]:[n,r,o]}})}}(n,e)))}}),Object(i.createElement)(Zt,{gap:3,className:"components-custom-gradient-picker__ui-line"},Object(i.createElement)(yd,null,Object(i.createElement)(_d,{gradientAST:n,hasGradient:o,onChange:t})),Object(i.createElement)(Od,null,"linear-gradient"===n.type&&Object(i.createElement)(jd,{gradientAST:n,hasGradient:o,onChange:t}))))}function kd({className:e,gradients:t,onChange:n,value:r,clearable:o=!0,disableCustomGradients:a=!1}){const c=Object(i.useCallback)(()=>n(void 0),[n]),l=Object(i.useMemo)(()=>Object(s.map)(t,({gradient:e,name:t})=>Object(i.createElement)(Yi.Option,{key:e,value:e,isSelected:r===e,tooltipText:t||Object(u.sprintf)(Object(u.__)("Gradient code: %s"),e),style:{color:"rgba( 0,0,0,0 )",background:e},onClick:r===e?c:()=>n(e),"aria-label":t?Object(u.sprintf)(Object(u.__)("Gradient: %s"),t):Object(u.sprintf)(Object(u.__)("Gradient code: %s"),e)})),[t,r,n,c]);return Object(i.createElement)(Yi,{className:e,options:l,actions:o&&Object(i.createElement)(Yi.ButtonAction,{onClick:c},Object(u.__)("Clear"))},!a&&Object(i.createElement)(wd,{value:r,onChange:n}))}const xd={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"}};var Ed=Mt({as:"div",useHook:function(e){const{align:t,alignment:n,className:r,columnGap:o,columns:a=2,gap:s=3,isInline:c=!1,justify:l,rowGap:u,rows:d,templateColumns:f,templateRows:p,...h}=Object(It.a)(e,"Grid"),b=qt(Array.isArray(a)?a:[a]),m=qt(Array.isArray(d)?d:[d]),g=f||!!a&&`repeat(${b}, 1fr)`,v=p||!!d&&`repeat(${m}, 1fr)`;return{...h,className:Object(i.useMemo)(()=>{const e=function(e){return e?xd[e]:{}}(n),a=Object(Tt.a)({alignItems:t,display:c?"inline-grid":"grid",gap:`calc( ${dn.gridBase} * ${s} )`,gridTemplateColumns:g||void 0,gridTemplateRows:v||void 0,gridRowGap:u,gridColumnGap:o,justifyContent:l,verticalAlign:c?"middle":void 0,...e},";label:gridClasses;");return Object(Tt.b)(a,r)},[t,n,r,o,s,g,v,c,l,u])}},name:"Grid"});function Sd({overlayClassName:e,contentLabel:t,aria:{describedby:n,labelledby:r},children:o,className:a,role:s,style:c,focusOnMount:u,shouldCloseOnEsc:f,onRequestClose:p}){const h=Object(d.useFocusOnMount)(u),b=Object(d.useConstrainedTabbing)(),m=Object(d.useFocusReturn)();return Object(i.createElement)("div",{className:l()("components-modal__screen-overlay",e),onKeyDown:function(e){f&&e.keyCode===mo.ESCAPE&&(e.stopPropagation(),p&&p(e))}},Object(i.createElement)("div",{className:l()("components-modal__frame",a),style:c,ref:Object(d.useMergeRefs)([b,m,h]),role:s,"aria-label":t,"aria-labelledby":t?null:r,"aria-describedby":n,tabIndex:"-1"},o))}class Cd extends i.Component{constructor(){super(...arguments),this.handleFocusOutside=this.handleFocusOutside.bind(this)}handleFocusOutside(e){this.props.shouldCloseOnClickOutside&&this.props.onRequestClose&&this.props.onRequestClose(e)}render(){return Object(i.createElement)(Sd,this.props)}}var Pd=Ps(Cd);var Dd=({icon:e,title:t,onClose:n,closeLabel:r,headingId:o,isDismissible:a})=>{const s=r||Object(u.__)("Close dialog");return Object(i.createElement)("div",{className:"components-modal__header"},Object(i.createElement)("div",{className:"components-modal__header-heading-container"},e&&Object(i.createElement)("span",{className:"components-modal__icon-container","aria-hidden":!0},e),t&&Object(i.createElement)("h1",{id:o,className:"components-modal__header-heading"},t)),a&&Object(i.createElement)(Uo.a,{onClick:n,icon:_s.a,label:s}))};const Md=new Set(["alert","status","log","marquee","timer"]);let Id=[],Td=!1;function Rd(e){if(Td)return;const t=document.body.children;Object(s.forEach)(t,t=>{t!==e&&function(e){const t=e.getAttribute("role");return!("SCRIPT"===e.tagName||e.hasAttribute("aria-hidden")||e.hasAttribute("aria-live")||Md.has(t))}(t)&&(t.setAttribute("aria-hidden","true"),Id.push(t))}),Td=!0}let Ad,Nd=0;class Ld extends i.Component{constructor(e){super(e),this.prepareDOM()}componentDidMount(){Nd++,1===Nd&&this.openFirstModal()}componentWillUnmount(){Nd--,0===Nd&&this.closeLastModal(),this.cleanDOM()}prepareDOM(){Ad||(Ad=document.createElement("div"),document.body.appendChild(Ad)),this.node=document.createElement("div"),Ad.appendChild(this.node)}cleanDOM(){Ad.removeChild(this.node)}openFirstModal(){Rd(Ad),document.body.classList.add(this.props.bodyOpenClassName)}closeLastModal(){document.body.classList.remove(this.props.bodyOpenClassName),Td&&(Object(s.forEach)(Id,e=>{e.removeAttribute("aria-hidden")}),Id=[],Td=!1)}render(){const{onRequestClose:e,title:t,icon:n,closeButtonLabel:r,children:o,aria:s,instanceId:c,isDismissible:l,isDismissable:u,...d}=this.props,f=t?"components-modal-header-"+c:s.labelledby;return u&&Kt()("isDismissable prop of the Modal component",{since:"5.4",alternative:"isDismissible prop (renamed) of the Modal component"}),Object(i.createPortal)(Object(i.createElement)(Pd,Object(a.a)({onRequestClose:e,aria:{labelledby:f,describedby:s.describedby}},d),Object(i.createElement)("div",{className:"components-modal__content",role:"document"},Object(i.createElement)(Dd,{closeLabel:r,headingId:t&&f,icon:n,isDismissible:l||u,onClose:e,title:t}),o)),this.node)}}Ld.defaultProps={bodyOpenClassName:"modal-open",role:"dialog",title:null,focusOnMount:!0,shouldCloseOnEsc:!0,shouldCloseOnClickOutside:!0,isDismissible:!0,aria:{labelledby:null,describedby:null}};var Fd=Object(d.withInstanceId)(Ld);const zd=({isSelected:e})=>Object(i.createElement)(o.SVG,{width:"8",height:"8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(i.createElement)(o.Circle,{cx:"4",cy:"4",r:"4",fill:e?"#419ECD":"#E1E3E6"}));function Bd({currentPage:e,numberOfPages:t,setCurrentPage:n}){return Object(i.createElement)("ul",{className:"components-guide__page-control","aria-label":Object(u.__)("Guide controls")},Object(s.times)(t,r=>Object(i.createElement)("li",{key:r,"aria-current":r===e?"step":void 0},Object(i.createElement)(Uo.a,{key:r,icon:Object(i.createElement)(zd,{isSelected:r===e}),"aria-label":Object(u.sprintf)(Object(u.__)("Page %1$d of %2$d"),r+1,t),onClick:()=>n(r)}))))}function Hd(e){const t=Object(i.useRef)();return Object(i.useLayoutEffect)(()=>{const{ownerDocument:e}=t.current,{activeElement:n,body:r}=e;n&&n!==r||t.current.focus()},[]),Object(i.createElement)(Uo.a,Object(a.a)({},e,{ref:t}))}function Vd({children:e,className:t,contentLabel:n,finishButtonText:r,onFinish:o,pages:a=[]}){const[s,c]=Object(i.useState)(0);Object(i.useEffect)(()=>{i.Children.count(e)&&Kt()("Passing children to <Guide>",{since:"5.5",alternative:"the `pages` prop"})},[e]),i.Children.count(e)&&(a=i.Children.map(e,e=>({content:e})));const d=s>0,f=s<a.length-1,p=()=>{d&&c(s-1)},h=()=>{f&&c(s+1)};return 0===a.length?null:Object(i.createElement)(Fd,{className:l()("components-guide",t),contentLabel:n,onRequestClose:o},Object(i.createElement)(es,{key:s,shortcuts:{left:p,right:h}}),Object(i.createElement)("div",{className:"components-guide__container"},Object(i.createElement)("div",{className:"components-guide__page"},a[s].image,a.length>1&&Object(i.createElement)(Bd,{currentPage:s,numberOfPages:a.length,setCurrentPage:c}),a[s].content,!f&&Object(i.createElement)(Hd,{className:"components-guide__inline-finish-button",onClick:o},r||Object(u.__)("Finish"))),Object(i.createElement)("div",{className:"components-guide__footer"},d&&Object(i.createElement)(Uo.a,{className:"components-guide__back-button",onClick:p},Object(u.__)("Previous")),f&&Object(i.createElement)(Uo.a,{className:"components-guide__forward-button",onClick:h},Object(u.__)("Next")),!f&&Object(i.createElement)(Hd,{className:"components-guide__finish-button",onClick:o},r||Object(u.__)("Finish")))))}function Wd(e){return Object(i.useEffect)(()=>{Kt()("<GuidePage>",{since:"5.5",alternative:"the `pages` prop in <Guide>"})},[]),Object(i.createElement)("div",e)}var Kd=Mt({as:"h1",useHook:function(e){const{as:t,level:n=2,...r}=Object(It.a)(e,"Heading"),o=t||"h"+n,a={};return"string"==typeof o&&"h"!==o[0]&&(a.role="heading",a["aria-level"]=n),{...xn({color:re.darkGray.heading,size:kn(n),isBlock:!0,weight:dn.fontWeightHeading,...r}),...a,as:o}},name:"Heading"});const Ud={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"}},Gd={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 qd(e){const{alignment:t="edge",children:n,direction:r,spacing:o=2,...c}=Object(It.a)(e,"HStack"),l=function(e,t="row"){if(Object(s.isNil)(e))return{};const n="column"===t?Gd:Ud;return e in n?n[e]:{align:e}}(t,r);return Yt({children:function(e){return"string"==typeof e?[e]:i.Children.toArray(e).filter(e=>Object(i.isValidElement)(e))}(n).map((e,t)=>{const n=e.key||"hstack-"+t;return Object(Ct.b)(e,["Spacer"])?Object(i.createElement)(Vt,Object(a.a)({isBlock:!0,key:n},e.props)):e}),direction:r,justify:"center",...l,...c,gap:o})}var $d=Mt({as:"div",useHook:qd,name:"HStack"});var Yd=Object(i.forwardRef)((function({labelPosition:e,size:t,tooltip:n,label:r,...o},s){return Kt()("wp.components.IconButton",{since:"5.4",alternative:"wp.components.Button"}),Object(i.createElement)(Uo.a,Object(a.a)({},o,{ref:s,tooltipPosition:e,iconSize:t,showTooltip:void 0!==n?!!n:void 0,label:n||r}))}));var Zd=function e({children:t,className:n="",label:r,hideSeparator:o}){const a=Object(d.useInstanceId)(e);if(!i.Children.count(t))return null;const s="components-menu-group-label-"+a,c=l()(n,"components-menu-group",{"has-hidden-separator":o});return Object(i.createElement)("div",{className:c},r&&Object(i.createElement)("div",{className:"components-menu-group__label",id:s,"aria-hidden":"true"},r),Object(i.createElement)("div",{role:"group","aria-labelledby":r?s:null},t))},Xd=n("Cw+6");var Jd=Object(i.forwardRef)((function({children:e,info:t,className:n,icon:r,shortcut:o,isSelected:c,role:u="menuitem",...d},f){return n=l()("components-menu-item__button",n),t&&(e=Object(i.createElement)("span",{className:"components-menu-item__info-wrapper"},Object(i.createElement)("span",{className:"components-menu-item__item"},e),Object(i.createElement)("span",{className:"components-menu-item__info"},t))),r&&!Object(s.isString)(r)&&(r=Object(i.cloneElement)(r,{className:"components-menu-items__item-icon"})),Object(i.createElement)(Uo.a,Object(a.a)({ref:f,"aria-checked":"menuitemcheckbox"===u||"menuitemradio"===u?c:void 0,role:u,className:n},d),Object(i.createElement)("span",{className:"components-menu-item__item"},e),Object(i.createElement)(Xd.a,{className:"components-menu-item__shortcut",shortcut:o}),r&&Object(i.createElement)(qc.a,{icon:r}))}));function Qd({choices:e=[],onHover:t=s.noop,onSelect:n,value:r}){return e.map(e=>{const o=r===e.value;return Object(i.createElement)(Jd,{key:e.value,role:"menuitemradio",icon:o&&Bi.a,info:e.info,isSelected:o,shortcut:e.shortcut,className:"components-menu-items-choice",onClick:()=>{o||n(e.value)},onMouseEnter:()=>t(e.value),onMouseLeave:()=>t(null),"aria-label":e["aria-label"]},e.label)})}var ef=n("k8OV");var tf=Object(i.forwardRef)((function({eventToOffset:e,...t},n){return Object(i.createElement)(kl,Object(a.a)({ref:n,stopNavigationEvents:!0,onlyBrowserTabstops:!0,eventToOffset:t=>{const{keyCode:n,shiftKey:r}=t;return mo.TAB===n?r?-1:1:e?e(t):void 0}},t))}));const nf="root",rf=Object(i.createContext)({activeItem:void 0,activeMenu:nf,setActiveMenu:s.noop,isMenuEmpty:s.noop,navigationTree:{items:{},getItem:s.noop,addItem:s.noop,removeItem:s.noop,menus:{},getMenu:s.noop,addMenu:s.noop,removeMenu:s.noop,childMenu:{},traverseMenu:s.noop,isMenuEmpty:s.noop}}),of=()=>Object(i.useContext)(rf);const af=W("div",{target:"ejwewyf0",label:"NavigationUI"})("width:100%;background-color:",$.darkGray.primary,";box-sizing:border-box;color:#f0f0f0;padding:0 ",jt(2),";overflow:hidden;"),sf=W("div",{target:"ejwewyf1",label:"MenuUI"})("margin-top:",jt(3),";margin-bottom:",jt(3),";display:flex;flex-direction:column;ul{padding:0;margin:0;list-style:none;}.components-navigation__back-button{margin-bottom:",jt(3),";}.components-navigation__group + .components-navigation__group{margin-top:",jt(3),";}"),cf=W(Uo.a,{target:"ejwewyf2",label:"MenuBackButtonUI"})("&.is-tertiary{color:",$.lightGray.ui,";&:hover:not(:disabled ){color:#ddd;box-shadow:none;}&:active:not(:disabled ){background:transparent;color:#ddd;}}"),lf=W("div",{target:"ejwewyf3",label:"MenuTitleUI"})({name:"16agjqd",styles:"overflow:hidden;width:100%;"}),uf=W(En,{target:"ejwewyf4",label:"MenuTitleHeadingUI"})("align-items:center;color:",$.gray[100],";display:flex;justify-content:space-between;margin-bottom:",jt(1),";padding:",()=>Object(u.isRTL)()?`${jt(.5)} ${jt(2)} ${jt(.5)} ${jt(1.5)}`:`${jt(.5)} ${jt(1.5)} ${jt(.5)} ${jt(2)}`,";"),df=W("span",{target:"ejwewyf5",label:"MenuTitleActionsUI"})("height:",jt(3),";.components-button.is-small{color:",$.lightGray.ui,";margin-right:",jt(.5),";padding:0;&:active:not(:disabled ){background:none;color:",$.gray[200],";}&:hover:not(:disabled ){box-shadow:none;color:",$.gray[200],";}}"),ff=W("div",{target:"ejwewyf6",label:"MenuTitleSearchUI"})("padding:0;position:relative;input{height:",jt(4.5),";margin-bottom:",jt(1),";padding-left:",jt(4),";padding-right:",jt(4),";&::-webkit-search-decoration,&::-webkit-search-cancel-button,&::-webkit-search-results-button,&::-webkit-search-results-decoration{-webkit-appearance:none;}}> svg{left:",jt(.5),";position:absolute;top:6px;}.components-button.is-small{height:30px;padding:0;position:absolute;right:",jt(1),";top:3px;&:active:not(:disabled ){background:none;}&:hover:not(:disabled ){box-shadow:none;}}"),pf=W(En,{target:"ejwewyf7",label:"GroupTitleUI"})("margin-top:",jt(1),";padding:",()=>Object(u.isRTL)()?`${jt(.5)} ${jt(2)} ${jt(.5)} 0`:`${jt(.5)} 0 ${jt(.5)} ${jt(2)}`,";text-transform:uppercase;color:",$.gray[100],";"),hf=W("li",{target:"ejwewyf8",label:"ItemBaseUI"})("border-radius:2px;color:",$.lightGray.ui,";margin-bottom:0;button,a.components-button,a{width:100%;color:",$.lightGray.ui,";padding:",jt(1)," ",jt(2),";",In({textAlign:"left"},{textAlign:"right"})," &:hover,&:focus:not( [aria-disabled='true'] ):active,&:active:not( [aria-disabled='true'] ):active{color:#ddd;}}&.is-active{background-color:",ne.theme,";color:",ne.textDark,";button,a{color:",ne.textDark,";}}svg path{color:",$.lightGray.ui,";}"),bf=W("div",{target:"ejwewyf9",label:"ItemUI"})("display:flex;align-items:center;height:auto;min-height:40px;margin:0;padding:",jt(.75)," ",jt(2),";font-weight:400;line-height:20px;width:100%;color:",$.lightGray.ui,";"),mf=W("span",{target:"ejwewyf10",label:"ItemBadgeUI"})("margin-left:",()=>Object(u.isRTL)()?"0":jt(1),";margin-right:",()=>Object(u.isRTL)()?jt(1):"0",";display:inline-flex;padding:",jt(.5)," ",jt(1.5),";border-radius:2px;animation:fade-in 250ms ease-out;@keyframes fade-in{from{opacity:0;}to{opacity:1;}}",oe("animation"),";"),gf=W(En,{target:"ejwewyf11",label:"ItemTitleUI"})(()=>Object(u.isRTL)()?"margin-left: auto;":"margin-right: auto;"," font-size:14px;line-height:20px;color:inherit;"),vf=()=>{const[e,t]=Object(i.useState)({});return{nodes:e,getNode:t=>e[t],addNode:(e,n)=>t(t=>({...t,[e]:Object(s.omit)(n,"children")})),removeNode:e=>t(t=>Object(s.omit)(t,e))}};function yf({activeItem:e,activeMenu:t=nf,children:n,className:r,onActivateMenu:o=s.noop}){const[a,c]=Object(i.useState)(t),[d,f]=Object(i.useState)(),p=(()=>{const{nodes:e,getNode:t,addNode:n,removeNode:r}=vf(),{nodes:o,getNode:a,addNode:s,removeNode:c}=vf(),[l,u]=Object(i.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}),s(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(u.isRTL)()?"right":"left",b=(e,t=h)=>{p.getMenu(e)&&(f(t),c(e),o(e))},m=Object(i.useRef)(!1);Object(i.useEffect)(()=>{m.current||(m.current=!0)},[]),Object(i.useEffect)(()=>{t!==a&&b(t)},[t]);const g={activeItem:e,activeMenu:a,setActiveMenu:b,navigationTree:p},v=l()("components-navigation",r),y=Object(vt.b)({type:"slide-in",origin:d});return Object(i.createElement)(af,{className:v},Object(i.createElement)("div",{key:a,className:l()({[y]:m.current&&d})},Object(i.createElement)(rf.Provider,{value:g},n)))}var Of=n("1iEr"),jf=n("2gm7");var _f=Object(i.forwardRef)((function({backButtonLabel:e,className:t,href:n,onClick:r,parentMenu:o},a){var s;const{setActiveMenu:c,navigationTree:d}=of(),f=l()("components-navigation__back-button",t),p=null===(s=d.getMenu(o))||void 0===s?void 0:s.title,h=Object(u.isRTL)()?Of.a:jf.a;return Object(i.createElement)(cf,{className:f,href:n,isTertiary:!0,ref:a,onClick:e=>{"function"==typeof r&&r(e);const t=Object(u.isRTL)()?"left":"right";o&&!e.defaultPrevented&&c(o,t)}},Object(i.createElement)(zi.a,{icon:h}),e||p||Object(u.__)("Back"))}));const wf=Object(i.createContext)({group:void 0});function kf({children:e,className:t,title:n}){const[r]=Object(i.useState)(Object(s.uniqueId)("group-")),{navigationTree:{items:o}}=of(),a={group:r};if(!Object(s.find)(o,{group:r,_isVisible:!0}))return Object(i.createElement)(wf.Provider,{value:a},e);const c="components-navigation__group-title-"+r,u=l()("components-navigation__group",t);return Object(i.createElement)(wf.Provider,{value:a},Object(i.createElement)("li",{className:u},n&&Object(i.createElement)(pf,{as:"h3",className:"components-navigation__group-title",id:c,variant:"caption"},n),Object(i.createElement)("ul",{"aria-labelledby":c,role:"group"},e)))}function xf(e){const{badge:t,title:n}=e;return Object(i.createElement)(i.Fragment,null,n&&Object(i.createElement)(gf,{className:"components-navigation__item-title",variant:"body.small",as:"span"},n),t&&Object(i.createElement)(mf,{className:"components-navigation__item-badge"},t))}const Ef=Object(i.createContext)({menu:void 0,search:""}),Sf=()=>Object(i.useContext)(Ef),Cf=e=>Object(s.deburr)(e).replace(/^\//,"").toLowerCase(),Pf=(e,t)=>{const{activeMenu:n,navigationTree:{addItem:r,removeItem:o}}=of(),{group:a}=Object(i.useContext)(wf),{menu:s,search:c}=Sf();Object(i.useEffect)(()=>{const i=n===s,l=!c||((e,t)=>-1!==Cf(e).indexOf(Cf(t)))(t.title,c);return r(e,{...t,group:a,menu:s,_isVisible:i&&l}),()=>{o(e)}},[n,c])};function Df(e){var t;const{children:n,className:r,...o}=e,[c]=Object(i.useState)(Object(s.uniqueId)("item-"));Pf(c,e);const{navigationTree:u}=of();if(null===(t=u.getItem(c))||void 0===t||!t._isVisible)return null;const d=l()("components-navigation__item",r);return Object(i.createElement)(hf,Object(a.a)({className:d},o),n)}function Mf(e){const{badge:t,children:n,className:r,href:o,item:c,navigateToMenu:d,onClick:f=s.noop,title:p,hideIfTargetMenuEmpty:h,isText:b,...m}=e,{activeItem:g,setActiveMenu:v,navigationTree:{isMenuEmpty:y}}=of();if(h&&d&&y(d))return null;const O=l()(r,{"is-active":c&&g===c}),j=Object(u.isRTL)()?jf.a:Of.a,_=b?m:{as:Uo.a,href:o,onClick:e=>{d&&v(d),f(e)},...m};return Object(i.createElement)(Df,Object(a.a)({},e,{className:O}),n||Object(i.createElement)(bf,_,Object(i.createElement)(xf,{title:p,badge:t}),d&&Object(i.createElement)(zi.a,{icon:j})))}var If=n("cGtP");var Tf=ad((function({debouncedSpeak:e,onCloseSearch:t,onSearch:n,search:r,title:o}){const{navigationTree:{items:a}}=of(),{menu:c}=Sf(),l=Object(i.useRef)();Object(i.useEffect)(()=>{const e=setTimeout(()=>{l.current.focus()},100);return()=>{clearTimeout(e)}},[]),Object(i.useEffect)(()=>{if(!r)return;const t=Object(s.filter)(a,"_isVisible").length,n=Object(u.sprintf)(Object(u._n)("%d result found.","%d results found.",t),t);e(n)},[a,r]);const d=()=>{n(""),t()},f="components-navigation__menu-title-"+c,p="components-navigation__menu-title-search-"+c,b=Object(u.sprintf)(Object(u.__)("Search in %s"),o);return Object(i.createElement)(ff,{className:"components-navigation__menu-title-search"},Object(i.createElement)(zi.a,{icon:If.a}),Object(i.createElement)(h.a,{as:"label",htmlFor:p,id:f},b),Object(i.createElement)("input",{autoComplete:"off",className:"components-text-control__input",id:p,onChange:e=>n(e.target.value),onKeyDown:function(e){e.keyCode===mo.ESCAPE&&(e.stopPropagation(),d())},placeholder:b,ref:l,type:"search",value:r}),Object(i.createElement)(Uo.a,{isSmall:!0,isTertiary:!0,label:Object(u.__)("Close search"),onClick:d},Object(i.createElement)(zi.a,{icon:_s.a})))}));function Rf({hasSearch:e,onSearch:t,search:n,title:r,titleAction:o}){const[a,s]=Object(i.useState)(!1),{menu:c}=Sf(),l=Object(i.useRef)();if(!r)return null;const d="components-navigation__menu-title-"+c,f=Object(u.sprintf)(Object(u.__)("Search in %s"),r);return Object(i.createElement)(lf,{className:"components-navigation__menu-title"},!a&&Object(i.createElement)(uf,{as:"h2",className:"components-navigation__menu-title-heading",variant:"title.small"},Object(i.createElement)("span",{id:d},r),(e||o)&&Object(i.createElement)(df,null,o,e&&Object(i.createElement)(Uo.a,{isSmall:!0,isTertiary:!0,label:f,onClick:()=>s(!0),ref:l},Object(i.createElement)(zi.a,{icon:If.a})))),a&&Object(i.createElement)("div",{className:Object(vt.b)({type:"slide-in",origin:"left"})},Object(i.createElement)(Tf,{onCloseSearch:()=>{s(!1),setTimeout(()=>{l.current.focus()},100)},onSearch:t,search:n,title:r})))}function Af({search:e}){const{navigationTree:{items:t}}=of(),n=Object(s.filter)(t,"_isVisible").length;return!e||n?null:Object(i.createElement)(hf,null,Object(i.createElement)(bf,null,Object(u.__)("No results found.")," "))}function Nf(e){const{backButtonLabel:t,children:n,className:r,hasSearch:o,menu:a=nf,onBackButtonClick:s,onSearch:c,parentMenu:u,search:d,isSearchDebouncing:f,title:p,titleAction:h}=e,[b,m]=Object(i.useState)("");(e=>{const{navigationTree:{addMenu:t,removeMenu:n}}=of(),r=e.menu||nf;Object(i.useEffect)(()=>(t(r,{...e,menu:r}),()=>{n(r)}),[])})(e);const{activeMenu:g}=of(),v={menu:a,search:b};if(g!==a)return Object(i.createElement)(Ef.Provider,{value:v},n);const y=!!c,O=y?d:b,j=y?c:m,_="components-navigation__menu-title-"+a,w=l()("components-navigation__menu",r);return Object(i.createElement)(Ef.Provider,{value:v},Object(i.createElement)(sf,{className:w},(u||s)&&Object(i.createElement)(_f,{backButtonLabel:t,parentMenu:u,onClick:s}),Object(i.createElement)(Rf,{hasSearch:o,onSearch:j,search:O,title:p,titleAction:h}),Object(i.createElement)(xl,null,Object(i.createElement)("ul",{"aria-labelledby":_},n,O&&!f&&Object(i.createElement)(Af,{search:O})))))}function Lf(e){switch(e){case"success":case"warning":case"info":return"polite";case"error":default:return"assertive"}}var Ff=function({className:e,status:t="info",children:n,spokenMessage:r=n,onRemove:o=s.noop,isDismissible:a=!0,actions:c=[],politeness:d=Lf(t),__unstableHTML:f}){!function(e,t){const n="string"==typeof e?e:Object(i.renderToString)(e);Object(i.useEffect)(()=>{n&&Object(Ko.speak)(n,t)},[n,t])}(r,d);const p=l()(e,"components-notice","is-"+t,{"is-dismissible":a});return f&&(n=Object(i.createElement)(i.RawHTML,null,n)),Object(i.createElement)("div",{className:p},Object(i.createElement)("div",{className:"components-notice__content"},n,Object(i.createElement)("div",{className:"components-notice__actions"},c.map(({className:e,label:t,isPrimary:n,noDefaultClasses:r=!1,onClick:o,url:a},s)=>Object(i.createElement)(Uo.a,{key:s,href:a,isPrimary:n,isSecondary:!r&&!a,isLink:!r&&!!a,onClick:a?void 0:o,className:l()("components-notice__action",e)},t)))),a&&Object(i.createElement)(Uo.a,{className:"components-notice__dismiss",icon:Ki.a,label:Object(u.__)("Dismiss this notice"),onClick:o,showTooltip:!1}))};var zf=function({notices:e,onRemove:t=s.noop,className:n,children:r}){return n=l()("components-notice-list",n),Object(i.createElement)("div",{className:n},r,[...e].reverse().map(e=>{return Object(i.createElement)(Ff,Object(a.a)({},Object(s.omit)(e,["content"]),{key:e.id,onRemove:(n=e.id,()=>t(n))}),e.content);var n}))};var Bf=function({label:e,children:t}){return Object(i.createElement)("div",{className:"components-panel__header"},e&&Object(i.createElement)("h2",null,e),t)};var Hf=Object(i.forwardRef)((function({header:e,className:t,children:n},r){const o=l()(t,"components-panel");return Object(i.createElement)("div",{className:o,ref:r},e&&Object(i.createElement)(Bf,{label:e}),n)}));const Vf=Object(i.forwardRef)(({isOpened:e,icon:t,title:n,...r},o)=>n?Object(i.createElement)("h2",{className:"components-panel__body-title"},Object(i.createElement)(Uo.a,Object(a.a)({className:"components-panel__body-toggle","aria-expanded":e,ref:o},r),Object(i.createElement)("span",{"aria-hidden":"true"},Object(i.createElement)(qc.a,{className:"components-panel__arrow",icon:e?Ui.a:Gi.a})),n,t&&Object(i.createElement)(qc.a,{icon:t,className:"components-panel__icon",size:20}))):null),Wf=Object(i.forwardRef)((function({buttonProps:e={},children:t,className:n,icon:r,initialOpen:o,onToggle:c=s.noop,opened:u,title:f,scrollAfterOpen:p=!0},h){const[b,m]=ba(u,{initial:void 0===o||o}),g=Object(i.useRef)(),v=Object(d.useReducedMotion)()?"auto":"smooth",y=Object(i.useRef)();y.current=p,xo(()=>{var e;b&&y.current&&null!==(e=g.current)&&void 0!==e&&e.scrollIntoView&&g.current.scrollIntoView({inline:"nearest",block:"nearest",behavior:v})},[b,v]);const O=l()("components-panel__body",n,{"is-opened":b});return Object(i.createElement)("div",{className:O,ref:Object(d.useMergeRefs)([g,h])},Object(i.createElement)(Vf,Object(a.a)({icon:r,isOpened:b,onClick:e=>{e.preventDefault();const t=!b;m(t),c(t)},title:f},e)),"function"==typeof t?t({opened:b}):b&&t)}));Wf.displayName="PanelBody";var Kf=Wf;var Uf=Object(i.forwardRef)(({className:e,children:t},n)=>Object(i.createElement)("div",{className:l()("components-panel__row",e),ref:n},t));var Gf=function({icon:e,children:t,label:n,instructions:r,className:o,notices:s,preview:c,isColumnLayout:u,...f}){const[p,{width:h}]=Object(d.useResizeObserver)();let b;"number"==typeof h&&(b={"is-large":h>=480,"is-medium":h>=160&&h<480,"is-small":h<160});const m=l()("components-placeholder",o,b),g=l()("components-placeholder__fieldset",{"is-column-layout":u});return Object(i.createElement)("div",Object(a.a)({},f,{className:m}),p,s,c&&Object(i.createElement)("div",{className:"components-placeholder__preview"},c),Object(i.createElement)("div",{className:"components-placeholder__label"},Object(i.createElement)(qc.a,{icon:e}),n),!!r&&Object(i.createElement)("div",{className:"components-placeholder__instructions"},r),Object(i.createElement)("div",{className:g},t))};function qf(e){const t=e.map(e=>({children:[],parent:null,...e})),n=Object(s.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 $f(e,t=0){return Object(s.flatMap)(e,e=>[{value:e.id,label:Object(s.repeat)(" ",3*t)+Object(s.unescape)(e.name)},...$f(e.children||[],t+1)])}function Yf({label:e,noOptionLabel:t,onChange:n,selectedId:r,tree:o,...c}){const l=Object(i.useMemo)(()=>Object(s.compact)([t&&{value:"",label:t},...$f(o)]),[t,o]);return Object(i.createElement)(Xc,Object(a.a)({label:e,options:l,onChange:n,value:r},c))}function Zf({label:e,noOptionLabel:t,categoriesList:n,selectedCategoryId:r,onChange:o,...s}){const c=Object(i.useMemo)(()=>qf(n),[n]);return Object(i.createElement)(Yf,Object(a.a)({label:e,noOptionLabel:t,onChange:o,tree:c,selectedId:r},s))}function Xf({label:e,noOptionLabel:t,authorList:n,selectedAuthorId:r,onChange:o}){if(!n)return null;const a=qf(n);return Object(i.createElement)(Yf,{label:e,noOptionLabel:t,onChange:o,tree:a,selectedId:r})}function Jf({authorList:e,selectedAuthorId:t,categoriesList:n,selectedCategoryId:r,categorySuggestions:o,selectedCategories:a,numberOfItems:s,order:c,orderBy:l,maxItems:d=100,minItems:f=1,onCategoryChange:p,onAuthorChange:h,onNumberOfItemsChange:b,onOrderChange:m,onOrderByChange:g}){return[m&&g&&Object(i.createElement)(Xc,{key:"query-controls-order-select",label:Object(u.__)("Order by"),value:`${l}/${c}`,options:[{label:Object(u.__)("Newest to oldest"),value:"date/desc"},{label:Object(u.__)("Oldest to newest"),value:"date/asc"},{label:Object(u.__)("A → Z"),value:"title/asc"},{label:Object(u.__)("Z → A"),value:"title/desc"}],onChange:e=>{const[t,n]=e.split("/");n!==c&&m(n),t!==l&&g(t)}}),n&&p&&Object(i.createElement)(Zf,{key:"query-controls-category-select",categoriesList:n,label:Object(u.__)("Category"),noOptionLabel:Object(u.__)("All"),selectedCategoryId:r,onChange:p}),o&&p&&Object(i.createElement)(cd,{key:"query-controls-categories-select",label:Object(u.__)("Categories"),value:a&&a.map(e=>({id:e.id,value:e.name||e.value})),suggestions:Object.keys(o),onChange:p,maxSuggestions:20}),h&&Object(i.createElement)(Xf,{key:"query-controls-author-select",authorList:e,label:Object(u.__)("Author"),noOptionLabel:Object(u.__)("All"),selectedAuthorId:t,onChange:h}),b&&Object(i.createElement)(Ju,{key:"query-controls-range-control",label:Object(u.__)("Number of items"),value:s,onChange:b,min:f,max:d,required:!0})]}n("WnOg");var Qf=["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"],ep=[].concat(Qf,["value","checked","unstable_checkOnFocus"]),tp=Qf;function np(e){return void 0!==e.checked?e.checked:void 0!==e.value&&e.state===e.value}function rp(e,t){var n=Object(Ye.a)(e,"change");Object.defineProperties(n,{type:{value:"change"},target:{value:e},currentTarget:{value:e}}),null==t||t(n)}var op=Object(He.a)({name:"Radio",compose:f.b,keys:ep,useOptions:function(e,t){var n,r=t.value,o=t.checked,a=e.unstable_clickOnEnter,i=void 0!==a&&a,s=e.unstable_checkOnFocus,c=void 0===s||s,l=Object(pe.a)(e,["unstable_clickOnEnter","unstable_checkOnFocus"]);return Object(pe.b)(Object(pe.b)({checked:o,unstable_clickOnEnter:i,unstable_checkOnFocus:c},l),{},{value:null!=(n=l.value)?n:r})},useProps:function(e,t){var n=t.ref,r=t.onChange,o=t.onClick,a=Object(pe.a)(t,["ref","onChange","onClick"]),i=Object(_.useRef)(null),s=Object(_.useState)(!0),c=s[0],l=s[1],u=np(e),d=Object(We.a)(e.currentId===e.id),f=Object(We.a)(r),p=Object(We.a)(o);!function(e){var t=Object(_.useState)((function(){return np(e)}))[0],n=Object(_.useState)(e.currentId)[0],r=e.id,o=e.setCurrentId;Object(_.useEffect)((function(){t&&r&&n!==r&&(null==o||o(r))}),[t,r,o,n])}(e),Object(_.useEffect)((function(){var e=i.current;e&&("INPUT"===e.tagName&&"radio"===e.type||l(!1))}),[]);var h=Object(_.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]),b=Object(_.useCallback)((function(e){var t;null===(t=p.current)||void 0===t||t.call(p,e),e.defaultPrevented||c||rp(e.currentTarget,h)}),[h,c]);return Object(_.useEffect)((function(){var t=i.current;t&&e.unstable_moves&&d.current&&e.unstable_checkOnFocus&&rp(t,h)}),[e.unstable_moves,e.unstable_checkOnFocus,h]),Object(pe.b)({ref:Object(Ve.a)(i,n),role:c?void 0:"radio",type:c?"radio":void 0,value:c?e.value:void 0,name:c?e.baseId:void 0,"aria-checked":u,checked:u,onChange:h,onClick:b},a)}}),ap=Object(Be.a)({as:"input",memo:!0,useHook:op});var ip=Object(i.createContext)({state:null,setState:()=>{}});var sp=Object(i.forwardRef)((function({children:e,value:t,...n},r){const o=Object(i.useContext)(ip),s=o.state===t;return Object(i.createElement)(ap,Object(a.a)({ref:r,as:Uo.a,isPrimary:s,isSecondary:!s,value:t},o,n),e||t)}));var cp=Object(He.a)({name:"RadioGroup",compose:ct,keys:tp,useProps:function(e,t){return Object(pe.b)({role:"radiogroup"},t)}}),lp=Object(Be.a)({as:"div",useHook:cp,useCreateElement:function(e,t,n){return Object(qe.a)(e,t,n)}});var up=Object(i.forwardRef)((function({label:e,checked:t,defaultChecked:n,disabled:r,onChange:o,...s},c){const l=function(e){void 0===e&&(e={});var t=be(e),n=t.state,r=t.loop,o=void 0===r||r,a=Object(pe.a)(t,["state","loop"]),i=Object(_.useState)(n),s=i[0],c=i[1],l=ze(Object(pe.b)(Object(pe.b)({},a),{},{loop:o}));return Object(pe.b)(Object(pe.b)({},l),{},{state:s,setState:c})}({state:n,baseId:s.id}),u={...l,disabled:r,state:null!=t?t:l.state,setState:null!=o?o:l.setState};return Object(i.createElement)(ip.Provider,{value:u},Object(i.createElement)(lp,Object(a.a)({ref:c,as:pi,"aria-label":e},l,s)))}));function dp({label:e,className:t,selected:n,help:r,onChange:o,options:c=[],...u}){const f="inspector-radio-control-"+Object(d.useInstanceId)(dp),p=e=>o(e.target.value);return!Object(s.isEmpty)(c)&&Object(i.createElement)(St,{label:e,id:f,help:r,className:l()(t,"components-radio-control")},c.map((e,t)=>Object(i.createElement)("div",{key:`${f}-${t}`,className:"components-radio-control__option"},Object(i.createElement)("input",Object(a.a)({id:`${f}-${t}`,className:"components-radio-control__input",type:"radio",name:f,value:e.value,onChange:p,checked:e.value===n,"aria-describedby":r?f+"__help":void 0},u)),Object(i.createElement)("label",{htmlFor:`${f}-${t}`},e.label))))}var fp,pp=(fp=function(e,t){return(fp=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])})(e,t)},function(e,t){function n(){this.constructor=e}fp(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),hp=function(){return(hp=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)},bp={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"}},mp=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 pp(t,e),t.prototype.render=function(){return _.createElement("div",{className:this.props.className||"",style:hp(hp({position:"absolute",userSelect:"none"},bp[this.props.direction]),this.props.replaceStyles||{}),onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart},this.props.children)},t}(_.PureComponent),gp=n("75pU"),vp=n.n(gp),yp=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)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Op=function(){return(Op=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)},jp={width:"auto",height:"auto"},_p=vp()((function(e,t,n){return Math.max(Math.min(e,n),t)})),wp=vp()((function(e,t){return Math.round(e/t)*t})),kp=vp()((function(e,t){return new RegExp(e,"i").test(t)})),xp=function(e){return Boolean(e.touches&&e.touches.length)},Ep=vp()((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})),Sp=vp()((function(e,t){return e.substr(e.length-t.length,t.length)===t})),Cp=vp()((function(e){return"auto"===(e=e.toString())||Sp(e,"px")||Sp(e,"%")||Sp(e,"vh")||Sp(e,"vw")||Sp(e,"vmax")||Sp(e,"vmin")?e:e+"px"})),Pp=function(e,t,n,r){if(e&&"string"==typeof e){if(Sp(e,"px"))return Number(e.replace("px",""));if(Sp(e,"%"))return t*(Number(e.replace("%",""))/100);if(Sp(e,"vw"))return n*(Number(e.replace("vw",""))/100);if(Sp(e,"vh"))return r*(Number(e.replace("vh",""))/100)}return e},Dp=vp()((function(e,t,n,r,o,a,i){return r=Pp(r,e.width,t,n),o=Pp(o,e.height,t,n),a=Pp(a,e.width,t,n),i=Pp(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)}})),Mp=["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"],Ip=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 yp(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||jp},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]&&Sp(e.propsSize[t].toString(),"%")){if(Sp(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 Cp(e.state[t])};return{width:t&&void 0!==t.width&&!this.state.isResizing?Cp(t.width):n("width"),height:t&&void 0!==t.height&&!this.state.isResizing?Cp(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&&kp("left",a),s=o&&kp("top",a);if("parent"===this.props.bounds){var c=this.parentNode;c&&(n=i?this.resizableRight-this.parentLeft:c.offsetWidth+(this.parentLeft-this.resizableLeft),r=s?this.resizableBottom-this.parentTop:c.offsetHeight+(this.parentTop-this.resizableTop))}else"window"===this.props.bounds?this.window&&(n=i?this.resizableRight:this.window.innerWidth-this.resizableLeft,r=s?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=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,a=o.direction,i=o.original,s=this.props,c=s.lockAspectRatio,l=s.lockAspectRatioExtraHeight,u=s.lockAspectRatioExtraWidth,d=i.width,f=i.height,p=l||0,h=u||0;return kp("right",a)&&(d=i.width+(e-i.x)*r/n,c&&(f=(d-h)/this.ratio+p)),kp("left",a)&&(d=i.width-(e-i.x)*r/n,c&&(f=(d-h)/this.ratio+p)),kp("bottom",a)&&(f=i.height+(t-i.y)*r/n,c&&(d=(f-p)*this.ratio+h)),kp("top",a)&&(f=i.height-(t-i.y)*r/n,c&&(d=(f-p)*this.ratio+h)),{newWidth:d,newHeight:f}},t.prototype.calculateNewSizeFromAspectRatio=function(e,t,n,r){var o=this.props,a=o.lockAspectRatio,i=o.lockAspectRatioExtraHeight,s=o.lockAspectRatioExtraWidth,c=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=s||0;if(a){var h=(u-f)*this.ratio+p,b=(d-f)*this.ratio+p,m=(c-p)/this.ratio+f,g=(l-p)/this.ratio+f,v=Math.max(c,h),y=Math.min(l,b),O=Math.max(u,m),j=Math.min(d,g);e=_p(e,v,y),t=_p(t,O,j)}else e=_p(e,c,l),t=_p(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,s=r.bottom;this.resizableLeft=o,this.resizableRight=i,this.resizableTop=a,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)){if(r=e.nativeEvent.clientX,o=e.nativeEvent.clientY,3===e.nativeEvent.which)return}else e.nativeEvent&&xp(e.nativeEvent)&&(r=e.nativeEvent.touches[0].clientX,o=e.nativeEvent.touches[0].clientY);if(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 s=this.window.getComputedStyle(i).flexDirection;this.flexDir=s.startsWith("row")?"row":"column",n=a.flexBasis}}this.setBoundingClientRect(),this.bindEvents();var c={original:{x:r,y:o,width:this.size.width,height:this.size.height},isResizing:!0,backgroundStyle:Op(Op({},this.state.backgroundStyle),{cursor:this.window.getComputedStyle(e.target).cursor||"auto"}),direction:t,flexBasis:n};this.setState(c)}},t.prototype.onMouseMove=function(e){if(this.state.isResizing&&this.resizable&&this.window){if(this.window.TouchEvent&&xp(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=xp(e)?e.touches[0].clientX:e.clientX,s=xp(e)?e.touches[0].clientY:e.clientY,c=this.state,l=c.direction,u=c.original,d=c.width,f=c.height,p=this.getParentSize(),h=Dp(p,this.window.innerWidth,this.window.innerHeight,n,r,o,a);n=h.maxWidth,r=h.maxHeight,o=h.minWidth,a=h.minHeight;var b=this.calculateNewSizeFromDirection(i,s),m=b.newHeight,g=b.newWidth,v=this.calculateNewMaxFromBoundary(n,r),y=this.calculateNewSizeFromAspectRatio(g,m,{width:v.maxWidth,height:v.maxHeight},{width:o,height:a});if(g=y.newWidth,m=y.newHeight,this.props.grid){var O=wp(g,this.props.grid[0]),j=wp(m,this.props.grid[1]),_=this.props.snapGap||0;g=0===_||Math.abs(O-g)<=_?O:g,m=0===_||Math.abs(j-m)<=_?j:m}this.props.snap&&this.props.snap.x&&(g=Ep(g,this.props.snap.x,this.props.snapGap)),this.props.snap&&this.props.snap.y&&(m=Ep(m,this.props.snap.y,this.props.snapGap));var w={width:g-u.width,height:m-u.height};if(d&&"string"==typeof d)if(Sp(d,"%"))g=g/p.width*100+"%";else if(Sp(d,"vw")){g=g/this.window.innerWidth*100+"vw"}else if(Sp(d,"vh")){g=g/this.window.innerHeight*100+"vh"}if(f&&"string"==typeof f)if(Sp(f,"%"))m=m/p.height*100+"%";else if(Sp(f,"vw")){m=m/this.window.innerWidth*100+"vw"}else if(Sp(f,"vh")){m=m/this.window.innerHeight*100+"vh"}var k={width:this.createSizeForCssProperty(g,"width"),height:this.createSizeForCssProperty(m,"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,l,this.resizable,w)}},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:Op(Op({},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,s=t.handleComponent;if(!n)return null;var c=Object.keys(n).map((function(t){return!1!==n[t]?_.createElement(mp,{key:t,direction:t,onResizeStart:e.onResizeStart,replaceStyles:r&&r[t],className:o&&o[t]},s&&s[t]?s[t]:null):null}));return _.createElement("div",{className:i,style:a},c)},t.prototype.render=function(){var e=this,t=Object.keys(this.props).reduce((function(t,n){return-1!==Mp.indexOf(n)||(t[n]=e.props[n]),t}),{}),n=Op(Op(Op({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 _.createElement(r,Op({ref:this.ref,style:n,className:this.props.className},t),this.state.isResizing&&_.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}(_.PureComponent),Tp=n("SSiF"),Rp=n.n(Tp);const{clearTimeout:Ap,setTimeout:Np}="undefined"!=typeof window?window:{},Lp="bottom",Fp="corner";function zp({axis:e,fadeTimeout:t=180,onResize:n=s.noop,position:r=Lp,showPx:o=!1}){const[a,c]=Rp()(),l=!!e,[u,d]=Object(i.useState)(!1),[f,p]=Object(i.useState)(!1),{width:h,height:b}=c,m=Object(i.useRef)(b),g=Object(i.useRef)(h),v=Object(i.useRef)(),y=()=>{l||(d(!1),p(!1))};Object(i.useEffect)(()=>{if(!(null!==h||null!==b))return;const e=h!==g.current,r=b!==m.current;if(e||r){if(h&&!g.current&&b&&!m.current)return g.current=h,void(m.current=b);e&&(d(!0),g.current=h),r&&(p(!0),m.current=b),n({width:h,height:b}),v.current&&Ap(v.current),v.current=Np(y,t)}},[h,b]);return{label:function({axis:e,height:t,moveX:n=!1,moveY:r=!1,position:o=Lp,showPx:a=!1,width:i}){if(!n&&!r)return null;if(o===Fp)return`${i} x ${t}`;const s=a?" px":"";if(e){if("x"===e&&n)return`${i}${s}`;if("y"===e&&r)return`${t}${s}`}if(n&&r)return`${i} x ${t}`;if(n)return`${i}${s}`;if(r)return`${t}${s}`;return null}({axis:e,height:b,moveX:u,moveY:f,position:r,showPx:o,width:h}),resizeListener:a}}const Bp=W("div",{target:"ekdag500",label:"Root"})({name:"mt2ez5",styles:"bottom:0;box-sizing:border-box;left:0;pointer-events:none;position:absolute;right:0;top:0;"}),Hp=W("div",{target:"ekdag501",label:"TooltipWrapper"})({name:"1kllayo",styles:"align-items:center;box-sizing:border-box;display:inline-flex;justify-content:center;opacity:0;pointer-events:none;transition:opacity 120ms linear;"}),Vp=W("div",{target:"ekdag502",label:"Tooltip"})("background:",re.ui.border,";border-radius:2px;box-sizing:border-box;font-size:12px;color:",re.ui.textDark,";padding:4px 8px;position:relative;"),Wp=W(En,{target:"ekdag503",label:"LabelText"})({name:"1kboj1g",styles:"&&&{color:white;display:block;font-size:13px;line-height:1.4;}"});var Kp=Object(i.forwardRef)((function({label:e,position:t=Fp,zIndex:n=1e3,...r},o){const s=!!e,c=t===Fp;if(!s)return null;let l={opacity:s?1:null,zIndex:n},d={};return t===Lp&&(l={...l,position:"absolute",bottom:-10,left:"50%",transform:"translate(-50%, 0)"},d={transform:"translate(0, 100%)"}),c&&(l={...l,position:"absolute",top:4,right:Object(u.isRTL)()?null:4,left:Object(u.isRTL)()?4:null}),Object(i.createElement)(Hp,Object(a.a)({"aria-hidden":"true",className:"components-resizable-tooltip__tooltip-wrapper",isActive:s,ref:o,style:l},r),Object(i.createElement)(Vp,{className:"components-resizable-tooltip__tooltip",style:d},Object(i.createElement)(Wp,{as:"span"},e)))}));var Up=Object(i.forwardRef)((function({axis:e,className:t,fadeTimeout:n=180,isVisible:r=!0,labelRef:o,onResize:c=s.noop,position:u=Lp,showPx:d=!0,zIndex:f=1e3,...p},h){const{label:b,resizeListener:m}=zp({axis:e,fadeTimeout:n,onResize:c,showPx:d,position:u});if(!r)return null;const g=l()("components-resize-tooltip",t);return Object(i.createElement)(Bp,Object(a.a)({"aria-hidden":"true",className:g,ref:h},p),m,Object(i.createElement)(Kp,{"aria-hidden":p["aria-hidden"],fadeTimeout:n,isVisible:r,label:b,position:u,ref:o,zIndex:f}))}));var Gp=Object(i.forwardRef)((function({className:e,children:t,showHandle:n=!0,__experimentalShowTooltip:r=!1,__experimentalTooltipProps:o={},...s},c){const u={width:null,height:null,top:null,right:null,bottom:null,left:null},d="components-resizable-box__handle",f="components-resizable-box__side-handle",p="components-resizable-box__corner-handle";return Object(i.createElement)(Ip,Object(a.a)({className:l()("components-resizable-box__container",n&&"has-show-handle",e),handleClasses:{top:l()(d,f,"components-resizable-box__handle-top"),right:l()(d,f,"components-resizable-box__handle-right"),bottom:l()(d,f,"components-resizable-box__handle-bottom"),left:l()(d,f,"components-resizable-box__handle-left"),topLeft:l()(d,p,"components-resizable-box__handle-top","components-resizable-box__handle-left"),topRight:l()(d,p,"components-resizable-box__handle-top","components-resizable-box__handle-right"),bottomRight:l()(d,p,"components-resizable-box__handle-bottom","components-resizable-box__handle-right"),bottomLeft:l()(d,p,"components-resizable-box__handle-bottom","components-resizable-box__handle-left")},handleStyles:{top:u,right:u,bottom:u,left:u,topLeft:u,topRight:u,bottomRight:u,bottomLeft:u},ref:c},s),t,r&&Object(i.createElement)(Up,o))}));var qp=function({naturalWidth:e,naturalHeight:t,children:n,isInline:r=!1}){const[o,{width:a}]=Object(d.useResizeObserver)();if(1!==i.Children.count(n))return null;const s={paddingBottom:e<a?t:t/e*100+"%"},c=r?"span":"div";return Object(i.createElement)(c,{className:"components-responsive-wrapper"},o,Object(i.createElement)(c,{style:s}),Object(i.cloneElement)(n,{className:l()("components-responsive-wrapper__content",n.props.className)}))};function $p({html:e="",title:t="",type:n,styles:r=[],scripts:o=[],onFocus:a}){const s=Object(i.useRef)(),[c,l]=Object(i.useState)(0),[u,d]=Object(i.useState)(0);function f(a=!1){if(!function(){try{return!!s.current.contentDocument.body}catch(e){return!1}}())return;const{contentDocument:c,ownerDocument:l}=s.current,{body:u}=c;if(!a&&null!==u.getAttribute("data-resizable-iframe-connected"))return;const d=Object(i.createElement)("html",{lang:l.documentElement.lang,className:n},Object(i.createElement)("head",null,Object(i.createElement)("title",null,t),Object(i.createElement)("style",{dangerouslySetInnerHTML:{__html:"\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"}}),r.map((e,t)=>Object(i.createElement)("style",{key:t,dangerouslySetInnerHTML:{__html:e}}))),Object(i.createElement)("body",{"data-resizable-iframe-connected":"data-resizable-iframe-connected",className:n},Object(i.createElement)("div",{dangerouslySetInnerHTML:{__html:e}}),Object(i.createElement)("script",{type:"text/javascript",dangerouslySetInnerHTML:{__html:"\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} )();"}}),o.map(e=>Object(i.createElement)("script",{key:e,src:e}))));c.open(),c.write("<!DOCTYPE html>"+Object(i.renderToString)(d)),c.close()}return Object(i.useEffect)(()=>{function e(){f(!1)}function t(e){const t=s.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&&(l(n.width),d(n.height))}f();const{ownerDocument:n}=s.current,{defaultView:r}=n;return s.current.addEventListener("load",e,!1),r.addEventListener("message",t),()=>{s.current.removeEventListener("load",e,!1),r.addEventListener("message",t)}},[]),Object(i.useEffect)(()=>{f()},[t,n,r,o]),Object(i.useEffect)(()=>{f(!0)},[e]),Object(i.createElement)(xu,{iframeRef:s,title:t,className:"components-sandbox",sandbox:"allow-scripts allow-same-origin allow-presentation",onFocus:a,width:Math.ceil(c),height:Math.ceil(u)})}var Yp=n("iB/h"),Zp=n("ZO3Q");var Xp=function({notices:e,className:t,children:n,onRemove:r=s.noop}){const o=Object(d.useReducedMotion)(),[c]=Object(i.useState)(()=>new WeakMap),u=Object(Zp.useTransition)(e,e=>e.id,{from:{opacity:0,height:0},enter:e=>async t=>await t({opacity:1,height:c.get(e).offsetHeight}),leave:()=>async e=>{await e({opacity:0}),await e({height:0})},immediate:o});t=l()("components-snackbar-list",t);const f=e=>()=>r(e.id);return Object(i.createElement)("div",{className:t},n,u.map(({item:e,key:t,props:n})=>Object(i.createElement)(Zp.animated.div,{key:t,style:n},Object(i.createElement)("div",{className:"components-snackbar-list__notice-container",ref:t=>t&&c.set(e,t)},Object(i.createElement)(Yp.a,Object(a.a)({},Object(s.omit)(e,["content"]),{onRemove:f(e)}),e.content)))))};const Jp=e=>null!=e;var Qp=Mt({as:"div",useHook:function(e){const{className:t,margin:n,marginBottom:r=2,marginLeft:o,marginRight:a,marginTop:i,marginX:s,marginY:c,padding:l,paddingBottom:u,paddingLeft:d,paddingRight:f,paddingTop:p,paddingX:h,paddingY:b,...m}=Object(It.a)(e,"Spacer");return{...m,className:Object(Tt.b)(Jp(i)&&Object(Tt.a)("margin-top:",$t(i),";;label:classes;"),Jp(r)&&Object(Tt.a)("margin-bottom:",$t(r),";;label:classes;"),Jp(o)&&Object(Tt.a)("margin-left:",$t(o),";;label:classes;"),Jp(a)&&Object(Tt.a)("margin-right:",$t(a),";;label:classes;"),Jp(s)&&Object(Tt.a)("margin-left:",$t(s),";margin-right:",$t(s),";;label:classes;"),Jp(c)&&Object(Tt.a)("margin-bottom:",$t(c),";margin-top:",$t(c),";;label:classes;"),Jp(n)&&Object(Tt.a)("margin:",$t(n),";;label:classes;"),Jp(p)&&Object(Tt.a)("padding-top:",$t(p),";;label:classes;"),Jp(u)&&Object(Tt.a)("padding-bottom:",$t(u),";;label:classes;"),Jp(d)&&Object(Tt.a)("padding-left:",$t(d),";;label:classes;"),Jp(f)&&Object(Tt.a)("padding-right:",$t(f),";;label:classes;"),Jp(h)&&Object(Tt.a)("padding-left:",$t(h),";padding-right:",$t(h),";;label:classes;"),Jp(b)&&Object(Tt.a)("padding-bottom:",$t(b),";padding-top:",$t(b),";;label:classes;"),Jp(l)&&Object(Tt.a)("padding:",$t(l),";;label:classes;"),t)}},name:"Spacer"});const eh=(function(){var e=A.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); } @@ -20,7 +20,7 @@ this.wp=this.wp||{},this.wp.components=function(e){var t={};function n(r){if(t[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 s in r)n.call(r,s)&&r[s]&&e.push(s);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")),s=S(n("17x9")),c=S(n("YZDV")),l=S(n("XGBb")),u=n("Hsqg"),d=n("TG4+"),f=S(n("wy2R")),p=n("1TsT"),h=n("vV+G"),b=S(n("yc2e")),m=S(n("mMiH")),g=S(n("dRQD")),v=S(n("q86A")),y=S(n("m2ax")),O=S(n("jenk")),j=S(n("Pq96")),_=S(n("6HWY")),w=S(n("J7JS")),k=S(n("aE6U")),x=S(n("2S2E")),E=n("Fv1B");function S(e){return e&&e.__esModule?e:{default:e}}var C=(0,u.forbidExtraProps)((0,a.default)({},d.withStylesPropTypes,{enableOutsideDays:s.default.bool,firstVisibleMonthIndex:s.default.number,horizontalMonthPadding:u.nonNegativeInteger,initialMonth:l.default.momentObj,isAnimating:s.default.bool,numberOfMonths:s.default.number,modifiers:s.default.objectOf(s.default.objectOf(w.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,u.mutuallyExclusiveProps)(s.default.func,"renderMonthText","renderMonthElement"),renderCalendarDay:s.default.func,renderDayContents:s.default.func,translationValue:s.default.number,renderMonthElement:(0,u.mutuallyExclusiveProps)(s.default.func,"renderMonthText","renderMonthElement"),daySize:u.nonNegativeInteger,focusedDate:l.default.momentObj,isFocused:s.default.bool,firstDayOfWeek:x.default,setMonthTitleHeight:s.default.func,isRTL:s.default.bool,transitionDuration:u.nonNegativeInteger,verticalBorderSpacing:u.nonNegativeInteger,monthFormat:s.default.string,phrases:s.default.shape((0,b.default)(h.CalendarDayPhrases)),dayAriaLabelFormat:s.default.string})),P={enableOutsideDays:!1,firstVisibleMonthIndex:0,horizontalMonthPadding:13,initialMonth:(0,f.default)(),isAnimating:!1,numberOfMonths:1,modifiers:{},orientation:E.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:E.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 D(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===E.VERTICAL_SCROLLABLE;return n.state={months:D(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,a=this.state.months,i=this.props,s=i.initialMonth,c=i.numberOfMonths!==r,l=a;s.isSame(n,"month")||c||((0,_.default)(s,n)?(l=a.slice(1)).push(a[a.length-1].clone().add(1,"month")):(0,j.default)(s,n)?(l=a.slice(0,a.length-1)).unshift(a[0].clone().subtract(1,"month")):l=D(n,r,o===E.VERTICAL_SCROLLABLE));c&&(l=D(n,r,o===E.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,c.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,s=a===E.VERTICAL_SCROLLABLE,c=i.indexOf(e);s||(c-=1),n.set("month",t).subtract(c,"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,s=a===E.VERTICAL_SCROLLABLE,c=i.indexOf(e);s||(c-=1),n.set("year",t).subtract(c,"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,c=t.isAnimating,l=t.modifiers,u=t.numberOfMonths,f=t.monthFormat,p=t.orientation,h=t.translationValue,b=t.daySize,g=t.onDayMouseEnter,j=t.onDayMouseLeave,_=t.onDayClick,w=t.renderMonthText,k=t.renderCalendarDay,x=t.renderDayContents,S=t.renderMonthElement,C=t.onMonthTransitionEnd,P=t.firstDayOfWeek,D=t.focusedDate,M=t.isFocused,I=t.isRTL,T=t.styles,R=t.phrases,A=t.dayAriaLabelFormat,N=t.transitionDuration,L=t.verticalBorderSpacing,F=t.setMonthTitleHeight,z=this.state.months,B=p===E.VERTICAL_ORIENTATION,H=p===E.VERTICAL_SCROLLABLE,V=p===E.HORIZONTAL_ORIENTATION,W=(0,y.default)(b,s),K=B||H?W:(u+2)*W,U=(B||H?"translateY":"translateX")+"("+String(h)+"px)";return i.default.createElement("div",r({},(0,d.css)(T.CalendarMonthGrid,V&&T.CalendarMonthGrid__horizontal,B&&T.CalendarMonthGrid__vertical,H&&T.CalendarMonthGrid__vertical_scrollable,c&&T.CalendarMonthGrid__animating,c&&N&&{transition:"transform "+String(N)+"ms ease-in-out"},(0,a.default)({},(0,v.default)(U),{width:K})),{ref:this.setContainerRef,onTransitionEnd:C}),z.map((function(t,a){var v=a>=o&&a<o+u,y=0===a&&!v,E=0===a&&c&&v,C=(0,O.default)(t);return i.default.createElement("div",r({key:C},(0,d.css)(V&&T.CalendarMonthGrid_month__horizontal,y&&T.CalendarMonthGrid_month__hideForAnimation,E&&!B&&!I&&{position:"absolute",left:-W},E&&!B&&I&&{position:"absolute",right:0},E&&B&&{position:"absolute",top:-h},!v&&!c&&T.CalendarMonthGrid_month__hidden)),i.default.createElement(m.default,{month:t,isVisible:v,enableOutsideDays:n,modifiers:l[C],monthFormat:f,orientation:p,onDayMouseEnter:g,onDayMouseLeave:j,onDayClick:_,onMonthSelect:e.onMonthSelect,onYearSelect:e.onYearSelect,renderMonthText:w,renderCalendarDay:k,renderDayContents:x,renderMonthElement:S,firstDayOfWeek:P,daySize:b,focusedDate:v?D:null,isFocused:M,phrases:R,setMonthTitleHeight:F,dayAriaLabelFormat:A,verticalBorderSpacing:L,horizontalMonthPadding:s}))})))}}]),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)},TqVZ:function(e,t,n){"use strict";var r=n("z9I/");var o=function(e){function t(e,t,r){var o=t.trim().split(h);t=o;var a=o.length,i=e.length;switch(i){case 0:case 1:var s=0;for(e=0===i?"":e[0]+" ";s<a;++s)t[s]=n(e,t[s],r).trim();break;default:var c=s=0;for(t=[];s<a;++s)for(var l=0;l<i;++l)t[c++]=n(e[l]+" ",o[s],r).trim()}return t}function n(e,t,n){var r=t.charCodeAt(0);switch(33>r&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(b,"$1"+e.trim());case 58:return e.trim()+t.replace(b,"$1"+e.trim());default:if(0<1*n&&0<t.indexOf("\f"))return t.replace(b,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function r(e,t,n,a){var i=e+";",s=2*t+3*n+4*a;if(944===s){e=i.indexOf(":",9)+1;var c=i.substring(e,i.length-1).trim();return c=i.substring(0,e).trim()+c+";",1===P||2===P&&o(c,1)?"-webkit-"+c+c:c}if(0===P||2===P&&!o(i,1))return i;switch(s){case 1015:return 97===i.charCodeAt(10)?"-webkit-"+i+i:i;case 951:return 116===i.charCodeAt(3)?"-webkit-"+i+i:i;case 963:return 110===i.charCodeAt(5)?"-webkit-"+i+i:i;case 1009:if(100!==i.charCodeAt(4))break;case 969:case 942:return"-webkit-"+i+i;case 978:return"-webkit-"+i+"-moz-"+i+i;case 1019:case 983:return"-webkit-"+i+"-moz-"+i+"-ms-"+i+i;case 883:if(45===i.charCodeAt(8))return"-webkit-"+i+i;if(0<i.indexOf("image-set(",11))return i.replace(x,"$1-webkit-$2")+i;break;case 932:if(45===i.charCodeAt(4))switch(i.charCodeAt(5)){case 103:return"-webkit-box-"+i.replace("-grow","")+"-webkit-"+i+"-ms-"+i.replace("grow","positive")+i;case 115:return"-webkit-"+i+"-ms-"+i.replace("shrink","negative")+i;case 98:return"-webkit-"+i+"-ms-"+i.replace("basis","preferred-size")+i}return"-webkit-"+i+"-ms-"+i+i;case 964:return"-webkit-"+i+"-ms-flex-"+i+i;case 1023:if(99!==i.charCodeAt(8))break;return"-webkit-box-pack"+(c=i.substring(i.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+i+"-ms-flex-pack"+c+i;case 1005:return f.test(i)?i.replace(d,":-webkit-")+i.replace(d,":-moz-")+i:i;case 1e3:switch(t=(c=i.substring(13).trim()).indexOf("-")+1,c.charCodeAt(0)+c.charCodeAt(t)){case 226:c=i.replace(y,"tb");break;case 232:c=i.replace(y,"tb-rl");break;case 220:c=i.replace(y,"lr");break;default:return i}return"-webkit-"+i+"-ms-"+c+i;case 1017:if(-1===i.indexOf("sticky",9))break;case 975:switch(t=(i=e).length-10,s=(c=(33===i.charCodeAt(t)?i.substring(0,t):i).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|c.charCodeAt(7))){case 203:if(111>c.charCodeAt(8))break;case 115:i=i.replace(c,"-webkit-"+c)+";"+i;break;case 207:case 102:i=i.replace(c,"-webkit-"+(102<s?"inline-":"")+"box")+";"+i.replace(c,"-webkit-"+c)+";"+i.replace(c,"-ms-"+c+"box")+";"+i}return i+";";case 938:if(45===i.charCodeAt(5))switch(i.charCodeAt(6)){case 105:return c=i.replace("-items",""),"-webkit-"+i+"-webkit-box-"+c+"-ms-flex-"+c+i;case 115:return"-webkit-"+i+"-ms-flex-item-"+i.replace(_,"")+i;default:return"-webkit-"+i+"-ms-flex-line-pack"+i.replace("align-content","").replace(_,"")+i}break;case 973:case 989:if(45!==i.charCodeAt(3)||122===i.charCodeAt(4))break;case 931:case 953:if(!0===k.test(e))return 115===(c=e.substring(e.indexOf(":")+1)).charCodeAt(0)?r(e.replace("stretch","fill-available"),t,n,a).replace(":fill-available",":stretch"):i.replace(c,"-webkit-"+c)+i.replace(c,"-moz-"+c.replace("fill-",""))+i;break;case 962:if(i="-webkit-"+i+(102===i.charCodeAt(5)?"-ms-"+i:"")+i,211===n+a&&105===i.charCodeAt(13)&&0<i.indexOf("transform",10))return i.substring(0,i.indexOf(";",27)+1).replace(p,"$1-webkit-$2")+i}return i}function o(e,t){var n=e.indexOf(1===t?":":"{"),r=e.substring(0,3!==t?n:10);return n=e.substring(n+1,e.length-1),T(2!==t?r:r.replace(w,"$1"),n,t)}function a(e,t){var n=r(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(j," or ($1)").substring(4):"("+t+")"}function i(e,t,n,r,o,a,i,s,l,u){for(var d,f=0,p=t;f<I;++f)switch(d=M[f].call(c,e,p,n,r,o,a,i,s,l,u)){case void 0:case!1:case!0:case null:break;default:p=d}if(p!==t)return p}function s(e){return void 0!==(e=e.prefix)&&(T=null,e?"function"!=typeof e?P=1:(P=2,T=e):P=0),s}function c(e,n){var s=e;if(33>s.charCodeAt(0)&&(s=s.trim()),s=[s],0<I){var c=i(-1,n,s,s,S,E,0,0,0,0);void 0!==c&&"string"==typeof c&&(n=c)}var d=function e(n,s,c,d,f){for(var p,h,b,y,j,_=0,w=0,k=0,x=0,M=0,T=0,A=b=p=0,N=0,L=0,F=0,z=0,B=c.length,H=B-1,V="",W="",K="",U="";N<B;){if(h=c.charCodeAt(N),N===H&&0!==w+x+k+_&&(0!==w&&(h=47===w?10:47),x=k=_=0,B++,H++),0===w+x+k+_){if(N===H&&(0<L&&(V=V.replace(u,"")),0<V.trim().length)){switch(h){case 32:case 9:case 59:case 13:case 10:break;default:V+=c.charAt(N)}h=59}switch(h){case 123:for(p=(V=V.trim()).charCodeAt(0),b=1,z=++N;N<B;){switch(h=c.charCodeAt(N)){case 123:b++;break;case 125:b--;break;case 47:switch(h=c.charCodeAt(N+1)){case 42:case 47:e:{for(A=N+1;A<H;++A)switch(c.charCodeAt(A)){case 47:if(42===h&&42===c.charCodeAt(A-1)&&N+2!==A){N=A+1;break e}break;case 10:if(47===h){N=A+1;break e}}N=A}}break;case 91:h++;case 40:h++;case 34:case 39:for(;N++<H&&c.charCodeAt(N)!==h;);}if(0===b)break;N++}switch(b=c.substring(z,N),0===p&&(p=(V=V.replace(l,"").trim()).charCodeAt(0)),p){case 64:switch(0<L&&(V=V.replace(u,"")),h=V.charCodeAt(1)){case 100:case 109:case 115:case 45:L=s;break;default:L=D}if(z=(b=e(s,L,b,h,f+1)).length,0<I&&(j=i(3,b,L=t(D,V,F),s,S,E,z,h,f,d),V=L.join(""),void 0!==j&&0===(z=(b=j.trim()).length)&&(h=0,b="")),0<z)switch(h){case 115:V=V.replace(O,a);case 100:case 109:case 45:b=V+"{"+b+"}";break;case 107:b=(V=V.replace(m,"$1 $2"))+"{"+b+"}",b=1===P||2===P&&o("@"+b,3)?"@-webkit-"+b+"@"+b:"@"+b;break;default:b=V+b,112===d&&(W+=b,b="")}else b="";break;default:b=e(s,t(s,V,F),b,d,f+1)}K+=b,b=F=L=A=p=0,V="",h=c.charCodeAt(++N);break;case 125:case 59:if(1<(z=(V=(0<L?V.replace(u,""):V).trim()).length))switch(0===A&&(p=V.charCodeAt(0),45===p||96<p&&123>p)&&(z=(V=V.replace(" ",":")).length),0<I&&void 0!==(j=i(1,V,s,n,S,E,W.length,d,f,d))&&0===(z=(V=j.trim()).length)&&(V="\0\0"),p=V.charCodeAt(0),h=V.charCodeAt(1),p){case 0:break;case 64:if(105===h||99===h){U+=V+c.charAt(N);break}default:58!==V.charCodeAt(z-1)&&(W+=r(V,p,h,V.charCodeAt(2)))}F=L=A=p=0,V="",h=c.charCodeAt(++N)}}switch(h){case 13:case 10:47===w?w=0:0===1+p&&107!==d&&0<V.length&&(L=1,V+="\0"),0<I*R&&i(0,V,s,n,S,E,W.length,d,f,d),E=1,S++;break;case 59:case 125:if(0===w+x+k+_){E++;break}default:switch(E++,y=c.charAt(N),h){case 9:case 32:if(0===x+_+w)switch(M){case 44:case 58:case 9:case 32:y="";break;default:32!==h&&(y=" ")}break;case 0:y="\\0";break;case 12:y="\\f";break;case 11:y="\\v";break;case 38:0===x+w+_&&(L=F=1,y="\f"+y);break;case 108:if(0===x+w+_+C&&0<A)switch(N-A){case 2:112===M&&58===c.charCodeAt(N-3)&&(C=M);case 8:111===T&&(C=T)}break;case 58:0===x+w+_&&(A=N);break;case 44:0===w+k+x+_&&(L=1,y+="\r");break;case 34:case 39:0===w&&(x=x===h?0:0===x?h:x);break;case 91:0===x+w+k&&_++;break;case 93:0===x+w+k&&_--;break;case 41:0===x+w+_&&k--;break;case 40:if(0===x+w+_){if(0===p)switch(2*M+3*T){case 533:break;default:p=1}k++}break;case 64:0===w+k+x+_+A+b&&(b=1);break;case 42:case 47:if(!(0<x+_+k))switch(w){case 0:switch(2*h+3*c.charCodeAt(N+1)){case 235:w=47;break;case 220:z=N,w=42}break;case 42:47===h&&42===M&&z+2!==N&&(33===c.charCodeAt(z+2)&&(W+=c.substring(z,N+1)),y="",w=0)}}0===w&&(V+=y)}T=M,M=h,N++}if(0<(z=W.length)){if(L=s,0<I&&(void 0!==(j=i(2,W,L,n,S,E,z,d,f,d))&&0===(W=j).length))return U+W+K;if(W=L.join(",")+"{"+W+"}",0!=P*C){switch(2!==P||o(W,2)||(C=0),C){case 111:W=W.replace(v,":-moz-$1")+W;break;case 112:W=W.replace(g,"::-webkit-input-$1")+W.replace(g,"::-moz-$1")+W.replace(g,":-ms-input-$1")+W}C=0}}return U+W+K}(D,s,n,0,0);return 0<I&&(void 0!==(c=i(-2,d,s,s,S,E,d.length,0,0,0))&&(d=c)),"",C=0,E=S=1,d}var l=/^\0+/g,u=/[\0\r\f]/g,d=/: */g,f=/zoo|gra/,p=/([,: ])(transform)/g,h=/,\r+?/g,b=/([\t\r\n ])*\f?&/g,m=/@(k\w+)\s*(\S*)\s*/,g=/::(place)/g,v=/:(read-only)/g,y=/[svh]\w+-[tblr]{2}/,O=/\(\s*(.*)\s*\)/g,j=/([\s\S]*?);/g,_=/-self|flex-/g,w=/[^]*?(:[rp][el]a[\w-]+)[^]*/,k=/stretch|:\s*\w+\-(?:conte|avail)/,x=/([^-])(image-set\()/,E=1,S=1,C=0,P=1,D=[],M=[],I=0,T=null,R=0;return c.use=function e(t){switch(t){case void 0:case null:I=M.length=0;break;default:if("function"==typeof t)M[I++]=t;else if("object"==typeof t)for(var n=0,r=t.length;n<r;++n)e(t[n]);else R=0|!!t}return e},c.set=s,void 0!==e&&s(e),c};function a(e){e&&i.current.insert(e+"}")}var i={current:null},s=function(e,t,n,r,o,s,c,l,u,d){switch(e){case 1:switch(t.charCodeAt(0)){case 64:return i.current.insert(t+";"),"";case 108:if(98===t.charCodeAt(2))return""}break;case 2:if(0===l)return t+"/*|*/";break;case 3:switch(l){case 102:case 112:return i.current.insert(n[0]+t),"";default:return t+(0===d?"/*|*/":"")}case-2:t.split("/*|*/}").forEach(a)}};t.a=function(e){void 0===e&&(e={});var t,n=e.key||"css";void 0!==e.prefix&&(t={prefix:e.prefix});var a=new o(t);var c,l={};c=e.container||document.head;var u,d=document.querySelectorAll("style[data-emotion-"+n+"]");Array.prototype.forEach.call(d,(function(e){e.getAttribute("data-emotion-"+n).split(" ").forEach((function(e){l[e]=!0})),e.parentNode!==c&&c.appendChild(e)})),a.use(e.stylisPlugins)(s),u=function(e,t,n,r){var o=t.name;i.current=n,a(e,t.styles),r&&(f.inserted[o]=!0)};var f={key:n,sheet:new r.a({key:n,container:c,nonce:e.nonce,speedy:e.speedy}),nonce:e.nonce,inserted:l,registered:{},insert:u};return f}},Tqx9:function(e,t){e.exports=window.wp.primitives},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"))},V1cy: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)}},VDVV:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=c(n("/ZKw")),o=c(n("9pTB")),a=n("kFtd"),i=c(n("nLTY")),s=c(n("3HjQ"));function c(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,s=void 0===r?"":r;return n.forEach((function(e){var n=(0,i.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,a=n.hasInlineStyles,i=n.inlineStyles,c={className:o.map((function(e,t){return String(e)+" "+String(e)+"_"+String(t+1)})).join(" ")};return a&&(c.style=i),c}}},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}},VbXa:function(e,t,n){var r=n("SksO");e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)},e.exports.default=e.exports,e.exports.__esModule=!0},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/"),s=n("Cw+6"),c=n("9NHk");const l=({text:e,...t})=>({...t,content:e});const u=Object(r.createElement)("div",{className:"event-catcher"}),d=({eventHandlers:e,child:t,childrenWithPopover:n})=>Object(r.cloneElement)(Object(r.createElement)("span",{className:"disabled-element-wrapper"},Object(r.cloneElement)(u,e),Object(r.cloneElement)(t,{children:n}),","),e),f=({child:e,eventHandlers:t,childrenWithPopover:n})=>Object(r.cloneElement)(e,{...t,children:n}),p=(e,t,n)=>{if(1!==r.Children.count(e))return;const o=r.Children.only(e);"function"==typeof o.props[t]&&o.props[t](n)};var h;t.a=(h=function({children:e,position:t,text:n,shortcut:c}){const[l,u]=Object(r.useState)(!1),[h,b]=Object(r.useState)(!1),m=Object(a.useDebounce)(b,700),g=t=>{p(e,"onMouseDown",t),document.addEventListener("mouseup",O),u(!0)},v=t=>{p(e,"onMouseUp",t),document.removeEventListener("mouseup",O),u(!1)},y=e=>"mouseUp"===e?v:"mouseDown"===e?g:void 0,O=y("mouseUp"),j=(t,n)=>r=>{if(p(e,t,r),r.currentTarget.disabled)return;if("focus"===r.type&&l)return;m.cancel();const a=Object(o.includes)(["focus","mouseenter"],r.type);a!==h&&(n?m(a):b(a))},_=()=>{m.cancel()};if(Object(r.useEffect)(()=>_,[]),1!==r.Children.count(e))return e;const w={onMouseEnter:j("onMouseEnter",!0),onMouseLeave:j("onMouseLeave"),onClick:j("onClick"),onFocus:j("onFocus"),onBlur:j("onBlur"),onMouseDown:y("mouseDown")},k=r.Children.only(e),{children:x,disabled:E}=k.props;return(E?d:f)({child:k,eventHandlers:w,childrenWithPopover:(({grandchildren:e,isOver:t,position:n,text:o,shortcut:a})=>Object(r.concatChildren)(e,t&&Object(r.createElement)(i.a,{focusOnMount:!1,position:n,className:"components-tooltip","aria-hidden":"true",animate:!1,noArrow:!0},o,Object(r.createElement)(s.a,{className:"components-tooltip__shortcut",shortcut:a}))))({grandchildren:x,isOver:h,position:t,text:n,shortcut:c})})},Object(c.a)(h,void 0,"WPComponentsTooltip",l))},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"),s=n("/sVA"),c=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,s="string"===t?["toString","valueOf"]:["valueOf","toString"];for(i=0;i<s.length;++i)if(n=e[s[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):s(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)||s(e))&&(n="string"),c(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"),s=n("ald4"),c=n("6I5v");e.exports=function(e){var t=a(e);return i(t)?0:0!==t&&s(t)?c(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"},WvKp:function(e,t,n){"use strict";var r=n("rZ7t")("%TypeError%"),o=n("DvWQ"),a=n("i10q"),i=n("V1cy");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 s=o(e,t,n);if(!s)throw new r("unable to create data property");return s}},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,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&s.return&&s.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=E(n("Koq/")),i=E(n("cDcd")),s=E(n("17x9")),c=E(n("XGBb")),l=n("Hsqg"),u=E(n("wy2R")),d=E(n("4cSd")),f=E(n("LTAC")),p=n("vV+G"),h=E(n("yc2e")),b=E(n("pRvc")),m=E(n("Nho6")),g=E(n("u5Fq")),v=E(n("IgE5")),y=E(n("pYxT")),O=E(n("jenk")),j=E(n("aE6U")),_=E(n("2S2E")),w=E(n("oR9Z")),k=n("Fv1B"),x=E(n("Nloh"));function E(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:c.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,l.mutuallyExclusiveProps)(s.default.func,"renderMonthText","renderMonthElement"),renderMonthElement:(0,l.mutuallyExclusiveProps)(s.default.func,"renderMonthText","renderMonthElement"),enableOutsideDays:s.default.bool,numberOfMonths:s.default.number,orientation:j.default,withPortal:s.default.bool,initialVisibleMonth:s.default.func,firstDayOfWeek:_.default,hideKeyboardShortcutsPanel:s.default.bool,daySize:l.nonNegativeInteger,verticalHeight:l.nonNegativeInteger,noBorder:s.default.bool,verticalBorderSpacing:l.nonNegativeInteger,transitionDuration:l.nonNegativeInteger,horizontalMonthPadding:l.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:w.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}),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: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},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));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,s=e.isDayHighlighted,c=e.initialVisibleMonth,l=e.numberOfMonths,f=e.enableOutsideDays,p=this.props,h=p.isOutsideRange,m=p.isDayBlocked,g=p.isDayHighlighted,v=p.numberOfMonths,y=p.enableOutsideDays,O=p.initialVisibleMonth,j=p.focused,_=p.date,w=this.state.visibleDays,k=!1,x=!1,E=!1;o!==h&&(this.modifiers["blocked-out-of-range"]=function(e){return o(e)},k=!0),i!==m&&(this.modifiers["blocked-calendar"]=function(e){return i(e)},x=!0),s!==g&&(this.modifiers["highlighted-calendar"]=function(e){return s(e)},E=!0);var S=k||x||E;if(l!==v||f!==y||c!==O&&!j&&r){var C=this.getStateForNewMonth(e),P=C.currentMonth;w=C.visibleDays,this.setState({currentMonth:P,visibleDays:w})}var D=r!==j,M={};n!==_&&(M=this.deleteModifier(M,_,"selected"),M=this.addModifier(M,n,"selected")),(D||S)&&(0,d.default)(w).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"),(D||k)&&(M=o(n)?t.addModifier(M,n,"blocked-out-of-range"):t.deleteModifier(M,n,"blocked-out-of-range")),(D||x)&&(M=i(n)?t.addModifier(M,n,"blocked-calendar"):t.deleteModifier(M,n,"blocked-calendar")),(D||E)&&(M=s(n)?t.addModifier(M,n,"highlighted-calendar"):t.deleteModifier(M,n,"highlighted-calendar"))}))}));var I=(0,u.default)();(0,b.default)(this.today,I)||(M=this.deleteModifier(M,this.today,"today"),M=this.addModifier(M,I,"today"),this.today=I),Object.keys(M).length>0&&this.setState({visibleDays:(0,a.default)({},w,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,s=o.visibleDays,c={};Object.keys(s).sort().slice(0,n+1).forEach((function(e){c[e]=s[e]}));var l=i.clone().subtract(1,"month"),u=(0,g.default)(l,1,r);this.setState({currentMonth:l,visibleDays:(0,a.default)({},c,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,s=o.visibleDays,c={};Object.keys(s).sort().slice(1).forEach((function(e){c[e]=s[e]}));var l=i.clone().add(n,"month"),u=(0,g.default)(l,1,r),d=i.clone().add(1,"month");this.setState({currentMonth:d,visibleDays:(0,a.default)({},c,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===k.VERTICAL_SCROLLABLE,a=(0,g.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===k.VERTICAL_SCROLLABLE,a=(0,g.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 s=[],c=e.clone().add(a-1,"months").endOf("month"),l=i.clone();!(0,m.default)(l,c);)l=l.clone().add(1,"day"),s.push(l);var u=s.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,g.default)(i,o,a))}}},{key:"addModifier",value:function(e,t,n){var r=this.props,o=r.numberOfMonths,i=r.enableOutsideDays,s=r.orientation,c=this.state,l=c.currentMonth,u=c.visibleDays,d=l,f=o;if(s===k.VERTICAL_SCROLLABLE?f=Object.keys(u).length:(d=d.clone().subtract(1,"month"),f+=2),!t||!(0,v.default)(t,d,f,i))return e;var p=(0,y.default)(t),h=(0,a.default)({},e);if(i)h=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))))}),h);else{var b=(0,O.default)(t),m=e[b]||u[b],g=new Set(m[p]);g.add(n),h=(0,a.default)({},h,S({},b,(0,a.default)({},m,S({},p,g))))}return h}},{key:"deleteModifier",value:function(e,t,n){var r=this.props,o=r.numberOfMonths,i=r.enableOutsideDays,s=r.orientation,c=this.state,l=c.currentMonth,u=c.visibleDays,d=l,f=o;if(s===k.VERTICAL_SCROLLABLE?f=Object.keys(u).length:(d=d.clone().subtract(1,"month"),f+=2),!t||!(0,v.default)(t,d,f,i))return e;var p=(0,y.default)(t),h=(0,a.default)({},e);if(i)h=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))))}),h);else{var b=(0,O.default)(t),m=e[b]||u[b],g=new Set(m[p]);g.delete(n),h=(0,a.default)({},h,S({},b,(0,a.default)({},m,S({},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,b.default)(e,t)}},{key:"isSelected",value:function(e){var t=this.props.date;return(0,b.default)(e,t)}},{key:"isToday",value:function(e){return(0,b.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,s=e.navNext,c=e.onOutsideClick,l=e.withPortal,u=e.focused,d=e.enableOutsideDays,f=e.hideKeyboardShortcutsPanel,p=e.daySize,h=e.firstDayOfWeek,b=e.renderCalendarDay,m=e.renderDayContents,g=e.renderCalendarInfo,v=e.renderMonthElement,y=e.calendarInfoPosition,O=e.isFocused,j=e.isRTL,_=e.phrases,w=e.dayAriaLabelFormat,k=e.onBlur,E=e.showKeyboardShortcuts,S=e.weekDayFormat,C=e.verticalHeight,P=e.noBorder,D=e.transitionDuration,M=e.verticalBorderSpacing,I=e.horizontalMonthPadding,T=this.state,R=T.currentMonth,A=T.visibleDays;return i.default.createElement(x.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:h,onOutsideClick:c,navPrev:a,navNext:s,renderMonthText:o,renderCalendarDay:b,renderDayContents:m,renderCalendarInfo:g,renderMonthElement:v,calendarInfoPosition:y,isFocused:O,getFirstFocusableDay:this.getFirstFocusableDay,onBlur:k,phrases:_,daySize:p,isRTL:j,showKeyboardShortcuts:E,weekDayFormat:S,dayAriaLabelFormat:w,verticalHeight:C,noBorder:P,transitionDuration:D,verticalBorderSpacing:M,horizontalMonthPadding:I})}}]),t}(i.default.Component);t.default=D,D.propTypes=C,D.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)}},Z23Y:function(e,t){e.exports=window.wp.warning},ZO3Q:function(e,t,n){"use strict";function r(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(t,"__esModule",{value:!0});var o=r(n("pVnL")),a=r(n("8OQS")),i=n("cDcd"),s=r(i),c=r(n("VbXa")),l=r(n("PJYZ")),u={arr:Array.isArray,obj:function(e){return"[object Object]"===Object.prototype.toString.call(e)},fun:function(e){return"function"==typeof e},str:function(e){return"string"==typeof e},num:function(e){return"number"==typeof e},und:function(e){return void 0===e},nul:function(e){return null===e},set:function(e){return e instanceof Set},map:function(e){return e instanceof Map},equ:function(e,t){if(typeof e!=typeof t)return!1;if(u.str(e)||u.num(e))return e===t;if(u.obj(e)&&u.obj(t)&&Object.keys(e).length+Object.keys(t).length===0)return!0;var n;for(n in e)if(!(n in t))return!1;for(n in t)if(e[n]!==t[n])return!1;return!u.und(n)||e===t}};function d(){var e=i.useState(!1)[1];return i.useCallback((function(){return e((function(e){return!e}))}),[])}function f(e,t){return u.und(e)||u.nul(e)?t:e}function p(e){return u.und(e)?[]:u.arr(e)?e:[e]}function h(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 u.fun(e)?e.apply(void 0,n):e}function b(e){var t=function(e){return e.to,e.from,e.config,e.onStart,e.onRest,e.onFrame,e.children,e.reset,e.reverse,e.force,e.immediate,e.delay,e.attach,e.destroyed,e.interpolateTo,e.ref,e.lazy,a(e,["to","from","config","onStart","onRest","onFrame","children","reset","reverse","force","immediate","delay","attach","destroyed","interpolateTo","ref","lazy"])}(e);if(u.und(t))return o({to:t},e);var n=Object.keys(e).reduce((function(n,r){var a;return u.und(t[r])?o({},n,((a={})[r]=e[r],a)):n}),{});return o({to:t},n)}var m,g,v=function(){function e(){this.payload=void 0,this.children=[]}var t=e.prototype;return t.getAnimatedValue=function(){return this.getValue()},t.getPayload=function(){return this.payload||this},t.attach=function(){},t.detach=function(){},t.getChildren=function(){return this.children},t.addChild=function(e){0===this.children.length&&this.attach(),this.children.push(e)},t.removeChild=function(e){var t=this.children.indexOf(e);this.children.splice(t,1),0===this.children.length&&this.detach()},e}(),y=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).payload=[],t.attach=function(){return t.payload.forEach((function(e){return e instanceof v&&e.addChild(l(t))}))},t.detach=function(){return t.payload.forEach((function(e){return e instanceof v&&e.removeChild(l(t))}))},t}return c(t,e),t}(v),O=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).payload={},t.attach=function(){return Object.values(t.payload).forEach((function(e){return e instanceof v&&e.addChild(l(t))}))},t.detach=function(){return Object.values(t.payload).forEach((function(e){return e instanceof v&&e.removeChild(l(t))}))},t}c(t,e);var n=t.prototype;return n.getValue=function(e){void 0===e&&(e=!1);var t={};for(var n in this.payload){var r=this.payload[n];(!e||r instanceof v)&&(t[n]=r instanceof v?r[e?"getAnimatedValue":"getValue"]():r)}return t},n.getAnimatedValue=function(){return this.getValue(!0)},t}(v);function j(e,t){m={fn:e,transform:t}}function _(e){g=e}var w,k=function(e){return"undefined"!=typeof window?window.requestAnimationFrame(e):-1},x=function(e){"undefined"!=typeof window&&window.cancelAnimationFrame(e)};function E(e){w=e}var S,C=function(){return Date.now()};function P(e){S=e}var D,M,I=function(e){return e.current};function T(e){D=e}var R=Object.freeze({get applyAnimatedValues(){return m},injectApplyAnimatedValues:j,get colorNames(){return g},injectColorNames:_,get requestFrame(){return k},get cancelFrame(){return x},injectFrame:function(e,t){k=e,x=t},get interpolation(){return w},injectStringInterpolator:E,get now(){return C},injectNow:function(e){C=e},get defaultElement(){return S},injectDefaultElement:P,get animatedApi(){return I},injectAnimatedApi:function(e){I=e},get createAnimatedStyle(){return D},injectCreateAnimatedStyle:T,get manualFrameloop(){return M},injectManualFrameloop:function(e){M=e}}),A=function(e){function t(t,n){var r;return(r=e.call(this)||this).update=void 0,r.payload=t.style?o({},t,{style:D(t.style)}):t,r.update=n,r.attach(),r}return c(t,e),t}(O),N=!1,L=new Set,F=function e(){if(!N)return!1;var t=C(),n=L,r=Array.isArray(n),o=0;for(n=r?n:n[Symbol.iterator]();;){var a;if(r){if(o>=n.length)break;a=n[o++]}else{if((o=n.next()).done)break;a=o.value}for(var i=a,s=!1,c=0;c<i.configs.length;c++){for(var l=i.configs[c],u=void 0,d=void 0,f=0;f<l.animatedValues.length;f++){var p=l.animatedValues[f];if(!p.done){var h=l.fromValues[f],b=l.toValues[f],m=p.lastPosition,g=b instanceof v,y=Array.isArray(l.initialVelocity)?l.initialVelocity[f]:l.initialVelocity;if(g&&(b=b.getValue()),l.immediate)p.setValue(b),p.done=!0;else if("string"!=typeof h&&"string"!=typeof b){if(void 0!==l.duration)m=h+l.easing((t-p.startTime)/l.duration)*(b-h),u=t>=p.startTime+l.duration;else if(l.decay)m=h+y/(1-.998)*(1-Math.exp(-(1-.998)*(t-p.startTime))),(u=Math.abs(p.lastPosition-m)<.1)&&(b=m);else{d=void 0!==p.lastTime?p.lastTime:t,y=void 0!==p.lastVelocity?p.lastVelocity:l.initialVelocity,t>d+64&&(d=t);for(var O=Math.floor(t-d),j=0;j<O;++j){m+=1*(y+=1*((-l.tension*(m-b)+-l.friction*y)/l.mass)/1e3)/1e3}var _=!(!l.clamp||0===l.tension)&&(h<b?m>b:m<b),w=Math.abs(y)<=l.precision,x=0===l.tension||Math.abs(b-m)<=l.precision;u=_||w&&x,p.lastVelocity=y,p.lastTime=t}g&&!l.toValues[f].done&&(u=!1),u?(p.value!==b&&(m=b),p.done=!0):s=!0,p.setValue(m),p.lastPosition=m}else p.setValue(b),p.done=!0}}i.props.onFrame&&(i.values[l.name]=l.interpolation.getValue())}i.props.onFrame&&i.props.onFrame(i.values),s||(L.delete(i),i.stop(!0))}return L.size?M?M():k(e):N=!1,N};function z(e,t,n){if("function"==typeof e)return e;if(Array.isArray(e))return z({range:e,output:t,extrapolate:n});if(w&&"string"==typeof e.output[0])return w(e);var r=e,o=r.output,a=r.range||[0,1],i=r.extrapolateLeft||r.extrapolate||"extend",s=r.extrapolateRight||r.extrapolate||"extend",c=r.easing||function(e){return e};return function(e){var t=function(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}(e,a);return function(e,t,n,r,o,a,i,s,c){var l=c?c(e):e;if(l<t){if("identity"===i)return l;"clamp"===i&&(l=t)}if(l>n){if("identity"===s)return l;"clamp"===s&&(l=n)}if(r===o)return r;if(t===n)return e<=t?r:o;t===-1/0?l=-l:n===1/0?l-=t:l=(l-t)/(n-t);l=a(l),r===-1/0?l=-l:o===1/0?l+=r:l=l*(o-r)+r;return l}(e,a[t],a[t+1],o[t],o[t+1],c,i,s,r.map)}}var B=function(e){function t(n,r,o,a){var i;return(i=e.call(this)||this).calc=void 0,i.payload=n instanceof y&&!(n instanceof t)?n.getPayload():Array.isArray(n)?n:[n],i.calc=z(r,o,a),i}c(t,e);var n=t.prototype;return n.getValue=function(){return this.calc.apply(this,this.payload.map((function(e){return e.getValue()})))},n.updateConfig=function(e,t,n){this.calc=z(e,t,n)},n.interpolate=function(e,n,r){return new t(this,e,n,r)},t}(y);var H=function(e){function t(t){var n;return(n=e.call(this)||this).animatedStyles=new Set,n.value=void 0,n.startPosition=void 0,n.lastPosition=void 0,n.lastVelocity=void 0,n.startTime=void 0,n.lastTime=void 0,n.done=!1,n.setValue=function(e,t){void 0===t&&(t=!0),n.value=e,t&&n.flush()},n.value=t,n.startPosition=t,n.lastPosition=t,n}c(t,e);var n=t.prototype;return n.flush=function(){0===this.animatedStyles.size&&function e(t,n){"update"in t?n.add(t):t.getChildren().forEach((function(t){return e(t,n)}))}(this,this.animatedStyles),this.animatedStyles.forEach((function(e){return e.update()}))},n.clearStyles=function(){this.animatedStyles.clear()},n.getValue=function(){return this.value},n.interpolate=function(e,t,n){return new B(this,e,t,n)},t}(v),V=function(e){function t(t){var n;return(n=e.call(this)||this).payload=t.map((function(e){return new H(e)})),n}c(t,e);var n=t.prototype;return n.setValue=function(e,t){var n=this;void 0===t&&(t=!0),Array.isArray(e)?e.length===this.payload.length&&e.forEach((function(e,r){return n.payload[r].setValue(e,t)})):this.payload.forEach((function(n){return n.setValue(e,t)}))},n.getValue=function(){return this.payload.map((function(e){return e.getValue()}))},n.interpolate=function(e,t){return new B(this,e,t)},t}(y),W=0,K=function(){function e(){var e=this;this.id=void 0,this.idle=!0,this.hasChanged=!1,this.guid=0,this.local=0,this.props={},this.merged={},this.animations={},this.interpolations={},this.values={},this.configs=[],this.listeners=[],this.queue=[],this.localQueue=void 0,this.getValues=function(){return e.interpolations},this.id=W++}var t=e.prototype;return t.update=function(e){if(!e)return this;var t=b(e),n=t.delay,r=void 0===n?0:n,i=t.to,s=a(t,["delay","to"]);if(u.arr(i)||u.fun(i))this.queue.push(o({},s,{delay:r,to:i}));else if(i){var c={};Object.entries(i).forEach((function(e){var t,n=e[0],a=e[1],i=o({to:(t={},t[n]=a,t),delay:h(r,n)},s),l=c[i.delay]&&c[i.delay].to;c[i.delay]=o({},c[i.delay],i,{to:o({},l,i.to)})})),this.queue=Object.values(c)}return this.queue=this.queue.sort((function(e,t){return e.delay-t.delay})),this.diff(s),this},t.start=function(e){var t,n=this;if(this.queue.length){this.idle=!1,this.localQueue&&this.localQueue.forEach((function(e){var t=e.from,r=void 0===t?{}:t,a=e.to,i=void 0===a?{}:a;u.obj(r)&&(n.merged=o({},r,n.merged)),u.obj(i)&&(n.merged=o({},n.merged,i))}));var r=this.local=++this.guid,i=this.localQueue=this.queue;this.queue=[],i.forEach((function(t,o){var s=t.delay,c=a(t,["delay"]),l=function(t){o===i.length-1&&r===n.guid&&t&&(n.idle=!0,n.props.onRest&&n.props.onRest(n.merged)),e&&e()},d=u.arr(c.to)||u.fun(c.to);s?setTimeout((function(){r===n.guid&&(d?n.runAsync(c,l):n.diff(c).start(l))}),s):d?n.runAsync(c,l):n.diff(c).start(l)}))}else u.fun(e)&&this.listeners.push(e),this.props.onStart&&this.props.onStart(),t=this,L.has(t)||L.add(t),N||(N=!0,k(M||F));return this},t.stop=function(e){return this.listeners.forEach((function(t){return t(e)})),this.listeners=[],this},t.pause=function(e){var t;return this.stop(!0),e&&(t=this,L.has(t)&&L.delete(t)),this},t.runAsync=function(e,t){var n=this,r=(e.delay,a(e,["delay"])),i=this.local,s=Promise.resolve(void 0);if(u.arr(r.to))for(var c=function(e){var t=e,a=o({},r,b(r.to[t]));u.arr(a.config)&&(a.config=a.config[t]),s=s.then((function(){if(i===n.guid)return new Promise((function(e){return n.diff(a).start(e)}))}))},l=0;l<r.to.length;l++)c(l);else if(u.fun(r.to)){var d,f=0;s=s.then((function(){return r.to((function(e){var t=o({},r,b(e));if(u.arr(t.config)&&(t.config=t.config[f]),f++,i===n.guid)return d=new Promise((function(e){return n.diff(t).start(e)}))}),(function(e){return void 0===e&&(e=!0),n.stop(e)})).then((function(){return d}))}))}s.then(t)},t.diff=function(e){var t=this;this.props=o({},this.props,e);var n=this.props,r=n.from,a=void 0===r?{}:r,i=n.to,s=void 0===i?{}:i,c=n.config,l=void 0===c?{}:c,d=n.reverse,b=n.attach,m=n.reset,v=n.immediate;if(d){var y=[s,a];a=y[0],s=y[1]}this.merged=o({},a,this.merged,s),this.hasChanged=!1;var O=b&&b(this);if(this.animations=Object.entries(this.merged).reduce((function(e,n){var r=n[0],i=n[1],s=e[r]||{},c=u.num(i),d=u.str(i)&&!i.startsWith("#")&&!/\d/.test(i)&&!g[i],b=u.arr(i),y=!c&&!b&&!d,j=u.und(a[r])?i:a[r],_=c||b||d?i:1,k=h(l,r);O&&(_=O.animations[r].parent);var x,E=s.parent,S=s.interpolation,P=p(O?_.getPayload():_),D=i;y&&(D=w({range:[0,1],output:[i,i]})(1));var M,I=S&&S.getValue(),T=!u.und(E)&&s.animatedValues.some((function(e){return!e.done})),R=!u.equ(D,I),A=!u.equ(D,s.previous),N=!u.equ(k,s.config);if(m||A&&R||N){var L;if(c||d)E=S=s.parent||new H(j);else if(b)E=S=s.parent||new V(j);else if(y){var F=s.interpolation&&s.interpolation.calc(s.parent.value);F=void 0===F||m?j:F,s.parent?(E=s.parent).setValue(0,!1):E=new H(0);var z={output:[F,i]};s.interpolation?(S=s.interpolation,s.interpolation.updateConfig(z)):S=E.interpolate(z)}return P=p(O?_.getPayload():_),x=p(E.getPayload()),m&&!y&&E.setValue(j,!1),t.hasChanged=!0,x.forEach((function(e){e.startPosition=e.value,e.lastPosition=e.value,e.lastVelocity=T?e.lastVelocity:void 0,e.lastTime=T?e.lastTime:void 0,e.startTime=C(),e.done=!1,e.animatedStyles.clear()})),h(v,r)&&E.setValue(y?_:i,!1),o({},e,((L={})[r]=o({},s,{name:r,parent:E,interpolation:S,animatedValues:x,toValues:P,previous:D,config:k,fromValues:p(E.getValue()),immediate:h(v,r),initialVelocity:f(k.velocity,0),clamp:f(k.clamp,!1),precision:f(k.precision,.01),tension:f(k.tension,170),friction:f(k.friction,26),mass:f(k.mass,1),duration:k.duration,easing:f(k.easing,(function(e){return e})),decay:k.decay}),L))}return R?e:(y&&(E.setValue(1,!1),S.updateConfig({output:[D,D]})),E.done=!0,t.hasChanged=!0,o({},e,((M={})[r]=o({},e[r],{previous:D}),M)))}),this.animations),this.hasChanged)for(var j in this.configs=Object.values(this.animations),this.values={},this.interpolations={},this.animations)this.interpolations[j]=this.animations[j].interpolation,this.values[j]=this.animations[j].interpolation.getValue();return this},t.destroy=function(){this.stop(),this.props={},this.merged={},this.animations={},this.interpolations={},this.values={},this.configs=[],this.local=0},e}(),U=function(e,t){var n=i.useRef(!1),r=i.useRef(),o=u.fun(t),a=i.useMemo((function(){var n;return r.current&&(r.current.map((function(e){return e.destroy()})),r.current=void 0),[new Array(e).fill().map((function(e,r){var a=new K,i=o?h(t,r,a):t[r];return 0===r&&(n=i.ref),a.update(i),n||a.start(),a})),n]}),[e]),s=a[0],c=a[1];r.current=s;i.useImperativeHandle(c,(function(){return{start:function(){return Promise.all(r.current.map((function(e){return new Promise((function(t){return e.start(t)}))})))},stop:function(e){return r.current.forEach((function(t){return t.stop(e)}))},get controllers(){return r.current}}}));var l=i.useMemo((function(){return function(e){return r.current.map((function(t,n){t.update(o?h(e,n,t):e[n]),c||t.start()}))}}),[e]);i.useEffect((function(){n.current?o||l(t):c||r.current.forEach((function(e){return e.start()}))})),i.useEffect((function(){return n.current=!0,function(){return r.current.forEach((function(e){return e.destroy()}))}}),[]);var d=r.current.map((function(e){return e.getValues()}));return o?[d,l,function(e){return r.current.forEach((function(t){return t.pause(e)}))}]:d},G=0,q=function(e,t){return("function"==typeof t?e.map(t):p(t)).map(String)},$=function(e){var t=e.items,n=e.keys,r=void 0===n?function(e){return e}:n,i=a(e,["items","keys"]);return t=p(void 0!==t?t:null),o({items:t,keys:q(t,r)},i)};function Y(e,t){var n=function(){if(o){if(a>=r.length)return"break";i=r[a++]}else{if((a=r.next()).done)return"break";i=a.value}var n=i.key,s=function(e){return e.key!==n};(u.und(t)||t===n)&&(e.current.instances.delete(n),e.current.transitions=e.current.transitions.filter(s),e.current.deleted=e.current.deleted.filter(s))},r=e.current.deleted,o=Array.isArray(r),a=0;for(r=o?r:r[Symbol.iterator]();;){var i;if("break"===n())break}e.current.forceUpdate()}var Z=function(e){function t(t){var n;return void 0===t&&(t={}),n=e.call(this)||this,!t.transform||t.transform instanceof v||(t=m.transform(t)),n.payload=t,n}return c(t,e),t}(O),X={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},J="[-+]?\\d*\\.?\\d+";function Q(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return"\\(\\s*("+t.join(")\\s*,\\s*(")+")\\s*\\)"}var ee=new RegExp("rgb"+Q(J,J,J)),te=new RegExp("rgba"+Q(J,J,J,J)),ne=new RegExp("hsl"+Q(J,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%")),re=new RegExp("hsla"+Q(J,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%",J)),oe=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,ae=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,ie=/^#([0-9a-fA-F]{6})$/,se=/^#([0-9a-fA-F]{8})$/;function ce(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 le(e,t,n){var r=n<.5?n*(1+t):n+t-n*t,o=2*n-r,a=ce(o,r,e+1/3),i=ce(o,r,e),s=ce(o,r,e-1/3);return Math.round(255*a)<<24|Math.round(255*i)<<16|Math.round(255*s)<<8}function ue(e){var t=parseInt(e,10);return t<0?0:t>255?255:t}function de(e){return(parseFloat(e)%360+360)%360/360}function fe(e){var t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function pe(e){var t=parseFloat(e);return t<0?0:t>100?1:t/100}function he(e){var t,n,r="number"==typeof(t=e)?t>>>0===t&&t>=0&&t<=4294967295?t:null:(n=ie.exec(t))?parseInt(n[1]+"ff",16)>>>0:X.hasOwnProperty(t)?X[t]:(n=ee.exec(t))?(ue(n[1])<<24|ue(n[2])<<16|ue(n[3])<<8|255)>>>0:(n=te.exec(t))?(ue(n[1])<<24|ue(n[2])<<16|ue(n[3])<<8|fe(n[4]))>>>0:(n=oe.exec(t))?parseInt(n[1]+n[1]+n[2]+n[2]+n[3]+n[3]+"ff",16)>>>0:(n=se.exec(t))?parseInt(n[1],16)>>>0:(n=ae.exec(t))?parseInt(n[1]+n[1]+n[2]+n[2]+n[3]+n[3]+n[4]+n[4],16)>>>0:(n=ne.exec(t))?(255|le(de(n[1]),pe(n[2]),pe(n[3])))>>>0:(n=re.exec(t))?(le(de(n[1]),pe(n[2]),pe(n[3]))|fe(n[4]))>>>0:null;return null===r?e:"rgba("+((4278190080&(r=r||0))>>>24)+", "+((16711680&r)>>>16)+", "+((65280&r)>>>8)+", "+(255&r)/255+")"}var be=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,me=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,ge=new RegExp("("+Object.keys(X).join("|")+")","g"),ve={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},ye=["Webkit","Ms","Moz","O"];function Oe(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||ve.hasOwnProperty(e)&&ve[e]?(""+t).trim():t+"px"}ve=Object.keys(ve).reduce((function(e,t){return ye.forEach((function(n){return e[function(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}(n,t)]=e[t]})),e}),ve);var je={};T((function(e){return new Z(e)})),P("div"),E((function(e){var t=e.output.map((function(e){return e.replace(me,he)})).map((function(e){return e.replace(ge,he)})),n=t[0].match(be).map((function(){return[]}));t.forEach((function(e){e.match(be).forEach((function(e,t){return n[t].push(+e)}))}));var r=t[0].match(be).map((function(t,r){return z(o({},e,{output:n[r]}))}));return function(e){var n=0;return t[0].replace(be,(function(){return r[n++](e)})).replace(/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,(function(e,t,n,r,o){return"rgba("+Math.round(t)+", "+Math.round(n)+", "+Math.round(r)+", "+o+")"}))}})),_(X),j((function(e,t){if(!e.nodeType||void 0===e.setAttribute)return!1;var n=t.style,r=t.children,o=t.scrollTop,i=t.scrollLeft,s=a(t,["style","children","scrollTop","scrollLeft"]),c="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName;for(var l in void 0!==o&&(e.scrollTop=o),void 0!==i&&(e.scrollLeft=i),void 0!==r&&(e.textContent=r),n)if(n.hasOwnProperty(l)){var u=0===l.indexOf("--"),d=Oe(l,n[l],u);"float"===l&&(l="cssFloat"),u?e.style.setProperty(l,d):e.style[l]=d}for(var f in s){var p=c?f:je[f]||(je[f]=f.replace(/([A-Z])/g,(function(e){return"-"+e.toLowerCase()})));void 0!==e.getAttribute(p)&&e.setAttribute(p,s[f])}}),(function(e){return e}));var _e,we,ke=(_e=function(e){return i.forwardRef((function(t,n){var r=d(),c=i.useRef(!0),l=i.useRef(null),f=i.useRef(null),p=i.useCallback((function(e){var t=l.current;l.current=new A(e,(function(){var e=!1;f.current&&(e=m.fn(f.current,l.current.getAnimatedValue())),f.current&&!1!==e||r()})),t&&t.detach()}),[]);i.useEffect((function(){return function(){c.current=!1,l.current&&l.current.detach()}}),[]),i.useImperativeHandle(n,(function(){return I(f,c,r)})),p(t);var h,b=l.current.getValue(),g=(b.scrollTop,b.scrollLeft,a(b,["scrollTop","scrollLeft"])),v=(h=e,!u.fun(h)||h.prototype instanceof s.Component?function(e){return f.current=function(e,t){return t&&(u.fun(t)?t(e):u.obj(t)&&(t.current=e)),e}(e,n)}:void 0);return s.createElement(e,o({},g,{ref:v}))}))},void 0===(we=!1)&&(we=!0),function(e){return(u.arr(e)?e:Object.keys(e)).reduce((function(e,t){var n=we?t[0].toLowerCase()+t.substring(1):t;return e[n]=_e(n),e}),_e)}),xe=ke(["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"]);t.apply=ke,t.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}},t.update=F,t.animated=xe,t.a=xe,t.interpolate=function(e,t,n){return e&&new B(e,t,n)},t.Globals=R,t.useSpring=function(e){var t=u.fun(e),n=U(1,t?e:[e]),r=n[0],o=n[1],a=n[2];return t?[r[0],o,a]:r},t.useTrail=function(e,t){var n=i.useRef(!1),r=u.fun(t),a=h(t),s=i.useRef(),c=U(e,(function(e,t){return 0===e&&(s.current=[]),s.current.push(t),o({},a,{config:h(a.config,e),attach:e>0&&function(){return s.current[e-1]}})})),l=c[0],d=c[1],f=c[2],p=i.useMemo((function(){return function(e){return d((function(t,n){e.reverse;var r=e.reverse?t+1:t-1,i=s.current[r];return o({},e,{config:h(e.config||a.config,t),attach:i&&function(){return i}})}))}}),[e,a.reverse]);return i.useEffect((function(){n.current&&!r&&p(t)})),i.useEffect((function(){n.current=!0}),[]),r?[l,p,f]:l},t.useTransition=function(e,t,n){var r=o({items:e,keys:t||function(e){return e}},n),s=$(r),c=s.lazy,l=void 0!==c&&c,u=(s.unique,s.reset),f=void 0!==u&&u,p=(s.enter,s.leave,s.update,s.onDestroyed),b=(s.keys,s.items,s.onFrame),m=s.onRest,g=s.onStart,v=s.ref,y=a(s,["lazy","unique","reset","enter","leave","update","onDestroyed","keys","items","onFrame","onRest","onStart","ref"]),O=d(),j=i.useRef(!1),_=i.useRef({mounted:!1,first:!0,deleted:[],current:{},transitions:[],prevProps:{},paused:!!r.ref,instances:!j.current&&new Map,forceUpdate:O});return i.useImperativeHandle(r.ref,(function(){return{start:function(){return Promise.all(Array.from(_.current.instances).map((function(e){var t=e[1];return new Promise((function(e){return t.start(e)}))})))},stop:function(e){return Array.from(_.current.instances).forEach((function(t){return t[1].stop(e)}))},get controllers(){return Array.from(_.current.instances).map((function(e){return e[1]}))}}})),_.current=function(e,t){var n=e.first,r=e.prevProps,i=a(e,["first","prevProps"]),s=$(t),c=s.items,l=s.keys,u=s.initial,d=s.from,f=s.enter,p=s.leave,b=s.update,m=s.trail,g=void 0===m?0:m,v=s.unique,y=s.config,O=s.order,j=void 0===O?["enter","leave","update"]:O,_=$(r),w=_.keys,k=_.items,x=o({},i.current),E=[].concat(i.deleted),S=Object.keys(x),C=new Set(S),P=new Set(l),D=l.filter((function(e){return!C.has(e)})),M=i.transitions.filter((function(e){return!e.destroyed&&!P.has(e.originalKey)})).map((function(e){return e.originalKey})),I=l.filter((function(e){return C.has(e)})),T=-g;for(;j.length;){switch(j.shift()){case"enter":D.forEach((function(e,t){v&&E.find((function(t){return t.originalKey===e}))&&(E=E.filter((function(t){return t.originalKey!==e})));var r=l.indexOf(e),o=c[r],a=n&&void 0!==u?"initial":"enter";x[e]={slot:a,originalKey:e,key:v?String(e):G++,item:o,trail:T+=g,config:h(y,o,a),from:h(n&&void 0!==u?u||{}:d,o),to:h(f,o)}}));break;case"leave":M.forEach((function(e){var t=w.indexOf(e),n=k[t];E.unshift(o({},x[e],{slot:"leave",destroyed:!0,left:w[Math.max(0,t-1)],right:w[Math.min(w.length,t+1)],trail:T+=g,config:h(y,n,"leave"),to:h(p,n)})),delete x[e]}));break;case"update":I.forEach((function(e){var t=l.indexOf(e),n=c[t];x[e]=o({},x[e],{item:n,slot:"update",trail:T+=g,config:h(y,n,"update"),to:h(b,n)})}))}}var R=l.map((function(e){return x[e]}));return E.forEach((function(e){var t,n=e.left,r=(e.right,a(e,["left","right"]));-1!==(t=R.findIndex((function(e){return e.originalKey===n})))&&(t+=1),t=Math.max(0,t),R=[].concat(R.slice(0,t),[r],R.slice(t))})),o({},i,{changed:D.length||M.length||I.length,first:n&&0===D.length,transitions:R,current:x,deleted:E,prevProps:t})}(_.current,r),_.current.changed&&_.current.transitions.forEach((function(e){var t=e.slot,n=e.from,r=e.to,a=e.config,i=e.trail,s=e.key,c=e.item;_.current.instances.has(s)||_.current.instances.set(s,new K);var u=_.current.instances.get(s),d=o({},y,{to:r,from:n,config:a,ref:v,onRest:function(n){_.current.mounted&&(e.destroyed&&(v||l||Y(_,s),p&&p(c)),!Array.from(_.current.instances).some((function(e){return!e[1].idle}))&&(v||l)&&_.current.deleted.length>0&&Y(_),m&&m(c,t,n))},onStart:g&&function(){return g(c,t)},onFrame:b&&function(e){return b(c,t,e)},delay:i,reset:f&&"enter"===t});u.update(d),_.current.paused||u.start()})),i.useEffect((function(){return _.current.mounted=j.current=!0,function(){_.current.mounted=j.current=!1,Array.from(_.current.instances).map((function(e){return e[1].destroy()})),_.current.instances.clear()}}),[]),_.current.transitions.map((function(e){var t=e.item,n=e.slot,r=e.key;return{item:t,key:r,state:n,props:_.current.instances.get(r).getValues()}}))},t.useChain=function(e,t,n){void 0===n&&(n=1e3);var r=i.useRef();i.useEffect((function(){u.equ(e,r.current)?e.forEach((function(e){var t=e.current;return t&&t.start()})):t?e.forEach((function(e,r){var a=e.current;if(a){var i=a.controllers;if(i.length){var s=n*t[r];i.forEach((function(e){e.queue=e.queue.map((function(e){return o({},e,{delay:e.delay+s})})),e.start()}))}}})):e.reduce((function(e,t,n){var r=t.current;return e.then((function(){return r.start()}))}),Promise.resolve()),r.current=e}))},t.useSprings=U},ZbWB:function(e,t,n){"use strict";var r=n("rZ7t")("RegExp.prototype.test"),o=n("hZ2/");e.exports=function(e){return o(r,e)}},Zss7:function(e,t,n){var r;!function(o){var a=/^\s+/,i=/\s+$/,s=0,c=o.round,l=o.min,u=o.max,d=o.random;function f(e,t){if(t=t||{},(e=e||"")instanceof f)return e;if(!(this instanceof f))return new f(e,t);var n=function(e){var t={r:0,g:0,b:0},n=1,r=null,s=null,c=null,d=!1,f=!1;"string"==typeof e&&(e=function(e){e=e.replace(a,"").replace(i,"").toLowerCase();var t,n=!1;if(D[e])e=D[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=W.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=W.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=W.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=W.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=W.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=W.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=W.hex8.exec(e))return{r:A(t[1]),g:A(t[2]),b:A(t[3]),a:z(t[4]),format:n?"name":"hex8"};if(t=W.hex6.exec(e))return{r:A(t[1]),g:A(t[2]),b:A(t[3]),format:n?"name":"hex"};if(t=W.hex4.exec(e))return{r:A(t[1]+""+t[1]),g:A(t[2]+""+t[2]),b:A(t[3]+""+t[3]),a:z(t[4]+""+t[4]),format:n?"name":"hex8"};if(t=W.hex3.exec(e))return{r:A(t[1]+""+t[1]),g:A(t[2]+""+t[2]),b:A(t[3]+""+t[3]),format:n?"name":"hex"};return!1}(e));"object"==typeof e&&(K(e.r)&&K(e.g)&&K(e.b)?(p=e.r,h=e.g,b=e.b,t={r:255*T(p,255),g:255*T(h,255),b:255*T(b,255)},d=!0,f="%"===String(e.r).substr(-1)?"prgb":"rgb"):K(e.h)&&K(e.s)&&K(e.v)?(r=L(e.s),s=L(e.v),t=function(e,t,n){e=6*T(e,360),t=T(t,100),n=T(n,100);var r=o.floor(e),a=e-r,i=n*(1-t),s=n*(1-a*t),c=n*(1-(1-a)*t),l=r%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]}}(e.h,r,s),d=!0,f="hsv"):K(e.h)&&K(e.s)&&K(e.l)&&(r=L(e.s),c=L(e.l),t=function(e,t,n){var r,o,a;function i(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}if(e=T(e,360),t=T(t,100),n=T(n,100),0===t)r=o=a=n;else{var s=n<.5?n*(1+t):n+t-n*t,c=2*n-s;r=i(c,s,e+1/3),o=i(c,s,e),a=i(c,s,e-1/3)}return{r:255*r,g:255*o,b:255*a}}(e.h,r,c),d=!0,f="hsl"),e.hasOwnProperty("a")&&(n=e.a));var p,h,b;return n=I(n),{ok:d,format:e.format||f,r:l(255,u(t.r,0)),g:l(255,u(t.g,0)),b:l(255,u(t.b,0)),a:n}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=c(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=c(this._r)),this._g<1&&(this._g=c(this._g)),this._b<1&&(this._b=c(this._b)),this._ok=n.ok,this._tc_id=s++}function p(e,t,n){e=T(e,255),t=T(t,255),n=T(n,255);var r,o,a=u(e,t,n),i=l(e,t,n),s=(a+i)/2;if(a==i)r=o=0;else{var c=a-i;switch(o=s>.5?c/(2-a-i):c/(a+i),a){case e:r=(t-n)/c+(t<n?6:0);break;case t:r=(n-e)/c+2;break;case n:r=(e-t)/c+4}r/=6}return{h:r,s:o,l:s}}function h(e,t,n){e=T(e,255),t=T(t,255),n=T(n,255);var r,o,a=u(e,t,n),i=l(e,t,n),s=a,c=a-i;if(o=0===a?0:c/a,a==i)r=0;else{switch(a){case e:r=(t-n)/c+(t<n?6:0);break;case t:r=(n-e)/c+2;break;case n:r=(e-t)/c+4}r/=6}return{h:r,s:o,v:s}}function b(e,t,n,r){var o=[N(c(e).toString(16)),N(c(t).toString(16)),N(c(n).toString(16))];return r&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function m(e,t,n,r){return[N(F(r)),N(c(e).toString(16)),N(c(t).toString(16)),N(c(n).toString(16))].join("")}function g(e,t){t=0===t?0:t||10;var n=f(e).toHsl();return n.s-=t/100,n.s=R(n.s),f(n)}function v(e,t){t=0===t?0:t||10;var n=f(e).toHsl();return n.s+=t/100,n.s=R(n.s),f(n)}function y(e){return f(e).desaturate(100)}function O(e,t){t=0===t?0:t||10;var n=f(e).toHsl();return n.l+=t/100,n.l=R(n.l),f(n)}function j(e,t){t=0===t?0:t||10;var n=f(e).toRgb();return n.r=u(0,l(255,n.r-c(-t/100*255))),n.g=u(0,l(255,n.g-c(-t/100*255))),n.b=u(0,l(255,n.b-c(-t/100*255))),f(n)}function _(e,t){t=0===t?0:t||10;var n=f(e).toHsl();return n.l-=t/100,n.l=R(n.l),f(n)}function w(e,t){var n=f(e).toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,f(n)}function k(e){var t=f(e).toHsl();return t.h=(t.h+180)%360,f(t)}function x(e){var t=f(e).toHsl(),n=t.h;return[f(e),f({h:(n+120)%360,s:t.s,l:t.l}),f({h:(n+240)%360,s:t.s,l:t.l})]}function E(e){var t=f(e).toHsl(),n=t.h;return[f(e),f({h:(n+90)%360,s:t.s,l:t.l}),f({h:(n+180)%360,s:t.s,l:t.l}),f({h:(n+270)%360,s:t.s,l:t.l})]}function S(e){var t=f(e).toHsl(),n=t.h;return[f(e),f({h:(n+72)%360,s:t.s,l:t.l}),f({h:(n+216)%360,s:t.s,l:t.l})]}function C(e,t,n){t=t||6,n=n||30;var r=f(e).toHsl(),o=360/n,a=[f(e)];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,a.push(f(r));return a}function P(e,t){t=t||6;for(var n=f(e).toHsv(),r=n.h,o=n.s,a=n.v,i=[],s=1/t;t--;)i.push(f({h:r,s:o,v:a})),a=(a+s)%1;return i}f.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r=this.toRgb();return e=r.r/255,t=r.g/255,n=r.b/255,.2126*(e<=.03928?e/12.92:o.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:o.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:o.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=I(e),this._roundA=c(100*this._a)/100,this},toHsv:function(){var e=h(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=h(this._r,this._g,this._b),t=c(360*e.h),n=c(100*e.s),r=c(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=p(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=p(this._r,this._g,this._b),t=c(360*e.h),n=c(100*e.s),r=c(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return b(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,r,o){var a=[N(c(e).toString(16)),N(c(t).toString(16)),N(c(n).toString(16)),N(F(r))];if(o&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)&&a[3].charAt(0)==a[3].charAt(1))return a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0);return a.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:c(this._r),g:c(this._g),b:c(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+c(this._r)+", "+c(this._g)+", "+c(this._b)+")":"rgba("+c(this._r)+", "+c(this._g)+", "+c(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:c(100*T(this._r,255))+"%",g:c(100*T(this._g,255))+"%",b:c(100*T(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+c(100*T(this._r,255))+"%, "+c(100*T(this._g,255))+"%, "+c(100*T(this._b,255))+"%)":"rgba("+c(100*T(this._r,255))+"%, "+c(100*T(this._g,255))+"%, "+c(100*T(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(M[b(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+m(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var o=f(e);n="#"+m(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return f(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(O,arguments)},brighten:function(){return this._applyModification(j,arguments)},darken:function(){return this._applyModification(_,arguments)},desaturate:function(){return this._applyModification(g,arguments)},saturate:function(){return this._applyModification(v,arguments)},greyscale:function(){return this._applyModification(y,arguments)},spin:function(){return this._applyModification(w,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(C,arguments)},complement:function(){return this._applyCombination(k,arguments)},monochromatic:function(){return this._applyCombination(P,arguments)},splitcomplement:function(){return this._applyCombination(S,arguments)},triad:function(){return this._applyCombination(x,arguments)},tetrad:function(){return this._applyCombination(E,arguments)}},f.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:L(e[r]));e=n}return f(e,t)},f.equals=function(e,t){return!(!e||!t)&&f(e).toRgbString()==f(t).toRgbString()},f.random=function(){return f.fromRatio({r:d(),g:d(),b:d()})},f.mix=function(e,t,n){n=0===n?0:n||50;var r=f(e).toRgb(),o=f(t).toRgb(),a=n/100;return f({r:(o.r-r.r)*a+r.r,g:(o.g-r.g)*a+r.g,b:(o.b-r.b)*a+r.b,a:(o.a-r.a)*a+r.a})},f.readability=function(e,t){var n=f(e),r=f(t);return(o.max(n.getLuminance(),r.getLuminance())+.05)/(o.min(n.getLuminance(),r.getLuminance())+.05)},f.isReadable=function(e,t,n){var r,o,a=f.readability(e,t);switch(o=!1,(r=function(e){var t,n;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==n&&"large"!==n&&(n="small");return{level:t,size:n}}(n)).level+r.size){case"AAsmall":case"AAAlarge":o=a>=4.5;break;case"AAlarge":o=a>=3;break;case"AAAsmall":o=a>=7}return o},f.mostReadable=function(e,t,n){var r,o,a,i,s=null,c=0;o=(n=n||{}).includeFallbackColors,a=n.level,i=n.size;for(var l=0;l<t.length;l++)(r=f.readability(e,t[l]))>c&&(c=r,s=f(t[l]));return f.isReadable(e,s,{level:a,size:i})||!o?s:(n.includeFallbackColors=!1,f.mostReadable(e,["#fff","#000"],n))};var D=f.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},M=f.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(D);function I(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function T(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=l(t,u(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),o.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function R(e){return l(1,u(0,e))}function A(e){return parseInt(e,16)}function N(e){return 1==e.length?"0"+e:""+e}function L(e){return e<=1&&(e=100*e+"%"),e}function F(e){return o.round(255*parseFloat(e)).toString(16)}function z(e){return A(e)/255}var B,H,V,W=(H="[\\s|\\(]+("+(B="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+B+")[,|\\s]+("+B+")\\s*\\)?",V="[\\s|\\(]+("+B+")[,|\\s]+("+B+")[,|\\s]+("+B+")[,|\\s]+("+B+")\\s*\\)?",{CSS_UNIT:new RegExp(B),rgb:new RegExp("rgb"+H),rgba:new RegExp("rgba"+V),hsl:new RegExp("hsl"+H),hsla:new RegExp("hsla"+V),hsv:new RegExp("hsv"+H),hsva:new RegExp("hsva"+V),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function K(e){return!!W.CSS_UNIT.exec(e)}e.exports?e.exports=f:void 0===(r=function(){return f}.call(t,n,t,e))||(e.exports=r)}(Math)},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({children:t,as:n,...s},c){const l=Object(o.useContext)(i.a);if("function"!=typeof t&&!n)return void 0!==e&&e.env,null;const u={...s,ref:c,"data-toolbar-item":!0};return l?Object(o.createElement)(a.a,Object(r.a)({},l,u,{as:n}),t):n?Object(o.createElement)(n,u,t):t(u)}))}).call(this,n("8oxB"))},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),s=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)))},c=Math.max(0,t.length-i.length),l=[],u=0;u<c;u++)l.push("$"+u);if(n=Function("binder","return function ("+l.join(",")+"){ return binder.apply(this,arguments); }")(s),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}},aenO:function(e,t,n){"use strict";var r=n("rZ7t")("%TypeError%"),o=n("i10q"),a=n("V1cy");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}},agUq:function(e,t,n){"use strict";e.exports=n("Asd8")},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}},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 _})),n.d(t,"c",(function(){return w})),n.d(t,"b",(function(){return k})),n.d(t,"d",(function(){return x}));var r=n("wx14"),o=n("GRId"),a=n("YLtl");var i=Object(o.createContext)({registerSlot:()=>{},unregisterSlot:()=>{},registerFill:()=>{},unregisterFill:()=>{},getSlot:()=>{},getFills:()=>{},subscribe:()=>{}});var s=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 c({name:e,children:t,registerFill:n,unregisterFill:r}){const i=s(e),c=Object(o.useRef)({name:e,children:t});return Object(o.useLayoutEffect)(()=>(n(e,c.current),()=>r(e,c.current)),[]),Object(o.useLayoutEffect)(()=>{c.current.children=t,i&&i.forceUpdate()},[t]),Object(o.useLayoutEffect)(()=>{e!==c.current.name&&(r(c.current.name,c.current),c.current.name=e,n(e,c.current))},[e]),i&&i.node?(Object(a.isFunction)(t)&&(t=t(i.props.fillProps)),Object(o.createPortal)(t,i.node)):null}var l=e=>Object(o.createElement)(i.Consumer,null,({registerFill:t,unregisterFill:n})=>Object(o.createElement)(c,Object(r.a)({},e,{registerFill:t,unregisterFill:n})));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,({registerSlot:t,unregisterSlot:n,getFills:a})=>Object(o.createElement)(u,Object(r.a)({},e,{registerSlot:t,unregisterSlot:n,getFills:a}))),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 h({name:e,children:t}){const n=Object(f.a)(e),r=Object(o.useRef)({rerender:p()});return Object(o.useEffect)(()=>(n.registerFill(r),()=>{n.unregisterFill(r)}),[n.registerFill,n.unregisterFill]),n.ref&&n.ref.current?("function"==typeof t&&(t=t(n.fillProps)),Object(o.createPortal)(t,n.ref.current)):null}var b=n("K9lf"),m=n("JYkG");var g=Object(o.forwardRef)((function({name:e,fillProps:t={},as:n="div",...a},i){const s=Object(o.useContext)(m.a),c=Object(o.useRef)();return Object(o.useLayoutEffect)(()=>(s.registerSlot(e,c,t),()=>{s.unregisterSlot(e,c)}),[s.registerSlot,s.unregisterSlot,e]),Object(o.useLayoutEffect)(()=>{s.updateSlot(e,t)}),Object(o.createElement)(n,Object(r.a)({ref:Object(b.useMergeRefs)([i,c])},a))})),v=n("rl8x"),y=n.n(v);function O({children:e}){const t=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})},[]),s=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]),c=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:s,unregisterSlot:i,registerFill:c,unregisterFill:l}),[e,n,a,s,i,c,l])}();return Object(o.createElement)(m.a.Provider,{value:t},e)}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 _(e){return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(l,e),Object(o.createElement)(h,e))}const w=Object(o.forwardRef)(({bubblesVirtually:e,...t},n)=>e?Object(o.createElement)(g,Object(r.a)({},t,{ref:n})):Object(o.createElement)(d,t));function k({children:e,...t}){return Object(o.createElement)(j,t,Object(o.createElement)(O,null,e))}function x(e){const t=t=>Object(o.createElement)(_,Object(r.a)({name:e},t));t.displayName=e+"Fill";const n=t=>Object(o.createElement)(w,Object(r.a)({name:e},t));return n.displayName=e+"Slot",n.__unstableName=e,{Fill:t,Slot:n}}},ddK1:function(e,t,n){"use strict";var r=n("Wfh+"),o=n("xCFm");e.exports=function(e){var t=o(e);return 0!==t&&(t=r(t)),0===t?0:t}},eBsn:function(e,t,n){"use strict";var r=n("oNNP"),o=n("rZ7t")("%TypeError%"),a=n("V1cy"),i=n("kvlw"),s=n("agUq");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&&!s(n))throw new o("getter must be a function");t["[[Get]]"]=n}if(r(e,"set")){var c=e.set;if(void 0!==c&&!s(c))throw new o("setter must be a function");t["[[Set]]"]=c}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}},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}},eOFJ:function(e,t,n){"use strict";var r=n("rZ7t")("%TypeError%"),o=n("Qmvf"),a=n("wTIp"),i=n("zYbv"),s=n("z3X9"),c=n("CGNl"),l=n("i10q"),u=n("HI8u"),d=n("eBsn"),f=n("V1cy");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:c,IsAccessorDescriptor:s},n)?n:d(n);if(!o({Type:f,IsDataDescriptor:c,IsAccessorDescriptor:s},p))throw new r("Assertion failed: Desc is not a valid Property Descriptor");return a(c,u,i,e,t,p)}},eUCI:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("cDcd"),o=Object(r.createContext)({})},fW1L:function(e,t,n){"use strict";var r=n("rZ7t"),o=n("EXo9"),a=r("%TypeError%"),i=n("9cOx"),s=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 s(e,t,n)}},g56x:function(e,t){e.exports=window.wp.hooks},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(),s=n===o,c=r===i;return s&&c?e.date()<t.date():s?r<i:n<o};var r,o=n("wy2R"),a=(r=o)&&r.__esModule?r:{default:r}},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+"),s=n("Ptb8");function c(e){var t;if(!Object(s.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=[]),!c(e.state))return l(e,t);var n=l(e,[].concat(t,["state"])),r=n[0],o=n[1],a=r.state,s=Object(i.a)(r,["state"]);return[Object(i.b)(Object(i.b)({},a),s),o]}var d=n("uqqE");function f(e){return"normalizePropsAreEqualInner"===e.name?e:function(t,n){return c(t.state)&&c(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,s=e.memo,c=e.propsAreEqual,l=void 0===c?null==i?void 0:i.unstable_propsAreEqual:c,p=e.keys,h=void 0===p?(null==i?void 0:i.__keys)||[]:p,b=e.useCreateElement,m=void 0===b?a.a:b,g=function(e,t){var r=e.as,a=void 0===r?n:r,s=Object(o.b)(e,["as"]);if(i){var c,l=u(s,h),d=l[0],f=l[1],p=i(d,Object(o.a)({ref:t},f)),b=p.wrapElement,g=Object(o.b)(p,["wrapElement"]),v=(null===(c=a.render)||void 0===c?void 0:c.__keys)||a.__keys,y=v&&u(s,v)[0],O=y?Object(o.a)(Object(o.a)({},g),y):g,j=m(a,O);return b?b(j):j}return m(a,Object(o.a)({ref:t},s))};return t=g,g=Object(r.forwardRef)(t),s&&(g=function(e,t){return Object(r.memo)(e,t)}(g,l&&f(l))),g.__keys=h,g.unstable_propsAreEqual=f(l||d.a),g}},"hZ2/":function(e,t,n){"use strict";var r=n("D3zA"),o=n("rZ7t"),a=o("%Function.prototype.apply%"),i=o("%Function.prototype.call%"),s=o("%Reflect.apply%",!0)||r.call(i,a),c=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=s(r,i,arguments);if(c&&l){var n=c(t,"length");n.configurable&&l(t,"length",{value:1+u(0,e.length-(arguments.length-1))})}return t};var d=function(){return s(r,a,arguments)};l?l(e.exports,"apply",{value:d}):e.exports.apply=d},i10q:function(e,t,n){"use strict";e.exports=function(e){return"string"==typeof e||"symbol"==typeof e}},"iB/h":function(e,t,n){"use strict";(function(e){var r=n("GRId"),o=n("YLtl"),a=n("TSYQ"),i=n.n(a),s=n("gdqT"),c=n("l3Sj"),l=(n("Z23Y"),n("kA6J"));t.a=Object(r.forwardRef)((function({className:t,children:n,spokenMessage:a=n,politeness:u="polite",actions:d=[],onRemove:f=o.noop,icon:p=null,explicitDismiss:h=!1,onDismiss:b=o.noop},m){function g(e){e&&e.preventDefault&&e.preventDefault(),b(),f()}b=b||o.noop,function(e,t){const n="string"==typeof e?e:Object(r.renderToString)(e);Object(r.useEffect)(()=>{n&&Object(s.speak)(n,t)},[n,t])}(a,u),Object(r.useEffect)(()=>{const e=setTimeout(()=>{h||(b(),f())},1e4);return()=>clearTimeout(e)},[b,f]);const v=i()(t,"components-snackbar",{"components-snackbar-explicit-dismiss":!!h});d&&d.length>1&&(void 0!==e&&e.env,d=[d[0]]);const y=i()("components-snackbar__content",{"components-snackbar__content-with-icon":!!p});return Object(r.createElement)("div",{ref:m,className:v,onClick:h?o.noop:g,tabIndex:"0",role:h?"":"button",onKeyPress:h?o.noop:g,"aria-label":h?"":Object(c.__)("Dismiss this notice")},Object(r.createElement)("div",{className:y},p&&Object(r.createElement)("div",{className:"components-snackbar__icon"},p),n,d.map(({label:e,onClick:t,url:n},o)=>Object(r.createElement)(l.a,{key:o,href:n,isTertiary:!0,onClick:e=>function(e,t){e.stopPropagation(),f(),t&&t(e)}(e,t),className:"components-snackbar__action"},e)),h&&Object(r.createElement)("span",{role:"button","aria-label":"Dismiss this notice",tabIndex:"0",className:"components-snackbar__dismiss-button",onClick:g,onKeyPress:g},"✕")))}))}).call(this,n("8oxB"))},iClF:function(e,t,n){"use strict";var r=n("GRId");t.a=function({icon:e,size:t=24,...n}){return Object(r.cloneElement)(e,{width:t,height:t,...n})}},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,s,c,l,u,d,f){var p=c[l],h=typeof p,b=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!==b)return b;if(t&&!t(p))return new Error(n.invalidTypeCore+": `"+l+"` of type `"+h+"` supplied to `"+u+"`, expected `"+e+"`.");if(!a(p))return new Error(n.baseInvalidMessage+d+" `"+l+"` of type `"+h+"` supplied to `"+u+"`, expected `"+i+"`.");if(s&&!s(p)){var m=s.name||n.anonymousMessage;return new Error(n.baseInvalidMessage+d+" `"+l+"` of type `"+h+"` supplied to `"+u+"`. "+n.predicateFailureCore+" `"+m+"`.")}return null}))},messages:n}},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,s=e.offsetWidth,c=e.offsetHeight,l="width"===t?s:c;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}},iz0l:function(e,t,n){"use strict";var r=n("rZ7t")("%TypeError%"),o=n("yyeE"),a=n("fW1L"),i=n("WvKp"),s=n("3aeR"),c=n("aenO"),l=n("9cOx"),u=n("y9oe"),d=n("Hx/O");e.exports=function e(t,n,f,p,h){var b;arguments.length>5&&(b=arguments[5]);for(var m=p,g=0;g<f;){var v=d(g),y=c(n,v);if(!0===y){var O=s(n,v);if(void 0!==b){if(arguments.length<=6)throw new r("Assertion failed: thisArg is required when mapperFunction is provided");O=a(b,arguments[6],[O,g,n])}var j=!1;if(h>0&&(j=l(O)),j){var _=u(O);m=e(t,O,_,m,h-1)}else{if(m>=o)throw new r("index too large");i(t,d(m),O),m+=1}}g+=1}return m}},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 s(e){return a(e,!0)}function c(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+=s(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 h(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 b=["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 g(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 s=void 0;s="border"===o?o+n[i]+"Width":o+n[i],r+=parseFloat(f(e,s))||0}return r}function v(e){return null!=e&&e==e.window}var y={};function O(e,t,n){if(v(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),h(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 s=void 0!==o||a,c=o||i;if(-1===n)return s?c-g(e,["border","padding"],r):i;if(s){var l=2===n?-g(e,["border"],r):g(e,["margin"],r);return c+(1===n?0:l)}return i+g(e,b.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 _(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 w(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)&&w(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&&_(t,e,n?0:1)};var n="width"===e?["Left","Right"]:["Top","Bottom"];y[e]=function(t,r){if(void 0===r)return t&&_(t,e,-1);if(t){f(t);return h(t)&&(r+=g(t,["padding","border"],n)),w(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 c(e);!function(e,t){"static"===w(e,"position")&&(e.style.position="relative");var n=c(e),r={},o=void 0,a=void 0;for(a in t)t.hasOwnProperty(a)&&(o=parseFloat(w(e,a))||0,r[a]=o+t[a]-n[a]);w(e,r)}(e,t)},isWindow:v,each:p,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(v(e)){if(void 0===t)return i(e);window.scrollTo(t,s(e))}else{if(void 0===t)return e.scrollLeft;e.scrollLeft=t}},scrollTop:function(e,t){if(v(e)){if(void 0===t)return s(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 s}));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 s(){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),s=n("YLtl"),c=n("NMb1"),l=n.n(c),u=n("W/NR"),d=n("9VDH"),f=n("ldlY");const p=["onMouseDown","onClick"];t.a=Object(o.forwardRef)((function(e,t){const{href:n,target:a,isPrimary:c,isSmall:h,isTertiary:b,isPressed:m,isBusy:g,isDefault:v,isSecondary:y,isLink:O,isDestructive:j,className:_,disabled:w,icon:k,iconPosition:x="left",iconSize:E,showTooltip:S,tooltipPosition:C,shortcut:P,label:D,children:M,text:I,__experimentalIsFocusable:T,describedBy:R,...A}=e;v&&l()("Button isDefault prop",{since:"5.4",alternative:"isSecondary"});const N=i()("components-button",_,{"is-secondary":v||y,"is-primary":c,"is-small":h,"is-tertiary":b,"is-pressed":m,"is-busy":g,"is-link":O,"is-destructive":j,"has-text":!!k&&!!M,"has-icon":!!k}),L=w&&!T,F=void 0===n||L?"button":"a",z="a"===F?{href:n,target:a}:{type:"button",disabled:L,"aria-pressed":m};if(w&&T){z["aria-disabled"]=!0;for(const e of p)A[e]=e=>{e.stopPropagation(),e.preventDefault()}}const B=!L&&(S&&D||P||!!D&&(!M||Object(s.isArray)(M)&&!M.length)&&!1!==S),H=R?Object(s.uniqueId)():null,V=A["aria-describedby"]||H,W=Object(o.createElement)(F,Object(r.a)({},z,A,{className:N,"aria-label":A["aria-label"]||D,"aria-describedby":V,ref:t}),k&&"left"===x&&Object(o.createElement)(d.a,{icon:k,size:E}),I&&Object(o.createElement)(o.Fragment,null,I),k&&"right"===x&&Object(o.createElement)(d.a,{icon:k,size:E}),M);return B?Object(o.createElement)(o.Fragment,null,Object(o.createElement)(u.a,{text:R||D,shortcut:P,position:C},W),R&&Object(o.createElement)(f.a,null,Object(o.createElement)("span",{id:H},R))):Object(o.createElement)(o.Fragment,null,W,R&&Object(o.createElement)(f.a,null,Object(o.createElement)("span",{id:H},R)))}))},kDDq:function(e,t,n){"use strict";n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return u}));var r=n("TqVZ"),o=n("MiSq"),a=n("SIPS");function i(e,t){if(void 0===e.inserted[t.name])return e.insert("",t,e.sheet,!0)}function s(e,t,n){var r=[],o=Object(a.a)(e,r,n);return r.length<2?n:o+t(r)}var c=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},l=function(e){var t=Object(r.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 i=Object(o.a)(n,t.registered,void 0);return Object(a.b)(t,i,!1),t.key+"-"+i.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,c(r))},injectGlobal:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var a=Object(o.a)(n,t.registered);i(t,a)},keyframes:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var a=Object(o.a)(n,t.registered),s="animation-"+a.name;return i(t,{name:a.name,styles:"@keyframes "+s+"{"+a.styles+"}"}),s},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:a.a.bind(null,t.registered),merge:s.bind(null,t.registered,n)}}(),u=(l.flush,l.hydrate,l.cx),d=(l.merge,l.getRegisteredStyles,l.injectGlobal,l.keyframes,l.css);l.sheet,l.cache},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 w})),n.d(t,"b",(function(){return _}));var r=n("BZp5"),o=n("hE48"),a=n("qdes"),i=n("cDcd"),s=n("aU41"),c=(n("KA1K"),n("eNtd")),l=n("k2cL"),u=n("PcHe"),d=n("Vq1w"),f=n("JLmN"),p=n("ouKs"),h=n("iYXd"),b=n("TFuP"),m=n("Mih7"),g=n("4po3"),v=n("AClM"),y=n("ym77"),O=n("0HL0");function j(e){return e.querySelector("[data-composite-item-widget]")}var _=Object(a.a)({name:"CompositeItem",compose:[f.a,y.a],keys:b.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,s=t.unstable_moves,c=Object(r.a)(t,["currentId","unstable_moves"]);if(i!==n){if(t.id===i||t.id===n)return!1}else if(o!==s)return!1;return f.a.unstable_propsAreEqual(a,c)},useOptions:function(e){return Object(r.b)(Object(r.b)({},e),{},{id:e.id,currentId:Object(h.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,h=t.onMouseDown,b=t.onFocus,y=t.onBlurCapture,_=t.onKeyDown,w=t.onClick,k=Object(r.a)(t,["ref","tabIndex","onMouseDown","onFocus","onBlurCapture","onKeyDown","onClick"]),x=Object(i.useRef)(null),E=e.id,S=e.disabled&&!e.focusable,C=e.currentId===E,P=Object(c.a)(C),D=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),I=Object(c.a)(h),T=Object(c.a)(b),R=Object(c.a)(y),A=Object(c.a)(_),N=Object(c.a)(w),L=!e.unstable_virtual&&!e.unstable_hasActiveWidget&&C||!(null!==(n=e.items)&&void 0!==n&&n.length);Object(i.useEffect)((function(){var t;if(E)return null===(t=e.registerItem)||void 0===t||t.call(e,{id:E,ref:x,disabled:!!S}),function(){var t;null===(t=e.unregisterItem)||void 0===t||t.call(e,E)}}),[E,S,e.registerItem,e.unregisterItem]),Object(i.useEffect)((function(){var t=x.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=I.current)||void 0===t||t.call(I,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=T.current)||void 0===n||n.call(T,t),!t.defaultPrevented&&!Object(d.a)(t)&&E&&!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,E),a&&e.unstable_virtual&&e.baseId&&Object(l.a)(t))){var i=t.target,s=Object(p.a)(i).getElementById(e.baseId);s&&(D.current=!0,Object(v.a)(s))}}),[E,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&&D.current&&(D.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 s=j(t.currentTarget);s&&Object(g.a)(s)&&(s.focus(),Object(O.a)(s,""))}else if("Delete"===t.key||"Backspace"===t.key){var c=j(t.currentTarget);c&&Object(g.a)(c)&&(t.preventDefault(),Object(O.a)(c,""))}}}),[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(s.a)(x,o),id:E,tabIndex:L?f:-1,"aria-selected":!(!e.unstable_virtual||!C)||void 0,onMouseDown:F,onFocus:z,onBlurCapture:B,onKeyDown:H,onClick:V},k)}}),w=Object(o.a)({as:"button",memo:!0,useHook:_})},kgBv:function(e,t,n){"use strict";var r=n("rZ7t"),o=n("knm9"),a=r("%TypeError%"),i=n("EXo9")("Object.prototype.propertyIsEnumerable"),s=n("oNNP"),c=n("9cOx"),l=n("i10q"),u=n("yy3d"),d=n("eBsn"),f=n("V1cy");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(s(e,t)){if(!o){var n=c(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))}}},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("rZ7t")("%Object.getOwnPropertyDescriptor%");if(r)try{r([],"length")}catch(e){r=null}e.exports=r},kqkJ: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 a}));n("Nym8");var o="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 r(e,o)&&function(e){var t=e;return t.offsetWidth>0||t.offsetHeight>0||e.getClientRects().length>0}(e)}},kuGu:function(e,t,n){"use strict";var r=n("Jt44")("%Reflect.construct%",!0),o=n("eOFJ");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}},kvlw:function(e,t,n){"use strict";e.exports=function(e){return!!e}},l3Sj:function(e,t){e.exports=window.wp.i18n},lSNA:function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.default=e.exports,e.exports.__esModule=!0},laOf:function(e,t,n){"use strict";var r=n("rZ7t")("%TypeError%");e.exports=function(e,t){if(null==e)throw new r(t||"Cannot call method on "+e);return e}},ldlY:function(e,t,n){"use strict";var r=n("TSYQ"),o=n.n(r),a=n("GRId");var i=n("9NHk");const s=e=>e;var c;t.a=(c=Object(a.forwardRef)((function({as:e="div",className:t,...n},r){return function({as:e="div",...t}){return"function"==typeof t.children?t.children(t):Object(a.createElement)(e,t)}({as:e,className:o()("components-visually-hidden",t),...n,ref:r})})),Object(i.a)(c,void 0,"WPComponentsVisuallyHidden",s))},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=x(n("Koq/")),i=x(n("cDcd")),s=x(n("17x9")),c=x(n("YZDV")),l=x(n("XGBb")),u=n("Hsqg"),d=n("TG4+"),f=x(n("wy2R")),p=n("vV+G"),h=x(n("yc2e")),b=x(n("2Q00")),m=x(n("N3k4")),g=x(n("ixyq")),v=x(n("F7ZS")),y=x(n("pRvc")),O=x(n("pYxT")),j=x(n("J7JS")),_=x(n("aE6U")),w=x(n("2S2E")),k=n("Fv1B");function x(e){return e&&e.__esModule?e:{default:e}}var E=(0,u.forbidExtraProps)((0,a.default)({},d.withStylesPropTypes,{month:l.default.momentObj,horizontalMonthPadding:u.nonNegativeInteger,isVisible:s.default.bool,enableOutsideDays:s.default.bool,modifiers:s.default.objectOf(j.default),orientation:_.default,daySize:u.nonNegativeInteger,onDayClick:s.default.func,onDayMouseEnter:s.default.func,onDayMouseLeave:s.default.func,onMonthSelect:s.default.func,onYearSelect:s.default.func,renderMonthText:(0,u.mutuallyExclusiveProps)(s.default.func,"renderMonthText","renderMonthElement"),renderCalendarDay:s.default.func,renderDayContents:s.default.func,renderMonthElement:(0,u.mutuallyExclusiveProps)(s.default.func,"renderMonthText","renderMonthElement"),firstDayOfWeek:w.default,setMonthTitleHeight:s.default.func,verticalBorderSpacing:u.nonNegativeInteger,focusedDate:l.default.momentObj,isFocused:s.default.bool,monthFormat:s.default.string,phrases:s.default.shape((0,h.default)(p.CalendarDayPhrases)),dayAriaLabelFormat:s.default.string})),S={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 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,v.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,s=o.firstDayOfWeek;t.isSame(a)&&n===i&&r===s||this.setState({weeks:(0,v.default)(t,n,null==r?f.default.localeData().firstDayOfWeek():r)})}},{key:"shouldComponentUpdate",value:function(e,t){return(0,c.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,a=e.horizontalMonthPadding,s=e.isFocused,c=e.isVisible,l=e.modifiers,u=e.month,f=e.monthFormat,p=e.onDayClick,h=e.onDayMouseEnter,m=e.onDayMouseLeave,g=e.onMonthSelect,v=e.onYearSelect,j=e.orientation,_=e.phrases,w=e.renderCalendarDay,x=e.renderDayContents,E=e.renderMonthElement,S=e.renderMonthText,C=e.styles,P=e.verticalBorderSpacing,D=this.state.weeks,M=S?S(u):u.format(f),I=j===k.VERTICAL_SCROLLABLE;return i.default.createElement("div",r({},(0,d.css)(C.CalendarMonth,{padding:"0 "+String(a)+"px"}),{"data-visible":c}),i.default.createElement("div",r({ref:this.setCaptionRef},(0,d.css)(C.CalendarMonth_caption,I&&C.CalendarMonth_caption__verticalScrollable)),E?E({month:u,onMonthSelect:g,onYearSelect:v}):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,D.map((function(e,r){return i.default.createElement(b.default,{key:r},e.map((function(e,r){return w({key:r,day:e,daySize:n,isOutsideDay:!e||e.month()!==u.month(),tabIndex:c&&(0,y.default)(e,o)?0:-1,isFocused:s,onDayMouseEnter:h,onDayMouseLeave:m,onDayClick:p,renderDayContents:x,phrases:_,modifiers:l[(0,O.default)(e)],ariaLabelFormat:t})})))})))))}}]),t}(i.default.Component);C.propTypes=E,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)},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(),s=function(e,t){return i.apply(e,[t])};r(s,{getPolyfill:a,implementation:o,shim:n("Gn0q")}),e.exports=s},nKkb:function(e,t,n){"use strict";var r=n("rZ7t")("%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)}},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),s=n("1CF3"),c=n("RxS6"),l=n("NMb1"),u=n.n(l),d=n("K9lf"),f=n("w95h"),p=n("l3Sj");function h(e,t,n="top",r,o,a,i,s){const[c,l="center",u]=n.split(" "),d=function(e,t,n,r,o,a,i,s){const{height:c}=t;if(o){const t=o.getBoundingClientRect().top+c-i;if(e.top<=t)return{yAxis:n,popoverTop:Math.min(e.bottom,t)}}let l=e.top+e.height/2;"bottom"===r?l=e.bottom:"top"===r&&(l=e.top);const u={popoverTop:l,contentHeight:(l-c/2>0?c/2:l)+(l+c/2>window.innerHeight?window.innerHeight-l:c/2)},d={popoverTop:e.top,contentHeight:e.top-10-c>0?c:e.top-10},f={popoverTop:e.bottom,contentHeight:e.bottom+10+c>window.innerHeight?window.innerHeight-10-e.bottom:c};let p,h=n,b=null;if(!o&&!s)if("middle"===n&&u.contentHeight===c)h="middle";else if("top"===n&&d.contentHeight===c)h="top";else if("bottom"===n&&f.contentHeight===c)h="bottom";else{h=d.contentHeight>f.contentHeight?"top":"bottom";const e="top"===h?d.contentHeight:f.contentHeight;b=e!==c?e:null}return p="middle"===h?u.popoverTop:"top"===h?d.popoverTop:f.popoverTop,{yAxis:h,popoverTop:p,contentHeight:b}}(e,t,c,u,r,0,a,s);return{...function(e,t,n,r,o,a,i,s){const{width:c}=t;"left"===n&&Object(p.isRTL)()?n="right":"right"===n&&Object(p.isRTL)()&&(n="left"),"left"===r&&Object(p.isRTL)()?r="right":"right"===r&&Object(p.isRTL)()&&(r="left");const l=Math.round(e.left+e.width/2),u={popoverLeft:l,contentWidth:(l-c/2>0?c/2:l)+(l+c/2>window.innerWidth?window.innerWidth-l:c/2)};let d=e.left;"right"===r?d=e.right:"middle"!==a&&(d=l);let f=e.right;"left"===r?f=e.left:"middle"!==a&&(f=l);const h={popoverLeft:d,contentWidth:d-c>0?c:d},b={popoverLeft:f,contentWidth:f+c>window.innerWidth?window.innerWidth-f:c};let m,g=n,v=null;if(!o&&!s)if("center"===n&&u.contentWidth===c)g="center";else if("left"===n&&h.contentWidth===c)g="left";else if("right"===n&&b.contentWidth===c)g="right";else{g=h.contentWidth>b.contentWidth?"left":"right";const e="left"===g?h.contentWidth:b.contentWidth;c>window.innerWidth&&(v=window.innerWidth),e!==c&&(g="center",u.popoverLeft=window.innerWidth/2)}if(m="center"===g?u.popoverLeft:"left"===g?h.popoverLeft:b.popoverLeft,i){const e=i.getBoundingClientRect();m=Math.min(m,e.right-c),Object(p.isRTL)()||(m=Math.max(m,0))}return{xAxis:g,popoverLeft:m,contentWidth:v}}(e,t,l,u,r,d.yAxis,i,s),...d}}function b(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 m=n("kA6J"),g=n("k8OV"),v=n("+WFq"),y=n("dSD1"),O=n("L8Kx");function j(e,t){const{paddingTop:n,paddingBottom:r,paddingLeft:o,paddingRight:a}=(i=t).ownerDocument.defaultView.getComputedStyle(i);var i;const s=n?parseInt(n,10):0,c=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+s,width:e.width-l-u,height:e.height-s-c,left:e.left+l,right:e.right-u,top:e.top+s,bottom:e.bottom-c}}function _(e,t,n){n?e.getAttribute(t)!==n&&e.setAttribute(t,n):e.hasAttribute(t)&&e.removeAttribute(t)}function w(e,t,n=""){e.style[t]!==n&&(e.style[t]=n)}function k(e,t,n){n?e.classList.contains(t)||e.classList.add(t):e.classList.contains(t)&&e.classList.remove(t)}const x=Object(o.forwardRef)(({headerTitle:e,onClose:t,children:n,className:a,noArrow:l=!0,isAlternate:p,position:x="bottom right",range:E,focusOnMount:S="firstElement",anchorRef:C,shouldAnchorIncludePadding:P,anchorRect:D,getAnchorRect:M,expandOnMobile:I,animate:T=!0,onClickOutside:R,onFocusOutside:A,__unstableStickyBoundaryElement:N,__unstableSlotName:L="Popover",__unstableObserveElement:F,__unstableBoundaryParent:z,__unstableForcePosition:B,...H},V)=>{const W=Object(o.useRef)(null),K=Object(o.useRef)(null),U=Object(o.useRef)(),G=Object(d.useViewportMatch)("medium","<"),[q,$]=Object(o.useState)(),Y=Object(v.a)(L),Z=I&&G,[X,J]=Object(d.useResizeObserver)();l=Z||l,Object(o.useLayoutEffect)(()=>{if(Z)return k(U.current,"is-without-arrow",l),k(U.current,"is-alternate",p),_(U.current,"data-x-axis"),_(U.current,"data-y-axis"),w(U.current,"top"),w(U.current,"left"),w(K.current,"maxHeight"),void w(K.current,"maxWidth");const e=()=>{if(!U.current||!K.current)return;let e=function(e,t,n,r=!1,o,a){if(t)return t;if(n){if(!e.current)return;const t=n(e.current);return b(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 b(Object(s.getRectangleFromRange)(r),r.endContainer.ownerDocument,a);if("function"==typeof(null==r?void 0:r.getBoundingClientRect)){const e=b(r.getBoundingClientRect(),r.ownerDocument,a);return o?e:j(e,r)}const{top:e,bottom:t}=r,n=e.getBoundingClientRect(),i=t.getBoundingClientRect(),c=b(new window.DOMRect(n.left,n.top,n.width,i.bottom-n.top),e.ownerDocument,a);return o?c:j(c,r)}if(!e.current)return;const{parentNode:i}=e.current,c=i.getBoundingClientRect();return o?c:j(c,i)}(W,D,M,C,P,U.current);if(!e)return;const{offsetParent:t,ownerDocument:n}=U.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)}var a;z&&(r=null===(a=U.current.closest(".popover-slot"))||void 0===a?void 0:a.parentNode);const i=J.height?J:K.current.getBoundingClientRect(),{popoverTop:c,popoverLeft:u,xAxis:d,yAxis:f,contentHeight:m,contentWidth:g}=h(e,i,x,N,U.current,o,r,B);"number"==typeof c&&"number"==typeof u&&(w(U.current,"top",c+"px"),w(U.current,"left",u+"px")),k(U.current,"is-without-arrow",l||"center"===d&&"middle"===f),k(U.current,"is-alternate",p),_(U.current,"data-x-axis",d),_(U.current,"data-y-axis",f),w(K.current,"maxHeight","number"==typeof m?m+"px":""),w(K.current,"maxWidth","number"==typeof g?g+"px":"");$(({left:"right",right:"left"}[d]||"center")+" "+({top:"bottom",bottom:"top"}[f]||"middle"))};e();const{ownerDocument:t}=U.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}(C);let c;return i&&i!==t&&(i.defaultView.addEventListener("resize",e),i.defaultView.addEventListener("scroll",e,!0)),F&&(c=new n.MutationObserver(e),c.observe(F,{attributes:!0})),()=>{n.clearInterval(r),n.removeEventListener("resize",e),n.removeEventListener("scroll",e,!0),n.removeEventListener("click",a),n.cancelAnimationFrame(o),i&&i!==t&&(i.defaultView.removeEventListener("resize",e),i.defaultView.removeEventListener("scroll",e,!0)),c&&c.disconnect()}},[Z,D,M,C,P,x,J,N,F,z]);const Q=Object(d.useRefEffect)(e=>{function n(e){e.keyCode===c.ESCAPE&&t&&(e.stopPropagation(),t())}return e.addEventListener("keydown",n),()=>{e.removeEventListener("keydown",n)}},[t]),ee=Object(d.useConstrainedTabbing)(),te=Object(d.useFocusReturn)(),ne=Object(d.useFocusOnMount)(S),re=Object(d.__experimentalUseFocusOutside)((function(e){if(A)return void A(e);if(!R)return void(t&&t());let n;try{n=new window.MouseEvent("click")}catch(e){n=document.createEvent("MouseEvent"),n.initMouseEvent("click",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null)}Object.defineProperty(n,"target",{get:()=>e.relatedTarget}),u()("Popover onClickOutside prop",{since:"5.3",alternative:"onFocusOutside"}),R(n)})),oe=Object(d.useMergeRefs)([V,U,t?Q:null,S?ee:null,S?te:null,S?ne:null]);const ae=Boolean(T&&q)&&Object(O.b)({type:"appear",origin:q});let ie=Object(o.createElement)("div",Object(r.a)({className:i()("components-popover",a,ae,{"is-expanded":Z,"is-without-arrow":l,"is-alternate":p})},H,re,{ref:oe,tabIndex:"-1"}),Z&&Object(o.createElement)(g.a,null),Z&&Object(o.createElement)("div",{className:"components-popover__header"},Object(o.createElement)("span",{className:"components-popover__header-title"},e),Object(o.createElement)(m.a,{className:"components-popover__close",icon:f.a,onClick:t})),Object(o.createElement)("div",{ref:K,className:"components-popover__content"},Object(o.createElement)("div",{style:{position:"relative"}},X,n)));return Y.ref&&(ie=Object(o.createElement)(y.a,{name:L},ie)),C||D?ie:Object(o.createElement)("span",{ref:W},ie)});x.Slot=Object(o.forwardRef)((function({name:e="Popover"},t){return Object(o.createElement)(y.c,{bubblesVirtually:!0,name:e,className:"popover-slot",ref:t})}));t.a=x},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.default=e.exports,e.exports.__esModule=!0,n.apply(this,arguments)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},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}}},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"; +*/!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 s in r)n.call(r,s)&&r[s]&&e.push(s);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")),s=S(n("17x9")),c=S(n("YZDV")),l=S(n("XGBb")),u=n("Hsqg"),d=n("TG4+"),f=S(n("wy2R")),p=n("1TsT"),h=n("vV+G"),b=S(n("yc2e")),m=S(n("mMiH")),g=S(n("dRQD")),v=S(n("q86A")),y=S(n("m2ax")),O=S(n("jenk")),j=S(n("Pq96")),_=S(n("6HWY")),w=S(n("J7JS")),k=S(n("aE6U")),x=S(n("2S2E")),E=n("Fv1B");function S(e){return e&&e.__esModule?e:{default:e}}var C=(0,u.forbidExtraProps)((0,a.default)({},d.withStylesPropTypes,{enableOutsideDays:s.default.bool,firstVisibleMonthIndex:s.default.number,horizontalMonthPadding:u.nonNegativeInteger,initialMonth:l.default.momentObj,isAnimating:s.default.bool,numberOfMonths:s.default.number,modifiers:s.default.objectOf(s.default.objectOf(w.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,u.mutuallyExclusiveProps)(s.default.func,"renderMonthText","renderMonthElement"),renderCalendarDay:s.default.func,renderDayContents:s.default.func,translationValue:s.default.number,renderMonthElement:(0,u.mutuallyExclusiveProps)(s.default.func,"renderMonthText","renderMonthElement"),daySize:u.nonNegativeInteger,focusedDate:l.default.momentObj,isFocused:s.default.bool,firstDayOfWeek:x.default,setMonthTitleHeight:s.default.func,isRTL:s.default.bool,transitionDuration:u.nonNegativeInteger,verticalBorderSpacing:u.nonNegativeInteger,monthFormat:s.default.string,phrases:s.default.shape((0,b.default)(h.CalendarDayPhrases)),dayAriaLabelFormat:s.default.string})),P={enableOutsideDays:!1,firstVisibleMonthIndex:0,horizontalMonthPadding:13,initialMonth:(0,f.default)(),isAnimating:!1,numberOfMonths:1,modifiers:{},orientation:E.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:E.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 D(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===E.VERTICAL_SCROLLABLE;return n.state={months:D(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,a=this.state.months,i=this.props,s=i.initialMonth,c=i.numberOfMonths!==r,l=a;s.isSame(n,"month")||c||((0,_.default)(s,n)?(l=a.slice(1)).push(a[a.length-1].clone().add(1,"month")):(0,j.default)(s,n)?(l=a.slice(0,a.length-1)).unshift(a[0].clone().subtract(1,"month")):l=D(n,r,o===E.VERTICAL_SCROLLABLE));c&&(l=D(n,r,o===E.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,c.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,s=a===E.VERTICAL_SCROLLABLE,c=i.indexOf(e);s||(c-=1),n.set("month",t).subtract(c,"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,s=a===E.VERTICAL_SCROLLABLE,c=i.indexOf(e);s||(c-=1),n.set("year",t).subtract(c,"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,c=t.isAnimating,l=t.modifiers,u=t.numberOfMonths,f=t.monthFormat,p=t.orientation,h=t.translationValue,b=t.daySize,g=t.onDayMouseEnter,j=t.onDayMouseLeave,_=t.onDayClick,w=t.renderMonthText,k=t.renderCalendarDay,x=t.renderDayContents,S=t.renderMonthElement,C=t.onMonthTransitionEnd,P=t.firstDayOfWeek,D=t.focusedDate,M=t.isFocused,I=t.isRTL,T=t.styles,R=t.phrases,A=t.dayAriaLabelFormat,N=t.transitionDuration,L=t.verticalBorderSpacing,F=t.setMonthTitleHeight,z=this.state.months,B=p===E.VERTICAL_ORIENTATION,H=p===E.VERTICAL_SCROLLABLE,V=p===E.HORIZONTAL_ORIENTATION,W=(0,y.default)(b,s),K=B||H?W:(u+2)*W,U=(B||H?"translateY":"translateX")+"("+String(h)+"px)";return i.default.createElement("div",r({},(0,d.css)(T.CalendarMonthGrid,V&&T.CalendarMonthGrid__horizontal,B&&T.CalendarMonthGrid__vertical,H&&T.CalendarMonthGrid__vertical_scrollable,c&&T.CalendarMonthGrid__animating,c&&N&&{transition:"transform "+String(N)+"ms ease-in-out"},(0,a.default)({},(0,v.default)(U),{width:K})),{ref:this.setContainerRef,onTransitionEnd:C}),z.map((function(t,a){var v=a>=o&&a<o+u,y=0===a&&!v,E=0===a&&c&&v,C=(0,O.default)(t);return i.default.createElement("div",r({key:C},(0,d.css)(V&&T.CalendarMonthGrid_month__horizontal,y&&T.CalendarMonthGrid_month__hideForAnimation,E&&!B&&!I&&{position:"absolute",left:-W},E&&!B&&I&&{position:"absolute",right:0},E&&B&&{position:"absolute",top:-h},!v&&!c&&T.CalendarMonthGrid_month__hidden)),i.default.createElement(m.default,{month:t,isVisible:v,enableOutsideDays:n,modifiers:l[C],monthFormat:f,orientation:p,onDayMouseEnter:g,onDayMouseLeave:j,onDayClick:_,onMonthSelect:e.onMonthSelect,onYearSelect:e.onYearSelect,renderMonthText:w,renderCalendarDay:k,renderDayContents:x,renderMonthElement:S,firstDayOfWeek:P,daySize:b,focusedDate:v?D:null,isFocused:M,phrases:R,setMonthTitleHeight:F,dayAriaLabelFormat:A,verticalBorderSpacing:L,horizontalMonthPadding:s}))})))}}]),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)},TqVZ:function(e,t,n){"use strict";var r=n("z9I/");var o=function(e){function t(e,t,r){var o=t.trim().split(h);t=o;var a=o.length,i=e.length;switch(i){case 0:case 1:var s=0;for(e=0===i?"":e[0]+" ";s<a;++s)t[s]=n(e,t[s],r).trim();break;default:var c=s=0;for(t=[];s<a;++s)for(var l=0;l<i;++l)t[c++]=n(e[l]+" ",o[s],r).trim()}return t}function n(e,t,n){var r=t.charCodeAt(0);switch(33>r&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(b,"$1"+e.trim());case 58:return e.trim()+t.replace(b,"$1"+e.trim());default:if(0<1*n&&0<t.indexOf("\f"))return t.replace(b,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function r(e,t,n,a){var i=e+";",s=2*t+3*n+4*a;if(944===s){e=i.indexOf(":",9)+1;var c=i.substring(e,i.length-1).trim();return c=i.substring(0,e).trim()+c+";",1===P||2===P&&o(c,1)?"-webkit-"+c+c:c}if(0===P||2===P&&!o(i,1))return i;switch(s){case 1015:return 97===i.charCodeAt(10)?"-webkit-"+i+i:i;case 951:return 116===i.charCodeAt(3)?"-webkit-"+i+i:i;case 963:return 110===i.charCodeAt(5)?"-webkit-"+i+i:i;case 1009:if(100!==i.charCodeAt(4))break;case 969:case 942:return"-webkit-"+i+i;case 978:return"-webkit-"+i+"-moz-"+i+i;case 1019:case 983:return"-webkit-"+i+"-moz-"+i+"-ms-"+i+i;case 883:if(45===i.charCodeAt(8))return"-webkit-"+i+i;if(0<i.indexOf("image-set(",11))return i.replace(x,"$1-webkit-$2")+i;break;case 932:if(45===i.charCodeAt(4))switch(i.charCodeAt(5)){case 103:return"-webkit-box-"+i.replace("-grow","")+"-webkit-"+i+"-ms-"+i.replace("grow","positive")+i;case 115:return"-webkit-"+i+"-ms-"+i.replace("shrink","negative")+i;case 98:return"-webkit-"+i+"-ms-"+i.replace("basis","preferred-size")+i}return"-webkit-"+i+"-ms-"+i+i;case 964:return"-webkit-"+i+"-ms-flex-"+i+i;case 1023:if(99!==i.charCodeAt(8))break;return"-webkit-box-pack"+(c=i.substring(i.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+i+"-ms-flex-pack"+c+i;case 1005:return f.test(i)?i.replace(d,":-webkit-")+i.replace(d,":-moz-")+i:i;case 1e3:switch(t=(c=i.substring(13).trim()).indexOf("-")+1,c.charCodeAt(0)+c.charCodeAt(t)){case 226:c=i.replace(y,"tb");break;case 232:c=i.replace(y,"tb-rl");break;case 220:c=i.replace(y,"lr");break;default:return i}return"-webkit-"+i+"-ms-"+c+i;case 1017:if(-1===i.indexOf("sticky",9))break;case 975:switch(t=(i=e).length-10,s=(c=(33===i.charCodeAt(t)?i.substring(0,t):i).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|c.charCodeAt(7))){case 203:if(111>c.charCodeAt(8))break;case 115:i=i.replace(c,"-webkit-"+c)+";"+i;break;case 207:case 102:i=i.replace(c,"-webkit-"+(102<s?"inline-":"")+"box")+";"+i.replace(c,"-webkit-"+c)+";"+i.replace(c,"-ms-"+c+"box")+";"+i}return i+";";case 938:if(45===i.charCodeAt(5))switch(i.charCodeAt(6)){case 105:return c=i.replace("-items",""),"-webkit-"+i+"-webkit-box-"+c+"-ms-flex-"+c+i;case 115:return"-webkit-"+i+"-ms-flex-item-"+i.replace(_,"")+i;default:return"-webkit-"+i+"-ms-flex-line-pack"+i.replace("align-content","").replace(_,"")+i}break;case 973:case 989:if(45!==i.charCodeAt(3)||122===i.charCodeAt(4))break;case 931:case 953:if(!0===k.test(e))return 115===(c=e.substring(e.indexOf(":")+1)).charCodeAt(0)?r(e.replace("stretch","fill-available"),t,n,a).replace(":fill-available",":stretch"):i.replace(c,"-webkit-"+c)+i.replace(c,"-moz-"+c.replace("fill-",""))+i;break;case 962:if(i="-webkit-"+i+(102===i.charCodeAt(5)?"-ms-"+i:"")+i,211===n+a&&105===i.charCodeAt(13)&&0<i.indexOf("transform",10))return i.substring(0,i.indexOf(";",27)+1).replace(p,"$1-webkit-$2")+i}return i}function o(e,t){var n=e.indexOf(1===t?":":"{"),r=e.substring(0,3!==t?n:10);return n=e.substring(n+1,e.length-1),T(2!==t?r:r.replace(w,"$1"),n,t)}function a(e,t){var n=r(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(j," or ($1)").substring(4):"("+t+")"}function i(e,t,n,r,o,a,i,s,l,u){for(var d,f=0,p=t;f<I;++f)switch(d=M[f].call(c,e,p,n,r,o,a,i,s,l,u)){case void 0:case!1:case!0:case null:break;default:p=d}if(p!==t)return p}function s(e){return void 0!==(e=e.prefix)&&(T=null,e?"function"!=typeof e?P=1:(P=2,T=e):P=0),s}function c(e,n){var s=e;if(33>s.charCodeAt(0)&&(s=s.trim()),s=[s],0<I){var c=i(-1,n,s,s,S,E,0,0,0,0);void 0!==c&&"string"==typeof c&&(n=c)}var d=function e(n,s,c,d,f){for(var p,h,b,y,j,_=0,w=0,k=0,x=0,M=0,T=0,A=b=p=0,N=0,L=0,F=0,z=0,B=c.length,H=B-1,V="",W="",K="",U="";N<B;){if(h=c.charCodeAt(N),N===H&&0!==w+x+k+_&&(0!==w&&(h=47===w?10:47),x=k=_=0,B++,H++),0===w+x+k+_){if(N===H&&(0<L&&(V=V.replace(u,"")),0<V.trim().length)){switch(h){case 32:case 9:case 59:case 13:case 10:break;default:V+=c.charAt(N)}h=59}switch(h){case 123:for(p=(V=V.trim()).charCodeAt(0),b=1,z=++N;N<B;){switch(h=c.charCodeAt(N)){case 123:b++;break;case 125:b--;break;case 47:switch(h=c.charCodeAt(N+1)){case 42:case 47:e:{for(A=N+1;A<H;++A)switch(c.charCodeAt(A)){case 47:if(42===h&&42===c.charCodeAt(A-1)&&N+2!==A){N=A+1;break e}break;case 10:if(47===h){N=A+1;break e}}N=A}}break;case 91:h++;case 40:h++;case 34:case 39:for(;N++<H&&c.charCodeAt(N)!==h;);}if(0===b)break;N++}switch(b=c.substring(z,N),0===p&&(p=(V=V.replace(l,"").trim()).charCodeAt(0)),p){case 64:switch(0<L&&(V=V.replace(u,"")),h=V.charCodeAt(1)){case 100:case 109:case 115:case 45:L=s;break;default:L=D}if(z=(b=e(s,L,b,h,f+1)).length,0<I&&(j=i(3,b,L=t(D,V,F),s,S,E,z,h,f,d),V=L.join(""),void 0!==j&&0===(z=(b=j.trim()).length)&&(h=0,b="")),0<z)switch(h){case 115:V=V.replace(O,a);case 100:case 109:case 45:b=V+"{"+b+"}";break;case 107:b=(V=V.replace(m,"$1 $2"))+"{"+b+"}",b=1===P||2===P&&o("@"+b,3)?"@-webkit-"+b+"@"+b:"@"+b;break;default:b=V+b,112===d&&(W+=b,b="")}else b="";break;default:b=e(s,t(s,V,F),b,d,f+1)}K+=b,b=F=L=A=p=0,V="",h=c.charCodeAt(++N);break;case 125:case 59:if(1<(z=(V=(0<L?V.replace(u,""):V).trim()).length))switch(0===A&&(p=V.charCodeAt(0),45===p||96<p&&123>p)&&(z=(V=V.replace(" ",":")).length),0<I&&void 0!==(j=i(1,V,s,n,S,E,W.length,d,f,d))&&0===(z=(V=j.trim()).length)&&(V="\0\0"),p=V.charCodeAt(0),h=V.charCodeAt(1),p){case 0:break;case 64:if(105===h||99===h){U+=V+c.charAt(N);break}default:58!==V.charCodeAt(z-1)&&(W+=r(V,p,h,V.charCodeAt(2)))}F=L=A=p=0,V="",h=c.charCodeAt(++N)}}switch(h){case 13:case 10:47===w?w=0:0===1+p&&107!==d&&0<V.length&&(L=1,V+="\0"),0<I*R&&i(0,V,s,n,S,E,W.length,d,f,d),E=1,S++;break;case 59:case 125:if(0===w+x+k+_){E++;break}default:switch(E++,y=c.charAt(N),h){case 9:case 32:if(0===x+_+w)switch(M){case 44:case 58:case 9:case 32:y="";break;default:32!==h&&(y=" ")}break;case 0:y="\\0";break;case 12:y="\\f";break;case 11:y="\\v";break;case 38:0===x+w+_&&(L=F=1,y="\f"+y);break;case 108:if(0===x+w+_+C&&0<A)switch(N-A){case 2:112===M&&58===c.charCodeAt(N-3)&&(C=M);case 8:111===T&&(C=T)}break;case 58:0===x+w+_&&(A=N);break;case 44:0===w+k+x+_&&(L=1,y+="\r");break;case 34:case 39:0===w&&(x=x===h?0:0===x?h:x);break;case 91:0===x+w+k&&_++;break;case 93:0===x+w+k&&_--;break;case 41:0===x+w+_&&k--;break;case 40:if(0===x+w+_){if(0===p)switch(2*M+3*T){case 533:break;default:p=1}k++}break;case 64:0===w+k+x+_+A+b&&(b=1);break;case 42:case 47:if(!(0<x+_+k))switch(w){case 0:switch(2*h+3*c.charCodeAt(N+1)){case 235:w=47;break;case 220:z=N,w=42}break;case 42:47===h&&42===M&&z+2!==N&&(33===c.charCodeAt(z+2)&&(W+=c.substring(z,N+1)),y="",w=0)}}0===w&&(V+=y)}T=M,M=h,N++}if(0<(z=W.length)){if(L=s,0<I&&(void 0!==(j=i(2,W,L,n,S,E,z,d,f,d))&&0===(W=j).length))return U+W+K;if(W=L.join(",")+"{"+W+"}",0!=P*C){switch(2!==P||o(W,2)||(C=0),C){case 111:W=W.replace(v,":-moz-$1")+W;break;case 112:W=W.replace(g,"::-webkit-input-$1")+W.replace(g,"::-moz-$1")+W.replace(g,":-ms-input-$1")+W}C=0}}return U+W+K}(D,s,n,0,0);return 0<I&&(void 0!==(c=i(-2,d,s,s,S,E,d.length,0,0,0))&&(d=c)),"",C=0,E=S=1,d}var l=/^\0+/g,u=/[\0\r\f]/g,d=/: */g,f=/zoo|gra/,p=/([,: ])(transform)/g,h=/,\r+?/g,b=/([\t\r\n ])*\f?&/g,m=/@(k\w+)\s*(\S*)\s*/,g=/::(place)/g,v=/:(read-only)/g,y=/[svh]\w+-[tblr]{2}/,O=/\(\s*(.*)\s*\)/g,j=/([\s\S]*?);/g,_=/-self|flex-/g,w=/[^]*?(:[rp][el]a[\w-]+)[^]*/,k=/stretch|:\s*\w+\-(?:conte|avail)/,x=/([^-])(image-set\()/,E=1,S=1,C=0,P=1,D=[],M=[],I=0,T=null,R=0;return c.use=function e(t){switch(t){case void 0:case null:I=M.length=0;break;default:if("function"==typeof t)M[I++]=t;else if("object"==typeof t)for(var n=0,r=t.length;n<r;++n)e(t[n]);else R=0|!!t}return e},c.set=s,void 0!==e&&s(e),c};function a(e){e&&i.current.insert(e+"}")}var i={current:null},s=function(e,t,n,r,o,s,c,l,u,d){switch(e){case 1:switch(t.charCodeAt(0)){case 64:return i.current.insert(t+";"),"";case 108:if(98===t.charCodeAt(2))return""}break;case 2:if(0===l)return t+"/*|*/";break;case 3:switch(l){case 102:case 112:return i.current.insert(n[0]+t),"";default:return t+(0===d?"/*|*/":"")}case-2:t.split("/*|*/}").forEach(a)}};t.a=function(e){void 0===e&&(e={});var t,n=e.key||"css";void 0!==e.prefix&&(t={prefix:e.prefix});var a=new o(t);var c,l={};c=e.container||document.head;var u,d=document.querySelectorAll("style[data-emotion-"+n+"]");Array.prototype.forEach.call(d,(function(e){e.getAttribute("data-emotion-"+n).split(" ").forEach((function(e){l[e]=!0})),e.parentNode!==c&&c.appendChild(e)})),a.use(e.stylisPlugins)(s),u=function(e,t,n,r){var o=t.name;i.current=n,a(e,t.styles),r&&(f.inserted[o]=!0)};var f={key:n,sheet:new r.a({key:n,container:c,nonce:e.nonce,speedy:e.speedy}),nonce:e.nonce,inserted:l,registered:{},insert:u};return f}},Tqx9:function(e,t){e.exports=window.wp.primitives},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"))},V1cy: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)}},VDVV:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=c(n("/ZKw")),o=c(n("9pTB")),a=n("kFtd"),i=c(n("nLTY")),s=c(n("3HjQ"));function c(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,s=void 0===r?"":r;return n.forEach((function(e){var n=(0,i.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,a=n.hasInlineStyles,i=n.inlineStyles,c={className:o.map((function(e,t){return String(e)+" "+String(e)+"_"+String(t+1)})).join(" ")};return a&&(c.style=i),c}}},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}},VbXa:function(e,t,n){var r=n("SksO");e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)},e.exports.default=e.exports,e.exports.__esModule=!0},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/"),s=n("Cw+6"),c=n("9NHk");const l=({text:e,...t})=>({...t,content:e});const u=Object(r.createElement)("div",{className:"event-catcher"}),d=({eventHandlers:e,child:t,childrenWithPopover:n})=>Object(r.cloneElement)(Object(r.createElement)("span",{className:"disabled-element-wrapper"},Object(r.cloneElement)(u,e),Object(r.cloneElement)(t,{children:n}),","),e),f=({child:e,eventHandlers:t,childrenWithPopover:n})=>Object(r.cloneElement)(e,{...t,children:n}),p=(e,t,n)=>{if(1!==r.Children.count(e))return;const o=r.Children.only(e);"function"==typeof o.props[t]&&o.props[t](n)};var h;t.a=(h=function({children:e,position:t,text:n,shortcut:c}){const[l,u]=Object(r.useState)(!1),[h,b]=Object(r.useState)(!1),m=Object(a.useDebounce)(b,700),g=t=>{p(e,"onMouseDown",t),document.addEventListener("mouseup",O),u(!0)},v=t=>{p(e,"onMouseUp",t),document.removeEventListener("mouseup",O),u(!1)},y=e=>"mouseUp"===e?v:"mouseDown"===e?g:void 0,O=y("mouseUp"),j=(t,n)=>r=>{if(p(e,t,r),r.currentTarget.disabled)return;if("focus"===r.type&&l)return;m.cancel();const a=Object(o.includes)(["focus","mouseenter"],r.type);a!==h&&(n?m(a):b(a))},_=()=>{m.cancel()};if(Object(r.useEffect)(()=>_,[]),1!==r.Children.count(e))return e;const w={onMouseEnter:j("onMouseEnter",!0),onMouseLeave:j("onMouseLeave"),onClick:j("onClick"),onFocus:j("onFocus"),onBlur:j("onBlur"),onMouseDown:y("mouseDown")},k=r.Children.only(e),{children:x,disabled:E}=k.props;return(E?d:f)({child:k,eventHandlers:w,childrenWithPopover:(({grandchildren:e,isOver:t,position:n,text:o,shortcut:a})=>Object(r.concatChildren)(e,t&&Object(r.createElement)(i.a,{focusOnMount:!1,position:n,className:"components-tooltip","aria-hidden":"true",animate:!1,noArrow:!0},o,Object(r.createElement)(s.a,{className:"components-tooltip__shortcut",shortcut:a}))))({grandchildren:x,isOver:h,position:t,text:n,shortcut:c})})},Object(c.a)(h,void 0,"WPComponentsTooltip",l))},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"),s=n("/sVA"),c=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,s="string"===t?["toString","valueOf"]:["valueOf","toString"];for(i=0;i<s.length;++i)if(n=e[s[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):s(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)||s(e))&&(n="string"),c(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"),s=n("ald4"),c=n("6I5v");e.exports=function(e){var t=a(e);return i(t)?0:0!==t&&s(t)?c(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"},WvKp:function(e,t,n){"use strict";var r=n("rZ7t")("%TypeError%"),o=n("DvWQ"),a=n("i10q"),i=n("V1cy");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 s=o(e,t,n);if(!s)throw new r("unable to create data property");return s}},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,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&s.return&&s.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=E(n("Koq/")),i=E(n("cDcd")),s=E(n("17x9")),c=E(n("XGBb")),l=n("Hsqg"),u=E(n("wy2R")),d=E(n("4cSd")),f=E(n("LTAC")),p=n("vV+G"),h=E(n("yc2e")),b=E(n("pRvc")),m=E(n("Nho6")),g=E(n("u5Fq")),v=E(n("IgE5")),y=E(n("pYxT")),O=E(n("jenk")),j=E(n("aE6U")),_=E(n("2S2E")),w=E(n("oR9Z")),k=n("Fv1B"),x=E(n("Nloh"));function E(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:c.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,l.mutuallyExclusiveProps)(s.default.func,"renderMonthText","renderMonthElement"),renderMonthElement:(0,l.mutuallyExclusiveProps)(s.default.func,"renderMonthText","renderMonthElement"),enableOutsideDays:s.default.bool,numberOfMonths:s.default.number,orientation:j.default,withPortal:s.default.bool,initialVisibleMonth:s.default.func,firstDayOfWeek:_.default,hideKeyboardShortcutsPanel:s.default.bool,daySize:l.nonNegativeInteger,verticalHeight:l.nonNegativeInteger,noBorder:s.default.bool,verticalBorderSpacing:l.nonNegativeInteger,transitionDuration:l.nonNegativeInteger,horizontalMonthPadding:l.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:w.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}),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: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},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));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,s=e.isDayHighlighted,c=e.initialVisibleMonth,l=e.numberOfMonths,f=e.enableOutsideDays,p=this.props,h=p.isOutsideRange,m=p.isDayBlocked,g=p.isDayHighlighted,v=p.numberOfMonths,y=p.enableOutsideDays,O=p.initialVisibleMonth,j=p.focused,_=p.date,w=this.state.visibleDays,k=!1,x=!1,E=!1;o!==h&&(this.modifiers["blocked-out-of-range"]=function(e){return o(e)},k=!0),i!==m&&(this.modifiers["blocked-calendar"]=function(e){return i(e)},x=!0),s!==g&&(this.modifiers["highlighted-calendar"]=function(e){return s(e)},E=!0);var S=k||x||E;if(l!==v||f!==y||c!==O&&!j&&r){var C=this.getStateForNewMonth(e),P=C.currentMonth;w=C.visibleDays,this.setState({currentMonth:P,visibleDays:w})}var D=r!==j,M={};n!==_&&(M=this.deleteModifier(M,_,"selected"),M=this.addModifier(M,n,"selected")),(D||S)&&(0,d.default)(w).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"),(D||k)&&(M=o(n)?t.addModifier(M,n,"blocked-out-of-range"):t.deleteModifier(M,n,"blocked-out-of-range")),(D||x)&&(M=i(n)?t.addModifier(M,n,"blocked-calendar"):t.deleteModifier(M,n,"blocked-calendar")),(D||E)&&(M=s(n)?t.addModifier(M,n,"highlighted-calendar"):t.deleteModifier(M,n,"highlighted-calendar"))}))}));var I=(0,u.default)();(0,b.default)(this.today,I)||(M=this.deleteModifier(M,this.today,"today"),M=this.addModifier(M,I,"today"),this.today=I),Object.keys(M).length>0&&this.setState({visibleDays:(0,a.default)({},w,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,s=o.visibleDays,c={};Object.keys(s).sort().slice(0,n+1).forEach((function(e){c[e]=s[e]}));var l=i.clone().subtract(1,"month"),u=(0,g.default)(l,1,r);this.setState({currentMonth:l,visibleDays:(0,a.default)({},c,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,s=o.visibleDays,c={};Object.keys(s).sort().slice(1).forEach((function(e){c[e]=s[e]}));var l=i.clone().add(n,"month"),u=(0,g.default)(l,1,r),d=i.clone().add(1,"month");this.setState({currentMonth:d,visibleDays:(0,a.default)({},c,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===k.VERTICAL_SCROLLABLE,a=(0,g.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===k.VERTICAL_SCROLLABLE,a=(0,g.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 s=[],c=e.clone().add(a-1,"months").endOf("month"),l=i.clone();!(0,m.default)(l,c);)l=l.clone().add(1,"day"),s.push(l);var u=s.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,g.default)(i,o,a))}}},{key:"addModifier",value:function(e,t,n){var r=this.props,o=r.numberOfMonths,i=r.enableOutsideDays,s=r.orientation,c=this.state,l=c.currentMonth,u=c.visibleDays,d=l,f=o;if(s===k.VERTICAL_SCROLLABLE?f=Object.keys(u).length:(d=d.clone().subtract(1,"month"),f+=2),!t||!(0,v.default)(t,d,f,i))return e;var p=(0,y.default)(t),h=(0,a.default)({},e);if(i)h=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))))}),h);else{var b=(0,O.default)(t),m=e[b]||u[b],g=new Set(m[p]);g.add(n),h=(0,a.default)({},h,S({},b,(0,a.default)({},m,S({},p,g))))}return h}},{key:"deleteModifier",value:function(e,t,n){var r=this.props,o=r.numberOfMonths,i=r.enableOutsideDays,s=r.orientation,c=this.state,l=c.currentMonth,u=c.visibleDays,d=l,f=o;if(s===k.VERTICAL_SCROLLABLE?f=Object.keys(u).length:(d=d.clone().subtract(1,"month"),f+=2),!t||!(0,v.default)(t,d,f,i))return e;var p=(0,y.default)(t),h=(0,a.default)({},e);if(i)h=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))))}),h);else{var b=(0,O.default)(t),m=e[b]||u[b],g=new Set(m[p]);g.delete(n),h=(0,a.default)({},h,S({},b,(0,a.default)({},m,S({},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,b.default)(e,t)}},{key:"isSelected",value:function(e){var t=this.props.date;return(0,b.default)(e,t)}},{key:"isToday",value:function(e){return(0,b.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,s=e.navNext,c=e.onOutsideClick,l=e.withPortal,u=e.focused,d=e.enableOutsideDays,f=e.hideKeyboardShortcutsPanel,p=e.daySize,h=e.firstDayOfWeek,b=e.renderCalendarDay,m=e.renderDayContents,g=e.renderCalendarInfo,v=e.renderMonthElement,y=e.calendarInfoPosition,O=e.isFocused,j=e.isRTL,_=e.phrases,w=e.dayAriaLabelFormat,k=e.onBlur,E=e.showKeyboardShortcuts,S=e.weekDayFormat,C=e.verticalHeight,P=e.noBorder,D=e.transitionDuration,M=e.verticalBorderSpacing,I=e.horizontalMonthPadding,T=this.state,R=T.currentMonth,A=T.visibleDays;return i.default.createElement(x.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:h,onOutsideClick:c,navPrev:a,navNext:s,renderMonthText:o,renderCalendarDay:b,renderDayContents:m,renderCalendarInfo:g,renderMonthElement:v,calendarInfoPosition:y,isFocused:O,getFirstFocusableDay:this.getFirstFocusableDay,onBlur:k,phrases:_,daySize:p,isRTL:j,showKeyboardShortcuts:E,weekDayFormat:S,dayAriaLabelFormat:w,verticalHeight:C,noBorder:P,transitionDuration:D,verticalBorderSpacing:M,horizontalMonthPadding:I})}}]),t}(i.default.Component);t.default=D,D.propTypes=C,D.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)}},Z23Y:function(e,t){e.exports=window.wp.warning},ZO3Q:function(e,t,n){"use strict";function r(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(t,"__esModule",{value:!0});var o=r(n("pVnL")),a=r(n("8OQS")),i=n("cDcd"),s=r(i),c=r(n("VbXa")),l=r(n("PJYZ")),u={arr:Array.isArray,obj:function(e){return"[object Object]"===Object.prototype.toString.call(e)},fun:function(e){return"function"==typeof e},str:function(e){return"string"==typeof e},num:function(e){return"number"==typeof e},und:function(e){return void 0===e},nul:function(e){return null===e},set:function(e){return e instanceof Set},map:function(e){return e instanceof Map},equ:function(e,t){if(typeof e!=typeof t)return!1;if(u.str(e)||u.num(e))return e===t;if(u.obj(e)&&u.obj(t)&&Object.keys(e).length+Object.keys(t).length===0)return!0;var n;for(n in e)if(!(n in t))return!1;for(n in t)if(e[n]!==t[n])return!1;return!u.und(n)||e===t}};function d(){var e=i.useState(!1)[1];return i.useCallback((function(){return e((function(e){return!e}))}),[])}function f(e,t){return u.und(e)||u.nul(e)?t:e}function p(e){return u.und(e)?[]:u.arr(e)?e:[e]}function h(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 u.fun(e)?e.apply(void 0,n):e}function b(e){var t=function(e){return e.to,e.from,e.config,e.onStart,e.onRest,e.onFrame,e.children,e.reset,e.reverse,e.force,e.immediate,e.delay,e.attach,e.destroyed,e.interpolateTo,e.ref,e.lazy,a(e,["to","from","config","onStart","onRest","onFrame","children","reset","reverse","force","immediate","delay","attach","destroyed","interpolateTo","ref","lazy"])}(e);if(u.und(t))return o({to:t},e);var n=Object.keys(e).reduce((function(n,r){var a;return u.und(t[r])?o({},n,((a={})[r]=e[r],a)):n}),{});return o({to:t},n)}var m,g,v=function(){function e(){this.payload=void 0,this.children=[]}var t=e.prototype;return t.getAnimatedValue=function(){return this.getValue()},t.getPayload=function(){return this.payload||this},t.attach=function(){},t.detach=function(){},t.getChildren=function(){return this.children},t.addChild=function(e){0===this.children.length&&this.attach(),this.children.push(e)},t.removeChild=function(e){var t=this.children.indexOf(e);this.children.splice(t,1),0===this.children.length&&this.detach()},e}(),y=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).payload=[],t.attach=function(){return t.payload.forEach((function(e){return e instanceof v&&e.addChild(l(t))}))},t.detach=function(){return t.payload.forEach((function(e){return e instanceof v&&e.removeChild(l(t))}))},t}return c(t,e),t}(v),O=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).payload={},t.attach=function(){return Object.values(t.payload).forEach((function(e){return e instanceof v&&e.addChild(l(t))}))},t.detach=function(){return Object.values(t.payload).forEach((function(e){return e instanceof v&&e.removeChild(l(t))}))},t}c(t,e);var n=t.prototype;return n.getValue=function(e){void 0===e&&(e=!1);var t={};for(var n in this.payload){var r=this.payload[n];(!e||r instanceof v)&&(t[n]=r instanceof v?r[e?"getAnimatedValue":"getValue"]():r)}return t},n.getAnimatedValue=function(){return this.getValue(!0)},t}(v);function j(e,t){m={fn:e,transform:t}}function _(e){g=e}var w,k=function(e){return"undefined"!=typeof window?window.requestAnimationFrame(e):-1},x=function(e){"undefined"!=typeof window&&window.cancelAnimationFrame(e)};function E(e){w=e}var S,C=function(){return Date.now()};function P(e){S=e}var D,M,I=function(e){return e.current};function T(e){D=e}var R=Object.freeze({get applyAnimatedValues(){return m},injectApplyAnimatedValues:j,get colorNames(){return g},injectColorNames:_,get requestFrame(){return k},get cancelFrame(){return x},injectFrame:function(e,t){k=e,x=t},get interpolation(){return w},injectStringInterpolator:E,get now(){return C},injectNow:function(e){C=e},get defaultElement(){return S},injectDefaultElement:P,get animatedApi(){return I},injectAnimatedApi:function(e){I=e},get createAnimatedStyle(){return D},injectCreateAnimatedStyle:T,get manualFrameloop(){return M},injectManualFrameloop:function(e){M=e}}),A=function(e){function t(t,n){var r;return(r=e.call(this)||this).update=void 0,r.payload=t.style?o({},t,{style:D(t.style)}):t,r.update=n,r.attach(),r}return c(t,e),t}(O),N=!1,L=new Set,F=function e(){if(!N)return!1;var t=C(),n=L,r=Array.isArray(n),o=0;for(n=r?n:n[Symbol.iterator]();;){var a;if(r){if(o>=n.length)break;a=n[o++]}else{if((o=n.next()).done)break;a=o.value}for(var i=a,s=!1,c=0;c<i.configs.length;c++){for(var l=i.configs[c],u=void 0,d=void 0,f=0;f<l.animatedValues.length;f++){var p=l.animatedValues[f];if(!p.done){var h=l.fromValues[f],b=l.toValues[f],m=p.lastPosition,g=b instanceof v,y=Array.isArray(l.initialVelocity)?l.initialVelocity[f]:l.initialVelocity;if(g&&(b=b.getValue()),l.immediate)p.setValue(b),p.done=!0;else if("string"!=typeof h&&"string"!=typeof b){if(void 0!==l.duration)m=h+l.easing((t-p.startTime)/l.duration)*(b-h),u=t>=p.startTime+l.duration;else if(l.decay)m=h+y/(1-.998)*(1-Math.exp(-(1-.998)*(t-p.startTime))),(u=Math.abs(p.lastPosition-m)<.1)&&(b=m);else{d=void 0!==p.lastTime?p.lastTime:t,y=void 0!==p.lastVelocity?p.lastVelocity:l.initialVelocity,t>d+64&&(d=t);for(var O=Math.floor(t-d),j=0;j<O;++j){m+=1*(y+=1*((-l.tension*(m-b)+-l.friction*y)/l.mass)/1e3)/1e3}var _=!(!l.clamp||0===l.tension)&&(h<b?m>b:m<b),w=Math.abs(y)<=l.precision,x=0===l.tension||Math.abs(b-m)<=l.precision;u=_||w&&x,p.lastVelocity=y,p.lastTime=t}g&&!l.toValues[f].done&&(u=!1),u?(p.value!==b&&(m=b),p.done=!0):s=!0,p.setValue(m),p.lastPosition=m}else p.setValue(b),p.done=!0}}i.props.onFrame&&(i.values[l.name]=l.interpolation.getValue())}i.props.onFrame&&i.props.onFrame(i.values),s||(L.delete(i),i.stop(!0))}return L.size?M?M():k(e):N=!1,N};function z(e,t,n){if("function"==typeof e)return e;if(Array.isArray(e))return z({range:e,output:t,extrapolate:n});if(w&&"string"==typeof e.output[0])return w(e);var r=e,o=r.output,a=r.range||[0,1],i=r.extrapolateLeft||r.extrapolate||"extend",s=r.extrapolateRight||r.extrapolate||"extend",c=r.easing||function(e){return e};return function(e){var t=function(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}(e,a);return function(e,t,n,r,o,a,i,s,c){var l=c?c(e):e;if(l<t){if("identity"===i)return l;"clamp"===i&&(l=t)}if(l>n){if("identity"===s)return l;"clamp"===s&&(l=n)}if(r===o)return r;if(t===n)return e<=t?r:o;t===-1/0?l=-l:n===1/0?l-=t:l=(l-t)/(n-t);l=a(l),r===-1/0?l=-l:o===1/0?l+=r:l=l*(o-r)+r;return l}(e,a[t],a[t+1],o[t],o[t+1],c,i,s,r.map)}}var B=function(e){function t(n,r,o,a){var i;return(i=e.call(this)||this).calc=void 0,i.payload=n instanceof y&&!(n instanceof t)?n.getPayload():Array.isArray(n)?n:[n],i.calc=z(r,o,a),i}c(t,e);var n=t.prototype;return n.getValue=function(){return this.calc.apply(this,this.payload.map((function(e){return e.getValue()})))},n.updateConfig=function(e,t,n){this.calc=z(e,t,n)},n.interpolate=function(e,n,r){return new t(this,e,n,r)},t}(y);var H=function(e){function t(t){var n;return(n=e.call(this)||this).animatedStyles=new Set,n.value=void 0,n.startPosition=void 0,n.lastPosition=void 0,n.lastVelocity=void 0,n.startTime=void 0,n.lastTime=void 0,n.done=!1,n.setValue=function(e,t){void 0===t&&(t=!0),n.value=e,t&&n.flush()},n.value=t,n.startPosition=t,n.lastPosition=t,n}c(t,e);var n=t.prototype;return n.flush=function(){0===this.animatedStyles.size&&function e(t,n){"update"in t?n.add(t):t.getChildren().forEach((function(t){return e(t,n)}))}(this,this.animatedStyles),this.animatedStyles.forEach((function(e){return e.update()}))},n.clearStyles=function(){this.animatedStyles.clear()},n.getValue=function(){return this.value},n.interpolate=function(e,t,n){return new B(this,e,t,n)},t}(v),V=function(e){function t(t){var n;return(n=e.call(this)||this).payload=t.map((function(e){return new H(e)})),n}c(t,e);var n=t.prototype;return n.setValue=function(e,t){var n=this;void 0===t&&(t=!0),Array.isArray(e)?e.length===this.payload.length&&e.forEach((function(e,r){return n.payload[r].setValue(e,t)})):this.payload.forEach((function(n){return n.setValue(e,t)}))},n.getValue=function(){return this.payload.map((function(e){return e.getValue()}))},n.interpolate=function(e,t){return new B(this,e,t)},t}(y),W=0,K=function(){function e(){var e=this;this.id=void 0,this.idle=!0,this.hasChanged=!1,this.guid=0,this.local=0,this.props={},this.merged={},this.animations={},this.interpolations={},this.values={},this.configs=[],this.listeners=[],this.queue=[],this.localQueue=void 0,this.getValues=function(){return e.interpolations},this.id=W++}var t=e.prototype;return t.update=function(e){if(!e)return this;var t=b(e),n=t.delay,r=void 0===n?0:n,i=t.to,s=a(t,["delay","to"]);if(u.arr(i)||u.fun(i))this.queue.push(o({},s,{delay:r,to:i}));else if(i){var c={};Object.entries(i).forEach((function(e){var t,n=e[0],a=e[1],i=o({to:(t={},t[n]=a,t),delay:h(r,n)},s),l=c[i.delay]&&c[i.delay].to;c[i.delay]=o({},c[i.delay],i,{to:o({},l,i.to)})})),this.queue=Object.values(c)}return this.queue=this.queue.sort((function(e,t){return e.delay-t.delay})),this.diff(s),this},t.start=function(e){var t,n=this;if(this.queue.length){this.idle=!1,this.localQueue&&this.localQueue.forEach((function(e){var t=e.from,r=void 0===t?{}:t,a=e.to,i=void 0===a?{}:a;u.obj(r)&&(n.merged=o({},r,n.merged)),u.obj(i)&&(n.merged=o({},n.merged,i))}));var r=this.local=++this.guid,i=this.localQueue=this.queue;this.queue=[],i.forEach((function(t,o){var s=t.delay,c=a(t,["delay"]),l=function(t){o===i.length-1&&r===n.guid&&t&&(n.idle=!0,n.props.onRest&&n.props.onRest(n.merged)),e&&e()},d=u.arr(c.to)||u.fun(c.to);s?setTimeout((function(){r===n.guid&&(d?n.runAsync(c,l):n.diff(c).start(l))}),s):d?n.runAsync(c,l):n.diff(c).start(l)}))}else u.fun(e)&&this.listeners.push(e),this.props.onStart&&this.props.onStart(),t=this,L.has(t)||L.add(t),N||(N=!0,k(M||F));return this},t.stop=function(e){return this.listeners.forEach((function(t){return t(e)})),this.listeners=[],this},t.pause=function(e){var t;return this.stop(!0),e&&(t=this,L.has(t)&&L.delete(t)),this},t.runAsync=function(e,t){var n=this,r=(e.delay,a(e,["delay"])),i=this.local,s=Promise.resolve(void 0);if(u.arr(r.to))for(var c=function(e){var t=e,a=o({},r,b(r.to[t]));u.arr(a.config)&&(a.config=a.config[t]),s=s.then((function(){if(i===n.guid)return new Promise((function(e){return n.diff(a).start(e)}))}))},l=0;l<r.to.length;l++)c(l);else if(u.fun(r.to)){var d,f=0;s=s.then((function(){return r.to((function(e){var t=o({},r,b(e));if(u.arr(t.config)&&(t.config=t.config[f]),f++,i===n.guid)return d=new Promise((function(e){return n.diff(t).start(e)}))}),(function(e){return void 0===e&&(e=!0),n.stop(e)})).then((function(){return d}))}))}s.then(t)},t.diff=function(e){var t=this;this.props=o({},this.props,e);var n=this.props,r=n.from,a=void 0===r?{}:r,i=n.to,s=void 0===i?{}:i,c=n.config,l=void 0===c?{}:c,d=n.reverse,b=n.attach,m=n.reset,v=n.immediate;if(d){var y=[s,a];a=y[0],s=y[1]}this.merged=o({},a,this.merged,s),this.hasChanged=!1;var O=b&&b(this);if(this.animations=Object.entries(this.merged).reduce((function(e,n){var r=n[0],i=n[1],s=e[r]||{},c=u.num(i),d=u.str(i)&&!i.startsWith("#")&&!/\d/.test(i)&&!g[i],b=u.arr(i),y=!c&&!b&&!d,j=u.und(a[r])?i:a[r],_=c||b||d?i:1,k=h(l,r);O&&(_=O.animations[r].parent);var x,E=s.parent,S=s.interpolation,P=p(O?_.getPayload():_),D=i;y&&(D=w({range:[0,1],output:[i,i]})(1));var M,I=S&&S.getValue(),T=!u.und(E)&&s.animatedValues.some((function(e){return!e.done})),R=!u.equ(D,I),A=!u.equ(D,s.previous),N=!u.equ(k,s.config);if(m||A&&R||N){var L;if(c||d)E=S=s.parent||new H(j);else if(b)E=S=s.parent||new V(j);else if(y){var F=s.interpolation&&s.interpolation.calc(s.parent.value);F=void 0===F||m?j:F,s.parent?(E=s.parent).setValue(0,!1):E=new H(0);var z={output:[F,i]};s.interpolation?(S=s.interpolation,s.interpolation.updateConfig(z)):S=E.interpolate(z)}return P=p(O?_.getPayload():_),x=p(E.getPayload()),m&&!y&&E.setValue(j,!1),t.hasChanged=!0,x.forEach((function(e){e.startPosition=e.value,e.lastPosition=e.value,e.lastVelocity=T?e.lastVelocity:void 0,e.lastTime=T?e.lastTime:void 0,e.startTime=C(),e.done=!1,e.animatedStyles.clear()})),h(v,r)&&E.setValue(y?_:i,!1),o({},e,((L={})[r]=o({},s,{name:r,parent:E,interpolation:S,animatedValues:x,toValues:P,previous:D,config:k,fromValues:p(E.getValue()),immediate:h(v,r),initialVelocity:f(k.velocity,0),clamp:f(k.clamp,!1),precision:f(k.precision,.01),tension:f(k.tension,170),friction:f(k.friction,26),mass:f(k.mass,1),duration:k.duration,easing:f(k.easing,(function(e){return e})),decay:k.decay}),L))}return R?e:(y&&(E.setValue(1,!1),S.updateConfig({output:[D,D]})),E.done=!0,t.hasChanged=!0,o({},e,((M={})[r]=o({},e[r],{previous:D}),M)))}),this.animations),this.hasChanged)for(var j in this.configs=Object.values(this.animations),this.values={},this.interpolations={},this.animations)this.interpolations[j]=this.animations[j].interpolation,this.values[j]=this.animations[j].interpolation.getValue();return this},t.destroy=function(){this.stop(),this.props={},this.merged={},this.animations={},this.interpolations={},this.values={},this.configs=[],this.local=0},e}(),U=function(e,t){var n=i.useRef(!1),r=i.useRef(),o=u.fun(t),a=i.useMemo((function(){var n;return r.current&&(r.current.map((function(e){return e.destroy()})),r.current=void 0),[new Array(e).fill().map((function(e,r){var a=new K,i=o?h(t,r,a):t[r];return 0===r&&(n=i.ref),a.update(i),n||a.start(),a})),n]}),[e]),s=a[0],c=a[1];r.current=s;i.useImperativeHandle(c,(function(){return{start:function(){return Promise.all(r.current.map((function(e){return new Promise((function(t){return e.start(t)}))})))},stop:function(e){return r.current.forEach((function(t){return t.stop(e)}))},get controllers(){return r.current}}}));var l=i.useMemo((function(){return function(e){return r.current.map((function(t,n){t.update(o?h(e,n,t):e[n]),c||t.start()}))}}),[e]);i.useEffect((function(){n.current?o||l(t):c||r.current.forEach((function(e){return e.start()}))})),i.useEffect((function(){return n.current=!0,function(){return r.current.forEach((function(e){return e.destroy()}))}}),[]);var d=r.current.map((function(e){return e.getValues()}));return o?[d,l,function(e){return r.current.forEach((function(t){return t.pause(e)}))}]:d},G=0,q=function(e,t){return("function"==typeof t?e.map(t):p(t)).map(String)},$=function(e){var t=e.items,n=e.keys,r=void 0===n?function(e){return e}:n,i=a(e,["items","keys"]);return t=p(void 0!==t?t:null),o({items:t,keys:q(t,r)},i)};function Y(e,t){var n=function(){if(o){if(a>=r.length)return"break";i=r[a++]}else{if((a=r.next()).done)return"break";i=a.value}var n=i.key,s=function(e){return e.key!==n};(u.und(t)||t===n)&&(e.current.instances.delete(n),e.current.transitions=e.current.transitions.filter(s),e.current.deleted=e.current.deleted.filter(s))},r=e.current.deleted,o=Array.isArray(r),a=0;for(r=o?r:r[Symbol.iterator]();;){var i;if("break"===n())break}e.current.forceUpdate()}var Z=function(e){function t(t){var n;return void 0===t&&(t={}),n=e.call(this)||this,!t.transform||t.transform instanceof v||(t=m.transform(t)),n.payload=t,n}return c(t,e),t}(O),X={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},J="[-+]?\\d*\\.?\\d+";function Q(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return"\\(\\s*("+t.join(")\\s*,\\s*(")+")\\s*\\)"}var ee=new RegExp("rgb"+Q(J,J,J)),te=new RegExp("rgba"+Q(J,J,J,J)),ne=new RegExp("hsl"+Q(J,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%")),re=new RegExp("hsla"+Q(J,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%",J)),oe=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,ae=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,ie=/^#([0-9a-fA-F]{6})$/,se=/^#([0-9a-fA-F]{8})$/;function ce(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 le(e,t,n){var r=n<.5?n*(1+t):n+t-n*t,o=2*n-r,a=ce(o,r,e+1/3),i=ce(o,r,e),s=ce(o,r,e-1/3);return Math.round(255*a)<<24|Math.round(255*i)<<16|Math.round(255*s)<<8}function ue(e){var t=parseInt(e,10);return t<0?0:t>255?255:t}function de(e){return(parseFloat(e)%360+360)%360/360}function fe(e){var t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function pe(e){var t=parseFloat(e);return t<0?0:t>100?1:t/100}function he(e){var t,n,r="number"==typeof(t=e)?t>>>0===t&&t>=0&&t<=4294967295?t:null:(n=ie.exec(t))?parseInt(n[1]+"ff",16)>>>0:X.hasOwnProperty(t)?X[t]:(n=ee.exec(t))?(ue(n[1])<<24|ue(n[2])<<16|ue(n[3])<<8|255)>>>0:(n=te.exec(t))?(ue(n[1])<<24|ue(n[2])<<16|ue(n[3])<<8|fe(n[4]))>>>0:(n=oe.exec(t))?parseInt(n[1]+n[1]+n[2]+n[2]+n[3]+n[3]+"ff",16)>>>0:(n=se.exec(t))?parseInt(n[1],16)>>>0:(n=ae.exec(t))?parseInt(n[1]+n[1]+n[2]+n[2]+n[3]+n[3]+n[4]+n[4],16)>>>0:(n=ne.exec(t))?(255|le(de(n[1]),pe(n[2]),pe(n[3])))>>>0:(n=re.exec(t))?(le(de(n[1]),pe(n[2]),pe(n[3]))|fe(n[4]))>>>0:null;return null===r?e:"rgba("+((4278190080&(r=r||0))>>>24)+", "+((16711680&r)>>>16)+", "+((65280&r)>>>8)+", "+(255&r)/255+")"}var be=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,me=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,ge=new RegExp("("+Object.keys(X).join("|")+")","g"),ve={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},ye=["Webkit","Ms","Moz","O"];function Oe(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||ve.hasOwnProperty(e)&&ve[e]?(""+t).trim():t+"px"}ve=Object.keys(ve).reduce((function(e,t){return ye.forEach((function(n){return e[function(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}(n,t)]=e[t]})),e}),ve);var je={};T((function(e){return new Z(e)})),P("div"),E((function(e){var t=e.output.map((function(e){return e.replace(me,he)})).map((function(e){return e.replace(ge,he)})),n=t[0].match(be).map((function(){return[]}));t.forEach((function(e){e.match(be).forEach((function(e,t){return n[t].push(+e)}))}));var r=t[0].match(be).map((function(t,r){return z(o({},e,{output:n[r]}))}));return function(e){var n=0;return t[0].replace(be,(function(){return r[n++](e)})).replace(/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,(function(e,t,n,r,o){return"rgba("+Math.round(t)+", "+Math.round(n)+", "+Math.round(r)+", "+o+")"}))}})),_(X),j((function(e,t){if(!e.nodeType||void 0===e.setAttribute)return!1;var n=t.style,r=t.children,o=t.scrollTop,i=t.scrollLeft,s=a(t,["style","children","scrollTop","scrollLeft"]),c="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName;for(var l in void 0!==o&&(e.scrollTop=o),void 0!==i&&(e.scrollLeft=i),void 0!==r&&(e.textContent=r),n)if(n.hasOwnProperty(l)){var u=0===l.indexOf("--"),d=Oe(l,n[l],u);"float"===l&&(l="cssFloat"),u?e.style.setProperty(l,d):e.style[l]=d}for(var f in s){var p=c?f:je[f]||(je[f]=f.replace(/([A-Z])/g,(function(e){return"-"+e.toLowerCase()})));void 0!==e.getAttribute(p)&&e.setAttribute(p,s[f])}}),(function(e){return e}));var _e,we,ke=(_e=function(e){return i.forwardRef((function(t,n){var r=d(),c=i.useRef(!0),l=i.useRef(null),f=i.useRef(null),p=i.useCallback((function(e){var t=l.current;l.current=new A(e,(function(){var e=!1;f.current&&(e=m.fn(f.current,l.current.getAnimatedValue())),f.current&&!1!==e||r()})),t&&t.detach()}),[]);i.useEffect((function(){return function(){c.current=!1,l.current&&l.current.detach()}}),[]),i.useImperativeHandle(n,(function(){return I(f,c,r)})),p(t);var h,b=l.current.getValue(),g=(b.scrollTop,b.scrollLeft,a(b,["scrollTop","scrollLeft"])),v=(h=e,!u.fun(h)||h.prototype instanceof s.Component?function(e){return f.current=function(e,t){return t&&(u.fun(t)?t(e):u.obj(t)&&(t.current=e)),e}(e,n)}:void 0);return s.createElement(e,o({},g,{ref:v}))}))},void 0===(we=!1)&&(we=!0),function(e){return(u.arr(e)?e:Object.keys(e)).reduce((function(e,t){var n=we?t[0].toLowerCase()+t.substring(1):t;return e[n]=_e(n),e}),_e)}),xe=ke(["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"]);t.apply=ke,t.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}},t.update=F,t.animated=xe,t.a=xe,t.interpolate=function(e,t,n){return e&&new B(e,t,n)},t.Globals=R,t.useSpring=function(e){var t=u.fun(e),n=U(1,t?e:[e]),r=n[0],o=n[1],a=n[2];return t?[r[0],o,a]:r},t.useTrail=function(e,t){var n=i.useRef(!1),r=u.fun(t),a=h(t),s=i.useRef(),c=U(e,(function(e,t){return 0===e&&(s.current=[]),s.current.push(t),o({},a,{config:h(a.config,e),attach:e>0&&function(){return s.current[e-1]}})})),l=c[0],d=c[1],f=c[2],p=i.useMemo((function(){return function(e){return d((function(t,n){e.reverse;var r=e.reverse?t+1:t-1,i=s.current[r];return o({},e,{config:h(e.config||a.config,t),attach:i&&function(){return i}})}))}}),[e,a.reverse]);return i.useEffect((function(){n.current&&!r&&p(t)})),i.useEffect((function(){n.current=!0}),[]),r?[l,p,f]:l},t.useTransition=function(e,t,n){var r=o({items:e,keys:t||function(e){return e}},n),s=$(r),c=s.lazy,l=void 0!==c&&c,u=(s.unique,s.reset),f=void 0!==u&&u,p=(s.enter,s.leave,s.update,s.onDestroyed),b=(s.keys,s.items,s.onFrame),m=s.onRest,g=s.onStart,v=s.ref,y=a(s,["lazy","unique","reset","enter","leave","update","onDestroyed","keys","items","onFrame","onRest","onStart","ref"]),O=d(),j=i.useRef(!1),_=i.useRef({mounted:!1,first:!0,deleted:[],current:{},transitions:[],prevProps:{},paused:!!r.ref,instances:!j.current&&new Map,forceUpdate:O});return i.useImperativeHandle(r.ref,(function(){return{start:function(){return Promise.all(Array.from(_.current.instances).map((function(e){var t=e[1];return new Promise((function(e){return t.start(e)}))})))},stop:function(e){return Array.from(_.current.instances).forEach((function(t){return t[1].stop(e)}))},get controllers(){return Array.from(_.current.instances).map((function(e){return e[1]}))}}})),_.current=function(e,t){var n=e.first,r=e.prevProps,i=a(e,["first","prevProps"]),s=$(t),c=s.items,l=s.keys,u=s.initial,d=s.from,f=s.enter,p=s.leave,b=s.update,m=s.trail,g=void 0===m?0:m,v=s.unique,y=s.config,O=s.order,j=void 0===O?["enter","leave","update"]:O,_=$(r),w=_.keys,k=_.items,x=o({},i.current),E=[].concat(i.deleted),S=Object.keys(x),C=new Set(S),P=new Set(l),D=l.filter((function(e){return!C.has(e)})),M=i.transitions.filter((function(e){return!e.destroyed&&!P.has(e.originalKey)})).map((function(e){return e.originalKey})),I=l.filter((function(e){return C.has(e)})),T=-g;for(;j.length;){switch(j.shift()){case"enter":D.forEach((function(e,t){v&&E.find((function(t){return t.originalKey===e}))&&(E=E.filter((function(t){return t.originalKey!==e})));var r=l.indexOf(e),o=c[r],a=n&&void 0!==u?"initial":"enter";x[e]={slot:a,originalKey:e,key:v?String(e):G++,item:o,trail:T+=g,config:h(y,o,a),from:h(n&&void 0!==u?u||{}:d,o),to:h(f,o)}}));break;case"leave":M.forEach((function(e){var t=w.indexOf(e),n=k[t];E.unshift(o({},x[e],{slot:"leave",destroyed:!0,left:w[Math.max(0,t-1)],right:w[Math.min(w.length,t+1)],trail:T+=g,config:h(y,n,"leave"),to:h(p,n)})),delete x[e]}));break;case"update":I.forEach((function(e){var t=l.indexOf(e),n=c[t];x[e]=o({},x[e],{item:n,slot:"update",trail:T+=g,config:h(y,n,"update"),to:h(b,n)})}))}}var R=l.map((function(e){return x[e]}));return E.forEach((function(e){var t,n=e.left,r=(e.right,a(e,["left","right"]));-1!==(t=R.findIndex((function(e){return e.originalKey===n})))&&(t+=1),t=Math.max(0,t),R=[].concat(R.slice(0,t),[r],R.slice(t))})),o({},i,{changed:D.length||M.length||I.length,first:n&&0===D.length,transitions:R,current:x,deleted:E,prevProps:t})}(_.current,r),_.current.changed&&_.current.transitions.forEach((function(e){var t=e.slot,n=e.from,r=e.to,a=e.config,i=e.trail,s=e.key,c=e.item;_.current.instances.has(s)||_.current.instances.set(s,new K);var u=_.current.instances.get(s),d=o({},y,{to:r,from:n,config:a,ref:v,onRest:function(n){_.current.mounted&&(e.destroyed&&(v||l||Y(_,s),p&&p(c)),!Array.from(_.current.instances).some((function(e){return!e[1].idle}))&&(v||l)&&_.current.deleted.length>0&&Y(_),m&&m(c,t,n))},onStart:g&&function(){return g(c,t)},onFrame:b&&function(e){return b(c,t,e)},delay:i,reset:f&&"enter"===t});u.update(d),_.current.paused||u.start()})),i.useEffect((function(){return _.current.mounted=j.current=!0,function(){_.current.mounted=j.current=!1,Array.from(_.current.instances).map((function(e){return e[1].destroy()})),_.current.instances.clear()}}),[]),_.current.transitions.map((function(e){var t=e.item,n=e.slot,r=e.key;return{item:t,key:r,state:n,props:_.current.instances.get(r).getValues()}}))},t.useChain=function(e,t,n){void 0===n&&(n=1e3);var r=i.useRef();i.useEffect((function(){u.equ(e,r.current)?e.forEach((function(e){var t=e.current;return t&&t.start()})):t?e.forEach((function(e,r){var a=e.current;if(a){var i=a.controllers;if(i.length){var s=n*t[r];i.forEach((function(e){e.queue=e.queue.map((function(e){return o({},e,{delay:e.delay+s})})),e.start()}))}}})):e.reduce((function(e,t,n){var r=t.current;return e.then((function(){return r.start()}))}),Promise.resolve()),r.current=e}))},t.useSprings=U},ZbWB:function(e,t,n){"use strict";var r=n("rZ7t")("RegExp.prototype.test"),o=n("hZ2/");e.exports=function(e){return o(r,e)}},Zss7:function(e,t,n){var r;!function(o){var a=/^\s+/,i=/\s+$/,s=0,c=o.round,l=o.min,u=o.max,d=o.random;function f(e,t){if(t=t||{},(e=e||"")instanceof f)return e;if(!(this instanceof f))return new f(e,t);var n=function(e){var t={r:0,g:0,b:0},n=1,r=null,s=null,c=null,d=!1,f=!1;"string"==typeof e&&(e=function(e){e=e.replace(a,"").replace(i,"").toLowerCase();var t,n=!1;if(D[e])e=D[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=W.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=W.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=W.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=W.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=W.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=W.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=W.hex8.exec(e))return{r:A(t[1]),g:A(t[2]),b:A(t[3]),a:z(t[4]),format:n?"name":"hex8"};if(t=W.hex6.exec(e))return{r:A(t[1]),g:A(t[2]),b:A(t[3]),format:n?"name":"hex"};if(t=W.hex4.exec(e))return{r:A(t[1]+""+t[1]),g:A(t[2]+""+t[2]),b:A(t[3]+""+t[3]),a:z(t[4]+""+t[4]),format:n?"name":"hex8"};if(t=W.hex3.exec(e))return{r:A(t[1]+""+t[1]),g:A(t[2]+""+t[2]),b:A(t[3]+""+t[3]),format:n?"name":"hex"};return!1}(e));"object"==typeof e&&(K(e.r)&&K(e.g)&&K(e.b)?(p=e.r,h=e.g,b=e.b,t={r:255*T(p,255),g:255*T(h,255),b:255*T(b,255)},d=!0,f="%"===String(e.r).substr(-1)?"prgb":"rgb"):K(e.h)&&K(e.s)&&K(e.v)?(r=L(e.s),s=L(e.v),t=function(e,t,n){e=6*T(e,360),t=T(t,100),n=T(n,100);var r=o.floor(e),a=e-r,i=n*(1-t),s=n*(1-a*t),c=n*(1-(1-a)*t),l=r%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]}}(e.h,r,s),d=!0,f="hsv"):K(e.h)&&K(e.s)&&K(e.l)&&(r=L(e.s),c=L(e.l),t=function(e,t,n){var r,o,a;function i(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}if(e=T(e,360),t=T(t,100),n=T(n,100),0===t)r=o=a=n;else{var s=n<.5?n*(1+t):n+t-n*t,c=2*n-s;r=i(c,s,e+1/3),o=i(c,s,e),a=i(c,s,e-1/3)}return{r:255*r,g:255*o,b:255*a}}(e.h,r,c),d=!0,f="hsl"),e.hasOwnProperty("a")&&(n=e.a));var p,h,b;return n=I(n),{ok:d,format:e.format||f,r:l(255,u(t.r,0)),g:l(255,u(t.g,0)),b:l(255,u(t.b,0)),a:n}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=c(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=c(this._r)),this._g<1&&(this._g=c(this._g)),this._b<1&&(this._b=c(this._b)),this._ok=n.ok,this._tc_id=s++}function p(e,t,n){e=T(e,255),t=T(t,255),n=T(n,255);var r,o,a=u(e,t,n),i=l(e,t,n),s=(a+i)/2;if(a==i)r=o=0;else{var c=a-i;switch(o=s>.5?c/(2-a-i):c/(a+i),a){case e:r=(t-n)/c+(t<n?6:0);break;case t:r=(n-e)/c+2;break;case n:r=(e-t)/c+4}r/=6}return{h:r,s:o,l:s}}function h(e,t,n){e=T(e,255),t=T(t,255),n=T(n,255);var r,o,a=u(e,t,n),i=l(e,t,n),s=a,c=a-i;if(o=0===a?0:c/a,a==i)r=0;else{switch(a){case e:r=(t-n)/c+(t<n?6:0);break;case t:r=(n-e)/c+2;break;case n:r=(e-t)/c+4}r/=6}return{h:r,s:o,v:s}}function b(e,t,n,r){var o=[N(c(e).toString(16)),N(c(t).toString(16)),N(c(n).toString(16))];return r&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function m(e,t,n,r){return[N(F(r)),N(c(e).toString(16)),N(c(t).toString(16)),N(c(n).toString(16))].join("")}function g(e,t){t=0===t?0:t||10;var n=f(e).toHsl();return n.s-=t/100,n.s=R(n.s),f(n)}function v(e,t){t=0===t?0:t||10;var n=f(e).toHsl();return n.s+=t/100,n.s=R(n.s),f(n)}function y(e){return f(e).desaturate(100)}function O(e,t){t=0===t?0:t||10;var n=f(e).toHsl();return n.l+=t/100,n.l=R(n.l),f(n)}function j(e,t){t=0===t?0:t||10;var n=f(e).toRgb();return n.r=u(0,l(255,n.r-c(-t/100*255))),n.g=u(0,l(255,n.g-c(-t/100*255))),n.b=u(0,l(255,n.b-c(-t/100*255))),f(n)}function _(e,t){t=0===t?0:t||10;var n=f(e).toHsl();return n.l-=t/100,n.l=R(n.l),f(n)}function w(e,t){var n=f(e).toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,f(n)}function k(e){var t=f(e).toHsl();return t.h=(t.h+180)%360,f(t)}function x(e){var t=f(e).toHsl(),n=t.h;return[f(e),f({h:(n+120)%360,s:t.s,l:t.l}),f({h:(n+240)%360,s:t.s,l:t.l})]}function E(e){var t=f(e).toHsl(),n=t.h;return[f(e),f({h:(n+90)%360,s:t.s,l:t.l}),f({h:(n+180)%360,s:t.s,l:t.l}),f({h:(n+270)%360,s:t.s,l:t.l})]}function S(e){var t=f(e).toHsl(),n=t.h;return[f(e),f({h:(n+72)%360,s:t.s,l:t.l}),f({h:(n+216)%360,s:t.s,l:t.l})]}function C(e,t,n){t=t||6,n=n||30;var r=f(e).toHsl(),o=360/n,a=[f(e)];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,a.push(f(r));return a}function P(e,t){t=t||6;for(var n=f(e).toHsv(),r=n.h,o=n.s,a=n.v,i=[],s=1/t;t--;)i.push(f({h:r,s:o,v:a})),a=(a+s)%1;return i}f.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r=this.toRgb();return e=r.r/255,t=r.g/255,n=r.b/255,.2126*(e<=.03928?e/12.92:o.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:o.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:o.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=I(e),this._roundA=c(100*this._a)/100,this},toHsv:function(){var e=h(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=h(this._r,this._g,this._b),t=c(360*e.h),n=c(100*e.s),r=c(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=p(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=p(this._r,this._g,this._b),t=c(360*e.h),n=c(100*e.s),r=c(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return b(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,r,o){var a=[N(c(e).toString(16)),N(c(t).toString(16)),N(c(n).toString(16)),N(F(r))];if(o&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)&&a[3].charAt(0)==a[3].charAt(1))return a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0);return a.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:c(this._r),g:c(this._g),b:c(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+c(this._r)+", "+c(this._g)+", "+c(this._b)+")":"rgba("+c(this._r)+", "+c(this._g)+", "+c(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:c(100*T(this._r,255))+"%",g:c(100*T(this._g,255))+"%",b:c(100*T(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+c(100*T(this._r,255))+"%, "+c(100*T(this._g,255))+"%, "+c(100*T(this._b,255))+"%)":"rgba("+c(100*T(this._r,255))+"%, "+c(100*T(this._g,255))+"%, "+c(100*T(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(M[b(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+m(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var o=f(e);n="#"+m(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return f(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(O,arguments)},brighten:function(){return this._applyModification(j,arguments)},darken:function(){return this._applyModification(_,arguments)},desaturate:function(){return this._applyModification(g,arguments)},saturate:function(){return this._applyModification(v,arguments)},greyscale:function(){return this._applyModification(y,arguments)},spin:function(){return this._applyModification(w,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(C,arguments)},complement:function(){return this._applyCombination(k,arguments)},monochromatic:function(){return this._applyCombination(P,arguments)},splitcomplement:function(){return this._applyCombination(S,arguments)},triad:function(){return this._applyCombination(x,arguments)},tetrad:function(){return this._applyCombination(E,arguments)}},f.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:L(e[r]));e=n}return f(e,t)},f.equals=function(e,t){return!(!e||!t)&&f(e).toRgbString()==f(t).toRgbString()},f.random=function(){return f.fromRatio({r:d(),g:d(),b:d()})},f.mix=function(e,t,n){n=0===n?0:n||50;var r=f(e).toRgb(),o=f(t).toRgb(),a=n/100;return f({r:(o.r-r.r)*a+r.r,g:(o.g-r.g)*a+r.g,b:(o.b-r.b)*a+r.b,a:(o.a-r.a)*a+r.a})},f.readability=function(e,t){var n=f(e),r=f(t);return(o.max(n.getLuminance(),r.getLuminance())+.05)/(o.min(n.getLuminance(),r.getLuminance())+.05)},f.isReadable=function(e,t,n){var r,o,a=f.readability(e,t);switch(o=!1,(r=function(e){var t,n;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==n&&"large"!==n&&(n="small");return{level:t,size:n}}(n)).level+r.size){case"AAsmall":case"AAAlarge":o=a>=4.5;break;case"AAlarge":o=a>=3;break;case"AAAsmall":o=a>=7}return o},f.mostReadable=function(e,t,n){var r,o,a,i,s=null,c=0;o=(n=n||{}).includeFallbackColors,a=n.level,i=n.size;for(var l=0;l<t.length;l++)(r=f.readability(e,t[l]))>c&&(c=r,s=f(t[l]));return f.isReadable(e,s,{level:a,size:i})||!o?s:(n.includeFallbackColors=!1,f.mostReadable(e,["#fff","#000"],n))};var D=f.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},M=f.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(D);function I(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function T(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=l(t,u(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),o.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function R(e){return l(1,u(0,e))}function A(e){return parseInt(e,16)}function N(e){return 1==e.length?"0"+e:""+e}function L(e){return e<=1&&(e=100*e+"%"),e}function F(e){return o.round(255*parseFloat(e)).toString(16)}function z(e){return A(e)/255}var B,H,V,W=(H="[\\s|\\(]+("+(B="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+B+")[,|\\s]+("+B+")\\s*\\)?",V="[\\s|\\(]+("+B+")[,|\\s]+("+B+")[,|\\s]+("+B+")[,|\\s]+("+B+")\\s*\\)?",{CSS_UNIT:new RegExp(B),rgb:new RegExp("rgb"+H),rgba:new RegExp("rgba"+V),hsl:new RegExp("hsl"+H),hsla:new RegExp("hsla"+V),hsv:new RegExp("hsv"+H),hsva:new RegExp("hsva"+V),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function K(e){return!!W.CSS_UNIT.exec(e)}e.exports?e.exports=f:void 0===(r=function(){return f}.call(t,n,t,e))||(e.exports=r)}(Math)},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({children:t,as:n,...s},c){const l=Object(o.useContext)(i.a);if("function"!=typeof t&&!n)return void 0!==e&&e.env,null;const u={...s,ref:c,"data-toolbar-item":!0};return l?Object(o.createElement)(a.a,Object(r.a)({},l,u,{as:n}),t):n?Object(o.createElement)(n,u,t):t(u)}))}).call(this,n("8oxB"))},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),s=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)))},c=Math.max(0,t.length-i.length),l=[],u=0;u<c;u++)l.push("$"+u);if(n=Function("binder","return function ("+l.join(",")+"){ return binder.apply(this,arguments); }")(s),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}},aenO:function(e,t,n){"use strict";var r=n("rZ7t")("%TypeError%"),o=n("i10q"),a=n("V1cy");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}},agUq:function(e,t,n){"use strict";e.exports=n("Asd8")},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}},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 _})),n.d(t,"c",(function(){return w})),n.d(t,"b",(function(){return k})),n.d(t,"d",(function(){return x}));var r=n("wx14"),o=n("GRId"),a=n("YLtl");var i=Object(o.createContext)({registerSlot:()=>{},unregisterSlot:()=>{},registerFill:()=>{},unregisterFill:()=>{},getSlot:()=>{},getFills:()=>{},subscribe:()=>{}});var s=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 c({name:e,children:t,registerFill:n,unregisterFill:r}){const i=s(e),c=Object(o.useRef)({name:e,children:t});return Object(o.useLayoutEffect)(()=>(n(e,c.current),()=>r(e,c.current)),[]),Object(o.useLayoutEffect)(()=>{c.current.children=t,i&&i.forceUpdate()},[t]),Object(o.useLayoutEffect)(()=>{e!==c.current.name&&(r(c.current.name,c.current),c.current.name=e,n(e,c.current))},[e]),i&&i.node?(Object(a.isFunction)(t)&&(t=t(i.props.fillProps)),Object(o.createPortal)(t,i.node)):null}var l=e=>Object(o.createElement)(i.Consumer,null,({registerFill:t,unregisterFill:n})=>Object(o.createElement)(c,Object(r.a)({},e,{registerFill:t,unregisterFill:n})));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,({registerSlot:t,unregisterSlot:n,getFills:a})=>Object(o.createElement)(u,Object(r.a)({},e,{registerSlot:t,unregisterSlot:n,getFills:a}))),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 h({name:e,children:t}){const n=Object(f.a)(e),r=Object(o.useRef)({rerender:p()});return Object(o.useEffect)(()=>(n.registerFill(r),()=>{n.unregisterFill(r)}),[n.registerFill,n.unregisterFill]),n.ref&&n.ref.current?("function"==typeof t&&(t=t(n.fillProps)),Object(o.createPortal)(t,n.ref.current)):null}var b=n("K9lf"),m=n("JYkG");var g=Object(o.forwardRef)((function({name:e,fillProps:t={},as:n="div",...a},i){const s=Object(o.useContext)(m.a),c=Object(o.useRef)();return Object(o.useLayoutEffect)(()=>(s.registerSlot(e,c,t),()=>{s.unregisterSlot(e,c)}),[s.registerSlot,s.unregisterSlot,e]),Object(o.useLayoutEffect)(()=>{s.updateSlot(e,t)}),Object(o.createElement)(n,Object(r.a)({ref:Object(b.useMergeRefs)([i,c])},a))})),v=n("rl8x"),y=n.n(v);function O({children:e}){const t=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})},[]),s=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]),c=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:s,unregisterSlot:i,registerFill:c,unregisterFill:l}),[e,n,a,s,i,c,l])}();return Object(o.createElement)(m.a.Provider,{value:t},e)}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 _(e){return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(l,e),Object(o.createElement)(h,e))}const w=Object(o.forwardRef)(({bubblesVirtually:e,...t},n)=>e?Object(o.createElement)(g,Object(r.a)({},t,{ref:n})):Object(o.createElement)(d,t));function k({children:e,...t}){return Object(o.createElement)(j,t,Object(o.createElement)(O,null,e))}function x(e){const t=t=>Object(o.createElement)(_,Object(r.a)({name:e},t));t.displayName=e+"Fill";const n=t=>Object(o.createElement)(w,Object(r.a)({name:e},t));return n.displayName=e+"Slot",n.__unstableName=e,{Fill:t,Slot:n}}},ddK1:function(e,t,n){"use strict";var r=n("Wfh+"),o=n("xCFm");e.exports=function(e){var t=o(e);return 0!==t&&(t=r(t)),0===t?0:t}},eBsn:function(e,t,n){"use strict";var r=n("oNNP"),o=n("rZ7t")("%TypeError%"),a=n("V1cy"),i=n("kvlw"),s=n("agUq");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&&!s(n))throw new o("getter must be a function");t["[[Get]]"]=n}if(r(e,"set")){var c=e.set;if(void 0!==c&&!s(c))throw new o("setter must be a function");t["[[Set]]"]=c}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}},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}},eOFJ:function(e,t,n){"use strict";var r=n("rZ7t")("%TypeError%"),o=n("Qmvf"),a=n("wTIp"),i=n("zYbv"),s=n("z3X9"),c=n("CGNl"),l=n("i10q"),u=n("HI8u"),d=n("eBsn"),f=n("V1cy");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:c,IsAccessorDescriptor:s},n)?n:d(n);if(!o({Type:f,IsDataDescriptor:c,IsAccessorDescriptor:s},p))throw new r("Assertion failed: Desc is not a valid Property Descriptor");return a(c,u,i,e,t,p)}},eUCI:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("cDcd"),o=Object(r.createContext)({})},fW1L:function(e,t,n){"use strict";var r=n("rZ7t"),o=n("EXo9"),a=r("%TypeError%"),i=n("9cOx"),s=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 s(e,t,n)}},g56x:function(e,t){e.exports=window.wp.hooks},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(),s=n===o,c=r===i;return s&&c?e.date()<t.date():s?r<i:n<o};var r,o=n("wy2R"),a=(r=o)&&r.__esModule?r:{default:r}},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+"),s=n("Ptb8");function c(e){var t;if(!Object(s.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=[]),!c(e.state))return l(e,t);var n=l(e,[].concat(t,["state"])),r=n[0],o=n[1],a=r.state,s=Object(i.a)(r,["state"]);return[Object(i.b)(Object(i.b)({},a),s),o]}var d=n("uqqE");function f(e){return"normalizePropsAreEqualInner"===e.name?e:function(t,n){return c(t.state)&&c(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,s=e.memo,c=e.propsAreEqual,l=void 0===c?null==i?void 0:i.unstable_propsAreEqual:c,p=e.keys,h=void 0===p?(null==i?void 0:i.__keys)||[]:p,b=e.useCreateElement,m=void 0===b?a.a:b,g=function(e,t){var r=e.as,a=void 0===r?n:r,s=Object(o.b)(e,["as"]);if(i){var c,l=u(s,h),d=l[0],f=l[1],p=i(d,Object(o.a)({ref:t},f)),b=p.wrapElement,g=Object(o.b)(p,["wrapElement"]),v=(null===(c=a.render)||void 0===c?void 0:c.__keys)||a.__keys,y=v&&u(s,v)[0],O=y?Object(o.a)(Object(o.a)({},g),y):g,j=m(a,O);return b?b(j):j}return m(a,Object(o.a)({ref:t},s))};return t=g,g=Object(r.forwardRef)(t),s&&(g=function(e,t){return Object(r.memo)(e,t)}(g,l&&f(l))),g.__keys=h,g.unstable_propsAreEqual=f(l||d.a),g}},"hZ2/":function(e,t,n){"use strict";var r=n("D3zA"),o=n("rZ7t"),a=o("%Function.prototype.apply%"),i=o("%Function.prototype.call%"),s=o("%Reflect.apply%",!0)||r.call(i,a),c=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=s(r,i,arguments);if(c&&l){var n=c(t,"length");n.configurable&&l(t,"length",{value:1+u(0,e.length-(arguments.length-1))})}return t};var d=function(){return s(r,a,arguments)};l?l(e.exports,"apply",{value:d}):e.exports.apply=d},i10q:function(e,t,n){"use strict";e.exports=function(e){return"string"==typeof e||"symbol"==typeof e}},"iB/h":function(e,t,n){"use strict";(function(e){var r=n("GRId"),o=n("YLtl"),a=n("TSYQ"),i=n.n(a),s=n("gdqT"),c=n("l3Sj"),l=(n("Z23Y"),n("kA6J"));t.a=Object(r.forwardRef)((function({className:t,children:n,spokenMessage:a=n,politeness:u="polite",actions:d=[],onRemove:f=o.noop,icon:p=null,explicitDismiss:h=!1,onDismiss:b=o.noop},m){function g(e){e&&e.preventDefault&&e.preventDefault(),b(),f()}b=b||o.noop,function(e,t){const n="string"==typeof e?e:Object(r.renderToString)(e);Object(r.useEffect)(()=>{n&&Object(s.speak)(n,t)},[n,t])}(a,u),Object(r.useEffect)(()=>{const e=setTimeout(()=>{h||(b(),f())},1e4);return()=>clearTimeout(e)},[b,f]);const v=i()(t,"components-snackbar",{"components-snackbar-explicit-dismiss":!!h});d&&d.length>1&&(void 0!==e&&e.env,d=[d[0]]);const y=i()("components-snackbar__content",{"components-snackbar__content-with-icon":!!p});return Object(r.createElement)("div",{ref:m,className:v,onClick:h?o.noop:g,tabIndex:"0",role:h?"":"button",onKeyPress:h?o.noop:g,"aria-label":h?"":Object(c.__)("Dismiss this notice")},Object(r.createElement)("div",{className:y},p&&Object(r.createElement)("div",{className:"components-snackbar__icon"},p),n,d.map(({label:e,onClick:t,url:n},o)=>Object(r.createElement)(l.a,{key:o,href:n,isTertiary:!0,onClick:e=>function(e,t){e.stopPropagation(),f(),t&&t(e)}(e,t),className:"components-snackbar__action"},e)),h&&Object(r.createElement)("span",{role:"button","aria-label":"Dismiss this notice",tabIndex:"0",className:"components-snackbar__dismiss-button",onClick:g,onKeyPress:g},"✕")))}))}).call(this,n("8oxB"))},iClF:function(e,t,n){"use strict";var r=n("GRId");t.a=function({icon:e,size:t=24,...n}){return Object(r.cloneElement)(e,{width:t,height:t,...n})}},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,s,c,l,u,d,f){var p=c[l],h=typeof p,b=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!==b)return b;if(t&&!t(p))return new Error(n.invalidTypeCore+": `"+l+"` of type `"+h+"` supplied to `"+u+"`, expected `"+e+"`.");if(!a(p))return new Error(n.baseInvalidMessage+d+" `"+l+"` of type `"+h+"` supplied to `"+u+"`, expected `"+i+"`.");if(s&&!s(p)){var m=s.name||n.anonymousMessage;return new Error(n.baseInvalidMessage+d+" `"+l+"` of type `"+h+"` supplied to `"+u+"`. "+n.predicateFailureCore+" `"+m+"`.")}return null}))},messages:n}},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,s=e.offsetWidth,c=e.offsetHeight,l="width"===t?s:c;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}},iz0l:function(e,t,n){"use strict";var r=n("rZ7t")("%TypeError%"),o=n("yyeE"),a=n("fW1L"),i=n("WvKp"),s=n("3aeR"),c=n("aenO"),l=n("9cOx"),u=n("y9oe"),d=n("Hx/O");e.exports=function e(t,n,f,p,h){var b;arguments.length>5&&(b=arguments[5]);for(var m=p,g=0;g<f;){var v=d(g),y=c(n,v);if(!0===y){var O=s(n,v);if(void 0!==b){if(arguments.length<=6)throw new r("Assertion failed: thisArg is required when mapperFunction is provided");O=a(b,arguments[6],[O,g,n])}var j=!1;if(h>0&&(j=l(O)),j){var _=u(O);m=e(t,O,_,m,h-1)}else{if(m>=o)throw new r("index too large");i(t,d(m),O),m+=1}}g+=1}return m}},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 s(e){return a(e,!0)}function c(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+=s(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 h(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 b=["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 g(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 s=void 0;s="border"===o?o+n[i]+"Width":o+n[i],r+=parseFloat(f(e,s))||0}return r}function v(e){return null!=e&&e==e.window}var y={};function O(e,t,n){if(v(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),h(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 s=void 0!==o||a,c=o||i;if(-1===n)return s?c-g(e,["border","padding"],r):i;if(s){var l=2===n?-g(e,["border"],r):g(e,["margin"],r);return c+(1===n?0:l)}return i+g(e,b.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 _(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 w(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)&&w(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&&_(t,e,n?0:1)};var n="width"===e?["Left","Right"]:["Top","Bottom"];y[e]=function(t,r){if(void 0===r)return t&&_(t,e,-1);if(t){f(t);return h(t)&&(r+=g(t,["padding","border"],n)),w(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 c(e);!function(e,t){"static"===w(e,"position")&&(e.style.position="relative");var n=c(e),r={},o=void 0,a=void 0;for(a in t)t.hasOwnProperty(a)&&(o=parseFloat(w(e,a))||0,r[a]=o+t[a]-n[a]);w(e,r)}(e,t)},isWindow:v,each:p,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(v(e)){if(void 0===t)return i(e);window.scrollTo(t,s(e))}else{if(void 0===t)return e.scrollLeft;e.scrollLeft=t}},scrollTop:function(e,t){if(v(e)){if(void 0===t)return s(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 s}));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 s(){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),s=n("YLtl"),c=n("NMb1"),l=n.n(c),u=n("W/NR"),d=n("9VDH"),f=n("ldlY");const p=["onMouseDown","onClick"];t.a=Object(o.forwardRef)((function(e,t){const{href:n,target:a,isPrimary:c,isSmall:h,isTertiary:b,isPressed:m,isBusy:g,isDefault:v,isSecondary:y,isLink:O,isDestructive:j,className:_,disabled:w,icon:k,iconPosition:x="left",iconSize:E,showTooltip:S,tooltipPosition:C,shortcut:P,label:D,children:M,text:I,__experimentalIsFocusable:T,describedBy:R,...A}=e;v&&l()("Button isDefault prop",{since:"5.4",alternative:"isSecondary"});const N=i()("components-button",_,{"is-secondary":v||y,"is-primary":c,"is-small":h,"is-tertiary":b,"is-pressed":m,"is-busy":g,"is-link":O,"is-destructive":j,"has-text":!!k&&!!M,"has-icon":!!k}),L=w&&!T,F=void 0===n||L?"button":"a",z="a"===F?{href:n,target:a}:{type:"button",disabled:L,"aria-pressed":m};if(w&&T){z["aria-disabled"]=!0;for(const e of p)A[e]=e=>{e.stopPropagation(),e.preventDefault()}}const B=!L&&(S&&D||P||!!D&&(!M||Object(s.isArray)(M)&&!M.length)&&!1!==S),H=R?Object(s.uniqueId)():null,V=A["aria-describedby"]||H,W=Object(o.createElement)(F,Object(r.a)({},z,A,{className:N,"aria-label":A["aria-label"]||D,"aria-describedby":V,ref:t}),k&&"left"===x&&Object(o.createElement)(d.a,{icon:k,size:E}),I&&Object(o.createElement)(o.Fragment,null,I),k&&"right"===x&&Object(o.createElement)(d.a,{icon:k,size:E}),M);return B?Object(o.createElement)(o.Fragment,null,Object(o.createElement)(u.a,{text:R||D,shortcut:P,position:C},W),R&&Object(o.createElement)(f.a,null,Object(o.createElement)("span",{id:H},R))):Object(o.createElement)(o.Fragment,null,W,R&&Object(o.createElement)(f.a,null,Object(o.createElement)("span",{id:H},R)))}))},kDDq:function(e,t,n){"use strict";n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return u}));var r=n("TqVZ"),o=n("MiSq"),a=n("SIPS");function i(e,t){if(void 0===e.inserted[t.name])return e.insert("",t,e.sheet,!0)}function s(e,t,n){var r=[],o=Object(a.a)(e,r,n);return r.length<2?n:o+t(r)}var c=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},l=function(e){var t=Object(r.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 i=Object(o.a)(n,t.registered,void 0);return Object(a.b)(t,i,!1),t.key+"-"+i.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,c(r))},injectGlobal:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var a=Object(o.a)(n,t.registered);i(t,a)},keyframes:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var a=Object(o.a)(n,t.registered),s="animation-"+a.name;return i(t,{name:a.name,styles:"@keyframes "+s+"{"+a.styles+"}"}),s},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:a.a.bind(null,t.registered),merge:s.bind(null,t.registered,n)}}(),u=(l.flush,l.hydrate,l.cx),d=(l.merge,l.getRegisteredStyles,l.injectGlobal,l.keyframes,l.css);l.sheet,l.cache},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 w})),n.d(t,"b",(function(){return _}));var r=n("BZp5"),o=n("hE48"),a=n("qdes"),i=n("cDcd"),s=n("aU41"),c=(n("KA1K"),n("eNtd")),l=n("k2cL"),u=n("PcHe"),d=n("Vq1w"),f=n("JLmN"),p=n("ouKs"),h=n("iYXd"),b=n("TFuP"),m=n("Mih7"),g=n("4po3"),v=n("AClM"),y=n("ym77"),O=n("0HL0");function j(e){return e.querySelector("[data-composite-item-widget]")}var _=Object(a.a)({name:"CompositeItem",compose:[f.a,y.a],keys:b.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,s=t.unstable_moves,c=Object(r.a)(t,["currentId","unstable_moves"]);if(i!==n){if(t.id===i||t.id===n)return!1}else if(o!==s)return!1;return f.a.unstable_propsAreEqual(a,c)},useOptions:function(e){return Object(r.b)(Object(r.b)({},e),{},{id:e.id,currentId:Object(h.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,h=t.onMouseDown,b=t.onFocus,y=t.onBlurCapture,_=t.onKeyDown,w=t.onClick,k=Object(r.a)(t,["ref","tabIndex","onMouseDown","onFocus","onBlurCapture","onKeyDown","onClick"]),x=Object(i.useRef)(null),E=e.id,S=e.disabled&&!e.focusable,C=e.currentId===E,P=Object(c.a)(C),D=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),I=Object(c.a)(h),T=Object(c.a)(b),R=Object(c.a)(y),A=Object(c.a)(_),N=Object(c.a)(w),L=!e.unstable_virtual&&!e.unstable_hasActiveWidget&&C||!(null!==(n=e.items)&&void 0!==n&&n.length);Object(i.useEffect)((function(){var t;if(E)return null===(t=e.registerItem)||void 0===t||t.call(e,{id:E,ref:x,disabled:!!S}),function(){var t;null===(t=e.unregisterItem)||void 0===t||t.call(e,E)}}),[E,S,e.registerItem,e.unregisterItem]),Object(i.useEffect)((function(){var t=x.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=I.current)||void 0===t||t.call(I,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=T.current)||void 0===n||n.call(T,t),!t.defaultPrevented&&!Object(d.a)(t)&&E&&!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,E),a&&e.unstable_virtual&&e.baseId&&Object(l.a)(t))){var i=t.target,s=Object(p.a)(i).getElementById(e.baseId);s&&(D.current=!0,Object(v.a)(s))}}),[E,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&&D.current&&(D.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 s=j(t.currentTarget);s&&Object(g.a)(s)&&(s.focus(),Object(O.a)(s,""))}else if("Delete"===t.key||"Backspace"===t.key){var c=j(t.currentTarget);c&&Object(g.a)(c)&&(t.preventDefault(),Object(O.a)(c,""))}}}),[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(s.a)(x,o),id:E,tabIndex:L?f:-1,"aria-selected":!(!e.unstable_virtual||!C)||void 0,onMouseDown:F,onFocus:z,onBlurCapture:B,onKeyDown:H,onClick:V},k)}}),w=Object(o.a)({as:"button",memo:!0,useHook:_})},kgBv:function(e,t,n){"use strict";var r=n("rZ7t"),o=n("knm9"),a=r("%TypeError%"),i=n("EXo9")("Object.prototype.propertyIsEnumerable"),s=n("oNNP"),c=n("9cOx"),l=n("i10q"),u=n("yy3d"),d=n("eBsn"),f=n("V1cy");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(s(e,t)){if(!o){var n=c(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))}}},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("rZ7t")("%Object.getOwnPropertyDescriptor%");if(r)try{r([],"length")}catch(e){r=null}e.exports=r},kqkJ: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 a}));n("Nym8");var o="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 r(e,o)&&function(e){var t=e;return t.offsetWidth>0||t.offsetHeight>0||e.getClientRects().length>0}(e)}},kuGu:function(e,t,n){"use strict";var r=n("Jt44")("%Reflect.construct%",!0),o=n("eOFJ");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}},kvlw:function(e,t,n){"use strict";e.exports=function(e){return!!e}},l3Sj:function(e,t){e.exports=window.wp.i18n},lSNA:function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.default=e.exports,e.exports.__esModule=!0},laOf:function(e,t,n){"use strict";var r=n("rZ7t")("%TypeError%");e.exports=function(e,t){if(null==e)throw new r(t||"Cannot call method on "+e);return e}},ldlY:function(e,t,n){"use strict";var r=n("TSYQ"),o=n.n(r),a=n("GRId");var i=n("9NHk");const s=e=>e;var c;t.a=(c=Object(a.forwardRef)((function({as:e="div",className:t,...n},r){return function({as:e="div",...t}){return"function"==typeof t.children?t.children(t):Object(a.createElement)(e,t)}({as:e,className:o()("components-visually-hidden",t),...n,ref:r})})),Object(i.a)(c,void 0,"WPComponentsVisuallyHidden",s))},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=x(n("Koq/")),i=x(n("cDcd")),s=x(n("17x9")),c=x(n("YZDV")),l=x(n("XGBb")),u=n("Hsqg"),d=n("TG4+"),f=x(n("wy2R")),p=n("vV+G"),h=x(n("yc2e")),b=x(n("2Q00")),m=x(n("N3k4")),g=x(n("ixyq")),v=x(n("F7ZS")),y=x(n("pRvc")),O=x(n("pYxT")),j=x(n("J7JS")),_=x(n("aE6U")),w=x(n("2S2E")),k=n("Fv1B");function x(e){return e&&e.__esModule?e:{default:e}}var E=(0,u.forbidExtraProps)((0,a.default)({},d.withStylesPropTypes,{month:l.default.momentObj,horizontalMonthPadding:u.nonNegativeInteger,isVisible:s.default.bool,enableOutsideDays:s.default.bool,modifiers:s.default.objectOf(j.default),orientation:_.default,daySize:u.nonNegativeInteger,onDayClick:s.default.func,onDayMouseEnter:s.default.func,onDayMouseLeave:s.default.func,onMonthSelect:s.default.func,onYearSelect:s.default.func,renderMonthText:(0,u.mutuallyExclusiveProps)(s.default.func,"renderMonthText","renderMonthElement"),renderCalendarDay:s.default.func,renderDayContents:s.default.func,renderMonthElement:(0,u.mutuallyExclusiveProps)(s.default.func,"renderMonthText","renderMonthElement"),firstDayOfWeek:w.default,setMonthTitleHeight:s.default.func,verticalBorderSpacing:u.nonNegativeInteger,focusedDate:l.default.momentObj,isFocused:s.default.bool,monthFormat:s.default.string,phrases:s.default.shape((0,h.default)(p.CalendarDayPhrases)),dayAriaLabelFormat:s.default.string})),S={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 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,v.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,s=o.firstDayOfWeek;t.isSame(a)&&n===i&&r===s||this.setState({weeks:(0,v.default)(t,n,null==r?f.default.localeData().firstDayOfWeek():r)})}},{key:"shouldComponentUpdate",value:function(e,t){return(0,c.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,a=e.horizontalMonthPadding,s=e.isFocused,c=e.isVisible,l=e.modifiers,u=e.month,f=e.monthFormat,p=e.onDayClick,h=e.onDayMouseEnter,m=e.onDayMouseLeave,g=e.onMonthSelect,v=e.onYearSelect,j=e.orientation,_=e.phrases,w=e.renderCalendarDay,x=e.renderDayContents,E=e.renderMonthElement,S=e.renderMonthText,C=e.styles,P=e.verticalBorderSpacing,D=this.state.weeks,M=S?S(u):u.format(f),I=j===k.VERTICAL_SCROLLABLE;return i.default.createElement("div",r({},(0,d.css)(C.CalendarMonth,{padding:"0 "+String(a)+"px"}),{"data-visible":c}),i.default.createElement("div",r({ref:this.setCaptionRef},(0,d.css)(C.CalendarMonth_caption,I&&C.CalendarMonth_caption__verticalScrollable)),E?E({month:u,onMonthSelect:g,onYearSelect:v}):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,D.map((function(e,r){return i.default.createElement(b.default,{key:r},e.map((function(e,r){return w({key:r,day:e,daySize:n,isOutsideDay:!e||e.month()!==u.month(),tabIndex:c&&(0,y.default)(e,o)?0:-1,isFocused:s,onDayMouseEnter:h,onDayMouseLeave:m,onDayClick:p,renderDayContents:x,phrases:_,modifiers:l[(0,O.default)(e)],ariaLabelFormat:t})})))})))))}}]),t}(i.default.Component);C.propTypes=E,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)},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(),s=function(e,t){return i.apply(e,[t])};r(s,{getPolyfill:a,implementation:o,shim:n("Gn0q")}),e.exports=s},nKkb:function(e,t,n){"use strict";var r=n("rZ7t")("%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)}},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),s=n("1CF3"),c=n("RxS6"),l=n("NMb1"),u=n.n(l),d=n("K9lf"),f=n("w95h"),p=n("l3Sj");function h(e,t,n="top",r,o,a,i,s,c){const[l,u="center",d]=n.split(" "),f=function(e,t,n,r,o,a,i,s){const{height:c}=t;if(o){const t=o.getBoundingClientRect().top+c-i;if(e.top<=t)return{yAxis:n,popoverTop:Math.min(e.bottom,t)}}let l=e.top+e.height/2;"bottom"===r?l=e.bottom:"top"===r&&(l=e.top);const u={popoverTop:l,contentHeight:(l-c/2>0?c/2:l)+(l+c/2>window.innerHeight?window.innerHeight-l:c/2)},d={popoverTop:e.top,contentHeight:e.top-10-c>0?c:e.top-10},f={popoverTop:e.bottom,contentHeight:e.bottom+10+c>window.innerHeight?window.innerHeight-10-e.bottom:c};let p,h=n,b=null;if(!o&&!s)if("middle"===n&&u.contentHeight===c)h="middle";else if("top"===n&&d.contentHeight===c)h="top";else if("bottom"===n&&f.contentHeight===c)h="bottom";else{h=d.contentHeight>f.contentHeight?"top":"bottom";const e="top"===h?d.contentHeight:f.contentHeight;b=e!==c?e:null}return p="middle"===h?u.popoverTop:"top"===h?d.popoverTop:f.popoverTop,{yAxis:h,popoverTop:p,contentHeight:b}}(e,t,l,d,r,0,a,s);return{...function(e,t,n,r,o,a,i,s,c){const{width:l}=t;"left"===n&&Object(p.isRTL)()?n="right":"right"===n&&Object(p.isRTL)()&&(n="left"),"left"===r&&Object(p.isRTL)()?r="right":"right"===r&&Object(p.isRTL)()&&(r="left");const u=Math.round(e.left+e.width/2),d={popoverLeft:u,contentWidth:(u-l/2>0?l/2:u)+(u+l/2>window.innerWidth?window.innerWidth-u:l/2)};let f=e.left;"right"===r?f=e.right:"middle"===a||c||(f=u);let h=e.right;"left"===r?h=e.left:"middle"===a||c||(h=u);const b={popoverLeft:f,contentWidth:f-l>0?l:f},m={popoverLeft:h,contentWidth:h+l>window.innerWidth?window.innerWidth-h:l};let g,v=n,y=null;if(!o&&!s)if("center"===n&&d.contentWidth===l)v="center";else if("left"===n&&b.contentWidth===l)v="left";else if("right"===n&&m.contentWidth===l)v="right";else{v=b.contentWidth>m.contentWidth?"left":"right";const e="left"===v?b.contentWidth:m.contentWidth;l>window.innerWidth&&(y=window.innerWidth),e!==l&&(v="center",d.popoverLeft=window.innerWidth/2)}if(g="center"===v?d.popoverLeft:"left"===v?b.popoverLeft:m.popoverLeft,i){const e=i.getBoundingClientRect();g=Math.min(g,e.right-l),Object(p.isRTL)()||(g=Math.max(g,0))}return{xAxis:v,popoverLeft:g,contentWidth:y}}(e,t,u,d,r,f.yAxis,i,s,c),...f}}function b(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 m=n("kA6J"),g=n("k8OV"),v=n("+WFq"),y=n("dSD1"),O=n("L8Kx");function j(e,t){const{paddingTop:n,paddingBottom:r,paddingLeft:o,paddingRight:a}=(i=t).ownerDocument.defaultView.getComputedStyle(i);var i;const s=n?parseInt(n,10):0,c=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+s,width:e.width-l-u,height:e.height-s-c,left:e.left+l,right:e.right-u,top:e.top+s,bottom:e.bottom-c}}function _(e,t,n){n?e.getAttribute(t)!==n&&e.setAttribute(t,n):e.hasAttribute(t)&&e.removeAttribute(t)}function w(e,t,n=""){e.style[t]!==n&&(e.style[t]=n)}function k(e,t,n){n?e.classList.contains(t)||e.classList.add(t):e.classList.contains(t)&&e.classList.remove(t)}const x=Object(o.forwardRef)(({headerTitle:e,onClose:t,children:n,className:a,noArrow:l=!0,isAlternate:p,position:x="bottom right",range:E,focusOnMount:S="firstElement",anchorRef:C,shouldAnchorIncludePadding:P,anchorRect:D,getAnchorRect:M,expandOnMobile:I,animate:T=!0,onClickOutside:R,onFocusOutside:A,__unstableStickyBoundaryElement:N,__unstableSlotName:L="Popover",__unstableObserveElement:F,__unstableBoundaryParent:z,__unstableForcePosition:B,__unstableForceXAlignment:H,...V},W)=>{const K=Object(o.useRef)(null),U=Object(o.useRef)(null),G=Object(o.useRef)(),q=Object(d.useViewportMatch)("medium","<"),[$,Y]=Object(o.useState)(),Z=Object(v.a)(L),X=I&&q,[J,Q]=Object(d.useResizeObserver)();l=X||l,Object(o.useLayoutEffect)(()=>{if(X)return k(G.current,"is-without-arrow",l),k(G.current,"is-alternate",p),_(G.current,"data-x-axis"),_(G.current,"data-y-axis"),w(G.current,"top"),w(G.current,"left"),w(U.current,"maxHeight"),void w(U.current,"maxWidth");const e=()=>{if(!G.current||!U.current)return;let e=function(e,t,n,r=!1,o,a){if(t)return t;if(n){if(!e.current)return;const t=n(e.current);return b(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 b(Object(s.getRectangleFromRange)(r),r.endContainer.ownerDocument,a);if("function"==typeof(null==r?void 0:r.getBoundingClientRect)){const e=b(r.getBoundingClientRect(),r.ownerDocument,a);return o?e:j(e,r)}const{top:e,bottom:t}=r,n=e.getBoundingClientRect(),i=t.getBoundingClientRect(),c=b(new window.DOMRect(n.left,n.top,n.width,i.bottom-n.top),e.ownerDocument,a);return o?c:j(c,r)}if(!e.current)return;const{parentNode:i}=e.current,c=i.getBoundingClientRect();return o?c:j(c,i)}(K,D,M,C,P,G.current);if(!e)return;const{offsetParent:t,ownerDocument:n}=G.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)}var a;z&&(r=null===(a=G.current.closest(".popover-slot"))||void 0===a?void 0:a.parentNode);const i=Q.height?Q:U.current.getBoundingClientRect(),{popoverTop:c,popoverLeft:u,xAxis:d,yAxis:f,contentHeight:m,contentWidth:g}=h(e,i,x,N,G.current,o,r,B,H);"number"==typeof c&&"number"==typeof u&&(w(G.current,"top",c+"px"),w(G.current,"left",u+"px")),k(G.current,"is-without-arrow",l||"center"===d&&"middle"===f),k(G.current,"is-alternate",p),_(G.current,"data-x-axis",d),_(G.current,"data-y-axis",f),w(U.current,"maxHeight","number"==typeof m?m+"px":""),w(U.current,"maxWidth","number"==typeof g?g+"px":"");Y(({left:"right",right:"left"}[d]||"center")+" "+({top:"bottom",bottom:"top"}[f]||"middle"))};e();const{ownerDocument:t}=G.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}(C);let c;return i&&i!==t&&(i.defaultView.addEventListener("resize",e),i.defaultView.addEventListener("scroll",e,!0)),F&&(c=new n.MutationObserver(e),c.observe(F,{attributes:!0})),()=>{n.clearInterval(r),n.removeEventListener("resize",e),n.removeEventListener("scroll",e,!0),n.removeEventListener("click",a),n.cancelAnimationFrame(o),i&&i!==t&&(i.defaultView.removeEventListener("resize",e),i.defaultView.removeEventListener("scroll",e,!0)),c&&c.disconnect()}},[X,D,M,C,P,x,Q,N,F,z]);const ee=Object(d.useRefEffect)(e=>{function n(e){e.keyCode===c.ESCAPE&&t&&(e.stopPropagation(),t())}return e.addEventListener("keydown",n),()=>{e.removeEventListener("keydown",n)}},[t]),te=Object(d.useConstrainedTabbing)(),ne=Object(d.useFocusReturn)(),re=Object(d.useFocusOnMount)(S),oe=Object(d.__experimentalUseFocusOutside)((function(e){if(A)return void A(e);if(!R)return void(t&&t());let n;try{n=new window.MouseEvent("click")}catch(e){n=document.createEvent("MouseEvent"),n.initMouseEvent("click",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null)}Object.defineProperty(n,"target",{get:()=>e.relatedTarget}),u()("Popover onClickOutside prop",{since:"5.3",alternative:"onFocusOutside"}),R(n)})),ae=Object(d.useMergeRefs)([W,G,t?ee:null,S?te:null,S?ne:null,S?re:null]);const ie=Boolean(T&&$)&&Object(O.b)({type:"appear",origin:$});let se=Object(o.createElement)("div",Object(r.a)({className:i()("components-popover",a,ie,{"is-expanded":X,"is-without-arrow":l,"is-alternate":p})},V,oe,{ref:ae,tabIndex:"-1"}),X&&Object(o.createElement)(g.a,null),X&&Object(o.createElement)("div",{className:"components-popover__header"},Object(o.createElement)("span",{className:"components-popover__header-title"},e),Object(o.createElement)(m.a,{className:"components-popover__close",icon:f.a,onClick:t})),Object(o.createElement)("div",{ref:U,className:"components-popover__content"},Object(o.createElement)("div",{style:{position:"relative"}},J,n)));return Z.ref&&(se=Object(o.createElement)(y.a,{name:L},se)),C||D?se:Object(o.createElement)("span",{ref:K},se)});x.Slot=Object(o.forwardRef)((function({name:e="Popover"},t){return Object(o.createElement)(y.c,{bubblesVirtually:!0,name:e,className:"popover-slot",ref:t})}));t.a=x},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.default=e.exports,e.exports.__esModule=!0,n.apply(this,arguments)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},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}}},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 * diff --git a/wp-includes/js/dist/customize-widgets.js b/wp-includes/js/dist/customize-widgets.js index 553ca24359..2cf111ba86 100644 --- a/wp-includes/js/dist/customize-widgets.js +++ b/wp-includes/js/dist/customize-widgets.js @@ -1578,7 +1578,7 @@ function useClearSelectedBlock(sidebarControl, popoverRef) { } = Object(external_wp_data_["useDispatch"])(external_wp_blockEditor_["store"]); Object(external_wp_element_["useEffect"])(() => { if (popoverRef.current && sidebarControl) { - const inspectorContainer = sidebarControl.inspector.contentContainer[0]; + const inspector = sidebarControl.inspector; const container = sidebarControl.container[0]; const ownerDocument = container.ownerDocument; const ownerWindow = ownerDocument.defaultView; @@ -1586,8 +1586,9 @@ function useClearSelectedBlock(sidebarControl, popoverRef) { 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, inspector, nor the popover. - !container.contains(element) && !popoverRef.current.contains(element) && !inspectorContainer.contains(element) && !element.closest('[role="dialog"]')) { + 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 focusing in the same document. @@ -2357,6 +2358,31 @@ 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 @@ -2364,6 +2390,7 @@ Object(external_wp_hooks_["addFilter"])('editor.MediaUpload', 'core/edit-widgets + // CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/index.js diff --git a/wp-includes/js/dist/customize-widgets.min.js b/wp-includes/js/dist/customize-widgets.min.js index 8366d2fdf8..6811794448 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 s(i){if(t[i])return t[i].exports;var n=t[i]={i:i,l:!1,exports:{}};return e[i].call(n.exports,n,n.exports,s),n.l=!0,n.exports}return s.m=e,s.c=t,s.d=function(e,t,i){s.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},s.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.t=function(e,t){if(1&t&&(e=s(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(s.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)s.d(i,n,function(t){return e[t]}.bind(null,n));return i},s.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return s.d(t,"a",t),t},s.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},s.p="",s(s.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,s){"use strict";s.r(t),s.d(t,"initialize",(function(){return Ee}));var i={};s.r(i),s.d(i,"__unstableIsFeatureActive",(function(){return T}));var n={};s.r(n),s.d(n,"__unstableToggleFeature",(function(){return M}));var c=s("GRId"),o=s("QyPg"),r=s("GLVC"),a=s("tI+e"),l=s("YLtl"),d=s("jZUy"),u=s("1ZqX"),b=s("axFQ"),m=s("6aBm"),h=s("wx14"),p=s("l3Sj");var g=function({inspector:e,closeMenu:t,...s}){const i=Object(u.useSelect)(e=>e(b.store).getSelectedBlockClientId(),[]),n=Object(c.useMemo)(()=>document.getElementById("block-"+i),[i]);return Object(c.createElement)(a.MenuItem,Object(h.a)({onClick:()=>{e.open({returnFocusWhenClose:n}),t()}},s),Object(p.__)("Show more settings"))},O=s("TSYQ"),w=s.n(O),f=s("RxS6"),j=s("Ntru"),_=s("K2cm"),y=s("Q4Sy"),v=s("K9lf"),E=s("bWcr");var k=function e({setIsOpened:t}){const s=Object(v.useInstanceId)(e,"customize-widget-layout__inserter-panel-title");return Object(c.createElement)("div",{className:"customize-widgets-layout__inserter-panel","aria-labelledby":s},Object(c.createElement)("div",{className:"customize-widgets-layout__inserter-panel-header"},Object(c.createElement)("h2",{id:s,className:"customize-widgets-layout__inserter-panel-header-title"},Object(p.__)("Add a block")),Object(c.createElement)(a.Button,{className:"customize-widgets-layout__inserter-panel-header-close-button",icon:E.a,onClick:()=>t(!1),"aria-label":Object(p.__)("Close inserter")})),Object(c.createElement)("div",{className:"customize-widgets-layout__inserter-panel-content"},Object(c.createElement)(b.__experimentalLibrary,{showInserterHelpPanel:!0,onSelect:()=>t(!1)})))},C=s("VKE3"),x=s("K+tz"),S=s("hF7m"),z=s("RMJe"),I=s("gdqT");const W=Object(l.flow)([u.combineReducers,(B={features:{fixedToolbar:!1,welcomeGuide:!0}},e=>(t=B,s)=>e(t,s))])({features:(e,t)=>"TOGGLE_FEATURE"===t.type?{...e,[t.feature]:!e[t.feature]}:e});var B;function T(e,t){return Object(l.get)(e.preferences.features,[t],!1)}function M(e){return{type:"TOGGLE_FEATURE",feature:e}}const F={reducer:Object(u.combineReducers)({preferences:W}),selectors:i,actions:n,persist:["preferences"]},N=Object(u.createReduxStore)("core/customize-widgets",F);function G({label:e,info:t,messageActivated:s,messageDeactivated:i,shortcut:n,feature:o}){const r=Object(u.useSelect)(e=>e(N).__unstableIsFeatureActive(o),[o]),{__unstableToggleFeature:l}=Object(u.useDispatch)(N);return Object(c.createElement)(a.MenuItem,{icon:r&&z.a,isSelected:r,onClick:()=>{l(o),r?Object(I.speak)(i||Object(p.__)("Feature deactivated")):Object(I.speak)(s||Object(p.__)("Feature activated"))},role:"menuitemcheckbox",info:t,shortcut:n},e)}Object(u.registerStore)("core/customize-widgets",F);const A=[{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 P({keyCombination:e,forceAriaLabel:t}){const s=e.modifier?f.displayShortcutList[e.modifier](e.character):e.character,i=e.modifier?f.shortcutAriaLabel[e.modifier](e.character):e.character;return Object(c.createElement)("kbd",{className:"customize-widgets-keyboard-shortcut-help-modal__shortcut-key-combination","aria-label":t||i},Object(l.castArray)(s).map((e,t)=>"+"===e?Object(c.createElement)(c.Fragment,{key:t},e):Object(c.createElement)("kbd",{key:t,className:"customize-widgets-keyboard-shortcut-help-modal__shortcut-key"},e)))}var L=function({description:e,keyCombination:t,aliases:s=[],ariaLabel:i}){return Object(c.createElement)(c.Fragment,null,Object(c.createElement)("div",{className:"customize-widgets-keyboard-shortcut-help-modal__shortcut-description"},e),Object(c.createElement)("div",{className:"customize-widgets-keyboard-shortcut-help-modal__shortcut-term"},Object(c.createElement)(P,{keyCombination:t,forceAriaLabel:i}),s.map((e,t)=>Object(c.createElement)(P,{keyCombination:e,forceAriaLabel:i,key:t}))))};var R=function({name:e}){const{keyCombination:t,description:s,aliases:i}=Object(u.useSelect)(t=>{const{getShortcutKeyCombination:s,getShortcutDescription:i,getShortcutAliases:n}=t(S.store);return{keyCombination:s(e),aliases:n(e),description:i(e)}});return t?Object(c.createElement)(L,{keyCombination:t,description:s,aliases:i}):null};const H=({shortcuts:e})=>Object(c.createElement)("ul",{className:"customize-widgets-keyboard-shortcut-help-modal__shortcut-list",role:"list"},e.map((e,t)=>Object(c.createElement)("li",{className:"customize-widgets-keyboard-shortcut-help-modal__shortcut",key:t},Object(l.isString)(e)?Object(c.createElement)(R,{name:e}):Object(c.createElement)(L,e)))),D=({title:e,shortcuts:t,className:s})=>Object(c.createElement)("section",{className:w()("customize-widgets-keyboard-shortcut-help-modal__section",s)},!!e&&Object(c.createElement)("h2",{className:"customize-widgets-keyboard-shortcut-help-modal__section-title"},e),Object(c.createElement)(H,{shortcuts:t})),V=({title:e,categoryName:t,additionalShortcuts:s=[]})=>{const i=Object(u.useSelect)(e=>e(S.store).getCategoryShortcuts(t),[t]);return Object(c.createElement)(D,{title:e,shortcuts:i.concat(s)})};function U({isModalActive:e,toggleModal:t}){const{registerShortcut:s}=Object(u.useDispatch)(S.store);return s({name:"core/customize-widgets/keyboard-shortcuts",category:"main",description:Object(p.__)("Display these keyboard shortcuts."),keyCombination:{modifier:"access",character:"h"}}),Object(S.useShortcut)("core/customize-widgets/keyboard-shortcuts",t,{bindGlobal:!0}),e?Object(c.createElement)(a.Modal,{className:"customize-widgets-keyboard-shortcut-help-modal",title:Object(p.__)("Keyboard shortcuts"),closeLabel:Object(p.__)("Close"),onRequestClose:t},Object(c.createElement)(D,{className:"customize-widgets-keyboard-shortcut-help-modal__main-shortcuts",shortcuts:["core/customize-widgets/keyboard-shortcuts"]}),Object(c.createElement)(V,{title:Object(p.__)("Global shortcuts"),categoryName:"global"}),Object(c.createElement)(V,{title:Object(p.__)("Selection shortcuts"),categoryName:"selection"}),Object(c.createElement)(V,{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)(D,{title:Object(p.__)("Text formatting"),shortcuts:A})):null}const q={className:"customize-widgets-more-menu__content",position:"bottom left"},K={tooltipPosition:"bottom"};function $(){const[e,t]=Object(c.useState)(!1),s=()=>t(!e);return Object(S.useShortcut)("core/customize-widgets/keyboard-shortcuts",s,{bindGlobal:!0}),Object(c.createElement)(c.Fragment,null,Object(c.createElement)(a.ToolbarDropdownMenu,{className:"customize-widgets-more-menu",icon:C.a,label:Object(p.__)("Options"),popoverProps:q,toggleProps:K},()=>Object(c.createElement)(c.Fragment,null,Object(c.createElement)(a.MenuGroup,{label:Object(p._x)("View","noun")},Object(c.createElement)(G,{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)(a.MenuGroup,{label:Object(p.__)("Tools")},Object(c.createElement)(a.MenuItem,{onClick:()=>{t(!0)},shortcut:f.displayShortcut.access("h")},Object(p.__)("Keyboard shortcuts")),Object(c.createElement)(G,{feature:"welcomeGuide",label:Object(p.__)("Welcome Guide")}),Object(c.createElement)(a.MenuItem,{role:"menuitem",icon:x.a,href:Object(p.__)("https://wordpress.org/support/article/wordpress-editor/"),target:"_blank",rel:"noopener noreferrer"},Object(p.__)("Help"),Object(c.createElement)(a.VisuallyHidden,{as:"span"},Object(p.__)("(opens in a new tab)")))),Object(c.createElement)(a.MenuGroup,{label:Object(p.__)("Preferences")},Object(c.createElement)(G,{feature:"keepCaretInsideBlock",label:Object(p.__)("Contain text cursor inside block"),info:Object(p.__)("Aids screen readers by stopping text caret from leaving blocks."),messageActivated:Object(p.__)("Contain text cursor inside block activated"),messageDeactivated:Object(p.__)("Contain text cursor inside block deactivated")})))),Object(c.createElement)(U,{isModalActive:e,toggleModal:s}))}var Q=function({sidebar:e,inserter:t,isInserterOpened:s,setIsInserterOpened:i,isFixedToolbarActive:n}){const[[o,r],l]=Object(c.useState)([e.hasUndo(),e.hasRedo()]);return Object(c.useEffect)(()=>e.subscribeHistory(()=>{l([e.hasUndo(),e.hasRedo()])}),[e]),Object(c.createElement)(c.Fragment,null,Object(c.createElement)("div",{className:w()("customize-widgets-header",{"is-fixed-toolbar-active":n})},Object(c.createElement)(b.NavigableToolbar,{className:"customize-widgets-header-toolbar","aria-label":Object(p.__)("Document tools")},Object(c.createElement)(a.ToolbarButton,{icon:Object(p.isRTL)()?_.a:j.a,label:Object(p.__)("Undo"),shortcut:f.displayShortcut.primary("z"),"aria-disabled":!o,onClick:e.undo,className:"customize-widgets-editor-history-button undo-button"}),Object(c.createElement)(a.ToolbarButton,{icon:Object(p.isRTL)()?j.a:_.a,label:Object(p.__)("Redo"),shortcut:f.displayShortcut.primaryShift("z"),"aria-disabled":!r,onClick:e.redo,className:"customize-widgets-editor-history-button redo-button"}),Object(c.createElement)(a.ToolbarButton,{className:"customize-widgets-header-toolbar__inserter-toggle",isPressed:s,isPrimary:!0,icon:y.a,label:Object(p._x)("Add block","Generic label for block inserter button"),onClick:()=>{i(e=>!e)}}),Object(c.createElement)($,null))),Object(c.createPortal)(Object(c.createElement)(k,{setIsOpened:i}),t.contentContainer[0]))};var Y=s("HSyU"),Z=s("rl8x"),J=s.n(Z);function X(e,t=null){let s;if("core/legacy-widget"===e.name&&(e.attributes.id||e.attributes.instance))if(e.attributes.id)s={id:e.attributes.id};else{const{encoded:i,hash:n,raw:c,...o}=e.attributes.instance;s={idBase:e.attributes.idBase,instance:{...null==t?void 0:t.instance,is_widget_customizer_js_value:!0,encoded_serialized_instance:i,instance_hash_key:n,raw_instance:c,...o}}}else{s={idBase:"block",widgetClass:"WP_Widget_Block",instance:{raw_instance:{content:Object(Y.serialize)(e)}}}}return{...Object(l.omit)(t,["form","rendered"]),...s}}function ee({id:e,idBase:t,number:s,instance:i}){let n;const{encoded_serialized_instance:c,instance_hash_key:o,raw_instance:a,...l}=i;if("block"===t){const e=Object(Y.parse)(a.content);n=e.length?e[0]:Object(Y.createBlock)("core/paragraph",{})}else n=s?Object(Y.createBlock)("core/legacy-widget",{idBase:t,instance:{encoded:c,hash:o,raw:a,...l}}):Object(Y.createBlock)("core/legacy-widget",{id:e});return Object(r.addWidgetIdToBlock)(n,e)}function te(e){const[t,s]=Object(c.useState)(()=>e.getWidgets().map(e=>ee(e)));Object(c.useEffect)(()=>e.subscribe((e,t)=>{s(s=>{const i=new Map(e.map(e=>[e.id,e])),n=new Map(s.map(e=>[Object(r.getWidgetIdFromBlock)(e),e])),c=t.map(e=>{const t=i.get(e.id);return t&&t===e?n.get(e.id):ee(e)});return J()(s,c)?s:c})}),[e]);const i=Object(c.useCallback)(t=>{s(s=>{if(J()(s,t))return s;const i=new Map(s.map(e=>[Object(r.getWidgetIdFromBlock)(e),e])),n=t.map(t=>{const s=Object(r.getWidgetIdFromBlock)(t);if(s&&i.has(s)){const n=i.get(s),c=e.getWidget(s);return Object(l.isEqual)(t,n)&&c?c:X(t,c)}return X(t)});if(J()(e.getWidgets(),n))return s;const c=e.setWidgets(n);return t.reduce((e,s,i)=>{const n=c[i];return null!==n&&(e===t&&(e=t.slice()),e[i]=Object(r.addWidgetIdToBlock)(s,n)),e},t)})},[e]);return[t,i,i]}function se(e){const t=e.match(/^widget_(.+)(?:\[(\d+)\])$/);if(t){return`${t[1]}-${parseInt(t[2],10)}`}return e}const ie=Object(c.createContext)();function ne({api:e,sidebarControls:t,children:s}){const[i,n]=Object(c.useState)({current:null}),o=Object(c.useCallback)(e=>{for(const s of t){if(s.setting.get().includes(e)){s.sectionInstance.expand({completeCallback(){n({current:e})}});break}}},[t]);Object(c.useEffect)(()=>{function t(e){const t=se(e);o(t)}function s(){e.previewer.preview.bind("focus-control-for-setting",t)}return e.previewer.bind("ready",s),()=>{e.previewer.unbind("ready",s),e.previewer.preview.unbind("focus-control-for-setting",t)}},[e,o]);const r=Object(c.useMemo)(()=>[i,o],[i,o]);return Object(c.createElement)(ie.Provider,{value:r},s)}function ce(e){const{selectBlock:t}=Object(u.useDispatch)(b.store),[s]=Object(c.useContext)(ie),i=Object(c.useRef)(e);Object(c.useEffect)(()=>{i.current=e},[e]),Object(c.useEffect)(()=>{if(s.current){const e=i.current.find(e=>Object(r.getWidgetIdFromBlock)(e)===s.current);if(e){t(e.clientId);const s=document.querySelector(`[data-block="${e.clientId}"]`);null==s||s.focus()}}},[s,t])}function oe({sidebar:e,settings:t,children:s}){const[i,n,o]=te(e);return ce(i),Object(c.createElement)(b.BlockEditorProvider,{value:i,onInput:n,onChange:o,settings:t,useSubRegistry:!1},s)}function re({sidebar:e}){const{__unstableToggleFeature:t}=Object(u.useDispatch)(N),s=e.getWidgets().every(e=>e.id.startsWith("block-"));return Object(c.createElement)("div",{className:"customize-widgets-welcome-guide"},Object(c.createElement)("div",{className:"customize-widgets-welcome-guide__image__wrapper"},Object(c.createElement)("picture",null,Object(c.createElement)("source",{srcSet:"https://s.w.org/images/block-editor/welcome-editor.svg",media:"(prefers-reduced-motion: reduce)"}),Object(c.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(c.createElement)("h1",{className:"customize-widgets-welcome-guide__heading"},Object(p.__)("Welcome to block Widgets")),Object(c.createElement)("p",{className:"customize-widgets-welcome-guide__text"},s?Object(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."):Object(p.__)("You can now add any block to your site’s widget areas. Don’t worry, all of your favorite widgets still work flawlessly.")),Object(c.createElement)(a.Button,{className:"customize-widgets-welcome-guide__button",isPrimary:!0,onClick:()=>t("welcomeGuide")},Object(p.__)("Got it")),Object(c.createElement)("hr",{className:"customize-widgets-welcome-guide__separator"}),!s&&Object(c.createElement)("p",{className:"customize-widgets-welcome-guide__more-info"},Object(p.__)("Want to stick with the old widgets?"),Object(c.createElement)("br",null),Object(c.createElement)(a.ExternalLink,{href:Object(p.__)("https://wordpress.org/plugins/classic-widgets/")},Object(p.__)("Get the Classic Widgets plugin."))),Object(c.createElement)("p",{className:"customize-widgets-welcome-guide__more-info"},Object(p.__)("New to the block editor?"),Object(c.createElement)("br",null),Object(c.createElement)(a.ExternalLink,{href:Object(p.__)("https://wordpress.org/support/article/wordpress-editor/")},Object(p.__)("Here's a detailed guide."))))}function ae({undo:e,redo:t,save:s}){return Object(S.useShortcut)("core/customize-widgets/undo",t=>{e(),t.preventDefault()},{bindGlobal:!0}),Object(S.useShortcut)("core/customize-widgets/redo",e=>{t(),e.preventDefault()},{bindGlobal:!0}),Object(S.useShortcut)("core/customize-widgets/save",e=>{e.preventDefault(),s()},{bindGlobal:!0}),null}ae.Register=function(){const{registerShortcut:e,unregisterShortcut:t}=Object(u.useDispatch)(S.store);return Object(c.useEffect)(()=>(e({name:"core/customize-widgets/undo",category:"global",description:Object(p.__)("Undo your last changes."),keyCombination:{modifier:"primary",character:"z"}}),e({name:"core/customize-widgets/redo",category:"global",description:Object(p.__)("Redo your last undo."),keyCombination:{modifier:"primaryShift",character:"z"}}),e({name:"core/customize-widgets/save",category:"global",description:Object(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 le=ae;function de({blockEditorSettings:e,sidebar:t,inserter:s,inspector:i}){const[n,o]=function(e){const[t,s]=Object(c.useState)(()=>e.isOpen);return Object(c.useEffect)(()=>e.subscribe(s),[e]),[t,Object(c.useCallback)(t=>{let s=t;"function"==typeof t&&(s=t(e.isOpen)),s?e.open():e.close()},[e])]}(s),{hasUploadPermissions:r,isFixedToolbarActive:a,keepCaretInsideBlock:h,isWelcomeGuideActive:p}=Object(u.useSelect)(e=>({hasUploadPermissions:Object(l.defaultTo)(e(d.store).canUser("create","media"),!0),isFixedToolbarActive:e(N).__unstableIsFeatureActive("fixedToolbar"),keepCaretInsideBlock:e(N).__unstableIsFeatureActive("keepCaretInsideBlock"),isWelcomeGuideActive:e(N).__unstableIsFeatureActive("welcomeGuide")}),[]),O=Object(c.useMemo)(()=>{let t;return r&&(t=({onError:t,...s})=>{Object(m.uploadMedia)({wpAllowedMimeTypes:e.allowedMimeTypes,onError:({message:e})=>t(e),...s})}),{...e,__experimentalSetIsInserterOpened:o,mediaUpload:t,hasFixedToolbar:a,keepCaretInsideBlock:h}},[r,e,a,h]);return p?Object(c.createElement)(re,{sidebar:t}):Object(c.createElement)(c.Fragment,null,Object(c.createElement)(b.BlockEditorKeyboardShortcuts.Register,null),Object(c.createElement)(le.Register,null),Object(c.createElement)(oe,{sidebar:t,settings:O},Object(c.createElement)(b.BlockEditorKeyboardShortcuts,null),Object(c.createElement)(le,{undo:t.undo,redo:t.redo,save:t.save}),Object(c.createElement)(Q,{sidebar:t,inserter:s,isInserterOpened:n,setIsInserterOpened:o,isFixedToolbarActive:a}),Object(c.createElement)(b.BlockTools,null,Object(c.createElement)(b.BlockSelectionClearer,null,Object(c.createElement)(b.WritingFlow,null,Object(c.createElement)(b.ObserveTyping,null,Object(c.createElement)(b.BlockList,null))))),Object(c.createPortal)(Object(c.createElement)("form",{onSubmit:e=>e.preventDefault()},Object(c.createElement)(b.BlockInspector,null)),i.contentContainer[0])),Object(c.createElement)(b.__unstableBlockSettingsMenuFirstItem,null,({onClose:e})=>Object(c.createElement)(g,{inspector:i,closeMenu:e})))}const ue=Object(c.createContext)();function be({sidebarControls:e,activeSidebarControl:t,children:s}){const i=Object(c.useMemo)(()=>({sidebarControls:e,activeSidebarControl:t}),[e,t]);return Object(c.createElement)(ue.Provider,{value:i},s)}function me({api:e,sidebarControls:t,blockEditorSettings:s}){const[i,n]=Object(c.useState)(null),o=document.getElementById("customize-theme-controls"),r=Object(c.useRef)();!function(e,t){const{hasSelectedBlock:s,hasMultiSelection:i}=Object(u.useSelect)(b.store),{clearSelectedBlock:n}=Object(u.useDispatch)(b.store);Object(c.useEffect)(()=>{if(t.current&&e){const a=e.inspector.contentContainer[0],l=e.container[0],d=l.ownerDocument,u=d.defaultView;function c(e){!s()&&!i()||!e||!d.contains(e)||l.contains(e)||t.current.contains(e)||a.contains(e)||e.closest('[role="dialog"]')||n()}function o(e){c(e.target)}function r(){c(d.activeElement)}return d.addEventListener("focusin",o),u.addEventListener("blur",r),()=>{d.removeEventListener("focusin",o),u.removeEventListener("blur",r)}}},[t,e,s,i,n])}(i,r),Object(c.useEffect)(()=>{const e=t.map(e=>e.subscribe(t=>{t&&n(e)}));return()=>{e.forEach(e=>e())}},[t]);const l=i&&Object(c.createPortal)(Object(c.createElement)(de,{key:i.id,blockEditorSettings:s,sidebar:i.sidebarAdapter,inserter:i.inserter,inspector:i.inspector}),i.container[0]),d=o&&Object(c.createPortal)(Object(c.createElement)("div",{className:"customize-widgets-popover",ref:r},Object(c.createElement)(a.Popover.Slot,null)),o);return Object(c.createElement)(a.SlotFillProvider,null,Object(c.createElement)(be,{sidebarControls:t,activeSidebarControl:i},Object(c.createElement)(ne,{api:e,sidebarControls:t},l,d)))}function he(){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}ready(){this.contentContainer[0].classList.add("customize-widgets-layout__inspector")}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({returnFocusWhenClose:e}={}){this.returnFocusWhenClose=e,this.expand({allowMultiple:!0})}close(){this.collapse({allowMultiple:!0})}}}();this.inspector=new t("widgets-inspector-"+this.id,{title:Object(p.__)("Block Settings"),parentSection:this,customizeAction:[Object(p.__)("Customizing"),Object(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 s=this.controls(),i={...t,completeCallback(){var n;s.forEach(t=>{t.onChangeSectionExpanded(e,i)}),null===(n=t.completeCallback)||void 0===n||n.call(t)}};i.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"),i.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"),i.completeCallback()})):super.onChangeExpanded(e,i)}}}const{wp:pe}=window;function ge(e){const t=e.match(/^(.+)-(\d+)$/);return t?{idBase:t[1],number:parseInt(t[2],10)}:{idBase:e}}function Oe(e){const{idBase:t,number:s}=ge(e);return s?`widget_${t}[${s}]`:"widget_"+t}class we{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,s){let i,n=!1;function c(...c){const o=(n?t:e).apply(this,c);return n=!0,clearTimeout(i),i=setTimeout(()=>{n=!1},s),o}return c.cancel=()=>{n=!1,clearTimeout(i)},c}(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(...e){for(const t of this.subscribers)t(...e)}_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=se(e.id);if(!this.setting.get().includes(t))return;const s=this.getWidgets();this._pushHistory(),this._emit(s,this.getWidgets())}_createWidget(e){const t=pe.customize.Widgets.availableWidgets.findWhere({id_base:e.idBase});let s=e.number;t.get("is_multi")&&!s&&(t.set("multi_number",t.get("multi_number")+1),s=t.get("multi_number"));const i=s?`widget_${e.idBase}[${s}]`:"widget_"+e.idBase,n={transport:pe.customize.Widgets.data.selectiveRefreshableWidgets[t.get("id_base")]?"postMessage":"refresh",previewer:this.setting.previewer};this.api.create(i,i,"",n).set(e.instance);return se(i)}_removeWidget(e){const t=Oe(e.id),s=this.api(t);if(s){const e=s.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=Oe(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:s}=ge(e),i=Oe(e),n=this.api(i);if(!n)return null;const c=n.get();if(this.widgetsCache.has(c))return this.widgetsCache.get(c);const o={id:e,idBase:t,number:s,instance:c};return this.widgetsCache.set(c,o),o}_updateWidgets(e){this.locked=!0;const t=[],s=e.map(e=>{if(e.id&&this.getWidget(e.id))return t.push(null),this._updateWidget(e);const s=this._createWidget(e);return t.push(s),s});return this.getWidgets().filter(e=>!s.includes(e.id)).forEach(e=>this._removeWidget(e)),this.setting.set(s),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 s=this.history[this.historyIndex];this._updateWidgets(s),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=s("1CF3");function je(){const{wp:{customize:e}}=window;return class extends e.Control{constructor(...e){super(...e),this.subscribers=new Set}ready(){const t=function(){const{wp:{customize:e}}=window,t=e.OuterSection;return e.OuterSection=class extends t{onChangeExpanded(t,s){return t&&e.section.each(e=>{"outer"===e.params.type&&e.id!==this.id&&e.expanded()&&e.collapse()}),super.onChangeExpanded(t,s)}},e.sectionConstructor.outer=e.OuterSection,class extends e.OuterSection{constructor(...e){super(...e),this.params.type="outer",this.activeElementBeforeExpanded=null;this.contentContainer[0].ownerDocument.defaultView.addEventListener("keydown",e=>{!this.isOpen||e.keyCode!==f.ESCAPE&&"Escape"!==e.code||(e.stopPropagation(),this.close())},!0),this.contentContainer.addClass("widgets-inserter")}get isOpen(){return this.expanded()}subscribe(e){return this.expanded.bind(e),()=>this.expanded.unbind(e)}open(){if(!this.isOpen){const e=this.contentContainer[0];this.activeElementBeforeExpanded=e.ownerDocument.activeElement,this.expand({completeCallback(){const t=fe.focus.tabbable.find(e)[1];t&&t.focus()}})}}close(){if(this.isOpen){const e=this.contentContainer[0],t=e.ownerDocument.activeElement;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 we(this.setting,e)}subscribe(e){return this.subscribers.add(e),()=>{this.subscribers.delete(e)}}onChangeSectionExpanded(e,t){t.unchanged||(e||this.inserter.close(),this.subscribers.forEach(s=>s(e,t)))}}}var _e=s("g56x");const ye=Object(v.createHigherOrderComponent)(e=>t=>{const s=Object(r.getWidgetIdFromBlock)(t),i=function(){const{sidebarControls:e}=Object(c.useContext)(ue);return e}(),n=function(){const{activeSidebarControl:e}=Object(c.useContext)(ue);return e}(),o=(null==i?void 0:i.length)>1,a=t.name,d=Object(u.useSelect)(e=>e(b.store).canInsertBlockType(a,""),[a]);return Object(c.createElement)(c.Fragment,null,Object(c.createElement)(e,t),o&&d&&Object(c.createElement)(b.BlockControls,null,Object(c.createElement)(r.MoveToWidgetArea,{widgetAreas:i.map(e=>({id:e.id,name:e.params.label,description:e.params.description})),currentWidgetAreaId:null==n?void 0:n.id,onSelect:function(e){const t=i.find(t=>t.id===e),c=n.setting,o=t.setting;c(Object(l.without)(c(),s)),o([...o(),s]),t.expand()}})))},"withMoveToSidebarToolbarItem");Object(_e.addFilter)("editor.BlockEdit","core/customize-widgets/block-edit",ye);Object(_e.addFilter)("editor.MediaUpload","core/edit-widgets/replace-media-upload",()=>m.MediaUpload);const{wp:ve}=window;function Ee(e,t){const s=Object(o.__experimentalGetCoreBlocks)().filter(e=>!["core/more"].includes(e.name));Object(o.registerCoreBlocks)(s),Object(r.registerLegacyWidgetVariations)(t);const i=je();ve.customize.sectionConstructor.sidebar=he(),ve.customize.controlConstructor.sidebar_block_editor=i;const n=document.createElement("div");document.body.appendChild(n),ve.customize.bind("ready",()=>{const e=[];ve.customize.control.each(t=>{t instanceof i&&e.push(t)}),Object(c.render)(Object(c.createElement)(me,{api:ve.customize,sidebarControls:e,blockEditorSettings:t}),n)})}},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,s){"use strict";var i=s("GRId"),n=s("Tqx9");const c=Object(i.createElement)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(n.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=c},K2cm:function(e,t,s){"use strict";var i=s("GRId"),n=s("Tqx9");const c=Object(i.createElement)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(n.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=c},K9lf:function(e,t){e.exports=window.wp.compose},Ntru:function(e,t,s){"use strict";var i=s("GRId"),n=s("Tqx9");const c=Object(i.createElement)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(n.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=c},Q4Sy:function(e,t,s){"use strict";var i=s("GRId"),n=s("Tqx9");const c=Object(i.createElement)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(n.Path,{d:"M18 11.2h-5.2V6h-1.6v5.2H6v1.6h5.2V18h1.6v-5.2H18z"}));t.a=c},QyPg:function(e,t){e.exports=window.wp.blockLibrary},RMJe:function(e,t,s){"use strict";var i=s("GRId"),n=s("Tqx9");const c=Object(i.createElement)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(n.Path,{d:"M18.3 5.6L9.9 16.9l-4.6-3.4-.9 1.2 5.8 4.3 9.3-12.6z"}));t.a=c},RxS6:function(e,t){e.exports=window.wp.keycodes},TSYQ:function(e,t,s){var i; +this.wp=this.wp||{},this.wp.customizeWidgets=function(e){var t={};function i(s){if(t[s])return t[s].exports;var n=t[s]={i:s,l:!1,exports:{}};return e[s].call(n.exports,n,n.exports,i),n.l=!0,n.exports}return i.m=e,i.c=t,i.d=function(e,t,s){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:s})},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 s=Object.create(null);if(i.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)i.d(s,n,function(t){return e[t]}.bind(null,n));return s},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="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,i){"use strict";i.r(t),i.d(t,"initialize",(function(){return Ce}));var s={};i.r(s),i.d(s,"__unstableIsFeatureActive",(function(){return T}));var n={};i.r(n),i.d(n,"__unstableToggleFeature",(function(){return M}));var c=i("GRId"),o=i("QyPg"),r=i("GLVC"),a=i("tI+e"),l=i("YLtl"),d=i("jZUy"),u=i("1ZqX"),b=i("axFQ"),m=i("6aBm"),h=i("wx14"),p=i("l3Sj");var g=function({inspector:e,closeMenu:t,...i}){const s=Object(u.useSelect)(e=>e(b.store).getSelectedBlockClientId(),[]),n=Object(c.useMemo)(()=>document.getElementById("block-"+s),[s]);return Object(c.createElement)(a.MenuItem,Object(h.a)({onClick:()=>{e.open({returnFocusWhenClose:n}),t()}},i),Object(p.__)("Show more settings"))},O=i("TSYQ"),w=i.n(O),j=i("RxS6"),f=i("Ntru"),_=i("K2cm"),y=i("Q4Sy"),v=i("K9lf"),E=i("bWcr");var k=function e({setIsOpened:t}){const i=Object(v.useInstanceId)(e,"customize-widget-layout__inserter-panel-title");return Object(c.createElement)("div",{className:"customize-widgets-layout__inserter-panel","aria-labelledby":i},Object(c.createElement)("div",{className:"customize-widgets-layout__inserter-panel-header"},Object(c.createElement)("h2",{id:i,className:"customize-widgets-layout__inserter-panel-header-title"},Object(p.__)("Add a block")),Object(c.createElement)(a.Button,{className:"customize-widgets-layout__inserter-panel-header-close-button",icon:E.a,onClick:()=>t(!1),"aria-label":Object(p.__)("Close inserter")})),Object(c.createElement)("div",{className:"customize-widgets-layout__inserter-panel-content"},Object(c.createElement)(b.__experimentalLibrary,{showInserterHelpPanel:!0,onSelect:()=>t(!1)})))},C=i("VKE3"),x=i("K+tz"),S=i("hF7m"),z=i("RMJe"),W=i("gdqT");const I=Object(l.flow)([u.combineReducers,(B={features:{fixedToolbar:!1,welcomeGuide:!0}},e=>(t=B,i)=>e(t,i))])({features:(e,t)=>"TOGGLE_FEATURE"===t.type?{...e,[t.feature]:!e[t.feature]}:e});var B;function T(e,t){return Object(l.get)(e.preferences.features,[t],!1)}function M(e){return{type:"TOGGLE_FEATURE",feature:e}}const F={reducer:Object(u.combineReducers)({preferences:I}),selectors:s,actions:n,persist:["preferences"]},N=Object(u.createReduxStore)("core/customize-widgets",F);function G({label:e,info:t,messageActivated:i,messageDeactivated:s,shortcut:n,feature:o}){const r=Object(u.useSelect)(e=>e(N).__unstableIsFeatureActive(o),[o]),{__unstableToggleFeature:l}=Object(u.useDispatch)(N);return Object(c.createElement)(a.MenuItem,{icon:r&&z.a,isSelected:r,onClick:()=>{l(o),r?Object(W.speak)(s||Object(p.__)("Feature deactivated")):Object(W.speak)(i||Object(p.__)("Feature activated"))},role:"menuitemcheckbox",info:t,shortcut:n},e)}Object(u.registerStore)("core/customize-widgets",F);const A=[{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 P({keyCombination:e,forceAriaLabel:t}){const i=e.modifier?j.displayShortcutList[e.modifier](e.character):e.character,s=e.modifier?j.shortcutAriaLabel[e.modifier](e.character):e.character;return Object(c.createElement)("kbd",{className:"customize-widgets-keyboard-shortcut-help-modal__shortcut-key-combination","aria-label":t||s},Object(l.castArray)(i).map((e,t)=>"+"===e?Object(c.createElement)(c.Fragment,{key:t},e):Object(c.createElement)("kbd",{key:t,className:"customize-widgets-keyboard-shortcut-help-modal__shortcut-key"},e)))}var L=function({description:e,keyCombination:t,aliases:i=[],ariaLabel:s}){return Object(c.createElement)(c.Fragment,null,Object(c.createElement)("div",{className:"customize-widgets-keyboard-shortcut-help-modal__shortcut-description"},e),Object(c.createElement)("div",{className:"customize-widgets-keyboard-shortcut-help-modal__shortcut-term"},Object(c.createElement)(P,{keyCombination:t,forceAriaLabel:s}),i.map((e,t)=>Object(c.createElement)(P,{keyCombination:e,forceAriaLabel:s,key:t}))))};var R=function({name:e}){const{keyCombination:t,description:i,aliases:s}=Object(u.useSelect)(t=>{const{getShortcutKeyCombination:i,getShortcutDescription:s,getShortcutAliases:n}=t(S.store);return{keyCombination:i(e),aliases:n(e),description:s(e)}});return t?Object(c.createElement)(L,{keyCombination:t,description:i,aliases:s}):null};const H=({shortcuts:e})=>Object(c.createElement)("ul",{className:"customize-widgets-keyboard-shortcut-help-modal__shortcut-list",role:"list"},e.map((e,t)=>Object(c.createElement)("li",{className:"customize-widgets-keyboard-shortcut-help-modal__shortcut",key:t},Object(l.isString)(e)?Object(c.createElement)(R,{name:e}):Object(c.createElement)(L,e)))),D=({title:e,shortcuts:t,className:i})=>Object(c.createElement)("section",{className:w()("customize-widgets-keyboard-shortcut-help-modal__section",i)},!!e&&Object(c.createElement)("h2",{className:"customize-widgets-keyboard-shortcut-help-modal__section-title"},e),Object(c.createElement)(H,{shortcuts:t})),V=({title:e,categoryName:t,additionalShortcuts:i=[]})=>{const s=Object(u.useSelect)(e=>e(S.store).getCategoryShortcuts(t),[t]);return Object(c.createElement)(D,{title:e,shortcuts:s.concat(i)})};function U({isModalActive:e,toggleModal:t}){const{registerShortcut:i}=Object(u.useDispatch)(S.store);return i({name:"core/customize-widgets/keyboard-shortcuts",category:"main",description:Object(p.__)("Display these keyboard shortcuts."),keyCombination:{modifier:"access",character:"h"}}),Object(S.useShortcut)("core/customize-widgets/keyboard-shortcuts",t,{bindGlobal:!0}),e?Object(c.createElement)(a.Modal,{className:"customize-widgets-keyboard-shortcut-help-modal",title:Object(p.__)("Keyboard shortcuts"),closeLabel:Object(p.__)("Close"),onRequestClose:t},Object(c.createElement)(D,{className:"customize-widgets-keyboard-shortcut-help-modal__main-shortcuts",shortcuts:["core/customize-widgets/keyboard-shortcuts"]}),Object(c.createElement)(V,{title:Object(p.__)("Global shortcuts"),categoryName:"global"}),Object(c.createElement)(V,{title:Object(p.__)("Selection shortcuts"),categoryName:"selection"}),Object(c.createElement)(V,{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)(D,{title:Object(p.__)("Text formatting"),shortcuts:A})):null}const q={className:"customize-widgets-more-menu__content",position:"bottom left"},K={tooltipPosition:"bottom"};function $(){const[e,t]=Object(c.useState)(!1),i=()=>t(!e);return Object(S.useShortcut)("core/customize-widgets/keyboard-shortcuts",i,{bindGlobal:!0}),Object(c.createElement)(c.Fragment,null,Object(c.createElement)(a.ToolbarDropdownMenu,{className:"customize-widgets-more-menu",icon:C.a,label:Object(p.__)("Options"),popoverProps:q,toggleProps:K},()=>Object(c.createElement)(c.Fragment,null,Object(c.createElement)(a.MenuGroup,{label:Object(p._x)("View","noun")},Object(c.createElement)(G,{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)(a.MenuGroup,{label:Object(p.__)("Tools")},Object(c.createElement)(a.MenuItem,{onClick:()=>{t(!0)},shortcut:j.displayShortcut.access("h")},Object(p.__)("Keyboard shortcuts")),Object(c.createElement)(G,{feature:"welcomeGuide",label:Object(p.__)("Welcome Guide")}),Object(c.createElement)(a.MenuItem,{role:"menuitem",icon:x.a,href:Object(p.__)("https://wordpress.org/support/article/wordpress-editor/"),target:"_blank",rel:"noopener noreferrer"},Object(p.__)("Help"),Object(c.createElement)(a.VisuallyHidden,{as:"span"},Object(p.__)("(opens in a new tab)")))),Object(c.createElement)(a.MenuGroup,{label:Object(p.__)("Preferences")},Object(c.createElement)(G,{feature:"keepCaretInsideBlock",label:Object(p.__)("Contain text cursor inside block"),info:Object(p.__)("Aids screen readers by stopping text caret from leaving blocks."),messageActivated:Object(p.__)("Contain text cursor inside block activated"),messageDeactivated:Object(p.__)("Contain text cursor inside block deactivated")})))),Object(c.createElement)(U,{isModalActive:e,toggleModal:i}))}var Q=function({sidebar:e,inserter:t,isInserterOpened:i,setIsInserterOpened:s,isFixedToolbarActive:n}){const[[o,r],l]=Object(c.useState)([e.hasUndo(),e.hasRedo()]);return Object(c.useEffect)(()=>e.subscribeHistory(()=>{l([e.hasUndo(),e.hasRedo()])}),[e]),Object(c.createElement)(c.Fragment,null,Object(c.createElement)("div",{className:w()("customize-widgets-header",{"is-fixed-toolbar-active":n})},Object(c.createElement)(b.NavigableToolbar,{className:"customize-widgets-header-toolbar","aria-label":Object(p.__)("Document tools")},Object(c.createElement)(a.ToolbarButton,{icon:Object(p.isRTL)()?_.a:f.a,label:Object(p.__)("Undo"),shortcut:j.displayShortcut.primary("z"),"aria-disabled":!o,onClick:e.undo,className:"customize-widgets-editor-history-button undo-button"}),Object(c.createElement)(a.ToolbarButton,{icon:Object(p.isRTL)()?f.a:_.a,label:Object(p.__)("Redo"),shortcut:j.displayShortcut.primaryShift("z"),"aria-disabled":!r,onClick:e.redo,className:"customize-widgets-editor-history-button redo-button"}),Object(c.createElement)(a.ToolbarButton,{className:"customize-widgets-header-toolbar__inserter-toggle",isPressed:i,isPrimary:!0,icon:y.a,label:Object(p._x)("Add block","Generic label for block inserter button"),onClick:()=>{s(e=>!e)}}),Object(c.createElement)($,null))),Object(c.createPortal)(Object(c.createElement)(k,{setIsOpened:s}),t.contentContainer[0]))};var Y=i("HSyU"),Z=i("rl8x"),J=i.n(Z);function X(e,t=null){let i;if("core/legacy-widget"===e.name&&(e.attributes.id||e.attributes.instance))if(e.attributes.id)i={id:e.attributes.id};else{const{encoded:s,hash:n,raw:c,...o}=e.attributes.instance;i={idBase:e.attributes.idBase,instance:{...null==t?void 0:t.instance,is_widget_customizer_js_value:!0,encoded_serialized_instance:s,instance_hash_key:n,raw_instance:c,...o}}}else{i={idBase:"block",widgetClass:"WP_Widget_Block",instance:{raw_instance:{content:Object(Y.serialize)(e)}}}}return{...Object(l.omit)(t,["form","rendered"]),...i}}function ee({id:e,idBase:t,number:i,instance:s}){let n;const{encoded_serialized_instance:c,instance_hash_key:o,raw_instance:a,...l}=s;if("block"===t){const e=Object(Y.parse)(a.content);n=e.length?e[0]:Object(Y.createBlock)("core/paragraph",{})}else n=i?Object(Y.createBlock)("core/legacy-widget",{idBase:t,instance:{encoded:c,hash:o,raw:a,...l}}):Object(Y.createBlock)("core/legacy-widget",{id:e});return Object(r.addWidgetIdToBlock)(n,e)}function te(e){const[t,i]=Object(c.useState)(()=>e.getWidgets().map(e=>ee(e)));Object(c.useEffect)(()=>e.subscribe((e,t)=>{i(i=>{const s=new Map(e.map(e=>[e.id,e])),n=new Map(i.map(e=>[Object(r.getWidgetIdFromBlock)(e),e])),c=t.map(e=>{const t=s.get(e.id);return t&&t===e?n.get(e.id):ee(e)});return J()(i,c)?i:c})}),[e]);const s=Object(c.useCallback)(t=>{i(i=>{if(J()(i,t))return i;const s=new Map(i.map(e=>[Object(r.getWidgetIdFromBlock)(e),e])),n=t.map(t=>{const i=Object(r.getWidgetIdFromBlock)(t);if(i&&s.has(i)){const n=s.get(i),c=e.getWidget(i);return Object(l.isEqual)(t,n)&&c?c:X(t,c)}return X(t)});if(J()(e.getWidgets(),n))return i;const c=e.setWidgets(n);return t.reduce((e,i,s)=>{const n=c[s];return null!==n&&(e===t&&(e=t.slice()),e[s]=Object(r.addWidgetIdToBlock)(i,n)),e},t)})},[e]);return[t,s,s]}function ie(e){const t=e.match(/^widget_(.+)(?:\[(\d+)\])$/);if(t){return`${t[1]}-${parseInt(t[2],10)}`}return e}const se=Object(c.createContext)();function ne({api:e,sidebarControls:t,children:i}){const[s,n]=Object(c.useState)({current:null}),o=Object(c.useCallback)(e=>{for(const i of t){if(i.setting.get().includes(e)){i.sectionInstance.expand({completeCallback(){n({current:e})}});break}}},[t]);Object(c.useEffect)(()=>{function t(e){const t=ie(e);o(t)}function i(){e.previewer.preview.bind("focus-control-for-setting",t)}return e.previewer.bind("ready",i),()=>{e.previewer.unbind("ready",i),e.previewer.preview.unbind("focus-control-for-setting",t)}},[e,o]);const r=Object(c.useMemo)(()=>[s,o],[s,o]);return Object(c.createElement)(se.Provider,{value:r},i)}function ce(e){const{selectBlock:t}=Object(u.useDispatch)(b.store),[i]=Object(c.useContext)(se),s=Object(c.useRef)(e);Object(c.useEffect)(()=>{s.current=e},[e]),Object(c.useEffect)(()=>{if(i.current){const e=s.current.find(e=>Object(r.getWidgetIdFromBlock)(e)===i.current);if(e){t(e.clientId);const i=document.querySelector(`[data-block="${e.clientId}"]`);null==i||i.focus()}}},[i,t])}function oe({sidebar:e,settings:t,children:i}){const[s,n,o]=te(e);return ce(s),Object(c.createElement)(b.BlockEditorProvider,{value:s,onInput:n,onChange:o,settings:t,useSubRegistry:!1},i)}function re({sidebar:e}){const{__unstableToggleFeature:t}=Object(u.useDispatch)(N),i=e.getWidgets().every(e=>e.id.startsWith("block-"));return Object(c.createElement)("div",{className:"customize-widgets-welcome-guide"},Object(c.createElement)("div",{className:"customize-widgets-welcome-guide__image__wrapper"},Object(c.createElement)("picture",null,Object(c.createElement)("source",{srcSet:"https://s.w.org/images/block-editor/welcome-editor.svg",media:"(prefers-reduced-motion: reduce)"}),Object(c.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(c.createElement)("h1",{className:"customize-widgets-welcome-guide__heading"},Object(p.__)("Welcome to block Widgets")),Object(c.createElement)("p",{className:"customize-widgets-welcome-guide__text"},i?Object(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."):Object(p.__)("You can now add any block to your site’s widget areas. Don’t worry, all of your favorite widgets still work flawlessly.")),Object(c.createElement)(a.Button,{className:"customize-widgets-welcome-guide__button",isPrimary:!0,onClick:()=>t("welcomeGuide")},Object(p.__)("Got it")),Object(c.createElement)("hr",{className:"customize-widgets-welcome-guide__separator"}),!i&&Object(c.createElement)("p",{className:"customize-widgets-welcome-guide__more-info"},Object(p.__)("Want to stick with the old widgets?"),Object(c.createElement)("br",null),Object(c.createElement)(a.ExternalLink,{href:Object(p.__)("https://wordpress.org/plugins/classic-widgets/")},Object(p.__)("Get the Classic Widgets plugin."))),Object(c.createElement)("p",{className:"customize-widgets-welcome-guide__more-info"},Object(p.__)("New to the block editor?"),Object(c.createElement)("br",null),Object(c.createElement)(a.ExternalLink,{href:Object(p.__)("https://wordpress.org/support/article/wordpress-editor/")},Object(p.__)("Here's a detailed guide."))))}function ae({undo:e,redo:t,save:i}){return Object(S.useShortcut)("core/customize-widgets/undo",t=>{e(),t.preventDefault()},{bindGlobal:!0}),Object(S.useShortcut)("core/customize-widgets/redo",e=>{t(),e.preventDefault()},{bindGlobal:!0}),Object(S.useShortcut)("core/customize-widgets/save",e=>{e.preventDefault(),i()},{bindGlobal:!0}),null}ae.Register=function(){const{registerShortcut:e,unregisterShortcut:t}=Object(u.useDispatch)(S.store);return Object(c.useEffect)(()=>(e({name:"core/customize-widgets/undo",category:"global",description:Object(p.__)("Undo your last changes."),keyCombination:{modifier:"primary",character:"z"}}),e({name:"core/customize-widgets/redo",category:"global",description:Object(p.__)("Redo your last undo."),keyCombination:{modifier:"primaryShift",character:"z"}}),e({name:"core/customize-widgets/save",category:"global",description:Object(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 le=ae;function de({blockEditorSettings:e,sidebar:t,inserter:i,inspector:s}){const[n,o]=function(e){const[t,i]=Object(c.useState)(()=>e.isOpen);return Object(c.useEffect)(()=>e.subscribe(i),[e]),[t,Object(c.useCallback)(t=>{let i=t;"function"==typeof t&&(i=t(e.isOpen)),i?e.open():e.close()},[e])]}(i),{hasUploadPermissions:r,isFixedToolbarActive:a,keepCaretInsideBlock:h,isWelcomeGuideActive:p}=Object(u.useSelect)(e=>({hasUploadPermissions:Object(l.defaultTo)(e(d.store).canUser("create","media"),!0),isFixedToolbarActive:e(N).__unstableIsFeatureActive("fixedToolbar"),keepCaretInsideBlock:e(N).__unstableIsFeatureActive("keepCaretInsideBlock"),isWelcomeGuideActive:e(N).__unstableIsFeatureActive("welcomeGuide")}),[]),O=Object(c.useMemo)(()=>{let t;return r&&(t=({onError:t,...i})=>{Object(m.uploadMedia)({wpAllowedMimeTypes:e.allowedMimeTypes,onError:({message:e})=>t(e),...i})}),{...e,__experimentalSetIsInserterOpened:o,mediaUpload:t,hasFixedToolbar:a,keepCaretInsideBlock:h}},[r,e,a,h]);return p?Object(c.createElement)(re,{sidebar:t}):Object(c.createElement)(c.Fragment,null,Object(c.createElement)(b.BlockEditorKeyboardShortcuts.Register,null),Object(c.createElement)(le.Register,null),Object(c.createElement)(oe,{sidebar:t,settings:O},Object(c.createElement)(b.BlockEditorKeyboardShortcuts,null),Object(c.createElement)(le,{undo:t.undo,redo:t.redo,save:t.save}),Object(c.createElement)(Q,{sidebar:t,inserter:i,isInserterOpened:n,setIsInserterOpened:o,isFixedToolbarActive:a}),Object(c.createElement)(b.BlockTools,null,Object(c.createElement)(b.BlockSelectionClearer,null,Object(c.createElement)(b.WritingFlow,null,Object(c.createElement)(b.ObserveTyping,null,Object(c.createElement)(b.BlockList,null))))),Object(c.createPortal)(Object(c.createElement)("form",{onSubmit:e=>e.preventDefault()},Object(c.createElement)(b.BlockInspector,null)),s.contentContainer[0])),Object(c.createElement)(b.__unstableBlockSettingsMenuFirstItem,null,({onClose:e})=>Object(c.createElement)(g,{inspector:s,closeMenu:e})))}const ue=Object(c.createContext)();function be({sidebarControls:e,activeSidebarControl:t,children:i}){const s=Object(c.useMemo)(()=>({sidebarControls:e,activeSidebarControl:t}),[e,t]);return Object(c.createElement)(ue.Provider,{value:s},i)}function me({api:e,sidebarControls:t,blockEditorSettings:i}){const[s,n]=Object(c.useState)(null),o=document.getElementById("customize-theme-controls"),r=Object(c.useRef)();!function(e,t){const{hasSelectedBlock:i,hasMultiSelection:s}=Object(u.useSelect)(b.store),{clearSelectedBlock:n}=Object(u.useDispatch)(b.store);Object(c.useEffect)(()=>{if(t.current&&e){const a=e.inspector,l=e.container[0],d=l.ownerDocument,u=d.defaultView;function c(e){!i()&&!s()||!e||!d.contains(e)||l.contains(e)||t.current.contains(e)||e.closest('[role="dialog"]')||a.expanded()||n()}function o(e){c(e.target)}function r(){c(d.activeElement)}return d.addEventListener("focusin",o),u.addEventListener("blur",r),()=>{d.removeEventListener("focusin",o),u.removeEventListener("blur",r)}}},[t,e,i,s,n])}(s,r),Object(c.useEffect)(()=>{const e=t.map(e=>e.subscribe(t=>{t&&n(e)}));return()=>{e.forEach(e=>e())}},[t]);const l=s&&Object(c.createPortal)(Object(c.createElement)(de,{key:s.id,blockEditorSettings:i,sidebar:s.sidebarAdapter,inserter:s.inserter,inspector:s.inspector}),s.container[0]),d=o&&Object(c.createPortal)(Object(c.createElement)("div",{className:"customize-widgets-popover",ref:r},Object(c.createElement)(a.Popover.Slot,null)),o);return Object(c.createElement)(a.SlotFillProvider,null,Object(c.createElement)(be,{sidebarControls:t,activeSidebarControl:s},Object(c.createElement)(ne,{api:e,sidebarControls:t},l,d)))}function he(){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}ready(){this.contentContainer[0].classList.add("customize-widgets-layout__inspector")}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({returnFocusWhenClose:e}={}){this.returnFocusWhenClose=e,this.expand({allowMultiple:!0})}close(){this.collapse({allowMultiple:!0})}}}();this.inspector=new t("widgets-inspector-"+this.id,{title:Object(p.__)("Block Settings"),parentSection:this,customizeAction:[Object(p.__)("Customizing"),Object(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 i=this.controls(),s={...t,completeCallback(){var n;i.forEach(t=>{t.onChangeSectionExpanded(e,s)}),null===(n=t.completeCallback)||void 0===n||n.call(t)}};s.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"),s.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"),s.completeCallback()})):super.onChangeExpanded(e,s)}}}const{wp:pe}=window;function ge(e){const t=e.match(/^(.+)-(\d+)$/);return t?{idBase:t[1],number:parseInt(t[2],10)}:{idBase:e}}function Oe(e){const{idBase:t,number:i}=ge(e);return i?`widget_${t}[${i}]`:"widget_"+t}class we{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,i){let s,n=!1;function c(...c){const o=(n?t:e).apply(this,c);return n=!0,clearTimeout(s),s=setTimeout(()=>{n=!1},i),o}return c.cancel=()=>{n=!1,clearTimeout(s)},c}(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(...e){for(const t of this.subscribers)t(...e)}_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=ie(e.id);if(!this.setting.get().includes(t))return;const i=this.getWidgets();this._pushHistory(),this._emit(i,this.getWidgets())}_createWidget(e){const t=pe.customize.Widgets.availableWidgets.findWhere({id_base:e.idBase});let i=e.number;t.get("is_multi")&&!i&&(t.set("multi_number",t.get("multi_number")+1),i=t.get("multi_number"));const s=i?`widget_${e.idBase}[${i}]`:"widget_"+e.idBase,n={transport:pe.customize.Widgets.data.selectiveRefreshableWidgets[t.get("id_base")]?"postMessage":"refresh",previewer:this.setting.previewer};this.api.create(s,s,"",n).set(e.instance);return ie(s)}_removeWidget(e){const t=Oe(e.id),i=this.api(t);if(i){const e=i.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=Oe(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:i}=ge(e),s=Oe(e),n=this.api(s);if(!n)return null;const c=n.get();if(this.widgetsCache.has(c))return this.widgetsCache.get(c);const o={id:e,idBase:t,number:i,instance:c};return this.widgetsCache.set(c,o),o}_updateWidgets(e){this.locked=!0;const t=[],i=e.map(e=>{if(e.id&&this.getWidget(e.id))return t.push(null),this._updateWidget(e);const i=this._createWidget(e);return t.push(i),i});return this.getWidgets().filter(e=>!i.includes(e.id)).forEach(e=>this._removeWidget(e)),this.setting.set(i),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 i=this.history[this.historyIndex];this._updateWidgets(i),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 je=i("1CF3");function fe(){const{wp:{customize:e}}=window;return class extends e.Control{constructor(...e){super(...e),this.subscribers=new Set}ready(){const t=function(){const{wp:{customize:e}}=window,t=e.OuterSection;return e.OuterSection=class extends t{onChangeExpanded(t,i){return t&&e.section.each(e=>{"outer"===e.params.type&&e.id!==this.id&&e.expanded()&&e.collapse()}),super.onChangeExpanded(t,i)}},e.sectionConstructor.outer=e.OuterSection,class extends e.OuterSection{constructor(...e){super(...e),this.params.type="outer",this.activeElementBeforeExpanded=null;this.contentContainer[0].ownerDocument.defaultView.addEventListener("keydown",e=>{!this.isOpen||e.keyCode!==j.ESCAPE&&"Escape"!==e.code||(e.stopPropagation(),this.close())},!0),this.contentContainer.addClass("widgets-inserter")}get isOpen(){return this.expanded()}subscribe(e){return this.expanded.bind(e),()=>this.expanded.unbind(e)}open(){if(!this.isOpen){const e=this.contentContainer[0];this.activeElementBeforeExpanded=e.ownerDocument.activeElement,this.expand({completeCallback(){const t=je.focus.tabbable.find(e)[1];t&&t.focus()}})}}close(){if(this.isOpen){const e=this.contentContainer[0],t=e.ownerDocument.activeElement;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 we(this.setting,e)}subscribe(e){return this.subscribers.add(e),()=>{this.subscribers.delete(e)}}onChangeSectionExpanded(e,t){t.unchanged||(e||this.inserter.close(),this.subscribers.forEach(i=>i(e,t)))}}}var _e=i("g56x");const ye=Object(v.createHigherOrderComponent)(e=>t=>{const i=Object(r.getWidgetIdFromBlock)(t),s=function(){const{sidebarControls:e}=Object(c.useContext)(ue);return e}(),n=function(){const{activeSidebarControl:e}=Object(c.useContext)(ue);return e}(),o=(null==s?void 0:s.length)>1,a=t.name,d=Object(u.useSelect)(e=>e(b.store).canInsertBlockType(a,""),[a]);return Object(c.createElement)(c.Fragment,null,Object(c.createElement)(e,t),o&&d&&Object(c.createElement)(b.BlockControls,null,Object(c.createElement)(r.MoveToWidgetArea,{widgetAreas:s.map(e=>({id:e.id,name:e.params.label,description:e.params.description})),currentWidgetAreaId:null==n?void 0:n.id,onSelect:function(e){const t=s.find(t=>t.id===e),c=n.setting,o=t.setting;c(Object(l.without)(c(),i)),o([...o(),i]),t.expand()}})))},"withMoveToSidebarToolbarItem");Object(_e.addFilter)("editor.BlockEdit","core/customize-widgets/block-edit",ye);Object(_e.addFilter)("editor.MediaUpload","core/edit-widgets/replace-media-upload",()=>m.MediaUpload);const{wp:ve}=window,Ee=Object(v.createHigherOrderComponent)(e=>t=>{var i,s;const{idBase:n}=t.attributes,o=null!==(i=null===(s=ve.customize.Widgets.data.availableWidgets.find(e=>e.id_base===n))||void 0===s?void 0:s.is_wide)&&void 0!==i&&i;return Object(c.createElement)(e,Object(h.a)({},t,{isWide:o}))},"withWideWidgetDisplay");Object(_e.addFilter)("editor.BlockEdit","core/customize-widgets/wide-widget-display",Ee);const{wp:ke}=window;function Ce(e,t){const i=Object(o.__experimentalGetCoreBlocks)().filter(e=>!["core/more"].includes(e.name));Object(o.registerCoreBlocks)(i),Object(r.registerLegacyWidgetVariations)(t);const s=fe();ke.customize.sectionConstructor.sidebar=he(),ke.customize.controlConstructor.sidebar_block_editor=s;const n=document.createElement("div");document.body.appendChild(n),ke.customize.bind("ready",()=>{const e=[];ke.customize.control.each(t=>{t instanceof s&&e.push(t)}),Object(c.render)(Object(c.createElement)(me,{api:ke.customize,sidebarControls:e,blockEditorSettings:t}),n)})}},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,i){"use strict";var s=i("GRId"),n=i("Tqx9");const c=Object(s.createElement)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(s.createElement)(n.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=c},K2cm:function(e,t,i){"use strict";var s=i("GRId"),n=i("Tqx9");const c=Object(s.createElement)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(s.createElement)(n.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=c},K9lf:function(e,t){e.exports=window.wp.compose},Ntru:function(e,t,i){"use strict";var s=i("GRId"),n=i("Tqx9");const c=Object(s.createElement)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(s.createElement)(n.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=c},Q4Sy:function(e,t,i){"use strict";var s=i("GRId"),n=i("Tqx9");const c=Object(s.createElement)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(s.createElement)(n.Path,{d:"M18 11.2h-5.2V6h-1.6v5.2H6v1.6h5.2V18h1.6v-5.2H18z"}));t.a=c},QyPg:function(e,t){e.exports=window.wp.blockLibrary},RMJe:function(e,t,i){"use strict";var s=i("GRId"),n=i("Tqx9");const c=Object(s.createElement)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(s.createElement)(n.Path,{d:"M18.3 5.6L9.9 16.9l-4.6-3.4-.9 1.2 5.8 4.3 9.3-12.6z"}));t.a=c},RxS6:function(e,t){e.exports=window.wp.keycodes},TSYQ:function(e,t,i){var s; /*! Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames -*/!function(){"use strict";var s={}.hasOwnProperty;function n(){for(var e=[],t=0;t<arguments.length;t++){var i=arguments[t];if(i){var c=typeof i;if("string"===c||"number"===c)e.push(i);else if(Array.isArray(i)){if(i.length){var o=n.apply(null,i);o&&e.push(o)}}else if("object"===c)if(i.toString===Object.prototype.toString)for(var r in i)s.call(i,r)&&i[r]&&e.push(r);else e.push(i.toString())}}return e.join(" ")}e.exports?(n.default=n,e.exports=n):void 0===(i=function(){return n}.apply(t,[]))||(e.exports=i)}()},Tqx9:function(e,t){e.exports=window.wp.primitives},VKE3:function(e,t,s){"use strict";var i=s("GRId"),n=s("Tqx9");const c=Object(i.createElement)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(n.Path,{d:"M13 19h-2v-2h2v2zm0-6h-2v-2h2v2zm0-6h-2V5h2v2z"}));t.a=c},YLtl:function(e,t){e.exports=window.lodash},axFQ:function(e,t){e.exports=window.wp.blockEditor},bWcr:function(e,t,s){"use strict";var i=s("GRId"),n=s("Tqx9");const c=Object(i.createElement)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(n.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=c},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,s){"use strict";function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var i in s)Object.prototype.hasOwnProperty.call(s,i)&&(e[i]=s[i])}return e}).apply(this,arguments)}s.d(t,"a",(function(){return i}))}}); \ No newline at end of file +*/!function(){"use strict";var i={}.hasOwnProperty;function n(){for(var e=[],t=0;t<arguments.length;t++){var s=arguments[t];if(s){var c=typeof s;if("string"===c||"number"===c)e.push(s);else if(Array.isArray(s)){if(s.length){var o=n.apply(null,s);o&&e.push(o)}}else if("object"===c)if(s.toString===Object.prototype.toString)for(var r in s)i.call(s,r)&&s[r]&&e.push(r);else e.push(s.toString())}}return e.join(" ")}e.exports?(n.default=n,e.exports=n):void 0===(s=function(){return n}.apply(t,[]))||(e.exports=s)}()},Tqx9:function(e,t){e.exports=window.wp.primitives},VKE3:function(e,t,i){"use strict";var s=i("GRId"),n=i("Tqx9");const c=Object(s.createElement)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(s.createElement)(n.Path,{d:"M13 19h-2v-2h2v2zm0-6h-2v-2h2v2zm0-6h-2V5h2v2z"}));t.a=c},YLtl:function(e,t){e.exports=window.lodash},axFQ:function(e,t){e.exports=window.wp.blockEditor},bWcr:function(e,t,i){"use strict";var s=i("GRId"),n=i("Tqx9");const c=Object(s.createElement)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(s.createElement)(n.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=c},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,i){"use strict";function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(e[s]=i[s])}return e}).apply(this,arguments)}i.d(t,"a",(function(){return s}))}}); \ 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 3147457a59..8f23c0dcac 100644 --- a/wp-includes/js/dist/edit-post.js +++ b/wp-includes/js/dist/edit-post.js @@ -13152,7 +13152,6 @@ function VisualEditor({ contentSize, wideSize } = defaultLayout || {}; - const alignments = contentSize || wideSize ? ['wide', 'full'] : ['left', 'center', 'right']; let animatedStyles = isTemplateMode ? templateModeStyles : desktopCanvasStyles; if (resizedCanvasStyles) { @@ -13170,6 +13169,24 @@ function VisualEditor({ 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"])(() => { + if (isTemplateMode) { + return { + type: 'default' + }; + } + + if (themeSupportsLayout) { + const alignments = contentSize || wideSize ? ['wide', 'full'] : ['left', 'center', 'right']; + return { + type: 'default', + // Find a way to inject this in the support flag code (hooks). + alignments + }; + } + + return undefined; + }, [isTemplateMode, themeSupportsLayout, contentSize, wideSize]); return Object(external_wp_element_["createElement"])("div", { className: classnames_default()('edit-post-visual-editor', { 'is-template-mode': isTemplateMode @@ -13199,17 +13216,13 @@ function VisualEditor({ style: { paddingBottom } - }, themeSupportsLayout && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__experimentalLayoutStyle"], { + }, themeSupportsLayout && !isTemplateMode && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__experimentalLayoutStyle"], { selector: ".edit-post-visual-editor__post-title-wrapper, .block-editor-block-list__layout.is-root-container", layout: defaultLayout }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["WritingFlow"], null, !isTemplateMode && Object(external_wp_element_["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"], { - __experimentalLayout: themeSupportsLayout ? { - type: 'default', - // Find a way to inject this in the support flag code (hooks). - alignments: themeSupportsLayout ? alignments : undefined - } : undefined + __experimentalLayout: layout }))))))), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__unstableBlockSettingsMenuFirstItem"], null, ({ onClose }) => Object(external_wp_element_["createElement"])(block_inspector_button, { @@ -14550,9 +14563,9 @@ function DeleteTemplate() { return Object(external_wp_element_["createElement"])(external_wp_components_["MenuGroup"], { className: "edit-post-template-top-area__second-menu-group" }, Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], { + className: "edit-post-template-top-area__delete-template-button", isDestructive: true, - isTertiary: true, - isLink: true, + isSecondary: true, "aria-label": Object(external_wp_i18n_["__"])('Delete template'), onClick: () => { if ( // eslint-disable-next-line no-alert @@ -14630,6 +14643,7 @@ function EditTemplateTitle() { return Object(external_wp_element_["createElement"])(external_wp_components_["TextControl"], { label: Object(external_wp_i18n_["__"])('Title'), value: templateTitle, + help: Object(external_wp_i18n_["__"])('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) => { @@ -16786,7 +16800,11 @@ function PostTemplateActions() { const defaultTitle = Object(external_wp_i18n_["__"])('Custom Template'); - const templateContent = [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/post-title'), Object(external_wp_blocks_["createBlock"])('core/post-content')]; + const templateContent = [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/post-title'), Object(external_wp_blocks_["createBlock"])('core/post-content', { + layout: { + inherit: true + } + })]; __unstableSwitchToTemplateMode({ slug: 'wp-custom-template-' + Object(external_lodash_["kebabCase"])(title !== null && title !== void 0 ? title : defaultTitle), diff --git a/wp-includes/js/dist/edit-post.min.js b/wp-includes/js/dist/edit-post.min.js index 24947bf4a4..e475a866b3 100644 --- a/wp-includes/js/dist/edit-post.min.js +++ b/wp-includes/js/dist/edit-post.min.js @@ -46,4 +46,4 @@ 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 ln=function(){return(ln=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 un(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;Object.create;var dn=function(e,t,n){return Math.min(Math.max(n,e),t)};function pn(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=dn(.05,1,d),o=dn(.01,10,o/1e3),d<1?(t=function(e){var t=e*d,n=t*o;return.001-(t-s)/mn(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=mn(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 p=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(p))return{stiffness:100,damping:10,duration:o};var m=Math.pow(p,2)*u;return{stiffness:m,damping:2*d*Math.sqrt(u*m),duration:o}}function mn(e,t){return e*Math.sqrt(1-t*t)}var bn=["duration","bounce"],fn=["stiffness","damping","mass"];function vn(e,t){return t.some((function(t){return void 0!==e[t]}))}function hn(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=un(e,["from","to","restSpeed","restDelta"]),l={done:!1,value:n},u=function(e){var t=ln({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!vn(e,fn)&&vn(e,bn)){var n=pn(e);(t=ln(ln(ln({},t),n),{velocity:0,mass:1})).isResolvedFromDuration=!0}return t}(s),d=u.stiffness,p=u.damping,m=u.mass,b=u.velocity,f=u.duration,v=u.isResolvedFromDuration,h=gn,g=gn;function O(){var e=b?-b/1e3:0,t=o-n,r=p/(2*Math.sqrt(d*m)),a=Math.sqrt(d/m)/1e3;if(null!=c||(c=Math.abs(o-n)<=1?.01:.4),r<1){var i=mn(a,r);h=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)h=function(n){return o-Math.exp(-a*n)*(t+(e+a*t)*n)};else{var s=a*Math.sqrt(r*r-1);h=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 O(),{next:function(e){var t=h(e);if(v)l.done=e>=f;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],O()}}}hn.needsInterpolation=function(e,t){return"string"==typeof e||"string"==typeof t};var gn=function(e){return 0},On=function(e,t,n){var r=t-e;return 0===r?1:(n-e)/r},yn=function(e,t,n){return-n*e+n*t+e},jn=function(e,t){return function(n){return Boolean(Ge(n)&&Ue.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t))}},En=function(e,t,n){return function(r){var o;if(!Ge(r))return r;var a=r.match(Ve),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}},_n=Re(0,255),wn=Ne(Ne({},Ze),{transform:function(e){return Math.round(_n(e))}}),Sn={test:jn("rgb","red"),parse:En("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("+wn.transform(t)+", "+wn.transform(n)+", "+wn.transform(r)+", "+De(Qe.transform(a))+")"}};var xn={test:jn("#"),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:Sn.transform},Pn={test:jn("hsl","hue"),parse:En("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)+", "+qe.transform(De(n))+", "+qe.transform(De(r))+", "+De(Qe.transform(a))+")"}},Tn=function(e,t,n){var r=e*e,o=t*t;return Math.sqrt(Math.max(0,n*(o-r)+r))},kn=[xn,Sn,Pn],Cn=function(e){return kn.find((function(t){return t.test(e)}))},An=function(e){return"'"+e+"' is not an animatable color. Use the equivalent color code instead."},Mn=function(e,t){var n=Cn(e),r=Cn(t);An(e),An(t),n.transform,r.transform;var o=n.parse(e),a=r.parse(t),i=ln({},o),c=n===Pn?yn:Tn;return function(e){for(var t in i)"alpha"!==t&&(i[t]=c(o[t],a[t],e));return i.alpha=yn(o.alpha,a.alpha,e),n.transform(i)}},In={test:function(e){return Sn.test(e)||xn.test(e)||Pn.test(e)},parse:function(e){return Sn.test(e)?Sn.parse(e):Pn.test(e)?Pn.parse(e):xn.parse(e)},transform:function(e){return Ge(e)?e:e.hasOwnProperty("red")?Sn.transform(e):Pn.transform(e)}};function Ln(e){var t=[],n=0,r=e.match(Fe);r&&(n=r.length,e=e.replace(Fe,"${c}"),t.push.apply(t,r.map(In.parse)));var o=e.match(Ve);return o&&(e=e.replace(Ve,"${n}"),t.push.apply(t,o.map(Ze.parse))),{values:t,numColors:n,tokenised:e}}function Bn(e){return Ln(e).values}function Nn(e){var t=Ln(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?In.transform(e[n]):De(e[n]));return t}}var Rn=function(e){return"number"==typeof e?0:e};var Dn={test:function(e){var t,n,r,o;return isNaN(e)&&Ge(e)&&(null!==(n=null===(t=e.match(Ve))||void 0===t?void 0:t.length)&&void 0!==n?n:0)+(null!==(o=null===(r=e.match(Fe))||void 0===r?void 0:r.length)&&void 0!==o?o:0)>0},parse:Bn,createTransformer:Nn,getAnimatableNone:function(e){var t=Bn(e);return Nn(e)(t.map(Rn))}},Vn=function(e){return"number"==typeof e};function Fn(e,t){return Vn(e)?function(n){return yn(e,t,n)}:In.test(e)?Mn(e,t):zn(e,t)}var Un=function(e,t){var n=function(e,t){for(var n=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];return e}([],e),r=n.length,o=e.map((function(e,n){return Fn(e,t[n])}));return function(e){for(var t=0;t<r;t++)n[t]=o[t](e);return n}},Gn=function(e,t){var n=ln(ln({},e),t),r={};for(var o in n)void 0!==e[o]&&void 0!==t[o]&&(r[o]=Fn(e[o],t[o]));return function(e){for(var t in r)n[t]=r[t](e);return n}};function Hn(e){for(var t=Dn.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 zn=function(e,t){var n=Dn.createTransformer(t),r=Hn(e),o=Hn(t);return r.numHSL===o.numHSL&&r.numRGB===o.numRGB&&(r.numNumbers,o.numNumbers),on(Un(r.parsed,o.parsed),n)},qn=function(e,t){return function(n){return yn(e,t,n)}};function Wn(e,t,n){for(var r,o=[],a=n||("number"==typeof(r=e[0])?qn:"string"==typeof r?In.test(r)?Mn:zn:Array.isArray(r)?Un:"object"==typeof r?Gn: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=on(l,s)}o.push(s)}return o}function Yn(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=Wn(t,i,c),u=2===s?function(e,t){var n=e[0],r=e[1],o=t[0];return function(e){return o(On(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=On(e[a],e[a+1],o);return t[a](s)}}(e,l);return a?function(t){return u(dn(e[0],e[s-1],t))}:u}var Xn,Kn=function(e){return function(t){return 1-e(1-t)}},Zn=function(e){return function(t){return t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2}},Qn=function(e){return function(t){return t*t*((e+1)*t-e)}},$n=function(e){return e},Jn=(Xn=2,function(e){return Math.pow(e,Xn)}),er=Kn(Jn),tr=Zn(Jn),nr=function(e){return 1-Math.sin(Math.acos(e))},rr=Kn(nr),or=Zn(rr),ar=Qn(1.525),ir=Kn(ar),cr=Zn(ar),sr=function(e){var t=Qn(e);return function(e){return(e*=2)<1?.5*t(e):.5*(2-Math.pow(2,-10*(e-1)))}}(1.525),lr=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},ur=Kn(lr);function dr(e,t){return e.map((function(){return t||tr})).splice(0,e.length-1)}function pr(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 p(){return Yn(d,u,{ease:Array.isArray(a)?a:dr(u,a)})}var m=p();return{next:function(e){return l.value=m(e),l.done=e>=s,l},flipTarget:function(){u.reverse(),m=p()}}}var mr={keyframes:pr,spring:hn,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,p={done:!1,value:o},m=i*n,b=o+m,f=void 0===d?b:d(b);return f!==b&&(m=f-o),{next:function(e){var t=-m*Math.exp(-e/s);return p.done=!(t>u||t<-u),p.value=p.done?f:f+t,p},flipTarget:function(){}}}};var br="undefined"!=typeof performance?function(){return performance.now()}:function(){return Date.now()},fr="undefined"!=typeof window?function(e){return window.requestAnimationFrame(e)}:function(e){return setTimeout((function(){return e(br())}),1/60*1e3)};var vr=!0,hr=!1,gr=!1,Or={delta:0,timestamp:0},yr=["read","update","preRender","render","postRender"],jr=yr.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 hr=!0})),e}),{}),Er=yr.reduce((function(e,t){var n=jr[t];return e[t]=function(e,t,r){return void 0===t&&(t=!1),void 0===r&&(r=!1),hr||Pr(),n.schedule(e,t,r)},e}),{}),_r=yr.reduce((function(e,t){return e[t]=jr[t].cancel,e}),{}),wr=yr.reduce((function(e,t){return e[t]=function(){return jr[t].process(Or)},e}),{}),Sr=function(e){return jr[e].process(Or)},xr=function(e){hr=!1,Or.delta=vr?1/60*1e3:Math.max(Math.min(e-Or.timestamp,40),1),Or.timestamp=e,gr=!0,yr.forEach(Sr),gr=!1,hr&&(vr=!1,fr(xr))},Pr=function(){hr=!0,vr=!0,gr||fr(xr)},Tr=function(){return Or},kr=Er;function Cr(e,t,n){return void 0===n&&(n=0),e-t-n}var Ar=function(e){var t=function(t){var n=t.delta;return e(n)};return{start:function(){return kr.update(t,!0)},stop:function(){return _r.update(t)}}};function Mr(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?Ar:l,d=e.elapsed,p=void 0===d?0:d,m=e.repeat,b=void 0===m?0:m,f=e.repeatType,v=void 0===f?"loop":f,h=e.repeatDelay,g=void 0===h?0:h,O=e.onPlay,y=e.onStop,j=e.onComplete,E=e.onRepeat,_=e.onUpdate,w=un(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]),S=w.to,x=0,P=w.duration,T=!1,k=!0,C=function(e){if(Array.isArray(e.to))return pr;if(mr[e.type])return mr[e.type];var t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?pr:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?hn:pr}(w);(null===(n=(t=C).needsInterpolation)||void 0===n?void 0:n.call(t,i,S))&&(a=Yn([0,100],[i,S],{clamp:!1}),i=0,S=100);var A=C(ln(ln({},w),{from:i,to:S}));function M(){x++,"reverse"===v?p=function(e,t,n,r){return void 0===n&&(n=0),void 0===r&&(r=!0),r?Cr(t+-e,t,n):t-(e-t)+n}(p,P,g,k=x%2==0):(p=Cr(p,P,g),"mirror"===v&&A.flipTarget()),T=!1,E&&E()}function I(e){if(k||(e=-e),p+=e,!T){var t=A.next(Math.max(0,p));o=t.value,a&&(o=a(o)),T=k?t.done:p<=0}null==_||_(o),T&&(0===x&&(null!=P||(P=p)),x<b?function(e,t,n,r){return r?e>=t+n:e<=-n}(p,P,g,k)&&M():(r.stop(),j&&j()))}return s&&(null==O||O(),(r=u(I)).start()),{stop:function(){null==y||y(),r.stop()}}}function Ir(e,t){return t?e*(1e3/t):0}var Lr=function(e){return 1e3*e},Br=function(e,t){return 1-3*t+3*e},Nr=function(e,t){return 3*t-6*e},Rr=function(e){return 3*e},Dr=function(e,t,n){return((Br(t,n)*e+Nr(t,n))*e+Rr(t))*e},Vr=function(e,t,n){return 3*Br(t,n)*e*e+2*Nr(t,n)*e+Rr(t)};function Fr(e,t,n,r){if(e===t&&n===r)return $n;for(var o=new Float32Array(11),a=0;a<11;++a)o[a]=Dr(.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=Vr(i,e,n);return c>=.001?function(e,t,n,r){for(var o=0;o<8;++o){var a=Vr(t,n,r);if(0===a)return t;t-=(Dr(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=Dr(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:Dr(i(e),t,r)}}var Ur={linear:$n,easeIn:Jn,easeInOut:tr,easeOut:er,circIn:nr,circInOut:or,circOut:rr,backIn:ar,backInOut:cr,backOut:ir,anticipate:sr,bounceIn:ur,bounceInOut:function(e){return e<.5?.5*(1-lr(1-2*e)):.5*lr(2*e-1)+.5},bounceOut:lr},Gr=function(e){if(Array.isArray(e)){e.length;var t=G(e,4);return Fr(t[0],t[1],t[2],t[3])}return"string"==typeof e?Ur[e]:e},Hr=function(e,t){return"zIndex"!==e&&(!("number"!=typeof t&&!Array.isArray(t))||!("string"!=typeof t||!Dn.test(t)||t.startsWith("url(")))},zr=function(){return{type:"spring",stiffness:500,damping:25,restDelta:.5,restSpeed:10}},qr=function(e){return{type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restDelta:.01,restSpeed:10}},Wr=function(){return{type:"keyframes",ease:"linear",duration:.3}},Yr=function(e){return{type:"keyframes",duration:.8,values:e}},Xr={x:zr,y:zr,z:zr,rotate:zr,rotateX:zr,rotateY:zr,rotateZ:zr,scaleX:qr,scaleY:qr,scale:qr,opacity:Wr,backgroundColor:Wr,color:Wr,default:qr},Kr=new Set(["brightness","contrast","saturate","opacity"]);function Zr(e){var t=e.slice(0,-1).split("("),n=t[0],r=t[1];if("drop-shadow"===n)return e;var o=(r.match(Ve)||[])[0];if(!o)return e;var a=r.replace(o,""),i=Kr.has(n)?1:0;return o!==r&&(i*=100),n+"("+i+a+")"}var Qr=/([a-z-]*)\(.*?\)/g,$r=Ne(Ne({},Dn),{getAnimatableNone:function(e){var t=e.match(Qr);return t?t.map(Zr).join(" "):e}}),Jr=F(F({},et),{color:In,backgroundColor:In,outlineColor:In,fill:In,stroke:In,borderColor:In,borderTopColor:In,borderRightColor:In,borderBottomColor:In,borderLeftColor:In,filter:$r,WebkitFilter:$r}),eo=function(e){return Jr[e]};function to(e,t){var n,r=eo(e);return r!==$r&&(r=Dn),null===(n=r.getAnimatableNone)||void 0===n?void 0:n.call(r,t)}function no(e){var t=e.ease,n=e.times,r=e.yoyo,o=e.flip,a=e.loop,i=U(e,["ease","times","yoyo","flip","loop"]),c=F({},i);return n&&(c.offset=n),i.duration&&(c.duration=Lr(i.duration)),i.repeatDelay&&(c.repeatDelay=Lr(i.repeatDelay)),t&&(c.ease=function(e){return Array.isArray(e)&&"number"!=typeof e[0]}(t)?t.map(Gr):Gr(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 ro(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=H([],G(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=U(e,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(t).length}(e)||(e=F(F({},e),(o=n,a=t.to,i=xt(a)?Yr:Xr[o]||Xr.default,F({to:a},i(a))))),F(F({},t),no(e))}function oo(e,t,n,r,o){var a,i=co(r,e),c=null!==(a=i.from)&&void 0!==a?a:t.get(),s=Hr(e,n);"none"===c&&s&&"string"==typeof n?c=to(e,n):ao(c)&&"string"==typeof n?c=io(n):!Array.isArray(n)&&ao(n)&&"string"==typeof c&&(n=io(c));var l=Hr(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,p=e.bounceStiffness,m=void 0===p?500:p,b=e.bounceDamping,f=void 0===b?10:b,v=e.restDelta,h=void 0===v?1:v,g=e.modifyTarget,O=e.driver,y=e.onUpdate,j=e.onComplete;function E(e){return void 0!==i&&e<i||void 0!==c&&e>c}function _(e){return void 0===i?c:void 0===c||Math.abs(i-e)<Math.abs(c-e)?i:c}function w(e){null==t||t.stop(),t=Mr(ln(ln({},e),{driver:O,onUpdate:function(t){var n;null==y||y(t),null===(n=e.onUpdate)||void 0===n||n.call(e,t)},onComplete:j}))}function S(e){w(ln({type:"spring",stiffness:m,damping:f,restDelta:h},e))}if(E(r))S({from:r,velocity:a,to:_(r)});else{var x=l*a+r;void 0!==g&&(x=g(x));var P,T,k=_(x),C=k===i?-1:1;w({type:"decay",from:r,velocity:a,timeConstant:d,power:l,restDelta:h,modifyTarget:g,onUpdate:E(x)?function(e){P=T,T=e,a=Ir(e-P,Tr().delta),(1===C&&e>k||-1===C&&e<k)&&S({from:e,to:k,velocity:a})}:void 0})}return{stop:function(){return null==t?void 0:t.stop()}}}(F(F({},r),i)):Mr(F(F({},ro(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 ao(e){return 0===e||"string"==typeof e&&0===parseFloat(e)&&-1===e.indexOf(" ")}function io(e){return"number"==typeof e?0:to("",e)}function co(e,t){return e[t]||e.default||e}function so(e,t,n,r){return void 0===r&&(r={}),t.start((function(o){var a,i,c=oo(e,t,n,r,o),s=function(e,t){var n;return null!==(n=(co(e,t)||{}).delay)&&void 0!==n?n:0}(r,e),l=function(){return i=c()};return s?a=setTimeout(l,Lr(s)):l(),function(){clearTimeout(a),null==i||i.stop()}}))}function lo(e,t){-1===e.indexOf(t)&&e.push(t)}function uo(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var po=function(){function e(){this.subscriptions=[]}return e.prototype.add=function(e){var t=this;return lo(this.subscriptions,e),function(){return uo(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}(),mo=function(){function e(e){var t,n=this;this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new po,this.velocityUpdateSubscribers=new po,this.renderSubscribers=new po,this.canTrackVelocity=!1,this.updateAndNotify=function(e,t){void 0===t&&(t=!0),n.prev=n.current,n.current=e;var r=Tr(),o=r.delta,a=r.timestamp;n.lastUpdated!==a&&(n.timeDelta=o,n.lastUpdated=a,kr.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 kr.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?Ir(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 bo(e){return new mo(e)}var fo=function(e){return function(t){return t.test(e)}},vo=[Ze,We,qe,ze,Xe,Ye,{test:function(e){return"auto"===e},parse:function(e){return e}}],ho=function(e){return vo.find(fo(e))},go=H(H([],G(vo)),[In,Dn]),Oo=function(e){return go.find(fo(e))};function yo(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,bo(n))}function jo(e,t){var n=be(e,t),r=n?e.makeTargetAnimatable(n,!1):{},o=r.transitionEnd,a=void 0===o?{}:o;r.transition;var i,c=U(r,["transitionEnd","transition"]);for(var s in c=F(F({},c),a)){yo(e,s,(i=c[s],xt(i)?i[i.length-1]||0:i))}}function Eo(e,t){if(t)return(t[e]||t.default||t).from}function _o(e,t,n){var r;void 0===n&&(n={});var o=be(e,t,n.custom),a=(o||{}).transition,i=void 0===a?e.getDefaultTransition()||{}:a;n.transitionOverride&&(i=n.transitionOverride);var c=o?function(){return wo(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(So).forEach((function(e,r){i.push(_o(e,t,F(F({},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=G("beforeChildren"===l?[c,s]:[s,c],2),d=u[0],p=u[1];return d().then(p)}return Promise.all([c(),s(n.delay)])}function wo(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,p=l.transitionEnd,m=U(l,["transition","transitionEnd"]);c&&(d=c);var b=[],f=s&&(null===(r=e.animationState)||void 0===r?void 0:r.getState()[s]);for(var v in m){var h=e.getValue(v),g=m[v];if(!(!h||void 0===g||f&&xo(f,v))){var O=so(v,h,g,F({delay:i},d));b.push(O)}}return Promise.all(b).then((function(){p&&jo(e,p)}))}function So(e,t){return e.sortNodePosition(t)}function xo(e,t){var n=e.protectedKeys,r=e.needsAnimating,o=n.hasOwnProperty(t)&&!0!==r[t];return r[t]=!1,o}var Po=[Mt.Animate,Mt.Hover,Mt.Tap,Mt.Drag,Mt.Focus,Mt.Exit],To=H([],G(Po)).reverse(),ko=Po.length;function Co(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 _o(e,t,n)}));r=Promise.all(o)}else if("string"==typeof t)r=_o(e,t,n);else{var a="function"==typeof t?be(e,t,n.custom):t;r=wo(e,a,n)}return r.then((function(){return e.notifyAnimationComplete(t)}))}(e,n,r)})))}}function Ao(e){var t,n=Co(e),r=((t={})[Mt.Animate]=Mo(!0),t[Mt.Hover]=Mo(),t[Mt.Tap]=Mo(),t[Mt.Drag]=Mo(),t[Mt.Focus]=Mo(),t[Mt.Exit]=Mo(),t),o={},a=!0,i=function(t,n){var r=be(e,n);if(r){r.transition;var o=r.transitionEnd,a=U(r,["transition","transitionEnd"]);t=F(F(F({},t),a),o)}return t};function c(t,c){for(var s,l=e.getProps(),u=e.getVariantContext(!0)||{},d=[],p=new Set,m={},b=1/0,f=function(n){var o=To[n],f=r[o],v=null!==(s=l[o])&&void 0!==s?s:u[o],h=pe(v),g=o===c?f.isActive:null;!1===g&&(b=n);var O=v===u[o]&&v!==l[o]&&h;if(O&&a&&e.manuallyAnimateOnMount&&(O=!1),f.protectedKeys=F({},m),!f.isActive&&null===g||!v&&!f.prevProp||St(v)||"boolean"==typeof v)return"continue";var y=function(e,t){if("string"==typeof t)return t!==e;if(de(t))return!sn(t,e);return!1}(f.prevProp,v)||o===c&&f.isActive&&!O&&h||n>b&&h,j=Array.isArray(v)?v:[v],E=j.reduce(i,{});!1===g&&(E={});var _=f.prevResolvedValues,w=void 0===_?{}:_,S=F(F({},w),E),x=function(e){y=!0,p.delete(e),f.needsAnimating[e]=!0};for(var P in S){var T=E[P],k=w[P];m.hasOwnProperty(P)||(T!==k?xt(T)&&xt(k)?sn(T,k)?f.protectedKeys[P]=!0:x(P):void 0!==T?x(P):p.add(P):void 0!==T&&p.has(P)?x(P):f.protectedKeys[P]=!0)}f.prevProp=v,f.prevResolvedValues=E,f.isActive&&(m=F(F({},m),E)),a&&e.blockInitialAnimation&&(y=!1),y&&!O&&d.push.apply(d,H([],G(j.map((function(e){return{animation:e,options:F({type:o},t)}})))))},v=0;v<ko;v++)f(v);if(o=F({},m),p.size){var h={};p.forEach((function(t){var n=e.getBaseTarget(t);void 0!==n&&(h[t]=n)})),d.push({animation:h})}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 Mo(e){return void 0===e&&(e=!1),{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}var Io={animation:an((function(e){var t=e.visualElement,n=e.animate;t.animationState||(t.animationState=Ao(t)),St(n)&&Object(z.useEffect)((function(){return n.subscribe(t)}),[n])})),exit:an((function(e){var t=e.custom,n=e.visualElement,r=G(te(),2),o=r[0],a=r[1],i=Object(z.useContext)(J);Object(z.useEffect)((function(){var e,r,c=null===(e=n.animationState)||void 0===e?void 0:e.setActive(Mt.Exit,!o,{custom:null!==(r=null==i?void 0:i.custom)&&void 0!==r?r:t});!o&&(null==c||c.then(a))}),[o])}))},Lo=function(e){return e.hasOwnProperty("x")&&e.hasOwnProperty("y")},Bo=function(e){return Lo(e)&&e.hasOwnProperty("z")},No=function(e,t){return Math.abs(e-t)};function Ro(e,t){if(Vn(e)&&Vn(t))return No(e,t);if(Lo(e)&&Lo(t)){var n=No(e.x,t.x),r=No(e.y,t.y),o=Bo(e)&&Bo(t)?No(e.z,t.z):0;return Math.sqrt(Math.pow(n,2)+Math.pow(r,2)+Math.pow(o,2))}}var Do=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=Uo(r.lastMoveEventInfo,r.history),t=null!==r.startEvent,n=Ro(e.offset,{x:0,y:0})>=3;if(t||n){var o=e.point,a=Tr().timestamp;r.history.push(F(F({},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=Vo(t,r.transformPagePoint),Rt(e)&&0===e.buttons?r.handlePointerUp(e,t):kr.update(r.updatePoint,!0)},this.handlePointerUp=function(e,t){r.end();var n=r.handlers,o=n.onEnd,a=n.onSessionEnd,i=Uo(Vo(t,r.transformPagePoint),r.history);r.startEvent&&o&&o(e,i),a&&a(e,i)},!(Dt(e)&&e.touches.length>1)){this.handlers=t,this.transformPagePoint=o;var a=Vo(Gt(e),this.transformPagePoint),i=a.point,c=Tr().timestamp;this.history=[F(F({},i),{timestamp:c})];var s=t.onSessionStart;s&&s(e,Uo(a,this.history)),this.removeListeners=on(Yt(window,"pointermove",this.handlePointerMove),Yt(window,"pointerup",this.handlePointerUp),Yt(window,"pointercancel",this.handlePointerUp))}}return e.prototype.updateHandlers=function(e){this.handlers=e},e.prototype.end=function(){this.removeListeners&&this.removeListeners(),_r.update(this.updatePoint)},e}();function Vo(e,t){return t?{point:t(e.point)}:e}function Fo(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Uo(e,t){var n=e.point;return{point:n,delta:Fo(n,Ho(t)),offset:Fo(n,Go(t)),velocity:zo(t,.1)}}function Go(e){return e[0]}function Ho(e){return e[e.length-1]}function zo(e,t){if(e.length<2)return{x:0,y:0};for(var n=e.length-1,r=null,o=Ho(e);n>=0&&(r=e[n],!(o.timestamp-r.timestamp>Lr(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 qo(e){return e}function Wo(e){var t=e.top;return{x:{min:e.left,max:e.right},y:{min:t,max:e.bottom}}}var Yo={translate:0,scale:1,origin:0,originPoint:0};function Xo(){return{x:F({},Yo),y:F({},Yo)}}function Ko(e){return[e("x"),e("y")]}function Zo(e,t,n){var r=t.min,o=t.max;return void 0!==r&&e<r?e=n?yn(r,e,n.min):Math.max(e,r):void 0!==o&&e>o&&(e=n?yn(o,e,n.max):Math.min(e,o)),e}function Qo(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 $o(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=G([o,r],2))[0],o=n[1]),{min:e.min+r,max:e.min+o}}function Jo(e,t,n){return{min:ea(e,t),max:ea(e,n)}}function ea(e,t){var n;return"number"==typeof e?e:null!==(n=e[t])&&void 0!==n?n:0}function ta(e,t){return Wo(function(e,t){var n=e.top,r=e.left,o=e.bottom,a=e.right;void 0===t&&(t=qo);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 na(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=.01),Ro(e,t)<n}function ra(e){return e.max-e.min}function oa(e,t){var n=.5,r=ra(e),o=ra(t);return o>r?n=On(t.min,t.max-r,e.min):r>o&&(n=On(e.min,e.max-o,t.min)),dn(0,1,n)}function aa(e,t,n,r){void 0===r&&(r=.5),e.origin=r,e.originPoint=yn(t.min,t.max,e.origin),e.scale=ra(n)/ra(t),na(e.scale,1,1e-4)&&(e.scale=1),e.translate=yn(n.min,n.max,e.origin)-e.originPoint,na(e.translate)&&(e.translate=0)}function ia(e,t,n,r){aa(e.x,t.x,n.x,ca(r.originX)),aa(e.y,t.y,n.y,ca(r.originY))}function ca(e){return"number"==typeof e?e:.5}function sa(e,t,n){e.min=n.min+t.min,e.max=e.min+ra(t)}var la=function(e,t){return e.depth-t.depth};function ua(e){return e.projection.isEnabled||e.shouldResetTransform()}function da(e,t){void 0===t&&(t=[]);var n=e.parent;return n&&da(n,t),ua(e)&&t.push(e),t}function pa(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:F({},t.x),y:F({},t.y)}),e.notifyLayoutMeasure(n.layout,e.prevViewportBox||n.layout),kr.update((function(){return e.rebaseProjectionTarget()}))}}function ma(e,t){return{min:t.min-e.min,max:t.max-e.min}}function ba(e,t){return{x:ma(e.x,t.x),y:ma(e.y,t.y)}}function fa(e,t){var n=e.getLayoutId(),r=t.getLayoutId();return n!==r||void 0===r&&e!==t}function va(e){var t=e.getProps(),n=t.drag,r=t._dragX;return n&&!r}function ha(e,t){e.min=t.min,e.max=t.max}function ga(e,t,n){return n+t*(e-n)}function Oa(e,t,n,r,o){return void 0!==o&&(e=ga(e,o,r)),ga(e,n,r)+t}function ya(e,t,n,r,o){void 0===t&&(t=0),void 0===n&&(n=1),e.min=Oa(e.min,t,n,r,o),e.max=Oa(e.max,t,n,r,o)}function ja(e,t){var n=t.x,r=t.y;ya(e.x,n.translate,n.scale,n.originPoint),ya(e.y,r.translate,r.scale,r.originPoint)}function Ea(e,t,n,r){var o=G(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=yn(t.min,t.max,s);ya(e,n[a],n[i],l,n.scale)}var _a=["x","scaleX","originX"],wa=["y","scaleY","originY"];function Sa(e,t,n){Ea(e.x,t.x,n,_a),Ea(e.y,t.y,n,wa)}function xa(e,t,n,r,o){return e=ga(e-=t,1/n,r),void 0!==o&&(e=ga(e,1/o,r)),e}function Pa(e,t,n){var r=G(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=yn(e.min,e.max,r)-t;e.min=xa(e.min,t,n,a,o),e.max=xa(e.max,t,n,a,o)}(e,t[o],t[a],t[i],t.scale)}function Ta(e,t){Pa(e.x,t,_a),Pa(e.y,t,wa)}var ka=new Set;function Ca(e,t,n){e[n]||(e[n]=[]),e[n].push(t)}function Aa(e){return ka.add(e),function(){return ka.delete(e)}}function Ma(){if(ka.size){var e=0,t=[[]],n=[],r=function(n){return Ca(t,n,e)},o=function(t){Ca(n,t,e),e++};ka.forEach((function(t){t(r,o),e=0})),ka.clear();for(var a=n.length,i=0;i<=a;i++)t[i]&&t[i].forEach(La),n[i]&&n[i].forEach(La)}}var Ia,La=function(e){return e()},Ba=new WeakMap,Na=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(),Ba.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 Do(e,{onSessionStart:function(e){var t;n.stopMotion();var r=function(e){return Gt(e,"client")}(e).point;null===(t=n.cancelLayout)||void 0===t||t.call(n),n.cancelLayout=Aa((function(e,t){var o=da(n.visualElement),c=function(e){var t=[],n=function(e){ua(e)&&t.push(e),e.children.forEach(n)};return e.children.forEach(n),t.sort(la)}(n.visualElement),s=H(H([],G(o)),G(c)),l=!1;n.isLayoutDrag()&&n.visualElement.lockProjectionTarget(),t((function(){s.forEach((function(e){return e.resetTransform()}))})),e((function(){pa(n.visualElement),c.forEach(pa)})),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;Ko((function(t){if(!l){var o=e.target[t],a=o.min,c=o.max;n.cursorProgress[t]=i?i[t]:On(a,c,r[t])}var s=n.getAxisMotionValue(t);s&&(n.originPoint[t]=s.get())}))})),t((function(){wr.update(),wr.preRender(),wr.render(),wr.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=$t(c),n.openGlobalLock))&&(Ma(),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(Mt.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),Ia=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&&(ue(n)?this.resolveRefConstraints(o,n):function(e,t){var n=t.top,r=t.left,o=t.bottom,a=t.right;return{x:Qo(e.x,r,a),y:Qo(e.y,n,o)}}(o,n)),this.elastic=function(e){return!1===e?e=0:!0===e&&(e=.35),{x:Jo(e,"left","right"),y:Jo(e,"top","bottom")}}(r),this.constraints&&!this.hasMutatedConstraints&&Ko((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=ta(a,o);var i=function(e,t){return{x:$o(e.x,t.x),y:$o(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=Wo(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(Mt.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 Ko((function(n){if(Ra(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(Ra(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?Zo(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?Zo(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,p=void 0===d||d,m=U(e,["drag","dragDirectionLock","dragPropagation","dragConstraints","dragElastic","dragMomentum"]);this.props=F({drag:n,dragDirectionLock:o,dragPropagation:i,dragConstraints:s,dragElastic:u,dragMomentum:p},m)},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?Ta(n=ba(r.projection.target,e.projection.target),r.getLatestValues()):n=ba(r.getLayoutState().layout,e.getLayoutState().layout),Ko((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=ba(l.projection.targetFinal,s);Ko((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=Ko((function(n){var l;if(Ra(n,r,t.currentDirection)){var u=null!==(l=null==s?void 0:s[n])&&void 0!==l?l:{},d=a?200:1e6,p=a?40:1e7,m=F(F({type:"inertia",velocity:o?e[n]:0,bounceStiffness:d,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10},i),u);return t.getAxisMotionValue(n)?t.startAxisValueAnimation(n,m):t.visualElement.startLayoutAnimation(n,m,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;Ko((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),so(e,n,0,t)}},e.prototype.scalePoint=function(){var e=this,t=this.props,n=t.drag;if(ue(t.dragConstraints)&&this.constraintsBox){this.stopMotion();var r={x:0,y:0};Ko((function(t){r[t]=oa(e.visualElement.projection.target[t],e.constraintsBox[t])})),this.updateConstraints((function(){Ko((function(t){if(Ra(t,n,null)){var o=function(e,t,n){var r=e.max-e.min,o=yn(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(Ma,1)}},e.prototype.updateConstraints=function(e){var t=this;this.cancelLayout=Aa((function(n,r){var o=da(t.visualElement);r((function(){return o.forEach((function(e){return e.resetTransform()}))})),n((function(){return pa(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=Yt(e.getInstance(),"pointerdown",(function(e){var n=t.props,r=n.drag,o=n.dragListener;r&&(void 0===o||o)&&t.start(e)})),r=Bt(window,"resize",(function(){t.scalePoint()})),o=e.onLayoutUpdate((function(){t.isDragging&&t.resolveDragConstraints()})),a=e.prevDragCursor;return a&&this.start(Ia,{cursorProgress:a}),function(){null==n||n(),null==r||r(),null==o||o(),t.cancelDrag()}},e}();function Ra(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}var Da,Va,Fa={pan:an((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(z.useRef)(null),s=Object(z.useContext)(Q).transformPagePoint,l={onSessionStart:o,onStart:n,onMove:t,onEnd:function(e,t){c.current=null,r&&r(e,t)}};Object(z.useEffect)((function(){null!==c.current&&c.current.updateHandlers(l)})),Xt(a,"pointerdown",i&&function(e){c.current=new Do(e,l,{transformPagePoint:s})}),nn((function(){return c.current&&c.current.end()}))})),drag:an((function(e){var t=e.dragControls,n=e.visualElement,r=Object(z.useContext)(Q).transformPagePoint,o=ee((function(){return new Na({visualElement:n})}));o.setProps(F(F({},e),{transformPagePoint:r})),Object(z.useEffect)((function(){return t&&t.subscribe(o)}),[o]),Object(z.useEffect)((function(){return o.mount(n)}),[])}))};function Ua(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"}(Da||(Da={})),function(e){e[e.Hide=0]="Hide",e[e.Show=1]="Show"}(Va||(Va={}));var Ga=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Ha(e,t,n){void 0===n&&(n=1);var r=G(function(e){var t=Ga.exec(e);if(!t)return[,];var n=G(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():Ua(a)?Ha(a,t,n+1):a}}function za(e,t){return e/(t.max-t.min)*100}var qa={process:function(e,t,n){var r=n.target;if("string"==typeof e){if(!We.test(e))return e;e=parseFloat(e)}return za(e,r.x)+"% "+za(e,r.y)+"%"}},Wa={borderRadius:F(F({},qa),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:qa,borderTopRightRadius:qa,borderBottomLeftRadius:qa,borderBottomRightRadius:qa,boxShadow:{process:function(e,t){var n=t.delta,r=t.treeScale,o=e,a=e.includes("var("),i=[];a&&(e=e.replace(Ga,(function(e){return i.push(e),"_$css"})));var c=Dn.parse(e);if(c.length>5)return o;var s=Dn.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 p=yn(u,d,.5);"number"==typeof c[2+l]&&(c[2+l]/=p),"number"==typeof c[3+l]&&(c[3+l]/=p);var m=s(c);if(a){var b=0;m=m.replace("_$css",(function(){var e=i[b];return b++,e}))}return m}}},Ya=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=U(r,["originBox","targetBox","visibilityAction","shouldStackAnimate","onComplete","prevParent"]),d=t.props,p=d.visualElement,m=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,f=p.getProjectionParent();if(f){var v=f.prevViewportBox,h=f.getLayoutState().layout;l&&(a&&(h=l.getLayoutState().layout),o&&!fa(l,f)&&l.prevViewportBox&&(v=l.prevViewportBox)),v&&Ja(l,o,a)&&(b=!0,n=ba(v,n),e=ba(h,e))}var g=Xa(n,e),O=Ko((function(r){var o,a;if("position"===m){var c=e[r].max-e[r].min;n[r].max=n[r].min+c}if(!p.projection.isTargetLocked)return void 0===i?g?t.animateAxis(r,e[r],n[r],F(F({},u),{isRelative:b})):(null===(a=(o=t.stopAxisAnimation)[r])||void 0===a||a.call(o),p.setProjectionTargetAxis(r,e[r].min,e[r].max,b)):void p.setVisibility(i===Va.Show)}));return p.syncRender(),Promise.all(O).then((function(){t.isAnimatingTree=!1,s&&s(),p.notifyLayoutAnimationComplete()}))}},t}return V(t,e),t.prototype.componentDidMount=function(){var e=this,t=this.props.visualElement;t.animateMotionValue=so,t.enableLayoutProjection(),this.unsubLayoutReady=t.onLayoutUpdate(this.animate),t.layoutSafeToRemove=function(){return e.safeToRemove()},function(e){for(var t in e)_e[t]=e[t]}(Wa)},t.prototype.componentWillUnmount=function(){var e=this;this.unsubLayoutReady(),Ko((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]||!Qa(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],p=u.getProjectionAnimationProgress()[e];p.clearListeners(),p.set(0),p.set(0);var m=function(){var r=p.get()/1e3;!function(e,t,n,r){e.min=yn(t.min,n.min,r),e.max=yn(t.max,n.max,r)}(d,n,t,r),u.setProjectionTargetAxis(e,d.min,d.max,l)};m();var b=p.onChange(m);this.stopAxisAnimation[e]=function(){i.isAnimating[e]=!1,p.stop(),b()},this.currentAnimationTarget[e]=t;var f=s||u.getDefaultTransition()||$a;return so("x"===e?"layoutX":"layoutY",p,1e3,f&&co(f,"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}(z.Component);function Xa(e,t){return!(Za(e)||Za(t)||Qa(e.x,t.x)&&Qa(e.y,t.y))}var Ka={min:0,max:0};function Za(e){return Qa(e.x,Ka)&&Qa(e.y,Ka)}function Qa(e,t){return e.min===t.min&&e.max===t.max}var $a={duration:.45,ease:[.4,0,.1,1]};function Ja(e,t,n){return e||!e&&!(t||n)}var ei={layoutReady:function(e){return e.notifyLayoutReady()}};function ti(){var e=new Set;return{add:function(t){return e.add(t)},flush:function(t){var n=void 0===t?ei:t,r=n.layoutReady,o=n.parent;Aa((function(t,n){var a=Array.from(e).sort(la),i=o?da(o):[];n((function(){H(H([],G(i)),G(a)).forEach((function(e){return e.resetTransform()}))})),t((function(){a.forEach(pa)})),n((function(){i.forEach((function(e){return e.restoreTransform()})),a.forEach(r)})),t((function(){a.forEach((function(e){e.isPresent&&(e.presence=Da.Present)}))})),n((function(){wr.preRender(),wr.render()})),t((function(){kr.postRender((function(){return a.forEach(ni)})),e.clear()}))})),Ma()}}}function ni(e){e.prevViewportBox=e.projection.target}var ri=Object(z.createContext)(ti()),oi=Object(z.createContext)(ti());function ai(e){return!!e.forceUpdate}var ii=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return V(t,e),t.prototype.componentDidMount=function(){var e=this.props,t=e.syncLayout,n=e.framerSyncLayout,r=e.visualElement;ai(t)&&t.register(r),ai(n)&&n.register(r),r.onUnmount((function(){ai(t)&&t.remove(r),ai(n)&&n.remove(r)}))},t.prototype.getSnapshotBeforeUpdate=function(){var e=this.props,t=e.syncLayout,n=e.visualElement;return ai(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;ai(e)||e.flush()},t.prototype.render=function(){return null},t}(q.a.Component);var ci={measureLayout:function(e){var t=Object(z.useContext)(ri),n=Object(z.useContext)(oi);return q.a.createElement(ii,F({},e,{syncLayout:t,framerSyncLayout:n}))},layoutAnimation:function(e){var t=G(te(),2)[1];return z.createElement(Ya,F({},e,{safeToRemove:t}))}};function si(){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:Xo(),deltaFinal:Xo(),deltaTransform:""}}var li=si();function ui(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!==pi?a:""}function di(e){var t=e.deltaFinal;return 100*t.x.origin+"% "+100*t.y.origin+"% 0"}var pi=ui(li.delta,li.treeScale,{x:1,y:1}),mi=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","SetAxisTarget","Unmount"];function bi(e,t,n,r){var o,a,i=e.delta,c=e.layout,s=e.layoutCorrected,l=e.treeScale,u=t.target;a=c,ha((o=s).x,a.x),ha(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,ja(e,a),va(o)&&Sa(e,e,o.getLatestValues())}}(s,l,n),ia(i,s,u,r)}var fi=function(){function e(){this.children=[],this.isDirty=!1}return e.prototype.add=function(e){lo(this.children,e),this.isDirty=!0},e.prototype.remove=function(e){uo(this.children,e),this.isDirty=!0},e.prototype.forEach=function(e){this.isDirty&&this.children.sort(la),this.isDirty=!1,this.children.forEach(e)},e}();var vi=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,p=e.sortNodePosition,m=e.scrapeMotionValuesFromProps;return function(e,t){var b=e.parent,f=e.props,v=e.presenceId,h=e.blockInitialAnimation,g=e.visualState;void 0===t&&(t={});var O,y,j,E,_,w,S=g.latestValues,x=g.renderState,P=function(){var e=mi.map((function(){return new po})),t={},n={clearAllListeners:function(){return e.forEach((function(e){return e.clear()}))},updatePropListeners:function(e){return mi.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"+mi[t]]=function(t){return e.add(t)},n["notify"+mi[t]]=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.notify.apply(e,H([],G(t)))}})),n}(),T={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}}},k=T,C=S,A=si(),M=!1,I=new Map,L=new Map,B={},N=F({},S);function R(){O&&(K.isProjectionReady()&&(Sa(k.targetFinal,k.target,C),ia(A.deltaFinal,A.layoutCorrected,k.targetFinal,S)),D(),c(O,x))}function D(){var e=S;if(E&&E.isActive()){var n=E.getCrossfadeState(K);n&&(e=n)}r(K,x,e,k,A,t,f)}function V(){P.notifyUpdate(S)}function U(){K.layoutTree.forEach(gi)}var z=m(f);for(var q in z){var W=z[q];void 0!==S[q]&&Me(W)&&W.set(S[q],!1)}var Y=fe(f),X=ve(f),K=F(F({treeType:n,current:null,depth:b?b.depth+1:0,parent:b,children:new Set,path:b?H(H([],G(b.path)),[b]):[],layoutTree:b?b.layoutTree:new fi,presenceId:v,projection:T,variantChildren:X?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:Boolean(null==b?void 0:b.isMounted()),blockInitialAnimation:h,isMounted:function(){return Boolean(O)},mount:function(e){O=K.current=e,K.pointTo(K),X&&b&&!Y&&(w=null==b?void 0:b.addVariantChild(K)),null==b||b.children.add(K)},unmount:function(){_r.update(V),_r.render(R),_r.preRender(K.updateLayoutProjection),L.forEach((function(e){return e()})),K.stopLayoutAnimation(),K.layoutTree.remove(K),null==w||w(),null==b||b.children.delete(K),null==j||j(),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 p&&n===e.treeType?p(K.getInstance(),e.getInstance()):0},getClosestVariantNode:function(){return X?K:null==b?void 0:b.getClosestVariantNode()},scheduleUpdateLayoutProjection:b?b.scheduleUpdateLayoutProjection:function(){return kr.preRender(K.updateTreeLayoutProjection,!1,!0)},getLayoutId:function(){return f.layoutId},getInstance:function(){return O},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),a(K,e,f,t)},addValue:function(e,t){K.hasValue(e)&&K.removeValue(e),I.set(e,t),S[e]=t.get(),function(e,t){var n=t.onChange((function(t){S[e]=t,f.onUpdate&&kr.update(V,!1,!0)})),r=t.onRenderRequest(K.scheduleRender);L.set(e,(function(){n(),r()}))}(e,t)},removeValue:function(e){var t;I.delete(e),null===(t=L.get(e))||void 0===t||t(),L.delete(e),delete S[e],d(e,x)},hasValue:function(e){return I.has(e)},getValue:function(e,t){var n=I.get(e);return void 0===n&&void 0!==t&&(n=bo(t),K.addValue(e,n)),n},forEachValue:function(e){return I.forEach(e)},readValue:function(e){var n;return null!==(n=S[e])&&void 0!==n?n:s(O,e,t)},setBaseTarget:function(e,t){N[e]=t},getBaseTarget:function(e){if(o){var t=o(f,e);if(void 0!==t&&!Me(t))return t}return N[e]}},P),{build:function(){return D(),x},scheduleRender:function(){kr.render(R,!1,!0)},syncRender:R,setProps:function(e){f=e,P.updatePropListeners(e),B=function(e,t,n){var r;for(var o in t){var a=t[o],i=n[o];if(Me(a))e.addValue(o,a);else if(Me(i))e.addValue(o,bo(a));else if(i!==a)if(e.hasValue(o)){var c=e.getValue(o);!c.hasAnimated&&c.set(a)}else e.addValue(o,bo(null!==(r=e.getStaticValue(o))&&void 0!==r?r:a))}for(var o in n)void 0===t[o]&&e.removeValue(o);return t}(K,m(f),B)},getProps:function(){return f},getVariant:function(e){var t;return null===(t=f.variants)||void 0===t?void 0:t[e]},getDefaultTransition:function(){return f.transition},getVariantContext:function(e){if(void 0===e&&(e=!1),e)return null==b?void 0:b.getVariantContext();if(!Y){var t=(null==b?void 0:b.getVariantContext())||{};return void 0!==f.initial&&(t.initial=f.initial),t}for(var n={},r=0;r<ji;r++){var o=yi[r],a=f[o];(pe(a)||!1===a)&&(n[o]=a)}return n},enableLayoutProjection:function(){T.isEnabled=!0,K.layoutTree.add(K)},lockProjectionTarget:function(){T.isTargetLocked=!0},unlockProjectionTarget:function(){K.stopLayoutAnimation(),T.isTargetLocked=!1},getLayoutState:function(){return A},setCrossfader:function(e){E=e},isProjectionReady:function(){return T.isEnabled&&T.isHydrated&&A.isHydrated},startLayoutAnimation:function(e,t,n){void 0===n&&(n=!1);var r=K.getProjectionAnimationProgress()[e],o=n?T.relativeTarget[e]:T.target[e],a=o.min,i=o.max-a;return r.clearListeners(),r.set(a),r.set(a),r.onChange((function(t){K.setProjectionTargetAxis(e,t,t+i,n)})),K.animateMotionValue(e,r,0,t)},stopLayoutAnimation:function(){Ko((function(e){return K.getProjectionAnimationProgress()[e].stop()}))},measureViewportBox:function(e){void 0===e&&(e=!0);var n=i(O,t);return e||Ta(n,S),n},getProjectionAnimationProgress:function(){return _||(_={x:bo(0),y:bo(0)}),_},setProjectionTargetAxis:function(e,t,n,r){var o;void 0===r&&(r=!1),r?(T.relativeTarget||(T.relativeTarget={x:{min:0,max:1},y:{min:0,max:1}}),o=T.relativeTarget[e]):(T.relativeTarget=void 0,o=T.target[e]),T.isHydrated=!0,o.min=t,o.max=n,M=!0,P.notifySetAxisTarget()},rebaseProjectionTarget:function(e,t){void 0===t&&(t=A.layout);var n=K.getProjectionAnimationProgress(),r=n.x,o=n.y,a=!(T.relativeTarget||T.isTargetLocked||r.isAnimating()||o.isAnimating());(e||a)&&Ko((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=ba(t.getLayoutState().layout,e.getLayoutState().layout);Ko((function(t){e.setProjectionTargetAxis(t,n[t].min,n[t].max,!0)}))}else e.rebaseProjectionTarget()}(K),K.notifyLayoutUpdate(A.layout,K.prevViewportBox||A.layout,e)},resetTransform:function(){return l(K,O,f)},restoreTransform:function(){return u(O,x)},updateLayoutProjection:function(){if(K.isProjectionReady()){var e=A.delta,t=A.treeScale,n=t.x,r=t.y,o=A.deltaTransform;bi(A,k,K.path,S),M&&K.notifyViewportBoxUpdate(k.target,e),M=!1;var a=ui(e,t);a===o&&n===t.x&&r===t.y||K.scheduleRender(),A.deltaTransform=a}},updateTreeLayoutProjection:function(){K.layoutTree.forEach(hi),kr.preRender(U,!1,!0)},getProjectionParent:function(){if(void 0===y){for(var e=!1,t=K.path.length-1;t>=0;t--){var n=K.path[t];if(n.projection.isEnabled){e=n;break}}y=e}return y},resolveRelativeTargetBox:function(){var e=K.getProjectionParent();if(T.relativeTarget&&e&&(function(e,t){sa(e.target.x,e.relativeTarget.x,t.target.x),sa(e.target.y,e.relativeTarget.y,t.target.y)}(T,e.projection),va(e))){var t=T.target;Sa(t,t,e.getLatestValues())}},shouldResetTransform:function(){return Boolean(f._layoutResetTransform)},pointTo:function(e){k=e.projection,C=e.getLatestValues(),null==j||j(),j=on(e.onSetAxisTarget(K.scheduleUpdateLayoutProjection),e.onLayoutAnimationComplete((function(){var e;K.isPresent?K.presence=Da.Present:null===(e=K.layoutSafeToRemove)||void 0===e||e.call(K)})))},isPresent:!0,presence:Da.Entering});return K}};function hi(e){e.resolveRelativeTargetBox()}function gi(e){e.updateLayoutProjection()}var Oi,yi=H(["initial"],G(Po)),ji=yi.length,Ei=new Set(["width","height","top","left","right","bottom","x","y"]),_i=function(e){return Ei.has(e)},wi=function(e,t){e.set(t,!1),e.set(t)},Si=function(e){return e===Ze||e===We};!function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"}(Oi||(Oi={}));var xi=function(e,t){return parseFloat(e.split(", ")[t])},Pi=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 xi(a[1],t);var i=o.match(/^matrix\((.+)\)$/);return i?xi(i[1],e):0}},Ti=new Set(["x","y","z"]),ki=Se.filter((function(e){return!Ti.has(e)}));var Ci={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:Pi(4,13),y:Pi(5,14)},Ai=function(e,t,n,r){void 0===n&&(n={}),void 0===r&&(r={}),t=F({},t),r=F({},r);var o=Object.keys(t).filter(_i),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],p=ho(u);if(xt(d))for(var m=d.length,b=null===d[0]?1:0;b<m;b++)l?ho(d[b]):(l=ho(d[b]))===p||Si(p)&&Si(l);else l=ho(d);if(p!==l)if(Si(p)&&Si(l)){var f=s.get();"string"==typeof f&&s.set(parseFloat(f)),"string"==typeof d?t[o]=parseFloat(d):Array.isArray(d)&&l===We&&(t[o]=d.map(parseFloat))}else(null==p?void 0:p.transform)&&(null==l?void 0:l.transform)&&(0===u||0===d)?0===u?s.set(l.transform(u)):t[o]=p.transform(d):(i||(a=function(e){var t=[];return ki.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],wi(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);wi(o,Ci[n](r,c)),e[n]=Ci[n](s,a)})),e}(t,e,c);return a.length&&a.forEach((function(t){var n=G(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 Mi(e,t,n,r){return function(e){return Object.keys(e).some(_i)}(t)?Ai(e,t,n,r):{target:t,transitionEnd:r}}var Ii=function(e,t,n,r){var o=function(e,t,n){var r,o=U(t,[]),a=e.getInstance();if(!(a instanceof HTMLElement))return{target:o,transitionEnd:n};for(var i in n&&(n=F({},n)),e.forEachValue((function(e){var t=e.get();if(Ua(t)){var n=Ha(t,a);n&&e.set(n)}})),o){var c=o[i];if(Ua(c)){var s=Ha(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 Mi(e,t=o.target,n,r=o.transitionEnd)};var Li={treeType:"dom",readValueFromInstance:function(e,t){if(Te(t)){var n=eo(t);return n&&n.default||0}var r,o=(r=e,window.getComputedStyle(r));return(Le(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 ta(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=U(t,["transition","transitionEnd"]),s=function(e,t,n){var r,o,a={};for(var i in e)a[i]=null!==(r=Eo(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],p=null;Array.isArray(d)&&(p=d[0]),null===p&&(p=null!==(o=null!==(r=n[u])&&void 0!==r?r:e.readValue(u))&&void 0!==o?o:t[u]),null!=p&&("string"==typeof p&&/^\-?\d*\.?\d+$/.test(p)?p=parseFloat(p):!Oo(p)&&Dn.test(d)&&(p=to(u,d)),e.addValue(u,bo(p)),null!==(a=(i=n)[u])&&void 0!==a||(i[u]=p),e.setBaseTarget(u,p))}}(e,c,s);var l=Ii(e,c,s,i);i=l.transitionEnd,c=l.target}return F({transition:a,transitionEnd:i},c)},scrapeMotionValuesFromProps:_t,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;tt(t,n,r,o,a,i.transformTemplate,c?ui:void 0,c?di:void 0)},render:yt},Bi=vi(Li),Ni=vi(F(F({},Li),{getBaseTarget:function(e,t){return e[t]},readValueFromInstance:function(e,t){var n;return Te(t)?(null===(n=eo(t))||void 0===n?void 0:n.default)||0:(t=jt.has(t)?t:Ot(t),e.getAttribute(t))},scrapeMotionValuesFromProps:wt,build:function(e,t,n,r,o,a,i){var c=r.isEnabled&&o.isHydrated;bt(t,n,r,o,a,i.transformTemplate,c?ui:void 0,c?di:void 0)},render:Et})),Ri=function(e,t){return Ee(e)?Ni(t,{enableHardwareAcceleration:!1}):Bi(t,{enableHardwareAcceleration:!0})},Di=F(F(F(F({},Io),cn),Fa),ci),Vi=ye((function(e,t){return Lt(e,t,Di,Ri)}));var Fi=n("cjQ8"),Ui=n("gdqT");var Gi=function({onClick:e=d.noop,small:t=!1}){const{shortcut:n,areAdvancedSettingsOpened:o}=Object(b.useSelect)(e=>({shortcut:e(N.store).getShortcutRepresentation("core/edit-post/toggle-sidebar"),areAdvancedSettingsOpened:"edit-post/block"===e(w.a).getActiveGeneralSidebarName()}),[]),{openGeneralSidebar:a,closeGeneralSidebar:i}=Object(b.useDispatch)(w.a),c=o?Object(f.__)("Hide more settings"):Object(f.__)("Show more settings");return Object(r.createElement)(m.MenuItem,{onClick:()=>{o?i():(a("edit-post/block"),o?Object(Ui.speak)(Object(f.__)("Block settings closed")):Object(Ui.speak)(Object(f.__)("Additional settings are now available in the Editor block settings sidebar")),e())},shortcut:n},!t&&c)};function Hi({children:e,contentRef:t,isTemplateMode:n,styles:o,style:i}){const c=Object(a.__unstableUseMouseMoveTypingReset)();return n?Object(r.createElement)(a.__unstableIframe,{head:Object(r.createElement)(a.__unstableEditorStyles,{styles:o}),ref:c,contentRef:t,style:{width:"100%",height:"100%",display:"block"}},e):Object(r.createElement)(r.Fragment,null,Object(r.createElement)(a.__unstableEditorStyles,{styles:o}),Object(r.createElement)("div",{ref:t,className:"editor-styles-wrapper",style:{flex:"1",...i}},e))}function zi({styles:e}){const{deviceType:t,isTemplateMode:n,wrapperBlockName:o,wrapperUniqueId:c}=Object(b.useSelect)(e=>{const{isEditingTemplate:t,__experimentalGetPreviewDeviceType:n}=e(w.a),{getCurrentPostId:r,getCurrentPostType:o}=e(i.store),a=t();let c;return"wp_block"===o()?c="core/block":a||(c="core/post-content"),{deviceType:n(),isTemplateMode:a,wrapperBlockName:c,wrapperUniqueId:r()}},[]),s=Object(b.useSelect)(e=>e(w.a).hasMetaBoxes(),[]),l=Object(b.useSelect)(e=>{const{getSettings:t}=e(a.store);return t().supportsLayout},[]),{clearSelectedBlock:u}=Object(b.useDispatch)(a.store),{setIsEditingTemplate:d}=Object(b.useDispatch)(w.a),p={height:"100%",width:"100%",margin:0,display:"flex",flexFlow:"column",background:"white"},h={...p,borderRadius:"2px 2px 0 0",border:"1px solid #ddd",borderBottom:0},g=Object(a.__experimentalUseResizeCanvas)(t,n),O=Object(a.useSetting)("layout"),{contentSize:y,wideSize:j}=O||{},E=y||j?["wide","full"]:["left","center","right"];let _,S=n?h:p;g&&(S=g),s||g||n||(_="40vh");const x=Object(r.useRef)(),P=Object(v.useMergeRefs)([x,Object(a.__unstableUseClipboardHandler)(),Object(a.__unstableUseCanvasClickRedirect)(),Object(a.__unstableUseTypewriter)(),Object(a.__unstableUseTypingObserver)(),Object(a.__unstableUseBlockSelectionClearer)()]),T=Object(a.__unstableUseBlockSelectionClearer)(),[,k]=Object(a.__experimentalUseNoRecursiveRenders)(c,o);return Object(r.createElement)("div",{className:L()("edit-post-visual-editor",{"is-template-mode":n})},Object(r.createElement)(i.VisualEditorGlobalKeyboardShortcuts,null),Object(r.createElement)(a.BlockTools,{__unstableContentRef:x},Object(r.createElement)(Vi.div,{className:"edit-post-visual-editor__content-area",animate:{padding:n?"48px 48px 0":"0"},ref:T},n&&Object(r.createElement)(m.Button,{className:"edit-post-visual-editor__exit-template-mode",icon:Fi.a,onClick:()=>{u(),d(!1)}},Object(f.__)("Back")),Object(r.createElement)(Vi.div,{animate:S,initial:p},Object(r.createElement)(Hi,{isTemplateMode:n,contentRef:P,styles:e,style:{paddingBottom:_}},l&&Object(r.createElement)(a.__experimentalLayoutStyle,{selector:".edit-post-visual-editor__post-title-wrapper, .block-editor-block-list__layout.is-root-container",layout:O}),Object(r.createElement)(a.WritingFlow,null,!n&&Object(r.createElement)("div",{className:"edit-post-visual-editor__post-title-wrapper"},Object(r.createElement)(i.PostTitle,null)),Object(r.createElement)(k,null,Object(r.createElement)(a.BlockList,{__experimentalLayout:l?{type:"default",alignments:l?E:void 0}:void 0}))))))),Object(r.createElement)(a.__unstableBlockSettingsMenuFirstItem,null,({onClose:e})=>Object(r.createElement)(Gi,{onClick:e})))}var qi=function(){const{getBlockSelectionStart:e}=Object(b.useSelect)(a.store),{getEditorMode:t,isEditorSidebarOpened:n,isListViewOpened:o}=Object(b.useSelect)(w.a),c=Object(b.useSelect)(e=>{const{richEditingEnabled:t,codeEditingEnabled:n}=e(i.store).getEditorSettings();return!t||!n},[]),{switchEditorMode:s,openGeneralSidebar:l,closeGeneralSidebar:u,toggleFeature:d,setIsListViewOpened:p}=Object(b.useDispatch)(w.a),{registerShortcut:m}=Object(b.useDispatch)(N.store);return Object(r.useEffect)(()=>{m({name:"core/edit-post/toggle-mode",category:"global",description:Object(f.__)("Switch between visual editor and code editor."),keyCombination:{modifier:"secondary",character:"m"}}),m({name:"core/edit-post/toggle-fullscreen",category:"global",description:Object(f.__)("Toggle fullscreen mode."),keyCombination:{modifier:"secondary",character:"f"}}),m({name:"core/edit-post/toggle-block-navigation",category:"global",description:Object(f.__)("Open the block list view."),keyCombination:{modifier:"access",character:"o"}}),m({name:"core/edit-post/toggle-sidebar",category:"global",description:Object(f.__)("Show or hide the settings sidebar."),keyCombination:{modifier:"primaryShift",character:","}}),m({name:"core/edit-post/next-region",category:"global",description:Object(f.__)("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:Object(f.__)("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:Object(f.__)("Display these keyboard shortcuts."),keyCombination:{modifier:"access",character:"h"}})},[]),Object(N.useShortcut)("core/edit-post/toggle-mode",()=>{s("visual"===t()?"text":"visual")},{bindGlobal:!0,isDisabled:c}),Object(N.useShortcut)("core/edit-post/toggle-fullscreen",()=>{d("fullscreenMode")},{bindGlobal:!0}),Object(N.useShortcut)("core/edit-post/toggle-sidebar",t=>{if(t.preventDefault(),n())u();else{const t=e()?"edit-post/block":"edit-post/document";l(t)}},{bindGlobal:!0}),Object(N.useShortcut)("core/edit-post/toggle-block-navigation",()=>p(!o()),{bindGlobal:!0}),null};const Wi=[{keyCombination:{modifier:"primary",character:"b"},description:Object(f.__)("Make the selected text bold.")},{keyCombination:{modifier:"primary",character:"i"},description:Object(f.__)("Make the selected text italic.")},{keyCombination:{modifier:"primary",character:"k"},description:Object(f.__)("Convert the selected text into a link.")},{keyCombination:{modifier:"primaryShift",character:"k"},description:Object(f.__)("Remove a link.")},{keyCombination:{modifier:"primary",character:"u"},description:Object(f.__)("Underline the selected text.")}];function Yi({keyCombination:e,forceAriaLabel:t}){const n=e.modifier?x.displayShortcutList[e.modifier](e.character):e.character,o=e.modifier?x.shortcutAriaLabel[e.modifier](e.character):e.character;return Object(r.createElement)("kbd",{className:"edit-post-keyboard-shortcut-help-modal__shortcut-key-combination","aria-label":t||o},Object(d.castArray)(n).map((e,t)=>"+"===e?Object(r.createElement)(r.Fragment,{key:t},e):Object(r.createElement)("kbd",{key:t,className:"edit-post-keyboard-shortcut-help-modal__shortcut-key"},e)))}var Xi=function({description:e,keyCombination:t,aliases:n=[],ariaLabel:o}){return Object(r.createElement)(r.Fragment,null,Object(r.createElement)("div",{className:"edit-post-keyboard-shortcut-help-modal__shortcut-description"},e),Object(r.createElement)("div",{className:"edit-post-keyboard-shortcut-help-modal__shortcut-term"},Object(r.createElement)(Yi,{keyCombination:t,forceAriaLabel:o}),n.map((e,t)=>Object(r.createElement)(Yi,{keyCombination:e,forceAriaLabel:o,key:t}))))};var Ki=function({name:e}){const{keyCombination:t,description:n,aliases:o}=Object(b.useSelect)(t=>{const{getShortcutKeyCombination:n,getShortcutDescription:r,getShortcutAliases:o}=t(N.store);return{keyCombination:n(e),aliases:o(e),description:r(e)}});return t?Object(r.createElement)(Xi,{keyCombination:t,description:n,aliases:o}):null};const Zi="edit-post/keyboard-shortcut-help",Qi=({shortcuts:e})=>Object(r.createElement)("ul",{className:"edit-post-keyboard-shortcut-help-modal__shortcut-list",role:"list"},e.map((e,t)=>Object(r.createElement)("li",{className:"edit-post-keyboard-shortcut-help-modal__shortcut",key:t},Object(d.isString)(e)?Object(r.createElement)(Ki,{name:e}):Object(r.createElement)(Xi,e)))),$i=({title:e,shortcuts:t,className:n})=>Object(r.createElement)("section",{className:L()("edit-post-keyboard-shortcut-help-modal__section",n)},!!e&&Object(r.createElement)("h2",{className:"edit-post-keyboard-shortcut-help-modal__section-title"},e),Object(r.createElement)(Qi,{shortcuts:t})),Ji=({title:e,categoryName:t,additionalShortcuts:n=[]})=>{const o=Object(b.useSelect)(e=>e(N.store).getCategoryShortcuts(t),[t]);return Object(r.createElement)($i,{title:e,shortcuts:o.concat(n)})};var ec=Object(v.compose)([Object(b.withSelect)(e=>({isModalActive:e(w.a).isModalActive(Zi)})),Object(b.withDispatch)((e,{isModalActive:t})=>{const{openModal:n,closeModal:r}=e(w.a);return{toggleModal:()=>t?r():n(Zi)}})])((function({isModalActive:e,toggleModal:t}){return Object(N.useShortcut)("core/edit-post/keyboard-shortcuts",t,{bindGlobal:!0}),e?Object(r.createElement)(m.Modal,{className:"edit-post-keyboard-shortcut-help-modal",title:Object(f.__)("Keyboard shortcuts"),closeLabel:Object(f.__)("Close"),onRequestClose:t},Object(r.createElement)($i,{className:"edit-post-keyboard-shortcut-help-modal__main-shortcuts",shortcuts:["core/edit-post/keyboard-shortcuts"]}),Object(r.createElement)(Ji,{title:Object(f.__)("Global shortcuts"),categoryName:"global"}),Object(r.createElement)(Ji,{title:Object(f.__)("Selection shortcuts"),categoryName:"selection"}),Object(r.createElement)(Ji,{title:Object(f.__)("Block shortcuts"),categoryName:"block",additionalShortcuts:[{keyCombination:{character:"/"},description:Object(f.__)("Change the block type after adding a new paragraph."),ariaLabel:Object(f.__)("Forward-slash")}]}),Object(r.createElement)($i,{title:Object(f.__)("Text formatting"),shortcuts:Wi})):null}));var tc=function({blockTypes:e,value:t,onItemChange:n}){return Object(r.createElement)("ul",{className:"edit-post-manage-blocks-modal__checklist"},e.map(e=>Object(r.createElement)("li",{key:e.name,className:"edit-post-manage-blocks-modal__checklist-item"},Object(r.createElement)(m.CheckboxControl,{label:Object(r.createElement)(r.Fragment,null,e.title,Object(r.createElement)(a.BlockIcon,{icon:e.icon})),checked:t.includes(e.name),onChange:Object(d.partial)(n,e.name)}))))};var nc=Object(r.createContext)({});var rc=Object(v.compose)([v.withInstanceId,Object(b.withSelect)(e=>{const{getPreference:t}=e(w.a);return{hiddenBlockTypes:t("hiddenBlockTypes")}}),Object(b.withDispatch)((e,t)=>{const{showBlockTypes:n,hideBlockTypes:r}=e(w.a);return{toggleVisible(e,t){t?n(e):r(e)},toggleAllVisible(e){const o=Object(d.map)(t.blockTypes,"name");e?n(o):r(o)}}})])((function({instanceId:e,title:t,blockTypes:n,hiddenBlockTypes:o,toggleVisible:a,toggleAllVisible:i}){const c=Object(r.useContext)(nc),{allowedBlockTypes:s}=c,l=Object(r.useMemo)(()=>!0===s?n:n.filter(({name:e})=>Object(d.includes)(s||[],e)),[s,n]);if(!l.length)return null;const u=Object(d.without)(Object(d.map)(l,"name"),...o),p="edit-post-manage-blocks-modal__category-title-"+e,b=u.length===l.length;let f;return f=b?"true":u.length>0?"mixed":"false",Object(r.createElement)("div",{role:"group","aria-labelledby":p,className:"edit-post-manage-blocks-modal__category"},Object(r.createElement)(m.CheckboxControl,{checked:b,onChange:i,className:"edit-post-manage-blocks-modal__category-title","aria-checked":f,label:Object(r.createElement)("span",{id:p},t)}),Object(r.createElement)(tc,{blockTypes:l,value:u,onItemChange:a}))}));var oc=Object(v.compose)([Object(v.withState)({search:""}),Object(b.withSelect)(e=>{const{getBlockTypes:t,getCategories:n,hasBlockSupport:r,isMatchingSearchTerm:o}=e(p.store),{getPreference:a}=e(w.a),i=a("hiddenBlockTypes"),c=Object(d.isArray)(i)&&i.length;return{blockTypes:t(),categories:n(),hasBlockSupport:r,isMatchingSearchTerm:o,numberOfHiddenBlocks:c}})])((function({search:e,setState:t,blockTypes:n,categories:o,hasBlockSupport:a,isMatchingSearchTerm:i,numberOfHiddenBlocks:c}){return n=n.filter(t=>a(t,"inserter",!0)&&(!e||i(t,e))&&(!t.parent||Object(d.includes)(t.parent,"core/post-content"))),Object(r.createElement)("div",{className:"edit-post-manage-blocks-modal__content"},Object(r.createElement)(m.TextControl,{type:"search",label:Object(f.__)("Search for a block"),value:e,onChange:e=>t({search:e}),className:"edit-post-manage-blocks-modal__search"}),!!c&&Object(r.createElement)("div",{className:"edit-post-manage-blocks-modal__disabled-blocks-count"},Object(f.sprintf)(Object(f._n)("%d block is disabled.","%d blocks are disabled.",c),c)),Object(r.createElement)("div",{tabIndex:"0",role:"region","aria-label":Object(f.__)("Available block types"),className:"edit-post-manage-blocks-modal__results"},0===n.length&&Object(r.createElement)("p",{className:"edit-post-manage-blocks-modal__no-results"},Object(f.__)("No blocks found.")),o.map(e=>Object(r.createElement)(rc,{key:e.slug,title:e.title,blockTypes:Object(d.filter)(n,{category:e.slug})})),Object(r.createElement)(rc,{title:Object(f.__)("Uncategorized"),blockTypes:Object(d.filter)(n,({category:e})=>!e)})))}));var ac=Object(v.compose)([Object(b.withSelect)(e=>{const{isModalActive:t}=e(w.a);return{isActive:t("edit-post/manage-blocks")}}),Object(b.withDispatch)(e=>{const{closeModal:t}=e(w.a);return{closeModal:t}})])((function({isActive:e,closeModal:t}){return e?Object(r.createElement)(m.Modal,{className:"edit-post-manage-blocks-modal",title:Object(f.__)("Block Manager"),closeLabel:Object(f.__)("Close"),onRequestClose:t},Object(r.createElement)(oc,null)):null}));var ic=({description:e,title:t,children:n})=>Object(r.createElement)("section",{className:"edit-post-preferences-modal__section"},Object(r.createElement)("h2",{className:"edit-post-preferences-modal__section-title"},t),e&&Object(r.createElement)("p",{className:"edit-post-preferences-modal__section-description"},e),n),cc=n("Y5n4");var sc=Object(b.withSelect)(e=>{const{getEditorSettings:t}=e("core/editor"),{getAllMetaBoxes:n}=e(w.a);return{areCustomFieldsRegistered:void 0!==t().enableCustomFields,metaBoxes:n()}})((function({areCustomFieldsRegistered:e,metaBoxes:t,...n}){const o=Object(d.filter)(t,({id:e})=>"postcustom"!==e);return e||0!==o.length?Object(r.createElement)(ic,n,e&&Object(r.createElement)(cc.a,{label:Object(f.__)("Custom fields")}),Object(d.map)(o,({id:e,title:t})=>Object(r.createElement)(cc.c,{key:e,label:t,panelName:"meta-box-"+e}))):null}));function lc(){const e=Object(v.useViewportMatch)("medium"),{closeModal:t}=Object(b.useDispatch)(w.a),{isModalActive:n,isViewable:a}=Object(b.useSelect)(e=>{const{getEditedPostAttribute:t}=e(i.store),{getPostType:n}=e(o.store),r=n(t("type"));return{isModalActive:e(w.a).isModalActive("edit-post/preferences"),isViewable:Object(d.get)(r,["viewable"],!1)}},[]),c=Object(b.useSelect)(t=>{const{getEditorSettings:n}=t(i.store),{getEditorMode:r,isFeatureActive:o}=t(w.a),a=r(),c=n().richEditingEnabled;return!o("reducedUI")&&e&&c&&"visual"===a},[e]),s=Object(r.useMemo)(()=>[{name:"general",tabLabel:Object(f.__)("General"),content:Object(r.createElement)(r.Fragment,null,e&&Object(r.createElement)(ic,{title:Object(f.__)("Choose your own experience")},Object(r.createElement)(cc.e,{help:Object(f.__)("Review settings such as categories and tags."),label:Object(f.__)("Include pre-publish checklist")})),Object(r.createElement)(ic,{title:Object(f.__)("Decide what to focus on")},Object(r.createElement)(cc.b,{featureName:"reducedUI",help:Object(f.__)("Compacts options and outlines in the toolbar."),label:Object(f.__)("Reduce the interface")}),Object(r.createElement)(cc.b,{featureName:"focusMode",help:Object(f.__)("Highlights the current block and fades other content."),label:Object(f.__)("Spotlight mode")}),c&&Object(r.createElement)(cc.b,{featureName:"showBlockBreadcrumbs",help:Object(f.__)("Shows block breadcrumbs at the bottom of the editor."),label:Object(f.__)("Display block breadcrumbs")})))},{name:"appearance",tabLabel:Object(f.__)("Appearance"),content:Object(r.createElement)(ic,{title:Object(f.__)("Choose the way it looks")},Object(r.createElement)(cc.b,{featureName:"showIconLabels",help:Object(f.__)("Shows text instead of icons in toolbar."),label:Object(f.__)("Display button labels")}),Object(r.createElement)(cc.b,{featureName:"themeStyles",help:Object(f.__)("Make the editor look like your theme."),label:Object(f.__)("Use theme styles")}))},{name:"blocks",tabLabel:Object(f.__)("Blocks"),content:Object(r.createElement)(ic,{title:Object(f.__)("Choose how you interact with blocks")},Object(r.createElement)(cc.b,{featureName:"mostUsedBlocks",help:Object(f.__)("Places the most frequent blocks in the block library."),label:Object(f.__)("Show most used blocks")}),Object(r.createElement)(cc.b,{featureName:"keepCaretInsideBlock",help:Object(f.__)("Aids screen readers by stopping text caret from leaving blocks."),label:Object(f.__)("Contain text cursor inside block")}))},{name:"panels",tabLabel:Object(f.__)("Panels"),content:Object(r.createElement)(r.Fragment,null,Object(r.createElement)(ic,{title:Object(f.__)("Document settings"),description:Object(f.__)("Choose what displays in the panel.")},Object(r.createElement)(cc.d.Slot,null),a&&Object(r.createElement)(cc.c,{label:Object(f.__)("Permalink"),panelName:"post-link"}),a&&Object(r.createElement)(cc.c,{label:Object(f.__)("Template"),panelName:"template"}),Object(r.createElement)(i.PostTaxonomies,{taxonomyWrapper:(e,t)=>Object(r.createElement)(cc.c,{label:Object(d.get)(t,["labels","menu_name"]),panelName:"taxonomy-panel-"+t.slug})}),Object(r.createElement)(i.PostFeaturedImageCheck,null,Object(r.createElement)(cc.c,{label:Object(f.__)("Featured image"),panelName:"featured-image"})),Object(r.createElement)(i.PostExcerptCheck,null,Object(r.createElement)(cc.c,{label:Object(f.__)("Excerpt"),panelName:"post-excerpt"})),Object(r.createElement)(i.PostTypeSupportCheck,{supportKeys:["comments","trackbacks"]},Object(r.createElement)(cc.c,{label:Object(f.__)("Discussion"),panelName:"discussion-panel"})),Object(r.createElement)(i.PageAttributesCheck,null,Object(r.createElement)(cc.c,{label:Object(f.__)("Page attributes"),panelName:"page-attributes"}))),Object(r.createElement)(ic,{title:Object(f.__)("Additional"),description:Object(f.__)("Add extra areas to the editor.")},Object(r.createElement)(sc,null)))}],[a,e,c]),[l,u]=Object(r.useState)("preferences-menu"),{tabs:p,sectionsContentMap:h}=Object(r.useMemo)(()=>s.reduce((e,{name:t,tabLabel:n,content:r})=>(e.tabs.push({name:t,title:n}),e.sectionsContentMap[t]=r,e),{tabs:[],sectionsContentMap:{}}),[s]),g=Object(r.useCallback)(e=>h[e.name]||null,[h]);if(!n)return null;let O;return O=e?Object(r.createElement)(m.TabPanel,{className:"edit-post-preferences__tabs",tabs:p,initialTabName:"preferences-menu"!==l?l:void 0,onSelect:u,orientation:"vertical"},g):Object(r.createElement)(m.__experimentalNavigation,{activeMenu:l,onActivateMenu:u},Object(r.createElement)(m.__experimentalNavigationMenu,{menu:"preferences-menu"},p.map(e=>Object(r.createElement)(m.__experimentalNavigationItem,{key:e.name,title:e.title,navigateToMenu:e.name}))),s.map(e=>Object(r.createElement)(m.__experimentalNavigationMenu,{key:e.name+"-menu",menu:e.name,title:e.tabLabel,parentMenu:"preferences-menu"},Object(r.createElement)(m.__experimentalNavigationItem,null,e.content)))),Object(r.createElement)(m.Modal,{className:"edit-post-preferences-modal",title:Object(f.__)("Preferences"),closeLabel:Object(f.__)("Close"),onRequestClose:t},O)}class uc extends r.Component{constructor(){super(...arguments),this.state={historyId:null}}componentDidUpdate(e){const{postId:t,postStatus:n,postType:r,isSavingPost:o}=this.props,{historyId:a}=this.state;"trash"!==n||o?t===e.postId&&t===a||"auto-draft"===n||!t||this.setBrowserURL(t):this.setTrashURL(t,r)}setTrashURL(e,t){window.location.href=function(e,t){return Object(j.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(j.addQueryArgs)("post.php",{post:e,action:"edit"})}(e)),this.setState(()=>({historyId:e}))}render(){return null}}var dc=Object(b.withSelect)(e=>{const{getCurrentPost:t,isSavingPost:n}=e("core/editor"),r=t();let{id:o,status:a,type:i}=r;return["wp_template","wp_template_part"].includes(i)&&(o=r.wp_id),{postId:o,postStatus:a,postType:i,isSavingPost:n()}})(uc),pc=n("wduq");var mc=function({showTooltip:e,icon:t,href:n}){const{isActive:o,isRequestingSiteIcon:a,postType:i,siteIconUrl:c}=Object(b.useSelect)(e=>{const{getCurrentPostType:t}=e("core/editor"),{isFeatureActive:n}=e(w.a),{isResolving:r}=e("core/data"),{getEntityRecord:o,getPostType:a}=e("core"),i=o("root","__unstableBase",void 0)||{};return{isActive:n("fullscreenMode"),isRequestingSiteIcon:r("core","getEntityRecord",["root","__unstableBase",void 0]),postType:a(t()),siteIconUrl:i.site_icon_url}},[]);if(!o||!i)return null;let s=Object(r.createElement)(m.Icon,{size:"36px",icon:pc.a});return c&&(s=Object(r.createElement)("img",{alt:Object(f.__)("Site Icon"),className:"edit-post-fullscreen-mode-close_site-icon",src:c})),a&&(s=null),t&&(s=Object(r.createElement)(m.Icon,{size:"36px",icon:t})),Object(r.createElement)(m.Button,{className:"edit-post-fullscreen-mode-close has-icon",href:null!=n?n:Object(j.addQueryArgs)("edit.php",{post_type:i.slug}),label:Object(d.get)(i,["labels","view_items"],Object(f.__)("Back")),showTooltip:e},s)},bc=n("OzlF"),fc=n("Q4Sy"),vc=n("NWDH");function hc(){const{clearSelectedBlock:e}=Object(b.useDispatch)(a.store),{setIsEditingTemplate:t}=Object(b.useDispatch)(w.a),{getEditorSettings:n}=Object(b.useSelect)(i.store),{updateEditorSettings:c,editPost:s}=Object(b.useDispatch)(i.store),{deleteEntityRecord:l}=Object(b.useDispatch)(o.store),{template:u}=Object(b.useSelect)(e=>{const{isEditingTemplate:t,getEditedPostTemplate:n}=e(w.a);return{template:t()?n():null}},[]);if(!u||!u.wp_id)return null;let p=u.slug;return null!=u&&u.title&&(p=u.title),Object(r.createElement)(m.MenuGroup,{className:"edit-post-template-top-area__second-menu-group"},Object(r.createElement)(m.MenuItem,{isDestructive:!0,isTertiary:!0,isLink:!0,"aria-label":Object(f.__)("Delete template"),onClick:()=>{if(window.confirm(Object(f.sprintf)("Are you sure you want to delete the %s template? It may be used by other pages or posts.",p))){e(),t(!1),s({template:""});const r=n(),o=Object(d.pickBy)(r.availableTemplates,(e,t)=>t!==u.slug);c({...r,availableTemplates:o}),l("postType","wp_template",u.id)}}},Object(f.__)("Delete template")))}function gc(){const{template:e}=Object(b.useSelect)(e=>{const{getEditedPostTemplate:t}=e(w.a);return{template:t()}},[]),{editEntityRecord:t}=Object(b.useDispatch)(o.store),{getEditorSettings:n}=Object(b.useSelect)(i.store),{updateEditorSettings:a}=Object(b.useDispatch)(i.store);let c=Object(f.__)("Default");return null!=e&&e.title?c=e.title:e&&(c=e.slug),Object(r.createElement)(m.TextControl,{label:Object(f.__)("Title"),value:c,onChange:r=>{const o=n(),i=Object(d.mapValues)(o.availableTemplates,(t,n)=>n!==e.slug?t:r);a({...o,availableTemplates:i}),t("postType","wp_template",e.id,{title:r})}})}var Oc=function(){const{template:e,isEditing:t,title:n}=Object(b.useSelect)(e=>{const{isEditingTemplate:t,getEditedPostTemplate:n}=e(w.a),{getEditedPostAttribute:r}=e(i.store),o=t();return{template:o?n():null,isEditing:o,title:r("title")}},[]),{clearSelectedBlock:o}=Object(b.useDispatch)(a.store),{setIsEditingTemplate:c}=Object(b.useDispatch)(w.a);if(!t||!e)return null;let s=Object(f.__)("Default");return null!=e&&e.title?s=e.title:e&&(s=e.slug),Object(r.createElement)(m.ToolbarItem,null,e=>Object(r.createElement)(m.Dropdown,{className:"edit-post-template-top-area",position:"bottom center",contentClassName:"edit-post-template-top-area__popover",renderToggle:({onToggle:t})=>Object(r.createElement)(r.Fragment,null,Object(r.createElement)(m.Button,Object(u.a)({},e,{className:"edit-post-template-post-title",isLink:!0,showTooltip:!0,label:Object(f.sprintf)(Object(f.__)("Edit %s"),n),onClick:()=>{o(),c(!1)}}),n),Object(r.createElement)(m.Button,Object(u.a)({},e,{className:"edit-post-template-title",isLink:!0,icon:vc.a,showTooltip:!0,onClick:t,label:Object(f.__)("Template Options")}),s)),renderContent:()=>Object(r.createElement)(r.Fragment,null,Object(r.createElement)(gc,null),Object(r.createElement)(hc,null))}))};var yc=function(){const e=Object(r.useRef)(),{setIsInserterOpened:t,setIsListViewOpened:n}=Object(b.useDispatch)(w.a),{isInserterEnabled:o,isInserterOpened:c,isTextModeEnabled:s,showIconLabels:l,isListViewOpen:u,listViewShortcut:d}=Object(b.useSelect)(e=>{const{hasInserterItems:t,getBlockRootClientId:n,getBlockSelectionEnd:r}=e(a.store),{getEditorSettings:o}=e(i.store),{getEditorMode:c,isFeatureActive:s,isListViewOpened:l}=e(w.a),{getShortcutRepresentation:u}=e(N.store);return{isInserterEnabled:"visual"===c()&&o().richEditingEnabled&&t(n(r())),isInserterOpened:e(w.a).isInserterOpened(),isTextModeEnabled:"text"===c(),showIconLabels:s("showIconLabels"),isListViewOpen:l(),listViewShortcut:u("core/edit-post/toggle-block-navigation")}},[]),p=Object(v.useViewportMatch)("medium"),h=Object(v.useViewportMatch)("wide"),g=Object(f.__)("Document tools"),O=Object(r.createElement)(r.Fragment,null,Object(r.createElement)(m.ToolbarItem,{as:i.TableOfContents,hasOutlineItemsDisabled:s,repositionDropdown:l&&!h,showTooltip:!l,isTertiary:l}),Object(r.createElement)(m.ToolbarItem,{as:m.Button,className:"edit-post-header-toolbar__list-view-toggle",icon:bc.a,disabled:s,isPressed:u,label:Object(f.__)("List View"),onClick:()=>n(!u),shortcut:d,showTooltip:!l}));return Object(r.createElement)(a.NavigableToolbar,{className:"edit-post-header-toolbar","aria-label":g},Object(r.createElement)("div",{className:"edit-post-header-toolbar__left"},Object(r.createElement)(m.ToolbarItem,{ref:e,as:m.Button,className:"edit-post-header-toolbar__inserter-toggle",isPrimary:!0,isPressed:c,onMouseDown:e=>{e.preventDefault()},onClick:()=>{c?e.current.focus():t(!0)},disabled:!o,icon:fc.a,label:Object(f._x)("Toggle block inserter","Generic label for block inserter button"),showTooltip:!l},l&&Object(f.__)("Add")),(h||!l)&&Object(r.createElement)(r.Fragment,null,p&&Object(r.createElement)(m.ToolbarItem,{as:a.ToolSelector,showTooltip:!l,isTertiary:l,disabled:s}),Object(r.createElement)(m.ToolbarItem,{as:i.EditorHistoryUndo,showTooltip:!l,isTertiary:l}),Object(r.createElement)(m.ToolbarItem,{as:i.EditorHistoryRedo,showTooltip:!l,isTertiary:l}),O)),Object(r.createElement)(Oc,null))},jc=n("VKE3");const Ec=[{value:"visual",label:Object(f.__)("Visual editor")},{value:"text",label:Object(f.__)("Code editor")}];var _c=function(){const{shortcut:e,isRichEditingEnabled:t,isCodeEditingEnabled:n,mode:o}=Object(b.useSelect)(e=>({shortcut:e(N.store).getShortcutRepresentation("core/edit-post/toggle-mode"),isRichEditingEnabled:e("core/editor").getEditorSettings().richEditingEnabled,isCodeEditingEnabled:e("core/editor").getEditorSettings().codeEditingEnabled,mode:e(w.a).getEditorMode()}),[]),{switchEditorMode:a}=Object(b.useDispatch)(w.a);if(!t||!n)return null;const i=Ec.map(t=>t.value!==o?{...t,shortcut:e}:t);return Object(r.createElement)(m.MenuGroup,{label:Object(f.__)("Editor")},Object(r.createElement)(m.MenuItemsChoice,{choices:i,value:o,onSelect:a}))};function wc(){const{openModal:e}=Object(b.useDispatch)(w.a);return Object(r.createElement)(m.MenuItem,{onClick:()=>{e("edit-post/preferences")}},Object(f.__)("Preferences"))}var Sc=n("RMJe");var xc=Object(v.compose)([Object(b.withSelect)((e,{feature:t})=>({isActive:e(w.a).isFeatureActive(t)})),Object(b.withDispatch)((e,t)=>({onToggle(){e(w.a).toggleFeature(t.feature)}}))])((function({onToggle:e,isActive:t,label:n,info:o,messageActivated:a,messageDeactivated:i,shortcut:c}){return Object(r.createElement)(m.MenuItem,{icon:t&&Sc.a,isSelected:t,onClick:Object(d.flow)(e,()=>{t?Object(Ui.speak)(i||Object(f.__)("Feature deactivated")):Object(Ui.speak)(a||Object(f.__)("Feature activated"))}),role:"menuitemcheckbox",info:o,shortcut:c},n)}));var Pc=function(){return Object(v.useViewportMatch)("medium")?Object(r.createElement)(m.MenuGroup,{label:Object(f._x)("View","noun")},Object(r.createElement)(xc,{feature:"fixedToolbar",label:Object(f.__)("Top toolbar"),info:Object(f.__)("Access all block and document tools in a single place"),messageActivated:Object(f.__)("Top toolbar activated"),messageDeactivated:Object(f.__)("Top toolbar deactivated")}),Object(r.createElement)(xc,{feature:"focusMode",label:Object(f.__)("Spotlight mode"),info:Object(f.__)("Focus on one block at a time"),messageActivated:Object(f.__)("Spotlight mode activated"),messageDeactivated:Object(f.__)("Spotlight mode deactivated")}),Object(r.createElement)(xc,{feature:"fullscreenMode",label:Object(f.__)("Fullscreen mode"),info:Object(f.__)("Work without distraction"),messageActivated:Object(f.__)("Fullscreen mode activated"),messageDeactivated:Object(f.__)("Fullscreen mode deactivated"),shortcut:x.displayShortcut.secondary("f")})):null};const Tc={className:"edit-post-more-menu__content",position:"bottom left"},kc={tooltipPosition:"bottom"};var Cc=({showIconLabels:e})=>{const t=Object(v.useViewportMatch)("large");return Object(r.createElement)(m.DropdownMenu,{className:"edit-post-more-menu",icon:jc.a,label:Object(f.__)("Options"),popoverProps:Tc,toggleProps:{showTooltip:!e,isTertiary:e,...kc}},({onClose:n})=>Object(r.createElement)(r.Fragment,null,e&&!t&&Object(r.createElement)(B.f.Slot,{className:e&&"show-icon-labels",scope:"core/edit-post"}),Object(r.createElement)(Pc,null),Object(r.createElement)(_c,null),Object(r.createElement)(B.a.Slot,{name:"core/edit-post/plugin-more-menu",label:Object(f.__)("Plugins"),as:m.MenuGroup,fillProps:{onClick:n}}),Object(r.createElement)(C.Slot,{fillProps:{onClose:n}}),Object(r.createElement)(m.MenuGroup,null,Object(r.createElement)(wc,null))))};var Ac=Object(v.compose)(Object(b.withSelect)(e=>({hasPublishAction:Object(d.get)(e("core/editor").getCurrentPost(),["_links","wp:action-publish"],!1),isBeingScheduled:e("core/editor").isEditedPostBeingScheduled(),isPending:e("core/editor").isCurrentPostPending(),isPublished:e("core/editor").isCurrentPostPublished(),isPublishSidebarEnabled:e("core/editor").isPublishSidebarEnabled(),isPublishSidebarOpened:e(w.a).isPublishSidebarOpened(),isScheduled:e("core/editor").isCurrentPostScheduled()})),Object(b.withDispatch)(e=>{const{togglePublishSidebar:t}=e(w.a);return{togglePublishSidebar:t}}))((function({forceIsDirty:e,forceIsSaving:t,hasPublishAction:n,isBeingScheduled:o,isPending:a,isPublished:c,isPublishSidebarEnabled:s,isPublishSidebarOpened:l,isScheduled:u,togglePublishSidebar:d,setEntitiesSavedStatesCallback:p}){const m=Object(v.useViewportMatch)("medium","<");let b;return b=c||u&&o||a&&!n&&!m?"button":m||s?"toggle":"button",Object(r.createElement)(i.PostPublishButton,{forceIsDirty:e,forceIsSaving:t,isOpen:l,isToggle:"toggle"===b,onToggle:d,setEntitiesSavedStatesCallback:p})}));function Mc(){const{hasActiveMetaboxes:e,isPostSaveable:t,isSaving:n,deviceType:o}=Object(b.useSelect)(e=>({hasActiveMetaboxes:e(w.a).hasMetaBoxes(),isSaving:e(w.a).isSavingMetaBoxes(),isPostSaveable:e("core/editor").isEditedPostSaveable(),deviceType:e(w.a).__experimentalGetPreviewDeviceType()}),[]),{__experimentalSetPreviewDeviceType:c}=Object(b.useDispatch)(w.a);return Object(r.createElement)(a.__experimentalPreviewOptions,{isEnabled:t,className:"edit-post-post-preview-dropdown",deviceType:o,setDeviceType:c},Object(r.createElement)(m.MenuGroup,null,Object(r.createElement)("div",{className:"edit-post-header-preview__grouping-external"},Object(r.createElement)(i.PostPreviewButton,{className:"edit-post-header-preview__button-external",role:"menuitem",forceIsAutosaveable:e,forcePreviewLink:n?null:void 0,textContent:Object(r.createElement)(r.Fragment,null,Object(f.__)("Preview in new tab"),Object(r.createElement)(m.Icon,{icon:O.a}))}))))}const Ic="__experimentalMainDashboardButton",{Fill:Lc,Slot:Bc}=Object(m.createSlotFill)(Ic),Nc=Lc;Nc.Slot=({children:e})=>{const t=Object(m.__experimentalUseSlot)(Ic);return Boolean(t.fills&&t.fills.length)?Object(r.createElement)(Bc,{bubblesVirtually:!0}):e};var Rc=Nc;var Dc=function({setEntitiesSavedStatesCallback:e}){const{hasActiveMetaboxes:t,isPublishSidebarOpened:n,isSaving:o,showIconLabels:a,hasReducedUI:c}=Object(b.useSelect)(e=>({hasActiveMetaboxes:e(w.a).hasMetaBoxes(),isPublishSidebarOpened:e(w.a).isPublishSidebarOpened(),isSaving:e(w.a).isSavingMetaBoxes(),showIconLabels:e(w.a).isFeatureActive("showIconLabels"),hasReducedUI:e(w.a).isFeatureActive("reducedUI")}),[]),s=Object(v.useViewportMatch)("large"),l=L()("edit-post-header",{"has-reduced-ui":c});return Object(r.createElement)("div",{className:l},Object(r.createElement)(Rc.Slot,null,Object(r.createElement)(mc,null)),Object(r.createElement)("div",{className:"edit-post-header__toolbar"},Object(r.createElement)(yc,null)),Object(r.createElement)("div",{className:"edit-post-header__settings"},!n&&Object(r.createElement)(i.PostSavedState,{forceIsDirty:t,forceIsSaving:o,showIconLabels:a}),Object(r.createElement)(Mc,null),Object(r.createElement)(i.PostPreviewButton,{forceIsAutosaveable:t,forcePreviewLink:o?null:void 0}),Object(r.createElement)(Ac,{forceIsDirty:t,forceIsSaving:o,setEntitiesSavedStatesCallback:e}),(s||!a)&&Object(r.createElement)(r.Fragment,null,Object(r.createElement)(B.f.Slot,{scope:"core/edit-post"}),Object(r.createElement)(Cc,{showIconLabels:a})),a&&!s&&Object(r.createElement)(Cc,{showIconLabels:a})))},Vc=n("w95h");function Fc(){const{insertionPoint:e,showMostUsedBlocks:t}=Object(b.useSelect)(e=>{const{isFeatureActive:t,__experimentalGetInsertionPoint:n}=e(w.a);return{insertionPoint:n(),showMostUsedBlocks:t("mostUsedBlocks")}},[]),{setIsInserterOpened:n}=Object(b.useDispatch)(w.a),o=Object(v.useViewportMatch)("medium","<"),[i,c]=Object(v.__experimentalUseDialog)({onClose:()=>n(!1)});return Object(r.createElement)("div",Object(u.a)({ref:i},c,{className:"edit-post-editor__inserter-panel"}),Object(r.createElement)("div",{className:"edit-post-editor__inserter-panel-header"},Object(r.createElement)(m.Button,{icon:Vc.a,onClick:()=>n(!1)})),Object(r.createElement)("div",{className:"edit-post-editor__inserter-panel-content"},Object(r.createElement)(a.__experimentalLibrary,{showMostUsedBlocks:t,showInserterHelpPanel:!0,shouldFocusBlock:o,rootClientId:e.rootClientId,__experimentalInsertionIndex:e.insertionIndex})))}var Uc=n("bWcr");function Gc(){const{setIsListViewOpened:e}=Object(b.useDispatch)(w.a),{clearSelectedBlock:t,selectBlock:n}=Object(b.useDispatch)(a.store);const o=Object(v.useFocusOnMount)("firstElement"),i=Object(v.useFocusReturn)();const c="edit-post-editor__list-view-panel-label-"+Object(v.useInstanceId)(Gc);return Object(r.createElement)("div",{"aria-labelledby":c,className:"edit-post-editor__list-view-panel",onKeyDown:function(t){t.keyCode===x.ESCAPE&&(t.stopPropagation(),e(!1))}},Object(r.createElement)("div",{className:"edit-post-editor__list-view-panel-header"},Object(r.createElement)("strong",{id:c},Object(f.__)("List view")),Object(r.createElement)(m.Button,{icon:Uc.a,label:Object(f.__)("Close list view sidebar"),onClick:()=>e(!1)})),Object(r.createElement)("div",{className:"edit-post-editor__list-view-panel-content",ref:Object(v.useMergeRefs)([i,o])},Object(r.createElement)(a.__experimentalBlockNavigationTree,{onSelect:async function(e){await t(),n(e,-1)},showNestedBlocks:!0,__experimentalPersistentListViewFeatures:!0})))}var Hc=n("Cg8A");var zc=({sidebarName:e})=>{const{openGeneralSidebar:t}=Object(b.useDispatch)(w.a),n=()=>t("edit-post/document"),{documentLabel:o,isTemplateMode:a}=Object(b.useSelect)(e=>{var t,n;const r=e("core/editor").getCurrentPostType(),o=e("core").getPostType(r);return{documentLabel:null!==(t=null==o||null===(n=o.labels)||void 0===n?void 0:n.singular_name)&&void 0!==t?t:Object(f.__)("Document"),isTemplateMode:e(w.a).isEditingTemplate()}},[]),[i,c]="edit-post/document"===e?[Object(f.sprintf)(Object(f.__)("%s (selected)"),o),"is-active"]:[o,""],[s,l]="edit-post/block"===e?[Object(f.__)("Block (selected)"),"is-active"]:[Object(f.__)("Block"),""],[u,d]="edit-post/document"===e?[Object(f.__)("Template (selected)"),"is-active"]:[Object(f.__)("Template"),""];return Object(r.createElement)("ul",null,!a&&Object(r.createElement)("li",null,Object(r.createElement)(m.Button,{onClick:n,className:"edit-post-sidebar__panel-tab "+c,"aria-label":i,"data-label":o},o)),a&&Object(r.createElement)("li",null,Object(r.createElement)(m.Button,{onClick:n,className:"edit-post-sidebar__panel-tab "+d,"aria-label":u,"data-label":Object(f.__)("Template")},Object(f.__)("Template"))),Object(r.createElement)("li",null,Object(r.createElement)(m.Button,{onClick:()=>t("edit-post/block"),className:"edit-post-sidebar__panel-tab "+l,"aria-label":s,"data-label":Object(f.__)("Block")},Object(f.__)("Block"))))};var qc=function(){return Object(r.createElement)(i.PostVisibilityCheck,{render:({canEdit:e})=>Object(r.createElement)(m.PanelRow,{className:"edit-post-post-visibility"},Object(r.createElement)("span",null,Object(f.__)("Visibility")),!e&&Object(r.createElement)("span",null,Object(r.createElement)(i.PostVisibilityLabel,null)),e&&Object(r.createElement)(m.Dropdown,{position:"bottom left",contentClassName:"edit-post-post-visibility__dialog",renderToggle:({isOpen:e,onToggle:t})=>Object(r.createElement)(m.Button,{"aria-expanded":e,className:"edit-post-post-visibility__toggle",onClick:t,isTertiary:!0},Object(r.createElement)(i.PostVisibilityLabel,null)),renderContent:()=>Object(r.createElement)(i.PostVisibility,null)}))})};function Wc(){return Object(r.createElement)(i.PostTrashCheck,null,Object(r.createElement)(m.PanelRow,null,Object(r.createElement)(i.PostTrash,null)))}var Yc=function(){const e=Object(r.useRef)();return Object(r.createElement)(i.PostScheduleCheck,null,Object(r.createElement)(m.PanelRow,{className:"edit-post-post-schedule",ref:e},Object(r.createElement)("span",null,Object(f.__)("Publish")),Object(r.createElement)(m.Dropdown,{popoverProps:{anchorRef:e.current},position:"bottom left",contentClassName:"edit-post-post-schedule__dialog",renderToggle:({onToggle:e,isOpen:t})=>Object(r.createElement)(r.Fragment,null,Object(r.createElement)(m.Button,{className:"edit-post-post-schedule__toggle",onClick:e,"aria-expanded":t,isTertiary:!0},Object(r.createElement)(i.PostScheduleLabel,null))),renderContent:()=>Object(r.createElement)(i.PostSchedule,null)})))};var Xc=function(){return Object(r.createElement)(i.PostStickyCheck,null,Object(r.createElement)(m.PanelRow,null,Object(r.createElement)(i.PostSticky,null)))};var Kc=function(){return Object(r.createElement)(i.PostAuthorCheck,null,Object(r.createElement)(m.PanelRow,null,Object(r.createElement)(i.PostAuthor,null)))};var Zc=function(){return Object(r.createElement)(i.PostSlugCheck,null,Object(r.createElement)(m.PanelRow,null,Object(r.createElement)(i.PostSlug,null)))};var Qc=function(){return Object(r.createElement)(i.PostFormatCheck,null,Object(r.createElement)(m.PanelRow,null,Object(r.createElement)(i.PostFormat,null)))};var $c=function(){return Object(r.createElement)(i.PostPendingStatusCheck,null,Object(r.createElement)(m.PanelRow,null,Object(r.createElement)(i.PostPendingStatus,null)))};const{Fill:Jc,Slot:es}=Object(m.createSlotFill)("PluginPostStatusInfo"),ts=({children:e,className:t})=>Object(r.createElement)(Jc,null,Object(r.createElement)(m.PanelRow,{className:t},e));ts.Slot=es;var ns=ts;var rs=Object(v.compose)([Object(b.withSelect)(e=>{const{isEditorPanelRemoved:t,isEditorPanelOpened:n}=e(w.a);return{isRemoved:t("post-status"),isOpened:n("post-status")}}),Object(v.ifCondition)(({isRemoved:e})=>!e),Object(b.withDispatch)(e=>({onTogglePanel:()=>e(w.a).toggleEditorPanelOpened("post-status")}))])((function({isOpened:e,onTogglePanel:t}){return Object(r.createElement)(m.PanelBody,{className:"edit-post-post-status",title:Object(f.__)("Status & visibility"),opened:e,onToggle:t},Object(r.createElement)(ns.Slot,null,e=>Object(r.createElement)(r.Fragment,null,Object(r.createElement)(qc,null),Object(r.createElement)(Yc,null),Object(r.createElement)(Qc,null),Object(r.createElement)(Xc,null),Object(r.createElement)($c,null),Object(r.createElement)(Zc,null),Object(r.createElement)(Kc,null),e,Object(r.createElement)(Wc,null))))}));var os=function(){return Object(r.createElement)(i.PostLastRevisionCheck,null,Object(r.createElement)(m.PanelBody,{className:"edit-post-last-revision__panel"},Object(r.createElement)(i.PostLastRevision,null)))};var as=Object(v.compose)(Object(b.withSelect)((e,t)=>{const n=Object(d.get)(t.taxonomy,["slug"]),r=n?"taxonomy-panel-"+n:"";return{panelName:r,isEnabled:!!n&&e(w.a).isEditorPanelEnabled(r),isOpened:!!n&&e(w.a).isEditorPanelOpened(r)}}),Object(b.withDispatch)((e,t)=>({onTogglePanel:()=>{e(w.a).toggleEditorPanelOpened(t.panelName)}})))((function({isEnabled:e,taxonomy:t,isOpened:n,onTogglePanel:o,children:a}){if(!e)return null;const i=Object(d.get)(t,["labels","menu_name"]);return i?Object(r.createElement)(m.PanelBody,{title:i,opened:n,onToggle:o},a):null}));var is=function(){return Object(r.createElement)(i.PostTaxonomiesCheck,null,Object(r.createElement)(i.PostTaxonomies,{taxonomyWrapper:(e,t)=>Object(r.createElement)(as,{taxonomy:t},e)}))};const cs=Object(b.withSelect)(e=>{const{getEditedPostAttribute:t}=e("core/editor"),{getPostType:n}=e("core"),{isEditorPanelEnabled:r,isEditorPanelOpened:o}=e(w.a);return{postType:n(t("type")),isEnabled:r("featured-image"),isOpened:o("featured-image")}}),ss=Object(b.withDispatch)(e=>{const{toggleEditorPanelOpened:t}=e(w.a);return{onTogglePanel:Object(d.partial)(t,"featured-image")}});var ls=Object(v.compose)(cs,ss)((function({isEnabled:e,isOpened:t,postType:n,onTogglePanel:o}){return e?Object(r.createElement)(i.PostFeaturedImageCheck,null,Object(r.createElement)(m.PanelBody,{title:Object(d.get)(n,["labels","featured_image"],Object(f.__)("Featured image")),opened:t,onToggle:o},Object(r.createElement)(i.PostFeaturedImage,null))):null}));var us=Object(v.compose)([Object(b.withSelect)(e=>({isEnabled:e(w.a).isEditorPanelEnabled("post-excerpt"),isOpened:e(w.a).isEditorPanelOpened("post-excerpt")})),Object(b.withDispatch)(e=>({onTogglePanel:()=>e(w.a).toggleEditorPanelOpened("post-excerpt")}))])((function({isEnabled:e,isOpened:t,onTogglePanel:n}){return e?Object(r.createElement)(i.PostExcerptCheck,null,Object(r.createElement)(m.PanelBody,{title:Object(f.__)("Excerpt"),opened:t,onToggle:n},Object(r.createElement)(i.PostExcerpt,null))):null}));var ds=Object(v.compose)([Object(b.withSelect)(e=>{const{isPermalinkEditable:t,getCurrentPost:n,isCurrentPostPublished:r,getPermalinkParts:o,getEditedPostAttribute:a,getEditedPostSlug:i}=e("core/editor"),{isEditorPanelEnabled:c,isEditorPanelOpened:s}=e(w.a),{getPostType:l}=e("core"),{link:u}=n(),p=l(a("type")),m=o();return{postLink:u,isEditable:t(),isPublished:r(),isOpened:s("post-link"),isEnabled:c("post-link"),isViewable:Object(d.get)(p,["viewable"],!1),postSlug:Object(j.safeDecodeURIComponent)(i()),postTypeLabel:Object(d.get)(p,["labels","view_item"]),hasPermalinkParts:!!m,permalinkPrefix:null==m?void 0:m.prefix,permalinkSuffix:null==m?void 0:m.suffix}}),Object(v.ifCondition)(({isEnabled:e,postLink:t,isViewable:n,hasPermalinkParts:r})=>e&&t&&n&&r),Object(b.withDispatch)(e=>{const{toggleEditorPanelOpened:t}=e(w.a),{editPost:n}=e("core/editor");return{onTogglePanel:()=>t("post-link"),editPermalink:e=>{n({slug:e})}}}),Object(v.withState)({forceEmptyField:!1})])((function({isOpened:e,onTogglePanel:t,isEditable:n,postLink:o,permalinkPrefix:a,permalinkSuffix:c,editPermalink:s,forceEmptyField:l,setState:u,postSlug:d,postTypeLabel:p}){let b,v,h;return n&&(b=a&&Object(r.createElement)("span",{className:"edit-post-post-link__link-prefix"},a),v=d&&Object(r.createElement)("span",{className:"edit-post-post-link__link-post-name"},d),h=c&&Object(r.createElement)("span",{className:"edit-post-post-link__link-suffix"},c)),Object(r.createElement)(m.PanelBody,{title:Object(f.__)("Permalink"),opened:e,onToggle:t},n&&Object(r.createElement)("div",{className:"editor-post-link"},Object(r.createElement)(m.TextControl,{label:Object(f.__)("URL Slug"),value:l?"":d,onChange:e=>{s(e),e?l&&u({forceEmptyField:!1}):l||u({forceEmptyField:!0})},onBlur:e=>{s(Object(i.cleanForSlug)(e.target.value)),l&&u({forceEmptyField:!1})}}),Object(r.createElement)("p",null,Object(f.__)("The last part of the URL.")," ",Object(r.createElement)(m.ExternalLink,{href:"https://wordpress.org/support/article/writing-posts/#post-field-descriptions"},Object(f.__)("Read about permalinks")))),Object(r.createElement)("h3",{className:"edit-post-post-link__preview-label"},p||Object(f.__)("View post")),Object(r.createElement)("div",{className:"edit-post-post-link__preview-link-container"},Object(r.createElement)(m.ExternalLink,{className:"edit-post-post-link__link",href:o,target:"_blank"},n?Object(r.createElement)(r.Fragment,null,b,v,h):o)))}));var ps=Object(v.compose)([Object(b.withSelect)(e=>({isEnabled:e(w.a).isEditorPanelEnabled("discussion-panel"),isOpened:e(w.a).isEditorPanelOpened("discussion-panel")})),Object(b.withDispatch)(e=>({onTogglePanel:()=>e(w.a).toggleEditorPanelOpened("discussion-panel")}))])((function({isEnabled:e,isOpened:t,onTogglePanel:n}){return e?Object(r.createElement)(i.PostTypeSupportCheck,{supportKeys:["comments","trackbacks"]},Object(r.createElement)(m.PanelBody,{title:Object(f.__)("Discussion"),opened:t,onToggle:n},Object(r.createElement)(i.PostTypeSupportCheck,{supportKeys:"comments"},Object(r.createElement)(m.PanelRow,null,Object(r.createElement)(i.PostComments,null))),Object(r.createElement)(i.PostTypeSupportCheck,{supportKeys:"trackbacks"},Object(r.createElement)(m.PanelRow,null,Object(r.createElement)(i.PostPingbacks,null))))):null}));var ms=function(){const{isEnabled:e,isOpened:t,postType:n}=Object(b.useSelect)(e=>{const{getEditedPostAttribute:t}=e(i.store),{isEditorPanelEnabled:n,isEditorPanelOpened:r}=e(w.a),{getPostType:a}=e(o.store);return{isEnabled:n("page-attributes"),isOpened:r("page-attributes"),postType:a(t("type"))}},[]),{toggleEditorPanelOpened:a}=Object(b.useDispatch)(w.a);if(!e||!n)return null;const c=Object(d.partial)(a,"page-attributes");return Object(r.createElement)(i.PageAttributesCheck,null,Object(r.createElement)(m.PanelBody,{title:Object(d.get)(n,["labels","attributes"],Object(f.__)("Page attributes")),opened:t,onToggle:c},Object(r.createElement)(i.PageAttributesParent,null),Object(r.createElement)(m.PanelRow,null,Object(r.createElement)(i.PageAttributesOrder,null))))};class bs extends r.Component{constructor(){super(...arguments),this.bindContainerNode=this.bindContainerNode.bind(this)}componentDidMount(){this.form=document.querySelector(".metabox-location-"+this.props.location),this.form&&this.container.appendChild(this.form)}componentWillUnmount(){this.form&&document.querySelector("#metaboxes").appendChild(this.form)}bindContainerNode(e){this.container=e}render(){const{location:e,isSaving:t}=this.props,n=L()("edit-post-meta-boxes-area","is-"+e,{"is-loading":t});return Object(r.createElement)("div",{className:n},t&&Object(r.createElement)(m.Spinner,null),Object(r.createElement)("div",{className:"edit-post-meta-boxes-area__container",ref:this.bindContainerNode}),Object(r.createElement)("div",{className:"edit-post-meta-boxes-area__clear"}))}}var fs=Object(b.withSelect)(e=>({isSaving:e(w.a).isSavingMetaBoxes()}))(bs);class vs 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 hs=Object(b.withSelect)((e,{id:t})=>({isVisible:e(w.a).isEditorPanelEnabled("meta-box-"+t)}))(vs);var gs=Object(b.withSelect)((e,{location:t})=>{const{isMetaBoxLocationVisible:n,getMetaBoxesPerLocation:r}=e(w.a);return{metaBoxes:r(t),isVisible:n(t)}})((function({location:e,isVisible:t,metaBoxes:n}){return Object(r.createElement)(r.Fragment,null,Object(d.map)(n,({id:e})=>Object(r.createElement)(hs,{key:e,id:e})),t&&Object(r.createElement)(fs,{location:e}))})),Os=n("xrib");function ys({className:e,...t}){const{postTitle:n,shortcut:o,showIconLabels:a}=Object(b.useSelect)(e=>({postTitle:e("core/editor").getEditedPostAttribute("title"),shortcut:e(N.store).getShortcutRepresentation("core/edit-post/toggle-sidebar"),showIconLabels:e(w.a).isFeatureActive("showIconLabels")}));return Object(r.createElement)(B.b,Object(u.a)({panelClassName:e,className:"edit-post-sidebar",smallScreenTitle:n||Object(f.__)("(no title)"),scope:"core/edit-post",toggleShortcut:o,showIconLabels:a},t))}var js=function(){const[e,t]=Object(r.useState)(!1),[n,a]=Object(r.useState)(""),{template:c,supportsTemplateMode:s}=Object(b.useSelect)(e=>{var t,n;const{getCurrentPostType:r}=e(i.store),{getPostType:a}=e(o.store),{getEditedPostTemplate:c}=e(w.a),s=null!==(t=null===(n=a(r()))||void 0===n?void 0:n.viewable)&&void 0!==t&&t,l=e(i.store).getEditorSettings().supportsTemplateMode&&s;return{template:l&&c(),supportsTemplateMode:l}},[]),{__unstableSwitchToTemplateMode:l}=Object(b.useDispatch)(w.a);return s?Object(r.createElement)(r.Fragment,null,Object(r.createElement)("div",{className:"edit-post-template__actions"},!!c&&Object(r.createElement)(m.Button,{isLink:!0,onClick:()=>l()},Object(f.__)("Edit")),Object(r.createElement)(m.Button,{isLink:!0,onClick:()=>t(!0)},Object(f.__)("New"))),e&&Object(r.createElement)(m.Modal,{title:Object(f.__)("Create a custom template"),closeLabel:Object(f.__)("Close"),onRequestClose:()=>{t(!1),a("")},overlayClassName:"edit-post-template__modal"},Object(r.createElement)("form",{onSubmit:e=>{e.preventDefault();const r=Object(f.__)("Custom Template"),o=[Object(p.createBlock)("core/site-title"),Object(p.createBlock)("core/site-tagline"),Object(p.createBlock)("core/separator"),Object(p.createBlock)("core/post-title"),Object(p.createBlock)("core/post-content")];l({slug:"wp-custom-template-"+Object(d.kebabCase)(null!=n?n:r),content:Object(p.serialize)(o),title:null!=n?n:r}),t(!1)}},Object(r.createElement)(m.TextControl,{label:Object(f.__)("Name"),value:n,onChange:a}),Object(r.createElement)(m.Flex,{className:"edit-post-post-template__modal-actions",justify:"flex-end"},Object(r.createElement)(m.FlexItem,null,Object(r.createElement)(m.Button,{isSecondary:!0,onClick:()=>{t(!1),a("")}},Object(f.__)("Cancel"))),Object(r.createElement)(m.FlexItem,null,Object(r.createElement)(m.Button,{isPrimary:!0,type:"submit"},Object(f.__)("Create"))))))):null};var Es=function(){const{isEnabled:e,isOpened:t,selectedTemplate:n,availableTemplates:a,isViewable:c,template:s,supportsTemplateMode:l}=Object(b.useSelect)(e=>{var t,n;const{isEditorPanelEnabled:r,isEditorPanelOpened:a,getEditedPostTemplate:c}=e(w.a),{getEditedPostAttribute:s,getEditorSettings:l,getCurrentPostType:u}=e(i.store),{getPostType:d}=e(o.store),p=null!==(t=null===(n=d(u()))||void 0===n?void 0:n.viewable)&&void 0!==t&&t,m=e(i.store).getEditorSettings().supportsTemplateMode&&p;return{isEnabled:r("template"),isOpened:a("template"),selectedTemplate:s("template"),availableTemplates:l().availableTemplates,template:m&&c(),isViewable:p,supportsTemplateMode:m}},[]),{toggleEditorPanelOpened:u}=Object(b.useDispatch)(w.a),{editPost:p}=Object(b.useDispatch)(i.store);if(!e||!c||Object(d.isEmpty)(a)&&!l)return null;const v=Object(d.partial)(u,"template");let h=Object(f.__)("Template");var g;return s&&(h=Object(f.sprintf)(Object(f.__)("Template: %s"),null!==(g=null==s?void 0:s.title)&&void 0!==g?g:s.slug)),Object(r.createElement)(m.PanelBody,{title:h,opened:t,onToggle:v},Object(r.createElement)(m.SelectControl,{hideLabelFromVision:!0,label:Object(f.__)("Template:"),value:n,onChange:e=>{p({template:e||""})},options:Object(d.map)(a,(e,t)=>({value:t,label:e}))}),Object(r.createElement)(js,null))},_s=n("iClF"),ws=n("Civd");var Ss=function(){const e=Object(b.useSelect)(e=>{const{getEditedPostTemplate:t}=e(w.a);return t()},[]);return e?Object(r.createElement)(m.PanelBody,null,Object(r.createElement)(m.Flex,{align:"flex-start"},Object(r.createElement)(m.FlexItem,null,Object(r.createElement)(_s.a,{icon:ws.a})),Object(r.createElement)(m.FlexBlock,null,Object(r.createElement)("h2",{className:"edit-post-template-summary__title"},(null==e?void 0:e.title)||(null==e?void 0:e.slug)),Object(r.createElement)("p",null,null==e?void 0:e.description)))):null};const xs=r.Platform.select({web:!0,native:!1});var Ps=()=>{const{sidebarName:e,keyboardShortcut:t,isTemplateMode:n}=Object(b.useSelect)(e=>{let t=e(B.g).getActiveComplementaryArea(w.a.name);["edit-post/document","edit-post/block"].includes(t)||(e(a.store).getBlockSelectionStart()&&(t="edit-post/block"),t="edit-post/document");return{sidebarName:t,keyboardShortcut:e(N.store).getShortcutRepresentation("core/edit-post/toggle-sidebar"),isTemplateMode:e(w.a).isEditingTemplate()}},[]);return Object(r.createElement)(ys,{identifier:e,header:Object(r.createElement)(zc,{sidebarName:e}),closeLabel:Object(f.__)("Close settings"),headerClassName:"edit-post-sidebar__panel-tabs",title:Object(f.__)("Settings"),toggleShortcut:t,icon:Hc.a,isActiveByDefault:xs},!n&&"edit-post/document"===e&&Object(r.createElement)(r.Fragment,null,Object(r.createElement)(rs,null),Object(r.createElement)(Es,null),Object(r.createElement)(Os.a.Slot,null),Object(r.createElement)(os,null),Object(r.createElement)(ds,null),Object(r.createElement)(is,null),Object(r.createElement)(ls,null),Object(r.createElement)(us,null),Object(r.createElement)(ps,null),Object(r.createElement)(ms,null),Object(r.createElement)(gs,{location:"side"})),n&&"edit-post/document"===e&&Object(r.createElement)(Ss,null),"edit-post/block"===e&&Object(r.createElement)(a.BlockInspector,null))};function Ts({nonAnimatedSrc:e,animatedSrc:t}){return Object(r.createElement)("picture",{className:"edit-post-welcome-guide__image"},Object(r.createElement)("source",{srcSet:e,media:"(prefers-reduced-motion: reduce)"}),Object(r.createElement)("img",{src:t,width:"312",height:"240",alt:""}))}function ks(){const{toggleFeature:e}=Object(b.useDispatch)(w.a);return Object(r.createElement)(m.Guide,{className:"edit-post-welcome-guide",contentLabel:Object(f.__)("Welcome to the block editor"),finishButtonText:Object(f.__)("Get started"),onFinish:()=>e("welcomeGuide"),pages:[{image:Object(r.createElement)(Ts,{nonAnimatedSrc:"https://s.w.org/images/block-editor/welcome-canvas.svg",animatedSrc:"https://s.w.org/images/block-editor/welcome-canvas.gif"}),content:Object(r.createElement)(r.Fragment,null,Object(r.createElement)("h1",{className:"edit-post-welcome-guide__heading"},Object(f.__)("Welcome to the block editor")),Object(r.createElement)("p",{className:"edit-post-welcome-guide__text"},Object(f.__)("In the WordPress editor, each paragraph, image, or video is presented as a distinct “block” of content.")))},{image:Object(r.createElement)(Ts,{nonAnimatedSrc:"https://s.w.org/images/block-editor/welcome-editor.svg",animatedSrc:"https://s.w.org/images/block-editor/welcome-editor.gif"}),content:Object(r.createElement)(r.Fragment,null,Object(r.createElement)("h1",{className:"edit-post-welcome-guide__heading"},Object(f.__)("Make each block your own")),Object(r.createElement)("p",{className:"edit-post-welcome-guide__text"},Object(f.__)("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(r.createElement)(Ts,{nonAnimatedSrc:"https://s.w.org/images/block-editor/welcome-library.svg",animatedSrc:"https://s.w.org/images/block-editor/welcome-library.gif"}),content:Object(r.createElement)(r.Fragment,null,Object(r.createElement)("h1",{className:"edit-post-welcome-guide__heading"},Object(f.__)("Get to know the block library")),Object(r.createElement)("p",{className:"edit-post-welcome-guide__text"},Object(r.createInterpolateElement)(Object(f.__)("All of the blocks available to you live in the block library. You’ll find it wherever you see the <InserterIconImage /> icon."),{InserterIconImage:Object(r.createElement)("img",{alt:Object(f.__)("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(r.createElement)(Ts,{nonAnimatedSrc:"https://s.w.org/images/block-editor/welcome-documentation.svg",animatedSrc:"https://s.w.org/images/block-editor/welcome-documentation.gif"}),content:Object(r.createElement)(r.Fragment,null,Object(r.createElement)("h1",{className:"edit-post-welcome-guide__heading"},Object(f.__)("Learn how to use the block editor")),Object(r.createElement)("p",{className:"edit-post-welcome-guide__text"},Object(f.__)("New to the block editor? Want to learn more about using it? "),Object(r.createElement)(m.ExternalLink,{href:Object(f.__)("https://wordpress.org/support/article/wordpress-editor/")},Object(f.__)("Here's a detailed guide."))))}]})}function Cs(){const{toggleFeature:e}=Object(b.useDispatch)(w.a);return Object(r.createElement)(m.Guide,{className:"edit-post-welcome-guide",contentLabel:Object(f.__)("Welcome to the template editor"),finishButtonText:Object(f.__)("Get started"),onFinish:()=>e("welcomeGuideTemplate"),pages:[{image:Object(r.createElement)(Ts,{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(r.createElement)(r.Fragment,null,Object(r.createElement)("h1",{className:"edit-post-welcome-guide__heading"},Object(f.__)("Welcome to the template editor")),Object(r.createElement)("p",{className:"edit-post-welcome-guide__text"},Object(f.__)("Templates express the layout of the site. Customize all aspects of your posts and pages using the tools of blocks and patterns.")))}]})}function As(){const{isActive:e,isTemplateMode:t}=Object(b.useSelect)(e=>{const{isFeatureActive:t,isEditingTemplate:n}=e(w.a),r=n();return{isActive:t(r?"welcomeGuideTemplate":"welcomeGuide"),isTemplateMode:r}},[]);return e?t?Object(r.createElement)(Cs,null):Object(r.createElement)(ks,null):null}const{Fill:Ms,Slot:Is}=Object(m.createSlotFill)("PluginPostPublishPanel"),Ls=Object(v.compose)(Object(y.withPluginContext)((e,t)=>({icon:t.icon||e.icon})))(({children:e,className:t,title:n,initialOpen:o=!1,icon:a})=>Object(r.createElement)(Ms,null,Object(r.createElement)(m.PanelBody,{className:t,initialOpen:o||!n,title:n,icon:a},e)));Ls.Slot=Is;var Bs=Ls;const{Fill:Ns,Slot:Rs}=Object(m.createSlotFill)("PluginPrePublishPanel"),Ds=Object(v.compose)(Object(y.withPluginContext)((e,t)=>({icon:t.icon||e.icon})))(({children:e,className:t,title:n,initialOpen:o=!1,icon:a})=>Object(r.createElement)(Ns,null,Object(r.createElement)(m.PanelBody,{className:t,initialOpen:o||!n,title:n,icon:a},e)));Ds.Slot=Rs;var Vs=Ds;const{Fill:Fs,Slot:Us}=Object(m.createSlotFill)("ActionsPanel");function Gs({setEntitiesSavedStatesCallback:e,closeEntitiesSavedStates:t,isEntitiesSavedStatesOpen:n}){const{closePublishSidebar:o,togglePublishSidebar:a}=Object(b.useDispatch)(w.a),{publishSidebarOpened:c,hasActiveMetaboxes:s,isSavingMetaBoxes:l,hasNonPostEntityChanges:u}=Object(b.useSelect)(e=>({publishSidebarOpened:e(w.a).isPublishSidebarOpened(),hasActiveMetaboxes:e(w.a).hasMetaBoxes(),isSavingMetaBoxes:e(w.a).isSavingMetaBoxes(),hasNonPostEntityChanges:e("core/editor").hasNonPostEntityChanges()}),[]),d=Object(r.useCallback)(()=>e(!0),[]);let p;return p=c?Object(r.createElement)(i.PostPublishPanel,{onClose:o,forceIsDirty:s,forceIsSaving:l,PrePublishExtension:Vs.Slot,PostPublishExtension:Bs.Slot}):u?Object(r.createElement)("div",{className:"edit-post-layout__toggle-entities-saved-states-panel"},Object(r.createElement)(m.Button,{isSecondary:!0,className:"edit-post-layout__toggle-entities-saved-states-panel-button",onClick:d,"aria-expanded":!1},Object(f.__)("Open save panel"))):Object(r.createElement)("div",{className:"edit-post-layout__toggle-publish-panel"},Object(r.createElement)(m.Button,{isSecondary:!0,className:"edit-post-layout__toggle-publish-panel-button",onClick:a,"aria-expanded":!1},Object(f.__)("Open publish panel"))),Object(r.createElement)(r.Fragment,null,n&&Object(r.createElement)(i.EntitiesSavedStates,{close:t}),Object(r.createElement)(Us,{bubblesVirtually:!0}),!n&&p)}const Hs={secondarySidebar:Object(f.__)("Block library"),header:Object(f.__)("Editor top bar"),body:Object(f.__)("Editor content"),sidebar:Object(f.__)("Editor settings"),actions:Object(f.__)("Editor publish"),footer:Object(f.__)("Editor footer")};var zs=function({styles:e}){const t=Object(v.useViewportMatch)("medium","<"),n=Object(v.useViewportMatch)("huge",">="),{openGeneralSidebar:o,closeGeneralSidebar:c,setIsInserterOpened:s}=Object(b.useDispatch)(w.a),{mode:l,isFullscreenActive:u,isRichEditingEnabled:d,sidebarIsOpened:p,hasActiveMetaboxes:h,hasFixedToolbar:g,previousShortcut:O,nextShortcut:j,hasBlockSelected:E,isInserterOpened:_,isListViewOpened:S,showIconLabels:x,hasReducedUI:P,showBlockBreadcrumbs:T,isTemplateMode:k}=Object(b.useSelect)(e=>{const t=e(i.store).getEditorSettings();return{isTemplateMode:e(w.a).isEditingTemplate(),hasFixedToolbar:e(w.a).isFeatureActive("fixedToolbar"),sidebarIsOpened:!(!e(B.g).getActiveComplementaryArea(w.a.name)&&!e(w.a).isPublishSidebarOpened()),isFullscreenActive:e(w.a).isFeatureActive("fullscreenMode"),isInserterOpened:e(w.a).isInserterOpened(),isListViewOpened:e(w.a).isListViewOpened(),mode:e(w.a).getEditorMode(),isRichEditingEnabled:t.richEditingEnabled,hasActiveMetaboxes:e(w.a).hasMetaBoxes(),previousShortcut:e(N.store).getAllShortcutRawKeyCombinations("core/edit-post/previous-region"),nextShortcut:e(N.store).getAllShortcutRawKeyCombinations("core/edit-post/next-region"),showIconLabels:e(w.a).isFeatureActive("showIconLabels"),hasReducedUI:e(w.a).isFeatureActive("reducedUI"),showBlockBreadcrumbs:e(w.a).isFeatureActive("showBlockBreadcrumbs")}},[]),C=L()("edit-post-layout","is-mode-"+l,{"is-sidebar-opened":p,"has-fixed-toolbar":g,"has-metaboxes":h,"show-icon-labels":x});Object(r.useEffect)(()=>{p&&!n&&s(!1)},[p,n]),Object(r.useEffect)(()=>{_&&!n&&c()},[_,n]);const[A,M]=Object(r.useState)(!1),I=Object(r.useCallback)(e=>{"function"==typeof A&&A(e),M(!1)},[A]);return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(B.d,{isActive:u}),Object(r.createElement)(dc,null),Object(r.createElement)(i.UnsavedChangesWarning,null),Object(r.createElement)(i.AutosaveMonitor,null),Object(r.createElement)(i.LocalAutosaveMonitor,null),Object(r.createElement)(qi,null),Object(r.createElement)(i.EditorKeyboardShortcutsRegister,null),Object(r.createElement)(Ps,null),Object(r.createElement)(B.e,{className:C,labels:Hs,header:Object(r.createElement)(Dc,{setEntitiesSavedStatesCallback:M}),secondarySidebar:"visual"===l&&_?Object(r.createElement)(Fc,null):"visual"===l&&S?Object(r.createElement)(b.AsyncModeProvider,{value:"true"},Object(r.createElement)(Gc,null)):null,sidebar:(!t||p)&&Object(r.createElement)(r.Fragment,null,!t&&!p&&Object(r.createElement)("div",{className:"edit-post-layout__toggle-sidebar-panel"},Object(r.createElement)(m.Button,{isSecondary:!0,className:"edit-post-layout__toggle-sidebar-panel-button",onClick:()=>o(E?"edit-post/block":"edit-post/document"),"aria-expanded":!1},E?Object(f.__)("Open block settings"):Object(f.__)("Open document settings"))),Object(r.createElement)(B.b.Slot,{scope:"core/edit-post"})),content:Object(r.createElement)(r.Fragment,null,Object(r.createElement)(i.EditorNotices,null),("text"===l||!d)&&Object(r.createElement)(R,null),d&&"visual"===l&&Object(r.createElement)(zi,{styles:e}),!k&&Object(r.createElement)("div",{className:"edit-post-layout__metaboxes"},Object(r.createElement)(gs,{location:"normal"}),Object(r.createElement)(gs,{location:"advanced"})),t&&p&&Object(r.createElement)(m.ScrollLock,null)),footer:!P&&T&&!t&&d&&"visual"===l&&Object(r.createElement)("div",{className:"edit-post-layout__footer"},Object(r.createElement)(a.BlockBreadcrumb,null)),actions:Object(r.createElement)(Gs,{closeEntitiesSavedStates:I,isEntitiesSavedStatesOpen:A,setEntitiesSavedStatesCallback:M}),shortcuts:{previous:O,next:j}}),Object(r.createElement)(ac,null),Object(r.createElement)(lc,null),Object(r.createElement)(ec,null),Object(r.createElement)(As,null),Object(r.createElement)(m.Popover.Slot,null),Object(r.createElement)(y.PluginArea,null))},qs=n("0dt7");function Ws({postId:e}){return(e=>{const{hasBlockSelection:t,isEditorSidebarOpened:n}=Object(b.useSelect)(e=>({hasBlockSelection:!!e("core/block-editor").getBlockSelectionStart(),isEditorSidebarOpened:e(qs.a).isEditorSidebarOpened()}),[e]),{openGeneralSidebar:o}=Object(b.useDispatch)(qs.a);Object(r.useEffect)(()=>{n&&o(t?"edit-post/block":"edit-post/document")},[t,n])})(e),(e=>{const{newPermalink:t}=Object(b.useSelect)(e=>({newPermalink:e("core/editor").getCurrentPost().link}),[e]),n=Object(r.useRef)();Object(r.useEffect)(()=>{n.current=document.querySelector(qs.c)||document.querySelector(qs.b)},[e]),Object(r.useEffect)(()=>{t&&n.current&&n.current.setAttribute("href",t)},[t])})(e),null}var Ys=function({postId:e,postType:t,settings:n,initialEdits:o,onError:a,...c}){const{hasFixedToolbar:s,focusMode:l,hasReducedUI:f,hasThemeStyles:v,post:h,preferredStyleVariations:g,hiddenBlockTypes:O,blockTypes:y,__experimentalLocalAutosaveInterval:j,keepCaretInsideBlock:E,isTemplateMode:_,template:S}=Object(b.useSelect)(n=>{var r,o;const{isFeatureActive:a,getPreference:i,__experimentalGetPreviewDeviceType:c,isEditingTemplate:s,getEditedPostTemplate:l}=n(w.a),{getEntityRecord:u,getPostType:d,getEntityRecords:m}=n("core"),{getEditorSettings:b}=n("core/editor"),{getBlockTypes:f}=n(p.store);let v;if(["wp_template","wp_template_part"].includes(t)){const n=m("postType",t,{wp_id:e});v=null==n?void 0:n[0]}else v=u("postType",t,e);const h=b().supportsTemplateMode,g=null!==(r=null===(o=d(t))||void 0===o?void 0:o.viewable)&&void 0!==r&&r;return{hasFixedToolbar:a("fixedToolbar")||"Desktop"!==c(),focusMode:a("focusMode"),hasReducedUI:a("reducedUI"),hasThemeStyles:a("themeStyles"),preferredStyleVariations:i("preferredStyleVariations"),hiddenBlockTypes:i("hiddenBlockTypes"),blockTypes:f(),__experimentalLocalAutosaveInterval:i("localAutosaveInterval"),keepCaretInsideBlock:a("keepCaretInsideBlock"),isTemplateMode:s(),template:h&&g?l():null,post:v}}),{updatePreferredStyleVariations:x,setIsInserterOpened:P}=Object(b.useDispatch)(w.a),T=Object(r.useMemo)(()=>{const e={...Object(d.omit)(n,["styles"]),__experimentalPreferredStyleVariations:{value:g,onChange:x},hasFixedToolbar:s,focusMode:l,hasReducedUI:f,__experimentalLocalAutosaveInterval:j,__experimentalSetIsInserterOpened:P,keepCaretInsideBlock:E};if(Object(d.size)(O)>0){const t=!0===n.allowedBlockTypes?Object(d.map)(y,"name"):n.allowedBlockTypes||[];e.allowedBlockTypes=Object(d.without)(t,...O)}return e},[n,s,l,f,O,y,g,j,P,x,E]),k=Object(r.useMemo)(()=>v?n.styles:[],[n,v]);return h?Object(r.createElement)(r.StrictMode,null,Object(r.createElement)(nc.Provider,{value:n},Object(r.createElement)(m.SlotFillProvider,null,Object(r.createElement)(i.EditorProvider,Object(u.a)({settings:T,post:h,initialEdits:o,useSubRegistry:!1,__unstableTemplate:_?S:void 0},c),Object(r.createElement)(i.ErrorBoundary,{onError:a},Object(r.createElement)(Ws,{postId:e}),Object(r.createElement)(zs,{styles:k}),Object(r.createElement)(m.KeyboardShortcuts,{shortcuts:M})),Object(r.createElement)(i.PostLockedModal,null))))):null};const Xs=(e,t)=>{return!Array.isArray(t)||(n=e,r=t,0===Object(d.difference)(n,r).length);var n,r};var Ks=({allowedBlocks:e,icon:t,label:n,onClick:o,small:i,role:c})=>Object(r.createElement)(a.BlockSettingsMenuControls,null,({selectedBlocks:a,onClose:s})=>Xs(a,e)?Object(r.createElement)(m.MenuItem,{onClick:Object(v.compose)(o,s),icon:t,label:i?n:void 0,role:c},!i&&n):null),Zs=Object(v.compose)(Object(y.withPluginContext)((e,t)=>({icon:t.icon||e.icon,name:"core/edit-post/plugin-more-menu"})))(B.a);function Qs(e){return Object(r.createElement)(B.c,Object(u.a)({__unstableExplicitMenuItem:!0,scope:"core/edit-post"},e))}function $s(e,t,n,o,a){Object(r.unmountComponentAtNode)(n);const i=$s.bind(null,e,t,n,o,a);Object(r.render)(Object(r.createElement)(Ys,{settings:o,onError:i,postId:t,postType:e,initialEdits:a,recovery:!0}),n)}function Js(e,t,n,o,a){const i=document.getElementById(e),s=$s.bind(null,t,n,i,o,a);Object(c.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(r.render)(Object(r.createElement)(Ys,{settings:o,onError:s,postId:n,postType:t,initialEdits: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},iClF:function(e,t,n){"use strict";var r=n("GRId");t.a=function({icon:e,size:t=24,...n}){return Object(r.cloneElement)(e,{width:t,height:t,...n})}},jSdM:function(e,t){e.exports=window.wp.editor},jZUy:function(e,t){e.exports=window.wp.coreData},l3Sj:function(e,t){e.exports=window.wp.i18n},onLe:function(e,t){e.exports=window.wp.notices},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}},"tI+e":function(e,t){e.exports=window.wp.components},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},wduq: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:"-2 -2 24 24"},Object(r.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"}));t.a=a},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}))},xrib:function(e,t,n){"use strict";(function(e){var r=n("GRId"),o=n("tI+e"),a=n("K9lf"),i=n("TvNi"),c=n("1ZqX"),s=(n("Z23Y"),n("Y5n4")),l=n("T40v");const{Fill:u,Slot:d}=Object(o.createSlotFill)("PluginDocumentSettingPanel"),p=Object(a.compose)(Object(i.withPluginContext)((t,n)=>(void 0===n.name&&void 0!==e&&e.env,{icon:n.icon||t.icon,panelName:`${t.name}/${n.name}`})),Object(c.withSelect)((e,{panelName:t})=>({opened:e(l.a).isEditorPanelOpened(t),isEnabled:e(l.a).isEditorPanelEnabled(t)})),Object(c.withDispatch)((e,{panelName:t})=>({onToggle:()=>e(l.a).toggleEditorPanelOpened(t)})))(({isEnabled:e,panelName:t,opened:n,onToggle:a,className:i,title:c,icon:l,children:d})=>Object(r.createElement)(r.Fragment,null,Object(r.createElement)(s.d,{label:c,panelName:t}),Object(r.createElement)(u,null,e&&Object(r.createElement)(o.PanelBody,{className:i,title:c,icon:l,opened:n,onToggle:a},d))));p.Slot=d,t.a=p}).call(this,n("8oxB"))}}); \ No newline at end of file +***************************************************************************** */var ln=function(){return(ln=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 un(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;Object.create;var dn=function(e,t,n){return Math.min(Math.max(n,e),t)};function pn(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=dn(.05,1,d),o=dn(.01,10,o/1e3),d<1?(t=function(e){var t=e*d,n=t*o;return.001-(t-s)/mn(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=mn(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 p=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(p))return{stiffness:100,damping:10,duration:o};var m=Math.pow(p,2)*u;return{stiffness:m,damping:2*d*Math.sqrt(u*m),duration:o}}function mn(e,t){return e*Math.sqrt(1-t*t)}var bn=["duration","bounce"],fn=["stiffness","damping","mass"];function vn(e,t){return t.some((function(t){return void 0!==e[t]}))}function hn(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=un(e,["from","to","restSpeed","restDelta"]),l={done:!1,value:n},u=function(e){var t=ln({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!vn(e,fn)&&vn(e,bn)){var n=pn(e);(t=ln(ln(ln({},t),n),{velocity:0,mass:1})).isResolvedFromDuration=!0}return t}(s),d=u.stiffness,p=u.damping,m=u.mass,b=u.velocity,f=u.duration,v=u.isResolvedFromDuration,h=gn,g=gn;function O(){var e=b?-b/1e3:0,t=o-n,r=p/(2*Math.sqrt(d*m)),a=Math.sqrt(d/m)/1e3;if(null!=c||(c=Math.abs(o-n)<=1?.01:.4),r<1){var i=mn(a,r);h=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)h=function(n){return o-Math.exp(-a*n)*(t+(e+a*t)*n)};else{var s=a*Math.sqrt(r*r-1);h=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 O(),{next:function(e){var t=h(e);if(v)l.done=e>=f;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],O()}}}hn.needsInterpolation=function(e,t){return"string"==typeof e||"string"==typeof t};var gn=function(e){return 0},On=function(e,t,n){var r=t-e;return 0===r?1:(n-e)/r},yn=function(e,t,n){return-n*e+n*t+e},jn=function(e,t){return function(n){return Boolean(Ge(n)&&Ue.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t))}},En=function(e,t,n){return function(r){var o;if(!Ge(r))return r;var a=r.match(Ve),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}},_n=Re(0,255),wn=Ne(Ne({},Ze),{transform:function(e){return Math.round(_n(e))}}),Sn={test:jn("rgb","red"),parse:En("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("+wn.transform(t)+", "+wn.transform(n)+", "+wn.transform(r)+", "+De(Qe.transform(a))+")"}};var xn={test:jn("#"),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:Sn.transform},Pn={test:jn("hsl","hue"),parse:En("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)+", "+qe.transform(De(n))+", "+qe.transform(De(r))+", "+De(Qe.transform(a))+")"}},Tn=function(e,t,n){var r=e*e,o=t*t;return Math.sqrt(Math.max(0,n*(o-r)+r))},kn=[xn,Sn,Pn],Cn=function(e){return kn.find((function(t){return t.test(e)}))},An=function(e){return"'"+e+"' is not an animatable color. Use the equivalent color code instead."},Mn=function(e,t){var n=Cn(e),r=Cn(t);An(e),An(t),n.transform,r.transform;var o=n.parse(e),a=r.parse(t),i=ln({},o),c=n===Pn?yn:Tn;return function(e){for(var t in i)"alpha"!==t&&(i[t]=c(o[t],a[t],e));return i.alpha=yn(o.alpha,a.alpha,e),n.transform(i)}},In={test:function(e){return Sn.test(e)||xn.test(e)||Pn.test(e)},parse:function(e){return Sn.test(e)?Sn.parse(e):Pn.test(e)?Pn.parse(e):xn.parse(e)},transform:function(e){return Ge(e)?e:e.hasOwnProperty("red")?Sn.transform(e):Pn.transform(e)}};function Ln(e){var t=[],n=0,r=e.match(Fe);r&&(n=r.length,e=e.replace(Fe,"${c}"),t.push.apply(t,r.map(In.parse)));var o=e.match(Ve);return o&&(e=e.replace(Ve,"${n}"),t.push.apply(t,o.map(Ze.parse))),{values:t,numColors:n,tokenised:e}}function Bn(e){return Ln(e).values}function Nn(e){var t=Ln(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?In.transform(e[n]):De(e[n]));return t}}var Rn=function(e){return"number"==typeof e?0:e};var Dn={test:function(e){var t,n,r,o;return isNaN(e)&&Ge(e)&&(null!==(n=null===(t=e.match(Ve))||void 0===t?void 0:t.length)&&void 0!==n?n:0)+(null!==(o=null===(r=e.match(Fe))||void 0===r?void 0:r.length)&&void 0!==o?o:0)>0},parse:Bn,createTransformer:Nn,getAnimatableNone:function(e){var t=Bn(e);return Nn(e)(t.map(Rn))}},Vn=function(e){return"number"==typeof e};function Fn(e,t){return Vn(e)?function(n){return yn(e,t,n)}:In.test(e)?Mn(e,t):zn(e,t)}var Un=function(e,t){var n=function(e,t){for(var n=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];return e}([],e),r=n.length,o=e.map((function(e,n){return Fn(e,t[n])}));return function(e){for(var t=0;t<r;t++)n[t]=o[t](e);return n}},Gn=function(e,t){var n=ln(ln({},e),t),r={};for(var o in n)void 0!==e[o]&&void 0!==t[o]&&(r[o]=Fn(e[o],t[o]));return function(e){for(var t in r)n[t]=r[t](e);return n}};function Hn(e){for(var t=Dn.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 zn=function(e,t){var n=Dn.createTransformer(t),r=Hn(e),o=Hn(t);return r.numHSL===o.numHSL&&r.numRGB===o.numRGB&&(r.numNumbers,o.numNumbers),on(Un(r.parsed,o.parsed),n)},qn=function(e,t){return function(n){return yn(e,t,n)}};function Wn(e,t,n){for(var r,o=[],a=n||("number"==typeof(r=e[0])?qn:"string"==typeof r?In.test(r)?Mn:zn:Array.isArray(r)?Un:"object"==typeof r?Gn: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=on(l,s)}o.push(s)}return o}function Yn(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=Wn(t,i,c),u=2===s?function(e,t){var n=e[0],r=e[1],o=t[0];return function(e){return o(On(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=On(e[a],e[a+1],o);return t[a](s)}}(e,l);return a?function(t){return u(dn(e[0],e[s-1],t))}:u}var Xn,Kn=function(e){return function(t){return 1-e(1-t)}},Zn=function(e){return function(t){return t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2}},Qn=function(e){return function(t){return t*t*((e+1)*t-e)}},$n=function(e){return e},Jn=(Xn=2,function(e){return Math.pow(e,Xn)}),er=Kn(Jn),tr=Zn(Jn),nr=function(e){return 1-Math.sin(Math.acos(e))},rr=Kn(nr),or=Zn(rr),ar=Qn(1.525),ir=Kn(ar),cr=Zn(ar),sr=function(e){var t=Qn(e);return function(e){return(e*=2)<1?.5*t(e):.5*(2-Math.pow(2,-10*(e-1)))}}(1.525),lr=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},ur=Kn(lr);function dr(e,t){return e.map((function(){return t||tr})).splice(0,e.length-1)}function pr(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 p(){return Yn(d,u,{ease:Array.isArray(a)?a:dr(u,a)})}var m=p();return{next:function(e){return l.value=m(e),l.done=e>=s,l},flipTarget:function(){u.reverse(),m=p()}}}var mr={keyframes:pr,spring:hn,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,p={done:!1,value:o},m=i*n,b=o+m,f=void 0===d?b:d(b);return f!==b&&(m=f-o),{next:function(e){var t=-m*Math.exp(-e/s);return p.done=!(t>u||t<-u),p.value=p.done?f:f+t,p},flipTarget:function(){}}}};var br="undefined"!=typeof performance?function(){return performance.now()}:function(){return Date.now()},fr="undefined"!=typeof window?function(e){return window.requestAnimationFrame(e)}:function(e){return setTimeout((function(){return e(br())}),1/60*1e3)};var vr=!0,hr=!1,gr=!1,Or={delta:0,timestamp:0},yr=["read","update","preRender","render","postRender"],jr=yr.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 hr=!0})),e}),{}),Er=yr.reduce((function(e,t){var n=jr[t];return e[t]=function(e,t,r){return void 0===t&&(t=!1),void 0===r&&(r=!1),hr||Pr(),n.schedule(e,t,r)},e}),{}),_r=yr.reduce((function(e,t){return e[t]=jr[t].cancel,e}),{}),wr=yr.reduce((function(e,t){return e[t]=function(){return jr[t].process(Or)},e}),{}),Sr=function(e){return jr[e].process(Or)},xr=function(e){hr=!1,Or.delta=vr?1/60*1e3:Math.max(Math.min(e-Or.timestamp,40),1),Or.timestamp=e,gr=!0,yr.forEach(Sr),gr=!1,hr&&(vr=!1,fr(xr))},Pr=function(){hr=!0,vr=!0,gr||fr(xr)},Tr=function(){return Or},kr=Er;function Cr(e,t,n){return void 0===n&&(n=0),e-t-n}var Ar=function(e){var t=function(t){var n=t.delta;return e(n)};return{start:function(){return kr.update(t,!0)},stop:function(){return _r.update(t)}}};function Mr(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?Ar:l,d=e.elapsed,p=void 0===d?0:d,m=e.repeat,b=void 0===m?0:m,f=e.repeatType,v=void 0===f?"loop":f,h=e.repeatDelay,g=void 0===h?0:h,O=e.onPlay,y=e.onStop,j=e.onComplete,E=e.onRepeat,_=e.onUpdate,w=un(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]),S=w.to,x=0,P=w.duration,T=!1,k=!0,C=function(e){if(Array.isArray(e.to))return pr;if(mr[e.type])return mr[e.type];var t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?pr:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?hn:pr}(w);(null===(n=(t=C).needsInterpolation)||void 0===n?void 0:n.call(t,i,S))&&(a=Yn([0,100],[i,S],{clamp:!1}),i=0,S=100);var A=C(ln(ln({},w),{from:i,to:S}));function M(){x++,"reverse"===v?p=function(e,t,n,r){return void 0===n&&(n=0),void 0===r&&(r=!0),r?Cr(t+-e,t,n):t-(e-t)+n}(p,P,g,k=x%2==0):(p=Cr(p,P,g),"mirror"===v&&A.flipTarget()),T=!1,E&&E()}function I(e){if(k||(e=-e),p+=e,!T){var t=A.next(Math.max(0,p));o=t.value,a&&(o=a(o)),T=k?t.done:p<=0}null==_||_(o),T&&(0===x&&(null!=P||(P=p)),x<b?function(e,t,n,r){return r?e>=t+n:e<=-n}(p,P,g,k)&&M():(r.stop(),j&&j()))}return s&&(null==O||O(),(r=u(I)).start()),{stop:function(){null==y||y(),r.stop()}}}function Ir(e,t){return t?e*(1e3/t):0}var Lr=function(e){return 1e3*e},Br=function(e,t){return 1-3*t+3*e},Nr=function(e,t){return 3*t-6*e},Rr=function(e){return 3*e},Dr=function(e,t,n){return((Br(t,n)*e+Nr(t,n))*e+Rr(t))*e},Vr=function(e,t,n){return 3*Br(t,n)*e*e+2*Nr(t,n)*e+Rr(t)};function Fr(e,t,n,r){if(e===t&&n===r)return $n;for(var o=new Float32Array(11),a=0;a<11;++a)o[a]=Dr(.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=Vr(i,e,n);return c>=.001?function(e,t,n,r){for(var o=0;o<8;++o){var a=Vr(t,n,r);if(0===a)return t;t-=(Dr(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=Dr(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:Dr(i(e),t,r)}}var Ur={linear:$n,easeIn:Jn,easeInOut:tr,easeOut:er,circIn:nr,circInOut:or,circOut:rr,backIn:ar,backInOut:cr,backOut:ir,anticipate:sr,bounceIn:ur,bounceInOut:function(e){return e<.5?.5*(1-lr(1-2*e)):.5*lr(2*e-1)+.5},bounceOut:lr},Gr=function(e){if(Array.isArray(e)){e.length;var t=G(e,4);return Fr(t[0],t[1],t[2],t[3])}return"string"==typeof e?Ur[e]:e},Hr=function(e,t){return"zIndex"!==e&&(!("number"!=typeof t&&!Array.isArray(t))||!("string"!=typeof t||!Dn.test(t)||t.startsWith("url(")))},zr=function(){return{type:"spring",stiffness:500,damping:25,restDelta:.5,restSpeed:10}},qr=function(e){return{type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restDelta:.01,restSpeed:10}},Wr=function(){return{type:"keyframes",ease:"linear",duration:.3}},Yr=function(e){return{type:"keyframes",duration:.8,values:e}},Xr={x:zr,y:zr,z:zr,rotate:zr,rotateX:zr,rotateY:zr,rotateZ:zr,scaleX:qr,scaleY:qr,scale:qr,opacity:Wr,backgroundColor:Wr,color:Wr,default:qr},Kr=new Set(["brightness","contrast","saturate","opacity"]);function Zr(e){var t=e.slice(0,-1).split("("),n=t[0],r=t[1];if("drop-shadow"===n)return e;var o=(r.match(Ve)||[])[0];if(!o)return e;var a=r.replace(o,""),i=Kr.has(n)?1:0;return o!==r&&(i*=100),n+"("+i+a+")"}var Qr=/([a-z-]*)\(.*?\)/g,$r=Ne(Ne({},Dn),{getAnimatableNone:function(e){var t=e.match(Qr);return t?t.map(Zr).join(" "):e}}),Jr=F(F({},et),{color:In,backgroundColor:In,outlineColor:In,fill:In,stroke:In,borderColor:In,borderTopColor:In,borderRightColor:In,borderBottomColor:In,borderLeftColor:In,filter:$r,WebkitFilter:$r}),eo=function(e){return Jr[e]};function to(e,t){var n,r=eo(e);return r!==$r&&(r=Dn),null===(n=r.getAnimatableNone)||void 0===n?void 0:n.call(r,t)}function no(e){var t=e.ease,n=e.times,r=e.yoyo,o=e.flip,a=e.loop,i=U(e,["ease","times","yoyo","flip","loop"]),c=F({},i);return n&&(c.offset=n),i.duration&&(c.duration=Lr(i.duration)),i.repeatDelay&&(c.repeatDelay=Lr(i.repeatDelay)),t&&(c.ease=function(e){return Array.isArray(e)&&"number"!=typeof e[0]}(t)?t.map(Gr):Gr(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 ro(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=H([],G(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=U(e,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(t).length}(e)||(e=F(F({},e),(o=n,a=t.to,i=xt(a)?Yr:Xr[o]||Xr.default,F({to:a},i(a))))),F(F({},t),no(e))}function oo(e,t,n,r,o){var a,i=co(r,e),c=null!==(a=i.from)&&void 0!==a?a:t.get(),s=Hr(e,n);"none"===c&&s&&"string"==typeof n?c=to(e,n):ao(c)&&"string"==typeof n?c=io(n):!Array.isArray(n)&&ao(n)&&"string"==typeof c&&(n=io(c));var l=Hr(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,p=e.bounceStiffness,m=void 0===p?500:p,b=e.bounceDamping,f=void 0===b?10:b,v=e.restDelta,h=void 0===v?1:v,g=e.modifyTarget,O=e.driver,y=e.onUpdate,j=e.onComplete;function E(e){return void 0!==i&&e<i||void 0!==c&&e>c}function _(e){return void 0===i?c:void 0===c||Math.abs(i-e)<Math.abs(c-e)?i:c}function w(e){null==t||t.stop(),t=Mr(ln(ln({},e),{driver:O,onUpdate:function(t){var n;null==y||y(t),null===(n=e.onUpdate)||void 0===n||n.call(e,t)},onComplete:j}))}function S(e){w(ln({type:"spring",stiffness:m,damping:f,restDelta:h},e))}if(E(r))S({from:r,velocity:a,to:_(r)});else{var x=l*a+r;void 0!==g&&(x=g(x));var P,T,k=_(x),C=k===i?-1:1;w({type:"decay",from:r,velocity:a,timeConstant:d,power:l,restDelta:h,modifyTarget:g,onUpdate:E(x)?function(e){P=T,T=e,a=Ir(e-P,Tr().delta),(1===C&&e>k||-1===C&&e<k)&&S({from:e,to:k,velocity:a})}:void 0})}return{stop:function(){return null==t?void 0:t.stop()}}}(F(F({},r),i)):Mr(F(F({},ro(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 ao(e){return 0===e||"string"==typeof e&&0===parseFloat(e)&&-1===e.indexOf(" ")}function io(e){return"number"==typeof e?0:to("",e)}function co(e,t){return e[t]||e.default||e}function so(e,t,n,r){return void 0===r&&(r={}),t.start((function(o){var a,i,c=oo(e,t,n,r,o),s=function(e,t){var n;return null!==(n=(co(e,t)||{}).delay)&&void 0!==n?n:0}(r,e),l=function(){return i=c()};return s?a=setTimeout(l,Lr(s)):l(),function(){clearTimeout(a),null==i||i.stop()}}))}function lo(e,t){-1===e.indexOf(t)&&e.push(t)}function uo(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var po=function(){function e(){this.subscriptions=[]}return e.prototype.add=function(e){var t=this;return lo(this.subscriptions,e),function(){return uo(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}(),mo=function(){function e(e){var t,n=this;this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new po,this.velocityUpdateSubscribers=new po,this.renderSubscribers=new po,this.canTrackVelocity=!1,this.updateAndNotify=function(e,t){void 0===t&&(t=!0),n.prev=n.current,n.current=e;var r=Tr(),o=r.delta,a=r.timestamp;n.lastUpdated!==a&&(n.timeDelta=o,n.lastUpdated=a,kr.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 kr.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?Ir(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 bo(e){return new mo(e)}var fo=function(e){return function(t){return t.test(e)}},vo=[Ze,We,qe,ze,Xe,Ye,{test:function(e){return"auto"===e},parse:function(e){return e}}],ho=function(e){return vo.find(fo(e))},go=H(H([],G(vo)),[In,Dn]),Oo=function(e){return go.find(fo(e))};function yo(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,bo(n))}function jo(e,t){var n=be(e,t),r=n?e.makeTargetAnimatable(n,!1):{},o=r.transitionEnd,a=void 0===o?{}:o;r.transition;var i,c=U(r,["transitionEnd","transition"]);for(var s in c=F(F({},c),a)){yo(e,s,(i=c[s],xt(i)?i[i.length-1]||0:i))}}function Eo(e,t){if(t)return(t[e]||t.default||t).from}function _o(e,t,n){var r;void 0===n&&(n={});var o=be(e,t,n.custom),a=(o||{}).transition,i=void 0===a?e.getDefaultTransition()||{}:a;n.transitionOverride&&(i=n.transitionOverride);var c=o?function(){return wo(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(So).forEach((function(e,r){i.push(_o(e,t,F(F({},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=G("beforeChildren"===l?[c,s]:[s,c],2),d=u[0],p=u[1];return d().then(p)}return Promise.all([c(),s(n.delay)])}function wo(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,p=l.transitionEnd,m=U(l,["transition","transitionEnd"]);c&&(d=c);var b=[],f=s&&(null===(r=e.animationState)||void 0===r?void 0:r.getState()[s]);for(var v in m){var h=e.getValue(v),g=m[v];if(!(!h||void 0===g||f&&xo(f,v))){var O=so(v,h,g,F({delay:i},d));b.push(O)}}return Promise.all(b).then((function(){p&&jo(e,p)}))}function So(e,t){return e.sortNodePosition(t)}function xo(e,t){var n=e.protectedKeys,r=e.needsAnimating,o=n.hasOwnProperty(t)&&!0!==r[t];return r[t]=!1,o}var Po=[Mt.Animate,Mt.Hover,Mt.Tap,Mt.Drag,Mt.Focus,Mt.Exit],To=H([],G(Po)).reverse(),ko=Po.length;function Co(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 _o(e,t,n)}));r=Promise.all(o)}else if("string"==typeof t)r=_o(e,t,n);else{var a="function"==typeof t?be(e,t,n.custom):t;r=wo(e,a,n)}return r.then((function(){return e.notifyAnimationComplete(t)}))}(e,n,r)})))}}function Ao(e){var t,n=Co(e),r=((t={})[Mt.Animate]=Mo(!0),t[Mt.Hover]=Mo(),t[Mt.Tap]=Mo(),t[Mt.Drag]=Mo(),t[Mt.Focus]=Mo(),t[Mt.Exit]=Mo(),t),o={},a=!0,i=function(t,n){var r=be(e,n);if(r){r.transition;var o=r.transitionEnd,a=U(r,["transition","transitionEnd"]);t=F(F(F({},t),a),o)}return t};function c(t,c){for(var s,l=e.getProps(),u=e.getVariantContext(!0)||{},d=[],p=new Set,m={},b=1/0,f=function(n){var o=To[n],f=r[o],v=null!==(s=l[o])&&void 0!==s?s:u[o],h=pe(v),g=o===c?f.isActive:null;!1===g&&(b=n);var O=v===u[o]&&v!==l[o]&&h;if(O&&a&&e.manuallyAnimateOnMount&&(O=!1),f.protectedKeys=F({},m),!f.isActive&&null===g||!v&&!f.prevProp||St(v)||"boolean"==typeof v)return"continue";var y=function(e,t){if("string"==typeof t)return t!==e;if(de(t))return!sn(t,e);return!1}(f.prevProp,v)||o===c&&f.isActive&&!O&&h||n>b&&h,j=Array.isArray(v)?v:[v],E=j.reduce(i,{});!1===g&&(E={});var _=f.prevResolvedValues,w=void 0===_?{}:_,S=F(F({},w),E),x=function(e){y=!0,p.delete(e),f.needsAnimating[e]=!0};for(var P in S){var T=E[P],k=w[P];m.hasOwnProperty(P)||(T!==k?xt(T)&&xt(k)?sn(T,k)?f.protectedKeys[P]=!0:x(P):void 0!==T?x(P):p.add(P):void 0!==T&&p.has(P)?x(P):f.protectedKeys[P]=!0)}f.prevProp=v,f.prevResolvedValues=E,f.isActive&&(m=F(F({},m),E)),a&&e.blockInitialAnimation&&(y=!1),y&&!O&&d.push.apply(d,H([],G(j.map((function(e){return{animation:e,options:F({type:o},t)}})))))},v=0;v<ko;v++)f(v);if(o=F({},m),p.size){var h={};p.forEach((function(t){var n=e.getBaseTarget(t);void 0!==n&&(h[t]=n)})),d.push({animation:h})}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 Mo(e){return void 0===e&&(e=!1),{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}var Io={animation:an((function(e){var t=e.visualElement,n=e.animate;t.animationState||(t.animationState=Ao(t)),St(n)&&Object(z.useEffect)((function(){return n.subscribe(t)}),[n])})),exit:an((function(e){var t=e.custom,n=e.visualElement,r=G(te(),2),o=r[0],a=r[1],i=Object(z.useContext)(J);Object(z.useEffect)((function(){var e,r,c=null===(e=n.animationState)||void 0===e?void 0:e.setActive(Mt.Exit,!o,{custom:null!==(r=null==i?void 0:i.custom)&&void 0!==r?r:t});!o&&(null==c||c.then(a))}),[o])}))},Lo=function(e){return e.hasOwnProperty("x")&&e.hasOwnProperty("y")},Bo=function(e){return Lo(e)&&e.hasOwnProperty("z")},No=function(e,t){return Math.abs(e-t)};function Ro(e,t){if(Vn(e)&&Vn(t))return No(e,t);if(Lo(e)&&Lo(t)){var n=No(e.x,t.x),r=No(e.y,t.y),o=Bo(e)&&Bo(t)?No(e.z,t.z):0;return Math.sqrt(Math.pow(n,2)+Math.pow(r,2)+Math.pow(o,2))}}var Do=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=Uo(r.lastMoveEventInfo,r.history),t=null!==r.startEvent,n=Ro(e.offset,{x:0,y:0})>=3;if(t||n){var o=e.point,a=Tr().timestamp;r.history.push(F(F({},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=Vo(t,r.transformPagePoint),Rt(e)&&0===e.buttons?r.handlePointerUp(e,t):kr.update(r.updatePoint,!0)},this.handlePointerUp=function(e,t){r.end();var n=r.handlers,o=n.onEnd,a=n.onSessionEnd,i=Uo(Vo(t,r.transformPagePoint),r.history);r.startEvent&&o&&o(e,i),a&&a(e,i)},!(Dt(e)&&e.touches.length>1)){this.handlers=t,this.transformPagePoint=o;var a=Vo(Gt(e),this.transformPagePoint),i=a.point,c=Tr().timestamp;this.history=[F(F({},i),{timestamp:c})];var s=t.onSessionStart;s&&s(e,Uo(a,this.history)),this.removeListeners=on(Yt(window,"pointermove",this.handlePointerMove),Yt(window,"pointerup",this.handlePointerUp),Yt(window,"pointercancel",this.handlePointerUp))}}return e.prototype.updateHandlers=function(e){this.handlers=e},e.prototype.end=function(){this.removeListeners&&this.removeListeners(),_r.update(this.updatePoint)},e}();function Vo(e,t){return t?{point:t(e.point)}:e}function Fo(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Uo(e,t){var n=e.point;return{point:n,delta:Fo(n,Ho(t)),offset:Fo(n,Go(t)),velocity:zo(t,.1)}}function Go(e){return e[0]}function Ho(e){return e[e.length-1]}function zo(e,t){if(e.length<2)return{x:0,y:0};for(var n=e.length-1,r=null,o=Ho(e);n>=0&&(r=e[n],!(o.timestamp-r.timestamp>Lr(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 qo(e){return e}function Wo(e){var t=e.top;return{x:{min:e.left,max:e.right},y:{min:t,max:e.bottom}}}var Yo={translate:0,scale:1,origin:0,originPoint:0};function Xo(){return{x:F({},Yo),y:F({},Yo)}}function Ko(e){return[e("x"),e("y")]}function Zo(e,t,n){var r=t.min,o=t.max;return void 0!==r&&e<r?e=n?yn(r,e,n.min):Math.max(e,r):void 0!==o&&e>o&&(e=n?yn(o,e,n.max):Math.min(e,o)),e}function Qo(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 $o(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=G([o,r],2))[0],o=n[1]),{min:e.min+r,max:e.min+o}}function Jo(e,t,n){return{min:ea(e,t),max:ea(e,n)}}function ea(e,t){var n;return"number"==typeof e?e:null!==(n=e[t])&&void 0!==n?n:0}function ta(e,t){return Wo(function(e,t){var n=e.top,r=e.left,o=e.bottom,a=e.right;void 0===t&&(t=qo);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 na(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=.01),Ro(e,t)<n}function ra(e){return e.max-e.min}function oa(e,t){var n=.5,r=ra(e),o=ra(t);return o>r?n=On(t.min,t.max-r,e.min):r>o&&(n=On(e.min,e.max-o,t.min)),dn(0,1,n)}function aa(e,t,n,r){void 0===r&&(r=.5),e.origin=r,e.originPoint=yn(t.min,t.max,e.origin),e.scale=ra(n)/ra(t),na(e.scale,1,1e-4)&&(e.scale=1),e.translate=yn(n.min,n.max,e.origin)-e.originPoint,na(e.translate)&&(e.translate=0)}function ia(e,t,n,r){aa(e.x,t.x,n.x,ca(r.originX)),aa(e.y,t.y,n.y,ca(r.originY))}function ca(e){return"number"==typeof e?e:.5}function sa(e,t,n){e.min=n.min+t.min,e.max=e.min+ra(t)}var la=function(e,t){return e.depth-t.depth};function ua(e){return e.projection.isEnabled||e.shouldResetTransform()}function da(e,t){void 0===t&&(t=[]);var n=e.parent;return n&&da(n,t),ua(e)&&t.push(e),t}function pa(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:F({},t.x),y:F({},t.y)}),e.notifyLayoutMeasure(n.layout,e.prevViewportBox||n.layout),kr.update((function(){return e.rebaseProjectionTarget()}))}}function ma(e,t){return{min:t.min-e.min,max:t.max-e.min}}function ba(e,t){return{x:ma(e.x,t.x),y:ma(e.y,t.y)}}function fa(e,t){var n=e.getLayoutId(),r=t.getLayoutId();return n!==r||void 0===r&&e!==t}function va(e){var t=e.getProps(),n=t.drag,r=t._dragX;return n&&!r}function ha(e,t){e.min=t.min,e.max=t.max}function ga(e,t,n){return n+t*(e-n)}function Oa(e,t,n,r,o){return void 0!==o&&(e=ga(e,o,r)),ga(e,n,r)+t}function ya(e,t,n,r,o){void 0===t&&(t=0),void 0===n&&(n=1),e.min=Oa(e.min,t,n,r,o),e.max=Oa(e.max,t,n,r,o)}function ja(e,t){var n=t.x,r=t.y;ya(e.x,n.translate,n.scale,n.originPoint),ya(e.y,r.translate,r.scale,r.originPoint)}function Ea(e,t,n,r){var o=G(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=yn(t.min,t.max,s);ya(e,n[a],n[i],l,n.scale)}var _a=["x","scaleX","originX"],wa=["y","scaleY","originY"];function Sa(e,t,n){Ea(e.x,t.x,n,_a),Ea(e.y,t.y,n,wa)}function xa(e,t,n,r,o){return e=ga(e-=t,1/n,r),void 0!==o&&(e=ga(e,1/o,r)),e}function Pa(e,t,n){var r=G(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=yn(e.min,e.max,r)-t;e.min=xa(e.min,t,n,a,o),e.max=xa(e.max,t,n,a,o)}(e,t[o],t[a],t[i],t.scale)}function Ta(e,t){Pa(e.x,t,_a),Pa(e.y,t,wa)}var ka=new Set;function Ca(e,t,n){e[n]||(e[n]=[]),e[n].push(t)}function Aa(e){return ka.add(e),function(){return ka.delete(e)}}function Ma(){if(ka.size){var e=0,t=[[]],n=[],r=function(n){return Ca(t,n,e)},o=function(t){Ca(n,t,e),e++};ka.forEach((function(t){t(r,o),e=0})),ka.clear();for(var a=n.length,i=0;i<=a;i++)t[i]&&t[i].forEach(La),n[i]&&n[i].forEach(La)}}var Ia,La=function(e){return e()},Ba=new WeakMap,Na=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(),Ba.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 Do(e,{onSessionStart:function(e){var t;n.stopMotion();var r=function(e){return Gt(e,"client")}(e).point;null===(t=n.cancelLayout)||void 0===t||t.call(n),n.cancelLayout=Aa((function(e,t){var o=da(n.visualElement),c=function(e){var t=[],n=function(e){ua(e)&&t.push(e),e.children.forEach(n)};return e.children.forEach(n),t.sort(la)}(n.visualElement),s=H(H([],G(o)),G(c)),l=!1;n.isLayoutDrag()&&n.visualElement.lockProjectionTarget(),t((function(){s.forEach((function(e){return e.resetTransform()}))})),e((function(){pa(n.visualElement),c.forEach(pa)})),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;Ko((function(t){if(!l){var o=e.target[t],a=o.min,c=o.max;n.cursorProgress[t]=i?i[t]:On(a,c,r[t])}var s=n.getAxisMotionValue(t);s&&(n.originPoint[t]=s.get())}))})),t((function(){wr.update(),wr.preRender(),wr.render(),wr.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=$t(c),n.openGlobalLock))&&(Ma(),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(Mt.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),Ia=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&&(ue(n)?this.resolveRefConstraints(o,n):function(e,t){var n=t.top,r=t.left,o=t.bottom,a=t.right;return{x:Qo(e.x,r,a),y:Qo(e.y,n,o)}}(o,n)),this.elastic=function(e){return!1===e?e=0:!0===e&&(e=.35),{x:Jo(e,"left","right"),y:Jo(e,"top","bottom")}}(r),this.constraints&&!this.hasMutatedConstraints&&Ko((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=ta(a,o);var i=function(e,t){return{x:$o(e.x,t.x),y:$o(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=Wo(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(Mt.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 Ko((function(n){if(Ra(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(Ra(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?Zo(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?Zo(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,p=void 0===d||d,m=U(e,["drag","dragDirectionLock","dragPropagation","dragConstraints","dragElastic","dragMomentum"]);this.props=F({drag:n,dragDirectionLock:o,dragPropagation:i,dragConstraints:s,dragElastic:u,dragMomentum:p},m)},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?Ta(n=ba(r.projection.target,e.projection.target),r.getLatestValues()):n=ba(r.getLayoutState().layout,e.getLayoutState().layout),Ko((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=ba(l.projection.targetFinal,s);Ko((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=Ko((function(n){var l;if(Ra(n,r,t.currentDirection)){var u=null!==(l=null==s?void 0:s[n])&&void 0!==l?l:{},d=a?200:1e6,p=a?40:1e7,m=F(F({type:"inertia",velocity:o?e[n]:0,bounceStiffness:d,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10},i),u);return t.getAxisMotionValue(n)?t.startAxisValueAnimation(n,m):t.visualElement.startLayoutAnimation(n,m,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;Ko((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),so(e,n,0,t)}},e.prototype.scalePoint=function(){var e=this,t=this.props,n=t.drag;if(ue(t.dragConstraints)&&this.constraintsBox){this.stopMotion();var r={x:0,y:0};Ko((function(t){r[t]=oa(e.visualElement.projection.target[t],e.constraintsBox[t])})),this.updateConstraints((function(){Ko((function(t){if(Ra(t,n,null)){var o=function(e,t,n){var r=e.max-e.min,o=yn(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(Ma,1)}},e.prototype.updateConstraints=function(e){var t=this;this.cancelLayout=Aa((function(n,r){var o=da(t.visualElement);r((function(){return o.forEach((function(e){return e.resetTransform()}))})),n((function(){return pa(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=Yt(e.getInstance(),"pointerdown",(function(e){var n=t.props,r=n.drag,o=n.dragListener;r&&(void 0===o||o)&&t.start(e)})),r=Bt(window,"resize",(function(){t.scalePoint()})),o=e.onLayoutUpdate((function(){t.isDragging&&t.resolveDragConstraints()})),a=e.prevDragCursor;return a&&this.start(Ia,{cursorProgress:a}),function(){null==n||n(),null==r||r(),null==o||o(),t.cancelDrag()}},e}();function Ra(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}var Da,Va,Fa={pan:an((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(z.useRef)(null),s=Object(z.useContext)(Q).transformPagePoint,l={onSessionStart:o,onStart:n,onMove:t,onEnd:function(e,t){c.current=null,r&&r(e,t)}};Object(z.useEffect)((function(){null!==c.current&&c.current.updateHandlers(l)})),Xt(a,"pointerdown",i&&function(e){c.current=new Do(e,l,{transformPagePoint:s})}),nn((function(){return c.current&&c.current.end()}))})),drag:an((function(e){var t=e.dragControls,n=e.visualElement,r=Object(z.useContext)(Q).transformPagePoint,o=ee((function(){return new Na({visualElement:n})}));o.setProps(F(F({},e),{transformPagePoint:r})),Object(z.useEffect)((function(){return t&&t.subscribe(o)}),[o]),Object(z.useEffect)((function(){return o.mount(n)}),[])}))};function Ua(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"}(Da||(Da={})),function(e){e[e.Hide=0]="Hide",e[e.Show=1]="Show"}(Va||(Va={}));var Ga=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Ha(e,t,n){void 0===n&&(n=1);var r=G(function(e){var t=Ga.exec(e);if(!t)return[,];var n=G(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():Ua(a)?Ha(a,t,n+1):a}}function za(e,t){return e/(t.max-t.min)*100}var qa={process:function(e,t,n){var r=n.target;if("string"==typeof e){if(!We.test(e))return e;e=parseFloat(e)}return za(e,r.x)+"% "+za(e,r.y)+"%"}},Wa={borderRadius:F(F({},qa),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:qa,borderTopRightRadius:qa,borderBottomLeftRadius:qa,borderBottomRightRadius:qa,boxShadow:{process:function(e,t){var n=t.delta,r=t.treeScale,o=e,a=e.includes("var("),i=[];a&&(e=e.replace(Ga,(function(e){return i.push(e),"_$css"})));var c=Dn.parse(e);if(c.length>5)return o;var s=Dn.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 p=yn(u,d,.5);"number"==typeof c[2+l]&&(c[2+l]/=p),"number"==typeof c[3+l]&&(c[3+l]/=p);var m=s(c);if(a){var b=0;m=m.replace("_$css",(function(){var e=i[b];return b++,e}))}return m}}},Ya=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=U(r,["originBox","targetBox","visibilityAction","shouldStackAnimate","onComplete","prevParent"]),d=t.props,p=d.visualElement,m=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,f=p.getProjectionParent();if(f){var v=f.prevViewportBox,h=f.getLayoutState().layout;l&&(a&&(h=l.getLayoutState().layout),o&&!fa(l,f)&&l.prevViewportBox&&(v=l.prevViewportBox)),v&&Ja(l,o,a)&&(b=!0,n=ba(v,n),e=ba(h,e))}var g=Xa(n,e),O=Ko((function(r){var o,a;if("position"===m){var c=e[r].max-e[r].min;n[r].max=n[r].min+c}if(!p.projection.isTargetLocked)return void 0===i?g?t.animateAxis(r,e[r],n[r],F(F({},u),{isRelative:b})):(null===(a=(o=t.stopAxisAnimation)[r])||void 0===a||a.call(o),p.setProjectionTargetAxis(r,e[r].min,e[r].max,b)):void p.setVisibility(i===Va.Show)}));return p.syncRender(),Promise.all(O).then((function(){t.isAnimatingTree=!1,s&&s(),p.notifyLayoutAnimationComplete()}))}},t}return V(t,e),t.prototype.componentDidMount=function(){var e=this,t=this.props.visualElement;t.animateMotionValue=so,t.enableLayoutProjection(),this.unsubLayoutReady=t.onLayoutUpdate(this.animate),t.layoutSafeToRemove=function(){return e.safeToRemove()},function(e){for(var t in e)_e[t]=e[t]}(Wa)},t.prototype.componentWillUnmount=function(){var e=this;this.unsubLayoutReady(),Ko((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]||!Qa(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],p=u.getProjectionAnimationProgress()[e];p.clearListeners(),p.set(0),p.set(0);var m=function(){var r=p.get()/1e3;!function(e,t,n,r){e.min=yn(t.min,n.min,r),e.max=yn(t.max,n.max,r)}(d,n,t,r),u.setProjectionTargetAxis(e,d.min,d.max,l)};m();var b=p.onChange(m);this.stopAxisAnimation[e]=function(){i.isAnimating[e]=!1,p.stop(),b()},this.currentAnimationTarget[e]=t;var f=s||u.getDefaultTransition()||$a;return so("x"===e?"layoutX":"layoutY",p,1e3,f&&co(f,"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}(z.Component);function Xa(e,t){return!(Za(e)||Za(t)||Qa(e.x,t.x)&&Qa(e.y,t.y))}var Ka={min:0,max:0};function Za(e){return Qa(e.x,Ka)&&Qa(e.y,Ka)}function Qa(e,t){return e.min===t.min&&e.max===t.max}var $a={duration:.45,ease:[.4,0,.1,1]};function Ja(e,t,n){return e||!e&&!(t||n)}var ei={layoutReady:function(e){return e.notifyLayoutReady()}};function ti(){var e=new Set;return{add:function(t){return e.add(t)},flush:function(t){var n=void 0===t?ei:t,r=n.layoutReady,o=n.parent;Aa((function(t,n){var a=Array.from(e).sort(la),i=o?da(o):[];n((function(){H(H([],G(i)),G(a)).forEach((function(e){return e.resetTransform()}))})),t((function(){a.forEach(pa)})),n((function(){i.forEach((function(e){return e.restoreTransform()})),a.forEach(r)})),t((function(){a.forEach((function(e){e.isPresent&&(e.presence=Da.Present)}))})),n((function(){wr.preRender(),wr.render()})),t((function(){kr.postRender((function(){return a.forEach(ni)})),e.clear()}))})),Ma()}}}function ni(e){e.prevViewportBox=e.projection.target}var ri=Object(z.createContext)(ti()),oi=Object(z.createContext)(ti());function ai(e){return!!e.forceUpdate}var ii=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return V(t,e),t.prototype.componentDidMount=function(){var e=this.props,t=e.syncLayout,n=e.framerSyncLayout,r=e.visualElement;ai(t)&&t.register(r),ai(n)&&n.register(r),r.onUnmount((function(){ai(t)&&t.remove(r),ai(n)&&n.remove(r)}))},t.prototype.getSnapshotBeforeUpdate=function(){var e=this.props,t=e.syncLayout,n=e.visualElement;return ai(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;ai(e)||e.flush()},t.prototype.render=function(){return null},t}(q.a.Component);var ci={measureLayout:function(e){var t=Object(z.useContext)(ri),n=Object(z.useContext)(oi);return q.a.createElement(ii,F({},e,{syncLayout:t,framerSyncLayout:n}))},layoutAnimation:function(e){var t=G(te(),2)[1];return z.createElement(Ya,F({},e,{safeToRemove:t}))}};function si(){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:Xo(),deltaFinal:Xo(),deltaTransform:""}}var li=si();function ui(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!==pi?a:""}function di(e){var t=e.deltaFinal;return 100*t.x.origin+"% "+100*t.y.origin+"% 0"}var pi=ui(li.delta,li.treeScale,{x:1,y:1}),mi=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","SetAxisTarget","Unmount"];function bi(e,t,n,r){var o,a,i=e.delta,c=e.layout,s=e.layoutCorrected,l=e.treeScale,u=t.target;a=c,ha((o=s).x,a.x),ha(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,ja(e,a),va(o)&&Sa(e,e,o.getLatestValues())}}(s,l,n),ia(i,s,u,r)}var fi=function(){function e(){this.children=[],this.isDirty=!1}return e.prototype.add=function(e){lo(this.children,e),this.isDirty=!0},e.prototype.remove=function(e){uo(this.children,e),this.isDirty=!0},e.prototype.forEach=function(e){this.isDirty&&this.children.sort(la),this.isDirty=!1,this.children.forEach(e)},e}();var vi=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,p=e.sortNodePosition,m=e.scrapeMotionValuesFromProps;return function(e,t){var b=e.parent,f=e.props,v=e.presenceId,h=e.blockInitialAnimation,g=e.visualState;void 0===t&&(t={});var O,y,j,E,_,w,S=g.latestValues,x=g.renderState,P=function(){var e=mi.map((function(){return new po})),t={},n={clearAllListeners:function(){return e.forEach((function(e){return e.clear()}))},updatePropListeners:function(e){return mi.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"+mi[t]]=function(t){return e.add(t)},n["notify"+mi[t]]=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.notify.apply(e,H([],G(t)))}})),n}(),T={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}}},k=T,C=S,A=si(),M=!1,I=new Map,L=new Map,B={},N=F({},S);function R(){O&&(K.isProjectionReady()&&(Sa(k.targetFinal,k.target,C),ia(A.deltaFinal,A.layoutCorrected,k.targetFinal,S)),D(),c(O,x))}function D(){var e=S;if(E&&E.isActive()){var n=E.getCrossfadeState(K);n&&(e=n)}r(K,x,e,k,A,t,f)}function V(){P.notifyUpdate(S)}function U(){K.layoutTree.forEach(gi)}var z=m(f);for(var q in z){var W=z[q];void 0!==S[q]&&Me(W)&&W.set(S[q],!1)}var Y=fe(f),X=ve(f),K=F(F({treeType:n,current:null,depth:b?b.depth+1:0,parent:b,children:new Set,path:b?H(H([],G(b.path)),[b]):[],layoutTree:b?b.layoutTree:new fi,presenceId:v,projection:T,variantChildren:X?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:Boolean(null==b?void 0:b.isMounted()),blockInitialAnimation:h,isMounted:function(){return Boolean(O)},mount:function(e){O=K.current=e,K.pointTo(K),X&&b&&!Y&&(w=null==b?void 0:b.addVariantChild(K)),null==b||b.children.add(K)},unmount:function(){_r.update(V),_r.render(R),_r.preRender(K.updateLayoutProjection),L.forEach((function(e){return e()})),K.stopLayoutAnimation(),K.layoutTree.remove(K),null==w||w(),null==b||b.children.delete(K),null==j||j(),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 p&&n===e.treeType?p(K.getInstance(),e.getInstance()):0},getClosestVariantNode:function(){return X?K:null==b?void 0:b.getClosestVariantNode()},scheduleUpdateLayoutProjection:b?b.scheduleUpdateLayoutProjection:function(){return kr.preRender(K.updateTreeLayoutProjection,!1,!0)},getLayoutId:function(){return f.layoutId},getInstance:function(){return O},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),a(K,e,f,t)},addValue:function(e,t){K.hasValue(e)&&K.removeValue(e),I.set(e,t),S[e]=t.get(),function(e,t){var n=t.onChange((function(t){S[e]=t,f.onUpdate&&kr.update(V,!1,!0)})),r=t.onRenderRequest(K.scheduleRender);L.set(e,(function(){n(),r()}))}(e,t)},removeValue:function(e){var t;I.delete(e),null===(t=L.get(e))||void 0===t||t(),L.delete(e),delete S[e],d(e,x)},hasValue:function(e){return I.has(e)},getValue:function(e,t){var n=I.get(e);return void 0===n&&void 0!==t&&(n=bo(t),K.addValue(e,n)),n},forEachValue:function(e){return I.forEach(e)},readValue:function(e){var n;return null!==(n=S[e])&&void 0!==n?n:s(O,e,t)},setBaseTarget:function(e,t){N[e]=t},getBaseTarget:function(e){if(o){var t=o(f,e);if(void 0!==t&&!Me(t))return t}return N[e]}},P),{build:function(){return D(),x},scheduleRender:function(){kr.render(R,!1,!0)},syncRender:R,setProps:function(e){f=e,P.updatePropListeners(e),B=function(e,t,n){var r;for(var o in t){var a=t[o],i=n[o];if(Me(a))e.addValue(o,a);else if(Me(i))e.addValue(o,bo(a));else if(i!==a)if(e.hasValue(o)){var c=e.getValue(o);!c.hasAnimated&&c.set(a)}else e.addValue(o,bo(null!==(r=e.getStaticValue(o))&&void 0!==r?r:a))}for(var o in n)void 0===t[o]&&e.removeValue(o);return t}(K,m(f),B)},getProps:function(){return f},getVariant:function(e){var t;return null===(t=f.variants)||void 0===t?void 0:t[e]},getDefaultTransition:function(){return f.transition},getVariantContext:function(e){if(void 0===e&&(e=!1),e)return null==b?void 0:b.getVariantContext();if(!Y){var t=(null==b?void 0:b.getVariantContext())||{};return void 0!==f.initial&&(t.initial=f.initial),t}for(var n={},r=0;r<ji;r++){var o=yi[r],a=f[o];(pe(a)||!1===a)&&(n[o]=a)}return n},enableLayoutProjection:function(){T.isEnabled=!0,K.layoutTree.add(K)},lockProjectionTarget:function(){T.isTargetLocked=!0},unlockProjectionTarget:function(){K.stopLayoutAnimation(),T.isTargetLocked=!1},getLayoutState:function(){return A},setCrossfader:function(e){E=e},isProjectionReady:function(){return T.isEnabled&&T.isHydrated&&A.isHydrated},startLayoutAnimation:function(e,t,n){void 0===n&&(n=!1);var r=K.getProjectionAnimationProgress()[e],o=n?T.relativeTarget[e]:T.target[e],a=o.min,i=o.max-a;return r.clearListeners(),r.set(a),r.set(a),r.onChange((function(t){K.setProjectionTargetAxis(e,t,t+i,n)})),K.animateMotionValue(e,r,0,t)},stopLayoutAnimation:function(){Ko((function(e){return K.getProjectionAnimationProgress()[e].stop()}))},measureViewportBox:function(e){void 0===e&&(e=!0);var n=i(O,t);return e||Ta(n,S),n},getProjectionAnimationProgress:function(){return _||(_={x:bo(0),y:bo(0)}),_},setProjectionTargetAxis:function(e,t,n,r){var o;void 0===r&&(r=!1),r?(T.relativeTarget||(T.relativeTarget={x:{min:0,max:1},y:{min:0,max:1}}),o=T.relativeTarget[e]):(T.relativeTarget=void 0,o=T.target[e]),T.isHydrated=!0,o.min=t,o.max=n,M=!0,P.notifySetAxisTarget()},rebaseProjectionTarget:function(e,t){void 0===t&&(t=A.layout);var n=K.getProjectionAnimationProgress(),r=n.x,o=n.y,a=!(T.relativeTarget||T.isTargetLocked||r.isAnimating()||o.isAnimating());(e||a)&&Ko((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=ba(t.getLayoutState().layout,e.getLayoutState().layout);Ko((function(t){e.setProjectionTargetAxis(t,n[t].min,n[t].max,!0)}))}else e.rebaseProjectionTarget()}(K),K.notifyLayoutUpdate(A.layout,K.prevViewportBox||A.layout,e)},resetTransform:function(){return l(K,O,f)},restoreTransform:function(){return u(O,x)},updateLayoutProjection:function(){if(K.isProjectionReady()){var e=A.delta,t=A.treeScale,n=t.x,r=t.y,o=A.deltaTransform;bi(A,k,K.path,S),M&&K.notifyViewportBoxUpdate(k.target,e),M=!1;var a=ui(e,t);a===o&&n===t.x&&r===t.y||K.scheduleRender(),A.deltaTransform=a}},updateTreeLayoutProjection:function(){K.layoutTree.forEach(hi),kr.preRender(U,!1,!0)},getProjectionParent:function(){if(void 0===y){for(var e=!1,t=K.path.length-1;t>=0;t--){var n=K.path[t];if(n.projection.isEnabled){e=n;break}}y=e}return y},resolveRelativeTargetBox:function(){var e=K.getProjectionParent();if(T.relativeTarget&&e&&(function(e,t){sa(e.target.x,e.relativeTarget.x,t.target.x),sa(e.target.y,e.relativeTarget.y,t.target.y)}(T,e.projection),va(e))){var t=T.target;Sa(t,t,e.getLatestValues())}},shouldResetTransform:function(){return Boolean(f._layoutResetTransform)},pointTo:function(e){k=e.projection,C=e.getLatestValues(),null==j||j(),j=on(e.onSetAxisTarget(K.scheduleUpdateLayoutProjection),e.onLayoutAnimationComplete((function(){var e;K.isPresent?K.presence=Da.Present:null===(e=K.layoutSafeToRemove)||void 0===e||e.call(K)})))},isPresent:!0,presence:Da.Entering});return K}};function hi(e){e.resolveRelativeTargetBox()}function gi(e){e.updateLayoutProjection()}var Oi,yi=H(["initial"],G(Po)),ji=yi.length,Ei=new Set(["width","height","top","left","right","bottom","x","y"]),_i=function(e){return Ei.has(e)},wi=function(e,t){e.set(t,!1),e.set(t)},Si=function(e){return e===Ze||e===We};!function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"}(Oi||(Oi={}));var xi=function(e,t){return parseFloat(e.split(", ")[t])},Pi=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 xi(a[1],t);var i=o.match(/^matrix\((.+)\)$/);return i?xi(i[1],e):0}},Ti=new Set(["x","y","z"]),ki=Se.filter((function(e){return!Ti.has(e)}));var Ci={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:Pi(4,13),y:Pi(5,14)},Ai=function(e,t,n,r){void 0===n&&(n={}),void 0===r&&(r={}),t=F({},t),r=F({},r);var o=Object.keys(t).filter(_i),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],p=ho(u);if(xt(d))for(var m=d.length,b=null===d[0]?1:0;b<m;b++)l?ho(d[b]):(l=ho(d[b]))===p||Si(p)&&Si(l);else l=ho(d);if(p!==l)if(Si(p)&&Si(l)){var f=s.get();"string"==typeof f&&s.set(parseFloat(f)),"string"==typeof d?t[o]=parseFloat(d):Array.isArray(d)&&l===We&&(t[o]=d.map(parseFloat))}else(null==p?void 0:p.transform)&&(null==l?void 0:l.transform)&&(0===u||0===d)?0===u?s.set(l.transform(u)):t[o]=p.transform(d):(i||(a=function(e){var t=[];return ki.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],wi(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);wi(o,Ci[n](r,c)),e[n]=Ci[n](s,a)})),e}(t,e,c);return a.length&&a.forEach((function(t){var n=G(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 Mi(e,t,n,r){return function(e){return Object.keys(e).some(_i)}(t)?Ai(e,t,n,r):{target:t,transitionEnd:r}}var Ii=function(e,t,n,r){var o=function(e,t,n){var r,o=U(t,[]),a=e.getInstance();if(!(a instanceof HTMLElement))return{target:o,transitionEnd:n};for(var i in n&&(n=F({},n)),e.forEachValue((function(e){var t=e.get();if(Ua(t)){var n=Ha(t,a);n&&e.set(n)}})),o){var c=o[i];if(Ua(c)){var s=Ha(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 Mi(e,t=o.target,n,r=o.transitionEnd)};var Li={treeType:"dom",readValueFromInstance:function(e,t){if(Te(t)){var n=eo(t);return n&&n.default||0}var r,o=(r=e,window.getComputedStyle(r));return(Le(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 ta(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=U(t,["transition","transitionEnd"]),s=function(e,t,n){var r,o,a={};for(var i in e)a[i]=null!==(r=Eo(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],p=null;Array.isArray(d)&&(p=d[0]),null===p&&(p=null!==(o=null!==(r=n[u])&&void 0!==r?r:e.readValue(u))&&void 0!==o?o:t[u]),null!=p&&("string"==typeof p&&/^\-?\d*\.?\d+$/.test(p)?p=parseFloat(p):!Oo(p)&&Dn.test(d)&&(p=to(u,d)),e.addValue(u,bo(p)),null!==(a=(i=n)[u])&&void 0!==a||(i[u]=p),e.setBaseTarget(u,p))}}(e,c,s);var l=Ii(e,c,s,i);i=l.transitionEnd,c=l.target}return F({transition:a,transitionEnd:i},c)},scrapeMotionValuesFromProps:_t,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;tt(t,n,r,o,a,i.transformTemplate,c?ui:void 0,c?di:void 0)},render:yt},Bi=vi(Li),Ni=vi(F(F({},Li),{getBaseTarget:function(e,t){return e[t]},readValueFromInstance:function(e,t){var n;return Te(t)?(null===(n=eo(t))||void 0===n?void 0:n.default)||0:(t=jt.has(t)?t:Ot(t),e.getAttribute(t))},scrapeMotionValuesFromProps:wt,build:function(e,t,n,r,o,a,i){var c=r.isEnabled&&o.isHydrated;bt(t,n,r,o,a,i.transformTemplate,c?ui:void 0,c?di:void 0)},render:Et})),Ri=function(e,t){return Ee(e)?Ni(t,{enableHardwareAcceleration:!1}):Bi(t,{enableHardwareAcceleration:!0})},Di=F(F(F(F({},Io),cn),Fa),ci),Vi=ye((function(e,t){return Lt(e,t,Di,Ri)}));var Fi=n("cjQ8"),Ui=n("gdqT");var Gi=function({onClick:e=d.noop,small:t=!1}){const{shortcut:n,areAdvancedSettingsOpened:o}=Object(b.useSelect)(e=>({shortcut:e(N.store).getShortcutRepresentation("core/edit-post/toggle-sidebar"),areAdvancedSettingsOpened:"edit-post/block"===e(w.a).getActiveGeneralSidebarName()}),[]),{openGeneralSidebar:a,closeGeneralSidebar:i}=Object(b.useDispatch)(w.a),c=o?Object(f.__)("Hide more settings"):Object(f.__)("Show more settings");return Object(r.createElement)(m.MenuItem,{onClick:()=>{o?i():(a("edit-post/block"),o?Object(Ui.speak)(Object(f.__)("Block settings closed")):Object(Ui.speak)(Object(f.__)("Additional settings are now available in the Editor block settings sidebar")),e())},shortcut:n},!t&&c)};function Hi({children:e,contentRef:t,isTemplateMode:n,styles:o,style:i}){const c=Object(a.__unstableUseMouseMoveTypingReset)();return n?Object(r.createElement)(a.__unstableIframe,{head:Object(r.createElement)(a.__unstableEditorStyles,{styles:o}),ref:c,contentRef:t,style:{width:"100%",height:"100%",display:"block"}},e):Object(r.createElement)(r.Fragment,null,Object(r.createElement)(a.__unstableEditorStyles,{styles:o}),Object(r.createElement)("div",{ref:t,className:"editor-styles-wrapper",style:{flex:"1",...i}},e))}function zi({styles:e}){const{deviceType:t,isTemplateMode:n,wrapperBlockName:o,wrapperUniqueId:c}=Object(b.useSelect)(e=>{const{isEditingTemplate:t,__experimentalGetPreviewDeviceType:n}=e(w.a),{getCurrentPostId:r,getCurrentPostType:o}=e(i.store),a=t();let c;return"wp_block"===o()?c="core/block":a||(c="core/post-content"),{deviceType:n(),isTemplateMode:a,wrapperBlockName:c,wrapperUniqueId:r()}},[]),s=Object(b.useSelect)(e=>e(w.a).hasMetaBoxes(),[]),l=Object(b.useSelect)(e=>{const{getSettings:t}=e(a.store);return t().supportsLayout},[]),{clearSelectedBlock:u}=Object(b.useDispatch)(a.store),{setIsEditingTemplate:d}=Object(b.useDispatch)(w.a),p={height:"100%",width:"100%",margin:0,display:"flex",flexFlow:"column",background:"white"},h={...p,borderRadius:"2px 2px 0 0",border:"1px solid #ddd",borderBottom:0},g=Object(a.__experimentalUseResizeCanvas)(t,n),O=Object(a.useSetting)("layout"),{contentSize:y,wideSize:j}=O||{};let E,_=n?h:p;g&&(_=g),s||g||n||(E="40vh");const S=Object(r.useRef)(),x=Object(v.useMergeRefs)([S,Object(a.__unstableUseClipboardHandler)(),Object(a.__unstableUseCanvasClickRedirect)(),Object(a.__unstableUseTypewriter)(),Object(a.__unstableUseTypingObserver)(),Object(a.__unstableUseBlockSelectionClearer)()]),P=Object(a.__unstableUseBlockSelectionClearer)(),[,T]=Object(a.__experimentalUseNoRecursiveRenders)(c,o),k=Object(r.useMemo)(()=>{if(n)return{type:"default"};if(l){return{type:"default",alignments:y||j?["wide","full"]:["left","center","right"]}}},[n,l,y,j]);return Object(r.createElement)("div",{className:L()("edit-post-visual-editor",{"is-template-mode":n})},Object(r.createElement)(i.VisualEditorGlobalKeyboardShortcuts,null),Object(r.createElement)(a.BlockTools,{__unstableContentRef:S},Object(r.createElement)(Vi.div,{className:"edit-post-visual-editor__content-area",animate:{padding:n?"48px 48px 0":"0"},ref:P},n&&Object(r.createElement)(m.Button,{className:"edit-post-visual-editor__exit-template-mode",icon:Fi.a,onClick:()=>{u(),d(!1)}},Object(f.__)("Back")),Object(r.createElement)(Vi.div,{animate:_,initial:p},Object(r.createElement)(Hi,{isTemplateMode:n,contentRef:x,styles:e,style:{paddingBottom:E}},l&&!n&&Object(r.createElement)(a.__experimentalLayoutStyle,{selector:".edit-post-visual-editor__post-title-wrapper, .block-editor-block-list__layout.is-root-container",layout:O}),Object(r.createElement)(a.WritingFlow,null,!n&&Object(r.createElement)("div",{className:"edit-post-visual-editor__post-title-wrapper"},Object(r.createElement)(i.PostTitle,null)),Object(r.createElement)(T,null,Object(r.createElement)(a.BlockList,{__experimentalLayout:k}))))))),Object(r.createElement)(a.__unstableBlockSettingsMenuFirstItem,null,({onClose:e})=>Object(r.createElement)(Gi,{onClick:e})))}var qi=function(){const{getBlockSelectionStart:e}=Object(b.useSelect)(a.store),{getEditorMode:t,isEditorSidebarOpened:n,isListViewOpened:o}=Object(b.useSelect)(w.a),c=Object(b.useSelect)(e=>{const{richEditingEnabled:t,codeEditingEnabled:n}=e(i.store).getEditorSettings();return!t||!n},[]),{switchEditorMode:s,openGeneralSidebar:l,closeGeneralSidebar:u,toggleFeature:d,setIsListViewOpened:p}=Object(b.useDispatch)(w.a),{registerShortcut:m}=Object(b.useDispatch)(N.store);return Object(r.useEffect)(()=>{m({name:"core/edit-post/toggle-mode",category:"global",description:Object(f.__)("Switch between visual editor and code editor."),keyCombination:{modifier:"secondary",character:"m"}}),m({name:"core/edit-post/toggle-fullscreen",category:"global",description:Object(f.__)("Toggle fullscreen mode."),keyCombination:{modifier:"secondary",character:"f"}}),m({name:"core/edit-post/toggle-block-navigation",category:"global",description:Object(f.__)("Open the block list view."),keyCombination:{modifier:"access",character:"o"}}),m({name:"core/edit-post/toggle-sidebar",category:"global",description:Object(f.__)("Show or hide the settings sidebar."),keyCombination:{modifier:"primaryShift",character:","}}),m({name:"core/edit-post/next-region",category:"global",description:Object(f.__)("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:Object(f.__)("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:Object(f.__)("Display these keyboard shortcuts."),keyCombination:{modifier:"access",character:"h"}})},[]),Object(N.useShortcut)("core/edit-post/toggle-mode",()=>{s("visual"===t()?"text":"visual")},{bindGlobal:!0,isDisabled:c}),Object(N.useShortcut)("core/edit-post/toggle-fullscreen",()=>{d("fullscreenMode")},{bindGlobal:!0}),Object(N.useShortcut)("core/edit-post/toggle-sidebar",t=>{if(t.preventDefault(),n())u();else{const t=e()?"edit-post/block":"edit-post/document";l(t)}},{bindGlobal:!0}),Object(N.useShortcut)("core/edit-post/toggle-block-navigation",()=>p(!o()),{bindGlobal:!0}),null};const Wi=[{keyCombination:{modifier:"primary",character:"b"},description:Object(f.__)("Make the selected text bold.")},{keyCombination:{modifier:"primary",character:"i"},description:Object(f.__)("Make the selected text italic.")},{keyCombination:{modifier:"primary",character:"k"},description:Object(f.__)("Convert the selected text into a link.")},{keyCombination:{modifier:"primaryShift",character:"k"},description:Object(f.__)("Remove a link.")},{keyCombination:{modifier:"primary",character:"u"},description:Object(f.__)("Underline the selected text.")}];function Yi({keyCombination:e,forceAriaLabel:t}){const n=e.modifier?x.displayShortcutList[e.modifier](e.character):e.character,o=e.modifier?x.shortcutAriaLabel[e.modifier](e.character):e.character;return Object(r.createElement)("kbd",{className:"edit-post-keyboard-shortcut-help-modal__shortcut-key-combination","aria-label":t||o},Object(d.castArray)(n).map((e,t)=>"+"===e?Object(r.createElement)(r.Fragment,{key:t},e):Object(r.createElement)("kbd",{key:t,className:"edit-post-keyboard-shortcut-help-modal__shortcut-key"},e)))}var Xi=function({description:e,keyCombination:t,aliases:n=[],ariaLabel:o}){return Object(r.createElement)(r.Fragment,null,Object(r.createElement)("div",{className:"edit-post-keyboard-shortcut-help-modal__shortcut-description"},e),Object(r.createElement)("div",{className:"edit-post-keyboard-shortcut-help-modal__shortcut-term"},Object(r.createElement)(Yi,{keyCombination:t,forceAriaLabel:o}),n.map((e,t)=>Object(r.createElement)(Yi,{keyCombination:e,forceAriaLabel:o,key:t}))))};var Ki=function({name:e}){const{keyCombination:t,description:n,aliases:o}=Object(b.useSelect)(t=>{const{getShortcutKeyCombination:n,getShortcutDescription:r,getShortcutAliases:o}=t(N.store);return{keyCombination:n(e),aliases:o(e),description:r(e)}});return t?Object(r.createElement)(Xi,{keyCombination:t,description:n,aliases:o}):null};const Zi="edit-post/keyboard-shortcut-help",Qi=({shortcuts:e})=>Object(r.createElement)("ul",{className:"edit-post-keyboard-shortcut-help-modal__shortcut-list",role:"list"},e.map((e,t)=>Object(r.createElement)("li",{className:"edit-post-keyboard-shortcut-help-modal__shortcut",key:t},Object(d.isString)(e)?Object(r.createElement)(Ki,{name:e}):Object(r.createElement)(Xi,e)))),$i=({title:e,shortcuts:t,className:n})=>Object(r.createElement)("section",{className:L()("edit-post-keyboard-shortcut-help-modal__section",n)},!!e&&Object(r.createElement)("h2",{className:"edit-post-keyboard-shortcut-help-modal__section-title"},e),Object(r.createElement)(Qi,{shortcuts:t})),Ji=({title:e,categoryName:t,additionalShortcuts:n=[]})=>{const o=Object(b.useSelect)(e=>e(N.store).getCategoryShortcuts(t),[t]);return Object(r.createElement)($i,{title:e,shortcuts:o.concat(n)})};var ec=Object(v.compose)([Object(b.withSelect)(e=>({isModalActive:e(w.a).isModalActive(Zi)})),Object(b.withDispatch)((e,{isModalActive:t})=>{const{openModal:n,closeModal:r}=e(w.a);return{toggleModal:()=>t?r():n(Zi)}})])((function({isModalActive:e,toggleModal:t}){return Object(N.useShortcut)("core/edit-post/keyboard-shortcuts",t,{bindGlobal:!0}),e?Object(r.createElement)(m.Modal,{className:"edit-post-keyboard-shortcut-help-modal",title:Object(f.__)("Keyboard shortcuts"),closeLabel:Object(f.__)("Close"),onRequestClose:t},Object(r.createElement)($i,{className:"edit-post-keyboard-shortcut-help-modal__main-shortcuts",shortcuts:["core/edit-post/keyboard-shortcuts"]}),Object(r.createElement)(Ji,{title:Object(f.__)("Global shortcuts"),categoryName:"global"}),Object(r.createElement)(Ji,{title:Object(f.__)("Selection shortcuts"),categoryName:"selection"}),Object(r.createElement)(Ji,{title:Object(f.__)("Block shortcuts"),categoryName:"block",additionalShortcuts:[{keyCombination:{character:"/"},description:Object(f.__)("Change the block type after adding a new paragraph."),ariaLabel:Object(f.__)("Forward-slash")}]}),Object(r.createElement)($i,{title:Object(f.__)("Text formatting"),shortcuts:Wi})):null}));var tc=function({blockTypes:e,value:t,onItemChange:n}){return Object(r.createElement)("ul",{className:"edit-post-manage-blocks-modal__checklist"},e.map(e=>Object(r.createElement)("li",{key:e.name,className:"edit-post-manage-blocks-modal__checklist-item"},Object(r.createElement)(m.CheckboxControl,{label:Object(r.createElement)(r.Fragment,null,e.title,Object(r.createElement)(a.BlockIcon,{icon:e.icon})),checked:t.includes(e.name),onChange:Object(d.partial)(n,e.name)}))))};var nc=Object(r.createContext)({});var rc=Object(v.compose)([v.withInstanceId,Object(b.withSelect)(e=>{const{getPreference:t}=e(w.a);return{hiddenBlockTypes:t("hiddenBlockTypes")}}),Object(b.withDispatch)((e,t)=>{const{showBlockTypes:n,hideBlockTypes:r}=e(w.a);return{toggleVisible(e,t){t?n(e):r(e)},toggleAllVisible(e){const o=Object(d.map)(t.blockTypes,"name");e?n(o):r(o)}}})])((function({instanceId:e,title:t,blockTypes:n,hiddenBlockTypes:o,toggleVisible:a,toggleAllVisible:i}){const c=Object(r.useContext)(nc),{allowedBlockTypes:s}=c,l=Object(r.useMemo)(()=>!0===s?n:n.filter(({name:e})=>Object(d.includes)(s||[],e)),[s,n]);if(!l.length)return null;const u=Object(d.without)(Object(d.map)(l,"name"),...o),p="edit-post-manage-blocks-modal__category-title-"+e,b=u.length===l.length;let f;return f=b?"true":u.length>0?"mixed":"false",Object(r.createElement)("div",{role:"group","aria-labelledby":p,className:"edit-post-manage-blocks-modal__category"},Object(r.createElement)(m.CheckboxControl,{checked:b,onChange:i,className:"edit-post-manage-blocks-modal__category-title","aria-checked":f,label:Object(r.createElement)("span",{id:p},t)}),Object(r.createElement)(tc,{blockTypes:l,value:u,onItemChange:a}))}));var oc=Object(v.compose)([Object(v.withState)({search:""}),Object(b.withSelect)(e=>{const{getBlockTypes:t,getCategories:n,hasBlockSupport:r,isMatchingSearchTerm:o}=e(p.store),{getPreference:a}=e(w.a),i=a("hiddenBlockTypes"),c=Object(d.isArray)(i)&&i.length;return{blockTypes:t(),categories:n(),hasBlockSupport:r,isMatchingSearchTerm:o,numberOfHiddenBlocks:c}})])((function({search:e,setState:t,blockTypes:n,categories:o,hasBlockSupport:a,isMatchingSearchTerm:i,numberOfHiddenBlocks:c}){return n=n.filter(t=>a(t,"inserter",!0)&&(!e||i(t,e))&&(!t.parent||Object(d.includes)(t.parent,"core/post-content"))),Object(r.createElement)("div",{className:"edit-post-manage-blocks-modal__content"},Object(r.createElement)(m.TextControl,{type:"search",label:Object(f.__)("Search for a block"),value:e,onChange:e=>t({search:e}),className:"edit-post-manage-blocks-modal__search"}),!!c&&Object(r.createElement)("div",{className:"edit-post-manage-blocks-modal__disabled-blocks-count"},Object(f.sprintf)(Object(f._n)("%d block is disabled.","%d blocks are disabled.",c),c)),Object(r.createElement)("div",{tabIndex:"0",role:"region","aria-label":Object(f.__)("Available block types"),className:"edit-post-manage-blocks-modal__results"},0===n.length&&Object(r.createElement)("p",{className:"edit-post-manage-blocks-modal__no-results"},Object(f.__)("No blocks found.")),o.map(e=>Object(r.createElement)(rc,{key:e.slug,title:e.title,blockTypes:Object(d.filter)(n,{category:e.slug})})),Object(r.createElement)(rc,{title:Object(f.__)("Uncategorized"),blockTypes:Object(d.filter)(n,({category:e})=>!e)})))}));var ac=Object(v.compose)([Object(b.withSelect)(e=>{const{isModalActive:t}=e(w.a);return{isActive:t("edit-post/manage-blocks")}}),Object(b.withDispatch)(e=>{const{closeModal:t}=e(w.a);return{closeModal:t}})])((function({isActive:e,closeModal:t}){return e?Object(r.createElement)(m.Modal,{className:"edit-post-manage-blocks-modal",title:Object(f.__)("Block Manager"),closeLabel:Object(f.__)("Close"),onRequestClose:t},Object(r.createElement)(oc,null)):null}));var ic=({description:e,title:t,children:n})=>Object(r.createElement)("section",{className:"edit-post-preferences-modal__section"},Object(r.createElement)("h2",{className:"edit-post-preferences-modal__section-title"},t),e&&Object(r.createElement)("p",{className:"edit-post-preferences-modal__section-description"},e),n),cc=n("Y5n4");var sc=Object(b.withSelect)(e=>{const{getEditorSettings:t}=e("core/editor"),{getAllMetaBoxes:n}=e(w.a);return{areCustomFieldsRegistered:void 0!==t().enableCustomFields,metaBoxes:n()}})((function({areCustomFieldsRegistered:e,metaBoxes:t,...n}){const o=Object(d.filter)(t,({id:e})=>"postcustom"!==e);return e||0!==o.length?Object(r.createElement)(ic,n,e&&Object(r.createElement)(cc.a,{label:Object(f.__)("Custom fields")}),Object(d.map)(o,({id:e,title:t})=>Object(r.createElement)(cc.c,{key:e,label:t,panelName:"meta-box-"+e}))):null}));function lc(){const e=Object(v.useViewportMatch)("medium"),{closeModal:t}=Object(b.useDispatch)(w.a),{isModalActive:n,isViewable:a}=Object(b.useSelect)(e=>{const{getEditedPostAttribute:t}=e(i.store),{getPostType:n}=e(o.store),r=n(t("type"));return{isModalActive:e(w.a).isModalActive("edit-post/preferences"),isViewable:Object(d.get)(r,["viewable"],!1)}},[]),c=Object(b.useSelect)(t=>{const{getEditorSettings:n}=t(i.store),{getEditorMode:r,isFeatureActive:o}=t(w.a),a=r(),c=n().richEditingEnabled;return!o("reducedUI")&&e&&c&&"visual"===a},[e]),s=Object(r.useMemo)(()=>[{name:"general",tabLabel:Object(f.__)("General"),content:Object(r.createElement)(r.Fragment,null,e&&Object(r.createElement)(ic,{title:Object(f.__)("Choose your own experience")},Object(r.createElement)(cc.e,{help:Object(f.__)("Review settings such as categories and tags."),label:Object(f.__)("Include pre-publish checklist")})),Object(r.createElement)(ic,{title:Object(f.__)("Decide what to focus on")},Object(r.createElement)(cc.b,{featureName:"reducedUI",help:Object(f.__)("Compacts options and outlines in the toolbar."),label:Object(f.__)("Reduce the interface")}),Object(r.createElement)(cc.b,{featureName:"focusMode",help:Object(f.__)("Highlights the current block and fades other content."),label:Object(f.__)("Spotlight mode")}),c&&Object(r.createElement)(cc.b,{featureName:"showBlockBreadcrumbs",help:Object(f.__)("Shows block breadcrumbs at the bottom of the editor."),label:Object(f.__)("Display block breadcrumbs")})))},{name:"appearance",tabLabel:Object(f.__)("Appearance"),content:Object(r.createElement)(ic,{title:Object(f.__)("Choose the way it looks")},Object(r.createElement)(cc.b,{featureName:"showIconLabels",help:Object(f.__)("Shows text instead of icons in toolbar."),label:Object(f.__)("Display button labels")}),Object(r.createElement)(cc.b,{featureName:"themeStyles",help:Object(f.__)("Make the editor look like your theme."),label:Object(f.__)("Use theme styles")}))},{name:"blocks",tabLabel:Object(f.__)("Blocks"),content:Object(r.createElement)(ic,{title:Object(f.__)("Choose how you interact with blocks")},Object(r.createElement)(cc.b,{featureName:"mostUsedBlocks",help:Object(f.__)("Places the most frequent blocks in the block library."),label:Object(f.__)("Show most used blocks")}),Object(r.createElement)(cc.b,{featureName:"keepCaretInsideBlock",help:Object(f.__)("Aids screen readers by stopping text caret from leaving blocks."),label:Object(f.__)("Contain text cursor inside block")}))},{name:"panels",tabLabel:Object(f.__)("Panels"),content:Object(r.createElement)(r.Fragment,null,Object(r.createElement)(ic,{title:Object(f.__)("Document settings"),description:Object(f.__)("Choose what displays in the panel.")},Object(r.createElement)(cc.d.Slot,null),a&&Object(r.createElement)(cc.c,{label:Object(f.__)("Permalink"),panelName:"post-link"}),a&&Object(r.createElement)(cc.c,{label:Object(f.__)("Template"),panelName:"template"}),Object(r.createElement)(i.PostTaxonomies,{taxonomyWrapper:(e,t)=>Object(r.createElement)(cc.c,{label:Object(d.get)(t,["labels","menu_name"]),panelName:"taxonomy-panel-"+t.slug})}),Object(r.createElement)(i.PostFeaturedImageCheck,null,Object(r.createElement)(cc.c,{label:Object(f.__)("Featured image"),panelName:"featured-image"})),Object(r.createElement)(i.PostExcerptCheck,null,Object(r.createElement)(cc.c,{label:Object(f.__)("Excerpt"),panelName:"post-excerpt"})),Object(r.createElement)(i.PostTypeSupportCheck,{supportKeys:["comments","trackbacks"]},Object(r.createElement)(cc.c,{label:Object(f.__)("Discussion"),panelName:"discussion-panel"})),Object(r.createElement)(i.PageAttributesCheck,null,Object(r.createElement)(cc.c,{label:Object(f.__)("Page attributes"),panelName:"page-attributes"}))),Object(r.createElement)(ic,{title:Object(f.__)("Additional"),description:Object(f.__)("Add extra areas to the editor.")},Object(r.createElement)(sc,null)))}],[a,e,c]),[l,u]=Object(r.useState)("preferences-menu"),{tabs:p,sectionsContentMap:h}=Object(r.useMemo)(()=>s.reduce((e,{name:t,tabLabel:n,content:r})=>(e.tabs.push({name:t,title:n}),e.sectionsContentMap[t]=r,e),{tabs:[],sectionsContentMap:{}}),[s]),g=Object(r.useCallback)(e=>h[e.name]||null,[h]);if(!n)return null;let O;return O=e?Object(r.createElement)(m.TabPanel,{className:"edit-post-preferences__tabs",tabs:p,initialTabName:"preferences-menu"!==l?l:void 0,onSelect:u,orientation:"vertical"},g):Object(r.createElement)(m.__experimentalNavigation,{activeMenu:l,onActivateMenu:u},Object(r.createElement)(m.__experimentalNavigationMenu,{menu:"preferences-menu"},p.map(e=>Object(r.createElement)(m.__experimentalNavigationItem,{key:e.name,title:e.title,navigateToMenu:e.name}))),s.map(e=>Object(r.createElement)(m.__experimentalNavigationMenu,{key:e.name+"-menu",menu:e.name,title:e.tabLabel,parentMenu:"preferences-menu"},Object(r.createElement)(m.__experimentalNavigationItem,null,e.content)))),Object(r.createElement)(m.Modal,{className:"edit-post-preferences-modal",title:Object(f.__)("Preferences"),closeLabel:Object(f.__)("Close"),onRequestClose:t},O)}class uc extends r.Component{constructor(){super(...arguments),this.state={historyId:null}}componentDidUpdate(e){const{postId:t,postStatus:n,postType:r,isSavingPost:o}=this.props,{historyId:a}=this.state;"trash"!==n||o?t===e.postId&&t===a||"auto-draft"===n||!t||this.setBrowserURL(t):this.setTrashURL(t,r)}setTrashURL(e,t){window.location.href=function(e,t){return Object(j.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(j.addQueryArgs)("post.php",{post:e,action:"edit"})}(e)),this.setState(()=>({historyId:e}))}render(){return null}}var dc=Object(b.withSelect)(e=>{const{getCurrentPost:t,isSavingPost:n}=e("core/editor"),r=t();let{id:o,status:a,type:i}=r;return["wp_template","wp_template_part"].includes(i)&&(o=r.wp_id),{postId:o,postStatus:a,postType:i,isSavingPost:n()}})(uc),pc=n("wduq");var mc=function({showTooltip:e,icon:t,href:n}){const{isActive:o,isRequestingSiteIcon:a,postType:i,siteIconUrl:c}=Object(b.useSelect)(e=>{const{getCurrentPostType:t}=e("core/editor"),{isFeatureActive:n}=e(w.a),{isResolving:r}=e("core/data"),{getEntityRecord:o,getPostType:a}=e("core"),i=o("root","__unstableBase",void 0)||{};return{isActive:n("fullscreenMode"),isRequestingSiteIcon:r("core","getEntityRecord",["root","__unstableBase",void 0]),postType:a(t()),siteIconUrl:i.site_icon_url}},[]);if(!o||!i)return null;let s=Object(r.createElement)(m.Icon,{size:"36px",icon:pc.a});return c&&(s=Object(r.createElement)("img",{alt:Object(f.__)("Site Icon"),className:"edit-post-fullscreen-mode-close_site-icon",src:c})),a&&(s=null),t&&(s=Object(r.createElement)(m.Icon,{size:"36px",icon:t})),Object(r.createElement)(m.Button,{className:"edit-post-fullscreen-mode-close has-icon",href:null!=n?n:Object(j.addQueryArgs)("edit.php",{post_type:i.slug}),label:Object(d.get)(i,["labels","view_items"],Object(f.__)("Back")),showTooltip:e},s)},bc=n("OzlF"),fc=n("Q4Sy"),vc=n("NWDH");function hc(){const{clearSelectedBlock:e}=Object(b.useDispatch)(a.store),{setIsEditingTemplate:t}=Object(b.useDispatch)(w.a),{getEditorSettings:n}=Object(b.useSelect)(i.store),{updateEditorSettings:c,editPost:s}=Object(b.useDispatch)(i.store),{deleteEntityRecord:l}=Object(b.useDispatch)(o.store),{template:u}=Object(b.useSelect)(e=>{const{isEditingTemplate:t,getEditedPostTemplate:n}=e(w.a);return{template:t()?n():null}},[]);if(!u||!u.wp_id)return null;let p=u.slug;return null!=u&&u.title&&(p=u.title),Object(r.createElement)(m.MenuGroup,{className:"edit-post-template-top-area__second-menu-group"},Object(r.createElement)(m.MenuItem,{className:"edit-post-template-top-area__delete-template-button",isDestructive:!0,isSecondary:!0,"aria-label":Object(f.__)("Delete template"),onClick:()=>{if(window.confirm(Object(f.sprintf)("Are you sure you want to delete the %s template? It may be used by other pages or posts.",p))){e(),t(!1),s({template:""});const r=n(),o=Object(d.pickBy)(r.availableTemplates,(e,t)=>t!==u.slug);c({...r,availableTemplates:o}),l("postType","wp_template",u.id)}}},Object(f.__)("Delete template")))}function gc(){const{template:e}=Object(b.useSelect)(e=>{const{getEditedPostTemplate:t}=e(w.a);return{template:t()}},[]),{editEntityRecord:t}=Object(b.useDispatch)(o.store),{getEditorSettings:n}=Object(b.useSelect)(i.store),{updateEditorSettings:a}=Object(b.useDispatch)(i.store);let c=Object(f.__)("Default");return null!=e&&e.title?c=e.title:e&&(c=e.slug),Object(r.createElement)(m.TextControl,{label:Object(f.__)("Title"),value:c,help:Object(f.__)('Give the template a title that indicates its purpose, e.g. "Full Width".'),onChange:r=>{const o=n(),i=Object(d.mapValues)(o.availableTemplates,(t,n)=>n!==e.slug?t:r);a({...o,availableTemplates:i}),t("postType","wp_template",e.id,{title:r})}})}var Oc=function(){const{template:e,isEditing:t,title:n}=Object(b.useSelect)(e=>{const{isEditingTemplate:t,getEditedPostTemplate:n}=e(w.a),{getEditedPostAttribute:r}=e(i.store),o=t();return{template:o?n():null,isEditing:o,title:r("title")}},[]),{clearSelectedBlock:o}=Object(b.useDispatch)(a.store),{setIsEditingTemplate:c}=Object(b.useDispatch)(w.a);if(!t||!e)return null;let s=Object(f.__)("Default");return null!=e&&e.title?s=e.title:e&&(s=e.slug),Object(r.createElement)(m.ToolbarItem,null,e=>Object(r.createElement)(m.Dropdown,{className:"edit-post-template-top-area",position:"bottom center",contentClassName:"edit-post-template-top-area__popover",renderToggle:({onToggle:t})=>Object(r.createElement)(r.Fragment,null,Object(r.createElement)(m.Button,Object(u.a)({},e,{className:"edit-post-template-post-title",isLink:!0,showTooltip:!0,label:Object(f.sprintf)(Object(f.__)("Edit %s"),n),onClick:()=>{o(),c(!1)}}),n),Object(r.createElement)(m.Button,Object(u.a)({},e,{className:"edit-post-template-title",isLink:!0,icon:vc.a,showTooltip:!0,onClick:t,label:Object(f.__)("Template Options")}),s)),renderContent:()=>Object(r.createElement)(r.Fragment,null,Object(r.createElement)(gc,null),Object(r.createElement)(hc,null))}))};var yc=function(){const e=Object(r.useRef)(),{setIsInserterOpened:t,setIsListViewOpened:n}=Object(b.useDispatch)(w.a),{isInserterEnabled:o,isInserterOpened:c,isTextModeEnabled:s,showIconLabels:l,isListViewOpen:u,listViewShortcut:d}=Object(b.useSelect)(e=>{const{hasInserterItems:t,getBlockRootClientId:n,getBlockSelectionEnd:r}=e(a.store),{getEditorSettings:o}=e(i.store),{getEditorMode:c,isFeatureActive:s,isListViewOpened:l}=e(w.a),{getShortcutRepresentation:u}=e(N.store);return{isInserterEnabled:"visual"===c()&&o().richEditingEnabled&&t(n(r())),isInserterOpened:e(w.a).isInserterOpened(),isTextModeEnabled:"text"===c(),showIconLabels:s("showIconLabels"),isListViewOpen:l(),listViewShortcut:u("core/edit-post/toggle-block-navigation")}},[]),p=Object(v.useViewportMatch)("medium"),h=Object(v.useViewportMatch)("wide"),g=Object(f.__)("Document tools"),O=Object(r.createElement)(r.Fragment,null,Object(r.createElement)(m.ToolbarItem,{as:i.TableOfContents,hasOutlineItemsDisabled:s,repositionDropdown:l&&!h,showTooltip:!l,isTertiary:l}),Object(r.createElement)(m.ToolbarItem,{as:m.Button,className:"edit-post-header-toolbar__list-view-toggle",icon:bc.a,disabled:s,isPressed:u,label:Object(f.__)("List View"),onClick:()=>n(!u),shortcut:d,showTooltip:!l}));return Object(r.createElement)(a.NavigableToolbar,{className:"edit-post-header-toolbar","aria-label":g},Object(r.createElement)("div",{className:"edit-post-header-toolbar__left"},Object(r.createElement)(m.ToolbarItem,{ref:e,as:m.Button,className:"edit-post-header-toolbar__inserter-toggle",isPrimary:!0,isPressed:c,onMouseDown:e=>{e.preventDefault()},onClick:()=>{c?e.current.focus():t(!0)},disabled:!o,icon:fc.a,label:Object(f._x)("Toggle block inserter","Generic label for block inserter button"),showTooltip:!l},l&&Object(f.__)("Add")),(h||!l)&&Object(r.createElement)(r.Fragment,null,p&&Object(r.createElement)(m.ToolbarItem,{as:a.ToolSelector,showTooltip:!l,isTertiary:l,disabled:s}),Object(r.createElement)(m.ToolbarItem,{as:i.EditorHistoryUndo,showTooltip:!l,isTertiary:l}),Object(r.createElement)(m.ToolbarItem,{as:i.EditorHistoryRedo,showTooltip:!l,isTertiary:l}),O)),Object(r.createElement)(Oc,null))},jc=n("VKE3");const Ec=[{value:"visual",label:Object(f.__)("Visual editor")},{value:"text",label:Object(f.__)("Code editor")}];var _c=function(){const{shortcut:e,isRichEditingEnabled:t,isCodeEditingEnabled:n,mode:o}=Object(b.useSelect)(e=>({shortcut:e(N.store).getShortcutRepresentation("core/edit-post/toggle-mode"),isRichEditingEnabled:e("core/editor").getEditorSettings().richEditingEnabled,isCodeEditingEnabled:e("core/editor").getEditorSettings().codeEditingEnabled,mode:e(w.a).getEditorMode()}),[]),{switchEditorMode:a}=Object(b.useDispatch)(w.a);if(!t||!n)return null;const i=Ec.map(t=>t.value!==o?{...t,shortcut:e}:t);return Object(r.createElement)(m.MenuGroup,{label:Object(f.__)("Editor")},Object(r.createElement)(m.MenuItemsChoice,{choices:i,value:o,onSelect:a}))};function wc(){const{openModal:e}=Object(b.useDispatch)(w.a);return Object(r.createElement)(m.MenuItem,{onClick:()=>{e("edit-post/preferences")}},Object(f.__)("Preferences"))}var Sc=n("RMJe");var xc=Object(v.compose)([Object(b.withSelect)((e,{feature:t})=>({isActive:e(w.a).isFeatureActive(t)})),Object(b.withDispatch)((e,t)=>({onToggle(){e(w.a).toggleFeature(t.feature)}}))])((function({onToggle:e,isActive:t,label:n,info:o,messageActivated:a,messageDeactivated:i,shortcut:c}){return Object(r.createElement)(m.MenuItem,{icon:t&&Sc.a,isSelected:t,onClick:Object(d.flow)(e,()=>{t?Object(Ui.speak)(i||Object(f.__)("Feature deactivated")):Object(Ui.speak)(a||Object(f.__)("Feature activated"))}),role:"menuitemcheckbox",info:o,shortcut:c},n)}));var Pc=function(){return Object(v.useViewportMatch)("medium")?Object(r.createElement)(m.MenuGroup,{label:Object(f._x)("View","noun")},Object(r.createElement)(xc,{feature:"fixedToolbar",label:Object(f.__)("Top toolbar"),info:Object(f.__)("Access all block and document tools in a single place"),messageActivated:Object(f.__)("Top toolbar activated"),messageDeactivated:Object(f.__)("Top toolbar deactivated")}),Object(r.createElement)(xc,{feature:"focusMode",label:Object(f.__)("Spotlight mode"),info:Object(f.__)("Focus on one block at a time"),messageActivated:Object(f.__)("Spotlight mode activated"),messageDeactivated:Object(f.__)("Spotlight mode deactivated")}),Object(r.createElement)(xc,{feature:"fullscreenMode",label:Object(f.__)("Fullscreen mode"),info:Object(f.__)("Work without distraction"),messageActivated:Object(f.__)("Fullscreen mode activated"),messageDeactivated:Object(f.__)("Fullscreen mode deactivated"),shortcut:x.displayShortcut.secondary("f")})):null};const Tc={className:"edit-post-more-menu__content",position:"bottom left"},kc={tooltipPosition:"bottom"};var Cc=({showIconLabels:e})=>{const t=Object(v.useViewportMatch)("large");return Object(r.createElement)(m.DropdownMenu,{className:"edit-post-more-menu",icon:jc.a,label:Object(f.__)("Options"),popoverProps:Tc,toggleProps:{showTooltip:!e,isTertiary:e,...kc}},({onClose:n})=>Object(r.createElement)(r.Fragment,null,e&&!t&&Object(r.createElement)(B.f.Slot,{className:e&&"show-icon-labels",scope:"core/edit-post"}),Object(r.createElement)(Pc,null),Object(r.createElement)(_c,null),Object(r.createElement)(B.a.Slot,{name:"core/edit-post/plugin-more-menu",label:Object(f.__)("Plugins"),as:m.MenuGroup,fillProps:{onClick:n}}),Object(r.createElement)(C.Slot,{fillProps:{onClose:n}}),Object(r.createElement)(m.MenuGroup,null,Object(r.createElement)(wc,null))))};var Ac=Object(v.compose)(Object(b.withSelect)(e=>({hasPublishAction:Object(d.get)(e("core/editor").getCurrentPost(),["_links","wp:action-publish"],!1),isBeingScheduled:e("core/editor").isEditedPostBeingScheduled(),isPending:e("core/editor").isCurrentPostPending(),isPublished:e("core/editor").isCurrentPostPublished(),isPublishSidebarEnabled:e("core/editor").isPublishSidebarEnabled(),isPublishSidebarOpened:e(w.a).isPublishSidebarOpened(),isScheduled:e("core/editor").isCurrentPostScheduled()})),Object(b.withDispatch)(e=>{const{togglePublishSidebar:t}=e(w.a);return{togglePublishSidebar:t}}))((function({forceIsDirty:e,forceIsSaving:t,hasPublishAction:n,isBeingScheduled:o,isPending:a,isPublished:c,isPublishSidebarEnabled:s,isPublishSidebarOpened:l,isScheduled:u,togglePublishSidebar:d,setEntitiesSavedStatesCallback:p}){const m=Object(v.useViewportMatch)("medium","<");let b;return b=c||u&&o||a&&!n&&!m?"button":m||s?"toggle":"button",Object(r.createElement)(i.PostPublishButton,{forceIsDirty:e,forceIsSaving:t,isOpen:l,isToggle:"toggle"===b,onToggle:d,setEntitiesSavedStatesCallback:p})}));function Mc(){const{hasActiveMetaboxes:e,isPostSaveable:t,isSaving:n,deviceType:o}=Object(b.useSelect)(e=>({hasActiveMetaboxes:e(w.a).hasMetaBoxes(),isSaving:e(w.a).isSavingMetaBoxes(),isPostSaveable:e("core/editor").isEditedPostSaveable(),deviceType:e(w.a).__experimentalGetPreviewDeviceType()}),[]),{__experimentalSetPreviewDeviceType:c}=Object(b.useDispatch)(w.a);return Object(r.createElement)(a.__experimentalPreviewOptions,{isEnabled:t,className:"edit-post-post-preview-dropdown",deviceType:o,setDeviceType:c},Object(r.createElement)(m.MenuGroup,null,Object(r.createElement)("div",{className:"edit-post-header-preview__grouping-external"},Object(r.createElement)(i.PostPreviewButton,{className:"edit-post-header-preview__button-external",role:"menuitem",forceIsAutosaveable:e,forcePreviewLink:n?null:void 0,textContent:Object(r.createElement)(r.Fragment,null,Object(f.__)("Preview in new tab"),Object(r.createElement)(m.Icon,{icon:O.a}))}))))}const Ic="__experimentalMainDashboardButton",{Fill:Lc,Slot:Bc}=Object(m.createSlotFill)(Ic),Nc=Lc;Nc.Slot=({children:e})=>{const t=Object(m.__experimentalUseSlot)(Ic);return Boolean(t.fills&&t.fills.length)?Object(r.createElement)(Bc,{bubblesVirtually:!0}):e};var Rc=Nc;var Dc=function({setEntitiesSavedStatesCallback:e}){const{hasActiveMetaboxes:t,isPublishSidebarOpened:n,isSaving:o,showIconLabels:a,hasReducedUI:c}=Object(b.useSelect)(e=>({hasActiveMetaboxes:e(w.a).hasMetaBoxes(),isPublishSidebarOpened:e(w.a).isPublishSidebarOpened(),isSaving:e(w.a).isSavingMetaBoxes(),showIconLabels:e(w.a).isFeatureActive("showIconLabels"),hasReducedUI:e(w.a).isFeatureActive("reducedUI")}),[]),s=Object(v.useViewportMatch)("large"),l=L()("edit-post-header",{"has-reduced-ui":c});return Object(r.createElement)("div",{className:l},Object(r.createElement)(Rc.Slot,null,Object(r.createElement)(mc,null)),Object(r.createElement)("div",{className:"edit-post-header__toolbar"},Object(r.createElement)(yc,null)),Object(r.createElement)("div",{className:"edit-post-header__settings"},!n&&Object(r.createElement)(i.PostSavedState,{forceIsDirty:t,forceIsSaving:o,showIconLabels:a}),Object(r.createElement)(Mc,null),Object(r.createElement)(i.PostPreviewButton,{forceIsAutosaveable:t,forcePreviewLink:o?null:void 0}),Object(r.createElement)(Ac,{forceIsDirty:t,forceIsSaving:o,setEntitiesSavedStatesCallback:e}),(s||!a)&&Object(r.createElement)(r.Fragment,null,Object(r.createElement)(B.f.Slot,{scope:"core/edit-post"}),Object(r.createElement)(Cc,{showIconLabels:a})),a&&!s&&Object(r.createElement)(Cc,{showIconLabels:a})))},Vc=n("w95h");function Fc(){const{insertionPoint:e,showMostUsedBlocks:t}=Object(b.useSelect)(e=>{const{isFeatureActive:t,__experimentalGetInsertionPoint:n}=e(w.a);return{insertionPoint:n(),showMostUsedBlocks:t("mostUsedBlocks")}},[]),{setIsInserterOpened:n}=Object(b.useDispatch)(w.a),o=Object(v.useViewportMatch)("medium","<"),[i,c]=Object(v.__experimentalUseDialog)({onClose:()=>n(!1)});return Object(r.createElement)("div",Object(u.a)({ref:i},c,{className:"edit-post-editor__inserter-panel"}),Object(r.createElement)("div",{className:"edit-post-editor__inserter-panel-header"},Object(r.createElement)(m.Button,{icon:Vc.a,onClick:()=>n(!1)})),Object(r.createElement)("div",{className:"edit-post-editor__inserter-panel-content"},Object(r.createElement)(a.__experimentalLibrary,{showMostUsedBlocks:t,showInserterHelpPanel:!0,shouldFocusBlock:o,rootClientId:e.rootClientId,__experimentalInsertionIndex:e.insertionIndex})))}var Uc=n("bWcr");function Gc(){const{setIsListViewOpened:e}=Object(b.useDispatch)(w.a),{clearSelectedBlock:t,selectBlock:n}=Object(b.useDispatch)(a.store);const o=Object(v.useFocusOnMount)("firstElement"),i=Object(v.useFocusReturn)();const c="edit-post-editor__list-view-panel-label-"+Object(v.useInstanceId)(Gc);return Object(r.createElement)("div",{"aria-labelledby":c,className:"edit-post-editor__list-view-panel",onKeyDown:function(t){t.keyCode===x.ESCAPE&&(t.stopPropagation(),e(!1))}},Object(r.createElement)("div",{className:"edit-post-editor__list-view-panel-header"},Object(r.createElement)("strong",{id:c},Object(f.__)("List view")),Object(r.createElement)(m.Button,{icon:Uc.a,label:Object(f.__)("Close list view sidebar"),onClick:()=>e(!1)})),Object(r.createElement)("div",{className:"edit-post-editor__list-view-panel-content",ref:Object(v.useMergeRefs)([i,o])},Object(r.createElement)(a.__experimentalBlockNavigationTree,{onSelect:async function(e){await t(),n(e,-1)},showNestedBlocks:!0,__experimentalPersistentListViewFeatures:!0})))}var Hc=n("Cg8A");var zc=({sidebarName:e})=>{const{openGeneralSidebar:t}=Object(b.useDispatch)(w.a),n=()=>t("edit-post/document"),{documentLabel:o,isTemplateMode:a}=Object(b.useSelect)(e=>{var t,n;const r=e("core/editor").getCurrentPostType(),o=e("core").getPostType(r);return{documentLabel:null!==(t=null==o||null===(n=o.labels)||void 0===n?void 0:n.singular_name)&&void 0!==t?t:Object(f.__)("Document"),isTemplateMode:e(w.a).isEditingTemplate()}},[]),[i,c]="edit-post/document"===e?[Object(f.sprintf)(Object(f.__)("%s (selected)"),o),"is-active"]:[o,""],[s,l]="edit-post/block"===e?[Object(f.__)("Block (selected)"),"is-active"]:[Object(f.__)("Block"),""],[u,d]="edit-post/document"===e?[Object(f.__)("Template (selected)"),"is-active"]:[Object(f.__)("Template"),""];return Object(r.createElement)("ul",null,!a&&Object(r.createElement)("li",null,Object(r.createElement)(m.Button,{onClick:n,className:"edit-post-sidebar__panel-tab "+c,"aria-label":i,"data-label":o},o)),a&&Object(r.createElement)("li",null,Object(r.createElement)(m.Button,{onClick:n,className:"edit-post-sidebar__panel-tab "+d,"aria-label":u,"data-label":Object(f.__)("Template")},Object(f.__)("Template"))),Object(r.createElement)("li",null,Object(r.createElement)(m.Button,{onClick:()=>t("edit-post/block"),className:"edit-post-sidebar__panel-tab "+l,"aria-label":s,"data-label":Object(f.__)("Block")},Object(f.__)("Block"))))};var qc=function(){return Object(r.createElement)(i.PostVisibilityCheck,{render:({canEdit:e})=>Object(r.createElement)(m.PanelRow,{className:"edit-post-post-visibility"},Object(r.createElement)("span",null,Object(f.__)("Visibility")),!e&&Object(r.createElement)("span",null,Object(r.createElement)(i.PostVisibilityLabel,null)),e&&Object(r.createElement)(m.Dropdown,{position:"bottom left",contentClassName:"edit-post-post-visibility__dialog",renderToggle:({isOpen:e,onToggle:t})=>Object(r.createElement)(m.Button,{"aria-expanded":e,className:"edit-post-post-visibility__toggle",onClick:t,isTertiary:!0},Object(r.createElement)(i.PostVisibilityLabel,null)),renderContent:()=>Object(r.createElement)(i.PostVisibility,null)}))})};function Wc(){return Object(r.createElement)(i.PostTrashCheck,null,Object(r.createElement)(m.PanelRow,null,Object(r.createElement)(i.PostTrash,null)))}var Yc=function(){const e=Object(r.useRef)();return Object(r.createElement)(i.PostScheduleCheck,null,Object(r.createElement)(m.PanelRow,{className:"edit-post-post-schedule",ref:e},Object(r.createElement)("span",null,Object(f.__)("Publish")),Object(r.createElement)(m.Dropdown,{popoverProps:{anchorRef:e.current},position:"bottom left",contentClassName:"edit-post-post-schedule__dialog",renderToggle:({onToggle:e,isOpen:t})=>Object(r.createElement)(r.Fragment,null,Object(r.createElement)(m.Button,{className:"edit-post-post-schedule__toggle",onClick:e,"aria-expanded":t,isTertiary:!0},Object(r.createElement)(i.PostScheduleLabel,null))),renderContent:()=>Object(r.createElement)(i.PostSchedule,null)})))};var Xc=function(){return Object(r.createElement)(i.PostStickyCheck,null,Object(r.createElement)(m.PanelRow,null,Object(r.createElement)(i.PostSticky,null)))};var Kc=function(){return Object(r.createElement)(i.PostAuthorCheck,null,Object(r.createElement)(m.PanelRow,null,Object(r.createElement)(i.PostAuthor,null)))};var Zc=function(){return Object(r.createElement)(i.PostSlugCheck,null,Object(r.createElement)(m.PanelRow,null,Object(r.createElement)(i.PostSlug,null)))};var Qc=function(){return Object(r.createElement)(i.PostFormatCheck,null,Object(r.createElement)(m.PanelRow,null,Object(r.createElement)(i.PostFormat,null)))};var $c=function(){return Object(r.createElement)(i.PostPendingStatusCheck,null,Object(r.createElement)(m.PanelRow,null,Object(r.createElement)(i.PostPendingStatus,null)))};const{Fill:Jc,Slot:es}=Object(m.createSlotFill)("PluginPostStatusInfo"),ts=({children:e,className:t})=>Object(r.createElement)(Jc,null,Object(r.createElement)(m.PanelRow,{className:t},e));ts.Slot=es;var ns=ts;var rs=Object(v.compose)([Object(b.withSelect)(e=>{const{isEditorPanelRemoved:t,isEditorPanelOpened:n}=e(w.a);return{isRemoved:t("post-status"),isOpened:n("post-status")}}),Object(v.ifCondition)(({isRemoved:e})=>!e),Object(b.withDispatch)(e=>({onTogglePanel:()=>e(w.a).toggleEditorPanelOpened("post-status")}))])((function({isOpened:e,onTogglePanel:t}){return Object(r.createElement)(m.PanelBody,{className:"edit-post-post-status",title:Object(f.__)("Status & visibility"),opened:e,onToggle:t},Object(r.createElement)(ns.Slot,null,e=>Object(r.createElement)(r.Fragment,null,Object(r.createElement)(qc,null),Object(r.createElement)(Yc,null),Object(r.createElement)(Qc,null),Object(r.createElement)(Xc,null),Object(r.createElement)($c,null),Object(r.createElement)(Zc,null),Object(r.createElement)(Kc,null),e,Object(r.createElement)(Wc,null))))}));var os=function(){return Object(r.createElement)(i.PostLastRevisionCheck,null,Object(r.createElement)(m.PanelBody,{className:"edit-post-last-revision__panel"},Object(r.createElement)(i.PostLastRevision,null)))};var as=Object(v.compose)(Object(b.withSelect)((e,t)=>{const n=Object(d.get)(t.taxonomy,["slug"]),r=n?"taxonomy-panel-"+n:"";return{panelName:r,isEnabled:!!n&&e(w.a).isEditorPanelEnabled(r),isOpened:!!n&&e(w.a).isEditorPanelOpened(r)}}),Object(b.withDispatch)((e,t)=>({onTogglePanel:()=>{e(w.a).toggleEditorPanelOpened(t.panelName)}})))((function({isEnabled:e,taxonomy:t,isOpened:n,onTogglePanel:o,children:a}){if(!e)return null;const i=Object(d.get)(t,["labels","menu_name"]);return i?Object(r.createElement)(m.PanelBody,{title:i,opened:n,onToggle:o},a):null}));var is=function(){return Object(r.createElement)(i.PostTaxonomiesCheck,null,Object(r.createElement)(i.PostTaxonomies,{taxonomyWrapper:(e,t)=>Object(r.createElement)(as,{taxonomy:t},e)}))};const cs=Object(b.withSelect)(e=>{const{getEditedPostAttribute:t}=e("core/editor"),{getPostType:n}=e("core"),{isEditorPanelEnabled:r,isEditorPanelOpened:o}=e(w.a);return{postType:n(t("type")),isEnabled:r("featured-image"),isOpened:o("featured-image")}}),ss=Object(b.withDispatch)(e=>{const{toggleEditorPanelOpened:t}=e(w.a);return{onTogglePanel:Object(d.partial)(t,"featured-image")}});var ls=Object(v.compose)(cs,ss)((function({isEnabled:e,isOpened:t,postType:n,onTogglePanel:o}){return e?Object(r.createElement)(i.PostFeaturedImageCheck,null,Object(r.createElement)(m.PanelBody,{title:Object(d.get)(n,["labels","featured_image"],Object(f.__)("Featured image")),opened:t,onToggle:o},Object(r.createElement)(i.PostFeaturedImage,null))):null}));var us=Object(v.compose)([Object(b.withSelect)(e=>({isEnabled:e(w.a).isEditorPanelEnabled("post-excerpt"),isOpened:e(w.a).isEditorPanelOpened("post-excerpt")})),Object(b.withDispatch)(e=>({onTogglePanel:()=>e(w.a).toggleEditorPanelOpened("post-excerpt")}))])((function({isEnabled:e,isOpened:t,onTogglePanel:n}){return e?Object(r.createElement)(i.PostExcerptCheck,null,Object(r.createElement)(m.PanelBody,{title:Object(f.__)("Excerpt"),opened:t,onToggle:n},Object(r.createElement)(i.PostExcerpt,null))):null}));var ds=Object(v.compose)([Object(b.withSelect)(e=>{const{isPermalinkEditable:t,getCurrentPost:n,isCurrentPostPublished:r,getPermalinkParts:o,getEditedPostAttribute:a,getEditedPostSlug:i}=e("core/editor"),{isEditorPanelEnabled:c,isEditorPanelOpened:s}=e(w.a),{getPostType:l}=e("core"),{link:u}=n(),p=l(a("type")),m=o();return{postLink:u,isEditable:t(),isPublished:r(),isOpened:s("post-link"),isEnabled:c("post-link"),isViewable:Object(d.get)(p,["viewable"],!1),postSlug:Object(j.safeDecodeURIComponent)(i()),postTypeLabel:Object(d.get)(p,["labels","view_item"]),hasPermalinkParts:!!m,permalinkPrefix:null==m?void 0:m.prefix,permalinkSuffix:null==m?void 0:m.suffix}}),Object(v.ifCondition)(({isEnabled:e,postLink:t,isViewable:n,hasPermalinkParts:r})=>e&&t&&n&&r),Object(b.withDispatch)(e=>{const{toggleEditorPanelOpened:t}=e(w.a),{editPost:n}=e("core/editor");return{onTogglePanel:()=>t("post-link"),editPermalink:e=>{n({slug:e})}}}),Object(v.withState)({forceEmptyField:!1})])((function({isOpened:e,onTogglePanel:t,isEditable:n,postLink:o,permalinkPrefix:a,permalinkSuffix:c,editPermalink:s,forceEmptyField:l,setState:u,postSlug:d,postTypeLabel:p}){let b,v,h;return n&&(b=a&&Object(r.createElement)("span",{className:"edit-post-post-link__link-prefix"},a),v=d&&Object(r.createElement)("span",{className:"edit-post-post-link__link-post-name"},d),h=c&&Object(r.createElement)("span",{className:"edit-post-post-link__link-suffix"},c)),Object(r.createElement)(m.PanelBody,{title:Object(f.__)("Permalink"),opened:e,onToggle:t},n&&Object(r.createElement)("div",{className:"editor-post-link"},Object(r.createElement)(m.TextControl,{label:Object(f.__)("URL Slug"),value:l?"":d,onChange:e=>{s(e),e?l&&u({forceEmptyField:!1}):l||u({forceEmptyField:!0})},onBlur:e=>{s(Object(i.cleanForSlug)(e.target.value)),l&&u({forceEmptyField:!1})}}),Object(r.createElement)("p",null,Object(f.__)("The last part of the URL.")," ",Object(r.createElement)(m.ExternalLink,{href:"https://wordpress.org/support/article/writing-posts/#post-field-descriptions"},Object(f.__)("Read about permalinks")))),Object(r.createElement)("h3",{className:"edit-post-post-link__preview-label"},p||Object(f.__)("View post")),Object(r.createElement)("div",{className:"edit-post-post-link__preview-link-container"},Object(r.createElement)(m.ExternalLink,{className:"edit-post-post-link__link",href:o,target:"_blank"},n?Object(r.createElement)(r.Fragment,null,b,v,h):o)))}));var ps=Object(v.compose)([Object(b.withSelect)(e=>({isEnabled:e(w.a).isEditorPanelEnabled("discussion-panel"),isOpened:e(w.a).isEditorPanelOpened("discussion-panel")})),Object(b.withDispatch)(e=>({onTogglePanel:()=>e(w.a).toggleEditorPanelOpened("discussion-panel")}))])((function({isEnabled:e,isOpened:t,onTogglePanel:n}){return e?Object(r.createElement)(i.PostTypeSupportCheck,{supportKeys:["comments","trackbacks"]},Object(r.createElement)(m.PanelBody,{title:Object(f.__)("Discussion"),opened:t,onToggle:n},Object(r.createElement)(i.PostTypeSupportCheck,{supportKeys:"comments"},Object(r.createElement)(m.PanelRow,null,Object(r.createElement)(i.PostComments,null))),Object(r.createElement)(i.PostTypeSupportCheck,{supportKeys:"trackbacks"},Object(r.createElement)(m.PanelRow,null,Object(r.createElement)(i.PostPingbacks,null))))):null}));var ms=function(){const{isEnabled:e,isOpened:t,postType:n}=Object(b.useSelect)(e=>{const{getEditedPostAttribute:t}=e(i.store),{isEditorPanelEnabled:n,isEditorPanelOpened:r}=e(w.a),{getPostType:a}=e(o.store);return{isEnabled:n("page-attributes"),isOpened:r("page-attributes"),postType:a(t("type"))}},[]),{toggleEditorPanelOpened:a}=Object(b.useDispatch)(w.a);if(!e||!n)return null;const c=Object(d.partial)(a,"page-attributes");return Object(r.createElement)(i.PageAttributesCheck,null,Object(r.createElement)(m.PanelBody,{title:Object(d.get)(n,["labels","attributes"],Object(f.__)("Page attributes")),opened:t,onToggle:c},Object(r.createElement)(i.PageAttributesParent,null),Object(r.createElement)(m.PanelRow,null,Object(r.createElement)(i.PageAttributesOrder,null))))};class bs extends r.Component{constructor(){super(...arguments),this.bindContainerNode=this.bindContainerNode.bind(this)}componentDidMount(){this.form=document.querySelector(".metabox-location-"+this.props.location),this.form&&this.container.appendChild(this.form)}componentWillUnmount(){this.form&&document.querySelector("#metaboxes").appendChild(this.form)}bindContainerNode(e){this.container=e}render(){const{location:e,isSaving:t}=this.props,n=L()("edit-post-meta-boxes-area","is-"+e,{"is-loading":t});return Object(r.createElement)("div",{className:n},t&&Object(r.createElement)(m.Spinner,null),Object(r.createElement)("div",{className:"edit-post-meta-boxes-area__container",ref:this.bindContainerNode}),Object(r.createElement)("div",{className:"edit-post-meta-boxes-area__clear"}))}}var fs=Object(b.withSelect)(e=>({isSaving:e(w.a).isSavingMetaBoxes()}))(bs);class vs 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 hs=Object(b.withSelect)((e,{id:t})=>({isVisible:e(w.a).isEditorPanelEnabled("meta-box-"+t)}))(vs);var gs=Object(b.withSelect)((e,{location:t})=>{const{isMetaBoxLocationVisible:n,getMetaBoxesPerLocation:r}=e(w.a);return{metaBoxes:r(t),isVisible:n(t)}})((function({location:e,isVisible:t,metaBoxes:n}){return Object(r.createElement)(r.Fragment,null,Object(d.map)(n,({id:e})=>Object(r.createElement)(hs,{key:e,id:e})),t&&Object(r.createElement)(fs,{location:e}))})),Os=n("xrib");function ys({className:e,...t}){const{postTitle:n,shortcut:o,showIconLabels:a}=Object(b.useSelect)(e=>({postTitle:e("core/editor").getEditedPostAttribute("title"),shortcut:e(N.store).getShortcutRepresentation("core/edit-post/toggle-sidebar"),showIconLabels:e(w.a).isFeatureActive("showIconLabels")}));return Object(r.createElement)(B.b,Object(u.a)({panelClassName:e,className:"edit-post-sidebar",smallScreenTitle:n||Object(f.__)("(no title)"),scope:"core/edit-post",toggleShortcut:o,showIconLabels:a},t))}var js=function(){const[e,t]=Object(r.useState)(!1),[n,a]=Object(r.useState)(""),{template:c,supportsTemplateMode:s}=Object(b.useSelect)(e=>{var t,n;const{getCurrentPostType:r}=e(i.store),{getPostType:a}=e(o.store),{getEditedPostTemplate:c}=e(w.a),s=null!==(t=null===(n=a(r()))||void 0===n?void 0:n.viewable)&&void 0!==t&&t,l=e(i.store).getEditorSettings().supportsTemplateMode&&s;return{template:l&&c(),supportsTemplateMode:l}},[]),{__unstableSwitchToTemplateMode:l}=Object(b.useDispatch)(w.a);return s?Object(r.createElement)(r.Fragment,null,Object(r.createElement)("div",{className:"edit-post-template__actions"},!!c&&Object(r.createElement)(m.Button,{isLink:!0,onClick:()=>l()},Object(f.__)("Edit")),Object(r.createElement)(m.Button,{isLink:!0,onClick:()=>t(!0)},Object(f.__)("New"))),e&&Object(r.createElement)(m.Modal,{title:Object(f.__)("Create a custom template"),closeLabel:Object(f.__)("Close"),onRequestClose:()=>{t(!1),a("")},overlayClassName:"edit-post-template__modal"},Object(r.createElement)("form",{onSubmit:e=>{e.preventDefault();const r=Object(f.__)("Custom Template"),o=[Object(p.createBlock)("core/site-title"),Object(p.createBlock)("core/site-tagline"),Object(p.createBlock)("core/separator"),Object(p.createBlock)("core/post-title"),Object(p.createBlock)("core/post-content",{layout:{inherit:!0}})];l({slug:"wp-custom-template-"+Object(d.kebabCase)(null!=n?n:r),content:Object(p.serialize)(o),title:null!=n?n:r}),t(!1)}},Object(r.createElement)(m.TextControl,{label:Object(f.__)("Name"),value:n,onChange:a}),Object(r.createElement)(m.Flex,{className:"edit-post-post-template__modal-actions",justify:"flex-end"},Object(r.createElement)(m.FlexItem,null,Object(r.createElement)(m.Button,{isSecondary:!0,onClick:()=>{t(!1),a("")}},Object(f.__)("Cancel"))),Object(r.createElement)(m.FlexItem,null,Object(r.createElement)(m.Button,{isPrimary:!0,type:"submit"},Object(f.__)("Create"))))))):null};var Es=function(){const{isEnabled:e,isOpened:t,selectedTemplate:n,availableTemplates:a,isViewable:c,template:s,supportsTemplateMode:l}=Object(b.useSelect)(e=>{var t,n;const{isEditorPanelEnabled:r,isEditorPanelOpened:a,getEditedPostTemplate:c}=e(w.a),{getEditedPostAttribute:s,getEditorSettings:l,getCurrentPostType:u}=e(i.store),{getPostType:d}=e(o.store),p=null!==(t=null===(n=d(u()))||void 0===n?void 0:n.viewable)&&void 0!==t&&t,m=e(i.store).getEditorSettings().supportsTemplateMode&&p;return{isEnabled:r("template"),isOpened:a("template"),selectedTemplate:s("template"),availableTemplates:l().availableTemplates,template:m&&c(),isViewable:p,supportsTemplateMode:m}},[]),{toggleEditorPanelOpened:u}=Object(b.useDispatch)(w.a),{editPost:p}=Object(b.useDispatch)(i.store);if(!e||!c||Object(d.isEmpty)(a)&&!l)return null;const v=Object(d.partial)(u,"template");let h=Object(f.__)("Template");var g;return s&&(h=Object(f.sprintf)(Object(f.__)("Template: %s"),null!==(g=null==s?void 0:s.title)&&void 0!==g?g:s.slug)),Object(r.createElement)(m.PanelBody,{title:h,opened:t,onToggle:v},Object(r.createElement)(m.SelectControl,{hideLabelFromVision:!0,label:Object(f.__)("Template:"),value:n,onChange:e=>{p({template:e||""})},options:Object(d.map)(a,(e,t)=>({value:t,label:e}))}),Object(r.createElement)(js,null))},_s=n("iClF"),ws=n("Civd");var Ss=function(){const e=Object(b.useSelect)(e=>{const{getEditedPostTemplate:t}=e(w.a);return t()},[]);return e?Object(r.createElement)(m.PanelBody,null,Object(r.createElement)(m.Flex,{align:"flex-start"},Object(r.createElement)(m.FlexItem,null,Object(r.createElement)(_s.a,{icon:ws.a})),Object(r.createElement)(m.FlexBlock,null,Object(r.createElement)("h2",{className:"edit-post-template-summary__title"},(null==e?void 0:e.title)||(null==e?void 0:e.slug)),Object(r.createElement)("p",null,null==e?void 0:e.description)))):null};const xs=r.Platform.select({web:!0,native:!1});var Ps=()=>{const{sidebarName:e,keyboardShortcut:t,isTemplateMode:n}=Object(b.useSelect)(e=>{let t=e(B.g).getActiveComplementaryArea(w.a.name);["edit-post/document","edit-post/block"].includes(t)||(e(a.store).getBlockSelectionStart()&&(t="edit-post/block"),t="edit-post/document");return{sidebarName:t,keyboardShortcut:e(N.store).getShortcutRepresentation("core/edit-post/toggle-sidebar"),isTemplateMode:e(w.a).isEditingTemplate()}},[]);return Object(r.createElement)(ys,{identifier:e,header:Object(r.createElement)(zc,{sidebarName:e}),closeLabel:Object(f.__)("Close settings"),headerClassName:"edit-post-sidebar__panel-tabs",title:Object(f.__)("Settings"),toggleShortcut:t,icon:Hc.a,isActiveByDefault:xs},!n&&"edit-post/document"===e&&Object(r.createElement)(r.Fragment,null,Object(r.createElement)(rs,null),Object(r.createElement)(Es,null),Object(r.createElement)(Os.a.Slot,null),Object(r.createElement)(os,null),Object(r.createElement)(ds,null),Object(r.createElement)(is,null),Object(r.createElement)(ls,null),Object(r.createElement)(us,null),Object(r.createElement)(ps,null),Object(r.createElement)(ms,null),Object(r.createElement)(gs,{location:"side"})),n&&"edit-post/document"===e&&Object(r.createElement)(Ss,null),"edit-post/block"===e&&Object(r.createElement)(a.BlockInspector,null))};function Ts({nonAnimatedSrc:e,animatedSrc:t}){return Object(r.createElement)("picture",{className:"edit-post-welcome-guide__image"},Object(r.createElement)("source",{srcSet:e,media:"(prefers-reduced-motion: reduce)"}),Object(r.createElement)("img",{src:t,width:"312",height:"240",alt:""}))}function ks(){const{toggleFeature:e}=Object(b.useDispatch)(w.a);return Object(r.createElement)(m.Guide,{className:"edit-post-welcome-guide",contentLabel:Object(f.__)("Welcome to the block editor"),finishButtonText:Object(f.__)("Get started"),onFinish:()=>e("welcomeGuide"),pages:[{image:Object(r.createElement)(Ts,{nonAnimatedSrc:"https://s.w.org/images/block-editor/welcome-canvas.svg",animatedSrc:"https://s.w.org/images/block-editor/welcome-canvas.gif"}),content:Object(r.createElement)(r.Fragment,null,Object(r.createElement)("h1",{className:"edit-post-welcome-guide__heading"},Object(f.__)("Welcome to the block editor")),Object(r.createElement)("p",{className:"edit-post-welcome-guide__text"},Object(f.__)("In the WordPress editor, each paragraph, image, or video is presented as a distinct “block” of content.")))},{image:Object(r.createElement)(Ts,{nonAnimatedSrc:"https://s.w.org/images/block-editor/welcome-editor.svg",animatedSrc:"https://s.w.org/images/block-editor/welcome-editor.gif"}),content:Object(r.createElement)(r.Fragment,null,Object(r.createElement)("h1",{className:"edit-post-welcome-guide__heading"},Object(f.__)("Make each block your own")),Object(r.createElement)("p",{className:"edit-post-welcome-guide__text"},Object(f.__)("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(r.createElement)(Ts,{nonAnimatedSrc:"https://s.w.org/images/block-editor/welcome-library.svg",animatedSrc:"https://s.w.org/images/block-editor/welcome-library.gif"}),content:Object(r.createElement)(r.Fragment,null,Object(r.createElement)("h1",{className:"edit-post-welcome-guide__heading"},Object(f.__)("Get to know the block library")),Object(r.createElement)("p",{className:"edit-post-welcome-guide__text"},Object(r.createInterpolateElement)(Object(f.__)("All of the blocks available to you live in the block library. You’ll find it wherever you see the <InserterIconImage /> icon."),{InserterIconImage:Object(r.createElement)("img",{alt:Object(f.__)("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(r.createElement)(Ts,{nonAnimatedSrc:"https://s.w.org/images/block-editor/welcome-documentation.svg",animatedSrc:"https://s.w.org/images/block-editor/welcome-documentation.gif"}),content:Object(r.createElement)(r.Fragment,null,Object(r.createElement)("h1",{className:"edit-post-welcome-guide__heading"},Object(f.__)("Learn how to use the block editor")),Object(r.createElement)("p",{className:"edit-post-welcome-guide__text"},Object(f.__)("New to the block editor? Want to learn more about using it? "),Object(r.createElement)(m.ExternalLink,{href:Object(f.__)("https://wordpress.org/support/article/wordpress-editor/")},Object(f.__)("Here's a detailed guide."))))}]})}function Cs(){const{toggleFeature:e}=Object(b.useDispatch)(w.a);return Object(r.createElement)(m.Guide,{className:"edit-post-welcome-guide",contentLabel:Object(f.__)("Welcome to the template editor"),finishButtonText:Object(f.__)("Get started"),onFinish:()=>e("welcomeGuideTemplate"),pages:[{image:Object(r.createElement)(Ts,{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(r.createElement)(r.Fragment,null,Object(r.createElement)("h1",{className:"edit-post-welcome-guide__heading"},Object(f.__)("Welcome to the template editor")),Object(r.createElement)("p",{className:"edit-post-welcome-guide__text"},Object(f.__)("Templates express the layout of the site. Customize all aspects of your posts and pages using the tools of blocks and patterns.")))}]})}function As(){const{isActive:e,isTemplateMode:t}=Object(b.useSelect)(e=>{const{isFeatureActive:t,isEditingTemplate:n}=e(w.a),r=n();return{isActive:t(r?"welcomeGuideTemplate":"welcomeGuide"),isTemplateMode:r}},[]);return e?t?Object(r.createElement)(Cs,null):Object(r.createElement)(ks,null):null}const{Fill:Ms,Slot:Is}=Object(m.createSlotFill)("PluginPostPublishPanel"),Ls=Object(v.compose)(Object(y.withPluginContext)((e,t)=>({icon:t.icon||e.icon})))(({children:e,className:t,title:n,initialOpen:o=!1,icon:a})=>Object(r.createElement)(Ms,null,Object(r.createElement)(m.PanelBody,{className:t,initialOpen:o||!n,title:n,icon:a},e)));Ls.Slot=Is;var Bs=Ls;const{Fill:Ns,Slot:Rs}=Object(m.createSlotFill)("PluginPrePublishPanel"),Ds=Object(v.compose)(Object(y.withPluginContext)((e,t)=>({icon:t.icon||e.icon})))(({children:e,className:t,title:n,initialOpen:o=!1,icon:a})=>Object(r.createElement)(Ns,null,Object(r.createElement)(m.PanelBody,{className:t,initialOpen:o||!n,title:n,icon:a},e)));Ds.Slot=Rs;var Vs=Ds;const{Fill:Fs,Slot:Us}=Object(m.createSlotFill)("ActionsPanel");function Gs({setEntitiesSavedStatesCallback:e,closeEntitiesSavedStates:t,isEntitiesSavedStatesOpen:n}){const{closePublishSidebar:o,togglePublishSidebar:a}=Object(b.useDispatch)(w.a),{publishSidebarOpened:c,hasActiveMetaboxes:s,isSavingMetaBoxes:l,hasNonPostEntityChanges:u}=Object(b.useSelect)(e=>({publishSidebarOpened:e(w.a).isPublishSidebarOpened(),hasActiveMetaboxes:e(w.a).hasMetaBoxes(),isSavingMetaBoxes:e(w.a).isSavingMetaBoxes(),hasNonPostEntityChanges:e("core/editor").hasNonPostEntityChanges()}),[]),d=Object(r.useCallback)(()=>e(!0),[]);let p;return p=c?Object(r.createElement)(i.PostPublishPanel,{onClose:o,forceIsDirty:s,forceIsSaving:l,PrePublishExtension:Vs.Slot,PostPublishExtension:Bs.Slot}):u?Object(r.createElement)("div",{className:"edit-post-layout__toggle-entities-saved-states-panel"},Object(r.createElement)(m.Button,{isSecondary:!0,className:"edit-post-layout__toggle-entities-saved-states-panel-button",onClick:d,"aria-expanded":!1},Object(f.__)("Open save panel"))):Object(r.createElement)("div",{className:"edit-post-layout__toggle-publish-panel"},Object(r.createElement)(m.Button,{isSecondary:!0,className:"edit-post-layout__toggle-publish-panel-button",onClick:a,"aria-expanded":!1},Object(f.__)("Open publish panel"))),Object(r.createElement)(r.Fragment,null,n&&Object(r.createElement)(i.EntitiesSavedStates,{close:t}),Object(r.createElement)(Us,{bubblesVirtually:!0}),!n&&p)}const Hs={secondarySidebar:Object(f.__)("Block library"),header:Object(f.__)("Editor top bar"),body:Object(f.__)("Editor content"),sidebar:Object(f.__)("Editor settings"),actions:Object(f.__)("Editor publish"),footer:Object(f.__)("Editor footer")};var zs=function({styles:e}){const t=Object(v.useViewportMatch)("medium","<"),n=Object(v.useViewportMatch)("huge",">="),{openGeneralSidebar:o,closeGeneralSidebar:c,setIsInserterOpened:s}=Object(b.useDispatch)(w.a),{mode:l,isFullscreenActive:u,isRichEditingEnabled:d,sidebarIsOpened:p,hasActiveMetaboxes:h,hasFixedToolbar:g,previousShortcut:O,nextShortcut:j,hasBlockSelected:E,isInserterOpened:_,isListViewOpened:S,showIconLabels:x,hasReducedUI:P,showBlockBreadcrumbs:T,isTemplateMode:k}=Object(b.useSelect)(e=>{const t=e(i.store).getEditorSettings();return{isTemplateMode:e(w.a).isEditingTemplate(),hasFixedToolbar:e(w.a).isFeatureActive("fixedToolbar"),sidebarIsOpened:!(!e(B.g).getActiveComplementaryArea(w.a.name)&&!e(w.a).isPublishSidebarOpened()),isFullscreenActive:e(w.a).isFeatureActive("fullscreenMode"),isInserterOpened:e(w.a).isInserterOpened(),isListViewOpened:e(w.a).isListViewOpened(),mode:e(w.a).getEditorMode(),isRichEditingEnabled:t.richEditingEnabled,hasActiveMetaboxes:e(w.a).hasMetaBoxes(),previousShortcut:e(N.store).getAllShortcutRawKeyCombinations("core/edit-post/previous-region"),nextShortcut:e(N.store).getAllShortcutRawKeyCombinations("core/edit-post/next-region"),showIconLabels:e(w.a).isFeatureActive("showIconLabels"),hasReducedUI:e(w.a).isFeatureActive("reducedUI"),showBlockBreadcrumbs:e(w.a).isFeatureActive("showBlockBreadcrumbs")}},[]),C=L()("edit-post-layout","is-mode-"+l,{"is-sidebar-opened":p,"has-fixed-toolbar":g,"has-metaboxes":h,"show-icon-labels":x});Object(r.useEffect)(()=>{p&&!n&&s(!1)},[p,n]),Object(r.useEffect)(()=>{_&&!n&&c()},[_,n]);const[A,M]=Object(r.useState)(!1),I=Object(r.useCallback)(e=>{"function"==typeof A&&A(e),M(!1)},[A]);return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(B.d,{isActive:u}),Object(r.createElement)(dc,null),Object(r.createElement)(i.UnsavedChangesWarning,null),Object(r.createElement)(i.AutosaveMonitor,null),Object(r.createElement)(i.LocalAutosaveMonitor,null),Object(r.createElement)(qi,null),Object(r.createElement)(i.EditorKeyboardShortcutsRegister,null),Object(r.createElement)(Ps,null),Object(r.createElement)(B.e,{className:C,labels:Hs,header:Object(r.createElement)(Dc,{setEntitiesSavedStatesCallback:M}),secondarySidebar:"visual"===l&&_?Object(r.createElement)(Fc,null):"visual"===l&&S?Object(r.createElement)(b.AsyncModeProvider,{value:"true"},Object(r.createElement)(Gc,null)):null,sidebar:(!t||p)&&Object(r.createElement)(r.Fragment,null,!t&&!p&&Object(r.createElement)("div",{className:"edit-post-layout__toggle-sidebar-panel"},Object(r.createElement)(m.Button,{isSecondary:!0,className:"edit-post-layout__toggle-sidebar-panel-button",onClick:()=>o(E?"edit-post/block":"edit-post/document"),"aria-expanded":!1},E?Object(f.__)("Open block settings"):Object(f.__)("Open document settings"))),Object(r.createElement)(B.b.Slot,{scope:"core/edit-post"})),content:Object(r.createElement)(r.Fragment,null,Object(r.createElement)(i.EditorNotices,null),("text"===l||!d)&&Object(r.createElement)(R,null),d&&"visual"===l&&Object(r.createElement)(zi,{styles:e}),!k&&Object(r.createElement)("div",{className:"edit-post-layout__metaboxes"},Object(r.createElement)(gs,{location:"normal"}),Object(r.createElement)(gs,{location:"advanced"})),t&&p&&Object(r.createElement)(m.ScrollLock,null)),footer:!P&&T&&!t&&d&&"visual"===l&&Object(r.createElement)("div",{className:"edit-post-layout__footer"},Object(r.createElement)(a.BlockBreadcrumb,null)),actions:Object(r.createElement)(Gs,{closeEntitiesSavedStates:I,isEntitiesSavedStatesOpen:A,setEntitiesSavedStatesCallback:M}),shortcuts:{previous:O,next:j}}),Object(r.createElement)(ac,null),Object(r.createElement)(lc,null),Object(r.createElement)(ec,null),Object(r.createElement)(As,null),Object(r.createElement)(m.Popover.Slot,null),Object(r.createElement)(y.PluginArea,null))},qs=n("0dt7");function Ws({postId:e}){return(e=>{const{hasBlockSelection:t,isEditorSidebarOpened:n}=Object(b.useSelect)(e=>({hasBlockSelection:!!e("core/block-editor").getBlockSelectionStart(),isEditorSidebarOpened:e(qs.a).isEditorSidebarOpened()}),[e]),{openGeneralSidebar:o}=Object(b.useDispatch)(qs.a);Object(r.useEffect)(()=>{n&&o(t?"edit-post/block":"edit-post/document")},[t,n])})(e),(e=>{const{newPermalink:t}=Object(b.useSelect)(e=>({newPermalink:e("core/editor").getCurrentPost().link}),[e]),n=Object(r.useRef)();Object(r.useEffect)(()=>{n.current=document.querySelector(qs.c)||document.querySelector(qs.b)},[e]),Object(r.useEffect)(()=>{t&&n.current&&n.current.setAttribute("href",t)},[t])})(e),null}var Ys=function({postId:e,postType:t,settings:n,initialEdits:o,onError:a,...c}){const{hasFixedToolbar:s,focusMode:l,hasReducedUI:f,hasThemeStyles:v,post:h,preferredStyleVariations:g,hiddenBlockTypes:O,blockTypes:y,__experimentalLocalAutosaveInterval:j,keepCaretInsideBlock:E,isTemplateMode:_,template:S}=Object(b.useSelect)(n=>{var r,o;const{isFeatureActive:a,getPreference:i,__experimentalGetPreviewDeviceType:c,isEditingTemplate:s,getEditedPostTemplate:l}=n(w.a),{getEntityRecord:u,getPostType:d,getEntityRecords:m}=n("core"),{getEditorSettings:b}=n("core/editor"),{getBlockTypes:f}=n(p.store);let v;if(["wp_template","wp_template_part"].includes(t)){const n=m("postType",t,{wp_id:e});v=null==n?void 0:n[0]}else v=u("postType",t,e);const h=b().supportsTemplateMode,g=null!==(r=null===(o=d(t))||void 0===o?void 0:o.viewable)&&void 0!==r&&r;return{hasFixedToolbar:a("fixedToolbar")||"Desktop"!==c(),focusMode:a("focusMode"),hasReducedUI:a("reducedUI"),hasThemeStyles:a("themeStyles"),preferredStyleVariations:i("preferredStyleVariations"),hiddenBlockTypes:i("hiddenBlockTypes"),blockTypes:f(),__experimentalLocalAutosaveInterval:i("localAutosaveInterval"),keepCaretInsideBlock:a("keepCaretInsideBlock"),isTemplateMode:s(),template:h&&g?l():null,post:v}}),{updatePreferredStyleVariations:x,setIsInserterOpened:P}=Object(b.useDispatch)(w.a),T=Object(r.useMemo)(()=>{const e={...Object(d.omit)(n,["styles"]),__experimentalPreferredStyleVariations:{value:g,onChange:x},hasFixedToolbar:s,focusMode:l,hasReducedUI:f,__experimentalLocalAutosaveInterval:j,__experimentalSetIsInserterOpened:P,keepCaretInsideBlock:E};if(Object(d.size)(O)>0){const t=!0===n.allowedBlockTypes?Object(d.map)(y,"name"):n.allowedBlockTypes||[];e.allowedBlockTypes=Object(d.without)(t,...O)}return e},[n,s,l,f,O,y,g,j,P,x,E]),k=Object(r.useMemo)(()=>v?n.styles:[],[n,v]);return h?Object(r.createElement)(r.StrictMode,null,Object(r.createElement)(nc.Provider,{value:n},Object(r.createElement)(m.SlotFillProvider,null,Object(r.createElement)(i.EditorProvider,Object(u.a)({settings:T,post:h,initialEdits:o,useSubRegistry:!1,__unstableTemplate:_?S:void 0},c),Object(r.createElement)(i.ErrorBoundary,{onError:a},Object(r.createElement)(Ws,{postId:e}),Object(r.createElement)(zs,{styles:k}),Object(r.createElement)(m.KeyboardShortcuts,{shortcuts:M})),Object(r.createElement)(i.PostLockedModal,null))))):null};const Xs=(e,t)=>{return!Array.isArray(t)||(n=e,r=t,0===Object(d.difference)(n,r).length);var n,r};var Ks=({allowedBlocks:e,icon:t,label:n,onClick:o,small:i,role:c})=>Object(r.createElement)(a.BlockSettingsMenuControls,null,({selectedBlocks:a,onClose:s})=>Xs(a,e)?Object(r.createElement)(m.MenuItem,{onClick:Object(v.compose)(o,s),icon:t,label:i?n:void 0,role:c},!i&&n):null),Zs=Object(v.compose)(Object(y.withPluginContext)((e,t)=>({icon:t.icon||e.icon,name:"core/edit-post/plugin-more-menu"})))(B.a);function Qs(e){return Object(r.createElement)(B.c,Object(u.a)({__unstableExplicitMenuItem:!0,scope:"core/edit-post"},e))}function $s(e,t,n,o,a){Object(r.unmountComponentAtNode)(n);const i=$s.bind(null,e,t,n,o,a);Object(r.render)(Object(r.createElement)(Ys,{settings:o,onError:i,postId:t,postType:e,initialEdits:a,recovery:!0}),n)}function Js(e,t,n,o,a){const i=document.getElementById(e),s=$s.bind(null,t,n,i,o,a);Object(c.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(r.render)(Object(r.createElement)(Ys,{settings:o,onError:s,postId:n,postType:t,initialEdits: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},iClF:function(e,t,n){"use strict";var r=n("GRId");t.a=function({icon:e,size:t=24,...n}){return Object(r.cloneElement)(e,{width:t,height:t,...n})}},jSdM:function(e,t){e.exports=window.wp.editor},jZUy:function(e,t){e.exports=window.wp.coreData},l3Sj:function(e,t){e.exports=window.wp.i18n},onLe:function(e,t){e.exports=window.wp.notices},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}},"tI+e":function(e,t){e.exports=window.wp.components},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},wduq: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:"-2 -2 24 24"},Object(r.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"}));t.a=a},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}))},xrib:function(e,t,n){"use strict";(function(e){var r=n("GRId"),o=n("tI+e"),a=n("K9lf"),i=n("TvNi"),c=n("1ZqX"),s=(n("Z23Y"),n("Y5n4")),l=n("T40v");const{Fill:u,Slot:d}=Object(o.createSlotFill)("PluginDocumentSettingPanel"),p=Object(a.compose)(Object(i.withPluginContext)((t,n)=>(void 0===n.name&&void 0!==e&&e.env,{icon:n.icon||t.icon,panelName:`${t.name}/${n.name}`})),Object(c.withSelect)((e,{panelName:t})=>({opened:e(l.a).isEditorPanelOpened(t),isEnabled:e(l.a).isEditorPanelEnabled(t)})),Object(c.withDispatch)((e,{panelName:t})=>({onToggle:()=>e(l.a).toggleEditorPanelOpened(t)})))(({isEnabled:e,panelName:t,opened:n,onToggle:a,className:i,title:c,icon:l,children:d})=>Object(r.createElement)(r.Fragment,null,Object(r.createElement)(s.d,{label:c,panelName:t}),Object(r.createElement)(u,null,e&&Object(r.createElement)(o.PanelBody,{className:i,title:c,icon:l,opened:n,onToggle:a},d))));p.Slot=d,t.a=p}).call(this,n("8oxB"))}}); \ 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 925aa3f97e..622b8c7303 100644 --- a/wp-includes/js/dist/edit-widgets.js +++ b/wp-includes/js/dist/edit-widgets.js @@ -649,8 +649,9 @@ function transformWidgetToBlock(widget) { } function transformBlockToWidget(block, relatedWidget = {}) { let widget; + const isValidLegacyWidgetBlock = block.name === 'core/legacy-widget' && (block.attributes.id || block.attributes.instance); - if (block.name === 'core/legacy-widget') { + if (isValidLegacyWidgetBlock) { var _block$attributes$id, _block$attributes$idB, _block$attributes$ins; widget = { ...relatedWidget, @@ -667,15 +668,9 @@ function transformBlockToWidget(block, relatedWidget = {}) { } } }; - } // Delete deprecated properties. + } // Delete read-only properties. - delete widget.description; - delete widget.name; - delete widget.number; - delete widget.settings; - delete widget.widget_class; // Delete read-only properties. - delete widget.rendered; delete widget.rendered_form; return widget; @@ -1905,7 +1900,7 @@ function WidgetAreas({ }), Object(external_wp_element_["createElement"])("div", null, Object(external_wp_element_["createElement"])("p", null, 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: 'themes.php?page=gutenberg-widgets' + return: window.location.pathname }), isTertiary: true }, Object(external_wp_i18n_["__"])('Manage with live preview'))))); diff --git a/wp-includes/js/dist/edit-widgets.min.js b/wp-includes/js/dist/edit-widgets.min.js index 1958989845..402e6c9a6c 100644 --- a/wp-includes/js/dist/edit-widgets.min.js +++ b/wp-includes/js/dist/edit-widgets.min.js @@ -1,5 +1,5 @@ /*! 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},"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,"initialize",(function(){return mt}));var n={};r.r(n),r.d(n,"persistStubPost",(function(){return B})),r.d(n,"saveEditedWidgetAreas",(function(){return R})),r.d(n,"saveWidgetAreas",(function(){return C})),r.d(n,"saveWidgetArea",(function(){return W})),r.d(n,"setWidgetIdForClientId",(function(){return L})),r.d(n,"setWidgetAreasOpenState",(function(){return P})),r.d(n,"setIsWidgetAreaOpen",(function(){return M})),r.d(n,"setIsInserterOpened",(function(){return G})),r.d(n,"closeGeneralSidebar",(function(){return D})),r.d(n,"moveBlockToWidgetArea",(function(){return F})),r.d(n,"__unstableToggleFeature",(function(){return V}));var c={};r.r(c),r.d(c,"getWidgetAreas",(function(){return U})),r.d(c,"getWidgets",(function(){return q}));var i={};r.r(i),r.d(i,"getWidgets",(function(){return z})),r.d(i,"getWidget",(function(){return H})),r.d(i,"getWidgetAreas",(function(){return K})),r.d(i,"getWidgetAreaForWidgetId",(function(){return Q})),r.d(i,"getEditedWidgetAreas",(function(){return Y})),r.d(i,"getReferenceWidgetBlocks",(function(){return J})),r.d(i,"isSavingWidgetAreas",(function(){return X})),r.d(i,"getIsWidgetAreaOpen",(function(){return Z})),r.d(i,"isInserterOpened",(function(){return $})),r.d(i,"canInsertBlockInWidgetArea",(function(){return ee})),r.d(i,"__unstableIsFeatureActive",(function(){return te}));var o={};r.r(o),r.d(o,"metadata",(function(){return me})),r.d(o,"name",(function(){return ge})),r.d(o,"settings",(function(){return pe}));var a=r("GRId"),s=r("HSyU"),l=r("QyPg"),d=r("jZUy"),u=r("GLVC"),b=r("ywyh"),m=r.n(b),g=r("1ZqX"),p=r("YLtl");const O=Object(p.flow)([g.combineReducers,(j={features:{fixedToolbar:!1,welcomeGuide:!0}},e=>(t=j,r)=>e(t,r))])({features:(e,t)=>"TOGGLE_FEATURE"===t.type?{...e,[t.feature]:!e[t.feature]}:e});var j,f=Object(g.combineReducers)({blockInserterPanel:function(e=!1,t){switch(t.type){case"SET_IS_INSERTER_OPENED":return t.value}return e},widgetAreasOpenState:function(e={},t){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}},preferences:O});const _="root",E=e=>"widget-area-"+e;const w="core/edit-widgets";function h(e,t,...r){return{type:"SELECT",registryName:e,selectorName:t,args:r}}function y(e,t,...r){return{type:"DISPATCH",registryName:e,actionName:t,args:r}}const v={AWAIT_PROMISE:({promise:e})=>e,SELECT:Object(g.createRegistryControl)(e=>({registryName:t,selectorName:r,args:n})=>e.select(t)[r](...n)),GET_PENDING_ACTIONS:Object(g.createRegistryControl)(e=>({postId:t})=>{var r;return(null===(r=k(e).processingQueue[t])||void 0===r?void 0:r.pendingActions)||[]}),IS_PROCESSING_POST:Object(g.createRegistryControl)(e=>({postId:t})=>{var r;return null===(r=k(e).processingQueue[t])||void 0===r?void 0:r.inProgress}),DISPATCH:Object(g.createRegistryControl)(e=>({registryName:t,actionName:r,args:n})=>e.dispatch(t)[r](...n)),RESOLVE_WIDGET_AREAS:Object(g.createRegistryControl)(e=>({query:t})=>e.resolveSelect("core").getEntityRecords(_,"sidebar",t)),RESOLVE_WIDGETS:Object(g.createRegistryControl)(e=>({query:t})=>e.resolveSelect("core").getEntityRecords("root","widget",t))},k=e=>e.stores[w].store.getState();var S=v,I=r("l3Sj"),A=r("onLe"),x=r("U60i");function T(e){if("block"===e.id_base){const t=Object(s.parse)(e.instance.raw.content);return t.length?Object(u.addWidgetIdToBlock)(t[0],e.id):Object(u.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(u.addWidgetIdToBlock)(Object(s.createBlock)("core/legacy-widget",t,[]),e.id)}function N(e,t={}){let r;var n,c,i;"core/legacy-widget"===e.name?r={...t,id:null!==(n=e.attributes.id)&&void 0!==n?n:t.id,id_base:null!==(c=e.attributes.idBase)&&void 0!==c?c:t.id_base,instance:null!==(i=e.attributes.instance)&&void 0!==i?i:t.instance}:r={...t,id_base:"block",instance:{raw:{content:Object(s.serialize)(e)}}};return delete r.description,delete r.name,delete r.number,delete r.settings,delete r.widget_class,delete r.rendered,delete r.rendered_form,r}const B=function*(e,t){const r=((e,t)=>({id:e,slug:e,status:"draft",type:"page",blocks:t,meta:{widgetAreaId:e}}))(e,t);return yield y("core","receiveEntityRecords",_,"postType",r,{id:r.id},!1),r};function*R(){const e=yield h(w,"getEditedWidgetAreas");if(null!=e&&e.length)try{yield*C(e),yield y(A.store,"createSuccessNotice",Object(I.__)("Widgets saved."),{type:"snackbar"})}catch(e){yield y(A.store,"createErrorNotice",Object(I.sprintf)(Object(I.__)("There was an error. %s"),e.message),{type:"snackbar"})}}function*C(e){try{for(const t of e)yield*W(t.id)}finally{yield y("core","finishResolution","getEntityRecord",_,"sidebar",{per_page:-1})}}function*W(e){const t=yield h(w,"getWidgets"),r=yield h("core","getEditedEntityRecord",_,"postType",E(e)),n=Object.values(t).filter(({sidebar:t})=>t===e),c=[],i=r.blocks.filter(({attributes:{id:e}})=>{if(e){if(c.includes(e))return!1;c.push(e)}return!0}),o=n.filter(({id:e})=>!i.some(t=>Object(u.getWidgetIdFromBlock)(t)===e)),a=[],s=[],l=[];for(let r=0;r<i.length;r++){const n=i[r],c=Object(u.getWidgetIdFromBlock)(n),o=N(n,t[c]);if(l.push(c),c){yield y("core","editEntityRecord","root","widget",c,{...o,sidebar:e});if(!(yield h("core","hasEditsForEntityRecord","root","widget",c)))continue;s.push(({saveEditedEntityRecord:e})=>e("root","widget",c))}else s.push(({saveEntityRecord:t})=>t("root","widget",{...o,sidebar:e}));a.push({block:n,position:r,clientId:n.clientId})}for(const e of o)s.push(({deleteEntityRecord:t})=>t("root","widget",e.id,{force:!0}));const d=(yield y("core","__experimentalBatch",s)).filter(e=>!e.hasOwnProperty("deleted")),b=[];for(let e=0;e<d.length;e++){const t=d[e],{block:r,position:n}=a[e];yield y("core/block-editor","updateBlockAttributes",r.clientId,{__internalWidgetId:t.id});var m;if(yield h("core","getLastEntitySaveError","root","widget",t.id))b.push((null===(m=r.attributes)||void 0===m?void 0:m.name)||(null==r?void 0:r.name));l[n]||(l[n]=t.id)}if(b.length)throw new Error(Object(I.sprintf)(Object(I.__)("Could not save the following widgets: %s."),b.join(", ")));yield y("core","editEntityRecord",_,"sidebar",e,{widgets:l}),yield*function*(e){const t=yield h("core","getLastEntitySaveError",_,"sidebar",e);yield y("core","saveEditedEntityRecord",_,"sidebar",e);const r=yield h("core","getLastEntitySaveError",_,"sidebar",e);if(r&&t!==r)throw new Error(r)}(e),yield y("core","receiveEntityRecords",_,"postType",r,void 0)}function L(e,t){return{type:"SET_WIDGET_ID_FOR_CLIENT_ID",clientId:e,widgetId:t}}function P(e){return{type:"SET_WIDGET_AREAS_OPEN_STATE",widgetAreasOpenState:e}}function M(e,t){return{type:"SET_IS_WIDGET_AREA_OPEN",clientId:e,isOpen:t}}function G(e){return{type:"SET_IS_INSERTER_OPENED",value:e}}function*D(){yield y(x.g.name,"disableComplementaryArea",w)}function*F(e,t){const r=yield h("core/block-editor","getBlockRootClientId",[e]),n=(yield h("core/block-editor","getBlocks")).find(({attributes:e})=>e.id===t).clientId,c=(yield h("core/block-editor","getBlockOrder",n)).length;(yield h(w,"getIsWidgetAreaOpen",n))||(yield y(w,"setIsWidgetAreaOpen",n,!0)),yield y("core/block-editor","moveBlocksToPosition",[e],r,n,c)}function V(e){return{type:"TOGGLE_FEATURE",feature:e}}function*U(){const e={per_page:-1};yield function(e={per_page:-1}){return{type:"RESOLVE_WIDGET_AREAS",query:e}}(e);const t=[],r=(yield h("core","getEntityRecords",_,"sidebar",e)).sort((e,t)=>"wp_inactive_widgets"===e.id?1:"wp_inactive_widgets"===t.id?-1:0);for(const e of r)t.push(Object(s.createBlock)("core/widget-area",{id:e.id,name:e.name})),e.widgets.length||(yield B(E(e.id),[]));const n={};t.forEach((e,t)=>{n[e.clientId]=0===t}),yield P(n),yield B("widget-areas",t)}function*q(){const e={per_page:-1,_embed:"about"};yield function(e={per_page:-1,_embed:"about"}){return{type:"RESOLVE_WIDGETS",query:e}}(e);const t=yield h("core","getEntityRecords","root","widget",e),r={};for(const e of t){const t=T(e);r[e.sidebar]=r[e.sidebar]||[],r[e.sidebar].push(t)}for(const e in r)r.hasOwnProperty(e)&&(yield B(E(e),r[e]))}const z=Object(g.createRegistrySelector)(e=>()=>{const t=e("core").getEntityRecords("root","widget",{per_page:-1,_embed:"about"});return Object(p.keyBy)(t,"id")}),H=Object(g.createRegistrySelector)(e=>(t,r)=>e(w).getWidgets()[r]),K=Object(g.createRegistrySelector)(e=>()=>{const t={per_page:-1};return e("core").getEntityRecords(_,"sidebar",t)}),Q=Object(g.createRegistrySelector)(e=>(t,r)=>e(w).getWidgetAreas().find(t=>e("core").getEditedEntityRecord(_,"postType",E(t.id)).blocks.map(e=>Object(u.getWidgetIdFromBlock)(e)).includes(r))),Y=Object(g.createRegistrySelector)(e=>(t,r)=>{let n=e(w).getWidgetAreas();return n?(r&&(n=n.filter(({id:e})=>r.includes(e))),n.filter(({id:t})=>e("core").hasEditsForEntityRecord(_,"postType",E(t))).map(({id:t})=>e("core").getEditedEntityRecord(_,"sidebar",t))):[]}),J=Object(g.createRegistrySelector)(e=>(t,r=null)=>{const n=[],c=e(w).getWidgetAreas();for(const t of c){const c=e("core").getEditedEntityRecord(_,"postType",E(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}),X=Object(g.createRegistrySelector)(e=>()=>{var t;const r=null===(t=e(w).getWidgetAreas())||void 0===t?void 0:t.map(({id:e})=>e);if(!r)return!1;for(const t of r){if(e("core").isSavingEntityRecord(_,"sidebar",t))return!0}const n=[...Object.keys(e(w).getWidgets()),void 0];for(const t of n){if(e("core").isSavingEntityRecord("root","widget",t))return!0}return!1}),Z=(e,t)=>{const{widgetAreasOpenState:r}=e;return!!r[t]};function $(e){return!!e.blockInserterPanel}const ee=Object(g.createRegistrySelector)(e=>(t,r)=>{const n=e("core/block-editor").getBlocks(),[c]=n;return e("core/block-editor").canInsertBlockType(r,c.clientId)});function te(e,t){return Object(p.get)(e.preferences.features,[t],!1)}const re={reducer:f,controls:S,selectors:i,resolvers:c,actions:n,persist:["preferences"]},ne=Object(g.createReduxStore)(w,re);Object(g.registerStore)(w,re),m.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 ce=r("axFQ"),ie=r("K9lf"),oe=r("g56x");const ae=Object(ie.createHigherOrderComponent)(e=>t=>{const r=Object(u.getWidgetIdFromBlock)(t),n=t.name,{widgetAreas:c,currentWidgetAreaId:i,canInsertBlockInWidgetArea:o}=Object(g.useSelect)(e=>{var t;if("core/widget-area"===n)return{};const c=e(ne);return{widgetAreas:c.getWidgetAreas(),currentWidgetAreaId:r?null===(t=c.getWidgetAreaForWidgetId(r))||void 0===t?void 0:t.id:void 0,canInsertBlockInWidgetArea:c.canInsertBlockInWidgetArea(n)}},[r,n]),{moveBlockToWidgetArea:s}=Object(g.useDispatch)(ne),l=(null==c?void 0:c.length)>1,d="core/widget-area"!==n&&l&&o;return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(e,t),d&&Object(a.createElement)(ce.BlockControls,null,Object(a.createElement)(u.MoveToWidgetArea,{widgetAreas:c,currentWidgetAreaId:i,onSelect:e=>{s(t.clientId,e)}})))},"withMoveToWidgetAreaToolbarItem");Object(oe.addFilter)("editor.BlockEdit","core/edit-widgets/block-edit",ae);var se=r("6aBm");Object(oe.addFilter)("editor.MediaUpload","core/edit-widgets/replace-media-upload",()=>se.MediaUpload);var le=r("tI+e");function de(){const[e,t,r]=Object(d.useEntityBlockEditor)("root","postType");return Object(a.createElement)(ce.InnerBlocks,{value:e,onInput:t,onChange:r,templateLock:!1,renderAppender:ce.InnerBlocks.DefaultBlockAppender})}const ue=e=>{const[t,r]=Object(a.useState)(!1);return Object(a.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},be=e=>{const[t,r]=Object(a.useState)(!1);return Object(a.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},me={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:ge}=me,pe={title:Object(I.__)("Widget Area"),description:Object(I.__)("A widget area container."),__experimentalLabel:({name:e})=>e,edit:function({clientId:e,className:t,attributes:{id:r,name:n}}){const c=Object(g.useSelect)(t=>t(ne).getIsWidgetAreaOpen(e),[e]),{setIsWidgetAreaOpen:i}=Object(g.useDispatch)(ne),o=Object(a.useRef)(),s=Object(a.useCallback)(t=>i(e,t),[e]),l=ue(o),u=be(o),[b,m]=Object(a.useState)(!1);return Object(a.useEffect)(()=>{l?u&&!c?(s(!0),m(!0)):!u&&c&&b&&s(!1):m(!1)},[c,l,u,b]),Object(a.createElement)(le.Panel,{className:t,ref:o},Object(a.createElement)(le.PanelBody,{title:n,opened:c,onToggle:()=>{i(e,!c)},scrollAfterOpen:!l},({opened:e})=>Object(a.createElement)(le.__unstableDisclosureContent,{visible:e},Object(a.createElement)(d.EntityProvider,{kind:"root",type:"postType",id:"widget-area-"+r},Object(a.createElement)(de,null)))))}};var Oe=r("TvNi"),je=r("wx14"),fe=r("diJD"),_e=r("hF7m");function Ee(){const{redo:e,undo:t}=Object(g.useDispatch)("core"),{saveEditedWidgetAreas:r}=Object(g.useDispatch)(ne);return Object(_e.useShortcut)("core/edit-widgets/undo",e=>{t(),e.preventDefault()},{bindGlobal:!0}),Object(_e.useShortcut)("core/edit-widgets/redo",t=>{e(),t.preventDefault()},{bindGlobal:!0}),Object(_e.useShortcut)("core/edit-widgets/save",e=>{e.preventDefault(),r()},{bindGlobal:!0}),null}Ee.Register=function(){const{registerShortcut:e}=Object(g.useDispatch)(_e.store);return Object(a.useEffect)(()=>{e({name:"core/edit-widgets/undo",category:"global",description:Object(I.__)("Undo your last changes."),keyCombination:{modifier:"primary",character:"z"}}),e({name:"core/edit-widgets/redo",category:"global",description:Object(I.__)("Redo your last undo."),keyCombination:{modifier:"primaryShift",character:"z"}}),e({name:"core/edit-widgets/save",category:"global",description:Object(I.__)("Save your changes."),keyCombination:{modifier:"primary",character:"s"}}),e({name:"core/edit-widgets/keyboard-shortcuts",category:"main",description:Object(I.__)("Display these keyboard shortcuts."),keyCombination:{modifier:"access",character:"h"}})},[e]),null};var we=Ee;var he=()=>Object(g.useSelect)(e=>{var t;const{getBlockSelectionEnd:r,getBlockParents:n,getBlockName:c}=e("core/block-editor"),i=r();if("core/widget-area"===c(i))return i;const o=n(i).find(e=>"core/widget-area"===c(e));if(o)return o;const{getEntityRecord:a}=e("core"),s=a(_,"postType","widget-areas");return null==s||null===(t=s.blocks[0])||void 0===t?void 0:t.clientId},[]);function ye({blockEditorSettings:e,children:t,...r}){const{hasUploadPermissions:n,reusableBlocks:c,isFixedToolbarActive:i,keepCaretInsideBlock:o}=Object(g.useSelect)(e=>({hasUploadPermissions:Object(p.defaultTo)(e("core").canUser("create","media"),!0),widgetAreas:e(ne).getWidgetAreas(),widgets:e(ne).getWidgets(),reusableBlocks:e("core").getEntityRecords("postType","wp_block"),isFixedToolbarActive:e(ne).__unstableIsFeatureActive("fixedToolbar"),keepCaretInsideBlock:e(ne).__unstableIsFeatureActive("keepCaretInsideBlock")}),[]),{setIsInserterOpened:s}=Object(g.useDispatch)(ne),l=Object(a.useMemo)(()=>{let t;return n&&(t=({onError:t,...r})=>{Object(se.uploadMedia)({wpAllowedMimeTypes:e.allowedMimeTypes,onError:({message:e})=>t(e),...r})}),{...e,__experimentalReusableBlocks:c,hasFixedToolbar:i,keepCaretInsideBlock:o,mediaUpload:t,templateLock:"all",__experimentalSetIsInserterOpened:s}},[e,i,o,n,c,s]),u=he(),[b,m,O]=Object(d.useEntityBlockEditor)(_,"postType",{id:"widget-areas"});return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(ce.BlockEditorKeyboardShortcuts.Register,null),Object(a.createElement)(we.Register,null),Object(a.createElement)(le.SlotFillProvider,null,Object(a.createElement)(ce.BlockEditorProvider,Object(je.a)({value:b,onInput:m,onChange:O,settings:l,useSubRegistry:!1},r),t,Object(a.createElement)(fe.ReusableBlocksMenuItems,{rootClientId:u}))))}var ve=r("TSYQ"),ke=r.n(ve),Se=r("Cg8A"),Ie=r("//Lo"),Ae=r("Mmq9");function xe({selectedWidgetAreaId:e}){const t=Object(g.useSelect)(e=>e(ne).getWidgetAreas(),[]),r=Object(a.useMemo)(()=>e&&(null==t?void 0:t.find(t=>t.id===e)),[e,t]);let n;return n=r?"wp_inactive_widgets"===e?Object(I.__)("Blocks in this Widget Area will not be displayed in your site."):r.description:Object(I.__)("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(a.createElement)("div",{className:"edit-widgets-widget-areas"},Object(a.createElement)("div",{className:"edit-widgets-widget-areas__top-container"},Object(a.createElement)(ce.BlockIcon,{icon:Ie.a}),Object(a.createElement)("div",null,Object(a.createElement)("p",null,n),0===(null==t?void 0:t.length)&&Object(a.createElement)("p",null,Object(I.__)("Your theme does not contain any Widget Areas.")),!r&&Object(a.createElement)(le.Button,{href:Object(Ae.addQueryArgs)("customize.php",{"autofocus[panel]":"widgets",return:"themes.php?page=gutenberg-widgets"}),isTertiary:!0},Object(I.__)("Manage with live preview")))))}const Te=a.Platform.select({web:!0,native:!1});function Ne({identifier:e,label:t,isActive:r}){const{enableComplementaryArea:n}=Object(g.useDispatch)(x.g);return Object(a.createElement)(le.Button,{onClick:()=>n(ne.name,e),className:ke()("edit-widgets-sidebar__panel-tab",{"is-active":r}),"aria-label":r?Object(I.sprintf)(Object(I.__)("%s (selected)"),t):t,"data-label":t},t)}function Be(){const{enableComplementaryArea:e}=Object(g.useDispatch)(x.g),{currentArea:t,hasSelectedNonAreaBlock:r,isGeneralSidebarOpen:n,selectedWidgetAreaBlock:c}=Object(g.useSelect)(e=>{const{getSelectedBlock:t,getBlock:r,getBlockParentsByBlockName:n}=e(ce.store),{getActiveComplementaryArea:c}=e(x.g),i=t();let o=c(ne.name);o||(o=i?"edit-widgets/block-inspector":"edit-widgets/block-areas");const a=!!o;let s;return i&&(s="core/widget-area"===i.name?i:r(n(i.clientId,"core/widget-area")[0])),{currentArea:o,hasSelectedNonAreaBlock:!(!i||"core/widget-area"===i.name),isGeneralSidebarOpen:a,selectedWidgetAreaBlock:s}},[]);return Object(a.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(a.createElement)(x.b,{className:"edit-widgets-sidebar",header:Object(a.createElement)("ul",null,Object(a.createElement)("li",null,Object(a.createElement)(Ne,{identifier:"edit-widgets/block-areas",label:c?c.attributes.name:Object(I.__)("Widget Areas"),isActive:"edit-widgets/block-areas"===t})),Object(a.createElement)("li",null,Object(a.createElement)(Ne,{identifier:"edit-widgets/block-inspector",label:Object(I.__)("Block"),isActive:"edit-widgets/block-inspector"===t}))),headerClassName:"edit-widgets-sidebar__panel-tabs",title:Object(I.__)("Settings"),closeLabel:Object(I.__)("Close settings"),scope:"core/edit-widgets",identifier:t,icon:Se.a,isActiveByDefault:Te},"edit-widgets/block-areas"===t&&Object(a.createElement)(xe,{selectedWidgetAreaId:null==c?void 0:c.attributes.id}),"edit-widgets/block-inspector"===t&&(r?Object(a.createElement)(ce.BlockInspector,null):Object(a.createElement)("span",{className:"block-editor-block-inspector__no-blocks"},Object(I.__)("No block selected."))))}var Re=r("w95h"),Ce=r("Q4Sy");var We=function(){const{hasEditedWidgetAreaIds:e,isSaving:t}=Object(g.useSelect)(e=>{var t;const{getEditedWidgetAreas:r,isSavingWidgetAreas:n}=e(ne);return{hasEditedWidgetAreaIds:(null===(t=r())||void 0===t?void 0:t.length)>0,isSaving:n()}},[]),{saveEditedWidgetAreas:r}=Object(g.useDispatch)(ne);return Object(a.createElement)(le.Button,{isPrimary:!0,isBusy:t,"aria-disabled":t,onClick:t?void 0:r,disabled:!e},t?Object(I.__)("Saving…"):Object(I.__)("Update"))},Le=r("Ntru"),Pe=r("K2cm"),Me=r("RxS6");function Ge(){const e=Object(g.useSelect)(e=>e(d.store).hasUndo()),{undo:t}=Object(g.useDispatch)(d.store);return Object(a.createElement)(le.ToolbarButton,{icon:Object(I.isRTL)()?Pe.a:Le.a,label:Object(I.__)("Undo"),shortcut:Me.displayShortcut.primary("z"),"aria-disabled":!e,onClick:e?t:void 0})}function De(){const e=Object(g.useSelect)(e=>e(d.store).hasRedo()),{redo:t}=Object(g.useDispatch)(d.store);return Object(a.createElement)(le.ToolbarButton,{icon:Object(I.isRTL)()?Le.a:Pe.a,label:Object(I.__)("Redo"),shortcut:Me.displayShortcut.primaryShift("z"),"aria-disabled":!e,onClick:e?t:void 0})}var Fe=r("VKE3"),Ve=r("K+tz"),Ue=r("RMJe"),qe=r("gdqT");function ze({label:e,info:t,messageActivated:r,messageDeactivated:n,shortcut:c,feature:i}){const o=Object(g.useSelect)(e=>e(ne).__unstableIsFeatureActive(i),[i]),{__unstableToggleFeature:s}=Object(g.useDispatch)(ne);return Object(a.createElement)(le.MenuItem,{icon:o&&Ue.a,isSelected:o,onClick:()=>{s(i),o?Object(qe.speak)(n||Object(I.__)("Feature deactivated")):Object(qe.speak)(r||Object(I.__)("Feature activated"))},role:"menuitemcheckbox",info:t,shortcut:c},e)}const He=[{keyCombination:{modifier:"primary",character:"b"},description:Object(I.__)("Make the selected text bold.")},{keyCombination:{modifier:"primary",character:"i"},description:Object(I.__)("Make the selected text italic.")},{keyCombination:{modifier:"primary",character:"k"},description:Object(I.__)("Convert the selected text into a link.")},{keyCombination:{modifier:"primaryShift",character:"k"},description:Object(I.__)("Remove a link.")},{keyCombination:{modifier:"primary",character:"u"},description:Object(I.__)("Underline the selected text.")}];function Ke({keyCombination:e,forceAriaLabel:t}){const r=e.modifier?Me.displayShortcutList[e.modifier](e.character):e.character,n=e.modifier?Me.shortcutAriaLabel[e.modifier](e.character):e.character;return Object(a.createElement)("kbd",{className:"edit-widgets-keyboard-shortcut-help-modal__shortcut-key-combination","aria-label":t||n},Object(p.castArray)(r).map((e,t)=>"+"===e?Object(a.createElement)(a.Fragment,{key:t},e):Object(a.createElement)("kbd",{key:t,className:"edit-widgets-keyboard-shortcut-help-modal__shortcut-key"},e)))}var Qe=function({description:e,keyCombination:t,aliases:r=[],ariaLabel:n}){return Object(a.createElement)(a.Fragment,null,Object(a.createElement)("div",{className:"edit-widgets-keyboard-shortcut-help-modal__shortcut-description"},e),Object(a.createElement)("div",{className:"edit-widgets-keyboard-shortcut-help-modal__shortcut-term"},Object(a.createElement)(Ke,{keyCombination:t,forceAriaLabel:n}),r.map((e,t)=>Object(a.createElement)(Ke,{keyCombination:e,forceAriaLabel:n,key:t}))))};var Ye=function({name:e}){const{keyCombination:t,description:r,aliases:n}=Object(g.useSelect)(t=>{const{getShortcutKeyCombination:r,getShortcutDescription:n,getShortcutAliases:c}=t(_e.store);return{keyCombination:r(e),aliases:c(e),description:n(e)}});return t?Object(a.createElement)(Qe,{keyCombination:t,description:r,aliases:n}):null};const Je=({shortcuts:e})=>Object(a.createElement)("ul",{className:"edit-widgets-keyboard-shortcut-help-modal__shortcut-list",role:"list"},e.map((e,t)=>Object(a.createElement)("li",{className:"edit-widgets-keyboard-shortcut-help-modal__shortcut",key:t},Object(p.isString)(e)?Object(a.createElement)(Ye,{name:e}):Object(a.createElement)(Qe,e)))),Xe=({title:e,shortcuts:t,className:r})=>Object(a.createElement)("section",{className:ke()("edit-widgets-keyboard-shortcut-help-modal__section",r)},!!e&&Object(a.createElement)("h2",{className:"edit-widgets-keyboard-shortcut-help-modal__section-title"},e),Object(a.createElement)(Je,{shortcuts:t})),Ze=({title:e,categoryName:t,additionalShortcuts:r=[]})=>{const n=Object(g.useSelect)(e=>e(_e.store).getCategoryShortcuts(t),[t]);return Object(a.createElement)(Xe,{title:e,shortcuts:n.concat(r)})};function $e({isModalActive:e,toggleModal:t}){return Object(_e.useShortcut)("core/edit-widgets/keyboard-shortcuts",t,{bindGlobal:!0}),e?Object(a.createElement)(le.Modal,{className:"edit-widgets-keyboard-shortcut-help-modal",title:Object(I.__)("Keyboard shortcuts"),closeLabel:Object(I.__)("Close"),onRequestClose:t},Object(a.createElement)(Xe,{className:"edit-widgets-keyboard-shortcut-help-modal__main-shortcuts",shortcuts:["core/edit-widgets/keyboard-shortcuts"]}),Object(a.createElement)(Ze,{title:Object(I.__)("Global shortcuts"),categoryName:"global"}),Object(a.createElement)(Ze,{title:Object(I.__)("Selection shortcuts"),categoryName:"selection"}),Object(a.createElement)(Ze,{title:Object(I.__)("Block shortcuts"),categoryName:"block",additionalShortcuts:[{keyCombination:{character:"/"},description:Object(I.__)("Change the block type after adding a new paragraph."),ariaLabel:Object(I.__)("Forward-slash")}]}),Object(a.createElement)(Xe,{title:Object(I.__)("Text formatting"),shortcuts:He})):null}const et={className:"edit-widgets-more-menu__content",position:"bottom left"},tt={tooltipPosition:"bottom"};function rt(){const[e,t]=Object(a.useState)(!1),r=()=>t(!e);return Object(_e.useShortcut)("core/edit-widgets/keyboard-shortcuts",r,{bindGlobal:!0}),Object(a.createElement)(a.Fragment,null,Object(a.createElement)(le.DropdownMenu,{className:"edit-widgets-more-menu",icon:Fe.a,label:Object(I.__)("Options"),popoverProps:et,toggleProps:tt},()=>Object(a.createElement)(a.Fragment,null,Object(a.createElement)(le.MenuGroup,{label:Object(I._x)("View","noun")},Object(a.createElement)(ze,{feature:"fixedToolbar",label:Object(I.__)("Top toolbar"),info:Object(I.__)("Access all block and document tools in a single place"),messageActivated:Object(I.__)("Top toolbar activated"),messageDeactivated:Object(I.__)("Top toolbar deactivated")})),Object(a.createElement)(le.MenuGroup,{label:Object(I.__)("Tools")},Object(a.createElement)(le.MenuItem,{onClick:()=>{t(!0)},shortcut:Me.displayShortcut.access("h")},Object(I.__)("Keyboard shortcuts")),Object(a.createElement)(ze,{feature:"welcomeGuide",label:Object(I.__)("Welcome Guide")}),Object(a.createElement)(le.MenuItem,{role:"menuitem",icon:Ve.a,href:Object(I.__)("https://wordpress.org/support/article/wordpress-editor/"),target:"_blank",rel:"noopener noreferrer"},Object(I.__)("Help"),Object(a.createElement)(le.VisuallyHidden,{as:"span"},Object(I.__)("(opens in a new tab)")))),Object(a.createElement)(le.MenuGroup,{label:Object(I.__)("Preferences")},Object(a.createElement)(ze,{feature:"keepCaretInsideBlock",label:Object(I.__)("Contain text cursor inside block"),info:Object(I.__)("Aids screen readers by stopping text caret from leaving blocks."),messageActivated:Object(I.__)("Contain text cursor inside block activated"),messageDeactivated:Object(I.__)("Contain text cursor inside block deactivated")})))),Object(a.createElement)($e,{isModalActive:e,toggleModal:r}))}var nt=function(){const e=Object(ie.useViewportMatch)("medium"),t=Object(a.useRef)(),r=he(),n=Object(g.useSelect)(e=>e(ne).getIsWidgetAreaOpen(r),[r]),c=Object(g.useSelect)(e=>e(ne).isInserterOpened()),{setIsWidgetAreaOpen:i,setIsInserterOpened:o}=Object(g.useDispatch)(ne),{selectBlock:s}=Object(g.useDispatch)(ce.store);return Object(a.createElement)(a.Fragment,null,Object(a.createElement)("div",{className:"edit-widgets-header"},Object(a.createElement)("div",{className:"edit-widgets-header__navigable-toolbar-wrapper"},e&&Object(a.createElement)("h1",{className:"edit-widgets-header__title"},Object(I.__)("Widgets")),!e&&Object(a.createElement)(le.VisuallyHidden,{as:"h1",className:"edit-widgets-header__title"},Object(I.__)("Widgets")),Object(a.createElement)(ce.NavigableToolbar,{className:"edit-widgets-header-toolbar","aria-label":Object(I.__)("Document tools")},Object(a.createElement)(le.ToolbarItem,{ref:t,as:le.Button,className:"edit-widgets-header-toolbar__inserter-toggle",isPrimary:!0,isPressed:c,onMouseDown:e=>{e.preventDefault()},onClick:()=>{c?t.current.focus():(n||(s(r),i(r,!0)),window.requestAnimationFrame(()=>o(!0)))},icon:Ce.a,label:Object(I._x)("Add block","Generic label for block inserter button")}),e&&Object(a.createElement)(a.Fragment,null,Object(a.createElement)(Ge,null),Object(a.createElement)(De,null),Object(a.createElement)(le.ToolbarItem,{as:ce.BlockNavigationDropdown})))),Object(a.createElement)("div",{className:"edit-widgets-header__actions"},Object(a.createElement)(We,null),Object(a.createElement)(x.f.Slot,{scope:"core/edit-widgets"}),Object(a.createElement)(rt,null))))};var ct=function(){const{removeNotice:e}=Object(g.useDispatch)(A.store),{notices:t}=Object(g.useSelect)(e=>({notices:e(A.store).getNotices()}),[]),r=Object(p.filter)(t,{isDismissible:!0,type:"default"}),n=Object(p.filter)(t,{isDismissible:!1,type:"default"}),c=Object(p.filter)(t,{type:"snackbar"});return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(le.NoticeList,{notices:n,className:"edit-widgets-notices__pinned"}),Object(a.createElement)(le.NoticeList,{notices:r,className:"edit-widgets-notices__dismissible",onRemove:e}),Object(a.createElement)(le.SnackbarList,{notices:c,className:"edit-widgets-notices__snackbar",onRemove:e}))};function it({blockEditorSettings:e}){return Object(a.createElement)("div",{className:"edit-widgets-block-editor"},Object(a.createElement)(ct,null),Object(a.createElement)(ce.BlockTools,null,Object(a.createElement)(we,null),Object(a.createElement)(ce.BlockEditorKeyboardShortcuts,null),Object(a.createElement)("div",{className:"editor-styles-wrapper"},Object(a.createElement)(ce.__unstableEditorStyles,{styles:e.styles}),Object(a.createElement)(ce.BlockSelectionClearer,null,Object(a.createElement)(ce.WritingFlow,null,Object(a.createElement)(ce.ObserveTyping,null,Object(a.createElement)(ce.BlockList,{className:"edit-widgets-main-block-list"})))))))}var ot=()=>{const e=Object(g.useSelect)(e=>{var t;const{getEntityRecord:r}=e("core"),n=r(_,"postType","widget-areas");return null==n||null===(t=n.blocks[0])||void 0===t?void 0:t.clientId},[]);return Object(g.useSelect)(t=>{const{getBlockRootClientId:r,getBlockSelectionEnd:n,getBlockOrder:c,getBlockIndex:i}=t(ce.store),o=n()||e,a=r(o);return o&&""===a?{rootClientId:o,insertionIndex:c(o).length}:{rootClientId:a,insertionIndex:i(o,a)+1}},[e])};const at={header:Object(I.__)("Widgets top bar"),body:Object(I.__)("Widgets and blocks"),sidebar:Object(I.__)("Widgets settings")};var st=function({blockEditorSettings:e}){const t=Object(ie.useViewportMatch)("medium","<"),r=Object(ie.useViewportMatch)("huge",">="),{setIsInserterOpened:n,closeGeneralSidebar:c}=Object(g.useDispatch)(ne),{rootClientId:i,insertionIndex:o}=ot(),{hasSidebarEnabled:s,isInserterOpened:l}=Object(g.useSelect)(e=>({hasSidebarEnabled:!!e(x.g).getActiveComplementaryArea(ne.name),isInserterOpened:!!e(ne).isInserterOpened()}),[]);Object(a.useEffect)(()=>{s&&!r&&n(!1)},[s,r]),Object(a.useEffect)(()=>{l&&!r&&c()},[l,r]);const[d,u]=Object(ie.__experimentalUseDialog)({onClose:()=>n(!1)});return Object(a.createElement)(x.e,{labels:at,header:Object(a.createElement)(nt,null),secondarySidebar:l&&Object(a.createElement)("div",Object(je.a)({ref:d},u,{className:"edit-widgets-layout__inserter-panel"}),Object(a.createElement)("div",{className:"edit-widgets-layout__inserter-panel-header"},Object(a.createElement)(le.Button,{icon:Re.a,onClick:()=>n(!1)})),Object(a.createElement)("div",{className:"edit-widgets-layout__inserter-panel-content"},Object(a.createElement)(ce.__experimentalLibrary,{showInserterHelpPanel:!0,shouldFocusBlock:t,rootClientId:i,__experimentalInsertionIndex:o}))),sidebar:s&&Object(a.createElement)(x.b.Slot,{scope:"core/edit-widgets"}),content:Object(a.createElement)(it,{blockEditorSettings:e})})};function lt(){const e=Object(g.useSelect)(e=>{const{getEditedWidgetAreas:t}=e(ne),r=t();return(null==r?void 0:r.length)>0},[]);return Object(a.useEffect)(()=>{const t=t=>{if(e)return t.returnValue=Object(I.__)("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 dt(){var e;const t=Object(g.useSelect)(e=>e(ne).__unstableIsFeatureActive("welcomeGuide"),[]),{__unstableToggleFeature:r}=Object(g.useDispatch)(ne),n=Object(g.useSelect)(e=>e(ne).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(a.createElement)(le.Guide,{className:"edit-widgets-welcome-guide",contentLabel:Object(I.__)("Welcome to block Widgets"),finishButtonText:Object(I.__)("Get started"),onFinish:()=>r("welcomeGuide"),pages:[{image:Object(a.createElement)(ut,{nonAnimatedSrc:"https://s.w.org/images/block-editor/welcome-canvas.svg",animatedSrc:"https://s.w.org/images/block-editor/welcome-canvas.gif"}),content:Object(a.createElement)(a.Fragment,null,Object(a.createElement)("h1",{className:"edit-widgets-welcome-guide__heading"},Object(I.__)("Welcome to block Widgets")),c?Object(a.createElement)(a.Fragment,null,Object(a.createElement)("p",{className:"edit-widgets-welcome-guide__text"},Object(I.sprintf)(Object(I._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(a.createElement)(a.Fragment,null,Object(a.createElement)("p",{className:"edit-widgets-welcome-guide__text"},Object(I.__)("You can now add any block to your site’s widget areas. Don’t worry, all of your favorite widgets still work flawlessly.")),Object(a.createElement)("p",{className:"edit-widgets-welcome-guide__text"},Object(a.createElement)("strong",null,Object(I.__)("Want to stick with the old widgets?"))," ",Object(a.createElement)(le.ExternalLink,{href:Object(I.__)("https://wordpress.org/plugins/classic-widgets/")},Object(I.__)("Get the Classic Widgets plugin.")))))},{image:Object(a.createElement)(ut,{nonAnimatedSrc:"https://s.w.org/images/block-editor/welcome-editor.svg",animatedSrc:"https://s.w.org/images/block-editor/welcome-editor.gif"}),content:Object(a.createElement)(a.Fragment,null,Object(a.createElement)("h1",{className:"edit-widgets-welcome-guide__heading"},Object(I.__)("Make each block your own")),Object(a.createElement)("p",{className:"edit-widgets-welcome-guide__text"},Object(I.__)("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(a.createElement)(ut,{nonAnimatedSrc:"https://s.w.org/images/block-editor/welcome-library.svg",animatedSrc:"https://s.w.org/images/block-editor/welcome-library.gif"}),content:Object(a.createElement)(a.Fragment,null,Object(a.createElement)("h1",{className:"edit-widgets-welcome-guide__heading"},Object(I.__)("Get to know the block library")),Object(a.createElement)("p",{className:"edit-widgets-welcome-guide__text"},Object(a.createInterpolateElement)(Object(I.__)("All of the blocks available to you live in the block library. You’ll find it wherever you see the <InserterIconImage /> icon."),{InserterIconImage:Object(a.createElement)("img",{className:"edit-widgets-welcome-guide__inserter-icon",alt:Object(I.__)("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(a.createElement)(ut,{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-widgets-welcome-guide__heading"},Object(I.__)("Learn how to use the block editor")),Object(a.createElement)("p",{className:"edit-widgets-welcome-guide__text"},Object(I.__)("New to the block editor? Want to learn more about using it? "),Object(a.createElement)(le.ExternalLink,{href:Object(I.__)("https://wordpress.org/support/article/wordpress-editor/")},Object(I.__)("Here's a detailed guide."))))}]})}function ut({nonAnimatedSrc:e,animatedSrc:t}){return Object(a.createElement)("picture",{className:"edit-widgets-welcome-guide__image"},Object(a.createElement)("source",{srcSet:e,media:"(prefers-reduced-motion: reduce)"}),Object(a.createElement)("img",{src:t,width:"312",height:"240",alt:""}))}var bt=function({blockEditorSettings:e}){return Object(a.createElement)(ye,{blockEditorSettings:e},Object(a.createElement)(st,{blockEditorSettings:e}),Object(a.createElement)(Be,null),Object(a.createElement)(le.Popover.Slot,null),Object(a.createElement)(Oe.PluginArea,null),Object(a.createElement)(lt,null),Object(a.createElement)(dt,null))};function mt(e,t){const r=Object(l.__experimentalGetCoreBlocks)().filter(e=>!["core/more"].includes(e.name));Object(l.registerCoreBlocks)(r),Object(u.registerLegacyWidgetVariations)(t),gt(o),t.__experimentalFetchLinkSuggestions=(e,r)=>Object(d.__experimentalFetchLinkSuggestions)(e,r,t),Object(a.render)(Object(a.createElement)(bt,{blockEditorSettings:t}),document.getElementById(e))}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},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:"M18.3 5.6L9.9 16.9l-4.6-3.4-.9 1.2 5.8 4.3 9.3-12.6z"}));t.a=i},RxS6:function(e,t){e.exports=window.wp.keycodes},TSYQ:function(e,t,r){var n; +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},"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,"initialize",(function(){return mt}));var n={};r.r(n),r.d(n,"persistStubPost",(function(){return B})),r.d(n,"saveEditedWidgetAreas",(function(){return R})),r.d(n,"saveWidgetAreas",(function(){return C})),r.d(n,"saveWidgetArea",(function(){return W})),r.d(n,"setWidgetIdForClientId",(function(){return L})),r.d(n,"setWidgetAreasOpenState",(function(){return P})),r.d(n,"setIsWidgetAreaOpen",(function(){return M})),r.d(n,"setIsInserterOpened",(function(){return G})),r.d(n,"closeGeneralSidebar",(function(){return D})),r.d(n,"moveBlockToWidgetArea",(function(){return F})),r.d(n,"__unstableToggleFeature",(function(){return V}));var c={};r.r(c),r.d(c,"getWidgetAreas",(function(){return U})),r.d(c,"getWidgets",(function(){return q}));var i={};r.r(i),r.d(i,"getWidgets",(function(){return z})),r.d(i,"getWidget",(function(){return H})),r.d(i,"getWidgetAreas",(function(){return K})),r.d(i,"getWidgetAreaForWidgetId",(function(){return Q})),r.d(i,"getEditedWidgetAreas",(function(){return Y})),r.d(i,"getReferenceWidgetBlocks",(function(){return J})),r.d(i,"isSavingWidgetAreas",(function(){return X})),r.d(i,"getIsWidgetAreaOpen",(function(){return Z})),r.d(i,"isInserterOpened",(function(){return $})),r.d(i,"canInsertBlockInWidgetArea",(function(){return ee})),r.d(i,"__unstableIsFeatureActive",(function(){return te}));var o={};r.r(o),r.d(o,"metadata",(function(){return me})),r.d(o,"name",(function(){return ge})),r.d(o,"settings",(function(){return pe}));var a=r("GRId"),s=r("HSyU"),l=r("QyPg"),d=r("jZUy"),u=r("GLVC"),b=r("ywyh"),m=r.n(b),g=r("1ZqX"),p=r("YLtl");const O=Object(p.flow)([g.combineReducers,(j={features:{fixedToolbar:!1,welcomeGuide:!0}},e=>(t=j,r)=>e(t,r))])({features:(e,t)=>"TOGGLE_FEATURE"===t.type?{...e,[t.feature]:!e[t.feature]}:e});var j,f=Object(g.combineReducers)({blockInserterPanel:function(e=!1,t){switch(t.type){case"SET_IS_INSERTER_OPENED":return t.value}return e},widgetAreasOpenState:function(e={},t){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}},preferences:O});const _="root",E=e=>"widget-area-"+e;const w="core/edit-widgets";function h(e,t,...r){return{type:"SELECT",registryName:e,selectorName:t,args:r}}function y(e,t,...r){return{type:"DISPATCH",registryName:e,actionName:t,args:r}}const v={AWAIT_PROMISE:({promise:e})=>e,SELECT:Object(g.createRegistryControl)(e=>({registryName:t,selectorName:r,args:n})=>e.select(t)[r](...n)),GET_PENDING_ACTIONS:Object(g.createRegistryControl)(e=>({postId:t})=>{var r;return(null===(r=k(e).processingQueue[t])||void 0===r?void 0:r.pendingActions)||[]}),IS_PROCESSING_POST:Object(g.createRegistryControl)(e=>({postId:t})=>{var r;return null===(r=k(e).processingQueue[t])||void 0===r?void 0:r.inProgress}),DISPATCH:Object(g.createRegistryControl)(e=>({registryName:t,actionName:r,args:n})=>e.dispatch(t)[r](...n)),RESOLVE_WIDGET_AREAS:Object(g.createRegistryControl)(e=>({query:t})=>e.resolveSelect("core").getEntityRecords(_,"sidebar",t)),RESOLVE_WIDGETS:Object(g.createRegistryControl)(e=>({query:t})=>e.resolveSelect("core").getEntityRecords("root","widget",t))},k=e=>e.stores[w].store.getState();var S=v,I=r("l3Sj"),A=r("onLe"),x=r("U60i");function T(e){if("block"===e.id_base){const t=Object(s.parse)(e.instance.raw.content);return t.length?Object(u.addWidgetIdToBlock)(t[0],e.id):Object(u.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(u.addWidgetIdToBlock)(Object(s.createBlock)("core/legacy-widget",t,[]),e.id)}function N(e,t={}){let r;var n,c,i;"core/legacy-widget"===e.name&&(e.attributes.id||e.attributes.instance)?r={...t,id:null!==(n=e.attributes.id)&&void 0!==n?n:t.id,id_base:null!==(c=e.attributes.idBase)&&void 0!==c?c:t.id_base,instance:null!==(i=e.attributes.instance)&&void 0!==i?i:t.instance}:r={...t,id_base:"block",instance:{raw:{content:Object(s.serialize)(e)}}};return delete r.rendered,delete r.rendered_form,r}const B=function*(e,t){const r=((e,t)=>({id:e,slug:e,status:"draft",type:"page",blocks:t,meta:{widgetAreaId:e}}))(e,t);return yield y("core","receiveEntityRecords",_,"postType",r,{id:r.id},!1),r};function*R(){const e=yield h(w,"getEditedWidgetAreas");if(null!=e&&e.length)try{yield*C(e),yield y(A.store,"createSuccessNotice",Object(I.__)("Widgets saved."),{type:"snackbar"})}catch(e){yield y(A.store,"createErrorNotice",Object(I.sprintf)(Object(I.__)("There was an error. %s"),e.message),{type:"snackbar"})}}function*C(e){try{for(const t of e)yield*W(t.id)}finally{yield y("core","finishResolution","getEntityRecord",_,"sidebar",{per_page:-1})}}function*W(e){const t=yield h(w,"getWidgets"),r=yield h("core","getEditedEntityRecord",_,"postType",E(e)),n=Object.values(t).filter(({sidebar:t})=>t===e),c=[],i=r.blocks.filter(({attributes:{id:e}})=>{if(e){if(c.includes(e))return!1;c.push(e)}return!0}),o=n.filter(({id:e})=>!i.some(t=>Object(u.getWidgetIdFromBlock)(t)===e)),a=[],s=[],l=[];for(let r=0;r<i.length;r++){const n=i[r],c=Object(u.getWidgetIdFromBlock)(n),o=N(n,t[c]);if(l.push(c),c){yield y("core","editEntityRecord","root","widget",c,{...o,sidebar:e});if(!(yield h("core","hasEditsForEntityRecord","root","widget",c)))continue;s.push(({saveEditedEntityRecord:e})=>e("root","widget",c))}else s.push(({saveEntityRecord:t})=>t("root","widget",{...o,sidebar:e}));a.push({block:n,position:r,clientId:n.clientId})}for(const e of o)s.push(({deleteEntityRecord:t})=>t("root","widget",e.id,{force:!0}));const d=(yield y("core","__experimentalBatch",s)).filter(e=>!e.hasOwnProperty("deleted")),b=[];for(let e=0;e<d.length;e++){const t=d[e],{block:r,position:n}=a[e];yield y("core/block-editor","updateBlockAttributes",r.clientId,{__internalWidgetId:t.id});var m;if(yield h("core","getLastEntitySaveError","root","widget",t.id))b.push((null===(m=r.attributes)||void 0===m?void 0:m.name)||(null==r?void 0:r.name));l[n]||(l[n]=t.id)}if(b.length)throw new Error(Object(I.sprintf)(Object(I.__)("Could not save the following widgets: %s."),b.join(", ")));yield y("core","editEntityRecord",_,"sidebar",e,{widgets:l}),yield*function*(e){const t=yield h("core","getLastEntitySaveError",_,"sidebar",e);yield y("core","saveEditedEntityRecord",_,"sidebar",e);const r=yield h("core","getLastEntitySaveError",_,"sidebar",e);if(r&&t!==r)throw new Error(r)}(e),yield y("core","receiveEntityRecords",_,"postType",r,void 0)}function L(e,t){return{type:"SET_WIDGET_ID_FOR_CLIENT_ID",clientId:e,widgetId:t}}function P(e){return{type:"SET_WIDGET_AREAS_OPEN_STATE",widgetAreasOpenState:e}}function M(e,t){return{type:"SET_IS_WIDGET_AREA_OPEN",clientId:e,isOpen:t}}function G(e){return{type:"SET_IS_INSERTER_OPENED",value:e}}function*D(){yield y(x.g.name,"disableComplementaryArea",w)}function*F(e,t){const r=yield h("core/block-editor","getBlockRootClientId",[e]),n=(yield h("core/block-editor","getBlocks")).find(({attributes:e})=>e.id===t).clientId,c=(yield h("core/block-editor","getBlockOrder",n)).length;(yield h(w,"getIsWidgetAreaOpen",n))||(yield y(w,"setIsWidgetAreaOpen",n,!0)),yield y("core/block-editor","moveBlocksToPosition",[e],r,n,c)}function V(e){return{type:"TOGGLE_FEATURE",feature:e}}function*U(){const e={per_page:-1};yield function(e={per_page:-1}){return{type:"RESOLVE_WIDGET_AREAS",query:e}}(e);const t=[],r=(yield h("core","getEntityRecords",_,"sidebar",e)).sort((e,t)=>"wp_inactive_widgets"===e.id?1:"wp_inactive_widgets"===t.id?-1:0);for(const e of r)t.push(Object(s.createBlock)("core/widget-area",{id:e.id,name:e.name})),e.widgets.length||(yield B(E(e.id),[]));const n={};t.forEach((e,t)=>{n[e.clientId]=0===t}),yield P(n),yield B("widget-areas",t)}function*q(){const e={per_page:-1,_embed:"about"};yield function(e={per_page:-1,_embed:"about"}){return{type:"RESOLVE_WIDGETS",query:e}}(e);const t=yield h("core","getEntityRecords","root","widget",e),r={};for(const e of t){const t=T(e);r[e.sidebar]=r[e.sidebar]||[],r[e.sidebar].push(t)}for(const e in r)r.hasOwnProperty(e)&&(yield B(E(e),r[e]))}const z=Object(g.createRegistrySelector)(e=>()=>{const t=e("core").getEntityRecords("root","widget",{per_page:-1,_embed:"about"});return Object(p.keyBy)(t,"id")}),H=Object(g.createRegistrySelector)(e=>(t,r)=>e(w).getWidgets()[r]),K=Object(g.createRegistrySelector)(e=>()=>{const t={per_page:-1};return e("core").getEntityRecords(_,"sidebar",t)}),Q=Object(g.createRegistrySelector)(e=>(t,r)=>e(w).getWidgetAreas().find(t=>e("core").getEditedEntityRecord(_,"postType",E(t.id)).blocks.map(e=>Object(u.getWidgetIdFromBlock)(e)).includes(r))),Y=Object(g.createRegistrySelector)(e=>(t,r)=>{let n=e(w).getWidgetAreas();return n?(r&&(n=n.filter(({id:e})=>r.includes(e))),n.filter(({id:t})=>e("core").hasEditsForEntityRecord(_,"postType",E(t))).map(({id:t})=>e("core").getEditedEntityRecord(_,"sidebar",t))):[]}),J=Object(g.createRegistrySelector)(e=>(t,r=null)=>{const n=[],c=e(w).getWidgetAreas();for(const t of c){const c=e("core").getEditedEntityRecord(_,"postType",E(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}),X=Object(g.createRegistrySelector)(e=>()=>{var t;const r=null===(t=e(w).getWidgetAreas())||void 0===t?void 0:t.map(({id:e})=>e);if(!r)return!1;for(const t of r){if(e("core").isSavingEntityRecord(_,"sidebar",t))return!0}const n=[...Object.keys(e(w).getWidgets()),void 0];for(const t of n){if(e("core").isSavingEntityRecord("root","widget",t))return!0}return!1}),Z=(e,t)=>{const{widgetAreasOpenState:r}=e;return!!r[t]};function $(e){return!!e.blockInserterPanel}const ee=Object(g.createRegistrySelector)(e=>(t,r)=>{const n=e("core/block-editor").getBlocks(),[c]=n;return e("core/block-editor").canInsertBlockType(r,c.clientId)});function te(e,t){return Object(p.get)(e.preferences.features,[t],!1)}const re={reducer:f,controls:S,selectors:i,resolvers:c,actions:n,persist:["preferences"]},ne=Object(g.createReduxStore)(w,re);Object(g.registerStore)(w,re),m.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 ce=r("axFQ"),ie=r("K9lf"),oe=r("g56x");const ae=Object(ie.createHigherOrderComponent)(e=>t=>{const r=Object(u.getWidgetIdFromBlock)(t),n=t.name,{widgetAreas:c,currentWidgetAreaId:i,canInsertBlockInWidgetArea:o}=Object(g.useSelect)(e=>{var t;if("core/widget-area"===n)return{};const c=e(ne);return{widgetAreas:c.getWidgetAreas(),currentWidgetAreaId:r?null===(t=c.getWidgetAreaForWidgetId(r))||void 0===t?void 0:t.id:void 0,canInsertBlockInWidgetArea:c.canInsertBlockInWidgetArea(n)}},[r,n]),{moveBlockToWidgetArea:s}=Object(g.useDispatch)(ne),l=(null==c?void 0:c.length)>1,d="core/widget-area"!==n&&l&&o;return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(e,t),d&&Object(a.createElement)(ce.BlockControls,null,Object(a.createElement)(u.MoveToWidgetArea,{widgetAreas:c,currentWidgetAreaId:i,onSelect:e=>{s(t.clientId,e)}})))},"withMoveToWidgetAreaToolbarItem");Object(oe.addFilter)("editor.BlockEdit","core/edit-widgets/block-edit",ae);var se=r("6aBm");Object(oe.addFilter)("editor.MediaUpload","core/edit-widgets/replace-media-upload",()=>se.MediaUpload);var le=r("tI+e");function de(){const[e,t,r]=Object(d.useEntityBlockEditor)("root","postType");return Object(a.createElement)(ce.InnerBlocks,{value:e,onInput:t,onChange:r,templateLock:!1,renderAppender:ce.InnerBlocks.DefaultBlockAppender})}const ue=e=>{const[t,r]=Object(a.useState)(!1);return Object(a.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},be=e=>{const[t,r]=Object(a.useState)(!1);return Object(a.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},me={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:ge}=me,pe={title:Object(I.__)("Widget Area"),description:Object(I.__)("A widget area container."),__experimentalLabel:({name:e})=>e,edit:function({clientId:e,className:t,attributes:{id:r,name:n}}){const c=Object(g.useSelect)(t=>t(ne).getIsWidgetAreaOpen(e),[e]),{setIsWidgetAreaOpen:i}=Object(g.useDispatch)(ne),o=Object(a.useRef)(),s=Object(a.useCallback)(t=>i(e,t),[e]),l=ue(o),u=be(o),[b,m]=Object(a.useState)(!1);return Object(a.useEffect)(()=>{l?u&&!c?(s(!0),m(!0)):!u&&c&&b&&s(!1):m(!1)},[c,l,u,b]),Object(a.createElement)(le.Panel,{className:t,ref:o},Object(a.createElement)(le.PanelBody,{title:n,opened:c,onToggle:()=>{i(e,!c)},scrollAfterOpen:!l},({opened:e})=>Object(a.createElement)(le.__unstableDisclosureContent,{visible:e},Object(a.createElement)(d.EntityProvider,{kind:"root",type:"postType",id:"widget-area-"+r},Object(a.createElement)(de,null)))))}};var Oe=r("TvNi"),je=r("wx14"),fe=r("diJD"),_e=r("hF7m");function Ee(){const{redo:e,undo:t}=Object(g.useDispatch)("core"),{saveEditedWidgetAreas:r}=Object(g.useDispatch)(ne);return Object(_e.useShortcut)("core/edit-widgets/undo",e=>{t(),e.preventDefault()},{bindGlobal:!0}),Object(_e.useShortcut)("core/edit-widgets/redo",t=>{e(),t.preventDefault()},{bindGlobal:!0}),Object(_e.useShortcut)("core/edit-widgets/save",e=>{e.preventDefault(),r()},{bindGlobal:!0}),null}Ee.Register=function(){const{registerShortcut:e}=Object(g.useDispatch)(_e.store);return Object(a.useEffect)(()=>{e({name:"core/edit-widgets/undo",category:"global",description:Object(I.__)("Undo your last changes."),keyCombination:{modifier:"primary",character:"z"}}),e({name:"core/edit-widgets/redo",category:"global",description:Object(I.__)("Redo your last undo."),keyCombination:{modifier:"primaryShift",character:"z"}}),e({name:"core/edit-widgets/save",category:"global",description:Object(I.__)("Save your changes."),keyCombination:{modifier:"primary",character:"s"}}),e({name:"core/edit-widgets/keyboard-shortcuts",category:"main",description:Object(I.__)("Display these keyboard shortcuts."),keyCombination:{modifier:"access",character:"h"}})},[e]),null};var we=Ee;var he=()=>Object(g.useSelect)(e=>{var t;const{getBlockSelectionEnd:r,getBlockParents:n,getBlockName:c}=e("core/block-editor"),i=r();if("core/widget-area"===c(i))return i;const o=n(i).find(e=>"core/widget-area"===c(e));if(o)return o;const{getEntityRecord:a}=e("core"),s=a(_,"postType","widget-areas");return null==s||null===(t=s.blocks[0])||void 0===t?void 0:t.clientId},[]);function ye({blockEditorSettings:e,children:t,...r}){const{hasUploadPermissions:n,reusableBlocks:c,isFixedToolbarActive:i,keepCaretInsideBlock:o}=Object(g.useSelect)(e=>({hasUploadPermissions:Object(p.defaultTo)(e("core").canUser("create","media"),!0),widgetAreas:e(ne).getWidgetAreas(),widgets:e(ne).getWidgets(),reusableBlocks:e("core").getEntityRecords("postType","wp_block"),isFixedToolbarActive:e(ne).__unstableIsFeatureActive("fixedToolbar"),keepCaretInsideBlock:e(ne).__unstableIsFeatureActive("keepCaretInsideBlock")}),[]),{setIsInserterOpened:s}=Object(g.useDispatch)(ne),l=Object(a.useMemo)(()=>{let t;return n&&(t=({onError:t,...r})=>{Object(se.uploadMedia)({wpAllowedMimeTypes:e.allowedMimeTypes,onError:({message:e})=>t(e),...r})}),{...e,__experimentalReusableBlocks:c,hasFixedToolbar:i,keepCaretInsideBlock:o,mediaUpload:t,templateLock:"all",__experimentalSetIsInserterOpened:s}},[e,i,o,n,c,s]),u=he(),[b,m,O]=Object(d.useEntityBlockEditor)(_,"postType",{id:"widget-areas"});return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(ce.BlockEditorKeyboardShortcuts.Register,null),Object(a.createElement)(we.Register,null),Object(a.createElement)(le.SlotFillProvider,null,Object(a.createElement)(ce.BlockEditorProvider,Object(je.a)({value:b,onInput:m,onChange:O,settings:l,useSubRegistry:!1},r),t,Object(a.createElement)(fe.ReusableBlocksMenuItems,{rootClientId:u}))))}var ve=r("TSYQ"),ke=r.n(ve),Se=r("Cg8A"),Ie=r("//Lo"),Ae=r("Mmq9");function xe({selectedWidgetAreaId:e}){const t=Object(g.useSelect)(e=>e(ne).getWidgetAreas(),[]),r=Object(a.useMemo)(()=>e&&(null==t?void 0:t.find(t=>t.id===e)),[e,t]);let n;return n=r?"wp_inactive_widgets"===e?Object(I.__)("Blocks in this Widget Area will not be displayed in your site."):r.description:Object(I.__)("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(a.createElement)("div",{className:"edit-widgets-widget-areas"},Object(a.createElement)("div",{className:"edit-widgets-widget-areas__top-container"},Object(a.createElement)(ce.BlockIcon,{icon:Ie.a}),Object(a.createElement)("div",null,Object(a.createElement)("p",null,n),0===(null==t?void 0:t.length)&&Object(a.createElement)("p",null,Object(I.__)("Your theme does not contain any Widget Areas.")),!r&&Object(a.createElement)(le.Button,{href:Object(Ae.addQueryArgs)("customize.php",{"autofocus[panel]":"widgets",return:window.location.pathname}),isTertiary:!0},Object(I.__)("Manage with live preview")))))}const Te=a.Platform.select({web:!0,native:!1});function Ne({identifier:e,label:t,isActive:r}){const{enableComplementaryArea:n}=Object(g.useDispatch)(x.g);return Object(a.createElement)(le.Button,{onClick:()=>n(ne.name,e),className:ke()("edit-widgets-sidebar__panel-tab",{"is-active":r}),"aria-label":r?Object(I.sprintf)(Object(I.__)("%s (selected)"),t):t,"data-label":t},t)}function Be(){const{enableComplementaryArea:e}=Object(g.useDispatch)(x.g),{currentArea:t,hasSelectedNonAreaBlock:r,isGeneralSidebarOpen:n,selectedWidgetAreaBlock:c}=Object(g.useSelect)(e=>{const{getSelectedBlock:t,getBlock:r,getBlockParentsByBlockName:n}=e(ce.store),{getActiveComplementaryArea:c}=e(x.g),i=t();let o=c(ne.name);o||(o=i?"edit-widgets/block-inspector":"edit-widgets/block-areas");const a=!!o;let s;return i&&(s="core/widget-area"===i.name?i:r(n(i.clientId,"core/widget-area")[0])),{currentArea:o,hasSelectedNonAreaBlock:!(!i||"core/widget-area"===i.name),isGeneralSidebarOpen:a,selectedWidgetAreaBlock:s}},[]);return Object(a.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(a.createElement)(x.b,{className:"edit-widgets-sidebar",header:Object(a.createElement)("ul",null,Object(a.createElement)("li",null,Object(a.createElement)(Ne,{identifier:"edit-widgets/block-areas",label:c?c.attributes.name:Object(I.__)("Widget Areas"),isActive:"edit-widgets/block-areas"===t})),Object(a.createElement)("li",null,Object(a.createElement)(Ne,{identifier:"edit-widgets/block-inspector",label:Object(I.__)("Block"),isActive:"edit-widgets/block-inspector"===t}))),headerClassName:"edit-widgets-sidebar__panel-tabs",title:Object(I.__)("Settings"),closeLabel:Object(I.__)("Close settings"),scope:"core/edit-widgets",identifier:t,icon:Se.a,isActiveByDefault:Te},"edit-widgets/block-areas"===t&&Object(a.createElement)(xe,{selectedWidgetAreaId:null==c?void 0:c.attributes.id}),"edit-widgets/block-inspector"===t&&(r?Object(a.createElement)(ce.BlockInspector,null):Object(a.createElement)("span",{className:"block-editor-block-inspector__no-blocks"},Object(I.__)("No block selected."))))}var Re=r("w95h"),Ce=r("Q4Sy");var We=function(){const{hasEditedWidgetAreaIds:e,isSaving:t}=Object(g.useSelect)(e=>{var t;const{getEditedWidgetAreas:r,isSavingWidgetAreas:n}=e(ne);return{hasEditedWidgetAreaIds:(null===(t=r())||void 0===t?void 0:t.length)>0,isSaving:n()}},[]),{saveEditedWidgetAreas:r}=Object(g.useDispatch)(ne);return Object(a.createElement)(le.Button,{isPrimary:!0,isBusy:t,"aria-disabled":t,onClick:t?void 0:r,disabled:!e},t?Object(I.__)("Saving…"):Object(I.__)("Update"))},Le=r("Ntru"),Pe=r("K2cm"),Me=r("RxS6");function Ge(){const e=Object(g.useSelect)(e=>e(d.store).hasUndo()),{undo:t}=Object(g.useDispatch)(d.store);return Object(a.createElement)(le.ToolbarButton,{icon:Object(I.isRTL)()?Pe.a:Le.a,label:Object(I.__)("Undo"),shortcut:Me.displayShortcut.primary("z"),"aria-disabled":!e,onClick:e?t:void 0})}function De(){const e=Object(g.useSelect)(e=>e(d.store).hasRedo()),{redo:t}=Object(g.useDispatch)(d.store);return Object(a.createElement)(le.ToolbarButton,{icon:Object(I.isRTL)()?Le.a:Pe.a,label:Object(I.__)("Redo"),shortcut:Me.displayShortcut.primaryShift("z"),"aria-disabled":!e,onClick:e?t:void 0})}var Fe=r("VKE3"),Ve=r("K+tz"),Ue=r("RMJe"),qe=r("gdqT");function ze({label:e,info:t,messageActivated:r,messageDeactivated:n,shortcut:c,feature:i}){const o=Object(g.useSelect)(e=>e(ne).__unstableIsFeatureActive(i),[i]),{__unstableToggleFeature:s}=Object(g.useDispatch)(ne);return Object(a.createElement)(le.MenuItem,{icon:o&&Ue.a,isSelected:o,onClick:()=>{s(i),o?Object(qe.speak)(n||Object(I.__)("Feature deactivated")):Object(qe.speak)(r||Object(I.__)("Feature activated"))},role:"menuitemcheckbox",info:t,shortcut:c},e)}const He=[{keyCombination:{modifier:"primary",character:"b"},description:Object(I.__)("Make the selected text bold.")},{keyCombination:{modifier:"primary",character:"i"},description:Object(I.__)("Make the selected text italic.")},{keyCombination:{modifier:"primary",character:"k"},description:Object(I.__)("Convert the selected text into a link.")},{keyCombination:{modifier:"primaryShift",character:"k"},description:Object(I.__)("Remove a link.")},{keyCombination:{modifier:"primary",character:"u"},description:Object(I.__)("Underline the selected text.")}];function Ke({keyCombination:e,forceAriaLabel:t}){const r=e.modifier?Me.displayShortcutList[e.modifier](e.character):e.character,n=e.modifier?Me.shortcutAriaLabel[e.modifier](e.character):e.character;return Object(a.createElement)("kbd",{className:"edit-widgets-keyboard-shortcut-help-modal__shortcut-key-combination","aria-label":t||n},Object(p.castArray)(r).map((e,t)=>"+"===e?Object(a.createElement)(a.Fragment,{key:t},e):Object(a.createElement)("kbd",{key:t,className:"edit-widgets-keyboard-shortcut-help-modal__shortcut-key"},e)))}var Qe=function({description:e,keyCombination:t,aliases:r=[],ariaLabel:n}){return Object(a.createElement)(a.Fragment,null,Object(a.createElement)("div",{className:"edit-widgets-keyboard-shortcut-help-modal__shortcut-description"},e),Object(a.createElement)("div",{className:"edit-widgets-keyboard-shortcut-help-modal__shortcut-term"},Object(a.createElement)(Ke,{keyCombination:t,forceAriaLabel:n}),r.map((e,t)=>Object(a.createElement)(Ke,{keyCombination:e,forceAriaLabel:n,key:t}))))};var Ye=function({name:e}){const{keyCombination:t,description:r,aliases:n}=Object(g.useSelect)(t=>{const{getShortcutKeyCombination:r,getShortcutDescription:n,getShortcutAliases:c}=t(_e.store);return{keyCombination:r(e),aliases:c(e),description:n(e)}});return t?Object(a.createElement)(Qe,{keyCombination:t,description:r,aliases:n}):null};const Je=({shortcuts:e})=>Object(a.createElement)("ul",{className:"edit-widgets-keyboard-shortcut-help-modal__shortcut-list",role:"list"},e.map((e,t)=>Object(a.createElement)("li",{className:"edit-widgets-keyboard-shortcut-help-modal__shortcut",key:t},Object(p.isString)(e)?Object(a.createElement)(Ye,{name:e}):Object(a.createElement)(Qe,e)))),Xe=({title:e,shortcuts:t,className:r})=>Object(a.createElement)("section",{className:ke()("edit-widgets-keyboard-shortcut-help-modal__section",r)},!!e&&Object(a.createElement)("h2",{className:"edit-widgets-keyboard-shortcut-help-modal__section-title"},e),Object(a.createElement)(Je,{shortcuts:t})),Ze=({title:e,categoryName:t,additionalShortcuts:r=[]})=>{const n=Object(g.useSelect)(e=>e(_e.store).getCategoryShortcuts(t),[t]);return Object(a.createElement)(Xe,{title:e,shortcuts:n.concat(r)})};function $e({isModalActive:e,toggleModal:t}){return Object(_e.useShortcut)("core/edit-widgets/keyboard-shortcuts",t,{bindGlobal:!0}),e?Object(a.createElement)(le.Modal,{className:"edit-widgets-keyboard-shortcut-help-modal",title:Object(I.__)("Keyboard shortcuts"),closeLabel:Object(I.__)("Close"),onRequestClose:t},Object(a.createElement)(Xe,{className:"edit-widgets-keyboard-shortcut-help-modal__main-shortcuts",shortcuts:["core/edit-widgets/keyboard-shortcuts"]}),Object(a.createElement)(Ze,{title:Object(I.__)("Global shortcuts"),categoryName:"global"}),Object(a.createElement)(Ze,{title:Object(I.__)("Selection shortcuts"),categoryName:"selection"}),Object(a.createElement)(Ze,{title:Object(I.__)("Block shortcuts"),categoryName:"block",additionalShortcuts:[{keyCombination:{character:"/"},description:Object(I.__)("Change the block type after adding a new paragraph."),ariaLabel:Object(I.__)("Forward-slash")}]}),Object(a.createElement)(Xe,{title:Object(I.__)("Text formatting"),shortcuts:He})):null}const et={className:"edit-widgets-more-menu__content",position:"bottom left"},tt={tooltipPosition:"bottom"};function rt(){const[e,t]=Object(a.useState)(!1),r=()=>t(!e);return Object(_e.useShortcut)("core/edit-widgets/keyboard-shortcuts",r,{bindGlobal:!0}),Object(a.createElement)(a.Fragment,null,Object(a.createElement)(le.DropdownMenu,{className:"edit-widgets-more-menu",icon:Fe.a,label:Object(I.__)("Options"),popoverProps:et,toggleProps:tt},()=>Object(a.createElement)(a.Fragment,null,Object(a.createElement)(le.MenuGroup,{label:Object(I._x)("View","noun")},Object(a.createElement)(ze,{feature:"fixedToolbar",label:Object(I.__)("Top toolbar"),info:Object(I.__)("Access all block and document tools in a single place"),messageActivated:Object(I.__)("Top toolbar activated"),messageDeactivated:Object(I.__)("Top toolbar deactivated")})),Object(a.createElement)(le.MenuGroup,{label:Object(I.__)("Tools")},Object(a.createElement)(le.MenuItem,{onClick:()=>{t(!0)},shortcut:Me.displayShortcut.access("h")},Object(I.__)("Keyboard shortcuts")),Object(a.createElement)(ze,{feature:"welcomeGuide",label:Object(I.__)("Welcome Guide")}),Object(a.createElement)(le.MenuItem,{role:"menuitem",icon:Ve.a,href:Object(I.__)("https://wordpress.org/support/article/wordpress-editor/"),target:"_blank",rel:"noopener noreferrer"},Object(I.__)("Help"),Object(a.createElement)(le.VisuallyHidden,{as:"span"},Object(I.__)("(opens in a new tab)")))),Object(a.createElement)(le.MenuGroup,{label:Object(I.__)("Preferences")},Object(a.createElement)(ze,{feature:"keepCaretInsideBlock",label:Object(I.__)("Contain text cursor inside block"),info:Object(I.__)("Aids screen readers by stopping text caret from leaving blocks."),messageActivated:Object(I.__)("Contain text cursor inside block activated"),messageDeactivated:Object(I.__)("Contain text cursor inside block deactivated")})))),Object(a.createElement)($e,{isModalActive:e,toggleModal:r}))}var nt=function(){const e=Object(ie.useViewportMatch)("medium"),t=Object(a.useRef)(),r=he(),n=Object(g.useSelect)(e=>e(ne).getIsWidgetAreaOpen(r),[r]),c=Object(g.useSelect)(e=>e(ne).isInserterOpened()),{setIsWidgetAreaOpen:i,setIsInserterOpened:o}=Object(g.useDispatch)(ne),{selectBlock:s}=Object(g.useDispatch)(ce.store);return Object(a.createElement)(a.Fragment,null,Object(a.createElement)("div",{className:"edit-widgets-header"},Object(a.createElement)("div",{className:"edit-widgets-header__navigable-toolbar-wrapper"},e&&Object(a.createElement)("h1",{className:"edit-widgets-header__title"},Object(I.__)("Widgets")),!e&&Object(a.createElement)(le.VisuallyHidden,{as:"h1",className:"edit-widgets-header__title"},Object(I.__)("Widgets")),Object(a.createElement)(ce.NavigableToolbar,{className:"edit-widgets-header-toolbar","aria-label":Object(I.__)("Document tools")},Object(a.createElement)(le.ToolbarItem,{ref:t,as:le.Button,className:"edit-widgets-header-toolbar__inserter-toggle",isPrimary:!0,isPressed:c,onMouseDown:e=>{e.preventDefault()},onClick:()=>{c?t.current.focus():(n||(s(r),i(r,!0)),window.requestAnimationFrame(()=>o(!0)))},icon:Ce.a,label:Object(I._x)("Add block","Generic label for block inserter button")}),e&&Object(a.createElement)(a.Fragment,null,Object(a.createElement)(Ge,null),Object(a.createElement)(De,null),Object(a.createElement)(le.ToolbarItem,{as:ce.BlockNavigationDropdown})))),Object(a.createElement)("div",{className:"edit-widgets-header__actions"},Object(a.createElement)(We,null),Object(a.createElement)(x.f.Slot,{scope:"core/edit-widgets"}),Object(a.createElement)(rt,null))))};var ct=function(){const{removeNotice:e}=Object(g.useDispatch)(A.store),{notices:t}=Object(g.useSelect)(e=>({notices:e(A.store).getNotices()}),[]),r=Object(p.filter)(t,{isDismissible:!0,type:"default"}),n=Object(p.filter)(t,{isDismissible:!1,type:"default"}),c=Object(p.filter)(t,{type:"snackbar"});return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(le.NoticeList,{notices:n,className:"edit-widgets-notices__pinned"}),Object(a.createElement)(le.NoticeList,{notices:r,className:"edit-widgets-notices__dismissible",onRemove:e}),Object(a.createElement)(le.SnackbarList,{notices:c,className:"edit-widgets-notices__snackbar",onRemove:e}))};function it({blockEditorSettings:e}){return Object(a.createElement)("div",{className:"edit-widgets-block-editor"},Object(a.createElement)(ct,null),Object(a.createElement)(ce.BlockTools,null,Object(a.createElement)(we,null),Object(a.createElement)(ce.BlockEditorKeyboardShortcuts,null),Object(a.createElement)("div",{className:"editor-styles-wrapper"},Object(a.createElement)(ce.__unstableEditorStyles,{styles:e.styles}),Object(a.createElement)(ce.BlockSelectionClearer,null,Object(a.createElement)(ce.WritingFlow,null,Object(a.createElement)(ce.ObserveTyping,null,Object(a.createElement)(ce.BlockList,{className:"edit-widgets-main-block-list"})))))))}var ot=()=>{const e=Object(g.useSelect)(e=>{var t;const{getEntityRecord:r}=e("core"),n=r(_,"postType","widget-areas");return null==n||null===(t=n.blocks[0])||void 0===t?void 0:t.clientId},[]);return Object(g.useSelect)(t=>{const{getBlockRootClientId:r,getBlockSelectionEnd:n,getBlockOrder:c,getBlockIndex:i}=t(ce.store),o=n()||e,a=r(o);return o&&""===a?{rootClientId:o,insertionIndex:c(o).length}:{rootClientId:a,insertionIndex:i(o,a)+1}},[e])};const at={header:Object(I.__)("Widgets top bar"),body:Object(I.__)("Widgets and blocks"),sidebar:Object(I.__)("Widgets settings")};var st=function({blockEditorSettings:e}){const t=Object(ie.useViewportMatch)("medium","<"),r=Object(ie.useViewportMatch)("huge",">="),{setIsInserterOpened:n,closeGeneralSidebar:c}=Object(g.useDispatch)(ne),{rootClientId:i,insertionIndex:o}=ot(),{hasSidebarEnabled:s,isInserterOpened:l}=Object(g.useSelect)(e=>({hasSidebarEnabled:!!e(x.g).getActiveComplementaryArea(ne.name),isInserterOpened:!!e(ne).isInserterOpened()}),[]);Object(a.useEffect)(()=>{s&&!r&&n(!1)},[s,r]),Object(a.useEffect)(()=>{l&&!r&&c()},[l,r]);const[d,u]=Object(ie.__experimentalUseDialog)({onClose:()=>n(!1)});return Object(a.createElement)(x.e,{labels:at,header:Object(a.createElement)(nt,null),secondarySidebar:l&&Object(a.createElement)("div",Object(je.a)({ref:d},u,{className:"edit-widgets-layout__inserter-panel"}),Object(a.createElement)("div",{className:"edit-widgets-layout__inserter-panel-header"},Object(a.createElement)(le.Button,{icon:Re.a,onClick:()=>n(!1)})),Object(a.createElement)("div",{className:"edit-widgets-layout__inserter-panel-content"},Object(a.createElement)(ce.__experimentalLibrary,{showInserterHelpPanel:!0,shouldFocusBlock:t,rootClientId:i,__experimentalInsertionIndex:o}))),sidebar:s&&Object(a.createElement)(x.b.Slot,{scope:"core/edit-widgets"}),content:Object(a.createElement)(it,{blockEditorSettings:e})})};function lt(){const e=Object(g.useSelect)(e=>{const{getEditedWidgetAreas:t}=e(ne),r=t();return(null==r?void 0:r.length)>0},[]);return Object(a.useEffect)(()=>{const t=t=>{if(e)return t.returnValue=Object(I.__)("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 dt(){var e;const t=Object(g.useSelect)(e=>e(ne).__unstableIsFeatureActive("welcomeGuide"),[]),{__unstableToggleFeature:r}=Object(g.useDispatch)(ne),n=Object(g.useSelect)(e=>e(ne).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(a.createElement)(le.Guide,{className:"edit-widgets-welcome-guide",contentLabel:Object(I.__)("Welcome to block Widgets"),finishButtonText:Object(I.__)("Get started"),onFinish:()=>r("welcomeGuide"),pages:[{image:Object(a.createElement)(ut,{nonAnimatedSrc:"https://s.w.org/images/block-editor/welcome-canvas.svg",animatedSrc:"https://s.w.org/images/block-editor/welcome-canvas.gif"}),content:Object(a.createElement)(a.Fragment,null,Object(a.createElement)("h1",{className:"edit-widgets-welcome-guide__heading"},Object(I.__)("Welcome to block Widgets")),c?Object(a.createElement)(a.Fragment,null,Object(a.createElement)("p",{className:"edit-widgets-welcome-guide__text"},Object(I.sprintf)(Object(I._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(a.createElement)(a.Fragment,null,Object(a.createElement)("p",{className:"edit-widgets-welcome-guide__text"},Object(I.__)("You can now add any block to your site’s widget areas. Don’t worry, all of your favorite widgets still work flawlessly.")),Object(a.createElement)("p",{className:"edit-widgets-welcome-guide__text"},Object(a.createElement)("strong",null,Object(I.__)("Want to stick with the old widgets?"))," ",Object(a.createElement)(le.ExternalLink,{href:Object(I.__)("https://wordpress.org/plugins/classic-widgets/")},Object(I.__)("Get the Classic Widgets plugin.")))))},{image:Object(a.createElement)(ut,{nonAnimatedSrc:"https://s.w.org/images/block-editor/welcome-editor.svg",animatedSrc:"https://s.w.org/images/block-editor/welcome-editor.gif"}),content:Object(a.createElement)(a.Fragment,null,Object(a.createElement)("h1",{className:"edit-widgets-welcome-guide__heading"},Object(I.__)("Make each block your own")),Object(a.createElement)("p",{className:"edit-widgets-welcome-guide__text"},Object(I.__)("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(a.createElement)(ut,{nonAnimatedSrc:"https://s.w.org/images/block-editor/welcome-library.svg",animatedSrc:"https://s.w.org/images/block-editor/welcome-library.gif"}),content:Object(a.createElement)(a.Fragment,null,Object(a.createElement)("h1",{className:"edit-widgets-welcome-guide__heading"},Object(I.__)("Get to know the block library")),Object(a.createElement)("p",{className:"edit-widgets-welcome-guide__text"},Object(a.createInterpolateElement)(Object(I.__)("All of the blocks available to you live in the block library. You’ll find it wherever you see the <InserterIconImage /> icon."),{InserterIconImage:Object(a.createElement)("img",{className:"edit-widgets-welcome-guide__inserter-icon",alt:Object(I.__)("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(a.createElement)(ut,{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-widgets-welcome-guide__heading"},Object(I.__)("Learn how to use the block editor")),Object(a.createElement)("p",{className:"edit-widgets-welcome-guide__text"},Object(I.__)("New to the block editor? Want to learn more about using it? "),Object(a.createElement)(le.ExternalLink,{href:Object(I.__)("https://wordpress.org/support/article/wordpress-editor/")},Object(I.__)("Here's a detailed guide."))))}]})}function ut({nonAnimatedSrc:e,animatedSrc:t}){return Object(a.createElement)("picture",{className:"edit-widgets-welcome-guide__image"},Object(a.createElement)("source",{srcSet:e,media:"(prefers-reduced-motion: reduce)"}),Object(a.createElement)("img",{src:t,width:"312",height:"240",alt:""}))}var bt=function({blockEditorSettings:e}){return Object(a.createElement)(ye,{blockEditorSettings:e},Object(a.createElement)(st,{blockEditorSettings:e}),Object(a.createElement)(Be,null),Object(a.createElement)(le.Popover.Slot,null),Object(a.createElement)(Oe.PluginArea,null),Object(a.createElement)(lt,null),Object(a.createElement)(dt,null))};function mt(e,t){const r=Object(l.__experimentalGetCoreBlocks)().filter(e=>!["core/more"].includes(e.name));Object(l.registerCoreBlocks)(r),Object(u.registerLegacyWidgetVariations)(t),gt(o),t.__experimentalFetchLinkSuggestions=(e,r)=>Object(d.__experimentalFetchLinkSuggestions)(e,r,t),Object(a.render)(Object(a.createElement)(bt,{blockEditorSettings:t}),document.getElementById(e))}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},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:"M18.3 5.6L9.9 16.9l-4.6-3.4-.9 1.2 5.8 4.3 9.3-12.6z"}));t.a=i},RxS6:function(e,t){e.exports=window.wp.keycodes},TSYQ:function(e,t,r){var n; /*! Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see diff --git a/wp-includes/js/dist/editor.js b/wp-includes/js/dist/editor.js index 087b4a2565..5689a92f7c 100644 --- a/wp-includes/js/dist/editor.js +++ b/wp-includes/js/dist/editor.js @@ -938,7 +938,7 @@ __webpack_require__.d(selectors_namespaceObject, "isPermalinkEditable", function __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 isPostLocked; }); +__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 isPostLockTakeover; }); @@ -1711,11 +1711,11 @@ function getWPAdminURL(page, query) { * 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, + * 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. Converts remaining string to lowercase. It does not account - * for octets, HTML entities, or other encoded 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 * @@ -1727,7 +1727,7 @@ function cleanForSlug(string) { return ''; } - return Object(external_lodash_["trim"])(Object(external_lodash_["deburr"])(string).replace(/[\s\./]+/g, '-').replace(/[^\w-]+/g, '').toLowerCase(), '-'); + return Object(external_lodash_["trim"])(Object(external_lodash_["deburr"])(string).replace(/[\s\./]+/g, '-').replace(/[^\p{L}\p{N}_-]+/gu, '').toLowerCase(), '-'); } // EXTERNAL MODULE: external ["wp","primitives"] @@ -2784,7 +2784,7 @@ function getPermalinkParts(state) { * @return {boolean} Is locked. */ -function isPostLocked(state) { +function selectors_isPostLocked(state) { return state.postLock.isLocked; } /** @@ -7014,10 +7014,12 @@ class post_preview_button_PostPreviewButton extends external_wp_element_["Compon // https://html.spec.whatwg.org/multipage/interaction.html#dom-window-focus - this.previewWindow.focus(); // If we don't need to autosave the post before previewing, then we simply - // load the Preview URL in the Preview tab. + this.previewWindow.focus(); - if (!this.props.isAutosaveable) { + 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 @@ -7080,7 +7082,8 @@ class post_preview_button_PostPreviewButton extends external_wp_element_["Compon getEditedPostAttribute, isEditedPostSaveable, isEditedPostAutosaveable, - getEditedPostPreviewLink + getEditedPostPreviewLink, + isPostLocked } = select('core/editor'); const { getPostType @@ -7094,7 +7097,8 @@ class post_preview_button_PostPreviewButton extends external_wp_element_["Compon isSaveable: isEditedPostSaveable(), isAutosaveable: forceIsAutosaveable || isEditedPostAutosaveable(), isViewable: Object(external_lodash_["get"])(postType, ['viewable'], false), - isDraft: ['draft', 'auto-draft'].indexOf(getEditedPostAttribute('status')) !== -1 + isDraft: ['draft', 'auto-draft'].indexOf(getEditedPostAttribute('status')) !== -1, + isPostLocked: isPostLocked() }; }), Object(external_wp_data_["withDispatch"])(dispatch => ({ autosave: dispatch('core/editor').autosave, diff --git a/wp-includes/js/dist/editor.min.js b/wp-includes/js/dist/editor.min.js index 6fbb065ccb..ac1987fe89 100644 --- a/wp-includes/js/dist/editor.min.js +++ b/wp-includes/js/dist/editor.min.js @@ -4,7 +4,7 @@ this.wp=this.wp||{},this.wp.editor=function(e){var t={};function n(o){if(t[o])re autosize 4.0.4 license: MIT http://www.jacklmoore.com/autosize -*/r=[e,t],void 0===(i="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))}}),i=function(e){return new Event(e,{bubbles:!0})};try{new Event("test")}catch(e){i=function(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!1),t}}function s(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!r.has(e)){var t,n=null,o=null,s=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),s!==o){s=o;var r=i("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 s(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=i)},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 i=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=i},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 i=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=i},O6Fj:function(e,t,n){"use strict";t.__esModule=!0;var o=n("CNgt");t.default=o.TextareaAutosize},PLxR:function(e,t,n){"use strict";n.r(t),n.d(t,"storeConfig",(function(){return io})),n.d(t,"store",(function(){return so})),n.d(t,"userAutocompleter",(function(){return O})),n.d(t,"AutosaveMonitor",(function(){return ao})),n.d(t,"DocumentOutline",(function(){return jo})),n.d(t,"DocumentOutlineCheck",(function(){return vo})),n.d(t,"VisualEditorGlobalKeyboardShortcuts",(function(){return So})),n.d(t,"TextEditorGlobalKeyboardShortcuts",(function(){return Eo})),n.d(t,"EditorKeyboardShortcutsRegister",(function(){return wo})),n.d(t,"EditorHistoryRedo",(function(){return xo})),n.d(t,"EditorHistoryUndo",(function(){return Bo})),n.d(t,"EditorNotices",(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 Xo})),n.d(t,"PageAttributesParent",(function(){return ir})),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 Sr})),n.d(t,"PostLastRevision",(function(){return Tr})),n.d(t,"PostLastRevisionCheck",(function(){return kr})),n.d(t,"PostLockedModal",(function(){return Br})),n.d(t,"PostPendingStatus",(function(){return Ar})),n.d(t,"PostPendingStatusCheck",(function(){return Ir})),n.d(t,"PostPingbacks",(function(){return Rr})),n.d(t,"PostPreviewButton",(function(){return xr})),n.d(t,"PostPublishButton",(function(){return Lr})),n.d(t,"PostPublishButtonLabel",(function(){return Nr})),n.d(t,"PostPublishPanel",(function(){return di})),n.d(t,"PostSavedState",(function(){return gi})),n.d(t,"PostSchedule",(function(){return Gr})),n.d(t,"PostScheduleCheck",(function(){return Oi})),n.d(t,"PostScheduleLabel",(function(){return qr})),n.d(t,"PostSlug",(function(){return _i})),n.d(t,"PostSlugCheck",(function(){return ji})),n.d(t,"PostSticky",(function(){return Si})),n.d(t,"PostStickyCheck",(function(){return yi})),n.d(t,"PostSwitchToDraftButton",(function(){return fi})),n.d(t,"PostTaxonomies",(function(){return ki})),n.d(t,"PostTaxonomiesCheck",(function(){return Ti})),n.d(t,"PostTextEditor",(function(){return Bi})),n.d(t,"PostTitle",(function(){return Ai})),n.d(t,"PostTrash",(function(){return Ri})),n.d(t,"PostTrashCheck",(function(){return Ni})),n.d(t,"PostTypeSupportCheck",(function(){return Qo})),n.d(t,"PostVisibility",(function(){return Vr})),n.d(t,"PostVisibilityLabel",(function(){return Hr})),n.d(t,"PostVisibilityCheck",(function(){return Di})),n.d(t,"TableOfContents",(function(){return Vi})),n.d(t,"UnsavedChangesWarning",(function(){return Hi})),n.d(t,"WordCount",(function(){return Ui})),n.d(t,"EditorProvider",(function(){return Qi})),n.d(t,"ServerSideRender",(function(){return Xi.a})),n.d(t,"RichText",(function(){return es})),n.d(t,"Autocomplete",(function(){return ts})),n.d(t,"AlignmentToolbar",(function(){return ns})),n.d(t,"BlockAlignmentToolbar",(function(){return os})),n.d(t,"BlockControls",(function(){return rs})),n.d(t,"BlockEdit",(function(){return is})),n.d(t,"BlockEditorKeyboardShortcuts",(function(){return ss})),n.d(t,"BlockFormatControls",(function(){return cs})),n.d(t,"BlockIcon",(function(){return as})),n.d(t,"BlockInspector",(function(){return ls})),n.d(t,"BlockList",(function(){return us})),n.d(t,"BlockMover",(function(){return ds})),n.d(t,"BlockNavigationDropdown",(function(){return ps})),n.d(t,"BlockSelectionClearer",(function(){return bs})),n.d(t,"BlockSettingsMenu",(function(){return ms})),n.d(t,"BlockTitle",(function(){return hs})),n.d(t,"BlockToolbar",(function(){return fs})),n.d(t,"ColorPalette",(function(){return gs})),n.d(t,"ContrastChecker",(function(){return Os})),n.d(t,"CopyHandler",(function(){return js})),n.d(t,"DefaultBlockAppender",(function(){return vs})),n.d(t,"FontSizePicker",(function(){return _s})),n.d(t,"Inserter",(function(){return ys})),n.d(t,"InnerBlocks",(function(){return Ss})),n.d(t,"InspectorAdvancedControls",(function(){return Es})),n.d(t,"InspectorControls",(function(){return ws})),n.d(t,"PanelColorSettings",(function(){return Ps})),n.d(t,"PlainText",(function(){return ks})),n.d(t,"RichTextShortcut",(function(){return Ts})),n.d(t,"RichTextToolbarButton",(function(){return Cs})),n.d(t,"__unstableRichTextInputEvent",(function(){return xs})),n.d(t,"MediaPlaceholder",(function(){return Bs})),n.d(t,"MediaUpload",(function(){return Is})),n.d(t,"MediaUploadCheck",(function(){return As})),n.d(t,"MultiSelectScrollIntoView",(function(){return Rs})),n.d(t,"NavigableToolbar",(function(){return Ns})),n.d(t,"ObserveTyping",(function(){return Ds})),n.d(t,"PreserveScrollInReorder",(function(){return Ls})),n.d(t,"SkipToSelectedBlock",(function(){return Fs})),n.d(t,"URLInput",(function(){return Us})),n.d(t,"URLInputButton",(function(){return Ms})),n.d(t,"URLPopover",(function(){return zs})),n.d(t,"Warning",(function(){return Vs})),n.d(t,"WritingFlow",(function(){return Hs})),n.d(t,"createCustomColorsHOC",(function(){return Ws})),n.d(t,"getColorClassName",(function(){return Gs})),n.d(t,"getColorObjectByAttributeValues",(function(){return qs})),n.d(t,"getColorObjectByColorValue",(function(){return Ks})),n.d(t,"getFontSize",(function(){return $s})),n.d(t,"getFontSizeClass",(function(){return Qs})),n.d(t,"withColorContext",(function(){return Ys})),n.d(t,"withColors",(function(){return Xs})),n.d(t,"withFontSizes",(function(){return Js})),n.d(t,"mediaUpload",(function(){return Ki})),n.d(t,"cleanForSlug",(function(){return N})),n.d(t,"transformStyles",(function(){return i.transformStyles}));var o={};n.r(o),n.d(o,"hasEditorUndo",(function(){return V})),n.d(o,"hasEditorRedo",(function(){return H})),n.d(o,"isEditedPostNew",(function(){return W})),n.d(o,"hasChangedContent",(function(){return G})),n.d(o,"isEditedPostDirty",(function(){return q})),n.d(o,"hasNonPostEntityChanges",(function(){return K})),n.d(o,"isCleanNewPost",(function(){return $})),n.d(o,"getCurrentPost",(function(){return Q})),n.d(o,"getCurrentPostType",(function(){return Y})),n.d(o,"getCurrentPostId",(function(){return X})),n.d(o,"getCurrentPostRevisionsCount",(function(){return J})),n.d(o,"getCurrentPostLastRevisionId",(function(){return Z})),n.d(o,"getPostEdits",(function(){return ee})),n.d(o,"getReferenceByDistinctEdits",(function(){return te})),n.d(o,"getCurrentPostAttribute",(function(){return ne})),n.d(o,"getEditedPostAttribute",(function(){return oe})),n.d(o,"getAutosaveAttribute",(function(){return re})),n.d(o,"getEditedPostVisibility",(function(){return ie})),n.d(o,"isCurrentPostPending",(function(){return se})),n.d(o,"isCurrentPostPublished",(function(){return ce})),n.d(o,"isCurrentPostScheduled",(function(){return ae})),n.d(o,"isEditedPostPublishable",(function(){return le})),n.d(o,"isEditedPostSaveable",(function(){return ue})),n.d(o,"isEditedPostEmpty",(function(){return de})),n.d(o,"isEditedPostAutosaveable",(function(){return pe})),n.d(o,"getAutosave",(function(){return be})),n.d(o,"hasAutosave",(function(){return me})),n.d(o,"isEditedPostBeingScheduled",(function(){return he})),n.d(o,"isEditedPostDateFloating",(function(){return fe})),n.d(o,"isSavingPost",(function(){return ge})),n.d(o,"didPostSaveRequestSucceed",(function(){return Oe})),n.d(o,"didPostSaveRequestFail",(function(){return je})),n.d(o,"isAutosavingPost",(function(){return ve})),n.d(o,"isPreviewingPost",(function(){return _e})),n.d(o,"getEditedPostPreviewLink",(function(){return ye})),n.d(o,"getSuggestedPostFormat",(function(){return Se})),n.d(o,"getBlocksForSerialization",(function(){return Ee})),n.d(o,"getEditedPostContent",(function(){return we})),n.d(o,"isPublishingPost",(function(){return Pe})),n.d(o,"isPermalinkEditable",(function(){return ke})),n.d(o,"getPermalink",(function(){return Te})),n.d(o,"getEditedPostSlug",(function(){return Ce})),n.d(o,"getPermalinkParts",(function(){return xe})),n.d(o,"isPostLocked",(function(){return Be})),n.d(o,"isPostSavingLocked",(function(){return Ie})),n.d(o,"isPostAutosavingLocked",(function(){return Ae})),n.d(o,"isPostLockTakeover",(function(){return Re})),n.d(o,"getPostLockUser",(function(){return Ne})),n.d(o,"getActivePostLock",(function(){return De})),n.d(o,"canUserUseUnfilteredHTML",(function(){return Le})),n.d(o,"isPublishSidebarEnabled",(function(){return Fe})),n.d(o,"getEditorBlocks",(function(){return Ue})),n.d(o,"getEditorSelectionStart",(function(){return Me})),n.d(o,"getEditorSelectionEnd",(function(){return ze})),n.d(o,"getEditorSelection",(function(){return Ve})),n.d(o,"__unstableIsEditorReady",(function(){return He})),n.d(o,"getEditorSettings",(function(){return We})),n.d(o,"getStateBeforeOptimisticTransaction",(function(){return Ge})),n.d(o,"inSomeHistory",(function(){return qe})),n.d(o,"getBlockName",(function(){return $e})),n.d(o,"isBlockValid",(function(){return Qe})),n.d(o,"getBlockAttributes",(function(){return Ye})),n.d(o,"getBlock",(function(){return Xe})),n.d(o,"getBlocks",(function(){return Je})),n.d(o,"__unstableGetBlockWithoutInnerBlocks",(function(){return Ze})),n.d(o,"getClientIdsOfDescendants",(function(){return et})),n.d(o,"getClientIdsWithDescendants",(function(){return tt})),n.d(o,"getGlobalBlockCount",(function(){return nt})),n.d(o,"getBlocksByClientId",(function(){return ot})),n.d(o,"getBlockCount",(function(){return rt})),n.d(o,"getBlockSelectionStart",(function(){return it})),n.d(o,"getBlockSelectionEnd",(function(){return st})),n.d(o,"getSelectedBlockCount",(function(){return ct})),n.d(o,"hasSelectedBlock",(function(){return at})),n.d(o,"getSelectedBlockClientId",(function(){return lt})),n.d(o,"getSelectedBlock",(function(){return ut})),n.d(o,"getBlockRootClientId",(function(){return dt})),n.d(o,"getBlockHierarchyRootClientId",(function(){return pt})),n.d(o,"getAdjacentBlockClientId",(function(){return bt})),n.d(o,"getPreviousBlockClientId",(function(){return mt})),n.d(o,"getNextBlockClientId",(function(){return ht})),n.d(o,"getSelectedBlocksInitialCaretPosition",(function(){return ft})),n.d(o,"getMultiSelectedBlockClientIds",(function(){return gt})),n.d(o,"getMultiSelectedBlocks",(function(){return Ot})),n.d(o,"getFirstMultiSelectedBlockClientId",(function(){return jt})),n.d(o,"getLastMultiSelectedBlockClientId",(function(){return vt})),n.d(o,"isFirstMultiSelectedBlock",(function(){return _t})),n.d(o,"isBlockMultiSelected",(function(){return yt})),n.d(o,"isAncestorMultiSelected",(function(){return St})),n.d(o,"getMultiSelectedBlocksStartClientId",(function(){return Et})),n.d(o,"getMultiSelectedBlocksEndClientId",(function(){return wt})),n.d(o,"getBlockOrder",(function(){return Pt})),n.d(o,"getBlockIndex",(function(){return kt})),n.d(o,"isBlockSelected",(function(){return Tt})),n.d(o,"hasSelectedInnerBlock",(function(){return Ct})),n.d(o,"isBlockWithinSelection",(function(){return xt})),n.d(o,"hasMultiSelection",(function(){return Bt})),n.d(o,"isMultiSelecting",(function(){return It})),n.d(o,"isSelectionEnabled",(function(){return At})),n.d(o,"getBlockMode",(function(){return Rt})),n.d(o,"isTyping",(function(){return Nt})),n.d(o,"isCaretWithinFormattedText",(function(){return Dt})),n.d(o,"getBlockInsertionPoint",(function(){return Lt})),n.d(o,"isBlockInsertionPointVisible",(function(){return Ft})),n.d(o,"isValidTemplate",(function(){return Ut})),n.d(o,"getTemplate",(function(){return Mt})),n.d(o,"getTemplateLock",(function(){return zt})),n.d(o,"canInsertBlockType",(function(){return Vt})),n.d(o,"getInserterItems",(function(){return Ht})),n.d(o,"hasInserterItems",(function(){return Wt})),n.d(o,"getBlockListSettings",(function(){return Gt})),n.d(o,"__experimentalGetDefaultTemplateTypes",(function(){return qt})),n.d(o,"__experimentalGetDefaultTemplatePartAreas",(function(){return Kt})),n.d(o,"__experimentalGetDefaultTemplateType",(function(){return $t})),n.d(o,"__experimentalGetTemplateInfo",(function(){return Qt}));var r={};n.r(r),n.d(r,"setupEditor",(function(){return Jt})),n.d(r,"__experimentalTearDownEditor",(function(){return Zt})),n.d(r,"resetPost",(function(){return en})),n.d(r,"resetAutosave",(function(){return tn})),n.d(r,"__experimentalRequestPostUpdateStart",(function(){return nn})),n.d(r,"__experimentalRequestPostUpdateFinish",(function(){return on})),n.d(r,"updatePost",(function(){return rn})),n.d(r,"setupEditorState",(function(){return sn})),n.d(r,"editPost",(function(){return cn})),n.d(r,"savePost",(function(){return an})),n.d(r,"refreshPost",(function(){return ln})),n.d(r,"trashPost",(function(){return un})),n.d(r,"autosave",(function(){return dn})),n.d(r,"redo",(function(){return pn})),n.d(r,"undo",(function(){return bn})),n.d(r,"createUndoLevel",(function(){return mn})),n.d(r,"updatePostLock",(function(){return hn})),n.d(r,"enablePublishSidebar",(function(){return fn})),n.d(r,"disablePublishSidebar",(function(){return gn})),n.d(r,"lockPostSaving",(function(){return On})),n.d(r,"unlockPostSaving",(function(){return jn})),n.d(r,"lockPostAutosaving",(function(){return vn})),n.d(r,"unlockPostAutosaving",(function(){return _n})),n.d(r,"resetEditorBlocks",(function(){return yn})),n.d(r,"updateEditorSettings",(function(){return Sn})),n.d(r,"resetBlocks",(function(){return wn})),n.d(r,"receiveBlocks",(function(){return Pn})),n.d(r,"updateBlock",(function(){return kn})),n.d(r,"updateBlockAttributes",(function(){return Tn})),n.d(r,"selectBlock",(function(){return Cn})),n.d(r,"startMultiSelect",(function(){return xn})),n.d(r,"stopMultiSelect",(function(){return Bn})),n.d(r,"multiSelect",(function(){return In})),n.d(r,"clearSelectedBlock",(function(){return An})),n.d(r,"toggleSelection",(function(){return Rn})),n.d(r,"replaceBlocks",(function(){return Nn})),n.d(r,"replaceBlock",(function(){return Dn})),n.d(r,"moveBlocksDown",(function(){return Ln})),n.d(r,"moveBlocksUp",(function(){return Fn})),n.d(r,"moveBlockToPosition",(function(){return Un})),n.d(r,"insertBlock",(function(){return Mn})),n.d(r,"insertBlocks",(function(){return zn})),n.d(r,"showInsertionPoint",(function(){return Vn})),n.d(r,"hideInsertionPoint",(function(){return Hn})),n.d(r,"setTemplateValidity",(function(){return Wn})),n.d(r,"synchronizeTemplate",(function(){return Gn})),n.d(r,"mergeBlocks",(function(){return qn})),n.d(r,"removeBlocks",(function(){return Kn})),n.d(r,"removeBlock",(function(){return $n})),n.d(r,"toggleBlockMode",(function(){return Qn})),n.d(r,"startTyping",(function(){return Yn})),n.d(r,"stopTyping",(function(){return Xn})),n.d(r,"enterFormattedText",(function(){return Jn})),n.d(r,"exitFormattedText",(function(){return Zn})),n.d(r,"insertDefaultBlock",(function(){return eo})),n.d(r,"updateBlockListSettings",(function(){return to}));var i=n("axFQ"),s=n("jZUy"),c=n("qRz9"),a=n("wx14"),l=n("GRId"),u=n("YLtl"),d=n("HSyU"),p=n("1ZqX"),b=n("K9lf"),m=n("g56x");function h(e){const t=Object(u.mapValues)(Object(u.pickBy)(e.attributes,{source:"meta"}),"meta");return Object(u.isEmpty)(t)||(e.edit=(e=>Object(b.createHigherOrderComponent)(t=>({attributes:n,setAttributes:o,...r})=>{const i=Object(p.useSelect)(e=>e("core/editor").getCurrentPostType(),[]),[c,d]=Object(s.useEntityProp)("postType",i,"meta"),b=Object(l.useMemo)(()=>({...n,...Object(u.mapValues)(e,e=>c[e])}),[n,c]);return Object(l.createElement)(t,Object(a.a)({attributes:b,setAttributes:t=>{const n=Object(u.mapKeys)(Object(u.pickBy)(t,(t,n)=>e[n]),(t,n)=>e[n]);Object(u.isEmpty)(n)||d(n),o(t)}},r))},"withMetaAttributeSource"))(t)(e.edit)),e}Object(m.addFilter)("blocks.registerBlockType","core/editor/custom-sources-backwards-compatibility/shim-attribute-source",h),Object(p.select)(d.store).getBlockTypes().map(({name:e})=>Object(p.select)(d.store).getBlockType(e)).forEach(h);var f=n("ywyh"),g=n.n(f),O={name:"users",className:"editor-autocompleters__user",triggerPrefix:"@",options(e){let t="";return e&&(t="?search="+encodeURIComponent(e)),g()({path:"/wp/v2/users"+t})},isDebounced:!0,getOptionKeywords:e=>[e.slug,e.name],getOptionLabel:e=>[e.avatar_urls&&e.avatar_urls[24]?Object(l.createElement)("img",{key:"avatar",className:"editor-autocompleters__user-avatar",alt:"",src:e.avatar_urls[24]}):Object(l.createElement)("span",{className:"editor-autocompleters__no-avatar"}),Object(l.createElement)("span",{key:"name",className:"editor-autocompleters__user-name"},e.name),Object(l.createElement)("span",{key:"slug",className:"editor-autocompleters__user-slug"},e.slug)],getOptionCompletion:e=>"@"+e.slug};Object(m.addFilter)("editor.Autocomplete.completers","editor/autocompleters/set-default-completers",(function(e=[]){return e.push(Object(u.clone)(O)),e}));var j=n("51Zz");const v={insertUsage:{},isPublishSidebarEnabled:!0},_={...i.SETTINGS_DEFAULTS,richEditingEnabled:!0,codeEditingEnabled:!0,enableCustomFields:!1,supportsLayout:!0};function y(e){return e&&"object"==typeof e&&"raw"in e?e.raw:e}var S=Object(p.combineReducers)({postId:function(e=null,t){switch(t.type){case"SETUP_EDITOR_STATE":case"RESET_POST":return t.post.id}return e},postType:function(e=null,t){switch(t.type){case"SETUP_EDITOR_STATE":case"RESET_POST":return t.post.type}return e},preferences:function(e=v,t){switch(t.type){case"ENABLE_PUBLISH_SIDEBAR":return{...e,isPublishSidebarEnabled:!0};case"DISABLE_PUBLISH_SIDEBAR":return{...e,isPublishSidebarEnabled:!1}}return e},saving:function(e={},t){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(e={isLocked:!1},t){switch(t.type){case"UPDATE_POST_LOCK":return t.lock}return e},template:function(e={isValid:!0},t){switch(t.type){case"SET_TEMPLATE_VALIDITY":return{...e,isValid:t.isValid}}return e},postSavingLock:function(e={},t){switch(t.type){case"LOCK_POST_SAVING":return{...e,[t.lockName]:!0};case"UNLOCK_POST_SAVING":return Object(u.omit)(e,t.lockName)}return e},isReady:function(e=!1,t){switch(t.type){case"SETUP_EDITOR_STATE":return!0;case"TEAR_DOWN_EDITOR":return!1}return e},editorSettings:function(e=_,t){switch(t.type){case"UPDATE_EDITOR_SETTINGS":return{...e,...t.settings}}return e},postAutosavingLock:function(e={},t){switch(t.type){case"LOCK_POST_AUTOSAVING":return{...e,[t.lockName]:!0};case"UNLOCK_POST_AUTOSAVING":return Object(u.omit)(e,t.lockName)}return e}}),E=n("pPDe"),w=n("FqII"),P=n("Mmq9"),k=n("NMb1"),T=n.n(k),C=n("Civd");const x=new Set(["meta"]),B="core/editor",I=/%(?:postname|pagename)%/,A=["title","excerpt","content"];function R(e,t){return Object(P.addQueryArgs)(e,t)}function N(e){return e?Object(u.trim)(Object(u.deburr)(e).replace(/[\s\./]+/g,"-").replace(/[^\w-]+/g,"").toLowerCase(),"-"):""}var D=n("Tqx9");var L=Object(l.createElement)(D.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(l.createElement)(D.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 F=Object(l.createElement)(D.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(l.createElement)(D.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 U=Object(l.createElement)(D.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(l.createElement)(D.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 M={},z=[],V=Object(p.createRegistrySelector)(e=>()=>e("core").hasUndo()),H=Object(p.createRegistrySelector)(e=>()=>e("core").hasRedo());function W(e){return"auto-draft"===Q(e).status}function G(e){const t=ee(e);return"blocks"in t||"content"in t}const q=Object(p.createRegistrySelector)(e=>t=>{const n=Y(t),o=X(t);return!!e("core").hasEditsForEntityRecord("postType",n,o)}),K=Object(p.createRegistrySelector)(e=>t=>{const n=e("core").__experimentalGetDirtyEntityRecords(),{type:o,id:r}=Q(t);return Object(u.some)(n,e=>"postType"!==e.kind||e.name!==o||e.key!==r)});function $(e){return!q(e)&&W(e)}const Q=Object(p.createRegistrySelector)(e=>t=>{const n=X(t),o=Y(t),r=e("core").getRawEntityRecord("postType",o,n);return r||M});function Y(e){return e.postType}function X(e){return e.postId}function J(e){return Object(u.get)(Q(e),["_links","version-history",0,"count"],0)}function Z(e){return Object(u.get)(Q(e),["_links","predecessor-version",0,"id"],null)}const ee=Object(p.createRegistrySelector)(e=>t=>{const n=Y(t),o=X(t);return e("core").getEntityRecordEdits("postType",n,o)||M}),te=Object(p.createRegistrySelector)(e=>()=>(T()("`wp.data.select( 'core/editor' ).getReferenceByDistinctEdits`",{since:"5.4",alternative:"`wp.data.select( 'core' ).getReferenceByDistinctEdits`"}),e("core").getReferenceByDistinctEdits()));function ne(e,t){switch(t){case"type":return Y(e);case"id":return X(e);default:const n=Q(e);if(!n.hasOwnProperty(t))break;return y(n[t])}}function oe(e,t){switch(t){case"content":return we(e)}const n=ee(e);return n.hasOwnProperty(t)?x.has(t)?((e,t)=>{const n=ee(e);return n.hasOwnProperty(t)?{...ne(e,t),...n[t]}:ne(e,t)})(e,t):n[t]:ne(e,t)}const re=Object(p.createRegistrySelector)(e=>(t,n)=>{if(!Object(u.includes)(A,n)&&"preview_link"!==n)return;const o=Y(t),r=X(t),i=Object(u.get)(e("core").getCurrentUser(),["id"]),s=e("core").getAutosave(o,r,i);return s?y(s[n]):void 0});function ie(e){if("private"===oe(e,"status"))return"private";return oe(e,"password")?"password":"public"}function se(e){return"pending"===Q(e).status}function ce(e,t){const n=t||Q(e);return-1!==["publish","private"].indexOf(n.status)||"future"===n.status&&!Object(w.isInTheFuture)(new Date(Number(Object(w.getDate)(n.date))-6e4))}function ae(e){return"future"===Q(e).status&&!ce(e)}function le(e){const t=Q(e);return q(e)||-1===["publish","private","future"].indexOf(t.status)}function ue(e){return!ge(e)&&(!!oe(e,"title")||!!oe(e,"excerpt")||!de(e)||"native"===l.Platform.OS)}function de(e){const t=Ue(e);if(t.length){if(t.length>1)return!1;const e=t[0].name;if(e!==Object(d.getDefaultBlockName)()&&e!==Object(d.getFreeformContentHandlerName)())return!1}return!we(e)}const pe=Object(p.createRegistrySelector)(e=>t=>{if(!ue(t))return!1;if(Ae(t))return!1;const n=Y(t),o=X(t),r=e("core").hasFetchedAutosaves(n,o),i=Object(u.get)(e("core").getCurrentUser(),["id"]),s=e("core").getAutosave(n,o,i);return!!r&&(!s||(!!G(t)||["title","excerpt"].some(e=>y(s[e])!==oe(t,e))))}),be=Object(p.createRegistrySelector)(e=>t=>{T()("`wp.data.select( 'core/editor' ).getAutosave()`",{since:"5.3",alternative:"`wp.data.select( 'core' ).getAutosave( postType, postId, userId )`"});const n=Y(t),o=X(t),r=Object(u.get)(e("core").getCurrentUser(),["id"]),i=e("core").getAutosave(n,o,r);return Object(u.mapValues)(Object(u.pick)(i,A),y)}),me=Object(p.createRegistrySelector)(e=>t=>{T()("`wp.data.select( 'core/editor' ).hasAutosave()`",{since:"5.3",alternative:"`!! wp.data.select( 'core' ).getAutosave( postType, postId, userId )`"});const n=Y(t),o=X(t),r=Object(u.get)(e("core").getCurrentUser(),["id"]);return!!e("core").getAutosave(n,o,r)});function he(e){const t=oe(e,"date"),n=new Date(Number(Object(w.getDate)(t))-6e4);return Object(w.isInTheFuture)(n)}function fe(e){const t=oe(e,"date"),n=oe(e,"modified"),o=Q(e).status;return("draft"===o||"auto-draft"===o||"pending"===o)&&(t===n||null===t)}const ge=Object(p.createRegistrySelector)(e=>t=>{const n=Y(t),o=X(t);return e("core").isSavingEntityRecord("postType",n,o)}),Oe=Object(p.createRegistrySelector)(e=>t=>{const n=Y(t),o=X(t);return!e("core").getLastEntitySaveError("postType",n,o)}),je=Object(p.createRegistrySelector)(e=>t=>{const n=Y(t),o=X(t);return!!e("core").getLastEntitySaveError("postType",n,o)});function ve(e){return!!ge(e)&&!!Object(u.get)(e.saving,["options","isAutosave"])}function _e(e){return!!ge(e)&&!!e.saving.options.isPreview}function ye(e){if(e.saving.pending||ge(e))return;let t=re(e,"preview_link");t||(t=oe(e,"link"),t&&(t=Object(P.addQueryArgs)(t,{preview:!0})));const n=oe(e,"featured_media");return t&&n?Object(P.addQueryArgs)(t,{_thumbnail_id:n}):t}function Se(e){const t=Ue(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}}function Ee(e){T()("`core/editor` getBlocksForSerialization selector",{since:"5.3",alternative:"getEditorBlocks",hint:"Blocks serialization pre-processing occurs at save time"});const t=e.editor.present.blocks.value;return 1===t.length&&Object(d.isUnmodifiedDefaultBlock)(t[0])?[]:t}const we=Object(p.createRegistrySelector)(e=>t=>{const n=X(t),o=Y(t),r=e("core").getEditedEntityRecord("postType",o,n);if(r){if("function"==typeof r.content)return r.content(r);if(r.blocks)return Object(d.__unstableSerializeAndClean)(r.blocks);if(r.content)return r.content}return""});function Pe(e){return ge(e)&&!ce(e)&&"publish"===oe(e,"status")}function ke(e){const t=oe(e,"permalink_template");return I.test(t)}function Te(e){const t=xe(e);if(!t)return null;const{prefix:n,postName:o,suffix:r}=t;return ke(e)?n+o+r:n}function Ce(e){return oe(e,"slug")||N(oe(e,"title"))||X(e)}function xe(e){const t=oe(e,"permalink_template");if(!t)return null;const n=oe(e,"slug")||oe(e,"generated_slug"),[o,r]=t.split(I);return{prefix:o,postName:n,suffix:r}}function Be(e){return e.postLock.isLocked}function Ie(e){return Object.keys(e.postSavingLock).length>0}function Ae(e){return Object.keys(e.postAutosavingLock).length>0}function Re(e){return e.postLock.isTakeover}function Ne(e){return e.postLock.user}function De(e){return e.postLock.activePostLock}function Le(e){return Object(u.has)(Q(e),["_links","wp:action-unfiltered-html"])}function Fe(e){return e.preferences.hasOwnProperty("isPublishSidebarEnabled")?e.preferences.isPublishSidebarEnabled:v.isPublishSidebarEnabled}function Ue(e){return oe(e,"blocks")||z}function Me(e){var t;return T()("select('core/editor').getEditorSelectionStart",{since:"10.0",plugin:"Gutenberg",alternative:"select('core/editor').getEditorSelection"}),null===(t=oe(e,"selection"))||void 0===t?void 0:t.selectionStart}function ze(e){var t;return T()("select('core/editor').getEditorSelectionStart",{since:"10.0",plugin:"Gutenberg",alternative:"select('core/editor').getEditorSelection"}),null===(t=oe(e,"selection"))||void 0===t?void 0:t.selectionEnd}function Ve(e){return oe(e,"selection")}function He(e){return e.isReady}function We(e){return e.editorSettings}function Ge(){return T()("select('core/editor').getStateBeforeOptimisticTransaction",{since:"5.7",hint:"No state history is kept on this store anymore"}),null}function qe(){return T()("select('core/editor').inSomeHistory",{since:"5.7",hint:"No state history is kept on this store anymore"}),!1}function Ke(e){return Object(p.createRegistrySelector)(t=>(n,...o)=>(T()("`wp.data.select( 'core/editor' )."+e+"`",{since:"5.3",alternative:"`wp.data.select( 'core/block-editor' )."+e+"`"}),t("core/block-editor")[e](...o)))}const $e=Ke("getBlockName"),Qe=Ke("isBlockValid"),Ye=Ke("getBlockAttributes"),Xe=Ke("getBlock"),Je=Ke("getBlocks"),Ze=Ke("__unstableGetBlockWithoutInnerBlocks"),et=Ke("getClientIdsOfDescendants"),tt=Ke("getClientIdsWithDescendants"),nt=Ke("getGlobalBlockCount"),ot=Ke("getBlocksByClientId"),rt=Ke("getBlockCount"),it=Ke("getBlockSelectionStart"),st=Ke("getBlockSelectionEnd"),ct=Ke("getSelectedBlockCount"),at=Ke("hasSelectedBlock"),lt=Ke("getSelectedBlockClientId"),ut=Ke("getSelectedBlock"),dt=Ke("getBlockRootClientId"),pt=Ke("getBlockHierarchyRootClientId"),bt=Ke("getAdjacentBlockClientId"),mt=Ke("getPreviousBlockClientId"),ht=Ke("getNextBlockClientId"),ft=Ke("getSelectedBlocksInitialCaretPosition"),gt=Ke("getMultiSelectedBlockClientIds"),Ot=Ke("getMultiSelectedBlocks"),jt=Ke("getFirstMultiSelectedBlockClientId"),vt=Ke("getLastMultiSelectedBlockClientId"),_t=Ke("isFirstMultiSelectedBlock"),yt=Ke("isBlockMultiSelected"),St=Ke("isAncestorMultiSelected"),Et=Ke("getMultiSelectedBlocksStartClientId"),wt=Ke("getMultiSelectedBlocksEndClientId"),Pt=Ke("getBlockOrder"),kt=Ke("getBlockIndex"),Tt=Ke("isBlockSelected"),Ct=Ke("hasSelectedInnerBlock"),xt=Ke("isBlockWithinSelection"),Bt=Ke("hasMultiSelection"),It=Ke("isMultiSelecting"),At=Ke("isSelectionEnabled"),Rt=Ke("getBlockMode"),Nt=Ke("isTyping"),Dt=Ke("isCaretWithinFormattedText"),Lt=Ke("getBlockInsertionPoint"),Ft=Ke("isBlockInsertionPointVisible"),Ut=Ke("isValidTemplate"),Mt=Ke("getTemplate"),zt=Ke("getTemplateLock"),Vt=Ke("canInsertBlockType"),Ht=Ke("getInserterItems"),Wt=Ke("hasInserterItems"),Gt=Ke("getBlockListSettings");function qt(e){var t;return null===(t=We(e))||void 0===t?void 0:t.defaultTemplateTypes}const Kt=Object(E.a)(e=>{var t;const n=(null===(t=We(e))||void 0===t?void 0:t.defaultTemplatePartAreas)||[];return null==n?void 0:n.map(e=>{return{...e,icon:(t=e.icon,"header"===t?L:"footer"===t?F:"sidebar"===t?U:C.a)};var t})},e=>{var t;return[null===(t=We(e))||void 0===t?void 0:t.defaultTemplatePartAreas]}),$t=Object(E.a)((e,t)=>Object(u.find)(qt(e),{slug:t})||{},(e,t)=>[qt(e),t]);function Qt(e,t){var n;if(!t)return{};const{excerpt:o,slug:r,title:i,area:s}=t,{title:c,description:a}=$t(e,r),l=Object(u.isString)(i)?i:null==i?void 0:i.rendered;return{title:l&&l!==r?l:c||r,description:(Object(u.isString)(o)?o:null==o?void 0:o.raw)||a,icon:(null===(n=Kt(e).find(e=>s===e.area))||void 0===n?void 0:n.icon)||C.a}}var Yt=n("onLe"),Xt=n("l3Sj");function*Jt(e,t,n){let o;o=Object(u.has)(t,["content"])?t.content:e.content.raw;let r=Object(d.parse)(o);"auto-draft"===e.status&&n&&(r=Object(d.synchronizeBlocksWithTemplate)(r,n)),yield en(e),yield{type:"SETUP_EDITOR",post:e,edits:t,template:n},yield yn(r,{__unstableShouldCreateUndoLevel:!1}),yield sn(e),t&&Object.keys(t).some(n=>t[n]!==(Object(u.has)(e,[n,"raw"])?e[n].raw:e[n]))&&(yield cn(t))}function Zt(){return{type:"TEAR_DOWN_EDITOR"}}function en(e){return{type:"RESET_POST",post:e}}function*tn(e){T()("resetAutosave action (`core/editor` store)",{since:"5.3",alternative:"receiveAutosaves action (`core` store)"});const t=yield p.controls.select(B,"getCurrentPostId");return yield p.controls.dispatch("core","receiveAutosaves",t,e),{type:"__INERT__"}}function nn(e={}){return{type:"REQUEST_POST_UPDATE_START",options:e}}function on(e={}){return{type:"REQUEST_POST_UPDATE_FINISH",options:e}}function rn(){return T()("wp.data.dispatch( 'core/editor' ).updatePost",{since:"5.7",alternative:"User the core entitires store instead"}),{type:"DO_NOTHING"}}function sn(e){return{type:"SETUP_EDITOR_STATE",post:e}}function*cn(e,t){const{id:n,type:o}=yield p.controls.select(B,"getCurrentPost");yield p.controls.dispatch("core","editEntityRecord","postType",o,n,e,t)}function*an(e={}){if(!(yield p.controls.select(B,"isEditedPostSaveable")))return;let t={content:yield p.controls.select(B,"getEditedPostContent")};e.isAutosave||(yield p.controls.dispatch(B,"editPost",t,{undoIgnore:!0})),yield nn(e);const n=yield p.controls.select(B,"getCurrentPost");t={id:n.id,...yield p.controls.select("core","getEntityRecordNonTransientEdits","postType",n.type,n.id),...t},yield p.controls.dispatch("core","saveEntityRecord","postType",n.type,t,e),yield on(e);const o=yield p.controls.select("core","getLastEntitySaveError","postType",n.type,n.id);if(o){const e=function(e){const{post:t,edits:n,error:o}=e;if(o&&"rest_autosave_no_changes"===o.code)return[];const r=["publish","private","future"],i=-1!==r.indexOf(t.status),s={publish:Object(Xt.__)("Publishing failed."),private:Object(Xt.__)("Publishing failed."),future:Object(Xt.__)("Scheduling failed.")};let c=i||-1===r.indexOf(n.status)?Object(Xt.__)("Updating failed."):s[n.status];return o.message&&!/<\/?[^>]*>/.test(o.message)&&(c=[c,o.message].join(" ")),[c,{id:"SAVE_POST_NOTICE_ID"}]}({post:n,edits:t,error:o});e.length&&(yield p.controls.dispatch(Yt.store,"createErrorNotice",...e))}else{const t=yield p.controls.select(B,"getCurrentPost"),o=function(e){const{previousPost:t,post:n,postType:o}=e;if(Object(u.get)(e.options,["isAutosave"]))return[];const r=["publish","private","future"],i=Object(u.includes)(r,t.status),s=Object(u.includes)(r,n.status);let c,a=Object(u.get)(o,["viewable"],!1);if(i||s?i&&!s?(c=o.labels.item_reverted_to_draft,a=!1):c=!i&&s?{publish:o.labels.item_published,private:o.labels.item_published_privately,future:o.labels.item_scheduled}[n.status]:o.labels.item_updated:c=null,c){const e=[];return a&&e.push({label:o.labels.view_item,url:n.link}),[c,{id:"SAVE_POST_NOTICE_ID",type:"snackbar",actions:e}]}return[]}({previousPost:n,post:t,postType:yield p.controls.resolveSelect("core","getPostType",t.type),options:e});o.length&&(yield p.controls.dispatch(Yt.store,"createSuccessNotice",...o)),e.isAutosave||(yield p.controls.dispatch("core/block-editor","__unstableMarkLastChangeAsPersistent"))}}function*ln(){const e=yield p.controls.select(B,"getCurrentPost"),t=yield p.controls.select(B,"getCurrentPostType"),n=yield p.controls.resolveSelect("core","getPostType",t),o=yield Object(j.apiFetch)({path:`/wp/v2/${n.rest_base}/${e.id}?context=edit&_timestamp=`+Date.now()});yield p.controls.dispatch(B,"resetPost",o)}function*un(){const e=yield p.controls.select(B,"getCurrentPostType"),t=yield p.controls.resolveSelect("core","getPostType",e);yield p.controls.dispatch(Yt.store,"removeNotice","TRASH_POST_NOTICE_ID");try{const e=yield p.controls.select(B,"getCurrentPost");yield Object(j.apiFetch)({path:`/wp/v2/${t.rest_base}/${e.id}`,method:"DELETE"}),yield p.controls.dispatch(B,"savePost")}catch(e){yield p.controls.dispatch(Yt.store,"createErrorNotice",...(n={error:e},[n.error.message&&"unknown_error"!==n.error.code?n.error.message:Object(Xt.__)("Trashing failed"),{id:"TRASH_POST_NOTICE_ID"}]))}var n}function*dn({local:e=!1,...t}={}){if(e){const e=yield p.controls.select(B,"getCurrentPost"),t=yield p.controls.select(B,"isEditedPostNew"),n=yield p.controls.select(B,"getEditedPostAttribute","title"),o=yield p.controls.select(B,"getEditedPostAttribute","content"),r=yield p.controls.select(B,"getEditedPostAttribute","excerpt");yield{type:"LOCAL_AUTOSAVE_SET",postId:e.id,isPostNew:t,title:n,content:o,excerpt:r}}else yield p.controls.dispatch(B,"savePost",{isAutosave:!0,...t})}function*pn(){yield p.controls.dispatch("core","redo")}function*bn(){yield p.controls.dispatch("core","undo")}function mn(){return{type:"CREATE_UNDO_LEVEL"}}function hn(e){return{type:"UPDATE_POST_LOCK",lock:e}}function fn(){return{type:"ENABLE_PUBLISH_SIDEBAR"}}function gn(){return{type:"DISABLE_PUBLISH_SIDEBAR"}}function On(e){return{type:"LOCK_POST_SAVING",lockName:e}}function jn(e){return{type:"UNLOCK_POST_SAVING",lockName:e}}function vn(e){return{type:"LOCK_POST_AUTOSAVING",lockName:e}}function _n(e){return{type:"UNLOCK_POST_AUTOSAVING",lockName:e}}function*yn(e,t={}){const{__unstableShouldCreateUndoLevel:n,selection:o}=t,r={blocks:e,selection:o};if(!1!==n){const{id:e,type:t}=yield p.controls.select(B,"getCurrentPost");if((yield p.controls.select("core","getEditedEntityRecord","postType",t,e)).blocks===r.blocks)return yield p.controls.dispatch("core","__unstableCreateUndoLevel","postType",t,e);r.content=({blocks:e=[]})=>Object(d.__unstableSerializeAndClean)(e)}yield*cn(r)}function Sn(e){return{type:"UPDATE_EDITOR_SETTINGS",settings:e}}const En=e=>function*(...t){T()("`wp.data.dispatch( 'core/editor' )."+e+"`",{since:"5.3",alternative:"`wp.data.dispatch( 'core/block-editor' )."+e+"`"}),yield p.controls.dispatch("core/block-editor",e,...t)},wn=En("resetBlocks"),Pn=En("receiveBlocks"),kn=En("updateBlock"),Tn=En("updateBlockAttributes"),Cn=En("selectBlock"),xn=En("startMultiSelect"),Bn=En("stopMultiSelect"),In=En("multiSelect"),An=En("clearSelectedBlock"),Rn=En("toggleSelection"),Nn=En("replaceBlocks"),Dn=En("replaceBlock"),Ln=En("moveBlocksDown"),Fn=En("moveBlocksUp"),Un=En("moveBlockToPosition"),Mn=En("insertBlock"),zn=En("insertBlocks"),Vn=En("showInsertionPoint"),Hn=En("hideInsertionPoint"),Wn=En("setTemplateValidity"),Gn=En("synchronizeTemplate"),qn=En("mergeBlocks"),Kn=En("removeBlocks"),$n=En("removeBlock"),Qn=En("toggleBlockMode"),Yn=En("startTyping"),Xn=En("stopTyping"),Jn=En("enterFormattedText"),Zn=En("exitFormattedText"),eo=En("insertDefaultBlock"),to=En("updateBlockListSettings");function no(e,t){return"wp-autosave-block-editor-post-"+(t?"auto-draft":e)}function oo(e,t){window.sessionStorage.removeItem(no(e,t))}var ro={LOCAL_AUTOSAVE_SET({postId:e,isPostNew:t,title:n,content:o,excerpt:r}){!function(e,t,n,o,r){window.sessionStorage.setItem(no(e,t),JSON.stringify({post_title:n,content:o,excerpt:r}))}(e,t,n,o,r)}};const io={reducer:S,selectors:o,actions:r,controls:{...j.controls,...ro}},so=Object(p.createReduxStore)(B,{...io,persist:["preferences"]});Object(p.registerStore)(B,{...io,persist:["preferences"]});class co extends l.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.isDirty&&(!this.props.isAutosaving||e.isAutosaving)?this.props.editsReference!==e.editsReference&&(this.needsAutosave=!0):this.needsAutosave=!1}componentWillUnmount(){clearTimeout(this.timerId)}setAutosaveTimer(e=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 ao=Object(b.compose)([Object(p.withSelect)((e,t)=>{const{getReferenceByDistinctEdits:n}=e("core"),{isEditedPostDirty:o,isEditedPostAutosaveable:r,isAutosavingPost:i,getEditorSettings:s}=e("core/editor"),{interval:c=s().autosaveInterval}=t;return{editsReference:n(),isDirty:o(),isAutosaveable:r(),isAutosaving:i(),interval:c}}),Object(p.withDispatch)((e,t)=>({autosave(){const{autosave:n=e("core/editor").autosave}=t;n()}}))])(co),lo=n("TSYQ"),uo=n.n(lo);var po=({children:e,isValid:t,level:n,href:o,onSelect:r})=>Object(l.createElement)("li",{className:uo()("document-outline__item","is-"+n.toLowerCase(),{"is-invalid":!t})},Object(l.createElement)("a",{href:o,className:"document-outline__button",onClick:r},Object(l.createElement)("span",{className:"document-outline__emdash","aria-hidden":"true"}),Object(l.createElement)("strong",{className:"document-outline__level"},n),Object(l.createElement)("span",{className:"document-outline__item-content"},e)));const bo=Object(l.createElement)("em",null,Object(Xt.__)("(Empty heading)")),mo=[Object(l.createElement)("br",{key:"incorrect-break"}),Object(l.createElement)("em",{key:"incorrect-message"},Object(Xt.__)("(Incorrect heading level)"))],ho=[Object(l.createElement)("br",{key:"incorrect-break-h1"}),Object(l.createElement)("em",{key:"incorrect-message-h1"},Object(Xt.__)("(Your theme may already use a H1 for the post title)"))],fo=[Object(l.createElement)("br",{key:"incorrect-break-multiple-h1"}),Object(l.createElement)("em",{key:"incorrect-message-multiple-h1"},Object(Xt.__)("(Multiple H1 headings are not recommended)"))],go=(e=[])=>Object(u.flatMap)(e,(e={})=>"core/heading"===e.name?{...e,level:e.attributes.level,isEmpty:Oo(e)}:go(e.innerBlocks)),Oo=e=>!e.attributes.content||0===e.attributes.content.length;var jo=Object(b.compose)(Object(p.withSelect)(e=>{const{getBlocks:t}=e(i.store),{getEditedPostAttribute:n}=e("core/editor"),{getPostType:o}=e("core"),r=o(n("type"));return{title:n("title"),blocks:t(),isTitleSupported:Object(u.get)(r,["supports","title"],!1)}}))(({blocks:e=[],title:t,onSelect:n,isTitleSupported:o,hasOutlineItemsDisabled:r})=>{const i=go(e);if(i.length<1)return null;let s=1;const a=document.querySelector(".editor-post-title__input"),d=o&&t&&a,p=Object(u.countBy)(i,"level")[1]>1;return Object(l.createElement)("div",{className:"document-outline"},Object(l.createElement)("ul",null,d&&Object(l.createElement)(po,{level:Object(Xt.__)("Title"),isValid:!0,onSelect:n,href:"#"+a.id,isDisabled:r},t),i.map((e,t)=>{const o=e.level>s+1,i=!(e.isEmpty||o||!e.level||1===e.level&&(p||d));return s=e.level,Object(l.createElement)(po,{key:t,level:"H"+e.level,isValid:i,isDisabled:r,href:"#block-"+e.clientId,onSelect:n},e.isEmpty?bo:Object(c.getTextContent)(Object(c.create)({html:e.attributes.content})),o&&mo,1===e.level&&p&&fo,d&&1===e.level&&!p&&ho)})))});var vo=Object(p.withSelect)(e=>({blocks:e(i.store).getBlocks()}))((function({blocks:e,children:t}){return Object(u.filter)(e,e=>"core/heading"===e.name).length<1?null:t})),_o=n("hF7m");var yo=function({resetBlocksOnSave:e}){const{resetEditorBlocks:t,savePost:n}=Object(p.useDispatch)("core/editor"),{isEditedPostDirty:o,getPostEdits:r}=Object(p.useSelect)(e=>{const{isEditedPostDirty:t,getPostEdits:n}=e("core/editor");return{isEditedPostDirty:t,getPostEdits:n}},[]);return Object(_o.useShortcut)("core/editor/save",i=>{if(i.preventDefault(),o()){if(e){const e=r();if(e.content&&"string"==typeof e.content){const n=Object(d.parse)(e.content);t(n)}}n()}},{bindGlobal:!0}),null};var So=function(){const{redo:e,undo:t}=Object(p.useDispatch)("core/editor");return Object(_o.useShortcut)("core/editor/undo",e=>{t(),e.preventDefault()},{bindGlobal:!0}),Object(_o.useShortcut)("core/editor/redo",t=>{e(),t.preventDefault()},{bindGlobal:!0}),Object(l.createElement)(l.Fragment,null,Object(l.createElement)(i.BlockEditorKeyboardShortcuts,null),Object(l.createElement)(yo,null))};function Eo(){return Object(l.createElement)(yo,{resetBlocksOnSave:!0})}var wo=function(){const{registerShortcut:e}=Object(p.useDispatch)(_o.store);return Object(l.useEffect)(()=>{e({name:"core/editor/save",category:"global",description:Object(Xt.__)("Save your changes."),keyCombination:{modifier:"primary",character:"s"}}),e({name:"core/editor/undo",category:"global",description:Object(Xt.__)("Undo your last changes."),keyCombination:{modifier:"primary",character:"z"}}),e({name:"core/editor/redo",category:"global",description:Object(Xt.__)("Redo your last undo."),keyCombination:{modifier:"primaryShift",character:"z"}})},[e]),Object(l.createElement)(i.BlockEditorKeyboardShortcuts.Register,null)},Po=n("tI+e"),ko=n("RxS6"),To=n("K2cm"),Co=n("Ntru");var xo=Object(l.forwardRef)((function(e,t){const n=Object(p.useSelect)(e=>e(so).hasEditorRedo(),[]),{redo:o}=Object(p.useDispatch)(so);return Object(l.createElement)(Po.Button,Object(a.a)({},e,{ref:t,icon:Object(Xt.isRTL)()?Co.a:To.a,label:Object(Xt.__)("Redo"),shortcut:ko.displayShortcut.primaryShift("z"),"aria-disabled":!n,onClick:n?o:void 0,className:"editor-history__redo"}))}));var Bo=Object(l.forwardRef)((function(e,t){const n=Object(p.useSelect)(e=>e(so).hasEditorUndo(),[]),{undo:o}=Object(p.useDispatch)(so);return Object(l.createElement)(Po.Button,Object(a.a)({},e,{ref:t,icon:Object(Xt.isRTL)()?To.a:Co.a,label:Object(Xt.__)("Undo"),shortcut:ko.displayShortcut.primary("z"),"aria-disabled":!n,onClick:n?o:void 0,className:"editor-history__undo"}))}));var Io=Object(b.compose)([Object(p.withSelect)(e=>({isValid:e(i.store).isValidTemplate()})),Object(p.withDispatch)(e=>{const{setTemplateValidity:t,synchronizeTemplate:n}=e(i.store);return{resetTemplateValidity:()=>t(!0),synchronizeTemplate:n}})])((function({isValid:e,...t}){return e?null:Object(l.createElement)(Po.Notice,{className:"editor-template-validation-notice",isDismissible:!1,status:"warning",actions:[{label:Object(Xt.__)("Keep it as is"),onClick:t.resetTemplateValidity},{label:Object(Xt.__)("Reset the template"),onClick:()=>{window.confirm(Object(Xt.__)("Resetting the template may result in loss of content, do you want to continue?"))&&t.synchronizeTemplate()}}]},Object(Xt.__)("The content of your post doesn’t match the template assigned to your post type."))}));var Ao=Object(b.compose)([Object(p.withSelect)(e=>({notices:e(Yt.store).getNotices()})),Object(p.withDispatch)(e=>({onRemove:e(Yt.store).removeNotice}))])((function({notices:e,onRemove:t}){const n=Object(u.filter)(e,{isDismissible:!0,type:"default"}),o=Object(u.filter)(e,{isDismissible:!1,type:"default"}),r=Object(u.filter)(e,{type:"snackbar"});return Object(l.createElement)(l.Fragment,null,Object(l.createElement)(Po.NoticeList,{notices:o,className:"components-editor-notices__pinned"}),Object(l.createElement)(Po.NoticeList,{notices:n,className:"components-editor-notices__dismissible",onRemove:t},Object(l.createElement)(Io,null)),Object(l.createElement)(Po.SnackbarList,{notices:r,className:"components-editor-notices__snackbar",onRemove:t}))})),Ro=n("w95h");var No=Object(l.createElement)(D.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(l.createElement)(D.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"}));function Do({record:e,checked:t,onChange:n,closePanel:o}){const{name:r,kind:s,title:c,key:a}=e,u=Object(p.useSelect)(e=>{var t;const{blocks:n=[]}=e("core").getEditedEntityRecord(s,r,a),o=e(i.store).getBlockParents(null===(t=n[0])||void 0===t?void 0:t.clientId);return o[o.length-1]},[]),d=Object(p.useSelect)(e=>{if("postType"!==s||"wp_template"!==r)return c;const t=e("core").getEditedEntityRecord(s,r,a);return e("core/editor").__experimentalGetTemplateInfo(t).title},[r,s,c,a]),b=Object(p.useSelect)(e=>e(i.store).getSelectedBlockClientId()===u,[u]),m=b?Object(Xt.__)("Selected"):Object(Xt.__)("Select"),{selectBlock:h}=Object(p.useDispatch)(i.store),f=Object(l.useCallback)(()=>h(u),[u]),g=Object(l.useCallback)(()=>{h(u),o()},[u]);return Object(l.createElement)(Po.PanelRow,null,Object(l.createElement)(Po.CheckboxControl,{label:Object(l.createElement)("strong",null,d||Object(Xt.__)("Untitled")),checked:t,onChange:n}),u?Object(l.createElement)(l.Fragment,null,Object(l.createElement)(Po.Button,{onClick:f,className:"entities-saved-states__find-entity",disabled:b},m),Object(l.createElement)(Po.Button,{onClick:g,className:"entities-saved-states__find-entity-small",disabled:b},m)):null)}const Lo={site:C.a,page:No};function Fo({list:e,unselectedEntities:t,setUnselectedEntities:n,closePanel:o}){const r=e[0],i=Object(p.useSelect)(e=>e(s.store).getEntity(r.kind,r.name),[r.kind,r.name]),{name:c}=r,a=Lo[c];return Object(l.createElement)(Po.PanelBody,{title:i.label,initialOpen:!0,icon:a},e.map(e=>Object(l.createElement)(Do,{key:e.key||e.property,record:e,checked:!Object(u.some)(t,t=>t.kind===e.kind&&t.name===e.name&&t.key===e.key&&t.property===e.property),onChange:t=>n(e,t),closePanel:o})))}const Uo={title:Object(Xt.__)("Title"),description:Object(Xt.__)("Tagline"),site_logo:Object(Xt.__)("Logo"),show_on_front:Object(Xt.__)("Show on front"),page_on_front:Object(Xt.__)("Page on front")};function Mo({close:e}){const t=Object(l.useRef)(),{dirtyEntityRecords:n}=Object(p.useSelect)(e=>{const t=e(s.store).__experimentalGetDirtyEntityRecords().filter(e=>!("root"===e.kind&&"site"===e.name)),n=e(s.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]}},[]),{saveEditedEntityRecord:o,__experimentalSaveSpecifiedEntityEdits:r}=Object(p.useDispatch)(s.store),i=Object.values(Object(u.groupBy)(n,"name")),[c,d]=Object(l.useState)([]),m=({kind:e,name:t,key:n,property:o},r)=>{d(r?c.filter(r=>r.kind!==e||r.name!==t||r.key!==n||r.property!==o):[...c,{kind:e,name:t,key:n,property:o}])},h=Object(l.useCallback)(()=>e(),[e]),[f,g]=Object(b.__experimentalUseDialog)({onClose:()=>h()});return Object(l.createElement)("div",Object(a.a)({ref:f},g,{className:"entities-saved-states__panel"}),Object(l.createElement)("div",{className:"entities-saved-states__panel-header"},Object(l.createElement)(Po.Button,{ref:t,isPrimary:!0,disabled:n.length-c.length==0,onClick:()=>{const t=n.filter(({kind:e,name:t,key:n,property:o})=>!Object(u.some)(c,r=>r.kind===e&&r.name===t&&r.key===n&&r.property===o));e(t);const i=[];t.forEach(({kind:e,name:t,key:n,property:r})=>{"root"===e&&"site"===t?i.push(r):o(e,t,n)}),r("root","site",void 0,i)},className:"editor-entities-saved-states__save-button"},Object(Xt.__)("Save")),Object(l.createElement)(Po.Button,{icon:Ro.a,onClick:h,label:Object(Xt.__)("Close panel")})),Object(l.createElement)("div",{className:"entities-saved-states__text-prompt"},Object(l.createElement)("strong",null,Object(Xt.__)("Select the changes you want to save")),Object(l.createElement)("p",null,Object(Xt.__)("Some changes may affect other areas of your site."))),i.map(e=>Object(l.createElement)(Fo,{key:e[0].name,list:e,closePanel:h,unselectedEntities:c,setUnselectedEntities:m})))}function zo({text:e,children:t}){const n=Object(b.useCopyToClipboard)(e);return Object(l.createElement)(Po.Button,{isSecondary:!0,ref:n},t)}class Vo extends l.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(p.select)("core/editor").getEditedPostContent()}catch(e){}}render(){const{error:e}=this.state;return e?Object(l.createElement)(i.Warning,{className:"editor-error-boundary",actions:[Object(l.createElement)(Po.Button,{key:"recovery",onClick:this.reboot,isSecondary:!0},Object(Xt.__)("Attempt Recovery")),Object(l.createElement)(zo,{key:"copy-post",text:this.getContent},Object(Xt.__)("Copy Post Text")),Object(l.createElement)(zo,{key:"copy-error",text:e.stack},Object(Xt.__)("Copy Error"))]},Object(Xt.__)("The editor has encountered an unexpected error.")):this.props.children}}var Ho=Vo;const Wo=window.requestIdleCallback?window.requestIdleCallback:window.requestAnimationFrame,Go=Object(u.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(p.useSelect)(e=>({postId:e("core/editor").getCurrentPostId(),isEditedPostNew:e("core/editor").isEditedPostNew(),getEditedPostAttribute:e("core/editor").getEditedPostAttribute,hasRemoteAutosave:!!e("core/editor").getEditorSettings().autosave}),[]),{getEditedPostAttribute:o}=Object(p.useSelect)("core/editor"),{createWarningNotice:r,removeNotice:i}=Object(p.useDispatch)(Yt.store),{editPost:s,resetEditorBlocks:c}=Object(p.useDispatch)("core/editor");Object(l.useEffect)(()=>{let a=function(e,t){return window.sessionStorage.getItem(no(e,t))}(e,t);if(!a)return;try{a=JSON.parse(a)}catch(e){return}const{post_title:l,content:p,excerpt:b}=a,m={title:l,content:p,excerpt:b};if(!Object.keys(m).some(e=>m[e]!==o(e)))return void oo(e,t);if(n)return;const h=Object(u.uniqueId)("wpEditorAutosaveRestore");r(Object(Xt.__)("The backup of this post in your browser is different from the version below."),{id:h,actions:[{label:Object(Xt.__)("Restore the backup"),onClick(){s(Object(u.omit)(m,["content"])),c(Object(d.parse)(m.content)),i(h)}}]})},[t,e])}var Ko=Object(b.ifCondition)(Go)((function(){const{autosave:e}=Object(p.useDispatch)("core/editor"),t=Object(l.useCallback)(()=>{Wo(()=>e({local:!0}))},[]);qo(),function(){const{postId:e,isEditedPostNew:t,isDirty:n,isAutosaving:o,didError:r}=Object(p.useSelect)(e=>({postId:e("core/editor").getCurrentPostId(),isEditedPostNew:e("core/editor").isEditedPostNew(),isDirty:e("core/editor").isEditedPostDirty(),isAutosaving:e("core/editor").isAutosavingPost(),didError:e("core/editor").didPostSaveRequestFail()}),[]),i=Object(l.useRef)(n),s=Object(l.useRef)(o);Object(l.useEffect)(()=>{!r&&(s.current&&!o||i.current&&!n)&&oo(e,t),i.current=n,s.current=o},[n,o,r]);const c=Object(b.usePrevious)(t),a=Object(b.usePrevious)(e);Object(l.useEffect)(()=>{a===e&&c&&!t&&oo(e,!0)},[t,e])}();const{localAutosaveInterval:n}=Object(p.useSelect)(e=>({localAutosaveInterval:e("core/editor").getEditorSettings().__experimentalLocalAutosaveInterval}),[]);return Object(l.createElement)(ao,{interval:n,autosave:t})}));var $o=function({children:e}){const t=Object(p.useSelect)(e=>{const{getEditedPostAttribute:t}=e(so),{getPostType:n}=e(s.store);return n(t("type"))},[]);return Object(u.get)(t,["supports","page-attributes"],!1)?e:null};var Qo=Object(p.withSelect)(e=>{const{getEditedPostAttribute:t}=e("core/editor"),{getPostType:n}=e("core");return{postType:n(t("type"))}})((function({postType:e,children:t,supportKeys:n}){let o=!0;return e&&(o=Object(u.some)(Object(u.castArray)(n),t=>!!e.supports[t])),o?t:null}));const Yo=Object(b.withState)({orderInput:null})(({onUpdateOrder:e,order:t=0,orderInput:n,setState:o})=>{const r=null===n?t:n;return Object(l.createElement)(Po.TextControl,{className:"editor-page-attributes__order",type:"number",label:Object(Xt.__)("Order"),value:r,onChange:t=>{o({orderInput:t});const n=Number(t);Number.isInteger(n)&&""!==Object(u.invoke)(t,["trim"])&&e(Number(t))},size:6,onBlur:()=>{o({orderInput:null})}})});var Xo=Object(b.compose)([Object(p.withSelect)(e=>({order:e("core/editor").getEditedPostAttribute("menu_order")})),Object(p.withDispatch)(e=>({onUpdateOrder(t){e("core/editor").editPost({menu_order:t})}}))])((function(e){return Object(l.createElement)(Qo,{supportKeys:"page-attributes"},Object(l.createElement)(Yo,e))})),Jo=n("rmEH");function Zo(e){const t=e.map(e=>({children:[],parent:null,...e})),n=Object(u.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 er=e=>Object(u.unescape)(e.replace("'","'")),tr=e=>({...e,name:er(e.name)}),nr=e=>Object(u.map)(e,tr);function or(e){var t;return null!=e&&null!==(t=e.title)&&void 0!==t&&t.rendered?Object(Jo.decodeEntities)(e.title.rendered):`#${e.id} (${Object(Xt.__)("no title")})`}const rr=(e,t)=>{const n=Object(u.deburr)(e).toLowerCase(),o=Object(u.deburr)(t).toLowerCase();return n===o?0:n.startsWith(o)?n.length:1/0};var ir=function(){const{editPost:e}=Object(p.useDispatch)("core/editor"),[t,n]=Object(l.useState)(!1),{parentPost:o,parentPostId:r,items:i,postType:s}=Object(p.useSelect)(e=>{const{getPostType:n,getEntityRecords:o,getEntityRecord:r}=e("core"),{getCurrentPostId:i,getEditedPostAttribute:s}=e("core/editor"),c=s("type"),a=s("parent"),l=n(c),d=i(),p=Object(u.get)(l,["hierarchical"],!1),b={per_page:100,exclude:d,parent_exclude:d,orderby:"menu_order",order:"asc",_fields:"id,title,parent"};return t&&(b.search=t),{parentPostId:a,parentPost:a?r("postType",c,a):null,items:p?o("postType",c,b):[],postType:l}},[t]),c=Object(u.get)(s,["hierarchical"],!1),a=Object(u.get)(s,["labels","parent_item_colon"]),d=i||[],b=Object(l.useMemo)(()=>{const e=(n,o=0)=>{const r=n.map(t=>[{value:t.id,label:Object(u.repeat)("— ",o)+Object(u.unescape)(t.name),rawName:t.name},...e(t.children||[],o+1)]).sort(([e],[n])=>rr(e.rawName,t)>=rr(n.rawName,t)?1:-1);return Object(u.flatten)(r)};let n=d.map(e=>({id:e.id,parent:e.parent,name:or(e)}));t||(n=Zo(n));const i=e(n),s=Object(u.find)(i,e=>e.value===r);return o&&!s&&i.unshift({value:r,label:or(o)}),i},[d,t]);return c&&a?Object(l.createElement)(Po.ComboboxControl,{className:"editor-page-attributes__parent",label:a,value:r,options:b,onFilterValueChange:Object(u.debounce)(e=>{n(e)},300),onChange:t=>{e({parent:t})}}):null};var sr=function({}){const{availableTemplates:e,selectedTemplate:t,isViewable:n}=Object(p.useSelect)(e=>{var t,n;const{getEditedPostAttribute:o,getEditorSettings:r,getCurrentPostType:i}=e(so),{getPostType:c}=e(s.store);return{selectedTemplate:o("template"),availableTemplates:r().availableTemplates,isViewable:null!==(t=null===(n=c(i()))||void 0===n?void 0:n.viewable)&&void 0!==t&&t}},[]),{editPost:o}=Object(p.useDispatch)(so);return!n||Object(u.isEmpty)(e)?null:Object(l.createElement)(Po.SelectControl,{label:Object(Xt.__)("Template:"),value:t,onChange:e=>{o({template:e||""})},options:Object(u.map)(e,(e,t)=>({value:t,label:e}))})};var cr=function(){const[e,t]=Object(l.useState)(),{authorId:n,isLoading:o,authors:r,postAuthor:i}=Object(p.useSelect)(t=>{const{__unstableGetAuthor:n,getAuthors:o,isResolving:r}=t("core"),{getEditedPostAttribute:i}=t("core/editor"),s=n(i("author")),c=e&&""!==e?{search:e}:{};return{authorId:i("author"),postAuthor:s,authors:o(c),isLoading:r("core","getAuthors",[c])}},[e]),{editPost:s}=Object(p.useDispatch)("core/editor"),c=Object(l.useMemo)(()=>{const e=(null!=r?r:[]).map(e=>({value:e.id,label:e.name}));return e.findIndex(({value:e})=>(null==i?void 0:i.id)===e)<0&&i?[{value:i.id,label:i.name},...e]:e},[r,i]);return Object(l.useEffect)(()=>{i&&t(i.name)},[i]),i?Object(l.createElement)(Po.ComboboxControl,{label:Object(Xt.__)("Author"),options:c,value:n,onFilterValueChange:Object(u.debounce)(e=>{t(e)},300),onChange:e=>{e&&s({author:e})},isLoading:o,allowReset:!1}):null};var ar=function(){const{editPost:e}=Object(p.useDispatch)("core/editor"),{postAuthor:t,authors:n}=Object(p.useSelect)(e=>{const t=e("core").getAuthors();return{postAuthor:e("core/editor").getEditedPostAttribute("author"),authors:t.map(e=>({label:Object(Jo.decodeEntities)(e.name),value:e.id}))}},[]);return Object(l.createElement)(Po.SelectControl,{className:"post-author-selector",label:Object(Xt.__)("Author"),options:n,onChange:t=>{const n=Number(t);e({author:n})},value:t})};var lr=function(){return Object(p.useSelect)(e=>{const t=e(s.store).getAuthors();return(null==t?void 0:t.length)>=25},[])?Object(l.createElement)(cr,null):Object(l.createElement)(ar,null)};var ur=Object(b.compose)([Object(p.withSelect)(e=>{const t=e("core/editor").getCurrentPost();return{hasAssignAuthorAction:Object(u.get)(t,["_links","wp:action-assign-author"],!1),postType:e("core/editor").getCurrentPostType(),authors:e("core").getAuthors()}}),b.withInstanceId])((function({hasAssignAuthorAction:e,authors:t,children:n}){return!e||!t||1>=t.length?null:Object(l.createElement)(Qo,{supportKeys:"author"},n)}));var dr=Object(b.compose)([Object(p.withSelect)(e=>({commentStatus:e("core/editor").getEditedPostAttribute("comment_status")})),Object(p.withDispatch)(e=>({editPost:e("core/editor").editPost}))])((function({commentStatus:e="open",...t}){return Object(l.createElement)(Po.CheckboxControl,{label:Object(Xt.__)("Allow comments"),checked:"open"===e,onChange:()=>t.editPost({comment_status:"open"===e?"closed":"open"})})}));var pr=Object(b.compose)([Object(p.withSelect)(e=>({excerpt:e("core/editor").getEditedPostAttribute("excerpt")})),Object(p.withDispatch)(e=>({onUpdateExcerpt(t){e("core/editor").editPost({excerpt:t})}}))])((function({excerpt:e,onUpdateExcerpt:t}){return Object(l.createElement)("div",{className:"editor-post-excerpt"},Object(l.createElement)(Po.TextareaControl,{label:Object(Xt.__)("Write an excerpt (optional)"),className:"editor-post-excerpt__textarea",onChange:e=>t(e),value:e}),Object(l.createElement)(Po.ExternalLink,{href:Object(Xt.__)("https://wordpress.org/support/article/excerpt/")},Object(Xt.__)("Learn more about manual excerpts")))}));var br=function(e){return Object(l.createElement)(Qo,Object(a.a)({},e,{supportKeys:"excerpt"}))};var mr=Object(p.withSelect)(e=>{const{getThemeSupports:t}=e("core"),{getEditedPostAttribute:n}=e("core/editor");return{postType:n("type"),themeSupports:t()}})((function({themeSupports:e,children:t,postType:n,supportKeys:o}){return Object(u.some)(Object(u.castArray)(o),t=>{const o=Object(u.get)(e,[t],!1);return"post-thumbnails"===t&&Object(u.isArray)(o)?Object(u.includes)(o,n):o})?t:null}));var hr=function(e){return Object(l.createElement)(mr,{supportKeys:"post-thumbnails"},Object(l.createElement)(Qo,Object(a.a)({},e,{supportKeys:"thumbnail"})))};const fr=["image"],gr=Object(Xt.__)("Featured image"),Or=Object(Xt.__)("Set featured image"),jr=Object(Xt.__)("Remove image");const vr=Object(p.withSelect)(e=>{const{getMedia:t,getPostType:n}=e("core"),{getCurrentPostId:o,getEditedPostAttribute:r}=e("core/editor"),i=r("featured_media");return{media:i?t(i):null,currentPostId:o(),postType:n(r("type")),featuredImageId:i}}),_r=Object(p.withDispatch)((e,{noticeOperations:t},{select:n})=>{const{editPost:o}=e("core/editor");return{onUpdateImage(e){o({featured_media:e.id})},onDropImage(e){n(i.store).getSettings().mediaUpload({allowedTypes:["image"],filesList:e,onFileChange([e]){o({featured_media:e.id})},onError(e){t.removeAllNotices(),t.createErrorNotice(e)}})},onRemoveImage(){o({featured_media:0})}}});var yr=Object(b.compose)(Po.withNotices,vr,_r,Object(Po.withFilters)("editor.PostFeaturedImage"))((function({currentPostId:e,featuredImageId:t,onUpdateImage:n,onDropImage:o,onRemoveImage:r,media:s,postType:c,noticeUI:a}){var d,p;const b=Object(u.get)(c,["labels"],{}),h=Object(l.createElement)("p",null,Object(Xt.__)("To edit the featured image, you need permission to upload media."));let f,g,O;if(s){const t=Object(m.applyFilters)("editor.PostFeaturedImage.imageSize","post-thumbnail",s.id,e);if(Object(u.has)(s,["media_details","sizes",t]))f=s.media_details.sizes[t].width,g=s.media_details.sizes[t].height,O=s.media_details.sizes[t].source_url;else{const t=Object(m.applyFilters)("editor.PostFeaturedImage.imageSize","thumbnail",s.id,e);Object(u.has)(s,["media_details","sizes",t])?(f=s.media_details.sizes[t].width,g=s.media_details.sizes[t].height,O=s.media_details.sizes[t].source_url):(f=s.media_details.width,g=s.media_details.height,O=s.source_url)}}return Object(l.createElement)(hr,null,a,Object(l.createElement)("div",{className:"editor-post-featured-image"},s&&Object(l.createElement)("div",{id:`editor-post-featured-image-${t}-describedby`,className:"hidden"},s.alt_text&&Object(Xt.sprintf)(Object(Xt.__)("Current image: %s"),s.alt_text),!s.alt_text&&Object(Xt.sprintf)(Object(Xt.__)("The current image has no alternative text. The file name is: %s"),(null===(d=s.media_details.sizes)||void 0===d||null===(p=d.full)||void 0===p?void 0:p.file)||s.slug)),Object(l.createElement)(i.MediaUploadCheck,{fallback:h},Object(l.createElement)(i.MediaUpload,{title:b.featured_image||gr,onSelect:n,unstableFeaturedImageFlow:!0,allowedTypes:fr,modalClass:"editor-post-featured-image__media-modal",render:({open:e})=>Object(l.createElement)("div",{className:"editor-post-featured-image__container"},Object(l.createElement)(Po.Button,{className:t?"editor-post-featured-image__preview":"editor-post-featured-image__toggle",onClick:e,"aria-label":t?Object(Xt.__)("Edit or update the image"):null,"aria-describedby":t?`editor-post-featured-image-${t}-describedby`:null},!!t&&s&&Object(l.createElement)(Po.ResponsiveWrapper,{naturalWidth:f,naturalHeight:g,isInline:!0},Object(l.createElement)("img",{src:O,alt:""})),!!t&&!s&&Object(l.createElement)(Po.Spinner,null),!t&&(b.set_featured_image||Or)),Object(l.createElement)(Po.DropZone,{onFilesDrop:o})),value:t})),!!t&&s&&!s.isLoading&&Object(l.createElement)(i.MediaUploadCheck,null,Object(l.createElement)(i.MediaUpload,{title:b.featured_image||gr,onSelect:n,unstableFeaturedImageFlow:!0,allowedTypes:fr,modalClass:"editor-post-featured-image__media-modal",render:({open:e})=>Object(l.createElement)(Po.Button,{onClick:e,isSecondary:!0},Object(Xt.__)("Replace Image"))})),!!t&&Object(l.createElement)(i.MediaUploadCheck,null,Object(l.createElement)(Po.Button,{onClick:r,isLink:!0,isDestructive:!0},b.remove_featured_image||jr))))}));var Sr=Object(p.withSelect)(e=>({disablePostFormats:e("core/editor").getEditorSettings().disablePostFormats}))((function({disablePostFormats:e,...t}){return!e&&Object(l.createElement)(Qo,Object(a.a)({},t,{supportKeys:"post-formats"}))}));const Er=[{id:"aside",caption:Object(Xt.__)("Aside")},{id:"audio",caption:Object(Xt.__)("Audio")},{id:"chat",caption:Object(Xt.__)("Chat")},{id:"gallery",caption:Object(Xt.__)("Gallery")},{id:"image",caption:Object(Xt.__)("Image")},{id:"link",caption:Object(Xt.__)("Link")},{id:"quote",caption:Object(Xt.__)("Quote")},{id:"standard",caption:Object(Xt.__)("Standard")},{id:"status",caption:Object(Xt.__)("Status")},{id:"video",caption:Object(Xt.__)("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(b.useInstanceId)(wr),{postFormat:t,suggestedFormat:n,supportedFormats:o}=Object(p.useSelect)(e=>{const{getEditedPostAttribute:t,getSuggestedPostFormat:n}=e("core/editor"),o=t("format"),r=e("core").getThemeSupports();return{postFormat:null!=o?o:"standard",suggestedFormat:n(),supportedFormats:Object(u.union)([o],Object(u.get)(r,["formats"],[]))}},[]),r=Er.filter(e=>Object(u.includes)(o,e.id)),i=Object(u.find)(r,e=>e.id===n),{editPost:s}=Object(p.useDispatch)("core/editor"),c=e=>s({format:e});return Object(l.createElement)(Sr,null,Object(l.createElement)("div",{className:"editor-post-format"},Object(l.createElement)("div",{className:"editor-post-format__content"},Object(l.createElement)("label",{htmlFor:e},Object(Xt.__)("Post Format")),Object(l.createElement)(Po.SelectControl,{value:t,onChange:e=>c(e),id:e,options:r.map(e=>({label:e.caption,value:e.id}))})),i&&i.id!==t&&Object(l.createElement)("div",{className:"editor-post-format__suggestion"},Object(Xt.__)("Suggestion:")," ",Object(l.createElement)(Po.Button,{isLink:!0,onClick:()=>c(i.id)},i.caption))))}var Pr=Object(l.createElement)(D.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(l.createElement)(D.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 kr=Object(p.withSelect)(e=>{const{getCurrentPostLastRevisionId:t,getCurrentPostRevisionsCount:n}=e("core/editor");return{lastRevisionId:t(),revisionsCount:n()}})((function({lastRevisionId:e,revisionsCount:t,children:n}){return!e||t<2?null:Object(l.createElement)(Qo,{supportKeys:"revisions"},n)}));var Tr=Object(p.withSelect)(e=>{const{getCurrentPostLastRevisionId:t,getCurrentPostRevisionsCount:n}=e("core/editor");return{lastRevisionId:t(),revisionsCount:n()}})((function({lastRevisionId:e,revisionsCount:t}){return Object(l.createElement)(kr,null,Object(l.createElement)(Po.Button,{href:R("revision.php",{revision:e,gutenberg:!0}),className:"editor-post-last-revision__title",icon:Pr},Object(Xt.sprintf)(Object(Xt._n)("%d Revision","%d Revisions",t),t)))}));class Cr extends l.Component{constructor(){super(...arguments),this.buttonRef=Object(l.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.isDraft?this.props.savePost({isPreview:!0}):this.props.autosave({isPreview:!0}),function(e){let t=Object(l.renderToString)(Object(l.createElement)("div",{className:"editor-post-preview-button__interstitial-message"},Object(l.createElement)(Po.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 96 96"},Object(l.createElement)(Po.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(l.createElement)(Po.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(l.createElement)("p",null,Object(Xt.__)("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(m.applyFilters)("editor.PostPreview.interstitialMarkup",t),e.write(t),e.title=Object(Xt.__)("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=uo()({"editor-post-preview":!this.props.className},this.props.className);return Object(l.createElement)(Po.Button,{isTertiary:!this.props.className,className:i,href:r,target:this.getWindowTarget(),disabled:!n,onClick:this.openPreviewWindow,ref:this.buttonRef,role:o},this.props.textContent?this.props.textContent:Object(l.createElement)(l.Fragment,null,Object(Xt._x)("Preview","imperative verb"),Object(l.createElement)(Po.VisuallyHidden,{as:"span"},Object(Xt.__)("(opens in a new tab)"))))}}var xr=Object(b.compose)([Object(p.withSelect)((e,{forcePreviewLink:t,forceIsAutosaveable:n})=>{const{getCurrentPostId:o,getCurrentPostAttribute:r,getEditedPostAttribute:i,isEditedPostSaveable:s,isEditedPostAutosaveable:c,getEditedPostPreviewLink:a}=e("core/editor"),{getPostType:l}=e("core"),d=a(),p=l(i("type"));return{postId:o(),currentPostLink:r("link"),previewLink:void 0!==t?t:d,isSaveable:s(),isAutosaveable:n||c(),isViewable:Object(u.get)(p,["viewable"],!1),isDraft:-1!==["draft","auto-draft"].indexOf(i("status"))}}),Object(p.withDispatch)(e=>({autosave:e("core/editor").autosave,savePost:e("core/editor").savePost})),Object(b.ifCondition)(({isViewable:e})=>e)])(Cr);function Br(){const e="core/editor/post-locked-modal-"+Object(b.useInstanceId)(Br),{autosave:t,updatePostLock:n}=Object(p.useDispatch)("core/editor"),{isLocked:o,isTakeover:r,user:i,postId:s,postLockUtils:c,activePostLock:a,postType:d}=Object(p.useSelect)(e=>{const{isPostLocked:t,isPostLockTakeover:n,getPostLockUser:o,getCurrentPostId:r,getActivePostLock:i,getEditedPostAttribute:s,getEditorSettings:c}=e("core/editor"),{getPostType:a}=e("core");return{isLocked:t(),isTakeover:n(),user:o(),postId:r(),postLockUtils:c().postLockUtils,activePostLock:i(),postType:a(s("type"))}});if(Object(l.useEffect)(()=>{function r(){if(o||!a)return;const e=new window.FormData;if(e.append("action","wp-remove-post-lock"),e.append("_wpnonce",c.unlockNonce),e.append("post_ID",s),e.append("active_post_lock",a),window.navigator.sendBeacon)window.navigator.sendBeacon(c.ajaxUrl,e);else{const t=new window.XMLHttpRequest;t.open("POST",c.ajaxUrl,!1),t.send(e)}}return Object(m.addAction)("heartbeat.send",e,(function(e){o||(e["wp-refresh-post-lock"]={lock:a,post_id:s})})),Object(m.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(m.removeAction)("heartbeat.send",e),Object(m.removeAction)("heartbeat.tick",e),window.removeEventListener("beforeunload",r)}},[]),!o)return null;const h=i.name,f=i.avatar,g=Object(P.addQueryArgs)("post.php",{"get-post-lock":"1",lockKey:!0,post:s,action:"edit",_wpnonce:c.nonce}),O=R("edit.php",{post_type:Object(u.get)(d,["slug"])}),j=Object(Xt.__)("Exit the Editor");return Object(l.createElement)(Po.Modal,{title:r?Object(Xt.__)("Someone else has taken over this post."):Object(Xt.__)("This post is already being edited."),focusOnMount:!0,shouldCloseOnClickOutside:!1,shouldCloseOnEsc:!1,isDismissible:!1,className:"editor-post-locked-modal"},!!f&&Object(l.createElement)("img",{src:f,alt:Object(Xt.__)("Avatar"),className:"editor-post-locked-modal__avatar"}),!!r&&Object(l.createElement)("div",null,Object(l.createElement)("div",null,h?Object(Xt.sprintf)(Object(Xt.__)("%s now has editing control of this post. Don’t worry, your changes up to this moment have been saved."),h):Object(Xt.__)("Another user now has editing control of this post. Don’t worry, your changes up to this moment have been saved.")),Object(l.createElement)("div",{className:"editor-post-locked-modal__buttons"},Object(l.createElement)(Po.Button,{isPrimary:!0,href:O},j))),!r&&Object(l.createElement)("div",null,Object(l.createElement)("div",null,h?Object(Xt.sprintf)(Object(Xt.__)("%s is currently working on this post, which means you cannot make changes, unless you take over."),h):Object(Xt.__)("Another user is currently working on this post, which means you cannot make changes, unless you take over.")),Object(l.createElement)("div",{className:"editor-post-locked-modal__buttons"},Object(l.createElement)(Po.Button,{isSecondary:!0,href:O},j),Object(l.createElement)(xr,null),Object(l.createElement)(Po.Button,{isPrimary:!0,href:g},Object(Xt.__)("Take Over")))))}var Ir=Object(b.compose)(Object(p.withSelect)(e=>{const{isCurrentPostPublished:t,getCurrentPostType:n,getCurrentPost:o}=e("core/editor");return{hasPublishAction:Object(u.get)(o(),["_links","wp:action-publish"],!1),isPublished:t(),postType:n()}}))((function({hasPublishAction:e,isPublished:t,children:n}){return t||!e?null:n}));var Ar=Object(b.compose)(Object(p.withSelect)(e=>({status:e("core/editor").getEditedPostAttribute("status")})),Object(p.withDispatch)(e=>({onUpdateStatus(t){e("core/editor").editPost({status:t})}})))((function({status:e,onUpdateStatus:t}){return Object(l.createElement)(Ir,null,Object(l.createElement)(Po.CheckboxControl,{label:Object(Xt.__)("Pending review"),checked:"pending"===e,onChange:()=>{t("pending"===e?"draft":"pending")}}))}));var Rr=Object(b.compose)([Object(p.withSelect)(e=>({pingStatus:e("core/editor").getEditedPostAttribute("ping_status")})),Object(p.withDispatch)(e=>({editPost:e("core/editor").editPost}))])((function({pingStatus:e="open",...t}){return Object(l.createElement)(Po.CheckboxControl,{label:Object(Xt.__)("Allow pingbacks & trackbacks"),checked:"open"===e,onChange:()=>t.editPost({ping_status:"open"===e?"closed":"open"})})}));var Nr=Object(b.compose)([Object(p.withSelect)((e,{forceIsSaving:t})=>{const{isCurrentPostPublished:n,isEditedPostBeingScheduled:o,isSavingPost:r,isPublishingPost:i,getCurrentPost:s,getCurrentPostType:c,isAutosavingPost:a}=e("core/editor");return{isPublished:n(),isBeingScheduled:o(),isSaving:t||r(),isPublishing:i(),hasPublishAction:Object(u.get)(s(),["_links","wp:action-publish"],!1),postType:c(),isAutosaving:a()}})])((function({isPublished:e,isBeingScheduled:t,isSaving:n,isPublishing:o,hasPublishAction:r,isAutosaving:i,hasNonPostEntityChanges:s}){return o?Object(Xt.__)("Publishing…"):e&&n&&!i?Object(Xt.__)("Updating…"):t&&n&&!i?Object(Xt.__)("Scheduling…"):r?e?s?Object(Xt.__)("Update…"):Object(Xt.__)("Update"):t?s?Object(Xt.__)("Schedule…"):Object(Xt.__)("Schedule"):Object(Xt.__)("Publish"):s?Object(Xt.__)("Submit for Review…"):Object(Xt.__)("Submit for Review")}));class Dr extends l.Component{constructor(e){super(e),this.buttonNode=Object(l.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){return(...t)=>{const{hasNonPostEntityChanges:n}=this.props;return n?(this.setState({entitiesSavedStatesCallback:()=>e(...t)}),this.props.setEntitiesSavedStatesCallback(()=>this.closeEntitiesSavedStates),u.noop):e(...t)}}closeEntitiesSavedStates(e){const{postType:t,postId:n}=this.props,{entitiesSavedStatesCallback:o}=this.state;this.setState({entitiesSavedStatesCallback:!1},()=>{e&&Object(u.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:i,isPublishable:s,isPublished:c,isSaveable:d,isSaving:p,isAutoSaving:b,isToggle:m,onSave:h,onStatusChange:f,onSubmit:g=u.noop,onToggle:O,visibility:j,hasNonPostEntityChanges:v}=this.props,_=p||t||!d||i||!s&&!e,y=c||p||t||!d||!s&&!e;let S;S=n?"private"===j?"private":o?"future":"publish":"pending";const E={"aria-disabled":_&&!v,className:"editor-post-publish-button",isBusy:!b&&p&&c,isPrimary:!0,onClick:this.createOnClick(()=>{_||(g(),f(S),h())})},w={"aria-disabled":y&&!v,"aria-expanded":r,className:"editor-post-publish-panel__toggle",isBusy:p&&c,isPrimary:!0,onClick:this.createOnClick(()=>{y||O()})},P=o?Object(Xt.__)("Schedule…"):Object(Xt.__)("Publish"),k=Object(l.createElement)(Nr,{forceIsSaving:t,hasNonPostEntityChanges:v}),T=m?w:E,C=m?P:k;return Object(l.createElement)(l.Fragment,null,Object(l.createElement)(Po.Button,Object(a.a)({ref:this.buttonNode},T,{className:uo()(T.className,"editor-post-publish-button__button",{"has-changes-dot":v})}),C))}}var Lr=Object(b.compose)([Object(p.withSelect)(e=>{const{isSavingPost:t,isAutosavingPost:n,isEditedPostBeingScheduled:o,getEditedPostVisibility:r,isCurrentPostPublished:i,isEditedPostSaveable:s,isEditedPostPublishable:c,isPostSavingLocked:a,getCurrentPost:l,getCurrentPostType:d,getCurrentPostId:p,hasNonPostEntityChanges:b}=e("core/editor"),m=n();return{isSaving:t()||m,isAutoSaving:m,isBeingScheduled:o(),visibility:r(),isSaveable:s(),isPostSavingLocked:a(),isPublishable:c(),isPublished:i(),hasPublishAction:Object(u.get)(l(),["_links","wp:action-publish"],!1),postType:d(),postId:p(),hasNonPostEntityChanges:b()}}),Object(p.withDispatch)(e=>{const{editPost:t,savePost:n}=e("core/editor");return{onStatusChange:e=>t({status:e},{undoIgnore:!0}),onSave:n}})])(Dr),Fr=n("bWcr"),Ur=n("wduq");const Mr=[{value:"public",label:Object(Xt.__)("Public"),info:Object(Xt.__)("Visible to everyone.")},{value:"private",label:Object(Xt.__)("Private"),info:Object(Xt.__)("Only visible to site admins and editors.")},{value:"password",label:Object(Xt.__)("Password Protected"),info:Object(Xt.__)("Protected with a password you choose. Only those with the password can view this post.")}];class zr extends l.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(Xt.__)("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(l.createElement)("fieldset",{key:"visibility-selector",className:"editor-post-visibility__dialog-fieldset"},Object(l.createElement)("legend",{className:"editor-post-visibility__dialog-legend"},Object(Xt.__)("Post Visibility")),Mr.map(({value:e,label:t,info:r})=>Object(l.createElement)("div",{key:e,className:"editor-post-visibility__choice"},Object(l.createElement)("input",{type:"radio",name:"editor-post-visibility__setting-"+n,value:e,onChange:o[e].onSelect,checked:o[e].checked,id:`editor-post-${e}-${n}`,"aria-describedby":`editor-post-${e}-${n}-description`,className:"editor-post-visibility__dialog-radio"}),Object(l.createElement)("label",{htmlFor:`editor-post-${e}-${n}`,className:"editor-post-visibility__dialog-label"},t),Object(l.createElement)("p",{id:`editor-post-${e}-${n}-description`,className:"editor-post-visibility__dialog-info"},r)))),this.state.hasPassword&&Object(l.createElement)("div",{className:"editor-post-visibility__dialog-password",key:"password-selector"},Object(l.createElement)(Po.VisuallyHidden,{as:"label",htmlFor:"editor-post-visibility__dialog-password-input-"+n},Object(Xt.__)("Create password")),Object(l.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(Xt.__)("Use a secure password")}))]}}var Vr=Object(b.compose)([Object(p.withSelect)(e=>{const{getEditedPostAttribute:t,getEditedPostVisibility:n}=e("core/editor");return{status:t("status"),visibility:n(),password:t("password")}}),Object(p.withDispatch)(e=>{const{savePost:t,editPost:n}=e("core/editor");return{onSave:t,onUpdateVisibility(e,t=""){n({status:e,password:t})}}}),b.withInstanceId])(zr);var Hr=Object(p.withSelect)(e=>({visibility:e("core/editor").getEditedPostVisibility()}))((function({visibility:e}){return Object(u.find)(Mr,{value:e}).label}));function Wr(e=new Date,t=!0){const n=new Date(e);return new Date(n.getFullYear(),n.getMonth()+(t?0:1),t?1:0).toISOString()}function Gr(){const{postDate:e,postType:t}=Object(p.useSelect)(e=>({postDate:e(so).getEditedPostAttribute("date"),postType:e(so).getCurrentPostType()}),[]),{editPost:n}=Object(p.useDispatch)(so),[o,r]=Object(l.useState)(Wr(e)),i=Object(p.useSelect)(e=>e(s.store).getEntityRecords("postType",t,{status:"publish,future",after:Wr(o),before:Wr(o,!1),exclude:[e(so).getCurrentPostId()]}),[o,t]),c=Object(l.useMemo)(()=>(i||[]).map(({title:e,type:t,date:n})=>({title:null==e?void 0:e.rendered,type:t,date:new Date(n)})),[i]),a=Object(l.useRef)(),u=Object(w.__experimentalGetSettings)(),d=/a(?!\\)/i.test(u.formats.time.toLowerCase().replace(/\\\\/g,"").split("").reverse().join(""));return Object(l.createElement)(Po.DateTimePicker,{ref:a,currentDate:e,onChange:function(e){n({date:e});const{ownerDocument:t}=a.current;t.activeElement.blur()},is12Hour:d,events:c,onMonthPreviewed:r})}var qr=Object(p.withSelect)(e=>({date:e("core/editor").getEditedPostAttribute("date"),isFloating:e("core/editor").isEditedPostDateFloating()}))((function({date:e,isFloating:t}){const n=Object(w.__experimentalGetSettings)();return e&&!t?Object(w.format)(`${n.formats.date} ${n.formats.time}`,e):Object(Xt.__)("Immediately")}));const Kr={per_page:10,orderby:"count",order:"desc",_fields:"id,name,count"};function $r({onSelect:e,taxonomy:t}){const{_terms:n,showTerms:o}=Object(p.useSelect)(e=>{const n=e(s.store).getEntityRecords("taxonomy",t.slug,Kr);return{_terms:n,showTerms:(null==n?void 0:n.length)>=10}},[]);if(!o)return null;const r=nr(n),i=Object(u.get)(t,["labels","most_used"]);return Object(l.createElement)("div",{className:"editor-post-taxonomies__flat-term-most-used"},Object(l.createElement)("h3",{className:"editor-post-taxonomies__flat-term-most-used-label"},i),Object(l.createElement)("ul",{role:"list",className:"editor-post-taxonomies__flat-term-most-used-list"},r.map(t=>Object(l.createElement)("li",{key:t.id},Object(l.createElement)(Po.Button,{isLink:!0,onClick:()=>e(t)},t.name)))))}const Qr={per_page:20,orderby:"count",order:"desc",_fields:"id,name,count"},Yr=(e,t)=>er(e).toLowerCase()===er(t).toLowerCase(),Xr=(e,t)=>e.map(e=>Object(u.find)(t,t=>Yr(t.name,e)).id);class Jr extends l.Component{constructor(){super(...arguments),this.onChange=this.onChange.bind(this),this.searchTerms=Object(u.debounce)(this.searchTerms.bind(this),500),this.findOrCreateTerm=this.findOrCreateTerm.bind(this),this.appendTerm=this.appendTerm.bind(this),this.state={loading:!Object(u.isEmpty)(this.props.terms),availableTerms:[],selectedTerms:[]}}componentDidMount(){Object(u.isEmpty)(this.props.terms)||(this.initRequest=this.fetchTerms({include:this.props.terms.join(","),per_page:-1}),this.initRequest.then(()=>{this.setState({loading:!1})},e=>{"abort"!==e.statusText&&this.setState({loading:!1})}))}componentWillUnmount(){Object(u.invoke)(this.initRequest,["abort"]),Object(u.invoke)(this.searchRequest,["abort"])}componentDidUpdate(e){e.terms!==this.props.terms&&this.updateSelectedTerms(this.props.terms)}fetchTerms(e={}){const{taxonomy:t}=this.props,n={...Qr,...e},o=g()({path:Object(P.addQueryArgs)("/wp/v2/"+t.rest_base,n)});return o.then(nr).then(e=>{this.setState(t=>({availableTerms:t.availableTerms.concat(e.filter(e=>!Object(u.find)(t.availableTerms,t=>t.id===e.id)))})),this.updateSelectedTerms(this.props.terms)}),o}updateSelectedTerms(e=[]){const t=e.reduce((e,t)=>{const n=Object(u.find)(this.state.availableTerms,e=>e.id===t);return n&&e.push(n.name),e},[]);this.setState({selectedTerms:t})}findOrCreateTerm(e){const{taxonomy:t}=this.props,n=Object(u.escape)(e);return g()({path:"/wp/v2/"+t.rest_base,method:"POST",data:{name:n}}).catch(o=>"term_exists"===o.code?(this.addRequest=g()({path:Object(P.addQueryArgs)("/wp/v2/"+t.rest_base,{...Qr,search:n})}).then(nr),this.addRequest.then(t=>Object(u.find)(t,t=>Yr(t.name,e)))):Promise.reject(o)).then(tr)}onChange(e){const t=Object(u.uniqBy)(e,e=>e.toLowerCase());this.setState({selectedTerms:t});const n=t.filter(e=>!Object(u.find)(this.state.availableTerms,t=>Yr(t.name,e)));if(0===n.length)return this.props.onUpdateTerms(Xr(t,this.state.availableTerms),this.props.taxonomy.rest_base);Promise.all(n.map(this.findOrCreateTerm)).then(e=>{const n=this.state.availableTerms.concat(e);return this.setState({availableTerms:n}),this.props.onUpdateTerms(Xr(t,n),this.props.taxonomy.rest_base)})}searchTerms(e=""){Object(u.invoke)(this.searchRequest,["abort"]),e.length>=3&&(this.searchRequest=this.fetchTerms({search:e}))}appendTerm(e){const{onUpdateTerms:t,taxonomy:n,terms:o=[],slug:r,speak:i}=this.props;if(o.includes(e.id))return;const s=[...o,e.id];i(Object(Xt.sprintf)(Object(Xt._x)("%s added","term"),Object(u.get)(n,["labels","singular_name"],"post_tag"===r?Object(Xt.__)("Tag"):Object(Xt.__)("Term"))),"assertive"),this.setState({availableTerms:[...this.state.availableTerms,e]}),t(s,n.rest_base)}render(){const{slug:e,taxonomy:t,hasAssignAction:n}=this.props;if(!n)return null;const{loading:o,availableTerms:r,selectedTerms:i}=this.state,s=r.map(e=>e.name),c=Object(u.get)(t,["labels","add_new_item"],"post_tag"===e?Object(Xt.__)("Add new tag"):Object(Xt.__)("Add new Term")),a=Object(u.get)(t,["labels","singular_name"],"post_tag"===e?Object(Xt.__)("Tag"):Object(Xt.__)("Term")),d=Object(Xt.sprintf)(Object(Xt._x)("%s added","term"),a),p=Object(Xt.sprintf)(Object(Xt._x)("%s removed","term"),a),b=Object(Xt.sprintf)(Object(Xt._x)("Remove %s","term"),a);return Object(l.createElement)(l.Fragment,null,Object(l.createElement)(Po.FormTokenField,{value:i,suggestions:s,onChange:this.onChange,onInputChange:this.searchTerms,maxSuggestions:20,disabled:o,label:c,messages:{added:d,removed:p,remove:b}}),Object(l.createElement)($r,{taxonomy:t,onSelect:this.appendTerm}))}}var Zr=Object(b.compose)(Object(p.withSelect)((e,{slug:t})=>{const{getCurrentPost:n}=e(so),{getTaxonomy:o}=e(s.store),r=o(t);return{hasCreateAction:!!r&&Object(u.get)(n(),["_links","wp:action-create-"+r.rest_base],!1),hasAssignAction:!!r&&Object(u.get)(n(),["_links","wp:action-assign-"+r.rest_base],!1),terms:r?e(so).getEditedPostAttribute(r.rest_base):[],taxonomy:r}}),Object(p.withDispatch)(e=>({onUpdateTerms(t,n){e(so).editPost({[n]:t})}})),Po.withSpokenMessages,Object(Po.withFilters)("editor.PostTaxonomyType"))(Jr);const ei=()=>{const e=[Object(Xt.__)("Suggestion:"),Object(l.createElement)("span",{className:"editor-post-publish-panel__link",key:"label"},Object(Xt.__)("Add tags"))];return Object(l.createElement)(Po.PanelBody,{initialOpen:!1,title:e},Object(l.createElement)("p",null,Object(Xt.__)("Tags help users and search engines navigate your site and find your content. Add a few keywords to describe your post.")),Object(l.createElement)(Zr,{slug:"post_tag"}))};class ti extends l.Component{constructor(e){super(e),this.state={hadTagsWhenOpeningThePanel:e.hasTags}}render(){return this.state.hadTagsWhenOpeningThePanel?null:Object(l.createElement)(ei,null)}}var ni=Object(b.compose)(Object(p.withSelect)(e=>{const t=e("core/editor").getCurrentPostType(),n=e("core").getTaxonomy("post_tag"),o=n&&e("core/editor").getEditedPostAttribute(n.rest_base);return{areTagsFetched:void 0!==n,isPostTypeSupported:n&&Object(u.some)(n.types,e=>e===t),hasTags:o&&o.length}}),Object(b.ifCondition)(({areTagsFetched:e,isPostTypeSupported:t})=>t&&e))(ti);const oi=(e,t)=>{const n=Er.filter(t=>Object(u.includes)(e,t.id));return Object(u.find)(n,e=>e.id===t)},ri=({suggestedPostFormat:e,suggestionText:t,onUpdatePostFormat:n})=>Object(l.createElement)(Po.Button,{isLink:!0,onClick:()=>n(e)},t);function ii(){const{currentPostFormat:e,suggestion:t}=Object(p.useSelect)(e=>{const{getEditedPostAttribute:t,getSuggestedPostFormat:n}=e("core/editor"),o=Object(u.get)(e("core").getThemeSupports(),["formats"],[]);return{currentPostFormat:t("format"),suggestion:oi(o,n())}},[]),{editPost:n}=Object(p.useDispatch)("core/editor"),o=[Object(Xt.__)("Suggestion:"),Object(l.createElement)("span",{className:"editor-post-publish-panel__link",key:"label"},Object(Xt.__)("Use a post format"))];return t&&t.id!==e?Object(l.createElement)(Po.PanelBody,{initialOpen:!1,title:o},Object(l.createElement)("p",null,Object(Xt.__)("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(l.createElement)("p",null,Object(l.createElement)(ri,{onUpdatePostFormat:e=>n({format:e}),suggestedPostFormat:t.id,suggestionText:Object(Xt.sprintf)(Object(Xt.__)('Apply the "%1$s" format.'),t.caption)}))):null}var si=function({children:e}){const{isBeingScheduled:t,isRequestingSiteIcon:n,hasPublishAction:o,siteIconUrl:r,siteTitle:i,siteHome:s}=Object(p.useSelect)(e=>{const{isResolving:t}=e("core/data"),{getCurrentPost:n,isEditedPostBeingScheduled:o}=e("core/editor"),{getEntityRecord:r}=e("core"),i=r("root","__unstableBase",void 0)||{};return{hasPublishAction:Object(u.get)(n(),["_links","wp:action-publish"],!1),isBeingScheduled:o(),isRequestingSiteIcon:t("core","getEntityRecord",["root","__unstableBase",void 0]),siteIconUrl:i.site_icon_url,siteTitle:i.name,siteHome:i.home&&Object(P.filterURLForDisplay)(i.home)}},[]);let c,a,d=Object(l.createElement)(Po.Icon,{className:"components-site-icon",size:"36px",icon:Ur.a});return r&&(d=Object(l.createElement)("img",{alt:Object(Xt.__)("Site Icon"),className:"components-site-icon",src:r})),n&&(d=null),o?t?(c=Object(Xt.__)("Are you ready to schedule?"),a=Object(Xt.__)("Your work will be published at the specified date and time.")):(c=Object(Xt.__)("Are you ready to publish?"),a=Object(Xt.__)("Double-check your settings before publishing.")):(c=Object(Xt.__)("Are you ready to submit for review?"),a=Object(Xt.__)("When you’re ready, submit your work for review, and an Editor will be able to approve it for you.")),Object(l.createElement)("div",{className:"editor-post-publish-panel__prepublish"},Object(l.createElement)("div",null,Object(l.createElement)("strong",null,c)),Object(l.createElement)("p",null,a),Object(l.createElement)("div",{className:"components-site-card"},d,Object(l.createElement)("div",{className:"components-site-info"},Object(l.createElement)("span",{className:"components-site-name"},i||Object(Xt.__)("(Untitled)")),Object(l.createElement)("span",{className:"components-site-home"},s))),o&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(Po.PanelBody,{initialOpen:!1,title:[Object(Xt.__)("Visibility:"),Object(l.createElement)("span",{className:"editor-post-publish-panel__link",key:"label"},Object(l.createElement)(Hr,null))]},Object(l.createElement)(Vr,null)),Object(l.createElement)(Po.PanelBody,{initialOpen:!1,title:[Object(Xt.__)("Publish:"),Object(l.createElement)("span",{className:"editor-post-publish-panel__link",key:"label"},Object(l.createElement)(qr,null))]},Object(l.createElement)(Gr,null))),Object(l.createElement)(ii,null),Object(l.createElement)(ni,null),e)};function ci({text:e,onCopy:t,children:n}){const o=Object(b.useCopyToClipboard)(e,t);return Object(l.createElement)(Po.Button,{isSecondary:!0,ref:o},n)}class ai extends l.Component{constructor(){super(...arguments),this.state={showCopyConfirmation:!1},this.onCopy=this.onCopy.bind(this),this.onSelectInput=this.onSelectInput.bind(this),this.postLink=Object(l.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(u.get)(o,["labels","singular_name"]),i=Object(u.get)(o,["labels","view_item"]),s="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,c=t?Object(l.createElement)(l.Fragment,null,Object(Xt.__)("is now scheduled. It will go live on")," ",Object(l.createElement)(qr,null),"."):Object(Xt.__)("is now live.");return Object(l.createElement)("div",{className:"post-publish-panel__postpublish"},Object(l.createElement)(Po.PanelBody,{className:"post-publish-panel__postpublish-header"},Object(l.createElement)("a",{ref:this.postLink,href:s},Object(Jo.decodeEntities)(n.title)||Object(Xt.__)("(no title)"))," ",c),Object(l.createElement)(Po.PanelBody,null,Object(l.createElement)("p",{className:"post-publish-panel__postpublish-subheader"},Object(l.createElement)("strong",null,Object(Xt.__)("What’s next?"))),Object(l.createElement)(Po.TextControl,{className:"post-publish-panel__postpublish-post-address",readOnly:!0,label:Object(Xt.sprintf)(Object(Xt.__)("%s address"),r),value:Object(P.safeDecodeURIComponent)(s),onFocus:this.onSelectInput}),Object(l.createElement)("div",{className:"post-publish-panel__postpublish-buttons"},!t&&Object(l.createElement)(Po.Button,{isSecondary:!0,href:s},i),Object(l.createElement)(ci,{text:s,onCopy:this.onCopy},this.state.showCopyConfirmation?Object(Xt.__)("Copied!"):Object(Xt.__)("Copy Link")))),e)}}var li=Object(p.withSelect)(e=>{const{getEditedPostAttribute:t,getCurrentPost:n,isCurrentPostScheduled:o}=e("core/editor"),{getPostType:r}=e("core");return{post:n(),postType:r(t("type")),isScheduled:o()}})(ai);class ui extends l.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:i,isSaving:s,onClose:c,onTogglePublishSidebar:d,PostPublishExtension:p,PrePublishExtension:b,...m}=this.props,h=Object(u.omit)(m,["hasPublishAction","isDirty","isPostTypeViewable"]),f=o||i&&n,g=!f&&!s,O=f&&!s;return Object(l.createElement)("div",Object(a.a)({className:"editor-post-publish-panel"},h),Object(l.createElement)("div",{className:"editor-post-publish-panel__header"},O?Object(l.createElement)(Po.Button,{onClick:c,icon:Fr.a,label:Object(Xt.__)("Close panel")}):Object(l.createElement)(l.Fragment,null,Object(l.createElement)("div",{className:"editor-post-publish-panel__header-publish-button"},Object(l.createElement)(Lr,{focusOnMount:!0,onSubmit:this.onSubmit,forceIsDirty:e,forceIsSaving:t})),Object(l.createElement)("div",{className:"editor-post-publish-panel__header-cancel-button"},Object(l.createElement)(Po.Button,{onClick:c,isSecondary:!0},Object(Xt.__)("Cancel"))))),Object(l.createElement)("div",{className:"editor-post-publish-panel__content"},g&&Object(l.createElement)(si,null,b&&Object(l.createElement)(b,null)),O&&Object(l.createElement)(li,{focusOnMount:!0},p&&Object(l.createElement)(p,null)),s&&Object(l.createElement)(Po.Spinner,null)),Object(l.createElement)("div",{className:"editor-post-publish-panel__footer"},Object(l.createElement)(Po.CheckboxControl,{label:Object(Xt.__)("Always show pre-publish checks."),checked:r,onChange:d})))}}var di=Object(b.compose)([Object(p.withSelect)(e=>{const{getPostType:t}=e("core"),{getCurrentPost:n,getEditedPostAttribute:o,isCurrentPostPublished:r,isCurrentPostScheduled:i,isEditedPostBeingScheduled:s,isEditedPostDirty:c,isSavingPost:a}=e("core/editor"),{isPublishSidebarEnabled:l}=e("core/editor"),d=t(o("type"));return{hasPublishAction:Object(u.get)(n(),["_links","wp:action-publish"],!1),isPostTypeViewable:Object(u.get)(d,["viewable"],!1),isBeingScheduled:s(),isDirty:c(),isPublished:r(),isPublishSidebarEnabled:l(),isSaving:a(),isScheduled:i()}}),Object(p.withDispatch)((e,{isPublishSidebarEnabled:t})=>{const{disablePublishSidebar:n,enablePublishSidebar:o}=e("core/editor");return{onTogglePublishSidebar:()=>{t?n():o()}}}),Po.withFocusReturn,Po.withConstrainedTabbing])(ui),pi=n("iClF");var bi=Object(l.createElement)(D.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(l.createElement)(D.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"})),mi=n("RMJe");var hi=Object(l.createElement)(D.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(l.createElement)(D.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 fi=Object(b.compose)([Object(p.withSelect)(e=>{const{isSavingPost:t,isCurrentPostPublished:n,isCurrentPostScheduled:o}=e("core/editor");return{isSaving:t(),isPublished:n(),isScheduled:o()}}),Object(p.withDispatch)(e=>{const{editPost:t,savePost:n}=e("core/editor");return{onClick:()=>{t({status:"draft"}),n()}}})])((function({isSaving:e,isPublished:t,isScheduled:n,onClick:o}){const r=Object(b.useViewportMatch)("small","<");return t||n?Object(l.createElement)(Po.Button,{className:"editor-post-switch-to-draft",onClick:()=>{let e;t?e=Object(Xt.__)("Are you sure you want to unpublish this post?"):n&&(e=Object(Xt.__)("Are you sure you want to unschedule this post?")),window.confirm(e)&&o()},disabled:e,isTertiary:!0},r?Object(Xt.__)("Draft"):Object(Xt.__)("Switch to draft")):null}));function gi({forceIsDirty:e,forceIsSaving:t,showIconLabels:n=!1}){const[o,r]=Object(l.useState)(!1),i=Object(b.useViewportMatch)("small"),{isAutosaving:s,isDirty:c,isNew:a,isPending:u,isPublished:d,isSaveable:m,isSaving:h,isScheduled:f,hasPublishAction:g}=Object(p.useSelect)(n=>{var o,r,i;const{isEditedPostNew:s,isCurrentPostPublished:c,isCurrentPostScheduled:a,isEditedPostDirty:l,isSavingPost:u,isEditedPostSaveable:d,getCurrentPost:p,isAutosavingPost:b,getEditedPostAttribute:m}=n("core/editor");return{isAutosaving:b(),isDirty:e||l(),isNew:s(),isPending:"pending"===m("status"),isPublished:c(),isSaving:t||u(),isSaveable:d(),isScheduled:a(),hasPublishAction:null!==(o=null===(r=p())||void 0===r||null===(i=r._links)||void 0===i?void 0:i["wp:action-publish"])&&void 0!==o&&o}},[e,t]),{savePost:O}=Object(p.useDispatch)("core/editor"),j=Object(b.usePrevious)(h);if(Object(l.useEffect)(()=>{let e;return j&&!h&&(r(!0),e=setTimeout(()=>{r(!1)},1e3)),()=>clearTimeout(e)},[h]),h){const e=uo()("editor-post-saved-state","is-saving",Object(Po.__unstableGetAnimateClassName)({type:"loading"}),{"is-autosaving":s});return Object(l.createElement)("span",{className:e},Object(l.createElement)(pi.a,{icon:bi}),s?Object(Xt.__)("Autosaving"):Object(Xt.__)("Saving"))}if(d||f)return Object(l.createElement)(fi,null);if(!m)return null;if(o||!a&&!c)return Object(l.createElement)("span",{className:"editor-post-saved-state is-saved"},Object(l.createElement)(pi.a,{icon:mi.a}),Object(Xt.__)("Saved"));if(!g&&u)return null;const v=u?Object(Xt.__)("Save as pending"):Object(Xt.__)("Save draft"),_=Object(Xt.__)("Save");return i?Object(l.createElement)(Po.Button,{className:"editor-post-save-draft",onClick:()=>O(),shortcut:ko.displayShortcut.primary("s"),isTertiary:!0},v):Object(l.createElement)(Po.Button,{className:"editor-post-save-draft",label:v,onClick:()=>O(),shortcut:ko.displayShortcut.primary("s"),icon:hi},n&&_)}var Oi=Object(b.compose)([Object(p.withSelect)(e=>{const{getCurrentPost:t,getCurrentPostType:n}=e("core/editor");return{hasPublishAction:Object(u.get)(t(),["_links","wp:action-publish"],!1),postType:n()}})])((function({hasPublishAction:e,children:t}){return e?t:null}));function ji({children:e}){return Object(l.createElement)(Qo,{supportKeys:"slug"},e)}class vi extends l.Component{constructor({postSlug:e,postTitle:t,postID:n}){super(...arguments),this.state={editedSlug:Object(P.safeDecodeURIComponent)(e)||N(t)||n},this.setSlug=this.setSlug.bind(this)}setSlug(e){const{postSlug:t,onUpdateSlug:n}=this.props,{value:o}=e.target,r=N(o);r!==t&&n(r)}render(){const{instanceId:e}=this.props,{editedSlug:t}=this.state,n="editor-post-slug-"+e;return Object(l.createElement)(ji,null,Object(l.createElement)("label",{htmlFor:n},Object(Xt.__)("Slug")),Object(l.createElement)("input",{type:"text",id:n,value:t,onChange:e=>this.setState({editedSlug:e.target.value}),onBlur:this.setSlug,className:"editor-post-slug__input"}))}}var _i=Object(b.compose)([Object(p.withSelect)(e=>{const{getCurrentPost:t,getEditedPostAttribute:n}=e("core/editor"),{id:o}=t();return{postSlug:n("slug"),postTitle:n("title"),postID:o}}),Object(p.withDispatch)(e=>{const{editPost:t}=e("core/editor");return{onUpdateSlug(e){t({slug:e})}}}),b.withInstanceId])(vi);var yi=Object(b.compose)([Object(p.withSelect)(e=>{const t=e("core/editor").getCurrentPost();return{hasStickyAction:Object(u.get)(t,["_links","wp:action-sticky"],!1),postType:e("core/editor").getCurrentPostType()}})])((function({hasStickyAction:e,postType:t,children:n}){return"post"===t&&e?n:null}));var Si=Object(b.compose)([Object(p.withSelect)(e=>({postSticky:e("core/editor").getEditedPostAttribute("sticky")})),Object(p.withDispatch)(e=>({onUpdateSticky(t){e("core/editor").editPost({sticky:t})}}))])((function({onUpdateSticky:e,postSticky:t=!1}){return Object(l.createElement)(yi,null,Object(l.createElement)(Po.CheckboxControl,{label:Object(Xt.__)("Stick to the top of the blog"),checked:t,onChange:()=>e(!t)}))}));const Ei={per_page:-1,orderby:"name",order:"asc",_fields:"id,name,parent"};class wi extends l.Component{constructor(){super(...arguments),this.findTerm=this.findTerm.bind(this),this.onChange=this.onChange.bind(this),this.onChangeFormName=this.onChangeFormName.bind(this),this.onChangeFormParent=this.onChangeFormParent.bind(this),this.onAddTerm=this.onAddTerm.bind(this),this.onToggleForm=this.onToggleForm.bind(this),this.setFilterValue=this.setFilterValue.bind(this),this.sortBySelected=this.sortBySelected.bind(this),this.state={loading:!0,availableTermsTree:[],availableTerms:[],adding:!1,formName:"",formParent:"",showForm:!1,filterValue:"",filteredTermsTree:[]}}onChange(e){const{onUpdateTerms:t,terms:n=[],taxonomy:o}=this.props;t(-1!==n.indexOf(e)?Object(u.without)(n,e):[...n,e],o.rest_base)}onChangeFormName(e){const t=""===e.target.value.trim()?"":e.target.value;this.setState({formName:t})}onChangeFormParent(e){this.setState({formParent:e})}onToggleForm(){this.setState(e=>({showForm:!e.showForm}))}findTerm(e,t,n){return Object(u.find)(e,e=>(!e.parent&&!t||parseInt(e.parent)===parseInt(t))&&e.name.toLowerCase()===n.toLowerCase())}onAddTerm(e){e.preventDefault();const{onUpdateTerms:t,taxonomy:n,terms:o,slug:r}=this.props,{formName:i,formParent:s,adding:c,availableTerms:a}=this.state;if(""===i||c)return;const l=this.findTerm(a,s,i);if(l)return Object(u.some)(o,e=>e===l.id)||t([...o,l.id],n.rest_base),void this.setState({formName:"",formParent:""});this.setState({adding:!0}),this.addRequest=g()({path:"/wp/v2/"+n.rest_base,method:"POST",data:{name:i,parent:s||void 0}});this.addRequest.catch(e=>"term_exists"===e.code?(this.addRequest=g()({path:Object(P.addQueryArgs)("/wp/v2/"+n.rest_base,{...Ei,parent:s||0,search:i})}),this.addRequest.then(e=>this.findTerm(e,s,i))):Promise.reject(e)).then(e=>{const i=!!Object(u.find)(this.state.availableTerms,t=>t.id===e.id)?this.state.availableTerms:[e,...this.state.availableTerms],s=Object(Xt.sprintf)(Object(Xt._x)("%s added","term"),Object(u.get)(this.props.taxonomy,["labels","singular_name"],"category"===r?Object(Xt.__)("Category"):Object(Xt.__)("Term")));this.props.speak(s,"assertive"),this.addRequest=null,this.setState({adding:!1,formName:"",formParent:"",availableTerms:i,availableTermsTree:this.sortBySelected(Zo(i))}),t([...o,e.id],n.rest_base)},e=>{"abort"!==e.statusText&&(this.addRequest=null,this.setState({adding:!1}))})}componentDidMount(){this.fetchTerms()}componentWillUnmount(){Object(u.invoke)(this.fetchRequest,["abort"]),Object(u.invoke)(this.addRequest,["abort"])}componentDidUpdate(e){this.props.taxonomy!==e.taxonomy&&this.fetchTerms()}fetchTerms(){const{taxonomy:e}=this.props;e&&(this.fetchRequest=g()({path:Object(P.addQueryArgs)("/wp/v2/"+e.rest_base,Ei)}),this.fetchRequest.then(e=>{const t=this.sortBySelected(Zo(e));this.fetchRequest=null,this.setState({loading:!1,availableTermsTree:t,availableTerms:e})},e=>{"abort"!==e.statusText&&(this.fetchRequest=null,this.setState({loading:!1}))}))}sortBySelected(e){const{terms:t}=this.props,n=e=>{if(-1!==t.indexOf(e.id))return!0;if(void 0===e.children)return!1;return!!(e.children.map(n).filter(e=>e).length>0)};return e.sort((e,t)=>{const o=n(e),r=n(t);return o===r?0:o&&!r?-1:!o&&r?1:0}),e}setFilterValue(e){const{availableTermsTree:t}=this.state,n=e.target.value,o=t.map(this.getFilterMatcher(n)).filter(e=>e),r=e=>{let t=0;for(let n=0;n<e.length;n++)t++,void 0!==e[n].children&&(t+=r(e[n].children));return t};this.setState({filterValue:n,filteredTermsTree:o});const i=r(o),s=Object(Xt.sprintf)(Object(Xt._n)("%d result found.","%d results found.",i),i);this.props.debouncedSpeak(s,"assertive")}getFilterMatcher(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}renderTerms(e){const{terms:t=[]}=this.props;return e.map(e=>Object(l.createElement)("div",{key:e.id,className:"editor-post-taxonomies__hierarchical-terms-choice"},Object(l.createElement)(Po.CheckboxControl,{checked:-1!==t.indexOf(e.id),onChange:()=>{const t=parseInt(e.id,10);this.onChange(t)},label:Object(u.unescape)(e.name)}),!!e.children.length&&Object(l.createElement)("div",{className:"editor-post-taxonomies__hierarchical-terms-subchoices"},this.renderTerms(e.children))))}render(){const{slug:e,taxonomy:t,instanceId:n,hasCreateAction:o,hasAssignAction:r}=this.props;if(!r)return null;const{availableTermsTree:i,availableTerms:s,filteredTermsTree:c,formName:a,formParent:d,loading:p,showForm:b,filterValue:m}=this.state,h=(n,o,r)=>Object(u.get)(t,["labels",n],"category"===e?o:r),f=h("add_new_item",Object(Xt.__)("Add new category"),Object(Xt.__)("Add new term")),g=h("new_item_name",Object(Xt.__)("Add new category"),Object(Xt.__)("Add new term")),O=h("parent_item",Object(Xt.__)("Parent Category"),Object(Xt.__)("Parent Term")),j=`— ${O} —`,v=f,_="editor-post-taxonomies__hierarchical-terms-input-"+n,y="editor-post-taxonomies__hierarchical-terms-filter-"+n,S=Object(u.get)(this.props.taxonomy,["labels","search_items"],Object(Xt.__)("Search Terms")),E=Object(u.get)(this.props.taxonomy,["name"],Object(Xt.__)("Terms")),w=s.length>=8;return[w&&Object(l.createElement)("label",{key:"filter-label",htmlFor:y},S),w&&Object(l.createElement)("input",{type:"search",id:y,value:m,onChange:this.setFilterValue,className:"editor-post-taxonomies__hierarchical-terms-filter",key:"term-filter-input"}),Object(l.createElement)("div",{className:"editor-post-taxonomies__hierarchical-terms-list",key:"term-list",tabIndex:"0",role:"group","aria-label":E},this.renderTerms(""!==m?c:i)),!p&&o&&Object(l.createElement)(Po.Button,{key:"term-add-button",onClick:this.onToggleForm,className:"editor-post-taxonomies__hierarchical-terms-add","aria-expanded":b,isLink:!0},f),b&&Object(l.createElement)("form",{onSubmit:this.onAddTerm,key:"hierarchical-terms-form"},Object(l.createElement)("label",{htmlFor:_,className:"editor-post-taxonomies__hierarchical-terms-label"},g),Object(l.createElement)("input",{type:"text",id:_,className:"editor-post-taxonomies__hierarchical-terms-input",value:a,onChange:this.onChangeFormName,required:!0}),!!s.length&&Object(l.createElement)(Po.TreeSelect,{label:O,noOptionLabel:j,onChange:this.onChangeFormParent,selectedId:d,tree:i}),Object(l.createElement)(Po.Button,{isSecondary:!0,type:"submit",className:"editor-post-taxonomies__hierarchical-terms-submit"},v))]}}var Pi=Object(b.compose)([Object(p.withSelect)((e,{slug:t})=>{const{getCurrentPost:n}=e("core/editor"),{getTaxonomy:o}=e("core"),r=o(t);return{hasCreateAction:!!r&&Object(u.get)(n(),["_links","wp:action-create-"+r.rest_base],!1),hasAssignAction:!!r&&Object(u.get)(n(),["_links","wp:action-assign-"+r.rest_base],!1),terms:r?e("core/editor").getEditedPostAttribute(r.rest_base):[],taxonomy:r}}),Object(p.withDispatch)(e=>({onUpdateTerms(t,n){e("core/editor").editPost({[n]:t})}})),Po.withSpokenMessages,b.withInstanceId,Object(Po.withFilters)("editor.PostTaxonomyType")])(wi);var ki=Object(b.compose)([Object(p.withSelect)(e=>({postType:e("core/editor").getCurrentPostType(),taxonomies:e("core").getTaxonomies({per_page:-1})}))])((function({postType:e,taxonomies:t,taxonomyWrapper:n=u.identity}){const o=Object(u.filter)(t,t=>Object(u.includes)(t.types,e));return Object(u.filter)(o,e=>e.visibility.show_ui).map(e=>{const t=e.hierarchical?Pi:Zr;return Object(l.createElement)(l.Fragment,{key:"taxonomy-"+e.slug},n(Object(l.createElement)(t,{slug:e.slug}),e))})}));var Ti=Object(b.compose)([Object(p.withSelect)(e=>({postType:e("core/editor").getCurrentPostType(),taxonomies:e("core").getTaxonomies({per_page:-1})}))])((function({postType:e,taxonomies:t,children:n}){return Object(u.some)(t,t=>Object(u.includes)(t.types,e))?n:null})),Ci=n("O6Fj"),xi=n.n(Ci);function Bi(){const e=Object(p.useSelect)(e=>e("core/editor").getEditedPostContent(),[]),{editPost:t,resetEditorBlocks:n}=Object(p.useDispatch)("core/editor"),[o,r]=Object(l.useState)(e),[i,s]=Object(l.useState)(!1),c=Object(b.useInstanceId)(Bi);i||o===e||r(e);return Object(l.createElement)(l.Fragment,null,Object(l.createElement)(Po.VisuallyHidden,{as:"label",htmlFor:"post-content-"+c},Object(Xt.__)("Type text or HTML")),Object(l.createElement)(xi.a,{autoComplete:"off",dir:"auto",value:o,onChange:e=>{const n=e.target.value;t({content:n}),r(n),s(!0)},onBlur:()=>{if(i){const e=Object(d.parse)(o);n(e),s(!1)}},className:"editor-post-text-editor",id:"post-content-"+c,placeholder:Object(Xt.__)("Start writing with text or HTML")}))}const Ii=/[\r\n]+/g;function Ai(){const e=Object(b.useInstanceId)(Ai),t=Object(l.useRef)(),[n,o]=Object(l.useState)(!1),{editPost:r}=Object(p.useDispatch)("core/editor"),{insertDefaultBlock:s,clearSelectedBlock:c,insertBlocks:a}=Object(p.useDispatch)(i.store),{isCleanNewPost:u,title:m,placeholder:h,isFocusMode:f,hasFixedToolbar:g}=Object(p.useSelect)(e=>{const{getEditedPostAttribute:t,isCleanNewPost:n}=e("core/editor"),{getSettings:o}=e(i.store),{titlePlaceholder:r,focusMode:s,hasFixedToolbar:c}=o();return{isCleanNewPost:n(),title:t("title"),placeholder:r,isFocusMode:s,hasFixedToolbar:c}});function O(e){a(e,0)}function j(e){r({title:e})}function v(){o(!1)}Object(l.useEffect)(()=>{if(!t.current)return;const{ownerDocument:e}=t.current,{activeElement:n,body:o}=e;!u||n&&o!==n||t.current.focus()},[u]);const _=uo()("wp-block editor-post-title editor-post-title__block",{"is-selected":n,"is-focus-mode":f,"has-fixed-toolbar":g}),y=Object(Jo.decodeEntities)(h);return Object(l.createElement)(Qo,{supportKeys:"title"},Object(l.createElement)("div",{className:_},Object(l.createElement)(Po.VisuallyHidden,{as:"label",htmlFor:"post-title-"+e},y||Object(Xt.__)("Add title")),Object(l.createElement)(xi.a,{ref:t,id:"post-title-"+e,className:"editor-post-title__input",value:m,onChange:function(e){j(e.target.value.replace(Ii," "))},placeholder:y||Object(Xt.__)("Add title"),onFocus:function(){o(!0),c()},onBlur:v,onKeyDown:function(e){e.keyCode===ko.ENTER&&(e.preventDefault(),s(void 0,void 0,0))},onKeyPress:v,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(d.pasteHandler)({HTML:o,plainText:n});if("string"!=typeof r&&r.length){e.preventDefault();const[t]=r;m||"core/heading"!==t.name&&"core/paragraph"!==t.name?O(r):(j(t.attributes.content),O(r.slice(1)))}}})))}var Ri=Object(b.compose)([Object(p.withSelect)(e=>{const{isEditedPostNew:t,getCurrentPostId:n,getCurrentPostType:o}=e("core/editor");return{isNew:t(),postId:n(),postType:o()}}),Object(p.withDispatch)(e=>({trashPost:e("core/editor").trashPost}))])((function({isNew:e,postId:t,postType:n,...o}){return e||!t?null:Object(l.createElement)(Po.Button,{className:"editor-post-trash",isDestructive:!0,isTertiary:!0,onClick:()=>o.trashPost(t,n)},Object(Xt.__)("Move to trash"))}));var Ni=Object(p.withSelect)(e=>{const{isEditedPostNew:t,getCurrentPostId:n,getCurrentPostType:o}=e("core/editor"),{getPostType:r,canUser:i}=e("core"),s=n(),c=r(o()),a=(null==c?void 0:c.rest_base)||"";return{isNew:t(),postId:s,canUserDelete:!(!s||!a)&&i("delete",a,s)}})((function({isNew:e,postId:t,canUserDelete:n,children:o}){return!e&&t&&n?o:null}));var Di=Object(b.compose)([Object(p.withSelect)(e=>{const{getCurrentPost:t,getCurrentPostType:n}=e("core/editor");return{hasPublishAction:Object(u.get)(t(),["_links","wp:action-publish"],!1),postType:n()}})])((function({hasPublishAction:e,render:t}){return t({canEdit:e})}));var Li=Object(l.createElement)(D.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(l.createElement)(D.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"})),Fi=n("7fqt");function Ui(){const e=Object(p.useSelect)(e=>e("core/editor").getEditedPostAttribute("content")),t=Object(Xt._x)("words","Word count type. Do not translate!");return Object(l.createElement)("span",{className:"word-count"},Object(Fi.count)(e,t))}function Mi(){const e=Object(p.useSelect)(e=>e("core/editor").getEditedPostAttribute("content"));return Object(Fi.count)(e,"characters_including_spaces")}var zi=function({hasOutlineItemsDisabled:e,onRequestClose:t}){const{headingCount:n,paragraphCount:o,numberOfBlocks:r}=Object(p.useSelect)(e=>{const{getGlobalBlockCount:t}=e(i.store);return{headingCount:t("core/heading"),paragraphCount:t("core/paragraph"),numberOfBlocks:t()}},[]);return Object(l.createElement)(l.Fragment,null,Object(l.createElement)("div",{className:"table-of-contents__wrapper",role:"note","aria-label":Object(Xt.__)("Document Statistics"),tabIndex:"0"},Object(l.createElement)("ul",{role:"list",className:"table-of-contents__counts"},Object(l.createElement)("li",{className:"table-of-contents__count"},Object(Xt.__)("Characters"),Object(l.createElement)("span",{className:"table-of-contents__number"},Object(l.createElement)(Mi,null))),Object(l.createElement)("li",{className:"table-of-contents__count"},Object(Xt.__)("Words"),Object(l.createElement)(Ui,null)),Object(l.createElement)("li",{className:"table-of-contents__count"},Object(Xt.__)("Headings"),Object(l.createElement)("span",{className:"table-of-contents__number"},n)),Object(l.createElement)("li",{className:"table-of-contents__count"},Object(Xt.__)("Paragraphs"),Object(l.createElement)("span",{className:"table-of-contents__number"},o)),Object(l.createElement)("li",{className:"table-of-contents__count"},Object(Xt.__)("Blocks"),Object(l.createElement)("span",{className:"table-of-contents__number"},r)))),n>0&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)("hr",null),Object(l.createElement)("h2",{className:"table-of-contents__title"},Object(Xt.__)("Document Outline")),Object(l.createElement)(jo,{onSelect:t,hasOutlineItemsDisabled:e})))};var Vi=Object(l.forwardRef)((function({hasOutlineItemsDisabled:e,repositionDropdown:t,...n},o){const r=Object(p.useSelect)(e=>!!e(i.store).getBlockCount(),[]);return Object(l.createElement)(Po.Dropdown,{position:t?"middle right right":"bottom",className:"table-of-contents",contentClassName:"table-of-contents__popover",renderToggle:({isOpen:e,onToggle:t})=>Object(l.createElement)(Po.Button,Object(a.a)({},n,{ref:o,onClick:r?t:void 0,icon:Li,"aria-expanded":e,"aria-haspopup":"true",label:Object(Xt.__)("Details"),tooltipPosition:"bottom","aria-disabled":!r})),renderContent:({onClose:t})=>Object(l.createElement)(zi,{onRequestClose:t,hasOutlineItemsDisabled:e})})}));function Hi(){const e=Object(p.useSelect)(e=>()=>{const{__experimentalGetDirtyEntityRecords:t}=e("core");return t().length>0},[]),t=t=>{if(e())return t.returnValue=Object(Xt.__)("You have unsaved changes. If you proceed, they will be lost."),t.returnValue};return Object(l.useEffect)(()=>(window.addEventListener("beforeunload",t),()=>{window.removeEventListener("beforeunload",t)}),[]),null}var Wi=n("diJD");var Gi=Object(b.createHigherOrderComponent)(e=>Object(p.withRegistry)(t=>{const{useSubRegistry:n=!0,registry:o,...r}=t;if(!n)return Object(l.createElement)(e,r);const[s,c]=Object(l.useState)(null);return Object(l.useEffect)(()=>{const e=Object(p.createRegistry)({"core/block-editor":i.storeConfig},o);e.registerStore("core/editor",io),c(e)},[o]),s?Object(l.createElement)(p.RegistryProvider,{value:s},Object(l.createElement)(e,r)):null}),"withRegistryProvider"),qi=n("6aBm");function Ki({additionalData:e={},allowedTypes:t,filesList:n,maxUploadFileSize:o,onError:r=u.noop,onFileChange:i}){const{getCurrentPostId:s,getEditorSettings:c}=Object(p.select)("core/editor"),a=c().allowedMimeTypes;o=o||c().maxUploadFileSize,Object(qi.uploadMedia)({allowedTypes:t,filesList:n,onFileChange:i,additionalData:{post:s(),...e},maxUploadFileSize:o,onError:({message:e})=>r(e),wpAllowedMimeTypes:a})}var $i=function(e,t){const{reusableBlocks:n,hasUploadPermissions:o,canUseUnfilteredHTML:r,isTitleSelected:i}=Object(p.useSelect)(e=>{const{canUserUseUnfilteredHTML:t,isPostTitleSelected:n}=e(so),{canUser:o}=e(s.store);return{canUseUnfilteredHTML:t(),reusableBlocks:e(s.store).getEntityRecords("postType","wp_block",{per_page:l.Platform.select({web:-1,native:100})}),hasUploadPermissions:Object(u.defaultTo)(o("create","media"),!0),isTitleSelected:n&&n()}},[]),{undo:c}=Object(p.useDispatch)(so);return Object(l.useMemo)(()=>({...Object(u.pick)(e,["__experimentalBlockDirectory","__experimentalBlockPatternCategories","__experimentalBlockPatterns","__experimentalFeatures","__experimentalGlobalStylesBaseStyles","__experimentalGlobalStylesUserEntityId","__experimentalPreferredStyleVariations","__experimentalSetIsInserterOpened","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?Ki:void 0,__experimentalReusableBlocks:n,__experimentalFetchLinkSuggestions:(t,n)=>Object(s.__experimentalFetchLinkSuggestions)(t,n,e),__experimentalFetchRemoteUrlData:e=>Object(s.__experimentalFetchRemoteUrlData)(e),__experimentalCanUserUseUnfilteredHTML:r,__experimentalUndo:c,__experimentalShouldInsertAtTheTop:i,outlineMode:t}),[e,o,n,r,c,i,t])};var Qi=Gi((function({__unstableTemplate:e,post:t,settings:n,recovery:o,initialEdits:r,children:c}){const a=Object(l.useMemo)(()=>"wp_template"===t.type?{}:{postId:t.id,postType:t.type},[t.id,t.type]),{selection:u,isReady:d}=Object(p.useSelect)(e=>{const{getEditorSelection:t,__unstableIsEditorReady:n}=e(so);return{isReady:n(),selection:t()}},[]),{id:b,type:m}=null!=e?e:t,[h,f,g]=Object(s.useEntityBlockEditor)("postType",m,{id:b}),O=$i(n,!!e),{updatePostLock:j,setupEditor:v,updateEditorSettings:_,__experimentalTearDownEditor:y}=Object(p.useDispatch)(so),{createWarningNotice:S}=Object(p.useDispatch)(Yt.store);return Object(l.useLayoutEffect)(()=>{if(!o)return j(n.postLock),v(t,r,n.template),n.autosave&&S(Object(Xt.__)("There is an autosave of this post that is more recent than the version below."),{id:"autosave-exists",actions:[{label:Object(Xt.__)("View the autosave"),url:n.autosave.editLink}]}),()=>{y()}},[]),Object(l.useEffect)(()=>{_(n)},[n]),d?Object(l.createElement)(s.EntityProvider,{kind:"root",type:"site"},Object(l.createElement)(s.EntityProvider,{kind:"postType",type:t.type,id:t.id},Object(l.createElement)(i.BlockContextProvider,{value:a},Object(l.createElement)(i.BlockEditorProvider,{value:h,onChange:g,onInput:f,selection:u,settings:O,useSubRegistry:!1},c,Object(l.createElement)(Wi.ReusableBlocksMenuItems,null))))):null})),Yi=n("JREk"),Xi=n.n(Yi);function Ji(e,t,n=[]){const o=Object(l.forwardRef)((n,o)=>(T()("wp.editor."+e,{since:"5.3",alternative:"wp.blockEditor."+e}),Object(l.createElement)(t,Object(a.a)({ref:o},n))));return n.forEach(n=>{o[n]=Ji(e+"."+n,t[n])}),o}function Zi(e,t){return(...n)=>(T()("wp.editor."+e,{since:"5.3",alternative:"wp.blockEditor."+e}),t(...n))}const es=Ji("RichText",i.RichText,["Content"]);es.isEmpty=Zi("RichText.isEmpty",i.RichText.isEmpty);const ts=Ji("Autocomplete",i.Autocomplete),ns=Ji("AlignmentToolbar",i.AlignmentToolbar),os=Ji("BlockAlignmentToolbar",i.BlockAlignmentToolbar),rs=Ji("BlockControls",i.BlockControls,["Slot"]),is=Ji("BlockEdit",i.BlockEdit),ss=Ji("BlockEditorKeyboardShortcuts",i.BlockEditorKeyboardShortcuts),cs=Ji("BlockFormatControls",i.BlockFormatControls,["Slot"]),as=Ji("BlockIcon",i.BlockIcon),ls=Ji("BlockInspector",i.BlockInspector),us=Ji("BlockList",i.BlockList),ds=Ji("BlockMover",i.BlockMover),ps=Ji("BlockNavigationDropdown",i.BlockNavigationDropdown),bs=Ji("BlockSelectionClearer",i.BlockSelectionClearer),ms=Ji("BlockSettingsMenu",i.BlockSettingsMenu),hs=Ji("BlockTitle",i.BlockTitle),fs=Ji("BlockToolbar",i.BlockToolbar),gs=Ji("ColorPalette",i.ColorPalette),Os=Ji("ContrastChecker",i.ContrastChecker),js=Ji("CopyHandler",i.CopyHandler),vs=Ji("DefaultBlockAppender",i.DefaultBlockAppender),_s=Ji("FontSizePicker",i.FontSizePicker),ys=Ji("Inserter",i.Inserter),Ss=Ji("InnerBlocks",i.InnerBlocks,["ButtonBlockAppender","DefaultBlockAppender","Content"]),Es=Ji("InspectorAdvancedControls",i.InspectorAdvancedControls,["Slot"]),ws=Ji("InspectorControls",i.InspectorControls,["Slot"]),Ps=Ji("PanelColorSettings",i.PanelColorSettings),ks=Ji("PlainText",i.PlainText),Ts=Ji("RichTextShortcut",i.RichTextShortcut),Cs=Ji("RichTextToolbarButton",i.RichTextToolbarButton),xs=Ji("__unstableRichTextInputEvent",i.__unstableRichTextInputEvent),Bs=Ji("MediaPlaceholder",i.MediaPlaceholder),Is=Ji("MediaUpload",i.MediaUpload),As=Ji("MediaUploadCheck",i.MediaUploadCheck),Rs=Ji("MultiSelectScrollIntoView",i.MultiSelectScrollIntoView),Ns=Ji("NavigableToolbar",i.NavigableToolbar),Ds=Ji("ObserveTyping",i.ObserveTyping),Ls=Ji("PreserveScrollInReorder",i.PreserveScrollInReorder),Fs=Ji("SkipToSelectedBlock",i.SkipToSelectedBlock),Us=Ji("URLInput",i.URLInput),Ms=Ji("URLInputButton",i.URLInputButton),zs=Ji("URLPopover",i.URLPopover),Vs=Ji("Warning",i.Warning),Hs=Ji("WritingFlow",i.WritingFlow),Ws=Zi("createCustomColorsHOC",i.createCustomColorsHOC),Gs=Zi("getColorClassName",i.getColorClassName),qs=Zi("getColorObjectByAttributeValues",i.getColorObjectByAttributeValues),Ks=Zi("getColorObjectByColorValue",i.getColorObjectByColorValue),$s=Zi("getFontSize",i.getFontSize),Qs=Zi("getFontSizeClass",i.getFontSizeClass),Ys=Zi("withColorContext",i.withColorContext),Xs=Zi("withColors",i.withColors),Js=Zi("withFontSizes",i.withFontSizes)},RMJe:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const i=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 5.6L9.9 16.9l-4.6-3.4-.9 1.2 5.8 4.3 9.3-12.6z"}));t.a=i},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 i=e.nodeName,s=document.createElement(i);s.innerHTML=" ","TEXTAREA"===i.toUpperCase()&&s.setAttribute("rows","1");var c=o(e,"font-size");s.style.fontSize=c,s.style.padding="0px",s.style.border="0px";var a=document.body;a.appendChild(s),n=s.offsetHeight,a.removeChild(s)}return n}},RxS6:function(e,t){e.exports=window.wp.keycodes},TSYQ:function(e,t,n){var o; +*/r=[e,t],void 0===(i="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))}}),i=function(e){return new Event(e,{bubbles:!0})};try{new Event("test")}catch(e){i=function(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!1),t}}function s(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!r.has(e)){var t,n=null,o=null,s=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),s!==o){s=o;var r=i("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 s(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=i)},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 i=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=i},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 i=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=i},O6Fj:function(e,t,n){"use strict";t.__esModule=!0;var o=n("CNgt");t.default=o.TextareaAutosize},PLxR:function(e,t,n){"use strict";n.r(t),n.d(t,"storeConfig",(function(){return io})),n.d(t,"store",(function(){return so})),n.d(t,"userAutocompleter",(function(){return O})),n.d(t,"AutosaveMonitor",(function(){return ao})),n.d(t,"DocumentOutline",(function(){return jo})),n.d(t,"DocumentOutlineCheck",(function(){return vo})),n.d(t,"VisualEditorGlobalKeyboardShortcuts",(function(){return So})),n.d(t,"TextEditorGlobalKeyboardShortcuts",(function(){return Eo})),n.d(t,"EditorKeyboardShortcutsRegister",(function(){return wo})),n.d(t,"EditorHistoryRedo",(function(){return xo})),n.d(t,"EditorHistoryUndo",(function(){return Bo})),n.d(t,"EditorNotices",(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 Xo})),n.d(t,"PageAttributesParent",(function(){return ir})),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 Sr})),n.d(t,"PostLastRevision",(function(){return Tr})),n.d(t,"PostLastRevisionCheck",(function(){return kr})),n.d(t,"PostLockedModal",(function(){return Br})),n.d(t,"PostPendingStatus",(function(){return Ar})),n.d(t,"PostPendingStatusCheck",(function(){return Ir})),n.d(t,"PostPingbacks",(function(){return Rr})),n.d(t,"PostPreviewButton",(function(){return xr})),n.d(t,"PostPublishButton",(function(){return Lr})),n.d(t,"PostPublishButtonLabel",(function(){return Nr})),n.d(t,"PostPublishPanel",(function(){return di})),n.d(t,"PostSavedState",(function(){return gi})),n.d(t,"PostSchedule",(function(){return Gr})),n.d(t,"PostScheduleCheck",(function(){return Oi})),n.d(t,"PostScheduleLabel",(function(){return qr})),n.d(t,"PostSlug",(function(){return _i})),n.d(t,"PostSlugCheck",(function(){return ji})),n.d(t,"PostSticky",(function(){return Si})),n.d(t,"PostStickyCheck",(function(){return yi})),n.d(t,"PostSwitchToDraftButton",(function(){return fi})),n.d(t,"PostTaxonomies",(function(){return ki})),n.d(t,"PostTaxonomiesCheck",(function(){return Ti})),n.d(t,"PostTextEditor",(function(){return Bi})),n.d(t,"PostTitle",(function(){return Ai})),n.d(t,"PostTrash",(function(){return Ri})),n.d(t,"PostTrashCheck",(function(){return Ni})),n.d(t,"PostTypeSupportCheck",(function(){return Qo})),n.d(t,"PostVisibility",(function(){return Vr})),n.d(t,"PostVisibilityLabel",(function(){return Hr})),n.d(t,"PostVisibilityCheck",(function(){return Di})),n.d(t,"TableOfContents",(function(){return Vi})),n.d(t,"UnsavedChangesWarning",(function(){return Hi})),n.d(t,"WordCount",(function(){return Ui})),n.d(t,"EditorProvider",(function(){return Qi})),n.d(t,"ServerSideRender",(function(){return Xi.a})),n.d(t,"RichText",(function(){return es})),n.d(t,"Autocomplete",(function(){return ts})),n.d(t,"AlignmentToolbar",(function(){return ns})),n.d(t,"BlockAlignmentToolbar",(function(){return os})),n.d(t,"BlockControls",(function(){return rs})),n.d(t,"BlockEdit",(function(){return is})),n.d(t,"BlockEditorKeyboardShortcuts",(function(){return ss})),n.d(t,"BlockFormatControls",(function(){return cs})),n.d(t,"BlockIcon",(function(){return as})),n.d(t,"BlockInspector",(function(){return ls})),n.d(t,"BlockList",(function(){return us})),n.d(t,"BlockMover",(function(){return ds})),n.d(t,"BlockNavigationDropdown",(function(){return ps})),n.d(t,"BlockSelectionClearer",(function(){return bs})),n.d(t,"BlockSettingsMenu",(function(){return ms})),n.d(t,"BlockTitle",(function(){return hs})),n.d(t,"BlockToolbar",(function(){return fs})),n.d(t,"ColorPalette",(function(){return gs})),n.d(t,"ContrastChecker",(function(){return Os})),n.d(t,"CopyHandler",(function(){return js})),n.d(t,"DefaultBlockAppender",(function(){return vs})),n.d(t,"FontSizePicker",(function(){return _s})),n.d(t,"Inserter",(function(){return ys})),n.d(t,"InnerBlocks",(function(){return Ss})),n.d(t,"InspectorAdvancedControls",(function(){return Es})),n.d(t,"InspectorControls",(function(){return ws})),n.d(t,"PanelColorSettings",(function(){return Ps})),n.d(t,"PlainText",(function(){return ks})),n.d(t,"RichTextShortcut",(function(){return Ts})),n.d(t,"RichTextToolbarButton",(function(){return Cs})),n.d(t,"__unstableRichTextInputEvent",(function(){return xs})),n.d(t,"MediaPlaceholder",(function(){return Bs})),n.d(t,"MediaUpload",(function(){return Is})),n.d(t,"MediaUploadCheck",(function(){return As})),n.d(t,"MultiSelectScrollIntoView",(function(){return Rs})),n.d(t,"NavigableToolbar",(function(){return Ns})),n.d(t,"ObserveTyping",(function(){return Ds})),n.d(t,"PreserveScrollInReorder",(function(){return Ls})),n.d(t,"SkipToSelectedBlock",(function(){return Fs})),n.d(t,"URLInput",(function(){return Us})),n.d(t,"URLInputButton",(function(){return Ms})),n.d(t,"URLPopover",(function(){return zs})),n.d(t,"Warning",(function(){return Vs})),n.d(t,"WritingFlow",(function(){return Hs})),n.d(t,"createCustomColorsHOC",(function(){return Ws})),n.d(t,"getColorClassName",(function(){return Gs})),n.d(t,"getColorObjectByAttributeValues",(function(){return qs})),n.d(t,"getColorObjectByColorValue",(function(){return Ks})),n.d(t,"getFontSize",(function(){return $s})),n.d(t,"getFontSizeClass",(function(){return Qs})),n.d(t,"withColorContext",(function(){return Ys})),n.d(t,"withColors",(function(){return Xs})),n.d(t,"withFontSizes",(function(){return Js})),n.d(t,"mediaUpload",(function(){return Ki})),n.d(t,"cleanForSlug",(function(){return N})),n.d(t,"transformStyles",(function(){return i.transformStyles}));var o={};n.r(o),n.d(o,"hasEditorUndo",(function(){return V})),n.d(o,"hasEditorRedo",(function(){return H})),n.d(o,"isEditedPostNew",(function(){return W})),n.d(o,"hasChangedContent",(function(){return G})),n.d(o,"isEditedPostDirty",(function(){return q})),n.d(o,"hasNonPostEntityChanges",(function(){return K})),n.d(o,"isCleanNewPost",(function(){return $})),n.d(o,"getCurrentPost",(function(){return Q})),n.d(o,"getCurrentPostType",(function(){return Y})),n.d(o,"getCurrentPostId",(function(){return X})),n.d(o,"getCurrentPostRevisionsCount",(function(){return J})),n.d(o,"getCurrentPostLastRevisionId",(function(){return Z})),n.d(o,"getPostEdits",(function(){return ee})),n.d(o,"getReferenceByDistinctEdits",(function(){return te})),n.d(o,"getCurrentPostAttribute",(function(){return ne})),n.d(o,"getEditedPostAttribute",(function(){return oe})),n.d(o,"getAutosaveAttribute",(function(){return re})),n.d(o,"getEditedPostVisibility",(function(){return ie})),n.d(o,"isCurrentPostPending",(function(){return se})),n.d(o,"isCurrentPostPublished",(function(){return ce})),n.d(o,"isCurrentPostScheduled",(function(){return ae})),n.d(o,"isEditedPostPublishable",(function(){return le})),n.d(o,"isEditedPostSaveable",(function(){return ue})),n.d(o,"isEditedPostEmpty",(function(){return de})),n.d(o,"isEditedPostAutosaveable",(function(){return pe})),n.d(o,"getAutosave",(function(){return be})),n.d(o,"hasAutosave",(function(){return me})),n.d(o,"isEditedPostBeingScheduled",(function(){return he})),n.d(o,"isEditedPostDateFloating",(function(){return fe})),n.d(o,"isSavingPost",(function(){return ge})),n.d(o,"didPostSaveRequestSucceed",(function(){return Oe})),n.d(o,"didPostSaveRequestFail",(function(){return je})),n.d(o,"isAutosavingPost",(function(){return ve})),n.d(o,"isPreviewingPost",(function(){return _e})),n.d(o,"getEditedPostPreviewLink",(function(){return ye})),n.d(o,"getSuggestedPostFormat",(function(){return Se})),n.d(o,"getBlocksForSerialization",(function(){return Ee})),n.d(o,"getEditedPostContent",(function(){return we})),n.d(o,"isPublishingPost",(function(){return Pe})),n.d(o,"isPermalinkEditable",(function(){return ke})),n.d(o,"getPermalink",(function(){return Te})),n.d(o,"getEditedPostSlug",(function(){return Ce})),n.d(o,"getPermalinkParts",(function(){return xe})),n.d(o,"isPostLocked",(function(){return Be})),n.d(o,"isPostSavingLocked",(function(){return Ie})),n.d(o,"isPostAutosavingLocked",(function(){return Ae})),n.d(o,"isPostLockTakeover",(function(){return Re})),n.d(o,"getPostLockUser",(function(){return Ne})),n.d(o,"getActivePostLock",(function(){return De})),n.d(o,"canUserUseUnfilteredHTML",(function(){return Le})),n.d(o,"isPublishSidebarEnabled",(function(){return Fe})),n.d(o,"getEditorBlocks",(function(){return Ue})),n.d(o,"getEditorSelectionStart",(function(){return Me})),n.d(o,"getEditorSelectionEnd",(function(){return ze})),n.d(o,"getEditorSelection",(function(){return Ve})),n.d(o,"__unstableIsEditorReady",(function(){return He})),n.d(o,"getEditorSettings",(function(){return We})),n.d(o,"getStateBeforeOptimisticTransaction",(function(){return Ge})),n.d(o,"inSomeHistory",(function(){return qe})),n.d(o,"getBlockName",(function(){return $e})),n.d(o,"isBlockValid",(function(){return Qe})),n.d(o,"getBlockAttributes",(function(){return Ye})),n.d(o,"getBlock",(function(){return Xe})),n.d(o,"getBlocks",(function(){return Je})),n.d(o,"__unstableGetBlockWithoutInnerBlocks",(function(){return Ze})),n.d(o,"getClientIdsOfDescendants",(function(){return et})),n.d(o,"getClientIdsWithDescendants",(function(){return tt})),n.d(o,"getGlobalBlockCount",(function(){return nt})),n.d(o,"getBlocksByClientId",(function(){return ot})),n.d(o,"getBlockCount",(function(){return rt})),n.d(o,"getBlockSelectionStart",(function(){return it})),n.d(o,"getBlockSelectionEnd",(function(){return st})),n.d(o,"getSelectedBlockCount",(function(){return ct})),n.d(o,"hasSelectedBlock",(function(){return at})),n.d(o,"getSelectedBlockClientId",(function(){return lt})),n.d(o,"getSelectedBlock",(function(){return ut})),n.d(o,"getBlockRootClientId",(function(){return dt})),n.d(o,"getBlockHierarchyRootClientId",(function(){return pt})),n.d(o,"getAdjacentBlockClientId",(function(){return bt})),n.d(o,"getPreviousBlockClientId",(function(){return mt})),n.d(o,"getNextBlockClientId",(function(){return ht})),n.d(o,"getSelectedBlocksInitialCaretPosition",(function(){return ft})),n.d(o,"getMultiSelectedBlockClientIds",(function(){return gt})),n.d(o,"getMultiSelectedBlocks",(function(){return Ot})),n.d(o,"getFirstMultiSelectedBlockClientId",(function(){return jt})),n.d(o,"getLastMultiSelectedBlockClientId",(function(){return vt})),n.d(o,"isFirstMultiSelectedBlock",(function(){return _t})),n.d(o,"isBlockMultiSelected",(function(){return yt})),n.d(o,"isAncestorMultiSelected",(function(){return St})),n.d(o,"getMultiSelectedBlocksStartClientId",(function(){return Et})),n.d(o,"getMultiSelectedBlocksEndClientId",(function(){return wt})),n.d(o,"getBlockOrder",(function(){return Pt})),n.d(o,"getBlockIndex",(function(){return kt})),n.d(o,"isBlockSelected",(function(){return Tt})),n.d(o,"hasSelectedInnerBlock",(function(){return Ct})),n.d(o,"isBlockWithinSelection",(function(){return xt})),n.d(o,"hasMultiSelection",(function(){return Bt})),n.d(o,"isMultiSelecting",(function(){return It})),n.d(o,"isSelectionEnabled",(function(){return At})),n.d(o,"getBlockMode",(function(){return Rt})),n.d(o,"isTyping",(function(){return Nt})),n.d(o,"isCaretWithinFormattedText",(function(){return Dt})),n.d(o,"getBlockInsertionPoint",(function(){return Lt})),n.d(o,"isBlockInsertionPointVisible",(function(){return Ft})),n.d(o,"isValidTemplate",(function(){return Ut})),n.d(o,"getTemplate",(function(){return Mt})),n.d(o,"getTemplateLock",(function(){return zt})),n.d(o,"canInsertBlockType",(function(){return Vt})),n.d(o,"getInserterItems",(function(){return Ht})),n.d(o,"hasInserterItems",(function(){return Wt})),n.d(o,"getBlockListSettings",(function(){return Gt})),n.d(o,"__experimentalGetDefaultTemplateTypes",(function(){return qt})),n.d(o,"__experimentalGetDefaultTemplatePartAreas",(function(){return Kt})),n.d(o,"__experimentalGetDefaultTemplateType",(function(){return $t})),n.d(o,"__experimentalGetTemplateInfo",(function(){return Qt}));var r={};n.r(r),n.d(r,"setupEditor",(function(){return Jt})),n.d(r,"__experimentalTearDownEditor",(function(){return Zt})),n.d(r,"resetPost",(function(){return en})),n.d(r,"resetAutosave",(function(){return tn})),n.d(r,"__experimentalRequestPostUpdateStart",(function(){return nn})),n.d(r,"__experimentalRequestPostUpdateFinish",(function(){return on})),n.d(r,"updatePost",(function(){return rn})),n.d(r,"setupEditorState",(function(){return sn})),n.d(r,"editPost",(function(){return cn})),n.d(r,"savePost",(function(){return an})),n.d(r,"refreshPost",(function(){return ln})),n.d(r,"trashPost",(function(){return un})),n.d(r,"autosave",(function(){return dn})),n.d(r,"redo",(function(){return pn})),n.d(r,"undo",(function(){return bn})),n.d(r,"createUndoLevel",(function(){return mn})),n.d(r,"updatePostLock",(function(){return hn})),n.d(r,"enablePublishSidebar",(function(){return fn})),n.d(r,"disablePublishSidebar",(function(){return gn})),n.d(r,"lockPostSaving",(function(){return On})),n.d(r,"unlockPostSaving",(function(){return jn})),n.d(r,"lockPostAutosaving",(function(){return vn})),n.d(r,"unlockPostAutosaving",(function(){return _n})),n.d(r,"resetEditorBlocks",(function(){return yn})),n.d(r,"updateEditorSettings",(function(){return Sn})),n.d(r,"resetBlocks",(function(){return wn})),n.d(r,"receiveBlocks",(function(){return Pn})),n.d(r,"updateBlock",(function(){return kn})),n.d(r,"updateBlockAttributes",(function(){return Tn})),n.d(r,"selectBlock",(function(){return Cn})),n.d(r,"startMultiSelect",(function(){return xn})),n.d(r,"stopMultiSelect",(function(){return Bn})),n.d(r,"multiSelect",(function(){return In})),n.d(r,"clearSelectedBlock",(function(){return An})),n.d(r,"toggleSelection",(function(){return Rn})),n.d(r,"replaceBlocks",(function(){return Nn})),n.d(r,"replaceBlock",(function(){return Dn})),n.d(r,"moveBlocksDown",(function(){return Ln})),n.d(r,"moveBlocksUp",(function(){return Fn})),n.d(r,"moveBlockToPosition",(function(){return Un})),n.d(r,"insertBlock",(function(){return Mn})),n.d(r,"insertBlocks",(function(){return zn})),n.d(r,"showInsertionPoint",(function(){return Vn})),n.d(r,"hideInsertionPoint",(function(){return Hn})),n.d(r,"setTemplateValidity",(function(){return Wn})),n.d(r,"synchronizeTemplate",(function(){return Gn})),n.d(r,"mergeBlocks",(function(){return qn})),n.d(r,"removeBlocks",(function(){return Kn})),n.d(r,"removeBlock",(function(){return $n})),n.d(r,"toggleBlockMode",(function(){return Qn})),n.d(r,"startTyping",(function(){return Yn})),n.d(r,"stopTyping",(function(){return Xn})),n.d(r,"enterFormattedText",(function(){return Jn})),n.d(r,"exitFormattedText",(function(){return Zn})),n.d(r,"insertDefaultBlock",(function(){return eo})),n.d(r,"updateBlockListSettings",(function(){return to}));var i=n("axFQ"),s=n("jZUy"),c=n("qRz9"),a=n("wx14"),l=n("GRId"),u=n("YLtl"),d=n("HSyU"),p=n("1ZqX"),b=n("K9lf"),m=n("g56x");function h(e){const t=Object(u.mapValues)(Object(u.pickBy)(e.attributes,{source:"meta"}),"meta");return Object(u.isEmpty)(t)||(e.edit=(e=>Object(b.createHigherOrderComponent)(t=>({attributes:n,setAttributes:o,...r})=>{const i=Object(p.useSelect)(e=>e("core/editor").getCurrentPostType(),[]),[c,d]=Object(s.useEntityProp)("postType",i,"meta"),b=Object(l.useMemo)(()=>({...n,...Object(u.mapValues)(e,e=>c[e])}),[n,c]);return Object(l.createElement)(t,Object(a.a)({attributes:b,setAttributes:t=>{const n=Object(u.mapKeys)(Object(u.pickBy)(t,(t,n)=>e[n]),(t,n)=>e[n]);Object(u.isEmpty)(n)||d(n),o(t)}},r))},"withMetaAttributeSource"))(t)(e.edit)),e}Object(m.addFilter)("blocks.registerBlockType","core/editor/custom-sources-backwards-compatibility/shim-attribute-source",h),Object(p.select)(d.store).getBlockTypes().map(({name:e})=>Object(p.select)(d.store).getBlockType(e)).forEach(h);var f=n("ywyh"),g=n.n(f),O={name:"users",className:"editor-autocompleters__user",triggerPrefix:"@",options(e){let t="";return e&&(t="?search="+encodeURIComponent(e)),g()({path:"/wp/v2/users"+t})},isDebounced:!0,getOptionKeywords:e=>[e.slug,e.name],getOptionLabel:e=>[e.avatar_urls&&e.avatar_urls[24]?Object(l.createElement)("img",{key:"avatar",className:"editor-autocompleters__user-avatar",alt:"",src:e.avatar_urls[24]}):Object(l.createElement)("span",{className:"editor-autocompleters__no-avatar"}),Object(l.createElement)("span",{key:"name",className:"editor-autocompleters__user-name"},e.name),Object(l.createElement)("span",{key:"slug",className:"editor-autocompleters__user-slug"},e.slug)],getOptionCompletion:e=>"@"+e.slug};Object(m.addFilter)("editor.Autocomplete.completers","editor/autocompleters/set-default-completers",(function(e=[]){return e.push(Object(u.clone)(O)),e}));var j=n("51Zz");const v={insertUsage:{},isPublishSidebarEnabled:!0},_={...i.SETTINGS_DEFAULTS,richEditingEnabled:!0,codeEditingEnabled:!0,enableCustomFields:!1,supportsLayout:!0};function y(e){return e&&"object"==typeof e&&"raw"in e?e.raw:e}var S=Object(p.combineReducers)({postId:function(e=null,t){switch(t.type){case"SETUP_EDITOR_STATE":case"RESET_POST":return t.post.id}return e},postType:function(e=null,t){switch(t.type){case"SETUP_EDITOR_STATE":case"RESET_POST":return t.post.type}return e},preferences:function(e=v,t){switch(t.type){case"ENABLE_PUBLISH_SIDEBAR":return{...e,isPublishSidebarEnabled:!0};case"DISABLE_PUBLISH_SIDEBAR":return{...e,isPublishSidebarEnabled:!1}}return e},saving:function(e={},t){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(e={isLocked:!1},t){switch(t.type){case"UPDATE_POST_LOCK":return t.lock}return e},template:function(e={isValid:!0},t){switch(t.type){case"SET_TEMPLATE_VALIDITY":return{...e,isValid:t.isValid}}return e},postSavingLock:function(e={},t){switch(t.type){case"LOCK_POST_SAVING":return{...e,[t.lockName]:!0};case"UNLOCK_POST_SAVING":return Object(u.omit)(e,t.lockName)}return e},isReady:function(e=!1,t){switch(t.type){case"SETUP_EDITOR_STATE":return!0;case"TEAR_DOWN_EDITOR":return!1}return e},editorSettings:function(e=_,t){switch(t.type){case"UPDATE_EDITOR_SETTINGS":return{...e,...t.settings}}return e},postAutosavingLock:function(e={},t){switch(t.type){case"LOCK_POST_AUTOSAVING":return{...e,[t.lockName]:!0};case"UNLOCK_POST_AUTOSAVING":return Object(u.omit)(e,t.lockName)}return e}}),E=n("pPDe"),w=n("FqII"),P=n("Mmq9"),k=n("NMb1"),T=n.n(k),C=n("Civd");const x=new Set(["meta"]),B="core/editor",I=/%(?:postname|pagename)%/,A=["title","excerpt","content"];function R(e,t){return Object(P.addQueryArgs)(e,t)}function N(e){return e?Object(u.trim)(Object(u.deburr)(e).replace(/[\s\./]+/g,"-").replace(/[^\p{L}\p{N}_-]+/gu,"").toLowerCase(),"-"):""}var D=n("Tqx9");var L=Object(l.createElement)(D.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(l.createElement)(D.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 F=Object(l.createElement)(D.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(l.createElement)(D.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 U=Object(l.createElement)(D.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(l.createElement)(D.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 M={},z=[],V=Object(p.createRegistrySelector)(e=>()=>e("core").hasUndo()),H=Object(p.createRegistrySelector)(e=>()=>e("core").hasRedo());function W(e){return"auto-draft"===Q(e).status}function G(e){const t=ee(e);return"blocks"in t||"content"in t}const q=Object(p.createRegistrySelector)(e=>t=>{const n=Y(t),o=X(t);return!!e("core").hasEditsForEntityRecord("postType",n,o)}),K=Object(p.createRegistrySelector)(e=>t=>{const n=e("core").__experimentalGetDirtyEntityRecords(),{type:o,id:r}=Q(t);return Object(u.some)(n,e=>"postType"!==e.kind||e.name!==o||e.key!==r)});function $(e){return!q(e)&&W(e)}const Q=Object(p.createRegistrySelector)(e=>t=>{const n=X(t),o=Y(t),r=e("core").getRawEntityRecord("postType",o,n);return r||M});function Y(e){return e.postType}function X(e){return e.postId}function J(e){return Object(u.get)(Q(e),["_links","version-history",0,"count"],0)}function Z(e){return Object(u.get)(Q(e),["_links","predecessor-version",0,"id"],null)}const ee=Object(p.createRegistrySelector)(e=>t=>{const n=Y(t),o=X(t);return e("core").getEntityRecordEdits("postType",n,o)||M}),te=Object(p.createRegistrySelector)(e=>()=>(T()("`wp.data.select( 'core/editor' ).getReferenceByDistinctEdits`",{since:"5.4",alternative:"`wp.data.select( 'core' ).getReferenceByDistinctEdits`"}),e("core").getReferenceByDistinctEdits()));function ne(e,t){switch(t){case"type":return Y(e);case"id":return X(e);default:const n=Q(e);if(!n.hasOwnProperty(t))break;return y(n[t])}}function oe(e,t){switch(t){case"content":return we(e)}const n=ee(e);return n.hasOwnProperty(t)?x.has(t)?((e,t)=>{const n=ee(e);return n.hasOwnProperty(t)?{...ne(e,t),...n[t]}:ne(e,t)})(e,t):n[t]:ne(e,t)}const re=Object(p.createRegistrySelector)(e=>(t,n)=>{if(!Object(u.includes)(A,n)&&"preview_link"!==n)return;const o=Y(t),r=X(t),i=Object(u.get)(e("core").getCurrentUser(),["id"]),s=e("core").getAutosave(o,r,i);return s?y(s[n]):void 0});function ie(e){if("private"===oe(e,"status"))return"private";return oe(e,"password")?"password":"public"}function se(e){return"pending"===Q(e).status}function ce(e,t){const n=t||Q(e);return-1!==["publish","private"].indexOf(n.status)||"future"===n.status&&!Object(w.isInTheFuture)(new Date(Number(Object(w.getDate)(n.date))-6e4))}function ae(e){return"future"===Q(e).status&&!ce(e)}function le(e){const t=Q(e);return q(e)||-1===["publish","private","future"].indexOf(t.status)}function ue(e){return!ge(e)&&(!!oe(e,"title")||!!oe(e,"excerpt")||!de(e)||"native"===l.Platform.OS)}function de(e){const t=Ue(e);if(t.length){if(t.length>1)return!1;const e=t[0].name;if(e!==Object(d.getDefaultBlockName)()&&e!==Object(d.getFreeformContentHandlerName)())return!1}return!we(e)}const pe=Object(p.createRegistrySelector)(e=>t=>{if(!ue(t))return!1;if(Ae(t))return!1;const n=Y(t),o=X(t),r=e("core").hasFetchedAutosaves(n,o),i=Object(u.get)(e("core").getCurrentUser(),["id"]),s=e("core").getAutosave(n,o,i);return!!r&&(!s||(!!G(t)||["title","excerpt"].some(e=>y(s[e])!==oe(t,e))))}),be=Object(p.createRegistrySelector)(e=>t=>{T()("`wp.data.select( 'core/editor' ).getAutosave()`",{since:"5.3",alternative:"`wp.data.select( 'core' ).getAutosave( postType, postId, userId )`"});const n=Y(t),o=X(t),r=Object(u.get)(e("core").getCurrentUser(),["id"]),i=e("core").getAutosave(n,o,r);return Object(u.mapValues)(Object(u.pick)(i,A),y)}),me=Object(p.createRegistrySelector)(e=>t=>{T()("`wp.data.select( 'core/editor' ).hasAutosave()`",{since:"5.3",alternative:"`!! wp.data.select( 'core' ).getAutosave( postType, postId, userId )`"});const n=Y(t),o=X(t),r=Object(u.get)(e("core").getCurrentUser(),["id"]);return!!e("core").getAutosave(n,o,r)});function he(e){const t=oe(e,"date"),n=new Date(Number(Object(w.getDate)(t))-6e4);return Object(w.isInTheFuture)(n)}function fe(e){const t=oe(e,"date"),n=oe(e,"modified"),o=Q(e).status;return("draft"===o||"auto-draft"===o||"pending"===o)&&(t===n||null===t)}const ge=Object(p.createRegistrySelector)(e=>t=>{const n=Y(t),o=X(t);return e("core").isSavingEntityRecord("postType",n,o)}),Oe=Object(p.createRegistrySelector)(e=>t=>{const n=Y(t),o=X(t);return!e("core").getLastEntitySaveError("postType",n,o)}),je=Object(p.createRegistrySelector)(e=>t=>{const n=Y(t),o=X(t);return!!e("core").getLastEntitySaveError("postType",n,o)});function ve(e){return!!ge(e)&&!!Object(u.get)(e.saving,["options","isAutosave"])}function _e(e){return!!ge(e)&&!!e.saving.options.isPreview}function ye(e){if(e.saving.pending||ge(e))return;let t=re(e,"preview_link");t||(t=oe(e,"link"),t&&(t=Object(P.addQueryArgs)(t,{preview:!0})));const n=oe(e,"featured_media");return t&&n?Object(P.addQueryArgs)(t,{_thumbnail_id:n}):t}function Se(e){const t=Ue(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}}function Ee(e){T()("`core/editor` getBlocksForSerialization selector",{since:"5.3",alternative:"getEditorBlocks",hint:"Blocks serialization pre-processing occurs at save time"});const t=e.editor.present.blocks.value;return 1===t.length&&Object(d.isUnmodifiedDefaultBlock)(t[0])?[]:t}const we=Object(p.createRegistrySelector)(e=>t=>{const n=X(t),o=Y(t),r=e("core").getEditedEntityRecord("postType",o,n);if(r){if("function"==typeof r.content)return r.content(r);if(r.blocks)return Object(d.__unstableSerializeAndClean)(r.blocks);if(r.content)return r.content}return""});function Pe(e){return ge(e)&&!ce(e)&&"publish"===oe(e,"status")}function ke(e){const t=oe(e,"permalink_template");return I.test(t)}function Te(e){const t=xe(e);if(!t)return null;const{prefix:n,postName:o,suffix:r}=t;return ke(e)?n+o+r:n}function Ce(e){return oe(e,"slug")||N(oe(e,"title"))||X(e)}function xe(e){const t=oe(e,"permalink_template");if(!t)return null;const n=oe(e,"slug")||oe(e,"generated_slug"),[o,r]=t.split(I);return{prefix:o,postName:n,suffix:r}}function Be(e){return e.postLock.isLocked}function Ie(e){return Object.keys(e.postSavingLock).length>0}function Ae(e){return Object.keys(e.postAutosavingLock).length>0}function Re(e){return e.postLock.isTakeover}function Ne(e){return e.postLock.user}function De(e){return e.postLock.activePostLock}function Le(e){return Object(u.has)(Q(e),["_links","wp:action-unfiltered-html"])}function Fe(e){return e.preferences.hasOwnProperty("isPublishSidebarEnabled")?e.preferences.isPublishSidebarEnabled:v.isPublishSidebarEnabled}function Ue(e){return oe(e,"blocks")||z}function Me(e){var t;return T()("select('core/editor').getEditorSelectionStart",{since:"10.0",plugin:"Gutenberg",alternative:"select('core/editor').getEditorSelection"}),null===(t=oe(e,"selection"))||void 0===t?void 0:t.selectionStart}function ze(e){var t;return T()("select('core/editor').getEditorSelectionStart",{since:"10.0",plugin:"Gutenberg",alternative:"select('core/editor').getEditorSelection"}),null===(t=oe(e,"selection"))||void 0===t?void 0:t.selectionEnd}function Ve(e){return oe(e,"selection")}function He(e){return e.isReady}function We(e){return e.editorSettings}function Ge(){return T()("select('core/editor').getStateBeforeOptimisticTransaction",{since:"5.7",hint:"No state history is kept on this store anymore"}),null}function qe(){return T()("select('core/editor').inSomeHistory",{since:"5.7",hint:"No state history is kept on this store anymore"}),!1}function Ke(e){return Object(p.createRegistrySelector)(t=>(n,...o)=>(T()("`wp.data.select( 'core/editor' )."+e+"`",{since:"5.3",alternative:"`wp.data.select( 'core/block-editor' )."+e+"`"}),t("core/block-editor")[e](...o)))}const $e=Ke("getBlockName"),Qe=Ke("isBlockValid"),Ye=Ke("getBlockAttributes"),Xe=Ke("getBlock"),Je=Ke("getBlocks"),Ze=Ke("__unstableGetBlockWithoutInnerBlocks"),et=Ke("getClientIdsOfDescendants"),tt=Ke("getClientIdsWithDescendants"),nt=Ke("getGlobalBlockCount"),ot=Ke("getBlocksByClientId"),rt=Ke("getBlockCount"),it=Ke("getBlockSelectionStart"),st=Ke("getBlockSelectionEnd"),ct=Ke("getSelectedBlockCount"),at=Ke("hasSelectedBlock"),lt=Ke("getSelectedBlockClientId"),ut=Ke("getSelectedBlock"),dt=Ke("getBlockRootClientId"),pt=Ke("getBlockHierarchyRootClientId"),bt=Ke("getAdjacentBlockClientId"),mt=Ke("getPreviousBlockClientId"),ht=Ke("getNextBlockClientId"),ft=Ke("getSelectedBlocksInitialCaretPosition"),gt=Ke("getMultiSelectedBlockClientIds"),Ot=Ke("getMultiSelectedBlocks"),jt=Ke("getFirstMultiSelectedBlockClientId"),vt=Ke("getLastMultiSelectedBlockClientId"),_t=Ke("isFirstMultiSelectedBlock"),yt=Ke("isBlockMultiSelected"),St=Ke("isAncestorMultiSelected"),Et=Ke("getMultiSelectedBlocksStartClientId"),wt=Ke("getMultiSelectedBlocksEndClientId"),Pt=Ke("getBlockOrder"),kt=Ke("getBlockIndex"),Tt=Ke("isBlockSelected"),Ct=Ke("hasSelectedInnerBlock"),xt=Ke("isBlockWithinSelection"),Bt=Ke("hasMultiSelection"),It=Ke("isMultiSelecting"),At=Ke("isSelectionEnabled"),Rt=Ke("getBlockMode"),Nt=Ke("isTyping"),Dt=Ke("isCaretWithinFormattedText"),Lt=Ke("getBlockInsertionPoint"),Ft=Ke("isBlockInsertionPointVisible"),Ut=Ke("isValidTemplate"),Mt=Ke("getTemplate"),zt=Ke("getTemplateLock"),Vt=Ke("canInsertBlockType"),Ht=Ke("getInserterItems"),Wt=Ke("hasInserterItems"),Gt=Ke("getBlockListSettings");function qt(e){var t;return null===(t=We(e))||void 0===t?void 0:t.defaultTemplateTypes}const Kt=Object(E.a)(e=>{var t;const n=(null===(t=We(e))||void 0===t?void 0:t.defaultTemplatePartAreas)||[];return null==n?void 0:n.map(e=>{return{...e,icon:(t=e.icon,"header"===t?L:"footer"===t?F:"sidebar"===t?U:C.a)};var t})},e=>{var t;return[null===(t=We(e))||void 0===t?void 0:t.defaultTemplatePartAreas]}),$t=Object(E.a)((e,t)=>Object(u.find)(qt(e),{slug:t})||{},(e,t)=>[qt(e),t]);function Qt(e,t){var n;if(!t)return{};const{excerpt:o,slug:r,title:i,area:s}=t,{title:c,description:a}=$t(e,r),l=Object(u.isString)(i)?i:null==i?void 0:i.rendered;return{title:l&&l!==r?l:c||r,description:(Object(u.isString)(o)?o:null==o?void 0:o.raw)||a,icon:(null===(n=Kt(e).find(e=>s===e.area))||void 0===n?void 0:n.icon)||C.a}}var Yt=n("onLe"),Xt=n("l3Sj");function*Jt(e,t,n){let o;o=Object(u.has)(t,["content"])?t.content:e.content.raw;let r=Object(d.parse)(o);"auto-draft"===e.status&&n&&(r=Object(d.synchronizeBlocksWithTemplate)(r,n)),yield en(e),yield{type:"SETUP_EDITOR",post:e,edits:t,template:n},yield yn(r,{__unstableShouldCreateUndoLevel:!1}),yield sn(e),t&&Object.keys(t).some(n=>t[n]!==(Object(u.has)(e,[n,"raw"])?e[n].raw:e[n]))&&(yield cn(t))}function Zt(){return{type:"TEAR_DOWN_EDITOR"}}function en(e){return{type:"RESET_POST",post:e}}function*tn(e){T()("resetAutosave action (`core/editor` store)",{since:"5.3",alternative:"receiveAutosaves action (`core` store)"});const t=yield p.controls.select(B,"getCurrentPostId");return yield p.controls.dispatch("core","receiveAutosaves",t,e),{type:"__INERT__"}}function nn(e={}){return{type:"REQUEST_POST_UPDATE_START",options:e}}function on(e={}){return{type:"REQUEST_POST_UPDATE_FINISH",options:e}}function rn(){return T()("wp.data.dispatch( 'core/editor' ).updatePost",{since:"5.7",alternative:"User the core entitires store instead"}),{type:"DO_NOTHING"}}function sn(e){return{type:"SETUP_EDITOR_STATE",post:e}}function*cn(e,t){const{id:n,type:o}=yield p.controls.select(B,"getCurrentPost");yield p.controls.dispatch("core","editEntityRecord","postType",o,n,e,t)}function*an(e={}){if(!(yield p.controls.select(B,"isEditedPostSaveable")))return;let t={content:yield p.controls.select(B,"getEditedPostContent")};e.isAutosave||(yield p.controls.dispatch(B,"editPost",t,{undoIgnore:!0})),yield nn(e);const n=yield p.controls.select(B,"getCurrentPost");t={id:n.id,...yield p.controls.select("core","getEntityRecordNonTransientEdits","postType",n.type,n.id),...t},yield p.controls.dispatch("core","saveEntityRecord","postType",n.type,t,e),yield on(e);const o=yield p.controls.select("core","getLastEntitySaveError","postType",n.type,n.id);if(o){const e=function(e){const{post:t,edits:n,error:o}=e;if(o&&"rest_autosave_no_changes"===o.code)return[];const r=["publish","private","future"],i=-1!==r.indexOf(t.status),s={publish:Object(Xt.__)("Publishing failed."),private:Object(Xt.__)("Publishing failed."),future:Object(Xt.__)("Scheduling failed.")};let c=i||-1===r.indexOf(n.status)?Object(Xt.__)("Updating failed."):s[n.status];return o.message&&!/<\/?[^>]*>/.test(o.message)&&(c=[c,o.message].join(" ")),[c,{id:"SAVE_POST_NOTICE_ID"}]}({post:n,edits:t,error:o});e.length&&(yield p.controls.dispatch(Yt.store,"createErrorNotice",...e))}else{const t=yield p.controls.select(B,"getCurrentPost"),o=function(e){const{previousPost:t,post:n,postType:o}=e;if(Object(u.get)(e.options,["isAutosave"]))return[];const r=["publish","private","future"],i=Object(u.includes)(r,t.status),s=Object(u.includes)(r,n.status);let c,a=Object(u.get)(o,["viewable"],!1);if(i||s?i&&!s?(c=o.labels.item_reverted_to_draft,a=!1):c=!i&&s?{publish:o.labels.item_published,private:o.labels.item_published_privately,future:o.labels.item_scheduled}[n.status]:o.labels.item_updated:c=null,c){const e=[];return a&&e.push({label:o.labels.view_item,url:n.link}),[c,{id:"SAVE_POST_NOTICE_ID",type:"snackbar",actions:e}]}return[]}({previousPost:n,post:t,postType:yield p.controls.resolveSelect("core","getPostType",t.type),options:e});o.length&&(yield p.controls.dispatch(Yt.store,"createSuccessNotice",...o)),e.isAutosave||(yield p.controls.dispatch("core/block-editor","__unstableMarkLastChangeAsPersistent"))}}function*ln(){const e=yield p.controls.select(B,"getCurrentPost"),t=yield p.controls.select(B,"getCurrentPostType"),n=yield p.controls.resolveSelect("core","getPostType",t),o=yield Object(j.apiFetch)({path:`/wp/v2/${n.rest_base}/${e.id}?context=edit&_timestamp=`+Date.now()});yield p.controls.dispatch(B,"resetPost",o)}function*un(){const e=yield p.controls.select(B,"getCurrentPostType"),t=yield p.controls.resolveSelect("core","getPostType",e);yield p.controls.dispatch(Yt.store,"removeNotice","TRASH_POST_NOTICE_ID");try{const e=yield p.controls.select(B,"getCurrentPost");yield Object(j.apiFetch)({path:`/wp/v2/${t.rest_base}/${e.id}`,method:"DELETE"}),yield p.controls.dispatch(B,"savePost")}catch(e){yield p.controls.dispatch(Yt.store,"createErrorNotice",...(n={error:e},[n.error.message&&"unknown_error"!==n.error.code?n.error.message:Object(Xt.__)("Trashing failed"),{id:"TRASH_POST_NOTICE_ID"}]))}var n}function*dn({local:e=!1,...t}={}){if(e){const e=yield p.controls.select(B,"getCurrentPost"),t=yield p.controls.select(B,"isEditedPostNew"),n=yield p.controls.select(B,"getEditedPostAttribute","title"),o=yield p.controls.select(B,"getEditedPostAttribute","content"),r=yield p.controls.select(B,"getEditedPostAttribute","excerpt");yield{type:"LOCAL_AUTOSAVE_SET",postId:e.id,isPostNew:t,title:n,content:o,excerpt:r}}else yield p.controls.dispatch(B,"savePost",{isAutosave:!0,...t})}function*pn(){yield p.controls.dispatch("core","redo")}function*bn(){yield p.controls.dispatch("core","undo")}function mn(){return{type:"CREATE_UNDO_LEVEL"}}function hn(e){return{type:"UPDATE_POST_LOCK",lock:e}}function fn(){return{type:"ENABLE_PUBLISH_SIDEBAR"}}function gn(){return{type:"DISABLE_PUBLISH_SIDEBAR"}}function On(e){return{type:"LOCK_POST_SAVING",lockName:e}}function jn(e){return{type:"UNLOCK_POST_SAVING",lockName:e}}function vn(e){return{type:"LOCK_POST_AUTOSAVING",lockName:e}}function _n(e){return{type:"UNLOCK_POST_AUTOSAVING",lockName:e}}function*yn(e,t={}){const{__unstableShouldCreateUndoLevel:n,selection:o}=t,r={blocks:e,selection:o};if(!1!==n){const{id:e,type:t}=yield p.controls.select(B,"getCurrentPost");if((yield p.controls.select("core","getEditedEntityRecord","postType",t,e)).blocks===r.blocks)return yield p.controls.dispatch("core","__unstableCreateUndoLevel","postType",t,e);r.content=({blocks:e=[]})=>Object(d.__unstableSerializeAndClean)(e)}yield*cn(r)}function Sn(e){return{type:"UPDATE_EDITOR_SETTINGS",settings:e}}const En=e=>function*(...t){T()("`wp.data.dispatch( 'core/editor' )."+e+"`",{since:"5.3",alternative:"`wp.data.dispatch( 'core/block-editor' )."+e+"`"}),yield p.controls.dispatch("core/block-editor",e,...t)},wn=En("resetBlocks"),Pn=En("receiveBlocks"),kn=En("updateBlock"),Tn=En("updateBlockAttributes"),Cn=En("selectBlock"),xn=En("startMultiSelect"),Bn=En("stopMultiSelect"),In=En("multiSelect"),An=En("clearSelectedBlock"),Rn=En("toggleSelection"),Nn=En("replaceBlocks"),Dn=En("replaceBlock"),Ln=En("moveBlocksDown"),Fn=En("moveBlocksUp"),Un=En("moveBlockToPosition"),Mn=En("insertBlock"),zn=En("insertBlocks"),Vn=En("showInsertionPoint"),Hn=En("hideInsertionPoint"),Wn=En("setTemplateValidity"),Gn=En("synchronizeTemplate"),qn=En("mergeBlocks"),Kn=En("removeBlocks"),$n=En("removeBlock"),Qn=En("toggleBlockMode"),Yn=En("startTyping"),Xn=En("stopTyping"),Jn=En("enterFormattedText"),Zn=En("exitFormattedText"),eo=En("insertDefaultBlock"),to=En("updateBlockListSettings");function no(e,t){return"wp-autosave-block-editor-post-"+(t?"auto-draft":e)}function oo(e,t){window.sessionStorage.removeItem(no(e,t))}var ro={LOCAL_AUTOSAVE_SET({postId:e,isPostNew:t,title:n,content:o,excerpt:r}){!function(e,t,n,o,r){window.sessionStorage.setItem(no(e,t),JSON.stringify({post_title:n,content:o,excerpt:r}))}(e,t,n,o,r)}};const io={reducer:S,selectors:o,actions:r,controls:{...j.controls,...ro}},so=Object(p.createReduxStore)(B,{...io,persist:["preferences"]});Object(p.registerStore)(B,{...io,persist:["preferences"]});class co extends l.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.isDirty&&(!this.props.isAutosaving||e.isAutosaving)?this.props.editsReference!==e.editsReference&&(this.needsAutosave=!0):this.needsAutosave=!1}componentWillUnmount(){clearTimeout(this.timerId)}setAutosaveTimer(e=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 ao=Object(b.compose)([Object(p.withSelect)((e,t)=>{const{getReferenceByDistinctEdits:n}=e("core"),{isEditedPostDirty:o,isEditedPostAutosaveable:r,isAutosavingPost:i,getEditorSettings:s}=e("core/editor"),{interval:c=s().autosaveInterval}=t;return{editsReference:n(),isDirty:o(),isAutosaveable:r(),isAutosaving:i(),interval:c}}),Object(p.withDispatch)((e,t)=>({autosave(){const{autosave:n=e("core/editor").autosave}=t;n()}}))])(co),lo=n("TSYQ"),uo=n.n(lo);var po=({children:e,isValid:t,level:n,href:o,onSelect:r})=>Object(l.createElement)("li",{className:uo()("document-outline__item","is-"+n.toLowerCase(),{"is-invalid":!t})},Object(l.createElement)("a",{href:o,className:"document-outline__button",onClick:r},Object(l.createElement)("span",{className:"document-outline__emdash","aria-hidden":"true"}),Object(l.createElement)("strong",{className:"document-outline__level"},n),Object(l.createElement)("span",{className:"document-outline__item-content"},e)));const bo=Object(l.createElement)("em",null,Object(Xt.__)("(Empty heading)")),mo=[Object(l.createElement)("br",{key:"incorrect-break"}),Object(l.createElement)("em",{key:"incorrect-message"},Object(Xt.__)("(Incorrect heading level)"))],ho=[Object(l.createElement)("br",{key:"incorrect-break-h1"}),Object(l.createElement)("em",{key:"incorrect-message-h1"},Object(Xt.__)("(Your theme may already use a H1 for the post title)"))],fo=[Object(l.createElement)("br",{key:"incorrect-break-multiple-h1"}),Object(l.createElement)("em",{key:"incorrect-message-multiple-h1"},Object(Xt.__)("(Multiple H1 headings are not recommended)"))],go=(e=[])=>Object(u.flatMap)(e,(e={})=>"core/heading"===e.name?{...e,level:e.attributes.level,isEmpty:Oo(e)}:go(e.innerBlocks)),Oo=e=>!e.attributes.content||0===e.attributes.content.length;var jo=Object(b.compose)(Object(p.withSelect)(e=>{const{getBlocks:t}=e(i.store),{getEditedPostAttribute:n}=e("core/editor"),{getPostType:o}=e("core"),r=o(n("type"));return{title:n("title"),blocks:t(),isTitleSupported:Object(u.get)(r,["supports","title"],!1)}}))(({blocks:e=[],title:t,onSelect:n,isTitleSupported:o,hasOutlineItemsDisabled:r})=>{const i=go(e);if(i.length<1)return null;let s=1;const a=document.querySelector(".editor-post-title__input"),d=o&&t&&a,p=Object(u.countBy)(i,"level")[1]>1;return Object(l.createElement)("div",{className:"document-outline"},Object(l.createElement)("ul",null,d&&Object(l.createElement)(po,{level:Object(Xt.__)("Title"),isValid:!0,onSelect:n,href:"#"+a.id,isDisabled:r},t),i.map((e,t)=>{const o=e.level>s+1,i=!(e.isEmpty||o||!e.level||1===e.level&&(p||d));return s=e.level,Object(l.createElement)(po,{key:t,level:"H"+e.level,isValid:i,isDisabled:r,href:"#block-"+e.clientId,onSelect:n},e.isEmpty?bo:Object(c.getTextContent)(Object(c.create)({html:e.attributes.content})),o&&mo,1===e.level&&p&&fo,d&&1===e.level&&!p&&ho)})))});var vo=Object(p.withSelect)(e=>({blocks:e(i.store).getBlocks()}))((function({blocks:e,children:t}){return Object(u.filter)(e,e=>"core/heading"===e.name).length<1?null:t})),_o=n("hF7m");var yo=function({resetBlocksOnSave:e}){const{resetEditorBlocks:t,savePost:n}=Object(p.useDispatch)("core/editor"),{isEditedPostDirty:o,getPostEdits:r}=Object(p.useSelect)(e=>{const{isEditedPostDirty:t,getPostEdits:n}=e("core/editor");return{isEditedPostDirty:t,getPostEdits:n}},[]);return Object(_o.useShortcut)("core/editor/save",i=>{if(i.preventDefault(),o()){if(e){const e=r();if(e.content&&"string"==typeof e.content){const n=Object(d.parse)(e.content);t(n)}}n()}},{bindGlobal:!0}),null};var So=function(){const{redo:e,undo:t}=Object(p.useDispatch)("core/editor");return Object(_o.useShortcut)("core/editor/undo",e=>{t(),e.preventDefault()},{bindGlobal:!0}),Object(_o.useShortcut)("core/editor/redo",t=>{e(),t.preventDefault()},{bindGlobal:!0}),Object(l.createElement)(l.Fragment,null,Object(l.createElement)(i.BlockEditorKeyboardShortcuts,null),Object(l.createElement)(yo,null))};function Eo(){return Object(l.createElement)(yo,{resetBlocksOnSave:!0})}var wo=function(){const{registerShortcut:e}=Object(p.useDispatch)(_o.store);return Object(l.useEffect)(()=>{e({name:"core/editor/save",category:"global",description:Object(Xt.__)("Save your changes."),keyCombination:{modifier:"primary",character:"s"}}),e({name:"core/editor/undo",category:"global",description:Object(Xt.__)("Undo your last changes."),keyCombination:{modifier:"primary",character:"z"}}),e({name:"core/editor/redo",category:"global",description:Object(Xt.__)("Redo your last undo."),keyCombination:{modifier:"primaryShift",character:"z"}})},[e]),Object(l.createElement)(i.BlockEditorKeyboardShortcuts.Register,null)},Po=n("tI+e"),ko=n("RxS6"),To=n("K2cm"),Co=n("Ntru");var xo=Object(l.forwardRef)((function(e,t){const n=Object(p.useSelect)(e=>e(so).hasEditorRedo(),[]),{redo:o}=Object(p.useDispatch)(so);return Object(l.createElement)(Po.Button,Object(a.a)({},e,{ref:t,icon:Object(Xt.isRTL)()?Co.a:To.a,label:Object(Xt.__)("Redo"),shortcut:ko.displayShortcut.primaryShift("z"),"aria-disabled":!n,onClick:n?o:void 0,className:"editor-history__redo"}))}));var Bo=Object(l.forwardRef)((function(e,t){const n=Object(p.useSelect)(e=>e(so).hasEditorUndo(),[]),{undo:o}=Object(p.useDispatch)(so);return Object(l.createElement)(Po.Button,Object(a.a)({},e,{ref:t,icon:Object(Xt.isRTL)()?To.a:Co.a,label:Object(Xt.__)("Undo"),shortcut:ko.displayShortcut.primary("z"),"aria-disabled":!n,onClick:n?o:void 0,className:"editor-history__undo"}))}));var Io=Object(b.compose)([Object(p.withSelect)(e=>({isValid:e(i.store).isValidTemplate()})),Object(p.withDispatch)(e=>{const{setTemplateValidity:t,synchronizeTemplate:n}=e(i.store);return{resetTemplateValidity:()=>t(!0),synchronizeTemplate:n}})])((function({isValid:e,...t}){return e?null:Object(l.createElement)(Po.Notice,{className:"editor-template-validation-notice",isDismissible:!1,status:"warning",actions:[{label:Object(Xt.__)("Keep it as is"),onClick:t.resetTemplateValidity},{label:Object(Xt.__)("Reset the template"),onClick:()=>{window.confirm(Object(Xt.__)("Resetting the template may result in loss of content, do you want to continue?"))&&t.synchronizeTemplate()}}]},Object(Xt.__)("The content of your post doesn’t match the template assigned to your post type."))}));var Ao=Object(b.compose)([Object(p.withSelect)(e=>({notices:e(Yt.store).getNotices()})),Object(p.withDispatch)(e=>({onRemove:e(Yt.store).removeNotice}))])((function({notices:e,onRemove:t}){const n=Object(u.filter)(e,{isDismissible:!0,type:"default"}),o=Object(u.filter)(e,{isDismissible:!1,type:"default"}),r=Object(u.filter)(e,{type:"snackbar"});return Object(l.createElement)(l.Fragment,null,Object(l.createElement)(Po.NoticeList,{notices:o,className:"components-editor-notices__pinned"}),Object(l.createElement)(Po.NoticeList,{notices:n,className:"components-editor-notices__dismissible",onRemove:t},Object(l.createElement)(Io,null)),Object(l.createElement)(Po.SnackbarList,{notices:r,className:"components-editor-notices__snackbar",onRemove:t}))})),Ro=n("w95h");var No=Object(l.createElement)(D.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(l.createElement)(D.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"}));function Do({record:e,checked:t,onChange:n,closePanel:o}){const{name:r,kind:s,title:c,key:a}=e,u=Object(p.useSelect)(e=>{var t;const{blocks:n=[]}=e("core").getEditedEntityRecord(s,r,a),o=e(i.store).getBlockParents(null===(t=n[0])||void 0===t?void 0:t.clientId);return o[o.length-1]},[]),d=Object(p.useSelect)(e=>{if("postType"!==s||"wp_template"!==r)return c;const t=e("core").getEditedEntityRecord(s,r,a);return e("core/editor").__experimentalGetTemplateInfo(t).title},[r,s,c,a]),b=Object(p.useSelect)(e=>e(i.store).getSelectedBlockClientId()===u,[u]),m=b?Object(Xt.__)("Selected"):Object(Xt.__)("Select"),{selectBlock:h}=Object(p.useDispatch)(i.store),f=Object(l.useCallback)(()=>h(u),[u]),g=Object(l.useCallback)(()=>{h(u),o()},[u]);return Object(l.createElement)(Po.PanelRow,null,Object(l.createElement)(Po.CheckboxControl,{label:Object(l.createElement)("strong",null,d||Object(Xt.__)("Untitled")),checked:t,onChange:n}),u?Object(l.createElement)(l.Fragment,null,Object(l.createElement)(Po.Button,{onClick:f,className:"entities-saved-states__find-entity",disabled:b},m),Object(l.createElement)(Po.Button,{onClick:g,className:"entities-saved-states__find-entity-small",disabled:b},m)):null)}const Lo={site:C.a,page:No};function Fo({list:e,unselectedEntities:t,setUnselectedEntities:n,closePanel:o}){const r=e[0],i=Object(p.useSelect)(e=>e(s.store).getEntity(r.kind,r.name),[r.kind,r.name]),{name:c}=r,a=Lo[c];return Object(l.createElement)(Po.PanelBody,{title:i.label,initialOpen:!0,icon:a},e.map(e=>Object(l.createElement)(Do,{key:e.key||e.property,record:e,checked:!Object(u.some)(t,t=>t.kind===e.kind&&t.name===e.name&&t.key===e.key&&t.property===e.property),onChange:t=>n(e,t),closePanel:o})))}const Uo={title:Object(Xt.__)("Title"),description:Object(Xt.__)("Tagline"),site_logo:Object(Xt.__)("Logo"),show_on_front:Object(Xt.__)("Show on front"),page_on_front:Object(Xt.__)("Page on front")};function Mo({close:e}){const t=Object(l.useRef)(),{dirtyEntityRecords:n}=Object(p.useSelect)(e=>{const t=e(s.store).__experimentalGetDirtyEntityRecords().filter(e=>!("root"===e.kind&&"site"===e.name)),n=e(s.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]}},[]),{saveEditedEntityRecord:o,__experimentalSaveSpecifiedEntityEdits:r}=Object(p.useDispatch)(s.store),i=Object.values(Object(u.groupBy)(n,"name")),[c,d]=Object(l.useState)([]),m=({kind:e,name:t,key:n,property:o},r)=>{d(r?c.filter(r=>r.kind!==e||r.name!==t||r.key!==n||r.property!==o):[...c,{kind:e,name:t,key:n,property:o}])},h=Object(l.useCallback)(()=>e(),[e]),[f,g]=Object(b.__experimentalUseDialog)({onClose:()=>h()});return Object(l.createElement)("div",Object(a.a)({ref:f},g,{className:"entities-saved-states__panel"}),Object(l.createElement)("div",{className:"entities-saved-states__panel-header"},Object(l.createElement)(Po.Button,{ref:t,isPrimary:!0,disabled:n.length-c.length==0,onClick:()=>{const t=n.filter(({kind:e,name:t,key:n,property:o})=>!Object(u.some)(c,r=>r.kind===e&&r.name===t&&r.key===n&&r.property===o));e(t);const i=[];t.forEach(({kind:e,name:t,key:n,property:r})=>{"root"===e&&"site"===t?i.push(r):o(e,t,n)}),r("root","site",void 0,i)},className:"editor-entities-saved-states__save-button"},Object(Xt.__)("Save")),Object(l.createElement)(Po.Button,{icon:Ro.a,onClick:h,label:Object(Xt.__)("Close panel")})),Object(l.createElement)("div",{className:"entities-saved-states__text-prompt"},Object(l.createElement)("strong",null,Object(Xt.__)("Select the changes you want to save")),Object(l.createElement)("p",null,Object(Xt.__)("Some changes may affect other areas of your site."))),i.map(e=>Object(l.createElement)(Fo,{key:e[0].name,list:e,closePanel:h,unselectedEntities:c,setUnselectedEntities:m})))}function zo({text:e,children:t}){const n=Object(b.useCopyToClipboard)(e);return Object(l.createElement)(Po.Button,{isSecondary:!0,ref:n},t)}class Vo extends l.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(p.select)("core/editor").getEditedPostContent()}catch(e){}}render(){const{error:e}=this.state;return e?Object(l.createElement)(i.Warning,{className:"editor-error-boundary",actions:[Object(l.createElement)(Po.Button,{key:"recovery",onClick:this.reboot,isSecondary:!0},Object(Xt.__)("Attempt Recovery")),Object(l.createElement)(zo,{key:"copy-post",text:this.getContent},Object(Xt.__)("Copy Post Text")),Object(l.createElement)(zo,{key:"copy-error",text:e.stack},Object(Xt.__)("Copy Error"))]},Object(Xt.__)("The editor has encountered an unexpected error.")):this.props.children}}var Ho=Vo;const Wo=window.requestIdleCallback?window.requestIdleCallback:window.requestAnimationFrame,Go=Object(u.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(p.useSelect)(e=>({postId:e("core/editor").getCurrentPostId(),isEditedPostNew:e("core/editor").isEditedPostNew(),getEditedPostAttribute:e("core/editor").getEditedPostAttribute,hasRemoteAutosave:!!e("core/editor").getEditorSettings().autosave}),[]),{getEditedPostAttribute:o}=Object(p.useSelect)("core/editor"),{createWarningNotice:r,removeNotice:i}=Object(p.useDispatch)(Yt.store),{editPost:s,resetEditorBlocks:c}=Object(p.useDispatch)("core/editor");Object(l.useEffect)(()=>{let a=function(e,t){return window.sessionStorage.getItem(no(e,t))}(e,t);if(!a)return;try{a=JSON.parse(a)}catch(e){return}const{post_title:l,content:p,excerpt:b}=a,m={title:l,content:p,excerpt:b};if(!Object.keys(m).some(e=>m[e]!==o(e)))return void oo(e,t);if(n)return;const h=Object(u.uniqueId)("wpEditorAutosaveRestore");r(Object(Xt.__)("The backup of this post in your browser is different from the version below."),{id:h,actions:[{label:Object(Xt.__)("Restore the backup"),onClick(){s(Object(u.omit)(m,["content"])),c(Object(d.parse)(m.content)),i(h)}}]})},[t,e])}var Ko=Object(b.ifCondition)(Go)((function(){const{autosave:e}=Object(p.useDispatch)("core/editor"),t=Object(l.useCallback)(()=>{Wo(()=>e({local:!0}))},[]);qo(),function(){const{postId:e,isEditedPostNew:t,isDirty:n,isAutosaving:o,didError:r}=Object(p.useSelect)(e=>({postId:e("core/editor").getCurrentPostId(),isEditedPostNew:e("core/editor").isEditedPostNew(),isDirty:e("core/editor").isEditedPostDirty(),isAutosaving:e("core/editor").isAutosavingPost(),didError:e("core/editor").didPostSaveRequestFail()}),[]),i=Object(l.useRef)(n),s=Object(l.useRef)(o);Object(l.useEffect)(()=>{!r&&(s.current&&!o||i.current&&!n)&&oo(e,t),i.current=n,s.current=o},[n,o,r]);const c=Object(b.usePrevious)(t),a=Object(b.usePrevious)(e);Object(l.useEffect)(()=>{a===e&&c&&!t&&oo(e,!0)},[t,e])}();const{localAutosaveInterval:n}=Object(p.useSelect)(e=>({localAutosaveInterval:e("core/editor").getEditorSettings().__experimentalLocalAutosaveInterval}),[]);return Object(l.createElement)(ao,{interval:n,autosave:t})}));var $o=function({children:e}){const t=Object(p.useSelect)(e=>{const{getEditedPostAttribute:t}=e(so),{getPostType:n}=e(s.store);return n(t("type"))},[]);return Object(u.get)(t,["supports","page-attributes"],!1)?e:null};var Qo=Object(p.withSelect)(e=>{const{getEditedPostAttribute:t}=e("core/editor"),{getPostType:n}=e("core");return{postType:n(t("type"))}})((function({postType:e,children:t,supportKeys:n}){let o=!0;return e&&(o=Object(u.some)(Object(u.castArray)(n),t=>!!e.supports[t])),o?t:null}));const Yo=Object(b.withState)({orderInput:null})(({onUpdateOrder:e,order:t=0,orderInput:n,setState:o})=>{const r=null===n?t:n;return Object(l.createElement)(Po.TextControl,{className:"editor-page-attributes__order",type:"number",label:Object(Xt.__)("Order"),value:r,onChange:t=>{o({orderInput:t});const n=Number(t);Number.isInteger(n)&&""!==Object(u.invoke)(t,["trim"])&&e(Number(t))},size:6,onBlur:()=>{o({orderInput:null})}})});var Xo=Object(b.compose)([Object(p.withSelect)(e=>({order:e("core/editor").getEditedPostAttribute("menu_order")})),Object(p.withDispatch)(e=>({onUpdateOrder(t){e("core/editor").editPost({menu_order:t})}}))])((function(e){return Object(l.createElement)(Qo,{supportKeys:"page-attributes"},Object(l.createElement)(Yo,e))})),Jo=n("rmEH");function Zo(e){const t=e.map(e=>({children:[],parent:null,...e})),n=Object(u.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 er=e=>Object(u.unescape)(e.replace("'","'")),tr=e=>({...e,name:er(e.name)}),nr=e=>Object(u.map)(e,tr);function or(e){var t;return null!=e&&null!==(t=e.title)&&void 0!==t&&t.rendered?Object(Jo.decodeEntities)(e.title.rendered):`#${e.id} (${Object(Xt.__)("no title")})`}const rr=(e,t)=>{const n=Object(u.deburr)(e).toLowerCase(),o=Object(u.deburr)(t).toLowerCase();return n===o?0:n.startsWith(o)?n.length:1/0};var ir=function(){const{editPost:e}=Object(p.useDispatch)("core/editor"),[t,n]=Object(l.useState)(!1),{parentPost:o,parentPostId:r,items:i,postType:s}=Object(p.useSelect)(e=>{const{getPostType:n,getEntityRecords:o,getEntityRecord:r}=e("core"),{getCurrentPostId:i,getEditedPostAttribute:s}=e("core/editor"),c=s("type"),a=s("parent"),l=n(c),d=i(),p=Object(u.get)(l,["hierarchical"],!1),b={per_page:100,exclude:d,parent_exclude:d,orderby:"menu_order",order:"asc",_fields:"id,title,parent"};return t&&(b.search=t),{parentPostId:a,parentPost:a?r("postType",c,a):null,items:p?o("postType",c,b):[],postType:l}},[t]),c=Object(u.get)(s,["hierarchical"],!1),a=Object(u.get)(s,["labels","parent_item_colon"]),d=i||[],b=Object(l.useMemo)(()=>{const e=(n,o=0)=>{const r=n.map(t=>[{value:t.id,label:Object(u.repeat)("— ",o)+Object(u.unescape)(t.name),rawName:t.name},...e(t.children||[],o+1)]).sort(([e],[n])=>rr(e.rawName,t)>=rr(n.rawName,t)?1:-1);return Object(u.flatten)(r)};let n=d.map(e=>({id:e.id,parent:e.parent,name:or(e)}));t||(n=Zo(n));const i=e(n),s=Object(u.find)(i,e=>e.value===r);return o&&!s&&i.unshift({value:r,label:or(o)}),i},[d,t]);return c&&a?Object(l.createElement)(Po.ComboboxControl,{className:"editor-page-attributes__parent",label:a,value:r,options:b,onFilterValueChange:Object(u.debounce)(e=>{n(e)},300),onChange:t=>{e({parent:t})}}):null};var sr=function({}){const{availableTemplates:e,selectedTemplate:t,isViewable:n}=Object(p.useSelect)(e=>{var t,n;const{getEditedPostAttribute:o,getEditorSettings:r,getCurrentPostType:i}=e(so),{getPostType:c}=e(s.store);return{selectedTemplate:o("template"),availableTemplates:r().availableTemplates,isViewable:null!==(t=null===(n=c(i()))||void 0===n?void 0:n.viewable)&&void 0!==t&&t}},[]),{editPost:o}=Object(p.useDispatch)(so);return!n||Object(u.isEmpty)(e)?null:Object(l.createElement)(Po.SelectControl,{label:Object(Xt.__)("Template:"),value:t,onChange:e=>{o({template:e||""})},options:Object(u.map)(e,(e,t)=>({value:t,label:e}))})};var cr=function(){const[e,t]=Object(l.useState)(),{authorId:n,isLoading:o,authors:r,postAuthor:i}=Object(p.useSelect)(t=>{const{__unstableGetAuthor:n,getAuthors:o,isResolving:r}=t("core"),{getEditedPostAttribute:i}=t("core/editor"),s=n(i("author")),c=e&&""!==e?{search:e}:{};return{authorId:i("author"),postAuthor:s,authors:o(c),isLoading:r("core","getAuthors",[c])}},[e]),{editPost:s}=Object(p.useDispatch)("core/editor"),c=Object(l.useMemo)(()=>{const e=(null!=r?r:[]).map(e=>({value:e.id,label:e.name}));return e.findIndex(({value:e})=>(null==i?void 0:i.id)===e)<0&&i?[{value:i.id,label:i.name},...e]:e},[r,i]);return Object(l.useEffect)(()=>{i&&t(i.name)},[i]),i?Object(l.createElement)(Po.ComboboxControl,{label:Object(Xt.__)("Author"),options:c,value:n,onFilterValueChange:Object(u.debounce)(e=>{t(e)},300),onChange:e=>{e&&s({author:e})},isLoading:o,allowReset:!1}):null};var ar=function(){const{editPost:e}=Object(p.useDispatch)("core/editor"),{postAuthor:t,authors:n}=Object(p.useSelect)(e=>{const t=e("core").getAuthors();return{postAuthor:e("core/editor").getEditedPostAttribute("author"),authors:t.map(e=>({label:Object(Jo.decodeEntities)(e.name),value:e.id}))}},[]);return Object(l.createElement)(Po.SelectControl,{className:"post-author-selector",label:Object(Xt.__)("Author"),options:n,onChange:t=>{const n=Number(t);e({author:n})},value:t})};var lr=function(){return Object(p.useSelect)(e=>{const t=e(s.store).getAuthors();return(null==t?void 0:t.length)>=25},[])?Object(l.createElement)(cr,null):Object(l.createElement)(ar,null)};var ur=Object(b.compose)([Object(p.withSelect)(e=>{const t=e("core/editor").getCurrentPost();return{hasAssignAuthorAction:Object(u.get)(t,["_links","wp:action-assign-author"],!1),postType:e("core/editor").getCurrentPostType(),authors:e("core").getAuthors()}}),b.withInstanceId])((function({hasAssignAuthorAction:e,authors:t,children:n}){return!e||!t||1>=t.length?null:Object(l.createElement)(Qo,{supportKeys:"author"},n)}));var dr=Object(b.compose)([Object(p.withSelect)(e=>({commentStatus:e("core/editor").getEditedPostAttribute("comment_status")})),Object(p.withDispatch)(e=>({editPost:e("core/editor").editPost}))])((function({commentStatus:e="open",...t}){return Object(l.createElement)(Po.CheckboxControl,{label:Object(Xt.__)("Allow comments"),checked:"open"===e,onChange:()=>t.editPost({comment_status:"open"===e?"closed":"open"})})}));var pr=Object(b.compose)([Object(p.withSelect)(e=>({excerpt:e("core/editor").getEditedPostAttribute("excerpt")})),Object(p.withDispatch)(e=>({onUpdateExcerpt(t){e("core/editor").editPost({excerpt:t})}}))])((function({excerpt:e,onUpdateExcerpt:t}){return Object(l.createElement)("div",{className:"editor-post-excerpt"},Object(l.createElement)(Po.TextareaControl,{label:Object(Xt.__)("Write an excerpt (optional)"),className:"editor-post-excerpt__textarea",onChange:e=>t(e),value:e}),Object(l.createElement)(Po.ExternalLink,{href:Object(Xt.__)("https://wordpress.org/support/article/excerpt/")},Object(Xt.__)("Learn more about manual excerpts")))}));var br=function(e){return Object(l.createElement)(Qo,Object(a.a)({},e,{supportKeys:"excerpt"}))};var mr=Object(p.withSelect)(e=>{const{getThemeSupports:t}=e("core"),{getEditedPostAttribute:n}=e("core/editor");return{postType:n("type"),themeSupports:t()}})((function({themeSupports:e,children:t,postType:n,supportKeys:o}){return Object(u.some)(Object(u.castArray)(o),t=>{const o=Object(u.get)(e,[t],!1);return"post-thumbnails"===t&&Object(u.isArray)(o)?Object(u.includes)(o,n):o})?t:null}));var hr=function(e){return Object(l.createElement)(mr,{supportKeys:"post-thumbnails"},Object(l.createElement)(Qo,Object(a.a)({},e,{supportKeys:"thumbnail"})))};const fr=["image"],gr=Object(Xt.__)("Featured image"),Or=Object(Xt.__)("Set featured image"),jr=Object(Xt.__)("Remove image");const vr=Object(p.withSelect)(e=>{const{getMedia:t,getPostType:n}=e("core"),{getCurrentPostId:o,getEditedPostAttribute:r}=e("core/editor"),i=r("featured_media");return{media:i?t(i):null,currentPostId:o(),postType:n(r("type")),featuredImageId:i}}),_r=Object(p.withDispatch)((e,{noticeOperations:t},{select:n})=>{const{editPost:o}=e("core/editor");return{onUpdateImage(e){o({featured_media:e.id})},onDropImage(e){n(i.store).getSettings().mediaUpload({allowedTypes:["image"],filesList:e,onFileChange([e]){o({featured_media:e.id})},onError(e){t.removeAllNotices(),t.createErrorNotice(e)}})},onRemoveImage(){o({featured_media:0})}}});var yr=Object(b.compose)(Po.withNotices,vr,_r,Object(Po.withFilters)("editor.PostFeaturedImage"))((function({currentPostId:e,featuredImageId:t,onUpdateImage:n,onDropImage:o,onRemoveImage:r,media:s,postType:c,noticeUI:a}){var d,p;const b=Object(u.get)(c,["labels"],{}),h=Object(l.createElement)("p",null,Object(Xt.__)("To edit the featured image, you need permission to upload media."));let f,g,O;if(s){const t=Object(m.applyFilters)("editor.PostFeaturedImage.imageSize","post-thumbnail",s.id,e);if(Object(u.has)(s,["media_details","sizes",t]))f=s.media_details.sizes[t].width,g=s.media_details.sizes[t].height,O=s.media_details.sizes[t].source_url;else{const t=Object(m.applyFilters)("editor.PostFeaturedImage.imageSize","thumbnail",s.id,e);Object(u.has)(s,["media_details","sizes",t])?(f=s.media_details.sizes[t].width,g=s.media_details.sizes[t].height,O=s.media_details.sizes[t].source_url):(f=s.media_details.width,g=s.media_details.height,O=s.source_url)}}return Object(l.createElement)(hr,null,a,Object(l.createElement)("div",{className:"editor-post-featured-image"},s&&Object(l.createElement)("div",{id:`editor-post-featured-image-${t}-describedby`,className:"hidden"},s.alt_text&&Object(Xt.sprintf)(Object(Xt.__)("Current image: %s"),s.alt_text),!s.alt_text&&Object(Xt.sprintf)(Object(Xt.__)("The current image has no alternative text. The file name is: %s"),(null===(d=s.media_details.sizes)||void 0===d||null===(p=d.full)||void 0===p?void 0:p.file)||s.slug)),Object(l.createElement)(i.MediaUploadCheck,{fallback:h},Object(l.createElement)(i.MediaUpload,{title:b.featured_image||gr,onSelect:n,unstableFeaturedImageFlow:!0,allowedTypes:fr,modalClass:"editor-post-featured-image__media-modal",render:({open:e})=>Object(l.createElement)("div",{className:"editor-post-featured-image__container"},Object(l.createElement)(Po.Button,{className:t?"editor-post-featured-image__preview":"editor-post-featured-image__toggle",onClick:e,"aria-label":t?Object(Xt.__)("Edit or update the image"):null,"aria-describedby":t?`editor-post-featured-image-${t}-describedby`:null},!!t&&s&&Object(l.createElement)(Po.ResponsiveWrapper,{naturalWidth:f,naturalHeight:g,isInline:!0},Object(l.createElement)("img",{src:O,alt:""})),!!t&&!s&&Object(l.createElement)(Po.Spinner,null),!t&&(b.set_featured_image||Or)),Object(l.createElement)(Po.DropZone,{onFilesDrop:o})),value:t})),!!t&&s&&!s.isLoading&&Object(l.createElement)(i.MediaUploadCheck,null,Object(l.createElement)(i.MediaUpload,{title:b.featured_image||gr,onSelect:n,unstableFeaturedImageFlow:!0,allowedTypes:fr,modalClass:"editor-post-featured-image__media-modal",render:({open:e})=>Object(l.createElement)(Po.Button,{onClick:e,isSecondary:!0},Object(Xt.__)("Replace Image"))})),!!t&&Object(l.createElement)(i.MediaUploadCheck,null,Object(l.createElement)(Po.Button,{onClick:r,isLink:!0,isDestructive:!0},b.remove_featured_image||jr))))}));var Sr=Object(p.withSelect)(e=>({disablePostFormats:e("core/editor").getEditorSettings().disablePostFormats}))((function({disablePostFormats:e,...t}){return!e&&Object(l.createElement)(Qo,Object(a.a)({},t,{supportKeys:"post-formats"}))}));const Er=[{id:"aside",caption:Object(Xt.__)("Aside")},{id:"audio",caption:Object(Xt.__)("Audio")},{id:"chat",caption:Object(Xt.__)("Chat")},{id:"gallery",caption:Object(Xt.__)("Gallery")},{id:"image",caption:Object(Xt.__)("Image")},{id:"link",caption:Object(Xt.__)("Link")},{id:"quote",caption:Object(Xt.__)("Quote")},{id:"standard",caption:Object(Xt.__)("Standard")},{id:"status",caption:Object(Xt.__)("Status")},{id:"video",caption:Object(Xt.__)("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(b.useInstanceId)(wr),{postFormat:t,suggestedFormat:n,supportedFormats:o}=Object(p.useSelect)(e=>{const{getEditedPostAttribute:t,getSuggestedPostFormat:n}=e("core/editor"),o=t("format"),r=e("core").getThemeSupports();return{postFormat:null!=o?o:"standard",suggestedFormat:n(),supportedFormats:Object(u.union)([o],Object(u.get)(r,["formats"],[]))}},[]),r=Er.filter(e=>Object(u.includes)(o,e.id)),i=Object(u.find)(r,e=>e.id===n),{editPost:s}=Object(p.useDispatch)("core/editor"),c=e=>s({format:e});return Object(l.createElement)(Sr,null,Object(l.createElement)("div",{className:"editor-post-format"},Object(l.createElement)("div",{className:"editor-post-format__content"},Object(l.createElement)("label",{htmlFor:e},Object(Xt.__)("Post Format")),Object(l.createElement)(Po.SelectControl,{value:t,onChange:e=>c(e),id:e,options:r.map(e=>({label:e.caption,value:e.id}))})),i&&i.id!==t&&Object(l.createElement)("div",{className:"editor-post-format__suggestion"},Object(Xt.__)("Suggestion:")," ",Object(l.createElement)(Po.Button,{isLink:!0,onClick:()=>c(i.id)},i.caption))))}var Pr=Object(l.createElement)(D.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(l.createElement)(D.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 kr=Object(p.withSelect)(e=>{const{getCurrentPostLastRevisionId:t,getCurrentPostRevisionsCount:n}=e("core/editor");return{lastRevisionId:t(),revisionsCount:n()}})((function({lastRevisionId:e,revisionsCount:t,children:n}){return!e||t<2?null:Object(l.createElement)(Qo,{supportKeys:"revisions"},n)}));var Tr=Object(p.withSelect)(e=>{const{getCurrentPostLastRevisionId:t,getCurrentPostRevisionsCount:n}=e("core/editor");return{lastRevisionId:t(),revisionsCount:n()}})((function({lastRevisionId:e,revisionsCount:t}){return Object(l.createElement)(kr,null,Object(l.createElement)(Po.Button,{href:R("revision.php",{revision:e,gutenberg:!0}),className:"editor-post-last-revision__title",icon:Pr},Object(Xt.sprintf)(Object(Xt._n)("%d Revision","%d Revisions",t),t)))}));class Cr extends l.Component{constructor(){super(...arguments),this.buttonRef=Object(l.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(l.renderToString)(Object(l.createElement)("div",{className:"editor-post-preview-button__interstitial-message"},Object(l.createElement)(Po.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 96 96"},Object(l.createElement)(Po.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(l.createElement)(Po.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(l.createElement)("p",null,Object(Xt.__)("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(m.applyFilters)("editor.PostPreview.interstitialMarkup",t),e.write(t),e.title=Object(Xt.__)("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=uo()({"editor-post-preview":!this.props.className},this.props.className);return Object(l.createElement)(Po.Button,{isTertiary:!this.props.className,className:i,href:r,target:this.getWindowTarget(),disabled:!n,onClick:this.openPreviewWindow,ref:this.buttonRef,role:o},this.props.textContent?this.props.textContent:Object(l.createElement)(l.Fragment,null,Object(Xt._x)("Preview","imperative verb"),Object(l.createElement)(Po.VisuallyHidden,{as:"span"},Object(Xt.__)("(opens in a new tab)"))))}}var xr=Object(b.compose)([Object(p.withSelect)((e,{forcePreviewLink:t,forceIsAutosaveable:n})=>{const{getCurrentPostId:o,getCurrentPostAttribute:r,getEditedPostAttribute:i,isEditedPostSaveable:s,isEditedPostAutosaveable:c,getEditedPostPreviewLink:a,isPostLocked:l}=e("core/editor"),{getPostType:d}=e("core"),p=a(),b=d(i("type"));return{postId:o(),currentPostLink:r("link"),previewLink:void 0!==t?t:p,isSaveable:s(),isAutosaveable:n||c(),isViewable:Object(u.get)(b,["viewable"],!1),isDraft:-1!==["draft","auto-draft"].indexOf(i("status")),isPostLocked:l()}}),Object(p.withDispatch)(e=>({autosave:e("core/editor").autosave,savePost:e("core/editor").savePost})),Object(b.ifCondition)(({isViewable:e})=>e)])(Cr);function Br(){const e="core/editor/post-locked-modal-"+Object(b.useInstanceId)(Br),{autosave:t,updatePostLock:n}=Object(p.useDispatch)("core/editor"),{isLocked:o,isTakeover:r,user:i,postId:s,postLockUtils:c,activePostLock:a,postType:d}=Object(p.useSelect)(e=>{const{isPostLocked:t,isPostLockTakeover:n,getPostLockUser:o,getCurrentPostId:r,getActivePostLock:i,getEditedPostAttribute:s,getEditorSettings:c}=e("core/editor"),{getPostType:a}=e("core");return{isLocked:t(),isTakeover:n(),user:o(),postId:r(),postLockUtils:c().postLockUtils,activePostLock:i(),postType:a(s("type"))}});if(Object(l.useEffect)(()=>{function r(){if(o||!a)return;const e=new window.FormData;if(e.append("action","wp-remove-post-lock"),e.append("_wpnonce",c.unlockNonce),e.append("post_ID",s),e.append("active_post_lock",a),window.navigator.sendBeacon)window.navigator.sendBeacon(c.ajaxUrl,e);else{const t=new window.XMLHttpRequest;t.open("POST",c.ajaxUrl,!1),t.send(e)}}return Object(m.addAction)("heartbeat.send",e,(function(e){o||(e["wp-refresh-post-lock"]={lock:a,post_id:s})})),Object(m.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(m.removeAction)("heartbeat.send",e),Object(m.removeAction)("heartbeat.tick",e),window.removeEventListener("beforeunload",r)}},[]),!o)return null;const h=i.name,f=i.avatar,g=Object(P.addQueryArgs)("post.php",{"get-post-lock":"1",lockKey:!0,post:s,action:"edit",_wpnonce:c.nonce}),O=R("edit.php",{post_type:Object(u.get)(d,["slug"])}),j=Object(Xt.__)("Exit the Editor");return Object(l.createElement)(Po.Modal,{title:r?Object(Xt.__)("Someone else has taken over this post."):Object(Xt.__)("This post is already being edited."),focusOnMount:!0,shouldCloseOnClickOutside:!1,shouldCloseOnEsc:!1,isDismissible:!1,className:"editor-post-locked-modal"},!!f&&Object(l.createElement)("img",{src:f,alt:Object(Xt.__)("Avatar"),className:"editor-post-locked-modal__avatar"}),!!r&&Object(l.createElement)("div",null,Object(l.createElement)("div",null,h?Object(Xt.sprintf)(Object(Xt.__)("%s now has editing control of this post. Don’t worry, your changes up to this moment have been saved."),h):Object(Xt.__)("Another user now has editing control of this post. Don’t worry, your changes up to this moment have been saved.")),Object(l.createElement)("div",{className:"editor-post-locked-modal__buttons"},Object(l.createElement)(Po.Button,{isPrimary:!0,href:O},j))),!r&&Object(l.createElement)("div",null,Object(l.createElement)("div",null,h?Object(Xt.sprintf)(Object(Xt.__)("%s is currently working on this post, which means you cannot make changes, unless you take over."),h):Object(Xt.__)("Another user is currently working on this post, which means you cannot make changes, unless you take over.")),Object(l.createElement)("div",{className:"editor-post-locked-modal__buttons"},Object(l.createElement)(Po.Button,{isSecondary:!0,href:O},j),Object(l.createElement)(xr,null),Object(l.createElement)(Po.Button,{isPrimary:!0,href:g},Object(Xt.__)("Take Over")))))}var Ir=Object(b.compose)(Object(p.withSelect)(e=>{const{isCurrentPostPublished:t,getCurrentPostType:n,getCurrentPost:o}=e("core/editor");return{hasPublishAction:Object(u.get)(o(),["_links","wp:action-publish"],!1),isPublished:t(),postType:n()}}))((function({hasPublishAction:e,isPublished:t,children:n}){return t||!e?null:n}));var Ar=Object(b.compose)(Object(p.withSelect)(e=>({status:e("core/editor").getEditedPostAttribute("status")})),Object(p.withDispatch)(e=>({onUpdateStatus(t){e("core/editor").editPost({status:t})}})))((function({status:e,onUpdateStatus:t}){return Object(l.createElement)(Ir,null,Object(l.createElement)(Po.CheckboxControl,{label:Object(Xt.__)("Pending review"),checked:"pending"===e,onChange:()=>{t("pending"===e?"draft":"pending")}}))}));var Rr=Object(b.compose)([Object(p.withSelect)(e=>({pingStatus:e("core/editor").getEditedPostAttribute("ping_status")})),Object(p.withDispatch)(e=>({editPost:e("core/editor").editPost}))])((function({pingStatus:e="open",...t}){return Object(l.createElement)(Po.CheckboxControl,{label:Object(Xt.__)("Allow pingbacks & trackbacks"),checked:"open"===e,onChange:()=>t.editPost({ping_status:"open"===e?"closed":"open"})})}));var Nr=Object(b.compose)([Object(p.withSelect)((e,{forceIsSaving:t})=>{const{isCurrentPostPublished:n,isEditedPostBeingScheduled:o,isSavingPost:r,isPublishingPost:i,getCurrentPost:s,getCurrentPostType:c,isAutosavingPost:a}=e("core/editor");return{isPublished:n(),isBeingScheduled:o(),isSaving:t||r(),isPublishing:i(),hasPublishAction:Object(u.get)(s(),["_links","wp:action-publish"],!1),postType:c(),isAutosaving:a()}})])((function({isPublished:e,isBeingScheduled:t,isSaving:n,isPublishing:o,hasPublishAction:r,isAutosaving:i,hasNonPostEntityChanges:s}){return o?Object(Xt.__)("Publishing…"):e&&n&&!i?Object(Xt.__)("Updating…"):t&&n&&!i?Object(Xt.__)("Scheduling…"):r?e?s?Object(Xt.__)("Update…"):Object(Xt.__)("Update"):t?s?Object(Xt.__)("Schedule…"):Object(Xt.__)("Schedule"):Object(Xt.__)("Publish"):s?Object(Xt.__)("Submit for Review…"):Object(Xt.__)("Submit for Review")}));class Dr extends l.Component{constructor(e){super(e),this.buttonNode=Object(l.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){return(...t)=>{const{hasNonPostEntityChanges:n}=this.props;return n?(this.setState({entitiesSavedStatesCallback:()=>e(...t)}),this.props.setEntitiesSavedStatesCallback(()=>this.closeEntitiesSavedStates),u.noop):e(...t)}}closeEntitiesSavedStates(e){const{postType:t,postId:n}=this.props,{entitiesSavedStatesCallback:o}=this.state;this.setState({entitiesSavedStatesCallback:!1},()=>{e&&Object(u.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:i,isPublishable:s,isPublished:c,isSaveable:d,isSaving:p,isAutoSaving:b,isToggle:m,onSave:h,onStatusChange:f,onSubmit:g=u.noop,onToggle:O,visibility:j,hasNonPostEntityChanges:v}=this.props,_=p||t||!d||i||!s&&!e,y=c||p||t||!d||!s&&!e;let S;S=n?"private"===j?"private":o?"future":"publish":"pending";const E={"aria-disabled":_&&!v,className:"editor-post-publish-button",isBusy:!b&&p&&c,isPrimary:!0,onClick:this.createOnClick(()=>{_||(g(),f(S),h())})},w={"aria-disabled":y&&!v,"aria-expanded":r,className:"editor-post-publish-panel__toggle",isBusy:p&&c,isPrimary:!0,onClick:this.createOnClick(()=>{y||O()})},P=o?Object(Xt.__)("Schedule…"):Object(Xt.__)("Publish"),k=Object(l.createElement)(Nr,{forceIsSaving:t,hasNonPostEntityChanges:v}),T=m?w:E,C=m?P:k;return Object(l.createElement)(l.Fragment,null,Object(l.createElement)(Po.Button,Object(a.a)({ref:this.buttonNode},T,{className:uo()(T.className,"editor-post-publish-button__button",{"has-changes-dot":v})}),C))}}var Lr=Object(b.compose)([Object(p.withSelect)(e=>{const{isSavingPost:t,isAutosavingPost:n,isEditedPostBeingScheduled:o,getEditedPostVisibility:r,isCurrentPostPublished:i,isEditedPostSaveable:s,isEditedPostPublishable:c,isPostSavingLocked:a,getCurrentPost:l,getCurrentPostType:d,getCurrentPostId:p,hasNonPostEntityChanges:b}=e("core/editor"),m=n();return{isSaving:t()||m,isAutoSaving:m,isBeingScheduled:o(),visibility:r(),isSaveable:s(),isPostSavingLocked:a(),isPublishable:c(),isPublished:i(),hasPublishAction:Object(u.get)(l(),["_links","wp:action-publish"],!1),postType:d(),postId:p(),hasNonPostEntityChanges:b()}}),Object(p.withDispatch)(e=>{const{editPost:t,savePost:n}=e("core/editor");return{onStatusChange:e=>t({status:e},{undoIgnore:!0}),onSave:n}})])(Dr),Fr=n("bWcr"),Ur=n("wduq");const Mr=[{value:"public",label:Object(Xt.__)("Public"),info:Object(Xt.__)("Visible to everyone.")},{value:"private",label:Object(Xt.__)("Private"),info:Object(Xt.__)("Only visible to site admins and editors.")},{value:"password",label:Object(Xt.__)("Password Protected"),info:Object(Xt.__)("Protected with a password you choose. Only those with the password can view this post.")}];class zr extends l.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(Xt.__)("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(l.createElement)("fieldset",{key:"visibility-selector",className:"editor-post-visibility__dialog-fieldset"},Object(l.createElement)("legend",{className:"editor-post-visibility__dialog-legend"},Object(Xt.__)("Post Visibility")),Mr.map(({value:e,label:t,info:r})=>Object(l.createElement)("div",{key:e,className:"editor-post-visibility__choice"},Object(l.createElement)("input",{type:"radio",name:"editor-post-visibility__setting-"+n,value:e,onChange:o[e].onSelect,checked:o[e].checked,id:`editor-post-${e}-${n}`,"aria-describedby":`editor-post-${e}-${n}-description`,className:"editor-post-visibility__dialog-radio"}),Object(l.createElement)("label",{htmlFor:`editor-post-${e}-${n}`,className:"editor-post-visibility__dialog-label"},t),Object(l.createElement)("p",{id:`editor-post-${e}-${n}-description`,className:"editor-post-visibility__dialog-info"},r)))),this.state.hasPassword&&Object(l.createElement)("div",{className:"editor-post-visibility__dialog-password",key:"password-selector"},Object(l.createElement)(Po.VisuallyHidden,{as:"label",htmlFor:"editor-post-visibility__dialog-password-input-"+n},Object(Xt.__)("Create password")),Object(l.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(Xt.__)("Use a secure password")}))]}}var Vr=Object(b.compose)([Object(p.withSelect)(e=>{const{getEditedPostAttribute:t,getEditedPostVisibility:n}=e("core/editor");return{status:t("status"),visibility:n(),password:t("password")}}),Object(p.withDispatch)(e=>{const{savePost:t,editPost:n}=e("core/editor");return{onSave:t,onUpdateVisibility(e,t=""){n({status:e,password:t})}}}),b.withInstanceId])(zr);var Hr=Object(p.withSelect)(e=>({visibility:e("core/editor").getEditedPostVisibility()}))((function({visibility:e}){return Object(u.find)(Mr,{value:e}).label}));function Wr(e=new Date,t=!0){const n=new Date(e);return new Date(n.getFullYear(),n.getMonth()+(t?0:1),t?1:0).toISOString()}function Gr(){const{postDate:e,postType:t}=Object(p.useSelect)(e=>({postDate:e(so).getEditedPostAttribute("date"),postType:e(so).getCurrentPostType()}),[]),{editPost:n}=Object(p.useDispatch)(so),[o,r]=Object(l.useState)(Wr(e)),i=Object(p.useSelect)(e=>e(s.store).getEntityRecords("postType",t,{status:"publish,future",after:Wr(o),before:Wr(o,!1),exclude:[e(so).getCurrentPostId()]}),[o,t]),c=Object(l.useMemo)(()=>(i||[]).map(({title:e,type:t,date:n})=>({title:null==e?void 0:e.rendered,type:t,date:new Date(n)})),[i]),a=Object(l.useRef)(),u=Object(w.__experimentalGetSettings)(),d=/a(?!\\)/i.test(u.formats.time.toLowerCase().replace(/\\\\/g,"").split("").reverse().join(""));return Object(l.createElement)(Po.DateTimePicker,{ref:a,currentDate:e,onChange:function(e){n({date:e});const{ownerDocument:t}=a.current;t.activeElement.blur()},is12Hour:d,events:c,onMonthPreviewed:r})}var qr=Object(p.withSelect)(e=>({date:e("core/editor").getEditedPostAttribute("date"),isFloating:e("core/editor").isEditedPostDateFloating()}))((function({date:e,isFloating:t}){const n=Object(w.__experimentalGetSettings)();return e&&!t?Object(w.format)(`${n.formats.date} ${n.formats.time}`,e):Object(Xt.__)("Immediately")}));const Kr={per_page:10,orderby:"count",order:"desc",_fields:"id,name,count"};function $r({onSelect:e,taxonomy:t}){const{_terms:n,showTerms:o}=Object(p.useSelect)(e=>{const n=e(s.store).getEntityRecords("taxonomy",t.slug,Kr);return{_terms:n,showTerms:(null==n?void 0:n.length)>=10}},[]);if(!o)return null;const r=nr(n),i=Object(u.get)(t,["labels","most_used"]);return Object(l.createElement)("div",{className:"editor-post-taxonomies__flat-term-most-used"},Object(l.createElement)("h3",{className:"editor-post-taxonomies__flat-term-most-used-label"},i),Object(l.createElement)("ul",{role:"list",className:"editor-post-taxonomies__flat-term-most-used-list"},r.map(t=>Object(l.createElement)("li",{key:t.id},Object(l.createElement)(Po.Button,{isLink:!0,onClick:()=>e(t)},t.name)))))}const Qr={per_page:20,orderby:"count",order:"desc",_fields:"id,name,count"},Yr=(e,t)=>er(e).toLowerCase()===er(t).toLowerCase(),Xr=(e,t)=>e.map(e=>Object(u.find)(t,t=>Yr(t.name,e)).id);class Jr extends l.Component{constructor(){super(...arguments),this.onChange=this.onChange.bind(this),this.searchTerms=Object(u.debounce)(this.searchTerms.bind(this),500),this.findOrCreateTerm=this.findOrCreateTerm.bind(this),this.appendTerm=this.appendTerm.bind(this),this.state={loading:!Object(u.isEmpty)(this.props.terms),availableTerms:[],selectedTerms:[]}}componentDidMount(){Object(u.isEmpty)(this.props.terms)||(this.initRequest=this.fetchTerms({include:this.props.terms.join(","),per_page:-1}),this.initRequest.then(()=>{this.setState({loading:!1})},e=>{"abort"!==e.statusText&&this.setState({loading:!1})}))}componentWillUnmount(){Object(u.invoke)(this.initRequest,["abort"]),Object(u.invoke)(this.searchRequest,["abort"])}componentDidUpdate(e){e.terms!==this.props.terms&&this.updateSelectedTerms(this.props.terms)}fetchTerms(e={}){const{taxonomy:t}=this.props,n={...Qr,...e},o=g()({path:Object(P.addQueryArgs)("/wp/v2/"+t.rest_base,n)});return o.then(nr).then(e=>{this.setState(t=>({availableTerms:t.availableTerms.concat(e.filter(e=>!Object(u.find)(t.availableTerms,t=>t.id===e.id)))})),this.updateSelectedTerms(this.props.terms)}),o}updateSelectedTerms(e=[]){const t=e.reduce((e,t)=>{const n=Object(u.find)(this.state.availableTerms,e=>e.id===t);return n&&e.push(n.name),e},[]);this.setState({selectedTerms:t})}findOrCreateTerm(e){const{taxonomy:t}=this.props,n=Object(u.escape)(e);return g()({path:"/wp/v2/"+t.rest_base,method:"POST",data:{name:n}}).catch(o=>"term_exists"===o.code?(this.addRequest=g()({path:Object(P.addQueryArgs)("/wp/v2/"+t.rest_base,{...Qr,search:n})}).then(nr),this.addRequest.then(t=>Object(u.find)(t,t=>Yr(t.name,e)))):Promise.reject(o)).then(tr)}onChange(e){const t=Object(u.uniqBy)(e,e=>e.toLowerCase());this.setState({selectedTerms:t});const n=t.filter(e=>!Object(u.find)(this.state.availableTerms,t=>Yr(t.name,e)));if(0===n.length)return this.props.onUpdateTerms(Xr(t,this.state.availableTerms),this.props.taxonomy.rest_base);Promise.all(n.map(this.findOrCreateTerm)).then(e=>{const n=this.state.availableTerms.concat(e);return this.setState({availableTerms:n}),this.props.onUpdateTerms(Xr(t,n),this.props.taxonomy.rest_base)})}searchTerms(e=""){Object(u.invoke)(this.searchRequest,["abort"]),e.length>=3&&(this.searchRequest=this.fetchTerms({search:e}))}appendTerm(e){const{onUpdateTerms:t,taxonomy:n,terms:o=[],slug:r,speak:i}=this.props;if(o.includes(e.id))return;const s=[...o,e.id];i(Object(Xt.sprintf)(Object(Xt._x)("%s added","term"),Object(u.get)(n,["labels","singular_name"],"post_tag"===r?Object(Xt.__)("Tag"):Object(Xt.__)("Term"))),"assertive"),this.setState({availableTerms:[...this.state.availableTerms,e]}),t(s,n.rest_base)}render(){const{slug:e,taxonomy:t,hasAssignAction:n}=this.props;if(!n)return null;const{loading:o,availableTerms:r,selectedTerms:i}=this.state,s=r.map(e=>e.name),c=Object(u.get)(t,["labels","add_new_item"],"post_tag"===e?Object(Xt.__)("Add new tag"):Object(Xt.__)("Add new Term")),a=Object(u.get)(t,["labels","singular_name"],"post_tag"===e?Object(Xt.__)("Tag"):Object(Xt.__)("Term")),d=Object(Xt.sprintf)(Object(Xt._x)("%s added","term"),a),p=Object(Xt.sprintf)(Object(Xt._x)("%s removed","term"),a),b=Object(Xt.sprintf)(Object(Xt._x)("Remove %s","term"),a);return Object(l.createElement)(l.Fragment,null,Object(l.createElement)(Po.FormTokenField,{value:i,suggestions:s,onChange:this.onChange,onInputChange:this.searchTerms,maxSuggestions:20,disabled:o,label:c,messages:{added:d,removed:p,remove:b}}),Object(l.createElement)($r,{taxonomy:t,onSelect:this.appendTerm}))}}var Zr=Object(b.compose)(Object(p.withSelect)((e,{slug:t})=>{const{getCurrentPost:n}=e(so),{getTaxonomy:o}=e(s.store),r=o(t);return{hasCreateAction:!!r&&Object(u.get)(n(),["_links","wp:action-create-"+r.rest_base],!1),hasAssignAction:!!r&&Object(u.get)(n(),["_links","wp:action-assign-"+r.rest_base],!1),terms:r?e(so).getEditedPostAttribute(r.rest_base):[],taxonomy:r}}),Object(p.withDispatch)(e=>({onUpdateTerms(t,n){e(so).editPost({[n]:t})}})),Po.withSpokenMessages,Object(Po.withFilters)("editor.PostTaxonomyType"))(Jr);const ei=()=>{const e=[Object(Xt.__)("Suggestion:"),Object(l.createElement)("span",{className:"editor-post-publish-panel__link",key:"label"},Object(Xt.__)("Add tags"))];return Object(l.createElement)(Po.PanelBody,{initialOpen:!1,title:e},Object(l.createElement)("p",null,Object(Xt.__)("Tags help users and search engines navigate your site and find your content. Add a few keywords to describe your post.")),Object(l.createElement)(Zr,{slug:"post_tag"}))};class ti extends l.Component{constructor(e){super(e),this.state={hadTagsWhenOpeningThePanel:e.hasTags}}render(){return this.state.hadTagsWhenOpeningThePanel?null:Object(l.createElement)(ei,null)}}var ni=Object(b.compose)(Object(p.withSelect)(e=>{const t=e("core/editor").getCurrentPostType(),n=e("core").getTaxonomy("post_tag"),o=n&&e("core/editor").getEditedPostAttribute(n.rest_base);return{areTagsFetched:void 0!==n,isPostTypeSupported:n&&Object(u.some)(n.types,e=>e===t),hasTags:o&&o.length}}),Object(b.ifCondition)(({areTagsFetched:e,isPostTypeSupported:t})=>t&&e))(ti);const oi=(e,t)=>{const n=Er.filter(t=>Object(u.includes)(e,t.id));return Object(u.find)(n,e=>e.id===t)},ri=({suggestedPostFormat:e,suggestionText:t,onUpdatePostFormat:n})=>Object(l.createElement)(Po.Button,{isLink:!0,onClick:()=>n(e)},t);function ii(){const{currentPostFormat:e,suggestion:t}=Object(p.useSelect)(e=>{const{getEditedPostAttribute:t,getSuggestedPostFormat:n}=e("core/editor"),o=Object(u.get)(e("core").getThemeSupports(),["formats"],[]);return{currentPostFormat:t("format"),suggestion:oi(o,n())}},[]),{editPost:n}=Object(p.useDispatch)("core/editor"),o=[Object(Xt.__)("Suggestion:"),Object(l.createElement)("span",{className:"editor-post-publish-panel__link",key:"label"},Object(Xt.__)("Use a post format"))];return t&&t.id!==e?Object(l.createElement)(Po.PanelBody,{initialOpen:!1,title:o},Object(l.createElement)("p",null,Object(Xt.__)("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(l.createElement)("p",null,Object(l.createElement)(ri,{onUpdatePostFormat:e=>n({format:e}),suggestedPostFormat:t.id,suggestionText:Object(Xt.sprintf)(Object(Xt.__)('Apply the "%1$s" format.'),t.caption)}))):null}var si=function({children:e}){const{isBeingScheduled:t,isRequestingSiteIcon:n,hasPublishAction:o,siteIconUrl:r,siteTitle:i,siteHome:s}=Object(p.useSelect)(e=>{const{isResolving:t}=e("core/data"),{getCurrentPost:n,isEditedPostBeingScheduled:o}=e("core/editor"),{getEntityRecord:r}=e("core"),i=r("root","__unstableBase",void 0)||{};return{hasPublishAction:Object(u.get)(n(),["_links","wp:action-publish"],!1),isBeingScheduled:o(),isRequestingSiteIcon:t("core","getEntityRecord",["root","__unstableBase",void 0]),siteIconUrl:i.site_icon_url,siteTitle:i.name,siteHome:i.home&&Object(P.filterURLForDisplay)(i.home)}},[]);let c,a,d=Object(l.createElement)(Po.Icon,{className:"components-site-icon",size:"36px",icon:Ur.a});return r&&(d=Object(l.createElement)("img",{alt:Object(Xt.__)("Site Icon"),className:"components-site-icon",src:r})),n&&(d=null),o?t?(c=Object(Xt.__)("Are you ready to schedule?"),a=Object(Xt.__)("Your work will be published at the specified date and time.")):(c=Object(Xt.__)("Are you ready to publish?"),a=Object(Xt.__)("Double-check your settings before publishing.")):(c=Object(Xt.__)("Are you ready to submit for review?"),a=Object(Xt.__)("When you’re ready, submit your work for review, and an Editor will be able to approve it for you.")),Object(l.createElement)("div",{className:"editor-post-publish-panel__prepublish"},Object(l.createElement)("div",null,Object(l.createElement)("strong",null,c)),Object(l.createElement)("p",null,a),Object(l.createElement)("div",{className:"components-site-card"},d,Object(l.createElement)("div",{className:"components-site-info"},Object(l.createElement)("span",{className:"components-site-name"},i||Object(Xt.__)("(Untitled)")),Object(l.createElement)("span",{className:"components-site-home"},s))),o&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(Po.PanelBody,{initialOpen:!1,title:[Object(Xt.__)("Visibility:"),Object(l.createElement)("span",{className:"editor-post-publish-panel__link",key:"label"},Object(l.createElement)(Hr,null))]},Object(l.createElement)(Vr,null)),Object(l.createElement)(Po.PanelBody,{initialOpen:!1,title:[Object(Xt.__)("Publish:"),Object(l.createElement)("span",{className:"editor-post-publish-panel__link",key:"label"},Object(l.createElement)(qr,null))]},Object(l.createElement)(Gr,null))),Object(l.createElement)(ii,null),Object(l.createElement)(ni,null),e)};function ci({text:e,onCopy:t,children:n}){const o=Object(b.useCopyToClipboard)(e,t);return Object(l.createElement)(Po.Button,{isSecondary:!0,ref:o},n)}class ai extends l.Component{constructor(){super(...arguments),this.state={showCopyConfirmation:!1},this.onCopy=this.onCopy.bind(this),this.onSelectInput=this.onSelectInput.bind(this),this.postLink=Object(l.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(u.get)(o,["labels","singular_name"]),i=Object(u.get)(o,["labels","view_item"]),s="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,c=t?Object(l.createElement)(l.Fragment,null,Object(Xt.__)("is now scheduled. It will go live on")," ",Object(l.createElement)(qr,null),"."):Object(Xt.__)("is now live.");return Object(l.createElement)("div",{className:"post-publish-panel__postpublish"},Object(l.createElement)(Po.PanelBody,{className:"post-publish-panel__postpublish-header"},Object(l.createElement)("a",{ref:this.postLink,href:s},Object(Jo.decodeEntities)(n.title)||Object(Xt.__)("(no title)"))," ",c),Object(l.createElement)(Po.PanelBody,null,Object(l.createElement)("p",{className:"post-publish-panel__postpublish-subheader"},Object(l.createElement)("strong",null,Object(Xt.__)("What’s next?"))),Object(l.createElement)(Po.TextControl,{className:"post-publish-panel__postpublish-post-address",readOnly:!0,label:Object(Xt.sprintf)(Object(Xt.__)("%s address"),r),value:Object(P.safeDecodeURIComponent)(s),onFocus:this.onSelectInput}),Object(l.createElement)("div",{className:"post-publish-panel__postpublish-buttons"},!t&&Object(l.createElement)(Po.Button,{isSecondary:!0,href:s},i),Object(l.createElement)(ci,{text:s,onCopy:this.onCopy},this.state.showCopyConfirmation?Object(Xt.__)("Copied!"):Object(Xt.__)("Copy Link")))),e)}}var li=Object(p.withSelect)(e=>{const{getEditedPostAttribute:t,getCurrentPost:n,isCurrentPostScheduled:o}=e("core/editor"),{getPostType:r}=e("core");return{post:n(),postType:r(t("type")),isScheduled:o()}})(ai);class ui extends l.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:i,isSaving:s,onClose:c,onTogglePublishSidebar:d,PostPublishExtension:p,PrePublishExtension:b,...m}=this.props,h=Object(u.omit)(m,["hasPublishAction","isDirty","isPostTypeViewable"]),f=o||i&&n,g=!f&&!s,O=f&&!s;return Object(l.createElement)("div",Object(a.a)({className:"editor-post-publish-panel"},h),Object(l.createElement)("div",{className:"editor-post-publish-panel__header"},O?Object(l.createElement)(Po.Button,{onClick:c,icon:Fr.a,label:Object(Xt.__)("Close panel")}):Object(l.createElement)(l.Fragment,null,Object(l.createElement)("div",{className:"editor-post-publish-panel__header-publish-button"},Object(l.createElement)(Lr,{focusOnMount:!0,onSubmit:this.onSubmit,forceIsDirty:e,forceIsSaving:t})),Object(l.createElement)("div",{className:"editor-post-publish-panel__header-cancel-button"},Object(l.createElement)(Po.Button,{onClick:c,isSecondary:!0},Object(Xt.__)("Cancel"))))),Object(l.createElement)("div",{className:"editor-post-publish-panel__content"},g&&Object(l.createElement)(si,null,b&&Object(l.createElement)(b,null)),O&&Object(l.createElement)(li,{focusOnMount:!0},p&&Object(l.createElement)(p,null)),s&&Object(l.createElement)(Po.Spinner,null)),Object(l.createElement)("div",{className:"editor-post-publish-panel__footer"},Object(l.createElement)(Po.CheckboxControl,{label:Object(Xt.__)("Always show pre-publish checks."),checked:r,onChange:d})))}}var di=Object(b.compose)([Object(p.withSelect)(e=>{const{getPostType:t}=e("core"),{getCurrentPost:n,getEditedPostAttribute:o,isCurrentPostPublished:r,isCurrentPostScheduled:i,isEditedPostBeingScheduled:s,isEditedPostDirty:c,isSavingPost:a}=e("core/editor"),{isPublishSidebarEnabled:l}=e("core/editor"),d=t(o("type"));return{hasPublishAction:Object(u.get)(n(),["_links","wp:action-publish"],!1),isPostTypeViewable:Object(u.get)(d,["viewable"],!1),isBeingScheduled:s(),isDirty:c(),isPublished:r(),isPublishSidebarEnabled:l(),isSaving:a(),isScheduled:i()}}),Object(p.withDispatch)((e,{isPublishSidebarEnabled:t})=>{const{disablePublishSidebar:n,enablePublishSidebar:o}=e("core/editor");return{onTogglePublishSidebar:()=>{t?n():o()}}}),Po.withFocusReturn,Po.withConstrainedTabbing])(ui),pi=n("iClF");var bi=Object(l.createElement)(D.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(l.createElement)(D.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"})),mi=n("RMJe");var hi=Object(l.createElement)(D.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(l.createElement)(D.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 fi=Object(b.compose)([Object(p.withSelect)(e=>{const{isSavingPost:t,isCurrentPostPublished:n,isCurrentPostScheduled:o}=e("core/editor");return{isSaving:t(),isPublished:n(),isScheduled:o()}}),Object(p.withDispatch)(e=>{const{editPost:t,savePost:n}=e("core/editor");return{onClick:()=>{t({status:"draft"}),n()}}})])((function({isSaving:e,isPublished:t,isScheduled:n,onClick:o}){const r=Object(b.useViewportMatch)("small","<");return t||n?Object(l.createElement)(Po.Button,{className:"editor-post-switch-to-draft",onClick:()=>{let e;t?e=Object(Xt.__)("Are you sure you want to unpublish this post?"):n&&(e=Object(Xt.__)("Are you sure you want to unschedule this post?")),window.confirm(e)&&o()},disabled:e,isTertiary:!0},r?Object(Xt.__)("Draft"):Object(Xt.__)("Switch to draft")):null}));function gi({forceIsDirty:e,forceIsSaving:t,showIconLabels:n=!1}){const[o,r]=Object(l.useState)(!1),i=Object(b.useViewportMatch)("small"),{isAutosaving:s,isDirty:c,isNew:a,isPending:u,isPublished:d,isSaveable:m,isSaving:h,isScheduled:f,hasPublishAction:g}=Object(p.useSelect)(n=>{var o,r,i;const{isEditedPostNew:s,isCurrentPostPublished:c,isCurrentPostScheduled:a,isEditedPostDirty:l,isSavingPost:u,isEditedPostSaveable:d,getCurrentPost:p,isAutosavingPost:b,getEditedPostAttribute:m}=n("core/editor");return{isAutosaving:b(),isDirty:e||l(),isNew:s(),isPending:"pending"===m("status"),isPublished:c(),isSaving:t||u(),isSaveable:d(),isScheduled:a(),hasPublishAction:null!==(o=null===(r=p())||void 0===r||null===(i=r._links)||void 0===i?void 0:i["wp:action-publish"])&&void 0!==o&&o}},[e,t]),{savePost:O}=Object(p.useDispatch)("core/editor"),j=Object(b.usePrevious)(h);if(Object(l.useEffect)(()=>{let e;return j&&!h&&(r(!0),e=setTimeout(()=>{r(!1)},1e3)),()=>clearTimeout(e)},[h]),h){const e=uo()("editor-post-saved-state","is-saving",Object(Po.__unstableGetAnimateClassName)({type:"loading"}),{"is-autosaving":s});return Object(l.createElement)("span",{className:e},Object(l.createElement)(pi.a,{icon:bi}),s?Object(Xt.__)("Autosaving"):Object(Xt.__)("Saving"))}if(d||f)return Object(l.createElement)(fi,null);if(!m)return null;if(o||!a&&!c)return Object(l.createElement)("span",{className:"editor-post-saved-state is-saved"},Object(l.createElement)(pi.a,{icon:mi.a}),Object(Xt.__)("Saved"));if(!g&&u)return null;const v=u?Object(Xt.__)("Save as pending"):Object(Xt.__)("Save draft"),_=Object(Xt.__)("Save");return i?Object(l.createElement)(Po.Button,{className:"editor-post-save-draft",onClick:()=>O(),shortcut:ko.displayShortcut.primary("s"),isTertiary:!0},v):Object(l.createElement)(Po.Button,{className:"editor-post-save-draft",label:v,onClick:()=>O(),shortcut:ko.displayShortcut.primary("s"),icon:hi},n&&_)}var Oi=Object(b.compose)([Object(p.withSelect)(e=>{const{getCurrentPost:t,getCurrentPostType:n}=e("core/editor");return{hasPublishAction:Object(u.get)(t(),["_links","wp:action-publish"],!1),postType:n()}})])((function({hasPublishAction:e,children:t}){return e?t:null}));function ji({children:e}){return Object(l.createElement)(Qo,{supportKeys:"slug"},e)}class vi extends l.Component{constructor({postSlug:e,postTitle:t,postID:n}){super(...arguments),this.state={editedSlug:Object(P.safeDecodeURIComponent)(e)||N(t)||n},this.setSlug=this.setSlug.bind(this)}setSlug(e){const{postSlug:t,onUpdateSlug:n}=this.props,{value:o}=e.target,r=N(o);r!==t&&n(r)}render(){const{instanceId:e}=this.props,{editedSlug:t}=this.state,n="editor-post-slug-"+e;return Object(l.createElement)(ji,null,Object(l.createElement)("label",{htmlFor:n},Object(Xt.__)("Slug")),Object(l.createElement)("input",{type:"text",id:n,value:t,onChange:e=>this.setState({editedSlug:e.target.value}),onBlur:this.setSlug,className:"editor-post-slug__input"}))}}var _i=Object(b.compose)([Object(p.withSelect)(e=>{const{getCurrentPost:t,getEditedPostAttribute:n}=e("core/editor"),{id:o}=t();return{postSlug:n("slug"),postTitle:n("title"),postID:o}}),Object(p.withDispatch)(e=>{const{editPost:t}=e("core/editor");return{onUpdateSlug(e){t({slug:e})}}}),b.withInstanceId])(vi);var yi=Object(b.compose)([Object(p.withSelect)(e=>{const t=e("core/editor").getCurrentPost();return{hasStickyAction:Object(u.get)(t,["_links","wp:action-sticky"],!1),postType:e("core/editor").getCurrentPostType()}})])((function({hasStickyAction:e,postType:t,children:n}){return"post"===t&&e?n:null}));var Si=Object(b.compose)([Object(p.withSelect)(e=>({postSticky:e("core/editor").getEditedPostAttribute("sticky")})),Object(p.withDispatch)(e=>({onUpdateSticky(t){e("core/editor").editPost({sticky:t})}}))])((function({onUpdateSticky:e,postSticky:t=!1}){return Object(l.createElement)(yi,null,Object(l.createElement)(Po.CheckboxControl,{label:Object(Xt.__)("Stick to the top of the blog"),checked:t,onChange:()=>e(!t)}))}));const Ei={per_page:-1,orderby:"name",order:"asc",_fields:"id,name,parent"};class wi extends l.Component{constructor(){super(...arguments),this.findTerm=this.findTerm.bind(this),this.onChange=this.onChange.bind(this),this.onChangeFormName=this.onChangeFormName.bind(this),this.onChangeFormParent=this.onChangeFormParent.bind(this),this.onAddTerm=this.onAddTerm.bind(this),this.onToggleForm=this.onToggleForm.bind(this),this.setFilterValue=this.setFilterValue.bind(this),this.sortBySelected=this.sortBySelected.bind(this),this.state={loading:!0,availableTermsTree:[],availableTerms:[],adding:!1,formName:"",formParent:"",showForm:!1,filterValue:"",filteredTermsTree:[]}}onChange(e){const{onUpdateTerms:t,terms:n=[],taxonomy:o}=this.props;t(-1!==n.indexOf(e)?Object(u.without)(n,e):[...n,e],o.rest_base)}onChangeFormName(e){const t=""===e.target.value.trim()?"":e.target.value;this.setState({formName:t})}onChangeFormParent(e){this.setState({formParent:e})}onToggleForm(){this.setState(e=>({showForm:!e.showForm}))}findTerm(e,t,n){return Object(u.find)(e,e=>(!e.parent&&!t||parseInt(e.parent)===parseInt(t))&&e.name.toLowerCase()===n.toLowerCase())}onAddTerm(e){e.preventDefault();const{onUpdateTerms:t,taxonomy:n,terms:o,slug:r}=this.props,{formName:i,formParent:s,adding:c,availableTerms:a}=this.state;if(""===i||c)return;const l=this.findTerm(a,s,i);if(l)return Object(u.some)(o,e=>e===l.id)||t([...o,l.id],n.rest_base),void this.setState({formName:"",formParent:""});this.setState({adding:!0}),this.addRequest=g()({path:"/wp/v2/"+n.rest_base,method:"POST",data:{name:i,parent:s||void 0}});this.addRequest.catch(e=>"term_exists"===e.code?(this.addRequest=g()({path:Object(P.addQueryArgs)("/wp/v2/"+n.rest_base,{...Ei,parent:s||0,search:i})}),this.addRequest.then(e=>this.findTerm(e,s,i))):Promise.reject(e)).then(e=>{const i=!!Object(u.find)(this.state.availableTerms,t=>t.id===e.id)?this.state.availableTerms:[e,...this.state.availableTerms],s=Object(Xt.sprintf)(Object(Xt._x)("%s added","term"),Object(u.get)(this.props.taxonomy,["labels","singular_name"],"category"===r?Object(Xt.__)("Category"):Object(Xt.__)("Term")));this.props.speak(s,"assertive"),this.addRequest=null,this.setState({adding:!1,formName:"",formParent:"",availableTerms:i,availableTermsTree:this.sortBySelected(Zo(i))}),t([...o,e.id],n.rest_base)},e=>{"abort"!==e.statusText&&(this.addRequest=null,this.setState({adding:!1}))})}componentDidMount(){this.fetchTerms()}componentWillUnmount(){Object(u.invoke)(this.fetchRequest,["abort"]),Object(u.invoke)(this.addRequest,["abort"])}componentDidUpdate(e){this.props.taxonomy!==e.taxonomy&&this.fetchTerms()}fetchTerms(){const{taxonomy:e}=this.props;e&&(this.fetchRequest=g()({path:Object(P.addQueryArgs)("/wp/v2/"+e.rest_base,Ei)}),this.fetchRequest.then(e=>{const t=this.sortBySelected(Zo(e));this.fetchRequest=null,this.setState({loading:!1,availableTermsTree:t,availableTerms:e})},e=>{"abort"!==e.statusText&&(this.fetchRequest=null,this.setState({loading:!1}))}))}sortBySelected(e){const{terms:t}=this.props,n=e=>{if(-1!==t.indexOf(e.id))return!0;if(void 0===e.children)return!1;return!!(e.children.map(n).filter(e=>e).length>0)};return e.sort((e,t)=>{const o=n(e),r=n(t);return o===r?0:o&&!r?-1:!o&&r?1:0}),e}setFilterValue(e){const{availableTermsTree:t}=this.state,n=e.target.value,o=t.map(this.getFilterMatcher(n)).filter(e=>e),r=e=>{let t=0;for(let n=0;n<e.length;n++)t++,void 0!==e[n].children&&(t+=r(e[n].children));return t};this.setState({filterValue:n,filteredTermsTree:o});const i=r(o),s=Object(Xt.sprintf)(Object(Xt._n)("%d result found.","%d results found.",i),i);this.props.debouncedSpeak(s,"assertive")}getFilterMatcher(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}renderTerms(e){const{terms:t=[]}=this.props;return e.map(e=>Object(l.createElement)("div",{key:e.id,className:"editor-post-taxonomies__hierarchical-terms-choice"},Object(l.createElement)(Po.CheckboxControl,{checked:-1!==t.indexOf(e.id),onChange:()=>{const t=parseInt(e.id,10);this.onChange(t)},label:Object(u.unescape)(e.name)}),!!e.children.length&&Object(l.createElement)("div",{className:"editor-post-taxonomies__hierarchical-terms-subchoices"},this.renderTerms(e.children))))}render(){const{slug:e,taxonomy:t,instanceId:n,hasCreateAction:o,hasAssignAction:r}=this.props;if(!r)return null;const{availableTermsTree:i,availableTerms:s,filteredTermsTree:c,formName:a,formParent:d,loading:p,showForm:b,filterValue:m}=this.state,h=(n,o,r)=>Object(u.get)(t,["labels",n],"category"===e?o:r),f=h("add_new_item",Object(Xt.__)("Add new category"),Object(Xt.__)("Add new term")),g=h("new_item_name",Object(Xt.__)("Add new category"),Object(Xt.__)("Add new term")),O=h("parent_item",Object(Xt.__)("Parent Category"),Object(Xt.__)("Parent Term")),j=`— ${O} —`,v=f,_="editor-post-taxonomies__hierarchical-terms-input-"+n,y="editor-post-taxonomies__hierarchical-terms-filter-"+n,S=Object(u.get)(this.props.taxonomy,["labels","search_items"],Object(Xt.__)("Search Terms")),E=Object(u.get)(this.props.taxonomy,["name"],Object(Xt.__)("Terms")),w=s.length>=8;return[w&&Object(l.createElement)("label",{key:"filter-label",htmlFor:y},S),w&&Object(l.createElement)("input",{type:"search",id:y,value:m,onChange:this.setFilterValue,className:"editor-post-taxonomies__hierarchical-terms-filter",key:"term-filter-input"}),Object(l.createElement)("div",{className:"editor-post-taxonomies__hierarchical-terms-list",key:"term-list",tabIndex:"0",role:"group","aria-label":E},this.renderTerms(""!==m?c:i)),!p&&o&&Object(l.createElement)(Po.Button,{key:"term-add-button",onClick:this.onToggleForm,className:"editor-post-taxonomies__hierarchical-terms-add","aria-expanded":b,isLink:!0},f),b&&Object(l.createElement)("form",{onSubmit:this.onAddTerm,key:"hierarchical-terms-form"},Object(l.createElement)("label",{htmlFor:_,className:"editor-post-taxonomies__hierarchical-terms-label"},g),Object(l.createElement)("input",{type:"text",id:_,className:"editor-post-taxonomies__hierarchical-terms-input",value:a,onChange:this.onChangeFormName,required:!0}),!!s.length&&Object(l.createElement)(Po.TreeSelect,{label:O,noOptionLabel:j,onChange:this.onChangeFormParent,selectedId:d,tree:i}),Object(l.createElement)(Po.Button,{isSecondary:!0,type:"submit",className:"editor-post-taxonomies__hierarchical-terms-submit"},v))]}}var Pi=Object(b.compose)([Object(p.withSelect)((e,{slug:t})=>{const{getCurrentPost:n}=e("core/editor"),{getTaxonomy:o}=e("core"),r=o(t);return{hasCreateAction:!!r&&Object(u.get)(n(),["_links","wp:action-create-"+r.rest_base],!1),hasAssignAction:!!r&&Object(u.get)(n(),["_links","wp:action-assign-"+r.rest_base],!1),terms:r?e("core/editor").getEditedPostAttribute(r.rest_base):[],taxonomy:r}}),Object(p.withDispatch)(e=>({onUpdateTerms(t,n){e("core/editor").editPost({[n]:t})}})),Po.withSpokenMessages,b.withInstanceId,Object(Po.withFilters)("editor.PostTaxonomyType")])(wi);var ki=Object(b.compose)([Object(p.withSelect)(e=>({postType:e("core/editor").getCurrentPostType(),taxonomies:e("core").getTaxonomies({per_page:-1})}))])((function({postType:e,taxonomies:t,taxonomyWrapper:n=u.identity}){const o=Object(u.filter)(t,t=>Object(u.includes)(t.types,e));return Object(u.filter)(o,e=>e.visibility.show_ui).map(e=>{const t=e.hierarchical?Pi:Zr;return Object(l.createElement)(l.Fragment,{key:"taxonomy-"+e.slug},n(Object(l.createElement)(t,{slug:e.slug}),e))})}));var Ti=Object(b.compose)([Object(p.withSelect)(e=>({postType:e("core/editor").getCurrentPostType(),taxonomies:e("core").getTaxonomies({per_page:-1})}))])((function({postType:e,taxonomies:t,children:n}){return Object(u.some)(t,t=>Object(u.includes)(t.types,e))?n:null})),Ci=n("O6Fj"),xi=n.n(Ci);function Bi(){const e=Object(p.useSelect)(e=>e("core/editor").getEditedPostContent(),[]),{editPost:t,resetEditorBlocks:n}=Object(p.useDispatch)("core/editor"),[o,r]=Object(l.useState)(e),[i,s]=Object(l.useState)(!1),c=Object(b.useInstanceId)(Bi);i||o===e||r(e);return Object(l.createElement)(l.Fragment,null,Object(l.createElement)(Po.VisuallyHidden,{as:"label",htmlFor:"post-content-"+c},Object(Xt.__)("Type text or HTML")),Object(l.createElement)(xi.a,{autoComplete:"off",dir:"auto",value:o,onChange:e=>{const n=e.target.value;t({content:n}),r(n),s(!0)},onBlur:()=>{if(i){const e=Object(d.parse)(o);n(e),s(!1)}},className:"editor-post-text-editor",id:"post-content-"+c,placeholder:Object(Xt.__)("Start writing with text or HTML")}))}const Ii=/[\r\n]+/g;function Ai(){const e=Object(b.useInstanceId)(Ai),t=Object(l.useRef)(),[n,o]=Object(l.useState)(!1),{editPost:r}=Object(p.useDispatch)("core/editor"),{insertDefaultBlock:s,clearSelectedBlock:c,insertBlocks:a}=Object(p.useDispatch)(i.store),{isCleanNewPost:u,title:m,placeholder:h,isFocusMode:f,hasFixedToolbar:g}=Object(p.useSelect)(e=>{const{getEditedPostAttribute:t,isCleanNewPost:n}=e("core/editor"),{getSettings:o}=e(i.store),{titlePlaceholder:r,focusMode:s,hasFixedToolbar:c}=o();return{isCleanNewPost:n(),title:t("title"),placeholder:r,isFocusMode:s,hasFixedToolbar:c}});function O(e){a(e,0)}function j(e){r({title:e})}function v(){o(!1)}Object(l.useEffect)(()=>{if(!t.current)return;const{ownerDocument:e}=t.current,{activeElement:n,body:o}=e;!u||n&&o!==n||t.current.focus()},[u]);const _=uo()("wp-block editor-post-title editor-post-title__block",{"is-selected":n,"is-focus-mode":f,"has-fixed-toolbar":g}),y=Object(Jo.decodeEntities)(h);return Object(l.createElement)(Qo,{supportKeys:"title"},Object(l.createElement)("div",{className:_},Object(l.createElement)(Po.VisuallyHidden,{as:"label",htmlFor:"post-title-"+e},y||Object(Xt.__)("Add title")),Object(l.createElement)(xi.a,{ref:t,id:"post-title-"+e,className:"editor-post-title__input",value:m,onChange:function(e){j(e.target.value.replace(Ii," "))},placeholder:y||Object(Xt.__)("Add title"),onFocus:function(){o(!0),c()},onBlur:v,onKeyDown:function(e){e.keyCode===ko.ENTER&&(e.preventDefault(),s(void 0,void 0,0))},onKeyPress:v,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(d.pasteHandler)({HTML:o,plainText:n});if("string"!=typeof r&&r.length){e.preventDefault();const[t]=r;m||"core/heading"!==t.name&&"core/paragraph"!==t.name?O(r):(j(t.attributes.content),O(r.slice(1)))}}})))}var Ri=Object(b.compose)([Object(p.withSelect)(e=>{const{isEditedPostNew:t,getCurrentPostId:n,getCurrentPostType:o}=e("core/editor");return{isNew:t(),postId:n(),postType:o()}}),Object(p.withDispatch)(e=>({trashPost:e("core/editor").trashPost}))])((function({isNew:e,postId:t,postType:n,...o}){return e||!t?null:Object(l.createElement)(Po.Button,{className:"editor-post-trash",isDestructive:!0,isTertiary:!0,onClick:()=>o.trashPost(t,n)},Object(Xt.__)("Move to trash"))}));var Ni=Object(p.withSelect)(e=>{const{isEditedPostNew:t,getCurrentPostId:n,getCurrentPostType:o}=e("core/editor"),{getPostType:r,canUser:i}=e("core"),s=n(),c=r(o()),a=(null==c?void 0:c.rest_base)||"";return{isNew:t(),postId:s,canUserDelete:!(!s||!a)&&i("delete",a,s)}})((function({isNew:e,postId:t,canUserDelete:n,children:o}){return!e&&t&&n?o:null}));var Di=Object(b.compose)([Object(p.withSelect)(e=>{const{getCurrentPost:t,getCurrentPostType:n}=e("core/editor");return{hasPublishAction:Object(u.get)(t(),["_links","wp:action-publish"],!1),postType:n()}})])((function({hasPublishAction:e,render:t}){return t({canEdit:e})}));var Li=Object(l.createElement)(D.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(l.createElement)(D.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"})),Fi=n("7fqt");function Ui(){const e=Object(p.useSelect)(e=>e("core/editor").getEditedPostAttribute("content")),t=Object(Xt._x)("words","Word count type. Do not translate!");return Object(l.createElement)("span",{className:"word-count"},Object(Fi.count)(e,t))}function Mi(){const e=Object(p.useSelect)(e=>e("core/editor").getEditedPostAttribute("content"));return Object(Fi.count)(e,"characters_including_spaces")}var zi=function({hasOutlineItemsDisabled:e,onRequestClose:t}){const{headingCount:n,paragraphCount:o,numberOfBlocks:r}=Object(p.useSelect)(e=>{const{getGlobalBlockCount:t}=e(i.store);return{headingCount:t("core/heading"),paragraphCount:t("core/paragraph"),numberOfBlocks:t()}},[]);return Object(l.createElement)(l.Fragment,null,Object(l.createElement)("div",{className:"table-of-contents__wrapper",role:"note","aria-label":Object(Xt.__)("Document Statistics"),tabIndex:"0"},Object(l.createElement)("ul",{role:"list",className:"table-of-contents__counts"},Object(l.createElement)("li",{className:"table-of-contents__count"},Object(Xt.__)("Characters"),Object(l.createElement)("span",{className:"table-of-contents__number"},Object(l.createElement)(Mi,null))),Object(l.createElement)("li",{className:"table-of-contents__count"},Object(Xt.__)("Words"),Object(l.createElement)(Ui,null)),Object(l.createElement)("li",{className:"table-of-contents__count"},Object(Xt.__)("Headings"),Object(l.createElement)("span",{className:"table-of-contents__number"},n)),Object(l.createElement)("li",{className:"table-of-contents__count"},Object(Xt.__)("Paragraphs"),Object(l.createElement)("span",{className:"table-of-contents__number"},o)),Object(l.createElement)("li",{className:"table-of-contents__count"},Object(Xt.__)("Blocks"),Object(l.createElement)("span",{className:"table-of-contents__number"},r)))),n>0&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)("hr",null),Object(l.createElement)("h2",{className:"table-of-contents__title"},Object(Xt.__)("Document Outline")),Object(l.createElement)(jo,{onSelect:t,hasOutlineItemsDisabled:e})))};var Vi=Object(l.forwardRef)((function({hasOutlineItemsDisabled:e,repositionDropdown:t,...n},o){const r=Object(p.useSelect)(e=>!!e(i.store).getBlockCount(),[]);return Object(l.createElement)(Po.Dropdown,{position:t?"middle right right":"bottom",className:"table-of-contents",contentClassName:"table-of-contents__popover",renderToggle:({isOpen:e,onToggle:t})=>Object(l.createElement)(Po.Button,Object(a.a)({},n,{ref:o,onClick:r?t:void 0,icon:Li,"aria-expanded":e,"aria-haspopup":"true",label:Object(Xt.__)("Details"),tooltipPosition:"bottom","aria-disabled":!r})),renderContent:({onClose:t})=>Object(l.createElement)(zi,{onRequestClose:t,hasOutlineItemsDisabled:e})})}));function Hi(){const e=Object(p.useSelect)(e=>()=>{const{__experimentalGetDirtyEntityRecords:t}=e("core");return t().length>0},[]),t=t=>{if(e())return t.returnValue=Object(Xt.__)("You have unsaved changes. If you proceed, they will be lost."),t.returnValue};return Object(l.useEffect)(()=>(window.addEventListener("beforeunload",t),()=>{window.removeEventListener("beforeunload",t)}),[]),null}var Wi=n("diJD");var Gi=Object(b.createHigherOrderComponent)(e=>Object(p.withRegistry)(t=>{const{useSubRegistry:n=!0,registry:o,...r}=t;if(!n)return Object(l.createElement)(e,r);const[s,c]=Object(l.useState)(null);return Object(l.useEffect)(()=>{const e=Object(p.createRegistry)({"core/block-editor":i.storeConfig},o);e.registerStore("core/editor",io),c(e)},[o]),s?Object(l.createElement)(p.RegistryProvider,{value:s},Object(l.createElement)(e,r)):null}),"withRegistryProvider"),qi=n("6aBm");function Ki({additionalData:e={},allowedTypes:t,filesList:n,maxUploadFileSize:o,onError:r=u.noop,onFileChange:i}){const{getCurrentPostId:s,getEditorSettings:c}=Object(p.select)("core/editor"),a=c().allowedMimeTypes;o=o||c().maxUploadFileSize,Object(qi.uploadMedia)({allowedTypes:t,filesList:n,onFileChange:i,additionalData:{post:s(),...e},maxUploadFileSize:o,onError:({message:e})=>r(e),wpAllowedMimeTypes:a})}var $i=function(e,t){const{reusableBlocks:n,hasUploadPermissions:o,canUseUnfilteredHTML:r,isTitleSelected:i}=Object(p.useSelect)(e=>{const{canUserUseUnfilteredHTML:t,isPostTitleSelected:n}=e(so),{canUser:o}=e(s.store);return{canUseUnfilteredHTML:t(),reusableBlocks:e(s.store).getEntityRecords("postType","wp_block",{per_page:l.Platform.select({web:-1,native:100})}),hasUploadPermissions:Object(u.defaultTo)(o("create","media"),!0),isTitleSelected:n&&n()}},[]),{undo:c}=Object(p.useDispatch)(so);return Object(l.useMemo)(()=>({...Object(u.pick)(e,["__experimentalBlockDirectory","__experimentalBlockPatternCategories","__experimentalBlockPatterns","__experimentalFeatures","__experimentalGlobalStylesBaseStyles","__experimentalGlobalStylesUserEntityId","__experimentalPreferredStyleVariations","__experimentalSetIsInserterOpened","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?Ki:void 0,__experimentalReusableBlocks:n,__experimentalFetchLinkSuggestions:(t,n)=>Object(s.__experimentalFetchLinkSuggestions)(t,n,e),__experimentalFetchRemoteUrlData:e=>Object(s.__experimentalFetchRemoteUrlData)(e),__experimentalCanUserUseUnfilteredHTML:r,__experimentalUndo:c,__experimentalShouldInsertAtTheTop:i,outlineMode:t}),[e,o,n,r,c,i,t])};var Qi=Gi((function({__unstableTemplate:e,post:t,settings:n,recovery:o,initialEdits:r,children:c}){const a=Object(l.useMemo)(()=>"wp_template"===t.type?{}:{postId:t.id,postType:t.type},[t.id,t.type]),{selection:u,isReady:d}=Object(p.useSelect)(e=>{const{getEditorSelection:t,__unstableIsEditorReady:n}=e(so);return{isReady:n(),selection:t()}},[]),{id:b,type:m}=null!=e?e:t,[h,f,g]=Object(s.useEntityBlockEditor)("postType",m,{id:b}),O=$i(n,!!e),{updatePostLock:j,setupEditor:v,updateEditorSettings:_,__experimentalTearDownEditor:y}=Object(p.useDispatch)(so),{createWarningNotice:S}=Object(p.useDispatch)(Yt.store);return Object(l.useLayoutEffect)(()=>{if(!o)return j(n.postLock),v(t,r,n.template),n.autosave&&S(Object(Xt.__)("There is an autosave of this post that is more recent than the version below."),{id:"autosave-exists",actions:[{label:Object(Xt.__)("View the autosave"),url:n.autosave.editLink}]}),()=>{y()}},[]),Object(l.useEffect)(()=>{_(n)},[n]),d?Object(l.createElement)(s.EntityProvider,{kind:"root",type:"site"},Object(l.createElement)(s.EntityProvider,{kind:"postType",type:t.type,id:t.id},Object(l.createElement)(i.BlockContextProvider,{value:a},Object(l.createElement)(i.BlockEditorProvider,{value:h,onChange:g,onInput:f,selection:u,settings:O,useSubRegistry:!1},c,Object(l.createElement)(Wi.ReusableBlocksMenuItems,null))))):null})),Yi=n("JREk"),Xi=n.n(Yi);function Ji(e,t,n=[]){const o=Object(l.forwardRef)((n,o)=>(T()("wp.editor."+e,{since:"5.3",alternative:"wp.blockEditor."+e}),Object(l.createElement)(t,Object(a.a)({ref:o},n))));return n.forEach(n=>{o[n]=Ji(e+"."+n,t[n])}),o}function Zi(e,t){return(...n)=>(T()("wp.editor."+e,{since:"5.3",alternative:"wp.blockEditor."+e}),t(...n))}const es=Ji("RichText",i.RichText,["Content"]);es.isEmpty=Zi("RichText.isEmpty",i.RichText.isEmpty);const ts=Ji("Autocomplete",i.Autocomplete),ns=Ji("AlignmentToolbar",i.AlignmentToolbar),os=Ji("BlockAlignmentToolbar",i.BlockAlignmentToolbar),rs=Ji("BlockControls",i.BlockControls,["Slot"]),is=Ji("BlockEdit",i.BlockEdit),ss=Ji("BlockEditorKeyboardShortcuts",i.BlockEditorKeyboardShortcuts),cs=Ji("BlockFormatControls",i.BlockFormatControls,["Slot"]),as=Ji("BlockIcon",i.BlockIcon),ls=Ji("BlockInspector",i.BlockInspector),us=Ji("BlockList",i.BlockList),ds=Ji("BlockMover",i.BlockMover),ps=Ji("BlockNavigationDropdown",i.BlockNavigationDropdown),bs=Ji("BlockSelectionClearer",i.BlockSelectionClearer),ms=Ji("BlockSettingsMenu",i.BlockSettingsMenu),hs=Ji("BlockTitle",i.BlockTitle),fs=Ji("BlockToolbar",i.BlockToolbar),gs=Ji("ColorPalette",i.ColorPalette),Os=Ji("ContrastChecker",i.ContrastChecker),js=Ji("CopyHandler",i.CopyHandler),vs=Ji("DefaultBlockAppender",i.DefaultBlockAppender),_s=Ji("FontSizePicker",i.FontSizePicker),ys=Ji("Inserter",i.Inserter),Ss=Ji("InnerBlocks",i.InnerBlocks,["ButtonBlockAppender","DefaultBlockAppender","Content"]),Es=Ji("InspectorAdvancedControls",i.InspectorAdvancedControls,["Slot"]),ws=Ji("InspectorControls",i.InspectorControls,["Slot"]),Ps=Ji("PanelColorSettings",i.PanelColorSettings),ks=Ji("PlainText",i.PlainText),Ts=Ji("RichTextShortcut",i.RichTextShortcut),Cs=Ji("RichTextToolbarButton",i.RichTextToolbarButton),xs=Ji("__unstableRichTextInputEvent",i.__unstableRichTextInputEvent),Bs=Ji("MediaPlaceholder",i.MediaPlaceholder),Is=Ji("MediaUpload",i.MediaUpload),As=Ji("MediaUploadCheck",i.MediaUploadCheck),Rs=Ji("MultiSelectScrollIntoView",i.MultiSelectScrollIntoView),Ns=Ji("NavigableToolbar",i.NavigableToolbar),Ds=Ji("ObserveTyping",i.ObserveTyping),Ls=Ji("PreserveScrollInReorder",i.PreserveScrollInReorder),Fs=Ji("SkipToSelectedBlock",i.SkipToSelectedBlock),Us=Ji("URLInput",i.URLInput),Ms=Ji("URLInputButton",i.URLInputButton),zs=Ji("URLPopover",i.URLPopover),Vs=Ji("Warning",i.Warning),Hs=Ji("WritingFlow",i.WritingFlow),Ws=Zi("createCustomColorsHOC",i.createCustomColorsHOC),Gs=Zi("getColorClassName",i.getColorClassName),qs=Zi("getColorObjectByAttributeValues",i.getColorObjectByAttributeValues),Ks=Zi("getColorObjectByColorValue",i.getColorObjectByColorValue),$s=Zi("getFontSize",i.getFontSize),Qs=Zi("getFontSizeClass",i.getFontSizeClass),Ys=Zi("withColorContext",i.withColorContext),Xs=Zi("withColors",i.withColors),Js=Zi("withFontSizes",i.withFontSizes)},RMJe:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const i=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 5.6L9.9 16.9l-4.6-3.4-.9 1.2 5.8 4.3 9.3-12.6z"}));t.a=i},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 i=e.nodeName,s=document.createElement(i);s.innerHTML=" ","TEXTAREA"===i.toUpperCase()&&s.setAttribute("rows","1");var c=o(e,"font-size");s.style.fontSize=c,s.style.padding="0px",s.style.border="0px";var a=document.body;a.appendChild(s),n=s.offsetHeight,a.removeChild(s)}return n}},RxS6:function(e,t){e.exports=window.wp.keycodes},TSYQ:function(e,t,n){var o; /*! Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see diff --git a/wp-includes/version.php b/wp-includes/version.php index dbfb0b2a10..658d14c5c4 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.8-alpha-51088'; +$wp_version = '5.8-alpha-51089'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.