diff --git a/wp-includes/assets/dist/a11y.asset.php b/wp-includes/assets/dist/a11y.asset.php index 9756e5b4ad..04c694c876 100644 --- a/wp-includes/assets/dist/a11y.asset.php +++ b/wp-includes/assets/dist/a11y.asset.php @@ -1 +1 @@ - array('wp-dom-ready', 'wp-polyfill'), 'version' => 'b550cfbfbf31ad93428152c07cdad647'); \ No newline at end of file + array('wp-dom-ready', 'wp-polyfill'), 'version' => '7699911a0e89eb3801a710a70f44d649'); \ No newline at end of file diff --git a/wp-includes/assets/dist/a11y.min.asset.php b/wp-includes/assets/dist/a11y.min.asset.php index f8cddf3e79..aa34c53d0b 100644 --- a/wp-includes/assets/dist/a11y.min.asset.php +++ b/wp-includes/assets/dist/a11y.min.asset.php @@ -1 +1 @@ - array('wp-dom-ready', 'wp-polyfill'), 'version' => '949f04593b2602ea0358388df0277eac'); \ No newline at end of file + array('wp-dom-ready', 'wp-polyfill'), 'version' => '8bd8552e4206e0b9f1dff77d8601ec2a'); \ No newline at end of file diff --git a/wp-includes/assets/dist/annotations.asset.php b/wp-includes/assets/dist/annotations.asset.php index a92cb35226..a62818849b 100644 --- a/wp-includes/assets/dist/annotations.asset.php +++ b/wp-includes/assets/dist/annotations.asset.php @@ -1 +1 @@ - array('lodash', 'wp-data', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-rich-text'), 'version' => '624b342dc5dd682c0dbeb6664fce251f'); \ No newline at end of file + array('lodash', 'wp-data', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-rich-text'), 'version' => 'ca5a49693626e544ca5470d39d672ff7'); \ No newline at end of file diff --git a/wp-includes/assets/dist/annotations.min.asset.php b/wp-includes/assets/dist/annotations.min.asset.php index 5f6552d724..5bae6d1e38 100644 --- a/wp-includes/assets/dist/annotations.min.asset.php +++ b/wp-includes/assets/dist/annotations.min.asset.php @@ -1 +1 @@ - array('lodash', 'wp-data', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-rich-text'), 'version' => '7448ae00b0c89aed6fd7b7d6b2d0ae17'); \ No newline at end of file + array('lodash', 'wp-data', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-rich-text'), 'version' => '37042822702bcd5be69a327536230e2d'); \ No newline at end of file diff --git a/wp-includes/assets/dist/api-fetch.asset.php b/wp-includes/assets/dist/api-fetch.asset.php index 91f9b0422c..a803045b3b 100644 --- a/wp-includes/assets/dist/api-fetch.asset.php +++ b/wp-includes/assets/dist/api-fetch.asset.php @@ -1 +1 @@ - array('wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '055cf0e136b8c3bad235dce42274fb70'); \ No newline at end of file + array('wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => 'a47eb092a9ce3fea91c6029ed5227791'); \ No newline at end of file diff --git a/wp-includes/assets/dist/api-fetch.min.asset.php b/wp-includes/assets/dist/api-fetch.min.asset.php index 5d58d30cec..6c99358fd7 100644 --- a/wp-includes/assets/dist/api-fetch.min.asset.php +++ b/wp-includes/assets/dist/api-fetch.min.asset.php @@ -1 +1 @@ - array('wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => 'b9effa1983c4cabc61d9ee30a46a8349'); \ No newline at end of file + array('wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '24b134915edde8c3ce88823b8af1ba15'); \ No newline at end of file diff --git a/wp-includes/assets/dist/autop.asset.php b/wp-includes/assets/dist/autop.asset.php index 449437a9dd..54b208787e 100644 --- a/wp-includes/assets/dist/autop.asset.php +++ b/wp-includes/assets/dist/autop.asset.php @@ -1 +1 @@ - array('wp-polyfill'), 'version' => '063a1e7b1d02b237abbfdab24067a399'); \ No newline at end of file + array('wp-polyfill'), 'version' => '986d601f42af6093ba4177dcd909ae7c'); \ No newline at end of file diff --git a/wp-includes/assets/dist/autop.min.asset.php b/wp-includes/assets/dist/autop.min.asset.php index 33919a5bbc..7239acbe83 100644 --- a/wp-includes/assets/dist/autop.min.asset.php +++ b/wp-includes/assets/dist/autop.min.asset.php @@ -1 +1 @@ - array('wp-polyfill'), 'version' => 'd68a92ca45b112674ff00108cbf6c5f1'); \ No newline at end of file + array('wp-polyfill'), 'version' => '3b0b44970e07eed5838bdf0244da88b7'); \ No newline at end of file diff --git a/wp-includes/assets/dist/blob.asset.php b/wp-includes/assets/dist/blob.asset.php index 8dcfdff2e5..227ef11b67 100644 --- a/wp-includes/assets/dist/blob.asset.php +++ b/wp-includes/assets/dist/blob.asset.php @@ -1 +1 @@ - array('wp-polyfill'), 'version' => 'e4dc79d1d1704e35b2a52cffee57a1eb'); \ No newline at end of file + array('wp-polyfill'), 'version' => '06325d6ee073533861d69145225f2116'); \ No newline at end of file diff --git a/wp-includes/assets/dist/blob.min.asset.php b/wp-includes/assets/dist/blob.min.asset.php index 47fef5ec62..0bd3ea9402 100644 --- a/wp-includes/assets/dist/blob.min.asset.php +++ b/wp-includes/assets/dist/blob.min.asset.php @@ -1 +1 @@ - array('wp-polyfill'), 'version' => 'aef4e225cd0194249a3bd45452c890c3'); \ No newline at end of file + array('wp-polyfill'), 'version' => 'cf4f9ec8b12027c7cdf5d5e81ed0efa9'); \ No newline at end of file diff --git a/wp-includes/assets/dist/block-directory.asset.php b/wp-includes/assets/dist/block-directory.asset.php index c05956d895..82ac0c6194 100644 --- a/wp-includes/assets/dist/block-directory.asset.php +++ b/wp-includes/assets/dist/block-directory.asset.php @@ -1 +1 @@ - array('lodash', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-plugins', 'wp-polyfill'), 'version' => 'd361033e5a5973bba973afe8948f427c'); \ No newline at end of file + array('lodash', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-plugins', 'wp-polyfill'), 'version' => '7b5afd68de9ff1a9d136d1b89e46c046'); \ No newline at end of file diff --git a/wp-includes/assets/dist/block-directory.min.asset.php b/wp-includes/assets/dist/block-directory.min.asset.php index 7dd87c9aba..6cf24286c7 100644 --- a/wp-includes/assets/dist/block-directory.min.asset.php +++ b/wp-includes/assets/dist/block-directory.min.asset.php @@ -1 +1 @@ - array('lodash', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-plugins', 'wp-polyfill'), 'version' => '4b9c959997211d4c4c8d9b7f1ca13bc6'); \ No newline at end of file + array('lodash', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-plugins', 'wp-polyfill'), 'version' => 'd15c5706d4193724c8db8c7081e525b0'); \ No newline at end of file diff --git a/wp-includes/assets/dist/block-editor.asset.php b/wp-includes/assets/dist/block-editor.asset.php index 19ef8c3ded..1870841e35 100644 --- a/wp-includes/assets/dist/block-editor.asset.php +++ b/wp-includes/assets/dist/block-editor.asset.php @@ -1 +1 @@ - 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-keycodes', 'wp-polyfill', 'wp-rich-text', 'wp-token-list', 'wp-url', 'wp-viewport', 'wp-wordcount'), 'version' => '1402c976dbdae1e9cb042faca2cdb2b2'); \ No newline at end of file + 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-polyfill', 'wp-rich-text', 'wp-token-list', 'wp-url', 'wp-viewport', 'wp-wordcount'), 'version' => '397602aaadd6c50cd661f5bf8528f8cf'); \ No newline at end of file diff --git a/wp-includes/assets/dist/block-editor.min.asset.php b/wp-includes/assets/dist/block-editor.min.asset.php index 0050a60289..4fa609ba0b 100644 --- a/wp-includes/assets/dist/block-editor.min.asset.php +++ b/wp-includes/assets/dist/block-editor.min.asset.php @@ -1 +1 @@ - 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-keycodes', 'wp-polyfill', 'wp-rich-text', 'wp-token-list', 'wp-url', 'wp-viewport', 'wp-wordcount'), 'version' => 'aca8bf0d51b6bb733e9a83f0f09b3541'); \ No newline at end of file + 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-polyfill', 'wp-rich-text', 'wp-token-list', 'wp-url', 'wp-viewport', 'wp-wordcount'), 'version' => '8b4f6ad82bdcee68731b047ecf8e53ec'); \ No newline at end of file diff --git a/wp-includes/assets/dist/block-library.asset.php b/wp-includes/assets/dist/block-library.asset.php index e86647c0af..0775a1fdf4 100644 --- a/wp-includes/assets/dist/block-library.asset.php +++ b/wp-includes/assets/dist/block-library.asset.php @@ -1 +1 @@ - array('lodash', 'moment', '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-escape-html', 'wp-i18n', 'wp-keycodes', 'wp-polyfill', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport'), 'version' => 'b98df661f8693f22b6fff0910d42b321'); \ No newline at end of file + array('lodash', 'moment', '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-escape-html', 'wp-i18n', 'wp-keycodes', 'wp-polyfill', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport'), 'version' => '577968536e5e37e04329f368b1b3da68'); \ No newline at end of file diff --git a/wp-includes/assets/dist/block-library.min.asset.php b/wp-includes/assets/dist/block-library.min.asset.php index 12f0d54216..ac15c948da 100644 --- a/wp-includes/assets/dist/block-library.min.asset.php +++ b/wp-includes/assets/dist/block-library.min.asset.php @@ -1 +1 @@ - array('lodash', 'moment', '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-escape-html', 'wp-i18n', 'wp-keycodes', 'wp-polyfill', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport'), 'version' => 'f2da5f4de15335333df4feaa2f748a15'); \ No newline at end of file + array('lodash', 'moment', '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-escape-html', 'wp-i18n', 'wp-keycodes', 'wp-polyfill', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport'), 'version' => 'e2446d2f698484a18c6695315a26f696'); \ No newline at end of file diff --git a/wp-includes/assets/dist/block-serialization-default-parser.asset.php b/wp-includes/assets/dist/block-serialization-default-parser.asset.php index 122f3dc63b..cae5e5d216 100644 --- a/wp-includes/assets/dist/block-serialization-default-parser.asset.php +++ b/wp-includes/assets/dist/block-serialization-default-parser.asset.php @@ -1 +1 @@ - array('wp-polyfill'), 'version' => '47b8f9ac28ead71f0c1b587434028a0f'); \ No newline at end of file + array('wp-polyfill'), 'version' => '4a99a4bde3aad4a4e1a7a7df59fd72fe'); \ No newline at end of file diff --git a/wp-includes/assets/dist/block-serialization-default-parser.min.asset.php b/wp-includes/assets/dist/block-serialization-default-parser.min.asset.php index 33c93b3560..748eac387c 100644 --- a/wp-includes/assets/dist/block-serialization-default-parser.min.asset.php +++ b/wp-includes/assets/dist/block-serialization-default-parser.min.asset.php @@ -1 +1 @@ - array('wp-polyfill'), 'version' => 'dce9aa90e960d1cd633cf48c26323ec5'); \ No newline at end of file + array('wp-polyfill'), 'version' => '9f4ee6952fd20a87f7756456b3ddd65e'); \ No newline at end of file diff --git a/wp-includes/assets/dist/blocks.asset.php b/wp-includes/assets/dist/blocks.asset.php index 0ca754d5da..4e1cea6058 100644 --- a/wp-includes/assets/dist/blocks.asset.php +++ b/wp-includes/assets/dist/blocks.asset.php @@ -1 +1 @@ - array('lodash', 'wp-autop', 'wp-blob', 'wp-block-serialization-default-parser', 'wp-compose', 'wp-data', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-shortcode'), 'version' => 'ba5080999dd23264ccadee812b5c65cf'); \ No newline at end of file + array('lodash', 'wp-autop', 'wp-blob', 'wp-block-serialization-default-parser', 'wp-compose', 'wp-data', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-shortcode'), 'version' => '1b37ca77e6ea17048cc0d4452ab2424a'); \ No newline at end of file diff --git a/wp-includes/assets/dist/blocks.min.asset.php b/wp-includes/assets/dist/blocks.min.asset.php index 3bdb67828e..b601d83f8d 100644 --- a/wp-includes/assets/dist/blocks.min.asset.php +++ b/wp-includes/assets/dist/blocks.min.asset.php @@ -1 +1 @@ - array('lodash', 'wp-autop', 'wp-blob', 'wp-block-serialization-default-parser', 'wp-compose', 'wp-data', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-shortcode'), 'version' => '5b5bffa1e1d75c0faab9fe4ff0eda3f2'); \ No newline at end of file + array('lodash', 'wp-autop', 'wp-blob', 'wp-block-serialization-default-parser', 'wp-compose', 'wp-data', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-shortcode'), 'version' => 'e884cc6341c5bdee9cd2af3616d9e327'); \ No newline at end of file diff --git a/wp-includes/assets/dist/components.asset.php b/wp-includes/assets/dist/components.asset.php index b65caa17b1..3ffa23da2b 100644 --- a/wp-includes/assets/dist/components.asset.php +++ b/wp-includes/assets/dist/components.asset.php @@ -1 +1 @@ - array('lodash', 'moment', 'react', 'react-dom', 'wp-a11y', 'wp-compose', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-rich-text'), 'version' => 'f73f64fbbab5b40545a909671ef0794f'); \ No newline at end of file + array('lodash', 'moment', 'react', 'react-dom', 'wp-a11y', 'wp-compose', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-rich-text'), 'version' => '2c5814288e5cae2bcd495ff78127ef90'); \ No newline at end of file diff --git a/wp-includes/assets/dist/components.min.asset.php b/wp-includes/assets/dist/components.min.asset.php index bbfab1b99f..16bd162d04 100644 --- a/wp-includes/assets/dist/components.min.asset.php +++ b/wp-includes/assets/dist/components.min.asset.php @@ -1 +1 @@ - array('lodash', 'moment', 'react', 'react-dom', 'wp-a11y', 'wp-compose', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-rich-text'), 'version' => '0185d848092c701953ecf8283d5ae82c'); \ No newline at end of file + array('lodash', 'moment', 'react', 'react-dom', 'wp-a11y', 'wp-compose', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-rich-text'), 'version' => '717d7eae82ca7b0a682ac8bb9854897a'); \ No newline at end of file diff --git a/wp-includes/assets/dist/compose.asset.php b/wp-includes/assets/dist/compose.asset.php index 9809fae6e1..bb934e3e5c 100644 --- a/wp-includes/assets/dist/compose.asset.php +++ b/wp-includes/assets/dist/compose.asset.php @@ -1 +1 @@ - array('lodash', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill'), 'version' => '36b5576f3bb424c3f7163e4a8798ce1e'); \ No newline at end of file + array('lodash', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill'), 'version' => '31bd609960e3ea0643066d77748e5f85'); \ No newline at end of file diff --git a/wp-includes/assets/dist/compose.min.asset.php b/wp-includes/assets/dist/compose.min.asset.php index af8204dd34..44cdceb71d 100644 --- a/wp-includes/assets/dist/compose.min.asset.php +++ b/wp-includes/assets/dist/compose.min.asset.php @@ -1 +1 @@ - array('lodash', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill'), 'version' => '845c092310e456ffe8def337bac75303'); \ No newline at end of file + array('lodash', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill'), 'version' => '64aa1f3413cab5fa716a02f9c85089de'); \ No newline at end of file diff --git a/wp-includes/assets/dist/core-data.asset.php b/wp-includes/assets/dist/core-data.asset.php index a9abab5ca1..7897cf9357 100644 --- a/wp-includes/assets/dist/core-data.asset.php +++ b/wp-includes/assets/dist/core-data.asset.php @@ -1 +1 @@ - array('lodash', 'wp-api-fetch', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-url'), 'version' => '4b14fe54c652f2f55dc165ce5f368e39'); \ No newline at end of file + array('lodash', 'wp-api-fetch', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-url'), 'version' => 'ca9a78bf97fdc357b45d04004501f194'); \ No newline at end of file diff --git a/wp-includes/assets/dist/core-data.min.asset.php b/wp-includes/assets/dist/core-data.min.asset.php index 3b6da3ea3d..fa34235f91 100644 --- a/wp-includes/assets/dist/core-data.min.asset.php +++ b/wp-includes/assets/dist/core-data.min.asset.php @@ -1 +1 @@ - array('lodash', 'wp-api-fetch', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-url'), 'version' => '429966f6050943802dd580f0e09d24ee'); \ No newline at end of file + array('lodash', 'wp-api-fetch', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-url'), 'version' => 'ce7ba24ba56c4c906cb61e971c39951e'); \ No newline at end of file diff --git a/wp-includes/assets/dist/data-controls.asset.php b/wp-includes/assets/dist/data-controls.asset.php index 9058c75f19..89d10b15bd 100644 --- a/wp-includes/assets/dist/data-controls.asset.php +++ b/wp-includes/assets/dist/data-controls.asset.php @@ -1 +1 @@ - array('wp-api-fetch', 'wp-data', 'wp-polyfill'), 'version' => 'be699614c0ed0d4356a6694468b28060'); \ No newline at end of file + array('wp-api-fetch', 'wp-data', 'wp-polyfill'), 'version' => '0090f3d18c699350cfe4b3e376206422'); \ No newline at end of file diff --git a/wp-includes/assets/dist/data-controls.min.asset.php b/wp-includes/assets/dist/data-controls.min.asset.php index 3f811ccc7e..edac2522f6 100644 --- a/wp-includes/assets/dist/data-controls.min.asset.php +++ b/wp-includes/assets/dist/data-controls.min.asset.php @@ -1 +1 @@ - array('wp-api-fetch', 'wp-data', 'wp-polyfill'), 'version' => '57f618bef28633a434aa668ff8119c07'); \ No newline at end of file + array('wp-api-fetch', 'wp-data', 'wp-polyfill'), 'version' => '5954bac85ea6ef2c6a29debac56ddf56'); \ No newline at end of file diff --git a/wp-includes/assets/dist/data.asset.php b/wp-includes/assets/dist/data.asset.php index 439137ce5f..fc0082ab69 100644 --- a/wp-includes/assets/dist/data.asset.php +++ b/wp-includes/assets/dist/data.asset.php @@ -1 +1 @@ - array('lodash', 'wp-compose', 'wp-deprecated', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-priority-queue', 'wp-redux-routine'), 'version' => '8fcdd4c5ac21565a6bdb9e38c5694887'); \ No newline at end of file + array('lodash', 'wp-compose', 'wp-deprecated', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-priority-queue', 'wp-redux-routine'), 'version' => '3b32f82f179ddb3b25f14cd94e9bf4b5'); \ No newline at end of file diff --git a/wp-includes/assets/dist/data.min.asset.php b/wp-includes/assets/dist/data.min.asset.php index efdcc1395b..e9a01bb5f0 100644 --- a/wp-includes/assets/dist/data.min.asset.php +++ b/wp-includes/assets/dist/data.min.asset.php @@ -1 +1 @@ - array('lodash', 'wp-compose', 'wp-deprecated', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-priority-queue', 'wp-redux-routine'), 'version' => 'fd9995bdc93117bb138646fdc4a7d38a'); \ No newline at end of file + array('lodash', 'wp-compose', 'wp-deprecated', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-priority-queue', 'wp-redux-routine'), 'version' => '27ee035a379b9bc32b7c769d10f572d5'); \ No newline at end of file diff --git a/wp-includes/assets/dist/date.asset.php b/wp-includes/assets/dist/date.asset.php index af1c61384a..a59a678a9d 100644 --- a/wp-includes/assets/dist/date.asset.php +++ b/wp-includes/assets/dist/date.asset.php @@ -1 +1 @@ - array('moment', 'wp-polyfill'), 'version' => '39a1fb7f1cc3465c6d8624af29b9ed3b'); \ No newline at end of file + array('moment', 'wp-polyfill'), 'version' => 'c4fdc2f0cfc86024019a6b4fa1d76a34'); \ No newline at end of file diff --git a/wp-includes/assets/dist/date.min.asset.php b/wp-includes/assets/dist/date.min.asset.php index 04d3f1459e..006f0d269f 100644 --- a/wp-includes/assets/dist/date.min.asset.php +++ b/wp-includes/assets/dist/date.min.asset.php @@ -1 +1 @@ - array('moment', 'wp-polyfill'), 'version' => '217ea298caa73a29f6b3ee7b51516bf6'); \ No newline at end of file + array('moment', 'wp-polyfill'), 'version' => '6736c3da3a318f698c71231e3ce2d7dd'); \ No newline at end of file diff --git a/wp-includes/assets/dist/deprecated.asset.php b/wp-includes/assets/dist/deprecated.asset.php index 380708ce3a..0e68ba99f6 100644 --- a/wp-includes/assets/dist/deprecated.asset.php +++ b/wp-includes/assets/dist/deprecated.asset.php @@ -1 +1 @@ - array('wp-hooks', 'wp-polyfill'), 'version' => '9f41e2a9af017bfa3f951e84b17ae823'); \ No newline at end of file + array('wp-hooks', 'wp-polyfill'), 'version' => '98278be2169021801d157877a3cf40f9'); \ No newline at end of file diff --git a/wp-includes/assets/dist/deprecated.min.asset.php b/wp-includes/assets/dist/deprecated.min.asset.php index 16ed5021ef..ed04273a24 100644 --- a/wp-includes/assets/dist/deprecated.min.asset.php +++ b/wp-includes/assets/dist/deprecated.min.asset.php @@ -1 +1 @@ - array('wp-hooks', 'wp-polyfill'), 'version' => '983cd667045a01098d99f32ecd90dfe9'); \ No newline at end of file + array('wp-hooks', 'wp-polyfill'), 'version' => 'ba3f4d1e0daeabf65f40d83c9fc44c8b'); \ No newline at end of file diff --git a/wp-includes/assets/dist/dom-ready.asset.php b/wp-includes/assets/dist/dom-ready.asset.php index 28c43a7982..06901ebd02 100644 --- a/wp-includes/assets/dist/dom-ready.asset.php +++ b/wp-includes/assets/dist/dom-ready.asset.php @@ -1 +1 @@ - array('wp-polyfill'), 'version' => '9a8018d0ebab45c15471eb9767c153ba'); \ No newline at end of file + array('wp-polyfill'), 'version' => 'ad9a96a6b69bd71325ab82b4b338a2f9'); \ No newline at end of file diff --git a/wp-includes/assets/dist/dom-ready.min.asset.php b/wp-includes/assets/dist/dom-ready.min.asset.php index b5f7a4d021..7d1fc039d1 100644 --- a/wp-includes/assets/dist/dom-ready.min.asset.php +++ b/wp-includes/assets/dist/dom-ready.min.asset.php @@ -1 +1 @@ - array('wp-polyfill'), 'version' => '8c85082df558fd1b2397ce4dc599555d'); \ No newline at end of file + array('wp-polyfill'), 'version' => 'b1f08252a028cf5ad8523cfecd8b52b0'); \ No newline at end of file diff --git a/wp-includes/assets/dist/dom.asset.php b/wp-includes/assets/dist/dom.asset.php index 861cde952b..e210a6f654 100644 --- a/wp-includes/assets/dist/dom.asset.php +++ b/wp-includes/assets/dist/dom.asset.php @@ -1 +1 @@ - array('lodash', 'wp-polyfill'), 'version' => '06e41b666f1d37b752ea1c6678d659ff'); \ No newline at end of file + array('lodash', 'wp-polyfill'), 'version' => '2326d3eda71b5c4ead4a41d401e458f1'); \ No newline at end of file diff --git a/wp-includes/assets/dist/dom.min.asset.php b/wp-includes/assets/dist/dom.min.asset.php index f90142073b..70d11b4faa 100644 --- a/wp-includes/assets/dist/dom.min.asset.php +++ b/wp-includes/assets/dist/dom.min.asset.php @@ -1 +1 @@ - array('lodash', 'wp-polyfill'), 'version' => 'fc4fa8d0d180a9237cfe7a08be80087d'); \ No newline at end of file + array('lodash', 'wp-polyfill'), 'version' => '8ee1cc9640bf9b2d2e089cb0d5696446'); \ No newline at end of file diff --git a/wp-includes/assets/dist/edit-post.asset.php b/wp-includes/assets/dist/edit-post.asset.php index fb68dde7fa..0af4f5319e 100644 --- a/wp-includes/assets/dist/edit-post.asset.php +++ b/wp-includes/assets/dist/edit-post.asset.php @@ -1 +1 @@ - 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-editor', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-nux', 'wp-plugins', 'wp-polyfill', 'wp-url', 'wp-viewport'), 'version' => '269262b93672eaa34e317fe24499e1a8'); \ No newline at end of file + 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-editor', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-url', 'wp-viewport'), 'version' => 'e4b55a4e99da187e1667d2132e264e50'); \ No newline at end of file diff --git a/wp-includes/assets/dist/edit-post.min.asset.php b/wp-includes/assets/dist/edit-post.min.asset.php index 55d562b002..932353dafa 100644 --- a/wp-includes/assets/dist/edit-post.min.asset.php +++ b/wp-includes/assets/dist/edit-post.min.asset.php @@ -1 +1 @@ - 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-editor', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-nux', 'wp-plugins', 'wp-polyfill', 'wp-url', 'wp-viewport'), 'version' => '4367638419c76401531263822d3f5c6b'); \ No newline at end of file + 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-editor', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-url', 'wp-viewport'), 'version' => '6258e84d5c114442864afd5febc8667e'); \ No newline at end of file diff --git a/wp-includes/assets/dist/editor.asset.php b/wp-includes/assets/dist/editor.asset.php index 2f5706f3c3..5ffa99cfc5 100644 --- a/wp-includes/assets/dist/editor.asset.php +++ b/wp-includes/assets/dist/editor.asset.php @@ -1 +1 @@ - array('lodash', 'react', 'wp-api-fetch', 'wp-autop', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-date', 'wp-deprecated', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-nux', 'wp-polyfill', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport', 'wp-wordcount'), 'version' => '3bd1c0b29b6117541665996acddeb90a'); \ No newline at end of file + array('lodash', 'react', 'wp-api-fetch', 'wp-autop', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-date', 'wp-deprecated', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-polyfill', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport', 'wp-wordcount'), 'version' => 'baaf789fd3fdaeb0efa3e66fd8e8ff71'); \ No newline at end of file diff --git a/wp-includes/assets/dist/editor.min.asset.php b/wp-includes/assets/dist/editor.min.asset.php index ecc5d137c7..f4dc37f677 100644 --- a/wp-includes/assets/dist/editor.min.asset.php +++ b/wp-includes/assets/dist/editor.min.asset.php @@ -1 +1 @@ - array('lodash', 'react', 'wp-api-fetch', 'wp-autop', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-date', 'wp-deprecated', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-nux', 'wp-polyfill', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport', 'wp-wordcount'), 'version' => '3d5f201b3e3b63ccfc9de6e412362837'); \ No newline at end of file + array('lodash', 'react', 'wp-api-fetch', 'wp-autop', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-date', 'wp-deprecated', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-polyfill', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport', 'wp-wordcount'), 'version' => '29cf8366bffa2927225f6540ef03104a'); \ No newline at end of file diff --git a/wp-includes/assets/dist/element.asset.php b/wp-includes/assets/dist/element.asset.php index 9d9ccc7660..191a7ee4a9 100644 --- a/wp-includes/assets/dist/element.asset.php +++ b/wp-includes/assets/dist/element.asset.php @@ -1 +1 @@ - array('lodash', 'react', 'react-dom', 'wp-escape-html', 'wp-polyfill'), 'version' => '198c79910430d43bf7d187f5f60385c5'); \ No newline at end of file + array('lodash', 'react', 'react-dom', 'wp-escape-html', 'wp-polyfill'), 'version' => '041d5d9e6498bb8c1e9b82b6d57499c6'); \ No newline at end of file diff --git a/wp-includes/assets/dist/element.min.asset.php b/wp-includes/assets/dist/element.min.asset.php index c1d1a10ff2..545a56937b 100644 --- a/wp-includes/assets/dist/element.min.asset.php +++ b/wp-includes/assets/dist/element.min.asset.php @@ -1 +1 @@ - array('lodash', 'react', 'react-dom', 'wp-escape-html', 'wp-polyfill'), 'version' => '4653afc805fab421333d7741389dce09'); \ No newline at end of file + array('lodash', 'react', 'react-dom', 'wp-escape-html', 'wp-polyfill'), 'version' => '940b3c2f24c3a4d9f0ce951bc0c93efb'); \ No newline at end of file diff --git a/wp-includes/assets/dist/escape-html.asset.php b/wp-includes/assets/dist/escape-html.asset.php index e91324cdbf..0d9cc1f418 100644 --- a/wp-includes/assets/dist/escape-html.asset.php +++ b/wp-includes/assets/dist/escape-html.asset.php @@ -1 +1 @@ - array('wp-polyfill'), 'version' => '4f532600cc17acf2079e19e86c7a8203'); \ No newline at end of file + array('wp-polyfill'), 'version' => '171d9fa97492a79fbefa60e940b89588'); \ No newline at end of file diff --git a/wp-includes/assets/dist/escape-html.min.asset.php b/wp-includes/assets/dist/escape-html.min.asset.php index 65d8f37619..c0a29282e3 100644 --- a/wp-includes/assets/dist/escape-html.min.asset.php +++ b/wp-includes/assets/dist/escape-html.min.asset.php @@ -1 +1 @@ - array('wp-polyfill'), 'version' => '050af822d90e5a74545185ee7a53f8a8'); \ No newline at end of file + array('wp-polyfill'), 'version' => '74f7236fc76b94c146587679dc7d81ef'); \ No newline at end of file diff --git a/wp-includes/assets/dist/format-library.asset.php b/wp-includes/assets/dist/format-library.asset.php index f6b1d7dcaf..4a7a040eb7 100644 --- a/wp-includes/assets/dist/format-library.asset.php +++ b/wp-includes/assets/dist/format-library.asset.php @@ -1 +1 @@ - array('lodash', 'wp-block-editor', 'wp-components', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-keycodes', 'wp-polyfill', 'wp-rich-text', 'wp-url'), 'version' => 'aadb82ab286d709ff5ace112d32b0945'); \ No newline at end of file + array('lodash', 'wp-block-editor', 'wp-components', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-keycodes', 'wp-polyfill', 'wp-rich-text', 'wp-url'), 'version' => 'ccc31141b77af5b17be16e61e54271e7'); \ No newline at end of file diff --git a/wp-includes/assets/dist/format-library.min.asset.php b/wp-includes/assets/dist/format-library.min.asset.php index e2fc037c63..b35cd0a594 100644 --- a/wp-includes/assets/dist/format-library.min.asset.php +++ b/wp-includes/assets/dist/format-library.min.asset.php @@ -1 +1 @@ - array('lodash', 'wp-block-editor', 'wp-components', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-keycodes', 'wp-polyfill', 'wp-rich-text', 'wp-url'), 'version' => 'c1714240074f33f9d9f29237d5e7f0bd'); \ No newline at end of file + array('lodash', 'wp-block-editor', 'wp-components', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-keycodes', 'wp-polyfill', 'wp-rich-text', 'wp-url'), 'version' => '28435e96cf148f78312ab3b0bb2cd7ec'); \ No newline at end of file diff --git a/wp-includes/assets/dist/hooks.asset.php b/wp-includes/assets/dist/hooks.asset.php index f63cb8cf26..0e14380465 100644 --- a/wp-includes/assets/dist/hooks.asset.php +++ b/wp-includes/assets/dist/hooks.asset.php @@ -1 +1 @@ - array('wp-polyfill'), 'version' => '45bcb9ecf4f788c81c4dfdfc1ea9f9ea'); \ No newline at end of file + array('wp-polyfill'), 'version' => 'f878f51015523f34c14b7b2fa0f26e4d'); \ No newline at end of file diff --git a/wp-includes/assets/dist/hooks.min.asset.php b/wp-includes/assets/dist/hooks.min.asset.php index 2d5aad176b..47f2f521c8 100644 --- a/wp-includes/assets/dist/hooks.min.asset.php +++ b/wp-includes/assets/dist/hooks.min.asset.php @@ -1 +1 @@ - array('wp-polyfill'), 'version' => 'fa7de92c42efd66dad5abb0ddb9965ee'); \ No newline at end of file + array('wp-polyfill'), 'version' => '1023cf48483059fb474183407795098b'); \ No newline at end of file diff --git a/wp-includes/assets/dist/html-entities.asset.php b/wp-includes/assets/dist/html-entities.asset.php index af10c9f7a2..6b793ec109 100644 --- a/wp-includes/assets/dist/html-entities.asset.php +++ b/wp-includes/assets/dist/html-entities.asset.php @@ -1 +1 @@ - array('wp-polyfill'), 'version' => 'ec6a26e0bc2ff7d15c7921c3162a0e31'); \ No newline at end of file + array('wp-polyfill'), 'version' => 'b414d1806f8781970a893fab94670e01'); \ No newline at end of file diff --git a/wp-includes/assets/dist/html-entities.min.asset.php b/wp-includes/assets/dist/html-entities.min.asset.php index d0d1465b38..31af3938a6 100644 --- a/wp-includes/assets/dist/html-entities.min.asset.php +++ b/wp-includes/assets/dist/html-entities.min.asset.php @@ -1 +1 @@ - array('wp-polyfill'), 'version' => '8db96de515fbb89a191ac9bb89a514e4'); \ No newline at end of file + array('wp-polyfill'), 'version' => 'e43546d8be4ddc147b1af23b1ca9b7c6'); \ No newline at end of file diff --git a/wp-includes/assets/dist/i18n.asset.php b/wp-includes/assets/dist/i18n.asset.php index 9223f9000a..fd0914f065 100644 --- a/wp-includes/assets/dist/i18n.asset.php +++ b/wp-includes/assets/dist/i18n.asset.php @@ -1 +1 @@ - array('wp-polyfill'), 'version' => 'fe70686f9c30c563e7591519fa6db788'); \ No newline at end of file + array('wp-polyfill'), 'version' => '3e14131969a3440d40bdf88abb743351'); \ No newline at end of file diff --git a/wp-includes/assets/dist/i18n.min.asset.php b/wp-includes/assets/dist/i18n.min.asset.php index caed0c9e53..e068856273 100644 --- a/wp-includes/assets/dist/i18n.min.asset.php +++ b/wp-includes/assets/dist/i18n.min.asset.php @@ -1 +1 @@ - array('wp-polyfill'), 'version' => 'c8d6e29df487dd30ed2ae650f4d546ef'); \ No newline at end of file + array('wp-polyfill'), 'version' => 'a945f7d27284e21d0cd45dd9b1d7439d'); \ No newline at end of file diff --git a/wp-includes/assets/dist/is-shallow-equal.asset.php b/wp-includes/assets/dist/is-shallow-equal.asset.php index 17459e42ac..d0e2d2f12c 100644 --- a/wp-includes/assets/dist/is-shallow-equal.asset.php +++ b/wp-includes/assets/dist/is-shallow-equal.asset.php @@ -1 +1 @@ - array('wp-polyfill'), 'version' => '81feeb76be886481821521782fa84faa'); \ No newline at end of file + array('wp-polyfill'), 'version' => 'f18a853a75337765552aa80ec240d2c4'); \ No newline at end of file diff --git a/wp-includes/assets/dist/is-shallow-equal.min.asset.php b/wp-includes/assets/dist/is-shallow-equal.min.asset.php index 2c59388b09..af5ed9266e 100644 --- a/wp-includes/assets/dist/is-shallow-equal.min.asset.php +++ b/wp-includes/assets/dist/is-shallow-equal.min.asset.php @@ -1 +1 @@ - array('wp-polyfill'), 'version' => 'c74e6be321826f95c3a4d8136a639e84'); \ No newline at end of file + array('wp-polyfill'), 'version' => '606418d7c0afbecac50def38cf73cc99'); \ No newline at end of file diff --git a/wp-includes/assets/dist/keyboard-shortcuts.asset.php b/wp-includes/assets/dist/keyboard-shortcuts.asset.php new file mode 100644 index 0000000000..c938f5ecdb --- /dev/null +++ b/wp-includes/assets/dist/keyboard-shortcuts.asset.php @@ -0,0 +1 @@ + array('lodash', 'wp-compose', 'wp-data', 'wp-keycodes', 'wp-polyfill'), 'version' => 'd7f57a03d8cdd326b977be4e8e915047'); \ No newline at end of file diff --git a/wp-includes/assets/dist/keyboard-shortcuts.min.asset.php b/wp-includes/assets/dist/keyboard-shortcuts.min.asset.php new file mode 100644 index 0000000000..e54103fc52 --- /dev/null +++ b/wp-includes/assets/dist/keyboard-shortcuts.min.asset.php @@ -0,0 +1 @@ + array('lodash', 'wp-compose', 'wp-data', 'wp-keycodes', 'wp-polyfill'), 'version' => 'efcf4028921e050003778edab9f1acef'); \ No newline at end of file diff --git a/wp-includes/assets/dist/keycodes.asset.php b/wp-includes/assets/dist/keycodes.asset.php index 389816ad58..9073bcac02 100644 --- a/wp-includes/assets/dist/keycodes.asset.php +++ b/wp-includes/assets/dist/keycodes.asset.php @@ -1 +1 @@ - array('lodash', 'wp-i18n', 'wp-polyfill'), 'version' => 'fae7a8937f7171218dde29bcfd59d908'); \ No newline at end of file + array('lodash', 'wp-i18n', 'wp-polyfill'), 'version' => '2a46fa93abeef1b8e79bdb60606c3976'); \ No newline at end of file diff --git a/wp-includes/assets/dist/keycodes.min.asset.php b/wp-includes/assets/dist/keycodes.min.asset.php index 54030c5973..0494b7a9ff 100644 --- a/wp-includes/assets/dist/keycodes.min.asset.php +++ b/wp-includes/assets/dist/keycodes.min.asset.php @@ -1 +1 @@ - array('lodash', 'wp-i18n', 'wp-polyfill'), 'version' => '54b68da38ab20d5a9642af4677a928c3'); \ No newline at end of file + array('lodash', 'wp-i18n', 'wp-polyfill'), 'version' => '056756997aa64f1d410a14083af55d13'); \ No newline at end of file diff --git a/wp-includes/assets/dist/list-reusable-blocks.asset.php b/wp-includes/assets/dist/list-reusable-blocks.asset.php index b97ca76908..f94afdbaf4 100644 --- a/wp-includes/assets/dist/list-reusable-blocks.asset.php +++ b/wp-includes/assets/dist/list-reusable-blocks.asset.php @@ -1 +1 @@ - array('lodash', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '364dcad3ef9042d7fda48839c42eefe0'); \ No newline at end of file + array('lodash', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '91c37c1ed8442b1ae07a695e16ad7c88'); \ No newline at end of file diff --git a/wp-includes/assets/dist/list-reusable-blocks.min.asset.php b/wp-includes/assets/dist/list-reusable-blocks.min.asset.php index a7896a7804..ebd899e6c9 100644 --- a/wp-includes/assets/dist/list-reusable-blocks.min.asset.php +++ b/wp-includes/assets/dist/list-reusable-blocks.min.asset.php @@ -1 +1 @@ - array('lodash', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => 'b1e29611adbfb4ec104a91b5ff1092d3'); \ No newline at end of file + array('lodash', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '62ea29c961b22c6cdc3ead3d72b8ffaf'); \ No newline at end of file diff --git a/wp-includes/assets/dist/media-utils.asset.php b/wp-includes/assets/dist/media-utils.asset.php index bdbfecbc5d..03516c8d4c 100644 --- a/wp-includes/assets/dist/media-utils.asset.php +++ b/wp-includes/assets/dist/media-utils.asset.php @@ -1 +1 @@ - array('lodash', 'wp-api-fetch', 'wp-blob', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '72ad65c1e6a00991bdbfec403ab1cfdb'); \ No newline at end of file + array('lodash', 'wp-api-fetch', 'wp-blob', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '42a86b06794d1e4c45d3c8b4270cc0a5'); \ No newline at end of file diff --git a/wp-includes/assets/dist/media-utils.min.asset.php b/wp-includes/assets/dist/media-utils.min.asset.php index a9ca201c31..9d15affee0 100644 --- a/wp-includes/assets/dist/media-utils.min.asset.php +++ b/wp-includes/assets/dist/media-utils.min.asset.php @@ -1 +1 @@ - array('lodash', 'wp-api-fetch', 'wp-blob', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '2b01ef53f861aba77a65112734fdb574'); \ No newline at end of file + array('lodash', 'wp-api-fetch', 'wp-blob', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '33cd0419af60555b0df45cd68b503101'); \ No newline at end of file diff --git a/wp-includes/assets/dist/notices.asset.php b/wp-includes/assets/dist/notices.asset.php index 18f87855e0..6fb8475ab4 100644 --- a/wp-includes/assets/dist/notices.asset.php +++ b/wp-includes/assets/dist/notices.asset.php @@ -1 +1 @@ - array('lodash', 'wp-a11y', 'wp-data', 'wp-polyfill'), 'version' => '189c34a5316c4596a08edd678eddffcd'); \ No newline at end of file + array('lodash', 'wp-a11y', 'wp-data', 'wp-polyfill'), 'version' => '126339474a70df50d125c01d03f984df'); \ No newline at end of file diff --git a/wp-includes/assets/dist/notices.min.asset.php b/wp-includes/assets/dist/notices.min.asset.php index fd765b80e4..b72bd7e372 100644 --- a/wp-includes/assets/dist/notices.min.asset.php +++ b/wp-includes/assets/dist/notices.min.asset.php @@ -1 +1 @@ - array('lodash', 'wp-a11y', 'wp-data', 'wp-polyfill'), 'version' => '9084ef6f066d98134197aef87a4b8792'); \ No newline at end of file + array('lodash', 'wp-a11y', 'wp-data', 'wp-polyfill'), 'version' => 'f1043f7f87f401f542dac9f886ca4369'); \ No newline at end of file diff --git a/wp-includes/assets/dist/nux.asset.php b/wp-includes/assets/dist/nux.asset.php index fdb441520f..3d503ff35e 100644 --- a/wp-includes/assets/dist/nux.asset.php +++ b/wp-includes/assets/dist/nux.asset.php @@ -1 +1 @@ - array('lodash', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '505833af97e47ee87859d9de3330e3eb'); \ No newline at end of file + array('lodash', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => 'b1b7ba7b6ea66fcc802dfc32ee11bbc5'); \ No newline at end of file diff --git a/wp-includes/assets/dist/nux.min.asset.php b/wp-includes/assets/dist/nux.min.asset.php index eaf4b9b0f3..66110720c6 100644 --- a/wp-includes/assets/dist/nux.min.asset.php +++ b/wp-includes/assets/dist/nux.min.asset.php @@ -1 +1 @@ - array('lodash', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '9a161864b65ac8d69c95df31f7f15a1e'); \ No newline at end of file + array('lodash', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '9657de64fd2d4805c9cce42a14ee0402'); \ No newline at end of file diff --git a/wp-includes/assets/dist/plugins.asset.php b/wp-includes/assets/dist/plugins.asset.php index 3598ff52e6..5549a51e23 100644 --- a/wp-includes/assets/dist/plugins.asset.php +++ b/wp-includes/assets/dist/plugins.asset.php @@ -1 +1 @@ - array('lodash', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-polyfill'), 'version' => 'c4dc925bff8febd140e6a30a9b3c842a'); \ No newline at end of file + array('lodash', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-polyfill'), 'version' => '2b0fcda614c605e8942d6e1b1cfc4751'); \ No newline at end of file diff --git a/wp-includes/assets/dist/plugins.min.asset.php b/wp-includes/assets/dist/plugins.min.asset.php index c79349aadc..5fdbdbe478 100644 --- a/wp-includes/assets/dist/plugins.min.asset.php +++ b/wp-includes/assets/dist/plugins.min.asset.php @@ -1 +1 @@ - array('lodash', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-polyfill'), 'version' => 'e0c254668832d0137d31c516b277546e'); \ No newline at end of file + array('lodash', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-polyfill'), 'version' => '2db6284747004c1e07983d48483d30bd'); \ No newline at end of file diff --git a/wp-includes/assets/dist/priority-queue.asset.php b/wp-includes/assets/dist/priority-queue.asset.php index 088e4468d2..0e8f0d1730 100644 --- a/wp-includes/assets/dist/priority-queue.asset.php +++ b/wp-includes/assets/dist/priority-queue.asset.php @@ -1 +1 @@ - array('wp-polyfill'), 'version' => 'c26ee7dc2bad85d186730cba3b6f21cd'); \ No newline at end of file + array('wp-polyfill'), 'version' => '49eda3753b8a0a4074e935ab5f15e2e9'); \ No newline at end of file diff --git a/wp-includes/assets/dist/priority-queue.min.asset.php b/wp-includes/assets/dist/priority-queue.min.asset.php index 413d316ba6..75f451e058 100644 --- a/wp-includes/assets/dist/priority-queue.min.asset.php +++ b/wp-includes/assets/dist/priority-queue.min.asset.php @@ -1 +1 @@ - array('wp-polyfill'), 'version' => '498b7b88dba973cf5fdfa5c03affb619'); \ No newline at end of file + array('wp-polyfill'), 'version' => 'e12c40dc844d42c39861d244894ad1b1'); \ No newline at end of file diff --git a/wp-includes/assets/dist/redux-routine.asset.php b/wp-includes/assets/dist/redux-routine.asset.php index f2bf6f1581..41dcb5a1b2 100644 --- a/wp-includes/assets/dist/redux-routine.asset.php +++ b/wp-includes/assets/dist/redux-routine.asset.php @@ -1 +1 @@ - array('lodash', 'wp-polyfill'), 'version' => '0f677a062b9085b0ab3891738fa96625'); \ No newline at end of file + array('lodash', 'wp-polyfill'), 'version' => '2781625b4b4d2280b1941162c9ce9ff7'); \ No newline at end of file diff --git a/wp-includes/assets/dist/redux-routine.min.asset.php b/wp-includes/assets/dist/redux-routine.min.asset.php index 7b38e608e7..6f9eef12ef 100644 --- a/wp-includes/assets/dist/redux-routine.min.asset.php +++ b/wp-includes/assets/dist/redux-routine.min.asset.php @@ -1 +1 @@ - array('lodash', 'wp-polyfill'), 'version' => 'e885e6d251c8f5743318550f4c2d59ff'); \ No newline at end of file + array('lodash', 'wp-polyfill'), 'version' => '683728fb1cc669d05a81aeb8128246cc'); \ No newline at end of file diff --git a/wp-includes/assets/dist/rich-text.asset.php b/wp-includes/assets/dist/rich-text.asset.php index 9843d121a6..1d4cea169c 100644 --- a/wp-includes/assets/dist/rich-text.asset.php +++ b/wp-includes/assets/dist/rich-text.asset.php @@ -1 +1 @@ - array('lodash', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-escape-html', 'wp-hooks', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill'), 'version' => 'ceb6acbc9c03f3055bc6701e06c7679c'); \ No newline at end of file + array('lodash', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-escape-html', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill'), 'version' => '6b1e3494043a8fb5148ad8899e33c3e0'); \ No newline at end of file diff --git a/wp-includes/assets/dist/rich-text.min.asset.php b/wp-includes/assets/dist/rich-text.min.asset.php index bbc76a9c0f..9145642c77 100644 --- a/wp-includes/assets/dist/rich-text.min.asset.php +++ b/wp-includes/assets/dist/rich-text.min.asset.php @@ -1 +1 @@ - array('lodash', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-escape-html', 'wp-hooks', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill'), 'version' => '3f0a5ca539e3eda42f8be93b6daa9221'); \ No newline at end of file + array('lodash', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-escape-html', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill'), 'version' => 'c53077d3cccf82c93b66e1cd615b72cd'); \ No newline at end of file diff --git a/wp-includes/assets/dist/server-side-render.asset.php b/wp-includes/assets/dist/server-side-render.asset.php index 3d96dabbc0..0890114824 100644 --- a/wp-includes/assets/dist/server-side-render.asset.php +++ b/wp-includes/assets/dist/server-side-render.asset.php @@ -1 +1 @@ - array('lodash', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => 'd8cf864e37f0c604d75779f634469359'); \ No newline at end of file + array('lodash', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '09eb281c0551564f34affca164b3cd74'); \ No newline at end of file diff --git a/wp-includes/assets/dist/server-side-render.min.asset.php b/wp-includes/assets/dist/server-side-render.min.asset.php index 2dc99473c8..368f62923a 100644 --- a/wp-includes/assets/dist/server-side-render.min.asset.php +++ b/wp-includes/assets/dist/server-side-render.min.asset.php @@ -1 +1 @@ - array('lodash', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '2560702b7e8e4a5d952eb82eb7fe73e1'); \ No newline at end of file + array('lodash', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '32153e24c6d32c95f8a7cf202b603387'); \ No newline at end of file diff --git a/wp-includes/assets/dist/shortcode.asset.php b/wp-includes/assets/dist/shortcode.asset.php index 932995d7bb..9a0e261a09 100644 --- a/wp-includes/assets/dist/shortcode.asset.php +++ b/wp-includes/assets/dist/shortcode.asset.php @@ -1 +1 @@ - array('lodash', 'wp-polyfill'), 'version' => 'c39732078c12bd0ce674e2a75e868a35'); \ No newline at end of file + array('lodash', 'wp-polyfill'), 'version' => '495ddae657259880e87495ec44329117'); \ No newline at end of file diff --git a/wp-includes/assets/dist/shortcode.min.asset.php b/wp-includes/assets/dist/shortcode.min.asset.php index 2f480df6ad..040461ba90 100644 --- a/wp-includes/assets/dist/shortcode.min.asset.php +++ b/wp-includes/assets/dist/shortcode.min.asset.php @@ -1 +1 @@ - array('lodash', 'wp-polyfill'), 'version' => 'a909acb7e0d211fd3c035e192c42e1f1'); \ No newline at end of file + array('lodash', 'wp-polyfill'), 'version' => 'db30a30efc536aa73644c270d248156c'); \ No newline at end of file diff --git a/wp-includes/assets/dist/token-list.asset.php b/wp-includes/assets/dist/token-list.asset.php index c5225a326e..30f41f57b0 100644 --- a/wp-includes/assets/dist/token-list.asset.php +++ b/wp-includes/assets/dist/token-list.asset.php @@ -1 +1 @@ - array('lodash', 'wp-polyfill'), 'version' => '429397aa7d855f881439c61e77d0741d'); \ No newline at end of file + array('lodash', 'wp-polyfill'), 'version' => '574e74b48a0812e6efc20cd95aaada5b'); \ No newline at end of file diff --git a/wp-includes/assets/dist/token-list.min.asset.php b/wp-includes/assets/dist/token-list.min.asset.php index 0acd1a3064..2d92979d82 100644 --- a/wp-includes/assets/dist/token-list.min.asset.php +++ b/wp-includes/assets/dist/token-list.min.asset.php @@ -1 +1 @@ - array('lodash', 'wp-polyfill'), 'version' => '5cf099bb12722856cbd3fc97f180655d'); \ No newline at end of file + array('lodash', 'wp-polyfill'), 'version' => '6ecfcab905ca95071365135cfc065559'); \ No newline at end of file diff --git a/wp-includes/assets/dist/url.asset.php b/wp-includes/assets/dist/url.asset.php index 6221ce259e..66bdb2e986 100644 --- a/wp-includes/assets/dist/url.asset.php +++ b/wp-includes/assets/dist/url.asset.php @@ -1 +1 @@ - array('wp-polyfill'), 'version' => '68a1becc435e0b28372b85fcb733bf38'); \ No newline at end of file + array('wp-polyfill'), 'version' => 'a7d4e2ef17087561d4288edc1997789f'); \ No newline at end of file diff --git a/wp-includes/assets/dist/url.min.asset.php b/wp-includes/assets/dist/url.min.asset.php index 2b3de3eebf..f98a332c99 100644 --- a/wp-includes/assets/dist/url.min.asset.php +++ b/wp-includes/assets/dist/url.min.asset.php @@ -1 +1 @@ - array('wp-polyfill'), 'version' => '2b26b591e7ff8f2df79327a3d5efb5e4'); \ No newline at end of file + array('wp-polyfill'), 'version' => 'f8bd947efc4b1e637d69e2db9f7920b8'); \ No newline at end of file diff --git a/wp-includes/assets/dist/viewport.asset.php b/wp-includes/assets/dist/viewport.asset.php index 69c2d74ca2..e534f3e0ae 100644 --- a/wp-includes/assets/dist/viewport.asset.php +++ b/wp-includes/assets/dist/viewport.asset.php @@ -1 +1 @@ - array('lodash', 'wp-compose', 'wp-data', 'wp-element', 'wp-polyfill'), 'version' => 'cdb30475cfdf6f34f3bf8047adc42b76'); \ No newline at end of file + array('lodash', 'wp-compose', 'wp-data', 'wp-element', 'wp-polyfill'), 'version' => '9dbbdcdc5d8911f92ff4a75e98f02c4d'); \ No newline at end of file diff --git a/wp-includes/assets/dist/viewport.min.asset.php b/wp-includes/assets/dist/viewport.min.asset.php index fca889039f..f0a3e5c1e9 100644 --- a/wp-includes/assets/dist/viewport.min.asset.php +++ b/wp-includes/assets/dist/viewport.min.asset.php @@ -1 +1 @@ - array('lodash', 'wp-compose', 'wp-data', 'wp-element', 'wp-polyfill'), 'version' => 'c922df427172be6e6bebea15b9b37447'); \ No newline at end of file + array('lodash', 'wp-compose', 'wp-data', 'wp-element', 'wp-polyfill'), 'version' => '7b3ff62a4b98d6d13e70e3511ba0e3b2'); \ No newline at end of file diff --git a/wp-includes/assets/dist/wordcount.asset.php b/wp-includes/assets/dist/wordcount.asset.php index da9e12a617..5d584e9531 100644 --- a/wp-includes/assets/dist/wordcount.asset.php +++ b/wp-includes/assets/dist/wordcount.asset.php @@ -1 +1 @@ - array('lodash', 'wp-polyfill'), 'version' => '99c9fefa5457f597c622bbf6365f7233'); \ No newline at end of file + array('lodash', 'wp-polyfill'), 'version' => '1083ae5937fec965141ec9f6f0444bb6'); \ No newline at end of file diff --git a/wp-includes/assets/dist/wordcount.min.asset.php b/wp-includes/assets/dist/wordcount.min.asset.php index 95c2e70a00..91b4cd32ab 100644 --- a/wp-includes/assets/dist/wordcount.min.asset.php +++ b/wp-includes/assets/dist/wordcount.min.asset.php @@ -1 +1 @@ - array('lodash', 'wp-polyfill'), 'version' => '3f31049a90b00abd90dd61db7add69f6'); \ No newline at end of file + array('lodash', 'wp-polyfill'), 'version' => '381a53ca5c410d72dc3e109c6c3fec28'); \ No newline at end of file diff --git a/wp-includes/css/dist/block-directory/style-rtl.css b/wp-includes/css/dist/block-directory/style-rtl.css index c0c7ce0f86..f435c8402c 100644 --- a/wp-includes/css/dist/block-directory/style-rtl.css +++ b/wp-includes/css/dist/block-directory/style-rtl.css @@ -4,6 +4,9 @@ /** * Breakpoints & Media Queries */ +/** + * Colors + */ /** * Often re-used variables */ diff --git a/wp-includes/css/dist/block-directory/style.css b/wp-includes/css/dist/block-directory/style.css index a7de44e017..32f6a4b36b 100644 --- a/wp-includes/css/dist/block-directory/style.css +++ b/wp-includes/css/dist/block-directory/style.css @@ -4,6 +4,9 @@ /** * Breakpoints & Media Queries */ +/** + * Colors + */ /** * Often re-used variables */ diff --git a/wp-includes/css/dist/block-editor/style-rtl.css b/wp-includes/css/dist/block-editor/style-rtl.css index b4bf3d4257..0d2adbf2f6 100644 --- a/wp-includes/css/dist/block-editor/style-rtl.css +++ b/wp-includes/css/dist/block-editor/style-rtl.css @@ -4,6 +4,9 @@ /** * Breakpoints & Media Queries */ +/** + * Colors + */ /** * Often re-used variables */ @@ -113,9 +116,6 @@ padding: 32px 16px; text-align: center; } -.block-editor-block-list__layout .components-draggable__clone .block-editor-block-contextual-toolbar { - display: none !important; } - .block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging .block-editor-block-list__block-edit::before { border: none; } @@ -125,10 +125,6 @@ .block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging > .block-editor-block-list__block-edit > * > * { visibility: hidden; } -.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging .block-editor-block-mover, -.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging .block-editor-block-contextual-toolbar { - display: none; } - .block-editor-block-list__layout .block-editor-block-list__block.is-selected > .block-editor-block-list__block-edit .reusable-block-edit-panel * { z-index: 1; } @@ -171,8 +167,6 @@ font-size: 13px; } .block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__block-edit { position: relative; } - .block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__block-edit.has-mover-inside > [data-block] { - display: flex; } .block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__block-edit::before { z-index: 0; content: ""; @@ -219,24 +213,19 @@ /** * Cross-Block Selection */ -.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected > .block-editor-block-list__block-edit::before { - border-right-color: rgba(66, 88, 99, 0.4); - box-shadow: inset -3px 0 0 0 #555d66; } - .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected > .block-editor-block-list__block-edit::before { - border-right-color: rgba(255, 255, 255, 0.45); - box-shadow: inset -3px 0 0 0 #d7dade; } - @media (min-width: 600px) { - .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected > .block-editor-block-list__block-edit::before { - box-shadow: 3px 0 0 0 #555d66; } - .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected > .block-editor-block-list__block-edit::before { - box-shadow: 3px 0 0 0 #d7dade; } } +.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected > .block-editor-block-list__block-edit > [data-block] { + box-shadow: 0 0 0 2px #007cba; + border-radius: 1px; + outline: 2px solid transparent; } + .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected > .block-editor-block-list__block-edit > [data-block] { + box-shadow: 0 0 0 2px #fff; } -.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .block-editor-block-list__block.is-multi-selected > .block-editor-block-list__block-edit::before { - box-shadow: none; } - -.block-editor-block-list__layout .components-placeholder ::selection { +.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .components-placeholder ::selection { background: transparent; } +.block-editor-block-list__layout.has-toolbar-captured > .block-editor-block-list__block-edit::before { + right: 0; } + /** * Block styles and alignments */ @@ -283,17 +272,6 @@ .block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .block-editor-block-list__block-edit::after { bottom: -14px; } } -.block-editor-block-list__layout .block-editor-block-list__block.is-typing .block-editor-block-list__side-inserter { - opacity: 0; - animation: none; } - -.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__side-inserter { - animation: edit-post__fade-in-animation 0.2s ease-out 0s; - animation-fill-mode: forwards; } - @media (prefers-reduced-motion: reduce) { - .block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__side-inserter { - animation-duration: 1ms; } } - .block-editor-block-list__layout .block-editor-block-list__block.is-reusable.is-selected > .block-editor-block-list__block-edit::before { border-right-color: transparent; border-style: dashed; @@ -305,6 +283,9 @@ .block-editor-block-list__layout .block-editor-block-list__block.is-reusable > .block-editor-block-list__block-edit .block-editor-inner-blocks.has-overlay .block-editor-inner-blocks.has-overlay::after { display: block; } +.block-editor-block-list__layout .block-editor-block-list__block.is-navigate-mode { + cursor: default; } + .block-editor-block-list__layout .block-editor-block-list__block[data-align="left"], .block-editor-block-list__layout .block-editor-block-list__block[data-align="right"] { z-index: 21; width: 100%; @@ -313,79 +294,17 @@ margin-top: 0; } .block-editor-block-list__layout .block-editor-block-list__block[data-align="left"] .block-editor-block-list__block-edit::before, .block-editor-block-list__layout .block-editor-block-list__block[data-align="right"] .block-editor-block-list__block-edit::before { content: none; } - .block-editor-block-list__layout .block-editor-block-list__block[data-align="left"] .block-editor-block-contextual-toolbar, .block-editor-block-list__layout .block-editor-block-list__block[data-align="right"] .block-editor-block-contextual-toolbar { - margin-bottom: 1px; } - .block-editor-block-list__layout .block-editor-block-list__block[data-align="left"] .block-editor-block-contextual-toolbar, .block-editor-block-list__layout .block-editor-block-list__block[data-align="right"] .block-editor-block-contextual-toolbar { - width: auto; - border-bottom: 1px solid #b5bcc2; - bottom: auto; } - @media (min-width: 600px) { - .block-editor-block-list__layout .block-editor-block-list__block[data-align="left"] .block-editor-block-contextual-toolbar, .block-editor-block-list__layout .block-editor-block-list__block[data-align="right"] .block-editor-block-contextual-toolbar { - border-bottom: none; } } - -.block-editor-block-list__layout .block-editor-block-list__block[data-align="left"] .block-editor-block-contextual-toolbar { - right: 0; - left: auto; } - -.block-editor-block-list__layout .block-editor-block-list__block[data-align="right"] .block-editor-block-contextual-toolbar { - right: auto; - left: 0; } - -@media (min-width: 600px) { - .block-editor-block-list__layout .block-editor-block-list__block[data-align="right"] .block-editor-block-contextual-toolbar, - .block-editor-block-list__layout .block-editor-block-list__block[data-align="left"] .block-editor-block-contextual-toolbar { - top: 14px; } } .block-editor-block-list__layout .block-editor-block-list__block[data-align="left"] > .block-editor-block-list__block-edit { float: left; margin-right: 2em; } -@media (min-width: 600px) { - .block-editor-block-list__layout .block-editor-block-list__block[data-align="left"] .block-editor-block-toolbar { - left: 14px; - right: auto; } } - .block-editor-block-list__layout .block-editor-block-list__block[data-align="right"] > .block-editor-block-list__block-edit { float: right; margin-left: 2em; } -@media (min-width: 600px) { - .block-editor-block-list__layout .block-editor-block-list__block[data-align="right"] .block-editor-block-toolbar { - right: 14px; - left: auto; } } - .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"], .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] { - clear: both; - z-index: 20; } - .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"].is-multi-selected > .block-editor-block-mover, - .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-mover, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"].is-multi-selected > .block-editor-block-mover, - .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-mover { - top: -46px; - bottom: auto; - min-height: 0; - height: auto; - width: auto; } - .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"].is-multi-selected > .block-editor-block-mover::before, - .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-mover::before, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"].is-multi-selected > .block-editor-block-mover::before, - .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-mover::before { - content: none; } - .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"].is-multi-selected > .block-editor-block-mover .block-editor-block-mover__control, - .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-mover .block-editor-block-mover__control, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"].is-multi-selected > .block-editor-block-mover .block-editor-block-mover__control, - .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-mover .block-editor-block-mover__control { - float: right; } - @media (min-width: 600px) { - .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] .block-editor-block-toolbar, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] .block-editor-block-toolbar { - display: inline-flex; } } - @media (min-width: 600px) { - .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-contextual-toolbar > .block-editor-block-toolbar, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-contextual-toolbar > .block-editor-block-toolbar { - left: 90px; } } - @media (min-width: 1080px) { - .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-contextual-toolbar > .block-editor-block-toolbar, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-contextual-toolbar > .block-editor-block-toolbar { - left: 14px; } } - -.block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"].is-multi-selected > .block-editor-block-mover, -.block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-mover { - right: -13px; } + clear: both; } .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit { margin-right: -14px; @@ -401,10 +320,6 @@ border-right-width: 0; border-left-width: 0; } -.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"].is-multi-selected > .block-editor-block-mover, -.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-mover { - right: 14px; } - .block-editor-block-list__layout .block-editor-block-list__block[data-clear="true"] { float: none; } @@ -413,87 +328,11 @@ bottom: -3px; margin: 0 14px; } -.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-inserter-with-shortcuts { - display: none; } - .block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-block-list__empty-block-inserter, .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; } -/** - * Left and right side UI; Unified toolbar on Mobile. - */ -.block-editor-block-list__block.is-multi-selected > .block-editor-block-mover, -.block-editor-block-list__block > .block-editor-block-list__block-edit > .block-editor-block-mover { - position: absolute; - width: 30px; } - -.block-editor-block-list__block.is-multi-selected > .block-editor-block-mover, -.block-editor-block-list__block > .block-editor-block-list__block-edit > .block-editor-block-mover { - top: -15px; } - -@media (min-width: 600px) { - .block-editor-block-list__block.is-multi-selected .block-editor-block-mover, .block-editor-block-list__block.is-selected .block-editor-block-mover, .block-editor-block-list__block.is-hovered .block-editor-block-mover { - z-index: 61; } } - -.block-editor-block-list__block > .block-editor-block-list__block-edit > .block-editor-block-mover, -.block-editor-block-list__block.is-multi-selected > .block-editor-block-mover { - right: -53px; - display: none; } - @media (min-width: 600px) { - .block-editor-block-list__block > .block-editor-block-list__block-edit > .block-editor-block-mover, - .block-editor-block-list__block.is-multi-selected > .block-editor-block-mover { - display: block; } } - -/** - * Mobile unified toolbar. - */ -.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar { - display: flex; - flex-direction: row; - transform: translateY(15px); - margin-top: 37px; - margin-left: -14px; - margin-right: -14px; - border-top: 1px solid #b5bcc2; - height: 37px; - background-color: #fff; - box-shadow: 0 5px 10px rgba(25, 30, 35, 0.05), 0 2px 2px rgba(25, 30, 35, 0.05); } - @media (min-width: 600px) { - .block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar { - display: none; } } - @media (min-width: 600px) { - .block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar { - box-shadow: none; } } - .block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-inserter { - position: relative; - right: auto; - top: auto; - margin: 0; } - .block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-inserter__toggle, - .block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover__control { - width: 36px; - height: 36px; - border-radius: 4px; - padding: 3px; - margin: 0; - justify-content: center; - align-items: center; } - .block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-inserter__toggle .dashicon, - .block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover__control .dashicon { - margin: auto; } - .block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover { - display: flex; - margin-left: auto; } - .block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover .block-editor-inserter, - .block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover .block-editor-block-mover__control { - float: right; } - -.block-editor-block-list__block[data-align="full"] .block-editor-block-list__block-mobile-toolbar { - margin-right: 0; - margin-left: 0; } - /** * In-Canvas Inserter */ @@ -608,110 +447,20 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { /** * Block Toolbar when contextual. */ -.block-editor-block-list__block .block-editor-block-contextual-toolbar { - z-index: 61; - white-space: nowrap; - text-align: right; - pointer-events: none; - position: absolute; - bottom: 22px; - right: -14px; - left: -14px; - border-top: 1px solid #b5bcc2; } - .block-editor-block-list__block .block-editor-block-contextual-toolbar .components-toolbar { - border-top: none; - border-bottom: none; } - @media (min-width: 600px) { - .block-editor-block-list__block .block-editor-block-contextual-toolbar { - border-top: none; } - .block-editor-block-list__block .block-editor-block-contextual-toolbar .components-toolbar { - border-top: 1px solid #b5bcc2; - border-bottom: 1px solid #b5bcc2; } } - -.block-editor-block-list__block[data-align="left"] .block-editor-block-contextual-toolbar, -.block-editor-block-list__block[data-align="right"] .block-editor-block-contextual-toolbar { - margin-bottom: 1px; - margin-top: -37px; - box-shadow: 3px 0 0 0 #555d66; } - .is-dark-theme .block-editor-block-list__block[data-align="left"] .block-editor-block-contextual-toolbar, .is-dark-theme - .block-editor-block-list__block[data-align="right"] .block-editor-block-contextual-toolbar { - box-shadow: 3px 0 0 0 #d7dade; } - @media (min-width: 600px) { - .block-editor-block-list__block[data-align="left"] .block-editor-block-contextual-toolbar, - .block-editor-block-list__block[data-align="right"] .block-editor-block-contextual-toolbar { - box-shadow: none; } } - .block-editor-block-list__block[data-align="left"] .block-editor-block-contextual-toolbar .block-editor-block-toolbar, - .block-editor-block-list__block[data-align="right"] .block-editor-block-contextual-toolbar .block-editor-block-toolbar { - border-right: none; } - -.block-editor-block-list__block .block-editor-block-contextual-toolbar { - margin-right: 0; - margin-left: 0; } - @media (min-width: 600px) { - .block-editor-block-list__block .block-editor-block-contextual-toolbar { - margin-right: -15px; - margin-left: -15px; } } - -.block-editor-block-list__block[data-align="left"] .block-editor-block-contextual-toolbar { - margin-right: 15px; } - -.block-editor-block-list__block[data-align="right"] .block-editor-block-contextual-toolbar { - margin-left: 15px; } - -.block-editor-block-list__block .block-editor-block-contextual-toolbar > * { - pointer-events: auto; } - -.block-editor-block-list__block[data-align="full"] .block-editor-block-contextual-toolbar { - right: 0; - left: 0; } - -@media (min-width: 600px) { - .block-editor-block-list__block .block-editor-block-contextual-toolbar { - bottom: auto; - right: auto; - left: auto; - box-shadow: none; - transform: translateY(-52px); } - @supports ((position: -webkit-sticky) or (position: sticky)) { - .block-editor-block-list__block .block-editor-block-contextual-toolbar { - position: -webkit-sticky; - position: sticky; - top: 51px; } } } - -.block-editor-block-list__block[data-align="left"] .block-editor-block-contextual-toolbar { - float: left; } - -.block-editor-block-list__block[data-align="right"] .block-editor-block-contextual-toolbar { - float: right; - min-width: 200px; } - @supports ((position: -webkit-sticky) or (position: sticky)) { - .block-editor-block-list__block[data-align="right"] .block-editor-block-contextual-toolbar { - min-width: 0; } } - -.block-editor-block-list__block[data-align="left"] .block-editor-block-contextual-toolbar, -.block-editor-block-list__block[data-align="right"] .block-editor-block-contextual-toolbar { - transform: translateY(-15px); } - .block-editor-block-contextual-toolbar .block-editor-block-toolbar { width: 100%; } @media (min-width: 600px) { .block-editor-block-contextual-toolbar .block-editor-block-toolbar { width: auto; - border-left: none; - position: absolute; - right: 1px; - top: 1px; } } + border-left: none; } } /** * Block Label for Navigation/Selection Mode */ .block-editor-block-list__breadcrumb { display: block; - position: absolute; line-height: 1; - z-index: 22; - right: -14px; - top: -51px; } + z-index: 22; } .block-editor-block-list__breadcrumb .components-toolbar { display: flex; background: #fff; @@ -755,6 +504,24 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { .block-editor-block-list__block .block-editor-warning.block-editor-block-list__block-crash-warning { margin-bottom: auto; } +.components-popover.block-editor-block-list__block-popover { + z-index: 29; } + .components-popover.block-editor-block-list__block-popover .components-popover__content { + margin-right: 0 !important; + min-width: auto; + background: none; + border: none; + box-shadow: none; + overflow-y: visible; } + .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__breadcrumb { + margin-bottom: 13px; + margin-right: -14px; } + .components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-contextual-toolbar[data-align="full"] { + margin-right: 0; } + .is-dragging-components-draggable .components-popover.block-editor-block-list__block-popover { + opacity: 0; } + .block-editor-block-list__block .block-list-appender { margin: 14px 0; } .has-background .block-editor-block-list__block .block-list-appender { @@ -898,84 +665,70 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { float: right; } @media (min-width: 600px) { - .block-editor-block-mover { + .block-editor-block-contextual-toolbar:not([data-align="wide"]):not([data-align="full"]) +.block-editor-block-mover:not(.is-horizontal) { + display: block; + position: absolute; + top: 37px; + right: -38px; opacity: 0; background: #fff; border: 1px solid rgba(66, 88, 99, 0.4); border-radius: 4px; - transition: box-shadow 0.2s ease-out; - margin-top: -8px; } } + transition: box-shadow 0.2s ease-out; } } @media (min-width: 600px) and (prefers-reduced-motion: reduce) { - .block-editor-block-mover { + .block-editor-block-contextual-toolbar:not([data-align="wide"]):not([data-align="full"]) +.block-editor-block-mover:not(.is-horizontal) { transition-duration: 0s; } } @media (min-width: 600px) { - .block-editor-block-mover.is-visible { + .block-editor-block-contextual-toolbar:not([data-align="wide"]):not([data-align="full"]) +.block-editor-block-mover:not(.is-horizontal).is-visible { animation: edit-post__fade-in-animation 0.2s ease-out 0s; animation-fill-mode: forwards; } } @media (min-width: 600px) and (prefers-reduced-motion: reduce) { - .block-editor-block-mover.is-visible { + .block-editor-block-contextual-toolbar:not([data-align="wide"]):not([data-align="full"]) +.block-editor-block-mover:not(.is-horizontal).is-visible { animation-duration: 1ms; } } @media (min-width: 600px) { - .block-editor-block-mover:hover { - box-shadow: 0 2px 10px rgba(25, 30, 35, 0.1), 0 0 2px rgba(25, 30, 35, 0.1); } } - -.block-editor-block-mover.is-horizontal { - margin-top: 5px; - margin-left: 8px; - padding-left: 0; - min-height: auto; - width: 50px; - height: 26px; - display: flex; } - .block-editor-block-mover.is-horizontal .block-editor-block-mover__control { - width: 24px; - height: 24px; } - .block-editor-block-mover.is-horizontal .block-editor-block-mover__control svg { - width: 24px; - padding: 3px; } + .block-editor-block-contextual-toolbar:not([data-align="wide"]):not([data-align="full"]) +.block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover__control { + display: flex; + align-items: center; + justify-content: center; + padding: 0; + border: none; + width: 28px; + height: 24px; + color: rgba(14, 28, 46, 0.62); } + .block-editor-block-contextual-toolbar:not([data-align="wide"]):not([data-align="full"]) +.block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover__control svg { + width: 28px; + height: 24px; + padding: 2px 5px; } + .block-editor-block-contextual-toolbar:not([data-align="wide"]):not([data-align="full"]) +.block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover__control[aria-disabled="true"] { + cursor: default; + pointer-events: none; + color: rgba(14, 28, 46, 0.62); } + .block-editor-block-contextual-toolbar:not([data-align="wide"]):not([data-align="full"]) +.block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover__control:focus:not(:disabled) { + background-color: transparent; } } @media (min-width: 600px) { - .block-editor-block-list__block:not([data-align="wide"]):not([data-align="full"]) .editor-block-mover:not(.is-horizontal) { + .block-editor-block-list__block:not([data-align="wide"]):not([data-align="full"]) .block-editor-block-mover:not(.is-horizontal) { margin-top: 0; } } -.block-editor-block-mover__control { - display: flex; - align-items: center; - justify-content: center; - cursor: pointer; - padding: 0; - border: none; - box-shadow: none; - width: 28px; - height: 24px; } - .block-editor-block-mover__control svg { - width: 28px; - height: 24px; - padding: 2px 5px; } - .block-editor-block-mover__control[aria-disabled="true"] { - cursor: default; - pointer-events: none; - color: rgba(14, 28, 46, 0.62); } - @media (min-width: 600px) { - .block-editor-block-mover__control { - color: rgba(14, 28, 46, 0.62); } - .block-editor-block-mover__control:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover { - background-color: transparent; - box-shadow: none; } - .block-editor-block-mover__control:focus:not(:disabled) { - background-color: transparent; } } - .block-editor-block-mover__control-drag-handle { cursor: move; cursor: grab; fill: currentColor; } - .block-editor-block-mover__control-drag-handle, .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover, .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):active, .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):focus { + .block-editor-block-mover__control-drag-handle, .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-secondary):hover, .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-secondary):active, .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-secondary):focus { box-shadow: none; background: none; color: rgba(10, 24, 41, 0.7); } - .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):active { + .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-secondary):active { cursor: grabbing; } .block-editor-block-mover__description { @@ -1082,15 +835,16 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { .block-editor-block-pattern-picker__patterns.block-editor-block-pattern-picker__patterns { display: flex; - justify-content: center; + justify-content: flex-start; flex-direction: row; flex-wrap: wrap; width: 100%; - margin: 4px 0; + margin: 16px 0; + padding: 0; list-style: none; } .block-editor-block-pattern-picker__patterns.block-editor-block-pattern-picker__patterns > li { list-style: none; - margin: 8px; + margin: 0 0 0 8px; flex-shrink: 1; max-width: 100px; } .block-editor-block-pattern-picker__patterns.block-editor-block-pattern-picker__patterns .block-editor-block-pattern-picker__pattern { @@ -1098,9 +852,9 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { .block-editor-block-pattern-picker__pattern { width: 100%; } - .block-editor-block-pattern-picker__pattern.components-icon-button { + .block-editor-block-pattern-picker__pattern.components-button.has-icon { justify-content: center; } - .block-editor-block-pattern-picker__pattern.components-icon-button.is-default { + .block-editor-block-pattern-picker__pattern.components-button.has-icon.is-secondary { background-color: #fff; } .block-editor-block-pattern-picker__pattern.components-button { height: auto; @@ -1132,7 +886,7 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { .block-editor-block-preview__content .block-editor-block-list__layout, .block-editor-block-preview__content .block-editor-block-list__block { padding: 0; } - .block-editor-block-preview__content .editor-block-list__block-edit [data-block] { + .block-editor-block-preview__content .block-editor-block-list__block-edit [data-block] { margin: 0; } .block-editor-block-preview__content > div section { height: auto; } @@ -1203,16 +957,16 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { position: relative; height: 36px; } -.components-icon-button.block-editor-block-switcher__toggle, -.components-icon-button.block-editor-block-switcher__no-switcher-icon { +.components-button.block-editor-block-switcher__toggle, +.components-button.block-editor-block-switcher__no-switcher-icon { margin: 0; display: block; height: 36px; padding: 3px; } -.components-icon-button.block-editor-block-switcher__no-switcher-icon { +.components-button.block-editor-block-switcher__no-switcher-icon { width: 48px; } - .components-icon-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-icon { + .components-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-icon { margin-left: auto; margin-right: auto; } @@ -1223,15 +977,15 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { color: #555d66 !important; background: #f3f4f5 !important; } -.components-icon-button.block-editor-block-switcher__toggle { +.components-button.block-editor-block-switcher__toggle { width: auto; } - .components-icon-button.block-editor-block-switcher__toggle:active, .components-icon-button.block-editor-block-switcher__toggle:not(:disabled):not([aria-disabled="true"]):hover, .components-icon-button.block-editor-block-switcher__toggle:not([aria-disabled="true"]):focus { + .components-button.block-editor-block-switcher__toggle:active, .components-button.block-editor-block-switcher__toggle:not(:disabled):not([aria-disabled="true"]):hover, .components-button.block-editor-block-switcher__toggle:not([aria-disabled="true"]):focus { outline: none; box-shadow: none; background: none; border: none; } - .components-icon-button.block-editor-block-switcher__toggle .block-editor-block-icon, - .components-icon-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform { + .components-button.block-editor-block-switcher__toggle .block-editor-block-icon, + .components-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform { width: 42px; height: 30px; position: relative; @@ -1241,10 +995,10 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { align-items: center; transition: all 0.1s cubic-bezier(0.165, 0.84, 0.44, 1); } @media (prefers-reduced-motion: reduce) { - .components-icon-button.block-editor-block-switcher__toggle .block-editor-block-icon, - .components-icon-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform { + .components-button.block-editor-block-switcher__toggle .block-editor-block-icon, + .components-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform { transition-duration: 0s; } } - .components-icon-button.block-editor-block-switcher__toggle .block-editor-block-icon::after { + .components-button.block-editor-block-switcher__toggle .block-editor-block-icon::after { content: ""; pointer-events: none; display: block; @@ -1255,18 +1009,18 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { border-top: 5px solid; margin-right: 4px; margin-left: 2px; } - .components-icon-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform { + .components-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform { margin-top: 6px; border-radius: 4px; } - .components-icon-button.block-editor-block-switcher__toggle[aria-expanded="true"] .block-editor-block-icon, - .components-icon-button.block-editor-block-switcher__toggle[aria-expanded="true"] .block-editor-block-switcher__transform, - .components-icon-button.block-editor-block-switcher__toggle:not(:disabled):hover .block-editor-block-icon, - .components-icon-button.block-editor-block-switcher__toggle:not(:disabled):hover .block-editor-block-switcher__transform, - .components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-icon, - .components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-switcher__transform { + .components-button.block-editor-block-switcher__toggle[aria-expanded="true"] .block-editor-block-icon, + .components-button.block-editor-block-switcher__toggle[aria-expanded="true"] .block-editor-block-switcher__transform, + .components-button.block-editor-block-switcher__toggle:not(:disabled):hover .block-editor-block-icon, + .components-button.block-editor-block-switcher__toggle:not(:disabled):hover .block-editor-block-switcher__transform, + .components-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-icon, + .components-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-switcher__transform { transform: translateY(-36px); } - .components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-icon, - .components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-switcher__transform { + .components-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-icon, + .components-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-switcher__transform { box-shadow: inset 0 0 0 1px #555d66, inset 0 0 0 2px #fff; outline: 2px solid transparent; } @@ -1367,9 +1121,10 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { flex-direction: column; align-items: center; justify-content: center; - padding: 21px; + padding: 14px; outline: 1px dashed #8d96a0; width: 100%; + height: auto; color: #555d66; background: rgba(237, 239, 240, 0.8); } .block-editor-button-block-appender:hover, .block-editor-button-block-appender:focus { @@ -1384,6 +1139,18 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { .is-dark-theme .block-editor-button-block-appender:hover, .is-dark-theme .block-editor-button-block-appender:focus { outline: 1px dashed #fff; } +.block-editor-color-gradient-control__button-tabs { + display: block; } + +.block-editor-panel-color-gradient-settings .component-color-indicator { + vertical-align: text-bottom; } + +.block-editor-panel-color-gradient-settings__panel-title .component-color-indicator { + display: inline-block; } + +.block-editor-panel-color-gradient-settings.is-opened .block-editor-panel-color-gradient-settings__panel-title .component-color-indicator { + display: none; } + .block-editor-contrast-checker > .components-notice { margin: 0; } @@ -1415,12 +1182,6 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { transition-duration: 0s; } } .is-dark-theme .block-editor-default-block-appender textarea.block-editor-default-block-appender__content { color: rgba(255, 255, 255, 0.65); } - .block-editor-default-block-appender:hover .block-editor-inserter-with-shortcuts { - animation: edit-post__fade-in-animation 0.2s ease-out 0s; - animation-fill-mode: forwards; } - @media (prefers-reduced-motion: reduce) { - .block-editor-default-block-appender:hover .block-editor-inserter-with-shortcuts { - animation-duration: 1ms; } } .block-editor-default-block-appender .components-drop-zone__content-icon { display: none; } @@ -1429,33 +1190,24 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { line-height: 1.8; } .block-editor-block-list__empty-block-inserter, -.block-editor-default-block-appender .block-editor-inserter, -.block-editor-inserter-with-shortcuts { +.block-editor-default-block-appender .block-editor-inserter { position: absolute; top: 0; } - .block-editor-block-list__empty-block-inserter .components-icon-button, - .block-editor-default-block-appender .block-editor-inserter .components-icon-button, - .block-editor-inserter-with-shortcuts .components-icon-button { + .block-editor-block-list__empty-block-inserter .components-button.has-icon, + .block-editor-default-block-appender .block-editor-inserter .components-button.has-icon { width: 28px; height: 28px; margin-left: 12px; padding: 0; } - .block-editor-block-list__empty-block-inserter .block-editor-block-icon, - .block-editor-default-block-appender .block-editor-inserter .block-editor-block-icon, - .block-editor-inserter-with-shortcuts .block-editor-block-icon { - margin: auto; } - .block-editor-block-list__empty-block-inserter .components-icon-button svg, - .block-editor-default-block-appender .block-editor-inserter .components-icon-button svg, - .block-editor-inserter-with-shortcuts .components-icon-button svg { + .block-editor-block-list__empty-block-inserter .components-button svg, + .block-editor-default-block-appender .block-editor-inserter .components-button svg { display: block; margin: auto; } .block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle, - .block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle, - .block-editor-inserter-with-shortcuts .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-inserter__toggle:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover, - .block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover, - .block-editor-inserter-with-shortcuts .block-editor-inserter__toggle:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover { + .block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled="true"]):not(.is-secondary):hover, + .block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled="true"]):not(.is-secondary):hover { box-shadow: none; } .block-editor-block-list__empty-block-inserter, @@ -1485,19 +1237,6 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { .block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:hover) { color: rgba(255, 255, 255, 0.75); } -.block-editor-block-list__side-inserter .block-editor-inserter-with-shortcuts, -.block-editor-default-block-appender .block-editor-inserter-with-shortcuts { - left: 14px; - display: none; - z-index: 5; } - @media (min-width: 600px) { - .block-editor-block-list__side-inserter .block-editor-inserter-with-shortcuts, - .block-editor-default-block-appender .block-editor-inserter-with-shortcuts { - display: flex; - align-items: center; - height: 100%; - left: 0; } } - .block-editor-link-control__search { position: relative; min-width: 360px; } @@ -1570,7 +1309,8 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { border: none; text-align: right; padding: 10px 15px; - border-radius: 5px; } + border-radius: 5px; + height: auto; } .block-editor-link-control__search-item:hover, .block-editor-link-control__search-item:focus { background-color: #e9e9e9; } .block-editor-link-control__search-item.is-selected { @@ -1658,28 +1398,10 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { right: -14px; z-index: 60; } -[data-align="full"] > .editor-block-list__block-edit > [data-block] .has-overlay::after { +[data-align="full"] > .block-editor-block-list__block-edit > [data-block] .has-overlay::after { left: 0; right: 0; } -.block-editor-inserter-with-shortcuts { - display: flex; - align-items: center; } - .block-editor-inserter-with-shortcuts .components-icon-button { - border-radius: 4px; } - .block-editor-inserter-with-shortcuts .components-icon-button svg:not(.dashicon) { - height: 24px; - width: 24px; } - -.block-editor-inserter-with-shortcuts__block { - margin-left: 4px; - width: 36px; - height: 36px; - padding-top: 8px; - color: rgba(10, 24, 41, 0.7); } - .is-dark-theme .block-editor-inserter-with-shortcuts__block { - color: rgba(255, 255, 255, 0.75); } - .block-editor-inserter { display: inline-block; background: none; @@ -1896,7 +1618,8 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { border-radius: 4px; border: 1px solid transparent; transition: all 0.05s ease-in-out; - position: relative; } + position: relative; + height: auto; } @media (prefers-reduced-motion: reduce) { .components-button.block-editor-block-types-list__item { transition-duration: 0s; } } @@ -1959,57 +1682,41 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { .block-editor-block-types-list__item-title { padding: 4px 2px 8px; } -.media-replace-flow .components-dropdown-menu__indicator { +.modal-open .block-editor-media-replace-flow__options { + display: none; } + +.block-editor-media-replace-flow__indicator { margin-right: 4px; } - .media-replace-flow .components-dropdown-menu__indicator .components-dropdown-menu.media-flow_toolbar .components-dropdown-menu__label { - margin-left: 6px; - margin-right: 2px; } - -.media-replace-flow__options.components-popover:not(.is-mobile) .components-popover__content { - overflow-x: hidden; } - -.media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input { - padding: 0 25px 10px 15px; } - .media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input .components-external-link__icon { - position: absolute; - left: -4px; - bottom: 5px; + .block-editor-media-replace-flow__indicator::after { + content: ""; + pointer-events: none; + display: block; + width: 0; + height: 0; + border-right: 3px solid transparent; + border-left: 3px solid transparent; + border-top: 5px solid; + margin-right: 4px; margin-left: 2px; } - .media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input input { - max-width: 169px; - border: 1px solid #555d66; - border-radius: 4px; } - .media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input .block-editor-url-popover__link-viewer-url { - padding-left: 15px; - padding-top: 3px; - max-width: 179px; - position: relative; - margin-left: 0; } - .media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input .components-icon-button { - padding: 5px; - width: 40px; - height: 40px; - padding-right: 0; } - .media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input .components-icon-button > svg { - padding: 5px; - border-radius: 4px; - height: 30px; - width: 30px; } - .media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input .components-icon-button:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover { - box-shadow: none; } - .media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input .components-icon-button:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover > svg { - color: #555d66; - box-shadow: inset 0 0 0 1px #555d66, inset 0 0 0 2px #fff; } - .media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input .components-icon-button:not(:disabled):focus { - box-shadow: none; } - .media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input .components-icon-button:not(:disabled):focus > svg { - box-shadow: inset 0 0 0 1px #555d66, inset 0 0 0 2px #fff; - outline: 2px solid transparent; } -.block-editor-media-placeholder__url-input-container { - width: 100%; } - .block-editor-media-placeholder__url-input-container .block-editor-media-placeholder__button { - margin-bottom: 0; } +.block-editor-media-flow__url-input { + padding: 0 15px; + max-width: 255px; + padding-bottom: 10px; } + .block-editor-media-flow__url-input input { + max-width: 180px; } + +.block-editor-media-replace-flow__link-viewer .components-external-link__icon { + display: none; } + +.block-editor-media-replace-flow__link-viewer .components-visually-hidden { + position: initial; } + +.block-editor-media-replace-flow__link-viewer .components-button { + flex-shrink: 0; } + +.block-editor-media-placeholder__url-input-container .block-editor-media-placeholder__button { + margin-bottom: 0; } .block-editor-media-placeholder__url-input-form { display: flex; } @@ -2038,9 +1745,6 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { margin: 1em; display: block; } -.components-form-file-upload .block-editor-media-placeholder__button { - margin-left: 4px; } - .block-editor-media-placeholder.is-appender { min-height: 100px; outline: 1px dashed #8d96a0; } @@ -2077,15 +1781,6 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { width: 36px; height: 24px; } -.block-editor-panel-color-settings .component-color-indicator { - vertical-align: text-bottom; } - -.block-editor-panel-color-settings__panel-title .component-color-indicator { - display: inline-block; } - -.block-editor-panel-color-settings.is-opened .block-editor-panel-color-settings__panel-title .component-color-indicator { - display: none; } - .block-editor .block-editor-plain-text { box-shadow: none; font-family: inherit; @@ -2172,7 +1867,8 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before .components-popover.block-editor-rich-text__inline-format-toolbar { z-index: 99998; } .components-popover.block-editor-rich-text__inline-format-toolbar .components-popover__content { - min-width: auto; } + min-width: auto; + margin-bottom: 6px; } .components-popover.block-editor-rich-text__inline-format-toolbar .components-toolbar { border: none; } @@ -2355,10 +2051,10 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before .block-editor-url-popover__additional-controls { border-top: 1px solid #e2e4e7; } -.block-editor-url-popover__additional-controls > div[role="menu"] .components-icon-button:not(:disabled):not([aria-disabled="true"]):not(.is-default) > svg { +.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-icon-button { +.block-editor-url-popover__additional-controls div[role="menu"] > .components-button { padding-right: 2px; } .block-editor-url-popover__row { @@ -2367,21 +2063,21 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before .block-editor-url-popover__row > :not(.block-editor-url-popover__settings-toggle) { flex-grow: 1; } -.block-editor-url-popover .components-icon-button { +.block-editor-url-popover .components-button.has-icon { padding: 3px; } - .block-editor-url-popover .components-icon-button > svg { + .block-editor-url-popover .components-button.has-icon > svg { padding: 5px; border-radius: 4px; height: 30px; width: 30px; } - .block-editor-url-popover .components-icon-button:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover { + .block-editor-url-popover .components-button.has-icon:not(:disabled):not([aria-disabled="true"]):not(.is-secondary):hover { box-shadow: none; } - .block-editor-url-popover .components-icon-button:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover > svg { + .block-editor-url-popover .components-button.has-icon:not(:disabled):not([aria-disabled="true"]):not(.is-secondary):hover > svg { color: #555d66; box-shadow: inset 0 0 0 1px #555d66, inset 0 0 0 2px #fff; } - .block-editor-url-popover .components-icon-button:not(:disabled):focus { + .block-editor-url-popover .components-button.has-icon:not(:disabled):focus { box-shadow: none; } - .block-editor-url-popover .components-icon-button:not(:disabled):focus > svg { + .block-editor-url-popover .components-button.has-icon:not(:disabled):focus > svg { box-shadow: inset 0 0 0 1px #555d66, inset 0 0 0 2px #fff; outline: 2px solid transparent; } @@ -2462,13 +2158,13 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before .block-editor-warning__secondary { margin: 5px -4px 0 0; height: 36px; } - .block-editor-warning__secondary .components-icon-button { + .block-editor-warning__secondary .components-button.has-icon { width: auto; padding: 8px 2px; } @media (min-width: 600px) { .block-editor-warning__secondary { margin-right: 4px; } - .block-editor-warning__secondary .components-icon-button { + .block-editor-warning__secondary .components-button.has-icon { padding: 8px 4px; } } .block-editor-warning__secondary .components-button svg { transform: rotate(-90deg); } 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 b693c8b535..c131295f03 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 @@ -.block-editor-block-drop-zone{border:none;border-radius:0}.block-editor-block-drop-zone .components-drop-zone__content,.block-editor-block-drop-zone.is-dragging-over-element .components-drop-zone__content{display:none}.block-editor-block-drop-zone.is-close-to-bottom,.block-editor-block-drop-zone.is-close-to-top{background:none}.block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #0085ba}body.admin-color-sunrise .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #d1864a}body.admin-color-ocean .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #a3b9a2}body.admin-color-midnight .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #e14d43}body.admin-color-ectoplasm .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #a7b656}body.admin-color-coffee .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #c2a68c}body.admin-color-blue .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #82b4cb}body.admin-color-light .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #0085ba}.block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #0085ba}body.admin-color-sunrise .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #d1864a}body.admin-color-ocean .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #a3b9a2}body.admin-color-midnight .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #e14d43}body.admin-color-ectoplasm .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #a7b656}body.admin-color-coffee .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #c2a68c}body.admin-color-blue .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #82b4cb}body.admin-color-light .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #0085ba}.block-editor-block-drop-zone.is-appender.is-active.is-dragging-over-document{border-bottom:none}.block-editor-block-icon{display:flex;align-items:center;justify-content:center;width:24px;height:24px;margin:0;border-radius:4px}.block-editor-block-icon.has-colors svg{fill:currentColor}.block-editor-block-icon svg{min-width:20px;min-height:20px;max-width:24px;max-height:24px}.block-editor-block-inspector .components-base-control{margin-bottom:24px}.block-editor-block-inspector .components-base-control:last-child{margin-bottom:8px}.block-editor-block-inspector .components-panel__body{border:none;border-top:1px solid #e2e4e7}.block-editor-block-inspector .block-editor-block-card{padding:16px}.block-editor-block-inspector__no-blocks{display:block;font-size:13px;background:#fff;padding:32px 16px;text-align:center}.block-editor-block-list__layout .components-draggable__clone .block-editor-block-contextual-toolbar{display:none!important}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging .block-editor-block-list__block-edit:before{border:none}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging>.block-editor-block-list__block-edit>*{background:#f8f9f9}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging>.block-editor-block-list__block-edit>*>*{visibility:hidden}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging .block-editor-block-contextual-toolbar,.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging .block-editor-block-mover{display:none}.block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit .reusable-block-edit-panel *{z-index:1}.block-editor-block-list__layout{padding-right:14px;padding-left:14px}@media (min-width:600px){.block-editor-block-list__layout{padding-right:58px;padding-left:58px}}.block-editor-block-list__layout .block-editor-block-list__layout{padding-right:0;padding-left:0}.block-editor-block-list__layout .block-editor-block-list__block{position:relative;overflow-wrap:break-word}.block-editor-block-list__layout .block-editor-block-list__block .components-placeholder .components-with-notices-ui{margin:-10px 20px 12px;width:calc(100% - 40px)}.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 .block-editor-block-list__block-edit{position:relative}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__block-edit.has-mover-inside>[data-block]{display:flex}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__block-edit:before{z-index:0;content:"";position:absolute;border:1px solid transparent;border-right:none;box-shadow:none;pointer-events:none;transition:border-color .1s linear,border-style .1s linear,box-shadow .1s linear;outline:1px solid transparent;left:-14px;right:-14px;top:-14px;bottom:-14px}@media (prefers-reduced-motion:reduce){.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__block-edit:before{transition-duration:0s}}.block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit:before{border-color:rgba(66,88,99,.4);box-shadow:inset -3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit:before{border-color:hsla(0,0%,100%,.45);box-shadow:inset -3px 0 0 0 #d7dade}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit:before{box-shadow:3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit:before{box-shadow:3px 0 0 0 #d7dade}}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-navigate-mode>.block-editor-block-list__block-edit:before{border-color:#007cba;box-shadow:inset -3px 0 0 0 #007cba}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-navigate-mode>.block-editor-block-list__block-edit:before{box-shadow:3px 0 0 0 #007cba}}.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected){opacity:.5;transition:opacity .1s linear}@media (prefers-reduced-motion:reduce){.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected){transition-duration:0s}}.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected).is-focused,.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected):not(.is-focused) .block-editor-block-list__block{opacity:1}.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected>.block-editor-block-list__block-edit:before{border-right-color:rgba(66,88,99,.4);box-shadow:inset -3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected>.block-editor-block-list__block-edit:before{border-right-color:hsla(0,0%,100%,.45);box-shadow:inset -3px 0 0 0 #d7dade}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected>.block-editor-block-list__block-edit:before{box-shadow:3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected>.block-editor-block-list__block-edit:before{box-shadow:3px 0 0 0 #d7dade}}.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .block-editor-block-list__block.is-multi-selected>.block-editor-block-list__block-edit:before{box-shadow:none}.block-editor-block-list__layout .components-placeholder ::selection{background:transparent}.block-editor-block-list__layout .block-editor-block-list__block.has-warning{min-height:36px}.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit>*{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit .block-editor-warning{pointer-events:all}.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit:before{border-color:rgba(145,151,162,.25);border-right:1px solid rgba(145,151,162,.25)}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit:before{border-color:hsla(0,0%,100%,.35)}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .block-editor-block-list__block-edit:before{border-color:rgba(66,88,99,.4) transparent rgba(66,88,99,.4) rgba(66,88,99,.4)}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .block-editor-block-list__block-edit:before{border-color:hsla(0,0%,100%,.45)}.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit:after{content:"";position:absolute;background-color:rgba(248,249,249,.4);top:-14px;bottom:-14px;left:-14px;right:-14px}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-multi-selected .block-editor-block-list__block-edit:after{background-color:transparent}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .block-editor-block-list__block-edit:after{bottom:22px}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .block-editor-block-list__block-edit:after{bottom:-14px}}.block-editor-block-list__layout .block-editor-block-list__block.is-typing .block-editor-block-list__side-inserter{opacity:0;animation:none}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__side-inserter{animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__side-inserter{animation-duration:1ms}}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable.is-selected>.block-editor-block-list__block-edit:before{border-right:transparent;border-width:1px;border-style:dashed}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable>.block-editor-block-list__block-edit .block-editor-inner-blocks.has-overlay:after{display:none}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable>.block-editor-block-list__block-edit .block-editor-inner-blocks.has-overlay .block-editor-inner-blocks.has-overlay:after{display:block}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left],.block-editor-block-list__layout .block-editor-block-list__block[data-align=right]{z-index:21;width:100%;height:0}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-list__block-edit,.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-list__block-edit{margin-top:0}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-list__block-edit:before,.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-list__block-edit:before{content:none}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{margin-bottom:1px}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{width:auto;border-bottom:1px solid #b5bcc2;bottom:auto}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{border-bottom:none}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar{right:0;left:auto}.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{right:auto;left:0}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{top:14px}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left]>.block-editor-block-list__block-edit{float:left;margin-right:2em}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-toolbar{left:14px;right:auto}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=right]>.block-editor-block-list__block-edit{float:right;margin-left:2em}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-toolbar{right:14px;left:auto}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full],.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]{clear:both;z-index:20}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full].is-multi-selected>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide].is-multi-selected>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-mover{top:-46px;bottom:auto;min-height:0;height:auto;width:auto}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full].is-multi-selected>.block-editor-block-mover:before,.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-mover:before,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide].is-multi-selected>.block-editor-block-mover:before,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-mover:before{content:none}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full].is-multi-selected>.block-editor-block-mover .block-editor-block-mover__control,.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-mover .block-editor-block-mover__control,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide].is-multi-selected>.block-editor-block-mover .block-editor-block-mover__control,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-mover .block-editor-block-mover__control{float:right}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=full] .block-editor-block-toolbar,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide] .block-editor-block-toolbar{display:inline-flex}}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar>.block-editor-block-toolbar,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar>.block-editor-block-toolbar{left:90px}}@media (min-width:1080px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar>.block-editor-block-toolbar,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar>.block-editor-block-toolbar{left:14px}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide].is-multi-selected>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-mover{right:-13px}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit{margin-right:-14px;margin-left:-14px}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit{margin-right:-58px;margin-left:-58px}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit:before{right:0;left:0;border-right-width:0;border-left-width:0}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full].is-multi-selected>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-mover{right:14px}.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-drop-zone{top:-4px;bottom:-3px;margin:0 14px}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-inserter-with-shortcuts{display:none}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-block-list__empty-block-inserter,.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-default-block-appender .block-editor-inserter{right:auto;left:8px}.block-editor-block-list__block.is-multi-selected>.block-editor-block-mover,.block-editor-block-list__block>.block-editor-block-list__block-edit>.block-editor-block-mover{position:absolute;width:30px}.block-editor-block-list__block.is-multi-selected>.block-editor-block-mover,.block-editor-block-list__block>.block-editor-block-list__block-edit>.block-editor-block-mover{top:-15px}@media (min-width:600px){.block-editor-block-list__block.is-hovered .block-editor-block-mover,.block-editor-block-list__block.is-multi-selected .block-editor-block-mover,.block-editor-block-list__block.is-selected .block-editor-block-mover{z-index:61}}.block-editor-block-list__block.is-multi-selected>.block-editor-block-mover,.block-editor-block-list__block>.block-editor-block-list__block-edit>.block-editor-block-mover{right:-53px;display:none}@media (min-width:600px){.block-editor-block-list__block.is-multi-selected>.block-editor-block-mover,.block-editor-block-list__block>.block-editor-block-list__block-edit>.block-editor-block-mover{display:block}}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar{display:flex;flex-direction:row;transform:translateY(15px);margin-top:37px;margin-left:-14px;margin-right:-14px;border-top:1px solid #b5bcc2;height:37px;background-color:#fff;box-shadow:0 5px 10px rgba(25,30,35,.05),0 2px 2px rgba(25,30,35,.05)}@media (min-width:600px){.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar{display:none;box-shadow:none}}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-inserter{position:relative;right:auto;top:auto;margin:0}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover__control,.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-inserter__toggle{width:36px;height:36px;border-radius:4px;padding:3px;margin:0;justify-content:center;align-items:center}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover__control .dashicon,.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-inserter__toggle .dashicon{margin:auto}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover{display:flex;margin-left:auto}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover .block-editor-block-mover__control,.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover .block-editor-inserter{float:right}.block-editor-block-list__block[data-align=full] .block-editor-block-list__block-mobile-toolbar{margin-right:0;margin-left:0}.block-editor-block-list .block-editor-inserter{margin:8px;cursor:move;cursor:grab}.block-editor-block-list__insertion-point{position:relative;z-index:6;margin-top:-14px}.block-editor-block-list__insertion-point-indicator{position:absolute;top:calc(50% - 1px);height:2px;right:0;left:0;background:#0085ba}body.admin-color-sunrise .block-editor-block-list__insertion-point-indicator{background:#d1864a}body.admin-color-ocean .block-editor-block-list__insertion-point-indicator{background:#a3b9a2}body.admin-color-midnight .block-editor-block-list__insertion-point-indicator{background:#e14d43}body.admin-color-ectoplasm .block-editor-block-list__insertion-point-indicator{background:#a7b656}body.admin-color-coffee .block-editor-block-list__insertion-point-indicator{background:#c2a68c}body.admin-color-blue .block-editor-block-list__insertion-point-indicator{background:#82b4cb}body.admin-color-light .block-editor-block-list__insertion-point-indicator{background:#0085ba}.block-editor-block-list__insertion-point-inserter{display:none;position:absolute;bottom:auto;right:0;left:0;justify-content:center;height:22px;opacity:0;transition:opacity .1s linear}@media (min-width:480px){.block-editor-block-list__insertion-point-inserter{display:flex}}.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle{border-radius:50%;color:#007cba;background:#fff;height:28px;width:28px;padding:4px}.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled=true]):hover{box-shadow:none}@media (prefers-reduced-motion:reduce){.block-editor-block-list__insertion-point-inserter{transition-duration:0s}}.block-editor-block-list__insertion-point-inserter.is-visible,.block-editor-block-list__insertion-point-inserter:hover{opacity:1}.edit-post-layout:not(.has-fixed-toolbar) .is-focused>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter,.edit-post-layout:not(.has-fixed-toolbar) .is-selected>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter{opacity:0;pointer-events:none}.edit-post-layout:not(.has-fixed-toolbar) .is-focused>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter.is-visible,.edit-post-layout:not(.has-fixed-toolbar) .is-focused>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter:hover,.edit-post-layout:not(.has-fixed-toolbar) .is-selected>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter.is-visible,.edit-post-layout:not(.has-fixed-toolbar) .is-selected>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter:hover{opacity:1;pointer-events:auto}.block-editor-block-list__block>.block-editor-block-list__insertion-point{position:absolute;top:-16px;height:28px;bottom:auto;right:14px;left:14px}.block-editor-block-list__block[data-align=full]>.block-editor-block-list__insertion-point{right:0;left:0}.block-editor-block-list__block .block-editor-block-list__block-html-textarea{display:block;margin:0;width:100%;border:none;outline:none;box-shadow:none;resize:none;overflow:hidden;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;line-height:150%;transition:padding .2s linear}@media (prefers-reduced-motion:reduce){.block-editor-block-list__block .block-editor-block-list__block-html-textarea{transition-duration:0s}}.block-editor-block-list__block .block-editor-block-list__block-html-textarea:focus{box-shadow:none}.block-editor-block-list__block .block-editor-block-contextual-toolbar{z-index:61;white-space:nowrap;text-align:right;pointer-events:none;position:absolute;bottom:22px;right:-14px;left:-14px;border-top:1px solid #b5bcc2}.block-editor-block-list__block .block-editor-block-contextual-toolbar .components-toolbar{border-top:none;border-bottom:none}@media (min-width:600px){.block-editor-block-list__block .block-editor-block-contextual-toolbar{border-top:none}.block-editor-block-list__block .block-editor-block-contextual-toolbar .components-toolbar{border-top:1px solid #b5bcc2;border-bottom:1px solid #b5bcc2}}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{margin-bottom:1px;margin-top:-37px;box-shadow:3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.is-dark-theme .block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{box-shadow:3px 0 0 0 #d7dade}@media (min-width:600px){.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{box-shadow:none}}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar .block-editor-block-toolbar,.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar .block-editor-block-toolbar{border-right:none}.block-editor-block-list__block .block-editor-block-contextual-toolbar{margin-right:0;margin-left:0}@media (min-width:600px){.block-editor-block-list__block .block-editor-block-contextual-toolbar{margin-right:-15px;margin-left:-15px}}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar{margin-right:15px}.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{margin-left:15px}.block-editor-block-list__block .block-editor-block-contextual-toolbar>*{pointer-events:auto}.block-editor-block-list__block[data-align=full] .block-editor-block-contextual-toolbar{right:0;left:0}@media (min-width:600px){.block-editor-block-list__block .block-editor-block-contextual-toolbar{bottom:auto;right:auto;left:auto;box-shadow:none;transform:translateY(-52px)}@supports ((position:-webkit-sticky) or (position:sticky)){.block-editor-block-list__block .block-editor-block-contextual-toolbar{position:-webkit-sticky;position:sticky;top:51px}}}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar{float:left}.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{float:right;min-width:200px}@supports ((position:-webkit-sticky) or (position:sticky)){.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{min-width:0}}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{transform:translateY(-15px)}.block-editor-block-contextual-toolbar .block-editor-block-toolbar{width:100%}@media (min-width:600px){.block-editor-block-contextual-toolbar .block-editor-block-toolbar{width:auto;border-left:none;position:absolute;right:1px;top:1px}}.block-editor-block-list__breadcrumb{display:block;position:absolute;line-height:1;z-index:22;right:-14px;top:-51px}.block-editor-block-list__breadcrumb .components-toolbar{display:flex;background:#fff;border:1px solid #007cba;border-right:none;box-shadow:inset -3px 0 0 0 #007cba;height:38px;font-size:13px;line-height:29px;padding-right:8px;padding-left:8px}.block-editor-block-list__breadcrumb .components-toolbar .components-button{box-shadow:none}.is-dark-theme .block-editor-block-list__breadcrumb .components-toolbar{border-color:hsla(0,0%,100%,.45)}@media (min-width:600px){.block-editor-block-list__breadcrumb .components-toolbar{box-shadow:3px 0 0 0 #007cba}}@media (min-width:600px){.block-editor-block-list__block:before{bottom:0;content:"";right:-28px;position:absolute;left:-28px;top:0}.block-editor-block-list__block .block-editor-block-list__block:before{right:0;left:0}.block-editor-block-list__block[data-align=full]:before{content:none}}.block-editor-block-list__block .block-editor-warning{z-index:5;position:relative;margin-left:-14px;margin-right:-14px;margin-bottom:-14px;transform:translateY(-14px)}.block-editor-block-list__block .block-editor-warning.block-editor-block-list__block-crash-warning{margin-bottom:auto}.block-editor-block-list__block .block-list-appender{margin:14px 0}.has-background .block-editor-block-list__block .block-list-appender{margin:32px 14px}.block-list-appender>.block-editor-inserter{display:block}.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:"\2192"}.block-editor-block-breadcrumb__button.components-button{height:24px;line-height:24px;padding:0}.block-editor-block-breadcrumb__button.components-button:hover{text-decoration:underline}.block-editor-block-breadcrumb__button.components-button:focus{color:#191e23;outline-offset:-1px;outline:1px dotted #555d66;outline-offset:-2px;box-shadow:none}.block-editor-block-breadcrumb__current{cursor:default}.block-editor-block-breadcrumb__button.components-button,.block-editor-block-breadcrumb__current{color:#555d66;padding:0 8px;font-size:inherit}.block-editor-block-card{display:flex;align-items:flex-start}.block-editor-block-card__icon{border:1px solid #ccd0d4;padding:7px;margin-left:10px;height:36px;width:36px}.block-editor-block-card__content{flex-grow:1}.block-editor-block-card__title{font-weight:500;margin-bottom:5px}.block-editor-block-card__description{font-size:13px}.block-editor-block-card .block-editor-block-icon{margin-right:-2px;margin-left:10px;padding:0 3px;width:36px;height:24px}.block-editor-block-compare{overflow:auto;height:auto}@media (min-width:600px){.block-editor-block-compare{max-height:70%}}.block-editor-block-compare__wrapper{display:flex;padding-bottom:16px}.block-editor-block-compare__wrapper>div{display:flex;justify-content:space-between;flex-direction:column;width:50%;padding:0 0 0 16px;min-width:200px}.block-editor-block-compare__wrapper>div button{float:left}.block-editor-block-compare__wrapper .block-editor-block-compare__converted{border-right:1px solid #ddd;padding-right:15px;padding-left:0}.block-editor-block-compare__wrapper .block-editor-block-compare__html{font-family:Menlo,Consolas,monaco,monospace;font-size:12px;color:#23282d;border-bottom:1px solid #ddd;padding-bottom:15px;line-height:1.7}.block-editor-block-compare__wrapper .block-editor-block-compare__html span{background-color:#e6ffed;padding-top:3px;padding-bottom:3px}.block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__added{background-color:#acf2bd}.block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__removed{background-color:#d94f4f}.block-editor-block-compare__wrapper .block-editor-block-compare__preview{padding:14px 0 0}.block-editor-block-compare__wrapper .block-editor-block-compare__preview p{font-size:12px;margin-top:0}.block-editor-block-compare__wrapper .block-editor-block-compare__action{margin-top:14px}.block-editor-block-compare__wrapper .block-editor-block-compare__heading{font-size:1em;font-weight:400;margin:.67em 0}.block-editor-block-mobile-toolbar{display:flex;flex-direction:row;border-left:1px solid #e2e4e7}.block-editor-block-mobile-toolbar .block-editor-block-mover__control{width:36px;height:36px;border-radius:4px;padding:3px;margin:0;justify-content:center;align-items:center}.block-editor-block-mobile-toolbar .block-editor-block-mover__control .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__control{float:right}@media (min-width:600px){.block-editor-block-mover{opacity:0;background:#fff;border:1px solid rgba(66,88,99,.4);border-radius:4px;transition:box-shadow .2s ease-out;margin-top:-8px}}@media (min-width:600px) and (prefers-reduced-motion:reduce){.block-editor-block-mover{transition-duration:0s}}@media (min-width:600px){.block-editor-block-mover.is-visible{animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}}@media (min-width:600px) and (prefers-reduced-motion:reduce){.block-editor-block-mover.is-visible{animation-duration:1ms}}@media (min-width:600px){.block-editor-block-mover:hover{box-shadow:0 2px 10px rgba(25,30,35,.1),0 0 2px rgba(25,30,35,.1)}}.block-editor-block-mover.is-horizontal{margin-top:5px;margin-left:8px;padding-left:0;min-height:auto;width:50px;height:26px;display:flex}.block-editor-block-mover.is-horizontal .block-editor-block-mover__control{width:24px;height:24px}.block-editor-block-mover.is-horizontal .block-editor-block-mover__control svg{width:24px;padding:3px}@media (min-width:600px){.block-editor-block-list__block:not([data-align=wide]):not([data-align=full]) .editor-block-mover:not(.is-horizontal){margin-top:0}}.block-editor-block-mover__control{display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;border:none;box-shadow:none;width:28px;height:24px}.block-editor-block-mover__control svg{width:28px;height:24px;padding:2px 5px}.block-editor-block-mover__control[aria-disabled=true]{cursor:default;pointer-events:none;color:rgba(14,28,46,.62)}@media (min-width:600px){.block-editor-block-mover__control{color:rgba(14,28,46,.62)}.block-editor-block-mover__control:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{background-color:transparent;box-shadow:none}.block-editor-block-mover__control:focus:not(:disabled){background-color:transparent}}.block-editor-block-mover__control-drag-handle{cursor:move;cursor:grab;fill:currentColor}.block-editor-block-mover__control-drag-handle,.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{box-shadow:none;background:none;color:rgba(10,24,41,.7)}.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active{cursor:grabbing}.block-editor-block-mover__description{display:none}.block-editor-block-navigation__container{padding:7px}.block-editor-block-navigation__label{margin:0 0 8px;color:#6c7781}.block-editor-block-navigation__list,.block-editor-block-navigation__paragraph{padding:0;margin:0}.block-editor-block-navigation__list .block-editor-button-block-appender{outline:none;background:none;padding:8px;margin-right:.8em;width:36px;border-radius:4px}.block-editor-block-navigation__list .block-editor-button-block-appender:hover:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;background:#f3f4f5;outline:none}.block-editor-block-navigation__list .block-editor-button-block-appender:focus:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.block-editor-block-navigation__list .block-editor-block-navigation__list{margin-top:2px;border-right:2px solid #a2aab2;margin-right:1em}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__list{margin-right:1.5em}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item{position:relative}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item:before{position:absolute;right:0;background:#a2aab2;width:.5em;height:2px;content:"";top:calc(50% - 1px)}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item-button{margin-right:.8em;width:calc(100% - .8em)}.block-editor-block-navigation__list .block-editor-block-navigation__list>li:last-child{position:relative}.block-editor-block-navigation__list .block-editor-block-navigation__list>li:last-child:after{position:absolute;content:"";background:#fff;top:19px;bottom:0;right:-2px;width:2px}.block-editor-block-navigation__item-button{display:flex;align-items:center;width:100%;padding:6px;text-align:right;color:#40464d;border-radius:4px}.block-editor-block-navigation__item-button .block-editor-block-icon{margin-left:6px}.block-editor-block-navigation__item-button:hover:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;background:#f3f4f5}.block-editor-block-navigation__item-button:focus:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.block-editor-block-navigation__item-button.is-selected,.block-editor-block-navigation__item-button.is-selected:focus{color:#32373c;background:#edeff0}.components-popover.block-editor-block-navigation__popover{z-index:99998}.block-editor-block-pattern-picker .components-placeholder__instructions{margin-bottom:0}.block-editor-block-pattern-picker .components-placeholder__fieldset{flex-direction:column}.block-editor-block-pattern-picker.has-many-patterns .components-placeholder__fieldset{max-width:90%}.block-editor-block-pattern-picker__patterns.block-editor-block-pattern-picker__patterns{display:flex;justify-content:center;flex-direction:row;flex-wrap:wrap;width:100%;margin:4px 0;list-style:none}.block-editor-block-pattern-picker__patterns.block-editor-block-pattern-picker__patterns>li{list-style:none;margin:8px;flex-shrink:1;max-width:100px}.block-editor-block-pattern-picker__patterns.block-editor-block-pattern-picker__patterns .block-editor-block-pattern-picker__pattern{padding:8px}.block-editor-block-pattern-picker__pattern{width:100%}.block-editor-block-pattern-picker__pattern.components-icon-button{justify-content:center}.block-editor-block-pattern-picker__pattern.components-icon-button.is-default{background-color:#fff}.block-editor-block-pattern-picker__pattern.components-button{height:auto;padding:0}.block-editor-block-pattern-picker__pattern:before{content:"";padding-bottom:100%}.block-editor-block-pattern-picker__pattern:first-child{margin-right:0}.block-editor-block-pattern-picker__pattern:last-child{margin-left:0}.block-editor-block-preview__container{position:relative;width:100%;overflow:hidden}.block-editor-block-preview__container.is-ready{overflow:visible}.block-editor-block-preview__content{position:absolute;top:0;right:0;transform-origin:top right;text-align:initial;margin:0;overflow:visible;min-height:auto}.block-editor-block-preview__content .block-editor-block-list__block,.block-editor-block-preview__content .block-editor-block-list__layout{padding:0}.block-editor-block-preview__content .editor-block-list__block-edit [data-block]{margin:0}.block-editor-block-preview__content>div section{height:auto}.block-editor-block-preview__content .block-editor-block-drop-zone,.block-editor-block-preview__content .block-editor-block-list__insertion-point,.block-editor-block-preview__content .block-list-appender,.block-editor-block-preview__content .reusable-block-indicator{display:none}.block-editor-block-settings-menu .components-dropdown-menu__toggle .dashicon{transform:rotate(-90deg)}.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:4px;padding:calc(37.5% - 6px) 6px 6px}.block-editor-block-styles__item:focus{color:#191e23;box-shadow:0 0 0 1px #fff,0 0 0 3px #00a0d2;outline:2px solid transparent}.block-editor-block-styles__item:hover{background:#f3f4f5;color:#191e23}.block-editor-block-styles__item.is-active{color:#191e23;box-shadow:inset 0 0 0 2px #555d66;outline:2px solid transparent;outline-offset:-2px}.block-editor-block-styles__item.is-active:focus{color:#191e23;box-shadow:0 0 0 1px #fff,0 0 0 3px #00a0d2,inset 0 0 0 2px #555d66;outline:4px solid transparent;outline-offset:-4px}.block-editor-block-styles__item-preview{outline:1px solid transparent;border:1px solid rgba(25,30,35,.2);border-radius:4px;display:flex;overflow:hidden;background:#fff;padding:75% 0 0;margin-top:-75%}.block-editor-block-styles__item-preview .block-editor-block-preview__container{padding-top:0;margin:-75% 0 0}.block-editor-block-styles__item-label{text-align:center;padding:4px 2px}.block-editor-block-switcher{position:relative;height:36px}.components-icon-button.block-editor-block-switcher__no-switcher-icon,.components-icon-button.block-editor-block-switcher__toggle{margin:0;display:block;height:36px;padding:3px}.components-icon-button.block-editor-block-switcher__no-switcher-icon{width:48px}.components-icon-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-icon{margin-left:auto;margin-right:auto}.components-button.block-editor-block-switcher__no-switcher-icon:disabled{border-radius:0;opacity:.84}.components-button.block-editor-block-switcher__no-switcher-icon:disabled .block-editor-block-icon.has-colors{color:#555d66!important;background:#f3f4f5!important}.components-icon-button.block-editor-block-switcher__toggle{width:auto}.components-icon-button.block-editor-block-switcher__toggle:active,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):not([aria-disabled=true]):hover,.components-icon-button.block-editor-block-switcher__toggle:not([aria-disabled=true]):focus{outline:none;box-shadow:none;background:none;border:none}.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{width:42px;height:30px;position:relative;margin:0 auto;padding:3px;display:flex;align-items:center;transition:all .1s cubic-bezier(.165,.84,.44,1)}@media (prefers-reduced-motion:reduce){.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{transition-duration:0s}}.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-icon:after{content:"";pointer-events:none;display:block;width:0;height:0;border-right:3px solid transparent;border-left:3px solid transparent;border-top:5px solid;margin-right:4px;margin-left:2px}.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{margin-top:6px;border-radius:4px}.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-switcher__transform,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):hover .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):hover .block-editor-block-switcher__transform,.components-icon-button.block-editor-block-switcher__toggle[aria-expanded=true] .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle[aria-expanded=true] .block-editor-block-switcher__transform{transform:translateY(-36px)}.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-switcher__transform{box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff;outline:2px solid transparent}.components-popover.block-editor-block-switcher__popover .components-popover__content{min-width:300px;max-width:680px;display:flex;background:#fff;box-shadow:0 3px 30px rgba(25,30,35,.1)}.block-editor-block-switcher__popover .components-popover__content .block-editor-block-switcher__container{min-width:300px;max-width:340px;width:50%}@media (min-width:782px){.block-editor-block-switcher__popover .components-popover__content{position:relative}.block-editor-block-switcher__popover .components-popover__content .block-editor-block-switcher__preview{border-right:1px solid #e2e4e7;box-shadow:0 3px 30px rgba(25,30,35,.1);background:#fff;width:300px;height:auto;position:-webkit-sticky;position:sticky;-ms-grid-row-align:stretch;align-self:stretch;top:0;padding:10px}}.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 #e2e4e7}.block-editor-block-switcher__popover .block-editor-block-styles{margin:0 -3px}.block-editor-block-switcher__popover .block-editor-block-types-list{margin:8px -8px -8px}.block-editor-block-switcher__preview-title{margin-bottom:10px;color:#6c7781}.block-editor-block-toolbar{display:flex;flex-grow:1;width:100%;overflow:auto;position:relative;border-right:1px solid #b5bcc2;transition:border-color .1s linear,box-shadow .1s linear}@media (prefers-reduced-motion:reduce){.block-editor-block-toolbar{transition-duration:0s}}@media (min-width:600px){.block-editor-block-toolbar{overflow:inherit;border-right:none;box-shadow:3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-toolbar{box-shadow:3px 0 0 0 #d7dade}}.block-editor-block-toolbar .components-toolbar{border:0;border-top:1px solid #b5bcc2;border-bottom:1px solid #b5bcc2;border-left:1px solid #b5bcc2;line-height:0}.has-fixed-toolbar .block-editor-block-toolbar{box-shadow:none;border-right:1px solid #e2e4e7}.has-fixed-toolbar .block-editor-block-toolbar .components-toolbar{border-color:#e2e4e7}.block-editor-block-toolbar__slot{display:inline-block;line-height:0}@supports ((position:-webkit-sticky) or (position:sticky)){.block-editor-block-toolbar__slot{display:inline-flex}}.block-editor-block-types-list{list-style:none;padding:4px;margin-right:-4px;margin-left:-4px;overflow:hidden;display:flex;flex-wrap:wrap}.block-editor-button-block-appender{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:21px;outline:1px dashed #8d96a0;width:100%;color:#555d66;background:rgba(237,239,240,.8)}.block-editor-button-block-appender:focus,.block-editor-button-block-appender:hover{outline:1px dashed #555d66;color:#191e23}.block-editor-button-block-appender:active{outline:1px dashed #191e23;color:#191e23}.is-dark-theme .block-editor-button-block-appender{background:rgba(50,55,60,.7);color:#f8f9f9}.is-dark-theme .block-editor-button-block-appender:focus,.is-dark-theme .block-editor-button-block-appender:hover{outline:1px dashed #fff}.block-editor-contrast-checker>.components-notice{margin:0}.block-editor-default-block-appender{clear:both;margin-right:auto;margin-left:auto;position:relative}.block-editor-default-block-appender[data-root-client-id=""] .block-editor-default-block-appender__content:hover{outline:1px solid transparent}.block-editor-default-block-appender textarea.block-editor-default-block-appender__content{font-family:"Noto Serif",serif;font-size:16px;border:none;background:none;box-shadow:none;display:block;cursor:text;width:100%;outline:1px solid transparent;transition:outline .2s;resize:none;margin-top:28px;margin-bottom:28px;padding:0 14px 0 50px;color:rgba(14,28,46,.62)}@media (prefers-reduced-motion:reduce){.block-editor-default-block-appender textarea.block-editor-default-block-appender__content{transition-duration:0s}}.is-dark-theme .block-editor-default-block-appender textarea.block-editor-default-block-appender__content{color:hsla(0,0%,100%,.65)}.block-editor-default-block-appender:hover .block-editor-inserter-with-shortcuts{animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-default-block-appender:hover .block-editor-inserter-with-shortcuts{animation-duration:1ms}}.block-editor-default-block-appender .components-drop-zone__content-icon{display:none}.block-editor-default-block-appender__content{min-height:28px;line-height:1.8}.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter,.block-editor-inserter-with-shortcuts{position:absolute;top:0}.block-editor-block-list__empty-block-inserter .components-icon-button,.block-editor-default-block-appender .block-editor-inserter .components-icon-button,.block-editor-inserter-with-shortcuts .components-icon-button{width:28px;height:28px;margin-left:12px;padding:0}.block-editor-block-list__empty-block-inserter .block-editor-block-icon,.block-editor-default-block-appender .block-editor-inserter .block-editor-block-icon,.block-editor-inserter-with-shortcuts .block-editor-block-icon{margin:auto}.block-editor-block-list__empty-block-inserter .components-icon-button svg,.block-editor-default-block-appender .block-editor-inserter .components-icon-button svg,.block-editor-inserter-with-shortcuts .components-icon-button svg{display:block;margin:auto}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle,.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle,.block-editor-inserter-with-shortcuts .block-editor-inserter__toggle{margin-left:0}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.block-editor-inserter-with-shortcuts .block-editor-inserter__toggle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{box-shadow:none}.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;align-items:center;height:100%;right:-44px;left:auto}}.block-editor-block-list__empty-block-inserter:disabled,.block-editor-default-block-appender .block-editor-inserter:disabled{display:none}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle,.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle{border-radius:50%;width:28px;height:28px;padding:0}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:hover),.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:hover){color:rgba(10,24,41,.7)}.is-dark-theme .block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:hover),.is-dark-theme .block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:hover){color:hsla(0,0%,100%,.75)}.block-editor-block-list__side-inserter .block-editor-inserter-with-shortcuts,.block-editor-default-block-appender .block-editor-inserter-with-shortcuts{left:14px;display:none;z-index:5}@media (min-width:600px){.block-editor-block-list__side-inserter .block-editor-inserter-with-shortcuts,.block-editor-default-block-appender .block-editor-inserter-with-shortcuts{display:flex;align-items:center;height:100%;left:0}}.block-editor-link-control__search{position:relative;min-width:360px}.block-editor-link-control__search .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]{width:calc(100% - 32px);display:block;margin:16px;padding:11px 16px 11px 38px;position:relative;z-index:1;border:1px solid #e1e1e1;border-radius:4px;font-size:16px}@media (min-width:600px){.block-editor-link-control__search .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]{font-size:13px}}.block-editor-link-control__search .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]:focus{color:#191e23;border-color:#007cba;box-shadow:0 0 0 1px #007cba;outline:2px solid transparent}.block-editor-link-control__search-reset{position:absolute;top:19px;left:19px;z-index:10}.block-editor-link-control__search-results-wrapper{position:relative;margin-top:-15px}.block-editor-link-control__search-results-wrapper:after,.block-editor-link-control__search-results-wrapper:before{content:"";position:absolute;right:-1px;left:16px;display:block;pointer-events:none;z-index:100}.block-editor-link-control__search-results-wrapper:before{height:8px;top:0;bottom:auto;background:linear-gradient(180deg,#fff 0,hsla(0,0%,100%,0))}.block-editor-link-control__search-results-wrapper:after{height:16px;bottom:0;top:auto;background:linear-gradient(180deg,hsla(0,0%,100%,0) 0,#fff)}.block-editor-link-control__search-results{margin:0;padding:8px 16px 16px;max-height:200px;overflow-y:scroll}.block-editor-link-control__search-results.is-loading{opacity:.2}.block-editor-link-control__search-item{position:relative;display:flex;align-items:center;font-size:13px;cursor:pointer;background:#fff;width:100%;border:none;text-align:right;padding:10px 15px;border-radius:5px}.block-editor-link-control__search-item:focus,.block-editor-link-control__search-item:hover{background-color:#e9e9e9}.block-editor-link-control__search-item.is-selected{background:#f2f2f2}.block-editor-link-control__search-item.is-selected .block-editor-link-control__search-item-type{background:#fff}.block-editor-link-control__search-item.is-current{background:transparent;border:0;width:100%;cursor:default;padding:16px 24px 16px 16px}.block-editor-link-control__search-item .block-editor-link-control__search-item-header{display:block;margin-left:24px}.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{text-overflow:ellipsis;max-width:230px;overflow:hidden;white-space:nowrap}.block-editor-link-control__search-item .block-editor-link-control__search-item-title{display:block;margin-bottom:.2em;font-weight:500}.block-editor-link-control__search-item .block-editor-link-control__search-item-title mark{font-weight:700;color:#000;background-color:transparent}.block-editor-link-control__search-item .block-editor-link-control__search-item-title span{font-weight:400}.block-editor-link-control__search-item .block-editor-link-control__search-item-info{display:block;color:#999;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:#f3f4f5;border-radius:2px}.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 #e1e1e1;margin:0;padding:16px 24px}.block-editor-link-control__settings :last-child{margin-bottom:0}.block-editor-link-control__setting{margin-bottom:16px}.block-editor-link-control__setting :last-child{margin-bottom:0}.block-editor-link-control .block-editor-link-control__search-input .components-spinner{display:block;z-index:100;float:none}.block-editor-link-control .block-editor-link-control__search-input .components-spinner.components-spinner{position:absolute;top:27px;right:auto;left:60px;bottom:0}.block-editor-link-control__search-item-action{margin-right:auto;flex-shrink:0}.block-editor-inner-blocks.has-overlay:after{content:"";position:absolute;top:-14px;left:-14px;bottom:-14px;right:-14px;z-index:60}[data-align=full]>.editor-block-list__block-edit>[data-block] .has-overlay:after{left:0;right:0}.block-editor-inserter-with-shortcuts{display:flex;align-items:center}.block-editor-inserter-with-shortcuts .components-icon-button{border-radius:4px}.block-editor-inserter-with-shortcuts .components-icon-button svg:not(.dashicon){height:24px;width:24px}.block-editor-inserter-with-shortcuts__block{margin-left:4px;width:36px;height:36px;padding-top:8px;color:rgba(10,24,41,.7)}.is-dark-theme .block-editor-inserter-with-shortcuts__block{color:hsla(0,0%,100%,.75)}.block-editor-inserter{display:inline-block;background:none;border:none;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:1.4}@media (min-width:782px){.block-editor-inserter{position:relative}}@media (min-width:782px){.block-editor-inserter__popover>.components-popover__content{overflow-y:visible;height:432px}}.block-editor-inserter__toggle{display:inline-flex;align-items:center;color:#555d66;background:none;cursor:pointer;border:none;outline:none;transition:color .2s ease}@media (prefers-reduced-motion:reduce){.block-editor-inserter__toggle{transition-duration:0s}}.block-editor-inserter__menu{height:100%;display:flex;width:auto}@media (min-width:782px){.block-editor-inserter__menu{width:400px;position:relative}.block-editor-inserter__menu.has-help-panel{width:700px}}.block-editor-inserter__main-area{width:auto;display:flex;flex-direction:column;height:100%}@media (min-width:782px){.block-editor-inserter__main-area{width:400px;position:relative}}.block-editor-inserter__inline-elements{margin-top:-1px}.block-editor-inserter__menu.is-bottom:after{border-bottom-color:#fff}.components-popover.block-editor-inserter__popover{z-index:99998}.components-popover input[type=search].block-editor-inserter__search{display:block;margin:16px;padding:11px 16px;position:relative;z-index:1;border-radius:4px;font-size:16px}@media (min-width:600px){.components-popover input[type=search].block-editor-inserter__search{font-size:13px}}.components-popover input[type=search].block-editor-inserter__search:focus{color:#191e23;border-color:#007cba;box-shadow:0 0 0 1px #007cba;outline:2px solid transparent}.block-editor-inserter__results{flex-grow:1;overflow:auto;position:relative;z-index:1;padding:0 16px 16px}.block-editor-inserter__results:focus{outline:1px dotted #555d66}@media (min-width:782px){.block-editor-inserter__results{height:394px}}.block-editor-inserter__results [role=presentation]+.components-panel__body{border-top:none}.block-editor-inserter__popover .block-editor-block-types-list{margin:0 -8px}.block-editor-inserter__reusable-blocks-panel{position:relative;text-align:left}.block-editor-inserter__manage-reusable-blocks{margin:16px 16px 0 0}.block-editor-inserter__no-results{font-style:italic;padding:24px;text-align:center}.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__menu-help-panel{display:none;border-right:1px solid #e2e4e7;width:300px;height:100%;padding:20px;overflow-y:auto}@media (min-width:782px){.block-editor-inserter__menu-help-panel{display:flex;flex-direction:column}}.block-editor-inserter__menu-help-panel .block-editor-block-card{padding-bottom:20px;margin-bottom:20px;border-bottom:1px solid #e2e4e7;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-inserter__menu-help-panel .block-editor-block-card{animation-duration:1ms}}.block-editor-inserter__menu-help-panel .block-editor-inserter__preview{display:flex;flex-grow:2}.block-editor-inserter__menu-help-panel-no-block{display:flex;height:100%;flex-direction:column;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-inserter__menu-help-panel-no-block{animation-duration:1ms}}.block-editor-inserter__menu-help-panel-no-block .block-editor-inserter__menu-help-panel-no-block-text{flex-grow:1}.block-editor-inserter__menu-help-panel-no-block .block-editor-inserter__menu-help-panel-no-block-text h4{font-size:18px}.block-editor-inserter__menu-help-panel-no-block .components-notice{margin:0}.block-editor-inserter__menu-help-panel-no-block h4{margin-top:0}.block-editor-inserter__menu-help-panel-hover-area{flex-grow:1;margin-top:20px;padding:20px;border:1px dotted #e2e4e7;display:flex;align-items:center;text-align:center}.block-editor-inserter__menu-help-panel-title{font-size:18px;font-weight:600;margin-bottom:20px}.block-editor-inserter__preview-content{border:1px solid #e2e4e7;border-radius:4px;min-height:150px;display:-ms-grid;display:grid;flex-grow:2}.block-editor-inserter__preview-content .block-editor-block-preview__container{margin-left:0;margin-right:0;padding:10px}.block-editor-inserter__preview-content-missing{flex:1;display:flex;justify-content:center;color:#606a73;border:1px solid #e2e4e7;border-radius:4px;align-items:center}.block-editor-block-types-list__list-item{display:block;width:33.33%;padding:0;margin:0 0 12px}.components-button.block-editor-block-types-list__item{display:flex;flex-direction:column;width:100%;font-size:13px;color:#32373c;padding:0 4px;align-items:stretch;justify-content:center;cursor:pointer;background:transparent;word-break:break-word;border-radius:4px;border:1px solid transparent;transition:all .05s ease-in-out;position:relative}@media (prefers-reduced-motion:reduce){.components-button.block-editor-block-types-list__item{transition-duration:0s}}.components-button.block-editor-block-types-list__item:disabled{opacity:.6;cursor:default}.components-button.block-editor-block-types-list__item:not(:disabled):hover:before{content:"";display:block;background:#f3f4f5;color:#191e23;position:absolute;z-index:-1;border-radius:4px;top:0;left:0;bottom:0;right:0}.components-button.block-editor-block-types-list__item:not(:disabled):hover .block-editor-block-types-list__item-icon,.components-button.block-editor-block-types-list__item:not(:disabled):hover .block-editor-block-types-list__item-title{color:inherit}.components-button.block-editor-block-types-list__item:not(:disabled):active,.components-button.block-editor-block-types-list__item:not(:disabled):focus{position:relative;color:#191e23;box-shadow:0 0 0 1px #fff,0 0 0 3px #00a0d2;outline:2px solid transparent;background:transparent}.components-button.block-editor-block-types-list__item:not(:disabled):active .block-editor-block-types-list__item-icon,.components-button.block-editor-block-types-list__item:not(:disabled):active .block-editor-block-types-list__item-title,.components-button.block-editor-block-types-list__item:not(:disabled):focus .block-editor-block-types-list__item-icon,.components-button.block-editor-block-types-list__item:not(:disabled):focus .block-editor-block-types-list__item-title{color:inherit}.components-button.block-editor-block-types-list__item:not(:disabled).is-active{color:#191e23;box-shadow:inset 0 0 0 2px #555d66;outline:2px solid transparent;outline-offset:-2px}.components-button.block-editor-block-types-list__item:not(:disabled).is-active:focus{color:#191e23;box-shadow:0 0 0 1px #fff,0 0 0 3px #00a0d2,inset 0 0 0 2px #555d66;outline:4px solid transparent;outline-offset:-4px}.block-editor-block-types-list__item-icon{padding:12px 20px;border-radius:4px;color:#555d66;transition:all .05s ease-in-out}@media (prefers-reduced-motion:reduce){.block-editor-block-types-list__item-icon{transition-duration:0s}}.block-editor-block-types-list__item-icon .block-editor-block-icon{margin-right:auto;margin-left:auto}.block-editor-block-types-list__item-icon svg{transition:all .15s ease-out}@media (prefers-reduced-motion:reduce){.block-editor-block-types-list__item-icon svg{transition-duration:0s}}.block-editor-block-types-list__item-title{padding:4px 2px 8px}.media-replace-flow .components-dropdown-menu__indicator{margin-right:4px}.media-replace-flow .components-dropdown-menu__indicator .components-dropdown-menu.media-flow_toolbar .components-dropdown-menu__label{margin-left:6px;margin-right:2px}.media-replace-flow__options.components-popover:not(.is-mobile) .components-popover__content{overflow-x:hidden}.media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input{padding:0 25px 10px 15px}.media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input .components-external-link__icon{position:absolute;left:-4px;bottom:5px;margin-left:2px}.media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input input{max-width:169px;border:1px solid #555d66;border-radius:4px}.media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input .block-editor-url-popover__link-viewer-url{padding-left:15px;padding-top:3px;max-width:179px;position:relative;margin-left:0}.media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input .components-icon-button{width:40px;height:40px;padding:5px 0 5px 5px}.media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input .components-icon-button>svg{padding:5px;border-radius:4px;height:30px;width:30px}.media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input .components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{box-shadow:none}.media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input .components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover>svg{color:#555d66;box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff}.media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input .components-icon-button:not(:disabled):focus{box-shadow:none}.media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input .components-icon-button:not(:disabled):focus>svg{box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff;outline:2px solid transparent}.block-editor-media-placeholder__url-input-container{width:100%}.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__button .dashicon{vertical-align:middle;margin-bottom:3px}.block-editor-media-placeholder__button:hover{color:#23282d}.block-editor-media-placeholder__cancel-button.is-link{margin:1em;display:block}.components-form-file-upload .block-editor-media-placeholder__button{margin-left:4px}.block-editor-media-placeholder.is-appender{min-height:100px;outline:1px dashed #8d96a0}.block-editor-media-placeholder.is-appender:hover{outline:1px dashed #555d66;cursor:pointer}.is-dark-theme .block-editor-media-placeholder.is-appender:hover{outline:1px dashed #fff}.block-editor-media-placeholder.is-appender .block-editor-media-placeholder__upload-button{margin-left:4px}.block-editor-media-placeholder.is-appender .block-editor-media-placeholder__upload-button.components-button:focus,.block-editor-media-placeholder.is-appender .block-editor-media-placeholder__upload-button.components-button:hover{box-shadow:none;border:1px solid #555d66}.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-panel-color-settings .component-color-indicator{vertical-align:text-bottom}.block-editor-panel-color-settings__panel-title .component-color-indicator{display:inline-block}.block-editor-panel-color-settings.is-opened .block-editor-panel-color-settings__panel-title .component-color-indicator{display:none}.block-editor .block-editor-plain-text{box-shadow:none;font-family:inherit;font-size:inherit;color:inherit;line-height:inherit;border:none;padding:0;margin:0;width:100%}.block-editor-responsive-block-control{margin-bottom:28px;border-bottom:1px solid #d7dade;padding-bottom:14px}.block-editor-responsive-block-control:last-child{padding-bottom:0;border-bottom:0}.block-editor-responsive-block-control__title{margin:0 -3px .6em 0}.block-editor-responsive-block-control__label{font-weight:600;margin-bottom:.6em;margin-right:-3px}.block-editor-responsive-block-control__inner{margin-right:-1px}.block-editor-responsive-block-control__toggle{margin-right:1px}.block-editor-responsive-block-control .components-base-control__help{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.block-editor-format-toolbar .components-dropdown-menu__toggle .components-dropdown-menu__indicator:after{margin:7px}.block-editor-rich-text__editable>p:first-child{margin-top:0}.block-editor-rich-text__editable a{color:#007fac}.block-editor-rich-text__editable code{padding:2px;border-radius:2px;color:#23282d;background:#f3f4f5;font-family:Menlo,Consolas,monaco,monospace;font-size:inherit}.block-editor-rich-text__editable:focus{outline:none}.block-editor-rich-text__editable:focus [data-rich-text-format-boundary]{border-radius:2px}.block-editor-rich-text__editable [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.is-selected:not(.keep-placeholder-on-focus) [data-rich-text-placeholder]:after{display:none}figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]:before{opacity:.8}.components-popover.block-editor-rich-text__inline-format-toolbar{z-index:99998}.components-popover.block-editor-rich-text__inline-format-toolbar .components-popover__content{min-width:auto}.components-popover.block-editor-rich-text__inline-format-toolbar .components-toolbar{border:none}.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:#11a0d2;line-height:normal;box-shadow:0 0 2px 2px rgba(0,0,0,.6);text-decoration:none;outline:none;z-index:100000}body.admin-color-sunrise .block-editor-skip-to-selected-block:focus{color:#c8b03c}body.admin-color-ocean .block-editor-skip-to-selected-block:focus{color:#a89d8a}body.admin-color-midnight .block-editor-skip-to-selected-block:focus{color:#77a6b9}body.admin-color-ectoplasm .block-editor-skip-to-selected-block:focus{color:#c77430}body.admin-color-coffee .block-editor-skip-to-selected-block:focus{color:#9fa47b}body.admin-color-blue .block-editor-skip-to-selected-block:focus{color:#d9ab59}body.admin-color-light .block-editor-skip-to-selected-block:focus{color:#c75726}.block-editor-tool-selector__help{padding:16px;border-top:1px solid #e2e4e7;color:#6c7781}.block-editor-block-list__block .block-editor-url-input,.block-editor-url-input,.components-popover .block-editor-url-input{flex-grow:1;position:relative;padding:1px}.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{width:100%;padding:8px;border:none;border-radius:0;margin-right:0;margin-left:0;font-size:16px}@media (min-width:600px){.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{width:300px}}@media (min-width:600px){.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{font-size:13px}}.block-editor-block-list__block .block-editor-url-input input[type=text]::-ms-clear,.block-editor-url-input input[type=text]::-ms-clear,.components-popover .block-editor-url-input input[type=text]::-ms-clear{display:none}.block-editor-block-list__block .block-editor-url-input.has-border input[type=text],.block-editor-url-input.has-border input[type=text],.components-popover .block-editor-url-input.has-border input[type=text]{border:1px solid #555d66;border-radius:4px}.block-editor-block-list__block .block-editor-url-input.is-full-width,.block-editor-url-input.is-full-width,.components-popover .block-editor-url-input.is-full-width{width:100%}.block-editor-block-list__block .block-editor-url-input.is-full-width input[type=text],.block-editor-url-input.is-full-width input[type=text],.components-popover .block-editor-url-input.is-full-width input[type=text]{width:100%}.block-editor-block-list__block .block-editor-url-input.is-full-width__suggestions,.block-editor-url-input.is-full-width__suggestions,.components-popover .block-editor-url-input.is-full-width__suggestions{width:100%}.block-editor-block-list__block .block-editor-url-input .components-spinner,.block-editor-url-input .components-spinner,.components-popover .block-editor-url-input .components-spinner{position:absolute;left:8px;bottom:17px;margin:0}.block-editor-url-input__suggestions{max-height:200px;transition:all .15s ease-in-out;padding:4px 0;width:302px;overflow-y:auto}@media (prefers-reduced-motion:reduce){.block-editor-url-input__suggestions{transition-duration:0s}}.block-editor-url-input .components-spinner,.block-editor-url-input__suggestions{display:none}@media (min-width:600px){.block-editor-url-input .components-spinner,.block-editor-url-input__suggestions{display:inherit}}.block-editor-url-input__suggestion{padding:4px 8px;color:#6c7781;display:block;font-size:13px;cursor:pointer;background:#fff;width:100%;text-align:right;border:none;box-shadow:none}.block-editor-url-input__suggestion:hover{background:#e2e4e7}.block-editor-url-input__suggestion.is-selected,.block-editor-url-input__suggestion:focus{background:#00719e;color:#fff;outline:none}body.admin-color-sunrise .block-editor-url-input__suggestion.is-selected,body.admin-color-sunrise .block-editor-url-input__suggestion:focus{background:#b2723f}body.admin-color-ocean .block-editor-url-input__suggestion.is-selected,body.admin-color-ocean .block-editor-url-input__suggestion:focus{background:#8b9d8a}body.admin-color-midnight .block-editor-url-input__suggestion.is-selected,body.admin-color-midnight .block-editor-url-input__suggestion:focus{background:#bf4139}body.admin-color-ectoplasm .block-editor-url-input__suggestion.is-selected,body.admin-color-ectoplasm .block-editor-url-input__suggestion:focus{background:#8e9b49}body.admin-color-coffee .block-editor-url-input__suggestion.is-selected,body.admin-color-coffee .block-editor-url-input__suggestion:focus{background:#a58d77}body.admin-color-blue .block-editor-url-input__suggestion.is-selected,body.admin-color-blue .block-editor-url-input__suggestion:focus{background:#6f99ad}body.admin-color-light .block-editor-url-input__suggestion.is-selected,body.admin-color-light .block-editor-url-input__suggestion:focus{background:#00719e}.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:#e2e4e7}.block-editor-url-input__button-modal{box-shadow:0 3px 30px rgba(25,30,35,.1);border:1px solid #e2e4e7;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 #e2e4e7}.block-editor-url-popover__additional-controls>div[role=menu] .components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default)>svg{box-shadow:none}.block-editor-url-popover__additional-controls div[role=menu]>.components-icon-button{padding-right:2px}.block-editor-url-popover__row{display:flex}.block-editor-url-popover__row>:not(.block-editor-url-popover__settings-toggle){flex-grow:1}.block-editor-url-popover .components-icon-button{padding:3px}.block-editor-url-popover .components-icon-button>svg{padding:5px;border-radius:4px;height:30px;width:30px}.block-editor-url-popover .components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{box-shadow:none}.block-editor-url-popover .components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover>svg{color:#555d66;box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff}.block-editor-url-popover .components-icon-button:not(:disabled):focus{box-shadow:none}.block-editor-url-popover .components-icon-button:not(:disabled):focus>svg{box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff;outline:2px solid transparent}.block-editor-url-popover__settings-toggle{flex-shrink:0;border-radius:0;border-right:1px solid #e2e4e7;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 #e2e4e7}.block-editor-url-popover__link-editor,.block-editor-url-popover__link-viewer{display:flex}.block-editor-url-popover__link-editor .block-editor-url-input .components-base-control__field,.block-editor-url-popover__link-viewer .block-editor-url-input .components-base-control__field{margin-bottom:0}.block-editor-url-popover__link-editor .block-editor-url-input .components-spinner,.block-editor-url-popover__link-viewer .block-editor-url-input .components-spinner{bottom:9px}.block-editor-url-popover__link-viewer-url{margin:7px;flex-grow:1;flex-shrink:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:150px;max-width:500px}.block-editor-url-popover__link-viewer-url.has-invalid-link{color:#d94f4f}.block-editor-warning{display:flex;flex-direction:row;justify-content:space-between;flex-wrap:nowrap;background-color:#fff;border:1px solid #e2e4e7;text-align:right;padding:10px 14px 14px}.is-selected .block-editor-warning{border-color:rgba(66,88,99,.4)}@media (min-width:600px){.is-selected .block-editor-warning{border-right-color:transparent}}.is-dark-theme .is-selected .block-editor-warning{border-color:hsla(0,0%,100%,.45)}.block-editor-warning .block-editor-warning__message{line-height:1.4;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;margin:1em 0}.block-editor-warning p.block-editor-warning__message.block-editor-warning__message{min-height:auto}.block-editor-warning .block-editor-warning__contents{display:flex;flex-direction:row;justify-content:space-between;flex-wrap:wrap;align-items:baseline;width:100%}.block-editor-warning .block-editor-warning__actions{display:flex}.block-editor-warning .block-editor-warning__action{margin:0 0 0 6px}.block-editor-warning__secondary{margin:5px -4px 0 0;height:36px}.block-editor-warning__secondary .components-icon-button{width:auto;padding:8px 2px}@media (min-width:600px){.block-editor-warning__secondary{margin-right:4px}.block-editor-warning__secondary .components-icon-button{padding:8px 4px}}.block-editor-warning__secondary .components-button svg{transform:rotate(-90deg)}.block-editor-writing-flow{display:flex;flex-direction:column}.block-editor-writing-flow__click-redirect{cursor:text}.html-anchor-control .components-external-link{display:block;margin-top:8px} \ No newline at end of file +.block-editor-block-drop-zone{border:none;border-radius:0}.block-editor-block-drop-zone .components-drop-zone__content,.block-editor-block-drop-zone.is-dragging-over-element .components-drop-zone__content{display:none}.block-editor-block-drop-zone.is-close-to-bottom,.block-editor-block-drop-zone.is-close-to-top{background:none}.block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #0085ba}body.admin-color-sunrise .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #d1864a}body.admin-color-ocean .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #a3b9a2}body.admin-color-midnight .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #e14d43}body.admin-color-ectoplasm .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #a7b656}body.admin-color-coffee .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #c2a68c}body.admin-color-blue .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #82b4cb}body.admin-color-light .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #0085ba}.block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #0085ba}body.admin-color-sunrise .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #d1864a}body.admin-color-ocean .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #a3b9a2}body.admin-color-midnight .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #e14d43}body.admin-color-ectoplasm .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #a7b656}body.admin-color-coffee .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #c2a68c}body.admin-color-blue .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #82b4cb}body.admin-color-light .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #0085ba}.block-editor-block-drop-zone.is-appender.is-active.is-dragging-over-document{border-bottom:none}.block-editor-block-icon{display:flex;align-items:center;justify-content:center;width:24px;height:24px;margin:0;border-radius:4px}.block-editor-block-icon.has-colors svg{fill:currentColor}.block-editor-block-icon svg{min-width:20px;min-height:20px;max-width:24px;max-height:24px}.block-editor-block-inspector .components-base-control{margin-bottom:24px}.block-editor-block-inspector .components-base-control:last-child{margin-bottom:8px}.block-editor-block-inspector .components-panel__body{border:none;border-top:1px solid #e2e4e7}.block-editor-block-inspector .block-editor-block-card{padding:16px}.block-editor-block-inspector__no-blocks{display:block;font-size:13px;background:#fff;padding:32px 16px;text-align:center}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging .block-editor-block-list__block-edit:before{border:none}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging>.block-editor-block-list__block-edit>*{background:#f8f9f9}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging>.block-editor-block-list__block-edit>*>*{visibility:hidden}.block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit .reusable-block-edit-panel *{z-index:1}.block-editor-block-list__layout{padding-right:14px;padding-left:14px}@media (min-width:600px){.block-editor-block-list__layout{padding-right:58px;padding-left:58px}}.block-editor-block-list__layout .block-editor-block-list__layout{padding-right:0;padding-left:0}.block-editor-block-list__layout .block-editor-block-list__block{position:relative;overflow-wrap:break-word}.block-editor-block-list__layout .block-editor-block-list__block .components-placeholder .components-with-notices-ui{margin:-10px 20px 12px;width:calc(100% - 40px)}.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 .block-editor-block-list__block-edit{position:relative}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__block-edit:before{z-index:0;content:"";position:absolute;border:1px solid transparent;border-right:none;box-shadow:none;pointer-events:none;transition:border-color .1s linear,border-style .1s linear,box-shadow .1s linear;outline:1px solid transparent;left:-14px;right:-14px;top:-14px;bottom:-14px}@media (prefers-reduced-motion:reduce){.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__block-edit:before{transition-duration:0s}}.block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit:before{border-color:rgba(66,88,99,.4);box-shadow:inset -3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit:before{border-color:hsla(0,0%,100%,.45);box-shadow:inset -3px 0 0 0 #d7dade}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit:before{box-shadow:3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit:before{box-shadow:3px 0 0 0 #d7dade}}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-navigate-mode>.block-editor-block-list__block-edit:before{border-color:#007cba;box-shadow:inset -3px 0 0 0 #007cba}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-navigate-mode>.block-editor-block-list__block-edit:before{box-shadow:3px 0 0 0 #007cba}}.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected){opacity:.5;transition:opacity .1s linear}@media (prefers-reduced-motion:reduce){.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected){transition-duration:0s}}.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected).is-focused,.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected):not(.is-focused) .block-editor-block-list__block{opacity:1}.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected>.block-editor-block-list__block-edit>[data-block]{box-shadow:0 0 0 2px #007cba;border-radius:1px;outline:2px solid transparent}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected>.block-editor-block-list__block-edit>[data-block]{box-shadow:0 0 0 2px #fff}.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .components-placeholder ::selection{background:transparent}.block-editor-block-list__layout.has-toolbar-captured>.block-editor-block-list__block-edit:before{right:0}.block-editor-block-list__layout .block-editor-block-list__block.has-warning{min-height:36px}.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit>*{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit .block-editor-warning{pointer-events:all}.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit:before{border-color:rgba(145,151,162,.25);border-right:1px solid rgba(145,151,162,.25)}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit:before{border-color:hsla(0,0%,100%,.35)}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .block-editor-block-list__block-edit:before{border-color:rgba(66,88,99,.4) transparent rgba(66,88,99,.4) rgba(66,88,99,.4)}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .block-editor-block-list__block-edit:before{border-color:hsla(0,0%,100%,.45)}.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit:after{content:"";position:absolute;background-color:rgba(248,249,249,.4);top:-14px;bottom:-14px;left:-14px;right:-14px}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-multi-selected .block-editor-block-list__block-edit:after{background-color:transparent}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .block-editor-block-list__block-edit:after{bottom:22px}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .block-editor-block-list__block-edit:after{bottom:-14px}}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable.is-selected>.block-editor-block-list__block-edit:before{border-right:transparent;border-width:1px;border-style:dashed}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable>.block-editor-block-list__block-edit .block-editor-inner-blocks.has-overlay:after{display:none}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable>.block-editor-block-list__block-edit .block-editor-inner-blocks.has-overlay .block-editor-inner-blocks.has-overlay:after{display:block}.block-editor-block-list__layout .block-editor-block-list__block.is-navigate-mode{cursor:default}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left],.block-editor-block-list__layout .block-editor-block-list__block[data-align=right]{z-index:21;width:100%;height:0}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-list__block-edit,.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-list__block-edit{margin-top:0}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-list__block-edit:before,.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-list__block-edit:before{content:none}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left]>.block-editor-block-list__block-edit{float:left;margin-right:2em}.block-editor-block-list__layout .block-editor-block-list__block[data-align=right]>.block-editor-block-list__block-edit{float:right;margin-left:2em}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full],.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]{clear:both}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit{margin-right:-14px;margin-left:-14px}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit{margin-right:-58px;margin-left:-58px}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit:before{right:0;left:0;border-right-width:0;border-left-width:0}.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-drop-zone{top:-4px;bottom:-3px;margin:0 14px}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-block-list__empty-block-inserter,.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-default-block-appender .block-editor-inserter{right:auto;left:8px}.block-editor-block-list .block-editor-inserter{margin:8px;cursor:move;cursor:grab}.block-editor-block-list__insertion-point{position:relative;z-index:6;margin-top:-14px}.block-editor-block-list__insertion-point-indicator{position:absolute;top:calc(50% - 1px);height:2px;right:0;left:0;background:#0085ba}body.admin-color-sunrise .block-editor-block-list__insertion-point-indicator{background:#d1864a}body.admin-color-ocean .block-editor-block-list__insertion-point-indicator{background:#a3b9a2}body.admin-color-midnight .block-editor-block-list__insertion-point-indicator{background:#e14d43}body.admin-color-ectoplasm .block-editor-block-list__insertion-point-indicator{background:#a7b656}body.admin-color-coffee .block-editor-block-list__insertion-point-indicator{background:#c2a68c}body.admin-color-blue .block-editor-block-list__insertion-point-indicator{background:#82b4cb}body.admin-color-light .block-editor-block-list__insertion-point-indicator{background:#0085ba}.block-editor-block-list__insertion-point-inserter{display:none;position:absolute;bottom:auto;right:0;left:0;justify-content:center;height:22px;opacity:0;transition:opacity .1s linear}@media (min-width:480px){.block-editor-block-list__insertion-point-inserter{display:flex}}.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle{border-radius:50%;color:#007cba;background:#fff;height:28px;width:28px;padding:4px}.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled=true]):hover{box-shadow:none}@media (prefers-reduced-motion:reduce){.block-editor-block-list__insertion-point-inserter{transition-duration:0s}}.block-editor-block-list__insertion-point-inserter.is-visible,.block-editor-block-list__insertion-point-inserter:hover{opacity:1}.edit-post-layout:not(.has-fixed-toolbar) .is-focused>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter,.edit-post-layout:not(.has-fixed-toolbar) .is-selected>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter{opacity:0;pointer-events:none}.edit-post-layout:not(.has-fixed-toolbar) .is-focused>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter.is-visible,.edit-post-layout:not(.has-fixed-toolbar) .is-focused>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter:hover,.edit-post-layout:not(.has-fixed-toolbar) .is-selected>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter.is-visible,.edit-post-layout:not(.has-fixed-toolbar) .is-selected>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter:hover{opacity:1;pointer-events:auto}.block-editor-block-list__block>.block-editor-block-list__insertion-point{position:absolute;top:-16px;height:28px;bottom:auto;right:14px;left:14px}.block-editor-block-list__block[data-align=full]>.block-editor-block-list__insertion-point{right:0;left:0}.block-editor-block-list__block .block-editor-block-list__block-html-textarea{display:block;margin:0;width:100%;border:none;outline:none;box-shadow:none;resize:none;overflow:hidden;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;line-height:150%;transition:padding .2s linear}@media (prefers-reduced-motion:reduce){.block-editor-block-list__block .block-editor-block-list__block-html-textarea{transition-duration:0s}}.block-editor-block-list__block .block-editor-block-list__block-html-textarea:focus{box-shadow:none}.block-editor-block-contextual-toolbar .block-editor-block-toolbar{width:100%}@media (min-width:600px){.block-editor-block-contextual-toolbar .block-editor-block-toolbar{width:auto;border-left:none}}.block-editor-block-list__breadcrumb{display:block;line-height:1;z-index:22}.block-editor-block-list__breadcrumb .components-toolbar{display:flex;background:#fff;border:1px solid #007cba;border-right:none;box-shadow:inset -3px 0 0 0 #007cba;height:38px;font-size:13px;line-height:29px;padding-right:8px;padding-left:8px}.block-editor-block-list__breadcrumb .components-toolbar .components-button{box-shadow:none}.is-dark-theme .block-editor-block-list__breadcrumb .components-toolbar{border-color:hsla(0,0%,100%,.45)}@media (min-width:600px){.block-editor-block-list__breadcrumb .components-toolbar{box-shadow:3px 0 0 0 #007cba}}@media (min-width:600px){.block-editor-block-list__block:before{bottom:0;content:"";right:-28px;position:absolute;left:-28px;top:0}.block-editor-block-list__block .block-editor-block-list__block:before{right:0;left:0}.block-editor-block-list__block[data-align=full]:before{content:none}}.block-editor-block-list__block .block-editor-warning{z-index:5;position:relative;margin-left:-14px;margin-right:-14px;margin-bottom:-14px;transform:translateY(-14px)}.block-editor-block-list__block .block-editor-warning.block-editor-block-list__block-crash-warning{margin-bottom:auto}.components-popover.block-editor-block-list__block-popover{z-index:29}.components-popover.block-editor-block-list__block-popover .components-popover__content{margin-right:0!important;min-width:auto;background:none;border:none;box-shadow:none;overflow-y:visible}.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__breadcrumb{margin-bottom:13px;margin-right:-14px}.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-contextual-toolbar[data-align=full]{margin-right:0}.is-dragging-components-draggable .components-popover.block-editor-block-list__block-popover{opacity:0}.block-editor-block-list__block .block-list-appender{margin:14px 0}.has-background .block-editor-block-list__block .block-list-appender{margin:32px 14px}.block-list-appender>.block-editor-inserter{display:block}.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:"\2192"}.block-editor-block-breadcrumb__button.components-button{height:24px;line-height:24px;padding:0}.block-editor-block-breadcrumb__button.components-button:hover{text-decoration:underline}.block-editor-block-breadcrumb__button.components-button:focus{color:#191e23;outline-offset:-1px;outline:1px dotted #555d66;outline-offset:-2px;box-shadow:none}.block-editor-block-breadcrumb__current{cursor:default}.block-editor-block-breadcrumb__button.components-button,.block-editor-block-breadcrumb__current{color:#555d66;padding:0 8px;font-size:inherit}.block-editor-block-card{display:flex;align-items:flex-start}.block-editor-block-card__icon{border:1px solid #ccd0d4;padding:7px;margin-left:10px;height:36px;width:36px}.block-editor-block-card__content{flex-grow:1}.block-editor-block-card__title{font-weight:500;margin-bottom:5px}.block-editor-block-card__description{font-size:13px}.block-editor-block-card .block-editor-block-icon{margin-right:-2px;margin-left:10px;padding:0 3px;width:36px;height:24px}.block-editor-block-compare{overflow:auto;height:auto}@media (min-width:600px){.block-editor-block-compare{max-height:70%}}.block-editor-block-compare__wrapper{display:flex;padding-bottom:16px}.block-editor-block-compare__wrapper>div{display:flex;justify-content:space-between;flex-direction:column;width:50%;padding:0 0 0 16px;min-width:200px}.block-editor-block-compare__wrapper>div button{float:left}.block-editor-block-compare__wrapper .block-editor-block-compare__converted{border-right:1px solid #ddd;padding-right:15px;padding-left:0}.block-editor-block-compare__wrapper .block-editor-block-compare__html{font-family:Menlo,Consolas,monaco,monospace;font-size:12px;color:#23282d;border-bottom:1px solid #ddd;padding-bottom:15px;line-height:1.7}.block-editor-block-compare__wrapper .block-editor-block-compare__html span{background-color:#e6ffed;padding-top:3px;padding-bottom:3px}.block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__added{background-color:#acf2bd}.block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__removed{background-color:#d94f4f}.block-editor-block-compare__wrapper .block-editor-block-compare__preview{padding:14px 0 0}.block-editor-block-compare__wrapper .block-editor-block-compare__preview p{font-size:12px;margin-top:0}.block-editor-block-compare__wrapper .block-editor-block-compare__action{margin-top:14px}.block-editor-block-compare__wrapper .block-editor-block-compare__heading{font-size:1em;font-weight:400;margin:.67em 0}.block-editor-block-mobile-toolbar{display:flex;flex-direction:row;border-left:1px solid #e2e4e7}.block-editor-block-mobile-toolbar .block-editor-block-mover__control{width:36px;height:36px;border-radius:4px;padding:3px;margin:0;justify-content:center;align-items:center}.block-editor-block-mobile-toolbar .block-editor-block-mover__control .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__control{float:right}@media (min-width:600px){.block-editor-block-contextual-toolbar:not([data-align=wide]):not([data-align=full]) .block-editor-block-mover:not(.is-horizontal){display:block;position:absolute;top:37px;right:-38px;opacity:0;background:#fff;border:1px solid rgba(66,88,99,.4);border-radius:4px;transition:box-shadow .2s ease-out}}@media (min-width:600px) and (prefers-reduced-motion:reduce){.block-editor-block-contextual-toolbar:not([data-align=wide]):not([data-align=full]) .block-editor-block-mover:not(.is-horizontal){transition-duration:0s}}@media (min-width:600px){.block-editor-block-contextual-toolbar:not([data-align=wide]):not([data-align=full]) .block-editor-block-mover:not(.is-horizontal).is-visible{animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}}@media (min-width:600px) and (prefers-reduced-motion:reduce){.block-editor-block-contextual-toolbar:not([data-align=wide]):not([data-align=full]) .block-editor-block-mover:not(.is-horizontal).is-visible{animation-duration:1ms}}@media (min-width:600px){.block-editor-block-contextual-toolbar:not([data-align=wide]):not([data-align=full]) .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover__control{display:flex;align-items:center;justify-content:center;padding:0;border:none;width:28px;height:24px;color:rgba(14,28,46,.62)}.block-editor-block-contextual-toolbar:not([data-align=wide]):not([data-align=full]) .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover__control svg{width:28px;height:24px;padding:2px 5px}.block-editor-block-contextual-toolbar:not([data-align=wide]):not([data-align=full]) .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover__control[aria-disabled=true]{cursor:default;pointer-events:none;color:rgba(14,28,46,.62)}.block-editor-block-contextual-toolbar:not([data-align=wide]):not([data-align=full]) .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover__control:focus:not(:disabled){background-color:transparent}}@media (min-width:600px){.block-editor-block-list__block:not([data-align=wide]):not([data-align=full]) .block-editor-block-mover:not(.is-horizontal){margin-top:0}}.block-editor-block-mover__control-drag-handle{cursor:move;cursor:grab;fill:currentColor}.block-editor-block-mover__control-drag-handle,.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-secondary):active,.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-secondary):focus,.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover{box-shadow:none;background:none;color:rgba(10,24,41,.7)}.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-secondary):active{cursor:grabbing}.block-editor-block-mover__description{display:none}.block-editor-block-navigation__container{padding:7px}.block-editor-block-navigation__label{margin:0 0 8px;color:#6c7781}.block-editor-block-navigation__list,.block-editor-block-navigation__paragraph{padding:0;margin:0}.block-editor-block-navigation__list .block-editor-button-block-appender{outline:none;background:none;padding:8px;margin-right:.8em;width:36px;border-radius:4px}.block-editor-block-navigation__list .block-editor-button-block-appender:hover:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;background:#f3f4f5;outline:none}.block-editor-block-navigation__list .block-editor-button-block-appender:focus:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.block-editor-block-navigation__list .block-editor-block-navigation__list{margin-top:2px;border-right:2px solid #a2aab2;margin-right:1em}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__list{margin-right:1.5em}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item{position:relative}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item:before{position:absolute;right:0;background:#a2aab2;width:.5em;height:2px;content:"";top:calc(50% - 1px)}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item-button{margin-right:.8em;width:calc(100% - .8em)}.block-editor-block-navigation__list .block-editor-block-navigation__list>li:last-child{position:relative}.block-editor-block-navigation__list .block-editor-block-navigation__list>li:last-child:after{position:absolute;content:"";background:#fff;top:19px;bottom:0;right:-2px;width:2px}.block-editor-block-navigation__item-button{display:flex;align-items:center;width:100%;padding:6px;text-align:right;color:#40464d;border-radius:4px}.block-editor-block-navigation__item-button .block-editor-block-icon{margin-left:6px}.block-editor-block-navigation__item-button:hover:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;background:#f3f4f5}.block-editor-block-navigation__item-button:focus:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.block-editor-block-navigation__item-button.is-selected,.block-editor-block-navigation__item-button.is-selected:focus{color:#32373c;background:#edeff0}.components-popover.block-editor-block-navigation__popover{z-index:99998}.block-editor-block-pattern-picker .components-placeholder__instructions{margin-bottom:0}.block-editor-block-pattern-picker .components-placeholder__fieldset{flex-direction:column}.block-editor-block-pattern-picker.has-many-patterns .components-placeholder__fieldset{max-width:90%}.block-editor-block-pattern-picker__patterns.block-editor-block-pattern-picker__patterns{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-pattern-picker__patterns.block-editor-block-pattern-picker__patterns>li{list-style:none;margin:0 0 0 8px;flex-shrink:1;max-width:100px}.block-editor-block-pattern-picker__patterns.block-editor-block-pattern-picker__patterns .block-editor-block-pattern-picker__pattern{padding:8px}.block-editor-block-pattern-picker__pattern{width:100%}.block-editor-block-pattern-picker__pattern.components-button.has-icon{justify-content:center}.block-editor-block-pattern-picker__pattern.components-button.has-icon.is-secondary{background-color:#fff}.block-editor-block-pattern-picker__pattern.components-button{height:auto;padding:0}.block-editor-block-pattern-picker__pattern:before{content:"";padding-bottom:100%}.block-editor-block-pattern-picker__pattern:first-child{margin-right:0}.block-editor-block-pattern-picker__pattern:last-child{margin-left:0}.block-editor-block-preview__container{position:relative;width:100%;overflow:hidden}.block-editor-block-preview__container.is-ready{overflow:visible}.block-editor-block-preview__content{position:absolute;top:0;right:0;transform-origin:top right;text-align:initial;margin:0;overflow:visible;min-height:auto}.block-editor-block-preview__content .block-editor-block-list__block,.block-editor-block-preview__content .block-editor-block-list__layout{padding:0}.block-editor-block-preview__content .block-editor-block-list__block-edit [data-block]{margin:0}.block-editor-block-preview__content>div section{height:auto}.block-editor-block-preview__content .block-editor-block-drop-zone,.block-editor-block-preview__content .block-editor-block-list__insertion-point,.block-editor-block-preview__content .block-list-appender,.block-editor-block-preview__content .reusable-block-indicator{display:none}.block-editor-block-settings-menu .components-dropdown-menu__toggle .dashicon{transform:rotate(-90deg)}.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:4px;padding:calc(37.5% - 6px) 6px 6px}.block-editor-block-styles__item:focus{color:#191e23;box-shadow:0 0 0 1px #fff,0 0 0 3px #00a0d2;outline:2px solid transparent}.block-editor-block-styles__item:hover{background:#f3f4f5;color:#191e23}.block-editor-block-styles__item.is-active{color:#191e23;box-shadow:inset 0 0 0 2px #555d66;outline:2px solid transparent;outline-offset:-2px}.block-editor-block-styles__item.is-active:focus{color:#191e23;box-shadow:0 0 0 1px #fff,0 0 0 3px #00a0d2,inset 0 0 0 2px #555d66;outline:4px solid transparent;outline-offset:-4px}.block-editor-block-styles__item-preview{outline:1px solid transparent;border:1px solid rgba(25,30,35,.2);border-radius:4px;display:flex;overflow:hidden;background:#fff;padding:75% 0 0;margin-top:-75%}.block-editor-block-styles__item-preview .block-editor-block-preview__container{padding-top:0;margin:-75% 0 0}.block-editor-block-styles__item-label{text-align:center;padding:4px 2px}.block-editor-block-switcher{position:relative;height:36px}.components-button.block-editor-block-switcher__no-switcher-icon,.components-button.block-editor-block-switcher__toggle{margin:0;display:block;height:36px;padding:3px}.components-button.block-editor-block-switcher__no-switcher-icon{width:48px}.components-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-icon{margin-left:auto;margin-right:auto}.components-button.block-editor-block-switcher__no-switcher-icon:disabled{border-radius:0;opacity:.84}.components-button.block-editor-block-switcher__no-switcher-icon:disabled .block-editor-block-icon.has-colors{color:#555d66!important;background:#f3f4f5!important}.components-button.block-editor-block-switcher__toggle{width:auto}.components-button.block-editor-block-switcher__toggle:active,.components-button.block-editor-block-switcher__toggle:not(:disabled):not([aria-disabled=true]):hover,.components-button.block-editor-block-switcher__toggle:not([aria-disabled=true]):focus{outline:none;box-shadow:none;background:none;border:none}.components-button.block-editor-block-switcher__toggle .block-editor-block-icon,.components-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{width:42px;height:30px;position:relative;margin:0 auto;padding:3px;display:flex;align-items:center;transition:all .1s cubic-bezier(.165,.84,.44,1)}@media (prefers-reduced-motion:reduce){.components-button.block-editor-block-switcher__toggle .block-editor-block-icon,.components-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{transition-duration:0s}}.components-button.block-editor-block-switcher__toggle .block-editor-block-icon:after{content:"";pointer-events:none;display:block;width:0;height:0;border-right:3px solid transparent;border-left:3px solid transparent;border-top:5px solid;margin-right:4px;margin-left:2px}.components-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{margin-top:6px;border-radius:4px}.components-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-icon,.components-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-switcher__transform,.components-button.block-editor-block-switcher__toggle:not(:disabled):hover .block-editor-block-icon,.components-button.block-editor-block-switcher__toggle:not(:disabled):hover .block-editor-block-switcher__transform,.components-button.block-editor-block-switcher__toggle[aria-expanded=true] .block-editor-block-icon,.components-button.block-editor-block-switcher__toggle[aria-expanded=true] .block-editor-block-switcher__transform{transform:translateY(-36px)}.components-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-icon,.components-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-switcher__transform{box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff;outline:2px solid transparent}.components-popover.block-editor-block-switcher__popover .components-popover__content{min-width:300px;max-width:680px;display:flex;background:#fff;box-shadow:0 3px 30px rgba(25,30,35,.1)}.block-editor-block-switcher__popover .components-popover__content .block-editor-block-switcher__container{min-width:300px;max-width:340px;width:50%}@media (min-width:782px){.block-editor-block-switcher__popover .components-popover__content{position:relative}.block-editor-block-switcher__popover .components-popover__content .block-editor-block-switcher__preview{border-right:1px solid #e2e4e7;box-shadow:0 3px 30px rgba(25,30,35,.1);background:#fff;width:300px;height:auto;position:-webkit-sticky;position:sticky;-ms-grid-row-align:stretch;align-self:stretch;top:0;padding:10px}}.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 #e2e4e7}.block-editor-block-switcher__popover .block-editor-block-styles{margin:0 -3px}.block-editor-block-switcher__popover .block-editor-block-types-list{margin:8px -8px -8px}.block-editor-block-switcher__preview-title{margin-bottom:10px;color:#6c7781}.block-editor-block-toolbar{display:flex;flex-grow:1;width:100%;overflow:auto;position:relative;border-right:1px solid #b5bcc2;transition:border-color .1s linear,box-shadow .1s linear}@media (prefers-reduced-motion:reduce){.block-editor-block-toolbar{transition-duration:0s}}@media (min-width:600px){.block-editor-block-toolbar{overflow:inherit;border-right:none;box-shadow:3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-toolbar{box-shadow:3px 0 0 0 #d7dade}}.block-editor-block-toolbar .components-toolbar{border:0;border-top:1px solid #b5bcc2;border-bottom:1px solid #b5bcc2;border-left:1px solid #b5bcc2;line-height:0}.has-fixed-toolbar .block-editor-block-toolbar{box-shadow:none;border-right:1px solid #e2e4e7}.has-fixed-toolbar .block-editor-block-toolbar .components-toolbar{border-color:#e2e4e7}.block-editor-block-toolbar__slot{display:inline-block;line-height:0}@supports ((position:-webkit-sticky) or (position:sticky)){.block-editor-block-toolbar__slot{display:inline-flex}}.block-editor-block-types-list{list-style:none;padding:4px;margin-right:-4px;margin-left:-4px;overflow:hidden;display:flex;flex-wrap:wrap}.block-editor-button-block-appender{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:14px;outline:1px dashed #8d96a0;width:100%;height:auto;color:#555d66;background:rgba(237,239,240,.8)}.block-editor-button-block-appender:focus,.block-editor-button-block-appender:hover{outline:1px dashed #555d66;color:#191e23}.block-editor-button-block-appender:active{outline:1px dashed #191e23;color:#191e23}.is-dark-theme .block-editor-button-block-appender{background:rgba(50,55,60,.7);color:#f8f9f9}.is-dark-theme .block-editor-button-block-appender:focus,.is-dark-theme .block-editor-button-block-appender:hover{outline:1px dashed #fff}.block-editor-color-gradient-control__button-tabs{display:block}.block-editor-panel-color-gradient-settings .component-color-indicator{vertical-align:text-bottom}.block-editor-panel-color-gradient-settings__panel-title .component-color-indicator{display:inline-block}.block-editor-panel-color-gradient-settings.is-opened .block-editor-panel-color-gradient-settings__panel-title .component-color-indicator{display:none}.block-editor-contrast-checker>.components-notice{margin:0}.block-editor-default-block-appender{clear:both;margin-right:auto;margin-left:auto;position:relative}.block-editor-default-block-appender[data-root-client-id=""] .block-editor-default-block-appender__content:hover{outline:1px solid transparent}.block-editor-default-block-appender textarea.block-editor-default-block-appender__content{font-family:"Noto Serif",serif;font-size:16px;border:none;background:none;box-shadow:none;display:block;cursor:text;width:100%;outline:1px solid transparent;transition:outline .2s;resize:none;margin-top:28px;margin-bottom:28px;padding:0 14px 0 50px;color:rgba(14,28,46,.62)}@media (prefers-reduced-motion:reduce){.block-editor-default-block-appender textarea.block-editor-default-block-appender__content{transition-duration:0s}}.is-dark-theme .block-editor-default-block-appender textarea.block-editor-default-block-appender__content{color:hsla(0,0%,100%,.65)}.block-editor-default-block-appender .components-drop-zone__content-icon{display:none}.block-editor-default-block-appender__content{min-height:28px;line-height:1.8}.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter{position:absolute;top:0}.block-editor-block-list__empty-block-inserter .components-button.has-icon,.block-editor-default-block-appender .block-editor-inserter .components-button.has-icon{width:28px;height:28px;margin-left:12px;padding:0}.block-editor-block-list__empty-block-inserter .components-button svg,.block-editor-default-block-appender .block-editor-inserter .components-button svg{display:block;margin:auto}.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-inserter__toggle:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover,.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover{box-shadow:none}.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;align-items:center;height:100%;right:-44px;left:auto}}.block-editor-block-list__empty-block-inserter:disabled,.block-editor-default-block-appender .block-editor-inserter:disabled{display:none}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle,.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle{border-radius:50%;width:28px;height:28px;padding:0}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:hover),.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:hover){color:rgba(10,24,41,.7)}.is-dark-theme .block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:hover),.is-dark-theme .block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:hover){color:hsla(0,0%,100%,.75)}.block-editor-link-control__search{position:relative;min-width:360px}.block-editor-link-control__search .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]{width:calc(100% - 32px);display:block;margin:16px;padding:11px 16px 11px 38px;position:relative;z-index:1;border:1px solid #e1e1e1;border-radius:4px;font-size:16px}@media (min-width:600px){.block-editor-link-control__search .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]{font-size:13px}}.block-editor-link-control__search .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]:focus{color:#191e23;border-color:#007cba;box-shadow:0 0 0 1px #007cba;outline:2px solid transparent}.block-editor-link-control__search-reset{position:absolute;top:19px;left:19px;z-index:10}.block-editor-link-control__search-results-wrapper{position:relative;margin-top:-15px}.block-editor-link-control__search-results-wrapper:after,.block-editor-link-control__search-results-wrapper:before{content:"";position:absolute;right:-1px;left:16px;display:block;pointer-events:none;z-index:100}.block-editor-link-control__search-results-wrapper:before{height:8px;top:0;bottom:auto;background:linear-gradient(180deg,#fff 0,hsla(0,0%,100%,0))}.block-editor-link-control__search-results-wrapper:after{height:16px;bottom:0;top:auto;background:linear-gradient(180deg,hsla(0,0%,100%,0) 0,#fff)}.block-editor-link-control__search-results{margin:0;padding:8px 16px 16px;max-height:200px;overflow-y:scroll}.block-editor-link-control__search-results.is-loading{opacity:.2}.block-editor-link-control__search-item{position:relative;display:flex;align-items:center;font-size:13px;cursor:pointer;background:#fff;width:100%;border:none;text-align:right;padding:10px 15px;border-radius:5px;height:auto}.block-editor-link-control__search-item:focus,.block-editor-link-control__search-item:hover{background-color:#e9e9e9}.block-editor-link-control__search-item.is-selected{background:#f2f2f2}.block-editor-link-control__search-item.is-selected .block-editor-link-control__search-item-type{background:#fff}.block-editor-link-control__search-item.is-current{background:transparent;border:0;width:100%;cursor:default;padding:16px 24px 16px 16px}.block-editor-link-control__search-item .block-editor-link-control__search-item-header{display:block;margin-left:24px}.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{text-overflow:ellipsis;max-width:230px;overflow:hidden;white-space:nowrap}.block-editor-link-control__search-item .block-editor-link-control__search-item-title{display:block;margin-bottom:.2em;font-weight:500}.block-editor-link-control__search-item .block-editor-link-control__search-item-title mark{font-weight:700;color:#000;background-color:transparent}.block-editor-link-control__search-item .block-editor-link-control__search-item-title span{font-weight:400}.block-editor-link-control__search-item .block-editor-link-control__search-item-info{display:block;color:#999;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:#f3f4f5;border-radius:2px}.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 #e1e1e1;margin:0;padding:16px 24px}.block-editor-link-control__settings :last-child{margin-bottom:0}.block-editor-link-control__setting{margin-bottom:16px}.block-editor-link-control__setting :last-child{margin-bottom:0}.block-editor-link-control .block-editor-link-control__search-input .components-spinner{display:block;z-index:100;float:none}.block-editor-link-control .block-editor-link-control__search-input .components-spinner.components-spinner{position:absolute;top:27px;right:auto;left:60px;bottom:0}.block-editor-link-control__search-item-action{margin-right:auto;flex-shrink:0}.block-editor-inner-blocks.has-overlay:after{content:"";position:absolute;top:-14px;left:-14px;bottom:-14px;right:-14px;z-index:60}[data-align=full]>.block-editor-block-list__block-edit>[data-block] .has-overlay:after{left:0;right:0}.block-editor-inserter{display:inline-block;background:none;border:none;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:1.4}@media (min-width:782px){.block-editor-inserter{position:relative}}@media (min-width:782px){.block-editor-inserter__popover>.components-popover__content{overflow-y:visible;height:432px}}.block-editor-inserter__toggle{display:inline-flex;align-items:center;color:#555d66;background:none;cursor:pointer;border:none;outline:none;transition:color .2s ease}@media (prefers-reduced-motion:reduce){.block-editor-inserter__toggle{transition-duration:0s}}.block-editor-inserter__menu{height:100%;display:flex;width:auto}@media (min-width:782px){.block-editor-inserter__menu{width:400px;position:relative}.block-editor-inserter__menu.has-help-panel{width:700px}}.block-editor-inserter__main-area{width:auto;display:flex;flex-direction:column;height:100%}@media (min-width:782px){.block-editor-inserter__main-area{width:400px;position:relative}}.block-editor-inserter__inline-elements{margin-top:-1px}.block-editor-inserter__menu.is-bottom:after{border-bottom-color:#fff}.components-popover.block-editor-inserter__popover{z-index:99998}.components-popover input[type=search].block-editor-inserter__search{display:block;margin:16px;padding:11px 16px;position:relative;z-index:1;border-radius:4px;font-size:16px}@media (min-width:600px){.components-popover input[type=search].block-editor-inserter__search{font-size:13px}}.components-popover input[type=search].block-editor-inserter__search:focus{color:#191e23;border-color:#007cba;box-shadow:0 0 0 1px #007cba;outline:2px solid transparent}.block-editor-inserter__results{flex-grow:1;overflow:auto;position:relative;z-index:1;padding:0 16px 16px}.block-editor-inserter__results:focus{outline:1px dotted #555d66}@media (min-width:782px){.block-editor-inserter__results{height:394px}}.block-editor-inserter__results [role=presentation]+.components-panel__body{border-top:none}.block-editor-inserter__popover .block-editor-block-types-list{margin:0 -8px}.block-editor-inserter__reusable-blocks-panel{position:relative;text-align:left}.block-editor-inserter__manage-reusable-blocks{margin:16px 16px 0 0}.block-editor-inserter__no-results{font-style:italic;padding:24px;text-align:center}.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__menu-help-panel{display:none;border-right:1px solid #e2e4e7;width:300px;height:100%;padding:20px;overflow-y:auto}@media (min-width:782px){.block-editor-inserter__menu-help-panel{display:flex;flex-direction:column}}.block-editor-inserter__menu-help-panel .block-editor-block-card{padding-bottom:20px;margin-bottom:20px;border-bottom:1px solid #e2e4e7;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-inserter__menu-help-panel .block-editor-block-card{animation-duration:1ms}}.block-editor-inserter__menu-help-panel .block-editor-inserter__preview{display:flex;flex-grow:2}.block-editor-inserter__menu-help-panel-no-block{display:flex;height:100%;flex-direction:column;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-inserter__menu-help-panel-no-block{animation-duration:1ms}}.block-editor-inserter__menu-help-panel-no-block .block-editor-inserter__menu-help-panel-no-block-text{flex-grow:1}.block-editor-inserter__menu-help-panel-no-block .block-editor-inserter__menu-help-panel-no-block-text h4{font-size:18px}.block-editor-inserter__menu-help-panel-no-block .components-notice{margin:0}.block-editor-inserter__menu-help-panel-no-block h4{margin-top:0}.block-editor-inserter__menu-help-panel-hover-area{flex-grow:1;margin-top:20px;padding:20px;border:1px dotted #e2e4e7;display:flex;align-items:center;text-align:center}.block-editor-inserter__menu-help-panel-title{font-size:18px;font-weight:600;margin-bottom:20px}.block-editor-inserter__preview-content{border:1px solid #e2e4e7;border-radius:4px;min-height:150px;display:-ms-grid;display:grid;flex-grow:2}.block-editor-inserter__preview-content .block-editor-block-preview__container{margin-left:0;margin-right:0;padding:10px}.block-editor-inserter__preview-content-missing{flex:1;display:flex;justify-content:center;color:#606a73;border:1px solid #e2e4e7;border-radius:4px;align-items:center}.block-editor-block-types-list__list-item{display:block;width:33.33%;padding:0;margin:0 0 12px}.components-button.block-editor-block-types-list__item{display:flex;flex-direction:column;width:100%;font-size:13px;color:#32373c;padding:0 4px;align-items:stretch;justify-content:center;cursor:pointer;background:transparent;word-break:break-word;border-radius:4px;border:1px solid transparent;transition:all .05s ease-in-out;position:relative;height:auto}@media (prefers-reduced-motion:reduce){.components-button.block-editor-block-types-list__item{transition-duration:0s}}.components-button.block-editor-block-types-list__item:disabled{opacity:.6;cursor:default}.components-button.block-editor-block-types-list__item:not(:disabled):hover:before{content:"";display:block;background:#f3f4f5;color:#191e23;position:absolute;z-index:-1;border-radius:4px;top:0;left:0;bottom:0;right:0}.components-button.block-editor-block-types-list__item:not(:disabled):hover .block-editor-block-types-list__item-icon,.components-button.block-editor-block-types-list__item:not(:disabled):hover .block-editor-block-types-list__item-title{color:inherit}.components-button.block-editor-block-types-list__item:not(:disabled):active,.components-button.block-editor-block-types-list__item:not(:disabled):focus{position:relative;color:#191e23;box-shadow:0 0 0 1px #fff,0 0 0 3px #00a0d2;outline:2px solid transparent;background:transparent}.components-button.block-editor-block-types-list__item:not(:disabled):active .block-editor-block-types-list__item-icon,.components-button.block-editor-block-types-list__item:not(:disabled):active .block-editor-block-types-list__item-title,.components-button.block-editor-block-types-list__item:not(:disabled):focus .block-editor-block-types-list__item-icon,.components-button.block-editor-block-types-list__item:not(:disabled):focus .block-editor-block-types-list__item-title{color:inherit}.components-button.block-editor-block-types-list__item:not(:disabled).is-active{color:#191e23;box-shadow:inset 0 0 0 2px #555d66;outline:2px solid transparent;outline-offset:-2px}.components-button.block-editor-block-types-list__item:not(:disabled).is-active:focus{color:#191e23;box-shadow:0 0 0 1px #fff,0 0 0 3px #00a0d2,inset 0 0 0 2px #555d66;outline:4px solid transparent;outline-offset:-4px}.block-editor-block-types-list__item-icon{padding:12px 20px;border-radius:4px;color:#555d66;transition:all .05s ease-in-out}@media (prefers-reduced-motion:reduce){.block-editor-block-types-list__item-icon{transition-duration:0s}}.block-editor-block-types-list__item-icon .block-editor-block-icon{margin-right:auto;margin-left:auto}.block-editor-block-types-list__item-icon svg{transition:all .15s ease-out}@media (prefers-reduced-motion:reduce){.block-editor-block-types-list__item-icon svg{transition-duration:0s}}.block-editor-block-types-list__item-title{padding:4px 2px 8px}.modal-open .block-editor-media-replace-flow__options{display:none}.block-editor-media-replace-flow__indicator{margin-right:4px}.block-editor-media-replace-flow__indicator:after{content:"";pointer-events:none;display:block;width:0;height:0;border-right:3px solid transparent;border-left:3px solid transparent;border-top:5px solid;margin-right:4px;margin-left:2px}.block-editor-media-flow__url-input{max-width:255px;padding:0 15px 10px}.block-editor-media-flow__url-input input{max-width:180px}.block-editor-media-replace-flow__link-viewer .components-external-link__icon{display:none}.block-editor-media-replace-flow__link-viewer .components-visually-hidden{position:static}.block-editor-media-replace-flow__link-viewer .components-button{flex-shrink:0}.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__button .dashicon{vertical-align:middle;margin-bottom:3px}.block-editor-media-placeholder__button:hover{color:#23282d}.block-editor-media-placeholder__cancel-button.is-link{margin:1em;display:block}.block-editor-media-placeholder.is-appender{min-height:100px;outline:1px dashed #8d96a0}.block-editor-media-placeholder.is-appender:hover{outline:1px dashed #555d66;cursor:pointer}.is-dark-theme .block-editor-media-placeholder.is-appender:hover{outline:1px dashed #fff}.block-editor-media-placeholder.is-appender .block-editor-media-placeholder__upload-button{margin-left:4px}.block-editor-media-placeholder.is-appender .block-editor-media-placeholder__upload-button.components-button:focus,.block-editor-media-placeholder.is-appender .block-editor-media-placeholder__upload-button.components-button:hover{box-shadow:none;border:1px solid #555d66}.block-editor-multi-selection-inspector__card{display:flex;align-items:flex-start;padding:16px}.block-editor-multi-selection-inspector__card-content{flex-grow:1}.block-editor-multi-selection-inspector__card-title{font-weight:500;margin-bottom:5px}.block-editor-multi-selection-inspector__card-description{font-size:13px}.block-editor-multi-selection-inspector__card .block-editor-block-icon{margin-right:-2px;margin-left:10px;padding:0 3px;width:36px;height:24px}.block-editor .block-editor-plain-text{box-shadow:none;font-family:inherit;font-size:inherit;color:inherit;line-height:inherit;border:none;padding:0;margin:0;width:100%}.block-editor-responsive-block-control{margin-bottom:28px;border-bottom:1px solid #d7dade;padding-bottom:14px}.block-editor-responsive-block-control:last-child{padding-bottom:0;border-bottom:0}.block-editor-responsive-block-control__title{margin:0 -3px .6em 0}.block-editor-responsive-block-control__label{font-weight:600;margin-bottom:.6em;margin-right:-3px}.block-editor-responsive-block-control__inner{margin-right:-1px}.block-editor-responsive-block-control__toggle{margin-right:1px}.block-editor-responsive-block-control .components-base-control__help{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.block-editor-format-toolbar .components-dropdown-menu__toggle .components-dropdown-menu__indicator:after{margin:7px}.block-editor-rich-text__editable>p:first-child{margin-top:0}.block-editor-rich-text__editable a{color:#007fac}.block-editor-rich-text__editable code{padding:2px;border-radius:2px;color:#23282d;background:#f3f4f5;font-family:Menlo,Consolas,monaco,monospace;font-size:inherit}.block-editor-rich-text__editable:focus{outline:none}.block-editor-rich-text__editable:focus [data-rich-text-format-boundary]{border-radius:2px}.block-editor-rich-text__editable [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.is-selected:not(.keep-placeholder-on-focus) [data-rich-text-placeholder]:after{display:none}figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]:before{opacity:.8}.components-popover.block-editor-rich-text__inline-format-toolbar{z-index:99998}.components-popover.block-editor-rich-text__inline-format-toolbar .components-popover__content{min-width:auto;margin-bottom:6px}.components-popover.block-editor-rich-text__inline-format-toolbar .components-toolbar{border:none}.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:#11a0d2;line-height:normal;box-shadow:0 0 2px 2px rgba(0,0,0,.6);text-decoration:none;outline:none;z-index:100000}body.admin-color-sunrise .block-editor-skip-to-selected-block:focus{color:#c8b03c}body.admin-color-ocean .block-editor-skip-to-selected-block:focus{color:#a89d8a}body.admin-color-midnight .block-editor-skip-to-selected-block:focus{color:#77a6b9}body.admin-color-ectoplasm .block-editor-skip-to-selected-block:focus{color:#c77430}body.admin-color-coffee .block-editor-skip-to-selected-block:focus{color:#9fa47b}body.admin-color-blue .block-editor-skip-to-selected-block:focus{color:#d9ab59}body.admin-color-light .block-editor-skip-to-selected-block:focus{color:#c75726}.block-editor-tool-selector__help{padding:16px;border-top:1px solid #e2e4e7;color:#6c7781}.block-editor-block-list__block .block-editor-url-input,.block-editor-url-input,.components-popover .block-editor-url-input{flex-grow:1;position:relative;padding:1px}.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{width:100%;padding:8px;border:none;border-radius:0;margin-right:0;margin-left:0;font-size:16px}@media (min-width:600px){.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{width:300px}}@media (min-width:600px){.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{font-size:13px}}.block-editor-block-list__block .block-editor-url-input input[type=text]::-ms-clear,.block-editor-url-input input[type=text]::-ms-clear,.components-popover .block-editor-url-input input[type=text]::-ms-clear{display:none}.block-editor-block-list__block .block-editor-url-input.has-border input[type=text],.block-editor-url-input.has-border input[type=text],.components-popover .block-editor-url-input.has-border input[type=text]{border:1px solid #555d66;border-radius:4px}.block-editor-block-list__block .block-editor-url-input.is-full-width,.block-editor-url-input.is-full-width,.components-popover .block-editor-url-input.is-full-width{width:100%}.block-editor-block-list__block .block-editor-url-input.is-full-width input[type=text],.block-editor-url-input.is-full-width input[type=text],.components-popover .block-editor-url-input.is-full-width input[type=text]{width:100%}.block-editor-block-list__block .block-editor-url-input.is-full-width__suggestions,.block-editor-url-input.is-full-width__suggestions,.components-popover .block-editor-url-input.is-full-width__suggestions{width:100%}.block-editor-block-list__block .block-editor-url-input .components-spinner,.block-editor-url-input .components-spinner,.components-popover .block-editor-url-input .components-spinner{position:absolute;left:8px;bottom:17px;margin:0}.block-editor-url-input__suggestions{max-height:200px;transition:all .15s ease-in-out;padding:4px 0;width:302px;overflow-y:auto}@media (prefers-reduced-motion:reduce){.block-editor-url-input__suggestions{transition-duration:0s}}.block-editor-url-input .components-spinner,.block-editor-url-input__suggestions{display:none}@media (min-width:600px){.block-editor-url-input .components-spinner,.block-editor-url-input__suggestions{display:inherit}}.block-editor-url-input__suggestion{padding:4px 8px;color:#6c7781;display:block;font-size:13px;cursor:pointer;background:#fff;width:100%;text-align:right;border:none;box-shadow:none}.block-editor-url-input__suggestion:hover{background:#e2e4e7}.block-editor-url-input__suggestion.is-selected,.block-editor-url-input__suggestion:focus{background:#00719e;color:#fff;outline:none}body.admin-color-sunrise .block-editor-url-input__suggestion.is-selected,body.admin-color-sunrise .block-editor-url-input__suggestion:focus{background:#b2723f}body.admin-color-ocean .block-editor-url-input__suggestion.is-selected,body.admin-color-ocean .block-editor-url-input__suggestion:focus{background:#8b9d8a}body.admin-color-midnight .block-editor-url-input__suggestion.is-selected,body.admin-color-midnight .block-editor-url-input__suggestion:focus{background:#bf4139}body.admin-color-ectoplasm .block-editor-url-input__suggestion.is-selected,body.admin-color-ectoplasm .block-editor-url-input__suggestion:focus{background:#8e9b49}body.admin-color-coffee .block-editor-url-input__suggestion.is-selected,body.admin-color-coffee .block-editor-url-input__suggestion:focus{background:#a58d77}body.admin-color-blue .block-editor-url-input__suggestion.is-selected,body.admin-color-blue .block-editor-url-input__suggestion:focus{background:#6f99ad}body.admin-color-light .block-editor-url-input__suggestion.is-selected,body.admin-color-light .block-editor-url-input__suggestion:focus{background:#00719e}.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:#e2e4e7}.block-editor-url-input__button-modal{box-shadow:0 3px 30px rgba(25,30,35,.1);border:1px solid #e2e4e7;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 #e2e4e7}.block-editor-url-popover__additional-controls>div[role=menu] .components-button:not(:disabled):not([aria-disabled=true]):not(.is-secondary)>svg{box-shadow:none}.block-editor-url-popover__additional-controls div[role=menu]>.components-button{padding-right:2px}.block-editor-url-popover__row{display:flex}.block-editor-url-popover__row>:not(.block-editor-url-popover__settings-toggle){flex-grow:1}.block-editor-url-popover .components-button.has-icon{padding:3px}.block-editor-url-popover .components-button.has-icon>svg{padding:5px;border-radius:4px;height:30px;width:30px}.block-editor-url-popover .components-button.has-icon:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover{box-shadow:none}.block-editor-url-popover .components-button.has-icon:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover>svg{color:#555d66;box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff}.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 1px #555d66,inset 0 0 0 2px #fff;outline:2px solid transparent}.block-editor-url-popover__settings-toggle{flex-shrink:0;border-radius:0;border-right:1px solid #e2e4e7;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 #e2e4e7}.block-editor-url-popover__link-editor,.block-editor-url-popover__link-viewer{display:flex}.block-editor-url-popover__link-editor .block-editor-url-input .components-base-control__field,.block-editor-url-popover__link-viewer .block-editor-url-input .components-base-control__field{margin-bottom:0}.block-editor-url-popover__link-editor .block-editor-url-input .components-spinner,.block-editor-url-popover__link-viewer .block-editor-url-input .components-spinner{bottom:9px}.block-editor-url-popover__link-viewer-url{margin:7px;flex-grow:1;flex-shrink:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:150px;max-width:500px}.block-editor-url-popover__link-viewer-url.has-invalid-link{color:#d94f4f}.block-editor-warning{display:flex;flex-direction:row;justify-content:space-between;flex-wrap:nowrap;background-color:#fff;border:1px solid #e2e4e7;text-align:right;padding:10px 14px 14px}.is-selected .block-editor-warning{border-color:rgba(66,88,99,.4)}@media (min-width:600px){.is-selected .block-editor-warning{border-right-color:transparent}}.is-dark-theme .is-selected .block-editor-warning{border-color:hsla(0,0%,100%,.45)}.block-editor-warning .block-editor-warning__message{line-height:1.4;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;margin:1em 0}.block-editor-warning p.block-editor-warning__message.block-editor-warning__message{min-height:auto}.block-editor-warning .block-editor-warning__contents{display:flex;flex-direction:row;justify-content:space-between;flex-wrap:wrap;align-items:baseline;width:100%}.block-editor-warning .block-editor-warning__actions{display:flex}.block-editor-warning .block-editor-warning__action{margin:0 0 0 6px}.block-editor-warning__secondary{margin:5px -4px 0 0;height:36px}.block-editor-warning__secondary .components-button.has-icon{width:auto;padding:8px 2px}@media (min-width:600px){.block-editor-warning__secondary{margin-right:4px}.block-editor-warning__secondary .components-button.has-icon{padding:8px 4px}}.block-editor-warning__secondary .components-button svg{transform:rotate(-90deg)}.block-editor-writing-flow{display:flex;flex-direction:column}.block-editor-writing-flow__click-redirect{cursor:text}.html-anchor-control .components-external-link{display:block;margin-top:8px} \ 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 0a1362beac..91831be421 100644 --- a/wp-includes/css/dist/block-editor/style.css +++ b/wp-includes/css/dist/block-editor/style.css @@ -4,6 +4,9 @@ /** * Breakpoints & Media Queries */ +/** + * Colors + */ /** * Often re-used variables */ @@ -113,9 +116,6 @@ padding: 32px 16px; text-align: center; } -.block-editor-block-list__layout .components-draggable__clone .block-editor-block-contextual-toolbar { - display: none !important; } - .block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging .block-editor-block-list__block-edit::before { border: none; } @@ -125,10 +125,6 @@ .block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging > .block-editor-block-list__block-edit > * > * { visibility: hidden; } -.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging .block-editor-block-mover, -.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging .block-editor-block-contextual-toolbar { - display: none; } - .block-editor-block-list__layout .block-editor-block-list__block.is-selected > .block-editor-block-list__block-edit .reusable-block-edit-panel * { z-index: 1; } @@ -171,8 +167,6 @@ font-size: 13px; } .block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__block-edit { position: relative; } - .block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__block-edit.has-mover-inside > [data-block] { - display: flex; } .block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__block-edit::before { z-index: 0; content: ""; @@ -219,24 +213,19 @@ /** * Cross-Block Selection */ -.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected > .block-editor-block-list__block-edit::before { - border-left-color: rgba(66, 88, 99, 0.4); - box-shadow: inset 3px 0 0 0 #555d66; } - .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected > .block-editor-block-list__block-edit::before { - border-left-color: rgba(255, 255, 255, 0.45); - box-shadow: inset 3px 0 0 0 #d7dade; } - @media (min-width: 600px) { - .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected > .block-editor-block-list__block-edit::before { - box-shadow: -3px 0 0 0 #555d66; } - .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected > .block-editor-block-list__block-edit::before { - box-shadow: -3px 0 0 0 #d7dade; } } +.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected > .block-editor-block-list__block-edit > [data-block] { + box-shadow: 0 0 0 2px #007cba; + border-radius: 1px; + outline: 2px solid transparent; } + .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected > .block-editor-block-list__block-edit > [data-block] { + box-shadow: 0 0 0 2px #fff; } -.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .block-editor-block-list__block.is-multi-selected > .block-editor-block-list__block-edit::before { - box-shadow: none; } - -.block-editor-block-list__layout .components-placeholder ::selection { +.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .components-placeholder ::selection { background: transparent; } +.block-editor-block-list__layout.has-toolbar-captured > .block-editor-block-list__block-edit::before { + left: 0; } + /** * Block styles and alignments */ @@ -283,17 +272,6 @@ .block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .block-editor-block-list__block-edit::after { bottom: -14px; } } -.block-editor-block-list__layout .block-editor-block-list__block.is-typing .block-editor-block-list__side-inserter { - opacity: 0; - animation: none; } - -.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__side-inserter { - animation: edit-post__fade-in-animation 0.2s ease-out 0s; - animation-fill-mode: forwards; } - @media (prefers-reduced-motion: reduce) { - .block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__side-inserter { - animation-duration: 1ms; } } - .block-editor-block-list__layout .block-editor-block-list__block.is-reusable.is-selected > .block-editor-block-list__block-edit::before { border-left-color: transparent; border-style: dashed; @@ -305,6 +283,9 @@ .block-editor-block-list__layout .block-editor-block-list__block.is-reusable > .block-editor-block-list__block-edit .block-editor-inner-blocks.has-overlay .block-editor-inner-blocks.has-overlay::after { display: block; } +.block-editor-block-list__layout .block-editor-block-list__block.is-navigate-mode { + cursor: default; } + .block-editor-block-list__layout .block-editor-block-list__block[data-align="left"], .block-editor-block-list__layout .block-editor-block-list__block[data-align="right"] { z-index: 21; width: 100%; @@ -313,28 +294,6 @@ margin-top: 0; } .block-editor-block-list__layout .block-editor-block-list__block[data-align="left"] .block-editor-block-list__block-edit::before, .block-editor-block-list__layout .block-editor-block-list__block[data-align="right"] .block-editor-block-list__block-edit::before { content: none; } - .block-editor-block-list__layout .block-editor-block-list__block[data-align="left"] .block-editor-block-contextual-toolbar, .block-editor-block-list__layout .block-editor-block-list__block[data-align="right"] .block-editor-block-contextual-toolbar { - margin-bottom: 1px; } - .block-editor-block-list__layout .block-editor-block-list__block[data-align="left"] .block-editor-block-contextual-toolbar, .block-editor-block-list__layout .block-editor-block-list__block[data-align="right"] .block-editor-block-contextual-toolbar { - width: auto; - border-bottom: 1px solid #b5bcc2; - bottom: auto; } - @media (min-width: 600px) { - .block-editor-block-list__layout .block-editor-block-list__block[data-align="left"] .block-editor-block-contextual-toolbar, .block-editor-block-list__layout .block-editor-block-list__block[data-align="right"] .block-editor-block-contextual-toolbar { - border-bottom: none; } } - -.block-editor-block-list__layout .block-editor-block-list__block[data-align="left"] .block-editor-block-contextual-toolbar { - left: 0; - right: auto; } - -.block-editor-block-list__layout .block-editor-block-list__block[data-align="right"] .block-editor-block-contextual-toolbar { - left: auto; - right: 0; } - -@media (min-width: 600px) { - .block-editor-block-list__layout .block-editor-block-list__block[data-align="right"] .block-editor-block-contextual-toolbar, - .block-editor-block-list__layout .block-editor-block-list__block[data-align="left"] .block-editor-block-contextual-toolbar { - top: 14px; } } .block-editor-block-list__layout .block-editor-block-list__block[data-align="left"] > .block-editor-block-list__block-edit { /*!rtl:begin:ignore*/ @@ -342,62 +301,14 @@ margin-right: 2em; /*!rtl:end:ignore*/ } -@media (min-width: 600px) { - .block-editor-block-list__layout .block-editor-block-list__block[data-align="left"] .block-editor-block-toolbar { - /*!rtl:begin:ignore*/ - left: 14px; - right: auto; - /*!rtl:end:ignore*/ } } - .block-editor-block-list__layout .block-editor-block-list__block[data-align="right"] > .block-editor-block-list__block-edit { /*!rtl:begin:ignore*/ float: right; margin-left: 2em; /*!rtl:end:ignore*/ } -@media (min-width: 600px) { - .block-editor-block-list__layout .block-editor-block-list__block[data-align="right"] .block-editor-block-toolbar { - /*!rtl:begin:ignore*/ - right: 14px; - left: auto; - /*!rtl:end:ignore*/ } } - .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"], .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] { - clear: both; - z-index: 20; } - .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"].is-multi-selected > .block-editor-block-mover, - .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-mover, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"].is-multi-selected > .block-editor-block-mover, - .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-mover { - top: -46px; - bottom: auto; - min-height: 0; - height: auto; - width: auto; } - .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"].is-multi-selected > .block-editor-block-mover::before, - .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-mover::before, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"].is-multi-selected > .block-editor-block-mover::before, - .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-mover::before { - content: none; } - .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"].is-multi-selected > .block-editor-block-mover .block-editor-block-mover__control, - .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-mover .block-editor-block-mover__control, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"].is-multi-selected > .block-editor-block-mover .block-editor-block-mover__control, - .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-mover .block-editor-block-mover__control { - float: left; } - @media (min-width: 600px) { - .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] .block-editor-block-toolbar, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] .block-editor-block-toolbar { - display: inline-flex; } } - @media (min-width: 600px) { - .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-contextual-toolbar > .block-editor-block-toolbar, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-contextual-toolbar > .block-editor-block-toolbar { - /*!rtl:begin:ignore*/ - left: 90px; - /*!rtl:end:ignore*/ } } - @media (min-width: 1080px) { - .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-contextual-toolbar > .block-editor-block-toolbar, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-contextual-toolbar > .block-editor-block-toolbar { - /*!rtl:begin:ignore*/ - left: 14px; - /*!rtl:end:ignore*/ } } - -.block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"].is-multi-selected > .block-editor-block-mover, -.block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-mover { - left: -13px; } + clear: both; } .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit { margin-left: -14px; @@ -413,10 +324,6 @@ border-left-width: 0; border-right-width: 0; } -.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"].is-multi-selected > .block-editor-block-mover, -.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-mover { - left: 14px; } - .block-editor-block-list__layout .block-editor-block-list__block[data-clear="true"] { float: none; } @@ -425,87 +332,11 @@ bottom: -3px; margin: 0 14px; } -.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-inserter-with-shortcuts { - display: none; } - .block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-block-list__empty-block-inserter, .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; } -/** - * Left and right side UI; Unified toolbar on Mobile. - */ -.block-editor-block-list__block.is-multi-selected > .block-editor-block-mover, -.block-editor-block-list__block > .block-editor-block-list__block-edit > .block-editor-block-mover { - position: absolute; - width: 30px; } - -.block-editor-block-list__block.is-multi-selected > .block-editor-block-mover, -.block-editor-block-list__block > .block-editor-block-list__block-edit > .block-editor-block-mover { - top: -15px; } - -@media (min-width: 600px) { - .block-editor-block-list__block.is-multi-selected .block-editor-block-mover, .block-editor-block-list__block.is-selected .block-editor-block-mover, .block-editor-block-list__block.is-hovered .block-editor-block-mover { - z-index: 61; } } - -.block-editor-block-list__block > .block-editor-block-list__block-edit > .block-editor-block-mover, -.block-editor-block-list__block.is-multi-selected > .block-editor-block-mover { - left: -53px; - display: none; } - @media (min-width: 600px) { - .block-editor-block-list__block > .block-editor-block-list__block-edit > .block-editor-block-mover, - .block-editor-block-list__block.is-multi-selected > .block-editor-block-mover { - display: block; } } - -/** - * Mobile unified toolbar. - */ -.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar { - display: flex; - flex-direction: row; - transform: translateY(15px); - margin-top: 37px; - margin-right: -14px; - margin-left: -14px; - border-top: 1px solid #b5bcc2; - height: 37px; - background-color: #fff; - box-shadow: 0 5px 10px rgba(25, 30, 35, 0.05), 0 2px 2px rgba(25, 30, 35, 0.05); } - @media (min-width: 600px) { - .block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar { - display: none; } } - @media (min-width: 600px) { - .block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar { - box-shadow: none; } } - .block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-inserter { - position: relative; - left: auto; - top: auto; - margin: 0; } - .block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-inserter__toggle, - .block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover__control { - width: 36px; - height: 36px; - border-radius: 4px; - padding: 3px; - margin: 0; - justify-content: center; - align-items: center; } - .block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-inserter__toggle .dashicon, - .block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover__control .dashicon { - margin: auto; } - .block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover { - display: flex; - margin-right: auto; } - .block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover .block-editor-inserter, - .block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover .block-editor-block-mover__control { - float: left; } - -.block-editor-block-list__block[data-align="full"] .block-editor-block-list__block-mobile-toolbar { - margin-left: 0; - margin-right: 0; } - /** * In-Canvas Inserter */ @@ -620,114 +451,20 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { /** * Block Toolbar when contextual. */ -.block-editor-block-list__block .block-editor-block-contextual-toolbar { - z-index: 61; - white-space: nowrap; - text-align: left; - pointer-events: none; - position: absolute; - bottom: 22px; - left: -14px; - right: -14px; - border-top: 1px solid #b5bcc2; } - .block-editor-block-list__block .block-editor-block-contextual-toolbar .components-toolbar { - border-top: none; - border-bottom: none; } - @media (min-width: 600px) { - .block-editor-block-list__block .block-editor-block-contextual-toolbar { - border-top: none; } - .block-editor-block-list__block .block-editor-block-contextual-toolbar .components-toolbar { - border-top: 1px solid #b5bcc2; - border-bottom: 1px solid #b5bcc2; } } - -.block-editor-block-list__block[data-align="left"] .block-editor-block-contextual-toolbar, -.block-editor-block-list__block[data-align="right"] .block-editor-block-contextual-toolbar { - margin-bottom: 1px; - margin-top: -37px; - box-shadow: -3px 0 0 0 #555d66; } - .is-dark-theme .block-editor-block-list__block[data-align="left"] .block-editor-block-contextual-toolbar, .is-dark-theme - .block-editor-block-list__block[data-align="right"] .block-editor-block-contextual-toolbar { - box-shadow: -3px 0 0 0 #d7dade; } - @media (min-width: 600px) { - .block-editor-block-list__block[data-align="left"] .block-editor-block-contextual-toolbar, - .block-editor-block-list__block[data-align="right"] .block-editor-block-contextual-toolbar { - box-shadow: none; } } - .block-editor-block-list__block[data-align="left"] .block-editor-block-contextual-toolbar .block-editor-block-toolbar, - .block-editor-block-list__block[data-align="right"] .block-editor-block-contextual-toolbar .block-editor-block-toolbar { - border-left: none; } - -.block-editor-block-list__block .block-editor-block-contextual-toolbar { - margin-left: 0; - margin-right: 0; } - @media (min-width: 600px) { - .block-editor-block-list__block .block-editor-block-contextual-toolbar { - margin-left: -15px; - margin-right: -15px; } } - -.block-editor-block-list__block[data-align="left"] .block-editor-block-contextual-toolbar { - /*rtl:ignore*/ - margin-right: 15px; } - -.block-editor-block-list__block[data-align="right"] .block-editor-block-contextual-toolbar { - /*rtl:ignore*/ - margin-left: 15px; } - -.block-editor-block-list__block .block-editor-block-contextual-toolbar > * { - pointer-events: auto; } - -.block-editor-block-list__block[data-align="full"] .block-editor-block-contextual-toolbar { - left: 0; - right: 0; } - -@media (min-width: 600px) { - .block-editor-block-list__block .block-editor-block-contextual-toolbar { - bottom: auto; - left: auto; - right: auto; - box-shadow: none; - transform: translateY(-52px); } - @supports ((position: -webkit-sticky) or (position: sticky)) { - .block-editor-block-list__block .block-editor-block-contextual-toolbar { - position: -webkit-sticky; - position: sticky; - top: 51px; } } } - -.block-editor-block-list__block[data-align="left"] .block-editor-block-contextual-toolbar { - /*rtl:ignore*/ - float: left; } - -.block-editor-block-list__block[data-align="right"] .block-editor-block-contextual-toolbar { - /*rtl:ignore*/ - float: right; - min-width: 200px; } - @supports ((position: -webkit-sticky) or (position: sticky)) { - .block-editor-block-list__block[data-align="right"] .block-editor-block-contextual-toolbar { - min-width: 0; } } - -.block-editor-block-list__block[data-align="left"] .block-editor-block-contextual-toolbar, -.block-editor-block-list__block[data-align="right"] .block-editor-block-contextual-toolbar { - transform: translateY(-15px); } - .block-editor-block-contextual-toolbar .block-editor-block-toolbar { width: 100%; } @media (min-width: 600px) { .block-editor-block-contextual-toolbar .block-editor-block-toolbar { width: auto; - border-right: none; - position: absolute; - left: 1px; - top: 1px; } } + border-right: none; } } /** * Block Label for Navigation/Selection Mode */ .block-editor-block-list__breadcrumb { display: block; - position: absolute; line-height: 1; - z-index: 22; - left: -14px; - top: -51px; } + z-index: 22; } .block-editor-block-list__breadcrumb .components-toolbar { display: flex; background: #fff; @@ -771,6 +508,24 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { .block-editor-block-list__block .block-editor-warning.block-editor-block-list__block-crash-warning { margin-bottom: auto; } +.components-popover.block-editor-block-list__block-popover { + z-index: 29; } + .components-popover.block-editor-block-list__block-popover .components-popover__content { + margin-left: 0 !important; + min-width: auto; + background: none; + border: none; + box-shadow: none; + overflow-y: visible; } + .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__breadcrumb { + margin-bottom: 13px; + margin-left: -14px; } + .components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-contextual-toolbar[data-align="full"] { + margin-left: 0; } + .is-dragging-components-draggable .components-popover.block-editor-block-list__block-popover { + opacity: 0; } + .block-editor-block-list__block .block-list-appender { margin: 14px 0; } .has-background .block-editor-block-list__block .block-list-appender { @@ -914,84 +669,70 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { float: left; } @media (min-width: 600px) { - .block-editor-block-mover { + .block-editor-block-contextual-toolbar:not([data-align="wide"]):not([data-align="full"]) +.block-editor-block-mover:not(.is-horizontal) { + display: block; + position: absolute; + top: 37px; + left: -38px; opacity: 0; background: #fff; border: 1px solid rgba(66, 88, 99, 0.4); border-radius: 4px; - transition: box-shadow 0.2s ease-out; - margin-top: -8px; } } + transition: box-shadow 0.2s ease-out; } } @media (min-width: 600px) and (prefers-reduced-motion: reduce) { - .block-editor-block-mover { + .block-editor-block-contextual-toolbar:not([data-align="wide"]):not([data-align="full"]) +.block-editor-block-mover:not(.is-horizontal) { transition-duration: 0s; } } @media (min-width: 600px) { - .block-editor-block-mover.is-visible { + .block-editor-block-contextual-toolbar:not([data-align="wide"]):not([data-align="full"]) +.block-editor-block-mover:not(.is-horizontal).is-visible { animation: edit-post__fade-in-animation 0.2s ease-out 0s; animation-fill-mode: forwards; } } @media (min-width: 600px) and (prefers-reduced-motion: reduce) { - .block-editor-block-mover.is-visible { + .block-editor-block-contextual-toolbar:not([data-align="wide"]):not([data-align="full"]) +.block-editor-block-mover:not(.is-horizontal).is-visible { animation-duration: 1ms; } } @media (min-width: 600px) { - .block-editor-block-mover:hover { - box-shadow: 0 2px 10px rgba(25, 30, 35, 0.1), 0 0 2px rgba(25, 30, 35, 0.1); } } - -.block-editor-block-mover.is-horizontal { - margin-top: 5px; - margin-right: 8px; - padding-right: 0; - min-height: auto; - width: 50px; - height: 26px; - display: flex; } - .block-editor-block-mover.is-horizontal .block-editor-block-mover__control { - width: 24px; - height: 24px; } - .block-editor-block-mover.is-horizontal .block-editor-block-mover__control svg { - width: 24px; - padding: 3px; } + .block-editor-block-contextual-toolbar:not([data-align="wide"]):not([data-align="full"]) +.block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover__control { + display: flex; + align-items: center; + justify-content: center; + padding: 0; + border: none; + width: 28px; + height: 24px; + color: rgba(14, 28, 46, 0.62); } + .block-editor-block-contextual-toolbar:not([data-align="wide"]):not([data-align="full"]) +.block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover__control svg { + width: 28px; + height: 24px; + padding: 2px 5px; } + .block-editor-block-contextual-toolbar:not([data-align="wide"]):not([data-align="full"]) +.block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover__control[aria-disabled="true"] { + cursor: default; + pointer-events: none; + color: rgba(14, 28, 46, 0.62); } + .block-editor-block-contextual-toolbar:not([data-align="wide"]):not([data-align="full"]) +.block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover__control:focus:not(:disabled) { + background-color: transparent; } } @media (min-width: 600px) { - .block-editor-block-list__block:not([data-align="wide"]):not([data-align="full"]) .editor-block-mover:not(.is-horizontal) { + .block-editor-block-list__block:not([data-align="wide"]):not([data-align="full"]) .block-editor-block-mover:not(.is-horizontal) { margin-top: 0; } } -.block-editor-block-mover__control { - display: flex; - align-items: center; - justify-content: center; - cursor: pointer; - padding: 0; - border: none; - box-shadow: none; - width: 28px; - height: 24px; } - .block-editor-block-mover__control svg { - width: 28px; - height: 24px; - padding: 2px 5px; } - .block-editor-block-mover__control[aria-disabled="true"] { - cursor: default; - pointer-events: none; - color: rgba(14, 28, 46, 0.62); } - @media (min-width: 600px) { - .block-editor-block-mover__control { - color: rgba(14, 28, 46, 0.62); } - .block-editor-block-mover__control:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover { - background-color: transparent; - box-shadow: none; } - .block-editor-block-mover__control:focus:not(:disabled) { - background-color: transparent; } } - .block-editor-block-mover__control-drag-handle { cursor: move; cursor: grab; fill: currentColor; } - .block-editor-block-mover__control-drag-handle, .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover, .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):active, .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):focus { + .block-editor-block-mover__control-drag-handle, .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-secondary):hover, .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-secondary):active, .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-secondary):focus { box-shadow: none; background: none; color: rgba(10, 24, 41, 0.7); } - .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):active { + .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-secondary):active { cursor: grabbing; } .block-editor-block-mover__description { @@ -1098,15 +839,16 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { .block-editor-block-pattern-picker__patterns.block-editor-block-pattern-picker__patterns { display: flex; - justify-content: center; + justify-content: flex-start; flex-direction: row; flex-wrap: wrap; width: 100%; - margin: 4px 0; + margin: 16px 0; + padding: 0; list-style: none; } .block-editor-block-pattern-picker__patterns.block-editor-block-pattern-picker__patterns > li { list-style: none; - margin: 8px; + margin: 0 8px 0 0; flex-shrink: 1; max-width: 100px; } .block-editor-block-pattern-picker__patterns.block-editor-block-pattern-picker__patterns .block-editor-block-pattern-picker__pattern { @@ -1114,9 +856,9 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { .block-editor-block-pattern-picker__pattern { width: 100%; } - .block-editor-block-pattern-picker__pattern.components-icon-button { + .block-editor-block-pattern-picker__pattern.components-button.has-icon { justify-content: center; } - .block-editor-block-pattern-picker__pattern.components-icon-button.is-default { + .block-editor-block-pattern-picker__pattern.components-button.has-icon.is-secondary { background-color: #fff; } .block-editor-block-pattern-picker__pattern.components-button { height: auto; @@ -1148,7 +890,7 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { .block-editor-block-preview__content .block-editor-block-list__layout, .block-editor-block-preview__content .block-editor-block-list__block { padding: 0; } - .block-editor-block-preview__content .editor-block-list__block-edit [data-block] { + .block-editor-block-preview__content .block-editor-block-list__block-edit [data-block] { margin: 0; } .block-editor-block-preview__content > div section { height: auto; } @@ -1219,16 +961,16 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { position: relative; height: 36px; } -.components-icon-button.block-editor-block-switcher__toggle, -.components-icon-button.block-editor-block-switcher__no-switcher-icon { +.components-button.block-editor-block-switcher__toggle, +.components-button.block-editor-block-switcher__no-switcher-icon { margin: 0; display: block; height: 36px; padding: 3px; } -.components-icon-button.block-editor-block-switcher__no-switcher-icon { +.components-button.block-editor-block-switcher__no-switcher-icon { width: 48px; } - .components-icon-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-icon { + .components-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-icon { margin-right: auto; margin-left: auto; } @@ -1239,15 +981,15 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { color: #555d66 !important; background: #f3f4f5 !important; } -.components-icon-button.block-editor-block-switcher__toggle { +.components-button.block-editor-block-switcher__toggle { width: auto; } - .components-icon-button.block-editor-block-switcher__toggle:active, .components-icon-button.block-editor-block-switcher__toggle:not(:disabled):not([aria-disabled="true"]):hover, .components-icon-button.block-editor-block-switcher__toggle:not([aria-disabled="true"]):focus { + .components-button.block-editor-block-switcher__toggle:active, .components-button.block-editor-block-switcher__toggle:not(:disabled):not([aria-disabled="true"]):hover, .components-button.block-editor-block-switcher__toggle:not([aria-disabled="true"]):focus { outline: none; box-shadow: none; background: none; border: none; } - .components-icon-button.block-editor-block-switcher__toggle .block-editor-block-icon, - .components-icon-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform { + .components-button.block-editor-block-switcher__toggle .block-editor-block-icon, + .components-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform { width: 42px; height: 30px; position: relative; @@ -1257,10 +999,10 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { align-items: center; transition: all 0.1s cubic-bezier(0.165, 0.84, 0.44, 1); } @media (prefers-reduced-motion: reduce) { - .components-icon-button.block-editor-block-switcher__toggle .block-editor-block-icon, - .components-icon-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform { + .components-button.block-editor-block-switcher__toggle .block-editor-block-icon, + .components-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform { transition-duration: 0s; } } - .components-icon-button.block-editor-block-switcher__toggle .block-editor-block-icon::after { + .components-button.block-editor-block-switcher__toggle .block-editor-block-icon::after { content: ""; pointer-events: none; display: block; @@ -1271,18 +1013,18 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { border-top: 5px solid; margin-left: 4px; margin-right: 2px; } - .components-icon-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform { + .components-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform { margin-top: 6px; border-radius: 4px; } - .components-icon-button.block-editor-block-switcher__toggle[aria-expanded="true"] .block-editor-block-icon, - .components-icon-button.block-editor-block-switcher__toggle[aria-expanded="true"] .block-editor-block-switcher__transform, - .components-icon-button.block-editor-block-switcher__toggle:not(:disabled):hover .block-editor-block-icon, - .components-icon-button.block-editor-block-switcher__toggle:not(:disabled):hover .block-editor-block-switcher__transform, - .components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-icon, - .components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-switcher__transform { + .components-button.block-editor-block-switcher__toggle[aria-expanded="true"] .block-editor-block-icon, + .components-button.block-editor-block-switcher__toggle[aria-expanded="true"] .block-editor-block-switcher__transform, + .components-button.block-editor-block-switcher__toggle:not(:disabled):hover .block-editor-block-icon, + .components-button.block-editor-block-switcher__toggle:not(:disabled):hover .block-editor-block-switcher__transform, + .components-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-icon, + .components-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-switcher__transform { transform: translateY(-36px); } - .components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-icon, - .components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-switcher__transform { + .components-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-icon, + .components-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-switcher__transform { box-shadow: inset 0 0 0 1px #555d66, inset 0 0 0 2px #fff; outline: 2px solid transparent; } @@ -1383,9 +1125,10 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { flex-direction: column; align-items: center; justify-content: center; - padding: 21px; + padding: 14px; outline: 1px dashed #8d96a0; width: 100%; + height: auto; color: #555d66; background: rgba(237, 239, 240, 0.8); } .block-editor-button-block-appender:hover, .block-editor-button-block-appender:focus { @@ -1400,6 +1143,18 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { .is-dark-theme .block-editor-button-block-appender:hover, .is-dark-theme .block-editor-button-block-appender:focus { outline: 1px dashed #fff; } +.block-editor-color-gradient-control__button-tabs { + display: block; } + +.block-editor-panel-color-gradient-settings .component-color-indicator { + vertical-align: text-bottom; } + +.block-editor-panel-color-gradient-settings__panel-title .component-color-indicator { + display: inline-block; } + +.block-editor-panel-color-gradient-settings.is-opened .block-editor-panel-color-gradient-settings__panel-title .component-color-indicator { + display: none; } + .block-editor-contrast-checker > .components-notice { margin: 0; } @@ -1431,12 +1186,6 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { transition-duration: 0s; } } .is-dark-theme .block-editor-default-block-appender textarea.block-editor-default-block-appender__content { color: rgba(255, 255, 255, 0.65); } - .block-editor-default-block-appender:hover .block-editor-inserter-with-shortcuts { - animation: edit-post__fade-in-animation 0.2s ease-out 0s; - animation-fill-mode: forwards; } - @media (prefers-reduced-motion: reduce) { - .block-editor-default-block-appender:hover .block-editor-inserter-with-shortcuts { - animation-duration: 1ms; } } .block-editor-default-block-appender .components-drop-zone__content-icon { display: none; } @@ -1445,33 +1194,24 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { line-height: 1.8; } .block-editor-block-list__empty-block-inserter, -.block-editor-default-block-appender .block-editor-inserter, -.block-editor-inserter-with-shortcuts { +.block-editor-default-block-appender .block-editor-inserter { position: absolute; top: 0; } - .block-editor-block-list__empty-block-inserter .components-icon-button, - .block-editor-default-block-appender .block-editor-inserter .components-icon-button, - .block-editor-inserter-with-shortcuts .components-icon-button { + .block-editor-block-list__empty-block-inserter .components-button.has-icon, + .block-editor-default-block-appender .block-editor-inserter .components-button.has-icon { width: 28px; height: 28px; margin-right: 12px; padding: 0; } - .block-editor-block-list__empty-block-inserter .block-editor-block-icon, - .block-editor-default-block-appender .block-editor-inserter .block-editor-block-icon, - .block-editor-inserter-with-shortcuts .block-editor-block-icon { - margin: auto; } - .block-editor-block-list__empty-block-inserter .components-icon-button svg, - .block-editor-default-block-appender .block-editor-inserter .components-icon-button svg, - .block-editor-inserter-with-shortcuts .components-icon-button svg { + .block-editor-block-list__empty-block-inserter .components-button svg, + .block-editor-default-block-appender .block-editor-inserter .components-button svg { display: block; margin: auto; } .block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle, - .block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle, - .block-editor-inserter-with-shortcuts .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-inserter__toggle:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover, - .block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover, - .block-editor-inserter-with-shortcuts .block-editor-inserter__toggle:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover { + .block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled="true"]):not(.is-secondary):hover, + .block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled="true"]):not(.is-secondary):hover { box-shadow: none; } .block-editor-block-list__empty-block-inserter, @@ -1501,19 +1241,6 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { .block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:hover) { color: rgba(255, 255, 255, 0.75); } -.block-editor-block-list__side-inserter .block-editor-inserter-with-shortcuts, -.block-editor-default-block-appender .block-editor-inserter-with-shortcuts { - right: 14px; - display: none; - z-index: 5; } - @media (min-width: 600px) { - .block-editor-block-list__side-inserter .block-editor-inserter-with-shortcuts, - .block-editor-default-block-appender .block-editor-inserter-with-shortcuts { - display: flex; - align-items: center; - height: 100%; - right: 0; } } - .block-editor-link-control__search { position: relative; min-width: 360px; } @@ -1586,7 +1313,8 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { border: none; text-align: left; padding: 10px 15px; - border-radius: 5px; } + border-radius: 5px; + height: auto; } .block-editor-link-control__search-item:hover, .block-editor-link-control__search-item:focus { background-color: #e9e9e9; } .block-editor-link-control__search-item.is-selected { @@ -1674,28 +1402,10 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { left: -14px; z-index: 60; } -[data-align="full"] > .editor-block-list__block-edit > [data-block] .has-overlay::after { +[data-align="full"] > .block-editor-block-list__block-edit > [data-block] .has-overlay::after { right: 0; left: 0; } -.block-editor-inserter-with-shortcuts { - display: flex; - align-items: center; } - .block-editor-inserter-with-shortcuts .components-icon-button { - border-radius: 4px; } - .block-editor-inserter-with-shortcuts .components-icon-button svg:not(.dashicon) { - height: 24px; - width: 24px; } - -.block-editor-inserter-with-shortcuts__block { - margin-right: 4px; - width: 36px; - height: 36px; - padding-top: 8px; - color: rgba(10, 24, 41, 0.7); } - .is-dark-theme .block-editor-inserter-with-shortcuts__block { - color: rgba(255, 255, 255, 0.75); } - .block-editor-inserter { display: inline-block; background: none; @@ -1912,7 +1622,8 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { border-radius: 4px; border: 1px solid transparent; transition: all 0.05s ease-in-out; - position: relative; } + position: relative; + height: auto; } @media (prefers-reduced-motion: reduce) { .components-button.block-editor-block-types-list__item { transition-duration: 0s; } } @@ -1975,57 +1686,41 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { .block-editor-block-types-list__item-title { padding: 4px 2px 8px; } -.media-replace-flow .components-dropdown-menu__indicator { +.modal-open .block-editor-media-replace-flow__options { + display: none; } + +.block-editor-media-replace-flow__indicator { margin-left: 4px; } - .media-replace-flow .components-dropdown-menu__indicator .components-dropdown-menu.media-flow_toolbar .components-dropdown-menu__label { - margin-right: 6px; - margin-left: 2px; } - -.media-replace-flow__options.components-popover:not(.is-mobile) .components-popover__content { - overflow-x: hidden; } - -.media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input { - padding: 0 15px 10px 25px; } - .media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input .components-external-link__icon { - position: absolute; - right: -4px; - bottom: 5px; + .block-editor-media-replace-flow__indicator::after { + content: ""; + pointer-events: none; + display: block; + width: 0; + height: 0; + border-left: 3px solid transparent; + border-right: 3px solid transparent; + border-top: 5px solid; + margin-left: 4px; margin-right: 2px; } - .media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input input { - max-width: 169px; - border: 1px solid #555d66; - border-radius: 4px; } - .media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input .block-editor-url-popover__link-viewer-url { - padding-right: 15px; - padding-top: 3px; - max-width: 179px; - position: relative; - margin-right: 0; } - .media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input .components-icon-button { - padding: 5px; - width: 40px; - height: 40px; - padding-left: 0; } - .media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input .components-icon-button > svg { - padding: 5px; - border-radius: 4px; - height: 30px; - width: 30px; } - .media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input .components-icon-button:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover { - box-shadow: none; } - .media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input .components-icon-button:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover > svg { - color: #555d66; - box-shadow: inset 0 0 0 1px #555d66, inset 0 0 0 2px #fff; } - .media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input .components-icon-button:not(:disabled):focus { - box-shadow: none; } - .media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input .components-icon-button:not(:disabled):focus > svg { - box-shadow: inset 0 0 0 1px #555d66, inset 0 0 0 2px #fff; - outline: 2px solid transparent; } -.block-editor-media-placeholder__url-input-container { - width: 100%; } - .block-editor-media-placeholder__url-input-container .block-editor-media-placeholder__button { - margin-bottom: 0; } +.block-editor-media-flow__url-input { + padding: 0 15px; + max-width: 255px; + padding-bottom: 10px; } + .block-editor-media-flow__url-input input { + max-width: 180px; } + +.block-editor-media-replace-flow__link-viewer .components-external-link__icon { + display: none; } + +.block-editor-media-replace-flow__link-viewer .components-visually-hidden { + position: initial; } + +.block-editor-media-replace-flow__link-viewer .components-button { + flex-shrink: 0; } + +.block-editor-media-placeholder__url-input-container .block-editor-media-placeholder__button { + margin-bottom: 0; } .block-editor-media-placeholder__url-input-form { display: flex; } @@ -2054,9 +1749,6 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { margin: 1em; display: block; } -.components-form-file-upload .block-editor-media-placeholder__button { - margin-right: 4px; } - .block-editor-media-placeholder.is-appender { min-height: 100px; outline: 1px dashed #8d96a0; } @@ -2093,15 +1785,6 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { width: 36px; height: 24px; } -.block-editor-panel-color-settings .component-color-indicator { - vertical-align: text-bottom; } - -.block-editor-panel-color-settings__panel-title .component-color-indicator { - display: inline-block; } - -.block-editor-panel-color-settings.is-opened .block-editor-panel-color-settings__panel-title .component-color-indicator { - display: none; } - .block-editor .block-editor-plain-text { box-shadow: none; font-family: inherit; @@ -2188,7 +1871,8 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before .components-popover.block-editor-rich-text__inline-format-toolbar { z-index: 99998; } .components-popover.block-editor-rich-text__inline-format-toolbar .components-popover__content { - min-width: auto; } + min-width: auto; + margin-bottom: 6px; } .components-popover.block-editor-rich-text__inline-format-toolbar .components-toolbar { border: none; } @@ -2371,10 +2055,10 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before .block-editor-url-popover__additional-controls { border-top: 1px solid #e2e4e7; } -.block-editor-url-popover__additional-controls > div[role="menu"] .components-icon-button:not(:disabled):not([aria-disabled="true"]):not(.is-default) > svg { +.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-icon-button { +.block-editor-url-popover__additional-controls div[role="menu"] > .components-button { padding-left: 2px; } .block-editor-url-popover__row { @@ -2383,21 +2067,21 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before .block-editor-url-popover__row > :not(.block-editor-url-popover__settings-toggle) { flex-grow: 1; } -.block-editor-url-popover .components-icon-button { +.block-editor-url-popover .components-button.has-icon { padding: 3px; } - .block-editor-url-popover .components-icon-button > svg { + .block-editor-url-popover .components-button.has-icon > svg { padding: 5px; border-radius: 4px; height: 30px; width: 30px; } - .block-editor-url-popover .components-icon-button:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover { + .block-editor-url-popover .components-button.has-icon:not(:disabled):not([aria-disabled="true"]):not(.is-secondary):hover { box-shadow: none; } - .block-editor-url-popover .components-icon-button:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover > svg { + .block-editor-url-popover .components-button.has-icon:not(:disabled):not([aria-disabled="true"]):not(.is-secondary):hover > svg { color: #555d66; box-shadow: inset 0 0 0 1px #555d66, inset 0 0 0 2px #fff; } - .block-editor-url-popover .components-icon-button:not(:disabled):focus { + .block-editor-url-popover .components-button.has-icon:not(:disabled):focus { box-shadow: none; } - .block-editor-url-popover .components-icon-button:not(:disabled):focus > svg { + .block-editor-url-popover .components-button.has-icon:not(:disabled):focus > svg { box-shadow: inset 0 0 0 1px #555d66, inset 0 0 0 2px #fff; outline: 2px solid transparent; } @@ -2478,13 +2162,13 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before .block-editor-warning__secondary { margin: 5px 0 0 -4px; height: 36px; } - .block-editor-warning__secondary .components-icon-button { + .block-editor-warning__secondary .components-button.has-icon { width: auto; padding: 8px 2px; } @media (min-width: 600px) { .block-editor-warning__secondary { margin-left: 4px; } - .block-editor-warning__secondary .components-icon-button { + .block-editor-warning__secondary .components-button.has-icon { padding: 8px 4px; } } .block-editor-warning__secondary .components-button svg { transform: rotate(90deg); } diff --git a/wp-includes/css/dist/block-editor/style.min.css b/wp-includes/css/dist/block-editor/style.min.css index 592bee080c..4d48b9b4a4 100644 --- a/wp-includes/css/dist/block-editor/style.min.css +++ b/wp-includes/css/dist/block-editor/style.min.css @@ -1,13 +1,5 @@ -.block-editor-block-drop-zone{border:none;border-radius:0}.block-editor-block-drop-zone .components-drop-zone__content,.block-editor-block-drop-zone.is-dragging-over-element .components-drop-zone__content{display:none}.block-editor-block-drop-zone.is-close-to-bottom,.block-editor-block-drop-zone.is-close-to-top{background:none}.block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #0085ba}body.admin-color-sunrise .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #d1864a}body.admin-color-ocean .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #a3b9a2}body.admin-color-midnight .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #e14d43}body.admin-color-ectoplasm .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #a7b656}body.admin-color-coffee .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #c2a68c}body.admin-color-blue .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #82b4cb}body.admin-color-light .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #0085ba}.block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #0085ba}body.admin-color-sunrise .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #d1864a}body.admin-color-ocean .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #a3b9a2}body.admin-color-midnight .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #e14d43}body.admin-color-ectoplasm .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #a7b656}body.admin-color-coffee .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #c2a68c}body.admin-color-blue .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #82b4cb}body.admin-color-light .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #0085ba}.block-editor-block-drop-zone.is-appender.is-active.is-dragging-over-document{border-bottom:none}.block-editor-block-icon{display:flex;align-items:center;justify-content:center;width:24px;height:24px;margin:0;border-radius:4px}.block-editor-block-icon.has-colors svg{fill:currentColor}.block-editor-block-icon svg{min-width:20px;min-height:20px;max-width:24px;max-height:24px}.block-editor-block-inspector .components-base-control{margin-bottom:24px}.block-editor-block-inspector .components-base-control:last-child{margin-bottom:8px}.block-editor-block-inspector .components-panel__body{border:none;border-top:1px solid #e2e4e7}.block-editor-block-inspector .block-editor-block-card{padding:16px}.block-editor-block-inspector__no-blocks{display:block;font-size:13px;background:#fff;padding:32px 16px;text-align:center}.block-editor-block-list__layout .components-draggable__clone .block-editor-block-contextual-toolbar{display:none!important}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging .block-editor-block-list__block-edit:before{border:none}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging>.block-editor-block-list__block-edit>*{background:#f8f9f9}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging>.block-editor-block-list__block-edit>*>*{visibility:hidden}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging .block-editor-block-contextual-toolbar,.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging .block-editor-block-mover{display:none}.block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit .reusable-block-edit-panel *{z-index:1}.block-editor-block-list__layout{padding-left:14px;padding-right:14px}@media (min-width:600px){.block-editor-block-list__layout{padding-left:58px;padding-right:58px}}.block-editor-block-list__layout .block-editor-block-list__layout{padding-left:0;padding-right:0}.block-editor-block-list__layout .block-editor-block-list__block{position:relative;overflow-wrap:break-word}.block-editor-block-list__layout .block-editor-block-list__block .components-placeholder .components-with-notices-ui{margin:-10px 20px 12px;width:calc(100% - 40px)}.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 .block-editor-block-list__block-edit{position:relative}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__block-edit.has-mover-inside>[data-block]{display:flex}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__block-edit:before{z-index:0;content:"";position:absolute;border:1px solid transparent;border-left:none;box-shadow:none;pointer-events:none;transition:border-color .1s linear,border-style .1s linear,box-shadow .1s linear;outline:1px solid transparent;right:-14px;left:-14px;top:-14px;bottom:-14px}@media (prefers-reduced-motion:reduce){.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__block-edit:before{transition-duration:0s}}.block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit:before{border-color:rgba(66,88,99,.4);box-shadow:inset 3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit:before{border-color:hsla(0,0%,100%,.45);box-shadow:inset 3px 0 0 0 #d7dade}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit:before{box-shadow:-3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit:before{box-shadow:-3px 0 0 0 #d7dade}}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-navigate-mode>.block-editor-block-list__block-edit:before{border-color:#007cba;box-shadow:inset 3px 0 0 0 #007cba}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-navigate-mode>.block-editor-block-list__block-edit:before{box-shadow:-3px 0 0 0 #007cba}}.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected){opacity:.5;transition:opacity .1s linear}@media (prefers-reduced-motion:reduce){.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected){transition-duration:0s}}.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected).is-focused,.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected):not(.is-focused) .block-editor-block-list__block{opacity:1}.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected>.block-editor-block-list__block-edit:before{border-left-color:rgba(66,88,99,.4);box-shadow:inset 3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected>.block-editor-block-list__block-edit:before{border-left-color:hsla(0,0%,100%,.45);box-shadow:inset 3px 0 0 0 #d7dade}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected>.block-editor-block-list__block-edit:before{box-shadow:-3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected>.block-editor-block-list__block-edit:before{box-shadow:-3px 0 0 0 #d7dade}}.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .block-editor-block-list__block.is-multi-selected>.block-editor-block-list__block-edit:before{box-shadow:none}.block-editor-block-list__layout .components-placeholder ::selection{background:transparent}.block-editor-block-list__layout .block-editor-block-list__block.has-warning{min-height:36px}.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit>*{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit .block-editor-warning{pointer-events:all}.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit:before{border-color:rgba(145,151,162,.25);border-left:1px solid rgba(145,151,162,.25)}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit:before{border-color:hsla(0,0%,100%,.35)}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .block-editor-block-list__block-edit:before{border-color:rgba(66,88,99,.4) rgba(66,88,99,.4) rgba(66,88,99,.4) transparent}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .block-editor-block-list__block-edit:before{border-color:hsla(0,0%,100%,.45)}.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit:after{content:"";position:absolute;background-color:rgba(248,249,249,.4);top:-14px;bottom:-14px;right:-14px;left:-14px}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-multi-selected .block-editor-block-list__block-edit:after{background-color:transparent}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .block-editor-block-list__block-edit:after{bottom:22px}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .block-editor-block-list__block-edit:after{bottom:-14px}}.block-editor-block-list__layout .block-editor-block-list__block.is-typing .block-editor-block-list__side-inserter{opacity:0;animation:none}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__side-inserter{animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__side-inserter{animation-duration:1ms}}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable.is-selected>.block-editor-block-list__block-edit:before{border-left:transparent;border-width:1px;border-style:dashed}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable>.block-editor-block-list__block-edit .block-editor-inner-blocks.has-overlay:after{display:none}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable>.block-editor-block-list__block-edit .block-editor-inner-blocks.has-overlay .block-editor-inner-blocks.has-overlay:after{display:block}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left],.block-editor-block-list__layout .block-editor-block-list__block[data-align=right]{z-index:21;width:100%;height:0}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-list__block-edit,.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-list__block-edit{margin-top:0}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-list__block-edit:before,.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-list__block-edit:before{content:none}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{margin-bottom:1px}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{width:auto;border-bottom:1px solid #b5bcc2;bottom:auto}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{border-bottom:none}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar{left:0;right:auto}.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{left:auto;right:0}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{top:14px}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left]>.block-editor-block-list__block-edit{ +.block-editor-block-drop-zone{border:none;border-radius:0}.block-editor-block-drop-zone .components-drop-zone__content,.block-editor-block-drop-zone.is-dragging-over-element .components-drop-zone__content{display:none}.block-editor-block-drop-zone.is-close-to-bottom,.block-editor-block-drop-zone.is-close-to-top{background:none}.block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #0085ba}body.admin-color-sunrise .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #d1864a}body.admin-color-ocean .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #a3b9a2}body.admin-color-midnight .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #e14d43}body.admin-color-ectoplasm .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #a7b656}body.admin-color-coffee .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #c2a68c}body.admin-color-blue .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #82b4cb}body.admin-color-light .block-editor-block-drop-zone.is-close-to-top{border-top:3px solid #0085ba}.block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #0085ba}body.admin-color-sunrise .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #d1864a}body.admin-color-ocean .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #a3b9a2}body.admin-color-midnight .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #e14d43}body.admin-color-ectoplasm .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #a7b656}body.admin-color-coffee .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #c2a68c}body.admin-color-blue .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #82b4cb}body.admin-color-light .block-editor-block-drop-zone.is-close-to-bottom{border-bottom:3px solid #0085ba}.block-editor-block-drop-zone.is-appender.is-active.is-dragging-over-document{border-bottom:none}.block-editor-block-icon{display:flex;align-items:center;justify-content:center;width:24px;height:24px;margin:0;border-radius:4px}.block-editor-block-icon.has-colors svg{fill:currentColor}.block-editor-block-icon svg{min-width:20px;min-height:20px;max-width:24px;max-height:24px}.block-editor-block-inspector .components-base-control{margin-bottom:24px}.block-editor-block-inspector .components-base-control:last-child{margin-bottom:8px}.block-editor-block-inspector .components-panel__body{border:none;border-top:1px solid #e2e4e7}.block-editor-block-inspector .block-editor-block-card{padding:16px}.block-editor-block-inspector__no-blocks{display:block;font-size:13px;background:#fff;padding:32px 16px;text-align:center}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging .block-editor-block-list__block-edit:before{border:none}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging>.block-editor-block-list__block-edit>*{background:#f8f9f9}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging>.block-editor-block-list__block-edit>*>*{visibility:hidden}.block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit .reusable-block-edit-panel *{z-index:1}.block-editor-block-list__layout{padding-left:14px;padding-right:14px}@media (min-width:600px){.block-editor-block-list__layout{padding-left:58px;padding-right:58px}}.block-editor-block-list__layout .block-editor-block-list__layout{padding-left:0;padding-right:0}.block-editor-block-list__layout .block-editor-block-list__block{position:relative;overflow-wrap:break-word}.block-editor-block-list__layout .block-editor-block-list__block .components-placeholder .components-with-notices-ui{margin:-10px 20px 12px;width:calc(100% - 40px)}.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 .block-editor-block-list__block-edit{position:relative}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__block-edit:before{z-index:0;content:"";position:absolute;border:1px solid transparent;border-left:none;box-shadow:none;pointer-events:none;transition:border-color .1s linear,border-style .1s linear,box-shadow .1s linear;outline:1px solid transparent;right:-14px;left:-14px;top:-14px;bottom:-14px}@media (prefers-reduced-motion:reduce){.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__block-edit:before{transition-duration:0s}}.block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit:before{border-color:rgba(66,88,99,.4);box-shadow:inset 3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit:before{border-color:hsla(0,0%,100%,.45);box-shadow:inset 3px 0 0 0 #d7dade}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit:before{box-shadow:-3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-selected>.block-editor-block-list__block-edit:before{box-shadow:-3px 0 0 0 #d7dade}}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-navigate-mode>.block-editor-block-list__block-edit:before{border-color:#007cba;box-shadow:inset 3px 0 0 0 #007cba}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-navigate-mode>.block-editor-block-list__block-edit:before{box-shadow:-3px 0 0 0 #007cba}}.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected){opacity:.5;transition:opacity .1s linear}@media (prefers-reduced-motion:reduce){.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected){transition-duration:0s}}.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected).is-focused,.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected):not(.is-focused) .block-editor-block-list__block{opacity:1}.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected>.block-editor-block-list__block-edit>[data-block]{box-shadow:0 0 0 2px #007cba;border-radius:1px;outline:2px solid transparent}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected>.block-editor-block-list__block-edit>[data-block]{box-shadow:0 0 0 2px #fff}.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .components-placeholder ::selection{background:transparent}.block-editor-block-list__layout.has-toolbar-captured>.block-editor-block-list__block-edit:before{left:0}.block-editor-block-list__layout .block-editor-block-list__block.has-warning{min-height:36px}.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit>*{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit .block-editor-warning{pointer-events:all}.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit:before{border-color:rgba(145,151,162,.25);border-left:1px solid rgba(145,151,162,.25)}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit:before{border-color:hsla(0,0%,100%,.35)}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .block-editor-block-list__block-edit:before{border-color:rgba(66,88,99,.4) rgba(66,88,99,.4) rgba(66,88,99,.4) transparent}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .block-editor-block-list__block-edit:before{border-color:hsla(0,0%,100%,.45)}.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit:after{content:"";position:absolute;background-color:rgba(248,249,249,.4);top:-14px;bottom:-14px;right:-14px;left:-14px}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-multi-selected .block-editor-block-list__block-edit:after{background-color:transparent}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .block-editor-block-list__block-edit:after{bottom:22px}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .block-editor-block-list__block-edit:after{bottom:-14px}}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable.is-selected>.block-editor-block-list__block-edit:before{border-left:transparent;border-width:1px;border-style:dashed}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable>.block-editor-block-list__block-edit .block-editor-inner-blocks.has-overlay:after{display:none}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable>.block-editor-block-list__block-edit .block-editor-inner-blocks.has-overlay .block-editor-inner-blocks.has-overlay:after{display:block}.block-editor-block-list__layout .block-editor-block-list__block.is-navigate-mode{cursor:default}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left],.block-editor-block-list__layout .block-editor-block-list__block[data-align=right]{z-index:21;width:100%;height:0}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-list__block-edit,.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-list__block-edit{margin-top:0}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-list__block-edit:before,.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-list__block-edit:before{content:none}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left]>.block-editor-block-list__block-edit{ /*!rtl:begin:ignore*/float:left;margin-right:2em - /*!rtl:end:ignore*/}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=left] .block-editor-block-toolbar{ - /*!rtl:begin:ignore*/left:14px;right:auto - /*!rtl:end:ignore*/}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=right]>.block-editor-block-list__block-edit{ + /*!rtl:end:ignore*/}.block-editor-block-list__layout .block-editor-block-list__block[data-align=right]>.block-editor-block-list__block-edit{ /*!rtl:begin:ignore*/float:right;margin-left:2em - /*!rtl:end:ignore*/}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=right] .block-editor-block-toolbar{ - /*!rtl:begin:ignore*/right:14px;left:auto - /*!rtl:end:ignore*/}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full],.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]{clear:both;z-index:20}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full].is-multi-selected>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide].is-multi-selected>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-mover{top:-46px;bottom:auto;min-height:0;height:auto;width:auto}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full].is-multi-selected>.block-editor-block-mover:before,.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-mover:before,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide].is-multi-selected>.block-editor-block-mover:before,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-mover:before{content:none}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full].is-multi-selected>.block-editor-block-mover .block-editor-block-mover__control,.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-mover .block-editor-block-mover__control,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide].is-multi-selected>.block-editor-block-mover .block-editor-block-mover__control,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-mover .block-editor-block-mover__control{float:left}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=full] .block-editor-block-toolbar,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide] .block-editor-block-toolbar{display:inline-flex}}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar>.block-editor-block-toolbar,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar>.block-editor-block-toolbar{ - /*!rtl:begin:ignore*/left:90px - /*!rtl:end:ignore*/}}@media (min-width:1080px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar>.block-editor-block-toolbar,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar>.block-editor-block-toolbar{ - /*!rtl:begin:ignore*/left:14px - /*!rtl:end:ignore*/}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide].is-multi-selected>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-mover{left:-13px}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit{margin-left:-14px;margin-right:-14px}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit{margin-left:-58px;margin-right:-58px}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit:before{left:0;right:0;border-left-width:0;border-right-width:0}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full].is-multi-selected>.block-editor-block-mover,.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-mover{left:14px}.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-drop-zone{top:-4px;bottom:-3px;margin:0 14px}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-inserter-with-shortcuts{display:none}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-block-list__empty-block-inserter,.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}.block-editor-block-list__block.is-multi-selected>.block-editor-block-mover,.block-editor-block-list__block>.block-editor-block-list__block-edit>.block-editor-block-mover{position:absolute;width:30px}.block-editor-block-list__block.is-multi-selected>.block-editor-block-mover,.block-editor-block-list__block>.block-editor-block-list__block-edit>.block-editor-block-mover{top:-15px}@media (min-width:600px){.block-editor-block-list__block.is-hovered .block-editor-block-mover,.block-editor-block-list__block.is-multi-selected .block-editor-block-mover,.block-editor-block-list__block.is-selected .block-editor-block-mover{z-index:61}}.block-editor-block-list__block.is-multi-selected>.block-editor-block-mover,.block-editor-block-list__block>.block-editor-block-list__block-edit>.block-editor-block-mover{left:-53px;display:none}@media (min-width:600px){.block-editor-block-list__block.is-multi-selected>.block-editor-block-mover,.block-editor-block-list__block>.block-editor-block-list__block-edit>.block-editor-block-mover{display:block}}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar{display:flex;flex-direction:row;transform:translateY(15px);margin-top:37px;margin-right:-14px;margin-left:-14px;border-top:1px solid #b5bcc2;height:37px;background-color:#fff;box-shadow:0 5px 10px rgba(25,30,35,.05),0 2px 2px rgba(25,30,35,.05)}@media (min-width:600px){.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar{display:none;box-shadow:none}}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-inserter{position:relative;left:auto;top:auto;margin:0}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover__control,.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-inserter__toggle{width:36px;height:36px;border-radius:4px;padding:3px;margin:0;justify-content:center;align-items:center}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover__control .dashicon,.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-inserter__toggle .dashicon{margin:auto}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover{display:flex;margin-right:auto}.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover .block-editor-block-mover__control,.block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover .block-editor-inserter{float:left}.block-editor-block-list__block[data-align=full] .block-editor-block-list__block-mobile-toolbar{margin-left:0;margin-right:0}.block-editor-block-list .block-editor-inserter{margin:8px;cursor:move;cursor:grab}.block-editor-block-list__insertion-point{position:relative;z-index:6;margin-top:-14px}.block-editor-block-list__insertion-point-indicator{position:absolute;top:calc(50% - 1px);height:2px;left:0;right:0;background:#0085ba}body.admin-color-sunrise .block-editor-block-list__insertion-point-indicator{background:#d1864a}body.admin-color-ocean .block-editor-block-list__insertion-point-indicator{background:#a3b9a2}body.admin-color-midnight .block-editor-block-list__insertion-point-indicator{background:#e14d43}body.admin-color-ectoplasm .block-editor-block-list__insertion-point-indicator{background:#a7b656}body.admin-color-coffee .block-editor-block-list__insertion-point-indicator{background:#c2a68c}body.admin-color-blue .block-editor-block-list__insertion-point-indicator{background:#82b4cb}body.admin-color-light .block-editor-block-list__insertion-point-indicator{background:#0085ba}.block-editor-block-list__insertion-point-inserter{display:none;position:absolute;bottom:auto;left:0;right:0;justify-content:center;height:22px;opacity:0;transition:opacity .1s linear}@media (min-width:480px){.block-editor-block-list__insertion-point-inserter{display:flex}}.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle{border-radius:50%;color:#007cba;background:#fff;height:28px;width:28px;padding:4px}.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled=true]):hover{box-shadow:none}@media (prefers-reduced-motion:reduce){.block-editor-block-list__insertion-point-inserter{transition-duration:0s}}.block-editor-block-list__insertion-point-inserter.is-visible,.block-editor-block-list__insertion-point-inserter:hover{opacity:1}.edit-post-layout:not(.has-fixed-toolbar) .is-focused>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter,.edit-post-layout:not(.has-fixed-toolbar) .is-selected>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter{opacity:0;pointer-events:none}.edit-post-layout:not(.has-fixed-toolbar) .is-focused>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter.is-visible,.edit-post-layout:not(.has-fixed-toolbar) .is-focused>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter:hover,.edit-post-layout:not(.has-fixed-toolbar) .is-selected>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter.is-visible,.edit-post-layout:not(.has-fixed-toolbar) .is-selected>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter:hover{opacity:1;pointer-events:auto}.block-editor-block-list__block>.block-editor-block-list__insertion-point{position:absolute;top:-16px;height:28px;bottom:auto;left:14px;right:14px}.block-editor-block-list__block[data-align=full]>.block-editor-block-list__insertion-point{left:0;right:0}.block-editor-block-list__block .block-editor-block-list__block-html-textarea{display:block;margin:0;width:100%;border:none;outline:none;box-shadow:none;resize:none;overflow:hidden;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;line-height:150%;transition:padding .2s linear}@media (prefers-reduced-motion:reduce){.block-editor-block-list__block .block-editor-block-list__block-html-textarea{transition-duration:0s}}.block-editor-block-list__block .block-editor-block-list__block-html-textarea:focus{box-shadow:none}.block-editor-block-list__block .block-editor-block-contextual-toolbar{z-index:61;white-space:nowrap;text-align:left;pointer-events:none;position:absolute;bottom:22px;left:-14px;right:-14px;border-top:1px solid #b5bcc2}.block-editor-block-list__block .block-editor-block-contextual-toolbar .components-toolbar{border-top:none;border-bottom:none}@media (min-width:600px){.block-editor-block-list__block .block-editor-block-contextual-toolbar{border-top:none}.block-editor-block-list__block .block-editor-block-contextual-toolbar .components-toolbar{border-top:1px solid #b5bcc2;border-bottom:1px solid #b5bcc2}}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{margin-bottom:1px;margin-top:-37px;box-shadow:-3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.is-dark-theme .block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{box-shadow:-3px 0 0 0 #d7dade}@media (min-width:600px){.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{box-shadow:none}}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar .block-editor-block-toolbar,.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar .block-editor-block-toolbar{border-left:none}.block-editor-block-list__block .block-editor-block-contextual-toolbar{margin-left:0;margin-right:0}@media (min-width:600px){.block-editor-block-list__block .block-editor-block-contextual-toolbar{margin-left:-15px;margin-right:-15px}}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar{margin-right:15px}.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{margin-left:15px}.block-editor-block-list__block .block-editor-block-contextual-toolbar>*{pointer-events:auto}.block-editor-block-list__block[data-align=full] .block-editor-block-contextual-toolbar{left:0;right:0}@media (min-width:600px){.block-editor-block-list__block .block-editor-block-contextual-toolbar{bottom:auto;left:auto;right:auto;box-shadow:none;transform:translateY(-52px)}@supports ((position:-webkit-sticky) or (position:sticky)){.block-editor-block-list__block .block-editor-block-contextual-toolbar{position:-webkit-sticky;position:sticky;top:51px}}}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar{float:left}.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{float:right;min-width:200px}@supports ((position:-webkit-sticky) or (position:sticky)){.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{min-width:0}}.block-editor-block-list__block[data-align=left] .block-editor-block-contextual-toolbar,.block-editor-block-list__block[data-align=right] .block-editor-block-contextual-toolbar{transform:translateY(-15px)}.block-editor-block-contextual-toolbar .block-editor-block-toolbar{width:100%}@media (min-width:600px){.block-editor-block-contextual-toolbar .block-editor-block-toolbar{width:auto;border-right:none;position:absolute;left:1px;top:1px}}.block-editor-block-list__breadcrumb{display:block;position:absolute;line-height:1;z-index:22;left:-14px;top:-51px}.block-editor-block-list__breadcrumb .components-toolbar{display:flex;background:#fff;border:1px solid #007cba;border-left:none;box-shadow:inset 3px 0 0 0 #007cba;height:38px;font-size:13px;line-height:29px;padding-left:8px;padding-right:8px}.block-editor-block-list__breadcrumb .components-toolbar .components-button{box-shadow:none}.is-dark-theme .block-editor-block-list__breadcrumb .components-toolbar{border-color:hsla(0,0%,100%,.45)}@media (min-width:600px){.block-editor-block-list__breadcrumb .components-toolbar{box-shadow:-3px 0 0 0 #007cba}}@media (min-width:600px){.block-editor-block-list__block:before{bottom:0;content:"";left:-28px;position:absolute;right:-28px;top:0}.block-editor-block-list__block .block-editor-block-list__block:before{left:0;right:0}.block-editor-block-list__block[data-align=full]:before{content:none}}.block-editor-block-list__block .block-editor-warning{z-index:5;position:relative;margin-right:-14px;margin-left:-14px;margin-bottom:-14px;transform:translateY(-14px)}.block-editor-block-list__block .block-editor-warning.block-editor-block-list__block-crash-warning{margin-bottom:auto}.block-editor-block-list__block .block-list-appender{margin:14px 0}.has-background .block-editor-block-list__block .block-list-appender{margin:32px 14px}.block-list-appender>.block-editor-inserter{display:block}.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:"\2192"}.block-editor-block-breadcrumb__button.components-button{height:24px;line-height:24px;padding:0}.block-editor-block-breadcrumb__button.components-button:hover{text-decoration:underline}.block-editor-block-breadcrumb__button.components-button:focus{color:#191e23;outline-offset:-1px;outline:1px dotted #555d66;outline-offset:-2px;box-shadow:none}.block-editor-block-breadcrumb__current{cursor:default}.block-editor-block-breadcrumb__button.components-button,.block-editor-block-breadcrumb__current{color:#555d66;padding:0 8px;font-size:inherit}.block-editor-block-card{display:flex;align-items:flex-start}.block-editor-block-card__icon{border:1px solid #ccd0d4;padding:7px;margin-right:10px;height:36px;width:36px}.block-editor-block-card__content{flex-grow:1}.block-editor-block-card__title{font-weight:500;margin-bottom:5px}.block-editor-block-card__description{font-size:13px}.block-editor-block-card .block-editor-block-icon{margin-left:-2px;margin-right:10px;padding:0 3px;width:36px;height:24px}.block-editor-block-compare{overflow:auto;height:auto}@media (min-width:600px){.block-editor-block-compare{max-height:70%}}.block-editor-block-compare__wrapper{display:flex;padding-bottom:16px}.block-editor-block-compare__wrapper>div{display:flex;justify-content:space-between;flex-direction:column;width:50%;padding:0 16px 0 0;min-width:200px}.block-editor-block-compare__wrapper>div button{float:right}.block-editor-block-compare__wrapper .block-editor-block-compare__converted{border-left:1px solid #ddd;padding-left:15px;padding-right:0}.block-editor-block-compare__wrapper .block-editor-block-compare__html{font-family:Menlo,Consolas,monaco,monospace;font-size:12px;color:#23282d;border-bottom:1px solid #ddd;padding-bottom:15px;line-height:1.7}.block-editor-block-compare__wrapper .block-editor-block-compare__html span{background-color:#e6ffed;padding-top:3px;padding-bottom:3px}.block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__added{background-color:#acf2bd}.block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__removed{background-color:#d94f4f}.block-editor-block-compare__wrapper .block-editor-block-compare__preview{padding:14px 0 0}.block-editor-block-compare__wrapper .block-editor-block-compare__preview p{font-size:12px;margin-top:0}.block-editor-block-compare__wrapper .block-editor-block-compare__action{margin-top:14px}.block-editor-block-compare__wrapper .block-editor-block-compare__heading{font-size:1em;font-weight:400;margin:.67em 0}.block-editor-block-mobile-toolbar{display:flex;flex-direction:row;border-right:1px solid #e2e4e7}.block-editor-block-mobile-toolbar .block-editor-block-mover__control{width:36px;height:36px;border-radius:4px;padding:3px;margin:0;justify-content:center;align-items:center}.block-editor-block-mobile-toolbar .block-editor-block-mover__control .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__control{float:left}@media (min-width:600px){.block-editor-block-mover{opacity:0;background:#fff;border:1px solid rgba(66,88,99,.4);border-radius:4px;transition:box-shadow .2s ease-out;margin-top:-8px}}@media (min-width:600px) and (prefers-reduced-motion:reduce){.block-editor-block-mover{transition-duration:0s}}@media (min-width:600px){.block-editor-block-mover.is-visible{animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}}@media (min-width:600px) and (prefers-reduced-motion:reduce){.block-editor-block-mover.is-visible{animation-duration:1ms}}@media (min-width:600px){.block-editor-block-mover:hover{box-shadow:0 2px 10px rgba(25,30,35,.1),0 0 2px rgba(25,30,35,.1)}}.block-editor-block-mover.is-horizontal{margin-top:5px;margin-right:8px;padding-right:0;min-height:auto;width:50px;height:26px;display:flex}.block-editor-block-mover.is-horizontal .block-editor-block-mover__control{width:24px;height:24px}.block-editor-block-mover.is-horizontal .block-editor-block-mover__control svg{width:24px;padding:3px}@media (min-width:600px){.block-editor-block-list__block:not([data-align=wide]):not([data-align=full]) .editor-block-mover:not(.is-horizontal){margin-top:0}}.block-editor-block-mover__control{display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;border:none;box-shadow:none;width:28px;height:24px}.block-editor-block-mover__control svg{width:28px;height:24px;padding:2px 5px}.block-editor-block-mover__control[aria-disabled=true]{cursor:default;pointer-events:none;color:rgba(14,28,46,.62)}@media (min-width:600px){.block-editor-block-mover__control{color:rgba(14,28,46,.62)}.block-editor-block-mover__control:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{background-color:transparent;box-shadow:none}.block-editor-block-mover__control:focus:not(:disabled){background-color:transparent}}.block-editor-block-mover__control-drag-handle{cursor:move;cursor:grab;fill:currentColor}.block-editor-block-mover__control-drag-handle,.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active,.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):focus,.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{box-shadow:none;background:none;color:rgba(10,24,41,.7)}.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-default):active{cursor:grabbing}.block-editor-block-mover__description{display:none}.block-editor-block-navigation__container{padding:7px}.block-editor-block-navigation__label{margin:0 0 8px;color:#6c7781}.block-editor-block-navigation__list,.block-editor-block-navigation__paragraph{padding:0;margin:0}.block-editor-block-navigation__list .block-editor-button-block-appender{outline:none;background:none;padding:8px;margin-left:.8em;width:36px;border-radius:4px}.block-editor-block-navigation__list .block-editor-button-block-appender:hover:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;background:#f3f4f5;outline:none}.block-editor-block-navigation__list .block-editor-button-block-appender:focus:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.block-editor-block-navigation__list .block-editor-block-navigation__list{margin-top:2px;border-left:2px solid #a2aab2;margin-left:1em}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__list{margin-left:1.5em}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item{position:relative}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item:before{position:absolute;left:0;background:#a2aab2;width:.5em;height:2px;content:"";top:calc(50% - 1px)}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item-button{margin-left:.8em;width:calc(100% - .8em)}.block-editor-block-navigation__list .block-editor-block-navigation__list>li:last-child{position:relative}.block-editor-block-navigation__list .block-editor-block-navigation__list>li:last-child:after{position:absolute;content:"";background:#fff;top:19px;bottom:0;left:-2px;width:2px}.block-editor-block-navigation__item-button{display:flex;align-items:center;width:100%;padding:6px;text-align:left;color:#40464d;border-radius:4px}.block-editor-block-navigation__item-button .block-editor-block-icon{margin-right:6px}.block-editor-block-navigation__item-button:hover:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;background:#f3f4f5}.block-editor-block-navigation__item-button:focus:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.block-editor-block-navigation__item-button.is-selected,.block-editor-block-navigation__item-button.is-selected:focus{color:#32373c;background:#edeff0}.components-popover.block-editor-block-navigation__popover{z-index:99998}.block-editor-block-pattern-picker .components-placeholder__instructions{margin-bottom:0}.block-editor-block-pattern-picker .components-placeholder__fieldset{flex-direction:column}.block-editor-block-pattern-picker.has-many-patterns .components-placeholder__fieldset{max-width:90%}.block-editor-block-pattern-picker__patterns.block-editor-block-pattern-picker__patterns{display:flex;justify-content:center;flex-direction:row;flex-wrap:wrap;width:100%;margin:4px 0;list-style:none}.block-editor-block-pattern-picker__patterns.block-editor-block-pattern-picker__patterns>li{list-style:none;margin:8px;flex-shrink:1;max-width:100px}.block-editor-block-pattern-picker__patterns.block-editor-block-pattern-picker__patterns .block-editor-block-pattern-picker__pattern{padding:8px}.block-editor-block-pattern-picker__pattern{width:100%}.block-editor-block-pattern-picker__pattern.components-icon-button{justify-content:center}.block-editor-block-pattern-picker__pattern.components-icon-button.is-default{background-color:#fff}.block-editor-block-pattern-picker__pattern.components-button{height:auto;padding:0}.block-editor-block-pattern-picker__pattern:before{content:"";padding-bottom:100%}.block-editor-block-pattern-picker__pattern:first-child{margin-left:0}.block-editor-block-pattern-picker__pattern:last-child{margin-right:0}.block-editor-block-preview__container{position:relative;width:100%;overflow:hidden}.block-editor-block-preview__container.is-ready{overflow:visible}.block-editor-block-preview__content{position:absolute;top:0;left:0;transform-origin:top left;text-align:initial;margin:0;overflow:visible;min-height:auto}.block-editor-block-preview__content .block-editor-block-list__block,.block-editor-block-preview__content .block-editor-block-list__layout{padding:0}.block-editor-block-preview__content .editor-block-list__block-edit [data-block]{margin:0}.block-editor-block-preview__content>div section{height:auto}.block-editor-block-preview__content .block-editor-block-drop-zone,.block-editor-block-preview__content .block-editor-block-list__insertion-point,.block-editor-block-preview__content .block-list-appender,.block-editor-block-preview__content .reusable-block-indicator{display:none}.block-editor-block-settings-menu .components-dropdown-menu__toggle .dashicon{transform:rotate(90deg)}.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:4px;padding:calc(37.5% - 6px) 6px 6px}.block-editor-block-styles__item:focus{color:#191e23;box-shadow:0 0 0 1px #fff,0 0 0 3px #00a0d2;outline:2px solid transparent}.block-editor-block-styles__item:hover{background:#f3f4f5;color:#191e23}.block-editor-block-styles__item.is-active{color:#191e23;box-shadow:inset 0 0 0 2px #555d66;outline:2px solid transparent;outline-offset:-2px}.block-editor-block-styles__item.is-active:focus{color:#191e23;box-shadow:0 0 0 1px #fff,0 0 0 3px #00a0d2,inset 0 0 0 2px #555d66;outline:4px solid transparent;outline-offset:-4px}.block-editor-block-styles__item-preview{outline:1px solid transparent;border:1px solid rgba(25,30,35,.2);border-radius:4px;display:flex;overflow:hidden;background:#fff;padding:75% 0 0;margin-top:-75%}.block-editor-block-styles__item-preview .block-editor-block-preview__container{padding-top:0;margin:-75% 0 0}.block-editor-block-styles__item-label{text-align:center;padding:4px 2px}.block-editor-block-switcher{position:relative;height:36px}.components-icon-button.block-editor-block-switcher__no-switcher-icon,.components-icon-button.block-editor-block-switcher__toggle{margin:0;display:block;height:36px;padding:3px}.components-icon-button.block-editor-block-switcher__no-switcher-icon{width:48px}.components-icon-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-icon{margin-right:auto;margin-left:auto}.components-button.block-editor-block-switcher__no-switcher-icon:disabled{border-radius:0;opacity:.84}.components-button.block-editor-block-switcher__no-switcher-icon:disabled .block-editor-block-icon.has-colors{color:#555d66!important;background:#f3f4f5!important}.components-icon-button.block-editor-block-switcher__toggle{width:auto}.components-icon-button.block-editor-block-switcher__toggle:active,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):not([aria-disabled=true]):hover,.components-icon-button.block-editor-block-switcher__toggle:not([aria-disabled=true]):focus{outline:none;box-shadow:none;background:none;border:none}.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{width:42px;height:30px;position:relative;margin:0 auto;padding:3px;display:flex;align-items:center;transition:all .1s cubic-bezier(.165,.84,.44,1)}@media (prefers-reduced-motion:reduce){.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{transition-duration:0s}}.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-icon:after{content:"";pointer-events:none;display:block;width:0;height:0;border-left:3px solid transparent;border-right:3px solid transparent;border-top:5px solid;margin-left:4px;margin-right:2px}.components-icon-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{margin-top:6px;border-radius:4px}.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-switcher__transform,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):hover .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):hover .block-editor-block-switcher__transform,.components-icon-button.block-editor-block-switcher__toggle[aria-expanded=true] .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle[aria-expanded=true] .block-editor-block-switcher__transform{transform:translateY(-36px)}.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-icon,.components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-switcher__transform{box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff;outline:2px solid transparent}.components-popover.block-editor-block-switcher__popover .components-popover__content{min-width:300px;max-width:680px;display:flex;background:#fff;box-shadow:0 3px 30px rgba(25,30,35,.1)}.block-editor-block-switcher__popover .components-popover__content .block-editor-block-switcher__container{min-width:300px;max-width:340px;width:50%}@media (min-width:782px){.block-editor-block-switcher__popover .components-popover__content{position:relative}.block-editor-block-switcher__popover .components-popover__content .block-editor-block-switcher__preview{border-left:1px solid #e2e4e7;box-shadow:0 3px 30px rgba(25,30,35,.1);background:#fff;width:300px;height:auto;position:-webkit-sticky;position:sticky;-ms-grid-row-align:stretch;align-self:stretch;top:0;padding:10px}}.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 #e2e4e7}.block-editor-block-switcher__popover .block-editor-block-styles{margin:0 -3px}.block-editor-block-switcher__popover .block-editor-block-types-list{margin:8px -8px -8px}.block-editor-block-switcher__preview-title{margin-bottom:10px;color:#6c7781}.block-editor-block-toolbar{display:flex;flex-grow:1;width:100%;overflow:auto;position:relative;border-left:1px solid #b5bcc2;transition:border-color .1s linear,box-shadow .1s linear}@media (prefers-reduced-motion:reduce){.block-editor-block-toolbar{transition-duration:0s}}@media (min-width:600px){.block-editor-block-toolbar{overflow:inherit;border-left:none;box-shadow:-3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-toolbar{box-shadow:-3px 0 0 0 #d7dade}}.block-editor-block-toolbar .components-toolbar{border:0;border-top:1px solid #b5bcc2;border-bottom:1px solid #b5bcc2;border-right:1px solid #b5bcc2;line-height:0}.has-fixed-toolbar .block-editor-block-toolbar{box-shadow:none;border-left:1px solid #e2e4e7}.has-fixed-toolbar .block-editor-block-toolbar .components-toolbar{border-color:#e2e4e7}.block-editor-block-toolbar__slot{display:inline-block;line-height:0}@supports ((position:-webkit-sticky) or (position:sticky)){.block-editor-block-toolbar__slot{display:inline-flex}}.block-editor-block-types-list{list-style:none;padding:4px;margin-left:-4px;margin-right:-4px;overflow:hidden;display:flex;flex-wrap:wrap}.block-editor-button-block-appender{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:21px;outline:1px dashed #8d96a0;width:100%;color:#555d66;background:rgba(237,239,240,.8)}.block-editor-button-block-appender:focus,.block-editor-button-block-appender:hover{outline:1px dashed #555d66;color:#191e23}.block-editor-button-block-appender:active{outline:1px dashed #191e23;color:#191e23}.is-dark-theme .block-editor-button-block-appender{background:rgba(50,55,60,.7);color:#f8f9f9}.is-dark-theme .block-editor-button-block-appender:focus,.is-dark-theme .block-editor-button-block-appender:hover{outline:1px dashed #fff}.block-editor-contrast-checker>.components-notice{margin:0}.block-editor-default-block-appender{clear:both;margin-left:auto;margin-right:auto;position:relative}.block-editor-default-block-appender[data-root-client-id=""] .block-editor-default-block-appender__content:hover{outline:1px solid transparent}.block-editor-default-block-appender textarea.block-editor-default-block-appender__content{font-family:"Noto Serif",serif;font-size:16px;border:none;background:none;box-shadow:none;display:block;cursor:text;width:100%;outline:1px solid transparent;transition:outline .2s;resize:none;margin-top:28px;margin-bottom:28px;padding:0 50px 0 14px;color:rgba(14,28,46,.62)}@media (prefers-reduced-motion:reduce){.block-editor-default-block-appender textarea.block-editor-default-block-appender__content{transition-duration:0s}}.is-dark-theme .block-editor-default-block-appender textarea.block-editor-default-block-appender__content{color:hsla(0,0%,100%,.65)}.block-editor-default-block-appender:hover .block-editor-inserter-with-shortcuts{animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-default-block-appender:hover .block-editor-inserter-with-shortcuts{animation-duration:1ms}}.block-editor-default-block-appender .components-drop-zone__content-icon{display:none}.block-editor-default-block-appender__content{min-height:28px;line-height:1.8}.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter,.block-editor-inserter-with-shortcuts{position:absolute;top:0}.block-editor-block-list__empty-block-inserter .components-icon-button,.block-editor-default-block-appender .block-editor-inserter .components-icon-button,.block-editor-inserter-with-shortcuts .components-icon-button{width:28px;height:28px;margin-right:12px;padding:0}.block-editor-block-list__empty-block-inserter .block-editor-block-icon,.block-editor-default-block-appender .block-editor-inserter .block-editor-block-icon,.block-editor-inserter-with-shortcuts .block-editor-block-icon{margin:auto}.block-editor-block-list__empty-block-inserter .components-icon-button svg,.block-editor-default-block-appender .block-editor-inserter .components-icon-button svg,.block-editor-inserter-with-shortcuts .components-icon-button svg{display:block;margin:auto}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle,.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle,.block-editor-inserter-with-shortcuts .block-editor-inserter__toggle{margin-right:0}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.block-editor-inserter-with-shortcuts .block-editor-inserter__toggle:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{box-shadow:none}.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;align-items:center;height:100%;left:-44px;right:auto}}.block-editor-block-list__empty-block-inserter:disabled,.block-editor-default-block-appender .block-editor-inserter:disabled{display:none}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle,.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle{border-radius:50%;width:28px;height:28px;padding:0}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:hover),.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:hover){color:rgba(10,24,41,.7)}.is-dark-theme .block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:hover),.is-dark-theme .block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:hover){color:hsla(0,0%,100%,.75)}.block-editor-block-list__side-inserter .block-editor-inserter-with-shortcuts,.block-editor-default-block-appender .block-editor-inserter-with-shortcuts{right:14px;display:none;z-index:5}@media (min-width:600px){.block-editor-block-list__side-inserter .block-editor-inserter-with-shortcuts,.block-editor-default-block-appender .block-editor-inserter-with-shortcuts{display:flex;align-items:center;height:100%;right:0}}.block-editor-link-control__search{position:relative;min-width:360px}.block-editor-link-control__search .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]{width:calc(100% - 32px);display:block;margin:16px;padding:11px 38px 11px 16px;position:relative;z-index:1;border:1px solid #e1e1e1;border-radius:4px;font-size:16px}@media (min-width:600px){.block-editor-link-control__search .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]{font-size:13px}}.block-editor-link-control__search .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]:focus{color:#191e23;border-color:#007cba;box-shadow:0 0 0 1px #007cba;outline:2px solid transparent}.block-editor-link-control__search-reset{position:absolute;top:19px;right:19px;z-index:10}.block-editor-link-control__search-results-wrapper{position:relative;margin-top:-15px}.block-editor-link-control__search-results-wrapper:after,.block-editor-link-control__search-results-wrapper:before{content:"";position:absolute;left:-1px;right:16px;display:block;pointer-events:none;z-index:100}.block-editor-link-control__search-results-wrapper:before{height:8px;top:0;bottom:auto;background:linear-gradient(180deg,#fff 0,hsla(0,0%,100%,0))}.block-editor-link-control__search-results-wrapper:after{height:16px;bottom:0;top:auto;background:linear-gradient(180deg,hsla(0,0%,100%,0) 0,#fff)}.block-editor-link-control__search-results{margin:0;padding:8px 16px 16px;max-height:200px;overflow-y:scroll}.block-editor-link-control__search-results.is-loading{opacity:.2}.block-editor-link-control__search-item{position:relative;display:flex;align-items:center;font-size:13px;cursor:pointer;background:#fff;width:100%;border:none;text-align:left;padding:10px 15px;border-radius:5px}.block-editor-link-control__search-item:focus,.block-editor-link-control__search-item:hover{background-color:#e9e9e9}.block-editor-link-control__search-item.is-selected{background:#f2f2f2}.block-editor-link-control__search-item.is-selected .block-editor-link-control__search-item-type{background:#fff}.block-editor-link-control__search-item.is-current{background:transparent;border:0;width:100%;cursor:default;padding:16px 16px 16px 24px}.block-editor-link-control__search-item .block-editor-link-control__search-item-header{display:block;margin-right:24px}.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{text-overflow:ellipsis;max-width:230px;overflow:hidden;white-space:nowrap}.block-editor-link-control__search-item .block-editor-link-control__search-item-title{display:block;margin-bottom:.2em;font-weight:500}.block-editor-link-control__search-item .block-editor-link-control__search-item-title mark{font-weight:700;color:#000;background-color:transparent}.block-editor-link-control__search-item .block-editor-link-control__search-item-title span{font-weight:400}.block-editor-link-control__search-item .block-editor-link-control__search-item-info{display:block;color:#999;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:#f3f4f5;border-radius:2px}.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 #e1e1e1;margin:0;padding:16px 24px}.block-editor-link-control__settings :last-child{margin-bottom:0}.block-editor-link-control__setting{margin-bottom:16px}.block-editor-link-control__setting :last-child{margin-bottom:0}.block-editor-link-control .block-editor-link-control__search-input .components-spinner{display:block;z-index:100;float:none}.block-editor-link-control .block-editor-link-control__search-input .components-spinner.components-spinner{position:absolute;top:27px;left:auto;right:60px;bottom:0}.block-editor-link-control__search-item-action{margin-left:auto;flex-shrink:0}.block-editor-inner-blocks.has-overlay:after{content:"";position:absolute;top:-14px;right:-14px;bottom:-14px;left:-14px;z-index:60}[data-align=full]>.editor-block-list__block-edit>[data-block] .has-overlay:after{right:0;left:0}.block-editor-inserter-with-shortcuts{display:flex;align-items:center}.block-editor-inserter-with-shortcuts .components-icon-button{border-radius:4px}.block-editor-inserter-with-shortcuts .components-icon-button svg:not(.dashicon){height:24px;width:24px}.block-editor-inserter-with-shortcuts__block{margin-right:4px;width:36px;height:36px;padding-top:8px;color:rgba(10,24,41,.7)}.is-dark-theme .block-editor-inserter-with-shortcuts__block{color:hsla(0,0%,100%,.75)}.block-editor-inserter{display:inline-block;background:none;border:none;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:1.4}@media (min-width:782px){.block-editor-inserter{position:relative}}@media (min-width:782px){.block-editor-inserter__popover>.components-popover__content{overflow-y:visible;height:432px}}.block-editor-inserter__toggle{display:inline-flex;align-items:center;color:#555d66;background:none;cursor:pointer;border:none;outline:none;transition:color .2s ease}@media (prefers-reduced-motion:reduce){.block-editor-inserter__toggle{transition-duration:0s}}.block-editor-inserter__menu{height:100%;display:flex;width:auto}@media (min-width:782px){.block-editor-inserter__menu{width:400px;position:relative}.block-editor-inserter__menu.has-help-panel{width:700px}}.block-editor-inserter__main-area{width:auto;display:flex;flex-direction:column;height:100%}@media (min-width:782px){.block-editor-inserter__main-area{width:400px;position:relative}}.block-editor-inserter__inline-elements{margin-top:-1px}.block-editor-inserter__menu.is-bottom:after{border-bottom-color:#fff}.components-popover.block-editor-inserter__popover{z-index:99998}.components-popover input[type=search].block-editor-inserter__search{display:block;margin:16px;padding:11px 16px;position:relative;z-index:1;border-radius:4px;font-size:16px}@media (min-width:600px){.components-popover input[type=search].block-editor-inserter__search{font-size:13px}}.components-popover input[type=search].block-editor-inserter__search:focus{color:#191e23;border-color:#007cba;box-shadow:0 0 0 1px #007cba;outline:2px solid transparent}.block-editor-inserter__results{flex-grow:1;overflow:auto;position:relative;z-index:1;padding:0 16px 16px}.block-editor-inserter__results:focus{outline:1px dotted #555d66}@media (min-width:782px){.block-editor-inserter__results{height:394px}}.block-editor-inserter__results [role=presentation]+.components-panel__body{border-top:none}.block-editor-inserter__popover .block-editor-block-types-list{margin:0 -8px}.block-editor-inserter__reusable-blocks-panel{position:relative;text-align:right}.block-editor-inserter__manage-reusable-blocks{margin:16px 0 0 16px}.block-editor-inserter__no-results{font-style:italic;padding:24px;text-align:center}.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__menu-help-panel{display:none;border-left:1px solid #e2e4e7;width:300px;height:100%;padding:20px;overflow-y:auto}@media (min-width:782px){.block-editor-inserter__menu-help-panel{display:flex;flex-direction:column}}.block-editor-inserter__menu-help-panel .block-editor-block-card{padding-bottom:20px;margin-bottom:20px;border-bottom:1px solid #e2e4e7;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-inserter__menu-help-panel .block-editor-block-card{animation-duration:1ms}}.block-editor-inserter__menu-help-panel .block-editor-inserter__preview{display:flex;flex-grow:2}.block-editor-inserter__menu-help-panel-no-block{display:flex;height:100%;flex-direction:column;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-inserter__menu-help-panel-no-block{animation-duration:1ms}}.block-editor-inserter__menu-help-panel-no-block .block-editor-inserter__menu-help-panel-no-block-text{flex-grow:1}.block-editor-inserter__menu-help-panel-no-block .block-editor-inserter__menu-help-panel-no-block-text h4{font-size:18px}.block-editor-inserter__menu-help-panel-no-block .components-notice{margin:0}.block-editor-inserter__menu-help-panel-no-block h4{margin-top:0}.block-editor-inserter__menu-help-panel-hover-area{flex-grow:1;margin-top:20px;padding:20px;border:1px dotted #e2e4e7;display:flex;align-items:center;text-align:center}.block-editor-inserter__menu-help-panel-title{font-size:18px;font-weight:600;margin-bottom:20px}.block-editor-inserter__preview-content{border:1px solid #e2e4e7;border-radius:4px;min-height:150px;display:-ms-grid;display:grid;flex-grow:2}.block-editor-inserter__preview-content .block-editor-block-preview__container{margin-right:0;margin-left:0;padding:10px}.block-editor-inserter__preview-content-missing{flex:1;display:flex;justify-content:center;color:#606a73;border:1px solid #e2e4e7;border-radius:4px;align-items:center}.block-editor-block-types-list__list-item{display:block;width:33.33%;padding:0;margin:0 0 12px}.components-button.block-editor-block-types-list__item{display:flex;flex-direction:column;width:100%;font-size:13px;color:#32373c;padding:0 4px;align-items:stretch;justify-content:center;cursor:pointer;background:transparent;word-break:break-word;border-radius:4px;border:1px solid transparent;transition:all .05s ease-in-out;position:relative}@media (prefers-reduced-motion:reduce){.components-button.block-editor-block-types-list__item{transition-duration:0s}}.components-button.block-editor-block-types-list__item:disabled{opacity:.6;cursor:default}.components-button.block-editor-block-types-list__item:not(:disabled):hover:before{content:"";display:block;background:#f3f4f5;color:#191e23;position:absolute;z-index:-1;border-radius:4px;top:0;right:0;bottom:0;left:0}.components-button.block-editor-block-types-list__item:not(:disabled):hover .block-editor-block-types-list__item-icon,.components-button.block-editor-block-types-list__item:not(:disabled):hover .block-editor-block-types-list__item-title{color:inherit}.components-button.block-editor-block-types-list__item:not(:disabled):active,.components-button.block-editor-block-types-list__item:not(:disabled):focus{position:relative;color:#191e23;box-shadow:0 0 0 1px #fff,0 0 0 3px #00a0d2;outline:2px solid transparent;background:transparent}.components-button.block-editor-block-types-list__item:not(:disabled):active .block-editor-block-types-list__item-icon,.components-button.block-editor-block-types-list__item:not(:disabled):active .block-editor-block-types-list__item-title,.components-button.block-editor-block-types-list__item:not(:disabled):focus .block-editor-block-types-list__item-icon,.components-button.block-editor-block-types-list__item:not(:disabled):focus .block-editor-block-types-list__item-title{color:inherit}.components-button.block-editor-block-types-list__item:not(:disabled).is-active{color:#191e23;box-shadow:inset 0 0 0 2px #555d66;outline:2px solid transparent;outline-offset:-2px}.components-button.block-editor-block-types-list__item:not(:disabled).is-active:focus{color:#191e23;box-shadow:0 0 0 1px #fff,0 0 0 3px #00a0d2,inset 0 0 0 2px #555d66;outline:4px solid transparent;outline-offset:-4px}.block-editor-block-types-list__item-icon{padding:12px 20px;border-radius:4px;color:#555d66;transition:all .05s ease-in-out}@media (prefers-reduced-motion:reduce){.block-editor-block-types-list__item-icon{transition-duration:0s}}.block-editor-block-types-list__item-icon .block-editor-block-icon{margin-left:auto;margin-right:auto}.block-editor-block-types-list__item-icon svg{transition:all .15s ease-out}@media (prefers-reduced-motion:reduce){.block-editor-block-types-list__item-icon svg{transition-duration:0s}}.block-editor-block-types-list__item-title{padding:4px 2px 8px}.media-replace-flow .components-dropdown-menu__indicator{margin-left:4px}.media-replace-flow .components-dropdown-menu__indicator .components-dropdown-menu.media-flow_toolbar .components-dropdown-menu__label{margin-right:6px;margin-left:2px}.media-replace-flow__options.components-popover:not(.is-mobile) .components-popover__content{overflow-x:hidden}.media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input{padding:0 15px 10px 25px}.media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input .components-external-link__icon{position:absolute;right:-4px;bottom:5px;margin-right:2px}.media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input input{max-width:169px;border:1px solid #555d66;border-radius:4px}.media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input .block-editor-url-popover__link-viewer-url{padding-right:15px;padding-top:3px;max-width:179px;position:relative;margin-right:0}.media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input .components-icon-button{width:40px;height:40px;padding:5px 5px 5px 0}.media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input .components-icon-button>svg{padding:5px;border-radius:4px;height:30px;width:30px}.media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input .components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{box-shadow:none}.media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input .components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover>svg{color:#555d66;box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff}.media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input .components-icon-button:not(:disabled):focus{box-shadow:none}.media-replace-flow__options.components-popover:not(.is-mobile) .block-editor-media-flow__url-input .components-icon-button:not(:disabled):focus>svg{box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff;outline:2px solid transparent}.block-editor-media-placeholder__url-input-container{width:100%}.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__button .dashicon{vertical-align:middle;margin-bottom:3px}.block-editor-media-placeholder__button:hover{color:#23282d}.block-editor-media-placeholder__cancel-button.is-link{margin:1em;display:block}.components-form-file-upload .block-editor-media-placeholder__button{margin-right:4px}.block-editor-media-placeholder.is-appender{min-height:100px;outline:1px dashed #8d96a0}.block-editor-media-placeholder.is-appender:hover{outline:1px dashed #555d66;cursor:pointer}.is-dark-theme .block-editor-media-placeholder.is-appender:hover{outline:1px dashed #fff}.block-editor-media-placeholder.is-appender .block-editor-media-placeholder__upload-button{margin-right:4px}.block-editor-media-placeholder.is-appender .block-editor-media-placeholder__upload-button.components-button:focus,.block-editor-media-placeholder.is-appender .block-editor-media-placeholder__upload-button.components-button:hover{box-shadow:none;border:1px solid #555d66}.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-panel-color-settings .component-color-indicator{vertical-align:text-bottom}.block-editor-panel-color-settings__panel-title .component-color-indicator{display:inline-block}.block-editor-panel-color-settings.is-opened .block-editor-panel-color-settings__panel-title .component-color-indicator{display:none}.block-editor .block-editor-plain-text{box-shadow:none;font-family:inherit;font-size:inherit;color:inherit;line-height:inherit;border:none;padding:0;margin:0;width:100%}.block-editor-responsive-block-control{margin-bottom:28px;border-bottom:1px solid #d7dade;padding-bottom:14px}.block-editor-responsive-block-control:last-child{padding-bottom:0;border-bottom:0}.block-editor-responsive-block-control__title{margin:0 0 .6em -3px}.block-editor-responsive-block-control__label{font-weight:600;margin-bottom:.6em;margin-left:-3px}.block-editor-responsive-block-control__inner{margin-left:-1px}.block-editor-responsive-block-control__toggle{margin-left:1px}.block-editor-responsive-block-control .components-base-control__help{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.block-editor-format-toolbar .components-dropdown-menu__toggle .components-dropdown-menu__indicator:after{margin:7px}.block-editor-rich-text__editable>p:first-child{margin-top:0}.block-editor-rich-text__editable a{color:#007fac}.block-editor-rich-text__editable code{padding:2px;border-radius:2px;color:#23282d;background:#f3f4f5;font-family:Menlo,Consolas,monaco,monospace;font-size:inherit}.block-editor-rich-text__editable:focus{outline:none}.block-editor-rich-text__editable:focus [data-rich-text-format-boundary]{border-radius:2px}.block-editor-rich-text__editable [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.is-selected:not(.keep-placeholder-on-focus) [data-rich-text-placeholder]:after{display:none}figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]:before{opacity:.8}.components-popover.block-editor-rich-text__inline-format-toolbar{z-index:99998}.components-popover.block-editor-rich-text__inline-format-toolbar .components-popover__content{min-width:auto}.components-popover.block-editor-rich-text__inline-format-toolbar .components-toolbar{border:none}.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:#11a0d2;line-height:normal;box-shadow:0 0 2px 2px rgba(0,0,0,.6);text-decoration:none;outline:none;z-index:100000}body.admin-color-sunrise .block-editor-skip-to-selected-block:focus{color:#c8b03c}body.admin-color-ocean .block-editor-skip-to-selected-block:focus{color:#a89d8a}body.admin-color-midnight .block-editor-skip-to-selected-block:focus{color:#77a6b9}body.admin-color-ectoplasm .block-editor-skip-to-selected-block:focus{color:#c77430}body.admin-color-coffee .block-editor-skip-to-selected-block:focus{color:#9fa47b}body.admin-color-blue .block-editor-skip-to-selected-block:focus{color:#d9ab59}body.admin-color-light .block-editor-skip-to-selected-block:focus{color:#c75726}.block-editor-tool-selector__help{padding:16px;border-top:1px solid #e2e4e7;color:#6c7781}.block-editor-block-list__block .block-editor-url-input,.block-editor-url-input,.components-popover .block-editor-url-input{flex-grow:1;position:relative;padding:1px}.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{width:100%;padding:8px;border:none;border-radius:0;margin-left:0;margin-right:0;font-size:16px}@media (min-width:600px){.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{width:300px}}@media (min-width:600px){.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{font-size:13px}}.block-editor-block-list__block .block-editor-url-input input[type=text]::-ms-clear,.block-editor-url-input input[type=text]::-ms-clear,.components-popover .block-editor-url-input input[type=text]::-ms-clear{display:none}.block-editor-block-list__block .block-editor-url-input.has-border input[type=text],.block-editor-url-input.has-border input[type=text],.components-popover .block-editor-url-input.has-border input[type=text]{border:1px solid #555d66;border-radius:4px}.block-editor-block-list__block .block-editor-url-input.is-full-width,.block-editor-url-input.is-full-width,.components-popover .block-editor-url-input.is-full-width{width:100%}.block-editor-block-list__block .block-editor-url-input.is-full-width input[type=text],.block-editor-url-input.is-full-width input[type=text],.components-popover .block-editor-url-input.is-full-width input[type=text]{width:100%}.block-editor-block-list__block .block-editor-url-input.is-full-width__suggestions,.block-editor-url-input.is-full-width__suggestions,.components-popover .block-editor-url-input.is-full-width__suggestions{width:100%}.block-editor-block-list__block .block-editor-url-input .components-spinner,.block-editor-url-input .components-spinner,.components-popover .block-editor-url-input .components-spinner{position:absolute;right:8px;bottom:17px;margin:0}.block-editor-url-input__suggestions{max-height:200px;transition:all .15s ease-in-out;padding:4px 0;width:302px;overflow-y:auto}@media (prefers-reduced-motion:reduce){.block-editor-url-input__suggestions{transition-duration:0s}}.block-editor-url-input .components-spinner,.block-editor-url-input__suggestions{display:none}@media (min-width:600px){.block-editor-url-input .components-spinner,.block-editor-url-input__suggestions{display:inherit}}.block-editor-url-input__suggestion{padding:4px 8px;color:#6c7781;display:block;font-size:13px;cursor:pointer;background:#fff;width:100%;text-align:left;border:none;box-shadow:none}.block-editor-url-input__suggestion:hover{background:#e2e4e7}.block-editor-url-input__suggestion.is-selected,.block-editor-url-input__suggestion:focus{background:#00719e;color:#fff;outline:none}body.admin-color-sunrise .block-editor-url-input__suggestion.is-selected,body.admin-color-sunrise .block-editor-url-input__suggestion:focus{background:#b2723f}body.admin-color-ocean .block-editor-url-input__suggestion.is-selected,body.admin-color-ocean .block-editor-url-input__suggestion:focus{background:#8b9d8a}body.admin-color-midnight .block-editor-url-input__suggestion.is-selected,body.admin-color-midnight .block-editor-url-input__suggestion:focus{background:#bf4139}body.admin-color-ectoplasm .block-editor-url-input__suggestion.is-selected,body.admin-color-ectoplasm .block-editor-url-input__suggestion:focus{background:#8e9b49}body.admin-color-coffee .block-editor-url-input__suggestion.is-selected,body.admin-color-coffee .block-editor-url-input__suggestion:focus{background:#a58d77}body.admin-color-blue .block-editor-url-input__suggestion.is-selected,body.admin-color-blue .block-editor-url-input__suggestion:focus{background:#6f99ad}body.admin-color-light .block-editor-url-input__suggestion.is-selected,body.admin-color-light .block-editor-url-input__suggestion:focus{background:#00719e}.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:#e2e4e7}.block-editor-url-input__button-modal{box-shadow:0 3px 30px rgba(25,30,35,.1);border:1px solid #e2e4e7;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 #e2e4e7}.block-editor-url-popover__additional-controls>div[role=menu] .components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default)>svg{box-shadow:none}.block-editor-url-popover__additional-controls div[role=menu]>.components-icon-button{padding-left:2px}.block-editor-url-popover__row{display:flex}.block-editor-url-popover__row>:not(.block-editor-url-popover__settings-toggle){flex-grow:1}.block-editor-url-popover .components-icon-button{padding:3px}.block-editor-url-popover .components-icon-button>svg{padding:5px;border-radius:4px;height:30px;width:30px}.block-editor-url-popover .components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{box-shadow:none}.block-editor-url-popover .components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover>svg{color:#555d66;box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff}.block-editor-url-popover .components-icon-button:not(:disabled):focus{box-shadow:none}.block-editor-url-popover .components-icon-button:not(:disabled):focus>svg{box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff;outline:2px solid transparent}.block-editor-url-popover__settings-toggle{flex-shrink:0;border-radius:0;border-left:1px solid #e2e4e7;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 #e2e4e7}.block-editor-url-popover__link-editor,.block-editor-url-popover__link-viewer{display:flex}.block-editor-url-popover__link-editor .block-editor-url-input .components-base-control__field,.block-editor-url-popover__link-viewer .block-editor-url-input .components-base-control__field{margin-bottom:0}.block-editor-url-popover__link-editor .block-editor-url-input .components-spinner,.block-editor-url-popover__link-viewer .block-editor-url-input .components-spinner{bottom:9px}.block-editor-url-popover__link-viewer-url{margin:7px;flex-grow:1;flex-shrink:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:150px;max-width:500px}.block-editor-url-popover__link-viewer-url.has-invalid-link{color:#d94f4f}.block-editor-warning{display:flex;flex-direction:row;justify-content:space-between;flex-wrap:nowrap;background-color:#fff;border:1px solid #e2e4e7;text-align:left;padding:10px 14px 14px}.is-selected .block-editor-warning{border-color:rgba(66,88,99,.4)}@media (min-width:600px){.is-selected .block-editor-warning{border-left-color:transparent}}.is-dark-theme .is-selected .block-editor-warning{border-color:hsla(0,0%,100%,.45)}.block-editor-warning .block-editor-warning__message{line-height:1.4;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;margin:1em 0}.block-editor-warning p.block-editor-warning__message.block-editor-warning__message{min-height:auto}.block-editor-warning .block-editor-warning__contents{display:flex;flex-direction:row;justify-content:space-between;flex-wrap:wrap;align-items:baseline;width:100%}.block-editor-warning .block-editor-warning__actions{display:flex}.block-editor-warning .block-editor-warning__action{margin:0 6px 0 0}.block-editor-warning__secondary{margin:5px 0 0 -4px;height:36px}.block-editor-warning__secondary .components-icon-button{width:auto;padding:8px 2px}@media (min-width:600px){.block-editor-warning__secondary{margin-left:4px}.block-editor-warning__secondary .components-icon-button{padding:8px 4px}}.block-editor-warning__secondary .components-button svg{transform:rotate(90deg)}.block-editor-writing-flow{display:flex;flex-direction:column}.block-editor-writing-flow__click-redirect{cursor:text}.html-anchor-control .components-external-link{display:block;margin-top:8px} \ No newline at end of file + /*!rtl:end:ignore*/}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full],.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]{clear:both}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit{margin-left:-14px;margin-right:-14px}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit{margin-left:-58px;margin-right:-58px}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit:before{left:0;right:0;border-left-width:0;border-right-width:0}.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-drop-zone{top:-4px;bottom:-3px;margin:0 14px}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-block-list__empty-block-inserter,.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}.block-editor-block-list .block-editor-inserter{margin:8px;cursor:move;cursor:grab}.block-editor-block-list__insertion-point{position:relative;z-index:6;margin-top:-14px}.block-editor-block-list__insertion-point-indicator{position:absolute;top:calc(50% - 1px);height:2px;left:0;right:0;background:#0085ba}body.admin-color-sunrise .block-editor-block-list__insertion-point-indicator{background:#d1864a}body.admin-color-ocean .block-editor-block-list__insertion-point-indicator{background:#a3b9a2}body.admin-color-midnight .block-editor-block-list__insertion-point-indicator{background:#e14d43}body.admin-color-ectoplasm .block-editor-block-list__insertion-point-indicator{background:#a7b656}body.admin-color-coffee .block-editor-block-list__insertion-point-indicator{background:#c2a68c}body.admin-color-blue .block-editor-block-list__insertion-point-indicator{background:#82b4cb}body.admin-color-light .block-editor-block-list__insertion-point-indicator{background:#0085ba}.block-editor-block-list__insertion-point-inserter{display:none;position:absolute;bottom:auto;left:0;right:0;justify-content:center;height:22px;opacity:0;transition:opacity .1s linear}@media (min-width:480px){.block-editor-block-list__insertion-point-inserter{display:flex}}.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle{border-radius:50%;color:#007cba;background:#fff;height:28px;width:28px;padding:4px}.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled=true]):hover{box-shadow:none}@media (prefers-reduced-motion:reduce){.block-editor-block-list__insertion-point-inserter{transition-duration:0s}}.block-editor-block-list__insertion-point-inserter.is-visible,.block-editor-block-list__insertion-point-inserter:hover{opacity:1}.edit-post-layout:not(.has-fixed-toolbar) .is-focused>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter,.edit-post-layout:not(.has-fixed-toolbar) .is-selected>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter{opacity:0;pointer-events:none}.edit-post-layout:not(.has-fixed-toolbar) .is-focused>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter.is-visible,.edit-post-layout:not(.has-fixed-toolbar) .is-focused>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter:hover,.edit-post-layout:not(.has-fixed-toolbar) .is-selected>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter.is-visible,.edit-post-layout:not(.has-fixed-toolbar) .is-selected>.block-editor-block-list__insertion-point>.block-editor-block-list__insertion-point-inserter:hover{opacity:1;pointer-events:auto}.block-editor-block-list__block>.block-editor-block-list__insertion-point{position:absolute;top:-16px;height:28px;bottom:auto;left:14px;right:14px}.block-editor-block-list__block[data-align=full]>.block-editor-block-list__insertion-point{left:0;right:0}.block-editor-block-list__block .block-editor-block-list__block-html-textarea{display:block;margin:0;width:100%;border:none;outline:none;box-shadow:none;resize:none;overflow:hidden;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;line-height:150%;transition:padding .2s linear}@media (prefers-reduced-motion:reduce){.block-editor-block-list__block .block-editor-block-list__block-html-textarea{transition-duration:0s}}.block-editor-block-list__block .block-editor-block-list__block-html-textarea:focus{box-shadow:none}.block-editor-block-contextual-toolbar .block-editor-block-toolbar{width:100%}@media (min-width:600px){.block-editor-block-contextual-toolbar .block-editor-block-toolbar{width:auto;border-right:none}}.block-editor-block-list__breadcrumb{display:block;line-height:1;z-index:22}.block-editor-block-list__breadcrumb .components-toolbar{display:flex;background:#fff;border:1px solid #007cba;border-left:none;box-shadow:inset 3px 0 0 0 #007cba;height:38px;font-size:13px;line-height:29px;padding-left:8px;padding-right:8px}.block-editor-block-list__breadcrumb .components-toolbar .components-button{box-shadow:none}.is-dark-theme .block-editor-block-list__breadcrumb .components-toolbar{border-color:hsla(0,0%,100%,.45)}@media (min-width:600px){.block-editor-block-list__breadcrumb .components-toolbar{box-shadow:-3px 0 0 0 #007cba}}@media (min-width:600px){.block-editor-block-list__block:before{bottom:0;content:"";left:-28px;position:absolute;right:-28px;top:0}.block-editor-block-list__block .block-editor-block-list__block:before{left:0;right:0}.block-editor-block-list__block[data-align=full]:before{content:none}}.block-editor-block-list__block .block-editor-warning{z-index:5;position:relative;margin-right:-14px;margin-left:-14px;margin-bottom:-14px;transform:translateY(-14px)}.block-editor-block-list__block .block-editor-warning.block-editor-block-list__block-crash-warning{margin-bottom:auto}.components-popover.block-editor-block-list__block-popover{z-index:29}.components-popover.block-editor-block-list__block-popover .components-popover__content{margin-left:0!important;min-width:auto;background:none;border:none;box-shadow:none;overflow-y:visible}.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__breadcrumb{margin-bottom:13px;margin-left:-14px}.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-contextual-toolbar[data-align=full]{margin-left:0}.is-dragging-components-draggable .components-popover.block-editor-block-list__block-popover{opacity:0}.block-editor-block-list__block .block-list-appender{margin:14px 0}.has-background .block-editor-block-list__block .block-list-appender{margin:32px 14px}.block-list-appender>.block-editor-inserter{display:block}.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:"\2192"}.block-editor-block-breadcrumb__button.components-button{height:24px;line-height:24px;padding:0}.block-editor-block-breadcrumb__button.components-button:hover{text-decoration:underline}.block-editor-block-breadcrumb__button.components-button:focus{color:#191e23;outline-offset:-1px;outline:1px dotted #555d66;outline-offset:-2px;box-shadow:none}.block-editor-block-breadcrumb__current{cursor:default}.block-editor-block-breadcrumb__button.components-button,.block-editor-block-breadcrumb__current{color:#555d66;padding:0 8px;font-size:inherit}.block-editor-block-card{display:flex;align-items:flex-start}.block-editor-block-card__icon{border:1px solid #ccd0d4;padding:7px;margin-right:10px;height:36px;width:36px}.block-editor-block-card__content{flex-grow:1}.block-editor-block-card__title{font-weight:500;margin-bottom:5px}.block-editor-block-card__description{font-size:13px}.block-editor-block-card .block-editor-block-icon{margin-left:-2px;margin-right:10px;padding:0 3px;width:36px;height:24px}.block-editor-block-compare{overflow:auto;height:auto}@media (min-width:600px){.block-editor-block-compare{max-height:70%}}.block-editor-block-compare__wrapper{display:flex;padding-bottom:16px}.block-editor-block-compare__wrapper>div{display:flex;justify-content:space-between;flex-direction:column;width:50%;padding:0 16px 0 0;min-width:200px}.block-editor-block-compare__wrapper>div button{float:right}.block-editor-block-compare__wrapper .block-editor-block-compare__converted{border-left:1px solid #ddd;padding-left:15px;padding-right:0}.block-editor-block-compare__wrapper .block-editor-block-compare__html{font-family:Menlo,Consolas,monaco,monospace;font-size:12px;color:#23282d;border-bottom:1px solid #ddd;padding-bottom:15px;line-height:1.7}.block-editor-block-compare__wrapper .block-editor-block-compare__html span{background-color:#e6ffed;padding-top:3px;padding-bottom:3px}.block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__added{background-color:#acf2bd}.block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__removed{background-color:#d94f4f}.block-editor-block-compare__wrapper .block-editor-block-compare__preview{padding:14px 0 0}.block-editor-block-compare__wrapper .block-editor-block-compare__preview p{font-size:12px;margin-top:0}.block-editor-block-compare__wrapper .block-editor-block-compare__action{margin-top:14px}.block-editor-block-compare__wrapper .block-editor-block-compare__heading{font-size:1em;font-weight:400;margin:.67em 0}.block-editor-block-mobile-toolbar{display:flex;flex-direction:row;border-right:1px solid #e2e4e7}.block-editor-block-mobile-toolbar .block-editor-block-mover__control{width:36px;height:36px;border-radius:4px;padding:3px;margin:0;justify-content:center;align-items:center}.block-editor-block-mobile-toolbar .block-editor-block-mover__control .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__control{float:left}@media (min-width:600px){.block-editor-block-contextual-toolbar:not([data-align=wide]):not([data-align=full]) .block-editor-block-mover:not(.is-horizontal){display:block;position:absolute;top:37px;left:-38px;opacity:0;background:#fff;border:1px solid rgba(66,88,99,.4);border-radius:4px;transition:box-shadow .2s ease-out}}@media (min-width:600px) and (prefers-reduced-motion:reduce){.block-editor-block-contextual-toolbar:not([data-align=wide]):not([data-align=full]) .block-editor-block-mover:not(.is-horizontal){transition-duration:0s}}@media (min-width:600px){.block-editor-block-contextual-toolbar:not([data-align=wide]):not([data-align=full]) .block-editor-block-mover:not(.is-horizontal).is-visible{animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}}@media (min-width:600px) and (prefers-reduced-motion:reduce){.block-editor-block-contextual-toolbar:not([data-align=wide]):not([data-align=full]) .block-editor-block-mover:not(.is-horizontal).is-visible{animation-duration:1ms}}@media (min-width:600px){.block-editor-block-contextual-toolbar:not([data-align=wide]):not([data-align=full]) .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover__control{display:flex;align-items:center;justify-content:center;padding:0;border:none;width:28px;height:24px;color:rgba(14,28,46,.62)}.block-editor-block-contextual-toolbar:not([data-align=wide]):not([data-align=full]) .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover__control svg{width:28px;height:24px;padding:2px 5px}.block-editor-block-contextual-toolbar:not([data-align=wide]):not([data-align=full]) .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover__control[aria-disabled=true]{cursor:default;pointer-events:none;color:rgba(14,28,46,.62)}.block-editor-block-contextual-toolbar:not([data-align=wide]):not([data-align=full]) .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover__control:focus:not(:disabled){background-color:transparent}}@media (min-width:600px){.block-editor-block-list__block:not([data-align=wide]):not([data-align=full]) .block-editor-block-mover:not(.is-horizontal){margin-top:0}}.block-editor-block-mover__control-drag-handle{cursor:move;cursor:grab;fill:currentColor}.block-editor-block-mover__control-drag-handle,.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-secondary):active,.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-secondary):focus,.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover{box-shadow:none;background:none;color:rgba(10,24,41,.7)}.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-secondary):active{cursor:grabbing}.block-editor-block-mover__description{display:none}.block-editor-block-navigation__container{padding:7px}.block-editor-block-navigation__label{margin:0 0 8px;color:#6c7781}.block-editor-block-navigation__list,.block-editor-block-navigation__paragraph{padding:0;margin:0}.block-editor-block-navigation__list .block-editor-button-block-appender{outline:none;background:none;padding:8px;margin-left:.8em;width:36px;border-radius:4px}.block-editor-block-navigation__list .block-editor-button-block-appender:hover:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;background:#f3f4f5;outline:none}.block-editor-block-navigation__list .block-editor-button-block-appender:focus:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.block-editor-block-navigation__list .block-editor-block-navigation__list{margin-top:2px;border-left:2px solid #a2aab2;margin-left:1em}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__list{margin-left:1.5em}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item{position:relative}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item:before{position:absolute;left:0;background:#a2aab2;width:.5em;height:2px;content:"";top:calc(50% - 1px)}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item-button{margin-left:.8em;width:calc(100% - .8em)}.block-editor-block-navigation__list .block-editor-block-navigation__list>li:last-child{position:relative}.block-editor-block-navigation__list .block-editor-block-navigation__list>li:last-child:after{position:absolute;content:"";background:#fff;top:19px;bottom:0;left:-2px;width:2px}.block-editor-block-navigation__item-button{display:flex;align-items:center;width:100%;padding:6px;text-align:left;color:#40464d;border-radius:4px}.block-editor-block-navigation__item-button .block-editor-block-icon{margin-right:6px}.block-editor-block-navigation__item-button:hover:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;background:#f3f4f5}.block-editor-block-navigation__item-button:focus:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.block-editor-block-navigation__item-button.is-selected,.block-editor-block-navigation__item-button.is-selected:focus{color:#32373c;background:#edeff0}.components-popover.block-editor-block-navigation__popover{z-index:99998}.block-editor-block-pattern-picker .components-placeholder__instructions{margin-bottom:0}.block-editor-block-pattern-picker .components-placeholder__fieldset{flex-direction:column}.block-editor-block-pattern-picker.has-many-patterns .components-placeholder__fieldset{max-width:90%}.block-editor-block-pattern-picker__patterns.block-editor-block-pattern-picker__patterns{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-pattern-picker__patterns.block-editor-block-pattern-picker__patterns>li{list-style:none;margin:0 8px 0 0;flex-shrink:1;max-width:100px}.block-editor-block-pattern-picker__patterns.block-editor-block-pattern-picker__patterns .block-editor-block-pattern-picker__pattern{padding:8px}.block-editor-block-pattern-picker__pattern{width:100%}.block-editor-block-pattern-picker__pattern.components-button.has-icon{justify-content:center}.block-editor-block-pattern-picker__pattern.components-button.has-icon.is-secondary{background-color:#fff}.block-editor-block-pattern-picker__pattern.components-button{height:auto;padding:0}.block-editor-block-pattern-picker__pattern:before{content:"";padding-bottom:100%}.block-editor-block-pattern-picker__pattern:first-child{margin-left:0}.block-editor-block-pattern-picker__pattern:last-child{margin-right:0}.block-editor-block-preview__container{position:relative;width:100%;overflow:hidden}.block-editor-block-preview__container.is-ready{overflow:visible}.block-editor-block-preview__content{position:absolute;top:0;left:0;transform-origin:top left;text-align:initial;margin:0;overflow:visible;min-height:auto}.block-editor-block-preview__content .block-editor-block-list__block,.block-editor-block-preview__content .block-editor-block-list__layout{padding:0}.block-editor-block-preview__content .block-editor-block-list__block-edit [data-block]{margin:0}.block-editor-block-preview__content>div section{height:auto}.block-editor-block-preview__content .block-editor-block-drop-zone,.block-editor-block-preview__content .block-editor-block-list__insertion-point,.block-editor-block-preview__content .block-list-appender,.block-editor-block-preview__content .reusable-block-indicator{display:none}.block-editor-block-settings-menu .components-dropdown-menu__toggle .dashicon{transform:rotate(90deg)}.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:4px;padding:calc(37.5% - 6px) 6px 6px}.block-editor-block-styles__item:focus{color:#191e23;box-shadow:0 0 0 1px #fff,0 0 0 3px #00a0d2;outline:2px solid transparent}.block-editor-block-styles__item:hover{background:#f3f4f5;color:#191e23}.block-editor-block-styles__item.is-active{color:#191e23;box-shadow:inset 0 0 0 2px #555d66;outline:2px solid transparent;outline-offset:-2px}.block-editor-block-styles__item.is-active:focus{color:#191e23;box-shadow:0 0 0 1px #fff,0 0 0 3px #00a0d2,inset 0 0 0 2px #555d66;outline:4px solid transparent;outline-offset:-4px}.block-editor-block-styles__item-preview{outline:1px solid transparent;border:1px solid rgba(25,30,35,.2);border-radius:4px;display:flex;overflow:hidden;background:#fff;padding:75% 0 0;margin-top:-75%}.block-editor-block-styles__item-preview .block-editor-block-preview__container{padding-top:0;margin:-75% 0 0}.block-editor-block-styles__item-label{text-align:center;padding:4px 2px}.block-editor-block-switcher{position:relative;height:36px}.components-button.block-editor-block-switcher__no-switcher-icon,.components-button.block-editor-block-switcher__toggle{margin:0;display:block;height:36px;padding:3px}.components-button.block-editor-block-switcher__no-switcher-icon{width:48px}.components-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-icon{margin-right:auto;margin-left:auto}.components-button.block-editor-block-switcher__no-switcher-icon:disabled{border-radius:0;opacity:.84}.components-button.block-editor-block-switcher__no-switcher-icon:disabled .block-editor-block-icon.has-colors{color:#555d66!important;background:#f3f4f5!important}.components-button.block-editor-block-switcher__toggle{width:auto}.components-button.block-editor-block-switcher__toggle:active,.components-button.block-editor-block-switcher__toggle:not(:disabled):not([aria-disabled=true]):hover,.components-button.block-editor-block-switcher__toggle:not([aria-disabled=true]):focus{outline:none;box-shadow:none;background:none;border:none}.components-button.block-editor-block-switcher__toggle .block-editor-block-icon,.components-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{width:42px;height:30px;position:relative;margin:0 auto;padding:3px;display:flex;align-items:center;transition:all .1s cubic-bezier(.165,.84,.44,1)}@media (prefers-reduced-motion:reduce){.components-button.block-editor-block-switcher__toggle .block-editor-block-icon,.components-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{transition-duration:0s}}.components-button.block-editor-block-switcher__toggle .block-editor-block-icon:after{content:"";pointer-events:none;display:block;width:0;height:0;border-left:3px solid transparent;border-right:3px solid transparent;border-top:5px solid;margin-left:4px;margin-right:2px}.components-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{margin-top:6px;border-radius:4px}.components-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-icon,.components-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-switcher__transform,.components-button.block-editor-block-switcher__toggle:not(:disabled):hover .block-editor-block-icon,.components-button.block-editor-block-switcher__toggle:not(:disabled):hover .block-editor-block-switcher__transform,.components-button.block-editor-block-switcher__toggle[aria-expanded=true] .block-editor-block-icon,.components-button.block-editor-block-switcher__toggle[aria-expanded=true] .block-editor-block-switcher__transform{transform:translateY(-36px)}.components-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-icon,.components-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-switcher__transform{box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff;outline:2px solid transparent}.components-popover.block-editor-block-switcher__popover .components-popover__content{min-width:300px;max-width:680px;display:flex;background:#fff;box-shadow:0 3px 30px rgba(25,30,35,.1)}.block-editor-block-switcher__popover .components-popover__content .block-editor-block-switcher__container{min-width:300px;max-width:340px;width:50%}@media (min-width:782px){.block-editor-block-switcher__popover .components-popover__content{position:relative}.block-editor-block-switcher__popover .components-popover__content .block-editor-block-switcher__preview{border-left:1px solid #e2e4e7;box-shadow:0 3px 30px rgba(25,30,35,.1);background:#fff;width:300px;height:auto;position:-webkit-sticky;position:sticky;-ms-grid-row-align:stretch;align-self:stretch;top:0;padding:10px}}.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 #e2e4e7}.block-editor-block-switcher__popover .block-editor-block-styles{margin:0 -3px}.block-editor-block-switcher__popover .block-editor-block-types-list{margin:8px -8px -8px}.block-editor-block-switcher__preview-title{margin-bottom:10px;color:#6c7781}.block-editor-block-toolbar{display:flex;flex-grow:1;width:100%;overflow:auto;position:relative;border-left:1px solid #b5bcc2;transition:border-color .1s linear,box-shadow .1s linear}@media (prefers-reduced-motion:reduce){.block-editor-block-toolbar{transition-duration:0s}}@media (min-width:600px){.block-editor-block-toolbar{overflow:inherit;border-left:none;box-shadow:-3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-toolbar{box-shadow:-3px 0 0 0 #d7dade}}.block-editor-block-toolbar .components-toolbar{border:0;border-top:1px solid #b5bcc2;border-bottom:1px solid #b5bcc2;border-right:1px solid #b5bcc2;line-height:0}.has-fixed-toolbar .block-editor-block-toolbar{box-shadow:none;border-left:1px solid #e2e4e7}.has-fixed-toolbar .block-editor-block-toolbar .components-toolbar{border-color:#e2e4e7}.block-editor-block-toolbar__slot{display:inline-block;line-height:0}@supports ((position:-webkit-sticky) or (position:sticky)){.block-editor-block-toolbar__slot{display:inline-flex}}.block-editor-block-types-list{list-style:none;padding:4px;margin-left:-4px;margin-right:-4px;overflow:hidden;display:flex;flex-wrap:wrap}.block-editor-button-block-appender{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:14px;outline:1px dashed #8d96a0;width:100%;height:auto;color:#555d66;background:rgba(237,239,240,.8)}.block-editor-button-block-appender:focus,.block-editor-button-block-appender:hover{outline:1px dashed #555d66;color:#191e23}.block-editor-button-block-appender:active{outline:1px dashed #191e23;color:#191e23}.is-dark-theme .block-editor-button-block-appender{background:rgba(50,55,60,.7);color:#f8f9f9}.is-dark-theme .block-editor-button-block-appender:focus,.is-dark-theme .block-editor-button-block-appender:hover{outline:1px dashed #fff}.block-editor-color-gradient-control__button-tabs{display:block}.block-editor-panel-color-gradient-settings .component-color-indicator{vertical-align:text-bottom}.block-editor-panel-color-gradient-settings__panel-title .component-color-indicator{display:inline-block}.block-editor-panel-color-gradient-settings.is-opened .block-editor-panel-color-gradient-settings__panel-title .component-color-indicator{display:none}.block-editor-contrast-checker>.components-notice{margin:0}.block-editor-default-block-appender{clear:both;margin-left:auto;margin-right:auto;position:relative}.block-editor-default-block-appender[data-root-client-id=""] .block-editor-default-block-appender__content:hover{outline:1px solid transparent}.block-editor-default-block-appender textarea.block-editor-default-block-appender__content{font-family:"Noto Serif",serif;font-size:16px;border:none;background:none;box-shadow:none;display:block;cursor:text;width:100%;outline:1px solid transparent;transition:outline .2s;resize:none;margin-top:28px;margin-bottom:28px;padding:0 50px 0 14px;color:rgba(14,28,46,.62)}@media (prefers-reduced-motion:reduce){.block-editor-default-block-appender textarea.block-editor-default-block-appender__content{transition-duration:0s}}.is-dark-theme .block-editor-default-block-appender textarea.block-editor-default-block-appender__content{color:hsla(0,0%,100%,.65)}.block-editor-default-block-appender .components-drop-zone__content-icon{display:none}.block-editor-default-block-appender__content{min-height:28px;line-height:1.8}.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter{position:absolute;top:0}.block-editor-block-list__empty-block-inserter .components-button.has-icon,.block-editor-default-block-appender .block-editor-inserter .components-button.has-icon{width:28px;height:28px;margin-right:12px;padding:0}.block-editor-block-list__empty-block-inserter .components-button svg,.block-editor-default-block-appender .block-editor-inserter .components-button svg{display:block;margin:auto}.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-inserter__toggle:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover,.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover{box-shadow:none}.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;align-items:center;height:100%;left:-44px;right:auto}}.block-editor-block-list__empty-block-inserter:disabled,.block-editor-default-block-appender .block-editor-inserter:disabled{display:none}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle,.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle{border-radius:50%;width:28px;height:28px;padding:0}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:hover),.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:hover){color:rgba(10,24,41,.7)}.is-dark-theme .block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:hover),.is-dark-theme .block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:hover){color:hsla(0,0%,100%,.75)}.block-editor-link-control__search{position:relative;min-width:360px}.block-editor-link-control__search .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]{width:calc(100% - 32px);display:block;margin:16px;padding:11px 38px 11px 16px;position:relative;z-index:1;border:1px solid #e1e1e1;border-radius:4px;font-size:16px}@media (min-width:600px){.block-editor-link-control__search .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]{font-size:13px}}.block-editor-link-control__search .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]:focus{color:#191e23;border-color:#007cba;box-shadow:0 0 0 1px #007cba;outline:2px solid transparent}.block-editor-link-control__search-reset{position:absolute;top:19px;right:19px;z-index:10}.block-editor-link-control__search-results-wrapper{position:relative;margin-top:-15px}.block-editor-link-control__search-results-wrapper:after,.block-editor-link-control__search-results-wrapper:before{content:"";position:absolute;left:-1px;right:16px;display:block;pointer-events:none;z-index:100}.block-editor-link-control__search-results-wrapper:before{height:8px;top:0;bottom:auto;background:linear-gradient(180deg,#fff 0,hsla(0,0%,100%,0))}.block-editor-link-control__search-results-wrapper:after{height:16px;bottom:0;top:auto;background:linear-gradient(180deg,hsla(0,0%,100%,0) 0,#fff)}.block-editor-link-control__search-results{margin:0;padding:8px 16px 16px;max-height:200px;overflow-y:scroll}.block-editor-link-control__search-results.is-loading{opacity:.2}.block-editor-link-control__search-item{position:relative;display:flex;align-items:center;font-size:13px;cursor:pointer;background:#fff;width:100%;border:none;text-align:left;padding:10px 15px;border-radius:5px;height:auto}.block-editor-link-control__search-item:focus,.block-editor-link-control__search-item:hover{background-color:#e9e9e9}.block-editor-link-control__search-item.is-selected{background:#f2f2f2}.block-editor-link-control__search-item.is-selected .block-editor-link-control__search-item-type{background:#fff}.block-editor-link-control__search-item.is-current{background:transparent;border:0;width:100%;cursor:default;padding:16px 16px 16px 24px}.block-editor-link-control__search-item .block-editor-link-control__search-item-header{display:block;margin-right:24px}.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{text-overflow:ellipsis;max-width:230px;overflow:hidden;white-space:nowrap}.block-editor-link-control__search-item .block-editor-link-control__search-item-title{display:block;margin-bottom:.2em;font-weight:500}.block-editor-link-control__search-item .block-editor-link-control__search-item-title mark{font-weight:700;color:#000;background-color:transparent}.block-editor-link-control__search-item .block-editor-link-control__search-item-title span{font-weight:400}.block-editor-link-control__search-item .block-editor-link-control__search-item-info{display:block;color:#999;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:#f3f4f5;border-radius:2px}.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 #e1e1e1;margin:0;padding:16px 24px}.block-editor-link-control__settings :last-child{margin-bottom:0}.block-editor-link-control__setting{margin-bottom:16px}.block-editor-link-control__setting :last-child{margin-bottom:0}.block-editor-link-control .block-editor-link-control__search-input .components-spinner{display:block;z-index:100;float:none}.block-editor-link-control .block-editor-link-control__search-input .components-spinner.components-spinner{position:absolute;top:27px;left:auto;right:60px;bottom:0}.block-editor-link-control__search-item-action{margin-left:auto;flex-shrink:0}.block-editor-inner-blocks.has-overlay:after{content:"";position:absolute;top:-14px;right:-14px;bottom:-14px;left:-14px;z-index:60}[data-align=full]>.block-editor-block-list__block-edit>[data-block] .has-overlay:after{right:0;left:0}.block-editor-inserter{display:inline-block;background:none;border:none;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:1.4}@media (min-width:782px){.block-editor-inserter{position:relative}}@media (min-width:782px){.block-editor-inserter__popover>.components-popover__content{overflow-y:visible;height:432px}}.block-editor-inserter__toggle{display:inline-flex;align-items:center;color:#555d66;background:none;cursor:pointer;border:none;outline:none;transition:color .2s ease}@media (prefers-reduced-motion:reduce){.block-editor-inserter__toggle{transition-duration:0s}}.block-editor-inserter__menu{height:100%;display:flex;width:auto}@media (min-width:782px){.block-editor-inserter__menu{width:400px;position:relative}.block-editor-inserter__menu.has-help-panel{width:700px}}.block-editor-inserter__main-area{width:auto;display:flex;flex-direction:column;height:100%}@media (min-width:782px){.block-editor-inserter__main-area{width:400px;position:relative}}.block-editor-inserter__inline-elements{margin-top:-1px}.block-editor-inserter__menu.is-bottom:after{border-bottom-color:#fff}.components-popover.block-editor-inserter__popover{z-index:99998}.components-popover input[type=search].block-editor-inserter__search{display:block;margin:16px;padding:11px 16px;position:relative;z-index:1;border-radius:4px;font-size:16px}@media (min-width:600px){.components-popover input[type=search].block-editor-inserter__search{font-size:13px}}.components-popover input[type=search].block-editor-inserter__search:focus{color:#191e23;border-color:#007cba;box-shadow:0 0 0 1px #007cba;outline:2px solid transparent}.block-editor-inserter__results{flex-grow:1;overflow:auto;position:relative;z-index:1;padding:0 16px 16px}.block-editor-inserter__results:focus{outline:1px dotted #555d66}@media (min-width:782px){.block-editor-inserter__results{height:394px}}.block-editor-inserter__results [role=presentation]+.components-panel__body{border-top:none}.block-editor-inserter__popover .block-editor-block-types-list{margin:0 -8px}.block-editor-inserter__reusable-blocks-panel{position:relative;text-align:right}.block-editor-inserter__manage-reusable-blocks{margin:16px 0 0 16px}.block-editor-inserter__no-results{font-style:italic;padding:24px;text-align:center}.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__menu-help-panel{display:none;border-left:1px solid #e2e4e7;width:300px;height:100%;padding:20px;overflow-y:auto}@media (min-width:782px){.block-editor-inserter__menu-help-panel{display:flex;flex-direction:column}}.block-editor-inserter__menu-help-panel .block-editor-block-card{padding-bottom:20px;margin-bottom:20px;border-bottom:1px solid #e2e4e7;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-inserter__menu-help-panel .block-editor-block-card{animation-duration:1ms}}.block-editor-inserter__menu-help-panel .block-editor-inserter__preview{display:flex;flex-grow:2}.block-editor-inserter__menu-help-panel-no-block{display:flex;height:100%;flex-direction:column;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-inserter__menu-help-panel-no-block{animation-duration:1ms}}.block-editor-inserter__menu-help-panel-no-block .block-editor-inserter__menu-help-panel-no-block-text{flex-grow:1}.block-editor-inserter__menu-help-panel-no-block .block-editor-inserter__menu-help-panel-no-block-text h4{font-size:18px}.block-editor-inserter__menu-help-panel-no-block .components-notice{margin:0}.block-editor-inserter__menu-help-panel-no-block h4{margin-top:0}.block-editor-inserter__menu-help-panel-hover-area{flex-grow:1;margin-top:20px;padding:20px;border:1px dotted #e2e4e7;display:flex;align-items:center;text-align:center}.block-editor-inserter__menu-help-panel-title{font-size:18px;font-weight:600;margin-bottom:20px}.block-editor-inserter__preview-content{border:1px solid #e2e4e7;border-radius:4px;min-height:150px;display:-ms-grid;display:grid;flex-grow:2}.block-editor-inserter__preview-content .block-editor-block-preview__container{margin-right:0;margin-left:0;padding:10px}.block-editor-inserter__preview-content-missing{flex:1;display:flex;justify-content:center;color:#606a73;border:1px solid #e2e4e7;border-radius:4px;align-items:center}.block-editor-block-types-list__list-item{display:block;width:33.33%;padding:0;margin:0 0 12px}.components-button.block-editor-block-types-list__item{display:flex;flex-direction:column;width:100%;font-size:13px;color:#32373c;padding:0 4px;align-items:stretch;justify-content:center;cursor:pointer;background:transparent;word-break:break-word;border-radius:4px;border:1px solid transparent;transition:all .05s ease-in-out;position:relative;height:auto}@media (prefers-reduced-motion:reduce){.components-button.block-editor-block-types-list__item{transition-duration:0s}}.components-button.block-editor-block-types-list__item:disabled{opacity:.6;cursor:default}.components-button.block-editor-block-types-list__item:not(:disabled):hover:before{content:"";display:block;background:#f3f4f5;color:#191e23;position:absolute;z-index:-1;border-radius:4px;top:0;right:0;bottom:0;left:0}.components-button.block-editor-block-types-list__item:not(:disabled):hover .block-editor-block-types-list__item-icon,.components-button.block-editor-block-types-list__item:not(:disabled):hover .block-editor-block-types-list__item-title{color:inherit}.components-button.block-editor-block-types-list__item:not(:disabled):active,.components-button.block-editor-block-types-list__item:not(:disabled):focus{position:relative;color:#191e23;box-shadow:0 0 0 1px #fff,0 0 0 3px #00a0d2;outline:2px solid transparent;background:transparent}.components-button.block-editor-block-types-list__item:not(:disabled):active .block-editor-block-types-list__item-icon,.components-button.block-editor-block-types-list__item:not(:disabled):active .block-editor-block-types-list__item-title,.components-button.block-editor-block-types-list__item:not(:disabled):focus .block-editor-block-types-list__item-icon,.components-button.block-editor-block-types-list__item:not(:disabled):focus .block-editor-block-types-list__item-title{color:inherit}.components-button.block-editor-block-types-list__item:not(:disabled).is-active{color:#191e23;box-shadow:inset 0 0 0 2px #555d66;outline:2px solid transparent;outline-offset:-2px}.components-button.block-editor-block-types-list__item:not(:disabled).is-active:focus{color:#191e23;box-shadow:0 0 0 1px #fff,0 0 0 3px #00a0d2,inset 0 0 0 2px #555d66;outline:4px solid transparent;outline-offset:-4px}.block-editor-block-types-list__item-icon{padding:12px 20px;border-radius:4px;color:#555d66;transition:all .05s ease-in-out}@media (prefers-reduced-motion:reduce){.block-editor-block-types-list__item-icon{transition-duration:0s}}.block-editor-block-types-list__item-icon .block-editor-block-icon{margin-left:auto;margin-right:auto}.block-editor-block-types-list__item-icon svg{transition:all .15s ease-out}@media (prefers-reduced-motion:reduce){.block-editor-block-types-list__item-icon svg{transition-duration:0s}}.block-editor-block-types-list__item-title{padding:4px 2px 8px}.modal-open .block-editor-media-replace-flow__options{display:none}.block-editor-media-replace-flow__indicator{margin-left:4px}.block-editor-media-replace-flow__indicator:after{content:"";pointer-events:none;display:block;width:0;height:0;border-left:3px solid transparent;border-right:3px solid transparent;border-top:5px solid;margin-left:4px;margin-right:2px}.block-editor-media-flow__url-input{max-width:255px;padding:0 15px 10px}.block-editor-media-flow__url-input input{max-width:180px}.block-editor-media-replace-flow__link-viewer .components-external-link__icon{display:none}.block-editor-media-replace-flow__link-viewer .components-visually-hidden{position:static}.block-editor-media-replace-flow__link-viewer .components-button{flex-shrink:0}.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__button .dashicon{vertical-align:middle;margin-bottom:3px}.block-editor-media-placeholder__button:hover{color:#23282d}.block-editor-media-placeholder__cancel-button.is-link{margin:1em;display:block}.block-editor-media-placeholder.is-appender{min-height:100px;outline:1px dashed #8d96a0}.block-editor-media-placeholder.is-appender:hover{outline:1px dashed #555d66;cursor:pointer}.is-dark-theme .block-editor-media-placeholder.is-appender:hover{outline:1px dashed #fff}.block-editor-media-placeholder.is-appender .block-editor-media-placeholder__upload-button{margin-right:4px}.block-editor-media-placeholder.is-appender .block-editor-media-placeholder__upload-button.components-button:focus,.block-editor-media-placeholder.is-appender .block-editor-media-placeholder__upload-button.components-button:hover{box-shadow:none;border:1px solid #555d66}.block-editor-multi-selection-inspector__card{display:flex;align-items:flex-start;padding:16px}.block-editor-multi-selection-inspector__card-content{flex-grow:1}.block-editor-multi-selection-inspector__card-title{font-weight:500;margin-bottom:5px}.block-editor-multi-selection-inspector__card-description{font-size:13px}.block-editor-multi-selection-inspector__card .block-editor-block-icon{margin-left:-2px;margin-right:10px;padding:0 3px;width:36px;height:24px}.block-editor .block-editor-plain-text{box-shadow:none;font-family:inherit;font-size:inherit;color:inherit;line-height:inherit;border:none;padding:0;margin:0;width:100%}.block-editor-responsive-block-control{margin-bottom:28px;border-bottom:1px solid #d7dade;padding-bottom:14px}.block-editor-responsive-block-control:last-child{padding-bottom:0;border-bottom:0}.block-editor-responsive-block-control__title{margin:0 0 .6em -3px}.block-editor-responsive-block-control__label{font-weight:600;margin-bottom:.6em;margin-left:-3px}.block-editor-responsive-block-control__inner{margin-left:-1px}.block-editor-responsive-block-control__toggle{margin-left:1px}.block-editor-responsive-block-control .components-base-control__help{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.block-editor-format-toolbar .components-dropdown-menu__toggle .components-dropdown-menu__indicator:after{margin:7px}.block-editor-rich-text__editable>p:first-child{margin-top:0}.block-editor-rich-text__editable a{color:#007fac}.block-editor-rich-text__editable code{padding:2px;border-radius:2px;color:#23282d;background:#f3f4f5;font-family:Menlo,Consolas,monaco,monospace;font-size:inherit}.block-editor-rich-text__editable:focus{outline:none}.block-editor-rich-text__editable:focus [data-rich-text-format-boundary]{border-radius:2px}.block-editor-rich-text__editable [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.is-selected:not(.keep-placeholder-on-focus) [data-rich-text-placeholder]:after{display:none}figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]:before{opacity:.8}.components-popover.block-editor-rich-text__inline-format-toolbar{z-index:99998}.components-popover.block-editor-rich-text__inline-format-toolbar .components-popover__content{min-width:auto;margin-bottom:6px}.components-popover.block-editor-rich-text__inline-format-toolbar .components-toolbar{border:none}.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:#11a0d2;line-height:normal;box-shadow:0 0 2px 2px rgba(0,0,0,.6);text-decoration:none;outline:none;z-index:100000}body.admin-color-sunrise .block-editor-skip-to-selected-block:focus{color:#c8b03c}body.admin-color-ocean .block-editor-skip-to-selected-block:focus{color:#a89d8a}body.admin-color-midnight .block-editor-skip-to-selected-block:focus{color:#77a6b9}body.admin-color-ectoplasm .block-editor-skip-to-selected-block:focus{color:#c77430}body.admin-color-coffee .block-editor-skip-to-selected-block:focus{color:#9fa47b}body.admin-color-blue .block-editor-skip-to-selected-block:focus{color:#d9ab59}body.admin-color-light .block-editor-skip-to-selected-block:focus{color:#c75726}.block-editor-tool-selector__help{padding:16px;border-top:1px solid #e2e4e7;color:#6c7781}.block-editor-block-list__block .block-editor-url-input,.block-editor-url-input,.components-popover .block-editor-url-input{flex-grow:1;position:relative;padding:1px}.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{width:100%;padding:8px;border:none;border-radius:0;margin-left:0;margin-right:0;font-size:16px}@media (min-width:600px){.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{width:300px}}@media (min-width:600px){.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{font-size:13px}}.block-editor-block-list__block .block-editor-url-input input[type=text]::-ms-clear,.block-editor-url-input input[type=text]::-ms-clear,.components-popover .block-editor-url-input input[type=text]::-ms-clear{display:none}.block-editor-block-list__block .block-editor-url-input.has-border input[type=text],.block-editor-url-input.has-border input[type=text],.components-popover .block-editor-url-input.has-border input[type=text]{border:1px solid #555d66;border-radius:4px}.block-editor-block-list__block .block-editor-url-input.is-full-width,.block-editor-url-input.is-full-width,.components-popover .block-editor-url-input.is-full-width{width:100%}.block-editor-block-list__block .block-editor-url-input.is-full-width input[type=text],.block-editor-url-input.is-full-width input[type=text],.components-popover .block-editor-url-input.is-full-width input[type=text]{width:100%}.block-editor-block-list__block .block-editor-url-input.is-full-width__suggestions,.block-editor-url-input.is-full-width__suggestions,.components-popover .block-editor-url-input.is-full-width__suggestions{width:100%}.block-editor-block-list__block .block-editor-url-input .components-spinner,.block-editor-url-input .components-spinner,.components-popover .block-editor-url-input .components-spinner{position:absolute;right:8px;bottom:17px;margin:0}.block-editor-url-input__suggestions{max-height:200px;transition:all .15s ease-in-out;padding:4px 0;width:302px;overflow-y:auto}@media (prefers-reduced-motion:reduce){.block-editor-url-input__suggestions{transition-duration:0s}}.block-editor-url-input .components-spinner,.block-editor-url-input__suggestions{display:none}@media (min-width:600px){.block-editor-url-input .components-spinner,.block-editor-url-input__suggestions{display:inherit}}.block-editor-url-input__suggestion{padding:4px 8px;color:#6c7781;display:block;font-size:13px;cursor:pointer;background:#fff;width:100%;text-align:left;border:none;box-shadow:none}.block-editor-url-input__suggestion:hover{background:#e2e4e7}.block-editor-url-input__suggestion.is-selected,.block-editor-url-input__suggestion:focus{background:#00719e;color:#fff;outline:none}body.admin-color-sunrise .block-editor-url-input__suggestion.is-selected,body.admin-color-sunrise .block-editor-url-input__suggestion:focus{background:#b2723f}body.admin-color-ocean .block-editor-url-input__suggestion.is-selected,body.admin-color-ocean .block-editor-url-input__suggestion:focus{background:#8b9d8a}body.admin-color-midnight .block-editor-url-input__suggestion.is-selected,body.admin-color-midnight .block-editor-url-input__suggestion:focus{background:#bf4139}body.admin-color-ectoplasm .block-editor-url-input__suggestion.is-selected,body.admin-color-ectoplasm .block-editor-url-input__suggestion:focus{background:#8e9b49}body.admin-color-coffee .block-editor-url-input__suggestion.is-selected,body.admin-color-coffee .block-editor-url-input__suggestion:focus{background:#a58d77}body.admin-color-blue .block-editor-url-input__suggestion.is-selected,body.admin-color-blue .block-editor-url-input__suggestion:focus{background:#6f99ad}body.admin-color-light .block-editor-url-input__suggestion.is-selected,body.admin-color-light .block-editor-url-input__suggestion:focus{background:#00719e}.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:#e2e4e7}.block-editor-url-input__button-modal{box-shadow:0 3px 30px rgba(25,30,35,.1);border:1px solid #e2e4e7;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 #e2e4e7}.block-editor-url-popover__additional-controls>div[role=menu] .components-button:not(:disabled):not([aria-disabled=true]):not(.is-secondary)>svg{box-shadow:none}.block-editor-url-popover__additional-controls div[role=menu]>.components-button{padding-left:2px}.block-editor-url-popover__row{display:flex}.block-editor-url-popover__row>:not(.block-editor-url-popover__settings-toggle){flex-grow:1}.block-editor-url-popover .components-button.has-icon{padding:3px}.block-editor-url-popover .components-button.has-icon>svg{padding:5px;border-radius:4px;height:30px;width:30px}.block-editor-url-popover .components-button.has-icon:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover{box-shadow:none}.block-editor-url-popover .components-button.has-icon:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover>svg{color:#555d66;box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff}.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 1px #555d66,inset 0 0 0 2px #fff;outline:2px solid transparent}.block-editor-url-popover__settings-toggle{flex-shrink:0;border-radius:0;border-left:1px solid #e2e4e7;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 #e2e4e7}.block-editor-url-popover__link-editor,.block-editor-url-popover__link-viewer{display:flex}.block-editor-url-popover__link-editor .block-editor-url-input .components-base-control__field,.block-editor-url-popover__link-viewer .block-editor-url-input .components-base-control__field{margin-bottom:0}.block-editor-url-popover__link-editor .block-editor-url-input .components-spinner,.block-editor-url-popover__link-viewer .block-editor-url-input .components-spinner{bottom:9px}.block-editor-url-popover__link-viewer-url{margin:7px;flex-grow:1;flex-shrink:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:150px;max-width:500px}.block-editor-url-popover__link-viewer-url.has-invalid-link{color:#d94f4f}.block-editor-warning{display:flex;flex-direction:row;justify-content:space-between;flex-wrap:nowrap;background-color:#fff;border:1px solid #e2e4e7;text-align:left;padding:10px 14px 14px}.is-selected .block-editor-warning{border-color:rgba(66,88,99,.4)}@media (min-width:600px){.is-selected .block-editor-warning{border-left-color:transparent}}.is-dark-theme .is-selected .block-editor-warning{border-color:hsla(0,0%,100%,.45)}.block-editor-warning .block-editor-warning__message{line-height:1.4;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;margin:1em 0}.block-editor-warning p.block-editor-warning__message.block-editor-warning__message{min-height:auto}.block-editor-warning .block-editor-warning__contents{display:flex;flex-direction:row;justify-content:space-between;flex-wrap:wrap;align-items:baseline;width:100%}.block-editor-warning .block-editor-warning__actions{display:flex}.block-editor-warning .block-editor-warning__action{margin:0 6px 0 0}.block-editor-warning__secondary{margin:5px 0 0 -4px;height:36px}.block-editor-warning__secondary .components-button.has-icon{width:auto;padding:8px 2px}@media (min-width:600px){.block-editor-warning__secondary{margin-left:4px}.block-editor-warning__secondary .components-button.has-icon{padding:8px 4px}}.block-editor-warning__secondary .components-button svg{transform:rotate(90deg)}.block-editor-writing-flow{display:flex;flex-direction:column}.block-editor-writing-flow__click-redirect{cursor:text}.html-anchor-control .components-external-link{display:block;margin-top:8px} \ 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 5d4e8990d0..2601015dac 100644 --- a/wp-includes/css/dist/block-library/editor-rtl.css +++ b/wp-includes/css/dist/block-library/editor-rtl.css @@ -4,6 +4,9 @@ /** * Breakpoints & Media Queries */ +/** + * Colors + */ /** * Often re-used variables */ @@ -93,6 +96,34 @@ div[data-type="core/button"] div[data-block] { display: table; } +.wp-block-buttons .wp-block.block-editor-block-list__block[data-type="core/button"] { + display: inline-block; + width: auto; } + +.wp-block-buttons div[data-type="core/button"] div[data-block] { + display: block; } + +.wp-block-buttons[data-align="center"] .block-editor-block-list__layout { + display: flex; + align-items: center; + flex-wrap: wrap; + justify-content: center; } + +.wp-block-buttons[data-align="right"] .block-editor-block-list__layout { + display: flex; + justify-content: flex-end; } + +.wp-block-buttons .block-list-appender { + display: inline-block !important; + margin: 0; } + +.wp-block-buttons .block-editor-block-list__layout > div:last-child { + display: inline-block; } + +.wp-block-buttons .block-editor-button-block-appender { + background: none; + outline: none; } + .block-editor .wp-block-categories ul { padding-right: 2.5em; } .block-editor .wp-block-categories ul ul { @@ -109,68 +140,36 @@ div[data-type="core/button"] div[data-block] { .wp-block-code .block-editor-plain-text:focus { box-shadow: none; } -.components-tab-button { - display: inline-flex; - align-items: flex-end; - margin: 0; - padding: 3px; - background: none; - outline: none; - color: #555d66; - cursor: pointer; - position: relative; - height: 36px; - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; - font-size: 13px; - font-weight: 500; - border: 0; } - .components-tab-button.is-active, .components-tab-button.is-active:hover { - color: #fff; } - .components-tab-button:disabled { - cursor: default; } - .components-tab-button > span { - border: 1px solid transparent; - padding: 0 6px; - box-sizing: content-box; - height: 28px; - line-height: 28px; } - .components-tab-button:hover > span, - .components-tab-button:focus > span { - color: #555d66; } - .components-tab-button:not(:disabled).is-active > span, - .components-tab-button:not(:disabled):hover > span, - .components-tab-button:not(:disabled):focus > span { - border: 1px solid #555d66; } - .components-tab-button.is-active > span, - .components-tab-button.is-active:hover > span { - background-color: #555d66; - color: #fff; } - -.wp-block-columns .editor-block-list__layout .editor-block-list__block { +.wp-block-columns .block-editor-block-list__layout .block-editor-block-list__block { max-width: none; } +.components-popover.block-editor-block-list__block-popover +.components-popover__content +.block-editor-block-contextual-toolbar[data-type="core/column"] { + margin-right: 0; } + .wp-block-columns { display: block; } - .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout { + .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout { display: flex; flex-wrap: wrap; } @media (min-width: 782px) { - .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout { + .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout { flex-wrap: nowrap; } } - .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"], - .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit, - .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit > div[data-block], - .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit .block-core-columns { + .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"], + .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"] > .block-editor-block-list__block-edit, + .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"] > .block-editor-block-list__block-edit > div[data-block], + .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"] > .block-editor-block-list__block-edit .block-core-columns { display: flex; flex-direction: column; flex: 1 1 auto; } @supports ((position: -webkit-sticky) or (position: sticky)) { - .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"], - .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit, - .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit > div[data-block], - .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit .block-core-columns { + .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"], + .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"] > .block-editor-block-list__block-edit, + .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"] > .block-editor-block-list__block-edit > div[data-block], + .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"] > .block-editor-block-list__block-edit .block-core-columns { flex: 1; } } - .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] { + .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"] { padding-right: 0; padding-left: 0; margin-right: -14px; @@ -180,29 +179,27 @@ div[data-type="core/button"] div[data-block] { overflow-wrap: break-word; flex-basis: 100%; } @media (min-width: 600px) { - .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] { + .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"] { flex-basis: calc(50% - (16px)); flex-grow: 0; margin-right: 0; margin-left: 0; } } @media (min-width: 600px) { - .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"]:nth-child(even) { + .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"]:nth-child(even) { margin-right: calc(32px); } } @media (min-width: 782px) { - .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"]:not(:first-child) { + .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"]:not(:first-child) { margin-right: calc(32px); } } - .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit { + .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"] > .block-editor-block-list__block-edit { margin-top: 0; margin-bottom: 0; } - .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit::before { + .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"] > .block-editor-block-list__block-edit::before { right: 0; left: 0; } - .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit > .editor-block-contextual-toolbar { - margin-right: -1px; } - .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit > [data-block] { + .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"] > .block-editor-block-list__block-edit > [data-block] { margin-top: 0; margin-bottom: 0; } - .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit > div > .block-core-columns > .editor-inner-blocks { + .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"] > .block-editor-block-list__block-edit > div > .block-core-columns > .block-editor-inner-blocks { margin-top: -28px; margin-bottom: -28px; } @@ -238,7 +235,7 @@ div.block-core-columns.is-vertically-aligned-bottom { /** * Fixes single Column breadcrumb position. */ -[data-type="core/column"] > .editor-block-list__block-edit > .editor-block-list__breadcrumb { +[data-type="core/column"] > .block-editor-block-list__block-edit > .editor-block-list__breadcrumb { right: -3px; } /** @@ -277,17 +274,8 @@ div.block-core-columns.is-vertically-aligned-bottom { margin-right: 0; margin-left: 0; } -.wp-block-cover-image.components-placeholder, -.wp-block-cover.components-placeholder { - background: rgba(139, 139, 150, 0.1); - min-height: 200px; } - .is-dark-theme .wp-block-cover-image.components-placeholder, .is-dark-theme - .wp-block-cover.components-placeholder { - background: rgba(255, 255, 255, 0.15); } - .wp-block-cover-image .wp-block-cover__placeholder-background-options, .wp-block-cover .wp-block-cover__placeholder-background-options { - max-width: 260px; margin-top: 1em; width: 100%; } @@ -540,7 +528,7 @@ div[data-type="core/freeform"].is-selected .block-editor-block-list__block-edit: border-color: #b5bcc2; border-right-color: transparent; } -div[data-type="core/freeform"] .editor-block-contextual-toolbar + div { +div[data-type="core/freeform"] .block-editor-block-contextual-toolbar + div { margin-top: 0; padding-top: 0; } @@ -677,8 +665,8 @@ body.admin-color-light .blocks-gallery-item figure.is-selected { color: rgba(14, 28, 46, 0.62); padding: 2px; height: 24px; } - .blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover, - .blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover { + .blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button:not(:disabled):not([aria-disabled="true"]):not(.is-secondary):hover, + .blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button:not(:disabled):not([aria-disabled="true"]):not(.is-secondary):hover { box-shadow: none; } @media (min-width: 600px) { .columns-7 .blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button, @@ -734,51 +722,51 @@ body.admin-color-light .blocks-gallery-item figure.is-selected { /** * Group: All Alignment Settings */ -.wp-block[data-type="core/group"] .editor-block-list__insertion-point { +.wp-block[data-type="core/group"] .block-editor-block-list__insertion-point { right: 0; left: 0; } -.wp-block[data-type="core/group"] > .editor-block-list__block-edit > div > .wp-block-group.has-background > .wp-block-group__inner-container > .editor-inner-blocks { +.wp-block[data-type="core/group"] > .block-editor-block-list__block-edit > div > .wp-block-group.has-background > .wp-block-group__inner-container > .block-editor-inner-blocks { margin-top: -32px; margin-bottom: -32px; } -.wp-block[data-type="core/group"] > .editor-block-list__block-edit > div > .wp-block-group > .wp-block-group__inner-container > .editor-inner-blocks > .editor-block-list__layout > .wp-block[data-align="full"] { +.wp-block[data-type="core/group"] > .block-editor-block-list__block-edit > div > .wp-block-group > .wp-block-group__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block[data-align="full"] { margin-right: auto; margin-left: auto; padding-right: 28px; padding-left: 28px; } @media (min-width: 600px) { - .wp-block[data-type="core/group"] > .editor-block-list__block-edit > div > .wp-block-group > .wp-block-group__inner-container > .editor-inner-blocks > .editor-block-list__layout > .wp-block[data-align="full"] { + .wp-block[data-type="core/group"] > .block-editor-block-list__block-edit > div > .wp-block-group > .wp-block-group__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block[data-align="full"] { padding-right: 58px; padding-left: 58px; } } -.wp-block[data-type="core/group"] > .editor-block-list__block-edit > div > .wp-block-group.has-background > .wp-block-group__inner-container > .editor-inner-blocks > .editor-block-list__layout > .wp-block[data-align="full"] { +.wp-block[data-type="core/group"] > .block-editor-block-list__block-edit > div > .wp-block-group.has-background > .wp-block-group__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block[data-align="full"] { margin-right: -30px; width: calc(100% + 60px); } /** * Group: Full Width Alignment */ -.wp-block[data-type="core/group"][data-align="full"] > .editor-block-list__block-edit > div > .wp-block-group > .wp-block-group__inner-container > .editor-inner-blocks { +.wp-block[data-type="core/group"][data-align="full"] > .block-editor-block-list__block-edit > div > .wp-block-group > .wp-block-group__inner-container > .block-editor-inner-blocks { margin-right: auto; margin-left: auto; padding-right: 0; padding-left: 0; } - .wp-block[data-type="core/group"][data-align="full"] > .editor-block-list__block-edit > div > .wp-block-group > .wp-block-group__inner-container > .editor-inner-blocks > .editor-block-list__layout { + .wp-block[data-type="core/group"][data-align="full"] > .block-editor-block-list__block-edit > div > .wp-block-group > .wp-block-group__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout { margin-right: 0; margin-left: 0; } -.wp-block[data-type="core/group"][data-align="full"] > .editor-block-list__block-edit > div > .wp-block-group > .wp-block-group__inner-container > .editor-inner-blocks > .editor-block-list__layout > .wp-block[data-align="full"] { +.wp-block[data-type="core/group"][data-align="full"] > .block-editor-block-list__block-edit > div > .wp-block-group > .wp-block-group__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block[data-align="full"] { padding-left: 0; padding-right: 0; right: 0; width: 100%; max-width: none; } - .wp-block[data-type="core/group"][data-align="full"] > .editor-block-list__block-edit > div > .wp-block-group > .wp-block-group__inner-container > .editor-inner-blocks > .editor-block-list__layout > .wp-block[data-align="full"] > .editor-block-list__block-edit { + .wp-block[data-type="core/group"][data-align="full"] > .block-editor-block-list__block-edit > div > .wp-block-group > .wp-block-group__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block[data-align="full"] > .block-editor-block-list__block-edit { margin-right: 0; margin-left: 0; } -.wp-block[data-type="core/group"][data-align="full"] > .editor-block-list__block-edit > div > .wp-block-group.has-background > .wp-block-group__inner-container > .editor-inner-blocks > .editor-block-list__layout > .wp-block[data-align="full"] { +.wp-block[data-type="core/group"][data-align="full"] > .block-editor-block-list__block-edit > div > .wp-block-group.has-background > .wp-block-group__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block[data-align="full"] { width: calc(100% + 60px); } [data-type="core/group"].is-selected .block-list-appender { @@ -965,7 +953,7 @@ body.admin-color-light .blocks-gallery-item figure.is-selected { -ms-grid-row: 1; grid-row: 1; } -.wp-block-media-text .editor-inner-blocks { +.wp-block-media-text .block-editor-inner-blocks { word-break: break-word; -ms-grid-column: 2; grid-column: 2; @@ -1375,11 +1363,11 @@ figure.block-library-media-text__media-container { padding-right: 16px; padding-left: 16px; } -.wp-block-social-links div.editor-url-input { +.wp-block-social-links div.block-editor-url-input { display: inline-block; margin-right: 8px; } -.wp-block-social-links .editor-block-list__layout { +.wp-block-social-links .block-editor-block-list__layout { display: flex; justify-content: flex-start; } @@ -1449,6 +1437,9 @@ figure.block-library-media-text__media-container { .wp-social-link.wp-social-link__is-incomplete { opacity: 0.5; } + @media (prefers-reduced-motion: reduce) { + .wp-social-link.wp-social-link__is-incomplete { + transition-duration: 0s; } } .wp-block-social-links .is-selected .wp-social-link__is-incomplete, .wp-social-link.wp-social-link__is-incomplete:hover, @@ -1499,19 +1490,22 @@ figure.block-library-media-text__media-container { border-color: #00a0d2; box-shadow: inset 0 0 0 1px #00a0d2; border-style: double; } - .wp-block-table__placeholder-form.wp-block-table__placeholder-form { - text-align: right; - align-items: center; } - .wp-block-table__placeholder-input { - width: 100px; } - .wp-block-table__placeholder-button { - min-width: 100px; - justify-content: center; } .wp-block-table figcaption { color: #555d66; font-size: 13px; text-align: center; } +.wp-block-table__placeholder-form.wp-block-table__placeholder-form .wp-block-table__placeholder-input { + width: 112px; + margin-left: 8px; + margin-bottom: 0; } + .wp-block-table__placeholder-form.wp-block-table__placeholder-form .wp-block-table__placeholder-input input { + height: 36px; } + +.wp-block-table__placeholder-form.wp-block-table__placeholder-form .wp-block-table__placeholder-button { + margin-top: auto; + margin-left: auto; } + .block-editor .wp-block-tag-cloud a { display: inline-block; margin-left: 5px; } @@ -1543,12 +1537,6 @@ pre.wp-block-verse { .editor-video-poster-control .components-button + .components-button { margin-top: 1em; } -.wp-block-site-title__save-button { - position: absolute; - left: 0; - top: 0; - z-index: 1; } - /** * Import styles from internal editor components used by the blocks. */ @@ -1593,10 +1581,10 @@ pre.wp-block-verse { .block-editor-block-list__layout .reusable-block-edit-panel .components-button.reusable-block-edit-panel__button { margin: 0 5px 0 0; } } -.editor-block-list__layout .is-selected .reusable-block-edit-panel { +.block-editor-block-list__layout .is-selected .reusable-block-edit-panel { border-color: rgba(66, 88, 99, 0.4); border-right-color: transparent; } - .is-dark-theme .editor-block-list__layout .is-selected .reusable-block-edit-panel { + .is-dark-theme .block-editor-block-list__layout .is-selected .reusable-block-edit-panel { border-color: rgba(255, 255, 255, 0.45); border-right-color: transparent; } 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 18a5318575..0b3fe3e230 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 @@ -.block-editor 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 .block-editor-writing-flow__click-redirect{min-height:auto}.block-editor-block-list__block[data-type="core/button"][data-align=center]{text-align:center}.block-editor-block-list__block[data-type="core/button"][data-align=center] div[data-block]{margin-right:auto;margin-left:auto}.block-editor-block-list__block[data-type="core/button"][data-align=right]{text-align:right}.wp-block-button{position:relative}.wp-block-button [contenteditable]{cursor:text}.wp-block-button:not(.has-text-color):not(.is-style-outline) [data-rich-text-placeholder]:after{color:#fff}.wp-block-button .block-editor-rich-text__editable:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #00a0d2;outline:2px solid transparent;outline-offset:-2px}.wp-block-button [data-rich-text-placeholder]:after{opacity:.8}.wp-block-button__inline-link{color:#555d66;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,.is-typing .wp-block-button__inline-link{height:auto;overflow:visible;margin-top:16px}div[data-type="core/button"] div[data-block]{display:table}.block-editor .wp-block-categories ul{padding-right:2.5em}.block-editor .wp-block-categories ul ul{margin-top:6px}.wp-block-code .block-editor-plain-text{font-family:Menlo,Consolas,monaco,monospace;color:#23282d;font-size:16px}@media (min-width:600px){.wp-block-code .block-editor-plain-text{font-size:13px}}.wp-block-code .block-editor-plain-text:focus{box-shadow:none}.components-tab-button{display:inline-flex;align-items:flex-end;margin:0;padding:3px;background:none;outline:none;color:#555d66;cursor:pointer;position:relative;height:36px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;font-weight:500;border:0}.components-tab-button.is-active,.components-tab-button.is-active:hover{color:#fff}.components-tab-button:disabled{cursor:default}.components-tab-button>span{border:1px solid transparent;padding:0 6px;box-sizing:content-box;height:28px;line-height:28px}.components-tab-button:focus>span,.components-tab-button:hover>span{color:#555d66}.components-tab-button:not(:disabled).is-active>span,.components-tab-button:not(:disabled):focus>span,.components-tab-button:not(:disabled):hover>span{border:1px solid #555d66}.components-tab-button.is-active:hover>span,.components-tab-button.is-active>span{background-color:#555d66;color:#fff}.wp-block-columns .editor-block-list__layout .editor-block-list__block{max-width:none}.wp-block-columns{display:block}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout{display:flex;flex-wrap:wrap}@media (min-width:782px){.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout{flex-wrap:nowrap}}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"],.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit,.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit .block-core-columns,.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit>div[data-block]{display:flex;flex-direction:column;flex:1 1 auto}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"],.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit,.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit .block-core-columns,.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit>div[data-block]{flex:1}}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]{padding-right:0;padding-left:0;margin-right:-14px;margin-left:-14px;min-width:0;word-break:break-word;overflow-wrap:break-word;flex-basis:100%}@media (min-width:600px){.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]{flex-basis:calc(50% - 16px);flex-grow:0;margin-right:0;margin-left:0}}@media (min-width:600px){.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]:nth-child(2n){margin-right:32px}}@media (min-width:782px){.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]:not(:first-child){margin-right:32px}}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit{margin-top:0;margin-bottom:0}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit:before{right:0;left:0}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit>.editor-block-contextual-toolbar{margin-right:-1px}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit>[data-block]{margin-top:0;margin-bottom:0}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit>div>.block-core-columns>.editor-inner-blocks{margin-top:-28px;margin-bottom:-28px}[data-type="core/columns"] .block-list-appender{margin-top:28px;margin-bottom:28px}.are-vertically-aligned-top .block-core-columns,div.block-core-columns.is-vertically-aligned-top{justify-content:flex-start}.are-vertically-aligned-center .block-core-columns,div.block-core-columns.is-vertically-aligned-center{justify-content:center}.are-vertically-aligned-bottom .block-core-columns,div.block-core-columns.is-vertically-aligned-bottom{justify-content:flex-end}[data-type="core/column"]>.editor-block-list__block-edit>.editor-block-list__breadcrumb{right:-3px}.block-core-columns>.block-editor-inner-blocks.has-overlay:after{right:0;left:0}[data-type="core/columns"][data-align=full] .wp-block-columns{padding-right:14px;padding-left:14px}@media (min-width:600px){[data-type="core/columns"][data-align=full] .wp-block-columns{padding-right:46px;padding-left:46px}}.wp-block-cover-image.components-placeholder h2,.wp-block-cover.components-placeholder h2{color:inherit}.wp-block-cover-image .block-editor-block-list__layout,.wp-block-cover .block-editor-block-list__layout{width:100%}.wp-block-cover-image .block-editor-block-list__block,.wp-block-cover .block-editor-block-list__block{color:#f8f9f9}.wp-block-cover-image .wp-block-cover__inner-container,.wp-block-cover .wp-block-cover__inner-container{text-align:right}.wp-block-cover-image .wp-block-cover__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout,.wp-block-cover .wp-block-cover__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout{margin-right:0;margin-left:0}.wp-block-cover-image.components-placeholder,.wp-block-cover.components-placeholder{background:rgba(139,139,150,.1);min-height:200px}.is-dark-theme .wp-block-cover-image.components-placeholder,.is-dark-theme .wp-block-cover.components-placeholder{background:hsla(0,0%,100%,.15)}.wp-block-cover-image .wp-block-cover__placeholder-background-options,.wp-block-cover .wp-block-cover__placeholder-background-options{max-width:260px;margin-top:1em;width:100%}[data-align=left] .wp-block-cover,[data-align=left] .wp-block-cover-image,[data-align=right] .wp-block-cover,[data-align=right] .wp-block-cover-image{max-width:290px;width:100%}.block-library-cover__reset-button{margin-right:auto}.block-library-cover__resize-container:not(.is-resizing){height:auto!important}.wp-block-embed{margin-right:0;margin-left:0;clear:both}@media (min-width:600px){.wp-block-embed{min-width:360px}.wp-block-embed.components-placeholder{min-width:0}}.wp-block-embed.is-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:1em;min-height:200px;text-align:center;background:#f8f9f9}.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-file{display:flex;justify-content:space-between;align-items:center;margin-bottom:0}.wp-block-file .wp-block-file__content-wrapper{flex-grow:1}.wp-block-file .wp-block-file__textlink{display:inline-block;min-width:1em}.wp-block-file .wp-block-file__textlink:focus{box-shadow:none}.wp-block-file .wp-block-file__button-richtext-wrapper{display:inline-block;margin-right:.75em}.wp-block-file .wp-block-file__copy-url-button{margin-right:1em}.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 #e2e4e7;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:14px;color:#23282d}.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:#007fac}.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:#23282d;background:#f3f4f5;font-family:Menlo,Consolas,monaco,monospace;font-size:14px}.wp-block-freeform.block-library-rich-text__tinymce:focus code[data-mce-selected]{background:#e8eaeb}.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:transparent}.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 #e8eaeb;padding:10px}.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error{border:1px solid #e8eaeb;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.33333%}.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.66667%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-7 .gallery-item{width:14.28571%}.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.11111%}.wp-block-freeform.block-library-rich-text__tinymce .gallery img{max-width:100%;height:auto;border:none;padding:0}div[data-type="core/freeform"] .block-editor-block-list__block-edit:before{transition:border-color .1s linear,box-shadow .1s linear;border:1px solid #e2e4e7;outline:1px solid transparent}@media (prefers-reduced-motion:reduce){div[data-type="core/freeform"] .block-editor-block-list__block-edit:before{transition-duration:0s}}div[data-type="core/freeform"].is-selected .block-editor-block-list__block-edit:before{border-color:#b5bcc2 transparent #b5bcc2 #b5bcc2}div[data-type="core/freeform"] .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:#23282d}.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;margin:0 -14px;position:-webkit-sticky;position:sticky;z-index:10;top:14px;transform:translateY(-14px);border:1px solid #e2e4e7;border-bottom:none;padding:0}div[data-type="core/freeform"].is-selected .block-library-classic__toolbar,div[data-type="core/freeform"].is-typing .block-library-classic__toolbar{display:block;border-color:#b5bcc2}.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 .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}.is-selected .wp-block-gallery{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{outline:none}.blocks-gallery-item figure.is-selected{outline:4px solid #0085ba}body.admin-color-sunrise .blocks-gallery-item figure.is-selected{outline:4px solid #d1864a}body.admin-color-ocean .blocks-gallery-item figure.is-selected{outline:4px solid #a3b9a2}body.admin-color-midnight .blocks-gallery-item figure.is-selected{outline:4px solid #e14d43}body.admin-color-ectoplasm .blocks-gallery-item figure.is-selected{outline:4px solid #a7b656}body.admin-color-coffee .blocks-gallery-item figure.is-selected{outline:4px solid #c2a68c}body.admin-color-blue .blocks-gallery-item figure.is-selected{outline:4px solid #82b4cb}body.admin-color-light .blocks-gallery-item figure.is-selected{outline:4px solid #0085ba}.blocks-gallery-item figure.is-transient img{opacity:.3}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu{background:#fff;border:1px solid rgba(66,88,99,.4);border-radius:4px;transition:box-shadow .2s ease-out}@media (prefers-reduced-motion:reduce){.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu{transition-duration:0s}}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu:hover,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu:hover{box-shadow:0 2px 10px rgba(25,30,35,.1),0 0 2px rgba(25,30,35,.1)}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button{color:rgba(14,28,46,.62);padding:2px;height:24px}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{box-shadow:none}@media (min-width:600px){.columns-7 .blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button,.columns-7 .blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button,.columns-8 .blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button,.columns-8 .blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button{padding:0;width:inherit;height:inherit}}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button:focus,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button:focus{color:inherit}.block-library-gallery-item__inline-menu,.block-library-gallery-item__move-menu{margin:8px;display:inline-flex;z-index:20}.block-library-gallery-item__inline-menu .components-button,.block-library-gallery-item__move-menu .components-button{color:transparent}@media (min-width:600px){.columns-7 .block-library-gallery-item__inline-menu,.columns-7 .block-library-gallery-item__move-menu,.columns-8 .block-library-gallery-item__inline-menu,.columns-8 .block-library-gallery-item__move-menu{padding:2px}}.block-library-gallery-item__inline-menu{position:absolute;top:-2px;left:-2px}.block-library-gallery-item__move-menu{position:absolute;top:-2px;right:-2px}.blocks-gallery-item__move-backward,.blocks-gallery-item__move-forward,.blocks-gallery-item__remove{padding:0}.blocks-gallery-item .components-spinner{position:absolute;top:50%;right:50%;margin-top:-9px;margin-right:-9px}.wp-block[data-type="core/group"] .editor-block-list__insertion-point{right:0;left:0}.wp-block[data-type="core/group"]>.editor-block-list__block-edit>div>.wp-block-group.has-background>.wp-block-group__inner-container>.editor-inner-blocks{margin-top:-32px;margin-bottom:-32px}.wp-block[data-type="core/group"]>.editor-block-list__block-edit>div>.wp-block-group>.wp-block-group__inner-container>.editor-inner-blocks>.editor-block-list__layout>.wp-block[data-align=full]{margin-right:auto;margin-left:auto;padding-right:28px;padding-left:28px}@media (min-width:600px){.wp-block[data-type="core/group"]>.editor-block-list__block-edit>div>.wp-block-group>.wp-block-group__inner-container>.editor-inner-blocks>.editor-block-list__layout>.wp-block[data-align=full]{padding-right:58px;padding-left:58px}}.wp-block[data-type="core/group"]>.editor-block-list__block-edit>div>.wp-block-group.has-background>.wp-block-group__inner-container>.editor-inner-blocks>.editor-block-list__layout>.wp-block[data-align=full]{margin-right:-30px;width:calc(100% + 60px)}.wp-block[data-type="core/group"][data-align=full]>.editor-block-list__block-edit>div>.wp-block-group>.wp-block-group__inner-container>.editor-inner-blocks{margin-right:auto;margin-left:auto;padding-right:0;padding-left:0}.wp-block[data-type="core/group"][data-align=full]>.editor-block-list__block-edit>div>.wp-block-group>.wp-block-group__inner-container>.editor-inner-blocks>.editor-block-list__layout{margin-right:0;margin-left:0}.wp-block[data-type="core/group"][data-align=full]>.editor-block-list__block-edit>div>.wp-block-group>.wp-block-group__inner-container>.editor-inner-blocks>.editor-block-list__layout>.wp-block[data-align=full]{padding-left:0;padding-right:0;right:0;width:100%;max-width:none}.wp-block[data-type="core/group"][data-align=full]>.editor-block-list__block-edit>div>.wp-block-group>.wp-block-group__inner-container>.editor-inner-blocks>.editor-block-list__layout>.wp-block[data-align=full]>.editor-block-list__block-edit{margin-right:0;margin-left:0}.wp-block[data-type="core/group"][data-align=full]>.editor-block-list__block-edit>div>.wp-block-group.has-background>.wp-block-group__inner-container>.editor-inner-blocks>.editor-block-list__layout>.wp-block[data-align=full]{width:calc(100% + 60px)}[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}.wp-block-html{margin-bottom:28px}.wp-block-html .block-editor-plain-text{font-family:Menlo,Consolas,monaco,monospace;color:#23282d;padding:.8em 1em;border:1px solid #e2e4e7;border-radius:4px;max-height:250px;font-size:16px}@media (min-width:600px){.wp-block-html .block-editor-plain-text{font-size:13px}}.wp-block-html .block-editor-plain-text:focus{box-shadow:none}.wp-block-image{position:relative;margin-right:0;margin-left:0}.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 .components-resizable-box__container{display:inline-block}.wp-block-image .components-resizable-box__container img{display:block;width:inherit;height:inherit}.wp-block-image.is-focused .components-resizable-box__handle{display:block;z-index:1}.block-editor-block-list__block[data-type="core/image"][data-align=center] .wp-block-image{margin-right:auto;margin-left:auto}.block-editor-block-list__block[data-type="core/image"][data-align=center][data-resized=false] .wp-block-image>div{margin-right:auto;margin-left:auto}.edit-post-sidebar .block-library-image__dimensions{margin-bottom:1em}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row{display:flex;justify-content:space-between}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height,.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__width{margin-bottom:.5em}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height input,.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__width input{line-height:1.25}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__width{margin-left:5px}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height{margin-right:5px}.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-type="core/image"][data-align=center] .block-editor-block-list__block-edit figure,[data-type="core/image"][data-align=left] .block-editor-block-list__block-edit figure,[data-type="core/image"][data-align=right] .block-editor-block-list__block-edit figure{margin:0}[data-type="core/image"][data-align=full] figure img,[data-type="core/image"][data-align=wide] figure img{width:100%}[data-type="core/image"] .block-editor-block-list__block-edit figure.is-resized{margin:0}.wp-block-latest-comments.has-avatars .avatar{margin-left:10px}.wp-block-latest-comments__comment-excerpt p{font-size:14px;line-height:1.8;margin:5px 0 20px;padding-top:0}.wp-block-latest-comments.has-avatars .wp-block-latest-comments__comment{min-height:36px}.block-editor .wp-block-latest-posts{padding-right:2.5em}.block-editor .wp-block-latest-posts.is-grid{padding-right:0}.wp-block-latest-posts li a>div{display:inline}.wp-block-legacy-widget__edit-container,.wp-block-legacy-widget__preview{padding-right:2.5em;padding-left:2.5em}.wp-block-legacy-widget__edit-container .widget-inside{border:none;display:block;box-shadow:none}.wp-block-legacy-widget__update-button{margin-right:auto;display:block}.wp-block-legacy-widget__preview{overflow:auto}.wp-block-legacy-widget__edit-widget-title{margin:-14px -13px 0;background:#f8f9f9;color:#555d66;top:-13px;position:relative;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;padding:8px 14px;font-weight:600}.wp-block-media-text .__resizable_base__{-ms-grid-column:1;-ms-grid-column-span:2;grid-column:1/span 2;-ms-grid-row:2;grid-row:2}.wp-block-media-text.is-vertically-aligned-top .block-editor-inner-blocks,.wp-block-media-text.is-vertically-aligned-top .editor-media-container__resizer{-ms-grid-row-align:start;align-self:start}.wp-block-media-text .block-editor-inner-blocks,.wp-block-media-text .editor-media-container__resizer,.wp-block-media-text.is-vertically-aligned-center .block-editor-inner-blocks,.wp-block-media-text.is-vertically-aligned-center .editor-media-container__resizer{-ms-grid-row-align:center;align-self:center}.wp-block-media-text.is-vertically-aligned-bottom .block-editor-inner-blocks,.wp-block-media-text.is-vertically-aligned-bottom .editor-media-container__resizer{-ms-grid-row-align:end;align-self:end}.wp-block-media-text .editor-media-container__resizer{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1;width:100%!important}.wp-block-media-text.is-image-fill .editor-media-container__resizer{height:100%!important}.wp-block-media-text .editor-inner-blocks,.wp-block-media-text.has-media-on-the-right .editor-media-container__resizer{-ms-grid-column:2;grid-column:2;-ms-grid-row:1;grid-row:1}.wp-block-media-text .editor-inner-blocks{word-break:break-word;text-align:initial;padding:0 8%}.wp-block-media-text.has-media-on-the-right .block-editor-inner-blocks{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1}.wp-block-media-text>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block{max-width:unset}figure.block-library-media-text__media-container{margin:0;height:100%;width:100%}.wp-block-media-text .block-library-media-text__media-container img,.wp-block-media-text .block-library-media-text__media-container video{vertical-align:middle;width:100%}.editor-media-container__resizer .components-resizable-box__handle{display:none}.wp-block-media-text.is-selected:not(.is-stacked-on-mobile) .editor-media-container__resizer .components-resizable-box__handle{display:block}@media (min-width:600px){.wp-block-media-text.is-selected.is-stacked-on-mobile .editor-media-container__resizer .components-resizable-box__handle{display:block}}@media (max-width:600px){.wp-block-media-text.is-stacked-on-mobile .block-editor-inner-blocks{-ms-grid-column:1;grid-column:1;-ms-grid-row:2;grid-row:2}.wp-block-media-text.is-stacked-on-mobile .editor-media-container__resizer,.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .block-editor-inner-blocks{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1}.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .editor-media-container__resizer{-ms-grid-column:1;grid-column:1;-ms-grid-row:2;grid-row:2}}.block-editor-block-list__block[data-type="core/more"]{max-width:100%;text-align:center;margin-top:28px;margin-bottom:28px}.block-editor .wp-block-more{display:block;text-align:center;white-space:nowrap}.block-editor .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:#6c7781;border:none;box-shadow:none;white-space:nowrap;text-align:center;margin:0;border-radius:4px;background:#fff;padding:6px 8px;height:24px}.block-editor .wp-block-more input[type=text]:focus{box-shadow:none}.block-editor .wp-block-more:before{content:"";position:absolute;top:50%;right:0;left:0;border-top:3px dashed #ccd0d4}[data-type="core/navigation"] .wp-block-navigation .block-editor-inner-blocks{flex:1}[data-type="core/navigation"] .wp-block-navigation .block-editor-inner-blocks>.block-editor-block-list__layout{margin-right:0;margin-left:0}[data-type="core/navigation"] .wp-block-navigation.items-justification-left .block-editor-inner-blocks>.block-editor-block-list__layout{justify-content:flex-start}[data-type="core/navigation"] .wp-block-navigation.items-justification-center .block-editor-inner-blocks>.block-editor-block-list__layout{justify-content:center}[data-type="core/navigation"] .wp-block-navigation.items-justification-right .block-editor-inner-blocks>.block-editor-block-list__layout{justify-content:flex-end}[data-type="core/navigation"] .wp-block-navigation .block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block{width:auto;padding-right:0;padding-left:0;margin-right:0;margin-left:0;margin-bottom:1em}[data-type="core/navigation"] .wp-block-navigation .block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block>.block-editor-block-list__block-edit{margin-right:0;margin-left:0}[data-type="core/navigation"] .wp-block-navigation .block-editor-inner-blocks>.block-editor-block-list__layout .wp-block>.block-editor-block-list__block-edit>[data-block]{margin-top:0;margin-bottom:0}[data-type="core/navigation"] .wp-block-navigation .block-editor-block-list__block-edit:before{right:0;left:0}[data-type="core/navigation"].has-child-selected .wp-block-navigation .block-editor-block-list__block-edit:before,[data-type="core/navigation"].is-hovered .wp-block-navigation .block-editor-block-list__block-edit:before,[data-type="core/navigation"].is-selected .wp-block-navigation .block-editor-block-list__block-edit:before{border-color:transparent!important}[data-type="core/navigation"] .wp-block-navigation .block-editor-block-list__insertion-point{display:none}[data-type="core/navigation"] .wp-block-navigation .block-list-appender{margin:0}[data-type="core/navigation"] .wp-block-navigation .block-list-appender .block-editor-button-block-appender{padding:8px;outline:none;background:none}.wp-block-navigation,.wp-block-navigation .block-editor-block-list__layout{display:flex;flex-wrap:wrap}.wp-block-navigation__inserter-content{padding:16px}.wp-block-navigation .wp-block-navigation-link{margin-left:8px;margin-right:8px;padding:0 8px}.wp-block-navigation .wp-block-navigation-link .block-editor-block-list__layout{display:block;margin:8px}.wp-block-navigation .wp-block-navigation-link .block-editor-inner-blocks{display:none}.wp-block-navigation .wp-block-navigation-link.is-editing .block-editor-inner-blocks{display:block}.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{width:42px;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__icon-container:after{content:"";pointer-events:none;display:block;width:0;height:0;border-right:3px solid transparent;border-left:3px solid transparent;border-top:5px solid;margin-right:4px;margin-left:2px}.block-library-colors-selector .block-library-colors-selector__icon-container:focus,.block-library-colors-selector .block-library-colors-selector__icon-container:hover{color:#555d66;box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff}.block-library-colors-selector .block-library-colors-selector__state-selection{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.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-editor-block-mover.is-horizontal .block-editor-block-mover__control-drag-handle{display:none}.wp-block-navigation-link__container,.wp-block-navigation-link__field .components-text-control__input.components-text-control__input{border-radius:0;line-height:36px;min-height:36px}.wp-block-navigation-link__edit-container{display:flex;white-space:nowrap;margin-right:-8px}.wp-block-navigation-link__edit-container .wp-block-navigation-link__content{margin-left:8px;padding:0 8px;box-shadow:inset 0 0 0 1px #7e8993;transition:box-shadow .1s linear;border-radius:4px}@media (prefers-reduced-motion:reduce){.wp-block-navigation-link__edit-container .wp-block-navigation-link__content{transition-duration:0s}}.wp-block-navigation-link__edit-container .wp-block-navigation-link__content:focus{color:#191e23;box-shadow:inset 0 0 0 2px #007cba;outline:2px solid transparent}.wp-block-navigation-link{margin-left:8px;padding:0 8px 0 55px}.wp-block-navigation-link .block-editor-block-list__layout{display:block;margin:8px}.wp-block-navigation-link .block-editor-inner-blocks{display:none}.wp-block-navigation-link.is-editing,.wp-block-navigation-link.is-selected{min-width:20px}.wp-block-navigation-link.is-editing .block-editor-inner-blocks{display:block}.wp-block-navigation-link.has-link .wp-block-navigation-link__content{border-bottom-style:solid;border-bottom-width:1px}.wp-block-navigation-link .block-editor-rich-text__editable.is-selected:not(.keep-placeholder-on-focus):not(:focus) [data-rich-text-placeholder]:after{display:inline-block}[data-type="core/navigation-link"] .block-editor-block-toolbar{right:15px}.wp-block-navigation-link__nofollow-external-link{display:block}.wp-block-navigation-link__separator{margin:8px 0;border-top:1px solid #e2e4e7}.components-popover.wp-block-navigation-link__dropdown-content{margin-top:-1px;margin-right:-4px}.wp-block-navigation-link__dropdown-content .components-popover__content{padding:8px 0}.wp-block-navigation .block-editor-block-list__block[data-type="core/navigation-link"]>.block-editor-block-list__insertion-point{display:none}.block-editor-block-list__block[data-type="core/nextpage"]{max-width:100%;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;display:inline-block;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#6c7781;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 #ccd0d4}.block-editor-rich-text__editable.wp-block-paragraph:not(.is-selected) [data-rich-text-placeholder]:after{display:inline-block;padding-left:108px}.wp-block .wp-block .block-editor-rich-text__editable.wp-block-paragraph:not(.is-selected) [data-rich-text-placeholder]:after{padding-left:36px}.block-editor-block-list__block[data-type="core/paragraph"] p{min-height:28px;line-height:1.8}.block-editor-block-list__block[data-type="core/paragraph"] .has-drop-cap:focus{min-height:28px!important}.block-editor-block-list__block[data-type="core/pullquote"][data-align=left] p,.block-editor-block-list__block[data-type="core/pullquote"][data-align=right] p{font-size:20px}.wp-block-pullquote blockquote p{font-size:28px;line-height:1.6}.wp-block-pullquote.is-style-solid-color{margin-right:0;margin-left:0}.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-quote__citation{font-size:13px}.block-editor .wp-block-rss{padding-right:2.5em}.block-editor .wp-block-rss.is-grid{padding-right:0}.wp-block-rss li a>div{display:inline}.wp-block-search__input{border-radius:4px;border:1px solid #7e8993;color:rgba(14,28,46,.62);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-search__input:focus{outline:none}.wp-block-search__button{background:#f7f7f7;border-radius:4px;border:1px solid #ccc;box-shadow:inset 0 -1px 0 #ccc;padding:6px 10px}.wp-block-search__button,.wp-block-shortcode{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-shortcode{display:flex;flex-direction:column;padding:14px;background-color:rgba(139,139,150,.1);margin-bottom:28px}.wp-block-shortcode label{display:flex;align-items:center;white-space:nowrap;font-weight:600;flex-shrink:0}.wp-block-shortcode .block-editor-plain-text{width:80%;max-height:250px}.wp-block-shortcode .dashicon{margin-left:8px}.wp-social-link{padding:6px}.wp-block-social-links.is-style-pill-shape .wp-social-link{padding-right:16px;padding-left:16px}.wp-block-social-links div.editor-url-input{display:inline-block;margin-right:8px}.wp-block-social-links .editor-block-list__layout{display:flex;justify-content:flex-start}[data-type="core/social-links"] .wp-block-social-links>.block-editor-inner-blocks>.block-editor-block-list__layout{margin-right:0;margin-left:0}[data-type="core/social-links"] .wp-block-social-links>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block{width:auto;padding-right:0;padding-left:0}[data-type="core/social-links"] .wp-block-social-links>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block>.block-editor-block-list__block-edit{margin-right:0;margin-left:0}[data-type="core/social-links"] .wp-block-social-links>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block>.block-editor-block-list__block-edit:before{border-left:none;border-top:none;border-bottom:none}[data-type="core/social-links"] .wp-block-social-links>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block.is-hovered:not(.is-navigate-mode)>.block-editor-block-list__block-edit:before{box-shadow:none}[data-type="core/social-links"].has-child-selected .wp-block-social-links .block-editor-block-list__block-edit:before,[data-type="core/social-links"].is-hovered .wp-block-social-links .block-editor-block-list__block-edit:before,[data-type="core/social-links"].is-selected .wp-block-social-links .block-editor-block-list__block-edit:before{border-color:transparent!important}[data-type="core/social-links"] .wp-block-social-links>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block>.block-editor-block-list__block-edit>[data-block]{margin-top:0;margin-bottom:0}[data-type="core/social-links"] .wp-block-social-links .block-editor-block-list__insertion-point{display:none}.wp-block-social-links .block-list-appender{margin:0}.wp-block-social-links .block-list-appender .block-editor-button-block-appender{padding:8px;outline:none;background:none}[data-type="core/social-links"][data-align=center] .wp-block-social-links{justify-content:center}.block-editor-block-preview__content .wp-social-link:disabled{opacity:1}.block-editor-block-preview__content [data-type="core/social-links"]{width:auto!important;display:inline-block}[data-type="core/social-links"]:not(.is-selected):not(.has-child-selected) .wp-block-social-links{min-height:36px}[data-type="core/social-links"] .wp-social-link__is-incomplete{transition:transform .1s ease;transform-origin:center center}[data-type="core/social-links"]:not(.is-selected):not(.has-child-selected) .wp-social-link__is-incomplete{opacity:0;transform:scale(0);width:0;padding:0;margin-left:0}.wp-social-link.wp-social-link__is-incomplete{opacity:.5}.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}[data-type="core/social-links"] .wp-social-link:focus{opacity:1;box-shadow:0 0 0 2px #fff,0 0 0 4px #007cba;outline:2px solid transparent}.block-library-spacer__resize-container.is-selected{background:#f3f4f5}.block-library-spacer__resize-container{clear:both;margin-bottom:28px}.edit-post-visual-editor p.wp-block-subhead{color:#6c7781;font-size:1.1em;font-style:italic}.block-editor-block-list__block[data-type="core/table"][data-align=center],.block-editor-block-list__block[data-type="core/table"][data-align=left],.block-editor-block-list__block[data-type="core/table"][data-align=right]{height:auto}.block-editor-block-list__block[data-type="core/table"][data-align=center] table,.block-editor-block-list__block[data-type="core/table"][data-align=left] table,.block-editor-block-list__block[data-type="core/table"][data-align=right] table{width:auto}.block-editor-block-list__block[data-type="core/table"][data-align=center] td,.block-editor-block-list__block[data-type="core/table"][data-align=center] th,.block-editor-block-list__block[data-type="core/table"][data-align=left] td,.block-editor-block-list__block[data-type="core/table"][data-align=left] th,.block-editor-block-list__block[data-type="core/table"][data-align=right] td,.block-editor-block-list__block[data-type="core/table"][data-align=right] th{word-break:break-word}.block-editor-block-list__block[data-type="core/table"][data-align=center]{text-align:initial}.block-editor-block-list__block[data-type="core/table"][data-align=center] table{margin:0 auto}.wp-block-table{margin:0}.wp-block-table table{border-collapse:collapse}.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:#00a0d2;box-shadow:inset 0 0 0 1px #00a0d2;border-style:double}.wp-block-table__placeholder-form.wp-block-table__placeholder-form{text-align:right;align-items:center}.wp-block-table__placeholder-input{width:100px}.wp-block-table__placeholder-button{min-width:100px;justify-content:center}.wp-block-table figcaption{color:#555d66;font-size:13px;text-align:center}.block-editor .wp-block-tag-cloud a{display:inline-block;margin-left:5px}.block-editor .wp-block-tag-cloud span{display:inline-block;margin-right:5px;color:#8f98a1;text-decoration:none}.wp-block-text-columns .block-editor-rich-text__editable:focus{outline:1px solid #e2e4e7}pre.wp-block-verse{color:#191e23;white-space:nowrap;font-family:inherit;font-size:inherit;padding:1em;overflow:auto}.block-editor-block-list__block[data-align=center]{text-align:center}.editor-video-poster-control .components-button{display:block;margin-left:8px}.editor-video-poster-control .components-button+.components-button{margin-top:1em}.wp-block-site-title__save-button{position:absolute;left:0;top:0;z-index:1}.block-editor-block-list__layout .reusable-block-edit-panel{align-items:center;background:#f8f9f9;color:#555d66;display:flex;flex-wrap:wrap;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;position:relative;top:-14px;margin:0 -14px;padding:8px 14px;z-index:61;border:1px dashed rgba(145,151,162,.25);border-bottom:none}.block-editor-block-list__layout .block-editor-block-list__layout .reusable-block-edit-panel{margin:0 -14px;padding:8px 14px}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__spinner{margin:0 5px}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__info{margin-left:auto}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__label{margin-left:8px;white-space:nowrap;font-weight:600}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__title{flex:1 1 100%;font-size:14px;height:30px;margin:4px 0 8px}.block-editor-block-list__layout .reusable-block-edit-panel .components-button.reusable-block-edit-panel__button{flex-shrink:0}@media (min-width:960px){.block-editor-block-list__layout .reusable-block-edit-panel{flex-wrap:nowrap}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__title{margin:0}.block-editor-block-list__layout .reusable-block-edit-panel .components-button.reusable-block-edit-panel__button{margin:0 5px 0 0}}.editor-block-list__layout .is-selected .reusable-block-edit-panel{border-color:rgba(66,88,99,.4) transparent rgba(66,88,99,.4) rgba(66,88,99,.4)}.is-dark-theme .editor-block-list__layout .is-selected .reusable-block-edit-panel{border-color:hsla(0,0%,100%,.45) transparent hsla(0,0%,100%,.45) hsla(0,0%,100%,.45)}.is-dark-theme .is-selected.is-navigate-mode .reusable-block-edit-panel,.is-selected.is-navigate-mode .reusable-block-edit-panel{border-color:#007cba transparent #007cba #007cba}.editor-styles-wrapper [data-block]{margin-top:28px;margin-bottom:28px} \ No newline at end of file +.block-editor 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 .block-editor-writing-flow__click-redirect{min-height:auto}.block-editor-block-list__block[data-type="core/button"][data-align=center]{text-align:center}.block-editor-block-list__block[data-type="core/button"][data-align=center] div[data-block]{margin-right:auto;margin-left:auto}.block-editor-block-list__block[data-type="core/button"][data-align=right]{text-align:right}.wp-block-button{position:relative}.wp-block-button [contenteditable]{cursor:text}.wp-block-button:not(.has-text-color):not(.is-style-outline) [data-rich-text-placeholder]:after{color:#fff}.wp-block-button .block-editor-rich-text__editable:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #00a0d2;outline:2px solid transparent;outline-offset:-2px}.wp-block-button [data-rich-text-placeholder]:after{opacity:.8}.wp-block-button__inline-link{color:#555d66;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,.is-typing .wp-block-button__inline-link{height:auto;overflow:visible;margin-top:16px}div[data-type="core/button"] div[data-block]{display:table}.wp-block-buttons .wp-block.block-editor-block-list__block[data-type="core/button"]{display:inline-block;width:auto}.wp-block-buttons div[data-type="core/button"] div[data-block]{display:block}.wp-block-buttons[data-align=center] .block-editor-block-list__layout{display:flex;align-items:center;flex-wrap:wrap;justify-content:center}.wp-block-buttons[data-align=right] .block-editor-block-list__layout{display:flex;justify-content:flex-end}.wp-block-buttons .block-list-appender{display:inline-block!important;margin:0}.wp-block-buttons .block-editor-block-list__layout>div:last-child{display:inline-block}.wp-block-buttons .block-editor-button-block-appender{background:none;outline:none}.block-editor .wp-block-categories ul{padding-right:2.5em}.block-editor .wp-block-categories ul ul{margin-top:6px}.wp-block-code .block-editor-plain-text{font-family:Menlo,Consolas,monaco,monospace;color:#23282d;font-size:16px}@media (min-width:600px){.wp-block-code .block-editor-plain-text{font-size:13px}}.wp-block-code .block-editor-plain-text:focus{box-shadow:none}.wp-block-columns .block-editor-block-list__layout .block-editor-block-list__block{max-width:none}.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-contextual-toolbar[data-type="core/column"]{margin-right:0}.wp-block-columns{display:block}.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout{display:flex;flex-wrap:wrap}@media (min-width:782px){.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout{flex-wrap:nowrap}}.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"],.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]>.block-editor-block-list__block-edit,.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]>.block-editor-block-list__block-edit .block-core-columns,.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]>.block-editor-block-list__block-edit>div[data-block]{display:flex;flex-direction:column;flex:1 1 auto}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"],.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]>.block-editor-block-list__block-edit,.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]>.block-editor-block-list__block-edit .block-core-columns,.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]>.block-editor-block-list__block-edit>div[data-block]{flex:1}}.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]{padding-right:0;padding-left:0;margin-right:-14px;margin-left:-14px;min-width:0;word-break:break-word;overflow-wrap:break-word;flex-basis:100%}@media (min-width:600px){.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]{flex-basis:calc(50% - 16px);flex-grow:0;margin-right:0;margin-left:0}}@media (min-width:600px){.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]:nth-child(2n){margin-right:32px}}@media (min-width:782px){.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]:not(:first-child){margin-right:32px}}.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]>.block-editor-block-list__block-edit{margin-top:0;margin-bottom:0}.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]>.block-editor-block-list__block-edit:before{right:0;left:0}.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]>.block-editor-block-list__block-edit>[data-block]{margin-top:0;margin-bottom:0}.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]>.block-editor-block-list__block-edit>div>.block-core-columns>.block-editor-inner-blocks{margin-top:-28px;margin-bottom:-28px}[data-type="core/columns"] .block-list-appender{margin-top:28px;margin-bottom:28px}.are-vertically-aligned-top .block-core-columns,div.block-core-columns.is-vertically-aligned-top{justify-content:flex-start}.are-vertically-aligned-center .block-core-columns,div.block-core-columns.is-vertically-aligned-center{justify-content:center}.are-vertically-aligned-bottom .block-core-columns,div.block-core-columns.is-vertically-aligned-bottom{justify-content:flex-end}[data-type="core/column"]>.block-editor-block-list__block-edit>.editor-block-list__breadcrumb{right:-3px}.block-core-columns>.block-editor-inner-blocks.has-overlay:after{right:0;left:0}[data-type="core/columns"][data-align=full] .wp-block-columns{padding-right:14px;padding-left:14px}@media (min-width:600px){[data-type="core/columns"][data-align=full] .wp-block-columns{padding-right:46px;padding-left:46px}}.wp-block-cover-image.components-placeholder h2,.wp-block-cover.components-placeholder h2{color:inherit}.wp-block-cover-image .block-editor-block-list__layout,.wp-block-cover .block-editor-block-list__layout{width:100%}.wp-block-cover-image .block-editor-block-list__block,.wp-block-cover .block-editor-block-list__block{color:#f8f9f9}.wp-block-cover-image .wp-block-cover__inner-container,.wp-block-cover .wp-block-cover__inner-container{text-align:right}.wp-block-cover-image .wp-block-cover__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout,.wp-block-cover .wp-block-cover__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout{margin-right:0;margin-left:0}.wp-block-cover-image .wp-block-cover__placeholder-background-options,.wp-block-cover .wp-block-cover__placeholder-background-options{margin-top:1em;width:100%}[data-align=left] .wp-block-cover,[data-align=left] .wp-block-cover-image,[data-align=right] .wp-block-cover,[data-align=right] .wp-block-cover-image{max-width:290px;width:100%}.block-library-cover__reset-button{margin-right:auto}.block-library-cover__resize-container:not(.is-resizing){height:auto!important}.wp-block-embed{margin-right:0;margin-left:0;clear:both}@media (min-width:600px){.wp-block-embed{min-width:360px}.wp-block-embed.components-placeholder{min-width:0}}.wp-block-embed.is-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:1em;min-height:200px;text-align:center;background:#f8f9f9}.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-file{display:flex;justify-content:space-between;align-items:center;margin-bottom:0}.wp-block-file .wp-block-file__content-wrapper{flex-grow:1}.wp-block-file .wp-block-file__textlink{display:inline-block;min-width:1em}.wp-block-file .wp-block-file__textlink:focus{box-shadow:none}.wp-block-file .wp-block-file__button-richtext-wrapper{display:inline-block;margin-right:.75em}.wp-block-file .wp-block-file__copy-url-button{margin-right:1em}.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 #e2e4e7;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:14px;color:#23282d}.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:#007fac}.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:#23282d;background:#f3f4f5;font-family:Menlo,Consolas,monaco,monospace;font-size:14px}.wp-block-freeform.block-library-rich-text__tinymce:focus code[data-mce-selected]{background:#e8eaeb}.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:transparent}.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 #e8eaeb;padding:10px}.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error{border:1px solid #e8eaeb;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.33333%}.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.66667%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-7 .gallery-item{width:14.28571%}.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.11111%}.wp-block-freeform.block-library-rich-text__tinymce .gallery img{max-width:100%;height:auto;border:none;padding:0}div[data-type="core/freeform"] .block-editor-block-list__block-edit:before{transition:border-color .1s linear,box-shadow .1s linear;border:1px solid #e2e4e7;outline:1px solid transparent}@media (prefers-reduced-motion:reduce){div[data-type="core/freeform"] .block-editor-block-list__block-edit:before{transition-duration:0s}}div[data-type="core/freeform"].is-selected .block-editor-block-list__block-edit:before{border-color:#b5bcc2 transparent #b5bcc2 #b5bcc2}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:#23282d}.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;margin:0 -14px;position:-webkit-sticky;position:sticky;z-index:10;top:14px;transform:translateY(-14px);border:1px solid #e2e4e7;border-bottom:none;padding:0}div[data-type="core/freeform"].is-selected .block-library-classic__toolbar,div[data-type="core/freeform"].is-typing .block-library-classic__toolbar{display:block;border-color:#b5bcc2}.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 .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}.is-selected .wp-block-gallery{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{outline:none}.blocks-gallery-item figure.is-selected{outline:4px solid #0085ba}body.admin-color-sunrise .blocks-gallery-item figure.is-selected{outline:4px solid #d1864a}body.admin-color-ocean .blocks-gallery-item figure.is-selected{outline:4px solid #a3b9a2}body.admin-color-midnight .blocks-gallery-item figure.is-selected{outline:4px solid #e14d43}body.admin-color-ectoplasm .blocks-gallery-item figure.is-selected{outline:4px solid #a7b656}body.admin-color-coffee .blocks-gallery-item figure.is-selected{outline:4px solid #c2a68c}body.admin-color-blue .blocks-gallery-item figure.is-selected{outline:4px solid #82b4cb}body.admin-color-light .blocks-gallery-item figure.is-selected{outline:4px solid #0085ba}.blocks-gallery-item figure.is-transient img{opacity:.3}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu{background:#fff;border:1px solid rgba(66,88,99,.4);border-radius:4px;transition:box-shadow .2s ease-out}@media (prefers-reduced-motion:reduce){.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu{transition-duration:0s}}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu:hover,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu:hover{box-shadow:0 2px 10px rgba(25,30,35,.1),0 0 2px rgba(25,30,35,.1)}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button{color:rgba(14,28,46,.62);padding:2px;height:24px}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover{box-shadow:none}@media (min-width:600px){.columns-7 .blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button,.columns-7 .blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button,.columns-8 .blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button,.columns-8 .blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button{padding:0;width:inherit;height:inherit}}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button:focus,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button:focus{color:inherit}.block-library-gallery-item__inline-menu,.block-library-gallery-item__move-menu{margin:8px;display:inline-flex;z-index:20}.block-library-gallery-item__inline-menu .components-button,.block-library-gallery-item__move-menu .components-button{color:transparent}@media (min-width:600px){.columns-7 .block-library-gallery-item__inline-menu,.columns-7 .block-library-gallery-item__move-menu,.columns-8 .block-library-gallery-item__inline-menu,.columns-8 .block-library-gallery-item__move-menu{padding:2px}}.block-library-gallery-item__inline-menu{position:absolute;top:-2px;left:-2px}.block-library-gallery-item__move-menu{position:absolute;top:-2px;right:-2px}.blocks-gallery-item__move-backward,.blocks-gallery-item__move-forward,.blocks-gallery-item__remove{padding:0}.blocks-gallery-item .components-spinner{position:absolute;top:50%;right:50%;margin-top:-9px;margin-right:-9px}.wp-block[data-type="core/group"] .block-editor-block-list__insertion-point{right:0;left:0}.wp-block[data-type="core/group"]>.block-editor-block-list__block-edit>div>.wp-block-group.has-background>.wp-block-group__inner-container>.block-editor-inner-blocks{margin-top:-32px;margin-bottom:-32px}.wp-block[data-type="core/group"]>.block-editor-block-list__block-edit>div>.wp-block-group>.wp-block-group__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block[data-align=full]{margin-right:auto;margin-left:auto;padding-right:28px;padding-left:28px}@media (min-width:600px){.wp-block[data-type="core/group"]>.block-editor-block-list__block-edit>div>.wp-block-group>.wp-block-group__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block[data-align=full]{padding-right:58px;padding-left:58px}}.wp-block[data-type="core/group"]>.block-editor-block-list__block-edit>div>.wp-block-group.has-background>.wp-block-group__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block[data-align=full]{margin-right:-30px;width:calc(100% + 60px)}.wp-block[data-type="core/group"][data-align=full]>.block-editor-block-list__block-edit>div>.wp-block-group>.wp-block-group__inner-container>.block-editor-inner-blocks{margin-right:auto;margin-left:auto;padding-right:0;padding-left:0}.wp-block[data-type="core/group"][data-align=full]>.block-editor-block-list__block-edit>div>.wp-block-group>.wp-block-group__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout{margin-right:0;margin-left:0}.wp-block[data-type="core/group"][data-align=full]>.block-editor-block-list__block-edit>div>.wp-block-group>.wp-block-group__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block[data-align=full]{padding-left:0;padding-right:0;right:0;width:100%;max-width:none}.wp-block[data-type="core/group"][data-align=full]>.block-editor-block-list__block-edit>div>.wp-block-group>.wp-block-group__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block[data-align=full]>.block-editor-block-list__block-edit{margin-right:0;margin-left:0}.wp-block[data-type="core/group"][data-align=full]>.block-editor-block-list__block-edit>div>.wp-block-group.has-background>.wp-block-group__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block[data-align=full]{width:calc(100% + 60px)}[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}.wp-block-html{margin-bottom:28px}.wp-block-html .block-editor-plain-text{font-family:Menlo,Consolas,monaco,monospace;color:#23282d;padding:.8em 1em;border:1px solid #e2e4e7;border-radius:4px;max-height:250px;font-size:16px}@media (min-width:600px){.wp-block-html .block-editor-plain-text{font-size:13px}}.wp-block-html .block-editor-plain-text:focus{box-shadow:none}.wp-block-image{position:relative;margin-right:0;margin-left:0}.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 .components-resizable-box__container{display:inline-block}.wp-block-image .components-resizable-box__container img{display:block;width:inherit;height:inherit}.wp-block-image.is-focused .components-resizable-box__handle{display:block;z-index:1}.block-editor-block-list__block[data-type="core/image"][data-align=center] .wp-block-image{margin-right:auto;margin-left:auto}.block-editor-block-list__block[data-type="core/image"][data-align=center][data-resized=false] .wp-block-image>div{margin-right:auto;margin-left:auto}.edit-post-sidebar .block-library-image__dimensions{margin-bottom:1em}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row{display:flex;justify-content:space-between}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height,.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__width{margin-bottom:.5em}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height input,.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__width input{line-height:1.25}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__width{margin-left:5px}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height{margin-right:5px}.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-type="core/image"][data-align=center] .block-editor-block-list__block-edit figure,[data-type="core/image"][data-align=left] .block-editor-block-list__block-edit figure,[data-type="core/image"][data-align=right] .block-editor-block-list__block-edit figure{margin:0}[data-type="core/image"][data-align=full] figure img,[data-type="core/image"][data-align=wide] figure img{width:100%}[data-type="core/image"] .block-editor-block-list__block-edit figure.is-resized{margin:0}.wp-block-latest-comments.has-avatars .avatar{margin-left:10px}.wp-block-latest-comments__comment-excerpt p{font-size:14px;line-height:1.8;margin:5px 0 20px;padding-top:0}.wp-block-latest-comments.has-avatars .wp-block-latest-comments__comment{min-height:36px}.block-editor .wp-block-latest-posts{padding-right:2.5em}.block-editor .wp-block-latest-posts.is-grid{padding-right:0}.wp-block-latest-posts li a>div{display:inline}.wp-block-legacy-widget__edit-container,.wp-block-legacy-widget__preview{padding-right:2.5em;padding-left:2.5em}.wp-block-legacy-widget__edit-container .widget-inside{border:none;display:block;box-shadow:none}.wp-block-legacy-widget__update-button{margin-right:auto;display:block}.wp-block-legacy-widget__preview{overflow:auto}.wp-block-legacy-widget__edit-widget-title{margin:-14px -13px 0;background:#f8f9f9;color:#555d66;top:-13px;position:relative;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;padding:8px 14px;font-weight:600}.wp-block-media-text .__resizable_base__{-ms-grid-column:1;-ms-grid-column-span:2;grid-column:1/span 2;-ms-grid-row:2;grid-row:2}.wp-block-media-text.is-vertically-aligned-top .block-editor-inner-blocks,.wp-block-media-text.is-vertically-aligned-top .editor-media-container__resizer{-ms-grid-row-align:start;align-self:start}.wp-block-media-text .block-editor-inner-blocks,.wp-block-media-text .editor-media-container__resizer,.wp-block-media-text.is-vertically-aligned-center .block-editor-inner-blocks,.wp-block-media-text.is-vertically-aligned-center .editor-media-container__resizer{-ms-grid-row-align:center;align-self:center}.wp-block-media-text.is-vertically-aligned-bottom .block-editor-inner-blocks,.wp-block-media-text.is-vertically-aligned-bottom .editor-media-container__resizer{-ms-grid-row-align:end;align-self:end}.wp-block-media-text .editor-media-container__resizer{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1;width:100%!important}.wp-block-media-text.is-image-fill .editor-media-container__resizer{height:100%!important}.wp-block-media-text .block-editor-inner-blocks,.wp-block-media-text.has-media-on-the-right .editor-media-container__resizer{-ms-grid-column:2;grid-column:2;-ms-grid-row:1;grid-row:1}.wp-block-media-text .block-editor-inner-blocks{word-break:break-word;text-align:initial;padding:0 8%}.wp-block-media-text.has-media-on-the-right .block-editor-inner-blocks{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1}.wp-block-media-text>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block{max-width:unset}figure.block-library-media-text__media-container{margin:0;height:100%;width:100%}.wp-block-media-text .block-library-media-text__media-container img,.wp-block-media-text .block-library-media-text__media-container video{vertical-align:middle;width:100%}.editor-media-container__resizer .components-resizable-box__handle{display:none}.wp-block-media-text.is-selected:not(.is-stacked-on-mobile) .editor-media-container__resizer .components-resizable-box__handle{display:block}@media (min-width:600px){.wp-block-media-text.is-selected.is-stacked-on-mobile .editor-media-container__resizer .components-resizable-box__handle{display:block}}@media (max-width:600px){.wp-block-media-text.is-stacked-on-mobile .block-editor-inner-blocks{-ms-grid-column:1;grid-column:1;-ms-grid-row:2;grid-row:2}.wp-block-media-text.is-stacked-on-mobile .editor-media-container__resizer,.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .block-editor-inner-blocks{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1}.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .editor-media-container__resizer{-ms-grid-column:1;grid-column:1;-ms-grid-row:2;grid-row:2}}.block-editor-block-list__block[data-type="core/more"]{max-width:100%;text-align:center;margin-top:28px;margin-bottom:28px}.block-editor .wp-block-more{display:block;text-align:center;white-space:nowrap}.block-editor .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:#6c7781;border:none;box-shadow:none;white-space:nowrap;text-align:center;margin:0;border-radius:4px;background:#fff;padding:6px 8px;height:24px}.block-editor .wp-block-more input[type=text]:focus{box-shadow:none}.block-editor .wp-block-more:before{content:"";position:absolute;top:50%;right:0;left:0;border-top:3px dashed #ccd0d4}[data-type="core/navigation"] .wp-block-navigation .block-editor-inner-blocks{flex:1}[data-type="core/navigation"] .wp-block-navigation .block-editor-inner-blocks>.block-editor-block-list__layout{margin-right:0;margin-left:0}[data-type="core/navigation"] .wp-block-navigation.items-justification-left .block-editor-inner-blocks>.block-editor-block-list__layout{justify-content:flex-start}[data-type="core/navigation"] .wp-block-navigation.items-justification-center .block-editor-inner-blocks>.block-editor-block-list__layout{justify-content:center}[data-type="core/navigation"] .wp-block-navigation.items-justification-right .block-editor-inner-blocks>.block-editor-block-list__layout{justify-content:flex-end}[data-type="core/navigation"] .wp-block-navigation .block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block{width:auto;padding-right:0;padding-left:0;margin-right:0;margin-left:0;margin-bottom:1em}[data-type="core/navigation"] .wp-block-navigation .block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block>.block-editor-block-list__block-edit{margin-right:0;margin-left:0}[data-type="core/navigation"] .wp-block-navigation .block-editor-inner-blocks>.block-editor-block-list__layout .wp-block>.block-editor-block-list__block-edit>[data-block]{margin-top:0;margin-bottom:0}[data-type="core/navigation"] .wp-block-navigation .block-editor-block-list__block-edit:before{right:0;left:0}[data-type="core/navigation"].has-child-selected .wp-block-navigation .block-editor-block-list__block-edit:before,[data-type="core/navigation"].is-hovered .wp-block-navigation .block-editor-block-list__block-edit:before,[data-type="core/navigation"].is-selected .wp-block-navigation .block-editor-block-list__block-edit:before{border-color:transparent!important}[data-type="core/navigation"] .wp-block-navigation .block-editor-block-list__insertion-point{display:none}[data-type="core/navigation"] .wp-block-navigation .block-list-appender{margin:0}[data-type="core/navigation"] .wp-block-navigation .block-list-appender .block-editor-button-block-appender{padding:8px;outline:none;background:none}.wp-block-navigation,.wp-block-navigation .block-editor-block-list__layout{display:flex;flex-wrap:wrap}.wp-block-navigation__inserter-content{padding:16px}.wp-block-navigation .wp-block-navigation-link{margin-left:8px;margin-right:8px;padding:0 8px}.wp-block-navigation .wp-block-navigation-link .block-editor-block-list__layout{display:block;margin:8px}.wp-block-navigation .wp-block-navigation-link .block-editor-inner-blocks{display:none}.wp-block-navigation .wp-block-navigation-link.is-editing .block-editor-inner-blocks{display:block}.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{width:42px;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__icon-container:after{content:"";pointer-events:none;display:block;width:0;height:0;border-right:3px solid transparent;border-left:3px solid transparent;border-top:5px solid;margin-right:4px;margin-left:2px}.block-library-colors-selector .block-library-colors-selector__icon-container:focus,.block-library-colors-selector .block-library-colors-selector__icon-container:hover{color:#555d66;box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff}.block-library-colors-selector .block-library-colors-selector__state-selection{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.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-editor-block-mover.is-horizontal .block-editor-block-mover__control-drag-handle{display:none}.wp-block-navigation-link__container,.wp-block-navigation-link__field .components-text-control__input.components-text-control__input{border-radius:0;line-height:36px;min-height:36px}.wp-block-navigation-link__edit-container{display:flex;white-space:nowrap;margin-right:-8px}.wp-block-navigation-link__edit-container .wp-block-navigation-link__content{margin-left:8px;padding:0 8px;box-shadow:inset 0 0 0 1px #7e8993;transition:box-shadow .1s linear;border-radius:4px}@media (prefers-reduced-motion:reduce){.wp-block-navigation-link__edit-container .wp-block-navigation-link__content{transition-duration:0s}}.wp-block-navigation-link__edit-container .wp-block-navigation-link__content:focus{color:#191e23;box-shadow:inset 0 0 0 2px #007cba;outline:2px solid transparent}.wp-block-navigation-link{margin-left:8px;padding:0 8px 0 55px}.wp-block-navigation-link .block-editor-block-list__layout{display:block;margin:8px}.wp-block-navigation-link .block-editor-inner-blocks{display:none}.wp-block-navigation-link.is-editing,.wp-block-navigation-link.is-selected{min-width:20px}.wp-block-navigation-link.is-editing .block-editor-inner-blocks{display:block}.wp-block-navigation-link.has-link .wp-block-navigation-link__content{border-bottom-style:solid;border-bottom-width:1px}.wp-block-navigation-link .block-editor-rich-text__editable.is-selected:not(.keep-placeholder-on-focus):not(:focus) [data-rich-text-placeholder]:after{display:inline-block}[data-type="core/navigation-link"] .block-editor-block-toolbar{right:15px}.wp-block-navigation-link__nofollow-external-link{display:block}.wp-block-navigation-link__separator{margin:8px 0;border-top:1px solid #e2e4e7}.components-popover.wp-block-navigation-link__dropdown-content{margin-top:-1px;margin-right:-4px}.wp-block-navigation-link__dropdown-content .components-popover__content{padding:8px 0}.wp-block-navigation .block-editor-block-list__block[data-type="core/navigation-link"]>.block-editor-block-list__insertion-point{display:none}.block-editor-block-list__block[data-type="core/nextpage"]{max-width:100%;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;display:inline-block;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#6c7781;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 #ccd0d4}.block-editor-rich-text__editable.wp-block-paragraph:not(.is-selected) [data-rich-text-placeholder]:after{display:inline-block;padding-left:108px}.wp-block .wp-block .block-editor-rich-text__editable.wp-block-paragraph:not(.is-selected) [data-rich-text-placeholder]:after{padding-left:36px}.block-editor-block-list__block[data-type="core/paragraph"] p{min-height:28px;line-height:1.8}.block-editor-block-list__block[data-type="core/paragraph"] .has-drop-cap:focus{min-height:28px!important}.block-editor-block-list__block[data-type="core/pullquote"][data-align=left] p,.block-editor-block-list__block[data-type="core/pullquote"][data-align=right] p{font-size:20px}.wp-block-pullquote blockquote p{font-size:28px;line-height:1.6}.wp-block-pullquote.is-style-solid-color{margin-right:0;margin-left:0}.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-quote__citation{font-size:13px}.block-editor .wp-block-rss{padding-right:2.5em}.block-editor .wp-block-rss.is-grid{padding-right:0}.wp-block-rss li a>div{display:inline}.wp-block-search__input{border-radius:4px;border:1px solid #7e8993;color:rgba(14,28,46,.62);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-search__input:focus{outline:none}.wp-block-search__button{background:#f7f7f7;border-radius:4px;border:1px solid #ccc;box-shadow:inset 0 -1px 0 #ccc;padding:6px 10px}.wp-block-search__button,.wp-block-shortcode{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-shortcode{display:flex;flex-direction:column;padding:14px;background-color:rgba(139,139,150,.1);margin-bottom:28px}.wp-block-shortcode label{display:flex;align-items:center;white-space:nowrap;font-weight:600;flex-shrink:0}.wp-block-shortcode .block-editor-plain-text{width:80%;max-height:250px}.wp-block-shortcode .dashicon{margin-left:8px}.wp-social-link{padding:6px}.wp-block-social-links.is-style-pill-shape .wp-social-link{padding-right:16px;padding-left:16px}.wp-block-social-links div.block-editor-url-input{display:inline-block;margin-right:8px}.wp-block-social-links .block-editor-block-list__layout{display:flex;justify-content:flex-start}[data-type="core/social-links"] .wp-block-social-links>.block-editor-inner-blocks>.block-editor-block-list__layout{margin-right:0;margin-left:0}[data-type="core/social-links"] .wp-block-social-links>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block{width:auto;padding-right:0;padding-left:0}[data-type="core/social-links"] .wp-block-social-links>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block>.block-editor-block-list__block-edit{margin-right:0;margin-left:0}[data-type="core/social-links"] .wp-block-social-links>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block>.block-editor-block-list__block-edit:before{border-left:none;border-top:none;border-bottom:none}[data-type="core/social-links"] .wp-block-social-links>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block.is-hovered:not(.is-navigate-mode)>.block-editor-block-list__block-edit:before{box-shadow:none}[data-type="core/social-links"].has-child-selected .wp-block-social-links .block-editor-block-list__block-edit:before,[data-type="core/social-links"].is-hovered .wp-block-social-links .block-editor-block-list__block-edit:before,[data-type="core/social-links"].is-selected .wp-block-social-links .block-editor-block-list__block-edit:before{border-color:transparent!important}[data-type="core/social-links"] .wp-block-social-links>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block>.block-editor-block-list__block-edit>[data-block]{margin-top:0;margin-bottom:0}[data-type="core/social-links"] .wp-block-social-links .block-editor-block-list__insertion-point{display:none}.wp-block-social-links .block-list-appender{margin:0}.wp-block-social-links .block-list-appender .block-editor-button-block-appender{padding:8px;outline:none;background:none}[data-type="core/social-links"][data-align=center] .wp-block-social-links{justify-content:center}.block-editor-block-preview__content .wp-social-link:disabled{opacity:1}.block-editor-block-preview__content [data-type="core/social-links"]{width:auto!important;display:inline-block}[data-type="core/social-links"]:not(.is-selected):not(.has-child-selected) .wp-block-social-links{min-height:36px}[data-type="core/social-links"] .wp-social-link__is-incomplete{transition:transform .1s ease;transform-origin:center center}[data-type="core/social-links"]:not(.is-selected):not(.has-child-selected) .wp-social-link__is-incomplete{opacity:0;transform:scale(0);width:0;padding:0;margin-left:0}.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}}.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}[data-type="core/social-links"] .wp-social-link:focus{opacity:1;box-shadow:0 0 0 2px #fff,0 0 0 4px #007cba;outline:2px solid transparent}.block-library-spacer__resize-container.is-selected{background:#f3f4f5}.block-library-spacer__resize-container{clear:both;margin-bottom:28px}.edit-post-visual-editor p.wp-block-subhead{color:#6c7781;font-size:1.1em;font-style:italic}.block-editor-block-list__block[data-type="core/table"][data-align=center],.block-editor-block-list__block[data-type="core/table"][data-align=left],.block-editor-block-list__block[data-type="core/table"][data-align=right]{height:auto}.block-editor-block-list__block[data-type="core/table"][data-align=center] table,.block-editor-block-list__block[data-type="core/table"][data-align=left] table,.block-editor-block-list__block[data-type="core/table"][data-align=right] table{width:auto}.block-editor-block-list__block[data-type="core/table"][data-align=center] td,.block-editor-block-list__block[data-type="core/table"][data-align=center] th,.block-editor-block-list__block[data-type="core/table"][data-align=left] td,.block-editor-block-list__block[data-type="core/table"][data-align=left] th,.block-editor-block-list__block[data-type="core/table"][data-align=right] td,.block-editor-block-list__block[data-type="core/table"][data-align=right] th{word-break:break-word}.block-editor-block-list__block[data-type="core/table"][data-align=center]{text-align:initial}.block-editor-block-list__block[data-type="core/table"][data-align=center] table{margin:0 auto}.wp-block-table{margin:0}.wp-block-table table{border-collapse:collapse}.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:#00a0d2;box-shadow:inset 0 0 0 1px #00a0d2;border-style:double}.wp-block-table figcaption{color:#555d66;font-size:13px;text-align:center}.wp-block-table__placeholder-form.wp-block-table__placeholder-form .wp-block-table__placeholder-input{width:112px;margin-left:8px;margin-bottom:0}.wp-block-table__placeholder-form.wp-block-table__placeholder-form .wp-block-table__placeholder-input input{height:36px}.wp-block-table__placeholder-form.wp-block-table__placeholder-form .wp-block-table__placeholder-button{margin-top:auto;margin-left:auto}.block-editor .wp-block-tag-cloud a{display:inline-block;margin-left:5px}.block-editor .wp-block-tag-cloud span{display:inline-block;margin-right:5px;color:#8f98a1;text-decoration:none}.wp-block-text-columns .block-editor-rich-text__editable:focus{outline:1px solid #e2e4e7}pre.wp-block-verse{color:#191e23;white-space:nowrap;font-family:inherit;font-size:inherit;padding:1em;overflow:auto}.block-editor-block-list__block[data-align=center]{text-align:center}.editor-video-poster-control .components-button{display:block;margin-left:8px}.editor-video-poster-control .components-button+.components-button{margin-top:1em}.block-editor-block-list__layout .reusable-block-edit-panel{align-items:center;background:#f8f9f9;color:#555d66;display:flex;flex-wrap:wrap;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;position:relative;top:-14px;margin:0 -14px;padding:8px 14px;z-index:61;border:1px dashed rgba(145,151,162,.25);border-bottom:none}.block-editor-block-list__layout .block-editor-block-list__layout .reusable-block-edit-panel{margin:0 -14px;padding:8px 14px}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__spinner{margin:0 5px}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__info{margin-left:auto}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__label{margin-left:8px;white-space:nowrap;font-weight:600}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__title{flex:1 1 100%;font-size:14px;height:30px;margin:4px 0 8px}.block-editor-block-list__layout .reusable-block-edit-panel .components-button.reusable-block-edit-panel__button{flex-shrink:0}@media (min-width:960px){.block-editor-block-list__layout .reusable-block-edit-panel{flex-wrap:nowrap}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__title{margin:0}.block-editor-block-list__layout .reusable-block-edit-panel .components-button.reusable-block-edit-panel__button{margin:0 5px 0 0}}.block-editor-block-list__layout .is-selected .reusable-block-edit-panel{border-color:rgba(66,88,99,.4) transparent rgba(66,88,99,.4) rgba(66,88,99,.4)}.is-dark-theme .block-editor-block-list__layout .is-selected .reusable-block-edit-panel{border-color:hsla(0,0%,100%,.45) transparent hsla(0,0%,100%,.45) hsla(0,0%,100%,.45)}.is-dark-theme .is-selected.is-navigate-mode .reusable-block-edit-panel,.is-selected.is-navigate-mode .reusable-block-edit-panel{border-color:#007cba transparent #007cba #007cba}.editor-styles-wrapper [data-block]{margin-top:28px;margin-bottom:28px} \ 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 c4b65b2f87..0fc7c4e887 100644 --- a/wp-includes/css/dist/block-library/editor.css +++ b/wp-includes/css/dist/block-library/editor.css @@ -4,6 +4,9 @@ /** * Breakpoints & Media Queries */ +/** + * Colors + */ /** * Often re-used variables */ @@ -94,6 +97,34 @@ div[data-type="core/button"] div[data-block] { display: table; } +.wp-block-buttons .wp-block.block-editor-block-list__block[data-type="core/button"] { + display: inline-block; + width: auto; } + +.wp-block-buttons div[data-type="core/button"] div[data-block] { + display: block; } + +.wp-block-buttons[data-align="center"] .block-editor-block-list__layout { + display: flex; + align-items: center; + flex-wrap: wrap; + justify-content: center; } + +.wp-block-buttons[data-align="right"] .block-editor-block-list__layout { + display: flex; + justify-content: flex-end; } + +.wp-block-buttons .block-list-appender { + display: inline-block !important; + margin: 0; } + +.wp-block-buttons .block-editor-block-list__layout > div:last-child { + display: inline-block; } + +.wp-block-buttons .block-editor-button-block-appender { + background: none; + outline: none; } + .block-editor .wp-block-categories ul { padding-left: 2.5em; } .block-editor .wp-block-categories ul ul { @@ -110,68 +141,36 @@ div[data-type="core/button"] div[data-block] { .wp-block-code .block-editor-plain-text:focus { box-shadow: none; } -.components-tab-button { - display: inline-flex; - align-items: flex-end; - margin: 0; - padding: 3px; - background: none; - outline: none; - color: #555d66; - cursor: pointer; - position: relative; - height: 36px; - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; - font-size: 13px; - font-weight: 500; - border: 0; } - .components-tab-button.is-active, .components-tab-button.is-active:hover { - color: #fff; } - .components-tab-button:disabled { - cursor: default; } - .components-tab-button > span { - border: 1px solid transparent; - padding: 0 6px; - box-sizing: content-box; - height: 28px; - line-height: 28px; } - .components-tab-button:hover > span, - .components-tab-button:focus > span { - color: #555d66; } - .components-tab-button:not(:disabled).is-active > span, - .components-tab-button:not(:disabled):hover > span, - .components-tab-button:not(:disabled):focus > span { - border: 1px solid #555d66; } - .components-tab-button.is-active > span, - .components-tab-button.is-active:hover > span { - background-color: #555d66; - color: #fff; } - -.wp-block-columns .editor-block-list__layout .editor-block-list__block { +.wp-block-columns .block-editor-block-list__layout .block-editor-block-list__block { max-width: none; } +.components-popover.block-editor-block-list__block-popover +.components-popover__content +.block-editor-block-contextual-toolbar[data-type="core/column"] { + margin-left: 0; } + .wp-block-columns { display: block; } - .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout { + .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout { display: flex; flex-wrap: wrap; } @media (min-width: 782px) { - .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout { + .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout { flex-wrap: nowrap; } } - .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"], - .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit, - .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit > div[data-block], - .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit .block-core-columns { + .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"], + .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"] > .block-editor-block-list__block-edit, + .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"] > .block-editor-block-list__block-edit > div[data-block], + .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"] > .block-editor-block-list__block-edit .block-core-columns { display: flex; flex-direction: column; flex: 1 1 auto; } @supports ((position: -webkit-sticky) or (position: sticky)) { - .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"], - .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit, - .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit > div[data-block], - .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit .block-core-columns { + .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"], + .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"] > .block-editor-block-list__block-edit, + .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"] > .block-editor-block-list__block-edit > div[data-block], + .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"] > .block-editor-block-list__block-edit .block-core-columns { flex: 1; } } - .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] { + .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"] { padding-left: 0; padding-right: 0; margin-left: -14px; @@ -181,29 +180,27 @@ div[data-type="core/button"] div[data-block] { overflow-wrap: break-word; flex-basis: 100%; } @media (min-width: 600px) { - .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] { + .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"] { flex-basis: calc(50% - (16px)); flex-grow: 0; margin-left: 0; margin-right: 0; } } @media (min-width: 600px) { - .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"]:nth-child(even) { + .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"]:nth-child(even) { margin-left: calc(32px); } } @media (min-width: 782px) { - .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"]:not(:first-child) { + .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"]:not(:first-child) { margin-left: calc(32px); } } - .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit { + .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"] > .block-editor-block-list__block-edit { margin-top: 0; margin-bottom: 0; } - .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit::before { + .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"] > .block-editor-block-list__block-edit::before { left: 0; right: 0; } - .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit > .editor-block-contextual-toolbar { - margin-left: -1px; } - .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit > [data-block] { + .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"] > .block-editor-block-list__block-edit > [data-block] { margin-top: 0; margin-bottom: 0; } - .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit > div > .block-core-columns > .editor-inner-blocks { + .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"] > .block-editor-block-list__block-edit > div > .block-core-columns > .block-editor-inner-blocks { margin-top: -28px; margin-bottom: -28px; } @@ -239,7 +236,7 @@ div.block-core-columns.is-vertically-aligned-bottom { /** * Fixes single Column breadcrumb position. */ -[data-type="core/column"] > .editor-block-list__block-edit > .editor-block-list__breadcrumb { +[data-type="core/column"] > .block-editor-block-list__block-edit > .editor-block-list__breadcrumb { left: -3px; } /** @@ -278,17 +275,8 @@ div.block-core-columns.is-vertically-aligned-bottom { margin-left: 0; margin-right: 0; } -.wp-block-cover-image.components-placeholder, -.wp-block-cover.components-placeholder { - background: rgba(139, 139, 150, 0.1); - min-height: 200px; } - .is-dark-theme .wp-block-cover-image.components-placeholder, .is-dark-theme - .wp-block-cover.components-placeholder { - background: rgba(255, 255, 255, 0.15); } - .wp-block-cover-image .wp-block-cover__placeholder-background-options, .wp-block-cover .wp-block-cover__placeholder-background-options { - max-width: 260px; margin-top: 1em; width: 100%; } @@ -545,7 +533,7 @@ div[data-type="core/freeform"].is-selected .block-editor-block-list__block-edit: border-color: #b5bcc2; border-left-color: transparent; } -div[data-type="core/freeform"] .editor-block-contextual-toolbar + div { +div[data-type="core/freeform"] .block-editor-block-contextual-toolbar + div { margin-top: 0; padding-top: 0; } @@ -682,8 +670,8 @@ body.admin-color-light .blocks-gallery-item figure.is-selected { color: rgba(14, 28, 46, 0.62); padding: 2px; height: 24px; } - .blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover, - .blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover { + .blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button:not(:disabled):not([aria-disabled="true"]):not(.is-secondary):hover, + .blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button:not(:disabled):not([aria-disabled="true"]):not(.is-secondary):hover { box-shadow: none; } @media (min-width: 600px) { .columns-7 .blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button, @@ -739,51 +727,51 @@ body.admin-color-light .blocks-gallery-item figure.is-selected { /** * Group: All Alignment Settings */ -.wp-block[data-type="core/group"] .editor-block-list__insertion-point { +.wp-block[data-type="core/group"] .block-editor-block-list__insertion-point { left: 0; right: 0; } -.wp-block[data-type="core/group"] > .editor-block-list__block-edit > div > .wp-block-group.has-background > .wp-block-group__inner-container > .editor-inner-blocks { +.wp-block[data-type="core/group"] > .block-editor-block-list__block-edit > div > .wp-block-group.has-background > .wp-block-group__inner-container > .block-editor-inner-blocks { margin-top: -32px; margin-bottom: -32px; } -.wp-block[data-type="core/group"] > .editor-block-list__block-edit > div > .wp-block-group > .wp-block-group__inner-container > .editor-inner-blocks > .editor-block-list__layout > .wp-block[data-align="full"] { +.wp-block[data-type="core/group"] > .block-editor-block-list__block-edit > div > .wp-block-group > .wp-block-group__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block[data-align="full"] { margin-left: auto; margin-right: auto; padding-left: 28px; padding-right: 28px; } @media (min-width: 600px) { - .wp-block[data-type="core/group"] > .editor-block-list__block-edit > div > .wp-block-group > .wp-block-group__inner-container > .editor-inner-blocks > .editor-block-list__layout > .wp-block[data-align="full"] { + .wp-block[data-type="core/group"] > .block-editor-block-list__block-edit > div > .wp-block-group > .wp-block-group__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block[data-align="full"] { padding-left: 58px; padding-right: 58px; } } -.wp-block[data-type="core/group"] > .editor-block-list__block-edit > div > .wp-block-group.has-background > .wp-block-group__inner-container > .editor-inner-blocks > .editor-block-list__layout > .wp-block[data-align="full"] { +.wp-block[data-type="core/group"] > .block-editor-block-list__block-edit > div > .wp-block-group.has-background > .wp-block-group__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block[data-align="full"] { margin-left: -30px; width: calc(100% + 60px); } /** * Group: Full Width Alignment */ -.wp-block[data-type="core/group"][data-align="full"] > .editor-block-list__block-edit > div > .wp-block-group > .wp-block-group__inner-container > .editor-inner-blocks { +.wp-block[data-type="core/group"][data-align="full"] > .block-editor-block-list__block-edit > div > .wp-block-group > .wp-block-group__inner-container > .block-editor-inner-blocks { margin-left: auto; margin-right: auto; padding-left: 0; padding-right: 0; } - .wp-block[data-type="core/group"][data-align="full"] > .editor-block-list__block-edit > div > .wp-block-group > .wp-block-group__inner-container > .editor-inner-blocks > .editor-block-list__layout { + .wp-block[data-type="core/group"][data-align="full"] > .block-editor-block-list__block-edit > div > .wp-block-group > .wp-block-group__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout { margin-left: 0; margin-right: 0; } -.wp-block[data-type="core/group"][data-align="full"] > .editor-block-list__block-edit > div > .wp-block-group > .wp-block-group__inner-container > .editor-inner-blocks > .editor-block-list__layout > .wp-block[data-align="full"] { +.wp-block[data-type="core/group"][data-align="full"] > .block-editor-block-list__block-edit > div > .wp-block-group > .wp-block-group__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block[data-align="full"] { padding-right: 0; padding-left: 0; left: 0; width: 100%; max-width: none; } - .wp-block[data-type="core/group"][data-align="full"] > .editor-block-list__block-edit > div > .wp-block-group > .wp-block-group__inner-container > .editor-inner-blocks > .editor-block-list__layout > .wp-block[data-align="full"] > .editor-block-list__block-edit { + .wp-block[data-type="core/group"][data-align="full"] > .block-editor-block-list__block-edit > div > .wp-block-group > .wp-block-group__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block[data-align="full"] > .block-editor-block-list__block-edit { margin-left: 0; margin-right: 0; } -.wp-block[data-type="core/group"][data-align="full"] > .editor-block-list__block-edit > div > .wp-block-group.has-background > .wp-block-group__inner-container > .editor-inner-blocks > .editor-block-list__layout > .wp-block[data-align="full"] { +.wp-block[data-type="core/group"][data-align="full"] > .block-editor-block-list__block-edit > div > .wp-block-group.has-background > .wp-block-group__inner-container > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block[data-align="full"] { width: calc(100% + 60px); } [data-type="core/group"].is-selected .block-list-appender { @@ -970,7 +958,7 @@ body.admin-color-light .blocks-gallery-item figure.is-selected { -ms-grid-row: 1; grid-row: 1; } -.wp-block-media-text .editor-inner-blocks { +.wp-block-media-text .block-editor-inner-blocks { word-break: break-word; -ms-grid-column: 2; grid-column: 2; @@ -1380,11 +1368,11 @@ figure.block-library-media-text__media-container { padding-left: 16px; padding-right: 16px; } -.wp-block-social-links div.editor-url-input { +.wp-block-social-links div.block-editor-url-input { display: inline-block; margin-left: 8px; } -.wp-block-social-links .editor-block-list__layout { +.wp-block-social-links .block-editor-block-list__layout { display: flex; justify-content: flex-start; } @@ -1454,6 +1442,9 @@ figure.block-library-media-text__media-container { .wp-social-link.wp-social-link__is-incomplete { opacity: 0.5; } + @media (prefers-reduced-motion: reduce) { + .wp-social-link.wp-social-link__is-incomplete { + transition-duration: 0s; } } .wp-block-social-links .is-selected .wp-social-link__is-incomplete, .wp-social-link.wp-social-link__is-incomplete:hover, @@ -1504,19 +1495,22 @@ figure.block-library-media-text__media-container { border-color: #00a0d2; box-shadow: inset 0 0 0 1px #00a0d2; border-style: double; } - .wp-block-table__placeholder-form.wp-block-table__placeholder-form { - text-align: left; - align-items: center; } - .wp-block-table__placeholder-input { - width: 100px; } - .wp-block-table__placeholder-button { - min-width: 100px; - justify-content: center; } .wp-block-table figcaption { color: #555d66; font-size: 13px; text-align: center; } +.wp-block-table__placeholder-form.wp-block-table__placeholder-form .wp-block-table__placeholder-input { + width: 112px; + margin-right: 8px; + margin-bottom: 0; } + .wp-block-table__placeholder-form.wp-block-table__placeholder-form .wp-block-table__placeholder-input input { + height: 36px; } + +.wp-block-table__placeholder-form.wp-block-table__placeholder-form .wp-block-table__placeholder-button { + margin-top: auto; + margin-right: auto; } + .block-editor .wp-block-tag-cloud a { display: inline-block; margin-right: 5px; } @@ -1548,12 +1542,6 @@ pre.wp-block-verse { .editor-video-poster-control .components-button + .components-button { margin-top: 1em; } -.wp-block-site-title__save-button { - position: absolute; - right: 0; - top: 0; - z-index: 1; } - /** * Import styles from internal editor components used by the blocks. */ @@ -1598,10 +1586,10 @@ pre.wp-block-verse { .block-editor-block-list__layout .reusable-block-edit-panel .components-button.reusable-block-edit-panel__button { margin: 0 0 0 5px; } } -.editor-block-list__layout .is-selected .reusable-block-edit-panel { +.block-editor-block-list__layout .is-selected .reusable-block-edit-panel { border-color: rgba(66, 88, 99, 0.4); border-left-color: transparent; } - .is-dark-theme .editor-block-list__layout .is-selected .reusable-block-edit-panel { + .is-dark-theme .block-editor-block-list__layout .is-selected .reusable-block-edit-panel { border-color: rgba(255, 255, 255, 0.45); border-left-color: transparent; } diff --git a/wp-includes/css/dist/block-library/editor.min.css b/wp-includes/css/dist/block-library/editor.min.css index 3fc3be30ad..031bba4918 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 @@ .block-editor 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 .block-editor-writing-flow__click-redirect{min-height:auto}.block-editor-block-list__block[data-type="core/button"][data-align=center]{text-align:center}.block-editor-block-list__block[data-type="core/button"][data-align=center] div[data-block]{margin-left:auto;margin-right:auto}.block-editor-block-list__block[data-type="core/button"][data-align=right]{ - /*!rtl:ignore*/text-align:right}.wp-block-button{position:relative}.wp-block-button [contenteditable]{cursor:text}.wp-block-button:not(.has-text-color):not(.is-style-outline) [data-rich-text-placeholder]:after{color:#fff}.wp-block-button .block-editor-rich-text__editable:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #00a0d2;outline:2px solid transparent;outline-offset:-2px}.wp-block-button [data-rich-text-placeholder]:after{opacity:.8}.wp-block-button__inline-link{color:#555d66;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,.is-typing .wp-block-button__inline-link{height:auto;overflow:visible;margin-top:16px}div[data-type="core/button"] div[data-block]{display:table}.block-editor .wp-block-categories ul{padding-left:2.5em}.block-editor .wp-block-categories ul ul{margin-top:6px}.wp-block-code .block-editor-plain-text{font-family:Menlo,Consolas,monaco,monospace;color:#23282d;font-size:16px}@media (min-width:600px){.wp-block-code .block-editor-plain-text{font-size:13px}}.wp-block-code .block-editor-plain-text:focus{box-shadow:none}.components-tab-button{display:inline-flex;align-items:flex-end;margin:0;padding:3px;background:none;outline:none;color:#555d66;cursor:pointer;position:relative;height:36px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;font-weight:500;border:0}.components-tab-button.is-active,.components-tab-button.is-active:hover{color:#fff}.components-tab-button:disabled{cursor:default}.components-tab-button>span{border:1px solid transparent;padding:0 6px;box-sizing:content-box;height:28px;line-height:28px}.components-tab-button:focus>span,.components-tab-button:hover>span{color:#555d66}.components-tab-button:not(:disabled).is-active>span,.components-tab-button:not(:disabled):focus>span,.components-tab-button:not(:disabled):hover>span{border:1px solid #555d66}.components-tab-button.is-active:hover>span,.components-tab-button.is-active>span{background-color:#555d66;color:#fff}.wp-block-columns .editor-block-list__layout .editor-block-list__block{max-width:none}.wp-block-columns{display:block}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout{display:flex;flex-wrap:wrap}@media (min-width:782px){.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout{flex-wrap:nowrap}}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"],.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit,.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit .block-core-columns,.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit>div[data-block]{display:flex;flex-direction:column;flex:1 1 auto}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"],.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit,.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit .block-core-columns,.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit>div[data-block]{flex:1}}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]{padding-left:0;padding-right:0;margin-left:-14px;margin-right:-14px;min-width:0;word-break:break-word;overflow-wrap:break-word;flex-basis:100%}@media (min-width:600px){.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]{flex-basis:calc(50% - 16px);flex-grow:0;margin-left:0;margin-right:0}}@media (min-width:600px){.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]:nth-child(2n){margin-left:32px}}@media (min-width:782px){.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]:not(:first-child){margin-left:32px}}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit{margin-top:0;margin-bottom:0}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit:before{left:0;right:0}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit>.editor-block-contextual-toolbar{margin-left:-1px}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit>[data-block]{margin-top:0;margin-bottom:0}.wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]>.editor-block-list__block-edit>div>.block-core-columns>.editor-inner-blocks{margin-top:-28px;margin-bottom:-28px}[data-type="core/columns"] .block-list-appender{margin-top:28px;margin-bottom:28px}.are-vertically-aligned-top .block-core-columns,div.block-core-columns.is-vertically-aligned-top{justify-content:flex-start}.are-vertically-aligned-center .block-core-columns,div.block-core-columns.is-vertically-aligned-center{justify-content:center}.are-vertically-aligned-bottom .block-core-columns,div.block-core-columns.is-vertically-aligned-bottom{justify-content:flex-end}[data-type="core/column"]>.editor-block-list__block-edit>.editor-block-list__breadcrumb{left:-3px}.block-core-columns>.block-editor-inner-blocks.has-overlay:after{left:0;right:0}[data-type="core/columns"][data-align=full] .wp-block-columns{padding-left:14px;padding-right:14px}@media (min-width:600px){[data-type="core/columns"][data-align=full] .wp-block-columns{padding-left:46px;padding-right:46px}}.wp-block-cover-image.components-placeholder h2,.wp-block-cover.components-placeholder h2{color:inherit}.wp-block-cover-image .block-editor-block-list__layout,.wp-block-cover .block-editor-block-list__layout{width:100%}.wp-block-cover-image .block-editor-block-list__block,.wp-block-cover .block-editor-block-list__block{color:#f8f9f9}.wp-block-cover-image .wp-block-cover__inner-container,.wp-block-cover .wp-block-cover__inner-container{text-align:left}.wp-block-cover-image .wp-block-cover__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout,.wp-block-cover .wp-block-cover__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout{margin-left:0;margin-right:0}.wp-block-cover-image.components-placeholder,.wp-block-cover.components-placeholder{background:rgba(139,139,150,.1);min-height:200px}.is-dark-theme .wp-block-cover-image.components-placeholder,.is-dark-theme .wp-block-cover.components-placeholder{background:hsla(0,0%,100%,.15)}.wp-block-cover-image .wp-block-cover__placeholder-background-options,.wp-block-cover .wp-block-cover__placeholder-background-options{max-width:260px;margin-top:1em;width:100%}[data-align=left] .wp-block-cover,[data-align=left] .wp-block-cover-image,[data-align=right] .wp-block-cover,[data-align=right] .wp-block-cover-image{max-width:290px;width:100%}.block-library-cover__reset-button{margin-left:auto}.block-library-cover__resize-container:not(.is-resizing){height:auto!important}.wp-block-embed{margin-left:0;margin-right:0;clear:both}@media (min-width:600px){.wp-block-embed{min-width:360px}.wp-block-embed.components-placeholder{min-width:0}}.wp-block-embed.is-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:1em;min-height:200px;text-align:center;background:#f8f9f9}.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-file{display:flex;justify-content:space-between;align-items:center;margin-bottom:0}.wp-block-file .wp-block-file__content-wrapper{flex-grow:1}.wp-block-file .wp-block-file__textlink{display:inline-block;min-width:1em}.wp-block-file .wp-block-file__textlink:focus{box-shadow:none}.wp-block-file .wp-block-file__button-richtext-wrapper{display:inline-block;margin-left:.75em}.wp-block-file .wp-block-file__copy-url-button{margin-left:1em}.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 #e2e4e7;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:14px;color:#23282d}.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:#007fac}.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:#23282d;background:#f3f4f5;font-family:Menlo,Consolas,monaco,monospace;font-size:14px}.wp-block-freeform.block-library-rich-text__tinymce:focus code[data-mce-selected]{background:#e8eaeb}.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:transparent}.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 #e8eaeb;padding:10px}.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error{border:1px solid #e8eaeb;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.33333%}.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.66667%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-7 .gallery-item{width:14.28571%}.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.11111%}.wp-block-freeform.block-library-rich-text__tinymce .gallery img{max-width:100%;height:auto;border:none;padding:0}div[data-type="core/freeform"] .block-editor-block-list__block-edit:before{transition:border-color .1s linear,box-shadow .1s linear;border:1px solid #e2e4e7;outline:1px solid transparent}@media (prefers-reduced-motion:reduce){div[data-type="core/freeform"] .block-editor-block-list__block-edit:before{transition-duration:0s}}div[data-type="core/freeform"].is-selected .block-editor-block-list__block-edit:before{border-color:#b5bcc2 #b5bcc2 #b5bcc2 transparent}div[data-type="core/freeform"] .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:#23282d}.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;margin:0 -14px;position:-webkit-sticky;position:sticky;z-index:10;top:14px;transform:translateY(-14px);border:1px solid #e2e4e7;border-bottom:none;padding:0}div[data-type="core/freeform"].is-selected .block-library-classic__toolbar,div[data-type="core/freeform"].is-typing .block-library-classic__toolbar{display:block;border-color:#b5bcc2}.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 .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}.is-selected .wp-block-gallery{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{outline:none}.blocks-gallery-item figure.is-selected{outline:4px solid #0085ba}body.admin-color-sunrise .blocks-gallery-item figure.is-selected{outline:4px solid #d1864a}body.admin-color-ocean .blocks-gallery-item figure.is-selected{outline:4px solid #a3b9a2}body.admin-color-midnight .blocks-gallery-item figure.is-selected{outline:4px solid #e14d43}body.admin-color-ectoplasm .blocks-gallery-item figure.is-selected{outline:4px solid #a7b656}body.admin-color-coffee .blocks-gallery-item figure.is-selected{outline:4px solid #c2a68c}body.admin-color-blue .blocks-gallery-item figure.is-selected{outline:4px solid #82b4cb}body.admin-color-light .blocks-gallery-item figure.is-selected{outline:4px solid #0085ba}.blocks-gallery-item figure.is-transient img{opacity:.3}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu{background:#fff;border:1px solid rgba(66,88,99,.4);border-radius:4px;transition:box-shadow .2s ease-out}@media (prefers-reduced-motion:reduce){.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu{transition-duration:0s}}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu:hover,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu:hover{box-shadow:0 2px 10px rgba(25,30,35,.1),0 0 2px rgba(25,30,35,.1)}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button{color:rgba(14,28,46,.62);padding:2px;height:24px}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{box-shadow:none}@media (min-width:600px){.columns-7 .blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button,.columns-7 .blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button,.columns-8 .blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button,.columns-8 .blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button{padding:0;width:inherit;height:inherit}}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button:focus,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button:focus{color:inherit}.block-library-gallery-item__inline-menu,.block-library-gallery-item__move-menu{margin:8px;display:inline-flex;z-index:20}.block-library-gallery-item__inline-menu .components-button,.block-library-gallery-item__move-menu .components-button{color:transparent}@media (min-width:600px){.columns-7 .block-library-gallery-item__inline-menu,.columns-7 .block-library-gallery-item__move-menu,.columns-8 .block-library-gallery-item__inline-menu,.columns-8 .block-library-gallery-item__move-menu{padding:2px}}.block-library-gallery-item__inline-menu{position:absolute;top:-2px;right:-2px}.block-library-gallery-item__move-menu{position:absolute;top:-2px;left:-2px}.blocks-gallery-item__move-backward,.blocks-gallery-item__move-forward,.blocks-gallery-item__remove{padding:0}.blocks-gallery-item .components-spinner{position:absolute;top:50%;left:50%;margin-top:-9px;margin-left:-9px}.wp-block[data-type="core/group"] .editor-block-list__insertion-point{left:0;right:0}.wp-block[data-type="core/group"]>.editor-block-list__block-edit>div>.wp-block-group.has-background>.wp-block-group__inner-container>.editor-inner-blocks{margin-top:-32px;margin-bottom:-32px}.wp-block[data-type="core/group"]>.editor-block-list__block-edit>div>.wp-block-group>.wp-block-group__inner-container>.editor-inner-blocks>.editor-block-list__layout>.wp-block[data-align=full]{margin-left:auto;margin-right:auto;padding-left:28px;padding-right:28px}@media (min-width:600px){.wp-block[data-type="core/group"]>.editor-block-list__block-edit>div>.wp-block-group>.wp-block-group__inner-container>.editor-inner-blocks>.editor-block-list__layout>.wp-block[data-align=full]{padding-left:58px;padding-right:58px}}.wp-block[data-type="core/group"]>.editor-block-list__block-edit>div>.wp-block-group.has-background>.wp-block-group__inner-container>.editor-inner-blocks>.editor-block-list__layout>.wp-block[data-align=full]{margin-left:-30px;width:calc(100% + 60px)}.wp-block[data-type="core/group"][data-align=full]>.editor-block-list__block-edit>div>.wp-block-group>.wp-block-group__inner-container>.editor-inner-blocks{margin-left:auto;margin-right:auto;padding-left:0;padding-right:0}.wp-block[data-type="core/group"][data-align=full]>.editor-block-list__block-edit>div>.wp-block-group>.wp-block-group__inner-container>.editor-inner-blocks>.editor-block-list__layout{margin-left:0;margin-right:0}.wp-block[data-type="core/group"][data-align=full]>.editor-block-list__block-edit>div>.wp-block-group>.wp-block-group__inner-container>.editor-inner-blocks>.editor-block-list__layout>.wp-block[data-align=full]{padding-right:0;padding-left:0;left:0;width:100%;max-width:none}.wp-block[data-type="core/group"][data-align=full]>.editor-block-list__block-edit>div>.wp-block-group>.wp-block-group__inner-container>.editor-inner-blocks>.editor-block-list__layout>.wp-block[data-align=full]>.editor-block-list__block-edit{margin-left:0;margin-right:0}.wp-block[data-type="core/group"][data-align=full]>.editor-block-list__block-edit>div>.wp-block-group.has-background>.wp-block-group__inner-container>.editor-inner-blocks>.editor-block-list__layout>.wp-block[data-align=full]{width:calc(100% + 60px)}[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}.wp-block-html{margin-bottom:28px}.wp-block-html .block-editor-plain-text{font-family:Menlo,Consolas,monaco,monospace;color:#23282d;padding:.8em 1em;border:1px solid #e2e4e7;border-radius:4px;max-height:250px;font-size:16px}@media (min-width:600px){.wp-block-html .block-editor-plain-text{font-size:13px}}.wp-block-html .block-editor-plain-text:focus{box-shadow:none}.wp-block-image{position:relative;margin-left:0;margin-right:0}.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 .components-resizable-box__container{display:inline-block}.wp-block-image .components-resizable-box__container img{display:block;width:inherit;height:inherit}.wp-block-image.is-focused .components-resizable-box__handle{display:block;z-index:1}.block-editor-block-list__block[data-type="core/image"][data-align=center] .wp-block-image{margin-left:auto;margin-right:auto}.block-editor-block-list__block[data-type="core/image"][data-align=center][data-resized=false] .wp-block-image>div{margin-left:auto;margin-right:auto}.edit-post-sidebar .block-library-image__dimensions{margin-bottom:1em}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row{display:flex;justify-content:space-between}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height,.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__width{margin-bottom:.5em}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height input,.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__width input{line-height:1.25}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__width{margin-right:5px}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height{margin-left:5px}.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-type="core/image"][data-align=center] .block-editor-block-list__block-edit figure,[data-type="core/image"][data-align=left] .block-editor-block-list__block-edit figure,[data-type="core/image"][data-align=right] .block-editor-block-list__block-edit figure{margin:0}[data-type="core/image"][data-align=full] figure img,[data-type="core/image"][data-align=wide] figure img{width:100%}[data-type="core/image"] .block-editor-block-list__block-edit figure.is-resized{margin:0}.wp-block-latest-comments.has-avatars .avatar{margin-right:10px}.wp-block-latest-comments__comment-excerpt p{font-size:14px;line-height:1.8;margin:5px 0 20px;padding-top:0}.wp-block-latest-comments.has-avatars .wp-block-latest-comments__comment{min-height:36px}.block-editor .wp-block-latest-posts{padding-left:2.5em}.block-editor .wp-block-latest-posts.is-grid{padding-left:0}.wp-block-latest-posts li a>div{display:inline}.wp-block-legacy-widget__edit-container,.wp-block-legacy-widget__preview{padding-left:2.5em;padding-right:2.5em}.wp-block-legacy-widget__edit-container .widget-inside{border:none;display:block;box-shadow:none}.wp-block-legacy-widget__update-button{margin-left:auto;display:block}.wp-block-legacy-widget__preview{overflow:auto}.wp-block-legacy-widget__edit-widget-title{margin:-14px -13px 0;background:#f8f9f9;color:#555d66;top:-13px;position:relative;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;padding:8px 14px;font-weight:600}.wp-block-media-text .__resizable_base__{-ms-grid-column:1;-ms-grid-column-span:2;grid-column:1/span 2;-ms-grid-row:2;grid-row:2}.wp-block-media-text.is-vertically-aligned-top .block-editor-inner-blocks,.wp-block-media-text.is-vertically-aligned-top .editor-media-container__resizer{-ms-grid-row-align:start;align-self:start}.wp-block-media-text .block-editor-inner-blocks,.wp-block-media-text .editor-media-container__resizer,.wp-block-media-text.is-vertically-aligned-center .block-editor-inner-blocks,.wp-block-media-text.is-vertically-aligned-center .editor-media-container__resizer{-ms-grid-row-align:center;align-self:center}.wp-block-media-text.is-vertically-aligned-bottom .block-editor-inner-blocks,.wp-block-media-text.is-vertically-aligned-bottom .editor-media-container__resizer{-ms-grid-row-align:end;align-self:end}.wp-block-media-text .editor-media-container__resizer{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1;width:100%!important}.wp-block-media-text.is-image-fill .editor-media-container__resizer{height:100%!important}.wp-block-media-text .editor-inner-blocks,.wp-block-media-text.has-media-on-the-right .editor-media-container__resizer{-ms-grid-column:2;grid-column:2;-ms-grid-row:1;grid-row:1}.wp-block-media-text .editor-inner-blocks{word-break:break-word;text-align:initial;padding:0 8%}.wp-block-media-text.has-media-on-the-right .block-editor-inner-blocks{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1}.wp-block-media-text>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block{max-width:unset}figure.block-library-media-text__media-container{margin:0;height:100%;width:100%}.wp-block-media-text .block-library-media-text__media-container img,.wp-block-media-text .block-library-media-text__media-container video{vertical-align:middle;width:100%}.editor-media-container__resizer .components-resizable-box__handle{display:none}.wp-block-media-text.is-selected:not(.is-stacked-on-mobile) .editor-media-container__resizer .components-resizable-box__handle{display:block}@media (min-width:600px){.wp-block-media-text.is-selected.is-stacked-on-mobile .editor-media-container__resizer .components-resizable-box__handle{display:block}}@media (max-width:600px){.wp-block-media-text.is-stacked-on-mobile .block-editor-inner-blocks{-ms-grid-column:1;grid-column:1;-ms-grid-row:2;grid-row:2}.wp-block-media-text.is-stacked-on-mobile .editor-media-container__resizer,.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .block-editor-inner-blocks{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1}.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .editor-media-container__resizer{-ms-grid-column:1;grid-column:1;-ms-grid-row:2;grid-row:2}}.block-editor-block-list__block[data-type="core/more"]{max-width:100%;text-align:center;margin-top:28px;margin-bottom:28px}.block-editor .wp-block-more{display:block;text-align:center;white-space:nowrap}.block-editor .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:#6c7781;border:none;box-shadow:none;white-space:nowrap;text-align:center;margin:0;border-radius:4px;background:#fff;padding:6px 8px;height:24px}.block-editor .wp-block-more input[type=text]:focus{box-shadow:none}.block-editor .wp-block-more:before{content:"";position:absolute;top:50%;left:0;right:0;border-top:3px dashed #ccd0d4}[data-type="core/navigation"] .wp-block-navigation .block-editor-inner-blocks{flex:1}[data-type="core/navigation"] .wp-block-navigation .block-editor-inner-blocks>.block-editor-block-list__layout{margin-left:0;margin-right:0}[data-type="core/navigation"] .wp-block-navigation.items-justification-left .block-editor-inner-blocks>.block-editor-block-list__layout{justify-content:flex-start}[data-type="core/navigation"] .wp-block-navigation.items-justification-center .block-editor-inner-blocks>.block-editor-block-list__layout{justify-content:center}[data-type="core/navigation"] .wp-block-navigation.items-justification-right .block-editor-inner-blocks>.block-editor-block-list__layout{justify-content:flex-end}[data-type="core/navigation"] .wp-block-navigation .block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block{width:auto;padding-left:0;padding-right:0;margin-left:0;margin-right:0;margin-bottom:1em}[data-type="core/navigation"] .wp-block-navigation .block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block>.block-editor-block-list__block-edit{margin-left:0;margin-right:0}[data-type="core/navigation"] .wp-block-navigation .block-editor-inner-blocks>.block-editor-block-list__layout .wp-block>.block-editor-block-list__block-edit>[data-block]{margin-top:0;margin-bottom:0}[data-type="core/navigation"] .wp-block-navigation .block-editor-block-list__block-edit:before{left:0;right:0}[data-type="core/navigation"].has-child-selected .wp-block-navigation .block-editor-block-list__block-edit:before,[data-type="core/navigation"].is-hovered .wp-block-navigation .block-editor-block-list__block-edit:before,[data-type="core/navigation"].is-selected .wp-block-navigation .block-editor-block-list__block-edit:before{border-color:transparent!important}[data-type="core/navigation"] .wp-block-navigation .block-editor-block-list__insertion-point{display:none}[data-type="core/navigation"] .wp-block-navigation .block-list-appender{margin:0}[data-type="core/navigation"] .wp-block-navigation .block-list-appender .block-editor-button-block-appender{padding:8px;outline:none;background:none}.wp-block-navigation,.wp-block-navigation .block-editor-block-list__layout{display:flex;flex-wrap:wrap}.wp-block-navigation__inserter-content{padding:16px}.wp-block-navigation .wp-block-navigation-link{margin-right:8px;margin-left:8px;padding:0 8px}.wp-block-navigation .wp-block-navigation-link .block-editor-block-list__layout{display:block;margin:8px}.wp-block-navigation .wp-block-navigation-link .block-editor-inner-blocks{display:none}.wp-block-navigation .wp-block-navigation-link.is-editing .block-editor-inner-blocks{display:block}.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{width:42px;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__icon-container:after{content:"";pointer-events:none;display:block;width:0;height:0;border-left:3px solid transparent;border-right:3px solid transparent;border-top:5px solid;margin-left:4px;margin-right:2px}.block-library-colors-selector .block-library-colors-selector__icon-container:focus,.block-library-colors-selector .block-library-colors-selector__icon-container:hover{color:#555d66;box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff}.block-library-colors-selector .block-library-colors-selector__state-selection{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.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-editor-block-mover.is-horizontal .block-editor-block-mover__control-drag-handle{display:none}.wp-block-navigation-link__container,.wp-block-navigation-link__field .components-text-control__input.components-text-control__input{border-radius:0;line-height:36px;min-height:36px}.wp-block-navigation-link__edit-container{display:flex;white-space:nowrap;margin-left:-8px}.wp-block-navigation-link__edit-container .wp-block-navigation-link__content{margin-right:8px;padding:0 8px;box-shadow:inset 0 0 0 1px #7e8993;transition:box-shadow .1s linear;border-radius:4px}@media (prefers-reduced-motion:reduce){.wp-block-navigation-link__edit-container .wp-block-navigation-link__content{transition-duration:0s}}.wp-block-navigation-link__edit-container .wp-block-navigation-link__content:focus{color:#191e23;box-shadow:inset 0 0 0 2px #007cba;outline:2px solid transparent}.wp-block-navigation-link{margin-right:8px;padding:0 55px 0 8px}.wp-block-navigation-link .block-editor-block-list__layout{display:block;margin:8px}.wp-block-navigation-link .block-editor-inner-blocks{display:none}.wp-block-navigation-link.is-editing,.wp-block-navigation-link.is-selected{min-width:20px}.wp-block-navigation-link.is-editing .block-editor-inner-blocks{display:block}.wp-block-navigation-link.has-link .wp-block-navigation-link__content{border-bottom-style:solid;border-bottom-width:1px}.wp-block-navigation-link .block-editor-rich-text__editable.is-selected:not(.keep-placeholder-on-focus):not(:focus) [data-rich-text-placeholder]:after{display:inline-block}[data-type="core/navigation-link"] .block-editor-block-toolbar{left:15px}.wp-block-navigation-link__nofollow-external-link{display:block}.wp-block-navigation-link__separator{margin:8px 0;border-top:1px solid #e2e4e7}.components-popover.wp-block-navigation-link__dropdown-content{margin-top:-1px;margin-left:-4px}.wp-block-navigation-link__dropdown-content .components-popover__content{padding:8px 0}.wp-block-navigation .block-editor-block-list__block[data-type="core/navigation-link"]>.block-editor-block-list__insertion-point{display:none}.block-editor-block-list__block[data-type="core/nextpage"]{max-width:100%;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;display:inline-block;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#6c7781;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 #ccd0d4}.block-editor-rich-text__editable.wp-block-paragraph:not(.is-selected) [data-rich-text-placeholder]:after{display:inline-block;padding-right:108px}.wp-block .wp-block .block-editor-rich-text__editable.wp-block-paragraph:not(.is-selected) [data-rich-text-placeholder]:after{padding-right:36px}.block-editor-block-list__block[data-type="core/paragraph"] p{min-height:28px;line-height:1.8}.block-editor-block-list__block[data-type="core/paragraph"] .has-drop-cap:focus{min-height:28px!important}.block-editor-block-list__block[data-type="core/pullquote"][data-align=left] p,.block-editor-block-list__block[data-type="core/pullquote"][data-align=right] p{font-size:20px}.wp-block-pullquote blockquote p{font-size:28px;line-height:1.6}.wp-block-pullquote.is-style-solid-color{margin-left:0;margin-right:0}.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-quote__citation{font-size:13px}.block-editor .wp-block-rss{padding-left:2.5em}.block-editor .wp-block-rss.is-grid{padding-left:0}.wp-block-rss li a>div{display:inline}.wp-block-search__input{border-radius:4px;border:1px solid #7e8993;color:rgba(14,28,46,.62);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-search__input:focus{outline:none}.wp-block-search__button{background:#f7f7f7;border-radius:4px;border:1px solid #ccc;box-shadow:inset 0 -1px 0 #ccc;padding:6px 10px}.wp-block-search__button,.wp-block-shortcode{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-shortcode{display:flex;flex-direction:column;padding:14px;background-color:rgba(139,139,150,.1);margin-bottom:28px}.wp-block-shortcode label{display:flex;align-items:center;white-space:nowrap;font-weight:600;flex-shrink:0}.wp-block-shortcode .block-editor-plain-text{width:80%;max-height:250px}.wp-block-shortcode .dashicon{margin-right:8px}.wp-social-link{padding:6px}.wp-block-social-links.is-style-pill-shape .wp-social-link{padding-left:16px;padding-right:16px}.wp-block-social-links div.editor-url-input{display:inline-block;margin-left:8px}.wp-block-social-links .editor-block-list__layout{display:flex;justify-content:flex-start}[data-type="core/social-links"] .wp-block-social-links>.block-editor-inner-blocks>.block-editor-block-list__layout{margin-left:0;margin-right:0}[data-type="core/social-links"] .wp-block-social-links>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block{width:auto;padding-left:0;padding-right:0}[data-type="core/social-links"] .wp-block-social-links>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block>.block-editor-block-list__block-edit{margin-left:0;margin-right:0}[data-type="core/social-links"] .wp-block-social-links>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block>.block-editor-block-list__block-edit:before{border-right:none;border-top:none;border-bottom:none}[data-type="core/social-links"] .wp-block-social-links>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block.is-hovered:not(.is-navigate-mode)>.block-editor-block-list__block-edit:before{box-shadow:none}[data-type="core/social-links"].has-child-selected .wp-block-social-links .block-editor-block-list__block-edit:before,[data-type="core/social-links"].is-hovered .wp-block-social-links .block-editor-block-list__block-edit:before,[data-type="core/social-links"].is-selected .wp-block-social-links .block-editor-block-list__block-edit:before{border-color:transparent!important}[data-type="core/social-links"] .wp-block-social-links>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block>.block-editor-block-list__block-edit>[data-block]{margin-top:0;margin-bottom:0}[data-type="core/social-links"] .wp-block-social-links .block-editor-block-list__insertion-point{display:none}.wp-block-social-links .block-list-appender{margin:0}.wp-block-social-links .block-list-appender .block-editor-button-block-appender{padding:8px;outline:none;background:none}[data-type="core/social-links"][data-align=center] .wp-block-social-links{justify-content:center}.block-editor-block-preview__content .wp-social-link:disabled{opacity:1}.block-editor-block-preview__content [data-type="core/social-links"]{width:auto!important;display:inline-block}[data-type="core/social-links"]:not(.is-selected):not(.has-child-selected) .wp-block-social-links{min-height:36px}[data-type="core/social-links"] .wp-social-link__is-incomplete{transition:transform .1s ease;transform-origin:center center}[data-type="core/social-links"]:not(.is-selected):not(.has-child-selected) .wp-social-link__is-incomplete{opacity:0;transform:scale(0);width:0;padding:0;margin-right:0}.wp-social-link.wp-social-link__is-incomplete{opacity:.5}.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}[data-type="core/social-links"] .wp-social-link:focus{opacity:1;box-shadow:0 0 0 2px #fff,0 0 0 4px #007cba;outline:2px solid transparent}.block-library-spacer__resize-container.is-selected{background:#f3f4f5}.block-library-spacer__resize-container{clear:both;margin-bottom:28px}.edit-post-visual-editor p.wp-block-subhead{color:#6c7781;font-size:1.1em;font-style:italic}.block-editor-block-list__block[data-type="core/table"][data-align=center],.block-editor-block-list__block[data-type="core/table"][data-align=left],.block-editor-block-list__block[data-type="core/table"][data-align=right]{height:auto}.block-editor-block-list__block[data-type="core/table"][data-align=center] table,.block-editor-block-list__block[data-type="core/table"][data-align=left] table,.block-editor-block-list__block[data-type="core/table"][data-align=right] table{width:auto}.block-editor-block-list__block[data-type="core/table"][data-align=center] td,.block-editor-block-list__block[data-type="core/table"][data-align=center] th,.block-editor-block-list__block[data-type="core/table"][data-align=left] td,.block-editor-block-list__block[data-type="core/table"][data-align=left] th,.block-editor-block-list__block[data-type="core/table"][data-align=right] td,.block-editor-block-list__block[data-type="core/table"][data-align=right] th{word-break:break-word}.block-editor-block-list__block[data-type="core/table"][data-align=center]{text-align:initial}.block-editor-block-list__block[data-type="core/table"][data-align=center] table{margin:0 auto}.wp-block-table{margin:0}.wp-block-table table{border-collapse:collapse}.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:#00a0d2;box-shadow:inset 0 0 0 1px #00a0d2;border-style:double}.wp-block-table__placeholder-form.wp-block-table__placeholder-form{text-align:left;align-items:center}.wp-block-table__placeholder-input{width:100px}.wp-block-table__placeholder-button{min-width:100px;justify-content:center}.wp-block-table figcaption{color:#555d66;font-size:13px;text-align:center}.block-editor .wp-block-tag-cloud a{display:inline-block;margin-right:5px}.block-editor .wp-block-tag-cloud span{display:inline-block;margin-left:5px;color:#8f98a1;text-decoration:none}.wp-block-text-columns .block-editor-rich-text__editable:focus{outline:1px solid #e2e4e7}pre.wp-block-verse{color:#191e23;white-space:nowrap;font-family:inherit;font-size:inherit;padding:1em;overflow:auto}.block-editor-block-list__block[data-align=center]{text-align:center}.editor-video-poster-control .components-button{display:block;margin-right:8px}.editor-video-poster-control .components-button+.components-button{margin-top:1em}.wp-block-site-title__save-button{position:absolute;right:0;top:0;z-index:1}.block-editor-block-list__layout .reusable-block-edit-panel{align-items:center;background:#f8f9f9;color:#555d66;display:flex;flex-wrap:wrap;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;position:relative;top:-14px;margin:0 -14px;padding:8px 14px;z-index:61;border:1px dashed rgba(145,151,162,.25);border-bottom:none}.block-editor-block-list__layout .block-editor-block-list__layout .reusable-block-edit-panel{margin:0 -14px;padding:8px 14px}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__spinner{margin:0 5px}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__info{margin-right:auto}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__label{margin-right:8px;white-space:nowrap;font-weight:600}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__title{flex:1 1 100%;font-size:14px;height:30px;margin:4px 0 8px}.block-editor-block-list__layout .reusable-block-edit-panel .components-button.reusable-block-edit-panel__button{flex-shrink:0}@media (min-width:960px){.block-editor-block-list__layout .reusable-block-edit-panel{flex-wrap:nowrap}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__title{margin:0}.block-editor-block-list__layout .reusable-block-edit-panel .components-button.reusable-block-edit-panel__button{margin:0 0 0 5px}}.editor-block-list__layout .is-selected .reusable-block-edit-panel{border-color:rgba(66,88,99,.4) rgba(66,88,99,.4) rgba(66,88,99,.4) transparent}.is-dark-theme .editor-block-list__layout .is-selected .reusable-block-edit-panel{border-color:hsla(0,0%,100%,.45) hsla(0,0%,100%,.45) hsla(0,0%,100%,.45) transparent}.is-dark-theme .is-selected.is-navigate-mode .reusable-block-edit-panel,.is-selected.is-navigate-mode .reusable-block-edit-panel{border-color:#007cba #007cba #007cba transparent}.editor-styles-wrapper [data-block]{margin-top:28px;margin-bottom:28px} \ No newline at end of file + /*!rtl:ignore*/text-align:right}.wp-block-button{position:relative}.wp-block-button [contenteditable]{cursor:text}.wp-block-button:not(.has-text-color):not(.is-style-outline) [data-rich-text-placeholder]:after{color:#fff}.wp-block-button .block-editor-rich-text__editable:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #00a0d2;outline:2px solid transparent;outline-offset:-2px}.wp-block-button [data-rich-text-placeholder]:after{opacity:.8}.wp-block-button__inline-link{color:#555d66;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,.is-typing .wp-block-button__inline-link{height:auto;overflow:visible;margin-top:16px}div[data-type="core/button"] div[data-block]{display:table}.wp-block-buttons .wp-block.block-editor-block-list__block[data-type="core/button"]{display:inline-block;width:auto}.wp-block-buttons div[data-type="core/button"] div[data-block]{display:block}.wp-block-buttons[data-align=center] .block-editor-block-list__layout{display:flex;align-items:center;flex-wrap:wrap;justify-content:center}.wp-block-buttons[data-align=right] .block-editor-block-list__layout{display:flex;justify-content:flex-end}.wp-block-buttons .block-list-appender{display:inline-block!important;margin:0}.wp-block-buttons .block-editor-block-list__layout>div:last-child{display:inline-block}.wp-block-buttons .block-editor-button-block-appender{background:none;outline:none}.block-editor .wp-block-categories ul{padding-left:2.5em}.block-editor .wp-block-categories ul ul{margin-top:6px}.wp-block-code .block-editor-plain-text{font-family:Menlo,Consolas,monaco,monospace;color:#23282d;font-size:16px}@media (min-width:600px){.wp-block-code .block-editor-plain-text{font-size:13px}}.wp-block-code .block-editor-plain-text:focus{box-shadow:none}.wp-block-columns .block-editor-block-list__layout .block-editor-block-list__block{max-width:none}.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-contextual-toolbar[data-type="core/column"]{margin-left:0}.wp-block-columns{display:block}.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout{display:flex;flex-wrap:wrap}@media (min-width:782px){.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout{flex-wrap:nowrap}}.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"],.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]>.block-editor-block-list__block-edit,.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]>.block-editor-block-list__block-edit .block-core-columns,.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]>.block-editor-block-list__block-edit>div[data-block]{display:flex;flex-direction:column;flex:1 1 auto}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"],.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]>.block-editor-block-list__block-edit,.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]>.block-editor-block-list__block-edit .block-core-columns,.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]>.block-editor-block-list__block-edit>div[data-block]{flex:1}}.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]{padding-left:0;padding-right:0;margin-left:-14px;margin-right:-14px;min-width:0;word-break:break-word;overflow-wrap:break-word;flex-basis:100%}@media (min-width:600px){.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]{flex-basis:calc(50% - 16px);flex-grow:0;margin-left:0;margin-right:0}}@media (min-width:600px){.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]:nth-child(2n){margin-left:32px}}@media (min-width:782px){.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]:not(:first-child){margin-left:32px}}.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]>.block-editor-block-list__block-edit{margin-top:0;margin-bottom:0}.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]>.block-editor-block-list__block-edit:before{left:0;right:0}.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]>.block-editor-block-list__block-edit>[data-block]{margin-top:0;margin-bottom:0}.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]>.block-editor-block-list__block-edit>div>.block-core-columns>.block-editor-inner-blocks{margin-top:-28px;margin-bottom:-28px}[data-type="core/columns"] .block-list-appender{margin-top:28px;margin-bottom:28px}.are-vertically-aligned-top .block-core-columns,div.block-core-columns.is-vertically-aligned-top{justify-content:flex-start}.are-vertically-aligned-center .block-core-columns,div.block-core-columns.is-vertically-aligned-center{justify-content:center}.are-vertically-aligned-bottom .block-core-columns,div.block-core-columns.is-vertically-aligned-bottom{justify-content:flex-end}[data-type="core/column"]>.block-editor-block-list__block-edit>.editor-block-list__breadcrumb{left:-3px}.block-core-columns>.block-editor-inner-blocks.has-overlay:after{left:0;right:0}[data-type="core/columns"][data-align=full] .wp-block-columns{padding-left:14px;padding-right:14px}@media (min-width:600px){[data-type="core/columns"][data-align=full] .wp-block-columns{padding-left:46px;padding-right:46px}}.wp-block-cover-image.components-placeholder h2,.wp-block-cover.components-placeholder h2{color:inherit}.wp-block-cover-image .block-editor-block-list__layout,.wp-block-cover .block-editor-block-list__layout{width:100%}.wp-block-cover-image .block-editor-block-list__block,.wp-block-cover .block-editor-block-list__block{color:#f8f9f9}.wp-block-cover-image .wp-block-cover__inner-container,.wp-block-cover .wp-block-cover__inner-container{text-align:left}.wp-block-cover-image .wp-block-cover__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout,.wp-block-cover .wp-block-cover__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout{margin-left:0;margin-right:0}.wp-block-cover-image .wp-block-cover__placeholder-background-options,.wp-block-cover .wp-block-cover__placeholder-background-options{margin-top:1em;width:100%}[data-align=left] .wp-block-cover,[data-align=left] .wp-block-cover-image,[data-align=right] .wp-block-cover,[data-align=right] .wp-block-cover-image{max-width:290px;width:100%}.block-library-cover__reset-button{margin-left:auto}.block-library-cover__resize-container:not(.is-resizing){height:auto!important}.wp-block-embed{margin-left:0;margin-right:0;clear:both}@media (min-width:600px){.wp-block-embed{min-width:360px}.wp-block-embed.components-placeholder{min-width:0}}.wp-block-embed.is-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:1em;min-height:200px;text-align:center;background:#f8f9f9}.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-file{display:flex;justify-content:space-between;align-items:center;margin-bottom:0}.wp-block-file .wp-block-file__content-wrapper{flex-grow:1}.wp-block-file .wp-block-file__textlink{display:inline-block;min-width:1em}.wp-block-file .wp-block-file__textlink:focus{box-shadow:none}.wp-block-file .wp-block-file__button-richtext-wrapper{display:inline-block;margin-left:.75em}.wp-block-file .wp-block-file__copy-url-button{margin-left:1em}.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 #e2e4e7;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:14px;color:#23282d}.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:#007fac}.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:#23282d;background:#f3f4f5;font-family:Menlo,Consolas,monaco,monospace;font-size:14px}.wp-block-freeform.block-library-rich-text__tinymce:focus code[data-mce-selected]{background:#e8eaeb}.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:transparent}.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 #e8eaeb;padding:10px}.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error{border:1px solid #e8eaeb;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.33333%}.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.66667%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-7 .gallery-item{width:14.28571%}.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.11111%}.wp-block-freeform.block-library-rich-text__tinymce .gallery img{max-width:100%;height:auto;border:none;padding:0}div[data-type="core/freeform"] .block-editor-block-list__block-edit:before{transition:border-color .1s linear,box-shadow .1s linear;border:1px solid #e2e4e7;outline:1px solid transparent}@media (prefers-reduced-motion:reduce){div[data-type="core/freeform"] .block-editor-block-list__block-edit:before{transition-duration:0s}}div[data-type="core/freeform"].is-selected .block-editor-block-list__block-edit:before{border-color:#b5bcc2 #b5bcc2 #b5bcc2 transparent}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:#23282d}.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;margin:0 -14px;position:-webkit-sticky;position:sticky;z-index:10;top:14px;transform:translateY(-14px);border:1px solid #e2e4e7;border-bottom:none;padding:0}div[data-type="core/freeform"].is-selected .block-library-classic__toolbar,div[data-type="core/freeform"].is-typing .block-library-classic__toolbar{display:block;border-color:#b5bcc2}.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 .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}.is-selected .wp-block-gallery{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{outline:none}.blocks-gallery-item figure.is-selected{outline:4px solid #0085ba}body.admin-color-sunrise .blocks-gallery-item figure.is-selected{outline:4px solid #d1864a}body.admin-color-ocean .blocks-gallery-item figure.is-selected{outline:4px solid #a3b9a2}body.admin-color-midnight .blocks-gallery-item figure.is-selected{outline:4px solid #e14d43}body.admin-color-ectoplasm .blocks-gallery-item figure.is-selected{outline:4px solid #a7b656}body.admin-color-coffee .blocks-gallery-item figure.is-selected{outline:4px solid #c2a68c}body.admin-color-blue .blocks-gallery-item figure.is-selected{outline:4px solid #82b4cb}body.admin-color-light .blocks-gallery-item figure.is-selected{outline:4px solid #0085ba}.blocks-gallery-item figure.is-transient img{opacity:.3}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu{background:#fff;border:1px solid rgba(66,88,99,.4);border-radius:4px;transition:box-shadow .2s ease-out}@media (prefers-reduced-motion:reduce){.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu{transition-duration:0s}}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu:hover,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu:hover{box-shadow:0 2px 10px rgba(25,30,35,.1),0 0 2px rgba(25,30,35,.1)}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button{color:rgba(14,28,46,.62);padding:2px;height:24px}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover{box-shadow:none}@media (min-width:600px){.columns-7 .blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button,.columns-7 .blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button,.columns-8 .blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button,.columns-8 .blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button{padding:0;width:inherit;height:inherit}}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button:focus,.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button:focus{color:inherit}.block-library-gallery-item__inline-menu,.block-library-gallery-item__move-menu{margin:8px;display:inline-flex;z-index:20}.block-library-gallery-item__inline-menu .components-button,.block-library-gallery-item__move-menu .components-button{color:transparent}@media (min-width:600px){.columns-7 .block-library-gallery-item__inline-menu,.columns-7 .block-library-gallery-item__move-menu,.columns-8 .block-library-gallery-item__inline-menu,.columns-8 .block-library-gallery-item__move-menu{padding:2px}}.block-library-gallery-item__inline-menu{position:absolute;top:-2px;right:-2px}.block-library-gallery-item__move-menu{position:absolute;top:-2px;left:-2px}.blocks-gallery-item__move-backward,.blocks-gallery-item__move-forward,.blocks-gallery-item__remove{padding:0}.blocks-gallery-item .components-spinner{position:absolute;top:50%;left:50%;margin-top:-9px;margin-left:-9px}.wp-block[data-type="core/group"] .block-editor-block-list__insertion-point{left:0;right:0}.wp-block[data-type="core/group"]>.block-editor-block-list__block-edit>div>.wp-block-group.has-background>.wp-block-group__inner-container>.block-editor-inner-blocks{margin-top:-32px;margin-bottom:-32px}.wp-block[data-type="core/group"]>.block-editor-block-list__block-edit>div>.wp-block-group>.wp-block-group__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block[data-align=full]{margin-left:auto;margin-right:auto;padding-left:28px;padding-right:28px}@media (min-width:600px){.wp-block[data-type="core/group"]>.block-editor-block-list__block-edit>div>.wp-block-group>.wp-block-group__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block[data-align=full]{padding-left:58px;padding-right:58px}}.wp-block[data-type="core/group"]>.block-editor-block-list__block-edit>div>.wp-block-group.has-background>.wp-block-group__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block[data-align=full]{margin-left:-30px;width:calc(100% + 60px)}.wp-block[data-type="core/group"][data-align=full]>.block-editor-block-list__block-edit>div>.wp-block-group>.wp-block-group__inner-container>.block-editor-inner-blocks{margin-left:auto;margin-right:auto;padding-left:0;padding-right:0}.wp-block[data-type="core/group"][data-align=full]>.block-editor-block-list__block-edit>div>.wp-block-group>.wp-block-group__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout{margin-left:0;margin-right:0}.wp-block[data-type="core/group"][data-align=full]>.block-editor-block-list__block-edit>div>.wp-block-group>.wp-block-group__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block[data-align=full]{padding-right:0;padding-left:0;left:0;width:100%;max-width:none}.wp-block[data-type="core/group"][data-align=full]>.block-editor-block-list__block-edit>div>.wp-block-group>.wp-block-group__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block[data-align=full]>.block-editor-block-list__block-edit{margin-left:0;margin-right:0}.wp-block[data-type="core/group"][data-align=full]>.block-editor-block-list__block-edit>div>.wp-block-group.has-background>.wp-block-group__inner-container>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block[data-align=full]{width:calc(100% + 60px)}[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}.wp-block-html{margin-bottom:28px}.wp-block-html .block-editor-plain-text{font-family:Menlo,Consolas,monaco,monospace;color:#23282d;padding:.8em 1em;border:1px solid #e2e4e7;border-radius:4px;max-height:250px;font-size:16px}@media (min-width:600px){.wp-block-html .block-editor-plain-text{font-size:13px}}.wp-block-html .block-editor-plain-text:focus{box-shadow:none}.wp-block-image{position:relative;margin-left:0;margin-right:0}.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 .components-resizable-box__container{display:inline-block}.wp-block-image .components-resizable-box__container img{display:block;width:inherit;height:inherit}.wp-block-image.is-focused .components-resizable-box__handle{display:block;z-index:1}.block-editor-block-list__block[data-type="core/image"][data-align=center] .wp-block-image{margin-left:auto;margin-right:auto}.block-editor-block-list__block[data-type="core/image"][data-align=center][data-resized=false] .wp-block-image>div{margin-left:auto;margin-right:auto}.edit-post-sidebar .block-library-image__dimensions{margin-bottom:1em}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row{display:flex;justify-content:space-between}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height,.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__width{margin-bottom:.5em}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height input,.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__width input{line-height:1.25}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__width{margin-right:5px}.edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height{margin-left:5px}.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-type="core/image"][data-align=center] .block-editor-block-list__block-edit figure,[data-type="core/image"][data-align=left] .block-editor-block-list__block-edit figure,[data-type="core/image"][data-align=right] .block-editor-block-list__block-edit figure{margin:0}[data-type="core/image"][data-align=full] figure img,[data-type="core/image"][data-align=wide] figure img{width:100%}[data-type="core/image"] .block-editor-block-list__block-edit figure.is-resized{margin:0}.wp-block-latest-comments.has-avatars .avatar{margin-right:10px}.wp-block-latest-comments__comment-excerpt p{font-size:14px;line-height:1.8;margin:5px 0 20px;padding-top:0}.wp-block-latest-comments.has-avatars .wp-block-latest-comments__comment{min-height:36px}.block-editor .wp-block-latest-posts{padding-left:2.5em}.block-editor .wp-block-latest-posts.is-grid{padding-left:0}.wp-block-latest-posts li a>div{display:inline}.wp-block-legacy-widget__edit-container,.wp-block-legacy-widget__preview{padding-left:2.5em;padding-right:2.5em}.wp-block-legacy-widget__edit-container .widget-inside{border:none;display:block;box-shadow:none}.wp-block-legacy-widget__update-button{margin-left:auto;display:block}.wp-block-legacy-widget__preview{overflow:auto}.wp-block-legacy-widget__edit-widget-title{margin:-14px -13px 0;background:#f8f9f9;color:#555d66;top:-13px;position:relative;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;padding:8px 14px;font-weight:600}.wp-block-media-text .__resizable_base__{-ms-grid-column:1;-ms-grid-column-span:2;grid-column:1/span 2;-ms-grid-row:2;grid-row:2}.wp-block-media-text.is-vertically-aligned-top .block-editor-inner-blocks,.wp-block-media-text.is-vertically-aligned-top .editor-media-container__resizer{-ms-grid-row-align:start;align-self:start}.wp-block-media-text .block-editor-inner-blocks,.wp-block-media-text .editor-media-container__resizer,.wp-block-media-text.is-vertically-aligned-center .block-editor-inner-blocks,.wp-block-media-text.is-vertically-aligned-center .editor-media-container__resizer{-ms-grid-row-align:center;align-self:center}.wp-block-media-text.is-vertically-aligned-bottom .block-editor-inner-blocks,.wp-block-media-text.is-vertically-aligned-bottom .editor-media-container__resizer{-ms-grid-row-align:end;align-self:end}.wp-block-media-text .editor-media-container__resizer{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1;width:100%!important}.wp-block-media-text.is-image-fill .editor-media-container__resizer{height:100%!important}.wp-block-media-text .block-editor-inner-blocks,.wp-block-media-text.has-media-on-the-right .editor-media-container__resizer{-ms-grid-column:2;grid-column:2;-ms-grid-row:1;grid-row:1}.wp-block-media-text .block-editor-inner-blocks{word-break:break-word;text-align:initial;padding:0 8%}.wp-block-media-text.has-media-on-the-right .block-editor-inner-blocks{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1}.wp-block-media-text>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block{max-width:unset}figure.block-library-media-text__media-container{margin:0;height:100%;width:100%}.wp-block-media-text .block-library-media-text__media-container img,.wp-block-media-text .block-library-media-text__media-container video{vertical-align:middle;width:100%}.editor-media-container__resizer .components-resizable-box__handle{display:none}.wp-block-media-text.is-selected:not(.is-stacked-on-mobile) .editor-media-container__resizer .components-resizable-box__handle{display:block}@media (min-width:600px){.wp-block-media-text.is-selected.is-stacked-on-mobile .editor-media-container__resizer .components-resizable-box__handle{display:block}}@media (max-width:600px){.wp-block-media-text.is-stacked-on-mobile .block-editor-inner-blocks{-ms-grid-column:1;grid-column:1;-ms-grid-row:2;grid-row:2}.wp-block-media-text.is-stacked-on-mobile .editor-media-container__resizer,.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .block-editor-inner-blocks{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1}.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .editor-media-container__resizer{-ms-grid-column:1;grid-column:1;-ms-grid-row:2;grid-row:2}}.block-editor-block-list__block[data-type="core/more"]{max-width:100%;text-align:center;margin-top:28px;margin-bottom:28px}.block-editor .wp-block-more{display:block;text-align:center;white-space:nowrap}.block-editor .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:#6c7781;border:none;box-shadow:none;white-space:nowrap;text-align:center;margin:0;border-radius:4px;background:#fff;padding:6px 8px;height:24px}.block-editor .wp-block-more input[type=text]:focus{box-shadow:none}.block-editor .wp-block-more:before{content:"";position:absolute;top:50%;left:0;right:0;border-top:3px dashed #ccd0d4}[data-type="core/navigation"] .wp-block-navigation .block-editor-inner-blocks{flex:1}[data-type="core/navigation"] .wp-block-navigation .block-editor-inner-blocks>.block-editor-block-list__layout{margin-left:0;margin-right:0}[data-type="core/navigation"] .wp-block-navigation.items-justification-left .block-editor-inner-blocks>.block-editor-block-list__layout{justify-content:flex-start}[data-type="core/navigation"] .wp-block-navigation.items-justification-center .block-editor-inner-blocks>.block-editor-block-list__layout{justify-content:center}[data-type="core/navigation"] .wp-block-navigation.items-justification-right .block-editor-inner-blocks>.block-editor-block-list__layout{justify-content:flex-end}[data-type="core/navigation"] .wp-block-navigation .block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block{width:auto;padding-left:0;padding-right:0;margin-left:0;margin-right:0;margin-bottom:1em}[data-type="core/navigation"] .wp-block-navigation .block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block>.block-editor-block-list__block-edit{margin-left:0;margin-right:0}[data-type="core/navigation"] .wp-block-navigation .block-editor-inner-blocks>.block-editor-block-list__layout .wp-block>.block-editor-block-list__block-edit>[data-block]{margin-top:0;margin-bottom:0}[data-type="core/navigation"] .wp-block-navigation .block-editor-block-list__block-edit:before{left:0;right:0}[data-type="core/navigation"].has-child-selected .wp-block-navigation .block-editor-block-list__block-edit:before,[data-type="core/navigation"].is-hovered .wp-block-navigation .block-editor-block-list__block-edit:before,[data-type="core/navigation"].is-selected .wp-block-navigation .block-editor-block-list__block-edit:before{border-color:transparent!important}[data-type="core/navigation"] .wp-block-navigation .block-editor-block-list__insertion-point{display:none}[data-type="core/navigation"] .wp-block-navigation .block-list-appender{margin:0}[data-type="core/navigation"] .wp-block-navigation .block-list-appender .block-editor-button-block-appender{padding:8px;outline:none;background:none}.wp-block-navigation,.wp-block-navigation .block-editor-block-list__layout{display:flex;flex-wrap:wrap}.wp-block-navigation__inserter-content{padding:16px}.wp-block-navigation .wp-block-navigation-link{margin-right:8px;margin-left:8px;padding:0 8px}.wp-block-navigation .wp-block-navigation-link .block-editor-block-list__layout{display:block;margin:8px}.wp-block-navigation .wp-block-navigation-link .block-editor-inner-blocks{display:none}.wp-block-navigation .wp-block-navigation-link.is-editing .block-editor-inner-blocks{display:block}.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{width:42px;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__icon-container:after{content:"";pointer-events:none;display:block;width:0;height:0;border-left:3px solid transparent;border-right:3px solid transparent;border-top:5px solid;margin-left:4px;margin-right:2px}.block-library-colors-selector .block-library-colors-selector__icon-container:focus,.block-library-colors-selector .block-library-colors-selector__icon-container:hover{color:#555d66;box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff}.block-library-colors-selector .block-library-colors-selector__state-selection{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.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-editor-block-mover.is-horizontal .block-editor-block-mover__control-drag-handle{display:none}.wp-block-navigation-link__container,.wp-block-navigation-link__field .components-text-control__input.components-text-control__input{border-radius:0;line-height:36px;min-height:36px}.wp-block-navigation-link__edit-container{display:flex;white-space:nowrap;margin-left:-8px}.wp-block-navigation-link__edit-container .wp-block-navigation-link__content{margin-right:8px;padding:0 8px;box-shadow:inset 0 0 0 1px #7e8993;transition:box-shadow .1s linear;border-radius:4px}@media (prefers-reduced-motion:reduce){.wp-block-navigation-link__edit-container .wp-block-navigation-link__content{transition-duration:0s}}.wp-block-navigation-link__edit-container .wp-block-navigation-link__content:focus{color:#191e23;box-shadow:inset 0 0 0 2px #007cba;outline:2px solid transparent}.wp-block-navigation-link{margin-right:8px;padding:0 55px 0 8px}.wp-block-navigation-link .block-editor-block-list__layout{display:block;margin:8px}.wp-block-navigation-link .block-editor-inner-blocks{display:none}.wp-block-navigation-link.is-editing,.wp-block-navigation-link.is-selected{min-width:20px}.wp-block-navigation-link.is-editing .block-editor-inner-blocks{display:block}.wp-block-navigation-link.has-link .wp-block-navigation-link__content{border-bottom-style:solid;border-bottom-width:1px}.wp-block-navigation-link .block-editor-rich-text__editable.is-selected:not(.keep-placeholder-on-focus):not(:focus) [data-rich-text-placeholder]:after{display:inline-block}[data-type="core/navigation-link"] .block-editor-block-toolbar{left:15px}.wp-block-navigation-link__nofollow-external-link{display:block}.wp-block-navigation-link__separator{margin:8px 0;border-top:1px solid #e2e4e7}.components-popover.wp-block-navigation-link__dropdown-content{margin-top:-1px;margin-left:-4px}.wp-block-navigation-link__dropdown-content .components-popover__content{padding:8px 0}.wp-block-navigation .block-editor-block-list__block[data-type="core/navigation-link"]>.block-editor-block-list__insertion-point{display:none}.block-editor-block-list__block[data-type="core/nextpage"]{max-width:100%;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;display:inline-block;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#6c7781;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 #ccd0d4}.block-editor-rich-text__editable.wp-block-paragraph:not(.is-selected) [data-rich-text-placeholder]:after{display:inline-block;padding-right:108px}.wp-block .wp-block .block-editor-rich-text__editable.wp-block-paragraph:not(.is-selected) [data-rich-text-placeholder]:after{padding-right:36px}.block-editor-block-list__block[data-type="core/paragraph"] p{min-height:28px;line-height:1.8}.block-editor-block-list__block[data-type="core/paragraph"] .has-drop-cap:focus{min-height:28px!important}.block-editor-block-list__block[data-type="core/pullquote"][data-align=left] p,.block-editor-block-list__block[data-type="core/pullquote"][data-align=right] p{font-size:20px}.wp-block-pullquote blockquote p{font-size:28px;line-height:1.6}.wp-block-pullquote.is-style-solid-color{margin-left:0;margin-right:0}.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-quote__citation{font-size:13px}.block-editor .wp-block-rss{padding-left:2.5em}.block-editor .wp-block-rss.is-grid{padding-left:0}.wp-block-rss li a>div{display:inline}.wp-block-search__input{border-radius:4px;border:1px solid #7e8993;color:rgba(14,28,46,.62);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-search__input:focus{outline:none}.wp-block-search__button{background:#f7f7f7;border-radius:4px;border:1px solid #ccc;box-shadow:inset 0 -1px 0 #ccc;padding:6px 10px}.wp-block-search__button,.wp-block-shortcode{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-shortcode{display:flex;flex-direction:column;padding:14px;background-color:rgba(139,139,150,.1);margin-bottom:28px}.wp-block-shortcode label{display:flex;align-items:center;white-space:nowrap;font-weight:600;flex-shrink:0}.wp-block-shortcode .block-editor-plain-text{width:80%;max-height:250px}.wp-block-shortcode .dashicon{margin-right:8px}.wp-social-link{padding:6px}.wp-block-social-links.is-style-pill-shape .wp-social-link{padding-left:16px;padding-right:16px}.wp-block-social-links div.block-editor-url-input{display:inline-block;margin-left:8px}.wp-block-social-links .block-editor-block-list__layout{display:flex;justify-content:flex-start}[data-type="core/social-links"] .wp-block-social-links>.block-editor-inner-blocks>.block-editor-block-list__layout{margin-left:0;margin-right:0}[data-type="core/social-links"] .wp-block-social-links>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block{width:auto;padding-left:0;padding-right:0}[data-type="core/social-links"] .wp-block-social-links>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block>.block-editor-block-list__block-edit{margin-left:0;margin-right:0}[data-type="core/social-links"] .wp-block-social-links>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block>.block-editor-block-list__block-edit:before{border-right:none;border-top:none;border-bottom:none}[data-type="core/social-links"] .wp-block-social-links>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block.is-hovered:not(.is-navigate-mode)>.block-editor-block-list__block-edit:before{box-shadow:none}[data-type="core/social-links"].has-child-selected .wp-block-social-links .block-editor-block-list__block-edit:before,[data-type="core/social-links"].is-hovered .wp-block-social-links .block-editor-block-list__block-edit:before,[data-type="core/social-links"].is-selected .wp-block-social-links .block-editor-block-list__block-edit:before{border-color:transparent!important}[data-type="core/social-links"] .wp-block-social-links>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block>.block-editor-block-list__block-edit>[data-block]{margin-top:0;margin-bottom:0}[data-type="core/social-links"] .wp-block-social-links .block-editor-block-list__insertion-point{display:none}.wp-block-social-links .block-list-appender{margin:0}.wp-block-social-links .block-list-appender .block-editor-button-block-appender{padding:8px;outline:none;background:none}[data-type="core/social-links"][data-align=center] .wp-block-social-links{justify-content:center}.block-editor-block-preview__content .wp-social-link:disabled{opacity:1}.block-editor-block-preview__content [data-type="core/social-links"]{width:auto!important;display:inline-block}[data-type="core/social-links"]:not(.is-selected):not(.has-child-selected) .wp-block-social-links{min-height:36px}[data-type="core/social-links"] .wp-social-link__is-incomplete{transition:transform .1s ease;transform-origin:center center}[data-type="core/social-links"]:not(.is-selected):not(.has-child-selected) .wp-social-link__is-incomplete{opacity:0;transform:scale(0);width:0;padding:0;margin-right:0}.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}}.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}[data-type="core/social-links"] .wp-social-link:focus{opacity:1;box-shadow:0 0 0 2px #fff,0 0 0 4px #007cba;outline:2px solid transparent}.block-library-spacer__resize-container.is-selected{background:#f3f4f5}.block-library-spacer__resize-container{clear:both;margin-bottom:28px}.edit-post-visual-editor p.wp-block-subhead{color:#6c7781;font-size:1.1em;font-style:italic}.block-editor-block-list__block[data-type="core/table"][data-align=center],.block-editor-block-list__block[data-type="core/table"][data-align=left],.block-editor-block-list__block[data-type="core/table"][data-align=right]{height:auto}.block-editor-block-list__block[data-type="core/table"][data-align=center] table,.block-editor-block-list__block[data-type="core/table"][data-align=left] table,.block-editor-block-list__block[data-type="core/table"][data-align=right] table{width:auto}.block-editor-block-list__block[data-type="core/table"][data-align=center] td,.block-editor-block-list__block[data-type="core/table"][data-align=center] th,.block-editor-block-list__block[data-type="core/table"][data-align=left] td,.block-editor-block-list__block[data-type="core/table"][data-align=left] th,.block-editor-block-list__block[data-type="core/table"][data-align=right] td,.block-editor-block-list__block[data-type="core/table"][data-align=right] th{word-break:break-word}.block-editor-block-list__block[data-type="core/table"][data-align=center]{text-align:initial}.block-editor-block-list__block[data-type="core/table"][data-align=center] table{margin:0 auto}.wp-block-table{margin:0}.wp-block-table table{border-collapse:collapse}.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:#00a0d2;box-shadow:inset 0 0 0 1px #00a0d2;border-style:double}.wp-block-table figcaption{color:#555d66;font-size:13px;text-align:center}.wp-block-table__placeholder-form.wp-block-table__placeholder-form .wp-block-table__placeholder-input{width:112px;margin-right:8px;margin-bottom:0}.wp-block-table__placeholder-form.wp-block-table__placeholder-form .wp-block-table__placeholder-input input{height:36px}.wp-block-table__placeholder-form.wp-block-table__placeholder-form .wp-block-table__placeholder-button{margin-top:auto;margin-right:auto}.block-editor .wp-block-tag-cloud a{display:inline-block;margin-right:5px}.block-editor .wp-block-tag-cloud span{display:inline-block;margin-left:5px;color:#8f98a1;text-decoration:none}.wp-block-text-columns .block-editor-rich-text__editable:focus{outline:1px solid #e2e4e7}pre.wp-block-verse{color:#191e23;white-space:nowrap;font-family:inherit;font-size:inherit;padding:1em;overflow:auto}.block-editor-block-list__block[data-align=center]{text-align:center}.editor-video-poster-control .components-button{display:block;margin-right:8px}.editor-video-poster-control .components-button+.components-button{margin-top:1em}.block-editor-block-list__layout .reusable-block-edit-panel{align-items:center;background:#f8f9f9;color:#555d66;display:flex;flex-wrap:wrap;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;position:relative;top:-14px;margin:0 -14px;padding:8px 14px;z-index:61;border:1px dashed rgba(145,151,162,.25);border-bottom:none}.block-editor-block-list__layout .block-editor-block-list__layout .reusable-block-edit-panel{margin:0 -14px;padding:8px 14px}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__spinner{margin:0 5px}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__info{margin-right:auto}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__label{margin-right:8px;white-space:nowrap;font-weight:600}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__title{flex:1 1 100%;font-size:14px;height:30px;margin:4px 0 8px}.block-editor-block-list__layout .reusable-block-edit-panel .components-button.reusable-block-edit-panel__button{flex-shrink:0}@media (min-width:960px){.block-editor-block-list__layout .reusable-block-edit-panel{flex-wrap:nowrap}.block-editor-block-list__layout .reusable-block-edit-panel .reusable-block-edit-panel__title{margin:0}.block-editor-block-list__layout .reusable-block-edit-panel .components-button.reusable-block-edit-panel__button{margin:0 0 0 5px}}.block-editor-block-list__layout .is-selected .reusable-block-edit-panel{border-color:rgba(66,88,99,.4) rgba(66,88,99,.4) rgba(66,88,99,.4) transparent}.is-dark-theme .block-editor-block-list__layout .is-selected .reusable-block-edit-panel{border-color:hsla(0,0%,100%,.45) hsla(0,0%,100%,.45) hsla(0,0%,100%,.45) transparent}.is-dark-theme .is-selected.is-navigate-mode .reusable-block-edit-panel,.is-selected.is-navigate-mode .reusable-block-edit-panel{border-color:#007cba #007cba #007cba transparent}.editor-styles-wrapper [data-block]{margin-top:28px;margin-bottom:28px} \ No newline at end of file diff --git a/wp-includes/css/dist/block-library/style-rtl.css b/wp-includes/css/dist/block-library/style-rtl.css index 54718d6e40..3c4aa811fa 100644 --- a/wp-includes/css/dist/block-library/style-rtl.css +++ b/wp-includes/css/dist/block-library/style-rtl.css @@ -4,6 +4,9 @@ /** * Breakpoints & Media Queries */ +/** + * Colors + */ /** * Often re-used variables */ @@ -79,6 +82,13 @@ background-color: transparent; border: 2px solid; } +.wp-block-buttons .wp-block-button { + display: inline-block; + margin: 4px; } + +.wp-block-buttons.aligncenter { + text-align: center; } + .wp-block-calendar { text-align: center; } .wp-block-calendar th, @@ -720,6 +730,9 @@ section.wp-block-cover-image > h2, margin-top: 0.5em; margin-bottom: 1em; } +.is-style-rounded img { + border-radius: 9999px; } + .is-style-circle-mask img { border-radius: 9999px; } @supports ((-webkit-mask-image: none) or (mask-image: none)) or (-webkit-mask-image: none) { @@ -735,7 +748,7 @@ section.wp-block-cover-image > h2, mask-size: contain; -webkit-mask-position: center; mask-position: center; - border-radius: none; } } + border-radius: 0; } } .wp-block-latest-comments__comment { font-size: 15px; @@ -954,10 +967,11 @@ section.wp-block-cover-image > h2, padding-left: 0; } .wp-block-navigation > ul > li > ul { background: #fff; - -webkit-box-shadow: 2px 4px 4px -1px rgba(97, 97, 97, 0.153); - -moz-box-shadow: 2px 4px 4px -1px rgba(97, 97, 97, 0.153); - border-radius: 4px; - box-shadow: 2px 4px 4px -1px rgba(97, 97, 97, 0.153); + -webkit-box-shadow: 0 3px 30px rgba(25, 30, 35, 0.1); + -moz-box-shadow: 0 3px 30px rgba(25, 30, 35, 0.1); + border-radius: 3px; + box-shadow: 0 3px 30px rgba(25, 30, 35, 0.1); + border: 1px solid #e2e4e7; margin: 0; position: absolute; right: 0; @@ -975,19 +989,25 @@ section.wp-block-cover-image > h2, text-decoration: none; } .wp-block-navigation > ul > li > ul a:hover { text-decoration: underline; } - .wp-block-navigation > ul > li > ul::after { + .wp-block-navigation > ul > li > ul::after, .wp-block-navigation > ul > li > ul::before { bottom: 100%; right: 50%; border: solid transparent; - border-color: rgba(255, 255, 255, 0); - border-bottom-color: #fff; content: " "; height: 0; width: 0; position: absolute; - pointer-events: none; + pointer-events: none; } + .wp-block-navigation > ul > li > ul::after { + border-color: rgba(255, 255, 255, 0); + border-bottom-color: #fff; border-width: 10px; margin-right: -10px; } + .wp-block-navigation > ul > li > ul::before { + border-color: rgba(226, 228, 231, 0); + border-bottom-color: #e2e4e7; + border-width: 11px; + margin-right: -11px; } .wp-block-navigation > ul > li > ul ul { width: 100%; } @@ -1023,7 +1043,7 @@ section.wp-block-cover-image > h2, .is-style-dark > ul > li > ul { background: #333; - border-radius: 4px; } + border: 1px solid #111; } .is-style-dark > ul > li > ul a { text-decoration: none; color: #fff; } @@ -1031,8 +1051,11 @@ section.wp-block-cover-image > h2, text-decoration: underline; color: #eee; } .is-style-dark > ul > li > ul::after { - border-color: rgba(24, 24, 24, 0); + border-color: rgba(51, 51, 51, 0); border-bottom-color: #333; } + .is-style-dark > ul > li > ul::before { + border-color: rgba(17, 17, 17, 0); + border-bottom-color: #111; } .is-small-text { font-size: 14px; } @@ -1194,6 +1217,9 @@ p.has-text-color a { border-radius: 36px; margin-left: 8px; transition: transform 0.1s ease; } + @media (prefers-reduced-motion: reduce) { + .wp-social-link { + transition-duration: 0s; } } .wp-social-link a { padding: 6px; display: block; @@ -1557,10 +1583,6 @@ p.wp-block-subhead { .wp-block-text-columns.columns-4 .wp-block-column { width: calc(100% / 4); } -pre.wp-block-verse { - white-space: nowrap; - overflow: auto; } - .wp-block-video { margin-right: 0; margin-left: 0; } diff --git a/wp-includes/css/dist/block-library/style-rtl.min.css b/wp-includes/css/dist/block-library/style-rtl.min.css index 1560bf82cb..b21a6cc192 100644 --- a/wp-includes/css/dist/block-library/style-rtl.min.css +++ b/wp-includes/css/dist/block-library/style-rtl.min.css @@ -1 +1 @@ -.wp-block-audio figcaption{margin-top:.5em;margin-bottom:1em}.wp-block-audio audio{width:100%;min-width:300px}.wp-block-button{color:#fff}.wp-block-button.aligncenter{text-align:center}.wp-block-button.alignright{text-align:right}.wp-block-button__link{background-color:#32373c;border:none;border-radius:28px;box-shadow:none;color:inherit;cursor:pointer;display:inline-block;font-size:18px;margin:0;padding:12px 24px;text-align:center;text-decoration:none;overflow-wrap:break-word}.wp-block-button__link:active,.wp-block-button__link:focus,.wp-block-button__link:hover,.wp-block-button__link:visited{color:inherit}.is-style-squared .wp-block-button__link{border-radius:0}.no-border-radius.wp-block-button__link{border-radius:0!important}.is-style-outline{color:#32373c}.is-style-outline .wp-block-button__link{background-color:transparent;border:2px solid}.wp-block-calendar{text-align:center}.wp-block-calendar tbody td,.wp-block-calendar th{padding:4px;border:1px solid #e2e4e7}.wp-block-calendar tfoot td{border:none}.wp-block-calendar table{width:100%;border-collapse:collapse;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.wp-block-calendar table th{font-weight:400;background:#edeff0}.wp-block-calendar a{text-decoration:underline}.wp-block-calendar tfoot a{color:#00739c}.wp-block-calendar table caption,.wp-block-calendar table tbody{color:#40464d}.wp-block-categories.alignleft{margin-right:2em}.wp-block-categories.alignright{margin-left:2em}.wp-block-columns{display:flex;margin-bottom:28px;flex-wrap:wrap}@media (min-width:782px){.wp-block-columns{flex-wrap:nowrap}}.wp-block-column{flex-grow:1;min-width:0;word-break:break-word;overflow-wrap:break-word}@media (max-width:599px){.wp-block-column{flex-basis:100%!important}}@media (min-width:600px){.wp-block-column{flex-basis:calc(50% - 16px);flex-grow:0}.wp-block-column:nth-child(2n){margin-right:32px}}@media (min-width:782px){.wp-block-column:not(:first-child){margin-right:32px}}.wp-block-columns.are-vertically-aligned-top{align-items:flex-start}.wp-block-columns.are-vertically-aligned-center{align-items:center}.wp-block-columns.are-vertically-aligned-bottom{align-items:flex-end}.wp-block-column.is-vertically-aligned-top{align-self:flex-start}.wp-block-column.is-vertically-aligned-center{-ms-grid-row-align:center;align-self:center}.wp-block-column.is-vertically-aligned-bottom{align-self:flex-end}.wp-block-cover,.wp-block-cover-image{position:relative;background-color:#000;background-size:cover;background-position:50%;min-height:430px;height:100%;width:100%;display:flex;justify-content:center;align-items:center;overflow:hidden}.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:fixed}@supports (-webkit-overflow-scrolling:touch){.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:scroll}}@media (prefers-reduced-motion:reduce){.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:scroll}}.wp-block-cover-image.has-background-dim:before,.wp-block-cover.has-background-dim:before{content:"";background-color:inherit}.wp-block-cover-image.has-background-dim:not(.has-background-gradient):before,.wp-block-cover-image .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim:not(.has-background-gradient):before,.wp-block-cover .wp-block-cover__gradient-background{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1}.wp-block-cover-image.has-background-dim:not(.has-background-gradient):before,.wp-block-cover-image .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim:not(.has-background-gradient):before,.wp-block-cover .wp-block-cover__gradient-background{opacity:.5}.wp-block-cover-image.has-background-dim.has-background-dim-10:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-10:not(.has-background-gradient):before{opacity:.1}.wp-block-cover-image.has-background-dim.has-background-dim-10 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-10 .wp-block-cover__gradient-background{opacity:.1}.wp-block-cover-image.has-background-dim.has-background-dim-20:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-20:not(.has-background-gradient):before{opacity:.2}.wp-block-cover-image.has-background-dim.has-background-dim-20 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-20 .wp-block-cover__gradient-background{opacity:.2}.wp-block-cover-image.has-background-dim.has-background-dim-30:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-30:not(.has-background-gradient):before{opacity:.3}.wp-block-cover-image.has-background-dim.has-background-dim-30 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-30 .wp-block-cover__gradient-background{opacity:.3}.wp-block-cover-image.has-background-dim.has-background-dim-40:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-40:not(.has-background-gradient):before{opacity:.4}.wp-block-cover-image.has-background-dim.has-background-dim-40 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-40 .wp-block-cover__gradient-background{opacity:.4}.wp-block-cover-image.has-background-dim.has-background-dim-50:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-50:not(.has-background-gradient):before{opacity:.5}.wp-block-cover-image.has-background-dim.has-background-dim-50 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-50 .wp-block-cover__gradient-background{opacity:.5}.wp-block-cover-image.has-background-dim.has-background-dim-60:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-60:not(.has-background-gradient):before{opacity:.6}.wp-block-cover-image.has-background-dim.has-background-dim-60 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-60 .wp-block-cover__gradient-background{opacity:.6}.wp-block-cover-image.has-background-dim.has-background-dim-70:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-70:not(.has-background-gradient):before{opacity:.7}.wp-block-cover-image.has-background-dim.has-background-dim-70 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-70 .wp-block-cover__gradient-background{opacity:.7}.wp-block-cover-image.has-background-dim.has-background-dim-80:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-80:not(.has-background-gradient):before{opacity:.8}.wp-block-cover-image.has-background-dim.has-background-dim-80 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-80 .wp-block-cover__gradient-background{opacity:.8}.wp-block-cover-image.has-background-dim.has-background-dim-90:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-90:not(.has-background-gradient):before{opacity:.9}.wp-block-cover-image.has-background-dim.has-background-dim-90 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-90 .wp-block-cover__gradient-background{opacity:.9}.wp-block-cover-image.has-background-dim.has-background-dim-100:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-100:not(.has-background-gradient):before{opacity:1}.wp-block-cover-image.has-background-dim.has-background-dim-100 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-100 .wp-block-cover__gradient-background{opacity:1}.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.alignleft,.wp-block-cover.alignright{max-width:290px;width:100%}.wp-block-cover-image:after,.wp-block-cover:after{display:block;content:"";font-size:0;min-height:inherit}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-cover-image:after,.wp-block-cover:after{content:none}}.wp-block-cover-image.aligncenter,.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.aligncenter,.wp-block-cover.alignleft,.wp-block-cover.alignright{display:flex}.wp-block-cover-image .wp-block-cover__inner-container,.wp-block-cover .wp-block-cover__inner-container{width:calc(100% - 70px);z-index:1;color:#f8f9f9}.wp-block-cover-image .wp-block-subhead:not(.has-text-color),.wp-block-cover-image h1:not(.has-text-color),.wp-block-cover-image h2:not(.has-text-color),.wp-block-cover-image h3:not(.has-text-color),.wp-block-cover-image h4:not(.has-text-color),.wp-block-cover-image h5:not(.has-text-color),.wp-block-cover-image h6:not(.has-text-color),.wp-block-cover-image p:not(.has-text-color),.wp-block-cover .wp-block-subhead:not(.has-text-color),.wp-block-cover h1:not(.has-text-color),.wp-block-cover h2:not(.has-text-color),.wp-block-cover h3:not(.has-text-color),.wp-block-cover h4:not(.has-text-color),.wp-block-cover h5:not(.has-text-color),.wp-block-cover h6:not(.has-text-color),.wp-block-cover p:not(.has-text-color){color:inherit}.wp-block-cover__video-background{position:absolute;top:50%;right:50%;transform:translateX(50%) translateY(-50%);width:100%;height:100%;z-index:0;-o-object-fit:cover;object-fit:cover}.wp-block-cover-image-text,.wp-block-cover-text,section.wp-block-cover-image h2{color:#fff}.wp-block-cover-image-text a,.wp-block-cover-image-text a:active,.wp-block-cover-image-text a:focus,.wp-block-cover-image-text a:hover,.wp-block-cover-text a,.wp-block-cover-text a:active,.wp-block-cover-text a:focus,.wp-block-cover-text a:hover,section.wp-block-cover-image h2 a,section.wp-block-cover-image h2 a:active,section.wp-block-cover-image h2 a:focus,section.wp-block-cover-image h2 a:hover{color:#fff}.wp-block-cover-image .wp-block-cover.has-left-content{justify-content:flex-start}.wp-block-cover-image .wp-block-cover.has-right-content{justify-content:flex-end}.wp-block-cover-image.has-left-content .wp-block-cover-image-text,.wp-block-cover.has-left-content .wp-block-cover-text,section.wp-block-cover-image.has-left-content>h2{margin-right:0;text-align:right}.wp-block-cover-image.has-right-content .wp-block-cover-image-text,.wp-block-cover.has-right-content .wp-block-cover-text,section.wp-block-cover-image.has-right-content>h2{margin-left:0;text-align:left}.wp-block-cover-image .wp-block-cover-image-text,.wp-block-cover .wp-block-cover-text,section.wp-block-cover-image>h2{font-size:2em;line-height:1.25;z-index:1;margin-bottom:0;max-width:580px;padding:14px;text-align:center}.block-editor-block-list__block[data-type="core/embed"][data-align=left] .block-editor-block-list__block-edit,.block-editor-block-list__block[data-type="core/embed"][data-align=right] .block-editor-block-list__block-edit,.wp-block-embed.alignleft,.wp-block-embed.alignright{max-width:360px;width:100%}.wp-block-embed{margin-bottom:1em}.wp-block-embed figcaption{margin-top:.5em;margin-bottom:1em}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-9-16 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper{position:relative}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-9-16 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper:before{content:"";display:block;padding-top:50%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-9-16 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper iframe{position:absolute;top:0;left:0;bottom:0;right:0;width:100%;height:100%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper:before{padding-top:42.85%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper:before{padding-top:50%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper:before{padding-top:56.25%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper:before{padding-top:75%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper:before{padding-top:100%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-9-16 .wp-block-embed__wrapper:before{padding-top:177.78%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper:before{padding-top:200%}.wp-block-file{margin-bottom:1.5em}.wp-block-file.aligncenter{text-align:center}.wp-block-file.alignright{text-align:right}.wp-block-file .wp-block-file__button{background:#32373c;border-radius:2em;color:#fff;font-size:13px;padding:.5em 1em}.wp-block-file a.wp-block-file__button{text-decoration:none}.wp-block-file a.wp-block-file__button:active,.wp-block-file a.wp-block-file__button:focus,.wp-block-file a.wp-block-file__button:hover,.wp-block-file a.wp-block-file__button:visited{box-shadow:none;color:#fff;opacity:.85;text-decoration:none}.wp-block-file *+.wp-block-file__button{margin-right:.75em}.blocks-gallery-grid,.wp-block-gallery{display:flex;flex-wrap:wrap;list-style-type:none;padding:0;margin:0}.blocks-gallery-grid .blocks-gallery-image,.blocks-gallery-grid .blocks-gallery-item,.wp-block-gallery .blocks-gallery-image,.wp-block-gallery .blocks-gallery-item{margin:0 0 16px 16px;display:flex;flex-grow:1;flex-direction:column;justify-content:center;position:relative}.blocks-gallery-grid .blocks-gallery-image figure,.blocks-gallery-grid .blocks-gallery-item figure,.wp-block-gallery .blocks-gallery-image figure,.wp-block-gallery .blocks-gallery-item figure{margin:0;height:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.blocks-gallery-grid .blocks-gallery-image figure,.blocks-gallery-grid .blocks-gallery-item figure,.wp-block-gallery .blocks-gallery-image figure,.wp-block-gallery .blocks-gallery-item figure{display:flex;align-items:flex-end;justify-content:flex-start}}.blocks-gallery-grid .blocks-gallery-image img,.blocks-gallery-grid .blocks-gallery-item img,.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{display:block;max-width:100%;height:auto;width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.blocks-gallery-grid .blocks-gallery-image img,.blocks-gallery-grid .blocks-gallery-item img,.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{width:auto}}.blocks-gallery-grid .blocks-gallery-image figcaption,.blocks-gallery-grid .blocks-gallery-item figcaption,.wp-block-gallery .blocks-gallery-image figcaption,.wp-block-gallery .blocks-gallery-item figcaption{position:absolute;bottom:0;width:100%;max-height:100%;overflow:auto;padding:40px 10px 9px;color:#fff;text-align:center;font-size:13px;background:linear-gradient(0deg,rgba(0,0,0,.7),rgba(0,0,0,.3) 70%,transparent)}.blocks-gallery-grid .blocks-gallery-image figcaption img,.blocks-gallery-grid .blocks-gallery-item figcaption img,.wp-block-gallery .blocks-gallery-image figcaption img,.wp-block-gallery .blocks-gallery-item figcaption img{display:inline}.blocks-gallery-grid.is-cropped .blocks-gallery-image a,.blocks-gallery-grid.is-cropped .blocks-gallery-image img,.blocks-gallery-grid.is-cropped .blocks-gallery-item a,.blocks-gallery-grid.is-cropped .blocks-gallery-item img,.wp-block-gallery.is-cropped .blocks-gallery-image a,.wp-block-gallery.is-cropped .blocks-gallery-image img,.wp-block-gallery.is-cropped .blocks-gallery-item a,.wp-block-gallery.is-cropped .blocks-gallery-item img{width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.blocks-gallery-grid.is-cropped .blocks-gallery-image a,.blocks-gallery-grid.is-cropped .blocks-gallery-image img,.blocks-gallery-grid.is-cropped .blocks-gallery-item a,.blocks-gallery-grid.is-cropped .blocks-gallery-item img,.wp-block-gallery.is-cropped .blocks-gallery-image a,.wp-block-gallery.is-cropped .blocks-gallery-image img,.wp-block-gallery.is-cropped .blocks-gallery-item a,.wp-block-gallery.is-cropped .blocks-gallery-item img{height:100%;flex:1;-o-object-fit:cover;object-fit:cover}}.blocks-gallery-grid .blocks-gallery-image,.blocks-gallery-grid .blocks-gallery-item,.wp-block-gallery .blocks-gallery-image,.wp-block-gallery .blocks-gallery-item{width:calc((100% - 16px)/2)}.blocks-gallery-grid .blocks-gallery-image:nth-of-type(2n),.blocks-gallery-grid .blocks-gallery-item:nth-of-type(2n),.wp-block-gallery .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery .blocks-gallery-item:nth-of-type(2n){margin-left:0}.blocks-gallery-grid.columns-1 .blocks-gallery-image,.blocks-gallery-grid.columns-1 .blocks-gallery-item,.wp-block-gallery.columns-1 .blocks-gallery-image,.wp-block-gallery.columns-1 .blocks-gallery-item{width:100%;margin-left:0}@media (min-width:600px){.blocks-gallery-grid.columns-3 .blocks-gallery-image,.blocks-gallery-grid.columns-3 .blocks-gallery-item,.wp-block-gallery.columns-3 .blocks-gallery-image,.wp-block-gallery.columns-3 .blocks-gallery-item{width:calc((100% - 32px)/3);margin-left:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-3 .blocks-gallery-image,.blocks-gallery-grid.columns-3 .blocks-gallery-item,.wp-block-gallery.columns-3 .blocks-gallery-image,.wp-block-gallery.columns-3 .blocks-gallery-item{width:calc((100% - 32px)/3 - 1px)}}.blocks-gallery-grid.columns-4 .blocks-gallery-image,.blocks-gallery-grid.columns-4 .blocks-gallery-item,.wp-block-gallery.columns-4 .blocks-gallery-image,.wp-block-gallery.columns-4 .blocks-gallery-item{width:calc((100% - 48px)/4);margin-left:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-4 .blocks-gallery-image,.blocks-gallery-grid.columns-4 .blocks-gallery-item,.wp-block-gallery.columns-4 .blocks-gallery-image,.wp-block-gallery.columns-4 .blocks-gallery-item{width:calc((100% - 48px)/4 - 1px)}}.blocks-gallery-grid.columns-5 .blocks-gallery-image,.blocks-gallery-grid.columns-5 .blocks-gallery-item,.wp-block-gallery.columns-5 .blocks-gallery-image,.wp-block-gallery.columns-5 .blocks-gallery-item{width:calc((100% - 64px)/5);margin-left:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-5 .blocks-gallery-image,.blocks-gallery-grid.columns-5 .blocks-gallery-item,.wp-block-gallery.columns-5 .blocks-gallery-image,.wp-block-gallery.columns-5 .blocks-gallery-item{width:calc((100% - 64px)/5 - 1px)}}.blocks-gallery-grid.columns-6 .blocks-gallery-image,.blocks-gallery-grid.columns-6 .blocks-gallery-item,.wp-block-gallery.columns-6 .blocks-gallery-image,.wp-block-gallery.columns-6 .blocks-gallery-item{width:calc((100% - 80px)/6);margin-left:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-6 .blocks-gallery-image,.blocks-gallery-grid.columns-6 .blocks-gallery-item,.wp-block-gallery.columns-6 .blocks-gallery-image,.wp-block-gallery.columns-6 .blocks-gallery-item{width:calc((100% - 80px)/6 - 1px)}}.blocks-gallery-grid.columns-7 .blocks-gallery-image,.blocks-gallery-grid.columns-7 .blocks-gallery-item,.wp-block-gallery.columns-7 .blocks-gallery-image,.wp-block-gallery.columns-7 .blocks-gallery-item{width:calc((100% - 96px)/7);margin-left:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-7 .blocks-gallery-image,.blocks-gallery-grid.columns-7 .blocks-gallery-item,.wp-block-gallery.columns-7 .blocks-gallery-image,.wp-block-gallery.columns-7 .blocks-gallery-item{width:calc((100% - 96px)/7 - 1px)}}.blocks-gallery-grid.columns-8 .blocks-gallery-image,.blocks-gallery-grid.columns-8 .blocks-gallery-item,.wp-block-gallery.columns-8 .blocks-gallery-image,.wp-block-gallery.columns-8 .blocks-gallery-item{width:calc((100% - 112px)/8);margin-left:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-8 .blocks-gallery-image,.blocks-gallery-grid.columns-8 .blocks-gallery-item,.wp-block-gallery.columns-8 .blocks-gallery-image,.wp-block-gallery.columns-8 .blocks-gallery-item{width:calc((100% - 112px)/8 - 1px)}}.blocks-gallery-grid.columns-1 .blocks-gallery-image:nth-of-type(1n),.blocks-gallery-grid.columns-1 .blocks-gallery-item:nth-of-type(1n),.wp-block-gallery.columns-1 .blocks-gallery-image:nth-of-type(1n),.wp-block-gallery.columns-1 .blocks-gallery-item:nth-of-type(1n){margin-left:0}.blocks-gallery-grid.columns-2 .blocks-gallery-image:nth-of-type(2n),.blocks-gallery-grid.columns-2 .blocks-gallery-item:nth-of-type(2n),.wp-block-gallery.columns-2 .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery.columns-2 .blocks-gallery-item:nth-of-type(2n){margin-left:0}.blocks-gallery-grid.columns-3 .blocks-gallery-image:nth-of-type(3n),.blocks-gallery-grid.columns-3 .blocks-gallery-item:nth-of-type(3n),.wp-block-gallery.columns-3 .blocks-gallery-image:nth-of-type(3n),.wp-block-gallery.columns-3 .blocks-gallery-item:nth-of-type(3n){margin-left:0}.blocks-gallery-grid.columns-4 .blocks-gallery-image:nth-of-type(4n),.blocks-gallery-grid.columns-4 .blocks-gallery-item:nth-of-type(4n),.wp-block-gallery.columns-4 .blocks-gallery-image:nth-of-type(4n),.wp-block-gallery.columns-4 .blocks-gallery-item:nth-of-type(4n){margin-left:0}.blocks-gallery-grid.columns-5 .blocks-gallery-image:nth-of-type(5n),.blocks-gallery-grid.columns-5 .blocks-gallery-item:nth-of-type(5n),.wp-block-gallery.columns-5 .blocks-gallery-image:nth-of-type(5n),.wp-block-gallery.columns-5 .blocks-gallery-item:nth-of-type(5n){margin-left:0}.blocks-gallery-grid.columns-6 .blocks-gallery-image:nth-of-type(6n),.blocks-gallery-grid.columns-6 .blocks-gallery-item:nth-of-type(6n),.wp-block-gallery.columns-6 .blocks-gallery-image:nth-of-type(6n),.wp-block-gallery.columns-6 .blocks-gallery-item:nth-of-type(6n){margin-left:0}.blocks-gallery-grid.columns-7 .blocks-gallery-image:nth-of-type(7n),.blocks-gallery-grid.columns-7 .blocks-gallery-item:nth-of-type(7n),.wp-block-gallery.columns-7 .blocks-gallery-image:nth-of-type(7n),.wp-block-gallery.columns-7 .blocks-gallery-item:nth-of-type(7n){margin-left:0}.blocks-gallery-grid.columns-8 .blocks-gallery-image:nth-of-type(8n),.blocks-gallery-grid.columns-8 .blocks-gallery-item:nth-of-type(8n),.wp-block-gallery.columns-8 .blocks-gallery-image:nth-of-type(8n),.wp-block-gallery.columns-8 .blocks-gallery-item:nth-of-type(8n){margin-left:0}}.blocks-gallery-grid .blocks-gallery-image:last-child,.blocks-gallery-grid .blocks-gallery-item:last-child,.wp-block-gallery .blocks-gallery-image:last-child,.wp-block-gallery .blocks-gallery-item:last-child{margin-left:0}.blocks-gallery-grid.alignleft,.blocks-gallery-grid.alignright,.wp-block-gallery.alignleft,.wp-block-gallery.alignright{max-width:290px;width:100%}.blocks-gallery-grid.aligncenter .blocks-gallery-item figure,.wp-block-gallery.aligncenter .blocks-gallery-item figure{justify-content:center}.wp-block-image{margin-bottom:1em}.wp-block-image img{max-width:100%}.wp-block-image.aligncenter{text-align:center}.wp-block-image.alignfull img,.wp-block-image.alignwide img{width:100%}.wp-block-image .aligncenter,.wp-block-image .alignleft,.wp-block-image .alignright,.wp-block-image.is-resized{display:table;margin-right:0;margin-left:0}.wp-block-image .aligncenter>figcaption,.wp-block-image .alignleft>figcaption,.wp-block-image .alignright>figcaption,.wp-block-image.is-resized>figcaption{display:table-caption;caption-side:bottom}.wp-block-image .alignleft{float:left;margin-right:1em}.wp-block-image .alignright{float:right;margin-left:1em}.wp-block-image .aligncenter{margin-right:auto;margin-left:auto}.wp-block-image figcaption{margin-top:.5em;margin-bottom:1em}.is-style-circle-mask img{border-radius:9999px}@supports ((-webkit-mask-image:none) or (mask-image:none)) or (-webkit-mask-image:none){.is-style-circle-mask img{-webkit-mask-image:url('data:image/svg+xml;utf8,');mask-image:url('data:image/svg+xml;utf8,');mask-mode:alpha;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-position:center;mask-position:center;border-radius:none}}.wp-block-latest-comments__comment{font-size:15px;line-height:1.1;list-style:none;margin-bottom:1em}.has-avatars .wp-block-latest-comments__comment{min-height:36px;list-style:none}.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-excerpt,.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-meta{margin-right:52px}.has-dates .wp-block-latest-comments__comment,.has-excerpts .wp-block-latest-comments__comment{line-height:1.5}.wp-block-latest-comments__comment-excerpt p{font-size:14px;line-height:1.8;margin:5px 0 20px}.wp-block-latest-comments__comment-date{color:#8f98a1;display:block;font-size:12px}.wp-block-latest-comments .avatar,.wp-block-latest-comments__comment-avatar{border-radius:24px;display:block;float:right;height:40px;margin-left:12px;width:40px}.wp-block-latest-posts.alignleft{margin-right:2em}.wp-block-latest-posts.alignright{margin-left:2em}.wp-block-latest-posts.wp-block-latest-posts__list{list-style:none}.wp-block-latest-posts.is-grid{display:flex;flex-wrap:wrap;padding:0}.wp-block-latest-posts.is-grid li{margin:0 0 16px 16px;width:100%}@media (min-width:600px){.wp-block-latest-posts.columns-2 li{width:calc(50% - 16px)}.wp-block-latest-posts.columns-3 li{width:calc(33.33333% - 16px)}.wp-block-latest-posts.columns-4 li{width:calc(25% - 16px)}.wp-block-latest-posts.columns-5 li{width:calc(20% - 16px)}.wp-block-latest-posts.columns-6 li{width:calc(16.66667% - 16px)}}.wp-block-latest-posts__post-date{display:block;color:#6c7781;font-size:13px}.wp-block-latest-posts__post-excerpt{margin-top:8px;margin-bottom:16px}.wp-block-media-text{display:-ms-grid;display:grid;-ms-grid-rows:auto;grid-template-rows:auto;-ms-grid-columns:50% 1fr;grid-template-columns:50% 1fr}.wp-block-media-text .has-media-on-the-right{-ms-grid-columns:1fr 50%;grid-template-columns:1fr 50%}.wp-block-media-text.is-vertically-aligned-top .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-top .wp-block-media-text__media{-ms-grid-row-align:start;align-self:start}.wp-block-media-text.is-vertically-aligned-center .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-center .wp-block-media-text__media,.wp-block-media-text .wp-block-media-text__content,.wp-block-media-text .wp-block-media-text__media{-ms-grid-row-align:center;align-self:center}.wp-block-media-text.is-vertically-aligned-bottom .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-bottom .wp-block-media-text__media{-ms-grid-row-align:end;align-self:end}.wp-block-media-text .wp-block-media-text__media{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1;margin:0}.wp-block-media-text .wp-block-media-text__content{word-break:break-word;padding:0 8%}.wp-block-media-text.has-media-on-the-right .wp-block-media-text__media,.wp-block-media-text .wp-block-media-text__content{-ms-grid-column:2;grid-column:2;-ms-grid-row:1;grid-row:1}.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1}.wp-block-media-text>figure>img,.wp-block-media-text>figure>video{max-width:unset;width:100%;vertical-align:middle}.wp-block-media-text.is-image-fill figure.wp-block-media-text__media{height:100%;min-height:250px;background-size:cover}.wp-block-media-text.is-image-fill figure.wp-block-media-text__media>img{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}@media (max-width:600px){.wp-block-media-text.is-stacked-on-mobile{-ms-grid-columns:100%!important;grid-template-columns:100%!important}.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__media{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1}.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .wp-block-media-text__media,.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content{-ms-grid-column:1;grid-column:1;-ms-grid-row:2;grid-row:2}.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .wp-block-media-text__content{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1}}.wp-block-navigation>ul{display:block;list-style:none;margin:0;max-width:none;padding-right:0;position:relative}@media (min-width:600px){.wp-block-navigation>ul{display:flex;flex-wrap:wrap}}.wp-block-navigation>ul ul{padding-right:0}.wp-block-navigation>ul li{position:relative;z-index:1}.wp-block-navigation>ul li:focus-within,.wp-block-navigation>ul li:hover{cursor:pointer;z-index:99999}.wp-block-navigation>ul li:focus-within>ul,.wp-block-navigation>ul li:hover>ul,.wp-block-navigation>ul li ul:focus,.wp-block-navigation>ul li ul:hover{visibility:visible;opacity:1;display:block}.wp-block-navigation>ul>li>a{padding-right:0}@media (min-width:600px){.wp-block-navigation>ul>li>a{padding-right:16px}}.wp-block-navigation>ul>li:first-of-type>a{padding-right:0}.wp-block-navigation>ul>li:last-of-type>a{padding-left:0}.wp-block-navigation>ul>li>ul{background:#fff;-webkit-box-shadow:2px 4px 4px -1px rgba(97,97,97,.153);-moz-box-shadow:2px 4px 4px -1px rgba(97,97,97,.153);border-radius:4px;box-shadow:2px 4px 4px -1px rgba(97,97,97,.153);margin:0;position:absolute;right:0;top:80%;min-width:-webkit-max-content;min-width:max-content;opacity:0;transition:opacity .15s linear,transform .15s linear,left 0s .15s;transform:translateY(.6rem);visibility:hidden;padding:5px 0}.wp-block-navigation>ul>li>ul li{margin:2px 8px}.wp-block-navigation>ul>li>ul a{text-decoration:none}.wp-block-navigation>ul>li>ul a:hover{text-decoration:underline}.wp-block-navigation>ul>li>ul:after{bottom:100%;right:50%;content:" ";height:0;width:0;position:absolute;pointer-events:none;border:10px solid hsla(0,0%,100%,0);border-bottom-color:#fff;margin-right:-10px}.wp-block-navigation>ul>li>ul ul{width:100%}.wp-block-navigation .has-background-color+ul{background:inherit}.wp-block-navigation a{display:block;padding:16px}.wp-block-navigation ul ul{list-style:none;margin-right:0}.wp-block-navigation ul ul li a{padding-top:8px;padding-bottom:8px}.wp-block-navigation .has-sub-menu>a:after{content:"\00a0\25BC";display:inline-block;font-size:.6rem;height:inherit;width:inherit}.wp-block-navigation.items-justified-left>ul{justify-content:flex-start}.wp-block-navigation.items-justified-center>ul{justify-content:center}.wp-block-navigation.items-justified-right>ul{justify-content:flex-end}.is-style-dark>ul>li>ul{background:#333;border-radius:4px}.is-style-dark>ul>li>ul a{text-decoration:none;color:#fff}.is-style-dark>ul>li>ul a:hover{text-decoration:underline;color:#eee}.is-style-dark>ul>li>ul:after{border-color:rgba(24,24,24,0) rgba(24,24,24,0) #333}.is-small-text{font-size:14px}.is-regular-text{font-size:16px}.is-large-text{font-size:36px}.is-larger-text{font-size:48px}.has-drop-cap:not(:focus):first-letter{float:right;font-size:8.4em;line-height:.68;font-weight:100;margin:.05em 0 0 .1em;text-transform:uppercase;font-style:normal}p.has-background{padding:20px 30px}p.has-text-color a{color:inherit}.wp-block-pullquote{padding:3em 0;margin-right:0;margin-left:0;text-align:center}.wp-block-pullquote.alignleft,.wp-block-pullquote.alignright{max-width:290px}.wp-block-pullquote.alignleft p,.wp-block-pullquote.alignright p{font-size:20px}.wp-block-pullquote p{font-size:28px;line-height:1.6}.wp-block-pullquote cite,.wp-block-pullquote footer{position:relative}.wp-block-pullquote .has-text-color a{color:inherit}.wp-block-pullquote:not(.is-style-solid-color){background:none}.wp-block-pullquote.is-style-solid-color{border:none}.wp-block-pullquote.is-style-solid-color blockquote{margin-right:auto;margin-left:auto;text-align:right;max-width:60%}.wp-block-pullquote.is-style-solid-color blockquote p{margin-top:0;margin-bottom:0;font-size:32px}.wp-block-pullquote.is-style-solid-color blockquote cite{text-transform:none;font-style:normal}.wp-block-pullquote cite{color:inherit}.wp-block-quote.is-large,.wp-block-quote.is-style-large{margin:0 0 16px;padding:0 1em}.wp-block-quote.is-large p,.wp-block-quote.is-style-large p{font-size:24px;font-style:italic;line-height:1.6}.wp-block-quote.is-large cite,.wp-block-quote.is-large footer,.wp-block-quote.is-style-large cite,.wp-block-quote.is-style-large footer{font-size:18px;text-align:left}.wp-block-rss.alignleft{margin-right:2em}.wp-block-rss.alignright{margin-left:2em}.wp-block-rss.is-grid{display:flex;flex-wrap:wrap;padding:0;list-style:none}.wp-block-rss.is-grid li{margin:0 0 16px 16px;width:100%}@media (min-width:600px){.wp-block-rss.columns-2 li{width:calc(50% - 16px)}.wp-block-rss.columns-3 li{width:calc(33.33333% - 16px)}.wp-block-rss.columns-4 li{width:calc(25% - 16px)}.wp-block-rss.columns-5 li{width:calc(20% - 16px)}.wp-block-rss.columns-6 li{width:calc(16.66667% - 16px)}}.wp-block-rss__item-author,.wp-block-rss__item-publish-date{display:block;color:#6c7781;font-size:13px}.wp-block-search{display:flex;flex-wrap:wrap}.wp-block-search .wp-block-search__label{width:100%}.wp-block-search .wp-block-search__input{flex-grow:1;max-width:360px}.wp-block-search .wp-block-search__button{margin-right:10px}.wp-block-separator.is-style-wide{border-bottom-width:1px}.wp-block-separator.is-style-dots{background:none!important;border:none;text-align:center;max-width:none;line-height:1;height:auto}.wp-block-separator.is-style-dots:before{content:"\00b7 \00b7 \00b7";color:currentColor;font-size:20px;letter-spacing:2em;padding-right:2em;font-family:serif}.wp-block-social-links{display:flex;justify-content:flex-start;padding-right:0;padding-left:0;margin-right:0}.wp-block-social-links .wp-social-link a,.wp-block-social-links .wp-social-link a:hover{text-decoration:none;border-bottom:0;box-shadow:none}.wp-social-link{width:36px;height:36px;border-radius:36px;margin-left:8px}.wp-social-link,.wp-social-link a{display:block;transition:transform .1s ease}.wp-social-link a{padding:6px;line-height:0}.wp-social-link a,.wp-social-link a:active,.wp-social-link a:hover,.wp-social-link a:visited,.wp-social-link svg{color:currentColor;fill:currentColor}.wp-social-link:hover{transform:scale(1.1)}.wp-block-social-links.aligncenter{justify-content:center;display:flex}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link{background-color:#f0f0f0;color:#444}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-amazon{background-color:#f90;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-bandcamp{background-color:#1ea0c3;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-behance{background-color:#0757fe;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-codepen{background-color:#1e1f26;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-deviantart{background-color:#02e49b;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-dribbble{background-color:#e94c89;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-dropbox{background-color:#4280ff;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-etsy{background-color:#f45800;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-facebook{background-color:#1977f2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-fivehundredpx{background-color:#000;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-flickr{background-color:#0461dd;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-foursquare{background-color:#e65678;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-github{background-color:#24292d;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-goodreads{background-color:#eceadd;color:#382110}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-google{background-color:#ea4434;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-instagram{background-color:#f00075;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-lastfm{background-color:#e21b24;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-linkedin{background-color:#0577b5;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-mastodon{background-color:#3288d4;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-medium{background-color:#02ab6c;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-meetup{background-color:#f6405f;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-pinterest{background-color:#e60122;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-pocket{background-color:#ef4155;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-reddit{background-color:#fe4500;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-skype{background-color:#0478d7;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-snapchat{background-color:#fefc00;color:#fff;stroke:#000}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-soundcloud{background-color:#ff5600;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-spotify{background-color:#1bd760;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-tumblr{background-color:#011835;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-twitch{background-color:#6440a4;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-twitter{background-color:#21a1f3;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-vimeo{background-color:#1eb7ea;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-vk{background-color:#4680c2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-wordpress{background-color:#3499cd;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-yelp{background-color:#d32422;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-youtube{background-color:#ff0100;color:#fff}.wp-block-social-links.is-style-logos-only .wp-social-link{background:none;padding:4px}.wp-block-social-links.is-style-logos-only .wp-social-link svg{width:28px;height:28px}.wp-block-social-links.is-style-logos-only .wp-social-link-amazon{color:#f90}.wp-block-social-links.is-style-logos-only .wp-social-link-bandcamp{color:#1ea0c3}.wp-block-social-links.is-style-logos-only .wp-social-link-behance{color:#0757fe}.wp-block-social-links.is-style-logos-only .wp-social-link-codepen{color:#1e1f26}.wp-block-social-links.is-style-logos-only .wp-social-link-deviantart{color:#02e49b}.wp-block-social-links.is-style-logos-only .wp-social-link-dribbble{color:#e94c89}.wp-block-social-links.is-style-logos-only .wp-social-link-dropbox{color:#4280ff}.wp-block-social-links.is-style-logos-only .wp-social-link-etsy{color:#f45800}.wp-block-social-links.is-style-logos-only .wp-social-link-facebook{color:#1977f2}.wp-block-social-links.is-style-logos-only .wp-social-link-fivehundredpx{color:#000}.wp-block-social-links.is-style-logos-only .wp-social-link-flickr{color:#0461dd}.wp-block-social-links.is-style-logos-only .wp-social-link-foursquare{color:#e65678}.wp-block-social-links.is-style-logos-only .wp-social-link-github{color:#24292d}.wp-block-social-links.is-style-logos-only .wp-social-link-goodreads{color:#382110}.wp-block-social-links.is-style-logos-only .wp-social-link-google{color:#ea4434}.wp-block-social-links.is-style-logos-only .wp-social-link-instagram{color:#f00075}.wp-block-social-links.is-style-logos-only .wp-social-link-lastfm{color:#e21b24}.wp-block-social-links.is-style-logos-only .wp-social-link-linkedin{color:#0577b5}.wp-block-social-links.is-style-logos-only .wp-social-link-mastodon{color:#3288d4}.wp-block-social-links.is-style-logos-only .wp-social-link-medium{color:#02ab6c}.wp-block-social-links.is-style-logos-only .wp-social-link-meetup{color:#f6405f}.wp-block-social-links.is-style-logos-only .wp-social-link-pinterest{color:#e60122}.wp-block-social-links.is-style-logos-only .wp-social-link-pocket{color:#ef4155}.wp-block-social-links.is-style-logos-only .wp-social-link-reddit{color:#fe4500}.wp-block-social-links.is-style-logos-only .wp-social-link-skype{color:#0478d7}.wp-block-social-links.is-style-logos-only .wp-social-link-snapchat{color:#fff;stroke:#000}.wp-block-social-links.is-style-logos-only .wp-social-link-soundcloud{color:#ff5600}.wp-block-social-links.is-style-logos-only .wp-social-link-spotify{color:#1bd760}.wp-block-social-links.is-style-logos-only .wp-social-link-tumblr{color:#011835}.wp-block-social-links.is-style-logos-only .wp-social-link-twitch{color:#6440a4}.wp-block-social-links.is-style-logos-only .wp-social-link-twitter{color:#21a1f3}.wp-block-social-links.is-style-logos-only .wp-social-link-vimeo{color:#1eb7ea}.wp-block-social-links.is-style-logos-only .wp-social-link-vk{color:#4680c2}.wp-block-social-links.is-style-logos-only .wp-social-link-wordpress{color:#3499cd}.wp-block-social-links.is-style-logos-only .wp-social-link-yelp{background-color:#d32422;color:#fff}.wp-block-social-links.is-style-logos-only .wp-social-link-youtube{color:#ff0100}.wp-block-social-links.is-style-pill-shape .wp-social-link{width:auto}.wp-block-social-links.is-style-pill-shape .wp-social-link a{padding-right:16px;padding-left:16px}.wp-block-spacer{clear:both}p.wp-block-subhead{font-size:1.1em;font-style:italic;opacity:.75}.wp-block-table{overflow-x:auto}.wp-block-table table{width:100%}.wp-block-table .has-fixed-layout{table-layout:fixed;width:100%}.wp-block-table .has-fixed-layout td,.wp-block-table .has-fixed-layout th{word-break:break-word}.wp-block-table.aligncenter,.wp-block-table.alignleft,.wp-block-table.alignright{display:table;width:auto}.wp-block-table.aligncenter td,.wp-block-table.aligncenter th,.wp-block-table.alignleft td,.wp-block-table.alignleft th,.wp-block-table.alignright td,.wp-block-table.alignright th{word-break:break-word}.wp-block-table .has-subtle-light-gray-background-color{background-color:#f3f4f5}.wp-block-table .has-subtle-pale-green-background-color{background-color:#e9fbe5}.wp-block-table .has-subtle-pale-blue-background-color{background-color:#e7f5fe}.wp-block-table .has-subtle-pale-pink-background-color{background-color:#fcf0ef}.wp-block-table.is-style-stripes{border-spacing:0;border-collapse:inherit;background-color:transparent;border-bottom:1px solid #f3f4f5}.wp-block-table.is-style-stripes tbody tr:nth-child(odd){background-color:#f3f4f5}.wp-block-table.is-style-stripes.has-subtle-light-gray-background-color tbody tr:nth-child(odd){background-color:#f3f4f5}.wp-block-table.is-style-stripes.has-subtle-pale-green-background-color tbody tr:nth-child(odd){background-color:#e9fbe5}.wp-block-table.is-style-stripes.has-subtle-pale-blue-background-color tbody tr:nth-child(odd){background-color:#e7f5fe}.wp-block-table.is-style-stripes.has-subtle-pale-pink-background-color tbody tr:nth-child(odd){background-color:#fcf0ef}.wp-block-table.is-style-stripes td,.wp-block-table.is-style-stripes th{border-color:transparent}.wp-block-text-columns,.wp-block-text-columns.aligncenter{display:flex}.wp-block-text-columns .wp-block-column{margin:0 16px;padding:0}.wp-block-text-columns .wp-block-column:first-child{margin-right:0}.wp-block-text-columns .wp-block-column:last-child{margin-left:0}.wp-block-text-columns.columns-2 .wp-block-column{width:50%}.wp-block-text-columns.columns-3 .wp-block-column{width:33.33333%}.wp-block-text-columns.columns-4 .wp-block-column{width:25%}pre.wp-block-verse{white-space:nowrap;overflow:auto}.wp-block-video{margin-right:0;margin-left:0}.wp-block-video video{max-width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-video [poster]{-o-object-fit:cover;object-fit:cover}}.wp-block-video.aligncenter{text-align:center}.wp-block-video figcaption{margin-top:.5em;margin-bottom:1em}:root .has-pale-pink-background-color{background-color:#f78da7}:root .has-vivid-red-background-color{background-color:#cf2e2e}:root .has-luminous-vivid-orange-background-color{background-color:#ff6900}:root .has-luminous-vivid-amber-background-color{background-color:#fcb900}:root .has-light-green-cyan-background-color{background-color:#7bdcb5}:root .has-vivid-green-cyan-background-color{background-color:#00d084}:root .has-pale-cyan-blue-background-color{background-color:#8ed1fc}:root .has-vivid-cyan-blue-background-color{background-color:#0693e3}:root .has-vivid-purple-background-color{background-color:#9b51e0}:root .has-very-light-gray-background-color{background-color:#eee}:root .has-cyan-bluish-gray-background-color{background-color:#abb8c3}:root .has-very-dark-gray-background-color{background-color:#313131}:root .has-pale-pink-color{color:#f78da7}:root .has-vivid-red-color{color:#cf2e2e}:root .has-luminous-vivid-orange-color{color:#ff6900}:root .has-luminous-vivid-amber-color{color:#fcb900}:root .has-light-green-cyan-color{color:#7bdcb5}:root .has-vivid-green-cyan-color{color:#00d084}:root .has-pale-cyan-blue-color{color:#8ed1fc}:root .has-vivid-cyan-blue-color{color:#0693e3}:root .has-vivid-purple-color{color:#9b51e0}:root .has-very-light-gray-color{color:#eee}:root .has-cyan-bluish-gray-color{color:#abb8c3}:root .has-very-dark-gray-color{color:#313131}:root .has-vivid-cyan-blue-to-vivid-purple-gradient-background{background:linear-gradient(-135deg,#0693e3,#9b51e0)}:root .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background{background:linear-gradient(-135deg,#00d084,#0693e3)}:root .has-light-green-cyan-to-vivid-green-cyan-gradient-background{background:linear-gradient(-135deg,#7adcb4,#00d082)}:root .has-luminous-vivid-amber-to-luminous-vivid-orange-gradient-background{background:linear-gradient(-135deg,#fcb900,#ff6900)}:root .has-luminous-vivid-orange-to-vivid-red-gradient-background{background:linear-gradient(-135deg,#ff6900,#cf2e2e)}:root .has-very-light-gray-to-cyan-bluish-gray-gradient-background{background:linear-gradient(-135deg,#eee,#a9b8c3)}:root .has-cool-to-warm-spectrum-gradient-background{background:linear-gradient(-135deg,#4aeadc,#9778d1 20%,#cf2aba 40%,#ee2c82 60%,#fb6962 80%,#fef84c)}:root .has-blush-light-purple-gradient-background{background:linear-gradient(-135deg,#ffceec,#9896f0)}:root .has-blush-bordeaux-gradient-background{background:linear-gradient(-135deg,#fecda5,#fe2d2d 50%,#6b003e)}:root .has-purple-crush-gradient-background{background:linear-gradient(-135deg,#34e2e4,#4721fb 50%,#ab1dfe)}:root .has-luminous-dusk-gradient-background{background:linear-gradient(-135deg,#ffcb70,#c751c0 50%,#4158d0)}:root .has-hazy-dawn-gradient-background{background:linear-gradient(-135deg,#faaca8,#dad0ec)}:root .has-pale-ocean-gradient-background{background:linear-gradient(-135deg,#fff5cb,#b6e3d4 50%,#33a7b5)}:root .has-electric-grass-gradient-background{background:linear-gradient(-135deg,#caf880,#71ce7e)}:root .has-subdued-olive-gradient-background{background:linear-gradient(-135deg,#fafae1,#67a671)}:root .has-atomic-cream-gradient-background{background:linear-gradient(-135deg,#fdd79a,#004a59)}:root .has-nightshade-gradient-background{background:linear-gradient(-135deg,#330968,#31cdcf)}:root .has-midnight-gradient-background{background:linear-gradient(-135deg,#020381,#2874fc)}.has-small-font-size{font-size:13px}.has-normal-font-size,.has-regular-font-size{font-size:16px}.has-medium-font-size{font-size:20px}.has-large-font-size{font-size:36px}.has-huge-font-size,.has-larger-font-size{font-size:42px}.has-text-align-center{text-align:center}.has-text-align-left{text-align:left}.has-text-align-right{text-align:right} \ No newline at end of file +.wp-block-audio figcaption{margin-top:.5em;margin-bottom:1em}.wp-block-audio audio{width:100%;min-width:300px}.wp-block-button{color:#fff}.wp-block-button.aligncenter{text-align:center}.wp-block-button.alignright{text-align:right}.wp-block-button__link{background-color:#32373c;border:none;border-radius:28px;box-shadow:none;color:inherit;cursor:pointer;display:inline-block;font-size:18px;margin:0;padding:12px 24px;text-align:center;text-decoration:none;overflow-wrap:break-word}.wp-block-button__link:active,.wp-block-button__link:focus,.wp-block-button__link:hover,.wp-block-button__link:visited{color:inherit}.is-style-squared .wp-block-button__link{border-radius:0}.no-border-radius.wp-block-button__link{border-radius:0!important}.is-style-outline{color:#32373c}.is-style-outline .wp-block-button__link{background-color:transparent;border:2px solid}.wp-block-buttons .wp-block-button{display:inline-block;margin:4px}.wp-block-buttons.aligncenter,.wp-block-calendar{text-align:center}.wp-block-calendar tbody td,.wp-block-calendar th{padding:4px;border:1px solid #e2e4e7}.wp-block-calendar tfoot td{border:none}.wp-block-calendar table{width:100%;border-collapse:collapse;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.wp-block-calendar table th{font-weight:400;background:#edeff0}.wp-block-calendar a{text-decoration:underline}.wp-block-calendar tfoot a{color:#00739c}.wp-block-calendar table caption,.wp-block-calendar table tbody{color:#40464d}.wp-block-categories.alignleft{margin-right:2em}.wp-block-categories.alignright{margin-left:2em}.wp-block-columns{display:flex;margin-bottom:28px;flex-wrap:wrap}@media (min-width:782px){.wp-block-columns{flex-wrap:nowrap}}.wp-block-column{flex-grow:1;min-width:0;word-break:break-word;overflow-wrap:break-word}@media (max-width:599px){.wp-block-column{flex-basis:100%!important}}@media (min-width:600px){.wp-block-column{flex-basis:calc(50% - 16px);flex-grow:0}.wp-block-column:nth-child(2n){margin-right:32px}}@media (min-width:782px){.wp-block-column:not(:first-child){margin-right:32px}}.wp-block-columns.are-vertically-aligned-top{align-items:flex-start}.wp-block-columns.are-vertically-aligned-center{align-items:center}.wp-block-columns.are-vertically-aligned-bottom{align-items:flex-end}.wp-block-column.is-vertically-aligned-top{align-self:flex-start}.wp-block-column.is-vertically-aligned-center{-ms-grid-row-align:center;align-self:center}.wp-block-column.is-vertically-aligned-bottom{align-self:flex-end}.wp-block-cover,.wp-block-cover-image{position:relative;background-color:#000;background-size:cover;background-position:50%;min-height:430px;height:100%;width:100%;display:flex;justify-content:center;align-items:center;overflow:hidden}.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:fixed}@supports (-webkit-overflow-scrolling:touch){.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:scroll}}@media (prefers-reduced-motion:reduce){.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:scroll}}.wp-block-cover-image.has-background-dim:before,.wp-block-cover.has-background-dim:before{content:"";background-color:inherit}.wp-block-cover-image.has-background-dim:not(.has-background-gradient):before,.wp-block-cover-image .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim:not(.has-background-gradient):before,.wp-block-cover .wp-block-cover__gradient-background{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1}.wp-block-cover-image.has-background-dim:not(.has-background-gradient):before,.wp-block-cover-image .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim:not(.has-background-gradient):before,.wp-block-cover .wp-block-cover__gradient-background{opacity:.5}.wp-block-cover-image.has-background-dim.has-background-dim-10:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-10:not(.has-background-gradient):before{opacity:.1}.wp-block-cover-image.has-background-dim.has-background-dim-10 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-10 .wp-block-cover__gradient-background{opacity:.1}.wp-block-cover-image.has-background-dim.has-background-dim-20:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-20:not(.has-background-gradient):before{opacity:.2}.wp-block-cover-image.has-background-dim.has-background-dim-20 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-20 .wp-block-cover__gradient-background{opacity:.2}.wp-block-cover-image.has-background-dim.has-background-dim-30:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-30:not(.has-background-gradient):before{opacity:.3}.wp-block-cover-image.has-background-dim.has-background-dim-30 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-30 .wp-block-cover__gradient-background{opacity:.3}.wp-block-cover-image.has-background-dim.has-background-dim-40:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-40:not(.has-background-gradient):before{opacity:.4}.wp-block-cover-image.has-background-dim.has-background-dim-40 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-40 .wp-block-cover__gradient-background{opacity:.4}.wp-block-cover-image.has-background-dim.has-background-dim-50:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-50:not(.has-background-gradient):before{opacity:.5}.wp-block-cover-image.has-background-dim.has-background-dim-50 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-50 .wp-block-cover__gradient-background{opacity:.5}.wp-block-cover-image.has-background-dim.has-background-dim-60:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-60:not(.has-background-gradient):before{opacity:.6}.wp-block-cover-image.has-background-dim.has-background-dim-60 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-60 .wp-block-cover__gradient-background{opacity:.6}.wp-block-cover-image.has-background-dim.has-background-dim-70:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-70:not(.has-background-gradient):before{opacity:.7}.wp-block-cover-image.has-background-dim.has-background-dim-70 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-70 .wp-block-cover__gradient-background{opacity:.7}.wp-block-cover-image.has-background-dim.has-background-dim-80:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-80:not(.has-background-gradient):before{opacity:.8}.wp-block-cover-image.has-background-dim.has-background-dim-80 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-80 .wp-block-cover__gradient-background{opacity:.8}.wp-block-cover-image.has-background-dim.has-background-dim-90:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-90:not(.has-background-gradient):before{opacity:.9}.wp-block-cover-image.has-background-dim.has-background-dim-90 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-90 .wp-block-cover__gradient-background{opacity:.9}.wp-block-cover-image.has-background-dim.has-background-dim-100:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-100:not(.has-background-gradient):before{opacity:1}.wp-block-cover-image.has-background-dim.has-background-dim-100 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-100 .wp-block-cover__gradient-background{opacity:1}.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.alignleft,.wp-block-cover.alignright{max-width:290px;width:100%}.wp-block-cover-image:after,.wp-block-cover:after{display:block;content:"";font-size:0;min-height:inherit}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-cover-image:after,.wp-block-cover:after{content:none}}.wp-block-cover-image.aligncenter,.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.aligncenter,.wp-block-cover.alignleft,.wp-block-cover.alignright{display:flex}.wp-block-cover-image .wp-block-cover__inner-container,.wp-block-cover .wp-block-cover__inner-container{width:calc(100% - 70px);z-index:1;color:#f8f9f9}.wp-block-cover-image .wp-block-subhead:not(.has-text-color),.wp-block-cover-image h1:not(.has-text-color),.wp-block-cover-image h2:not(.has-text-color),.wp-block-cover-image h3:not(.has-text-color),.wp-block-cover-image h4:not(.has-text-color),.wp-block-cover-image h5:not(.has-text-color),.wp-block-cover-image h6:not(.has-text-color),.wp-block-cover-image p:not(.has-text-color),.wp-block-cover .wp-block-subhead:not(.has-text-color),.wp-block-cover h1:not(.has-text-color),.wp-block-cover h2:not(.has-text-color),.wp-block-cover h3:not(.has-text-color),.wp-block-cover h4:not(.has-text-color),.wp-block-cover h5:not(.has-text-color),.wp-block-cover h6:not(.has-text-color),.wp-block-cover p:not(.has-text-color){color:inherit}.wp-block-cover__video-background{position:absolute;top:50%;right:50%;transform:translateX(50%) translateY(-50%);width:100%;height:100%;z-index:0;-o-object-fit:cover;object-fit:cover}.wp-block-cover-image-text,.wp-block-cover-text,section.wp-block-cover-image h2{color:#fff}.wp-block-cover-image-text a,.wp-block-cover-image-text a:active,.wp-block-cover-image-text a:focus,.wp-block-cover-image-text a:hover,.wp-block-cover-text a,.wp-block-cover-text a:active,.wp-block-cover-text a:focus,.wp-block-cover-text a:hover,section.wp-block-cover-image h2 a,section.wp-block-cover-image h2 a:active,section.wp-block-cover-image h2 a:focus,section.wp-block-cover-image h2 a:hover{color:#fff}.wp-block-cover-image .wp-block-cover.has-left-content{justify-content:flex-start}.wp-block-cover-image .wp-block-cover.has-right-content{justify-content:flex-end}.wp-block-cover-image.has-left-content .wp-block-cover-image-text,.wp-block-cover.has-left-content .wp-block-cover-text,section.wp-block-cover-image.has-left-content>h2{margin-right:0;text-align:right}.wp-block-cover-image.has-right-content .wp-block-cover-image-text,.wp-block-cover.has-right-content .wp-block-cover-text,section.wp-block-cover-image.has-right-content>h2{margin-left:0;text-align:left}.wp-block-cover-image .wp-block-cover-image-text,.wp-block-cover .wp-block-cover-text,section.wp-block-cover-image>h2{font-size:2em;line-height:1.25;z-index:1;margin-bottom:0;max-width:580px;padding:14px;text-align:center}.block-editor-block-list__block[data-type="core/embed"][data-align=left] .block-editor-block-list__block-edit,.block-editor-block-list__block[data-type="core/embed"][data-align=right] .block-editor-block-list__block-edit,.wp-block-embed.alignleft,.wp-block-embed.alignright{max-width:360px;width:100%}.wp-block-embed{margin-bottom:1em}.wp-block-embed figcaption{margin-top:.5em;margin-bottom:1em}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-9-16 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper{position:relative}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-9-16 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper:before{content:"";display:block;padding-top:50%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-9-16 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper iframe{position:absolute;top:0;left:0;bottom:0;right:0;width:100%;height:100%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper:before{padding-top:42.85%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper:before{padding-top:50%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper:before{padding-top:56.25%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper:before{padding-top:75%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper:before{padding-top:100%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-9-16 .wp-block-embed__wrapper:before{padding-top:177.78%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper:before{padding-top:200%}.wp-block-file{margin-bottom:1.5em}.wp-block-file.aligncenter{text-align:center}.wp-block-file.alignright{text-align:right}.wp-block-file .wp-block-file__button{background:#32373c;border-radius:2em;color:#fff;font-size:13px;padding:.5em 1em}.wp-block-file a.wp-block-file__button{text-decoration:none}.wp-block-file a.wp-block-file__button:active,.wp-block-file a.wp-block-file__button:focus,.wp-block-file a.wp-block-file__button:hover,.wp-block-file a.wp-block-file__button:visited{box-shadow:none;color:#fff;opacity:.85;text-decoration:none}.wp-block-file *+.wp-block-file__button{margin-right:.75em}.blocks-gallery-grid,.wp-block-gallery{display:flex;flex-wrap:wrap;list-style-type:none;padding:0;margin:0}.blocks-gallery-grid .blocks-gallery-image,.blocks-gallery-grid .blocks-gallery-item,.wp-block-gallery .blocks-gallery-image,.wp-block-gallery .blocks-gallery-item{margin:0 0 16px 16px;display:flex;flex-grow:1;flex-direction:column;justify-content:center;position:relative}.blocks-gallery-grid .blocks-gallery-image figure,.blocks-gallery-grid .blocks-gallery-item figure,.wp-block-gallery .blocks-gallery-image figure,.wp-block-gallery .blocks-gallery-item figure{margin:0;height:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.blocks-gallery-grid .blocks-gallery-image figure,.blocks-gallery-grid .blocks-gallery-item figure,.wp-block-gallery .blocks-gallery-image figure,.wp-block-gallery .blocks-gallery-item figure{display:flex;align-items:flex-end;justify-content:flex-start}}.blocks-gallery-grid .blocks-gallery-image img,.blocks-gallery-grid .blocks-gallery-item img,.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{display:block;max-width:100%;height:auto;width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.blocks-gallery-grid .blocks-gallery-image img,.blocks-gallery-grid .blocks-gallery-item img,.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{width:auto}}.blocks-gallery-grid .blocks-gallery-image figcaption,.blocks-gallery-grid .blocks-gallery-item figcaption,.wp-block-gallery .blocks-gallery-image figcaption,.wp-block-gallery .blocks-gallery-item figcaption{position:absolute;bottom:0;width:100%;max-height:100%;overflow:auto;padding:40px 10px 9px;color:#fff;text-align:center;font-size:13px;background:linear-gradient(0deg,rgba(0,0,0,.7),rgba(0,0,0,.3) 70%,transparent)}.blocks-gallery-grid .blocks-gallery-image figcaption img,.blocks-gallery-grid .blocks-gallery-item figcaption img,.wp-block-gallery .blocks-gallery-image figcaption img,.wp-block-gallery .blocks-gallery-item figcaption img{display:inline}.blocks-gallery-grid.is-cropped .blocks-gallery-image a,.blocks-gallery-grid.is-cropped .blocks-gallery-image img,.blocks-gallery-grid.is-cropped .blocks-gallery-item a,.blocks-gallery-grid.is-cropped .blocks-gallery-item img,.wp-block-gallery.is-cropped .blocks-gallery-image a,.wp-block-gallery.is-cropped .blocks-gallery-image img,.wp-block-gallery.is-cropped .blocks-gallery-item a,.wp-block-gallery.is-cropped .blocks-gallery-item img{width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.blocks-gallery-grid.is-cropped .blocks-gallery-image a,.blocks-gallery-grid.is-cropped .blocks-gallery-image img,.blocks-gallery-grid.is-cropped .blocks-gallery-item a,.blocks-gallery-grid.is-cropped .blocks-gallery-item img,.wp-block-gallery.is-cropped .blocks-gallery-image a,.wp-block-gallery.is-cropped .blocks-gallery-image img,.wp-block-gallery.is-cropped .blocks-gallery-item a,.wp-block-gallery.is-cropped .blocks-gallery-item img{height:100%;flex:1;-o-object-fit:cover;object-fit:cover}}.blocks-gallery-grid .blocks-gallery-image,.blocks-gallery-grid .blocks-gallery-item,.wp-block-gallery .blocks-gallery-image,.wp-block-gallery .blocks-gallery-item{width:calc((100% - 16px)/2)}.blocks-gallery-grid .blocks-gallery-image:nth-of-type(2n),.blocks-gallery-grid .blocks-gallery-item:nth-of-type(2n),.wp-block-gallery .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery .blocks-gallery-item:nth-of-type(2n){margin-left:0}.blocks-gallery-grid.columns-1 .blocks-gallery-image,.blocks-gallery-grid.columns-1 .blocks-gallery-item,.wp-block-gallery.columns-1 .blocks-gallery-image,.wp-block-gallery.columns-1 .blocks-gallery-item{width:100%;margin-left:0}@media (min-width:600px){.blocks-gallery-grid.columns-3 .blocks-gallery-image,.blocks-gallery-grid.columns-3 .blocks-gallery-item,.wp-block-gallery.columns-3 .blocks-gallery-image,.wp-block-gallery.columns-3 .blocks-gallery-item{width:calc((100% - 32px)/3);margin-left:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-3 .blocks-gallery-image,.blocks-gallery-grid.columns-3 .blocks-gallery-item,.wp-block-gallery.columns-3 .blocks-gallery-image,.wp-block-gallery.columns-3 .blocks-gallery-item{width:calc((100% - 32px)/3 - 1px)}}.blocks-gallery-grid.columns-4 .blocks-gallery-image,.blocks-gallery-grid.columns-4 .blocks-gallery-item,.wp-block-gallery.columns-4 .blocks-gallery-image,.wp-block-gallery.columns-4 .blocks-gallery-item{width:calc((100% - 48px)/4);margin-left:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-4 .blocks-gallery-image,.blocks-gallery-grid.columns-4 .blocks-gallery-item,.wp-block-gallery.columns-4 .blocks-gallery-image,.wp-block-gallery.columns-4 .blocks-gallery-item{width:calc((100% - 48px)/4 - 1px)}}.blocks-gallery-grid.columns-5 .blocks-gallery-image,.blocks-gallery-grid.columns-5 .blocks-gallery-item,.wp-block-gallery.columns-5 .blocks-gallery-image,.wp-block-gallery.columns-5 .blocks-gallery-item{width:calc((100% - 64px)/5);margin-left:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-5 .blocks-gallery-image,.blocks-gallery-grid.columns-5 .blocks-gallery-item,.wp-block-gallery.columns-5 .blocks-gallery-image,.wp-block-gallery.columns-5 .blocks-gallery-item{width:calc((100% - 64px)/5 - 1px)}}.blocks-gallery-grid.columns-6 .blocks-gallery-image,.blocks-gallery-grid.columns-6 .blocks-gallery-item,.wp-block-gallery.columns-6 .blocks-gallery-image,.wp-block-gallery.columns-6 .blocks-gallery-item{width:calc((100% - 80px)/6);margin-left:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-6 .blocks-gallery-image,.blocks-gallery-grid.columns-6 .blocks-gallery-item,.wp-block-gallery.columns-6 .blocks-gallery-image,.wp-block-gallery.columns-6 .blocks-gallery-item{width:calc((100% - 80px)/6 - 1px)}}.blocks-gallery-grid.columns-7 .blocks-gallery-image,.blocks-gallery-grid.columns-7 .blocks-gallery-item,.wp-block-gallery.columns-7 .blocks-gallery-image,.wp-block-gallery.columns-7 .blocks-gallery-item{width:calc((100% - 96px)/7);margin-left:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-7 .blocks-gallery-image,.blocks-gallery-grid.columns-7 .blocks-gallery-item,.wp-block-gallery.columns-7 .blocks-gallery-image,.wp-block-gallery.columns-7 .blocks-gallery-item{width:calc((100% - 96px)/7 - 1px)}}.blocks-gallery-grid.columns-8 .blocks-gallery-image,.blocks-gallery-grid.columns-8 .blocks-gallery-item,.wp-block-gallery.columns-8 .blocks-gallery-image,.wp-block-gallery.columns-8 .blocks-gallery-item{width:calc((100% - 112px)/8);margin-left:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-8 .blocks-gallery-image,.blocks-gallery-grid.columns-8 .blocks-gallery-item,.wp-block-gallery.columns-8 .blocks-gallery-image,.wp-block-gallery.columns-8 .blocks-gallery-item{width:calc((100% - 112px)/8 - 1px)}}.blocks-gallery-grid.columns-1 .blocks-gallery-image:nth-of-type(1n),.blocks-gallery-grid.columns-1 .blocks-gallery-item:nth-of-type(1n),.wp-block-gallery.columns-1 .blocks-gallery-image:nth-of-type(1n),.wp-block-gallery.columns-1 .blocks-gallery-item:nth-of-type(1n){margin-left:0}.blocks-gallery-grid.columns-2 .blocks-gallery-image:nth-of-type(2n),.blocks-gallery-grid.columns-2 .blocks-gallery-item:nth-of-type(2n),.wp-block-gallery.columns-2 .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery.columns-2 .blocks-gallery-item:nth-of-type(2n){margin-left:0}.blocks-gallery-grid.columns-3 .blocks-gallery-image:nth-of-type(3n),.blocks-gallery-grid.columns-3 .blocks-gallery-item:nth-of-type(3n),.wp-block-gallery.columns-3 .blocks-gallery-image:nth-of-type(3n),.wp-block-gallery.columns-3 .blocks-gallery-item:nth-of-type(3n){margin-left:0}.blocks-gallery-grid.columns-4 .blocks-gallery-image:nth-of-type(4n),.blocks-gallery-grid.columns-4 .blocks-gallery-item:nth-of-type(4n),.wp-block-gallery.columns-4 .blocks-gallery-image:nth-of-type(4n),.wp-block-gallery.columns-4 .blocks-gallery-item:nth-of-type(4n){margin-left:0}.blocks-gallery-grid.columns-5 .blocks-gallery-image:nth-of-type(5n),.blocks-gallery-grid.columns-5 .blocks-gallery-item:nth-of-type(5n),.wp-block-gallery.columns-5 .blocks-gallery-image:nth-of-type(5n),.wp-block-gallery.columns-5 .blocks-gallery-item:nth-of-type(5n){margin-left:0}.blocks-gallery-grid.columns-6 .blocks-gallery-image:nth-of-type(6n),.blocks-gallery-grid.columns-6 .blocks-gallery-item:nth-of-type(6n),.wp-block-gallery.columns-6 .blocks-gallery-image:nth-of-type(6n),.wp-block-gallery.columns-6 .blocks-gallery-item:nth-of-type(6n){margin-left:0}.blocks-gallery-grid.columns-7 .blocks-gallery-image:nth-of-type(7n),.blocks-gallery-grid.columns-7 .blocks-gallery-item:nth-of-type(7n),.wp-block-gallery.columns-7 .blocks-gallery-image:nth-of-type(7n),.wp-block-gallery.columns-7 .blocks-gallery-item:nth-of-type(7n){margin-left:0}.blocks-gallery-grid.columns-8 .blocks-gallery-image:nth-of-type(8n),.blocks-gallery-grid.columns-8 .blocks-gallery-item:nth-of-type(8n),.wp-block-gallery.columns-8 .blocks-gallery-image:nth-of-type(8n),.wp-block-gallery.columns-8 .blocks-gallery-item:nth-of-type(8n){margin-left:0}}.blocks-gallery-grid .blocks-gallery-image:last-child,.blocks-gallery-grid .blocks-gallery-item:last-child,.wp-block-gallery .blocks-gallery-image:last-child,.wp-block-gallery .blocks-gallery-item:last-child{margin-left:0}.blocks-gallery-grid.alignleft,.blocks-gallery-grid.alignright,.wp-block-gallery.alignleft,.wp-block-gallery.alignright{max-width:290px;width:100%}.blocks-gallery-grid.aligncenter .blocks-gallery-item figure,.wp-block-gallery.aligncenter .blocks-gallery-item figure{justify-content:center}.wp-block-image{margin-bottom:1em}.wp-block-image img{max-width:100%}.wp-block-image.aligncenter{text-align:center}.wp-block-image.alignfull img,.wp-block-image.alignwide img{width:100%}.wp-block-image .aligncenter,.wp-block-image .alignleft,.wp-block-image .alignright,.wp-block-image.is-resized{display:table;margin-right:0;margin-left:0}.wp-block-image .aligncenter>figcaption,.wp-block-image .alignleft>figcaption,.wp-block-image .alignright>figcaption,.wp-block-image.is-resized>figcaption{display:table-caption;caption-side:bottom}.wp-block-image .alignleft{float:left;margin-right:1em}.wp-block-image .alignright{float:right;margin-left:1em}.wp-block-image .aligncenter{margin-right:auto;margin-left:auto}.wp-block-image figcaption{margin-top:.5em;margin-bottom:1em}.is-style-circle-mask img,.is-style-rounded img{border-radius:9999px}@supports ((-webkit-mask-image:none) or (mask-image:none)) or (-webkit-mask-image:none){.is-style-circle-mask img{-webkit-mask-image:url('data:image/svg+xml;utf8,');mask-image:url('data:image/svg+xml;utf8,');mask-mode:alpha;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-position:center;mask-position:center;border-radius:0}}.wp-block-latest-comments__comment{font-size:15px;line-height:1.1;list-style:none;margin-bottom:1em}.has-avatars .wp-block-latest-comments__comment{min-height:36px;list-style:none}.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-excerpt,.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-meta{margin-right:52px}.has-dates .wp-block-latest-comments__comment,.has-excerpts .wp-block-latest-comments__comment{line-height:1.5}.wp-block-latest-comments__comment-excerpt p{font-size:14px;line-height:1.8;margin:5px 0 20px}.wp-block-latest-comments__comment-date{color:#8f98a1;display:block;font-size:12px}.wp-block-latest-comments .avatar,.wp-block-latest-comments__comment-avatar{border-radius:24px;display:block;float:right;height:40px;margin-left:12px;width:40px}.wp-block-latest-posts.alignleft{margin-right:2em}.wp-block-latest-posts.alignright{margin-left:2em}.wp-block-latest-posts.wp-block-latest-posts__list{list-style:none}.wp-block-latest-posts.is-grid{display:flex;flex-wrap:wrap;padding:0}.wp-block-latest-posts.is-grid li{margin:0 0 16px 16px;width:100%}@media (min-width:600px){.wp-block-latest-posts.columns-2 li{width:calc(50% - 16px)}.wp-block-latest-posts.columns-3 li{width:calc(33.33333% - 16px)}.wp-block-latest-posts.columns-4 li{width:calc(25% - 16px)}.wp-block-latest-posts.columns-5 li{width:calc(20% - 16px)}.wp-block-latest-posts.columns-6 li{width:calc(16.66667% - 16px)}}.wp-block-latest-posts__post-date{display:block;color:#6c7781;font-size:13px}.wp-block-latest-posts__post-excerpt{margin-top:8px;margin-bottom:16px}.wp-block-media-text{display:-ms-grid;display:grid;-ms-grid-rows:auto;grid-template-rows:auto;-ms-grid-columns:50% 1fr;grid-template-columns:50% 1fr}.wp-block-media-text .has-media-on-the-right{-ms-grid-columns:1fr 50%;grid-template-columns:1fr 50%}.wp-block-media-text.is-vertically-aligned-top .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-top .wp-block-media-text__media{-ms-grid-row-align:start;align-self:start}.wp-block-media-text.is-vertically-aligned-center .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-center .wp-block-media-text__media,.wp-block-media-text .wp-block-media-text__content,.wp-block-media-text .wp-block-media-text__media{-ms-grid-row-align:center;align-self:center}.wp-block-media-text.is-vertically-aligned-bottom .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-bottom .wp-block-media-text__media{-ms-grid-row-align:end;align-self:end}.wp-block-media-text .wp-block-media-text__media{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1;margin:0}.wp-block-media-text .wp-block-media-text__content{word-break:break-word;padding:0 8%}.wp-block-media-text.has-media-on-the-right .wp-block-media-text__media,.wp-block-media-text .wp-block-media-text__content{-ms-grid-column:2;grid-column:2;-ms-grid-row:1;grid-row:1}.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1}.wp-block-media-text>figure>img,.wp-block-media-text>figure>video{max-width:unset;width:100%;vertical-align:middle}.wp-block-media-text.is-image-fill figure.wp-block-media-text__media{height:100%;min-height:250px;background-size:cover}.wp-block-media-text.is-image-fill figure.wp-block-media-text__media>img{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}@media (max-width:600px){.wp-block-media-text.is-stacked-on-mobile{-ms-grid-columns:100%!important;grid-template-columns:100%!important}.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__media{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1}.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .wp-block-media-text__media,.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content{-ms-grid-column:1;grid-column:1;-ms-grid-row:2;grid-row:2}.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .wp-block-media-text__content{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1}}.wp-block-navigation>ul{display:block;list-style:none;margin:0;max-width:none;padding-right:0;position:relative}@media (min-width:600px){.wp-block-navigation>ul{display:flex;flex-wrap:wrap}}.wp-block-navigation>ul ul{padding-right:0}.wp-block-navigation>ul li{position:relative;z-index:1}.wp-block-navigation>ul li:focus-within,.wp-block-navigation>ul li:hover{cursor:pointer;z-index:99999}.wp-block-navigation>ul li:focus-within>ul,.wp-block-navigation>ul li:hover>ul,.wp-block-navigation>ul li ul:focus,.wp-block-navigation>ul li ul:hover{visibility:visible;opacity:1;display:block}.wp-block-navigation>ul>li>a{padding-right:0}@media (min-width:600px){.wp-block-navigation>ul>li>a{padding-right:16px}}.wp-block-navigation>ul>li:first-of-type>a{padding-right:0}.wp-block-navigation>ul>li:last-of-type>a{padding-left:0}.wp-block-navigation>ul>li>ul{background:#fff;-webkit-box-shadow:0 3px 30px rgba(25,30,35,.1);-moz-box-shadow:0 3px 30px rgba(25,30,35,.1);border-radius:3px;box-shadow:0 3px 30px rgba(25,30,35,.1);border:1px solid #e2e4e7;margin:0;position:absolute;right:0;top:80%;min-width:-webkit-max-content;min-width:max-content;opacity:0;transition:opacity .15s linear,transform .15s linear,left 0s .15s;transform:translateY(.6rem);visibility:hidden;padding:5px 0}.wp-block-navigation>ul>li>ul li{margin:2px 8px}.wp-block-navigation>ul>li>ul a{text-decoration:none}.wp-block-navigation>ul>li>ul a:hover{text-decoration:underline}.wp-block-navigation>ul>li>ul:after,.wp-block-navigation>ul>li>ul:before{bottom:100%;right:50%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}.wp-block-navigation>ul>li>ul:after{border-color:hsla(0,0%,100%,0) hsla(0,0%,100%,0) #fff;border-width:10px;margin-right:-10px}.wp-block-navigation>ul>li>ul:before{border-color:rgba(226,228,231,0) rgba(226,228,231,0) #e2e4e7;border-width:11px;margin-right:-11px}.wp-block-navigation>ul>li>ul ul{width:100%}.wp-block-navigation .has-background-color+ul{background:inherit}.wp-block-navigation a{display:block;padding:16px}.wp-block-navigation ul ul{list-style:none;margin-right:0}.wp-block-navigation ul ul li a{padding-top:8px;padding-bottom:8px}.wp-block-navigation .has-sub-menu>a:after{content:"\00a0\25BC";display:inline-block;font-size:.6rem;height:inherit;width:inherit}.wp-block-navigation.items-justified-left>ul{justify-content:flex-start}.wp-block-navigation.items-justified-center>ul{justify-content:center}.wp-block-navigation.items-justified-right>ul{justify-content:flex-end}.is-style-dark>ul>li>ul{background:#333;border:1px solid #111}.is-style-dark>ul>li>ul a{text-decoration:none;color:#fff}.is-style-dark>ul>li>ul a:hover{text-decoration:underline;color:#eee}.is-style-dark>ul>li>ul:after{border-color:rgba(51,51,51,0) rgba(51,51,51,0) #333}.is-style-dark>ul>li>ul:before{border-color:rgba(17,17,17,0) rgba(17,17,17,0) #111}.is-small-text{font-size:14px}.is-regular-text{font-size:16px}.is-large-text{font-size:36px}.is-larger-text{font-size:48px}.has-drop-cap:not(:focus):first-letter{float:right;font-size:8.4em;line-height:.68;font-weight:100;margin:.05em 0 0 .1em;text-transform:uppercase;font-style:normal}p.has-background{padding:20px 30px}p.has-text-color a{color:inherit}.wp-block-pullquote{padding:3em 0;margin-right:0;margin-left:0;text-align:center}.wp-block-pullquote.alignleft,.wp-block-pullquote.alignright{max-width:290px}.wp-block-pullquote.alignleft p,.wp-block-pullquote.alignright p{font-size:20px}.wp-block-pullquote p{font-size:28px;line-height:1.6}.wp-block-pullquote cite,.wp-block-pullquote footer{position:relative}.wp-block-pullquote .has-text-color a{color:inherit}.wp-block-pullquote:not(.is-style-solid-color){background:none}.wp-block-pullquote.is-style-solid-color{border:none}.wp-block-pullquote.is-style-solid-color blockquote{margin-right:auto;margin-left:auto;text-align:right;max-width:60%}.wp-block-pullquote.is-style-solid-color blockquote p{margin-top:0;margin-bottom:0;font-size:32px}.wp-block-pullquote.is-style-solid-color blockquote cite{text-transform:none;font-style:normal}.wp-block-pullquote cite{color:inherit}.wp-block-quote.is-large,.wp-block-quote.is-style-large{margin:0 0 16px;padding:0 1em}.wp-block-quote.is-large p,.wp-block-quote.is-style-large p{font-size:24px;font-style:italic;line-height:1.6}.wp-block-quote.is-large cite,.wp-block-quote.is-large footer,.wp-block-quote.is-style-large cite,.wp-block-quote.is-style-large footer{font-size:18px;text-align:left}.wp-block-rss.alignleft{margin-right:2em}.wp-block-rss.alignright{margin-left:2em}.wp-block-rss.is-grid{display:flex;flex-wrap:wrap;padding:0;list-style:none}.wp-block-rss.is-grid li{margin:0 0 16px 16px;width:100%}@media (min-width:600px){.wp-block-rss.columns-2 li{width:calc(50% - 16px)}.wp-block-rss.columns-3 li{width:calc(33.33333% - 16px)}.wp-block-rss.columns-4 li{width:calc(25% - 16px)}.wp-block-rss.columns-5 li{width:calc(20% - 16px)}.wp-block-rss.columns-6 li{width:calc(16.66667% - 16px)}}.wp-block-rss__item-author,.wp-block-rss__item-publish-date{display:block;color:#6c7781;font-size:13px}.wp-block-search{display:flex;flex-wrap:wrap}.wp-block-search .wp-block-search__label{width:100%}.wp-block-search .wp-block-search__input{flex-grow:1;max-width:360px}.wp-block-search .wp-block-search__button{margin-right:10px}.wp-block-separator.is-style-wide{border-bottom-width:1px}.wp-block-separator.is-style-dots{background:none!important;border:none;text-align:center;max-width:none;line-height:1;height:auto}.wp-block-separator.is-style-dots:before{content:"\00b7 \00b7 \00b7";color:currentColor;font-size:20px;letter-spacing:2em;padding-right:2em;font-family:serif}.wp-block-social-links{display:flex;justify-content:flex-start;padding-right:0;padding-left:0;margin-right:0}.wp-block-social-links .wp-social-link a,.wp-block-social-links .wp-social-link a:hover{text-decoration:none;border-bottom:0;box-shadow:none}.wp-social-link{display:block;width:36px;height:36px;border-radius:36px;margin-left:8px;transition:transform .1s ease}@media (prefers-reduced-motion:reduce){.wp-social-link{transition-duration:0s}}.wp-social-link a{padding:6px;display:block;line-height:0;transition:transform .1s ease}.wp-social-link a,.wp-social-link a:active,.wp-social-link a:hover,.wp-social-link a:visited,.wp-social-link svg{color:currentColor;fill:currentColor}.wp-social-link:hover{transform:scale(1.1)}.wp-block-social-links.aligncenter{justify-content:center;display:flex}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link{background-color:#f0f0f0;color:#444}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-amazon{background-color:#f90;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-bandcamp{background-color:#1ea0c3;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-behance{background-color:#0757fe;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-codepen{background-color:#1e1f26;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-deviantart{background-color:#02e49b;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-dribbble{background-color:#e94c89;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-dropbox{background-color:#4280ff;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-etsy{background-color:#f45800;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-facebook{background-color:#1977f2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-fivehundredpx{background-color:#000;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-flickr{background-color:#0461dd;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-foursquare{background-color:#e65678;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-github{background-color:#24292d;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-goodreads{background-color:#eceadd;color:#382110}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-google{background-color:#ea4434;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-instagram{background-color:#f00075;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-lastfm{background-color:#e21b24;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-linkedin{background-color:#0577b5;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-mastodon{background-color:#3288d4;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-medium{background-color:#02ab6c;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-meetup{background-color:#f6405f;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-pinterest{background-color:#e60122;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-pocket{background-color:#ef4155;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-reddit{background-color:#fe4500;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-skype{background-color:#0478d7;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-snapchat{background-color:#fefc00;color:#fff;stroke:#000}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-soundcloud{background-color:#ff5600;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-spotify{background-color:#1bd760;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-tumblr{background-color:#011835;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-twitch{background-color:#6440a4;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-twitter{background-color:#21a1f3;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-vimeo{background-color:#1eb7ea;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-vk{background-color:#4680c2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-wordpress{background-color:#3499cd;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-yelp{background-color:#d32422;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-youtube{background-color:#ff0100;color:#fff}.wp-block-social-links.is-style-logos-only .wp-social-link{background:none;padding:4px}.wp-block-social-links.is-style-logos-only .wp-social-link svg{width:28px;height:28px}.wp-block-social-links.is-style-logos-only .wp-social-link-amazon{color:#f90}.wp-block-social-links.is-style-logos-only .wp-social-link-bandcamp{color:#1ea0c3}.wp-block-social-links.is-style-logos-only .wp-social-link-behance{color:#0757fe}.wp-block-social-links.is-style-logos-only .wp-social-link-codepen{color:#1e1f26}.wp-block-social-links.is-style-logos-only .wp-social-link-deviantart{color:#02e49b}.wp-block-social-links.is-style-logos-only .wp-social-link-dribbble{color:#e94c89}.wp-block-social-links.is-style-logos-only .wp-social-link-dropbox{color:#4280ff}.wp-block-social-links.is-style-logos-only .wp-social-link-etsy{color:#f45800}.wp-block-social-links.is-style-logos-only .wp-social-link-facebook{color:#1977f2}.wp-block-social-links.is-style-logos-only .wp-social-link-fivehundredpx{color:#000}.wp-block-social-links.is-style-logos-only .wp-social-link-flickr{color:#0461dd}.wp-block-social-links.is-style-logos-only .wp-social-link-foursquare{color:#e65678}.wp-block-social-links.is-style-logos-only .wp-social-link-github{color:#24292d}.wp-block-social-links.is-style-logos-only .wp-social-link-goodreads{color:#382110}.wp-block-social-links.is-style-logos-only .wp-social-link-google{color:#ea4434}.wp-block-social-links.is-style-logos-only .wp-social-link-instagram{color:#f00075}.wp-block-social-links.is-style-logos-only .wp-social-link-lastfm{color:#e21b24}.wp-block-social-links.is-style-logos-only .wp-social-link-linkedin{color:#0577b5}.wp-block-social-links.is-style-logos-only .wp-social-link-mastodon{color:#3288d4}.wp-block-social-links.is-style-logos-only .wp-social-link-medium{color:#02ab6c}.wp-block-social-links.is-style-logos-only .wp-social-link-meetup{color:#f6405f}.wp-block-social-links.is-style-logos-only .wp-social-link-pinterest{color:#e60122}.wp-block-social-links.is-style-logos-only .wp-social-link-pocket{color:#ef4155}.wp-block-social-links.is-style-logos-only .wp-social-link-reddit{color:#fe4500}.wp-block-social-links.is-style-logos-only .wp-social-link-skype{color:#0478d7}.wp-block-social-links.is-style-logos-only .wp-social-link-snapchat{color:#fff;stroke:#000}.wp-block-social-links.is-style-logos-only .wp-social-link-soundcloud{color:#ff5600}.wp-block-social-links.is-style-logos-only .wp-social-link-spotify{color:#1bd760}.wp-block-social-links.is-style-logos-only .wp-social-link-tumblr{color:#011835}.wp-block-social-links.is-style-logos-only .wp-social-link-twitch{color:#6440a4}.wp-block-social-links.is-style-logos-only .wp-social-link-twitter{color:#21a1f3}.wp-block-social-links.is-style-logos-only .wp-social-link-vimeo{color:#1eb7ea}.wp-block-social-links.is-style-logos-only .wp-social-link-vk{color:#4680c2}.wp-block-social-links.is-style-logos-only .wp-social-link-wordpress{color:#3499cd}.wp-block-social-links.is-style-logos-only .wp-social-link-yelp{background-color:#d32422;color:#fff}.wp-block-social-links.is-style-logos-only .wp-social-link-youtube{color:#ff0100}.wp-block-social-links.is-style-pill-shape .wp-social-link{width:auto}.wp-block-social-links.is-style-pill-shape .wp-social-link a{padding-right:16px;padding-left:16px}.wp-block-spacer{clear:both}p.wp-block-subhead{font-size:1.1em;font-style:italic;opacity:.75}.wp-block-table{overflow-x:auto}.wp-block-table table{width:100%}.wp-block-table .has-fixed-layout{table-layout:fixed;width:100%}.wp-block-table .has-fixed-layout td,.wp-block-table .has-fixed-layout th{word-break:break-word}.wp-block-table.aligncenter,.wp-block-table.alignleft,.wp-block-table.alignright{display:table;width:auto}.wp-block-table.aligncenter td,.wp-block-table.aligncenter th,.wp-block-table.alignleft td,.wp-block-table.alignleft th,.wp-block-table.alignright td,.wp-block-table.alignright th{word-break:break-word}.wp-block-table .has-subtle-light-gray-background-color{background-color:#f3f4f5}.wp-block-table .has-subtle-pale-green-background-color{background-color:#e9fbe5}.wp-block-table .has-subtle-pale-blue-background-color{background-color:#e7f5fe}.wp-block-table .has-subtle-pale-pink-background-color{background-color:#fcf0ef}.wp-block-table.is-style-stripes{border-spacing:0;border-collapse:inherit;background-color:transparent;border-bottom:1px solid #f3f4f5}.wp-block-table.is-style-stripes tbody tr:nth-child(odd){background-color:#f3f4f5}.wp-block-table.is-style-stripes.has-subtle-light-gray-background-color tbody tr:nth-child(odd){background-color:#f3f4f5}.wp-block-table.is-style-stripes.has-subtle-pale-green-background-color tbody tr:nth-child(odd){background-color:#e9fbe5}.wp-block-table.is-style-stripes.has-subtle-pale-blue-background-color tbody tr:nth-child(odd){background-color:#e7f5fe}.wp-block-table.is-style-stripes.has-subtle-pale-pink-background-color tbody tr:nth-child(odd){background-color:#fcf0ef}.wp-block-table.is-style-stripes td,.wp-block-table.is-style-stripes th{border-color:transparent}.wp-block-text-columns,.wp-block-text-columns.aligncenter{display:flex}.wp-block-text-columns .wp-block-column{margin:0 16px;padding:0}.wp-block-text-columns .wp-block-column:first-child{margin-right:0}.wp-block-text-columns .wp-block-column:last-child{margin-left:0}.wp-block-text-columns.columns-2 .wp-block-column{width:50%}.wp-block-text-columns.columns-3 .wp-block-column{width:33.33333%}.wp-block-text-columns.columns-4 .wp-block-column{width:25%}.wp-block-video{margin-right:0;margin-left:0}.wp-block-video video{max-width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-video [poster]{-o-object-fit:cover;object-fit:cover}}.wp-block-video.aligncenter{text-align:center}.wp-block-video figcaption{margin-top:.5em;margin-bottom:1em}:root .has-pale-pink-background-color{background-color:#f78da7}:root .has-vivid-red-background-color{background-color:#cf2e2e}:root .has-luminous-vivid-orange-background-color{background-color:#ff6900}:root .has-luminous-vivid-amber-background-color{background-color:#fcb900}:root .has-light-green-cyan-background-color{background-color:#7bdcb5}:root .has-vivid-green-cyan-background-color{background-color:#00d084}:root .has-pale-cyan-blue-background-color{background-color:#8ed1fc}:root .has-vivid-cyan-blue-background-color{background-color:#0693e3}:root .has-vivid-purple-background-color{background-color:#9b51e0}:root .has-very-light-gray-background-color{background-color:#eee}:root .has-cyan-bluish-gray-background-color{background-color:#abb8c3}:root .has-very-dark-gray-background-color{background-color:#313131}:root .has-pale-pink-color{color:#f78da7}:root .has-vivid-red-color{color:#cf2e2e}:root .has-luminous-vivid-orange-color{color:#ff6900}:root .has-luminous-vivid-amber-color{color:#fcb900}:root .has-light-green-cyan-color{color:#7bdcb5}:root .has-vivid-green-cyan-color{color:#00d084}:root .has-pale-cyan-blue-color{color:#8ed1fc}:root .has-vivid-cyan-blue-color{color:#0693e3}:root .has-vivid-purple-color{color:#9b51e0}:root .has-very-light-gray-color{color:#eee}:root .has-cyan-bluish-gray-color{color:#abb8c3}:root .has-very-dark-gray-color{color:#313131}:root .has-vivid-cyan-blue-to-vivid-purple-gradient-background{background:linear-gradient(-135deg,#0693e3,#9b51e0)}:root .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background{background:linear-gradient(-135deg,#00d084,#0693e3)}:root .has-light-green-cyan-to-vivid-green-cyan-gradient-background{background:linear-gradient(-135deg,#7adcb4,#00d082)}:root .has-luminous-vivid-amber-to-luminous-vivid-orange-gradient-background{background:linear-gradient(-135deg,#fcb900,#ff6900)}:root .has-luminous-vivid-orange-to-vivid-red-gradient-background{background:linear-gradient(-135deg,#ff6900,#cf2e2e)}:root .has-very-light-gray-to-cyan-bluish-gray-gradient-background{background:linear-gradient(-135deg,#eee,#a9b8c3)}:root .has-cool-to-warm-spectrum-gradient-background{background:linear-gradient(-135deg,#4aeadc,#9778d1 20%,#cf2aba 40%,#ee2c82 60%,#fb6962 80%,#fef84c)}:root .has-blush-light-purple-gradient-background{background:linear-gradient(-135deg,#ffceec,#9896f0)}:root .has-blush-bordeaux-gradient-background{background:linear-gradient(-135deg,#fecda5,#fe2d2d 50%,#6b003e)}:root .has-purple-crush-gradient-background{background:linear-gradient(-135deg,#34e2e4,#4721fb 50%,#ab1dfe)}:root .has-luminous-dusk-gradient-background{background:linear-gradient(-135deg,#ffcb70,#c751c0 50%,#4158d0)}:root .has-hazy-dawn-gradient-background{background:linear-gradient(-135deg,#faaca8,#dad0ec)}:root .has-pale-ocean-gradient-background{background:linear-gradient(-135deg,#fff5cb,#b6e3d4 50%,#33a7b5)}:root .has-electric-grass-gradient-background{background:linear-gradient(-135deg,#caf880,#71ce7e)}:root .has-subdued-olive-gradient-background{background:linear-gradient(-135deg,#fafae1,#67a671)}:root .has-atomic-cream-gradient-background{background:linear-gradient(-135deg,#fdd79a,#004a59)}:root .has-nightshade-gradient-background{background:linear-gradient(-135deg,#330968,#31cdcf)}:root .has-midnight-gradient-background{background:linear-gradient(-135deg,#020381,#2874fc)}.has-small-font-size{font-size:13px}.has-normal-font-size,.has-regular-font-size{font-size:16px}.has-medium-font-size{font-size:20px}.has-large-font-size{font-size:36px}.has-huge-font-size,.has-larger-font-size{font-size:42px}.has-text-align-center{text-align:center}.has-text-align-left{text-align:left}.has-text-align-right{text-align:right} \ No newline at end of file diff --git a/wp-includes/css/dist/block-library/style.css b/wp-includes/css/dist/block-library/style.css index 2a6afde52e..17fd9bda66 100644 --- a/wp-includes/css/dist/block-library/style.css +++ b/wp-includes/css/dist/block-library/style.css @@ -4,6 +4,9 @@ /** * Breakpoints & Media Queries */ +/** + * Colors + */ /** * Often re-used variables */ @@ -80,6 +83,13 @@ background-color: transparent; border: 2px solid; } +.wp-block-buttons .wp-block-button { + display: inline-block; + margin: 4px; } + +.wp-block-buttons.aligncenter { + text-align: center; } + .wp-block-calendar { text-align: center; } .wp-block-calendar th, @@ -728,6 +738,9 @@ section.wp-block-cover-image > h2, margin-top: 0.5em; margin-bottom: 1em; } +.is-style-rounded img { + border-radius: 9999px; } + .is-style-circle-mask img { border-radius: 9999px; } @supports ((-webkit-mask-image: none) or (mask-image: none)) or (-webkit-mask-image: none) { @@ -743,7 +756,7 @@ section.wp-block-cover-image > h2, mask-size: contain; -webkit-mask-position: center; mask-position: center; - border-radius: none; } } + border-radius: 0; } } .wp-block-latest-comments__comment { font-size: 15px; @@ -964,10 +977,11 @@ section.wp-block-cover-image > h2, padding-right: 0; } .wp-block-navigation > ul > li > ul { background: #fff; - -webkit-box-shadow: -2px 4px 4px -1px rgba(97, 97, 97, 0.153); - -moz-box-shadow: -2px 4px 4px -1px rgba(97, 97, 97, 0.153); - border-radius: 4px; - box-shadow: -2px 4px 4px -1px rgba(97, 97, 97, 0.153); + -webkit-box-shadow: 0 3px 30px rgba(25, 30, 35, 0.1); + -moz-box-shadow: 0 3px 30px rgba(25, 30, 35, 0.1); + border-radius: 3px; + box-shadow: 0 3px 30px rgba(25, 30, 35, 0.1); + border: 1px solid #e2e4e7; margin: 0; position: absolute; left: 0; @@ -985,19 +999,25 @@ section.wp-block-cover-image > h2, text-decoration: none; } .wp-block-navigation > ul > li > ul a:hover { text-decoration: underline; } - .wp-block-navigation > ul > li > ul::after { + .wp-block-navigation > ul > li > ul::after, .wp-block-navigation > ul > li > ul::before { bottom: 100%; left: 50%; border: solid transparent; - border-color: rgba(255, 255, 255, 0); - border-bottom-color: #fff; content: " "; height: 0; width: 0; position: absolute; - pointer-events: none; + pointer-events: none; } + .wp-block-navigation > ul > li > ul::after { + border-color: rgba(255, 255, 255, 0); + border-bottom-color: #fff; border-width: 10px; margin-left: -10px; } + .wp-block-navigation > ul > li > ul::before { + border-color: rgba(226, 228, 231, 0); + border-bottom-color: #e2e4e7; + border-width: 11px; + margin-left: -11px; } .wp-block-navigation > ul > li > ul ul { width: 100%; } @@ -1033,7 +1053,7 @@ section.wp-block-cover-image > h2, .is-style-dark > ul > li > ul { background: #333; - border-radius: 4px; } + border: 1px solid #111; } .is-style-dark > ul > li > ul a { text-decoration: none; color: #fff; } @@ -1041,8 +1061,11 @@ section.wp-block-cover-image > h2, text-decoration: underline; color: #eee; } .is-style-dark > ul > li > ul::after { - border-color: rgba(24, 24, 24, 0); + border-color: rgba(51, 51, 51, 0); border-bottom-color: #333; } + .is-style-dark > ul > li > ul::before { + border-color: rgba(17, 17, 17, 0); + border-bottom-color: #111; } .is-small-text { font-size: 14px; } @@ -1206,6 +1229,9 @@ p.has-text-color a { border-radius: 36px; margin-right: 8px; transition: transform 0.1s ease; } + @media (prefers-reduced-motion: reduce) { + .wp-social-link { + transition-duration: 0s; } } .wp-social-link a { padding: 6px; display: block; @@ -1569,10 +1595,6 @@ p.wp-block-subhead { .wp-block-text-columns.columns-4 .wp-block-column { width: calc(100% / 4); } -pre.wp-block-verse { - white-space: nowrap; - overflow: auto; } - .wp-block-video { margin-left: 0; margin-right: 0; } diff --git a/wp-includes/css/dist/block-library/style.min.css b/wp-includes/css/dist/block-library/style.min.css index f46cb9bc2a..054e79251b 100644 --- a/wp-includes/css/dist/block-library/style.min.css +++ b/wp-includes/css/dist/block-library/style.min.css @@ -1 +1 @@ -.wp-block-audio figcaption{margin-top:.5em;margin-bottom:1em}.wp-block-audio audio{width:100%;min-width:300px}.wp-block-button{color:#fff}.wp-block-button.aligncenter{text-align:center}.wp-block-button.alignright{text-align:right}.wp-block-button__link{background-color:#32373c;border:none;border-radius:28px;box-shadow:none;color:inherit;cursor:pointer;display:inline-block;font-size:18px;margin:0;padding:12px 24px;text-align:center;text-decoration:none;overflow-wrap:break-word}.wp-block-button__link:active,.wp-block-button__link:focus,.wp-block-button__link:hover,.wp-block-button__link:visited{color:inherit}.is-style-squared .wp-block-button__link{border-radius:0}.no-border-radius.wp-block-button__link{border-radius:0!important}.is-style-outline{color:#32373c}.is-style-outline .wp-block-button__link{background-color:transparent;border:2px solid}.wp-block-calendar{text-align:center}.wp-block-calendar tbody td,.wp-block-calendar th{padding:4px;border:1px solid #e2e4e7}.wp-block-calendar tfoot td{border:none}.wp-block-calendar table{width:100%;border-collapse:collapse;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.wp-block-calendar table th{font-weight:400;background:#edeff0}.wp-block-calendar a{text-decoration:underline}.wp-block-calendar tfoot a{color:#00739c}.wp-block-calendar table caption,.wp-block-calendar table tbody{color:#40464d}.wp-block-categories.alignleft{margin-right:2em}.wp-block-categories.alignright{margin-left:2em}.wp-block-columns{display:flex;margin-bottom:28px;flex-wrap:wrap}@media (min-width:782px){.wp-block-columns{flex-wrap:nowrap}}.wp-block-column{flex-grow:1;min-width:0;word-break:break-word;overflow-wrap:break-word}@media (max-width:599px){.wp-block-column{flex-basis:100%!important}}@media (min-width:600px){.wp-block-column{flex-basis:calc(50% - 16px);flex-grow:0}.wp-block-column:nth-child(2n){margin-left:32px}}@media (min-width:782px){.wp-block-column:not(:first-child){margin-left:32px}}.wp-block-columns.are-vertically-aligned-top{align-items:flex-start}.wp-block-columns.are-vertically-aligned-center{align-items:center}.wp-block-columns.are-vertically-aligned-bottom{align-items:flex-end}.wp-block-column.is-vertically-aligned-top{align-self:flex-start}.wp-block-column.is-vertically-aligned-center{-ms-grid-row-align:center;align-self:center}.wp-block-column.is-vertically-aligned-bottom{align-self:flex-end}.wp-block-cover,.wp-block-cover-image{position:relative;background-color:#000;background-size:cover;background-position:50%;min-height:430px;height:100%;width:100%;display:flex;justify-content:center;align-items:center;overflow:hidden}.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:fixed}@supports (-webkit-overflow-scrolling:touch){.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:scroll}}@media (prefers-reduced-motion:reduce){.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:scroll}}.wp-block-cover-image.has-background-dim:before,.wp-block-cover.has-background-dim:before{content:"";background-color:inherit}.wp-block-cover-image.has-background-dim:not(.has-background-gradient):before,.wp-block-cover-image .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim:not(.has-background-gradient):before,.wp-block-cover .wp-block-cover__gradient-background{position:absolute;top:0;left:0;bottom:0;right:0;z-index:1}.wp-block-cover-image.has-background-dim:not(.has-background-gradient):before,.wp-block-cover-image .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim:not(.has-background-gradient):before,.wp-block-cover .wp-block-cover__gradient-background{opacity:.5}.wp-block-cover-image.has-background-dim.has-background-dim-10:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-10:not(.has-background-gradient):before{opacity:.1}.wp-block-cover-image.has-background-dim.has-background-dim-10 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-10 .wp-block-cover__gradient-background{opacity:.1}.wp-block-cover-image.has-background-dim.has-background-dim-20:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-20:not(.has-background-gradient):before{opacity:.2}.wp-block-cover-image.has-background-dim.has-background-dim-20 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-20 .wp-block-cover__gradient-background{opacity:.2}.wp-block-cover-image.has-background-dim.has-background-dim-30:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-30:not(.has-background-gradient):before{opacity:.3}.wp-block-cover-image.has-background-dim.has-background-dim-30 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-30 .wp-block-cover__gradient-background{opacity:.3}.wp-block-cover-image.has-background-dim.has-background-dim-40:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-40:not(.has-background-gradient):before{opacity:.4}.wp-block-cover-image.has-background-dim.has-background-dim-40 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-40 .wp-block-cover__gradient-background{opacity:.4}.wp-block-cover-image.has-background-dim.has-background-dim-50:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-50:not(.has-background-gradient):before{opacity:.5}.wp-block-cover-image.has-background-dim.has-background-dim-50 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-50 .wp-block-cover__gradient-background{opacity:.5}.wp-block-cover-image.has-background-dim.has-background-dim-60:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-60:not(.has-background-gradient):before{opacity:.6}.wp-block-cover-image.has-background-dim.has-background-dim-60 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-60 .wp-block-cover__gradient-background{opacity:.6}.wp-block-cover-image.has-background-dim.has-background-dim-70:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-70:not(.has-background-gradient):before{opacity:.7}.wp-block-cover-image.has-background-dim.has-background-dim-70 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-70 .wp-block-cover__gradient-background{opacity:.7}.wp-block-cover-image.has-background-dim.has-background-dim-80:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-80:not(.has-background-gradient):before{opacity:.8}.wp-block-cover-image.has-background-dim.has-background-dim-80 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-80 .wp-block-cover__gradient-background{opacity:.8}.wp-block-cover-image.has-background-dim.has-background-dim-90:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-90:not(.has-background-gradient):before{opacity:.9}.wp-block-cover-image.has-background-dim.has-background-dim-90 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-90 .wp-block-cover__gradient-background{opacity:.9}.wp-block-cover-image.has-background-dim.has-background-dim-100:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-100:not(.has-background-gradient):before{opacity:1}.wp-block-cover-image.has-background-dim.has-background-dim-100 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-100 .wp-block-cover__gradient-background{opacity:1}.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.alignleft,.wp-block-cover.alignright{max-width:290px;width:100%}.wp-block-cover-image:after,.wp-block-cover:after{display:block;content:"";font-size:0;min-height:inherit}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-cover-image:after,.wp-block-cover:after{content:none}}.wp-block-cover-image.aligncenter,.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.aligncenter,.wp-block-cover.alignleft,.wp-block-cover.alignright{display:flex}.wp-block-cover-image .wp-block-cover__inner-container,.wp-block-cover .wp-block-cover__inner-container{width:calc(100% - 70px);z-index:1;color:#f8f9f9}.wp-block-cover-image .wp-block-subhead:not(.has-text-color),.wp-block-cover-image h1:not(.has-text-color),.wp-block-cover-image h2:not(.has-text-color),.wp-block-cover-image h3:not(.has-text-color),.wp-block-cover-image h4:not(.has-text-color),.wp-block-cover-image h5:not(.has-text-color),.wp-block-cover-image h6:not(.has-text-color),.wp-block-cover-image p:not(.has-text-color),.wp-block-cover .wp-block-subhead:not(.has-text-color),.wp-block-cover h1:not(.has-text-color),.wp-block-cover h2:not(.has-text-color),.wp-block-cover h3:not(.has-text-color),.wp-block-cover h4:not(.has-text-color),.wp-block-cover h5:not(.has-text-color),.wp-block-cover h6:not(.has-text-color),.wp-block-cover p:not(.has-text-color){color:inherit}.wp-block-cover__video-background{position:absolute;top:50%;left:50%;transform:translateX(-50%) translateY(-50%);width:100%;height:100%;z-index:0;-o-object-fit:cover;object-fit:cover}.wp-block-cover-image-text,.wp-block-cover-text,section.wp-block-cover-image h2{color:#fff}.wp-block-cover-image-text a,.wp-block-cover-image-text a:active,.wp-block-cover-image-text a:focus,.wp-block-cover-image-text a:hover,.wp-block-cover-text a,.wp-block-cover-text a:active,.wp-block-cover-text a:focus,.wp-block-cover-text a:hover,section.wp-block-cover-image h2 a,section.wp-block-cover-image h2 a:active,section.wp-block-cover-image h2 a:focus,section.wp-block-cover-image h2 a:hover{color:#fff}.wp-block-cover-image .wp-block-cover.has-left-content{justify-content:flex-start}.wp-block-cover-image .wp-block-cover.has-right-content{justify-content:flex-end}.wp-block-cover-image.has-left-content .wp-block-cover-image-text,.wp-block-cover.has-left-content .wp-block-cover-text,section.wp-block-cover-image.has-left-content>h2{margin-left:0;text-align:left}.wp-block-cover-image.has-right-content .wp-block-cover-image-text,.wp-block-cover.has-right-content .wp-block-cover-text,section.wp-block-cover-image.has-right-content>h2{margin-right:0;text-align:right}.wp-block-cover-image .wp-block-cover-image-text,.wp-block-cover .wp-block-cover-text,section.wp-block-cover-image>h2{font-size:2em;line-height:1.25;z-index:1;margin-bottom:0;max-width:580px;padding:14px;text-align:center}.block-editor-block-list__block[data-type="core/embed"][data-align=left] .block-editor-block-list__block-edit,.block-editor-block-list__block[data-type="core/embed"][data-align=right] .block-editor-block-list__block-edit,.wp-block-embed.alignleft,.wp-block-embed.alignright{max-width:360px;width:100%}.wp-block-embed{margin-bottom:1em}.wp-block-embed figcaption{margin-top:.5em;margin-bottom:1em}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-9-16 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper{position:relative}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-9-16 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper:before{content:"";display:block;padding-top:50%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-9-16 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper iframe{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper:before{padding-top:42.85%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper:before{padding-top:50%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper:before{padding-top:56.25%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper:before{padding-top:75%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper:before{padding-top:100%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-9-16 .wp-block-embed__wrapper:before{padding-top:177.78%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper:before{padding-top:200%}.wp-block-file{margin-bottom:1.5em}.wp-block-file.aligncenter{text-align:center}.wp-block-file.alignright{text-align:right}.wp-block-file .wp-block-file__button{background:#32373c;border-radius:2em;color:#fff;font-size:13px;padding:.5em 1em}.wp-block-file a.wp-block-file__button{text-decoration:none}.wp-block-file a.wp-block-file__button:active,.wp-block-file a.wp-block-file__button:focus,.wp-block-file a.wp-block-file__button:hover,.wp-block-file a.wp-block-file__button:visited{box-shadow:none;color:#fff;opacity:.85;text-decoration:none}.wp-block-file *+.wp-block-file__button{margin-left:.75em}.blocks-gallery-grid,.wp-block-gallery{display:flex;flex-wrap:wrap;list-style-type:none;padding:0;margin:0}.blocks-gallery-grid .blocks-gallery-image,.blocks-gallery-grid .blocks-gallery-item,.wp-block-gallery .blocks-gallery-image,.wp-block-gallery .blocks-gallery-item{margin:0 16px 16px 0;display:flex;flex-grow:1;flex-direction:column;justify-content:center;position:relative}.blocks-gallery-grid .blocks-gallery-image figure,.blocks-gallery-grid .blocks-gallery-item figure,.wp-block-gallery .blocks-gallery-image figure,.wp-block-gallery .blocks-gallery-item figure{margin:0;height:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.blocks-gallery-grid .blocks-gallery-image figure,.blocks-gallery-grid .blocks-gallery-item figure,.wp-block-gallery .blocks-gallery-image figure,.wp-block-gallery .blocks-gallery-item figure{display:flex;align-items:flex-end;justify-content:flex-start}}.blocks-gallery-grid .blocks-gallery-image img,.blocks-gallery-grid .blocks-gallery-item img,.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{display:block;max-width:100%;height:auto;width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.blocks-gallery-grid .blocks-gallery-image img,.blocks-gallery-grid .blocks-gallery-item img,.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{width:auto}}.blocks-gallery-grid .blocks-gallery-image figcaption,.blocks-gallery-grid .blocks-gallery-item figcaption,.wp-block-gallery .blocks-gallery-image figcaption,.wp-block-gallery .blocks-gallery-item figcaption{position:absolute;bottom:0;width:100%;max-height:100%;overflow:auto;padding:40px 10px 9px;color:#fff;text-align:center;font-size:13px;background:linear-gradient(0deg,rgba(0,0,0,.7),rgba(0,0,0,.3) 70%,transparent)}.blocks-gallery-grid .blocks-gallery-image figcaption img,.blocks-gallery-grid .blocks-gallery-item figcaption img,.wp-block-gallery .blocks-gallery-image figcaption img,.wp-block-gallery .blocks-gallery-item figcaption img{display:inline}.blocks-gallery-grid.is-cropped .blocks-gallery-image a,.blocks-gallery-grid.is-cropped .blocks-gallery-image img,.blocks-gallery-grid.is-cropped .blocks-gallery-item a,.blocks-gallery-grid.is-cropped .blocks-gallery-item img,.wp-block-gallery.is-cropped .blocks-gallery-image a,.wp-block-gallery.is-cropped .blocks-gallery-image img,.wp-block-gallery.is-cropped .blocks-gallery-item a,.wp-block-gallery.is-cropped .blocks-gallery-item img{width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.blocks-gallery-grid.is-cropped .blocks-gallery-image a,.blocks-gallery-grid.is-cropped .blocks-gallery-image img,.blocks-gallery-grid.is-cropped .blocks-gallery-item a,.blocks-gallery-grid.is-cropped .blocks-gallery-item img,.wp-block-gallery.is-cropped .blocks-gallery-image a,.wp-block-gallery.is-cropped .blocks-gallery-image img,.wp-block-gallery.is-cropped .blocks-gallery-item a,.wp-block-gallery.is-cropped .blocks-gallery-item img{height:100%;flex:1;-o-object-fit:cover;object-fit:cover}}.blocks-gallery-grid .blocks-gallery-image,.blocks-gallery-grid .blocks-gallery-item,.wp-block-gallery .blocks-gallery-image,.wp-block-gallery .blocks-gallery-item{width:calc((100% - 16px)/2)}.blocks-gallery-grid .blocks-gallery-image:nth-of-type(2n),.blocks-gallery-grid .blocks-gallery-item:nth-of-type(2n),.wp-block-gallery .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery .blocks-gallery-item:nth-of-type(2n){margin-right:0}.blocks-gallery-grid.columns-1 .blocks-gallery-image,.blocks-gallery-grid.columns-1 .blocks-gallery-item,.wp-block-gallery.columns-1 .blocks-gallery-image,.wp-block-gallery.columns-1 .blocks-gallery-item{width:100%;margin-right:0}@media (min-width:600px){.blocks-gallery-grid.columns-3 .blocks-gallery-image,.blocks-gallery-grid.columns-3 .blocks-gallery-item,.wp-block-gallery.columns-3 .blocks-gallery-image,.wp-block-gallery.columns-3 .blocks-gallery-item{width:calc((100% - 32px)/3);margin-right:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-3 .blocks-gallery-image,.blocks-gallery-grid.columns-3 .blocks-gallery-item,.wp-block-gallery.columns-3 .blocks-gallery-image,.wp-block-gallery.columns-3 .blocks-gallery-item{width:calc((100% - 32px)/3 - 1px)}}.blocks-gallery-grid.columns-4 .blocks-gallery-image,.blocks-gallery-grid.columns-4 .blocks-gallery-item,.wp-block-gallery.columns-4 .blocks-gallery-image,.wp-block-gallery.columns-4 .blocks-gallery-item{width:calc((100% - 48px)/4);margin-right:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-4 .blocks-gallery-image,.blocks-gallery-grid.columns-4 .blocks-gallery-item,.wp-block-gallery.columns-4 .blocks-gallery-image,.wp-block-gallery.columns-4 .blocks-gallery-item{width:calc((100% - 48px)/4 - 1px)}}.blocks-gallery-grid.columns-5 .blocks-gallery-image,.blocks-gallery-grid.columns-5 .blocks-gallery-item,.wp-block-gallery.columns-5 .blocks-gallery-image,.wp-block-gallery.columns-5 .blocks-gallery-item{width:calc((100% - 64px)/5);margin-right:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-5 .blocks-gallery-image,.blocks-gallery-grid.columns-5 .blocks-gallery-item,.wp-block-gallery.columns-5 .blocks-gallery-image,.wp-block-gallery.columns-5 .blocks-gallery-item{width:calc((100% - 64px)/5 - 1px)}}.blocks-gallery-grid.columns-6 .blocks-gallery-image,.blocks-gallery-grid.columns-6 .blocks-gallery-item,.wp-block-gallery.columns-6 .blocks-gallery-image,.wp-block-gallery.columns-6 .blocks-gallery-item{width:calc((100% - 80px)/6);margin-right:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-6 .blocks-gallery-image,.blocks-gallery-grid.columns-6 .blocks-gallery-item,.wp-block-gallery.columns-6 .blocks-gallery-image,.wp-block-gallery.columns-6 .blocks-gallery-item{width:calc((100% - 80px)/6 - 1px)}}.blocks-gallery-grid.columns-7 .blocks-gallery-image,.blocks-gallery-grid.columns-7 .blocks-gallery-item,.wp-block-gallery.columns-7 .blocks-gallery-image,.wp-block-gallery.columns-7 .blocks-gallery-item{width:calc((100% - 96px)/7);margin-right:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-7 .blocks-gallery-image,.blocks-gallery-grid.columns-7 .blocks-gallery-item,.wp-block-gallery.columns-7 .blocks-gallery-image,.wp-block-gallery.columns-7 .blocks-gallery-item{width:calc((100% - 96px)/7 - 1px)}}.blocks-gallery-grid.columns-8 .blocks-gallery-image,.blocks-gallery-grid.columns-8 .blocks-gallery-item,.wp-block-gallery.columns-8 .blocks-gallery-image,.wp-block-gallery.columns-8 .blocks-gallery-item{width:calc((100% - 112px)/8);margin-right:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-8 .blocks-gallery-image,.blocks-gallery-grid.columns-8 .blocks-gallery-item,.wp-block-gallery.columns-8 .blocks-gallery-image,.wp-block-gallery.columns-8 .blocks-gallery-item{width:calc((100% - 112px)/8 - 1px)}}.blocks-gallery-grid.columns-1 .blocks-gallery-image:nth-of-type(1n),.blocks-gallery-grid.columns-1 .blocks-gallery-item:nth-of-type(1n),.wp-block-gallery.columns-1 .blocks-gallery-image:nth-of-type(1n),.wp-block-gallery.columns-1 .blocks-gallery-item:nth-of-type(1n){margin-right:0}.blocks-gallery-grid.columns-2 .blocks-gallery-image:nth-of-type(2n),.blocks-gallery-grid.columns-2 .blocks-gallery-item:nth-of-type(2n),.wp-block-gallery.columns-2 .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery.columns-2 .blocks-gallery-item:nth-of-type(2n){margin-right:0}.blocks-gallery-grid.columns-3 .blocks-gallery-image:nth-of-type(3n),.blocks-gallery-grid.columns-3 .blocks-gallery-item:nth-of-type(3n),.wp-block-gallery.columns-3 .blocks-gallery-image:nth-of-type(3n),.wp-block-gallery.columns-3 .blocks-gallery-item:nth-of-type(3n){margin-right:0}.blocks-gallery-grid.columns-4 .blocks-gallery-image:nth-of-type(4n),.blocks-gallery-grid.columns-4 .blocks-gallery-item:nth-of-type(4n),.wp-block-gallery.columns-4 .blocks-gallery-image:nth-of-type(4n),.wp-block-gallery.columns-4 .blocks-gallery-item:nth-of-type(4n){margin-right:0}.blocks-gallery-grid.columns-5 .blocks-gallery-image:nth-of-type(5n),.blocks-gallery-grid.columns-5 .blocks-gallery-item:nth-of-type(5n),.wp-block-gallery.columns-5 .blocks-gallery-image:nth-of-type(5n),.wp-block-gallery.columns-5 .blocks-gallery-item:nth-of-type(5n){margin-right:0}.blocks-gallery-grid.columns-6 .blocks-gallery-image:nth-of-type(6n),.blocks-gallery-grid.columns-6 .blocks-gallery-item:nth-of-type(6n),.wp-block-gallery.columns-6 .blocks-gallery-image:nth-of-type(6n),.wp-block-gallery.columns-6 .blocks-gallery-item:nth-of-type(6n){margin-right:0}.blocks-gallery-grid.columns-7 .blocks-gallery-image:nth-of-type(7n),.blocks-gallery-grid.columns-7 .blocks-gallery-item:nth-of-type(7n),.wp-block-gallery.columns-7 .blocks-gallery-image:nth-of-type(7n),.wp-block-gallery.columns-7 .blocks-gallery-item:nth-of-type(7n){margin-right:0}.blocks-gallery-grid.columns-8 .blocks-gallery-image:nth-of-type(8n),.blocks-gallery-grid.columns-8 .blocks-gallery-item:nth-of-type(8n),.wp-block-gallery.columns-8 .blocks-gallery-image:nth-of-type(8n),.wp-block-gallery.columns-8 .blocks-gallery-item:nth-of-type(8n){margin-right:0}}.blocks-gallery-grid .blocks-gallery-image:last-child,.blocks-gallery-grid .blocks-gallery-item:last-child,.wp-block-gallery .blocks-gallery-image:last-child,.wp-block-gallery .blocks-gallery-item:last-child{margin-right:0}.blocks-gallery-grid.alignleft,.blocks-gallery-grid.alignright,.wp-block-gallery.alignleft,.wp-block-gallery.alignright{max-width:290px;width:100%}.blocks-gallery-grid.aligncenter .blocks-gallery-item figure,.wp-block-gallery.aligncenter .blocks-gallery-item figure{justify-content:center}.wp-block-image{margin-bottom:1em}.wp-block-image img{max-width:100%}.wp-block-image.aligncenter{text-align:center}.wp-block-image.alignfull img,.wp-block-image.alignwide img{width:100%}.wp-block-image .aligncenter,.wp-block-image .alignleft,.wp-block-image .alignright,.wp-block-image.is-resized{display:table;margin-left:0;margin-right:0}.wp-block-image .aligncenter>figcaption,.wp-block-image .alignleft>figcaption,.wp-block-image .alignright>figcaption,.wp-block-image.is-resized>figcaption{display:table-caption;caption-side:bottom}.wp-block-image .alignleft{float:left;margin-right:1em}.wp-block-image .alignright{float:right;margin-left:1em}.wp-block-image .aligncenter{margin-left:auto;margin-right:auto}.wp-block-image figcaption{margin-top:.5em;margin-bottom:1em}.is-style-circle-mask img{border-radius:9999px}@supports ((-webkit-mask-image:none) or (mask-image:none)) or (-webkit-mask-image:none){.is-style-circle-mask img{-webkit-mask-image:url('data:image/svg+xml;utf8,');mask-image:url('data:image/svg+xml;utf8,');mask-mode:alpha;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-position:center;mask-position:center;border-radius:none}}.wp-block-latest-comments__comment{font-size:15px;line-height:1.1;list-style:none;margin-bottom:1em}.has-avatars .wp-block-latest-comments__comment{min-height:36px;list-style:none}.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-excerpt,.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-meta{margin-left:52px}.has-dates .wp-block-latest-comments__comment,.has-excerpts .wp-block-latest-comments__comment{line-height:1.5}.wp-block-latest-comments__comment-excerpt p{font-size:14px;line-height:1.8;margin:5px 0 20px}.wp-block-latest-comments__comment-date{color:#8f98a1;display:block;font-size:12px}.wp-block-latest-comments .avatar,.wp-block-latest-comments__comment-avatar{border-radius:24px;display:block;float:left;height:40px;margin-right:12px;width:40px}.wp-block-latest-posts.alignleft{margin-right:2em}.wp-block-latest-posts.alignright{margin-left:2em}.wp-block-latest-posts.wp-block-latest-posts__list{list-style:none}.wp-block-latest-posts.is-grid{display:flex;flex-wrap:wrap;padding:0}.wp-block-latest-posts.is-grid li{margin:0 16px 16px 0;width:100%}@media (min-width:600px){.wp-block-latest-posts.columns-2 li{width:calc(50% - 16px)}.wp-block-latest-posts.columns-3 li{width:calc(33.33333% - 16px)}.wp-block-latest-posts.columns-4 li{width:calc(25% - 16px)}.wp-block-latest-posts.columns-5 li{width:calc(20% - 16px)}.wp-block-latest-posts.columns-6 li{width:calc(16.66667% - 16px)}}.wp-block-latest-posts__post-date{display:block;color:#6c7781;font-size:13px}.wp-block-latest-posts__post-excerpt{margin-top:8px;margin-bottom:16px}.wp-block-media-text{display:-ms-grid;display:grid;-ms-grid-rows:auto;grid-template-rows:auto;-ms-grid-columns:50% 1fr;grid-template-columns:50% 1fr}.wp-block-media-text .has-media-on-the-right{-ms-grid-columns:1fr 50%;grid-template-columns:1fr 50%}.wp-block-media-text.is-vertically-aligned-top .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-top .wp-block-media-text__media{-ms-grid-row-align:start;align-self:start}.wp-block-media-text.is-vertically-aligned-center .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-center .wp-block-media-text__media,.wp-block-media-text .wp-block-media-text__content,.wp-block-media-text .wp-block-media-text__media{-ms-grid-row-align:center;align-self:center}.wp-block-media-text.is-vertically-aligned-bottom .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-bottom .wp-block-media-text__media{-ms-grid-row-align:end;align-self:end}.wp-block-media-text .wp-block-media-text__media{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1;margin:0}.wp-block-media-text .wp-block-media-text__content{word-break:break-word;padding:0 8%}.wp-block-media-text.has-media-on-the-right .wp-block-media-text__media,.wp-block-media-text .wp-block-media-text__content{-ms-grid-column:2;grid-column:2;-ms-grid-row:1;grid-row:1}.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1}.wp-block-media-text>figure>img,.wp-block-media-text>figure>video{max-width:unset;width:100%;vertical-align:middle}.wp-block-media-text.is-image-fill figure.wp-block-media-text__media{height:100%;min-height:250px;background-size:cover}.wp-block-media-text.is-image-fill figure.wp-block-media-text__media>img{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}@media (max-width:600px){.wp-block-media-text.is-stacked-on-mobile{-ms-grid-columns:100%!important;grid-template-columns:100%!important}.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__media{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1}.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .wp-block-media-text__media,.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content{-ms-grid-column:1;grid-column:1;-ms-grid-row:2;grid-row:2}.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .wp-block-media-text__content{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1}}.wp-block-navigation>ul{display:block;list-style:none;margin:0;max-width:none;padding-left:0;position:relative}@media (min-width:600px){.wp-block-navigation>ul{display:flex;flex-wrap:wrap}}.wp-block-navigation>ul ul{padding-left:0}.wp-block-navigation>ul li{position:relative;z-index:1}.wp-block-navigation>ul li:focus-within,.wp-block-navigation>ul li:hover{cursor:pointer;z-index:99999}.wp-block-navigation>ul li:focus-within>ul,.wp-block-navigation>ul li:hover>ul,.wp-block-navigation>ul li ul:focus,.wp-block-navigation>ul li ul:hover{visibility:visible;opacity:1;display:block}.wp-block-navigation>ul>li>a{padding-left:0}@media (min-width:600px){.wp-block-navigation>ul>li>a{padding-left:16px}}.wp-block-navigation>ul>li:first-of-type>a{padding-left:0}.wp-block-navigation>ul>li:last-of-type>a{padding-right:0}.wp-block-navigation>ul>li>ul{background:#fff;-webkit-box-shadow:-2px 4px 4px -1px rgba(97,97,97,.153);-moz-box-shadow:-2px 4px 4px -1px rgba(97,97,97,.153);border-radius:4px;box-shadow:-2px 4px 4px -1px rgba(97,97,97,.153);margin:0;position:absolute;left:0;top:80%;min-width:-webkit-max-content;min-width:max-content;opacity:0;transition:opacity .15s linear,transform .15s linear,right 0s .15s;transform:translateY(.6rem);visibility:hidden;padding:5px 0}.wp-block-navigation>ul>li>ul li{margin:2px 8px}.wp-block-navigation>ul>li>ul a{text-decoration:none}.wp-block-navigation>ul>li>ul a:hover{text-decoration:underline}.wp-block-navigation>ul>li>ul:after{bottom:100%;left:50%;content:" ";height:0;width:0;position:absolute;pointer-events:none;border:10px solid hsla(0,0%,100%,0);border-bottom-color:#fff;margin-left:-10px}.wp-block-navigation>ul>li>ul ul{width:100%}.wp-block-navigation .has-background-color+ul{background:inherit}.wp-block-navigation a{display:block;padding:16px}.wp-block-navigation ul ul{list-style:none;margin-left:0}.wp-block-navigation ul ul li a{padding-top:8px;padding-bottom:8px}.wp-block-navigation .has-sub-menu>a:after{content:"\00a0\25BC";display:inline-block;font-size:.6rem;height:inherit;width:inherit}.wp-block-navigation.items-justified-left>ul{justify-content:flex-start}.wp-block-navigation.items-justified-center>ul{justify-content:center}.wp-block-navigation.items-justified-right>ul{justify-content:flex-end}.is-style-dark>ul>li>ul{background:#333;border-radius:4px}.is-style-dark>ul>li>ul a{text-decoration:none;color:#fff}.is-style-dark>ul>li>ul a:hover{text-decoration:underline;color:#eee}.is-style-dark>ul>li>ul:after{border-color:rgba(24,24,24,0) rgba(24,24,24,0) #333}.is-small-text{font-size:14px}.is-regular-text{font-size:16px}.is-large-text{font-size:36px}.is-larger-text{font-size:48px}.has-drop-cap:not(:focus):first-letter{float:left;font-size:8.4em;line-height:.68;font-weight:100;margin:.05em .1em 0 0;text-transform:uppercase;font-style:normal}p.has-background{padding:20px 30px}p.has-text-color a{color:inherit}.wp-block-pullquote{padding:3em 0;margin-left:0;margin-right:0;text-align:center}.wp-block-pullquote.alignleft,.wp-block-pullquote.alignright{max-width:290px}.wp-block-pullquote.alignleft p,.wp-block-pullquote.alignright p{font-size:20px}.wp-block-pullquote p{font-size:28px;line-height:1.6}.wp-block-pullquote cite,.wp-block-pullquote footer{position:relative}.wp-block-pullquote .has-text-color a{color:inherit}.wp-block-pullquote:not(.is-style-solid-color){background:none}.wp-block-pullquote.is-style-solid-color{border:none}.wp-block-pullquote.is-style-solid-color blockquote{margin-left:auto;margin-right:auto;text-align:left;max-width:60%}.wp-block-pullquote.is-style-solid-color blockquote p{margin-top:0;margin-bottom:0;font-size:32px}.wp-block-pullquote.is-style-solid-color blockquote cite{text-transform:none;font-style:normal}.wp-block-pullquote cite{color:inherit}.wp-block-quote.is-large,.wp-block-quote.is-style-large{margin:0 0 16px;padding:0 1em}.wp-block-quote.is-large p,.wp-block-quote.is-style-large p{font-size:24px;font-style:italic;line-height:1.6}.wp-block-quote.is-large cite,.wp-block-quote.is-large footer,.wp-block-quote.is-style-large cite,.wp-block-quote.is-style-large footer{font-size:18px;text-align:right}.wp-block-rss.alignleft{margin-right:2em}.wp-block-rss.alignright{margin-left:2em}.wp-block-rss.is-grid{display:flex;flex-wrap:wrap;padding:0;list-style:none}.wp-block-rss.is-grid li{margin:0 16px 16px 0;width:100%}@media (min-width:600px){.wp-block-rss.columns-2 li{width:calc(50% - 16px)}.wp-block-rss.columns-3 li{width:calc(33.33333% - 16px)}.wp-block-rss.columns-4 li{width:calc(25% - 16px)}.wp-block-rss.columns-5 li{width:calc(20% - 16px)}.wp-block-rss.columns-6 li{width:calc(16.66667% - 16px)}}.wp-block-rss__item-author,.wp-block-rss__item-publish-date{display:block;color:#6c7781;font-size:13px}.wp-block-search{display:flex;flex-wrap:wrap}.wp-block-search .wp-block-search__label{width:100%}.wp-block-search .wp-block-search__input{flex-grow:1;max-width:360px}.wp-block-search .wp-block-search__button{margin-left:10px}.wp-block-separator.is-style-wide{border-bottom-width:1px}.wp-block-separator.is-style-dots{background:none!important;border:none;text-align:center;max-width:none;line-height:1;height:auto}.wp-block-separator.is-style-dots:before{content:"\00b7 \00b7 \00b7";color:currentColor;font-size:20px;letter-spacing:2em;padding-left:2em;font-family:serif}.wp-block-social-links{display:flex;justify-content:flex-start;padding-left:0;padding-right:0;margin-left:0}.wp-block-social-links .wp-social-link a,.wp-block-social-links .wp-social-link a:hover{text-decoration:none;border-bottom:0;box-shadow:none}.wp-social-link{width:36px;height:36px;border-radius:36px;margin-right:8px}.wp-social-link,.wp-social-link a{display:block;transition:transform .1s ease}.wp-social-link a{padding:6px;line-height:0}.wp-social-link a,.wp-social-link a:active,.wp-social-link a:hover,.wp-social-link a:visited,.wp-social-link svg{color:currentColor;fill:currentColor}.wp-social-link:hover{transform:scale(1.1)}.wp-block-social-links.aligncenter{justify-content:center;display:flex}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link{background-color:#f0f0f0;color:#444}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-amazon{background-color:#f90;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-bandcamp{background-color:#1ea0c3;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-behance{background-color:#0757fe;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-codepen{background-color:#1e1f26;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-deviantart{background-color:#02e49b;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-dribbble{background-color:#e94c89;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-dropbox{background-color:#4280ff;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-etsy{background-color:#f45800;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-facebook{background-color:#1977f2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-fivehundredpx{background-color:#000;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-flickr{background-color:#0461dd;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-foursquare{background-color:#e65678;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-github{background-color:#24292d;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-goodreads{background-color:#eceadd;color:#382110}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-google{background-color:#ea4434;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-instagram{background-color:#f00075;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-lastfm{background-color:#e21b24;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-linkedin{background-color:#0577b5;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-mastodon{background-color:#3288d4;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-medium{background-color:#02ab6c;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-meetup{background-color:#f6405f;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-pinterest{background-color:#e60122;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-pocket{background-color:#ef4155;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-reddit{background-color:#fe4500;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-skype{background-color:#0478d7;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-snapchat{background-color:#fefc00;color:#fff;stroke:#000}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-soundcloud{background-color:#ff5600;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-spotify{background-color:#1bd760;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-tumblr{background-color:#011835;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-twitch{background-color:#6440a4;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-twitter{background-color:#21a1f3;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-vimeo{background-color:#1eb7ea;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-vk{background-color:#4680c2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-wordpress{background-color:#3499cd;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-yelp{background-color:#d32422;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-youtube{background-color:#ff0100;color:#fff}.wp-block-social-links.is-style-logos-only .wp-social-link{background:none;padding:4px}.wp-block-social-links.is-style-logos-only .wp-social-link svg{width:28px;height:28px}.wp-block-social-links.is-style-logos-only .wp-social-link-amazon{color:#f90}.wp-block-social-links.is-style-logos-only .wp-social-link-bandcamp{color:#1ea0c3}.wp-block-social-links.is-style-logos-only .wp-social-link-behance{color:#0757fe}.wp-block-social-links.is-style-logos-only .wp-social-link-codepen{color:#1e1f26}.wp-block-social-links.is-style-logos-only .wp-social-link-deviantart{color:#02e49b}.wp-block-social-links.is-style-logos-only .wp-social-link-dribbble{color:#e94c89}.wp-block-social-links.is-style-logos-only .wp-social-link-dropbox{color:#4280ff}.wp-block-social-links.is-style-logos-only .wp-social-link-etsy{color:#f45800}.wp-block-social-links.is-style-logos-only .wp-social-link-facebook{color:#1977f2}.wp-block-social-links.is-style-logos-only .wp-social-link-fivehundredpx{color:#000}.wp-block-social-links.is-style-logos-only .wp-social-link-flickr{color:#0461dd}.wp-block-social-links.is-style-logos-only .wp-social-link-foursquare{color:#e65678}.wp-block-social-links.is-style-logos-only .wp-social-link-github{color:#24292d}.wp-block-social-links.is-style-logos-only .wp-social-link-goodreads{color:#382110}.wp-block-social-links.is-style-logos-only .wp-social-link-google{color:#ea4434}.wp-block-social-links.is-style-logos-only .wp-social-link-instagram{color:#f00075}.wp-block-social-links.is-style-logos-only .wp-social-link-lastfm{color:#e21b24}.wp-block-social-links.is-style-logos-only .wp-social-link-linkedin{color:#0577b5}.wp-block-social-links.is-style-logos-only .wp-social-link-mastodon{color:#3288d4}.wp-block-social-links.is-style-logos-only .wp-social-link-medium{color:#02ab6c}.wp-block-social-links.is-style-logos-only .wp-social-link-meetup{color:#f6405f}.wp-block-social-links.is-style-logos-only .wp-social-link-pinterest{color:#e60122}.wp-block-social-links.is-style-logos-only .wp-social-link-pocket{color:#ef4155}.wp-block-social-links.is-style-logos-only .wp-social-link-reddit{color:#fe4500}.wp-block-social-links.is-style-logos-only .wp-social-link-skype{color:#0478d7}.wp-block-social-links.is-style-logos-only .wp-social-link-snapchat{color:#fff;stroke:#000}.wp-block-social-links.is-style-logos-only .wp-social-link-soundcloud{color:#ff5600}.wp-block-social-links.is-style-logos-only .wp-social-link-spotify{color:#1bd760}.wp-block-social-links.is-style-logos-only .wp-social-link-tumblr{color:#011835}.wp-block-social-links.is-style-logos-only .wp-social-link-twitch{color:#6440a4}.wp-block-social-links.is-style-logos-only .wp-social-link-twitter{color:#21a1f3}.wp-block-social-links.is-style-logos-only .wp-social-link-vimeo{color:#1eb7ea}.wp-block-social-links.is-style-logos-only .wp-social-link-vk{color:#4680c2}.wp-block-social-links.is-style-logos-only .wp-social-link-wordpress{color:#3499cd}.wp-block-social-links.is-style-logos-only .wp-social-link-yelp{background-color:#d32422;color:#fff}.wp-block-social-links.is-style-logos-only .wp-social-link-youtube{color:#ff0100}.wp-block-social-links.is-style-pill-shape .wp-social-link{width:auto}.wp-block-social-links.is-style-pill-shape .wp-social-link a{padding-left:16px;padding-right:16px}.wp-block-spacer{clear:both}p.wp-block-subhead{font-size:1.1em;font-style:italic;opacity:.75}.wp-block-table{overflow-x:auto}.wp-block-table table{width:100%}.wp-block-table .has-fixed-layout{table-layout:fixed;width:100%}.wp-block-table .has-fixed-layout td,.wp-block-table .has-fixed-layout th{word-break:break-word}.wp-block-table.aligncenter,.wp-block-table.alignleft,.wp-block-table.alignright{display:table;width:auto}.wp-block-table.aligncenter td,.wp-block-table.aligncenter th,.wp-block-table.alignleft td,.wp-block-table.alignleft th,.wp-block-table.alignright td,.wp-block-table.alignright th{word-break:break-word}.wp-block-table .has-subtle-light-gray-background-color{background-color:#f3f4f5}.wp-block-table .has-subtle-pale-green-background-color{background-color:#e9fbe5}.wp-block-table .has-subtle-pale-blue-background-color{background-color:#e7f5fe}.wp-block-table .has-subtle-pale-pink-background-color{background-color:#fcf0ef}.wp-block-table.is-style-stripes{border-spacing:0;border-collapse:inherit;background-color:transparent;border-bottom:1px solid #f3f4f5}.wp-block-table.is-style-stripes tbody tr:nth-child(odd){background-color:#f3f4f5}.wp-block-table.is-style-stripes.has-subtle-light-gray-background-color tbody tr:nth-child(odd){background-color:#f3f4f5}.wp-block-table.is-style-stripes.has-subtle-pale-green-background-color tbody tr:nth-child(odd){background-color:#e9fbe5}.wp-block-table.is-style-stripes.has-subtle-pale-blue-background-color tbody tr:nth-child(odd){background-color:#e7f5fe}.wp-block-table.is-style-stripes.has-subtle-pale-pink-background-color tbody tr:nth-child(odd){background-color:#fcf0ef}.wp-block-table.is-style-stripes td,.wp-block-table.is-style-stripes th{border-color:transparent}.wp-block-text-columns,.wp-block-text-columns.aligncenter{display:flex}.wp-block-text-columns .wp-block-column{margin:0 16px;padding:0}.wp-block-text-columns .wp-block-column:first-child{margin-left:0}.wp-block-text-columns .wp-block-column:last-child{margin-right:0}.wp-block-text-columns.columns-2 .wp-block-column{width:50%}.wp-block-text-columns.columns-3 .wp-block-column{width:33.33333%}.wp-block-text-columns.columns-4 .wp-block-column{width:25%}pre.wp-block-verse{white-space:nowrap;overflow:auto}.wp-block-video{margin-left:0;margin-right:0}.wp-block-video video{max-width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-video [poster]{-o-object-fit:cover;object-fit:cover}}.wp-block-video.aligncenter{text-align:center}.wp-block-video figcaption{margin-top:.5em;margin-bottom:1em}:root .has-pale-pink-background-color{background-color:#f78da7}:root .has-vivid-red-background-color{background-color:#cf2e2e}:root .has-luminous-vivid-orange-background-color{background-color:#ff6900}:root .has-luminous-vivid-amber-background-color{background-color:#fcb900}:root .has-light-green-cyan-background-color{background-color:#7bdcb5}:root .has-vivid-green-cyan-background-color{background-color:#00d084}:root .has-pale-cyan-blue-background-color{background-color:#8ed1fc}:root .has-vivid-cyan-blue-background-color{background-color:#0693e3}:root .has-vivid-purple-background-color{background-color:#9b51e0}:root .has-very-light-gray-background-color{background-color:#eee}:root .has-cyan-bluish-gray-background-color{background-color:#abb8c3}:root .has-very-dark-gray-background-color{background-color:#313131}:root .has-pale-pink-color{color:#f78da7}:root .has-vivid-red-color{color:#cf2e2e}:root .has-luminous-vivid-orange-color{color:#ff6900}:root .has-luminous-vivid-amber-color{color:#fcb900}:root .has-light-green-cyan-color{color:#7bdcb5}:root .has-vivid-green-cyan-color{color:#00d084}:root .has-pale-cyan-blue-color{color:#8ed1fc}:root .has-vivid-cyan-blue-color{color:#0693e3}:root .has-vivid-purple-color{color:#9b51e0}:root .has-very-light-gray-color{color:#eee}:root .has-cyan-bluish-gray-color{color:#abb8c3}:root .has-very-dark-gray-color{color:#313131}:root .has-vivid-cyan-blue-to-vivid-purple-gradient-background{background:linear-gradient(135deg,#0693e3,#9b51e0)}:root .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background{background:linear-gradient(135deg,#00d084,#0693e3)}:root .has-light-green-cyan-to-vivid-green-cyan-gradient-background{background:linear-gradient(135deg,#7adcb4,#00d082)}:root .has-luminous-vivid-amber-to-luminous-vivid-orange-gradient-background{background:linear-gradient(135deg,#fcb900,#ff6900)}:root .has-luminous-vivid-orange-to-vivid-red-gradient-background{background:linear-gradient(135deg,#ff6900,#cf2e2e)}:root .has-very-light-gray-to-cyan-bluish-gray-gradient-background{background:linear-gradient(135deg,#eee,#a9b8c3)}:root .has-cool-to-warm-spectrum-gradient-background{background:linear-gradient(135deg,#4aeadc,#9778d1 20%,#cf2aba 40%,#ee2c82 60%,#fb6962 80%,#fef84c)}:root .has-blush-light-purple-gradient-background{background:linear-gradient(135deg,#ffceec,#9896f0)}:root .has-blush-bordeaux-gradient-background{background:linear-gradient(135deg,#fecda5,#fe2d2d 50%,#6b003e)}:root .has-purple-crush-gradient-background{background:linear-gradient(135deg,#34e2e4,#4721fb 50%,#ab1dfe)}:root .has-luminous-dusk-gradient-background{background:linear-gradient(135deg,#ffcb70,#c751c0 50%,#4158d0)}:root .has-hazy-dawn-gradient-background{background:linear-gradient(135deg,#faaca8,#dad0ec)}:root .has-pale-ocean-gradient-background{background:linear-gradient(135deg,#fff5cb,#b6e3d4 50%,#33a7b5)}:root .has-electric-grass-gradient-background{background:linear-gradient(135deg,#caf880,#71ce7e)}:root .has-subdued-olive-gradient-background{background:linear-gradient(135deg,#fafae1,#67a671)}:root .has-atomic-cream-gradient-background{background:linear-gradient(135deg,#fdd79a,#004a59)}:root .has-nightshade-gradient-background{background:linear-gradient(135deg,#330968,#31cdcf)}:root .has-midnight-gradient-background{background:linear-gradient(135deg,#020381,#2874fc)}.has-small-font-size{font-size:13px}.has-normal-font-size,.has-regular-font-size{font-size:16px}.has-medium-font-size{font-size:20px}.has-large-font-size{font-size:36px}.has-huge-font-size,.has-larger-font-size{font-size:42px}.has-text-align-center{text-align:center}.has-text-align-left{text-align:left}.has-text-align-right{text-align:right} \ No newline at end of file +.wp-block-audio figcaption{margin-top:.5em;margin-bottom:1em}.wp-block-audio audio{width:100%;min-width:300px}.wp-block-button{color:#fff}.wp-block-button.aligncenter{text-align:center}.wp-block-button.alignright{text-align:right}.wp-block-button__link{background-color:#32373c;border:none;border-radius:28px;box-shadow:none;color:inherit;cursor:pointer;display:inline-block;font-size:18px;margin:0;padding:12px 24px;text-align:center;text-decoration:none;overflow-wrap:break-word}.wp-block-button__link:active,.wp-block-button__link:focus,.wp-block-button__link:hover,.wp-block-button__link:visited{color:inherit}.is-style-squared .wp-block-button__link{border-radius:0}.no-border-radius.wp-block-button__link{border-radius:0!important}.is-style-outline{color:#32373c}.is-style-outline .wp-block-button__link{background-color:transparent;border:2px solid}.wp-block-buttons .wp-block-button{display:inline-block;margin:4px}.wp-block-buttons.aligncenter,.wp-block-calendar{text-align:center}.wp-block-calendar tbody td,.wp-block-calendar th{padding:4px;border:1px solid #e2e4e7}.wp-block-calendar tfoot td{border:none}.wp-block-calendar table{width:100%;border-collapse:collapse;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.wp-block-calendar table th{font-weight:400;background:#edeff0}.wp-block-calendar a{text-decoration:underline}.wp-block-calendar tfoot a{color:#00739c}.wp-block-calendar table caption,.wp-block-calendar table tbody{color:#40464d}.wp-block-categories.alignleft{margin-right:2em}.wp-block-categories.alignright{margin-left:2em}.wp-block-columns{display:flex;margin-bottom:28px;flex-wrap:wrap}@media (min-width:782px){.wp-block-columns{flex-wrap:nowrap}}.wp-block-column{flex-grow:1;min-width:0;word-break:break-word;overflow-wrap:break-word}@media (max-width:599px){.wp-block-column{flex-basis:100%!important}}@media (min-width:600px){.wp-block-column{flex-basis:calc(50% - 16px);flex-grow:0}.wp-block-column:nth-child(2n){margin-left:32px}}@media (min-width:782px){.wp-block-column:not(:first-child){margin-left:32px}}.wp-block-columns.are-vertically-aligned-top{align-items:flex-start}.wp-block-columns.are-vertically-aligned-center{align-items:center}.wp-block-columns.are-vertically-aligned-bottom{align-items:flex-end}.wp-block-column.is-vertically-aligned-top{align-self:flex-start}.wp-block-column.is-vertically-aligned-center{-ms-grid-row-align:center;align-self:center}.wp-block-column.is-vertically-aligned-bottom{align-self:flex-end}.wp-block-cover,.wp-block-cover-image{position:relative;background-color:#000;background-size:cover;background-position:50%;min-height:430px;height:100%;width:100%;display:flex;justify-content:center;align-items:center;overflow:hidden}.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:fixed}@supports (-webkit-overflow-scrolling:touch){.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:scroll}}@media (prefers-reduced-motion:reduce){.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:scroll}}.wp-block-cover-image.has-background-dim:before,.wp-block-cover.has-background-dim:before{content:"";background-color:inherit}.wp-block-cover-image.has-background-dim:not(.has-background-gradient):before,.wp-block-cover-image .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim:not(.has-background-gradient):before,.wp-block-cover .wp-block-cover__gradient-background{position:absolute;top:0;left:0;bottom:0;right:0;z-index:1}.wp-block-cover-image.has-background-dim:not(.has-background-gradient):before,.wp-block-cover-image .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim:not(.has-background-gradient):before,.wp-block-cover .wp-block-cover__gradient-background{opacity:.5}.wp-block-cover-image.has-background-dim.has-background-dim-10:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-10:not(.has-background-gradient):before{opacity:.1}.wp-block-cover-image.has-background-dim.has-background-dim-10 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-10 .wp-block-cover__gradient-background{opacity:.1}.wp-block-cover-image.has-background-dim.has-background-dim-20:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-20:not(.has-background-gradient):before{opacity:.2}.wp-block-cover-image.has-background-dim.has-background-dim-20 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-20 .wp-block-cover__gradient-background{opacity:.2}.wp-block-cover-image.has-background-dim.has-background-dim-30:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-30:not(.has-background-gradient):before{opacity:.3}.wp-block-cover-image.has-background-dim.has-background-dim-30 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-30 .wp-block-cover__gradient-background{opacity:.3}.wp-block-cover-image.has-background-dim.has-background-dim-40:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-40:not(.has-background-gradient):before{opacity:.4}.wp-block-cover-image.has-background-dim.has-background-dim-40 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-40 .wp-block-cover__gradient-background{opacity:.4}.wp-block-cover-image.has-background-dim.has-background-dim-50:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-50:not(.has-background-gradient):before{opacity:.5}.wp-block-cover-image.has-background-dim.has-background-dim-50 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-50 .wp-block-cover__gradient-background{opacity:.5}.wp-block-cover-image.has-background-dim.has-background-dim-60:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-60:not(.has-background-gradient):before{opacity:.6}.wp-block-cover-image.has-background-dim.has-background-dim-60 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-60 .wp-block-cover__gradient-background{opacity:.6}.wp-block-cover-image.has-background-dim.has-background-dim-70:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-70:not(.has-background-gradient):before{opacity:.7}.wp-block-cover-image.has-background-dim.has-background-dim-70 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-70 .wp-block-cover__gradient-background{opacity:.7}.wp-block-cover-image.has-background-dim.has-background-dim-80:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-80:not(.has-background-gradient):before{opacity:.8}.wp-block-cover-image.has-background-dim.has-background-dim-80 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-80 .wp-block-cover__gradient-background{opacity:.8}.wp-block-cover-image.has-background-dim.has-background-dim-90:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-90:not(.has-background-gradient):before{opacity:.9}.wp-block-cover-image.has-background-dim.has-background-dim-90 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-90 .wp-block-cover__gradient-background{opacity:.9}.wp-block-cover-image.has-background-dim.has-background-dim-100:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-100:not(.has-background-gradient):before{opacity:1}.wp-block-cover-image.has-background-dim.has-background-dim-100 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-100 .wp-block-cover__gradient-background{opacity:1}.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.alignleft,.wp-block-cover.alignright{max-width:290px;width:100%}.wp-block-cover-image:after,.wp-block-cover:after{display:block;content:"";font-size:0;min-height:inherit}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-cover-image:after,.wp-block-cover:after{content:none}}.wp-block-cover-image.aligncenter,.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.aligncenter,.wp-block-cover.alignleft,.wp-block-cover.alignright{display:flex}.wp-block-cover-image .wp-block-cover__inner-container,.wp-block-cover .wp-block-cover__inner-container{width:calc(100% - 70px);z-index:1;color:#f8f9f9}.wp-block-cover-image .wp-block-subhead:not(.has-text-color),.wp-block-cover-image h1:not(.has-text-color),.wp-block-cover-image h2:not(.has-text-color),.wp-block-cover-image h3:not(.has-text-color),.wp-block-cover-image h4:not(.has-text-color),.wp-block-cover-image h5:not(.has-text-color),.wp-block-cover-image h6:not(.has-text-color),.wp-block-cover-image p:not(.has-text-color),.wp-block-cover .wp-block-subhead:not(.has-text-color),.wp-block-cover h1:not(.has-text-color),.wp-block-cover h2:not(.has-text-color),.wp-block-cover h3:not(.has-text-color),.wp-block-cover h4:not(.has-text-color),.wp-block-cover h5:not(.has-text-color),.wp-block-cover h6:not(.has-text-color),.wp-block-cover p:not(.has-text-color){color:inherit}.wp-block-cover__video-background{position:absolute;top:50%;left:50%;transform:translateX(-50%) translateY(-50%);width:100%;height:100%;z-index:0;-o-object-fit:cover;object-fit:cover}.wp-block-cover-image-text,.wp-block-cover-text,section.wp-block-cover-image h2{color:#fff}.wp-block-cover-image-text a,.wp-block-cover-image-text a:active,.wp-block-cover-image-text a:focus,.wp-block-cover-image-text a:hover,.wp-block-cover-text a,.wp-block-cover-text a:active,.wp-block-cover-text a:focus,.wp-block-cover-text a:hover,section.wp-block-cover-image h2 a,section.wp-block-cover-image h2 a:active,section.wp-block-cover-image h2 a:focus,section.wp-block-cover-image h2 a:hover{color:#fff}.wp-block-cover-image .wp-block-cover.has-left-content{justify-content:flex-start}.wp-block-cover-image .wp-block-cover.has-right-content{justify-content:flex-end}.wp-block-cover-image.has-left-content .wp-block-cover-image-text,.wp-block-cover.has-left-content .wp-block-cover-text,section.wp-block-cover-image.has-left-content>h2{margin-left:0;text-align:left}.wp-block-cover-image.has-right-content .wp-block-cover-image-text,.wp-block-cover.has-right-content .wp-block-cover-text,section.wp-block-cover-image.has-right-content>h2{margin-right:0;text-align:right}.wp-block-cover-image .wp-block-cover-image-text,.wp-block-cover .wp-block-cover-text,section.wp-block-cover-image>h2{font-size:2em;line-height:1.25;z-index:1;margin-bottom:0;max-width:580px;padding:14px;text-align:center}.block-editor-block-list__block[data-type="core/embed"][data-align=left] .block-editor-block-list__block-edit,.block-editor-block-list__block[data-type="core/embed"][data-align=right] .block-editor-block-list__block-edit,.wp-block-embed.alignleft,.wp-block-embed.alignright{max-width:360px;width:100%}.wp-block-embed{margin-bottom:1em}.wp-block-embed figcaption{margin-top:.5em;margin-bottom:1em}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-9-16 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper{position:relative}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-9-16 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper:before,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper:before{content:"";display:block;padding-top:50%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-9-16 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper iframe,.wp-embed-responsive .wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper iframe{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper:before{padding-top:42.85%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper:before{padding-top:50%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper:before{padding-top:56.25%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper:before{padding-top:75%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper:before{padding-top:100%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-9-16 .wp-block-embed__wrapper:before{padding-top:177.78%}.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper:before{padding-top:200%}.wp-block-file{margin-bottom:1.5em}.wp-block-file.aligncenter{text-align:center}.wp-block-file.alignright{text-align:right}.wp-block-file .wp-block-file__button{background:#32373c;border-radius:2em;color:#fff;font-size:13px;padding:.5em 1em}.wp-block-file a.wp-block-file__button{text-decoration:none}.wp-block-file a.wp-block-file__button:active,.wp-block-file a.wp-block-file__button:focus,.wp-block-file a.wp-block-file__button:hover,.wp-block-file a.wp-block-file__button:visited{box-shadow:none;color:#fff;opacity:.85;text-decoration:none}.wp-block-file *+.wp-block-file__button{margin-left:.75em}.blocks-gallery-grid,.wp-block-gallery{display:flex;flex-wrap:wrap;list-style-type:none;padding:0;margin:0}.blocks-gallery-grid .blocks-gallery-image,.blocks-gallery-grid .blocks-gallery-item,.wp-block-gallery .blocks-gallery-image,.wp-block-gallery .blocks-gallery-item{margin:0 16px 16px 0;display:flex;flex-grow:1;flex-direction:column;justify-content:center;position:relative}.blocks-gallery-grid .blocks-gallery-image figure,.blocks-gallery-grid .blocks-gallery-item figure,.wp-block-gallery .blocks-gallery-image figure,.wp-block-gallery .blocks-gallery-item figure{margin:0;height:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.blocks-gallery-grid .blocks-gallery-image figure,.blocks-gallery-grid .blocks-gallery-item figure,.wp-block-gallery .blocks-gallery-image figure,.wp-block-gallery .blocks-gallery-item figure{display:flex;align-items:flex-end;justify-content:flex-start}}.blocks-gallery-grid .blocks-gallery-image img,.blocks-gallery-grid .blocks-gallery-item img,.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{display:block;max-width:100%;height:auto;width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.blocks-gallery-grid .blocks-gallery-image img,.blocks-gallery-grid .blocks-gallery-item img,.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{width:auto}}.blocks-gallery-grid .blocks-gallery-image figcaption,.blocks-gallery-grid .blocks-gallery-item figcaption,.wp-block-gallery .blocks-gallery-image figcaption,.wp-block-gallery .blocks-gallery-item figcaption{position:absolute;bottom:0;width:100%;max-height:100%;overflow:auto;padding:40px 10px 9px;color:#fff;text-align:center;font-size:13px;background:linear-gradient(0deg,rgba(0,0,0,.7),rgba(0,0,0,.3) 70%,transparent)}.blocks-gallery-grid .blocks-gallery-image figcaption img,.blocks-gallery-grid .blocks-gallery-item figcaption img,.wp-block-gallery .blocks-gallery-image figcaption img,.wp-block-gallery .blocks-gallery-item figcaption img{display:inline}.blocks-gallery-grid.is-cropped .blocks-gallery-image a,.blocks-gallery-grid.is-cropped .blocks-gallery-image img,.blocks-gallery-grid.is-cropped .blocks-gallery-item a,.blocks-gallery-grid.is-cropped .blocks-gallery-item img,.wp-block-gallery.is-cropped .blocks-gallery-image a,.wp-block-gallery.is-cropped .blocks-gallery-image img,.wp-block-gallery.is-cropped .blocks-gallery-item a,.wp-block-gallery.is-cropped .blocks-gallery-item img{width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.blocks-gallery-grid.is-cropped .blocks-gallery-image a,.blocks-gallery-grid.is-cropped .blocks-gallery-image img,.blocks-gallery-grid.is-cropped .blocks-gallery-item a,.blocks-gallery-grid.is-cropped .blocks-gallery-item img,.wp-block-gallery.is-cropped .blocks-gallery-image a,.wp-block-gallery.is-cropped .blocks-gallery-image img,.wp-block-gallery.is-cropped .blocks-gallery-item a,.wp-block-gallery.is-cropped .blocks-gallery-item img{height:100%;flex:1;-o-object-fit:cover;object-fit:cover}}.blocks-gallery-grid .blocks-gallery-image,.blocks-gallery-grid .blocks-gallery-item,.wp-block-gallery .blocks-gallery-image,.wp-block-gallery .blocks-gallery-item{width:calc((100% - 16px)/2)}.blocks-gallery-grid .blocks-gallery-image:nth-of-type(2n),.blocks-gallery-grid .blocks-gallery-item:nth-of-type(2n),.wp-block-gallery .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery .blocks-gallery-item:nth-of-type(2n){margin-right:0}.blocks-gallery-grid.columns-1 .blocks-gallery-image,.blocks-gallery-grid.columns-1 .blocks-gallery-item,.wp-block-gallery.columns-1 .blocks-gallery-image,.wp-block-gallery.columns-1 .blocks-gallery-item{width:100%;margin-right:0}@media (min-width:600px){.blocks-gallery-grid.columns-3 .blocks-gallery-image,.blocks-gallery-grid.columns-3 .blocks-gallery-item,.wp-block-gallery.columns-3 .blocks-gallery-image,.wp-block-gallery.columns-3 .blocks-gallery-item{width:calc((100% - 32px)/3);margin-right:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-3 .blocks-gallery-image,.blocks-gallery-grid.columns-3 .blocks-gallery-item,.wp-block-gallery.columns-3 .blocks-gallery-image,.wp-block-gallery.columns-3 .blocks-gallery-item{width:calc((100% - 32px)/3 - 1px)}}.blocks-gallery-grid.columns-4 .blocks-gallery-image,.blocks-gallery-grid.columns-4 .blocks-gallery-item,.wp-block-gallery.columns-4 .blocks-gallery-image,.wp-block-gallery.columns-4 .blocks-gallery-item{width:calc((100% - 48px)/4);margin-right:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-4 .blocks-gallery-image,.blocks-gallery-grid.columns-4 .blocks-gallery-item,.wp-block-gallery.columns-4 .blocks-gallery-image,.wp-block-gallery.columns-4 .blocks-gallery-item{width:calc((100% - 48px)/4 - 1px)}}.blocks-gallery-grid.columns-5 .blocks-gallery-image,.blocks-gallery-grid.columns-5 .blocks-gallery-item,.wp-block-gallery.columns-5 .blocks-gallery-image,.wp-block-gallery.columns-5 .blocks-gallery-item{width:calc((100% - 64px)/5);margin-right:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-5 .blocks-gallery-image,.blocks-gallery-grid.columns-5 .blocks-gallery-item,.wp-block-gallery.columns-5 .blocks-gallery-image,.wp-block-gallery.columns-5 .blocks-gallery-item{width:calc((100% - 64px)/5 - 1px)}}.blocks-gallery-grid.columns-6 .blocks-gallery-image,.blocks-gallery-grid.columns-6 .blocks-gallery-item,.wp-block-gallery.columns-6 .blocks-gallery-image,.wp-block-gallery.columns-6 .blocks-gallery-item{width:calc((100% - 80px)/6);margin-right:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-6 .blocks-gallery-image,.blocks-gallery-grid.columns-6 .blocks-gallery-item,.wp-block-gallery.columns-6 .blocks-gallery-image,.wp-block-gallery.columns-6 .blocks-gallery-item{width:calc((100% - 80px)/6 - 1px)}}.blocks-gallery-grid.columns-7 .blocks-gallery-image,.blocks-gallery-grid.columns-7 .blocks-gallery-item,.wp-block-gallery.columns-7 .blocks-gallery-image,.wp-block-gallery.columns-7 .blocks-gallery-item{width:calc((100% - 96px)/7);margin-right:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-7 .blocks-gallery-image,.blocks-gallery-grid.columns-7 .blocks-gallery-item,.wp-block-gallery.columns-7 .blocks-gallery-image,.wp-block-gallery.columns-7 .blocks-gallery-item{width:calc((100% - 96px)/7 - 1px)}}.blocks-gallery-grid.columns-8 .blocks-gallery-image,.blocks-gallery-grid.columns-8 .blocks-gallery-item,.wp-block-gallery.columns-8 .blocks-gallery-image,.wp-block-gallery.columns-8 .blocks-gallery-item{width:calc((100% - 112px)/8);margin-right:16px}@supports (-ms-ime-align:auto){.blocks-gallery-grid.columns-8 .blocks-gallery-image,.blocks-gallery-grid.columns-8 .blocks-gallery-item,.wp-block-gallery.columns-8 .blocks-gallery-image,.wp-block-gallery.columns-8 .blocks-gallery-item{width:calc((100% - 112px)/8 - 1px)}}.blocks-gallery-grid.columns-1 .blocks-gallery-image:nth-of-type(1n),.blocks-gallery-grid.columns-1 .blocks-gallery-item:nth-of-type(1n),.wp-block-gallery.columns-1 .blocks-gallery-image:nth-of-type(1n),.wp-block-gallery.columns-1 .blocks-gallery-item:nth-of-type(1n){margin-right:0}.blocks-gallery-grid.columns-2 .blocks-gallery-image:nth-of-type(2n),.blocks-gallery-grid.columns-2 .blocks-gallery-item:nth-of-type(2n),.wp-block-gallery.columns-2 .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery.columns-2 .blocks-gallery-item:nth-of-type(2n){margin-right:0}.blocks-gallery-grid.columns-3 .blocks-gallery-image:nth-of-type(3n),.blocks-gallery-grid.columns-3 .blocks-gallery-item:nth-of-type(3n),.wp-block-gallery.columns-3 .blocks-gallery-image:nth-of-type(3n),.wp-block-gallery.columns-3 .blocks-gallery-item:nth-of-type(3n){margin-right:0}.blocks-gallery-grid.columns-4 .blocks-gallery-image:nth-of-type(4n),.blocks-gallery-grid.columns-4 .blocks-gallery-item:nth-of-type(4n),.wp-block-gallery.columns-4 .blocks-gallery-image:nth-of-type(4n),.wp-block-gallery.columns-4 .blocks-gallery-item:nth-of-type(4n){margin-right:0}.blocks-gallery-grid.columns-5 .blocks-gallery-image:nth-of-type(5n),.blocks-gallery-grid.columns-5 .blocks-gallery-item:nth-of-type(5n),.wp-block-gallery.columns-5 .blocks-gallery-image:nth-of-type(5n),.wp-block-gallery.columns-5 .blocks-gallery-item:nth-of-type(5n){margin-right:0}.blocks-gallery-grid.columns-6 .blocks-gallery-image:nth-of-type(6n),.blocks-gallery-grid.columns-6 .blocks-gallery-item:nth-of-type(6n),.wp-block-gallery.columns-6 .blocks-gallery-image:nth-of-type(6n),.wp-block-gallery.columns-6 .blocks-gallery-item:nth-of-type(6n){margin-right:0}.blocks-gallery-grid.columns-7 .blocks-gallery-image:nth-of-type(7n),.blocks-gallery-grid.columns-7 .blocks-gallery-item:nth-of-type(7n),.wp-block-gallery.columns-7 .blocks-gallery-image:nth-of-type(7n),.wp-block-gallery.columns-7 .blocks-gallery-item:nth-of-type(7n){margin-right:0}.blocks-gallery-grid.columns-8 .blocks-gallery-image:nth-of-type(8n),.blocks-gallery-grid.columns-8 .blocks-gallery-item:nth-of-type(8n),.wp-block-gallery.columns-8 .blocks-gallery-image:nth-of-type(8n),.wp-block-gallery.columns-8 .blocks-gallery-item:nth-of-type(8n){margin-right:0}}.blocks-gallery-grid .blocks-gallery-image:last-child,.blocks-gallery-grid .blocks-gallery-item:last-child,.wp-block-gallery .blocks-gallery-image:last-child,.wp-block-gallery .blocks-gallery-item:last-child{margin-right:0}.blocks-gallery-grid.alignleft,.blocks-gallery-grid.alignright,.wp-block-gallery.alignleft,.wp-block-gallery.alignright{max-width:290px;width:100%}.blocks-gallery-grid.aligncenter .blocks-gallery-item figure,.wp-block-gallery.aligncenter .blocks-gallery-item figure{justify-content:center}.wp-block-image{margin-bottom:1em}.wp-block-image img{max-width:100%}.wp-block-image.aligncenter{text-align:center}.wp-block-image.alignfull img,.wp-block-image.alignwide img{width:100%}.wp-block-image .aligncenter,.wp-block-image .alignleft,.wp-block-image .alignright,.wp-block-image.is-resized{display:table;margin-left:0;margin-right:0}.wp-block-image .aligncenter>figcaption,.wp-block-image .alignleft>figcaption,.wp-block-image .alignright>figcaption,.wp-block-image.is-resized>figcaption{display:table-caption;caption-side:bottom}.wp-block-image .alignleft{float:left;margin-right:1em}.wp-block-image .alignright{float:right;margin-left:1em}.wp-block-image .aligncenter{margin-left:auto;margin-right:auto}.wp-block-image figcaption{margin-top:.5em;margin-bottom:1em}.is-style-circle-mask img,.is-style-rounded img{border-radius:9999px}@supports ((-webkit-mask-image:none) or (mask-image:none)) or (-webkit-mask-image:none){.is-style-circle-mask img{-webkit-mask-image:url('data:image/svg+xml;utf8,');mask-image:url('data:image/svg+xml;utf8,');mask-mode:alpha;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-position:center;mask-position:center;border-radius:0}}.wp-block-latest-comments__comment{font-size:15px;line-height:1.1;list-style:none;margin-bottom:1em}.has-avatars .wp-block-latest-comments__comment{min-height:36px;list-style:none}.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-excerpt,.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-meta{margin-left:52px}.has-dates .wp-block-latest-comments__comment,.has-excerpts .wp-block-latest-comments__comment{line-height:1.5}.wp-block-latest-comments__comment-excerpt p{font-size:14px;line-height:1.8;margin:5px 0 20px}.wp-block-latest-comments__comment-date{color:#8f98a1;display:block;font-size:12px}.wp-block-latest-comments .avatar,.wp-block-latest-comments__comment-avatar{border-radius:24px;display:block;float:left;height:40px;margin-right:12px;width:40px}.wp-block-latest-posts.alignleft{margin-right:2em}.wp-block-latest-posts.alignright{margin-left:2em}.wp-block-latest-posts.wp-block-latest-posts__list{list-style:none}.wp-block-latest-posts.is-grid{display:flex;flex-wrap:wrap;padding:0}.wp-block-latest-posts.is-grid li{margin:0 16px 16px 0;width:100%}@media (min-width:600px){.wp-block-latest-posts.columns-2 li{width:calc(50% - 16px)}.wp-block-latest-posts.columns-3 li{width:calc(33.33333% - 16px)}.wp-block-latest-posts.columns-4 li{width:calc(25% - 16px)}.wp-block-latest-posts.columns-5 li{width:calc(20% - 16px)}.wp-block-latest-posts.columns-6 li{width:calc(16.66667% - 16px)}}.wp-block-latest-posts__post-date{display:block;color:#6c7781;font-size:13px}.wp-block-latest-posts__post-excerpt{margin-top:8px;margin-bottom:16px}.wp-block-media-text{display:-ms-grid;display:grid;-ms-grid-rows:auto;grid-template-rows:auto;-ms-grid-columns:50% 1fr;grid-template-columns:50% 1fr}.wp-block-media-text .has-media-on-the-right{-ms-grid-columns:1fr 50%;grid-template-columns:1fr 50%}.wp-block-media-text.is-vertically-aligned-top .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-top .wp-block-media-text__media{-ms-grid-row-align:start;align-self:start}.wp-block-media-text.is-vertically-aligned-center .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-center .wp-block-media-text__media,.wp-block-media-text .wp-block-media-text__content,.wp-block-media-text .wp-block-media-text__media{-ms-grid-row-align:center;align-self:center}.wp-block-media-text.is-vertically-aligned-bottom .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-bottom .wp-block-media-text__media{-ms-grid-row-align:end;align-self:end}.wp-block-media-text .wp-block-media-text__media{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1;margin:0}.wp-block-media-text .wp-block-media-text__content{word-break:break-word;padding:0 8%}.wp-block-media-text.has-media-on-the-right .wp-block-media-text__media,.wp-block-media-text .wp-block-media-text__content{-ms-grid-column:2;grid-column:2;-ms-grid-row:1;grid-row:1}.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1}.wp-block-media-text>figure>img,.wp-block-media-text>figure>video{max-width:unset;width:100%;vertical-align:middle}.wp-block-media-text.is-image-fill figure.wp-block-media-text__media{height:100%;min-height:250px;background-size:cover}.wp-block-media-text.is-image-fill figure.wp-block-media-text__media>img{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}@media (max-width:600px){.wp-block-media-text.is-stacked-on-mobile{-ms-grid-columns:100%!important;grid-template-columns:100%!important}.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__media{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1}.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .wp-block-media-text__media,.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content{-ms-grid-column:1;grid-column:1;-ms-grid-row:2;grid-row:2}.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .wp-block-media-text__content{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1}}.wp-block-navigation>ul{display:block;list-style:none;margin:0;max-width:none;padding-left:0;position:relative}@media (min-width:600px){.wp-block-navigation>ul{display:flex;flex-wrap:wrap}}.wp-block-navigation>ul ul{padding-left:0}.wp-block-navigation>ul li{position:relative;z-index:1}.wp-block-navigation>ul li:focus-within,.wp-block-navigation>ul li:hover{cursor:pointer;z-index:99999}.wp-block-navigation>ul li:focus-within>ul,.wp-block-navigation>ul li:hover>ul,.wp-block-navigation>ul li ul:focus,.wp-block-navigation>ul li ul:hover{visibility:visible;opacity:1;display:block}.wp-block-navigation>ul>li>a{padding-left:0}@media (min-width:600px){.wp-block-navigation>ul>li>a{padding-left:16px}}.wp-block-navigation>ul>li:first-of-type>a{padding-left:0}.wp-block-navigation>ul>li:last-of-type>a{padding-right:0}.wp-block-navigation>ul>li>ul{background:#fff;-webkit-box-shadow:0 3px 30px rgba(25,30,35,.1);-moz-box-shadow:0 3px 30px rgba(25,30,35,.1);border-radius:3px;box-shadow:0 3px 30px rgba(25,30,35,.1);border:1px solid #e2e4e7;margin:0;position:absolute;left:0;top:80%;min-width:-webkit-max-content;min-width:max-content;opacity:0;transition:opacity .15s linear,transform .15s linear,right 0s .15s;transform:translateY(.6rem);visibility:hidden;padding:5px 0}.wp-block-navigation>ul>li>ul li{margin:2px 8px}.wp-block-navigation>ul>li>ul a{text-decoration:none}.wp-block-navigation>ul>li>ul a:hover{text-decoration:underline}.wp-block-navigation>ul>li>ul:after,.wp-block-navigation>ul>li>ul:before{bottom:100%;left:50%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}.wp-block-navigation>ul>li>ul:after{border-color:hsla(0,0%,100%,0) hsla(0,0%,100%,0) #fff;border-width:10px;margin-left:-10px}.wp-block-navigation>ul>li>ul:before{border-color:rgba(226,228,231,0) rgba(226,228,231,0) #e2e4e7;border-width:11px;margin-left:-11px}.wp-block-navigation>ul>li>ul ul{width:100%}.wp-block-navigation .has-background-color+ul{background:inherit}.wp-block-navigation a{display:block;padding:16px}.wp-block-navigation ul ul{list-style:none;margin-left:0}.wp-block-navigation ul ul li a{padding-top:8px;padding-bottom:8px}.wp-block-navigation .has-sub-menu>a:after{content:"\00a0\25BC";display:inline-block;font-size:.6rem;height:inherit;width:inherit}.wp-block-navigation.items-justified-left>ul{justify-content:flex-start}.wp-block-navigation.items-justified-center>ul{justify-content:center}.wp-block-navigation.items-justified-right>ul{justify-content:flex-end}.is-style-dark>ul>li>ul{background:#333;border:1px solid #111}.is-style-dark>ul>li>ul a{text-decoration:none;color:#fff}.is-style-dark>ul>li>ul a:hover{text-decoration:underline;color:#eee}.is-style-dark>ul>li>ul:after{border-color:rgba(51,51,51,0) rgba(51,51,51,0) #333}.is-style-dark>ul>li>ul:before{border-color:rgba(17,17,17,0) rgba(17,17,17,0) #111}.is-small-text{font-size:14px}.is-regular-text{font-size:16px}.is-large-text{font-size:36px}.is-larger-text{font-size:48px}.has-drop-cap:not(:focus):first-letter{float:left;font-size:8.4em;line-height:.68;font-weight:100;margin:.05em .1em 0 0;text-transform:uppercase;font-style:normal}p.has-background{padding:20px 30px}p.has-text-color a{color:inherit}.wp-block-pullquote{padding:3em 0;margin-left:0;margin-right:0;text-align:center}.wp-block-pullquote.alignleft,.wp-block-pullquote.alignright{max-width:290px}.wp-block-pullquote.alignleft p,.wp-block-pullquote.alignright p{font-size:20px}.wp-block-pullquote p{font-size:28px;line-height:1.6}.wp-block-pullquote cite,.wp-block-pullquote footer{position:relative}.wp-block-pullquote .has-text-color a{color:inherit}.wp-block-pullquote:not(.is-style-solid-color){background:none}.wp-block-pullquote.is-style-solid-color{border:none}.wp-block-pullquote.is-style-solid-color blockquote{margin-left:auto;margin-right:auto;text-align:left;max-width:60%}.wp-block-pullquote.is-style-solid-color blockquote p{margin-top:0;margin-bottom:0;font-size:32px}.wp-block-pullquote.is-style-solid-color blockquote cite{text-transform:none;font-style:normal}.wp-block-pullquote cite{color:inherit}.wp-block-quote.is-large,.wp-block-quote.is-style-large{margin:0 0 16px;padding:0 1em}.wp-block-quote.is-large p,.wp-block-quote.is-style-large p{font-size:24px;font-style:italic;line-height:1.6}.wp-block-quote.is-large cite,.wp-block-quote.is-large footer,.wp-block-quote.is-style-large cite,.wp-block-quote.is-style-large footer{font-size:18px;text-align:right}.wp-block-rss.alignleft{margin-right:2em}.wp-block-rss.alignright{margin-left:2em}.wp-block-rss.is-grid{display:flex;flex-wrap:wrap;padding:0;list-style:none}.wp-block-rss.is-grid li{margin:0 16px 16px 0;width:100%}@media (min-width:600px){.wp-block-rss.columns-2 li{width:calc(50% - 16px)}.wp-block-rss.columns-3 li{width:calc(33.33333% - 16px)}.wp-block-rss.columns-4 li{width:calc(25% - 16px)}.wp-block-rss.columns-5 li{width:calc(20% - 16px)}.wp-block-rss.columns-6 li{width:calc(16.66667% - 16px)}}.wp-block-rss__item-author,.wp-block-rss__item-publish-date{display:block;color:#6c7781;font-size:13px}.wp-block-search{display:flex;flex-wrap:wrap}.wp-block-search .wp-block-search__label{width:100%}.wp-block-search .wp-block-search__input{flex-grow:1;max-width:360px}.wp-block-search .wp-block-search__button{margin-left:10px}.wp-block-separator.is-style-wide{border-bottom-width:1px}.wp-block-separator.is-style-dots{background:none!important;border:none;text-align:center;max-width:none;line-height:1;height:auto}.wp-block-separator.is-style-dots:before{content:"\00b7 \00b7 \00b7";color:currentColor;font-size:20px;letter-spacing:2em;padding-left:2em;font-family:serif}.wp-block-social-links{display:flex;justify-content:flex-start;padding-left:0;padding-right:0;margin-left:0}.wp-block-social-links .wp-social-link a,.wp-block-social-links .wp-social-link a:hover{text-decoration:none;border-bottom:0;box-shadow:none}.wp-social-link{display:block;width:36px;height:36px;border-radius:36px;margin-right:8px;transition:transform .1s ease}@media (prefers-reduced-motion:reduce){.wp-social-link{transition-duration:0s}}.wp-social-link a{padding:6px;display:block;line-height:0;transition:transform .1s ease}.wp-social-link a,.wp-social-link a:active,.wp-social-link a:hover,.wp-social-link a:visited,.wp-social-link svg{color:currentColor;fill:currentColor}.wp-social-link:hover{transform:scale(1.1)}.wp-block-social-links.aligncenter{justify-content:center;display:flex}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link{background-color:#f0f0f0;color:#444}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-amazon{background-color:#f90;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-bandcamp{background-color:#1ea0c3;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-behance{background-color:#0757fe;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-codepen{background-color:#1e1f26;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-deviantart{background-color:#02e49b;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-dribbble{background-color:#e94c89;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-dropbox{background-color:#4280ff;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-etsy{background-color:#f45800;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-facebook{background-color:#1977f2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-fivehundredpx{background-color:#000;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-flickr{background-color:#0461dd;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-foursquare{background-color:#e65678;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-github{background-color:#24292d;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-goodreads{background-color:#eceadd;color:#382110}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-google{background-color:#ea4434;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-instagram{background-color:#f00075;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-lastfm{background-color:#e21b24;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-linkedin{background-color:#0577b5;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-mastodon{background-color:#3288d4;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-medium{background-color:#02ab6c;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-meetup{background-color:#f6405f;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-pinterest{background-color:#e60122;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-pocket{background-color:#ef4155;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-reddit{background-color:#fe4500;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-skype{background-color:#0478d7;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-snapchat{background-color:#fefc00;color:#fff;stroke:#000}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-soundcloud{background-color:#ff5600;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-spotify{background-color:#1bd760;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-tumblr{background-color:#011835;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-twitch{background-color:#6440a4;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-twitter{background-color:#21a1f3;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-vimeo{background-color:#1eb7ea;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-vk{background-color:#4680c2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-wordpress{background-color:#3499cd;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-yelp{background-color:#d32422;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-youtube{background-color:#ff0100;color:#fff}.wp-block-social-links.is-style-logos-only .wp-social-link{background:none;padding:4px}.wp-block-social-links.is-style-logos-only .wp-social-link svg{width:28px;height:28px}.wp-block-social-links.is-style-logos-only .wp-social-link-amazon{color:#f90}.wp-block-social-links.is-style-logos-only .wp-social-link-bandcamp{color:#1ea0c3}.wp-block-social-links.is-style-logos-only .wp-social-link-behance{color:#0757fe}.wp-block-social-links.is-style-logos-only .wp-social-link-codepen{color:#1e1f26}.wp-block-social-links.is-style-logos-only .wp-social-link-deviantart{color:#02e49b}.wp-block-social-links.is-style-logos-only .wp-social-link-dribbble{color:#e94c89}.wp-block-social-links.is-style-logos-only .wp-social-link-dropbox{color:#4280ff}.wp-block-social-links.is-style-logos-only .wp-social-link-etsy{color:#f45800}.wp-block-social-links.is-style-logos-only .wp-social-link-facebook{color:#1977f2}.wp-block-social-links.is-style-logos-only .wp-social-link-fivehundredpx{color:#000}.wp-block-social-links.is-style-logos-only .wp-social-link-flickr{color:#0461dd}.wp-block-social-links.is-style-logos-only .wp-social-link-foursquare{color:#e65678}.wp-block-social-links.is-style-logos-only .wp-social-link-github{color:#24292d}.wp-block-social-links.is-style-logos-only .wp-social-link-goodreads{color:#382110}.wp-block-social-links.is-style-logos-only .wp-social-link-google{color:#ea4434}.wp-block-social-links.is-style-logos-only .wp-social-link-instagram{color:#f00075}.wp-block-social-links.is-style-logos-only .wp-social-link-lastfm{color:#e21b24}.wp-block-social-links.is-style-logos-only .wp-social-link-linkedin{color:#0577b5}.wp-block-social-links.is-style-logos-only .wp-social-link-mastodon{color:#3288d4}.wp-block-social-links.is-style-logos-only .wp-social-link-medium{color:#02ab6c}.wp-block-social-links.is-style-logos-only .wp-social-link-meetup{color:#f6405f}.wp-block-social-links.is-style-logos-only .wp-social-link-pinterest{color:#e60122}.wp-block-social-links.is-style-logos-only .wp-social-link-pocket{color:#ef4155}.wp-block-social-links.is-style-logos-only .wp-social-link-reddit{color:#fe4500}.wp-block-social-links.is-style-logos-only .wp-social-link-skype{color:#0478d7}.wp-block-social-links.is-style-logos-only .wp-social-link-snapchat{color:#fff;stroke:#000}.wp-block-social-links.is-style-logos-only .wp-social-link-soundcloud{color:#ff5600}.wp-block-social-links.is-style-logos-only .wp-social-link-spotify{color:#1bd760}.wp-block-social-links.is-style-logos-only .wp-social-link-tumblr{color:#011835}.wp-block-social-links.is-style-logos-only .wp-social-link-twitch{color:#6440a4}.wp-block-social-links.is-style-logos-only .wp-social-link-twitter{color:#21a1f3}.wp-block-social-links.is-style-logos-only .wp-social-link-vimeo{color:#1eb7ea}.wp-block-social-links.is-style-logos-only .wp-social-link-vk{color:#4680c2}.wp-block-social-links.is-style-logos-only .wp-social-link-wordpress{color:#3499cd}.wp-block-social-links.is-style-logos-only .wp-social-link-yelp{background-color:#d32422;color:#fff}.wp-block-social-links.is-style-logos-only .wp-social-link-youtube{color:#ff0100}.wp-block-social-links.is-style-pill-shape .wp-social-link{width:auto}.wp-block-social-links.is-style-pill-shape .wp-social-link a{padding-left:16px;padding-right:16px}.wp-block-spacer{clear:both}p.wp-block-subhead{font-size:1.1em;font-style:italic;opacity:.75}.wp-block-table{overflow-x:auto}.wp-block-table table{width:100%}.wp-block-table .has-fixed-layout{table-layout:fixed;width:100%}.wp-block-table .has-fixed-layout td,.wp-block-table .has-fixed-layout th{word-break:break-word}.wp-block-table.aligncenter,.wp-block-table.alignleft,.wp-block-table.alignright{display:table;width:auto}.wp-block-table.aligncenter td,.wp-block-table.aligncenter th,.wp-block-table.alignleft td,.wp-block-table.alignleft th,.wp-block-table.alignright td,.wp-block-table.alignright th{word-break:break-word}.wp-block-table .has-subtle-light-gray-background-color{background-color:#f3f4f5}.wp-block-table .has-subtle-pale-green-background-color{background-color:#e9fbe5}.wp-block-table .has-subtle-pale-blue-background-color{background-color:#e7f5fe}.wp-block-table .has-subtle-pale-pink-background-color{background-color:#fcf0ef}.wp-block-table.is-style-stripes{border-spacing:0;border-collapse:inherit;background-color:transparent;border-bottom:1px solid #f3f4f5}.wp-block-table.is-style-stripes tbody tr:nth-child(odd){background-color:#f3f4f5}.wp-block-table.is-style-stripes.has-subtle-light-gray-background-color tbody tr:nth-child(odd){background-color:#f3f4f5}.wp-block-table.is-style-stripes.has-subtle-pale-green-background-color tbody tr:nth-child(odd){background-color:#e9fbe5}.wp-block-table.is-style-stripes.has-subtle-pale-blue-background-color tbody tr:nth-child(odd){background-color:#e7f5fe}.wp-block-table.is-style-stripes.has-subtle-pale-pink-background-color tbody tr:nth-child(odd){background-color:#fcf0ef}.wp-block-table.is-style-stripes td,.wp-block-table.is-style-stripes th{border-color:transparent}.wp-block-text-columns,.wp-block-text-columns.aligncenter{display:flex}.wp-block-text-columns .wp-block-column{margin:0 16px;padding:0}.wp-block-text-columns .wp-block-column:first-child{margin-left:0}.wp-block-text-columns .wp-block-column:last-child{margin-right:0}.wp-block-text-columns.columns-2 .wp-block-column{width:50%}.wp-block-text-columns.columns-3 .wp-block-column{width:33.33333%}.wp-block-text-columns.columns-4 .wp-block-column{width:25%}.wp-block-video{margin-left:0;margin-right:0}.wp-block-video video{max-width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-video [poster]{-o-object-fit:cover;object-fit:cover}}.wp-block-video.aligncenter{text-align:center}.wp-block-video figcaption{margin-top:.5em;margin-bottom:1em}:root .has-pale-pink-background-color{background-color:#f78da7}:root .has-vivid-red-background-color{background-color:#cf2e2e}:root .has-luminous-vivid-orange-background-color{background-color:#ff6900}:root .has-luminous-vivid-amber-background-color{background-color:#fcb900}:root .has-light-green-cyan-background-color{background-color:#7bdcb5}:root .has-vivid-green-cyan-background-color{background-color:#00d084}:root .has-pale-cyan-blue-background-color{background-color:#8ed1fc}:root .has-vivid-cyan-blue-background-color{background-color:#0693e3}:root .has-vivid-purple-background-color{background-color:#9b51e0}:root .has-very-light-gray-background-color{background-color:#eee}:root .has-cyan-bluish-gray-background-color{background-color:#abb8c3}:root .has-very-dark-gray-background-color{background-color:#313131}:root .has-pale-pink-color{color:#f78da7}:root .has-vivid-red-color{color:#cf2e2e}:root .has-luminous-vivid-orange-color{color:#ff6900}:root .has-luminous-vivid-amber-color{color:#fcb900}:root .has-light-green-cyan-color{color:#7bdcb5}:root .has-vivid-green-cyan-color{color:#00d084}:root .has-pale-cyan-blue-color{color:#8ed1fc}:root .has-vivid-cyan-blue-color{color:#0693e3}:root .has-vivid-purple-color{color:#9b51e0}:root .has-very-light-gray-color{color:#eee}:root .has-cyan-bluish-gray-color{color:#abb8c3}:root .has-very-dark-gray-color{color:#313131}:root .has-vivid-cyan-blue-to-vivid-purple-gradient-background{background:linear-gradient(135deg,#0693e3,#9b51e0)}:root .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background{background:linear-gradient(135deg,#00d084,#0693e3)}:root .has-light-green-cyan-to-vivid-green-cyan-gradient-background{background:linear-gradient(135deg,#7adcb4,#00d082)}:root .has-luminous-vivid-amber-to-luminous-vivid-orange-gradient-background{background:linear-gradient(135deg,#fcb900,#ff6900)}:root .has-luminous-vivid-orange-to-vivid-red-gradient-background{background:linear-gradient(135deg,#ff6900,#cf2e2e)}:root .has-very-light-gray-to-cyan-bluish-gray-gradient-background{background:linear-gradient(135deg,#eee,#a9b8c3)}:root .has-cool-to-warm-spectrum-gradient-background{background:linear-gradient(135deg,#4aeadc,#9778d1 20%,#cf2aba 40%,#ee2c82 60%,#fb6962 80%,#fef84c)}:root .has-blush-light-purple-gradient-background{background:linear-gradient(135deg,#ffceec,#9896f0)}:root .has-blush-bordeaux-gradient-background{background:linear-gradient(135deg,#fecda5,#fe2d2d 50%,#6b003e)}:root .has-purple-crush-gradient-background{background:linear-gradient(135deg,#34e2e4,#4721fb 50%,#ab1dfe)}:root .has-luminous-dusk-gradient-background{background:linear-gradient(135deg,#ffcb70,#c751c0 50%,#4158d0)}:root .has-hazy-dawn-gradient-background{background:linear-gradient(135deg,#faaca8,#dad0ec)}:root .has-pale-ocean-gradient-background{background:linear-gradient(135deg,#fff5cb,#b6e3d4 50%,#33a7b5)}:root .has-electric-grass-gradient-background{background:linear-gradient(135deg,#caf880,#71ce7e)}:root .has-subdued-olive-gradient-background{background:linear-gradient(135deg,#fafae1,#67a671)}:root .has-atomic-cream-gradient-background{background:linear-gradient(135deg,#fdd79a,#004a59)}:root .has-nightshade-gradient-background{background:linear-gradient(135deg,#330968,#31cdcf)}:root .has-midnight-gradient-background{background:linear-gradient(135deg,#020381,#2874fc)}.has-small-font-size{font-size:13px}.has-normal-font-size,.has-regular-font-size{font-size:16px}.has-medium-font-size{font-size:20px}.has-large-font-size{font-size:36px}.has-huge-font-size,.has-larger-font-size{font-size:42px}.has-text-align-center{text-align:center}.has-text-align-left{text-align:left}.has-text-align-right{text-align:right} \ No newline at end of file diff --git a/wp-includes/css/dist/block-library/theme-rtl.css b/wp-includes/css/dist/block-library/theme-rtl.css index f188f444c5..139e71336c 100644 --- a/wp-includes/css/dist/block-library/theme-rtl.css +++ b/wp-includes/css/dist/block-library/theme-rtl.css @@ -4,6 +4,9 @@ /** * Breakpoints & Media Queries */ +/** + * Colors + */ /** * Often re-used variables */ diff --git a/wp-includes/css/dist/block-library/theme.css b/wp-includes/css/dist/block-library/theme.css index 593b763727..3a4546b982 100644 --- a/wp-includes/css/dist/block-library/theme.css +++ b/wp-includes/css/dist/block-library/theme.css @@ -4,6 +4,9 @@ /** * Breakpoints & Media Queries */ +/** + * Colors + */ /** * Often re-used variables */ diff --git a/wp-includes/css/dist/components/style-rtl.css b/wp-includes/css/dist/components/style-rtl.css index 073548d3f7..a06cf88ddf 100644 --- a/wp-includes/css/dist/components/style-rtl.css +++ b/wp-includes/css/dist/components/style-rtl.css @@ -4,6 +4,9 @@ /** * Breakpoints & Media Queries */ +/** + * Colors + */ /** * Often re-used variables */ @@ -136,19 +139,19 @@ .components-button-group { display: inline-block; } - .components-button-group .components-button.is-button { + .components-button-group .components-button { border-radius: 0; display: inline-flex; } - .components-button-group .components-button.is-button + .components-button.is-button { + .components-button-group .components-button + .components-button { margin-right: -1px; } - .components-button-group .components-button.is-button:first-child { + .components-button-group .components-button:first-child { border-radius: 0 3px 3px 0; } - .components-button-group .components-button.is-button:last-child { + .components-button-group .components-button:last-child { border-radius: 3px 0 0 3px; } - .components-button-group .components-button.is-button:focus, .components-button-group .components-button.is-button.is-primary { + .components-button-group .components-button:focus, .components-button-group .components-button.is-primary { position: relative; z-index: 1; } - .components-button-group .components-button.is-button.is-primary { + .components-button-group .components-button.is-primary { box-shadow: none; } .components-button { @@ -161,124 +164,130 @@ -webkit-appearance: none; background: none; transition: box-shadow 0.1s linear; + height: 36px; + align-items: center; + box-sizing: border-box; + padding: 0 8px; + overflow: hidden; + border-radius: 3px; + color: #555d66; /* Buttons that look like links, for a cross of good semantics with the visual */ /* Link buttons that are red to indicate destructive behavior. */ } @media (prefers-reduced-motion: reduce) { .components-button { transition-duration: 0s; } } - .components-button.is-button { - padding: 0 10px; - line-height: 2; - height: 28px; - border-radius: 3px; - white-space: nowrap; + .components-button:not(:disabled):not([aria-disabled="true"]):not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link):hover { + background-color: #fff; + color: #191e23; + box-shadow: inset 0 0 0 1px #555d66, inset 0 0 0 2px #fff; } + .components-button.is-secondary { border-width: 1px; - border-style: solid; } - .components-button.is-default { + border-style: solid; + white-space: nowrap; color: rgb(0, 117, 175); border-color: rgb(0, 117, 175); background: #f3f5f6; } - body.admin-color-sunrise .components-button.is-default { + body.admin-color-sunrise .components-button.is-secondary { color: rgb(196, 126, 70); border-color: rgb(196, 126, 70); } - body.admin-color-ocean .components-button.is-default { + body.admin-color-ocean .components-button.is-secondary { color: rgb(153, 174, 152); border-color: rgb(153, 174, 152); } - body.admin-color-midnight .components-button.is-default { + body.admin-color-midnight .components-button.is-secondary { color: rgb(212, 72, 63); border-color: rgb(212, 72, 63); } - body.admin-color-ectoplasm .components-button.is-default { + body.admin-color-ectoplasm .components-button.is-secondary { color: rgb(157, 171, 81); border-color: rgb(157, 171, 81); } - body.admin-color-coffee .components-button.is-default { + body.admin-color-coffee .components-button.is-secondary { color: rgb(182, 156, 132); border-color: rgb(182, 156, 132); } - body.admin-color-blue .components-button.is-default { + body.admin-color-blue .components-button.is-secondary { color: rgb(204, 161, 84); border-color: rgb(204, 161, 84); } - body.admin-color-light .components-button.is-default { + body.admin-color-light .components-button.is-secondary { color: rgb(0, 125, 175); border-color: rgb(0, 125, 175); } - .components-button.is-default:hover { + .components-button.is-secondary:not(:disabled):not([aria-disabled="true"]):hover { background: #f1f1f1; border-color: rgb(0, 93, 140); color: rgb(0, 93, 140); text-decoration: none; } - body.admin-color-sunrise .components-button.is-default:hover { + body.admin-color-sunrise .components-button.is-secondary:not(:disabled):not([aria-disabled="true"]):hover { border-color: rgb(157, 101, 56); color: rgb(157, 101, 56); } - body.admin-color-ocean .components-button.is-default:hover { + body.admin-color-ocean .components-button.is-secondary:not(:disabled):not([aria-disabled="true"]):hover { border-color: rgb(122, 139, 122); color: rgb(122, 139, 122); } - body.admin-color-midnight .components-button.is-default:hover { + body.admin-color-midnight .components-button.is-secondary:not(:disabled):not([aria-disabled="true"]):hover { border-color: rgb(169, 58, 50); color: rgb(169, 58, 50); } - body.admin-color-ectoplasm .components-button.is-default:hover { + body.admin-color-ectoplasm .components-button.is-secondary:not(:disabled):not([aria-disabled="true"]):hover { border-color: rgb(125, 137, 65); color: rgb(125, 137, 65); } - body.admin-color-coffee .components-button.is-default:hover { + body.admin-color-coffee .components-button.is-secondary:not(:disabled):not([aria-disabled="true"]):hover { border-color: rgb(146, 125, 105); color: rgb(146, 125, 105); } - body.admin-color-blue .components-button.is-default:hover { + body.admin-color-blue .components-button.is-secondary:not(:disabled):not([aria-disabled="true"]):hover { border-color: rgb(163, 128, 67); color: rgb(163, 128, 67); } - body.admin-color-light .components-button.is-default:hover { + body.admin-color-light .components-button.is-secondary:not(:disabled):not([aria-disabled="true"]):hover { border-color: rgb(0, 100, 140); color: rgb(0, 100, 140); } - .components-button.is-default:focus:enabled { + .components-button.is-secondary:focus:enabled { background: #f3f5f6; color: rgb(0, 93, 140); border-color: rgb(0, 118, 177); box-shadow: 0 0 0 1px rgb(0, 118, 177); text-decoration: none; } - body.admin-color-sunrise .components-button.is-default:focus:enabled { + body.admin-color-sunrise .components-button.is-secondary:focus:enabled { color: rgb(157, 101, 56); border-color: rgb(199, 127, 70); box-shadow: 0 0 0 1px rgb(199, 127, 70); } - body.admin-color-ocean .components-button.is-default:focus:enabled { + body.admin-color-ocean .components-button.is-secondary:focus:enabled { color: rgb(122, 139, 122); border-color: rgb(155, 176, 154); box-shadow: 0 0 0 1px rgb(155, 176, 154); } - body.admin-color-midnight .components-button.is-default:focus:enabled { + body.admin-color-midnight .components-button.is-secondary:focus:enabled { color: rgb(169, 58, 50); border-color: rgb(214, 73, 64); box-shadow: 0 0 0 1px rgb(214, 73, 64); } - body.admin-color-ectoplasm .components-button.is-default:focus:enabled { + body.admin-color-ectoplasm .components-button.is-secondary:focus:enabled { color: rgb(125, 137, 65); border-color: rgb(159, 173, 82); box-shadow: 0 0 0 1px rgb(159, 173, 82); } - body.admin-color-coffee .components-button.is-default:focus:enabled { + body.admin-color-coffee .components-button.is-secondary:focus:enabled { color: rgb(146, 125, 105); border-color: rgb(184, 158, 133); box-shadow: 0 0 0 1px rgb(184, 158, 133); } - body.admin-color-blue .components-button.is-default:focus:enabled { + body.admin-color-blue .components-button.is-secondary:focus:enabled { color: rgb(163, 128, 67); border-color: rgb(206, 162, 85); box-shadow: 0 0 0 1px rgb(206, 162, 85); } - body.admin-color-light .components-button.is-default:focus:enabled { + body.admin-color-light .components-button.is-secondary:focus:enabled { color: rgb(0, 100, 140); border-color: rgb(0, 126, 177); box-shadow: 0 0 0 1px rgb(0, 126, 177); } - .components-button.is-default:active:enabled { + .components-button.is-secondary:active:enabled { background: #f3f5f6; color: rgb(0, 118, 177); border-color: #7e8993; box-shadow: none; } - body.admin-color-sunrise .components-button.is-default:active:enabled { + body.admin-color-sunrise .components-button.is-secondary:active:enabled { color: rgb(199, 127, 70); } - body.admin-color-ocean .components-button.is-default:active:enabled { + body.admin-color-ocean .components-button.is-secondary:active:enabled { color: rgb(155, 176, 154); } - body.admin-color-midnight .components-button.is-default:active:enabled { + body.admin-color-midnight .components-button.is-secondary:active:enabled { color: rgb(214, 73, 64); } - body.admin-color-ectoplasm .components-button.is-default:active:enabled { + body.admin-color-ectoplasm .components-button.is-secondary:active:enabled { color: rgb(159, 173, 82); } - body.admin-color-coffee .components-button.is-default:active:enabled { + body.admin-color-coffee .components-button.is-secondary:active:enabled { color: rgb(184, 158, 133); } - body.admin-color-blue .components-button.is-default:active:enabled { + body.admin-color-blue .components-button.is-secondary:active:enabled { color: rgb(206, 162, 85); } - body.admin-color-light .components-button.is-default:active:enabled { + body.admin-color-light .components-button.is-secondary:active:enabled { color: rgb(0, 126, 177); } - .components-button.is-default:disabled, .components-button.is-default[aria-disabled="true"] { + .components-button.is-secondary:disabled, .components-button.is-secondary[aria-disabled="true"] { color: #a0a5aa; border-color: #ddd; background: #f7f7f7; @@ -286,6 +295,9 @@ transform: none; opacity: 1; } .components-button.is-primary { + border-width: 1px; + border-style: solid; + white-space: nowrap; background: rgb(0, 124, 186); border-color: rgb(0, 124, 186); color: #fff; @@ -312,29 +324,29 @@ body.admin-color-light .components-button.is-primary { background: rgb(0, 133, 186); border-color: rgb(0, 133, 186); } - .components-button.is-primary:hover, .components-button.is-primary:focus:enabled { + .components-button.is-primary:not(:disabled):not([aria-disabled="true"]):hover, .components-button.is-primary:focus:enabled { background: rgb(0, 112, 167); border-color: rgb(0, 112, 167); color: #fff; } - body.admin-color-sunrise .components-button.is-primary:hover, body.admin-color-sunrise .components-button.is-primary:focus:enabled { + body.admin-color-sunrise .components-button.is-primary:not(:disabled):not([aria-disabled="true"]):hover, body.admin-color-sunrise .components-button.is-primary:focus:enabled { background: rgb(188, 121, 67); border-color: rgb(188, 121, 67); } - body.admin-color-ocean .components-button.is-primary:hover, body.admin-color-ocean .components-button.is-primary:focus:enabled { + body.admin-color-ocean .components-button.is-primary:not(:disabled):not([aria-disabled="true"]):hover, body.admin-color-ocean .components-button.is-primary:focus:enabled { background: rgb(147, 167, 146); border-color: rgb(147, 167, 146); } - body.admin-color-midnight .components-button.is-primary:hover, body.admin-color-midnight .components-button.is-primary:focus:enabled { + body.admin-color-midnight .components-button.is-primary:not(:disabled):not([aria-disabled="true"]):hover, body.admin-color-midnight .components-button.is-primary:focus:enabled { background: rgb(203, 69, 60); border-color: rgb(203, 69, 60); } - body.admin-color-ectoplasm .components-button.is-primary:hover, body.admin-color-ectoplasm .components-button.is-primary:focus:enabled { + body.admin-color-ectoplasm .components-button.is-primary:not(:disabled):not([aria-disabled="true"]):hover, body.admin-color-ectoplasm .components-button.is-primary:focus:enabled { background: rgb(150, 164, 77); border-color: rgb(150, 164, 77); } - body.admin-color-coffee .components-button.is-primary:hover, body.admin-color-coffee .components-button.is-primary:focus:enabled { + body.admin-color-coffee .components-button.is-primary:not(:disabled):not([aria-disabled="true"]):hover, body.admin-color-coffee .components-button.is-primary:focus:enabled { background: rgb(175, 149, 126); border-color: rgb(175, 149, 126); } - body.admin-color-blue .components-button.is-primary:hover, body.admin-color-blue .components-button.is-primary:focus:enabled { + body.admin-color-blue .components-button.is-primary:not(:disabled):not([aria-disabled="true"]):hover, body.admin-color-blue .components-button.is-primary:focus:enabled { background: rgb(195, 154, 80); border-color: rgb(195, 154, 80); } - body.admin-color-light .components-button.is-primary:hover, body.admin-color-light .components-button.is-primary:focus:enabled { + body.admin-color-light .components-button.is-primary:not(:disabled):not([aria-disabled="true"]):hover, body.admin-color-light .components-button.is-primary:focus:enabled { background: rgb(0, 120, 167); border-color: rgb(0, 120, 167); } .components-button.is-primary:focus:enabled { @@ -411,9 +423,6 @@ color: rgb(102, 182, 214); background: rgb(25, 145, 193); border-color: rgb(25, 145, 193); } - .components-button.is-primary:disabled.is-button, .components-button.is-primary:disabled.is-button:hover, .components-button.is-primary:disabled:active:enabled, .components-button.is-primary:disabled:active:enabled.is-button, .components-button.is-primary:disabled:active:enabled.is-button:hover, .components-button.is-primary:disabled:active:enabled:active:enabled, .components-button.is-primary[aria-disabled="true"].is-button, .components-button.is-primary[aria-disabled="true"].is-button:hover, .components-button.is-primary[aria-disabled="true"]:active:enabled, .components-button.is-primary[aria-disabled="true"]:enabled.is-button, .components-button.is-primary[aria-disabled="true"]:enabled.is-button:hover, .components-button.is-primary[aria-disabled="true"]:enabled:active:enabled, .components-button.is-primary[aria-disabled="true"]:active:enabled.is-button, .components-button.is-primary[aria-disabled="true"]:active:enabled.is-button:hover, .components-button.is-primary[aria-disabled="true"]:active:enabled:active:enabled { - box-shadow: none; - text-shadow: none; } .components-button.is-primary:disabled:focus:enabled, .components-button.is-primary:disabled:active:enabled:focus:enabled, .components-button.is-primary[aria-disabled="true"]:focus:enabled, .components-button.is-primary[aria-disabled="true"]:enabled:focus:enabled, .components-button.is-primary[aria-disabled="true"]:active:enabled:focus:enabled { box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgb(0, 124, 186); } body.admin-color-sunrise .components-button.is-primary:disabled:focus:enabled, body.admin-color-sunrise .components-button.is-primary:disabled:active:enabled:focus:enabled, body.admin-color-sunrise .components-button.is-primary[aria-disabled="true"]:focus:enabled, body.admin-color-sunrise .components-button.is-primary[aria-disabled="true"]:enabled:focus:enabled, body.admin-color-sunrise .components-button.is-primary[aria-disabled="true"]:active:enabled:focus:enabled { @@ -472,11 +481,12 @@ text-decoration: underline; transition-property: border, background, color; transition-duration: 0.05s; - transition-timing-function: ease-in-out; } + transition-timing-function: ease-in-out; + height: auto; } @media (prefers-reduced-motion: reduce) { .components-button.is-link { transition-duration: 0s; } } - .components-button.is-link:hover, .components-button.is-link:active { + .components-button.is-link:not(:disabled):not([aria-disabled="true"]):hover, .components-button.is-link:active { color: #00a0d2; } .components-button.is-link:focus { color: #124964; @@ -493,25 +503,18 @@ color: #191e23; box-shadow: inset 0 0 0 1px #6c7781, inset 0 0 0 2px #fff; outline: 2px solid transparent; } - .components-button.is-busy, .components-button.is-default.is-busy, .components-button.is-default.is-busy:disabled, .components-button.is-default.is-busy[aria-disabled="true"] { + .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 2500ms infinite linear; background-size: 100px 100%; background-image: repeating-linear-gradient(45deg, #e2e4e7, #fff 11px, #fff 10px, #e2e4e7 20px); opacity: 1; } - .components-button.is-large { - height: 30px; - line-height: 28px; - padding: 0 12px 2px; } .components-button.is-small { height: 24px; line-height: 22px; - padding: 0 8px 1px; + padding: 0 8px; font-size: 11px; } .components-button.is-tertiary { - color: #007cba; - padding: 0 10px; - line-height: 26px; - height: 28px; } + color: #007cba; } body.admin-color-sunrise .components-button.is-tertiary { color: #837425; } body.admin-color-ocean .components-button.is-tertiary { @@ -534,22 +537,30 @@ outline: none; } .components-button.is-tertiary:active:focus:enabled { box-shadow: none; } - .components-button.is-tertiary:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover { + .components-button.is-tertiary:not(:disabled):not([aria-disabled="true"]):hover { color: rgb(0, 93, 140); } - body.admin-color-sunrise .components-button.is-tertiary:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover { + body.admin-color-sunrise .components-button.is-tertiary:not(:disabled):not([aria-disabled="true"]):hover { color: rgb(98, 87, 28); } - body.admin-color-ocean .components-button.is-tertiary:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover { + body.admin-color-ocean .components-button.is-tertiary:not(:disabled):not([aria-disabled="true"]):hover { color: rgb(71, 94, 71); } - body.admin-color-midnight .components-button.is-tertiary:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover { + body.admin-color-midnight .components-button.is-tertiary:not(:disabled):not([aria-disabled="true"]):hover { color: rgb(55, 92, 106); } - body.admin-color-ectoplasm .components-button.is-tertiary:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover { + body.admin-color-ectoplasm .components-button.is-tertiary:not(:disabled):not([aria-disabled="true"]):hover { color: rgb(62, 47, 82); } - body.admin-color-coffee .components-button.is-tertiary:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover { + body.admin-color-coffee .components-button.is-tertiary:not(:disabled):not([aria-disabled="true"]):hover { color: rgb(67, 62, 57); } - body.admin-color-blue .components-button.is-tertiary:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover { + body.admin-color-blue .components-button.is-tertiary:not(:disabled):not([aria-disabled="true"]):hover { color: rgb(49, 95, 116); } - body.admin-color-light .components-button.is-tertiary:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover { + body.admin-color-light .components-button.is-tertiary:not(:disabled):not([aria-disabled="true"]):hover { color: rgb(0, 93, 140); } + .components-button.has-icon .dashicon { + display: inline-block; + flex: 0 0 auto; } + .components-button.has-icon svg { + fill: currentColor; + outline: none; } + .components-button.has-icon.has-text svg { + margin-left: 8px; } .components-button .screen-reader-text { height: auto; } @@ -649,8 +660,6 @@ svg.dashicon.components-checkbox-control__checked { .components-circular-option-picker__option-wrapper > div { height: 100%; width: 100%; } - .components-circular-option-picker__option-wrapper:nth-child(6n+6) { - margin-left: 0; } .components-circular-option-picker__option-wrapper::before { content: ""; @@ -678,11 +687,13 @@ svg.dashicon.components-checkbox-control__checked { @media (prefers-reduced-motion: reduce) { .components-circular-option-picker__option { transition-duration: 0s; } } - .components-circular-option-picker__option.is-active { + .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; } - .components-circular-option-picker__option.is-active + .dashicons-saved { + .components-circular-option-picker__option.is-pressed + .dashicons-saved { position: absolute; right: 4px; top: 4px; @@ -700,18 +711,20 @@ svg.dashicon.components-checkbox-control__checked { border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2); border: 1px solid transparent; } - .components-circular-option-picker__option:focus { + .components-circular-option-picker__option:focus::after { + content: ""; + border: 2px solid #606a73; + 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: transparent; + box-shadow: inset 0 0 0 14px; outline: none; } - .components-circular-option-picker__option:focus::after { - content: ""; - border: 2px solid #606a73; - 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__button-action .components-circular-option-picker__option { color: #fff; @@ -762,7 +775,7 @@ svg.dashicon.components-checkbox-control__checked { overflow: hidden; } .components-color-picker * { box-sizing: border-box; } - .components-color-picker .components-icon-button { + .components-color-picker .components-button { padding: 6px; } .components-color-picker__saturation { @@ -996,9 +1009,9 @@ svg.dashicon.components-checkbox-control__checked { .components-custom-select-control__menu { background: #fff; + min-width: 100%; padding: 0; position: absolute; - width: 100%; z-index: 1000000; } .components-custom-select-control__item { @@ -1868,8 +1881,6 @@ svg.dashicon { .components-datetime__date { min-height: 236px; border-top: 1px solid #e2e4e7; } - .components-datetime__date .CalendarMonthGrid { - margin-right: -13px; } .components-datetime__date .DayPickerNavigation_leftButton__horizontalDefault { right: 0; } .components-datetime__date .CalendarMonth_caption { @@ -1955,13 +1966,13 @@ svg.dashicon { .components-datetime__time .components-datetime__time-wrapper .components-datetime__time-pm-button:focus { position: relative; z-index: 1; } - .components-datetime__time .components-datetime__time-wrapper .components-datetime__time-am-button.is-toggled, - .components-datetime__time .components-datetime__time-wrapper .components-datetime__time-pm-button.is-toggled { + .components-datetime__time .components-datetime__time-wrapper .components-datetime__time-am-button.is-pressed, + .components-datetime__time .components-datetime__time-wrapper .components-datetime__time-pm-button.is-pressed { background: #edeff0; border-color: #8f98a1; box-shadow: inset 0 2px 5px -3px #555d66; } - .components-datetime__time .components-datetime__time-wrapper .components-datetime__time-am-button.is-toggled:focus, - .components-datetime__time .components-datetime__time-wrapper .components-datetime__time-pm-button.is-toggled:focus { + .components-datetime__time .components-datetime__time-wrapper .components-datetime__time-am-button.is-pressed:focus, + .components-datetime__time .components-datetime__time-wrapper .components-datetime__time-pm-button.is-pressed:focus { box-shadow: inset 0 2px 5px -3px #555d66, 0 0 0 1px #fff, 0 0 0 3px #007cba; } .components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field-time { direction: ltr; } @@ -2163,20 +2174,21 @@ body.is-dragging-components-draggable { right: 0; left: 0; height: 1px; } - .components-dropdown-menu__menu .components-dropdown-menu__menu-item:focus:not(:disabled):not([aria-disabled="true"]):not(.is-default), - .components-dropdown-menu__menu .components-menu-item:focus:not(:disabled):not([aria-disabled="true"]):not(.is-default) { + .components-dropdown-menu__menu .components-dropdown-menu__menu-item:focus:not(:disabled):not([aria-disabled="true"]):not(.is-secondary), + .components-dropdown-menu__menu .components-menu-item:focus:not(:disabled):not([aria-disabled="true"]):not(.is-secondary) { color: #191e23; border: none; box-shadow: none; outline-offset: -2px; outline: 1px dotted #555d66; } - .components-dropdown-menu__menu .components-dropdown-menu__menu-item:hover, .components-dropdown-menu__menu .components-dropdown-menu__menu-item:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover, + .components-dropdown-menu__menu .components-dropdown-menu__menu-item:hover, .components-dropdown-menu__menu .components-dropdown-menu__menu-item:not(:disabled):not([aria-disabled="true"]):not(.is-secondary):not(.is-tertiary):not(.is-primary):hover, .components-dropdown-menu__menu .components-menu-item:hover, - .components-dropdown-menu__menu .components-menu-item:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover { + .components-dropdown-menu__menu .components-menu-item:not(:disabled):not([aria-disabled="true"]):not(.is-secondary):not(.is-tertiary):not(.is-primary):hover { color: #191e23; border: none; box-shadow: none; - background: #f3f4f5; } + background: #f3f4f5; + box-shadow: none; } .components-dropdown-menu__menu .components-dropdown-menu__menu-item > svg, .components-dropdown-menu__menu .components-menu-item > svg { border-radius: 4px; @@ -2184,8 +2196,8 @@ body.is-dragging-components-draggable { width: 24px; height: 24px; margin: -1px 0 -1px 8px; } - .components-dropdown-menu__menu .components-dropdown-menu__menu-item:not(:disabled):not([aria-disabled="true"]):not(.is-default).is-active > svg, - .components-dropdown-menu__menu .components-menu-item:not(:disabled):not([aria-disabled="true"]):not(.is-default).is-active > svg { + .components-dropdown-menu__menu .components-dropdown-menu__menu-item:not(:disabled):not([aria-disabled="true"]):not(.is-secondary).is-active > svg, + .components-dropdown-menu__menu .components-menu-item:not(:disabled):not([aria-disabled="true"]):not(.is-secondary).is-active > svg { outline: none; color: #fff; box-shadow: none; @@ -2193,13 +2205,14 @@ body.is-dragging-components-draggable { .components-dropdown-menu__menu .components-menu-group:not(:last-child) { border-bottom: 1px solid #e2e4e7; } .components-dropdown-menu__menu .components-menu-item__button, - .components-dropdown-menu__menu .components-menu-item__button.components-icon-button { + .components-dropdown-menu__menu .components-menu-item__button.components-button { + height: auto; padding-right: 2rem; } .components-dropdown-menu__menu .components-menu-item__button.has-icon, - .components-dropdown-menu__menu .components-menu-item__button.components-icon-button.has-icon { + .components-dropdown-menu__menu .components-menu-item__button.components-button.has-icon { padding-right: 0.5rem; } .components-dropdown-menu__menu .components-menu-item__button .dashicon, - .components-dropdown-menu__menu .components-menu-item__button.components-icon-button .dashicon { + .components-dropdown-menu__menu .components-menu-item__button.components-button .dashicon { margin-left: 4px; } .components-external-link__icon { @@ -2316,9 +2329,6 @@ body.is-dragging-components-draggable { padding: 0; margin: 0; } -.components-form-file-upload .components-button.is-large { - padding-right: 6px; } - .components-form-toggle { position: relative; display: inline-block; } @@ -2560,14 +2570,14 @@ body.is-dragging-components-draggable { cursor: default; } .components-form-token-field__token-text, -.components-form-token-field__remove-token.components-icon-button { +.components-form-token-field__remove-token.components-button { display: inline-block; line-height: 24px; background: #e2e4e7; transition: all 0.2s cubic-bezier(0.4, 1, 0.4, 1); } @media (prefers-reduced-motion: reduce) { .components-form-token-field__token-text, - .components-form-token-field__remove-token.components-icon-button { + .components-form-token-field__remove-token.components-button { transition-duration: 0s; animation-duration: 1ms; } } @@ -2578,14 +2588,14 @@ body.is-dragging-components-draggable { overflow: hidden; text-overflow: ellipsis; } -.components-form-token-field__remove-token.components-icon-button { +.components-form-token-field__remove-token.components-button { cursor: pointer; border-radius: 12px 0 0 12px; padding: 0 2px; color: #555d66; line-height: 10px; overflow: initial; } - .components-form-token-field__remove-token.components-icon-button:hover { + .components-form-token-field__remove-token.components-button:hover { color: #32373c; } .components-form-token-field__suggestions-list { @@ -2618,13 +2628,12 @@ body.is-dragging-components-draggable { .components-guide .components-modal__header { background: none; border-bottom: none; } - .components-guide .components-modal__header .components-icon-button { + .components-guide .components-modal__header .components-button { align-self: flex-start; margin-top: 24px; position: static; } .components-guide__container { - align-items: center; display: flex; flex-direction: column; margin-top: -56px; @@ -2647,7 +2656,7 @@ body.is-dragging-components-draggable { .components-guide__page-control li { display: inline-block; margin: 0 2px; } - .components-guide__page-control .components-icon-button { + .components-guide__page-control .components-button { height: 30px; } @media (max-width: 600px) { @@ -2692,7 +2701,7 @@ body.is-dragging-components-draggable { left: 0; } @media (min-width: 600px) { .components-button.components-guide__finish-button { - display: unset; } } + display: block; } } @media (min-width: 600px) { .components-button.components-guide__inline-finish-button { @@ -2719,37 +2728,6 @@ body.is-dragging-components-draggable { outline-width: 4px; outline-offset: -4px; } } -.components-icon-button { - display: flex; - align-items: center; - padding: 8px; - margin: 0; - border: none; - background: none; - color: #555d66; - position: relative; - overflow: hidden; - border-radius: 4px; } - .components-icon-button .dashicon { - display: inline-block; - flex: 0 0 auto; } - .components-icon-button svg { - fill: currentColor; - outline: none; } - .components-icon-button.has-text svg { - margin-left: 4px; } - .components-icon-button:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover { - background-color: #fff; - color: #191e23; - box-shadow: inset 0 0 0 1px #555d66, inset 0 0 0 2px #fff; } - .components-icon-button:not(:disabled):not([aria-disabled="true"]):not(.is-default):active { - outline: none; - background-color: #fff; - color: #191e23; - box-shadow: inset 0 0 0 1px #ccd0d4, inset 0 0 0 2px #fff; } - .components-icon-button[aria-disabled="true"]:focus, .components-icon-button:disabled:focus { - box-shadow: none; } - .components-menu-group { width: 100%; padding: 7px 0; } @@ -2760,7 +2738,7 @@ body.is-dragging-components-draggable { padding: 0 7px; } .components-menu-item__button, -.components-menu-item__button.components-icon-button { +.components-menu-item__button.components-button { width: 100%; padding: 8px 15px; text-align: right; @@ -2770,25 +2748,25 @@ body.is-dragging-components-draggable { .components-menu-item__button .dashicon, .components-menu-item__button .components-menu-items__item-icon, .components-menu-item__button > span > svg, - .components-menu-item__button.components-icon-button .dashicon, - .components-menu-item__button.components-icon-button .components-menu-items__item-icon, - .components-menu-item__button.components-icon-button > span > svg { + .components-menu-item__button.components-button .dashicon, + .components-menu-item__button.components-button .components-menu-items__item-icon, + .components-menu-item__button.components-button > span > svg { margin-left: 5px; } .components-menu-item__button .components-menu-items__item-icon, - .components-menu-item__button.components-icon-button .components-menu-items__item-icon { + .components-menu-item__button.components-button .components-menu-items__item-icon { display: inline-block; flex: 0 0 auto; } - .components-menu-item__button:hover:not(:disabled):not([aria-disabled="true"]), - .components-menu-item__button.components-icon-button:hover:not(:disabled):not([aria-disabled="true"]) { + .components-menu-item__button.components-button:not(:disabled):not([aria-disabled="true"]):not(.is-secondary):not(.is-tertiary):not(.is-primary):hover, + .components-menu-item__button.components-button.components-button:not(:disabled):not([aria-disabled="true"]):not(.is-secondary):not(.is-tertiary):not(.is-primary):hover { color: #191e23; border: none; box-shadow: none; background: #f3f4f5; } - .components-menu-item__button:hover:not(:disabled):not([aria-disabled="true"]) .components-menu-item__shortcut, - .components-menu-item__button.components-icon-button:hover:not(:disabled):not([aria-disabled="true"]) .components-menu-item__shortcut { + .components-menu-item__button.components-button:not(:disabled):not([aria-disabled="true"]):not(.is-secondary):not(.is-tertiary):not(.is-primary):hover .components-menu-item__shortcut, + .components-menu-item__button.components-button.components-button:not(:disabled):not([aria-disabled="true"]):not(.is-secondary):not(.is-tertiary):not(.is-primary):hover .components-menu-item__shortcut { color: #40464d; } .components-menu-item__button:focus:not(:disabled):not([aria-disabled="true"]), - .components-menu-item__button.components-icon-button:focus:not(:disabled):not([aria-disabled="true"]) { + .components-menu-item__button.components-button:focus:not(:disabled):not([aria-disabled="true"]) { color: #191e23; border: none; box-shadow: none; @@ -2817,13 +2795,13 @@ body.is-dragging-components-draggable { display: inline; } } .components-menu-items-choice, -.components-menu-items-choice.components-icon-button { +.components-menu-items-choice.components-button { padding-right: 2rem; } .components-menu-items-choice.has-icon, - .components-menu-items-choice.components-icon-button.has-icon { + .components-menu-items-choice.components-button.has-icon { padding-right: 0.5rem; } .components-menu-items-choice .dashicon, - .components-menu-items-choice.components-icon-button .dashicon { + .components-menu-items-choice.components-button .dashicon { margin-left: 4px; } .components-modal__screen-overlay { @@ -2884,10 +2862,11 @@ body.is-dragging-components-draggable { background: #fff; align-items: center; height: 56px; + z-index: 10; + position: relative; position: -webkit-sticky; position: sticky; top: 0; - z-index: 10; margin: 0 -24px 24px; } @supports (-ms-ime-align: auto) { .components-modal__header { @@ -2899,7 +2878,7 @@ body.is-dragging-components-draggable { .components-modal__header h1 { line-height: 1; margin: 0; } - .components-modal__header .components-icon-button { + .components-modal__header .components-button { position: relative; right: 8px; } @@ -2954,17 +2933,17 @@ body.is-dragging-components-draggable { .components-notice__action.components-button, .components-notice__action.components-button.is-link { margin-right: 4px; } -.components-notice__action.components-button.is-default { +.components-notice__action.components-button.is-secondary { vertical-align: initial; } .components-notice__dismiss { color: #6c7781; align-self: flex-start; flex-shrink: 0; } - .components-notice__dismiss:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover, .components-notice__dismiss:not(:disabled):not([aria-disabled="true"]):not(.is-default):active, .components-notice__dismiss:not(:disabled):not([aria-disabled="true"]):focus { + .components-notice__dismiss:not(:disabled):not([aria-disabled="true"]):not(.is-secondary):hover, .components-notice__dismiss:not(:disabled):not([aria-disabled="true"]):not(.is-secondary):active, .components-notice__dismiss:not(:disabled):not([aria-disabled="true"]):focus { color: #191e23; background-color: transparent; } - .components-notice__dismiss:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover { + .components-notice__dismiss:not(:disabled):not([aria-disabled="true"]):not(.is-secondary):hover { box-shadow: none; } .components-notice-list { @@ -2999,7 +2978,7 @@ body.is-dragging-components-draggable { margin: 0 0 0.5em; } .components-panel__body.is-opened { padding: 16px; } - .components-panel__body > .components-icon-button { + .components-panel__body > .components-button { color: #191e23; } .components-panel__header { @@ -3036,9 +3015,9 @@ body.is-dragging-components-draggable { margin: -16px; margin-bottom: 5px; } -.components-panel__body > .components-panel__body-title:hover, -.edit-post-last-revision__panel > .components-icon-button:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover { - background: #f3f4f5; } +.components-panel__body > .components-panel__body-title:hover { + background: #f3f4f5 !important; + border: none !important; } .components-panel__body-toggle.components-button { position: relative; @@ -3050,7 +3029,8 @@ body.is-dragging-components-draggable { color: #191e23; border: none; box-shadow: none; - transition: 0.1s background ease-in-out; } + transition: 0.1s background ease-in-out; + height: auto; } @media (prefers-reduced-motion: reduce) { .components-panel__body-toggle.components-button { transition-duration: 0s; } } @@ -3060,6 +3040,10 @@ body.is-dragging-components-draggable { box-shadow: none; outline-offset: -2px; outline: 1px dotted #555d66; } + .components-panel__body-toggle.components-button:hover { + background: transparent !important; + border: none !important; + box-shadow: none !important; } .components-panel__body-toggle.components-button .components-panel__arrow { position: absolute; left: 10px; @@ -3105,21 +3089,24 @@ body.is-dragging-components-draggable { .components-panel .circle-picker { padding-bottom: 20px; } -.components-placeholder { +.components-placeholder.components-placeholder { + position: relative; margin-bottom: 28px; padding: 1em; min-height: 200px; width: 100%; - text-align: center; + text-align: right; background: rgba(139, 139, 150, 0.1); } @supports ((position: -webkit-sticky) or (position: sticky)) { - .components-placeholder { + .components-placeholder.components-placeholder { display: flex; flex-direction: column; - align-items: center; - justify-content: center; } } - .is-dark-theme .components-placeholder { + justify-content: center; + align-items: flex-start; } } + .is-dark-theme .components-placeholder.components-placeholder { background: rgba(255, 255, 255, 0.15); } + .components-placeholder.components-placeholder .components-base-control__label { + font-size: 13px; } .components-placeholder__instructions, .components-placeholder__label, @@ -3129,10 +3116,9 @@ body.is-dragging-components-draggable { .components-placeholder__label { display: flex; - align-items: center; - justify-content: center; font-weight: 600; margin-bottom: 1em; } + .components-placeholder__label > svg, .components-placeholder__label .dashicon, .components-placeholder__label .block-editor-block-icon { fill: currentColor; @@ -3142,9 +3128,7 @@ body.is-dragging-components-draggable { .components-placeholder__fieldset form { display: flex; flex-direction: row; - justify-content: center; width: 100%; - max-width: 400px; flex-wrap: wrap; z-index: 1; } .components-placeholder__fieldset p, @@ -3169,8 +3153,8 @@ body.is-dragging-components-draggable { width: 50%; } .components-placeholder__fieldset .components-button { - margin-left: 4px; - margin-bottom: 10px; } + margin-left: 8px; + margin-bottom: 8px; } .components-placeholder__fieldset .components-button:last-child { margin-left: 0; } @@ -3179,10 +3163,28 @@ body.is-dragging-components-draggable { margin-left: 10px; } .components-placeholder__fieldset .components-button:not(.is-link) ~ .components-button.is-link:last-child { margin-left: 0; } + +.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 .block-editor-block-icon { + display: none; } + +.components-placeholder.is-small .components-button { + padding: 0 8px 2px; } .components-popover { position: fixed; z-index: 1000000; - left: 50%; + top: 0; + left: 0; opacity: 0; } .components-popover.is-expanded, .components-popover[data-x-axis][data-y-axis] { opacity: 1; } @@ -3308,13 +3310,15 @@ body.is-dragging-components-draggable { white-space: nowrap; width: 100%; } -.components-popover__close.components-icon-button { +.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; } @@ -3664,14 +3668,14 @@ body.lockscroll { flex-shrink: 0; line-height: 1.4; padding: 0; } - .components-snackbar__action.components-button:not(:disabled):not([aria-disabled="true"]):not(.is-default) { + .components-snackbar__action.components-button:not(:disabled):not([aria-disabled="true"]):not(.is-secondary) { text-decoration: underline; background-color: transparent; } - .components-snackbar__action.components-button:not(:disabled):not([aria-disabled="true"]):not(.is-default):focus { + .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-default):hover { + .components-snackbar__action.components-button:not(:disabled):not([aria-disabled="true"]):not(.is-secondary):hover { color: #33b3db; } .components-snackbar__content { @@ -3755,6 +3759,33 @@ body.lockscroll { .components-accessible-toolbar { display: flex; } } +.components-tab-button { + padding: 3px; + color: #555d66; + height: 36px; + font-weight: 500; } + .components-tab-button.is-pressed, .components-tab-button.is-pressed:hover { + color: #fff; } + .components-tab-button:disabled { + cursor: default; } + .components-tab-button > span { + border: 1px solid transparent; + padding: 0 6px; + box-sizing: content-box; + height: 28px; + line-height: 28px; } + .components-tab-button:hover > span, + .components-tab-button:focus > span { + color: #555d66; } + .components-tab-button:not(:disabled).is-pressed > span, + .components-tab-button:not(:disabled):hover > span, + .components-tab-button:not(:disabled):focus > span { + border: 1px solid #555d66; } + .components-tab-button.is-pressed > span, + .components-tab-button.is-pressed:hover > span { + background-color: #555d66; + color: #fff; } + .components-toolbar__control.components-button { width: 36px; height: 36px; } @@ -3769,12 +3800,12 @@ body.lockscroll { position: absolute; left: 8px; bottom: 10px; } - .components-toolbar__control.components-button:not(:disabled).is-active[data-subscript]::after { + .components-toolbar__control.components-button:not(:disabled).is-pressed[data-subscript]::after { color: #fff; } - .components-toolbar__control.components-button.is-active { + .components-toolbar__control.components-button.is-pressed { padding: 3px; outline: none; } - .components-toolbar__control.components-button.is-active > svg { + .components-toolbar__control.components-button.is-pressed > svg { padding: 5px; border-radius: 4px; height: 30px; diff --git a/wp-includes/css/dist/components/style-rtl.min.css b/wp-includes/css/dist/components/style-rtl.min.css index be6bd9bb74..3edf581b69 100644 --- a/wp-includes/css/dist/components/style-rtl.min.css +++ b/wp-includes/css/dist/components/style-rtl.min.css @@ -1 +1 @@ -.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}}.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}}.components-animate__slide-in.is-from-left{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{min-width:200px}.components-autocomplete__popover .components-autocomplete__results{padding:3px;display:flex;flex-direction:column;align-items:stretch}.components-autocomplete__popover .components-autocomplete__results:empty{display:none}.components-autocomplete__result.components-button{margin-bottom:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;color:#555d66;display:flex;flex-direction:row;flex-grow:1;flex-shrink:0;align-items:center;padding:6px 8px;margin-right:-3px;margin-left:-3px;text-align:right}.components-autocomplete__result.components-button.is-selected{color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.components-autocomplete__result.components-button:hover{color:#191e23;border:none;box-shadow:none;background:#f3f4f5}.components-base-control{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.components-base-control .components-base-control__field{margin-bottom:8px}.components-panel__row .components-base-control .components-base-control__field{margin-bottom:inherit}.components-base-control .components-base-control__label{display:inline-block;margin-bottom:4px}.components-base-control .components-base-control__help{margin-top:-8px;font-style:italic}.components-base-control+.components-base-control{margin-bottom:16px}.components-button-group{display:inline-block}.components-button-group .components-button.is-button{border-radius:0;display:inline-flex}.components-button-group .components-button.is-button+.components-button.is-button{margin-right:-1px}.components-button-group .components-button.is-button:first-child{border-radius:0 3px 3px 0}.components-button-group .components-button.is-button:last-child{border-radius:3px 0 0 3px}.components-button-group .components-button.is-button.is-primary,.components-button-group .components-button.is-button:focus{position:relative;z-index:1}.components-button-group .components-button.is-button.is-primary{box-shadow:none}.components-button{display:inline-flex;text-decoration:none;font-size:13px;margin:0;border:0;cursor:pointer;-webkit-appearance:none;background:none;transition:box-shadow .1s linear}@media (prefers-reduced-motion:reduce){.components-button{transition-duration:0s}}.components-button.is-button{padding:0 10px;line-height:2;height:28px;border-radius:3px;white-space:nowrap;border-width:1px;border-style:solid}.components-button.is-default{color:#0075af;border-color:#0075af;background:#f3f5f6}body.admin-color-sunrise .components-button.is-default{color:#c47e46;border-color:#c47e46}body.admin-color-ocean .components-button.is-default{color:#99ae98;border-color:#99ae98}body.admin-color-midnight .components-button.is-default{color:#d4483f;border-color:#d4483f}body.admin-color-ectoplasm .components-button.is-default{color:#9dab51;border-color:#9dab51}body.admin-color-coffee .components-button.is-default{color:#b69c84;border-color:#b69c84}body.admin-color-blue .components-button.is-default{color:#cca154;border-color:#cca154}body.admin-color-light .components-button.is-default{color:#007daf;border-color:#007daf}.components-button.is-default:hover{background:#f1f1f1;border-color:#005d8c;color:#005d8c;text-decoration:none}body.admin-color-sunrise .components-button.is-default:hover{border-color:#9d6538;color:#9d6538}body.admin-color-ocean .components-button.is-default:hover{border-color:#7a8b7a;color:#7a8b7a}body.admin-color-midnight .components-button.is-default:hover{border-color:#a93a32;color:#a93a32}body.admin-color-ectoplasm .components-button.is-default:hover{border-color:#7d8941;color:#7d8941}body.admin-color-coffee .components-button.is-default:hover{border-color:#927d69;color:#927d69}body.admin-color-blue .components-button.is-default:hover{border-color:#a38043;color:#a38043}body.admin-color-light .components-button.is-default:hover{border-color:#00648c;color:#00648c}.components-button.is-default:focus:enabled{background:#f3f5f6;color:#005d8c;border-color:#0076b1;box-shadow:0 0 0 1px #0076b1;text-decoration:none}body.admin-color-sunrise .components-button.is-default:focus:enabled{color:#9d6538;border-color:#c77f46;box-shadow:0 0 0 1px #c77f46}body.admin-color-ocean .components-button.is-default:focus:enabled{color:#7a8b7a;border-color:#9bb09a;box-shadow:0 0 0 1px #9bb09a}body.admin-color-midnight .components-button.is-default:focus:enabled{color:#a93a32;border-color:#d64940;box-shadow:0 0 0 1px #d64940}body.admin-color-ectoplasm .components-button.is-default:focus:enabled{color:#7d8941;border-color:#9fad52;box-shadow:0 0 0 1px #9fad52}body.admin-color-coffee .components-button.is-default:focus:enabled{color:#927d69;border-color:#b89e85;box-shadow:0 0 0 1px #b89e85}body.admin-color-blue .components-button.is-default:focus:enabled{color:#a38043;border-color:#cea255;box-shadow:0 0 0 1px #cea255}body.admin-color-light .components-button.is-default:focus:enabled{color:#00648c;border-color:#007eb1;box-shadow:0 0 0 1px #007eb1}.components-button.is-default:active:enabled{background:#f3f5f6;color:#0076b1;border-color:#7e8993;box-shadow:none}body.admin-color-sunrise .components-button.is-default:active:enabled{color:#c77f46}body.admin-color-ocean .components-button.is-default:active:enabled{color:#9bb09a}body.admin-color-midnight .components-button.is-default:active:enabled{color:#d64940}body.admin-color-ectoplasm .components-button.is-default:active:enabled{color:#9fad52}body.admin-color-coffee .components-button.is-default:active:enabled{color:#b89e85}body.admin-color-blue .components-button.is-default:active:enabled{color:#cea255}body.admin-color-light .components-button.is-default:active:enabled{color:#007eb1}.components-button.is-default:disabled,.components-button.is-default[aria-disabled=true]{color:#a0a5aa;border-color:#ddd;background:#f7f7f7;text-shadow:0 1px 0 #fff;transform:none;opacity:1}.components-button.is-primary{background:#007cba;border-color:#007cba;color:#fff;text-decoration:none;text-shadow:none}body.admin-color-sunrise .components-button.is-primary{background:#d1864a;border-color:#d1864a}body.admin-color-ocean .components-button.is-primary{background:#a3b9a2;border-color:#a3b9a2}body.admin-color-midnight .components-button.is-primary{background:#e14d43;border-color:#e14d43}body.admin-color-ectoplasm .components-button.is-primary{background:#a7b656;border-color:#a7b656}body.admin-color-coffee .components-button.is-primary{background:#c2a68c;border-color:#c2a68c}body.admin-color-blue .components-button.is-primary{background:#d9ab59;border-color:#d9ab59}body.admin-color-light .components-button.is-primary{background:#0085ba;border-color:#0085ba}.components-button.is-primary:focus:enabled,.components-button.is-primary:hover{background:#0070a7;border-color:#0070a7;color:#fff}body.admin-color-sunrise .components-button.is-primary:focus:enabled,body.admin-color-sunrise .components-button.is-primary:hover{background:#bc7943;border-color:#bc7943}body.admin-color-ocean .components-button.is-primary:focus:enabled,body.admin-color-ocean .components-button.is-primary:hover{background:#93a792;border-color:#93a792}body.admin-color-midnight .components-button.is-primary:focus:enabled,body.admin-color-midnight .components-button.is-primary:hover{background:#cb453c;border-color:#cb453c}body.admin-color-ectoplasm .components-button.is-primary:focus:enabled,body.admin-color-ectoplasm .components-button.is-primary:hover{background:#96a44d;border-color:#96a44d}body.admin-color-coffee .components-button.is-primary:focus:enabled,body.admin-color-coffee .components-button.is-primary:hover{background:#af957e;border-color:#af957e}body.admin-color-blue .components-button.is-primary:focus:enabled,body.admin-color-blue .components-button.is-primary:hover{background:#c39a50;border-color:#c39a50}body.admin-color-light .components-button.is-primary:focus:enabled,body.admin-color-light .components-button.is-primary:hover{background:#0078a7;border-color:#0078a7}.components-button.is-primary:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #007cba}body.admin-color-sunrise .components-button.is-primary:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #d1864a}body.admin-color-ocean .components-button.is-primary:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #a3b9a2}body.admin-color-midnight .components-button.is-primary:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #e14d43}body.admin-color-ectoplasm .components-button.is-primary:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #a7b656}body.admin-color-coffee .components-button.is-primary:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #c2a68c}body.admin-color-blue .components-button.is-primary:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #d9ab59}body.admin-color-light .components-button.is-primary:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #0085ba}.components-button.is-primary:active:enabled{background:#006395;border-color:#006395;color:#fff}body.admin-color-sunrise .components-button.is-primary:active:enabled{background:#a76b3b;border-color:#a76b3b}body.admin-color-ocean .components-button.is-primary:active:enabled{background:#829482;border-color:#829482}body.admin-color-midnight .components-button.is-primary:active:enabled{background:#b43e36;border-color:#b43e36}body.admin-color-ectoplasm .components-button.is-primary:active:enabled{background:#869245;border-color:#869245}body.admin-color-coffee .components-button.is-primary:active:enabled{background:#9b8570;border-color:#9b8570}body.admin-color-blue .components-button.is-primary:active:enabled{background:#ae8947;border-color:#ae8947}body.admin-color-light .components-button.is-primary:active:enabled{background:#006a95;border-color:#006a95}.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:#66b0d6;background:#1989c1;border-color:#1989c1;opacity:1}body.admin-color-sunrise .components-button.is-primary:disabled,body.admin-color-sunrise .components-button.is-primary:disabled:active:enabled,body.admin-color-sunrise .components-button.is-primary[aria-disabled=true],body.admin-color-sunrise .components-button.is-primary[aria-disabled=true]:active:enabled,body.admin-color-sunrise .components-button.is-primary[aria-disabled=true]:enabled{color:#e3b692;background:#d6925c;border-color:#d6925c}body.admin-color-ocean .components-button.is-primary:disabled,body.admin-color-ocean .components-button.is-primary:disabled:active:enabled,body.admin-color-ocean .components-button.is-primary[aria-disabled=true],body.admin-color-ocean .components-button.is-primary[aria-disabled=true]:active:enabled,body.admin-color-ocean .components-button.is-primary[aria-disabled=true]:enabled{color:#c8d5c7;background:#acc0ab;border-color:#acc0ab}body.admin-color-midnight .components-button.is-primary:disabled,body.admin-color-midnight .components-button.is-primary:disabled:active:enabled,body.admin-color-midnight .components-button.is-primary[aria-disabled=true],body.admin-color-midnight .components-button.is-primary[aria-disabled=true]:active:enabled,body.admin-color-midnight .components-button.is-primary[aria-disabled=true]:enabled{color:#ed948e;background:#e45f56;border-color:#e45f56}body.admin-color-ectoplasm .components-button.is-primary:disabled,body.admin-color-ectoplasm .components-button.is-primary:disabled:active:enabled,body.admin-color-ectoplasm .components-button.is-primary[aria-disabled=true],body.admin-color-ectoplasm .components-button.is-primary[aria-disabled=true]:active:enabled,body.admin-color-ectoplasm .components-button.is-primary[aria-disabled=true]:enabled{color:#cad39a;background:#b0bd67;border-color:#b0bd67}body.admin-color-coffee .components-button.is-primary:disabled,body.admin-color-coffee .components-button.is-primary:disabled:active:enabled,body.admin-color-coffee .components-button.is-primary[aria-disabled=true],body.admin-color-coffee .components-button.is-primary[aria-disabled=true]:active:enabled,body.admin-color-coffee .components-button.is-primary[aria-disabled=true]:enabled{color:#dacaba;background:#c8af98;border-color:#c8af98}body.admin-color-blue .components-button.is-primary:disabled,body.admin-color-blue .components-button.is-primary:disabled:active:enabled,body.admin-color-blue .components-button.is-primary[aria-disabled=true],body.admin-color-blue .components-button.is-primary[aria-disabled=true]:active:enabled,body.admin-color-blue .components-button.is-primary[aria-disabled=true]:enabled{color:#e8cd9b;background:#ddb36a;border-color:#ddb36a}body.admin-color-light .components-button.is-primary:disabled,body.admin-color-light .components-button.is-primary:disabled:active:enabled,body.admin-color-light .components-button.is-primary[aria-disabled=true],body.admin-color-light .components-button.is-primary[aria-disabled=true]:active:enabled,body.admin-color-light .components-button.is-primary[aria-disabled=true]:enabled{color:#66b6d6;background:#1991c1;border-color:#1991c1}.components-button.is-primary:disabled.is-button,.components-button.is-primary:disabled.is-button:hover,.components-button.is-primary:disabled:active:enabled,.components-button.is-primary:disabled:active:enabled.is-button,.components-button.is-primary:disabled:active:enabled.is-button:hover,.components-button.is-primary:disabled:active:enabled:active:enabled,.components-button.is-primary[aria-disabled=true].is-button,.components-button.is-primary[aria-disabled=true].is-button:hover,.components-button.is-primary[aria-disabled=true]:active:enabled,.components-button.is-primary[aria-disabled=true]:active:enabled.is-button,.components-button.is-primary[aria-disabled=true]:active:enabled.is-button:hover,.components-button.is-primary[aria-disabled=true]:active:enabled:active:enabled,.components-button.is-primary[aria-disabled=true]:enabled.is-button,.components-button.is-primary[aria-disabled=true]:enabled.is-button:hover,.components-button.is-primary[aria-disabled=true]:enabled:active:enabled{box-shadow:none;text-shadow: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 #007cba}body.admin-color-sunrise .components-button.is-primary:disabled:active:enabled:focus:enabled,body.admin-color-sunrise .components-button.is-primary:disabled:focus:enabled,body.admin-color-sunrise .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,body.admin-color-sunrise .components-button.is-primary[aria-disabled=true]:enabled:focus:enabled,body.admin-color-sunrise .components-button.is-primary[aria-disabled=true]:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #d1864a}body.admin-color-ocean .components-button.is-primary:disabled:active:enabled:focus:enabled,body.admin-color-ocean .components-button.is-primary:disabled:focus:enabled,body.admin-color-ocean .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,body.admin-color-ocean .components-button.is-primary[aria-disabled=true]:enabled:focus:enabled,body.admin-color-ocean .components-button.is-primary[aria-disabled=true]:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #a3b9a2}body.admin-color-midnight .components-button.is-primary:disabled:active:enabled:focus:enabled,body.admin-color-midnight .components-button.is-primary:disabled:focus:enabled,body.admin-color-midnight .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,body.admin-color-midnight .components-button.is-primary[aria-disabled=true]:enabled:focus:enabled,body.admin-color-midnight .components-button.is-primary[aria-disabled=true]:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #e14d43}body.admin-color-ectoplasm .components-button.is-primary:disabled:active:enabled:focus:enabled,body.admin-color-ectoplasm .components-button.is-primary:disabled:focus:enabled,body.admin-color-ectoplasm .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,body.admin-color-ectoplasm .components-button.is-primary[aria-disabled=true]:enabled:focus:enabled,body.admin-color-ectoplasm .components-button.is-primary[aria-disabled=true]:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #a7b656}body.admin-color-coffee .components-button.is-primary:disabled:active:enabled:focus:enabled,body.admin-color-coffee .components-button.is-primary:disabled:focus:enabled,body.admin-color-coffee .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,body.admin-color-coffee .components-button.is-primary[aria-disabled=true]:enabled:focus:enabled,body.admin-color-coffee .components-button.is-primary[aria-disabled=true]:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #c2a68c}body.admin-color-blue .components-button.is-primary:disabled:active:enabled:focus:enabled,body.admin-color-blue .components-button.is-primary:disabled:focus:enabled,body.admin-color-blue .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,body.admin-color-blue .components-button.is-primary[aria-disabled=true]:enabled:focus:enabled,body.admin-color-blue .components-button.is-primary[aria-disabled=true]:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #d9ab59}body.admin-color-light .components-button.is-primary:disabled:active:enabled:focus:enabled,body.admin-color-light .components-button.is-primary:disabled:focus:enabled,body.admin-color-light .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,body.admin-color-light .components-button.is-primary[aria-disabled=true]:enabled:focus:enabled,body.admin-color-light .components-button.is-primary[aria-disabled=true]:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #0085ba}.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,#007cba 28%,#006395 0,#006395 72%,#007cba 0);border-color:#007cba}body.admin-color-sunrise .components-button.is-primary.is-busy,body.admin-color-sunrise .components-button.is-primary.is-busy:disabled,body.admin-color-sunrise .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(45deg,#d1864a 28%,#a76b3b 0,#a76b3b 72%,#d1864a 0);border-color:#d1864a}body.admin-color-ocean .components-button.is-primary.is-busy,body.admin-color-ocean .components-button.is-primary.is-busy:disabled,body.admin-color-ocean .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(45deg,#a3b9a2 28%,#829482 0,#829482 72%,#a3b9a2 0);border-color:#a3b9a2}body.admin-color-midnight .components-button.is-primary.is-busy,body.admin-color-midnight .components-button.is-primary.is-busy:disabled,body.admin-color-midnight .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(45deg,#e14d43 28%,#b43e36 0,#b43e36 72%,#e14d43 0);border-color:#e14d43}body.admin-color-ectoplasm .components-button.is-primary.is-busy,body.admin-color-ectoplasm .components-button.is-primary.is-busy:disabled,body.admin-color-ectoplasm .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(45deg,#a7b656 28%,#869245 0,#869245 72%,#a7b656 0);border-color:#a7b656}body.admin-color-coffee .components-button.is-primary.is-busy,body.admin-color-coffee .components-button.is-primary.is-busy:disabled,body.admin-color-coffee .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(45deg,#c2a68c 28%,#9b8570 0,#9b8570 72%,#c2a68c 0);border-color:#c2a68c}body.admin-color-blue .components-button.is-primary.is-busy,body.admin-color-blue .components-button.is-primary.is-busy:disabled,body.admin-color-blue .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(45deg,#d9ab59 28%,#ae8947 0,#ae8947 72%,#d9ab59 0);border-color:#d9ab59}body.admin-color-light .components-button.is-primary.is-busy,body.admin-color-light .components-button.is-primary.is-busy:disabled,body.admin-color-light .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(45deg,#0085ba 28%,#006a95 0,#006a95 72%,#0085ba 0);border-color:#0085ba}.components-button.is-link{margin:0;padding:0;box-shadow:none;border:0;border-radius:0;background:none;outline:none;text-align:right;color:#0073aa;text-decoration:underline;transition-property:border,background,color;transition-duration:.05s;transition-timing-function:ease-in-out}@media (prefers-reduced-motion:reduce){.components-button.is-link{transition-duration:0s}}.components-button.is-link:active,.components-button.is-link:hover{color:#00a0d2}.components-button.is-link:focus{color:#124964;box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.components-button.is-link.is-destructive{color:#d94f4f}.components-button:active{color:inherit}.components-button:disabled,.components-button[aria-disabled=true]{cursor:default;opacity:.3}.components-button:focus:not(:disabled){background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;outline:2px solid transparent}.components-button.is-busy,.components-button.is-default.is-busy,.components-button.is-default.is-busy:disabled,.components-button.is-default.is-busy[aria-disabled=true]{animation:components-button__busy-animation 2.5s linear infinite;background-size:100px 100%;background-image:repeating-linear-gradient(45deg,#e2e4e7,#fff 11px,#fff 0,#e2e4e7 20px);opacity:1}.components-button.is-large{height:30px;line-height:28px;padding:0 12px 2px}.components-button.is-small{height:24px;line-height:22px;padding:0 8px 1px;font-size:11px}.components-button.is-tertiary{color:#007cba;padding:0 10px;line-height:26px;height:28px}body.admin-color-sunrise .components-button.is-tertiary{color:#837425}body.admin-color-ocean .components-button.is-tertiary{color:#5e7d5e}body.admin-color-midnight .components-button.is-tertiary{color:#497b8d}body.admin-color-ectoplasm .components-button.is-tertiary{color:#523f6d}body.admin-color-coffee .components-button.is-tertiary{color:#59524c}body.admin-color-blue .components-button.is-tertiary{color:#417e9b}body.admin-color-light .components-button.is-tertiary{color:#007cba}.components-button.is-tertiary .dashicon{display:inline-block;flex:0 0 auto}.components-button.is-tertiary svg{fill:currentColor;outline:none}.components-button.is-tertiary:active:focus:enabled{box-shadow:none}.components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#005d8c}body.admin-color-sunrise .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#62571c}body.admin-color-ocean .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#475e47}body.admin-color-midnight .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#375c6a}body.admin-color-ectoplasm .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#3e2f52}body.admin-color-coffee .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#433e39}body.admin-color-blue .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#315f74}body.admin-color-light .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#005d8c}.components-button .screen-reader-text{height:auto}@keyframes components-button__busy-animation{0%{background-position:200px 0}}.components-checkbox-control__input[type=checkbox]{border:1px solid #b4b9be;background:#fff;color:#555;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:25px;height:25px;-webkit-appearance:none;box-shadow:inset 0 1px 2px rgba(0,0,0,.1);transition:border-color .05s ease-in-out}@media (min-width:600px){.components-checkbox-control__input[type=checkbox]{height:16px;width:16px}}.components-checkbox-control__input[type=checkbox]:focus{border-color:#5b9dd9;box-shadow:0 0 2px rgba(30,140,190,.8);outline:2px solid transparent}.components-checkbox-control__input[type=checkbox]:checked{background:#11a0d2;border-color:#11a0d2}.components-checkbox-control__input[type=checkbox]:checked::-ms-check{opacity:0}.components-checkbox-control__input[type=checkbox]:focus:checked{border:none}.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:25px;height:25px}@media (min-width:600px){.components-checkbox-control__input-container{width:16px;height:16px}}svg.dashicon.components-checkbox-control__checked{fill:#fff;cursor:pointer;position:absolute;right:-4px;top:-2px;width:31px;height:31px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}@media (min-width:600px){svg.dashicon.components-checkbox-control__checked{width:21px;height:21px;right:-3px}}.components-circular-option-picker{display:inline-block;margin-top:.6rem;width:100%}.components-circular-option-picker .components-circular-option-picker__custom-clear-wrapper{display:flex;justify-content:flex-end}.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}}.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:nth-child(6n+6){margin-left:0}.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}}.components-circular-option-picker__option.is-active{box-shadow:inset 0 0 0 4px;position:relative;z-index:1}.components-circular-option-picker__option.is-active+.dashicons-saved{position:absolute;right:4px;top:4px;border-radius:50%;z-index:2;background:#fff;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{outline:none}.components-circular-option-picker__option:focus:after{content:"";border:2px solid #606a73;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__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}.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%;overflow:hidden}.components-color-picker *{box-sizing:border-box}.components-color-picker .components-icon-button{padding:6px}.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:hidden}.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-color-picker__saturation-pointer{width:8px;height:8px;box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px rgba(0,0,0,.3),0 0 1px 2px rgba(0,0,0,.4);border-radius:50%;background-color:transparent;transform:translate(4px,-4px)}.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}}.components-color-picker__saturation-pointer:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #00a0d2,0 0 5px 0 #00a0d2,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:#00a0d2;box-shadow:0 0 0 2px #00a0d2,0 0 3px 0 #00a0d2;outline:2px solid transparent;outline-offset:-2px}.components-color-picker__inputs-wrapper{margin:0 -4px;padding-top:16px;display:flex;align-items:flex-end}.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 8px}.components-color-picker__inputs-field{width:100%}.components-color-picker__inputs-fields{display:flex;direction:ltr;flex-grow:1}.components-color-picker__inputs-fields .components-base-control+.components-base-control{margin-bottom:0}.components-color-picker__inputs-fields .components-base-control__field{margin:0 4px}.components-custom-gradient-picker:not(.has-gradient){opacity:.4}.components-custom-gradient-picker{width:100%;height:24px;border-radius:24px;margin-bottom:8px;padding-right:3px;padding-left:21px}.components-custom-gradient-picker .components-custom-gradient-picker__markers-container{position:relative}.components-custom-gradient-picker .components-custom-gradient-picker__insert-point{border-radius:50%;background:#fff;padding:2px;width:24px;height:24px;position:relative}.components-custom-gradient-picker .components-custom-gradient-picker__control-point-button{border:2px solid #fff;border-radius:50%;height:18px;position:absolute;width:18px;top:3px}.components-custom-gradient-picker .components-custom-gradient-picker__control-point-button.is-active{background:#fafafa;color:#23282d;border-color:#999;box-shadow:inset 0 -1px 0 #999,0 0 0 1px #fff,0 0 0 3px #007cba}.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-select-control{color:#555d66;position:relative}.components-custom-select-control__label{display:block;margin-bottom:5px}.components-custom-select-control__button{border:1px solid #7e8993;border-radius:4px;color:#555d66;display:inline;min-height:30px;min-width:130px;position:relative;text-align:right}.components-custom-select-control__button:focus{border-color:#00a0d2}.components-custom-select-control__button-icon{height:100%;padding:0 4px;position:absolute;left:0;top:0}.components-custom-select-control__menu{background:#fff;padding:0;position:absolute;width:100%;z-index:1000000}.components-custom-select-control__item{align-items:center;display:flex;list-style-type:none;padding:10px 25px 10px 5px}.components-custom-select-control__item.is-highlighted{background:#e2e4e7}.components-custom-select-control__item-icon{margin-right:-20px;margin-left:0}svg.dashicon{fill:currentColor;outline:none}.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;-moz-user-select:none;-ms-user-select:none;user-select:none}.CalendarMonth_table{border-collapse:collapse;border-spacing:0}.CalendarMonth_verticalSpacing{border-collapse:separate}.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:9px}.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;-moz-user-select:none;-ms-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:9px}.DayPicker_weekHeader{color:#757575;position:absolute;top:62px;z-index:2;text-align:left}.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}.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;-moz-user-select:none;-ms-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,.components-datetime .components-datetime__calendar-help{padding:16px}.components-datetime .components-datetime__calendar-help h4{margin:0}.components-datetime .components-datetime__date-help-button{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:4px;border:1px solid #7e8993}@media (prefers-reduced-motion:reduce){.components-datetime input,.components-datetime select{transition-duration: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 #e2e4e7}.components-datetime__date .CalendarMonthGrid{margin-right:-13px}.components-datetime__date .DayPickerNavigation_leftButton__horizontalDefault{right:0}.components-datetime__date .CalendarMonth_caption{font-size:13px}.components-datetime__date .CalendarDay{font-size:13px;border:1px solid transparent;border-radius:50%;text-align:center}.components-datetime__date .CalendarDay__selected{background:#0085ba}body.admin-color-sunrise .components-datetime__date .CalendarDay__selected{background:#d1864a}body.admin-color-ocean .components-datetime__date .CalendarDay__selected{background:#a3b9a2}body.admin-color-midnight .components-datetime__date .CalendarDay__selected{background:#e14d43}body.admin-color-ectoplasm .components-datetime__date .CalendarDay__selected{background:#a7b656}body.admin-color-coffee .components-datetime__date .CalendarDay__selected{background:#c2a68c}body.admin-color-blue .components-datetime__date .CalendarDay__selected{background:#82b4cb}body.admin-color-light .components-datetime__date .CalendarDay__selected{background:#0085ba}.components-datetime__date .CalendarDay__selected:hover{background:#00719e}body.admin-color-sunrise .components-datetime__date .CalendarDay__selected:hover{background:#b2723f}body.admin-color-ocean .components-datetime__date .CalendarDay__selected:hover{background:#8b9d8a}body.admin-color-midnight .components-datetime__date .CalendarDay__selected:hover{background:#bf4139}body.admin-color-ectoplasm .components-datetime__date .CalendarDay__selected:hover{background:#8e9b49}body.admin-color-coffee .components-datetime__date .CalendarDay__selected:hover{background:#a58d77}body.admin-color-blue .components-datetime__date .CalendarDay__selected:hover{background:#6f99ad}body.admin-color-light .components-datetime__date .CalendarDay__selected:hover{background:#00719e}.components-datetime__date .DayPickerNavigation_button__horizontalDefault{padding:2px 8px;top:20px}.components-datetime__date .DayPickerNavigation_button__horizontalDefault:focus{color:#191e23;border-color:#007cba;box-shadow:0 0 0 1px #007cba;outline:2px solid transparent}.components-datetime__date .DayPicker_weekHeader{top:50px}.components-datetime__date .DayPicker_weekHeader .DayPicker_weekHeader_ul{margin:1px 0;padding-right:0;padding-left:0}.components-datetime__date.is-description-visible .components-datetime__date-help-button,.components-datetime__date.is-description-visible .DayPicker{visibility:hidden}.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;color:#555d66}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-am-button{margin-right:8px;margin-left:-1px;border-radius:0 3px 3px 0}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-pm-button{margin-right:-1px;border-radius:3px 0 0 3px}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-am-button:focus,.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-pm-button:focus{position:relative;z-index:1}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-am-button.is-toggled,.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-pm-button.is-toggled{background:#edeff0;border-color:#8f98a1;box-shadow:inset 0 2px 5px -3px #555d66}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-am-button.is-toggled:focus,.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-pm-button.is-toggled:focus{box-shadow:inset 0 2px 5px -3px #555d66,0 0 0 1px #fff,0 0 0 3px #007cba}.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.am-pm button{font-size:11px;font-weight:600}.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:0 0 0 -4px!important;border-radius:0 4px 4px 0!important}.components-datetime__time.is-12-hour .components-datetime__time-field-year input{border-radius:4px 0 0 4px!important}.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}.components-disabled{position:relative;pointer-events:none}.components-disabled:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0}.components-disabled *{pointer-events:none}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:20px;background:transparent;pointer-events:none;z-index:1000000000;opacity:.8}.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 #0071a1;border-radius:2px}@media (prefers-reduced-motion:reduce){.components-drop-zone{transition-duration: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}}.components-drop-zone.is-dragging-over-element{background-color:rgba(0,113,161,.8)}.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}}.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}.components-drop-zone__content-text{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.components-drop-zone__provider{height:100%}.components-dropdown{display:inline-block}.components-dropdown-menu__indicator:after{content:"";pointer-events:none;display:block;width:0;height:0;border-right:3px solid transparent;border-left:3px solid transparent;border-top:5px solid;margin-right:4px;margin-left:2px}.components-dropdown-menu__popover .components-popover__content{width:200px}.components-dropdown-menu__menu{width:100%;padding:7px 0;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;margin-bottom:4px}.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:content-box;background-color:#e2e4e7;position:absolute;top:-3px;right:0;left:0;height:1px}.components-dropdown-menu__menu .components-dropdown-menu__menu-item:focus:not(:disabled):not([aria-disabled=true]):not(.is-default),.components-dropdown-menu__menu .components-menu-item:focus:not(:disabled):not([aria-disabled=true]):not(.is-default){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.components-dropdown-menu__menu .components-dropdown-menu__menu-item:hover,.components-dropdown-menu__menu .components-dropdown-menu__menu-item:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.components-dropdown-menu__menu .components-menu-item:hover,.components-dropdown-menu__menu .components-menu-item:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#191e23;border:none;box-shadow:none;background:#f3f4f5}.components-dropdown-menu__menu .components-dropdown-menu__menu-item>svg,.components-dropdown-menu__menu .components-menu-item>svg{border-radius:4px;padding:2px;width:24px;height:24px;margin:-1px 0 -1px 8px}.components-dropdown-menu__menu .components-dropdown-menu__menu-item:not(:disabled):not([aria-disabled=true]):not(.is-default).is-active>svg,.components-dropdown-menu__menu .components-menu-item:not(:disabled):not([aria-disabled=true]):not(.is-default).is-active>svg{outline:none;color:#fff;box-shadow:none;background:#555d66}.components-dropdown-menu__menu .components-menu-group:not(:last-child){border-bottom:1px solid #e2e4e7}.components-dropdown-menu__menu .components-menu-item__button,.components-dropdown-menu__menu .components-menu-item__button.components-icon-button{padding-right:2rem}.components-dropdown-menu__menu .components-menu-item__button.components-icon-button.has-icon,.components-dropdown-menu__menu .components-menu-item__button.has-icon{padding-right:.5rem}.components-dropdown-menu__menu .components-menu-item__button.components-icon-button .dashicon,.components-dropdown-menu__menu .components-menu-item__button .dashicon{margin-left:4px}.components-external-link__icon{width:1.4em;height:1.4em;margin:-.2em .1em 0;vertical-align:middle}.components-focal-point-picker-wrapper{background-color:transparent;border:1px solid #e2e4e7;height:200px;width:100%;padding:14px}.components-focal-point-picker{align-items:center;cursor:pointer;display:flex;height:100%;justify-content:center;position:relative;width:100%}.components-focal-point-picker img{height:auto;max-height:100%;max-width:100%;width:auto;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.components-focal-point-picker__icon_container{background-color:transparent;cursor:grab;height:30px;opacity:.8;position:absolute;will-change:transform;width:30px;z-index:10000}.components-focal-point-picker__icon_container.is-dragging{cursor:grabbing}.components-focal-point-picker__icon{display:block;height:100%;right:-15px;position:absolute;top:-15px;width:100%}.components-focal-point-picker__icon .components-focal-point-picker__icon-outline{fill:#fff}.components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#0085ba}body.admin-color-sunrise .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#d1864a}body.admin-color-ocean .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#a3b9a2}body.admin-color-midnight .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#e14d43}body.admin-color-ectoplasm .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#a7b656}body.admin-color-coffee .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#c2a68c}body.admin-color-blue .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#82b4cb}body.admin-color-light .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#0085ba}.components-focal-point-picker_position-display-container{margin:1em 0;display:flex}.components-focal-point-picker_position-display-container .components-base-control__field{margin:0 0 0 1em}.components-focal-point-picker_position-display-container input[type=number].components-text-control__input{max-width:4em;padding:6px 4px}.components-focal-point-picker_position-display-container span{margin:0 .2em 0 0}.components-font-size-picker__controls{max-width:248px;display:flex;align-items:center;margin-bottom:24px}.components-font-size-picker__controls .components-range-control__number{height:30px;margin:5px 0 0 8px}.components-font-size-picker__controls .components-range-control__number[value=""]+.components-button{cursor:default;opacity:.3;pointer-events:none}.components-font-size-picker__controls .components-range-control__number-container{display:flex;flex-direction:column}.components-font-size-picker__controls .components-font-size-picker__select{margin-left:8px;flex-grow:1}.components-font-size-picker__controls .components-color-palette__clear{height:30px;margin-top:23px}.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-file-upload .components-button.is-large{padding-right:6px}.components-form-toggle{position:relative;display:inline-block}.components-form-toggle .components-form-toggle__off,.components-form-toggle .components-form-toggle__on{position:absolute;top:6px;box-sizing:border-box}.components-form-toggle .components-form-toggle__off{color:#6c7781;fill:currentColor;left:6px}.components-form-toggle .components-form-toggle__on{right:8px}.components-form-toggle .components-form-toggle__track{content:"";display:inline-block;box-sizing:border-box;vertical-align:top;background-color:#fff;border:2px solid #6c7781;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}}.components-form-toggle .components-form-toggle__thumb{display:block;position:absolute;box-sizing:border-box;top:4px;right:4px;width:10px;height:10px;border-radius:50%;transition:transform .1s ease;background-color:#6c7781;border:5px solid #6c7781}@media (prefers-reduced-motion:reduce){.components-form-toggle .components-form-toggle__thumb{transition-duration:0s}}.components-form-toggle:hover .components-form-toggle__track{border:2px solid #555d66}.components-form-toggle:hover .components-form-toggle__thumb{background-color:#555d66;border:5px solid #6c7781}.components-form-toggle:hover .components-form-toggle__off{color:#555d66}.components-form-toggle.is-checked .components-form-toggle__track{background-color:#11a0d2;border:9px solid transparent}body.admin-color-sunrise .components-form-toggle.is-checked .components-form-toggle__track{background-color:#c8b03c;border:2px solid #c8b03c}body.admin-color-ocean .components-form-toggle.is-checked .components-form-toggle__track{background-color:#a3b9a2;border:2px solid #a3b9a2}body.admin-color-midnight .components-form-toggle.is-checked .components-form-toggle__track{background-color:#77a6b9;border:2px solid #77a6b9}body.admin-color-ectoplasm .components-form-toggle.is-checked .components-form-toggle__track{background-color:#a7b656;border:2px solid #a7b656}body.admin-color-coffee .components-form-toggle.is-checked .components-form-toggle__track{background-color:#c2a68c;border:2px solid #c2a68c}body.admin-color-blue .components-form-toggle.is-checked .components-form-toggle__track{background-color:#82b4cb;border:2px solid #82b4cb}body.admin-color-light .components-form-toggle.is-checked .components-form-toggle__track{background-color:#11a0d2;border:2px solid #11a0d2}.components-form-toggle__input:focus+.components-form-toggle__track{box-shadow:0 0 0 2px #fff,0 0 0 3px #6c7781;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-form-toggle.is-checked:before{background-color:#11a0d2;border:2px solid #11a0d2}body.admin-color-sunrise .components-form-toggle.is-checked:before{background-color:#c8b03c;border:2px solid #c8b03c}body.admin-color-ocean .components-form-toggle.is-checked:before{background-color:#a3b9a2;border:2px solid #a3b9a2}body.admin-color-midnight .components-form-toggle.is-checked:before{background-color:#77a6b9;border:2px solid #77a6b9}body.admin-color-ectoplasm .components-form-toggle.is-checked:before{background-color:#a7b656;border:2px solid #a7b656}body.admin-color-coffee .components-form-toggle.is-checked:before{background-color:#c2a68c;border:2px solid #c2a68c}body.admin-color-blue .components-form-toggle.is-checked:before{background-color:#82b4cb;border:2px solid #82b4cb}body.admin-color-light .components-form-toggle.is-checked:before{background-color:#11a0d2;border:2px solid #11a0d2}.components-disabled .components-form-toggle{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-toggle .components-form-toggle__on{outline:1px solid transparent;outline-offset:-1px;border:1px solid #000;filter:invert(100%) contrast(500%)}@supports (-ms-high-contrast-adjust:auto){.components-form-toggle .components-form-toggle__on{filter:none;border:1px solid #fff}}.components-form-token-field__input-container{display:flex;flex-wrap:wrap;align-items:flex-start;width:100%;margin:0 0 8px;padding:4px;background-color:#fff;color:#32373c;cursor:text;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:4px;border:1px solid #7e8993}@media (prefers-reduced-motion:reduce){.components-form-token-field__input-container{transition-duration:0s}}.components-form-token-field__input-container.is-disabled{background:#e2e4e7;border-color:#ccd0d4}.components-form-token-field__input-container.is-active{color:#191e23;border-color:#007cba;box-shadow:0 0 0 1px #007cba;outline:2px solid transparent}.components-form-token-field__input-container input[type=text].components-form-token-field__input{display:inline-block;width:100%;max-width:100%;margin:2px 8px 2px 0;padding:0;min-height:24px;background:inherit;border:0;color:#23282d;box-shadow:none}.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-style:italic}.components-form-token-field__token{font-size:13px;display:flex;margin:2px 0 2px 4px;color:#32373c;overflow:hidden}.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:#d94f4f}.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:#555d66}.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:#11a0d2}body.admin-color-sunrise .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#c8b03c}body.admin-color-ocean .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#a89d8a}body.admin-color-midnight .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#77a6b9}body.admin-color-ectoplasm .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#c77430}body.admin-color-coffee .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#9fa47b}body.admin-color-blue .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#d9ab59}body.admin-color-light .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#c75726}.components-form-token-field__token.is-borderless .components-form-token-field__remove-token{background:transparent;color:#555d66;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:#d94f4f;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:#23282d}.components-form-token-field__token.is-disabled .components-form-token-field__remove-token{cursor:default}.components-form-token-field__remove-token.components-icon-button,.components-form-token-field__token-text{display:inline-block;line-height:24px;background:#e2e4e7;transition:all .2s cubic-bezier(.4,1,.4,1)}@media (prefers-reduced-motion:reduce){.components-form-token-field__remove-token.components-icon-button,.components-form-token-field__token-text{transition-duration:0s;animation-duration:1ms}}.components-form-token-field__token-text{border-radius:0 12px 12px 0;padding:0 8px 0 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.components-form-token-field__remove-token.components-icon-button{cursor:pointer;border-radius:12px 0 0 12px;padding:0 2px;color:#555d66;line-height:10px;overflow:initial}.components-form-token-field__remove-token.components-icon-button:hover{color:#32373c}.components-form-token-field__suggestions-list{flex:1 0 100%;min-width:100%;max-height:9em;overflow-y:scroll;transition:all .15s ease-in-out;list-style:none;border-top:1px solid #6c7781;margin:4px -4px -4px;padding-top:3px}@media (prefers-reduced-motion:reduce){.components-form-token-field__suggestions-list{transition-duration:0s}}.components-form-token-field__suggestion{color:#555d66;display:block;font-size:13px;padding:4px 8px;cursor:pointer}.components-form-token-field__suggestion.is-selected{background:#0071a1;color:#fff}.components-form-token-field__suggestion-match{text-decoration:underline}.components-guide .components-modal__header{background:none;border-bottom:none}.components-guide .components-modal__header .components-icon-button{align-self:flex-start;margin-top:24px;position:static}.components-guide__container{align-items:center;display:flex;flex-direction:column;margin-top:-56px;min-height:100%}.components-guide__footer{align-content:center;display:flex;height:30px;justify-content:center;margin:auto 0 24px;position:relative;width:100%}@media (min-width:600px){.components-guide__footer{margin:24px 0 0}}.components-guide__page-control{margin:0}.components-guide__page-control li{display:inline-block;margin:0 2px}.components-guide__page-control .components-icon-button{height:30px}@media (max-width:600px){.components-modal__frame.components-guide{bottom:15%;right:24px;left:24px;top:15%}}.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:0;padding:4px 2px}.components-button.components-guide__back-button.has-text svg,.components-button.components-guide__forward-button.has-text svg{margin:0}@media (min-width:600px){.components-button.components-guide__back-button,.components-button.components-guide__forward-button{font-size:13px}}.components-button.components-guide__back-button{right:0}@media (min-width:600px){.components-button.components-guide__back-button{padding:4px 2px 4px 8px}.components-button.components-guide__back-button.has-text svg{margin-left:4px}}.components-button.components-guide__forward-button{left:0}@media (min-width:600px){.components-button.components-guide__forward-button{padding:4px 8px 4px 2px}.components-button.components-guide__forward-button.has-text svg{margin-right:4px;order:1}}.components-button.components-guide__finish-button{display:none;left:0}@media (min-width:600px){.components-button.components-guide__finish-button{display:unset}}@media (min-width:600px){.components-button.components-guide__inline-finish-button{display:none}}.components-navigate-regions.is-focusing-regions [role=region]{position:relative}.components-navigate-regions.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 #33b3db}@supports (outline-offset:1px){.components-navigate-regions.is-focusing-regions [role=region]:focus:after{content:none}.components-navigate-regions.is-focusing-regions [role=region]:focus{outline-style:solid;outline-color:#33b3db;outline-width:4px;outline-offset:-4px}}.components-icon-button{display:flex;align-items:center;padding:8px;margin:0;border:none;background:none;color:#555d66;position:relative;overflow:hidden;border-radius:4px}.components-icon-button .dashicon{display:inline-block;flex:0 0 auto}.components-icon-button svg{fill:currentColor;outline:none}.components-icon-button.has-text svg{margin-left:4px}.components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff}.components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):active{outline:none;background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #ccd0d4,inset 0 0 0 2px #fff}.components-icon-button:disabled:focus,.components-icon-button[aria-disabled=true]:focus{box-shadow:none}.components-menu-group{width:100%;padding:7px 0}.components-menu-group__label{margin-bottom:8px;color:#6c7781;padding:0 7px}.components-menu-item__button,.components-menu-item__button.components-icon-button{width:100%;padding:8px 15px;text-align:right;color:#40464d;border:none;box-shadow:none}.components-menu-item__button.components-icon-button .components-menu-items__item-icon,.components-menu-item__button.components-icon-button .dashicon,.components-menu-item__button.components-icon-button>span>svg,.components-menu-item__button .components-menu-items__item-icon,.components-menu-item__button .dashicon,.components-menu-item__button>span>svg{margin-left:5px}.components-menu-item__button.components-icon-button .components-menu-items__item-icon,.components-menu-item__button .components-menu-items__item-icon{display:inline-block;flex:0 0 auto}.components-menu-item__button.components-icon-button:hover:not(:disabled):not([aria-disabled=true]),.components-menu-item__button:hover:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;background:#f3f4f5}.components-menu-item__button.components-icon-button:hover:not(:disabled):not([aria-disabled=true]) .components-menu-item__shortcut,.components-menu-item__button:hover:not(:disabled):not([aria-disabled=true]) .components-menu-item__shortcut{color:#40464d}.components-menu-item__button.components-icon-button:focus:not(:disabled):not([aria-disabled=true]),.components-menu-item__button:focus:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.components-menu-item__info-wrapper{display:flex;flex-direction:column}.components-menu-item__info{margin-top:4px;font-size:12px;color:#6c7781}.components-menu-item__shortcut{-ms-grid-row-align:center;align-self:center;color:#6c7781;margin-left:0;margin-right:auto;padding-right:8px;display:none}@media (min-width:480px){.components-menu-item__shortcut{display:inline}}.components-menu-items-choice,.components-menu-items-choice.components-icon-button{padding-right:2rem}.components-menu-items-choice.components-icon-button.has-icon,.components-menu-items-choice.has-icon{padding-right:.5rem}.components-menu-items-choice.components-icon-button .dashicon,.components-menu-items-choice .dashicon{margin-left:4px}.components-modal__screen-overlay{position:fixed;top:0;left:0;bottom:0;right:0;background-color:rgba(0,0,0,.7);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}}.components-modal__frame{position:absolute;top:0;left:0;bottom:0;right:0;box-sizing:border-box;margin:0;border:1px solid #e2e4e7;background:#fff;box-shadow:0 3px 30px rgba(25,30,35,.2);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:calc(100% - 112px);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}}@keyframes components-modal__appear-animation{0%{margin-top:32px}to{margin-top:0}}.components-modal__header{box-sizing:border-box;border-bottom:1px solid #e2e4e7;padding:0 24px;display:flex;flex-direction:row;justify-content:space-between;background:#fff;align-items:center;height:56px;position:-webkit-sticky;position:sticky;top:0;z-index:10;margin:0 -24px 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-icon-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 24px 24px}@supports (-ms-ime-align:auto){.components-modal__content{padding-top:56px}}.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:#e5f5fa;border-right:4px solid #00a0d2;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:#d94f4f;background-color:#f9e2e2}.components-notice__content{flex-grow:1;margin:4px 0 4px 25px}.components-notice__action.components-button,.components-notice__action.components-button.is-link{margin-right:4px}.components-notice__action.components-button.is-default{vertical-align:initial}.components-notice__dismiss{color:#6c7781;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-default):active,.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#191e23;background-color:transparent}.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-default):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:1.6}.components-notice-list .components-notice__action.components-button{margin-top:-2px;margin-bottom:-2px}.components-panel{background:#fff;border:1px solid #e2e4e7}.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 #e2e4e7;border-bottom:1px solid #e2e4e7}.components-panel__body h3{margin:0 0 .5em}.components-panel__body.is-opened{padding:16px}.components-panel__body>.components-icon-button{color:#191e23}.components-panel__header{display:flex;justify-content:space-between;align-items:center;padding:0 16px;height:50px;border-top:1px solid #e2e4e7;border-bottom:1px solid #e2e4e7}.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}}.components-panel__body.is-opened>.components-panel__body-title{margin:-16px -16px 5px}.components-panel__body>.components-panel__body-title:hover,.edit-post-last-revision__panel>.components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{background:#f3f4f5}.components-panel__body-toggle.components-button{position:relative;padding:15px;outline:none;width:100%;font-weight:600;text-align:right;color:#191e23;border:none;box-shadow:none;transition:background .1s ease-in-out}@media (prefers-reduced-motion:reduce){.components-panel__body-toggle.components-button{transition-duration:0s}}.components-panel__body-toggle.components-button:focus:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.components-panel__body-toggle.components-button .components-panel__arrow{position:absolute;left:10px;top:50%;transform:translateY(-50%);color:#191e23;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}}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:#555d66;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:20px}.components-panel__row select{min-width:0}.components-panel__row label{margin-left:10px;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{margin-bottom:28px;padding:1em;min-height:200px;width:100%;text-align:center;background:rgba(139,139,150,.1)}@supports ((position:-webkit-sticky) or (position:sticky)){.components-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center}}.is-dark-theme .components-placeholder{background:hsla(0,0%,100%,.15)}.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;align-items:center;justify-content:center;font-weight:600;margin-bottom:1em}.components-placeholder__label .block-editor-block-icon,.components-placeholder__label .dashicon{fill:currentColor;margin-left:1ch}.components-placeholder__fieldset,.components-placeholder__fieldset form{display:flex;flex-direction:row;justify-content:center;width:100%;max-width:400px;flex-wrap:wrap;z-index:1}.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{margin-top:0;margin-left:8px;flex:1 1 auto}.components-placeholder__instructions{margin-bottom:1em}.components-placeholder__preview img{margin:3%;width:50%}.components-placeholder__fieldset .components-button{margin-left:4px;margin-bottom:10px}.components-placeholder__fieldset .components-button:last-child{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-popover{position:fixed;z-index:1000000;left:50%;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 #e2e4e7}.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__content{box-shadow:0 3px 30px rgba(25,30,35,.1);border:1px solid #e2e4e7;background:#fff;height:100%}.components-popover .components-popover__content{position:absolute;height:auto;overflow-y:auto;min-width:260px}.components-popover.is-expanded .components-popover__content{position:static;height:calc(100% - 50px);overflow-y:visible;min-width:auto;border:none;border-top:1px solid #e2e4e7}.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:-24px}.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:-24px}.components-popover__content>div{height:100%}.components-popover__header{align-items:center;background:#fff;display:flex;height:50px;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-icon-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__option:not(:last-child){margin-bottom:4px}.components-radio-control__input[type=radio]{margin-top:0;margin-left:6px}.components-range-control .components-base-control__field{display:flex;justify-content:center;flex-wrap:wrap;align-items:center}.components-range-control .dashicon{flex-shrink:0;margin-left:10px}.components-range-control .components-base-control__label{width:100%}.components-range-control .components-range-control__slider{margin-right:0;flex:1}.components-range-control__reset{margin-right:8px}.components-range-control__slider{width:100%;margin-right:8px;padding:0;-webkit-appearance:none;background:transparent}.components-range-control__slider::-webkit-slider-thumb{-webkit-appearance:none;height:18px;width:18px;border-radius:50%;cursor:pointer;background:#555d66;border:4px solid transparent;background-clip:padding-box;box-sizing:border-box;margin-top:-7px}.components-range-control__slider::-moz-range-thumb{height:18px;width:18px;border-radius:50%;cursor:pointer;background:#555d66;border:4px solid transparent;background-clip:padding-box;box-sizing:border-box}.components-range-control__slider::-ms-thumb{height:18px;width:18px;border-radius:50%;cursor:pointer;background:#555d66;background-clip:padding-box;box-sizing:border-box;margin-top:0;height:14px;width:14px;border:2px solid transparent}.components-range-control__slider:focus{outline:none}.components-range-control__slider:focus::-webkit-slider-thumb{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;outline:2px solid transparent}.components-range-control__slider:focus::-moz-range-thumb{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;outline:2px solid transparent}.components-range-control__slider:focus::-ms-thumb{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;outline:2px solid transparent}.components-range-control__slider::-webkit-slider-runnable-track{height:3px;cursor:pointer;background:#e2e4e7;border-radius:1.5px;margin-top:-4px}.components-range-control__slider::-moz-range-track{height:3px;cursor:pointer;background:#e2e4e7;border-radius:1.5px}.components-range-control__slider::-ms-track{margin-top:-4px;background:transparent;border-color:transparent;color:transparent;height:3px;cursor:pointer;background:#e2e4e7;border-radius:1.5px}.components-range-control__number{display:inline-block;margin-right:8px;font-weight:500;width:54px}.components-resizable-box__handle{display:none;width:23px;height:23px}.components-resizable-box__container.has-show-handle .components-resizable-box__handle,.components-resizable-box__container.is-selected .components-resizable-box__handle{display:block}.components-resizable-box__handle:after{display:block;content:"";width:15px;height:15px;border:2px solid #fff;border-radius:50%;background:#0085ba;cursor:inherit;position:absolute;top:calc(50% - 8px);left:calc(50% - 8px)}body.admin-color-sunrise .components-resizable-box__handle:after{background:#d1864a}body.admin-color-ocean .components-resizable-box__handle:after{background:#a3b9a2}body.admin-color-midnight .components-resizable-box__handle:after{background:#e14d43}body.admin-color-ectoplasm .components-resizable-box__handle:after{background:#a7b656}body.admin-color-coffee .components-resizable-box__handle:after{background:#c2a68c}body.admin-color-blue .components-resizable-box__handle:after{background:#82b4cb}body.admin-color-light .components-resizable-box__handle:after{background:#0085ba}.components-resizable-box__side-handle:before{display:block;content:"";width:7px;height:7px;border:2px solid #fff;background:#0085ba;cursor:inherit;position:absolute;top:calc(50% - 4px);left:calc(50% - 4px);transition:transform .1s ease-in;opacity:0}body.admin-color-sunrise .components-resizable-box__side-handle:before{background:#d1864a}body.admin-color-ocean .components-resizable-box__side-handle:before{background:#a3b9a2}body.admin-color-midnight .components-resizable-box__side-handle:before{background:#e14d43}body.admin-color-ectoplasm .components-resizable-box__side-handle:before{background:#a7b656}body.admin-color-coffee .components-resizable-box__side-handle:before{background:#c2a68c}body.admin-color-blue .components-resizable-box__side-handle:before{background:#82b4cb}body.admin-color-light .components-resizable-box__side-handle:before{background:#0085ba}@media (prefers-reduced-motion:reduce){.components-resizable-box__side-handle:before{transition-duration:0s}}.is-dark-theme .components-resizable-box__handle:after,.is-dark-theme .components-resizable-box__side-handle:before{border-color:#d7dade}.components-resizable-box__side-handle{z-index:1}.components-resizable-box__corner-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}}.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}}@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%}.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:#32373c;border-radius:4px;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}@media (min-width:600px){.components-snackbar{width:-webkit-fit-content;width:fit-content}}.components-snackbar:hover{background-color:#191e23}.components-snackbar:focus{background-color:#191e23;box-shadow:0 0 0 1px #fff,0 0 0 3px #007cba}.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-default){text-decoration:underline;background-color:transparent}.components-snackbar__action.components-button:not(:disabled):not([aria-disabled=true]):not(.is-default):focus{color:#fff;box-shadow:none;outline:1px dotted #fff}.components-snackbar__action.components-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#33b3db}.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}.components-snackbar-list__notice-container{position:relative;padding-top:8px}.components-spinner{display:inline-block;background-color:#7e8993;width:18px;height:18px;opacity:.7;float:left;margin:5px 11px 0;border-radius:100%;position:relative}.components-spinner:before{content:"";position:absolute;background-color:#fff;top:3px;left:3px;width:4px;height:4px;border-radius:100%;transform-origin:6px 6px;animation:components-spinner__animation 1s linear infinite}@keyframes components-spinner__animation{0%{transform:rotate(0deg)}to{transform:rotate(-1turn)}}.components-text-control__input,.components-textarea-control__input{width:100%;padding:6px 8px}.components-tip{display:flex;color:#555d66}.components-tip svg{-ms-grid-row-align:center;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:16px}.components-toggle-control .components-base-control__field .components-toggle-control__label{display:block}.components-accessible-toolbar{display:inline-flex;flex-shrink:0}@supports ((position:-webkit-sticky) or (position:sticky)){.components-accessible-toolbar{display:flex}}.components-toolbar__control.components-button{width:36px;height:36px}.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:not(:disabled).is-active[data-subscript]:after{color:#fff}.components-toolbar__control.components-button.is-active{padding:3px;outline:none}.components-toolbar__control.components-button.is-active>svg{padding:5px;border-radius:4px;height:30px;width:30px;box-sizing:border-box;outline:none;color:#fff;box-shadow:none;background:#555d66}.components-toolbar-group{border:1px solid #e2e4e7;background-color:#fff;display:flex;flex-shrink:0;margin-left:-1px;line-height:0}.components-toolbar-group .components-toolbar-group{border-width:0;margin:0}.components-toolbar{margin:0;border:1px solid #e2e4e7;background-color:#fff;display:flex;flex-shrink:0}div.components-toolbar>div{display:block;margin:0}@supports ((position:-webkit-sticky) or (position:sticky)){div.components-toolbar>div{display:flex}}div.components-toolbar>div+div{margin-right:-3px}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:content-box;background-color:#e2e4e7;position:absolute;top:8px;right:-3px;width:1px;height:20px}.components-tooltip.components-popover{z-index:1000002}.components-tooltip.components-popover:before{border-color:transparent}.components-tooltip.components-popover[data-y-axis=top]:after{border-top-color:#191e23}.components-tooltip.components-popover[data-y-axis=bottom]:after{border-bottom-color:#191e23}.components-tooltip.components-popover .components-popover__content{min-width:0}.components-tooltip .components-popover__content{padding:4px 12px;background:#191e23;border-width:0;color:#fff;white-space:nowrap;text-align:center}.components-tooltip__shortcut{display:block;color:#7e8993}.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:#e2e4e7;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 +.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}}.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}}.components-animate__slide-in.is-from-left{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{min-width:200px}.components-autocomplete__popover .components-autocomplete__results{padding:3px;display:flex;flex-direction:column;align-items:stretch}.components-autocomplete__popover .components-autocomplete__results:empty{display:none}.components-autocomplete__result.components-button{margin-bottom:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;color:#555d66;display:flex;flex-direction:row;flex-grow:1;flex-shrink:0;align-items:center;padding:6px 8px;margin-right:-3px;margin-left:-3px;text-align:right}.components-autocomplete__result.components-button.is-selected{color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.components-autocomplete__result.components-button:hover{color:#191e23;border:none;box-shadow:none;background:#f3f4f5}.components-base-control{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.components-base-control .components-base-control__field{margin-bottom:8px}.components-panel__row .components-base-control .components-base-control__field{margin-bottom:inherit}.components-base-control .components-base-control__label{display:inline-block;margin-bottom:4px}.components-base-control .components-base-control__help{margin-top:-8px;font-style:italic}.components-base-control+.components-base-control{margin-bottom:16px}.components-button-group{display:inline-block}.components-button-group .components-button{border-radius:0;display:inline-flex}.components-button-group .components-button+.components-button{margin-right:-1px}.components-button-group .components-button:first-child{border-radius:0 3px 3px 0}.components-button-group .components-button:last-child{border-radius:3px 0 0 3px}.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:none}.components-button{display:inline-flex;text-decoration:none;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:0 8px;overflow:hidden;border-radius:3px;color:#555d66}@media (prefers-reduced-motion:reduce){.components-button{transition-duration:0s}}.components-button:not(:disabled):not([aria-disabled=true]):not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link):hover{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff}.components-button.is-secondary{white-space:nowrap;color:#0075af;border:1px solid #0075af;background:#f3f5f6}body.admin-color-sunrise .components-button.is-secondary{color:#c47e46;border-color:#c47e46}body.admin-color-ocean .components-button.is-secondary{color:#99ae98;border-color:#99ae98}body.admin-color-midnight .components-button.is-secondary{color:#d4483f;border-color:#d4483f}body.admin-color-ectoplasm .components-button.is-secondary{color:#9dab51;border-color:#9dab51}body.admin-color-coffee .components-button.is-secondary{color:#b69c84;border-color:#b69c84}body.admin-color-blue .components-button.is-secondary{color:#cca154;border-color:#cca154}body.admin-color-light .components-button.is-secondary{color:#007daf;border-color:#007daf}.components-button.is-secondary:not(:disabled):not([aria-disabled=true]):hover{background:#f1f1f1;border-color:#005d8c;color:#005d8c;text-decoration:none}body.admin-color-sunrise .components-button.is-secondary:not(:disabled):not([aria-disabled=true]):hover{border-color:#9d6538;color:#9d6538}body.admin-color-ocean .components-button.is-secondary:not(:disabled):not([aria-disabled=true]):hover{border-color:#7a8b7a;color:#7a8b7a}body.admin-color-midnight .components-button.is-secondary:not(:disabled):not([aria-disabled=true]):hover{border-color:#a93a32;color:#a93a32}body.admin-color-ectoplasm .components-button.is-secondary:not(:disabled):not([aria-disabled=true]):hover{border-color:#7d8941;color:#7d8941}body.admin-color-coffee .components-button.is-secondary:not(:disabled):not([aria-disabled=true]):hover{border-color:#927d69;color:#927d69}body.admin-color-blue .components-button.is-secondary:not(:disabled):not([aria-disabled=true]):hover{border-color:#a38043;color:#a38043}body.admin-color-light .components-button.is-secondary:not(:disabled):not([aria-disabled=true]):hover{border-color:#00648c;color:#00648c}.components-button.is-secondary:focus:enabled{background:#f3f5f6;color:#005d8c;border-color:#0076b1;box-shadow:0 0 0 1px #0076b1;text-decoration:none}body.admin-color-sunrise .components-button.is-secondary:focus:enabled{color:#9d6538;border-color:#c77f46;box-shadow:0 0 0 1px #c77f46}body.admin-color-ocean .components-button.is-secondary:focus:enabled{color:#7a8b7a;border-color:#9bb09a;box-shadow:0 0 0 1px #9bb09a}body.admin-color-midnight .components-button.is-secondary:focus:enabled{color:#a93a32;border-color:#d64940;box-shadow:0 0 0 1px #d64940}body.admin-color-ectoplasm .components-button.is-secondary:focus:enabled{color:#7d8941;border-color:#9fad52;box-shadow:0 0 0 1px #9fad52}body.admin-color-coffee .components-button.is-secondary:focus:enabled{color:#927d69;border-color:#b89e85;box-shadow:0 0 0 1px #b89e85}body.admin-color-blue .components-button.is-secondary:focus:enabled{color:#a38043;border-color:#cea255;box-shadow:0 0 0 1px #cea255}body.admin-color-light .components-button.is-secondary:focus:enabled{color:#00648c;border-color:#007eb1;box-shadow:0 0 0 1px #007eb1}.components-button.is-secondary:active:enabled{background:#f3f5f6;color:#0076b1;border-color:#7e8993;box-shadow:none}body.admin-color-sunrise .components-button.is-secondary:active:enabled{color:#c77f46}body.admin-color-ocean .components-button.is-secondary:active:enabled{color:#9bb09a}body.admin-color-midnight .components-button.is-secondary:active:enabled{color:#d64940}body.admin-color-ectoplasm .components-button.is-secondary:active:enabled{color:#9fad52}body.admin-color-coffee .components-button.is-secondary:active:enabled{color:#b89e85}body.admin-color-blue .components-button.is-secondary:active:enabled{color:#cea255}body.admin-color-light .components-button.is-secondary:active:enabled{color:#007eb1}.components-button.is-secondary:disabled,.components-button.is-secondary[aria-disabled=true]{color:#a0a5aa;border-color:#ddd;background:#f7f7f7;text-shadow:0 1px 0 #fff;transform:none;opacity:1}.components-button.is-primary{white-space:nowrap;background:#007cba;border:1px solid #007cba;color:#fff;text-decoration:none;text-shadow:none}body.admin-color-sunrise .components-button.is-primary{background:#d1864a;border-color:#d1864a}body.admin-color-ocean .components-button.is-primary{background:#a3b9a2;border-color:#a3b9a2}body.admin-color-midnight .components-button.is-primary{background:#e14d43;border-color:#e14d43}body.admin-color-ectoplasm .components-button.is-primary{background:#a7b656;border-color:#a7b656}body.admin-color-coffee .components-button.is-primary{background:#c2a68c;border-color:#c2a68c}body.admin-color-blue .components-button.is-primary{background:#d9ab59;border-color:#d9ab59}body.admin-color-light .components-button.is-primary{background:#0085ba;border-color:#0085ba}.components-button.is-primary:focus:enabled,.components-button.is-primary:not(:disabled):not([aria-disabled=true]):hover{background:#0070a7;border-color:#0070a7;color:#fff}body.admin-color-sunrise .components-button.is-primary:focus:enabled,body.admin-color-sunrise .components-button.is-primary:not(:disabled):not([aria-disabled=true]):hover{background:#bc7943;border-color:#bc7943}body.admin-color-ocean .components-button.is-primary:focus:enabled,body.admin-color-ocean .components-button.is-primary:not(:disabled):not([aria-disabled=true]):hover{background:#93a792;border-color:#93a792}body.admin-color-midnight .components-button.is-primary:focus:enabled,body.admin-color-midnight .components-button.is-primary:not(:disabled):not([aria-disabled=true]):hover{background:#cb453c;border-color:#cb453c}body.admin-color-ectoplasm .components-button.is-primary:focus:enabled,body.admin-color-ectoplasm .components-button.is-primary:not(:disabled):not([aria-disabled=true]):hover{background:#96a44d;border-color:#96a44d}body.admin-color-coffee .components-button.is-primary:focus:enabled,body.admin-color-coffee .components-button.is-primary:not(:disabled):not([aria-disabled=true]):hover{background:#af957e;border-color:#af957e}body.admin-color-blue .components-button.is-primary:focus:enabled,body.admin-color-blue .components-button.is-primary:not(:disabled):not([aria-disabled=true]):hover{background:#c39a50;border-color:#c39a50}body.admin-color-light .components-button.is-primary:focus:enabled,body.admin-color-light .components-button.is-primary:not(:disabled):not([aria-disabled=true]):hover{background:#0078a7;border-color:#0078a7}.components-button.is-primary:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #007cba}body.admin-color-sunrise .components-button.is-primary:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #d1864a}body.admin-color-ocean .components-button.is-primary:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #a3b9a2}body.admin-color-midnight .components-button.is-primary:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #e14d43}body.admin-color-ectoplasm .components-button.is-primary:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #a7b656}body.admin-color-coffee .components-button.is-primary:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #c2a68c}body.admin-color-blue .components-button.is-primary:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #d9ab59}body.admin-color-light .components-button.is-primary:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #0085ba}.components-button.is-primary:active:enabled{background:#006395;border-color:#006395;color:#fff}body.admin-color-sunrise .components-button.is-primary:active:enabled{background:#a76b3b;border-color:#a76b3b}body.admin-color-ocean .components-button.is-primary:active:enabled{background:#829482;border-color:#829482}body.admin-color-midnight .components-button.is-primary:active:enabled{background:#b43e36;border-color:#b43e36}body.admin-color-ectoplasm .components-button.is-primary:active:enabled{background:#869245;border-color:#869245}body.admin-color-coffee .components-button.is-primary:active:enabled{background:#9b8570;border-color:#9b8570}body.admin-color-blue .components-button.is-primary:active:enabled{background:#ae8947;border-color:#ae8947}body.admin-color-light .components-button.is-primary:active:enabled{background:#006a95;border-color:#006a95}.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:#66b0d6;background:#1989c1;border-color:#1989c1;opacity:1}body.admin-color-sunrise .components-button.is-primary:disabled,body.admin-color-sunrise .components-button.is-primary:disabled:active:enabled,body.admin-color-sunrise .components-button.is-primary[aria-disabled=true],body.admin-color-sunrise .components-button.is-primary[aria-disabled=true]:active:enabled,body.admin-color-sunrise .components-button.is-primary[aria-disabled=true]:enabled{color:#e3b692;background:#d6925c;border-color:#d6925c}body.admin-color-ocean .components-button.is-primary:disabled,body.admin-color-ocean .components-button.is-primary:disabled:active:enabled,body.admin-color-ocean .components-button.is-primary[aria-disabled=true],body.admin-color-ocean .components-button.is-primary[aria-disabled=true]:active:enabled,body.admin-color-ocean .components-button.is-primary[aria-disabled=true]:enabled{color:#c8d5c7;background:#acc0ab;border-color:#acc0ab}body.admin-color-midnight .components-button.is-primary:disabled,body.admin-color-midnight .components-button.is-primary:disabled:active:enabled,body.admin-color-midnight .components-button.is-primary[aria-disabled=true],body.admin-color-midnight .components-button.is-primary[aria-disabled=true]:active:enabled,body.admin-color-midnight .components-button.is-primary[aria-disabled=true]:enabled{color:#ed948e;background:#e45f56;border-color:#e45f56}body.admin-color-ectoplasm .components-button.is-primary:disabled,body.admin-color-ectoplasm .components-button.is-primary:disabled:active:enabled,body.admin-color-ectoplasm .components-button.is-primary[aria-disabled=true],body.admin-color-ectoplasm .components-button.is-primary[aria-disabled=true]:active:enabled,body.admin-color-ectoplasm .components-button.is-primary[aria-disabled=true]:enabled{color:#cad39a;background:#b0bd67;border-color:#b0bd67}body.admin-color-coffee .components-button.is-primary:disabled,body.admin-color-coffee .components-button.is-primary:disabled:active:enabled,body.admin-color-coffee .components-button.is-primary[aria-disabled=true],body.admin-color-coffee .components-button.is-primary[aria-disabled=true]:active:enabled,body.admin-color-coffee .components-button.is-primary[aria-disabled=true]:enabled{color:#dacaba;background:#c8af98;border-color:#c8af98}body.admin-color-blue .components-button.is-primary:disabled,body.admin-color-blue .components-button.is-primary:disabled:active:enabled,body.admin-color-blue .components-button.is-primary[aria-disabled=true],body.admin-color-blue .components-button.is-primary[aria-disabled=true]:active:enabled,body.admin-color-blue .components-button.is-primary[aria-disabled=true]:enabled{color:#e8cd9b;background:#ddb36a;border-color:#ddb36a}body.admin-color-light .components-button.is-primary:disabled,body.admin-color-light .components-button.is-primary:disabled:active:enabled,body.admin-color-light .components-button.is-primary[aria-disabled=true],body.admin-color-light .components-button.is-primary[aria-disabled=true]:active:enabled,body.admin-color-light .components-button.is-primary[aria-disabled=true]:enabled{color:#66b6d6;background:#1991c1;border-color:#1991c1}.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 #007cba}body.admin-color-sunrise .components-button.is-primary:disabled:active:enabled:focus:enabled,body.admin-color-sunrise .components-button.is-primary:disabled:focus:enabled,body.admin-color-sunrise .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,body.admin-color-sunrise .components-button.is-primary[aria-disabled=true]:enabled:focus:enabled,body.admin-color-sunrise .components-button.is-primary[aria-disabled=true]:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #d1864a}body.admin-color-ocean .components-button.is-primary:disabled:active:enabled:focus:enabled,body.admin-color-ocean .components-button.is-primary:disabled:focus:enabled,body.admin-color-ocean .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,body.admin-color-ocean .components-button.is-primary[aria-disabled=true]:enabled:focus:enabled,body.admin-color-ocean .components-button.is-primary[aria-disabled=true]:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #a3b9a2}body.admin-color-midnight .components-button.is-primary:disabled:active:enabled:focus:enabled,body.admin-color-midnight .components-button.is-primary:disabled:focus:enabled,body.admin-color-midnight .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,body.admin-color-midnight .components-button.is-primary[aria-disabled=true]:enabled:focus:enabled,body.admin-color-midnight .components-button.is-primary[aria-disabled=true]:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #e14d43}body.admin-color-ectoplasm .components-button.is-primary:disabled:active:enabled:focus:enabled,body.admin-color-ectoplasm .components-button.is-primary:disabled:focus:enabled,body.admin-color-ectoplasm .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,body.admin-color-ectoplasm .components-button.is-primary[aria-disabled=true]:enabled:focus:enabled,body.admin-color-ectoplasm .components-button.is-primary[aria-disabled=true]:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #a7b656}body.admin-color-coffee .components-button.is-primary:disabled:active:enabled:focus:enabled,body.admin-color-coffee .components-button.is-primary:disabled:focus:enabled,body.admin-color-coffee .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,body.admin-color-coffee .components-button.is-primary[aria-disabled=true]:enabled:focus:enabled,body.admin-color-coffee .components-button.is-primary[aria-disabled=true]:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #c2a68c}body.admin-color-blue .components-button.is-primary:disabled:active:enabled:focus:enabled,body.admin-color-blue .components-button.is-primary:disabled:focus:enabled,body.admin-color-blue .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,body.admin-color-blue .components-button.is-primary[aria-disabled=true]:enabled:focus:enabled,body.admin-color-blue .components-button.is-primary[aria-disabled=true]:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #d9ab59}body.admin-color-light .components-button.is-primary:disabled:active:enabled:focus:enabled,body.admin-color-light .components-button.is-primary:disabled:focus:enabled,body.admin-color-light .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,body.admin-color-light .components-button.is-primary[aria-disabled=true]:enabled:focus:enabled,body.admin-color-light .components-button.is-primary[aria-disabled=true]:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #0085ba}.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,#007cba 28%,#006395 0,#006395 72%,#007cba 0);border-color:#007cba}body.admin-color-sunrise .components-button.is-primary.is-busy,body.admin-color-sunrise .components-button.is-primary.is-busy:disabled,body.admin-color-sunrise .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(45deg,#d1864a 28%,#a76b3b 0,#a76b3b 72%,#d1864a 0);border-color:#d1864a}body.admin-color-ocean .components-button.is-primary.is-busy,body.admin-color-ocean .components-button.is-primary.is-busy:disabled,body.admin-color-ocean .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(45deg,#a3b9a2 28%,#829482 0,#829482 72%,#a3b9a2 0);border-color:#a3b9a2}body.admin-color-midnight .components-button.is-primary.is-busy,body.admin-color-midnight .components-button.is-primary.is-busy:disabled,body.admin-color-midnight .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(45deg,#e14d43 28%,#b43e36 0,#b43e36 72%,#e14d43 0);border-color:#e14d43}body.admin-color-ectoplasm .components-button.is-primary.is-busy,body.admin-color-ectoplasm .components-button.is-primary.is-busy:disabled,body.admin-color-ectoplasm .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(45deg,#a7b656 28%,#869245 0,#869245 72%,#a7b656 0);border-color:#a7b656}body.admin-color-coffee .components-button.is-primary.is-busy,body.admin-color-coffee .components-button.is-primary.is-busy:disabled,body.admin-color-coffee .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(45deg,#c2a68c 28%,#9b8570 0,#9b8570 72%,#c2a68c 0);border-color:#c2a68c}body.admin-color-blue .components-button.is-primary.is-busy,body.admin-color-blue .components-button.is-primary.is-busy:disabled,body.admin-color-blue .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(45deg,#d9ab59 28%,#ae8947 0,#ae8947 72%,#d9ab59 0);border-color:#d9ab59}body.admin-color-light .components-button.is-primary.is-busy,body.admin-color-light .components-button.is-primary.is-busy:disabled,body.admin-color-light .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(45deg,#0085ba 28%,#006a95 0,#006a95 72%,#0085ba 0);border-color:#0085ba}.components-button.is-link{margin:0;padding:0;box-shadow:none;border:0;border-radius:0;background:none;outline:none;text-align:right;color:#0073aa;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}}.components-button.is-link:active,.components-button.is-link:not(:disabled):not([aria-disabled=true]):hover{color:#00a0d2}.components-button.is-link:focus{color:#124964;box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.components-button.is-link.is-destructive{color:#d94f4f}.components-button:active{color:inherit}.components-button:disabled,.components-button[aria-disabled=true]{cursor:default;opacity:.3}.components-button:focus:not(:disabled){background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;outline:2px solid transparent}.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;background-size:100px 100%;background-image:repeating-linear-gradient(45deg,#e2e4e7,#fff 11px,#fff 0,#e2e4e7 20px);opacity:1}.components-button.is-small{height:24px;line-height:22px;padding:0 8px;font-size:11px}.components-button.is-tertiary{color:#007cba}body.admin-color-sunrise .components-button.is-tertiary{color:#837425}body.admin-color-ocean .components-button.is-tertiary{color:#5e7d5e}body.admin-color-midnight .components-button.is-tertiary{color:#497b8d}body.admin-color-ectoplasm .components-button.is-tertiary{color:#523f6d}body.admin-color-coffee .components-button.is-tertiary{color:#59524c}body.admin-color-blue .components-button.is-tertiary{color:#417e9b}body.admin-color-light .components-button.is-tertiary{color:#007cba}.components-button.is-tertiary .dashicon{display:inline-block;flex:0 0 auto}.components-button.is-tertiary svg{fill:currentColor;outline:none}.components-button.is-tertiary:active:focus:enabled{box-shadow:none}.components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):hover{color:#005d8c}body.admin-color-sunrise .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):hover{color:#62571c}body.admin-color-ocean .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):hover{color:#475e47}body.admin-color-midnight .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):hover{color:#375c6a}body.admin-color-ectoplasm .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):hover{color:#3e2f52}body.admin-color-coffee .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):hover{color:#433e39}body.admin-color-blue .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):hover{color:#315f74}body.admin-color-light .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):hover{color:#005d8c}.components-button.has-icon .dashicon{display:inline-block;flex:0 0 auto}.components-button.has-icon svg{fill:currentColor;outline:none}.components-button.has-icon.has-text svg{margin-left:8px}.components-button .screen-reader-text{height:auto}@keyframes components-button__busy-animation{0%{background-position:200px 0}}.components-checkbox-control__input[type=checkbox]{border:1px solid #b4b9be;background:#fff;color:#555;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:25px;height:25px;-webkit-appearance:none;box-shadow:inset 0 1px 2px rgba(0,0,0,.1);transition:border-color .05s ease-in-out}@media (min-width:600px){.components-checkbox-control__input[type=checkbox]{height:16px;width:16px}}.components-checkbox-control__input[type=checkbox]:focus{border-color:#5b9dd9;box-shadow:0 0 2px rgba(30,140,190,.8);outline:2px solid transparent}.components-checkbox-control__input[type=checkbox]:checked{background:#11a0d2;border-color:#11a0d2}.components-checkbox-control__input[type=checkbox]:checked::-ms-check{opacity:0}.components-checkbox-control__input[type=checkbox]:focus:checked{border:none}.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:25px;height:25px}@media (min-width:600px){.components-checkbox-control__input-container{width:16px;height:16px}}svg.dashicon.components-checkbox-control__checked{fill:#fff;cursor:pointer;position:absolute;right:-4px;top:-2px;width:31px;height:31px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}@media (min-width:600px){svg.dashicon.components-checkbox-control__checked{width:21px;height:21px;right:-3px}}.components-circular-option-picker{display:inline-block;margin-top:.6rem;width:100%}.components-circular-option-picker .components-circular-option-picker__custom-clear-wrapper{display:flex;justify-content:flex-end}.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}}.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}}.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}.components-circular-option-picker__option.is-pressed+.dashicons-saved{position:absolute;right:4px;top:4px;border-radius:50%;z-index:2;background:#fff;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 #606a73;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:transparent;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}.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%;overflow:hidden}.components-color-picker *{box-sizing:border-box}.components-color-picker .components-button{padding:6px}.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:hidden}.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-color-picker__saturation-pointer{width:8px;height:8px;box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px rgba(0,0,0,.3),0 0 1px 2px rgba(0,0,0,.4);border-radius:50%;background-color:transparent;transform:translate(4px,-4px)}.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}}.components-color-picker__saturation-pointer:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #00a0d2,0 0 5px 0 #00a0d2,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:#00a0d2;box-shadow:0 0 0 2px #00a0d2,0 0 3px 0 #00a0d2;outline:2px solid transparent;outline-offset:-2px}.components-color-picker__inputs-wrapper{margin:0 -4px;padding-top:16px;display:flex;align-items:flex-end}.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 8px}.components-color-picker__inputs-field{width:100%}.components-color-picker__inputs-fields{display:flex;direction:ltr;flex-grow:1}.components-color-picker__inputs-fields .components-base-control+.components-base-control{margin-bottom:0}.components-color-picker__inputs-fields .components-base-control__field{margin:0 4px}.components-custom-gradient-picker:not(.has-gradient){opacity:.4}.components-custom-gradient-picker{width:100%;height:24px;border-radius:24px;margin-bottom:8px;padding-right:3px;padding-left:21px}.components-custom-gradient-picker .components-custom-gradient-picker__markers-container{position:relative}.components-custom-gradient-picker .components-custom-gradient-picker__insert-point{border-radius:50%;background:#fff;padding:2px;width:24px;height:24px;position:relative}.components-custom-gradient-picker .components-custom-gradient-picker__control-point-button{border:2px solid #fff;border-radius:50%;height:18px;position:absolute;width:18px;top:3px}.components-custom-gradient-picker .components-custom-gradient-picker__control-point-button.is-active{background:#fafafa;color:#23282d;border-color:#999;box-shadow:inset 0 -1px 0 #999,0 0 0 1px #fff,0 0 0 3px #007cba}.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-select-control{color:#555d66;position:relative}.components-custom-select-control__label{display:block;margin-bottom:5px}.components-custom-select-control__button{border:1px solid #7e8993;border-radius:4px;color:#555d66;display:inline;min-height:30px;min-width:130px;position:relative;text-align:right}.components-custom-select-control__button:focus{border-color:#00a0d2}.components-custom-select-control__button-icon{height:100%;padding:0 4px;position:absolute;left:0;top:0}.components-custom-select-control__menu{background:#fff;min-width:100%;padding:0;position:absolute;z-index:1000000}.components-custom-select-control__item{align-items:center;display:flex;list-style-type:none;padding:10px 25px 10px 5px}.components-custom-select-control__item.is-highlighted{background:#e2e4e7}.components-custom-select-control__item-icon{margin-right:-20px;margin-left:0}svg.dashicon{fill:currentColor;outline:none}.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;-moz-user-select:none;-ms-user-select:none;user-select:none}.CalendarMonth_table{border-collapse:collapse;border-spacing:0}.CalendarMonth_verticalSpacing{border-collapse:separate}.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:9px}.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;-moz-user-select:none;-ms-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:9px}.DayPicker_weekHeader{color:#757575;position:absolute;top:62px;z-index:2;text-align:left}.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}.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;-moz-user-select:none;-ms-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,.components-datetime .components-datetime__calendar-help{padding:16px}.components-datetime .components-datetime__calendar-help h4{margin:0}.components-datetime .components-datetime__date-help-button{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:4px;border:1px solid #7e8993}@media (prefers-reduced-motion:reduce){.components-datetime input,.components-datetime select{transition-duration: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 #e2e4e7}.components-datetime__date .DayPickerNavigation_leftButton__horizontalDefault{right:0}.components-datetime__date .CalendarMonth_caption{font-size:13px}.components-datetime__date .CalendarDay{font-size:13px;border:1px solid transparent;border-radius:50%;text-align:center}.components-datetime__date .CalendarDay__selected{background:#0085ba}body.admin-color-sunrise .components-datetime__date .CalendarDay__selected{background:#d1864a}body.admin-color-ocean .components-datetime__date .CalendarDay__selected{background:#a3b9a2}body.admin-color-midnight .components-datetime__date .CalendarDay__selected{background:#e14d43}body.admin-color-ectoplasm .components-datetime__date .CalendarDay__selected{background:#a7b656}body.admin-color-coffee .components-datetime__date .CalendarDay__selected{background:#c2a68c}body.admin-color-blue .components-datetime__date .CalendarDay__selected{background:#82b4cb}body.admin-color-light .components-datetime__date .CalendarDay__selected{background:#0085ba}.components-datetime__date .CalendarDay__selected:hover{background:#00719e}body.admin-color-sunrise .components-datetime__date .CalendarDay__selected:hover{background:#b2723f}body.admin-color-ocean .components-datetime__date .CalendarDay__selected:hover{background:#8b9d8a}body.admin-color-midnight .components-datetime__date .CalendarDay__selected:hover{background:#bf4139}body.admin-color-ectoplasm .components-datetime__date .CalendarDay__selected:hover{background:#8e9b49}body.admin-color-coffee .components-datetime__date .CalendarDay__selected:hover{background:#a58d77}body.admin-color-blue .components-datetime__date .CalendarDay__selected:hover{background:#6f99ad}body.admin-color-light .components-datetime__date .CalendarDay__selected:hover{background:#00719e}.components-datetime__date .DayPickerNavigation_button__horizontalDefault{padding:2px 8px;top:20px}.components-datetime__date .DayPickerNavigation_button__horizontalDefault:focus{color:#191e23;border-color:#007cba;box-shadow:0 0 0 1px #007cba;outline:2px solid transparent}.components-datetime__date .DayPicker_weekHeader{top:50px}.components-datetime__date .DayPicker_weekHeader .DayPicker_weekHeader_ul{margin:1px 0;padding-right:0;padding-left:0}.components-datetime__date.is-description-visible .components-datetime__date-help-button,.components-datetime__date.is-description-visible .DayPicker{visibility:hidden}.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;color:#555d66}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-am-button{margin-right:8px;margin-left:-1px;border-radius:0 3px 3px 0}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-pm-button{margin-right:-1px;border-radius:3px 0 0 3px}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-am-button:focus,.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-pm-button:focus{position:relative;z-index:1}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-am-button.is-pressed,.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-pm-button.is-pressed{background:#edeff0;border-color:#8f98a1;box-shadow:inset 0 2px 5px -3px #555d66}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-am-button.is-pressed:focus,.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-pm-button.is-pressed:focus{box-shadow:inset 0 2px 5px -3px #555d66,0 0 0 1px #fff,0 0 0 3px #007cba}.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.am-pm button{font-size:11px;font-weight:600}.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:0 0 0 -4px!important;border-radius:0 4px 4px 0!important}.components-datetime__time.is-12-hour .components-datetime__time-field-year input{border-radius:4px 0 0 4px!important}.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}.components-disabled{position:relative;pointer-events:none}.components-disabled:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0}.components-disabled *{pointer-events:none}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:20px;background:transparent;pointer-events:none;z-index:1000000000;opacity:.8}.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 #0071a1;border-radius:2px}@media (prefers-reduced-motion:reduce){.components-drop-zone{transition-duration: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}}.components-drop-zone.is-dragging-over-element{background-color:rgba(0,113,161,.8)}.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}}.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}.components-drop-zone__content-text{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.components-drop-zone__provider{height:100%}.components-dropdown{display:inline-block}.components-dropdown-menu__indicator:after{content:"";pointer-events:none;display:block;width:0;height:0;border-right:3px solid transparent;border-left:3px solid transparent;border-top:5px solid;margin-right:4px;margin-left:2px}.components-dropdown-menu__popover .components-popover__content{width:200px}.components-dropdown-menu__menu{width:100%;padding:7px 0;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;margin-bottom:4px}.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:content-box;background-color:#e2e4e7;position:absolute;top:-3px;right:0;left:0;height:1px}.components-dropdown-menu__menu .components-dropdown-menu__menu-item:focus:not(:disabled):not([aria-disabled=true]):not(.is-secondary),.components-dropdown-menu__menu .components-menu-item:focus:not(:disabled):not([aria-disabled=true]):not(.is-secondary){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.components-dropdown-menu__menu .components-dropdown-menu__menu-item:hover,.components-dropdown-menu__menu .components-dropdown-menu__menu-item:not(:disabled):not([aria-disabled=true]):not(.is-secondary):not(.is-tertiary):not(.is-primary):hover,.components-dropdown-menu__menu .components-menu-item:hover,.components-dropdown-menu__menu .components-menu-item:not(:disabled):not([aria-disabled=true]):not(.is-secondary):not(.is-tertiary):not(.is-primary):hover{color:#191e23;border:none;background:#f3f4f5;box-shadow:none}.components-dropdown-menu__menu .components-dropdown-menu__menu-item>svg,.components-dropdown-menu__menu .components-menu-item>svg{border-radius:4px;padding:2px;width:24px;height:24px;margin:-1px 0 -1px 8px}.components-dropdown-menu__menu .components-dropdown-menu__menu-item:not(:disabled):not([aria-disabled=true]):not(.is-secondary).is-active>svg,.components-dropdown-menu__menu .components-menu-item:not(:disabled):not([aria-disabled=true]):not(.is-secondary).is-active>svg{outline:none;color:#fff;box-shadow:none;background:#555d66}.components-dropdown-menu__menu .components-menu-group:not(:last-child){border-bottom:1px solid #e2e4e7}.components-dropdown-menu__menu .components-menu-item__button,.components-dropdown-menu__menu .components-menu-item__button.components-button{height:auto;padding-right:2rem}.components-dropdown-menu__menu .components-menu-item__button.components-button.has-icon,.components-dropdown-menu__menu .components-menu-item__button.has-icon{padding-right:.5rem}.components-dropdown-menu__menu .components-menu-item__button.components-button .dashicon,.components-dropdown-menu__menu .components-menu-item__button .dashicon{margin-left:4px}.components-external-link__icon{width:1.4em;height:1.4em;margin:-.2em .1em 0;vertical-align:middle}.components-focal-point-picker-wrapper{background-color:transparent;border:1px solid #e2e4e7;height:200px;width:100%;padding:14px}.components-focal-point-picker{align-items:center;cursor:pointer;display:flex;height:100%;justify-content:center;position:relative;width:100%}.components-focal-point-picker img{height:auto;max-height:100%;max-width:100%;width:auto;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.components-focal-point-picker__icon_container{background-color:transparent;cursor:grab;height:30px;opacity:.8;position:absolute;will-change:transform;width:30px;z-index:10000}.components-focal-point-picker__icon_container.is-dragging{cursor:grabbing}.components-focal-point-picker__icon{display:block;height:100%;right:-15px;position:absolute;top:-15px;width:100%}.components-focal-point-picker__icon .components-focal-point-picker__icon-outline{fill:#fff}.components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#0085ba}body.admin-color-sunrise .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#d1864a}body.admin-color-ocean .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#a3b9a2}body.admin-color-midnight .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#e14d43}body.admin-color-ectoplasm .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#a7b656}body.admin-color-coffee .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#c2a68c}body.admin-color-blue .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#82b4cb}body.admin-color-light .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#0085ba}.components-focal-point-picker_position-display-container{margin:1em 0;display:flex}.components-focal-point-picker_position-display-container .components-base-control__field{margin:0 0 0 1em}.components-focal-point-picker_position-display-container input[type=number].components-text-control__input{max-width:4em;padding:6px 4px}.components-focal-point-picker_position-display-container span{margin:0 .2em 0 0}.components-font-size-picker__controls{max-width:248px;display:flex;align-items:center;margin-bottom:24px}.components-font-size-picker__controls .components-range-control__number{height:30px;margin:5px 0 0 8px}.components-font-size-picker__controls .components-range-control__number[value=""]+.components-button{cursor:default;opacity:.3;pointer-events:none}.components-font-size-picker__controls .components-range-control__number-container{display:flex;flex-direction:column}.components-font-size-picker__controls .components-font-size-picker__select{margin-left:8px;flex-grow:1}.components-font-size-picker__controls .components-color-palette__clear{height:30px;margin-top:23px}.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__off,.components-form-toggle .components-form-toggle__on{position:absolute;top:6px;box-sizing:border-box}.components-form-toggle .components-form-toggle__off{color:#6c7781;fill:currentColor;left:6px}.components-form-toggle .components-form-toggle__on{right:8px}.components-form-toggle .components-form-toggle__track{content:"";display:inline-block;box-sizing:border-box;vertical-align:top;background-color:#fff;border:2px solid #6c7781;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}}.components-form-toggle .components-form-toggle__thumb{display:block;position:absolute;box-sizing:border-box;top:4px;right:4px;width:10px;height:10px;border-radius:50%;transition:transform .1s ease;background-color:#6c7781;border:5px solid #6c7781}@media (prefers-reduced-motion:reduce){.components-form-toggle .components-form-toggle__thumb{transition-duration:0s}}.components-form-toggle:hover .components-form-toggle__track{border:2px solid #555d66}.components-form-toggle:hover .components-form-toggle__thumb{background-color:#555d66;border:5px solid #6c7781}.components-form-toggle:hover .components-form-toggle__off{color:#555d66}.components-form-toggle.is-checked .components-form-toggle__track{background-color:#11a0d2;border:9px solid transparent}body.admin-color-sunrise .components-form-toggle.is-checked .components-form-toggle__track{background-color:#c8b03c;border:2px solid #c8b03c}body.admin-color-ocean .components-form-toggle.is-checked .components-form-toggle__track{background-color:#a3b9a2;border:2px solid #a3b9a2}body.admin-color-midnight .components-form-toggle.is-checked .components-form-toggle__track{background-color:#77a6b9;border:2px solid #77a6b9}body.admin-color-ectoplasm .components-form-toggle.is-checked .components-form-toggle__track{background-color:#a7b656;border:2px solid #a7b656}body.admin-color-coffee .components-form-toggle.is-checked .components-form-toggle__track{background-color:#c2a68c;border:2px solid #c2a68c}body.admin-color-blue .components-form-toggle.is-checked .components-form-toggle__track{background-color:#82b4cb;border:2px solid #82b4cb}body.admin-color-light .components-form-toggle.is-checked .components-form-toggle__track{background-color:#11a0d2;border:2px solid #11a0d2}.components-form-toggle__input:focus+.components-form-toggle__track{box-shadow:0 0 0 2px #fff,0 0 0 3px #6c7781;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-form-toggle.is-checked:before{background-color:#11a0d2;border:2px solid #11a0d2}body.admin-color-sunrise .components-form-toggle.is-checked:before{background-color:#c8b03c;border:2px solid #c8b03c}body.admin-color-ocean .components-form-toggle.is-checked:before{background-color:#a3b9a2;border:2px solid #a3b9a2}body.admin-color-midnight .components-form-toggle.is-checked:before{background-color:#77a6b9;border:2px solid #77a6b9}body.admin-color-ectoplasm .components-form-toggle.is-checked:before{background-color:#a7b656;border:2px solid #a7b656}body.admin-color-coffee .components-form-toggle.is-checked:before{background-color:#c2a68c;border:2px solid #c2a68c}body.admin-color-blue .components-form-toggle.is-checked:before{background-color:#82b4cb;border:2px solid #82b4cb}body.admin-color-light .components-form-toggle.is-checked:before{background-color:#11a0d2;border:2px solid #11a0d2}.components-disabled .components-form-toggle{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-toggle .components-form-toggle__on{outline:1px solid transparent;outline-offset:-1px;border:1px solid #000;filter:invert(100%) contrast(500%)}@supports (-ms-high-contrast-adjust:auto){.components-form-toggle .components-form-toggle__on{filter:none;border:1px solid #fff}}.components-form-token-field__input-container{display:flex;flex-wrap:wrap;align-items:flex-start;width:100%;margin:0 0 8px;padding:4px;background-color:#fff;color:#32373c;cursor:text;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:4px;border:1px solid #7e8993}@media (prefers-reduced-motion:reduce){.components-form-token-field__input-container{transition-duration:0s}}.components-form-token-field__input-container.is-disabled{background:#e2e4e7;border-color:#ccd0d4}.components-form-token-field__input-container.is-active{color:#191e23;border-color:#007cba;box-shadow:0 0 0 1px #007cba;outline:2px solid transparent}.components-form-token-field__input-container input[type=text].components-form-token-field__input{display:inline-block;width:100%;max-width:100%;margin:2px 8px 2px 0;padding:0;min-height:24px;background:inherit;border:0;color:#23282d;box-shadow:none}.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-style:italic}.components-form-token-field__token{font-size:13px;display:flex;margin:2px 0 2px 4px;color:#32373c;overflow:hidden}.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:#d94f4f}.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:#555d66}.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:#11a0d2}body.admin-color-sunrise .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#c8b03c}body.admin-color-ocean .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#a89d8a}body.admin-color-midnight .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#77a6b9}body.admin-color-ectoplasm .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#c77430}body.admin-color-coffee .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#9fa47b}body.admin-color-blue .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#d9ab59}body.admin-color-light .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#c75726}.components-form-token-field__token.is-borderless .components-form-token-field__remove-token{background:transparent;color:#555d66;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:#d94f4f;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:#23282d}.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;background:#e2e4e7;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;animation-duration:1ms}}.components-form-token-field__token-text{border-radius:0 12px 12px 0;padding:0 8px 0 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.components-form-token-field__remove-token.components-button{cursor:pointer;border-radius:12px 0 0 12px;padding:0 2px;color:#555d66;line-height:10px;overflow:initial}.components-form-token-field__remove-token.components-button:hover{color:#32373c}.components-form-token-field__suggestions-list{flex:1 0 100%;min-width:100%;max-height:9em;overflow-y:scroll;transition:all .15s ease-in-out;list-style:none;border-top:1px solid #6c7781;margin:4px -4px -4px;padding-top:3px}@media (prefers-reduced-motion:reduce){.components-form-token-field__suggestions-list{transition-duration:0s}}.components-form-token-field__suggestion{color:#555d66;display:block;font-size:13px;padding:4px 8px;cursor:pointer}.components-form-token-field__suggestion.is-selected{background:#0071a1;color:#fff}.components-form-token-field__suggestion-match{text-decoration:underline}.components-guide .components-modal__header{background:none;border-bottom:none}.components-guide .components-modal__header .components-button{align-self:flex-start;margin-top:24px;position:static}.components-guide__container{display:flex;flex-direction:column;margin-top:-56px;min-height:100%}.components-guide__footer{align-content:center;display:flex;height:30px;justify-content:center;margin:auto 0 24px;position:relative;width:100%}@media (min-width:600px){.components-guide__footer{margin:24px 0 0}}.components-guide__page-control{margin:0}.components-guide__page-control li{display:inline-block;margin:0 2px}.components-guide__page-control .components-button{height:30px}@media (max-width:600px){.components-modal__frame.components-guide{bottom:15%;right:24px;left:24px;top:15%}}.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:0;padding:4px 2px}.components-button.components-guide__back-button.has-text svg,.components-button.components-guide__forward-button.has-text svg{margin:0}@media (min-width:600px){.components-button.components-guide__back-button,.components-button.components-guide__forward-button{font-size:13px}}.components-button.components-guide__back-button{right:0}@media (min-width:600px){.components-button.components-guide__back-button{padding:4px 2px 4px 8px}.components-button.components-guide__back-button.has-text svg{margin-left:4px}}.components-button.components-guide__forward-button{left:0}@media (min-width:600px){.components-button.components-guide__forward-button{padding:4px 8px 4px 2px}.components-button.components-guide__forward-button.has-text svg{margin-right:4px;order:1}}.components-button.components-guide__finish-button{display:none;left:0}@media (min-width:600px){.components-button.components-guide__finish-button{display:block}}@media (min-width:600px){.components-button.components-guide__inline-finish-button{display:none}}.components-navigate-regions.is-focusing-regions [role=region]{position:relative}.components-navigate-regions.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 #33b3db}@supports (outline-offset:1px){.components-navigate-regions.is-focusing-regions [role=region]:focus:after{content:none}.components-navigate-regions.is-focusing-regions [role=region]:focus{outline-style:solid;outline-color:#33b3db;outline-width:4px;outline-offset:-4px}}.components-menu-group{width:100%;padding:7px 0}.components-menu-group__label{margin-bottom:8px;color:#6c7781;padding:0 7px}.components-menu-item__button,.components-menu-item__button.components-button{width:100%;padding:8px 15px;text-align:right;color:#40464d;border:none;box-shadow:none}.components-menu-item__button.components-button .components-menu-items__item-icon,.components-menu-item__button.components-button .dashicon,.components-menu-item__button.components-button>span>svg,.components-menu-item__button .components-menu-items__item-icon,.components-menu-item__button .dashicon,.components-menu-item__button>span>svg{margin-left:5px}.components-menu-item__button.components-button .components-menu-items__item-icon,.components-menu-item__button .components-menu-items__item-icon{display:inline-block;flex:0 0 auto}.components-menu-item__button.components-button.components-button:not(:disabled):not([aria-disabled=true]):not(.is-secondary):not(.is-tertiary):not(.is-primary):hover,.components-menu-item__button.components-button:not(:disabled):not([aria-disabled=true]):not(.is-secondary):not(.is-tertiary):not(.is-primary):hover{color:#191e23;border:none;box-shadow:none;background:#f3f4f5}.components-menu-item__button.components-button.components-button:not(:disabled):not([aria-disabled=true]):not(.is-secondary):not(.is-tertiary):not(.is-primary):hover .components-menu-item__shortcut,.components-menu-item__button.components-button:not(:disabled):not([aria-disabled=true]):not(.is-secondary):not(.is-tertiary):not(.is-primary):hover .components-menu-item__shortcut{color:#40464d}.components-menu-item__button.components-button:focus:not(:disabled):not([aria-disabled=true]),.components-menu-item__button:focus:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.components-menu-item__info-wrapper{display:flex;flex-direction:column}.components-menu-item__info{margin-top:4px;font-size:12px;color:#6c7781}.components-menu-item__shortcut{-ms-grid-row-align:center;align-self:center;color:#6c7781;margin-left:0;margin-right:auto;padding-right:8px;display:none}@media (min-width:480px){.components-menu-item__shortcut{display:inline}}.components-menu-items-choice,.components-menu-items-choice.components-button{padding-right:2rem}.components-menu-items-choice.components-button.has-icon,.components-menu-items-choice.has-icon{padding-right:.5rem}.components-menu-items-choice.components-button .dashicon,.components-menu-items-choice .dashicon{margin-left:4px}.components-modal__screen-overlay{position:fixed;top:0;left:0;bottom:0;right:0;background-color:rgba(0,0,0,.7);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}}.components-modal__frame{position:absolute;top:0;left:0;bottom:0;right:0;box-sizing:border-box;margin:0;border:1px solid #e2e4e7;background:#fff;box-shadow:0 3px 30px rgba(25,30,35,.2);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:calc(100% - 112px);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}}@keyframes components-modal__appear-animation{0%{margin-top:32px}to{margin-top:0}}.components-modal__header{box-sizing:border-box;border-bottom:1px solid #e2e4e7;padding:0 24px;display:flex;flex-direction:row;justify-content:space-between;background:#fff;align-items:center;height:56px;z-index:10;position:relative;position:-webkit-sticky;position:sticky;top:0;margin:0 -24px 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 24px 24px}@supports (-ms-ime-align:auto){.components-modal__content{padding-top:56px}}.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:#e5f5fa;border-right:4px solid #00a0d2;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:#d94f4f;background-color:#f9e2e2}.components-notice__content{flex-grow:1;margin:4px 0 4px 25px}.components-notice__action.components-button,.components-notice__action.components-button.is-link{margin-right:4px}.components-notice__action.components-button.is-secondary{vertical-align:initial}.components-notice__dismiss{color:#6c7781;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:#191e23;background-color:transparent}.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:1.6}.components-notice-list .components-notice__action.components-button{margin-top:-2px;margin-bottom:-2px}.components-panel{background:#fff;border:1px solid #e2e4e7}.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 #e2e4e7;border-bottom:1px solid #e2e4e7}.components-panel__body h3{margin:0 0 .5em}.components-panel__body.is-opened{padding:16px}.components-panel__body>.components-button{color:#191e23}.components-panel__header{display:flex;justify-content:space-between;align-items:center;padding:0 16px;height:50px;border-top:1px solid #e2e4e7;border-bottom:1px solid #e2e4e7}.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}}.components-panel__body.is-opened>.components-panel__body-title{margin:-16px -16px 5px}.components-panel__body>.components-panel__body-title:hover{background:#f3f4f5!important;border:none!important}.components-panel__body-toggle.components-button{position:relative;padding:15px;outline:none;width:100%;font-weight:600;text-align:right;color:#191e23;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}}.components-panel__body-toggle.components-button:focus:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.components-panel__body-toggle.components-button:hover{background:transparent!important;border:none!important;box-shadow:none!important}.components-panel__body-toggle.components-button .components-panel__arrow{position:absolute;left:10px;top:50%;transform:translateY(-50%);color:#191e23;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}}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:#555d66;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:20px}.components-panel__row select{min-width:0}.components-panel__row label{margin-left:10px;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{position:relative;margin-bottom:28px;padding:1em;min-height:200px;width:100%;text-align:right;background:rgba(139,139,150,.1)}@supports ((position:-webkit-sticky) or (position:sticky)){.components-placeholder.components-placeholder{display:flex;flex-direction:column;justify-content:center;align-items:flex-start}}.is-dark-theme .components-placeholder.components-placeholder{background:hsla(0,0%,100%,.15)}.components-placeholder.components-placeholder .components-base-control__label{font-size:13px}.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:1em}.components-placeholder__label .block-editor-block-icon,.components-placeholder__label .dashicon,.components-placeholder__label>svg{fill:currentColor;margin-left:1ch}.components-placeholder__fieldset,.components-placeholder__fieldset form{display:flex;flex-direction:row;width:100%;flex-wrap:wrap;z-index:1}.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{margin-top:0;margin-left:8px;flex:1 1 auto}.components-placeholder__instructions{margin-bottom:1em}.components-placeholder__preview img{margin:3%;width:50%}.components-placeholder__fieldset .components-button{margin-left:8px;margin-bottom:8px}.components-placeholder__fieldset .components-button:last-child{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-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 .block-editor-block-icon{display:none}.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 #e2e4e7}.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__content{box-shadow:0 3px 30px rgba(25,30,35,.1);border:1px solid #e2e4e7;background:#fff;height:100%}.components-popover .components-popover__content{position:absolute;height:auto;overflow-y:auto;min-width:260px}.components-popover.is-expanded .components-popover__content{position:static;height:calc(100% - 50px);overflow-y:visible;min-width:auto;border:none;border-top:1px solid #e2e4e7}.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:-24px}.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:-24px}.components-popover__content>div{height:100%}.components-popover__header{align-items:center;background:#fff;display:flex;height:50px;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]{margin-top:0;margin-left:6px}.components-range-control .components-base-control__field{display:flex;justify-content:center;flex-wrap:wrap;align-items:center}.components-range-control .dashicon{flex-shrink:0;margin-left:10px}.components-range-control .components-base-control__label{width:100%}.components-range-control .components-range-control__slider{margin-right:0;flex:1}.components-range-control__reset{margin-right:8px}.components-range-control__slider{width:100%;margin-right:8px;padding:0;-webkit-appearance:none;background:transparent}.components-range-control__slider::-webkit-slider-thumb{-webkit-appearance:none;height:18px;width:18px;border-radius:50%;cursor:pointer;background:#555d66;border:4px solid transparent;background-clip:padding-box;box-sizing:border-box;margin-top:-7px}.components-range-control__slider::-moz-range-thumb{height:18px;width:18px;border-radius:50%;cursor:pointer;background:#555d66;border:4px solid transparent;background-clip:padding-box;box-sizing:border-box}.components-range-control__slider::-ms-thumb{height:18px;width:18px;border-radius:50%;cursor:pointer;background:#555d66;background-clip:padding-box;box-sizing:border-box;margin-top:0;height:14px;width:14px;border:2px solid transparent}.components-range-control__slider:focus{outline:none}.components-range-control__slider:focus::-webkit-slider-thumb{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;outline:2px solid transparent}.components-range-control__slider:focus::-moz-range-thumb{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;outline:2px solid transparent}.components-range-control__slider:focus::-ms-thumb{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;outline:2px solid transparent}.components-range-control__slider::-webkit-slider-runnable-track{height:3px;cursor:pointer;background:#e2e4e7;border-radius:1.5px;margin-top:-4px}.components-range-control__slider::-moz-range-track{height:3px;cursor:pointer;background:#e2e4e7;border-radius:1.5px}.components-range-control__slider::-ms-track{margin-top:-4px;background:transparent;border-color:transparent;color:transparent;height:3px;cursor:pointer;background:#e2e4e7;border-radius:1.5px}.components-range-control__number{display:inline-block;margin-right:8px;font-weight:500;width:54px}.components-resizable-box__handle{display:none;width:23px;height:23px}.components-resizable-box__container.has-show-handle .components-resizable-box__handle,.components-resizable-box__container.is-selected .components-resizable-box__handle{display:block}.components-resizable-box__handle:after{display:block;content:"";width:15px;height:15px;border:2px solid #fff;border-radius:50%;background:#0085ba;cursor:inherit;position:absolute;top:calc(50% - 8px);left:calc(50% - 8px)}body.admin-color-sunrise .components-resizable-box__handle:after{background:#d1864a}body.admin-color-ocean .components-resizable-box__handle:after{background:#a3b9a2}body.admin-color-midnight .components-resizable-box__handle:after{background:#e14d43}body.admin-color-ectoplasm .components-resizable-box__handle:after{background:#a7b656}body.admin-color-coffee .components-resizable-box__handle:after{background:#c2a68c}body.admin-color-blue .components-resizable-box__handle:after{background:#82b4cb}body.admin-color-light .components-resizable-box__handle:after{background:#0085ba}.components-resizable-box__side-handle:before{display:block;content:"";width:7px;height:7px;border:2px solid #fff;background:#0085ba;cursor:inherit;position:absolute;top:calc(50% - 4px);left:calc(50% - 4px);transition:transform .1s ease-in;opacity:0}body.admin-color-sunrise .components-resizable-box__side-handle:before{background:#d1864a}body.admin-color-ocean .components-resizable-box__side-handle:before{background:#a3b9a2}body.admin-color-midnight .components-resizable-box__side-handle:before{background:#e14d43}body.admin-color-ectoplasm .components-resizable-box__side-handle:before{background:#a7b656}body.admin-color-coffee .components-resizable-box__side-handle:before{background:#c2a68c}body.admin-color-blue .components-resizable-box__side-handle:before{background:#82b4cb}body.admin-color-light .components-resizable-box__side-handle:before{background:#0085ba}@media (prefers-reduced-motion:reduce){.components-resizable-box__side-handle:before{transition-duration:0s}}.is-dark-theme .components-resizable-box__handle:after,.is-dark-theme .components-resizable-box__side-handle:before{border-color:#d7dade}.components-resizable-box__side-handle{z-index:1}.components-resizable-box__corner-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}}.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}}@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%}.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:#32373c;border-radius:4px;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}@media (min-width:600px){.components-snackbar{width:-webkit-fit-content;width:fit-content}}.components-snackbar:hover{background-color:#191e23}.components-snackbar:focus{background-color:#191e23;box-shadow:0 0 0 1px #fff,0 0 0 3px #007cba}.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:transparent}.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:#33b3db}.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}.components-snackbar-list__notice-container{position:relative;padding-top:8px}.components-spinner{display:inline-block;background-color:#7e8993;width:18px;height:18px;opacity:.7;float:left;margin:5px 11px 0;border-radius:100%;position:relative}.components-spinner:before{content:"";position:absolute;background-color:#fff;top:3px;left:3px;width:4px;height:4px;border-radius:100%;transform-origin:6px 6px;animation:components-spinner__animation 1s linear infinite}@keyframes components-spinner__animation{0%{transform:rotate(0deg)}to{transform:rotate(-1turn)}}.components-text-control__input,.components-textarea-control__input{width:100%;padding:6px 8px}.components-tip{display:flex;color:#555d66}.components-tip svg{-ms-grid-row-align:center;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:16px}.components-toggle-control .components-base-control__field .components-toggle-control__label{display:block}.components-accessible-toolbar{display:inline-flex;flex-shrink:0}@supports ((position:-webkit-sticky) or (position:sticky)){.components-accessible-toolbar{display:flex}}.components-tab-button{padding:3px;color:#555d66;height:36px;font-weight:500}.components-tab-button.is-pressed,.components-tab-button.is-pressed:hover{color:#fff}.components-tab-button:disabled{cursor:default}.components-tab-button>span{border:1px solid transparent;padding:0 6px;box-sizing:content-box;height:28px;line-height:28px}.components-tab-button:focus>span,.components-tab-button:hover>span{color:#555d66}.components-tab-button:not(:disabled).is-pressed>span,.components-tab-button:not(:disabled):focus>span,.components-tab-button:not(:disabled):hover>span{border:1px solid #555d66}.components-tab-button.is-pressed:hover>span,.components-tab-button.is-pressed>span{background-color:#555d66;color:#fff}.components-toolbar__control.components-button{width:36px;height:36px}.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:not(:disabled).is-pressed[data-subscript]:after{color:#fff}.components-toolbar__control.components-button.is-pressed{padding:3px;outline:none}.components-toolbar__control.components-button.is-pressed>svg{padding:5px;border-radius:4px;height:30px;width:30px;box-sizing:border-box;outline:none;color:#fff;box-shadow:none;background:#555d66}.components-toolbar-group{border:1px solid #e2e4e7;background-color:#fff;display:flex;flex-shrink:0;margin-left:-1px;line-height:0}.components-toolbar-group .components-toolbar-group{border-width:0;margin:0}.components-toolbar{margin:0;border:1px solid #e2e4e7;background-color:#fff;display:flex;flex-shrink:0}div.components-toolbar>div{display:block;margin:0}@supports ((position:-webkit-sticky) or (position:sticky)){div.components-toolbar>div{display:flex}}div.components-toolbar>div+div{margin-right:-3px}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:content-box;background-color:#e2e4e7;position:absolute;top:8px;right:-3px;width:1px;height:20px}.components-tooltip.components-popover{z-index:1000002}.components-tooltip.components-popover:before{border-color:transparent}.components-tooltip.components-popover[data-y-axis=top]:after{border-top-color:#191e23}.components-tooltip.components-popover[data-y-axis=bottom]:after{border-bottom-color:#191e23}.components-tooltip.components-popover .components-popover__content{min-width:0}.components-tooltip .components-popover__content{padding:4px 12px;background:#191e23;border-width:0;color:#fff;white-space:nowrap;text-align:center}.components-tooltip__shortcut{display:block;color:#7e8993}.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:#e2e4e7;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 ff44781a62..e70f643a0c 100644 --- a/wp-includes/css/dist/components/style.css +++ b/wp-includes/css/dist/components/style.css @@ -4,6 +4,9 @@ /** * Breakpoints & Media Queries */ +/** + * Colors + */ /** * Often re-used variables */ @@ -136,19 +139,19 @@ .components-button-group { display: inline-block; } - .components-button-group .components-button.is-button { + .components-button-group .components-button { border-radius: 0; display: inline-flex; } - .components-button-group .components-button.is-button + .components-button.is-button { + .components-button-group .components-button + .components-button { margin-left: -1px; } - .components-button-group .components-button.is-button:first-child { + .components-button-group .components-button:first-child { border-radius: 3px 0 0 3px; } - .components-button-group .components-button.is-button:last-child { + .components-button-group .components-button:last-child { border-radius: 0 3px 3px 0; } - .components-button-group .components-button.is-button:focus, .components-button-group .components-button.is-button.is-primary { + .components-button-group .components-button:focus, .components-button-group .components-button.is-primary { position: relative; z-index: 1; } - .components-button-group .components-button.is-button.is-primary { + .components-button-group .components-button.is-primary { box-shadow: none; } .components-button { @@ -161,124 +164,130 @@ -webkit-appearance: none; background: none; transition: box-shadow 0.1s linear; + height: 36px; + align-items: center; + box-sizing: border-box; + padding: 0 8px; + overflow: hidden; + border-radius: 3px; + color: #555d66; /* Buttons that look like links, for a cross of good semantics with the visual */ /* Link buttons that are red to indicate destructive behavior. */ } @media (prefers-reduced-motion: reduce) { .components-button { transition-duration: 0s; } } - .components-button.is-button { - padding: 0 10px; - line-height: 2; - height: 28px; - border-radius: 3px; - white-space: nowrap; + .components-button:not(:disabled):not([aria-disabled="true"]):not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link):hover { + background-color: #fff; + color: #191e23; + box-shadow: inset 0 0 0 1px #555d66, inset 0 0 0 2px #fff; } + .components-button.is-secondary { border-width: 1px; - border-style: solid; } - .components-button.is-default { + border-style: solid; + white-space: nowrap; color: rgb(0, 117, 175); border-color: rgb(0, 117, 175); background: #f3f5f6; } - body.admin-color-sunrise .components-button.is-default { + body.admin-color-sunrise .components-button.is-secondary { color: rgb(196, 126, 70); border-color: rgb(196, 126, 70); } - body.admin-color-ocean .components-button.is-default { + body.admin-color-ocean .components-button.is-secondary { color: rgb(153, 174, 152); border-color: rgb(153, 174, 152); } - body.admin-color-midnight .components-button.is-default { + body.admin-color-midnight .components-button.is-secondary { color: rgb(212, 72, 63); border-color: rgb(212, 72, 63); } - body.admin-color-ectoplasm .components-button.is-default { + body.admin-color-ectoplasm .components-button.is-secondary { color: rgb(157, 171, 81); border-color: rgb(157, 171, 81); } - body.admin-color-coffee .components-button.is-default { + body.admin-color-coffee .components-button.is-secondary { color: rgb(182, 156, 132); border-color: rgb(182, 156, 132); } - body.admin-color-blue .components-button.is-default { + body.admin-color-blue .components-button.is-secondary { color: rgb(204, 161, 84); border-color: rgb(204, 161, 84); } - body.admin-color-light .components-button.is-default { + body.admin-color-light .components-button.is-secondary { color: rgb(0, 125, 175); border-color: rgb(0, 125, 175); } - .components-button.is-default:hover { + .components-button.is-secondary:not(:disabled):not([aria-disabled="true"]):hover { background: #f1f1f1; border-color: rgb(0, 93, 140); color: rgb(0, 93, 140); text-decoration: none; } - body.admin-color-sunrise .components-button.is-default:hover { + body.admin-color-sunrise .components-button.is-secondary:not(:disabled):not([aria-disabled="true"]):hover { border-color: rgb(157, 101, 56); color: rgb(157, 101, 56); } - body.admin-color-ocean .components-button.is-default:hover { + body.admin-color-ocean .components-button.is-secondary:not(:disabled):not([aria-disabled="true"]):hover { border-color: rgb(122, 139, 122); color: rgb(122, 139, 122); } - body.admin-color-midnight .components-button.is-default:hover { + body.admin-color-midnight .components-button.is-secondary:not(:disabled):not([aria-disabled="true"]):hover { border-color: rgb(169, 58, 50); color: rgb(169, 58, 50); } - body.admin-color-ectoplasm .components-button.is-default:hover { + body.admin-color-ectoplasm .components-button.is-secondary:not(:disabled):not([aria-disabled="true"]):hover { border-color: rgb(125, 137, 65); color: rgb(125, 137, 65); } - body.admin-color-coffee .components-button.is-default:hover { + body.admin-color-coffee .components-button.is-secondary:not(:disabled):not([aria-disabled="true"]):hover { border-color: rgb(146, 125, 105); color: rgb(146, 125, 105); } - body.admin-color-blue .components-button.is-default:hover { + body.admin-color-blue .components-button.is-secondary:not(:disabled):not([aria-disabled="true"]):hover { border-color: rgb(163, 128, 67); color: rgb(163, 128, 67); } - body.admin-color-light .components-button.is-default:hover { + body.admin-color-light .components-button.is-secondary:not(:disabled):not([aria-disabled="true"]):hover { border-color: rgb(0, 100, 140); color: rgb(0, 100, 140); } - .components-button.is-default:focus:enabled { + .components-button.is-secondary:focus:enabled { background: #f3f5f6; color: rgb(0, 93, 140); border-color: rgb(0, 118, 177); box-shadow: 0 0 0 1px rgb(0, 118, 177); text-decoration: none; } - body.admin-color-sunrise .components-button.is-default:focus:enabled { + body.admin-color-sunrise .components-button.is-secondary:focus:enabled { color: rgb(157, 101, 56); border-color: rgb(199, 127, 70); box-shadow: 0 0 0 1px rgb(199, 127, 70); } - body.admin-color-ocean .components-button.is-default:focus:enabled { + body.admin-color-ocean .components-button.is-secondary:focus:enabled { color: rgb(122, 139, 122); border-color: rgb(155, 176, 154); box-shadow: 0 0 0 1px rgb(155, 176, 154); } - body.admin-color-midnight .components-button.is-default:focus:enabled { + body.admin-color-midnight .components-button.is-secondary:focus:enabled { color: rgb(169, 58, 50); border-color: rgb(214, 73, 64); box-shadow: 0 0 0 1px rgb(214, 73, 64); } - body.admin-color-ectoplasm .components-button.is-default:focus:enabled { + body.admin-color-ectoplasm .components-button.is-secondary:focus:enabled { color: rgb(125, 137, 65); border-color: rgb(159, 173, 82); box-shadow: 0 0 0 1px rgb(159, 173, 82); } - body.admin-color-coffee .components-button.is-default:focus:enabled { + body.admin-color-coffee .components-button.is-secondary:focus:enabled { color: rgb(146, 125, 105); border-color: rgb(184, 158, 133); box-shadow: 0 0 0 1px rgb(184, 158, 133); } - body.admin-color-blue .components-button.is-default:focus:enabled { + body.admin-color-blue .components-button.is-secondary:focus:enabled { color: rgb(163, 128, 67); border-color: rgb(206, 162, 85); box-shadow: 0 0 0 1px rgb(206, 162, 85); } - body.admin-color-light .components-button.is-default:focus:enabled { + body.admin-color-light .components-button.is-secondary:focus:enabled { color: rgb(0, 100, 140); border-color: rgb(0, 126, 177); box-shadow: 0 0 0 1px rgb(0, 126, 177); } - .components-button.is-default:active:enabled { + .components-button.is-secondary:active:enabled { background: #f3f5f6; color: rgb(0, 118, 177); border-color: #7e8993; box-shadow: none; } - body.admin-color-sunrise .components-button.is-default:active:enabled { + body.admin-color-sunrise .components-button.is-secondary:active:enabled { color: rgb(199, 127, 70); } - body.admin-color-ocean .components-button.is-default:active:enabled { + body.admin-color-ocean .components-button.is-secondary:active:enabled { color: rgb(155, 176, 154); } - body.admin-color-midnight .components-button.is-default:active:enabled { + body.admin-color-midnight .components-button.is-secondary:active:enabled { color: rgb(214, 73, 64); } - body.admin-color-ectoplasm .components-button.is-default:active:enabled { + body.admin-color-ectoplasm .components-button.is-secondary:active:enabled { color: rgb(159, 173, 82); } - body.admin-color-coffee .components-button.is-default:active:enabled { + body.admin-color-coffee .components-button.is-secondary:active:enabled { color: rgb(184, 158, 133); } - body.admin-color-blue .components-button.is-default:active:enabled { + body.admin-color-blue .components-button.is-secondary:active:enabled { color: rgb(206, 162, 85); } - body.admin-color-light .components-button.is-default:active:enabled { + body.admin-color-light .components-button.is-secondary:active:enabled { color: rgb(0, 126, 177); } - .components-button.is-default:disabled, .components-button.is-default[aria-disabled="true"] { + .components-button.is-secondary:disabled, .components-button.is-secondary[aria-disabled="true"] { color: #a0a5aa; border-color: #ddd; background: #f7f7f7; @@ -286,6 +295,9 @@ transform: none; opacity: 1; } .components-button.is-primary { + border-width: 1px; + border-style: solid; + white-space: nowrap; background: rgb(0, 124, 186); border-color: rgb(0, 124, 186); color: #fff; @@ -312,29 +324,29 @@ body.admin-color-light .components-button.is-primary { background: rgb(0, 133, 186); border-color: rgb(0, 133, 186); } - .components-button.is-primary:hover, .components-button.is-primary:focus:enabled { + .components-button.is-primary:not(:disabled):not([aria-disabled="true"]):hover, .components-button.is-primary:focus:enabled { background: rgb(0, 112, 167); border-color: rgb(0, 112, 167); color: #fff; } - body.admin-color-sunrise .components-button.is-primary:hover, body.admin-color-sunrise .components-button.is-primary:focus:enabled { + body.admin-color-sunrise .components-button.is-primary:not(:disabled):not([aria-disabled="true"]):hover, body.admin-color-sunrise .components-button.is-primary:focus:enabled { background: rgb(188, 121, 67); border-color: rgb(188, 121, 67); } - body.admin-color-ocean .components-button.is-primary:hover, body.admin-color-ocean .components-button.is-primary:focus:enabled { + body.admin-color-ocean .components-button.is-primary:not(:disabled):not([aria-disabled="true"]):hover, body.admin-color-ocean .components-button.is-primary:focus:enabled { background: rgb(147, 167, 146); border-color: rgb(147, 167, 146); } - body.admin-color-midnight .components-button.is-primary:hover, body.admin-color-midnight .components-button.is-primary:focus:enabled { + body.admin-color-midnight .components-button.is-primary:not(:disabled):not([aria-disabled="true"]):hover, body.admin-color-midnight .components-button.is-primary:focus:enabled { background: rgb(203, 69, 60); border-color: rgb(203, 69, 60); } - body.admin-color-ectoplasm .components-button.is-primary:hover, body.admin-color-ectoplasm .components-button.is-primary:focus:enabled { + body.admin-color-ectoplasm .components-button.is-primary:not(:disabled):not([aria-disabled="true"]):hover, body.admin-color-ectoplasm .components-button.is-primary:focus:enabled { background: rgb(150, 164, 77); border-color: rgb(150, 164, 77); } - body.admin-color-coffee .components-button.is-primary:hover, body.admin-color-coffee .components-button.is-primary:focus:enabled { + body.admin-color-coffee .components-button.is-primary:not(:disabled):not([aria-disabled="true"]):hover, body.admin-color-coffee .components-button.is-primary:focus:enabled { background: rgb(175, 149, 126); border-color: rgb(175, 149, 126); } - body.admin-color-blue .components-button.is-primary:hover, body.admin-color-blue .components-button.is-primary:focus:enabled { + body.admin-color-blue .components-button.is-primary:not(:disabled):not([aria-disabled="true"]):hover, body.admin-color-blue .components-button.is-primary:focus:enabled { background: rgb(195, 154, 80); border-color: rgb(195, 154, 80); } - body.admin-color-light .components-button.is-primary:hover, body.admin-color-light .components-button.is-primary:focus:enabled { + body.admin-color-light .components-button.is-primary:not(:disabled):not([aria-disabled="true"]):hover, body.admin-color-light .components-button.is-primary:focus:enabled { background: rgb(0, 120, 167); border-color: rgb(0, 120, 167); } .components-button.is-primary:focus:enabled { @@ -411,9 +423,6 @@ color: rgb(102, 182, 214); background: rgb(25, 145, 193); border-color: rgb(25, 145, 193); } - .components-button.is-primary:disabled.is-button, .components-button.is-primary:disabled.is-button:hover, .components-button.is-primary:disabled:active:enabled, .components-button.is-primary:disabled:active:enabled.is-button, .components-button.is-primary:disabled:active:enabled.is-button:hover, .components-button.is-primary:disabled:active:enabled:active:enabled, .components-button.is-primary[aria-disabled="true"].is-button, .components-button.is-primary[aria-disabled="true"].is-button:hover, .components-button.is-primary[aria-disabled="true"]:active:enabled, .components-button.is-primary[aria-disabled="true"]:enabled.is-button, .components-button.is-primary[aria-disabled="true"]:enabled.is-button:hover, .components-button.is-primary[aria-disabled="true"]:enabled:active:enabled, .components-button.is-primary[aria-disabled="true"]:active:enabled.is-button, .components-button.is-primary[aria-disabled="true"]:active:enabled.is-button:hover, .components-button.is-primary[aria-disabled="true"]:active:enabled:active:enabled { - box-shadow: none; - text-shadow: none; } .components-button.is-primary:disabled:focus:enabled, .components-button.is-primary:disabled:active:enabled:focus:enabled, .components-button.is-primary[aria-disabled="true"]:focus:enabled, .components-button.is-primary[aria-disabled="true"]:enabled:focus:enabled, .components-button.is-primary[aria-disabled="true"]:active:enabled:focus:enabled { box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgb(0, 124, 186); } body.admin-color-sunrise .components-button.is-primary:disabled:focus:enabled, body.admin-color-sunrise .components-button.is-primary:disabled:active:enabled:focus:enabled, body.admin-color-sunrise .components-button.is-primary[aria-disabled="true"]:focus:enabled, body.admin-color-sunrise .components-button.is-primary[aria-disabled="true"]:enabled:focus:enabled, body.admin-color-sunrise .components-button.is-primary[aria-disabled="true"]:active:enabled:focus:enabled { @@ -472,11 +481,12 @@ text-decoration: underline; transition-property: border, background, color; transition-duration: 0.05s; - transition-timing-function: ease-in-out; } + transition-timing-function: ease-in-out; + height: auto; } @media (prefers-reduced-motion: reduce) { .components-button.is-link { transition-duration: 0s; } } - .components-button.is-link:hover, .components-button.is-link:active { + .components-button.is-link:not(:disabled):not([aria-disabled="true"]):hover, .components-button.is-link:active { color: #00a0d2; } .components-button.is-link:focus { color: #124964; @@ -493,25 +503,18 @@ color: #191e23; box-shadow: inset 0 0 0 1px #6c7781, inset 0 0 0 2px #fff; outline: 2px solid transparent; } - .components-button.is-busy, .components-button.is-default.is-busy, .components-button.is-default.is-busy:disabled, .components-button.is-default.is-busy[aria-disabled="true"] { + .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 2500ms infinite linear; background-size: 100px 100%; background-image: repeating-linear-gradient(-45deg, #e2e4e7, #fff 11px, #fff 10px, #e2e4e7 20px); opacity: 1; } - .components-button.is-large { - height: 30px; - line-height: 28px; - padding: 0 12px 2px; } .components-button.is-small { height: 24px; line-height: 22px; - padding: 0 8px 1px; + padding: 0 8px; font-size: 11px; } .components-button.is-tertiary { - color: #007cba; - padding: 0 10px; - line-height: 26px; - height: 28px; } + color: #007cba; } body.admin-color-sunrise .components-button.is-tertiary { color: #837425; } body.admin-color-ocean .components-button.is-tertiary { @@ -534,22 +537,30 @@ outline: none; } .components-button.is-tertiary:active:focus:enabled { box-shadow: none; } - .components-button.is-tertiary:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover { + .components-button.is-tertiary:not(:disabled):not([aria-disabled="true"]):hover { color: rgb(0, 93, 140); } - body.admin-color-sunrise .components-button.is-tertiary:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover { + body.admin-color-sunrise .components-button.is-tertiary:not(:disabled):not([aria-disabled="true"]):hover { color: rgb(98, 87, 28); } - body.admin-color-ocean .components-button.is-tertiary:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover { + body.admin-color-ocean .components-button.is-tertiary:not(:disabled):not([aria-disabled="true"]):hover { color: rgb(71, 94, 71); } - body.admin-color-midnight .components-button.is-tertiary:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover { + body.admin-color-midnight .components-button.is-tertiary:not(:disabled):not([aria-disabled="true"]):hover { color: rgb(55, 92, 106); } - body.admin-color-ectoplasm .components-button.is-tertiary:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover { + body.admin-color-ectoplasm .components-button.is-tertiary:not(:disabled):not([aria-disabled="true"]):hover { color: rgb(62, 47, 82); } - body.admin-color-coffee .components-button.is-tertiary:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover { + body.admin-color-coffee .components-button.is-tertiary:not(:disabled):not([aria-disabled="true"]):hover { color: rgb(67, 62, 57); } - body.admin-color-blue .components-button.is-tertiary:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover { + body.admin-color-blue .components-button.is-tertiary:not(:disabled):not([aria-disabled="true"]):hover { color: rgb(49, 95, 116); } - body.admin-color-light .components-button.is-tertiary:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover { + body.admin-color-light .components-button.is-tertiary:not(:disabled):not([aria-disabled="true"]):hover { color: rgb(0, 93, 140); } + .components-button.has-icon .dashicon { + display: inline-block; + flex: 0 0 auto; } + .components-button.has-icon svg { + fill: currentColor; + outline: none; } + .components-button.has-icon.has-text svg { + margin-right: 8px; } .components-button .screen-reader-text { height: auto; } @@ -649,8 +660,6 @@ svg.dashicon.components-checkbox-control__checked { .components-circular-option-picker__option-wrapper > div { height: 100%; width: 100%; } - .components-circular-option-picker__option-wrapper:nth-child(6n+6) { - margin-right: 0; } .components-circular-option-picker__option-wrapper::before { content: ""; @@ -678,11 +687,13 @@ svg.dashicon.components-checkbox-control__checked { @media (prefers-reduced-motion: reduce) { .components-circular-option-picker__option { transition-duration: 0s; } } - .components-circular-option-picker__option.is-active { + .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; } - .components-circular-option-picker__option.is-active + .dashicons-saved { + .components-circular-option-picker__option.is-pressed + .dashicons-saved { position: absolute; left: 4px; top: 4px; @@ -700,18 +711,20 @@ svg.dashicon.components-checkbox-control__checked { border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2); border: 1px solid transparent; } - .components-circular-option-picker__option:focus { + .components-circular-option-picker__option:focus::after { + content: ""; + border: 2px solid #606a73; + 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: transparent; + box-shadow: inset 0 0 0 14px; outline: none; } - .components-circular-option-picker__option:focus::after { - content: ""; - border: 2px solid #606a73; - 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__button-action .components-circular-option-picker__option { color: #fff; @@ -762,7 +775,7 @@ svg.dashicon.components-checkbox-control__checked { overflow: hidden; } .components-color-picker * { box-sizing: border-box; } - .components-color-picker .components-icon-button { + .components-color-picker .components-button { padding: 6px; } .components-color-picker__saturation { @@ -1000,9 +1013,9 @@ svg.dashicon.components-checkbox-control__checked { .components-custom-select-control__menu { background: #fff; + min-width: 100%; padding: 0; position: absolute; - width: 100%; z-index: 1000000; } .components-custom-select-control__item { @@ -1876,8 +1889,6 @@ svg.dashicon { .components-datetime__date { min-height: 236px; border-top: 1px solid #e2e4e7; } - .components-datetime__date .CalendarMonthGrid { - margin-left: -13px; } .components-datetime__date .DayPickerNavigation_leftButton__horizontalDefault { left: 0; } .components-datetime__date .CalendarMonth_caption { @@ -1963,13 +1974,13 @@ svg.dashicon { .components-datetime__time .components-datetime__time-wrapper .components-datetime__time-pm-button:focus { position: relative; z-index: 1; } - .components-datetime__time .components-datetime__time-wrapper .components-datetime__time-am-button.is-toggled, - .components-datetime__time .components-datetime__time-wrapper .components-datetime__time-pm-button.is-toggled { + .components-datetime__time .components-datetime__time-wrapper .components-datetime__time-am-button.is-pressed, + .components-datetime__time .components-datetime__time-wrapper .components-datetime__time-pm-button.is-pressed { background: #edeff0; border-color: #8f98a1; box-shadow: inset 0 2px 5px -3px #555d66; } - .components-datetime__time .components-datetime__time-wrapper .components-datetime__time-am-button.is-toggled:focus, - .components-datetime__time .components-datetime__time-wrapper .components-datetime__time-pm-button.is-toggled:focus { + .components-datetime__time .components-datetime__time-wrapper .components-datetime__time-am-button.is-pressed:focus, + .components-datetime__time .components-datetime__time-wrapper .components-datetime__time-pm-button.is-pressed:focus { box-shadow: inset 0 2px 5px -3px #555d66, 0 0 0 1px #fff, 0 0 0 3px #007cba; } .components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field-time { /*rtl:ignore*/ @@ -2172,20 +2183,21 @@ body.is-dragging-components-draggable { left: 0; right: 0; height: 1px; } - .components-dropdown-menu__menu .components-dropdown-menu__menu-item:focus:not(:disabled):not([aria-disabled="true"]):not(.is-default), - .components-dropdown-menu__menu .components-menu-item:focus:not(:disabled):not([aria-disabled="true"]):not(.is-default) { + .components-dropdown-menu__menu .components-dropdown-menu__menu-item:focus:not(:disabled):not([aria-disabled="true"]):not(.is-secondary), + .components-dropdown-menu__menu .components-menu-item:focus:not(:disabled):not([aria-disabled="true"]):not(.is-secondary) { color: #191e23; border: none; box-shadow: none; outline-offset: -2px; outline: 1px dotted #555d66; } - .components-dropdown-menu__menu .components-dropdown-menu__menu-item:hover, .components-dropdown-menu__menu .components-dropdown-menu__menu-item:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover, + .components-dropdown-menu__menu .components-dropdown-menu__menu-item:hover, .components-dropdown-menu__menu .components-dropdown-menu__menu-item:not(:disabled):not([aria-disabled="true"]):not(.is-secondary):not(.is-tertiary):not(.is-primary):hover, .components-dropdown-menu__menu .components-menu-item:hover, - .components-dropdown-menu__menu .components-menu-item:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover { + .components-dropdown-menu__menu .components-menu-item:not(:disabled):not([aria-disabled="true"]):not(.is-secondary):not(.is-tertiary):not(.is-primary):hover { color: #191e23; border: none; box-shadow: none; - background: #f3f4f5; } + background: #f3f4f5; + box-shadow: none; } .components-dropdown-menu__menu .components-dropdown-menu__menu-item > svg, .components-dropdown-menu__menu .components-menu-item > svg { border-radius: 4px; @@ -2193,8 +2205,8 @@ body.is-dragging-components-draggable { width: 24px; height: 24px; margin: -1px 8px -1px 0; } - .components-dropdown-menu__menu .components-dropdown-menu__menu-item:not(:disabled):not([aria-disabled="true"]):not(.is-default).is-active > svg, - .components-dropdown-menu__menu .components-menu-item:not(:disabled):not([aria-disabled="true"]):not(.is-default).is-active > svg { + .components-dropdown-menu__menu .components-dropdown-menu__menu-item:not(:disabled):not([aria-disabled="true"]):not(.is-secondary).is-active > svg, + .components-dropdown-menu__menu .components-menu-item:not(:disabled):not([aria-disabled="true"]):not(.is-secondary).is-active > svg { outline: none; color: #fff; box-shadow: none; @@ -2202,13 +2214,14 @@ body.is-dragging-components-draggable { .components-dropdown-menu__menu .components-menu-group:not(:last-child) { border-bottom: 1px solid #e2e4e7; } .components-dropdown-menu__menu .components-menu-item__button, - .components-dropdown-menu__menu .components-menu-item__button.components-icon-button { + .components-dropdown-menu__menu .components-menu-item__button.components-button { + height: auto; padding-left: 2rem; } .components-dropdown-menu__menu .components-menu-item__button.has-icon, - .components-dropdown-menu__menu .components-menu-item__button.components-icon-button.has-icon { + .components-dropdown-menu__menu .components-menu-item__button.components-button.has-icon { padding-left: 0.5rem; } .components-dropdown-menu__menu .components-menu-item__button .dashicon, - .components-dropdown-menu__menu .components-menu-item__button.components-icon-button .dashicon { + .components-dropdown-menu__menu .components-menu-item__button.components-button .dashicon { margin-right: 4px; } .components-external-link__icon { @@ -2325,9 +2338,6 @@ body.is-dragging-components-draggable { padding: 0; margin: 0; } -.components-form-file-upload .components-button.is-large { - padding-left: 6px; } - .components-form-toggle { position: relative; display: inline-block; } @@ -2569,14 +2579,14 @@ body.is-dragging-components-draggable { cursor: default; } .components-form-token-field__token-text, -.components-form-token-field__remove-token.components-icon-button { +.components-form-token-field__remove-token.components-button { display: inline-block; line-height: 24px; background: #e2e4e7; transition: all 0.2s cubic-bezier(0.4, 1, 0.4, 1); } @media (prefers-reduced-motion: reduce) { .components-form-token-field__token-text, - .components-form-token-field__remove-token.components-icon-button { + .components-form-token-field__remove-token.components-button { transition-duration: 0s; animation-duration: 1ms; } } @@ -2587,14 +2597,14 @@ body.is-dragging-components-draggable { overflow: hidden; text-overflow: ellipsis; } -.components-form-token-field__remove-token.components-icon-button { +.components-form-token-field__remove-token.components-button { cursor: pointer; border-radius: 0 12px 12px 0; padding: 0 2px; color: #555d66; line-height: 10px; overflow: initial; } - .components-form-token-field__remove-token.components-icon-button:hover { + .components-form-token-field__remove-token.components-button:hover { color: #32373c; } .components-form-token-field__suggestions-list { @@ -2627,13 +2637,12 @@ body.is-dragging-components-draggable { .components-guide .components-modal__header { background: none; border-bottom: none; } - .components-guide .components-modal__header .components-icon-button { + .components-guide .components-modal__header .components-button { align-self: flex-start; margin-top: 24px; position: static; } .components-guide__container { - align-items: center; display: flex; flex-direction: column; margin-top: -56px; @@ -2656,7 +2665,7 @@ body.is-dragging-components-draggable { .components-guide__page-control li { display: inline-block; margin: 0 2px; } - .components-guide__page-control .components-icon-button { + .components-guide__page-control .components-button { height: 30px; } @media (max-width: 600px) { @@ -2701,7 +2710,7 @@ body.is-dragging-components-draggable { right: 0; } @media (min-width: 600px) { .components-button.components-guide__finish-button { - display: unset; } } + display: block; } } @media (min-width: 600px) { .components-button.components-guide__inline-finish-button { @@ -2728,37 +2737,6 @@ body.is-dragging-components-draggable { outline-width: 4px; outline-offset: -4px; } } -.components-icon-button { - display: flex; - align-items: center; - padding: 8px; - margin: 0; - border: none; - background: none; - color: #555d66; - position: relative; - overflow: hidden; - border-radius: 4px; } - .components-icon-button .dashicon { - display: inline-block; - flex: 0 0 auto; } - .components-icon-button svg { - fill: currentColor; - outline: none; } - .components-icon-button.has-text svg { - margin-right: 4px; } - .components-icon-button:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover { - background-color: #fff; - color: #191e23; - box-shadow: inset 0 0 0 1px #555d66, inset 0 0 0 2px #fff; } - .components-icon-button:not(:disabled):not([aria-disabled="true"]):not(.is-default):active { - outline: none; - background-color: #fff; - color: #191e23; - box-shadow: inset 0 0 0 1px #ccd0d4, inset 0 0 0 2px #fff; } - .components-icon-button[aria-disabled="true"]:focus, .components-icon-button:disabled:focus { - box-shadow: none; } - .components-menu-group { width: 100%; padding: 7px 0; } @@ -2769,7 +2747,7 @@ body.is-dragging-components-draggable { padding: 0 7px; } .components-menu-item__button, -.components-menu-item__button.components-icon-button { +.components-menu-item__button.components-button { width: 100%; padding: 8px 15px; text-align: left; @@ -2779,25 +2757,25 @@ body.is-dragging-components-draggable { .components-menu-item__button .dashicon, .components-menu-item__button .components-menu-items__item-icon, .components-menu-item__button > span > svg, - .components-menu-item__button.components-icon-button .dashicon, - .components-menu-item__button.components-icon-button .components-menu-items__item-icon, - .components-menu-item__button.components-icon-button > span > svg { + .components-menu-item__button.components-button .dashicon, + .components-menu-item__button.components-button .components-menu-items__item-icon, + .components-menu-item__button.components-button > span > svg { margin-right: 5px; } .components-menu-item__button .components-menu-items__item-icon, - .components-menu-item__button.components-icon-button .components-menu-items__item-icon { + .components-menu-item__button.components-button .components-menu-items__item-icon { display: inline-block; flex: 0 0 auto; } - .components-menu-item__button:hover:not(:disabled):not([aria-disabled="true"]), - .components-menu-item__button.components-icon-button:hover:not(:disabled):not([aria-disabled="true"]) { + .components-menu-item__button.components-button:not(:disabled):not([aria-disabled="true"]):not(.is-secondary):not(.is-tertiary):not(.is-primary):hover, + .components-menu-item__button.components-button.components-button:not(:disabled):not([aria-disabled="true"]):not(.is-secondary):not(.is-tertiary):not(.is-primary):hover { color: #191e23; border: none; box-shadow: none; background: #f3f4f5; } - .components-menu-item__button:hover:not(:disabled):not([aria-disabled="true"]) .components-menu-item__shortcut, - .components-menu-item__button.components-icon-button:hover:not(:disabled):not([aria-disabled="true"]) .components-menu-item__shortcut { + .components-menu-item__button.components-button:not(:disabled):not([aria-disabled="true"]):not(.is-secondary):not(.is-tertiary):not(.is-primary):hover .components-menu-item__shortcut, + .components-menu-item__button.components-button.components-button:not(:disabled):not([aria-disabled="true"]):not(.is-secondary):not(.is-tertiary):not(.is-primary):hover .components-menu-item__shortcut { color: #40464d; } .components-menu-item__button:focus:not(:disabled):not([aria-disabled="true"]), - .components-menu-item__button.components-icon-button:focus:not(:disabled):not([aria-disabled="true"]) { + .components-menu-item__button.components-button:focus:not(:disabled):not([aria-disabled="true"]) { color: #191e23; border: none; box-shadow: none; @@ -2826,13 +2804,13 @@ body.is-dragging-components-draggable { display: inline; } } .components-menu-items-choice, -.components-menu-items-choice.components-icon-button { +.components-menu-items-choice.components-button { padding-left: 2rem; } .components-menu-items-choice.has-icon, - .components-menu-items-choice.components-icon-button.has-icon { + .components-menu-items-choice.components-button.has-icon { padding-left: 0.5rem; } .components-menu-items-choice .dashicon, - .components-menu-items-choice.components-icon-button .dashicon { + .components-menu-items-choice.components-button .dashicon { margin-right: 4px; } .components-modal__screen-overlay { @@ -2893,10 +2871,11 @@ body.is-dragging-components-draggable { background: #fff; align-items: center; height: 56px; + z-index: 10; + position: relative; position: -webkit-sticky; position: sticky; top: 0; - z-index: 10; margin: 0 -24px 24px; } @supports (-ms-ime-align: auto) { .components-modal__header { @@ -2908,7 +2887,7 @@ body.is-dragging-components-draggable { .components-modal__header h1 { line-height: 1; margin: 0; } - .components-modal__header .components-icon-button { + .components-modal__header .components-button { position: relative; left: 8px; } @@ -2963,17 +2942,17 @@ body.is-dragging-components-draggable { .components-notice__action.components-button, .components-notice__action.components-button.is-link { margin-left: 4px; } -.components-notice__action.components-button.is-default { +.components-notice__action.components-button.is-secondary { vertical-align: initial; } .components-notice__dismiss { color: #6c7781; align-self: flex-start; flex-shrink: 0; } - .components-notice__dismiss:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover, .components-notice__dismiss:not(:disabled):not([aria-disabled="true"]):not(.is-default):active, .components-notice__dismiss:not(:disabled):not([aria-disabled="true"]):focus { + .components-notice__dismiss:not(:disabled):not([aria-disabled="true"]):not(.is-secondary):hover, .components-notice__dismiss:not(:disabled):not([aria-disabled="true"]):not(.is-secondary):active, .components-notice__dismiss:not(:disabled):not([aria-disabled="true"]):focus { color: #191e23; background-color: transparent; } - .components-notice__dismiss:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover { + .components-notice__dismiss:not(:disabled):not([aria-disabled="true"]):not(.is-secondary):hover { box-shadow: none; } .components-notice-list { @@ -3008,7 +2987,7 @@ body.is-dragging-components-draggable { margin: 0 0 0.5em; } .components-panel__body.is-opened { padding: 16px; } - .components-panel__body > .components-icon-button { + .components-panel__body > .components-button { color: #191e23; } .components-panel__header { @@ -3045,9 +3024,9 @@ body.is-dragging-components-draggable { margin: -16px; margin-bottom: 5px; } -.components-panel__body > .components-panel__body-title:hover, -.edit-post-last-revision__panel > .components-icon-button:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover { - background: #f3f4f5; } +.components-panel__body > .components-panel__body-title:hover { + background: #f3f4f5 !important; + border: none !important; } .components-panel__body-toggle.components-button { position: relative; @@ -3060,6 +3039,7 @@ body.is-dragging-components-draggable { border: none; box-shadow: none; transition: 0.1s background ease-in-out; + height: auto; /* rtl:begin:ignore */ /* rtl:end:ignore */ } @media (prefers-reduced-motion: reduce) { @@ -3071,6 +3051,10 @@ body.is-dragging-components-draggable { box-shadow: none; outline-offset: -2px; outline: 1px dotted #555d66; } + .components-panel__body-toggle.components-button:hover { + background: transparent !important; + border: none !important; + box-shadow: none !important; } .components-panel__body-toggle.components-button .components-panel__arrow { position: absolute; right: 10px; @@ -3116,21 +3100,24 @@ body.is-dragging-components-draggable { .components-panel .circle-picker { padding-bottom: 20px; } -.components-placeholder { +.components-placeholder.components-placeholder { + position: relative; margin-bottom: 28px; padding: 1em; min-height: 200px; width: 100%; - text-align: center; + text-align: left; background: rgba(139, 139, 150, 0.1); } @supports ((position: -webkit-sticky) or (position: sticky)) { - .components-placeholder { + .components-placeholder.components-placeholder { display: flex; flex-direction: column; - align-items: center; - justify-content: center; } } - .is-dark-theme .components-placeholder { + justify-content: center; + align-items: flex-start; } } + .is-dark-theme .components-placeholder.components-placeholder { background: rgba(255, 255, 255, 0.15); } + .components-placeholder.components-placeholder .components-base-control__label { + font-size: 13px; } .components-placeholder__instructions, .components-placeholder__label, @@ -3140,10 +3127,9 @@ body.is-dragging-components-draggable { .components-placeholder__label { display: flex; - align-items: center; - justify-content: center; font-weight: 600; margin-bottom: 1em; } + .components-placeholder__label > svg, .components-placeholder__label .dashicon, .components-placeholder__label .block-editor-block-icon { fill: currentColor; @@ -3153,9 +3139,7 @@ body.is-dragging-components-draggable { .components-placeholder__fieldset form { display: flex; flex-direction: row; - justify-content: center; width: 100%; - max-width: 400px; flex-wrap: wrap; z-index: 1; } .components-placeholder__fieldset p, @@ -3180,8 +3164,8 @@ body.is-dragging-components-draggable { width: 50%; } .components-placeholder__fieldset .components-button { - margin-right: 4px; - margin-bottom: 10px; } + margin-right: 8px; + margin-bottom: 8px; } .components-placeholder__fieldset .components-button:last-child { margin-right: 0; } @@ -3191,11 +3175,29 @@ body.is-dragging-components-draggable { .components-placeholder__fieldset .components-button:not(.is-link) ~ .components-button.is-link:last-child { margin-right: 0; } +.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 .block-editor-block-icon { + display: none; } + +.components-placeholder.is-small .components-button { + padding: 0 8px 2px; } + /*!rtl:begin:ignore*/ .components-popover { position: fixed; z-index: 1000000; - left: 50%; + top: 0; + left: 0; opacity: 0; } .components-popover.is-expanded, .components-popover[data-x-axis][data-y-axis] { opacity: 1; } @@ -3321,7 +3323,7 @@ body.is-dragging-components-draggable { white-space: nowrap; width: 100%; } -.components-popover__close.components-icon-button { +.components-popover__close.components-button { z-index: 5; } /*!rtl:end:ignore*/ @@ -3330,6 +3332,8 @@ body.is-dragging-components-draggable { 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; } @@ -3683,14 +3687,14 @@ body.lockscroll { flex-shrink: 0; line-height: 1.4; padding: 0; } - .components-snackbar__action.components-button:not(:disabled):not([aria-disabled="true"]):not(.is-default) { + .components-snackbar__action.components-button:not(:disabled):not([aria-disabled="true"]):not(.is-secondary) { text-decoration: underline; background-color: transparent; } - .components-snackbar__action.components-button:not(:disabled):not([aria-disabled="true"]):not(.is-default):focus { + .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-default):hover { + .components-snackbar__action.components-button:not(:disabled):not([aria-disabled="true"]):not(.is-secondary):hover { color: #33b3db; } .components-snackbar__content { @@ -3776,6 +3780,33 @@ body.lockscroll { .components-accessible-toolbar { display: flex; } } +.components-tab-button { + padding: 3px; + color: #555d66; + height: 36px; + font-weight: 500; } + .components-tab-button.is-pressed, .components-tab-button.is-pressed:hover { + color: #fff; } + .components-tab-button:disabled { + cursor: default; } + .components-tab-button > span { + border: 1px solid transparent; + padding: 0 6px; + box-sizing: content-box; + height: 28px; + line-height: 28px; } + .components-tab-button:hover > span, + .components-tab-button:focus > span { + color: #555d66; } + .components-tab-button:not(:disabled).is-pressed > span, + .components-tab-button:not(:disabled):hover > span, + .components-tab-button:not(:disabled):focus > span { + border: 1px solid #555d66; } + .components-tab-button.is-pressed > span, + .components-tab-button.is-pressed:hover > span { + background-color: #555d66; + color: #fff; } + .components-toolbar__control.components-button { width: 36px; height: 36px; } @@ -3790,12 +3821,12 @@ body.lockscroll { position: absolute; right: 8px; bottom: 10px; } - .components-toolbar__control.components-button:not(:disabled).is-active[data-subscript]::after { + .components-toolbar__control.components-button:not(:disabled).is-pressed[data-subscript]::after { color: #fff; } - .components-toolbar__control.components-button.is-active { + .components-toolbar__control.components-button.is-pressed { padding: 3px; outline: none; } - .components-toolbar__control.components-button.is-active > svg { + .components-toolbar__control.components-button.is-pressed > svg { padding: 5px; border-radius: 4px; height: 30px; diff --git a/wp-includes/css/dist/components/style.min.css b/wp-includes/css/dist/components/style.min.css index 6fb0e0817f..8aefaef836 100644 --- a/wp-includes/css/dist/components/style.min.css +++ b/wp-includes/css/dist/components/style.min.css @@ -1,9 +1,9 @@ -.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}}.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}}.components-animate__slide-in.is-from-left{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{min-width:200px}.components-autocomplete__popover .components-autocomplete__results{padding:3px;display:flex;flex-direction:column;align-items:stretch}.components-autocomplete__popover .components-autocomplete__results:empty{display:none}.components-autocomplete__result.components-button{margin-bottom:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;color:#555d66;display:flex;flex-direction:row;flex-grow:1;flex-shrink:0;align-items:center;padding:6px 8px;margin-left:-3px;margin-right:-3px;text-align:left}.components-autocomplete__result.components-button.is-selected{color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.components-autocomplete__result.components-button:hover{color:#191e23;border:none;box-shadow:none;background:#f3f4f5}.components-base-control{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.components-base-control .components-base-control__field{margin-bottom:8px}.components-panel__row .components-base-control .components-base-control__field{margin-bottom:inherit}.components-base-control .components-base-control__label{display:inline-block;margin-bottom:4px}.components-base-control .components-base-control__help{margin-top:-8px;font-style:italic}.components-base-control+.components-base-control{margin-bottom:16px}.components-button-group{display:inline-block}.components-button-group .components-button.is-button{border-radius:0;display:inline-flex}.components-button-group .components-button.is-button+.components-button.is-button{margin-left:-1px}.components-button-group .components-button.is-button:first-child{border-radius:3px 0 0 3px}.components-button-group .components-button.is-button:last-child{border-radius:0 3px 3px 0}.components-button-group .components-button.is-button.is-primary,.components-button-group .components-button.is-button:focus{position:relative;z-index:1}.components-button-group .components-button.is-button.is-primary{box-shadow:none}.components-button{display:inline-flex;text-decoration:none;font-size:13px;margin:0;border:0;cursor:pointer;-webkit-appearance:none;background:none;transition:box-shadow .1s linear}@media (prefers-reduced-motion:reduce){.components-button{transition-duration:0s}}.components-button.is-button{padding:0 10px;line-height:2;height:28px;border-radius:3px;white-space:nowrap;border-width:1px;border-style:solid}.components-button.is-default{color:#0075af;border-color:#0075af;background:#f3f5f6}body.admin-color-sunrise .components-button.is-default{color:#c47e46;border-color:#c47e46}body.admin-color-ocean .components-button.is-default{color:#99ae98;border-color:#99ae98}body.admin-color-midnight .components-button.is-default{color:#d4483f;border-color:#d4483f}body.admin-color-ectoplasm .components-button.is-default{color:#9dab51;border-color:#9dab51}body.admin-color-coffee .components-button.is-default{color:#b69c84;border-color:#b69c84}body.admin-color-blue .components-button.is-default{color:#cca154;border-color:#cca154}body.admin-color-light .components-button.is-default{color:#007daf;border-color:#007daf}.components-button.is-default:hover{background:#f1f1f1;border-color:#005d8c;color:#005d8c;text-decoration:none}body.admin-color-sunrise .components-button.is-default:hover{border-color:#9d6538;color:#9d6538}body.admin-color-ocean .components-button.is-default:hover{border-color:#7a8b7a;color:#7a8b7a}body.admin-color-midnight .components-button.is-default:hover{border-color:#a93a32;color:#a93a32}body.admin-color-ectoplasm .components-button.is-default:hover{border-color:#7d8941;color:#7d8941}body.admin-color-coffee .components-button.is-default:hover{border-color:#927d69;color:#927d69}body.admin-color-blue .components-button.is-default:hover{border-color:#a38043;color:#a38043}body.admin-color-light .components-button.is-default:hover{border-color:#00648c;color:#00648c}.components-button.is-default:focus:enabled{background:#f3f5f6;color:#005d8c;border-color:#0076b1;box-shadow:0 0 0 1px #0076b1;text-decoration:none}body.admin-color-sunrise .components-button.is-default:focus:enabled{color:#9d6538;border-color:#c77f46;box-shadow:0 0 0 1px #c77f46}body.admin-color-ocean .components-button.is-default:focus:enabled{color:#7a8b7a;border-color:#9bb09a;box-shadow:0 0 0 1px #9bb09a}body.admin-color-midnight .components-button.is-default:focus:enabled{color:#a93a32;border-color:#d64940;box-shadow:0 0 0 1px #d64940}body.admin-color-ectoplasm .components-button.is-default:focus:enabled{color:#7d8941;border-color:#9fad52;box-shadow:0 0 0 1px #9fad52}body.admin-color-coffee .components-button.is-default:focus:enabled{color:#927d69;border-color:#b89e85;box-shadow:0 0 0 1px #b89e85}body.admin-color-blue .components-button.is-default:focus:enabled{color:#a38043;border-color:#cea255;box-shadow:0 0 0 1px #cea255}body.admin-color-light .components-button.is-default:focus:enabled{color:#00648c;border-color:#007eb1;box-shadow:0 0 0 1px #007eb1}.components-button.is-default:active:enabled{background:#f3f5f6;color:#0076b1;border-color:#7e8993;box-shadow:none}body.admin-color-sunrise .components-button.is-default:active:enabled{color:#c77f46}body.admin-color-ocean .components-button.is-default:active:enabled{color:#9bb09a}body.admin-color-midnight .components-button.is-default:active:enabled{color:#d64940}body.admin-color-ectoplasm .components-button.is-default:active:enabled{color:#9fad52}body.admin-color-coffee .components-button.is-default:active:enabled{color:#b89e85}body.admin-color-blue .components-button.is-default:active:enabled{color:#cea255}body.admin-color-light .components-button.is-default:active:enabled{color:#007eb1}.components-button.is-default:disabled,.components-button.is-default[aria-disabled=true]{color:#a0a5aa;border-color:#ddd;background:#f7f7f7;text-shadow:0 1px 0 #fff;transform:none;opacity:1}.components-button.is-primary{background:#007cba;border-color:#007cba;color:#fff;text-decoration:none;text-shadow:none}body.admin-color-sunrise .components-button.is-primary{background:#d1864a;border-color:#d1864a}body.admin-color-ocean .components-button.is-primary{background:#a3b9a2;border-color:#a3b9a2}body.admin-color-midnight .components-button.is-primary{background:#e14d43;border-color:#e14d43}body.admin-color-ectoplasm .components-button.is-primary{background:#a7b656;border-color:#a7b656}body.admin-color-coffee .components-button.is-primary{background:#c2a68c;border-color:#c2a68c}body.admin-color-blue .components-button.is-primary{background:#d9ab59;border-color:#d9ab59}body.admin-color-light .components-button.is-primary{background:#0085ba;border-color:#0085ba}.components-button.is-primary:focus:enabled,.components-button.is-primary:hover{background:#0070a7;border-color:#0070a7;color:#fff}body.admin-color-sunrise .components-button.is-primary:focus:enabled,body.admin-color-sunrise .components-button.is-primary:hover{background:#bc7943;border-color:#bc7943}body.admin-color-ocean .components-button.is-primary:focus:enabled,body.admin-color-ocean .components-button.is-primary:hover{background:#93a792;border-color:#93a792}body.admin-color-midnight .components-button.is-primary:focus:enabled,body.admin-color-midnight .components-button.is-primary:hover{background:#cb453c;border-color:#cb453c}body.admin-color-ectoplasm .components-button.is-primary:focus:enabled,body.admin-color-ectoplasm .components-button.is-primary:hover{background:#96a44d;border-color:#96a44d}body.admin-color-coffee .components-button.is-primary:focus:enabled,body.admin-color-coffee .components-button.is-primary:hover{background:#af957e;border-color:#af957e}body.admin-color-blue .components-button.is-primary:focus:enabled,body.admin-color-blue .components-button.is-primary:hover{background:#c39a50;border-color:#c39a50}body.admin-color-light .components-button.is-primary:focus:enabled,body.admin-color-light .components-button.is-primary:hover{background:#0078a7;border-color:#0078a7}.components-button.is-primary:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #007cba}body.admin-color-sunrise .components-button.is-primary:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #d1864a}body.admin-color-ocean .components-button.is-primary:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #a3b9a2}body.admin-color-midnight .components-button.is-primary:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #e14d43}body.admin-color-ectoplasm .components-button.is-primary:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #a7b656}body.admin-color-coffee .components-button.is-primary:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #c2a68c}body.admin-color-blue .components-button.is-primary:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #d9ab59}body.admin-color-light .components-button.is-primary:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #0085ba}.components-button.is-primary:active:enabled{background:#006395;border-color:#006395;color:#fff}body.admin-color-sunrise .components-button.is-primary:active:enabled{background:#a76b3b;border-color:#a76b3b}body.admin-color-ocean .components-button.is-primary:active:enabled{background:#829482;border-color:#829482}body.admin-color-midnight .components-button.is-primary:active:enabled{background:#b43e36;border-color:#b43e36}body.admin-color-ectoplasm .components-button.is-primary:active:enabled{background:#869245;border-color:#869245}body.admin-color-coffee .components-button.is-primary:active:enabled{background:#9b8570;border-color:#9b8570}body.admin-color-blue .components-button.is-primary:active:enabled{background:#ae8947;border-color:#ae8947}body.admin-color-light .components-button.is-primary:active:enabled{background:#006a95;border-color:#006a95}.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:#66b0d6;background:#1989c1;border-color:#1989c1;opacity:1}body.admin-color-sunrise .components-button.is-primary:disabled,body.admin-color-sunrise .components-button.is-primary:disabled:active:enabled,body.admin-color-sunrise .components-button.is-primary[aria-disabled=true],body.admin-color-sunrise .components-button.is-primary[aria-disabled=true]:active:enabled,body.admin-color-sunrise .components-button.is-primary[aria-disabled=true]:enabled{color:#e3b692;background:#d6925c;border-color:#d6925c}body.admin-color-ocean .components-button.is-primary:disabled,body.admin-color-ocean .components-button.is-primary:disabled:active:enabled,body.admin-color-ocean .components-button.is-primary[aria-disabled=true],body.admin-color-ocean .components-button.is-primary[aria-disabled=true]:active:enabled,body.admin-color-ocean .components-button.is-primary[aria-disabled=true]:enabled{color:#c8d5c7;background:#acc0ab;border-color:#acc0ab}body.admin-color-midnight .components-button.is-primary:disabled,body.admin-color-midnight .components-button.is-primary:disabled:active:enabled,body.admin-color-midnight .components-button.is-primary[aria-disabled=true],body.admin-color-midnight .components-button.is-primary[aria-disabled=true]:active:enabled,body.admin-color-midnight .components-button.is-primary[aria-disabled=true]:enabled{color:#ed948e;background:#e45f56;border-color:#e45f56}body.admin-color-ectoplasm .components-button.is-primary:disabled,body.admin-color-ectoplasm .components-button.is-primary:disabled:active:enabled,body.admin-color-ectoplasm .components-button.is-primary[aria-disabled=true],body.admin-color-ectoplasm .components-button.is-primary[aria-disabled=true]:active:enabled,body.admin-color-ectoplasm .components-button.is-primary[aria-disabled=true]:enabled{color:#cad39a;background:#b0bd67;border-color:#b0bd67}body.admin-color-coffee .components-button.is-primary:disabled,body.admin-color-coffee .components-button.is-primary:disabled:active:enabled,body.admin-color-coffee .components-button.is-primary[aria-disabled=true],body.admin-color-coffee .components-button.is-primary[aria-disabled=true]:active:enabled,body.admin-color-coffee .components-button.is-primary[aria-disabled=true]:enabled{color:#dacaba;background:#c8af98;border-color:#c8af98}body.admin-color-blue .components-button.is-primary:disabled,body.admin-color-blue .components-button.is-primary:disabled:active:enabled,body.admin-color-blue .components-button.is-primary[aria-disabled=true],body.admin-color-blue .components-button.is-primary[aria-disabled=true]:active:enabled,body.admin-color-blue .components-button.is-primary[aria-disabled=true]:enabled{color:#e8cd9b;background:#ddb36a;border-color:#ddb36a}body.admin-color-light .components-button.is-primary:disabled,body.admin-color-light .components-button.is-primary:disabled:active:enabled,body.admin-color-light .components-button.is-primary[aria-disabled=true],body.admin-color-light .components-button.is-primary[aria-disabled=true]:active:enabled,body.admin-color-light .components-button.is-primary[aria-disabled=true]:enabled{color:#66b6d6;background:#1991c1;border-color:#1991c1}.components-button.is-primary:disabled.is-button,.components-button.is-primary:disabled.is-button:hover,.components-button.is-primary:disabled:active:enabled,.components-button.is-primary:disabled:active:enabled.is-button,.components-button.is-primary:disabled:active:enabled.is-button:hover,.components-button.is-primary:disabled:active:enabled:active:enabled,.components-button.is-primary[aria-disabled=true].is-button,.components-button.is-primary[aria-disabled=true].is-button:hover,.components-button.is-primary[aria-disabled=true]:active:enabled,.components-button.is-primary[aria-disabled=true]:active:enabled.is-button,.components-button.is-primary[aria-disabled=true]:active:enabled.is-button:hover,.components-button.is-primary[aria-disabled=true]:active:enabled:active:enabled,.components-button.is-primary[aria-disabled=true]:enabled.is-button,.components-button.is-primary[aria-disabled=true]:enabled.is-button:hover,.components-button.is-primary[aria-disabled=true]:enabled:active:enabled{box-shadow:none;text-shadow: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 #007cba}body.admin-color-sunrise .components-button.is-primary:disabled:active:enabled:focus:enabled,body.admin-color-sunrise .components-button.is-primary:disabled:focus:enabled,body.admin-color-sunrise .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,body.admin-color-sunrise .components-button.is-primary[aria-disabled=true]:enabled:focus:enabled,body.admin-color-sunrise .components-button.is-primary[aria-disabled=true]:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #d1864a}body.admin-color-ocean .components-button.is-primary:disabled:active:enabled:focus:enabled,body.admin-color-ocean .components-button.is-primary:disabled:focus:enabled,body.admin-color-ocean .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,body.admin-color-ocean .components-button.is-primary[aria-disabled=true]:enabled:focus:enabled,body.admin-color-ocean .components-button.is-primary[aria-disabled=true]:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #a3b9a2}body.admin-color-midnight .components-button.is-primary:disabled:active:enabled:focus:enabled,body.admin-color-midnight .components-button.is-primary:disabled:focus:enabled,body.admin-color-midnight .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,body.admin-color-midnight .components-button.is-primary[aria-disabled=true]:enabled:focus:enabled,body.admin-color-midnight .components-button.is-primary[aria-disabled=true]:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #e14d43}body.admin-color-ectoplasm .components-button.is-primary:disabled:active:enabled:focus:enabled,body.admin-color-ectoplasm .components-button.is-primary:disabled:focus:enabled,body.admin-color-ectoplasm .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,body.admin-color-ectoplasm .components-button.is-primary[aria-disabled=true]:enabled:focus:enabled,body.admin-color-ectoplasm .components-button.is-primary[aria-disabled=true]:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #a7b656}body.admin-color-coffee .components-button.is-primary:disabled:active:enabled:focus:enabled,body.admin-color-coffee .components-button.is-primary:disabled:focus:enabled,body.admin-color-coffee .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,body.admin-color-coffee .components-button.is-primary[aria-disabled=true]:enabled:focus:enabled,body.admin-color-coffee .components-button.is-primary[aria-disabled=true]:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #c2a68c}body.admin-color-blue .components-button.is-primary:disabled:active:enabled:focus:enabled,body.admin-color-blue .components-button.is-primary:disabled:focus:enabled,body.admin-color-blue .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,body.admin-color-blue .components-button.is-primary[aria-disabled=true]:enabled:focus:enabled,body.admin-color-blue .components-button.is-primary[aria-disabled=true]:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #d9ab59}body.admin-color-light .components-button.is-primary:disabled:active:enabled:focus:enabled,body.admin-color-light .components-button.is-primary:disabled:focus:enabled,body.admin-color-light .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,body.admin-color-light .components-button.is-primary[aria-disabled=true]:enabled:focus:enabled,body.admin-color-light .components-button.is-primary[aria-disabled=true]:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #0085ba}.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,#007cba 28%,#006395 0,#006395 72%,#007cba 0);border-color:#007cba}body.admin-color-sunrise .components-button.is-primary.is-busy,body.admin-color-sunrise .components-button.is-primary.is-busy:disabled,body.admin-color-sunrise .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(-45deg,#d1864a 28%,#a76b3b 0,#a76b3b 72%,#d1864a 0);border-color:#d1864a}body.admin-color-ocean .components-button.is-primary.is-busy,body.admin-color-ocean .components-button.is-primary.is-busy:disabled,body.admin-color-ocean .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(-45deg,#a3b9a2 28%,#829482 0,#829482 72%,#a3b9a2 0);border-color:#a3b9a2}body.admin-color-midnight .components-button.is-primary.is-busy,body.admin-color-midnight .components-button.is-primary.is-busy:disabled,body.admin-color-midnight .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(-45deg,#e14d43 28%,#b43e36 0,#b43e36 72%,#e14d43 0);border-color:#e14d43}body.admin-color-ectoplasm .components-button.is-primary.is-busy,body.admin-color-ectoplasm .components-button.is-primary.is-busy:disabled,body.admin-color-ectoplasm .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(-45deg,#a7b656 28%,#869245 0,#869245 72%,#a7b656 0);border-color:#a7b656}body.admin-color-coffee .components-button.is-primary.is-busy,body.admin-color-coffee .components-button.is-primary.is-busy:disabled,body.admin-color-coffee .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(-45deg,#c2a68c 28%,#9b8570 0,#9b8570 72%,#c2a68c 0);border-color:#c2a68c}body.admin-color-blue .components-button.is-primary.is-busy,body.admin-color-blue .components-button.is-primary.is-busy:disabled,body.admin-color-blue .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(-45deg,#d9ab59 28%,#ae8947 0,#ae8947 72%,#d9ab59 0);border-color:#d9ab59}body.admin-color-light .components-button.is-primary.is-busy,body.admin-color-light .components-button.is-primary.is-busy:disabled,body.admin-color-light .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(-45deg,#0085ba 28%,#006a95 0,#006a95 72%,#0085ba 0);border-color:#0085ba}.components-button.is-link{margin:0;padding:0;box-shadow:none;border:0;border-radius:0;background:none;outline:none;text-align:left;color:#0073aa;text-decoration:underline;transition-property:border,background,color;transition-duration:.05s;transition-timing-function:ease-in-out}@media (prefers-reduced-motion:reduce){.components-button.is-link{transition-duration:0s}}.components-button.is-link:active,.components-button.is-link:hover{color:#00a0d2}.components-button.is-link:focus{color:#124964;box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.components-button.is-link.is-destructive{color:#d94f4f}.components-button:active{color:inherit}.components-button:disabled,.components-button[aria-disabled=true]{cursor:default;opacity:.3}.components-button:focus:not(:disabled){background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;outline:2px solid transparent}.components-button.is-busy,.components-button.is-default.is-busy,.components-button.is-default.is-busy:disabled,.components-button.is-default.is-busy[aria-disabled=true]{animation:components-button__busy-animation 2.5s linear infinite;background-size:100px 100%;background-image:repeating-linear-gradient(-45deg,#e2e4e7,#fff 11px,#fff 0,#e2e4e7 20px);opacity:1}.components-button.is-large{height:30px;line-height:28px;padding:0 12px 2px}.components-button.is-small{height:24px;line-height:22px;padding:0 8px 1px;font-size:11px}.components-button.is-tertiary{color:#007cba;padding:0 10px;line-height:26px;height:28px}body.admin-color-sunrise .components-button.is-tertiary{color:#837425}body.admin-color-ocean .components-button.is-tertiary{color:#5e7d5e}body.admin-color-midnight .components-button.is-tertiary{color:#497b8d}body.admin-color-ectoplasm .components-button.is-tertiary{color:#523f6d}body.admin-color-coffee .components-button.is-tertiary{color:#59524c}body.admin-color-blue .components-button.is-tertiary{color:#417e9b}body.admin-color-light .components-button.is-tertiary{color:#007cba}.components-button.is-tertiary .dashicon{display:inline-block;flex:0 0 auto}.components-button.is-tertiary svg{fill:currentColor;outline:none}.components-button.is-tertiary:active:focus:enabled{box-shadow:none}.components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#005d8c}body.admin-color-sunrise .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#62571c}body.admin-color-ocean .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#475e47}body.admin-color-midnight .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#375c6a}body.admin-color-ectoplasm .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#3e2f52}body.admin-color-coffee .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#433e39}body.admin-color-blue .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#315f74}body.admin-color-light .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#005d8c}.components-button .screen-reader-text{height:auto}@keyframes components-button__busy-animation{0%{background-position:200px 0}}.components-checkbox-control__input[type=checkbox]{border:1px solid #b4b9be;background:#fff;color:#555;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:25px;height:25px;-webkit-appearance:none;box-shadow:inset 0 1px 2px rgba(0,0,0,.1);transition:border-color .05s ease-in-out}@media (min-width:600px){.components-checkbox-control__input[type=checkbox]{height:16px;width:16px}}.components-checkbox-control__input[type=checkbox]:focus{border-color:#5b9dd9;box-shadow:0 0 2px rgba(30,140,190,.8);outline:2px solid transparent}.components-checkbox-control__input[type=checkbox]:checked{background:#11a0d2;border-color:#11a0d2}.components-checkbox-control__input[type=checkbox]:checked::-ms-check{opacity:0}.components-checkbox-control__input[type=checkbox]:focus:checked{border:none}.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:25px;height:25px}@media (min-width:600px){.components-checkbox-control__input-container{width:16px;height:16px}}svg.dashicon.components-checkbox-control__checked{fill:#fff;cursor:pointer;position:absolute;left:-4px;top:-2px;width:31px;height:31px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}@media (min-width:600px){svg.dashicon.components-checkbox-control__checked{width:21px;height:21px;left:-3px}}.components-circular-option-picker{display:inline-block;margin-top:.6rem;width:100%}.components-circular-option-picker .components-circular-option-picker__custom-clear-wrapper{display:flex;justify-content:flex-end}.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}}.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:nth-child(6n+6){margin-right:0}.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}}.components-circular-option-picker__option.is-active{box-shadow:inset 0 0 0 4px;position:relative;z-index:1}.components-circular-option-picker__option.is-active+.dashicons-saved{position:absolute;left:4px;top:4px;border-radius:50%;z-index:2;background:#fff;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{outline:none}.components-circular-option-picker__option:focus:after{content:"";border:2px solid #606a73;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__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}.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%;overflow:hidden}.components-color-picker *{box-sizing:border-box}.components-color-picker .components-icon-button{padding:6px}.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:hidden}.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-color-picker__saturation-pointer{width:8px;height:8px;box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px rgba(0,0,0,.3),0 0 1px 2px rgba(0,0,0,.4);border-radius:50%;background-color:transparent;transform:translate(-4px,-4px)}.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}}.components-color-picker__saturation-pointer:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #00a0d2,0 0 5px 0 #00a0d2,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:#00a0d2;box-shadow:0 0 0 2px #00a0d2,0 0 3px 0 #00a0d2;outline:2px solid transparent;outline-offset:-2px}.components-color-picker__inputs-wrapper{margin:0 -4px;padding-top:16px;display:flex;align-items:flex-end}.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 8px}.components-color-picker__inputs-field{width:100%}.components-color-picker__inputs-fields{display:flex;direction:ltr;flex-grow:1}.components-color-picker__inputs-fields .components-base-control+.components-base-control{margin-bottom:0}.components-color-picker__inputs-fields .components-base-control__field{margin:0 4px}.components-custom-gradient-picker:not(.has-gradient){opacity:.4}.components-custom-gradient-picker{width:100%;height:24px;border-radius:24px;margin-bottom:8px;padding-left:3px;padding-right:21px}.components-custom-gradient-picker .components-custom-gradient-picker__markers-container{position:relative}.components-custom-gradient-picker .components-custom-gradient-picker__insert-point{border-radius:50%;background:#fff;padding:2px;width:24px;height:24px;position:relative}.components-custom-gradient-picker .components-custom-gradient-picker__control-point-button{border:2px solid #fff;border-radius:50%;height:18px;position:absolute;width:18px;top:3px}.components-custom-gradient-picker .components-custom-gradient-picker__control-point-button.is-active{background:#fafafa;color:#23282d;border-color:#999;box-shadow:inset 0 -1px 0 #999,0 0 0 1px #fff,0 0 0 3px #007cba}.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-select-control{color:#555d66;position:relative}.components-custom-select-control__label{display:block;margin-bottom:5px}.components-custom-select-control__button{border:1px solid #7e8993;border-radius:4px;color:#555d66;display:inline;min-height:30px;min-width:130px;position:relative;text-align:left}.components-custom-select-control__button:focus{border-color:#00a0d2}.components-custom-select-control__button-icon{height:100%;padding:0 4px;position:absolute;right:0;top:0}.components-custom-select-control__menu{background:#fff;padding:0;position:absolute;width:100%;z-index:1000000}.components-custom-select-control__item{align-items:center;display:flex;list-style-type:none;padding:10px 5px 10px 25px}.components-custom-select-control__item.is-highlighted{background:#e2e4e7}.components-custom-select-control__item-icon{margin-left:-20px;margin-right:0}svg.dashicon{fill:currentColor;outline:none}.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;-moz-user-select:none;-ms-user-select:none;user-select:none}.CalendarMonth_table{border-collapse:collapse;border-spacing:0}.CalendarMonth_verticalSpacing{border-collapse:separate}.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:9px}.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;-moz-user-select:none;-ms-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:9px}.DayPicker_weekHeader{color:#757575;position:absolute;top:62px;z-index:2;text-align:left}.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}.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;-moz-user-select:none;-ms-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,.components-datetime .components-datetime__calendar-help{padding:16px}.components-datetime .components-datetime__calendar-help h4{margin:0}.components-datetime .components-datetime__date-help-button{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:4px;border:1px solid #7e8993}@media (prefers-reduced-motion:reduce){.components-datetime input,.components-datetime select{transition-duration: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 #e2e4e7}.components-datetime__date .CalendarMonthGrid{margin-left:-13px}.components-datetime__date .DayPickerNavigation_leftButton__horizontalDefault{left:0}.components-datetime__date .CalendarMonth_caption{font-size:13px}.components-datetime__date .CalendarDay{font-size:13px;border:1px solid transparent;border-radius:50%;text-align:center}.components-datetime__date .CalendarDay__selected{background:#0085ba}body.admin-color-sunrise .components-datetime__date .CalendarDay__selected{background:#d1864a}body.admin-color-ocean .components-datetime__date .CalendarDay__selected{background:#a3b9a2}body.admin-color-midnight .components-datetime__date .CalendarDay__selected{background:#e14d43}body.admin-color-ectoplasm .components-datetime__date .CalendarDay__selected{background:#a7b656}body.admin-color-coffee .components-datetime__date .CalendarDay__selected{background:#c2a68c}body.admin-color-blue .components-datetime__date .CalendarDay__selected{background:#82b4cb}body.admin-color-light .components-datetime__date .CalendarDay__selected{background:#0085ba}.components-datetime__date .CalendarDay__selected:hover{background:#00719e}body.admin-color-sunrise .components-datetime__date .CalendarDay__selected:hover{background:#b2723f}body.admin-color-ocean .components-datetime__date .CalendarDay__selected:hover{background:#8b9d8a}body.admin-color-midnight .components-datetime__date .CalendarDay__selected:hover{background:#bf4139}body.admin-color-ectoplasm .components-datetime__date .CalendarDay__selected:hover{background:#8e9b49}body.admin-color-coffee .components-datetime__date .CalendarDay__selected:hover{background:#a58d77}body.admin-color-blue .components-datetime__date .CalendarDay__selected:hover{background:#6f99ad}body.admin-color-light .components-datetime__date .CalendarDay__selected:hover{background:#00719e}.components-datetime__date .DayPickerNavigation_button__horizontalDefault{padding:2px 8px;top:20px}.components-datetime__date .DayPickerNavigation_button__horizontalDefault:focus{color:#191e23;border-color:#007cba;box-shadow:0 0 0 1px #007cba;outline:2px solid transparent}.components-datetime__date .DayPicker_weekHeader{top:50px}.components-datetime__date .DayPicker_weekHeader .DayPicker_weekHeader_ul{margin:1px 0;padding-left:0;padding-right:0}.components-datetime__date.is-description-visible .components-datetime__date-help-button,.components-datetime__date.is-description-visible .DayPicker{visibility:hidden}.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;color:#555d66}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-am-button{margin-left:8px;margin-right:-1px;border-radius:3px 0 0 3px}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-pm-button{margin-left:-1px;border-radius:0 3px 3px 0}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-am-button:focus,.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-pm-button:focus{position:relative;z-index:1}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-am-button.is-toggled,.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-pm-button.is-toggled{background:#edeff0;border-color:#8f98a1;box-shadow:inset 0 2px 5px -3px #555d66}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-am-button.is-toggled:focus,.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-pm-button.is-toggled:focus{box-shadow:inset 0 2px 5px -3px #555d66,0 0 0 1px #fff,0 0 0 3px #007cba}.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.am-pm button{font-size:11px;font-weight:600}.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:0 -4px 0 0!important;border-radius:4px 0 0 4px!important}.components-datetime__time.is-12-hour .components-datetime__time-field-year input{border-radius:0 4px 4px 0!important}.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}.components-disabled{position:relative;pointer-events:none}.components-disabled:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0}.components-disabled *{pointer-events:none}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:20px;background:transparent;pointer-events:none;z-index:1000000000;opacity:.8}.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 #0071a1;border-radius:2px}@media (prefers-reduced-motion:reduce){.components-drop-zone{transition-duration: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}}.components-drop-zone.is-dragging-over-element{background-color:rgba(0,113,161,.8)}.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}}.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}.components-drop-zone__content-text{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.components-drop-zone__provider{height:100%}.components-dropdown{display:inline-block}.components-dropdown-menu__indicator:after{content:"";pointer-events:none;display:block;width:0;height:0;border-left:3px solid transparent;border-right:3px solid transparent;border-top:5px solid;margin-left:4px;margin-right:2px}.components-dropdown-menu__popover .components-popover__content{width:200px}.components-dropdown-menu__menu{width:100%;padding:7px 0;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;margin-bottom:4px}.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:content-box;background-color:#e2e4e7;position:absolute;top:-3px;left:0;right:0;height:1px}.components-dropdown-menu__menu .components-dropdown-menu__menu-item:focus:not(:disabled):not([aria-disabled=true]):not(.is-default),.components-dropdown-menu__menu .components-menu-item:focus:not(:disabled):not([aria-disabled=true]):not(.is-default){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.components-dropdown-menu__menu .components-dropdown-menu__menu-item:hover,.components-dropdown-menu__menu .components-dropdown-menu__menu-item:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,.components-dropdown-menu__menu .components-menu-item:hover,.components-dropdown-menu__menu .components-menu-item:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#191e23;border:none;box-shadow:none;background:#f3f4f5}.components-dropdown-menu__menu .components-dropdown-menu__menu-item>svg,.components-dropdown-menu__menu .components-menu-item>svg{border-radius:4px;padding:2px;width:24px;height:24px;margin:-1px 8px -1px 0}.components-dropdown-menu__menu .components-dropdown-menu__menu-item:not(:disabled):not([aria-disabled=true]):not(.is-default).is-active>svg,.components-dropdown-menu__menu .components-menu-item:not(:disabled):not([aria-disabled=true]):not(.is-default).is-active>svg{outline:none;color:#fff;box-shadow:none;background:#555d66}.components-dropdown-menu__menu .components-menu-group:not(:last-child){border-bottom:1px solid #e2e4e7}.components-dropdown-menu__menu .components-menu-item__button,.components-dropdown-menu__menu .components-menu-item__button.components-icon-button{padding-left:2rem}.components-dropdown-menu__menu .components-menu-item__button.components-icon-button.has-icon,.components-dropdown-menu__menu .components-menu-item__button.has-icon{padding-left:.5rem}.components-dropdown-menu__menu .components-menu-item__button.components-icon-button .dashicon,.components-dropdown-menu__menu .components-menu-item__button .dashicon{margin-right:4px}.components-external-link__icon{width:1.4em;height:1.4em;margin:-.2em .1em 0;vertical-align:middle}.components-focal-point-picker-wrapper{background-color:transparent;border:1px solid #e2e4e7;height:200px;width:100%;padding:14px}.components-focal-point-picker{align-items:center;cursor:pointer;display:flex;height:100%;justify-content:center;position:relative;width:100%}.components-focal-point-picker img{height:auto;max-height:100%;max-width:100%;width:auto;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.components-focal-point-picker__icon_container{background-color:transparent;cursor:grab;height:30px;opacity:.8;position:absolute;will-change:transform;width:30px;z-index:10000}.components-focal-point-picker__icon_container.is-dragging{cursor:grabbing}.components-focal-point-picker__icon{display:block;height:100%;left:-15px;position:absolute;top:-15px;width:100%}.components-focal-point-picker__icon .components-focal-point-picker__icon-outline{fill:#fff}.components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#0085ba}body.admin-color-sunrise .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#d1864a}body.admin-color-ocean .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#a3b9a2}body.admin-color-midnight .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#e14d43}body.admin-color-ectoplasm .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#a7b656}body.admin-color-coffee .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#c2a68c}body.admin-color-blue .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#82b4cb}body.admin-color-light .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#0085ba}.components-focal-point-picker_position-display-container{margin:1em 0;display:flex}.components-focal-point-picker_position-display-container .components-base-control__field{margin:0 1em 0 0}.components-focal-point-picker_position-display-container input[type=number].components-text-control__input{max-width:4em;padding:6px 4px}.components-focal-point-picker_position-display-container span{margin:0 0 0 .2em}.components-font-size-picker__controls{max-width:248px;display:flex;align-items:center;margin-bottom:24px}.components-font-size-picker__controls .components-range-control__number{height:30px;margin:5px 8px 0 0}.components-font-size-picker__controls .components-range-control__number[value=""]+.components-button{cursor:default;opacity:.3;pointer-events:none}.components-font-size-picker__controls .components-range-control__number-container{display:flex;flex-direction:column}.components-font-size-picker__controls .components-font-size-picker__select{margin-right:8px;flex-grow:1}.components-font-size-picker__controls .components-color-palette__clear{height:30px;margin-top:23px}.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-file-upload .components-button.is-large{padding-left:6px}.components-form-toggle{position:relative;display:inline-block}.components-form-toggle .components-form-toggle__off,.components-form-toggle .components-form-toggle__on{position:absolute;top:6px;box-sizing:border-box}.components-form-toggle .components-form-toggle__off{color:#6c7781;fill:currentColor;right:6px}.components-form-toggle .components-form-toggle__on{left:8px}.components-form-toggle .components-form-toggle__track{content:"";display:inline-block;box-sizing:border-box;vertical-align:top;background-color:#fff;border:2px solid #6c7781;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}}.components-form-toggle .components-form-toggle__thumb{display:block;position:absolute;box-sizing:border-box;top:4px;left:4px;width:10px;height:10px;border-radius:50%;transition:transform .1s ease;background-color:#6c7781;border:5px solid #6c7781}@media (prefers-reduced-motion:reduce){.components-form-toggle .components-form-toggle__thumb{transition-duration:0s}}.components-form-toggle:hover .components-form-toggle__track{border:2px solid #555d66}.components-form-toggle:hover .components-form-toggle__thumb{background-color:#555d66;border:5px solid #6c7781}.components-form-toggle:hover .components-form-toggle__off{color:#555d66}.components-form-toggle.is-checked .components-form-toggle__track{background-color:#11a0d2;border:9px solid transparent}body.admin-color-sunrise .components-form-toggle.is-checked .components-form-toggle__track{background-color:#c8b03c;border:2px solid #c8b03c}body.admin-color-ocean .components-form-toggle.is-checked .components-form-toggle__track{background-color:#a3b9a2;border:2px solid #a3b9a2}body.admin-color-midnight .components-form-toggle.is-checked .components-form-toggle__track{background-color:#77a6b9;border:2px solid #77a6b9}body.admin-color-ectoplasm .components-form-toggle.is-checked .components-form-toggle__track{background-color:#a7b656;border:2px solid #a7b656}body.admin-color-coffee .components-form-toggle.is-checked .components-form-toggle__track{background-color:#c2a68c;border:2px solid #c2a68c}body.admin-color-blue .components-form-toggle.is-checked .components-form-toggle__track{background-color:#82b4cb;border:2px solid #82b4cb}body.admin-color-light .components-form-toggle.is-checked .components-form-toggle__track{background-color:#11a0d2;border:2px solid #11a0d2}.components-form-toggle__input:focus+.components-form-toggle__track{box-shadow:0 0 0 2px #fff,0 0 0 3px #6c7781;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-form-toggle.is-checked:before{background-color:#11a0d2;border:2px solid #11a0d2}body.admin-color-sunrise .components-form-toggle.is-checked:before{background-color:#c8b03c;border:2px solid #c8b03c}body.admin-color-ocean .components-form-toggle.is-checked:before{background-color:#a3b9a2;border:2px solid #a3b9a2}body.admin-color-midnight .components-form-toggle.is-checked:before{background-color:#77a6b9;border:2px solid #77a6b9}body.admin-color-ectoplasm .components-form-toggle.is-checked:before{background-color:#a7b656;border:2px solid #a7b656}body.admin-color-coffee .components-form-toggle.is-checked:before{background-color:#c2a68c;border:2px solid #c2a68c}body.admin-color-blue .components-form-toggle.is-checked:before{background-color:#82b4cb;border:2px solid #82b4cb}body.admin-color-light .components-form-toggle.is-checked:before{background-color:#11a0d2;border:2px solid #11a0d2}.components-disabled .components-form-toggle{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-toggle .components-form-toggle__on{outline:1px solid transparent;outline-offset:-1px;border:1px solid #000;filter:invert(100%) contrast(500%)}@supports (-ms-high-contrast-adjust:auto){.components-form-toggle .components-form-toggle__on{filter:none;border:1px solid #fff}}.components-form-token-field__input-container{display:flex;flex-wrap:wrap;align-items:flex-start;width:100%;margin:0 0 8px;padding:4px;background-color:#fff;color:#32373c;cursor:text;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:4px;border:1px solid #7e8993}@media (prefers-reduced-motion:reduce){.components-form-token-field__input-container{transition-duration:0s}}.components-form-token-field__input-container.is-disabled{background:#e2e4e7;border-color:#ccd0d4}.components-form-token-field__input-container.is-active{color:#191e23;border-color:#007cba;box-shadow:0 0 0 1px #007cba;outline:2px solid transparent}.components-form-token-field__input-container input[type=text].components-form-token-field__input{display:inline-block;width:100%;max-width:100%;margin:2px 0 2px 8px;padding:0;min-height:24px;background:inherit;border:0;color:#23282d;box-shadow:none}.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-style:italic}.components-form-token-field__token{font-size:13px;display:flex;margin:2px 4px 2px 0;color:#32373c;overflow:hidden}.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:#d94f4f}.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:#555d66}.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:#11a0d2}body.admin-color-sunrise .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#c8b03c}body.admin-color-ocean .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#a89d8a}body.admin-color-midnight .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#77a6b9}body.admin-color-ectoplasm .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#c77430}body.admin-color-coffee .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#9fa47b}body.admin-color-blue .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#d9ab59}body.admin-color-light .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#c75726}.components-form-token-field__token.is-borderless .components-form-token-field__remove-token{background:transparent;color:#555d66;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:#d94f4f;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:#23282d}.components-form-token-field__token.is-disabled .components-form-token-field__remove-token{cursor:default}.components-form-token-field__remove-token.components-icon-button,.components-form-token-field__token-text{display:inline-block;line-height:24px;background:#e2e4e7;transition:all .2s cubic-bezier(.4,1,.4,1)}@media (prefers-reduced-motion:reduce){.components-form-token-field__remove-token.components-icon-button,.components-form-token-field__token-text{transition-duration:0s;animation-duration:1ms}}.components-form-token-field__token-text{border-radius:12px 0 0 12px;padding:0 4px 0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.components-form-token-field__remove-token.components-icon-button{cursor:pointer;border-radius:0 12px 12px 0;padding:0 2px;color:#555d66;line-height:10px;overflow:initial}.components-form-token-field__remove-token.components-icon-button:hover{color:#32373c}.components-form-token-field__suggestions-list{flex:1 0 100%;min-width:100%;max-height:9em;overflow-y:scroll;transition:all .15s ease-in-out;list-style:none;border-top:1px solid #6c7781;margin:4px -4px -4px;padding-top:3px}@media (prefers-reduced-motion:reduce){.components-form-token-field__suggestions-list{transition-duration:0s}}.components-form-token-field__suggestion{color:#555d66;display:block;font-size:13px;padding:4px 8px;cursor:pointer}.components-form-token-field__suggestion.is-selected{background:#0071a1;color:#fff}.components-form-token-field__suggestion-match{text-decoration:underline}.components-guide .components-modal__header{background:none;border-bottom:none}.components-guide .components-modal__header .components-icon-button{align-self:flex-start;margin-top:24px;position:static}.components-guide__container{align-items:center;display:flex;flex-direction:column;margin-top:-56px;min-height:100%}.components-guide__footer{align-content:center;display:flex;height:30px;justify-content:center;margin:auto 0 24px;position:relative;width:100%}@media (min-width:600px){.components-guide__footer{margin:24px 0 0}}.components-guide__page-control{margin:0}.components-guide__page-control li{display:inline-block;margin:0 2px}.components-guide__page-control .components-icon-button{height:30px}@media (max-width:600px){.components-modal__frame.components-guide{bottom:15%;left:24px;right:24px;top:15%}}.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:0;padding:4px 2px}.components-button.components-guide__back-button.has-text svg,.components-button.components-guide__forward-button.has-text svg{margin:0}@media (min-width:600px){.components-button.components-guide__back-button,.components-button.components-guide__forward-button{font-size:13px}}.components-button.components-guide__back-button{left:0}@media (min-width:600px){.components-button.components-guide__back-button{padding:4px 8px 4px 2px}.components-button.components-guide__back-button.has-text svg{margin-right:4px}}.components-button.components-guide__forward-button{right:0}@media (min-width:600px){.components-button.components-guide__forward-button{padding:4px 2px 4px 8px}.components-button.components-guide__forward-button.has-text svg{margin-left:4px;order:1}}.components-button.components-guide__finish-button{display:none;right:0}@media (min-width:600px){.components-button.components-guide__finish-button{display:unset}}@media (min-width:600px){.components-button.components-guide__inline-finish-button{display:none}}.components-navigate-regions.is-focusing-regions [role=region]{position:relative}.components-navigate-regions.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 #33b3db}@supports (outline-offset:1px){.components-navigate-regions.is-focusing-regions [role=region]:focus:after{content:none}.components-navigate-regions.is-focusing-regions [role=region]:focus{outline-style:solid;outline-color:#33b3db;outline-width:4px;outline-offset:-4px}}.components-icon-button{display:flex;align-items:center;padding:8px;margin:0;border:none;background:none;color:#555d66;position:relative;overflow:hidden;border-radius:4px}.components-icon-button .dashicon{display:inline-block;flex:0 0 auto}.components-icon-button svg{fill:currentColor;outline:none}.components-icon-button.has-text svg{margin-right:4px}.components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff}.components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):active{outline:none;background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #ccd0d4,inset 0 0 0 2px #fff}.components-icon-button:disabled:focus,.components-icon-button[aria-disabled=true]:focus{box-shadow:none}.components-menu-group{width:100%;padding:7px 0}.components-menu-group__label{margin-bottom:8px;color:#6c7781;padding:0 7px}.components-menu-item__button,.components-menu-item__button.components-icon-button{width:100%;padding:8px 15px;text-align:left;color:#40464d;border:none;box-shadow:none}.components-menu-item__button.components-icon-button .components-menu-items__item-icon,.components-menu-item__button.components-icon-button .dashicon,.components-menu-item__button.components-icon-button>span>svg,.components-menu-item__button .components-menu-items__item-icon,.components-menu-item__button .dashicon,.components-menu-item__button>span>svg{margin-right:5px}.components-menu-item__button.components-icon-button .components-menu-items__item-icon,.components-menu-item__button .components-menu-items__item-icon{display:inline-block;flex:0 0 auto}.components-menu-item__button.components-icon-button:hover:not(:disabled):not([aria-disabled=true]),.components-menu-item__button:hover:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;background:#f3f4f5}.components-menu-item__button.components-icon-button:hover:not(:disabled):not([aria-disabled=true]) .components-menu-item__shortcut,.components-menu-item__button:hover:not(:disabled):not([aria-disabled=true]) .components-menu-item__shortcut{color:#40464d}.components-menu-item__button.components-icon-button:focus:not(:disabled):not([aria-disabled=true]),.components-menu-item__button:focus:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.components-menu-item__info-wrapper{display:flex;flex-direction:column}.components-menu-item__info{margin-top:4px;font-size:12px;color:#6c7781}.components-menu-item__shortcut{-ms-grid-row-align:center;align-self:center;color:#6c7781;margin-right:0;margin-left:auto;padding-left:8px;display:none}@media (min-width:480px){.components-menu-item__shortcut{display:inline}}.components-menu-items-choice,.components-menu-items-choice.components-icon-button{padding-left:2rem}.components-menu-items-choice.components-icon-button.has-icon,.components-menu-items-choice.has-icon{padding-left:.5rem}.components-menu-items-choice.components-icon-button .dashicon,.components-menu-items-choice .dashicon{margin-right:4px}.components-modal__screen-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0,0,0,.7);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}}.components-modal__frame{position:absolute;top:0;right:0;bottom:0;left:0;box-sizing:border-box;margin:0;border:1px solid #e2e4e7;background:#fff;box-shadow:0 3px 30px rgba(25,30,35,.2);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:calc(100% - 112px);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}}@keyframes components-modal__appear-animation{0%{margin-top:32px}to{margin-top:0}}.components-modal__header{box-sizing:border-box;border-bottom:1px solid #e2e4e7;padding:0 24px;display:flex;flex-direction:row;justify-content:space-between;background:#fff;align-items:center;height:56px;position:-webkit-sticky;position:sticky;top:0;z-index:10;margin:0 -24px 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-icon-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 24px 24px}@supports (-ms-ime-align:auto){.components-modal__content{padding-top:56px}}.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:#e5f5fa;border-left:4px solid #00a0d2;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:#d94f4f;background-color:#f9e2e2}.components-notice__content{flex-grow:1;margin:4px 25px 4px 0}.components-notice__action.components-button,.components-notice__action.components-button.is-link{margin-left:4px}.components-notice__action.components-button.is-default{vertical-align:initial}.components-notice__dismiss{color:#6c7781;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-default):active,.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#191e23;background-color:transparent}.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-default):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:1.6}.components-notice-list .components-notice__action.components-button{margin-top:-2px;margin-bottom:-2px}.components-panel{background:#fff;border:1px solid #e2e4e7}.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 #e2e4e7;border-bottom:1px solid #e2e4e7}.components-panel__body h3{margin:0 0 .5em}.components-panel__body.is-opened{padding:16px}.components-panel__body>.components-icon-button{color:#191e23}.components-panel__header{display:flex;justify-content:space-between;align-items:center;padding:0 16px;height:50px;border-top:1px solid #e2e4e7;border-bottom:1px solid #e2e4e7}.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}}.components-panel__body.is-opened>.components-panel__body-title{margin:-16px -16px 5px}.components-panel__body>.components-panel__body-title:hover,.edit-post-last-revision__panel>.components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{background:#f3f4f5}.components-panel__body-toggle.components-button{position:relative;padding:15px;outline:none;width:100%;font-weight:600;text-align:left;color:#191e23;border:none;box-shadow:none;transition:background .1s ease-in-out}@media (prefers-reduced-motion:reduce){.components-panel__body-toggle.components-button{transition-duration:0s}}.components-panel__body-toggle.components-button:focus:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.components-panel__body-toggle.components-button .components-panel__arrow{position:absolute;right:10px;top:50%;transform:translateY(-50%);color:#191e23;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}}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:#555d66;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:20px}.components-panel__row select{min-width:0}.components-panel__row label{margin-right:10px;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{margin-bottom:28px;padding:1em;min-height:200px;width:100%;text-align:center;background:rgba(139,139,150,.1)}@supports ((position:-webkit-sticky) or (position:sticky)){.components-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center}}.is-dark-theme .components-placeholder{background:hsla(0,0%,100%,.15)}.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;align-items:center;justify-content:center;font-weight:600;margin-bottom:1em}.components-placeholder__label .block-editor-block-icon,.components-placeholder__label .dashicon{fill:currentColor;margin-right:1ch}.components-placeholder__fieldset,.components-placeholder__fieldset form{display:flex;flex-direction:row;justify-content:center;width:100%;max-width:400px;flex-wrap:wrap;z-index:1}.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{margin-top:0;margin-right:8px;flex:1 1 auto}.components-placeholder__instructions{margin-bottom:1em}.components-placeholder__preview img{margin:3%;width:50%}.components-placeholder__fieldset .components-button{margin-right:4px;margin-bottom:10px}.components-placeholder__fieldset .components-button:last-child{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-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}}.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}}.components-animate__slide-in.is-from-left{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{min-width:200px}.components-autocomplete__popover .components-autocomplete__results{padding:3px;display:flex;flex-direction:column;align-items:stretch}.components-autocomplete__popover .components-autocomplete__results:empty{display:none}.components-autocomplete__result.components-button{margin-bottom:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;color:#555d66;display:flex;flex-direction:row;flex-grow:1;flex-shrink:0;align-items:center;padding:6px 8px;margin-left:-3px;margin-right:-3px;text-align:left}.components-autocomplete__result.components-button.is-selected{color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.components-autocomplete__result.components-button:hover{color:#191e23;border:none;box-shadow:none;background:#f3f4f5}.components-base-control{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.components-base-control .components-base-control__field{margin-bottom:8px}.components-panel__row .components-base-control .components-base-control__field{margin-bottom:inherit}.components-base-control .components-base-control__label{display:inline-block;margin-bottom:4px}.components-base-control .components-base-control__help{margin-top:-8px;font-style:italic}.components-base-control+.components-base-control{margin-bottom:16px}.components-button-group{display:inline-block}.components-button-group .components-button{border-radius:0;display:inline-flex}.components-button-group .components-button+.components-button{margin-left:-1px}.components-button-group .components-button:first-child{border-radius:3px 0 0 3px}.components-button-group .components-button:last-child{border-radius:0 3px 3px 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:none}.components-button{display:inline-flex;text-decoration:none;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:0 8px;overflow:hidden;border-radius:3px;color:#555d66}@media (prefers-reduced-motion:reduce){.components-button{transition-duration:0s}}.components-button:not(:disabled):not([aria-disabled=true]):not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link):hover{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff}.components-button.is-secondary{white-space:nowrap;color:#0075af;border:1px solid #0075af;background:#f3f5f6}body.admin-color-sunrise .components-button.is-secondary{color:#c47e46;border-color:#c47e46}body.admin-color-ocean .components-button.is-secondary{color:#99ae98;border-color:#99ae98}body.admin-color-midnight .components-button.is-secondary{color:#d4483f;border-color:#d4483f}body.admin-color-ectoplasm .components-button.is-secondary{color:#9dab51;border-color:#9dab51}body.admin-color-coffee .components-button.is-secondary{color:#b69c84;border-color:#b69c84}body.admin-color-blue .components-button.is-secondary{color:#cca154;border-color:#cca154}body.admin-color-light .components-button.is-secondary{color:#007daf;border-color:#007daf}.components-button.is-secondary:not(:disabled):not([aria-disabled=true]):hover{background:#f1f1f1;border-color:#005d8c;color:#005d8c;text-decoration:none}body.admin-color-sunrise .components-button.is-secondary:not(:disabled):not([aria-disabled=true]):hover{border-color:#9d6538;color:#9d6538}body.admin-color-ocean .components-button.is-secondary:not(:disabled):not([aria-disabled=true]):hover{border-color:#7a8b7a;color:#7a8b7a}body.admin-color-midnight .components-button.is-secondary:not(:disabled):not([aria-disabled=true]):hover{border-color:#a93a32;color:#a93a32}body.admin-color-ectoplasm .components-button.is-secondary:not(:disabled):not([aria-disabled=true]):hover{border-color:#7d8941;color:#7d8941}body.admin-color-coffee .components-button.is-secondary:not(:disabled):not([aria-disabled=true]):hover{border-color:#927d69;color:#927d69}body.admin-color-blue .components-button.is-secondary:not(:disabled):not([aria-disabled=true]):hover{border-color:#a38043;color:#a38043}body.admin-color-light .components-button.is-secondary:not(:disabled):not([aria-disabled=true]):hover{border-color:#00648c;color:#00648c}.components-button.is-secondary:focus:enabled{background:#f3f5f6;color:#005d8c;border-color:#0076b1;box-shadow:0 0 0 1px #0076b1;text-decoration:none}body.admin-color-sunrise .components-button.is-secondary:focus:enabled{color:#9d6538;border-color:#c77f46;box-shadow:0 0 0 1px #c77f46}body.admin-color-ocean .components-button.is-secondary:focus:enabled{color:#7a8b7a;border-color:#9bb09a;box-shadow:0 0 0 1px #9bb09a}body.admin-color-midnight .components-button.is-secondary:focus:enabled{color:#a93a32;border-color:#d64940;box-shadow:0 0 0 1px #d64940}body.admin-color-ectoplasm .components-button.is-secondary:focus:enabled{color:#7d8941;border-color:#9fad52;box-shadow:0 0 0 1px #9fad52}body.admin-color-coffee .components-button.is-secondary:focus:enabled{color:#927d69;border-color:#b89e85;box-shadow:0 0 0 1px #b89e85}body.admin-color-blue .components-button.is-secondary:focus:enabled{color:#a38043;border-color:#cea255;box-shadow:0 0 0 1px #cea255}body.admin-color-light .components-button.is-secondary:focus:enabled{color:#00648c;border-color:#007eb1;box-shadow:0 0 0 1px #007eb1}.components-button.is-secondary:active:enabled{background:#f3f5f6;color:#0076b1;border-color:#7e8993;box-shadow:none}body.admin-color-sunrise .components-button.is-secondary:active:enabled{color:#c77f46}body.admin-color-ocean .components-button.is-secondary:active:enabled{color:#9bb09a}body.admin-color-midnight .components-button.is-secondary:active:enabled{color:#d64940}body.admin-color-ectoplasm .components-button.is-secondary:active:enabled{color:#9fad52}body.admin-color-coffee .components-button.is-secondary:active:enabled{color:#b89e85}body.admin-color-blue .components-button.is-secondary:active:enabled{color:#cea255}body.admin-color-light .components-button.is-secondary:active:enabled{color:#007eb1}.components-button.is-secondary:disabled,.components-button.is-secondary[aria-disabled=true]{color:#a0a5aa;border-color:#ddd;background:#f7f7f7;text-shadow:0 1px 0 #fff;transform:none;opacity:1}.components-button.is-primary{white-space:nowrap;background:#007cba;border:1px solid #007cba;color:#fff;text-decoration:none;text-shadow:none}body.admin-color-sunrise .components-button.is-primary{background:#d1864a;border-color:#d1864a}body.admin-color-ocean .components-button.is-primary{background:#a3b9a2;border-color:#a3b9a2}body.admin-color-midnight .components-button.is-primary{background:#e14d43;border-color:#e14d43}body.admin-color-ectoplasm .components-button.is-primary{background:#a7b656;border-color:#a7b656}body.admin-color-coffee .components-button.is-primary{background:#c2a68c;border-color:#c2a68c}body.admin-color-blue .components-button.is-primary{background:#d9ab59;border-color:#d9ab59}body.admin-color-light .components-button.is-primary{background:#0085ba;border-color:#0085ba}.components-button.is-primary:focus:enabled,.components-button.is-primary:not(:disabled):not([aria-disabled=true]):hover{background:#0070a7;border-color:#0070a7;color:#fff}body.admin-color-sunrise .components-button.is-primary:focus:enabled,body.admin-color-sunrise .components-button.is-primary:not(:disabled):not([aria-disabled=true]):hover{background:#bc7943;border-color:#bc7943}body.admin-color-ocean .components-button.is-primary:focus:enabled,body.admin-color-ocean .components-button.is-primary:not(:disabled):not([aria-disabled=true]):hover{background:#93a792;border-color:#93a792}body.admin-color-midnight .components-button.is-primary:focus:enabled,body.admin-color-midnight .components-button.is-primary:not(:disabled):not([aria-disabled=true]):hover{background:#cb453c;border-color:#cb453c}body.admin-color-ectoplasm .components-button.is-primary:focus:enabled,body.admin-color-ectoplasm .components-button.is-primary:not(:disabled):not([aria-disabled=true]):hover{background:#96a44d;border-color:#96a44d}body.admin-color-coffee .components-button.is-primary:focus:enabled,body.admin-color-coffee .components-button.is-primary:not(:disabled):not([aria-disabled=true]):hover{background:#af957e;border-color:#af957e}body.admin-color-blue .components-button.is-primary:focus:enabled,body.admin-color-blue .components-button.is-primary:not(:disabled):not([aria-disabled=true]):hover{background:#c39a50;border-color:#c39a50}body.admin-color-light .components-button.is-primary:focus:enabled,body.admin-color-light .components-button.is-primary:not(:disabled):not([aria-disabled=true]):hover{background:#0078a7;border-color:#0078a7}.components-button.is-primary:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #007cba}body.admin-color-sunrise .components-button.is-primary:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #d1864a}body.admin-color-ocean .components-button.is-primary:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #a3b9a2}body.admin-color-midnight .components-button.is-primary:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #e14d43}body.admin-color-ectoplasm .components-button.is-primary:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #a7b656}body.admin-color-coffee .components-button.is-primary:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #c2a68c}body.admin-color-blue .components-button.is-primary:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #d9ab59}body.admin-color-light .components-button.is-primary:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #0085ba}.components-button.is-primary:active:enabled{background:#006395;border-color:#006395;color:#fff}body.admin-color-sunrise .components-button.is-primary:active:enabled{background:#a76b3b;border-color:#a76b3b}body.admin-color-ocean .components-button.is-primary:active:enabled{background:#829482;border-color:#829482}body.admin-color-midnight .components-button.is-primary:active:enabled{background:#b43e36;border-color:#b43e36}body.admin-color-ectoplasm .components-button.is-primary:active:enabled{background:#869245;border-color:#869245}body.admin-color-coffee .components-button.is-primary:active:enabled{background:#9b8570;border-color:#9b8570}body.admin-color-blue .components-button.is-primary:active:enabled{background:#ae8947;border-color:#ae8947}body.admin-color-light .components-button.is-primary:active:enabled{background:#006a95;border-color:#006a95}.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:#66b0d6;background:#1989c1;border-color:#1989c1;opacity:1}body.admin-color-sunrise .components-button.is-primary:disabled,body.admin-color-sunrise .components-button.is-primary:disabled:active:enabled,body.admin-color-sunrise .components-button.is-primary[aria-disabled=true],body.admin-color-sunrise .components-button.is-primary[aria-disabled=true]:active:enabled,body.admin-color-sunrise .components-button.is-primary[aria-disabled=true]:enabled{color:#e3b692;background:#d6925c;border-color:#d6925c}body.admin-color-ocean .components-button.is-primary:disabled,body.admin-color-ocean .components-button.is-primary:disabled:active:enabled,body.admin-color-ocean .components-button.is-primary[aria-disabled=true],body.admin-color-ocean .components-button.is-primary[aria-disabled=true]:active:enabled,body.admin-color-ocean .components-button.is-primary[aria-disabled=true]:enabled{color:#c8d5c7;background:#acc0ab;border-color:#acc0ab}body.admin-color-midnight .components-button.is-primary:disabled,body.admin-color-midnight .components-button.is-primary:disabled:active:enabled,body.admin-color-midnight .components-button.is-primary[aria-disabled=true],body.admin-color-midnight .components-button.is-primary[aria-disabled=true]:active:enabled,body.admin-color-midnight .components-button.is-primary[aria-disabled=true]:enabled{color:#ed948e;background:#e45f56;border-color:#e45f56}body.admin-color-ectoplasm .components-button.is-primary:disabled,body.admin-color-ectoplasm .components-button.is-primary:disabled:active:enabled,body.admin-color-ectoplasm .components-button.is-primary[aria-disabled=true],body.admin-color-ectoplasm .components-button.is-primary[aria-disabled=true]:active:enabled,body.admin-color-ectoplasm .components-button.is-primary[aria-disabled=true]:enabled{color:#cad39a;background:#b0bd67;border-color:#b0bd67}body.admin-color-coffee .components-button.is-primary:disabled,body.admin-color-coffee .components-button.is-primary:disabled:active:enabled,body.admin-color-coffee .components-button.is-primary[aria-disabled=true],body.admin-color-coffee .components-button.is-primary[aria-disabled=true]:active:enabled,body.admin-color-coffee .components-button.is-primary[aria-disabled=true]:enabled{color:#dacaba;background:#c8af98;border-color:#c8af98}body.admin-color-blue .components-button.is-primary:disabled,body.admin-color-blue .components-button.is-primary:disabled:active:enabled,body.admin-color-blue .components-button.is-primary[aria-disabled=true],body.admin-color-blue .components-button.is-primary[aria-disabled=true]:active:enabled,body.admin-color-blue .components-button.is-primary[aria-disabled=true]:enabled{color:#e8cd9b;background:#ddb36a;border-color:#ddb36a}body.admin-color-light .components-button.is-primary:disabled,body.admin-color-light .components-button.is-primary:disabled:active:enabled,body.admin-color-light .components-button.is-primary[aria-disabled=true],body.admin-color-light .components-button.is-primary[aria-disabled=true]:active:enabled,body.admin-color-light .components-button.is-primary[aria-disabled=true]:enabled{color:#66b6d6;background:#1991c1;border-color:#1991c1}.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 #007cba}body.admin-color-sunrise .components-button.is-primary:disabled:active:enabled:focus:enabled,body.admin-color-sunrise .components-button.is-primary:disabled:focus:enabled,body.admin-color-sunrise .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,body.admin-color-sunrise .components-button.is-primary[aria-disabled=true]:enabled:focus:enabled,body.admin-color-sunrise .components-button.is-primary[aria-disabled=true]:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #d1864a}body.admin-color-ocean .components-button.is-primary:disabled:active:enabled:focus:enabled,body.admin-color-ocean .components-button.is-primary:disabled:focus:enabled,body.admin-color-ocean .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,body.admin-color-ocean .components-button.is-primary[aria-disabled=true]:enabled:focus:enabled,body.admin-color-ocean .components-button.is-primary[aria-disabled=true]:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #a3b9a2}body.admin-color-midnight .components-button.is-primary:disabled:active:enabled:focus:enabled,body.admin-color-midnight .components-button.is-primary:disabled:focus:enabled,body.admin-color-midnight .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,body.admin-color-midnight .components-button.is-primary[aria-disabled=true]:enabled:focus:enabled,body.admin-color-midnight .components-button.is-primary[aria-disabled=true]:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #e14d43}body.admin-color-ectoplasm .components-button.is-primary:disabled:active:enabled:focus:enabled,body.admin-color-ectoplasm .components-button.is-primary:disabled:focus:enabled,body.admin-color-ectoplasm .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,body.admin-color-ectoplasm .components-button.is-primary[aria-disabled=true]:enabled:focus:enabled,body.admin-color-ectoplasm .components-button.is-primary[aria-disabled=true]:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #a7b656}body.admin-color-coffee .components-button.is-primary:disabled:active:enabled:focus:enabled,body.admin-color-coffee .components-button.is-primary:disabled:focus:enabled,body.admin-color-coffee .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,body.admin-color-coffee .components-button.is-primary[aria-disabled=true]:enabled:focus:enabled,body.admin-color-coffee .components-button.is-primary[aria-disabled=true]:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #c2a68c}body.admin-color-blue .components-button.is-primary:disabled:active:enabled:focus:enabled,body.admin-color-blue .components-button.is-primary:disabled:focus:enabled,body.admin-color-blue .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,body.admin-color-blue .components-button.is-primary[aria-disabled=true]:enabled:focus:enabled,body.admin-color-blue .components-button.is-primary[aria-disabled=true]:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #d9ab59}body.admin-color-light .components-button.is-primary:disabled:active:enabled:focus:enabled,body.admin-color-light .components-button.is-primary:disabled:focus:enabled,body.admin-color-light .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,body.admin-color-light .components-button.is-primary[aria-disabled=true]:enabled:focus:enabled,body.admin-color-light .components-button.is-primary[aria-disabled=true]:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px #0085ba}.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,#007cba 28%,#006395 0,#006395 72%,#007cba 0);border-color:#007cba}body.admin-color-sunrise .components-button.is-primary.is-busy,body.admin-color-sunrise .components-button.is-primary.is-busy:disabled,body.admin-color-sunrise .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(-45deg,#d1864a 28%,#a76b3b 0,#a76b3b 72%,#d1864a 0);border-color:#d1864a}body.admin-color-ocean .components-button.is-primary.is-busy,body.admin-color-ocean .components-button.is-primary.is-busy:disabled,body.admin-color-ocean .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(-45deg,#a3b9a2 28%,#829482 0,#829482 72%,#a3b9a2 0);border-color:#a3b9a2}body.admin-color-midnight .components-button.is-primary.is-busy,body.admin-color-midnight .components-button.is-primary.is-busy:disabled,body.admin-color-midnight .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(-45deg,#e14d43 28%,#b43e36 0,#b43e36 72%,#e14d43 0);border-color:#e14d43}body.admin-color-ectoplasm .components-button.is-primary.is-busy,body.admin-color-ectoplasm .components-button.is-primary.is-busy:disabled,body.admin-color-ectoplasm .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(-45deg,#a7b656 28%,#869245 0,#869245 72%,#a7b656 0);border-color:#a7b656}body.admin-color-coffee .components-button.is-primary.is-busy,body.admin-color-coffee .components-button.is-primary.is-busy:disabled,body.admin-color-coffee .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(-45deg,#c2a68c 28%,#9b8570 0,#9b8570 72%,#c2a68c 0);border-color:#c2a68c}body.admin-color-blue .components-button.is-primary.is-busy,body.admin-color-blue .components-button.is-primary.is-busy:disabled,body.admin-color-blue .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(-45deg,#d9ab59 28%,#ae8947 0,#ae8947 72%,#d9ab59 0);border-color:#d9ab59}body.admin-color-light .components-button.is-primary.is-busy,body.admin-color-light .components-button.is-primary.is-busy:disabled,body.admin-color-light .components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(-45deg,#0085ba 28%,#006a95 0,#006a95 72%,#0085ba 0);border-color:#0085ba}.components-button.is-link{margin:0;padding:0;box-shadow:none;border:0;border-radius:0;background:none;outline:none;text-align:left;color:#0073aa;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}}.components-button.is-link:active,.components-button.is-link:not(:disabled):not([aria-disabled=true]):hover{color:#00a0d2}.components-button.is-link:focus{color:#124964;box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.components-button.is-link.is-destructive{color:#d94f4f}.components-button:active{color:inherit}.components-button:disabled,.components-button[aria-disabled=true]{cursor:default;opacity:.3}.components-button:focus:not(:disabled){background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;outline:2px solid transparent}.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;background-size:100px 100%;background-image:repeating-linear-gradient(-45deg,#e2e4e7,#fff 11px,#fff 0,#e2e4e7 20px);opacity:1}.components-button.is-small{height:24px;line-height:22px;padding:0 8px;font-size:11px}.components-button.is-tertiary{color:#007cba}body.admin-color-sunrise .components-button.is-tertiary{color:#837425}body.admin-color-ocean .components-button.is-tertiary{color:#5e7d5e}body.admin-color-midnight .components-button.is-tertiary{color:#497b8d}body.admin-color-ectoplasm .components-button.is-tertiary{color:#523f6d}body.admin-color-coffee .components-button.is-tertiary{color:#59524c}body.admin-color-blue .components-button.is-tertiary{color:#417e9b}body.admin-color-light .components-button.is-tertiary{color:#007cba}.components-button.is-tertiary .dashicon{display:inline-block;flex:0 0 auto}.components-button.is-tertiary svg{fill:currentColor;outline:none}.components-button.is-tertiary:active:focus:enabled{box-shadow:none}.components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):hover{color:#005d8c}body.admin-color-sunrise .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):hover{color:#62571c}body.admin-color-ocean .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):hover{color:#475e47}body.admin-color-midnight .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):hover{color:#375c6a}body.admin-color-ectoplasm .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):hover{color:#3e2f52}body.admin-color-coffee .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):hover{color:#433e39}body.admin-color-blue .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):hover{color:#315f74}body.admin-color-light .components-button.is-tertiary:not(:disabled):not([aria-disabled=true]):hover{color:#005d8c}.components-button.has-icon .dashicon{display:inline-block;flex:0 0 auto}.components-button.has-icon svg{fill:currentColor;outline:none}.components-button.has-icon.has-text svg{margin-right:8px}.components-button .screen-reader-text{height:auto}@keyframes components-button__busy-animation{0%{background-position:200px 0}}.components-checkbox-control__input[type=checkbox]{border:1px solid #b4b9be;background:#fff;color:#555;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:25px;height:25px;-webkit-appearance:none;box-shadow:inset 0 1px 2px rgba(0,0,0,.1);transition:border-color .05s ease-in-out}@media (min-width:600px){.components-checkbox-control__input[type=checkbox]{height:16px;width:16px}}.components-checkbox-control__input[type=checkbox]:focus{border-color:#5b9dd9;box-shadow:0 0 2px rgba(30,140,190,.8);outline:2px solid transparent}.components-checkbox-control__input[type=checkbox]:checked{background:#11a0d2;border-color:#11a0d2}.components-checkbox-control__input[type=checkbox]:checked::-ms-check{opacity:0}.components-checkbox-control__input[type=checkbox]:focus:checked{border:none}.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:25px;height:25px}@media (min-width:600px){.components-checkbox-control__input-container{width:16px;height:16px}}svg.dashicon.components-checkbox-control__checked{fill:#fff;cursor:pointer;position:absolute;left:-4px;top:-2px;width:31px;height:31px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}@media (min-width:600px){svg.dashicon.components-checkbox-control__checked{width:21px;height:21px;left:-3px}}.components-circular-option-picker{display:inline-block;margin-top:.6rem;width:100%}.components-circular-option-picker .components-circular-option-picker__custom-clear-wrapper{display:flex;justify-content:flex-end}.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}}.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}}.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}.components-circular-option-picker__option.is-pressed+.dashicons-saved{position:absolute;left:4px;top:4px;border-radius:50%;z-index:2;background:#fff;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 #606a73;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:transparent;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}.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%;overflow:hidden}.components-color-picker *{box-sizing:border-box}.components-color-picker .components-button{padding:6px}.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:hidden}.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-color-picker__saturation-pointer{width:8px;height:8px;box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px rgba(0,0,0,.3),0 0 1px 2px rgba(0,0,0,.4);border-radius:50%;background-color:transparent;transform:translate(-4px,-4px)}.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}}.components-color-picker__saturation-pointer:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #00a0d2,0 0 5px 0 #00a0d2,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:#00a0d2;box-shadow:0 0 0 2px #00a0d2,0 0 3px 0 #00a0d2;outline:2px solid transparent;outline-offset:-2px}.components-color-picker__inputs-wrapper{margin:0 -4px;padding-top:16px;display:flex;align-items:flex-end}.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 8px}.components-color-picker__inputs-field{width:100%}.components-color-picker__inputs-fields{display:flex;direction:ltr;flex-grow:1}.components-color-picker__inputs-fields .components-base-control+.components-base-control{margin-bottom:0}.components-color-picker__inputs-fields .components-base-control__field{margin:0 4px}.components-custom-gradient-picker:not(.has-gradient){opacity:.4}.components-custom-gradient-picker{width:100%;height:24px;border-radius:24px;margin-bottom:8px;padding-left:3px;padding-right:21px}.components-custom-gradient-picker .components-custom-gradient-picker__markers-container{position:relative}.components-custom-gradient-picker .components-custom-gradient-picker__insert-point{border-radius:50%;background:#fff;padding:2px;width:24px;height:24px;position:relative}.components-custom-gradient-picker .components-custom-gradient-picker__control-point-button{border:2px solid #fff;border-radius:50%;height:18px;position:absolute;width:18px;top:3px}.components-custom-gradient-picker .components-custom-gradient-picker__control-point-button.is-active{background:#fafafa;color:#23282d;border-color:#999;box-shadow:inset 0 -1px 0 #999,0 0 0 1px #fff,0 0 0 3px #007cba}.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-select-control{color:#555d66;position:relative}.components-custom-select-control__label{display:block;margin-bottom:5px}.components-custom-select-control__button{border:1px solid #7e8993;border-radius:4px;color:#555d66;display:inline;min-height:30px;min-width:130px;position:relative;text-align:left}.components-custom-select-control__button:focus{border-color:#00a0d2}.components-custom-select-control__button-icon{height:100%;padding:0 4px;position:absolute;right:0;top:0}.components-custom-select-control__menu{background:#fff;min-width:100%;padding:0;position:absolute;z-index:1000000}.components-custom-select-control__item{align-items:center;display:flex;list-style-type:none;padding:10px 5px 10px 25px}.components-custom-select-control__item.is-highlighted{background:#e2e4e7}.components-custom-select-control__item-icon{margin-left:-20px;margin-right:0}svg.dashicon{fill:currentColor;outline:none}.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;-moz-user-select:none;-ms-user-select:none;user-select:none}.CalendarMonth_table{border-collapse:collapse;border-spacing:0}.CalendarMonth_verticalSpacing{border-collapse:separate}.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:9px}.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;-moz-user-select:none;-ms-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:9px}.DayPicker_weekHeader{color:#757575;position:absolute;top:62px;z-index:2;text-align:left}.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}.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;-moz-user-select:none;-ms-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,.components-datetime .components-datetime__calendar-help{padding:16px}.components-datetime .components-datetime__calendar-help h4{margin:0}.components-datetime .components-datetime__date-help-button{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:4px;border:1px solid #7e8993}@media (prefers-reduced-motion:reduce){.components-datetime input,.components-datetime select{transition-duration: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 #e2e4e7}.components-datetime__date .DayPickerNavigation_leftButton__horizontalDefault{left:0}.components-datetime__date .CalendarMonth_caption{font-size:13px}.components-datetime__date .CalendarDay{font-size:13px;border:1px solid transparent;border-radius:50%;text-align:center}.components-datetime__date .CalendarDay__selected{background:#0085ba}body.admin-color-sunrise .components-datetime__date .CalendarDay__selected{background:#d1864a}body.admin-color-ocean .components-datetime__date .CalendarDay__selected{background:#a3b9a2}body.admin-color-midnight .components-datetime__date .CalendarDay__selected{background:#e14d43}body.admin-color-ectoplasm .components-datetime__date .CalendarDay__selected{background:#a7b656}body.admin-color-coffee .components-datetime__date .CalendarDay__selected{background:#c2a68c}body.admin-color-blue .components-datetime__date .CalendarDay__selected{background:#82b4cb}body.admin-color-light .components-datetime__date .CalendarDay__selected{background:#0085ba}.components-datetime__date .CalendarDay__selected:hover{background:#00719e}body.admin-color-sunrise .components-datetime__date .CalendarDay__selected:hover{background:#b2723f}body.admin-color-ocean .components-datetime__date .CalendarDay__selected:hover{background:#8b9d8a}body.admin-color-midnight .components-datetime__date .CalendarDay__selected:hover{background:#bf4139}body.admin-color-ectoplasm .components-datetime__date .CalendarDay__selected:hover{background:#8e9b49}body.admin-color-coffee .components-datetime__date .CalendarDay__selected:hover{background:#a58d77}body.admin-color-blue .components-datetime__date .CalendarDay__selected:hover{background:#6f99ad}body.admin-color-light .components-datetime__date .CalendarDay__selected:hover{background:#00719e}.components-datetime__date .DayPickerNavigation_button__horizontalDefault{padding:2px 8px;top:20px}.components-datetime__date .DayPickerNavigation_button__horizontalDefault:focus{color:#191e23;border-color:#007cba;box-shadow:0 0 0 1px #007cba;outline:2px solid transparent}.components-datetime__date .DayPicker_weekHeader{top:50px}.components-datetime__date .DayPicker_weekHeader .DayPicker_weekHeader_ul{margin:1px 0;padding-left:0;padding-right:0}.components-datetime__date.is-description-visible .components-datetime__date-help-button,.components-datetime__date.is-description-visible .DayPicker{visibility:hidden}.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;color:#555d66}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-am-button{margin-left:8px;margin-right:-1px;border-radius:3px 0 0 3px}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-pm-button{margin-left:-1px;border-radius:0 3px 3px 0}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-am-button:focus,.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-pm-button:focus{position:relative;z-index:1}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-am-button.is-pressed,.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-pm-button.is-pressed{background:#edeff0;border-color:#8f98a1;box-shadow:inset 0 2px 5px -3px #555d66}.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-am-button.is-pressed:focus,.components-datetime__time .components-datetime__time-wrapper .components-datetime__time-pm-button.is-pressed:focus{box-shadow:inset 0 2px 5px -3px #555d66,0 0 0 1px #fff,0 0 0 3px #007cba}.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.am-pm button{font-size:11px;font-weight:600}.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:0 -4px 0 0!important;border-radius:4px 0 0 4px!important}.components-datetime__time.is-12-hour .components-datetime__time-field-year input{border-radius:0 4px 4px 0!important}.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}.components-disabled{position:relative;pointer-events:none}.components-disabled:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0}.components-disabled *{pointer-events:none}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:20px;background:transparent;pointer-events:none;z-index:1000000000;opacity:.8}.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 #0071a1;border-radius:2px}@media (prefers-reduced-motion:reduce){.components-drop-zone{transition-duration: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}}.components-drop-zone.is-dragging-over-element{background-color:rgba(0,113,161,.8)}.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}}.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}.components-drop-zone__content-text{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.components-drop-zone__provider{height:100%}.components-dropdown{display:inline-block}.components-dropdown-menu__indicator:after{content:"";pointer-events:none;display:block;width:0;height:0;border-left:3px solid transparent;border-right:3px solid transparent;border-top:5px solid;margin-left:4px;margin-right:2px}.components-dropdown-menu__popover .components-popover__content{width:200px}.components-dropdown-menu__menu{width:100%;padding:7px 0;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;margin-bottom:4px}.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:content-box;background-color:#e2e4e7;position:absolute;top:-3px;left:0;right:0;height:1px}.components-dropdown-menu__menu .components-dropdown-menu__menu-item:focus:not(:disabled):not([aria-disabled=true]):not(.is-secondary),.components-dropdown-menu__menu .components-menu-item:focus:not(:disabled):not([aria-disabled=true]):not(.is-secondary){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.components-dropdown-menu__menu .components-dropdown-menu__menu-item:hover,.components-dropdown-menu__menu .components-dropdown-menu__menu-item:not(:disabled):not([aria-disabled=true]):not(.is-secondary):not(.is-tertiary):not(.is-primary):hover,.components-dropdown-menu__menu .components-menu-item:hover,.components-dropdown-menu__menu .components-menu-item:not(:disabled):not([aria-disabled=true]):not(.is-secondary):not(.is-tertiary):not(.is-primary):hover{color:#191e23;border:none;background:#f3f4f5;box-shadow:none}.components-dropdown-menu__menu .components-dropdown-menu__menu-item>svg,.components-dropdown-menu__menu .components-menu-item>svg{border-radius:4px;padding:2px;width:24px;height:24px;margin:-1px 8px -1px 0}.components-dropdown-menu__menu .components-dropdown-menu__menu-item:not(:disabled):not([aria-disabled=true]):not(.is-secondary).is-active>svg,.components-dropdown-menu__menu .components-menu-item:not(:disabled):not([aria-disabled=true]):not(.is-secondary).is-active>svg{outline:none;color:#fff;box-shadow:none;background:#555d66}.components-dropdown-menu__menu .components-menu-group:not(:last-child){border-bottom:1px solid #e2e4e7}.components-dropdown-menu__menu .components-menu-item__button,.components-dropdown-menu__menu .components-menu-item__button.components-button{height:auto;padding-left:2rem}.components-dropdown-menu__menu .components-menu-item__button.components-button.has-icon,.components-dropdown-menu__menu .components-menu-item__button.has-icon{padding-left:.5rem}.components-dropdown-menu__menu .components-menu-item__button.components-button .dashicon,.components-dropdown-menu__menu .components-menu-item__button .dashicon{margin-right:4px}.components-external-link__icon{width:1.4em;height:1.4em;margin:-.2em .1em 0;vertical-align:middle}.components-focal-point-picker-wrapper{background-color:transparent;border:1px solid #e2e4e7;height:200px;width:100%;padding:14px}.components-focal-point-picker{align-items:center;cursor:pointer;display:flex;height:100%;justify-content:center;position:relative;width:100%}.components-focal-point-picker img{height:auto;max-height:100%;max-width:100%;width:auto;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.components-focal-point-picker__icon_container{background-color:transparent;cursor:grab;height:30px;opacity:.8;position:absolute;will-change:transform;width:30px;z-index:10000}.components-focal-point-picker__icon_container.is-dragging{cursor:grabbing}.components-focal-point-picker__icon{display:block;height:100%;left:-15px;position:absolute;top:-15px;width:100%}.components-focal-point-picker__icon .components-focal-point-picker__icon-outline{fill:#fff}.components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#0085ba}body.admin-color-sunrise .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#d1864a}body.admin-color-ocean .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#a3b9a2}body.admin-color-midnight .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#e14d43}body.admin-color-ectoplasm .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#a7b656}body.admin-color-coffee .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#c2a68c}body.admin-color-blue .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#82b4cb}body.admin-color-light .components-focal-point-picker__icon .components-focal-point-picker__icon-fill{fill:#0085ba}.components-focal-point-picker_position-display-container{margin:1em 0;display:flex}.components-focal-point-picker_position-display-container .components-base-control__field{margin:0 1em 0 0}.components-focal-point-picker_position-display-container input[type=number].components-text-control__input{max-width:4em;padding:6px 4px}.components-focal-point-picker_position-display-container span{margin:0 0 0 .2em}.components-font-size-picker__controls{max-width:248px;display:flex;align-items:center;margin-bottom:24px}.components-font-size-picker__controls .components-range-control__number{height:30px;margin:5px 8px 0 0}.components-font-size-picker__controls .components-range-control__number[value=""]+.components-button{cursor:default;opacity:.3;pointer-events:none}.components-font-size-picker__controls .components-range-control__number-container{display:flex;flex-direction:column}.components-font-size-picker__controls .components-font-size-picker__select{margin-right:8px;flex-grow:1}.components-font-size-picker__controls .components-color-palette__clear{height:30px;margin-top:23px}.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__off,.components-form-toggle .components-form-toggle__on{position:absolute;top:6px;box-sizing:border-box}.components-form-toggle .components-form-toggle__off{color:#6c7781;fill:currentColor;right:6px}.components-form-toggle .components-form-toggle__on{left:8px}.components-form-toggle .components-form-toggle__track{content:"";display:inline-block;box-sizing:border-box;vertical-align:top;background-color:#fff;border:2px solid #6c7781;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}}.components-form-toggle .components-form-toggle__thumb{display:block;position:absolute;box-sizing:border-box;top:4px;left:4px;width:10px;height:10px;border-radius:50%;transition:transform .1s ease;background-color:#6c7781;border:5px solid #6c7781}@media (prefers-reduced-motion:reduce){.components-form-toggle .components-form-toggle__thumb{transition-duration:0s}}.components-form-toggle:hover .components-form-toggle__track{border:2px solid #555d66}.components-form-toggle:hover .components-form-toggle__thumb{background-color:#555d66;border:5px solid #6c7781}.components-form-toggle:hover .components-form-toggle__off{color:#555d66}.components-form-toggle.is-checked .components-form-toggle__track{background-color:#11a0d2;border:9px solid transparent}body.admin-color-sunrise .components-form-toggle.is-checked .components-form-toggle__track{background-color:#c8b03c;border:2px solid #c8b03c}body.admin-color-ocean .components-form-toggle.is-checked .components-form-toggle__track{background-color:#a3b9a2;border:2px solid #a3b9a2}body.admin-color-midnight .components-form-toggle.is-checked .components-form-toggle__track{background-color:#77a6b9;border:2px solid #77a6b9}body.admin-color-ectoplasm .components-form-toggle.is-checked .components-form-toggle__track{background-color:#a7b656;border:2px solid #a7b656}body.admin-color-coffee .components-form-toggle.is-checked .components-form-toggle__track{background-color:#c2a68c;border:2px solid #c2a68c}body.admin-color-blue .components-form-toggle.is-checked .components-form-toggle__track{background-color:#82b4cb;border:2px solid #82b4cb}body.admin-color-light .components-form-toggle.is-checked .components-form-toggle__track{background-color:#11a0d2;border:2px solid #11a0d2}.components-form-toggle__input:focus+.components-form-toggle__track{box-shadow:0 0 0 2px #fff,0 0 0 3px #6c7781;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-form-toggle.is-checked:before{background-color:#11a0d2;border:2px solid #11a0d2}body.admin-color-sunrise .components-form-toggle.is-checked:before{background-color:#c8b03c;border:2px solid #c8b03c}body.admin-color-ocean .components-form-toggle.is-checked:before{background-color:#a3b9a2;border:2px solid #a3b9a2}body.admin-color-midnight .components-form-toggle.is-checked:before{background-color:#77a6b9;border:2px solid #77a6b9}body.admin-color-ectoplasm .components-form-toggle.is-checked:before{background-color:#a7b656;border:2px solid #a7b656}body.admin-color-coffee .components-form-toggle.is-checked:before{background-color:#c2a68c;border:2px solid #c2a68c}body.admin-color-blue .components-form-toggle.is-checked:before{background-color:#82b4cb;border:2px solid #82b4cb}body.admin-color-light .components-form-toggle.is-checked:before{background-color:#11a0d2;border:2px solid #11a0d2}.components-disabled .components-form-toggle{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-toggle .components-form-toggle__on{outline:1px solid transparent;outline-offset:-1px;border:1px solid #000;filter:invert(100%) contrast(500%)}@supports (-ms-high-contrast-adjust:auto){.components-form-toggle .components-form-toggle__on{filter:none;border:1px solid #fff}}.components-form-token-field__input-container{display:flex;flex-wrap:wrap;align-items:flex-start;width:100%;margin:0 0 8px;padding:4px;background-color:#fff;color:#32373c;cursor:text;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:4px;border:1px solid #7e8993}@media (prefers-reduced-motion:reduce){.components-form-token-field__input-container{transition-duration:0s}}.components-form-token-field__input-container.is-disabled{background:#e2e4e7;border-color:#ccd0d4}.components-form-token-field__input-container.is-active{color:#191e23;border-color:#007cba;box-shadow:0 0 0 1px #007cba;outline:2px solid transparent}.components-form-token-field__input-container input[type=text].components-form-token-field__input{display:inline-block;width:100%;max-width:100%;margin:2px 0 2px 8px;padding:0;min-height:24px;background:inherit;border:0;color:#23282d;box-shadow:none}.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-style:italic}.components-form-token-field__token{font-size:13px;display:flex;margin:2px 4px 2px 0;color:#32373c;overflow:hidden}.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:#d94f4f}.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:#555d66}.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:#11a0d2}body.admin-color-sunrise .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#c8b03c}body.admin-color-ocean .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#a89d8a}body.admin-color-midnight .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#77a6b9}body.admin-color-ectoplasm .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#c77430}body.admin-color-coffee .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#9fa47b}body.admin-color-blue .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#d9ab59}body.admin-color-light .components-form-token-field__token.is-borderless .components-form-token-field__token-text{color:#c75726}.components-form-token-field__token.is-borderless .components-form-token-field__remove-token{background:transparent;color:#555d66;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:#d94f4f;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:#23282d}.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;background:#e2e4e7;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;animation-duration:1ms}}.components-form-token-field__token-text{border-radius:12px 0 0 12px;padding:0 4px 0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.components-form-token-field__remove-token.components-button{cursor:pointer;border-radius:0 12px 12px 0;padding:0 2px;color:#555d66;line-height:10px;overflow:initial}.components-form-token-field__remove-token.components-button:hover{color:#32373c}.components-form-token-field__suggestions-list{flex:1 0 100%;min-width:100%;max-height:9em;overflow-y:scroll;transition:all .15s ease-in-out;list-style:none;border-top:1px solid #6c7781;margin:4px -4px -4px;padding-top:3px}@media (prefers-reduced-motion:reduce){.components-form-token-field__suggestions-list{transition-duration:0s}}.components-form-token-field__suggestion{color:#555d66;display:block;font-size:13px;padding:4px 8px;cursor:pointer}.components-form-token-field__suggestion.is-selected{background:#0071a1;color:#fff}.components-form-token-field__suggestion-match{text-decoration:underline}.components-guide .components-modal__header{background:none;border-bottom:none}.components-guide .components-modal__header .components-button{align-self:flex-start;margin-top:24px;position:static}.components-guide__container{display:flex;flex-direction:column;margin-top:-56px;min-height:100%}.components-guide__footer{align-content:center;display:flex;height:30px;justify-content:center;margin:auto 0 24px;position:relative;width:100%}@media (min-width:600px){.components-guide__footer{margin:24px 0 0}}.components-guide__page-control{margin:0}.components-guide__page-control li{display:inline-block;margin:0 2px}.components-guide__page-control .components-button{height:30px}@media (max-width:600px){.components-modal__frame.components-guide{bottom:15%;left:24px;right:24px;top:15%}}.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:0;padding:4px 2px}.components-button.components-guide__back-button.has-text svg,.components-button.components-guide__forward-button.has-text svg{margin:0}@media (min-width:600px){.components-button.components-guide__back-button,.components-button.components-guide__forward-button{font-size:13px}}.components-button.components-guide__back-button{left:0}@media (min-width:600px){.components-button.components-guide__back-button{padding:4px 8px 4px 2px}.components-button.components-guide__back-button.has-text svg{margin-right:4px}}.components-button.components-guide__forward-button{right:0}@media (min-width:600px){.components-button.components-guide__forward-button{padding:4px 2px 4px 8px}.components-button.components-guide__forward-button.has-text svg{margin-left:4px;order:1}}.components-button.components-guide__finish-button{display:none;right:0}@media (min-width:600px){.components-button.components-guide__finish-button{display:block}}@media (min-width:600px){.components-button.components-guide__inline-finish-button{display:none}}.components-navigate-regions.is-focusing-regions [role=region]{position:relative}.components-navigate-regions.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 #33b3db}@supports (outline-offset:1px){.components-navigate-regions.is-focusing-regions [role=region]:focus:after{content:none}.components-navigate-regions.is-focusing-regions [role=region]:focus{outline-style:solid;outline-color:#33b3db;outline-width:4px;outline-offset:-4px}}.components-menu-group{width:100%;padding:7px 0}.components-menu-group__label{margin-bottom:8px;color:#6c7781;padding:0 7px}.components-menu-item__button,.components-menu-item__button.components-button{width:100%;padding:8px 15px;text-align:left;color:#40464d;border:none;box-shadow:none}.components-menu-item__button.components-button .components-menu-items__item-icon,.components-menu-item__button.components-button .dashicon,.components-menu-item__button.components-button>span>svg,.components-menu-item__button .components-menu-items__item-icon,.components-menu-item__button .dashicon,.components-menu-item__button>span>svg{margin-right:5px}.components-menu-item__button.components-button .components-menu-items__item-icon,.components-menu-item__button .components-menu-items__item-icon{display:inline-block;flex:0 0 auto}.components-menu-item__button.components-button.components-button:not(:disabled):not([aria-disabled=true]):not(.is-secondary):not(.is-tertiary):not(.is-primary):hover,.components-menu-item__button.components-button:not(:disabled):not([aria-disabled=true]):not(.is-secondary):not(.is-tertiary):not(.is-primary):hover{color:#191e23;border:none;box-shadow:none;background:#f3f4f5}.components-menu-item__button.components-button.components-button:not(:disabled):not([aria-disabled=true]):not(.is-secondary):not(.is-tertiary):not(.is-primary):hover .components-menu-item__shortcut,.components-menu-item__button.components-button:not(:disabled):not([aria-disabled=true]):not(.is-secondary):not(.is-tertiary):not(.is-primary):hover .components-menu-item__shortcut{color:#40464d}.components-menu-item__button.components-button:focus:not(:disabled):not([aria-disabled=true]),.components-menu-item__button:focus:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.components-menu-item__info-wrapper{display:flex;flex-direction:column}.components-menu-item__info{margin-top:4px;font-size:12px;color:#6c7781}.components-menu-item__shortcut{-ms-grid-row-align:center;align-self:center;color:#6c7781;margin-right:0;margin-left:auto;padding-left:8px;display:none}@media (min-width:480px){.components-menu-item__shortcut{display:inline}}.components-menu-items-choice,.components-menu-items-choice.components-button{padding-left:2rem}.components-menu-items-choice.components-button.has-icon,.components-menu-items-choice.has-icon{padding-left:.5rem}.components-menu-items-choice.components-button .dashicon,.components-menu-items-choice .dashicon{margin-right:4px}.components-modal__screen-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0,0,0,.7);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}}.components-modal__frame{position:absolute;top:0;right:0;bottom:0;left:0;box-sizing:border-box;margin:0;border:1px solid #e2e4e7;background:#fff;box-shadow:0 3px 30px rgba(25,30,35,.2);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:calc(100% - 112px);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}}@keyframes components-modal__appear-animation{0%{margin-top:32px}to{margin-top:0}}.components-modal__header{box-sizing:border-box;border-bottom:1px solid #e2e4e7;padding:0 24px;display:flex;flex-direction:row;justify-content:space-between;background:#fff;align-items:center;height:56px;z-index:10;position:relative;position:-webkit-sticky;position:sticky;top:0;margin:0 -24px 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 24px 24px}@supports (-ms-ime-align:auto){.components-modal__content{padding-top:56px}}.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:#e5f5fa;border-left:4px solid #00a0d2;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:#d94f4f;background-color:#f9e2e2}.components-notice__content{flex-grow:1;margin:4px 25px 4px 0}.components-notice__action.components-button,.components-notice__action.components-button.is-link{margin-left:4px}.components-notice__action.components-button.is-secondary{vertical-align:initial}.components-notice__dismiss{color:#6c7781;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:#191e23;background-color:transparent}.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:1.6}.components-notice-list .components-notice__action.components-button{margin-top:-2px;margin-bottom:-2px}.components-panel{background:#fff;border:1px solid #e2e4e7}.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 #e2e4e7;border-bottom:1px solid #e2e4e7}.components-panel__body h3{margin:0 0 .5em}.components-panel__body.is-opened{padding:16px}.components-panel__body>.components-button{color:#191e23}.components-panel__header{display:flex;justify-content:space-between;align-items:center;padding:0 16px;height:50px;border-top:1px solid #e2e4e7;border-bottom:1px solid #e2e4e7}.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}}.components-panel__body.is-opened>.components-panel__body-title{margin:-16px -16px 5px}.components-panel__body>.components-panel__body-title:hover{background:#f3f4f5!important;border:none!important}.components-panel__body-toggle.components-button{position:relative;padding:15px;outline:none;width:100%;font-weight:600;text-align:left;color:#191e23;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}}.components-panel__body-toggle.components-button:focus:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.components-panel__body-toggle.components-button:hover{background:transparent!important;border:none!important;box-shadow:none!important}.components-panel__body-toggle.components-button .components-panel__arrow{position:absolute;right:10px;top:50%;transform:translateY(-50%);color:#191e23;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}}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:#555d66;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:20px}.components-panel__row select{min-width:0}.components-panel__row label{margin-right:10px;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{position:relative;margin-bottom:28px;padding:1em;min-height:200px;width:100%;text-align:left;background:rgba(139,139,150,.1)}@supports ((position:-webkit-sticky) or (position:sticky)){.components-placeholder.components-placeholder{display:flex;flex-direction:column;justify-content:center;align-items:flex-start}}.is-dark-theme .components-placeholder.components-placeholder{background:hsla(0,0%,100%,.15)}.components-placeholder.components-placeholder .components-base-control__label{font-size:13px}.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:1em}.components-placeholder__label .block-editor-block-icon,.components-placeholder__label .dashicon,.components-placeholder__label>svg{fill:currentColor;margin-right:1ch}.components-placeholder__fieldset,.components-placeholder__fieldset form{display:flex;flex-direction:row;width:100%;flex-wrap:wrap;z-index:1}.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{margin-top:0;margin-right:8px;flex:1 1 auto}.components-placeholder__instructions{margin-bottom:1em}.components-placeholder__preview img{margin:3%;width:50%}.components-placeholder__fieldset .components-button{margin-right:8px;margin-bottom:8px}.components-placeholder__fieldset .components-button:last-child{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-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 .block-editor-block-icon{display:none}.components-placeholder.is-small .components-button{padding:0 8px 2px} -/*!rtl:begin:ignore*/.components-popover{position:fixed;z-index:1000000;left:50%;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 #e2e4e7}.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__content{box-shadow:0 3px 30px rgba(25,30,35,.1);border:1px solid #e2e4e7;background:#fff;height:100%}.components-popover .components-popover__content{position:absolute;height:auto;overflow-y:auto;min-width:260px}.components-popover.is-expanded .components-popover__content{position:static;height:calc(100% - 50px);overflow-y:visible;min-width:auto;border:none;border-top:1px solid #e2e4e7}.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:-24px}.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:-24px}.components-popover__content>div{height:100%}.components-popover__header{align-items:center;background:#fff;display:flex;height:50px;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-icon-button{z-index:5} +/*!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 #e2e4e7}.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__content{box-shadow:0 3px 30px rgba(25,30,35,.1);border:1px solid #e2e4e7;background:#fff;height:100%}.components-popover .components-popover__content{position:absolute;height:auto;overflow-y:auto;min-width:260px}.components-popover.is-expanded .components-popover__content{position:static;height:calc(100% - 50px);overflow-y:visible;min-width:auto;border:none;border-top:1px solid #e2e4e7}.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:-24px}.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:-24px}.components-popover__content>div{height:100%}.components-popover__header{align-items:center;background:#fff;display:flex;height:50px;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} -/*!rtl:end:ignore*/.components-radio-control{display:flex;flex-direction:column}.components-radio-control .components-base-control__help{margin-top:0}.components-radio-control__option:not(:last-child){margin-bottom:4px}.components-radio-control__input[type=radio]{margin-top:0;margin-right:6px}.components-range-control .components-base-control__field{display:flex;justify-content:center;flex-wrap:wrap;align-items:center}.components-range-control .dashicon{flex-shrink:0;margin-right:10px}.components-range-control .components-base-control__label{width:100%}.components-range-control .components-range-control__slider{margin-left:0;flex:1}.components-range-control__reset{margin-left:8px}.components-range-control__slider{width:100%;margin-left:8px;padding:0;-webkit-appearance:none;background:transparent}.components-range-control__slider::-webkit-slider-thumb{-webkit-appearance:none;height:18px;width:18px;border-radius:50%;cursor:pointer;background:#555d66;border:4px solid transparent;background-clip:padding-box;box-sizing:border-box;margin-top:-7px}.components-range-control__slider::-moz-range-thumb{height:18px;width:18px;border-radius:50%;cursor:pointer;background:#555d66;border:4px solid transparent;background-clip:padding-box;box-sizing:border-box}.components-range-control__slider::-ms-thumb{height:18px;width:18px;border-radius:50%;cursor:pointer;background:#555d66;background-clip:padding-box;box-sizing:border-box;margin-top:0;height:14px;width:14px;border:2px solid transparent}.components-range-control__slider:focus{outline:none}.components-range-control__slider:focus::-webkit-slider-thumb{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;outline:2px solid transparent}.components-range-control__slider:focus::-moz-range-thumb{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;outline:2px solid transparent}.components-range-control__slider:focus::-ms-thumb{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;outline:2px solid transparent}.components-range-control__slider::-webkit-slider-runnable-track{height:3px;cursor:pointer;background:#e2e4e7;border-radius:1.5px;margin-top:-4px}.components-range-control__slider::-moz-range-track{height:3px;cursor:pointer;background:#e2e4e7;border-radius:1.5px}.components-range-control__slider::-ms-track{margin-top:-4px;background:transparent;border-color:transparent;color:transparent;height:3px;cursor:pointer;background:#e2e4e7;border-radius:1.5px}.components-range-control__number{display:inline-block;margin-left:8px;font-weight:500;width:54px}.components-resizable-box__handle{display:none;width:23px;height:23px}.components-resizable-box__container.has-show-handle .components-resizable-box__handle,.components-resizable-box__container.is-selected .components-resizable-box__handle{display:block}.components-resizable-box__handle:after{display:block;content:"";width:15px;height:15px;border:2px solid #fff;border-radius:50%;background:#0085ba;cursor:inherit;position:absolute;top:calc(50% - 8px);right:calc(50% - 8px)}body.admin-color-sunrise .components-resizable-box__handle:after{background:#d1864a}body.admin-color-ocean .components-resizable-box__handle:after{background:#a3b9a2}body.admin-color-midnight .components-resizable-box__handle:after{background:#e14d43}body.admin-color-ectoplasm .components-resizable-box__handle:after{background:#a7b656}body.admin-color-coffee .components-resizable-box__handle:after{background:#c2a68c}body.admin-color-blue .components-resizable-box__handle:after{background:#82b4cb}body.admin-color-light .components-resizable-box__handle:after{background:#0085ba}.components-resizable-box__side-handle:before{display:block;content:"";width:7px;height:7px;border:2px solid #fff;background:#0085ba;cursor:inherit;position:absolute;top:calc(50% - 4px);right:calc(50% - 4px);transition:transform .1s ease-in;opacity:0}body.admin-color-sunrise .components-resizable-box__side-handle:before{background:#d1864a}body.admin-color-ocean .components-resizable-box__side-handle:before{background:#a3b9a2}body.admin-color-midnight .components-resizable-box__side-handle:before{background:#e14d43}body.admin-color-ectoplasm .components-resizable-box__side-handle:before{background:#a7b656}body.admin-color-coffee .components-resizable-box__side-handle:before{background:#c2a68c}body.admin-color-blue .components-resizable-box__side-handle:before{background:#82b4cb}body.admin-color-light .components-resizable-box__side-handle:before{background:#0085ba}@media (prefers-reduced-motion:reduce){.components-resizable-box__side-handle:before{transition-duration:0s}}.is-dark-theme .components-resizable-box__handle:after,.is-dark-theme .components-resizable-box__side-handle:before{border-color:#d7dade}.components-resizable-box__side-handle{z-index:1}.components-resizable-box__corner-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%;left:0;border-left:0;border-right: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}}.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}}@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}} +/*!rtl:end:ignore*/.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]{margin-top:0;margin-right:6px}.components-range-control .components-base-control__field{display:flex;justify-content:center;flex-wrap:wrap;align-items:center}.components-range-control .dashicon{flex-shrink:0;margin-right:10px}.components-range-control .components-base-control__label{width:100%}.components-range-control .components-range-control__slider{margin-left:0;flex:1}.components-range-control__reset{margin-left:8px}.components-range-control__slider{width:100%;margin-left:8px;padding:0;-webkit-appearance:none;background:transparent}.components-range-control__slider::-webkit-slider-thumb{-webkit-appearance:none;height:18px;width:18px;border-radius:50%;cursor:pointer;background:#555d66;border:4px solid transparent;background-clip:padding-box;box-sizing:border-box;margin-top:-7px}.components-range-control__slider::-moz-range-thumb{height:18px;width:18px;border-radius:50%;cursor:pointer;background:#555d66;border:4px solid transparent;background-clip:padding-box;box-sizing:border-box}.components-range-control__slider::-ms-thumb{height:18px;width:18px;border-radius:50%;cursor:pointer;background:#555d66;background-clip:padding-box;box-sizing:border-box;margin-top:0;height:14px;width:14px;border:2px solid transparent}.components-range-control__slider:focus{outline:none}.components-range-control__slider:focus::-webkit-slider-thumb{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;outline:2px solid transparent}.components-range-control__slider:focus::-moz-range-thumb{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;outline:2px solid transparent}.components-range-control__slider:focus::-ms-thumb{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;outline:2px solid transparent}.components-range-control__slider::-webkit-slider-runnable-track{height:3px;cursor:pointer;background:#e2e4e7;border-radius:1.5px;margin-top:-4px}.components-range-control__slider::-moz-range-track{height:3px;cursor:pointer;background:#e2e4e7;border-radius:1.5px}.components-range-control__slider::-ms-track{margin-top:-4px;background:transparent;border-color:transparent;color:transparent;height:3px;cursor:pointer;background:#e2e4e7;border-radius:1.5px}.components-range-control__number{display:inline-block;margin-left:8px;font-weight:500;width:54px}.components-resizable-box__handle{display:none;width:23px;height:23px}.components-resizable-box__container.has-show-handle .components-resizable-box__handle,.components-resizable-box__container.is-selected .components-resizable-box__handle{display:block}.components-resizable-box__handle:after{display:block;content:"";width:15px;height:15px;border:2px solid #fff;border-radius:50%;background:#0085ba;cursor:inherit;position:absolute;top:calc(50% - 8px);right:calc(50% - 8px)}body.admin-color-sunrise .components-resizable-box__handle:after{background:#d1864a}body.admin-color-ocean .components-resizable-box__handle:after{background:#a3b9a2}body.admin-color-midnight .components-resizable-box__handle:after{background:#e14d43}body.admin-color-ectoplasm .components-resizable-box__handle:after{background:#a7b656}body.admin-color-coffee .components-resizable-box__handle:after{background:#c2a68c}body.admin-color-blue .components-resizable-box__handle:after{background:#82b4cb}body.admin-color-light .components-resizable-box__handle:after{background:#0085ba}.components-resizable-box__side-handle:before{display:block;content:"";width:7px;height:7px;border:2px solid #fff;background:#0085ba;cursor:inherit;position:absolute;top:calc(50% - 4px);right:calc(50% - 4px);transition:transform .1s ease-in;opacity:0}body.admin-color-sunrise .components-resizable-box__side-handle:before{background:#d1864a}body.admin-color-ocean .components-resizable-box__side-handle:before{background:#a3b9a2}body.admin-color-midnight .components-resizable-box__side-handle:before{background:#e14d43}body.admin-color-ectoplasm .components-resizable-box__side-handle:before{background:#a7b656}body.admin-color-coffee .components-resizable-box__side-handle:before{background:#c2a68c}body.admin-color-blue .components-resizable-box__side-handle:before{background:#82b4cb}body.admin-color-light .components-resizable-box__side-handle:before{background:#0085ba}@media (prefers-reduced-motion:reduce){.components-resizable-box__side-handle:before{transition-duration:0s}}.is-dark-theme .components-resizable-box__handle:after,.is-dark-theme .components-resizable-box__side-handle:before{border-color:#d7dade}.components-resizable-box__side-handle{z-index:1}.components-resizable-box__corner-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%;left:0;border-left:0;border-right: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}}.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}}@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}} /*!rtl:begin:ignore*/.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} -/*!rtl:end:ignore*/.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;right:0;bottom:0;left:0;width:100%;height:100%}.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:#32373c;border-radius:4px;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}@media (min-width:600px){.components-snackbar{width:-webkit-fit-content;width:fit-content}}.components-snackbar:hover{background-color:#191e23}.components-snackbar:focus{background-color:#191e23;box-shadow:0 0 0 1px #fff,0 0 0 3px #007cba}.components-snackbar__action.components-button{margin-left: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-default){text-decoration:underline;background-color:transparent}.components-snackbar__action.components-button:not(:disabled):not([aria-disabled=true]):not(.is-default):focus{color:#fff;box-shadow:none;outline:1px dotted #fff}.components-snackbar__action.components-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover{color:#33b3db}.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}.components-snackbar-list__notice-container{position:relative;padding-top:8px}.components-spinner{display:inline-block;background-color:#7e8993;width:18px;height:18px;opacity:.7;float:right;margin:5px 11px 0;border-radius:100%;position:relative}.components-spinner:before{content:"";position:absolute;background-color:#fff;top:3px;left:3px;width:4px;height:4px;border-radius:100%;transform-origin:6px 6px;animation:components-spinner__animation 1s linear infinite}@keyframes components-spinner__animation{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.components-text-control__input,.components-textarea-control__input{width:100%;padding:6px 8px}.components-tip{display:flex;color:#555d66}.components-tip svg{-ms-grid-row-align:center;align-self:center;fill:#f0b849;flex-shrink:0;margin-right: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-right:16px}.components-toggle-control .components-base-control__field .components-toggle-control__label{display:block}.components-accessible-toolbar{display:inline-flex;flex-shrink:0}@supports ((position:-webkit-sticky) or (position:sticky)){.components-accessible-toolbar{display:flex}}.components-toolbar__control.components-button{width:36px;height:36px}.components-toolbar__control.components-button[data-subscript] svg{padding:5px 10px 5px 0}.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;right:8px;bottom:10px}.components-toolbar__control.components-button:not(:disabled).is-active[data-subscript]:after{color:#fff}.components-toolbar__control.components-button.is-active{padding:3px;outline:none}.components-toolbar__control.components-button.is-active>svg{padding:5px;border-radius:4px;height:30px;width:30px;box-sizing:border-box;outline:none;color:#fff;box-shadow:none;background:#555d66}.components-toolbar-group{border:1px solid #e2e4e7;background-color:#fff;display:flex;flex-shrink:0;margin-right:-1px;line-height:0}.components-toolbar-group .components-toolbar-group{border-width:0;margin:0}.components-toolbar{margin:0;border:1px solid #e2e4e7;background-color:#fff;display:flex;flex-shrink:0}div.components-toolbar>div{display:block;margin:0}@supports ((position:-webkit-sticky) or (position:sticky)){div.components-toolbar>div{display:flex}}div.components-toolbar>div+div{margin-left:-3px}div.components-toolbar>div+div.has-left-divider{margin-left:6px;position:relative;overflow:visible}div.components-toolbar>div+div.has-left-divider:before{display:inline-block;content:"";box-sizing:content-box;background-color:#e2e4e7;position:absolute;top:8px;left:-3px;width:1px;height:20px}.components-tooltip.components-popover{z-index:1000002}.components-tooltip.components-popover:before{border-color:transparent}.components-tooltip.components-popover[data-y-axis=top]:after{border-top-color:#191e23}.components-tooltip.components-popover[data-y-axis=bottom]:after{border-bottom-color:#191e23}.components-tooltip.components-popover .components-popover__content{min-width:0}.components-tooltip .components-popover__content{padding:4px 12px;background:#191e23;border-width:0;color:#fff;white-space:nowrap;text-align:center}.components-tooltip__shortcut{display:block;color:#7e8993}.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:#e2e4e7;clip:auto!important;-webkit-clip-path:none;clip-path:none;color:#444;display:block;font-size:1em;height:auto;left:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000} \ No newline at end of file +/*!rtl:end:ignore*/.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;right:0;bottom:0;left:0;width:100%;height:100%}.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:#32373c;border-radius:4px;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}@media (min-width:600px){.components-snackbar{width:-webkit-fit-content;width:fit-content}}.components-snackbar:hover{background-color:#191e23}.components-snackbar:focus{background-color:#191e23;box-shadow:0 0 0 1px #fff,0 0 0 3px #007cba}.components-snackbar__action.components-button{margin-left: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:transparent}.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:#33b3db}.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}.components-snackbar-list__notice-container{position:relative;padding-top:8px}.components-spinner{display:inline-block;background-color:#7e8993;width:18px;height:18px;opacity:.7;float:right;margin:5px 11px 0;border-radius:100%;position:relative}.components-spinner:before{content:"";position:absolute;background-color:#fff;top:3px;left:3px;width:4px;height:4px;border-radius:100%;transform-origin:6px 6px;animation:components-spinner__animation 1s linear infinite}@keyframes components-spinner__animation{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.components-text-control__input,.components-textarea-control__input{width:100%;padding:6px 8px}.components-tip{display:flex;color:#555d66}.components-tip svg{-ms-grid-row-align:center;align-self:center;fill:#f0b849;flex-shrink:0;margin-right: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-right:16px}.components-toggle-control .components-base-control__field .components-toggle-control__label{display:block}.components-accessible-toolbar{display:inline-flex;flex-shrink:0}@supports ((position:-webkit-sticky) or (position:sticky)){.components-accessible-toolbar{display:flex}}.components-tab-button{padding:3px;color:#555d66;height:36px;font-weight:500}.components-tab-button.is-pressed,.components-tab-button.is-pressed:hover{color:#fff}.components-tab-button:disabled{cursor:default}.components-tab-button>span{border:1px solid transparent;padding:0 6px;box-sizing:content-box;height:28px;line-height:28px}.components-tab-button:focus>span,.components-tab-button:hover>span{color:#555d66}.components-tab-button:not(:disabled).is-pressed>span,.components-tab-button:not(:disabled):focus>span,.components-tab-button:not(:disabled):hover>span{border:1px solid #555d66}.components-tab-button.is-pressed:hover>span,.components-tab-button.is-pressed>span{background-color:#555d66;color:#fff}.components-toolbar__control.components-button{width:36px;height:36px}.components-toolbar__control.components-button[data-subscript] svg{padding:5px 10px 5px 0}.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;right:8px;bottom:10px}.components-toolbar__control.components-button:not(:disabled).is-pressed[data-subscript]:after{color:#fff}.components-toolbar__control.components-button.is-pressed{padding:3px;outline:none}.components-toolbar__control.components-button.is-pressed>svg{padding:5px;border-radius:4px;height:30px;width:30px;box-sizing:border-box;outline:none;color:#fff;box-shadow:none;background:#555d66}.components-toolbar-group{border:1px solid #e2e4e7;background-color:#fff;display:flex;flex-shrink:0;margin-right:-1px;line-height:0}.components-toolbar-group .components-toolbar-group{border-width:0;margin:0}.components-toolbar{margin:0;border:1px solid #e2e4e7;background-color:#fff;display:flex;flex-shrink:0}div.components-toolbar>div{display:block;margin:0}@supports ((position:-webkit-sticky) or (position:sticky)){div.components-toolbar>div{display:flex}}div.components-toolbar>div+div{margin-left:-3px}div.components-toolbar>div+div.has-left-divider{margin-left:6px;position:relative;overflow:visible}div.components-toolbar>div+div.has-left-divider:before{display:inline-block;content:"";box-sizing:content-box;background-color:#e2e4e7;position:absolute;top:8px;left:-3px;width:1px;height:20px}.components-tooltip.components-popover{z-index:1000002}.components-tooltip.components-popover:before{border-color:transparent}.components-tooltip.components-popover[data-y-axis=top]:after{border-top-color:#191e23}.components-tooltip.components-popover[data-y-axis=bottom]:after{border-bottom-color:#191e23}.components-tooltip.components-popover .components-popover__content{min-width:0}.components-tooltip .components-popover__content{padding:4px 12px;background:#191e23;border-width:0;color:#fff;white-space:nowrap;text-align:center}.components-tooltip__shortcut{display:block;color:#7e8993}.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:#e2e4e7;clip:auto!important;-webkit-clip-path:none;clip-path:none;color:#444;display:block;font-size:1em;height:auto;left:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000} \ No newline at end of file diff --git a/wp-includes/css/dist/edit-post/style-rtl.css b/wp-includes/css/dist/edit-post/style-rtl.css index e378b390b9..2f4d0f3da6 100644 --- a/wp-includes/css/dist/edit-post/style-rtl.css +++ b/wp-includes/css/dist/edit-post/style-rtl.css @@ -4,6 +4,9 @@ /** * Breakpoints & Media Queries */ +/** + * Colors + */ /** * Often re-used variables */ @@ -219,21 +222,17 @@ body.is-fullscreen-mode .edit-post-editor-regions { align-items: center; flex-wrap: wrap; } -.edit-post-header .components-button.is-toggled { +.edit-post-header .components-button.is-pressed { color: #fff; - background: #555d66; - margin: 1px; - padding: 7px; } + background: #555d66; } -.edit-post-header .components-button.is-toggled:hover, .edit-post-header .components-button.is-toggled:focus { +.edit-post-header .components-button.is-pressed:hover, .edit-post-header .components-button.is-pressed:focus { box-shadow: 0 0 0 1px #555d66, inset 0 0 0 1px #fff !important; color: #fff !important; background: #555d66 !important; } .edit-post-header .components-button.editor-post-save-draft, .edit-post-header .components-button.editor-post-switch-to-draft, .edit-post-header .components-button.editor-post-preview, .edit-post-header .components-button.editor-post-publish-button, .edit-post-header .components-button.editor-post-publish-panel__toggle { margin: 2px; - height: 34px; - line-height: 32px; font-size: 13px; } .edit-post-header .components-button.editor-post-save-draft, .edit-post-header .components-button.editor-post-switch-to-draft { @@ -320,13 +319,13 @@ body.is-fullscreen-mode .edit-post-editor-regions { .edit-post-more-menu { margin-right: -4px; } - .edit-post-more-menu .components-icon-button { + .edit-post-more-menu .components-button { width: auto; padding: 8px 2px; } @media (min-width: 600px) { .edit-post-more-menu { margin-right: 4px; } - .edit-post-more-menu .components-icon-button { + .edit-post-more-menu .components-button { padding: 8px 4px; } } .edit-post-more-menu .components-button svg { transform: rotate(-90deg); } @@ -348,69 +347,75 @@ body.is-fullscreen-mode .edit-post-editor-regions { @media (min-width: 600px) { .edit-post-pinned-plugins { display: flex; } } - .edit-post-pinned-plugins .components-icon-button { + .edit-post-pinned-plugins .components-button { margin-right: 4px; } - .edit-post-pinned-plugins .components-icon-button.is-toggled { + .edit-post-pinned-plugins .components-button.is-pressed { margin-right: 5px; } - .edit-post-pinned-plugins .components-icon-button svg { + .edit-post-pinned-plugins .components-button svg { max-width: 24px; max-height: 24px; } - .edit-post-pinned-plugins .components-icon-button:not(.is-toggled) svg, - .edit-post-pinned-plugins .components-icon-button:not(.is-toggled) svg * { + .edit-post-pinned-plugins .components-button:not(.is-pressed) svg, + .edit-post-pinned-plugins .components-button:not(.is-pressed) svg * { stroke: #555d66; fill: #555d66; stroke-width: 0; } - .edit-post-pinned-plugins .components-icon-button.is-toggled svg, - .edit-post-pinned-plugins .components-icon-button.is-toggled svg *, - .edit-post-pinned-plugins .components-icon-button.is-toggled:hover svg, - .edit-post-pinned-plugins .components-icon-button.is-toggled:hover svg * { + .edit-post-pinned-plugins .components-button.is-pressed svg, + .edit-post-pinned-plugins .components-button.is-pressed svg *, + .edit-post-pinned-plugins .components-button.is-pressed:hover svg, + .edit-post-pinned-plugins .components-button.is-pressed:hover svg * { stroke: #fff !important; fill: #fff !important; stroke-width: 0; } - .edit-post-pinned-plugins .components-icon-button:hover svg, - .edit-post-pinned-plugins .components-icon-button:hover svg * { + .edit-post-pinned-plugins .components-button:hover svg, + .edit-post-pinned-plugins .components-button:hover svg * { stroke: #191e23 !important; fill: #191e23 !important; stroke-width: 0; } -.edit-post-keyboard-shortcut-help__section { +.edit-post-keyboard-shortcut-help-modal__section { margin: 0 0 2rem 0; } -.edit-post-keyboard-shortcut-help__main-shortcuts .edit-post-keyboard-shortcut-help__shortcut-list { +.edit-post-keyboard-shortcut-help-modal__main-shortcuts .edit-post-keyboard-shortcut-help-modal__shortcut-list { margin-top: -25px; } -.edit-post-keyboard-shortcut-help__section-title { +.edit-post-keyboard-shortcut-help-modal__section-title { font-size: 0.9rem; font-weight: 600; } -.edit-post-keyboard-shortcut-help__shortcut { +.edit-post-keyboard-shortcut-help-modal__shortcut { display: flex; - align-items: center; + align-items: baseline; padding: 0.6rem 0; border-top: 1px solid #e2e4e7; margin-bottom: 0; } - .edit-post-keyboard-shortcut-help__shortcut:last-child { + .edit-post-keyboard-shortcut-help-modal__shortcut:last-child { border-bottom: 1px solid #e2e4e7; } + .edit-post-keyboard-shortcut-help-modal__shortcut:empty { + display: none; } -.edit-post-keyboard-shortcut-help__shortcut-term { +.edit-post-keyboard-shortcut-help-modal__shortcut-term { font-weight: 600; - margin: 0 1rem 0 0; } + margin: 0 1rem 0 0; + text-align: left; } -.edit-post-keyboard-shortcut-help__shortcut-description { +.edit-post-keyboard-shortcut-help-modal__shortcut-description { flex: 1; margin: 0; flex-basis: auto; } -.edit-post-keyboard-shortcut-help__shortcut-key-combination { +.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__shortcut-key { +.edit-post-keyboard-shortcut-help-modal__shortcut-key { padding: 0.25rem 0.5rem; border-radius: 8%; margin: 0 0.2rem 0 0.2rem; } - .edit-post-keyboard-shortcut-help__shortcut-key:last-child { + .edit-post-keyboard-shortcut-help-modal__shortcut-key:last-child { margin: 0 0.2rem 0 0; } .edit-post-layout__metaboxes { @@ -498,9 +503,6 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar { .edit-post-layout .editor-post-publish-panel__header-publish-button { justify-content: center; } - .edit-post-layout .editor-post-publish-panel__header-publish-button .components-button { - height: 33px; - line-height: 32px; } .edit-post-toggle-publish-panel { background-color: #fff; @@ -635,7 +637,7 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar { justify-content: space-between; flex-grow: 1; padding: 0.6rem 10px 0.6rem 0; } - .edit-post-manage-blocks-modal__checklist-item .editor-block-icon { + .edit-post-manage-blocks-modal__checklist-item .block-editor-block-icon { margin-left: 10px; fill: #555d66; } @@ -804,16 +806,17 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar { padding-left: 4px; border-top: 0; margin-top: 0; } - .components-panel__header.edit-post-sidebar__panel-tabs .components-icon-button { + .components-panel__header.edit-post-sidebar__panel-tabs .components-button.has-icon { display: none; margin-right: auto; } @media (min-width: 782px) { - .components-panel__header.edit-post-sidebar__panel-tabs .components-icon-button { + .components-panel__header.edit-post-sidebar__panel-tabs .components-button.has-icon { display: flex; } } .edit-post-sidebar__panel-tab { background: transparent; border: none; + border-radius: 0; box-shadow: none; cursor: pointer; height: 50px; @@ -1009,13 +1012,13 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar { .components-panel__header.edit-post-sidebar-header { padding-left: 4px; background: #f3f4f5; } - .components-panel__header.edit-post-sidebar-header .components-icon-button { + .components-panel__header.edit-post-sidebar-header .components-button.has-icon { display: none; margin-right: auto; } - .components-panel__header.edit-post-sidebar-header .components-icon-button ~ .components-icon-button { + .components-panel__header.edit-post-sidebar-header .components-button.has-icon ~ .components-button { margin-right: 0; } @media (min-width: 782px) { - .components-panel__header.edit-post-sidebar-header .components-icon-button { + .components-panel__header.edit-post-sidebar-header .components-button.has-icon { display: flex; } } .edit-post-text-editor { @@ -1058,7 +1061,7 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar { margin: 0 0 0 auto; font-size: 13px; color: #555d66; } - .edit-post-text-editor__toolbar .components-icon-button svg { + .edit-post-text-editor__toolbar .components-button svg { order: 1; } .edit-post-text-editor__body { @@ -1178,8 +1181,8 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar { .edit-post-welcome-guide__heading { font-family: "Noto Serif", serif; - font-size: 32px; - line-height: 44px; + font-size: 21px; + line-height: 1.4; margin: 8px 0; } .edit-post-welcome-guide__image { @@ -1189,14 +1192,16 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar { margin: 8px 0; } @media (min-width: 600px) { .edit-post-welcome-guide__image { - height: 300px; - right: 0; position: absolute; - width: 320px; } } + right: 0; + top: 50%; + height: 300px; + width: 320px; + margin-top: -150px; } } .edit-post-welcome-guide__text { font-size: 16px; - line-height: 1.5; + line-height: 1.4; margin: 8px 0; } .edit-post-welcome-guide__inserter-icon { @@ -1204,6 +1209,10 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar { position: relative; top: 4px; } +@media (min-width: 600px) { + .edit-post-welcome-guide { + width: 600px; } } + /** * Animations */ 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 d6d9f0ed61..df80481026 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 @@ -html{position:fixed;width:100%}@media (min-width:782px){html{position:static;width:auto}}.edit-post-editor-regions{display:flex;flex-direction:column;height:auto;max-height:100%;position:fixed;top:46px;left:0;bottom:0}@media (min-width:782px){.edit-post-editor-regions{top:32px}.is-fullscreen-mode .edit-post-editor-regions{top:0}}.edit-post-editor-regions{right:0}@media (min-width:782px){.edit-post-editor-regions{right:160px}}@media (min-width:782px){.auto-fold .edit-post-editor-regions{right:36px}}@media (min-width:960px){.auto-fold .edit-post-editor-regions{right:160px}}.folded .edit-post-editor-regions{right:0}@media (min-width:782px){.folded .edit-post-editor-regions{right:36px}}@media (max-width:782px){.auto-fold .wp-responsive-open .edit-post-editor-regions{right:190px}}@media (max-width:600px){.auto-fold .wp-responsive-open .edit-post-editor-regions{margin-right:-18px}}body.is-fullscreen-mode .edit-post-editor-regions{right:0!important}.edit-post-editor-regions__body{flex-grow:1;display:flex;overflow:auto;overscroll-behavior-y:none}.edit-post-editor-regions__content{flex-grow:1;display:flex;flex-direction:column}@media (min-width:782px){.edit-post-editor-regions__content{overflow:auto}}.edit-post-editor-regions__sidebar{width:auto;flex-shrink:0;position:absolute;z-index:100000;top:0;left:0;bottom:0;right:0;background:#fff}.edit-post-editor-regions__sidebar:empty{display:none}@media (min-width:782px){.edit-post-editor-regions__sidebar{overflow:auto;border-right:1px solid #e2e4e7;position:relative!important;z-index:90}}.edit-post-editor-regions__header{flex-shrink:0;height:auto;border-bottom:1px solid #e2e4e7;z-index:30;position:-webkit-sticky;position:sticky;top:0}@media (min-width:600px){.edit-post-editor-regions__header{position:static;top:0}}.edit-post-editor-regions__footer{height:auto;flex-shrink:0;overflow:auto;border-top:1px solid #e2e4e7;display:none}@media (min-width:782px){.edit-post-editor-regions__footer{display:block}}.edit-post-editor-regions__publish{z-index:100000;position:fixed!important;top:-9999em;bottom:auto;right:auto;left:0;width:280px}.edit-post-editor-regions__publish:focus{top:auto;bottom:0}@media (min-width:782px){body.js.is-fullscreen-mode{margin-top:-46px;height:calc(100% + 46px)}}@media (min-width:782px) and (min-width:782px){body.js.is-fullscreen-mode{margin-top:-32px;height:calc(100% + 32px)}}@media (min-width:782px){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}body.js.is-fullscreen-mode .edit-post-header{transform:translateY(-100%);animation:edit-post-fullscreen-mode__slide-in-animation .1s forwards}}@media (min-width:782px) and (prefers-reduced-motion:reduce){body.js.is-fullscreen-mode .edit-post-header{animation-duration:1ms}}@keyframes edit-post-fullscreen-mode__slide-in-animation{to{transform:translateY(0)}}.edit-post-header{height:56px;padding:4px 2px;background:#fff;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;max-width:100vw}@media (min-width:280px){.edit-post-header{flex-wrap:nowrap}}@media (min-width:600px){.edit-post-header{padding:8px}}.edit-post-header>.edit-post-header__settings{order:1}@supports ((position:-webkit-sticky) or (position:sticky)){.edit-post-header>.edit-post-header__settings{order:0}}.edit-post-header__toolbar{display:flex}.edit-post-header__settings{display:inline-flex;align-items:center;flex-wrap:wrap}.edit-post-header .components-button.is-toggled{color:#fff;background:#555d66;margin:1px;padding:7px}.edit-post-header .components-button.is-toggled:focus,.edit-post-header .components-button.is-toggled:hover{box-shadow:0 0 0 1px #555d66,inset 0 0 0 1px #fff!important;color:#fff!important;background:#555d66!important}.edit-post-header .components-button.editor-post-preview,.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle,.edit-post-header .components-button.editor-post-save-draft,.edit-post-header .components-button.editor-post-switch-to-draft{margin:2px;height:34px;line-height:32px;font-size:13px}.edit-post-header .components-button.editor-post-save-draft,.edit-post-header .components-button.editor-post-switch-to-draft{padding:0 5px}@media (min-width:600px){.edit-post-header .components-button.editor-post-save-draft,.edit-post-header .components-button.editor-post-switch-to-draft{padding:0 12px}}.edit-post-header .components-button.editor-post-preview,.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle{padding-right:5px;padding-left:5px}@media (min-width:600px){.edit-post-header .components-button.editor-post-preview,.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle{padding-right:12px;padding-left:12px}}@media (min-width:782px){.edit-post-header .components-button.editor-post-preview{margin:0 12px 0 3px}.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle{margin:0 3px 0 12px}}.edit-post-fullscreen-mode-close__toolbar{display:none}@media (min-width:782px){.edit-post-fullscreen-mode-close__toolbar{display:flex;border-top:0;border-bottom:0;border-right:0;margin:-9px -10px -8px 10px;padding:9px 10px}}.edit-post-header-toolbar{display:inline-flex;align-items:center}.edit-post-header-toolbar>.components-button{display:none}@media (min-width:600px){.edit-post-header-toolbar>.components-button{display:inline-flex}}.edit-post-header-toolbar .block-editor-block-navigation,.edit-post-header-toolbar .table-of-contents{display:none}@media (min-width:600px){.edit-post-header-toolbar .block-editor-block-navigation,.edit-post-header-toolbar .table-of-contents{display:flex}}.edit-post-header-toolbar__block-toolbar{position:absolute;top:57px;right:0;left:0;background:#fff;min-height:37px;border-bottom:1px solid #e2e4e7}.edit-post-header-toolbar__block-toolbar:empty{display:none}.edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar .components-toolbar{border-top:none;border-bottom:none}.is-sidebar-opened .edit-post-header-toolbar__block-toolbar{display:none}@media (min-width:782px){.is-sidebar-opened .edit-post-header-toolbar__block-toolbar{display:block;left:280px}}@media (min-width:1080px){.edit-post-header-toolbar__block-toolbar{padding-right:8px;position:static;right:auto;left:auto;background:none;border-bottom:none;min-height:auto}.is-sidebar-opened .edit-post-header-toolbar__block-toolbar{left:auto}.edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar{margin:-9px 0}.edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar .components-toolbar{padding:10px 4px 9px}}.edit-post-more-menu{margin-right:-4px}.edit-post-more-menu .components-icon-button{width:auto;padding:8px 2px}@media (min-width:600px){.edit-post-more-menu{margin-right:4px}.edit-post-more-menu .components-icon-button{padding:8px 4px}}.edit-post-more-menu .components-button svg{transform:rotate(-90deg)}.edit-post-more-menu__content .components-popover__content{min-width:260px}@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-pinned-plugins{display:none}@media (min-width:600px){.edit-post-pinned-plugins{display:flex}}.edit-post-pinned-plugins .components-icon-button{margin-right:4px}.edit-post-pinned-plugins .components-icon-button.is-toggled{margin-right:5px}.edit-post-pinned-plugins .components-icon-button svg{max-width:24px;max-height:24px}.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) svg,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) svg *{stroke:#555d66;fill:#555d66;stroke-width:0}.edit-post-pinned-plugins .components-icon-button.is-toggled:hover svg,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover svg *,.edit-post-pinned-plugins .components-icon-button.is-toggled svg,.edit-post-pinned-plugins .components-icon-button.is-toggled svg *{stroke:#fff!important;fill:#fff!important;stroke-width:0}.edit-post-pinned-plugins .components-icon-button:hover svg,.edit-post-pinned-plugins .components-icon-button:hover svg *{stroke:#191e23!important;fill:#191e23!important;stroke-width:0}.edit-post-keyboard-shortcut-help__section{margin:0 0 2rem}.edit-post-keyboard-shortcut-help__main-shortcuts .edit-post-keyboard-shortcut-help__shortcut-list{margin-top:-25px}.edit-post-keyboard-shortcut-help__section-title{font-size:.9rem;font-weight:600}.edit-post-keyboard-shortcut-help__shortcut{display:flex;align-items:center;padding:.6rem 0;border-top:1px solid #e2e4e7;margin-bottom:0}.edit-post-keyboard-shortcut-help__shortcut:last-child{border-bottom:1px solid #e2e4e7}.edit-post-keyboard-shortcut-help__shortcut-term{font-weight:600;margin:0 1rem 0 0}.edit-post-keyboard-shortcut-help__shortcut-description{flex:1;margin:0;flex-basis:auto}.edit-post-keyboard-shortcut-help__shortcut-key-combination{background:none;margin:0;padding:0}.edit-post-keyboard-shortcut-help__shortcut-key{padding:.25rem .5rem;border-radius:8%;margin:0 .2rem}.edit-post-keyboard-shortcut-help__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 #e2e4e7;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:20px;padding-right:16px;padding-left:16px;right:0}@media (min-width:782px){.edit-post-layout .components-editor-notices__snackbar{right:160px}}@media (min-width:782px){.auto-fold .edit-post-layout .components-editor-notices__snackbar{right:36px}}@media (min-width:960px){.auto-fold .edit-post-layout .components-editor-notices__snackbar{right:160px}}.folded .edit-post-layout .components-editor-notices__snackbar{right:0}@media (min-width:782px){.folded .edit-post-layout .components-editor-notices__snackbar{right:36px}}@media (max-width:782px){.auto-fold .wp-responsive-open .edit-post-layout .components-editor-notices__snackbar{right:190px}}@media (max-width:600px){.auto-fold .wp-responsive-open .edit-post-layout .components-editor-notices__snackbar{margin-right:-18px}}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:280px;border-right:1px solid #e2e4e7;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}}@media (min-width:782px){body.is-fullscreen-mode .edit-post-layout .editor-post-publish-panel{top:0}.is-focusing-regions .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 .editor-post-publish-panel__header-publish-button .components-button{height:33px;line-height:32px}.edit-post-toggle-publish-panel{background-color:#fff;padding:10px 0 10px 10px}.edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{width:auto;height:auto;display:block;font-size:14px;font-weight:600;margin:0 auto 0 0;padding:15px 23px 14px;line-height:normal;text-decoration:none;outline:none;background:#f1f1f1;color:#11a0d2}body.admin-color-sunrise .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#c8b03c}body.admin-color-ocean .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#a89d8a}body.admin-color-midnight .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#77a6b9}body.admin-color-ectoplasm .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#c77430}body.admin-color-coffee .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#9fa47b}body.admin-color-blue .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#d9ab59}body.admin-color-light .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#c75726}.edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button:focus{position:fixed;top:auto;left:10px;bottom:10px;right:auto}.edit-post-layout__footer{display:none;z-index:30}@media (min-width:782px){.edit-post-layout__footer{display:flex;background:#fff;height:24px;padding:0 8px;align-items:center;font-size:13px}}@media (min-width:600px){.edit-post-manage-blocks-modal{height:calc(100% - 112px)}}.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:12px;border-radius:4px}.edit-post-manage-blocks-modal__disabled-blocks-count{border-top:1px solid #e2e4e7;margin-right:-24px;margin-left:-24px;padding:.6rem 24px;background-color:#f3f4f5}.edit-post-manage-blocks-modal__category{margin:0 0 2rem}.edit-post-manage-blocks-modal__category-title{position:-webkit-sticky;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 #e2e4e7}.edit-post-manage-blocks-modal__checklist-item:last-child{border-bottom:1px solid #e2e4e7}.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 .editor-block-icon{margin-left:10px;fill:#555d66}.edit-post-manage-blocks-modal__results{height:100%;overflow:auto;margin-right:-24px;margin-left:-24px;padding-right:24px;padding-left:24px;border-top:1px solid #e2e4e7}.edit-post-meta-boxes-area{position:relative}.edit-post-meta-boxes-area .inside,.edit-post-meta-boxes-area__container{box-sizing:content-box}.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{border-bottom:1px solid #e2e4e7;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 #e2e4e7;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 #6c7781}.edit-post-meta-boxes-area .metabox-location-side .postbox input[type=checkbox]:checked{background:#fff;border-color:#6c7781}.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-sidebar{background:#fff;color:#555d66;overflow:visible}@media (min-width:600px){.edit-post-sidebar{z-index:auto;height:100%;overflow:visible;-webkit-overflow-scrolling:touch}}@media (min-width:782px){.edit-post-sidebar{width:280px}}.edit-post-sidebar>.components-panel{border-right:none;border-left:none;overflow:auto;-webkit-overflow-scrolling:touch;height:auto;max-height:calc(100vh - 96px);margin-top:-1px;margin-bottom:-1px;position:relative}@media (min-width:600px){.edit-post-sidebar>.components-panel{overflow:visible;height:auto;max-height:none}}.edit-post-sidebar>.components-panel .components-panel__header{position:fixed;z-index:1;top:0;right:0;left:0;height:50px}@media (min-width:600px){.edit-post-sidebar>.components-panel .components-panel__header{position:inherit;top:auto;right:auto;left:auto}}.edit-post-sidebar p{margin-top:0}.edit-post-sidebar h2,.edit-post-sidebar h3{font-size:13px;color:#555d66;margin-bottom:1.5em}.edit-post-sidebar hr{border-top:none;border-bottom:1px solid #e2e4e7;margin:1.5em 0}.edit-post-sidebar div.components-toolbar{box-shadow:none;margin-bottom:1.5em}.edit-post-sidebar div.components-toolbar:last-child{margin-bottom:0}.edit-post-sidebar p+div.components-toolbar{margin-top:-1em}.edit-post-sidebar .block-editor-skip-to-selected-block:focus{top:auto;left:10px;bottom:10px;right:auto}.components-panel__header.edit-post-sidebar__header{background:#fff;padding-left:8px}.components-panel__header.edit-post-sidebar__header .edit-post-sidebar__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}@media (min-width:782px){.components-panel__header.edit-post-sidebar__header{display:none}}.components-panel__header.edit-post-sidebar__panel-tabs{margin-top:0}.components-panel__header.edit-post-sidebar__panel-tabs .components-icon-button{display:none;margin-right:auto}@media (min-width:782px){.components-panel__header.edit-post-sidebar__panel-tabs .components-icon-button{display:flex}}.edit-post-sidebar__panel-tab{background:transparent;border:none;box-shadow:none;cursor:pointer;height:50px;padding:3px 15px;margin-right:0;font-weight:400;outline-offset:-1px;transition:box-shadow .1s linear}@media (prefers-reduced-motion:reduce){.edit-post-sidebar__panel-tab{transition-duration:0s}}.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #007cba;font-weight:600;position:relative}body.admin-color-sunrise .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #837425}body.admin-color-ocean .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #5e7d5e}body.admin-color-midnight .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #497b8d}body.admin-color-ectoplasm .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #523f6d}body.admin-color-coffee .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #59524c}body.admin-color-blue .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #417e9b}body.admin-color-light .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #007cba}.edit-post-sidebar__panel-tab.is-active:before{content:"";position:absolute;top:0;bottom:1px;left:0;right:0;border-bottom:3px solid transparent}.edit-post-sidebar__panel-tab:focus:not(:disabled){color:#191e23;outline-offset:-1px;outline:1px dotted #555d66;box-shadow:none}.components-panel__body.is-opened.edit-post-last-revision__panel{padding:0}.editor-post-last-revision__title{padding:13px 16px}.editor-post-author__select{margin:-5px 0;width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.editor-post-author__select{width:auto}}.edit-post-post-link__link-post-name{font-weight:600}.edit-post-post-link__preview-label{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}.components-button.edit-post-post-schedule__toggle{text-align:left}.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%}.edit-post-post-visibility__dialog .components-popover__content{padding:10px}@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:#7e8993;padding-right:20px;font-style:italic;margin:4px 0 0;line-height:1.4}.components-panel__header.edit-post-sidebar__panel-tabs{justify-content:flex-start;padding-right:0;padding-left:4px;border-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-button.edit-post-sidebar__panel-tab{background:transparent;border:none;box-shadow:none;cursor:pointer;display:inline-block;padding:3px 15px;margin-right:0;font-weight:400;color:#191e23;outline-offset:-1px;transition:box-shadow .1s linear}@media (prefers-reduced-motion:reduce){.components-button.edit-post-sidebar__panel-tab{transition-duration:0s}}.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 -3px #007cba;font-weight:600;position:relative}body.admin-color-sunrise .components-button.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #837425}body.admin-color-ocean .components-button.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #5e7d5e}body.admin-color-midnight .components-button.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #497b8d}body.admin-color-ectoplasm .components-button.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #523f6d}body.admin-color-coffee .components-button.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #59524c}body.admin-color-blue .components-button.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #417e9b}body.admin-color-light .components-button.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #007cba}.components-button.edit-post-sidebar__panel-tab.is-active:before{content:"";position:absolute;top:0;bottom:1px;left:0;right:0;border-bottom:3px solid transparent}.components-button.edit-post-sidebar__panel-tab:focus{background-color:transparent;color:#191e23;outline-offset:-1px;outline:1px dotted #555d66}.components-panel__header.edit-post-sidebar-header__small{background:#fff;padding-left:4px}.components-panel__header.edit-post-sidebar-header__small .edit-post-sidebar__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}@media (min-width:782px){.components-panel__header.edit-post-sidebar-header__small{display:none}}.components-panel__header.edit-post-sidebar-header{padding-left:4px;background:#f3f4f5}.components-panel__header.edit-post-sidebar-header .components-icon-button{display:none;margin-right:auto}.components-panel__header.edit-post-sidebar-header .components-icon-button~.components-icon-button{margin-right:0}@media (min-width:782px){.components-panel__header.edit-post-sidebar-header .components-icon-button{display:flex}}.edit-post-text-editor{position:relative;width:100%;padding-top:44px}.edit-post-text-editor .editor-post-title__block textarea{border:1px solid #e2e4e7;margin-bottom:4px;padding:14px}.edit-post-text-editor .editor-post-title__block textarea:focus{border:1px solid #e2e4e7}.edit-post-text-editor .editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar).is-selected .editor-post-title__input,.edit-post-text-editor .editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar):not(.is-selected) .editor-post-title__input:hover{box-shadow:none;border-right-width:1px}.edit-post-text-editor .editor-post-title__block.is-selected textarea,.edit-post-text-editor .editor-post-title__block textarea:hover{box-shadow:0 0 0 1px #e2e4e7}.edit-post-text-editor .editor-post-permalink{margin-top:-6px;box-shadow:none;border:none;outline:1px solid #b5bcc2}@media (min-width:600px){.edit-post-text-editor .editor-post-title,.edit-post-text-editor .editor-post-title__block{padding:0}}.edit-post-text-editor__toolbar{position:absolute;top:8px;right:0;left:0;height:36px;line-height:36px;padding:0 16px 0 8px;display:flex}.edit-post-text-editor__toolbar h2{margin:0 0 0 auto;font-size:13px;color:#555d66}.edit-post-text-editor__toolbar .components-icon-button svg{order:1}.edit-post-text-editor__body{max-width:calc(100% - 32px);margin-right:16px;margin-left:16px;padding-top:40px}@media (min-width:600px){.edit-post-text-editor__body{max-width:580px;margin-right:auto;margin-left:auto}}.edit-post-visual-editor{position:relative;padding-top:50px;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}@supports ((position:-webkit-sticky) or (position:sticky)){.edit-post-visual-editor{flex-basis:100%}}.edit-post-visual-editor>.block-editor__typewriter,.edit-post-visual-editor>.block-editor__typewriter>.block-editor-writing-flow,.edit-post-visual-editor>.block-editor__typewriter>.block-editor-writing-flow>.block-editor-writing-flow__click-redirect{height:100%}.edit-post-visual-editor .block-editor-writing-flow__click-redirect{min-height:50vh;width:100%}.has-metaboxes .edit-post-visual-editor .block-editor-writing-flow__click-redirect{height:0}.edit-post-visual-editor .block-editor-block-list__block{margin-right:auto;margin-left:auto}@media (min-width:600px){.edit-post-visual-editor .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar,.edit-post-visual-editor .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar{height:0;width:calc(100% - 90px);margin-right:0;margin-left:0;text-align:center;float:right}}@media (min-width:600px) and (min-width:1080px){.edit-post-visual-editor .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar,.edit-post-visual-editor .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar{width:calc(100% - 26px)}}@media (min-width:600px){.edit-post-visual-editor .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar .block-editor-block-toolbar,.edit-post-visual-editor .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar .block-editor-block-toolbar{max-width:580px;width:100%;position:relative}}@media (min-width:600px){.editor-post-title{padding-right:58px;padding-left:58px}}.edit-post-visual-editor .editor-post-title__block{margin-right:auto;margin-left:auto;margin-bottom:32px}.edit-post-visual-editor .editor-post-title__block>div{margin-right:0;margin-left:0}@media (min-width:600px){.edit-post-visual-editor .editor-post-title__block>div{margin-right:-16px;margin-left:-16px}}.edit-post-visual-editor .block-editor-block-list__layout>.block-editor-block-list__block[data-align=left]:first-child,.edit-post-visual-editor .block-editor-block-list__layout>.block-editor-block-list__block[data-align=right]:first-child{margin-top:34px}.edit-post-options-modal__section{margin:0 0 2rem}.edit-post-options-modal__section-title{font-size:.9rem;font-weight:600}.edit-post-options-modal__option{border-top:1px solid #e2e4e7}.edit-post-options-modal__option:last-child{border-bottom:1px solid #e2e4e7}.edit-post-options-modal__option .components-base-control__field{align-items:center;display:flex;margin:0}.edit-post-options-modal__option .components-checkbox-control__label{flex-grow:1;padding:.6rem 10px .6rem 0}.edit-post-options-modal__custom-fields-confirmation-button,.edit-post-options-modal__custom-fields-confirmation-message{margin:0 48px .6rem 0}@media (min-width:782px){.edit-post-options-modal__custom-fields-confirmation-button,.edit-post-options-modal__custom-fields-confirmation-message{margin-right:38px}}@media (min-width:600px){.edit-post-options-modal__custom-fields-confirmation-button,.edit-post-options-modal__custom-fields-confirmation-message{max-width:300px}}.edit-post-welcome-guide__page{display:flex;flex-direction:column;justify-content:center;position:relative}@media (min-width:600px){.edit-post-welcome-guide__page{min-height:300px;padding-right:344px}}.edit-post-welcome-guide__heading{font-family:"Noto Serif",serif;font-size:32px;line-height:44px;margin:8px 0}.edit-post-welcome-guide__image{background:#66c6e4;border-radius:4px;height:200px;margin:8px 0}@media (min-width:600px){.edit-post-welcome-guide__image{height:300px;right:0;position:absolute;width:320px}}.edit-post-welcome-guide__text{font-size:16px;line-height:1.5;margin:8px 0}.edit-post-welcome-guide__inserter-icon{margin:0 4px;position:relative;top:4px}@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){display:none}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%}.components-modal__frame,.components-popover,.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-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}.components-modal__frame .input-control,.components-modal__frame input[type=checkbox],.components-modal__frame input[type=color],.components-modal__frame input[type=date],.components-modal__frame input[type=datetime-local],.components-modal__frame input[type=datetime],.components-modal__frame input[type=email],.components-modal__frame input[type=month],.components-modal__frame input[type=number],.components-modal__frame input[type=password],.components-modal__frame input[type=radio],.components-modal__frame input[type=search],.components-modal__frame input[type=tel],.components-modal__frame input[type=text],.components-modal__frame input[type=time],.components-modal__frame input[type=url],.components-modal__frame input[type=week],.components-modal__frame select,.components-modal__frame textarea,.components-popover .input-control,.components-popover input[type=checkbox],.components-popover input[type=color],.components-popover input[type=date],.components-popover input[type=datetime-local],.components-popover input[type=datetime],.components-popover input[type=email],.components-popover input[type=month],.components-popover input[type=number],.components-popover input[type=password],.components-popover input[type=radio],.components-popover input[type=search],.components-popover input[type=tel],.components-popover input[type=text],.components-popover input[type=time],.components-popover input[type=url],.components-popover input[type=week],.components-popover select,.components-popover textarea,.edit-post-header .input-control,.edit-post-header input[type=checkbox],.edit-post-header input[type=color],.edit-post-header input[type=date],.edit-post-header input[type=datetime-local],.edit-post-header input[type=datetime],.edit-post-header input[type=email],.edit-post-header input[type=month],.edit-post-header input[type=number],.edit-post-header input[type=password],.edit-post-header input[type=radio],.edit-post-header input[type=search],.edit-post-header input[type=tel],.edit-post-header input[type=text],.edit-post-header input[type=time],.edit-post-header input[type=url],.edit-post-header input[type=week],.edit-post-header select,.edit-post-header textarea,.edit-post-sidebar .input-control,.edit-post-sidebar input[type=checkbox],.edit-post-sidebar input[type=color],.edit-post-sidebar input[type=date],.edit-post-sidebar input[type=datetime-local],.edit-post-sidebar input[type=datetime],.edit-post-sidebar input[type=email],.edit-post-sidebar input[type=month],.edit-post-sidebar input[type=number],.edit-post-sidebar input[type=password],.edit-post-sidebar input[type=radio],.edit-post-sidebar input[type=search],.edit-post-sidebar input[type=tel],.edit-post-sidebar input[type=text],.edit-post-sidebar input[type=time],.edit-post-sidebar input[type=url],.edit-post-sidebar input[type=week],.edit-post-sidebar select,.edit-post-sidebar textarea,.edit-post-text-editor .input-control,.edit-post-text-editor input[type=checkbox],.edit-post-text-editor input[type=color],.edit-post-text-editor input[type=date],.edit-post-text-editor input[type=datetime-local],.edit-post-text-editor input[type=datetime],.edit-post-text-editor input[type=email],.edit-post-text-editor input[type=month],.edit-post-text-editor input[type=number],.edit-post-text-editor input[type=password],.edit-post-text-editor input[type=radio],.edit-post-text-editor input[type=search],.edit-post-text-editor input[type=tel],.edit-post-text-editor input[type=text],.edit-post-text-editor input[type=time],.edit-post-text-editor input[type=url],.edit-post-text-editor input[type=week],.edit-post-text-editor select,.edit-post-text-editor textarea,.edit-post-visual-editor .input-control,.edit-post-visual-editor input[type=checkbox],.edit-post-visual-editor input[type=color],.edit-post-visual-editor input[type=date],.edit-post-visual-editor input[type=datetime-local],.edit-post-visual-editor input[type=datetime],.edit-post-visual-editor input[type=email],.edit-post-visual-editor input[type=month],.edit-post-visual-editor input[type=number],.edit-post-visual-editor input[type=password],.edit-post-visual-editor input[type=radio],.edit-post-visual-editor input[type=search],.edit-post-visual-editor input[type=tel],.edit-post-visual-editor input[type=text],.edit-post-visual-editor input[type=time],.edit-post-visual-editor input[type=url],.edit-post-visual-editor input[type=week],.edit-post-visual-editor select,.edit-post-visual-editor textarea,.editor-post-publish-panel .input-control,.editor-post-publish-panel input[type=checkbox],.editor-post-publish-panel input[type=color],.editor-post-publish-panel input[type=date],.editor-post-publish-panel input[type=datetime-local],.editor-post-publish-panel input[type=datetime],.editor-post-publish-panel input[type=email],.editor-post-publish-panel input[type=month],.editor-post-publish-panel input[type=number],.editor-post-publish-panel input[type=password],.editor-post-publish-panel input[type=radio],.editor-post-publish-panel input[type=search],.editor-post-publish-panel input[type=tel],.editor-post-publish-panel input[type=text],.editor-post-publish-panel input[type=time],.editor-post-publish-panel input[type=url],.editor-post-publish-panel input[type=week],.editor-post-publish-panel select,.editor-post-publish-panel 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:4px;border:1px solid #7e8993;font-size:16px;line-height:normal}@media (prefers-reduced-motion:reduce){.components-modal__frame .input-control,.components-modal__frame input[type=checkbox],.components-modal__frame input[type=color],.components-modal__frame input[type=date],.components-modal__frame input[type=datetime-local],.components-modal__frame input[type=datetime],.components-modal__frame input[type=email],.components-modal__frame input[type=month],.components-modal__frame input[type=number],.components-modal__frame input[type=password],.components-modal__frame input[type=radio],.components-modal__frame input[type=search],.components-modal__frame input[type=tel],.components-modal__frame input[type=text],.components-modal__frame input[type=time],.components-modal__frame input[type=url],.components-modal__frame input[type=week],.components-modal__frame select,.components-modal__frame textarea,.components-popover .input-control,.components-popover input[type=checkbox],.components-popover input[type=color],.components-popover input[type=date],.components-popover input[type=datetime-local],.components-popover input[type=datetime],.components-popover input[type=email],.components-popover input[type=month],.components-popover input[type=number],.components-popover input[type=password],.components-popover input[type=radio],.components-popover input[type=search],.components-popover input[type=tel],.components-popover input[type=text],.components-popover input[type=time],.components-popover input[type=url],.components-popover input[type=week],.components-popover select,.components-popover textarea,.edit-post-header .input-control,.edit-post-header input[type=checkbox],.edit-post-header input[type=color],.edit-post-header input[type=date],.edit-post-header input[type=datetime-local],.edit-post-header input[type=datetime],.edit-post-header input[type=email],.edit-post-header input[type=month],.edit-post-header input[type=number],.edit-post-header input[type=password],.edit-post-header input[type=radio],.edit-post-header input[type=search],.edit-post-header input[type=tel],.edit-post-header input[type=text],.edit-post-header input[type=time],.edit-post-header input[type=url],.edit-post-header input[type=week],.edit-post-header select,.edit-post-header textarea,.edit-post-sidebar .input-control,.edit-post-sidebar input[type=checkbox],.edit-post-sidebar input[type=color],.edit-post-sidebar input[type=date],.edit-post-sidebar input[type=datetime-local],.edit-post-sidebar input[type=datetime],.edit-post-sidebar input[type=email],.edit-post-sidebar input[type=month],.edit-post-sidebar input[type=number],.edit-post-sidebar input[type=password],.edit-post-sidebar input[type=radio],.edit-post-sidebar input[type=search],.edit-post-sidebar input[type=tel],.edit-post-sidebar input[type=text],.edit-post-sidebar input[type=time],.edit-post-sidebar input[type=url],.edit-post-sidebar input[type=week],.edit-post-sidebar select,.edit-post-sidebar textarea,.edit-post-text-editor .input-control,.edit-post-text-editor input[type=checkbox],.edit-post-text-editor input[type=color],.edit-post-text-editor input[type=date],.edit-post-text-editor input[type=datetime-local],.edit-post-text-editor input[type=datetime],.edit-post-text-editor input[type=email],.edit-post-text-editor input[type=month],.edit-post-text-editor input[type=number],.edit-post-text-editor input[type=password],.edit-post-text-editor input[type=radio],.edit-post-text-editor input[type=search],.edit-post-text-editor input[type=tel],.edit-post-text-editor input[type=text],.edit-post-text-editor input[type=time],.edit-post-text-editor input[type=url],.edit-post-text-editor input[type=week],.edit-post-text-editor select,.edit-post-text-editor textarea,.edit-post-visual-editor .input-control,.edit-post-visual-editor input[type=checkbox],.edit-post-visual-editor input[type=color],.edit-post-visual-editor input[type=date],.edit-post-visual-editor input[type=datetime-local],.edit-post-visual-editor input[type=datetime],.edit-post-visual-editor input[type=email],.edit-post-visual-editor input[type=month],.edit-post-visual-editor input[type=number],.edit-post-visual-editor input[type=password],.edit-post-visual-editor input[type=radio],.edit-post-visual-editor input[type=search],.edit-post-visual-editor input[type=tel],.edit-post-visual-editor input[type=text],.edit-post-visual-editor input[type=time],.edit-post-visual-editor input[type=url],.edit-post-visual-editor input[type=week],.edit-post-visual-editor select,.edit-post-visual-editor textarea,.editor-post-publish-panel .input-control,.editor-post-publish-panel input[type=checkbox],.editor-post-publish-panel input[type=color],.editor-post-publish-panel input[type=date],.editor-post-publish-panel input[type=datetime-local],.editor-post-publish-panel input[type=datetime],.editor-post-publish-panel input[type=email],.editor-post-publish-panel input[type=month],.editor-post-publish-panel input[type=number],.editor-post-publish-panel input[type=password],.editor-post-publish-panel input[type=radio],.editor-post-publish-panel input[type=search],.editor-post-publish-panel input[type=tel],.editor-post-publish-panel input[type=text],.editor-post-publish-panel input[type=time],.editor-post-publish-panel input[type=url],.editor-post-publish-panel input[type=week],.editor-post-publish-panel select,.editor-post-publish-panel textarea{transition-duration:0s}}@media (min-width:600px){.components-modal__frame .input-control,.components-modal__frame input[type=checkbox],.components-modal__frame input[type=color],.components-modal__frame input[type=date],.components-modal__frame input[type=datetime-local],.components-modal__frame input[type=datetime],.components-modal__frame input[type=email],.components-modal__frame input[type=month],.components-modal__frame input[type=number],.components-modal__frame input[type=password],.components-modal__frame input[type=radio],.components-modal__frame input[type=search],.components-modal__frame input[type=tel],.components-modal__frame input[type=text],.components-modal__frame input[type=time],.components-modal__frame input[type=url],.components-modal__frame input[type=week],.components-modal__frame select,.components-modal__frame textarea,.components-popover .input-control,.components-popover input[type=checkbox],.components-popover input[type=color],.components-popover input[type=date],.components-popover input[type=datetime-local],.components-popover input[type=datetime],.components-popover input[type=email],.components-popover input[type=month],.components-popover input[type=number],.components-popover input[type=password],.components-popover input[type=radio],.components-popover input[type=search],.components-popover input[type=tel],.components-popover input[type=text],.components-popover input[type=time],.components-popover input[type=url],.components-popover input[type=week],.components-popover select,.components-popover textarea,.edit-post-header .input-control,.edit-post-header input[type=checkbox],.edit-post-header input[type=color],.edit-post-header input[type=date],.edit-post-header input[type=datetime-local],.edit-post-header input[type=datetime],.edit-post-header input[type=email],.edit-post-header input[type=month],.edit-post-header input[type=number],.edit-post-header input[type=password],.edit-post-header input[type=radio],.edit-post-header input[type=search],.edit-post-header input[type=tel],.edit-post-header input[type=text],.edit-post-header input[type=time],.edit-post-header input[type=url],.edit-post-header input[type=week],.edit-post-header select,.edit-post-header textarea,.edit-post-sidebar .input-control,.edit-post-sidebar input[type=checkbox],.edit-post-sidebar input[type=color],.edit-post-sidebar input[type=date],.edit-post-sidebar input[type=datetime-local],.edit-post-sidebar input[type=datetime],.edit-post-sidebar input[type=email],.edit-post-sidebar input[type=month],.edit-post-sidebar input[type=number],.edit-post-sidebar input[type=password],.edit-post-sidebar input[type=radio],.edit-post-sidebar input[type=search],.edit-post-sidebar input[type=tel],.edit-post-sidebar input[type=text],.edit-post-sidebar input[type=time],.edit-post-sidebar input[type=url],.edit-post-sidebar input[type=week],.edit-post-sidebar select,.edit-post-sidebar textarea,.edit-post-text-editor .input-control,.edit-post-text-editor input[type=checkbox],.edit-post-text-editor input[type=color],.edit-post-text-editor input[type=date],.edit-post-text-editor input[type=datetime-local],.edit-post-text-editor input[type=datetime],.edit-post-text-editor input[type=email],.edit-post-text-editor input[type=month],.edit-post-text-editor input[type=number],.edit-post-text-editor input[type=password],.edit-post-text-editor input[type=radio],.edit-post-text-editor input[type=search],.edit-post-text-editor input[type=tel],.edit-post-text-editor input[type=text],.edit-post-text-editor input[type=time],.edit-post-text-editor input[type=url],.edit-post-text-editor input[type=week],.edit-post-text-editor select,.edit-post-text-editor textarea,.edit-post-visual-editor .input-control,.edit-post-visual-editor input[type=checkbox],.edit-post-visual-editor input[type=color],.edit-post-visual-editor input[type=date],.edit-post-visual-editor input[type=datetime-local],.edit-post-visual-editor input[type=datetime],.edit-post-visual-editor input[type=email],.edit-post-visual-editor input[type=month],.edit-post-visual-editor input[type=number],.edit-post-visual-editor input[type=password],.edit-post-visual-editor input[type=radio],.edit-post-visual-editor input[type=search],.edit-post-visual-editor input[type=tel],.edit-post-visual-editor input[type=text],.edit-post-visual-editor input[type=time],.edit-post-visual-editor input[type=url],.edit-post-visual-editor input[type=week],.edit-post-visual-editor select,.edit-post-visual-editor textarea,.editor-post-publish-panel .input-control,.editor-post-publish-panel input[type=checkbox],.editor-post-publish-panel input[type=color],.editor-post-publish-panel input[type=date],.editor-post-publish-panel input[type=datetime-local],.editor-post-publish-panel input[type=datetime],.editor-post-publish-panel input[type=email],.editor-post-publish-panel input[type=month],.editor-post-publish-panel input[type=number],.editor-post-publish-panel input[type=password],.editor-post-publish-panel input[type=radio],.editor-post-publish-panel input[type=search],.editor-post-publish-panel input[type=tel],.editor-post-publish-panel input[type=text],.editor-post-publish-panel input[type=time],.editor-post-publish-panel input[type=url],.editor-post-publish-panel input[type=week],.editor-post-publish-panel select,.editor-post-publish-panel textarea{font-size:13px;line-height:normal}}.components-modal__frame .input-control:focus,.components-modal__frame input[type=checkbox]:focus,.components-modal__frame input[type=color]:focus,.components-modal__frame input[type=date]:focus,.components-modal__frame input[type=datetime-local]:focus,.components-modal__frame input[type=datetime]:focus,.components-modal__frame input[type=email]:focus,.components-modal__frame input[type=month]:focus,.components-modal__frame input[type=number]:focus,.components-modal__frame input[type=password]:focus,.components-modal__frame input[type=radio]:focus,.components-modal__frame input[type=search]:focus,.components-modal__frame input[type=tel]:focus,.components-modal__frame input[type=text]:focus,.components-modal__frame input[type=time]:focus,.components-modal__frame input[type=url]:focus,.components-modal__frame input[type=week]:focus,.components-modal__frame select:focus,.components-modal__frame textarea:focus,.components-popover .input-control:focus,.components-popover input[type=checkbox]:focus,.components-popover input[type=color]:focus,.components-popover input[type=date]:focus,.components-popover input[type=datetime-local]:focus,.components-popover input[type=datetime]:focus,.components-popover input[type=email]:focus,.components-popover input[type=month]:focus,.components-popover input[type=number]:focus,.components-popover input[type=password]:focus,.components-popover input[type=radio]:focus,.components-popover input[type=search]:focus,.components-popover input[type=tel]:focus,.components-popover input[type=text]:focus,.components-popover input[type=time]:focus,.components-popover input[type=url]:focus,.components-popover input[type=week]:focus,.components-popover select:focus,.components-popover textarea:focus,.edit-post-header .input-control:focus,.edit-post-header input[type=checkbox]:focus,.edit-post-header input[type=color]:focus,.edit-post-header input[type=date]:focus,.edit-post-header input[type=datetime-local]:focus,.edit-post-header input[type=datetime]:focus,.edit-post-header input[type=email]:focus,.edit-post-header input[type=month]:focus,.edit-post-header input[type=number]:focus,.edit-post-header input[type=password]:focus,.edit-post-header input[type=radio]:focus,.edit-post-header input[type=search]:focus,.edit-post-header input[type=tel]:focus,.edit-post-header input[type=text]:focus,.edit-post-header input[type=time]:focus,.edit-post-header input[type=url]:focus,.edit-post-header input[type=week]:focus,.edit-post-header select:focus,.edit-post-header textarea:focus,.edit-post-sidebar .input-control:focus,.edit-post-sidebar input[type=checkbox]:focus,.edit-post-sidebar input[type=color]:focus,.edit-post-sidebar input[type=date]:focus,.edit-post-sidebar input[type=datetime-local]:focus,.edit-post-sidebar input[type=datetime]:focus,.edit-post-sidebar input[type=email]:focus,.edit-post-sidebar input[type=month]:focus,.edit-post-sidebar input[type=number]:focus,.edit-post-sidebar input[type=password]:focus,.edit-post-sidebar input[type=radio]:focus,.edit-post-sidebar input[type=search]:focus,.edit-post-sidebar input[type=tel]:focus,.edit-post-sidebar input[type=text]:focus,.edit-post-sidebar input[type=time]:focus,.edit-post-sidebar input[type=url]:focus,.edit-post-sidebar input[type=week]:focus,.edit-post-sidebar select:focus,.edit-post-sidebar textarea:focus,.edit-post-text-editor .input-control:focus,.edit-post-text-editor input[type=checkbox]:focus,.edit-post-text-editor input[type=color]:focus,.edit-post-text-editor input[type=date]:focus,.edit-post-text-editor input[type=datetime-local]:focus,.edit-post-text-editor input[type=datetime]:focus,.edit-post-text-editor input[type=email]:focus,.edit-post-text-editor input[type=month]:focus,.edit-post-text-editor input[type=number]:focus,.edit-post-text-editor input[type=password]:focus,.edit-post-text-editor input[type=radio]:focus,.edit-post-text-editor input[type=search]:focus,.edit-post-text-editor input[type=tel]:focus,.edit-post-text-editor input[type=text]:focus,.edit-post-text-editor input[type=time]:focus,.edit-post-text-editor input[type=url]:focus,.edit-post-text-editor input[type=week]:focus,.edit-post-text-editor select:focus,.edit-post-text-editor textarea:focus,.edit-post-visual-editor .input-control:focus,.edit-post-visual-editor input[type=checkbox]:focus,.edit-post-visual-editor input[type=color]:focus,.edit-post-visual-editor input[type=date]:focus,.edit-post-visual-editor input[type=datetime-local]:focus,.edit-post-visual-editor input[type=datetime]:focus,.edit-post-visual-editor input[type=email]:focus,.edit-post-visual-editor input[type=month]:focus,.edit-post-visual-editor input[type=number]:focus,.edit-post-visual-editor input[type=password]:focus,.edit-post-visual-editor input[type=radio]:focus,.edit-post-visual-editor input[type=search]:focus,.edit-post-visual-editor input[type=tel]:focus,.edit-post-visual-editor input[type=text]:focus,.edit-post-visual-editor input[type=time]:focus,.edit-post-visual-editor input[type=url]:focus,.edit-post-visual-editor input[type=week]:focus,.edit-post-visual-editor select:focus,.edit-post-visual-editor textarea:focus,.editor-post-publish-panel .input-control:focus,.editor-post-publish-panel input[type=checkbox]:focus,.editor-post-publish-panel input[type=color]:focus,.editor-post-publish-panel input[type=date]:focus,.editor-post-publish-panel input[type=datetime-local]:focus,.editor-post-publish-panel input[type=datetime]:focus,.editor-post-publish-panel input[type=email]:focus,.editor-post-publish-panel input[type=month]:focus,.editor-post-publish-panel input[type=number]:focus,.editor-post-publish-panel input[type=password]:focus,.editor-post-publish-panel input[type=radio]:focus,.editor-post-publish-panel input[type=search]:focus,.editor-post-publish-panel input[type=tel]:focus,.editor-post-publish-panel input[type=text]:focus,.editor-post-publish-panel input[type=time]:focus,.editor-post-publish-panel input[type=url]:focus,.editor-post-publish-panel input[type=week]:focus,.editor-post-publish-panel select:focus,.editor-post-publish-panel textarea:focus{color:#191e23;border-color:#007cba;box-shadow:0 0 0 1px #007cba;outline:2px solid transparent}.components-modal__frame input[type=number],.components-popover input[type=number],.edit-post-header input[type=number],.edit-post-sidebar input[type=number],.edit-post-text-editor input[type=number],.edit-post-visual-editor input[type=number],.editor-post-publish-panel input[type=number]{padding-right:4px;padding-left:4px}.components-modal__frame select,.components-popover select,.edit-post-header select,.edit-post-sidebar select,.edit-post-text-editor select,.edit-post-visual-editor select,.editor-post-publish-panel select{padding:2px;font-size:13px;color:#555d66}.components-modal__frame select:focus,.components-popover select:focus,.edit-post-header select:focus,.edit-post-sidebar select:focus,.edit-post-text-editor select:focus,.edit-post-visual-editor select:focus,.editor-post-publish-panel select:focus{border-color:#008dbe;outline:2px solid transparent;outline-offset:0}.components-modal__frame input[type=checkbox],.components-modal__frame input[type=radio],.components-popover input[type=checkbox],.components-popover input[type=radio],.edit-post-header input[type=checkbox],.edit-post-header input[type=radio],.edit-post-sidebar input[type=checkbox],.edit-post-sidebar input[type=radio],.edit-post-text-editor input[type=checkbox],.edit-post-text-editor input[type=radio],.edit-post-visual-editor input[type=checkbox],.edit-post-visual-editor input[type=radio],.editor-post-publish-panel input[type=checkbox],.editor-post-publish-panel input[type=radio]{border:2px solid #6c7781;margin-left:12px;transition:none}.components-modal__frame input[type=checkbox]:focus,.components-modal__frame input[type=radio]:focus,.components-popover input[type=checkbox]:focus,.components-popover input[type=radio]:focus,.edit-post-header input[type=checkbox]:focus,.edit-post-header input[type=radio]:focus,.edit-post-sidebar input[type=checkbox]:focus,.edit-post-sidebar input[type=radio]:focus,.edit-post-text-editor input[type=checkbox]:focus,.edit-post-text-editor input[type=radio]:focus,.edit-post-visual-editor input[type=checkbox]:focus,.edit-post-visual-editor input[type=radio]:focus,.editor-post-publish-panel input[type=checkbox]:focus,.editor-post-publish-panel input[type=radio]:focus{border-color:#6c7781;box-shadow:0 0 0 1px #6c7781}.components-modal__frame input[type=checkbox]:checked,.components-modal__frame input[type=radio]:checked,.components-popover input[type=checkbox]:checked,.components-popover input[type=radio]:checked,.edit-post-header input[type=checkbox]:checked,.edit-post-header input[type=radio]:checked,.edit-post-sidebar input[type=checkbox]:checked,.edit-post-sidebar input[type=radio]:checked,.edit-post-text-editor input[type=checkbox]:checked,.edit-post-text-editor input[type=radio]:checked,.edit-post-visual-editor input[type=checkbox]:checked,.edit-post-visual-editor input[type=radio]:checked,.editor-post-publish-panel input[type=checkbox]:checked,.editor-post-publish-panel input[type=radio]:checked{background:#11a0d2;border-color:#11a0d2}body.admin-color-sunrise .components-modal__frame input[type=checkbox]:checked,body.admin-color-sunrise .components-modal__frame input[type=radio]:checked,body.admin-color-sunrise .components-popover input[type=checkbox]:checked,body.admin-color-sunrise .components-popover input[type=radio]:checked,body.admin-color-sunrise .edit-post-header input[type=checkbox]:checked,body.admin-color-sunrise .edit-post-header input[type=radio]:checked,body.admin-color-sunrise .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-sunrise .edit-post-sidebar input[type=radio]:checked,body.admin-color-sunrise .edit-post-text-editor input[type=checkbox]:checked,body.admin-color-sunrise .edit-post-text-editor input[type=radio]:checked,body.admin-color-sunrise .edit-post-visual-editor input[type=checkbox]:checked,body.admin-color-sunrise .edit-post-visual-editor input[type=radio]:checked,body.admin-color-sunrise .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-sunrise .editor-post-publish-panel input[type=radio]:checked{background:#c8b03c;border-color:#c8b03c}body.admin-color-ocean .components-modal__frame input[type=checkbox]:checked,body.admin-color-ocean .components-modal__frame input[type=radio]:checked,body.admin-color-ocean .components-popover input[type=checkbox]:checked,body.admin-color-ocean .components-popover input[type=radio]:checked,body.admin-color-ocean .edit-post-header input[type=checkbox]:checked,body.admin-color-ocean .edit-post-header input[type=radio]:checked,body.admin-color-ocean .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-ocean .edit-post-sidebar input[type=radio]:checked,body.admin-color-ocean .edit-post-text-editor input[type=checkbox]:checked,body.admin-color-ocean .edit-post-text-editor input[type=radio]:checked,body.admin-color-ocean .edit-post-visual-editor input[type=checkbox]:checked,body.admin-color-ocean .edit-post-visual-editor input[type=radio]:checked,body.admin-color-ocean .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-ocean .editor-post-publish-panel input[type=radio]:checked{background:#a3b9a2;border-color:#a3b9a2}body.admin-color-midnight .components-modal__frame input[type=checkbox]:checked,body.admin-color-midnight .components-modal__frame input[type=radio]:checked,body.admin-color-midnight .components-popover input[type=checkbox]:checked,body.admin-color-midnight .components-popover input[type=radio]:checked,body.admin-color-midnight .edit-post-header input[type=checkbox]:checked,body.admin-color-midnight .edit-post-header input[type=radio]:checked,body.admin-color-midnight .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-midnight .edit-post-sidebar input[type=radio]:checked,body.admin-color-midnight .edit-post-text-editor input[type=checkbox]:checked,body.admin-color-midnight .edit-post-text-editor input[type=radio]:checked,body.admin-color-midnight .edit-post-visual-editor input[type=checkbox]:checked,body.admin-color-midnight .edit-post-visual-editor input[type=radio]:checked,body.admin-color-midnight .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-midnight .editor-post-publish-panel input[type=radio]:checked{background:#77a6b9;border-color:#77a6b9}body.admin-color-ectoplasm .components-modal__frame input[type=checkbox]:checked,body.admin-color-ectoplasm .components-modal__frame input[type=radio]:checked,body.admin-color-ectoplasm .components-popover input[type=checkbox]:checked,body.admin-color-ectoplasm .components-popover input[type=radio]:checked,body.admin-color-ectoplasm .edit-post-header input[type=checkbox]:checked,body.admin-color-ectoplasm .edit-post-header input[type=radio]:checked,body.admin-color-ectoplasm .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-ectoplasm .edit-post-sidebar input[type=radio]:checked,body.admin-color-ectoplasm .edit-post-text-editor input[type=checkbox]:checked,body.admin-color-ectoplasm .edit-post-text-editor input[type=radio]:checked,body.admin-color-ectoplasm .edit-post-visual-editor input[type=checkbox]:checked,body.admin-color-ectoplasm .edit-post-visual-editor input[type=radio]:checked,body.admin-color-ectoplasm .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-ectoplasm .editor-post-publish-panel input[type=radio]:checked{background:#a7b656;border-color:#a7b656}body.admin-color-coffee .components-modal__frame input[type=checkbox]:checked,body.admin-color-coffee .components-modal__frame input[type=radio]:checked,body.admin-color-coffee .components-popover input[type=checkbox]:checked,body.admin-color-coffee .components-popover input[type=radio]:checked,body.admin-color-coffee .edit-post-header input[type=checkbox]:checked,body.admin-color-coffee .edit-post-header input[type=radio]:checked,body.admin-color-coffee .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-coffee .edit-post-sidebar input[type=radio]:checked,body.admin-color-coffee .edit-post-text-editor input[type=checkbox]:checked,body.admin-color-coffee .edit-post-text-editor input[type=radio]:checked,body.admin-color-coffee .edit-post-visual-editor input[type=checkbox]:checked,body.admin-color-coffee .edit-post-visual-editor input[type=radio]:checked,body.admin-color-coffee .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-coffee .editor-post-publish-panel input[type=radio]:checked{background:#c2a68c;border-color:#c2a68c}body.admin-color-blue .components-modal__frame input[type=checkbox]:checked,body.admin-color-blue .components-modal__frame input[type=radio]:checked,body.admin-color-blue .components-popover input[type=checkbox]:checked,body.admin-color-blue .components-popover input[type=radio]:checked,body.admin-color-blue .edit-post-header input[type=checkbox]:checked,body.admin-color-blue .edit-post-header input[type=radio]:checked,body.admin-color-blue .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-blue .edit-post-sidebar input[type=radio]:checked,body.admin-color-blue .edit-post-text-editor input[type=checkbox]:checked,body.admin-color-blue .edit-post-text-editor input[type=radio]:checked,body.admin-color-blue .edit-post-visual-editor input[type=checkbox]:checked,body.admin-color-blue .edit-post-visual-editor input[type=radio]:checked,body.admin-color-blue .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-blue .editor-post-publish-panel input[type=radio]:checked{background:#82b4cb;border-color:#82b4cb}body.admin-color-light .components-modal__frame input[type=checkbox]:checked,body.admin-color-light .components-modal__frame input[type=radio]:checked,body.admin-color-light .components-popover input[type=checkbox]:checked,body.admin-color-light .components-popover input[type=radio]:checked,body.admin-color-light .edit-post-header input[type=checkbox]:checked,body.admin-color-light .edit-post-header input[type=radio]:checked,body.admin-color-light .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-light .edit-post-sidebar input[type=radio]:checked,body.admin-color-light .edit-post-text-editor input[type=checkbox]:checked,body.admin-color-light .edit-post-text-editor input[type=radio]:checked,body.admin-color-light .edit-post-visual-editor input[type=checkbox]:checked,body.admin-color-light .edit-post-visual-editor input[type=radio]:checked,body.admin-color-light .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-light .editor-post-publish-panel input[type=radio]:checked{background:#11a0d2;border-color:#11a0d2}.components-modal__frame input[type=checkbox]:checked:focus,.components-modal__frame input[type=radio]:checked:focus,.components-popover input[type=checkbox]:checked:focus,.components-popover input[type=radio]:checked:focus,.edit-post-header input[type=checkbox]:checked:focus,.edit-post-header input[type=radio]:checked:focus,.edit-post-sidebar input[type=checkbox]:checked:focus,.edit-post-sidebar input[type=radio]:checked:focus,.edit-post-text-editor input[type=checkbox]:checked:focus,.edit-post-text-editor input[type=radio]:checked:focus,.edit-post-visual-editor input[type=checkbox]:checked:focus,.edit-post-visual-editor input[type=radio]:checked:focus,.editor-post-publish-panel input[type=checkbox]:checked:focus,.editor-post-publish-panel input[type=radio]:checked:focus{box-shadow:0 0 0 2px #555d66}.components-modal__frame input[type=checkbox],.components-popover input[type=checkbox],.edit-post-header input[type=checkbox],.edit-post-sidebar input[type=checkbox],.edit-post-text-editor input[type=checkbox],.edit-post-visual-editor input[type=checkbox],.editor-post-publish-panel input[type=checkbox]{border-radius:2px}.components-modal__frame input[type=checkbox]:checked:before,.components-modal__frame input[type=checkbox][aria-checked=mixed]:before,.components-popover input[type=checkbox]:checked:before,.components-popover input[type=checkbox][aria-checked=mixed]:before,.edit-post-header input[type=checkbox]:checked:before,.edit-post-header input[type=checkbox][aria-checked=mixed]:before,.edit-post-sidebar input[type=checkbox]:checked:before,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:before,.edit-post-text-editor input[type=checkbox]:checked:before,.edit-post-text-editor input[type=checkbox][aria-checked=mixed]:before,.edit-post-visual-editor input[type=checkbox]:checked:before,.edit-post-visual-editor input[type=checkbox][aria-checked=mixed]:before,.editor-post-publish-panel input[type=checkbox]:checked:before,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:before{margin:-3px -5px;color:#fff}@media (min-width:782px){.components-modal__frame input[type=checkbox]:checked:before,.components-modal__frame input[type=checkbox][aria-checked=mixed]:before,.components-popover input[type=checkbox]:checked:before,.components-popover input[type=checkbox][aria-checked=mixed]:before,.edit-post-header input[type=checkbox]:checked:before,.edit-post-header input[type=checkbox][aria-checked=mixed]:before,.edit-post-sidebar input[type=checkbox]:checked:before,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:before,.edit-post-text-editor input[type=checkbox]:checked:before,.edit-post-text-editor input[type=checkbox][aria-checked=mixed]:before,.edit-post-visual-editor input[type=checkbox]:checked:before,.edit-post-visual-editor input[type=checkbox][aria-checked=mixed]:before,.editor-post-publish-panel input[type=checkbox]:checked:before,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:before{margin:-4px -5px 0 0}}.components-modal__frame input[type=checkbox][aria-checked=mixed],.components-popover input[type=checkbox][aria-checked=mixed],.edit-post-header input[type=checkbox][aria-checked=mixed],.edit-post-sidebar input[type=checkbox][aria-checked=mixed],.edit-post-text-editor input[type=checkbox][aria-checked=mixed],.edit-post-visual-editor input[type=checkbox][aria-checked=mixed],.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#11a0d2;border-color:#11a0d2}body.admin-color-sunrise .components-modal__frame input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .edit-post-header input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .edit-post-text-editor input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .edit-post-visual-editor input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#c8b03c;border-color:#c8b03c}body.admin-color-ocean .components-modal__frame input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .edit-post-header input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .edit-post-text-editor input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .edit-post-visual-editor input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#a3b9a2;border-color:#a3b9a2}body.admin-color-midnight .components-modal__frame input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .edit-post-header input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .edit-post-text-editor input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .edit-post-visual-editor input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#77a6b9;border-color:#77a6b9}body.admin-color-ectoplasm .components-modal__frame input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .edit-post-header input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .edit-post-text-editor input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .edit-post-visual-editor input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#a7b656;border-color:#a7b656}body.admin-color-coffee .components-modal__frame input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .edit-post-header input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .edit-post-text-editor input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .edit-post-visual-editor input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#c2a68c;border-color:#c2a68c}body.admin-color-blue .components-modal__frame input[type=checkbox][aria-checked=mixed],body.admin-color-blue .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-blue .edit-post-header input[type=checkbox][aria-checked=mixed],body.admin-color-blue .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-blue .edit-post-text-editor input[type=checkbox][aria-checked=mixed],body.admin-color-blue .edit-post-visual-editor input[type=checkbox][aria-checked=mixed],body.admin-color-blue .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#82b4cb;border-color:#82b4cb}body.admin-color-light .components-modal__frame input[type=checkbox][aria-checked=mixed],body.admin-color-light .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-light .edit-post-header input[type=checkbox][aria-checked=mixed],body.admin-color-light .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-light .edit-post-text-editor input[type=checkbox][aria-checked=mixed],body.admin-color-light .edit-post-visual-editor input[type=checkbox][aria-checked=mixed],body.admin-color-light .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#11a0d2;border-color:#11a0d2}.components-modal__frame input[type=checkbox][aria-checked=mixed]:before,.components-popover input[type=checkbox][aria-checked=mixed]:before,.edit-post-header input[type=checkbox][aria-checked=mixed]:before,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:before,.edit-post-text-editor input[type=checkbox][aria-checked=mixed]:before,.edit-post-visual-editor input[type=checkbox][aria-checked=mixed]:before,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:before{content:"\f460";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-modal__frame input[type=checkbox][aria-checked=mixed]:before,.components-popover input[type=checkbox][aria-checked=mixed]:before,.edit-post-header input[type=checkbox][aria-checked=mixed]:before,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:before,.edit-post-text-editor input[type=checkbox][aria-checked=mixed]:before,.edit-post-visual-editor input[type=checkbox][aria-checked=mixed]:before,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:before{float:none;font-size:21px}}.components-modal__frame input[type=checkbox][aria-checked=mixed]:focus,.components-popover input[type=checkbox][aria-checked=mixed]:focus,.edit-post-header input[type=checkbox][aria-checked=mixed]:focus,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:focus,.edit-post-text-editor input[type=checkbox][aria-checked=mixed]:focus,.edit-post-visual-editor input[type=checkbox][aria-checked=mixed]:focus,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:focus{box-shadow:0 0 0 2px #555d66}.components-modal__frame input[type=radio],.components-popover input[type=radio],.edit-post-header input[type=radio],.edit-post-sidebar input[type=radio],.edit-post-text-editor input[type=radio],.edit-post-visual-editor input[type=radio],.editor-post-publish-panel input[type=radio]{border-radius:50%}.components-modal__frame input[type=radio]:checked:before,.components-popover input[type=radio]:checked:before,.edit-post-header input[type=radio]:checked:before,.edit-post-sidebar input[type=radio]:checked:before,.edit-post-text-editor input[type=radio]:checked:before,.edit-post-visual-editor input[type=radio]:checked:before,.editor-post-publish-panel input[type=radio]:checked:before{width:6px;height:6px;margin:6px 6px 0 0;background-color:#fff}@media (min-width:782px){.components-modal__frame input[type=radio]:checked:before,.components-popover input[type=radio]:checked:before,.edit-post-header input[type=radio]:checked:before,.edit-post-sidebar input[type=radio]:checked:before,.edit-post-text-editor input[type=radio]:checked:before,.edit-post-visual-editor input[type=radio]:checked:before,.editor-post-publish-panel input[type=radio]:checked:before{margin:3px 3px 0 0}}.components-modal__frame input::-webkit-input-placeholder,.components-modal__frame textarea::-webkit-input-placeholder,.components-popover input::-webkit-input-placeholder,.components-popover textarea::-webkit-input-placeholder,.edit-post-header input::-webkit-input-placeholder,.edit-post-header textarea::-webkit-input-placeholder,.edit-post-sidebar input::-webkit-input-placeholder,.edit-post-sidebar textarea::-webkit-input-placeholder,.edit-post-text-editor input::-webkit-input-placeholder,.edit-post-text-editor textarea::-webkit-input-placeholder,.edit-post-visual-editor input::-webkit-input-placeholder,.edit-post-visual-editor textarea::-webkit-input-placeholder,.editor-post-publish-panel input::-webkit-input-placeholder,.editor-post-publish-panel textarea::-webkit-input-placeholder{color:rgba(14,28,46,.62)}.components-modal__frame input::-moz-placeholder,.components-modal__frame textarea::-moz-placeholder,.components-popover input::-moz-placeholder,.components-popover textarea::-moz-placeholder,.edit-post-header input::-moz-placeholder,.edit-post-header textarea::-moz-placeholder,.edit-post-sidebar input::-moz-placeholder,.edit-post-sidebar textarea::-moz-placeholder,.edit-post-text-editor input::-moz-placeholder,.edit-post-text-editor textarea::-moz-placeholder,.edit-post-visual-editor input::-moz-placeholder,.edit-post-visual-editor textarea::-moz-placeholder,.editor-post-publish-panel input::-moz-placeholder,.editor-post-publish-panel textarea::-moz-placeholder{opacity:1;color:rgba(14,28,46,.62)}.components-modal__frame input:-ms-input-placeholder,.components-modal__frame textarea:-ms-input-placeholder,.components-popover input:-ms-input-placeholder,.components-popover textarea:-ms-input-placeholder,.edit-post-header input:-ms-input-placeholder,.edit-post-header textarea:-ms-input-placeholder,.edit-post-sidebar input:-ms-input-placeholder,.edit-post-sidebar textarea:-ms-input-placeholder,.edit-post-text-editor input:-ms-input-placeholder,.edit-post-text-editor textarea:-ms-input-placeholder,.edit-post-visual-editor input:-ms-input-placeholder,.edit-post-visual-editor textarea:-ms-input-placeholder,.editor-post-publish-panel input:-ms-input-placeholder,.editor-post-publish-panel textarea:-ms-input-placeholder{color:rgba(14,28,46,.62)}.is-dark-theme .components-modal__frame input::-webkit-input-placeholder,.is-dark-theme .components-modal__frame textarea::-webkit-input-placeholder,.is-dark-theme .components-popover input::-webkit-input-placeholder,.is-dark-theme .components-popover textarea::-webkit-input-placeholder,.is-dark-theme .edit-post-header input::-webkit-input-placeholder,.is-dark-theme .edit-post-header textarea::-webkit-input-placeholder,.is-dark-theme .edit-post-sidebar input::-webkit-input-placeholder,.is-dark-theme .edit-post-sidebar textarea::-webkit-input-placeholder,.is-dark-theme .edit-post-text-editor input::-webkit-input-placeholder,.is-dark-theme .edit-post-text-editor textarea::-webkit-input-placeholder,.is-dark-theme .edit-post-visual-editor input::-webkit-input-placeholder,.is-dark-theme .edit-post-visual-editor textarea::-webkit-input-placeholder,.is-dark-theme .editor-post-publish-panel input::-webkit-input-placeholder,.is-dark-theme .editor-post-publish-panel textarea::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .components-modal__frame input::-moz-placeholder,.is-dark-theme .components-modal__frame textarea::-moz-placeholder,.is-dark-theme .components-popover input::-moz-placeholder,.is-dark-theme .components-popover textarea::-moz-placeholder,.is-dark-theme .edit-post-header input::-moz-placeholder,.is-dark-theme .edit-post-header textarea::-moz-placeholder,.is-dark-theme .edit-post-sidebar input::-moz-placeholder,.is-dark-theme .edit-post-sidebar textarea::-moz-placeholder,.is-dark-theme .edit-post-text-editor input::-moz-placeholder,.is-dark-theme .edit-post-text-editor textarea::-moz-placeholder,.is-dark-theme .edit-post-visual-editor input::-moz-placeholder,.is-dark-theme .edit-post-visual-editor textarea::-moz-placeholder,.is-dark-theme .editor-post-publish-panel input::-moz-placeholder,.is-dark-theme .editor-post-publish-panel textarea::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .components-modal__frame input:-ms-input-placeholder,.is-dark-theme .components-modal__frame textarea:-ms-input-placeholder,.is-dark-theme .components-popover input:-ms-input-placeholder,.is-dark-theme .components-popover textarea:-ms-input-placeholder,.is-dark-theme .edit-post-header input:-ms-input-placeholder,.is-dark-theme .edit-post-header textarea:-ms-input-placeholder,.is-dark-theme .edit-post-sidebar input:-ms-input-placeholder,.is-dark-theme .edit-post-sidebar textarea:-ms-input-placeholder,.is-dark-theme .edit-post-text-editor input:-ms-input-placeholder,.is-dark-theme .edit-post-text-editor textarea:-ms-input-placeholder,.is-dark-theme .edit-post-visual-editor input:-ms-input-placeholder,.is-dark-theme .edit-post-visual-editor textarea:-ms-input-placeholder,.is-dark-theme .editor-post-publish-panel input:-ms-input-placeholder,.is-dark-theme .editor-post-publish-panel textarea:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}@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%}.block-editor__container .components-navigate-regions{height:100%}.wp-block{max-width:580px}.wp-block[data-align=wide]{max-width:1100px}.wp-block[data-align=full]{max-width:none} \ No newline at end of file +html{position:fixed;width:100%}@media (min-width:782px){html{position:static;width:auto}}.edit-post-editor-regions{display:flex;flex-direction:column;height:auto;max-height:100%;position:fixed;top:46px;left:0;bottom:0}@media (min-width:782px){.edit-post-editor-regions{top:32px}.is-fullscreen-mode .edit-post-editor-regions{top:0}}.edit-post-editor-regions{right:0}@media (min-width:782px){.edit-post-editor-regions{right:160px}}@media (min-width:782px){.auto-fold .edit-post-editor-regions{right:36px}}@media (min-width:960px){.auto-fold .edit-post-editor-regions{right:160px}}.folded .edit-post-editor-regions{right:0}@media (min-width:782px){.folded .edit-post-editor-regions{right:36px}}@media (max-width:782px){.auto-fold .wp-responsive-open .edit-post-editor-regions{right:190px}}@media (max-width:600px){.auto-fold .wp-responsive-open .edit-post-editor-regions{margin-right:-18px}}body.is-fullscreen-mode .edit-post-editor-regions{right:0!important}.edit-post-editor-regions__body{flex-grow:1;display:flex;overflow:auto;overscroll-behavior-y:none}.edit-post-editor-regions__content{flex-grow:1;display:flex;flex-direction:column}@media (min-width:782px){.edit-post-editor-regions__content{overflow:auto}}.edit-post-editor-regions__sidebar{width:auto;flex-shrink:0;position:absolute;z-index:100000;top:0;left:0;bottom:0;right:0;background:#fff}.edit-post-editor-regions__sidebar:empty{display:none}@media (min-width:782px){.edit-post-editor-regions__sidebar{overflow:auto;border-right:1px solid #e2e4e7;position:relative!important;z-index:90}}.edit-post-editor-regions__header{flex-shrink:0;height:auto;border-bottom:1px solid #e2e4e7;z-index:30;position:-webkit-sticky;position:sticky;top:0}@media (min-width:600px){.edit-post-editor-regions__header{position:static;top:0}}.edit-post-editor-regions__footer{height:auto;flex-shrink:0;overflow:auto;border-top:1px solid #e2e4e7;display:none}@media (min-width:782px){.edit-post-editor-regions__footer{display:block}}.edit-post-editor-regions__publish{z-index:100000;position:fixed!important;top:-9999em;bottom:auto;right:auto;left:0;width:280px}.edit-post-editor-regions__publish:focus{top:auto;bottom:0}@media (min-width:782px){body.js.is-fullscreen-mode{margin-top:-46px;height:calc(100% + 46px)}}@media (min-width:782px) and (min-width:782px){body.js.is-fullscreen-mode{margin-top:-32px;height:calc(100% + 32px)}}@media (min-width:782px){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}body.js.is-fullscreen-mode .edit-post-header{transform:translateY(-100%);animation:edit-post-fullscreen-mode__slide-in-animation .1s forwards}}@media (min-width:782px) and (prefers-reduced-motion:reduce){body.js.is-fullscreen-mode .edit-post-header{animation-duration:1ms}}@keyframes edit-post-fullscreen-mode__slide-in-animation{to{transform:translateY(0)}}.edit-post-header{height:56px;padding:4px 2px;background:#fff;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;max-width:100vw}@media (min-width:280px){.edit-post-header{flex-wrap:nowrap}}@media (min-width:600px){.edit-post-header{padding:8px}}.edit-post-header>.edit-post-header__settings{order:1}@supports ((position:-webkit-sticky) or (position:sticky)){.edit-post-header>.edit-post-header__settings{order:0}}.edit-post-header__toolbar{display:flex}.edit-post-header__settings{display:inline-flex;align-items:center;flex-wrap:wrap}.edit-post-header .components-button.is-pressed{color:#fff;background:#555d66}.edit-post-header .components-button.is-pressed:focus,.edit-post-header .components-button.is-pressed:hover{box-shadow:0 0 0 1px #555d66,inset 0 0 0 1px #fff!important;color:#fff!important;background:#555d66!important}.edit-post-header .components-button.editor-post-preview,.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle,.edit-post-header .components-button.editor-post-save-draft,.edit-post-header .components-button.editor-post-switch-to-draft{margin:2px;font-size:13px}.edit-post-header .components-button.editor-post-save-draft,.edit-post-header .components-button.editor-post-switch-to-draft{padding:0 5px}@media (min-width:600px){.edit-post-header .components-button.editor-post-save-draft,.edit-post-header .components-button.editor-post-switch-to-draft{padding:0 12px}}.edit-post-header .components-button.editor-post-preview,.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle{padding-right:5px;padding-left:5px}@media (min-width:600px){.edit-post-header .components-button.editor-post-preview,.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle{padding-right:12px;padding-left:12px}}@media (min-width:782px){.edit-post-header .components-button.editor-post-preview{margin:0 12px 0 3px}.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle{margin:0 3px 0 12px}}.edit-post-fullscreen-mode-close__toolbar{display:none}@media (min-width:782px){.edit-post-fullscreen-mode-close__toolbar{display:flex;border-top:0;border-bottom:0;border-right:0;margin:-9px -10px -8px 10px;padding:9px 10px}}.edit-post-header-toolbar{display:inline-flex;align-items:center}.edit-post-header-toolbar>.components-button{display:none}@media (min-width:600px){.edit-post-header-toolbar>.components-button{display:inline-flex}}.edit-post-header-toolbar .block-editor-block-navigation,.edit-post-header-toolbar .table-of-contents{display:none}@media (min-width:600px){.edit-post-header-toolbar .block-editor-block-navigation,.edit-post-header-toolbar .table-of-contents{display:flex}}.edit-post-header-toolbar__block-toolbar{position:absolute;top:57px;right:0;left:0;background:#fff;min-height:37px;border-bottom:1px solid #e2e4e7}.edit-post-header-toolbar__block-toolbar:empty{display:none}.edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar .components-toolbar{border-top:none;border-bottom:none}.is-sidebar-opened .edit-post-header-toolbar__block-toolbar{display:none}@media (min-width:782px){.is-sidebar-opened .edit-post-header-toolbar__block-toolbar{display:block;left:280px}}@media (min-width:1080px){.edit-post-header-toolbar__block-toolbar{padding-right:8px;position:static;right:auto;left:auto;background:none;border-bottom:none;min-height:auto}.is-sidebar-opened .edit-post-header-toolbar__block-toolbar{left:auto}.edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar{margin:-9px 0}.edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar .components-toolbar{padding:10px 4px 9px}}.edit-post-more-menu{margin-right:-4px}.edit-post-more-menu .components-button{width:auto;padding:8px 2px}@media (min-width:600px){.edit-post-more-menu{margin-right:4px}.edit-post-more-menu .components-button{padding:8px 4px}}.edit-post-more-menu .components-button svg{transform:rotate(-90deg)}.edit-post-more-menu__content .components-popover__content{min-width:260px}@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-pinned-plugins{display:none}@media (min-width:600px){.edit-post-pinned-plugins{display:flex}}.edit-post-pinned-plugins .components-button{margin-right:4px}.edit-post-pinned-plugins .components-button.is-pressed{margin-right:5px}.edit-post-pinned-plugins .components-button svg{max-width:24px;max-height:24px}.edit-post-pinned-plugins .components-button:not(.is-pressed) svg,.edit-post-pinned-plugins .components-button:not(.is-pressed) svg *{stroke:#555d66;fill:#555d66;stroke-width:0}.edit-post-pinned-plugins .components-button.is-pressed:hover svg,.edit-post-pinned-plugins .components-button.is-pressed:hover svg *,.edit-post-pinned-plugins .components-button.is-pressed svg,.edit-post-pinned-plugins .components-button.is-pressed svg *{stroke:#fff!important;fill:#fff!important;stroke-width:0}.edit-post-pinned-plugins .components-button:hover svg,.edit-post-pinned-plugins .components-button:hover svg *{stroke:#191e23!important;fill:#191e23!important;stroke-width: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 #e2e4e7;margin-bottom:0}.edit-post-keyboard-shortcut-help-modal__shortcut:last-child{border-bottom:1px solid #e2e4e7}.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 #e2e4e7;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:20px;padding-right:16px;padding-left:16px;right:0}@media (min-width:782px){.edit-post-layout .components-editor-notices__snackbar{right:160px}}@media (min-width:782px){.auto-fold .edit-post-layout .components-editor-notices__snackbar{right:36px}}@media (min-width:960px){.auto-fold .edit-post-layout .components-editor-notices__snackbar{right:160px}}.folded .edit-post-layout .components-editor-notices__snackbar{right:0}@media (min-width:782px){.folded .edit-post-layout .components-editor-notices__snackbar{right:36px}}@media (max-width:782px){.auto-fold .wp-responsive-open .edit-post-layout .components-editor-notices__snackbar{right:190px}}@media (max-width:600px){.auto-fold .wp-responsive-open .edit-post-layout .components-editor-notices__snackbar{margin-right:-18px}}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:280px;border-right:1px solid #e2e4e7;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}}@media (min-width:782px){body.is-fullscreen-mode .edit-post-layout .editor-post-publish-panel{top:0}.is-focusing-regions .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-toggle-publish-panel{background-color:#fff;padding:10px 0 10px 10px}.edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{width:auto;height:auto;display:block;font-size:14px;font-weight:600;margin:0 auto 0 0;padding:15px 23px 14px;line-height:normal;text-decoration:none;outline:none;background:#f1f1f1;color:#11a0d2}body.admin-color-sunrise .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#c8b03c}body.admin-color-ocean .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#a89d8a}body.admin-color-midnight .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#77a6b9}body.admin-color-ectoplasm .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#c77430}body.admin-color-coffee .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#9fa47b}body.admin-color-blue .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#d9ab59}body.admin-color-light .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#c75726}.edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button:focus{position:fixed;top:auto;left:10px;bottom:10px;right:auto}.edit-post-layout__footer{display:none;z-index:30}@media (min-width:782px){.edit-post-layout__footer{display:flex;background:#fff;height:24px;padding:0 8px;align-items:center;font-size:13px}}@media (min-width:600px){.edit-post-manage-blocks-modal{height:calc(100% - 112px)}}.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:12px;border-radius:4px}.edit-post-manage-blocks-modal__disabled-blocks-count{border-top:1px solid #e2e4e7;margin-right:-24px;margin-left:-24px;padding:.6rem 24px;background-color:#f3f4f5}.edit-post-manage-blocks-modal__category{margin:0 0 2rem}.edit-post-manage-blocks-modal__category-title{position:-webkit-sticky;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 #e2e4e7}.edit-post-manage-blocks-modal__checklist-item:last-child{border-bottom:1px solid #e2e4e7}.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:#555d66}.edit-post-manage-blocks-modal__results{height:100%;overflow:auto;margin-right:-24px;margin-left:-24px;padding-right:24px;padding-left:24px;border-top:1px solid #e2e4e7}.edit-post-meta-boxes-area{position:relative}.edit-post-meta-boxes-area .inside,.edit-post-meta-boxes-area__container{box-sizing:content-box}.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{border-bottom:1px solid #e2e4e7;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 #e2e4e7;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 #6c7781}.edit-post-meta-boxes-area .metabox-location-side .postbox input[type=checkbox]:checked{background:#fff;border-color:#6c7781}.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-sidebar{background:#fff;color:#555d66;overflow:visible}@media (min-width:600px){.edit-post-sidebar{z-index:auto;height:100%;overflow:visible;-webkit-overflow-scrolling:touch}}@media (min-width:782px){.edit-post-sidebar{width:280px}}.edit-post-sidebar>.components-panel{border-right:none;border-left:none;overflow:auto;-webkit-overflow-scrolling:touch;height:auto;max-height:calc(100vh - 96px);margin-top:-1px;margin-bottom:-1px;position:relative}@media (min-width:600px){.edit-post-sidebar>.components-panel{overflow:visible;height:auto;max-height:none}}.edit-post-sidebar>.components-panel .components-panel__header{position:fixed;z-index:1;top:0;right:0;left:0;height:50px}@media (min-width:600px){.edit-post-sidebar>.components-panel .components-panel__header{position:inherit;top:auto;right:auto;left:auto}}.edit-post-sidebar p{margin-top:0}.edit-post-sidebar h2,.edit-post-sidebar h3{font-size:13px;color:#555d66;margin-bottom:1.5em}.edit-post-sidebar hr{border-top:none;border-bottom:1px solid #e2e4e7;margin:1.5em 0}.edit-post-sidebar div.components-toolbar{box-shadow:none;margin-bottom:1.5em}.edit-post-sidebar div.components-toolbar:last-child{margin-bottom:0}.edit-post-sidebar p+div.components-toolbar{margin-top:-1em}.edit-post-sidebar .block-editor-skip-to-selected-block:focus{top:auto;left:10px;bottom:10px;right:auto}.components-panel__header.edit-post-sidebar__header{background:#fff;padding-left:8px}.components-panel__header.edit-post-sidebar__header .edit-post-sidebar__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}@media (min-width:782px){.components-panel__header.edit-post-sidebar__header{display:none}}.components-panel__header.edit-post-sidebar__panel-tabs{margin-top:0}.components-panel__header.edit-post-sidebar__panel-tabs .components-button.has-icon{display:none;margin-right:auto}@media (min-width:782px){.components-panel__header.edit-post-sidebar__panel-tabs .components-button.has-icon{display:flex}}.edit-post-sidebar__panel-tab{background:transparent;border:none;border-radius:0;box-shadow:none;cursor:pointer;height:50px;padding:3px 15px;margin-right:0;font-weight:400;outline-offset:-1px;transition:box-shadow .1s linear}@media (prefers-reduced-motion:reduce){.edit-post-sidebar__panel-tab{transition-duration:0s}}.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #007cba;font-weight:600;position:relative}body.admin-color-sunrise .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #837425}body.admin-color-ocean .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #5e7d5e}body.admin-color-midnight .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #497b8d}body.admin-color-ectoplasm .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #523f6d}body.admin-color-coffee .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #59524c}body.admin-color-blue .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #417e9b}body.admin-color-light .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #007cba}.edit-post-sidebar__panel-tab.is-active:before{content:"";position:absolute;top:0;bottom:1px;left:0;right:0;border-bottom:3px solid transparent}.edit-post-sidebar__panel-tab:focus:not(:disabled){color:#191e23;outline-offset:-1px;outline:1px dotted #555d66;box-shadow:none}.components-panel__body.is-opened.edit-post-last-revision__panel{padding:0}.editor-post-last-revision__title{padding:13px 16px}.editor-post-author__select{margin:-5px 0;width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.editor-post-author__select{width:auto}}.edit-post-post-link__link-post-name{font-weight:600}.edit-post-post-link__preview-label{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}.components-button.edit-post-post-schedule__toggle{text-align:left}.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%}.edit-post-post-visibility__dialog .components-popover__content{padding:10px}@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:#7e8993;padding-right:20px;font-style:italic;margin:4px 0 0;line-height:1.4}.components-panel__header.edit-post-sidebar__panel-tabs{justify-content:flex-start;padding-right:0;padding-left:4px;border-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-button.edit-post-sidebar__panel-tab{background:transparent;border:none;box-shadow:none;cursor:pointer;display:inline-block;padding:3px 15px;margin-right:0;font-weight:400;color:#191e23;outline-offset:-1px;transition:box-shadow .1s linear}@media (prefers-reduced-motion:reduce){.components-button.edit-post-sidebar__panel-tab{transition-duration:0s}}.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 -3px #007cba;font-weight:600;position:relative}body.admin-color-sunrise .components-button.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #837425}body.admin-color-ocean .components-button.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #5e7d5e}body.admin-color-midnight .components-button.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #497b8d}body.admin-color-ectoplasm .components-button.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #523f6d}body.admin-color-coffee .components-button.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #59524c}body.admin-color-blue .components-button.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #417e9b}body.admin-color-light .components-button.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #007cba}.components-button.edit-post-sidebar__panel-tab.is-active:before{content:"";position:absolute;top:0;bottom:1px;left:0;right:0;border-bottom:3px solid transparent}.components-button.edit-post-sidebar__panel-tab:focus{background-color:transparent;color:#191e23;outline-offset:-1px;outline:1px dotted #555d66}.components-panel__header.edit-post-sidebar-header__small{background:#fff;padding-left:4px}.components-panel__header.edit-post-sidebar-header__small .edit-post-sidebar__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}@media (min-width:782px){.components-panel__header.edit-post-sidebar-header__small{display:none}}.components-panel__header.edit-post-sidebar-header{padding-left:4px;background:#f3f4f5}.components-panel__header.edit-post-sidebar-header .components-button.has-icon{display:none;margin-right:auto}.components-panel__header.edit-post-sidebar-header .components-button.has-icon~.components-button{margin-right:0}@media (min-width:782px){.components-panel__header.edit-post-sidebar-header .components-button.has-icon{display:flex}}.edit-post-text-editor{position:relative;width:100%;padding-top:44px}.edit-post-text-editor .editor-post-title__block textarea{border:1px solid #e2e4e7;margin-bottom:4px;padding:14px}.edit-post-text-editor .editor-post-title__block textarea:focus{border:1px solid #e2e4e7}.edit-post-text-editor .editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar).is-selected .editor-post-title__input,.edit-post-text-editor .editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar):not(.is-selected) .editor-post-title__input:hover{box-shadow:none;border-right-width:1px}.edit-post-text-editor .editor-post-title__block.is-selected textarea,.edit-post-text-editor .editor-post-title__block textarea:hover{box-shadow:0 0 0 1px #e2e4e7}.edit-post-text-editor .editor-post-permalink{margin-top:-6px;box-shadow:none;border:none;outline:1px solid #b5bcc2}@media (min-width:600px){.edit-post-text-editor .editor-post-title,.edit-post-text-editor .editor-post-title__block{padding:0}}.edit-post-text-editor__toolbar{position:absolute;top:8px;right:0;left:0;height:36px;line-height:36px;padding:0 16px 0 8px;display:flex}.edit-post-text-editor__toolbar h2{margin:0 0 0 auto;font-size:13px;color:#555d66}.edit-post-text-editor__toolbar .components-button svg{order:1}.edit-post-text-editor__body{max-width:calc(100% - 32px);margin-right:16px;margin-left:16px;padding-top:40px}@media (min-width:600px){.edit-post-text-editor__body{max-width:580px;margin-right:auto;margin-left:auto}}.edit-post-visual-editor{position:relative;padding-top:50px;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}@supports ((position:-webkit-sticky) or (position:sticky)){.edit-post-visual-editor{flex-basis:100%}}.edit-post-visual-editor>.block-editor__typewriter,.edit-post-visual-editor>.block-editor__typewriter>.block-editor-writing-flow,.edit-post-visual-editor>.block-editor__typewriter>.block-editor-writing-flow>.block-editor-writing-flow__click-redirect{height:100%}.edit-post-visual-editor .block-editor-writing-flow__click-redirect{min-height:50vh;width:100%}.has-metaboxes .edit-post-visual-editor .block-editor-writing-flow__click-redirect{height:0}.edit-post-visual-editor .block-editor-block-list__block{margin-right:auto;margin-left:auto}@media (min-width:600px){.edit-post-visual-editor .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar,.edit-post-visual-editor .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar{height:0;width:calc(100% - 90px);margin-right:0;margin-left:0;text-align:center;float:right}}@media (min-width:600px) and (min-width:1080px){.edit-post-visual-editor .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar,.edit-post-visual-editor .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar{width:calc(100% - 26px)}}@media (min-width:600px){.edit-post-visual-editor .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar .block-editor-block-toolbar,.edit-post-visual-editor .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar .block-editor-block-toolbar{max-width:580px;width:100%;position:relative}}@media (min-width:600px){.editor-post-title{padding-right:58px;padding-left:58px}}.edit-post-visual-editor .editor-post-title__block{margin-right:auto;margin-left:auto;margin-bottom:32px}.edit-post-visual-editor .editor-post-title__block>div{margin-right:0;margin-left:0}@media (min-width:600px){.edit-post-visual-editor .editor-post-title__block>div{margin-right:-16px;margin-left:-16px}}.edit-post-visual-editor .block-editor-block-list__layout>.block-editor-block-list__block[data-align=left]:first-child,.edit-post-visual-editor .block-editor-block-list__layout>.block-editor-block-list__block[data-align=right]:first-child{margin-top:34px}.edit-post-options-modal__section{margin:0 0 2rem}.edit-post-options-modal__section-title{font-size:.9rem;font-weight:600}.edit-post-options-modal__option{border-top:1px solid #e2e4e7}.edit-post-options-modal__option:last-child{border-bottom:1px solid #e2e4e7}.edit-post-options-modal__option .components-base-control__field{align-items:center;display:flex;margin:0}.edit-post-options-modal__option .components-checkbox-control__label{flex-grow:1;padding:.6rem 10px .6rem 0}.edit-post-options-modal__custom-fields-confirmation-button,.edit-post-options-modal__custom-fields-confirmation-message{margin:0 48px .6rem 0}@media (min-width:782px){.edit-post-options-modal__custom-fields-confirmation-button,.edit-post-options-modal__custom-fields-confirmation-message{margin-right:38px}}@media (min-width:600px){.edit-post-options-modal__custom-fields-confirmation-button,.edit-post-options-modal__custom-fields-confirmation-message{max-width:300px}}.edit-post-welcome-guide__page{display:flex;flex-direction:column;justify-content:center;position:relative}@media (min-width:600px){.edit-post-welcome-guide__page{min-height:300px;padding-right:344px}}.edit-post-welcome-guide__heading{font-family:"Noto Serif",serif;font-size:21px;line-height:1.4;margin:8px 0}.edit-post-welcome-guide__image{background:#66c6e4;border-radius:4px;height:200px;margin:8px 0}@media (min-width:600px){.edit-post-welcome-guide__image{position:absolute;right:0;top:50%;height:300px;width:320px;margin-top:-150px}}.edit-post-welcome-guide__text{font-size:16px;line-height:1.4;margin:8px 0}.edit-post-welcome-guide__inserter-icon{margin:0 4px;position:relative;top:4px}@media (min-width:600px){.edit-post-welcome-guide{width:600px}}@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){display:none}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%}.components-modal__frame,.components-popover,.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-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}.components-modal__frame .input-control,.components-modal__frame input[type=checkbox],.components-modal__frame input[type=color],.components-modal__frame input[type=date],.components-modal__frame input[type=datetime-local],.components-modal__frame input[type=datetime],.components-modal__frame input[type=email],.components-modal__frame input[type=month],.components-modal__frame input[type=number],.components-modal__frame input[type=password],.components-modal__frame input[type=radio],.components-modal__frame input[type=search],.components-modal__frame input[type=tel],.components-modal__frame input[type=text],.components-modal__frame input[type=time],.components-modal__frame input[type=url],.components-modal__frame input[type=week],.components-modal__frame select,.components-modal__frame textarea,.components-popover .input-control,.components-popover input[type=checkbox],.components-popover input[type=color],.components-popover input[type=date],.components-popover input[type=datetime-local],.components-popover input[type=datetime],.components-popover input[type=email],.components-popover input[type=month],.components-popover input[type=number],.components-popover input[type=password],.components-popover input[type=radio],.components-popover input[type=search],.components-popover input[type=tel],.components-popover input[type=text],.components-popover input[type=time],.components-popover input[type=url],.components-popover input[type=week],.components-popover select,.components-popover textarea,.edit-post-header .input-control,.edit-post-header input[type=checkbox],.edit-post-header input[type=color],.edit-post-header input[type=date],.edit-post-header input[type=datetime-local],.edit-post-header input[type=datetime],.edit-post-header input[type=email],.edit-post-header input[type=month],.edit-post-header input[type=number],.edit-post-header input[type=password],.edit-post-header input[type=radio],.edit-post-header input[type=search],.edit-post-header input[type=tel],.edit-post-header input[type=text],.edit-post-header input[type=time],.edit-post-header input[type=url],.edit-post-header input[type=week],.edit-post-header select,.edit-post-header textarea,.edit-post-sidebar .input-control,.edit-post-sidebar input[type=checkbox],.edit-post-sidebar input[type=color],.edit-post-sidebar input[type=date],.edit-post-sidebar input[type=datetime-local],.edit-post-sidebar input[type=datetime],.edit-post-sidebar input[type=email],.edit-post-sidebar input[type=month],.edit-post-sidebar input[type=number],.edit-post-sidebar input[type=password],.edit-post-sidebar input[type=radio],.edit-post-sidebar input[type=search],.edit-post-sidebar input[type=tel],.edit-post-sidebar input[type=text],.edit-post-sidebar input[type=time],.edit-post-sidebar input[type=url],.edit-post-sidebar input[type=week],.edit-post-sidebar select,.edit-post-sidebar textarea,.edit-post-text-editor .input-control,.edit-post-text-editor input[type=checkbox],.edit-post-text-editor input[type=color],.edit-post-text-editor input[type=date],.edit-post-text-editor input[type=datetime-local],.edit-post-text-editor input[type=datetime],.edit-post-text-editor input[type=email],.edit-post-text-editor input[type=month],.edit-post-text-editor input[type=number],.edit-post-text-editor input[type=password],.edit-post-text-editor input[type=radio],.edit-post-text-editor input[type=search],.edit-post-text-editor input[type=tel],.edit-post-text-editor input[type=text],.edit-post-text-editor input[type=time],.edit-post-text-editor input[type=url],.edit-post-text-editor input[type=week],.edit-post-text-editor select,.edit-post-text-editor textarea,.edit-post-visual-editor .input-control,.edit-post-visual-editor input[type=checkbox],.edit-post-visual-editor input[type=color],.edit-post-visual-editor input[type=date],.edit-post-visual-editor input[type=datetime-local],.edit-post-visual-editor input[type=datetime],.edit-post-visual-editor input[type=email],.edit-post-visual-editor input[type=month],.edit-post-visual-editor input[type=number],.edit-post-visual-editor input[type=password],.edit-post-visual-editor input[type=radio],.edit-post-visual-editor input[type=search],.edit-post-visual-editor input[type=tel],.edit-post-visual-editor input[type=text],.edit-post-visual-editor input[type=time],.edit-post-visual-editor input[type=url],.edit-post-visual-editor input[type=week],.edit-post-visual-editor select,.edit-post-visual-editor textarea,.editor-post-publish-panel .input-control,.editor-post-publish-panel input[type=checkbox],.editor-post-publish-panel input[type=color],.editor-post-publish-panel input[type=date],.editor-post-publish-panel input[type=datetime-local],.editor-post-publish-panel input[type=datetime],.editor-post-publish-panel input[type=email],.editor-post-publish-panel input[type=month],.editor-post-publish-panel input[type=number],.editor-post-publish-panel input[type=password],.editor-post-publish-panel input[type=radio],.editor-post-publish-panel input[type=search],.editor-post-publish-panel input[type=tel],.editor-post-publish-panel input[type=text],.editor-post-publish-panel input[type=time],.editor-post-publish-panel input[type=url],.editor-post-publish-panel input[type=week],.editor-post-publish-panel select,.editor-post-publish-panel 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:4px;border:1px solid #7e8993;font-size:16px;line-height:normal}@media (prefers-reduced-motion:reduce){.components-modal__frame .input-control,.components-modal__frame input[type=checkbox],.components-modal__frame input[type=color],.components-modal__frame input[type=date],.components-modal__frame input[type=datetime-local],.components-modal__frame input[type=datetime],.components-modal__frame input[type=email],.components-modal__frame input[type=month],.components-modal__frame input[type=number],.components-modal__frame input[type=password],.components-modal__frame input[type=radio],.components-modal__frame input[type=search],.components-modal__frame input[type=tel],.components-modal__frame input[type=text],.components-modal__frame input[type=time],.components-modal__frame input[type=url],.components-modal__frame input[type=week],.components-modal__frame select,.components-modal__frame textarea,.components-popover .input-control,.components-popover input[type=checkbox],.components-popover input[type=color],.components-popover input[type=date],.components-popover input[type=datetime-local],.components-popover input[type=datetime],.components-popover input[type=email],.components-popover input[type=month],.components-popover input[type=number],.components-popover input[type=password],.components-popover input[type=radio],.components-popover input[type=search],.components-popover input[type=tel],.components-popover input[type=text],.components-popover input[type=time],.components-popover input[type=url],.components-popover input[type=week],.components-popover select,.components-popover textarea,.edit-post-header .input-control,.edit-post-header input[type=checkbox],.edit-post-header input[type=color],.edit-post-header input[type=date],.edit-post-header input[type=datetime-local],.edit-post-header input[type=datetime],.edit-post-header input[type=email],.edit-post-header input[type=month],.edit-post-header input[type=number],.edit-post-header input[type=password],.edit-post-header input[type=radio],.edit-post-header input[type=search],.edit-post-header input[type=tel],.edit-post-header input[type=text],.edit-post-header input[type=time],.edit-post-header input[type=url],.edit-post-header input[type=week],.edit-post-header select,.edit-post-header textarea,.edit-post-sidebar .input-control,.edit-post-sidebar input[type=checkbox],.edit-post-sidebar input[type=color],.edit-post-sidebar input[type=date],.edit-post-sidebar input[type=datetime-local],.edit-post-sidebar input[type=datetime],.edit-post-sidebar input[type=email],.edit-post-sidebar input[type=month],.edit-post-sidebar input[type=number],.edit-post-sidebar input[type=password],.edit-post-sidebar input[type=radio],.edit-post-sidebar input[type=search],.edit-post-sidebar input[type=tel],.edit-post-sidebar input[type=text],.edit-post-sidebar input[type=time],.edit-post-sidebar input[type=url],.edit-post-sidebar input[type=week],.edit-post-sidebar select,.edit-post-sidebar textarea,.edit-post-text-editor .input-control,.edit-post-text-editor input[type=checkbox],.edit-post-text-editor input[type=color],.edit-post-text-editor input[type=date],.edit-post-text-editor input[type=datetime-local],.edit-post-text-editor input[type=datetime],.edit-post-text-editor input[type=email],.edit-post-text-editor input[type=month],.edit-post-text-editor input[type=number],.edit-post-text-editor input[type=password],.edit-post-text-editor input[type=radio],.edit-post-text-editor input[type=search],.edit-post-text-editor input[type=tel],.edit-post-text-editor input[type=text],.edit-post-text-editor input[type=time],.edit-post-text-editor input[type=url],.edit-post-text-editor input[type=week],.edit-post-text-editor select,.edit-post-text-editor textarea,.edit-post-visual-editor .input-control,.edit-post-visual-editor input[type=checkbox],.edit-post-visual-editor input[type=color],.edit-post-visual-editor input[type=date],.edit-post-visual-editor input[type=datetime-local],.edit-post-visual-editor input[type=datetime],.edit-post-visual-editor input[type=email],.edit-post-visual-editor input[type=month],.edit-post-visual-editor input[type=number],.edit-post-visual-editor input[type=password],.edit-post-visual-editor input[type=radio],.edit-post-visual-editor input[type=search],.edit-post-visual-editor input[type=tel],.edit-post-visual-editor input[type=text],.edit-post-visual-editor input[type=time],.edit-post-visual-editor input[type=url],.edit-post-visual-editor input[type=week],.edit-post-visual-editor select,.edit-post-visual-editor textarea,.editor-post-publish-panel .input-control,.editor-post-publish-panel input[type=checkbox],.editor-post-publish-panel input[type=color],.editor-post-publish-panel input[type=date],.editor-post-publish-panel input[type=datetime-local],.editor-post-publish-panel input[type=datetime],.editor-post-publish-panel input[type=email],.editor-post-publish-panel input[type=month],.editor-post-publish-panel input[type=number],.editor-post-publish-panel input[type=password],.editor-post-publish-panel input[type=radio],.editor-post-publish-panel input[type=search],.editor-post-publish-panel input[type=tel],.editor-post-publish-panel input[type=text],.editor-post-publish-panel input[type=time],.editor-post-publish-panel input[type=url],.editor-post-publish-panel input[type=week],.editor-post-publish-panel select,.editor-post-publish-panel textarea{transition-duration:0s}}@media (min-width:600px){.components-modal__frame .input-control,.components-modal__frame input[type=checkbox],.components-modal__frame input[type=color],.components-modal__frame input[type=date],.components-modal__frame input[type=datetime-local],.components-modal__frame input[type=datetime],.components-modal__frame input[type=email],.components-modal__frame input[type=month],.components-modal__frame input[type=number],.components-modal__frame input[type=password],.components-modal__frame input[type=radio],.components-modal__frame input[type=search],.components-modal__frame input[type=tel],.components-modal__frame input[type=text],.components-modal__frame input[type=time],.components-modal__frame input[type=url],.components-modal__frame input[type=week],.components-modal__frame select,.components-modal__frame textarea,.components-popover .input-control,.components-popover input[type=checkbox],.components-popover input[type=color],.components-popover input[type=date],.components-popover input[type=datetime-local],.components-popover input[type=datetime],.components-popover input[type=email],.components-popover input[type=month],.components-popover input[type=number],.components-popover input[type=password],.components-popover input[type=radio],.components-popover input[type=search],.components-popover input[type=tel],.components-popover input[type=text],.components-popover input[type=time],.components-popover input[type=url],.components-popover input[type=week],.components-popover select,.components-popover textarea,.edit-post-header .input-control,.edit-post-header input[type=checkbox],.edit-post-header input[type=color],.edit-post-header input[type=date],.edit-post-header input[type=datetime-local],.edit-post-header input[type=datetime],.edit-post-header input[type=email],.edit-post-header input[type=month],.edit-post-header input[type=number],.edit-post-header input[type=password],.edit-post-header input[type=radio],.edit-post-header input[type=search],.edit-post-header input[type=tel],.edit-post-header input[type=text],.edit-post-header input[type=time],.edit-post-header input[type=url],.edit-post-header input[type=week],.edit-post-header select,.edit-post-header textarea,.edit-post-sidebar .input-control,.edit-post-sidebar input[type=checkbox],.edit-post-sidebar input[type=color],.edit-post-sidebar input[type=date],.edit-post-sidebar input[type=datetime-local],.edit-post-sidebar input[type=datetime],.edit-post-sidebar input[type=email],.edit-post-sidebar input[type=month],.edit-post-sidebar input[type=number],.edit-post-sidebar input[type=password],.edit-post-sidebar input[type=radio],.edit-post-sidebar input[type=search],.edit-post-sidebar input[type=tel],.edit-post-sidebar input[type=text],.edit-post-sidebar input[type=time],.edit-post-sidebar input[type=url],.edit-post-sidebar input[type=week],.edit-post-sidebar select,.edit-post-sidebar textarea,.edit-post-text-editor .input-control,.edit-post-text-editor input[type=checkbox],.edit-post-text-editor input[type=color],.edit-post-text-editor input[type=date],.edit-post-text-editor input[type=datetime-local],.edit-post-text-editor input[type=datetime],.edit-post-text-editor input[type=email],.edit-post-text-editor input[type=month],.edit-post-text-editor input[type=number],.edit-post-text-editor input[type=password],.edit-post-text-editor input[type=radio],.edit-post-text-editor input[type=search],.edit-post-text-editor input[type=tel],.edit-post-text-editor input[type=text],.edit-post-text-editor input[type=time],.edit-post-text-editor input[type=url],.edit-post-text-editor input[type=week],.edit-post-text-editor select,.edit-post-text-editor textarea,.edit-post-visual-editor .input-control,.edit-post-visual-editor input[type=checkbox],.edit-post-visual-editor input[type=color],.edit-post-visual-editor input[type=date],.edit-post-visual-editor input[type=datetime-local],.edit-post-visual-editor input[type=datetime],.edit-post-visual-editor input[type=email],.edit-post-visual-editor input[type=month],.edit-post-visual-editor input[type=number],.edit-post-visual-editor input[type=password],.edit-post-visual-editor input[type=radio],.edit-post-visual-editor input[type=search],.edit-post-visual-editor input[type=tel],.edit-post-visual-editor input[type=text],.edit-post-visual-editor input[type=time],.edit-post-visual-editor input[type=url],.edit-post-visual-editor input[type=week],.edit-post-visual-editor select,.edit-post-visual-editor textarea,.editor-post-publish-panel .input-control,.editor-post-publish-panel input[type=checkbox],.editor-post-publish-panel input[type=color],.editor-post-publish-panel input[type=date],.editor-post-publish-panel input[type=datetime-local],.editor-post-publish-panel input[type=datetime],.editor-post-publish-panel input[type=email],.editor-post-publish-panel input[type=month],.editor-post-publish-panel input[type=number],.editor-post-publish-panel input[type=password],.editor-post-publish-panel input[type=radio],.editor-post-publish-panel input[type=search],.editor-post-publish-panel input[type=tel],.editor-post-publish-panel input[type=text],.editor-post-publish-panel input[type=time],.editor-post-publish-panel input[type=url],.editor-post-publish-panel input[type=week],.editor-post-publish-panel select,.editor-post-publish-panel textarea{font-size:13px;line-height:normal}}.components-modal__frame .input-control:focus,.components-modal__frame input[type=checkbox]:focus,.components-modal__frame input[type=color]:focus,.components-modal__frame input[type=date]:focus,.components-modal__frame input[type=datetime-local]:focus,.components-modal__frame input[type=datetime]:focus,.components-modal__frame input[type=email]:focus,.components-modal__frame input[type=month]:focus,.components-modal__frame input[type=number]:focus,.components-modal__frame input[type=password]:focus,.components-modal__frame input[type=radio]:focus,.components-modal__frame input[type=search]:focus,.components-modal__frame input[type=tel]:focus,.components-modal__frame input[type=text]:focus,.components-modal__frame input[type=time]:focus,.components-modal__frame input[type=url]:focus,.components-modal__frame input[type=week]:focus,.components-modal__frame select:focus,.components-modal__frame textarea:focus,.components-popover .input-control:focus,.components-popover input[type=checkbox]:focus,.components-popover input[type=color]:focus,.components-popover input[type=date]:focus,.components-popover input[type=datetime-local]:focus,.components-popover input[type=datetime]:focus,.components-popover input[type=email]:focus,.components-popover input[type=month]:focus,.components-popover input[type=number]:focus,.components-popover input[type=password]:focus,.components-popover input[type=radio]:focus,.components-popover input[type=search]:focus,.components-popover input[type=tel]:focus,.components-popover input[type=text]:focus,.components-popover input[type=time]:focus,.components-popover input[type=url]:focus,.components-popover input[type=week]:focus,.components-popover select:focus,.components-popover textarea:focus,.edit-post-header .input-control:focus,.edit-post-header input[type=checkbox]:focus,.edit-post-header input[type=color]:focus,.edit-post-header input[type=date]:focus,.edit-post-header input[type=datetime-local]:focus,.edit-post-header input[type=datetime]:focus,.edit-post-header input[type=email]:focus,.edit-post-header input[type=month]:focus,.edit-post-header input[type=number]:focus,.edit-post-header input[type=password]:focus,.edit-post-header input[type=radio]:focus,.edit-post-header input[type=search]:focus,.edit-post-header input[type=tel]:focus,.edit-post-header input[type=text]:focus,.edit-post-header input[type=time]:focus,.edit-post-header input[type=url]:focus,.edit-post-header input[type=week]:focus,.edit-post-header select:focus,.edit-post-header textarea:focus,.edit-post-sidebar .input-control:focus,.edit-post-sidebar input[type=checkbox]:focus,.edit-post-sidebar input[type=color]:focus,.edit-post-sidebar input[type=date]:focus,.edit-post-sidebar input[type=datetime-local]:focus,.edit-post-sidebar input[type=datetime]:focus,.edit-post-sidebar input[type=email]:focus,.edit-post-sidebar input[type=month]:focus,.edit-post-sidebar input[type=number]:focus,.edit-post-sidebar input[type=password]:focus,.edit-post-sidebar input[type=radio]:focus,.edit-post-sidebar input[type=search]:focus,.edit-post-sidebar input[type=tel]:focus,.edit-post-sidebar input[type=text]:focus,.edit-post-sidebar input[type=time]:focus,.edit-post-sidebar input[type=url]:focus,.edit-post-sidebar input[type=week]:focus,.edit-post-sidebar select:focus,.edit-post-sidebar textarea:focus,.edit-post-text-editor .input-control:focus,.edit-post-text-editor input[type=checkbox]:focus,.edit-post-text-editor input[type=color]:focus,.edit-post-text-editor input[type=date]:focus,.edit-post-text-editor input[type=datetime-local]:focus,.edit-post-text-editor input[type=datetime]:focus,.edit-post-text-editor input[type=email]:focus,.edit-post-text-editor input[type=month]:focus,.edit-post-text-editor input[type=number]:focus,.edit-post-text-editor input[type=password]:focus,.edit-post-text-editor input[type=radio]:focus,.edit-post-text-editor input[type=search]:focus,.edit-post-text-editor input[type=tel]:focus,.edit-post-text-editor input[type=text]:focus,.edit-post-text-editor input[type=time]:focus,.edit-post-text-editor input[type=url]:focus,.edit-post-text-editor input[type=week]:focus,.edit-post-text-editor select:focus,.edit-post-text-editor textarea:focus,.edit-post-visual-editor .input-control:focus,.edit-post-visual-editor input[type=checkbox]:focus,.edit-post-visual-editor input[type=color]:focus,.edit-post-visual-editor input[type=date]:focus,.edit-post-visual-editor input[type=datetime-local]:focus,.edit-post-visual-editor input[type=datetime]:focus,.edit-post-visual-editor input[type=email]:focus,.edit-post-visual-editor input[type=month]:focus,.edit-post-visual-editor input[type=number]:focus,.edit-post-visual-editor input[type=password]:focus,.edit-post-visual-editor input[type=radio]:focus,.edit-post-visual-editor input[type=search]:focus,.edit-post-visual-editor input[type=tel]:focus,.edit-post-visual-editor input[type=text]:focus,.edit-post-visual-editor input[type=time]:focus,.edit-post-visual-editor input[type=url]:focus,.edit-post-visual-editor input[type=week]:focus,.edit-post-visual-editor select:focus,.edit-post-visual-editor textarea:focus,.editor-post-publish-panel .input-control:focus,.editor-post-publish-panel input[type=checkbox]:focus,.editor-post-publish-panel input[type=color]:focus,.editor-post-publish-panel input[type=date]:focus,.editor-post-publish-panel input[type=datetime-local]:focus,.editor-post-publish-panel input[type=datetime]:focus,.editor-post-publish-panel input[type=email]:focus,.editor-post-publish-panel input[type=month]:focus,.editor-post-publish-panel input[type=number]:focus,.editor-post-publish-panel input[type=password]:focus,.editor-post-publish-panel input[type=radio]:focus,.editor-post-publish-panel input[type=search]:focus,.editor-post-publish-panel input[type=tel]:focus,.editor-post-publish-panel input[type=text]:focus,.editor-post-publish-panel input[type=time]:focus,.editor-post-publish-panel input[type=url]:focus,.editor-post-publish-panel input[type=week]:focus,.editor-post-publish-panel select:focus,.editor-post-publish-panel textarea:focus{color:#191e23;border-color:#007cba;box-shadow:0 0 0 1px #007cba;outline:2px solid transparent}.components-modal__frame input[type=number],.components-popover input[type=number],.edit-post-header input[type=number],.edit-post-sidebar input[type=number],.edit-post-text-editor input[type=number],.edit-post-visual-editor input[type=number],.editor-post-publish-panel input[type=number]{padding-right:4px;padding-left:4px}.components-modal__frame select,.components-popover select,.edit-post-header select,.edit-post-sidebar select,.edit-post-text-editor select,.edit-post-visual-editor select,.editor-post-publish-panel select{padding:2px;font-size:13px;color:#555d66}.components-modal__frame select:focus,.components-popover select:focus,.edit-post-header select:focus,.edit-post-sidebar select:focus,.edit-post-text-editor select:focus,.edit-post-visual-editor select:focus,.editor-post-publish-panel select:focus{border-color:#008dbe;outline:2px solid transparent;outline-offset:0}.components-modal__frame input[type=checkbox],.components-modal__frame input[type=radio],.components-popover input[type=checkbox],.components-popover input[type=radio],.edit-post-header input[type=checkbox],.edit-post-header input[type=radio],.edit-post-sidebar input[type=checkbox],.edit-post-sidebar input[type=radio],.edit-post-text-editor input[type=checkbox],.edit-post-text-editor input[type=radio],.edit-post-visual-editor input[type=checkbox],.edit-post-visual-editor input[type=radio],.editor-post-publish-panel input[type=checkbox],.editor-post-publish-panel input[type=radio]{border:2px solid #6c7781;margin-left:12px;transition:none}.components-modal__frame input[type=checkbox]:focus,.components-modal__frame input[type=radio]:focus,.components-popover input[type=checkbox]:focus,.components-popover input[type=radio]:focus,.edit-post-header input[type=checkbox]:focus,.edit-post-header input[type=radio]:focus,.edit-post-sidebar input[type=checkbox]:focus,.edit-post-sidebar input[type=radio]:focus,.edit-post-text-editor input[type=checkbox]:focus,.edit-post-text-editor input[type=radio]:focus,.edit-post-visual-editor input[type=checkbox]:focus,.edit-post-visual-editor input[type=radio]:focus,.editor-post-publish-panel input[type=checkbox]:focus,.editor-post-publish-panel input[type=radio]:focus{border-color:#6c7781;box-shadow:0 0 0 1px #6c7781}.components-modal__frame input[type=checkbox]:checked,.components-modal__frame input[type=radio]:checked,.components-popover input[type=checkbox]:checked,.components-popover input[type=radio]:checked,.edit-post-header input[type=checkbox]:checked,.edit-post-header input[type=radio]:checked,.edit-post-sidebar input[type=checkbox]:checked,.edit-post-sidebar input[type=radio]:checked,.edit-post-text-editor input[type=checkbox]:checked,.edit-post-text-editor input[type=radio]:checked,.edit-post-visual-editor input[type=checkbox]:checked,.edit-post-visual-editor input[type=radio]:checked,.editor-post-publish-panel input[type=checkbox]:checked,.editor-post-publish-panel input[type=radio]:checked{background:#11a0d2;border-color:#11a0d2}body.admin-color-sunrise .components-modal__frame input[type=checkbox]:checked,body.admin-color-sunrise .components-modal__frame input[type=radio]:checked,body.admin-color-sunrise .components-popover input[type=checkbox]:checked,body.admin-color-sunrise .components-popover input[type=radio]:checked,body.admin-color-sunrise .edit-post-header input[type=checkbox]:checked,body.admin-color-sunrise .edit-post-header input[type=radio]:checked,body.admin-color-sunrise .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-sunrise .edit-post-sidebar input[type=radio]:checked,body.admin-color-sunrise .edit-post-text-editor input[type=checkbox]:checked,body.admin-color-sunrise .edit-post-text-editor input[type=radio]:checked,body.admin-color-sunrise .edit-post-visual-editor input[type=checkbox]:checked,body.admin-color-sunrise .edit-post-visual-editor input[type=radio]:checked,body.admin-color-sunrise .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-sunrise .editor-post-publish-panel input[type=radio]:checked{background:#c8b03c;border-color:#c8b03c}body.admin-color-ocean .components-modal__frame input[type=checkbox]:checked,body.admin-color-ocean .components-modal__frame input[type=radio]:checked,body.admin-color-ocean .components-popover input[type=checkbox]:checked,body.admin-color-ocean .components-popover input[type=radio]:checked,body.admin-color-ocean .edit-post-header input[type=checkbox]:checked,body.admin-color-ocean .edit-post-header input[type=radio]:checked,body.admin-color-ocean .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-ocean .edit-post-sidebar input[type=radio]:checked,body.admin-color-ocean .edit-post-text-editor input[type=checkbox]:checked,body.admin-color-ocean .edit-post-text-editor input[type=radio]:checked,body.admin-color-ocean .edit-post-visual-editor input[type=checkbox]:checked,body.admin-color-ocean .edit-post-visual-editor input[type=radio]:checked,body.admin-color-ocean .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-ocean .editor-post-publish-panel input[type=radio]:checked{background:#a3b9a2;border-color:#a3b9a2}body.admin-color-midnight .components-modal__frame input[type=checkbox]:checked,body.admin-color-midnight .components-modal__frame input[type=radio]:checked,body.admin-color-midnight .components-popover input[type=checkbox]:checked,body.admin-color-midnight .components-popover input[type=radio]:checked,body.admin-color-midnight .edit-post-header input[type=checkbox]:checked,body.admin-color-midnight .edit-post-header input[type=radio]:checked,body.admin-color-midnight .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-midnight .edit-post-sidebar input[type=radio]:checked,body.admin-color-midnight .edit-post-text-editor input[type=checkbox]:checked,body.admin-color-midnight .edit-post-text-editor input[type=radio]:checked,body.admin-color-midnight .edit-post-visual-editor input[type=checkbox]:checked,body.admin-color-midnight .edit-post-visual-editor input[type=radio]:checked,body.admin-color-midnight .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-midnight .editor-post-publish-panel input[type=radio]:checked{background:#77a6b9;border-color:#77a6b9}body.admin-color-ectoplasm .components-modal__frame input[type=checkbox]:checked,body.admin-color-ectoplasm .components-modal__frame input[type=radio]:checked,body.admin-color-ectoplasm .components-popover input[type=checkbox]:checked,body.admin-color-ectoplasm .components-popover input[type=radio]:checked,body.admin-color-ectoplasm .edit-post-header input[type=checkbox]:checked,body.admin-color-ectoplasm .edit-post-header input[type=radio]:checked,body.admin-color-ectoplasm .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-ectoplasm .edit-post-sidebar input[type=radio]:checked,body.admin-color-ectoplasm .edit-post-text-editor input[type=checkbox]:checked,body.admin-color-ectoplasm .edit-post-text-editor input[type=radio]:checked,body.admin-color-ectoplasm .edit-post-visual-editor input[type=checkbox]:checked,body.admin-color-ectoplasm .edit-post-visual-editor input[type=radio]:checked,body.admin-color-ectoplasm .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-ectoplasm .editor-post-publish-panel input[type=radio]:checked{background:#a7b656;border-color:#a7b656}body.admin-color-coffee .components-modal__frame input[type=checkbox]:checked,body.admin-color-coffee .components-modal__frame input[type=radio]:checked,body.admin-color-coffee .components-popover input[type=checkbox]:checked,body.admin-color-coffee .components-popover input[type=radio]:checked,body.admin-color-coffee .edit-post-header input[type=checkbox]:checked,body.admin-color-coffee .edit-post-header input[type=radio]:checked,body.admin-color-coffee .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-coffee .edit-post-sidebar input[type=radio]:checked,body.admin-color-coffee .edit-post-text-editor input[type=checkbox]:checked,body.admin-color-coffee .edit-post-text-editor input[type=radio]:checked,body.admin-color-coffee .edit-post-visual-editor input[type=checkbox]:checked,body.admin-color-coffee .edit-post-visual-editor input[type=radio]:checked,body.admin-color-coffee .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-coffee .editor-post-publish-panel input[type=radio]:checked{background:#c2a68c;border-color:#c2a68c}body.admin-color-blue .components-modal__frame input[type=checkbox]:checked,body.admin-color-blue .components-modal__frame input[type=radio]:checked,body.admin-color-blue .components-popover input[type=checkbox]:checked,body.admin-color-blue .components-popover input[type=radio]:checked,body.admin-color-blue .edit-post-header input[type=checkbox]:checked,body.admin-color-blue .edit-post-header input[type=radio]:checked,body.admin-color-blue .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-blue .edit-post-sidebar input[type=radio]:checked,body.admin-color-blue .edit-post-text-editor input[type=checkbox]:checked,body.admin-color-blue .edit-post-text-editor input[type=radio]:checked,body.admin-color-blue .edit-post-visual-editor input[type=checkbox]:checked,body.admin-color-blue .edit-post-visual-editor input[type=radio]:checked,body.admin-color-blue .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-blue .editor-post-publish-panel input[type=radio]:checked{background:#82b4cb;border-color:#82b4cb}body.admin-color-light .components-modal__frame input[type=checkbox]:checked,body.admin-color-light .components-modal__frame input[type=radio]:checked,body.admin-color-light .components-popover input[type=checkbox]:checked,body.admin-color-light .components-popover input[type=radio]:checked,body.admin-color-light .edit-post-header input[type=checkbox]:checked,body.admin-color-light .edit-post-header input[type=radio]:checked,body.admin-color-light .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-light .edit-post-sidebar input[type=radio]:checked,body.admin-color-light .edit-post-text-editor input[type=checkbox]:checked,body.admin-color-light .edit-post-text-editor input[type=radio]:checked,body.admin-color-light .edit-post-visual-editor input[type=checkbox]:checked,body.admin-color-light .edit-post-visual-editor input[type=radio]:checked,body.admin-color-light .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-light .editor-post-publish-panel input[type=radio]:checked{background:#11a0d2;border-color:#11a0d2}.components-modal__frame input[type=checkbox]:checked:focus,.components-modal__frame input[type=radio]:checked:focus,.components-popover input[type=checkbox]:checked:focus,.components-popover input[type=radio]:checked:focus,.edit-post-header input[type=checkbox]:checked:focus,.edit-post-header input[type=radio]:checked:focus,.edit-post-sidebar input[type=checkbox]:checked:focus,.edit-post-sidebar input[type=radio]:checked:focus,.edit-post-text-editor input[type=checkbox]:checked:focus,.edit-post-text-editor input[type=radio]:checked:focus,.edit-post-visual-editor input[type=checkbox]:checked:focus,.edit-post-visual-editor input[type=radio]:checked:focus,.editor-post-publish-panel input[type=checkbox]:checked:focus,.editor-post-publish-panel input[type=radio]:checked:focus{box-shadow:0 0 0 2px #555d66}.components-modal__frame input[type=checkbox],.components-popover input[type=checkbox],.edit-post-header input[type=checkbox],.edit-post-sidebar input[type=checkbox],.edit-post-text-editor input[type=checkbox],.edit-post-visual-editor input[type=checkbox],.editor-post-publish-panel input[type=checkbox]{border-radius:2px}.components-modal__frame input[type=checkbox]:checked:before,.components-modal__frame input[type=checkbox][aria-checked=mixed]:before,.components-popover input[type=checkbox]:checked:before,.components-popover input[type=checkbox][aria-checked=mixed]:before,.edit-post-header input[type=checkbox]:checked:before,.edit-post-header input[type=checkbox][aria-checked=mixed]:before,.edit-post-sidebar input[type=checkbox]:checked:before,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:before,.edit-post-text-editor input[type=checkbox]:checked:before,.edit-post-text-editor input[type=checkbox][aria-checked=mixed]:before,.edit-post-visual-editor input[type=checkbox]:checked:before,.edit-post-visual-editor input[type=checkbox][aria-checked=mixed]:before,.editor-post-publish-panel input[type=checkbox]:checked:before,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:before{margin:-3px -5px;color:#fff}@media (min-width:782px){.components-modal__frame input[type=checkbox]:checked:before,.components-modal__frame input[type=checkbox][aria-checked=mixed]:before,.components-popover input[type=checkbox]:checked:before,.components-popover input[type=checkbox][aria-checked=mixed]:before,.edit-post-header input[type=checkbox]:checked:before,.edit-post-header input[type=checkbox][aria-checked=mixed]:before,.edit-post-sidebar input[type=checkbox]:checked:before,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:before,.edit-post-text-editor input[type=checkbox]:checked:before,.edit-post-text-editor input[type=checkbox][aria-checked=mixed]:before,.edit-post-visual-editor input[type=checkbox]:checked:before,.edit-post-visual-editor input[type=checkbox][aria-checked=mixed]:before,.editor-post-publish-panel input[type=checkbox]:checked:before,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:before{margin:-4px -5px 0 0}}.components-modal__frame input[type=checkbox][aria-checked=mixed],.components-popover input[type=checkbox][aria-checked=mixed],.edit-post-header input[type=checkbox][aria-checked=mixed],.edit-post-sidebar input[type=checkbox][aria-checked=mixed],.edit-post-text-editor input[type=checkbox][aria-checked=mixed],.edit-post-visual-editor input[type=checkbox][aria-checked=mixed],.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#11a0d2;border-color:#11a0d2}body.admin-color-sunrise .components-modal__frame input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .edit-post-header input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .edit-post-text-editor input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .edit-post-visual-editor input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#c8b03c;border-color:#c8b03c}body.admin-color-ocean .components-modal__frame input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .edit-post-header input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .edit-post-text-editor input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .edit-post-visual-editor input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#a3b9a2;border-color:#a3b9a2}body.admin-color-midnight .components-modal__frame input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .edit-post-header input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .edit-post-text-editor input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .edit-post-visual-editor input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#77a6b9;border-color:#77a6b9}body.admin-color-ectoplasm .components-modal__frame input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .edit-post-header input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .edit-post-text-editor input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .edit-post-visual-editor input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#a7b656;border-color:#a7b656}body.admin-color-coffee .components-modal__frame input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .edit-post-header input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .edit-post-text-editor input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .edit-post-visual-editor input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#c2a68c;border-color:#c2a68c}body.admin-color-blue .components-modal__frame input[type=checkbox][aria-checked=mixed],body.admin-color-blue .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-blue .edit-post-header input[type=checkbox][aria-checked=mixed],body.admin-color-blue .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-blue .edit-post-text-editor input[type=checkbox][aria-checked=mixed],body.admin-color-blue .edit-post-visual-editor input[type=checkbox][aria-checked=mixed],body.admin-color-blue .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#82b4cb;border-color:#82b4cb}body.admin-color-light .components-modal__frame input[type=checkbox][aria-checked=mixed],body.admin-color-light .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-light .edit-post-header input[type=checkbox][aria-checked=mixed],body.admin-color-light .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-light .edit-post-text-editor input[type=checkbox][aria-checked=mixed],body.admin-color-light .edit-post-visual-editor input[type=checkbox][aria-checked=mixed],body.admin-color-light .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#11a0d2;border-color:#11a0d2}.components-modal__frame input[type=checkbox][aria-checked=mixed]:before,.components-popover input[type=checkbox][aria-checked=mixed]:before,.edit-post-header input[type=checkbox][aria-checked=mixed]:before,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:before,.edit-post-text-editor input[type=checkbox][aria-checked=mixed]:before,.edit-post-visual-editor input[type=checkbox][aria-checked=mixed]:before,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:before{content:"\f460";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-modal__frame input[type=checkbox][aria-checked=mixed]:before,.components-popover input[type=checkbox][aria-checked=mixed]:before,.edit-post-header input[type=checkbox][aria-checked=mixed]:before,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:before,.edit-post-text-editor input[type=checkbox][aria-checked=mixed]:before,.edit-post-visual-editor input[type=checkbox][aria-checked=mixed]:before,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:before{float:none;font-size:21px}}.components-modal__frame input[type=checkbox][aria-checked=mixed]:focus,.components-popover input[type=checkbox][aria-checked=mixed]:focus,.edit-post-header input[type=checkbox][aria-checked=mixed]:focus,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:focus,.edit-post-text-editor input[type=checkbox][aria-checked=mixed]:focus,.edit-post-visual-editor input[type=checkbox][aria-checked=mixed]:focus,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:focus{box-shadow:0 0 0 2px #555d66}.components-modal__frame input[type=radio],.components-popover input[type=radio],.edit-post-header input[type=radio],.edit-post-sidebar input[type=radio],.edit-post-text-editor input[type=radio],.edit-post-visual-editor input[type=radio],.editor-post-publish-panel input[type=radio]{border-radius:50%}.components-modal__frame input[type=radio]:checked:before,.components-popover input[type=radio]:checked:before,.edit-post-header input[type=radio]:checked:before,.edit-post-sidebar input[type=radio]:checked:before,.edit-post-text-editor input[type=radio]:checked:before,.edit-post-visual-editor input[type=radio]:checked:before,.editor-post-publish-panel input[type=radio]:checked:before{width:6px;height:6px;margin:6px 6px 0 0;background-color:#fff}@media (min-width:782px){.components-modal__frame input[type=radio]:checked:before,.components-popover input[type=radio]:checked:before,.edit-post-header input[type=radio]:checked:before,.edit-post-sidebar input[type=radio]:checked:before,.edit-post-text-editor input[type=radio]:checked:before,.edit-post-visual-editor input[type=radio]:checked:before,.editor-post-publish-panel input[type=radio]:checked:before{margin:3px 3px 0 0}}.components-modal__frame input::-webkit-input-placeholder,.components-modal__frame textarea::-webkit-input-placeholder,.components-popover input::-webkit-input-placeholder,.components-popover textarea::-webkit-input-placeholder,.edit-post-header input::-webkit-input-placeholder,.edit-post-header textarea::-webkit-input-placeholder,.edit-post-sidebar input::-webkit-input-placeholder,.edit-post-sidebar textarea::-webkit-input-placeholder,.edit-post-text-editor input::-webkit-input-placeholder,.edit-post-text-editor textarea::-webkit-input-placeholder,.edit-post-visual-editor input::-webkit-input-placeholder,.edit-post-visual-editor textarea::-webkit-input-placeholder,.editor-post-publish-panel input::-webkit-input-placeholder,.editor-post-publish-panel textarea::-webkit-input-placeholder{color:rgba(14,28,46,.62)}.components-modal__frame input::-moz-placeholder,.components-modal__frame textarea::-moz-placeholder,.components-popover input::-moz-placeholder,.components-popover textarea::-moz-placeholder,.edit-post-header input::-moz-placeholder,.edit-post-header textarea::-moz-placeholder,.edit-post-sidebar input::-moz-placeholder,.edit-post-sidebar textarea::-moz-placeholder,.edit-post-text-editor input::-moz-placeholder,.edit-post-text-editor textarea::-moz-placeholder,.edit-post-visual-editor input::-moz-placeholder,.edit-post-visual-editor textarea::-moz-placeholder,.editor-post-publish-panel input::-moz-placeholder,.editor-post-publish-panel textarea::-moz-placeholder{opacity:1;color:rgba(14,28,46,.62)}.components-modal__frame input:-ms-input-placeholder,.components-modal__frame textarea:-ms-input-placeholder,.components-popover input:-ms-input-placeholder,.components-popover textarea:-ms-input-placeholder,.edit-post-header input:-ms-input-placeholder,.edit-post-header textarea:-ms-input-placeholder,.edit-post-sidebar input:-ms-input-placeholder,.edit-post-sidebar textarea:-ms-input-placeholder,.edit-post-text-editor input:-ms-input-placeholder,.edit-post-text-editor textarea:-ms-input-placeholder,.edit-post-visual-editor input:-ms-input-placeholder,.edit-post-visual-editor textarea:-ms-input-placeholder,.editor-post-publish-panel input:-ms-input-placeholder,.editor-post-publish-panel textarea:-ms-input-placeholder{color:rgba(14,28,46,.62)}.is-dark-theme .components-modal__frame input::-webkit-input-placeholder,.is-dark-theme .components-modal__frame textarea::-webkit-input-placeholder,.is-dark-theme .components-popover input::-webkit-input-placeholder,.is-dark-theme .components-popover textarea::-webkit-input-placeholder,.is-dark-theme .edit-post-header input::-webkit-input-placeholder,.is-dark-theme .edit-post-header textarea::-webkit-input-placeholder,.is-dark-theme .edit-post-sidebar input::-webkit-input-placeholder,.is-dark-theme .edit-post-sidebar textarea::-webkit-input-placeholder,.is-dark-theme .edit-post-text-editor input::-webkit-input-placeholder,.is-dark-theme .edit-post-text-editor textarea::-webkit-input-placeholder,.is-dark-theme .edit-post-visual-editor input::-webkit-input-placeholder,.is-dark-theme .edit-post-visual-editor textarea::-webkit-input-placeholder,.is-dark-theme .editor-post-publish-panel input::-webkit-input-placeholder,.is-dark-theme .editor-post-publish-panel textarea::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .components-modal__frame input::-moz-placeholder,.is-dark-theme .components-modal__frame textarea::-moz-placeholder,.is-dark-theme .components-popover input::-moz-placeholder,.is-dark-theme .components-popover textarea::-moz-placeholder,.is-dark-theme .edit-post-header input::-moz-placeholder,.is-dark-theme .edit-post-header textarea::-moz-placeholder,.is-dark-theme .edit-post-sidebar input::-moz-placeholder,.is-dark-theme .edit-post-sidebar textarea::-moz-placeholder,.is-dark-theme .edit-post-text-editor input::-moz-placeholder,.is-dark-theme .edit-post-text-editor textarea::-moz-placeholder,.is-dark-theme .edit-post-visual-editor input::-moz-placeholder,.is-dark-theme .edit-post-visual-editor textarea::-moz-placeholder,.is-dark-theme .editor-post-publish-panel input::-moz-placeholder,.is-dark-theme .editor-post-publish-panel textarea::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .components-modal__frame input:-ms-input-placeholder,.is-dark-theme .components-modal__frame textarea:-ms-input-placeholder,.is-dark-theme .components-popover input:-ms-input-placeholder,.is-dark-theme .components-popover textarea:-ms-input-placeholder,.is-dark-theme .edit-post-header input:-ms-input-placeholder,.is-dark-theme .edit-post-header textarea:-ms-input-placeholder,.is-dark-theme .edit-post-sidebar input:-ms-input-placeholder,.is-dark-theme .edit-post-sidebar textarea:-ms-input-placeholder,.is-dark-theme .edit-post-text-editor input:-ms-input-placeholder,.is-dark-theme .edit-post-text-editor textarea:-ms-input-placeholder,.is-dark-theme .edit-post-visual-editor input:-ms-input-placeholder,.is-dark-theme .edit-post-visual-editor textarea:-ms-input-placeholder,.is-dark-theme .editor-post-publish-panel input:-ms-input-placeholder,.is-dark-theme .editor-post-publish-panel textarea:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}@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%}.block-editor__container .components-navigate-regions{height:100%}.wp-block{max-width:580px}.wp-block[data-align=wide]{max-width:1100px}.wp-block[data-align=full]{max-width:none} \ 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 ecc447d967..b926d2dd0d 100644 --- a/wp-includes/css/dist/edit-post/style.css +++ b/wp-includes/css/dist/edit-post/style.css @@ -4,6 +4,9 @@ /** * Breakpoints & Media Queries */ +/** + * Colors + */ /** * Often re-used variables */ @@ -219,21 +222,17 @@ body.is-fullscreen-mode .edit-post-editor-regions { align-items: center; flex-wrap: wrap; } -.edit-post-header .components-button.is-toggled { +.edit-post-header .components-button.is-pressed { color: #fff; - background: #555d66; - margin: 1px; - padding: 7px; } + background: #555d66; } -.edit-post-header .components-button.is-toggled:hover, .edit-post-header .components-button.is-toggled:focus { +.edit-post-header .components-button.is-pressed:hover, .edit-post-header .components-button.is-pressed:focus { box-shadow: 0 0 0 1px #555d66, inset 0 0 0 1px #fff !important; color: #fff !important; background: #555d66 !important; } .edit-post-header .components-button.editor-post-save-draft, .edit-post-header .components-button.editor-post-switch-to-draft, .edit-post-header .components-button.editor-post-preview, .edit-post-header .components-button.editor-post-publish-button, .edit-post-header .components-button.editor-post-publish-panel__toggle { margin: 2px; - height: 34px; - line-height: 32px; font-size: 13px; } .edit-post-header .components-button.editor-post-save-draft, .edit-post-header .components-button.editor-post-switch-to-draft { @@ -320,13 +319,13 @@ body.is-fullscreen-mode .edit-post-editor-regions { .edit-post-more-menu { margin-left: -4px; } - .edit-post-more-menu .components-icon-button { + .edit-post-more-menu .components-button { width: auto; padding: 8px 2px; } @media (min-width: 600px) { .edit-post-more-menu { margin-left: 4px; } - .edit-post-more-menu .components-icon-button { + .edit-post-more-menu .components-button { padding: 8px 4px; } } .edit-post-more-menu .components-button svg { transform: rotate(90deg); } @@ -348,69 +347,75 @@ body.is-fullscreen-mode .edit-post-editor-regions { @media (min-width: 600px) { .edit-post-pinned-plugins { display: flex; } } - .edit-post-pinned-plugins .components-icon-button { + .edit-post-pinned-plugins .components-button { margin-left: 4px; } - .edit-post-pinned-plugins .components-icon-button.is-toggled { + .edit-post-pinned-plugins .components-button.is-pressed { margin-left: 5px; } - .edit-post-pinned-plugins .components-icon-button svg { + .edit-post-pinned-plugins .components-button svg { max-width: 24px; max-height: 24px; } - .edit-post-pinned-plugins .components-icon-button:not(.is-toggled) svg, - .edit-post-pinned-plugins .components-icon-button:not(.is-toggled) svg * { + .edit-post-pinned-plugins .components-button:not(.is-pressed) svg, + .edit-post-pinned-plugins .components-button:not(.is-pressed) svg * { stroke: #555d66; fill: #555d66; stroke-width: 0; } - .edit-post-pinned-plugins .components-icon-button.is-toggled svg, - .edit-post-pinned-plugins .components-icon-button.is-toggled svg *, - .edit-post-pinned-plugins .components-icon-button.is-toggled:hover svg, - .edit-post-pinned-plugins .components-icon-button.is-toggled:hover svg * { + .edit-post-pinned-plugins .components-button.is-pressed svg, + .edit-post-pinned-plugins .components-button.is-pressed svg *, + .edit-post-pinned-plugins .components-button.is-pressed:hover svg, + .edit-post-pinned-plugins .components-button.is-pressed:hover svg * { stroke: #fff !important; fill: #fff !important; stroke-width: 0; } - .edit-post-pinned-plugins .components-icon-button:hover svg, - .edit-post-pinned-plugins .components-icon-button:hover svg * { + .edit-post-pinned-plugins .components-button:hover svg, + .edit-post-pinned-plugins .components-button:hover svg * { stroke: #191e23 !important; fill: #191e23 !important; stroke-width: 0; } -.edit-post-keyboard-shortcut-help__section { +.edit-post-keyboard-shortcut-help-modal__section { margin: 0 0 2rem 0; } -.edit-post-keyboard-shortcut-help__main-shortcuts .edit-post-keyboard-shortcut-help__shortcut-list { +.edit-post-keyboard-shortcut-help-modal__main-shortcuts .edit-post-keyboard-shortcut-help-modal__shortcut-list { margin-top: -25px; } -.edit-post-keyboard-shortcut-help__section-title { +.edit-post-keyboard-shortcut-help-modal__section-title { font-size: 0.9rem; font-weight: 600; } -.edit-post-keyboard-shortcut-help__shortcut { +.edit-post-keyboard-shortcut-help-modal__shortcut { display: flex; - align-items: center; + align-items: baseline; padding: 0.6rem 0; border-top: 1px solid #e2e4e7; margin-bottom: 0; } - .edit-post-keyboard-shortcut-help__shortcut:last-child { + .edit-post-keyboard-shortcut-help-modal__shortcut:last-child { border-bottom: 1px solid #e2e4e7; } + .edit-post-keyboard-shortcut-help-modal__shortcut:empty { + display: none; } -.edit-post-keyboard-shortcut-help__shortcut-term { +.edit-post-keyboard-shortcut-help-modal__shortcut-term { font-weight: 600; - margin: 0 0 0 1rem; } + margin: 0 0 0 1rem; + text-align: right; } -.edit-post-keyboard-shortcut-help__shortcut-description { +.edit-post-keyboard-shortcut-help-modal__shortcut-description { flex: 1; margin: 0; flex-basis: auto; } -.edit-post-keyboard-shortcut-help__shortcut-key-combination { +.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__shortcut-key { +.edit-post-keyboard-shortcut-help-modal__shortcut-key { padding: 0.25rem 0.5rem; border-radius: 8%; margin: 0 0.2rem 0 0.2rem; } - .edit-post-keyboard-shortcut-help__shortcut-key:last-child { + .edit-post-keyboard-shortcut-help-modal__shortcut-key:last-child { margin: 0 0 0 0.2rem; } .edit-post-layout__metaboxes { @@ -498,9 +503,6 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar { .edit-post-layout .editor-post-publish-panel__header-publish-button { justify-content: center; } - .edit-post-layout .editor-post-publish-panel__header-publish-button .components-button { - height: 33px; - line-height: 32px; } .edit-post-toggle-publish-panel { background-color: #fff; @@ -635,7 +637,7 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar { justify-content: space-between; flex-grow: 1; padding: 0.6rem 0 0.6rem 10px; } - .edit-post-manage-blocks-modal__checklist-item .editor-block-icon { + .edit-post-manage-blocks-modal__checklist-item .block-editor-block-icon { margin-right: 10px; fill: #555d66; } @@ -804,16 +806,17 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar { padding-right: 4px; border-top: 0; margin-top: 0; } - .components-panel__header.edit-post-sidebar__panel-tabs .components-icon-button { + .components-panel__header.edit-post-sidebar__panel-tabs .components-button.has-icon { display: none; margin-left: auto; } @media (min-width: 782px) { - .components-panel__header.edit-post-sidebar__panel-tabs .components-icon-button { + .components-panel__header.edit-post-sidebar__panel-tabs .components-button.has-icon { display: flex; } } .edit-post-sidebar__panel-tab { background: transparent; border: none; + border-radius: 0; box-shadow: none; cursor: pointer; height: 50px; @@ -1013,13 +1016,13 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar { .components-panel__header.edit-post-sidebar-header { padding-right: 4px; background: #f3f4f5; } - .components-panel__header.edit-post-sidebar-header .components-icon-button { + .components-panel__header.edit-post-sidebar-header .components-button.has-icon { display: none; margin-left: auto; } - .components-panel__header.edit-post-sidebar-header .components-icon-button ~ .components-icon-button { + .components-panel__header.edit-post-sidebar-header .components-button.has-icon ~ .components-button { margin-left: 0; } @media (min-width: 782px) { - .components-panel__header.edit-post-sidebar-header .components-icon-button { + .components-panel__header.edit-post-sidebar-header .components-button.has-icon { display: flex; } } .edit-post-text-editor { @@ -1062,7 +1065,7 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar { margin: 0 auto 0 0; font-size: 13px; color: #555d66; } - .edit-post-text-editor__toolbar .components-icon-button svg { + .edit-post-text-editor__toolbar .components-button svg { order: 1; } .edit-post-text-editor__body { @@ -1182,8 +1185,8 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar { .edit-post-welcome-guide__heading { font-family: "Noto Serif", serif; - font-size: 32px; - line-height: 44px; + font-size: 21px; + line-height: 1.4; margin: 8px 0; } .edit-post-welcome-guide__image { @@ -1193,14 +1196,16 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar { margin: 8px 0; } @media (min-width: 600px) { .edit-post-welcome-guide__image { - height: 300px; - left: 0; position: absolute; - width: 320px; } } + left: 0; + top: 50%; + height: 300px; + width: 320px; + margin-top: -150px; } } .edit-post-welcome-guide__text { font-size: 16px; - line-height: 1.5; + line-height: 1.4; margin: 8px 0; } .edit-post-welcome-guide__inserter-icon { @@ -1208,6 +1213,10 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar { position: relative; top: 4px; } +@media (min-width: 600px) { + .edit-post-welcome-guide { + width: 600px; } } + /** * Animations */ diff --git a/wp-includes/css/dist/edit-post/style.min.css b/wp-includes/css/dist/edit-post/style.min.css index 64031cfe3a..7f8fe9661d 100644 --- a/wp-includes/css/dist/edit-post/style.min.css +++ b/wp-includes/css/dist/edit-post/style.min.css @@ -1 +1 @@ -html{position:fixed;width:100%}@media (min-width:782px){html{position:static;width:auto}}.edit-post-editor-regions{display:flex;flex-direction:column;height:auto;max-height:100%;position:fixed;top:46px;right:0;bottom:0}@media (min-width:782px){.edit-post-editor-regions{top:32px}.is-fullscreen-mode .edit-post-editor-regions{top:0}}.edit-post-editor-regions{left:0}@media (min-width:782px){.edit-post-editor-regions{left:160px}}@media (min-width:782px){.auto-fold .edit-post-editor-regions{left:36px}}@media (min-width:960px){.auto-fold .edit-post-editor-regions{left:160px}}.folded .edit-post-editor-regions{left:0}@media (min-width:782px){.folded .edit-post-editor-regions{left:36px}}@media (max-width:782px){.auto-fold .wp-responsive-open .edit-post-editor-regions{left:190px}}@media (max-width:600px){.auto-fold .wp-responsive-open .edit-post-editor-regions{margin-left:-18px}}body.is-fullscreen-mode .edit-post-editor-regions{left:0!important}.edit-post-editor-regions__body{flex-grow:1;display:flex;overflow:auto;overscroll-behavior-y:none}.edit-post-editor-regions__content{flex-grow:1;display:flex;flex-direction:column}@media (min-width:782px){.edit-post-editor-regions__content{overflow:auto}}.edit-post-editor-regions__sidebar{width:auto;flex-shrink:0;position:absolute;z-index:100000;top:0;right:0;bottom:0;left:0;background:#fff}.edit-post-editor-regions__sidebar:empty{display:none}@media (min-width:782px){.edit-post-editor-regions__sidebar{overflow:auto;border-left:1px solid #e2e4e7;position:relative!important;z-index:90}}.edit-post-editor-regions__header{flex-shrink:0;height:auto;border-bottom:1px solid #e2e4e7;z-index:30;position:-webkit-sticky;position:sticky;top:0}@media (min-width:600px){.edit-post-editor-regions__header{position:static;top:0}}.edit-post-editor-regions__footer{height:auto;flex-shrink:0;overflow:auto;border-top:1px solid #e2e4e7;display:none}@media (min-width:782px){.edit-post-editor-regions__footer{display:block}}.edit-post-editor-regions__publish{z-index:100000;position:fixed!important;top:-9999em;bottom:auto;left:auto;right:0;width:280px}.edit-post-editor-regions__publish:focus{top:auto;bottom:0}@media (min-width:782px){body.js.is-fullscreen-mode{margin-top:-46px;height:calc(100% + 46px)}}@media (min-width:782px) and (min-width:782px){body.js.is-fullscreen-mode{margin-top:-32px;height:calc(100% + 32px)}}@media (min-width:782px){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}body.js.is-fullscreen-mode .edit-post-header{transform:translateY(-100%);animation:edit-post-fullscreen-mode__slide-in-animation .1s forwards}}@media (min-width:782px) and (prefers-reduced-motion:reduce){body.js.is-fullscreen-mode .edit-post-header{animation-duration:1ms}}@keyframes edit-post-fullscreen-mode__slide-in-animation{to{transform:translateY(0)}}.edit-post-header{height:56px;padding:4px 2px;background:#fff;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;max-width:100vw}@media (min-width:280px){.edit-post-header{flex-wrap:nowrap}}@media (min-width:600px){.edit-post-header{padding:8px}}.edit-post-header>.edit-post-header__settings{order:1}@supports ((position:-webkit-sticky) or (position:sticky)){.edit-post-header>.edit-post-header__settings{order:0}}.edit-post-header__toolbar{display:flex}.edit-post-header__settings{display:inline-flex;align-items:center;flex-wrap:wrap}.edit-post-header .components-button.is-toggled{color:#fff;background:#555d66;margin:1px;padding:7px}.edit-post-header .components-button.is-toggled:focus,.edit-post-header .components-button.is-toggled:hover{box-shadow:0 0 0 1px #555d66,inset 0 0 0 1px #fff!important;color:#fff!important;background:#555d66!important}.edit-post-header .components-button.editor-post-preview,.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle,.edit-post-header .components-button.editor-post-save-draft,.edit-post-header .components-button.editor-post-switch-to-draft{margin:2px;height:34px;line-height:32px;font-size:13px}.edit-post-header .components-button.editor-post-save-draft,.edit-post-header .components-button.editor-post-switch-to-draft{padding:0 5px}@media (min-width:600px){.edit-post-header .components-button.editor-post-save-draft,.edit-post-header .components-button.editor-post-switch-to-draft{padding:0 12px}}.edit-post-header .components-button.editor-post-preview,.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle{padding-left:5px;padding-right:5px}@media (min-width:600px){.edit-post-header .components-button.editor-post-preview,.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle{padding-left:12px;padding-right:12px}}@media (min-width:782px){.edit-post-header .components-button.editor-post-preview{margin:0 3px 0 12px}.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle{margin:0 12px 0 3px}}.edit-post-fullscreen-mode-close__toolbar{display:none}@media (min-width:782px){.edit-post-fullscreen-mode-close__toolbar{display:flex;border-top:0;border-bottom:0;border-left:0;margin:-9px 10px -8px -10px;padding:9px 10px}}.edit-post-header-toolbar{display:inline-flex;align-items:center}.edit-post-header-toolbar>.components-button{display:none}@media (min-width:600px){.edit-post-header-toolbar>.components-button{display:inline-flex}}.edit-post-header-toolbar .block-editor-block-navigation,.edit-post-header-toolbar .table-of-contents{display:none}@media (min-width:600px){.edit-post-header-toolbar .block-editor-block-navigation,.edit-post-header-toolbar .table-of-contents{display:flex}}.edit-post-header-toolbar__block-toolbar{position:absolute;top:57px;left:0;right:0;background:#fff;min-height:37px;border-bottom:1px solid #e2e4e7}.edit-post-header-toolbar__block-toolbar:empty{display:none}.edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar .components-toolbar{border-top:none;border-bottom:none}.is-sidebar-opened .edit-post-header-toolbar__block-toolbar{display:none}@media (min-width:782px){.is-sidebar-opened .edit-post-header-toolbar__block-toolbar{display:block;right:280px}}@media (min-width:1080px){.edit-post-header-toolbar__block-toolbar{padding-left:8px;position:static;left:auto;right:auto;background:none;border-bottom:none;min-height:auto}.is-sidebar-opened .edit-post-header-toolbar__block-toolbar{right:auto}.edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar{margin:-9px 0}.edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar .components-toolbar{padding:10px 4px 9px}}.edit-post-more-menu{margin-left:-4px}.edit-post-more-menu .components-icon-button{width:auto;padding:8px 2px}@media (min-width:600px){.edit-post-more-menu{margin-left:4px}.edit-post-more-menu .components-icon-button{padding:8px 4px}}.edit-post-more-menu .components-button svg{transform:rotate(90deg)}.edit-post-more-menu__content .components-popover__content{min-width:260px}@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-pinned-plugins{display:none}@media (min-width:600px){.edit-post-pinned-plugins{display:flex}}.edit-post-pinned-plugins .components-icon-button{margin-left:4px}.edit-post-pinned-plugins .components-icon-button.is-toggled{margin-left:5px}.edit-post-pinned-plugins .components-icon-button svg{max-width:24px;max-height:24px}.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) svg,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) svg *{stroke:#555d66;fill:#555d66;stroke-width:0}.edit-post-pinned-plugins .components-icon-button.is-toggled:hover svg,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover svg *,.edit-post-pinned-plugins .components-icon-button.is-toggled svg,.edit-post-pinned-plugins .components-icon-button.is-toggled svg *{stroke:#fff!important;fill:#fff!important;stroke-width:0}.edit-post-pinned-plugins .components-icon-button:hover svg,.edit-post-pinned-plugins .components-icon-button:hover svg *{stroke:#191e23!important;fill:#191e23!important;stroke-width:0}.edit-post-keyboard-shortcut-help__section{margin:0 0 2rem}.edit-post-keyboard-shortcut-help__main-shortcuts .edit-post-keyboard-shortcut-help__shortcut-list{margin-top:-25px}.edit-post-keyboard-shortcut-help__section-title{font-size:.9rem;font-weight:600}.edit-post-keyboard-shortcut-help__shortcut{display:flex;align-items:center;padding:.6rem 0;border-top:1px solid #e2e4e7;margin-bottom:0}.edit-post-keyboard-shortcut-help__shortcut:last-child{border-bottom:1px solid #e2e4e7}.edit-post-keyboard-shortcut-help__shortcut-term{font-weight:600;margin:0 0 0 1rem}.edit-post-keyboard-shortcut-help__shortcut-description{flex:1;margin:0;flex-basis:auto}.edit-post-keyboard-shortcut-help__shortcut-key-combination{background:none;margin:0;padding:0}.edit-post-keyboard-shortcut-help__shortcut-key{padding:.25rem .5rem;border-radius:8%;margin:0 .2rem}.edit-post-keyboard-shortcut-help__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 #e2e4e7;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:20px;padding-left:16px;padding-right:16px;left:0}@media (min-width:782px){.edit-post-layout .components-editor-notices__snackbar{left:160px}}@media (min-width:782px){.auto-fold .edit-post-layout .components-editor-notices__snackbar{left:36px}}@media (min-width:960px){.auto-fold .edit-post-layout .components-editor-notices__snackbar{left:160px}}.folded .edit-post-layout .components-editor-notices__snackbar{left:0}@media (min-width:782px){.folded .edit-post-layout .components-editor-notices__snackbar{left:36px}}@media (max-width:782px){.auto-fold .wp-responsive-open .edit-post-layout .components-editor-notices__snackbar{left:190px}}@media (max-width:600px){.auto-fold .wp-responsive-open .edit-post-layout .components-editor-notices__snackbar{margin-left:-18px}}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:280px;border-left:1px solid #e2e4e7;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}}@media (min-width:782px){body.is-fullscreen-mode .edit-post-layout .editor-post-publish-panel{top:0}.is-focusing-regions .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 .editor-post-publish-panel__header-publish-button .components-button{height:33px;line-height:32px}.edit-post-toggle-publish-panel{background-color:#fff;padding:10px 10px 10px 0}.edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{width:auto;height:auto;display:block;font-size:14px;font-weight:600;margin:0 0 0 auto;padding:15px 23px 14px;line-height:normal;text-decoration:none;outline:none;background:#f1f1f1;color:#11a0d2}body.admin-color-sunrise .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#c8b03c}body.admin-color-ocean .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#a89d8a}body.admin-color-midnight .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#77a6b9}body.admin-color-ectoplasm .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#c77430}body.admin-color-coffee .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#9fa47b}body.admin-color-blue .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#d9ab59}body.admin-color-light .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#c75726}.edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button:focus{position:fixed;top:auto;right:10px;bottom:10px;left:auto}.edit-post-layout__footer{display:none;z-index:30}@media (min-width:782px){.edit-post-layout__footer{display:flex;background:#fff;height:24px;padding:0 8px;align-items:center;font-size:13px}}@media (min-width:600px){.edit-post-manage-blocks-modal{height:calc(100% - 112px)}}.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:12px;border-radius:4px}.edit-post-manage-blocks-modal__disabled-blocks-count{border-top:1px solid #e2e4e7;margin-left:-24px;margin-right:-24px;padding:.6rem 24px;background-color:#f3f4f5}.edit-post-manage-blocks-modal__category{margin:0 0 2rem}.edit-post-manage-blocks-modal__category-title{position:-webkit-sticky;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 #e2e4e7}.edit-post-manage-blocks-modal__checklist-item:last-child{border-bottom:1px solid #e2e4e7}.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 .editor-block-icon{margin-right:10px;fill:#555d66}.edit-post-manage-blocks-modal__results{height:100%;overflow:auto;margin-left:-24px;margin-right:-24px;padding-left:24px;padding-right:24px;border-top:1px solid #e2e4e7}.edit-post-meta-boxes-area{position:relative}.edit-post-meta-boxes-area .inside,.edit-post-meta-boxes-area__container{box-sizing:content-box}.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{border-bottom:1px solid #e2e4e7;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 #e2e4e7;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 #6c7781}.edit-post-meta-boxes-area .metabox-location-side .postbox input[type=checkbox]:checked{background:#fff;border-color:#6c7781}.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-sidebar{background:#fff;color:#555d66;overflow:visible}@media (min-width:600px){.edit-post-sidebar{z-index:auto;height:100%;overflow:visible;-webkit-overflow-scrolling:touch}}@media (min-width:782px){.edit-post-sidebar{width:280px}}.edit-post-sidebar>.components-panel{border-left:none;border-right:none;overflow:auto;-webkit-overflow-scrolling:touch;height:auto;max-height:calc(100vh - 96px);margin-top:-1px;margin-bottom:-1px;position:relative}@media (min-width:600px){.edit-post-sidebar>.components-panel{overflow:visible;height:auto;max-height:none}}.edit-post-sidebar>.components-panel .components-panel__header{position:fixed;z-index:1;top:0;left:0;right:0;height:50px}@media (min-width:600px){.edit-post-sidebar>.components-panel .components-panel__header{position:inherit;top:auto;left:auto;right:auto}}.edit-post-sidebar p{margin-top:0}.edit-post-sidebar h2,.edit-post-sidebar h3{font-size:13px;color:#555d66;margin-bottom:1.5em}.edit-post-sidebar hr{border-top:none;border-bottom:1px solid #e2e4e7;margin:1.5em 0}.edit-post-sidebar div.components-toolbar{box-shadow:none;margin-bottom:1.5em}.edit-post-sidebar div.components-toolbar:last-child{margin-bottom:0}.edit-post-sidebar p+div.components-toolbar{margin-top:-1em}.edit-post-sidebar .block-editor-skip-to-selected-block:focus{top:auto;right:10px;bottom:10px;left:auto}.components-panel__header.edit-post-sidebar__header{background:#fff;padding-right:8px}.components-panel__header.edit-post-sidebar__header .edit-post-sidebar__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}@media (min-width:782px){.components-panel__header.edit-post-sidebar__header{display:none}}.components-panel__header.edit-post-sidebar__panel-tabs{margin-top:0}.components-panel__header.edit-post-sidebar__panel-tabs .components-icon-button{display:none;margin-left:auto}@media (min-width:782px){.components-panel__header.edit-post-sidebar__panel-tabs .components-icon-button{display:flex}}.edit-post-sidebar__panel-tab{background:transparent;border:none;box-shadow:none;cursor:pointer;height:50px;padding:3px 15px;margin-left:0;font-weight:400;outline-offset:-1px;transition:box-shadow .1s linear}@media (prefers-reduced-motion:reduce){.edit-post-sidebar__panel-tab{transition-duration:0s}}.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #007cba;font-weight:600;position:relative}body.admin-color-sunrise .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #837425}body.admin-color-ocean .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #5e7d5e}body.admin-color-midnight .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #497b8d}body.admin-color-ectoplasm .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #523f6d}body.admin-color-coffee .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #59524c}body.admin-color-blue .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #417e9b}body.admin-color-light .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #007cba}.edit-post-sidebar__panel-tab.is-active:before{content:"";position:absolute;top:0;bottom:1px;right:0;left:0;border-bottom:3px solid transparent}.edit-post-sidebar__panel-tab:focus:not(:disabled){color:#191e23;outline-offset:-1px;outline:1px dotted #555d66;box-shadow:none}.components-panel__body.is-opened.edit-post-last-revision__panel{padding:0}.editor-post-last-revision__title{padding:13px 16px}.editor-post-author__select{margin:-5px 0;width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.editor-post-author__select{width:auto}}.edit-post-post-link__link-post-name{font-weight:600}.edit-post-post-link__preview-label{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}.components-button.edit-post-post-schedule__toggle{text-align:right}.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%}.edit-post-post-visibility__dialog .components-popover__content{padding:10px}@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:#7e8993;padding-left:20px;font-style:italic;margin:4px 0 0;line-height:1.4}.components-panel__header.edit-post-sidebar__panel-tabs{justify-content:flex-start;padding-left:0;padding-right:4px;border-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-button.edit-post-sidebar__panel-tab{background:transparent;border:none;box-shadow:none;cursor:pointer;display:inline-block;padding:3px 15px;margin-left:0;font-weight:400;color:#191e23;outline-offset:-1px;transition:box-shadow .1s linear}@media (prefers-reduced-motion:reduce){.components-button.edit-post-sidebar__panel-tab{transition-duration:0s}}.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 -3px #007cba;font-weight:600;position:relative}body.admin-color-sunrise .components-button.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #837425}body.admin-color-ocean .components-button.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #5e7d5e}body.admin-color-midnight .components-button.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #497b8d}body.admin-color-ectoplasm .components-button.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #523f6d}body.admin-color-coffee .components-button.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #59524c}body.admin-color-blue .components-button.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #417e9b}body.admin-color-light .components-button.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #007cba}.components-button.edit-post-sidebar__panel-tab.is-active:before{content:"";position:absolute;top:0;bottom:1px;right:0;left:0;border-bottom:3px solid transparent}.components-button.edit-post-sidebar__panel-tab:focus{background-color:transparent;color:#191e23;outline-offset:-1px;outline:1px dotted #555d66}.components-panel__header.edit-post-sidebar-header__small{background:#fff;padding-right:4px}.components-panel__header.edit-post-sidebar-header__small .edit-post-sidebar__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}@media (min-width:782px){.components-panel__header.edit-post-sidebar-header__small{display:none}}.components-panel__header.edit-post-sidebar-header{padding-right:4px;background:#f3f4f5}.components-panel__header.edit-post-sidebar-header .components-icon-button{display:none;margin-left:auto}.components-panel__header.edit-post-sidebar-header .components-icon-button~.components-icon-button{margin-left:0}@media (min-width:782px){.components-panel__header.edit-post-sidebar-header .components-icon-button{display:flex}}.edit-post-text-editor{position:relative;width:100%;padding-top:44px}.edit-post-text-editor .editor-post-title__block textarea{border:1px solid #e2e4e7;margin-bottom:4px;padding:14px}.edit-post-text-editor .editor-post-title__block textarea:focus{border:1px solid #e2e4e7}.edit-post-text-editor .editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar).is-selected .editor-post-title__input,.edit-post-text-editor .editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar):not(.is-selected) .editor-post-title__input:hover{box-shadow:none;border-left-width:1px}.edit-post-text-editor .editor-post-title__block.is-selected textarea,.edit-post-text-editor .editor-post-title__block textarea:hover{box-shadow:0 0 0 1px #e2e4e7}.edit-post-text-editor .editor-post-permalink{margin-top:-6px;box-shadow:none;border:none;outline:1px solid #b5bcc2}@media (min-width:600px){.edit-post-text-editor .editor-post-title,.edit-post-text-editor .editor-post-title__block{padding:0}}.edit-post-text-editor__toolbar{position:absolute;top:8px;left:0;right:0;height:36px;line-height:36px;padding:0 8px 0 16px;display:flex}.edit-post-text-editor__toolbar h2{margin:0 auto 0 0;font-size:13px;color:#555d66}.edit-post-text-editor__toolbar .components-icon-button svg{order:1}.edit-post-text-editor__body{max-width:calc(100% - 32px);margin-left:16px;margin-right:16px;padding-top:40px}@media (min-width:600px){.edit-post-text-editor__body{max-width:580px;margin-left:auto;margin-right:auto}}.edit-post-visual-editor{position:relative;padding-top:50px;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}@supports ((position:-webkit-sticky) or (position:sticky)){.edit-post-visual-editor{flex-basis:100%}}.edit-post-visual-editor>.block-editor__typewriter,.edit-post-visual-editor>.block-editor__typewriter>.block-editor-writing-flow,.edit-post-visual-editor>.block-editor__typewriter>.block-editor-writing-flow>.block-editor-writing-flow__click-redirect{height:100%}.edit-post-visual-editor .block-editor-writing-flow__click-redirect{min-height:50vh;width:100%}.has-metaboxes .edit-post-visual-editor .block-editor-writing-flow__click-redirect{height:0}.edit-post-visual-editor .block-editor-block-list__block{margin-left:auto;margin-right:auto}@media (min-width:600px){.edit-post-visual-editor .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar,.edit-post-visual-editor .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar{height:0;width:calc(100% - 90px);margin-left:0;margin-right:0;text-align:center;float:left}}@media (min-width:600px) and (min-width:1080px){.edit-post-visual-editor .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar,.edit-post-visual-editor .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar{width:calc(100% - 26px)}}@media (min-width:600px){.edit-post-visual-editor .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar .block-editor-block-toolbar,.edit-post-visual-editor .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar .block-editor-block-toolbar{max-width:580px;width:100%;position:relative}}@media (min-width:600px){.editor-post-title{padding-left:58px;padding-right:58px}}.edit-post-visual-editor .editor-post-title__block{margin-left:auto;margin-right:auto;margin-bottom:32px}.edit-post-visual-editor .editor-post-title__block>div{margin-left:0;margin-right:0}@media (min-width:600px){.edit-post-visual-editor .editor-post-title__block>div{margin-left:-16px;margin-right:-16px}}.edit-post-visual-editor .block-editor-block-list__layout>.block-editor-block-list__block[data-align=left]:first-child,.edit-post-visual-editor .block-editor-block-list__layout>.block-editor-block-list__block[data-align=right]:first-child{margin-top:34px}.edit-post-options-modal__section{margin:0 0 2rem}.edit-post-options-modal__section-title{font-size:.9rem;font-weight:600}.edit-post-options-modal__option{border-top:1px solid #e2e4e7}.edit-post-options-modal__option:last-child{border-bottom:1px solid #e2e4e7}.edit-post-options-modal__option .components-base-control__field{align-items:center;display:flex;margin:0}.edit-post-options-modal__option .components-checkbox-control__label{flex-grow:1;padding:.6rem 0 .6rem 10px}.edit-post-options-modal__custom-fields-confirmation-button,.edit-post-options-modal__custom-fields-confirmation-message{margin:0 0 .6rem 48px}@media (min-width:782px){.edit-post-options-modal__custom-fields-confirmation-button,.edit-post-options-modal__custom-fields-confirmation-message{margin-left:38px}}@media (min-width:600px){.edit-post-options-modal__custom-fields-confirmation-button,.edit-post-options-modal__custom-fields-confirmation-message{max-width:300px}}.edit-post-welcome-guide__page{display:flex;flex-direction:column;justify-content:center;position:relative}@media (min-width:600px){.edit-post-welcome-guide__page{min-height:300px;padding-left:344px}}.edit-post-welcome-guide__heading{font-family:"Noto Serif",serif;font-size:32px;line-height:44px;margin:8px 0}.edit-post-welcome-guide__image{background:#66c6e4;border-radius:4px;height:200px;margin:8px 0}@media (min-width:600px){.edit-post-welcome-guide__image{height:300px;left:0;position:absolute;width:320px}}.edit-post-welcome-guide__text{font-size:16px;line-height:1.5;margin:8px 0}.edit-post-welcome-guide__inserter-icon{margin:0 4px;position:relative;top:4px}@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){display:none}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%}.components-modal__frame,.components-popover,.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-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}.components-modal__frame .input-control,.components-modal__frame input[type=checkbox],.components-modal__frame input[type=color],.components-modal__frame input[type=date],.components-modal__frame input[type=datetime-local],.components-modal__frame input[type=datetime],.components-modal__frame input[type=email],.components-modal__frame input[type=month],.components-modal__frame input[type=number],.components-modal__frame input[type=password],.components-modal__frame input[type=radio],.components-modal__frame input[type=search],.components-modal__frame input[type=tel],.components-modal__frame input[type=text],.components-modal__frame input[type=time],.components-modal__frame input[type=url],.components-modal__frame input[type=week],.components-modal__frame select,.components-modal__frame textarea,.components-popover .input-control,.components-popover input[type=checkbox],.components-popover input[type=color],.components-popover input[type=date],.components-popover input[type=datetime-local],.components-popover input[type=datetime],.components-popover input[type=email],.components-popover input[type=month],.components-popover input[type=number],.components-popover input[type=password],.components-popover input[type=radio],.components-popover input[type=search],.components-popover input[type=tel],.components-popover input[type=text],.components-popover input[type=time],.components-popover input[type=url],.components-popover input[type=week],.components-popover select,.components-popover textarea,.edit-post-header .input-control,.edit-post-header input[type=checkbox],.edit-post-header input[type=color],.edit-post-header input[type=date],.edit-post-header input[type=datetime-local],.edit-post-header input[type=datetime],.edit-post-header input[type=email],.edit-post-header input[type=month],.edit-post-header input[type=number],.edit-post-header input[type=password],.edit-post-header input[type=radio],.edit-post-header input[type=search],.edit-post-header input[type=tel],.edit-post-header input[type=text],.edit-post-header input[type=time],.edit-post-header input[type=url],.edit-post-header input[type=week],.edit-post-header select,.edit-post-header textarea,.edit-post-sidebar .input-control,.edit-post-sidebar input[type=checkbox],.edit-post-sidebar input[type=color],.edit-post-sidebar input[type=date],.edit-post-sidebar input[type=datetime-local],.edit-post-sidebar input[type=datetime],.edit-post-sidebar input[type=email],.edit-post-sidebar input[type=month],.edit-post-sidebar input[type=number],.edit-post-sidebar input[type=password],.edit-post-sidebar input[type=radio],.edit-post-sidebar input[type=search],.edit-post-sidebar input[type=tel],.edit-post-sidebar input[type=text],.edit-post-sidebar input[type=time],.edit-post-sidebar input[type=url],.edit-post-sidebar input[type=week],.edit-post-sidebar select,.edit-post-sidebar textarea,.edit-post-text-editor .input-control,.edit-post-text-editor input[type=checkbox],.edit-post-text-editor input[type=color],.edit-post-text-editor input[type=date],.edit-post-text-editor input[type=datetime-local],.edit-post-text-editor input[type=datetime],.edit-post-text-editor input[type=email],.edit-post-text-editor input[type=month],.edit-post-text-editor input[type=number],.edit-post-text-editor input[type=password],.edit-post-text-editor input[type=radio],.edit-post-text-editor input[type=search],.edit-post-text-editor input[type=tel],.edit-post-text-editor input[type=text],.edit-post-text-editor input[type=time],.edit-post-text-editor input[type=url],.edit-post-text-editor input[type=week],.edit-post-text-editor select,.edit-post-text-editor textarea,.edit-post-visual-editor .input-control,.edit-post-visual-editor input[type=checkbox],.edit-post-visual-editor input[type=color],.edit-post-visual-editor input[type=date],.edit-post-visual-editor input[type=datetime-local],.edit-post-visual-editor input[type=datetime],.edit-post-visual-editor input[type=email],.edit-post-visual-editor input[type=month],.edit-post-visual-editor input[type=number],.edit-post-visual-editor input[type=password],.edit-post-visual-editor input[type=radio],.edit-post-visual-editor input[type=search],.edit-post-visual-editor input[type=tel],.edit-post-visual-editor input[type=text],.edit-post-visual-editor input[type=time],.edit-post-visual-editor input[type=url],.edit-post-visual-editor input[type=week],.edit-post-visual-editor select,.edit-post-visual-editor textarea,.editor-post-publish-panel .input-control,.editor-post-publish-panel input[type=checkbox],.editor-post-publish-panel input[type=color],.editor-post-publish-panel input[type=date],.editor-post-publish-panel input[type=datetime-local],.editor-post-publish-panel input[type=datetime],.editor-post-publish-panel input[type=email],.editor-post-publish-panel input[type=month],.editor-post-publish-panel input[type=number],.editor-post-publish-panel input[type=password],.editor-post-publish-panel input[type=radio],.editor-post-publish-panel input[type=search],.editor-post-publish-panel input[type=tel],.editor-post-publish-panel input[type=text],.editor-post-publish-panel input[type=time],.editor-post-publish-panel input[type=url],.editor-post-publish-panel input[type=week],.editor-post-publish-panel select,.editor-post-publish-panel 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:4px;border:1px solid #7e8993;font-size:16px;line-height:normal}@media (prefers-reduced-motion:reduce){.components-modal__frame .input-control,.components-modal__frame input[type=checkbox],.components-modal__frame input[type=color],.components-modal__frame input[type=date],.components-modal__frame input[type=datetime-local],.components-modal__frame input[type=datetime],.components-modal__frame input[type=email],.components-modal__frame input[type=month],.components-modal__frame input[type=number],.components-modal__frame input[type=password],.components-modal__frame input[type=radio],.components-modal__frame input[type=search],.components-modal__frame input[type=tel],.components-modal__frame input[type=text],.components-modal__frame input[type=time],.components-modal__frame input[type=url],.components-modal__frame input[type=week],.components-modal__frame select,.components-modal__frame textarea,.components-popover .input-control,.components-popover input[type=checkbox],.components-popover input[type=color],.components-popover input[type=date],.components-popover input[type=datetime-local],.components-popover input[type=datetime],.components-popover input[type=email],.components-popover input[type=month],.components-popover input[type=number],.components-popover input[type=password],.components-popover input[type=radio],.components-popover input[type=search],.components-popover input[type=tel],.components-popover input[type=text],.components-popover input[type=time],.components-popover input[type=url],.components-popover input[type=week],.components-popover select,.components-popover textarea,.edit-post-header .input-control,.edit-post-header input[type=checkbox],.edit-post-header input[type=color],.edit-post-header input[type=date],.edit-post-header input[type=datetime-local],.edit-post-header input[type=datetime],.edit-post-header input[type=email],.edit-post-header input[type=month],.edit-post-header input[type=number],.edit-post-header input[type=password],.edit-post-header input[type=radio],.edit-post-header input[type=search],.edit-post-header input[type=tel],.edit-post-header input[type=text],.edit-post-header input[type=time],.edit-post-header input[type=url],.edit-post-header input[type=week],.edit-post-header select,.edit-post-header textarea,.edit-post-sidebar .input-control,.edit-post-sidebar input[type=checkbox],.edit-post-sidebar input[type=color],.edit-post-sidebar input[type=date],.edit-post-sidebar input[type=datetime-local],.edit-post-sidebar input[type=datetime],.edit-post-sidebar input[type=email],.edit-post-sidebar input[type=month],.edit-post-sidebar input[type=number],.edit-post-sidebar input[type=password],.edit-post-sidebar input[type=radio],.edit-post-sidebar input[type=search],.edit-post-sidebar input[type=tel],.edit-post-sidebar input[type=text],.edit-post-sidebar input[type=time],.edit-post-sidebar input[type=url],.edit-post-sidebar input[type=week],.edit-post-sidebar select,.edit-post-sidebar textarea,.edit-post-text-editor .input-control,.edit-post-text-editor input[type=checkbox],.edit-post-text-editor input[type=color],.edit-post-text-editor input[type=date],.edit-post-text-editor input[type=datetime-local],.edit-post-text-editor input[type=datetime],.edit-post-text-editor input[type=email],.edit-post-text-editor input[type=month],.edit-post-text-editor input[type=number],.edit-post-text-editor input[type=password],.edit-post-text-editor input[type=radio],.edit-post-text-editor input[type=search],.edit-post-text-editor input[type=tel],.edit-post-text-editor input[type=text],.edit-post-text-editor input[type=time],.edit-post-text-editor input[type=url],.edit-post-text-editor input[type=week],.edit-post-text-editor select,.edit-post-text-editor textarea,.edit-post-visual-editor .input-control,.edit-post-visual-editor input[type=checkbox],.edit-post-visual-editor input[type=color],.edit-post-visual-editor input[type=date],.edit-post-visual-editor input[type=datetime-local],.edit-post-visual-editor input[type=datetime],.edit-post-visual-editor input[type=email],.edit-post-visual-editor input[type=month],.edit-post-visual-editor input[type=number],.edit-post-visual-editor input[type=password],.edit-post-visual-editor input[type=radio],.edit-post-visual-editor input[type=search],.edit-post-visual-editor input[type=tel],.edit-post-visual-editor input[type=text],.edit-post-visual-editor input[type=time],.edit-post-visual-editor input[type=url],.edit-post-visual-editor input[type=week],.edit-post-visual-editor select,.edit-post-visual-editor textarea,.editor-post-publish-panel .input-control,.editor-post-publish-panel input[type=checkbox],.editor-post-publish-panel input[type=color],.editor-post-publish-panel input[type=date],.editor-post-publish-panel input[type=datetime-local],.editor-post-publish-panel input[type=datetime],.editor-post-publish-panel input[type=email],.editor-post-publish-panel input[type=month],.editor-post-publish-panel input[type=number],.editor-post-publish-panel input[type=password],.editor-post-publish-panel input[type=radio],.editor-post-publish-panel input[type=search],.editor-post-publish-panel input[type=tel],.editor-post-publish-panel input[type=text],.editor-post-publish-panel input[type=time],.editor-post-publish-panel input[type=url],.editor-post-publish-panel input[type=week],.editor-post-publish-panel select,.editor-post-publish-panel textarea{transition-duration:0s}}@media (min-width:600px){.components-modal__frame .input-control,.components-modal__frame input[type=checkbox],.components-modal__frame input[type=color],.components-modal__frame input[type=date],.components-modal__frame input[type=datetime-local],.components-modal__frame input[type=datetime],.components-modal__frame input[type=email],.components-modal__frame input[type=month],.components-modal__frame input[type=number],.components-modal__frame input[type=password],.components-modal__frame input[type=radio],.components-modal__frame input[type=search],.components-modal__frame input[type=tel],.components-modal__frame input[type=text],.components-modal__frame input[type=time],.components-modal__frame input[type=url],.components-modal__frame input[type=week],.components-modal__frame select,.components-modal__frame textarea,.components-popover .input-control,.components-popover input[type=checkbox],.components-popover input[type=color],.components-popover input[type=date],.components-popover input[type=datetime-local],.components-popover input[type=datetime],.components-popover input[type=email],.components-popover input[type=month],.components-popover input[type=number],.components-popover input[type=password],.components-popover input[type=radio],.components-popover input[type=search],.components-popover input[type=tel],.components-popover input[type=text],.components-popover input[type=time],.components-popover input[type=url],.components-popover input[type=week],.components-popover select,.components-popover textarea,.edit-post-header .input-control,.edit-post-header input[type=checkbox],.edit-post-header input[type=color],.edit-post-header input[type=date],.edit-post-header input[type=datetime-local],.edit-post-header input[type=datetime],.edit-post-header input[type=email],.edit-post-header input[type=month],.edit-post-header input[type=number],.edit-post-header input[type=password],.edit-post-header input[type=radio],.edit-post-header input[type=search],.edit-post-header input[type=tel],.edit-post-header input[type=text],.edit-post-header input[type=time],.edit-post-header input[type=url],.edit-post-header input[type=week],.edit-post-header select,.edit-post-header textarea,.edit-post-sidebar .input-control,.edit-post-sidebar input[type=checkbox],.edit-post-sidebar input[type=color],.edit-post-sidebar input[type=date],.edit-post-sidebar input[type=datetime-local],.edit-post-sidebar input[type=datetime],.edit-post-sidebar input[type=email],.edit-post-sidebar input[type=month],.edit-post-sidebar input[type=number],.edit-post-sidebar input[type=password],.edit-post-sidebar input[type=radio],.edit-post-sidebar input[type=search],.edit-post-sidebar input[type=tel],.edit-post-sidebar input[type=text],.edit-post-sidebar input[type=time],.edit-post-sidebar input[type=url],.edit-post-sidebar input[type=week],.edit-post-sidebar select,.edit-post-sidebar textarea,.edit-post-text-editor .input-control,.edit-post-text-editor input[type=checkbox],.edit-post-text-editor input[type=color],.edit-post-text-editor input[type=date],.edit-post-text-editor input[type=datetime-local],.edit-post-text-editor input[type=datetime],.edit-post-text-editor input[type=email],.edit-post-text-editor input[type=month],.edit-post-text-editor input[type=number],.edit-post-text-editor input[type=password],.edit-post-text-editor input[type=radio],.edit-post-text-editor input[type=search],.edit-post-text-editor input[type=tel],.edit-post-text-editor input[type=text],.edit-post-text-editor input[type=time],.edit-post-text-editor input[type=url],.edit-post-text-editor input[type=week],.edit-post-text-editor select,.edit-post-text-editor textarea,.edit-post-visual-editor .input-control,.edit-post-visual-editor input[type=checkbox],.edit-post-visual-editor input[type=color],.edit-post-visual-editor input[type=date],.edit-post-visual-editor input[type=datetime-local],.edit-post-visual-editor input[type=datetime],.edit-post-visual-editor input[type=email],.edit-post-visual-editor input[type=month],.edit-post-visual-editor input[type=number],.edit-post-visual-editor input[type=password],.edit-post-visual-editor input[type=radio],.edit-post-visual-editor input[type=search],.edit-post-visual-editor input[type=tel],.edit-post-visual-editor input[type=text],.edit-post-visual-editor input[type=time],.edit-post-visual-editor input[type=url],.edit-post-visual-editor input[type=week],.edit-post-visual-editor select,.edit-post-visual-editor textarea,.editor-post-publish-panel .input-control,.editor-post-publish-panel input[type=checkbox],.editor-post-publish-panel input[type=color],.editor-post-publish-panel input[type=date],.editor-post-publish-panel input[type=datetime-local],.editor-post-publish-panel input[type=datetime],.editor-post-publish-panel input[type=email],.editor-post-publish-panel input[type=month],.editor-post-publish-panel input[type=number],.editor-post-publish-panel input[type=password],.editor-post-publish-panel input[type=radio],.editor-post-publish-panel input[type=search],.editor-post-publish-panel input[type=tel],.editor-post-publish-panel input[type=text],.editor-post-publish-panel input[type=time],.editor-post-publish-panel input[type=url],.editor-post-publish-panel input[type=week],.editor-post-publish-panel select,.editor-post-publish-panel textarea{font-size:13px;line-height:normal}}.components-modal__frame .input-control:focus,.components-modal__frame input[type=checkbox]:focus,.components-modal__frame input[type=color]:focus,.components-modal__frame input[type=date]:focus,.components-modal__frame input[type=datetime-local]:focus,.components-modal__frame input[type=datetime]:focus,.components-modal__frame input[type=email]:focus,.components-modal__frame input[type=month]:focus,.components-modal__frame input[type=number]:focus,.components-modal__frame input[type=password]:focus,.components-modal__frame input[type=radio]:focus,.components-modal__frame input[type=search]:focus,.components-modal__frame input[type=tel]:focus,.components-modal__frame input[type=text]:focus,.components-modal__frame input[type=time]:focus,.components-modal__frame input[type=url]:focus,.components-modal__frame input[type=week]:focus,.components-modal__frame select:focus,.components-modal__frame textarea:focus,.components-popover .input-control:focus,.components-popover input[type=checkbox]:focus,.components-popover input[type=color]:focus,.components-popover input[type=date]:focus,.components-popover input[type=datetime-local]:focus,.components-popover input[type=datetime]:focus,.components-popover input[type=email]:focus,.components-popover input[type=month]:focus,.components-popover input[type=number]:focus,.components-popover input[type=password]:focus,.components-popover input[type=radio]:focus,.components-popover input[type=search]:focus,.components-popover input[type=tel]:focus,.components-popover input[type=text]:focus,.components-popover input[type=time]:focus,.components-popover input[type=url]:focus,.components-popover input[type=week]:focus,.components-popover select:focus,.components-popover textarea:focus,.edit-post-header .input-control:focus,.edit-post-header input[type=checkbox]:focus,.edit-post-header input[type=color]:focus,.edit-post-header input[type=date]:focus,.edit-post-header input[type=datetime-local]:focus,.edit-post-header input[type=datetime]:focus,.edit-post-header input[type=email]:focus,.edit-post-header input[type=month]:focus,.edit-post-header input[type=number]:focus,.edit-post-header input[type=password]:focus,.edit-post-header input[type=radio]:focus,.edit-post-header input[type=search]:focus,.edit-post-header input[type=tel]:focus,.edit-post-header input[type=text]:focus,.edit-post-header input[type=time]:focus,.edit-post-header input[type=url]:focus,.edit-post-header input[type=week]:focus,.edit-post-header select:focus,.edit-post-header textarea:focus,.edit-post-sidebar .input-control:focus,.edit-post-sidebar input[type=checkbox]:focus,.edit-post-sidebar input[type=color]:focus,.edit-post-sidebar input[type=date]:focus,.edit-post-sidebar input[type=datetime-local]:focus,.edit-post-sidebar input[type=datetime]:focus,.edit-post-sidebar input[type=email]:focus,.edit-post-sidebar input[type=month]:focus,.edit-post-sidebar input[type=number]:focus,.edit-post-sidebar input[type=password]:focus,.edit-post-sidebar input[type=radio]:focus,.edit-post-sidebar input[type=search]:focus,.edit-post-sidebar input[type=tel]:focus,.edit-post-sidebar input[type=text]:focus,.edit-post-sidebar input[type=time]:focus,.edit-post-sidebar input[type=url]:focus,.edit-post-sidebar input[type=week]:focus,.edit-post-sidebar select:focus,.edit-post-sidebar textarea:focus,.edit-post-text-editor .input-control:focus,.edit-post-text-editor input[type=checkbox]:focus,.edit-post-text-editor input[type=color]:focus,.edit-post-text-editor input[type=date]:focus,.edit-post-text-editor input[type=datetime-local]:focus,.edit-post-text-editor input[type=datetime]:focus,.edit-post-text-editor input[type=email]:focus,.edit-post-text-editor input[type=month]:focus,.edit-post-text-editor input[type=number]:focus,.edit-post-text-editor input[type=password]:focus,.edit-post-text-editor input[type=radio]:focus,.edit-post-text-editor input[type=search]:focus,.edit-post-text-editor input[type=tel]:focus,.edit-post-text-editor input[type=text]:focus,.edit-post-text-editor input[type=time]:focus,.edit-post-text-editor input[type=url]:focus,.edit-post-text-editor input[type=week]:focus,.edit-post-text-editor select:focus,.edit-post-text-editor textarea:focus,.edit-post-visual-editor .input-control:focus,.edit-post-visual-editor input[type=checkbox]:focus,.edit-post-visual-editor input[type=color]:focus,.edit-post-visual-editor input[type=date]:focus,.edit-post-visual-editor input[type=datetime-local]:focus,.edit-post-visual-editor input[type=datetime]:focus,.edit-post-visual-editor input[type=email]:focus,.edit-post-visual-editor input[type=month]:focus,.edit-post-visual-editor input[type=number]:focus,.edit-post-visual-editor input[type=password]:focus,.edit-post-visual-editor input[type=radio]:focus,.edit-post-visual-editor input[type=search]:focus,.edit-post-visual-editor input[type=tel]:focus,.edit-post-visual-editor input[type=text]:focus,.edit-post-visual-editor input[type=time]:focus,.edit-post-visual-editor input[type=url]:focus,.edit-post-visual-editor input[type=week]:focus,.edit-post-visual-editor select:focus,.edit-post-visual-editor textarea:focus,.editor-post-publish-panel .input-control:focus,.editor-post-publish-panel input[type=checkbox]:focus,.editor-post-publish-panel input[type=color]:focus,.editor-post-publish-panel input[type=date]:focus,.editor-post-publish-panel input[type=datetime-local]:focus,.editor-post-publish-panel input[type=datetime]:focus,.editor-post-publish-panel input[type=email]:focus,.editor-post-publish-panel input[type=month]:focus,.editor-post-publish-panel input[type=number]:focus,.editor-post-publish-panel input[type=password]:focus,.editor-post-publish-panel input[type=radio]:focus,.editor-post-publish-panel input[type=search]:focus,.editor-post-publish-panel input[type=tel]:focus,.editor-post-publish-panel input[type=text]:focus,.editor-post-publish-panel input[type=time]:focus,.editor-post-publish-panel input[type=url]:focus,.editor-post-publish-panel input[type=week]:focus,.editor-post-publish-panel select:focus,.editor-post-publish-panel textarea:focus{color:#191e23;border-color:#007cba;box-shadow:0 0 0 1px #007cba;outline:2px solid transparent}.components-modal__frame input[type=number],.components-popover input[type=number],.edit-post-header input[type=number],.edit-post-sidebar input[type=number],.edit-post-text-editor input[type=number],.edit-post-visual-editor input[type=number],.editor-post-publish-panel input[type=number]{padding-left:4px;padding-right:4px}.components-modal__frame select,.components-popover select,.edit-post-header select,.edit-post-sidebar select,.edit-post-text-editor select,.edit-post-visual-editor select,.editor-post-publish-panel select{padding:2px;font-size:13px;color:#555d66}.components-modal__frame select:focus,.components-popover select:focus,.edit-post-header select:focus,.edit-post-sidebar select:focus,.edit-post-text-editor select:focus,.edit-post-visual-editor select:focus,.editor-post-publish-panel select:focus{border-color:#008dbe;outline:2px solid transparent;outline-offset:0}.components-modal__frame input[type=checkbox],.components-modal__frame input[type=radio],.components-popover input[type=checkbox],.components-popover input[type=radio],.edit-post-header input[type=checkbox],.edit-post-header input[type=radio],.edit-post-sidebar input[type=checkbox],.edit-post-sidebar input[type=radio],.edit-post-text-editor input[type=checkbox],.edit-post-text-editor input[type=radio],.edit-post-visual-editor input[type=checkbox],.edit-post-visual-editor input[type=radio],.editor-post-publish-panel input[type=checkbox],.editor-post-publish-panel input[type=radio]{border:2px solid #6c7781;margin-right:12px;transition:none}.components-modal__frame input[type=checkbox]:focus,.components-modal__frame input[type=radio]:focus,.components-popover input[type=checkbox]:focus,.components-popover input[type=radio]:focus,.edit-post-header input[type=checkbox]:focus,.edit-post-header input[type=radio]:focus,.edit-post-sidebar input[type=checkbox]:focus,.edit-post-sidebar input[type=radio]:focus,.edit-post-text-editor input[type=checkbox]:focus,.edit-post-text-editor input[type=radio]:focus,.edit-post-visual-editor input[type=checkbox]:focus,.edit-post-visual-editor input[type=radio]:focus,.editor-post-publish-panel input[type=checkbox]:focus,.editor-post-publish-panel input[type=radio]:focus{border-color:#6c7781;box-shadow:0 0 0 1px #6c7781}.components-modal__frame input[type=checkbox]:checked,.components-modal__frame input[type=radio]:checked,.components-popover input[type=checkbox]:checked,.components-popover input[type=radio]:checked,.edit-post-header input[type=checkbox]:checked,.edit-post-header input[type=radio]:checked,.edit-post-sidebar input[type=checkbox]:checked,.edit-post-sidebar input[type=radio]:checked,.edit-post-text-editor input[type=checkbox]:checked,.edit-post-text-editor input[type=radio]:checked,.edit-post-visual-editor input[type=checkbox]:checked,.edit-post-visual-editor input[type=radio]:checked,.editor-post-publish-panel input[type=checkbox]:checked,.editor-post-publish-panel input[type=radio]:checked{background:#11a0d2;border-color:#11a0d2}body.admin-color-sunrise .components-modal__frame input[type=checkbox]:checked,body.admin-color-sunrise .components-modal__frame input[type=radio]:checked,body.admin-color-sunrise .components-popover input[type=checkbox]:checked,body.admin-color-sunrise .components-popover input[type=radio]:checked,body.admin-color-sunrise .edit-post-header input[type=checkbox]:checked,body.admin-color-sunrise .edit-post-header input[type=radio]:checked,body.admin-color-sunrise .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-sunrise .edit-post-sidebar input[type=radio]:checked,body.admin-color-sunrise .edit-post-text-editor input[type=checkbox]:checked,body.admin-color-sunrise .edit-post-text-editor input[type=radio]:checked,body.admin-color-sunrise .edit-post-visual-editor input[type=checkbox]:checked,body.admin-color-sunrise .edit-post-visual-editor input[type=radio]:checked,body.admin-color-sunrise .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-sunrise .editor-post-publish-panel input[type=radio]:checked{background:#c8b03c;border-color:#c8b03c}body.admin-color-ocean .components-modal__frame input[type=checkbox]:checked,body.admin-color-ocean .components-modal__frame input[type=radio]:checked,body.admin-color-ocean .components-popover input[type=checkbox]:checked,body.admin-color-ocean .components-popover input[type=radio]:checked,body.admin-color-ocean .edit-post-header input[type=checkbox]:checked,body.admin-color-ocean .edit-post-header input[type=radio]:checked,body.admin-color-ocean .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-ocean .edit-post-sidebar input[type=radio]:checked,body.admin-color-ocean .edit-post-text-editor input[type=checkbox]:checked,body.admin-color-ocean .edit-post-text-editor input[type=radio]:checked,body.admin-color-ocean .edit-post-visual-editor input[type=checkbox]:checked,body.admin-color-ocean .edit-post-visual-editor input[type=radio]:checked,body.admin-color-ocean .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-ocean .editor-post-publish-panel input[type=radio]:checked{background:#a3b9a2;border-color:#a3b9a2}body.admin-color-midnight .components-modal__frame input[type=checkbox]:checked,body.admin-color-midnight .components-modal__frame input[type=radio]:checked,body.admin-color-midnight .components-popover input[type=checkbox]:checked,body.admin-color-midnight .components-popover input[type=radio]:checked,body.admin-color-midnight .edit-post-header input[type=checkbox]:checked,body.admin-color-midnight .edit-post-header input[type=radio]:checked,body.admin-color-midnight .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-midnight .edit-post-sidebar input[type=radio]:checked,body.admin-color-midnight .edit-post-text-editor input[type=checkbox]:checked,body.admin-color-midnight .edit-post-text-editor input[type=radio]:checked,body.admin-color-midnight .edit-post-visual-editor input[type=checkbox]:checked,body.admin-color-midnight .edit-post-visual-editor input[type=radio]:checked,body.admin-color-midnight .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-midnight .editor-post-publish-panel input[type=radio]:checked{background:#77a6b9;border-color:#77a6b9}body.admin-color-ectoplasm .components-modal__frame input[type=checkbox]:checked,body.admin-color-ectoplasm .components-modal__frame input[type=radio]:checked,body.admin-color-ectoplasm .components-popover input[type=checkbox]:checked,body.admin-color-ectoplasm .components-popover input[type=radio]:checked,body.admin-color-ectoplasm .edit-post-header input[type=checkbox]:checked,body.admin-color-ectoplasm .edit-post-header input[type=radio]:checked,body.admin-color-ectoplasm .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-ectoplasm .edit-post-sidebar input[type=radio]:checked,body.admin-color-ectoplasm .edit-post-text-editor input[type=checkbox]:checked,body.admin-color-ectoplasm .edit-post-text-editor input[type=radio]:checked,body.admin-color-ectoplasm .edit-post-visual-editor input[type=checkbox]:checked,body.admin-color-ectoplasm .edit-post-visual-editor input[type=radio]:checked,body.admin-color-ectoplasm .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-ectoplasm .editor-post-publish-panel input[type=radio]:checked{background:#a7b656;border-color:#a7b656}body.admin-color-coffee .components-modal__frame input[type=checkbox]:checked,body.admin-color-coffee .components-modal__frame input[type=radio]:checked,body.admin-color-coffee .components-popover input[type=checkbox]:checked,body.admin-color-coffee .components-popover input[type=radio]:checked,body.admin-color-coffee .edit-post-header input[type=checkbox]:checked,body.admin-color-coffee .edit-post-header input[type=radio]:checked,body.admin-color-coffee .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-coffee .edit-post-sidebar input[type=radio]:checked,body.admin-color-coffee .edit-post-text-editor input[type=checkbox]:checked,body.admin-color-coffee .edit-post-text-editor input[type=radio]:checked,body.admin-color-coffee .edit-post-visual-editor input[type=checkbox]:checked,body.admin-color-coffee .edit-post-visual-editor input[type=radio]:checked,body.admin-color-coffee .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-coffee .editor-post-publish-panel input[type=radio]:checked{background:#c2a68c;border-color:#c2a68c}body.admin-color-blue .components-modal__frame input[type=checkbox]:checked,body.admin-color-blue .components-modal__frame input[type=radio]:checked,body.admin-color-blue .components-popover input[type=checkbox]:checked,body.admin-color-blue .components-popover input[type=radio]:checked,body.admin-color-blue .edit-post-header input[type=checkbox]:checked,body.admin-color-blue .edit-post-header input[type=radio]:checked,body.admin-color-blue .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-blue .edit-post-sidebar input[type=radio]:checked,body.admin-color-blue .edit-post-text-editor input[type=checkbox]:checked,body.admin-color-blue .edit-post-text-editor input[type=radio]:checked,body.admin-color-blue .edit-post-visual-editor input[type=checkbox]:checked,body.admin-color-blue .edit-post-visual-editor input[type=radio]:checked,body.admin-color-blue .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-blue .editor-post-publish-panel input[type=radio]:checked{background:#82b4cb;border-color:#82b4cb}body.admin-color-light .components-modal__frame input[type=checkbox]:checked,body.admin-color-light .components-modal__frame input[type=radio]:checked,body.admin-color-light .components-popover input[type=checkbox]:checked,body.admin-color-light .components-popover input[type=radio]:checked,body.admin-color-light .edit-post-header input[type=checkbox]:checked,body.admin-color-light .edit-post-header input[type=radio]:checked,body.admin-color-light .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-light .edit-post-sidebar input[type=radio]:checked,body.admin-color-light .edit-post-text-editor input[type=checkbox]:checked,body.admin-color-light .edit-post-text-editor input[type=radio]:checked,body.admin-color-light .edit-post-visual-editor input[type=checkbox]:checked,body.admin-color-light .edit-post-visual-editor input[type=radio]:checked,body.admin-color-light .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-light .editor-post-publish-panel input[type=radio]:checked{background:#11a0d2;border-color:#11a0d2}.components-modal__frame input[type=checkbox]:checked:focus,.components-modal__frame input[type=radio]:checked:focus,.components-popover input[type=checkbox]:checked:focus,.components-popover input[type=radio]:checked:focus,.edit-post-header input[type=checkbox]:checked:focus,.edit-post-header input[type=radio]:checked:focus,.edit-post-sidebar input[type=checkbox]:checked:focus,.edit-post-sidebar input[type=radio]:checked:focus,.edit-post-text-editor input[type=checkbox]:checked:focus,.edit-post-text-editor input[type=radio]:checked:focus,.edit-post-visual-editor input[type=checkbox]:checked:focus,.edit-post-visual-editor input[type=radio]:checked:focus,.editor-post-publish-panel input[type=checkbox]:checked:focus,.editor-post-publish-panel input[type=radio]:checked:focus{box-shadow:0 0 0 2px #555d66}.components-modal__frame input[type=checkbox],.components-popover input[type=checkbox],.edit-post-header input[type=checkbox],.edit-post-sidebar input[type=checkbox],.edit-post-text-editor input[type=checkbox],.edit-post-visual-editor input[type=checkbox],.editor-post-publish-panel input[type=checkbox]{border-radius:2px}.components-modal__frame input[type=checkbox]:checked:before,.components-modal__frame input[type=checkbox][aria-checked=mixed]:before,.components-popover input[type=checkbox]:checked:before,.components-popover input[type=checkbox][aria-checked=mixed]:before,.edit-post-header input[type=checkbox]:checked:before,.edit-post-header input[type=checkbox][aria-checked=mixed]:before,.edit-post-sidebar input[type=checkbox]:checked:before,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:before,.edit-post-text-editor input[type=checkbox]:checked:before,.edit-post-text-editor input[type=checkbox][aria-checked=mixed]:before,.edit-post-visual-editor input[type=checkbox]:checked:before,.edit-post-visual-editor input[type=checkbox][aria-checked=mixed]:before,.editor-post-publish-panel input[type=checkbox]:checked:before,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:before{margin:-3px -5px;color:#fff}@media (min-width:782px){.components-modal__frame input[type=checkbox]:checked:before,.components-modal__frame input[type=checkbox][aria-checked=mixed]:before,.components-popover input[type=checkbox]:checked:before,.components-popover input[type=checkbox][aria-checked=mixed]:before,.edit-post-header input[type=checkbox]:checked:before,.edit-post-header input[type=checkbox][aria-checked=mixed]:before,.edit-post-sidebar input[type=checkbox]:checked:before,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:before,.edit-post-text-editor input[type=checkbox]:checked:before,.edit-post-text-editor input[type=checkbox][aria-checked=mixed]:before,.edit-post-visual-editor input[type=checkbox]:checked:before,.edit-post-visual-editor input[type=checkbox][aria-checked=mixed]:before,.editor-post-publish-panel input[type=checkbox]:checked:before,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:before{margin:-4px 0 0 -5px}}.components-modal__frame input[type=checkbox][aria-checked=mixed],.components-popover input[type=checkbox][aria-checked=mixed],.edit-post-header input[type=checkbox][aria-checked=mixed],.edit-post-sidebar input[type=checkbox][aria-checked=mixed],.edit-post-text-editor input[type=checkbox][aria-checked=mixed],.edit-post-visual-editor input[type=checkbox][aria-checked=mixed],.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#11a0d2;border-color:#11a0d2}body.admin-color-sunrise .components-modal__frame input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .edit-post-header input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .edit-post-text-editor input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .edit-post-visual-editor input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#c8b03c;border-color:#c8b03c}body.admin-color-ocean .components-modal__frame input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .edit-post-header input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .edit-post-text-editor input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .edit-post-visual-editor input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#a3b9a2;border-color:#a3b9a2}body.admin-color-midnight .components-modal__frame input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .edit-post-header input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .edit-post-text-editor input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .edit-post-visual-editor input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#77a6b9;border-color:#77a6b9}body.admin-color-ectoplasm .components-modal__frame input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .edit-post-header input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .edit-post-text-editor input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .edit-post-visual-editor input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#a7b656;border-color:#a7b656}body.admin-color-coffee .components-modal__frame input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .edit-post-header input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .edit-post-text-editor input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .edit-post-visual-editor input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#c2a68c;border-color:#c2a68c}body.admin-color-blue .components-modal__frame input[type=checkbox][aria-checked=mixed],body.admin-color-blue .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-blue .edit-post-header input[type=checkbox][aria-checked=mixed],body.admin-color-blue .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-blue .edit-post-text-editor input[type=checkbox][aria-checked=mixed],body.admin-color-blue .edit-post-visual-editor input[type=checkbox][aria-checked=mixed],body.admin-color-blue .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#82b4cb;border-color:#82b4cb}body.admin-color-light .components-modal__frame input[type=checkbox][aria-checked=mixed],body.admin-color-light .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-light .edit-post-header input[type=checkbox][aria-checked=mixed],body.admin-color-light .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-light .edit-post-text-editor input[type=checkbox][aria-checked=mixed],body.admin-color-light .edit-post-visual-editor input[type=checkbox][aria-checked=mixed],body.admin-color-light .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#11a0d2;border-color:#11a0d2}.components-modal__frame input[type=checkbox][aria-checked=mixed]:before,.components-popover input[type=checkbox][aria-checked=mixed]:before,.edit-post-header input[type=checkbox][aria-checked=mixed]:before,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:before,.edit-post-text-editor input[type=checkbox][aria-checked=mixed]:before,.edit-post-visual-editor input[type=checkbox][aria-checked=mixed]:before,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:before{content:"\f460";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-modal__frame input[type=checkbox][aria-checked=mixed]:before,.components-popover input[type=checkbox][aria-checked=mixed]:before,.edit-post-header input[type=checkbox][aria-checked=mixed]:before,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:before,.edit-post-text-editor input[type=checkbox][aria-checked=mixed]:before,.edit-post-visual-editor input[type=checkbox][aria-checked=mixed]:before,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:before{float:none;font-size:21px}}.components-modal__frame input[type=checkbox][aria-checked=mixed]:focus,.components-popover input[type=checkbox][aria-checked=mixed]:focus,.edit-post-header input[type=checkbox][aria-checked=mixed]:focus,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:focus,.edit-post-text-editor input[type=checkbox][aria-checked=mixed]:focus,.edit-post-visual-editor input[type=checkbox][aria-checked=mixed]:focus,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:focus{box-shadow:0 0 0 2px #555d66}.components-modal__frame input[type=radio],.components-popover input[type=radio],.edit-post-header input[type=radio],.edit-post-sidebar input[type=radio],.edit-post-text-editor input[type=radio],.edit-post-visual-editor input[type=radio],.editor-post-publish-panel input[type=radio]{border-radius:50%}.components-modal__frame input[type=radio]:checked:before,.components-popover input[type=radio]:checked:before,.edit-post-header input[type=radio]:checked:before,.edit-post-sidebar input[type=radio]:checked:before,.edit-post-text-editor input[type=radio]:checked:before,.edit-post-visual-editor input[type=radio]:checked:before,.editor-post-publish-panel input[type=radio]:checked:before{width:6px;height:6px;margin:6px 0 0 6px;background-color:#fff}@media (min-width:782px){.components-modal__frame input[type=radio]:checked:before,.components-popover input[type=radio]:checked:before,.edit-post-header input[type=radio]:checked:before,.edit-post-sidebar input[type=radio]:checked:before,.edit-post-text-editor input[type=radio]:checked:before,.edit-post-visual-editor input[type=radio]:checked:before,.editor-post-publish-panel input[type=radio]:checked:before{margin:3px 0 0 3px}}.components-modal__frame input::-webkit-input-placeholder,.components-modal__frame textarea::-webkit-input-placeholder,.components-popover input::-webkit-input-placeholder,.components-popover textarea::-webkit-input-placeholder,.edit-post-header input::-webkit-input-placeholder,.edit-post-header textarea::-webkit-input-placeholder,.edit-post-sidebar input::-webkit-input-placeholder,.edit-post-sidebar textarea::-webkit-input-placeholder,.edit-post-text-editor input::-webkit-input-placeholder,.edit-post-text-editor textarea::-webkit-input-placeholder,.edit-post-visual-editor input::-webkit-input-placeholder,.edit-post-visual-editor textarea::-webkit-input-placeholder,.editor-post-publish-panel input::-webkit-input-placeholder,.editor-post-publish-panel textarea::-webkit-input-placeholder{color:rgba(14,28,46,.62)}.components-modal__frame input::-moz-placeholder,.components-modal__frame textarea::-moz-placeholder,.components-popover input::-moz-placeholder,.components-popover textarea::-moz-placeholder,.edit-post-header input::-moz-placeholder,.edit-post-header textarea::-moz-placeholder,.edit-post-sidebar input::-moz-placeholder,.edit-post-sidebar textarea::-moz-placeholder,.edit-post-text-editor input::-moz-placeholder,.edit-post-text-editor textarea::-moz-placeholder,.edit-post-visual-editor input::-moz-placeholder,.edit-post-visual-editor textarea::-moz-placeholder,.editor-post-publish-panel input::-moz-placeholder,.editor-post-publish-panel textarea::-moz-placeholder{opacity:1;color:rgba(14,28,46,.62)}.components-modal__frame input:-ms-input-placeholder,.components-modal__frame textarea:-ms-input-placeholder,.components-popover input:-ms-input-placeholder,.components-popover textarea:-ms-input-placeholder,.edit-post-header input:-ms-input-placeholder,.edit-post-header textarea:-ms-input-placeholder,.edit-post-sidebar input:-ms-input-placeholder,.edit-post-sidebar textarea:-ms-input-placeholder,.edit-post-text-editor input:-ms-input-placeholder,.edit-post-text-editor textarea:-ms-input-placeholder,.edit-post-visual-editor input:-ms-input-placeholder,.edit-post-visual-editor textarea:-ms-input-placeholder,.editor-post-publish-panel input:-ms-input-placeholder,.editor-post-publish-panel textarea:-ms-input-placeholder{color:rgba(14,28,46,.62)}.is-dark-theme .components-modal__frame input::-webkit-input-placeholder,.is-dark-theme .components-modal__frame textarea::-webkit-input-placeholder,.is-dark-theme .components-popover input::-webkit-input-placeholder,.is-dark-theme .components-popover textarea::-webkit-input-placeholder,.is-dark-theme .edit-post-header input::-webkit-input-placeholder,.is-dark-theme .edit-post-header textarea::-webkit-input-placeholder,.is-dark-theme .edit-post-sidebar input::-webkit-input-placeholder,.is-dark-theme .edit-post-sidebar textarea::-webkit-input-placeholder,.is-dark-theme .edit-post-text-editor input::-webkit-input-placeholder,.is-dark-theme .edit-post-text-editor textarea::-webkit-input-placeholder,.is-dark-theme .edit-post-visual-editor input::-webkit-input-placeholder,.is-dark-theme .edit-post-visual-editor textarea::-webkit-input-placeholder,.is-dark-theme .editor-post-publish-panel input::-webkit-input-placeholder,.is-dark-theme .editor-post-publish-panel textarea::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .components-modal__frame input::-moz-placeholder,.is-dark-theme .components-modal__frame textarea::-moz-placeholder,.is-dark-theme .components-popover input::-moz-placeholder,.is-dark-theme .components-popover textarea::-moz-placeholder,.is-dark-theme .edit-post-header input::-moz-placeholder,.is-dark-theme .edit-post-header textarea::-moz-placeholder,.is-dark-theme .edit-post-sidebar input::-moz-placeholder,.is-dark-theme .edit-post-sidebar textarea::-moz-placeholder,.is-dark-theme .edit-post-text-editor input::-moz-placeholder,.is-dark-theme .edit-post-text-editor textarea::-moz-placeholder,.is-dark-theme .edit-post-visual-editor input::-moz-placeholder,.is-dark-theme .edit-post-visual-editor textarea::-moz-placeholder,.is-dark-theme .editor-post-publish-panel input::-moz-placeholder,.is-dark-theme .editor-post-publish-panel textarea::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .components-modal__frame input:-ms-input-placeholder,.is-dark-theme .components-modal__frame textarea:-ms-input-placeholder,.is-dark-theme .components-popover input:-ms-input-placeholder,.is-dark-theme .components-popover textarea:-ms-input-placeholder,.is-dark-theme .edit-post-header input:-ms-input-placeholder,.is-dark-theme .edit-post-header textarea:-ms-input-placeholder,.is-dark-theme .edit-post-sidebar input:-ms-input-placeholder,.is-dark-theme .edit-post-sidebar textarea:-ms-input-placeholder,.is-dark-theme .edit-post-text-editor input:-ms-input-placeholder,.is-dark-theme .edit-post-text-editor textarea:-ms-input-placeholder,.is-dark-theme .edit-post-visual-editor input:-ms-input-placeholder,.is-dark-theme .edit-post-visual-editor textarea:-ms-input-placeholder,.is-dark-theme .editor-post-publish-panel input:-ms-input-placeholder,.is-dark-theme .editor-post-publish-panel textarea:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}@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%}.block-editor__container .components-navigate-regions{height:100%}.wp-block{max-width:580px}.wp-block[data-align=wide]{max-width:1100px}.wp-block[data-align=full]{max-width:none} \ No newline at end of file +html{position:fixed;width:100%}@media (min-width:782px){html{position:static;width:auto}}.edit-post-editor-regions{display:flex;flex-direction:column;height:auto;max-height:100%;position:fixed;top:46px;right:0;bottom:0}@media (min-width:782px){.edit-post-editor-regions{top:32px}.is-fullscreen-mode .edit-post-editor-regions{top:0}}.edit-post-editor-regions{left:0}@media (min-width:782px){.edit-post-editor-regions{left:160px}}@media (min-width:782px){.auto-fold .edit-post-editor-regions{left:36px}}@media (min-width:960px){.auto-fold .edit-post-editor-regions{left:160px}}.folded .edit-post-editor-regions{left:0}@media (min-width:782px){.folded .edit-post-editor-regions{left:36px}}@media (max-width:782px){.auto-fold .wp-responsive-open .edit-post-editor-regions{left:190px}}@media (max-width:600px){.auto-fold .wp-responsive-open .edit-post-editor-regions{margin-left:-18px}}body.is-fullscreen-mode .edit-post-editor-regions{left:0!important}.edit-post-editor-regions__body{flex-grow:1;display:flex;overflow:auto;overscroll-behavior-y:none}.edit-post-editor-regions__content{flex-grow:1;display:flex;flex-direction:column}@media (min-width:782px){.edit-post-editor-regions__content{overflow:auto}}.edit-post-editor-regions__sidebar{width:auto;flex-shrink:0;position:absolute;z-index:100000;top:0;right:0;bottom:0;left:0;background:#fff}.edit-post-editor-regions__sidebar:empty{display:none}@media (min-width:782px){.edit-post-editor-regions__sidebar{overflow:auto;border-left:1px solid #e2e4e7;position:relative!important;z-index:90}}.edit-post-editor-regions__header{flex-shrink:0;height:auto;border-bottom:1px solid #e2e4e7;z-index:30;position:-webkit-sticky;position:sticky;top:0}@media (min-width:600px){.edit-post-editor-regions__header{position:static;top:0}}.edit-post-editor-regions__footer{height:auto;flex-shrink:0;overflow:auto;border-top:1px solid #e2e4e7;display:none}@media (min-width:782px){.edit-post-editor-regions__footer{display:block}}.edit-post-editor-regions__publish{z-index:100000;position:fixed!important;top:-9999em;bottom:auto;left:auto;right:0;width:280px}.edit-post-editor-regions__publish:focus{top:auto;bottom:0}@media (min-width:782px){body.js.is-fullscreen-mode{margin-top:-46px;height:calc(100% + 46px)}}@media (min-width:782px) and (min-width:782px){body.js.is-fullscreen-mode{margin-top:-32px;height:calc(100% + 32px)}}@media (min-width:782px){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}body.js.is-fullscreen-mode .edit-post-header{transform:translateY(-100%);animation:edit-post-fullscreen-mode__slide-in-animation .1s forwards}}@media (min-width:782px) and (prefers-reduced-motion:reduce){body.js.is-fullscreen-mode .edit-post-header{animation-duration:1ms}}@keyframes edit-post-fullscreen-mode__slide-in-animation{to{transform:translateY(0)}}.edit-post-header{height:56px;padding:4px 2px;background:#fff;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;max-width:100vw}@media (min-width:280px){.edit-post-header{flex-wrap:nowrap}}@media (min-width:600px){.edit-post-header{padding:8px}}.edit-post-header>.edit-post-header__settings{order:1}@supports ((position:-webkit-sticky) or (position:sticky)){.edit-post-header>.edit-post-header__settings{order:0}}.edit-post-header__toolbar{display:flex}.edit-post-header__settings{display:inline-flex;align-items:center;flex-wrap:wrap}.edit-post-header .components-button.is-pressed{color:#fff;background:#555d66}.edit-post-header .components-button.is-pressed:focus,.edit-post-header .components-button.is-pressed:hover{box-shadow:0 0 0 1px #555d66,inset 0 0 0 1px #fff!important;color:#fff!important;background:#555d66!important}.edit-post-header .components-button.editor-post-preview,.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle,.edit-post-header .components-button.editor-post-save-draft,.edit-post-header .components-button.editor-post-switch-to-draft{margin:2px;font-size:13px}.edit-post-header .components-button.editor-post-save-draft,.edit-post-header .components-button.editor-post-switch-to-draft{padding:0 5px}@media (min-width:600px){.edit-post-header .components-button.editor-post-save-draft,.edit-post-header .components-button.editor-post-switch-to-draft{padding:0 12px}}.edit-post-header .components-button.editor-post-preview,.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle{padding-left:5px;padding-right:5px}@media (min-width:600px){.edit-post-header .components-button.editor-post-preview,.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle{padding-left:12px;padding-right:12px}}@media (min-width:782px){.edit-post-header .components-button.editor-post-preview{margin:0 3px 0 12px}.edit-post-header .components-button.editor-post-publish-button,.edit-post-header .components-button.editor-post-publish-panel__toggle{margin:0 12px 0 3px}}.edit-post-fullscreen-mode-close__toolbar{display:none}@media (min-width:782px){.edit-post-fullscreen-mode-close__toolbar{display:flex;border-top:0;border-bottom:0;border-left:0;margin:-9px 10px -8px -10px;padding:9px 10px}}.edit-post-header-toolbar{display:inline-flex;align-items:center}.edit-post-header-toolbar>.components-button{display:none}@media (min-width:600px){.edit-post-header-toolbar>.components-button{display:inline-flex}}.edit-post-header-toolbar .block-editor-block-navigation,.edit-post-header-toolbar .table-of-contents{display:none}@media (min-width:600px){.edit-post-header-toolbar .block-editor-block-navigation,.edit-post-header-toolbar .table-of-contents{display:flex}}.edit-post-header-toolbar__block-toolbar{position:absolute;top:57px;left:0;right:0;background:#fff;min-height:37px;border-bottom:1px solid #e2e4e7}.edit-post-header-toolbar__block-toolbar:empty{display:none}.edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar .components-toolbar{border-top:none;border-bottom:none}.is-sidebar-opened .edit-post-header-toolbar__block-toolbar{display:none}@media (min-width:782px){.is-sidebar-opened .edit-post-header-toolbar__block-toolbar{display:block;right:280px}}@media (min-width:1080px){.edit-post-header-toolbar__block-toolbar{padding-left:8px;position:static;left:auto;right:auto;background:none;border-bottom:none;min-height:auto}.is-sidebar-opened .edit-post-header-toolbar__block-toolbar{right:auto}.edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar{margin:-9px 0}.edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar .components-toolbar{padding:10px 4px 9px}}.edit-post-more-menu{margin-left:-4px}.edit-post-more-menu .components-button{width:auto;padding:8px 2px}@media (min-width:600px){.edit-post-more-menu{margin-left:4px}.edit-post-more-menu .components-button{padding:8px 4px}}.edit-post-more-menu .components-button svg{transform:rotate(90deg)}.edit-post-more-menu__content .components-popover__content{min-width:260px}@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-pinned-plugins{display:none}@media (min-width:600px){.edit-post-pinned-plugins{display:flex}}.edit-post-pinned-plugins .components-button{margin-left:4px}.edit-post-pinned-plugins .components-button.is-pressed{margin-left:5px}.edit-post-pinned-plugins .components-button svg{max-width:24px;max-height:24px}.edit-post-pinned-plugins .components-button:not(.is-pressed) svg,.edit-post-pinned-plugins .components-button:not(.is-pressed) svg *{stroke:#555d66;fill:#555d66;stroke-width:0}.edit-post-pinned-plugins .components-button.is-pressed:hover svg,.edit-post-pinned-plugins .components-button.is-pressed:hover svg *,.edit-post-pinned-plugins .components-button.is-pressed svg,.edit-post-pinned-plugins .components-button.is-pressed svg *{stroke:#fff!important;fill:#fff!important;stroke-width:0}.edit-post-pinned-plugins .components-button:hover svg,.edit-post-pinned-plugins .components-button:hover svg *{stroke:#191e23!important;fill:#191e23!important;stroke-width: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 #e2e4e7;margin-bottom:0}.edit-post-keyboard-shortcut-help-modal__shortcut:last-child{border-bottom:1px solid #e2e4e7}.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 #e2e4e7;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:20px;padding-left:16px;padding-right:16px;left:0}@media (min-width:782px){.edit-post-layout .components-editor-notices__snackbar{left:160px}}@media (min-width:782px){.auto-fold .edit-post-layout .components-editor-notices__snackbar{left:36px}}@media (min-width:960px){.auto-fold .edit-post-layout .components-editor-notices__snackbar{left:160px}}.folded .edit-post-layout .components-editor-notices__snackbar{left:0}@media (min-width:782px){.folded .edit-post-layout .components-editor-notices__snackbar{left:36px}}@media (max-width:782px){.auto-fold .wp-responsive-open .edit-post-layout .components-editor-notices__snackbar{left:190px}}@media (max-width:600px){.auto-fold .wp-responsive-open .edit-post-layout .components-editor-notices__snackbar{margin-left:-18px}}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:280px;border-left:1px solid #e2e4e7;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}}@media (min-width:782px){body.is-fullscreen-mode .edit-post-layout .editor-post-publish-panel{top:0}.is-focusing-regions .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-toggle-publish-panel{background-color:#fff;padding:10px 10px 10px 0}.edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{width:auto;height:auto;display:block;font-size:14px;font-weight:600;margin:0 0 0 auto;padding:15px 23px 14px;line-height:normal;text-decoration:none;outline:none;background:#f1f1f1;color:#11a0d2}body.admin-color-sunrise .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#c8b03c}body.admin-color-ocean .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#a89d8a}body.admin-color-midnight .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#77a6b9}body.admin-color-ectoplasm .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#c77430}body.admin-color-coffee .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#9fa47b}body.admin-color-blue .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#d9ab59}body.admin-color-light .edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button{color:#c75726}.edit-post-toggle-publish-panel .edit-post-toggle-publish-panel__button:focus{position:fixed;top:auto;right:10px;bottom:10px;left:auto}.edit-post-layout__footer{display:none;z-index:30}@media (min-width:782px){.edit-post-layout__footer{display:flex;background:#fff;height:24px;padding:0 8px;align-items:center;font-size:13px}}@media (min-width:600px){.edit-post-manage-blocks-modal{height:calc(100% - 112px)}}.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:12px;border-radius:4px}.edit-post-manage-blocks-modal__disabled-blocks-count{border-top:1px solid #e2e4e7;margin-left:-24px;margin-right:-24px;padding:.6rem 24px;background-color:#f3f4f5}.edit-post-manage-blocks-modal__category{margin:0 0 2rem}.edit-post-manage-blocks-modal__category-title{position:-webkit-sticky;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 #e2e4e7}.edit-post-manage-blocks-modal__checklist-item:last-child{border-bottom:1px solid #e2e4e7}.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:#555d66}.edit-post-manage-blocks-modal__results{height:100%;overflow:auto;margin-left:-24px;margin-right:-24px;padding-left:24px;padding-right:24px;border-top:1px solid #e2e4e7}.edit-post-meta-boxes-area{position:relative}.edit-post-meta-boxes-area .inside,.edit-post-meta-boxes-area__container{box-sizing:content-box}.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{border-bottom:1px solid #e2e4e7;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 #e2e4e7;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 #6c7781}.edit-post-meta-boxes-area .metabox-location-side .postbox input[type=checkbox]:checked{background:#fff;border-color:#6c7781}.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-sidebar{background:#fff;color:#555d66;overflow:visible}@media (min-width:600px){.edit-post-sidebar{z-index:auto;height:100%;overflow:visible;-webkit-overflow-scrolling:touch}}@media (min-width:782px){.edit-post-sidebar{width:280px}}.edit-post-sidebar>.components-panel{border-left:none;border-right:none;overflow:auto;-webkit-overflow-scrolling:touch;height:auto;max-height:calc(100vh - 96px);margin-top:-1px;margin-bottom:-1px;position:relative}@media (min-width:600px){.edit-post-sidebar>.components-panel{overflow:visible;height:auto;max-height:none}}.edit-post-sidebar>.components-panel .components-panel__header{position:fixed;z-index:1;top:0;left:0;right:0;height:50px}@media (min-width:600px){.edit-post-sidebar>.components-panel .components-panel__header{position:inherit;top:auto;left:auto;right:auto}}.edit-post-sidebar p{margin-top:0}.edit-post-sidebar h2,.edit-post-sidebar h3{font-size:13px;color:#555d66;margin-bottom:1.5em}.edit-post-sidebar hr{border-top:none;border-bottom:1px solid #e2e4e7;margin:1.5em 0}.edit-post-sidebar div.components-toolbar{box-shadow:none;margin-bottom:1.5em}.edit-post-sidebar div.components-toolbar:last-child{margin-bottom:0}.edit-post-sidebar p+div.components-toolbar{margin-top:-1em}.edit-post-sidebar .block-editor-skip-to-selected-block:focus{top:auto;right:10px;bottom:10px;left:auto}.components-panel__header.edit-post-sidebar__header{background:#fff;padding-right:8px}.components-panel__header.edit-post-sidebar__header .edit-post-sidebar__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}@media (min-width:782px){.components-panel__header.edit-post-sidebar__header{display:none}}.components-panel__header.edit-post-sidebar__panel-tabs{margin-top:0}.components-panel__header.edit-post-sidebar__panel-tabs .components-button.has-icon{display:none;margin-left:auto}@media (min-width:782px){.components-panel__header.edit-post-sidebar__panel-tabs .components-button.has-icon{display:flex}}.edit-post-sidebar__panel-tab{background:transparent;border:none;border-radius:0;box-shadow:none;cursor:pointer;height:50px;padding:3px 15px;margin-left:0;font-weight:400;outline-offset:-1px;transition:box-shadow .1s linear}@media (prefers-reduced-motion:reduce){.edit-post-sidebar__panel-tab{transition-duration:0s}}.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #007cba;font-weight:600;position:relative}body.admin-color-sunrise .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #837425}body.admin-color-ocean .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #5e7d5e}body.admin-color-midnight .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #497b8d}body.admin-color-ectoplasm .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #523f6d}body.admin-color-coffee .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #59524c}body.admin-color-blue .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #417e9b}body.admin-color-light .edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #007cba}.edit-post-sidebar__panel-tab.is-active:before{content:"";position:absolute;top:0;bottom:1px;right:0;left:0;border-bottom:3px solid transparent}.edit-post-sidebar__panel-tab:focus:not(:disabled){color:#191e23;outline-offset:-1px;outline:1px dotted #555d66;box-shadow:none}.components-panel__body.is-opened.edit-post-last-revision__panel{padding:0}.editor-post-last-revision__title{padding:13px 16px}.editor-post-author__select{margin:-5px 0;width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.editor-post-author__select{width:auto}}.edit-post-post-link__link-post-name{font-weight:600}.edit-post-post-link__preview-label{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}.components-button.edit-post-post-schedule__toggle{text-align:right}.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%}.edit-post-post-visibility__dialog .components-popover__content{padding:10px}@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:#7e8993;padding-left:20px;font-style:italic;margin:4px 0 0;line-height:1.4}.components-panel__header.edit-post-sidebar__panel-tabs{justify-content:flex-start;padding-left:0;padding-right:4px;border-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-button.edit-post-sidebar__panel-tab{background:transparent;border:none;box-shadow:none;cursor:pointer;display:inline-block;padding:3px 15px;margin-left:0;font-weight:400;color:#191e23;outline-offset:-1px;transition:box-shadow .1s linear}@media (prefers-reduced-motion:reduce){.components-button.edit-post-sidebar__panel-tab{transition-duration:0s}}.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 -3px #007cba;font-weight:600;position:relative}body.admin-color-sunrise .components-button.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #837425}body.admin-color-ocean .components-button.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #5e7d5e}body.admin-color-midnight .components-button.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #497b8d}body.admin-color-ectoplasm .components-button.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #523f6d}body.admin-color-coffee .components-button.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #59524c}body.admin-color-blue .components-button.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #417e9b}body.admin-color-light .components-button.edit-post-sidebar__panel-tab.is-active{box-shadow:inset 0 -3px #007cba}.components-button.edit-post-sidebar__panel-tab.is-active:before{content:"";position:absolute;top:0;bottom:1px;right:0;left:0;border-bottom:3px solid transparent}.components-button.edit-post-sidebar__panel-tab:focus{background-color:transparent;color:#191e23;outline-offset:-1px;outline:1px dotted #555d66}.components-panel__header.edit-post-sidebar-header__small{background:#fff;padding-right:4px}.components-panel__header.edit-post-sidebar-header__small .edit-post-sidebar__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}@media (min-width:782px){.components-panel__header.edit-post-sidebar-header__small{display:none}}.components-panel__header.edit-post-sidebar-header{padding-right:4px;background:#f3f4f5}.components-panel__header.edit-post-sidebar-header .components-button.has-icon{display:none;margin-left:auto}.components-panel__header.edit-post-sidebar-header .components-button.has-icon~.components-button{margin-left:0}@media (min-width:782px){.components-panel__header.edit-post-sidebar-header .components-button.has-icon{display:flex}}.edit-post-text-editor{position:relative;width:100%;padding-top:44px}.edit-post-text-editor .editor-post-title__block textarea{border:1px solid #e2e4e7;margin-bottom:4px;padding:14px}.edit-post-text-editor .editor-post-title__block textarea:focus{border:1px solid #e2e4e7}.edit-post-text-editor .editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar).is-selected .editor-post-title__input,.edit-post-text-editor .editor-post-title__block:not(.is-focus-mode):not(.has-fixed-toolbar):not(.is-selected) .editor-post-title__input:hover{box-shadow:none;border-left-width:1px}.edit-post-text-editor .editor-post-title__block.is-selected textarea,.edit-post-text-editor .editor-post-title__block textarea:hover{box-shadow:0 0 0 1px #e2e4e7}.edit-post-text-editor .editor-post-permalink{margin-top:-6px;box-shadow:none;border:none;outline:1px solid #b5bcc2}@media (min-width:600px){.edit-post-text-editor .editor-post-title,.edit-post-text-editor .editor-post-title__block{padding:0}}.edit-post-text-editor__toolbar{position:absolute;top:8px;left:0;right:0;height:36px;line-height:36px;padding:0 8px 0 16px;display:flex}.edit-post-text-editor__toolbar h2{margin:0 auto 0 0;font-size:13px;color:#555d66}.edit-post-text-editor__toolbar .components-button svg{order:1}.edit-post-text-editor__body{max-width:calc(100% - 32px);margin-left:16px;margin-right:16px;padding-top:40px}@media (min-width:600px){.edit-post-text-editor__body{max-width:580px;margin-left:auto;margin-right:auto}}.edit-post-visual-editor{position:relative;padding-top:50px;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}@supports ((position:-webkit-sticky) or (position:sticky)){.edit-post-visual-editor{flex-basis:100%}}.edit-post-visual-editor>.block-editor__typewriter,.edit-post-visual-editor>.block-editor__typewriter>.block-editor-writing-flow,.edit-post-visual-editor>.block-editor__typewriter>.block-editor-writing-flow>.block-editor-writing-flow__click-redirect{height:100%}.edit-post-visual-editor .block-editor-writing-flow__click-redirect{min-height:50vh;width:100%}.has-metaboxes .edit-post-visual-editor .block-editor-writing-flow__click-redirect{height:0}.edit-post-visual-editor .block-editor-block-list__block{margin-left:auto;margin-right:auto}@media (min-width:600px){.edit-post-visual-editor .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar,.edit-post-visual-editor .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar{height:0;width:calc(100% - 90px);margin-left:0;margin-right:0;text-align:center;float:left}}@media (min-width:600px) and (min-width:1080px){.edit-post-visual-editor .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar,.edit-post-visual-editor .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar{width:calc(100% - 26px)}}@media (min-width:600px){.edit-post-visual-editor .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar .block-editor-block-toolbar,.edit-post-visual-editor .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit>.block-editor-block-contextual-toolbar .block-editor-block-toolbar{max-width:580px;width:100%;position:relative}}@media (min-width:600px){.editor-post-title{padding-left:58px;padding-right:58px}}.edit-post-visual-editor .editor-post-title__block{margin-left:auto;margin-right:auto;margin-bottom:32px}.edit-post-visual-editor .editor-post-title__block>div{margin-left:0;margin-right:0}@media (min-width:600px){.edit-post-visual-editor .editor-post-title__block>div{margin-left:-16px;margin-right:-16px}}.edit-post-visual-editor .block-editor-block-list__layout>.block-editor-block-list__block[data-align=left]:first-child,.edit-post-visual-editor .block-editor-block-list__layout>.block-editor-block-list__block[data-align=right]:first-child{margin-top:34px}.edit-post-options-modal__section{margin:0 0 2rem}.edit-post-options-modal__section-title{font-size:.9rem;font-weight:600}.edit-post-options-modal__option{border-top:1px solid #e2e4e7}.edit-post-options-modal__option:last-child{border-bottom:1px solid #e2e4e7}.edit-post-options-modal__option .components-base-control__field{align-items:center;display:flex;margin:0}.edit-post-options-modal__option .components-checkbox-control__label{flex-grow:1;padding:.6rem 0 .6rem 10px}.edit-post-options-modal__custom-fields-confirmation-button,.edit-post-options-modal__custom-fields-confirmation-message{margin:0 0 .6rem 48px}@media (min-width:782px){.edit-post-options-modal__custom-fields-confirmation-button,.edit-post-options-modal__custom-fields-confirmation-message{margin-left:38px}}@media (min-width:600px){.edit-post-options-modal__custom-fields-confirmation-button,.edit-post-options-modal__custom-fields-confirmation-message{max-width:300px}}.edit-post-welcome-guide__page{display:flex;flex-direction:column;justify-content:center;position:relative}@media (min-width:600px){.edit-post-welcome-guide__page{min-height:300px;padding-left:344px}}.edit-post-welcome-guide__heading{font-family:"Noto Serif",serif;font-size:21px;line-height:1.4;margin:8px 0}.edit-post-welcome-guide__image{background:#66c6e4;border-radius:4px;height:200px;margin:8px 0}@media (min-width:600px){.edit-post-welcome-guide__image{position:absolute;left:0;top:50%;height:300px;width:320px;margin-top:-150px}}.edit-post-welcome-guide__text{font-size:16px;line-height:1.4;margin:8px 0}.edit-post-welcome-guide__inserter-icon{margin:0 4px;position:relative;top:4px}@media (min-width:600px){.edit-post-welcome-guide{width:600px}}@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){display:none}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%}.components-modal__frame,.components-popover,.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-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}.components-modal__frame .input-control,.components-modal__frame input[type=checkbox],.components-modal__frame input[type=color],.components-modal__frame input[type=date],.components-modal__frame input[type=datetime-local],.components-modal__frame input[type=datetime],.components-modal__frame input[type=email],.components-modal__frame input[type=month],.components-modal__frame input[type=number],.components-modal__frame input[type=password],.components-modal__frame input[type=radio],.components-modal__frame input[type=search],.components-modal__frame input[type=tel],.components-modal__frame input[type=text],.components-modal__frame input[type=time],.components-modal__frame input[type=url],.components-modal__frame input[type=week],.components-modal__frame select,.components-modal__frame textarea,.components-popover .input-control,.components-popover input[type=checkbox],.components-popover input[type=color],.components-popover input[type=date],.components-popover input[type=datetime-local],.components-popover input[type=datetime],.components-popover input[type=email],.components-popover input[type=month],.components-popover input[type=number],.components-popover input[type=password],.components-popover input[type=radio],.components-popover input[type=search],.components-popover input[type=tel],.components-popover input[type=text],.components-popover input[type=time],.components-popover input[type=url],.components-popover input[type=week],.components-popover select,.components-popover textarea,.edit-post-header .input-control,.edit-post-header input[type=checkbox],.edit-post-header input[type=color],.edit-post-header input[type=date],.edit-post-header input[type=datetime-local],.edit-post-header input[type=datetime],.edit-post-header input[type=email],.edit-post-header input[type=month],.edit-post-header input[type=number],.edit-post-header input[type=password],.edit-post-header input[type=radio],.edit-post-header input[type=search],.edit-post-header input[type=tel],.edit-post-header input[type=text],.edit-post-header input[type=time],.edit-post-header input[type=url],.edit-post-header input[type=week],.edit-post-header select,.edit-post-header textarea,.edit-post-sidebar .input-control,.edit-post-sidebar input[type=checkbox],.edit-post-sidebar input[type=color],.edit-post-sidebar input[type=date],.edit-post-sidebar input[type=datetime-local],.edit-post-sidebar input[type=datetime],.edit-post-sidebar input[type=email],.edit-post-sidebar input[type=month],.edit-post-sidebar input[type=number],.edit-post-sidebar input[type=password],.edit-post-sidebar input[type=radio],.edit-post-sidebar input[type=search],.edit-post-sidebar input[type=tel],.edit-post-sidebar input[type=text],.edit-post-sidebar input[type=time],.edit-post-sidebar input[type=url],.edit-post-sidebar input[type=week],.edit-post-sidebar select,.edit-post-sidebar textarea,.edit-post-text-editor .input-control,.edit-post-text-editor input[type=checkbox],.edit-post-text-editor input[type=color],.edit-post-text-editor input[type=date],.edit-post-text-editor input[type=datetime-local],.edit-post-text-editor input[type=datetime],.edit-post-text-editor input[type=email],.edit-post-text-editor input[type=month],.edit-post-text-editor input[type=number],.edit-post-text-editor input[type=password],.edit-post-text-editor input[type=radio],.edit-post-text-editor input[type=search],.edit-post-text-editor input[type=tel],.edit-post-text-editor input[type=text],.edit-post-text-editor input[type=time],.edit-post-text-editor input[type=url],.edit-post-text-editor input[type=week],.edit-post-text-editor select,.edit-post-text-editor textarea,.edit-post-visual-editor .input-control,.edit-post-visual-editor input[type=checkbox],.edit-post-visual-editor input[type=color],.edit-post-visual-editor input[type=date],.edit-post-visual-editor input[type=datetime-local],.edit-post-visual-editor input[type=datetime],.edit-post-visual-editor input[type=email],.edit-post-visual-editor input[type=month],.edit-post-visual-editor input[type=number],.edit-post-visual-editor input[type=password],.edit-post-visual-editor input[type=radio],.edit-post-visual-editor input[type=search],.edit-post-visual-editor input[type=tel],.edit-post-visual-editor input[type=text],.edit-post-visual-editor input[type=time],.edit-post-visual-editor input[type=url],.edit-post-visual-editor input[type=week],.edit-post-visual-editor select,.edit-post-visual-editor textarea,.editor-post-publish-panel .input-control,.editor-post-publish-panel input[type=checkbox],.editor-post-publish-panel input[type=color],.editor-post-publish-panel input[type=date],.editor-post-publish-panel input[type=datetime-local],.editor-post-publish-panel input[type=datetime],.editor-post-publish-panel input[type=email],.editor-post-publish-panel input[type=month],.editor-post-publish-panel input[type=number],.editor-post-publish-panel input[type=password],.editor-post-publish-panel input[type=radio],.editor-post-publish-panel input[type=search],.editor-post-publish-panel input[type=tel],.editor-post-publish-panel input[type=text],.editor-post-publish-panel input[type=time],.editor-post-publish-panel input[type=url],.editor-post-publish-panel input[type=week],.editor-post-publish-panel select,.editor-post-publish-panel 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:4px;border:1px solid #7e8993;font-size:16px;line-height:normal}@media (prefers-reduced-motion:reduce){.components-modal__frame .input-control,.components-modal__frame input[type=checkbox],.components-modal__frame input[type=color],.components-modal__frame input[type=date],.components-modal__frame input[type=datetime-local],.components-modal__frame input[type=datetime],.components-modal__frame input[type=email],.components-modal__frame input[type=month],.components-modal__frame input[type=number],.components-modal__frame input[type=password],.components-modal__frame input[type=radio],.components-modal__frame input[type=search],.components-modal__frame input[type=tel],.components-modal__frame input[type=text],.components-modal__frame input[type=time],.components-modal__frame input[type=url],.components-modal__frame input[type=week],.components-modal__frame select,.components-modal__frame textarea,.components-popover .input-control,.components-popover input[type=checkbox],.components-popover input[type=color],.components-popover input[type=date],.components-popover input[type=datetime-local],.components-popover input[type=datetime],.components-popover input[type=email],.components-popover input[type=month],.components-popover input[type=number],.components-popover input[type=password],.components-popover input[type=radio],.components-popover input[type=search],.components-popover input[type=tel],.components-popover input[type=text],.components-popover input[type=time],.components-popover input[type=url],.components-popover input[type=week],.components-popover select,.components-popover textarea,.edit-post-header .input-control,.edit-post-header input[type=checkbox],.edit-post-header input[type=color],.edit-post-header input[type=date],.edit-post-header input[type=datetime-local],.edit-post-header input[type=datetime],.edit-post-header input[type=email],.edit-post-header input[type=month],.edit-post-header input[type=number],.edit-post-header input[type=password],.edit-post-header input[type=radio],.edit-post-header input[type=search],.edit-post-header input[type=tel],.edit-post-header input[type=text],.edit-post-header input[type=time],.edit-post-header input[type=url],.edit-post-header input[type=week],.edit-post-header select,.edit-post-header textarea,.edit-post-sidebar .input-control,.edit-post-sidebar input[type=checkbox],.edit-post-sidebar input[type=color],.edit-post-sidebar input[type=date],.edit-post-sidebar input[type=datetime-local],.edit-post-sidebar input[type=datetime],.edit-post-sidebar input[type=email],.edit-post-sidebar input[type=month],.edit-post-sidebar input[type=number],.edit-post-sidebar input[type=password],.edit-post-sidebar input[type=radio],.edit-post-sidebar input[type=search],.edit-post-sidebar input[type=tel],.edit-post-sidebar input[type=text],.edit-post-sidebar input[type=time],.edit-post-sidebar input[type=url],.edit-post-sidebar input[type=week],.edit-post-sidebar select,.edit-post-sidebar textarea,.edit-post-text-editor .input-control,.edit-post-text-editor input[type=checkbox],.edit-post-text-editor input[type=color],.edit-post-text-editor input[type=date],.edit-post-text-editor input[type=datetime-local],.edit-post-text-editor input[type=datetime],.edit-post-text-editor input[type=email],.edit-post-text-editor input[type=month],.edit-post-text-editor input[type=number],.edit-post-text-editor input[type=password],.edit-post-text-editor input[type=radio],.edit-post-text-editor input[type=search],.edit-post-text-editor input[type=tel],.edit-post-text-editor input[type=text],.edit-post-text-editor input[type=time],.edit-post-text-editor input[type=url],.edit-post-text-editor input[type=week],.edit-post-text-editor select,.edit-post-text-editor textarea,.edit-post-visual-editor .input-control,.edit-post-visual-editor input[type=checkbox],.edit-post-visual-editor input[type=color],.edit-post-visual-editor input[type=date],.edit-post-visual-editor input[type=datetime-local],.edit-post-visual-editor input[type=datetime],.edit-post-visual-editor input[type=email],.edit-post-visual-editor input[type=month],.edit-post-visual-editor input[type=number],.edit-post-visual-editor input[type=password],.edit-post-visual-editor input[type=radio],.edit-post-visual-editor input[type=search],.edit-post-visual-editor input[type=tel],.edit-post-visual-editor input[type=text],.edit-post-visual-editor input[type=time],.edit-post-visual-editor input[type=url],.edit-post-visual-editor input[type=week],.edit-post-visual-editor select,.edit-post-visual-editor textarea,.editor-post-publish-panel .input-control,.editor-post-publish-panel input[type=checkbox],.editor-post-publish-panel input[type=color],.editor-post-publish-panel input[type=date],.editor-post-publish-panel input[type=datetime-local],.editor-post-publish-panel input[type=datetime],.editor-post-publish-panel input[type=email],.editor-post-publish-panel input[type=month],.editor-post-publish-panel input[type=number],.editor-post-publish-panel input[type=password],.editor-post-publish-panel input[type=radio],.editor-post-publish-panel input[type=search],.editor-post-publish-panel input[type=tel],.editor-post-publish-panel input[type=text],.editor-post-publish-panel input[type=time],.editor-post-publish-panel input[type=url],.editor-post-publish-panel input[type=week],.editor-post-publish-panel select,.editor-post-publish-panel textarea{transition-duration:0s}}@media (min-width:600px){.components-modal__frame .input-control,.components-modal__frame input[type=checkbox],.components-modal__frame input[type=color],.components-modal__frame input[type=date],.components-modal__frame input[type=datetime-local],.components-modal__frame input[type=datetime],.components-modal__frame input[type=email],.components-modal__frame input[type=month],.components-modal__frame input[type=number],.components-modal__frame input[type=password],.components-modal__frame input[type=radio],.components-modal__frame input[type=search],.components-modal__frame input[type=tel],.components-modal__frame input[type=text],.components-modal__frame input[type=time],.components-modal__frame input[type=url],.components-modal__frame input[type=week],.components-modal__frame select,.components-modal__frame textarea,.components-popover .input-control,.components-popover input[type=checkbox],.components-popover input[type=color],.components-popover input[type=date],.components-popover input[type=datetime-local],.components-popover input[type=datetime],.components-popover input[type=email],.components-popover input[type=month],.components-popover input[type=number],.components-popover input[type=password],.components-popover input[type=radio],.components-popover input[type=search],.components-popover input[type=tel],.components-popover input[type=text],.components-popover input[type=time],.components-popover input[type=url],.components-popover input[type=week],.components-popover select,.components-popover textarea,.edit-post-header .input-control,.edit-post-header input[type=checkbox],.edit-post-header input[type=color],.edit-post-header input[type=date],.edit-post-header input[type=datetime-local],.edit-post-header input[type=datetime],.edit-post-header input[type=email],.edit-post-header input[type=month],.edit-post-header input[type=number],.edit-post-header input[type=password],.edit-post-header input[type=radio],.edit-post-header input[type=search],.edit-post-header input[type=tel],.edit-post-header input[type=text],.edit-post-header input[type=time],.edit-post-header input[type=url],.edit-post-header input[type=week],.edit-post-header select,.edit-post-header textarea,.edit-post-sidebar .input-control,.edit-post-sidebar input[type=checkbox],.edit-post-sidebar input[type=color],.edit-post-sidebar input[type=date],.edit-post-sidebar input[type=datetime-local],.edit-post-sidebar input[type=datetime],.edit-post-sidebar input[type=email],.edit-post-sidebar input[type=month],.edit-post-sidebar input[type=number],.edit-post-sidebar input[type=password],.edit-post-sidebar input[type=radio],.edit-post-sidebar input[type=search],.edit-post-sidebar input[type=tel],.edit-post-sidebar input[type=text],.edit-post-sidebar input[type=time],.edit-post-sidebar input[type=url],.edit-post-sidebar input[type=week],.edit-post-sidebar select,.edit-post-sidebar textarea,.edit-post-text-editor .input-control,.edit-post-text-editor input[type=checkbox],.edit-post-text-editor input[type=color],.edit-post-text-editor input[type=date],.edit-post-text-editor input[type=datetime-local],.edit-post-text-editor input[type=datetime],.edit-post-text-editor input[type=email],.edit-post-text-editor input[type=month],.edit-post-text-editor input[type=number],.edit-post-text-editor input[type=password],.edit-post-text-editor input[type=radio],.edit-post-text-editor input[type=search],.edit-post-text-editor input[type=tel],.edit-post-text-editor input[type=text],.edit-post-text-editor input[type=time],.edit-post-text-editor input[type=url],.edit-post-text-editor input[type=week],.edit-post-text-editor select,.edit-post-text-editor textarea,.edit-post-visual-editor .input-control,.edit-post-visual-editor input[type=checkbox],.edit-post-visual-editor input[type=color],.edit-post-visual-editor input[type=date],.edit-post-visual-editor input[type=datetime-local],.edit-post-visual-editor input[type=datetime],.edit-post-visual-editor input[type=email],.edit-post-visual-editor input[type=month],.edit-post-visual-editor input[type=number],.edit-post-visual-editor input[type=password],.edit-post-visual-editor input[type=radio],.edit-post-visual-editor input[type=search],.edit-post-visual-editor input[type=tel],.edit-post-visual-editor input[type=text],.edit-post-visual-editor input[type=time],.edit-post-visual-editor input[type=url],.edit-post-visual-editor input[type=week],.edit-post-visual-editor select,.edit-post-visual-editor textarea,.editor-post-publish-panel .input-control,.editor-post-publish-panel input[type=checkbox],.editor-post-publish-panel input[type=color],.editor-post-publish-panel input[type=date],.editor-post-publish-panel input[type=datetime-local],.editor-post-publish-panel input[type=datetime],.editor-post-publish-panel input[type=email],.editor-post-publish-panel input[type=month],.editor-post-publish-panel input[type=number],.editor-post-publish-panel input[type=password],.editor-post-publish-panel input[type=radio],.editor-post-publish-panel input[type=search],.editor-post-publish-panel input[type=tel],.editor-post-publish-panel input[type=text],.editor-post-publish-panel input[type=time],.editor-post-publish-panel input[type=url],.editor-post-publish-panel input[type=week],.editor-post-publish-panel select,.editor-post-publish-panel textarea{font-size:13px;line-height:normal}}.components-modal__frame .input-control:focus,.components-modal__frame input[type=checkbox]:focus,.components-modal__frame input[type=color]:focus,.components-modal__frame input[type=date]:focus,.components-modal__frame input[type=datetime-local]:focus,.components-modal__frame input[type=datetime]:focus,.components-modal__frame input[type=email]:focus,.components-modal__frame input[type=month]:focus,.components-modal__frame input[type=number]:focus,.components-modal__frame input[type=password]:focus,.components-modal__frame input[type=radio]:focus,.components-modal__frame input[type=search]:focus,.components-modal__frame input[type=tel]:focus,.components-modal__frame input[type=text]:focus,.components-modal__frame input[type=time]:focus,.components-modal__frame input[type=url]:focus,.components-modal__frame input[type=week]:focus,.components-modal__frame select:focus,.components-modal__frame textarea:focus,.components-popover .input-control:focus,.components-popover input[type=checkbox]:focus,.components-popover input[type=color]:focus,.components-popover input[type=date]:focus,.components-popover input[type=datetime-local]:focus,.components-popover input[type=datetime]:focus,.components-popover input[type=email]:focus,.components-popover input[type=month]:focus,.components-popover input[type=number]:focus,.components-popover input[type=password]:focus,.components-popover input[type=radio]:focus,.components-popover input[type=search]:focus,.components-popover input[type=tel]:focus,.components-popover input[type=text]:focus,.components-popover input[type=time]:focus,.components-popover input[type=url]:focus,.components-popover input[type=week]:focus,.components-popover select:focus,.components-popover textarea:focus,.edit-post-header .input-control:focus,.edit-post-header input[type=checkbox]:focus,.edit-post-header input[type=color]:focus,.edit-post-header input[type=date]:focus,.edit-post-header input[type=datetime-local]:focus,.edit-post-header input[type=datetime]:focus,.edit-post-header input[type=email]:focus,.edit-post-header input[type=month]:focus,.edit-post-header input[type=number]:focus,.edit-post-header input[type=password]:focus,.edit-post-header input[type=radio]:focus,.edit-post-header input[type=search]:focus,.edit-post-header input[type=tel]:focus,.edit-post-header input[type=text]:focus,.edit-post-header input[type=time]:focus,.edit-post-header input[type=url]:focus,.edit-post-header input[type=week]:focus,.edit-post-header select:focus,.edit-post-header textarea:focus,.edit-post-sidebar .input-control:focus,.edit-post-sidebar input[type=checkbox]:focus,.edit-post-sidebar input[type=color]:focus,.edit-post-sidebar input[type=date]:focus,.edit-post-sidebar input[type=datetime-local]:focus,.edit-post-sidebar input[type=datetime]:focus,.edit-post-sidebar input[type=email]:focus,.edit-post-sidebar input[type=month]:focus,.edit-post-sidebar input[type=number]:focus,.edit-post-sidebar input[type=password]:focus,.edit-post-sidebar input[type=radio]:focus,.edit-post-sidebar input[type=search]:focus,.edit-post-sidebar input[type=tel]:focus,.edit-post-sidebar input[type=text]:focus,.edit-post-sidebar input[type=time]:focus,.edit-post-sidebar input[type=url]:focus,.edit-post-sidebar input[type=week]:focus,.edit-post-sidebar select:focus,.edit-post-sidebar textarea:focus,.edit-post-text-editor .input-control:focus,.edit-post-text-editor input[type=checkbox]:focus,.edit-post-text-editor input[type=color]:focus,.edit-post-text-editor input[type=date]:focus,.edit-post-text-editor input[type=datetime-local]:focus,.edit-post-text-editor input[type=datetime]:focus,.edit-post-text-editor input[type=email]:focus,.edit-post-text-editor input[type=month]:focus,.edit-post-text-editor input[type=number]:focus,.edit-post-text-editor input[type=password]:focus,.edit-post-text-editor input[type=radio]:focus,.edit-post-text-editor input[type=search]:focus,.edit-post-text-editor input[type=tel]:focus,.edit-post-text-editor input[type=text]:focus,.edit-post-text-editor input[type=time]:focus,.edit-post-text-editor input[type=url]:focus,.edit-post-text-editor input[type=week]:focus,.edit-post-text-editor select:focus,.edit-post-text-editor textarea:focus,.edit-post-visual-editor .input-control:focus,.edit-post-visual-editor input[type=checkbox]:focus,.edit-post-visual-editor input[type=color]:focus,.edit-post-visual-editor input[type=date]:focus,.edit-post-visual-editor input[type=datetime-local]:focus,.edit-post-visual-editor input[type=datetime]:focus,.edit-post-visual-editor input[type=email]:focus,.edit-post-visual-editor input[type=month]:focus,.edit-post-visual-editor input[type=number]:focus,.edit-post-visual-editor input[type=password]:focus,.edit-post-visual-editor input[type=radio]:focus,.edit-post-visual-editor input[type=search]:focus,.edit-post-visual-editor input[type=tel]:focus,.edit-post-visual-editor input[type=text]:focus,.edit-post-visual-editor input[type=time]:focus,.edit-post-visual-editor input[type=url]:focus,.edit-post-visual-editor input[type=week]:focus,.edit-post-visual-editor select:focus,.edit-post-visual-editor textarea:focus,.editor-post-publish-panel .input-control:focus,.editor-post-publish-panel input[type=checkbox]:focus,.editor-post-publish-panel input[type=color]:focus,.editor-post-publish-panel input[type=date]:focus,.editor-post-publish-panel input[type=datetime-local]:focus,.editor-post-publish-panel input[type=datetime]:focus,.editor-post-publish-panel input[type=email]:focus,.editor-post-publish-panel input[type=month]:focus,.editor-post-publish-panel input[type=number]:focus,.editor-post-publish-panel input[type=password]:focus,.editor-post-publish-panel input[type=radio]:focus,.editor-post-publish-panel input[type=search]:focus,.editor-post-publish-panel input[type=tel]:focus,.editor-post-publish-panel input[type=text]:focus,.editor-post-publish-panel input[type=time]:focus,.editor-post-publish-panel input[type=url]:focus,.editor-post-publish-panel input[type=week]:focus,.editor-post-publish-panel select:focus,.editor-post-publish-panel textarea:focus{color:#191e23;border-color:#007cba;box-shadow:0 0 0 1px #007cba;outline:2px solid transparent}.components-modal__frame input[type=number],.components-popover input[type=number],.edit-post-header input[type=number],.edit-post-sidebar input[type=number],.edit-post-text-editor input[type=number],.edit-post-visual-editor input[type=number],.editor-post-publish-panel input[type=number]{padding-left:4px;padding-right:4px}.components-modal__frame select,.components-popover select,.edit-post-header select,.edit-post-sidebar select,.edit-post-text-editor select,.edit-post-visual-editor select,.editor-post-publish-panel select{padding:2px;font-size:13px;color:#555d66}.components-modal__frame select:focus,.components-popover select:focus,.edit-post-header select:focus,.edit-post-sidebar select:focus,.edit-post-text-editor select:focus,.edit-post-visual-editor select:focus,.editor-post-publish-panel select:focus{border-color:#008dbe;outline:2px solid transparent;outline-offset:0}.components-modal__frame input[type=checkbox],.components-modal__frame input[type=radio],.components-popover input[type=checkbox],.components-popover input[type=radio],.edit-post-header input[type=checkbox],.edit-post-header input[type=radio],.edit-post-sidebar input[type=checkbox],.edit-post-sidebar input[type=radio],.edit-post-text-editor input[type=checkbox],.edit-post-text-editor input[type=radio],.edit-post-visual-editor input[type=checkbox],.edit-post-visual-editor input[type=radio],.editor-post-publish-panel input[type=checkbox],.editor-post-publish-panel input[type=radio]{border:2px solid #6c7781;margin-right:12px;transition:none}.components-modal__frame input[type=checkbox]:focus,.components-modal__frame input[type=radio]:focus,.components-popover input[type=checkbox]:focus,.components-popover input[type=radio]:focus,.edit-post-header input[type=checkbox]:focus,.edit-post-header input[type=radio]:focus,.edit-post-sidebar input[type=checkbox]:focus,.edit-post-sidebar input[type=radio]:focus,.edit-post-text-editor input[type=checkbox]:focus,.edit-post-text-editor input[type=radio]:focus,.edit-post-visual-editor input[type=checkbox]:focus,.edit-post-visual-editor input[type=radio]:focus,.editor-post-publish-panel input[type=checkbox]:focus,.editor-post-publish-panel input[type=radio]:focus{border-color:#6c7781;box-shadow:0 0 0 1px #6c7781}.components-modal__frame input[type=checkbox]:checked,.components-modal__frame input[type=radio]:checked,.components-popover input[type=checkbox]:checked,.components-popover input[type=radio]:checked,.edit-post-header input[type=checkbox]:checked,.edit-post-header input[type=radio]:checked,.edit-post-sidebar input[type=checkbox]:checked,.edit-post-sidebar input[type=radio]:checked,.edit-post-text-editor input[type=checkbox]:checked,.edit-post-text-editor input[type=radio]:checked,.edit-post-visual-editor input[type=checkbox]:checked,.edit-post-visual-editor input[type=radio]:checked,.editor-post-publish-panel input[type=checkbox]:checked,.editor-post-publish-panel input[type=radio]:checked{background:#11a0d2;border-color:#11a0d2}body.admin-color-sunrise .components-modal__frame input[type=checkbox]:checked,body.admin-color-sunrise .components-modal__frame input[type=radio]:checked,body.admin-color-sunrise .components-popover input[type=checkbox]:checked,body.admin-color-sunrise .components-popover input[type=radio]:checked,body.admin-color-sunrise .edit-post-header input[type=checkbox]:checked,body.admin-color-sunrise .edit-post-header input[type=radio]:checked,body.admin-color-sunrise .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-sunrise .edit-post-sidebar input[type=radio]:checked,body.admin-color-sunrise .edit-post-text-editor input[type=checkbox]:checked,body.admin-color-sunrise .edit-post-text-editor input[type=radio]:checked,body.admin-color-sunrise .edit-post-visual-editor input[type=checkbox]:checked,body.admin-color-sunrise .edit-post-visual-editor input[type=radio]:checked,body.admin-color-sunrise .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-sunrise .editor-post-publish-panel input[type=radio]:checked{background:#c8b03c;border-color:#c8b03c}body.admin-color-ocean .components-modal__frame input[type=checkbox]:checked,body.admin-color-ocean .components-modal__frame input[type=radio]:checked,body.admin-color-ocean .components-popover input[type=checkbox]:checked,body.admin-color-ocean .components-popover input[type=radio]:checked,body.admin-color-ocean .edit-post-header input[type=checkbox]:checked,body.admin-color-ocean .edit-post-header input[type=radio]:checked,body.admin-color-ocean .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-ocean .edit-post-sidebar input[type=radio]:checked,body.admin-color-ocean .edit-post-text-editor input[type=checkbox]:checked,body.admin-color-ocean .edit-post-text-editor input[type=radio]:checked,body.admin-color-ocean .edit-post-visual-editor input[type=checkbox]:checked,body.admin-color-ocean .edit-post-visual-editor input[type=radio]:checked,body.admin-color-ocean .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-ocean .editor-post-publish-panel input[type=radio]:checked{background:#a3b9a2;border-color:#a3b9a2}body.admin-color-midnight .components-modal__frame input[type=checkbox]:checked,body.admin-color-midnight .components-modal__frame input[type=radio]:checked,body.admin-color-midnight .components-popover input[type=checkbox]:checked,body.admin-color-midnight .components-popover input[type=radio]:checked,body.admin-color-midnight .edit-post-header input[type=checkbox]:checked,body.admin-color-midnight .edit-post-header input[type=radio]:checked,body.admin-color-midnight .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-midnight .edit-post-sidebar input[type=radio]:checked,body.admin-color-midnight .edit-post-text-editor input[type=checkbox]:checked,body.admin-color-midnight .edit-post-text-editor input[type=radio]:checked,body.admin-color-midnight .edit-post-visual-editor input[type=checkbox]:checked,body.admin-color-midnight .edit-post-visual-editor input[type=radio]:checked,body.admin-color-midnight .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-midnight .editor-post-publish-panel input[type=radio]:checked{background:#77a6b9;border-color:#77a6b9}body.admin-color-ectoplasm .components-modal__frame input[type=checkbox]:checked,body.admin-color-ectoplasm .components-modal__frame input[type=radio]:checked,body.admin-color-ectoplasm .components-popover input[type=checkbox]:checked,body.admin-color-ectoplasm .components-popover input[type=radio]:checked,body.admin-color-ectoplasm .edit-post-header input[type=checkbox]:checked,body.admin-color-ectoplasm .edit-post-header input[type=radio]:checked,body.admin-color-ectoplasm .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-ectoplasm .edit-post-sidebar input[type=radio]:checked,body.admin-color-ectoplasm .edit-post-text-editor input[type=checkbox]:checked,body.admin-color-ectoplasm .edit-post-text-editor input[type=radio]:checked,body.admin-color-ectoplasm .edit-post-visual-editor input[type=checkbox]:checked,body.admin-color-ectoplasm .edit-post-visual-editor input[type=radio]:checked,body.admin-color-ectoplasm .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-ectoplasm .editor-post-publish-panel input[type=radio]:checked{background:#a7b656;border-color:#a7b656}body.admin-color-coffee .components-modal__frame input[type=checkbox]:checked,body.admin-color-coffee .components-modal__frame input[type=radio]:checked,body.admin-color-coffee .components-popover input[type=checkbox]:checked,body.admin-color-coffee .components-popover input[type=radio]:checked,body.admin-color-coffee .edit-post-header input[type=checkbox]:checked,body.admin-color-coffee .edit-post-header input[type=radio]:checked,body.admin-color-coffee .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-coffee .edit-post-sidebar input[type=radio]:checked,body.admin-color-coffee .edit-post-text-editor input[type=checkbox]:checked,body.admin-color-coffee .edit-post-text-editor input[type=radio]:checked,body.admin-color-coffee .edit-post-visual-editor input[type=checkbox]:checked,body.admin-color-coffee .edit-post-visual-editor input[type=radio]:checked,body.admin-color-coffee .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-coffee .editor-post-publish-panel input[type=radio]:checked{background:#c2a68c;border-color:#c2a68c}body.admin-color-blue .components-modal__frame input[type=checkbox]:checked,body.admin-color-blue .components-modal__frame input[type=radio]:checked,body.admin-color-blue .components-popover input[type=checkbox]:checked,body.admin-color-blue .components-popover input[type=radio]:checked,body.admin-color-blue .edit-post-header input[type=checkbox]:checked,body.admin-color-blue .edit-post-header input[type=radio]:checked,body.admin-color-blue .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-blue .edit-post-sidebar input[type=radio]:checked,body.admin-color-blue .edit-post-text-editor input[type=checkbox]:checked,body.admin-color-blue .edit-post-text-editor input[type=radio]:checked,body.admin-color-blue .edit-post-visual-editor input[type=checkbox]:checked,body.admin-color-blue .edit-post-visual-editor input[type=radio]:checked,body.admin-color-blue .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-blue .editor-post-publish-panel input[type=radio]:checked{background:#82b4cb;border-color:#82b4cb}body.admin-color-light .components-modal__frame input[type=checkbox]:checked,body.admin-color-light .components-modal__frame input[type=radio]:checked,body.admin-color-light .components-popover input[type=checkbox]:checked,body.admin-color-light .components-popover input[type=radio]:checked,body.admin-color-light .edit-post-header input[type=checkbox]:checked,body.admin-color-light .edit-post-header input[type=radio]:checked,body.admin-color-light .edit-post-sidebar input[type=checkbox]:checked,body.admin-color-light .edit-post-sidebar input[type=radio]:checked,body.admin-color-light .edit-post-text-editor input[type=checkbox]:checked,body.admin-color-light .edit-post-text-editor input[type=radio]:checked,body.admin-color-light .edit-post-visual-editor input[type=checkbox]:checked,body.admin-color-light .edit-post-visual-editor input[type=radio]:checked,body.admin-color-light .editor-post-publish-panel input[type=checkbox]:checked,body.admin-color-light .editor-post-publish-panel input[type=radio]:checked{background:#11a0d2;border-color:#11a0d2}.components-modal__frame input[type=checkbox]:checked:focus,.components-modal__frame input[type=radio]:checked:focus,.components-popover input[type=checkbox]:checked:focus,.components-popover input[type=radio]:checked:focus,.edit-post-header input[type=checkbox]:checked:focus,.edit-post-header input[type=radio]:checked:focus,.edit-post-sidebar input[type=checkbox]:checked:focus,.edit-post-sidebar input[type=radio]:checked:focus,.edit-post-text-editor input[type=checkbox]:checked:focus,.edit-post-text-editor input[type=radio]:checked:focus,.edit-post-visual-editor input[type=checkbox]:checked:focus,.edit-post-visual-editor input[type=radio]:checked:focus,.editor-post-publish-panel input[type=checkbox]:checked:focus,.editor-post-publish-panel input[type=radio]:checked:focus{box-shadow:0 0 0 2px #555d66}.components-modal__frame input[type=checkbox],.components-popover input[type=checkbox],.edit-post-header input[type=checkbox],.edit-post-sidebar input[type=checkbox],.edit-post-text-editor input[type=checkbox],.edit-post-visual-editor input[type=checkbox],.editor-post-publish-panel input[type=checkbox]{border-radius:2px}.components-modal__frame input[type=checkbox]:checked:before,.components-modal__frame input[type=checkbox][aria-checked=mixed]:before,.components-popover input[type=checkbox]:checked:before,.components-popover input[type=checkbox][aria-checked=mixed]:before,.edit-post-header input[type=checkbox]:checked:before,.edit-post-header input[type=checkbox][aria-checked=mixed]:before,.edit-post-sidebar input[type=checkbox]:checked:before,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:before,.edit-post-text-editor input[type=checkbox]:checked:before,.edit-post-text-editor input[type=checkbox][aria-checked=mixed]:before,.edit-post-visual-editor input[type=checkbox]:checked:before,.edit-post-visual-editor input[type=checkbox][aria-checked=mixed]:before,.editor-post-publish-panel input[type=checkbox]:checked:before,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:before{margin:-3px -5px;color:#fff}@media (min-width:782px){.components-modal__frame input[type=checkbox]:checked:before,.components-modal__frame input[type=checkbox][aria-checked=mixed]:before,.components-popover input[type=checkbox]:checked:before,.components-popover input[type=checkbox][aria-checked=mixed]:before,.edit-post-header input[type=checkbox]:checked:before,.edit-post-header input[type=checkbox][aria-checked=mixed]:before,.edit-post-sidebar input[type=checkbox]:checked:before,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:before,.edit-post-text-editor input[type=checkbox]:checked:before,.edit-post-text-editor input[type=checkbox][aria-checked=mixed]:before,.edit-post-visual-editor input[type=checkbox]:checked:before,.edit-post-visual-editor input[type=checkbox][aria-checked=mixed]:before,.editor-post-publish-panel input[type=checkbox]:checked:before,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:before{margin:-4px 0 0 -5px}}.components-modal__frame input[type=checkbox][aria-checked=mixed],.components-popover input[type=checkbox][aria-checked=mixed],.edit-post-header input[type=checkbox][aria-checked=mixed],.edit-post-sidebar input[type=checkbox][aria-checked=mixed],.edit-post-text-editor input[type=checkbox][aria-checked=mixed],.edit-post-visual-editor input[type=checkbox][aria-checked=mixed],.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#11a0d2;border-color:#11a0d2}body.admin-color-sunrise .components-modal__frame input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .edit-post-header input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .edit-post-text-editor input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .edit-post-visual-editor input[type=checkbox][aria-checked=mixed],body.admin-color-sunrise .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#c8b03c;border-color:#c8b03c}body.admin-color-ocean .components-modal__frame input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .edit-post-header input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .edit-post-text-editor input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .edit-post-visual-editor input[type=checkbox][aria-checked=mixed],body.admin-color-ocean .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#a3b9a2;border-color:#a3b9a2}body.admin-color-midnight .components-modal__frame input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .edit-post-header input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .edit-post-text-editor input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .edit-post-visual-editor input[type=checkbox][aria-checked=mixed],body.admin-color-midnight .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#77a6b9;border-color:#77a6b9}body.admin-color-ectoplasm .components-modal__frame input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .edit-post-header input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .edit-post-text-editor input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .edit-post-visual-editor input[type=checkbox][aria-checked=mixed],body.admin-color-ectoplasm .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#a7b656;border-color:#a7b656}body.admin-color-coffee .components-modal__frame input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .edit-post-header input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .edit-post-text-editor input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .edit-post-visual-editor input[type=checkbox][aria-checked=mixed],body.admin-color-coffee .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#c2a68c;border-color:#c2a68c}body.admin-color-blue .components-modal__frame input[type=checkbox][aria-checked=mixed],body.admin-color-blue .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-blue .edit-post-header input[type=checkbox][aria-checked=mixed],body.admin-color-blue .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-blue .edit-post-text-editor input[type=checkbox][aria-checked=mixed],body.admin-color-blue .edit-post-visual-editor input[type=checkbox][aria-checked=mixed],body.admin-color-blue .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#82b4cb;border-color:#82b4cb}body.admin-color-light .components-modal__frame input[type=checkbox][aria-checked=mixed],body.admin-color-light .components-popover input[type=checkbox][aria-checked=mixed],body.admin-color-light .edit-post-header input[type=checkbox][aria-checked=mixed],body.admin-color-light .edit-post-sidebar input[type=checkbox][aria-checked=mixed],body.admin-color-light .edit-post-text-editor input[type=checkbox][aria-checked=mixed],body.admin-color-light .edit-post-visual-editor input[type=checkbox][aria-checked=mixed],body.admin-color-light .editor-post-publish-panel input[type=checkbox][aria-checked=mixed]{background:#11a0d2;border-color:#11a0d2}.components-modal__frame input[type=checkbox][aria-checked=mixed]:before,.components-popover input[type=checkbox][aria-checked=mixed]:before,.edit-post-header input[type=checkbox][aria-checked=mixed]:before,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:before,.edit-post-text-editor input[type=checkbox][aria-checked=mixed]:before,.edit-post-visual-editor input[type=checkbox][aria-checked=mixed]:before,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:before{content:"\f460";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-modal__frame input[type=checkbox][aria-checked=mixed]:before,.components-popover input[type=checkbox][aria-checked=mixed]:before,.edit-post-header input[type=checkbox][aria-checked=mixed]:before,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:before,.edit-post-text-editor input[type=checkbox][aria-checked=mixed]:before,.edit-post-visual-editor input[type=checkbox][aria-checked=mixed]:before,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:before{float:none;font-size:21px}}.components-modal__frame input[type=checkbox][aria-checked=mixed]:focus,.components-popover input[type=checkbox][aria-checked=mixed]:focus,.edit-post-header input[type=checkbox][aria-checked=mixed]:focus,.edit-post-sidebar input[type=checkbox][aria-checked=mixed]:focus,.edit-post-text-editor input[type=checkbox][aria-checked=mixed]:focus,.edit-post-visual-editor input[type=checkbox][aria-checked=mixed]:focus,.editor-post-publish-panel input[type=checkbox][aria-checked=mixed]:focus{box-shadow:0 0 0 2px #555d66}.components-modal__frame input[type=radio],.components-popover input[type=radio],.edit-post-header input[type=radio],.edit-post-sidebar input[type=radio],.edit-post-text-editor input[type=radio],.edit-post-visual-editor input[type=radio],.editor-post-publish-panel input[type=radio]{border-radius:50%}.components-modal__frame input[type=radio]:checked:before,.components-popover input[type=radio]:checked:before,.edit-post-header input[type=radio]:checked:before,.edit-post-sidebar input[type=radio]:checked:before,.edit-post-text-editor input[type=radio]:checked:before,.edit-post-visual-editor input[type=radio]:checked:before,.editor-post-publish-panel input[type=radio]:checked:before{width:6px;height:6px;margin:6px 0 0 6px;background-color:#fff}@media (min-width:782px){.components-modal__frame input[type=radio]:checked:before,.components-popover input[type=radio]:checked:before,.edit-post-header input[type=radio]:checked:before,.edit-post-sidebar input[type=radio]:checked:before,.edit-post-text-editor input[type=radio]:checked:before,.edit-post-visual-editor input[type=radio]:checked:before,.editor-post-publish-panel input[type=radio]:checked:before{margin:3px 0 0 3px}}.components-modal__frame input::-webkit-input-placeholder,.components-modal__frame textarea::-webkit-input-placeholder,.components-popover input::-webkit-input-placeholder,.components-popover textarea::-webkit-input-placeholder,.edit-post-header input::-webkit-input-placeholder,.edit-post-header textarea::-webkit-input-placeholder,.edit-post-sidebar input::-webkit-input-placeholder,.edit-post-sidebar textarea::-webkit-input-placeholder,.edit-post-text-editor input::-webkit-input-placeholder,.edit-post-text-editor textarea::-webkit-input-placeholder,.edit-post-visual-editor input::-webkit-input-placeholder,.edit-post-visual-editor textarea::-webkit-input-placeholder,.editor-post-publish-panel input::-webkit-input-placeholder,.editor-post-publish-panel textarea::-webkit-input-placeholder{color:rgba(14,28,46,.62)}.components-modal__frame input::-moz-placeholder,.components-modal__frame textarea::-moz-placeholder,.components-popover input::-moz-placeholder,.components-popover textarea::-moz-placeholder,.edit-post-header input::-moz-placeholder,.edit-post-header textarea::-moz-placeholder,.edit-post-sidebar input::-moz-placeholder,.edit-post-sidebar textarea::-moz-placeholder,.edit-post-text-editor input::-moz-placeholder,.edit-post-text-editor textarea::-moz-placeholder,.edit-post-visual-editor input::-moz-placeholder,.edit-post-visual-editor textarea::-moz-placeholder,.editor-post-publish-panel input::-moz-placeholder,.editor-post-publish-panel textarea::-moz-placeholder{opacity:1;color:rgba(14,28,46,.62)}.components-modal__frame input:-ms-input-placeholder,.components-modal__frame textarea:-ms-input-placeholder,.components-popover input:-ms-input-placeholder,.components-popover textarea:-ms-input-placeholder,.edit-post-header input:-ms-input-placeholder,.edit-post-header textarea:-ms-input-placeholder,.edit-post-sidebar input:-ms-input-placeholder,.edit-post-sidebar textarea:-ms-input-placeholder,.edit-post-text-editor input:-ms-input-placeholder,.edit-post-text-editor textarea:-ms-input-placeholder,.edit-post-visual-editor input:-ms-input-placeholder,.edit-post-visual-editor textarea:-ms-input-placeholder,.editor-post-publish-panel input:-ms-input-placeholder,.editor-post-publish-panel textarea:-ms-input-placeholder{color:rgba(14,28,46,.62)}.is-dark-theme .components-modal__frame input::-webkit-input-placeholder,.is-dark-theme .components-modal__frame textarea::-webkit-input-placeholder,.is-dark-theme .components-popover input::-webkit-input-placeholder,.is-dark-theme .components-popover textarea::-webkit-input-placeholder,.is-dark-theme .edit-post-header input::-webkit-input-placeholder,.is-dark-theme .edit-post-header textarea::-webkit-input-placeholder,.is-dark-theme .edit-post-sidebar input::-webkit-input-placeholder,.is-dark-theme .edit-post-sidebar textarea::-webkit-input-placeholder,.is-dark-theme .edit-post-text-editor input::-webkit-input-placeholder,.is-dark-theme .edit-post-text-editor textarea::-webkit-input-placeholder,.is-dark-theme .edit-post-visual-editor input::-webkit-input-placeholder,.is-dark-theme .edit-post-visual-editor textarea::-webkit-input-placeholder,.is-dark-theme .editor-post-publish-panel input::-webkit-input-placeholder,.is-dark-theme .editor-post-publish-panel textarea::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .components-modal__frame input::-moz-placeholder,.is-dark-theme .components-modal__frame textarea::-moz-placeholder,.is-dark-theme .components-popover input::-moz-placeholder,.is-dark-theme .components-popover textarea::-moz-placeholder,.is-dark-theme .edit-post-header input::-moz-placeholder,.is-dark-theme .edit-post-header textarea::-moz-placeholder,.is-dark-theme .edit-post-sidebar input::-moz-placeholder,.is-dark-theme .edit-post-sidebar textarea::-moz-placeholder,.is-dark-theme .edit-post-text-editor input::-moz-placeholder,.is-dark-theme .edit-post-text-editor textarea::-moz-placeholder,.is-dark-theme .edit-post-visual-editor input::-moz-placeholder,.is-dark-theme .edit-post-visual-editor textarea::-moz-placeholder,.is-dark-theme .editor-post-publish-panel input::-moz-placeholder,.is-dark-theme .editor-post-publish-panel textarea::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .components-modal__frame input:-ms-input-placeholder,.is-dark-theme .components-modal__frame textarea:-ms-input-placeholder,.is-dark-theme .components-popover input:-ms-input-placeholder,.is-dark-theme .components-popover textarea:-ms-input-placeholder,.is-dark-theme .edit-post-header input:-ms-input-placeholder,.is-dark-theme .edit-post-header textarea:-ms-input-placeholder,.is-dark-theme .edit-post-sidebar input:-ms-input-placeholder,.is-dark-theme .edit-post-sidebar textarea:-ms-input-placeholder,.is-dark-theme .edit-post-text-editor input:-ms-input-placeholder,.is-dark-theme .edit-post-text-editor textarea:-ms-input-placeholder,.is-dark-theme .edit-post-visual-editor input:-ms-input-placeholder,.is-dark-theme .edit-post-visual-editor textarea:-ms-input-placeholder,.is-dark-theme .editor-post-publish-panel input:-ms-input-placeholder,.is-dark-theme .editor-post-publish-panel textarea:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}@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%}.block-editor__container .components-navigate-regions{height:100%}.wp-block{max-width:580px}.wp-block[data-align=wide]{max-width:1100px}.wp-block[data-align=full]{max-width:none} \ No newline at end of file diff --git a/wp-includes/css/dist/editor/editor-styles-rtl.css b/wp-includes/css/dist/editor/editor-styles-rtl.css index c19e8bcba0..d6108fa875 100644 --- a/wp-includes/css/dist/editor/editor-styles-rtl.css +++ b/wp-includes/css/dist/editor/editor-styles-rtl.css @@ -4,6 +4,9 @@ /** * Breakpoints & Media Queries */ +/** + * Colors + */ /** * Often re-used variables */ diff --git a/wp-includes/css/dist/editor/editor-styles.css b/wp-includes/css/dist/editor/editor-styles.css index 6ec1d4dd2f..6eee9eb23a 100644 --- a/wp-includes/css/dist/editor/editor-styles.css +++ b/wp-includes/css/dist/editor/editor-styles.css @@ -4,6 +4,9 @@ /** * Breakpoints & Media Queries */ +/** + * Colors + */ /** * Often re-used variables */ diff --git a/wp-includes/css/dist/editor/style-rtl.css b/wp-includes/css/dist/editor/style-rtl.css index b6a143763e..4c50c2610c 100644 --- a/wp-includes/css/dist/editor/style-rtl.css +++ b/wp-includes/css/dist/editor/style-rtl.css @@ -5,6 +5,9 @@ /** * Breakpoints & Media Queries */ +/** + * Colors + */ /** * Often re-used variables */ @@ -36,7 +39,7 @@ /** * Reset the WP Admin page styles for Gutenberg-like pages. */ -.editor-autocompleters__block .editor-block-icon { +.editor-autocompleters__block .block-editor-block-icon { margin-left: 8px; } .editor-autocompleters__user .editor-autocompleters__user-avatar { @@ -155,6 +158,11 @@ .components-editor-notices__snackbar { width: 100%; } +.editor-entities-saved-states__save-button { + display: block; + margin-right: auto; + margin-left: 0; } + .editor-error-boundary { margin: auto; max-width: 780px; @@ -245,16 +253,18 @@ .editor-post-last-revision__title .dashicon { margin-left: 5px; } -.components-icon-button:not(:disabled):not([aria-disabled="true"]).editor-post-last-revision__title:hover, .components-icon-button:not(:disabled):not([aria-disabled="true"]).editor-post-last-revision__title:active { - border: none; - box-shadow: none; } - -.components-icon-button:not(:disabled):not([aria-disabled="true"]).editor-post-last-revision__title:focus { - color: #191e23; - border: none; - box-shadow: none; - outline-offset: -2px; - outline: 1px dotted #555d66; } +.components-button:not(:disabled):not([aria-disabled="true"]).editor-post-last-revision__title { + height: auto; } + .components-button:not(:disabled):not([aria-disabled="true"]).editor-post-last-revision__title:hover, .components-button:not(:disabled):not([aria-disabled="true"]).editor-post-last-revision__title:active { + background: #f3f4f5 !important; + border: none !important; + box-shadow: none !important; } + .components-button:not(:disabled):not([aria-disabled="true"]).editor-post-last-revision__title:focus { + color: #191e23; + border: none; + box-shadow: none; + outline-offset: -2px; + outline: 1px dotted #555d66; } .editor-post-locked-modal { height: auto; @@ -397,6 +407,14 @@ left: auto; width: 20%; height: auto; } +.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; } @@ -416,7 +434,7 @@ display: flex; align-items: center; align-content: space-between; } - .editor-post-publish-panel__header .components-icon-button { + .editor-post-publish-panel__header .components-button.has-icon { position: absolute; left: 8px; } @@ -735,7 +753,6 @@ body.admin-color-light .editor-post-text-editor__link{ left: 2px; } } .editor-post-trash.components-button { - width: 100%; color: #b52727; border-color: #b52727; justify-content: center; } diff --git a/wp-includes/css/dist/editor/style-rtl.min.css b/wp-includes/css/dist/editor/style-rtl.min.css index c28d10ad56..749b62fae7 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";.editor-autocompleters__block .editor-block-icon{margin-left:8px}.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:#8f98a1;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:#66c6e4}.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:#e2e4e7;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:#23282d;text-align:right}.document-outline__button:disabled{cursor:default}.document-outline__button:focus{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;outline:2px solid transparent}.document-outline__level{background:#e2e4e7;color:#23282d;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:-webkit-sticky;position:sticky;top:56px;left:0;color:#191e23}@media (min-width:600px){.components-editor-notices__dismissible{top:0}}.components-editor-notices__pinned{position:relative;right:0;top:0;left:0;color:#191e23}.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:6px 12px;min-height:60px}.components-editor-notices__dismissible .components-notice .components-notice__dismiss,.components-editor-notices__pinned .components-notice .components-notice__dismiss{margin:6px 5px 6px -5px}.components-editor-notices__snackbar{width:100%}.editor-error-boundary{max-width:780px;padding:20px;margin:60px auto auto;box-shadow:0 3px 30px rgba(25,30,35,.2)}.editor-page-attributes__template{margin-bottom:10px}.editor-page-attributes__order,.editor-page-attributes__template label,.editor-page-attributes__template select{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 #00a0d2}@media (prefers-reduced-motion:reduce){.editor-post-featured-image__preview,.editor-post-featured-image__toggle{transition-duration:0s}}.editor-post-featured-image__preview:not(:disabled):not([aria-disabled=true]):focus{box-shadow:0 0 0 4px #00a0d2}.editor-post-featured-image__toggle{border:1px dashed #a2aab2;background-color:#edeff0;min-height:90px;line-height:20px;padding:8px 0;text-align:center}.editor-post-featured-image__toggle:hover{background-color:#f8f9f9}.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-icon-button:not(:disabled):not([aria-disabled=true]).editor-post-last-revision__title:active,.components-icon-button:not(:disabled):not([aria-disabled=true]).editor-post-last-revision__title:hover{border:none;box-shadow:none}.components-icon-button:not(:disabled):not([aria-disabled=true]).editor-post-last-revision__title:focus{color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.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-permalink{display:inline-flex;align-items:center;flex-wrap:wrap;background:#fff;padding:8px 8px 0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;height:40px;white-space:nowrap;border:1px solid #b5bcc2;background-clip:padding-box;border-right:0;box-shadow:3px 0 0 0 #555d66;outline:1px solid transparent;margin-right:-15px;margin-left:-15px}.is-dark-theme .editor-post-permalink{box-shadow:3px 0 0 0 #d7dade}@media (min-width:480px){.editor-post-permalink{padding:4px}}@media (min-width:600px){.editor-post-permalink{margin-right:-1px;margin-left:-1px}}.editor-post-permalink.editor-post-permalink>*{margin-bottom:8px}@media (min-width:480px){.editor-post-permalink.editor-post-permalink>*{margin-bottom:0}}.editor-post-permalink button{flex-shrink:0}.editor-post-permalink__copy{border-radius:4px;padding:6px}.editor-post-permalink__copy.is-copied{opacity:.3}.editor-post-permalink__label{margin:0 5px 0 10px;font-weight:600}.editor-post-permalink__link{color:#7e8993;text-decoration:underline;margin-left:10px;flex-grow:1;overflow:hidden;position:relative;white-space:nowrap;text-align:right}.editor-post-permalink-editor{width:100%;min-width:20%;display:inline-flex;align-items:center}.editor-post-permalink-editor .editor-post-permalink__editor-container{flex:0 1 100%;display:flex;overflow:hidden;padding:1px 0}.editor-post-permalink-editor .editor-post-permalink__editor-container .editor-post-permalink-editor__prefix{flex:1 1 auto}@media (min-width:600px){.editor-post-permalink-editor .editor-post-permalink__editor-container .editor-post-permalink-editor__prefix{flex:1 0 auto}}.editor-post-permalink-editor .editor-post-permalink__editor-container .editor-post-permalink-editor__edit{flex:1 1 100%}.editor-post-permalink-editor .editor-post-permalink-editor__save{margin-right:auto}.editor-post-permalink-editor__prefix{color:#6c7781;min-width:20%;overflow:hidden;position:relative;white-space:nowrap;text-overflow:ellipsis}.editor-post-permalink input[type=text].editor-post-permalink-editor__edit{min-width:10%;width:100%;margin:0 3px;padding:2px 4px}.editor-post-permalink-editor__suffix{color:#6c7781;margin-left:6px;flex:0 0 0%}.editor-post-permalink-editor__prefix{text-align:right}.editor-post-permalink__link{text-align:left}.editor-post-permalink__editor-container,.editor-post-permalink__link{direction:ltr}.editor-post-permalink__link:after{content:"";display:block;position:absolute;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;background:linear-gradient(90deg,hsla(0,0%,100%,0),#fff 90%);top:0;bottom:0;right:0;left:auto;width:20%;height:auto}.editor-post-publish-panel{background:#fff}.editor-post-publish-panel__content{min-height:calc(100% - 140px)}.editor-post-publish-panel__content .components-spinner{display:block;float:none;margin:100px auto 0}.editor-post-publish-panel__header{background:#fff;padding-right:8px;padding-left:8px;height:56px;border-bottom:1px solid #e2e4e7;display:flex;align-items:center;align-content:space-between}.editor-post-publish-panel__header .components-icon-button{position:absolute;left:8px}.editor-post-publish-panel__header-publish-button{display:flex;justify-content:flex-end;flex-grow:1;text-align:left;flex-wrap:nowrap}.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:#191e23}.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}.editor-post-publish-panel__prepublish .components-datetime{padding:0}.post-publish-panel__postpublish .components-panel__body{border-bottom:1px solid #e2e4e7;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:#e8eaeb;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:#555d66;overflow:hidden;white-space:nowrap}.editor-post-saved-state .dashicon{display:inline-block;flex:0 0 auto;margin-left:8px}@media (min-width:600px){.editor-post-saved-state{width:auto;padding:8px 12px;text-indent:inherit}.editor-post-saved-state .dashicon{margin-left:4px}}.edit-post-header .edit-post-header__settings .components-button.editor-post-save-draft{margin:0}.editor-post-taxonomies__hierarchical-terms-list{max-height:14em;overflow:auto;padding-right:2px}.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-text-editor{border:1px solid #e2e4e7!important;display:block;margin:0 0 2em;width:100%;box-shadow:none;resize:none;overflow:hidden;font-family:Menlo,Consolas,monaco,monospace!important;line-height:150%;border-radius:0!important;font-size:16px!important}@media (min-width:600px){.editor-post-text-editor{font-size:14px!important}}.editor-post-text-editor:focus,.editor-post-text-editor:hover{border:1px solid #b5bcc2!important;box-shadow:none!important;outline-offset:-2px!important}.editor-post-text-editor__toolbar{display:flex;flex-direction:row;flex-wrap:wrap}.editor-post-text-editor__toolbar button{height:30px;background:none;padding:0 8px;margin:3px 4px;text-align:center;cursor:pointer;font-family:Menlo,Consolas,monaco,monospace;color:#555d66;border:1px solid transparent}.editor-post-text-editor__toolbar button:first-child{margin-right:0}.editor-post-text-editor__toolbar button:focus,.editor-post-text-editor__toolbar button:hover{outline:none;border:1px solid #555d66}.editor-post-text-editor__bold{font-weight:600}.editor-post-text-editor__italic{font-style:italic}.editor-post-text-editor__link{text-decoration:underline;color:#0085ba}body.admin-color-sunrise .editor-post-text-editor__link{color:#d1864a}body.admin-color-ocean .editor-post-text-editor__link{color:#a3b9a2}body.admin-color-midnight .editor-post-text-editor__link{color:#e14d43}body.admin-color-ectoplasm .editor-post-text-editor__link{color:#a7b656}body.admin-color-coffee .editor-post-text-editor__link{color:#c2a68c}body.admin-color-blue .editor-post-text-editor__link{color:#82b4cb}body.admin-color-light .editor-post-text-editor__link{color:#0085ba}.editor-post-text-editor__del{text-decoration:line-through}.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,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio{margin-top:2px}.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:28px}.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}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-password-input{margin-right:28px}.editor-post-title__block{position:relative;padding:5px 0;font-size:16px}@media (min-width:600px){.editor-post-title__block{padding:5px 2px}}.editor-post-title__block .editor-post-title__input{display:block;width:100%;margin:0;box-shadow:none;background:transparent;font-family:"Noto Serif",serif;line-height:1.4;color:#191e23;transition:border .1s ease-out,box-shadow .1s linear;padding:19px 14px;word-break:keep-all;border-color:transparent;border-style:solid;border-width:1px 0;border-radius:0;outline:1px solid transparent;font-size:2.44em;font-weight:600}@media (prefers-reduced-motion:reduce){.editor-post-title__block .editor-post-title__input{transition-duration:0s}}@media (min-width:600px){.editor-post-title__block .editor-post-title__input{border-width:1px 0 1px 1px}}.editor-post-title__block .editor-post-title__input::-webkit-input-placeholder{color:rgba(22,36,53,.55)}.editor-post-title__block .editor-post-title__input::-moz-placeholder{color:rgba(22,36,53,.55)}.editor-post-title__block .editor-post-title__input:-ms-input-placeholder{color:rgba(22,36,53,.55)}.editor-post-title__block .editor-post-title__input:focus{border:1px solid transparent;border-right-width:0;outline:1px solid transparent;box-shadow:none}.editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input{border-color:rgba(66,88,99,.4);box-shadow:inset -3px 0 0 0 #555d66}.is-dark-theme .editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input{border-color:hsla(0,0%,100%,.45);box-shadow:inset -3px 0 0 0 #d7dade}@media (min-width:600px){.editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input{box-shadow:3px 0 0 0 #555d66}.is-dark-theme .editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input{box-shadow:3px 0 0 0 #d7dade}}.editor-post-title__block.is-focus-mode .editor-post-title__input{opacity:.5;transition:opacity .1s linear}@media (prefers-reduced-motion:reduce){.editor-post-title__block.is-focus-mode .editor-post-title__input{transition-duration:0s}}.editor-post-title__block.is-focus-mode .editor-post-title__input:focus{opacity:1}.editor-post-title .editor-post-permalink{font-size:13px;color:#191e23;height:auto;position:relative;right:3px;top:-2px;width:calc(100% - 3px)}@media (min-width:480px){.editor-post-title .editor-post-permalink{position:absolute;top:-34px;left:0;flex-wrap:nowrap;width:auto}}@media (min-width:600px){.editor-post-title .editor-post-permalink{right:2px;left:2px}}.editor-post-trash.components-button{width:100%;color:#b52727;border-color:#b52727;justify-content:center}.editor-post-trash.components-button:focus,.editor-post-trash.components-button:hover{color:#a02222;border-color:#a02222}.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{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{color:#191e23;outline-offset:-1px;outline:1px dotted #555d66;outline-offset:8px}.table-of-contents__counts{display:flex;flex-wrap:wrap;margin:0}.table-of-contents__count{flex-basis:25%;display:flex;flex-direction:column;font-size:13px;color:#6c7781;padding-left:8px;margin-bottom:0}.table-of-contents__count:last-child{padding-left:0}.table-of-contents__number,.table-of-contents__popover .word-count{font-size:21px;font-weight:400;line-height:30px;color:#555d66}.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";.editor-autocompleters__block .block-editor-block-icon{margin-left:8px}.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:#8f98a1;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:#66c6e4}.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:#e2e4e7;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:#23282d;text-align:right}.document-outline__button:disabled{cursor:default}.document-outline__button:focus{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;outline:2px solid transparent}.document-outline__level{background:#e2e4e7;color:#23282d;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:-webkit-sticky;position:sticky;top:56px;left:0;color:#191e23}@media (min-width:600px){.components-editor-notices__dismissible{top:0}}.components-editor-notices__pinned{position:relative;right:0;top:0;left:0;color:#191e23}.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:6px 12px;min-height:60px}.components-editor-notices__dismissible .components-notice .components-notice__dismiss,.components-editor-notices__pinned .components-notice .components-notice__dismiss{margin:6px 5px 6px -5px}.components-editor-notices__snackbar{width:100%}.editor-entities-saved-states__save-button{display:block;margin-right:auto;margin-left:0}.editor-error-boundary{max-width:780px;padding:20px;margin:60px auto auto;box-shadow:0 3px 30px rgba(25,30,35,.2)}.editor-page-attributes__template{margin-bottom:10px}.editor-page-attributes__order,.editor-page-attributes__template label,.editor-page-attributes__template select{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 #00a0d2}@media (prefers-reduced-motion:reduce){.editor-post-featured-image__preview,.editor-post-featured-image__toggle{transition-duration:0s}}.editor-post-featured-image__preview:not(:disabled):not([aria-disabled=true]):focus{box-shadow:0 0 0 4px #00a0d2}.editor-post-featured-image__toggle{border:1px dashed #a2aab2;background-color:#edeff0;min-height:90px;line-height:20px;padding:8px 0;text-align:center}.editor-post-featured-image__toggle:hover{background-color:#f8f9f9}.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:not(:disabled):not([aria-disabled=true]).editor-post-last-revision__title{height:auto}.components-button:not(:disabled):not([aria-disabled=true]).editor-post-last-revision__title:active,.components-button:not(:disabled):not([aria-disabled=true]).editor-post-last-revision__title:hover{background:#f3f4f5!important;border:none!important;box-shadow:none!important}.components-button:not(:disabled):not([aria-disabled=true]).editor-post-last-revision__title:focus{color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.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-permalink{display:inline-flex;align-items:center;flex-wrap:wrap;background:#fff;padding:8px 8px 0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;height:40px;white-space:nowrap;border:1px solid #b5bcc2;background-clip:padding-box;border-right:0;box-shadow:3px 0 0 0 #555d66;outline:1px solid transparent;margin-right:-15px;margin-left:-15px}.is-dark-theme .editor-post-permalink{box-shadow:3px 0 0 0 #d7dade}@media (min-width:480px){.editor-post-permalink{padding:4px}}@media (min-width:600px){.editor-post-permalink{margin-right:-1px;margin-left:-1px}}.editor-post-permalink.editor-post-permalink>*{margin-bottom:8px}@media (min-width:480px){.editor-post-permalink.editor-post-permalink>*{margin-bottom:0}}.editor-post-permalink button{flex-shrink:0}.editor-post-permalink__copy{border-radius:4px;padding:6px}.editor-post-permalink__copy.is-copied{opacity:.3}.editor-post-permalink__label{margin:0 5px 0 10px;font-weight:600}.editor-post-permalink__link{color:#7e8993;text-decoration:underline;margin-left:10px;flex-grow:1;overflow:hidden;position:relative;white-space:nowrap;text-align:right}.editor-post-permalink-editor{width:100%;min-width:20%;display:inline-flex;align-items:center}.editor-post-permalink-editor .editor-post-permalink__editor-container{flex:0 1 100%;display:flex;overflow:hidden;padding:1px 0}.editor-post-permalink-editor .editor-post-permalink__editor-container .editor-post-permalink-editor__prefix{flex:1 1 auto}@media (min-width:600px){.editor-post-permalink-editor .editor-post-permalink__editor-container .editor-post-permalink-editor__prefix{flex:1 0 auto}}.editor-post-permalink-editor .editor-post-permalink__editor-container .editor-post-permalink-editor__edit{flex:1 1 100%}.editor-post-permalink-editor .editor-post-permalink-editor__save{margin-right:auto}.editor-post-permalink-editor__prefix{color:#6c7781;min-width:20%;overflow:hidden;position:relative;white-space:nowrap;text-overflow:ellipsis}.editor-post-permalink input[type=text].editor-post-permalink-editor__edit{min-width:10%;width:100%;margin:0 3px;padding:2px 4px}.editor-post-permalink-editor__suffix{color:#6c7781;margin-left:6px;flex:0 0 0%}.editor-post-permalink-editor__prefix{text-align:right}.editor-post-permalink__link{text-align:left}.editor-post-permalink__editor-container,.editor-post-permalink__link{direction:ltr}.editor-post-permalink__link:after{content:"";display:block;position:absolute;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;background:linear-gradient(90deg,hsla(0,0%,100%,0),#fff 90%);top:0;bottom:0;right:0;left:auto;width:20%;height:auto}.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% - 140px)}.editor-post-publish-panel__content .components-spinner{display:block;float:none;margin:100px auto 0}.editor-post-publish-panel__header{background:#fff;padding-right:8px;padding-left:8px;height:56px;border-bottom:1px solid #e2e4e7;display:flex;align-items:center;align-content:space-between}.editor-post-publish-panel__header .components-button.has-icon{position:absolute;left:8px}.editor-post-publish-panel__header-publish-button{display:flex;justify-content:flex-end;flex-grow:1;text-align:left;flex-wrap:nowrap}.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:#191e23}.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}.editor-post-publish-panel__prepublish .components-datetime{padding:0}.post-publish-panel__postpublish .components-panel__body{border-bottom:1px solid #e2e4e7;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:#e8eaeb;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:#555d66;overflow:hidden;white-space:nowrap}.editor-post-saved-state .dashicon{display:inline-block;flex:0 0 auto;margin-left:8px}@media (min-width:600px){.editor-post-saved-state{width:auto;padding:8px 12px;text-indent:inherit}.editor-post-saved-state .dashicon{margin-left:4px}}.edit-post-header .edit-post-header__settings .components-button.editor-post-save-draft{margin:0}.editor-post-taxonomies__hierarchical-terms-list{max-height:14em;overflow:auto;padding-right:2px}.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-text-editor{border:1px solid #e2e4e7!important;display:block;margin:0 0 2em;width:100%;box-shadow:none;resize:none;overflow:hidden;font-family:Menlo,Consolas,monaco,monospace!important;line-height:150%;border-radius:0!important;font-size:16px!important}@media (min-width:600px){.editor-post-text-editor{font-size:14px!important}}.editor-post-text-editor:focus,.editor-post-text-editor:hover{border:1px solid #b5bcc2!important;box-shadow:none!important;outline-offset:-2px!important}.editor-post-text-editor__toolbar{display:flex;flex-direction:row;flex-wrap:wrap}.editor-post-text-editor__toolbar button{height:30px;background:none;padding:0 8px;margin:3px 4px;text-align:center;cursor:pointer;font-family:Menlo,Consolas,monaco,monospace;color:#555d66;border:1px solid transparent}.editor-post-text-editor__toolbar button:first-child{margin-right:0}.editor-post-text-editor__toolbar button:focus,.editor-post-text-editor__toolbar button:hover{outline:none;border:1px solid #555d66}.editor-post-text-editor__bold{font-weight:600}.editor-post-text-editor__italic{font-style:italic}.editor-post-text-editor__link{text-decoration:underline;color:#0085ba}body.admin-color-sunrise .editor-post-text-editor__link{color:#d1864a}body.admin-color-ocean .editor-post-text-editor__link{color:#a3b9a2}body.admin-color-midnight .editor-post-text-editor__link{color:#e14d43}body.admin-color-ectoplasm .editor-post-text-editor__link{color:#a7b656}body.admin-color-coffee .editor-post-text-editor__link{color:#c2a68c}body.admin-color-blue .editor-post-text-editor__link{color:#82b4cb}body.admin-color-light .editor-post-text-editor__link{color:#0085ba}.editor-post-text-editor__del{text-decoration:line-through}.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,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio{margin-top:2px}.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:28px}.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}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-password-input{margin-right:28px}.editor-post-title__block{position:relative;padding:5px 0;font-size:16px}@media (min-width:600px){.editor-post-title__block{padding:5px 2px}}.editor-post-title__block .editor-post-title__input{display:block;width:100%;margin:0;box-shadow:none;background:transparent;font-family:"Noto Serif",serif;line-height:1.4;color:#191e23;transition:border .1s ease-out,box-shadow .1s linear;padding:19px 14px;word-break:keep-all;border-color:transparent;border-style:solid;border-width:1px 0;border-radius:0;outline:1px solid transparent;font-size:2.44em;font-weight:600}@media (prefers-reduced-motion:reduce){.editor-post-title__block .editor-post-title__input{transition-duration:0s}}@media (min-width:600px){.editor-post-title__block .editor-post-title__input{border-width:1px 0 1px 1px}}.editor-post-title__block .editor-post-title__input::-webkit-input-placeholder{color:rgba(22,36,53,.55)}.editor-post-title__block .editor-post-title__input::-moz-placeholder{color:rgba(22,36,53,.55)}.editor-post-title__block .editor-post-title__input:-ms-input-placeholder{color:rgba(22,36,53,.55)}.editor-post-title__block .editor-post-title__input:focus{border:1px solid transparent;border-right-width:0;outline:1px solid transparent;box-shadow:none}.editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input{border-color:rgba(66,88,99,.4);box-shadow:inset -3px 0 0 0 #555d66}.is-dark-theme .editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input{border-color:hsla(0,0%,100%,.45);box-shadow:inset -3px 0 0 0 #d7dade}@media (min-width:600px){.editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input{box-shadow:3px 0 0 0 #555d66}.is-dark-theme .editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input{box-shadow:3px 0 0 0 #d7dade}}.editor-post-title__block.is-focus-mode .editor-post-title__input{opacity:.5;transition:opacity .1s linear}@media (prefers-reduced-motion:reduce){.editor-post-title__block.is-focus-mode .editor-post-title__input{transition-duration:0s}}.editor-post-title__block.is-focus-mode .editor-post-title__input:focus{opacity:1}.editor-post-title .editor-post-permalink{font-size:13px;color:#191e23;height:auto;position:relative;right:3px;top:-2px;width:calc(100% - 3px)}@media (min-width:480px){.editor-post-title .editor-post-permalink{position:absolute;top:-34px;left:0;flex-wrap:nowrap;width:auto}}@media (min-width:600px){.editor-post-title .editor-post-permalink{right:2px;left:2px}}.editor-post-trash.components-button{color:#b52727;border-color:#b52727;justify-content:center}.editor-post-trash.components-button:focus,.editor-post-trash.components-button:hover{color:#a02222;border-color:#a02222}.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{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{color:#191e23;outline-offset:-1px;outline:1px dotted #555d66;outline-offset:8px}.table-of-contents__counts{display:flex;flex-wrap:wrap;margin:0}.table-of-contents__count{flex-basis:25%;display:flex;flex-direction:column;font-size:13px;color:#6c7781;padding-left:8px;margin-bottom:0}.table-of-contents__count:last-child{padding-left:0}.table-of-contents__number,.table-of-contents__popover .word-count{font-size:21px;font-weight:400;line-height:30px;color:#555d66}.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 6f8a738fc7..eb284d6af7 100644 --- a/wp-includes/css/dist/editor/style.css +++ b/wp-includes/css/dist/editor/style.css @@ -5,6 +5,9 @@ /** * Breakpoints & Media Queries */ +/** + * Colors + */ /** * Often re-used variables */ @@ -36,7 +39,7 @@ /** * Reset the WP Admin page styles for Gutenberg-like pages. */ -.editor-autocompleters__block .editor-block-icon { +.editor-autocompleters__block .block-editor-block-icon { margin-right: 8px; } .editor-autocompleters__user .editor-autocompleters__user-avatar { @@ -155,6 +158,11 @@ .components-editor-notices__snackbar { width: 100%; } +.editor-entities-saved-states__save-button { + display: block; + margin-left: auto; + margin-right: 0; } + .editor-error-boundary { margin: auto; max-width: 780px; @@ -245,16 +253,18 @@ .editor-post-last-revision__title .dashicon { margin-right: 5px; } -.components-icon-button:not(:disabled):not([aria-disabled="true"]).editor-post-last-revision__title:hover, .components-icon-button:not(:disabled):not([aria-disabled="true"]).editor-post-last-revision__title:active { - border: none; - box-shadow: none; } - -.components-icon-button:not(:disabled):not([aria-disabled="true"]).editor-post-last-revision__title:focus { - color: #191e23; - border: none; - box-shadow: none; - outline-offset: -2px; - outline: 1px dotted #555d66; } +.components-button:not(:disabled):not([aria-disabled="true"]).editor-post-last-revision__title { + height: auto; } + .components-button:not(:disabled):not([aria-disabled="true"]).editor-post-last-revision__title:hover, .components-button:not(:disabled):not([aria-disabled="true"]).editor-post-last-revision__title:active { + background: #f3f4f5 !important; + border: none !important; + box-shadow: none !important; } + .components-button:not(:disabled):not([aria-disabled="true"]).editor-post-last-revision__title:focus { + color: #191e23; + border: none; + box-shadow: none; + outline-offset: -2px; + outline: 1px dotted #555d66; } .editor-post-locked-modal { height: auto; @@ -401,6 +411,14 @@ height: auto; } /* rtl:end:ignore */ +.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; } @@ -420,7 +438,7 @@ display: flex; align-items: center; align-content: space-between; } - .editor-post-publish-panel__header .components-icon-button { + .editor-post-publish-panel__header .components-button.has-icon { position: absolute; right: 8px; } @@ -739,7 +757,6 @@ body.admin-color-light .editor-post-text-editor__link{ right: 2px; } } .editor-post-trash.components-button { - width: 100%; color: #b52727; border-color: #b52727; justify-content: center; } diff --git a/wp-includes/css/dist/editor/style.min.css b/wp-includes/css/dist/editor/style.min.css index c865e5c4a9..a24809f3c6 100644 --- a/wp-includes/css/dist/editor/style.min.css +++ b/wp-includes/css/dist/editor/style.min.css @@ -1 +1 @@ -@charset "UTF-8";.editor-autocompleters__block .editor-block-icon{margin-right:8px}.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:#8f98a1;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:#66c6e4}.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:#e2e4e7;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:#23282d;text-align:left}.document-outline__button:disabled{cursor:default}.document-outline__button:focus{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;outline:2px solid transparent}.document-outline__level{background:#e2e4e7;color:#23282d;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:-webkit-sticky;position:sticky;top:56px;right:0;color:#191e23}@media (min-width:600px){.components-editor-notices__dismissible{top:0}}.components-editor-notices__pinned{position:relative;left:0;top:0;right:0;color:#191e23}.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:6px 12px;min-height:60px}.components-editor-notices__dismissible .components-notice .components-notice__dismiss,.components-editor-notices__pinned .components-notice .components-notice__dismiss{margin:6px -5px 6px 5px}.components-editor-notices__snackbar{width:100%}.editor-error-boundary{max-width:780px;padding:20px;margin:60px auto auto;box-shadow:0 3px 30px rgba(25,30,35,.2)}.editor-page-attributes__template{margin-bottom:10px}.editor-page-attributes__order,.editor-page-attributes__template label,.editor-page-attributes__template select{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 #00a0d2}@media (prefers-reduced-motion:reduce){.editor-post-featured-image__preview,.editor-post-featured-image__toggle{transition-duration:0s}}.editor-post-featured-image__preview:not(:disabled):not([aria-disabled=true]):focus{box-shadow:0 0 0 4px #00a0d2}.editor-post-featured-image__toggle{border:1px dashed #a2aab2;background-color:#edeff0;min-height:90px;line-height:20px;padding:8px 0;text-align:center}.editor-post-featured-image__toggle:hover{background-color:#f8f9f9}.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-icon-button:not(:disabled):not([aria-disabled=true]).editor-post-last-revision__title:active,.components-icon-button:not(:disabled):not([aria-disabled=true]).editor-post-last-revision__title:hover{border:none;box-shadow:none}.components-icon-button:not(:disabled):not([aria-disabled=true]).editor-post-last-revision__title:focus{color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.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-permalink{display:inline-flex;align-items:center;flex-wrap:wrap;background:#fff;padding:8px 8px 0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;height:40px;white-space:nowrap;border:1px solid #b5bcc2;background-clip:padding-box;border-left:0;box-shadow:-3px 0 0 0 #555d66;outline:1px solid transparent;margin-left:-15px;margin-right:-15px}.is-dark-theme .editor-post-permalink{box-shadow:-3px 0 0 0 #d7dade}@media (min-width:480px){.editor-post-permalink{padding:4px}}@media (min-width:600px){.editor-post-permalink{margin-left:-1px;margin-right:-1px}}.editor-post-permalink.editor-post-permalink>*{margin-bottom:8px}@media (min-width:480px){.editor-post-permalink.editor-post-permalink>*{margin-bottom:0}}.editor-post-permalink button{flex-shrink:0}.editor-post-permalink__copy{border-radius:4px;padding:6px}.editor-post-permalink__copy.is-copied{opacity:.3}.editor-post-permalink__label{margin:0 10px 0 5px;font-weight:600}.editor-post-permalink__link{color:#7e8993;text-decoration:underline;margin-right:10px;flex-grow:1;overflow:hidden;position:relative;white-space:nowrap}.editor-post-permalink-editor{width:100%;min-width:20%;display:inline-flex;align-items:center}.editor-post-permalink-editor .editor-post-permalink__editor-container{flex:0 1 100%;display:flex;overflow:hidden;padding:1px 0}.editor-post-permalink-editor .editor-post-permalink__editor-container .editor-post-permalink-editor__prefix{flex:1 1 auto}@media (min-width:600px){.editor-post-permalink-editor .editor-post-permalink__editor-container .editor-post-permalink-editor__prefix{flex:1 0 auto}}.editor-post-permalink-editor .editor-post-permalink__editor-container .editor-post-permalink-editor__edit{flex:1 1 100%}.editor-post-permalink-editor .editor-post-permalink-editor__save{margin-left:auto}.editor-post-permalink-editor__prefix{color:#6c7781;min-width:20%;overflow:hidden;position:relative;white-space:nowrap;text-overflow:ellipsis}.editor-post-permalink input[type=text].editor-post-permalink-editor__edit{min-width:10%;width:100%;margin:0 3px;padding:2px 4px}.editor-post-permalink-editor__suffix{color:#6c7781;margin-right:6px;flex:0 0 0%}.editor-post-permalink-editor__prefix,.editor-post-permalink__link{text-align:left}.editor-post-permalink__editor-container,.editor-post-permalink__link{direction:ltr}.editor-post-permalink__link:after{content:"";display:block;position:absolute;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;background:linear-gradient(90deg,hsla(0,0%,100%,0),#fff 90%);top:0;bottom:0;right:0;left:auto;width:20%;height:auto}.editor-post-publish-panel{background:#fff}.editor-post-publish-panel__content{min-height:calc(100% - 140px)}.editor-post-publish-panel__content .components-spinner{display:block;float:none;margin:100px auto 0}.editor-post-publish-panel__header{background:#fff;padding-left:8px;padding-right:8px;height:56px;border-bottom:1px solid #e2e4e7;display:flex;align-items:center;align-content:space-between}.editor-post-publish-panel__header .components-icon-button{position:absolute;right:8px}.editor-post-publish-panel__header-publish-button{display:flex;justify-content:flex-end;flex-grow:1;text-align:right;flex-wrap:nowrap}.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:#191e23}.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}.editor-post-publish-panel__prepublish .components-datetime{padding:0}.post-publish-panel__postpublish .components-panel__body{border-bottom:1px solid #e2e4e7;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:#e8eaeb;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:#555d66;overflow:hidden;white-space:nowrap}.editor-post-saved-state .dashicon{display:inline-block;flex:0 0 auto;margin-right:8px}@media (min-width:600px){.editor-post-saved-state{width:auto;padding:8px 12px;text-indent:inherit}.editor-post-saved-state .dashicon{margin-right:4px}}.edit-post-header .edit-post-header__settings .components-button.editor-post-save-draft{margin:0}.editor-post-taxonomies__hierarchical-terms-list{max-height:14em;overflow:auto;padding-left:2px}.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-text-editor{border:1px solid #e2e4e7!important;display:block;margin:0 0 2em;width:100%;box-shadow:none;resize:none;overflow:hidden;font-family:Menlo,Consolas,monaco,monospace!important;line-height:150%;border-radius:0!important;font-size:16px!important}@media (min-width:600px){.editor-post-text-editor{font-size:14px!important}}.editor-post-text-editor:focus,.editor-post-text-editor:hover{border:1px solid #b5bcc2!important;box-shadow:none!important;outline-offset:-2px!important}.editor-post-text-editor__toolbar{display:flex;flex-direction:row;flex-wrap:wrap}.editor-post-text-editor__toolbar button{height:30px;background:none;padding:0 8px;margin:3px 4px;text-align:center;cursor:pointer;font-family:Menlo,Consolas,monaco,monospace;color:#555d66;border:1px solid transparent}.editor-post-text-editor__toolbar button:first-child{margin-left:0}.editor-post-text-editor__toolbar button:focus,.editor-post-text-editor__toolbar button:hover{outline:none;border:1px solid #555d66}.editor-post-text-editor__bold{font-weight:600}.editor-post-text-editor__italic{font-style:italic}.editor-post-text-editor__link{text-decoration:underline;color:#0085ba}body.admin-color-sunrise .editor-post-text-editor__link{color:#d1864a}body.admin-color-ocean .editor-post-text-editor__link{color:#a3b9a2}body.admin-color-midnight .editor-post-text-editor__link{color:#e14d43}body.admin-color-ectoplasm .editor-post-text-editor__link{color:#a7b656}body.admin-color-coffee .editor-post-text-editor__link{color:#c2a68c}body.admin-color-blue .editor-post-text-editor__link{color:#82b4cb}body.admin-color-light .editor-post-text-editor__link{color:#0085ba}.editor-post-text-editor__del{text-decoration:line-through}.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,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio{margin-top:2px}.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:28px}.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}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-password-input{margin-left:28px}.editor-post-title__block{position:relative;padding:5px 0;font-size:16px}@media (min-width:600px){.editor-post-title__block{padding:5px 2px}}.editor-post-title__block .editor-post-title__input{display:block;width:100%;margin:0;box-shadow:none;background:transparent;font-family:"Noto Serif",serif;line-height:1.4;color:#191e23;transition:border .1s ease-out,box-shadow .1s linear;padding:19px 14px;word-break:keep-all;border-color:transparent;border-style:solid;border-width:1px 0;border-radius:0;outline:1px solid transparent;font-size:2.44em;font-weight:600}@media (prefers-reduced-motion:reduce){.editor-post-title__block .editor-post-title__input{transition-duration:0s}}@media (min-width:600px){.editor-post-title__block .editor-post-title__input{border-width:1px 1px 1px 0}}.editor-post-title__block .editor-post-title__input::-webkit-input-placeholder{color:rgba(22,36,53,.55)}.editor-post-title__block .editor-post-title__input::-moz-placeholder{color:rgba(22,36,53,.55)}.editor-post-title__block .editor-post-title__input:-ms-input-placeholder{color:rgba(22,36,53,.55)}.editor-post-title__block .editor-post-title__input:focus{border:1px solid transparent;border-left-width:0;outline:1px solid transparent;box-shadow:none}.editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input{border-color:rgba(66,88,99,.4);box-shadow:inset 3px 0 0 0 #555d66}.is-dark-theme .editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input{border-color:hsla(0,0%,100%,.45);box-shadow:inset 3px 0 0 0 #d7dade}@media (min-width:600px){.editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input{box-shadow:-3px 0 0 0 #555d66}.is-dark-theme .editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input{box-shadow:-3px 0 0 0 #d7dade}}.editor-post-title__block.is-focus-mode .editor-post-title__input{opacity:.5;transition:opacity .1s linear}@media (prefers-reduced-motion:reduce){.editor-post-title__block.is-focus-mode .editor-post-title__input{transition-duration:0s}}.editor-post-title__block.is-focus-mode .editor-post-title__input:focus{opacity:1}.editor-post-title .editor-post-permalink{font-size:13px;color:#191e23;height:auto;position:relative;left:3px;top:-2px;width:calc(100% - 3px)}@media (min-width:480px){.editor-post-title .editor-post-permalink{position:absolute;top:-34px;right:0;flex-wrap:nowrap;width:auto}}@media (min-width:600px){.editor-post-title .editor-post-permalink{left:2px;right:2px}}.editor-post-trash.components-button{width:100%;color:#b52727;border-color:#b52727;justify-content:center}.editor-post-trash.components-button:focus,.editor-post-trash.components-button:hover{color:#a02222;border-color:#a02222}.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{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{color:#191e23;outline-offset:-1px;outline:1px dotted #555d66;outline-offset:8px}.table-of-contents__counts{display:flex;flex-wrap:wrap;margin:0}.table-of-contents__count{flex-basis:25%;display:flex;flex-direction:column;font-size:13px;color:#6c7781;padding-right:8px;margin-bottom:0}.table-of-contents__count:last-child{padding-right:0}.table-of-contents__number,.table-of-contents__popover .word-count{font-size:21px;font-weight:400;line-height:30px;color:#555d66}.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";.editor-autocompleters__block .block-editor-block-icon{margin-right:8px}.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:#8f98a1;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:#66c6e4}.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:#e2e4e7;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:#23282d;text-align:left}.document-outline__button:disabled{cursor:default}.document-outline__button:focus{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff;outline:2px solid transparent}.document-outline__level{background:#e2e4e7;color:#23282d;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:-webkit-sticky;position:sticky;top:56px;right:0;color:#191e23}@media (min-width:600px){.components-editor-notices__dismissible{top:0}}.components-editor-notices__pinned{position:relative;left:0;top:0;right:0;color:#191e23}.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:6px 12px;min-height:60px}.components-editor-notices__dismissible .components-notice .components-notice__dismiss,.components-editor-notices__pinned .components-notice .components-notice__dismiss{margin:6px -5px 6px 5px}.components-editor-notices__snackbar{width:100%}.editor-entities-saved-states__save-button{display:block;margin-left:auto;margin-right:0}.editor-error-boundary{max-width:780px;padding:20px;margin:60px auto auto;box-shadow:0 3px 30px rgba(25,30,35,.2)}.editor-page-attributes__template{margin-bottom:10px}.editor-page-attributes__order,.editor-page-attributes__template label,.editor-page-attributes__template select{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 #00a0d2}@media (prefers-reduced-motion:reduce){.editor-post-featured-image__preview,.editor-post-featured-image__toggle{transition-duration:0s}}.editor-post-featured-image__preview:not(:disabled):not([aria-disabled=true]):focus{box-shadow:0 0 0 4px #00a0d2}.editor-post-featured-image__toggle{border:1px dashed #a2aab2;background-color:#edeff0;min-height:90px;line-height:20px;padding:8px 0;text-align:center}.editor-post-featured-image__toggle:hover{background-color:#f8f9f9}.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:not(:disabled):not([aria-disabled=true]).editor-post-last-revision__title{height:auto}.components-button:not(:disabled):not([aria-disabled=true]).editor-post-last-revision__title:active,.components-button:not(:disabled):not([aria-disabled=true]).editor-post-last-revision__title:hover{background:#f3f4f5!important;border:none!important;box-shadow:none!important}.components-button:not(:disabled):not([aria-disabled=true]).editor-post-last-revision__title:focus{color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.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-permalink{display:inline-flex;align-items:center;flex-wrap:wrap;background:#fff;padding:8px 8px 0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;height:40px;white-space:nowrap;border:1px solid #b5bcc2;background-clip:padding-box;border-left:0;box-shadow:-3px 0 0 0 #555d66;outline:1px solid transparent;margin-left:-15px;margin-right:-15px}.is-dark-theme .editor-post-permalink{box-shadow:-3px 0 0 0 #d7dade}@media (min-width:480px){.editor-post-permalink{padding:4px}}@media (min-width:600px){.editor-post-permalink{margin-left:-1px;margin-right:-1px}}.editor-post-permalink.editor-post-permalink>*{margin-bottom:8px}@media (min-width:480px){.editor-post-permalink.editor-post-permalink>*{margin-bottom:0}}.editor-post-permalink button{flex-shrink:0}.editor-post-permalink__copy{border-radius:4px;padding:6px}.editor-post-permalink__copy.is-copied{opacity:.3}.editor-post-permalink__label{margin:0 10px 0 5px;font-weight:600}.editor-post-permalink__link{color:#7e8993;text-decoration:underline;margin-right:10px;flex-grow:1;overflow:hidden;position:relative;white-space:nowrap}.editor-post-permalink-editor{width:100%;min-width:20%;display:inline-flex;align-items:center}.editor-post-permalink-editor .editor-post-permalink__editor-container{flex:0 1 100%;display:flex;overflow:hidden;padding:1px 0}.editor-post-permalink-editor .editor-post-permalink__editor-container .editor-post-permalink-editor__prefix{flex:1 1 auto}@media (min-width:600px){.editor-post-permalink-editor .editor-post-permalink__editor-container .editor-post-permalink-editor__prefix{flex:1 0 auto}}.editor-post-permalink-editor .editor-post-permalink__editor-container .editor-post-permalink-editor__edit{flex:1 1 100%}.editor-post-permalink-editor .editor-post-permalink-editor__save{margin-left:auto}.editor-post-permalink-editor__prefix{color:#6c7781;min-width:20%;overflow:hidden;position:relative;white-space:nowrap;text-overflow:ellipsis}.editor-post-permalink input[type=text].editor-post-permalink-editor__edit{min-width:10%;width:100%;margin:0 3px;padding:2px 4px}.editor-post-permalink-editor__suffix{color:#6c7781;margin-right:6px;flex:0 0 0%}.editor-post-permalink-editor__prefix,.editor-post-permalink__link{text-align:left}.editor-post-permalink__editor-container,.editor-post-permalink__link{direction:ltr}.editor-post-permalink__link:after{content:"";display:block;position:absolute;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;background:linear-gradient(90deg,hsla(0,0%,100%,0),#fff 90%);top:0;bottom:0;right:0;left:auto;width:20%;height:auto}.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% - 140px)}.editor-post-publish-panel__content .components-spinner{display:block;float:none;margin:100px auto 0}.editor-post-publish-panel__header{background:#fff;padding-left:8px;padding-right:8px;height:56px;border-bottom:1px solid #e2e4e7;display:flex;align-items:center;align-content:space-between}.editor-post-publish-panel__header .components-button.has-icon{position:absolute;right:8px}.editor-post-publish-panel__header-publish-button{display:flex;justify-content:flex-end;flex-grow:1;text-align:right;flex-wrap:nowrap}.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:#191e23}.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}.editor-post-publish-panel__prepublish .components-datetime{padding:0}.post-publish-panel__postpublish .components-panel__body{border-bottom:1px solid #e2e4e7;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:#e8eaeb;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:#555d66;overflow:hidden;white-space:nowrap}.editor-post-saved-state .dashicon{display:inline-block;flex:0 0 auto;margin-right:8px}@media (min-width:600px){.editor-post-saved-state{width:auto;padding:8px 12px;text-indent:inherit}.editor-post-saved-state .dashicon{margin-right:4px}}.edit-post-header .edit-post-header__settings .components-button.editor-post-save-draft{margin:0}.editor-post-taxonomies__hierarchical-terms-list{max-height:14em;overflow:auto;padding-left:2px}.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-text-editor{border:1px solid #e2e4e7!important;display:block;margin:0 0 2em;width:100%;box-shadow:none;resize:none;overflow:hidden;font-family:Menlo,Consolas,monaco,monospace!important;line-height:150%;border-radius:0!important;font-size:16px!important}@media (min-width:600px){.editor-post-text-editor{font-size:14px!important}}.editor-post-text-editor:focus,.editor-post-text-editor:hover{border:1px solid #b5bcc2!important;box-shadow:none!important;outline-offset:-2px!important}.editor-post-text-editor__toolbar{display:flex;flex-direction:row;flex-wrap:wrap}.editor-post-text-editor__toolbar button{height:30px;background:none;padding:0 8px;margin:3px 4px;text-align:center;cursor:pointer;font-family:Menlo,Consolas,monaco,monospace;color:#555d66;border:1px solid transparent}.editor-post-text-editor__toolbar button:first-child{margin-left:0}.editor-post-text-editor__toolbar button:focus,.editor-post-text-editor__toolbar button:hover{outline:none;border:1px solid #555d66}.editor-post-text-editor__bold{font-weight:600}.editor-post-text-editor__italic{font-style:italic}.editor-post-text-editor__link{text-decoration:underline;color:#0085ba}body.admin-color-sunrise .editor-post-text-editor__link{color:#d1864a}body.admin-color-ocean .editor-post-text-editor__link{color:#a3b9a2}body.admin-color-midnight .editor-post-text-editor__link{color:#e14d43}body.admin-color-ectoplasm .editor-post-text-editor__link{color:#a7b656}body.admin-color-coffee .editor-post-text-editor__link{color:#c2a68c}body.admin-color-blue .editor-post-text-editor__link{color:#82b4cb}body.admin-color-light .editor-post-text-editor__link{color:#0085ba}.editor-post-text-editor__del{text-decoration:line-through}.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,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio{margin-top:2px}.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:28px}.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}.edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input,.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-password-input{margin-left:28px}.editor-post-title__block{position:relative;padding:5px 0;font-size:16px}@media (min-width:600px){.editor-post-title__block{padding:5px 2px}}.editor-post-title__block .editor-post-title__input{display:block;width:100%;margin:0;box-shadow:none;background:transparent;font-family:"Noto Serif",serif;line-height:1.4;color:#191e23;transition:border .1s ease-out,box-shadow .1s linear;padding:19px 14px;word-break:keep-all;border-color:transparent;border-style:solid;border-width:1px 0;border-radius:0;outline:1px solid transparent;font-size:2.44em;font-weight:600}@media (prefers-reduced-motion:reduce){.editor-post-title__block .editor-post-title__input{transition-duration:0s}}@media (min-width:600px){.editor-post-title__block .editor-post-title__input{border-width:1px 1px 1px 0}}.editor-post-title__block .editor-post-title__input::-webkit-input-placeholder{color:rgba(22,36,53,.55)}.editor-post-title__block .editor-post-title__input::-moz-placeholder{color:rgba(22,36,53,.55)}.editor-post-title__block .editor-post-title__input:-ms-input-placeholder{color:rgba(22,36,53,.55)}.editor-post-title__block .editor-post-title__input:focus{border:1px solid transparent;border-left-width:0;outline:1px solid transparent;box-shadow:none}.editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input{border-color:rgba(66,88,99,.4);box-shadow:inset 3px 0 0 0 #555d66}.is-dark-theme .editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input{border-color:hsla(0,0%,100%,.45);box-shadow:inset 3px 0 0 0 #d7dade}@media (min-width:600px){.editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input{box-shadow:-3px 0 0 0 #555d66}.is-dark-theme .editor-post-title__block:not(.is-focus-mode).is-selected .editor-post-title__input{box-shadow:-3px 0 0 0 #d7dade}}.editor-post-title__block.is-focus-mode .editor-post-title__input{opacity:.5;transition:opacity .1s linear}@media (prefers-reduced-motion:reduce){.editor-post-title__block.is-focus-mode .editor-post-title__input{transition-duration:0s}}.editor-post-title__block.is-focus-mode .editor-post-title__input:focus{opacity:1}.editor-post-title .editor-post-permalink{font-size:13px;color:#191e23;height:auto;position:relative;left:3px;top:-2px;width:calc(100% - 3px)}@media (min-width:480px){.editor-post-title .editor-post-permalink{position:absolute;top:-34px;right:0;flex-wrap:nowrap;width:auto}}@media (min-width:600px){.editor-post-title .editor-post-permalink{left:2px;right:2px}}.editor-post-trash.components-button{color:#b52727;border-color:#b52727;justify-content:center}.editor-post-trash.components-button:focus,.editor-post-trash.components-button:hover{color:#a02222;border-color:#a02222}.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{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{color:#191e23;outline-offset:-1px;outline:1px dotted #555d66;outline-offset:8px}.table-of-contents__counts{display:flex;flex-wrap:wrap;margin:0}.table-of-contents__count{flex-basis:25%;display:flex;flex-direction:column;font-size:13px;color:#6c7781;padding-right:8px;margin-bottom:0}.table-of-contents__count:last-child{padding-right:0}.table-of-contents__number,.table-of-contents__popover .word-count{font-size:21px;font-weight:400;line-height:30px;color:#555d66}.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/css/dist/format-library/style-rtl.css b/wp-includes/css/dist/format-library/style-rtl.css index 014b7a5908..a1455ee787 100644 --- a/wp-includes/css/dist/format-library/style-rtl.css +++ b/wp-includes/css/dist/format-library/style-rtl.css @@ -4,6 +4,9 @@ /** * Breakpoints & Media Queries */ +/** + * Colors + */ /** * Often re-used variables */ @@ -37,7 +40,7 @@ */ .block-editor-format-toolbar__image-container-content { display: flex; } - .block-editor-format-toolbar__image-container-content .components-icon-button { + .block-editor-format-toolbar__image-container-content .components-button { align-self: flex-end; height: 30px; margin-bottom: 8px; diff --git a/wp-includes/css/dist/format-library/style-rtl.min.css b/wp-includes/css/dist/format-library/style-rtl.min.css index e33829640b..9ff3852b28 100644 --- a/wp-includes/css/dist/format-library/style-rtl.min.css +++ b/wp-includes/css/dist/format-library/style-rtl.min.css @@ -1 +1 @@ -.block-editor-format-toolbar__image-container-content{display:flex}.block-editor-format-toolbar__image-container-content .components-icon-button{align-self:flex-end;height:30px;margin-bottom:8px;margin-left:8px;padding:0 6px}.block-editor-format-toolbar__image-container-value{margin:7px;flex-grow:1;flex-shrink:1;white-space:nowrap;min-width:150px;max-width:500px}.block-editor-format-toolbar__image-container-value.components-base-control .components-base-control__field{margin-bottom:0}.block-editor-format-toolbar__image-container-value.components-base-control .components-base-control__label{display:block}.block-editor-format-toolbar__link-container-content{display:flex}.block-editor-format-toolbar__link-container-value{margin:7px;flex-grow:1;flex-shrink:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:150px;max-width:500px}.block-editor-format-toolbar__link-container-value.has-invalid-link{color:#d94f4f} \ No newline at end of file +.block-editor-format-toolbar__image-container-content{display:flex}.block-editor-format-toolbar__image-container-content .components-button{align-self:flex-end;height:30px;margin-bottom:8px;margin-left:8px;padding:0 6px}.block-editor-format-toolbar__image-container-value{margin:7px;flex-grow:1;flex-shrink:1;white-space:nowrap;min-width:150px;max-width:500px}.block-editor-format-toolbar__image-container-value.components-base-control .components-base-control__field{margin-bottom:0}.block-editor-format-toolbar__image-container-value.components-base-control .components-base-control__label{display:block}.block-editor-format-toolbar__link-container-content{display:flex}.block-editor-format-toolbar__link-container-value{margin:7px;flex-grow:1;flex-shrink:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:150px;max-width:500px}.block-editor-format-toolbar__link-container-value.has-invalid-link{color:#d94f4f} \ No newline at end of file diff --git a/wp-includes/css/dist/format-library/style.css b/wp-includes/css/dist/format-library/style.css index 835a5b5977..c03037e399 100644 --- a/wp-includes/css/dist/format-library/style.css +++ b/wp-includes/css/dist/format-library/style.css @@ -4,6 +4,9 @@ /** * Breakpoints & Media Queries */ +/** + * Colors + */ /** * Often re-used variables */ @@ -37,7 +40,7 @@ */ .block-editor-format-toolbar__image-container-content { display: flex; } - .block-editor-format-toolbar__image-container-content .components-icon-button { + .block-editor-format-toolbar__image-container-content .components-button { align-self: flex-end; height: 30px; margin-bottom: 8px; diff --git a/wp-includes/css/dist/format-library/style.min.css b/wp-includes/css/dist/format-library/style.min.css index 3ea395aa3a..ae24148558 100644 --- a/wp-includes/css/dist/format-library/style.min.css +++ b/wp-includes/css/dist/format-library/style.min.css @@ -1 +1 @@ -.block-editor-format-toolbar__image-container-content{display:flex}.block-editor-format-toolbar__image-container-content .components-icon-button{align-self:flex-end;height:30px;margin-bottom:8px;margin-right:8px;padding:0 6px}.block-editor-format-toolbar__image-container-value{margin:7px;flex-grow:1;flex-shrink:1;white-space:nowrap;min-width:150px;max-width:500px}.block-editor-format-toolbar__image-container-value.components-base-control .components-base-control__field{margin-bottom:0}.block-editor-format-toolbar__image-container-value.components-base-control .components-base-control__label{display:block}.block-editor-format-toolbar__link-container-content{display:flex}.block-editor-format-toolbar__link-container-value{margin:7px;flex-grow:1;flex-shrink:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:150px;max-width:500px}.block-editor-format-toolbar__link-container-value.has-invalid-link{color:#d94f4f} \ No newline at end of file +.block-editor-format-toolbar__image-container-content{display:flex}.block-editor-format-toolbar__image-container-content .components-button{align-self:flex-end;height:30px;margin-bottom:8px;margin-right:8px;padding:0 6px}.block-editor-format-toolbar__image-container-value{margin:7px;flex-grow:1;flex-shrink:1;white-space:nowrap;min-width:150px;max-width:500px}.block-editor-format-toolbar__image-container-value.components-base-control .components-base-control__field{margin-bottom:0}.block-editor-format-toolbar__image-container-value.components-base-control .components-base-control__label{display:block}.block-editor-format-toolbar__link-container-content{display:flex}.block-editor-format-toolbar__link-container-value{margin:7px;flex-grow:1;flex-shrink:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:150px;max-width:500px}.block-editor-format-toolbar__link-container-value.has-invalid-link{color:#d94f4f} \ No newline at end of file diff --git a/wp-includes/css/dist/list-reusable-blocks/style-rtl.css b/wp-includes/css/dist/list-reusable-blocks/style-rtl.css index cba878db82..4a116d44d9 100644 --- a/wp-includes/css/dist/list-reusable-blocks/style-rtl.css +++ b/wp-includes/css/dist/list-reusable-blocks/style-rtl.css @@ -4,6 +4,9 @@ /** * Breakpoints & Media Queries */ +/** + * Colors + */ /** * Often re-used variables */ diff --git a/wp-includes/css/dist/list-reusable-blocks/style.css b/wp-includes/css/dist/list-reusable-blocks/style.css index 7e53071c6b..10d223dfbe 100644 --- a/wp-includes/css/dist/list-reusable-blocks/style.css +++ b/wp-includes/css/dist/list-reusable-blocks/style.css @@ -4,6 +4,9 @@ /** * Breakpoints & Media Queries */ +/** + * Colors + */ /** * Often re-used variables */ diff --git a/wp-includes/css/dist/nux/style-rtl.css b/wp-includes/css/dist/nux/style-rtl.css index 9034301bd7..5c40f21acd 100644 --- a/wp-includes/css/dist/nux/style-rtl.css +++ b/wp-includes/css/dist/nux/style-rtl.css @@ -4,6 +4,9 @@ /** * Breakpoints & Media Queries */ +/** + * Colors + */ /** * Often re-used variables */ diff --git a/wp-includes/css/dist/nux/style.css b/wp-includes/css/dist/nux/style.css index 4e7c9587c0..96b7cc35b9 100644 --- a/wp-includes/css/dist/nux/style.css +++ b/wp-includes/css/dist/nux/style.css @@ -4,6 +4,9 @@ /** * Breakpoints & Media Queries */ +/** + * Colors + */ /** * Often re-used variables */ diff --git a/wp-includes/js/dist/a11y.js b/wp-includes/js/dist/a11y.js index 60c7748ff1..0aa86e0f55 100644 --- a/wp-includes/js/dist/a11y.js +++ b/wp-includes/js/dist/a11y.js @@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["a11y"] = /******/ /******/ /******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 387); +/******/ return __webpack_require__(__webpack_require__.s = 389); /******/ }) /************************************************************************/ /******/ ({ @@ -94,7 +94,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["a11y"] = /***/ }), -/***/ 387: +/***/ 389: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -110,7 +110,7 @@ var external_this_wp_domReady_default = /*#__PURE__*/__webpack_require__.n(exter * * @param {string} ariaLive Optional. Value for the 'aria-live' attribute, default 'polite'. * - * @return {Object} $container The ARIA live region jQuery object. + * @return {HTMLDivElement} The ARIA live region HTML element. */ var addContainer = function addContainer(ariaLive) { ariaLive = ariaLive || 'polite'; @@ -121,7 +121,12 @@ var addContainer = function addContainer(ariaLive) { container.setAttribute('aria-live', ariaLive); container.setAttribute('aria-relevant', 'additions text'); container.setAttribute('aria-atomic', 'true'); - document.querySelector('body').appendChild(container); + var body = document.querySelector('body'); + + if (body) { + body.appendChild(container); + } + return container; }; @@ -194,11 +199,11 @@ var build_module_setup = function setup() { var containerAssertive = document.getElementById('a11y-speak-assertive'); if (containerPolite === null) { - containerPolite = build_module_addContainer('polite'); + build_module_addContainer('polite'); } if (containerAssertive === null) { - containerAssertive = build_module_addContainer('assertive'); + build_module_addContainer('assertive'); } }; /** diff --git a/wp-includes/js/dist/a11y.min.js b/wp-includes/js/dist/a11y.min.js index 9825c748af..735e61132f 100644 --- a/wp-includes/js/dist/a11y.min.js +++ b/wp-includes/js/dist/a11y.min.js @@ -1,2 +1,2 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.a11y=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=387)}({215:function(e,t){!function(){e.exports=this.wp.domReady}()},387:function(e,t,n){"use strict";n.r(t);var r=n(215),o=n.n(r),i=function(e){e=e||"polite";var t=document.createElement("div");return t.id="a11y-speak-"+e,t.className="a11y-speak-region",t.setAttribute("style","position: absolute;margin: -1px;padding: 0;height: 1px;width: 1px;overflow: hidden;clip: rect(1px, 1px, 1px, 1px);-webkit-clip-path: inset(50%);clip-path: inset(50%);border: 0;word-wrap: normal !important;"),t.setAttribute("aria-live",e),t.setAttribute("aria-relevant","additions text"),t.setAttribute("aria-atomic","true"),document.querySelector("body").appendChild(t),t},a=function(){for(var e=document.querySelectorAll(".a11y-speak-region"),t=0;t]+>/g," "),u===e&&(e+=" "),u=e,e};n.d(t,"setup",(function(){return p})),n.d(t,"speak",(function(){return c}));var p=function(){var e=document.getElementById("a11y-speak-polite"),t=document.getElementById("a11y-speak-assertive");null===e&&(e=i("polite")),null===t&&(t=i("assertive"))};o()(p);var c=function(e,t){a(),e=l(e);var n=document.getElementById("a11y-speak-polite"),r=document.getElementById("a11y-speak-assertive");r&&"assertive"===t?r.textContent=e:n&&(n.textContent=e)}}}); \ No newline at end of file +this.wp=this.wp||{},this.wp.a11y=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=389)}({215:function(e,t){!function(){e.exports=this.wp.domReady}()},389:function(e,t,n){"use strict";n.r(t);var r=n(215),o=n.n(r),i=function(e){e=e||"polite";var t=document.createElement("div");t.id="a11y-speak-"+e,t.className="a11y-speak-region",t.setAttribute("style","position: absolute;margin: -1px;padding: 0;height: 1px;width: 1px;overflow: hidden;clip: rect(1px, 1px, 1px, 1px);-webkit-clip-path: inset(50%);clip-path: inset(50%);border: 0;word-wrap: normal !important;"),t.setAttribute("aria-live",e),t.setAttribute("aria-relevant","additions text"),t.setAttribute("aria-atomic","true");var n=document.querySelector("body");return n&&n.appendChild(t),t},a=function(){for(var e=document.querySelectorAll(".a11y-speak-region"),t=0;t]+>/g," "),u===e&&(e+=" "),u=e,e};n.d(t,"setup",(function(){return p})),n.d(t,"speak",(function(){return c}));var p=function(){var e=document.getElementById("a11y-speak-polite"),t=document.getElementById("a11y-speak-assertive");null===e&&i("polite"),null===t&&i("assertive")};o()(p);var c=function(e,t){a(),e=l(e);var n=document.getElementById("a11y-speak-polite"),r=document.getElementById("a11y-speak-assertive");r&&"assertive"===t?r.textContent=e:n&&(n.textContent=e)}}}); \ No newline at end of file diff --git a/wp-includes/js/dist/annotations.js b/wp-includes/js/dist/annotations.js index 1f3f6d90e8..ecc01bf72f 100644 --- a/wp-includes/js/dist/annotations.js +++ b/wp-includes/js/dist/annotations.js @@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["annotations"] = /******/ /******/ /******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 379); +/******/ return __webpack_require__(__webpack_require__.s = 380); /******/ }) /************************************************************************/ /******/ ({ @@ -110,7 +110,7 @@ function _arrayWithoutHoles(arr) { } } // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js -var iterableToArray = __webpack_require__(32); +var iterableToArray = __webpack_require__(31); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js function _nonIterableSpread() { @@ -134,7 +134,7 @@ function _toConsumableArray(arr) { /***/ }), -/***/ 21: +/***/ 20: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -169,14 +169,14 @@ function _objectWithoutProperties(source, excluded) { /***/ }), -/***/ 27: +/***/ 29: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["hooks"]; }()); /***/ }), -/***/ 32: +/***/ 31: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -187,7 +187,289 @@ function _iterableToArray(iter) { /***/ }), -/***/ 379: +/***/ 34: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; + + +var LEAF_KEY, hasWeakMap; + +/** + * Arbitrary value used as key for referencing cache object in WeakMap tree. + * + * @type {Object} + */ +LEAF_KEY = {}; + +/** + * Whether environment supports WeakMap. + * + * @type {boolean} + */ +hasWeakMap = typeof WeakMap !== 'undefined'; + +/** + * Returns the first argument as the sole entry in an array. + * + * @param {*} value Value to return. + * + * @return {Array} Value returned as entry in array. + */ +function arrayOf( value ) { + return [ value ]; +} + +/** + * Returns true if the value passed is object-like, or false otherwise. A value + * is object-like if it can support property assignment, e.g. object or array. + * + * @param {*} value Value to test. + * + * @return {boolean} Whether value is object-like. + */ +function isObjectLike( value ) { + return !! value && 'object' === typeof value; +} + +/** + * Creates and returns a new cache object. + * + * @return {Object} Cache object. + */ +function createCache() { + var cache = { + clear: function() { + cache.head = null; + }, + }; + + return cache; +} + +/** + * Returns true if entries within the two arrays are strictly equal by + * reference from a starting index. + * + * @param {Array} a First array. + * @param {Array} b Second array. + * @param {number} fromIndex Index from which to start comparison. + * + * @return {boolean} Whether arrays are shallowly equal. + */ +function isShallowEqual( a, b, fromIndex ) { + var i; + + if ( a.length !== b.length ) { + return false; + } + + for ( i = fromIndex; i < a.length; i++ ) { + if ( a[ i ] !== b[ i ] ) { + return false; + } + } + + return true; +} + +/** + * Returns a memoized selector function. The getDependants function argument is + * called before the memoized selector and is expected to return an immutable + * reference or array of references on which the selector depends for computing + * its own return value. The memoize cache is preserved only as long as those + * dependant references remain the same. If getDependants returns a different + * reference(s), the cache is cleared and the selector value regenerated. + * + * @param {Function} selector Selector function. + * @param {Function} getDependants Dependant getter returning an immutable + * reference or array of reference used in + * cache bust consideration. + * + * @return {Function} Memoized selector. + */ +/* harmony default export */ __webpack_exports__["a"] = (function( selector, getDependants ) { + var rootCache, getCache; + + // Use object source as dependant if getter not provided + if ( ! getDependants ) { + getDependants = arrayOf; + } + + /** + * Returns the root cache. If WeakMap is supported, this is assigned to the + * root WeakMap cache set, otherwise it is a shared instance of the default + * cache object. + * + * @return {(WeakMap|Object)} Root cache object. + */ + function getRootCache() { + return rootCache; + } + + /** + * Returns the cache for a given dependants array. When possible, a WeakMap + * will be used to create a unique cache for each set of dependants. This + * is feasible due to the nature of WeakMap in allowing garbage collection + * to occur on entries where the key object is no longer referenced. Since + * WeakMap requires the key to be an object, this is only possible when the + * dependant is object-like. The root cache is created as a hierarchy where + * each top-level key is the first entry in a dependants set, the value a + * WeakMap where each key is the next dependant, and so on. This continues + * so long as the dependants are object-like. If no dependants are object- + * like, then the cache is shared across all invocations. + * + * @see isObjectLike + * + * @param {Array} dependants Selector dependants. + * + * @return {Object} Cache object. + */ + function getWeakMapCache( dependants ) { + var caches = rootCache, + isUniqueByDependants = true, + i, dependant, map, cache; + + for ( i = 0; i < dependants.length; i++ ) { + dependant = dependants[ i ]; + + // Can only compose WeakMap from object-like key. + if ( ! isObjectLike( dependant ) ) { + isUniqueByDependants = false; + break; + } + + // Does current segment of cache already have a WeakMap? + if ( caches.has( dependant ) ) { + // Traverse into nested WeakMap. + caches = caches.get( dependant ); + } else { + // Create, set, and traverse into a new one. + map = new WeakMap(); + caches.set( dependant, map ); + caches = map; + } + } + + // We use an arbitrary (but consistent) object as key for the last item + // in the WeakMap to serve as our running cache. + if ( ! caches.has( LEAF_KEY ) ) { + cache = createCache(); + cache.isUniqueByDependants = isUniqueByDependants; + caches.set( LEAF_KEY, cache ); + } + + return caches.get( LEAF_KEY ); + } + + // Assign cache handler by availability of WeakMap + getCache = hasWeakMap ? getWeakMapCache : getRootCache; + + /** + * Resets root memoization cache. + */ + function clear() { + rootCache = hasWeakMap ? new WeakMap() : createCache(); + } + + // eslint-disable-next-line jsdoc/check-param-names + /** + * The augmented selector call, considering first whether dependants have + * changed before passing it to underlying memoize function. + * + * @param {Object} source Source object for derivation. + * @param {...*} extraArgs Additional arguments to pass to selector. + * + * @return {*} Selector result. + */ + function callSelector( /* source, ...extraArgs */ ) { + var len = arguments.length, + cache, node, i, args, dependants; + + // Create copy of arguments (avoid leaking deoptimization). + args = new Array( len ); + for ( i = 0; i < len; i++ ) { + args[ i ] = arguments[ i ]; + } + + dependants = getDependants.apply( null, args ); + cache = getCache( dependants ); + + // If not guaranteed uniqueness by dependants (primitive type or lack + // of WeakMap support), shallow compare against last dependants and, if + // references have changed, destroy cache to recalculate result. + if ( ! cache.isUniqueByDependants ) { + if ( cache.lastDependants && ! isShallowEqual( dependants, cache.lastDependants, 0 ) ) { + cache.clear(); + } + + cache.lastDependants = dependants; + } + + node = cache.head; + while ( node ) { + // Check whether node arguments match arguments + if ( ! isShallowEqual( node.args, args, 1 ) ) { + node = node.next; + continue; + } + + // At this point we can assume we've found a match + + // Surface matched node to head if not already + if ( node !== cache.head ) { + // Adjust siblings to point to each other. + node.prev.next = node.next; + if ( node.next ) { + node.next.prev = node.prev; + } + + node.next = cache.head; + node.prev = null; + cache.head.prev = node; + cache.head = node; + } + + // Return immediately + return node.val; + } + + // No cached value found. Continue to insertion phase: + + node = { + // Generate the result from original function + val: selector.apply( null, args ), + }; + + // Avoid including the source object in the cache. + args[ 0 ] = null; + node.args = args; + + // Don't need to check whether node is already head, since it would + // have been returned above already if it was + + // Shift existing head down list + if ( cache.head ) { + cache.head.prev = node; + node.next = cache.head; + } + + cache.head = node; + + return node.val; + } + + callSelector.getDependants = getDependants; + callSelector.clear = clear; + clear(); + + return callSelector; +}); + + +/***/ }), + +/***/ 380: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -215,7 +497,7 @@ var defineProperty = __webpack_require__(9); var toConsumableArray = __webpack_require__(18); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js -var objectSpread = __webpack_require__(7); +var objectSpread = __webpack_require__(6); // EXTERNAL MODULE: external {"this":"lodash"} var external_this_lodash_ = __webpack_require__(2); @@ -326,10 +608,10 @@ function reducer_annotations() { /* harmony default export */ var reducer = (reducer_annotations); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js -var objectWithoutProperties = __webpack_require__(21); +var objectWithoutProperties = __webpack_require__(20); // EXTERNAL MODULE: ./node_modules/rememo/es/rememo.js -var rememo = __webpack_require__(38); +var rememo = __webpack_require__(34); // CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/store/selectors.js @@ -409,7 +691,7 @@ function __experimentalGetAnnotations(state) { } // EXTERNAL MODULE: ./node_modules/uuid/v4.js -var v4 = __webpack_require__(66); +var v4 = __webpack_require__(68); var v4_default = /*#__PURE__*/__webpack_require__.n(v4); // CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/store/actions.js @@ -735,7 +1017,7 @@ var format_name = annotation_annotation.name, Object(external_this_wp_richText_["registerFormatType"])(format_name, settings); // EXTERNAL MODULE: external {"this":["wp","hooks"]} -var external_this_wp_hooks_ = __webpack_require__(27); +var external_this_wp_hooks_ = __webpack_require__(29); // CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/block/index.js /** @@ -775,288 +1057,6 @@ Object(external_this_wp_hooks_["addFilter"])('editor.BlockListBlock', 'core/anno -/***/ }), - -/***/ 38: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; - - -var LEAF_KEY, hasWeakMap; - -/** - * Arbitrary value used as key for referencing cache object in WeakMap tree. - * - * @type {Object} - */ -LEAF_KEY = {}; - -/** - * Whether environment supports WeakMap. - * - * @type {boolean} - */ -hasWeakMap = typeof WeakMap !== 'undefined'; - -/** - * Returns the first argument as the sole entry in an array. - * - * @param {*} value Value to return. - * - * @return {Array} Value returned as entry in array. - */ -function arrayOf( value ) { - return [ value ]; -} - -/** - * Returns true if the value passed is object-like, or false otherwise. A value - * is object-like if it can support property assignment, e.g. object or array. - * - * @param {*} value Value to test. - * - * @return {boolean} Whether value is object-like. - */ -function isObjectLike( value ) { - return !! value && 'object' === typeof value; -} - -/** - * Creates and returns a new cache object. - * - * @return {Object} Cache object. - */ -function createCache() { - var cache = { - clear: function() { - cache.head = null; - }, - }; - - return cache; -} - -/** - * Returns true if entries within the two arrays are strictly equal by - * reference from a starting index. - * - * @param {Array} a First array. - * @param {Array} b Second array. - * @param {number} fromIndex Index from which to start comparison. - * - * @return {boolean} Whether arrays are shallowly equal. - */ -function isShallowEqual( a, b, fromIndex ) { - var i; - - if ( a.length !== b.length ) { - return false; - } - - for ( i = fromIndex; i < a.length; i++ ) { - if ( a[ i ] !== b[ i ] ) { - return false; - } - } - - return true; -} - -/** - * Returns a memoized selector function. The getDependants function argument is - * called before the memoized selector and is expected to return an immutable - * reference or array of references on which the selector depends for computing - * its own return value. The memoize cache is preserved only as long as those - * dependant references remain the same. If getDependants returns a different - * reference(s), the cache is cleared and the selector value regenerated. - * - * @param {Function} selector Selector function. - * @param {Function} getDependants Dependant getter returning an immutable - * reference or array of reference used in - * cache bust consideration. - * - * @return {Function} Memoized selector. - */ -/* harmony default export */ __webpack_exports__["a"] = (function( selector, getDependants ) { - var rootCache, getCache; - - // Use object source as dependant if getter not provided - if ( ! getDependants ) { - getDependants = arrayOf; - } - - /** - * Returns the root cache. If WeakMap is supported, this is assigned to the - * root WeakMap cache set, otherwise it is a shared instance of the default - * cache object. - * - * @return {(WeakMap|Object)} Root cache object. - */ - function getRootCache() { - return rootCache; - } - - /** - * Returns the cache for a given dependants array. When possible, a WeakMap - * will be used to create a unique cache for each set of dependants. This - * is feasible due to the nature of WeakMap in allowing garbage collection - * to occur on entries where the key object is no longer referenced. Since - * WeakMap requires the key to be an object, this is only possible when the - * dependant is object-like. The root cache is created as a hierarchy where - * each top-level key is the first entry in a dependants set, the value a - * WeakMap where each key is the next dependant, and so on. This continues - * so long as the dependants are object-like. If no dependants are object- - * like, then the cache is shared across all invocations. - * - * @see isObjectLike - * - * @param {Array} dependants Selector dependants. - * - * @return {Object} Cache object. - */ - function getWeakMapCache( dependants ) { - var caches = rootCache, - isUniqueByDependants = true, - i, dependant, map, cache; - - for ( i = 0; i < dependants.length; i++ ) { - dependant = dependants[ i ]; - - // Can only compose WeakMap from object-like key. - if ( ! isObjectLike( dependant ) ) { - isUniqueByDependants = false; - break; - } - - // Does current segment of cache already have a WeakMap? - if ( caches.has( dependant ) ) { - // Traverse into nested WeakMap. - caches = caches.get( dependant ); - } else { - // Create, set, and traverse into a new one. - map = new WeakMap(); - caches.set( dependant, map ); - caches = map; - } - } - - // We use an arbitrary (but consistent) object as key for the last item - // in the WeakMap to serve as our running cache. - if ( ! caches.has( LEAF_KEY ) ) { - cache = createCache(); - cache.isUniqueByDependants = isUniqueByDependants; - caches.set( LEAF_KEY, cache ); - } - - return caches.get( LEAF_KEY ); - } - - // Assign cache handler by availability of WeakMap - getCache = hasWeakMap ? getWeakMapCache : getRootCache; - - /** - * Resets root memoization cache. - */ - function clear() { - rootCache = hasWeakMap ? new WeakMap() : createCache(); - } - - // eslint-disable-next-line jsdoc/check-param-names - /** - * The augmented selector call, considering first whether dependants have - * changed before passing it to underlying memoize function. - * - * @param {Object} source Source object for derivation. - * @param {...*} extraArgs Additional arguments to pass to selector. - * - * @return {*} Selector result. - */ - function callSelector( /* source, ...extraArgs */ ) { - var len = arguments.length, - cache, node, i, args, dependants; - - // Create copy of arguments (avoid leaking deoptimization). - args = new Array( len ); - for ( i = 0; i < len; i++ ) { - args[ i ] = arguments[ i ]; - } - - dependants = getDependants.apply( null, args ); - cache = getCache( dependants ); - - // If not guaranteed uniqueness by dependants (primitive type or lack - // of WeakMap support), shallow compare against last dependants and, if - // references have changed, destroy cache to recalculate result. - if ( ! cache.isUniqueByDependants ) { - if ( cache.lastDependants && ! isShallowEqual( dependants, cache.lastDependants, 0 ) ) { - cache.clear(); - } - - cache.lastDependants = dependants; - } - - node = cache.head; - while ( node ) { - // Check whether node arguments match arguments - if ( ! isShallowEqual( node.args, args, 1 ) ) { - node = node.next; - continue; - } - - // At this point we can assume we've found a match - - // Surface matched node to head if not already - if ( node !== cache.head ) { - // Adjust siblings to point to each other. - node.prev.next = node.next; - if ( node.next ) { - node.next.prev = node.prev; - } - - node.next = cache.head; - node.prev = null; - cache.head.prev = node; - cache.head = node; - } - - // Return immediately - return node.val; - } - - // No cached value found. Continue to insertion phase: - - node = { - // Generate the result from original function - val: selector.apply( null, args ), - }; - - // Avoid including the source object in the cache. - args[ 0 ] = null; - node.args = args; - - // Don't need to check whether node is already head, since it would - // have been returned above already if it was - - // Shift existing head down list - if ( cache.head ) { - cache.head.prev = node; - node.next = cache.head; - } - - cache.head = node; - - return node.val; - } - - callSelector.getDependants = getDependants; - callSelector.clear = clear; - clear(); - - return callSelector; -}); - - /***/ }), /***/ 4: @@ -1088,11 +1088,39 @@ function _objectWithoutPropertiesLoose(source, excluded) { /***/ }), -/***/ 66: +/***/ 6: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectSpread; }); +/* harmony import */ var _defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9); + +function _objectSpread(target) { + for (var i = 1; i < arguments.length; i++) { + var source = arguments[i] != null ? Object(arguments[i]) : {}; + var ownKeys = Object.keys(source); + + if (typeof Object.getOwnPropertySymbols === 'function') { + ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { + return Object.getOwnPropertyDescriptor(source, sym).enumerable; + })); + } + + ownKeys.forEach(function (key) { + Object(_defineProperty__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(target, key, source[key]); + }); + } + + return target; +} + +/***/ }), + +/***/ 68: /***/ (function(module, exports, __webpack_require__) { -var rng = __webpack_require__(86); -var bytesToUuid = __webpack_require__(87); +var rng = __webpack_require__(87); +var bytesToUuid = __webpack_require__(88); function v4(options, buf, offset) { var i = buf && offset || 0; @@ -1124,35 +1152,7 @@ module.exports = v4; /***/ }), -/***/ 7: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectSpread; }); -/* harmony import */ var _defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9); - -function _objectSpread(target) { - for (var i = 1; i < arguments.length; i++) { - var source = arguments[i] != null ? arguments[i] : {}; - var ownKeys = Object.keys(Object(source)); - - if (typeof Object.getOwnPropertySymbols === 'function') { - ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { - return Object.getOwnPropertyDescriptor(source, sym).enumerable; - })); - } - - ownKeys.forEach(function (key) { - Object(_defineProperty__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(target, key, source[key]); - }); - } - - return target; -} - -/***/ }), - -/***/ 86: +/***/ 87: /***/ (function(module, exports) { // Unique ID creation requires a high quality random # generator. In the @@ -1193,7 +1193,7 @@ if (getRandomValues) { /***/ }), -/***/ 87: +/***/ 88: /***/ (function(module, exports) { /** diff --git a/wp-includes/js/dist/annotations.min.js b/wp-includes/js/dist/annotations.min.js index 1e669755b1..ff7b60c04b 100644 --- a/wp-includes/js/dist/annotations.min.js +++ b/wp-includes/js/dist/annotations.min.js @@ -1,2 +1,2 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.annotations=function(t){var n={};function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)e.d(r,o,function(n){return t[n]}.bind(null,o));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=379)}({1:function(t,n){!function(){t.exports=this.wp.i18n}()},18:function(t,n,e){"use strict";var r=e(32);function o(t){return function(t){if(Array.isArray(t)){for(var n=0,e=new Array(t.length);n=0||Object.prototype.propertyIsEnumerable.call(t,e)&&(a[e]=t[e])}return a}},24:function(t,n){!function(){t.exports=this.wp.richText}()},27:function(t,n){!function(){t.exports=this.wp.hooks}()},32:function(t,n,e){"use strict";function r(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}e.d(n,"a",(function(){return r}))},379:function(t,n,e){"use strict";e.r(n);var r={};e.r(r),e.d(r,"__experimentalGetAnnotationsForBlock",(function(){return v})),e.d(r,"__experimentalGetAllAnnotationsForBlock",(function(){return O})),e.d(r,"__experimentalGetAnnotationsForRichText",(function(){return g})),e.d(r,"__experimentalGetAnnotations",(function(){return m}));var o={};e.r(o),e.d(o,"__experimentalAddAnnotation",(function(){return x})),e.d(o,"__experimentalRemoveAnnotation",(function(){return A})),e.d(o,"__experimentalUpdateAnnotationRange",(function(){return j})),e.d(o,"__experimentalRemoveAnnotationsBySource",(function(){return _}));var a=e(4),i=e(9),u=e(18),c=e(7),f=e(2);function l(t,n){var e=t.filter(n);return t.length===e.length?t:e}var s=function(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"ANNOTATION_ADD":var r=e.blockClientId,o={id:e.id,blockClientId:r,richTextIdentifier:e.richTextIdentifier,source:e.source,selector:e.selector,range:e.range};if("range"===o.selector&&(t=o.range,!(Object(f.isNumber)(t.start)&&Object(f.isNumber)(t.end)&&t.start<=t.end)))return n;var a=Object(f.get)(n,r,[]);return Object(c.a)({},n,Object(i.a)({},r,[].concat(Object(u.a)(a),[o])));case"ANNOTATION_REMOVE":return Object(f.mapValues)(n,(function(t){return l(t,(function(t){return t.id!==e.annotationId}))}));case"ANNOTATION_UPDATE_RANGE":return Object(f.mapValues)(n,(function(t){var n=!1,r=t.map((function(t){return t.id===e.annotationId?(n=!0,Object(c.a)({},t,{range:{start:e.start,end:e.end}})):t}));return n?r:t}));case"ANNOTATION_REMOVE_SOURCE":return Object(f.mapValues)(n,(function(t){return l(t,(function(t){return t.source!==e.source}))}))}return n},d=e(21),p=e(38),b=[],v=Object(p.a)((function(t,n){return Object(f.get)(t,n,[]).filter((function(t){return"block"===t.selector}))}),(function(t,n){return[Object(f.get)(t,n,b)]})),O=function(t,n){return Object(f.get)(t,n,b)},g=Object(p.a)((function(t,n,e){return Object(f.get)(t,n,[]).filter((function(t){return"range"===t.selector&&e===t.richTextIdentifier})).map((function(t){var n=t.range,e=Object(d.a)(t,["range"]);return Object(c.a)({},n,e)}))}),(function(t,n){return[Object(f.get)(t,n,b)]}));function m(t){return Object(f.flatMap)(t,(function(t){return t}))}var y=e(66),h=e.n(y);function x(t){var n=t.blockClientId,e=t.richTextIdentifier,r=void 0===e?null:e,o=t.range,a=void 0===o?null:o,i=t.selector,u=void 0===i?"range":i,c=t.source,f=void 0===c?"default":c,l=t.id,s={type:"ANNOTATION_ADD",id:void 0===l?h()():l,blockClientId:n,richTextIdentifier:r,source:f,selector:u};return"range"===u&&(s.range=a),s}function A(t){return{type:"ANNOTATION_REMOVE",annotationId:t}}function j(t,n,e){return{type:"ANNOTATION_UPDATE_RANGE",annotationId:t,start:n,end:e}}function _(t){return{type:"ANNOTATION_REMOVE_SOURCE",source:t}}Object(a.registerStore)("core/annotations",{reducer:s,selectors:r,actions:o});var T=e(24),N=e(1),w="core/annotation",I="annotation-text-";var E={name:w,title:Object(N.__)("Annotation"),tagName:"mark",className:"annotation-text",attributes:{className:"class",id:"id"},edit:function(){return null},__experimentalGetPropsForEditableTreePreparation:function(t,n){var e=n.richTextIdentifier,r=n.blockClientId;return{annotations:t("core/annotations").__experimentalGetAnnotationsForRichText(r,e)}},__experimentalCreatePrepareEditableTree:function(t){var n=t.annotations;return function(t,e){if(0===n.length)return t;var r={formats:t,text:e};return(r=function(t){return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]).forEach((function(n){var e=n.start,r=n.end;e>t.text.length&&(e=t.text.length),r>t.text.length&&(r=t.text.length);var o=I+n.source,a=I+n.id;t=Object(T.applyFormat)(t,{type:w,attributes:{className:o,id:a}},e,r)})),t}(r,n)).formats}},__experimentalGetPropsForEditableTreeChangeHandler:function(t){return{removeAnnotation:t("core/annotations").__experimentalRemoveAnnotation,updateAnnotationRange:t("core/annotations").__experimentalUpdateAnnotationRange}},__experimentalCreateOnChangeEditableValue:function(t){return function(n){var e=function(t){var n={};return t.forEach((function(t,e){(t=(t=t||[]).filter((function(t){return t.type===w}))).forEach((function(t){var r=t.attributes.id;r=r.replace(I,""),n.hasOwnProperty(r)||(n[r]={start:e}),n[r].end=e+1}))})),n}(n),r=t.removeAnnotation,o=t.updateAnnotationRange;!function(t,n,e){var r=e.removeAnnotation,o=e.updateAnnotationRange;t.forEach((function(t){var e=n[t.id];if(e){var a=t.start,i=t.end;a===e.start&&i===e.end||o(t.id,e.start,e.end)}else r(t.id)}))}(t.annotations,e,{removeAnnotation:r,updateAnnotationRange:o})}}},R=E.name,k=Object(d.a)(E,["name"]);Object(T.registerFormatType)(R,k);var P=e(27);Object(P.addFilter)("editor.BlockListBlock","core/annotations",(function(t){return Object(a.withSelect)((function(t,n){var e=n.clientId;return{className:t("core/annotations").__experimentalGetAnnotationsForBlock(e).map((function(t){return"is-annotated-by-"+t.source})).join(" ")}}))(t)}))},38:function(t,n,e){"use strict";var r,o;function a(t){return[t]}function i(){var t={clear:function(){t.head=null}};return t}function u(t,n,e){var r;if(t.length!==n.length)return!1;for(r=e;r=0||(o[e]=t[e]);return o}e.d(n,"a",(function(){return r}))},66:function(t,n,e){var r=e(86),o=e(87);t.exports=function(t,n,e){var a=n&&e||0;"string"==typeof t&&(n="binary"===t?new Array(16):null,t=null);var i=(t=t||{}).random||(t.rng||r)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,n)for(var u=0;u<16;++u)n[a+u]=i[u];return n||o(i)}},7:function(t,n,e){"use strict";e.d(n,"a",(function(){return o}));var r=e(9);function o(t){for(var n=1;n>>((3&n)<<3)&255;return o}}},87:function(t,n){for(var e=[],r=0;r<256;++r)e[r]=(r+256).toString(16).substr(1);t.exports=function(t,n){var r=n||0,o=e;return[o[t[r++]],o[t[r++]],o[t[r++]],o[t[r++]],"-",o[t[r++]],o[t[r++]],"-",o[t[r++]],o[t[r++]],"-",o[t[r++]],o[t[r++]],"-",o[t[r++]],o[t[r++]],o[t[r++]],o[t[r++]],o[t[r++]],o[t[r++]]].join("")}},9:function(t,n,e){"use strict";function r(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}e.d(n,"a",(function(){return r}))}}); \ No newline at end of file +this.wp=this.wp||{},this.wp.annotations=function(t){var n={};function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)e.d(r,o,function(n){return t[n]}.bind(null,o));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=380)}({1:function(t,n){!function(){t.exports=this.wp.i18n}()},18:function(t,n,e){"use strict";var r=e(31);function o(t){return function(t){if(Array.isArray(t)){for(var n=0,e=new Array(t.length);n=0||Object.prototype.propertyIsEnumerable.call(t,e)&&(a[e]=t[e])}return a}},24:function(t,n){!function(){t.exports=this.wp.richText}()},29:function(t,n){!function(){t.exports=this.wp.hooks}()},31:function(t,n,e){"use strict";function r(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}e.d(n,"a",(function(){return r}))},34:function(t,n,e){"use strict";var r,o;function a(t){return[t]}function i(){var t={clear:function(){t.head=null}};return t}function u(t,n,e){var r;if(t.length!==n.length)return!1;for(r=e;r0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"ANNOTATION_ADD":var r=e.blockClientId,o={id:e.id,blockClientId:r,richTextIdentifier:e.richTextIdentifier,source:e.source,selector:e.selector,range:e.range};if("range"===o.selector&&(t=o.range,!(Object(f.isNumber)(t.start)&&Object(f.isNumber)(t.end)&&t.start<=t.end)))return n;var a=Object(f.get)(n,r,[]);return Object(c.a)({},n,Object(i.a)({},r,[].concat(Object(u.a)(a),[o])));case"ANNOTATION_REMOVE":return Object(f.mapValues)(n,(function(t){return l(t,(function(t){return t.id!==e.annotationId}))}));case"ANNOTATION_UPDATE_RANGE":return Object(f.mapValues)(n,(function(t){var n=!1,r=t.map((function(t){return t.id===e.annotationId?(n=!0,Object(c.a)({},t,{range:{start:e.start,end:e.end}})):t}));return n?r:t}));case"ANNOTATION_REMOVE_SOURCE":return Object(f.mapValues)(n,(function(t){return l(t,(function(t){return t.source!==e.source}))}))}return n},d=e(20),p=e(34),b=[],v=Object(p.a)((function(t,n){return Object(f.get)(t,n,[]).filter((function(t){return"block"===t.selector}))}),(function(t,n){return[Object(f.get)(t,n,b)]})),O=function(t,n){return Object(f.get)(t,n,b)},g=Object(p.a)((function(t,n,e){return Object(f.get)(t,n,[]).filter((function(t){return"range"===t.selector&&e===t.richTextIdentifier})).map((function(t){var n=t.range,e=Object(d.a)(t,["range"]);return Object(c.a)({},n,e)}))}),(function(t,n){return[Object(f.get)(t,n,b)]}));function m(t){return Object(f.flatMap)(t,(function(t){return t}))}var y=e(68),h=e.n(y);function x(t){var n=t.blockClientId,e=t.richTextIdentifier,r=void 0===e?null:e,o=t.range,a=void 0===o?null:o,i=t.selector,u=void 0===i?"range":i,c=t.source,f=void 0===c?"default":c,l=t.id,s={type:"ANNOTATION_ADD",id:void 0===l?h()():l,blockClientId:n,richTextIdentifier:r,source:f,selector:u};return"range"===u&&(s.range=a),s}function A(t){return{type:"ANNOTATION_REMOVE",annotationId:t}}function j(t,n,e){return{type:"ANNOTATION_UPDATE_RANGE",annotationId:t,start:n,end:e}}function _(t){return{type:"ANNOTATION_REMOVE_SOURCE",source:t}}Object(a.registerStore)("core/annotations",{reducer:s,selectors:r,actions:o});var T=e(24),N=e(1),w="core/annotation",I="annotation-text-";var E={name:w,title:Object(N.__)("Annotation"),tagName:"mark",className:"annotation-text",attributes:{className:"class",id:"id"},edit:function(){return null},__experimentalGetPropsForEditableTreePreparation:function(t,n){var e=n.richTextIdentifier,r=n.blockClientId;return{annotations:t("core/annotations").__experimentalGetAnnotationsForRichText(r,e)}},__experimentalCreatePrepareEditableTree:function(t){var n=t.annotations;return function(t,e){if(0===n.length)return t;var r={formats:t,text:e};return(r=function(t){return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]).forEach((function(n){var e=n.start,r=n.end;e>t.text.length&&(e=t.text.length),r>t.text.length&&(r=t.text.length);var o=I+n.source,a=I+n.id;t=Object(T.applyFormat)(t,{type:w,attributes:{className:o,id:a}},e,r)})),t}(r,n)).formats}},__experimentalGetPropsForEditableTreeChangeHandler:function(t){return{removeAnnotation:t("core/annotations").__experimentalRemoveAnnotation,updateAnnotationRange:t("core/annotations").__experimentalUpdateAnnotationRange}},__experimentalCreateOnChangeEditableValue:function(t){return function(n){var e=function(t){var n={};return t.forEach((function(t,e){(t=(t=t||[]).filter((function(t){return t.type===w}))).forEach((function(t){var r=t.attributes.id;r=r.replace(I,""),n.hasOwnProperty(r)||(n[r]={start:e}),n[r].end=e+1}))})),n}(n),r=t.removeAnnotation,o=t.updateAnnotationRange;!function(t,n,e){var r=e.removeAnnotation,o=e.updateAnnotationRange;t.forEach((function(t){var e=n[t.id];if(e){var a=t.start,i=t.end;a===e.start&&i===e.end||o(t.id,e.start,e.end)}else r(t.id)}))}(t.annotations,e,{removeAnnotation:r,updateAnnotationRange:o})}}},R=E.name,k=Object(d.a)(E,["name"]);Object(T.registerFormatType)(R,k);var P=e(29);Object(P.addFilter)("editor.BlockListBlock","core/annotations",(function(t){return Object(a.withSelect)((function(t,n){var e=n.clientId;return{className:t("core/annotations").__experimentalGetAnnotationsForBlock(e).map((function(t){return"is-annotated-by-"+t.source})).join(" ")}}))(t)}))},4:function(t,n){!function(){t.exports=this.wp.data}()},40:function(t,n,e){"use strict";function r(t,n){if(null==t)return{};var e,r,o={},a=Object.keys(t);for(r=0;r=0||(o[e]=t[e]);return o}e.d(n,"a",(function(){return r}))},6:function(t,n,e){"use strict";e.d(n,"a",(function(){return o}));var r=e(9);function o(t){for(var n=1;n>>((3&n)<<3)&255;return o}}},88:function(t,n){for(var e=[],r=0;r<256;++r)e[r]=(r+256).toString(16).substr(1);t.exports=function(t,n){var r=n||0,o=e;return[o[t[r++]],o[t[r++]],o[t[r++]],o[t[r++]],"-",o[t[r++]],o[t[r++]],"-",o[t[r++]],o[t[r++]],"-",o[t[r++]],o[t[r++]],"-",o[t[r++]],o[t[r++]],o[t[r++]],o[t[r++]],o[t[r++]],o[t[r++]]].join("")}},9:function(t,n,e){"use strict";function r(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}e.d(n,"a",(function(){return r}))}}); \ No newline at end of file diff --git a/wp-includes/js/dist/api-fetch.js b/wp-includes/js/dist/api-fetch.js index d287536508..ffc4902bf0 100644 --- a/wp-includes/js/dist/api-fetch.js +++ b/wp-includes/js/dist/api-fetch.js @@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["apiFetch"] = /******/ /******/ /******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 375); +/******/ return __webpack_require__(__webpack_require__.s = 376); /******/ }) /************************************************************************/ /******/ ({ @@ -94,7 +94,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["apiFetch"] = /***/ }), -/***/ 21: +/***/ 20: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -136,17 +136,17 @@ function _objectWithoutProperties(source, excluded) { /***/ }), -/***/ 375: +/***/ 376: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js -var objectSpread = __webpack_require__(7); +var objectSpread = __webpack_require__(6); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js -var objectWithoutProperties = __webpack_require__(21); +var objectWithoutProperties = __webpack_require__(20); // EXTERNAL MODULE: external {"this":["wp","i18n"]} var external_this_wp_i18n_ = __webpack_require__(1); @@ -312,7 +312,7 @@ var external_this_regeneratorRuntime_ = __webpack_require__(23); var external_this_regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(external_this_regeneratorRuntime_); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js -var asyncToGenerator = __webpack_require__(43); +var asyncToGenerator = __webpack_require__(44); // EXTERNAL MODULE: external {"this":["wp","url"]} var external_this_wp_url_ = __webpack_require__(25); @@ -885,7 +885,7 @@ function _objectWithoutPropertiesLoose(source, excluded) { /***/ }), -/***/ 43: +/***/ 44: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -928,7 +928,7 @@ function _asyncToGenerator(fn) { /***/ }), -/***/ 7: +/***/ 6: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -937,8 +937,8 @@ function _asyncToGenerator(fn) { function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { - var source = arguments[i] != null ? arguments[i] : {}; - var ownKeys = Object.keys(Object(source)); + var source = arguments[i] != null ? Object(arguments[i]) : {}; + var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { diff --git a/wp-includes/js/dist/api-fetch.min.js b/wp-includes/js/dist/api-fetch.min.js index 141708600c..38a6e519cc 100644 --- a/wp-includes/js/dist/api-fetch.min.js +++ b/wp-includes/js/dist/api-fetch.min.js @@ -1,2 +1,2 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.apiFetch=function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=375)}({1:function(e,t){!function(){e.exports=this.wp.i18n}()},21:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(40);function o(e,t){if(null==e)return{};var r,o,a=Object(n.a)(e,t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}},23:function(e,t){!function(){e.exports=this.regeneratorRuntime}()},25:function(e,t){!function(){e.exports=this.wp.url}()},375:function(e,t,r){"use strict";r.r(t);var n=r(7),o=r(21),a=r(1);var u=function(e){function t(e,r){var o=e.headers,a=void 0===o?{}:o;for(var u in a)if("x-wp-nonce"===u.toLowerCase())return r(e);return r(Object(n.a)({},e,{headers:Object(n.a)({},a,{"X-WP-Nonce":t.nonce})}))}return t.nonce=e,t},c=function(e,t){var r,o,a=e.path;return"string"==typeof e.namespace&&"string"==typeof e.endpoint&&(r=e.namespace.replace(/^\/|\/$/g,""),a=(o=e.endpoint.replace(/^\//,""))?r+"/"+o:r),delete e.namespace,delete e.endpoint,t(Object(n.a)({},e,{path:a}))},i=function(e){return function(t,r){return c(t,(function(t){var o,a=t.url,u=t.path;return"string"==typeof u&&(o=e,-1!==e.indexOf("?")&&(u=u.replace("?","&")),u=u.replace(/^\//,""),"string"==typeof o&&-1!==o.indexOf("?")&&(u=u.replace("?","&")),a=o+u),r(Object(n.a)({},t,{url:a}))}))}};function s(e){var t=e.split("?"),r=t[1],n=t[0];return r?n+"?"+r.split("&").map((function(e){return e.split("=")})).sort((function(e,t){return e[0].localeCompare(t[0])})).map((function(e){return e.join("=")})).join("&"):n}var f=function(e){var t=Object.keys(e).reduce((function(t,r){return t[s(r)]=e[r],t}),{});return function(e,r){var n=e.parse,o=void 0===n||n;if("string"==typeof e.path){var a=e.method||"GET",u=s(e.path);if(o&&"GET"===a&&t[u])return Promise.resolve(t[u].body);if("OPTIONS"===a&&t[a]&&t[a][u])return Promise.resolve(t[a][u])}return r(e)}},p=r(23),l=r.n(p),d=r(43),h=r(25),b=function(e,t){var r=e.path,a=e.url,u=Object(o.a)(e,["path","url"]);return Object(n.a)({},u,{url:a&&Object(h.addQueryArgs)(a,t),path:r&&Object(h.addQueryArgs)(r,t)})},v=function(e){return e.json?e.json():Promise.reject(e)},O=function(e){return function(e){if(!e)return{};var t=e.match(/<([^>]+)>; rel="next"/);return t?{next:t[1]}:{}}(e.headers.get("link")).next},j=function(e){var t=e.path&&-1!==e.path.indexOf("per_page=-1"),r=e.url&&-1!==e.url.indexOf("per_page=-1");return t||r},y=function(){var e=Object(d.a)(l.a.mark((function e(t,r){var o,a,u,c,i,s;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!1!==t.parse){e.next=2;break}return e.abrupt("return",r(t));case 2:if(j(t)){e.next=4;break}return e.abrupt("return",r(t));case 4:return e.next=6,r(Object(n.a)({},b(t,{per_page:100}),{parse:!1}));case 6:return o=e.sent,e.next=9,v(o);case 9:if(a=e.sent,Array.isArray(a)){e.next=12;break}return e.abrupt("return",a);case 12:if(u=O(o)){e.next=15;break}return e.abrupt("return",a);case 15:c=[].concat(a);case 16:if(!u){e.next=27;break}return e.next=19,r(Object(n.a)({},t,{path:void 0,url:u,parse:!1}));case 19:return i=e.sent,e.next=22,v(i);case 22:s=e.sent,c=c.concat(s),u=O(i),e.next=16;break;case 27:return e.abrupt("return",c);case 28:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}(),m=new Set(["PATCH","PUT","DELETE"]),g="GET";var w=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return t?204===e.status?null:e.json?e.json():Promise.reject(e):e},x=function(e){var t={code:"invalid_json",message:Object(a.__)("The response is not a valid JSON response.")};if(!e||!e.json)throw t;return e.json().catch((function(){throw t}))},P=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Promise.resolve(w(e,t)).catch((function(e){return _(e,t)}))};function _(e){if(!(!(arguments.length>1&&void 0!==arguments[1])||arguments[1]))throw e;return x(e).then((function(e){var t={code:"unknown_error",message:Object(a.__)("An unknown error occurred.")};throw e||t}))}var T=function(e,t){if(!(e.path&&-1!==e.path.indexOf("/wp/v2/media")||e.url&&-1!==e.url.indexOf("/wp/v2/media")))return t(e,t);var r=0;return t(Object(n.a)({},e,{parse:!1})).catch((function(n){var o=n.headers.get("x-wp-upload-attachment-id");return n.status>=500&&n.status<600&&o?function e(n){return r++,t({path:"/wp/v2/media/".concat(n,"/post-process"),method:"POST",data:{action:"create-image-subsizes"},parse:!1}).catch((function(){return r<5?e(n):(t({path:"/wp/v2/media/".concat(n,"?force=true"),method:"DELETE"}),Promise.reject())}))}(o).catch((function(){return!1!==e.parse?Promise.reject({code:"post_process",message:Object(a.__)("Media upload failed. If this is a photo or a large image, please scale it down and try again.")}):Promise.reject(n)})):_(n,e.parse)})).then((function(t){return P(t,e.parse)}))},S={Accept:"application/json, */*;q=0.1"},k={credentials:"include"},A=[function(e,t){return"string"!=typeof e.url||Object(h.hasQueryArg)(e.url,"_locale")||(e.url=Object(h.addQueryArgs)(e.url,{_locale:"user"})),"string"!=typeof e.path||Object(h.hasQueryArg)(e.path,"_locale")||(e.path=Object(h.addQueryArgs)(e.path,{_locale:"user"})),t(e,t)},c,function(e,t){var r=e.method,o=void 0===r?g:r;return m.has(o.toUpperCase())&&(e=Object(n.a)({},e,{headers:Object(n.a)({},e.headers,{"X-HTTP-Method-Override":o,"Content-Type":"application/json"}),method:"POST"})),t(e,t)},y];var E=function(e){if(e.status>=200&&e.status<300)return e;throw e},M=function(e){var t=e.url,r=e.path,u=e.data,c=e.parse,i=void 0===c||c,s=Object(o.a)(e,["url","path","data","parse"]),f=e.body,p=e.headers;return p=Object(n.a)({},S,p),u&&(f=JSON.stringify(u),p["Content-Type"]="application/json"),window.fetch(t||r,Object(n.a)({},k,s,{body:f,headers:p})).then((function(e){return Promise.resolve(e).then(E).catch((function(e){return _(e,i)})).then((function(e){return P(e,i)}))}),(function(){throw{code:"fetch_error",message:Object(a.__)("You are probably offline.")}}))};function C(e){var t=[].concat(A,[M]);return new Promise((function(r,n){(function e(r){return function(n){var o=t[r];return r===t.length-1?o(n):o(n,e(r+1))}})(0)(e).then(r).catch((function(t){if("rest_cookie_invalid_nonce"!==t.code)return n(t);window.fetch(C.nonceEndpoint).then(E).then((function(e){return e.text()})).then((function(t){C.nonceMiddleware.nonce=t,C(e).then(r).catch(n)})).catch(n)}))}))}C.use=function(e){A.unshift(e)},C.setFetchHandler=function(e){M=e},C.createNonceMiddleware=u,C.createPreloadingMiddleware=f,C.createRootURLMiddleware=i,C.fetchAllMiddleware=y,C.mediaUploadMiddleware=T;t.default=C},40:function(e,t,r){"use strict";function n(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}r.d(t,"a",(function(){return n}))},43:function(e,t,r){"use strict";function n(e,t,r,n,o,a,u){try{var c=e[a](u),i=c.value}catch(e){return void r(e)}c.done?t(i):Promise.resolve(i).then(n,o)}function o(e){return function(){var t=this,r=arguments;return new Promise((function(o,a){var u=e.apply(t,r);function c(e){n(u,o,a,c,i,"next",e)}function i(e){n(u,o,a,c,i,"throw",e)}c(void 0)}))}}r.d(t,"a",(function(){return o}))},7:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(9);function o(e){for(var t=1;t=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}},23:function(e,t){!function(){e.exports=this.regeneratorRuntime}()},25:function(e,t){!function(){e.exports=this.wp.url}()},376:function(e,t,r){"use strict";r.r(t);var n=r(6),o=r(20),a=r(1);var u=function(e){function t(e,r){var o=e.headers,a=void 0===o?{}:o;for(var u in a)if("x-wp-nonce"===u.toLowerCase())return r(e);return r(Object(n.a)({},e,{headers:Object(n.a)({},a,{"X-WP-Nonce":t.nonce})}))}return t.nonce=e,t},c=function(e,t){var r,o,a=e.path;return"string"==typeof e.namespace&&"string"==typeof e.endpoint&&(r=e.namespace.replace(/^\/|\/$/g,""),a=(o=e.endpoint.replace(/^\//,""))?r+"/"+o:r),delete e.namespace,delete e.endpoint,t(Object(n.a)({},e,{path:a}))},i=function(e){return function(t,r){return c(t,(function(t){var o,a=t.url,u=t.path;return"string"==typeof u&&(o=e,-1!==e.indexOf("?")&&(u=u.replace("?","&")),u=u.replace(/^\//,""),"string"==typeof o&&-1!==o.indexOf("?")&&(u=u.replace("?","&")),a=o+u),r(Object(n.a)({},t,{url:a}))}))}};function s(e){var t=e.split("?"),r=t[1],n=t[0];return r?n+"?"+r.split("&").map((function(e){return e.split("=")})).sort((function(e,t){return e[0].localeCompare(t[0])})).map((function(e){return e.join("=")})).join("&"):n}var f=function(e){var t=Object.keys(e).reduce((function(t,r){return t[s(r)]=e[r],t}),{});return function(e,r){var n=e.parse,o=void 0===n||n;if("string"==typeof e.path){var a=e.method||"GET",u=s(e.path);if(o&&"GET"===a&&t[u])return Promise.resolve(t[u].body);if("OPTIONS"===a&&t[a]&&t[a][u])return Promise.resolve(t[a][u])}return r(e)}},p=r(23),l=r.n(p),d=r(44),h=r(25),b=function(e,t){var r=e.path,a=e.url,u=Object(o.a)(e,["path","url"]);return Object(n.a)({},u,{url:a&&Object(h.addQueryArgs)(a,t),path:r&&Object(h.addQueryArgs)(r,t)})},v=function(e){return e.json?e.json():Promise.reject(e)},O=function(e){return function(e){if(!e)return{};var t=e.match(/<([^>]+)>; rel="next"/);return t?{next:t[1]}:{}}(e.headers.get("link")).next},j=function(e){var t=e.path&&-1!==e.path.indexOf("per_page=-1"),r=e.url&&-1!==e.url.indexOf("per_page=-1");return t||r},y=function(){var e=Object(d.a)(l.a.mark((function e(t,r){var o,a,u,c,i,s;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!1!==t.parse){e.next=2;break}return e.abrupt("return",r(t));case 2:if(j(t)){e.next=4;break}return e.abrupt("return",r(t));case 4:return e.next=6,r(Object(n.a)({},b(t,{per_page:100}),{parse:!1}));case 6:return o=e.sent,e.next=9,v(o);case 9:if(a=e.sent,Array.isArray(a)){e.next=12;break}return e.abrupt("return",a);case 12:if(u=O(o)){e.next=15;break}return e.abrupt("return",a);case 15:c=[].concat(a);case 16:if(!u){e.next=27;break}return e.next=19,r(Object(n.a)({},t,{path:void 0,url:u,parse:!1}));case 19:return i=e.sent,e.next=22,v(i);case 22:s=e.sent,c=c.concat(s),u=O(i),e.next=16;break;case 27:return e.abrupt("return",c);case 28:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}(),m=new Set(["PATCH","PUT","DELETE"]),g="GET";var w=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return t?204===e.status?null:e.json?e.json():Promise.reject(e):e},x=function(e){var t={code:"invalid_json",message:Object(a.__)("The response is not a valid JSON response.")};if(!e||!e.json)throw t;return e.json().catch((function(){throw t}))},P=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Promise.resolve(w(e,t)).catch((function(e){return _(e,t)}))};function _(e){if(!(!(arguments.length>1&&void 0!==arguments[1])||arguments[1]))throw e;return x(e).then((function(e){var t={code:"unknown_error",message:Object(a.__)("An unknown error occurred.")};throw e||t}))}var T=function(e,t){if(!(e.path&&-1!==e.path.indexOf("/wp/v2/media")||e.url&&-1!==e.url.indexOf("/wp/v2/media")))return t(e,t);var r=0;return t(Object(n.a)({},e,{parse:!1})).catch((function(n){var o=n.headers.get("x-wp-upload-attachment-id");return n.status>=500&&n.status<600&&o?function e(n){return r++,t({path:"/wp/v2/media/".concat(n,"/post-process"),method:"POST",data:{action:"create-image-subsizes"},parse:!1}).catch((function(){return r<5?e(n):(t({path:"/wp/v2/media/".concat(n,"?force=true"),method:"DELETE"}),Promise.reject())}))}(o).catch((function(){return!1!==e.parse?Promise.reject({code:"post_process",message:Object(a.__)("Media upload failed. If this is a photo or a large image, please scale it down and try again.")}):Promise.reject(n)})):_(n,e.parse)})).then((function(t){return P(t,e.parse)}))},S={Accept:"application/json, */*;q=0.1"},k={credentials:"include"},A=[function(e,t){return"string"!=typeof e.url||Object(h.hasQueryArg)(e.url,"_locale")||(e.url=Object(h.addQueryArgs)(e.url,{_locale:"user"})),"string"!=typeof e.path||Object(h.hasQueryArg)(e.path,"_locale")||(e.path=Object(h.addQueryArgs)(e.path,{_locale:"user"})),t(e,t)},c,function(e,t){var r=e.method,o=void 0===r?g:r;return m.has(o.toUpperCase())&&(e=Object(n.a)({},e,{headers:Object(n.a)({},e.headers,{"X-HTTP-Method-Override":o,"Content-Type":"application/json"}),method:"POST"})),t(e,t)},y];var E=function(e){if(e.status>=200&&e.status<300)return e;throw e},M=function(e){var t=e.url,r=e.path,u=e.data,c=e.parse,i=void 0===c||c,s=Object(o.a)(e,["url","path","data","parse"]),f=e.body,p=e.headers;return p=Object(n.a)({},S,p),u&&(f=JSON.stringify(u),p["Content-Type"]="application/json"),window.fetch(t||r,Object(n.a)({},k,s,{body:f,headers:p})).then((function(e){return Promise.resolve(e).then(E).catch((function(e){return _(e,i)})).then((function(e){return P(e,i)}))}),(function(){throw{code:"fetch_error",message:Object(a.__)("You are probably offline.")}}))};function C(e){var t=[].concat(A,[M]);return new Promise((function(r,n){(function e(r){return function(n){var o=t[r];return r===t.length-1?o(n):o(n,e(r+1))}})(0)(e).then(r).catch((function(t){if("rest_cookie_invalid_nonce"!==t.code)return n(t);window.fetch(C.nonceEndpoint).then(E).then((function(e){return e.text()})).then((function(t){C.nonceMiddleware.nonce=t,C(e).then(r).catch(n)})).catch(n)}))}))}C.use=function(e){A.unshift(e)},C.setFetchHandler=function(e){M=e},C.createNonceMiddleware=u,C.createPreloadingMiddleware=f,C.createRootURLMiddleware=i,C.fetchAllMiddleware=y,C.mediaUploadMiddleware=T;t.default=C},40:function(e,t,r){"use strict";function n(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}r.d(t,"a",(function(){return n}))},44:function(e,t,r){"use strict";function n(e,t,r,n,o,a,u){try{var c=e[a](u),i=c.value}catch(e){return void r(e)}c.done?t(i):Promise.resolve(i).then(n,o)}function o(e){return function(){var t=this,r=arguments;return new Promise((function(o,a){var u=e.apply(t,r);function c(e){n(u,o,a,c,i,"next",e)}function i(e){n(u,o,a,c,i,"throw",e)}c(void 0)}))}}r.d(t,"a",(function(){return o}))},6:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(9);function o(e){for(var t=1;t)[^\\-]*)*(?:--\x3e)?|!\\[CDATA\\[[^\\]]*(?:](?!]>)[^\\]]*)*?(?:]]>)?)|[^>]*>?))");function c(e,r){for(var n=function(e){for(var r,n=[],t=e;r=t.match(p);)n.push(t.slice(0,r.index)),n.push(r[0]),t=t.slice(r.index+r[0].length);return t.length&&n.push(t),n}(e),t=!1,c=Object.keys(r),a=1;a1&&void 0!==arguments[1])||arguments[1],n=[];if(""===e.trim())return"";if(-1!==(e+="\n").indexOf(""),a=p.pop();e="";for(var i=0;i";n.push([s,o.substr(l)+""]),e+=o.substr(0,l)+s}else e+=o}e+=a}var u="(?:table|thead|tfoot|caption|col|colgroup|tbody|tr|td|th|div|dl|dd|dt|ul|ol|li|pre|form|map|area|blockquote|address|math|style|p|h[1-6]|hr|fieldset|legend|section|article|aside|hgroup|header|footer|nav|figure|figcaption|details|menu|summary)";-1!==(e=c(e=(e=(e=(e=e.replace(/\s*/g,"\n\n")).replace(new RegExp("(<"+u+"[\\s/>])","g"),"\n\n$1")).replace(new RegExp("()","g"),"$1\n\n")).replace(/\r\n|\r/g,"\n"),{"\n":" \x3c!-- wpnl --\x3e "})).indexOf("\s*/g,"")),-1!==e.indexOf("")&&(e=(e=(e=e.replace(/(]*>)\s*/g,"$1")).replace(/\s*<\/object>/g,"")).replace(/\s*(<\/?(?:param|embed)[^>]*>)\s*/g,"$1")),-1===e.indexOf("\]]*[>\]])\s*/g,"$1")).replace(/\s*([<\[]\/(?:audio|video)[>\]])/g,"$1")).replace(/\s*(<(?:source|track)[^>]*>)\s*/g,"$1")),-1!==e.indexOf("]*>)/,"$1")).replace(/<\/figcaption>\s*/,""));var g=(e=e.replace(/\n\n+/g,"\n\n")).split(/\n\s*\n/).filter(Boolean);return e="",g.forEach((function(r){e+="

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

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

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

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

$1

")).replace(new RegExp("

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

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

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

]*)>/gi,"

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

")).replace(new RegExp("

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

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

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

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

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

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

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

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

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

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

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

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

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

$1

")).replace(new RegExp("

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

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

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

]*)>/gi,"

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

")).replace(new RegExp("

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

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

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

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

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

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

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

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

]+>[\s\S]*?<\/p>)/g,"\n$1")).replace(/^\s+/,"")).replace(/[\s\u00a0]+$/,""),c&&(e=e.replace(//g,"\n")),a&&(e=e.replace(/]*)>/g,"")),p.length&&(e=e.replace(//g,(function(){return p.shift()}))),e):""}},35:function(e,r,n){"use strict";function t(e){if(Array.isArray(e))return e}n.d(r,"a",(function(){return t}))},36:function(e,r,n){"use strict";function t(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}n.d(r,"a",(function(){return t}))}}); \ No newline at end of file diff --git a/wp-includes/js/dist/blob.js b/wp-includes/js/dist/blob.js index f692e46343..cbc1481a31 100644 --- a/wp-includes/js/dist/blob.js +++ b/wp-includes/js/dist/blob.js @@ -82,12 +82,12 @@ this["wp"] = this["wp"] || {}; this["wp"]["blob"] = /******/ /******/ /******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 233); +/******/ return __webpack_require__(__webpack_require__.s = 234); /******/ }) /************************************************************************/ /******/ ({ -/***/ 233: +/***/ 234: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -102,6 +102,10 @@ __webpack_require__.r(__webpack_exports__); var _window$URL = window.URL, createObjectURL = _window$URL.createObjectURL, revokeObjectURL = _window$URL.revokeObjectURL; +/** + * @type {{[key: string]: File|undefined}} + */ + var cache = {}; /** * Create a blob URL from a file. @@ -123,7 +127,7 @@ function createBlobURL(file) { * * @param {string} url The blob URL. * - * @return {?File} The file for the blob URL. + * @return {File|undefined} The file for the blob URL. */ function getBlobByURL(url) { diff --git a/wp-includes/js/dist/blob.min.js b/wp-includes/js/dist/blob.min.js index c1197aa035..5b75e8b049 100644 --- a/wp-includes/js/dist/blob.min.js +++ b/wp-includes/js/dist/blob.min.js @@ -1,2 +1,2 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.blob=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=233)}({233:function(e,t,n){"use strict";n.r(t),n.d(t,"createBlobURL",(function(){return f})),n.d(t,"getBlobByURL",(function(){return c})),n.d(t,"revokeBlobURL",(function(){return l})),n.d(t,"isBlobURL",(function(){return d}));var r=window.URL,o=r.createObjectURL,u=r.revokeObjectURL,i={};function f(e){var t=o(e);return i[t]=e,t}function c(e){return i[e]}function l(e){i[e]&&u(e),delete i[e]}function d(e){return!(!e||!e.indexOf)&&0===e.indexOf("blob:")}}}); \ No newline at end of file +this.wp=this.wp||{},this.wp.blob=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=234)}({234:function(e,t,n){"use strict";n.r(t),n.d(t,"createBlobURL",(function(){return f})),n.d(t,"getBlobByURL",(function(){return c})),n.d(t,"revokeBlobURL",(function(){return l})),n.d(t,"isBlobURL",(function(){return d}));var r=window.URL,o=r.createObjectURL,u=r.revokeObjectURL,i={};function f(e){var t=o(e);return i[t]=e,t}function c(e){return i[e]}function l(e){i[e]&&u(e),delete i[e]}function d(e){return!(!e||!e.indexOf)&&0===e.indexOf("blob:")}}}); \ No newline at end of file diff --git a/wp-includes/js/dist/block-directory.js b/wp-includes/js/dist/block-directory.js index 64d1b8c6a4..1817036d79 100644 --- a/wp-includes/js/dist/block-directory.js +++ b/wp-includes/js/dist/block-directory.js @@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["blockDirectory"] = /******/ /******/ /******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 370); +/******/ return __webpack_require__(__webpack_require__.s = 371); /******/ }) /************************************************************************/ /******/ ({ @@ -101,7 +101,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["blockDirectory"] = /***/ }), -/***/ 10: +/***/ 11: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["blocks"]; }()); @@ -124,7 +124,7 @@ function _arrayWithoutHoles(arr) { } } // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js -var iterableToArray = __webpack_require__(32); +var iterableToArray = __webpack_require__(31); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js function _nonIterableSpread() { @@ -154,7 +154,7 @@ function _toConsumableArray(arr) { "use strict"; // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js -var arrayWithHoles = __webpack_require__(33); +var arrayWithHoles = __webpack_require__(35); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js function _iterableToArrayLimit(arr, i) { @@ -187,7 +187,7 @@ function _iterableToArrayLimit(arr, i) { return _arr; } // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js -var nonIterableRest = __webpack_require__(34); +var nonIterableRest = __webpack_require__(36); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _slicedToArray; }); @@ -214,7 +214,7 @@ function _slicedToArray(arr, i) { /***/ }), -/***/ 32: +/***/ 31: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -225,7 +225,7 @@ function _iterableToArray(iter) { /***/ }), -/***/ 33: +/***/ 35: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -236,7 +236,7 @@ function _arrayWithHoles(arr) { /***/ }), -/***/ 34: +/***/ 36: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -247,14 +247,7 @@ function _nonIterableRest() { /***/ }), -/***/ 37: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["apiFetch"]; }()); - -/***/ }), - -/***/ 370: +/***/ 371: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -286,7 +279,7 @@ var toConsumableArray = __webpack_require__(18); var defineProperty = __webpack_require__(9); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js -var objectSpread = __webpack_require__(7); +var objectSpread = __webpack_require__(6); // CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/store/reducer.js @@ -417,10 +410,10 @@ var external_this_regeneratorRuntime_ = __webpack_require__(23); var external_this_regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(external_this_regeneratorRuntime_); // EXTERNAL MODULE: external {"this":["wp","blocks"]} -var external_this_wp_blocks_ = __webpack_require__(10); +var external_this_wp_blocks_ = __webpack_require__(11); // EXTERNAL MODULE: external {"this":["wp","apiFetch"]} -var external_this_wp_apiFetch_ = __webpack_require__(37); +var external_this_wp_apiFetch_ = __webpack_require__(38); var external_this_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_apiFetch_); // CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/store/controls.js @@ -1050,7 +1043,7 @@ var store = Object(external_this_wp_data_["registerStore"])(MODULE_KEY, storeCon var external_this_wp_element_ = __webpack_require__(0); // EXTERNAL MODULE: external {"this":["wp","plugins"]} -var external_this_wp_plugins_ = __webpack_require__(49); +var external_this_wp_plugins_ = __webpack_require__(50); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules var slicedToArray = __webpack_require__(22); @@ -1162,9 +1155,10 @@ function DownloadableBlockHeader(_ref) { _onClick = _ref.onClick; return Object(external_this_wp_element_["createElement"])("div", { className: "block-directory-downloadable-block-header__row" - }, icon.match(/\.(jpeg|jpg|gif|png)$/) !== null ? Object(external_this_wp_element_["createElement"])("img", { + }, icon.match(/\.(jpeg|jpg|gif|png)(?:\?.*)?$/) !== null ? // translators: %s: Name of the plugin e.g: "Akismet". + Object(external_this_wp_element_["createElement"])("img", { src: icon, - alt: "block icon" + alt: Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["__"])('%s block icon'), title) }) : Object(external_this_wp_element_["createElement"])("span", null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockIcon"], { icon: icon, showColors: true @@ -1574,6 +1568,13 @@ Object(external_this_wp_plugins_["registerPlugin"])('block-directory', { +/***/ }), + +/***/ 38: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["apiFetch"]; }()); + /***/ }), /***/ 4: @@ -1583,13 +1584,6 @@ Object(external_this_wp_plugins_["registerPlugin"])('block-directory', { /***/ }), -/***/ 49: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["plugins"]; }()); - -/***/ }), - /***/ 5: /***/ (function(module, exports) { @@ -1597,7 +1591,14 @@ Object(external_this_wp_plugins_["registerPlugin"])('block-directory', { /***/ }), -/***/ 7: +/***/ 50: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["plugins"]; }()); + +/***/ }), + +/***/ 6: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -1606,8 +1607,8 @@ Object(external_this_wp_plugins_["registerPlugin"])('block-directory', { function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { - var source = arguments[i] != null ? arguments[i] : {}; - var ownKeys = Object.keys(Object(source)); + var source = arguments[i] != null ? Object(arguments[i]) : {}; + var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { diff --git a/wp-includes/js/dist/block-directory.min.js b/wp-includes/js/dist/block-directory.min.js index ae722f6b97..f0db66b625 100644 --- a/wp-includes/js/dist/block-directory.min.js +++ b/wp-includes/js/dist/block-directory.min.js @@ -1,2 +1,2 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.blockDirectory=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=370)}({0:function(e,t){!function(){e.exports=this.wp.element}()},1:function(e,t){!function(){e.exports=this.wp.i18n}()},10:function(e,t){!function(){e.exports=this.wp.blocks}()},18:function(e,t,n){"use strict";var r=n(32);function o(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t0&&void 0!==arguments[0]?arguments[0]:{results:{},hasPermission:!0,filterValue:void 0,isRequestingDownloadableBlocks:!0,installedBlockTypes:[]},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"FETCH_DOWNLOADABLE_BLOCKS":return Object(i.a)({},e,{isRequestingDownloadableBlocks:!0});case"RECEIVE_DOWNLOADABLE_BLOCKS":return Object(i.a)({},e,{results:Object.assign({},e.results,Object(l.a)({},t.filterValue,t.downloadableBlocks)),hasPermission:!0,isRequestingDownloadableBlocks:!1});case"SET_INSTALL_BLOCKS_PERMISSION":return Object(i.a)({},e,{items:t.hasPermission?e.items:[],hasPermission:t.hasPermission});case"ADD_INSTALLED_BLOCK_TYPE":return Object(i.a)({},e,{installedBlockTypes:[].concat(Object(a.a)(e.installedBlockTypes),[t.item])});case"REMOVE_INSTALLED_BLOCK_TYPE":return Object(i.a)({},e,{installedBlockTypes:e.installedBlockTypes.filter((function(e){return e.name!==t.item.name}))})}return e}}),u=n(2);function b(e){return e.downloadableBlocks.isRequestingDownloadableBlocks}function d(e,t){return e.downloadableBlocks.results[t]?e.downloadableBlocks.results[t]:[]}function f(e){return e.downloadableBlocks.hasPermission}function p(e){return Object(u.get)(e,["downloadableBlocks","installedBlockTypes"],[])}var m=n(23),k=n.n(m),O=n(10),j=n(37),h=n.n(j),_=k.a.mark(E);function y(e){return{type:"API_FETCH",request:e}}var v=function(e,t,n){if(e){var r=document.querySelector('script[src="'.concat(e.src,'"]'));r&&r.parentNode.removeChild(r);var o=document.createElement("script");o.src="string"==typeof e?e:e.src,o.onload=t,o.onerror=n,document.body.appendChild(o)}},w=function(e){if(e){var t=document.createElement("link");t.rel="stylesheet",t.href="string"==typeof e?e:e.src,document.body.appendChild(t)}};function E(e){return k.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",{type:"LOAD_ASSETS",assets:e});case 1:case"end":return t.stop()}}),_)}var g={SELECT:Object(c.createRegistryControl)((function(e){return function(t){var n,r=t.storeName,o=t.selectorName,c=t.args;return(n=e.select(r))[o].apply(n,Object(a.a)(c))}})),DISPATCH:Object(c.createRegistryControl)((function(e){return function(t){var n,r=t.storeName,o=t.dispatcherName,c=t.args;return(n=e.dispatch(r))[o].apply(n,Object(a.a)(c))}})),API_FETCH:function(e){var t=e.request;return h()(Object(i.a)({},t))},LOAD_ASSETS:function(e){var t=e.assets;return new Promise((function(e,n){if(Array.isArray(t)){var r=0;Object(u.forEach)(t,(function(t){null!==t.match(/\.js$/)?(r++,v(t,(function(){if(0===--r)return e(r)}),n)):w(t)}))}else v(t.editor_script,(function(){return e(0)}),n),w(t.style)}))}},B=k.a.mark(I),x=k.a.mark(L),S=k.a.mark(A);function N(){return{type:"FETCH_DOWNLOADABLE_BLOCKS"}}function C(e,t){return{type:"RECEIVE_DOWNLOADABLE_BLOCKS",downloadableBlocks:e,filterValue:t}}function T(e){return{type:"SET_INSTALL_BLOCKS_PERMISSION",hasPermission:e}}function I(e,t,n){return k.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(r.prev=0,e.assets.length){r.next=3;break}throw new Error("Block has no assets");case 3:return r.next=5,E(e.assets);case 5:if(!Object(O.getBlockTypes)().length){r.next=10;break}t(e),r.next=11;break;case 10:throw new Error("Unable to get block types");case 11:r.next=17;break;case 13:return r.prev=13,r.t0=r.catch(0),r.next=17,n(r.t0);case 17:case"end":return r.stop()}}),B,null,[[0,13]])}function L(e,t,n){var r,o,c;return k.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return r=e.id,o=e.name,a.prev=1,a.next=4,y({path:"__experimental/block-directory/install",data:{slug:r},method:"POST"});case 4:if(!1!==(c=a.sent).success){a.next=7;break}throw new Error(c.errorMessage);case 7:return a.next=9,D({id:r,name:o});case 9:t(),a.next=15;break;case 12:a.prev=12,a.t0=a.catch(1),n(a.t0);case 15:case"end":return a.stop()}}),x,null,[[1,12]])}function A(e,t,n){var r,o,c;return k.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return r=e.id,o=e.name,a.prev=1,a.next=4,y({path:"__experimental/block-directory/uninstall",data:{slug:r},method:"DELETE"});case 4:if(!1!==(c=a.sent).success){a.next=7;break}throw new Error(c.errorMessage);case 7:return a.next=9,P({id:r,name:o});case 9:t(),a.next=15;break;case 12:a.prev=12,a.t0=a.catch(1),n(a.t0);case 15:case"end":return a.stop()}}),S,null,[[1,12]])}function D(e){return{type:"ADD_INSTALLED_BLOCK_TYPE",item:e}}function P(e){return{type:"REMOVE_INSTALLED_BLOCK_TYPE",item:e}}var R={reducer:s,selectors:r,actions:o,controls:g,resolvers:{getDownloadableBlocks:k.a.mark((function e(t){var n,r;return k.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}return e.abrupt("return");case 2:return e.prev=2,e.next=5,{type:"FETCH_DOWNLOADABLE_BLOCKS"};case 5:return e.next=7,y({path:"__experimental/block-directory/search?term=".concat(t)});case 7:return n=e.sent,r=n.map((function(e){return Object(u.mapKeys)(e,(function(e,t){return Object(u.camelCase)(t)}))})),e.next=11,C(r,t);case 11:e.next=18;break;case 13:if(e.prev=13,e.t0=e.catch(2),"rest_user_cannot_view"!==e.t0.code){e.next=18;break}return e.next=18,T(!1);case 18:case"end":return e.stop()}}),e,null,[[2,13]])})),hasInstallBlocksPermission:k.a.mark((function e(){return k.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,y({path:"__experimental/block-directory/search?term="});case 3:return e.next=5,T(!0);case 5:e.next=12;break;case 7:if(e.prev=7,e.t0=e.catch(0),"rest_user_cannot_view"!==e.t0.code){e.next=12;break}return e.next=12,T(!1);case 12:case"end":return e.stop()}}),e,null,[[0,7]])}))}},M=(Object(c.registerStore)("core/block-directory",R),n(0)),K=n(49),H=n(22),F=n(5),V=n(8),q=n(1),W=n(3);var z=function(e){var t=e.rating,n=.5*Math.round(t/.5),r=Math.floor(t),o=Math.ceil(t-r),c=5-(r+o);return Object(M.createElement)("div",{"aria-label":Object(q.sprintf)(Object(q.__)("%s out of 5 stars"),n)},Object(u.times)(r,(function(e){return Object(M.createElement)(W.Icon,{key:"full_stars_".concat(e),icon:"star-filled",size:16})})),Object(u.times)(o,(function(e){return Object(M.createElement)(W.Icon,{key:"half_stars_".concat(e),icon:"star-half",size:16})})),Object(u.times)(c,(function(e){return Object(M.createElement)(W.Icon,{key:"empty_stars_".concat(e),icon:"star-empty",size:16})})))},U=function(e){var t=e.rating,n=e.ratingCount;return Object(M.createElement)("div",{className:"block-directory-block-ratings"},Object(M.createElement)(z,{rating:t}),Object(M.createElement)("span",{className:"block-directory-block-ratings__rating-count","aria-label":Object(q.sprintf)(Object(q._n)("%d total rating","%d total ratings",n),n)},"(",n,")"))};var Y=function(e){var t=e.icon,n=e.title,r=e.rating,o=e.ratingCount,c=e.onClick;return Object(M.createElement)("div",{className:"block-directory-downloadable-block-header__row"},null!==t.match(/\.(jpeg|jpg|gif|png)$/)?Object(M.createElement)("img",{src:t,alt:"block icon"}):Object(M.createElement)("span",null,Object(M.createElement)(F.BlockIcon,{icon:t,showColors:!0})),Object(M.createElement)("div",{className:"block-directory-downloadable-block-header__column"},Object(M.createElement)("span",{role:"heading",className:"block-directory-downloadable-block-header__title"},n),Object(M.createElement)(U,{rating:r,ratingCount:o})),Object(M.createElement)(W.Button,{isDefault:!0,onClick:function(e){e.preventDefault(),c()}},Object(q.__)("Add")))};var $=function(e){var t=e.author,n=e.authorBlockCount,r=e.authorBlockRating;return Object(M.createElement)(M.Fragment,null,Object(M.createElement)("span",{className:"block-directory-downloadable-block-author-info__content-author"},Object(q.sprintf)(Object(q.__)("Authored by %s"),t)),Object(M.createElement)("span",{className:"block-directory-downloadable-block-author-info__content"},Object(q.sprintf)(Object(q._n)("This author has %d block, with an average rating of %d.","This author has %d blocks, with an average rating of %d.",n),n,r)))};var G=function(e){var t=e.description,n=e.activeInstalls,r=e.humanizedUpdated;return Object(M.createElement)(M.Fragment,null,Object(M.createElement)("p",{className:"block-directory-downloadable-block-info__content"},t),Object(M.createElement)("div",{className:"block-directory-downloadable-block-info__row"},Object(M.createElement)("div",{className:"block-directory-downloadable-block-info__column"},Object(M.createElement)(W.Icon,{icon:"chart-line"}),Object(q.sprintf)(Object(q._n)("%d active installation","%d active installations",n),n)),Object(M.createElement)("div",{className:"block-directory-downloadable-block-info__column"},Object(M.createElement)(W.Icon,{icon:"update"}),Object(M.createElement)("span",{"aria-label":Object(q.sprintf)(Object(q.__)("Updated %s"),r)},r))))};var J=function(e){var t=e.item,n=e.onClick,r=t.icon,o=t.title,c=t.description,a=t.rating,l=t.activeInstalls,i=t.ratingCount,s=t.author,u=t.humanizedUpdated,b=t.authorBlockCount,d=t.authorBlockRating;return Object(M.createElement)("li",{className:"block-directory-downloadable-block-list-item"},Object(M.createElement)("article",{className:"block-directory-downloadable-block-list-item__panel"},Object(M.createElement)("header",{className:"block-directory-downloadable-block-list-item__header"},Object(M.createElement)(Y,{icon:r,onClick:n,title:o,rating:a,ratingCount:i})),Object(M.createElement)("section",{className:"block-directory-downloadable-block-list-item__body"},Object(M.createElement)(G,{activeInstalls:l,description:c,humanizedUpdated:u})),Object(M.createElement)("footer",{className:"block-directory-downloadable-block-list-item__footer"},Object(M.createElement)($,{author:s,authorBlockCount:b,authorBlockRating:d}))))};var Q=Object(V.compose)(Object(c.withDispatch)((function(e,t){var n=e("core/block-directory"),r=n.installBlock,o=n.downloadBlock,c=e("core/notices"),a=c.createErrorNotice,l=c.removeNotice,i=e("core/block-editor").removeBlocks,s=t.onSelect;return{downloadAndInstallBlock:function(e){var t=function(){var t=s(e);r(e,u.noop,(function n(){a(Object(q.__)("Block previews can't install."),{id:"block-install-error",actions:[{label:Object(q.__)("Retry"),onClick:function(){l("block-install-error"),r(e,u.noop,n)}},{label:Object(q.__)("Remove"),onClick:function(){l("block-install-error"),i(t.clientId),Object(O.unregisterBlockType)(e.name)}}]})}))};o(e,t,(function n(){a(Object(q.__)("Block previews can’t load."),{id:"block-download-error",actions:[{label:Object(q.__)("Retry"),onClick:function(){l("block-download-error"),o(e,t,n)}}]})}))}}})))((function(e){var t=e.items,n=e.onHover,r=void 0===n?u.noop:n,o=e.children,c=e.downloadAndInstallBlock;return(Object(M.createElement)("ul",{role:"list",className:"block-directory-downloadable-blocks-list"},t&&t.map((function(e){return Object(M.createElement)(J,{key:e.id,className:Object(O.getBlockMenuDefaultClassName)(e.id),icons:e.icons,onClick:function(){c(e),r(null)},onFocus:function(){return r(e)},onMouseEnter:function(){return r(e)},onMouseLeave:function(){return r(null)},onBlur:function(){return r(null)},item:e})})),o))}));var X=Object(V.compose)([W.withSpokenMessages,Object(c.withSelect)((function(e,t){var n=t.filterValue,r=e("core/block-directory"),o=r.getDownloadableBlocks,c=r.hasInstallBlocksPermission,a=r.isRequestingDownloadableBlocks,l=c();return{downloadableItems:l?o(n):[],hasPermission:l,isLoading:a()}}))])((function(e){var t=e.downloadableItems,n=e.onSelect,r=e.onHover,o=e.hasPermission,c=e.isLoading,a=e.isWaiting,l=e.debouncedSpeak;return o?c||a?Object(M.createElement)("p",{className:"block-directory-downloadable-blocks-panel__description has-no-results"},Object(M.createElement)(W.Spinner,null)):t.length?(l(Object(q.sprintf)(Object(q._n)("No blocks found in your library. We did find %d block available for download.","No blocks found in your library. We did find %d blocks available for download.",t.length),t.length)),Object(M.createElement)(M.Fragment,null,Object(M.createElement)("p",{className:"block-directory-downloadable-blocks-panel__description"},Object(q.__)("No blocks found in your library. These blocks can be downloaded and installed:")),Object(M.createElement)(Q,{items:t,onSelect:n,onHover:r}))):Object(M.createElement)("p",{className:"block-directory-downloadable-blocks-panel__description has-no-results"},Object(q.__)("No blocks found in your library.")):(l(Object(q.__)("No blocks found in your library. Please contact your site administrator to install new blocks.")),Object(M.createElement)("p",{className:"block-directory-downloadable-blocks-panel__description has-no-results"},Object(q.__)("No blocks found in your library."),Object(M.createElement)("br",null),Object(q.__)("Please contact your site administrator to install new blocks.")))}));var Z=function(){var e=Object(M.useState)(""),t=Object(H.a)(e,2),n=t[0],r=t[1],o=Object(u.debounce)(r,400);return Object(M.createElement)(F.__experimentalInserterMenuExtension,null,(function(e){var t=e.onSelect,r=e.onHover,c=e.filterValue;return e.hasItems||!c?null:(n!==c&&o(c),Object(M.createElement)(X,{onSelect:t,onHover:r,filterValue:n,isWaiting:c!==n}))}))};Object(K.registerPlugin)("block-directory",{render:function(){return Object(M.createElement)(Z,null)}})},4:function(e,t){!function(){e.exports=this.wp.data}()},49:function(e,t){!function(){e.exports=this.wp.plugins}()},5:function(e,t){!function(){e.exports=this.wp.blockEditor}()},7:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(9);function o(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{results:{},hasPermission:!0,filterValue:void 0,isRequestingDownloadableBlocks:!0,installedBlockTypes:[]},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"FETCH_DOWNLOADABLE_BLOCKS":return Object(i.a)({},e,{isRequestingDownloadableBlocks:!0});case"RECEIVE_DOWNLOADABLE_BLOCKS":return Object(i.a)({},e,{results:Object.assign({},e.results,Object(l.a)({},t.filterValue,t.downloadableBlocks)),hasPermission:!0,isRequestingDownloadableBlocks:!1});case"SET_INSTALL_BLOCKS_PERMISSION":return Object(i.a)({},e,{items:t.hasPermission?e.items:[],hasPermission:t.hasPermission});case"ADD_INSTALLED_BLOCK_TYPE":return Object(i.a)({},e,{installedBlockTypes:[].concat(Object(a.a)(e.installedBlockTypes),[t.item])});case"REMOVE_INSTALLED_BLOCK_TYPE":return Object(i.a)({},e,{installedBlockTypes:e.installedBlockTypes.filter((function(e){return e.name!==t.item.name}))})}return e}}),u=n(2);function b(e){return e.downloadableBlocks.isRequestingDownloadableBlocks}function d(e,t){return e.downloadableBlocks.results[t]?e.downloadableBlocks.results[t]:[]}function f(e){return e.downloadableBlocks.hasPermission}function p(e){return Object(u.get)(e,["downloadableBlocks","installedBlockTypes"],[])}var m=n(23),k=n.n(m),O=n(11),j=n(38),_=n.n(j),h=k.a.mark(E);function y(e){return{type:"API_FETCH",request:e}}var v=function(e,t,n){if(e){var r=document.querySelector('script[src="'.concat(e.src,'"]'));r&&r.parentNode.removeChild(r);var o=document.createElement("script");o.src="string"==typeof e?e:e.src,o.onload=t,o.onerror=n,document.body.appendChild(o)}},w=function(e){if(e){var t=document.createElement("link");t.rel="stylesheet",t.href="string"==typeof e?e:e.src,document.body.appendChild(t)}};function E(e){return k.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",{type:"LOAD_ASSETS",assets:e});case 1:case"end":return t.stop()}}),h)}var g={SELECT:Object(c.createRegistryControl)((function(e){return function(t){var n,r=t.storeName,o=t.selectorName,c=t.args;return(n=e.select(r))[o].apply(n,Object(a.a)(c))}})),DISPATCH:Object(c.createRegistryControl)((function(e){return function(t){var n,r=t.storeName,o=t.dispatcherName,c=t.args;return(n=e.dispatch(r))[o].apply(n,Object(a.a)(c))}})),API_FETCH:function(e){var t=e.request;return _()(Object(i.a)({},t))},LOAD_ASSETS:function(e){var t=e.assets;return new Promise((function(e,n){if(Array.isArray(t)){var r=0;Object(u.forEach)(t,(function(t){null!==t.match(/\.js$/)?(r++,v(t,(function(){if(0===--r)return e(r)}),n)):w(t)}))}else v(t.editor_script,(function(){return e(0)}),n),w(t.style)}))}},B=k.a.mark(I),x=k.a.mark(L),S=k.a.mark(A);function N(){return{type:"FETCH_DOWNLOADABLE_BLOCKS"}}function C(e,t){return{type:"RECEIVE_DOWNLOADABLE_BLOCKS",downloadableBlocks:e,filterValue:t}}function T(e){return{type:"SET_INSTALL_BLOCKS_PERMISSION",hasPermission:e}}function I(e,t,n){return k.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(r.prev=0,e.assets.length){r.next=3;break}throw new Error("Block has no assets");case 3:return r.next=5,E(e.assets);case 5:if(!Object(O.getBlockTypes)().length){r.next=10;break}t(e),r.next=11;break;case 10:throw new Error("Unable to get block types");case 11:r.next=17;break;case 13:return r.prev=13,r.t0=r.catch(0),r.next=17,n(r.t0);case 17:case"end":return r.stop()}}),B,null,[[0,13]])}function L(e,t,n){var r,o,c;return k.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return r=e.id,o=e.name,a.prev=1,a.next=4,y({path:"__experimental/block-directory/install",data:{slug:r},method:"POST"});case 4:if(!1!==(c=a.sent).success){a.next=7;break}throw new Error(c.errorMessage);case 7:return a.next=9,D({id:r,name:o});case 9:t(),a.next=15;break;case 12:a.prev=12,a.t0=a.catch(1),n(a.t0);case 15:case"end":return a.stop()}}),x,null,[[1,12]])}function A(e,t,n){var r,o,c;return k.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return r=e.id,o=e.name,a.prev=1,a.next=4,y({path:"__experimental/block-directory/uninstall",data:{slug:r},method:"DELETE"});case 4:if(!1!==(c=a.sent).success){a.next=7;break}throw new Error(c.errorMessage);case 7:return a.next=9,P({id:r,name:o});case 9:t(),a.next=15;break;case 12:a.prev=12,a.t0=a.catch(1),n(a.t0);case 15:case"end":return a.stop()}}),S,null,[[1,12]])}function D(e){return{type:"ADD_INSTALLED_BLOCK_TYPE",item:e}}function P(e){return{type:"REMOVE_INSTALLED_BLOCK_TYPE",item:e}}var R={reducer:s,selectors:r,actions:o,controls:g,resolvers:{getDownloadableBlocks:k.a.mark((function e(t){var n,r;return k.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}return e.abrupt("return");case 2:return e.prev=2,e.next=5,{type:"FETCH_DOWNLOADABLE_BLOCKS"};case 5:return e.next=7,y({path:"__experimental/block-directory/search?term=".concat(t)});case 7:return n=e.sent,r=n.map((function(e){return Object(u.mapKeys)(e,(function(e,t){return Object(u.camelCase)(t)}))})),e.next=11,C(r,t);case 11:e.next=18;break;case 13:if(e.prev=13,e.t0=e.catch(2),"rest_user_cannot_view"!==e.t0.code){e.next=18;break}return e.next=18,T(!1);case 18:case"end":return e.stop()}}),e,null,[[2,13]])})),hasInstallBlocksPermission:k.a.mark((function e(){return k.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,y({path:"__experimental/block-directory/search?term="});case 3:return e.next=5,T(!0);case 5:e.next=12;break;case 7:if(e.prev=7,e.t0=e.catch(0),"rest_user_cannot_view"!==e.t0.code){e.next=12;break}return e.next=12,T(!1);case 12:case"end":return e.stop()}}),e,null,[[0,7]])}))}},M=(Object(c.registerStore)("core/block-directory",R),n(0)),K=n(50),H=n(22),F=n(5),V=n(8),q=n(1),W=n(3);var z=function(e){var t=e.rating,n=.5*Math.round(t/.5),r=Math.floor(t),o=Math.ceil(t-r),c=5-(r+o);return Object(M.createElement)("div",{"aria-label":Object(q.sprintf)(Object(q.__)("%s out of 5 stars"),n)},Object(u.times)(r,(function(e){return Object(M.createElement)(W.Icon,{key:"full_stars_".concat(e),icon:"star-filled",size:16})})),Object(u.times)(o,(function(e){return Object(M.createElement)(W.Icon,{key:"half_stars_".concat(e),icon:"star-half",size:16})})),Object(u.times)(c,(function(e){return Object(M.createElement)(W.Icon,{key:"empty_stars_".concat(e),icon:"star-empty",size:16})})))},U=function(e){var t=e.rating,n=e.ratingCount;return Object(M.createElement)("div",{className:"block-directory-block-ratings"},Object(M.createElement)(z,{rating:t}),Object(M.createElement)("span",{className:"block-directory-block-ratings__rating-count","aria-label":Object(q.sprintf)(Object(q._n)("%d total rating","%d total ratings",n),n)},"(",n,")"))};var Y=function(e){var t=e.icon,n=e.title,r=e.rating,o=e.ratingCount,c=e.onClick;return Object(M.createElement)("div",{className:"block-directory-downloadable-block-header__row"},null!==t.match(/\.(jpeg|jpg|gif|png)(?:\?.*)?$/)?Object(M.createElement)("img",{src:t,alt:Object(q.sprintf)(Object(q.__)("%s block icon"),n)}):Object(M.createElement)("span",null,Object(M.createElement)(F.BlockIcon,{icon:t,showColors:!0})),Object(M.createElement)("div",{className:"block-directory-downloadable-block-header__column"},Object(M.createElement)("span",{role:"heading",className:"block-directory-downloadable-block-header__title"},n),Object(M.createElement)(U,{rating:r,ratingCount:o})),Object(M.createElement)(W.Button,{isDefault:!0,onClick:function(e){e.preventDefault(),c()}},Object(q.__)("Add")))};var $=function(e){var t=e.author,n=e.authorBlockCount,r=e.authorBlockRating;return Object(M.createElement)(M.Fragment,null,Object(M.createElement)("span",{className:"block-directory-downloadable-block-author-info__content-author"},Object(q.sprintf)(Object(q.__)("Authored by %s"),t)),Object(M.createElement)("span",{className:"block-directory-downloadable-block-author-info__content"},Object(q.sprintf)(Object(q._n)("This author has %d block, with an average rating of %d.","This author has %d blocks, with an average rating of %d.",n),n,r)))};var G=function(e){var t=e.description,n=e.activeInstalls,r=e.humanizedUpdated;return Object(M.createElement)(M.Fragment,null,Object(M.createElement)("p",{className:"block-directory-downloadable-block-info__content"},t),Object(M.createElement)("div",{className:"block-directory-downloadable-block-info__row"},Object(M.createElement)("div",{className:"block-directory-downloadable-block-info__column"},Object(M.createElement)(W.Icon,{icon:"chart-line"}),Object(q.sprintf)(Object(q._n)("%d active installation","%d active installations",n),n)),Object(M.createElement)("div",{className:"block-directory-downloadable-block-info__column"},Object(M.createElement)(W.Icon,{icon:"update"}),Object(M.createElement)("span",{"aria-label":Object(q.sprintf)(Object(q.__)("Updated %s"),r)},r))))};var J=function(e){var t=e.item,n=e.onClick,r=t.icon,o=t.title,c=t.description,a=t.rating,l=t.activeInstalls,i=t.ratingCount,s=t.author,u=t.humanizedUpdated,b=t.authorBlockCount,d=t.authorBlockRating;return Object(M.createElement)("li",{className:"block-directory-downloadable-block-list-item"},Object(M.createElement)("article",{className:"block-directory-downloadable-block-list-item__panel"},Object(M.createElement)("header",{className:"block-directory-downloadable-block-list-item__header"},Object(M.createElement)(Y,{icon:r,onClick:n,title:o,rating:a,ratingCount:i})),Object(M.createElement)("section",{className:"block-directory-downloadable-block-list-item__body"},Object(M.createElement)(G,{activeInstalls:l,description:c,humanizedUpdated:u})),Object(M.createElement)("footer",{className:"block-directory-downloadable-block-list-item__footer"},Object(M.createElement)($,{author:s,authorBlockCount:b,authorBlockRating:d}))))};var Q=Object(V.compose)(Object(c.withDispatch)((function(e,t){var n=e("core/block-directory"),r=n.installBlock,o=n.downloadBlock,c=e("core/notices"),a=c.createErrorNotice,l=c.removeNotice,i=e("core/block-editor").removeBlocks,s=t.onSelect;return{downloadAndInstallBlock:function(e){var t=function(){var t=s(e);r(e,u.noop,(function n(){a(Object(q.__)("Block previews can't install."),{id:"block-install-error",actions:[{label:Object(q.__)("Retry"),onClick:function(){l("block-install-error"),r(e,u.noop,n)}},{label:Object(q.__)("Remove"),onClick:function(){l("block-install-error"),i(t.clientId),Object(O.unregisterBlockType)(e.name)}}]})}))};o(e,t,(function n(){a(Object(q.__)("Block previews can’t load."),{id:"block-download-error",actions:[{label:Object(q.__)("Retry"),onClick:function(){l("block-download-error"),o(e,t,n)}}]})}))}}})))((function(e){var t=e.items,n=e.onHover,r=void 0===n?u.noop:n,o=e.children,c=e.downloadAndInstallBlock;return(Object(M.createElement)("ul",{role:"list",className:"block-directory-downloadable-blocks-list"},t&&t.map((function(e){return Object(M.createElement)(J,{key:e.id,className:Object(O.getBlockMenuDefaultClassName)(e.id),icons:e.icons,onClick:function(){c(e),r(null)},onFocus:function(){return r(e)},onMouseEnter:function(){return r(e)},onMouseLeave:function(){return r(null)},onBlur:function(){return r(null)},item:e})})),o))}));var X=Object(V.compose)([W.withSpokenMessages,Object(c.withSelect)((function(e,t){var n=t.filterValue,r=e("core/block-directory"),o=r.getDownloadableBlocks,c=r.hasInstallBlocksPermission,a=r.isRequestingDownloadableBlocks,l=c();return{downloadableItems:l?o(n):[],hasPermission:l,isLoading:a()}}))])((function(e){var t=e.downloadableItems,n=e.onSelect,r=e.onHover,o=e.hasPermission,c=e.isLoading,a=e.isWaiting,l=e.debouncedSpeak;return o?c||a?Object(M.createElement)("p",{className:"block-directory-downloadable-blocks-panel__description has-no-results"},Object(M.createElement)(W.Spinner,null)):t.length?(l(Object(q.sprintf)(Object(q._n)("No blocks found in your library. We did find %d block available for download.","No blocks found in your library. We did find %d blocks available for download.",t.length),t.length)),Object(M.createElement)(M.Fragment,null,Object(M.createElement)("p",{className:"block-directory-downloadable-blocks-panel__description"},Object(q.__)("No blocks found in your library. These blocks can be downloaded and installed:")),Object(M.createElement)(Q,{items:t,onSelect:n,onHover:r}))):Object(M.createElement)("p",{className:"block-directory-downloadable-blocks-panel__description has-no-results"},Object(q.__)("No blocks found in your library.")):(l(Object(q.__)("No blocks found in your library. Please contact your site administrator to install new blocks.")),Object(M.createElement)("p",{className:"block-directory-downloadable-blocks-panel__description has-no-results"},Object(q.__)("No blocks found in your library."),Object(M.createElement)("br",null),Object(q.__)("Please contact your site administrator to install new blocks.")))}));var Z=function(){var e=Object(M.useState)(""),t=Object(H.a)(e,2),n=t[0],r=t[1],o=Object(u.debounce)(r,400);return Object(M.createElement)(F.__experimentalInserterMenuExtension,null,(function(e){var t=e.onSelect,r=e.onHover,c=e.filterValue;return e.hasItems||!c?null:(n!==c&&o(c),Object(M.createElement)(X,{onSelect:t,onHover:r,filterValue:n,isWaiting:c!==n}))}))};Object(K.registerPlugin)("block-directory",{render:function(){return Object(M.createElement)(Z,null)}})},38:function(e,t){!function(){e.exports=this.wp.apiFetch}()},4:function(e,t){!function(){e.exports=this.wp.data}()},5:function(e,t){!function(){e.exports=this.wp.blockEditor}()},50:function(e,t){!function(){e.exports=this.wp.plugins}()},6:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(9);function o(e){for(var t=1;t 0 && arguments[0] !== undefined ? arguments[0] : []; - var disableCustomColors = arguments.length > 1 ? arguments[1] : undefined; - var colorSetting = arguments.length > 2 ? arguments[2] : undefined; - - if (!hasCustomColorsDisabledForSetting(disableCustomColors, colorSetting)) { - return true; - } - - return (colorSetting.colors || colors).length > 0; -}; - -var panel_color_settings_hasColorsToChoose = function hasColorsToChoose(_ref) { - var colors = _ref.colors, - disableCustomColors = _ref.disableCustomColors, - colorSettings = _ref.colorSettings; - return Object(external_this_lodash_["some"])(colorSettings, function (colorSetting) { - return hasColorsToChooseInSetting(colors, disableCustomColors, colorSetting); - }); -}; // translators: first %s: The type of color (e.g. background color), second %s: the color name or value (e.g. red or #ff0000) - - -var panel_color_settings_colorIndicatorAriaLabel = Object(external_this_wp_i18n_["__"])('(%s: %s)'); - -var panel_color_settings_renderColorIndicators = function renderColorIndicators(colorSettings, colors) { - return colorSettings.map(function (_ref2, index) { - var value = _ref2.value, - label = _ref2.label, - availableColors = _ref2.colors; - - if (!value) { - return null; - } - - var colorObject = utils_getColorObjectByColorValue(availableColors || colors, value); - var colorName = colorObject && colorObject.name; - var ariaLabel = Object(external_this_wp_i18n_["sprintf"])(panel_color_settings_colorIndicatorAriaLabel, label.toLowerCase(), colorName || value); - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ColorIndicator"], { - key: index, - colorValue: value, - "aria-label": ariaLabel - }); - }); -}; // colorSettings is passed as an array of props so that it can be used for -// mapping both ColorIndicator and ColorPaletteControl components. Passing -// an array of components/nodes here wouldn't be feasible. - - -var PanelColorSettings = Object(external_this_wp_compose_["ifCondition"])(panel_color_settings_hasColorsToChoose)(function (_ref3) { - var children = _ref3.children, - colors = _ref3.colors, - colorSettings = _ref3.colorSettings, - disableCustomColors = _ref3.disableCustomColors, - title = _ref3.title, - props = Object(objectWithoutProperties["a" /* default */])(_ref3, ["children", "colors", "colorSettings", "disableCustomColors", "title"]); - - var titleElement = Object(external_this_wp_element_["createElement"])("span", { - className: "editor-panel-color-settings__panel-title block-editor-panel-color-settings__panel-title" - }, title, panel_color_settings_renderColorIndicators(colorSettings, colors)); - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], Object(esm_extends["a" /* default */])({ - className: "editor-panel-color-settings block-editor-panel-color-settings", - title: titleElement - }, props), colorSettings.map(function (settings, index) { - return Object(external_this_wp_element_["createElement"])(color_palette_control, Object(esm_extends["a" /* default */])({ - key: index - }, Object(objectSpread["a" /* default */])({ - colors: colors, - disableCustomColors: disableCustomColors - }, settings))); - }), children); -}); -/* harmony default export */ var panel_color_settings = (with_color_context(PanelColorSettings)); - -// EXTERNAL MODULE: external {"this":["wp","a11y"]} -var external_this_wp_a11y_ = __webpack_require__(44); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/contrast-checker/index.js - - -/** - * External dependencies - */ - -/** - * WordPress dependencies - */ - - - - - - -function ContrastCheckerMessage(_ref) { - var tinyBackgroundColor = _ref.tinyBackgroundColor, - tinyTextColor = _ref.tinyTextColor, - backgroundColor = _ref.backgroundColor, - textColor = _ref.textColor; - var msg = tinyBackgroundColor.getBrightness() < tinyTextColor.getBrightness() ? Object(external_this_wp_i18n_["__"])('This color combination may be hard for people to read. Try using a darker background color and/or a brighter text color.') : Object(external_this_wp_i18n_["__"])('This color combination may be hard for people to read. Try using a brighter background color and/or a darker text color.'); - Object(external_this_wp_element_["useEffect"])(function () { - Object(external_this_wp_a11y_["speak"])(Object(external_this_wp_i18n_["__"])('This color combination may be hard for people to read.')); - }, [backgroundColor, textColor]); - return Object(external_this_wp_element_["createElement"])("div", { - className: "editor-contrast-checker block-editor-contrast-checker" - }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Notice"], { - status: "warning", - isDismissible: false - }, msg)); -} - -function ContrastChecker(_ref2) { - var backgroundColor = _ref2.backgroundColor, - fallbackBackgroundColor = _ref2.fallbackBackgroundColor, - fallbackTextColor = _ref2.fallbackTextColor, - fontSize = _ref2.fontSize, - isLargeText = _ref2.isLargeText, - textColor = _ref2.textColor; - - if (!(backgroundColor || fallbackBackgroundColor) || !(textColor || fallbackTextColor)) { + if (!blockType) { return null; - } + } // Generate a class name for the block's editable form - var tinyBackgroundColor = tinycolor_default()(backgroundColor || fallbackBackgroundColor); - var tinyTextColor = tinycolor_default()(textColor || fallbackTextColor); - var hasTransparency = tinyBackgroundColor.getAlpha() !== 1 || tinyTextColor.getAlpha() !== 1; - if (hasTransparency || tinycolor_default.a.isReadable(tinyBackgroundColor, tinyTextColor, { - level: 'AA', - size: isLargeText || isLargeText !== false && fontSize >= 24 ? 'large' : 'small' - })) { - return null; - } + var generatedClassName = Object(external_this_wp_blocks_["hasBlockSupport"])(blockType, 'className', true) ? Object(external_this_wp_blocks_["getBlockDefaultClassName"])(name) : null; + var className = classnames_default()(generatedClassName, attributes.className); // `edit` and `save` are functions or components describing the markup + // with which a block is displayed. If `blockType` is valid, assign + // them preferentially as the render value for the block. - return Object(external_this_wp_element_["createElement"])(ContrastCheckerMessage, { - backgroundColor: backgroundColor, - textColor: textColor, - tinyBackgroundColor: tinyBackgroundColor, - tinyTextColor: tinyTextColor - }); -} - -/* harmony default export */ var contrast_checker = (ContrastChecker); + var Component = blockType.edit || blockType.save; + return Object(external_this_wp_element_["createElement"])(Component, Object(esm_extends["a" /* default */])({}, props, { + className: className + })); +}; +/* harmony default export */ var edit = (Object(external_this_wp_components_["withFilters"])('editor.BlockEdit')(edit_Edit)); // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-edit/context.js @@ -5615,66 +5681,6 @@ var ifBlockEditSelected = Object(external_this_wp_compose_["createHigherOrderCom }; }, 'ifBlockEditSelected'); -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inspector-controls/index.js -/** - * WordPress dependencies - */ - -/** - * Internal dependencies - */ - - - -var _createSlotFill = Object(external_this_wp_components_["createSlotFill"])('InspectorControls'), - Fill = _createSlotFill.Fill, - Slot = _createSlotFill.Slot; - -var InspectorControls = ifBlockEditSelected(Fill); -InspectorControls.Slot = Slot; -/** - * @see https://github.com/WordPress/gutenberg/blob/master/packages/block-editor/src/components/inspector-controls/README.md - */ - -/* harmony default export */ var inspector_controls = (InspectorControls); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-edit/edit.js - - - -/** - * External dependencies - */ - -/** - * WordPress dependencies - */ - - - -var edit_Edit = function Edit(props) { - var _props$attributes = props.attributes, - attributes = _props$attributes === void 0 ? {} : _props$attributes, - name = props.name; - var blockType = Object(external_this_wp_blocks_["getBlockType"])(name); - - if (!blockType) { - return null; - } // Generate a class name for the block's editable form - - - var generatedClassName = Object(external_this_wp_blocks_["hasBlockSupport"])(blockType, 'className', true) ? Object(external_this_wp_blocks_["getBlockDefaultClassName"])(name) : null; - var className = classnames_default()(generatedClassName, attributes.className); // `edit` and `save` are functions or components describing the markup - // with which a block is displayed. If `blockType` is valid, assign - // them preferentially as the render value for the block. - - var Component = blockType.edit || blockType.save; - return Object(external_this_wp_element_["createElement"])(Component, Object(esm_extends["a" /* default */])({}, props, { - className: className - })); -}; -/* harmony default export */ var edit = (Object(external_this_wp_components_["withFilters"])('editor.BlockEdit')(edit_Edit)); - // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-edit/index.js @@ -5753,6 +5759,512 @@ function (_Component) { /* harmony default export */ var block_edit = (block_edit_BlockEdit); +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/gradients/index.js + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + + +/** + * Internal dependencies + */ + + +function __experimentalGetGradientClass(gradientSlug) { + if (!gradientSlug) { + return undefined; + } + + return "has-".concat(gradientSlug, "-gradient-background"); +} + +function getGradientValueBySlug(gradients, slug) { + var gradient = Object(external_this_lodash_["find"])(gradients, ['slug', slug]); + return gradient && gradient.gradient; +} + +function __experimentalGetGradientObjectByGradientValue(gradients, value) { + var gradient = Object(external_this_lodash_["find"])(gradients, ['gradient', value]); + return gradient; +} + +function getGradientSlugByValue(gradients, value) { + var gradient = __experimentalGetGradientObjectByGradientValue(gradients, value); + + return gradient && gradient.slug; +} + +function __experimentalUseGradient() { + var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, + _ref$gradientAttribut = _ref.gradientAttribute, + gradientAttribute = _ref$gradientAttribut === void 0 ? 'gradient' : _ref$gradientAttribut, + _ref$customGradientAt = _ref.customGradientAttribute, + customGradientAttribute = _ref$customGradientAt === void 0 ? 'customGradient' : _ref$customGradientAt; + + var _useBlockEditContext = useBlockEditContext(), + clientId = _useBlockEditContext.clientId; + + var _useSelect = Object(external_this_wp_data_["useSelect"])(function (select) { + var _select = select('core/block-editor'), + getBlockAttributes = _select.getBlockAttributes, + getSettings = _select.getSettings; + + var attributes = getBlockAttributes(clientId); + return { + gradient: attributes[gradientAttribute], + customGradient: attributes[customGradientAttribute], + gradients: getSettings().gradients + }; + }, [clientId, gradientAttribute, customGradientAttribute]), + gradients = _useSelect.gradients, + gradient = _useSelect.gradient, + customGradient = _useSelect.customGradient; + + var _useDispatch = Object(external_this_wp_data_["useDispatch"])('core/block-editor'), + updateBlockAttributes = _useDispatch.updateBlockAttributes; + + var setGradient = Object(external_this_wp_element_["useCallback"])(function (newGradientValue) { + var _updateBlockAttribute2; + + var slug = getGradientSlugByValue(gradients, newGradientValue); + + if (slug) { + var _updateBlockAttribute; + + updateBlockAttributes(clientId, (_updateBlockAttribute = {}, Object(defineProperty["a" /* default */])(_updateBlockAttribute, gradientAttribute, slug), Object(defineProperty["a" /* default */])(_updateBlockAttribute, customGradientAttribute, undefined), _updateBlockAttribute)); + return; + } + + updateBlockAttributes(clientId, (_updateBlockAttribute2 = {}, Object(defineProperty["a" /* default */])(_updateBlockAttribute2, gradientAttribute, undefined), Object(defineProperty["a" /* default */])(_updateBlockAttribute2, customGradientAttribute, newGradientValue), _updateBlockAttribute2)); + }, [gradients, clientId, updateBlockAttributes]); + + var gradientClass = __experimentalGetGradientClass(gradient); + + var gradientValue; + + if (gradient) { + gradientValue = getGradientValueBySlug(gradients, gradient); + } else { + gradientValue = customGradient; + } + + return { + gradientClass: gradientClass, + gradientValue: gradientValue, + setGradient: setGradient + }; +} + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/colors-gradients/control.js + + + + + +/** + * External dependencies + */ + + +/** + * WordPress dependencies + */ + + + + + +/** + * Internal dependencies + */ + + + // translators: first %s: the color name or value (e.g. red or #ff0000) + +var colorIndicatorAriaLabel = Object(external_this_wp_i18n_["__"])('(Color: %s)'); // translators: first %s: the gradient name or value (e.g. red to green or linear-gradient(135deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%) + + +var gradientIndicatorAriaLabel = Object(external_this_wp_i18n_["__"])('(Gradient: %s)'); + +var colorsAndGradientKeys = ['colors', 'disableCustomColors', 'gradients', 'disableCustomGradients']; + +function VisualLabel(_ref) { + var colors = _ref.colors, + gradients = _ref.gradients, + label = _ref.label, + currentTab = _ref.currentTab, + colorValue = _ref.colorValue, + gradientValue = _ref.gradientValue; + var value, ariaLabel; + + if (currentTab === 'color') { + if (colorValue) { + value = colorValue; + var colorObject = utils_getColorObjectByColorValue(colors, value); + var colorName = colorObject && colorObject.name; + ariaLabel = Object(external_this_wp_i18n_["sprintf"])(colorIndicatorAriaLabel, colorName || value); + } + } else if (currentTab === 'gradient' && gradientValue) { + value = gradientValue; + + var gradientObject = __experimentalGetGradientObjectByGradientValue(gradients, value); + + var gradientName = gradientObject && gradientObject.name; + ariaLabel = Object(external_this_wp_i18n_["sprintf"])(gradientIndicatorAriaLabel, gradientName || value); + } + + return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, label, !!value && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ColorIndicator"], { + colorValue: value, + "aria-label": ariaLabel + })); +} + +function ColorGradientControlInner(_ref2) { + var colors = _ref2.colors, + gradients = _ref2.gradients, + disableCustomColors = _ref2.disableCustomColors, + disableCustomGradients = _ref2.disableCustomGradients, + className = _ref2.className, + label = _ref2.label, + onColorChange = _ref2.onColorChange, + onGradientChange = _ref2.onGradientChange, + colorValue = _ref2.colorValue, + gradientValue = _ref2.gradientValue; + var canChooseAColor = onColorChange && (!Object(external_this_lodash_["isEmpty"])(colors) || !disableCustomColors); + var canChooseAGradient = onGradientChange && (!Object(external_this_lodash_["isEmpty"])(gradients) || !disableCustomGradients); + + var _useState = Object(external_this_wp_element_["useState"])(gradientValue ? 'gradient' : !!canChooseAColor && 'color'), + _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2), + currentTab = _useState2[0], + setCurrentTab = _useState2[1]; + + if (!canChooseAColor && !canChooseAGradient) { + return null; + } + + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["BaseControl"], { + className: classnames_default()('block-editor-color-gradient-control', className) + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["BaseControl"].VisualLabel, null, Object(external_this_wp_element_["createElement"])(VisualLabel, { + currentTab: currentTab, + label: label, + colorValue: colorValue, + gradientValue: gradientValue + })), canChooseAColor && canChooseAGradient && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ButtonGroup"], { + className: "block-editor-color-gradient-control__button-tabs" + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { + isLarge: true, + isPrimary: currentTab === 'color', + isSecondary: currentTab !== 'color', + onClick: function onClick() { + return setCurrentTab('color'); + } + }, Object(external_this_wp_i18n_["__"])('Solid Color')), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { + isLarge: true, + isPrimary: currentTab === 'gradient', + isSecondary: currentTab !== 'gradient', + onClick: function onClick() { + return setCurrentTab('gradient'); + } + }, Object(external_this_wp_i18n_["__"])('Gradient'))), currentTab === 'color' && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ColorPalette"], Object(esm_extends["a" /* default */])({ + value: colorValue, + onChange: canChooseAGradient ? function (newColor) { + onColorChange(newColor); + onGradientChange(); + } : onColorChange + }, { + colors: colors, + disableCustomColors: disableCustomColors + })), currentTab === 'gradient' && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["__experimentalGradientPicker"], Object(esm_extends["a" /* default */])({ + value: gradientValue, + onChange: canChooseAColor ? function (newGradient) { + onGradientChange(newGradient); + onColorChange(); + } : onGradientChange + }, { + gradients: gradients, + disableCustomGradients: disableCustomGradients + }))); +} + +function ColorGradientControlSelect(props) { + var colorGradientSettings = Object(external_this_wp_data_["useSelect"])(function (select) { + var settings = select('core/block-editor').getSettings(); + return Object(external_this_lodash_["pick"])(settings, colorsAndGradientKeys); + }); + return Object(external_this_wp_element_["createElement"])(ColorGradientControlInner, Object(objectSpread["a" /* default */])({}, colorGradientSettings, props)); +} + +function ColorGradientControl(props) { + if (Object(external_this_lodash_["every"])(colorsAndGradientKeys, function (key) { + return props.hasOwnProperty(key); + })) { + return Object(external_this_wp_element_["createElement"])(ColorGradientControlInner, props); + } + + return Object(external_this_wp_element_["createElement"])(ColorGradientControlSelect, props); +} + +/* harmony default export */ var colors_gradients_control = (ColorGradientControl); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/colors-gradients/panel-color-gradient-settings.js + + + + + +/** + * External dependencies + */ + + +/** + * WordPress dependencies + */ + + + + +/** + * Internal dependencies + */ + + + + // translators: first %s: The type of color or gradient (e.g. background, overlay...), second %s: the color name or value (e.g. red or #ff0000) + +var panel_color_gradient_settings_colorIndicatorAriaLabel = Object(external_this_wp_i18n_["__"])('(%s: color %s)'); // translators: first %s: The type of color or gradient (e.g. background, overlay...), second %s: the color name or value (e.g. red or #ff0000) + + +var panel_color_gradient_settings_gradientIndicatorAriaLabel = Object(external_this_wp_i18n_["__"])('(%s: gradient %s)'); + +var panel_color_gradient_settings_colorsAndGradientKeys = ['colors', 'disableCustomColors', 'gradients', 'disableCustomGradients']; + +var panel_color_gradient_settings_Indicators = function Indicators(_ref) { + var colors = _ref.colors, + gradients = _ref.gradients, + settings = _ref.settings; + return settings.map(function (_ref2, index) { + var colorValue = _ref2.colorValue, + gradientValue = _ref2.gradientValue, + label = _ref2.label, + availableColors = _ref2.colors, + availableGradients = _ref2.gradients; + + if (!colorValue && !gradientValue) { + return null; + } + + var ariaLabel; + + if (colorValue) { + var colorObject = utils_getColorObjectByColorValue(availableColors || colors, colorValue); + ariaLabel = Object(external_this_wp_i18n_["sprintf"])(panel_color_gradient_settings_colorIndicatorAriaLabel, label.toLowerCase(), colorObject && colorObject.name || colorValue); + } else { + var gradientObject = __experimentalGetGradientObjectByGradientValue(availableGradients || gradients, colorValue); + + ariaLabel = Object(external_this_wp_i18n_["sprintf"])(panel_color_gradient_settings_gradientIndicatorAriaLabel, label.toLowerCase(), gradientObject && gradientObject.name || gradientValue); + } + + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ColorIndicator"], { + key: index, + colorValue: colorValue || gradientValue, + "aria-label": ariaLabel + }); + }); +}; + +var panel_color_gradient_settings_PanelColorGradientSettingsInner = function PanelColorGradientSettingsInner(_ref3) { + var className = _ref3.className, + colors = _ref3.colors, + gradients = _ref3.gradients, + disableCustomColors = _ref3.disableCustomColors, + disableCustomGradients = _ref3.disableCustomGradients, + children = _ref3.children, + settings = _ref3.settings, + title = _ref3.title, + props = Object(objectWithoutProperties["a" /* default */])(_ref3, ["className", "colors", "gradients", "disableCustomColors", "disableCustomGradients", "children", "settings", "title"]); + + if (Object(external_this_lodash_["isEmpty"])(colors) && Object(external_this_lodash_["isEmpty"])(gradients) && disableCustomColors && disableCustomGradients && Object(external_this_lodash_["every"])(settings, function (setting) { + return Object(external_this_lodash_["isEmpty"])(setting.colors) && Object(external_this_lodash_["isEmpty"])(setting.gradients) && (setting.disableCustomColors === undefined || setting.disableCustomColors) && (setting.disableCustomGradients === undefined || setting.disableCustomGradients); + })) { + return null; + } + + var titleElement = Object(external_this_wp_element_["createElement"])("span", { + className: "block-editor-panel-color-gradient-settings__panel-title" + }, title, Object(external_this_wp_element_["createElement"])(panel_color_gradient_settings_Indicators, { + colors: colors, + gradients: gradients, + settings: settings + })); + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], Object(esm_extends["a" /* default */])({ + className: classnames_default()('block-editor-panel-color-gradient-settings', className), + title: titleElement + }, props), settings.map(function (setting, index) { + return Object(external_this_wp_element_["createElement"])(colors_gradients_control, Object(esm_extends["a" /* default */])({ + key: index + }, Object(objectSpread["a" /* default */])({ + colors: colors, + gradients: gradients, + disableCustomColors: disableCustomColors, + disableCustomGradients: disableCustomGradients + }, setting))); + }), children); +}; + +var panel_color_gradient_settings_PanelColorGradientSettingsSelect = function PanelColorGradientSettingsSelect(props) { + var colorGradientSettings = Object(external_this_wp_data_["useSelect"])(function (select) { + var settings = select('core/block-editor').getSettings(); + return Object(external_this_lodash_["pick"])(settings, panel_color_gradient_settings_colorsAndGradientKeys); + }); + return Object(external_this_wp_element_["createElement"])(panel_color_gradient_settings_PanelColorGradientSettingsInner, Object(objectSpread["a" /* default */])({}, colorGradientSettings, props)); +}; + +var panel_color_gradient_settings_PanelColorGradientSettings = function PanelColorGradientSettings(props) { + if (Object(external_this_lodash_["every"])(panel_color_gradient_settings_colorsAndGradientKeys, function (key) { + return props.hasOwnProperty(key); + })) { + return Object(external_this_wp_element_["createElement"])(panel_color_gradient_settings_PanelColorGradientSettingsInner, props); + } + + return Object(external_this_wp_element_["createElement"])(panel_color_gradient_settings_PanelColorGradientSettingsSelect, props); +}; + +/* harmony default export */ var panel_color_gradient_settings = (panel_color_gradient_settings_PanelColorGradientSettings); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/panel-color-settings/index.js + + + + + +/** + * Internal dependencies + */ + + +var panel_color_settings_PanelColorSettings = function PanelColorSettings(_ref) { + var colorSettings = _ref.colorSettings, + props = Object(objectWithoutProperties["a" /* default */])(_ref, ["colorSettings"]); + + var settings = colorSettings.map(function (_ref2) { + var value = _ref2.value, + onChange = _ref2.onChange, + otherSettings = Object(objectWithoutProperties["a" /* default */])(_ref2, ["value", "onChange"]); + + return Object(objectSpread["a" /* default */])({}, otherSettings, { + colorValue: value, + onColorChange: onChange + }); + }); + return Object(external_this_wp_element_["createElement"])(panel_color_gradient_settings, Object(esm_extends["a" /* default */])({ + settings: settings, + gradients: [], + disableCustomGradients: true + }, props)); +}; + +/* harmony default export */ var panel_color_settings = (panel_color_settings_PanelColorSettings); + +// EXTERNAL MODULE: external {"this":["wp","a11y"]} +var external_this_wp_a11y_ = __webpack_require__(45); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/contrast-checker/index.js + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + + + + + +function ContrastCheckerMessage(_ref) { + var tinyBackgroundColor = _ref.tinyBackgroundColor, + tinyTextColor = _ref.tinyTextColor, + backgroundColor = _ref.backgroundColor, + textColor = _ref.textColor; + var msg = tinyBackgroundColor.getBrightness() < tinyTextColor.getBrightness() ? Object(external_this_wp_i18n_["__"])('This color combination may be hard for people to read. Try using a darker background color and/or a brighter text color.') : Object(external_this_wp_i18n_["__"])('This color combination may be hard for people to read. Try using a brighter background color and/or a darker text color.'); + Object(external_this_wp_element_["useEffect"])(function () { + Object(external_this_wp_a11y_["speak"])(Object(external_this_wp_i18n_["__"])('This color combination may be hard for people to read.')); + }, [backgroundColor, textColor]); + return Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-contrast-checker" + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Notice"], { + status: "warning", + isDismissible: false + }, msg)); +} + +function ContrastChecker(_ref2) { + var backgroundColor = _ref2.backgroundColor, + fallbackBackgroundColor = _ref2.fallbackBackgroundColor, + fallbackTextColor = _ref2.fallbackTextColor, + fontSize = _ref2.fontSize, + isLargeText = _ref2.isLargeText, + textColor = _ref2.textColor; + + if (!(backgroundColor || fallbackBackgroundColor) || !(textColor || fallbackTextColor)) { + return null; + } + + var tinyBackgroundColor = tinycolor_default()(backgroundColor || fallbackBackgroundColor); + var tinyTextColor = tinycolor_default()(textColor || fallbackTextColor); + var hasTransparency = tinyBackgroundColor.getAlpha() !== 1 || tinyTextColor.getAlpha() !== 1; + + if (hasTransparency || tinycolor_default.a.isReadable(tinyBackgroundColor, tinyTextColor, { + level: 'AA', + size: isLargeText || isLargeText !== false && fontSize >= 24 ? 'large' : 'small' + })) { + return null; + } + + return Object(external_this_wp_element_["createElement"])(ContrastCheckerMessage, { + backgroundColor: backgroundColor, + textColor: textColor, + tinyBackgroundColor: tinyBackgroundColor, + tinyTextColor: tinyTextColor + }); +} + +/* harmony default export */ var contrast_checker = (ContrastChecker); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inspector-controls/index.js +/** + * WordPress dependencies + */ + +/** + * Internal dependencies + */ + + + +var _createSlotFill = Object(external_this_wp_components_["createSlotFill"])('InspectorControls'), + Fill = _createSlotFill.Fill, + Slot = _createSlotFill.Slot; + +var InspectorControls = ifBlockEditSelected(Fill); +InspectorControls.Slot = Slot; +/** + * @see https://github.com/WordPress/gutenberg/blob/master/packages/block-editor/src/components/inspector-controls/README.md + */ + +/* harmony default export */ var inspector_controls = (InspectorControls); + // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/colors/use-colors.js @@ -6086,103 +6598,6 @@ function __experimentalUseColors(colorConfigs) { -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/gradients/index.js - - -/** - * External dependencies - */ - -/** - * WordPress dependencies - */ - - - -/** - * Internal dependencies - */ - - -function __experimentalGetGradientClass(gradientSlug) { - if (!gradientSlug) { - return undefined; - } - - return "has-".concat(gradientSlug, "-gradient-background"); -} - -function getGradientValueBySlug(gradients, slug) { - var gradient = Object(external_this_lodash_["find"])(gradients, ['slug', slug]); - return gradient && gradient.gradient; -} - -function getGradientSlugByValue(gradients, value) { - var gradient = Object(external_this_lodash_["find"])(gradients, ['gradient', value]); - return gradient && gradient.slug; -} - -function __experimentalUseGradient() { - var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, - _ref$gradientAttribut = _ref.gradientAttribute, - gradientAttribute = _ref$gradientAttribut === void 0 ? 'gradient' : _ref$gradientAttribut, - _ref$customGradientAt = _ref.customGradientAttribute, - customGradientAttribute = _ref$customGradientAt === void 0 ? 'customGradient' : _ref$customGradientAt; - - var _useBlockEditContext = useBlockEditContext(), - clientId = _useBlockEditContext.clientId; - - var _useSelect = Object(external_this_wp_data_["useSelect"])(function (select) { - var _select = select('core/block-editor'), - getBlockAttributes = _select.getBlockAttributes, - getSettings = _select.getSettings; - - var attributes = getBlockAttributes(clientId); - return { - gradient: attributes[gradientAttribute], - customGradient: attributes[customGradientAttribute], - gradients: getSettings().gradients - }; - }, [clientId]), - gradients = _useSelect.gradients, - gradient = _useSelect.gradient, - customGradient = _useSelect.customGradient; - - var _useDispatch = Object(external_this_wp_data_["useDispatch"])('core/block-editor'), - updateBlockAttributes = _useDispatch.updateBlockAttributes; - - var setGradient = Object(external_this_wp_element_["useCallback"])(function (newGradientValue) { - var _updateBlockAttribute2; - - var slug = getGradientSlugByValue(gradients, newGradientValue); - - if (slug) { - var _updateBlockAttribute; - - updateBlockAttributes(clientId, (_updateBlockAttribute = {}, Object(defineProperty["a" /* default */])(_updateBlockAttribute, gradientAttribute, slug), Object(defineProperty["a" /* default */])(_updateBlockAttribute, customGradientAttribute, undefined), _updateBlockAttribute)); - return; - } - - updateBlockAttributes(clientId, (_updateBlockAttribute2 = {}, Object(defineProperty["a" /* default */])(_updateBlockAttribute2, gradientAttribute, undefined), Object(defineProperty["a" /* default */])(_updateBlockAttribute2, customGradientAttribute, newGradientValue), _updateBlockAttribute2)); - }, [gradients, clientId, updateBlockAttributes]); - - var gradientClass = __experimentalGetGradientClass(gradient); - - var gradientValue; - - if (gradient) { - gradientValue = getGradientValueBySlug(gradients, gradient); - } else { - gradientValue = customGradient; - } - - return { - gradientClass: gradientClass, - gradientValue: gradientValue, - setGradient: setGradient - }; -} - // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/font-sizes/utils.js /** * External dependencies @@ -6421,15 +6836,15 @@ function getFontSizeClass(fontSizeSlug) { var DEFAULT_ALIGNMENT_CONTROLS = [{ icon: 'editor-alignleft', - title: Object(external_this_wp_i18n_["__"])('Align Text Left'), + title: Object(external_this_wp_i18n_["__"])('Align text left'), align: 'left' }, { icon: 'editor-aligncenter', - title: Object(external_this_wp_i18n_["__"])('Align Text Center'), + title: Object(external_this_wp_i18n_["__"])('Align text center'), align: 'center' }, { icon: 'editor-alignright', - title: Object(external_this_wp_i18n_["__"])('Align Text Right'), + title: Object(external_this_wp_i18n_["__"])('Align text right'), align: 'right' }]; function AlignmentToolbar(props) { @@ -6460,6 +6875,7 @@ function AlignmentToolbar(props) { var isActive = value === align; return Object(objectSpread["a" /* default */])({}, control, { isActive: isActive, + role: isCollapsed ? 'menuitemradio' : undefined, onClick: applyOrUnset(align) }); }) @@ -6542,23 +6958,23 @@ function withFilteredAutocompleters(Autocomplete) { var BLOCK_ALIGNMENTS_CONTROLS = { left: { icon: 'align-left', - title: Object(external_this_wp_i18n_["__"])('Align Left') + title: Object(external_this_wp_i18n_["__"])('Align left') }, center: { icon: 'align-center', - title: Object(external_this_wp_i18n_["__"])('Align Center') + title: Object(external_this_wp_i18n_["__"])('Align center') }, right: { icon: 'align-right', - title: Object(external_this_wp_i18n_["__"])('Align Right') + title: Object(external_this_wp_i18n_["__"])('Align right') }, wide: { icon: 'align-wide', - title: Object(external_this_wp_i18n_["__"])('Wide Width') + title: Object(external_this_wp_i18n_["__"])('Wide width') }, full: { icon: 'align-full-width', - title: Object(external_this_wp_i18n_["__"])('Full Width') + title: Object(external_this_wp_i18n_["__"])('Full width') } }; var DEFAULT_CONTROLS = ['left', 'center', 'right', 'wide', 'full']; @@ -6592,6 +7008,7 @@ function BlockAlignmentToolbar(_ref) { controls: enabledControls.map(function (control) { return Object(objectSpread["a" /* default */])({}, BLOCK_ALIGNMENTS_CONTROLS[control], { isActive: value === control, + role: isCollapsed ? 'menuitemradio' : undefined, onClick: applyOrUnset(control) }); }) @@ -6830,15 +7247,12 @@ function BlockIcon(_ref) { } : {}; return Object(external_this_wp_element_["createElement"])("span", { style: style, - className: classnames_default()('editor-block-icon block-editor-block-icon', className, { + className: classnames_default()('block-editor-block-icon', className, { 'has-colors': showColors }) }, renderedIcon); } -// EXTERNAL MODULE: external {"this":["wp","keycodes"]} -var external_this_wp_keycodes_ = __webpack_require__(19); - // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-drop-zone/index.js @@ -7002,7 +7416,7 @@ function (_Component) { var index = this.getInsertIndex(); var isAppender = index === undefined; return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["DropZone"], { - className: classnames_default()('editor-block-drop-zone block-editor-block-drop-zone', { + className: classnames_default()('block-editor-block-drop-zone', { 'is-appender': isAppender }), onHTMLDrop: this.onHTMLDrop, @@ -7054,15 +7468,15 @@ function (_Component) { }), Object(external_this_wp_components_["withFilters"])('editor.BlockDropZone'))(block_drop_zone_BlockDropZone)); // EXTERNAL MODULE: ./node_modules/dom-scroll-into-view/lib/index.js -var lib = __webpack_require__(67); +var lib = __webpack_require__(69); var lib_default = /*#__PURE__*/__webpack_require__.n(lib); +// EXTERNAL MODULE: external {"this":["wp","keycodes"]} +var external_this_wp_keycodes_ = __webpack_require__(19); + // EXTERNAL MODULE: external {"this":["wp","url"]} var external_this_wp_url_ = __webpack_require__(25); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules -var slicedToArray = __webpack_require__(22); - // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/store/defaults.js /** * WordPress dependencies @@ -8585,6 +8999,11 @@ function reducer_isNavigationMode() { var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false; var action = arguments.length > 1 ? arguments[1] : undefined; + // Let inserting block always trigger Edit mode. + if (action.type === 'INSERT_BLOCKS') { + return false; + } + if (action.type === 'SET_NAVIGATION_MODE') { return action.isNavigationMode; } @@ -8677,7 +9096,7 @@ function automaticChangeStatus(state, action) { })); // EXTERNAL MODULE: ./node_modules/refx/refx.js -var refx = __webpack_require__(70); +var refx = __webpack_require__(72); var refx_default = /*#__PURE__*/__webpack_require__.n(refx); // EXTERNAL MODULE: ./node_modules/redux-multi/lib/index.js @@ -8685,7 +9104,7 @@ var redux_multi_lib = __webpack_require__(216); var redux_multi_lib_default = /*#__PURE__*/__webpack_require__.n(redux_multi_lib); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js -var esm_typeof = __webpack_require__(31); +var esm_typeof = __webpack_require__(32); // EXTERNAL MODULE: external {"this":"regeneratorRuntime"} var external_this_regeneratorRuntime_ = __webpack_require__(23); @@ -8761,7 +9180,16 @@ external_this_regeneratorRuntime_default.a.mark(actions_insertBlocks), external_this_regeneratorRuntime_default.a.mark(actions_removeBlocks), _marked8 = /*#__PURE__*/ -external_this_regeneratorRuntime_default.a.mark(actions_setNavigationMode); +external_this_regeneratorRuntime_default.a.mark(actions_setNavigationMode), + _marked9 = +/*#__PURE__*/ +external_this_regeneratorRuntime_default.a.mark(actions_duplicateBlocks), + _marked10 = +/*#__PURE__*/ +external_this_regeneratorRuntime_default.a.mark(actions_insertBeforeBlock), + _marked11 = +/*#__PURE__*/ +external_this_regeneratorRuntime_default.a.mark(actions_insertAfterBlock); /** * External dependencies @@ -9516,33 +9944,62 @@ function actions_mergeBlocks(firstBlockClientId, secondBlockClientId) { function actions_removeBlocks(clientIds) { var selectPrevious, + rootClientId, + isLocked, _args7 = arguments; return external_this_regeneratorRuntime_default.a.wrap(function removeBlocks$(_context7) { while (1) { switch (_context7.prev = _context7.next) { case 0: selectPrevious = _args7.length > 1 && _args7[1] !== undefined ? _args7[1] : true; - clientIds = Object(external_this_lodash_["castArray"])(clientIds); - if (!selectPrevious) { - _context7.next = 5; + if (!(!clientIds || !clientIds.length)) { + _context7.next = 3; break; } - _context7.next = 5; + return _context7.abrupt("return"); + + case 3: + clientIds = Object(external_this_lodash_["castArray"])(clientIds); + _context7.next = 6; + return controls_select('core/block-editor', 'getBlockRootClientId', clientIds[0]); + + case 6: + rootClientId = _context7.sent; + _context7.next = 9; + return controls_select('core/block-editor', 'getTemplateLock', rootClientId); + + case 9: + isLocked = _context7.sent; + + if (!isLocked) { + _context7.next = 12; + break; + } + + return _context7.abrupt("return"); + + case 12: + if (!selectPrevious) { + _context7.next = 15; + break; + } + + _context7.next = 15; return selectPreviousBlock(clientIds[0]); - case 5: - _context7.next = 7; + case 15: + _context7.next = 17; return { type: 'REMOVE_BLOCKS', clientIds: clientIds }; - case 7: - return _context7.delegateYield(ensureDefaultBlock(), "t0", 8); + case 17: + return _context7.delegateYield(ensureDefaultBlock(), "t0", 18); - case 8: + case 18: case "end": return _context7.stop(); } @@ -9818,9 +10275,199 @@ function actions_setNavigationMode() { } }, _marked8); } +/** + * Generator that triggers an action used to duplicate a list of blocks. + * + * @param {string[]} clientIds + */ + +function actions_duplicateBlocks(clientIds) { + var blocks, rootClientId, blockNames, lastSelectedIndex, clonedBlocks; + return external_this_regeneratorRuntime_default.a.wrap(function duplicateBlocks$(_context9) { + while (1) { + switch (_context9.prev = _context9.next) { + case 0: + if (!(!clientIds && !clientIds.length)) { + _context9.next = 2; + break; + } + + return _context9.abrupt("return"); + + case 2: + _context9.next = 4; + return controls_select('core/block-editor', 'getBlocksByClientId', clientIds); + + case 4: + blocks = _context9.sent; + _context9.next = 7; + return controls_select('core/block-editor', 'getBlockRootClientId', clientIds[0]); + + case 7: + rootClientId = _context9.sent; + + if (!Object(external_this_lodash_["some"])(blocks, function (block) { + return !block; + })) { + _context9.next = 10; + break; + } + + return _context9.abrupt("return"); + + case 10: + blockNames = blocks.map(function (block) { + return block.name; + }); // Return early if blocks don't support multipe usage. + + if (!Object(external_this_lodash_["some"])(blockNames, function (blockName) { + return !Object(external_this_wp_blocks_["hasBlockSupport"])(blockName, 'multiple', true); + })) { + _context9.next = 13; + break; + } + + return _context9.abrupt("return"); + + case 13: + _context9.next = 15; + return controls_select('core/block-editor', 'getBlockIndex', Object(external_this_lodash_["last"])(Object(external_this_lodash_["castArray"])(clientIds)), rootClientId); + + case 15: + lastSelectedIndex = _context9.sent; + clonedBlocks = blocks.map(function (block) { + return Object(external_this_wp_blocks_["cloneBlock"])(block); + }); + _context9.next = 19; + return actions_insertBlocks(clonedBlocks, lastSelectedIndex + 1, rootClientId); + + case 19: + if (!(clonedBlocks.length > 1)) { + _context9.next = 22; + break; + } + + _context9.next = 22; + return actions_multiSelect(Object(external_this_lodash_["first"])(clonedBlocks).clientId, Object(external_this_lodash_["last"])(clonedBlocks).clientId); + + case 22: + case "end": + return _context9.stop(); + } + } + }, _marked9); +} +/** + * Generator used to insert an empty block after a given block. + * + * @param {string} clientId + */ + +function actions_insertBeforeBlock(clientId) { + var rootClientId, isLocked, firstSelectedIndex; + return external_this_regeneratorRuntime_default.a.wrap(function insertBeforeBlock$(_context10) { + while (1) { + switch (_context10.prev = _context10.next) { + case 0: + if (clientId) { + _context10.next = 2; + break; + } + + return _context10.abrupt("return"); + + case 2: + _context10.next = 4; + return controls_select('core/block-editor', 'getBlockRootClientId', clientId); + + case 4: + rootClientId = _context10.sent; + _context10.next = 7; + return controls_select('core/block-editor', 'getTemplateLock', rootClientId); + + case 7: + isLocked = _context10.sent; + + if (!isLocked) { + _context10.next = 10; + break; + } + + return _context10.abrupt("return"); + + case 10: + _context10.next = 12; + return controls_select('core/block-editor', 'getBlockIndex', clientId, rootClientId); + + case 12: + firstSelectedIndex = _context10.sent; + _context10.next = 15; + return actions_insertDefaultBlock({}, rootClientId, firstSelectedIndex); + + case 15: + case "end": + return _context10.stop(); + } + } + }, _marked10); +} +/** + * Generator used to insert an empty block before a given block. + * + * @param {string} clientId + */ + +function actions_insertAfterBlock(clientId) { + var rootClientId, isLocked, firstSelectedIndex; + return external_this_regeneratorRuntime_default.a.wrap(function insertAfterBlock$(_context11) { + while (1) { + switch (_context11.prev = _context11.next) { + case 0: + if (clientId) { + _context11.next = 2; + break; + } + + return _context11.abrupt("return"); + + case 2: + _context11.next = 4; + return controls_select('core/block-editor', 'getBlockRootClientId', clientId); + + case 4: + rootClientId = _context11.sent; + _context11.next = 7; + return controls_select('core/block-editor', 'getTemplateLock', rootClientId); + + case 7: + isLocked = _context11.sent; + + if (!isLocked) { + _context11.next = 10; + break; + } + + return _context11.abrupt("return"); + + case 10: + _context11.next = 12; + return controls_select('core/block-editor', 'getBlockIndex', clientId, rootClientId); + + case 12: + firstSelectedIndex = _context11.sent; + _context11.next = 15; + return actions_insertDefaultBlock({}, rootClientId, firstSelectedIndex + 1); + + case 15: + case "end": + return _context11.stop(); + } + } + }, _marked11); +} // EXTERNAL MODULE: ./node_modules/rememo/es/rememo.js -var rememo = __webpack_require__(38); +var rememo = __webpack_require__(34); // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/store/selectors.js @@ -9965,7 +10612,7 @@ var selectors_getBlock = Object(rememo["a" /* default */])(function (state, clie innerBlocks: selectors_getBlocks(state, clientId) }); }, function (state, clientId) { - return [// Normally, we'd have both `getBlockAttributes` dependancies and + return [// Normally, we'd have both `getBlockAttributes` dependencies and // `getBlocks` (children) dependancies here but for performance reasons // we use a denormalized cache key computed in the reducer that takes both // the attributes and inner blocks into account. The value of the cache key @@ -10220,11 +10867,13 @@ function selectors_getBlockRootClientId(state, clientId) { * * @param {Object} state Editor state. * @param {string} clientId Block from which to find root client ID. + * @param {boolean} ascending Order results from bottom to top (true) or top to bottom (false). * * @return {Array} ClientIDs of the parent blocks. */ var selectors_getBlockParents = Object(rememo["a" /* default */])(function (state, clientId) { + var ascending = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false; var parents = []; var current = clientId; @@ -10233,7 +10882,7 @@ var selectors_getBlockParents = Object(rememo["a" /* default */])(function (stat parents.push(current); } - return parents.reverse(); + return ascending ? parents : parents.reverse(); }, function (state) { return [state.blocks.parents]; }); @@ -10257,6 +10906,32 @@ function getBlockHierarchyRootClientId(state, clientId) { return parent; } +/** + * Given a block client ID, returns the lowest common ancestor with selected client ID. + * + * @param {Object} state Editor state. + * @param {string} clientId Block from which to find common ancestor client ID. + * + * @return {string} Common ancestor client ID or undefined + */ + +function getLowestCommonAncestorWithSelectedBlock(state, clientId) { + var selectedId = selectors_getSelectedBlockClientId(state); + var clientParents = [].concat(Object(toConsumableArray["a" /* default */])(selectors_getBlockParents(state, clientId)), [clientId]); + var selectedParents = [].concat(Object(toConsumableArray["a" /* default */])(selectors_getBlockParents(state, selectedId)), [selectedId]); + var lowestCommonAncestor; + var maxDepth = Math.min(clientParents.length, selectedParents.length); + + for (var index = 0; index < maxDepth; index++) { + if (clientParents[index] === selectedParents[index]) { + lowestCommonAncestor = clientParents[index]; + } else { + break; + } + } + + return lowestCommonAncestor; +} /** * Returns the client ID of the block adjacent one at the given reference * startClientId and modifier directionality. Defaults start startClientId to @@ -10813,7 +11488,7 @@ function selectors_getTemplateLock(state, rootClientId) { return state.settings.templateLock; } - var blockListSettings = getBlockListSettings(state, rootClientId); + var blockListSettings = selectors_getBlockListSettings(state, rootClientId); if (!blockListSettings) { return null; @@ -10844,6 +11519,13 @@ var selectors_canInsertBlockTypeUnmemoized = function canInsertBlockTypeUnmemoiz } if (Object(external_this_lodash_["isArray"])(list)) { + // TODO: when there is a canonical way to detect that we are editing a post + // the following check should be changed to something like: + // if ( includes( list, 'core/post-content' ) && getEditorMode() === 'post-content' && item === null ) + if (Object(external_this_lodash_["includes"])(list, 'core/post-content') && item === null) { + return true; + } + return Object(external_this_lodash_["includes"])(list, item); } @@ -10871,7 +11553,7 @@ var selectors_canInsertBlockTypeUnmemoized = function canInsertBlockTypeUnmemoiz return false; } - var parentBlockListSettings = getBlockListSettings(state, rootClientId); + var parentBlockListSettings = selectors_getBlockListSettings(state, rootClientId); var parentAllowedBlocks = Object(external_this_lodash_["get"])(parentBlockListSettings, ['allowedBlocks']); var hasParentAllowedBlock = checkAllowList(parentAllowedBlocks, blockName); var blockAllowedParentBlocks = blockType.parent; @@ -11141,7 +11823,7 @@ var selectors_experimentalGetAllowedBlocks = Object(rememo["a" /* default */])(f * @return {?Object} Block settings of the block if set. */ -function getBlockListSettings(state, clientId) { +function selectors_getBlockListSettings(state, clientId) { return state.blockListSettings[clientId]; } /** @@ -11168,6 +11850,22 @@ function selectors_getSettings(state) { function selectors_isLastBlockChangePersistent(state) { return state.blocks.isPersistentChange; } +/** + * Returns the Block List settings for an array of blocks, if any exist. + * + * @param {Object} state Editor state. + * @param {Array} clientIds Block client IDs. + * + * @return {Array} Block List Settings for each of the found blocks + */ + +var selectors_experimentalGetBlockListSettingsForBlocks = Object(rememo["a" /* default */])(function (state, clientIds) { + return Object(external_this_lodash_["filter"])(state.blockListSettings, function (value, key) { + return clientIds.includes(key); + }); +}, function (state) { + return [state.blockListSettings]; +}); /** * Returns the parsed block saved as shared block with the given ID. * @@ -11781,7 +12479,75 @@ function (_Component) { }; })])(provider_BlockEditorProvider)); -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/block-async-mode-provider.js +// EXTERNAL MODULE: ./node_modules/react-spring/web.cjs.js +var web_cjs = __webpack_require__(65); + +// EXTERNAL MODULE: external {"this":["wp","dom"]} +var external_this_wp_dom_ = __webpack_require__(27); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/warning/index.js + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + + + + +function Warning(_ref) { + var className = _ref.className, + actions = _ref.actions, + children = _ref.children, + secondaryActions = _ref.secondaryActions; + return Object(external_this_wp_element_["createElement"])("div", { + className: classnames_default()(className, 'block-editor-warning') + }, Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-warning__contents" + }, Object(external_this_wp_element_["createElement"])("p", { + className: "block-editor-warning__message" + }, children), external_this_wp_element_["Children"].count(actions) > 0 && Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-warning__actions" + }, external_this_wp_element_["Children"].map(actions, function (action, i) { + return Object(external_this_wp_element_["createElement"])("span", { + key: i, + className: "block-editor-warning__action" + }, action); + }))), secondaryActions && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Dropdown"], { + className: "block-editor-warning__secondary", + position: "bottom left", + renderToggle: function renderToggle(_ref2) { + var isOpen = _ref2.isOpen, + onToggle = _ref2.onToggle; + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { + icon: "ellipsis", + label: Object(external_this_wp_i18n_["__"])('More options'), + onClick: onToggle, + "aria-expanded": isOpen + }); + }, + renderContent: function renderContent() { + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuGroup"], null, secondaryActions.map(function (item, pos) { + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuItem"], { + onClick: item.onClick, + key: pos + }, item.title); + })); + } + })); +} + +/* harmony default export */ var warning = (Warning); + +// EXTERNAL MODULE: ./node_modules/diff/dist/diff.js +var dist_diff = __webpack_require__(217); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-compare/block-view.js /** @@ -11789,26 +12555,8339 @@ function (_Component) { */ -var block_async_mode_provider_BlockAsyncModeProvider = function BlockAsyncModeProvider(_ref) { - var children = _ref.children, - clientId = _ref.clientId, - isBlockInSelection = _ref.isBlockInSelection; - var isParentOfSelectedBlock = Object(external_this_wp_data_["useSelect"])(function (select) { - return select('core/block-editor').hasSelectedInnerBlock(clientId, true); - }); - var isSyncModeForced = isBlockInSelection || isParentOfSelectedBlock; - return Object(external_this_wp_element_["createElement"])(external_this_wp_data_["AsyncModeProvider"], { - value: !isSyncModeForced - }, children); +var block_view_BlockView = function BlockView(_ref) { + var title = _ref.title, + rawContent = _ref.rawContent, + renderedContent = _ref.renderedContent, + action = _ref.action, + actionText = _ref.actionText, + className = _ref.className; + return Object(external_this_wp_element_["createElement"])("div", { + className: className + }, Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-block-compare__content" + }, Object(external_this_wp_element_["createElement"])("h2", { + className: "block-editor-block-compare__heading" + }, title), Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-block-compare__html" + }, rawContent), Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-block-compare__preview edit-post-visual-editor" + }, renderedContent)), Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-block-compare__action" + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { + isSecondary: true, + tabIndex: "0", + onClick: action + }, actionText))); }; -/* harmony default export */ var block_async_mode_provider = (block_async_mode_provider_BlockAsyncModeProvider); +/* harmony default export */ var block_view = (block_view_BlockView); -// EXTERNAL MODULE: ./node_modules/react-spring/web.cjs.js -var web_cjs = __webpack_require__(63); +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-compare/index.js -// EXTERNAL MODULE: external {"this":["wp","dom"]} -var external_this_wp_dom_ = __webpack_require__(29); + + + + + + +/** + * External dependencies + */ + + + +/** + * WordPress dependencies + */ + + + + +/** + * Internal dependencies + */ + + + +var block_compare_BlockCompare = +/*#__PURE__*/ +function (_Component) { + Object(inherits["a" /* default */])(BlockCompare, _Component); + + function BlockCompare() { + Object(classCallCheck["a" /* default */])(this, BlockCompare); + + return Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(BlockCompare).apply(this, arguments)); + } + + Object(createClass["a" /* default */])(BlockCompare, [{ + key: "getDifference", + value: function getDifference(originalContent, newContent) { + var difference = Object(dist_diff["diffChars"])(originalContent, newContent); + return difference.map(function (item, pos) { + var classes = classnames_default()({ + 'block-editor-block-compare__added': item.added, + 'block-editor-block-compare__removed': item.removed + }); + return Object(external_this_wp_element_["createElement"])("span", { + key: pos, + className: classes + }, item.value); + }); + } + }, { + key: "getOriginalContent", + value: function getOriginalContent(block) { + return { + rawContent: block.originalContent, + renderedContent: Object(external_this_wp_blocks_["getSaveElement"])(block.name, block.attributes) + }; + } + }, { + key: "getConvertedContent", + value: function getConvertedContent(block) { + // The convertor may return an array of items or a single item + var newBlocks = Object(external_this_lodash_["castArray"])(block); // Get converted block details + + var newContent = newBlocks.map(function (item) { + return Object(external_this_wp_blocks_["getSaveContent"])(item.name, item.attributes, item.innerBlocks); + }); + var renderedContent = newBlocks.map(function (item) { + return Object(external_this_wp_blocks_["getSaveElement"])(item.name, item.attributes, item.innerBlocks); + }); + return { + rawContent: newContent.join(''), + renderedContent: renderedContent + }; + } + }, { + key: "render", + value: function render() { + var _this$props = this.props, + block = _this$props.block, + onKeep = _this$props.onKeep, + onConvert = _this$props.onConvert, + convertor = _this$props.convertor, + convertButtonText = _this$props.convertButtonText; + var original = this.getOriginalContent(block); + var converted = this.getConvertedContent(convertor(block)); + var difference = this.getDifference(original.rawContent, converted.rawContent); + return Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-block-compare__wrapper" + }, Object(external_this_wp_element_["createElement"])(block_view, { + title: Object(external_this_wp_i18n_["__"])('Current'), + className: "block-editor-block-compare__current", + action: onKeep, + actionText: Object(external_this_wp_i18n_["__"])('Convert to HTML'), + rawContent: original.rawContent, + renderedContent: original.renderedContent + }), Object(external_this_wp_element_["createElement"])(block_view, { + title: Object(external_this_wp_i18n_["__"])('After Conversion'), + className: "block-editor-block-compare__converted", + action: onConvert, + actionText: convertButtonText, + rawContent: difference, + renderedContent: converted.renderedContent + })); + } + }]); + + return BlockCompare; +}(external_this_wp_element_["Component"]); + +/* harmony default export */ var block_compare = (block_compare_BlockCompare); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/block-invalid-warning.js + + + + + + + + +/** + * WordPress dependencies + */ + + + + + + +/** + * Internal dependencies + */ + + + +var block_invalid_warning_BlockInvalidWarning = +/*#__PURE__*/ +function (_Component) { + Object(inherits["a" /* default */])(BlockInvalidWarning, _Component); + + function BlockInvalidWarning(props) { + var _this; + + Object(classCallCheck["a" /* default */])(this, BlockInvalidWarning); + + _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(BlockInvalidWarning).call(this, props)); + _this.state = { + compare: false + }; + _this.onCompare = _this.onCompare.bind(Object(assertThisInitialized["a" /* default */])(_this)); + _this.onCompareClose = _this.onCompareClose.bind(Object(assertThisInitialized["a" /* default */])(_this)); + return _this; + } + + Object(createClass["a" /* default */])(BlockInvalidWarning, [{ + key: "onCompare", + value: function onCompare() { + this.setState({ + compare: true + }); + } + }, { + key: "onCompareClose", + value: function onCompareClose() { + this.setState({ + compare: false + }); + } + }, { + key: "render", + value: function render() { + var _this$props = this.props, + convertToHTML = _this$props.convertToHTML, + convertToBlocks = _this$props.convertToBlocks, + convertToClassic = _this$props.convertToClassic, + attemptBlockRecovery = _this$props.attemptBlockRecovery, + block = _this$props.block; + var hasHTMLBlock = !!Object(external_this_wp_blocks_["getBlockType"])('core/html'); + var compare = this.state.compare; + var hiddenActions = [{ + title: Object(external_this_wp_i18n_["__"])('Convert to Classic Block'), + onClick: convertToClassic + }, { + title: Object(external_this_wp_i18n_["__"])('Attempt Block Recovery'), + onClick: attemptBlockRecovery + }]; + return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(warning, { + actions: [Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { + key: "convert", + onClick: this.onCompare, + isSecondary: hasHTMLBlock, + isPrimary: !hasHTMLBlock + }, // translators: Button to fix block content + Object(external_this_wp_i18n_["_x"])('Resolve', 'imperative verb')), hasHTMLBlock && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { + key: "edit", + onClick: convertToHTML, + isPrimary: true + }, Object(external_this_wp_i18n_["__"])('Convert to HTML'))], + secondaryActions: hiddenActions + }, Object(external_this_wp_i18n_["__"])('This block contains unexpected or invalid content.')), compare && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Modal"], { + title: // translators: Dialog title to fix block content + Object(external_this_wp_i18n_["__"])('Resolve Block'), + onRequestClose: this.onCompareClose, + className: "block-editor-block-compare" + }, Object(external_this_wp_element_["createElement"])(block_compare, { + block: block, + onKeep: convertToHTML, + onConvert: convertToBlocks, + convertor: block_invalid_warning_blockToBlocks, + convertButtonText: Object(external_this_wp_i18n_["__"])('Convert to Blocks') + }))); + } + }]); + + return BlockInvalidWarning; +}(external_this_wp_element_["Component"]); + +var block_invalid_warning_blockToClassic = function blockToClassic(block) { + return Object(external_this_wp_blocks_["createBlock"])('core/freeform', { + content: block.originalContent + }); +}; + +var block_invalid_warning_blockToHTML = function blockToHTML(block) { + return Object(external_this_wp_blocks_["createBlock"])('core/html', { + content: block.originalContent + }); +}; + +var block_invalid_warning_blockToBlocks = function blockToBlocks(block) { + return Object(external_this_wp_blocks_["rawHandler"])({ + HTML: block.originalContent + }); +}; + +var block_invalid_warning_recoverBlock = function recoverBlock(_ref) { + var name = _ref.name, + attributes = _ref.attributes, + innerBlocks = _ref.innerBlocks; + return Object(external_this_wp_blocks_["createBlock"])(name, attributes, innerBlocks); +}; + +/* harmony default export */ var block_invalid_warning = (Object(external_this_wp_compose_["compose"])([Object(external_this_wp_data_["withSelect"])(function (select, _ref2) { + var clientId = _ref2.clientId; + return { + block: select('core/block-editor').getBlock(clientId) + }; +}), Object(external_this_wp_data_["withDispatch"])(function (dispatch, _ref3) { + var block = _ref3.block; + + var _dispatch = dispatch('core/block-editor'), + replaceBlock = _dispatch.replaceBlock; + + return { + convertToClassic: function convertToClassic() { + replaceBlock(block.clientId, block_invalid_warning_blockToClassic(block)); + }, + convertToHTML: function convertToHTML() { + replaceBlock(block.clientId, block_invalid_warning_blockToHTML(block)); + }, + convertToBlocks: function convertToBlocks() { + replaceBlock(block.clientId, block_invalid_warning_blockToBlocks(block)); + }, + attemptBlockRecovery: function attemptBlockRecovery() { + replaceBlock(block.clientId, block_invalid_warning_recoverBlock(block)); + } + }; +})])(block_invalid_warning_BlockInvalidWarning)); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/block-crash-warning.js + + +/** + * WordPress dependencies + */ + +/** + * Internal dependencies + */ + + +var block_crash_warning_warning = Object(external_this_wp_element_["createElement"])(warning, { + className: "block-editor-block-list__block-crash-warning" +}, Object(external_this_wp_i18n_["__"])('This block has encountered an error and cannot be previewed.')); +/* harmony default export */ var block_crash_warning = (function () { + return block_crash_warning_warning; +}); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/block-crash-boundary.js + + + + + + +/** + * WordPress dependencies + */ + + +var block_crash_boundary_BlockCrashBoundary = +/*#__PURE__*/ +function (_Component) { + Object(inherits["a" /* default */])(BlockCrashBoundary, _Component); + + function BlockCrashBoundary() { + var _this; + + Object(classCallCheck["a" /* default */])(this, BlockCrashBoundary); + + _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(BlockCrashBoundary).apply(this, arguments)); + _this.state = { + hasError: false + }; + return _this; + } + + Object(createClass["a" /* default */])(BlockCrashBoundary, [{ + key: "componentDidCatch", + value: function componentDidCatch(error) { + this.props.onError(error); + this.setState({ + hasError: true + }); + } + }, { + key: "render", + value: function render() { + if (this.state.hasError) { + return null; + } + + return this.props.children; + } + }]); + + return BlockCrashBoundary; +}(external_this_wp_element_["Component"]); + +/* harmony default export */ var block_crash_boundary = (block_crash_boundary_BlockCrashBoundary); + +// EXTERNAL MODULE: ./node_modules/react-autosize-textarea/lib/index.js +var react_autosize_textarea_lib = __webpack_require__(62); +var react_autosize_textarea_lib_default = /*#__PURE__*/__webpack_require__.n(react_autosize_textarea_lib); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/block-html.js + + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + + + + +function BlockHTML(_ref) { + var clientId = _ref.clientId; + + var _useState = Object(external_this_wp_element_["useState"])(''), + _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2), + html = _useState2[0], + setHtml = _useState2[1]; + + var _useSelect = Object(external_this_wp_data_["useSelect"])(function (select) { + return { + block: select('core/block-editor').getBlock(clientId) + }; + }, [clientId]), + block = _useSelect.block; + + var _useDispatch = Object(external_this_wp_data_["useDispatch"])('core/block-editor'), + updateBlock = _useDispatch.updateBlock; + + var onChange = function onChange() { + var blockType = Object(external_this_wp_blocks_["getBlockType"])(block.name); + var attributes = Object(external_this_wp_blocks_["getBlockAttributes"])(blockType, html, block.attributes); // If html is empty we reset the block to the default HTML and mark it as valid to avoid triggering an error + + var content = html ? html : Object(external_this_wp_blocks_["getSaveContent"])(blockType, attributes); + var isValid = html ? Object(external_this_wp_blocks_["isValidBlockContent"])(blockType, attributes, content) : true; + updateBlock(clientId, { + attributes: attributes, + originalContent: content, + isValid: isValid + }); // Ensure the state is updated if we reset so it displays the default content + + if (!html) { + setHtml({ + content: content + }); + } + }; + + Object(external_this_wp_element_["useEffect"])(function () { + setHtml(Object(external_this_wp_blocks_["getBlockContent"])(block)); + }, [block]); + return Object(external_this_wp_element_["createElement"])(react_autosize_textarea_lib_default.a, { + className: "block-editor-block-list__block-html-textarea", + value: html, + onBlur: onChange, + onChange: function onChange(event) { + return setHtml(event.target.value); + } + }); +} + +/* harmony default export */ var block_html = (BlockHTML); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/breadcrumb.js + + + + +/** + * WordPress dependencies + */ + + + +/** + * Internal dependencies + */ + + +/** + * Block breadcrumb component, displaying the label of the block. If the block + * descends from a root block, a button is displayed enabling the user to select + * the root block. + * + * @param {string} props.clientId Client ID of block. + * @return {WPComponent} The component to be rendered. + */ + +var breadcrumb_BlockBreadcrumb = Object(external_this_wp_element_["forwardRef"])(function (_ref, ref) { + var clientId = _ref.clientId, + props = Object(objectWithoutProperties["a" /* default */])(_ref, ["clientId"]); + + var _useDispatch = Object(external_this_wp_data_["useDispatch"])('core/block-editor'), + setNavigationMode = _useDispatch.setNavigationMode; + + return Object(external_this_wp_element_["createElement"])("div", Object(esm_extends["a" /* default */])({ + className: "block-editor-block-list__breadcrumb" + }, props), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Toolbar"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { + ref: ref, + onClick: function onClick() { + return setNavigationMode(false); + } + }, Object(external_this_wp_element_["createElement"])(block_title, { + clientId: clientId + })))); +}); +/* harmony default export */ var block_list_breadcrumb = (breadcrumb_BlockBreadcrumb); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/navigable-toolbar/index.js + + + + +/** + * WordPress dependencies + */ + + + + + +function NavigableToolbar(_ref) { + var children = _ref.children, + focusOnMount = _ref.focusOnMount, + props = Object(objectWithoutProperties["a" /* default */])(_ref, ["children", "focusOnMount"]); + + var wrapper = Object(external_this_wp_element_["useRef"])(); + var focusToolbar = Object(external_this_wp_element_["useCallback"])(function () { + var tabbables = external_this_wp_dom_["focus"].tabbable.find(wrapper.current); + + if (tabbables.length) { + tabbables[0].focus(); + } + }, []); + Object(external_this_wp_keyboardShortcuts_["useShortcut"])('core/block-editor/focus-toolbar', focusToolbar, { + bindGlobal: true, + eventName: 'keydown' + }); + Object(external_this_wp_element_["useEffect"])(function () { + if (focusOnMount) { + focusToolbar(); + } + }, []); + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["NavigableMenu"], Object(esm_extends["a" /* default */])({ + orientation: "horizontal", + role: "toolbar", + ref: wrapper + }, props), children); +} + +/* harmony default export */ var navigable_toolbar = (NavigableToolbar); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/block-contextual-toolbar.js + + + + +/** + * WordPress dependencies + */ + +/** + * Internal dependencies + */ + + + + +function BlockContextualToolbar(_ref) { + var focusOnMount = _ref.focusOnMount, + hasMovers = _ref.hasMovers, + moverDirection = _ref.moverDirection, + props = Object(objectWithoutProperties["a" /* default */])(_ref, ["focusOnMount", "hasMovers", "moverDirection"]); + + return Object(external_this_wp_element_["createElement"])(navigable_toolbar, Object(esm_extends["a" /* default */])({ + focusOnMount: focusOnMount, + className: "block-editor-block-contextual-toolbar" + /* translators: accessibility text for the block toolbar */ + , + "aria-label": Object(external_this_wp_i18n_["__"])('Block tools') + }, props), Object(external_this_wp_element_["createElement"])(BlockToolbar, { + moverDirection: moverDirection, + hasMovers: hasMovers + })); +} + +/* harmony default export */ var block_contextual_toolbar = (BlockContextualToolbar); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/insertion-point.js + + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + + +/** + * Internal dependencies + */ + + +function BlockInsertionPoint(_ref) { + var rootClientId = _ref.rootClientId, + clientId = _ref.clientId; + + var _useState = Object(external_this_wp_element_["useState"])(false), + _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2), + isInserterFocused = _useState2[0], + setInserterFocused = _useState2[1]; + + var showInsertionPoint = Object(external_this_wp_data_["useSelect"])(function (select) { + var _select = select('core/block-editor'), + getBlockIndex = _select.getBlockIndex, + getBlockInsertionPoint = _select.getBlockInsertionPoint, + isBlockInsertionPointVisible = _select.isBlockInsertionPointVisible; + + var blockIndex = getBlockIndex(clientId, rootClientId); + var insertionPoint = getBlockInsertionPoint(); + return isBlockInsertionPointVisible() && insertionPoint.index === blockIndex && insertionPoint.rootClientId === rootClientId; + }, [clientId, rootClientId]); + + function onFocus(event) { + // Stop propagation of the focus event to avoid selecting the current + // block while inserting a new block, as it is not relevant to sibling + // insertion and conflicts with contextual toolbar placement. + event.stopPropagation(); + setInserterFocused(true); + } + + function onBlur() { + setInserterFocused(false); + } + + return Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-block-list__insertion-point" + }, showInsertionPoint && Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-block-list__insertion-point-indicator" + }), Object(external_this_wp_element_["createElement"])("div", { + onFocus: onFocus, + onBlur: onBlur // While ideally it would be enough to capture the + // bubbling focus event from the Inserter, due to the + // characteristics of click focusing of `button`s in + // Firefox and Safari, it is not reliable. + // + // See: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#Clicking_and_focus + , + tabIndex: -1, + className: classnames_default()('block-editor-block-list__insertion-point-inserter', { + 'is-visible': isInserterFocused + }) + }, Object(external_this_wp_element_["createElement"])(inserter, { + rootClientId: rootClientId, + clientId: clientId + }))); +} + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/ignore-nested-events/index.js + + + + + + + + + + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + +/** + * Component which renders a div with passed props applied except the optional + * `childHandledEvents` prop. Event prop handlers are replaced with a proxying + * event handler to capture and prevent events from being handled by ancestor + * `IgnoreNestedEvents` elements by testing the presence of a private property + * assigned on the event object. + * + * Optionally accepts an `childHandledEvents` prop array, which can be used in + * instances where an inner `IgnoreNestedEvents` element exists and the outer + * element should stop propagation but not invoke a callback handler, since it + * would be assumed these are invoked by the child element. + * + * @type {WPComponent} + */ + +var ignore_nested_events_IgnoreNestedEvents = +/*#__PURE__*/ +function (_Component) { + Object(inherits["a" /* default */])(IgnoreNestedEvents, _Component); + + function IgnoreNestedEvents() { + var _this; + + Object(classCallCheck["a" /* default */])(this, IgnoreNestedEvents); + + _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(IgnoreNestedEvents).apply(this, arguments)); + _this.proxyEvent = _this.proxyEvent.bind(Object(assertThisInitialized["a" /* default */])(_this)); // The event map is responsible for tracking an event type to a React + // component prop name, since it is easy to determine event type from + // a React prop name, but not the other way around. + + _this.eventMap = {}; + return _this; + } + /** + * General event handler which only calls to its original props callback if + * it has not already been handled by a descendant IgnoreNestedEvents. + * + * @param {Event} event Event object. + */ + + + Object(createClass["a" /* default */])(IgnoreNestedEvents, [{ + key: "proxyEvent", + value: function proxyEvent(event) { + // Skip if already handled (i.e. assume nested block) + if (event.nativeEvent._blockHandled) { + return; + } // Assign into the native event, since React will reuse their synthetic + // event objects and this property assignment could otherwise leak. + // + // See: https://reactjs.org/docs/events.html#event-pooling + + + event.nativeEvent._blockHandled = true; // Invoke original prop handler + + var propKey = this.eventMap[event.type]; + + if (this.props[propKey]) { + this.props[propKey](event); + } + } + }, { + key: "render", + value: function render() { + var _this2 = this; + + var _this$props = this.props, + _this$props$childHand = _this$props.childHandledEvents, + childHandledEvents = _this$props$childHand === void 0 ? [] : _this$props$childHand, + forwardedRef = _this$props.forwardedRef, + _this$props$tagName = _this$props.tagName, + tagName = _this$props$tagName === void 0 ? 'div' : _this$props$tagName, + props = Object(objectWithoutProperties["a" /* default */])(_this$props, ["childHandledEvents", "forwardedRef", "tagName"]); + + var eventHandlers = Object(external_this_lodash_["reduce"])([].concat(Object(toConsumableArray["a" /* default */])(childHandledEvents), Object(toConsumableArray["a" /* default */])(Object.keys(props))), function (result, key) { + // Try to match prop key as event handler + var match = key.match(/^on([A-Z][a-zA-Z]+)$/); + + if (match) { + // Re-map the prop to the local proxy handler to check whether + // the event has already been handled. + result[key] = _this2.proxyEvent; // Assign event -> propName into an instance variable, so as to + // avoid re-renders which could be incurred either by setState + // or in mapping values to a newly created function. + + _this2.eventMap[match[1].toLowerCase()] = key; + } + + return result; + }, {}); + return Object(external_this_wp_element_["createElement"])(tagName, Object(objectSpread["a" /* default */])({ + ref: forwardedRef + }, props, eventHandlers)); + } + }]); + + return IgnoreNestedEvents; +}(external_this_wp_element_["Component"]); + +var ignore_nested_events_forwardedIgnoreNestedEvents = function forwardedIgnoreNestedEvents(props, ref) { + return Object(external_this_wp_element_["createElement"])(ignore_nested_events_IgnoreNestedEvents, Object(esm_extends["a" /* default */])({}, props, { + forwardedRef: ref + })); +}; + +ignore_nested_events_forwardedIgnoreNestedEvents.displayName = 'IgnoreNestedEvents'; +/* harmony default export */ var ignore_nested_events = (Object(external_this_wp_element_["forwardRef"])(ignore_nested_events_forwardedIgnoreNestedEvents)); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/utils/dom.js +/** + * Given a block client ID, returns the corresponding DOM node for the block, + * if exists. As much as possible, this helper should be avoided, and used only + * in cases where isolated behaviors need remote access to a block node. + * + * @param {string} clientId Block client ID. + * @param {Element} scope an optional DOM Element to which the selector should be scoped + * + * @return {Element} Block DOM node. + */ +function getBlockDOMNode(clientId) { + var scope = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : document; + return scope.querySelector('[data-block="' + clientId + '"]'); +} +function getBlockPreviewContainerDOMNode(clientId, scope) { + var domNode = getBlockDOMNode(clientId, scope); + + if (!domNode) { + return; + } + + return domNode.firstChild || domNode; +} +/** + * Given a block client ID, returns the corresponding DOM node for the block + * focusable wrapper, if exists. As much as possible, this helper should be + * avoided, and used only in cases where isolated behaviors need remote access + * to a block node. + * + * @param {string} clientId Block client ID. + * + * @return {Element} Block DOM node. + */ + +function getBlockFocusableWrapper(clientId) { + return getBlockDOMNode(clientId).closest('.block-editor-block-list__block'); +} +/** + * Returns true if the given HTMLElement is a block focus stop. Blocks without + * their own text fields rely on the focus stop to be keyboard navigable. + * + * @param {HTMLElement} element Element to test. + * + * @return {boolean} Whether element is a block focus stop. + */ + +function isBlockFocusStop(element) { + return element.classList.contains('block-editor-block-list__block'); +} +/** + * Returns true if two elements are contained within the same block. + * + * @param {HTMLElement} a First element. + * @param {HTMLElement} b Second element. + * + * @return {boolean} Whether elements are in the same block. + */ + +function isInSameBlock(a, b) { + return a.closest('[data-block]') === b.closest('[data-block]'); +} +/** + * Returns true if an elements is considered part of the block and not its children. + * + * @param {HTMLElement} blockElement Block container element. + * @param {HTMLElement} element Element. + * + * @return {boolean} Whether element is in the block Element but not its children. + */ + +function isInsideRootBlock(blockElement, element) { + var innerBlocksContainer = blockElement.querySelector('.block-editor-block-list__layout'); + return blockElement.contains(element) && (!innerBlocksContainer || !innerBlocksContainer.contains(element)); +} +/** + * Returns true if the given HTMLElement contains inner blocks (an InnerBlocks + * element). + * + * @param {HTMLElement} element Element to test. + * + * @return {boolean} Whether element contains inner blocks. + */ + +function hasInnerBlocksContext(element) { + return !!element.querySelector('.block-editor-block-list__layout'); +} + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/moving-animation.js + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + + + +/** + * Simple reducer used to increment a counter. + * + * @param {number} state Previous counter value. + * @return {number} New state value. + */ + +var counterReducer = function counterReducer(state) { + return state + 1; +}; + +var getAbsolutePosition = function getAbsolutePosition(element) { + return { + top: element.offsetTop, + left: element.offsetLeft + }; +}; +/** + * Hook used to compute the styles required to move a div into a new position. + * + * The way this animation works is the following: + * - It first renders the element as if there was no animation. + * - It takes a snapshot of the position of the block to use it + * as a destination point for the animation. + * - It restores the element to the previous position using a CSS transform + * - It uses the "resetAnimation" flag to reset the animation + * from the beginning in order to animate to the new destination point. + * + * @param {Object} ref Reference to the element to animate. + * @param {boolean} isSelected Whether it's the current block or not. + * @param {boolean} adjustScrolling Adjust the scroll position to the current block. + * @param {boolean} enableAnimation Enable/Disable animation. + * @param {*} triggerAnimationOnChange Variable used to trigger the animation if it changes. + * + * @return {Object} Style object. + */ + + +function useMovingAnimation(ref, isSelected, adjustScrolling, enableAnimation, triggerAnimationOnChange) { + var prefersReducedMotion = Object(external_this_wp_compose_["useReducedMotion"])() || !enableAnimation; + + var _useReducer = Object(external_this_wp_element_["useReducer"])(counterReducer, 0), + _useReducer2 = Object(slicedToArray["a" /* default */])(_useReducer, 2), + triggeredAnimation = _useReducer2[0], + triggerAnimation = _useReducer2[1]; + + var _useReducer3 = Object(external_this_wp_element_["useReducer"])(counterReducer, 0), + _useReducer4 = Object(slicedToArray["a" /* default */])(_useReducer3, 2), + finishedAnimation = _useReducer4[0], + endAnimation = _useReducer4[1]; + + var _useState = Object(external_this_wp_element_["useState"])({ + x: 0, + y: 0, + scrollTop: 0 + }), + _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2), + transform = _useState2[0], + setTransform = _useState2[1]; + + var previous = ref.current ? getAbsolutePosition(ref.current) : null; + var scrollContainer = Object(external_this_wp_element_["useMemo"])(function () { + if (!adjustScrolling) { + return false; + } + + return Object(external_this_wp_dom_["getScrollContainer"])(ref.current); + }, [adjustScrolling]); + Object(external_this_wp_element_["useLayoutEffect"])(function () { + if (triggeredAnimation) { + endAnimation(); + } + }, [triggeredAnimation]); + Object(external_this_wp_element_["useLayoutEffect"])(function () { + if (prefersReducedMotion) { + if (adjustScrolling && scrollContainer) { + // if the animation is disabled and the scroll needs to be adjusted, + // just move directly to the final scroll position + ref.current.style.transform = 'none'; + + var _destination = getAbsolutePosition(ref.current); + + scrollContainer.scrollTop = scrollContainer.scrollTop - previous.top + _destination.top; + } + + return; + } + + ref.current.style.transform = 'none'; + var destination = getAbsolutePosition(ref.current); + var newTransform = { + x: previous ? previous.left - destination.left : 0, + y: previous ? previous.top - destination.top : 0, + scrollTop: previous && scrollContainer ? scrollContainer.scrollTop - previous.top + destination.top : 0 + }; + ref.current.style.transform = newTransform.x === 0 && newTransform.y === 0 ? undefined : "translate3d(".concat(newTransform.x, "px,").concat(newTransform.y, "px,0)"); + triggerAnimation(); + setTransform(newTransform); + }, [triggerAnimationOnChange]); + var animationProps = Object(web_cjs["useSpring"])({ + from: { + x: transform.x, + y: transform.y + }, + to: { + x: 0, + y: 0 + }, + reset: triggeredAnimation !== finishedAnimation, + config: { + mass: 5, + tension: 2000, + friction: 200 + }, + immediate: prefersReducedMotion, + onFrame: function onFrame(props) { + if (adjustScrolling && scrollContainer && !prefersReducedMotion && props.y) { + scrollContainer.scrollTop = transform.scrollTop + props.y; + } + } + }); // Dismiss animations if disabled. + + return prefersReducedMotion ? {} : { + transformOrigin: 'center', + transform: Object(web_cjs["interpolate"])([animationProps.x, animationProps.y], function (x, y) { + return x === 0 && y === 0 ? undefined : "translate3d(".concat(x, "px,").concat(y, "px,0)"); + }), + zIndex: Object(web_cjs["interpolate"])([animationProps.x, animationProps.y], function (x, y) { + return !isSelected || x === 0 && y === 0 ? undefined : "1"; + }) + }; +} + +/* harmony default export */ var moving_animation = (useMovingAnimation); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/block-child-toolbar.js + + +/** + * WordPress dependencies + */ + + +var block_child_toolbar_createSlotFill = Object(external_this_wp_components_["createSlotFill"])('ChildToolbar'), + block_child_toolbar_Fill = block_child_toolbar_createSlotFill.Fill, + block_child_toolbar_Slot = block_child_toolbar_createSlotFill.Slot; + +var block_child_toolbar_ChildToolbar = function ChildToolbar(_ref) { + var children = _ref.children; + return Object(external_this_wp_element_["createElement"])(block_child_toolbar_Fill, null, children); +}; // `bubblesVirtually` is required in order to avoid +// events triggered on the child toolbar from bubbling +// up to the parent Block. + +var block_child_toolbar_ChildToolbarSlot = function ChildToolbarSlot() { + return Object(external_this_wp_element_["createElement"])(block_child_toolbar_Slot, { + bubblesVirtually: true + }); +}; + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/block.js + + + + + +/** + * External dependencies + */ + + + +/** + * WordPress dependencies + */ + + + + + + + + + + + +/** + * Internal dependencies + */ + + + + + + + + + + + + + + + +/** + * Prevents default dragging behavior within a block to allow for multi- + * selection to take effect unhampered. + * + * @param {DragEvent} event Drag event. + */ + +var preventDrag = function preventDrag(event) { + event.preventDefault(); +}; + +function block_BlockListBlock(_ref) { + var mode = _ref.mode, + isFocusMode = _ref.isFocusMode, + hasFixedToolbar = _ref.hasFixedToolbar, + moverDirection = _ref.moverDirection, + isLocked = _ref.isLocked, + clientId = _ref.clientId, + rootClientId = _ref.rootClientId, + isSelected = _ref.isSelected, + isMultiSelected = _ref.isMultiSelected, + isPartOfMultiSelection = _ref.isPartOfMultiSelection, + isFirstMultiSelected = _ref.isFirstMultiSelected, + isTypingWithinBlock = _ref.isTypingWithinBlock, + isCaretWithinFormattedText = _ref.isCaretWithinFormattedText, + isEmptyDefaultBlock = _ref.isEmptyDefaultBlock, + isAncestorOfSelectedBlock = _ref.isAncestorOfSelectedBlock, + isCapturingDescendantToolbars = _ref.isCapturingDescendantToolbars, + hasAncestorCapturingToolbars = _ref.hasAncestorCapturingToolbars, + isSelectionEnabled = _ref.isSelectionEnabled, + className = _ref.className, + name = _ref.name, + isValid = _ref.isValid, + isLast = _ref.isLast, + attributes = _ref.attributes, + initialPosition = _ref.initialPosition, + wrapperProps = _ref.wrapperProps, + setAttributes = _ref.setAttributes, + onReplace = _ref.onReplace, + onInsertBlocksAfter = _ref.onInsertBlocksAfter, + onMerge = _ref.onMerge, + onSelect = _ref.onSelect, + onRemove = _ref.onRemove, + onInsertDefaultBlockAfter = _ref.onInsertDefaultBlockAfter, + toggleSelection = _ref.toggleSelection, + onShiftSelection = _ref.onShiftSelection, + onSelectionStart = _ref.onSelectionStart, + animateOnChange = _ref.animateOnChange, + enableAnimation = _ref.enableAnimation, + isNavigationMode = _ref.isNavigationMode, + setNavigationMode = _ref.setNavigationMode, + isMultiSelecting = _ref.isMultiSelecting, + isLargeViewport = _ref.isLargeViewport, + _ref$hasSelectedUI = _ref.hasSelectedUI, + hasSelectedUI = _ref$hasSelectedUI === void 0 ? true : _ref$hasSelectedUI, + _ref$hasMovers = _ref.hasMovers, + hasMovers = _ref$hasMovers === void 0 ? true : _ref$hasMovers; + + // In addition to withSelect, we should favor using useSelect in this component going forward + // to avoid leaking new props to the public API (editor.BlockListBlock filter) + var _useSelect = Object(external_this_wp_data_["useSelect"])(function (select) { + return { + isDraggingBlocks: select('core/block-editor').isDraggingBlocks() + }; + }, []), + isDraggingBlocks = _useSelect.isDraggingBlocks; // Random state used to rerender the component if needed, ideally we don't need this + + + var _useState = Object(external_this_wp_element_["useState"])({}), + _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2), + updateRerenderState = _useState2[1]; + + var rerender = function rerender() { + return updateRerenderState({}); + }; // Reference of the wrapper + + + var wrapper = Object(external_this_wp_element_["useRef"])(null); // Reference to the block edit node + + var blockNodeRef = Object(external_this_wp_element_["useRef"])(); + var breadcrumb = Object(external_this_wp_element_["useRef"])(); // Handling the error state + + var _useState3 = Object(external_this_wp_element_["useState"])(false), + _useState4 = Object(slicedToArray["a" /* default */])(_useState3, 2), + hasError = _useState4[0], + setErrorState = _useState4[1]; + + var onBlockError = function onBlockError() { + return setErrorState(true); + }; // Handling of forceContextualToolbarFocus + + + var isForcingContextualToolbar = Object(external_this_wp_element_["useRef"])(false); + Object(external_this_wp_element_["useEffect"])(function () { + if (isForcingContextualToolbar.current) { + // The forcing of contextual toolbar should only be true during one update, + // after the first update normal conditions should apply. + isForcingContextualToolbar.current = false; + } + }); + + var forceFocusedContextualToolbar = function forceFocusedContextualToolbar() { + isForcingContextualToolbar.current = true; // trigger a re-render + + rerender(); + }; // Handing the focus of the block on creation and update + + /** + * When a block becomes selected, transition focus to an inner tabbable. + * + * @param {boolean} ignoreInnerBlocks Should not focus inner blocks. + */ + + + var focusTabbable = function focusTabbable(ignoreInnerBlocks) { + var selection = window.getSelection(); + + if (selection.rangeCount && !selection.isCollapsed) { + var _selection$getRangeAt = selection.getRangeAt(0), + startContainer = _selection$getRangeAt.startContainer, + endContainer = _selection$getRangeAt.endContainer; + + if (!blockNodeRef.current.contains(startContainer) || !blockNodeRef.current.contains(endContainer)) { + selection.removeAllRanges(); + } + } // Focus is captured by the wrapper node, so while focus transition + // should only consider tabbables within editable display, since it + // may be the wrapper itself or a side control which triggered the + // focus event, don't unnecessary transition to an inner tabbable. + + + if (wrapper.current.contains(document.activeElement)) { + return; + } + + if (isNavigationMode) { + breadcrumb.current.focus(); + return; + } // Find all tabbables within node. + + + var textInputs = external_this_wp_dom_["focus"].tabbable.find(blockNodeRef.current).filter(external_this_wp_dom_["isTextField"]) // Exclude inner blocks + .filter(function (node) { + return !ignoreInnerBlocks || isInsideRootBlock(blockNodeRef.current, node); + }); // If reversed (e.g. merge via backspace), use the last in the set of + // tabbables. + + var isReverse = -1 === initialPosition; + var target = (isReverse ? external_this_lodash_["last"] : external_this_lodash_["first"])(textInputs); + + if (!target) { + wrapper.current.focus(); + return; + } + + Object(external_this_wp_dom_["placeCaretAtHorizontalEdge"])(target, isReverse); + }; // Focus the selected block's wrapper or inner input on mount and update + + + var isMounting = Object(external_this_wp_element_["useRef"])(true); + Object(external_this_wp_element_["useEffect"])(function () { + if (isSelected && !isMultiSelecting) { + focusTabbable(!isMounting.current); + } + + isMounting.current = false; + }, [isSelected, isMultiSelecting]); // Focus the first multi selected block + + Object(external_this_wp_element_["useEffect"])(function () { + if (isFirstMultiSelected) { + wrapper.current.focus(); + } + }, [isFirstMultiSelected]); // Block Reordering animation + + var animationStyle = moving_animation(wrapper, isSelected || isPartOfMultiSelection, isSelected || isFirstMultiSelected, enableAnimation, animateOnChange); // Focus the breadcrumb if the wrapper is focused on navigation mode. + // Focus the first editable or the wrapper if edit mode. + + Object(external_this_wp_element_["useLayoutEffect"])(function () { + if (isSelected) { + if (isNavigationMode) { + breadcrumb.current.focus(); + } else { + focusTabbable(true); + } + } + }, [isSelected, isNavigationMode]); // Other event handlers + + /** + * Marks the block as selected when focused and not already selected. This + * specifically handles the case where block does not set focus on its own + * (via `setFocus`), typically if there is no focusable input in the block. + */ + + var onFocus = function onFocus() { + if (!isSelected && !isPartOfMultiSelection) { + onSelect(); + } + }; + /** + * Interprets keydown event intent to remove or insert after block if key + * event occurs on wrapper node. This can occur when the block has no text + * fields of its own, particularly after initial insertion, to allow for + * easy deletion and continuous writing flow to add additional content. + * + * @param {KeyboardEvent} event Keydown event. + */ + + + var onKeyDown = function onKeyDown(event) { + var keyCode = event.keyCode, + target = event.target; // ENTER/BACKSPACE Shortcuts are only available if the wrapper is focused + // and the block is not locked. + + var canUseShortcuts = isSelected && !isLocked && (target === wrapper.current || target === breadcrumb.current); + var isEditMode = !isNavigationMode; + + switch (keyCode) { + case external_this_wp_keycodes_["ENTER"]: + if (canUseShortcuts && isEditMode) { + // Insert default block after current block if enter and event + // not already handled by descendant. + onInsertDefaultBlockAfter(); + event.preventDefault(); + } + + break; + + case external_this_wp_keycodes_["BACKSPACE"]: + case external_this_wp_keycodes_["DELETE"]: + if (canUseShortcuts) { + // Remove block on backspace. + onRemove(clientId); + event.preventDefault(); + } + + break; + + case external_this_wp_keycodes_["ESCAPE"]: + if (isSelected && isEditMode) { + setNavigationMode(true); + wrapper.current.focus(); + } + + break; + } + }; + /** + * Begins tracking cursor multi-selection when clicking down within block. + * + * @param {MouseEvent} event A mousedown event. + */ + + + var onMouseDown = function onMouseDown(event) { + // Not the main button. + // https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/button + if (event.button !== 0) { + return; + } + + if (isNavigationMode && isSelected && isInsideRootBlock(blockNodeRef.current, event.target)) { + setNavigationMode(false); + } + + if (event.shiftKey) { + if (!isSelected) { + onShiftSelection(); + event.preventDefault(); + } // Allow user to escape out of a multi-selection to a singular + // selection of a block via click. This is handled here since + // onFocus excludes blocks involved in a multiselection, as + // focus can be incurred by starting a multiselection (focus + // moved to first block's multi-controls). + + } else if (isPartOfMultiSelection) { + onSelect(); + } + }; + + var onMouseLeave = function onMouseLeave(_ref2) { + var which = _ref2.which, + buttons = _ref2.buttons; + + // The primary button must be pressed to initiate selection. Fall back + // to `which` if the standard `buttons` property is falsy. There are + // cases where Firefox might always set `buttons` to `0`. + // See https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/buttons + // See https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/which + if (isSelected && (buttons || which) === 1) { + onSelectionStart(clientId); + } + }; + + var selectOnOpen = function selectOnOpen(open) { + if (open && !isSelected) { + onSelect(); + } + }; + + var canFocusHiddenToolbar = !isNavigationMode && !shouldShowContextualToolbar && isSelected && !hasFixedToolbar && !isEmptyDefaultBlock; + Object(external_this_wp_keyboardShortcuts_["useShortcut"])('core/block-editor/focus-toolbar', Object(external_this_wp_element_["useCallback"])(forceFocusedContextualToolbar, []), { + bindGlobal: true, + eventName: 'keydown', + isDisabled: !canFocusHiddenToolbar + }); // Rendering the output + + var blockType = Object(external_this_wp_blocks_["getBlockType"])(name); // translators: %s: Type of block (i.e. Text, Image etc) + + var blockLabel = Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["__"])('Block: %s'), blockType.title); // The block as rendered in the editor is composed of general block UI + // (mover, toolbar, wrapper) and the display of the block content. + + var isUnregisteredBlock = name === Object(external_this_wp_blocks_["getUnregisteredTypeHandlerName"])(); // If the block is selected and we're typing the block should not appear. + // Empty paragraph blocks should always show up as unselected. + + var showEmptyBlockSideInserter = !isNavigationMode && (isSelected || isLast) && isEmptyDefaultBlock && isValid; + var shouldAppearSelected = !isFocusMode && !showEmptyBlockSideInserter && isSelected && !isTypingWithinBlock; + var shouldShowBreadcrumb = isNavigationMode && isSelected; + var shouldShowContextualToolbar = !isNavigationMode && !hasFixedToolbar && isLargeViewport && !showEmptyBlockSideInserter && !isMultiSelecting && (isSelected && (!isTypingWithinBlock || isCaretWithinFormattedText) || isFirstMultiSelected); // Insertion point can only be made visible if the block is at the + // the extent of a multi-selection, or not in a multi-selection. + + var shouldShowInsertionPoint = !isMultiSelecting && (isPartOfMultiSelection && isFirstMultiSelected || !isPartOfMultiSelection); + var shouldRenderDropzone = shouldShowInsertionPoint; + var isDragging = isDraggingBlocks && (isSelected || isPartOfMultiSelection); // The wp-block className is important for editor styles. + // Generate the wrapper class names handling the different states of the block. + + var wrapperClassName = classnames_default()('wp-block block-editor-block-list__block', { + 'has-selected-ui': hasSelectedUI, + 'has-warning': !isValid || !!hasError || isUnregisteredBlock, + 'is-selected': shouldAppearSelected && hasSelectedUI, + 'is-navigate-mode': isNavigationMode, + 'is-multi-selected': isMultiSelected, + 'is-reusable': Object(external_this_wp_blocks_["isReusableBlock"])(blockType), + 'is-dragging': isDragging, + 'is-typing': isTypingWithinBlock, + 'is-focused': isFocusMode && (isSelected || isAncestorOfSelectedBlock), + 'is-focus-mode': isFocusMode, + 'has-child-selected': isAncestorOfSelectedBlock, + 'has-toolbar-captured': hasAncestorCapturingToolbars + }, className); // Determine whether the block has props to apply to the wrapper. + + if (blockType.getEditWrapperProps) { + wrapperProps = Object(objectSpread["a" /* default */])({}, wrapperProps, blockType.getEditWrapperProps(attributes)); + } + + var blockElementId = "block-".concat(clientId); // We wrap the BlockEdit component in a div that hides it when editing in + // HTML mode. This allows us to render all of the ancillary pieces + // (InspectorControls, etc.) which are inside `BlockEdit` but not + // `BlockHTML`, even in HTML mode. + + var blockEdit = Object(external_this_wp_element_["createElement"])(block_edit, { + name: name, + isSelected: isSelected, + attributes: attributes, + setAttributes: setAttributes, + insertBlocksAfter: isLocked ? undefined : onInsertBlocksAfter, + onReplace: isLocked ? undefined : onReplace, + mergeBlocks: isLocked ? undefined : onMerge, + clientId: clientId, + isSelectionEnabled: isSelectionEnabled, + toggleSelection: toggleSelection + }); + + if (mode !== 'visual') { + blockEdit = Object(external_this_wp_element_["createElement"])("div", { + style: { + display: 'none' + } + }, blockEdit); + } + /** + * Renders an individual `BlockContextualToolbar` component. + * This needs to be a function which generates the component + * on demand as we can only have a single toolbar for each render. + * This is because of the `isForcingContextualToolbar` logic which + * relies on a single toolbar being rendered to update the boolean + * value of the ref used to track the "force" state. + */ + + + var renderBlockContextualToolbar = function renderBlockContextualToolbar() { + return Object(external_this_wp_element_["createElement"])(block_contextual_toolbar // If the toolbar is being shown because of being forced + // it should focus the toolbar right after the mount. + , { + focusOnMount: isForcingContextualToolbar.current, + "data-type": name, + "data-align": wrapperProps ? wrapperProps['data-align'] : undefined, + moverDirection: moverDirection, + hasMovers: hasMovers + }); + }; + + return Object(external_this_wp_element_["createElement"])(ignore_nested_events, Object(esm_extends["a" /* default */])({ + id: blockElementId, + ref: wrapper, + className: wrapperClassName, + "data-type": name, + onFocus: onFocus, + onKeyDown: onKeyDown, + tabIndex: "0", + "aria-label": blockLabel, + role: "group", + childHandledEvents: ['onDragStart', 'onMouseDown'], + tagName: web_cjs["animated"].div + }, wrapperProps, { + style: wrapperProps && wrapperProps.style ? Object(objectSpread["a" /* default */])({}, wrapperProps.style, animationStyle) : animationStyle + }), shouldShowInsertionPoint && Object(external_this_wp_element_["createElement"])(BlockInsertionPoint, { + clientId: clientId, + rootClientId: rootClientId + }), shouldRenderDropzone && Object(external_this_wp_element_["createElement"])(block_drop_zone, { + clientId: clientId, + rootClientId: rootClientId + }), Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-block-list__block-edit" + }, isCapturingDescendantToolbars && // A slot made available on all ancestors of the selected Block + // to allow child Blocks to render their toolbars into the DOM + // of the appropriate parent. + Object(external_this_wp_element_["createElement"])(block_child_toolbar_ChildToolbarSlot, null), (shouldShowBreadcrumb || shouldShowContextualToolbar || isForcingContextualToolbar.current) && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Popover"], { + noArrow: true, + animate: false // Position above the anchor, pop out towards the right, + // and position in the left corner. + // To do: refactor `Popover` to make this prop clearer. + , + position: "top right left", + focusOnMount: false, + anchorRef: blockNodeRef.current, + className: "block-editor-block-list__block-popover", + __unstableSticky: isPartOfMultiSelection ? '.wp-block.is-multi-selected' : true, + __unstableSlotName: "block-toolbar" // Allow subpixel positioning for the block movement animation. + , + __unstableAllowVerticalSubpixelPosition: moverDirection !== 'horizontal' && wrapper.current, + __unstableAllowHorizontalSubpixelPosition: moverDirection === 'horizontal' && wrapper.current + }, !hasAncestorCapturingToolbars && (shouldShowContextualToolbar || isForcingContextualToolbar.current) && renderBlockContextualToolbar(), hasAncestorCapturingToolbars && (shouldShowContextualToolbar || isForcingContextualToolbar.current) && // If the parent Block is set to consume toolbars of the child Blocks + // then render the child Block's toolbar into the Slot provided + // by the parent. + Object(external_this_wp_element_["createElement"])(block_child_toolbar_ChildToolbar, null, renderBlockContextualToolbar()), shouldShowBreadcrumb && Object(external_this_wp_element_["createElement"])(block_list_breadcrumb, { + clientId: clientId, + ref: breadcrumb, + "data-align": wrapperProps ? wrapperProps['data-align'] : undefined + })), Object(external_this_wp_element_["createElement"])(ignore_nested_events, { + ref: blockNodeRef, + onDragStart: preventDrag, + onMouseDown: onMouseDown, + onMouseLeave: onMouseLeave, + "data-block": clientId + }, Object(external_this_wp_element_["createElement"])(block_crash_boundary, { + onError: onBlockError + }, isValid && blockEdit, isValid && mode === 'html' && Object(external_this_wp_element_["createElement"])(block_html, { + clientId: clientId + }), !isValid && [Object(external_this_wp_element_["createElement"])(block_invalid_warning, { + key: "invalid-warning", + clientId: clientId + }), Object(external_this_wp_element_["createElement"])("div", { + key: "invalid-preview" + }, Object(external_this_wp_blocks_["getSaveElement"])(blockType, attributes))]), !!hasError && Object(external_this_wp_element_["createElement"])(block_crash_warning, null))), showEmptyBlockSideInserter && Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-block-list__empty-block-inserter" + }, Object(external_this_wp_element_["createElement"])(inserter, { + position: "top right", + onToggle: selectOnOpen, + rootClientId: rootClientId, + clientId: clientId + }))); +} + +var applyWithSelect = Object(external_this_wp_data_["withSelect"])(function (select, _ref3) { + var clientId = _ref3.clientId, + rootClientId = _ref3.rootClientId, + isLargeViewport = _ref3.isLargeViewport; + + var _select = select('core/block-editor'), + isBlockSelected = _select.isBlockSelected, + isAncestorMultiSelected = _select.isAncestorMultiSelected, + isBlockMultiSelected = _select.isBlockMultiSelected, + isFirstMultiSelectedBlock = _select.isFirstMultiSelectedBlock, + isTyping = _select.isTyping, + isCaretWithinFormattedText = _select.isCaretWithinFormattedText, + getBlockMode = _select.getBlockMode, + isSelectionEnabled = _select.isSelectionEnabled, + getSelectedBlocksInitialCaretPosition = _select.getSelectedBlocksInitialCaretPosition, + getSettings = _select.getSettings, + hasSelectedInnerBlock = _select.hasSelectedInnerBlock, + getTemplateLock = _select.getTemplateLock, + getBlockIndex = _select.getBlockIndex, + getBlockOrder = _select.getBlockOrder, + __unstableGetBlockWithoutInnerBlocks = _select.__unstableGetBlockWithoutInnerBlocks, + isNavigationMode = _select.isNavigationMode, + getBlockListSettings = _select.getBlockListSettings, + __experimentalGetBlockListSettingsForBlocks = _select.__experimentalGetBlockListSettingsForBlocks, + getBlockParents = _select.getBlockParents; + + var block = __unstableGetBlockWithoutInnerBlocks(clientId); + + var isSelected = isBlockSelected(clientId); + + var _getSettings = getSettings(), + hasFixedToolbar = _getSettings.hasFixedToolbar, + focusMode = _getSettings.focusMode, + isRTL = _getSettings.isRTL; + + var templateLock = getTemplateLock(rootClientId); + var checkDeep = true; // "ancestor" is the more appropriate label due to "deep" check + + var isAncestorOfSelectedBlock = hasSelectedInnerBlock(clientId, checkDeep); + var index = getBlockIndex(clientId, rootClientId); + var blockOrder = getBlockOrder(rootClientId); + var blockParentsClientIds = getBlockParents(clientId); + var currentBlockListSettings = getBlockListSettings(clientId); // Get Block List Settings for all ancestors of the current Block clientId + + var ancestorBlockListSettings = __experimentalGetBlockListSettingsForBlocks(blockParentsClientIds); // Find the index of the first Block with the `captureDescendantsToolbars` prop defined + // This will be the top most ancestor because getBlockParents() returns tree from top -> bottom + + + var topmostAncestorWithCaptureDescendantsToolbarsIndex = Object(external_this_lodash_["findIndex"])(ancestorBlockListSettings, ['__experimentalCaptureToolbars', true]); // Boolean to indicate whether current Block has a parent with `captureDescendantsToolbars` set + + var hasAncestorCapturingToolbars = topmostAncestorWithCaptureDescendantsToolbarsIndex !== -1 ? true : false; // Is the *current* Block the one capturing all its descendant toolbars? + // If there is no `topmostAncestorWithCaptureDescendantsToolbarsIndex` then + // we're at the top of the tree + + var isCapturingDescendantToolbars = isAncestorOfSelectedBlock && currentBlockListSettings && currentBlockListSettings.__experimentalCaptureToolbars && !hasAncestorCapturingToolbars; // The fallback to `{}` is a temporary fix. + // This function should never be called when a block is not present in the state. + // It happens now because the order in withSelect rendering is not correct. + + var _ref4 = block || {}, + name = _ref4.name, + attributes = _ref4.attributes, + isValid = _ref4.isValid; + + return { + isMultiSelected: isBlockMultiSelected(clientId), + isPartOfMultiSelection: isBlockMultiSelected(clientId) || isAncestorMultiSelected(clientId), + isFirstMultiSelected: isFirstMultiSelectedBlock(clientId), + // We only care about this prop when the block is selected + // Thus to avoid unnecessary rerenders we avoid updating the prop if the block is not selected. + isTypingWithinBlock: (isSelected || isAncestorOfSelectedBlock) && isTyping(), + isCaretWithinFormattedText: isCaretWithinFormattedText(), + mode: getBlockMode(clientId), + isSelectionEnabled: isSelectionEnabled(), + initialPosition: isSelected ? getSelectedBlocksInitialCaretPosition() : null, + isEmptyDefaultBlock: name && Object(external_this_wp_blocks_["isUnmodifiedDefaultBlock"])({ + name: name, + attributes: attributes + }), + isLocked: !!templateLock, + isFocusMode: focusMode && isLargeViewport, + hasFixedToolbar: hasFixedToolbar && isLargeViewport, + isLast: index === blockOrder.length - 1, + isNavigationMode: isNavigationMode(), + isRTL: isRTL, + // Users of the editor.BlockListBlock filter used to be able to access the block prop + // Ideally these blocks would rely on the clientId prop only. + // This is kept for backward compatibility reasons. + block: block, + name: name, + attributes: attributes, + isValid: isValid, + isSelected: isSelected, + isAncestorOfSelectedBlock: isAncestorOfSelectedBlock, + isCapturingDescendantToolbars: isCapturingDescendantToolbars, + hasAncestorCapturingToolbars: hasAncestorCapturingToolbars + }; +}); +var applyWithDispatch = Object(external_this_wp_data_["withDispatch"])(function (dispatch, ownProps, _ref5) { + var select = _ref5.select; + + var _dispatch = dispatch('core/block-editor'), + updateBlockAttributes = _dispatch.updateBlockAttributes, + selectBlock = _dispatch.selectBlock, + multiSelect = _dispatch.multiSelect, + insertBlocks = _dispatch.insertBlocks, + insertDefaultBlock = _dispatch.insertDefaultBlock, + removeBlock = _dispatch.removeBlock, + mergeBlocks = _dispatch.mergeBlocks, + replaceBlocks = _dispatch.replaceBlocks, + _toggleSelection = _dispatch.toggleSelection, + setNavigationMode = _dispatch.setNavigationMode, + __unstableMarkLastChangeAsPersistent = _dispatch.__unstableMarkLastChangeAsPersistent; + + return { + setAttributes: function setAttributes(newAttributes) { + var clientId = ownProps.clientId; + updateBlockAttributes(clientId, newAttributes); + }, + onSelect: function onSelect() { + var clientId = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ownProps.clientId; + var initialPosition = arguments.length > 1 ? arguments[1] : undefined; + selectBlock(clientId, initialPosition); + }, + onInsertBlocks: function onInsertBlocks(blocks, index) { + var rootClientId = ownProps.rootClientId; + insertBlocks(blocks, index, rootClientId); + }, + onInsertDefaultBlockAfter: function onInsertDefaultBlockAfter() { + var clientId = ownProps.clientId, + rootClientId = ownProps.rootClientId; + + var _select2 = select('core/block-editor'), + getBlockIndex = _select2.getBlockIndex; + + var index = getBlockIndex(clientId, rootClientId); + insertDefaultBlock({}, rootClientId, index + 1); + }, + onInsertBlocksAfter: function onInsertBlocksAfter(blocks) { + var clientId = ownProps.clientId, + rootClientId = ownProps.rootClientId; + + var _select3 = select('core/block-editor'), + getBlockIndex = _select3.getBlockIndex; + + var index = getBlockIndex(clientId, rootClientId); + insertBlocks(blocks, index + 1, rootClientId); + }, + onRemove: function onRemove(clientId) { + removeBlock(clientId); + }, + onMerge: function onMerge(forward) { + var clientId = ownProps.clientId; + + var _select4 = select('core/block-editor'), + getPreviousBlockClientId = _select4.getPreviousBlockClientId, + getNextBlockClientId = _select4.getNextBlockClientId; + + if (forward) { + var nextBlockClientId = getNextBlockClientId(clientId); + + if (nextBlockClientId) { + mergeBlocks(clientId, nextBlockClientId); + } + } else { + var previousBlockClientId = getPreviousBlockClientId(clientId); + + if (previousBlockClientId) { + mergeBlocks(previousBlockClientId, clientId); + } + } + }, + onReplace: function onReplace(blocks, indexToSelect) { + if (blocks.length && !Object(external_this_wp_blocks_["isUnmodifiedDefaultBlock"])(blocks[blocks.length - 1])) { + __unstableMarkLastChangeAsPersistent(); + } + + replaceBlocks([ownProps.clientId], blocks, indexToSelect); + }, + onShiftSelection: function onShiftSelection() { + if (!ownProps.isSelectionEnabled) { + return; + } + + var _select5 = select('core/block-editor'), + getBlockSelectionStart = _select5.getBlockSelectionStart; + + if (getBlockSelectionStart()) { + multiSelect(getBlockSelectionStart(), ownProps.clientId); + } else { + selectBlock(ownProps.clientId); + } + }, + toggleSelection: function toggleSelection(selectionEnabled) { + _toggleSelection(selectionEnabled); + }, + setNavigationMode: setNavigationMode + }; +}); +/* harmony default export */ var block_list_block = (Object(external_this_wp_compose_["compose"])(external_this_wp_compose_["pure"], Object(external_this_wp_viewport_["withViewportMatch"])({ + isLargeViewport: 'medium' +}), applyWithSelect, applyWithDispatch, // block is sometimes not mounted at the right time, causing it be undefined +// see issue for more info https://github.com/WordPress/gutenberg/issues/17013 +Object(external_this_wp_compose_["ifCondition"])(function (_ref6) { + var block = _ref6.block; + return !!block; +}), Object(external_this_wp_components_["withFilters"])('editor.BlockListBlock'))(block_BlockListBlock)); + +// EXTERNAL MODULE: external {"this":["wp","htmlEntities"]} +var external_this_wp_htmlEntities_ = __webpack_require__(54); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/default-block-appender/index.js + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + + + + + +/** + * Internal dependencies + */ + + + +function default_block_appender_DefaultBlockAppender(_ref) { + var isLocked = _ref.isLocked, + isVisible = _ref.isVisible, + onAppend = _ref.onAppend, + showPrompt = _ref.showPrompt, + placeholder = _ref.placeholder, + rootClientId = _ref.rootClientId; + + if (isLocked || !isVisible) { + return null; + } + + var value = Object(external_this_wp_htmlEntities_["decodeEntities"])(placeholder) || Object(external_this_wp_i18n_["__"])('Start writing or type / to choose a block'); // The appender "button" is in-fact a text field so as to support + // transitions by WritingFlow occurring by arrow key press. WritingFlow + // only supports tab transitions into text fields and to the block focus + // boundary. + // + // See: https://github.com/WordPress/gutenberg/issues/4829#issuecomment-374213658 + // + // If it were ever to be made to be a proper `button` element, it is + // important to note that `onFocus` alone would not be sufficient to + // capture click events, notably in Firefox. + // + // See: https://gist.github.com/cvrebert/68659d0333a578d75372 + // The wp-block className is important for editor styles. + + + return Object(external_this_wp_element_["createElement"])("div", { + "data-root-client-id": rootClientId || '', + className: "wp-block block-editor-default-block-appender" + }, Object(external_this_wp_element_["createElement"])(block_drop_zone, { + rootClientId: rootClientId + }), Object(external_this_wp_element_["createElement"])(react_autosize_textarea_lib_default.a, { + role: "button", + "aria-label": Object(external_this_wp_i18n_["__"])('Add block'), + className: "block-editor-default-block-appender__content", + readOnly: true, + onFocus: onAppend, + value: showPrompt ? value : '' + }), Object(external_this_wp_element_["createElement"])(inserter, { + rootClientId: rootClientId, + position: "top right", + isAppender: true + })); +} +/* harmony default export */ var default_block_appender = (Object(external_this_wp_compose_["compose"])(Object(external_this_wp_data_["withSelect"])(function (select, ownProps) { + var _select = select('core/block-editor'), + getBlockCount = _select.getBlockCount, + getBlockName = _select.getBlockName, + isBlockValid = _select.isBlockValid, + getSettings = _select.getSettings, + getTemplateLock = _select.getTemplateLock; + + var isEmpty = !getBlockCount(ownProps.rootClientId); + var isLastBlockDefault = getBlockName(ownProps.lastBlockClientId) === Object(external_this_wp_blocks_["getDefaultBlockName"])(); + var isLastBlockValid = isBlockValid(ownProps.lastBlockClientId); + + var _getSettings = getSettings(), + bodyPlaceholder = _getSettings.bodyPlaceholder; + + return { + isVisible: isEmpty || !isLastBlockDefault || !isLastBlockValid, + showPrompt: isEmpty, + isLocked: !!getTemplateLock(ownProps.rootClientId), + placeholder: bodyPlaceholder + }; +}), Object(external_this_wp_data_["withDispatch"])(function (dispatch, ownProps) { + var _dispatch = dispatch('core/block-editor'), + insertDefaultBlock = _dispatch.insertDefaultBlock, + startTyping = _dispatch.startTyping; + + return { + onAppend: function onAppend() { + var rootClientId = ownProps.rootClientId; + insertDefaultBlock(undefined, rootClientId); + startTyping(); + } + }; +}))(default_block_appender_DefaultBlockAppender)); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list-appender/index.js + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + + +/** + * Internal dependencies + */ + + + + + +function BlockListAppender(_ref) { + var blockClientIds = _ref.blockClientIds, + rootClientId = _ref.rootClientId, + canInsertDefaultBlock = _ref.canInsertDefaultBlock, + isLocked = _ref.isLocked, + CustomAppender = _ref.renderAppender; + + if (isLocked || CustomAppender === false) { + return null; + } + + var appender; + + if (CustomAppender) { + // Prefer custom render prop if provided. + appender = Object(external_this_wp_element_["createElement"])(CustomAppender, null); + } else if (canInsertDefaultBlock) { + // Render the default block appender when renderAppender has not been + // provided and the context supports use of the default appender. + appender = Object(external_this_wp_element_["createElement"])(default_block_appender, { + rootClientId: rootClientId, + lastBlockClientId: Object(external_this_lodash_["last"])(blockClientIds) + }); + } else { + // Fallback in the case no renderAppender has been provided and the + // default block can't be inserted. + appender = Object(external_this_wp_element_["createElement"])(button_block_appender, { + rootClientId: rootClientId, + className: "block-list-appender__toggle" + }); + } // IgnoreNestedEvents is used to treat interactions within the appender as + // subject to the same conditions as those which occur within nested blocks. + // Notably, this effectively prevents event bubbling to block ancestors + // which can otherwise interfere with the intended behavior of the appender + // (e.g. focus handler on the ancestor block). + // + // A `tabIndex` is used on the wrapping `div` element in order to force a + // focus event to occur when an appender `button` element is clicked. In + // some browsers (Firefox, Safari), button clicks do not emit a focus event, + // which could cause this event to propagate unexpectedly. The `tabIndex` + // ensures that the interaction is captured as a focus, without also adding + // an extra tab stop. + // + // See: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#Clicking_and_focus + + + return Object(external_this_wp_element_["createElement"])(ignore_nested_events, { + childHandledEvents: ['onFocus', 'onClick', 'onKeyDown'] + }, Object(external_this_wp_element_["createElement"])("div", { + tabIndex: -1, + className: "block-list-appender" + }, appender)); +} + +/* harmony default export */ var block_list_appender = (Object(external_this_wp_data_["withSelect"])(function (select, _ref2) { + var rootClientId = _ref2.rootClientId; + + var _select = select('core/block-editor'), + getBlockOrder = _select.getBlockOrder, + canInsertBlockType = _select.canInsertBlockType, + getTemplateLock = _select.getTemplateLock; + + return { + isLocked: !!getTemplateLock(rootClientId), + blockClientIds: getBlockOrder(rootClientId), + canInsertDefaultBlock: canInsertBlockType(Object(external_this_wp_blocks_["getDefaultBlockName"])(), rootClientId) + }; +})(BlockListAppender)); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list-footer/index.js +/** + * WordPress dependencies + */ + + +var block_list_footer_createSlotFill = Object(external_this_wp_components_["createSlotFill"])('__experimentalBlockListFooter'), + __experimentalBlockListFooter = block_list_footer_createSlotFill.Fill, + block_list_footer_Slot = block_list_footer_createSlotFill.Slot; + +__experimentalBlockListFooter.Slot = block_list_footer_Slot; +/* harmony default export */ var block_list_footer = (__experimentalBlockListFooter); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/use-multi-selection.js + + +/** + * WordPress dependencies + */ + + +/** + * Returns for the deepest node at the start or end of a container node. Ignores + * any text nodes that only contain HTML formatting whitespace. + * + * @param {Element} node Container to search. + * @param {string} type 'start' or 'end'. + */ + +function getDeepestNode(node, type) { + var child = type === 'start' ? 'firstChild' : 'lastChild'; + var sibling = type === 'start' ? 'nextSibling' : 'previousSibling'; + + while (node[child]) { + node = node[child]; + + while (node.nodeType === node.TEXT_NODE && /^[ \t\n]*$/.test(node.data) && node[sibling]) { + node = node[sibling]; + } + } + + return node; +} + +function useMultiSelection(_ref) { + var ref = _ref.ref, + rootClientId = _ref.rootClientId; + + function selector(select) { + var _select = select('core/block-editor'), + getBlockOrder = _select.getBlockOrder, + isSelectionEnabled = _select.isSelectionEnabled, + isMultiSelecting = _select.isMultiSelecting, + getMultiSelectedBlockClientIds = _select.getMultiSelectedBlockClientIds, + hasMultiSelection = _select.hasMultiSelection, + getBlockParents = _select.getBlockParents; + + return { + blockClientIds: getBlockOrder(rootClientId), + isSelectionEnabled: isSelectionEnabled(), + isMultiSelecting: isMultiSelecting(), + multiSelectedBlockClientIds: getMultiSelectedBlockClientIds(), + hasMultiSelection: hasMultiSelection(), + getBlockParents: getBlockParents + }; + } + + var _useSelect = Object(external_this_wp_data_["useSelect"])(selector, [rootClientId]), + blockClientIds = _useSelect.blockClientIds, + isSelectionEnabled = _useSelect.isSelectionEnabled, + isMultiSelecting = _useSelect.isMultiSelecting, + multiSelectedBlockClientIds = _useSelect.multiSelectedBlockClientIds, + hasMultiSelection = _useSelect.hasMultiSelection, + getBlockParents = _useSelect.getBlockParents; + + var _useDispatch = Object(external_this_wp_data_["useDispatch"])('core/block-editor'), + startMultiSelect = _useDispatch.startMultiSelect, + stopMultiSelect = _useDispatch.stopMultiSelect, + multiSelect = _useDispatch.multiSelect, + selectBlock = _useDispatch.selectBlock; + + var rafId = Object(external_this_wp_element_["useRef"])(); + var startClientId = Object(external_this_wp_element_["useRef"])(); + /** + * When the component updates, and there is multi selection, we need to + * select the entire block contents. + */ + + Object(external_this_wp_element_["useEffect"])(function () { + if (!hasMultiSelection || isMultiSelecting) { + return; + } + + var length = multiSelectedBlockClientIds.length; // These must be in the right DOM order. + + var start = multiSelectedBlockClientIds[0]; + var end = multiSelectedBlockClientIds[length - 1]; + var startIndex = blockClientIds.indexOf(start); // The selected block is not in this block list. + + if (startIndex === -1) { + return; + } + + var startNode = ref.current.querySelector("[data-block=\"".concat(start, "\"]")); + var endNode = ref.current.querySelector("[data-block=\"".concat(end, "\"]")); + var selection = window.getSelection(); + var range = document.createRange(); // The most stable way to select the whole block contents is to start + // and end at the deepest points. + + startNode = getDeepestNode(startNode, 'start'); + endNode = getDeepestNode(endNode, 'end'); + range.setStartBefore(startNode); + range.setEndAfter(endNode); + selection.removeAllRanges(); + selection.addRange(range); + }, [hasMultiSelection, isMultiSelecting, multiSelectedBlockClientIds, blockClientIds, selectBlock]); + var onSelectionChange = Object(external_this_wp_element_["useCallback"])(function () { + var selection = window.getSelection(); // If no selection is found, end multi selection. + + if (!selection.rangeCount || selection.isCollapsed) { + return; + } + + var focusNode = selection.focusNode; + var clientId; // Find the client ID of the block where the selection ends. + + do { + focusNode = focusNode.parentElement; + } while (focusNode && !(clientId = focusNode.getAttribute('data-block'))); + + if (startClientId.current === clientId) { + selectBlock(clientId); + } else { + var startPath = [].concat(Object(toConsumableArray["a" /* default */])(getBlockParents(startClientId.current)), [startClientId.current]); + var endPath = [].concat(Object(toConsumableArray["a" /* default */])(getBlockParents(clientId)), [clientId]); + var depth = Math.min(startPath.length, endPath.length) - 1; + multiSelect(startPath[depth], endPath[depth]); + } + }, [selectBlock, getBlockParents, multiSelect]); + /** + * Handles a mouseup event to end the current mouse multi-selection. + */ + + var onSelectionEnd = Object(external_this_wp_element_["useCallback"])(function () { + document.removeEventListener('selectionchange', onSelectionChange); // Equivalent to attaching the listener once. + + window.removeEventListener('mouseup', onSelectionEnd); // The browser selection won't have updated yet at this point, so wait + // until the next animation frame to get the browser selection. + + rafId.current = window.requestAnimationFrame(function () { + onSelectionChange(); + stopMultiSelect(); + }); + }, [onSelectionChange, stopMultiSelect]); // Only clean up when unmounting, these are added and cleaned up elsewhere. + + Object(external_this_wp_element_["useEffect"])(function () { + return function () { + document.removeEventListener('selectionchange', onSelectionChange); + window.removeEventListener('mouseup', onSelectionEnd); + window.cancelAnimationFrame(rafId.current); + }; + }, [onSelectionChange, onSelectionEnd]); + /** + * Binds event handlers to the document for tracking a pending multi-select + * in response to a mousedown event occurring in a rendered block. + */ + + return Object(external_this_wp_element_["useCallback"])(function (clientId) { + if (!isSelectionEnabled) { + return; + } + + startClientId.current = clientId; + startMultiSelect(); // `onSelectionStart` is called after `mousedown` and `mouseleave` + // (from a block). The selection ends when `mouseup` happens anywhere + // in the window. + + document.addEventListener('selectionchange', onSelectionChange); + window.addEventListener('mouseup', onSelectionEnd); // Removing the contenteditable attributes within the block editor is + // essential for selection to work across editable areas. The edible + // hosts are removed, allowing selection to be extended outside the + // DOM element. `startMultiSelect` sets a flag in the store so the rich + // text components are updated, but the rerender may happen very slowly, + // especially in Safari for the blocks that are asynchonously rendered. + // To ensure the browser instantly removes the selection boundaries, we + // remove the contenteditable attributes manually. + + Array.from(ref.current.querySelectorAll('.rich-text')).forEach(function (node) { + return node.removeAttribute('contenteditable'); + }); + }, [isSelectionEnabled, startMultiSelect, onSelectionEnd]); +} + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/index.js + + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + + +/** + * Internal dependencies + */ + + + + + +/** + * If the block count exceeds the threshold, we disable the reordering animation + * to avoid laginess. + */ + +var BLOCK_ANIMATION_THRESHOLD = 200; + +var block_list_forceSyncUpdates = function forceSyncUpdates(WrappedComponent) { + return function (props) { + return Object(external_this_wp_element_["createElement"])(external_this_wp_data_["AsyncModeProvider"], { + value: false + }, Object(external_this_wp_element_["createElement"])(WrappedComponent, props)); + }; +}; + +function BlockList(_ref) { + var className = _ref.className, + rootClientId = _ref.rootClientId, + _ref$__experimentalMo = _ref.__experimentalMoverDirection, + moverDirection = _ref$__experimentalMo === void 0 ? 'vertical' : _ref$__experimentalMo, + isDraggable = _ref.isDraggable, + renderAppender = _ref.renderAppender, + _ref$__experimentalUI = _ref.__experimentalUIParts, + __experimentalUIParts = _ref$__experimentalUI === void 0 ? {} : _ref$__experimentalUI; + + function selector(select) { + var _select = select('core/block-editor'), + getBlockOrder = _select.getBlockOrder, + isMultiSelecting = _select.isMultiSelecting, + getSelectedBlockClientId = _select.getSelectedBlockClientId, + getMultiSelectedBlockClientIds = _select.getMultiSelectedBlockClientIds, + hasMultiSelection = _select.hasMultiSelection, + getGlobalBlockCount = _select.getGlobalBlockCount, + isTyping = _select.isTyping; + + return { + blockClientIds: getBlockOrder(rootClientId), + isMultiSelecting: isMultiSelecting(), + selectedBlockClientId: getSelectedBlockClientId(), + multiSelectedBlockClientIds: getMultiSelectedBlockClientIds(), + hasMultiSelection: hasMultiSelection(), + enableAnimation: !isTyping() && getGlobalBlockCount() <= BLOCK_ANIMATION_THRESHOLD + }; + } + + var _useSelect = Object(external_this_wp_data_["useSelect"])(selector, [rootClientId]), + blockClientIds = _useSelect.blockClientIds, + isMultiSelecting = _useSelect.isMultiSelecting, + selectedBlockClientId = _useSelect.selectedBlockClientId, + multiSelectedBlockClientIds = _useSelect.multiSelectedBlockClientIds, + hasMultiSelection = _useSelect.hasMultiSelection, + enableAnimation = _useSelect.enableAnimation; + + var ref = Object(external_this_wp_element_["useRef"])(); + var onSelectionStart = useMultiSelection({ + ref: ref, + rootClientId: rootClientId + }); + + var uiParts = Object(objectSpread["a" /* default */])({ + hasMovers: true, + hasSelectedUI: true + }, __experimentalUIParts); + + return Object(external_this_wp_element_["createElement"])("div", { + ref: ref, + className: classnames_default()('block-editor-block-list__layout', className) + }, blockClientIds.map(function (clientId, index) { + var isBlockInSelection = hasMultiSelection ? multiSelectedBlockClientIds.includes(clientId) : selectedBlockClientId === clientId; + return Object(external_this_wp_element_["createElement"])(external_this_wp_data_["AsyncModeProvider"], { + key: clientId, + value: !isBlockInSelection + }, Object(external_this_wp_element_["createElement"])(block_list_block, { + rootClientId: rootClientId, + clientId: clientId, + onSelectionStart: onSelectionStart, + isDraggable: isDraggable, + moverDirection: moverDirection, + isMultiSelecting: isMultiSelecting // This prop is explicitely computed and passed down + // to avoid being impacted by the async mode + // otherwise there might be a small delay to trigger the animation. + , + animateOnChange: index, + enableAnimation: enableAnimation, + hasSelectedUI: uiParts.hasSelectedUI, + hasMovers: uiParts.hasMovers + })); + }), Object(external_this_wp_element_["createElement"])(block_list_appender, { + rootClientId: rootClientId, + renderAppender: renderAppender + }), Object(external_this_wp_element_["createElement"])(block_list_footer.Slot, null)); +} // This component needs to always be synchronous +// as it's the one changing the async mode +// depending on the block selection. + + +/* harmony default export */ var block_list = (block_list_forceSyncUpdates(BlockList)); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-preview/index.js + + + +/** + * External dependencies + */ + + +/** + * WordPress dependencies + */ + + + + +/** + * Internal dependencies + */ + + + + + +function ScaledBlockPreview(_ref) { + var blocks = _ref.blocks, + viewportWidth = _ref.viewportWidth, + _ref$padding = _ref.padding, + padding = _ref$padding === void 0 ? 0 : _ref$padding; + var previewRef = Object(external_this_wp_element_["useRef"])(null); + + var _useState = Object(external_this_wp_element_["useState"])(false), + _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2), + isReady = _useState2[0], + setIsReady = _useState2[1]; + + var _useState3 = Object(external_this_wp_element_["useState"])(1), + _useState4 = Object(slicedToArray["a" /* default */])(_useState3, 2), + previewScale = _useState4[0], + setPreviewScale = _useState4[1]; + + var _useState5 = Object(external_this_wp_element_["useState"])({ + x: 0, + y: 0 + }), + _useState6 = Object(slicedToArray["a" /* default */])(_useState5, 2), + _useState6$ = _useState6[0], + x = _useState6$.x, + y = _useState6$.y, + setPosition = _useState6[1]; // Dynamically calculate the scale factor + + + Object(external_this_wp_element_["useLayoutEffect"])(function () { + // Timer - required to account for async render of `BlockEditorProvider` + var timerId = setTimeout(function () { + var containerElement = previewRef.current; + + if (!containerElement) { + return; + } // If we're previewing a single block, scale the preview to fit it. + + + if (blocks.length === 1) { + var block = blocks[0]; + var previewElement = getBlockPreviewContainerDOMNode(block.clientId, containerElement); + + if (!previewElement) { + return; + } + + var containerElementRect = containerElement.getBoundingClientRect(); + containerElementRect = { + width: containerElementRect.width - padding * 2, + height: containerElementRect.height - padding * 2, + left: containerElementRect.left, + top: containerElementRect.top + }; + var scaledElementRect = previewElement.getBoundingClientRect(); + var scale = containerElementRect.width / scaledElementRect.width || 1; + var offsetX = -(scaledElementRect.left - containerElementRect.left) * scale + padding; + var offsetY = containerElementRect.height > scaledElementRect.height * scale ? (containerElementRect.height - scaledElementRect.height * scale) / 2 + padding : 0; + setPreviewScale(scale); + setPosition({ + x: offsetX, + y: offsetY + }); // Hack: we need to reset the scaled elements margins + + previewElement.style.marginTop = '0'; + } else { + var _containerElementRect = containerElement.getBoundingClientRect(); + + setPreviewScale(_containerElementRect.width / viewportWidth); + } + + setIsReady(true); + }, 100); // Cleanup + + return function () { + if (timerId) { + window.clearTimeout(timerId); + } + }; + }, []); + + if (!blocks || blocks.length === 0) { + return null; + } + + var previewStyles = { + transform: "scale(".concat(previewScale, ")"), + visibility: isReady ? 'visible' : 'hidden', + left: x, + top: y, + width: viewportWidth + }; + return Object(external_this_wp_element_["createElement"])("div", { + ref: previewRef, + className: classnames_default()('block-editor-block-preview__container editor-styles-wrapper', { + 'is-ready': isReady + }), + "aria-hidden": true + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Disabled"], { + style: previewStyles, + className: "block-editor-block-preview__content" + }, Object(external_this_wp_element_["createElement"])(block_list, null))); +} + +function BlockPreview(_ref2) { + var blocks = _ref2.blocks, + _ref2$viewportWidth = _ref2.viewportWidth, + viewportWidth = _ref2$viewportWidth === void 0 ? 700 : _ref2$viewportWidth, + padding = _ref2.padding, + settings = _ref2.settings; + var renderedBlocks = Object(external_this_wp_element_["useMemo"])(function () { + return Object(external_this_lodash_["castArray"])(blocks); + }, [blocks]); + + var _useReducer = Object(external_this_wp_element_["useReducer"])(function (state) { + return state + 1; + }, 0), + _useReducer2 = Object(slicedToArray["a" /* default */])(_useReducer, 2), + recompute = _useReducer2[0], + triggerRecompute = _useReducer2[1]; + + Object(external_this_wp_element_["useLayoutEffect"])(triggerRecompute, [blocks]); + return Object(external_this_wp_element_["createElement"])(provider, { + value: renderedBlocks, + settings: settings + }, Object(external_this_wp_element_["createElement"])(ScaledBlockPreview, { + key: recompute, + blocks: renderedBlocks, + viewportWidth: viewportWidth, + padding: padding + })); +} +/** + * BlockPreview renders a preview of a block or array of blocks. + * + * @see https://github.com/WordPress/gutenberg/blob/master/packages/block-editor/src/components/block-preview/README.md + * + * @param {Array|Object} blocks A block instance (object) or an array of blocks to be previewed. + * @param {number} viewportWidth Width of the preview container in pixels. Controls at what size the blocks will be rendered inside the preview. Default: 700. + * @return {WPComponent} The component to be rendered. + */ + +/* harmony default export */ var block_preview = (Object(external_this_wp_data_["withSelect"])(function (select) { + return { + settings: select('core/block-editor').getSettings() + }; +})(BlockPreview)); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter-list-item/index.js + + + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + +/** + * Internal dependencies + */ + + + +function InserterListItem(_ref) { + var icon = _ref.icon, + _onClick = _ref.onClick, + isDisabled = _ref.isDisabled, + title = _ref.title, + className = _ref.className, + props = Object(objectWithoutProperties["a" /* default */])(_ref, ["icon", "onClick", "isDisabled", "title", "className"]); + + var itemIconStyle = icon ? { + backgroundColor: icon.background, + color: icon.foreground + } : {}; + return Object(external_this_wp_element_["createElement"])("li", { + className: "block-editor-block-types-list__list-item" + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], Object(esm_extends["a" /* default */])({ + className: classnames_default()('block-editor-block-types-list__item', className), + onClick: function onClick(event) { + event.preventDefault(); + + _onClick(); + }, + disabled: isDisabled + }, props), Object(external_this_wp_element_["createElement"])("span", { + className: "block-editor-block-types-list__item-icon", + style: itemIconStyle + }, Object(external_this_wp_element_["createElement"])(BlockIcon, { + icon: icon, + showColors: true + })), Object(external_this_wp_element_["createElement"])("span", { + className: "block-editor-block-types-list__item-title" + }, title))); +} + +/* harmony default export */ var inserter_list_item = (InserterListItem); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-types-list/index.js + + +/** + * WordPress dependencies + */ + +/** + * Internal dependencies + */ + + + +function BlockTypesList(_ref) { + var items = _ref.items, + onSelect = _ref.onSelect, + _ref$onHover = _ref.onHover, + onHover = _ref$onHover === void 0 ? function () {} : _ref$onHover, + children = _ref.children; + return ( + /* + * Disable reason: The `list` ARIA role is redundant but + * Safari+VoiceOver won't announce the list otherwise. + */ + + /* eslint-disable jsx-a11y/no-redundant-roles */ + Object(external_this_wp_element_["createElement"])("ul", { + role: "list", + className: "block-editor-block-types-list" + }, items && items.map(function (item) { + return Object(external_this_wp_element_["createElement"])(inserter_list_item, { + key: item.id, + className: Object(external_this_wp_blocks_["getBlockMenuDefaultClassName"])(item.id), + icon: item.icon, + onClick: function onClick() { + onSelect(item); + onHover(null); + }, + onFocus: function onFocus() { + return onHover(item); + }, + onMouseEnter: function onMouseEnter() { + return onHover(item); + }, + onMouseLeave: function onMouseLeave() { + return onHover(null); + }, + onBlur: function onBlur() { + return onHover(null); + }, + isDisabled: item.isDisabled, + title: item.title + }); + }), children) + /* eslint-enable jsx-a11y/no-redundant-roles */ + + ); +} + +/* harmony default export */ var block_types_list = (BlockTypesList); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-card/index.js + + +/** + * Internal dependencies + */ + + +function BlockCard(_ref) { + var blockType = _ref.blockType; + return Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-block-card" + }, Object(external_this_wp_element_["createElement"])(BlockIcon, { + icon: blockType.icon, + showColors: true + }), Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-block-card__content" + }, Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-block-card__title" + }, blockType.title), Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-block-card__description" + }, blockType.description))); +} + +/* harmony default export */ var block_card = (BlockCard); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter/child-blocks.js + + + + +/** + * WordPress dependencies + */ + + +/** + * Internal dependencies + */ + + + + +function ChildBlocks(_ref) { + var rootBlockIcon = _ref.rootBlockIcon, + rootBlockTitle = _ref.rootBlockTitle, + items = _ref.items, + props = Object(objectWithoutProperties["a" /* default */])(_ref, ["rootBlockIcon", "rootBlockTitle", "items"]); + + return Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-inserter__child-blocks" + }, (rootBlockIcon || rootBlockTitle) && Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-inserter__parent-block-header" + }, Object(external_this_wp_element_["createElement"])(BlockIcon, { + icon: rootBlockIcon, + showColors: true + }), rootBlockTitle && Object(external_this_wp_element_["createElement"])("h2", null, rootBlockTitle)), Object(external_this_wp_element_["createElement"])(block_types_list, Object(esm_extends["a" /* default */])({ + items: items + }, props))); +} + +/* harmony default export */ var child_blocks = (Object(external_this_wp_compose_["compose"])(Object(external_this_wp_compose_["ifCondition"])(function (_ref2) { + var items = _ref2.items; + return items && items.length > 0; +}), Object(external_this_wp_data_["withSelect"])(function (select, _ref3) { + var rootClientId = _ref3.rootClientId; + + var _select = select('core/blocks'), + getBlockType = _select.getBlockType; + + var _select2 = select('core/block-editor'), + getBlockName = _select2.getBlockName; + + var rootBlockName = getBlockName(rootClientId); + var rootBlockType = getBlockType(rootBlockName); + return { + rootBlockTitle: rootBlockType && rootBlockType.title, + rootBlockIcon: rootBlockType && rootBlockType.icon + }; +}))(ChildBlocks)); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter-menu-extension/index.js +/** + * WordPress dependencies + */ + + +var inserter_menu_extension_createSlotFill = Object(external_this_wp_components_["createSlotFill"])('__experimentalInserterMenuExtension'), + __experimentalInserterMenuExtension = inserter_menu_extension_createSlotFill.Fill, + inserter_menu_extension_Slot = inserter_menu_extension_createSlotFill.Slot; + +__experimentalInserterMenuExtension.Slot = inserter_menu_extension_Slot; +/* harmony default export */ var inserter_menu_extension = (__experimentalInserterMenuExtension); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter/search-items.js +/** + * External dependencies + */ + +/** + * Converts the search term into a list of normalized terms. + * + * @param {string} term The search term to normalize. + * + * @return {string[]} The normalized list of search terms. + */ + +var search_items_normalizeSearchTerm = function normalizeSearchTerm() { + var term = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ''; + // Disregard diacritics. + // Input: "média" + term = Object(external_this_lodash_["deburr"])(term); // Accommodate leading slash, matching autocomplete expectations. + // Input: "/media" + + term = term.replace(/^\//, ''); // Lowercase. + // Input: "MEDIA" + + term = term.toLowerCase(); // Extract words. + + return Object(external_this_lodash_["words"])(term); +}; + +var search_items_removeMatchingTerms = function removeMatchingTerms(unmatchedTerms, unprocessedTerms) { + return Object(external_this_lodash_["differenceWith"])(unmatchedTerms, search_items_normalizeSearchTerm(unprocessedTerms), function (unmatchedTerm, unprocessedTerm) { + return unprocessedTerm.includes(unmatchedTerm); + }); +}; +/** + * Filters an item list given a search term. + * + * @param {Array} items Item list + * @param {Array} categories Available categories. + * @param {string} searchTerm Search term. + * + * @return {Array} Filtered item list. + */ + + +var search_items_searchItems = function searchItems(items, categories, searchTerm) { + var normalizedTerms = search_items_normalizeSearchTerm(searchTerm); + + if (normalizedTerms.length === 0) { + return items; + } + + return items.filter(function (_ref) { + var title = _ref.title, + category = _ref.category, + _ref$keywords = _ref.keywords, + keywords = _ref$keywords === void 0 ? [] : _ref$keywords; + var unmatchedTerms = search_items_removeMatchingTerms(normalizedTerms, title); + + if (unmatchedTerms.length === 0) { + return true; + } + + unmatchedTerms = search_items_removeMatchingTerms(unmatchedTerms, keywords.join(' ')); + + if (unmatchedTerms.length === 0) { + return true; + } + + unmatchedTerms = search_items_removeMatchingTerms(unmatchedTerms, Object(external_this_lodash_["get"])(Object(external_this_lodash_["find"])(categories, { + slug: category + }), ['title'])); + return unmatchedTerms.length === 0; + }); +}; + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter/menu.js + + + + + + + + + +/** + * External dependencies + */ + + + +/** + * WordPress dependencies + */ + + + + + + + + + + +/** + * Internal dependencies + */ + + + + + + + +var MAX_SUGGESTED_ITEMS = 9; + +var stopKeyPropagation = function stopKeyPropagation(event) { + return event.stopPropagation(); +}; + +var menu_InserterMenu = +/*#__PURE__*/ +function (_Component) { + Object(inherits["a" /* default */])(InserterMenu, _Component); + + function InserterMenu() { + var _this; + + Object(classCallCheck["a" /* default */])(this, InserterMenu); + + _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(InserterMenu).apply(this, arguments)); + _this.state = { + childItems: [], + filterValue: '', + hoveredItem: null, + suggestedItems: [], + reusableItems: [], + itemsPerCategory: {}, + openPanels: ['suggested'] + }; + _this.onChangeSearchInput = _this.onChangeSearchInput.bind(Object(assertThisInitialized["a" /* default */])(_this)); + _this.onHover = _this.onHover.bind(Object(assertThisInitialized["a" /* default */])(_this)); + _this.panels = {}; + _this.inserterResults = Object(external_this_wp_element_["createRef"])(); + return _this; + } + + Object(createClass["a" /* default */])(InserterMenu, [{ + key: "componentDidMount", + value: function componentDidMount() { + if (this.props.fetchReusableBlocks) { + this.props.fetchReusableBlocks(); + } + + this.filter(); + } + }, { + key: "componentDidUpdate", + value: function componentDidUpdate(prevProps) { + if (prevProps.items !== this.props.items) { + this.filter(this.state.filterValue); + } + } + }, { + key: "onChangeSearchInput", + value: function onChangeSearchInput(event) { + this.filter(event.target.value); + } + }, { + key: "onHover", + value: function onHover(item) { + this.setState({ + hoveredItem: item + }); + var _this$props = this.props, + showInsertionPoint = _this$props.showInsertionPoint, + hideInsertionPoint = _this$props.hideInsertionPoint; + + if (item) { + showInsertionPoint(); + } else { + hideInsertionPoint(); + } + } + }, { + key: "bindPanel", + value: function bindPanel(name) { + var _this2 = this; + + return function (ref) { + _this2.panels[name] = ref; + }; + } + }, { + key: "onTogglePanel", + value: function onTogglePanel(panel) { + var _this3 = this; + + return function () { + var isOpened = _this3.state.openPanels.indexOf(panel) !== -1; + + if (isOpened) { + _this3.setState({ + openPanels: Object(external_this_lodash_["without"])(_this3.state.openPanels, panel) + }); + } else { + _this3.setState({ + openPanels: [].concat(Object(toConsumableArray["a" /* default */])(_this3.state.openPanels), [panel]) + }); + + _this3.props.setTimeout(function () { + // We need a generic way to access the panel's container + lib_default()(_this3.panels[panel], _this3.inserterResults.current, { + alignWithTop: true + }); + }); + } + }; + } + }, { + key: "filterOpenPanels", + value: function filterOpenPanels(filterValue, itemsPerCategory, filteredItems, reusableItems) { + if (filterValue === this.state.filterValue) { + return this.state.openPanels; + } + + if (!filterValue) { + return ['suggested']; + } + + var openPanels = []; + + if (reusableItems.length > 0) { + openPanels.push('reusable'); + } + + if (filteredItems.length > 0) { + openPanels = openPanels.concat(Object.keys(itemsPerCategory)); + } + + return openPanels; + } + }, { + key: "filter", + value: function filter() { + var filterValue = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ''; + var _this$props2 = this.props, + categories = _this$props2.categories, + debouncedSpeak = _this$props2.debouncedSpeak, + items = _this$props2.items, + rootChildBlocks = _this$props2.rootChildBlocks; + var filteredItems = search_items_searchItems(items, categories, filterValue); + + var childItems = Object(external_this_lodash_["filter"])(filteredItems, function (_ref) { + var name = _ref.name; + return Object(external_this_lodash_["includes"])(rootChildBlocks, name); + }); + + var suggestedItems = []; + + if (!filterValue) { + var maxSuggestedItems = this.props.maxSuggestedItems || MAX_SUGGESTED_ITEMS; + suggestedItems = Object(external_this_lodash_["filter"])(items, function (item) { + return item.utility > 0; + }).slice(0, maxSuggestedItems); + } + + var reusableItems = Object(external_this_lodash_["filter"])(filteredItems, { + category: 'reusable' + }); + + var getCategoryIndex = function getCategoryIndex(item) { + return Object(external_this_lodash_["findIndex"])(categories, function (category) { + return category.slug === item.category; + }); + }; + + var itemsPerCategory = Object(external_this_lodash_["flow"])(function (itemList) { + return Object(external_this_lodash_["filter"])(itemList, function (item) { + return item.category !== 'reusable'; + }); + }, function (itemList) { + return Object(external_this_lodash_["sortBy"])(itemList, getCategoryIndex); + }, function (itemList) { + return Object(external_this_lodash_["groupBy"])(itemList, 'category'); + })(filteredItems); + this.setState({ + hoveredItem: null, + childItems: childItems, + filterValue: filterValue, + suggestedItems: suggestedItems, + reusableItems: reusableItems, + itemsPerCategory: itemsPerCategory, + openPanels: this.filterOpenPanels(filterValue, itemsPerCategory, filteredItems, reusableItems) + }); + var resultCount = Object.keys(itemsPerCategory).reduce(function (accumulator, currentCategorySlug) { + return accumulator + itemsPerCategory[currentCategorySlug].length; + }, 0); + var resultsFoundMessage = Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["_n"])('%d result found.', '%d results found.', resultCount), resultCount); + debouncedSpeak(resultsFoundMessage); + } + }, { + key: "onKeyDown", + value: function onKeyDown(event) { + if (Object(external_this_lodash_["includes"])([external_this_wp_keycodes_["LEFT"], external_this_wp_keycodes_["DOWN"], external_this_wp_keycodes_["RIGHT"], external_this_wp_keycodes_["UP"], external_this_wp_keycodes_["BACKSPACE"], external_this_wp_keycodes_["ENTER"]], event.keyCode)) { + // Stop the key event from propagating up to ObserveTyping.startTypingInTextField. + event.stopPropagation(); + } + } + }, { + key: "render", + value: function render() { + var _this4 = this; + + var _this$props3 = this.props, + categories = _this$props3.categories, + instanceId = _this$props3.instanceId, + onSelect = _this$props3.onSelect, + rootClientId = _this$props3.rootClientId, + showInserterHelpPanel = _this$props3.showInserterHelpPanel; + var _this$state = this.state, + childItems = _this$state.childItems, + hoveredItem = _this$state.hoveredItem, + itemsPerCategory = _this$state.itemsPerCategory, + openPanels = _this$state.openPanels, + reusableItems = _this$state.reusableItems, + suggestedItems = _this$state.suggestedItems, + filterValue = _this$state.filterValue; + + var isPanelOpen = function isPanelOpen(panel) { + return openPanels.indexOf(panel) !== -1; + }; + + var hasItems = !Object(external_this_lodash_["isEmpty"])(suggestedItems) || !Object(external_this_lodash_["isEmpty"])(reusableItems) || !Object(external_this_lodash_["isEmpty"])(itemsPerCategory); + var hoveredItemBlockType = hoveredItem ? Object(external_this_wp_blocks_["getBlockType"])(hoveredItem.name) : null; + var hasHelpPanel = hasItems && showInserterHelpPanel; // Disable reason (no-autofocus): The inserter menu is a modal display, not one which + // is always visible, and one which already incurs this behavior of autoFocus via + // Popover's focusOnMount. + // Disable reason (no-static-element-interactions): Navigational key-presses within + // the menu are prevented from triggering WritingFlow and ObserveTyping interactions. + + /* eslint-disable jsx-a11y/no-autofocus, jsx-a11y/no-static-element-interactions */ + + return Object(external_this_wp_element_["createElement"])("div", { + className: classnames_default()('block-editor-inserter__menu', { + 'has-help-panel': hasHelpPanel + }), + onKeyPress: stopKeyPropagation, + onKeyDown: this.onKeyDown + }, Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-inserter__main-area" + }, Object(external_this_wp_element_["createElement"])("label", { + htmlFor: "block-editor-inserter__search-".concat(instanceId), + className: "screen-reader-text" + }, Object(external_this_wp_i18n_["__"])('Search for a block')), Object(external_this_wp_element_["createElement"])("input", { + id: "block-editor-inserter__search-".concat(instanceId), + type: "search", + placeholder: Object(external_this_wp_i18n_["__"])('Search for a block'), + className: "block-editor-inserter__search", + autoFocus: true, + onChange: this.onChangeSearchInput + }), Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-inserter__results", + ref: this.inserterResults, + tabIndex: "0", + role: "region", + "aria-label": Object(external_this_wp_i18n_["__"])('Available block types') + }, Object(external_this_wp_element_["createElement"])(child_blocks, { + rootClientId: rootClientId, + items: childItems, + onSelect: onSelect, + onHover: this.onHover + }), !!suggestedItems.length && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], { + title: Object(external_this_wp_i18n_["_x"])('Most used', 'blocks'), + opened: isPanelOpen('suggested'), + onToggle: this.onTogglePanel('suggested'), + ref: this.bindPanel('suggested') + }, Object(external_this_wp_element_["createElement"])(block_types_list, { + items: suggestedItems, + onSelect: onSelect, + onHover: this.onHover + })), Object(external_this_lodash_["map"])(categories, function (category) { + var categoryItems = itemsPerCategory[category.slug]; + + if (!categoryItems || !categoryItems.length) { + return null; + } + + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], { + key: category.slug, + title: category.title, + icon: category.icon, + opened: isPanelOpen(category.slug), + onToggle: _this4.onTogglePanel(category.slug), + ref: _this4.bindPanel(category.slug) + }, Object(external_this_wp_element_["createElement"])(block_types_list, { + items: categoryItems, + onSelect: onSelect, + onHover: _this4.onHover + })); + }), !!reusableItems.length && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], { + className: "block-editor-inserter__reusable-blocks-panel", + title: Object(external_this_wp_i18n_["__"])('Reusable'), + opened: isPanelOpen('reusable'), + onToggle: this.onTogglePanel('reusable'), + icon: "controls-repeat", + ref: this.bindPanel('reusable') + }, Object(external_this_wp_element_["createElement"])(block_types_list, { + items: reusableItems, + onSelect: onSelect, + onHover: this.onHover + }), Object(external_this_wp_element_["createElement"])("a", { + className: "block-editor-inserter__manage-reusable-blocks", + href: Object(external_this_wp_url_["addQueryArgs"])('edit.php', { + post_type: 'wp_block' + }) + }, Object(external_this_wp_i18n_["__"])('Manage all reusable blocks'))), Object(external_this_wp_element_["createElement"])(inserter_menu_extension.Slot, { + fillProps: { + onSelect: onSelect, + onHover: this.onHover, + filterValue: filterValue, + hasItems: hasItems + } + }, function (fills) { + if (fills.length) { + return fills; + } + + if (!hasItems) { + return Object(external_this_wp_element_["createElement"])("p", { + className: "block-editor-inserter__no-results" + }, Object(external_this_wp_i18n_["__"])('No blocks found.')); + } + + return null; + }))), hasHelpPanel && Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-inserter__menu-help-panel" + }, hoveredItem && Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, !Object(external_this_wp_blocks_["isReusableBlock"])(hoveredItem) && Object(external_this_wp_element_["createElement"])(block_card, { + blockType: hoveredItemBlockType + }), Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-inserter__preview" + }, Object(external_this_wp_blocks_["isReusableBlock"])(hoveredItem) || hoveredItemBlockType.example ? Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-inserter__preview-content" + }, Object(external_this_wp_element_["createElement"])(block_preview, { + padding: 10, + viewportWidth: 500, + blocks: hoveredItemBlockType.example ? Object(external_this_wp_blocks_["getBlockFromExample"])(hoveredItem.name, hoveredItemBlockType.example) : Object(external_this_wp_blocks_["createBlock"])(hoveredItem.name, hoveredItem.initialAttributes) + })) : Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-inserter__preview-content-missing" + }, Object(external_this_wp_i18n_["__"])('No Preview Available.')))), !hoveredItem && Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-inserter__menu-help-panel-no-block" + }, Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-inserter__menu-help-panel-no-block-text" + }, Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-inserter__menu-help-panel-title" + }, Object(external_this_wp_i18n_["__"])('Content blocks')), Object(external_this_wp_element_["createElement"])("p", null, Object(external_this_wp_i18n_["__"])('Welcome to the wonderful world of blocks! Blocks are the basis of all content within the editor.')), Object(external_this_wp_element_["createElement"])("p", null, Object(external_this_wp_i18n_["__"])('There are blocks available for all kinds of content: insert text, headings, images, lists, videos, tables, and lots more.')), Object(external_this_wp_element_["createElement"])("p", null, Object(external_this_wp_i18n_["__"])('Browse through the library to learn more about what each block does.'))), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Tip"], null, Object(external_this_wp_element_["__experimentalCreateInterpolateElement"])(Object(external_this_wp_i18n_["__"])('While writing, you can press / to quickly insert new blocks.'), { + kbd: Object(external_this_wp_element_["createElement"])("kbd", null) + }))))); + /* eslint-enable jsx-a11y/no-autofocus, jsx-a11y/no-static-element-interactions */ + } + }]); + + return InserterMenu; +}(external_this_wp_element_["Component"]); +/* harmony default export */ var menu = (Object(external_this_wp_compose_["compose"])(Object(external_this_wp_data_["withSelect"])(function (select, _ref2) { + var clientId = _ref2.clientId, + isAppender = _ref2.isAppender, + rootClientId = _ref2.rootClientId, + showInserterHelpPanel = _ref2.showInserterHelpPanel; + + var _select = select('core/block-editor'), + getInserterItems = _select.getInserterItems, + getBlockName = _select.getBlockName, + getBlockRootClientId = _select.getBlockRootClientId, + getBlockSelectionEnd = _select.getBlockSelectionEnd, + getSettings = _select.getSettings; + + var _select2 = select('core/blocks'), + getCategories = _select2.getCategories, + getChildBlockNames = _select2.getChildBlockNames; + + var destinationRootClientId = rootClientId; + + if (!destinationRootClientId && !clientId && !isAppender) { + var end = getBlockSelectionEnd(); + + if (end) { + destinationRootClientId = getBlockRootClientId(end) || undefined; + } + } + + var destinationRootBlockName = getBlockName(destinationRootClientId); + + var _getSettings = getSettings(), + showInserterHelpPanelSetting = _getSettings.showInserterHelpPanel, + fetchReusableBlocks = _getSettings.__experimentalFetchReusableBlocks; + + return { + categories: getCategories(), + rootChildBlocks: getChildBlockNames(destinationRootBlockName), + items: getInserterItems(destinationRootClientId), + showInserterHelpPanel: showInserterHelpPanel && showInserterHelpPanelSetting, + destinationRootClientId: destinationRootClientId, + fetchReusableBlocks: fetchReusableBlocks + }; +}), Object(external_this_wp_data_["withDispatch"])(function (dispatch, ownProps, _ref3) { + var select = _ref3.select; + + var _dispatch = dispatch('core/block-editor'), + _showInsertionPoint = _dispatch.showInsertionPoint, + hideInsertionPoint = _dispatch.hideInsertionPoint; // To avoid duplication, getInsertionIndex is extracted and used in two event handlers + // This breaks the withDispatch not containing any logic rule. + // Since it's a function only called when the event handlers are called, + // it's fine to extract it. + // eslint-disable-next-line no-restricted-syntax + + + function getInsertionIndex() { + var _select3 = select('core/block-editor'), + getBlockIndex = _select3.getBlockIndex, + getBlockSelectionEnd = _select3.getBlockSelectionEnd, + getBlockOrder = _select3.getBlockOrder; + + var clientId = ownProps.clientId, + destinationRootClientId = ownProps.destinationRootClientId, + isAppender = ownProps.isAppender; // If the clientId is defined, we insert at the position of the block. + + if (clientId) { + return getBlockIndex(clientId, destinationRootClientId); + } // If there a selected block, we insert after the selected block. + + + var end = getBlockSelectionEnd(); + + if (!isAppender && end) { + return getBlockIndex(end, destinationRootClientId) + 1; + } // Otherwise, we insert at the end of the current rootClientId + + + return getBlockOrder(destinationRootClientId).length; + } + + return { + showInsertionPoint: function showInsertionPoint() { + var index = getInsertionIndex(); + + _showInsertionPoint(ownProps.destinationRootClientId, index); + }, + hideInsertionPoint: hideInsertionPoint, + onSelect: function onSelect(item) { + var _dispatch2 = dispatch('core/block-editor'), + replaceBlocks = _dispatch2.replaceBlocks, + insertBlock = _dispatch2.insertBlock; + + var _select4 = select('core/block-editor'), + getSelectedBlock = _select4.getSelectedBlock; + + var isAppender = ownProps.isAppender, + onSelect = ownProps.onSelect, + selectBlockOnInsert = ownProps.__experimentalSelectBlockOnInsert; + var name = item.name, + title = item.title, + initialAttributes = item.initialAttributes; + var selectedBlock = getSelectedBlock(); + var insertedBlock = Object(external_this_wp_blocks_["createBlock"])(name, initialAttributes); + + if (!isAppender && selectedBlock && Object(external_this_wp_blocks_["isUnmodifiedDefaultBlock"])(selectedBlock)) { + replaceBlocks(selectedBlock.clientId, insertedBlock); + } else { + insertBlock(insertedBlock, getInsertionIndex(), ownProps.destinationRootClientId, selectBlockOnInsert); + + if (!selectBlockOnInsert) { + // translators: %s: the name of the block that has been added + var message = Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["__"])('%s block added'), title); + Object(external_this_wp_a11y_["speak"])(message); + } + } + + onSelect(); + return insertedBlock; + } + }; +}), external_this_wp_components_["withSpokenMessages"], external_this_wp_compose_["withInstanceId"], external_this_wp_compose_["withSafeTimeout"])(menu_InserterMenu)); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter/index.js + + + + + + + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + + + + + + + +/** + * Internal dependencies + */ + + + +var inserter_defaultRenderToggle = function defaultRenderToggle(_ref) { + var onToggle = _ref.onToggle, + disabled = _ref.disabled, + isOpen = _ref.isOpen, + blockTitle = _ref.blockTitle, + hasSingleBlockType = _ref.hasSingleBlockType; + var label; + + if (hasSingleBlockType) { + // translators: %s: the name of the block when there is only one + label = Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["_x"])('Add %s', 'directly add the only allowed block'), blockTitle); + } else { + label = Object(external_this_wp_i18n_["_x"])('Add block', 'Generic label for block inserter button'); + } + + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { + icon: "insert", + label: label, + tooltipPosition: "bottom", + onClick: onToggle, + className: "block-editor-inserter__toggle", + "aria-haspopup": !hasSingleBlockType ? 'true' : false, + "aria-expanded": !hasSingleBlockType ? isOpen : false, + disabled: disabled + }); +}; + +var inserter_Inserter = +/*#__PURE__*/ +function (_Component) { + Object(inherits["a" /* default */])(Inserter, _Component); + + function Inserter() { + var _this; + + Object(classCallCheck["a" /* default */])(this, Inserter); + + _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(Inserter).apply(this, arguments)); + _this.onToggle = _this.onToggle.bind(Object(assertThisInitialized["a" /* default */])(_this)); + _this.renderToggle = _this.renderToggle.bind(Object(assertThisInitialized["a" /* default */])(_this)); + _this.renderContent = _this.renderContent.bind(Object(assertThisInitialized["a" /* default */])(_this)); + return _this; + } + + Object(createClass["a" /* default */])(Inserter, [{ + key: "onToggle", + value: function onToggle(isOpen) { + var onToggle = this.props.onToggle; // Surface toggle callback to parent component + + if (onToggle) { + onToggle(isOpen); + } + } + /** + * Render callback to display Dropdown toggle element. + * + * @param {Object} options + * @param {Function} options.onToggle Callback to invoke when toggle is + * pressed. + * @param {boolean} options.isOpen Whether dropdown is currently open. + * + * @return {WPElement} Dropdown toggle element. + */ + + }, { + key: "renderToggle", + value: function renderToggle(_ref2) { + var onToggle = _ref2.onToggle, + isOpen = _ref2.isOpen; + var _this$props = this.props, + disabled = _this$props.disabled, + blockTitle = _this$props.blockTitle, + hasSingleBlockType = _this$props.hasSingleBlockType, + _this$props$renderTog = _this$props.renderToggle, + renderToggle = _this$props$renderTog === void 0 ? inserter_defaultRenderToggle : _this$props$renderTog; + return renderToggle({ + onToggle: onToggle, + isOpen: isOpen, + disabled: disabled, + blockTitle: blockTitle, + hasSingleBlockType: hasSingleBlockType + }); + } + /** + * Render callback to display Dropdown content element. + * + * @param {Object} options + * @param {Function} options.onClose Callback to invoke when dropdown is + * closed. + * + * @return {WPElement} Dropdown content element. + */ + + }, { + key: "renderContent", + value: function renderContent(_ref3) { + var onClose = _ref3.onClose; + var _this$props2 = this.props, + rootClientId = _this$props2.rootClientId, + clientId = _this$props2.clientId, + isAppender = _this$props2.isAppender, + showInserterHelpPanel = _this$props2.showInserterHelpPanel, + selectBlockOnInsert = _this$props2.__experimentalSelectBlockOnInsert; + return Object(external_this_wp_element_["createElement"])(menu, { + onSelect: onClose, + rootClientId: rootClientId, + clientId: clientId, + isAppender: isAppender, + showInserterHelpPanel: showInserterHelpPanel, + __experimentalSelectBlockOnInsert: selectBlockOnInsert + }); + } + }, { + key: "render", + value: function render() { + var _this$props3 = this.props, + position = _this$props3.position, + hasSingleBlockType = _this$props3.hasSingleBlockType, + insertOnlyAllowedBlock = _this$props3.insertOnlyAllowedBlock; + + if (hasSingleBlockType) { + return this.renderToggle({ + onToggle: insertOnlyAllowedBlock + }); + } + + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Dropdown"], { + className: "block-editor-inserter", + contentClassName: "block-editor-inserter__popover", + position: position, + onToggle: this.onToggle, + expandOnMobile: true, + headerTitle: Object(external_this_wp_i18n_["__"])('Add a block'), + renderToggle: this.renderToggle, + renderContent: this.renderContent + }); + } + }]); + + return Inserter; +}(external_this_wp_element_["Component"]); + +/* harmony default export */ var inserter = (Object(external_this_wp_compose_["compose"])([Object(external_this_wp_data_["withSelect"])(function (select, _ref4) { + var rootClientId = _ref4.rootClientId; + + var _select = select('core/block-editor'), + hasInserterItems = _select.hasInserterItems, + __experimentalGetAllowedBlocks = _select.__experimentalGetAllowedBlocks; + + var allowedBlocks = __experimentalGetAllowedBlocks(rootClientId); + + var hasSingleBlockType = allowedBlocks && Object(external_this_lodash_["get"])(allowedBlocks, ['length'], 0) === 1; + var allowedBlockType = false; + + if (hasSingleBlockType) { + allowedBlockType = allowedBlocks[0]; + } + + return { + hasItems: hasInserterItems(rootClientId), + hasSingleBlockType: hasSingleBlockType, + blockTitle: allowedBlockType ? allowedBlockType.title : '', + allowedBlockType: allowedBlockType + }; +}), Object(external_this_wp_data_["withDispatch"])(function (dispatch, ownProps, _ref5) { + var select = _ref5.select; + return { + insertOnlyAllowedBlock: function insertOnlyAllowedBlock() { + var rootClientId = ownProps.rootClientId, + clientId = ownProps.clientId, + isAppender = ownProps.isAppender; + var hasSingleBlockType = ownProps.hasSingleBlockType, + allowedBlockType = ownProps.allowedBlockType, + selectBlockOnInsert = ownProps.__experimentalSelectBlockOnInsert; + + if (!hasSingleBlockType) { + return; + } + + function getInsertionIndex() { + var _select2 = select('core/block-editor'), + getBlockIndex = _select2.getBlockIndex, + getBlockSelectionEnd = _select2.getBlockSelectionEnd, + getBlockOrder = _select2.getBlockOrder; // If the clientId is defined, we insert at the position of the block. + + + if (clientId) { + return getBlockIndex(clientId, rootClientId); + } // If there a selected block, we insert after the selected block. + + + var end = getBlockSelectionEnd(); + + if (!isAppender && end) { + return getBlockIndex(end, rootClientId) + 1; + } // Otherwise, we insert at the end of the current rootClientId + + + return getBlockOrder(rootClientId).length; + } + + var _dispatch = dispatch('core/block-editor'), + insertBlock = _dispatch.insertBlock; + + var blockToInsert = Object(external_this_wp_blocks_["createBlock"])(allowedBlockType.name); + insertBlock(blockToInsert, getInsertionIndex(), rootClientId, selectBlockOnInsert); + + if (!selectBlockOnInsert) { + // translators: %s: the name of the block that has been added + var message = Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["__"])('%s block added'), allowedBlockType.title); + Object(external_this_wp_a11y_["speak"])(message); + } + } + }; +}), Object(external_this_wp_compose_["ifCondition"])(function (_ref6) { + var hasItems = _ref6.hasItems; + return hasItems; +})])(inserter_Inserter)); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/button-block-appender/index.js + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + + +/** + * Internal dependencies + */ + + + + +function button_block_appender_ButtonBlockAppender(_ref) { + var rootClientId = _ref.rootClientId, + className = _ref.className, + selectBlockOnInsert = _ref.__experimentalSelectBlockOnInsert; + return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(block_drop_zone, { + rootClientId: rootClientId + }), Object(external_this_wp_element_["createElement"])(inserter, { + rootClientId: rootClientId, + __experimentalSelectBlockOnInsert: selectBlockOnInsert, + renderToggle: function renderToggle(_ref2) { + var onToggle = _ref2.onToggle, + disabled = _ref2.disabled, + isOpen = _ref2.isOpen, + blockTitle = _ref2.blockTitle, + hasSingleBlockType = _ref2.hasSingleBlockType; + var label; + + if (hasSingleBlockType) { + // translators: %s: the name of the block when there is only one + label = Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["_x"])('Add %s', 'directly add the only allowed block'), blockTitle); + } else { + label = Object(external_this_wp_i18n_["_x"])('Add block', 'Generic label for block inserter button'); + } + + var isToggleButton = !hasSingleBlockType; + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Tooltip"], { + text: label + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { + className: classnames_default()(className, 'block-editor-button-block-appender'), + onClick: onToggle, + "aria-haspopup": isToggleButton ? 'true' : undefined, + "aria-expanded": isToggleButton ? isOpen : undefined, + disabled: disabled, + label: label + }, Object(external_this_wp_element_["createElement"])("span", { + className: "screen-reader-text" + }, label), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Icon"], { + icon: "insert" + }))); + }, + isAppender: true + })); +} +/** + * @see https://github.com/WordPress/gutenberg/blob/master/packages/block-editor/src/components/button-block-appender/README.md + */ + + +/* harmony default export */ var button_block_appender = (button_block_appender_ButtonBlockAppender); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-navigation/list.js + + +/** + * External dependencies + */ + + +/** + * WordPress dependencies + */ + + + + + +/** + * Internal dependencies + */ + + + +/** + * Get the block display name, if it has one, or the block title if it doesn't. + * + * @param {Object} blockType The block type. + * @param {Object} attributes The values of the block's attributes + * + * @return {string} The display name value. + */ + +function getBlockDisplayName(blockType, attributes) { + var displayNameAttribute = blockType.__experimentalDisplayName; + + if (!displayNameAttribute || !attributes[displayNameAttribute]) { + return blockType.title; + } // Strip any formatting. + + + var richTextValue = Object(external_this_wp_richText_["create"])({ + html: attributes[displayNameAttribute] + }); + var formatlessDisplayName = Object(external_this_wp_richText_["getTextContent"])(richTextValue); + return formatlessDisplayName; +} + +function BlockNavigationList(_ref) { + var blocks = _ref.blocks, + selectedBlockClientId = _ref.selectedBlockClientId, + selectBlock = _ref.selectBlock, + showAppender = _ref.showAppender, + showNestedBlocks = _ref.showNestedBlocks, + parentBlockClientId = _ref.parentBlockClientId; + var shouldShowAppender = showAppender && !!parentBlockClientId; + return ( + /* + * Disable reason: The `list` ARIA role is redundant but + * Safari+VoiceOver won't announce the list otherwise. + */ + + /* eslint-disable jsx-a11y/no-redundant-roles */ + Object(external_this_wp_element_["createElement"])("ul", { + className: "block-editor-block-navigation__list", + role: "list" + }, Object(external_this_lodash_["map"])(Object(external_this_lodash_["omitBy"])(blocks, external_this_lodash_["isNil"]), function (block) { + var blockType = Object(external_this_wp_blocks_["getBlockType"])(block.name); + var isSelected = block.clientId === selectedBlockClientId; + return Object(external_this_wp_element_["createElement"])("li", { + key: block.clientId + }, Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-block-navigation__item" + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { + className: classnames_default()('block-editor-block-navigation__item-button', { + 'is-selected': isSelected + }), + onClick: function onClick() { + return selectBlock(block.clientId); + } + }, Object(external_this_wp_element_["createElement"])(BlockIcon, { + icon: blockType.icon, + showColors: true + }), getBlockDisplayName(blockType, block.attributes), isSelected && Object(external_this_wp_element_["createElement"])("span", { + className: "screen-reader-text" + }, Object(external_this_wp_i18n_["__"])('(selected block)')))), showNestedBlocks && !!block.innerBlocks && !!block.innerBlocks.length && Object(external_this_wp_element_["createElement"])(BlockNavigationList, { + blocks: block.innerBlocks, + selectedBlockClientId: selectedBlockClientId, + selectBlock: selectBlock, + parentBlockClientId: block.clientId, + showAppender: showAppender, + showNestedBlocks: true + })); + }), shouldShowAppender && Object(external_this_wp_element_["createElement"])("li", null, Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-block-navigation__item" + }, Object(external_this_wp_element_["createElement"])(button_block_appender, { + rootClientId: parentBlockClientId, + __experimentalSelectBlockOnInsert: false + })))) + /* eslint-enable jsx-a11y/no-redundant-roles */ + + ); +} + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-navigation/index.js + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + + + + +/** + * Internal dependencies + */ + + + +function BlockNavigation(_ref) { + var rootBlock = _ref.rootBlock, + rootBlocks = _ref.rootBlocks, + selectedBlockClientId = _ref.selectedBlockClientId, + selectBlock = _ref.selectBlock; + + if (!rootBlocks || rootBlocks.length === 0) { + return null; + } + + var hasHierarchy = rootBlock && (rootBlock.clientId !== selectedBlockClientId || rootBlock.innerBlocks && rootBlock.innerBlocks.length !== 0); + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["NavigableMenu"], { + role: "presentation", + className: "block-editor-block-navigation__container" + }, Object(external_this_wp_element_["createElement"])("p", { + className: "block-editor-block-navigation__label" + }, Object(external_this_wp_i18n_["__"])('Block navigation')), hasHierarchy && Object(external_this_wp_element_["createElement"])(BlockNavigationList, { + blocks: [rootBlock], + selectedBlockClientId: selectedBlockClientId, + selectBlock: selectBlock, + showNestedBlocks: true + }), !hasHierarchy && Object(external_this_wp_element_["createElement"])(BlockNavigationList, { + blocks: rootBlocks, + selectedBlockClientId: selectedBlockClientId, + selectBlock: selectBlock + })); +} + +/* harmony default export */ var block_navigation = (Object(external_this_wp_compose_["compose"])(Object(external_this_wp_data_["withSelect"])(function (select) { + var _select = select('core/block-editor'), + getSelectedBlockClientId = _select.getSelectedBlockClientId, + getBlockHierarchyRootClientId = _select.getBlockHierarchyRootClientId, + getBlock = _select.getBlock, + getBlocks = _select.getBlocks; + + var selectedBlockClientId = getSelectedBlockClientId(); + return { + rootBlocks: getBlocks(), + rootBlock: selectedBlockClientId ? getBlock(getBlockHierarchyRootClientId(selectedBlockClientId)) : null, + selectedBlockClientId: selectedBlockClientId + }; +}), Object(external_this_wp_data_["withDispatch"])(function (dispatch, _ref2) { + var _ref2$onSelect = _ref2.onSelect, + onSelect = _ref2$onSelect === void 0 ? external_this_lodash_["noop"] : _ref2$onSelect; + return { + selectBlock: function selectBlock(clientId) { + dispatch('core/block-editor').selectBlock(clientId); + onSelect(clientId); + } + }; +}))(BlockNavigation)); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-navigation/dropdown.js + + + +/** + * WordPress dependencies + */ + + + + + +/** + * Internal dependencies + */ + + +var MenuIcon = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { + xmlns: "http://www.w3.org/2000/svg", + viewBox: "0 0 24 24", + width: "20", + height: "20" +}, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { + d: "M5 5H3v2h2V5zm3 8h11v-2H8v2zm9-8H6v2h11V5zM7 11H5v2h2v-2zm0 8h2v-2H7v2zm3-2v2h11v-2H10z" +})); + +function BlockNavigationDropdownToggle(_ref) { + var isEnabled = _ref.isEnabled, + onToggle = _ref.onToggle, + isOpen = _ref.isOpen; + Object(external_this_wp_keyboardShortcuts_["useShortcut"])('core/edit-post/toggle-block-navigation', Object(external_this_wp_element_["useCallback"])(onToggle, [onToggle]), { + bindGlobal: true, + isDisabled: !isEnabled + }); + var shortcut = Object(external_this_wp_data_["useSelect"])(function (select) { + return select('core/keyboard-shortcuts').getShortcutRepresentation('core/edit-post/toggle-block-navigation'); + }, []); + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { + icon: MenuIcon, + "aria-expanded": isOpen, + onClick: isEnabled ? onToggle : undefined, + label: Object(external_this_wp_i18n_["__"])('Block navigation'), + className: "block-editor-block-navigation", + shortcut: shortcut, + "aria-disabled": !isEnabled + }); +} + +function BlockNavigationDropdown(_ref2) { + var isDisabled = _ref2.isDisabled; + var hasBlocks = Object(external_this_wp_data_["useSelect"])(function (select) { + return !!select('core/block-editor').getBlockCount(); + }, []); + var isEnabled = hasBlocks && !isDisabled; + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Dropdown"], { + contentClassName: "block-editor-block-navigation__popover", + renderToggle: function renderToggle(toggleProps) { + return Object(external_this_wp_element_["createElement"])(BlockNavigationDropdownToggle, Object(esm_extends["a" /* default */])({}, toggleProps, { + isEnabled: isEnabled + })); + }, + renderContent: function renderContent(_ref3) { + var onClose = _ref3.onClose; + return Object(external_this_wp_element_["createElement"])(block_navigation, { + onSelect: onClose + }); + } + }); +} + +/* harmony default export */ var dropdown = (BlockNavigationDropdown); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-pattern-picker/index.js + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + + + +function BlockPatternPicker(_ref) { + var _ref$icon = _ref.icon, + icon = _ref$icon === void 0 ? 'layout' : _ref$icon, + _ref$label = _ref.label, + label = _ref$label === void 0 ? Object(external_this_wp_i18n_["__"])('Choose pattern') : _ref$label, + _ref$instructions = _ref.instructions, + instructions = _ref$instructions === void 0 ? Object(external_this_wp_i18n_["__"])('Select a pattern to start with.') : _ref$instructions, + patterns = _ref.patterns, + onSelect = _ref.onSelect, + allowSkip = _ref.allowSkip; + var classes = classnames_default()('block-editor-block-pattern-picker', { + 'has-many-patterns': patterns.length > 4 + }); + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Placeholder"], { + icon: icon, + label: label, + instructions: instructions, + className: classes + }, Object(external_this_wp_element_["createElement"])("ul", { + className: "block-editor-block-pattern-picker__patterns", + role: "list" + }, patterns.map(function (pattern) { + return Object(external_this_wp_element_["createElement"])("li", { + key: pattern.name + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { + isSecondary: true, + icon: pattern.icon, + iconSize: 48, + onClick: function onClick() { + return onSelect(pattern); + }, + className: "block-editor-block-pattern-picker__pattern", + label: pattern.label + })); + })), allowSkip && Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-block-pattern-picker__skip" + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { + isLink: true, + onClick: function onClick() { + return onSelect(); + } + }, Object(external_this_wp_i18n_["__"])('Skip')))); +} + +/* harmony default export */ var block_pattern_picker = (BlockPatternPicker); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-vertical-alignment-toolbar/icons.js + + +/** + * WordPress dependencies + */ + +var alignBottom = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { + xmlns: "http://www.w3.org/2000/svg", + width: "20", + height: "20", + viewBox: "0 0 24 24" +}, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { + fill: "none", + d: "M0 0h24v24H0V0z" +}), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { + d: "M16 13h-3V3h-2v10H8l4 4 4-4zM4 19v2h16v-2H4z" +})); +var alignCenter = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { + xmlns: "http://www.w3.org/2000/svg", + width: "20", + height: "20", + viewBox: "0 0 24 24" +}, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { + fill: "none", + d: "M0 0h24v24H0V0z" +}), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { + d: "M8 19h3v4h2v-4h3l-4-4-4 4zm8-14h-3V1h-2v4H8l4 4 4-4zM4 11v2h16v-2H4z" +})); +var alignTop = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { + xmlns: "http://www.w3.org/2000/svg", + width: "20", + height: "20", + viewBox: "0 0 24 24" +}, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { + fill: "none", + d: "M0 0h24v24H0V0z" +}), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { + d: "M8 11h3v10h2V11h3l-4-4-4 4zM4 3v2h16V3H4z" +})); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-vertical-alignment-toolbar/index.js + + + +/** + * WordPress dependencies + */ + + +/** + * Internal dependencies + */ + + +var block_vertical_alignment_toolbar_BLOCK_ALIGNMENTS_CONTROLS = { + top: { + icon: alignTop, + title: Object(external_this_wp_i18n_["_x"])('Vertically Align Top', 'Block vertical alignment setting') + }, + center: { + icon: alignCenter, + title: Object(external_this_wp_i18n_["_x"])('Vertically Align Middle', 'Block vertical alignment setting') + }, + bottom: { + icon: alignBottom, + title: Object(external_this_wp_i18n_["_x"])('Vertically Align Bottom', 'Block vertical alignment setting') + } +}; +var block_vertical_alignment_toolbar_DEFAULT_CONTROLS = ['top', 'center', 'bottom']; +var block_vertical_alignment_toolbar_DEFAULT_CONTROL = 'top'; +function BlockVerticalAlignmentToolbar(_ref) { + var value = _ref.value, + onChange = _ref.onChange, + _ref$controls = _ref.controls, + controls = _ref$controls === void 0 ? block_vertical_alignment_toolbar_DEFAULT_CONTROLS : _ref$controls, + _ref$isCollapsed = _ref.isCollapsed, + isCollapsed = _ref$isCollapsed === void 0 ? true : _ref$isCollapsed; + + function applyOrUnset(align) { + return function () { + return onChange(value === align ? undefined : align); + }; + } + + var activeAlignment = block_vertical_alignment_toolbar_BLOCK_ALIGNMENTS_CONTROLS[value]; + var defaultAlignmentControl = block_vertical_alignment_toolbar_BLOCK_ALIGNMENTS_CONTROLS[block_vertical_alignment_toolbar_DEFAULT_CONTROL]; + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Toolbar"], { + isCollapsed: isCollapsed, + icon: activeAlignment ? activeAlignment.icon : defaultAlignmentControl.icon, + label: Object(external_this_wp_i18n_["_x"])('Change vertical alignment', 'Block vertical alignment setting label'), + controls: controls.map(function (control) { + return Object(objectSpread["a" /* default */])({}, block_vertical_alignment_toolbar_BLOCK_ALIGNMENTS_CONTROLS[control], { + isActive: value === control, + role: isCollapsed ? 'menuitemradio' : undefined, + onClick: applyOrUnset(control) + }); + }) + }); +} +/** + * @see https://github.com/WordPress/gutenberg/blob/master/packages/block-editor/src/components/block-vertical-alignment-toolbar/README.md + */ + +/* harmony default export */ var block_vertical_alignment_toolbar = (BlockVerticalAlignmentToolbar); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/color-palette/with-color-context.js +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + + +/* harmony default export */ var with_color_context = (Object(external_this_wp_compose_["createHigherOrderComponent"])(Object(external_this_wp_data_["withSelect"])(function (select, ownProps) { + var settings = select('core/block-editor').getSettings(); + var colors = ownProps.colors === undefined ? settings.colors : ownProps.colors; + var disableCustomColors = ownProps.disableCustomColors === undefined ? settings.disableCustomColors : ownProps.disableCustomColors; + return { + colors: colors, + disableCustomColors: disableCustomColors, + hasColorsToChoose: !Object(external_this_lodash_["isEmpty"])(colors) || !disableCustomColors + }; +}), 'withColorContext')); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/color-palette/index.js +/** + * WordPress dependencies + */ + +/** + * Internal dependencies + */ + + +/* harmony default export */ var color_palette = (with_color_context(external_this_wp_components_["ColorPalette"])); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/color-palette/control.js + + + + +/** + * Internal dependencies + */ + +function ColorPaletteControl(_ref) { + var onChange = _ref.onChange, + value = _ref.value, + otherProps = Object(objectWithoutProperties["a" /* default */])(_ref, ["onChange", "value"]); + + return Object(external_this_wp_element_["createElement"])(colors_gradients_control, Object(esm_extends["a" /* default */])({}, otherProps, { + onColorChange: onChange, + colorValue: value, + gradients: [], + disableCustomGradients: true + })); +} + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/gradient-picker/index.js + + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + + + +function GradientPickerWithGradients(props) { + var _useSelect = Object(external_this_wp_data_["useSelect"])(function (select) { + return Object(external_this_lodash_["pick"])(select('core/block-editor').getSettings(), ['gradients', 'disableCustomGradients']); + }, []), + gradients = _useSelect.gradients, + disableCustomGradients = _useSelect.disableCustomGradients; + + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["__experimentalGradientPicker"], Object(esm_extends["a" /* default */])({ + gradients: props.gradients !== undefined ? props.gradient : gradients, + disableCustomGradients: props.disableCustomGradients !== undefined ? props.disableCustomGradients : disableCustomGradients + }, props)); +} + +/* harmony default export */ var gradient_picker = (function (props) { + var ComponentToUse = props.gradients !== undefined && props.disableCustomGradients !== undefined ? external_this_wp_components_["__experimentalGradientPicker"] : GradientPickerWithGradients; + return Object(external_this_wp_element_["createElement"])(ComponentToUse, props); +}); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/gradient-picker/control.js + + + + +/** + * External dependencies + */ + + +/** + * WordPress dependencies + */ + + + + +/** + * Internal dependencies + */ + + +/* harmony default export */ var gradient_picker_control = (function (_ref) { + var className = _ref.className, + value = _ref.value, + onChange = _ref.onChange, + _ref$label = _ref.label, + label = _ref$label === void 0 ? Object(external_this_wp_i18n_["__"])('Gradient Presets') : _ref$label, + props = Object(objectWithoutProperties["a" /* default */])(_ref, ["className", "value", "onChange", "label"]); + + var _useSelect = Object(external_this_wp_data_["useSelect"])(function (select) { + return Object(external_this_lodash_["pick"])(select('core/block-editor').getSettings(), ['gradients', 'disableCustomGradients']); + }, []), + _useSelect$gradients = _useSelect.gradients, + gradients = _useSelect$gradients === void 0 ? [] : _useSelect$gradients, + disableCustomGradients = _useSelect.disableCustomGradients; + + if (Object(external_this_lodash_["isEmpty"])(gradients) && disableCustomGradients) { + return null; + } + + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["BaseControl"], { + className: classnames_default()('block-editor-gradient-picker-control', className) + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["BaseControl"].VisualLabel, null, label), Object(external_this_wp_element_["createElement"])(gradient_picker, Object(esm_extends["a" /* default */])({ + value: value, + onChange: onChange, + className: "block-editor-gradient-picker-control__gradient-picker-presets", + gradients: gradients, + disableCustomGradients: disableCustomGradients + }, props))); +}); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/gradient-picker/panel.js + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + + + +/** + * Internal dependencies + */ + + +function GradientPanel(props) { + var gradients = Object(external_this_wp_data_["useSelect"])(function (select) { + return select('core/block-editor').getSettings().gradients; + }, []); + + if (Object(external_this_lodash_["isEmpty"])(gradients)) { + return null; + } + + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], { + title: Object(external_this_wp_i18n_["__"])('Gradient') + }, Object(external_this_wp_element_["createElement"])(gradient_picker_control, props)); +} + +// EXTERNAL MODULE: external {"this":["wp","isShallowEqual"]} +var external_this_wp_isShallowEqual_ = __webpack_require__(46); +var external_this_wp_isShallowEqual_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_isShallowEqual_); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inner-blocks/with-client-id.js +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + +/** + * Internal dependencies + */ + + +var withClientId = Object(external_this_wp_compose_["createHigherOrderComponent"])(function (WrappedComponent) { + return context_withBlockEditContext(function (context) { + return Object(external_this_lodash_["pick"])(context, ['clientId']); + })(WrappedComponent); +}, 'withClientId'); +/* harmony default export */ var with_client_id = (withClientId); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inner-blocks/button-block-appender.js + + +/** + * Internal dependencies + */ + + +var inner_blocks_button_block_appender_ButtonBlockAppender = function ButtonBlockAppender(_ref) { + var clientId = _ref.clientId, + showSeparator = _ref.showSeparator; + return Object(external_this_wp_element_["createElement"])(button_block_appender, { + rootClientId: clientId, + showSeparator: showSeparator + }); +}; +/* harmony default export */ var inner_blocks_button_block_appender = (with_client_id(inner_blocks_button_block_appender_ButtonBlockAppender)); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inner-blocks/default-block-appender.js + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + + +/** + * Internal dependencies + */ + + + +var inner_blocks_default_block_appender_DefaultBlockAppender = function DefaultBlockAppender(_ref) { + var clientId = _ref.clientId, + lastBlockClientId = _ref.lastBlockClientId; + return Object(external_this_wp_element_["createElement"])(default_block_appender, { + rootClientId: clientId, + lastBlockClientId: lastBlockClientId + }); +}; +/* harmony default export */ var inner_blocks_default_block_appender = (Object(external_this_wp_compose_["compose"])([with_client_id, Object(external_this_wp_data_["withSelect"])(function (select, _ref2) { + var clientId = _ref2.clientId; + + var _select = select('core/block-editor'), + getBlockOrder = _select.getBlockOrder; + + var blockClientIds = getBlockOrder(clientId); + return { + lastBlockClientId: Object(external_this_lodash_["last"])(blockClientIds) + }; +})])(inner_blocks_default_block_appender_DefaultBlockAppender)); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inner-blocks/index.js + + + + + + + + + +/** + * External dependencies + */ + + +/** + * WordPress dependencies + */ + + + + + + + +/** + * Internal dependencies + */ + + + +/** + * Internal dependencies + */ + + + + +var inner_blocks_InnerBlocks = +/*#__PURE__*/ +function (_Component) { + Object(inherits["a" /* default */])(InnerBlocks, _Component); + + function InnerBlocks() { + var _this; + + Object(classCallCheck["a" /* default */])(this, InnerBlocks); + + _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(InnerBlocks).apply(this, arguments)); + _this.state = { + templateInProcess: !!_this.props.template + }; + + _this.updateNestedSettings(); + + return _this; + } + + Object(createClass["a" /* default */])(InnerBlocks, [{ + key: "componentDidMount", + value: function componentDidMount() { + var _this$props = this.props, + templateLock = _this$props.templateLock, + block = _this$props.block; + var innerBlocks = block.innerBlocks; // Only synchronize innerBlocks with template if innerBlocks are empty or a locking all exists directly on the block. + + if (innerBlocks.length === 0 || templateLock === 'all') { + this.synchronizeBlocksWithTemplate(); + } + + if (this.state.templateInProcess) { + this.setState({ + templateInProcess: false + }); + } + } + }, { + key: "componentDidUpdate", + value: function componentDidUpdate(prevProps) { + var _this$props2 = this.props, + template = _this$props2.template, + block = _this$props2.block, + templateLock = _this$props2.templateLock; + var innerBlocks = block.innerBlocks; + this.updateNestedSettings(); // Only synchronize innerBlocks with template if innerBlocks are empty or a locking all exists directly on the block. + + if (innerBlocks.length === 0 || templateLock === 'all') { + var hasTemplateChanged = !Object(external_this_lodash_["isEqual"])(template, prevProps.template); + + if (hasTemplateChanged) { + this.synchronizeBlocksWithTemplate(); + } + } + } + /** + * Called on mount or when a mismatch exists between the templates and + * inner blocks, synchronizes inner blocks with the template, replacing + * current blocks. + */ + + }, { + key: "synchronizeBlocksWithTemplate", + value: function synchronizeBlocksWithTemplate() { + var _this$props3 = this.props, + template = _this$props3.template, + block = _this$props3.block, + replaceInnerBlocks = _this$props3.replaceInnerBlocks; + var innerBlocks = block.innerBlocks; // Synchronize with templates. If the next set differs, replace. + + var nextBlocks = Object(external_this_wp_blocks_["synchronizeBlocksWithTemplate"])(innerBlocks, template); + + if (!Object(external_this_lodash_["isEqual"])(nextBlocks, innerBlocks)) { + replaceInnerBlocks(nextBlocks); + } + } + }, { + key: "updateNestedSettings", + value: function updateNestedSettings() { + var _this$props4 = this.props, + blockListSettings = _this$props4.blockListSettings, + allowedBlocks = _this$props4.allowedBlocks, + updateNestedSettings = _this$props4.updateNestedSettings, + templateLock = _this$props4.templateLock, + parentLock = _this$props4.parentLock, + __experimentalCaptureToolbars = _this$props4.__experimentalCaptureToolbars; + var newSettings = { + allowedBlocks: allowedBlocks, + templateLock: templateLock === undefined ? parentLock : templateLock, + __experimentalCaptureToolbars: __experimentalCaptureToolbars || false + }; + + if (!external_this_wp_isShallowEqual_default()(blockListSettings, newSettings)) { + updateNestedSettings(newSettings); + } + } + }, { + key: "render", + value: function render() { + var _this$props5 = this.props, + enableClickThrough = _this$props5.enableClickThrough, + clientId = _this$props5.clientId, + hasOverlay = _this$props5.hasOverlay, + captureToolbars = _this$props5.__experimentalCaptureToolbars, + props = Object(objectWithoutProperties["a" /* default */])(_this$props5, ["enableClickThrough", "clientId", "hasOverlay", "__experimentalCaptureToolbars"]); + + var templateInProcess = this.state.templateInProcess; + var classes = classnames_default()('block-editor-inner-blocks', { + 'has-overlay': enableClickThrough && hasOverlay, + 'is-capturing-toolbar': captureToolbars + }); + return Object(external_this_wp_element_["createElement"])("div", { + className: classes + }, !templateInProcess && Object(external_this_wp_element_["createElement"])(block_list, Object(esm_extends["a" /* default */])({ + rootClientId: clientId + }, props))); + } + }]); + + return InnerBlocks; +}(external_this_wp_element_["Component"]); + +inner_blocks_InnerBlocks = Object(external_this_wp_compose_["compose"])([Object(external_this_wp_viewport_["withViewportMatch"])({ + isSmallScreen: '< medium' +}), context_withBlockEditContext(function (context) { + return Object(external_this_lodash_["pick"])(context, ['clientId']); +}), Object(external_this_wp_data_["withSelect"])(function (select, ownProps) { + var _select = select('core/block-editor'), + isBlockSelected = _select.isBlockSelected, + hasSelectedInnerBlock = _select.hasSelectedInnerBlock, + getBlock = _select.getBlock, + getBlockListSettings = _select.getBlockListSettings, + getBlockRootClientId = _select.getBlockRootClientId, + getTemplateLock = _select.getTemplateLock, + isNavigationMode = _select.isNavigationMode; + + var clientId = ownProps.clientId, + isSmallScreen = ownProps.isSmallScreen; + var block = getBlock(clientId); + var rootClientId = getBlockRootClientId(clientId); + return { + block: block, + blockListSettings: getBlockListSettings(clientId), + hasOverlay: block.name !== 'core/template' && !isBlockSelected(clientId) && !hasSelectedInnerBlock(clientId, true), + parentLock: getTemplateLock(rootClientId), + enableClickThrough: isNavigationMode() || isSmallScreen + }; +}), Object(external_this_wp_data_["withDispatch"])(function (dispatch, ownProps) { + var _dispatch = dispatch('core/block-editor'), + _replaceInnerBlocks = _dispatch.replaceInnerBlocks, + updateBlockListSettings = _dispatch.updateBlockListSettings; + + var block = ownProps.block, + clientId = ownProps.clientId, + _ownProps$templateIns = ownProps.templateInsertUpdatesSelection, + templateInsertUpdatesSelection = _ownProps$templateIns === void 0 ? true : _ownProps$templateIns; + return { + replaceInnerBlocks: function replaceInnerBlocks(blocks) { + _replaceInnerBlocks(clientId, blocks, block.innerBlocks.length === 0 && templateInsertUpdatesSelection); + }, + updateNestedSettings: function updateNestedSettings(settings) { + dispatch(updateBlockListSettings(clientId, settings)); + } + }; +})])(inner_blocks_InnerBlocks); // Expose default appender placeholders as components. + +inner_blocks_InnerBlocks.DefaultBlockAppender = inner_blocks_default_block_appender; +inner_blocks_InnerBlocks.ButtonBlockAppender = inner_blocks_button_block_appender; +inner_blocks_InnerBlocks.Content = Object(external_this_wp_blocks_["withBlockContentContext"])(function (_ref) { + var BlockContent = _ref.BlockContent; + return Object(external_this_wp_element_["createElement"])(BlockContent, null); +}); +/** + * @see https://github.com/WordPress/gutenberg/blob/master/packages/block-editor/src/components/inner-blocks/README.md + */ + +/* harmony default export */ var inner_blocks = (inner_blocks_InnerBlocks); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inspector-advanced-controls/index.js +/** + * WordPress dependencies + */ + +/** + * Internal dependencies + */ + + +var inspector_advanced_controls_name = 'InspectorAdvancedControls'; + +var inspector_advanced_controls_createSlotFill = Object(external_this_wp_components_["createSlotFill"])(inspector_advanced_controls_name), + inspector_advanced_controls_Fill = inspector_advanced_controls_createSlotFill.Fill, + inspector_advanced_controls_Slot = inspector_advanced_controls_createSlotFill.Slot; + +var InspectorAdvancedControls = ifBlockEditSelected(inspector_advanced_controls_Fill); +InspectorAdvancedControls.slotName = inspector_advanced_controls_name; +InspectorAdvancedControls.Slot = inspector_advanced_controls_Slot; +/* harmony default export */ var inspector_advanced_controls = (InspectorAdvancedControls); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js +var asyncToGenerator = __webpack_require__(44); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/link-control/settings-drawer.js + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + + +var defaultSettings = [{ + id: 'newTab', + title: Object(external_this_wp_i18n_["__"])('Open in New Tab'), + checked: false +}]; + +var settings_drawer_LinkControlSettingsDrawer = function LinkControlSettingsDrawer(_ref) { + var _ref$settings = _ref.settings, + settings = _ref$settings === void 0 ? defaultSettings : _ref$settings, + _ref$onSettingChange = _ref.onSettingChange, + onSettingChange = _ref$onSettingChange === void 0 ? external_this_lodash_["noop"] : _ref$onSettingChange; + + if (!settings || !settings.length) { + return null; + } + + var handleSettingChange = function handleSettingChange(setting) { + return function (value) { + onSettingChange(setting.id, value, settings); + }; + }; + + var theSettings = settings.map(function (setting) { + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], { + className: "block-editor-link-control__setting", + key: setting.id, + label: setting.title, + onChange: handleSettingChange(setting), + checked: setting.checked + }); + }); + return Object(external_this_wp_element_["createElement"])("fieldset", { + className: "block-editor-link-control__settings" + }, Object(external_this_wp_element_["createElement"])("legend", { + className: "screen-reader-text" + }, Object(external_this_wp_i18n_["__"])('Currently selected link settings')), theSettings); +}; + +/* harmony default export */ var settings_drawer = (settings_drawer_LinkControlSettingsDrawer); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/link-control/search-item.js + + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + + + +var search_item_LinkControlSearchItem = function LinkControlSearchItem(_ref) { + var itemProps = _ref.itemProps, + suggestion = _ref.suggestion, + _ref$isSelected = _ref.isSelected, + isSelected = _ref$isSelected === void 0 ? false : _ref$isSelected, + onClick = _ref.onClick, + _ref$isURL = _ref.isURL, + isURL = _ref$isURL === void 0 ? false : _ref$isURL, + _ref$searchTerm = _ref.searchTerm, + searchTerm = _ref$searchTerm === void 0 ? '' : _ref$searchTerm; + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], Object(esm_extends["a" /* default */])({ + type: "submit" + }, itemProps, { + onClick: onClick, + className: classnames_default()('block-editor-link-control__search-item', { + 'is-selected': isSelected, + 'is-url': isURL, + 'is-entity': !isURL + }) + }), isURL && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Icon"], { + className: "block-editor-link-control__search-item-icon", + icon: "admin-site-alt3" + }), Object(external_this_wp_element_["createElement"])("span", { + className: "block-editor-link-control__search-item-header" + }, Object(external_this_wp_element_["createElement"])("span", { + className: "block-editor-link-control__search-item-title" + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TextHighlight"], { + text: suggestion.title, + highlight: searchTerm + })), Object(external_this_wp_element_["createElement"])("span", { + "aria-hidden": !isURL, + className: "block-editor-link-control__search-item-info" + }, !isURL && (Object(external_this_wp_url_["safeDecodeURI"])(suggestion.url) || ''), isURL && Object(external_this_wp_i18n_["__"])('Press ENTER to add this link'))), suggestion.type && Object(external_this_wp_element_["createElement"])("span", { + className: "block-editor-link-control__search-item-type" + }, suggestion.type)); +}; +/* harmony default export */ var search_item = (search_item_LinkControlSearchItem); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/link-control/search-input.js + + +/** + * WordPress dependencies + */ + + + +/** + * Internal dependencies + */ + + + +var search_input_LinkControlSearchInput = function LinkControlSearchInput(_ref) { + var value = _ref.value, + onChange = _ref.onChange, + onSelect = _ref.onSelect, + renderSuggestions = _ref.renderSuggestions, + fetchSuggestions = _ref.fetchSuggestions, + onReset = _ref.onReset, + _onKeyDown = _ref.onKeyDown, + onKeyPress = _ref.onKeyPress; + + var selectItemHandler = function selectItemHandler(selection, suggestion) { + onChange(selection); + + if (suggestion) { + onSelect(suggestion); + } + }; + + var stopFormEventsPropagation = function stopFormEventsPropagation(event) { + event.preventDefault(); + event.stopPropagation(); + }; + + return Object(external_this_wp_element_["createElement"])("form", { + onSubmit: stopFormEventsPropagation + }, Object(external_this_wp_element_["createElement"])(url_input, { + className: "block-editor-link-control__search-input", + value: value, + onChange: selectItemHandler, + onKeyDown: function onKeyDown(event) { + if (event.keyCode === external_this_wp_keycodes_["ENTER"]) { + return; + } + + _onKeyDown(event); + }, + onKeyPress: onKeyPress, + placeholder: Object(external_this_wp_i18n_["__"])('Search or type url'), + __experimentalRenderSuggestions: renderSuggestions, + __experimentalFetchLinkSuggestions: fetchSuggestions, + __experimentalHandleURLSuggestions: true + }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { + disabled: !value.length, + type: "reset", + label: Object(external_this_wp_i18n_["__"])('Reset'), + icon: "no-alt", + className: "block-editor-link-control__search-reset", + onClick: onReset + })); +}; + +/* harmony default export */ var search_input = (search_input_LinkControlSearchInput); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/link-control/index.js + + + + + + +/** + * External dependencies + */ + + +/** + * WordPress dependencies + */ + + + + + + + +/** + * Internal dependencies + */ + + + + +var MODE_EDIT = 'edit'; // const MODE_SHOW = 'show'; + +function LinkControl(_ref) { + var className = _ref.className, + currentLink = _ref.currentLink, + currentSettings = _ref.currentSettings, + fetchSearchSuggestions = _ref.fetchSearchSuggestions, + instanceId = _ref.instanceId, + _ref$onClose = _ref.onClose, + onClose = _ref$onClose === void 0 ? external_this_lodash_["noop"] : _ref$onClose, + _ref$onChangeMode = _ref.onChangeMode, + onChangeMode = _ref$onChangeMode === void 0 ? external_this_lodash_["noop"] : _ref$onChangeMode, + _ref$onKeyDown = _ref.onKeyDown, + onKeyDown = _ref$onKeyDown === void 0 ? external_this_lodash_["noop"] : _ref$onKeyDown, + _ref$onKeyPress = _ref.onKeyPress, + onKeyPress = _ref$onKeyPress === void 0 ? external_this_lodash_["noop"] : _ref$onKeyPress, + _ref$onLinkChange = _ref.onLinkChange, + onLinkChange = _ref$onLinkChange === void 0 ? external_this_lodash_["noop"] : _ref$onLinkChange, + _ref$onSettingsChange = _ref.onSettingsChange, + onSettingsChange = _ref$onSettingsChange === void 0 ? external_this_lodash_["noop"] : _ref$onSettingsChange; + + // State + var _useState = Object(external_this_wp_element_["useState"])(''), + _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2), + inputValue = _useState2[0], + setInputValue = _useState2[1]; + + var _useState3 = Object(external_this_wp_element_["useState"])(false), + _useState4 = Object(slicedToArray["a" /* default */])(_useState3, 2), + isEditingLink = _useState4[0], + setIsEditingLink = _useState4[1]; // Effects + + + Object(external_this_wp_element_["useEffect"])(function () { + // If we have a link then stop editing mode + if (currentLink) { + setIsEditingLink(false); + } else { + setIsEditingLink(true); + } + }, [currentLink]); // Handlers + + /** + * onChange LinkControlSearchInput event handler + * + * @param {string} value Current value returned by the search. + */ + + var onInputChange = function onInputChange() { + var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ''; + setInputValue(value); + }; // Utils + + /** + * Handler function which switches the mode of the component, + * between `edit` and `show` mode. + * Also, it calls `onChangeMode` callback function. + * + * @param {string} mode Component mode: `show` or `edit`. + */ + + + var setMode = function setMode() { + var mode = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'show'; + return function () { + setIsEditingLink(MODE_EDIT === mode); // Populate input searcher whether + // the current link has a title. + + if (currentLink && currentLink.title) { + setInputValue(currentLink.title); + } + + if (Object(external_this_lodash_["isFunction"])(onChangeMode)) { + onChangeMode(mode); + } + }; + }; + + var closeLinkUI = function closeLinkUI() { + resetInput(); + onClose(); + }; + + var resetInput = function resetInput() { + setInputValue(''); + }; + + var handleDirectEntry = function handleDirectEntry(value) { + var type = 'URL'; + var protocol = Object(external_this_wp_url_["getProtocol"])(value) || ''; + + if (protocol.includes('mailto')) { + type = 'mailto'; + } + + if (protocol.includes('tel')) { + type = 'tel'; + } + + if (Object(external_this_lodash_["startsWith"])(value, '#')) { + type = 'internal'; + } + + return Promise.resolve([{ + id: '-1', + title: value, + url: type === 'URL' ? Object(external_this_wp_url_["prependHTTP"])(value) : value, + type: type + }]); + }; + + var handleEntitySearch = + /*#__PURE__*/ + function () { + var _ref2 = Object(asyncToGenerator["a" /* default */])( + /*#__PURE__*/ + external_this_regeneratorRuntime_default.a.mark(function _callee(value) { + var results, couldBeURL; + return external_this_regeneratorRuntime_default.a.wrap(function _callee$(_context) { + while (1) { + switch (_context.prev = _context.next) { + case 0: + _context.next = 2; + return Promise.all([fetchSearchSuggestions(value), handleDirectEntry(value)]); + + case 2: + results = _context.sent; + couldBeURL = !value.includes(' '); // If it's potentially a URL search then concat on a URL search suggestion + // just for good measure. That way once the actual results run out we always + // have a URL option to fallback on. + + return _context.abrupt("return", couldBeURL ? results[0].concat(results[1]) : results[0]); + + case 5: + case "end": + return _context.stop(); + } + } + }, _callee); + })); + + return function handleEntitySearch(_x) { + return _ref2.apply(this, arguments); + }; + }(); // Effects + + + var getSearchHandler = Object(external_this_wp_element_["useCallback"])(function (value) { + var protocol = Object(external_this_wp_url_["getProtocol"])(value) || ''; + var isMailto = protocol.includes('mailto'); + var isInternal = Object(external_this_lodash_["startsWith"])(value, '#'); + var isTel = protocol.includes('tel'); + var handleManualEntry = isInternal || isMailto || isTel || Object(external_this_wp_url_["isURL"])(value) || value && value.includes('www.'); + return handleManualEntry ? handleDirectEntry(value) : handleEntitySearch(value); + }, [handleDirectEntry, fetchSearchSuggestions]); // Render Components + + var renderSearchResults = function renderSearchResults(_ref3) { + var suggestionsListProps = _ref3.suggestionsListProps, + buildSuggestionItemProps = _ref3.buildSuggestionItemProps, + suggestions = _ref3.suggestions, + selectedSuggestion = _ref3.selectedSuggestion, + isLoading = _ref3.isLoading; + var resultsListClasses = classnames_default()('block-editor-link-control__search-results', { + 'is-loading': isLoading + }); + var manualLinkEntryTypes = ['url', 'mailto', 'tel', 'internal']; + return Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-link-control__search-results-wrapper" + }, Object(external_this_wp_element_["createElement"])("div", Object(esm_extends["a" /* default */])({}, suggestionsListProps, { + className: resultsListClasses + }), suggestions.map(function (suggestion, index) { + return Object(external_this_wp_element_["createElement"])(search_item, { + key: "".concat(suggestion.id, "-").concat(suggestion.type), + itemProps: buildSuggestionItemProps(suggestion, index), + suggestion: suggestion, + onClick: function onClick() { + return onLinkChange(suggestion); + }, + isSelected: index === selectedSuggestion, + isURL: manualLinkEntryTypes.includes(suggestion.type.toLowerCase()), + searchTerm: inputValue + }); + }))); + }; + + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Popover"], { + className: classnames_default()('block-editor-link-control', className), + onClose: closeLinkUI, + position: "bottom center", + focusOnMount: "firstElement" + }, Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-link-control__popover-inner" + }, Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-link-control__search" + }, !isEditingLink && currentLink && Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])("p", { + className: "screen-reader-text", + id: "current-link-label-".concat(instanceId) + }, Object(external_this_wp_i18n_["__"])('Currently selected'), ":"), Object(external_this_wp_element_["createElement"])("div", { + "aria-labelledby": "current-link-label-".concat(instanceId), + "aria-selected": "true", + className: classnames_default()('block-editor-link-control__search-item', { + 'is-current': true + }) + }, Object(external_this_wp_element_["createElement"])("span", { + className: "block-editor-link-control__search-item-header" + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ExternalLink"], { + className: "block-editor-link-control__search-item-title", + href: currentLink.url + }, currentLink.title), Object(external_this_wp_element_["createElement"])("span", { + className: "block-editor-link-control__search-item-info" + }, Object(external_this_wp_url_["filterURLForDisplay"])(Object(external_this_wp_url_["safeDecodeURI"])(currentLink.url)) || '')), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { + isSecondary: true, + onClick: setMode(MODE_EDIT), + className: "block-editor-link-control__search-item-action block-editor-link-control__search-item-action--edit" + }, Object(external_this_wp_i18n_["__"])('Change')))), isEditingLink && Object(external_this_wp_element_["createElement"])(search_input, { + value: inputValue, + onChange: onInputChange, + onSelect: onLinkChange, + renderSuggestions: renderSearchResults, + fetchSuggestions: getSearchHandler, + onReset: resetInput, + onKeyDown: onKeyDown, + onKeyPress: onKeyPress + }), !isEditingLink && Object(external_this_wp_element_["createElement"])(settings_drawer, { + settings: currentSettings, + onSettingChange: onSettingsChange + })))); +} + +/* harmony default export */ var link_control = (Object(external_this_wp_compose_["compose"])(external_this_wp_compose_["withInstanceId"], Object(external_this_wp_data_["withSelect"])(function (select, ownProps) { + if (ownProps.fetchSearchSuggestions && Object(external_this_lodash_["isFunction"])(ownProps.fetchSearchSuggestions)) { + return; + } + + var _select = select('core/block-editor'), + getSettings = _select.getSettings; + + return { + fetchSearchSuggestions: getSettings().__experimentalFetchLinkSuggestions + }; +}))(LinkControl)); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/media-upload/index.js +/** + * WordPress dependencies + */ + +/** + * This is a placeholder for the media upload component necessary to make it possible to provide + * an integration with the core blocks that handle media files. By default it renders nothing but + * it provides a way to have it overridden with the `editor.MediaUpload` filter. + * + * @return {WPComponent} The component to be rendered. + */ + +var MediaUpload = function MediaUpload() { + return null; +}; +/** + * @see https://github.com/WordPress/gutenberg/blob/master/packages/block-editor/src/components/media-upload/README.md + */ + + +/* harmony default export */ var media_upload = (Object(external_this_wp_components_["withFilters"])('editor.MediaUpload')(MediaUpload)); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/media-upload/check.js +/** + * WordPress dependencies + */ + +function MediaUploadCheck(_ref) { + var hasUploadPermissions = _ref.hasUploadPermissions, + _ref$fallback = _ref.fallback, + fallback = _ref$fallback === void 0 ? null : _ref$fallback, + children = _ref.children; + return hasUploadPermissions ? children : fallback; +} +/** + * @see https://github.com/WordPress/gutenberg/blob/master/packages/block-editor/src/components/media-upload/README.md + */ + +/* harmony default export */ var check = (Object(external_this_wp_data_["withSelect"])(function (select) { + var _select = select('core/block-editor'), + getSettings = _select.getSettings; + + return { + hasUploadPermissions: !!getSettings().mediaUpload + }; +})(MediaUploadCheck)); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/url-input/index.js + + + + + + + + + +/** + * External dependencies + */ + + + +/** + * WordPress dependencies + */ + + + + + + + + // Since URLInput is rendered in the context of other inputs, but should be +// considered a separate modal node, prevent keyboard events from propagating +// as being considered from the input. + +var stopEventPropagation = function stopEventPropagation(event) { + return event.stopPropagation(); +}; + +var url_input_URLInput = +/*#__PURE__*/ +function (_Component) { + Object(inherits["a" /* default */])(URLInput, _Component); + + function URLInput(props) { + var _this; + + Object(classCallCheck["a" /* default */])(this, URLInput); + + _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(URLInput).call(this, props)); + _this.onChange = _this.onChange.bind(Object(assertThisInitialized["a" /* default */])(_this)); + _this.onKeyDown = _this.onKeyDown.bind(Object(assertThisInitialized["a" /* default */])(_this)); + _this.selectLink = _this.selectLink.bind(Object(assertThisInitialized["a" /* default */])(_this)); + _this.handleOnClick = _this.handleOnClick.bind(Object(assertThisInitialized["a" /* default */])(_this)); + _this.bindSuggestionNode = _this.bindSuggestionNode.bind(Object(assertThisInitialized["a" /* default */])(_this)); + _this.autocompleteRef = props.autocompleteRef || Object(external_this_wp_element_["createRef"])(); + _this.inputRef = Object(external_this_wp_element_["createRef"])(); + _this.updateSuggestions = Object(external_this_lodash_["throttle"])(_this.updateSuggestions.bind(Object(assertThisInitialized["a" /* default */])(_this)), 200); + _this.suggestionNodes = []; + _this.state = { + suggestions: [], + showSuggestions: false, + selectedSuggestion: null + }; + return _this; + } + + Object(createClass["a" /* default */])(URLInput, [{ + key: "componentDidUpdate", + value: function componentDidUpdate() { + var _this2 = this; + + var _this$state = this.state, + showSuggestions = _this$state.showSuggestions, + selectedSuggestion = _this$state.selectedSuggestion; // only have to worry about scrolling selected suggestion into view + // when already expanded + + if (showSuggestions && selectedSuggestion !== null && !this.scrollingIntoView) { + this.scrollingIntoView = true; + lib_default()(this.suggestionNodes[selectedSuggestion], this.autocompleteRef.current, { + onlyScrollIfNeeded: true + }); + this.props.setTimeout(function () { + _this2.scrollingIntoView = false; + }, 100); + } + } + }, { + key: "componentWillUnmount", + value: function componentWillUnmount() { + delete this.suggestionsRequest; + } + }, { + key: "bindSuggestionNode", + value: function bindSuggestionNode(index) { + var _this3 = this; + + return function (ref) { + _this3.suggestionNodes[index] = ref; + }; + } + }, { + key: "updateSuggestions", + value: function updateSuggestions(value) { + var _this4 = this; + + var _this$props = this.props, + fetchLinkSuggestions = _this$props.__experimentalFetchLinkSuggestions, + handleURLSuggestions = _this$props.__experimentalHandleURLSuggestions; + + if (!fetchLinkSuggestions) { + return; + } // Show the suggestions after typing at least 2 characters + // and also for URLs + + + if (value.length < 2 || !handleURLSuggestions && Object(external_this_wp_url_["isURL"])(value)) { + this.setState({ + showSuggestions: false, + selectedSuggestion: null, + loading: false + }); + return; + } + + this.setState({ + showSuggestions: true, + selectedSuggestion: null, + loading: true + }); + var request = fetchLinkSuggestions(value); + request.then(function (suggestions) { + // A fetch Promise doesn't have an abort option. It's mimicked by + // comparing the request reference in on the instance, which is + // reset or deleted on subsequent requests or unmounting. + if (_this4.suggestionsRequest !== request) { + return; + } + + _this4.setState({ + suggestions: suggestions, + loading: false + }); + + if (!!suggestions.length) { + _this4.props.debouncedSpeak(Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["_n"])('%d result found, use up and down arrow keys to navigate.', '%d results found, use up and down arrow keys to navigate.', suggestions.length), suggestions.length), 'assertive'); + } else { + _this4.props.debouncedSpeak(Object(external_this_wp_i18n_["__"])('No results.'), 'assertive'); + } + }).catch(function () { + if (_this4.suggestionsRequest === request) { + _this4.setState({ + loading: false + }); + } + }); + this.suggestionsRequest = request; + } + }, { + key: "onChange", + value: function onChange(event) { + var inputValue = event.target.value; + this.props.onChange(inputValue); + + if (!this.props.disableSuggestions) { + this.updateSuggestions(inputValue); + } + } + }, { + key: "onKeyDown", + value: function onKeyDown(event) { + var _this$state2 = this.state, + showSuggestions = _this$state2.showSuggestions, + selectedSuggestion = _this$state2.selectedSuggestion, + suggestions = _this$state2.suggestions, + loading = _this$state2.loading; // If the suggestions are not shown or loading, we shouldn't handle the arrow keys + // We shouldn't preventDefault to allow block arrow keys navigation + + if ((!showSuggestions || !suggestions.length || loading) && this.props.value) { + // In the Windows version of Firefox the up and down arrows don't move the caret + // within an input field like they do for Mac Firefox/Chrome/Safari. This causes + // a form of focus trapping that is disruptive to the user experience. This disruption + // only happens if the caret is not in the first or last position in the text input. + // See: https://github.com/WordPress/gutenberg/issues/5693#issuecomment-436684747 + switch (event.keyCode) { + // When UP is pressed, if the caret is at the start of the text, move it to the 0 + // position. + case external_this_wp_keycodes_["UP"]: + { + if (0 !== event.target.selectionStart) { + event.stopPropagation(); + event.preventDefault(); // Set the input caret to position 0 + + event.target.setSelectionRange(0, 0); + } + + break; + } + // When DOWN is pressed, if the caret is not at the end of the text, move it to the + // last position. + + case external_this_wp_keycodes_["DOWN"]: + { + if (this.props.value.length !== event.target.selectionStart) { + event.stopPropagation(); + event.preventDefault(); // Set the input caret to the last position + + event.target.setSelectionRange(this.props.value.length, this.props.value.length); + } + + break; + } + } + + return; + } + + var suggestion = this.state.suggestions[this.state.selectedSuggestion]; + + switch (event.keyCode) { + case external_this_wp_keycodes_["UP"]: + { + event.stopPropagation(); + event.preventDefault(); + var previousIndex = !selectedSuggestion ? suggestions.length - 1 : selectedSuggestion - 1; + this.setState({ + selectedSuggestion: previousIndex + }); + break; + } + + case external_this_wp_keycodes_["DOWN"]: + { + event.stopPropagation(); + event.preventDefault(); + var nextIndex = selectedSuggestion === null || selectedSuggestion === suggestions.length - 1 ? 0 : selectedSuggestion + 1; + this.setState({ + selectedSuggestion: nextIndex + }); + break; + } + + case external_this_wp_keycodes_["TAB"]: + { + if (this.state.selectedSuggestion !== null) { + this.selectLink(suggestion); // Announce a link has been selected when tabbing away from the input field. + + this.props.speak(Object(external_this_wp_i18n_["__"])('Link selected.')); + } + + break; + } + + case external_this_wp_keycodes_["ENTER"]: + { + if (this.state.selectedSuggestion !== null) { + event.stopPropagation(); + this.selectLink(suggestion); + } + + break; + } + } + } + }, { + key: "selectLink", + value: function selectLink(suggestion) { + this.props.onChange(suggestion.url, suggestion); + this.setState({ + selectedSuggestion: null, + showSuggestions: false + }); + } + }, { + key: "handleOnClick", + value: function handleOnClick(suggestion) { + this.selectLink(suggestion); // Move focus to the input field when a link suggestion is clicked. + + this.inputRef.current.focus(); + } + }, { + key: "render", + value: function render() { + var _this5 = this; + + var _this$props2 = this.props, + label = _this$props2.label, + instanceId = _this$props2.instanceId, + className = _this$props2.className, + isFullWidth = _this$props2.isFullWidth, + hasBorder = _this$props2.hasBorder, + renderSuggestions = _this$props2.__experimentalRenderSuggestions, + _this$props2$placehol = _this$props2.placeholder, + placeholder = _this$props2$placehol === void 0 ? Object(external_this_wp_i18n_["__"])('Paste URL or type to search') : _this$props2$placehol, + _this$props2$value = _this$props2.value, + value = _this$props2$value === void 0 ? '' : _this$props2$value, + _this$props2$autoFocu = _this$props2.autoFocus, + autoFocus = _this$props2$autoFocu === void 0 ? true : _this$props2$autoFocu; + var _this$state3 = this.state, + showSuggestions = _this$state3.showSuggestions, + suggestions = _this$state3.suggestions, + selectedSuggestion = _this$state3.selectedSuggestion, + loading = _this$state3.loading; + var id = "url-input-control-".concat(instanceId); + var suggestionsListboxId = "block-editor-url-input-suggestions-".concat(instanceId); + var suggestionOptionIdPrefix = "block-editor-url-input-suggestion-".concat(instanceId); + var suggestionsListProps = { + id: suggestionsListboxId, + ref: this.autocompleteRef, + role: 'listbox' + }; + + var buildSuggestionItemProps = function buildSuggestionItemProps(suggestion, index) { + return { + role: 'option', + tabIndex: '-1', + id: "".concat(suggestionOptionIdPrefix, "-").concat(index), + ref: _this5.bindSuggestionNode(index), + 'aria-selected': index === selectedSuggestion + }; + }; + /* eslint-disable jsx-a11y/no-autofocus */ + + + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["BaseControl"], { + label: label, + id: id, + className: classnames_default()('block-editor-url-input', className, { + 'is-full-width': isFullWidth, + 'has-border': hasBorder + }) + }, Object(external_this_wp_element_["createElement"])("input", { + autoFocus: autoFocus, + type: "text", + "aria-label": Object(external_this_wp_i18n_["__"])('URL'), + required: true, + value: value, + onChange: this.onChange, + onInput: stopEventPropagation, + placeholder: placeholder, + onKeyDown: this.onKeyDown, + role: "combobox", + "aria-expanded": showSuggestions, + "aria-autocomplete": "list", + "aria-owns": suggestionsListboxId, + "aria-activedescendant": selectedSuggestion !== null ? "".concat(suggestionOptionIdPrefix, "-").concat(selectedSuggestion) : undefined, + ref: this.inputRef + }), loading && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Spinner"], null), Object(external_this_lodash_["isFunction"])(renderSuggestions) && showSuggestions && !!suggestions.length && renderSuggestions({ + suggestions: suggestions, + selectedSuggestion: selectedSuggestion, + suggestionsListProps: suggestionsListProps, + buildSuggestionItemProps: buildSuggestionItemProps, + isLoading: loading, + handleSuggestionClick: this.handleOnClick + }), !Object(external_this_lodash_["isFunction"])(renderSuggestions) && showSuggestions && !!suggestions.length && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Popover"], { + position: "bottom", + noArrow: true, + focusOnMount: false + }, Object(external_this_wp_element_["createElement"])("div", Object(esm_extends["a" /* default */])({}, suggestionsListProps, { + className: classnames_default()('block-editor-url-input__suggestions', "".concat(className, "__suggestions")) + }), suggestions.map(function (suggestion, index) { + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], Object(esm_extends["a" /* default */])({}, buildSuggestionItemProps(suggestion, index), { + key: suggestion.id, + className: classnames_default()('block-editor-url-input__suggestion', { + 'is-selected': index === selectedSuggestion + }), + onClick: function onClick() { + return _this5.handleOnClick(suggestion); + } + }), suggestion.title); + })))); + /* eslint-enable jsx-a11y/no-autofocus */ + } + }], [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(_ref, _ref2) { + var value = _ref.value, + disableSuggestions = _ref.disableSuggestions; + var showSuggestions = _ref2.showSuggestions, + selectedSuggestion = _ref2.selectedSuggestion; + var shouldShowSuggestions = showSuggestions; + var hasValue = value && value.length; + + if (!hasValue) { + shouldShowSuggestions = false; + } + + if (disableSuggestions === true) { + shouldShowSuggestions = false; + } + + return { + selectedSuggestion: hasValue ? selectedSuggestion : null, + showSuggestions: shouldShowSuggestions + }; + } + }]); + + return URLInput; +}(external_this_wp_element_["Component"]); +/** + * @see https://github.com/WordPress/gutenberg/blob/master/packages/block-editor/src/components/url-input/README.md + */ + + +/* harmony default export */ var url_input = (Object(external_this_wp_compose_["compose"])(external_this_wp_compose_["withSafeTimeout"], external_this_wp_components_["withSpokenMessages"], external_this_wp_compose_["withInstanceId"], Object(external_this_wp_data_["withSelect"])(function (select, props) { + // If a link suggestions handler is already provided then + // bail + if (Object(external_this_lodash_["isFunction"])(props.__experimentalFetchLinkSuggestions)) { + return; + } + + var _select = select('core/block-editor'), + getSettings = _select.getSettings; + + return { + __experimentalFetchLinkSuggestions: getSettings().__experimentalFetchLinkSuggestions + }; +}))(url_input_URLInput)); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/url-popover/link-editor.js + + + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + + +/** + * Internal dependencies + */ + + +function LinkEditor(_ref) { + var autocompleteRef = _ref.autocompleteRef, + className = _ref.className, + onChangeInputValue = _ref.onChangeInputValue, + value = _ref.value, + props = Object(objectWithoutProperties["a" /* default */])(_ref, ["autocompleteRef", "className", "onChangeInputValue", "value"]); + + return Object(external_this_wp_element_["createElement"])("form", Object(esm_extends["a" /* default */])({ + className: classnames_default()('block-editor-url-popover__link-editor', className) + }, props), Object(external_this_wp_element_["createElement"])(url_input, { + value: value, + onChange: onChangeInputValue, + autocompleteRef: autocompleteRef + }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { + icon: "editor-break", + label: Object(external_this_wp_i18n_["__"])('Apply'), + type: "submit" + })); +} + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/url-popover/link-viewer.js + + + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + + + + +function LinkViewerUrl(_ref) { + var url = _ref.url, + urlLabel = _ref.urlLabel, + className = _ref.className; + var linkClassName = classnames_default()(className, 'block-editor-url-popover__link-viewer-url'); + + if (!url) { + return Object(external_this_wp_element_["createElement"])("span", { + className: linkClassName + }); + } + + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ExternalLink"], { + className: linkClassName, + href: url + }, urlLabel || Object(external_this_wp_url_["filterURLForDisplay"])(Object(external_this_wp_url_["safeDecodeURI"])(url))); +} + +function LinkViewer(_ref2) { + var className = _ref2.className, + linkClassName = _ref2.linkClassName, + onEditLinkClick = _ref2.onEditLinkClick, + url = _ref2.url, + urlLabel = _ref2.urlLabel, + props = Object(objectWithoutProperties["a" /* default */])(_ref2, ["className", "linkClassName", "onEditLinkClick", "url", "urlLabel"]); + + return Object(external_this_wp_element_["createElement"])("div", Object(esm_extends["a" /* default */])({ + className: classnames_default()('block-editor-url-popover__link-viewer', className) + }, props), Object(external_this_wp_element_["createElement"])(LinkViewerUrl, { + url: url, + urlLabel: urlLabel, + className: linkClassName + }), onEditLinkClick && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { + icon: "edit", + label: Object(external_this_wp_i18n_["__"])('Edit'), + onClick: onEditLinkClick + })); +} + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/media-replace-flow/index.js + + + +/** + * WordPress dependencies + */ + + + + + + + +/** + * Internal dependencies + */ + + + + + + +var media_replace_flow_MediaReplaceFlow = function MediaReplaceFlow(_ref) { + var mediaURL = _ref.mediaURL, + allowedTypes = _ref.allowedTypes, + accept = _ref.accept, + onSelect = _ref.onSelect, + onSelectURL = _ref.onSelectURL, + onError = _ref.onError, + _ref$name = _ref.name, + name = _ref$name === void 0 ? Object(external_this_wp_i18n_["__"])('Replace') : _ref$name; + + var _useState = Object(external_this_wp_element_["useState"])(false), + _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2), + showURLInput = _useState2[0], + setShowURLInput = _useState2[1]; + + var _useState3 = Object(external_this_wp_element_["useState"])(false), + _useState4 = Object(slicedToArray["a" /* default */])(_useState3, 2), + showEditURLInput = _useState4[0], + setShowEditURLInput = _useState4[1]; + + var _useState5 = Object(external_this_wp_element_["useState"])(mediaURL), + _useState6 = Object(slicedToArray["a" /* default */])(_useState5, 2), + mediaURLValue = _useState6[0], + setMediaURLValue = _useState6[1]; + + var mediaUpload = Object(external_this_wp_data_["useSelect"])(function (select) { + return select('core/block-editor').getSettings().mediaUpload; + }, []); + var editMediaButtonRef = Object(external_this_wp_element_["createRef"])(); + + var stopPropagation = function stopPropagation(event) { + event.stopPropagation(); + }; + + var stopPropagationRelevantKeys = function stopPropagationRelevantKeys(event) { + if ([external_this_wp_keycodes_["LEFT"], external_this_wp_keycodes_["DOWN"], external_this_wp_keycodes_["RIGHT"], external_this_wp_keycodes_["UP"], external_this_wp_keycodes_["BACKSPACE"], external_this_wp_keycodes_["ENTER"]].indexOf(event.keyCode) > -1) { + // Stop the key event from propagating up to ObserveTyping.startTypingInTextField. + event.stopPropagation(); + } + }; + + var selectMedia = function selectMedia(media) { + onSelect(media); + setMediaURLValue(media.url); + Object(external_this_wp_a11y_["speak"])(Object(external_this_wp_i18n_["__"])('The media file has been replaced')); + }; + + var selectURL = function selectURL(newURL) { + onSelectURL(newURL); + setShowEditURLInput(false); + }; + + var uploadFiles = function uploadFiles(event, closeDropdown) { + var files = event.target.files; + + var setMedia = function setMedia(_ref2) { + var _ref3 = Object(slicedToArray["a" /* default */])(_ref2, 1), + media = _ref3[0]; + + selectMedia(media); + closeDropdown(); + }; + + mediaUpload({ + allowedTypes: allowedTypes, + filesList: files, + onFileChange: setMedia, + onError: onError + }); + }; + + var openOnArrowDown = function openOnArrowDown(event) { + if (event.keyCode === external_this_wp_keycodes_["DOWN"]) { + event.preventDefault(); + event.stopPropagation(); + event.target.click(); + } + }; + + var urlInputUIContent; + + if (showEditURLInput) { + urlInputUIContent = Object(external_this_wp_element_["createElement"])(LinkEditor, { + onKeyDown: stopPropagationRelevantKeys, + onKeyPress: stopPropagation, + value: mediaURLValue, + isFullWidthInput: true, + hasInputBorder: true, + onChangeInputValue: function onChangeInputValue(url) { + return setMediaURLValue(url); + }, + onSubmit: function onSubmit(event) { + event.preventDefault(); + selectURL(mediaURLValue); + editMediaButtonRef.current.focus(); + } + }); + } else { + urlInputUIContent = Object(external_this_wp_element_["createElement"])(LinkViewer, { + isFullWidth: true, + className: "block-editor-media-replace-flow__link-viewer", + url: mediaURLValue, + onEditLinkClick: function onEditLinkClick() { + return setShowEditURLInput(!showEditURLInput); + } + }); + } + + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Dropdown"], { + contentClassName: "block-editor-media-replace-flow__options", + renderToggle: function renderToggle(_ref4) { + var isOpen = _ref4.isOpen, + onToggle = _ref4.onToggle; + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], { + className: "media-replace-flow" + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { + ref: editMediaButtonRef, + "aria-expanded": isOpen, + onClick: onToggle, + onKeyDown: openOnArrowDown + }, name, Object(external_this_wp_element_["createElement"])("span", { + className: "block-editor-media-replace-flow__indicator" + }))); + }, + renderContent: function renderContent(_ref5) { + var onClose = _ref5.onClose; + return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["NavigableMenu"], null, Object(external_this_wp_element_["createElement"])(media_upload, { + onSelect: function onSelect(media) { + return selectMedia(media); + }, + allowedTypes: allowedTypes, + render: function render(_ref6) { + var open = _ref6.open; + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuItem"], { + icon: "admin-media", + onClick: open + }, Object(external_this_wp_i18n_["__"])('Open Media Library')); + } + }), Object(external_this_wp_element_["createElement"])(check, null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["FormFileUpload"], { + onChange: function onChange(event) { + uploadFiles(event, onClose); + }, + accept: accept, + render: function render(_ref7) { + var openFileDialog = _ref7.openFileDialog; + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuItem"], { + icon: "upload", + onClick: function onClick() { + openFileDialog(); + } + }, Object(external_this_wp_i18n_["__"])('Upload')); + } + })), onSelectURL && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuItem"], { + icon: "admin-links", + onClick: function onClick() { + return setShowURLInput(!showURLInput); + }, + "aria-expanded": showURLInput + }, Object(external_this_wp_element_["createElement"])("div", null, " ", Object(external_this_wp_i18n_["__"])('Insert from URL'), " "))), showURLInput && Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-media-flow__url-input" + }, urlInputUIContent)); + } + }); +}; + +/* harmony default export */ var media_replace_flow = (Object(external_this_wp_compose_["compose"])(external_this_wp_components_["withNotices"])(media_replace_flow_MediaReplaceFlow)); + +// EXTERNAL MODULE: external {"this":["wp","deprecated"]} +var external_this_wp_deprecated_ = __webpack_require__(33); +var external_this_wp_deprecated_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_deprecated_); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/url-popover/index.js + + + + + + + + + + +/** + * WordPress dependencies + */ + + + +/** + * Internal dependencies + */ + + + + +var url_popover_URLPopover = +/*#__PURE__*/ +function (_Component) { + Object(inherits["a" /* default */])(URLPopover, _Component); + + function URLPopover() { + var _this; + + Object(classCallCheck["a" /* default */])(this, URLPopover); + + _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(URLPopover).apply(this, arguments)); + _this.toggleSettingsVisibility = _this.toggleSettingsVisibility.bind(Object(assertThisInitialized["a" /* default */])(_this)); + _this.state = { + isSettingsExpanded: false + }; + return _this; + } + + Object(createClass["a" /* default */])(URLPopover, [{ + key: "toggleSettingsVisibility", + value: function toggleSettingsVisibility() { + this.setState({ + isSettingsExpanded: !this.state.isSettingsExpanded + }); + } + }, { + key: "render", + value: function render() { + var _this$props = this.props, + additionalControls = _this$props.additionalControls, + children = _this$props.children, + renderSettings = _this$props.renderSettings, + _this$props$position = _this$props.position, + position = _this$props$position === void 0 ? 'bottom center' : _this$props$position, + _this$props$focusOnMo = _this$props.focusOnMount, + focusOnMount = _this$props$focusOnMo === void 0 ? 'firstElement' : _this$props$focusOnMo, + popoverProps = Object(objectWithoutProperties["a" /* default */])(_this$props, ["additionalControls", "children", "renderSettings", "position", "focusOnMount"]); + + var isSettingsExpanded = this.state.isSettingsExpanded; + var showSettings = !!renderSettings && isSettingsExpanded; + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Popover"], Object(esm_extends["a" /* default */])({ + className: "block-editor-url-popover", + focusOnMount: focusOnMount, + position: position + }, popoverProps), Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-url-popover__input-container" + }, Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-url-popover__row" + }, children, !!renderSettings && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { + className: "block-editor-url-popover__settings-toggle", + icon: "arrow-down-alt2", + label: Object(external_this_wp_i18n_["__"])('Link settings'), + onClick: this.toggleSettingsVisibility, + "aria-expanded": isSettingsExpanded + })), showSettings && Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-url-popover__row block-editor-url-popover__settings" + }, renderSettings())), additionalControls && !showSettings && Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-url-popover__additional-controls" + }, additionalControls)); + } + }]); + + return URLPopover; +}(external_this_wp_element_["Component"]); + +url_popover_URLPopover.LinkEditor = LinkEditor; +url_popover_URLPopover.LinkViewer = LinkViewer; +/** + * @see https://github.com/WordPress/gutenberg/blob/master/packages/block-editor/src/components/url-popover/README.md + */ + +/* harmony default export */ var url_popover = (url_popover_URLPopover); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/media-placeholder/index.js + + + + + + + + + +/** + * External dependencies + */ + + +/** + * WordPress dependencies + */ + + + + + + + +/** + * Internal dependencies + */ + + + + + +var media_placeholder_InsertFromURLPopover = function InsertFromURLPopover(_ref) { + var src = _ref.src, + onChange = _ref.onChange, + onSubmit = _ref.onSubmit, + onClose = _ref.onClose; + return Object(external_this_wp_element_["createElement"])(url_popover, { + onClose: onClose + }, Object(external_this_wp_element_["createElement"])("form", { + className: "block-editor-media-placeholder__url-input-form", + onSubmit: onSubmit + }, Object(external_this_wp_element_["createElement"])("input", { + className: "block-editor-media-placeholder__url-input-field", + type: "url", + "aria-label": Object(external_this_wp_i18n_["__"])('URL'), + placeholder: Object(external_this_wp_i18n_["__"])('Paste or type URL'), + onChange: onChange, + value: src + }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { + className: "block-editor-media-placeholder__url-input-submit-button", + icon: "editor-break", + label: Object(external_this_wp_i18n_["__"])('Apply'), + type: "submit" + }))); +}; + +var media_placeholder_MediaPlaceholder = +/*#__PURE__*/ +function (_Component) { + Object(inherits["a" /* default */])(MediaPlaceholder, _Component); + + function MediaPlaceholder() { + var _this; + + Object(classCallCheck["a" /* default */])(this, MediaPlaceholder); + + _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(MediaPlaceholder).apply(this, arguments)); + _this.state = { + src: '', + isURLInputVisible: false + }; + _this.onChangeSrc = _this.onChangeSrc.bind(Object(assertThisInitialized["a" /* default */])(_this)); + _this.onSubmitSrc = _this.onSubmitSrc.bind(Object(assertThisInitialized["a" /* default */])(_this)); + _this.onUpload = _this.onUpload.bind(Object(assertThisInitialized["a" /* default */])(_this)); + _this.onFilesUpload = _this.onFilesUpload.bind(Object(assertThisInitialized["a" /* default */])(_this)); + _this.openURLInput = _this.openURLInput.bind(Object(assertThisInitialized["a" /* default */])(_this)); + _this.closeURLInput = _this.closeURLInput.bind(Object(assertThisInitialized["a" /* default */])(_this)); + return _this; + } + + Object(createClass["a" /* default */])(MediaPlaceholder, [{ + key: "onlyAllowsImages", + value: function onlyAllowsImages() { + var allowedTypes = this.props.allowedTypes; + + if (!allowedTypes) { + return false; + } + + return Object(external_this_lodash_["every"])(allowedTypes, function (allowedType) { + return allowedType === 'image' || Object(external_this_lodash_["startsWith"])(allowedType, 'image/'); + }); + } + }, { + key: "componentDidMount", + value: function componentDidMount() { + this.setState({ + src: Object(external_this_lodash_["get"])(this.props.value, ['src'], '') + }); + } + }, { + key: "componentDidUpdate", + value: function componentDidUpdate(prevProps) { + if (Object(external_this_lodash_["get"])(prevProps.value, ['src'], '') !== Object(external_this_lodash_["get"])(this.props.value, ['src'], '')) { + this.setState({ + src: Object(external_this_lodash_["get"])(this.props.value, ['src'], '') + }); + } + } + }, { + key: "onChangeSrc", + value: function onChangeSrc(event) { + this.setState({ + src: event.target.value + }); + } + }, { + key: "onSubmitSrc", + value: function onSubmitSrc(event) { + event.preventDefault(); + + if (this.state.src && this.props.onSelectURL) { + this.props.onSelectURL(this.state.src); + this.closeURLInput(); + } + } + }, { + key: "onUpload", + value: function onUpload(event) { + this.onFilesUpload(event.target.files); + } + }, { + key: "onFilesUpload", + value: function onFilesUpload(files) { + var _this$props = this.props, + addToGallery = _this$props.addToGallery, + allowedTypes = _this$props.allowedTypes, + mediaUpload = _this$props.mediaUpload, + multiple = _this$props.multiple, + onError = _this$props.onError, + onSelect = _this$props.onSelect, + _this$props$value = _this$props.value, + value = _this$props$value === void 0 ? [] : _this$props$value; + var setMedia; + + if (multiple) { + if (addToGallery) { + var currentValue = value; + + setMedia = function setMedia(newMedia) { + onSelect(currentValue.concat(newMedia)); + }; + } else { + setMedia = onSelect; + } + } else { + setMedia = function setMedia(_ref2) { + var _ref3 = Object(slicedToArray["a" /* default */])(_ref2, 1), + media = _ref3[0]; + + return onSelect(media); + }; + } + + mediaUpload({ + allowedTypes: allowedTypes, + filesList: files, + onFileChange: setMedia, + onError: onError + }); + } + }, { + key: "openURLInput", + value: function openURLInput() { + this.setState({ + isURLInputVisible: true + }); + } + }, { + key: "closeURLInput", + value: function closeURLInput() { + this.setState({ + isURLInputVisible: false + }); + } + }, { + key: "renderPlaceholder", + value: function renderPlaceholder(content, onClick) { + var _this$props2 = this.props, + _this$props2$allowedT = _this$props2.allowedTypes, + allowedTypes = _this$props2$allowedT === void 0 ? [] : _this$props2$allowedT, + className = _this$props2.className, + icon = _this$props2.icon, + isAppender = _this$props2.isAppender, + _this$props2$labels = _this$props2.labels, + labels = _this$props2$labels === void 0 ? {} : _this$props2$labels, + onDoubleClick = _this$props2.onDoubleClick, + mediaPreview = _this$props2.mediaPreview, + notices = _this$props2.notices, + onSelectURL = _this$props2.onSelectURL, + mediaUpload = _this$props2.mediaUpload, + children = _this$props2.children; + var instructions = labels.instructions; + var title = labels.title; + + if (!mediaUpload && !onSelectURL) { + instructions = Object(external_this_wp_i18n_["__"])('To edit this block, you need permission to upload media.'); + } + + if (instructions === undefined || title === undefined) { + var isOneType = 1 === allowedTypes.length; + var isAudio = isOneType && 'audio' === allowedTypes[0]; + var isImage = isOneType && 'image' === allowedTypes[0]; + var isVideo = isOneType && 'video' === allowedTypes[0]; + + if (instructions === undefined && mediaUpload) { + instructions = Object(external_this_wp_i18n_["__"])('Upload a media file or pick one from your media library.'); + + if (isAudio) { + instructions = Object(external_this_wp_i18n_["__"])('Upload an audio file, pick one from your media library, or add one with a URL.'); + } else if (isImage) { + instructions = Object(external_this_wp_i18n_["__"])('Upload an image file, pick one from your media library, or add one with a URL.'); + } else if (isVideo) { + instructions = Object(external_this_wp_i18n_["__"])('Upload a video file, pick one from your media library, or add one with a URL.'); + } + } + + if (title === undefined) { + title = Object(external_this_wp_i18n_["__"])('Media'); + + if (isAudio) { + title = Object(external_this_wp_i18n_["__"])('Audio'); + } else if (isImage) { + title = Object(external_this_wp_i18n_["__"])('Image'); + } else if (isVideo) { + title = Object(external_this_wp_i18n_["__"])('Video'); + } + } + } + + var placeholderClassName = classnames_default()('block-editor-media-placeholder', className, { + 'is-appender': isAppender + }); + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Placeholder"], { + icon: icon, + label: title, + instructions: instructions, + className: placeholderClassName, + notices: notices, + onClick: onClick, + onDoubleClick: onDoubleClick, + preview: mediaPreview + }, content, children); + } + }, { + key: "renderDropZone", + value: function renderDropZone() { + var _this$props3 = this.props, + disableDropZone = _this$props3.disableDropZone, + _this$props3$onHTMLDr = _this$props3.onHTMLDrop, + onHTMLDrop = _this$props3$onHTMLDr === void 0 ? external_this_lodash_["noop"] : _this$props3$onHTMLDr; + + if (disableDropZone) { + return null; + } + + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["DropZone"], { + onFilesDrop: this.onFilesUpload, + onHTMLDrop: onHTMLDrop + }); + } + }, { + key: "renderCancelLink", + value: function renderCancelLink() { + var onCancel = this.props.onCancel; + return onCancel && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { + className: "block-editor-media-placeholder__cancel-button", + title: Object(external_this_wp_i18n_["__"])('Cancel'), + isLink: true, + onClick: onCancel + }, Object(external_this_wp_i18n_["__"])('Cancel')); + } + }, { + key: "renderUrlSelectionUI", + value: function renderUrlSelectionUI() { + var onSelectURL = this.props.onSelectURL; + + if (!onSelectURL) { + return null; + } + + var _this$state = this.state, + isURLInputVisible = _this$state.isURLInputVisible, + src = _this$state.src; + return Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-media-placeholder__url-input-container" + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { + className: "block-editor-media-placeholder__button", + onClick: this.openURLInput, + isPressed: isURLInputVisible, + isSecondary: true + }, Object(external_this_wp_i18n_["__"])('Insert from URL')), isURLInputVisible && Object(external_this_wp_element_["createElement"])(media_placeholder_InsertFromURLPopover, { + src: src, + onChange: this.onChangeSrc, + onSubmit: this.onSubmitSrc, + onClose: this.closeURLInput + })); + } + }, { + key: "renderMediaUploadChecked", + value: function renderMediaUploadChecked() { + var _this2 = this; + + var _this$props4 = this.props, + accept = _this$props4.accept, + addToGallery = _this$props4.addToGallery, + _this$props4$allowedT = _this$props4.allowedTypes, + allowedTypes = _this$props4$allowedT === void 0 ? [] : _this$props4$allowedT, + isAppender = _this$props4.isAppender, + mediaUpload = _this$props4.mediaUpload, + _this$props4$multiple = _this$props4.multiple, + multiple = _this$props4$multiple === void 0 ? false : _this$props4$multiple, + onSelect = _this$props4.onSelect, + _this$props4$value = _this$props4.value, + value = _this$props4$value === void 0 ? {} : _this$props4$value; + var mediaLibraryButton = Object(external_this_wp_element_["createElement"])(media_upload, { + addToGallery: addToGallery, + gallery: multiple && this.onlyAllowsImages(), + multiple: multiple, + onSelect: onSelect, + allowedTypes: allowedTypes, + value: Object(external_this_lodash_["isArray"])(value) ? value.map(function (_ref4) { + var id = _ref4.id; + return id; + }) : value.id, + render: function render(_ref5) { + var open = _ref5.open; + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { + isSecondary: true, + onClick: function onClick(event) { + event.stopPropagation(); + open(); + } + }, Object(external_this_wp_i18n_["__"])('Media Library')); + } + }); + + if (mediaUpload && isAppender) { + return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, this.renderDropZone(), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["FormFileUpload"], { + onChange: this.onUpload, + accept: accept, + multiple: multiple, + render: function render(_ref6) { + var openFileDialog = _ref6.openFileDialog; + var content = Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { + isSecondary: true, + className: classnames_default()('block-editor-media-placeholder__button', 'block-editor-media-placeholder__upload-button') + }, Object(external_this_wp_i18n_["__"])('Upload')), mediaLibraryButton, _this2.renderUrlSelectionUI(), _this2.renderCancelLink()); + return _this2.renderPlaceholder(content, openFileDialog); + } + })); + } + + if (mediaUpload) { + var content = Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, this.renderDropZone(), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["FormFileUpload"], { + isSecondary: true, + className: classnames_default()('block-editor-media-placeholder__button', 'block-editor-media-placeholder__upload-button'), + onChange: this.onUpload, + accept: accept, + multiple: multiple + }, Object(external_this_wp_i18n_["__"])('Upload')), mediaLibraryButton, this.renderUrlSelectionUI(), this.renderCancelLink()); + return this.renderPlaceholder(content); + } + + return this.renderPlaceholder(mediaLibraryButton); + } + }, { + key: "render", + value: function render() { + var _this$props5 = this.props, + disableMediaButtons = _this$props5.disableMediaButtons, + dropZoneUIOnly = _this$props5.dropZoneUIOnly; + + if (dropZoneUIOnly || disableMediaButtons) { + if (dropZoneUIOnly) { + external_this_wp_deprecated_default()('wp.blockEditor.MediaPlaceholder dropZoneUIOnly prop', { + alternative: 'disableMediaButtons' + }); + } + + return Object(external_this_wp_element_["createElement"])(check, null, this.renderDropZone()); + } + + return Object(external_this_wp_element_["createElement"])(check, { + fallback: this.renderPlaceholder(this.renderUrlSelectionUI()) + }, this.renderMediaUploadChecked()); + } + }]); + + return MediaPlaceholder; +}(external_this_wp_element_["Component"]); +var media_placeholder_applyWithSelect = Object(external_this_wp_data_["withSelect"])(function (select) { + var _select = select('core/block-editor'), + getSettings = _select.getSettings; + + return { + mediaUpload: getSettings().mediaUpload + }; +}); +/** + * @see https://github.com/WordPress/gutenberg/blob/master/packages/block-editor/src/components/media-placeholder/README.md + */ + +/* harmony default export */ var media_placeholder = (Object(external_this_wp_compose_["compose"])(media_placeholder_applyWithSelect, Object(external_this_wp_components_["withFilters"])('editor.MediaPlaceholder'))(media_placeholder_MediaPlaceholder)); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/plain-text/index.js + + + + +/** + * WordPress dependencies + */ + +/** + * External dependencies + */ + + + +/** + * @see https://github.com/WordPress/gutenberg/blob/master/packages/block-editor/src/components/plain-text/README.md + */ + +var PlainText = Object(external_this_wp_element_["forwardRef"])(function (_ref, ref) { + var _onChange = _ref.onChange, + className = _ref.className, + props = Object(objectWithoutProperties["a" /* default */])(_ref, ["onChange", "className"]); + + return Object(external_this_wp_element_["createElement"])(react_autosize_textarea_lib_default.a, Object(esm_extends["a" /* default */])({ + ref: ref, + className: classnames_default()('block-editor-plain-text', className), + onChange: function onChange(event) { + return _onChange(event.target.value); + } + }, props)); +}); +/* harmony default export */ var plain_text = (PlainText); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/responsive-block-control/label.js + + +/** + * WordPress dependencies + */ + + + +function ResponsiveBlockControlLabel(_ref) { + var property = _ref.property, + viewport = _ref.viewport, + desc = _ref.desc; + var instanceId = Object(external_this_wp_compose_["useInstanceId"])(ResponsiveBlockControlLabel); + var accessibleLabel = desc || Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["_x"])('Controls the %1$s property for %2$s viewports.', 'Text labelling a interface as controlling a given layout property (eg: margin) for a given screen size.'), property, viewport.label); + return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])("span", { + "aria-describedby": "rbc-desc-".concat(instanceId) + }, viewport.label), Object(external_this_wp_element_["createElement"])("span", { + className: "screen-reader-text", + id: "rbc-desc-".concat(instanceId) + }, accessibleLabel)); +} + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/responsive-block-control/index.js + + +/** + * WordPress dependencies + */ + + + +/** + * Internal dependencies + */ + + + +function ResponsiveBlockControl(props) { + var title = props.title, + property = props.property, + toggleLabel = props.toggleLabel, + onIsResponsiveChange = props.onIsResponsiveChange, + renderDefaultControl = props.renderDefaultControl, + renderResponsiveControls = props.renderResponsiveControls, + _props$isResponsive = props.isResponsive, + isResponsive = _props$isResponsive === void 0 ? false : _props$isResponsive, + _props$defaultLabel = props.defaultLabel, + defaultLabel = _props$defaultLabel === void 0 ? { + id: 'all', + label: Object(external_this_wp_i18n_["__"])('All') + /* translators: 'Label. Used to signify a layout property (eg: margin, padding) will apply uniformly to all screensizes.' */ + + } : _props$defaultLabel, + _props$viewports = props.viewports, + viewports = _props$viewports === void 0 ? [{ + id: 'small', + label: Object(external_this_wp_i18n_["__"])('Small screens') + }, { + id: 'medium', + label: Object(external_this_wp_i18n_["__"])('Medium screens') + }, { + id: 'large', + label: Object(external_this_wp_i18n_["__"])('Large screens') + }] : _props$viewports; + + if (!title || !property || !renderDefaultControl) { + return null; + } + /* translators: 'Toggle control label. Should the property be the same across all screen sizes or unique per screen size.'. %s property value for the control (eg: margin, padding...etc) */ + + + var toggleControlLabel = toggleLabel || Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["__"])('Use the same %s on all screensizes.'), property); + /* translators: 'Help text for the responsive mode toggle control.' */ + + var toggleHelpText = Object(external_this_wp_i18n_["__"])('Toggle between using the same value for all screen sizes or using a unique value per screen size.'); + + var defaultControl = renderDefaultControl(Object(external_this_wp_element_["createElement"])(ResponsiveBlockControlLabel, { + property: property, + viewport: defaultLabel + }), defaultLabel); + + var defaultResponsiveControls = function defaultResponsiveControls() { + return viewports.map(function (viewport) { + return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], { + key: viewport.id + }, renderDefaultControl(Object(external_this_wp_element_["createElement"])(ResponsiveBlockControlLabel, { + property: property, + viewport: viewport + }), viewport)); + }); + }; + + return Object(external_this_wp_element_["createElement"])("fieldset", { + className: "block-editor-responsive-block-control" + }, Object(external_this_wp_element_["createElement"])("legend", { + className: "block-editor-responsive-block-control__title" + }, title), Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-responsive-block-control__inner" + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], { + className: "block-editor-responsive-block-control__toggle", + label: toggleControlLabel, + checked: !isResponsive, + onChange: onIsResponsiveChange, + help: toggleHelpText + }), !isResponsive && Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-responsive-block-control__group block-editor-responsive-block-control__group--default" + }, defaultControl), isResponsive && Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-responsive-block-control__group block-editor-responsive-block-control__group--responsive", + hidden: !isResponsive + }, renderResponsiveControls ? renderResponsiveControls(viewports) : defaultResponsiveControls()))); +} + +/* harmony default export */ var responsive_block_control = (ResponsiveBlockControl); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/rich-text/remove-browser-shortcuts.js + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + + +/** + * Set of keyboard shortcuts handled internally by RichText. + * + * @type {Array} + */ + +var HANDLED_SHORTCUTS = [external_this_wp_keycodes_["rawShortcut"].primary('z'), external_this_wp_keycodes_["rawShortcut"].primaryShift('z'), external_this_wp_keycodes_["rawShortcut"].primary('y')]; +/** + * An instance of a KeyboardShortcuts element pre-bound for the handled + * shortcuts. Since shortcuts never change, the element can be considered + * static, and can be skipped in reconciliation. + * + * @type {WPElement} + */ + +var SHORTCUTS_ELEMENT = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["KeyboardShortcuts"], { + bindGlobal: true, + shortcuts: Object(external_this_lodash_["fromPairs"])(HANDLED_SHORTCUTS.map(function (shortcut) { + return [shortcut, function (event) { + return event.preventDefault(); + }]; + })) +}); +/** + * Component which registered keyboard event handlers to prevent default + * behaviors for key combinations otherwise handled internally by RichText. + * + * @return {WPComponent} The component to be rendered. + */ + +var RemoveBrowserShortcuts = function RemoveBrowserShortcuts() { + return SHORTCUTS_ELEMENT; +}; + +// EXTERNAL MODULE: external {"this":["wp","blob"]} +var external_this_wp_blob_ = __webpack_require__(37); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/rich-text/file-paste-handler.js +/** + * WordPress dependencies + */ + +function filePasteHandler(files) { + return files.filter(function (_ref) { + var type = _ref.type; + return /^image\/(?:jpe?g|png|gif)$/.test(type); + }).map(function (file) { + return ""); + }).join(''); +} + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/rich-text/format-toolbar/index.js + + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + + +var POPOVER_PROPS = { + position: 'bottom left' +}; + +var format_toolbar_FormatToolbar = function FormatToolbar() { + return Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-format-toolbar" + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Toolbar"], null, ['bold', 'italic', 'link'].map(function (format) { + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Slot"], { + name: "RichText.ToolbarControls.".concat(format), + key: format + }); + }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Slot"], { + name: "RichText.ToolbarControls" + }, function (fills) { + return fills.length !== 0 && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["DropdownMenu"], { + icon: false, + label: Object(external_this_wp_i18n_["__"])('More rich text controls'), + controls: Object(external_this_lodash_["orderBy"])(fills.map(function (_ref) { + var _ref2 = Object(slicedToArray["a" /* default */])(_ref, 1), + props = _ref2[0].props; + + return props; + }), 'title'), + popoverProps: POPOVER_PROPS + }); + }))); +}; + +/* harmony default export */ var format_toolbar = (format_toolbar_FormatToolbar); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/rich-text/format-toolbar-container.js + + +/** + * WordPress dependencies + */ + +/** + * Internal dependencies + */ + + + + +var format_toolbar_container_FormatToolbarContainer = function FormatToolbarContainer(_ref) { + var inline = _ref.inline, + anchorRef = _ref.anchorRef; + + if (inline) { + // Render in popover + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Popover"], { + noArrow: true, + position: "top center", + focusOnMount: false, + anchorRef: anchorRef, + className: "block-editor-rich-text__inline-format-toolbar" + }, Object(external_this_wp_element_["createElement"])(format_toolbar, null)); + } // Render regular toolbar + + + return Object(external_this_wp_element_["createElement"])(block_format_controls, null, Object(external_this_wp_element_["createElement"])(format_toolbar, null)); +}; + +/* harmony default export */ var format_toolbar_container = (format_toolbar_container_FormatToolbarContainer); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/rich-text/shortcut.js + + + + + + + + + +/** + * WordPress dependencies + */ + + + +var shortcut_RichTextShortcut = +/*#__PURE__*/ +function (_Component) { + Object(inherits["a" /* default */])(RichTextShortcut, _Component); + + function RichTextShortcut() { + var _this; + + Object(classCallCheck["a" /* default */])(this, RichTextShortcut); + + _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(RichTextShortcut).apply(this, arguments)); + _this.onUse = _this.onUse.bind(Object(assertThisInitialized["a" /* default */])(_this)); + return _this; + } + + Object(createClass["a" /* default */])(RichTextShortcut, [{ + key: "onUse", + value: function onUse() { + this.props.onUse(); + return false; + } + }, { + key: "render", + value: function render() { + var _this$props = this.props, + character = _this$props.character, + type = _this$props.type; + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["KeyboardShortcuts"], { + bindGlobal: true, + shortcuts: Object(defineProperty["a" /* default */])({}, external_this_wp_keycodes_["rawShortcut"][type](character), this.onUse) + }); + } + }]); + + return RichTextShortcut; +}(external_this_wp_element_["Component"]); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/rich-text/toolbar-button.js + + + + +/** + * WordPress dependencies + */ + + +function RichTextToolbarButton(_ref) { + var name = _ref.name, + shortcutType = _ref.shortcutType, + shortcutCharacter = _ref.shortcutCharacter, + props = Object(objectWithoutProperties["a" /* default */])(_ref, ["name", "shortcutType", "shortcutCharacter"]); + + var shortcut; + var fillName = 'RichText.ToolbarControls'; + + if (name) { + fillName += ".".concat(name); + } + + if (shortcutType && shortcutCharacter) { + shortcut = external_this_wp_keycodes_["displayShortcut"][shortcutType](shortcutCharacter); + } + + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Fill"], { + name: fillName + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarButton"], Object(esm_extends["a" /* default */])({}, props, { + shortcut: shortcut + }))); +} + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/rich-text/input-event.js + + + + + + + +/** + * WordPress dependencies + */ + +var input_event_unstableRichTextInputEvent = +/*#__PURE__*/ +function (_Component) { + Object(inherits["a" /* default */])(__unstableRichTextInputEvent, _Component); + + function __unstableRichTextInputEvent() { + var _this; + + Object(classCallCheck["a" /* default */])(this, __unstableRichTextInputEvent); + + _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(__unstableRichTextInputEvent).apply(this, arguments)); + _this.onInput = _this.onInput.bind(Object(assertThisInitialized["a" /* default */])(_this)); + return _this; + } + + Object(createClass["a" /* default */])(__unstableRichTextInputEvent, [{ + key: "onInput", + value: function onInput(event) { + if (event.inputType === this.props.inputType) { + this.props.onInput(); + } + } + }, { + key: "componentDidMount", + value: function componentDidMount() { + document.addEventListener('input', this.onInput, true); + } + }, { + key: "componentWillUnmount", + value: function componentWillUnmount() { + document.removeEventListener('input', this.onInput, true); + } + }, { + key: "render", + value: function render() { + return null; + } + }]); + + return __unstableRichTextInputEvent; +}(external_this_wp_element_["Component"]); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/rich-text/index.js + + + + + + + + + + + + + +/** + * External dependencies + */ + + +/** + * WordPress dependencies + */ + + + + + + + + +/** + * Internal dependencies + */ + + + + + + +var wrapperClasses = 'block-editor-rich-text'; +var rich_text_classes = 'block-editor-rich-text__editable'; +/** + * Get the multiline tag based on the multiline prop. + * + * @param {?(string|boolean)} multiline The multiline prop. + * + * @return {?string} The multiline tag. + */ + +function getMultilineTag(multiline) { + if (multiline !== true && multiline !== 'p' && multiline !== 'li') { + return; + } + + return multiline === true ? 'p' : multiline; +} + +var rich_text_RichTextWrapper = +/*#__PURE__*/ +function (_Component) { + Object(inherits["a" /* default */])(RichTextWrapper, _Component); + + function RichTextWrapper() { + var _this; + + Object(classCallCheck["a" /* default */])(this, RichTextWrapper); + + _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(RichTextWrapper).apply(this, arguments)); + _this.ref = Object(external_this_wp_element_["createRef"])(); + _this.onEnter = _this.onEnter.bind(Object(assertThisInitialized["a" /* default */])(_this)); + _this.onSplit = _this.onSplit.bind(Object(assertThisInitialized["a" /* default */])(_this)); + _this.onPaste = _this.onPaste.bind(Object(assertThisInitialized["a" /* default */])(_this)); + _this.onDelete = _this.onDelete.bind(Object(assertThisInitialized["a" /* default */])(_this)); + _this.inputRule = _this.inputRule.bind(Object(assertThisInitialized["a" /* default */])(_this)); + return _this; + } + + Object(createClass["a" /* default */])(RichTextWrapper, [{ + key: "onEnter", + value: function onEnter(_ref) { + var value = _ref.value, + onChange = _ref.onChange, + shiftKey = _ref.shiftKey; + var _this$props = this.props, + onReplace = _this$props.onReplace, + onSplit = _this$props.onSplit, + multiline = _this$props.multiline, + markAutomaticChange = _this$props.markAutomaticChange; + var canSplit = onReplace && onSplit; + + if (onReplace) { + var transforms = Object(external_this_wp_blocks_["getBlockTransforms"])('from').filter(function (_ref2) { + var type = _ref2.type; + return type === 'enter'; + }); + var transformation = Object(external_this_wp_blocks_["findTransform"])(transforms, function (item) { + return item.regExp.test(value.text); + }); + + if (transformation) { + onReplace([transformation.transform({ + content: value.text + })]); + markAutomaticChange(); + } + } + + if (multiline) { + if (shiftKey) { + onChange(Object(external_this_wp_richText_["insert"])(value, '\n')); + } else if (canSplit && Object(external_this_wp_richText_["__unstableIsEmptyLine"])(value)) { + this.onSplit(value); + } else { + onChange(Object(external_this_wp_richText_["__unstableInsertLineSeparator"])(value)); + } + } else if (shiftKey || !canSplit) { + onChange(Object(external_this_wp_richText_["insert"])(value, '\n')); + } else { + this.onSplit(value); + } + } + }, { + key: "onDelete", + value: function onDelete(_ref3) { + var value = _ref3.value, + isReverse = _ref3.isReverse; + var _this$props2 = this.props, + onMerge = _this$props2.onMerge, + onRemove = _this$props2.onRemove; + + if (onMerge) { + onMerge(!isReverse); + } // Only handle remove on Backspace. This serves dual-purpose of being + // an intentional user interaction distinguishing between Backspace and + // Delete to remove the empty field, but also to avoid merge & remove + // causing destruction of two fields (merge, then removed merged). + + + if (onRemove && Object(external_this_wp_richText_["isEmpty"])(value) && isReverse) { + onRemove(!isReverse); + } + } + }, { + key: "onPaste", + value: function onPaste(_ref4) { + var value = _ref4.value, + onChange = _ref4.onChange, + html = _ref4.html, + plainText = _ref4.plainText, + files = _ref4.files, + activeFormats = _ref4.activeFormats; + var _this$props3 = this.props, + onReplace = _this$props3.onReplace, + onSplit = _this$props3.onSplit, + tagName = _this$props3.tagName, + canUserUseUnfilteredHTML = _this$props3.canUserUseUnfilteredHTML, + multiline = _this$props3.multiline, + __unstableEmbedURLOnPaste = _this$props3.__unstableEmbedURLOnPaste; // Only process file if no HTML is present. + // Note: a pasted file may have the URL as plain text. + + if (files && files.length && !html) { + var _content = Object(external_this_wp_blocks_["pasteHandler"])({ + HTML: filePasteHandler(files), + mode: 'BLOCKS', + tagName: tagName + }); // Allows us to ask for this information when we get a report. + // eslint-disable-next-line no-console + + + window.console.log('Received items:\n\n', files); + + if (onReplace && Object(external_this_wp_richText_["isEmpty"])(value)) { + onReplace(_content); + } else { + this.onSplit(value, _content); + } + + return; + } + + var mode = onReplace && onSplit ? 'AUTO' : 'INLINE'; + + if (__unstableEmbedURLOnPaste && Object(external_this_wp_richText_["isEmpty"])(value) && Object(external_this_wp_url_["isURL"])(plainText.trim())) { + mode = 'BLOCKS'; + } + + var content = Object(external_this_wp_blocks_["pasteHandler"])({ + HTML: html, + plainText: plainText, + mode: mode, + tagName: tagName, + canUserUseUnfilteredHTML: canUserUseUnfilteredHTML + }); + + if (typeof content === 'string') { + var valueToInsert = Object(external_this_wp_richText_["create"])({ + html: content + }); // If there are active formats, merge them with the pasted formats. + + if (activeFormats.length) { + var index = valueToInsert.formats.length; + + while (index--) { + valueToInsert.formats[index] = [].concat(Object(toConsumableArray["a" /* default */])(activeFormats), Object(toConsumableArray["a" /* default */])(valueToInsert.formats[index] || [])); + } + } // If the content should be multiline, we should process text + // separated by a line break as separate lines. + + + if (multiline) { + valueToInsert = Object(external_this_wp_richText_["replace"])(valueToInsert, /\n+/g, external_this_wp_richText_["__UNSTABLE_LINE_SEPARATOR"]); + } + + onChange(Object(external_this_wp_richText_["insert"])(value, valueToInsert)); + } else if (content.length > 0) { + if (onReplace && Object(external_this_wp_richText_["isEmpty"])(value)) { + onReplace(content); + } else { + this.onSplit(value, content); + } + } + } + /** + * Signals to the RichText owner that the block can be replaced with two + * blocks as a result of splitting the block by pressing enter, or with + * blocks as a result of splitting the block by pasting block content in the + * instance. + * + * @param {Object} record The rich text value to split. + * @param {Array} pastedBlocks The pasted blocks to insert, if any. + */ + + }, { + key: "onSplit", + value: function onSplit(record) { + var pastedBlocks = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : []; + var _this$props4 = this.props, + onReplace = _this$props4.onReplace, + onSplit = _this$props4.onSplit, + onSplitMiddle = _this$props4.__unstableOnSplitMiddle, + multiline = _this$props4.multiline; + + if (!onReplace || !onSplit) { + return; + } + + var blocks = []; + + var _split = Object(external_this_wp_richText_["split"])(record), + _split2 = Object(slicedToArray["a" /* default */])(_split, 2), + before = _split2[0], + after = _split2[1]; + + var hasPastedBlocks = pastedBlocks.length > 0; + var multilineTag = getMultilineTag(multiline); // Create a block with the content before the caret if there's no pasted + // blocks, or if there are pasted blocks and the value is not empty. + // We do not want a leading empty block on paste, but we do if split + // with e.g. the enter key. + + if (!hasPastedBlocks || !Object(external_this_wp_richText_["isEmpty"])(before)) { + blocks.push(onSplit(Object(external_this_wp_richText_["toHTMLString"])({ + value: before, + multilineTag: multilineTag + }))); + } + + if (hasPastedBlocks) { + blocks.push.apply(blocks, Object(toConsumableArray["a" /* default */])(pastedBlocks)); + } else if (onSplitMiddle) { + blocks.push(onSplitMiddle()); + } // If there's pasted blocks, append a block with the content after the + // caret. Otherwise, do append and empty block if there is no + // `onSplitMiddle` prop, but if there is and the content is empty, the + // middle block is enough to set focus in. + + + if (hasPastedBlocks || !onSplitMiddle || !Object(external_this_wp_richText_["isEmpty"])(after)) { + blocks.push(onSplit(Object(external_this_wp_richText_["toHTMLString"])({ + value: after, + multilineTag: multilineTag + }))); + } // If there are pasted blocks, set the selection to the last one. + // Otherwise, set the selection to the second block. + + + var indexToSelect = hasPastedBlocks ? blocks.length - 1 : 1; + onReplace(blocks, indexToSelect); + } + }, { + key: "inputRule", + value: function inputRule(value, valueToFormat) { + var _this$props5 = this.props, + onReplace = _this$props5.onReplace, + markAutomaticChange = _this$props5.markAutomaticChange; + + if (!onReplace) { + return; + } + + var start = value.start, + text = value.text; + var characterBefore = text.slice(start - 1, start); // The character right before the caret must be a plain space. + + if (characterBefore !== ' ') { + return; + } + + var trimmedTextBefore = text.slice(0, start).trim(); + var prefixTransforms = Object(external_this_wp_blocks_["getBlockTransforms"])('from').filter(function (_ref5) { + var type = _ref5.type; + return type === 'prefix'; + }); + var transformation = Object(external_this_wp_blocks_["findTransform"])(prefixTransforms, function (_ref6) { + var prefix = _ref6.prefix; + return trimmedTextBefore === prefix; + }); + + if (!transformation) { + return; + } + + var content = valueToFormat(Object(external_this_wp_richText_["slice"])(value, start, text.length)); + var block = transformation.transform(content); + onReplace([block]); + markAutomaticChange(); + } + }, { + key: "getAllowedFormats", + value: function getAllowedFormats() { + var _this$props6 = this.props, + allowedFormats = _this$props6.allowedFormats, + formattingControls = _this$props6.formattingControls; + + if (!allowedFormats && !formattingControls) { + return; + } + + if (allowedFormats) { + return allowedFormats; + } + + external_this_wp_deprecated_default()('wp.blockEditor.RichText formattingControls prop', { + alternative: 'allowedFormats' + }); + return formattingControls.map(function (name) { + return "core/".concat(name); + }); + } + }, { + key: "render", + value: function render() { + var _this2 = this; + + var _this$props7 = this.props, + children = _this$props7.children, + tagName = _this$props7.tagName, + originalValue = _this$props7.value, + originalOnChange = _this$props7.onChange, + selectionStart = _this$props7.selectionStart, + selectionEnd = _this$props7.selectionEnd, + onSelectionChange = _this$props7.onSelectionChange, + multiline = _this$props7.multiline, + inlineToolbar = _this$props7.inlineToolbar, + wrapperClassName = _this$props7.wrapperClassName, + className = _this$props7.className, + autocompleters = _this$props7.autocompleters, + onReplace = _this$props7.onReplace, + isCaretWithinFormattedText = _this$props7.isCaretWithinFormattedText, + onEnterFormattedText = _this$props7.onEnterFormattedText, + onExitFormattedText = _this$props7.onExitFormattedText, + originalIsSelected = _this$props7.isSelected, + onCreateUndoLevel = _this$props7.onCreateUndoLevel, + markAutomaticChange = _this$props7.markAutomaticChange, + didAutomaticChange = _this$props7.didAutomaticChange, + undo = _this$props7.undo, + placeholder = _this$props7.placeholder, + keepPlaceholderOnFocus = _this$props7.keepPlaceholderOnFocus, + allowedFormats = _this$props7.allowedFormats, + withoutInteractiveFormatting = _this$props7.withoutInteractiveFormatting, + onRemove = _this$props7.onRemove, + onMerge = _this$props7.onMerge, + onSplit = _this$props7.onSplit, + canUserUseUnfilteredHTML = _this$props7.canUserUseUnfilteredHTML, + instanceId = _this$props7.instanceId, + start = _this$props7.start, + reversed = _this$props7.reversed, + style = _this$props7.style, + preserveWhiteSpace = _this$props7.preserveWhiteSpace, + disabled = _this$props7.disabled, + props = Object(objectWithoutProperties["a" /* default */])(_this$props7, ["children", "tagName", "value", "onChange", "selectionStart", "selectionEnd", "onSelectionChange", "multiline", "inlineToolbar", "wrapperClassName", "className", "autocompleters", "onReplace", "isCaretWithinFormattedText", "onEnterFormattedText", "onExitFormattedText", "isSelected", "onCreateUndoLevel", "markAutomaticChange", "didAutomaticChange", "undo", "placeholder", "keepPlaceholderOnFocus", "allowedFormats", "withoutInteractiveFormatting", "onRemove", "onMerge", "onSplit", "canUserUseUnfilteredHTML", "instanceId", "start", "reversed", "style", "preserveWhiteSpace", "disabled"]); + + var multilineTag = getMultilineTag(multiline); + var adjustedAllowedFormats = this.getAllowedFormats(); + var hasFormats = !adjustedAllowedFormats || adjustedAllowedFormats.length > 0; + var adjustedValue = originalValue; + var adjustedOnChange = originalOnChange; // Handle deprecated format. + + if (Array.isArray(originalValue)) { + adjustedValue = external_this_wp_blocks_["children"].toHTML(originalValue); + + adjustedOnChange = function adjustedOnChange(newValue) { + return originalOnChange(external_this_wp_blocks_["children"].fromDOM(Object(external_this_wp_richText_["__unstableCreateElement"])(document, newValue).childNodes)); + }; + } + + var content = Object(external_this_wp_element_["createElement"])(external_this_wp_richText_["__experimentalRichText"], Object(esm_extends["a" /* default */])({}, props, { + ref: this.ref, + value: adjustedValue, + onChange: adjustedOnChange, + selectionStart: selectionStart, + selectionEnd: selectionEnd, + onSelectionChange: onSelectionChange, + tagName: tagName, + className: classnames_default()(rich_text_classes, className, { + 'is-selected': originalIsSelected, + 'keep-placeholder-on-focus': keepPlaceholderOnFocus + }), + placeholder: placeholder, + allowedFormats: adjustedAllowedFormats, + withoutInteractiveFormatting: withoutInteractiveFormatting, + onEnter: this.onEnter, + onDelete: this.onDelete, + onPaste: this.onPaste, + __unstableIsSelected: originalIsSelected, + __unstableInputRule: this.inputRule, + __unstableMultilineTag: multilineTag, + __unstableIsCaretWithinFormattedText: isCaretWithinFormattedText, + __unstableOnEnterFormattedText: onEnterFormattedText, + __unstableOnExitFormattedText: onExitFormattedText, + __unstableOnCreateUndoLevel: onCreateUndoLevel, + __unstableMarkAutomaticChange: markAutomaticChange, + __unstableDidAutomaticChange: didAutomaticChange, + __unstableUndo: undo, + style: style, + preserveWhiteSpace: preserveWhiteSpace, + disabled: disabled, + start: start, + reversed: reversed + }), function (_ref7) { + var isSelected = _ref7.isSelected, + value = _ref7.value, + onChange = _ref7.onChange, + Editable = _ref7.Editable; + return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, children && children({ + value: value, + onChange: onChange + }), isSelected && hasFormats && Object(external_this_wp_element_["createElement"])(format_toolbar_container, { + inline: inlineToolbar, + anchorRef: _this2.ref.current + }), isSelected && Object(external_this_wp_element_["createElement"])(RemoveBrowserShortcuts, null), Object(external_this_wp_element_["createElement"])(autocomplete, { + onReplace: onReplace, + completers: autocompleters, + record: value, + onChange: onChange, + isSelected: isSelected + }, function (_ref8) { + var listBoxId = _ref8.listBoxId, + activeId = _ref8.activeId, + onKeyDown = _ref8.onKeyDown; + return Object(external_this_wp_element_["createElement"])(Editable, { + "aria-autocomplete": listBoxId ? 'list' : undefined, + "aria-owns": listBoxId, + "aria-activedescendant": activeId, + start: start, + reversed: reversed, + onKeyDown: onKeyDown + }); + })); + }); + + if (!wrapperClassName) { + return content; + } + + external_this_wp_deprecated_default()('wp.blockEditor.RichText wrapperClassName prop', { + alternative: 'className prop or create your own wrapper div' + }); + return Object(external_this_wp_element_["createElement"])("div", { + className: classnames_default()(wrapperClasses, wrapperClassName) + }, content); + } + }]); + + return RichTextWrapper; +}(external_this_wp_element_["Component"]); + +var RichTextContainer = Object(external_this_wp_compose_["compose"])([external_this_wp_compose_["withInstanceId"], context_withBlockEditContext(function (_ref9, ownProps) { + var clientId = _ref9.clientId, + onCaretVerticalPositionChange = _ref9.onCaretVerticalPositionChange, + isSelected = _ref9.isSelected; + + if (external_this_wp_element_["Platform"].OS === 'web') { + return { + clientId: clientId + }; + } + + return { + clientId: clientId, + blockIsSelected: ownProps.isSelected !== undefined ? ownProps.isSelected : isSelected, + onCaretVerticalPositionChange: onCaretVerticalPositionChange + }; +}), Object(external_this_wp_data_["withSelect"])(function (select, _ref10) { + var clientId = _ref10.clientId, + instanceId = _ref10.instanceId, + _ref10$identifier = _ref10.identifier, + identifier = _ref10$identifier === void 0 ? instanceId : _ref10$identifier, + isSelected = _ref10.isSelected; + + var _select = select('core/block-editor'), + isCaretWithinFormattedText = _select.isCaretWithinFormattedText, + getSelectionStart = _select.getSelectionStart, + getSelectionEnd = _select.getSelectionEnd, + getSettings = _select.getSettings, + didAutomaticChange = _select.didAutomaticChange, + __unstableGetBlockWithoutInnerBlocks = _select.__unstableGetBlockWithoutInnerBlocks, + isMultiSelecting = _select.isMultiSelecting, + hasMultiSelection = _select.hasMultiSelection; + + var selectionStart = getSelectionStart(); + var selectionEnd = getSelectionEnd(); + + var _getSettings = getSettings(), + __experimentalCanUserUseUnfilteredHTML = _getSettings.__experimentalCanUserUseUnfilteredHTML; + + if (isSelected === undefined) { + isSelected = selectionStart.clientId === clientId && selectionStart.attributeKey === identifier; + } else if (isSelected) { + isSelected = selectionStart.clientId === clientId; + } + + var extraProps = {}; + + if (external_this_wp_element_["Platform"].OS === 'native') { + // If the block of this RichText is unmodified then it's a candidate for replacing when adding a new block. + // In order to fix https://github.com/wordpress-mobile/gutenberg-mobile/issues/1126, let's blur on unmount in that case. + // This apparently assumes functionality the BlockHlder actually + var block = clientId && __unstableGetBlockWithoutInnerBlocks(clientId); + + var shouldBlurOnUnmount = block && isSelected && Object(external_this_wp_blocks_["isUnmodifiedDefaultBlock"])(block); + extraProps = { + shouldBlurOnUnmount: shouldBlurOnUnmount + }; + } + + return Object(objectSpread["a" /* default */])({ + canUserUseUnfilteredHTML: __experimentalCanUserUseUnfilteredHTML, + isCaretWithinFormattedText: isCaretWithinFormattedText(), + selectionStart: isSelected ? selectionStart.offset : undefined, + selectionEnd: isSelected ? selectionEnd.offset : undefined, + isSelected: isSelected, + didAutomaticChange: didAutomaticChange(), + disabled: isMultiSelecting() || hasMultiSelection() + }, extraProps); +}), Object(external_this_wp_data_["withDispatch"])(function (dispatch, _ref11) { + var clientId = _ref11.clientId, + instanceId = _ref11.instanceId, + _ref11$identifier = _ref11.identifier, + identifier = _ref11$identifier === void 0 ? instanceId : _ref11$identifier; + + var _dispatch = dispatch('core/block-editor'), + __unstableMarkLastChangeAsPersistent = _dispatch.__unstableMarkLastChangeAsPersistent, + enterFormattedText = _dispatch.enterFormattedText, + exitFormattedText = _dispatch.exitFormattedText, + selectionChange = _dispatch.selectionChange, + __unstableMarkAutomaticChange = _dispatch.__unstableMarkAutomaticChange; + + var _dispatch2 = dispatch('core/editor'), + undo = _dispatch2.undo; + + return { + onCreateUndoLevel: __unstableMarkLastChangeAsPersistent, + onEnterFormattedText: enterFormattedText, + onExitFormattedText: exitFormattedText, + onSelectionChange: function onSelectionChange(start, end) { + selectionChange(clientId, identifier, start, end); + }, + markAutomaticChange: __unstableMarkAutomaticChange, + undo: undo + }; +})])(rich_text_RichTextWrapper); + +RichTextContainer.Content = function (_ref12) { + var value = _ref12.value, + Tag = _ref12.tagName, + multiline = _ref12.multiline, + props = Object(objectWithoutProperties["a" /* default */])(_ref12, ["value", "tagName", "multiline"]); + + // Handle deprecated `children` and `node` sources. + if (Array.isArray(value)) { + value = external_this_wp_blocks_["children"].toHTML(value); + } + + var MultilineTag = getMultilineTag(multiline); + + if (!value && MultilineTag) { + value = "<".concat(MultilineTag, ">"); + } + + var content = Object(external_this_wp_element_["createElement"])(external_this_wp_element_["RawHTML"], null, value); + + if (Tag) { + return Object(external_this_wp_element_["createElement"])(Tag, Object(external_this_lodash_["omit"])(props, ['format']), content); + } + + return content; +}; + +RichTextContainer.isEmpty = function (value) { + return !value || value.length === 0; +}; + +RichTextContainer.Content.defaultProps = { + format: 'string', + value: '' +}; +/** + * @see https://github.com/WordPress/gutenberg/blob/master/packages/block-editor/src/components/rich-text/README.md + */ + +/* harmony default export */ var rich_text = (RichTextContainer); + + + + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/tool-selector/index.js + + +/** + * WordPress dependencies + */ + + + + +var editIcon = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { + xmlns: "http://www.w3.org/2000/svg", + width: "20", + height: "20", + viewBox: "0 0 24 24" +}, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { + fill: "none", + d: "M0 0h24v24H0V0z" +}), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { + d: "M14.06 9.02l.92.92L5.92 19H5v-.92l9.06-9.06M17.66 3c-.25 0-.51.1-.7.29l-1.83 1.83 3.75 3.75 1.83-1.83c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.2-.2-.45-.29-.71-.29zm-3.6 3.19L3 17.25V21h3.75L17.81 9.94l-3.75-3.75z" +})); +var selectIcon = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { + xmlns: "http://www.w3.org/2000/svg", + width: "20", + height: "20", + viewBox: "0 0 24 24" +}, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { + d: "M6.5 1v21.5l6-6.5H21L6.5 1zm5.1 13l-3.1 3.4V5.9l7.8 8.1h-4.7z" +})); + +function ToolSelector() { + var isNavigationTool = Object(external_this_wp_data_["useSelect"])(function (select) { + return select('core/block-editor').isNavigationMode(); + }, []); + + var _useDispatch = Object(external_this_wp_data_["useDispatch"])('core/block-editor'), + setNavigationMode = _useDispatch.setNavigationMode; + + var isMediumViewport = Object(external_this_wp_compose_["useViewportMatch"])('medium'); + + if (!isMediumViewport) { + return null; + } + + var onSwitchMode = function onSwitchMode(mode) { + setNavigationMode(mode === 'edit' ? false : true); + }; + + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Dropdown"], { + renderToggle: function renderToggle(_ref) { + var isOpen = _ref.isOpen, + onToggle = _ref.onToggle; + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { + icon: isNavigationTool ? selectIcon : editIcon, + "aria-expanded": isOpen, + onClick: onToggle, + label: Object(external_this_wp_i18n_["__"])('Tools') + }); + }, + renderContent: function renderContent() { + return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["NavigableMenu"], { + role: "menu", + "aria-label": Object(external_this_wp_i18n_["__"])('Tools') + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuItemsChoice"], { + value: isNavigationTool ? 'select' : 'edit', + onSelect: onSwitchMode, + choices: [{ + value: 'edit', + label: Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, editIcon, Object(external_this_wp_i18n_["__"])('Edit')) + }, { + value: 'select', + label: Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, selectIcon, Object(external_this_wp_i18n_["__"])('Select')) + }] + })), Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-tool-selector__help" + }, Object(external_this_wp_i18n_["__"])('Tools offer different interactions for block selection & editing. To select, press Escape, to go back to editing, press Enter.'))); + } + }); +} + +/* harmony default export */ var tool_selector = (ToolSelector); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/url-input/button.js + + + + + + + + +/** + * WordPress dependencies + */ + + + +/** + * Internal dependencies + */ + + + +var button_URLInputButton = +/*#__PURE__*/ +function (_Component) { + Object(inherits["a" /* default */])(URLInputButton, _Component); + + function URLInputButton() { + var _this; + + Object(classCallCheck["a" /* default */])(this, URLInputButton); + + _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(URLInputButton).apply(this, arguments)); + _this.toggle = _this.toggle.bind(Object(assertThisInitialized["a" /* default */])(_this)); + _this.submitLink = _this.submitLink.bind(Object(assertThisInitialized["a" /* default */])(_this)); + _this.state = { + expanded: false + }; + return _this; + } + + Object(createClass["a" /* default */])(URLInputButton, [{ + key: "toggle", + value: function toggle() { + this.setState({ + expanded: !this.state.expanded + }); + } + }, { + key: "submitLink", + value: function submitLink(event) { + event.preventDefault(); + this.toggle(); + } + }, { + key: "render", + value: function render() { + var _this$props = this.props, + url = _this$props.url, + onChange = _this$props.onChange; + var expanded = this.state.expanded; + var buttonLabel = url ? Object(external_this_wp_i18n_["__"])('Edit link') : Object(external_this_wp_i18n_["__"])('Insert link'); + return Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-url-input__button" + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { + icon: "admin-links", + label: buttonLabel, + onClick: this.toggle, + className: "components-toolbar__control", + isPressed: !!url + }), expanded && Object(external_this_wp_element_["createElement"])("form", { + className: "block-editor-url-input__button-modal", + onSubmit: this.submitLink + }, Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-url-input__button-modal-line" + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { + className: "block-editor-url-input__back", + icon: "arrow-left-alt", + label: Object(external_this_wp_i18n_["__"])('Close'), + onClick: this.toggle + }), Object(external_this_wp_element_["createElement"])(url_input, { + value: url || '', + onChange: onChange + }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { + icon: "editor-break", + label: Object(external_this_wp_i18n_["__"])('Submit'), + type: "submit" + })))); + } + }]); + + return URLInputButton; +}(external_this_wp_element_["Component"]); +/** + * @see https://github.com/WordPress/gutenberg/blob/master/packages/block-editor/src/components/url-input/README.md + */ + + +/* harmony default export */ var url_input_button = (button_URLInputButton); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/url-popover/image-url-input-ui.js + + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + + + + +/** + * Internal dependencies + */ + + +var LINK_DESTINATION_NONE = 'none'; +var LINK_DESTINATION_CUSTOM = 'custom'; +var LINK_DESTINATION_MEDIA = 'media'; +var LINK_DESTINATION_ATTACHMENT = 'attachment'; +var NEW_TAB_REL = ['noreferrer', 'noopener']; +var image_url_input_ui_icon = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { + viewBox: "0 0 24 24", + xmlns: "http://www.w3.org/2000/svg" +}, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { + d: "M0,0h24v24H0V0z", + fill: "none" +}), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { + d: "m19 5v14h-14v-14h14m0-2h-14c-1.1 0-2 0.9-2 2v14c0 1.1 0.9 2 2 2h14c1.1 0 2-0.9 2-2v-14c0-1.1-0.9-2-2-2z" +}), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { + d: "m14.14 11.86l-3 3.87-2.14-2.59-3 3.86h12l-3.86-5.14z" +})); + +var image_url_input_ui_ImageURLInputUI = function ImageURLInputUI(_ref) { + var linkDestination = _ref.linkDestination, + onChangeUrl = _ref.onChangeUrl, + url = _ref.url, + _ref$mediaType = _ref.mediaType, + mediaType = _ref$mediaType === void 0 ? 'image' : _ref$mediaType, + mediaUrl = _ref.mediaUrl, + mediaLink = _ref.mediaLink, + linkTarget = _ref.linkTarget, + linkClass = _ref.linkClass, + rel = _ref.rel; + + var _useState = Object(external_this_wp_element_["useState"])(false), + _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2), + isOpen = _useState2[0], + setIsOpen = _useState2[1]; + + var openLinkUI = Object(external_this_wp_element_["useCallback"])(function () { + setIsOpen(true); + }); + + var _useState3 = Object(external_this_wp_element_["useState"])(false), + _useState4 = Object(slicedToArray["a" /* default */])(_useState3, 2), + isEditingLink = _useState4[0], + setIsEditingLink = _useState4[1]; + + var _useState5 = Object(external_this_wp_element_["useState"])(null), + _useState6 = Object(slicedToArray["a" /* default */])(_useState5, 2), + urlInput = _useState6[0], + setUrlInput = _useState6[1]; + + var autocompleteRef = Object(external_this_wp_element_["useRef"])(null); + + var stopPropagation = function stopPropagation(event) { + event.stopPropagation(); + }; + + var stopPropagationRelevantKeys = function stopPropagationRelevantKeys(event) { + if ([external_this_wp_keycodes_["LEFT"], external_this_wp_keycodes_["DOWN"], external_this_wp_keycodes_["RIGHT"], external_this_wp_keycodes_["UP"], external_this_wp_keycodes_["BACKSPACE"], external_this_wp_keycodes_["ENTER"]].indexOf(event.keyCode) > -1) { + // Stop the key event from propagating up to ObserveTyping.startTypingInTextField. + event.stopPropagation(); + } + }; + + var startEditLink = Object(external_this_wp_element_["useCallback"])(function () { + if (linkDestination === LINK_DESTINATION_MEDIA || linkDestination === LINK_DESTINATION_ATTACHMENT) { + setUrlInput(''); + } + + setIsEditingLink(true); + }); + var stopEditLink = Object(external_this_wp_element_["useCallback"])(function () { + setIsEditingLink(false); + }); + var closeLinkUI = Object(external_this_wp_element_["useCallback"])(function () { + setUrlInput(null); + stopEditLink(); + setIsOpen(false); + }); + + var removeNewTabRel = function removeNewTabRel(currentRel) { + var newRel = currentRel; + + if (currentRel !== undefined && !Object(external_this_lodash_["isEmpty"])(newRel)) { + if (!Object(external_this_lodash_["isEmpty"])(newRel)) { + Object(external_this_lodash_["each"])(NEW_TAB_REL, function (relVal) { + var regExp = new RegExp('\\b' + relVal + '\\b', 'gi'); + newRel = newRel.replace(regExp, ''); + }); // Only trim if NEW_TAB_REL values was replaced. + + if (newRel !== currentRel) { + newRel = newRel.trim(); + } + + if (Object(external_this_lodash_["isEmpty"])(newRel)) { + newRel = undefined; + } + } + } + + return newRel; + }; + + var getUpdatedLinkTargetSettings = function getUpdatedLinkTargetSettings(value) { + var newLinkTarget = value ? '_blank' : undefined; + var updatedRel; + + if (!newLinkTarget && !rel) { + updatedRel = undefined; + } else { + updatedRel = removeNewTabRel(rel); + } + + return { + linkTarget: newLinkTarget, + rel: updatedRel + }; + }; + + var onFocusOutside = Object(external_this_wp_element_["useCallback"])(function () { + return function (event) { + // The autocomplete suggestions list renders in a separate popover (in a portal), + // so onFocusOutside fails to detect that a click on a suggestion occurred in the + // LinkContainer. Detect clicks on autocomplete suggestions using a ref here, and + // return to avoid the popover being closed. + var autocompleteElement = autocompleteRef.current; + + if (autocompleteElement && autocompleteElement.contains(event.target)) { + return; + } + + setIsOpen(false); + setUrlInput(null); + stopEditLink(); + }; + }); + var onSubmitLinkChange = Object(external_this_wp_element_["useCallback"])(function () { + return function (event) { + if (urlInput) { + onChangeUrl({ + href: urlInput + }); + } + + stopEditLink(); + setUrlInput(null); + event.preventDefault(); + }; + }); + var onLinkRemove = Object(external_this_wp_element_["useCallback"])(function () { + onChangeUrl({ + linkDestination: LINK_DESTINATION_NONE, + href: '' + }); + }); + + var getLinkDestinations = function getLinkDestinations() { + return [{ + linkDestination: LINK_DESTINATION_MEDIA, + title: Object(external_this_wp_i18n_["__"])('Media File'), + url: mediaType === 'image' ? mediaUrl : undefined, + icon: image_url_input_ui_icon + }, { + linkDestination: LINK_DESTINATION_ATTACHMENT, + title: Object(external_this_wp_i18n_["__"])('Attachment Page'), + url: mediaType === 'image' ? mediaLink : undefined, + icon: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { + viewBox: "0 0 24 24", + xmlns: "http://www.w3.org/2000/svg" + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { + d: "M0 0h24v24H0V0z", + fill: "none" + }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { + d: "M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zM6 20V4h7v5h5v11H6z" + })) + }]; + }; + + var onSetHref = function onSetHref(value) { + var linkDestinations = getLinkDestinations(); + var linkDestinationInput; + + if (!value) { + linkDestinationInput = LINK_DESTINATION_NONE; + } else { + linkDestinationInput = (Object(external_this_lodash_["find"])(linkDestinations, function (destination) { + return destination.url === value; + }) || { + linkDestination: LINK_DESTINATION_CUSTOM + }).linkDestination; + } + + onChangeUrl({ + linkDestination: linkDestinationInput, + href: value + }); + }; + + var onSetNewTab = function onSetNewTab(value) { + var updatedLinkTarget = getUpdatedLinkTargetSettings(value); + onChangeUrl(updatedLinkTarget); + }; + + var onSetLinkRel = function onSetLinkRel(value) { + onChangeUrl({ + rel: value + }); + }; + + var onSetLinkClass = function onSetLinkClass(value) { + onChangeUrl({ + linkClass: value + }); + }; + + var advancedOptions = Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], { + label: Object(external_this_wp_i18n_["__"])('Open in New Tab'), + onChange: onSetNewTab, + checked: linkTarget === '_blank' + }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TextControl"], { + label: Object(external_this_wp_i18n_["__"])('Link Rel'), + value: removeNewTabRel(rel) || '', + onChange: onSetLinkRel, + onKeyPress: stopPropagation, + onKeyDown: stopPropagationRelevantKeys + }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TextControl"], { + label: Object(external_this_wp_i18n_["__"])('Link CSS Class'), + value: linkClass || '', + onKeyPress: stopPropagation, + onKeyDown: stopPropagationRelevantKeys, + onChange: onSetLinkClass + })); + var linkEditorValue = urlInput !== null ? urlInput : url; + var urlLabel = (Object(external_this_lodash_["find"])(getLinkDestinations(), ['linkDestination', linkDestination]) || {}).title; + return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { + icon: "admin-links", + className: "components-toolbar__control", + label: url ? Object(external_this_wp_i18n_["__"])('Edit link') : Object(external_this_wp_i18n_["__"])('Insert link'), + "aria-expanded": isOpen, + onClick: openLinkUI + }), isOpen && Object(external_this_wp_element_["createElement"])(url_popover, { + onFocusOutside: onFocusOutside(), + onClose: closeLinkUI, + renderSettings: function renderSettings() { + return advancedOptions; + }, + additionalControls: !linkEditorValue && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["NavigableMenu"], null, Object(external_this_lodash_["map"])(getLinkDestinations(), function (link) { + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuItem"], { + key: link.linkDestination, + icon: link.icon, + onClick: function onClick() { + setUrlInput(null); + onSetHref(link.url); + stopEditLink(); + } + }, link.title); + })) + }, (!url || isEditingLink) && Object(external_this_wp_element_["createElement"])(url_popover.LinkEditor, { + className: "editor-format-toolbar__link-container-content block-editor-format-toolbar__link-container-content", + value: linkEditorValue, + onChangeInputValue: setUrlInput, + onKeyDown: stopPropagationRelevantKeys, + onKeyPress: stopPropagation, + onSubmit: onSubmitLinkChange(), + autocompleteRef: autocompleteRef + }), url && !isEditingLink && Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(url_popover.LinkViewer, { + className: "editor-format-toolbar__link-container-content block-editor-format-toolbar__link-container-content", + onKeyPress: stopPropagation, + url: url, + onEditLinkClick: startEditLink, + urlLabel: urlLabel + }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { + icon: "no", + label: Object(external_this_wp_i18n_["__"])('Remove link'), + onClick: onLinkRemove + })))); +}; + + + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-settings-menu/block-settings-menu-first-item.js +/** + * WordPress dependencies + */ + + +var block_settings_menu_first_item_createSlotFill = Object(external_this_wp_components_["createSlotFill"])('__experimentalBlockSettingsMenuFirstItem'), + __experimentalBlockSettingsMenuFirstItem = block_settings_menu_first_item_createSlotFill.Fill, + block_settings_menu_first_item_Slot = block_settings_menu_first_item_createSlotFill.Slot; + +__experimentalBlockSettingsMenuFirstItem.Slot = block_settings_menu_first_item_Slot; +/* harmony default export */ var block_settings_menu_first_item = (__experimentalBlockSettingsMenuFirstItem); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-settings-menu/block-settings-menu-plugins-extension.js +/** + * WordPress dependencies + */ + + +var block_settings_menu_plugins_extension_createSlotFill = Object(external_this_wp_components_["createSlotFill"])('__experimentalBlockSettingsMenuPluginsExtension'), + __experimentalBlockSettingsMenuPluginsExtension = block_settings_menu_plugins_extension_createSlotFill.Fill, + block_settings_menu_plugins_extension_Slot = block_settings_menu_plugins_extension_createSlotFill.Slot; + +__experimentalBlockSettingsMenuPluginsExtension.Slot = block_settings_menu_plugins_extension_Slot; +/* harmony default export */ var block_settings_menu_plugins_extension = (__experimentalBlockSettingsMenuPluginsExtension); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/page-template-picker/button.js + + +/** + * WordPress dependencies + */ + + +var button_PickerButton = function PickerButton(props) { + var label = props.label, + onPress = props.onPress; + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { + onClick: onPress + }, label); +}; + +/* harmony default export */ var page_template_picker_button = (button_PickerButton); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/page-template-picker/container.js + + +var container_Container = function Container(_ref) { + var children = _ref.children; + return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, children); +}; + +/* harmony default export */ var page_template_picker_container = (container_Container); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/page-template-picker/default-templates.js +var defaultTemplates = [{ + name: 'About', + content: '

Visitors will want to know who is on the other side of the page. Use this space to write about yourself, your site, your business, or anything you want. Use the testimonials below to quote others, talking about the same thing – in their own words.

' +}, { + name: 'Contact', + content: '

Let\'s talk 👋 Don\'t hesitate to reach out with the contact information below, or send a message using the form.

' +}]; +/* harmony default export */ var default_templates = (defaultTemplates); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/page-template-picker/picker.js + + +/** + * WordPress dependencies + */ + + +/** + * Internal dependencies + */ + + + + + + +var picker_experimentalPageTemplatePicker = function __experimentalPageTemplatePicker(_ref) { + var _ref$templates = _ref.templates, + templates = _ref$templates === void 0 ? default_templates : _ref$templates, + resetContent = _ref.resetContent; + return Object(external_this_wp_element_["createElement"])(block_list_footer, null, Object(external_this_wp_element_["createElement"])(page_template_picker_container, { + style: { + flexDirection: 'row' + } + }, templates.map(function (_ref2) { + var name = _ref2.name, + content = _ref2.content; + return Object(external_this_wp_element_["createElement"])(page_template_picker_button, { + key: name, + onPress: function onPress() { + return resetContent(content); + }, + label: name + }); + }))); +}; + +/* harmony default export */ var picker = (Object(external_this_wp_data_["withDispatch"])(function (dispatch) { + var _dispatch = dispatch('core/editor'), + resetEditorBlocks = _dispatch.resetEditorBlocks; + + return { + resetContent: function resetContent(html) { + var blocks = Object(external_this_wp_blocks_["parse"])(html); + return resetEditorBlocks(blocks); + } + }; +})(picker_experimentalPageTemplatePicker)); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/page-template-picker/use-page-template-picker-visible.js +/** + * WordPress dependencies + */ + + + +var use_page_template_picker_visible_experimentalUsePageTemplatePickerVisible = function __experimentalUsePageTemplatePickerVisible() { + return Object(external_this_wp_data_["useSelect"])(function (select) { + var _select = select('core/editor'), + getCurrentPostType = _select.getCurrentPostType; + + var _select2 = select('core/block-editor'), + getBlockOrder = _select2.getBlockOrder, + getBlock = _select2.getBlock, + getSettings = _select2.getSettings; + + var isPageTemplatesEnabled = getSettings().__experimentalEnablePageTemplates; + + var blocks = getBlockOrder(); + var isEmptyBlockList = blocks.length === 0; + var firstBlock = !isEmptyBlockList && getBlock(blocks[0]); + var isOnlyUnmodifiedDefault = blocks.length === 1 && Object(external_this_wp_blocks_["isUnmodifiedDefaultBlock"])(firstBlock); + var isEmptyContent = isEmptyBlockList || isOnlyUnmodifiedDefault; + var isPage = getCurrentPostType() === 'page'; + return isPageTemplatesEnabled && isEmptyContent && isPage; + }, []); +}; + +/* harmony default export */ var use_page_template_picker_visible = (use_page_template_picker_visible_experimentalUsePageTemplatePickerVisible); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/page-template-picker/with-page-template-picker-visible.js + + + +/** + * WordPress dependencies + */ + +/** + * Internal dependencies + */ + + + +var __experimentalWithPageTemplatePickerVisible = Object(external_this_wp_compose_["createHigherOrderComponent"])(function (WrappedComponent) { + return function (props) { + var showPageTemplatePicker = use_page_template_picker_visible(); + + return Object(external_this_wp_element_["createElement"])(WrappedComponent, Object(esm_extends["a" /* default */])({}, props, { + showPageTemplatePicker: showPageTemplatePicker + })); + }; +}, '__experimentalWithPageTemplatePickerVisible'); + +/* harmony default export */ var with_page_template_picker_visible = (__experimentalWithPageTemplatePickerVisible); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/page-template-picker/index.js +/** + * Internal dependencies + */ + + + + + + + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/skip-to-selected-block/index.js + + +/** + * WordPress dependencies + */ + + + +/** + * Internal dependencies + */ + + + +var skip_to_selected_block_SkipToSelectedBlock = function SkipToSelectedBlock(_ref) { + var selectedBlockClientId = _ref.selectedBlockClientId; + + var onClick = function onClick() { + var selectedBlockElement = getBlockFocusableWrapper(selectedBlockClientId); + selectedBlockElement.focus(); + }; + + return selectedBlockClientId && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { + isSecondary: true, + className: "block-editor-skip-to-selected-block", + onClick: onClick + }, Object(external_this_wp_i18n_["__"])('Skip to the selected block')); +}; + +/* harmony default export */ var skip_to_selected_block = (Object(external_this_wp_data_["withSelect"])(function (select) { + return { + selectedBlockClientId: select('core/block-editor').getBlockSelectionStart() + }; +})(skip_to_selected_block_SkipToSelectedBlock)); + +// EXTERNAL MODULE: external {"this":["wp","tokenList"]} +var external_this_wp_tokenList_ = __webpack_require__(144); +var external_this_wp_tokenList_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_tokenList_); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-styles/index.js + + + + +/** + * External dependencies + */ + + +/** + * WordPress dependencies + */ + + + + + + + +/** + * Internal dependencies + */ + + +/** + * Returns the active style from the given className. + * + * @param {Array} styles Block style variations. + * @param {string} className Class name + * + * @return {Object?} The active style. + */ + +function getActiveStyle(styles, className) { + var _iteratorNormalCompletion = true; + var _didIteratorError = false; + var _iteratorError = undefined; + + try { + for (var _iterator = new external_this_wp_tokenList_default.a(className).values()[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) { + var style = _step.value; + + if (style.indexOf('is-style-') === -1) { + continue; + } + + var potentialStyleName = style.substring(9); + var activeStyle = Object(external_this_lodash_["find"])(styles, { + name: potentialStyleName + }); + + if (activeStyle) { + return activeStyle; + } + } + } catch (err) { + _didIteratorError = true; + _iteratorError = err; + } finally { + try { + if (!_iteratorNormalCompletion && _iterator.return != null) { + _iterator.return(); + } + } finally { + if (_didIteratorError) { + throw _iteratorError; + } + } + } + + return Object(external_this_lodash_["find"])(styles, 'isDefault'); +} +/** + * Replaces the active style in the block's className. + * + * @param {string} className Class name. + * @param {Object?} activeStyle The replaced style. + * @param {Object} newStyle The replacing style. + * + * @return {string} The updated className. + */ + +function replaceActiveStyle(className, activeStyle, newStyle) { + var list = new external_this_wp_tokenList_default.a(className); + + if (activeStyle) { + list.remove('is-style-' + activeStyle.name); + } + + list.add('is-style-' + newStyle.name); + return list.value; +} + +function BlockStyles(_ref) { + var styles = _ref.styles, + className = _ref.className, + onChangeClassName = _ref.onChangeClassName, + type = _ref.type, + block = _ref.block, + _ref$onSwitch = _ref.onSwitch, + onSwitch = _ref$onSwitch === void 0 ? external_this_lodash_["noop"] : _ref$onSwitch, + _ref$onHoverClassName = _ref.onHoverClassName, + onHoverClassName = _ref$onHoverClassName === void 0 ? external_this_lodash_["noop"] : _ref$onHoverClassName; + + if (!styles || styles.length === 0) { + return null; + } + + if (!type.styles && !Object(external_this_lodash_["find"])(styles, 'isDefault')) { + styles = [{ + name: 'default', + label: Object(external_this_wp_i18n_["_x"])('Default', 'block style'), + isDefault: true + }].concat(Object(toConsumableArray["a" /* default */])(styles)); + } + + var activeStyle = getActiveStyle(styles, className); + + function updateClassName(style) { + var updatedClassName = replaceActiveStyle(className, activeStyle, style); + onChangeClassName(updatedClassName); + onHoverClassName(null); + onSwitch(); + } + + return Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-block-styles" + }, styles.map(function (style) { + var styleClassName = replaceActiveStyle(className, activeStyle, style); + return Object(external_this_wp_element_["createElement"])("div", { + key: style.name, + className: classnames_default()('block-editor-block-styles__item', { + 'is-active': activeStyle === style + }), + onClick: function onClick() { + return updateClassName(style); + }, + onKeyDown: function onKeyDown(event) { + if (external_this_wp_keycodes_["ENTER"] === event.keyCode || external_this_wp_keycodes_["SPACE"] === event.keyCode) { + event.preventDefault(); + updateClassName(style); + } + }, + onMouseEnter: function onMouseEnter() { + return onHoverClassName(styleClassName); + }, + onMouseLeave: function onMouseLeave() { + return onHoverClassName(null); + }, + role: "button", + tabIndex: "0", + "aria-label": style.label || style.name + }, Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-block-styles__item-preview" + }, Object(external_this_wp_element_["createElement"])(block_preview, { + viewportWidth: 500, + blocks: type.example ? Object(external_this_wp_blocks_["getBlockFromExample"])(block.name, { + attributes: Object(objectSpread["a" /* default */])({}, type.example.attributes, { + className: styleClassName + }), + innerBlocks: type.example.innerBlocks + }) : Object(external_this_wp_blocks_["cloneBlock"])(block, { + className: styleClassName + }) + })), Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-block-styles__item-label" + }, style.label || style.name)); + })); +} + +/* harmony default export */ var block_styles = (Object(external_this_wp_compose_["compose"])([Object(external_this_wp_data_["withSelect"])(function (select, _ref2) { + var clientId = _ref2.clientId; + + var _select = select('core/block-editor'), + getBlock = _select.getBlock; + + var _select2 = select('core/blocks'), + getBlockStyles = _select2.getBlockStyles; + + var block = getBlock(clientId); + var blockType = Object(external_this_wp_blocks_["getBlockType"])(block.name); + return { + block: block, + className: block.attributes.className || '', + styles: getBlockStyles(block.name), + type: blockType + }; +}), Object(external_this_wp_data_["withDispatch"])(function (dispatch, _ref3) { + var clientId = _ref3.clientId; + return { + onChangeClassName: function onChangeClassName(newClassName) { + dispatch('core/block-editor').updateBlockAttributes(clientId, { + className: newClassName + }); + } + }; +})])(BlockStyles)); + +// EXTERNAL MODULE: external {"this":["wp","wordcount"]} +var external_this_wp_wordcount_ = __webpack_require__(97); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/multi-selection-inspector/index.js + + +/** + * WordPress dependencies + */ + + + + + +/** + * Internal dependencies + */ + + + +function MultiSelectionInspector(_ref) { + var blocks = _ref.blocks; + var words = Object(external_this_wp_wordcount_["count"])(Object(external_this_wp_blocks_["serialize"])(blocks), 'words'); + return Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-multi-selection-inspector__card" + }, Object(external_this_wp_element_["createElement"])(BlockIcon, { + icon: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { + xmlns: "http://www.w3.org/2000/svg", + viewBox: "0 0 24 24" + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { + d: "M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm18-4H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z" + })), + showColors: true + }), Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-multi-selection-inspector__card-content" + }, Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-multi-selection-inspector__card-title" + }, + /* translators: %d: number of blocks */ + Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["_n"])('%d block', '%d blocks', blocks.length), blocks.length)), Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-multi-selection-inspector__card-description" + }, + /* translators: %d: number of words */ + Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["_n"])('%d word', '%d words', words), words)))); +} + +/* harmony default export */ var multi_selection_inspector = (Object(external_this_wp_data_["withSelect"])(function (select) { + var _select = select('core/block-editor'), + getMultiSelectedBlocks = _select.getMultiSelectedBlocks; + + return { + blocks: getMultiSelectedBlocks() + }; +})(MultiSelectionInspector)); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/default-style-picker/index.js + + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + + + + +function DefaultStylePicker(_ref) { + var blockName = _ref.blockName; + + var _useSelect = Object(external_this_wp_data_["useSelect"])(function (select) { + var settings = select('core/block-editor').getSettings(); + var preferredStyleVariations = settings.__experimentalPreferredStyleVariations; + return { + preferredStyle: Object(external_this_lodash_["get"])(preferredStyleVariations, ['value', blockName]), + onUpdatePreferredStyleVariations: Object(external_this_lodash_["get"])(preferredStyleVariations, ['onChange'], null), + styles: select('core/blocks').getBlockStyles(blockName) + }; + }, [blockName]), + preferredStyle = _useSelect.preferredStyle, + onUpdatePreferredStyleVariations = _useSelect.onUpdatePreferredStyleVariations, + styles = _useSelect.styles; + + var selectOptions = Object(external_this_wp_element_["useMemo"])(function () { + return [{ + label: Object(external_this_wp_i18n_["__"])('Not set'), + value: '' + }].concat(Object(toConsumableArray["a" /* default */])(styles.map(function (_ref2) { + var label = _ref2.label, + name = _ref2.name; + return { + label: label, + value: name + }; + }))); + }, [styles]); + var selectOnChange = Object(external_this_wp_element_["useCallback"])(function (blockStyle) { + onUpdatePreferredStyleVariations(blockName, blockStyle); + }, [blockName, onUpdatePreferredStyleVariations]); + return onUpdatePreferredStyleVariations && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SelectControl"], { + options: selectOptions, + value: preferredStyle || '', + label: Object(external_this_wp_i18n_["__"])('Default Style'), + onChange: selectOnChange + }); +} + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-inspector/index.js + + +/** + * WordPress dependencies + */ + + + + +/** + * Internal dependencies + */ + + + + + + + + + +var block_inspector_BlockInspector = function BlockInspector(_ref) { + var blockType = _ref.blockType, + count = _ref.count, + hasBlockStyles = _ref.hasBlockStyles, + selectedBlockClientId = _ref.selectedBlockClientId, + selectedBlockName = _ref.selectedBlockName, + _ref$showNoBlockSelec = _ref.showNoBlockSelectedMessage, + showNoBlockSelectedMessage = _ref$showNoBlockSelec === void 0 ? true : _ref$showNoBlockSelec; + + if (count > 1) { + return Object(external_this_wp_element_["createElement"])(multi_selection_inspector, null); + } + + var isSelectedBlockUnregistered = selectedBlockName === Object(external_this_wp_blocks_["getUnregisteredTypeHandlerName"])(); + /* + * If the selected block is of an unregistered type, avoid showing it as an actual selection + * because we want the user to focus on the unregistered block warning, not block settings. + */ + + if (!blockType || !selectedBlockClientId || isSelectedBlockUnregistered) { + if (showNoBlockSelectedMessage) { + return Object(external_this_wp_element_["createElement"])("span", { + className: "block-editor-block-inspector__no-blocks" + }, Object(external_this_wp_i18n_["__"])('No block selected.')); + } + + return null; + } + + return Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-block-inspector" + }, Object(external_this_wp_element_["createElement"])(block_card, { + blockType: blockType + }), hasBlockStyles && Object(external_this_wp_element_["createElement"])("div", null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], { + title: Object(external_this_wp_i18n_["__"])('Styles'), + initialOpen: false + }, Object(external_this_wp_element_["createElement"])(block_styles, { + clientId: selectedBlockClientId + }), Object(external_this_wp_element_["createElement"])(DefaultStylePicker, { + blockName: blockType.name + }))), Object(external_this_wp_element_["createElement"])(inspector_controls.Slot, { + bubblesVirtually: true + }), Object(external_this_wp_element_["createElement"])("div", null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["__experimentalSlotFillConsumer"], null, function (_ref2) { + var hasFills = _ref2.hasFills; + return hasFills(inspector_advanced_controls.slotName) && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], { + className: "block-editor-block-inspector__advanced", + title: Object(external_this_wp_i18n_["__"])('Advanced'), + initialOpen: false + }, Object(external_this_wp_element_["createElement"])(inspector_advanced_controls.Slot, { + bubblesVirtually: true + })); + })), Object(external_this_wp_element_["createElement"])(skip_to_selected_block, { + key: "back" + })); +}; + +/* harmony default export */ var block_inspector = (Object(external_this_wp_data_["withSelect"])(function (select) { + var _select = select('core/block-editor'), + getSelectedBlockClientId = _select.getSelectedBlockClientId, + getSelectedBlockCount = _select.getSelectedBlockCount, + getBlockName = _select.getBlockName; + + var _select2 = select('core/blocks'), + getBlockStyles = _select2.getBlockStyles; + + var selectedBlockClientId = getSelectedBlockClientId(); + var selectedBlockName = selectedBlockClientId && getBlockName(selectedBlockClientId); + var blockType = selectedBlockClientId && Object(external_this_wp_blocks_["getBlockType"])(selectedBlockName); + var blockStyles = selectedBlockClientId && getBlockStyles(selectedBlockName); + return { + count: getSelectedBlockCount(), + hasBlockStyles: blockStyles && blockStyles.length > 0, + selectedBlockName: selectedBlockName, + selectedBlockClientId: selectedBlockClientId, + blockType: blockType + }; +})(block_inspector_BlockInspector)); // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-mover/mover-description.js /** @@ -12186,13 +21265,13 @@ function (_Component) { // the rendering parent, leaving it unable to react to focus out. - return Object(external_this_wp_element_["createElement"])("div", { - className: classnames_default()('editor-block-mover block-editor-block-mover', { + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], { + className: classnames_default()('block-editor-block-mover', { 'is-visible': isFocused || !isHidden, 'is-horizontal': orientation === 'horizontal' }) - }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], { - className: "editor-block-mover__control block-editor-block-mover__control", + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { + className: "block-editor-block-mover__control", onClick: isFirst ? null : onMoveUp, icon: getArrowIcon('up') // translators: %s: Horizontal direction of block movement ( left, right ) , @@ -12206,16 +21285,19 @@ function (_Component) { }, function (_ref) { var onDraggableStart = _ref.onDraggableStart, onDraggableEnd = _ref.onDraggableEnd; - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], { + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { icon: dragHandle, - className: "block-editor-block-mover__control-drag-handle editor-block-mover__control block-editor-block-mover__control", - "aria-hidden": "true", + className: "block-editor-block-mover__control-drag-handle block-editor-block-mover__control", + "aria-hidden": "true" // Should not be able to tab to drag handle as this + // button can only be used with a pointer device. + , + tabIndex: "-1", onDragStart: onDraggableStart, onDragEnd: onDraggableEnd, draggable: true }); - }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], { - className: "editor-block-mover__control block-editor-block-mover__control", + }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { + className: "block-editor-block-mover__control", onClick: isLast ? null : onMoveDown, icon: getArrowIcon('down') // translators: %s: Horizontal direction of block movement ( left, right ) , @@ -12226,10 +21308,10 @@ function (_Component) { onBlur: this.onBlur }), Object(external_this_wp_element_["createElement"])("span", { id: "block-editor-block-mover__up-description-".concat(instanceId), - className: "editor-block-mover__description block-editor-block-mover__description" + className: "block-editor-block-mover__description" }, getBlockMoverDescription(blocksCount, blockType && blockType.title, firstIndex, isFirst, isLast, -1, orientation, isRTL)), Object(external_this_wp_element_["createElement"])("span", { id: "block-editor-block-mover__down-description-".concat(instanceId), - className: "editor-block-mover__description block-editor-block-mover__description" + className: "block-editor-block-mover__description" }, getBlockMoverDescription(blocksCount, blockType && blockType.title, firstIndex, isFirst, isLast, 1, orientation, isRTL))); } }]); @@ -12283,8511 +21365,6 @@ function (_Component) { }; }), external_this_wp_compose_["withInstanceId"])(block_mover_BlockMover)); -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/warning/index.js - - -/** - * External dependencies - */ - -/** - * WordPress dependencies - */ - - - - - -function Warning(_ref) { - var className = _ref.className, - actions = _ref.actions, - children = _ref.children, - secondaryActions = _ref.secondaryActions; - return Object(external_this_wp_element_["createElement"])("div", { - className: classnames_default()(className, 'editor-warning block-editor-warning') - }, Object(external_this_wp_element_["createElement"])("div", { - className: "editor-warning__contents block-editor-warning__contents" - }, Object(external_this_wp_element_["createElement"])("p", { - className: "editor-warning__message block-editor-warning__message" - }, children), external_this_wp_element_["Children"].count(actions) > 0 && Object(external_this_wp_element_["createElement"])("div", { - className: "editor-warning__actions block-editor-warning__actions" - }, external_this_wp_element_["Children"].map(actions, function (action, i) { - return Object(external_this_wp_element_["createElement"])("span", { - key: i, - className: "editor-warning__action block-editor-warning__action" - }, action); - }))), secondaryActions && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Dropdown"], { - className: "editor-warning__secondary block-editor-warning__secondary", - position: "bottom left", - renderToggle: function renderToggle(_ref2) { - var isOpen = _ref2.isOpen, - onToggle = _ref2.onToggle; - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], { - icon: "ellipsis", - label: Object(external_this_wp_i18n_["__"])('More options'), - onClick: onToggle, - "aria-expanded": isOpen - }); - }, - renderContent: function renderContent() { - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuGroup"], null, secondaryActions.map(function (item, pos) { - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuItem"], { - onClick: item.onClick, - key: pos - }, item.title); - })); - } - })); -} - -/* harmony default export */ var warning = (Warning); - -// EXTERNAL MODULE: ./node_modules/diff/dist/diff.js -var dist_diff = __webpack_require__(217); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-compare/block-view.js - - -/** - * WordPress dependencies - */ - - -var block_view_BlockView = function BlockView(_ref) { - var title = _ref.title, - rawContent = _ref.rawContent, - renderedContent = _ref.renderedContent, - action = _ref.action, - actionText = _ref.actionText, - className = _ref.className; - return Object(external_this_wp_element_["createElement"])("div", { - className: className - }, Object(external_this_wp_element_["createElement"])("div", { - className: "editor-block-compare__content block-editor-block-compare__content" - }, Object(external_this_wp_element_["createElement"])("h2", { - className: "editor-block-compare__heading block-editor-block-compare__heading" - }, title), Object(external_this_wp_element_["createElement"])("div", { - className: "editor-block-compare__html block-editor-block-compare__html" - }, rawContent), Object(external_this_wp_element_["createElement"])("div", { - className: "editor-block-compare__preview block-editor-block-compare__preview edit-post-visual-editor" - }, renderedContent)), Object(external_this_wp_element_["createElement"])("div", { - className: "editor-block-compare__action block-editor-block-compare__action" - }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { - isLarge: true, - tabIndex: "0", - onClick: action - }, actionText))); -}; - -/* harmony default export */ var block_view = (block_view_BlockView); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-compare/index.js - - - - - - - -/** - * External dependencies - */ - - - -/** - * WordPress dependencies - */ - - - - -/** - * Internal dependencies - */ - - - -var block_compare_BlockCompare = -/*#__PURE__*/ -function (_Component) { - Object(inherits["a" /* default */])(BlockCompare, _Component); - - function BlockCompare() { - Object(classCallCheck["a" /* default */])(this, BlockCompare); - - return Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(BlockCompare).apply(this, arguments)); - } - - Object(createClass["a" /* default */])(BlockCompare, [{ - key: "getDifference", - value: function getDifference(originalContent, newContent) { - var difference = Object(dist_diff["diffChars"])(originalContent, newContent); - return difference.map(function (item, pos) { - var classes = classnames_default()({ - 'editor-block-compare__added block-editor-block-compare__added': item.added, - 'editor-block-compare__removed block-editor-block-compare__removed': item.removed - }); - return Object(external_this_wp_element_["createElement"])("span", { - key: pos, - className: classes - }, item.value); - }); - } - }, { - key: "getOriginalContent", - value: function getOriginalContent(block) { - return { - rawContent: block.originalContent, - renderedContent: Object(external_this_wp_blocks_["getSaveElement"])(block.name, block.attributes) - }; - } - }, { - key: "getConvertedContent", - value: function getConvertedContent(block) { - // The convertor may return an array of items or a single item - var newBlocks = Object(external_this_lodash_["castArray"])(block); // Get converted block details - - var newContent = newBlocks.map(function (item) { - return Object(external_this_wp_blocks_["getSaveContent"])(item.name, item.attributes, item.innerBlocks); - }); - var renderedContent = newBlocks.map(function (item) { - return Object(external_this_wp_blocks_["getSaveElement"])(item.name, item.attributes, item.innerBlocks); - }); - return { - rawContent: newContent.join(''), - renderedContent: renderedContent - }; - } - }, { - key: "render", - value: function render() { - var _this$props = this.props, - block = _this$props.block, - onKeep = _this$props.onKeep, - onConvert = _this$props.onConvert, - convertor = _this$props.convertor, - convertButtonText = _this$props.convertButtonText; - var original = this.getOriginalContent(block); - var converted = this.getConvertedContent(convertor(block)); - var difference = this.getDifference(original.rawContent, converted.rawContent); - return Object(external_this_wp_element_["createElement"])("div", { - className: "editor-block-compare__wrapper block-editor-block-compare__wrapper" - }, Object(external_this_wp_element_["createElement"])(block_view, { - title: Object(external_this_wp_i18n_["__"])('Current'), - className: "editor-block-compare__current block-editor-block-compare__current", - action: onKeep, - actionText: Object(external_this_wp_i18n_["__"])('Convert to HTML'), - rawContent: original.rawContent, - renderedContent: original.renderedContent - }), Object(external_this_wp_element_["createElement"])(block_view, { - title: Object(external_this_wp_i18n_["__"])('After Conversion'), - className: "editor-block-compare__converted block-editor-block-compare__converted", - action: onConvert, - actionText: convertButtonText, - rawContent: difference, - renderedContent: converted.renderedContent - })); - } - }]); - - return BlockCompare; -}(external_this_wp_element_["Component"]); - -/* harmony default export */ var block_compare = (block_compare_BlockCompare); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/block-invalid-warning.js - - - - - - - - -/** - * WordPress dependencies - */ - - - - - - -/** - * Internal dependencies - */ - - - -var block_invalid_warning_BlockInvalidWarning = -/*#__PURE__*/ -function (_Component) { - Object(inherits["a" /* default */])(BlockInvalidWarning, _Component); - - function BlockInvalidWarning(props) { - var _this; - - Object(classCallCheck["a" /* default */])(this, BlockInvalidWarning); - - _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(BlockInvalidWarning).call(this, props)); - _this.state = { - compare: false - }; - _this.onCompare = _this.onCompare.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.onCompareClose = _this.onCompareClose.bind(Object(assertThisInitialized["a" /* default */])(_this)); - return _this; - } - - Object(createClass["a" /* default */])(BlockInvalidWarning, [{ - key: "onCompare", - value: function onCompare() { - this.setState({ - compare: true - }); - } - }, { - key: "onCompareClose", - value: function onCompareClose() { - this.setState({ - compare: false - }); - } - }, { - key: "render", - value: function render() { - var _this$props = this.props, - convertToHTML = _this$props.convertToHTML, - convertToBlocks = _this$props.convertToBlocks, - convertToClassic = _this$props.convertToClassic, - attemptBlockRecovery = _this$props.attemptBlockRecovery, - block = _this$props.block; - var hasHTMLBlock = !!Object(external_this_wp_blocks_["getBlockType"])('core/html'); - var compare = this.state.compare; - var hiddenActions = [{ - title: Object(external_this_wp_i18n_["__"])('Convert to Classic Block'), - onClick: convertToClassic - }, { - title: Object(external_this_wp_i18n_["__"])('Attempt Block Recovery'), - onClick: attemptBlockRecovery - }]; - return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(warning, { - actions: [Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { - key: "convert", - onClick: this.onCompare, - isLarge: true, - isPrimary: !hasHTMLBlock - }, // translators: Button to fix block content - Object(external_this_wp_i18n_["_x"])('Resolve', 'imperative verb')), hasHTMLBlock && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { - key: "edit", - onClick: convertToHTML, - isLarge: true, - isPrimary: true - }, Object(external_this_wp_i18n_["__"])('Convert to HTML'))], - secondaryActions: hiddenActions - }, Object(external_this_wp_i18n_["__"])('This block contains unexpected or invalid content.')), compare && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Modal"], { - title: // translators: Dialog title to fix block content - Object(external_this_wp_i18n_["__"])('Resolve Block'), - onRequestClose: this.onCompareClose, - className: "editor-block-compare block-editor-block-compare" - }, Object(external_this_wp_element_["createElement"])(block_compare, { - block: block, - onKeep: convertToHTML, - onConvert: convertToBlocks, - convertor: block_invalid_warning_blockToBlocks, - convertButtonText: Object(external_this_wp_i18n_["__"])('Convert to Blocks') - }))); - } - }]); - - return BlockInvalidWarning; -}(external_this_wp_element_["Component"]); - -var block_invalid_warning_blockToClassic = function blockToClassic(block) { - return Object(external_this_wp_blocks_["createBlock"])('core/freeform', { - content: block.originalContent - }); -}; - -var block_invalid_warning_blockToHTML = function blockToHTML(block) { - return Object(external_this_wp_blocks_["createBlock"])('core/html', { - content: block.originalContent - }); -}; - -var block_invalid_warning_blockToBlocks = function blockToBlocks(block) { - return Object(external_this_wp_blocks_["rawHandler"])({ - HTML: block.originalContent - }); -}; - -var block_invalid_warning_recoverBlock = function recoverBlock(_ref) { - var name = _ref.name, - attributes = _ref.attributes, - innerBlocks = _ref.innerBlocks; - return Object(external_this_wp_blocks_["createBlock"])(name, attributes, innerBlocks); -}; - -/* harmony default export */ var block_invalid_warning = (Object(external_this_wp_compose_["compose"])([Object(external_this_wp_data_["withSelect"])(function (select, _ref2) { - var clientId = _ref2.clientId; - return { - block: select('core/block-editor').getBlock(clientId) - }; -}), Object(external_this_wp_data_["withDispatch"])(function (dispatch, _ref3) { - var block = _ref3.block; - - var _dispatch = dispatch('core/block-editor'), - replaceBlock = _dispatch.replaceBlock; - - return { - convertToClassic: function convertToClassic() { - replaceBlock(block.clientId, block_invalid_warning_blockToClassic(block)); - }, - convertToHTML: function convertToHTML() { - replaceBlock(block.clientId, block_invalid_warning_blockToHTML(block)); - }, - convertToBlocks: function convertToBlocks() { - replaceBlock(block.clientId, block_invalid_warning_blockToBlocks(block)); - }, - attemptBlockRecovery: function attemptBlockRecovery() { - replaceBlock(block.clientId, block_invalid_warning_recoverBlock(block)); - } - }; -})])(block_invalid_warning_BlockInvalidWarning)); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/block-crash-warning.js - - -/** - * WordPress dependencies - */ - -/** - * Internal dependencies - */ - - -var block_crash_warning_warning = Object(external_this_wp_element_["createElement"])(warning, { - className: "block-editor-block-list__block-crash-warning" -}, Object(external_this_wp_i18n_["__"])('This block has encountered an error and cannot be previewed.')); -/* harmony default export */ var block_crash_warning = (function () { - return block_crash_warning_warning; -}); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/block-crash-boundary.js - - - - - - -/** - * WordPress dependencies - */ - - -var block_crash_boundary_BlockCrashBoundary = -/*#__PURE__*/ -function (_Component) { - Object(inherits["a" /* default */])(BlockCrashBoundary, _Component); - - function BlockCrashBoundary() { - var _this; - - Object(classCallCheck["a" /* default */])(this, BlockCrashBoundary); - - _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(BlockCrashBoundary).apply(this, arguments)); - _this.state = { - hasError: false - }; - return _this; - } - - Object(createClass["a" /* default */])(BlockCrashBoundary, [{ - key: "componentDidCatch", - value: function componentDidCatch(error) { - this.props.onError(error); - this.setState({ - hasError: true - }); - } - }, { - key: "render", - value: function render() { - if (this.state.hasError) { - return null; - } - - return this.props.children; - } - }]); - - return BlockCrashBoundary; -}(external_this_wp_element_["Component"]); - -/* harmony default export */ var block_crash_boundary = (block_crash_boundary_BlockCrashBoundary); - -// EXTERNAL MODULE: ./node_modules/react-autosize-textarea/lib/index.js -var react_autosize_textarea_lib = __webpack_require__(60); -var react_autosize_textarea_lib_default = /*#__PURE__*/__webpack_require__.n(react_autosize_textarea_lib); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/block-html.js - - - -/** - * External dependencies - */ - -/** - * WordPress dependencies - */ - - - - - -function BlockHTML(_ref) { - var clientId = _ref.clientId; - - var _useState = Object(external_this_wp_element_["useState"])(''), - _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2), - html = _useState2[0], - setHtml = _useState2[1]; - - var _useSelect = Object(external_this_wp_data_["useSelect"])(function (select) { - return { - block: select('core/block-editor').getBlock(clientId) - }; - }, [clientId]), - block = _useSelect.block; - - var _useDispatch = Object(external_this_wp_data_["useDispatch"])('core/block-editor'), - updateBlock = _useDispatch.updateBlock; - - var onChange = function onChange() { - var blockType = Object(external_this_wp_blocks_["getBlockType"])(block.name); - var attributes = Object(external_this_wp_blocks_["getBlockAttributes"])(blockType, html, block.attributes); // If html is empty we reset the block to the default HTML and mark it as valid to avoid triggering an error - - var content = html ? html : Object(external_this_wp_blocks_["getSaveContent"])(blockType, attributes); - var isValid = html ? Object(external_this_wp_blocks_["isValidBlockContent"])(blockType, attributes, content) : true; - updateBlock(clientId, { - attributes: attributes, - originalContent: content, - isValid: isValid - }); // Ensure the state is updated if we reset so it displays the default content - - if (!html) { - setHtml({ - content: content - }); - } - }; - - Object(external_this_wp_element_["useEffect"])(function () { - setHtml(Object(external_this_wp_blocks_["getBlockContent"])(block)); - }, [block]); - return Object(external_this_wp_element_["createElement"])(react_autosize_textarea_lib_default.a, { - className: "editor-block-list__block-html-textarea block-editor-block-list__block-html-textarea", - value: html, - onBlur: onChange, - onChange: function onChange(event) { - return setHtml(event.target.value); - } - }); -} - -/* harmony default export */ var block_html = (BlockHTML); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/breadcrumb.js - - -/** - * WordPress dependencies - */ - - - -/** - * Internal dependencies - */ - - -/** - * Block breadcrumb component, displaying the label of the block. If the block - * descends from a root block, a button is displayed enabling the user to select - * the root block. - * - * @param {string} props.clientId Client ID of block. - * @return {WPComponent} The component to be rendered. - */ - -var breadcrumb_BlockBreadcrumb = Object(external_this_wp_element_["forwardRef"])(function (_ref, ref) { - var clientId = _ref.clientId; - - var _useDispatch = Object(external_this_wp_data_["useDispatch"])('core/block-editor'), - setNavigationMode = _useDispatch.setNavigationMode; - - return Object(external_this_wp_element_["createElement"])("div", { - className: "editor-block-list__breadcrumb block-editor-block-list__breadcrumb" - }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Toolbar"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { - ref: ref, - onClick: function onClick() { - return setNavigationMode(false); - } - }, Object(external_this_wp_element_["createElement"])(block_title, { - clientId: clientId - })))); -}); -/* harmony default export */ var block_list_breadcrumb = (breadcrumb_BlockBreadcrumb); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/navigable-toolbar/index.js - - - - - - - - - - -/** - * External dependencies - */ - -/** - * WordPress dependencies - */ - - - - - -var navigable_toolbar_NavigableToolbar = -/*#__PURE__*/ -function (_Component) { - Object(inherits["a" /* default */])(NavigableToolbar, _Component); - - function NavigableToolbar() { - var _this; - - Object(classCallCheck["a" /* default */])(this, NavigableToolbar); - - _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(NavigableToolbar).apply(this, arguments)); - _this.focusToolbar = _this.focusToolbar.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.toolbar = Object(external_this_wp_element_["createRef"])(); - return _this; - } - - Object(createClass["a" /* default */])(NavigableToolbar, [{ - key: "focusToolbar", - value: function focusToolbar() { - var tabbables = external_this_wp_dom_["focus"].tabbable.find(this.toolbar.current); - - if (tabbables.length) { - tabbables[0].focus(); - } - } - }, { - key: "componentDidMount", - value: function componentDidMount() { - if (this.props.focusOnMount) { - this.focusToolbar(); - } // We use DOM event listeners instead of React event listeners - // because we want to catch events from the underlying DOM tree - // The React Tree can be different from the DOM tree when using - // portals. Block Toolbars for instance are rendered in a separate - // React Tree. - - - this.toolbar.current.addEventListener('keydown', this.switchOnKeyDown); - } - }, { - key: "componentwillUnmount", - value: function componentwillUnmount() { - this.toolbar.current.removeEventListener('keydown', this.switchOnKeyDown); - } - }, { - key: "render", - value: function render() { - var _this$props = this.props, - children = _this$props.children, - props = Object(objectWithoutProperties["a" /* default */])(_this$props, ["children"]); - - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["NavigableMenu"], Object(esm_extends["a" /* default */])({ - orientation: "horizontal", - role: "toolbar", - ref: this.toolbar - }, Object(external_this_lodash_["omit"])(props, ['focusOnMount'])), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["KeyboardShortcuts"], { - bindGlobal: true // Use the same event that TinyMCE uses in the Classic block for its own `alt+f10` shortcut. - , - eventName: "keydown", - shortcuts: { - 'alt+f10': this.focusToolbar - } - }), children); - } - }]); - - return NavigableToolbar; -}(external_this_wp_element_["Component"]); - -/* harmony default export */ var navigable_toolbar = (navigable_toolbar_NavigableToolbar); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/block-contextual-toolbar.js - - -/** - * WordPress dependencies - */ - -/** - * Internal dependencies - */ - - - - -function BlockContextualToolbar(_ref) { - var focusOnMount = _ref.focusOnMount; - return Object(external_this_wp_element_["createElement"])(navigable_toolbar, { - focusOnMount: focusOnMount, - className: "editor-block-contextual-toolbar block-editor-block-contextual-toolbar" - /* translators: accessibility text for the block toolbar */ - , - "aria-label": Object(external_this_wp_i18n_["__"])('Block tools') - }, Object(external_this_wp_element_["createElement"])(BlockToolbar, null)); -} - -/* harmony default export */ var block_contextual_toolbar = (BlockContextualToolbar); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/multi-controls.js - - -/** - * WordPress dependencies - */ - -/** - * Internal dependencies - */ - - - -function BlockListMultiControls(_ref) { - var multiSelectedBlockClientIds = _ref.multiSelectedBlockClientIds, - isSelecting = _ref.isSelecting, - moverDirection = _ref.moverDirection; - - if (isSelecting) { - return null; - } - - return Object(external_this_wp_element_["createElement"])(block_mover, { - clientIds: multiSelectedBlockClientIds, - __experimentalOrientation: moverDirection - }); -} - -/* harmony default export */ var multi_controls = (Object(external_this_wp_data_["withSelect"])(function (select) { - var _select = select('core/block-editor'), - getMultiSelectedBlockClientIds = _select.getMultiSelectedBlockClientIds, - isMultiSelecting = _select.isMultiSelecting; - - var clientIds = getMultiSelectedBlockClientIds(); - return { - multiSelectedBlockClientIds: clientIds, - isSelecting: isMultiSelecting() - }; -})(BlockListMultiControls)); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/insertion-point.js - - - -/** - * External dependencies - */ - -/** - * WordPress dependencies - */ - - - -/** - * Internal dependencies - */ - - -function BlockInsertionPoint(_ref) { - var rootClientId = _ref.rootClientId, - clientId = _ref.clientId; - - var _useState = Object(external_this_wp_element_["useState"])(false), - _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2), - isInserterFocused = _useState2[0], - setInserterFocused = _useState2[1]; - - var showInsertionPoint = Object(external_this_wp_data_["useSelect"])(function (select) { - var _select = select('core/block-editor'), - getBlockIndex = _select.getBlockIndex, - getBlockInsertionPoint = _select.getBlockInsertionPoint, - isBlockInsertionPointVisible = _select.isBlockInsertionPointVisible; - - var blockIndex = getBlockIndex(clientId, rootClientId); - var insertionPoint = getBlockInsertionPoint(); - return isBlockInsertionPointVisible() && insertionPoint.index === blockIndex && insertionPoint.rootClientId === rootClientId; - }); - - function onFocus(event) { - // Stop propagation of the focus event to avoid selecting the current - // block while inserting a new block, as it is not relevant to sibling - // insertion and conflicts with contextual toolbar placement. - event.stopPropagation(); - setInserterFocused(true); - } - - function onBlur() { - setInserterFocused(false); - } - - return Object(external_this_wp_element_["createElement"])("div", { - className: "editor-block-list__insertion-point block-editor-block-list__insertion-point" - }, showInsertionPoint && Object(external_this_wp_element_["createElement"])("div", { - className: "editor-block-list__insertion-point-indicator block-editor-block-list__insertion-point-indicator" - }), Object(external_this_wp_element_["createElement"])("div", { - onFocus: onFocus, - onBlur: onBlur // While ideally it would be enough to capture the - // bubbling focus event from the Inserter, due to the - // characteristics of click focusing of `button`s in - // Firefox and Safari, it is not reliable. - // - // See: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#Clicking_and_focus - , - tabIndex: -1, - className: classnames_default()('editor-block-list__insertion-point-inserter block-editor-block-list__insertion-point-inserter', { - 'is-visible': isInserterFocused - }) - }, Object(external_this_wp_element_["createElement"])(inserter, { - rootClientId: rootClientId, - clientId: clientId - }))); -} - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/ignore-nested-events/index.js - - - - - - - - - - - -/** - * External dependencies - */ - -/** - * WordPress dependencies - */ - - -/** - * Component which renders a div with passed props applied except the optional - * `childHandledEvents` prop. Event prop handlers are replaced with a proxying - * event handler to capture and prevent events from being handled by ancestor - * `IgnoreNestedEvents` elements by testing the presence of a private property - * assigned on the event object. - * - * Optionally accepts an `childHandledEvents` prop array, which can be used in - * instances where an inner `IgnoreNestedEvents` element exists and the outer - * element should stop propagation but not invoke a callback handler, since it - * would be assumed these are invoked by the child element. - * - * @type {WPComponent} - */ - -var ignore_nested_events_IgnoreNestedEvents = -/*#__PURE__*/ -function (_Component) { - Object(inherits["a" /* default */])(IgnoreNestedEvents, _Component); - - function IgnoreNestedEvents() { - var _this; - - Object(classCallCheck["a" /* default */])(this, IgnoreNestedEvents); - - _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(IgnoreNestedEvents).apply(this, arguments)); - _this.proxyEvent = _this.proxyEvent.bind(Object(assertThisInitialized["a" /* default */])(_this)); // The event map is responsible for tracking an event type to a React - // component prop name, since it is easy to determine event type from - // a React prop name, but not the other way around. - - _this.eventMap = {}; - return _this; - } - /** - * General event handler which only calls to its original props callback if - * it has not already been handled by a descendant IgnoreNestedEvents. - * - * @param {Event} event Event object. - */ - - - Object(createClass["a" /* default */])(IgnoreNestedEvents, [{ - key: "proxyEvent", - value: function proxyEvent(event) { - var isHandled = !!event.nativeEvent._blockHandled; // Assign into the native event, since React will reuse their synthetic - // event objects and this property assignment could otherwise leak. - // - // See: https://reactjs.org/docs/events.html#event-pooling - - event.nativeEvent._blockHandled = true; // Invoke original prop handler - - var propKey = this.eventMap[event.type]; // If already handled (i.e. assume nested block), only invoke a - // corresponding "Handled"-suffixed prop callback. - - if (isHandled) { - propKey += 'Handled'; - } - - if (this.props[propKey]) { - this.props[propKey](event); - } - } - }, { - key: "render", - value: function render() { - var _this2 = this; - - var _this$props = this.props, - _this$props$childHand = _this$props.childHandledEvents, - childHandledEvents = _this$props$childHand === void 0 ? [] : _this$props$childHand, - forwardedRef = _this$props.forwardedRef, - _this$props$tagName = _this$props.tagName, - tagName = _this$props$tagName === void 0 ? 'div' : _this$props$tagName, - props = Object(objectWithoutProperties["a" /* default */])(_this$props, ["childHandledEvents", "forwardedRef", "tagName"]); - - var eventHandlers = Object(external_this_lodash_["reduce"])([].concat(Object(toConsumableArray["a" /* default */])(childHandledEvents), Object(toConsumableArray["a" /* default */])(Object.keys(props))), function (result, key) { - // Try to match prop key as event handler - var match = key.match(/^on([A-Z][a-zA-Z]+?)(Handled)?$/); - - if (match) { - var isHandledProp = !!match[2]; - - if (isHandledProp) { - // Avoid assigning through the invalid prop key. This - // assumes mutation of shallow clone by above spread. - delete props[key]; - } // Re-map the prop to the local proxy handler to check whether - // the event has already been handled. - - - var proxiedPropName = 'on' + match[1]; - result[proxiedPropName] = _this2.proxyEvent; // Assign event -> propName into an instance variable, so as to - // avoid re-renders which could be incurred either by setState - // or in mapping values to a newly created function. - - _this2.eventMap[match[1].toLowerCase()] = proxiedPropName; - } - - return result; - }, {}); - return Object(external_this_wp_element_["createElement"])(tagName, Object(objectSpread["a" /* default */])({ - ref: forwardedRef - }, props, eventHandlers)); - } - }]); - - return IgnoreNestedEvents; -}(external_this_wp_element_["Component"]); - -var ignore_nested_events_forwardedIgnoreNestedEvents = function forwardedIgnoreNestedEvents(props, ref) { - return Object(external_this_wp_element_["createElement"])(ignore_nested_events_IgnoreNestedEvents, Object(esm_extends["a" /* default */])({}, props, { - forwardedRef: ref - })); -}; - -ignore_nested_events_forwardedIgnoreNestedEvents.displayName = 'IgnoreNestedEvents'; -/* harmony default export */ var ignore_nested_events = (Object(external_this_wp_element_["forwardRef"])(ignore_nested_events_forwardedIgnoreNestedEvents)); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter-with-shortcuts/index.js - - -/** - * External dependencies - */ - -/** - * WordPress dependencies - */ - - - - - - -/** - * Internal dependencies - */ - - - -function InserterWithShortcuts(_ref) { - var items = _ref.items, - isLocked = _ref.isLocked, - onInsert = _ref.onInsert; - - if (isLocked) { - return null; - } - - var itemsWithoutDefaultBlock = Object(external_this_lodash_["filter"])(items, function (item) { - return !item.isDisabled && (item.name !== Object(external_this_wp_blocks_["getDefaultBlockName"])() || !Object(external_this_lodash_["isEmpty"])(item.initialAttributes)); - }).slice(0, 3); - return Object(external_this_wp_element_["createElement"])("div", { - className: "editor-inserter-with-shortcuts block-editor-inserter-with-shortcuts" - }, itemsWithoutDefaultBlock.map(function (item) { - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], { - key: item.id, - className: "editor-inserter-with-shortcuts__block block-editor-inserter-with-shortcuts__block", - onClick: function onClick() { - return onInsert(item); - } // translators: %s: block title/name to be added - , - label: Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["__"])('Add %s'), item.title), - icon: Object(external_this_wp_element_["createElement"])(BlockIcon, { - icon: item.icon - }) - }); - })); -} - -/* harmony default export */ var inserter_with_shortcuts = (Object(external_this_wp_compose_["compose"])(Object(external_this_wp_data_["withSelect"])(function (select, _ref2) { - var rootClientId = _ref2.rootClientId; - - var _select = select('core/block-editor'), - getInserterItems = _select.getInserterItems, - getTemplateLock = _select.getTemplateLock; - - return { - items: getInserterItems(rootClientId), - isLocked: !!getTemplateLock(rootClientId) - }; -}), Object(external_this_wp_data_["withDispatch"])(function (dispatch, ownProps) { - var clientId = ownProps.clientId, - rootClientId = ownProps.rootClientId; - return { - onInsert: function onInsert(_ref3) { - var name = _ref3.name, - initialAttributes = _ref3.initialAttributes; - var block = Object(external_this_wp_blocks_["createBlock"])(name, initialAttributes); - - if (clientId) { - dispatch('core/block-editor').replaceBlocks(clientId, block); - } else { - dispatch('core/block-editor').insertBlock(block, undefined, rootClientId); - } - } - }; -}))(InserterWithShortcuts)); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/utils/dom.js -/** - * Given a block client ID, returns the corresponding DOM node for the block, - * if exists. As much as possible, this helper should be avoided, and used only - * in cases where isolated behaviors need remote access to a block node. - * - * @param {string} clientId Block client ID. - * @param {Element} scope an optional DOM Element to which the selector should be scoped - * - * @return {Element} Block DOM node. - */ -function getBlockDOMNode(clientId) { - var scope = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : document; - return scope.querySelector('[data-block="' + clientId + '"]'); -} -function getBlockPreviewContainerDOMNode(clientId, scope) { - var domNode = getBlockDOMNode(clientId, scope); - - if (!domNode) { - return; - } - - return domNode.firstChild || domNode; -} -/** - * Given a block client ID, returns the corresponding DOM node for the block - * focusable wrapper, if exists. As much as possible, this helper should be - * avoided, and used only in cases where isolated behaviors need remote access - * to a block node. - * - * @param {string} clientId Block client ID. - * - * @return {Element} Block DOM node. - */ - -function getBlockFocusableWrapper(clientId) { - return getBlockDOMNode(clientId).closest('.block-editor-block-list__block'); -} -/** - * Returns true if the given HTMLElement is a block focus stop. Blocks without - * their own text fields rely on the focus stop to be keyboard navigable. - * - * @param {HTMLElement} element Element to test. - * - * @return {boolean} Whether element is a block focus stop. - */ - -function isBlockFocusStop(element) { - return element.classList.contains('block-editor-block-list__block'); -} -/** - * Returns true if two elements are contained within the same block. - * - * @param {HTMLElement} a First element. - * @param {HTMLElement} b Second element. - * - * @return {boolean} Whether elements are in the same block. - */ - -function isInSameBlock(a, b) { - return a.closest('[data-block]') === b.closest('[data-block]'); -} -/** - * Returns true if an elements is considered part of the block and not its children. - * - * @param {HTMLElement} blockElement Block container element. - * @param {HTMLElement} element Element. - * - * @return {boolean} Whether element is in the block Element but not its children. - */ - -function isInsideRootBlock(blockElement, element) { - var innerBlocksContainer = blockElement.querySelector('.block-editor-block-list__layout'); - return blockElement.contains(element) && (!innerBlocksContainer || !innerBlocksContainer.contains(element)); -} -/** - * Returns true if the given HTMLElement contains inner blocks (an InnerBlocks - * element). - * - * @param {HTMLElement} element Element to test. - * - * @return {boolean} Whether element contains inner blocks. - */ - -function hasInnerBlocksContext(element) { - return !!element.querySelector('.block-editor-block-list__layout'); -} - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/moving-animation.js - - -/** - * External dependencies - */ - -/** - * WordPress dependencies - */ - - - - -/** - * Simple reducer used to increment a counter. - * - * @param {number} state Previous counter value. - * @return {number} New state value. - */ - -var counterReducer = function counterReducer(state) { - return state + 1; -}; - -var getAbsolutePosition = function getAbsolutePosition(element) { - return { - top: element.offsetTop, - left: element.offsetLeft - }; -}; -/** - * Hook used to compute the styles required to move a div into a new position. - * - * The way this animation works is the following: - * - It first renders the element as if there was no animation. - * - It takes a snapshot of the position of the block to use it - * as a destination point for the animation. - * - It restores the element to the previous position using a CSS transform - * - It uses the "resetAnimation" flag to reset the animation - * from the beginning in order to animate to the new destination point. - * - * @param {Object} ref Reference to the element to animate. - * @param {boolean} isSelected Whether it's the current block or not. - * @param {boolean} adjustScrolling Adjust the scroll position to the current block. - * @param {boolean} enableAnimation Enable/Disable animation. - * @param {*} triggerAnimationOnChange Variable used to trigger the animation if it changes. - * - * @return {Object} Style object. - */ - - -function useMovingAnimation(ref, isSelected, adjustScrolling, enableAnimation, triggerAnimationOnChange) { - var prefersReducedMotion = Object(external_this_wp_compose_["useReducedMotion"])() || !enableAnimation; - - var _useReducer = Object(external_this_wp_element_["useReducer"])(counterReducer, 0), - _useReducer2 = Object(slicedToArray["a" /* default */])(_useReducer, 2), - triggeredAnimation = _useReducer2[0], - triggerAnimation = _useReducer2[1]; - - var _useReducer3 = Object(external_this_wp_element_["useReducer"])(counterReducer, 0), - _useReducer4 = Object(slicedToArray["a" /* default */])(_useReducer3, 2), - finishedAnimation = _useReducer4[0], - endAnimation = _useReducer4[1]; - - var _useState = Object(external_this_wp_element_["useState"])({ - x: 0, - y: 0, - scrollTop: 0 - }), - _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2), - transform = _useState2[0], - setTransform = _useState2[1]; - - var previous = ref.current ? getAbsolutePosition(ref.current) : null; - var scrollContainer = Object(external_this_wp_element_["useMemo"])(function () { - if (!adjustScrolling) { - return false; - } - - return Object(external_this_wp_dom_["getScrollContainer"])(ref.current); - }, [adjustScrolling]); - Object(external_this_wp_element_["useLayoutEffect"])(function () { - if (triggeredAnimation) { - endAnimation(); - } - }, [triggeredAnimation]); - Object(external_this_wp_element_["useLayoutEffect"])(function () { - if (prefersReducedMotion) { - if (adjustScrolling && scrollContainer) { - // if the animation is disabled and the scroll needs to be adjusted, - // just move directly to the final scroll position - ref.current.style.transform = 'none'; - - var _destination = getAbsolutePosition(ref.current); - - scrollContainer.scrollTop = scrollContainer.scrollTop - previous.top + _destination.top; - } - - return; - } - - ref.current.style.transform = 'none'; - var destination = getAbsolutePosition(ref.current); - var newTransform = { - x: previous ? previous.left - destination.left : 0, - y: previous ? previous.top - destination.top : 0, - scrollTop: previous && scrollContainer ? scrollContainer.scrollTop - previous.top + destination.top : 0 - }; - ref.current.style.transform = newTransform.x === 0 && newTransform.y === 0 ? undefined : "translate3d(".concat(newTransform.x, "px,").concat(newTransform.y, "px,0)"); - triggerAnimation(); - setTransform(newTransform); - }, [triggerAnimationOnChange]); - var animationProps = Object(web_cjs["useSpring"])({ - from: { - x: transform.x, - y: transform.y - }, - to: { - x: 0, - y: 0 - }, - reset: triggeredAnimation !== finishedAnimation, - config: { - mass: 5, - tension: 2000, - friction: 200 - }, - immediate: prefersReducedMotion, - onFrame: function onFrame(props) { - if (adjustScrolling && scrollContainer && !prefersReducedMotion && props.y) { - scrollContainer.scrollTop = transform.scrollTop + props.y; - } - } - }); // Dismiss animations if disabled. - - return prefersReducedMotion ? {} : { - transformOrigin: 'center', - transform: Object(web_cjs["interpolate"])([animationProps.x, animationProps.y], function (x, y) { - return x === 0 && y === 0 ? undefined : "translate3d(".concat(x, "px,").concat(y, "px,0)"); - }), - zIndex: Object(web_cjs["interpolate"])([animationProps.x, animationProps.y], function (x, y) { - return !isSelected || x === 0 && y === 0 ? undefined : "1"; - }) - }; -} - -/* harmony default export */ var moving_animation = (useMovingAnimation); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/block.js - - - - - -/** - * External dependencies - */ - - - -/** - * WordPress dependencies - */ - - - - - - - - - - -/** - * Internal dependencies - */ - - - - - - - - - - - - - - - - - -/** - * Prevents default dragging behavior within a block to allow for multi- - * selection to take effect unhampered. - * - * @param {DragEvent} event Drag event. - */ - -var preventDrag = function preventDrag(event) { - event.preventDefault(); -}; - -function block_BlockListBlock(_ref) { - var mode = _ref.mode, - isFocusMode = _ref.isFocusMode, - hasFixedToolbar = _ref.hasFixedToolbar, - moverDirection = _ref.moverDirection, - isLocked = _ref.isLocked, - clientId = _ref.clientId, - rootClientId = _ref.rootClientId, - isSelected = _ref.isSelected, - isMultiSelected = _ref.isMultiSelected, - isPartOfMultiSelection = _ref.isPartOfMultiSelection, - isFirstMultiSelected = _ref.isFirstMultiSelected, - isTypingWithinBlock = _ref.isTypingWithinBlock, - isCaretWithinFormattedText = _ref.isCaretWithinFormattedText, - isEmptyDefaultBlock = _ref.isEmptyDefaultBlock, - isParentOfSelectedBlock = _ref.isParentOfSelectedBlock, - isSelectionEnabled = _ref.isSelectionEnabled, - className = _ref.className, - name = _ref.name, - isValid = _ref.isValid, - isLast = _ref.isLast, - attributes = _ref.attributes, - initialPosition = _ref.initialPosition, - wrapperProps = _ref.wrapperProps, - setAttributes = _ref.setAttributes, - onReplace = _ref.onReplace, - onInsertBlocksAfter = _ref.onInsertBlocksAfter, - onMerge = _ref.onMerge, - onSelect = _ref.onSelect, - onRemove = _ref.onRemove, - onInsertDefaultBlockAfter = _ref.onInsertDefaultBlockAfter, - toggleSelection = _ref.toggleSelection, - onShiftSelection = _ref.onShiftSelection, - onSelectionStart = _ref.onSelectionStart, - animateOnChange = _ref.animateOnChange, - enableAnimation = _ref.enableAnimation, - isNavigationMode = _ref.isNavigationMode, - setNavigationMode = _ref.setNavigationMode, - isMultiSelecting = _ref.isMultiSelecting, - isLargeViewport = _ref.isLargeViewport; - - // In addition to withSelect, we should favor using useSelect in this component going forward - // to avoid leaking new props to the public API (editor.BlockListBlock filter) - var _useSelect = Object(external_this_wp_data_["useSelect"])(function (select) { - return { - isDraggingBlocks: select('core/block-editor').isDraggingBlocks() - }; - }), - isDraggingBlocks = _useSelect.isDraggingBlocks; // Random state used to rerender the component if needed, ideally we don't need this - - - var _useState = Object(external_this_wp_element_["useState"])({}), - _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2), - updateRerenderState = _useState2[1]; - - var rerender = function rerender() { - return updateRerenderState({}); - }; // Reference of the wrapper - - - var wrapper = Object(external_this_wp_element_["useRef"])(null); // Reference to the block edit node - - var blockNodeRef = Object(external_this_wp_element_["useRef"])(); - var breadcrumb = Object(external_this_wp_element_["useRef"])(); // Keep track of touchstart to disable hover on iOS - - var hadTouchStart = Object(external_this_wp_element_["useRef"])(false); - - var onTouchStart = function onTouchStart() { - hadTouchStart.current = true; - }; - - var onTouchStop = function onTouchStop() { - // Clear touchstart detection - // Browser will try to emulate mouse events also see https://www.html5rocks.com/en/mobile/touchandmouse/ - hadTouchStart.current = false; - }; // Handling isHovered - - - var _useState3 = Object(external_this_wp_element_["useState"])(false), - _useState4 = Object(slicedToArray["a" /* default */])(_useState3, 2), - isBlockHovered = _useState4[0], - setBlockHoveredState = _useState4[1]; - /** - * Sets the block state as unhovered if currently hovering. There are cases - * where mouseleave may occur but the block is not hovered (multi-select), - * so to avoid unnecesary renders, the state is only set if hovered. - */ - - - var hideHoverEffects = function hideHoverEffects() { - if (isBlockHovered) { - setBlockHoveredState(false); - } - }; - /** - * A mouseover event handler to apply hover effect when a pointer device is - * placed within the bounds of the block. The mouseover event is preferred - * over mouseenter because it may be the case that a previous mouseenter - * event was blocked from being handled by a IgnoreNestedEvents component, - * therefore transitioning out of a nested block to the bounds of the block - * would otherwise not trigger a hover effect. - * - * @see https://developer.mozilla.org/en-US/docs/Web/Events/mouseenter - */ - - - var maybeHover = function maybeHover() { - if (isBlockHovered || isPartOfMultiSelection || isSelected || hadTouchStart.current) { - return; - } - - setBlockHoveredState(true); - }; // Set hover to false once we start typing or select the block. - - - Object(external_this_wp_element_["useEffect"])(function () { - if (isTypingWithinBlock || isSelected) { - hideHoverEffects(); - } - }); // Handling the error state - - var _useState5 = Object(external_this_wp_element_["useState"])(false), - _useState6 = Object(slicedToArray["a" /* default */])(_useState5, 2), - hasError = _useState6[0], - setErrorState = _useState6[1]; - - var onBlockError = function onBlockError() { - return setErrorState(true); - }; // Handling of forceContextualToolbarFocus - - - var isForcingContextualToolbar = Object(external_this_wp_element_["useRef"])(false); - Object(external_this_wp_element_["useEffect"])(function () { - if (isForcingContextualToolbar.current) { - // The forcing of contextual toolbar should only be true during one update, - // after the first update normal conditions should apply. - isForcingContextualToolbar.current = false; - } - }); - - var forceFocusedContextualToolbar = function forceFocusedContextualToolbar() { - isForcingContextualToolbar.current = true; // trigger a re-render - - rerender(); - }; // Handing the focus of the block on creation and update - - /** - * When a block becomes selected, transition focus to an inner tabbable. - * - * @param {boolean} ignoreInnerBlocks Should not focus inner blocks. - */ - - - var focusTabbable = function focusTabbable(ignoreInnerBlocks) { - var selection = window.getSelection(); - - if (selection.rangeCount && !selection.isCollapsed) { - var _selection$getRangeAt = selection.getRangeAt(0), - startContainer = _selection$getRangeAt.startContainer, - endContainer = _selection$getRangeAt.endContainer; - - if (!blockNodeRef.current.contains(startContainer) || !blockNodeRef.current.contains(endContainer)) { - selection.removeAllRanges(); - } - } // Focus is captured by the wrapper node, so while focus transition - // should only consider tabbables within editable display, since it - // may be the wrapper itself or a side control which triggered the - // focus event, don't unnecessary transition to an inner tabbable. - - - if (wrapper.current.contains(document.activeElement)) { - return; - } - - if (isNavigationMode) { - breadcrumb.current.focus(); - return; - } // Find all tabbables within node. - - - var textInputs = external_this_wp_dom_["focus"].tabbable.find(blockNodeRef.current).filter(external_this_wp_dom_["isTextField"]) // Exclude inner blocks - .filter(function (node) { - return !ignoreInnerBlocks || isInsideRootBlock(blockNodeRef.current, node); - }); // If reversed (e.g. merge via backspace), use the last in the set of - // tabbables. - - var isReverse = -1 === initialPosition; - var target = (isReverse ? external_this_lodash_["last"] : external_this_lodash_["first"])(textInputs); - - if (!target) { - wrapper.current.focus(); - return; - } - - Object(external_this_wp_dom_["placeCaretAtHorizontalEdge"])(target, isReverse); - }; // Focus the selected block's wrapper or inner input on mount and update - - - var isMounting = Object(external_this_wp_element_["useRef"])(true); - Object(external_this_wp_element_["useEffect"])(function () { - if (isSelected && !isMultiSelecting) { - focusTabbable(!isMounting.current); - } - - isMounting.current = false; - }, [isSelected, isMultiSelecting]); // Focus the first multi selected block - - Object(external_this_wp_element_["useEffect"])(function () { - if (isFirstMultiSelected) { - wrapper.current.focus(); - } - }, [isFirstMultiSelected]); // Block Reordering animation - - var animationStyle = moving_animation(wrapper, isSelected || isPartOfMultiSelection, isSelected || isFirstMultiSelected, enableAnimation, animateOnChange); // Focus the breadcrumb if the wrapper is focused on navigation mode. - // Focus the first editable or the wrapper if edit mode. - - Object(external_this_wp_element_["useLayoutEffect"])(function () { - if (isSelected) { - if (isNavigationMode) { - breadcrumb.current.focus(); - } else { - focusTabbable(true); - } - } - }, [isSelected, isNavigationMode]); // Other event handlers - - /** - * Marks the block as selected when focused and not already selected. This - * specifically handles the case where block does not set focus on its own - * (via `setFocus`), typically if there is no focusable input in the block. - */ - - var onFocus = function onFocus() { - if (!isSelected && !isParentOfSelectedBlock && !isPartOfMultiSelection) { - onSelect(); - } - }; - /** - * Interprets keydown event intent to remove or insert after block if key - * event occurs on wrapper node. This can occur when the block has no text - * fields of its own, particularly after initial insertion, to allow for - * easy deletion and continuous writing flow to add additional content. - * - * @param {KeyboardEvent} event Keydown event. - */ - - - var onKeyDown = function onKeyDown(event) { - var keyCode = event.keyCode, - target = event.target; // ENTER/BACKSPACE Shortcuts are only available if the wrapper is focused - // and the block is not locked. - - var canUseShortcuts = isSelected && !isLocked && (target === wrapper.current || target === breadcrumb.current); - var isEditMode = !isNavigationMode; - - switch (keyCode) { - case external_this_wp_keycodes_["ENTER"]: - if (canUseShortcuts && isEditMode) { - // Insert default block after current block if enter and event - // not already handled by descendant. - onInsertDefaultBlockAfter(); - event.preventDefault(); - } - - break; - - case external_this_wp_keycodes_["BACKSPACE"]: - case external_this_wp_keycodes_["DELETE"]: - if (canUseShortcuts) { - // Remove block on backspace. - onRemove(clientId); - event.preventDefault(); - } - - break; - - case external_this_wp_keycodes_["ESCAPE"]: - if (isSelected && isEditMode) { - setNavigationMode(true); - wrapper.current.focus(); - } - - break; - } - }; - /** - * Begins tracking cursor multi-selection when clicking down within block. - * - * @param {MouseEvent} event A mousedown event. - */ - - - var onMouseDown = function onMouseDown(event) { - // Not the main button. - // https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/button - if (event.button !== 0) { - return; - } - - if (isNavigationMode && isSelected && isInsideRootBlock(blockNodeRef.current, event.target)) { - setNavigationMode(false); - } - - if (event.shiftKey) { - if (!isSelected) { - onShiftSelection(); - event.preventDefault(); - } // Allow user to escape out of a multi-selection to a singular - // selection of a block via click. This is handled here since - // onFocus excludes blocks involved in a multiselection, as - // focus can be incurred by starting a multiselection (focus - // moved to first block's multi-controls). - - } else if (isPartOfMultiSelection) { - onSelect(); - } - }; - - var onMouseLeave = function onMouseLeave(_ref2) { - var which = _ref2.which, - buttons = _ref2.buttons; - - // The primary button must be pressed to initiate selection. Fall back - // to `which` if the standard `buttons` property is falsy. There are - // cases where Firefox might always set `buttons` to `0`. - // See https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/buttons - // See https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/which - if (isSelected && (buttons || which) === 1) { - onSelectionStart(clientId); - } - - hideHoverEffects(); - }; - - var selectOnOpen = function selectOnOpen(open) { - if (open && !isSelected) { - onSelect(); - } - }; // Rendering the output - - - var isHovered = isBlockHovered && !isPartOfMultiSelection; - var blockType = Object(external_this_wp_blocks_["getBlockType"])(name); // translators: %s: Type of block (i.e. Text, Image etc) - - var blockLabel = Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["__"])('Block: %s'), blockType.title); // The block as rendered in the editor is composed of general block UI - // (mover, toolbar, wrapper) and the display of the block content. - - var isUnregisteredBlock = name === Object(external_this_wp_blocks_["getUnregisteredTypeHandlerName"])(); // If the block is selected and we're typing the block should not appear. - // Empty paragraph blocks should always show up as unselected. - - var showInserterShortcuts = !isNavigationMode && (isSelected || isHovered) && isEmptyDefaultBlock && isValid; - var showEmptyBlockSideInserter = !isNavigationMode && (isSelected || isHovered || isLast) && isEmptyDefaultBlock && isValid; - var shouldAppearSelected = !isFocusMode && !showEmptyBlockSideInserter && isSelected && !isTypingWithinBlock; - var shouldAppearHovered = !isFocusMode && !hasFixedToolbar && isHovered && !isEmptyDefaultBlock; // We render block movers and block settings to keep them tabbale even if hidden - - var shouldRenderMovers = !isNavigationMode && isSelected && !showEmptyBlockSideInserter && !isPartOfMultiSelection && !isTypingWithinBlock; - var shouldShowBreadcrumb = isNavigationMode && isSelected; - var shouldShowContextualToolbar = !isNavigationMode && !hasFixedToolbar && isLargeViewport && !showEmptyBlockSideInserter && !isMultiSelecting && (isSelected && (!isTypingWithinBlock || isCaretWithinFormattedText) || isFirstMultiSelected); // Insertion point can only be made visible if the block is at the - // the extent of a multi-selection, or not in a multi-selection. - - var shouldShowInsertionPoint = !isMultiSelecting && (isPartOfMultiSelection && isFirstMultiSelected || !isPartOfMultiSelection); - var shouldRenderDropzone = shouldShowInsertionPoint; - var isDragging = isDraggingBlocks && (isSelected || isPartOfMultiSelection); // The wp-block className is important for editor styles. - // Generate the wrapper class names handling the different states of the block. - - var wrapperClassName = classnames_default()('wp-block editor-block-list__block block-editor-block-list__block', { - 'has-warning': !isValid || !!hasError || isUnregisteredBlock, - 'is-selected': shouldAppearSelected, - 'is-navigate-mode': isNavigationMode, - 'is-multi-selected': isMultiSelected, - 'is-hovered': shouldAppearHovered, - 'is-reusable': Object(external_this_wp_blocks_["isReusableBlock"])(blockType), - 'is-dragging': isDragging, - 'is-typing': isTypingWithinBlock, - 'is-focused': isFocusMode && (isSelected || isParentOfSelectedBlock), - 'is-focus-mode': isFocusMode, - 'has-child-selected': isParentOfSelectedBlock - }, className); // Determine whether the block has props to apply to the wrapper. - - if (blockType.getEditWrapperProps) { - wrapperProps = Object(objectSpread["a" /* default */])({}, wrapperProps, blockType.getEditWrapperProps(attributes)); - } - - var blockElementId = "block-".concat(clientId); - var blockMover = Object(external_this_wp_element_["createElement"])(block_mover, { - clientIds: clientId, - isHidden: !isSelected, - __experimentalOrientation: moverDirection - }); // We wrap the BlockEdit component in a div that hides it when editing in - // HTML mode. This allows us to render all of the ancillary pieces - // (InspectorControls, etc.) which are inside `BlockEdit` but not - // `BlockHTML`, even in HTML mode. - - var blockEdit = Object(external_this_wp_element_["createElement"])(block_edit, { - name: name, - isSelected: isSelected, - attributes: attributes, - setAttributes: setAttributes, - insertBlocksAfter: isLocked ? undefined : onInsertBlocksAfter, - onReplace: isLocked ? undefined : onReplace, - mergeBlocks: isLocked ? undefined : onMerge, - clientId: clientId, - isSelectionEnabled: isSelectionEnabled, - toggleSelection: toggleSelection - }); - - if (mode !== 'visual') { - blockEdit = Object(external_this_wp_element_["createElement"])("div", { - style: { - display: 'none' - } - }, blockEdit); - } - - return Object(external_this_wp_element_["createElement"])(ignore_nested_events, Object(esm_extends["a" /* default */])({ - id: blockElementId, - ref: wrapper, - onMouseOver: maybeHover, - onMouseOverHandled: hideHoverEffects, - onMouseLeave: hideHoverEffects, - className: wrapperClassName, - "data-type": name, - onTouchStart: onTouchStart, - onFocus: onFocus, - onClick: onTouchStop, - onKeyDown: onKeyDown, - tabIndex: "0", - "aria-label": blockLabel, - childHandledEvents: ['onDragStart', 'onMouseDown'], - tagName: web_cjs["animated"].div - }, wrapperProps, { - style: wrapperProps && wrapperProps.style ? Object(objectSpread["a" /* default */])({}, wrapperProps.style, animationStyle) : animationStyle - }), shouldShowInsertionPoint && Object(external_this_wp_element_["createElement"])(BlockInsertionPoint, { - clientId: clientId, - rootClientId: rootClientId - }), shouldRenderDropzone && Object(external_this_wp_element_["createElement"])(block_drop_zone, { - clientId: clientId, - rootClientId: rootClientId - }), Object(external_this_wp_element_["createElement"])("div", { - className: classnames_default()('editor-block-list__block-edit block-editor-block-list__block-edit', { - 'has-mover-inside': moverDirection === 'horizontal' - }) - }, isFirstMultiSelected && Object(external_this_wp_element_["createElement"])(multi_controls, { - rootClientId: rootClientId, - moverDirection: moverDirection - }), shouldRenderMovers && moverDirection === 'vertical' && blockMover, shouldShowBreadcrumb && Object(external_this_wp_element_["createElement"])(block_list_breadcrumb, { - clientId: clientId, - ref: breadcrumb - }), (shouldShowContextualToolbar || isForcingContextualToolbar.current) && Object(external_this_wp_element_["createElement"])(block_contextual_toolbar // If the toolbar is being shown because of being forced - // it should focus the toolbar right after the mount. - , { - focusOnMount: isForcingContextualToolbar.current - }), !isNavigationMode && !shouldShowContextualToolbar && isSelected && !hasFixedToolbar && !isEmptyDefaultBlock && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["KeyboardShortcuts"], { - bindGlobal: true, - eventName: "keydown", - shortcuts: { - 'alt+f10': forceFocusedContextualToolbar - } - }), Object(external_this_wp_element_["createElement"])(ignore_nested_events, { - ref: blockNodeRef, - onDragStart: preventDrag, - onMouseDown: onMouseDown, - onMouseLeave: onMouseLeave, - "data-block": clientId - }, Object(external_this_wp_element_["createElement"])(block_crash_boundary, { - onError: onBlockError - }, isValid && blockEdit, isValid && mode === 'html' && Object(external_this_wp_element_["createElement"])(block_html, { - clientId: clientId - }), shouldRenderMovers && moverDirection === 'horizontal' && blockMover, !isValid && [Object(external_this_wp_element_["createElement"])(block_invalid_warning, { - key: "invalid-warning", - clientId: clientId - }), Object(external_this_wp_element_["createElement"])("div", { - key: "invalid-preview" - }, Object(external_this_wp_blocks_["getSaveElement"])(blockType, attributes))]), !!hasError && Object(external_this_wp_element_["createElement"])(block_crash_warning, null))), showInserterShortcuts && Object(external_this_wp_element_["createElement"])("div", { - className: "editor-block-list__side-inserter block-editor-block-list__side-inserter" - }, Object(external_this_wp_element_["createElement"])(inserter_with_shortcuts, { - clientId: clientId, - rootClientId: rootClientId, - onToggle: selectOnOpen - })), showEmptyBlockSideInserter && Object(external_this_wp_element_["createElement"])("div", { - className: "editor-block-list__empty-block-inserter block-editor-block-list__empty-block-inserter" - }, Object(external_this_wp_element_["createElement"])(inserter, { - position: "top right", - onToggle: selectOnOpen, - rootClientId: rootClientId, - clientId: clientId - }))); -} - -var applyWithSelect = Object(external_this_wp_data_["withSelect"])(function (select, _ref3) { - var clientId = _ref3.clientId, - rootClientId = _ref3.rootClientId, - isLargeViewport = _ref3.isLargeViewport; - - var _select = select('core/block-editor'), - isBlockSelected = _select.isBlockSelected, - isAncestorMultiSelected = _select.isAncestorMultiSelected, - isBlockMultiSelected = _select.isBlockMultiSelected, - isFirstMultiSelectedBlock = _select.isFirstMultiSelectedBlock, - isTyping = _select.isTyping, - isCaretWithinFormattedText = _select.isCaretWithinFormattedText, - getBlockMode = _select.getBlockMode, - isSelectionEnabled = _select.isSelectionEnabled, - getSelectedBlocksInitialCaretPosition = _select.getSelectedBlocksInitialCaretPosition, - getSettings = _select.getSettings, - hasSelectedInnerBlock = _select.hasSelectedInnerBlock, - getTemplateLock = _select.getTemplateLock, - getBlockIndex = _select.getBlockIndex, - getBlockOrder = _select.getBlockOrder, - __unstableGetBlockWithoutInnerBlocks = _select.__unstableGetBlockWithoutInnerBlocks, - isNavigationMode = _select.isNavigationMode; - - var block = __unstableGetBlockWithoutInnerBlocks(clientId); - - var isSelected = isBlockSelected(clientId); - - var _getSettings = getSettings(), - hasFixedToolbar = _getSettings.hasFixedToolbar, - focusMode = _getSettings.focusMode, - isRTL = _getSettings.isRTL; - - var templateLock = getTemplateLock(rootClientId); - var isParentOfSelectedBlock = hasSelectedInnerBlock(clientId, true); - var index = getBlockIndex(clientId, rootClientId); - var blockOrder = getBlockOrder(rootClientId); // The fallback to `{}` is a temporary fix. - // This function should never be called when a block is not present in the state. - // It happens now because the order in withSelect rendering is not correct. - - var _ref4 = block || {}, - name = _ref4.name, - attributes = _ref4.attributes, - isValid = _ref4.isValid; - - return { - isMultiSelected: isBlockMultiSelected(clientId), - isPartOfMultiSelection: isBlockMultiSelected(clientId) || isAncestorMultiSelected(clientId), - isFirstMultiSelected: isFirstMultiSelectedBlock(clientId), - // We only care about this prop when the block is selected - // Thus to avoid unnecessary rerenders we avoid updating the prop if the block is not selected. - isTypingWithinBlock: (isSelected || isParentOfSelectedBlock) && isTyping(), - isCaretWithinFormattedText: isCaretWithinFormattedText(), - mode: getBlockMode(clientId), - isSelectionEnabled: isSelectionEnabled(), - initialPosition: isSelected ? getSelectedBlocksInitialCaretPosition() : null, - isEmptyDefaultBlock: name && Object(external_this_wp_blocks_["isUnmodifiedDefaultBlock"])({ - name: name, - attributes: attributes - }), - isLocked: !!templateLock, - isFocusMode: focusMode && isLargeViewport, - hasFixedToolbar: hasFixedToolbar && isLargeViewport, - isLast: index === blockOrder.length - 1, - isNavigationMode: isNavigationMode(), - isRTL: isRTL, - // Users of the editor.BlockListBlock filter used to be able to access the block prop - // Ideally these blocks would rely on the clientId prop only. - // This is kept for backward compatibility reasons. - block: block, - name: name, - attributes: attributes, - isValid: isValid, - isSelected: isSelected, - isParentOfSelectedBlock: isParentOfSelectedBlock - }; -}); -var applyWithDispatch = Object(external_this_wp_data_["withDispatch"])(function (dispatch, ownProps, _ref5) { - var select = _ref5.select; - - var _dispatch = dispatch('core/block-editor'), - updateBlockAttributes = _dispatch.updateBlockAttributes, - selectBlock = _dispatch.selectBlock, - multiSelect = _dispatch.multiSelect, - insertBlocks = _dispatch.insertBlocks, - insertDefaultBlock = _dispatch.insertDefaultBlock, - removeBlock = _dispatch.removeBlock, - mergeBlocks = _dispatch.mergeBlocks, - replaceBlocks = _dispatch.replaceBlocks, - _toggleSelection = _dispatch.toggleSelection, - setNavigationMode = _dispatch.setNavigationMode, - __unstableMarkLastChangeAsPersistent = _dispatch.__unstableMarkLastChangeAsPersistent; - - return { - setAttributes: function setAttributes(newAttributes) { - var clientId = ownProps.clientId; - updateBlockAttributes(clientId, newAttributes); - }, - onSelect: function onSelect() { - var clientId = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ownProps.clientId; - var initialPosition = arguments.length > 1 ? arguments[1] : undefined; - selectBlock(clientId, initialPosition); - }, - onInsertBlocks: function onInsertBlocks(blocks, index) { - var rootClientId = ownProps.rootClientId; - insertBlocks(blocks, index, rootClientId); - }, - onInsertDefaultBlockAfter: function onInsertDefaultBlockAfter() { - var clientId = ownProps.clientId, - rootClientId = ownProps.rootClientId; - - var _select2 = select('core/block-editor'), - getBlockIndex = _select2.getBlockIndex; - - var index = getBlockIndex(clientId, rootClientId); - insertDefaultBlock({}, rootClientId, index + 1); - }, - onInsertBlocksAfter: function onInsertBlocksAfter(blocks) { - var clientId = ownProps.clientId, - rootClientId = ownProps.rootClientId; - - var _select3 = select('core/block-editor'), - getBlockIndex = _select3.getBlockIndex; - - var index = getBlockIndex(clientId, rootClientId); - insertBlocks(blocks, index + 1, rootClientId); - }, - onRemove: function onRemove(clientId) { - removeBlock(clientId); - }, - onMerge: function onMerge(forward) { - var clientId = ownProps.clientId; - - var _select4 = select('core/block-editor'), - getPreviousBlockClientId = _select4.getPreviousBlockClientId, - getNextBlockClientId = _select4.getNextBlockClientId; - - if (forward) { - var nextBlockClientId = getNextBlockClientId(clientId); - - if (nextBlockClientId) { - mergeBlocks(clientId, nextBlockClientId); - } - } else { - var previousBlockClientId = getPreviousBlockClientId(clientId); - - if (previousBlockClientId) { - mergeBlocks(previousBlockClientId, clientId); - } - } - }, - onReplace: function onReplace(blocks, indexToSelect) { - if (blocks.length && !Object(external_this_wp_blocks_["isUnmodifiedDefaultBlock"])(blocks[blocks.length - 1])) { - __unstableMarkLastChangeAsPersistent(); - } - - replaceBlocks([ownProps.clientId], blocks, indexToSelect); - }, - onShiftSelection: function onShiftSelection() { - if (!ownProps.isSelectionEnabled) { - return; - } - - var _select5 = select('core/block-editor'), - getBlockSelectionStart = _select5.getBlockSelectionStart; - - if (getBlockSelectionStart()) { - multiSelect(getBlockSelectionStart(), ownProps.clientId); - } else { - selectBlock(ownProps.clientId); - } - }, - toggleSelection: function toggleSelection(selectionEnabled) { - _toggleSelection(selectionEnabled); - }, - setNavigationMode: setNavigationMode - }; -}); -/* harmony default export */ var block_list_block = (Object(external_this_wp_compose_["compose"])(external_this_wp_compose_["pure"], Object(external_this_wp_viewport_["withViewportMatch"])({ - isLargeViewport: 'medium' -}), applyWithSelect, applyWithDispatch, // block is sometimes not mounted at the right time, causing it be undefined -// see issue for more info https://github.com/WordPress/gutenberg/issues/17013 -Object(external_this_wp_compose_["ifCondition"])(function (_ref6) { - var block = _ref6.block; - return !!block; -}), Object(external_this_wp_components_["withFilters"])('editor.BlockListBlock'))(block_BlockListBlock)); - -// EXTERNAL MODULE: external {"this":["wp","htmlEntities"]} -var external_this_wp_htmlEntities_ = __webpack_require__(53); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/default-block-appender/index.js - - -/** - * External dependencies - */ - -/** - * WordPress dependencies - */ - - - - - - -/** - * Internal dependencies - */ - - - - -function default_block_appender_DefaultBlockAppender(_ref) { - var isLocked = _ref.isLocked, - isVisible = _ref.isVisible, - onAppend = _ref.onAppend, - showPrompt = _ref.showPrompt, - placeholder = _ref.placeholder, - rootClientId = _ref.rootClientId, - hovered = _ref.hovered, - setState = _ref.setState; - - if (isLocked || !isVisible) { - return null; - } - - var value = Object(external_this_wp_htmlEntities_["decodeEntities"])(placeholder) || Object(external_this_wp_i18n_["__"])('Start writing or type / to choose a block'); // The appender "button" is in-fact a text field so as to support - // transitions by WritingFlow occurring by arrow key press. WritingFlow - // only supports tab transitions into text fields and to the block focus - // boundary. - // - // See: https://github.com/WordPress/gutenberg/issues/4829#issuecomment-374213658 - // - // If it were ever to be made to be a proper `button` element, it is - // important to note that `onFocus` alone would not be sufficient to - // capture click events, notably in Firefox. - // - // See: https://gist.github.com/cvrebert/68659d0333a578d75372 - // The wp-block className is important for editor styles. - - - return Object(external_this_wp_element_["createElement"])("div", { - "data-root-client-id": rootClientId || '', - className: "wp-block editor-default-block-appender block-editor-default-block-appender", - onMouseEnter: function onMouseEnter() { - return setState({ - hovered: true - }); - }, - onMouseLeave: function onMouseLeave() { - return setState({ - hovered: false - }); - } - }, Object(external_this_wp_element_["createElement"])(block_drop_zone, { - rootClientId: rootClientId - }), Object(external_this_wp_element_["createElement"])(react_autosize_textarea_lib_default.a, { - role: "button", - "aria-label": Object(external_this_wp_i18n_["__"])('Add block'), - className: "editor-default-block-appender__content block-editor-default-block-appender__content", - readOnly: true, - onFocus: onAppend, - value: showPrompt ? value : '' - }), hovered && Object(external_this_wp_element_["createElement"])(inserter_with_shortcuts, { - rootClientId: rootClientId - }), Object(external_this_wp_element_["createElement"])(inserter, { - rootClientId: rootClientId, - position: "top right", - isAppender: true - })); -} -/* harmony default export */ var default_block_appender = (Object(external_this_wp_compose_["compose"])(Object(external_this_wp_compose_["withState"])({ - hovered: false -}), Object(external_this_wp_data_["withSelect"])(function (select, ownProps) { - var _select = select('core/block-editor'), - getBlockCount = _select.getBlockCount, - getBlockName = _select.getBlockName, - isBlockValid = _select.isBlockValid, - getSettings = _select.getSettings, - getTemplateLock = _select.getTemplateLock; - - var isEmpty = !getBlockCount(ownProps.rootClientId); - var isLastBlockDefault = getBlockName(ownProps.lastBlockClientId) === Object(external_this_wp_blocks_["getDefaultBlockName"])(); - var isLastBlockValid = isBlockValid(ownProps.lastBlockClientId); - - var _getSettings = getSettings(), - bodyPlaceholder = _getSettings.bodyPlaceholder; - - return { - isVisible: isEmpty || !isLastBlockDefault || !isLastBlockValid, - showPrompt: isEmpty, - isLocked: !!getTemplateLock(ownProps.rootClientId), - placeholder: bodyPlaceholder - }; -}), Object(external_this_wp_data_["withDispatch"])(function (dispatch, ownProps) { - var _dispatch = dispatch('core/block-editor'), - insertDefaultBlock = _dispatch.insertDefaultBlock, - startTyping = _dispatch.startTyping; - - return { - onAppend: function onAppend() { - var rootClientId = ownProps.rootClientId; - insertDefaultBlock(undefined, rootClientId); - startTyping(); - } - }; -}))(default_block_appender_DefaultBlockAppender)); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list-appender/index.js - - -/** - * External dependencies - */ - -/** - * WordPress dependencies - */ - - - -/** - * Internal dependencies - */ - - - - - -function BlockListAppender(_ref) { - var blockClientIds = _ref.blockClientIds, - rootClientId = _ref.rootClientId, - canInsertDefaultBlock = _ref.canInsertDefaultBlock, - isLocked = _ref.isLocked, - CustomAppender = _ref.renderAppender; - - if (isLocked) { - return null; - } // If a render prop has been provided - // use it to render the appender. - - - if (CustomAppender) { - return Object(external_this_wp_element_["createElement"])("div", { - className: "block-list-appender" - }, Object(external_this_wp_element_["createElement"])(CustomAppender, null)); - } // a false value means, don't render any appender. - - - if (CustomAppender === false) { - return null; - } // Render the default block appender when renderAppender has not been - // provided and the context supports use of the default appender. - - - if (canInsertDefaultBlock) { - return Object(external_this_wp_element_["createElement"])("div", { - className: "block-list-appender" - }, Object(external_this_wp_element_["createElement"])(ignore_nested_events, { - childHandledEvents: ['onFocus', 'onClick', 'onKeyDown'] - }, Object(external_this_wp_element_["createElement"])(default_block_appender, { - rootClientId: rootClientId, - lastBlockClientId: Object(external_this_lodash_["last"])(blockClientIds) - }))); - } // Fallback in the case no renderAppender has been provided and the - // default block can't be inserted. - - - return Object(external_this_wp_element_["createElement"])("div", { - className: "block-list-appender" - }, Object(external_this_wp_element_["createElement"])(button_block_appender, { - rootClientId: rootClientId, - className: "block-list-appender__toggle" - })); -} - -/* harmony default export */ var block_list_appender = (Object(external_this_wp_data_["withSelect"])(function (select, _ref2) { - var rootClientId = _ref2.rootClientId; - - var _select = select('core/block-editor'), - getBlockOrder = _select.getBlockOrder, - canInsertBlockType = _select.canInsertBlockType, - getTemplateLock = _select.getTemplateLock; - - return { - isLocked: !!getTemplateLock(rootClientId), - blockClientIds: getBlockOrder(rootClientId), - canInsertDefaultBlock: canInsertBlockType(Object(external_this_wp_blocks_["getDefaultBlockName"])(), rootClientId) - }; -})(BlockListAppender)); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list-footer/index.js -/** - * WordPress dependencies - */ - - -var block_list_footer_createSlotFill = Object(external_this_wp_components_["createSlotFill"])('__experimentalBlockListFooter'), - __experimentalBlockListFooter = block_list_footer_createSlotFill.Fill, - block_list_footer_Slot = block_list_footer_createSlotFill.Slot; - -__experimentalBlockListFooter.Slot = block_list_footer_Slot; -/* harmony default export */ var block_list_footer = (__experimentalBlockListFooter); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/use-multi-selection.js - - -/** - * WordPress dependencies - */ - - -/** - * Returns for the deepest node at the start or end of a container node. Ignores - * any text nodes that only contain HTML formatting whitespace. - * - * @param {Element} node Container to search. - * @param {string} type 'start' or 'end'. - */ - -function getDeepestNode(node, type) { - var child = type === 'start' ? 'firstChild' : 'lastChild'; - var sibling = type === 'start' ? 'nextSibling' : 'previousSibling'; - - while (node[child]) { - node = node[child]; - - while (node.nodeType === node.TEXT_NODE && /^[ \t\n]*$/.test(node.data) && node[sibling]) { - node = node[sibling]; - } - } - - return node; -} - -function useMultiSelection(_ref) { - var ref = _ref.ref, - rootClientId = _ref.rootClientId; - - function selector(select) { - var _select = select('core/block-editor'), - getBlockOrder = _select.getBlockOrder, - isSelectionEnabled = _select.isSelectionEnabled, - isMultiSelecting = _select.isMultiSelecting, - getMultiSelectedBlockClientIds = _select.getMultiSelectedBlockClientIds, - hasMultiSelection = _select.hasMultiSelection, - getBlockParents = _select.getBlockParents; - - return { - blockClientIds: getBlockOrder(rootClientId), - isSelectionEnabled: isSelectionEnabled(), - isMultiSelecting: isMultiSelecting(), - multiSelectedBlockClientIds: getMultiSelectedBlockClientIds(), - hasMultiSelection: hasMultiSelection(), - getBlockParents: getBlockParents - }; - } - - var _useSelect = Object(external_this_wp_data_["useSelect"])(selector), - blockClientIds = _useSelect.blockClientIds, - isSelectionEnabled = _useSelect.isSelectionEnabled, - isMultiSelecting = _useSelect.isMultiSelecting, - multiSelectedBlockClientIds = _useSelect.multiSelectedBlockClientIds, - hasMultiSelection = _useSelect.hasMultiSelection, - getBlockParents = _useSelect.getBlockParents; - - var _useDispatch = Object(external_this_wp_data_["useDispatch"])('core/block-editor'), - startMultiSelect = _useDispatch.startMultiSelect, - stopMultiSelect = _useDispatch.stopMultiSelect, - multiSelect = _useDispatch.multiSelect, - selectBlock = _useDispatch.selectBlock; - - var rafId = Object(external_this_wp_element_["useRef"])(); - var startClientId = Object(external_this_wp_element_["useRef"])(); - /** - * When the component updates, and there is multi selection, we need to - * select the entire block contents. - */ - - Object(external_this_wp_element_["useEffect"])(function () { - if (!hasMultiSelection || isMultiSelecting) { - return; - } - - var length = multiSelectedBlockClientIds.length; // These must be in the right DOM order. - - var start = multiSelectedBlockClientIds[0]; - var end = multiSelectedBlockClientIds[length - 1]; - var startIndex = blockClientIds.indexOf(start); // The selected block is not in this block list. - - if (startIndex === -1) { - return; - } - - var startNode = ref.current.querySelector("[data-block=\"".concat(start, "\"]")); - var endNode = ref.current.querySelector("[data-block=\"".concat(end, "\"]")); - var selection = window.getSelection(); - var range = document.createRange(); // The most stable way to select the whole block contents is to start - // and end at the deepest points. - - startNode = getDeepestNode(startNode, 'start'); - endNode = getDeepestNode(endNode, 'end'); - range.setStartBefore(startNode); - range.setEndAfter(endNode); - selection.removeAllRanges(); - selection.addRange(range); - }, [hasMultiSelection, isMultiSelecting, multiSelectedBlockClientIds, blockClientIds, selectBlock]); - var onSelectionChange = Object(external_this_wp_element_["useCallback"])(function () { - var selection = window.getSelection(); // If no selection is found, end multi selection. - - if (!selection.rangeCount || selection.isCollapsed) { - return; - } - - var focusNode = selection.focusNode; - var clientId; // Find the client ID of the block where the selection ends. - - do { - focusNode = focusNode.parentElement; - } while (focusNode && !(clientId = focusNode.getAttribute('data-block'))); - - if (startClientId.current === clientId) { - selectBlock(clientId); - } else { - var startPath = [].concat(Object(toConsumableArray["a" /* default */])(getBlockParents(startClientId.current)), [startClientId.current]); - var endPath = [].concat(Object(toConsumableArray["a" /* default */])(getBlockParents(clientId)), [clientId]); - var depth = Math.min(startPath.length, endPath.length) - 1; - multiSelect(startPath[depth], endPath[depth]); - } - }, [selectBlock, getBlockParents, multiSelect]); - /** - * Handles a mouseup event to end the current mouse multi-selection. - */ - - var onSelectionEnd = Object(external_this_wp_element_["useCallback"])(function () { - document.removeEventListener('selectionchange', onSelectionChange); // Equivalent to attaching the listener once. - - window.removeEventListener('mouseup', onSelectionEnd); // The browser selection won't have updated yet at this point, so wait - // until the next animation frame to get the browser selection. - - rafId.current = window.requestAnimationFrame(function () { - onSelectionChange(); - stopMultiSelect(); - }); - }, [onSelectionChange, stopMultiSelect]); // Only clean up when unmounting, these are added and cleaned up elsewhere. - - Object(external_this_wp_element_["useEffect"])(function () { - return function () { - document.removeEventListener('selectionchange', onSelectionChange); - window.removeEventListener('mouseup', onSelectionEnd); - window.cancelAnimationFrame(rafId.current); - }; - }, [onSelectionChange, onSelectionEnd]); - /** - * Binds event handlers to the document for tracking a pending multi-select - * in response to a mousedown event occurring in a rendered block. - */ - - return Object(external_this_wp_element_["useCallback"])(function (clientId) { - if (!isSelectionEnabled) { - return; - } - - startClientId.current = clientId; - startMultiSelect(); // `onSelectionStart` is called after `mousedown` and `mouseleave` - // (from a block). The selection ends when `mouseup` happens anywhere - // in the window. - - document.addEventListener('selectionchange', onSelectionChange); - window.addEventListener('mouseup', onSelectionEnd); // Removing the contenteditable attributes within the block editor is - // essential for selection to work across editable areas. The edible - // hosts are removed, allowing selection to be extended outside the - // DOM element. `startMultiSelect` sets a flag in the store so the rich - // text components are updated, but the rerender may happen very slowly, - // especially in Safari for the blocks that are asynchonously rendered. - // To ensure the browser instantly removes the selection boundaries, we - // remove the contenteditable attributes manually. - - Array.from(ref.current.querySelectorAll('.rich-text')).forEach(function (node) { - return node.removeAttribute('contenteditable'); - }); - }, [isSelectionEnabled, startMultiSelect, onSelectionEnd]); -} - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/index.js - - -/** - * External dependencies - */ - -/** - * WordPress dependencies - */ - - - -/** - * Internal dependencies - */ - - - - - - -/** - * If the block count exceeds the threshold, we disable the reordering animation - * to avoid laginess. - */ - -var BLOCK_ANIMATION_THRESHOLD = 200; - -var block_list_forceSyncUpdates = function forceSyncUpdates(WrappedComponent) { - return function (props) { - return Object(external_this_wp_element_["createElement"])(external_this_wp_data_["AsyncModeProvider"], { - value: false - }, Object(external_this_wp_element_["createElement"])(WrappedComponent, props)); - }; -}; - -function BlockList(_ref) { - var className = _ref.className, - rootClientId = _ref.rootClientId, - _ref$__experimentalMo = _ref.__experimentalMoverDirection, - moverDirection = _ref$__experimentalMo === void 0 ? 'vertical' : _ref$__experimentalMo, - isDraggable = _ref.isDraggable, - renderAppender = _ref.renderAppender; - - function selector(select) { - var _select = select('core/block-editor'), - getBlockOrder = _select.getBlockOrder, - isMultiSelecting = _select.isMultiSelecting, - getSelectedBlockClientId = _select.getSelectedBlockClientId, - getMultiSelectedBlockClientIds = _select.getMultiSelectedBlockClientIds, - hasMultiSelection = _select.hasMultiSelection, - getGlobalBlockCount = _select.getGlobalBlockCount, - isTyping = _select.isTyping; - - return { - blockClientIds: getBlockOrder(rootClientId), - isMultiSelecting: isMultiSelecting(), - selectedBlockClientId: getSelectedBlockClientId(), - multiSelectedBlockClientIds: getMultiSelectedBlockClientIds(), - hasMultiSelection: hasMultiSelection(), - enableAnimation: !isTyping() && getGlobalBlockCount() <= BLOCK_ANIMATION_THRESHOLD - }; - } - - var _useSelect = Object(external_this_wp_data_["useSelect"])(selector), - blockClientIds = _useSelect.blockClientIds, - isMultiSelecting = _useSelect.isMultiSelecting, - selectedBlockClientId = _useSelect.selectedBlockClientId, - multiSelectedBlockClientIds = _useSelect.multiSelectedBlockClientIds, - hasMultiSelection = _useSelect.hasMultiSelection, - enableAnimation = _useSelect.enableAnimation; - - var ref = Object(external_this_wp_element_["useRef"])(); - var onSelectionStart = useMultiSelection({ - ref: ref, - rootClientId: rootClientId - }); - return Object(external_this_wp_element_["createElement"])("div", { - ref: ref, - className: classnames_default()('editor-block-list__layout block-editor-block-list__layout', className) - }, blockClientIds.map(function (clientId, index) { - var isBlockInSelection = hasMultiSelection ? multiSelectedBlockClientIds.includes(clientId) : selectedBlockClientId === clientId; - return Object(external_this_wp_element_["createElement"])(block_async_mode_provider, { - key: 'block-' + clientId, - clientId: clientId, - isBlockInSelection: isBlockInSelection - }, Object(external_this_wp_element_["createElement"])(block_list_block, { - rootClientId: rootClientId, - clientId: clientId, - onSelectionStart: onSelectionStart, - isDraggable: isDraggable, - moverDirection: moverDirection, - isMultiSelecting: isMultiSelecting // This prop is explicitely computed and passed down - // to avoid being impacted by the async mode - // otherwise there might be a small delay to trigger the animation. - , - animateOnChange: index, - enableAnimation: enableAnimation - })); - }), Object(external_this_wp_element_["createElement"])(block_list_appender, { - rootClientId: rootClientId, - renderAppender: renderAppender - }), Object(external_this_wp_element_["createElement"])(block_list_footer.Slot, null)); -} // This component needs to always be synchronous -// as it's the one changing the async mode -// depending on the block selection. - - -/* harmony default export */ var block_list = (block_list_forceSyncUpdates(BlockList)); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-preview/index.js - - - -/** - * External dependencies - */ - - -/** - * WordPress dependencies - */ - - - - -/** - * Internal dependencies - */ - - - - - -function ScaledBlockPreview(_ref) { - var blocks = _ref.blocks, - viewportWidth = _ref.viewportWidth, - _ref$padding = _ref.padding, - padding = _ref$padding === void 0 ? 0 : _ref$padding; - var previewRef = Object(external_this_wp_element_["useRef"])(null); - - var _useState = Object(external_this_wp_element_["useState"])(false), - _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2), - isReady = _useState2[0], - setIsReady = _useState2[1]; - - var _useState3 = Object(external_this_wp_element_["useState"])(1), - _useState4 = Object(slicedToArray["a" /* default */])(_useState3, 2), - previewScale = _useState4[0], - setPreviewScale = _useState4[1]; - - var _useState5 = Object(external_this_wp_element_["useState"])({ - x: 0, - y: 0 - }), - _useState6 = Object(slicedToArray["a" /* default */])(_useState5, 2), - _useState6$ = _useState6[0], - x = _useState6$.x, - y = _useState6$.y, - setPosition = _useState6[1]; // Dynamically calculate the scale factor - - - Object(external_this_wp_element_["useLayoutEffect"])(function () { - // Timer - required to account for async render of `BlockEditorProvider` - var timerId = setTimeout(function () { - var containerElement = previewRef.current; - - if (!containerElement) { - return; - } // If we're previewing a single block, scale the preview to fit it. - - - if (blocks.length === 1) { - var block = blocks[0]; - var previewElement = getBlockPreviewContainerDOMNode(block.clientId, containerElement); - - if (!previewElement) { - return; - } - - var containerElementRect = containerElement.getBoundingClientRect(); - containerElementRect = { - width: containerElementRect.width - padding * 2, - height: containerElementRect.height - padding * 2, - left: containerElementRect.left, - top: containerElementRect.top - }; - var scaledElementRect = previewElement.getBoundingClientRect(); - var scale = containerElementRect.width / scaledElementRect.width || 1; - var offsetX = -(scaledElementRect.left - containerElementRect.left) * scale + padding; - var offsetY = containerElementRect.height > scaledElementRect.height * scale ? (containerElementRect.height - scaledElementRect.height * scale) / 2 + padding : 0; - setPreviewScale(scale); - setPosition({ - x: offsetX, - y: offsetY - }); // Hack: we need to reset the scaled elements margins - - previewElement.style.marginTop = '0'; - } else { - var _containerElementRect = containerElement.getBoundingClientRect(); - - setPreviewScale(_containerElementRect.width / viewportWidth); - } - - setIsReady(true); - }, 100); // Cleanup - - return function () { - if (timerId) { - window.clearTimeout(timerId); - } - }; - }, []); - - if (!blocks || blocks.length === 0) { - return null; - } - - var previewStyles = { - transform: "scale(".concat(previewScale, ")"), - visibility: isReady ? 'visible' : 'hidden', - left: x, - top: y, - width: viewportWidth - }; - return Object(external_this_wp_element_["createElement"])("div", { - ref: previewRef, - className: classnames_default()('block-editor-block-preview__container editor-styles-wrapper', { - 'is-ready': isReady - }), - "aria-hidden": true - }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Disabled"], { - style: previewStyles, - className: "block-editor-block-preview__content" - }, Object(external_this_wp_element_["createElement"])(block_list, null))); -} - -function BlockPreview(_ref2) { - var blocks = _ref2.blocks, - _ref2$viewportWidth = _ref2.viewportWidth, - viewportWidth = _ref2$viewportWidth === void 0 ? 700 : _ref2$viewportWidth, - padding = _ref2.padding, - settings = _ref2.settings; - var renderedBlocks = Object(external_this_wp_element_["useMemo"])(function () { - return Object(external_this_lodash_["castArray"])(blocks); - }, [blocks]); - - var _useReducer = Object(external_this_wp_element_["useReducer"])(function (state) { - return state + 1; - }, 0), - _useReducer2 = Object(slicedToArray["a" /* default */])(_useReducer, 2), - recompute = _useReducer2[0], - triggerRecompute = _useReducer2[1]; - - Object(external_this_wp_element_["useLayoutEffect"])(triggerRecompute, [blocks]); - return Object(external_this_wp_element_["createElement"])(provider, { - value: renderedBlocks, - settings: settings - }, Object(external_this_wp_element_["createElement"])(ScaledBlockPreview, { - key: recompute, - blocks: renderedBlocks, - viewportWidth: viewportWidth, - padding: padding - })); -} -/** - * BlockPreview renders a preview of a block or array of blocks. - * - * @see https://github.com/WordPress/gutenberg/blob/master/packages/block-editor/src/components/block-preview/README.md - * - * @param {Array|Object} blocks A block instance (object) or an array of blocks to be previewed. - * @param {number} viewportWidth Width of the preview container in pixels. Controls at what size the blocks will be rendered inside the preview. Default: 700. - * @return {WPComponent} The component to be rendered. - */ - -/* harmony default export */ var block_preview = (Object(external_this_wp_data_["withSelect"])(function (select) { - return { - settings: select('core/block-editor').getSettings() - }; -})(BlockPreview)); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter-list-item/index.js - - - - -/** - * External dependencies - */ - -/** - * WordPress dependencies - */ - - -/** - * Internal dependencies - */ - - - -function InserterListItem(_ref) { - var icon = _ref.icon, - _onClick = _ref.onClick, - isDisabled = _ref.isDisabled, - title = _ref.title, - className = _ref.className, - props = Object(objectWithoutProperties["a" /* default */])(_ref, ["icon", "onClick", "isDisabled", "title", "className"]); - - var itemIconStyle = icon ? { - backgroundColor: icon.background, - color: icon.foreground - } : {}; - return Object(external_this_wp_element_["createElement"])("li", { - className: "editor-block-types-list__list-item block-editor-block-types-list__list-item" - }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], Object(esm_extends["a" /* default */])({ - className: classnames_default()('editor-block-types-list__item block-editor-block-types-list__item', className), - onClick: function onClick(event) { - event.preventDefault(); - - _onClick(); - }, - disabled: isDisabled - }, props), Object(external_this_wp_element_["createElement"])("span", { - className: "editor-block-types-list__item-icon block-editor-block-types-list__item-icon", - style: itemIconStyle - }, Object(external_this_wp_element_["createElement"])(BlockIcon, { - icon: icon, - showColors: true - })), Object(external_this_wp_element_["createElement"])("span", { - className: "editor-block-types-list__item-title block-editor-block-types-list__item-title" - }, title))); -} - -/* harmony default export */ var inserter_list_item = (InserterListItem); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-types-list/index.js - - -/** - * WordPress dependencies - */ - -/** - * Internal dependencies - */ - - - -function BlockTypesList(_ref) { - var items = _ref.items, - onSelect = _ref.onSelect, - _ref$onHover = _ref.onHover, - onHover = _ref$onHover === void 0 ? function () {} : _ref$onHover, - children = _ref.children; - return ( - /* - * Disable reason: The `list` ARIA role is redundant but - * Safari+VoiceOver won't announce the list otherwise. - */ - - /* eslint-disable jsx-a11y/no-redundant-roles */ - Object(external_this_wp_element_["createElement"])("ul", { - role: "list", - className: "editor-block-types-list block-editor-block-types-list" - }, items && items.map(function (item) { - return Object(external_this_wp_element_["createElement"])(inserter_list_item, { - key: item.id, - className: Object(external_this_wp_blocks_["getBlockMenuDefaultClassName"])(item.id), - icon: item.icon, - onClick: function onClick() { - onSelect(item); - onHover(null); - }, - onFocus: function onFocus() { - return onHover(item); - }, - onMouseEnter: function onMouseEnter() { - return onHover(item); - }, - onMouseLeave: function onMouseLeave() { - return onHover(null); - }, - onBlur: function onBlur() { - return onHover(null); - }, - isDisabled: item.isDisabled, - title: item.title - }); - }), children) - /* eslint-enable jsx-a11y/no-redundant-roles */ - - ); -} - -/* harmony default export */ var block_types_list = (BlockTypesList); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-card/index.js - - -/** - * Internal dependencies - */ - - -function BlockCard(_ref) { - var blockType = _ref.blockType; - return Object(external_this_wp_element_["createElement"])("div", { - className: "block-editor-block-card" - }, Object(external_this_wp_element_["createElement"])(BlockIcon, { - icon: blockType.icon, - showColors: true - }), Object(external_this_wp_element_["createElement"])("div", { - className: "block-editor-block-card__content" - }, Object(external_this_wp_element_["createElement"])("div", { - className: "block-editor-block-card__title" - }, blockType.title), Object(external_this_wp_element_["createElement"])("div", { - className: "block-editor-block-card__description" - }, blockType.description))); -} - -/* harmony default export */ var block_card = (BlockCard); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter/child-blocks.js - - - - -/** - * WordPress dependencies - */ - - -/** - * Internal dependencies - */ - - - - -function ChildBlocks(_ref) { - var rootBlockIcon = _ref.rootBlockIcon, - rootBlockTitle = _ref.rootBlockTitle, - items = _ref.items, - props = Object(objectWithoutProperties["a" /* default */])(_ref, ["rootBlockIcon", "rootBlockTitle", "items"]); - - return Object(external_this_wp_element_["createElement"])("div", { - className: "editor-inserter__child-blocks block-editor-inserter__child-blocks" - }, (rootBlockIcon || rootBlockTitle) && Object(external_this_wp_element_["createElement"])("div", { - className: "editor-inserter__parent-block-header block-editor-inserter__parent-block-header" - }, Object(external_this_wp_element_["createElement"])(BlockIcon, { - icon: rootBlockIcon, - showColors: true - }), rootBlockTitle && Object(external_this_wp_element_["createElement"])("h2", null, rootBlockTitle)), Object(external_this_wp_element_["createElement"])(block_types_list, Object(esm_extends["a" /* default */])({ - items: items - }, props))); -} - -/* harmony default export */ var child_blocks = (Object(external_this_wp_compose_["compose"])(Object(external_this_wp_compose_["ifCondition"])(function (_ref2) { - var items = _ref2.items; - return items && items.length > 0; -}), Object(external_this_wp_data_["withSelect"])(function (select, _ref3) { - var rootClientId = _ref3.rootClientId; - - var _select = select('core/blocks'), - getBlockType = _select.getBlockType; - - var _select2 = select('core/block-editor'), - getBlockName = _select2.getBlockName; - - var rootBlockName = getBlockName(rootClientId); - var rootBlockType = getBlockType(rootBlockName); - return { - rootBlockTitle: rootBlockType && rootBlockType.title, - rootBlockIcon: rootBlockType && rootBlockType.icon - }; -}))(ChildBlocks)); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter-menu-extension/index.js -/** - * WordPress dependencies - */ - - -var inserter_menu_extension_createSlotFill = Object(external_this_wp_components_["createSlotFill"])('__experimentalInserterMenuExtension'), - __experimentalInserterMenuExtension = inserter_menu_extension_createSlotFill.Fill, - inserter_menu_extension_Slot = inserter_menu_extension_createSlotFill.Slot; - -__experimentalInserterMenuExtension.Slot = inserter_menu_extension_Slot; -/* harmony default export */ var inserter_menu_extension = (__experimentalInserterMenuExtension); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter/menu.js - - - - - - - - - -/** - * External dependencies - */ - - - -/** - * WordPress dependencies - */ - - - - - - - - - - -/** - * Internal dependencies - */ - - - - - - -var MAX_SUGGESTED_ITEMS = 9; - -var stopKeyPropagation = function stopKeyPropagation(event) { - return event.stopPropagation(); -}; -/** - * Filters an item list given a search term. - * - * @param {Array} items Item list - * @param {string} searchTerm Search term. - * - * @return {Array} Filtered item list. - */ - - -var menu_searchItems = function searchItems(items, searchTerm) { - var normalizedSearchTerm = menu_normalizeTerm(searchTerm); - - var matchSearch = function matchSearch(string) { - return menu_normalizeTerm(string).indexOf(normalizedSearchTerm) !== -1; - }; - - var categories = Object(external_this_wp_blocks_["getCategories"])(); - return items.filter(function (item) { - var itemCategory = Object(external_this_lodash_["find"])(categories, { - slug: item.category - }); - return matchSearch(item.title) || Object(external_this_lodash_["some"])(item.keywords, matchSearch) || itemCategory && matchSearch(itemCategory.title); - }); -}; -/** - * Converts the search term into a normalized term. - * - * @param {string} term The search term to normalize. - * - * @return {string} The normalized search term. - */ - -var menu_normalizeTerm = function normalizeTerm(term) { - // Disregard diacritics. - // Input: "média" - term = Object(external_this_lodash_["deburr"])(term); // Accommodate leading slash, matching autocomplete expectations. - // Input: "/media" - - term = term.replace(/^\//, ''); // Lowercase. - // Input: "MEDIA" - - term = term.toLowerCase(); // Strip leading and trailing whitespace. - // Input: " media " - - term = term.trim(); - return term; -}; -var menu_InserterMenu = -/*#__PURE__*/ -function (_Component) { - Object(inherits["a" /* default */])(InserterMenu, _Component); - - function InserterMenu() { - var _this; - - Object(classCallCheck["a" /* default */])(this, InserterMenu); - - _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(InserterMenu).apply(this, arguments)); - _this.state = { - childItems: [], - filterValue: '', - hoveredItem: null, - suggestedItems: [], - reusableItems: [], - itemsPerCategory: {}, - openPanels: ['suggested'] - }; - _this.onChangeSearchInput = _this.onChangeSearchInput.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.onHover = _this.onHover.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.panels = {}; - _this.inserterResults = Object(external_this_wp_element_["createRef"])(); - return _this; - } - - Object(createClass["a" /* default */])(InserterMenu, [{ - key: "componentDidMount", - value: function componentDidMount() { - if (this.props.fetchReusableBlocks) { - this.props.fetchReusableBlocks(); - } - - this.filter(); - } - }, { - key: "componentDidUpdate", - value: function componentDidUpdate(prevProps) { - if (prevProps.items !== this.props.items) { - this.filter(this.state.filterValue); - } - } - }, { - key: "onChangeSearchInput", - value: function onChangeSearchInput(event) { - this.filter(event.target.value); - } - }, { - key: "onHover", - value: function onHover(item) { - this.setState({ - hoveredItem: item - }); - var _this$props = this.props, - showInsertionPoint = _this$props.showInsertionPoint, - hideInsertionPoint = _this$props.hideInsertionPoint; - - if (item) { - showInsertionPoint(); - } else { - hideInsertionPoint(); - } - } - }, { - key: "bindPanel", - value: function bindPanel(name) { - var _this2 = this; - - return function (ref) { - _this2.panels[name] = ref; - }; - } - }, { - key: "onTogglePanel", - value: function onTogglePanel(panel) { - var _this3 = this; - - return function () { - var isOpened = _this3.state.openPanels.indexOf(panel) !== -1; - - if (isOpened) { - _this3.setState({ - openPanels: Object(external_this_lodash_["without"])(_this3.state.openPanels, panel) - }); - } else { - _this3.setState({ - openPanels: [].concat(Object(toConsumableArray["a" /* default */])(_this3.state.openPanels), [panel]) - }); - - _this3.props.setTimeout(function () { - // We need a generic way to access the panel's container - lib_default()(_this3.panels[panel], _this3.inserterResults.current, { - alignWithTop: true - }); - }); - } - }; - } - }, { - key: "filterOpenPanels", - value: function filterOpenPanels(filterValue, itemsPerCategory, filteredItems, reusableItems) { - if (filterValue === this.state.filterValue) { - return this.state.openPanels; - } - - if (!filterValue) { - return ['suggested']; - } - - var openPanels = []; - - if (reusableItems.length > 0) { - openPanels.push('reusable'); - } - - if (filteredItems.length > 0) { - openPanels = openPanels.concat(Object.keys(itemsPerCategory)); - } - - return openPanels; - } - }, { - key: "filter", - value: function filter() { - var filterValue = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ''; - var _this$props2 = this.props, - debouncedSpeak = _this$props2.debouncedSpeak, - items = _this$props2.items, - rootChildBlocks = _this$props2.rootChildBlocks; - var filteredItems = menu_searchItems(items, filterValue); - - var childItems = Object(external_this_lodash_["filter"])(filteredItems, function (_ref) { - var name = _ref.name; - return Object(external_this_lodash_["includes"])(rootChildBlocks, name); - }); - - var suggestedItems = []; - - if (!filterValue) { - var maxSuggestedItems = this.props.maxSuggestedItems || MAX_SUGGESTED_ITEMS; - suggestedItems = Object(external_this_lodash_["filter"])(items, function (item) { - return item.utility > 0; - }).slice(0, maxSuggestedItems); - } - - var reusableItems = Object(external_this_lodash_["filter"])(filteredItems, { - category: 'reusable' - }); - - var getCategoryIndex = function getCategoryIndex(item) { - return Object(external_this_lodash_["findIndex"])(Object(external_this_wp_blocks_["getCategories"])(), function (category) { - return category.slug === item.category; - }); - }; - - var itemsPerCategory = Object(external_this_lodash_["flow"])(function (itemList) { - return Object(external_this_lodash_["filter"])(itemList, function (item) { - return item.category !== 'reusable'; - }); - }, function (itemList) { - return Object(external_this_lodash_["sortBy"])(itemList, getCategoryIndex); - }, function (itemList) { - return Object(external_this_lodash_["groupBy"])(itemList, 'category'); - })(filteredItems); - this.setState({ - hoveredItem: null, - childItems: childItems, - filterValue: filterValue, - suggestedItems: suggestedItems, - reusableItems: reusableItems, - itemsPerCategory: itemsPerCategory, - openPanels: this.filterOpenPanels(filterValue, itemsPerCategory, filteredItems, reusableItems) - }); - var resultCount = Object.keys(itemsPerCategory).reduce(function (accumulator, currentCategorySlug) { - return accumulator + itemsPerCategory[currentCategorySlug].length; - }, 0); - var resultsFoundMessage = Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["_n"])('%d result found.', '%d results found.', resultCount), resultCount); - debouncedSpeak(resultsFoundMessage); - } - }, { - key: "onKeyDown", - value: function onKeyDown(event) { - if (Object(external_this_lodash_["includes"])([external_this_wp_keycodes_["LEFT"], external_this_wp_keycodes_["DOWN"], external_this_wp_keycodes_["RIGHT"], external_this_wp_keycodes_["UP"], external_this_wp_keycodes_["BACKSPACE"], external_this_wp_keycodes_["ENTER"]], event.keyCode)) { - // Stop the key event from propagating up to ObserveTyping.startTypingInTextField. - event.stopPropagation(); - } - } - }, { - key: "render", - value: function render() { - var _this4 = this; - - var _this$props3 = this.props, - instanceId = _this$props3.instanceId, - onSelect = _this$props3.onSelect, - rootClientId = _this$props3.rootClientId, - showInserterHelpPanel = _this$props3.showInserterHelpPanel; - var _this$state = this.state, - childItems = _this$state.childItems, - hoveredItem = _this$state.hoveredItem, - itemsPerCategory = _this$state.itemsPerCategory, - openPanels = _this$state.openPanels, - reusableItems = _this$state.reusableItems, - suggestedItems = _this$state.suggestedItems, - filterValue = _this$state.filterValue; - - var isPanelOpen = function isPanelOpen(panel) { - return openPanels.indexOf(panel) !== -1; - }; - - var hasItems = !Object(external_this_lodash_["isEmpty"])(suggestedItems) || !Object(external_this_lodash_["isEmpty"])(reusableItems) || !Object(external_this_lodash_["isEmpty"])(itemsPerCategory); - var hoveredItemBlockType = hoveredItem ? Object(external_this_wp_blocks_["getBlockType"])(hoveredItem.name) : null; - var hasHelpPanel = hasItems && showInserterHelpPanel; // Disable reason (no-autofocus): The inserter menu is a modal display, not one which - // is always visible, and one which already incurs this behavior of autoFocus via - // Popover's focusOnMount. - // Disable reason (no-static-element-interactions): Navigational key-presses within - // the menu are prevented from triggering WritingFlow and ObserveTyping interactions. - - /* eslint-disable jsx-a11y/no-autofocus, jsx-a11y/no-static-element-interactions */ - - return Object(external_this_wp_element_["createElement"])("div", { - className: classnames_default()('editor-inserter__menu block-editor-inserter__menu', { - 'has-help-panel': hasHelpPanel - }), - onKeyPress: stopKeyPropagation, - onKeyDown: this.onKeyDown - }, Object(external_this_wp_element_["createElement"])("div", { - className: "block-editor-inserter__main-area" - }, Object(external_this_wp_element_["createElement"])("label", { - htmlFor: "block-editor-inserter__search-".concat(instanceId), - className: "screen-reader-text" - }, Object(external_this_wp_i18n_["__"])('Search for a block')), Object(external_this_wp_element_["createElement"])("input", { - id: "block-editor-inserter__search-".concat(instanceId), - type: "search", - placeholder: Object(external_this_wp_i18n_["__"])('Search for a block'), - className: "editor-inserter__search block-editor-inserter__search", - autoFocus: true, - onChange: this.onChangeSearchInput - }), Object(external_this_wp_element_["createElement"])("div", { - className: "editor-inserter__results block-editor-inserter__results", - ref: this.inserterResults, - tabIndex: "0", - role: "region", - "aria-label": Object(external_this_wp_i18n_["__"])('Available block types') - }, Object(external_this_wp_element_["createElement"])(child_blocks, { - rootClientId: rootClientId, - items: childItems, - onSelect: onSelect, - onHover: this.onHover - }), !!suggestedItems.length && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], { - title: Object(external_this_wp_i18n_["_x"])('Most Used', 'blocks'), - opened: isPanelOpen('suggested'), - onToggle: this.onTogglePanel('suggested'), - ref: this.bindPanel('suggested') - }, Object(external_this_wp_element_["createElement"])(block_types_list, { - items: suggestedItems, - onSelect: onSelect, - onHover: this.onHover - })), Object(external_this_lodash_["map"])(Object(external_this_wp_blocks_["getCategories"])(), function (category) { - var categoryItems = itemsPerCategory[category.slug]; - - if (!categoryItems || !categoryItems.length) { - return null; - } - - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], { - key: category.slug, - title: category.title, - icon: category.icon, - opened: isPanelOpen(category.slug), - onToggle: _this4.onTogglePanel(category.slug), - ref: _this4.bindPanel(category.slug) - }, Object(external_this_wp_element_["createElement"])(block_types_list, { - items: categoryItems, - onSelect: onSelect, - onHover: _this4.onHover - })); - }), !!reusableItems.length && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], { - className: "editor-inserter__reusable-blocks-panel block-editor-inserter__reusable-blocks-panel", - title: Object(external_this_wp_i18n_["__"])('Reusable'), - opened: isPanelOpen('reusable'), - onToggle: this.onTogglePanel('reusable'), - icon: "controls-repeat", - ref: this.bindPanel('reusable') - }, Object(external_this_wp_element_["createElement"])(block_types_list, { - items: reusableItems, - onSelect: onSelect, - onHover: this.onHover - }), Object(external_this_wp_element_["createElement"])("a", { - className: "editor-inserter__manage-reusable-blocks block-editor-inserter__manage-reusable-blocks", - href: Object(external_this_wp_url_["addQueryArgs"])('edit.php', { - post_type: 'wp_block' - }) - }, Object(external_this_wp_i18n_["__"])('Manage All Reusable Blocks'))), Object(external_this_wp_element_["createElement"])(inserter_menu_extension.Slot, { - fillProps: { - onSelect: onSelect, - onHover: this.onHover, - filterValue: filterValue, - hasItems: hasItems - } - }, function (fills) { - if (fills.length) { - return fills; - } - - if (!hasItems) { - return Object(external_this_wp_element_["createElement"])("p", { - className: "editor-inserter__no-results block-editor-inserter__no-results" - }, Object(external_this_wp_i18n_["__"])('No blocks found.')); - } - - return null; - }))), hasHelpPanel && Object(external_this_wp_element_["createElement"])("div", { - className: "block-editor-inserter__menu-help-panel" - }, hoveredItem && Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, !Object(external_this_wp_blocks_["isReusableBlock"])(hoveredItem) && Object(external_this_wp_element_["createElement"])(block_card, { - blockType: hoveredItemBlockType - }), Object(external_this_wp_element_["createElement"])("div", { - className: "block-editor-inserter__preview" - }, Object(external_this_wp_blocks_["isReusableBlock"])(hoveredItem) || hoveredItemBlockType.example ? Object(external_this_wp_element_["createElement"])("div", { - className: "block-editor-inserter__preview-content" - }, Object(external_this_wp_element_["createElement"])(block_preview, { - padding: 10, - viewportWidth: 500, - blocks: hoveredItemBlockType.example ? Object(external_this_wp_blocks_["getBlockFromExample"])(hoveredItem.name, hoveredItemBlockType.example) : Object(external_this_wp_blocks_["createBlock"])(hoveredItem.name, hoveredItem.initialAttributes) - })) : Object(external_this_wp_element_["createElement"])("div", { - className: "block-editor-inserter__preview-content-missing" - }, Object(external_this_wp_i18n_["__"])('No Preview Available.')))), !hoveredItem && Object(external_this_wp_element_["createElement"])("div", { - className: "block-editor-inserter__menu-help-panel-no-block" - }, Object(external_this_wp_element_["createElement"])("div", { - className: "block-editor-inserter__menu-help-panel-no-block-text" - }, Object(external_this_wp_element_["createElement"])("div", { - className: "block-editor-inserter__menu-help-panel-title" - }, Object(external_this_wp_i18n_["__"])('Content Blocks')), Object(external_this_wp_element_["createElement"])("p", null, Object(external_this_wp_i18n_["__"])('Welcome to the wonderful world of blocks! Blocks are the basis of all content within the editor.')), Object(external_this_wp_element_["createElement"])("p", null, Object(external_this_wp_i18n_["__"])('There are blocks available for all kinds of content: insert text, headings, images, lists, videos, tables, and lots more.')), Object(external_this_wp_element_["createElement"])("p", null, Object(external_this_wp_i18n_["__"])('Browse through the library to learn more about what each block does.'))), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Tip"], null, Object(external_this_wp_element_["__experimentalCreateInterpolateElement"])(Object(external_this_wp_i18n_["__"])('While writing, you can press / to quickly insert new blocks.'), { - kbd: Object(external_this_wp_element_["createElement"])("kbd", null) - }))))); - /* eslint-enable jsx-a11y/no-autofocus, jsx-a11y/no-static-element-interactions */ - } - }]); - - return InserterMenu; -}(external_this_wp_element_["Component"]); -/* harmony default export */ var menu = (Object(external_this_wp_compose_["compose"])(Object(external_this_wp_data_["withSelect"])(function (select, _ref2) { - var clientId = _ref2.clientId, - isAppender = _ref2.isAppender, - rootClientId = _ref2.rootClientId, - showInserterHelpPanel = _ref2.showInserterHelpPanel; - - var _select = select('core/block-editor'), - getInserterItems = _select.getInserterItems, - getBlockName = _select.getBlockName, - getBlockRootClientId = _select.getBlockRootClientId, - getBlockSelectionEnd = _select.getBlockSelectionEnd, - getSettings = _select.getSettings; - - var _select2 = select('core/blocks'), - getChildBlockNames = _select2.getChildBlockNames; - - var destinationRootClientId = rootClientId; - - if (!destinationRootClientId && !clientId && !isAppender) { - var end = getBlockSelectionEnd(); - - if (end) { - destinationRootClientId = getBlockRootClientId(end) || undefined; - } - } - - var destinationRootBlockName = getBlockName(destinationRootClientId); - - var _getSettings = getSettings(), - showInserterHelpPanelSetting = _getSettings.showInserterHelpPanel, - fetchReusableBlocks = _getSettings.__experimentalFetchReusableBlocks; - - return { - rootChildBlocks: getChildBlockNames(destinationRootBlockName), - items: getInserterItems(destinationRootClientId), - showInserterHelpPanel: showInserterHelpPanel && showInserterHelpPanelSetting, - destinationRootClientId: destinationRootClientId, - fetchReusableBlocks: fetchReusableBlocks - }; -}), Object(external_this_wp_data_["withDispatch"])(function (dispatch, ownProps, _ref3) { - var select = _ref3.select; - - var _dispatch = dispatch('core/block-editor'), - _showInsertionPoint = _dispatch.showInsertionPoint, - hideInsertionPoint = _dispatch.hideInsertionPoint; // To avoid duplication, getInsertionIndex is extracted and used in two event handlers - // This breaks the withDispatch not containing any logic rule. - // Since it's a function only called when the event handlers are called, - // it's fine to extract it. - // eslint-disable-next-line no-restricted-syntax - - - function getInsertionIndex() { - var _select3 = select('core/block-editor'), - getBlockIndex = _select3.getBlockIndex, - getBlockSelectionEnd = _select3.getBlockSelectionEnd, - getBlockOrder = _select3.getBlockOrder; - - var clientId = ownProps.clientId, - destinationRootClientId = ownProps.destinationRootClientId, - isAppender = ownProps.isAppender; // If the clientId is defined, we insert at the position of the block. - - if (clientId) { - return getBlockIndex(clientId, destinationRootClientId); - } // If there a selected block, we insert after the selected block. - - - var end = getBlockSelectionEnd(); - - if (!isAppender && end) { - return getBlockIndex(end, destinationRootClientId) + 1; - } // Otherwise, we insert at the end of the current rootClientId - - - return getBlockOrder(destinationRootClientId).length; - } - - return { - showInsertionPoint: function showInsertionPoint() { - var index = getInsertionIndex(); - - _showInsertionPoint(ownProps.destinationRootClientId, index); - }, - hideInsertionPoint: hideInsertionPoint, - onSelect: function onSelect(item) { - var _dispatch2 = dispatch('core/block-editor'), - replaceBlocks = _dispatch2.replaceBlocks, - insertBlock = _dispatch2.insertBlock; - - var _select4 = select('core/block-editor'), - getSelectedBlock = _select4.getSelectedBlock; - - var isAppender = ownProps.isAppender, - onSelect = ownProps.onSelect, - selectBlockOnInsert = ownProps.__experimentalSelectBlockOnInsert; - var name = item.name, - title = item.title, - initialAttributes = item.initialAttributes; - var selectedBlock = getSelectedBlock(); - var insertedBlock = Object(external_this_wp_blocks_["createBlock"])(name, initialAttributes); - - if (!isAppender && selectedBlock && Object(external_this_wp_blocks_["isUnmodifiedDefaultBlock"])(selectedBlock)) { - replaceBlocks(selectedBlock.clientId, insertedBlock); - } else { - insertBlock(insertedBlock, getInsertionIndex(), ownProps.destinationRootClientId, selectBlockOnInsert); - - if (!selectBlockOnInsert) { - // translators: %s: the name of the block that has been added - var message = Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["__"])('%s block added'), title); - Object(external_this_wp_a11y_["speak"])(message); - } - } - - onSelect(); - return insertedBlock; - } - }; -}), external_this_wp_components_["withSpokenMessages"], external_this_wp_compose_["withInstanceId"], external_this_wp_compose_["withSafeTimeout"])(menu_InserterMenu)); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter/index.js - - - - - - - - -/** - * External dependencies - */ - -/** - * WordPress dependencies - */ - - - - - - - - -/** - * Internal dependencies - */ - - - -var inserter_defaultRenderToggle = function defaultRenderToggle(_ref) { - var onToggle = _ref.onToggle, - disabled = _ref.disabled, - isOpen = _ref.isOpen, - blockTitle = _ref.blockTitle, - hasSingleBlockType = _ref.hasSingleBlockType; - var label; - - if (hasSingleBlockType) { - // translators: %s: the name of the block when there is only one - label = Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["_x"])('Add %s', 'directly add the only allowed block'), blockTitle); - } else { - label = Object(external_this_wp_i18n_["_x"])('Add block', 'Generic label for block inserter button'); - } - - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], { - icon: "insert", - label: label, - labelPosition: "bottom", - onMouseDown: function onMouseDown(event) { - event.preventDefault(); - event.currentTarget.focus(); - }, - onClick: onToggle, - className: "editor-inserter__toggle block-editor-inserter__toggle", - "aria-haspopup": !hasSingleBlockType ? 'true' : false, - "aria-expanded": !hasSingleBlockType ? isOpen : false, - disabled: disabled - }); -}; - -var inserter_Inserter = -/*#__PURE__*/ -function (_Component) { - Object(inherits["a" /* default */])(Inserter, _Component); - - function Inserter() { - var _this; - - Object(classCallCheck["a" /* default */])(this, Inserter); - - _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(Inserter).apply(this, arguments)); - _this.onToggle = _this.onToggle.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.renderToggle = _this.renderToggle.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.renderContent = _this.renderContent.bind(Object(assertThisInitialized["a" /* default */])(_this)); - return _this; - } - - Object(createClass["a" /* default */])(Inserter, [{ - key: "onToggle", - value: function onToggle(isOpen) { - var onToggle = this.props.onToggle; // Surface toggle callback to parent component - - if (onToggle) { - onToggle(isOpen); - } - } - /** - * Render callback to display Dropdown toggle element. - * - * @param {Object} options - * @param {Function} options.onToggle Callback to invoke when toggle is - * pressed. - * @param {boolean} options.isOpen Whether dropdown is currently open. - * - * @return {WPElement} Dropdown toggle element. - */ - - }, { - key: "renderToggle", - value: function renderToggle(_ref2) { - var onToggle = _ref2.onToggle, - isOpen = _ref2.isOpen; - var _this$props = this.props, - disabled = _this$props.disabled, - blockTitle = _this$props.blockTitle, - hasSingleBlockType = _this$props.hasSingleBlockType, - _this$props$renderTog = _this$props.renderToggle, - renderToggle = _this$props$renderTog === void 0 ? inserter_defaultRenderToggle : _this$props$renderTog; - return renderToggle({ - onToggle: onToggle, - isOpen: isOpen, - disabled: disabled, - blockTitle: blockTitle, - hasSingleBlockType: hasSingleBlockType - }); - } - /** - * Render callback to display Dropdown content element. - * - * @param {Object} options - * @param {Function} options.onClose Callback to invoke when dropdown is - * closed. - * - * @return {WPElement} Dropdown content element. - */ - - }, { - key: "renderContent", - value: function renderContent(_ref3) { - var onClose = _ref3.onClose; - var _this$props2 = this.props, - rootClientId = _this$props2.rootClientId, - clientId = _this$props2.clientId, - isAppender = _this$props2.isAppender, - showInserterHelpPanel = _this$props2.showInserterHelpPanel, - selectBlockOnInsert = _this$props2.__experimentalSelectBlockOnInsert; - return Object(external_this_wp_element_["createElement"])(menu, { - onSelect: onClose, - rootClientId: rootClientId, - clientId: clientId, - isAppender: isAppender, - showInserterHelpPanel: showInserterHelpPanel, - __experimentalSelectBlockOnInsert: selectBlockOnInsert - }); - } - }, { - key: "render", - value: function render() { - var _this$props3 = this.props, - position = _this$props3.position, - hasSingleBlockType = _this$props3.hasSingleBlockType, - insertOnlyAllowedBlock = _this$props3.insertOnlyAllowedBlock; - - if (hasSingleBlockType) { - return this.renderToggle({ - onToggle: insertOnlyAllowedBlock - }); - } - - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Dropdown"], { - className: "editor-inserter block-editor-inserter", - contentClassName: "editor-inserter__popover block-editor-inserter__popover", - position: position, - onToggle: this.onToggle, - expandOnMobile: true, - headerTitle: Object(external_this_wp_i18n_["__"])('Add a block'), - renderToggle: this.renderToggle, - renderContent: this.renderContent - }); - } - }]); - - return Inserter; -}(external_this_wp_element_["Component"]); - -/* harmony default export */ var inserter = (Object(external_this_wp_compose_["compose"])([Object(external_this_wp_data_["withSelect"])(function (select, _ref4) { - var rootClientId = _ref4.rootClientId; - - var _select = select('core/block-editor'), - hasInserterItems = _select.hasInserterItems, - __experimentalGetAllowedBlocks = _select.__experimentalGetAllowedBlocks; - - var allowedBlocks = __experimentalGetAllowedBlocks(rootClientId); - - var hasSingleBlockType = allowedBlocks && Object(external_this_lodash_["get"])(allowedBlocks, ['length'], 0) === 1; - var allowedBlockType = false; - - if (hasSingleBlockType) { - allowedBlockType = allowedBlocks[0]; - } - - return { - hasItems: hasInserterItems(rootClientId), - hasSingleBlockType: hasSingleBlockType, - blockTitle: allowedBlockType ? allowedBlockType.title : '', - allowedBlockType: allowedBlockType - }; -}), Object(external_this_wp_data_["withDispatch"])(function (dispatch, ownProps, _ref5) { - var select = _ref5.select; - return { - insertOnlyAllowedBlock: function insertOnlyAllowedBlock() { - var rootClientId = ownProps.rootClientId, - clientId = ownProps.clientId, - isAppender = ownProps.isAppender; - var hasSingleBlockType = ownProps.hasSingleBlockType, - allowedBlockType = ownProps.allowedBlockType, - selectBlockOnInsert = ownProps.__experimentalSelectBlockOnInsert; - - if (!hasSingleBlockType) { - return; - } - - function getInsertionIndex() { - var _select2 = select('core/block-editor'), - getBlockIndex = _select2.getBlockIndex, - getBlockSelectionEnd = _select2.getBlockSelectionEnd, - getBlockOrder = _select2.getBlockOrder; // If the clientId is defined, we insert at the position of the block. - - - if (clientId) { - return getBlockIndex(clientId, rootClientId); - } // If there a selected block, we insert after the selected block. - - - var end = getBlockSelectionEnd(); - - if (!isAppender && end) { - return getBlockIndex(end, rootClientId) + 1; - } // Otherwise, we insert at the end of the current rootClientId - - - return getBlockOrder(rootClientId).length; - } - - var _dispatch = dispatch('core/block-editor'), - insertBlock = _dispatch.insertBlock; - - var blockToInsert = Object(external_this_wp_blocks_["createBlock"])(allowedBlockType.name); - insertBlock(blockToInsert, getInsertionIndex(), rootClientId, selectBlockOnInsert); - - if (!selectBlockOnInsert) { - // translators: %s: the name of the block that has been added - var message = Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["__"])('%s block added'), allowedBlockType.title); - Object(external_this_wp_a11y_["speak"])(message); - } - } - }; -}), Object(external_this_wp_compose_["ifCondition"])(function (_ref6) { - var hasItems = _ref6.hasItems; - return hasItems; -})])(inserter_Inserter)); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/button-block-appender/index.js - - -/** - * External dependencies - */ - -/** - * WordPress dependencies - */ - - - -/** - * Internal dependencies - */ - - - - -function button_block_appender_ButtonBlockAppender(_ref) { - var rootClientId = _ref.rootClientId, - className = _ref.className, - selectBlockOnInsert = _ref.__experimentalSelectBlockOnInsert; - return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(block_drop_zone, { - rootClientId: rootClientId - }), Object(external_this_wp_element_["createElement"])(inserter, { - rootClientId: rootClientId, - __experimentalSelectBlockOnInsert: selectBlockOnInsert, - renderToggle: function renderToggle(_ref2) { - var onToggle = _ref2.onToggle, - disabled = _ref2.disabled, - isOpen = _ref2.isOpen, - blockTitle = _ref2.blockTitle, - hasSingleBlockType = _ref2.hasSingleBlockType; - var label; - - if (hasSingleBlockType) { - // translators: %s: the name of the block when there is only one - label = Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["_x"])('Add %s', 'directly add the only allowed block'), blockTitle); - } else { - label = Object(external_this_wp_i18n_["_x"])('Add block', 'Generic label for block inserter button'); - } - - var isToggleButton = !hasSingleBlockType; - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Tooltip"], { - text: label - }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { - className: classnames_default()(className, 'block-editor-button-block-appender'), - onClick: onToggle, - "aria-haspopup": isToggleButton ? 'true' : undefined, - "aria-expanded": isToggleButton ? isOpen : undefined, - disabled: disabled, - label: label - }, Object(external_this_wp_element_["createElement"])("span", { - className: "screen-reader-text" - }, label), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Icon"], { - icon: "insert" - }))); - }, - isAppender: true - })); -} -/** - * @see https://github.com/WordPress/gutenberg/blob/master/packages/block-editor/src/components/button-block-appender/README.md - */ - - -/* harmony default export */ var button_block_appender = (button_block_appender_ButtonBlockAppender); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-navigation/list.js - - -/** - * External dependencies - */ - - -/** - * WordPress dependencies - */ - - - - - -/** - * Internal dependencies - */ - - - -/** - * Get the block display name, if it has one, or the block title if it doesn't. - * - * @param {Object} blockType The block type. - * @param {Object} attributes The values of the block's attributes - * - * @return {string} The display name value. - */ - -function getBlockDisplayName(blockType, attributes) { - var displayNameAttribute = blockType.__experimentalDisplayName; - - if (!displayNameAttribute || !attributes[displayNameAttribute]) { - return blockType.title; - } // Strip any formatting. - - - var richTextValue = Object(external_this_wp_richText_["create"])({ - html: attributes[displayNameAttribute] - }); - var formatlessDisplayName = Object(external_this_wp_richText_["getTextContent"])(richTextValue); - return formatlessDisplayName; -} - -function BlockNavigationList(_ref) { - var blocks = _ref.blocks, - selectedBlockClientId = _ref.selectedBlockClientId, - selectBlock = _ref.selectBlock, - showAppender = _ref.showAppender, - showNestedBlocks = _ref.showNestedBlocks, - parentBlockClientId = _ref.parentBlockClientId; - var shouldShowAppender = showAppender && !!parentBlockClientId; - return ( - /* - * Disable reason: The `list` ARIA role is redundant but - * Safari+VoiceOver won't announce the list otherwise. - */ - - /* eslint-disable jsx-a11y/no-redundant-roles */ - Object(external_this_wp_element_["createElement"])("ul", { - className: "editor-block-navigation__list block-editor-block-navigation__list", - role: "list" - }, Object(external_this_lodash_["map"])(Object(external_this_lodash_["omitBy"])(blocks, external_this_lodash_["isNil"]), function (block) { - var blockType = Object(external_this_wp_blocks_["getBlockType"])(block.name); - var isSelected = block.clientId === selectedBlockClientId; - return Object(external_this_wp_element_["createElement"])("li", { - key: block.clientId - }, Object(external_this_wp_element_["createElement"])("div", { - className: "editor-block-navigation__item block-editor-block-navigation__item" - }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { - className: classnames_default()('editor-block-navigation__item-button block-editor-block-navigation__item-button', { - 'is-selected': isSelected - }), - onClick: function onClick() { - return selectBlock(block.clientId); - } - }, Object(external_this_wp_element_["createElement"])(BlockIcon, { - icon: blockType.icon, - showColors: true - }), getBlockDisplayName(blockType, block.attributes), isSelected && Object(external_this_wp_element_["createElement"])("span", { - className: "screen-reader-text" - }, Object(external_this_wp_i18n_["__"])('(selected block)')))), showNestedBlocks && !!block.innerBlocks && !!block.innerBlocks.length && Object(external_this_wp_element_["createElement"])(BlockNavigationList, { - blocks: block.innerBlocks, - selectedBlockClientId: selectedBlockClientId, - selectBlock: selectBlock, - parentBlockClientId: block.clientId, - showAppender: showAppender, - showNestedBlocks: true - })); - }), shouldShowAppender && Object(external_this_wp_element_["createElement"])("li", null, Object(external_this_wp_element_["createElement"])("div", { - className: "editor-block-navigation__item block-editor-block-navigation__item" - }, Object(external_this_wp_element_["createElement"])(button_block_appender, { - rootClientId: parentBlockClientId, - __experimentalSelectBlockOnInsert: false - })))) - /* eslint-enable jsx-a11y/no-redundant-roles */ - - ); -} - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-navigation/index.js - - -/** - * External dependencies - */ - -/** - * WordPress dependencies - */ - - - - - -/** - * Internal dependencies - */ - - - -function BlockNavigation(_ref) { - var rootBlock = _ref.rootBlock, - rootBlocks = _ref.rootBlocks, - selectedBlockClientId = _ref.selectedBlockClientId, - selectBlock = _ref.selectBlock; - - if (!rootBlocks || rootBlocks.length === 0) { - return null; - } - - var hasHierarchy = rootBlock && (rootBlock.clientId !== selectedBlockClientId || rootBlock.innerBlocks && rootBlock.innerBlocks.length !== 0); - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["NavigableMenu"], { - role: "presentation", - className: "editor-block-navigation__container block-editor-block-navigation__container" - }, Object(external_this_wp_element_["createElement"])("p", { - className: "editor-block-navigation__label block-editor-block-navigation__label" - }, Object(external_this_wp_i18n_["__"])('Block navigation')), hasHierarchy && Object(external_this_wp_element_["createElement"])(BlockNavigationList, { - blocks: [rootBlock], - selectedBlockClientId: selectedBlockClientId, - selectBlock: selectBlock, - showNestedBlocks: true - }), !hasHierarchy && Object(external_this_wp_element_["createElement"])(BlockNavigationList, { - blocks: rootBlocks, - selectedBlockClientId: selectedBlockClientId, - selectBlock: selectBlock - })); -} - -/* harmony default export */ var block_navigation = (Object(external_this_wp_compose_["compose"])(Object(external_this_wp_data_["withSelect"])(function (select) { - var _select = select('core/block-editor'), - getSelectedBlockClientId = _select.getSelectedBlockClientId, - getBlockHierarchyRootClientId = _select.getBlockHierarchyRootClientId, - getBlock = _select.getBlock, - getBlocks = _select.getBlocks; - - var selectedBlockClientId = getSelectedBlockClientId(); - return { - rootBlocks: getBlocks(), - rootBlock: selectedBlockClientId ? getBlock(getBlockHierarchyRootClientId(selectedBlockClientId)) : null, - selectedBlockClientId: selectedBlockClientId - }; -}), Object(external_this_wp_data_["withDispatch"])(function (dispatch, _ref2) { - var _ref2$onSelect = _ref2.onSelect, - onSelect = _ref2$onSelect === void 0 ? external_this_lodash_["noop"] : _ref2$onSelect; - return { - selectBlock: function selectBlock(clientId) { - dispatch('core/block-editor').selectBlock(clientId); - onSelect(clientId); - } - }; -}))(BlockNavigation)); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-navigation/dropdown.js - - - -/** - * WordPress dependencies - */ - - - - -/** - * Internal dependencies - */ - - -var MenuIcon = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { - xmlns: "http://www.w3.org/2000/svg", - viewBox: "0 0 24 24", - width: "20", - height: "20" -}, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { - d: "M5 5H3v2h2V5zm3 8h11v-2H8v2zm9-8H6v2h11V5zM7 11H5v2h2v-2zm0 8h2v-2H7v2zm3-2v2h11v-2H10z" -})); - -function BlockNavigationDropdown(_ref) { - var hasBlocks = _ref.hasBlocks, - isDisabled = _ref.isDisabled; - var isEnabled = hasBlocks && !isDisabled; - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Dropdown"], { - contentClassName: "editor-block-navigation__popover block-editor-block-navigation__popover", - renderToggle: function renderToggle(_ref2) { - var isOpen = _ref2.isOpen, - onToggle = _ref2.onToggle; - return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, isEnabled && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["KeyboardShortcuts"], { - bindGlobal: true, - shortcuts: Object(defineProperty["a" /* default */])({}, external_this_wp_keycodes_["rawShortcut"].access('o'), onToggle) - }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], { - icon: MenuIcon, - "aria-expanded": isOpen, - onClick: isEnabled ? onToggle : undefined, - label: Object(external_this_wp_i18n_["__"])('Block navigation'), - className: "editor-block-navigation block-editor-block-navigation", - shortcut: external_this_wp_keycodes_["displayShortcut"].access('o'), - "aria-disabled": !isEnabled - })); - }, - renderContent: function renderContent(_ref4) { - var onClose = _ref4.onClose; - return Object(external_this_wp_element_["createElement"])(block_navigation, { - onSelect: onClose - }); - } - }); -} - -/* harmony default export */ var dropdown = (Object(external_this_wp_data_["withSelect"])(function (select) { - return { - hasBlocks: !!select('core/block-editor').getBlockCount() - }; -})(BlockNavigationDropdown)); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-pattern-picker/index.js - - -/** - * External dependencies - */ - -/** - * WordPress dependencies - */ - - - - -function BlockPatternPicker(_ref) { - var _ref$icon = _ref.icon, - icon = _ref$icon === void 0 ? 'layout' : _ref$icon, - _ref$label = _ref.label, - label = _ref$label === void 0 ? Object(external_this_wp_i18n_["__"])('Choose pattern') : _ref$label, - _ref$instructions = _ref.instructions, - instructions = _ref$instructions === void 0 ? Object(external_this_wp_i18n_["__"])('Select a pattern to start with.') : _ref$instructions, - patterns = _ref.patterns, - onSelect = _ref.onSelect, - allowSkip = _ref.allowSkip; - var classes = classnames_default()('block-editor-block-pattern-picker', { - 'has-many-patterns': patterns.length > 4 - }); - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Placeholder"], { - icon: icon, - label: label, - instructions: instructions, - className: classes - }, Object(external_this_wp_element_["createElement"])("ul", { - className: "block-editor-block-pattern-picker__patterns", - role: "list" - }, patterns.map(function (pattern) { - return Object(external_this_wp_element_["createElement"])("li", { - key: pattern.name - }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], { - isLarge: true, - icon: pattern.icon, - size: 48, - onClick: function onClick() { - return onSelect(pattern); - }, - className: "block-editor-block-pattern-picker__pattern", - label: pattern.label - })); - })), allowSkip && Object(external_this_wp_element_["createElement"])("div", { - className: "block-editor-block-pattern-picker__skip" - }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { - isLink: true, - onClick: function onClick() { - return onSelect(); - } - }, Object(external_this_wp_i18n_["__"])('Skip')))); -} - -/* harmony default export */ var block_pattern_picker = (BlockPatternPicker); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-vertical-alignment-toolbar/icons.js - - -/** - * WordPress dependencies - */ - -var alignBottom = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { - xmlns: "http://www.w3.org/2000/svg", - width: "20", - height: "20", - viewBox: "0 0 24 24" -}, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { - fill: "none", - d: "M0 0h24v24H0V0z" -}), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { - d: "M16 13h-3V3h-2v10H8l4 4 4-4zM4 19v2h16v-2H4z" -})); -var alignCenter = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { - xmlns: "http://www.w3.org/2000/svg", - width: "20", - height: "20", - viewBox: "0 0 24 24" -}, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { - fill: "none", - d: "M0 0h24v24H0V0z" -}), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { - d: "M8 19h3v4h2v-4h3l-4-4-4 4zm8-14h-3V1h-2v4H8l4 4 4-4zM4 11v2h16v-2H4z" -})); -var alignTop = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { - xmlns: "http://www.w3.org/2000/svg", - width: "20", - height: "20", - viewBox: "0 0 24 24" -}, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { - fill: "none", - d: "M0 0h24v24H0V0z" -}), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { - d: "M8 11h3v10h2V11h3l-4-4-4 4zM4 3v2h16V3H4z" -})); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-vertical-alignment-toolbar/index.js - - - -/** - * WordPress dependencies - */ - - -/** - * Internal dependencies - */ - - -var block_vertical_alignment_toolbar_BLOCK_ALIGNMENTS_CONTROLS = { - top: { - icon: alignTop, - title: Object(external_this_wp_i18n_["_x"])('Vertically Align Top', 'Block vertical alignment setting') - }, - center: { - icon: alignCenter, - title: Object(external_this_wp_i18n_["_x"])('Vertically Align Middle', 'Block vertical alignment setting') - }, - bottom: { - icon: alignBottom, - title: Object(external_this_wp_i18n_["_x"])('Vertically Align Bottom', 'Block vertical alignment setting') - } -}; -var block_vertical_alignment_toolbar_DEFAULT_CONTROLS = ['top', 'center', 'bottom']; -var block_vertical_alignment_toolbar_DEFAULT_CONTROL = 'top'; -function BlockVerticalAlignmentToolbar(_ref) { - var value = _ref.value, - onChange = _ref.onChange, - _ref$controls = _ref.controls, - controls = _ref$controls === void 0 ? block_vertical_alignment_toolbar_DEFAULT_CONTROLS : _ref$controls, - _ref$isCollapsed = _ref.isCollapsed, - isCollapsed = _ref$isCollapsed === void 0 ? true : _ref$isCollapsed; - - function applyOrUnset(align) { - return function () { - return onChange(value === align ? undefined : align); - }; - } - - var activeAlignment = block_vertical_alignment_toolbar_BLOCK_ALIGNMENTS_CONTROLS[value]; - var defaultAlignmentControl = block_vertical_alignment_toolbar_BLOCK_ALIGNMENTS_CONTROLS[block_vertical_alignment_toolbar_DEFAULT_CONTROL]; - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Toolbar"], { - isCollapsed: isCollapsed, - icon: activeAlignment ? activeAlignment.icon : defaultAlignmentControl.icon, - label: Object(external_this_wp_i18n_["_x"])('Change vertical alignment', 'Block vertical alignment setting label'), - controls: controls.map(function (control) { - return Object(objectSpread["a" /* default */])({}, block_vertical_alignment_toolbar_BLOCK_ALIGNMENTS_CONTROLS[control], { - isActive: value === control, - onClick: applyOrUnset(control) - }); - }) - }); -} -/** - * @see https://github.com/WordPress/gutenberg/blob/master/packages/block-editor/src/components/block-vertical-alignment-toolbar/README.md - */ - -/* harmony default export */ var block_vertical_alignment_toolbar = (BlockVerticalAlignmentToolbar); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/gradient-picker/index.js - - - -/** - * External dependencies - */ - -/** - * WordPress dependencies - */ - - - - -function GradientPickerWithGradients(props) { - var _useSelect = Object(external_this_wp_data_["useSelect"])(function (select) { - return Object(external_this_lodash_["pick"])(select('core/block-editor').getSettings(), ['gradients', 'disableCustomGradients']); - }), - gradients = _useSelect.gradients, - disableCustomGradients = _useSelect.disableCustomGradients; - - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["__experimentalGradientPicker"], Object(esm_extends["a" /* default */])({ - gradients: props.gradients !== undefined ? props.gradient : gradients, - disableCustomGradients: props.disableCustomGradients !== undefined ? props.disableCustomGradients : disableCustomGradients - }, props)); -} - -/* harmony default export */ var gradient_picker = (function (props) { - var ComponentToUse = props.gradients !== undefined && props.disableCustomGradients !== undefined ? external_this_wp_components_["__experimentalGradientPicker"] : GradientPickerWithGradients; - return Object(external_this_wp_element_["createElement"])(ComponentToUse, props); -}); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/gradient-picker/control.js - - - - -/** - * External dependencies - */ - - -/** - * WordPress dependencies - */ - - - - -/** - * Internal dependencies - */ - - -/* harmony default export */ var gradient_picker_control = (function (_ref) { - var className = _ref.className, - value = _ref.value, - onChange = _ref.onChange, - _ref$label = _ref.label, - label = _ref$label === void 0 ? Object(external_this_wp_i18n_["__"])('Gradient Presets') : _ref$label, - props = Object(objectWithoutProperties["a" /* default */])(_ref, ["className", "value", "onChange", "label"]); - - var _useSelect = Object(external_this_wp_data_["useSelect"])(function (select) { - return Object(external_this_lodash_["pick"])(select('core/block-editor').getSettings(), ['gradients', 'disableCustomGradients']); - }), - _useSelect$gradients = _useSelect.gradients, - gradients = _useSelect$gradients === void 0 ? [] : _useSelect$gradients, - disableCustomGradients = _useSelect.disableCustomGradients; - - if (Object(external_this_lodash_["isEmpty"])(gradients) && disableCustomGradients) { - return null; - } - - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["BaseControl"], { - className: classnames_default()('block-editor-gradient-picker-control', className) - }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["BaseControl"].VisualLabel, null, label), Object(external_this_wp_element_["createElement"])(gradient_picker, Object(esm_extends["a" /* default */])({ - value: value, - onChange: onChange, - className: "block-editor-gradient-picker-control__gradient-picker-presets", - gradients: gradients, - disableCustomGradients: disableCustomGradients - }, props))); -}); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/gradient-picker/panel.js - - -/** - * External dependencies - */ - -/** - * WordPress dependencies - */ - - - - -/** - * Internal dependencies - */ - - -function GradientPanel(props) { - var gradients = Object(external_this_wp_data_["useSelect"])(function (select) { - return select('core/block-editor').getSettings().gradients; - }); - - if (Object(external_this_lodash_["isEmpty"])(gradients)) { - return null; - } - - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], { - title: Object(external_this_wp_i18n_["__"])('Gradient') - }, Object(external_this_wp_element_["createElement"])(gradient_picker_control, props)); -} - -// EXTERNAL MODULE: external {"this":["wp","isShallowEqual"]} -var external_this_wp_isShallowEqual_ = __webpack_require__(45); -var external_this_wp_isShallowEqual_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_isShallowEqual_); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inner-blocks/with-client-id.js -/** - * External dependencies - */ - -/** - * WordPress dependencies - */ - - -/** - * Internal dependencies - */ - - -var withClientId = Object(external_this_wp_compose_["createHigherOrderComponent"])(function (WrappedComponent) { - return context_withBlockEditContext(function (context) { - return Object(external_this_lodash_["pick"])(context, ['clientId']); - })(WrappedComponent); -}, 'withClientId'); -/* harmony default export */ var with_client_id = (withClientId); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inner-blocks/button-block-appender.js - - -/** - * Internal dependencies - */ - - -var inner_blocks_button_block_appender_ButtonBlockAppender = function ButtonBlockAppender(_ref) { - var clientId = _ref.clientId; - return Object(external_this_wp_element_["createElement"])(button_block_appender, { - rootClientId: clientId - }); -}; -/* harmony default export */ var inner_blocks_button_block_appender = (with_client_id(inner_blocks_button_block_appender_ButtonBlockAppender)); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inner-blocks/default-block-appender.js - - -/** - * External dependencies - */ - -/** - * WordPress dependencies - */ - - - -/** - * Internal dependencies - */ - - - - -var inner_blocks_default_block_appender_DefaultBlockAppender = function DefaultBlockAppender(_ref) { - var clientId = _ref.clientId, - lastBlockClientId = _ref.lastBlockClientId; - return Object(external_this_wp_element_["createElement"])(ignore_nested_events, { - childHandledEvents: ['onFocus', 'onClick', 'onKeyDown'] - }, Object(external_this_wp_element_["createElement"])(default_block_appender, { - rootClientId: clientId, - lastBlockClientId: lastBlockClientId - })); -}; -/* harmony default export */ var inner_blocks_default_block_appender = (Object(external_this_wp_compose_["compose"])([with_client_id, Object(external_this_wp_data_["withSelect"])(function (select, _ref2) { - var clientId = _ref2.clientId; - - var _select = select('core/block-editor'), - getBlockOrder = _select.getBlockOrder; - - var blockClientIds = getBlockOrder(clientId); - return { - lastBlockClientId: Object(external_this_lodash_["last"])(blockClientIds) - }; -})])(inner_blocks_default_block_appender_DefaultBlockAppender)); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inner-blocks/index.js - - - - - - - -/** - * External dependencies - */ - - -/** - * WordPress dependencies - */ - - - - - - - -/** - * Internal dependencies - */ - - - -/** - * Internal dependencies - */ - - - - -var inner_blocks_InnerBlocks = -/*#__PURE__*/ -function (_Component) { - Object(inherits["a" /* default */])(InnerBlocks, _Component); - - function InnerBlocks() { - var _this; - - Object(classCallCheck["a" /* default */])(this, InnerBlocks); - - _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(InnerBlocks).apply(this, arguments)); - _this.state = { - templateInProcess: !!_this.props.template - }; - - _this.updateNestedSettings(); - - return _this; - } - - Object(createClass["a" /* default */])(InnerBlocks, [{ - key: "componentDidMount", - value: function componentDidMount() { - var _this$props = this.props, - templateLock = _this$props.templateLock, - block = _this$props.block; - var innerBlocks = block.innerBlocks; // Only synchronize innerBlocks with template if innerBlocks are empty or a locking all exists directly on the block. - - if (innerBlocks.length === 0 || templateLock === 'all') { - this.synchronizeBlocksWithTemplate(); - } - - if (this.state.templateInProcess) { - this.setState({ - templateInProcess: false - }); - } - } - }, { - key: "componentDidUpdate", - value: function componentDidUpdate(prevProps) { - var _this$props2 = this.props, - template = _this$props2.template, - block = _this$props2.block, - templateLock = _this$props2.templateLock; - var innerBlocks = block.innerBlocks; - this.updateNestedSettings(); // Only synchronize innerBlocks with template if innerBlocks are empty or a locking all exists directly on the block. - - if (innerBlocks.length === 0 || templateLock === 'all') { - var hasTemplateChanged = !Object(external_this_lodash_["isEqual"])(template, prevProps.template); - - if (hasTemplateChanged) { - this.synchronizeBlocksWithTemplate(); - } - } - } - /** - * Called on mount or when a mismatch exists between the templates and - * inner blocks, synchronizes inner blocks with the template, replacing - * current blocks. - */ - - }, { - key: "synchronizeBlocksWithTemplate", - value: function synchronizeBlocksWithTemplate() { - var _this$props3 = this.props, - template = _this$props3.template, - block = _this$props3.block, - replaceInnerBlocks = _this$props3.replaceInnerBlocks; - var innerBlocks = block.innerBlocks; // Synchronize with templates. If the next set differs, replace. - - var nextBlocks = Object(external_this_wp_blocks_["synchronizeBlocksWithTemplate"])(innerBlocks, template); - - if (!Object(external_this_lodash_["isEqual"])(nextBlocks, innerBlocks)) { - replaceInnerBlocks(nextBlocks); - } - } - }, { - key: "updateNestedSettings", - value: function updateNestedSettings() { - var _this$props4 = this.props, - blockListSettings = _this$props4.blockListSettings, - allowedBlocks = _this$props4.allowedBlocks, - updateNestedSettings = _this$props4.updateNestedSettings, - templateLock = _this$props4.templateLock, - parentLock = _this$props4.parentLock; - var newSettings = { - allowedBlocks: allowedBlocks, - templateLock: templateLock === undefined ? parentLock : templateLock - }; - - if (!external_this_wp_isShallowEqual_default()(blockListSettings, newSettings)) { - updateNestedSettings(newSettings); - } - } - }, { - key: "render", - value: function render() { - var _this$props5 = this.props, - enableClickThrough = _this$props5.enableClickThrough, - clientId = _this$props5.clientId, - hasOverlay = _this$props5.hasOverlay, - renderAppender = _this$props5.renderAppender, - moverDirection = _this$props5.__experimentalMoverDirection; - var templateInProcess = this.state.templateInProcess; - var classes = classnames_default()('editor-inner-blocks block-editor-inner-blocks', { - 'has-overlay': enableClickThrough && hasOverlay - }); - return Object(external_this_wp_element_["createElement"])("div", { - className: classes - }, !templateInProcess && Object(external_this_wp_element_["createElement"])(block_list, { - rootClientId: clientId, - renderAppender: renderAppender, - __experimentalMoverDirection: moverDirection - })); - } - }]); - - return InnerBlocks; -}(external_this_wp_element_["Component"]); - -inner_blocks_InnerBlocks = Object(external_this_wp_compose_["compose"])([Object(external_this_wp_viewport_["withViewportMatch"])({ - isSmallScreen: '< medium' -}), context_withBlockEditContext(function (context) { - return Object(external_this_lodash_["pick"])(context, ['clientId']); -}), Object(external_this_wp_data_["withSelect"])(function (select, ownProps) { - var _select = select('core/block-editor'), - isBlockSelected = _select.isBlockSelected, - hasSelectedInnerBlock = _select.hasSelectedInnerBlock, - getBlock = _select.getBlock, - getBlockListSettings = _select.getBlockListSettings, - getBlockRootClientId = _select.getBlockRootClientId, - getTemplateLock = _select.getTemplateLock, - isNavigationMode = _select.isNavigationMode; - - var clientId = ownProps.clientId, - isSmallScreen = ownProps.isSmallScreen; - var block = getBlock(clientId); - var rootClientId = getBlockRootClientId(clientId); - return { - block: block, - blockListSettings: getBlockListSettings(clientId), - hasOverlay: block.name !== 'core/template' && !isBlockSelected(clientId) && !hasSelectedInnerBlock(clientId, true), - parentLock: getTemplateLock(rootClientId), - enableClickThrough: isNavigationMode() || isSmallScreen - }; -}), Object(external_this_wp_data_["withDispatch"])(function (dispatch, ownProps) { - var _dispatch = dispatch('core/block-editor'), - _replaceInnerBlocks = _dispatch.replaceInnerBlocks, - updateBlockListSettings = _dispatch.updateBlockListSettings; - - var block = ownProps.block, - clientId = ownProps.clientId, - _ownProps$templateIns = ownProps.templateInsertUpdatesSelection, - templateInsertUpdatesSelection = _ownProps$templateIns === void 0 ? true : _ownProps$templateIns; - return { - replaceInnerBlocks: function replaceInnerBlocks(blocks) { - _replaceInnerBlocks(clientId, blocks, block.innerBlocks.length === 0 && templateInsertUpdatesSelection); - }, - updateNestedSettings: function updateNestedSettings(settings) { - dispatch(updateBlockListSettings(clientId, settings)); - } - }; -})])(inner_blocks_InnerBlocks); // Expose default appender placeholders as components. - -inner_blocks_InnerBlocks.DefaultBlockAppender = inner_blocks_default_block_appender; -inner_blocks_InnerBlocks.ButtonBlockAppender = inner_blocks_button_block_appender; -inner_blocks_InnerBlocks.Content = Object(external_this_wp_blocks_["withBlockContentContext"])(function (_ref) { - var BlockContent = _ref.BlockContent; - return Object(external_this_wp_element_["createElement"])(BlockContent, null); -}); -/** - * @see https://github.com/WordPress/gutenberg/blob/master/packages/block-editor/src/components/inner-blocks/README.md - */ - -/* harmony default export */ var inner_blocks = (inner_blocks_InnerBlocks); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inspector-advanced-controls/index.js -/** - * WordPress dependencies - */ - -/** - * Internal dependencies - */ - - -var inspector_advanced_controls_name = 'InspectorAdvancedControls'; - -var inspector_advanced_controls_createSlotFill = Object(external_this_wp_components_["createSlotFill"])(inspector_advanced_controls_name), - inspector_advanced_controls_Fill = inspector_advanced_controls_createSlotFill.Fill, - inspector_advanced_controls_Slot = inspector_advanced_controls_createSlotFill.Slot; - -var InspectorAdvancedControls = ifBlockEditSelected(inspector_advanced_controls_Fill); -InspectorAdvancedControls.slotName = inspector_advanced_controls_name; -InspectorAdvancedControls.Slot = inspector_advanced_controls_Slot; -/* harmony default export */ var inspector_advanced_controls = (InspectorAdvancedControls); - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js -var asyncToGenerator = __webpack_require__(43); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/link-control/settings-drawer.js - - -/** - * External dependencies - */ - -/** - * WordPress dependencies - */ - - - -var defaultSettings = [{ - id: 'newTab', - title: Object(external_this_wp_i18n_["__"])('Open in New Tab'), - checked: false -}]; - -var settings_drawer_LinkControlSettingsDrawer = function LinkControlSettingsDrawer(_ref) { - var _ref$settings = _ref.settings, - settings = _ref$settings === void 0 ? defaultSettings : _ref$settings, - _ref$onSettingChange = _ref.onSettingChange, - onSettingChange = _ref$onSettingChange === void 0 ? external_this_lodash_["noop"] : _ref$onSettingChange; - - if (!settings || !settings.length) { - return null; - } - - var handleSettingChange = function handleSettingChange(setting) { - return function (value) { - onSettingChange(setting.id, value, settings); - }; - }; - - var theSettings = settings.map(function (setting) { - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], { - className: "block-editor-link-control__setting", - key: setting.id, - label: setting.title, - onChange: handleSettingChange(setting), - checked: setting.checked - }); - }); - return Object(external_this_wp_element_["createElement"])("fieldset", { - className: "block-editor-link-control__settings" - }, Object(external_this_wp_element_["createElement"])("legend", { - className: "screen-reader-text" - }, Object(external_this_wp_i18n_["__"])('Currently selected link settings')), theSettings); -}; - -/* harmony default export */ var settings_drawer = (settings_drawer_LinkControlSettingsDrawer); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/link-control/search-item.js - - - -/** - * External dependencies - */ - -/** - * WordPress dependencies - */ - - - - -var search_item_LinkControlSearchItem = function LinkControlSearchItem(_ref) { - var itemProps = _ref.itemProps, - suggestion = _ref.suggestion, - _ref$isSelected = _ref.isSelected, - isSelected = _ref$isSelected === void 0 ? false : _ref$isSelected, - onClick = _ref.onClick, - _ref$isURL = _ref.isURL, - isURL = _ref$isURL === void 0 ? false : _ref$isURL, - _ref$searchTerm = _ref.searchTerm, - searchTerm = _ref$searchTerm === void 0 ? '' : _ref$searchTerm; - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], Object(esm_extends["a" /* default */])({ - type: "submit" - }, itemProps, { - onClick: onClick, - className: classnames_default()('block-editor-link-control__search-item', { - 'is-selected': isSelected, - 'is-url': isURL, - 'is-entity': !isURL - }) - }), isURL && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Icon"], { - className: "block-editor-link-control__search-item-icon", - icon: "admin-site-alt3" - }), Object(external_this_wp_element_["createElement"])("span", { - className: "block-editor-link-control__search-item-header" - }, Object(external_this_wp_element_["createElement"])("span", { - className: "block-editor-link-control__search-item-title" - }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TextHighlight"], { - text: suggestion.title, - highlight: searchTerm - })), Object(external_this_wp_element_["createElement"])("span", { - "aria-hidden": !isURL, - className: "block-editor-link-control__search-item-info" - }, !isURL && (Object(external_this_wp_url_["safeDecodeURI"])(suggestion.url) || ''), isURL && Object(external_this_wp_i18n_["__"])('Press ENTER to add this link'))), suggestion.type && Object(external_this_wp_element_["createElement"])("span", { - className: "block-editor-link-control__search-item-type" - }, suggestion.type)); -}; -/* harmony default export */ var search_item = (search_item_LinkControlSearchItem); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/link-control/search-input.js - - -/** - * WordPress dependencies - */ - - - -/** - * Internal dependencies - */ - - - -var search_input_LinkControlSearchInput = function LinkControlSearchInput(_ref) { - var value = _ref.value, - onChange = _ref.onChange, - onSelect = _ref.onSelect, - renderSuggestions = _ref.renderSuggestions, - fetchSuggestions = _ref.fetchSuggestions, - onReset = _ref.onReset, - _onKeyDown = _ref.onKeyDown, - onKeyPress = _ref.onKeyPress; - - var selectItemHandler = function selectItemHandler(selection, suggestion) { - onChange(selection); - - if (suggestion) { - onSelect(suggestion); - } - }; - - var stopFormEventsPropagation = function stopFormEventsPropagation(event) { - event.preventDefault(); - event.stopPropagation(); - }; - - return Object(external_this_wp_element_["createElement"])("form", { - onSubmit: stopFormEventsPropagation - }, Object(external_this_wp_element_["createElement"])(url_input, { - className: "block-editor-link-control__search-input", - value: value, - onChange: selectItemHandler, - onKeyDown: function onKeyDown(event) { - if (event.keyCode === external_this_wp_keycodes_["ENTER"]) { - return; - } - - _onKeyDown(event); - }, - onKeyPress: onKeyPress, - placeholder: Object(external_this_wp_i18n_["__"])('Search or type url'), - __experimentalRenderSuggestions: renderSuggestions, - __experimentalFetchLinkSuggestions: fetchSuggestions, - __experimentalHandleURLSuggestions: true - }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], { - disabled: !value.length, - type: "reset", - label: Object(external_this_wp_i18n_["__"])('Reset'), - icon: "no-alt", - className: "block-editor-link-control__search-reset", - onClick: onReset - })); -}; - -/* harmony default export */ var search_input = (search_input_LinkControlSearchInput); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/link-control/index.js - - - - - - -/** - * External dependencies - */ - - -/** - * WordPress dependencies - */ - - - - - - - -/** - * Internal dependencies - */ - - - - -var MODE_EDIT = 'edit'; // const MODE_SHOW = 'show'; - -function LinkControl(_ref) { - var className = _ref.className, - currentLink = _ref.currentLink, - currentSettings = _ref.currentSettings, - fetchSearchSuggestions = _ref.fetchSearchSuggestions, - instanceId = _ref.instanceId, - _ref$onClose = _ref.onClose, - onClose = _ref$onClose === void 0 ? external_this_lodash_["noop"] : _ref$onClose, - _ref$onChangeMode = _ref.onChangeMode, - onChangeMode = _ref$onChangeMode === void 0 ? external_this_lodash_["noop"] : _ref$onChangeMode, - _ref$onKeyDown = _ref.onKeyDown, - onKeyDown = _ref$onKeyDown === void 0 ? external_this_lodash_["noop"] : _ref$onKeyDown, - _ref$onKeyPress = _ref.onKeyPress, - onKeyPress = _ref$onKeyPress === void 0 ? external_this_lodash_["noop"] : _ref$onKeyPress, - _ref$onLinkChange = _ref.onLinkChange, - onLinkChange = _ref$onLinkChange === void 0 ? external_this_lodash_["noop"] : _ref$onLinkChange, - _ref$onSettingsChange = _ref.onSettingsChange, - onSettingsChange = _ref$onSettingsChange === void 0 ? external_this_lodash_["noop"] : _ref$onSettingsChange; - - // State - var _useState = Object(external_this_wp_element_["useState"])(''), - _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2), - inputValue = _useState2[0], - setInputValue = _useState2[1]; - - var _useState3 = Object(external_this_wp_element_["useState"])(false), - _useState4 = Object(slicedToArray["a" /* default */])(_useState3, 2), - isEditingLink = _useState4[0], - setIsEditingLink = _useState4[1]; // Effects - - - Object(external_this_wp_element_["useEffect"])(function () { - // If we have a link then stop editing mode - if (currentLink) { - setIsEditingLink(false); - } else { - setIsEditingLink(true); - } - }, [currentLink]); // Handlers - - /** - * onChange LinkControlSearchInput event handler - * - * @param {string} value Current value returned by the search. - */ - - var onInputChange = function onInputChange() { - var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ''; - setInputValue(value); - }; // Utils - - /** - * Handler function which switches the mode of the component, - * between `edit` and `show` mode. - * Also, it calls `onChangeMode` callback function. - * - * @param {string} mode Component mode: `show` or `edit`. - */ - - - var setMode = function setMode() { - var mode = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'show'; - return function () { - setIsEditingLink(MODE_EDIT === mode); // Populate input searcher whether - // the current link has a title. - - if (currentLink && currentLink.title) { - setInputValue(currentLink.title); - } - - if (Object(external_this_lodash_["isFunction"])(onChangeMode)) { - onChangeMode(mode); - } - }; - }; - - var closeLinkUI = function closeLinkUI() { - resetInput(); - onClose(); - }; - - var resetInput = function resetInput() { - setInputValue(''); - }; - - var handleDirectEntry = function handleDirectEntry(value) { - var type = 'URL'; - var protocol = Object(external_this_wp_url_["getProtocol"])(value) || ''; - - if (protocol.includes('mailto')) { - type = 'mailto'; - } - - if (protocol.includes('tel')) { - type = 'tel'; - } - - if (Object(external_this_lodash_["startsWith"])(value, '#')) { - type = 'internal'; - } - - return Promise.resolve([{ - id: '-1', - title: value, - url: type === 'URL' ? Object(external_this_wp_url_["prependHTTP"])(value) : value, - type: type - }]); - }; - - var handleEntitySearch = - /*#__PURE__*/ - function () { - var _ref2 = Object(asyncToGenerator["a" /* default */])( - /*#__PURE__*/ - external_this_regeneratorRuntime_default.a.mark(function _callee(value) { - var results, couldBeURL; - return external_this_regeneratorRuntime_default.a.wrap(function _callee$(_context) { - while (1) { - switch (_context.prev = _context.next) { - case 0: - _context.next = 2; - return Promise.all([fetchSearchSuggestions(value), handleDirectEntry(value)]); - - case 2: - results = _context.sent; - couldBeURL = !value.includes(' '); // If it's potentially a URL search then concat on a URL search suggestion - // just for good measure. That way once the actual results run out we always - // have a URL option to fallback on. - - return _context.abrupt("return", couldBeURL ? results[0].concat(results[1]) : results[0]); - - case 5: - case "end": - return _context.stop(); - } - } - }, _callee); - })); - - return function handleEntitySearch(_x) { - return _ref2.apply(this, arguments); - }; - }(); // Effects - - - var getSearchHandler = Object(external_this_wp_element_["useCallback"])(function (value) { - var protocol = Object(external_this_wp_url_["getProtocol"])(value) || ''; - var isMailto = protocol.includes('mailto'); - var isInternal = Object(external_this_lodash_["startsWith"])(value, '#'); - var isTel = protocol.includes('tel'); - var handleManualEntry = isInternal || isMailto || isTel || Object(external_this_wp_url_["isURL"])(value) || value && value.includes('www.'); - return handleManualEntry ? handleDirectEntry(value) : handleEntitySearch(value); - }, [handleDirectEntry, fetchSearchSuggestions]); // Render Components - - var renderSearchResults = function renderSearchResults(_ref3) { - var suggestionsListProps = _ref3.suggestionsListProps, - buildSuggestionItemProps = _ref3.buildSuggestionItemProps, - suggestions = _ref3.suggestions, - selectedSuggestion = _ref3.selectedSuggestion, - isLoading = _ref3.isLoading; - var resultsListClasses = classnames_default()('block-editor-link-control__search-results', { - 'is-loading': isLoading - }); - var manualLinkEntryTypes = ['url', 'mailto', 'tel', 'internal']; - return Object(external_this_wp_element_["createElement"])("div", { - className: "block-editor-link-control__search-results-wrapper" - }, Object(external_this_wp_element_["createElement"])("div", Object(esm_extends["a" /* default */])({}, suggestionsListProps, { - className: resultsListClasses - }), suggestions.map(function (suggestion, index) { - return Object(external_this_wp_element_["createElement"])(search_item, { - key: "".concat(suggestion.id, "-").concat(suggestion.type), - itemProps: buildSuggestionItemProps(suggestion, index), - suggestion: suggestion, - onClick: function onClick() { - return onLinkChange(suggestion); - }, - isSelected: index === selectedSuggestion, - isURL: manualLinkEntryTypes.includes(suggestion.type.toLowerCase()), - searchTerm: inputValue - }); - }))); - }; - - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Popover"], { - className: classnames_default()('block-editor-link-control', className), - onClose: closeLinkUI, - position: "bottom center", - focusOnMount: "firstElement" - }, Object(external_this_wp_element_["createElement"])("div", { - className: "block-editor-link-control__popover-inner" - }, Object(external_this_wp_element_["createElement"])("div", { - className: "block-editor-link-control__search" - }, !isEditingLink && currentLink && Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])("p", { - className: "screen-reader-text", - id: "current-link-label-".concat(instanceId) - }, Object(external_this_wp_i18n_["__"])('Currently selected'), ":"), Object(external_this_wp_element_["createElement"])("div", { - "aria-labelledby": "current-link-label-".concat(instanceId), - "aria-selected": "true", - className: classnames_default()('block-editor-link-control__search-item', { - 'is-current': true - }) - }, Object(external_this_wp_element_["createElement"])("span", { - className: "block-editor-link-control__search-item-header" - }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ExternalLink"], { - className: "block-editor-link-control__search-item-title", - href: currentLink.url - }, currentLink.title), Object(external_this_wp_element_["createElement"])("span", { - className: "block-editor-link-control__search-item-info" - }, Object(external_this_wp_url_["filterURLForDisplay"])(Object(external_this_wp_url_["safeDecodeURI"])(currentLink.url)) || '')), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { - isDefault: true, - onClick: setMode(MODE_EDIT), - className: "block-editor-link-control__search-item-action block-editor-link-control__search-item-action--edit" - }, Object(external_this_wp_i18n_["__"])('Change')))), isEditingLink && Object(external_this_wp_element_["createElement"])(search_input, { - value: inputValue, - onChange: onInputChange, - onSelect: onLinkChange, - renderSuggestions: renderSearchResults, - fetchSuggestions: getSearchHandler, - onReset: resetInput, - onKeyDown: onKeyDown, - onKeyPress: onKeyPress - }), !isEditingLink && Object(external_this_wp_element_["createElement"])(settings_drawer, { - settings: currentSettings, - onSettingChange: onSettingsChange - })))); -} - -/* harmony default export */ var link_control = (Object(external_this_wp_compose_["compose"])(external_this_wp_compose_["withInstanceId"], Object(external_this_wp_data_["withSelect"])(function (select, ownProps) { - if (ownProps.fetchSearchSuggestions && Object(external_this_lodash_["isFunction"])(ownProps.fetchSearchSuggestions)) { - return; - } - - var _select = select('core/block-editor'), - getSettings = _select.getSettings; - - return { - fetchSearchSuggestions: getSettings().__experimentalFetchLinkSuggestions - }; -}))(LinkControl)); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/media-upload/index.js -/** - * WordPress dependencies - */ - -/** - * This is a placeholder for the media upload component necessary to make it possible to provide - * an integration with the core blocks that handle media files. By default it renders nothing but - * it provides a way to have it overridden with the `editor.MediaUpload` filter. - * - * @return {WPComponent} The component to be rendered. - */ - -var MediaUpload = function MediaUpload() { - return null; -}; -/** - * @see https://github.com/WordPress/gutenberg/blob/master/packages/block-editor/src/components/media-upload/README.md - */ - - -/* harmony default export */ var media_upload = (Object(external_this_wp_components_["withFilters"])('editor.MediaUpload')(MediaUpload)); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/media-upload/check.js -/** - * WordPress dependencies - */ - -function MediaUploadCheck(_ref) { - var hasUploadPermissions = _ref.hasUploadPermissions, - _ref$fallback = _ref.fallback, - fallback = _ref$fallback === void 0 ? null : _ref$fallback, - children = _ref.children; - return hasUploadPermissions ? children : fallback; -} -/** - * @see https://github.com/WordPress/gutenberg/blob/master/packages/block-editor/src/components/media-upload/README.md - */ - -/* harmony default export */ var check = (Object(external_this_wp_data_["withSelect"])(function (select) { - var _select = select('core/block-editor'), - getSettings = _select.getSettings; - - return { - hasUploadPermissions: !!getSettings().mediaUpload - }; -})(MediaUploadCheck)); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/url-input/index.js - - - - - - - - - -/** - * External dependencies - */ - - - -/** - * WordPress dependencies - */ - - - - - - - - // Since URLInput is rendered in the context of other inputs, but should be -// considered a separate modal node, prevent keyboard events from propagating -// as being considered from the input. - -var stopEventPropagation = function stopEventPropagation(event) { - return event.stopPropagation(); -}; - -var url_input_URLInput = -/*#__PURE__*/ -function (_Component) { - Object(inherits["a" /* default */])(URLInput, _Component); - - function URLInput(props) { - var _this; - - Object(classCallCheck["a" /* default */])(this, URLInput); - - _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(URLInput).call(this, props)); - _this.onChange = _this.onChange.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.onKeyDown = _this.onKeyDown.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.selectLink = _this.selectLink.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.handleOnClick = _this.handleOnClick.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.bindSuggestionNode = _this.bindSuggestionNode.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.autocompleteRef = props.autocompleteRef || Object(external_this_wp_element_["createRef"])(); - _this.inputRef = Object(external_this_wp_element_["createRef"])(); - _this.updateSuggestions = Object(external_this_lodash_["throttle"])(_this.updateSuggestions.bind(Object(assertThisInitialized["a" /* default */])(_this)), 200); - _this.suggestionNodes = []; - _this.state = { - suggestions: [], - showSuggestions: false, - selectedSuggestion: null - }; - return _this; - } - - Object(createClass["a" /* default */])(URLInput, [{ - key: "componentDidUpdate", - value: function componentDidUpdate() { - var _this2 = this; - - var _this$state = this.state, - showSuggestions = _this$state.showSuggestions, - selectedSuggestion = _this$state.selectedSuggestion; // only have to worry about scrolling selected suggestion into view - // when already expanded - - if (showSuggestions && selectedSuggestion !== null && !this.scrollingIntoView) { - this.scrollingIntoView = true; - lib_default()(this.suggestionNodes[selectedSuggestion], this.autocompleteRef.current, { - onlyScrollIfNeeded: true - }); - this.props.setTimeout(function () { - _this2.scrollingIntoView = false; - }, 100); - } - } - }, { - key: "componentWillUnmount", - value: function componentWillUnmount() { - delete this.suggestionsRequest; - } - }, { - key: "bindSuggestionNode", - value: function bindSuggestionNode(index) { - var _this3 = this; - - return function (ref) { - _this3.suggestionNodes[index] = ref; - }; - } - }, { - key: "updateSuggestions", - value: function updateSuggestions(value) { - var _this4 = this; - - var _this$props = this.props, - fetchLinkSuggestions = _this$props.__experimentalFetchLinkSuggestions, - handleURLSuggestions = _this$props.__experimentalHandleURLSuggestions; - - if (!fetchLinkSuggestions) { - return; - } // Show the suggestions after typing at least 2 characters - // and also for URLs - - - if (value.length < 2 || !handleURLSuggestions && Object(external_this_wp_url_["isURL"])(value)) { - this.setState({ - showSuggestions: false, - selectedSuggestion: null, - loading: false - }); - return; - } - - this.setState({ - showSuggestions: true, - selectedSuggestion: null, - loading: true - }); - var request = fetchLinkSuggestions(value); - request.then(function (suggestions) { - // A fetch Promise doesn't have an abort option. It's mimicked by - // comparing the request reference in on the instance, which is - // reset or deleted on subsequent requests or unmounting. - if (_this4.suggestionsRequest !== request) { - return; - } - - _this4.setState({ - suggestions: suggestions, - loading: false - }); - - if (!!suggestions.length) { - _this4.props.debouncedSpeak(Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["_n"])('%d result found, use up and down arrow keys to navigate.', '%d results found, use up and down arrow keys to navigate.', suggestions.length), suggestions.length), 'assertive'); - } else { - _this4.props.debouncedSpeak(Object(external_this_wp_i18n_["__"])('No results.'), 'assertive'); - } - }).catch(function () { - if (_this4.suggestionsRequest === request) { - _this4.setState({ - loading: false - }); - } - }); - this.suggestionsRequest = request; - } - }, { - key: "onChange", - value: function onChange(event) { - var inputValue = event.target.value; - this.props.onChange(inputValue); - this.updateSuggestions(inputValue); - } - }, { - key: "onKeyDown", - value: function onKeyDown(event) { - var _this$state2 = this.state, - showSuggestions = _this$state2.showSuggestions, - selectedSuggestion = _this$state2.selectedSuggestion, - suggestions = _this$state2.suggestions, - loading = _this$state2.loading; // If the suggestions are not shown or loading, we shouldn't handle the arrow keys - // We shouldn't preventDefault to allow block arrow keys navigation - - if ((!showSuggestions || !suggestions.length || loading) && this.props.value) { - // In the Windows version of Firefox the up and down arrows don't move the caret - // within an input field like they do for Mac Firefox/Chrome/Safari. This causes - // a form of focus trapping that is disruptive to the user experience. This disruption - // only happens if the caret is not in the first or last position in the text input. - // See: https://github.com/WordPress/gutenberg/issues/5693#issuecomment-436684747 - switch (event.keyCode) { - // When UP is pressed, if the caret is at the start of the text, move it to the 0 - // position. - case external_this_wp_keycodes_["UP"]: - { - if (0 !== event.target.selectionStart) { - event.stopPropagation(); - event.preventDefault(); // Set the input caret to position 0 - - event.target.setSelectionRange(0, 0); - } - - break; - } - // When DOWN is pressed, if the caret is not at the end of the text, move it to the - // last position. - - case external_this_wp_keycodes_["DOWN"]: - { - if (this.props.value.length !== event.target.selectionStart) { - event.stopPropagation(); - event.preventDefault(); // Set the input caret to the last position - - event.target.setSelectionRange(this.props.value.length, this.props.value.length); - } - - break; - } - } - - return; - } - - var suggestion = this.state.suggestions[this.state.selectedSuggestion]; - - switch (event.keyCode) { - case external_this_wp_keycodes_["UP"]: - { - event.stopPropagation(); - event.preventDefault(); - var previousIndex = !selectedSuggestion ? suggestions.length - 1 : selectedSuggestion - 1; - this.setState({ - selectedSuggestion: previousIndex - }); - break; - } - - case external_this_wp_keycodes_["DOWN"]: - { - event.stopPropagation(); - event.preventDefault(); - var nextIndex = selectedSuggestion === null || selectedSuggestion === suggestions.length - 1 ? 0 : selectedSuggestion + 1; - this.setState({ - selectedSuggestion: nextIndex - }); - break; - } - - case external_this_wp_keycodes_["TAB"]: - { - if (this.state.selectedSuggestion !== null) { - this.selectLink(suggestion); // Announce a link has been selected when tabbing away from the input field. - - this.props.speak(Object(external_this_wp_i18n_["__"])('Link selected.')); - } - - break; - } - - case external_this_wp_keycodes_["ENTER"]: - { - if (this.state.selectedSuggestion !== null) { - event.stopPropagation(); - this.selectLink(suggestion); - } - - break; - } - } - } - }, { - key: "selectLink", - value: function selectLink(suggestion) { - this.props.onChange(suggestion.url, suggestion); - this.setState({ - selectedSuggestion: null, - showSuggestions: false - }); - } - }, { - key: "handleOnClick", - value: function handleOnClick(suggestion) { - this.selectLink(suggestion); // Move focus to the input field when a link suggestion is clicked. - - this.inputRef.current.focus(); - } - }, { - key: "render", - value: function render() { - var _this5 = this; - - var _this$props2 = this.props, - label = _this$props2.label, - instanceId = _this$props2.instanceId, - className = _this$props2.className, - isFullWidth = _this$props2.isFullWidth, - hasBorder = _this$props2.hasBorder, - renderSuggestions = _this$props2.__experimentalRenderSuggestions, - _this$props2$placehol = _this$props2.placeholder, - placeholder = _this$props2$placehol === void 0 ? Object(external_this_wp_i18n_["__"])('Paste URL or type to search') : _this$props2$placehol, - _this$props2$value = _this$props2.value, - value = _this$props2$value === void 0 ? '' : _this$props2$value, - _this$props2$autoFocu = _this$props2.autoFocus, - autoFocus = _this$props2$autoFocu === void 0 ? true : _this$props2$autoFocu; - var _this$state3 = this.state, - showSuggestions = _this$state3.showSuggestions, - suggestions = _this$state3.suggestions, - selectedSuggestion = _this$state3.selectedSuggestion, - loading = _this$state3.loading; - var id = "url-input-control-".concat(instanceId); - var suggestionsListboxId = "block-editor-url-input-suggestions-".concat(instanceId); - var suggestionOptionIdPrefix = "block-editor-url-input-suggestion-".concat(instanceId); - var suggestionsListProps = { - id: suggestionsListboxId, - ref: this.autocompleteRef, - role: 'listbox' - }; - - var buildSuggestionItemProps = function buildSuggestionItemProps(suggestion, index) { - return { - role: 'option', - tabIndex: '-1', - id: "".concat(suggestionOptionIdPrefix, "-").concat(index), - ref: _this5.bindSuggestionNode(index), - 'aria-selected': index === selectedSuggestion - }; - }; - /* eslint-disable jsx-a11y/no-autofocus */ - - - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["BaseControl"], { - label: label, - id: id, - className: classnames_default()('editor-url-input block-editor-url-input', className, { - 'is-full-width': isFullWidth, - 'has-border': hasBorder - }) - }, Object(external_this_wp_element_["createElement"])("input", { - autoFocus: autoFocus, - type: "text", - "aria-label": Object(external_this_wp_i18n_["__"])('URL'), - required: true, - value: value, - onChange: this.onChange, - onInput: stopEventPropagation, - placeholder: placeholder, - onKeyDown: this.onKeyDown, - role: "combobox", - "aria-expanded": showSuggestions, - "aria-autocomplete": "list", - "aria-owns": suggestionsListboxId, - "aria-activedescendant": selectedSuggestion !== null ? "".concat(suggestionOptionIdPrefix, "-").concat(selectedSuggestion) : undefined, - ref: this.inputRef - }), loading && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Spinner"], null), Object(external_this_lodash_["isFunction"])(renderSuggestions) && showSuggestions && !!suggestions.length && renderSuggestions({ - suggestions: suggestions, - selectedSuggestion: selectedSuggestion, - suggestionsListProps: suggestionsListProps, - buildSuggestionItemProps: buildSuggestionItemProps, - isLoading: loading, - handleSuggestionClick: this.handleOnClick - }), !Object(external_this_lodash_["isFunction"])(renderSuggestions) && showSuggestions && !!suggestions.length && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Popover"], { - position: "bottom", - noArrow: true, - focusOnMount: false - }, Object(external_this_wp_element_["createElement"])("div", Object(esm_extends["a" /* default */])({}, suggestionsListProps, { - className: classnames_default()('editor-url-input__suggestions', 'block-editor-url-input__suggestions', "".concat(className, "__suggestions")) - }), suggestions.map(function (suggestion, index) { - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], Object(esm_extends["a" /* default */])({}, buildSuggestionItemProps(suggestion, index), { - key: suggestion.id, - className: classnames_default()('editor-url-input__suggestion block-editor-url-input__suggestion', { - 'is-selected': index === selectedSuggestion - }), - onClick: function onClick() { - return _this5.handleOnClick(suggestion); - } - }), suggestion.title); - })))); - /* eslint-enable jsx-a11y/no-autofocus */ - } - }], [{ - key: "getDerivedStateFromProps", - value: function getDerivedStateFromProps(_ref, _ref2) { - var value = _ref.value, - disableSuggestions = _ref.disableSuggestions; - var showSuggestions = _ref2.showSuggestions, - selectedSuggestion = _ref2.selectedSuggestion; - var shouldShowSuggestions = showSuggestions; - var hasValue = value && value.length; - - if (!hasValue) { - shouldShowSuggestions = false; - } - - if (disableSuggestions === true) { - shouldShowSuggestions = false; - } - - return { - selectedSuggestion: hasValue ? selectedSuggestion : null, - showSuggestions: shouldShowSuggestions - }; - } - }]); - - return URLInput; -}(external_this_wp_element_["Component"]); -/** - * @see https://github.com/WordPress/gutenberg/blob/master/packages/block-editor/src/components/url-input/README.md - */ - - -/* harmony default export */ var url_input = (Object(external_this_wp_compose_["compose"])(external_this_wp_compose_["withSafeTimeout"], external_this_wp_components_["withSpokenMessages"], external_this_wp_compose_["withInstanceId"], Object(external_this_wp_data_["withSelect"])(function (select, props) { - // If a link suggestions handler is already provided then - // bail - if (Object(external_this_lodash_["isFunction"])(props.__experimentalFetchLinkSuggestions)) { - return; - } - - var _select = select('core/block-editor'), - getSettings = _select.getSettings; - - return { - __experimentalFetchLinkSuggestions: getSettings().__experimentalFetchLinkSuggestions - }; -}))(url_input_URLInput)); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/url-popover/link-editor.js - - - - -/** - * External dependencies - */ - -/** - * WordPress dependencies - */ - - - -/** - * Internal dependencies - */ - - -function LinkEditor(_ref) { - var autocompleteRef = _ref.autocompleteRef, - className = _ref.className, - onChangeInputValue = _ref.onChangeInputValue, - value = _ref.value, - props = Object(objectWithoutProperties["a" /* default */])(_ref, ["autocompleteRef", "className", "onChangeInputValue", "value"]); - - return Object(external_this_wp_element_["createElement"])("form", Object(esm_extends["a" /* default */])({ - className: classnames_default()('block-editor-url-popover__link-editor', className) - }, props), Object(external_this_wp_element_["createElement"])(url_input, { - value: value, - onChange: onChangeInputValue, - autocompleteRef: autocompleteRef - }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], { - icon: "editor-break", - label: Object(external_this_wp_i18n_["__"])('Apply'), - type: "submit" - })); -} - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/url-popover/link-viewer.js - - - - -/** - * External dependencies - */ - -/** - * WordPress dependencies - */ - - - - - -function LinkViewerUrl(_ref) { - var url = _ref.url, - urlLabel = _ref.urlLabel, - className = _ref.className; - var linkClassName = classnames_default()(className, 'block-editor-url-popover__link-viewer-url'); - - if (!url) { - return Object(external_this_wp_element_["createElement"])("span", { - className: linkClassName - }); - } - - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ExternalLink"], { - className: linkClassName, - href: url - }, urlLabel || Object(external_this_wp_url_["filterURLForDisplay"])(Object(external_this_wp_url_["safeDecodeURI"])(url))); -} - -function LinkViewer(_ref2) { - var className = _ref2.className, - linkClassName = _ref2.linkClassName, - onEditLinkClick = _ref2.onEditLinkClick, - url = _ref2.url, - urlLabel = _ref2.urlLabel, - props = Object(objectWithoutProperties["a" /* default */])(_ref2, ["className", "linkClassName", "onEditLinkClick", "url", "urlLabel"]); - - return Object(external_this_wp_element_["createElement"])("div", Object(esm_extends["a" /* default */])({ - className: classnames_default()('block-editor-url-popover__link-viewer', className) - }, props), Object(external_this_wp_element_["createElement"])(LinkViewerUrl, { - url: url, - urlLabel: urlLabel, - className: linkClassName - }), onEditLinkClick && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], { - icon: "edit", - label: Object(external_this_wp_i18n_["__"])('Edit'), - onClick: onEditLinkClick - })); -} - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/media-replace-flow/index.js - - - -/** - * WordPress dependencies - */ - - - - - - - -/** - * Internal dependencies - */ - - - - - - -var media_replace_flow_MediaReplaceFlow = function MediaReplaceFlow(_ref) { - var mediaURL = _ref.mediaURL, - allowedTypes = _ref.allowedTypes, - accept = _ref.accept, - onSelect = _ref.onSelect, - onSelectURL = _ref.onSelectURL, - onError = _ref.onError, - _ref$name = _ref.name, - name = _ref$name === void 0 ? Object(external_this_wp_i18n_["__"])('Replace') : _ref$name; - - var _useState = Object(external_this_wp_element_["useState"])(false), - _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2), - showURLInput = _useState2[0], - setShowURLInput = _useState2[1]; - - var _useState3 = Object(external_this_wp_element_["useState"])(false), - _useState4 = Object(slicedToArray["a" /* default */])(_useState3, 2), - showEditURLInput = _useState4[0], - setShowEditURLInput = _useState4[1]; - - var _useState5 = Object(external_this_wp_element_["useState"])(mediaURL), - _useState6 = Object(slicedToArray["a" /* default */])(_useState5, 2), - mediaURLValue = _useState6[0], - setMediaURLValue = _useState6[1]; - - var _useState7 = Object(external_this_wp_element_["useState"])(false), - _useState8 = Object(slicedToArray["a" /* default */])(_useState7, 2), - showMediaReplaceOptions = _useState8[0], - setShowMediaReplaceOptions = _useState8[1]; - - var mediaUpload = Object(external_this_wp_data_["useSelect"])(function (select) { - return select('core/block-editor').getSettings().mediaUpload; - }); - var editMediaButtonRef = Object(external_this_wp_element_["createRef"])(); - - var stopPropagation = function stopPropagation(event) { - event.stopPropagation(); - }; - - var stopPropagationRelevantKeys = function stopPropagationRelevantKeys(event) { - if ([external_this_wp_keycodes_["LEFT"], external_this_wp_keycodes_["DOWN"], external_this_wp_keycodes_["RIGHT"], external_this_wp_keycodes_["UP"], external_this_wp_keycodes_["BACKSPACE"], external_this_wp_keycodes_["ENTER"]].indexOf(event.keyCode) > -1) { - // Stop the key event from propagating up to ObserveTyping.startTypingInTextField. - event.stopPropagation(); - } - }; - - var selectMedia = function selectMedia(media) { - onSelect(media); - setMediaURLValue(media.url); - Object(external_this_wp_a11y_["speak"])(Object(external_this_wp_i18n_["__"])('The media file has been replaced')); - }; - - var selectURL = function selectURL(newURL) { - onSelectURL(newURL); - setShowEditURLInput(false); - }; - - var uploadFiles = function uploadFiles(event) { - var files = event.target.files; - - var setMedia = function setMedia(_ref2) { - var _ref3 = Object(slicedToArray["a" /* default */])(_ref2, 1), - media = _ref3[0]; - - setShowMediaReplaceOptions(false); - selectMedia(media); - }; - - mediaUpload({ - allowedTypes: allowedTypes, - filesList: files, - onFileChange: setMedia, - onError: onError - }); - }; - - var onClose = function onClose() { - editMediaButtonRef.current.focus(); - }; - - var onClickOutside = function onClickOutside() { - return setShowMediaReplaceOptions(false); - }; - - var openOnArrowDown = function openOnArrowDown(event) { - if (event.keyCode === external_this_wp_keycodes_["DOWN"]) { - event.preventDefault(); - event.stopPropagation(); - event.target.click(); - } - }; - - var urlInputUIContent; - - if (showEditURLInput) { - urlInputUIContent = Object(external_this_wp_element_["createElement"])(LinkEditor, { - onKeyDown: stopPropagationRelevantKeys, - onKeyPress: stopPropagation, - value: mediaURLValue, - isFullWidthInput: true, - hasInputBorder: true, - onChangeInputValue: function onChangeInputValue(url) { - return setMediaURLValue(url); - }, - onSubmit: function onSubmit(event) { - event.preventDefault(); - selectURL(mediaURLValue); - editMediaButtonRef.current.focus(); - } - }); - } else { - urlInputUIContent = Object(external_this_wp_element_["createElement"])(LinkViewer, { - isFullWidth: true, - className: "editor-format-toolbar__link-container-content block-editor-format-toolbar__link-container-content", - url: mediaURLValue, - onEditLinkClick: function onEditLinkClick() { - return setShowEditURLInput(!showEditURLInput); - } - }); - } - - return Object(external_this_wp_element_["createElement"])(media_upload, { - onSelect: function onSelect(media) { - return selectMedia(media); - }, - onClose: function onClose() { - return setShowMediaReplaceOptions(true); - }, - allowedTypes: allowedTypes, - render: function render(_ref4) { - var open = _ref4.open; - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Toolbar"], { - className: 'media-replace-flow components-dropdown-menu' - }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { - ref: editMediaButtonRef, - className: 'components-icon-button components-dropdown-menu__toggle', - onClick: function onClick() { - setShowMediaReplaceOptions(!showMediaReplaceOptions); - }, - onKeyDown: openOnArrowDown - }, Object(external_this_wp_element_["createElement"])("span", { - className: "components-dropdown-menu__label" - }, " ", name, " "), Object(external_this_wp_element_["createElement"])("span", { - className: "components-dropdown-menu__indicator" - })), showMediaReplaceOptions && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Popover"], { - onClickOutside: onClickOutside, - onClose: onClose, - className: 'media-replace-flow__options' - }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["NavigableMenu"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuItem"], { - icon: "admin-media", - onClick: open - }, Object(external_this_wp_i18n_["__"])('Open Media Library')), Object(external_this_wp_element_["createElement"])(check, null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["FormFileUpload"], { - onChange: uploadFiles, - accept: accept, - render: function render(_ref5) { - var openFileDialog = _ref5.openFileDialog; - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuItem"], { - icon: "upload", - onClick: function onClick() { - openFileDialog(); - } - }, Object(external_this_wp_i18n_["__"])('Upload')); - } - })), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuItem"], { - icon: "admin-links", - onClick: function onClick() { - return setShowURLInput(!showURLInput); - }, - "aria-expanded": showURLInput - }, Object(external_this_wp_element_["createElement"])("div", null, " ", Object(external_this_wp_i18n_["__"])('Insert from URL'), " "))), showURLInput && Object(external_this_wp_element_["createElement"])("div", { - className: "block-editor-media-flow__url-input" - }, urlInputUIContent))); - } - }); -}; - -/* harmony default export */ var media_replace_flow = (Object(external_this_wp_compose_["compose"])(external_this_wp_components_["withNotices"])(media_replace_flow_MediaReplaceFlow)); - -// EXTERNAL MODULE: external {"this":["wp","deprecated"]} -var external_this_wp_deprecated_ = __webpack_require__(35); -var external_this_wp_deprecated_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_deprecated_); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/url-popover/index.js - - - - - - - - - - -/** - * WordPress dependencies - */ - - - -/** - * Internal dependencies - */ - - - - -var url_popover_URLPopover = -/*#__PURE__*/ -function (_Component) { - Object(inherits["a" /* default */])(URLPopover, _Component); - - function URLPopover() { - var _this; - - Object(classCallCheck["a" /* default */])(this, URLPopover); - - _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(URLPopover).apply(this, arguments)); - _this.toggleSettingsVisibility = _this.toggleSettingsVisibility.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.state = { - isSettingsExpanded: false - }; - return _this; - } - - Object(createClass["a" /* default */])(URLPopover, [{ - key: "toggleSettingsVisibility", - value: function toggleSettingsVisibility() { - this.setState({ - isSettingsExpanded: !this.state.isSettingsExpanded - }); - } - }, { - key: "render", - value: function render() { - var _this$props = this.props, - additionalControls = _this$props.additionalControls, - children = _this$props.children, - renderSettings = _this$props.renderSettings, - _this$props$position = _this$props.position, - position = _this$props$position === void 0 ? 'bottom center' : _this$props$position, - _this$props$focusOnMo = _this$props.focusOnMount, - focusOnMount = _this$props$focusOnMo === void 0 ? 'firstElement' : _this$props$focusOnMo, - popoverProps = Object(objectWithoutProperties["a" /* default */])(_this$props, ["additionalControls", "children", "renderSettings", "position", "focusOnMount"]); - - var isSettingsExpanded = this.state.isSettingsExpanded; - var showSettings = !!renderSettings && isSettingsExpanded; - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Popover"], Object(esm_extends["a" /* default */])({ - className: "editor-url-popover block-editor-url-popover", - focusOnMount: focusOnMount, - position: position - }, popoverProps), Object(external_this_wp_element_["createElement"])("div", { - className: "block-editor-url-popover__input-container" - }, Object(external_this_wp_element_["createElement"])("div", { - className: "editor-url-popover__row block-editor-url-popover__row" - }, children, !!renderSettings && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], { - className: "editor-url-popover__settings-toggle block-editor-url-popover__settings-toggle", - icon: "arrow-down-alt2", - label: Object(external_this_wp_i18n_["__"])('Link settings'), - onClick: this.toggleSettingsVisibility, - "aria-expanded": isSettingsExpanded - })), showSettings && Object(external_this_wp_element_["createElement"])("div", { - className: "editor-url-popover__row block-editor-url-popover__row editor-url-popover__settings block-editor-url-popover__settings" - }, renderSettings())), additionalControls && !showSettings && Object(external_this_wp_element_["createElement"])("div", { - className: "block-editor-url-popover__additional-controls" - }, additionalControls)); - } - }]); - - return URLPopover; -}(external_this_wp_element_["Component"]); - -url_popover_URLPopover.LinkEditor = LinkEditor; -url_popover_URLPopover.LinkViewer = LinkViewer; -/** - * @see https://github.com/WordPress/gutenberg/blob/master/packages/block-editor/src/components/url-popover/README.md - */ - -/* harmony default export */ var url_popover = (url_popover_URLPopover); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/media-placeholder/index.js - - - - - - - - - -/** - * External dependencies - */ - - -/** - * WordPress dependencies - */ - - - - - - - -/** - * Internal dependencies - */ - - - - - -var media_placeholder_InsertFromURLPopover = function InsertFromURLPopover(_ref) { - var src = _ref.src, - onChange = _ref.onChange, - onSubmit = _ref.onSubmit, - onClose = _ref.onClose; - return Object(external_this_wp_element_["createElement"])(url_popover, { - onClose: onClose - }, Object(external_this_wp_element_["createElement"])("form", { - className: "editor-media-placeholder__url-input-form block-editor-media-placeholder__url-input-form", - onSubmit: onSubmit - }, Object(external_this_wp_element_["createElement"])("input", { - className: "editor-media-placeholder__url-input-field block-editor-media-placeholder__url-input-field", - type: "url", - "aria-label": Object(external_this_wp_i18n_["__"])('URL'), - placeholder: Object(external_this_wp_i18n_["__"])('Paste or type URL'), - onChange: onChange, - value: src - }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], { - className: "editor-media-placeholder__url-input-submit-button block-editor-media-placeholder__url-input-submit-button", - icon: "editor-break", - label: Object(external_this_wp_i18n_["__"])('Apply'), - type: "submit" - }))); -}; - -var media_placeholder_MediaPlaceholder = -/*#__PURE__*/ -function (_Component) { - Object(inherits["a" /* default */])(MediaPlaceholder, _Component); - - function MediaPlaceholder() { - var _this; - - Object(classCallCheck["a" /* default */])(this, MediaPlaceholder); - - _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(MediaPlaceholder).apply(this, arguments)); - _this.state = { - src: '', - isURLInputVisible: false - }; - _this.onChangeSrc = _this.onChangeSrc.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.onSubmitSrc = _this.onSubmitSrc.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.onUpload = _this.onUpload.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.onFilesUpload = _this.onFilesUpload.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.openURLInput = _this.openURLInput.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.closeURLInput = _this.closeURLInput.bind(Object(assertThisInitialized["a" /* default */])(_this)); - return _this; - } - - Object(createClass["a" /* default */])(MediaPlaceholder, [{ - key: "onlyAllowsImages", - value: function onlyAllowsImages() { - var allowedTypes = this.props.allowedTypes; - - if (!allowedTypes) { - return false; - } - - return Object(external_this_lodash_["every"])(allowedTypes, function (allowedType) { - return allowedType === 'image' || Object(external_this_lodash_["startsWith"])(allowedType, 'image/'); - }); - } - }, { - key: "componentDidMount", - value: function componentDidMount() { - this.setState({ - src: Object(external_this_lodash_["get"])(this.props.value, ['src'], '') - }); - } - }, { - key: "componentDidUpdate", - value: function componentDidUpdate(prevProps) { - if (Object(external_this_lodash_["get"])(prevProps.value, ['src'], '') !== Object(external_this_lodash_["get"])(this.props.value, ['src'], '')) { - this.setState({ - src: Object(external_this_lodash_["get"])(this.props.value, ['src'], '') - }); - } - } - }, { - key: "onChangeSrc", - value: function onChangeSrc(event) { - this.setState({ - src: event.target.value - }); - } - }, { - key: "onSubmitSrc", - value: function onSubmitSrc(event) { - event.preventDefault(); - - if (this.state.src && this.props.onSelectURL) { - this.props.onSelectURL(this.state.src); - this.closeURLInput(); - } - } - }, { - key: "onUpload", - value: function onUpload(event) { - this.onFilesUpload(event.target.files); - } - }, { - key: "onFilesUpload", - value: function onFilesUpload(files) { - var _this$props = this.props, - addToGallery = _this$props.addToGallery, - allowedTypes = _this$props.allowedTypes, - mediaUpload = _this$props.mediaUpload, - multiple = _this$props.multiple, - onError = _this$props.onError, - onSelect = _this$props.onSelect, - _this$props$value = _this$props.value, - value = _this$props$value === void 0 ? [] : _this$props$value; - var setMedia; - - if (multiple) { - if (addToGallery) { - var currentValue = value; - - setMedia = function setMedia(newMedia) { - onSelect(currentValue.concat(newMedia)); - }; - } else { - setMedia = onSelect; - } - } else { - setMedia = function setMedia(_ref2) { - var _ref3 = Object(slicedToArray["a" /* default */])(_ref2, 1), - media = _ref3[0]; - - return onSelect(media); - }; - } - - mediaUpload({ - allowedTypes: allowedTypes, - filesList: files, - onFileChange: setMedia, - onError: onError - }); - } - }, { - key: "openURLInput", - value: function openURLInput() { - this.setState({ - isURLInputVisible: true - }); - } - }, { - key: "closeURLInput", - value: function closeURLInput() { - this.setState({ - isURLInputVisible: false - }); - } - }, { - key: "renderPlaceholder", - value: function renderPlaceholder(content, onClick) { - var _this$props2 = this.props, - _this$props2$allowedT = _this$props2.allowedTypes, - allowedTypes = _this$props2$allowedT === void 0 ? [] : _this$props2$allowedT, - className = _this$props2.className, - icon = _this$props2.icon, - isAppender = _this$props2.isAppender, - _this$props2$labels = _this$props2.labels, - labels = _this$props2$labels === void 0 ? {} : _this$props2$labels, - onDoubleClick = _this$props2.onDoubleClick, - mediaPreview = _this$props2.mediaPreview, - notices = _this$props2.notices, - onSelectURL = _this$props2.onSelectURL, - mediaUpload = _this$props2.mediaUpload, - children = _this$props2.children; - var instructions = labels.instructions; - var title = labels.title; - - if (!mediaUpload && !onSelectURL) { - instructions = Object(external_this_wp_i18n_["__"])('To edit this block, you need permission to upload media.'); - } - - if (instructions === undefined || title === undefined) { - var isOneType = 1 === allowedTypes.length; - var isAudio = isOneType && 'audio' === allowedTypes[0]; - var isImage = isOneType && 'image' === allowedTypes[0]; - var isVideo = isOneType && 'video' === allowedTypes[0]; - - if (instructions === undefined && mediaUpload) { - instructions = Object(external_this_wp_i18n_["__"])('Upload a media file or pick one from your media library.'); - - if (isAudio) { - instructions = Object(external_this_wp_i18n_["__"])('Upload an audio file, pick one from your media library, or add one with a URL.'); - } else if (isImage) { - instructions = Object(external_this_wp_i18n_["__"])('Upload an image file, pick one from your media library, or add one with a URL.'); - } else if (isVideo) { - instructions = Object(external_this_wp_i18n_["__"])('Upload a video file, pick one from your media library, or add one with a URL.'); - } - } - - if (title === undefined) { - title = Object(external_this_wp_i18n_["__"])('Media'); - - if (isAudio) { - title = Object(external_this_wp_i18n_["__"])('Audio'); - } else if (isImage) { - title = Object(external_this_wp_i18n_["__"])('Image'); - } else if (isVideo) { - title = Object(external_this_wp_i18n_["__"])('Video'); - } - } - } - - var placeholderClassName = classnames_default()('block-editor-media-placeholder', 'editor-media-placeholder', className, { - 'is-appender': isAppender - }); - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Placeholder"], { - icon: icon, - label: title, - instructions: instructions, - className: placeholderClassName, - notices: notices, - onClick: onClick, - onDoubleClick: onDoubleClick, - preview: mediaPreview - }, content, children); - } - }, { - key: "renderDropZone", - value: function renderDropZone() { - var _this$props3 = this.props, - disableDropZone = _this$props3.disableDropZone, - _this$props3$onHTMLDr = _this$props3.onHTMLDrop, - onHTMLDrop = _this$props3$onHTMLDr === void 0 ? external_this_lodash_["noop"] : _this$props3$onHTMLDr; - - if (disableDropZone) { - return null; - } - - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["DropZone"], { - onFilesDrop: this.onFilesUpload, - onHTMLDrop: onHTMLDrop - }); - } - }, { - key: "renderCancelLink", - value: function renderCancelLink() { - var onCancel = this.props.onCancel; - return onCancel && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { - className: "block-editor-media-placeholder__cancel-button", - title: Object(external_this_wp_i18n_["__"])('Cancel'), - isLink: true, - onClick: onCancel - }, Object(external_this_wp_i18n_["__"])('Cancel')); - } - }, { - key: "renderUrlSelectionUI", - value: function renderUrlSelectionUI() { - var onSelectURL = this.props.onSelectURL; - - if (!onSelectURL) { - return null; - } - - var _this$state = this.state, - isURLInputVisible = _this$state.isURLInputVisible, - src = _this$state.src; - return Object(external_this_wp_element_["createElement"])("div", { - className: "editor-media-placeholder__url-input-container block-editor-media-placeholder__url-input-container" - }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { - className: "editor-media-placeholder__button block-editor-media-placeholder__button", - onClick: this.openURLInput, - isToggled: isURLInputVisible, - isLarge: true - }, Object(external_this_wp_i18n_["__"])('Insert from URL')), isURLInputVisible && Object(external_this_wp_element_["createElement"])(media_placeholder_InsertFromURLPopover, { - src: src, - onChange: this.onChangeSrc, - onSubmit: this.onSubmitSrc, - onClose: this.closeURLInput - })); - } - }, { - key: "renderMediaUploadChecked", - value: function renderMediaUploadChecked() { - var _this2 = this; - - var _this$props4 = this.props, - accept = _this$props4.accept, - addToGallery = _this$props4.addToGallery, - _this$props4$allowedT = _this$props4.allowedTypes, - allowedTypes = _this$props4$allowedT === void 0 ? [] : _this$props4$allowedT, - isAppender = _this$props4.isAppender, - mediaUpload = _this$props4.mediaUpload, - _this$props4$multiple = _this$props4.multiple, - multiple = _this$props4$multiple === void 0 ? false : _this$props4$multiple, - onSelect = _this$props4.onSelect, - _this$props4$value = _this$props4.value, - value = _this$props4$value === void 0 ? {} : _this$props4$value; - var mediaLibraryButton = Object(external_this_wp_element_["createElement"])(media_upload, { - addToGallery: addToGallery, - gallery: multiple && this.onlyAllowsImages(), - multiple: multiple, - onSelect: onSelect, - allowedTypes: allowedTypes, - value: Object(external_this_lodash_["isArray"])(value) ? value.map(function (_ref4) { - var id = _ref4.id; - return id; - }) : value.id, - render: function render(_ref5) { - var open = _ref5.open; - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { - isLarge: true, - className: classnames_default()('editor-media-placeholder__button', 'editor-media-placeholder__media-library-button'), - onClick: function onClick(event) { - event.stopPropagation(); - open(); - } - }, Object(external_this_wp_i18n_["__"])('Media Library')); - } - }); - - if (mediaUpload && isAppender) { - return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, this.renderDropZone(), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["FormFileUpload"], { - onChange: this.onUpload, - accept: accept, - multiple: multiple, - render: function render(_ref6) { - var openFileDialog = _ref6.openFileDialog; - var content = Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], { - isLarge: true, - className: classnames_default()('block-editor-media-placeholder__button', 'editor-media-placeholder__button', 'block-editor-media-placeholder__upload-button'), - icon: "upload" - }, Object(external_this_wp_i18n_["__"])('Upload')), mediaLibraryButton, _this2.renderUrlSelectionUI(), _this2.renderCancelLink()); - return _this2.renderPlaceholder(content, openFileDialog); - } - })); - } - - if (mediaUpload) { - var content = Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, this.renderDropZone(), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["FormFileUpload"], { - isLarge: true, - className: classnames_default()('block-editor-media-placeholder__button', 'editor-media-placeholder__button', 'block-editor-media-placeholder__upload-button'), - onChange: this.onUpload, - accept: accept, - multiple: multiple - }, Object(external_this_wp_i18n_["__"])('Upload')), mediaLibraryButton, this.renderUrlSelectionUI(), this.renderCancelLink()); - return this.renderPlaceholder(content); - } - - return this.renderPlaceholder(mediaLibraryButton); - } - }, { - key: "render", - value: function render() { - var _this$props5 = this.props, - disableMediaButtons = _this$props5.disableMediaButtons, - dropZoneUIOnly = _this$props5.dropZoneUIOnly; - - if (dropZoneUIOnly || disableMediaButtons) { - if (dropZoneUIOnly) { - external_this_wp_deprecated_default()('wp.blockEditor.MediaPlaceholder dropZoneUIOnly prop', { - alternative: 'disableMediaButtons' - }); - } - - return Object(external_this_wp_element_["createElement"])(check, null, this.renderDropZone()); - } - - return Object(external_this_wp_element_["createElement"])(check, { - fallback: this.renderPlaceholder(this.renderUrlSelectionUI()) - }, this.renderMediaUploadChecked()); - } - }]); - - return MediaPlaceholder; -}(external_this_wp_element_["Component"]); -var media_placeholder_applyWithSelect = Object(external_this_wp_data_["withSelect"])(function (select) { - var _select = select('core/block-editor'), - getSettings = _select.getSettings; - - return { - mediaUpload: getSettings().mediaUpload - }; -}); -/** - * @see https://github.com/WordPress/gutenberg/blob/master/packages/block-editor/src/components/media-placeholder/README.md - */ - -/* harmony default export */ var media_placeholder = (Object(external_this_wp_compose_["compose"])(media_placeholder_applyWithSelect, Object(external_this_wp_components_["withFilters"])('editor.MediaPlaceholder'))(media_placeholder_MediaPlaceholder)); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/plain-text/index.js - - - - -/** - * WordPress dependencies - */ - -/** - * External dependencies - */ - - - -/** - * @see https://github.com/WordPress/gutenberg/blob/master/packages/block-editor/src/components/plain-text/README.md - */ - -var PlainText = Object(external_this_wp_element_["forwardRef"])(function (_ref, ref) { - var _onChange = _ref.onChange, - className = _ref.className, - props = Object(objectWithoutProperties["a" /* default */])(_ref, ["onChange", "className"]); - - return Object(external_this_wp_element_["createElement"])(react_autosize_textarea_lib_default.a, Object(esm_extends["a" /* default */])({ - ref: ref, - className: classnames_default()('editor-plain-text block-editor-plain-text', className), - onChange: function onChange(event) { - return _onChange(event.target.value); - } - }, props)); -}); -/* harmony default export */ var plain_text = (PlainText); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/responsive-block-control/label.js - - -/** - * WordPress dependencies - */ - - - - -var label_ResponsiveBlockControlLabel = function ResponsiveBlockControlLabel(_ref) { - var instanceId = _ref.instanceId, - property = _ref.property, - viewport = _ref.viewport, - desc = _ref.desc; - var accessibleLabel = desc || Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["_x"])('Controls the %1$s property for %2$s viewports.', 'Text labelling a interface as controlling a given layout property (eg: margin) for a given screen size.'), property, viewport.label); - return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])("span", { - "aria-describedby": "rbc-desc-".concat(instanceId) - }, viewport.label), Object(external_this_wp_element_["createElement"])("span", { - className: "screen-reader-text", - id: "rbc-desc-".concat(instanceId) - }, accessibleLabel)); -}; - -/* harmony default export */ var responsive_block_control_label = (Object(external_this_wp_compose_["withInstanceId"])(label_ResponsiveBlockControlLabel)); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/responsive-block-control/index.js - - -/** - * WordPress dependencies - */ - - - -/** - * Internal dependencies - */ - - - -function ResponsiveBlockControl(props) { - var title = props.title, - property = props.property, - toggleLabel = props.toggleLabel, - onIsResponsiveChange = props.onIsResponsiveChange, - renderDefaultControl = props.renderDefaultControl, - renderResponsiveControls = props.renderResponsiveControls, - _props$isResponsive = props.isResponsive, - isResponsive = _props$isResponsive === void 0 ? false : _props$isResponsive, - _props$defaultLabel = props.defaultLabel, - defaultLabel = _props$defaultLabel === void 0 ? { - id: 'all', - label: Object(external_this_wp_i18n_["__"])('All') - /* translators: 'Label. Used to signify a layout property (eg: margin, padding) will apply uniformly to all screensizes.' */ - - } : _props$defaultLabel, - _props$viewports = props.viewports, - viewports = _props$viewports === void 0 ? [{ - id: 'small', - label: Object(external_this_wp_i18n_["__"])('Small screens') - }, { - id: 'medium', - label: Object(external_this_wp_i18n_["__"])('Medium screens') - }, { - id: 'large', - label: Object(external_this_wp_i18n_["__"])('Large screens') - }] : _props$viewports; - - if (!title || !property || !renderDefaultControl) { - return null; - } - /* translators: 'Toggle control label. Should the property be the same across all screen sizes or unique per screen size.'. %s property value for the control (eg: margin, padding...etc) */ - - - var toggleControlLabel = toggleLabel || Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["__"])('Use the same %s on all screensizes.'), property); - /* translators: 'Help text for the responsive mode toggle control.' */ - - var toggleHelpText = Object(external_this_wp_i18n_["__"])('Toggle between using the same value for all screen sizes or using a unique value per screen size.'); - - var defaultControl = renderDefaultControl(Object(external_this_wp_element_["createElement"])(responsive_block_control_label, { - property: property, - viewport: defaultLabel - }), defaultLabel); - - var defaultResponsiveControls = function defaultResponsiveControls() { - return viewports.map(function (viewport) { - return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], { - key: viewport.id - }, renderDefaultControl(Object(external_this_wp_element_["createElement"])(responsive_block_control_label, { - property: property, - viewport: viewport - }), viewport)); - }); - }; - - return Object(external_this_wp_element_["createElement"])("fieldset", { - className: "block-editor-responsive-block-control" - }, Object(external_this_wp_element_["createElement"])("legend", { - className: "block-editor-responsive-block-control__title" - }, title), Object(external_this_wp_element_["createElement"])("div", { - className: "block-editor-responsive-block-control__inner" - }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], { - className: "block-editor-responsive-block-control__toggle", - label: toggleControlLabel, - checked: !isResponsive, - onChange: onIsResponsiveChange, - help: toggleHelpText - }), !isResponsive && Object(external_this_wp_element_["createElement"])("div", { - className: "block-editor-responsive-block-control__group block-editor-responsive-block-control__group--default" - }, defaultControl), isResponsive && Object(external_this_wp_element_["createElement"])("div", { - className: "block-editor-responsive-block-control__group block-editor-responsive-block-control__group--responsive", - hidden: !isResponsive - }, renderResponsiveControls ? renderResponsiveControls(viewports) : defaultResponsiveControls()))); -} - -/* harmony default export */ var responsive_block_control = (ResponsiveBlockControl); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/rich-text/remove-browser-shortcuts.js - - -/** - * External dependencies - */ - -/** - * WordPress dependencies - */ - - - -/** - * Set of keyboard shortcuts handled internally by RichText. - * - * @type {Array} - */ - -var HANDLED_SHORTCUTS = [external_this_wp_keycodes_["rawShortcut"].primary('z'), external_this_wp_keycodes_["rawShortcut"].primaryShift('z'), external_this_wp_keycodes_["rawShortcut"].primary('y')]; -/** - * An instance of a KeyboardShortcuts element pre-bound for the handled - * shortcuts. Since shortcuts never change, the element can be considered - * static, and can be skipped in reconciliation. - * - * @type {WPElement} - */ - -var SHORTCUTS_ELEMENT = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["KeyboardShortcuts"], { - bindGlobal: true, - shortcuts: Object(external_this_lodash_["fromPairs"])(HANDLED_SHORTCUTS.map(function (shortcut) { - return [shortcut, function (event) { - return event.preventDefault(); - }]; - })) -}); -/** - * Component which registered keyboard event handlers to prevent default - * behaviors for key combinations otherwise handled internally by RichText. - * - * @return {WPComponent} The component to be rendered. - */ - -var RemoveBrowserShortcuts = function RemoveBrowserShortcuts() { - return SHORTCUTS_ELEMENT; -}; - -// EXTERNAL MODULE: external {"this":["wp","blob"]} -var external_this_wp_blob_ = __webpack_require__(36); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/rich-text/file-paste-handler.js -/** - * WordPress dependencies - */ - -function filePasteHandler(files) { - return files.filter(function (_ref) { - var type = _ref.type; - return /^image\/(?:jpe?g|png|gif)$/.test(type); - }).map(function (file) { - return ""); - }).join(''); -} - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/rich-text/format-toolbar/index.js - - - -/** - * External dependencies - */ - -/** - * WordPress dependencies - */ - - - -var POPOVER_PROPS = { - position: 'bottom left' -}; - -var format_toolbar_FormatToolbar = function FormatToolbar() { - return Object(external_this_wp_element_["createElement"])("div", { - className: "editor-format-toolbar block-editor-format-toolbar" - }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Toolbar"], null, ['bold', 'italic', 'link'].map(function (format) { - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Slot"], { - name: "RichText.ToolbarControls.".concat(format), - key: format - }); - }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Slot"], { - name: "RichText.ToolbarControls" - }, function (fills) { - return fills.length !== 0 && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["DropdownMenu"], { - icon: false, - label: Object(external_this_wp_i18n_["__"])('More rich text controls'), - controls: Object(external_this_lodash_["orderBy"])(fills.map(function (_ref) { - var _ref2 = Object(slicedToArray["a" /* default */])(_ref, 1), - props = _ref2[0].props; - - return props; - }), 'title'), - popoverProps: POPOVER_PROPS - }); - }))); -}; - -/* harmony default export */ var format_toolbar = (format_toolbar_FormatToolbar); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/rich-text/format-toolbar-container.js - - -/** - * WordPress dependencies - */ - -/** - * Internal dependencies - */ - - - - -var format_toolbar_container_FormatToolbarContainer = function FormatToolbarContainer(_ref) { - var inline = _ref.inline, - anchorRef = _ref.anchorRef; - - if (inline) { - // Render in popover - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Popover"], { - noArrow: true, - position: "top center", - focusOnMount: false, - anchorVerticalBuffer: 6, - anchorRef: anchorRef, - className: "block-editor-rich-text__inline-format-toolbar" - }, Object(external_this_wp_element_["createElement"])(format_toolbar, null)); - } // Render regular toolbar - - - return Object(external_this_wp_element_["createElement"])(block_format_controls, null, Object(external_this_wp_element_["createElement"])(format_toolbar, null)); -}; - -/* harmony default export */ var format_toolbar_container = (format_toolbar_container_FormatToolbarContainer); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/rich-text/shortcut.js - - - - - - - - - -/** - * WordPress dependencies - */ - - - -var shortcut_RichTextShortcut = -/*#__PURE__*/ -function (_Component) { - Object(inherits["a" /* default */])(RichTextShortcut, _Component); - - function RichTextShortcut() { - var _this; - - Object(classCallCheck["a" /* default */])(this, RichTextShortcut); - - _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(RichTextShortcut).apply(this, arguments)); - _this.onUse = _this.onUse.bind(Object(assertThisInitialized["a" /* default */])(_this)); - return _this; - } - - Object(createClass["a" /* default */])(RichTextShortcut, [{ - key: "onUse", - value: function onUse() { - this.props.onUse(); - return false; - } - }, { - key: "render", - value: function render() { - var _this$props = this.props, - character = _this$props.character, - type = _this$props.type; - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["KeyboardShortcuts"], { - bindGlobal: true, - shortcuts: Object(defineProperty["a" /* default */])({}, external_this_wp_keycodes_["rawShortcut"][type](character), this.onUse) - }); - } - }]); - - return RichTextShortcut; -}(external_this_wp_element_["Component"]); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/rich-text/toolbar-button.js - - - - -/** - * WordPress dependencies - */ - - -function RichTextToolbarButton(_ref) { - var name = _ref.name, - shortcutType = _ref.shortcutType, - shortcutCharacter = _ref.shortcutCharacter, - props = Object(objectWithoutProperties["a" /* default */])(_ref, ["name", "shortcutType", "shortcutCharacter"]); - - var shortcut; - var fillName = 'RichText.ToolbarControls'; - - if (name) { - fillName += ".".concat(name); - } - - if (shortcutType && shortcutCharacter) { - shortcut = external_this_wp_keycodes_["displayShortcut"][shortcutType](shortcutCharacter); - } - - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Fill"], { - name: fillName - }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarButton"], Object(esm_extends["a" /* default */])({}, props, { - shortcut: shortcut - }))); -} - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/rich-text/input-event.js - - - - - - - -/** - * WordPress dependencies - */ - -var input_event_unstableRichTextInputEvent = -/*#__PURE__*/ -function (_Component) { - Object(inherits["a" /* default */])(__unstableRichTextInputEvent, _Component); - - function __unstableRichTextInputEvent() { - var _this; - - Object(classCallCheck["a" /* default */])(this, __unstableRichTextInputEvent); - - _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(__unstableRichTextInputEvent).apply(this, arguments)); - _this.onInput = _this.onInput.bind(Object(assertThisInitialized["a" /* default */])(_this)); - return _this; - } - - Object(createClass["a" /* default */])(__unstableRichTextInputEvent, [{ - key: "onInput", - value: function onInput(event) { - if (event.inputType === this.props.inputType) { - this.props.onInput(); - } - } - }, { - key: "componentDidMount", - value: function componentDidMount() { - document.addEventListener('input', this.onInput, true); - } - }, { - key: "componentWillUnmount", - value: function componentWillUnmount() { - document.removeEventListener('input', this.onInput, true); - } - }, { - key: "render", - value: function render() { - return null; - } - }]); - - return __unstableRichTextInputEvent; -}(external_this_wp_element_["Component"]); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/rich-text/index.js - - - - - - - - - - - - - -/** - * External dependencies - */ - - -/** - * WordPress dependencies - */ - - - - - - - - - -/** - * Internal dependencies - */ - - - - - - -var wrapperClasses = 'editor-rich-text block-editor-rich-text'; -var rich_text_classes = 'editor-rich-text__editable block-editor-rich-text__editable'; -/** - * Get the multiline tag based on the multiline prop. - * - * @param {?(string|boolean)} multiline The multiline prop. - * - * @return {?string} The multiline tag. - */ - -function getMultilineTag(multiline) { - if (multiline !== true && multiline !== 'p' && multiline !== 'li') { - return; - } - - return multiline === true ? 'p' : multiline; -} - -var rich_text_RichTextWrapper = -/*#__PURE__*/ -function (_Component) { - Object(inherits["a" /* default */])(RichTextWrapper, _Component); - - function RichTextWrapper() { - var _this; - - Object(classCallCheck["a" /* default */])(this, RichTextWrapper); - - _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(RichTextWrapper).apply(this, arguments)); - _this.ref = Object(external_this_wp_element_["createRef"])(); - _this.onEnter = _this.onEnter.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.onSplit = _this.onSplit.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.onPaste = _this.onPaste.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.onDelete = _this.onDelete.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.inputRule = _this.inputRule.bind(Object(assertThisInitialized["a" /* default */])(_this)); - return _this; - } - - Object(createClass["a" /* default */])(RichTextWrapper, [{ - key: "onEnter", - value: function onEnter(_ref) { - var value = _ref.value, - onChange = _ref.onChange, - shiftKey = _ref.shiftKey; - var _this$props = this.props, - onReplace = _this$props.onReplace, - onSplit = _this$props.onSplit, - multiline = _this$props.multiline, - markAutomaticChange = _this$props.markAutomaticChange; - var canSplit = onReplace && onSplit; - - if (onReplace) { - var transforms = Object(external_this_wp_blocks_["getBlockTransforms"])('from').filter(function (_ref2) { - var type = _ref2.type; - return type === 'enter'; - }); - var transformation = Object(external_this_wp_blocks_["findTransform"])(transforms, function (item) { - return item.regExp.test(value.text); - }); - - if (transformation) { - onReplace([transformation.transform({ - content: value.text - })]); - markAutomaticChange(); - } - } - - if (multiline) { - if (shiftKey) { - onChange(Object(external_this_wp_richText_["insert"])(value, '\n')); - } else if (canSplit && Object(external_this_wp_richText_["__unstableIsEmptyLine"])(value)) { - this.onSplit(value); - } else { - onChange(Object(external_this_wp_richText_["__unstableInsertLineSeparator"])(value)); - } - } else if (shiftKey || !canSplit) { - onChange(Object(external_this_wp_richText_["insert"])(value, '\n')); - } else { - this.onSplit(value); - } - } - }, { - key: "onDelete", - value: function onDelete(_ref3) { - var value = _ref3.value, - isReverse = _ref3.isReverse; - var _this$props2 = this.props, - onMerge = _this$props2.onMerge, - onRemove = _this$props2.onRemove; - - if (onMerge) { - onMerge(!isReverse); - } // Only handle remove on Backspace. This serves dual-purpose of being - // an intentional user interaction distinguishing between Backspace and - // Delete to remove the empty field, but also to avoid merge & remove - // causing destruction of two fields (merge, then removed merged). - - - if (onRemove && Object(external_this_wp_richText_["isEmpty"])(value) && isReverse) { - onRemove(!isReverse); - } - } - }, { - key: "onPaste", - value: function onPaste(_ref4) { - var value = _ref4.value, - onChange = _ref4.onChange, - html = _ref4.html, - plainText = _ref4.plainText, - files = _ref4.files; - var _this$props3 = this.props, - onReplace = _this$props3.onReplace, - onSplit = _this$props3.onSplit, - tagName = _this$props3.tagName, - canUserUseUnfilteredHTML = _this$props3.canUserUseUnfilteredHTML, - multiline = _this$props3.multiline, - __unstableEmbedURLOnPaste = _this$props3.__unstableEmbedURLOnPaste; // Only process file if no HTML is present. - // Note: a pasted file may have the URL as plain text. - - if (files && files.length && !html) { - var _content = Object(external_this_wp_blocks_["pasteHandler"])({ - HTML: filePasteHandler(files), - mode: 'BLOCKS', - tagName: tagName - }); // Allows us to ask for this information when we get a report. - // eslint-disable-next-line no-console - - - window.console.log('Received items:\n\n', files); - - if (onReplace && Object(external_this_wp_richText_["isEmpty"])(value)) { - onReplace(_content); - } else { - this.onSplit(value, _content); - } - - return; - } - - var mode = onReplace && onSplit ? 'AUTO' : 'INLINE'; - - if (__unstableEmbedURLOnPaste && Object(external_this_wp_richText_["isEmpty"])(value) && Object(external_this_wp_url_["isURL"])(plainText.trim())) { - mode = 'BLOCKS'; - } - - var content = Object(external_this_wp_blocks_["pasteHandler"])({ - HTML: html, - plainText: plainText, - mode: mode, - tagName: tagName, - canUserUseUnfilteredHTML: canUserUseUnfilteredHTML - }); - - if (typeof content === 'string') { - var valueToInsert = Object(external_this_wp_richText_["create"])({ - html: content - }); // If the content should be multiline, we should process text - // separated by a line break as separate lines. - - if (multiline) { - valueToInsert = Object(external_this_wp_richText_["replace"])(valueToInsert, /\n+/g, external_this_wp_richText_["__UNSTABLE_LINE_SEPARATOR"]); - } - - onChange(Object(external_this_wp_richText_["insert"])(value, valueToInsert)); - } else if (content.length > 0) { - if (onReplace && Object(external_this_wp_richText_["isEmpty"])(value)) { - onReplace(content); - } else { - this.onSplit(value, content); - } - } - } - /** - * Signals to the RichText owner that the block can be replaced with two - * blocks as a result of splitting the block by pressing enter, or with - * blocks as a result of splitting the block by pasting block content in the - * instance. - * - * @param {Object} record The rich text value to split. - * @param {Array} pastedBlocks The pasted blocks to insert, if any. - */ - - }, { - key: "onSplit", - value: function onSplit(record) { - var pastedBlocks = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : []; - var _this$props4 = this.props, - onReplace = _this$props4.onReplace, - onSplit = _this$props4.onSplit, - onSplitMiddle = _this$props4.__unstableOnSplitMiddle, - multiline = _this$props4.multiline; - - if (!onReplace || !onSplit) { - return; - } - - var blocks = []; - - var _split = Object(external_this_wp_richText_["split"])(record), - _split2 = Object(slicedToArray["a" /* default */])(_split, 2), - before = _split2[0], - after = _split2[1]; - - var hasPastedBlocks = pastedBlocks.length > 0; - var multilineTag = getMultilineTag(multiline); // Create a block with the content before the caret if there's no pasted - // blocks, or if there are pasted blocks and the value is not empty. - // We do not want a leading empty block on paste, but we do if split - // with e.g. the enter key. - - if (!hasPastedBlocks || !Object(external_this_wp_richText_["isEmpty"])(before)) { - blocks.push(onSplit(Object(external_this_wp_richText_["toHTMLString"])({ - value: before, - multilineTag: multilineTag - }))); - } - - if (hasPastedBlocks) { - blocks.push.apply(blocks, Object(toConsumableArray["a" /* default */])(pastedBlocks)); - } else if (onSplitMiddle) { - blocks.push(onSplitMiddle()); - } // If there's pasted blocks, append a block with the content after the - // caret. Otherwise, do append and empty block if there is no - // `onSplitMiddle` prop, but if there is and the content is empty, the - // middle block is enough to set focus in. - - - if (hasPastedBlocks || !onSplitMiddle || !Object(external_this_wp_richText_["isEmpty"])(after)) { - blocks.push(onSplit(Object(external_this_wp_richText_["toHTMLString"])({ - value: after, - multilineTag: multilineTag - }))); - } // If there are pasted blocks, set the selection to the last one. - // Otherwise, set the selection to the second block. - - - var indexToSelect = hasPastedBlocks ? blocks.length - 1 : 1; - onReplace(blocks, indexToSelect); - } - }, { - key: "inputRule", - value: function inputRule(value, valueToFormat) { - var _this$props5 = this.props, - onReplace = _this$props5.onReplace, - markAutomaticChange = _this$props5.markAutomaticChange; - - if (!onReplace) { - return; - } - - var start = value.start, - text = value.text; - var characterBefore = text.slice(start - 1, start); // The character right before the caret must be a plain space. - - if (characterBefore !== ' ') { - return; - } - - var trimmedTextBefore = text.slice(0, start).trim(); - var prefixTransforms = Object(external_this_wp_blocks_["getBlockTransforms"])('from').filter(function (_ref5) { - var type = _ref5.type; - return type === 'prefix'; - }); - var transformation = Object(external_this_wp_blocks_["findTransform"])(prefixTransforms, function (_ref6) { - var prefix = _ref6.prefix; - return trimmedTextBefore === prefix; - }); - - if (!transformation) { - return; - } - - var content = valueToFormat(Object(external_this_wp_richText_["slice"])(value, start, text.length)); - var block = transformation.transform(content); - onReplace([block]); - markAutomaticChange(); - } - }, { - key: "getAllowedFormats", - value: function getAllowedFormats() { - var _this$props6 = this.props, - allowedFormats = _this$props6.allowedFormats, - formattingControls = _this$props6.formattingControls; - - if (!allowedFormats && !formattingControls) { - return; - } - - if (allowedFormats) { - return allowedFormats; - } - - external_this_wp_deprecated_default()('wp.blockEditor.RichText formattingControls prop', { - alternative: 'allowedFormats' - }); - return formattingControls.map(function (name) { - return "core/".concat(name); - }); - } - }, { - key: "render", - value: function render() { - var _this2 = this; - - var _this$props7 = this.props, - children = _this$props7.children, - tagName = _this$props7.tagName, - originalValue = _this$props7.value, - originalOnChange = _this$props7.onChange, - selectionStart = _this$props7.selectionStart, - selectionEnd = _this$props7.selectionEnd, - onSelectionChange = _this$props7.onSelectionChange, - multiline = _this$props7.multiline, - inlineToolbar = _this$props7.inlineToolbar, - wrapperClassName = _this$props7.wrapperClassName, - className = _this$props7.className, - autocompleters = _this$props7.autocompleters, - onReplace = _this$props7.onReplace, - isCaretWithinFormattedText = _this$props7.isCaretWithinFormattedText, - onEnterFormattedText = _this$props7.onEnterFormattedText, - onExitFormattedText = _this$props7.onExitFormattedText, - originalIsSelected = _this$props7.isSelected, - onCreateUndoLevel = _this$props7.onCreateUndoLevel, - markAutomaticChange = _this$props7.markAutomaticChange, - didAutomaticChange = _this$props7.didAutomaticChange, - undo = _this$props7.undo, - placeholder = _this$props7.placeholder, - keepPlaceholderOnFocus = _this$props7.keepPlaceholderOnFocus, - allowedFormats = _this$props7.allowedFormats, - withoutInteractiveFormatting = _this$props7.withoutInteractiveFormatting, - onRemove = _this$props7.onRemove, - onMerge = _this$props7.onMerge, - onSplit = _this$props7.onSplit, - canUserUseUnfilteredHTML = _this$props7.canUserUseUnfilteredHTML, - clientId = _this$props7.clientId, - identifier = _this$props7.identifier, - instanceId = _this$props7.instanceId, - start = _this$props7.start, - reversed = _this$props7.reversed, - style = _this$props7.style, - preserveWhiteSpace = _this$props7.preserveWhiteSpace, - disabled = _this$props7.disabled, - experimentalProps = Object(objectWithoutProperties["a" /* default */])(_this$props7, ["children", "tagName", "value", "onChange", "selectionStart", "selectionEnd", "onSelectionChange", "multiline", "inlineToolbar", "wrapperClassName", "className", "autocompleters", "onReplace", "isCaretWithinFormattedText", "onEnterFormattedText", "onExitFormattedText", "isSelected", "onCreateUndoLevel", "markAutomaticChange", "didAutomaticChange", "undo", "placeholder", "keepPlaceholderOnFocus", "allowedFormats", "withoutInteractiveFormatting", "onRemove", "onMerge", "onSplit", "canUserUseUnfilteredHTML", "clientId", "identifier", "instanceId", "start", "reversed", "style", "preserveWhiteSpace", "disabled"]); - - var multilineTag = getMultilineTag(multiline); - var adjustedAllowedFormats = this.getAllowedFormats(); - var hasFormats = !adjustedAllowedFormats || adjustedAllowedFormats.length > 0; - var adjustedValue = originalValue; - var adjustedOnChange = originalOnChange; // Handle deprecated format. - - if (Array.isArray(originalValue)) { - adjustedValue = external_this_wp_blocks_["children"].toHTML(originalValue); - - adjustedOnChange = function adjustedOnChange(newValue) { - return originalOnChange(external_this_wp_blocks_["children"].fromDOM(Object(external_this_wp_richText_["__unstableCreateElement"])(document, newValue).childNodes)); - }; - } - - var content = Object(external_this_wp_element_["createElement"])(external_this_wp_richText_["__experimentalRichText"], Object(esm_extends["a" /* default */])({}, experimentalProps, { - ref: this.ref, - value: adjustedValue, - onChange: adjustedOnChange, - selectionStart: selectionStart, - selectionEnd: selectionEnd, - onSelectionChange: onSelectionChange, - tagName: tagName, - className: classnames_default()(rich_text_classes, className, { - 'is-selected': originalIsSelected, - 'keep-placeholder-on-focus': keepPlaceholderOnFocus - }), - placeholder: placeholder, - allowedFormats: adjustedAllowedFormats, - withoutInteractiveFormatting: withoutInteractiveFormatting, - onEnter: this.onEnter, - onDelete: this.onDelete, - onPaste: this.onPaste, - __unstableIsSelected: originalIsSelected, - __unstableInputRule: this.inputRule, - __unstableMultilineTag: multilineTag, - __unstableIsCaretWithinFormattedText: isCaretWithinFormattedText, - __unstableOnEnterFormattedText: onEnterFormattedText, - __unstableOnExitFormattedText: onExitFormattedText, - __unstableOnCreateUndoLevel: onCreateUndoLevel, - __unstableMarkAutomaticChange: markAutomaticChange, - __unstableDidAutomaticChange: didAutomaticChange, - __unstableUndo: undo, - style: style, - preserveWhiteSpace: preserveWhiteSpace, - disabled: disabled, - start: start, - reversed: reversed - }), function (_ref7) { - var isSelected = _ref7.isSelected, - value = _ref7.value, - onChange = _ref7.onChange, - Editable = _ref7.Editable; - return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, children && children({ - value: value, - onChange: onChange - }), isSelected && hasFormats && Object(external_this_wp_element_["createElement"])(format_toolbar_container, { - inline: inlineToolbar, - anchorRef: _this2.ref.current - }), isSelected && Object(external_this_wp_element_["createElement"])(RemoveBrowserShortcuts, null), Object(external_this_wp_element_["createElement"])(autocomplete, { - onReplace: onReplace, - completers: autocompleters, - record: value, - onChange: onChange, - isSelected: isSelected - }, function (_ref8) { - var listBoxId = _ref8.listBoxId, - activeId = _ref8.activeId, - onKeyDown = _ref8.onKeyDown; - return Object(external_this_wp_element_["createElement"])(Editable, { - "aria-autocomplete": listBoxId ? 'list' : undefined, - "aria-owns": listBoxId, - "aria-activedescendant": activeId, - start: start, - reversed: reversed, - onKeyDown: onKeyDown - }); - })); - }); - - if (!wrapperClassName) { - return content; - } - - external_this_wp_deprecated_default()('wp.blockEditor.RichText wrapperClassName prop', { - alternative: 'className prop or create your own wrapper div' - }); - return Object(external_this_wp_element_["createElement"])("div", { - className: classnames_default()(wrapperClasses, wrapperClassName) - }, content); - } - }]); - - return RichTextWrapper; -}(external_this_wp_element_["Component"]); - -var RichTextContainer = Object(external_this_wp_compose_["compose"])([external_this_wp_compose_["withInstanceId"], context_withBlockEditContext(function (_ref9, ownProps) { - var clientId = _ref9.clientId, - onCaretVerticalPositionChange = _ref9.onCaretVerticalPositionChange, - isSelected = _ref9.isSelected; - - if (external_this_wp_element_["Platform"].OS === 'web') { - return { - clientId: clientId - }; - } - - return { - clientId: clientId, - blockIsSelected: ownProps.isSelected !== undefined ? ownProps.isSelected : isSelected, - onCaretVerticalPositionChange: onCaretVerticalPositionChange - }; -}), Object(external_this_wp_data_["withSelect"])(function (select, _ref10) { - var clientId = _ref10.clientId, - instanceId = _ref10.instanceId, - _ref10$identifier = _ref10.identifier, - identifier = _ref10$identifier === void 0 ? instanceId : _ref10$identifier, - isSelected = _ref10.isSelected; - - var _select = select('core/block-editor'), - isCaretWithinFormattedText = _select.isCaretWithinFormattedText, - getSelectionStart = _select.getSelectionStart, - getSelectionEnd = _select.getSelectionEnd, - getSettings = _select.getSettings, - didAutomaticChange = _select.didAutomaticChange, - __unstableGetBlockWithoutInnerBlocks = _select.__unstableGetBlockWithoutInnerBlocks, - isMultiSelecting = _select.isMultiSelecting, - hasMultiSelection = _select.hasMultiSelection; - - var selectionStart = getSelectionStart(); - var selectionEnd = getSelectionEnd(); - - var _getSettings = getSettings(), - __experimentalCanUserUseUnfilteredHTML = _getSettings.__experimentalCanUserUseUnfilteredHTML; - - if (isSelected === undefined) { - isSelected = selectionStart.clientId === clientId && selectionStart.attributeKey === identifier; - } else if (isSelected) { - isSelected = selectionStart.clientId === clientId; - } - - var extraProps = {}; - - if (external_this_wp_element_["Platform"].OS === 'native') { - // If the block of this RichText is unmodified then it's a candidate for replacing when adding a new block. - // In order to fix https://github.com/wordpress-mobile/gutenberg-mobile/issues/1126, let's blur on unmount in that case. - // This apparently assumes functionality the BlockHlder actually - var block = clientId && __unstableGetBlockWithoutInnerBlocks(clientId); - - var shouldBlurOnUnmount = block && isSelected && Object(external_this_wp_blocks_["isUnmodifiedDefaultBlock"])(block); - extraProps = { - shouldBlurOnUnmount: shouldBlurOnUnmount - }; - } - - return Object(objectSpread["a" /* default */])({ - canUserUseUnfilteredHTML: __experimentalCanUserUseUnfilteredHTML, - isCaretWithinFormattedText: isCaretWithinFormattedText(), - selectionStart: isSelected ? selectionStart.offset : undefined, - selectionEnd: isSelected ? selectionEnd.offset : undefined, - isSelected: isSelected, - didAutomaticChange: didAutomaticChange(), - disabled: isMultiSelecting() || hasMultiSelection() - }, extraProps); -}), Object(external_this_wp_data_["withDispatch"])(function (dispatch, _ref11) { - var clientId = _ref11.clientId, - instanceId = _ref11.instanceId, - _ref11$identifier = _ref11.identifier, - identifier = _ref11$identifier === void 0 ? instanceId : _ref11$identifier; - - var _dispatch = dispatch('core/block-editor'), - __unstableMarkLastChangeAsPersistent = _dispatch.__unstableMarkLastChangeAsPersistent, - enterFormattedText = _dispatch.enterFormattedText, - exitFormattedText = _dispatch.exitFormattedText, - selectionChange = _dispatch.selectionChange, - __unstableMarkAutomaticChange = _dispatch.__unstableMarkAutomaticChange; - - var _dispatch2 = dispatch('core/editor'), - undo = _dispatch2.undo; - - return { - onCreateUndoLevel: __unstableMarkLastChangeAsPersistent, - onEnterFormattedText: enterFormattedText, - onExitFormattedText: exitFormattedText, - onSelectionChange: function onSelectionChange(start, end) { - selectionChange(clientId, identifier, start, end); - }, - markAutomaticChange: __unstableMarkAutomaticChange, - undo: undo - }; -}), Object(external_this_wp_components_["withFilters"])('experimentalRichText')])(rich_text_RichTextWrapper); - -RichTextContainer.Content = function (_ref12) { - var value = _ref12.value, - Tag = _ref12.tagName, - multiline = _ref12.multiline, - props = Object(objectWithoutProperties["a" /* default */])(_ref12, ["value", "tagName", "multiline"]); - - // Handle deprecated `children` and `node` sources. - if (Array.isArray(value)) { - value = external_this_wp_blocks_["children"].toHTML(value); - } - - var MultilineTag = getMultilineTag(multiline); - - if (!value && MultilineTag) { - value = "<".concat(MultilineTag, ">"); - } - - var content = Object(external_this_wp_element_["createElement"])(external_this_wp_element_["RawHTML"], null, value); - - if (Tag) { - return Object(external_this_wp_element_["createElement"])(Tag, Object(external_this_lodash_["omit"])(props, ['format']), content); - } - - return content; -}; - -RichTextContainer.isEmpty = function (value) { - return !value || value.length === 0; -}; - -RichTextContainer.Content.defaultProps = { - format: 'string', - value: '' -}; -/** - * @see https://github.com/WordPress/gutenberg/blob/master/packages/block-editor/src/components/rich-text/README.md - */ - -/* harmony default export */ var rich_text = (RichTextContainer); - - - - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/tool-selector/index.js - - -/** - * WordPress dependencies - */ - - - - -var editIcon = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { - xmlns: "http://www.w3.org/2000/svg", - width: "20", - height: "20", - viewBox: "0 0 24 24" -}, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { - fill: "none", - d: "M0 0h24v24H0V0z" -}), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { - d: "M14.06 9.02l.92.92L5.92 19H5v-.92l9.06-9.06M17.66 3c-.25 0-.51.1-.7.29l-1.83 1.83 3.75 3.75 1.83-1.83c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.2-.2-.45-.29-.71-.29zm-3.6 3.19L3 17.25V21h3.75L17.81 9.94l-3.75-3.75z" -})); -var selectIcon = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { - xmlns: "http://www.w3.org/2000/svg", - width: "20", - height: "20", - viewBox: "0 0 24 24" -}, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { - d: "M6.5 1v21.5l6-6.5H21L6.5 1zm5.1 13l-3.1 3.4V5.9l7.8 8.1h-4.7z" -})); - -function ToolSelector() { - var isNavigationTool = Object(external_this_wp_data_["useSelect"])(function (select) { - return select('core/block-editor').isNavigationMode(); - }); - - var _useDispatch = Object(external_this_wp_data_["useDispatch"])('core/block-editor'), - setNavigationMode = _useDispatch.setNavigationMode; - - var isMediumViewport = Object(external_this_wp_compose_["useViewportMatch"])('medium'); - - if (!isMediumViewport) { - return null; - } - - var onSwitchMode = function onSwitchMode(mode) { - setNavigationMode(mode === 'edit' ? false : true); - }; - - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Dropdown"], { - renderToggle: function renderToggle(_ref) { - var isOpen = _ref.isOpen, - onToggle = _ref.onToggle; - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], { - icon: isNavigationTool ? selectIcon : editIcon, - "aria-expanded": isOpen, - onClick: onToggle, - label: Object(external_this_wp_i18n_["__"])('Tools') - }); - }, - renderContent: function renderContent() { - return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["NavigableMenu"], { - role: "menu", - "aria-label": Object(external_this_wp_i18n_["__"])('Tools') - }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuItemsChoice"], { - value: isNavigationTool ? 'select' : 'edit', - onSelect: onSwitchMode, - choices: [{ - value: 'edit', - label: Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, editIcon, Object(external_this_wp_i18n_["__"])('Edit')) - }, { - value: 'select', - label: Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, selectIcon, Object(external_this_wp_i18n_["__"])('Select')) - }] - })), Object(external_this_wp_element_["createElement"])("div", { - className: "block-editor-tool-selector__help" - }, Object(external_this_wp_i18n_["__"])('Tools offer different interactions for block selection & editing. To select, press Escape, to go back to editing, press Enter.'))); - } - }); -} - -/* harmony default export */ var tool_selector = (ToolSelector); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/url-input/button.js - - - - - - - - -/** - * External dependencies - */ - -/** - * WordPress dependencies - */ - - - - -/** - * Internal dependencies - */ - - - -var button_URLInputButton = -/*#__PURE__*/ -function (_Component) { - Object(inherits["a" /* default */])(URLInputButton, _Component); - - function URLInputButton() { - var _this; - - Object(classCallCheck["a" /* default */])(this, URLInputButton); - - _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(URLInputButton).apply(this, arguments)); - _this.toggle = _this.toggle.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.submitLink = _this.submitLink.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.state = { - expanded: false - }; - return _this; - } - - Object(createClass["a" /* default */])(URLInputButton, [{ - key: "toggle", - value: function toggle() { - this.setState({ - expanded: !this.state.expanded - }); - } - }, { - key: "submitLink", - value: function submitLink(event) { - event.preventDefault(); - this.toggle(); - } - }, { - key: "render", - value: function render() { - var _this$props = this.props, - url = _this$props.url, - onChange = _this$props.onChange; - var expanded = this.state.expanded; - var buttonLabel = url ? Object(external_this_wp_i18n_["__"])('Edit link') : Object(external_this_wp_i18n_["__"])('Insert link'); - return Object(external_this_wp_element_["createElement"])("div", { - className: "editor-url-input__button block-editor-url-input__button" - }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], { - icon: "admin-links", - label: buttonLabel, - onClick: this.toggle, - className: classnames_default()('components-toolbar__control', { - 'is-active': url - }) - }), expanded && Object(external_this_wp_element_["createElement"])("form", { - className: "editor-url-input__button-modal block-editor-url-input__button-modal", - onSubmit: this.submitLink - }, Object(external_this_wp_element_["createElement"])("div", { - className: "editor-url-input__button-modal-line block-editor-url-input__button-modal-line" - }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], { - className: "editor-url-input__back block-editor-url-input__back", - icon: "arrow-left-alt", - label: Object(external_this_wp_i18n_["__"])('Close'), - onClick: this.toggle - }), Object(external_this_wp_element_["createElement"])(url_input, { - value: url || '', - onChange: onChange - }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], { - icon: "editor-break", - label: Object(external_this_wp_i18n_["__"])('Submit'), - type: "submit" - })))); - } - }]); - - return URLInputButton; -}(external_this_wp_element_["Component"]); -/** - * @see https://github.com/WordPress/gutenberg/blob/master/packages/block-editor/src/components/url-input/README.md - */ - - -/* harmony default export */ var url_input_button = (button_URLInputButton); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-settings-menu/block-settings-menu-first-item.js -/** - * WordPress dependencies - */ - - -var block_settings_menu_first_item_createSlotFill = Object(external_this_wp_components_["createSlotFill"])('__experimentalBlockSettingsMenuFirstItem'), - __experimentalBlockSettingsMenuFirstItem = block_settings_menu_first_item_createSlotFill.Fill, - block_settings_menu_first_item_Slot = block_settings_menu_first_item_createSlotFill.Slot; - -__experimentalBlockSettingsMenuFirstItem.Slot = block_settings_menu_first_item_Slot; -/* harmony default export */ var block_settings_menu_first_item = (__experimentalBlockSettingsMenuFirstItem); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-settings-menu/block-settings-menu-plugins-extension.js -/** - * WordPress dependencies - */ - - -var block_settings_menu_plugins_extension_createSlotFill = Object(external_this_wp_components_["createSlotFill"])('__experimentalBlockSettingsMenuPluginsExtension'), - __experimentalBlockSettingsMenuPluginsExtension = block_settings_menu_plugins_extension_createSlotFill.Fill, - block_settings_menu_plugins_extension_Slot = block_settings_menu_plugins_extension_createSlotFill.Slot; - -__experimentalBlockSettingsMenuPluginsExtension.Slot = block_settings_menu_plugins_extension_Slot; -/* harmony default export */ var block_settings_menu_plugins_extension = (__experimentalBlockSettingsMenuPluginsExtension); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/page-template-picker/button.js - - -/** - * WordPress dependencies - */ - - -var button_PickerButton = function PickerButton(props) { - var label = props.label, - onPress = props.onPress; - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { - onClick: onPress - }, label); -}; - -/* harmony default export */ var page_template_picker_button = (button_PickerButton); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/page-template-picker/container.js - - -var container_Container = function Container(_ref) { - var children = _ref.children; - return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, children); -}; - -/* harmony default export */ var container = (container_Container); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/page-template-picker/default-templates.js -var defaultTemplates = [{ - name: 'About', - content: '

Visitors will want to know who is on the other side of the page. Use this space to write about yourself, your site, your business, or anything you want. Use the testimonials below to quote others, talking about the same thing – in their own words.

' -}, { - name: 'Contact', - content: '

Let\'s talk 👋 Don\'t hesitate to reach out with the contact information below, or send a message using the form.

' -}]; -/* harmony default export */ var default_templates = (defaultTemplates); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/page-template-picker/picker.js - - -/** - * WordPress dependencies - */ - - -/** - * Internal dependencies - */ - - - - - - -var picker_experimentalPageTemplatePicker = function __experimentalPageTemplatePicker(_ref) { - var _ref$templates = _ref.templates, - templates = _ref$templates === void 0 ? default_templates : _ref$templates, - resetContent = _ref.resetContent; - return Object(external_this_wp_element_["createElement"])(block_list_footer, null, Object(external_this_wp_element_["createElement"])(container, { - style: { - flexDirection: 'row' - } - }, templates.map(function (_ref2) { - var name = _ref2.name, - content = _ref2.content; - return Object(external_this_wp_element_["createElement"])(page_template_picker_button, { - key: name, - onPress: function onPress() { - return resetContent(content); - }, - label: name - }); - }))); -}; - -/* harmony default export */ var picker = (Object(external_this_wp_data_["withDispatch"])(function (dispatch) { - var _dispatch = dispatch('core/editor'), - resetEditorBlocks = _dispatch.resetEditorBlocks; - - return { - resetContent: function resetContent(html) { - var blocks = Object(external_this_wp_blocks_["parse"])(html); - return resetEditorBlocks(blocks); - } - }; -})(picker_experimentalPageTemplatePicker)); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/page-template-picker/use-page-template-picker-visible.js -/** - * WordPress dependencies - */ - - - -var use_page_template_picker_visible_experimentalUsePageTemplatePickerVisible = function __experimentalUsePageTemplatePickerVisible() { - return Object(external_this_wp_data_["useSelect"])(function (select) { - var _select = select('core/editor'), - getCurrentPostType = _select.getCurrentPostType; - - var _select2 = select('core/block-editor'), - getBlockOrder = _select2.getBlockOrder, - getBlock = _select2.getBlock, - getSettings = _select2.getSettings; - - var isPageTemplatesEnabled = getSettings().__experimentalEnablePageTemplates; - - var blocks = getBlockOrder(); - var isEmptyBlockList = blocks.length === 0; - var firstBlock = !isEmptyBlockList && getBlock(blocks[0]); - var isOnlyUnmodifiedDefault = blocks.length === 1 && Object(external_this_wp_blocks_["isUnmodifiedDefaultBlock"])(firstBlock); - var isEmptyContent = isEmptyBlockList || isOnlyUnmodifiedDefault; - var isPage = getCurrentPostType() === 'page'; - return isPageTemplatesEnabled && isEmptyContent && isPage; - }); -}; - -/* harmony default export */ var use_page_template_picker_visible = (use_page_template_picker_visible_experimentalUsePageTemplatePickerVisible); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/page-template-picker/with-page-template-picker-visible.js - - - -/** - * WordPress dependencies - */ - -/** - * Internal dependencies - */ - - - -var __experimentalWithPageTemplatePickerVisible = Object(external_this_wp_compose_["createHigherOrderComponent"])(function (WrappedComponent) { - return function (props) { - var showPageTemplatePicker = use_page_template_picker_visible(); - - return Object(external_this_wp_element_["createElement"])(WrappedComponent, Object(esm_extends["a" /* default */])({}, props, { - showPageTemplatePicker: showPageTemplatePicker - })); - }; -}, '__experimentalWithPageTemplatePickerVisible'); - -/* harmony default export */ var with_page_template_picker_visible = (__experimentalWithPageTemplatePickerVisible); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/page-template-picker/index.js -/** - * Internal dependencies - */ - - - - - - - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-actions/index.js -/** - * External dependencies - */ - -/** - * WordPress dependencies - */ - - - - - -function BlockActions(_ref) { - var canDuplicate = _ref.canDuplicate, - canInsertDefaultBlock = _ref.canInsertDefaultBlock, - children = _ref.children, - isLocked = _ref.isLocked, - onDuplicate = _ref.onDuplicate, - onGroup = _ref.onGroup, - onInsertAfter = _ref.onInsertAfter, - onInsertBefore = _ref.onInsertBefore, - onRemove = _ref.onRemove, - onUngroup = _ref.onUngroup; - return children({ - canDuplicate: canDuplicate, - canInsertDefaultBlock: canInsertDefaultBlock, - isLocked: isLocked, - onDuplicate: onDuplicate, - onGroup: onGroup, - onInsertAfter: onInsertAfter, - onInsertBefore: onInsertBefore, - onRemove: onRemove, - onUngroup: onUngroup - }); -} - -/* harmony default export */ var block_actions = (Object(external_this_wp_compose_["compose"])([Object(external_this_wp_data_["withSelect"])(function (select, props) { - var _select = select('core/block-editor'), - canInsertBlockType = _select.canInsertBlockType, - getBlockRootClientId = _select.getBlockRootClientId, - getBlocksByClientId = _select.getBlocksByClientId, - getTemplateLock = _select.getTemplateLock; - - var _select2 = select('core/blocks'), - getDefaultBlockName = _select2.getDefaultBlockName; - - var blocks = getBlocksByClientId(props.clientIds); - var rootClientId = getBlockRootClientId(props.clientIds[0]); - var canDuplicate = Object(external_this_lodash_["every"])(blocks, function (block) { - return !!block && Object(external_this_wp_blocks_["hasBlockSupport"])(block.name, 'multiple', true) && canInsertBlockType(block.name, rootClientId); - }); - var canInsertDefaultBlock = canInsertBlockType(getDefaultBlockName(), rootClientId); - return { - blocks: blocks, - canDuplicate: canDuplicate, - canInsertDefaultBlock: canInsertDefaultBlock, - extraProps: props, - isLocked: !!getTemplateLock(rootClientId), - rootClientId: rootClientId - }; -}), Object(external_this_wp_data_["withDispatch"])(function (dispatch, props, _ref2) { - var select = _ref2.select; - var clientIds = props.clientIds, - rootClientId = props.rootClientId, - blocks = props.blocks, - isLocked = props.isLocked, - canDuplicate = props.canDuplicate; - - var _dispatch = dispatch('core/block-editor'), - insertBlocks = _dispatch.insertBlocks, - multiSelect = _dispatch.multiSelect, - removeBlocks = _dispatch.removeBlocks, - insertDefaultBlock = _dispatch.insertDefaultBlock, - replaceBlocks = _dispatch.replaceBlocks; - - return { - onDuplicate: function onDuplicate() { - if (!canDuplicate) { - return; - } - - var _select3 = select('core/block-editor'), - getBlockIndex = _select3.getBlockIndex; - - var lastSelectedIndex = getBlockIndex(Object(external_this_lodash_["last"])(Object(external_this_lodash_["castArray"])(clientIds)), rootClientId); - var clonedBlocks = blocks.map(function (block) { - return Object(external_this_wp_blocks_["cloneBlock"])(block); - }); - insertBlocks(clonedBlocks, lastSelectedIndex + 1, rootClientId); - - if (clonedBlocks.length > 1) { - multiSelect(Object(external_this_lodash_["first"])(clonedBlocks).clientId, Object(external_this_lodash_["last"])(clonedBlocks).clientId); - } - }, - onRemove: function onRemove() { - if (!isLocked) { - removeBlocks(clientIds); - } - }, - onInsertBefore: function onInsertBefore() { - if (!isLocked) { - var _select4 = select('core/block-editor'), - getBlockIndex = _select4.getBlockIndex; - - var firstSelectedIndex = getBlockIndex(Object(external_this_lodash_["first"])(Object(external_this_lodash_["castArray"])(clientIds)), rootClientId); - insertDefaultBlock({}, rootClientId, firstSelectedIndex); - } - }, - onInsertAfter: function onInsertAfter() { - if (!isLocked) { - var _select5 = select('core/block-editor'), - getBlockIndex = _select5.getBlockIndex; - - var lastSelectedIndex = getBlockIndex(Object(external_this_lodash_["last"])(Object(external_this_lodash_["castArray"])(clientIds)), rootClientId); - insertDefaultBlock({}, rootClientId, lastSelectedIndex + 1); - } - }, - onGroup: function onGroup() { - if (!blocks.length) { - return; - } - - var _select6 = select('core/blocks'), - getGroupingBlockName = _select6.getGroupingBlockName; - - var groupingBlockName = getGroupingBlockName(); // Activate the `transform` on `core/group` which does the conversion - - var newBlocks = Object(external_this_wp_blocks_["switchToBlockType"])(blocks, groupingBlockName); - - if (!newBlocks) { - return; - } - - replaceBlocks(clientIds, newBlocks); - }, - onUngroup: function onUngroup() { - if (!blocks.length) { - return; - } - - var innerBlocks = blocks[0].innerBlocks; - - if (!innerBlocks.length) { - return; - } - - replaceBlocks(clientIds, innerBlocks); - } - }; -})])(BlockActions)); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-editor-keyboard-shortcuts/index.js - - - - - - - - - -/** - * External dependencies - */ - -/** - * WordPress dependencies - */ - - - - - - -/** - * Internal dependencies - */ - - - -var preventDefault = function preventDefault(event) { - event.preventDefault(); - return event; -}; - -var shortcuts = { - duplicate: { - raw: external_this_wp_keycodes_["rawShortcut"].primaryShift('d'), - display: external_this_wp_keycodes_["displayShortcut"].primaryShift('d') - }, - removeBlock: { - raw: external_this_wp_keycodes_["rawShortcut"].access('z'), - display: external_this_wp_keycodes_["displayShortcut"].access('z') - }, - insertBefore: { - raw: external_this_wp_keycodes_["rawShortcut"].primaryAlt('t'), - display: external_this_wp_keycodes_["displayShortcut"].primaryAlt('t') - }, - insertAfter: { - raw: external_this_wp_keycodes_["rawShortcut"].primaryAlt('y'), - display: external_this_wp_keycodes_["displayShortcut"].primaryAlt('y') - } -}; - -var block_editor_keyboard_shortcuts_BlockEditorKeyboardShortcuts = -/*#__PURE__*/ -function (_Component) { - Object(inherits["a" /* default */])(BlockEditorKeyboardShortcuts, _Component); - - function BlockEditorKeyboardShortcuts() { - var _this; - - Object(classCallCheck["a" /* default */])(this, BlockEditorKeyboardShortcuts); - - _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(BlockEditorKeyboardShortcuts).apply(this, arguments)); - _this.selectAll = _this.selectAll.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.deleteSelectedBlocks = _this.deleteSelectedBlocks.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.clearMultiSelection = _this.clearMultiSelection.bind(Object(assertThisInitialized["a" /* default */])(_this)); - return _this; - } - - Object(createClass["a" /* default */])(BlockEditorKeyboardShortcuts, [{ - key: "selectAll", - value: function selectAll(event) { - var _this$props = this.props, - rootBlocksClientIds = _this$props.rootBlocksClientIds, - onMultiSelect = _this$props.onMultiSelect; - event.preventDefault(); - onMultiSelect(Object(external_this_lodash_["first"])(rootBlocksClientIds), Object(external_this_lodash_["last"])(rootBlocksClientIds)); - } - }, { - key: "deleteSelectedBlocks", - value: function deleteSelectedBlocks(event) { - var _this$props2 = this.props, - selectedBlockClientIds = _this$props2.selectedBlockClientIds, - hasMultiSelection = _this$props2.hasMultiSelection, - onRemove = _this$props2.onRemove, - isLocked = _this$props2.isLocked; - - if (hasMultiSelection) { - event.preventDefault(); - - if (!isLocked) { - onRemove(selectedBlockClientIds); - } - } - } - /** - * Clears current multi-selection, if one exists. - */ - - }, { - key: "clearMultiSelection", - value: function clearMultiSelection() { - var _this$props3 = this.props, - hasMultiSelection = _this$props3.hasMultiSelection, - clearSelectedBlock = _this$props3.clearSelectedBlock; - - if (hasMultiSelection) { - clearSelectedBlock(); - window.getSelection().removeAllRanges(); - } - } - }, { - key: "render", - value: function render() { - var _ref; - - var selectedBlockClientIds = this.props.selectedBlockClientIds; - return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["KeyboardShortcuts"], { - shortcuts: (_ref = {}, Object(defineProperty["a" /* default */])(_ref, external_this_wp_keycodes_["rawShortcut"].primary('a'), this.selectAll), Object(defineProperty["a" /* default */])(_ref, "backspace", this.deleteSelectedBlocks), Object(defineProperty["a" /* default */])(_ref, "del", this.deleteSelectedBlocks), Object(defineProperty["a" /* default */])(_ref, "escape", this.clearMultiSelection), _ref) - }), selectedBlockClientIds.length > 0 && Object(external_this_wp_element_["createElement"])(block_actions, { - clientIds: selectedBlockClientIds - }, function (_ref2) { - var _ref3; - - var onDuplicate = _ref2.onDuplicate, - onRemove = _ref2.onRemove, - onInsertAfter = _ref2.onInsertAfter, - onInsertBefore = _ref2.onInsertBefore; - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["KeyboardShortcuts"], { - bindGlobal: true, - shortcuts: (_ref3 = {}, Object(defineProperty["a" /* default */])(_ref3, shortcuts.duplicate.raw, Object(external_this_lodash_["flow"])(preventDefault, onDuplicate)), Object(defineProperty["a" /* default */])(_ref3, shortcuts.removeBlock.raw, Object(external_this_lodash_["flow"])(preventDefault, onRemove)), Object(defineProperty["a" /* default */])(_ref3, shortcuts.insertBefore.raw, Object(external_this_lodash_["flow"])(preventDefault, onInsertBefore)), Object(defineProperty["a" /* default */])(_ref3, shortcuts.insertAfter.raw, Object(external_this_lodash_["flow"])(preventDefault, onInsertAfter)), _ref3) - }); - })); - } - }]); - - return BlockEditorKeyboardShortcuts; -}(external_this_wp_element_["Component"]); - -/* harmony default export */ var block_editor_keyboard_shortcuts = (Object(external_this_wp_compose_["compose"])([Object(external_this_wp_data_["withSelect"])(function (select) { - var _select = select('core/block-editor'), - getBlockOrder = _select.getBlockOrder, - getSelectedBlockClientIds = _select.getSelectedBlockClientIds, - hasMultiSelection = _select.hasMultiSelection, - getBlockRootClientId = _select.getBlockRootClientId, - getTemplateLock = _select.getTemplateLock; - - var selectedBlockClientIds = getSelectedBlockClientIds(); - return { - rootBlocksClientIds: getBlockOrder(), - hasMultiSelection: hasMultiSelection(), - isLocked: Object(external_this_lodash_["some"])(selectedBlockClientIds, function (clientId) { - return !!getTemplateLock(getBlockRootClientId(clientId)); - }), - selectedBlockClientIds: selectedBlockClientIds - }; -}), Object(external_this_wp_data_["withDispatch"])(function (dispatch) { - var _dispatch = dispatch('core/block-editor'), - clearSelectedBlock = _dispatch.clearSelectedBlock, - multiSelect = _dispatch.multiSelect, - removeBlocks = _dispatch.removeBlocks; - - return { - clearSelectedBlock: clearSelectedBlock, - onMultiSelect: multiSelect, - onRemove: removeBlocks - }; -})])(block_editor_keyboard_shortcuts_BlockEditorKeyboardShortcuts)); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/skip-to-selected-block/index.js - - -/** - * WordPress dependencies - */ - - - -/** - * Internal dependencies - */ - - - -var skip_to_selected_block_SkipToSelectedBlock = function SkipToSelectedBlock(_ref) { - var selectedBlockClientId = _ref.selectedBlockClientId; - - var onClick = function onClick() { - var selectedBlockElement = getBlockFocusableWrapper(selectedBlockClientId); - selectedBlockElement.focus(); - }; - - return selectedBlockClientId && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { - isDefault: true, - className: "editor-skip-to-selected-block block-editor-skip-to-selected-block", - onClick: onClick - }, Object(external_this_wp_i18n_["__"])('Skip to the selected block')); -}; - -/* harmony default export */ var skip_to_selected_block = (Object(external_this_wp_data_["withSelect"])(function (select) { - return { - selectedBlockClientId: select('core/block-editor').getBlockSelectionStart() - }; -})(skip_to_selected_block_SkipToSelectedBlock)); - -// EXTERNAL MODULE: external {"this":["wp","tokenList"]} -var external_this_wp_tokenList_ = __webpack_require__(144); -var external_this_wp_tokenList_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_tokenList_); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-styles/index.js - - - - -/** - * External dependencies - */ - - -/** - * WordPress dependencies - */ - - - - - - - -/** - * Internal dependencies - */ - - -/** - * Returns the active style from the given className. - * - * @param {Array} styles Block style variations. - * @param {string} className Class name - * - * @return {Object?} The active style. - */ - -function getActiveStyle(styles, className) { - var _iteratorNormalCompletion = true; - var _didIteratorError = false; - var _iteratorError = undefined; - - try { - for (var _iterator = new external_this_wp_tokenList_default.a(className).values()[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) { - var style = _step.value; - - if (style.indexOf('is-style-') === -1) { - continue; - } - - var potentialStyleName = style.substring(9); - var activeStyle = Object(external_this_lodash_["find"])(styles, { - name: potentialStyleName - }); - - if (activeStyle) { - return activeStyle; - } - } - } catch (err) { - _didIteratorError = true; - _iteratorError = err; - } finally { - try { - if (!_iteratorNormalCompletion && _iterator.return != null) { - _iterator.return(); - } - } finally { - if (_didIteratorError) { - throw _iteratorError; - } - } - } - - return Object(external_this_lodash_["find"])(styles, 'isDefault'); -} -/** - * Replaces the active style in the block's className. - * - * @param {string} className Class name. - * @param {Object?} activeStyle The replaced style. - * @param {Object} newStyle The replacing style. - * - * @return {string} The updated className. - */ - -function replaceActiveStyle(className, activeStyle, newStyle) { - var list = new external_this_wp_tokenList_default.a(className); - - if (activeStyle) { - list.remove('is-style-' + activeStyle.name); - } - - list.add('is-style-' + newStyle.name); - return list.value; -} - -function BlockStyles(_ref) { - var styles = _ref.styles, - className = _ref.className, - onChangeClassName = _ref.onChangeClassName, - type = _ref.type, - block = _ref.block, - _ref$onSwitch = _ref.onSwitch, - onSwitch = _ref$onSwitch === void 0 ? external_this_lodash_["noop"] : _ref$onSwitch, - _ref$onHoverClassName = _ref.onHoverClassName, - onHoverClassName = _ref$onHoverClassName === void 0 ? external_this_lodash_["noop"] : _ref$onHoverClassName; - - if (!styles || styles.length === 0) { - return null; - } - - if (!type.styles && !Object(external_this_lodash_["find"])(styles, 'isDefault')) { - styles = [{ - name: 'default', - label: Object(external_this_wp_i18n_["_x"])('Default', 'block style'), - isDefault: true - }].concat(Object(toConsumableArray["a" /* default */])(styles)); - } - - var activeStyle = getActiveStyle(styles, className); - - function updateClassName(style) { - var updatedClassName = replaceActiveStyle(className, activeStyle, style); - onChangeClassName(updatedClassName); - onHoverClassName(null); - onSwitch(); - } - - return Object(external_this_wp_element_["createElement"])("div", { - className: "editor-block-styles block-editor-block-styles" - }, styles.map(function (style) { - var styleClassName = replaceActiveStyle(className, activeStyle, style); - return Object(external_this_wp_element_["createElement"])("div", { - key: style.name, - className: classnames_default()('editor-block-styles__item block-editor-block-styles__item', { - 'is-active': activeStyle === style - }), - onClick: function onClick() { - return updateClassName(style); - }, - onKeyDown: function onKeyDown(event) { - if (external_this_wp_keycodes_["ENTER"] === event.keyCode || external_this_wp_keycodes_["SPACE"] === event.keyCode) { - event.preventDefault(); - updateClassName(style); - } - }, - onMouseEnter: function onMouseEnter() { - return onHoverClassName(styleClassName); - }, - onMouseLeave: function onMouseLeave() { - return onHoverClassName(null); - }, - role: "button", - tabIndex: "0", - "aria-label": style.label || style.name - }, Object(external_this_wp_element_["createElement"])("div", { - className: "editor-block-styles__item-preview block-editor-block-styles__item-preview" - }, Object(external_this_wp_element_["createElement"])(block_preview, { - viewportWidth: 500, - blocks: type.example ? Object(external_this_wp_blocks_["getBlockFromExample"])(block.name, { - attributes: Object(objectSpread["a" /* default */])({}, type.example.attributes, { - className: styleClassName - }), - innerBlocks: type.example.innerBlocks - }) : Object(external_this_wp_blocks_["cloneBlock"])(block, { - className: styleClassName - }) - })), Object(external_this_wp_element_["createElement"])("div", { - className: "editor-block-styles__item-label block-editor-block-styles__item-label" - }, style.label || style.name)); - })); -} - -/* harmony default export */ var block_styles = (Object(external_this_wp_compose_["compose"])([Object(external_this_wp_data_["withSelect"])(function (select, _ref2) { - var clientId = _ref2.clientId; - - var _select = select('core/block-editor'), - getBlock = _select.getBlock; - - var _select2 = select('core/blocks'), - getBlockStyles = _select2.getBlockStyles; - - var block = getBlock(clientId); - var blockType = Object(external_this_wp_blocks_["getBlockType"])(block.name); - return { - block: block, - className: block.attributes.className || '', - styles: getBlockStyles(block.name), - type: blockType - }; -}), Object(external_this_wp_data_["withDispatch"])(function (dispatch, _ref3) { - var clientId = _ref3.clientId; - return { - onChangeClassName: function onChangeClassName(newClassName) { - dispatch('core/block-editor').updateBlockAttributes(clientId, { - className: newClassName - }); - } - }; -})])(BlockStyles)); - -// EXTERNAL MODULE: external {"this":["wp","wordcount"]} -var external_this_wp_wordcount_ = __webpack_require__(96); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/multi-selection-inspector/index.js - - -/** - * WordPress dependencies - */ - - - - - -/** - * Internal dependencies - */ - - - -function MultiSelectionInspector(_ref) { - var blocks = _ref.blocks; - var words = Object(external_this_wp_wordcount_["count"])(Object(external_this_wp_blocks_["serialize"])(blocks), 'words'); - return Object(external_this_wp_element_["createElement"])("div", { - className: "editor-multi-selection-inspector__card block-editor-multi-selection-inspector__card" - }, Object(external_this_wp_element_["createElement"])(BlockIcon, { - icon: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { - xmlns: "http://www.w3.org/2000/svg", - viewBox: "0 0 24 24" - }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { - d: "M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm18-4H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z" - })), - showColors: true - }), Object(external_this_wp_element_["createElement"])("div", { - className: "editor-multi-selection-inspector__card-content block-editor-multi-selection-inspector__card-content" - }, Object(external_this_wp_element_["createElement"])("div", { - className: "editor-multi-selection-inspector__card-title block-editor-multi-selection-inspector__card-title" - }, - /* translators: %d: number of blocks */ - Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["_n"])('%d block', '%d blocks', blocks.length), blocks.length)), Object(external_this_wp_element_["createElement"])("div", { - className: "editor-multi-selection-inspector__card-description block-editor-multi-selection-inspector__card-description" - }, - /* translators: %d: number of words */ - Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["_n"])('%d word', '%d words', words), words)))); -} - -/* harmony default export */ var multi_selection_inspector = (Object(external_this_wp_data_["withSelect"])(function (select) { - var _select = select('core/block-editor'), - getMultiSelectedBlocks = _select.getMultiSelectedBlocks; - - return { - blocks: getMultiSelectedBlocks() - }; -})(MultiSelectionInspector)); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/default-style-picker/index.js - - - -/** - * External dependencies - */ - -/** - * WordPress dependencies - */ - - - - - -function DefaultStylePicker(_ref) { - var blockName = _ref.blockName; - - var _useSelect = Object(external_this_wp_data_["useSelect"])(function (select) { - var settings = select('core/block-editor').getSettings(); - var preferredStyleVariations = settings.__experimentalPreferredStyleVariations; - return { - preferredStyle: Object(external_this_lodash_["get"])(preferredStyleVariations, ['value', blockName]), - onUpdatePreferredStyleVariations: Object(external_this_lodash_["get"])(preferredStyleVariations, ['onChange'], null), - styles: select('core/blocks').getBlockStyles(blockName) - }; - }, [blockName]), - preferredStyle = _useSelect.preferredStyle, - onUpdatePreferredStyleVariations = _useSelect.onUpdatePreferredStyleVariations, - styles = _useSelect.styles; - - var selectOptions = Object(external_this_wp_element_["useMemo"])(function () { - return [{ - label: Object(external_this_wp_i18n_["__"])('Not set'), - value: '' - }].concat(Object(toConsumableArray["a" /* default */])(styles.map(function (_ref2) { - var label = _ref2.label, - name = _ref2.name; - return { - label: label, - value: name - }; - }))); - }, [styles]); - var selectOnChange = Object(external_this_wp_element_["useCallback"])(function (blockStyle) { - onUpdatePreferredStyleVariations(blockName, blockStyle); - }, [blockName, onUpdatePreferredStyleVariations]); - return onUpdatePreferredStyleVariations && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SelectControl"], { - options: selectOptions, - value: preferredStyle || '', - label: Object(external_this_wp_i18n_["__"])('Default Style'), - onChange: selectOnChange - }); -} - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-inspector/index.js - - -/** - * WordPress dependencies - */ - - - - -/** - * Internal dependencies - */ - - - - - - - - - -var block_inspector_BlockInspector = function BlockInspector(_ref) { - var blockType = _ref.blockType, - count = _ref.count, - hasBlockStyles = _ref.hasBlockStyles, - selectedBlockClientId = _ref.selectedBlockClientId, - selectedBlockName = _ref.selectedBlockName, - _ref$showNoBlockSelec = _ref.showNoBlockSelectedMessage, - showNoBlockSelectedMessage = _ref$showNoBlockSelec === void 0 ? true : _ref$showNoBlockSelec; - - if (count > 1) { - return Object(external_this_wp_element_["createElement"])(multi_selection_inspector, null); - } - - var isSelectedBlockUnregistered = selectedBlockName === Object(external_this_wp_blocks_["getUnregisteredTypeHandlerName"])(); - /* - * If the selected block is of an unregistered type, avoid showing it as an actual selection - * because we want the user to focus on the unregistered block warning, not block settings. - */ - - if (!blockType || !selectedBlockClientId || isSelectedBlockUnregistered) { - if (showNoBlockSelectedMessage) { - return Object(external_this_wp_element_["createElement"])("span", { - className: "editor-block-inspector__no-blocks block-editor-block-inspector__no-blocks" - }, Object(external_this_wp_i18n_["__"])('No block selected.')); - } - - return null; - } - - return Object(external_this_wp_element_["createElement"])("div", { - className: "block-editor-block-inspector" - }, Object(external_this_wp_element_["createElement"])(block_card, { - blockType: blockType - }), hasBlockStyles && Object(external_this_wp_element_["createElement"])("div", null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], { - title: Object(external_this_wp_i18n_["__"])('Styles'), - initialOpen: false - }, Object(external_this_wp_element_["createElement"])(block_styles, { - clientId: selectedBlockClientId - }), Object(external_this_wp_element_["createElement"])(DefaultStylePicker, { - blockName: blockType.name - }))), Object(external_this_wp_element_["createElement"])(inspector_controls.Slot, { - bubblesVirtually: true - }), Object(external_this_wp_element_["createElement"])("div", null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["__experimentalSlotFillConsumer"], null, function (_ref2) { - var hasFills = _ref2.hasFills; - return hasFills(inspector_advanced_controls.slotName) && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], { - className: "editor-block-inspector__advanced block-editor-block-inspector__advanced", - title: Object(external_this_wp_i18n_["__"])('Advanced'), - initialOpen: false - }, Object(external_this_wp_element_["createElement"])(inspector_advanced_controls.Slot, { - bubblesVirtually: true - })); - })), Object(external_this_wp_element_["createElement"])(skip_to_selected_block, { - key: "back" - })); -}; - -/* harmony default export */ var block_inspector = (Object(external_this_wp_data_["withSelect"])(function (select) { - var _select = select('core/block-editor'), - getSelectedBlockClientId = _select.getSelectedBlockClientId, - getSelectedBlockCount = _select.getSelectedBlockCount, - getBlockName = _select.getBlockName; - - var _select2 = select('core/blocks'), - getBlockStyles = _select2.getBlockStyles; - - var selectedBlockClientId = getSelectedBlockClientId(); - var selectedBlockName = selectedBlockClientId && getBlockName(selectedBlockClientId); - var blockType = selectedBlockClientId && Object(external_this_wp_blocks_["getBlockType"])(selectedBlockName); - var blockStyles = selectedBlockClientId && getBlockStyles(selectedBlockName); - return { - count: getSelectedBlockCount(), - hasBlockStyles: blockStyles && blockStyles.length > 0, - selectedBlockName: selectedBlockName, - selectedBlockClientId: selectedBlockClientId, - blockType: blockType - }; -})(block_inspector_BlockInspector)); - // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-selection-clearer/index.js @@ -20884,6 +21461,126 @@ function (_Component) { }; })])(block_selection_clearer_BlockSelectionClearer)); +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-actions/index.js +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + + + + +function BlockActions(_ref) { + var canDuplicate = _ref.canDuplicate, + canInsertDefaultBlock = _ref.canInsertDefaultBlock, + children = _ref.children, + isLocked = _ref.isLocked, + onDuplicate = _ref.onDuplicate, + onGroup = _ref.onGroup, + onInsertAfter = _ref.onInsertAfter, + onInsertBefore = _ref.onInsertBefore, + onRemove = _ref.onRemove, + onUngroup = _ref.onUngroup; + return children({ + canDuplicate: canDuplicate, + canInsertDefaultBlock: canInsertDefaultBlock, + isLocked: isLocked, + onDuplicate: onDuplicate, + onGroup: onGroup, + onInsertAfter: onInsertAfter, + onInsertBefore: onInsertBefore, + onRemove: onRemove, + onUngroup: onUngroup + }); +} + +/* harmony default export */ var block_actions = (Object(external_this_wp_compose_["compose"])([Object(external_this_wp_data_["withSelect"])(function (select, props) { + var _select = select('core/block-editor'), + canInsertBlockType = _select.canInsertBlockType, + getBlockRootClientId = _select.getBlockRootClientId, + getBlocksByClientId = _select.getBlocksByClientId, + getTemplateLock = _select.getTemplateLock; + + var _select2 = select('core/blocks'), + getDefaultBlockName = _select2.getDefaultBlockName; + + var blocks = getBlocksByClientId(props.clientIds); + var rootClientId = getBlockRootClientId(props.clientIds[0]); + var canDuplicate = Object(external_this_lodash_["every"])(blocks, function (block) { + return !!block && Object(external_this_wp_blocks_["hasBlockSupport"])(block.name, 'multiple', true) && canInsertBlockType(block.name, rootClientId); + }); + var canInsertDefaultBlock = canInsertBlockType(getDefaultBlockName(), rootClientId); + return { + blocks: blocks, + canDuplicate: canDuplicate, + canInsertDefaultBlock: canInsertDefaultBlock, + extraProps: props, + isLocked: !!getTemplateLock(rootClientId), + rootClientId: rootClientId + }; +}), Object(external_this_wp_data_["withDispatch"])(function (dispatch, props, _ref2) { + var select = _ref2.select; + var clientIds = props.clientIds, + blocks = props.blocks; + + var _dispatch = dispatch('core/block-editor'), + removeBlocks = _dispatch.removeBlocks, + replaceBlocks = _dispatch.replaceBlocks, + duplicateBlocks = _dispatch.duplicateBlocks, + insertAfterBlock = _dispatch.insertAfterBlock, + insertBeforeBlock = _dispatch.insertBeforeBlock; + + return { + onDuplicate: function onDuplicate() { + return duplicateBlocks(clientIds); + }, + onRemove: function onRemove() { + removeBlocks(clientIds); + }, + onInsertBefore: function onInsertBefore() { + insertBeforeBlock(Object(external_this_lodash_["first"])(Object(external_this_lodash_["castArray"])(clientIds))); + }, + onInsertAfter: function onInsertAfter() { + insertAfterBlock(Object(external_this_lodash_["last"])(Object(external_this_lodash_["castArray"])(clientIds))); + }, + onGroup: function onGroup() { + if (!blocks.length) { + return; + } + + var _select3 = select('core/blocks'), + getGroupingBlockName = _select3.getGroupingBlockName; + + var groupingBlockName = getGroupingBlockName(); // Activate the `transform` on `core/group` which does the conversion + + var newBlocks = Object(external_this_wp_blocks_["switchToBlockType"])(blocks, groupingBlockName); + + if (!newBlocks) { + return; + } + + replaceBlocks(clientIds, newBlocks); + }, + onUngroup: function onUngroup() { + if (!blocks.length) { + return; + } + + var innerBlocks = blocks[0].innerBlocks; + + if (!innerBlocks.length) { + return; + } + + replaceBlocks(clientIds, innerBlocks); + } + }; +})])(BlockActions)); + // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-settings-menu/block-mode-toggle.js @@ -20915,7 +21612,7 @@ function BlockModeToggle(_ref) { var label = mode === 'visual' ? Object(external_this_wp_i18n_["__"])('Edit as HTML') : Object(external_this_wp_i18n_["__"])('Edit visually'); return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuItem"], { - className: "editor-block-settings-menu__control block-editor-block-settings-menu__control", + className: "block-editor-block-settings-menu__control", onClick: onToggleMode, icon: "html" }, !small && label); @@ -20967,7 +21664,7 @@ function BlockConvertButton(_ref) { var label = Object(external_this_wp_i18n_["__"])('Convert to Blocks'); return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuItem"], { - className: "editor-block-settings-menu__control block-editor-block-settings-menu__control", + className: "block-editor-block-settings-menu__control", onClick: onClick, icon: "screenoptions" }, !small && label); @@ -21046,6 +21743,7 @@ function BlockConvertButton(_ref) { + /** * Internal dependencies */ @@ -21056,9 +21754,8 @@ function BlockConvertButton(_ref) { - var block_settings_menu_POPOVER_PROPS = { - className: 'block-editor-block-settings-menu__popover editor-block-settings-menu__popover', + className: 'block-editor-block-settings-menu__popover', position: 'bottom right' }; function BlockSettingsMenu(_ref) { @@ -21066,6 +21763,17 @@ function BlockSettingsMenu(_ref) { var blockClientIds = Object(external_this_lodash_["castArray"])(clientIds); var count = blockClientIds.length; var firstBlockClientId = blockClientIds[0]; + var shortcuts = Object(external_this_wp_data_["useSelect"])(function (select) { + var _select = select('core/keyboard-shortcuts'), + getShortcutRepresentation = _select.getShortcutRepresentation; + + return { + duplicate: getShortcutRepresentation('core/block-editor/duplicate'), + remove: getShortcutRepresentation('core/block-editor/remove'), + insertAfter: getShortcutRepresentation('core/block-editor/insert-after'), + insertBefore: getShortcutRepresentation('core/block-editor/insert-before') + }; + }, []); return Object(external_this_wp_element_["createElement"])(block_actions, { clientIds: clientIds }, function (_ref2) { @@ -21092,20 +21800,20 @@ function BlockSettingsMenu(_ref) { }), count === 1 && Object(external_this_wp_element_["createElement"])(block_html_convert_button, { clientId: firstBlockClientId }), canDuplicate && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuItem"], { - className: "editor-block-settings-menu__control block-editor-block-settings-menu__control", + className: "block-editor-block-settings-menu__control", onClick: Object(external_this_lodash_["flow"])(onClose, onDuplicate), icon: "admin-page", - shortcut: shortcuts.duplicate.display + shortcut: shortcuts.duplicate }, Object(external_this_wp_i18n_["__"])('Duplicate')), canInsertDefaultBlock && Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuItem"], { - className: "editor-block-settings-menu__control block-editor-block-settings-menu__control", + className: "block-editor-block-settings-menu__control", onClick: Object(external_this_lodash_["flow"])(onClose, onInsertBefore), icon: "insert-before", - shortcut: shortcuts.insertBefore.display + shortcut: shortcuts.insertBefore }, Object(external_this_wp_i18n_["__"])('Insert Before')), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuItem"], { - className: "editor-block-settings-menu__control block-editor-block-settings-menu__control", + className: "block-editor-block-settings-menu__control", onClick: Object(external_this_lodash_["flow"])(onClose, onInsertAfter), icon: "insert-after", - shortcut: shortcuts.insertAfter.display + shortcut: shortcuts.insertAfter }, Object(external_this_wp_i18n_["__"])('Insert After'))), count === 1 && Object(external_this_wp_element_["createElement"])(block_mode_toggle, { clientId: firstBlockClientId, onToggle: onClose @@ -21115,48 +21823,16 @@ function BlockSettingsMenu(_ref) { onClose: onClose } })), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuGroup"], null, !isLocked && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuItem"], { - className: "editor-block-settings-menu__control block-editor-block-settings-menu__control", + className: "block-editor-block-settings-menu__control", onClick: Object(external_this_lodash_["flow"])(onClose, onRemove), icon: "trash", - shortcut: shortcuts.removeBlock.display + shortcut: shortcuts.remove }, Object(external_this_wp_i18n_["_n"])('Remove Block', 'Remove Blocks', count)))); })); }); } /* harmony default export */ var block_settings_menu = (BlockSettingsMenu); -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-mobile-toolbar/index.js - - -/** - * WordPress dependencies - */ - -/** - * Internal dependencies - */ - - - -function BlockMobileToolbar(_ref) { - var clientId = _ref.clientId, - moverDirection = _ref.moverDirection; - var isMobile = Object(external_this_wp_compose_["useViewportMatch"])('small', '<'); - - if (!isMobile) { - return null; - } - - return Object(external_this_wp_element_["createElement"])("div", { - className: "block-editor-block-mobile-toolbar" - }, Object(external_this_wp_element_["createElement"])(block_mover, { - clientIds: [clientId], - __experimentalOrientation: moverDirection - })); -} - -/* harmony default export */ var block_mobile_toolbar = (BlockMobileToolbar); - // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-switcher/index.js @@ -21256,9 +21932,9 @@ function (_Component) { } if (!hasBlockStyles && !possibleBlockTransformations.length) { - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Toolbar"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], { + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Toolbar"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { disabled: true, - className: "editor-block-switcher__no-switcher-icon block-editor-block-switcher__no-switcher-icon", + className: "block-editor-block-switcher__no-switcher-icon", label: Object(external_this_wp_i18n_["__"])('Block icon'), icon: Object(external_this_wp_element_["createElement"])(BlockIcon, { icon: icon, @@ -21269,8 +21945,8 @@ function (_Component) { return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Dropdown"], { position: "bottom right", - className: "editor-block-switcher block-editor-block-switcher", - contentClassName: "editor-block-switcher__popover block-editor-block-switcher__popover", + className: "block-editor-block-switcher", + contentClassName: "block-editor-block-switcher__popover", renderToggle: function renderToggle(_ref2) { var onToggle = _ref2.onToggle, isOpen = _ref2.isOpen; @@ -21284,19 +21960,19 @@ function (_Component) { }; var label = 1 === blocks.length ? Object(external_this_wp_i18n_["__"])('Change block type or style') : Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["_n"])('Change type of %d block', 'Change type of %d blocks', blocks.length), blocks.length); - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Toolbar"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], { - className: "editor-block-switcher__toggle block-editor-block-switcher__toggle", + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Toolbar"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { + className: "block-editor-block-switcher__toggle", onClick: onToggle, "aria-haspopup": "true", "aria-expanded": isOpen, label: label, - tooltip: label, onKeyDown: openOnArrowDown, + showTooltip: true, icon: Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(BlockIcon, { icon: icon, showColors: true }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { - className: "editor-block-switcher__transform block-editor-block-switcher__transform", + className: "block-editor-block-switcher__transform", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { @@ -21430,7 +22106,11 @@ function MultiBlocksSwitcher(_ref) { -function BlockToolbar() { +function BlockToolbar(_ref) { + var moverDirection = _ref.moverDirection, + _ref$hasMovers = _ref.hasMovers, + hasMovers = _ref$hasMovers === void 0 ? true : _ref$hasMovers; + var _useSelect = Object(external_this_wp_data_["useSelect"])(function (select) { var _select = select('core/block-editor'), getBlockMode = _select.getBlockMode, @@ -21443,7 +22123,7 @@ function BlockToolbar() { isValid: selectedBlockClientIds.length === 1 ? isBlockValid(selectedBlockClientIds[0]) : null, mode: selectedBlockClientIds.length === 1 ? getBlockMode(selectedBlockClientIds[0]) : null }; - }), + }, []), blockClientIds = _useSelect.blockClientIds, isValid = _useSelect.isValid, mode = _useSelect.mode; @@ -21454,17 +22134,21 @@ function BlockToolbar() { if (blockClientIds.length > 1) { return Object(external_this_wp_element_["createElement"])("div", { - className: "editor-block-toolbar block-editor-block-toolbar" - }, Object(external_this_wp_element_["createElement"])(multi_blocks_switcher, null), Object(external_this_wp_element_["createElement"])(block_settings_menu, { + className: "block-editor-block-toolbar" + }, hasMovers && Object(external_this_wp_element_["createElement"])(block_mover, { + clientIds: blockClientIds, + __experimentalOrientation: moverDirection + }), Object(external_this_wp_element_["createElement"])(multi_blocks_switcher, null), Object(external_this_wp_element_["createElement"])(block_settings_menu, { clientIds: blockClientIds })); } return Object(external_this_wp_element_["createElement"])("div", { - className: "editor-block-toolbar block-editor-block-toolbar" - }, mode === 'visual' && isValid && Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, blockClientIds.length === 1 && Object(external_this_wp_element_["createElement"])(block_mobile_toolbar, { - clientId: blockClientIds[0] - }), Object(external_this_wp_element_["createElement"])(block_switcher, { + className: "block-editor-block-toolbar" + }, hasMovers && Object(external_this_wp_element_["createElement"])(block_mover, { + clientIds: blockClientIds, + __experimentalOrientation: moverDirection + }), mode === 'visual' && isValid && Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(block_switcher, { clientIds: blockClientIds }), Object(external_this_wp_element_["createElement"])(block_controls.Slot, { bubblesVirtually: true, @@ -21642,6 +22326,184 @@ function CopyHandler(_ref) { }; })])(CopyHandler)); +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/keyboard-shortcuts/index.js +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + + + + + +function KeyboardShortcuts() { + // Shortcuts Logic + var _useSelect = Object(external_this_wp_data_["useSelect"])(function (select) { + var _select = select('core/block-editor'), + getSelectedBlockClientIds = _select.getSelectedBlockClientIds, + getBlockOrder = _select.getBlockOrder; + + return { + clientIds: getSelectedBlockClientIds(), + rootBlocksClientIds: getBlockOrder() + }; + }, []), + clientIds = _useSelect.clientIds, + rootBlocksClientIds = _useSelect.rootBlocksClientIds; + + var _useDispatch = Object(external_this_wp_data_["useDispatch"])('core/block-editor'), + duplicateBlocks = _useDispatch.duplicateBlocks, + removeBlocks = _useDispatch.removeBlocks, + insertAfterBlock = _useDispatch.insertAfterBlock, + insertBeforeBlock = _useDispatch.insertBeforeBlock, + multiSelect = _useDispatch.multiSelect, + clearSelectedBlock = _useDispatch.clearSelectedBlock; // Prevents bookmark all Tabs shortcut in Chrome when devtools are closed. + // Prevents reposition Chrome devtools pane shortcut when devtools are open. + + + Object(external_this_wp_keyboardShortcuts_["useShortcut"])('core/block-editor/duplicate', Object(external_this_wp_element_["useCallback"])(function (event) { + event.preventDefault(); + duplicateBlocks(clientIds); + }, [clientIds, duplicateBlocks]), { + bindGlobal: true, + isDisabled: clientIds.length === 0 + }); // Does not clash with any known browser/native shortcuts, but preventDefault + // is used to prevent any obscure unknown shortcuts from triggering. + + Object(external_this_wp_keyboardShortcuts_["useShortcut"])('core/block-editor/remove', Object(external_this_wp_element_["useCallback"])(function (event) { + event.preventDefault(); + removeBlocks(clientIds); + }, [clientIds, removeBlocks]), { + bindGlobal: true, + isDisabled: clientIds.length === 0 + }); // Does not clash with any known browser/native shortcuts, but preventDefault + // is used to prevent any obscure unknown shortcuts from triggering. + + Object(external_this_wp_keyboardShortcuts_["useShortcut"])('core/block-editor/insert-after', Object(external_this_wp_element_["useCallback"])(function (event) { + event.preventDefault(); + insertAfterBlock(Object(external_this_lodash_["last"])(clientIds)); + }, [clientIds, insertAfterBlock]), { + bindGlobal: true, + isDisabled: clientIds.length === 0 + }); // Prevent 'view recently closed tabs' in Opera using preventDefault. + + Object(external_this_wp_keyboardShortcuts_["useShortcut"])('core/block-editor/insert-before', Object(external_this_wp_element_["useCallback"])(function (event) { + event.preventDefault(); + insertBeforeBlock(Object(external_this_lodash_["first"])(clientIds)); + }, [clientIds, insertBeforeBlock]), { + bindGlobal: true, + isDisabled: clientIds.length === 0 + }); + Object(external_this_wp_keyboardShortcuts_["useShortcut"])('core/block-editor/delete-multi-selection', Object(external_this_wp_element_["useCallback"])(function (event) { + event.preventDefault(); + removeBlocks(clientIds); + }, [clientIds, removeBlocks]), { + isDisabled: clientIds.length < 1 + }); + Object(external_this_wp_keyboardShortcuts_["useShortcut"])('core/block-editor/select-all', Object(external_this_wp_element_["useCallback"])(function (event) { + event.preventDefault(); + multiSelect(Object(external_this_lodash_["first"])(rootBlocksClientIds), Object(external_this_lodash_["last"])(rootBlocksClientIds)); + }, [rootBlocksClientIds, multiSelect])); + Object(external_this_wp_keyboardShortcuts_["useShortcut"])('core/block-editor/unselect', Object(external_this_wp_element_["useCallback"])(function (event) { + event.preventDefault(); + clearSelectedBlock(); + window.getSelection().removeAllRanges(); + }, [clientIds, clearSelectedBlock]), { + isDisabled: clientIds.length < 2 + }); + return null; +} + +function KeyboardShortcutsRegister() { + // Registering the shortcuts + var _useDispatch2 = Object(external_this_wp_data_["useDispatch"])('core/keyboard-shortcuts'), + registerShortcut = _useDispatch2.registerShortcut; + + Object(external_this_wp_element_["useEffect"])(function () { + registerShortcut({ + name: 'core/block-editor/duplicate', + category: 'block', + description: Object(external_this_wp_i18n_["__"])('Duplicate the selected block(s).'), + keyCombination: { + modifier: 'primaryShift', + character: 'd' + } + }); + registerShortcut({ + name: 'core/block-editor/remove', + category: 'block', + description: Object(external_this_wp_i18n_["__"])('Remove the selected block(s).'), + keyCombination: { + modifier: 'access', + character: 'z' + } + }); + registerShortcut({ + name: 'core/block-editor/insert-before', + category: 'block', + description: Object(external_this_wp_i18n_["__"])('Insert a new block before the selected block(s).'), + keyCombination: { + modifier: 'primaryAlt', + character: 't' + } + }); + registerShortcut({ + name: 'core/block-editor/insert-after', + category: 'block', + description: Object(external_this_wp_i18n_["__"])('Insert a new block after the selected block(s).'), + keyCombination: { + modifier: 'primaryAlt', + character: 'y' + } + }); + registerShortcut({ + name: 'core/block-editor/delete-multi-selection', + category: 'block', + description: Object(external_this_wp_i18n_["__"])('Remove multiple selected blocks.'), + keyCombination: { + character: 'del' + }, + aliases: [{ + character: 'backspace' + }] + }); + registerShortcut({ + name: 'core/block-editor/select-all', + category: 'selection', + description: Object(external_this_wp_i18n_["__"])('Select all text when typing. Press again to select all blocks.'), + keyCombination: { + modifier: 'primary', + character: 'a' + } + }); + registerShortcut({ + name: 'core/block-editor/unselect', + category: 'selections', + description: Object(external_this_wp_i18n_["__"])('Clear selection.'), + keyCombination: { + character: 'escape' + } + }); + registerShortcut({ + name: 'core/block-editor/focus-toolbar', + category: 'global', + description: Object(external_this_wp_i18n_["__"])('Navigate to the nearest toolbar.'), + keyCombination: { + modifier: 'alt', + character: 'F10' + } + }); + }, [registerShortcut]); + return null; +} + +KeyboardShortcuts.Register = KeyboardShortcutsRegister; +/* harmony default export */ var keyboard_shortcuts = (KeyboardShortcuts); + // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/multi-select-scroll-into-view/index.js /** * External dependencies @@ -21676,7 +22538,7 @@ function MultiSelectScrollIntoView() { }; }; - var _useSelect = Object(external_this_wp_data_["useSelect"])(selector), + var _useSelect = Object(external_this_wp_data_["useSelect"])(selector, []), selectionEnd = _useSelect.selectionEnd, isMultiSelecting = _useSelect.isMultiSelecting; @@ -22245,15 +23107,108 @@ function (_Component) { }; })(typewriter_Typewriter)); +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/writing-flow/focus-capture.js + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + + + +/** + * Internal dependencies + */ + + +/** + * Renders focus capturing areas to redirect focus to the selected block if not + * in Navigation mode. + * + * @param {string} selectedClientId Client ID of the selected block. + * @param {boolean} isReverse Set to true if the component is rendered + * after the block list, false if rendered + * before. + * @param {Object} containerRef Reference containing the element reference + * of the block list container. + * @param {boolean} noCapture Reference containing the flag for enabling + * or disabling capturing. + * + * @return {WPElement} The focus capture element. + */ + +var FocusCapture = Object(external_this_wp_element_["forwardRef"])(function (_ref, ref) { + var selectedClientId = _ref.selectedClientId, + isReverse = _ref.isReverse, + containerRef = _ref.containerRef, + noCapture = _ref.noCapture; + var isNavigationMode = Object(external_this_wp_data_["useSelect"])(function (select) { + return select('core/block-editor').isNavigationMode(); + }); + + var _useDispatch = Object(external_this_wp_data_["useDispatch"])('core/block-editor'), + setNavigationMode = _useDispatch.setNavigationMode; + + function onFocus() { + // Do not capture incoming focus if set by us in WritingFlow. + if (noCapture.current) { + delete noCapture.current; + return; + } // When focus coming in from out of the block list, and no block is + // selected, enable Navigation mode and select the first or last block + // depending on the direction. + + + if (!selectedClientId) { + setNavigationMode(true); + var tabbables = external_this_wp_dom_["focus"].tabbable.find(containerRef.current); + + if (tabbables.length) { + if (isReverse) { + Object(external_this_lodash_["last"])(tabbables).focus(); + } else { + Object(external_this_lodash_["first"])(tabbables).focus(); + } + } + + return; + } // If there is a selected block, move focus to the first or last + // tabbable element depending on the direction. + + + var wrapper = getBlockFocusableWrapper(selectedClientId); + + if (isReverse) { + var _tabbables = external_this_wp_dom_["focus"].tabbable.find(wrapper); + + Object(external_this_lodash_["last"])(_tabbables).focus(); + } else { + wrapper.focus(); + } + } + + return Object(external_this_wp_element_["createElement"])("div", { + ref: ref // Don't allow tabbing to this element in Navigation mode. + , + tabIndex: !isNavigationMode ? '0' : undefined, + onFocus: onFocus // Needs to be positioned within the viewport, so focus to this + // element does not scroll the page. + , + style: { + position: 'fixed' + } + }); +}); +/* harmony default export */ var focus_capture = (FocusCapture); + // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/writing-flow/index.js - - - - - - /** * External dependencies */ @@ -22266,12 +23221,12 @@ function (_Component) { - /** * Internal dependencies */ + /** * Browser constants */ @@ -22311,344 +23266,83 @@ function isNavigationCandidate(element, keyCode, hasModifier) { var tagName = element.tagName; return tagName !== 'INPUT' && tagName !== 'TEXTAREA'; } +/** + * Returns the optimal tab target from the given focused element in the + * desired direction. A preference is made toward text fields, falling back + * to the block focus stop if no other candidates exist for the block. + * + * @param {Element} target Currently focused text field. + * @param {boolean} isReverse True if considering as the first field. + * @param {Element} containerElement Element containing all blocks. + * + * @return {?Element} Optimal tab target, if one exists. + */ -var writing_flow_WritingFlow = -/*#__PURE__*/ -function (_Component) { - Object(inherits["a" /* default */])(WritingFlow, _Component); +function getClosestTabbable(target, isReverse, containerElement) { + // Since the current focus target is not guaranteed to be a text field, + // find all focusables. Tabbability is considered later. + var focusableNodes = external_this_wp_dom_["focus"].focusable.find(containerElement); - function WritingFlow() { - var _this; + if (isReverse) { + focusableNodes = Object(external_this_lodash_["reverse"])(focusableNodes); + } // Consider as candidates those focusables after the current target. + // It's assumed this can only be reached if the target is focusable + // (on its keydown event), so no need to verify it exists in the set. - Object(classCallCheck["a" /* default */])(this, WritingFlow); - _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(WritingFlow).apply(this, arguments)); - _this.onKeyDown = _this.onKeyDown.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.bindContainer = _this.bindContainer.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.onMouseDown = _this.onMouseDown.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.focusLastTextField = _this.focusLastTextField.bind(Object(assertThisInitialized["a" /* default */])(_this)); - /** - * Here a rectangle is stored while moving the caret vertically so - * vertical position of the start position can be restored. - * This is to recreate browser behaviour across blocks. - * - * @type {?DOMRect} - */ + focusableNodes = focusableNodes.slice(focusableNodes.indexOf(target) + 1); - _this.verticalRect = null; - /** - * Reference of the writing flow appender element. - * The reference is used to focus the first tabbable element after the block list - * once we hit `tab` on the last block in navigation mode. - */ + function isTabCandidate(node, i, array) { + // Not a candidate if the node is not tabbable. + if (!external_this_wp_dom_["focus"].tabbable.isTabbableIndex(node)) { + return false; + } // Prefer text fields... - _this.appender = Object(external_this_wp_element_["createRef"])(); - return _this; + + if (Object(external_this_wp_dom_["isTextField"])(node)) { + return true; + } // ...but settle for block focus stop. + + + if (!isBlockFocusStop(node)) { + return false; + } // If element contains inner blocks, stop immediately at its focus + // wrapper. + + + if (hasInnerBlocksContext(node)) { + return true; + } // If navigating out of a block (in reverse), don't consider its + // block focus stop. + + + if (node.contains(target)) { + return false; + } // In case of block focus stop, check to see if there's a better + // text field candidate within. + + + for (var offset = 1, nextNode; nextNode = array[i + offset]; offset++) { + // Abort if no longer testing descendents of focus stop. + if (!node.contains(nextNode)) { + break; + } // Apply same tests by recursion. This is important to consider + // nestable blocks where we don't want to settle for the inner + // block focus stop. + + + if (isTabCandidate(nextNode, i + offset, array)) { + return false; + } + } + + return true; } - Object(createClass["a" /* default */])(WritingFlow, [{ - key: "bindContainer", - value: function bindContainer(ref) { - this.container = ref; - } - }, { - key: "onMouseDown", - value: function onMouseDown() { - this.verticalRect = null; - } - /** - * Returns the optimal tab target from the given focused element in the - * desired direction. A preference is made toward text fields, falling back - * to the block focus stop if no other candidates exist for the block. - * - * @param {Element} target Currently focused text field. - * @param {boolean} isReverse True if considering as the first field. - * - * @return {?Element} Optimal tab target, if one exists. - */ + return Object(external_this_lodash_["find"])(focusableNodes, isTabCandidate); +} - }, { - key: "getClosestTabbable", - value: function getClosestTabbable(target, isReverse) { - // Since the current focus target is not guaranteed to be a text field, - // find all focusables. Tabbability is considered later. - var focusableNodes = external_this_wp_dom_["focus"].focusable.find(this.container); - - if (isReverse) { - focusableNodes = Object(external_this_lodash_["reverse"])(focusableNodes); - } // Consider as candidates those focusables after the current target. - // It's assumed this can only be reached if the target is focusable - // (on its keydown event), so no need to verify it exists in the set. - - - focusableNodes = focusableNodes.slice(focusableNodes.indexOf(target) + 1); - - function isTabCandidate(node, i, array) { - // Not a candidate if the node is not tabbable. - if (!external_this_wp_dom_["focus"].tabbable.isTabbableIndex(node)) { - return false; - } // Prefer text fields... - - - if (Object(external_this_wp_dom_["isTextField"])(node)) { - return true; - } // ...but settle for block focus stop. - - - if (!isBlockFocusStop(node)) { - return false; - } // If element contains inner blocks, stop immediately at its focus - // wrapper. - - - if (hasInnerBlocksContext(node)) { - return true; - } // If navigating out of a block (in reverse), don't consider its - // block focus stop. - - - if (node.contains(target)) { - return false; - } // In case of block focus stop, check to see if there's a better - // text field candidate within. - - - for (var offset = 1, nextNode; nextNode = array[i + offset]; offset++) { - // Abort if no longer testing descendents of focus stop. - if (!node.contains(nextNode)) { - break; - } // Apply same tests by recursion. This is important to consider - // nestable blocks where we don't want to settle for the inner - // block focus stop. - - - if (isTabCandidate(nextNode, i + offset, array)) { - return false; - } - } - - return true; - } - - return Object(external_this_lodash_["find"])(focusableNodes, isTabCandidate); - } - }, { - key: "expandSelection", - value: function expandSelection(isReverse) { - var _this$props = this.props, - selectedBlockClientId = _this$props.selectedBlockClientId, - selectionStartClientId = _this$props.selectionStartClientId, - selectionBeforeEndClientId = _this$props.selectionBeforeEndClientId, - selectionAfterEndClientId = _this$props.selectionAfterEndClientId; - var nextSelectionEndClientId = isReverse ? selectionBeforeEndClientId : selectionAfterEndClientId; - - if (nextSelectionEndClientId) { - this.props.onMultiSelect(selectionStartClientId || selectedBlockClientId, nextSelectionEndClientId); - } - } - }, { - key: "moveSelection", - value: function moveSelection(isReverse) { - var _this$props2 = this.props, - selectedFirstClientId = _this$props2.selectedFirstClientId, - selectedLastClientId = _this$props2.selectedLastClientId; - var focusedBlockClientId = isReverse ? selectedFirstClientId : selectedLastClientId; - - if (focusedBlockClientId) { - this.props.onSelectBlock(focusedBlockClientId); - } - } - /** - * Returns true if the given target field is the last in its block which - * can be considered for tab transition. For example, in a block with two - * text fields, this would return true when reversing from the first of the - * two fields, but false when reversing from the second. - * - * @param {Element} target Currently focused text field. - * @param {boolean} isReverse True if considering as the first field. - * - * @return {boolean} Whether field is at edge for tab transition. - */ - - }, { - key: "isTabbableEdge", - value: function isTabbableEdge(target, isReverse) { - var closestTabbable = this.getClosestTabbable(target, isReverse); - return !closestTabbable || !isInSameBlock(target, closestTabbable); - } - }, { - key: "onKeyDown", - value: function onKeyDown(event) { - var _this$props3 = this.props, - hasMultiSelection = _this$props3.hasMultiSelection, - onMultiSelect = _this$props3.onMultiSelect, - blocks = _this$props3.blocks, - selectedBlockClientId = _this$props3.selectedBlockClientId, - selectionBeforeEndClientId = _this$props3.selectionBeforeEndClientId, - selectionAfterEndClientId = _this$props3.selectionAfterEndClientId, - isNavigationMode = _this$props3.isNavigationMode; - var keyCode = event.keyCode, - target = event.target; - var isUp = keyCode === external_this_wp_keycodes_["UP"]; - var isDown = keyCode === external_this_wp_keycodes_["DOWN"]; - var isLeft = keyCode === external_this_wp_keycodes_["LEFT"]; - var isRight = keyCode === external_this_wp_keycodes_["RIGHT"]; - var isTab = keyCode === external_this_wp_keycodes_["TAB"]; - var isReverse = isUp || isLeft; - var isHorizontal = isLeft || isRight; - var isVertical = isUp || isDown; - var isNav = isHorizontal || isVertical; - var isShift = event.shiftKey; - var hasModifier = isShift || event.ctrlKey || event.altKey || event.metaKey; - var isNavEdge = isVertical ? external_this_wp_dom_["isVerticalEdge"] : external_this_wp_dom_["isHorizontalEdge"]; // In navigation mode, tab and arrows navigate from block to block. - - if (isNavigationMode) { - var navigateUp = isTab && isShift || isUp; - var navigateDown = isTab && !isShift || isDown; - var focusedBlockUid = navigateUp ? selectionBeforeEndClientId : selectionAfterEndClientId; - - if ((navigateDown || navigateUp) && focusedBlockUid) { - event.preventDefault(); - this.props.onSelectBlock(focusedBlockUid); - } // Special case when reaching the end of the blocks (navigate to the next tabbable outside of the writing flow) - - - if (navigateDown && selectedBlockClientId && !selectionAfterEndClientId && [external_this_wp_keycodes_["UP"], external_this_wp_keycodes_["DOWN"]].indexOf(keyCode) === -1) { - this.props.clearSelectedBlock(); - this.appender.current.focus(); - } - - return; - } // When presing any key other than up or down, the initial vertical - // position must ALWAYS be reset. The vertical position is saved so it - // can be restored as well as possible on sebsequent vertical arrow key - // presses. It may not always be possible to restore the exact same - // position (such as at an empty line), so it wouldn't be good to - // compute the position right before any vertical arrow key press. - - - if (!isVertical) { - this.verticalRect = null; - } else if (!this.verticalRect) { - this.verticalRect = Object(external_this_wp_dom_["computeCaretRect"])(); - } // This logic inside this condition needs to be checked before - // the check for event.nativeEvent.defaultPrevented. - // The logic handles meta+a keypress and this event is default prevented - // by RichText. - - - if (!isNav) { - // Set immediately before the meta+a combination can be pressed. - if (external_this_wp_keycodes_["isKeyboardEvent"].primary(event)) { - this.isEntirelySelected = Object(external_this_wp_dom_["isEntirelySelected"])(target); - } - - if (external_this_wp_keycodes_["isKeyboardEvent"].primary(event, 'a')) { - // When the target is contentEditable, selection will already - // have been set by the browser earlier in this call stack. We - // need check the previous result, otherwise all blocks will be - // selected right away. - if (target.isContentEditable ? this.isEntirelySelected : Object(external_this_wp_dom_["isEntirelySelected"])(target)) { - onMultiSelect(Object(external_this_lodash_["first"])(blocks), Object(external_this_lodash_["last"])(blocks)); - event.preventDefault(); - } // After pressing primary + A we can assume isEntirelySelected is true. - // Calling right away isEntirelySelected after primary + A may still return false on some browsers. - - - this.isEntirelySelected = true; - } - - return; - } // Abort if navigation has already been handled (e.g. RichText inline - // boundaries). - - - if (event.nativeEvent.defaultPrevented) { - return; - } // Abort if our current target is not a candidate for navigation (e.g. - // preserve native input behaviors). - - - if (!isNavigationCandidate(target, keyCode, hasModifier)) { - return; - } // In the case of RTL scripts, right means previous and left means next, - // which is the exact reverse of LTR. - - - var _getComputedStyle = writing_flow_getComputedStyle(target), - direction = _getComputedStyle.direction; - - var isReverseDir = direction === 'rtl' ? !isReverse : isReverse; - - if (isShift) { - if (( // Ensure that there is a target block. - isReverse && selectionBeforeEndClientId || !isReverse && selectionAfterEndClientId) && (hasMultiSelection || this.isTabbableEdge(target, isReverse) && isNavEdge(target, isReverse))) { - // Shift key is down, and there is multi selection or we're at - // the end of the current block. - this.expandSelection(isReverse); - event.preventDefault(); - } - } else if (hasMultiSelection) { - // Moving from block multi-selection to single block selection - this.moveSelection(isReverse); - event.preventDefault(); - } else if (isVertical && Object(external_this_wp_dom_["isVerticalEdge"])(target, isReverse)) { - var closestTabbable = this.getClosestTabbable(target, isReverse); - - if (closestTabbable) { - Object(external_this_wp_dom_["placeCaretAtVerticalEdge"])(closestTabbable, isReverse, this.verticalRect); - event.preventDefault(); - } - } else if (isHorizontal && getSelection().isCollapsed && Object(external_this_wp_dom_["isHorizontalEdge"])(target, isReverseDir)) { - var _closestTabbable = this.getClosestTabbable(target, isReverseDir); - - Object(external_this_wp_dom_["placeCaretAtHorizontalEdge"])(_closestTabbable, isReverseDir); - event.preventDefault(); - } - } - /** - * Sets focus to the end of the last tabbable text field, if one exists. - */ - - }, { - key: "focusLastTextField", - value: function focusLastTextField() { - var focusableNodes = external_this_wp_dom_["focus"].focusable.find(this.container); - var target = Object(external_this_lodash_["findLast"])(focusableNodes, isTabbableTextField); - - if (target) { - Object(external_this_wp_dom_["placeCaretAtHorizontalEdge"])(target, true); - } - } - }, { - key: "render", - value: function render() { - var children = this.props.children; // Disable reason: Wrapper itself is non-interactive, but must capture - // bubbling events from children to determine focus transition intents. - - /* eslint-disable jsx-a11y/no-static-element-interactions */ - - return Object(external_this_wp_element_["createElement"])("div", { - className: "editor-writing-flow block-editor-writing-flow" - }, Object(external_this_wp_element_["createElement"])("div", { - ref: this.bindContainer, - onKeyDown: this.onKeyDown, - onMouseDown: this.onMouseDown - }, children), Object(external_this_wp_element_["createElement"])("div", { - ref: this.appender, - "aria-hidden": true, - tabIndex: -1, - onClick: this.focusLastTextField, - className: "editor-writing-flow__click-redirect block-editor-writing-flow__click-redirect" - })); - /* eslint-enable jsx-a11y/no-static-element-interactions */ - } - }]); - - return WritingFlow; -}(external_this_wp_element_["Component"]); - -/* harmony default export */ var writing_flow = (Object(external_this_wp_compose_["compose"])([Object(external_this_wp_data_["withSelect"])(function (select) { +function writing_flow_selector(select) { var _select = select('core/block-editor'), getSelectedBlockClientId = _select.getSelectedBlockClientId, getMultiSelectedBlocksStartClientId = _select.getMultiSelectedBlocksStartClientId, @@ -22675,18 +23369,277 @@ function (_Component) { blocks: getBlockOrder(), isNavigationMode: isNavigationMode() }; -}), Object(external_this_wp_data_["withDispatch"])(function (dispatch) { - var _dispatch = dispatch('core/block-editor'), - multiSelect = _dispatch.multiSelect, - selectBlock = _dispatch.selectBlock, - clearSelectedBlock = _dispatch.clearSelectedBlock; +} - return { - onMultiSelect: multiSelect, - onSelectBlock: selectBlock, - clearSelectedBlock: clearSelectedBlock - }; -})])(writing_flow_WritingFlow)); +function WritingFlow(_ref) { + var children = _ref.children; + var container = Object(external_this_wp_element_["useRef"])(); + var focusCaptureBeforeRef = Object(external_this_wp_element_["useRef"])(); + var focusCaptureAfterRef = Object(external_this_wp_element_["useRef"])(); + var entirelySelected = Object(external_this_wp_element_["useRef"])(); // Reference that holds the a flag for enabling or disabling + // capturing on the focus capture elements. + + var noCapture = Object(external_this_wp_element_["useRef"])(); // Here a DOMRect is stored while moving the caret vertically so vertical + // position of the start position can be restored. This is to recreate + // browser behaviour across blocks. + + var verticalRect = Object(external_this_wp_element_["useRef"])(); + + function onMouseDown() { + verticalRect.current = null; + } + + var _useSelect = Object(external_this_wp_data_["useSelect"])(writing_flow_selector), + selectedBlockClientId = _useSelect.selectedBlockClientId, + selectionStartClientId = _useSelect.selectionStartClientId, + selectionBeforeEndClientId = _useSelect.selectionBeforeEndClientId, + selectionAfterEndClientId = _useSelect.selectionAfterEndClientId, + selectedFirstClientId = _useSelect.selectedFirstClientId, + selectedLastClientId = _useSelect.selectedLastClientId, + hasMultiSelection = _useSelect.hasMultiSelection, + blocks = _useSelect.blocks, + isNavigationMode = _useSelect.isNavigationMode; + + var _useDispatch = Object(external_this_wp_data_["useDispatch"])('core/block-editor'), + multiSelect = _useDispatch.multiSelect, + selectBlock = _useDispatch.selectBlock, + clearSelectedBlock = _useDispatch.clearSelectedBlock; + + function expandSelection(isReverse) { + var nextSelectionEndClientId = isReverse ? selectionBeforeEndClientId : selectionAfterEndClientId; + + if (nextSelectionEndClientId) { + multiSelect(selectionStartClientId || selectedBlockClientId, nextSelectionEndClientId); + } + } + + function moveSelection(isReverse) { + var focusedBlockClientId = isReverse ? selectedFirstClientId : selectedLastClientId; + + if (focusedBlockClientId) { + selectBlock(focusedBlockClientId); + } + } + /** + * Returns true if the given target field is the last in its block which + * can be considered for tab transition. For example, in a block with two + * text fields, this would return true when reversing from the first of the + * two fields, but false when reversing from the second. + * + * @param {Element} target Currently focused text field. + * @param {boolean} isReverse True if considering as the first field. + * + * @return {boolean} Whether field is at edge for tab transition. + */ + + + function isTabbableEdge(target, isReverse) { + var closestTabbable = getClosestTabbable(target, isReverse, container.current); + return !closestTabbable || !isInSameBlock(target, closestTabbable); + } + + function onKeyDown(event) { + var keyCode = event.keyCode, + target = event.target; + var isUp = keyCode === external_this_wp_keycodes_["UP"]; + var isDown = keyCode === external_this_wp_keycodes_["DOWN"]; + var isLeft = keyCode === external_this_wp_keycodes_["LEFT"]; + var isRight = keyCode === external_this_wp_keycodes_["RIGHT"]; + var isTab = keyCode === external_this_wp_keycodes_["TAB"]; + var isReverse = isUp || isLeft; + var isHorizontal = isLeft || isRight; + var isVertical = isUp || isDown; + var isNav = isHorizontal || isVertical; + var isShift = event.shiftKey; + var hasModifier = isShift || event.ctrlKey || event.altKey || event.metaKey; + var isNavEdge = isVertical ? external_this_wp_dom_["isVerticalEdge"] : external_this_wp_dom_["isHorizontalEdge"]; // In navigation mode, tab and arrows navigate from block to block. + + if (isNavigationMode) { + var navigateUp = isTab && isShift || isUp; + var navigateDown = isTab && !isShift || isDown; + var focusedBlockUid = navigateUp ? selectionBeforeEndClientId : selectionAfterEndClientId; + + if (navigateDown || navigateUp) { + if (focusedBlockUid) { + event.preventDefault(); + selectBlock(focusedBlockUid); + } else if (isTab && selectedBlockClientId) { + var wrapper = getBlockFocusableWrapper(selectedBlockClientId); + var nextTabbable; + + if (navigateDown) { + nextTabbable = external_this_wp_dom_["focus"].tabbable.findNext(wrapper); + } else { + nextTabbable = external_this_wp_dom_["focus"].tabbable.findPrevious(wrapper); + } + + if (nextTabbable) { + event.preventDefault(); + nextTabbable.focus(); + clearSelectedBlock(); + } + } + } + + return; + } + + var clientId = selectedBlockClientId || selectionStartClientId; // In Edit mode, Tab should focus the first tabbable element after the + // content, which is normally the sidebar (with block controls) and + // Shift+Tab should focus the first tabbable element before the content, + // which is normally the block toolbar. + // Arrow keys can be used, and Tab and arrow keys can be used in + // Navigation mode (press Esc), to navigate through blocks. + + if (isTab && clientId) { + var _wrapper = getBlockFocusableWrapper(clientId); + + if (isShift) { + if (target === _wrapper) { + // Disable focus capturing on the focus capture element, so + // it doesn't refocus this block and so it allows default + // behaviour (moving focus to the next tabbable element). + noCapture.current = true; + focusCaptureBeforeRef.current.focus(); + return; + } + } else { + var tabbables = external_this_wp_dom_["focus"].tabbable.find(_wrapper); + + if (target === Object(external_this_lodash_["last"])(tabbables)) { + // See comment above. + noCapture.current = true; + focusCaptureAfterRef.current.focus(); + return; + } + } + } // When presing any key other than up or down, the initial vertical + // position must ALWAYS be reset. The vertical position is saved so it + // can be restored as well as possible on sebsequent vertical arrow key + // presses. It may not always be possible to restore the exact same + // position (such as at an empty line), so it wouldn't be good to + // compute the position right before any vertical arrow key press. + + + if (!isVertical) { + verticalRect.current = null; + } else if (!verticalRect.current) { + verticalRect.current = Object(external_this_wp_dom_["computeCaretRect"])(); + } // This logic inside this condition needs to be checked before + // the check for event.nativeEvent.defaultPrevented. + // The logic handles meta+a keypress and this event is default prevented + // by RichText. + + + if (!isNav) { + // Set immediately before the meta+a combination can be pressed. + if (external_this_wp_keycodes_["isKeyboardEvent"].primary(event)) { + entirelySelected.current = Object(external_this_wp_dom_["isEntirelySelected"])(target); + } + + if (external_this_wp_keycodes_["isKeyboardEvent"].primary(event, 'a')) { + // When the target is contentEditable, selection will already + // have been set by the browser earlier in this call stack. We + // need check the previous result, otherwise all blocks will be + // selected right away. + if (target.isContentEditable ? entirelySelected.current : Object(external_this_wp_dom_["isEntirelySelected"])(target)) { + multiSelect(Object(external_this_lodash_["first"])(blocks), Object(external_this_lodash_["last"])(blocks)); + event.preventDefault(); + } // After pressing primary + A we can assume isEntirelySelected is true. + // Calling right away isEntirelySelected after primary + A may still return false on some browsers. + + + entirelySelected.current = true; + } + + return; + } // Abort if navigation has already been handled (e.g. RichText inline + // boundaries). + + + if (event.nativeEvent.defaultPrevented) { + return; + } // Abort if our current target is not a candidate for navigation (e.g. + // preserve native input behaviors). + + + if (!isNavigationCandidate(target, keyCode, hasModifier)) { + return; + } // In the case of RTL scripts, right means previous and left means next, + // which is the exact reverse of LTR. + + + var _getComputedStyle = writing_flow_getComputedStyle(target), + direction = _getComputedStyle.direction; + + var isReverseDir = direction === 'rtl' ? !isReverse : isReverse; + + if (isShift) { + if (( // Ensure that there is a target block. + isReverse && selectionBeforeEndClientId || !isReverse && selectionAfterEndClientId) && (hasMultiSelection || isTabbableEdge(target, isReverse) && isNavEdge(target, isReverse))) { + // Shift key is down, and there is multi selection or we're at + // the end of the current block. + expandSelection(isReverse); + event.preventDefault(); + } + } else if (hasMultiSelection) { + // Moving from block multi-selection to single block selection + moveSelection(isReverse); + event.preventDefault(); + } else if (isVertical && Object(external_this_wp_dom_["isVerticalEdge"])(target, isReverse)) { + var closestTabbable = getClosestTabbable(target, isReverse, container.current); + + if (closestTabbable) { + Object(external_this_wp_dom_["placeCaretAtVerticalEdge"])(closestTabbable, isReverse, verticalRect.current); + event.preventDefault(); + } + } else if (isHorizontal && getSelection().isCollapsed && Object(external_this_wp_dom_["isHorizontalEdge"])(target, isReverseDir)) { + var _closestTabbable = getClosestTabbable(target, isReverseDir, container.current); + + Object(external_this_wp_dom_["placeCaretAtHorizontalEdge"])(_closestTabbable, isReverseDir); + event.preventDefault(); + } + } + + function focusLastTextField() { + var focusableNodes = external_this_wp_dom_["focus"].focusable.find(container.current); + var target = Object(external_this_lodash_["findLast"])(focusableNodes, isTabbableTextField); + + if (target) { + Object(external_this_wp_dom_["placeCaretAtHorizontalEdge"])(target, true); + } + } + + var selectedClientId = selectedBlockClientId || selectionStartClientId; // Disable reason: Wrapper itself is non-interactive, but must capture + // bubbling events from children to determine focus transition intents. + + /* eslint-disable jsx-a11y/no-static-element-interactions */ + + return Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-writing-flow" + }, Object(external_this_wp_element_["createElement"])(focus_capture, { + ref: focusCaptureBeforeRef, + selectedClientId: selectedClientId, + containerRef: container, + noCapture: noCapture + }), Object(external_this_wp_element_["createElement"])("div", { + ref: container, + onKeyDown: onKeyDown, + onMouseDown: onMouseDown + }, children), Object(external_this_wp_element_["createElement"])(focus_capture, { + ref: focusCaptureAfterRef, + selectedClientId: selectedClientId, + containerRef: container, + noCapture: noCapture, + isReverse: true + }), Object(external_this_wp_element_["createElement"])("div", { + "aria-hidden": true, + tabIndex: -1, + onClick: focusLastTextField, + className: "block-editor-writing-flow__click-redirect" + })); + /* eslint-enable jsx-a11y/no-static-element-interactions */ +} // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/index.js /* @@ -22727,6 +23680,9 @@ function (_Component) { + + + @@ -23986,7 +24942,7 @@ function addParent(obj, parent) { /* eslint-enable @wordpress/no-unused-vars-before-return */ // EXTERNAL MODULE: ./node_modules/inherits/inherits_browser.js -var inherits_browser = __webpack_require__(109); +var inherits_browser = __webpack_require__(110); var inherits_browser_default = /*#__PURE__*/__webpack_require__.n(inherits_browser); // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/utils/transform-styles/ast/stringify/compiler.js @@ -24474,7 +25430,7 @@ function traverseCSS(css, callback) { /* harmony default export */ var transform_styles_traverse = (traverseCSS); // EXTERNAL MODULE: ./node_modules/url/url.js -var url_url = __webpack_require__(84); +var url_url = __webpack_require__(85); // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/utils/transform-styles/transforms/url-rewrite.js @@ -24737,11 +25693,13 @@ var transform_styles_transformStyles = function transformStyles(styles) { /* concated harmony reexport BlockVerticalAlignmentToolbar */__webpack_require__.d(__webpack_exports__, "BlockVerticalAlignmentToolbar", function() { return block_vertical_alignment_toolbar; }); /* concated harmony reexport ButtonBlockerAppender */__webpack_require__.d(__webpack_exports__, "ButtonBlockerAppender", function() { return button_block_appender; }); /* concated harmony reexport ColorPalette */__webpack_require__.d(__webpack_exports__, "ColorPalette", function() { return color_palette; }); -/* concated harmony reexport ColorPaletteControl */__webpack_require__.d(__webpack_exports__, "ColorPaletteControl", function() { return color_palette_control; }); +/* concated harmony reexport ColorPaletteControl */__webpack_require__.d(__webpack_exports__, "ColorPaletteControl", function() { return ColorPaletteControl; }); /* concated harmony reexport ContrastChecker */__webpack_require__.d(__webpack_exports__, "ContrastChecker", function() { return contrast_checker; }); /* concated harmony reexport __experimentalGradientPicker */__webpack_require__.d(__webpack_exports__, "__experimentalGradientPicker", function() { return gradient_picker; }); /* concated harmony reexport __experimentalGradientPickerControl */__webpack_require__.d(__webpack_exports__, "__experimentalGradientPickerControl", function() { return gradient_picker_control; }); /* concated harmony reexport __experimentalGradientPickerPanel */__webpack_require__.d(__webpack_exports__, "__experimentalGradientPickerPanel", function() { return GradientPanel; }); +/* concated harmony reexport __experimentalColorGradientControl */__webpack_require__.d(__webpack_exports__, "__experimentalColorGradientControl", function() { return colors_gradients_control; }); +/* concated harmony reexport __experimentalPanelColorGradientSettings */__webpack_require__.d(__webpack_exports__, "__experimentalPanelColorGradientSettings", function() { return panel_color_gradient_settings; }); /* concated harmony reexport InnerBlocks */__webpack_require__.d(__webpack_exports__, "InnerBlocks", function() { return inner_blocks; }); /* concated harmony reexport InspectorAdvancedControls */__webpack_require__.d(__webpack_exports__, "InspectorAdvancedControls", function() { return inspector_advanced_controls; }); /* concated harmony reexport InspectorControls */__webpack_require__.d(__webpack_exports__, "InspectorControls", function() { return inspector_controls; }); @@ -24761,6 +25719,7 @@ var transform_styles_transformStyles = function transformStyles(styles) { /* concated harmony reexport URLInput */__webpack_require__.d(__webpack_exports__, "URLInput", function() { return url_input; }); /* concated harmony reexport URLInputButton */__webpack_require__.d(__webpack_exports__, "URLInputButton", function() { return url_input_button; }); /* concated harmony reexport URLPopover */__webpack_require__.d(__webpack_exports__, "URLPopover", function() { return url_popover; }); +/* concated harmony reexport __experimentalImageURLInputUI */__webpack_require__.d(__webpack_exports__, "__experimentalImageURLInputUI", function() { return image_url_input_ui_ImageURLInputUI; }); /* concated harmony reexport withColorContext */__webpack_require__.d(__webpack_exports__, "withColorContext", function() { return with_color_context; }); /* concated harmony reexport __experimentalBlockListFooter */__webpack_require__.d(__webpack_exports__, "__experimentalBlockListFooter", function() { return block_list_footer; }); /* concated harmony reexport __experimentalBlockSettingsMenuFirstItem */__webpack_require__.d(__webpack_exports__, "__experimentalBlockSettingsMenuFirstItem", function() { return block_settings_menu_first_item; }); @@ -24769,7 +25728,6 @@ var transform_styles_transformStyles = function transformStyles(styles) { /* concated harmony reexport __experimentalPageTemplatePicker */__webpack_require__.d(__webpack_exports__, "__experimentalPageTemplatePicker", function() { return picker; }); /* concated harmony reexport __experimentalWithPageTemplatePickerVisible */__webpack_require__.d(__webpack_exports__, "__experimentalWithPageTemplatePickerVisible", function() { return with_page_template_picker_visible; }); /* concated harmony reexport __experimentalUsePageTemplatePickerVisible */__webpack_require__.d(__webpack_exports__, "__experimentalUsePageTemplatePickerVisible", function() { return use_page_template_picker_visible; }); -/* concated harmony reexport BlockEditorKeyboardShortcuts */__webpack_require__.d(__webpack_exports__, "BlockEditorKeyboardShortcuts", function() { return block_editor_keyboard_shortcuts; }); /* concated harmony reexport BlockInspector */__webpack_require__.d(__webpack_exports__, "BlockInspector", function() { return block_inspector; }); /* concated harmony reexport BlockList */__webpack_require__.d(__webpack_exports__, "BlockList", function() { return block_list; }); /* concated harmony reexport BlockMover */__webpack_require__.d(__webpack_exports__, "BlockMover", function() { return block_mover; }); @@ -24782,6 +25740,7 @@ var transform_styles_transformStyles = function transformStyles(styles) { /* concated harmony reexport DefaultBlockAppender */__webpack_require__.d(__webpack_exports__, "DefaultBlockAppender", function() { return default_block_appender; }); /* concated harmony reexport Inserter */__webpack_require__.d(__webpack_exports__, "Inserter", function() { return inserter; }); /* concated harmony reexport MultiBlocksSwitcher */__webpack_require__.d(__webpack_exports__, "MultiBlocksSwitcher", function() { return multi_blocks_switcher; }); +/* concated harmony reexport BlockEditorKeyboardShortcuts */__webpack_require__.d(__webpack_exports__, "BlockEditorKeyboardShortcuts", function() { return keyboard_shortcuts; }); /* concated harmony reexport MultiSelectScrollIntoView */__webpack_require__.d(__webpack_exports__, "MultiSelectScrollIntoView", function() { return MultiSelectScrollIntoView; }); /* concated harmony reexport NavigableToolbar */__webpack_require__.d(__webpack_exports__, "NavigableToolbar", function() { return navigable_toolbar; }); /* concated harmony reexport ObserveTyping */__webpack_require__.d(__webpack_exports__, "ObserveTyping", function() { return observe_typing; }); @@ -24789,7 +25748,7 @@ var transform_styles_transformStyles = function transformStyles(styles) { /* concated harmony reexport SkipToSelectedBlock */__webpack_require__.d(__webpack_exports__, "SkipToSelectedBlock", function() { return skip_to_selected_block; }); /* concated harmony reexport Typewriter */__webpack_require__.d(__webpack_exports__, "Typewriter", function() { return typewriter; }); /* concated harmony reexport Warning */__webpack_require__.d(__webpack_exports__, "Warning", function() { return warning; }); -/* concated harmony reexport WritingFlow */__webpack_require__.d(__webpack_exports__, "WritingFlow", function() { return writing_flow; }); +/* concated harmony reexport WritingFlow */__webpack_require__.d(__webpack_exports__, "WritingFlow", function() { return WritingFlow; }); /* concated harmony reexport BlockEditorProvider */__webpack_require__.d(__webpack_exports__, "BlockEditorProvider", function() { return provider; }); /* concated harmony reexport getColorClassName */__webpack_require__.d(__webpack_exports__, "getColorClassName", function() { return getColorClassName; }); /* concated harmony reexport getColorObjectByAttributeValues */__webpack_require__.d(__webpack_exports__, "getColorObjectByAttributeValues", function() { return utils_getColorObjectByAttributeValues; }); @@ -24798,6 +25757,7 @@ var transform_styles_transformStyles = function transformStyles(styles) { /* concated harmony reexport withColors */__webpack_require__.d(__webpack_exports__, "withColors", function() { return withColors; }); /* concated harmony reexport __experimentalUseColors */__webpack_require__.d(__webpack_exports__, "__experimentalUseColors", function() { return __experimentalUseColors; }); /* concated harmony reexport __experimentalGetGradientClass */__webpack_require__.d(__webpack_exports__, "__experimentalGetGradientClass", function() { return __experimentalGetGradientClass; }); +/* concated harmony reexport __experimentalGetGradientObjectByGradientValue */__webpack_require__.d(__webpack_exports__, "__experimentalGetGradientObjectByGradientValue", function() { return __experimentalGetGradientObjectByGradientValue; }); /* concated harmony reexport __experimentalUseGradient */__webpack_require__.d(__webpack_exports__, "__experimentalUseGradient", function() { return __experimentalUseGradient; }); /* concated harmony reexport getFontSize */__webpack_require__.d(__webpack_exports__, "getFontSize", function() { return utils_getFontSize; }); /* concated harmony reexport getFontSizeClass */__webpack_require__.d(__webpack_exports__, "getFontSizeClass", function() { return getFontSizeClass; }); @@ -24812,6 +25772,7 @@ var transform_styles_transformStyles = function transformStyles(styles) { + /** * Internal dependencies */ @@ -24825,285 +25786,10 @@ var transform_styles_transformStyles = function transformStyles(styles) { /***/ }), -/***/ 38: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; - - -var LEAF_KEY, hasWeakMap; - -/** - * Arbitrary value used as key for referencing cache object in WeakMap tree. - * - * @type {Object} - */ -LEAF_KEY = {}; - -/** - * Whether environment supports WeakMap. - * - * @type {boolean} - */ -hasWeakMap = typeof WeakMap !== 'undefined'; - -/** - * Returns the first argument as the sole entry in an array. - * - * @param {*} value Value to return. - * - * @return {Array} Value returned as entry in array. - */ -function arrayOf( value ) { - return [ value ]; -} - -/** - * Returns true if the value passed is object-like, or false otherwise. A value - * is object-like if it can support property assignment, e.g. object or array. - * - * @param {*} value Value to test. - * - * @return {boolean} Whether value is object-like. - */ -function isObjectLike( value ) { - return !! value && 'object' === typeof value; -} - -/** - * Creates and returns a new cache object. - * - * @return {Object} Cache object. - */ -function createCache() { - var cache = { - clear: function() { - cache.head = null; - }, - }; - - return cache; -} - -/** - * Returns true if entries within the two arrays are strictly equal by - * reference from a starting index. - * - * @param {Array} a First array. - * @param {Array} b Second array. - * @param {number} fromIndex Index from which to start comparison. - * - * @return {boolean} Whether arrays are shallowly equal. - */ -function isShallowEqual( a, b, fromIndex ) { - var i; - - if ( a.length !== b.length ) { - return false; - } - - for ( i = fromIndex; i < a.length; i++ ) { - if ( a[ i ] !== b[ i ] ) { - return false; - } - } - - return true; -} - -/** - * Returns a memoized selector function. The getDependants function argument is - * called before the memoized selector and is expected to return an immutable - * reference or array of references on which the selector depends for computing - * its own return value. The memoize cache is preserved only as long as those - * dependant references remain the same. If getDependants returns a different - * reference(s), the cache is cleared and the selector value regenerated. - * - * @param {Function} selector Selector function. - * @param {Function} getDependants Dependant getter returning an immutable - * reference or array of reference used in - * cache bust consideration. - * - * @return {Function} Memoized selector. - */ -/* harmony default export */ __webpack_exports__["a"] = (function( selector, getDependants ) { - var rootCache, getCache; - - // Use object source as dependant if getter not provided - if ( ! getDependants ) { - getDependants = arrayOf; - } - - /** - * Returns the root cache. If WeakMap is supported, this is assigned to the - * root WeakMap cache set, otherwise it is a shared instance of the default - * cache object. - * - * @return {(WeakMap|Object)} Root cache object. - */ - function getRootCache() { - return rootCache; - } - - /** - * Returns the cache for a given dependants array. When possible, a WeakMap - * will be used to create a unique cache for each set of dependants. This - * is feasible due to the nature of WeakMap in allowing garbage collection - * to occur on entries where the key object is no longer referenced. Since - * WeakMap requires the key to be an object, this is only possible when the - * dependant is object-like. The root cache is created as a hierarchy where - * each top-level key is the first entry in a dependants set, the value a - * WeakMap where each key is the next dependant, and so on. This continues - * so long as the dependants are object-like. If no dependants are object- - * like, then the cache is shared across all invocations. - * - * @see isObjectLike - * - * @param {Array} dependants Selector dependants. - * - * @return {Object} Cache object. - */ - function getWeakMapCache( dependants ) { - var caches = rootCache, - isUniqueByDependants = true, - i, dependant, map, cache; - - for ( i = 0; i < dependants.length; i++ ) { - dependant = dependants[ i ]; - - // Can only compose WeakMap from object-like key. - if ( ! isObjectLike( dependant ) ) { - isUniqueByDependants = false; - break; - } - - // Does current segment of cache already have a WeakMap? - if ( caches.has( dependant ) ) { - // Traverse into nested WeakMap. - caches = caches.get( dependant ); - } else { - // Create, set, and traverse into a new one. - map = new WeakMap(); - caches.set( dependant, map ); - caches = map; - } - } - - // We use an arbitrary (but consistent) object as key for the last item - // in the WeakMap to serve as our running cache. - if ( ! caches.has( LEAF_KEY ) ) { - cache = createCache(); - cache.isUniqueByDependants = isUniqueByDependants; - caches.set( LEAF_KEY, cache ); - } - - return caches.get( LEAF_KEY ); - } - - // Assign cache handler by availability of WeakMap - getCache = hasWeakMap ? getWeakMapCache : getRootCache; - - /** - * Resets root memoization cache. - */ - function clear() { - rootCache = hasWeakMap ? new WeakMap() : createCache(); - } - - // eslint-disable-next-line jsdoc/check-param-names - /** - * The augmented selector call, considering first whether dependants have - * changed before passing it to underlying memoize function. - * - * @param {Object} source Source object for derivation. - * @param {...*} extraArgs Additional arguments to pass to selector. - * - * @return {*} Selector result. - */ - function callSelector( /* source, ...extraArgs */ ) { - var len = arguments.length, - cache, node, i, args, dependants; - - // Create copy of arguments (avoid leaking deoptimization). - args = new Array( len ); - for ( i = 0; i < len; i++ ) { - args[ i ] = arguments[ i ]; - } - - dependants = getDependants.apply( null, args ); - cache = getCache( dependants ); - - // If not guaranteed uniqueness by dependants (primitive type or lack - // of WeakMap support), shallow compare against last dependants and, if - // references have changed, destroy cache to recalculate result. - if ( ! cache.isUniqueByDependants ) { - if ( cache.lastDependants && ! isShallowEqual( dependants, cache.lastDependants, 0 ) ) { - cache.clear(); - } - - cache.lastDependants = dependants; - } - - node = cache.head; - while ( node ) { - // Check whether node arguments match arguments - if ( ! isShallowEqual( node.args, args, 1 ) ) { - node = node.next; - continue; - } - - // At this point we can assume we've found a match - - // Surface matched node to head if not already - if ( node !== cache.head ) { - // Adjust siblings to point to each other. - node.prev.next = node.next; - if ( node.next ) { - node.next.prev = node.prev; - } - - node.next = cache.head; - node.prev = null; - cache.head.prev = node; - cache.head = node; - } - - // Return immediately - return node.val; - } - - // No cached value found. Continue to insertion phase: - - node = { - // Generate the result from original function - val: selector.apply( null, args ), - }; - - // Avoid including the source object in the cache. - args[ 0 ] = null; - node.args = args; - - // Don't need to check whether node is already head, since it would - // have been returned above already if it was - - // Shift existing head down list - if ( cache.head ) { - cache.head.prev = node; - node.next = cache.head; - } - - cache.head = node; - - return node.val; - } - - callSelector.getDependants = getDependants; - callSelector.clear = clear; - clear(); - - return callSelector; -}); +/***/ 37: +/***/ (function(module, exports) { +(function() { module.exports = this["wp"]["blob"]; }()); /***/ }), @@ -25255,6 +25941,13 @@ module.exports = function memize( fn, options ) { /***/ }), /***/ 43: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["keyboardShortcuts"]; }()); + +/***/ }), + +/***/ 44: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -25297,21 +25990,21 @@ function _asyncToGenerator(fn) { /***/ }), -/***/ 44: +/***/ 45: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["a11y"]; }()); /***/ }), -/***/ 45: +/***/ 46: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["isShallowEqual"]; }()); /***/ }), -/***/ 48: +/***/ 49: /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_RESULT__;// TinyColor v1.4.1 @@ -26512,14 +27205,14 @@ else {} /***/ }), -/***/ 50: +/***/ 51: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["viewport"]; }()); /***/ }), -/***/ 53: +/***/ 54: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["htmlEntities"]; }()); @@ -26530,30 +27223,43 @@ else {} /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _assertThisInitialized; }); -function _assertThisInitialized(self) { - if (self === void 0) { - throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectSpread; }); +/* harmony import */ var _defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9); + +function _objectSpread(target) { + for (var i = 1; i < arguments.length; i++) { + var source = arguments[i] != null ? Object(arguments[i]) : {}; + var ownKeys = Object.keys(source); + + if (typeof Object.getOwnPropertySymbols === 'function') { + ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { + return Object.getOwnPropertyDescriptor(source, sym).enumerable; + })); + } + + ownKeys.forEach(function (key) { + Object(_defineProperty__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(target, key, source[key]); + }); } - return self; + return target; } /***/ }), -/***/ 60: +/***/ 62: /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; -var TextareaAutosize_1 = __webpack_require__(113); +var TextareaAutosize_1 = __webpack_require__(114); exports["default"] = TextareaAutosize_1["default"]; /***/ }), -/***/ 61: +/***/ 63: /***/ (function(module, exports) { var g; @@ -26580,7 +27286,7 @@ module.exports = g; /***/ }), -/***/ 63: +/***/ 65: /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -26590,12 +27296,12 @@ Object.defineProperty(exports, '__esModule', { value: true }); function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } -var _extends = _interopDefault(__webpack_require__(117)); -var _objectWithoutPropertiesLoose = _interopDefault(__webpack_require__(118)); -var React = __webpack_require__(20); +var _extends = _interopDefault(__webpack_require__(118)); +var _objectWithoutPropertiesLoose = _interopDefault(__webpack_require__(119)); +var React = __webpack_require__(21); var React__default = _interopDefault(React); -var _inheritsLoose = _interopDefault(__webpack_require__(95)); -var _assertThisInitialized = _interopDefault(__webpack_require__(119)); +var _inheritsLoose = _interopDefault(__webpack_require__(96)); +var _assertThisInitialized = _interopDefault(__webpack_require__(120)); var is = { arr: Array.isArray, @@ -28911,13 +29617,13 @@ exports.useSprings = useSprings; /***/ }), -/***/ 67: +/***/ 69: /***/ (function(module, exports, __webpack_require__) { "use strict"; -module.exports = __webpack_require__(111); +module.exports = __webpack_require__(112); /***/ }), @@ -28925,31 +29631,18 @@ module.exports = __webpack_require__(111); /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectSpread; }); -/* harmony import */ var _defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9); - -function _objectSpread(target) { - for (var i = 1; i < arguments.length; i++) { - var source = arguments[i] != null ? arguments[i] : {}; - var ownKeys = Object.keys(Object(source)); - - if (typeof Object.getOwnPropertySymbols === 'function') { - ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { - return Object.getOwnPropertyDescriptor(source, sym).enumerable; - })); - } - - ownKeys.forEach(function (key) { - Object(_defineProperty__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(target, key, source[key]); - }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _assertThisInitialized; }); +function _assertThisInitialized(self) { + if (self === void 0) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } - return target; + return self; } /***/ }), -/***/ 70: +/***/ 72: /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -29012,7 +29705,7 @@ module.exports = refx; /***/ }), -/***/ 84: +/***/ 85: /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -29039,8 +29732,8 @@ module.exports = refx; -var punycode = __webpack_require__(120); -var util = __webpack_require__(122); +var punycode = __webpack_require__(121); +var util = __webpack_require__(123); exports.parse = urlParse; exports.resolve = urlResolve; @@ -29115,7 +29808,7 @@ var protocolPattern = /^([a-z0-9.+-]+:)/i, 'gopher:': true, 'file:': true }, - querystring = __webpack_require__(123); + querystring = __webpack_require__(124); function urlParse(url, parseQueryString, slashesDenoteHost) { if (url && util.isObject(url) && url instanceof Url) return url; @@ -29752,7 +30445,7 @@ Url.prototype.parseHost = function() { /***/ }), -/***/ 88: +/***/ 89: /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -29765,7 +30458,7 @@ Url.prototype.parseHost = function() { -var ReactPropTypesSecret = __webpack_require__(89); +var ReactPropTypesSecret = __webpack_require__(90); function emptyFunction() {} function emptyFunctionWithReset() {} @@ -29822,26 +30515,6 @@ module.exports = function() { }; -/***/ }), - -/***/ 89: -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -/** - * Copyright (c) 2013-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - - - -var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED'; - -module.exports = ReactPropTypesSecret; - - /***/ }), /***/ 9: @@ -29866,7 +30539,27 @@ function _defineProperty(obj, key, value) { /***/ }), -/***/ 95: +/***/ 90: +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +/** + * Copyright (c) 2013-present, Facebook, Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + + + +var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED'; + +module.exports = ReactPropTypesSecret; + + +/***/ }), + +/***/ 96: /***/ (function(module, exports) { function _inheritsLoose(subClass, superClass) { @@ -29879,7 +30572,7 @@ module.exports = _inheritsLoose; /***/ }), -/***/ 96: +/***/ 97: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["wordcount"]; }()); diff --git a/wp-includes/js/dist/block-editor.min.js b/wp-includes/js/dist/block-editor.min.js index 202a1893a7..bbe1b90cf4 100644 --- a/wp-includes/js/dist/block-editor.min.js +++ b/wp-includes/js/dist/block-editor.min.js @@ -1,15 +1,15 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.blockEditor=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=362)}({0:function(e,t){!function(){e.exports=this.wp.element}()},1:function(e,t){!function(){e.exports=this.wp.i18n}()},10:function(e,t){!function(){e.exports=this.wp.blocks}()},109:function(e,t){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},11:function(e,t,n){var r; +this.wp=this.wp||{},this.wp.blockEditor=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=363)}({0:function(e,t){!function(){e.exports=this.wp.element}()},1:function(e,t){!function(){e.exports=this.wp.i18n}()},10:function(e,t,n){var r; /*! Copyright (c) 2017 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;t0?!0===c?r.scrollTop(t,O.top+k.top):!1===c?r.scrollTop(t,O.top+j.top):k.top<0?r.scrollTop(t,O.top+k.top):r.scrollTop(t,O.top+j.top):i||((c=void 0===c||!!c)?r.scrollTop(t,O.top+k.top):r.scrollTop(t,O.top+j.top)),o&&(k.left<0||j.left>0?!0===a?r.scrollLeft(t,O.left+k.left):!1===a?r.scrollLeft(t,O.left+j.left):k.left<0?r.scrollLeft(t,O.left+k.left):r.scrollLeft(t,O.left+j.left):i||((a=void 0===a||!!a)?r.scrollLeft(t,O.left+k.left):r.scrollLeft(t,O.left+j.left)))}},112:function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t0?!0===c?r.scrollTop(t,O.top+k.top):!1===c?r.scrollTop(t,O.top+j.top):k.top<0?r.scrollTop(t,O.top+k.top):r.scrollTop(t,O.top+j.top):i||((c=void 0===c||!!c)?r.scrollTop(t,O.top+k.top):r.scrollTop(t,O.top+j.top)),o&&(k.left<0||j.left>0?!0===a?r.scrollLeft(t,O.left+k.left):!1===a?r.scrollLeft(t,O.left+j.left):k.left<0?r.scrollLeft(t,O.left+k.left):r.scrollLeft(t,O.left+j.left):i||((a=void 0===a||!!a)?r.scrollLeft(t,O.left+k.left):r.scrollLeft(t,O.left+j.left)))}},113:function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t-1},get:function(e){return r[n.indexOf(e)]},set:function(e,t){-1===n.indexOf(e)&&(n.push(e),r.push(t))},delete:function(e){var t=n.indexOf(e);t>-1&&(n.splice(t,1),r.splice(t,1))}}),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 c(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!o.has(e)){var t,n=null,r=null,c=null,a=function(){e.clientWidth!==r&&d()},l=function(t){window.removeEventListener("resize",a,!1),e.removeEventListener("input",d,!1),e.removeEventListener("keyup",d,!1),e.removeEventListener("autosize:destroy",l,!1),e.removeEventListener("autosize:update",d,!1),Object.keys(t).forEach((function(n){e.style[n]=t[n]})),o.delete(e)}.bind(e,{height:e.style.height,resize:e.style.resize,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",l,!1),"onpropertychange"in e&&"oninput"in e&&e.addEventListener("keyup",d,!1),window.addEventListener("resize",a,!1),e.addEventListener("input",d,!1),e.addEventListener("autosize:update",d,!1),e.style.overflowX="hidden",e.style.wordWrap="break-word",o.set(e,{destroy:l,update:d}),"vertical"===(t=window.getComputedStyle(e,null)).resize?e.style.resize="none":"both"===t.resize&&(e.style.resize="horizontal"),n="content-box"===t.boxSizing?-(parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)):parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth),isNaN(n)&&(n=0),d()}function s(t){var n=e.style.width;e.style.width="0px",e.offsetWidth,e.style.width=n,e.style.overflowY=t}function u(){if(0!==e.scrollHeight){var t=function(e){for(var t=[];e&&e.parentNode&&e.parentNode instanceof Element;)e.parentNode.scrollTop&&t.push({node:e.parentNode,scrollTop:e.parentNode.scrollTop}),e=e.parentNode;return t}(e),o=document.documentElement&&document.documentElement.scrollTop;e.style.height="",e.style.height=e.scrollHeight+n+"px",r=e.clientWidth,t.forEach((function(e){e.node.scrollTop=e.scrollTop})),o&&(document.documentElement.scrollTop=o)}}function d(){u();var t=Math.round(parseFloat(e.style.height)),n=window.getComputedStyle(e,null),r="content-box"===n.boxSizing?Math.round(parseFloat(n.height)):e.offsetHeight;if(r=0||(o[n]=e[n]);return o}},119: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}},12:function(e,t,n){"use strict";function r(e,t){for(var n=0;n= 0x80 (not a basic code point)","invalid-input":"Invalid input"},j=s-u,y=Math.floor,_=String.fromCharCode;function S(e){throw RangeError(k[e])}function C(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function E(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+C((e=e.replace(O,".")).split("."),t).join(".")}function w(e){for(var t,n,r=[],o=0,i=e.length;o=55296&&t<=56319&&o65535&&(t+=_((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=_(e)})).join("")}function B(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function T(e,t,n){var r=0;for(e=n?y(e/b):e>>1,e+=y(e/t);e>j*d>>1;r+=s)e=y(e/j);return y(r+(j+1)*e/(e+f))}function x(e){var t,n,r,o,i,c,a,f,b,g,v,O=[],k=e.length,j=0,_=h,C=p;for((n=e.lastIndexOf(m))<0&&(n=0),r=0;r=128&&S("not-basic"),O.push(e.charCodeAt(r));for(o=n>0?n+1:0;o=k&&S("invalid-input"),((f=(v=e.charCodeAt(o++))-48<10?v-22:v-65<26?v-65:v-97<26?v-97:s)>=s||f>y((l-j)/c))&&S("overflow"),j+=f*c,!(f<(b=a<=C?u:a>=C+d?d:a-C));a+=s)c>y(l/(g=s-b))&&S("overflow"),c*=g;C=T(j-i,t=O.length+1,0==i),y(j/t)>l-_&&S("overflow"),_+=y(j/t),j%=t,O.splice(j++,0,_)}return I(O)}function N(e){var t,n,r,o,i,c,a,f,b,g,v,O,k,j,C,E=[];for(O=(e=w(e)).length,t=h,n=0,i=p,c=0;c=t&&vy((l-n)/(k=r+1))&&S("overflow"),n+=(a-t)*k,t=a,c=0;cl&&S("overflow"),v==t){for(f=n,b=s;!(f<(g=b<=i?u:b>=i+d?d:b-i));b+=s)C=f-g,j=s-g,E.push(_(B(g+C%j,0))),f=y(C/j);E.push(_(B(f,0))),i=T(n,k,r==o),n=0,++r}++n,++t}return E.join("")}a={version:"1.3.2",ucs2:{decode:w,encode:I},decode:x,encode:N,toASCII:function(e){return E(e,(function(e){return v.test(e)?"xn--"+N(e):e}))},toUnicode:function(e){return E(e,(function(e){return g.test(e)?x(e.slice(4).toLowerCase()):e}))}},void 0===(o=function(){return a}.call(t,n,t,e))||(e.exports=o)}()}).call(this,n(121)(e),n(61))},121:function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},122:function(e,t,n){"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},123:function(e,t,n){"use strict";t.decode=t.parse=n(124),t.encode=t.stringify=n(125)},124:function(e,t,n){"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,n,i){t=t||"&",n=n||"=";var c={};if("string"!=typeof e||0===e.length)return c;var a=/\+/g;e=e.split(t);var l=1e3;i&&"number"==typeof i.maxKeys&&(l=i.maxKeys);var s=e.length;l>0&&s>l&&(s=l);for(var u=0;u=0?(d=h.substr(0,m),f=h.substr(m+1)):(d=h,f=""),b=decodeURIComponent(d),p=decodeURIComponent(f),r(c,b)?o(c[b])?c[b].push(p):c[b]=[c[b],p]:c[b]=p}return c};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},125:function(e,t,n){"use strict";var r=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,n,a){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?i(c(e),(function(c){var a=encodeURIComponent(r(c))+n;return o(e[c])?i(e[c],(function(e){return a+encodeURIComponent(r(e))})).join(t):a+encodeURIComponent(r(e[c]))})).join(t):a?encodeURIComponent(r(a))+n+encodeURIComponent(r(e)):""};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function i(e,t){if(e.map)return e.map(t);for(var n=[],r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},216:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.dispatch;return function(e){return function(n){return Array.isArray(n)?n.filter(Boolean).map(t):e(n)}}}},217:function(e,t,n){ +*/o=[e,t],void 0===(i="function"==typeof(r=function(e,t){"use strict";var n,r,o="function"==typeof Map?new Map:(n=[],r=[],{has:function(e){return n.indexOf(e)>-1},get:function(e){return r[n.indexOf(e)]},set:function(e,t){-1===n.indexOf(e)&&(n.push(e),r.push(t))},delete:function(e){var t=n.indexOf(e);t>-1&&(n.splice(t,1),r.splice(t,1))}}),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 c(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!o.has(e)){var t,n=null,r=null,c=null,a=function(){e.clientWidth!==r&&d()},l=function(t){window.removeEventListener("resize",a,!1),e.removeEventListener("input",d,!1),e.removeEventListener("keyup",d,!1),e.removeEventListener("autosize:destroy",l,!1),e.removeEventListener("autosize:update",d,!1),Object.keys(t).forEach((function(n){e.style[n]=t[n]})),o.delete(e)}.bind(e,{height:e.style.height,resize:e.style.resize,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",l,!1),"onpropertychange"in e&&"oninput"in e&&e.addEventListener("keyup",d,!1),window.addEventListener("resize",a,!1),e.addEventListener("input",d,!1),e.addEventListener("autosize:update",d,!1),e.style.overflowX="hidden",e.style.wordWrap="break-word",o.set(e,{destroy:l,update:d}),"vertical"===(t=window.getComputedStyle(e,null)).resize?e.style.resize="none":"both"===t.resize&&(e.style.resize="horizontal"),n="content-box"===t.boxSizing?-(parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)):parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth),isNaN(n)&&(n=0),d()}function s(t){var n=e.style.width;e.style.width="0px",e.offsetWidth,e.style.width=n,e.style.overflowY=t}function u(){if(0!==e.scrollHeight){var t=function(e){for(var t=[];e&&e.parentNode&&e.parentNode instanceof Element;)e.parentNode.scrollTop&&t.push({node:e.parentNode,scrollTop:e.parentNode.scrollTop}),e=e.parentNode;return t}(e),o=document.documentElement&&document.documentElement.scrollTop;e.style.height="",e.style.height=e.scrollHeight+n+"px",r=e.clientWidth,t.forEach((function(e){e.node.scrollTop=e.scrollTop})),o&&(document.documentElement.scrollTop=o)}}function d(){u();var t=Math.round(parseFloat(e.style.height)),n=window.getComputedStyle(e,null),r="content-box"===n.boxSizing?Math.round(parseFloat(n.height)):e.offsetHeight;if(r=0||(o[n]=e[n]);return o}},12:function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t= 0x80 (not a basic code point)","invalid-input":"Invalid input"},j=s-u,y=Math.floor,_=String.fromCharCode;function C(e){throw RangeError(k[e])}function E(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function S(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+E((e=e.replace(O,".")).split("."),t).join(".")}function w(e){for(var t,n,r=[],o=0,i=e.length;o=55296&&t<=56319&&o65535&&(t+=_((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=_(e)})).join("")}function B(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function T(e,t,n){var r=0;for(e=n?y(e/b):e>>1,e+=y(e/t);e>j*d>>1;r+=s)e=y(e/j);return y(r+(j+1)*e/(e+f))}function x(e){var t,n,r,o,i,c,a,f,b,g,v,O=[],k=e.length,j=0,_=h,E=p;for((n=e.lastIndexOf(m))<0&&(n=0),r=0;r=128&&C("not-basic"),O.push(e.charCodeAt(r));for(o=n>0?n+1:0;o=k&&C("invalid-input"),((f=(v=e.charCodeAt(o++))-48<10?v-22:v-65<26?v-65:v-97<26?v-97:s)>=s||f>y((l-j)/c))&&C("overflow"),j+=f*c,!(f<(b=a<=E?u:a>=E+d?d:a-E));a+=s)c>y(l/(g=s-b))&&C("overflow"),c*=g;E=T(j-i,t=O.length+1,0==i),y(j/t)>l-_&&C("overflow"),_+=y(j/t),j%=t,O.splice(j++,0,_)}return I(O)}function N(e){var t,n,r,o,i,c,a,f,b,g,v,O,k,j,E,S=[];for(O=(e=w(e)).length,t=h,n=0,i=p,c=0;c=t&&vy((l-n)/(k=r+1))&&C("overflow"),n+=(a-t)*k,t=a,c=0;cl&&C("overflow"),v==t){for(f=n,b=s;!(f<(g=b<=i?u:b>=i+d?d:b-i));b+=s)E=f-g,j=s-g,S.push(_(B(g+E%j,0))),f=y(E/j);S.push(_(B(f,0))),i=T(n,k,r==o),n=0,++r}++n,++t}return S.join("")}a={version:"1.3.2",ucs2:{decode:w,encode:I},decode:x,encode:N,toASCII:function(e){return S(e,(function(e){return v.test(e)?"xn--"+N(e):e}))},toUnicode:function(e){return S(e,(function(e){return g.test(e)?x(e.slice(4).toLowerCase()):e}))}},void 0===(o=function(){return a}.call(t,n,t,e))||(e.exports=o)}()}).call(this,n(122)(e),n(63))},122:function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},123:function(e,t,n){"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},124:function(e,t,n){"use strict";t.decode=t.parse=n(125),t.encode=t.stringify=n(126)},125:function(e,t,n){"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,n,i){t=t||"&",n=n||"=";var c={};if("string"!=typeof e||0===e.length)return c;var a=/\+/g;e=e.split(t);var l=1e3;i&&"number"==typeof i.maxKeys&&(l=i.maxKeys);var s=e.length;l>0&&s>l&&(s=l);for(var u=0;u=0?(d=h.substr(0,m),f=h.substr(m+1)):(d=h,f=""),b=decodeURIComponent(d),p=decodeURIComponent(f),r(c,b)?o(c[b])?c[b].push(p):c[b]=[c[b],p]:c[b]=p}return c};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},126:function(e,t,n){"use strict";var r=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,n,a){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?i(c(e),(function(c){var a=encodeURIComponent(r(c))+n;return o(e[c])?i(e[c],(function(e){return a+encodeURIComponent(r(e))})).join(t):a+encodeURIComponent(r(e[c]))})).join(t):a?encodeURIComponent(r(a))+n+encodeURIComponent(r(e)):""};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function i(e,t){if(e.map)return e.map(t);for(var n=[],r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},21:function(e,t){!function(){e.exports=this.React}()},216:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.dispatch;return function(e){return function(n){return Array.isArray(n)?n.filter(Boolean).map(t):e(n)}}}},217:function(e,t,n){ /*! diff v3.5.0 @@ -47,4 +47,4 @@ IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISI OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. @license */ -var r;r=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){"use strict";t.__esModule=!0,t.canonicalize=t.convertChangesToXML=t.convertChangesToDMP=t.merge=t.parsePatch=t.applyPatches=t.applyPatch=t.createPatch=t.createTwoFilesPatch=t.structuredPatch=t.diffArrays=t.diffJson=t.diffCss=t.diffSentences=t.diffTrimmedLines=t.diffLines=t.diffWordsWithSpace=t.diffWords=t.diffChars=t.Diff=void 0;var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r},c=n(2),a=n(3),l=n(5),s=n(6),u=n(7),d=n(8),f=n(9),b=n(10),p=n(11),h=n(13),m=n(14),g=n(16),v=n(17);t.Diff=i.default,t.diffChars=c.diffChars,t.diffWords=a.diffWords,t.diffWordsWithSpace=a.diffWordsWithSpace,t.diffLines=l.diffLines,t.diffTrimmedLines=l.diffTrimmedLines,t.diffSentences=s.diffSentences,t.diffCss=u.diffCss,t.diffJson=d.diffJson,t.diffArrays=f.diffArrays,t.structuredPatch=m.structuredPatch,t.createTwoFilesPatch=m.createTwoFilesPatch,t.createPatch=m.createPatch,t.applyPatch=b.applyPatch,t.applyPatches=b.applyPatches,t.parsePatch=p.parsePatch,t.merge=h.merge,t.convertChangesToDMP=g.convertChangesToDMP,t.convertChangesToXML=v.convertChangesToXML,t.canonicalize=d.canonicalize},function(e,t){"use strict";function n(){}function r(e,t,n,r,o){for(var i=0,c=t.length,a=0,l=0;ie.length?n:e})),s.value=e.join(d)}else s.value=e.join(n.slice(a,a+s.count));a+=s.count,s.added||(l+=s.count)}}var f=t[c-1];return c>1&&"string"==typeof f.value&&(f.added||f.removed)&&e.equals("",f.value)&&(t[c-2].value+=f.value,t.pop()),t}function o(e){return{newPos:e.newPos,components:e.components.slice(0)}}t.__esModule=!0,t.default=n,n.prototype={diff:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.callback;"function"==typeof n&&(i=n,n={}),this.options=n;var c=this;function a(e){return i?(setTimeout((function(){i(void 0,e)}),0),!0):e}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e));var l=(t=this.removeEmpty(this.tokenize(t))).length,s=e.length,u=1,d=l+s,f=[{newPos:-1,components:[]}],b=this.extractCommon(f[0],t,e,0);if(f[0].newPos+1>=l&&b+1>=s)return a([{value:this.join(t),count:t.length}]);function p(){for(var n=-1*u;n<=u;n+=2){var i=void 0,d=f[n-1],b=f[n+1],p=(b?b.newPos:0)-n;d&&(f[n-1]=void 0);var h=d&&d.newPos+1=l&&p+1>=s)return a(r(c,i.components,t,e,c.useLongestToken));f[n]=i}else f[n]=void 0}u++}if(i)!function e(){setTimeout((function(){if(u>d)return i();p()||e()}),0)}();else for(;u<=d;){var h=p();if(h)return h}},pushComponent:function(e,t,n){var r=e[e.length-1];r&&r.added===t&&r.removed===n?e[e.length-1]={count:r.count+1,added:t,removed:n}:e.push({count:1,added:t,removed:n})},extractCommon:function(e,t,n,r){for(var o=t.length,i=n.length,c=e.newPos,a=c-r,l=0;c+12&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof t&&(t=(0,o.parsePatch)(t)),Array.isArray(t)){if(t.length>1)throw new Error("applyPatch only works with a single input.");t=t[0]}var r=e.split(/\r\n|[\n\v\f\r\x85]/),i=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],a=t.hunks,l=n.compareLine||function(e,t,n,r){return t===r},s=0,u=n.fuzzFactor||0,d=0,f=0,b=void 0,p=void 0;function h(e,t){for(var n=0;n0?o[0]:" ",c=o.length>0?o.substr(1):o;if(" "===i||"-"===i){if(!l(t+1,r[t],i,c)&&++s>u)return!1;t++}}return!0}for(var m=0;m0?w[0]:" ",B=w.length>0?w.substr(1):w,T=S.linedelimiters[E];if(" "===I)C++;else if("-"===I)r.splice(C,1),i.splice(C,1);else if("+"===I)r.splice(C,0,B),i.splice(C,0,T),C++;else if("\\"===I){var x=S.lines[E-1]?S.lines[E-1][0]:null;"+"===x?b=!0:"-"===x&&(p=!0)}}}if(b)for(;!r[r.length-1];)r.pop(),i.pop();else p&&(r.push(""),i.push("\n"));for(var N=0;N1&&void 0!==arguments[1]?arguments[1]:{},n=e.split(/\r\n|[\n\v\f\r\x85]/),r=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],o=[],i=0;function c(){var e={};for(o.push(e);i0?u(a.lines.slice(-l.context)):[],f-=p.length,b-=p.length)}(c=p).push.apply(c,o(r.map((function(e){return(t.added?"+":"-")+e})))),t.added?m+=r.length:h+=r.length}else{if(f)if(r.length<=2*l.context&&e=s.length-2&&r.length<=l.context){var j=/\n$/.test(n),y=/\n$/.test(i);0!=r.length||j?j&&y||p.push("\\ No newline at end of file"):p.splice(k.oldLines,0,"\\ No newline at end of file")}d.push(k),f=0,b=0,p=[]}h+=r.length,m+=r.length}},v=0;ve.length)return!1;for(var n=0;n"):r.removed&&t.push(""),t.push((o=r.value,void 0,o.replace(/&/g,"&").replace(//g,">").replace(/"/g,"""))),r.added?t.push(""):r.removed&&t.push("")}var o;return t.join("")}}])},e.exports=r()},218:function(e,t){var n=e.exports=function(e){return new r(e)};function r(e){this.value=e}function o(e,t,n){var r=[],o=[],a=!0;return function e(d){var f=n?i(d):d,b={},p=!0,h={node:f,node_:d,path:[].concat(r),parent:o[o.length-1],parents:o,key:r.slice(-1)[0],isRoot:0===r.length,level:r.length,circular:null,update:function(e,t){h.isRoot||(h.parent.node[h.key]=e),h.node=e,t&&(p=!1)},delete:function(e){delete h.parent.node[h.key],e&&(p=!1)},remove:function(e){l(h.parent.node)?h.parent.node.splice(h.key,1):delete h.parent.node[h.key],e&&(p=!1)},keys:null,before:function(e){b.before=e},after:function(e){b.after=e},pre:function(e){b.pre=e},post:function(e){b.post=e},stop:function(){a=!1},block:function(){p=!1}};if(!a)return h;function m(){if("object"==typeof h.node&&null!==h.node){h.keys&&h.node_===h.node||(h.keys=c(h.node)),h.isLeaf=0==h.keys.length;for(var e=0;e0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;return!W(t,n)||(n.colors||e).length>0}(t,n,e)}))}))((function(e){var t=e.children,n=e.colors,r=e.colorSettings,o=e.disableCustomColors,i=e.title,c=Object(M.a)(e,["children","colors","colorSettings","disableCustomColors","title"]),a=Object(u.createElement)("span",{className:"editor-panel-color-settings__panel-title block-editor-panel-color-settings__panel-title"},i,function(e,t){return e.map((function(e,n){var r=e.value,o=e.label,i=e.colors;if(!r)return null;var c=k(i||t,r),a=c&&c.name,l=Object(F.sprintf)(G,o.toLowerCase(),a||r);return Object(u.createElement)(U.ColorIndicator,{key:n,colorValue:r,"aria-label":l})}))}(r,n));return Object(u.createElement)(U.PanelBody,Object(s.a)({className:"editor-panel-color-settings block-editor-panel-color-settings",title:a},c),r.map((function(e,t){return Object(u.createElement)(K,Object(s.a)({key:t},Object(l.a)({colors:n,disableCustomColors:o},e)))})),t)})),$=H(q),Y=n(44);function X(e){var t=e.tinyBackgroundColor,n=e.tinyTextColor,r=e.backgroundColor,o=e.textColor,i=t.getBrightness()=24?"large":"small"})?null:Object(u.createElement)(X,{backgroundColor:t,textColor:c,tinyBackgroundColor:a,tinyTextColor:l})},J=Object(u.createContext)({name:"",isSelected:!1,focusedElement:null,setFocusedElement:b.noop,clientId:null}),Q=J.Provider,ee=J.Consumer;function te(){return Object(u.useContext)(J)}var ne=function(e){return Object(p.createHigherOrderComponent)((function(t){return function(n){return Object(u.createElement)(ee,null,(function(r){return Object(u.createElement)(t,Object(s.a)({},n,e(r,n)))}))}}),"withBlockEditContext")},re=Object(p.createHigherOrderComponent)((function(e){return function(t){return Object(u.createElement)(ee,null,(function(n){return n.isSelected&&Object(u.createElement)(e,t)}))}}),"ifBlockEditSelected"),oe=Object(U.createSlotFill)("InspectorControls"),ie=oe.Fill,ce=oe.Slot,ae=re(ie);ae.Slot=ce;var le=ae,se=Object(U.withFilters)("editor.BlockEdit")((function(e){var t=e.attributes,n=void 0===t?{}:t,r=e.name,o=Object(i.getBlockType)(r);if(!o)return null;var c=Object(i.hasBlockSupport)(o,"className",!0)?Object(i.getBlockDefaultClassName)(r):null,a=f()(c,n.className),l=o.edit||o.save;return Object(u.createElement)(l,Object(s.a)({},e,{className:a}))})),ue=function(e){function t(){var e;return Object(y.a)(this,t),(e=Object(S.a)(this,Object(C.a)(t).apply(this,arguments))).propsToContext=D()(e.propsToContext.bind(Object(E.a)(e)),{maxSize:1}),e}return Object(w.a)(t,e),Object(_.a)(t,[{key:"propsToContext",value:function(e,t,n,r,o){return{name:e,isSelected:t,clientId:n,onFocus:r,onCaretVerticalPositionChange:o}}},{key:"render",value:function(){var e=this.props,t=e.name,n=e.isSelected,r=e.clientId,o=e.onFocus,i=e.onCaretVerticalPositionChange,c=this.propsToContext(t,n,r,o,i);return Object(u.createElement)(Q,{value:c},Object(u.createElement)(se,this.props))}}]),t}(u.Component),de=window,fe=de.getComputedStyle,be=de.Node,pe=[],he=function(e,t,n){return"function"==typeof e?e(t):!0===e?n:e},me=function(e){var t=e.title,n=e.colorSettings,r=e.colorPanelProps,o=e.contrastCheckers,i=e.detectedBackgroundColorRef,c=e.detectedColorRef,a=e.panelChildren;return Object(u.createElement)($,Object(s.a)({title:t,initialOpen:!1,colorSettings:Object.values(n)},r),o&&(Array.isArray(o)?o.map((function(e){var t=e.backgroundColor,r=e.textColor,o=Object(M.a)(e,["backgroundColor","textColor"]);return t=he(t,n,i.current),r=he(r,n,c.current),Object(u.createElement)(Z,Object(s.a)({key:"".concat(t,"-").concat(r),backgroundColor:t,textColor:r},o))})):Object(b.map)(n,(function(e){var t=e.value,r=o.backgroundColor,a=o.textColor;return r=he(r||t,n,i.current),a=he(a||t,n,c.current),Object(u.createElement)(Z,Object(s.a)({},o,{key:"".concat(r,"-").concat(a),backgroundColor:r,textColor:a}))}))),"function"==typeof a?a(n):a)},ge=function(e){return Object(u.createElement)(le,null,Object(u.createElement)(me,e))};function ve(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{panelTitle:Object(F.__)("Color Settings")},n=t.panelTitle,r=void 0===n?Object(F.__)("Color Settings"):n,o=t.colorPanelProps,i=t.contrastCheckers,c=t.panelChildren,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],s=te().clientId,d=Object(m.useSelect)((function(e){var t=e("core/block-editor"),n=t.getBlockAttributes,r=(0,t.getSettings)().colors;return{attributes:n(s),settingsColors:r&&!0!==r?r:pe}}),[s]),p=d.attributes,h=d.settingsColors,g=Object(m.useDispatch)("core/block-editor").updateBlockAttributes,v=Object(u.useCallback)((function(e){return g(s,e)}),[g,s]),O=Object(u.useMemo)((function(){return D()((function(e,t,n,r,o,i){return function(c){var a=c.children,s=c.className,d=void 0===s?"":s,p=c.style,h=void 0===p?{}:p;return(u.Children.map(a,(function(c){var a,s={};return r?s=Object(I.a)({},t,o):i&&(s=Object(I.a)({},t,i)),Object(u.cloneElement)(c,{className:f()(d,c.props.className,(a={},Object(I.a)(a,"has-".concat(Object(b.kebabCase)(r),"-").concat(Object(b.kebabCase)(t)),r),Object(I.a)(a,n||"has-".concat(Object(b.kebabCase)(e)),r||i),a)),style:Object(l.a)({},s,h,c.props.style||{})})})))}}),{maxSize:e.length})}),[e.length]),k=Object(u.useMemo)((function(){return D()((function(e,t){return function(n){var r=t.find((function(e){return e.color===n}));v(Object(I.a)({},r?Object(b.camelCase)("custom ".concat(e)):e,void 0)),v(Object(I.a)({},r?e:Object(b.camelCase)("custom ".concat(e)),r?r.slug:n))}}),{maxSize:e.length})}),[v,e.length]),j=Object(u.useRef)(),y=Object(u.useRef)(),_=Object(u.useMemo)((function(){if(i){var e=!1,t=!1,n=!0,r=!1,o=void 0;try{for(var c,a=Object(b.castArray)(i)[Symbol.iterator]();!(n=(c=a.next()).done);n=!0){var l=c.value,s=l.backgroundColor,d=l.textColor;if(e||(e=!0===s),t||(t=!0===d),e&&t)break}}catch(e){r=!0,o=e}finally{try{n||null==a.return||a.return()}finally{if(r)throw o}}return(e||t)&&Object(U.withFallbackStyles)((function(t,n){var r,o=n.querySelector,i=n.backgroundColorSelector,c=void 0===i?o:i,a=n.textColorSelector,l=void 0===a?o:a,s=t,u=t;c&&(s=t.parentNode.querySelector(c)),l&&(u=t.parentNode.querySelector(l));var d=fe(u).color;if(e)for(r=fe(s).backgroundColor;"rgba(0, 0, 0, 0)"===r&&s.parentNode&&s.parentNode===be.ELEMENT_NODE;)s=s.parentNode,r=fe(s).backgroundColor;return j.current=r,y.current=d,{backgroundColor:r,color:d}}))((function(){return Object(u.createElement)(u.Fragment,null)}))}}),[e.reduce((function(e,t){return"".concat(e," | ").concat(p[t.name]," | ").concat(p[Object(b.camelCase)("custom ".concat(t.name))])}),"")].concat(Object(R.a)(a)));return Object(u.useMemo)((function(){var t={},n=e.reduce((function(e,n){"string"==typeof n&&(n={name:n});var r=Object(l.a)({},n,{color:p[n.name]}),o=r.name,i=r.property,c=void 0===i?o:i,a=r.className,s=r.panelLabel,u=void 0===s?Object(b.startCase)(o):s,d=r.componentName,f=void 0===d?u.replace(/\s/g,""):d,m=r.color,g=void 0===m?n.color:m,v=r.colors,j=void 0===v?h:v,y=p[Object(b.camelCase)("custom ".concat(o))],_=y?void 0:j.find((function(e){return e.slug===g}));return e[f]=O(o,c,a,g,_&&_.color,y),e[f].displayName=f,e[f].color=y||_&&_.color,e[f].slug=g,e[f].setColor=k(o,j),t[f]={value:_?_.color:p[Object(b.camelCase)("custom ".concat(o))],onChange:e[f].setColor,label:u,colors:j},j||delete t[f].colors,e}),{}),a={title:r,colorSettings:t,colorPanelProps:o,contrastCheckers:i,detectedBackgroundColorRef:j,detectedColorRef:y,panelChildren:c};return Object(l.a)({},n,{ColorPanel:Object(u.createElement)(me,a),InspectorControlsColorPanel:Object(u.createElement)(ge,a),ColorDetector:_})}),[p,v].concat(Object(R.a)(a)))}function Oe(e){if(e)return"has-".concat(e,"-gradient-background")}function ke(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.gradientAttribute,n=void 0===t?"gradient":t,r=e.customGradientAttribute,o=void 0===r?"customGradient":r,i=te().clientId,c=Object(m.useSelect)((function(e){var t=e("core/block-editor"),r=t.getBlockAttributes,c=t.getSettings,a=r(i);return{gradient:a[n],customGradient:a[o],gradients:c().gradients}}),[i]),a=c.gradients,l=c.gradient,s=c.customGradient,d=Object(m.useDispatch)("core/block-editor").updateBlockAttributes,f=Object(u.useCallback)((function(e){var t,r,c=function(e,t){var n=Object(b.find)(e,["gradient",t]);return n&&n.slug}(a,e);c?d(i,(r={},Object(I.a)(r,n,c),Object(I.a)(r,o,void 0),r)):d(i,(t={},Object(I.a)(t,n,void 0),Object(I.a)(t,o,e),t))}),[a,i,d]);return{gradientClass:Oe(l),gradientValue:l?function(e,t){var n=Object(b.find)(e,["slug",t]);return n&&n.gradient}(a,l):s,setGradient:f}}var je=function(e,t,n){if(t){var r=Object(b.find)(e,{slug:t});if(r)return r}return{size:n}};function ye(e){if(e)return"has-".concat(Object(b.kebabCase)(e),"-font-size")}var _e=Object(m.withSelect)((function(e){var t=e("core/block-editor").getSettings();return{disableCustomFontSizes:t.disableCustomFontSizes,fontSizes:t.fontSizes}}))(U.FontSizePicker),Se=function(){for(var e=arguments.length,t=new Array(e),n=0;n3&&void 0!==arguments[3]?arguments[3]:1,o=Object(R.a)(e);return o.splice(t,r),tt(o,e.slice(t,t+r),n)}function rt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=Object(I.a)({},t,[]);return e.forEach((function(e){var r=e.clientId,o=e.innerBlocks;n[t].push(r),Object.assign(n,rt(o,r))})),n}function ot(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e.reduce((function(e,n){return Object.assign(e,Object(I.a)({},n.clientId,t),ot(n.innerBlocks,n.clientId))}),{})}function it(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:b.identity,n={},r=Object(R.a)(e);r.length;){var o=r.shift(),i=o.innerBlocks,c=Object(M.a)(o,["innerBlocks"]);r.push.apply(r,Object(R.a)(i)),n[c.clientId]=t(c)}return n}function ct(e){return it(e,(function(e){return Object(b.omit)(e,"attributes")}))}function at(e){return it(e,(function(e){return e.attributes}))}function lt(e,t){return e===t?Object(l.a)({},e):t}function st(e,t){return"UPDATE_BLOCK_ATTRIBUTES"===e.type&&void 0!==t&&"UPDATE_BLOCK_ATTRIBUTES"===t.type&&e.clientId===t.clientId&&(n=e.attributes,r=t.attributes,Object(b.isEqual)(Object(b.keys)(n),Object(b.keys)(r)));var n,r}var ut=function(e){return e.reduce((function(e,t){return e[t]={},e}),{})};var dt=Object(b.flow)(m.combineReducers,(function(e){return function(t,n){if(t&&"SAVE_REUSABLE_BLOCK_SUCCESS"===n.type){var r=n.id,o=n.updatedId;if(r===o)return t;(t=Object(l.a)({},t)).attributes=Object(b.mapValues)(t.attributes,(function(e,n){return"core/block"===t.byClientId[n].name&&e.ref===r?Object(l.a)({},e,{ref:o}):e}))}return e(t,n)}}),(function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,r=e(t,n);if(r===t)return t;r.cache=t.cache?t.cache:{};var o=function(e){return e.reduce((function(e,n){var r=n;do{e.push(r),r=t.parents[r]}while(r);return e}),[])};switch(n.type){case"RESET_BLOCKS":r.cache=Object(b.mapValues)(it(n.blocks),(function(){return{}}));break;case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":var i=Object(b.keys)(it(n.blocks));n.rootClientId&&i.push(n.rootClientId),r.cache=Object(l.a)({},r.cache,ut(o(i)));break;case"UPDATE_BLOCK":case"UPDATE_BLOCK_ATTRIBUTES":r.cache=Object(l.a)({},r.cache,ut(o([n.clientId])));break;case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":var c=ut(o(n.replacedClientIds));r.cache=Object(l.a)({},Object(b.omit)(r.cache,n.replacedClientIds),Object(b.omit)(c,n.replacedClientIds),ut(Object(b.keys)(it(n.blocks))));break;case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":r.cache=Object(l.a)({},Object(b.omit)(r.cache,n.removedClientIds),ut(Object(b.difference)(o(n.clientIds),n.clientIds)));break;case"MOVE_BLOCK_TO_POSITION":var a=[n.clientId];n.fromRootClientId&&a.push(n.fromRootClientId),n.toRootClientId&&a.push(n.toRootClientId),r.cache=Object(l.a)({},r.cache,ut(o(a)));break;case"MOVE_BLOCKS_UP":case"MOVE_BLOCKS_DOWN":var s=[];n.rootClientId&&s.push(n.rootClientId),r.cache=Object(l.a)({},r.cache,ut(o(s)));break;case"SAVE_REUSABLE_BLOCK_SUCCESS":var u=Object(b.keys)(Object(b.omitBy)(r.attributes,(function(e,t){return"core/block"!==r.byClientId[t].name||e.ref!==n.updatedId})));r.cache=Object(l.a)({},r.cache,ut(o(u)))}return r}}),(function(e){return function(t,n){var r=function(e){for(var n=e,r=0;r1&&void 0!==arguments[1]?arguments[1]:"";return Object(b.reduce)(t[n],(function(n,r){return[].concat(Object(R.a)(n),[r],Object(R.a)(e(t,r)))}),[])}(t.order);return Object(l.a)({},t,{byClientId:Object(l.a)({},Object(b.omit)(t.byClientId,r),ct(n.blocks)),attributes:Object(l.a)({},Object(b.omit)(t.attributes,r),at(n.blocks)),order:Object(l.a)({},Object(b.omit)(t.order,r),rt(n.blocks)),parents:Object(l.a)({},Object(b.omit)(t.parents,r),ot(n.blocks)),cache:Object(l.a)({},Object(b.omit)(t.cache,r),Object(b.mapValues)(it(n.blocks),(function(){return{}})))})}return e(t,n)}}),(function(e){var t;return function(n,r){var o=e(n,r),i="MARK_LAST_CHANGE_AS_PERSISTENT"===r.type;if(n===o&&!i){var c=Object(b.get)(n,["isPersistentChange"],!0);return n.isPersistentChange===c?n:Object(l.a)({},o,{isPersistentChange:c})}return o=Object(l.a)({},o,{isPersistentChange:i||!st(r,t)}),t=r,o}}),(function(e){var t=new Set(["RECEIVE_BLOCKS"]);return function(n,r){var o=e(n,r);return o!==n&&(o.isIgnoredChange=t.has(r.type)),o}}))({byClientId:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RESET_BLOCKS":return ct(t.blocks);case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":return Object(l.a)({},e,ct(t.blocks));case"UPDATE_BLOCK":if(!e[t.clientId])return e;var n=Object(b.omit)(t.updates,"attributes");return Object(b.isEmpty)(n)?e:Object(l.a)({},e,Object(I.a)({},t.clientId,Object(l.a)({},e[t.clientId],n)));case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":return t.blocks?Object(l.a)({},Object(b.omit)(e,t.replacedClientIds),ct(t.blocks)):e;case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(b.omit)(e,t.removedClientIds)}return e},attributes:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RESET_BLOCKS":return at(t.blocks);case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":return Object(l.a)({},e,at(t.blocks));case"UPDATE_BLOCK":return e[t.clientId]&&t.updates.attributes?Object(l.a)({},e,Object(I.a)({},t.clientId,Object(l.a)({},e[t.clientId],t.updates.attributes))):e;case"UPDATE_BLOCK_ATTRIBUTES":if(!e[t.clientId])return e;var n=Object(b.reduce)(t.attributes,(function(n,r,o){return r!==n[o]&&((n=lt(e[t.clientId],n))[o]=r),n}),e[t.clientId]);return n===e[t.clientId]?e:Object(l.a)({},e,Object(I.a)({},t.clientId,n));case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":return t.blocks?Object(l.a)({},Object(b.omit)(e,t.replacedClientIds),at(t.blocks)):e;case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(b.omit)(e,t.removedClientIds)}return e},order:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RESET_BLOCKS":return rt(t.blocks);case"RECEIVE_BLOCKS":return Object(l.a)({},e,Object(b.omit)(rt(t.blocks),""));case"INSERT_BLOCKS":var n=t.rootClientId,r=void 0===n?"":n,o=e[r]||[],i=rt(t.blocks,r),c=t.index,a=void 0===c?o.length:c;return Object(l.a)({},e,i,Object(I.a)({},r,tt(o,i[r],a)));case"MOVE_BLOCK_TO_POSITION":var s,u=t.fromRootClientId,d=void 0===u?"":u,f=t.toRootClientId,p=void 0===f?"":f,h=t.clientId,m=t.index,g=void 0===m?e[p].length:m;if(d===p){var v=e[p],O=v.indexOf(h);return Object(l.a)({},e,Object(I.a)({},p,nt(e[p],O,g)))}return Object(l.a)({},e,(s={},Object(I.a)(s,d,Object(b.without)(e[d],h)),Object(I.a)(s,p,tt(e[p],h,g)),s));case"MOVE_BLOCKS_UP":var k=t.clientIds,j=t.rootClientId,y=void 0===j?"":j,_=Object(b.first)(k),S=e[y];if(!S.length||_===Object(b.first)(S))return e;var C=S.indexOf(_);return Object(l.a)({},e,Object(I.a)({},y,nt(S,C,C-1,k.length)));case"MOVE_BLOCKS_DOWN":var E=t.clientIds,w=t.rootClientId,B=void 0===w?"":w,T=Object(b.first)(E),x=Object(b.last)(E),N=e[B];if(!N.length||x===Object(b.last)(N))return e;var L=N.indexOf(T);return Object(l.a)({},e,Object(I.a)({},B,nt(N,L,L+1,E.length)));case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":var A=t.clientIds;if(!t.blocks)return e;var M=rt(t.blocks);return Object(b.flow)([function(e){return Object(b.omit)(e,t.replacedClientIds)},function(e){return Object(l.a)({},e,Object(b.omit)(M,""))},function(e){return Object(b.mapValues)(e,(function(e){return Object(b.reduce)(e,(function(e,t){return t===A[0]?[].concat(Object(R.a)(e),Object(R.a)(M[""])):(-1===A.indexOf(t)&&e.push(t),e)}),[])}))}])(e);case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(b.flow)([function(e){return Object(b.omit)(e,t.removedClientIds)},function(e){return Object(b.mapValues)(e,(function(e){return b.without.apply(void 0,[e].concat(Object(R.a)(t.removedClientIds)))}))}])(e)}return e},parents:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RESET_BLOCKS":return ot(t.blocks);case"RECEIVE_BLOCKS":return Object(l.a)({},e,ot(t.blocks));case"INSERT_BLOCKS":return Object(l.a)({},e,ot(t.blocks,t.rootClientId||""));case"MOVE_BLOCK_TO_POSITION":return Object(l.a)({},e,Object(I.a)({},t.clientId,t.toRootClientId||""));case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(l.a)({},Object(b.omit)(e,t.replacedClientIds),ot(t.blocks,e[t.clientIds[0]]));case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(b.omit)(e,t.removedClientIds)}return e}});function ft(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"CLEAR_SELECTED_BLOCK":return e.clientId?{}:e;case"SELECT_BLOCK":return t.clientId===e.clientId?e:{clientId:t.clientId};case"REPLACE_INNER_BLOCKS":case"INSERT_BLOCKS":return t.updateSelection?{clientId:t.blocks[0].clientId}:e;case"REMOVE_BLOCKS":return t.clientIds&&t.clientIds.length&&-1!==t.clientIds.indexOf(e.clientId)?{}:e;case"REPLACE_BLOCKS":if(-1===t.clientIds.indexOf(e.clientId))return e;var n=t.indexToSelect||t.blocks.length-1,r=t.blocks[n];return r?r.clientId===e.clientId?e:{clientId:r.clientId}:{}}return e}var bt=Object(m.combineReducers)({blocks:dt,isTyping:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case"START_TYPING":return!0;case"STOP_TYPING":return!1}return e},isDraggingBlocks:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case"START_DRAGGING_BLOCKS":return!0;case"STOP_DRAGGING_BLOCKS":return!1}return e},isCaretWithinFormattedText:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case"ENTER_FORMATTED_TEXT":return!0;case"EXIT_FORMATTED_TEXT":return!1}return e},selectionStart:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SELECTION_CHANGE":return{clientId:t.clientId,attributeKey:t.attributeKey,offset:t.startOffset};case"RESET_SELECTION":return t.selectionStart;case"MULTI_SELECT":return{clientId:t.start}}return ft(e,t)},selectionEnd:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SELECTION_CHANGE":return{clientId:t.clientId,attributeKey:t.attributeKey,offset:t.endOffset};case"RESET_SELECTION":return t.selectionEnd;case"MULTI_SELECT":return{clientId:t.end}}return ft(e,t)},isMultiSelecting:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case"START_MULTI_SELECT":return!0;case"STOP_MULTI_SELECT":return!1}return e},isSelectionEnabled:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"TOGGLE_SELECTION":return t.isSelectionEnabled}return e},initialPosition:function(e,t){return"SELECT_BLOCK"===t.type?t.initialPosition:"REMOVE_BLOCKS"===t.type?e:void 0},blocksMode:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if("TOGGLE_BLOCK_MODE"===t.type){var n=t.clientId;return Object(l.a)({},e,Object(I.a)({},n,e[n]&&"html"===e[n]?"visual":"html"))}return e},blockListSettings:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"REPLACE_BLOCKS":case"REMOVE_BLOCKS":return Object(b.omit)(e,t.clientIds);case"UPDATE_BLOCK_LIST_SETTINGS":var n=t.clientId;return t.settings?Object(b.isEqual)(e[n],t.settings)?e:Object(l.a)({},e,Object(I.a)({},n,t.settings)):e.hasOwnProperty(n)?Object(b.omit)(e,n):e}return e},insertionPoint:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SHOW_INSERTION_POINT":return{rootClientId:t.rootClientId,index:t.index};case"HIDE_INSERTION_POINT":return null}return e},template:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{isValid:!0},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_TEMPLATE_VALIDITY":return Object(l.a)({},e,{isValid:t.isValid})}return e},settings:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:et,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"UPDATE_SETTINGS":return Object(l.a)({},e,t.settings)}return e},preferences:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Qe,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"INSERT_BLOCKS":case"REPLACE_BLOCKS":return t.blocks.reduce((function(e,n){var r=n.name,o={name:n.name};return Object(i.isReusableBlock)(n)&&(o.ref=n.attributes.ref,r+="/"+n.attributes.ref),Object(l.a)({},e,{insertUsage:Object(l.a)({},e.insertUsage,Object(I.a)({},r,{time:t.time,count:e.insertUsage[r]?e.insertUsage[r].count+1:1,insert:o}))})}),e)}return e},lastBlockAttributesChange:function(e,t){switch(t.type){case"UPDATE_BLOCK":if(!t.updates.attributes)break;return Object(I.a)({},t.clientId,t.updates.attributes);case"UPDATE_BLOCK_ATTRIBUTES":return Object(I.a)({},t.clientId,t.attributes)}return null},isNavigationMode:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return"SET_NAVIGATION_MODE"===t.type?t.isNavigationMode:e},automaticChangeStatus:function(e,t){switch(t.type){case"MARK_AUTOMATIC_CHANGE":return"pending";case"MARK_AUTOMATIC_CHANGE_FINAL":return"pending"===e?"final":void 0;case"SELECTION_CHANGE":return"final"!==e?e:void 0;case"STOP_TYPING":return e}}}),pt=n(70),ht=n.n(pt),mt=n(216),gt=n.n(mt),vt=n(31),Ot=n(23),kt=n.n(Ot);function jt(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o1&&void 0!==arguments[1]?arguments[1]:null,clientId:e}}function Dt(e){var t;return kt.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,jt("core/block-editor","getPreviousBlockClientId",e);case 2:if(!(t=n.sent)){n.next=6;break}return n.next=6,Pt(t,-1);case 6:case"end":return n.stop()}}),St)}function Ft(e){var t;return kt.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,jt("core/block-editor","getNextBlockClientId",e);case 2:if(!(t=n.sent)){n.next=6;break}return n.next=6,Pt(t);case 6:case"end":return n.stop()}}),Ct)}function Ut(){return{type:"START_MULTI_SELECT"}}function Ht(){return{type:"STOP_MULTI_SELECT"}}function Vt(e,t){return{type:"MULTI_SELECT",start:e,end:t}}function zt(){return{type:"CLEAR_SELECTED_BLOCK"}}function Kt(){return{type:"TOGGLE_SELECTION",isSelectionEnabled:!(arguments.length>0&&void 0!==arguments[0])||arguments[0]}}function Wt(e,t){var n=Object(b.get)(t,["__experimentalPreferredStyleVariations","value"],{});return e.map((function(e){var t=e.name;if(!n[t])return e;var r=Object(b.get)(e,["attributes","className"]);if(Object(b.includes)(r,"is-style-"))return e;var o=e.attributes,i=void 0===o?{}:o,c=n[t];return Object(l.a)({},e,{attributes:Object(l.a)({},i,{className:"".concat(r||""," is-style-").concat(c).trim()})})}))}function Gt(e,t,n){var r,o,i;return kt.a.wrap((function(c){for(;;)switch(c.prev=c.next){case 0:return e=Object(b.castArray)(e),c.t0=Wt,c.t1=Object(b.castArray)(t),c.next=5,jt("core/block-editor","getSettings");case 5:return c.t2=c.sent,t=(0,c.t0)(c.t1,c.t2),c.next=9,jt("core/block-editor","getBlockRootClientId",Object(b.first)(e));case 9:r=c.sent,o=0;case 11:if(!(o1&&void 0!==a[1]?a[1]:"",n=a.length>2&&void 0!==a[2]?a[2]:"",r=a.length>3?a[3]:void 0,l.next=5,jt("core/block-editor","getTemplateLock",t);case 5:if("all"!==(o=l.sent)){l.next=8;break}return l.abrupt("return");case 8:if(i={type:"MOVE_BLOCK_TO_POSITION",fromRootClientId:t,toRootClientId:n,clientId:e,index:r},t!==n){l.next=13;break}return l.next=12,i;case 12:return l.abrupt("return");case 13:if("insert"!==o){l.next=15;break}return l.abrupt("return");case 15:return l.next=17,jt("core/block-editor","getBlockName",e);case 17:return c=l.sent,l.next=20,jt("core/block-editor","canInsertBlockType",c,n);case 20:if(!l.sent){l.next=24;break}return l.next=24,i;case 24:case"end":return l.stop()}}),wt)}function Jt(e,t,n){return Qt([e],t,n,!(arguments.length>3&&void 0!==arguments[3])||arguments[3])}function Qt(e,t,n){var r,o,i,c,a,l,s,u,d=arguments;return kt.a.wrap((function(f){for(;;)switch(f.prev=f.next){case 0:return r=!(d.length>3&&void 0!==d[3])||d[3],f.t0=Wt,f.t1=Object(b.castArray)(e),f.next=5,jt("core/block-editor","getSettings");case 5:f.t2=f.sent,e=(0,f.t0)(f.t1,f.t2),o=[],i=!0,c=!1,a=void 0,f.prev=11,l=e[Symbol.iterator]();case 13:if(i=(s=l.next()).done){f.next=22;break}return u=s.value,f.next=17,jt("core/block-editor","canInsertBlockType",u.name,n);case 17:f.sent&&o.push(u);case 19:i=!0,f.next=13;break;case 22:f.next=28;break;case 24:f.prev=24,f.t3=f.catch(11),c=!0,a=f.t3;case 28:f.prev=28,f.prev=29,i||null==l.return||l.return();case 31:if(f.prev=31,!c){f.next=34;break}throw a;case 34:return f.finish(31);case 35:return f.finish(28);case 36:if(!o.length){f.next=38;break}return f.abrupt("return",{type:"INSERT_BLOCKS",blocks:o,index:t,rootClientId:n,time:Date.now(),updateSelection:r});case 38:case"end":return f.stop()}}),It,null,[[11,24,28,36],[29,,31,35]])}function en(e,t){return{type:"SHOW_INSERTION_POINT",rootClientId:e,index:t}}function tn(){return{type:"HIDE_INSERTION_POINT"}}function nn(e){return{type:"SET_TEMPLATE_VALIDITY",isValid:e}}function rn(){return{type:"SYNCHRONIZE_TEMPLATE"}}function on(e,t){return{type:"MERGE_BLOCKS",blocks:[e,t]}}function cn(e){var t,n=arguments;return kt.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(t=!(n.length>1&&void 0!==n[1])||n[1],e=Object(b.castArray)(e),!t){r.next=5;break}return r.next=5,Dt(e[0]);case 5:return r.next=7,{type:"REMOVE_BLOCKS",clientIds:e};case 7:return r.delegateYield(xt(),"t0",8);case 8:case"end":return r.stop()}}),Bt)}function an(e,t){return cn([e],t)}function ln(e,t){return{type:"REPLACE_INNER_BLOCKS",rootClientId:e,blocks:t,updateSelection:!(arguments.length>2&&void 0!==arguments[2])||arguments[2],time:Date.now()}}function sn(e){return{type:"TOGGLE_BLOCK_MODE",clientId:e}}function un(){return{type:"START_TYPING"}}function dn(){return{type:"STOP_TYPING"}}function fn(){return{type:"START_DRAGGING_BLOCKS"}}function bn(){return{type:"STOP_DRAGGING_BLOCKS"}}function pn(){return{type:"ENTER_FORMATTED_TEXT"}}function hn(){return{type:"EXIT_FORMATTED_TEXT"}}function mn(e,t,n,r){return{type:"SELECTION_CHANGE",clientId:e,attributeKey:t,startOffset:n,endOffset:r}}function gn(e,t,n){var r=Object(i.getDefaultBlockName)();if(r)return Jt(Object(i.createBlock)(r,e),n,t)}function vn(e,t){return{type:"UPDATE_BLOCK_LIST_SETTINGS",clientId:e,settings:t}}function On(e){return{type:"UPDATE_SETTINGS",settings:e}}function kn(e,t){return{type:"SAVE_REUSABLE_BLOCK_SUCCESS",id:e,updatedId:t}}function jn(){return{type:"MARK_LAST_CHANGE_AS_PERSISTENT"}}function yn(){return{type:"MARK_AUTOMATIC_CHANGE"}}function _n(){var e,t=arguments;return kt.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return e=!(t.length>0&&void 0!==t[0])||t[0],n.next=3,{type:"SET_NAVIGATION_MODE",isNavigationMode:e};case 3:e?Object(Y.speak)(Object(F.__)("You are currently in navigation mode. Navigate blocks using the Tab key. To exit navigation mode and edit the selected block, press Enter.")):Object(Y.speak)(Object(F.__)("You are currently in edit mode. To return to the navigation mode, press Escape."));case 4:case"end":return n.stop()}}),Tt)}var Sn=n(38),Cn=3,En=2,wn=1,In=0,Bn=Object(u.createElement)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(u.createElement)(U.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(u.createElement)(U.G,null,Object(u.createElement)(U.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"}))),Tn=[];function xn(e,t){var n=e.blocks.byClientId[t];return n?n.name:null}function Nn(e,t){var n=e.blocks.byClientId[t];return!!n&&n.isValid}function Ln(e,t){return e.blocks.byClientId[t]?e.blocks.attributes[t]:null}var An=Object(Sn.a)((function(e,t){var n=e.blocks.byClientId[t];return n?Object(l.a)({},n,{attributes:Ln(e,t),innerBlocks:Mn(e,t)}):null}),(function(e,t){return[e.blocks.cache[t]]})),Rn=Object(Sn.a)((function(e,t){var n=e.blocks.byClientId[t];return n?Object(l.a)({},n,{attributes:Ln(e,t)}):null}),(function(e,t){return[e.blocks.byClientId[t],e.blocks.attributes[t]]})),Mn=Object(Sn.a)((function(e,t){return Object(b.map)(br(e,t),(function(t){return An(e,t)}))}),(function(e){return[e.blocks.byClientId,e.blocks.order,e.blocks.attributes]})),Pn=function e(t,n){return Object(b.flatMap)(n,(function(n){var r=br(t,n);return[].concat(Object(R.a)(r),Object(R.a)(e(t,r)))}))},Dn=Object(Sn.a)((function(e){var t=br(e);return[].concat(Object(R.a)(t),Object(R.a)(Pn(e,t)))}),(function(e){return[e.blocks.order]})),Fn=Object(Sn.a)((function(e,t){var n=Dn(e);return t?Object(b.reduce)(n,(function(n,r){return e.blocks.byClientId[r].name===t?n+1:n}),0):n.length}),(function(e){return[e.blocks.order,e.blocks.byClientId]})),Un=Object(Sn.a)((function(e,t){return Object(b.map)(Object(b.castArray)(t),(function(t){return An(e,t)}))}),(function(e){return[e.blocks.byClientId,e.blocks.order,e.blocks.attributes]}));function Hn(e,t){return br(e,t).length}function Vn(e){return e.selectionStart}function zn(e){return e.selectionEnd}function Kn(e){return e.selectionStart.clientId}function Wn(e){return e.selectionEnd.clientId}function Gn(e){var t=or(e).length;return t||(e.selectionStart.clientId?1:0)}function qn(e){var t=e.selectionStart,n=e.selectionEnd;return!!t.clientId&&t.clientId===n.clientId}function $n(e){var t=e.selectionStart,n=e.selectionEnd,r=t.clientId;return r&&r===n.clientId?r:null}function Yn(e){var t=$n(e);return t?An(e,t):null}function Xn(e,t){return void 0!==e.blocks.parents[t]?e.blocks.parents[t]:null}var Zn=Object(Sn.a)((function(e,t){for(var n=[],r=t;e.blocks.parents[r];)r=e.blocks.parents[r],n.push(r);return n.reverse()}),(function(e){return[e.blocks.parents]}));function Jn(e,t){var n,r=t;do{n=r,r=e.blocks.parents[r]}while(r);return n}function Qn(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;if(void 0===t&&(t=$n(e)),void 0===t&&(t=n<0?cr(e):ar(e)),!t)return null;var r=Xn(e,t);if(null===r)return null;var o=e.blocks.order[r],i=o.indexOf(t)+1*n;return i<0?null:i===o.length?null:o[i]}function er(e,t){return Qn(e,t,-1)}function tr(e,t){return Qn(e,t,1)}function nr(e){return e.initialPosition}var rr=Object(Sn.a)((function(e){var t=e.selectionStart,n=e.selectionEnd;if(void 0===t.clientId||void 0===n.clientId)return Tn;if(t.clientId===n.clientId)return[t.clientId];var r=Xn(e,t.clientId);if(null===r)return Tn;var o=br(e,r),i=o.indexOf(t.clientId),c=o.indexOf(n.clientId);return i>c?o.slice(c,i+1):o.slice(i,c+1)}),(function(e){return[e.blocks.order,e.selectionStart.clientId,e.selectionEnd.clientId]}));function or(e){var t=e.selectionStart,n=e.selectionEnd;return t.clientId===n.clientId?Tn:rr(e)}var ir=Object(Sn.a)((function(e){var t=or(e);return t.length?t.map((function(t){return An(e,t)})):Tn}),(function(e){return[].concat(Object(R.a)(rr.getDependants(e)),[e.blocks.byClientId,e.blocks.order,e.blocks.attributes])}));function cr(e){return Object(b.first)(or(e))||null}function ar(e){return Object(b.last)(or(e))||null}function lr(e,t){return cr(e)===t}function sr(e,t){return-1!==or(e).indexOf(t)}var ur=Object(Sn.a)((function(e,t){for(var n=t,r=!1;n&&!r;)r=sr(e,n=Xn(e,n));return r}),(function(e){return[e.blocks.order,e.selectionStart.clientId,e.selectionEnd.clientId]}));function dr(e){var t=e.selectionStart,n=e.selectionEnd;return t.clientId===n.clientId?null:t.clientId||null}function fr(e){var t=e.selectionStart,n=e.selectionEnd;return t.clientId===n.clientId?null:n.clientId||null}function br(e,t){return e.blocks.order[t||""]||Tn}function pr(e,t,n){return br(e,n).indexOf(t)}function hr(e,t){var n=e.selectionStart,r=e.selectionEnd;return n.clientId===r.clientId&&n.clientId===t}function mr(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return Object(b.some)(br(e,t),(function(t){return hr(e,t)||sr(e,t)||n&&mr(e,t,n)}))}function gr(e,t){if(!t)return!1;var n=or(e),r=n.indexOf(t);return r>-1&&r2&&void 0!==arguments[2]?arguments[2]:null,r=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return Object(b.isBoolean)(e)?e:Object(b.isArray)(e)?Object(b.includes)(e,t):n},o=Object(i.getBlockType)(t);if(!o)return!1;var c=Dr(e),a=c.allowedBlockTypes,l=r(a,t,!0);if(!l)return!1;var s=!!Br(e,n);if(s)return!1;var u=Pr(e,n),d=Object(b.get)(u,["allowedBlocks"]),f=r(d,t),p=o.parent,h=xn(e,n),m=r(p,h);return null!==f&&null!==m?f||m:null!==f?f:null===m||m},xr=Object(Sn.a)(Tr,(function(e,t,n){return[e.blockListSettings[n],e.blocks.byClientId[n],e.settings.allowedBlockTypes,e.settings.templateLock]}));function Nr(e,t){return Object(b.get)(e.preferences.insertUsage,[t],null)}var Lr=function(e,t,n){return!!Object(i.hasBlockSupport)(t,"inserter",!0)&&Tr(e,t.name,n)},Ar=Object(Sn.a)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=function(e,t,n){return n?Cn:t>0?En:"common"===e?wn:In},r=function(e,t){if(!e)return t;var n=Date.now()-e;switch(!0){case n<36e5:return 4*t;case n<864e5:return 2*t;case n<6048e5:return t/2;default:return t/4}},o=function(t){var o=t.name,c=!1;Object(i.hasBlockSupport)(t.name,"multiple",!0)||(c=Object(b.some)(Un(e,Dn(e)),{name:t.name}));var a=Object(b.isArray)(t.parent),l=Nr(e,o)||{},s=l.time,u=l.count,d=void 0===u?0:u;return{id:o,name:t.name,initialAttributes:{},title:t.title,icon:t.icon,category:t.category,keywords:t.keywords,isDisabled:c,utility:n(t.category,d,a),frecency:r(s,d)}},c=function(t){var o,c="core/block/".concat(t.id),a=Ur(e,t.id);1===a.length&&(o=Object(i.getBlockType)(a[0].name));var l=Nr(e,c)||{},s=l.time,u=l.count,d=void 0===u?0:u,f=n("reusable",d,!1),b=r(s,d);return{id:c,name:"core/block",initialAttributes:{ref:t.id},title:t.title,icon:o?o.icon:Bn,category:"reusable",keywords:[],isDisabled:!1,utility:f,frecency:b}},a=Object(i.getBlockTypes)().filter((function(n){return Lr(e,n,t)})).map(o),l=Tr(e,"core/block",t)?zr(e).map(c):[];return Object(b.orderBy)([].concat(Object(R.a)(a),Object(R.a)(l)),["utility","frecency"],["desc","desc"])}),(function(e,t){return[e.blockListSettings[t],e.blocks.byClientId,e.blocks.order,e.preferences.insertUsage,e.settings.allowedBlockTypes,e.settings.templateLock,zr(e),Object(i.getBlockTypes)()]})),Rr=Object(Sn.a)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=Object(b.some)(Object(i.getBlockTypes)(),(function(n){return Lr(e,n,t)}));if(n)return!0;var r=Tr(e,"core/block",t)&&zr(e).length>0;return r}),(function(e,t){return[e.blockListSettings[t],e.blocks.byClientId,e.settings.allowedBlockTypes,e.settings.templateLock,zr(e),Object(i.getBlockTypes)()]})),Mr=Object(Sn.a)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(t)return Object(b.filter)(Object(i.getBlockTypes)(),(function(n){return Lr(e,n,t)}))}),(function(e,t){return[e.blockListSettings[t],e.blocks.byClientId,e.settings.allowedBlockTypes,e.settings.templateLock,Object(i.getBlockTypes)()]}));function Pr(e,t){return e.blockListSettings[t]}function Dr(e){return e.settings}function Fr(e){return e.blocks.isPersistentChange}var Ur=Object(Sn.a)((function(e,t){var n=Object(b.find)(zr(e),(function(e){return e.id===t}));return n?Object(i.parse)(n.content):null}),(function(e){return[zr(e)]}));function Hr(e){return e.blocks.isIgnoredChange}function Vr(e){return e.lastBlockAttributesChange}function zr(e){return Object(b.get)(e,["settings","__experimentalReusableBlocks"],Tn)}function Kr(e){return e.isNavigationMode}function Wr(e){return!!e.automaticChangeStatus}var Gr={MERGE_BLOCKS:function(e,t){var n=t.dispatch,r=t.getState(),o=Object(Je.a)(e.blocks,2),a=o[0],s=o[1],u=An(r,a),d=Object(i.getBlockType)(u.name);if(d.merge){var f=An(r,s),p=Object(i.getBlockType)(f.name),h=Vn(r),m=h.clientId,g=h.attributeKey,v=h.offset,O=(m===a?d:p).attributes[g],k=(m===a||m===s)&&void 0!==g&&void 0!==v&&!!O;O||("number"==typeof g?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 ".concat(Object(vt.a)(g))):window.console.error("The RichText identifier prop does not match any attributes defined by the block."));var j=Object(i.cloneBlock)(u),y=Object(i.cloneBlock)(f);if(k){var _=m===a?j:y,S=_.attributes[g],C=O.multiline,E=O.__unstableMultilineWrapperTags,w=O.__unstablePreserveWhiteSpace,I=Object(c.insert)(Object(c.create)({html:S,multilineTag:C,multilineWrapperTags:E,preserveWhiteSpace:w}),"†",v,v);_.attributes[g]=Object(c.toHTMLString)({value:I,multilineTag:C,preserveWhiteSpace:w})}var B=u.name===f.name?[y]:Object(i.switchToBlockType)(y,u.name);if(B&&B.length){var T=d.merge(j.attributes,B[0].attributes);if(k){var x=Object(b.findKey)(T,(function(e){return"string"==typeof e&&-1!==e.indexOf("†")})),N=T[x],L=d.attributes[x],A=L.multiline,M=L.__unstableMultilineWrapperTags,P=L.__unstablePreserveWhiteSpace,D=Object(c.create)({html:N,multilineTag:A,multilineWrapperTags:M,preserveWhiteSpace:P}),F=D.text.indexOf("†"),U=Object(c.remove)(D,F,F+1),H=Object(c.toHTMLString)({value:U,multilineTag:A,preserveWhiteSpace:P});T[x]=H,n(mn(u.clientId,x,F,F))}n(Gt([u.clientId,f.clientId],[Object(l.a)({},u,{attributes:Object(l.a)({},u.attributes,T)})].concat(Object(R.a)(B.slice(1)))))}}else n(Pt(u.clientId))},RESET_BLOCKS:[function(e,t){var n=t.getState(),r=Ir(n),o=Br(n),c=!r||"all"!==o||Object(i.doBlocksMatchTemplate)(e.blocks,r);if(c!==wr(n))return nn(c)}],MULTI_SELECT:function(e,t){var n=Gn((0,t.getState)());Object(Y.speak)(Object(F.sprintf)(Object(F._n)("%s block selected.","%s blocks selected.",n),n),"assertive")},SYNCHRONIZE_TEMPLATE:function(e,t){var n=(0,t.getState)(),r=Mn(n),o=Ir(n);return Nt(Object(i.synchronizeBlocksWithTemplate)(r,o))},MARK_AUTOMATIC_CHANGE:function(e,t){var n=window,r=n.setTimeout,o=n.requestIdleCallback;(void 0===o?function(e){return r(e,100)}:o)((function(){t.dispatch({type:"MARK_AUTOMATIC_CHANGE_FINAL"})}))}};var qr=function(e){var t,n=[ht()(Gr),gt.a],r=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},o={getState:e.getState,dispatch:function(){return r.apply(void 0,arguments)}};return t=n.map((function(e){return e(o)})),r=b.flowRight.apply(void 0,Object(R.a)(t))(e.dispatch),e.dispatch=r,e},$r={reducer:bt,selectors:o,actions:r,controls:yt},Yr=Object(m.registerStore)("core/block-editor",Object(l.a)({},$r,{persist:["preferences"]}));qr(Yr);var Xr=Object(p.createHigherOrderComponent)((function(e){return Object(m.withRegistry)((function(t){var n=t.useSubRegistry,r=void 0===n||n,o=t.registry,i=Object(M.a)(t,["useSubRegistry","registry"]);if(!r)return Object(u.createElement)(e,Object(s.a)({registry:o},i));var c=Object(u.useState)(null),a=Object(Je.a)(c,2),l=a[0],d=a[1];return Object(u.useEffect)((function(){var e=Object(m.createRegistry)({},o),t=e.registerStore("core/block-editor",$r);qr(t),d(e)}),[o]),l?Object(u.createElement)(m.RegistryProvider,{value:l},Object(u.createElement)(e,Object(s.a)({registry:l},i))):null}))}),"withRegistryProvider"),Zr=function(e){function t(){return Object(y.a)(this,t),Object(S.a)(this,Object(C.a)(t).apply(this,arguments))}return Object(w.a)(t,e),Object(_.a)(t,[{key:"componentDidMount",value:function(){this.props.updateSettings(this.props.settings),this.props.resetBlocks(this.props.value),this.attachChangeObserver(this.props.registry),this.isSyncingOutcomingValue=[]}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.settings,r=t.updateSettings,o=t.value,i=t.resetBlocks,c=t.selectionStart,a=t.selectionEnd,l=t.resetSelection,s=t.registry;n!==e.settings&&r(n),s!==e.registry&&this.attachChangeObserver(s),this.isSyncingOutcomingValue.includes(o)?Object(b.last)(this.isSyncingOutcomingValue)===o&&(this.isSyncingOutcomingValue=[]):o!==e.value&&(this.isSyncingOutcomingValue=[],this.isSyncingIncomingValue=o,i(o),c&&a&&l(c,a))}},{key:"componentWillUnmount",value:function(){this.unsubscribe&&this.unsubscribe()}},{key:"attachChangeObserver",value:function(e){var t=this;this.unsubscribe&&this.unsubscribe();var n=e.select("core/block-editor"),r=n.getBlocks,o=n.getSelectionStart,i=n.getSelectionEnd,c=n.isLastBlockChangePersistent,a=n.__unstableIsLastBlockChangeIgnored,l=r(),s=c();this.unsubscribe=e.subscribe((function(){var e=t.props,n=e.onChange,u=void 0===n?b.noop:n,d=e.onInput,f=void 0===d?b.noop:d,p=r(),h=c();if(p!==l&&(t.isSyncingIncomingValue||a()))return t.isSyncingIncomingValue=null,l=p,void(s=h);if(p!==l||h&&!s){p!==l&&t.isSyncingOutcomingValue.push(p),l=p,s=h;var m=o(),g=i();s?u(l,{selectionStart:m,selectionEnd:g}):f(l,{selectionStart:m,selectionEnd:g})}}))}},{key:"render",value:function(){return this.props.children}}]),t}(u.Component),Jr=Object(p.compose)([Xr,Object(m.withDispatch)((function(e){var t=e("core/block-editor");return{updateSettings:t.updateSettings,resetBlocks:t.resetBlocks,resetSelection:t.resetSelection}}))])(Zr),Qr=function(e){var t=e.children,n=e.clientId,r=e.isBlockInSelection,o=Object(m.useSelect)((function(e){return e("core/block-editor").hasSelectedInnerBlock(n,!0)})),i=r||o;return Object(u.createElement)(m.AsyncModeProvider,{value:!i},t)},eo=n(63),to=n(29);function no(e,t,n,r,o,i,c,a){var l=n+1,s=function(e){return"up"===e?"horizontal"===c?a?"right":"left":"up":"down"===e?"horizontal"===c?a?"left":"right":"down":null};return e>1?function(e,t,n,r,o){var i=t+1;if(o<0&&n)return Object(F.__)("Blocks cannot be moved up as they are already at the top");if(o>0&&r)return Object(F.__)("Blocks cannot be moved down as they are already at the bottom");if(o<0&&!n)return Object(F.sprintf)(Object(F._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,i);if(o>0&&!r)return Object(F.sprintf)(Object(F._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,i)}(e,n,r,o,i):r&&o?Object(F.sprintf)(Object(F.__)("Block %s is the only block, and cannot be moved"),t):i>0&&!o?Object(F.sprintf)(Object(F.__)("Move %1$s block from position %2$d %3$s to position %4$d"),t,l,s("down"),l+1):i>0&&o?Object(F.sprintf)(Object(F.__)("Block %1$s is at the end of the content and can’t be moved %2$s"),t,s("down")):i<0&&!r?Object(F.sprintf)(Object(F.__)("Move %1$s block from position %2$d %3$s to position %4$d"),t,l,s("up"),l-1):i<0&&r?Object(F.sprintf)(Object(F.__)("Block %1$s is at the beginning of the content and can’t be moved %2$s"),t,s("up")):void 0}var ro=Object(u.createElement)(U.SVG,{width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},Object(u.createElement)(U.Polygon,{points:"9,4.5 3.3,10.1 4.8,11.5 9,7.3 13.2,11.5 14.7,10.1 "})),oo=Object(u.createElement)(U.SVG,{width:"18",height:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},Object(u.createElement)(U.Path,{d:"M4.5 9l5.6-5.7 1.4 1.5L7.3 9l4.2 4.2-1.4 1.5L4.5 9z"})),io=Object(u.createElement)(U.SVG,{width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},Object(u.createElement)(U.Polygon,{points:"9,13.5 14.7,7.9 13.2,6.5 9,10.7 4.8,6.5 3.3,7.9 "})),co=Object(u.createElement)(U.SVG,{width:"18",height:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},Object(u.createElement)(U.Path,{d:"M13.5 9L7.9 3.3 6.5 4.8 10.7 9l-4.2 4.2 1.4 1.5L13.5 9z"})),ao=Object(u.createElement)(U.SVG,{width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},Object(u.createElement)(U.Path,{d:"M13,8c0.6,0,1-0.4,1-1s-0.4-1-1-1s-1,0.4-1,1S12.4,8,13,8z M5,6C4.4,6,4,6.4,4,7s0.4,1,1,1s1-0.4,1-1S5.6,6,5,6z M5,10 c-0.6,0-1,0.4-1,1s0.4,1,1,1s1-0.4,1-1S5.6,10,5,10z M13,10c-0.6,0-1,0.4-1,1s0.4,1,1,1s1-0.4,1-1S13.6,10,13,10z M9,6 C8.4,6,8,6.4,8,7s0.4,1,1,1s1-0.4,1-1S9.6,6,9,6z M9,10c-0.6,0-1,0.4-1,1s0.4,1,1,1s1-0.4,1-1S9.6,10,9,10z"})),lo=function(e){var t=e.children,n=e.clientIds,r=Object(m.useSelect)((function(e){var t=e("core/block-editor"),r=t.getBlockIndex,o=t.getBlockRootClientId,i=t.getTemplateLock,c=Object(b.castArray)(n),a=1===c.length?o(c[0]):null,l=a?i(a):null;return{index:r(c[0],a),srcRootClientId:a,isDraggable:1===c.length&&"all"!==l}}),[n]),o=r.srcRootClientId,i=r.index,c=r.isDraggable,a=Object(u.useRef)(!1),l=Object(m.useDispatch)("core/block-editor"),s=l.startDraggingBlocks,d=l.stopDraggingBlocks;if(Object(u.useEffect)((function(){return function(){a.current&&d()}}),[]),!c)return null;var f=Object(b.castArray)(n),p="block-".concat(f[0]),h={type:"block",srcIndex:i,srcClientId:f[0],srcRootClientId:o};return Object(u.createElement)(U.Draggable,{elementId:p,transferData:h,onDragStart:function(){s(),a.current=!0},onDragEnd:function(){d(),a.current=!1}},(function(e){var n=e.onDraggableStart,r=e.onDraggableEnd;return t({onDraggableStart:n,onDraggableEnd:r})}))},so=function(e){function t(){var e;return Object(y.a)(this,t),(e=Object(S.a)(this,Object(C.a)(t).apply(this,arguments))).state={isFocused:!1},e.onFocus=e.onFocus.bind(Object(E.a)(e)),e.onBlur=e.onBlur.bind(Object(E.a)(e)),e}return Object(w.a)(t,e),Object(_.a)(t,[{key:"onFocus",value:function(){this.setState({isFocused:!0})}},{key:"onBlur",value:function(){this.setState({isFocused:!1})}},{key:"render",value:function(){var e=this.props,t=e.onMoveUp,n=e.onMoveDown,r=e.__experimentalOrientation,o=e.isRTL,i=e.isFirst,c=e.isLast,a=e.clientIds,l=e.blockType,s=e.firstIndex,d=e.isLocked,p=e.instanceId,h=e.isHidden,m=e.rootClientId,g=this.state.isFocused,v=Object(b.castArray)(a).length;if(d||i&&c&&!m)return null;var O=function(e){return"up"===e?"horizontal"===r?o?co:oo:ro:"down"===e?"horizontal"===r?o?oo:co:io:null},k=function(e){return"up"===e?"horizontal"===r?o?"right":"left":"up":"down"===e?"horizontal"===r?o?"left":"right":"down":null};return Object(u.createElement)("div",{className:f()("editor-block-mover block-editor-block-mover",{"is-visible":g||!h,"is-horizontal":"horizontal"===r})},Object(u.createElement)(U.IconButton,{className:"editor-block-mover__control block-editor-block-mover__control",onClick:i?null:t,icon:O("up"),label:Object(F.sprintf)(Object(F.__)("Move %s"),k("up")),"aria-describedby":"block-editor-block-mover__up-description-".concat(p),"aria-disabled":i,onFocus:this.onFocus,onBlur:this.onBlur}),Object(u.createElement)(lo,{clientIds:a},(function(e){var t=e.onDraggableStart,n=e.onDraggableEnd;return Object(u.createElement)(U.IconButton,{icon:ao,className:"block-editor-block-mover__control-drag-handle editor-block-mover__control block-editor-block-mover__control","aria-hidden":"true",onDragStart:t,onDragEnd:n,draggable:!0})})),Object(u.createElement)(U.IconButton,{className:"editor-block-mover__control block-editor-block-mover__control",onClick:c?null:n,icon:O("down"),label:Object(F.sprintf)(Object(F.__)("Move %s"),k("down")),"aria-describedby":"block-editor-block-mover__down-description-".concat(p),"aria-disabled":c,onFocus:this.onFocus,onBlur:this.onBlur}),Object(u.createElement)("span",{id:"block-editor-block-mover__up-description-".concat(p),className:"editor-block-mover__description block-editor-block-mover__description"},no(v,l&&l.title,s,i,c,-1,r,o)),Object(u.createElement)("span",{id:"block-editor-block-mover__down-description-".concat(p),className:"editor-block-mover__description block-editor-block-mover__description"},no(v,l&&l.title,s,i,c,1,r,o)))}}]),t}(u.Component),uo=Object(p.compose)(Object(m.withSelect)((function(e,t){var n=t.clientIds,r=e("core/block-editor"),o=r.getBlock,c=r.getBlockIndex,a=r.getTemplateLock,l=r.getBlockRootClientId,s=r.getBlockOrder,u=Object(b.castArray)(n),d=Object(b.first)(u),f=o(d),p=l(Object(b.first)(u)),h=s(p),m=c(d,p),g=c(Object(b.last)(u),p),v=(0,e("core/block-editor").getSettings)().isRTL;return{blockType:f?Object(i.getBlockType)(f.name):null,isLocked:"all"===a(p),rootClientId:p,firstIndex:m,isRTL:v,isFirst:0===m,isLast:g===h.length-1}})),Object(m.withDispatch)((function(e,t){var n=t.clientIds,r=t.rootClientId,o=e("core/block-editor"),i=o.moveBlocksDown,c=o.moveBlocksUp;return{onMoveDown:Object(b.partial)(i,n,r),onMoveUp:Object(b.partial)(c,n,r)}})),p.withInstanceId)(so);var fo=function(e){var t=e.className,n=e.actions,r=e.children,o=e.secondaryActions;return Object(u.createElement)("div",{className:f()(t,"editor-warning block-editor-warning")},Object(u.createElement)("div",{className:"editor-warning__contents block-editor-warning__contents"},Object(u.createElement)("p",{className:"editor-warning__message block-editor-warning__message"},r),u.Children.count(n)>0&&Object(u.createElement)("div",{className:"editor-warning__actions block-editor-warning__actions"},u.Children.map(n,(function(e,t){return Object(u.createElement)("span",{key:t,className:"editor-warning__action block-editor-warning__action"},e)})))),o&&Object(u.createElement)(U.Dropdown,{className:"editor-warning__secondary block-editor-warning__secondary",position:"bottom left",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(u.createElement)(U.IconButton,{icon:"ellipsis",label:Object(F.__)("More options"),onClick:n,"aria-expanded":t})},renderContent:function(){return Object(u.createElement)(U.MenuGroup,null,o.map((function(e,t){return Object(u.createElement)(U.MenuItem,{onClick:e.onClick,key:t},e.title)})))}}))},bo=n(217),po=function(e){var t=e.title,n=e.rawContent,r=e.renderedContent,o=e.action,i=e.actionText,c=e.className;return Object(u.createElement)("div",{className:c},Object(u.createElement)("div",{className:"editor-block-compare__content block-editor-block-compare__content"},Object(u.createElement)("h2",{className:"editor-block-compare__heading block-editor-block-compare__heading"},t),Object(u.createElement)("div",{className:"editor-block-compare__html block-editor-block-compare__html"},n),Object(u.createElement)("div",{className:"editor-block-compare__preview block-editor-block-compare__preview edit-post-visual-editor"},r)),Object(u.createElement)("div",{className:"editor-block-compare__action block-editor-block-compare__action"},Object(u.createElement)(U.Button,{isLarge:!0,tabIndex:"0",onClick:o},i)))},ho=function(e){function t(){return Object(y.a)(this,t),Object(S.a)(this,Object(C.a)(t).apply(this,arguments))}return Object(w.a)(t,e),Object(_.a)(t,[{key:"getDifference",value:function(e,t){return Object(bo.diffChars)(e,t).map((function(e,t){var n=f()({"editor-block-compare__added block-editor-block-compare__added":e.added,"editor-block-compare__removed block-editor-block-compare__removed":e.removed});return Object(u.createElement)("span",{key:t,className:n},e.value)}))}},{key:"getOriginalContent",value:function(e){return{rawContent:e.originalContent,renderedContent:Object(i.getSaveElement)(e.name,e.attributes)}}},{key:"getConvertedContent",value:function(e){var t=Object(b.castArray)(e),n=t.map((function(e){return Object(i.getSaveContent)(e.name,e.attributes,e.innerBlocks)})),r=t.map((function(e){return Object(i.getSaveElement)(e.name,e.attributes,e.innerBlocks)}));return{rawContent:n.join(""),renderedContent:r}}},{key:"render",value:function(){var e=this.props,t=e.block,n=e.onKeep,r=e.onConvert,o=e.convertor,i=e.convertButtonText,c=this.getOriginalContent(t),a=this.getConvertedContent(o(t)),l=this.getDifference(c.rawContent,a.rawContent);return Object(u.createElement)("div",{className:"editor-block-compare__wrapper block-editor-block-compare__wrapper"},Object(u.createElement)(po,{title:Object(F.__)("Current"),className:"editor-block-compare__current block-editor-block-compare__current",action:n,actionText:Object(F.__)("Convert to HTML"),rawContent:c.rawContent,renderedContent:c.renderedContent}),Object(u.createElement)(po,{title:Object(F.__)("After Conversion"),className:"editor-block-compare__converted block-editor-block-compare__converted",action:r,actionText:i,rawContent:l,renderedContent:a.renderedContent}))}}]),t}(u.Component),mo=function(e){function t(e){var n;return Object(y.a)(this,t),(n=Object(S.a)(this,Object(C.a)(t).call(this,e))).state={compare:!1},n.onCompare=n.onCompare.bind(Object(E.a)(n)),n.onCompareClose=n.onCompareClose.bind(Object(E.a)(n)),n}return Object(w.a)(t,e),Object(_.a)(t,[{key:"onCompare",value:function(){this.setState({compare:!0})}},{key:"onCompareClose",value:function(){this.setState({compare:!1})}},{key:"render",value:function(){var e=this.props,t=e.convertToHTML,n=e.convertToBlocks,r=e.convertToClassic,o=e.attemptBlockRecovery,c=e.block,a=!!Object(i.getBlockType)("core/html"),l=this.state.compare,s=[{title:Object(F.__)("Convert to Classic Block"),onClick:r},{title:Object(F.__)("Attempt Block Recovery"),onClick:o}];return Object(u.createElement)(u.Fragment,null,Object(u.createElement)(fo,{actions:[Object(u.createElement)(U.Button,{key:"convert",onClick:this.onCompare,isLarge:!0,isPrimary:!a},Object(F._x)("Resolve","imperative verb")),a&&Object(u.createElement)(U.Button,{key:"edit",onClick:t,isLarge:!0,isPrimary:!0},Object(F.__)("Convert to HTML"))],secondaryActions:s},Object(F.__)("This block contains unexpected or invalid content.")),l&&Object(u.createElement)(U.Modal,{title:Object(F.__)("Resolve Block"),onRequestClose:this.onCompareClose,className:"editor-block-compare block-editor-block-compare"},Object(u.createElement)(ho,{block:c,onKeep:t,onConvert:n,convertor:go,convertButtonText:Object(F.__)("Convert to Blocks")})))}}]),t}(u.Component),go=function(e){return Object(i.rawHandler)({HTML:e.originalContent})},vo=Object(p.compose)([Object(m.withSelect)((function(e,t){var n=t.clientId;return{block:e("core/block-editor").getBlock(n)}})),Object(m.withDispatch)((function(e,t){var n=t.block,r=e("core/block-editor").replaceBlock;return{convertToClassic:function(){r(n.clientId,function(e){return Object(i.createBlock)("core/freeform",{content:e.originalContent})}(n))},convertToHTML:function(){r(n.clientId,function(e){return Object(i.createBlock)("core/html",{content:e.originalContent})}(n))},convertToBlocks:function(){r(n.clientId,go(n))},attemptBlockRecovery:function(){var e,t,o,c;r(n.clientId,(t=(e=n).name,o=e.attributes,c=e.innerBlocks,Object(i.createBlock)(t,o,c)))}}}))])(mo),Oo=Object(u.createElement)(fo,{className:"block-editor-block-list__block-crash-warning"},Object(F.__)("This block has encountered an error and cannot be previewed.")),ko=function(){return Oo},jo=function(e){function t(){var e;return Object(y.a)(this,t),(e=Object(S.a)(this,Object(C.a)(t).apply(this,arguments))).state={hasError:!1},e}return Object(w.a)(t,e),Object(_.a)(t,[{key:"componentDidCatch",value:function(e){this.props.onError(e),this.setState({hasError:!0})}},{key:"render",value:function(){return this.state.hasError?null:this.props.children}}]),t}(u.Component),yo=n(60),_o=n.n(yo);var So=function(e){var t=e.clientId,n=Object(u.useState)(""),r=Object(Je.a)(n,2),o=r[0],c=r[1],a=Object(m.useSelect)((function(e){return{block:e("core/block-editor").getBlock(t)}}),[t]).block,l=Object(m.useDispatch)("core/block-editor").updateBlock;return Object(u.useEffect)((function(){c(Object(i.getBlockContent)(a))}),[a]),Object(u.createElement)(_o.a,{className:"editor-block-list__block-html-textarea block-editor-block-list__block-html-textarea",value:o,onBlur:function(){var e=Object(i.getBlockType)(a.name),n=Object(i.getBlockAttributes)(e,o,a.attributes),r=o||Object(i.getSaveContent)(e,n),s=!o||Object(i.isValidBlockContent)(e,n,r);l(t,{attributes:n,originalContent:r,isValid:s}),o||c({content:r})},onChange:function(e){return c(e.target.value)}})},Co=Object(u.forwardRef)((function(e,t){var n=e.clientId,r=Object(m.useDispatch)("core/block-editor").setNavigationMode;return Object(u.createElement)("div",{className:"editor-block-list__breadcrumb block-editor-block-list__breadcrumb"},Object(u.createElement)(U.Toolbar,null,Object(u.createElement)(U.Button,{ref:t,onClick:function(){return r(!1)}},Object(u.createElement)(Le,{clientId:n}))))})),Eo=function(e){function t(){var e;return Object(y.a)(this,t),(e=Object(S.a)(this,Object(C.a)(t).apply(this,arguments))).focusToolbar=e.focusToolbar.bind(Object(E.a)(e)),e.toolbar=Object(u.createRef)(),e}return Object(w.a)(t,e),Object(_.a)(t,[{key:"focusToolbar",value:function(){var e=to.focus.tabbable.find(this.toolbar.current);e.length&&e[0].focus()}},{key:"componentDidMount",value:function(){this.props.focusOnMount&&this.focusToolbar(),this.toolbar.current.addEventListener("keydown",this.switchOnKeyDown)}},{key:"componentwillUnmount",value:function(){this.toolbar.current.removeEventListener("keydown",this.switchOnKeyDown)}},{key:"render",value:function(){var e=this.props,t=e.children,n=Object(M.a)(e,["children"]);return Object(u.createElement)(U.NavigableMenu,Object(s.a)({orientation:"horizontal",role:"toolbar",ref:this.toolbar},Object(b.omit)(n,["focusOnMount"])),Object(u.createElement)(U.KeyboardShortcuts,{bindGlobal:!0,eventName:"keydown",shortcuts:{"alt+f10":this.focusToolbar}}),t)}}]),t}(u.Component);var wo=function(e){var t=e.focusOnMount;return Object(u.createElement)(Eo,{focusOnMount:t,className:"editor-block-contextual-toolbar block-editor-block-contextual-toolbar","aria-label":Object(F.__)("Block tools")},Object(u.createElement)(Sa,null))};var Io=Object(m.withSelect)((function(e){var t=e("core/block-editor"),n=t.getMultiSelectedBlockClientIds,r=t.isMultiSelecting;return{multiSelectedBlockClientIds:n(),isSelecting:r()}}))((function(e){var t=e.multiSelectedBlockClientIds,n=e.isSelecting,r=e.moverDirection;return n?null:Object(u.createElement)(uo,{clientIds:t,__experimentalOrientation:r})}));function Bo(e){var t=e.rootClientId,n=e.clientId,r=Object(u.useState)(!1),o=Object(Je.a)(r,2),i=o[0],c=o[1],a=Object(m.useSelect)((function(e){var r=e("core/block-editor"),o=r.getBlockIndex,i=r.getBlockInsertionPoint,c=r.isBlockInsertionPointVisible,a=o(n,t),l=i();return c()&&l.index===a&&l.rootClientId===t}));return Object(u.createElement)("div",{className:"editor-block-list__insertion-point block-editor-block-list__insertion-point"},a&&Object(u.createElement)("div",{className:"editor-block-list__insertion-point-indicator block-editor-block-list__insertion-point-indicator"}),Object(u.createElement)("div",{onFocus:function(e){e.stopPropagation(),c(!0)},onBlur:function(){c(!1)},tabIndex:-1,className:f()("editor-block-list__insertion-point-inserter block-editor-block-list__insertion-point-inserter",{"is-visible":i})},Object(u.createElement)(gi,{rootClientId:t,clientId:n})))}var To=function(e){function t(){var e;return Object(y.a)(this,t),(e=Object(S.a)(this,Object(C.a)(t).apply(this,arguments))).proxyEvent=e.proxyEvent.bind(Object(E.a)(e)),e.eventMap={},e}return Object(w.a)(t,e),Object(_.a)(t,[{key:"proxyEvent",value:function(e){var t=!!e.nativeEvent._blockHandled;e.nativeEvent._blockHandled=!0;var n=this.eventMap[e.type];t&&(n+="Handled"),this.props[n]&&this.props[n](e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.childHandledEvents,r=void 0===n?[]:n,o=t.forwardedRef,i=t.tagName,c=void 0===i?"div":i,a=Object(M.a)(t,["childHandledEvents","forwardedRef","tagName"]),s=Object(b.reduce)([].concat(Object(R.a)(r),Object(R.a)(Object.keys(a))),(function(t,n){var r=n.match(/^on([A-Z][a-zA-Z]+?)(Handled)?$/);if(r){!!r[2]&&delete a[n];var o="on"+r[1];t[o]=e.proxyEvent,e.eventMap[r[1].toLowerCase()]=o}return t}),{});return Object(u.createElement)(c,Object(l.a)({ref:o},a,s))}}]),t}(u.Component),xo=function(e,t){return Object(u.createElement)(To,Object(s.a)({},e,{forwardedRef:t}))};xo.displayName="IgnoreNestedEvents";var No=Object(u.forwardRef)(xo);var Lo=Object(p.compose)(Object(m.withSelect)((function(e,t){var n=t.rootClientId,r=e("core/block-editor"),o=r.getInserterItems,i=r.getTemplateLock;return{items:o(n),isLocked:!!i(n)}})),Object(m.withDispatch)((function(e,t){var n=t.clientId,r=t.rootClientId;return{onInsert:function(t){var o=t.name,c=t.initialAttributes,a=Object(i.createBlock)(o,c);n?e("core/block-editor").replaceBlocks(n,a):e("core/block-editor").insertBlock(a,void 0,r)}}})))((function(e){var t=e.items,n=e.isLocked,r=e.onInsert;if(n)return null;var o=Object(b.filter)(t,(function(e){return!(e.isDisabled||e.name===Object(i.getDefaultBlockName)()&&Object(b.isEmpty)(e.initialAttributes))})).slice(0,3);return Object(u.createElement)("div",{className:"editor-inserter-with-shortcuts block-editor-inserter-with-shortcuts"},o.map((function(e){return Object(u.createElement)(U.IconButton,{key:e.id,className:"editor-inserter-with-shortcuts__block block-editor-inserter-with-shortcuts__block",onClick:function(){return r(e)},label:Object(F.sprintf)(Object(F.__)("Add %s"),e.title),icon:Object(u.createElement)(We,{icon:e.icon})})})))}));function Ao(e){return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:document).querySelector('[data-block="'+e+'"]')}function Ro(e,t){var n=e.querySelector(".block-editor-block-list__layout");return e.contains(t)&&(!n||!n.contains(t))}var Mo=function(e){return e+1},Po=function(e){return{top:e.offsetTop,left:e.offsetLeft}};var Do=function(e,t,n,r,o){var i=Object(p.useReducedMotion)()||!r,c=Object(u.useReducer)(Mo,0),a=Object(Je.a)(c,2),l=a[0],s=a[1],d=Object(u.useReducer)(Mo,0),f=Object(Je.a)(d,2),b=f[0],h=f[1],m=Object(u.useState)({x:0,y:0,scrollTop:0}),g=Object(Je.a)(m,2),v=g[0],O=g[1],k=e.current?Po(e.current):null,j=Object(u.useMemo)((function(){return!!n&&Object(to.getScrollContainer)(e.current)}),[n]);Object(u.useLayoutEffect)((function(){l&&h()}),[l]),Object(u.useLayoutEffect)((function(){if(i){if(n&&j){e.current.style.transform="none";var t=Po(e.current);j.scrollTop=j.scrollTop-k.top+t.top}}else{e.current.style.transform="none";var r=Po(e.current),o={x:k?k.left-r.left:0,y:k?k.top-r.top:0,scrollTop:k&&j?j.scrollTop-k.top+r.top:0};e.current.style.transform=0===o.x&&0===o.y?void 0:"translate3d(".concat(o.x,"px,").concat(o.y,"px,0)"),s(),O(o)}}),[o]);var y=Object(eo.useSpring)({from:{x:v.x,y:v.y},to:{x:0,y:0},reset:l!==b,config:{mass:5,tension:2e3,friction:200},immediate:i,onFrame:function(e){n&&j&&!i&&e.y&&(j.scrollTop=v.scrollTop+e.y)}});return i?{}:{transformOrigin:"center",transform:Object(eo.interpolate)([y.x,y.y],(function(e,t){return 0===e&&0===t?void 0:"translate3d(".concat(e,"px,").concat(t,"px,0)")})),zIndex:Object(eo.interpolate)([y.x,y.y],(function(e,n){return!t||0===e&&0===n?void 0:"1"}))}},Fo=function(e){e.preventDefault()};var Uo=Object(m.withSelect)((function(e,t){var n=t.clientId,r=t.rootClientId,o=t.isLargeViewport,c=e("core/block-editor"),a=c.isBlockSelected,l=c.isAncestorMultiSelected,s=c.isBlockMultiSelected,u=c.isFirstMultiSelectedBlock,d=c.isTyping,f=c.isCaretWithinFormattedText,b=c.getBlockMode,p=c.isSelectionEnabled,h=c.getSelectedBlocksInitialCaretPosition,m=c.getSettings,g=c.hasSelectedInnerBlock,v=c.getTemplateLock,O=c.getBlockIndex,k=c.getBlockOrder,j=c.__unstableGetBlockWithoutInnerBlocks,y=c.isNavigationMode,_=j(n),S=a(n),C=m(),E=C.hasFixedToolbar,w=C.focusMode,I=C.isRTL,B=v(r),T=g(n,!0),x=O(n,r),N=k(r),L=_||{},A=L.name,R=L.attributes,M=L.isValid;return{isMultiSelected:s(n),isPartOfMultiSelection:s(n)||l(n),isFirstMultiSelected:u(n),isTypingWithinBlock:(S||T)&&d(),isCaretWithinFormattedText:f(),mode:b(n),isSelectionEnabled:p(),initialPosition:S?h():null,isEmptyDefaultBlock:A&&Object(i.isUnmodifiedDefaultBlock)({name:A,attributes:R}),isLocked:!!B,isFocusMode:w&&o,hasFixedToolbar:E&&o,isLast:x===N.length-1,isNavigationMode:y(),isRTL:I,block:_,name:A,attributes:R,isValid:M,isSelected:S,isParentOfSelectedBlock:T}})),Ho=Object(m.withDispatch)((function(e,t,n){var r=n.select,o=e("core/block-editor"),c=o.updateBlockAttributes,a=o.selectBlock,l=o.multiSelect,s=o.insertBlocks,u=o.insertDefaultBlock,d=o.removeBlock,f=o.mergeBlocks,b=o.replaceBlocks,p=o.toggleSelection,h=o.setNavigationMode,m=o.__unstableMarkLastChangeAsPersistent;return{setAttributes:function(e){var n=t.clientId;c(n,e)},onSelect:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t.clientId,n=arguments.length>1?arguments[1]:void 0;a(e,n)},onInsertBlocks:function(e,n){var r=t.rootClientId;s(e,n,r)},onInsertDefaultBlockAfter:function(){var e=t.clientId,n=t.rootClientId,o=(0,r("core/block-editor").getBlockIndex)(e,n);u({},n,o+1)},onInsertBlocksAfter:function(e){var n=t.clientId,o=t.rootClientId,i=(0,r("core/block-editor").getBlockIndex)(n,o);s(e,i+1,o)},onRemove:function(e){d(e)},onMerge:function(e){var n=t.clientId,o=r("core/block-editor"),i=o.getPreviousBlockClientId,c=o.getNextBlockClientId;if(e){var a=c(n);a&&f(n,a)}else{var l=i(n);l&&f(l,n)}},onReplace:function(e,n){e.length&&!Object(i.isUnmodifiedDefaultBlock)(e[e.length-1])&&m(),b([t.clientId],e,n)},onShiftSelection:function(){if(t.isSelectionEnabled){var e=r("core/block-editor").getBlockSelectionStart;e()?l(e(),t.clientId):a(t.clientId)}},toggleSelection:function(e){p(e)},setNavigationMode:h}})),Vo=Object(p.compose)(p.pure,Object(a.withViewportMatch)({isLargeViewport:"medium"}),Uo,Ho,Object(p.ifCondition)((function(e){return!!e.block})),Object(U.withFilters)("editor.BlockListBlock"))((function(e){var t=e.mode,n=e.isFocusMode,r=e.hasFixedToolbar,o=e.moverDirection,c=e.isLocked,a=e.clientId,d=e.rootClientId,p=e.isSelected,h=e.isMultiSelected,g=e.isPartOfMultiSelection,v=e.isFirstMultiSelected,O=e.isTypingWithinBlock,k=e.isCaretWithinFormattedText,j=e.isEmptyDefaultBlock,y=e.isParentOfSelectedBlock,_=e.isSelectionEnabled,S=e.className,C=e.name,E=e.isValid,w=e.isLast,I=e.attributes,B=e.initialPosition,T=e.wrapperProps,x=e.setAttributes,N=e.onReplace,L=e.onInsertBlocksAfter,A=e.onMerge,R=e.onSelect,M=e.onRemove,P=e.onInsertDefaultBlockAfter,D=e.toggleSelection,H=e.onShiftSelection,V=e.onSelectionStart,z=e.animateOnChange,K=e.enableAnimation,W=e.isNavigationMode,G=e.setNavigationMode,q=e.isMultiSelecting,$=e.isLargeViewport,Y=Object(m.useSelect)((function(e){return{isDraggingBlocks:e("core/block-editor").isDraggingBlocks()}})).isDraggingBlocks,X=Object(u.useState)({}),Z=Object(Je.a)(X,2)[1],J=Object(u.useRef)(null),Q=Object(u.useRef)(),ee=Object(u.useRef)(),te=Object(u.useRef)(!1),ne=Object(u.useState)(!1),re=Object(Je.a)(ne,2),oe=re[0],ie=re[1],ce=function(){oe&&ie(!1)};Object(u.useEffect)((function(){(O||p)&&ce()}));var ae=Object(u.useState)(!1),le=Object(Je.a)(ae,2),se=le[0],de=le[1],fe=Object(u.useRef)(!1);Object(u.useEffect)((function(){fe.current&&(fe.current=!1)}));var be=function(e){var t=window.getSelection();if(t.rangeCount&&!t.isCollapsed){var n=t.getRangeAt(0),r=n.startContainer,o=n.endContainer;Q.current.contains(r)&&Q.current.contains(o)||t.removeAllRanges()}if(!J.current.contains(document.activeElement))if(W)ee.current.focus();else{var i=to.focus.tabbable.find(Q.current).filter(to.isTextField).filter((function(t){return!e||Ro(Q.current,t)})),c=-1===B,a=(c?b.last:b.first)(i);a?Object(to.placeCaretAtHorizontalEdge)(a,c):J.current.focus()}},pe=Object(u.useRef)(!0);Object(u.useEffect)((function(){p&&!q&&be(!pe.current),pe.current=!1}),[p,q]),Object(u.useEffect)((function(){v&&J.current.focus()}),[v]);var he=Do(J,p||g,p||v,K,z);Object(u.useLayoutEffect)((function(){p&&(W?ee.current.focus():be(!0))}),[p,W]);var me=function(e){e&&!p&&R()},ge=oe&&!g,ve=Object(i.getBlockType)(C),Oe=Object(F.sprintf)(Object(F.__)("Block: %s"),ve.title),ke=C===Object(i.getUnregisteredTypeHandlerName)(),je=!W&&(p||ge)&&j&&E,ye=!W&&(p||ge||w)&&j&&E,_e=!n&&!ye&&p&&!O,Se=!n&&!r&&ge&&!j,Ce=!W&&p&&!ye&&!g&&!O,Ee=W&&p,we=!W&&!r&&$&&!ye&&!q&&(p&&(!O||k)||v),Ie=!q&&(g&&v||!g),Be=Ie,Te=Y&&(p||g),xe=f()("wp-block editor-block-list__block block-editor-block-list__block",{"has-warning":!E||!!se||ke,"is-selected":_e,"is-navigate-mode":W,"is-multi-selected":h,"is-hovered":Se,"is-reusable":Object(i.isReusableBlock)(ve),"is-dragging":Te,"is-typing":O,"is-focused":n&&(p||y),"is-focus-mode":n,"has-child-selected":y},S);ve.getEditWrapperProps&&(T=Object(l.a)({},T,ve.getEditWrapperProps(I)));var Ne="block-".concat(a),Le=Object(u.createElement)(uo,{clientIds:a,isHidden:!p,__experimentalOrientation:o}),Ae=Object(u.createElement)(ue,{name:C,isSelected:p,attributes:I,setAttributes:x,insertBlocksAfter:c?void 0:L,onReplace:c?void 0:N,mergeBlocks:c?void 0:A,clientId:a,isSelectionEnabled:_,toggleSelection:D});return"visual"!==t&&(Ae=Object(u.createElement)("div",{style:{display:"none"}},Ae)),Object(u.createElement)(No,Object(s.a)({id:Ne,ref:J,onMouseOver:function(){oe||g||p||te.current||ie(!0)},onMouseOverHandled:ce,onMouseLeave:ce,className:xe,"data-type":C,onTouchStart:function(){te.current=!0},onFocus:function(){p||y||g||R()},onClick:function(){te.current=!1},onKeyDown:function(e){var t=e.keyCode,n=e.target,r=p&&!c&&(n===J.current||n===ee.current),o=!W;switch(t){case Ge.ENTER:r&&o&&(P(),e.preventDefault());break;case Ge.BACKSPACE:case Ge.DELETE:r&&(M(a),e.preventDefault());break;case Ge.ESCAPE:p&&o&&(G(!0),J.current.focus())}},tabIndex:"0","aria-label":Oe,childHandledEvents:["onDragStart","onMouseDown"],tagName:eo.animated.div},T,{style:T&&T.style?Object(l.a)({},T.style,he):he}),Ie&&Object(u.createElement)(Bo,{clientId:a,rootClientId:d}),Be&&Object(u.createElement)($e,{clientId:a,rootClientId:d}),Object(u.createElement)("div",{className:f()("editor-block-list__block-edit block-editor-block-list__block-edit",{"has-mover-inside":"horizontal"===o})},v&&Object(u.createElement)(Io,{rootClientId:d,moverDirection:o}),Ce&&"vertical"===o&&Le,Ee&&Object(u.createElement)(Co,{clientId:a,ref:ee}),(we||fe.current)&&Object(u.createElement)(wo,{focusOnMount:fe.current}),!W&&!we&&p&&!r&&!j&&Object(u.createElement)(U.KeyboardShortcuts,{bindGlobal:!0,eventName:"keydown",shortcuts:{"alt+f10":function(){fe.current=!0,Z({})}}}),Object(u.createElement)(No,{ref:Q,onDragStart:Fo,onMouseDown:function(e){0===e.button&&(W&&p&&Ro(Q.current,e.target)&&G(!1),e.shiftKey?p||(H(),e.preventDefault()):g&&R())},onMouseLeave:function(e){var t=e.which,n=e.buttons;p&&1===(n||t)&&V(a),ce()},"data-block":a},Object(u.createElement)(jo,{onError:function(){return de(!0)}},E&&Ae,E&&"html"===t&&Object(u.createElement)(So,{clientId:a}),Ce&&"horizontal"===o&&Le,!E&&[Object(u.createElement)(vo,{key:"invalid-warning",clientId:a}),Object(u.createElement)("div",{key:"invalid-preview"},Object(i.getSaveElement)(ve,I))]),!!se&&Object(u.createElement)(ko,null))),je&&Object(u.createElement)("div",{className:"editor-block-list__side-inserter block-editor-block-list__side-inserter"},Object(u.createElement)(Lo,{clientId:a,rootClientId:d,onToggle:me})),ye&&Object(u.createElement)("div",{className:"editor-block-list__empty-block-inserter block-editor-block-list__empty-block-inserter"},Object(u.createElement)(gi,{position:"top right",onToggle:me,rootClientId:d,clientId:a})))})),zo=n(53);var Ko=Object(p.compose)(Object(p.withState)({hovered:!1}),Object(m.withSelect)((function(e,t){var n=e("core/block-editor"),r=n.getBlockCount,o=n.getBlockName,c=n.isBlockValid,a=n.getSettings,l=n.getTemplateLock,s=!r(t.rootClientId),u=o(t.lastBlockClientId)===Object(i.getDefaultBlockName)(),d=c(t.lastBlockClientId),f=a().bodyPlaceholder;return{isVisible:s||!u||!d,showPrompt:s,isLocked:!!l(t.rootClientId),placeholder:f}})),Object(m.withDispatch)((function(e,t){var n=e("core/block-editor"),r=n.insertDefaultBlock,o=n.startTyping;return{onAppend:function(){var e=t.rootClientId;r(void 0,e),o()}}})))((function(e){var t=e.isLocked,n=e.isVisible,r=e.onAppend,o=e.showPrompt,i=e.placeholder,c=e.rootClientId,a=e.hovered,l=e.setState;if(t||!n)return null;var s=Object(zo.decodeEntities)(i)||Object(F.__)("Start writing or type / to choose a block");return Object(u.createElement)("div",{"data-root-client-id":c||"",className:"wp-block editor-default-block-appender block-editor-default-block-appender",onMouseEnter:function(){return l({hovered:!0})},onMouseLeave:function(){return l({hovered:!1})}},Object(u.createElement)($e,{rootClientId:c}),Object(u.createElement)(_o.a,{role:"button","aria-label":Object(F.__)("Add block"),className:"editor-default-block-appender__content block-editor-default-block-appender__content",readOnly:!0,onFocus:r,value:o?s:""}),a&&Object(u.createElement)(Lo,{rootClientId:c}),Object(u.createElement)(gi,{rootClientId:c,position:"top right",isAppender:!0}))}));var Wo=Object(m.withSelect)((function(e,t){var n=t.rootClientId,r=e("core/block-editor"),o=r.getBlockOrder,c=r.canInsertBlockType;return{isLocked:!!(0,r.getTemplateLock)(n),blockClientIds:o(n),canInsertDefaultBlock:c(Object(i.getDefaultBlockName)(),n)}}))((function(e){var t=e.blockClientIds,n=e.rootClientId,r=e.canInsertDefaultBlock,o=e.isLocked,i=e.renderAppender;return o?null:i?Object(u.createElement)("div",{className:"block-list-appender"},Object(u.createElement)(i,null)):!1===i?null:r?Object(u.createElement)("div",{className:"block-list-appender"},Object(u.createElement)(No,{childHandledEvents:["onFocus","onClick","onKeyDown"]},Object(u.createElement)(Ko,{rootClientId:n,lastBlockClientId:Object(b.last)(t)}))):Object(u.createElement)("div",{className:"block-list-appender"},Object(u.createElement)(vi,{rootClientId:n,className:"block-list-appender__toggle"}))})),Go=Object(U.createSlotFill)("__experimentalBlockListFooter"),qo=Go.Fill,$o=Go.Slot;qo.Slot=$o;var Yo=qo;function Xo(e,t){for(var n="start"===t?"firstChild":"lastChild",r="start"===t?"nextSibling":"previousSibling";e[n];)for(e=e[n];e.nodeType===e.TEXT_NODE&&/^[ \t\n]*$/.test(e.data)&&e[r];)e=e[r];return e}var Zo=200;var Jo,Qo=(Jo=function(e){var t=e.className,n=e.rootClientId,r=e.__experimentalMoverDirection,o=void 0===r?"vertical":r,i=e.isDraggable,c=e.renderAppender,a=Object(m.useSelect)((function(e){var t=e("core/block-editor"),r=t.getBlockOrder,o=t.isMultiSelecting,i=t.getSelectedBlockClientId,c=t.getMultiSelectedBlockClientIds,a=t.hasMultiSelection,l=t.getGlobalBlockCount,s=t.isTyping;return{blockClientIds:r(n),isMultiSelecting:o(),selectedBlockClientId:i(),multiSelectedBlockClientIds:c(),hasMultiSelection:a(),enableAnimation:!s()&&l()<=Zo}})),l=a.blockClientIds,s=a.isMultiSelecting,d=a.selectedBlockClientId,b=a.multiSelectedBlockClientIds,p=a.hasMultiSelection,h=a.enableAnimation,g=Object(u.useRef)(),v=function(e){var t=e.ref,n=e.rootClientId,r=Object(m.useSelect)((function(e){var t=e("core/block-editor"),r=t.getBlockOrder,o=t.isSelectionEnabled,i=t.isMultiSelecting,c=t.getMultiSelectedBlockClientIds,a=t.hasMultiSelection,l=t.getBlockParents;return{blockClientIds:r(n),isSelectionEnabled:o(),isMultiSelecting:i(),multiSelectedBlockClientIds:c(),hasMultiSelection:a(),getBlockParents:l}})),o=r.blockClientIds,i=r.isSelectionEnabled,c=r.isMultiSelecting,a=r.multiSelectedBlockClientIds,l=r.hasMultiSelection,s=r.getBlockParents,d=Object(m.useDispatch)("core/block-editor"),f=d.startMultiSelect,b=d.stopMultiSelect,p=d.multiSelect,h=d.selectBlock,g=Object(u.useRef)(),v=Object(u.useRef)();Object(u.useEffect)((function(){if(l&&!c){var e=a.length,n=a[0],r=a[e-1];if(-1!==o.indexOf(n)){var i=t.current.querySelector('[data-block="'.concat(n,'"]')),s=t.current.querySelector('[data-block="'.concat(r,'"]')),u=window.getSelection(),d=document.createRange();i=Xo(i,"start"),s=Xo(s,"end"),d.setStartBefore(i),d.setEndAfter(s),u.removeAllRanges(),u.addRange(d)}}}),[l,c,a,o,h]);var O=Object(u.useCallback)((function(){var e=window.getSelection();if(e.rangeCount&&!e.isCollapsed){var t,n=e.focusNode;do{n=n.parentElement}while(n&&!(t=n.getAttribute("data-block")));if(v.current===t)h(t);else{var r=[].concat(Object(R.a)(s(v.current)),[v.current]),o=[].concat(Object(R.a)(s(t)),[t]),i=Math.min(r.length,o.length)-1;p(r[i],o[i])}}}),[h,s,p]),k=Object(u.useCallback)((function(){document.removeEventListener("selectionchange",O),window.removeEventListener("mouseup",k),g.current=window.requestAnimationFrame((function(){O(),b()}))}),[O,b]);return Object(u.useEffect)((function(){return function(){document.removeEventListener("selectionchange",O),window.removeEventListener("mouseup",k),window.cancelAnimationFrame(g.current)}}),[O,k]),Object(u.useCallback)((function(e){i&&(v.current=e,f(),document.addEventListener("selectionchange",O),window.addEventListener("mouseup",k),Array.from(t.current.querySelectorAll(".rich-text")).forEach((function(e){return e.removeAttribute("contenteditable")})))}),[i,f,k])}({ref:g,rootClientId:n});return Object(u.createElement)("div",{ref:g,className:f()("editor-block-list__layout block-editor-block-list__layout",t)},l.map((function(e,t){var r=p?b.includes(e):d===e;return Object(u.createElement)(Qr,{key:"block-"+e,clientId:e,isBlockInSelection:r},Object(u.createElement)(Vo,{rootClientId:n,clientId:e,onSelectionStart:v,isDraggable:i,moverDirection:o,isMultiSelecting:s,animateOnChange:t,enableAnimation:h}))})),Object(u.createElement)(Wo,{rootClientId:n,renderAppender:c}),Object(u.createElement)(Yo.Slot,null))},function(e){return Object(u.createElement)(m.AsyncModeProvider,{value:!1},Object(u.createElement)(Jo,e))});function ei(e){var t=e.blocks,n=e.viewportWidth,r=e.padding,o=void 0===r?0:r,i=Object(u.useRef)(null),c=Object(u.useState)(!1),a=Object(Je.a)(c,2),l=a[0],s=a[1],d=Object(u.useState)(1),b=Object(Je.a)(d,2),p=b[0],h=b[1],m=Object(u.useState)({x:0,y:0}),g=Object(Je.a)(m,2),v=g[0],O=v.x,k=v.y,j=g[1];if(Object(u.useLayoutEffect)((function(){var e=setTimeout((function(){var e=i.current;if(e){if(1===t.length){var r=function(e,t){var n=Ao(e,t);if(n)return n.firstChild||n}(t[0].clientId,e);if(!r)return;var c=e.getBoundingClientRect();c={width:c.width-2*o,height:c.height-2*o,left:c.left,top:c.top};var a=r.getBoundingClientRect(),l=c.width/a.width||1,u=-(a.left-c.left)*l+o,d=c.height>a.height*l?(c.height-a.height*l)/2+o:0;h(l),j({x:u,y:d}),r.style.marginTop="0"}else{var f=e.getBoundingClientRect();h(f.width/n)}s(!0)}}),100);return function(){e&&window.clearTimeout(e)}}),[]),!t||0===t.length)return null;var y={transform:"scale(".concat(p,")"),visibility:l?"visible":"hidden",left:O,top:k,width:n};return Object(u.createElement)("div",{ref:i,className:f()("block-editor-block-preview__container editor-styles-wrapper",{"is-ready":l}),"aria-hidden":!0},Object(u.createElement)(U.Disabled,{style:y,className:"block-editor-block-preview__content"},Object(u.createElement)(Qo,null)))}var ti=Object(m.withSelect)((function(e){return{settings:e("core/block-editor").getSettings()}}))((function(e){var t=e.blocks,n=e.viewportWidth,r=void 0===n?700:n,o=e.padding,i=e.settings,c=Object(u.useMemo)((function(){return Object(b.castArray)(t)}),[t]),a=Object(u.useReducer)((function(e){return e+1}),0),l=Object(Je.a)(a,2),s=l[0],d=l[1];return Object(u.useLayoutEffect)(d,[t]),Object(u.createElement)(Jr,{value:c,settings:i},Object(u.createElement)(ei,{key:s,blocks:c,viewportWidth:r,padding:o}))}));var ni=function(e){var t=e.icon,n=e.onClick,r=e.isDisabled,o=e.title,i=e.className,c=Object(M.a)(e,["icon","onClick","isDisabled","title","className"]),a=t?{backgroundColor:t.background,color:t.foreground}:{};return Object(u.createElement)("li",{className:"editor-block-types-list__list-item block-editor-block-types-list__list-item"},Object(u.createElement)(U.Button,Object(s.a)({className:f()("editor-block-types-list__item block-editor-block-types-list__item",i),onClick:function(e){e.preventDefault(),n()},disabled:r},c),Object(u.createElement)("span",{className:"editor-block-types-list__item-icon block-editor-block-types-list__item-icon",style:a},Object(u.createElement)(We,{icon:t,showColors:!0})),Object(u.createElement)("span",{className:"editor-block-types-list__item-title block-editor-block-types-list__item-title"},o)))};var ri=function(e){var t=e.items,n=e.onSelect,r=e.onHover,o=void 0===r?function(){}:r,c=e.children;return(Object(u.createElement)("ul",{role:"list",className:"editor-block-types-list block-editor-block-types-list"},t&&t.map((function(e){return Object(u.createElement)(ni,{key:e.id,className:Object(i.getBlockMenuDefaultClassName)(e.id),icon:e.icon,onClick:function(){n(e),o(null)},onFocus:function(){return o(e)},onMouseEnter:function(){return o(e)},onMouseLeave:function(){return o(null)},onBlur:function(){return o(null)},isDisabled:e.isDisabled,title:e.title})})),c))};var oi=function(e){var t=e.blockType;return Object(u.createElement)("div",{className:"block-editor-block-card"},Object(u.createElement)(We,{icon:t.icon,showColors:!0}),Object(u.createElement)("div",{className:"block-editor-block-card__content"},Object(u.createElement)("div",{className:"block-editor-block-card__title"},t.title),Object(u.createElement)("div",{className:"block-editor-block-card__description"},t.description)))};var ii=Object(p.compose)(Object(p.ifCondition)((function(e){var t=e.items;return t&&t.length>0})),Object(m.withSelect)((function(e,t){var n=t.rootClientId,r=(0,e("core/blocks").getBlockType)((0,e("core/block-editor").getBlockName)(n));return{rootBlockTitle:r&&r.title,rootBlockIcon:r&&r.icon}})))((function(e){var t=e.rootBlockIcon,n=e.rootBlockTitle,r=e.items,o=Object(M.a)(e,["rootBlockIcon","rootBlockTitle","items"]);return Object(u.createElement)("div",{className:"editor-inserter__child-blocks block-editor-inserter__child-blocks"},(t||n)&&Object(u.createElement)("div",{className:"editor-inserter__parent-block-header block-editor-inserter__parent-block-header"},Object(u.createElement)(We,{icon:t,showColors:!0}),n&&Object(u.createElement)("h2",null,n)),Object(u.createElement)(ri,Object(s.a)({items:r},o)))})),ci=Object(U.createSlotFill)("__experimentalInserterMenuExtension"),ai=ci.Fill,li=ci.Slot;ai.Slot=li;var si=ai,ui=function(e){return e.stopPropagation()},di=function(e,t){var n=fi(t),r=function(e){return-1!==fi(e).indexOf(n)},o=Object(i.getCategories)();return e.filter((function(e){var t=Object(b.find)(o,{slug:e.category});return r(e.title)||Object(b.some)(e.keywords,r)||t&&r(t.title)}))},fi=function(e){return e=(e=(e=(e=Object(b.deburr)(e)).replace(/^\//,"")).toLowerCase()).trim()},bi=function(e){function t(){var e;return Object(y.a)(this,t),(e=Object(S.a)(this,Object(C.a)(t).apply(this,arguments))).state={childItems:[],filterValue:"",hoveredItem:null,suggestedItems:[],reusableItems:[],itemsPerCategory:{},openPanels:["suggested"]},e.onChangeSearchInput=e.onChangeSearchInput.bind(Object(E.a)(e)),e.onHover=e.onHover.bind(Object(E.a)(e)),e.panels={},e.inserterResults=Object(u.createRef)(),e}return Object(w.a)(t,e),Object(_.a)(t,[{key:"componentDidMount",value:function(){this.props.fetchReusableBlocks&&this.props.fetchReusableBlocks(),this.filter()}},{key:"componentDidUpdate",value:function(e){e.items!==this.props.items&&this.filter(this.state.filterValue)}},{key:"onChangeSearchInput",value:function(e){this.filter(e.target.value)}},{key:"onHover",value:function(e){this.setState({hoveredItem:e});var t=this.props,n=t.showInsertionPoint,r=t.hideInsertionPoint;e?n():r()}},{key:"bindPanel",value:function(e){var t=this;return function(n){t.panels[e]=n}}},{key:"onTogglePanel",value:function(e){var t=this;return function(){-1!==t.state.openPanels.indexOf(e)?t.setState({openPanels:Object(b.without)(t.state.openPanels,e)}):(t.setState({openPanels:[].concat(Object(R.a)(t.state.openPanels),[e])}),t.props.setTimeout((function(){Xe()(t.panels[e],t.inserterResults.current,{alignWithTop:!0})})))}}},{key:"filterOpenPanels",value:function(e,t,n,r){if(e===this.state.filterValue)return this.state.openPanels;if(!e)return["suggested"];var o=[];return r.length>0&&o.push("reusable"),n.length>0&&(o=o.concat(Object.keys(t))),o}},{key:"filter",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=this.props,n=t.debouncedSpeak,r=t.items,o=t.rootChildBlocks,c=di(r,e),a=Object(b.filter)(c,(function(e){var t=e.name;return Object(b.includes)(o,t)})),l=[];if(!e){var s=this.props.maxSuggestedItems||9;l=Object(b.filter)(r,(function(e){return e.utility>0})).slice(0,s)}var u=Object(b.filter)(c,{category:"reusable"}),d=function(e){return Object(b.findIndex)(Object(i.getCategories)(),(function(t){return t.slug===e.category}))},f=Object(b.flow)((function(e){return Object(b.filter)(e,(function(e){return"reusable"!==e.category}))}),(function(e){return Object(b.sortBy)(e,d)}),(function(e){return Object(b.groupBy)(e,"category")}))(c);this.setState({hoveredItem:null,childItems:a,filterValue:e,suggestedItems:l,reusableItems:u,itemsPerCategory:f,openPanels:this.filterOpenPanels(e,f,c,u)});var p=Object.keys(f).reduce((function(e,t){return e+f[t].length}),0),h=Object(F.sprintf)(Object(F._n)("%d result found.","%d results found.",p),p);n(h)}},{key:"onKeyDown",value:function(e){Object(b.includes)([Ge.LEFT,Ge.DOWN,Ge.RIGHT,Ge.UP,Ge.BACKSPACE,Ge.ENTER],e.keyCode)&&e.stopPropagation()}},{key:"render",value:function(){var e=this,t=this.props,n=t.instanceId,r=t.onSelect,o=t.rootClientId,c=t.showInserterHelpPanel,a=this.state,l=a.childItems,s=a.hoveredItem,d=a.itemsPerCategory,p=a.openPanels,h=a.reusableItems,m=a.suggestedItems,g=a.filterValue,v=function(e){return-1!==p.indexOf(e)},O=!Object(b.isEmpty)(m)||!Object(b.isEmpty)(h)||!Object(b.isEmpty)(d),k=s?Object(i.getBlockType)(s.name):null,j=O&&c;return Object(u.createElement)("div",{className:f()("editor-inserter__menu block-editor-inserter__menu",{"has-help-panel":j}),onKeyPress:ui,onKeyDown:this.onKeyDown},Object(u.createElement)("div",{className:"block-editor-inserter__main-area"},Object(u.createElement)("label",{htmlFor:"block-editor-inserter__search-".concat(n),className:"screen-reader-text"},Object(F.__)("Search for a block")),Object(u.createElement)("input",{id:"block-editor-inserter__search-".concat(n),type:"search",placeholder:Object(F.__)("Search for a block"),className:"editor-inserter__search block-editor-inserter__search",autoFocus:!0,onChange:this.onChangeSearchInput}),Object(u.createElement)("div",{className:"editor-inserter__results block-editor-inserter__results",ref:this.inserterResults,tabIndex:"0",role:"region","aria-label":Object(F.__)("Available block types")},Object(u.createElement)(ii,{rootClientId:o,items:l,onSelect:r,onHover:this.onHover}),!!m.length&&Object(u.createElement)(U.PanelBody,{title:Object(F._x)("Most Used","blocks"),opened:v("suggested"),onToggle:this.onTogglePanel("suggested"),ref:this.bindPanel("suggested")},Object(u.createElement)(ri,{items:m,onSelect:r,onHover:this.onHover})),Object(b.map)(Object(i.getCategories)(),(function(t){var n=d[t.slug];return n&&n.length?Object(u.createElement)(U.PanelBody,{key:t.slug,title:t.title,icon:t.icon,opened:v(t.slug),onToggle:e.onTogglePanel(t.slug),ref:e.bindPanel(t.slug)},Object(u.createElement)(ri,{items:n,onSelect:r,onHover:e.onHover})):null})),!!h.length&&Object(u.createElement)(U.PanelBody,{className:"editor-inserter__reusable-blocks-panel block-editor-inserter__reusable-blocks-panel",title:Object(F.__)("Reusable"),opened:v("reusable"),onToggle:this.onTogglePanel("reusable"),icon:"controls-repeat",ref:this.bindPanel("reusable")},Object(u.createElement)(ri,{items:h,onSelect:r,onHover:this.onHover}),Object(u.createElement)("a",{className:"editor-inserter__manage-reusable-blocks block-editor-inserter__manage-reusable-blocks",href:Object(Ze.addQueryArgs)("edit.php",{post_type:"wp_block"})},Object(F.__)("Manage All Reusable Blocks"))),Object(u.createElement)(si.Slot,{fillProps:{onSelect:r,onHover:this.onHover,filterValue:g,hasItems:O}},(function(e){return e.length?e:O?null:Object(u.createElement)("p",{className:"editor-inserter__no-results block-editor-inserter__no-results"},Object(F.__)("No blocks found."))})))),j&&Object(u.createElement)("div",{className:"block-editor-inserter__menu-help-panel"},s&&Object(u.createElement)(u.Fragment,null,!Object(i.isReusableBlock)(s)&&Object(u.createElement)(oi,{blockType:k}),Object(u.createElement)("div",{className:"block-editor-inserter__preview"},Object(i.isReusableBlock)(s)||k.example?Object(u.createElement)("div",{className:"block-editor-inserter__preview-content"},Object(u.createElement)(ti,{padding:10,viewportWidth:500,blocks:k.example?Object(i.getBlockFromExample)(s.name,k.example):Object(i.createBlock)(s.name,s.initialAttributes)})):Object(u.createElement)("div",{className:"block-editor-inserter__preview-content-missing"},Object(F.__)("No Preview Available.")))),!s&&Object(u.createElement)("div",{className:"block-editor-inserter__menu-help-panel-no-block"},Object(u.createElement)("div",{className:"block-editor-inserter__menu-help-panel-no-block-text"},Object(u.createElement)("div",{className:"block-editor-inserter__menu-help-panel-title"},Object(F.__)("Content Blocks")),Object(u.createElement)("p",null,Object(F.__)("Welcome to the wonderful world of blocks! Blocks are the basis of all content within the editor.")),Object(u.createElement)("p",null,Object(F.__)("There are blocks available for all kinds of content: insert text, headings, images, lists, videos, tables, and lots more.")),Object(u.createElement)("p",null,Object(F.__)("Browse through the library to learn more about what each block does."))),Object(u.createElement)(U.Tip,null,Object(u.__experimentalCreateInterpolateElement)(Object(F.__)("While writing, you can press / to quickly insert new blocks."),{kbd:Object(u.createElement)("kbd",null)})))))}}]),t}(u.Component),pi=Object(p.compose)(Object(m.withSelect)((function(e,t){var n=t.clientId,r=t.isAppender,o=t.rootClientId,i=t.showInserterHelpPanel,c=e("core/block-editor"),a=c.getInserterItems,l=c.getBlockName,s=c.getBlockRootClientId,u=c.getBlockSelectionEnd,d=c.getSettings,f=e("core/blocks").getChildBlockNames,b=o;if(!b&&!n&&!r){var p=u();p&&(b=s(p)||void 0)}var h=l(b),m=d(),g=m.showInserterHelpPanel,v=m.__experimentalFetchReusableBlocks;return{rootChildBlocks:f(h),items:a(b),showInserterHelpPanel:i&&g,destinationRootClientId:b,fetchReusableBlocks:v}})),Object(m.withDispatch)((function(e,t,n){var r=n.select,o=e("core/block-editor"),c=o.showInsertionPoint;function a(){var e=r("core/block-editor"),n=e.getBlockIndex,o=e.getBlockSelectionEnd,i=e.getBlockOrder,c=t.clientId,a=t.destinationRootClientId,l=t.isAppender;if(c)return n(c,a);var s=o();return!l&&s?n(s,a)+1:i(a).length}return{showInsertionPoint:function(){var e=a();c(t.destinationRootClientId,e)},hideInsertionPoint:o.hideInsertionPoint,onSelect:function(n){var o=e("core/block-editor"),c=o.replaceBlocks,l=o.insertBlock,s=r("core/block-editor").getSelectedBlock,u=t.isAppender,d=t.onSelect,f=t.__experimentalSelectBlockOnInsert,b=n.name,p=n.title,h=n.initialAttributes,m=s(),g=Object(i.createBlock)(b,h);if(!u&&m&&Object(i.isUnmodifiedDefaultBlock)(m))c(m.clientId,g);else if(l(g,a(),t.destinationRootClientId,f),!f){var v=Object(F.sprintf)(Object(F.__)("%s block added"),p);Object(Y.speak)(v)}return d(),g}}})),U.withSpokenMessages,p.withInstanceId,p.withSafeTimeout)(bi),hi=function(e){var t,n=e.onToggle,r=e.disabled,o=e.isOpen,i=e.blockTitle,c=e.hasSingleBlockType;return t=c?Object(F.sprintf)(Object(F._x)("Add %s","directly add the only allowed block"),i):Object(F._x)("Add block","Generic label for block inserter button"),Object(u.createElement)(U.IconButton,{icon:"insert",label:t,labelPosition:"bottom",onMouseDown:function(e){e.preventDefault(),e.currentTarget.focus()},onClick:n,className:"editor-inserter__toggle block-editor-inserter__toggle","aria-haspopup":!c&&"true","aria-expanded":!c&&o,disabled:r})},mi=function(e){function t(){var e;return Object(y.a)(this,t),(e=Object(S.a)(this,Object(C.a)(t).apply(this,arguments))).onToggle=e.onToggle.bind(Object(E.a)(e)),e.renderToggle=e.renderToggle.bind(Object(E.a)(e)),e.renderContent=e.renderContent.bind(Object(E.a)(e)),e}return Object(w.a)(t,e),Object(_.a)(t,[{key:"onToggle",value:function(e){var t=this.props.onToggle;t&&t(e)}},{key:"renderToggle",value:function(e){var t=e.onToggle,n=e.isOpen,r=this.props,o=r.disabled,i=r.blockTitle,c=r.hasSingleBlockType,a=r.renderToggle,l=void 0===a?hi:a;return l({onToggle:t,isOpen:n,disabled:o,blockTitle:i,hasSingleBlockType:c})}},{key:"renderContent",value:function(e){var t=e.onClose,n=this.props,r=n.rootClientId,o=n.clientId,i=n.isAppender,c=n.showInserterHelpPanel,a=n.__experimentalSelectBlockOnInsert;return Object(u.createElement)(pi,{onSelect:t,rootClientId:r,clientId:o,isAppender:i,showInserterHelpPanel:c,__experimentalSelectBlockOnInsert:a})}},{key:"render",value:function(){var e=this.props,t=e.position,n=e.hasSingleBlockType,r=e.insertOnlyAllowedBlock;return n?this.renderToggle({onToggle:r}):Object(u.createElement)(U.Dropdown,{className:"editor-inserter block-editor-inserter",contentClassName:"editor-inserter__popover block-editor-inserter__popover",position:t,onToggle:this.onToggle,expandOnMobile:!0,headerTitle:Object(F.__)("Add a block"),renderToggle:this.renderToggle,renderContent:this.renderContent})}}]),t}(u.Component),gi=Object(p.compose)([Object(m.withSelect)((function(e,t){var n=t.rootClientId,r=e("core/block-editor"),o=r.hasInserterItems,i=(0,r.__experimentalGetAllowedBlocks)(n),c=i&&1===Object(b.get)(i,["length"],0),a=!1;return c&&(a=i[0]),{hasItems:o(n),hasSingleBlockType:c,blockTitle:a?a.title:"",allowedBlockType:a}})),Object(m.withDispatch)((function(e,t,n){var r=n.select;return{insertOnlyAllowedBlock:function(){var n=t.rootClientId,o=t.clientId,c=t.isAppender,a=t.hasSingleBlockType,l=t.allowedBlockType,s=t.__experimentalSelectBlockOnInsert;if(a&&((0,e("core/block-editor").insertBlock)(Object(i.createBlock)(l.name),function(){var e=r("core/block-editor"),t=e.getBlockIndex,i=e.getBlockSelectionEnd,a=e.getBlockOrder;if(o)return t(o,n);var l=i();return!c&&l?t(l,n)+1:a(n).length}(),n,s),!s)){var u=Object(F.sprintf)(Object(F.__)("%s block added"),l.title);Object(Y.speak)(u)}}}})),Object(p.ifCondition)((function(e){return e.hasItems}))])(mi);var vi=function(e){var t=e.rootClientId,n=e.className,r=e.__experimentalSelectBlockOnInsert;return Object(u.createElement)(u.Fragment,null,Object(u.createElement)($e,{rootClientId:t}),Object(u.createElement)(gi,{rootClientId:t,__experimentalSelectBlockOnInsert:r,renderToggle:function(e){var t,r=e.onToggle,o=e.disabled,i=e.isOpen,c=e.blockTitle,a=e.hasSingleBlockType;t=a?Object(F.sprintf)(Object(F._x)("Add %s","directly add the only allowed block"),c):Object(F._x)("Add block","Generic label for block inserter button");var l=!a;return Object(u.createElement)(U.Tooltip,{text:t},Object(u.createElement)(U.Button,{className:f()(n,"block-editor-button-block-appender"),onClick:r,"aria-haspopup":l?"true":void 0,"aria-expanded":l?i:void 0,disabled:o,label:t},Object(u.createElement)("span",{className:"screen-reader-text"},t),Object(u.createElement)(U.Icon,{icon:"insert"})))},isAppender:!0}))};function Oi(e){var t=e.blocks,n=e.selectedBlockClientId,r=e.selectBlock,o=e.showAppender,a=e.showNestedBlocks,l=e.parentBlockClientId,s=o&&!!l;return Object(u.createElement)("ul",{className:"editor-block-navigation__list block-editor-block-navigation__list",role:"list"},Object(b.map)(Object(b.omitBy)(t,b.isNil),(function(e){var t=Object(i.getBlockType)(e.name),l=e.clientId===n;return Object(u.createElement)("li",{key:e.clientId},Object(u.createElement)("div",{className:"editor-block-navigation__item block-editor-block-navigation__item"},Object(u.createElement)(U.Button,{className:f()("editor-block-navigation__item-button block-editor-block-navigation__item-button",{"is-selected":l}),onClick:function(){return r(e.clientId)}},Object(u.createElement)(We,{icon:t.icon,showColors:!0}),function(e,t){var n=e.__experimentalDisplayName;if(!n||!t[n])return e.title;var r=Object(c.create)({html:t[n]});return Object(c.getTextContent)(r)}(t,e.attributes),l&&Object(u.createElement)("span",{className:"screen-reader-text"},Object(F.__)("(selected block)")))),a&&!!e.innerBlocks&&!!e.innerBlocks.length&&Object(u.createElement)(Oi,{blocks:e.innerBlocks,selectedBlockClientId:n,selectBlock:r,parentBlockClientId:e.clientId,showAppender:o,showNestedBlocks:!0}))})),s&&Object(u.createElement)("li",null,Object(u.createElement)("div",{className:"editor-block-navigation__item block-editor-block-navigation__item"},Object(u.createElement)(vi,{rootClientId:l,__experimentalSelectBlockOnInsert:!1}))))}var ki=Object(p.compose)(Object(m.withSelect)((function(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,r=t.getBlockHierarchyRootClientId,o=t.getBlock,i=t.getBlocks,c=n();return{rootBlocks:i(),rootBlock:c?o(r(c)):null,selectedBlockClientId:c}})),Object(m.withDispatch)((function(e,t){var n=t.onSelect,r=void 0===n?b.noop:n;return{selectBlock:function(t){e("core/block-editor").selectBlock(t),r(t)}}})))((function(e){var t=e.rootBlock,n=e.rootBlocks,r=e.selectedBlockClientId,o=e.selectBlock;if(!n||0===n.length)return null;var i=t&&(t.clientId!==r||t.innerBlocks&&0!==t.innerBlocks.length);return Object(u.createElement)(U.NavigableMenu,{role:"presentation",className:"editor-block-navigation__container block-editor-block-navigation__container"},Object(u.createElement)("p",{className:"editor-block-navigation__label block-editor-block-navigation__label"},Object(F.__)("Block navigation")),i&&Object(u.createElement)(Oi,{blocks:[t],selectedBlockClientId:r,selectBlock:o,showNestedBlocks:!0}),!i&&Object(u.createElement)(Oi,{blocks:n,selectedBlockClientId:r,selectBlock:o}))})),ji=Object(u.createElement)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"20",height:"20"},Object(u.createElement)(U.Path,{d:"M5 5H3v2h2V5zm3 8h11v-2H8v2zm9-8H6v2h11V5zM7 11H5v2h2v-2zm0 8h2v-2H7v2zm3-2v2h11v-2H10z"}));var yi=Object(m.withSelect)((function(e){return{hasBlocks:!!e("core/block-editor").getBlockCount()}}))((function(e){var t=e.hasBlocks,n=e.isDisabled,r=t&&!n;return Object(u.createElement)(U.Dropdown,{contentClassName:"editor-block-navigation__popover block-editor-block-navigation__popover",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(u.createElement)(u.Fragment,null,r&&Object(u.createElement)(U.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(I.a)({},Ge.rawShortcut.access("o"),n)}),Object(u.createElement)(U.IconButton,{icon:ji,"aria-expanded":t,onClick:r?n:void 0,label:Object(F.__)("Block navigation"),className:"editor-block-navigation block-editor-block-navigation",shortcut:Ge.displayShortcut.access("o"),"aria-disabled":!r}))},renderContent:function(e){var t=e.onClose;return Object(u.createElement)(ki,{onSelect:t})}})}));var _i=function(e){var t=e.icon,n=void 0===t?"layout":t,r=e.label,o=void 0===r?Object(F.__)("Choose pattern"):r,i=e.instructions,c=void 0===i?Object(F.__)("Select a pattern to start with."):i,a=e.patterns,l=e.onSelect,s=e.allowSkip,d=f()("block-editor-block-pattern-picker",{"has-many-patterns":a.length>4});return Object(u.createElement)(U.Placeholder,{icon:n,label:o,instructions:c,className:d},Object(u.createElement)("ul",{className:"block-editor-block-pattern-picker__patterns",role:"list"},a.map((function(e){return Object(u.createElement)("li",{key:e.name},Object(u.createElement)(U.IconButton,{isLarge:!0,icon:e.icon,size:48,onClick:function(){return l(e)},className:"block-editor-block-pattern-picker__pattern",label:e.label}))}))),s&&Object(u.createElement)("div",{className:"block-editor-block-pattern-picker__skip"},Object(u.createElement)(U.Button,{isLink:!0,onClick:function(){return l()}},Object(F.__)("Skip"))))},Si=Object(u.createElement)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},Object(u.createElement)(U.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(u.createElement)(U.Path,{d:"M16 13h-3V3h-2v10H8l4 4 4-4zM4 19v2h16v-2H4z"})),Ci=Object(u.createElement)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},Object(u.createElement)(U.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(u.createElement)(U.Path,{d:"M8 19h3v4h2v-4h3l-4-4-4 4zm8-14h-3V1h-2v4H8l4 4 4-4zM4 11v2h16v-2H4z"})),Ei={top:{icon:Object(u.createElement)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},Object(u.createElement)(U.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(u.createElement)(U.Path,{d:"M8 11h3v10h2V11h3l-4-4-4 4zM4 3v2h16V3H4z"})),title:Object(F._x)("Vertically Align Top","Block vertical alignment setting")},center:{icon:Ci,title:Object(F._x)("Vertically Align Middle","Block vertical alignment setting")},bottom:{icon:Si,title:Object(F._x)("Vertically Align Bottom","Block vertical alignment setting")}},wi=["top","center","bottom"],Ii="top";var Bi=function(e){var t=e.value,n=e.onChange,r=e.controls,o=void 0===r?wi:r,i=e.isCollapsed,c=void 0===i||i,a=Ei[t],s=Ei[Ii];return Object(u.createElement)(U.Toolbar,{isCollapsed:c,icon:a?a.icon:s.icon,label:Object(F._x)("Change vertical alignment","Block vertical alignment setting label"),controls:o.map((function(e){return Object(l.a)({},Ei[e],{isActive:t===e,onClick:(r=e,function(){return n(t===r?void 0:r)})});var r}))})};function Ti(e){var t=Object(m.useSelect)((function(e){return Object(b.pick)(e("core/block-editor").getSettings(),["gradients","disableCustomGradients"])})),n=t.gradients,r=t.disableCustomGradients;return Object(u.createElement)(U.__experimentalGradientPicker,Object(s.a)({gradients:void 0!==e.gradients?e.gradient:n,disableCustomGradients:void 0!==e.disableCustomGradients?e.disableCustomGradients:r},e))}var xi=function(e){var t=void 0!==e.gradients&&void 0!==e.disableCustomGradients?U.__experimentalGradientPicker:Ti;return Object(u.createElement)(t,e)},Ni=function(e){var t=e.className,n=e.value,r=e.onChange,o=e.label,i=void 0===o?Object(F.__)("Gradient Presets"):o,c=Object(M.a)(e,["className","value","onChange","label"]),a=Object(m.useSelect)((function(e){return Object(b.pick)(e("core/block-editor").getSettings(),["gradients","disableCustomGradients"])})),l=a.gradients,d=void 0===l?[]:l,p=a.disableCustomGradients;return Object(b.isEmpty)(d)&&p?null:Object(u.createElement)(U.BaseControl,{className:f()("block-editor-gradient-picker-control",t)},Object(u.createElement)(U.BaseControl.VisualLabel,null,i),Object(u.createElement)(xi,Object(s.a)({value:n,onChange:r,className:"block-editor-gradient-picker-control__gradient-picker-presets",gradients:d,disableCustomGradients:p},c)))};function Li(e){var t=Object(m.useSelect)((function(e){return e("core/block-editor").getSettings().gradients}));return Object(b.isEmpty)(t)?null:Object(u.createElement)(U.PanelBody,{title:Object(F.__)("Gradient")},Object(u.createElement)(Ni,e))}var Ai=n(45),Ri=n.n(Ai),Mi=Object(p.createHigherOrderComponent)((function(e){return ne((function(e){return Object(b.pick)(e,["clientId"])}))(e)}),"withClientId"),Pi=Mi((function(e){var t=e.clientId;return Object(u.createElement)(vi,{rootClientId:t})})),Di=Object(p.compose)([Mi,Object(m.withSelect)((function(e,t){var n=t.clientId,r=(0,e("core/block-editor").getBlockOrder)(n);return{lastBlockClientId:Object(b.last)(r)}}))])((function(e){var t=e.clientId,n=e.lastBlockClientId;return Object(u.createElement)(No,{childHandledEvents:["onFocus","onClick","onKeyDown"]},Object(u.createElement)(Ko,{rootClientId:t,lastBlockClientId:n}))})),Fi=function(e){function t(){var e;return Object(y.a)(this,t),(e=Object(S.a)(this,Object(C.a)(t).apply(this,arguments))).state={templateInProcess:!!e.props.template},e.updateNestedSettings(),e}return Object(w.a)(t,e),Object(_.a)(t,[{key:"componentDidMount",value:function(){var e=this.props,t=e.templateLock;0!==e.block.innerBlocks.length&&"all"!==t||this.synchronizeBlocksWithTemplate(),this.state.templateInProcess&&this.setState({templateInProcess:!1})}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.template,r=t.block,o=t.templateLock,i=r.innerBlocks;(this.updateNestedSettings(),0===i.length||"all"===o)&&(!Object(b.isEqual)(n,e.template)&&this.synchronizeBlocksWithTemplate())}},{key:"synchronizeBlocksWithTemplate",value:function(){var e=this.props,t=e.template,n=e.block,r=e.replaceInnerBlocks,o=n.innerBlocks,c=Object(i.synchronizeBlocksWithTemplate)(o,t);Object(b.isEqual)(c,o)||r(c)}},{key:"updateNestedSettings",value:function(){var e=this.props,t=e.blockListSettings,n=e.allowedBlocks,r=e.updateNestedSettings,o=e.templateLock,i=e.parentLock,c={allowedBlocks:n,templateLock:void 0===o?i:o};Ri()(t,c)||r(c)}},{key:"render",value:function(){var e=this.props,t=e.enableClickThrough,n=e.clientId,r=e.hasOverlay,o=e.renderAppender,i=e.__experimentalMoverDirection,c=this.state.templateInProcess,a=f()("editor-inner-blocks block-editor-inner-blocks",{"has-overlay":t&&r});return Object(u.createElement)("div",{className:a},!c&&Object(u.createElement)(Qo,{rootClientId:n,renderAppender:o,__experimentalMoverDirection:i}))}}]),t}(u.Component);(Fi=Object(p.compose)([Object(a.withViewportMatch)({isSmallScreen:"< medium"}),ne((function(e){return Object(b.pick)(e,["clientId"])})),Object(m.withSelect)((function(e,t){var n=e("core/block-editor"),r=n.isBlockSelected,o=n.hasSelectedInnerBlock,i=n.getBlock,c=n.getBlockListSettings,a=n.getBlockRootClientId,l=n.getTemplateLock,s=n.isNavigationMode,u=t.clientId,d=t.isSmallScreen,f=i(u),b=a(u);return{block:f,blockListSettings:c(u),hasOverlay:"core/template"!==f.name&&!r(u)&&!o(u,!0),parentLock:l(b),enableClickThrough:s()||d}})),Object(m.withDispatch)((function(e,t){var n=e("core/block-editor"),r=n.replaceInnerBlocks,o=n.updateBlockListSettings,i=t.block,c=t.clientId,a=t.templateInsertUpdatesSelection,l=void 0===a||a;return{replaceInnerBlocks:function(e){r(c,e,0===i.innerBlocks.length&&l)},updateNestedSettings:function(t){e(o(c,t))}}}))])(Fi)).DefaultBlockAppender=Di,Fi.ButtonBlockAppender=Pi,Fi.Content=Object(i.withBlockContentContext)((function(e){var t=e.BlockContent;return Object(u.createElement)(t,null)}));var Ui=Fi,Hi=Object(U.createSlotFill)("InspectorAdvancedControls"),Vi=Hi.Fill,zi=Hi.Slot,Ki=re(Vi);Ki.slotName="InspectorAdvancedControls",Ki.Slot=zi;var Wi=Ki,Gi=n(43),qi=[{id:"newTab",title:Object(F.__)("Open in New Tab"),checked:!1}],$i=function(e){var t=e.settings,n=void 0===t?qi:t,r=e.onSettingChange,o=void 0===r?b.noop:r;if(!n||!n.length)return null;var i=function(e){return function(t){o(e.id,t,n)}},c=n.map((function(e){return Object(u.createElement)(U.ToggleControl,{className:"block-editor-link-control__setting",key:e.id,label:e.title,onChange:i(e),checked:e.checked})}));return Object(u.createElement)("fieldset",{className:"block-editor-link-control__settings"},Object(u.createElement)("legend",{className:"screen-reader-text"},Object(F.__)("Currently selected link settings")),c)},Yi=function(e){var t=e.itemProps,n=e.suggestion,r=e.isSelected,o=void 0!==r&&r,i=e.onClick,c=e.isURL,a=void 0!==c&&c,l=e.searchTerm,d=void 0===l?"":l;return Object(u.createElement)(U.Button,Object(s.a)({type:"submit"},t,{onClick:i,className:f()("block-editor-link-control__search-item",{"is-selected":o,"is-url":a,"is-entity":!a})}),a&&Object(u.createElement)(U.Icon,{className:"block-editor-link-control__search-item-icon",icon:"admin-site-alt3"}),Object(u.createElement)("span",{className:"block-editor-link-control__search-item-header"},Object(u.createElement)("span",{className:"block-editor-link-control__search-item-title"},Object(u.createElement)(U.TextHighlight,{text:n.title,highlight:d})),Object(u.createElement)("span",{"aria-hidden":!a,className:"block-editor-link-control__search-item-info"},!a&&(Object(Ze.safeDecodeURI)(n.url)||""),a&&Object(F.__)("Press ENTER to add this link"))),n.type&&Object(u.createElement)("span",{className:"block-editor-link-control__search-item-type"},n.type))},Xi=function(e){var t=e.value,n=e.onChange,r=e.onSelect,o=e.renderSuggestions,i=e.fetchSuggestions,c=e.onReset,a=e.onKeyDown,l=e.onKeyPress;return Object(u.createElement)("form",{onSubmit:function(e){e.preventDefault(),e.stopPropagation()}},Object(u.createElement)(rc,{className:"block-editor-link-control__search-input",value:t,onChange:function(e,t){n(e),t&&r(t)},onKeyDown:function(e){e.keyCode!==Ge.ENTER&&a(e)},onKeyPress:l,placeholder:Object(F.__)("Search or type url"),__experimentalRenderSuggestions:o,__experimentalFetchLinkSuggestions:i,__experimentalHandleURLSuggestions:!0}),Object(u.createElement)(U.IconButton,{disabled:!t.length,type:"reset",label:Object(F.__)("Reset"),icon:"no-alt",className:"block-editor-link-control__search-reset",onClick:c}))},Zi="edit";var Ji=Object(p.compose)(p.withInstanceId,Object(m.withSelect)((function(e,t){if(!t.fetchSearchSuggestions||!Object(b.isFunction)(t.fetchSearchSuggestions))return{fetchSearchSuggestions:(0,e("core/block-editor").getSettings)().__experimentalFetchLinkSuggestions}})))((function(e){var t=e.className,n=e.currentLink,r=e.currentSettings,o=e.fetchSearchSuggestions,i=e.instanceId,c=e.onClose,a=void 0===c?b.noop:c,l=e.onChangeMode,d=void 0===l?b.noop:l,p=e.onKeyDown,h=void 0===p?b.noop:p,m=e.onKeyPress,g=void 0===m?b.noop:m,v=e.onLinkChange,O=void 0===v?b.noop:v,k=e.onSettingsChange,j=void 0===k?b.noop:k,y=Object(u.useState)(""),_=Object(Je.a)(y,2),S=_[0],C=_[1],E=Object(u.useState)(!1),w=Object(Je.a)(E,2),I=w[0],B=w[1];Object(u.useEffect)((function(){B(!n)}),[n]);var T=function(){C("")},x=function(e){var t="URL",n=Object(Ze.getProtocol)(e)||"";return n.includes("mailto")&&(t="mailto"),n.includes("tel")&&(t="tel"),Object(b.startsWith)(e,"#")&&(t="internal"),Promise.resolve([{id:"-1",title:e,url:"URL"===t?Object(Ze.prependHTTP)(e):e,type:t}])},N=function(){var e=Object(Gi.a)(kt.a.mark((function e(t){var n,r;return kt.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all([o(t),x(t)]);case 2:return n=e.sent,r=!t.includes(" "),e.abrupt("return",r?n[0].concat(n[1]):n[0]);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),L=Object(u.useCallback)((function(e){var t=Object(Ze.getProtocol)(e)||"",n=t.includes("mailto"),r=Object(b.startsWith)(e,"#"),o=t.includes("tel");return r||n||o||Object(Ze.isURL)(e)||e&&e.includes("www.")?x(e):N(e)}),[x,o]);return Object(u.createElement)(U.Popover,{className:f()("block-editor-link-control",t),onClose:function(){T(),a()},position:"bottom center",focusOnMount:"firstElement"},Object(u.createElement)("div",{className:"block-editor-link-control__popover-inner"},Object(u.createElement)("div",{className:"block-editor-link-control__search"},!I&&n&&Object(u.createElement)(u.Fragment,null,Object(u.createElement)("p",{className:"screen-reader-text",id:"current-link-label-".concat(i)},Object(F.__)("Currently selected"),":"),Object(u.createElement)("div",{"aria-labelledby":"current-link-label-".concat(i),"aria-selected":"true",className:f()("block-editor-link-control__search-item",{"is-current":!0})},Object(u.createElement)("span",{className:"block-editor-link-control__search-item-header"},Object(u.createElement)(U.ExternalLink,{className:"block-editor-link-control__search-item-title",href:n.url},n.title),Object(u.createElement)("span",{className:"block-editor-link-control__search-item-info"},Object(Ze.filterURLForDisplay)(Object(Ze.safeDecodeURI)(n.url))||"")),Object(u.createElement)(U.Button,{isDefault:!0,onClick:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"show";return function(){B(Zi===e),n&&n.title&&C(n.title),Object(b.isFunction)(d)&&d(e)}}(Zi),className:"block-editor-link-control__search-item-action block-editor-link-control__search-item-action--edit"},Object(F.__)("Change")))),I&&Object(u.createElement)(Xi,{value:S,onChange:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";C(e)},onSelect:O,renderSuggestions:function(e){var t=e.suggestionsListProps,n=e.buildSuggestionItemProps,r=e.suggestions,o=e.selectedSuggestion,i=e.isLoading,c=f()("block-editor-link-control__search-results",{"is-loading":i}),a=["url","mailto","tel","internal"];return Object(u.createElement)("div",{className:"block-editor-link-control__search-results-wrapper"},Object(u.createElement)("div",Object(s.a)({},t,{className:c}),r.map((function(e,t){return Object(u.createElement)(Yi,{key:"".concat(e.id,"-").concat(e.type),itemProps:n(e,t),suggestion:e,onClick:function(){return O(e)},isSelected:t===o,isURL:a.includes(e.type.toLowerCase()),searchTerm:S})}))))},fetchSuggestions:L,onReset:T,onKeyDown:h,onKeyPress:g}),!I&&Object(u.createElement)($i,{settings:r,onSettingChange:j}))))})),Qi=Object(U.withFilters)("editor.MediaUpload")((function(){return null}));var ec=Object(m.withSelect)((function(e){return{hasUploadPermissions:!!(0,e("core/block-editor").getSettings)().mediaUpload}}))((function(e){var t=e.hasUploadPermissions,n=e.fallback,r=void 0===n?null:n,o=e.children;return t?o:r})),tc=function(e){return e.stopPropagation()},nc=function(e){function t(e){var n;return Object(y.a)(this,t),(n=Object(S.a)(this,Object(C.a)(t).call(this,e))).onChange=n.onChange.bind(Object(E.a)(n)),n.onKeyDown=n.onKeyDown.bind(Object(E.a)(n)),n.selectLink=n.selectLink.bind(Object(E.a)(n)),n.handleOnClick=n.handleOnClick.bind(Object(E.a)(n)),n.bindSuggestionNode=n.bindSuggestionNode.bind(Object(E.a)(n)),n.autocompleteRef=e.autocompleteRef||Object(u.createRef)(),n.inputRef=Object(u.createRef)(),n.updateSuggestions=Object(b.throttle)(n.updateSuggestions.bind(Object(E.a)(n)),200),n.suggestionNodes=[],n.state={suggestions:[],showSuggestions:!1,selectedSuggestion:null},n}return Object(w.a)(t,e),Object(_.a)(t,[{key:"componentDidUpdate",value:function(){var e=this,t=this.state,n=t.showSuggestions,r=t.selectedSuggestion;n&&null!==r&&!this.scrollingIntoView&&(this.scrollingIntoView=!0,Xe()(this.suggestionNodes[r],this.autocompleteRef.current,{onlyScrollIfNeeded:!0}),this.props.setTimeout((function(){e.scrollingIntoView=!1}),100))}},{key:"componentWillUnmount",value:function(){delete this.suggestionsRequest}},{key:"bindSuggestionNode",value:function(e){var t=this;return function(n){t.suggestionNodes[e]=n}}},{key:"updateSuggestions",value:function(e){var t=this,n=this.props,r=n.__experimentalFetchLinkSuggestions,o=n.__experimentalHandleURLSuggestions;if(r)if(e.length<2||!o&&Object(Ze.isURL)(e))this.setState({showSuggestions:!1,selectedSuggestion:null,loading:!1});else{this.setState({showSuggestions:!0,selectedSuggestion:null,loading:!0});var i=r(e);i.then((function(e){t.suggestionsRequest===i&&(t.setState({suggestions:e,loading:!1}),e.length?t.props.debouncedSpeak(Object(F.sprintf)(Object(F._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",e.length),e.length),"assertive"):t.props.debouncedSpeak(Object(F.__)("No results."),"assertive"))})).catch((function(){t.suggestionsRequest===i&&t.setState({loading:!1})})),this.suggestionsRequest=i}}},{key:"onChange",value:function(e){var t=e.target.value;this.props.onChange(t),this.updateSuggestions(t)}},{key:"onKeyDown",value:function(e){var t=this.state,n=t.showSuggestions,r=t.selectedSuggestion,o=t.suggestions,i=t.loading;if(n&&o.length&&!i||!this.props.value){var c=this.state.suggestions[this.state.selectedSuggestion];switch(e.keyCode){case Ge.UP:e.stopPropagation(),e.preventDefault();var a=r?r-1:o.length-1;this.setState({selectedSuggestion:a});break;case Ge.DOWN:e.stopPropagation(),e.preventDefault();var l=null===r||r===o.length-1?0:r+1;this.setState({selectedSuggestion:l});break;case Ge.TAB:null!==this.state.selectedSuggestion&&(this.selectLink(c),this.props.speak(Object(F.__)("Link selected.")));break;case Ge.ENTER:null!==this.state.selectedSuggestion&&(e.stopPropagation(),this.selectLink(c))}}else switch(e.keyCode){case Ge.UP:0!==e.target.selectionStart&&(e.stopPropagation(),e.preventDefault(),e.target.setSelectionRange(0,0));break;case Ge.DOWN:this.props.value.length!==e.target.selectionStart&&(e.stopPropagation(),e.preventDefault(),e.target.setSelectionRange(this.props.value.length,this.props.value.length))}}},{key:"selectLink",value:function(e){this.props.onChange(e.url,e),this.setState({selectedSuggestion:null,showSuggestions:!1})}},{key:"handleOnClick",value:function(e){this.selectLink(e),this.inputRef.current.focus()}},{key:"render",value:function(){var e=this,t=this.props,n=t.label,r=t.instanceId,o=t.className,i=t.isFullWidth,c=t.hasBorder,a=t.__experimentalRenderSuggestions,l=t.placeholder,d=void 0===l?Object(F.__)("Paste URL or type to search"):l,p=t.value,h=void 0===p?"":p,m=t.autoFocus,g=void 0===m||m,v=this.state,O=v.showSuggestions,k=v.suggestions,j=v.selectedSuggestion,y=v.loading,_="url-input-control-".concat(r),S="block-editor-url-input-suggestions-".concat(r),C="block-editor-url-input-suggestion-".concat(r),E={id:S,ref:this.autocompleteRef,role:"listbox"},w=function(t,n){return{role:"option",tabIndex:"-1",id:"".concat(C,"-").concat(n),ref:e.bindSuggestionNode(n),"aria-selected":n===j}};return Object(u.createElement)(U.BaseControl,{label:n,id:_,className:f()("editor-url-input block-editor-url-input",o,{"is-full-width":i,"has-border":c})},Object(u.createElement)("input",{autoFocus:g,type:"text","aria-label":Object(F.__)("URL"),required:!0,value:h,onChange:this.onChange,onInput:tc,placeholder:d,onKeyDown:this.onKeyDown,role:"combobox","aria-expanded":O,"aria-autocomplete":"list","aria-owns":S,"aria-activedescendant":null!==j?"".concat(C,"-").concat(j):void 0,ref:this.inputRef}),y&&Object(u.createElement)(U.Spinner,null),Object(b.isFunction)(a)&&O&&!!k.length&&a({suggestions:k,selectedSuggestion:j,suggestionsListProps:E,buildSuggestionItemProps:w,isLoading:y,handleSuggestionClick:this.handleOnClick}),!Object(b.isFunction)(a)&&O&&!!k.length&&Object(u.createElement)(U.Popover,{position:"bottom",noArrow:!0,focusOnMount:!1},Object(u.createElement)("div",Object(s.a)({},E,{className:f()("editor-url-input__suggestions","block-editor-url-input__suggestions","".concat(o,"__suggestions"))}),k.map((function(t,n){return Object(u.createElement)(U.Button,Object(s.a)({},w(0,n),{key:t.id,className:f()("editor-url-input__suggestion block-editor-url-input__suggestion",{"is-selected":n===j}),onClick:function(){return e.handleOnClick(t)}}),t.title)})))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.value,r=e.disableSuggestions,o=t.showSuggestions,i=t.selectedSuggestion,c=o,a=n&&n.length;return a||(c=!1),!0===r&&(c=!1),{selectedSuggestion:a?i:null,showSuggestions:c}}}]),t}(u.Component),rc=Object(p.compose)(p.withSafeTimeout,U.withSpokenMessages,p.withInstanceId,Object(m.withSelect)((function(e,t){if(!Object(b.isFunction)(t.__experimentalFetchLinkSuggestions))return{__experimentalFetchLinkSuggestions:(0,e("core/block-editor").getSettings)().__experimentalFetchLinkSuggestions}})))(nc);function oc(e){var t=e.autocompleteRef,n=e.className,r=e.onChangeInputValue,o=e.value,i=Object(M.a)(e,["autocompleteRef","className","onChangeInputValue","value"]);return Object(u.createElement)("form",Object(s.a)({className:f()("block-editor-url-popover__link-editor",n)},i),Object(u.createElement)(rc,{value:o,onChange:r,autocompleteRef:t}),Object(u.createElement)(U.IconButton,{icon:"editor-break",label:Object(F.__)("Apply"),type:"submit"}))}function ic(e){var t=e.url,n=e.urlLabel,r=e.className,o=f()(r,"block-editor-url-popover__link-viewer-url");return t?Object(u.createElement)(U.ExternalLink,{className:o,href:t},n||Object(Ze.filterURLForDisplay)(Object(Ze.safeDecodeURI)(t))):Object(u.createElement)("span",{className:o})}function cc(e){var t=e.className,n=e.linkClassName,r=e.onEditLinkClick,o=e.url,i=e.urlLabel,c=Object(M.a)(e,["className","linkClassName","onEditLinkClick","url","urlLabel"]);return Object(u.createElement)("div",Object(s.a)({className:f()("block-editor-url-popover__link-viewer",t)},c),Object(u.createElement)(ic,{url:o,urlLabel:i,className:n}),r&&Object(u.createElement)(U.IconButton,{icon:"edit",label:Object(F.__)("Edit"),onClick:r}))}var ac=Object(p.compose)(U.withNotices)((function(e){var t,n=e.mediaURL,r=e.allowedTypes,o=e.accept,i=e.onSelect,c=e.onSelectURL,a=e.onError,l=e.name,s=void 0===l?Object(F.__)("Replace"):l,d=Object(u.useState)(!1),f=Object(Je.a)(d,2),b=f[0],p=f[1],h=Object(u.useState)(!1),g=Object(Je.a)(h,2),v=g[0],O=g[1],k=Object(u.useState)(n),j=Object(Je.a)(k,2),y=j[0],_=j[1],S=Object(u.useState)(!1),C=Object(Je.a)(S,2),E=C[0],w=C[1],I=Object(m.useSelect)((function(e){return e("core/block-editor").getSettings().mediaUpload})),B=Object(u.createRef)(),T=function(e){i(e),_(e.url),Object(Y.speak)(Object(F.__)("The media file has been replaced"))},x=function(e){var t=e.target.files;I({allowedTypes:r,filesList:t,onFileChange:function(e){var t=Object(Je.a)(e,1)[0];w(!1),T(t)},onError:a})},N=function(){B.current.focus()},L=function(){return w(!1)},A=function(e){e.keyCode===Ge.DOWN&&(e.preventDefault(),e.stopPropagation(),e.target.click())};return t=v?Object(u.createElement)(oc,{onKeyDown:function(e){[Ge.LEFT,Ge.DOWN,Ge.RIGHT,Ge.UP,Ge.BACKSPACE,Ge.ENTER].indexOf(e.keyCode)>-1&&e.stopPropagation()},onKeyPress:function(e){e.stopPropagation()},value:y,isFullWidthInput:!0,hasInputBorder:!0,onChangeInputValue:function(e){return _(e)},onSubmit:function(e){e.preventDefault(),c(y),O(!1),B.current.focus()}}):Object(u.createElement)(cc,{isFullWidth:!0,className:"editor-format-toolbar__link-container-content block-editor-format-toolbar__link-container-content",url:y,onEditLinkClick:function(){return O(!v)}}),Object(u.createElement)(Qi,{onSelect:function(e){return T(e)},onClose:function(){return w(!0)},allowedTypes:r,render:function(e){var n=e.open;return Object(u.createElement)(U.Toolbar,{className:"media-replace-flow components-dropdown-menu"},Object(u.createElement)(U.Button,{ref:B,className:"components-icon-button components-dropdown-menu__toggle",onClick:function(){w(!E)},onKeyDown:A},Object(u.createElement)("span",{className:"components-dropdown-menu__label"}," ",s," "),Object(u.createElement)("span",{className:"components-dropdown-menu__indicator"})),E&&Object(u.createElement)(U.Popover,{onClickOutside:L,onClose:N,className:"media-replace-flow__options"},Object(u.createElement)(U.NavigableMenu,null,Object(u.createElement)(U.MenuItem,{icon:"admin-media",onClick:n},Object(F.__)("Open Media Library")),Object(u.createElement)(ec,null,Object(u.createElement)(U.FormFileUpload,{onChange:x,accept:o,render:function(e){var t=e.openFileDialog;return Object(u.createElement)(U.MenuItem,{icon:"upload",onClick:function(){t()}},Object(F.__)("Upload"))}})),Object(u.createElement)(U.MenuItem,{icon:"admin-links",onClick:function(){return p(!b)},"aria-expanded":b},Object(u.createElement)("div",null," ",Object(F.__)("Insert from URL")," "))),b&&Object(u.createElement)("div",{className:"block-editor-media-flow__url-input"},t)))}})})),lc=n(35),sc=n.n(lc),uc=function(e){function t(){var e;return Object(y.a)(this,t),(e=Object(S.a)(this,Object(C.a)(t).apply(this,arguments))).toggleSettingsVisibility=e.toggleSettingsVisibility.bind(Object(E.a)(e)),e.state={isSettingsExpanded:!1},e}return Object(w.a)(t,e),Object(_.a)(t,[{key:"toggleSettingsVisibility",value:function(){this.setState({isSettingsExpanded:!this.state.isSettingsExpanded})}},{key:"render",value:function(){var e=this.props,t=e.additionalControls,n=e.children,r=e.renderSettings,o=e.position,i=void 0===o?"bottom center":o,c=e.focusOnMount,a=void 0===c?"firstElement":c,l=Object(M.a)(e,["additionalControls","children","renderSettings","position","focusOnMount"]),d=this.state.isSettingsExpanded,f=!!r&&d;return Object(u.createElement)(U.Popover,Object(s.a)({className:"editor-url-popover block-editor-url-popover",focusOnMount:a,position:i},l),Object(u.createElement)("div",{className:"block-editor-url-popover__input-container"},Object(u.createElement)("div",{className:"editor-url-popover__row block-editor-url-popover__row"},n,!!r&&Object(u.createElement)(U.IconButton,{className:"editor-url-popover__settings-toggle block-editor-url-popover__settings-toggle",icon:"arrow-down-alt2",label:Object(F.__)("Link settings"),onClick:this.toggleSettingsVisibility,"aria-expanded":d})),f&&Object(u.createElement)("div",{className:"editor-url-popover__row block-editor-url-popover__row editor-url-popover__settings block-editor-url-popover__settings"},r())),t&&!f&&Object(u.createElement)("div",{className:"block-editor-url-popover__additional-controls"},t))}}]),t}(u.Component);uc.LinkEditor=oc,uc.LinkViewer=cc;var dc=uc,fc=function(e){var t=e.src,n=e.onChange,r=e.onSubmit,o=e.onClose;return Object(u.createElement)(dc,{onClose:o},Object(u.createElement)("form",{className:"editor-media-placeholder__url-input-form block-editor-media-placeholder__url-input-form",onSubmit:r},Object(u.createElement)("input",{className:"editor-media-placeholder__url-input-field block-editor-media-placeholder__url-input-field",type:"url","aria-label":Object(F.__)("URL"),placeholder:Object(F.__)("Paste or type URL"),onChange:n,value:t}),Object(u.createElement)(U.IconButton,{className:"editor-media-placeholder__url-input-submit-button block-editor-media-placeholder__url-input-submit-button",icon:"editor-break",label:Object(F.__)("Apply"),type:"submit"})))},bc=function(e){function t(){var e;return Object(y.a)(this,t),(e=Object(S.a)(this,Object(C.a)(t).apply(this,arguments))).state={src:"",isURLInputVisible:!1},e.onChangeSrc=e.onChangeSrc.bind(Object(E.a)(e)),e.onSubmitSrc=e.onSubmitSrc.bind(Object(E.a)(e)),e.onUpload=e.onUpload.bind(Object(E.a)(e)),e.onFilesUpload=e.onFilesUpload.bind(Object(E.a)(e)),e.openURLInput=e.openURLInput.bind(Object(E.a)(e)),e.closeURLInput=e.closeURLInput.bind(Object(E.a)(e)),e}return Object(w.a)(t,e),Object(_.a)(t,[{key:"onlyAllowsImages",value:function(){var e=this.props.allowedTypes;return!!e&&Object(b.every)(e,(function(e){return"image"===e||Object(b.startsWith)(e,"image/")}))}},{key:"componentDidMount",value:function(){this.setState({src:Object(b.get)(this.props.value,["src"],"")})}},{key:"componentDidUpdate",value:function(e){Object(b.get)(e.value,["src"],"")!==Object(b.get)(this.props.value,["src"],"")&&this.setState({src:Object(b.get)(this.props.value,["src"],"")})}},{key:"onChangeSrc",value:function(e){this.setState({src:e.target.value})}},{key:"onSubmitSrc",value:function(e){e.preventDefault(),this.state.src&&this.props.onSelectURL&&(this.props.onSelectURL(this.state.src),this.closeURLInput())}},{key:"onUpload",value:function(e){this.onFilesUpload(e.target.files)}},{key:"onFilesUpload",value:function(e){var t,n=this.props,r=n.addToGallery,o=n.allowedTypes,i=n.mediaUpload,c=n.multiple,a=n.onError,l=n.onSelect,s=n.value;if(c)if(r){var u=void 0===s?[]:s;t=function(e){l(u.concat(e))}}else t=l;else t=function(e){var t=Object(Je.a)(e,1)[0];return l(t)};i({allowedTypes:o,filesList:e,onFileChange:t,onError:a})}},{key:"openURLInput",value:function(){this.setState({isURLInputVisible:!0})}},{key:"closeURLInput",value:function(){this.setState({isURLInputVisible:!1})}},{key:"renderPlaceholder",value:function(e,t){var n=this.props,r=n.allowedTypes,o=void 0===r?[]:r,i=n.className,c=n.icon,a=n.isAppender,l=n.labels,s=void 0===l?{}:l,d=n.onDoubleClick,b=n.mediaPreview,p=n.notices,h=n.onSelectURL,m=n.mediaUpload,g=n.children,v=s.instructions,O=s.title;if(m||h||(v=Object(F.__)("To edit this block, you need permission to upload media.")),void 0===v||void 0===O){var k=1===o.length,j=k&&"audio"===o[0],y=k&&"image"===o[0],_=k&&"video"===o[0];void 0===v&&m&&(v=Object(F.__)("Upload a media file or pick one from your media library."),j?v=Object(F.__)("Upload an audio file, pick one from your media library, or add one with a URL."):y?v=Object(F.__)("Upload an image file, pick one from your media library, or add one with a URL."):_&&(v=Object(F.__)("Upload a video file, pick one from your media library, or add one with a URL."))),void 0===O&&(O=Object(F.__)("Media"),j?O=Object(F.__)("Audio"):y?O=Object(F.__)("Image"):_&&(O=Object(F.__)("Video")))}var S=f()("block-editor-media-placeholder","editor-media-placeholder",i,{"is-appender":a});return Object(u.createElement)(U.Placeholder,{icon:c,label:O,instructions:v,className:S,notices:p,onClick:t,onDoubleClick:d,preview:b},e,g)}},{key:"renderDropZone",value:function(){var e=this.props,t=e.disableDropZone,n=e.onHTMLDrop,r=void 0===n?b.noop:n;return t?null:Object(u.createElement)(U.DropZone,{onFilesDrop:this.onFilesUpload,onHTMLDrop:r})}},{key:"renderCancelLink",value:function(){var e=this.props.onCancel;return e&&Object(u.createElement)(U.Button,{className:"block-editor-media-placeholder__cancel-button",title:Object(F.__)("Cancel"),isLink:!0,onClick:e},Object(F.__)("Cancel"))}},{key:"renderUrlSelectionUI",value:function(){if(!this.props.onSelectURL)return null;var e=this.state,t=e.isURLInputVisible,n=e.src;return Object(u.createElement)("div",{className:"editor-media-placeholder__url-input-container block-editor-media-placeholder__url-input-container"},Object(u.createElement)(U.Button,{className:"editor-media-placeholder__button block-editor-media-placeholder__button",onClick:this.openURLInput,isToggled:t,isLarge:!0},Object(F.__)("Insert from URL")),t&&Object(u.createElement)(fc,{src:n,onChange:this.onChangeSrc,onSubmit:this.onSubmitSrc,onClose:this.closeURLInput}))}},{key:"renderMediaUploadChecked",value:function(){var e=this,t=this.props,n=t.accept,r=t.addToGallery,o=t.allowedTypes,i=void 0===o?[]:o,c=t.isAppender,a=t.mediaUpload,l=t.multiple,s=void 0!==l&&l,d=t.onSelect,p=t.value,h=void 0===p?{}:p,m=Object(u.createElement)(Qi,{addToGallery:r,gallery:s&&this.onlyAllowsImages(),multiple:s,onSelect:d,allowedTypes:i,value:Object(b.isArray)(h)?h.map((function(e){return e.id})):h.id,render:function(e){var t=e.open;return Object(u.createElement)(U.Button,{isLarge:!0,className:f()("editor-media-placeholder__button","editor-media-placeholder__media-library-button"),onClick:function(e){e.stopPropagation(),t()}},Object(F.__)("Media Library"))}});if(a&&c)return Object(u.createElement)(u.Fragment,null,this.renderDropZone(),Object(u.createElement)(U.FormFileUpload,{onChange:this.onUpload,accept:n,multiple:s,render:function(t){var n=t.openFileDialog,r=Object(u.createElement)(u.Fragment,null,Object(u.createElement)(U.IconButton,{isLarge:!0,className:f()("block-editor-media-placeholder__button","editor-media-placeholder__button","block-editor-media-placeholder__upload-button"),icon:"upload"},Object(F.__)("Upload")),m,e.renderUrlSelectionUI(),e.renderCancelLink());return e.renderPlaceholder(r,n)}}));if(a){var g=Object(u.createElement)(u.Fragment,null,this.renderDropZone(),Object(u.createElement)(U.FormFileUpload,{isLarge:!0,className:f()("block-editor-media-placeholder__button","editor-media-placeholder__button","block-editor-media-placeholder__upload-button"),onChange:this.onUpload,accept:n,multiple:s},Object(F.__)("Upload")),m,this.renderUrlSelectionUI(),this.renderCancelLink());return this.renderPlaceholder(g)}return this.renderPlaceholder(m)}},{key:"render",value:function(){var e=this.props,t=e.disableMediaButtons,n=e.dropZoneUIOnly;return n||t?(n&&sc()("wp.blockEditor.MediaPlaceholder dropZoneUIOnly prop",{alternative:"disableMediaButtons"}),Object(u.createElement)(ec,null,this.renderDropZone())):Object(u.createElement)(ec,{fallback:this.renderPlaceholder(this.renderUrlSelectionUI())},this.renderMediaUploadChecked())}}]),t}(u.Component),pc=Object(m.withSelect)((function(e){return{mediaUpload:(0,e("core/block-editor").getSettings)().mediaUpload}})),hc=Object(p.compose)(pc,Object(U.withFilters)("editor.MediaPlaceholder"))(bc),mc=Object(u.forwardRef)((function(e,t){var n=e.onChange,r=e.className,o=Object(M.a)(e,["onChange","className"]);return Object(u.createElement)(_o.a,Object(s.a)({ref:t,className:f()("editor-plain-text block-editor-plain-text",r),onChange:function(e){return n(e.target.value)}},o))})),gc=Object(p.withInstanceId)((function(e){var t=e.instanceId,n=e.property,r=e.viewport,o=e.desc||Object(F.sprintf)(Object(F._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."),n,r.label);return Object(u.createElement)(u.Fragment,null,Object(u.createElement)("span",{"aria-describedby":"rbc-desc-".concat(t)},r.label),Object(u.createElement)("span",{className:"screen-reader-text",id:"rbc-desc-".concat(t)},o))}));var vc=function(e){var t=e.title,n=e.property,r=e.toggleLabel,o=e.onIsResponsiveChange,i=e.renderDefaultControl,c=e.renderResponsiveControls,a=e.isResponsive,l=void 0!==a&&a,s=e.defaultLabel,d=void 0===s?{id:"all",label:Object(F.__)("All")}:s,f=e.viewports,b=void 0===f?[{id:"small",label:Object(F.__)("Small screens")},{id:"medium",label:Object(F.__)("Medium screens")},{id:"large",label:Object(F.__)("Large screens")}]:f;if(!t||!n||!i)return null;var p=r||Object(F.sprintf)(Object(F.__)("Use the same %s on all screensizes."),n),h=Object(F.__)("Toggle between using the same value for all screen sizes or using a unique value per screen size."),m=i(Object(u.createElement)(gc,{property:n,viewport:d}),d);return Object(u.createElement)("fieldset",{className:"block-editor-responsive-block-control"},Object(u.createElement)("legend",{className:"block-editor-responsive-block-control__title"},t),Object(u.createElement)("div",{className:"block-editor-responsive-block-control__inner"},Object(u.createElement)(U.ToggleControl,{className:"block-editor-responsive-block-control__toggle",label:p,checked:!l,onChange:o,help:h}),!l&&Object(u.createElement)("div",{className:"block-editor-responsive-block-control__group block-editor-responsive-block-control__group--default"},m),l&&Object(u.createElement)("div",{className:"block-editor-responsive-block-control__group block-editor-responsive-block-control__group--responsive",hidden:!l},c?c(b):b.map((function(e){return Object(u.createElement)(u.Fragment,{key:e.id},i(Object(u.createElement)(gc,{property:n,viewport:e}),e))})))))},Oc=[Ge.rawShortcut.primary("z"),Ge.rawShortcut.primaryShift("z"),Ge.rawShortcut.primary("y")],kc=Object(u.createElement)(U.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(b.fromPairs)(Oc.map((function(e){return[e,function(e){return e.preventDefault()}]})))}),jc=function(){return kc},yc=n(36);function _c(e){return e.filter((function(e){var t=e.type;return/^image\/(?:jpe?g|png|gif)$/.test(t)})).map((function(e){return'')})).join("")}var Sc={position:"bottom left"},Cc=function(){return Object(u.createElement)("div",{className:"editor-format-toolbar block-editor-format-toolbar"},Object(u.createElement)(U.Toolbar,null,["bold","italic","link"].map((function(e){return Object(u.createElement)(U.Slot,{name:"RichText.ToolbarControls.".concat(e),key:e})})),Object(u.createElement)(U.Slot,{name:"RichText.ToolbarControls"},(function(e){return 0!==e.length&&Object(u.createElement)(U.DropdownMenu,{icon:!1,label:Object(F.__)("More rich text controls"),controls:Object(b.orderBy)(e.map((function(e){return Object(Je.a)(e,1)[0].props})),"title"),popoverProps:Sc})}))))},Ec=function(e){var t=e.inline,n=e.anchorRef;return t?Object(u.createElement)(U.Popover,{noArrow:!0,position:"top center",focusOnMount:!1,anchorVerticalBuffer:6,anchorRef:n,className:"block-editor-rich-text__inline-format-toolbar"},Object(u.createElement)(Cc,null)):Object(u.createElement)(Ke,null,Object(u.createElement)(Cc,null))},wc=function(e){function t(){var e;return Object(y.a)(this,t),(e=Object(S.a)(this,Object(C.a)(t).apply(this,arguments))).onUse=e.onUse.bind(Object(E.a)(e)),e}return Object(w.a)(t,e),Object(_.a)(t,[{key:"onUse",value:function(){return this.props.onUse(),!1}},{key:"render",value:function(){var e=this.props,t=e.character,n=e.type;return Object(u.createElement)(U.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(I.a)({},Ge.rawShortcut[n](t),this.onUse)})}}]),t}(u.Component);function Ic(e){var t,n=e.name,r=e.shortcutType,o=e.shortcutCharacter,i=Object(M.a)(e,["name","shortcutType","shortcutCharacter"]),c="RichText.ToolbarControls";return n&&(c+=".".concat(n)),r&&o&&(t=Ge.displayShortcut[r](o)),Object(u.createElement)(U.Fill,{name:c},Object(u.createElement)(U.ToolbarButton,Object(s.a)({},i,{shortcut:t})))}var Bc=function(e){function t(){var e;return Object(y.a)(this,t),(e=Object(S.a)(this,Object(C.a)(t).apply(this,arguments))).onInput=e.onInput.bind(Object(E.a)(e)),e}return Object(w.a)(t,e),Object(_.a)(t,[{key:"onInput",value:function(e){e.inputType===this.props.inputType&&this.props.onInput()}},{key:"componentDidMount",value:function(){document.addEventListener("input",this.onInput,!0)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("input",this.onInput,!0)}},{key:"render",value:function(){return null}}]),t}(u.Component);function Tc(e){if(!0===e||"p"===e||"li"===e)return!0===e?"p":e}var xc=function(e){function t(){var e;return Object(y.a)(this,t),(e=Object(S.a)(this,Object(C.a)(t).apply(this,arguments))).ref=Object(u.createRef)(),e.onEnter=e.onEnter.bind(Object(E.a)(e)),e.onSplit=e.onSplit.bind(Object(E.a)(e)),e.onPaste=e.onPaste.bind(Object(E.a)(e)),e.onDelete=e.onDelete.bind(Object(E.a)(e)),e.inputRule=e.inputRule.bind(Object(E.a)(e)),e}return Object(w.a)(t,e),Object(_.a)(t,[{key:"onEnter",value:function(e){var t=e.value,n=e.onChange,r=e.shiftKey,o=this.props,a=o.onReplace,l=o.onSplit,s=o.multiline,u=o.markAutomaticChange,d=a&&l;if(a){var f=Object(i.getBlockTransforms)("from").filter((function(e){return"enter"===e.type})),b=Object(i.findTransform)(f,(function(e){return e.regExp.test(t.text)}));b&&(a([b.transform({content:t.text})]),u())}s?r?n(Object(c.insert)(t,"\n")):d&&Object(c.__unstableIsEmptyLine)(t)?this.onSplit(t):n(Object(c.__unstableInsertLineSeparator)(t)):r||!d?n(Object(c.insert)(t,"\n")):this.onSplit(t)}},{key:"onDelete",value:function(e){var t=e.value,n=e.isReverse,r=this.props,o=r.onMerge,i=r.onRemove;o&&o(!n),i&&Object(c.isEmpty)(t)&&n&&i(!n)}},{key:"onPaste",value:function(e){var t=e.value,n=e.onChange,r=e.html,o=e.plainText,a=e.files,l=this.props,s=l.onReplace,u=l.onSplit,d=l.tagName,f=l.canUserUseUnfilteredHTML,b=l.multiline,p=l.__unstableEmbedURLOnPaste;if(a&&a.length&&!r){var h=Object(i.pasteHandler)({HTML:_c(a),mode:"BLOCKS",tagName:d});return window.console.log("Received items:\n\n",a),void(s&&Object(c.isEmpty)(t)?s(h):this.onSplit(t,h))}var m=s&&u?"AUTO":"INLINE";p&&Object(c.isEmpty)(t)&&Object(Ze.isURL)(o.trim())&&(m="BLOCKS");var g=Object(i.pasteHandler)({HTML:r,plainText:o,mode:m,tagName:d,canUserUseUnfilteredHTML:f});if("string"==typeof g){var v=Object(c.create)({html:g});b&&(v=Object(c.replace)(v,/\n+/g,c.__UNSTABLE_LINE_SEPARATOR)),n(Object(c.insert)(t,v))}else g.length>0&&(s&&Object(c.isEmpty)(t)?s(g):this.onSplit(t,g))}},{key:"onSplit",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=this.props,r=n.onReplace,o=n.onSplit,i=n.__unstableOnSplitMiddle,a=n.multiline;if(r&&o){var l=[],s=Object(c.split)(e),u=Object(Je.a)(s,2),d=u[0],f=u[1],b=t.length>0,p=Tc(a);b&&Object(c.isEmpty)(d)||l.push(o(Object(c.toHTMLString)({value:d,multilineTag:p}))),b?l.push.apply(l,Object(R.a)(t)):i&&l.push(i()),!b&&i&&Object(c.isEmpty)(f)||l.push(o(Object(c.toHTMLString)({value:f,multilineTag:p})));var h=b?l.length-1:1;r(l,h)}}},{key:"inputRule",value:function(e,t){var n=this.props,r=n.onReplace,o=n.markAutomaticChange;if(r){var a=e.start,l=e.text;if(" "===l.slice(a-1,a)){var s=l.slice(0,a).trim(),u=Object(i.getBlockTransforms)("from").filter((function(e){return"prefix"===e.type})),d=Object(i.findTransform)(u,(function(e){var t=e.prefix;return s===t}));if(d){var f=t(Object(c.slice)(e,a,l.length));r([d.transform(f)]),o()}}}}},{key:"getAllowedFormats",value:function(){var e=this.props,t=e.allowedFormats,n=e.formattingControls;if(t||n)return t||(sc()("wp.blockEditor.RichText formattingControls prop",{alternative:"allowedFormats"}),n.map((function(e){return"core/".concat(e)})))}},{key:"render",value:function(){var e=this,t=this.props,n=t.children,r=t.tagName,o=t.value,a=t.onChange,l=t.selectionStart,d=t.selectionEnd,b=t.onSelectionChange,p=t.multiline,h=t.inlineToolbar,m=t.wrapperClassName,g=t.className,v=t.autocompleters,O=t.onReplace,k=t.isCaretWithinFormattedText,j=t.onEnterFormattedText,y=t.onExitFormattedText,_=t.isSelected,S=t.onCreateUndoLevel,C=t.markAutomaticChange,E=t.didAutomaticChange,w=t.undo,I=t.placeholder,B=t.keepPlaceholderOnFocus,T=(t.allowedFormats,t.withoutInteractiveFormatting),x=(t.onRemove,t.onMerge,t.onSplit,t.canUserUseUnfilteredHTML,t.clientId,t.identifier,t.instanceId,t.start),N=t.reversed,L=t.style,A=t.preserveWhiteSpace,R=t.disabled,P=Object(M.a)(t,["children","tagName","value","onChange","selectionStart","selectionEnd","onSelectionChange","multiline","inlineToolbar","wrapperClassName","className","autocompleters","onReplace","isCaretWithinFormattedText","onEnterFormattedText","onExitFormattedText","isSelected","onCreateUndoLevel","markAutomaticChange","didAutomaticChange","undo","placeholder","keepPlaceholderOnFocus","allowedFormats","withoutInteractiveFormatting","onRemove","onMerge","onSplit","canUserUseUnfilteredHTML","clientId","identifier","instanceId","start","reversed","style","preserveWhiteSpace","disabled"]),D=Tc(p),F=this.getAllowedFormats(),U=!F||F.length>0,H=o,V=a;Array.isArray(o)&&(H=i.children.toHTML(o),V=function(e){return a(i.children.fromDOM(Object(c.__unstableCreateElement)(document,e).childNodes))});var z=Object(u.createElement)(c.__experimentalRichText,Object(s.a)({},P,{ref:this.ref,value:H,onChange:V,selectionStart:l,selectionEnd:d,onSelectionChange:b,tagName:r,className:f()("editor-rich-text__editable block-editor-rich-text__editable",g,{"is-selected":_,"keep-placeholder-on-focus":B}),placeholder:I,allowedFormats:F,withoutInteractiveFormatting:T,onEnter:this.onEnter,onDelete:this.onDelete,onPaste:this.onPaste,__unstableIsSelected:_,__unstableInputRule:this.inputRule,__unstableMultilineTag:D,__unstableIsCaretWithinFormattedText:k,__unstableOnEnterFormattedText:j,__unstableOnExitFormattedText:y,__unstableOnCreateUndoLevel:S,__unstableMarkAutomaticChange:C,__unstableDidAutomaticChange:E,__unstableUndo:w,style:L,preserveWhiteSpace:A,disabled:R,start:x,reversed:N}),(function(t){var r=t.isSelected,o=t.value,i=t.onChange,c=t.Editable;return Object(u.createElement)(u.Fragment,null,n&&n({value:o,onChange:i}),r&&U&&Object(u.createElement)(Ec,{inline:h,anchorRef:e.ref.current}),r&&Object(u.createElement)(jc,null),Object(u.createElement)(we,{onReplace:O,completers:v,record:o,onChange:i,isSelected:r},(function(e){var t=e.listBoxId,n=e.activeId,r=e.onKeyDown;return Object(u.createElement)(c,{"aria-autocomplete":t?"list":void 0,"aria-owns":t,"aria-activedescendant":n,start:x,reversed:N,onKeyDown:r})})))}));return m?(sc()("wp.blockEditor.RichText wrapperClassName prop",{alternative:"className prop or create your own wrapper div"}),Object(u.createElement)("div",{className:f()("editor-rich-text block-editor-rich-text",m)},z)):z}}]),t}(u.Component),Nc=Object(p.compose)([p.withInstanceId,ne((function(e,t){var n=e.clientId,r=e.onCaretVerticalPositionChange,o=e.isSelected;return"web"===u.Platform.OS?{clientId:n}:{clientId:n,blockIsSelected:void 0!==t.isSelected?t.isSelected:o,onCaretVerticalPositionChange:r}})),Object(m.withSelect)((function(e,t){var n=t.clientId,r=t.instanceId,o=t.identifier,c=void 0===o?r:o,a=t.isSelected,s=e("core/block-editor"),d=s.isCaretWithinFormattedText,f=s.getSelectionStart,b=s.getSelectionEnd,p=s.getSettings,h=s.didAutomaticChange,m=s.__unstableGetBlockWithoutInnerBlocks,g=s.isMultiSelecting,v=s.hasMultiSelection,O=f(),k=b(),j=p().__experimentalCanUserUseUnfilteredHTML;void 0===a?a=O.clientId===n&&O.attributeKey===c:a&&(a=O.clientId===n);var y={};if("native"===u.Platform.OS){var _=n&&m(n);y={shouldBlurOnUnmount:_&&a&&Object(i.isUnmodifiedDefaultBlock)(_)}}return Object(l.a)({canUserUseUnfilteredHTML:j,isCaretWithinFormattedText:d(),selectionStart:a?O.offset:void 0,selectionEnd:a?k.offset:void 0,isSelected:a,didAutomaticChange:h(),disabled:g()||v()},y)})),Object(m.withDispatch)((function(e,t){var n=t.clientId,r=t.instanceId,o=t.identifier,i=void 0===o?r:o,c=e("core/block-editor"),a=c.__unstableMarkLastChangeAsPersistent,l=c.enterFormattedText,s=c.exitFormattedText,u=c.selectionChange;return{onCreateUndoLevel:a,onEnterFormattedText:l,onExitFormattedText:s,onSelectionChange:function(e,t){u(n,i,e,t)},markAutomaticChange:c.__unstableMarkAutomaticChange,undo:e("core/editor").undo}})),Object(U.withFilters)("experimentalRichText")])(xc);Nc.Content=function(e){var t=e.value,n=e.tagName,r=e.multiline,o=Object(M.a)(e,["value","tagName","multiline"]);Array.isArray(t)&&(t=i.children.toHTML(t));var c=Tc(r);!t&&c&&(t="<".concat(c,">"));var a=Object(u.createElement)(u.RawHTML,null,t);return n?Object(u.createElement)(n,Object(b.omit)(o,["format"]),a):a},Nc.isEmpty=function(e){return!e||0===e.length},Nc.Content.defaultProps={format:"string",value:""};var Lc=Nc,Ac=Object(u.createElement)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},Object(u.createElement)(U.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(u.createElement)(U.Path,{d:"M14.06 9.02l.92.92L5.92 19H5v-.92l9.06-9.06M17.66 3c-.25 0-.51.1-.7.29l-1.83 1.83 3.75 3.75 1.83-1.83c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.2-.2-.45-.29-.71-.29zm-3.6 3.19L3 17.25V21h3.75L17.81 9.94l-3.75-3.75z"})),Rc=Object(u.createElement)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},Object(u.createElement)(U.Path,{d:"M6.5 1v21.5l6-6.5H21L6.5 1zm5.1 13l-3.1 3.4V5.9l7.8 8.1h-4.7z"}));var Mc=function(){var e=Object(m.useSelect)((function(e){return e("core/block-editor").isNavigationMode()})),t=Object(m.useDispatch)("core/block-editor").setNavigationMode;if(!Object(p.useViewportMatch)("medium"))return null;var n=function(e){t("edit"!==e)};return Object(u.createElement)(U.Dropdown,{renderToggle:function(t){var n=t.isOpen,r=t.onToggle;return Object(u.createElement)(U.IconButton,{icon:e?Rc:Ac,"aria-expanded":n,onClick:r,label:Object(F.__)("Tools")})},renderContent:function(){return Object(u.createElement)(u.Fragment,null,Object(u.createElement)(U.NavigableMenu,{role:"menu","aria-label":Object(F.__)("Tools")},Object(u.createElement)(U.MenuItemsChoice,{value:e?"select":"edit",onSelect:n,choices:[{value:"edit",label:Object(u.createElement)(u.Fragment,null,Ac,Object(F.__)("Edit"))},{value:"select",label:Object(u.createElement)(u.Fragment,null,Rc,Object(F.__)("Select"))}]})),Object(u.createElement)("div",{className:"block-editor-tool-selector__help"},Object(F.__)("Tools offer different interactions for block selection & editing. To select, press Escape, to go back to editing, press Enter.")))}})},Pc=function(e){function t(){var e;return Object(y.a)(this,t),(e=Object(S.a)(this,Object(C.a)(t).apply(this,arguments))).toggle=e.toggle.bind(Object(E.a)(e)),e.submitLink=e.submitLink.bind(Object(E.a)(e)),e.state={expanded:!1},e}return Object(w.a)(t,e),Object(_.a)(t,[{key:"toggle",value:function(){this.setState({expanded:!this.state.expanded})}},{key:"submitLink",value:function(e){e.preventDefault(),this.toggle()}},{key:"render",value:function(){var e=this.props,t=e.url,n=e.onChange,r=this.state.expanded,o=t?Object(F.__)("Edit link"):Object(F.__)("Insert link");return Object(u.createElement)("div",{className:"editor-url-input__button block-editor-url-input__button"},Object(u.createElement)(U.IconButton,{icon:"admin-links",label:o,onClick:this.toggle,className:f()("components-toolbar__control",{"is-active":t})}),r&&Object(u.createElement)("form",{className:"editor-url-input__button-modal block-editor-url-input__button-modal",onSubmit:this.submitLink},Object(u.createElement)("div",{className:"editor-url-input__button-modal-line block-editor-url-input__button-modal-line"},Object(u.createElement)(U.IconButton,{className:"editor-url-input__back block-editor-url-input__back",icon:"arrow-left-alt",label:Object(F.__)("Close"),onClick:this.toggle}),Object(u.createElement)(rc,{value:t||"",onChange:n}),Object(u.createElement)(U.IconButton,{icon:"editor-break",label:Object(F.__)("Submit"),type:"submit"}))))}}]),t}(u.Component),Dc=Object(U.createSlotFill)("__experimentalBlockSettingsMenuFirstItem"),Fc=Dc.Fill,Uc=Dc.Slot;Fc.Slot=Uc;var Hc=Fc,Vc=Object(U.createSlotFill)("__experimentalBlockSettingsMenuPluginsExtension"),zc=Vc.Fill,Kc=Vc.Slot;zc.Slot=Kc;var Wc=zc,Gc=function(e){var t=e.label,n=e.onPress;return Object(u.createElement)(U.Button,{onClick:n},t)},qc=function(e){var t=e.children;return Object(u.createElement)(u.Fragment,null,t)},$c=[{name:"About",content:'\x3c!-- wp:paragraph {"align":"left"} --\x3e

Visitors will want to know who is on the other side of the page. Use this space to write about yourself, your site, your business, or anything you want. Use the testimonials below to quote others, talking about the same thing – in their own words.

\x3c!-- /wp:paragraph --\x3e'},{name:"Contact",content:'\x3c!-- wp:paragraph {"align":"left"} --\x3e

Let\'s talk 👋 Don\'t hesitate to reach out with the contact information below, or send a message using the form.

\x3c!-- /wp:paragraph --\x3e'}],Yc=Object(m.withDispatch)((function(e){var t=e("core/editor").resetEditorBlocks;return{resetContent:function(e){var n=Object(i.parse)(e);return t(n)}}}))((function(e){var t=e.templates,n=void 0===t?$c:t,r=e.resetContent;return Object(u.createElement)(Yo,null,Object(u.createElement)(qc,{style:{flexDirection:"row"}},n.map((function(e){var t=e.name,n=e.content;return Object(u.createElement)(Gc,{key:t,onPress:function(){return r(n)},label:t})}))))})),Xc=function(){return Object(m.useSelect)((function(e){var t=e("core/editor").getCurrentPostType,n=e("core/block-editor"),r=n.getBlockOrder,o=n.getBlock,c=(0,n.getSettings)().__experimentalEnablePageTemplates,a=r(),l=0===a.length,s=!l&&o(a[0]),u=1===a.length&&Object(i.isUnmodifiedDefaultBlock)(s),d=l||u,f="page"===t();return c&&d&&f}))},Zc=Object(p.createHigherOrderComponent)((function(e){return function(t){var n=Xc();return Object(u.createElement)(e,Object(s.a)({},t,{showPageTemplatePicker:n}))}}),"__experimentalWithPageTemplatePickerVisible");var Jc=Object(p.compose)([Object(m.withSelect)((function(e,t){var n=e("core/block-editor"),r=n.canInsertBlockType,o=n.getBlockRootClientId,c=n.getBlocksByClientId,a=n.getTemplateLock,l=e("core/blocks").getDefaultBlockName,s=c(t.clientIds),u=o(t.clientIds[0]);return{blocks:s,canDuplicate:Object(b.every)(s,(function(e){return!!e&&Object(i.hasBlockSupport)(e.name,"multiple",!0)&&r(e.name,u)})),canInsertDefaultBlock:r(l(),u),extraProps:t,isLocked:!!a(u),rootClientId:u}})),Object(m.withDispatch)((function(e,t,n){var r=n.select,o=t.clientIds,c=t.rootClientId,a=t.blocks,l=t.isLocked,s=t.canDuplicate,u=e("core/block-editor"),d=u.insertBlocks,f=u.multiSelect,p=u.removeBlocks,h=u.insertDefaultBlock,m=u.replaceBlocks;return{onDuplicate:function(){if(s){var e=(0,r("core/block-editor").getBlockIndex)(Object(b.last)(Object(b.castArray)(o)),c),t=a.map((function(e){return Object(i.cloneBlock)(e)}));d(t,e+1,c),t.length>1&&f(Object(b.first)(t).clientId,Object(b.last)(t).clientId)}},onRemove:function(){l||p(o)},onInsertBefore:function(){if(!l){var e=(0,r("core/block-editor").getBlockIndex)(Object(b.first)(Object(b.castArray)(o)),c);h({},c,e)}},onInsertAfter:function(){if(!l){var e=(0,r("core/block-editor").getBlockIndex)(Object(b.last)(Object(b.castArray)(o)),c);h({},c,e+1)}},onGroup:function(){if(a.length){var e=(0,r("core/blocks").getGroupingBlockName)(),t=Object(i.switchToBlockType)(a,e);t&&m(o,t)}},onUngroup:function(){if(a.length){var e=a[0].innerBlocks;e.length&&m(o,e)}}}}))])((function(e){var t=e.canDuplicate,n=e.canInsertDefaultBlock;return(0,e.children)({canDuplicate:t,canInsertDefaultBlock:n,isLocked:e.isLocked,onDuplicate:e.onDuplicate,onGroup:e.onGroup,onInsertAfter:e.onInsertAfter,onInsertBefore:e.onInsertBefore,onRemove:e.onRemove,onUngroup:e.onUngroup})})),Qc=function(e){return e.preventDefault(),e},ea={duplicate:{raw:Ge.rawShortcut.primaryShift("d"),display:Ge.displayShortcut.primaryShift("d")},removeBlock:{raw:Ge.rawShortcut.access("z"),display:Ge.displayShortcut.access("z")},insertBefore:{raw:Ge.rawShortcut.primaryAlt("t"),display:Ge.displayShortcut.primaryAlt("t")},insertAfter:{raw:Ge.rawShortcut.primaryAlt("y"),display:Ge.displayShortcut.primaryAlt("y")}},ta=function(e){function t(){var e;return Object(y.a)(this,t),(e=Object(S.a)(this,Object(C.a)(t).apply(this,arguments))).selectAll=e.selectAll.bind(Object(E.a)(e)),e.deleteSelectedBlocks=e.deleteSelectedBlocks.bind(Object(E.a)(e)),e.clearMultiSelection=e.clearMultiSelection.bind(Object(E.a)(e)),e}return Object(w.a)(t,e),Object(_.a)(t,[{key:"selectAll",value:function(e){var t=this.props,n=t.rootBlocksClientIds,r=t.onMultiSelect;e.preventDefault(),r(Object(b.first)(n),Object(b.last)(n))}},{key:"deleteSelectedBlocks",value:function(e){var t=this.props,n=t.selectedBlockClientIds,r=t.hasMultiSelection,o=t.onRemove,i=t.isLocked;r&&(e.preventDefault(),i||o(n))}},{key:"clearMultiSelection",value:function(){var e=this.props,t=e.hasMultiSelection,n=e.clearSelectedBlock;t&&(n(),window.getSelection().removeAllRanges())}},{key:"render",value:function(){var e,t=this.props.selectedBlockClientIds;return Object(u.createElement)(u.Fragment,null,Object(u.createElement)(U.KeyboardShortcuts,{shortcuts:(e={},Object(I.a)(e,Ge.rawShortcut.primary("a"),this.selectAll),Object(I.a)(e,"backspace",this.deleteSelectedBlocks),Object(I.a)(e,"del",this.deleteSelectedBlocks),Object(I.a)(e,"escape",this.clearMultiSelection),e)}),t.length>0&&Object(u.createElement)(Jc,{clientIds:t},(function(e){var t,n=e.onDuplicate,r=e.onRemove,o=e.onInsertAfter,i=e.onInsertBefore;return Object(u.createElement)(U.KeyboardShortcuts,{bindGlobal:!0,shortcuts:(t={},Object(I.a)(t,ea.duplicate.raw,Object(b.flow)(Qc,n)),Object(I.a)(t,ea.removeBlock.raw,Object(b.flow)(Qc,r)),Object(I.a)(t,ea.insertBefore.raw,Object(b.flow)(Qc,i)),Object(I.a)(t,ea.insertAfter.raw,Object(b.flow)(Qc,o)),t)})})))}}]),t}(u.Component),na=Object(p.compose)([Object(m.withSelect)((function(e){var t=e("core/block-editor"),n=t.getBlockOrder,r=t.getSelectedBlockClientIds,o=t.hasMultiSelection,i=t.getBlockRootClientId,c=t.getTemplateLock,a=r();return{rootBlocksClientIds:n(),hasMultiSelection:o(),isLocked:Object(b.some)(a,(function(e){return!!c(i(e))})),selectedBlockClientIds:a}})),Object(m.withDispatch)((function(e){var t=e("core/block-editor");return{clearSelectedBlock:t.clearSelectedBlock,onMultiSelect:t.multiSelect,onRemove:t.removeBlocks}}))])(ta),ra=Object(m.withSelect)((function(e){return{selectedBlockClientId:e("core/block-editor").getBlockSelectionStart()}}))((function(e){var t=e.selectedBlockClientId;return t&&Object(u.createElement)(U.Button,{isDefault:!0,className:"editor-skip-to-selected-block block-editor-skip-to-selected-block",onClick:function(){Ao(t).closest(".block-editor-block-list__block").focus()}},Object(F.__)("Skip to the selected block"))})),oa=n(144),ia=n.n(oa);function ca(e,t,n){var r=new ia.a(e);return t&&r.remove("is-style-"+t.name),r.add("is-style-"+n.name),r.value}var aa=Object(p.compose)([Object(m.withSelect)((function(e,t){var n=t.clientId,r=e("core/block-editor").getBlock,o=e("core/blocks").getBlockStyles,c=r(n),a=Object(i.getBlockType)(c.name);return{block:c,className:c.attributes.className||"",styles:o(c.name),type:a}})),Object(m.withDispatch)((function(e,t){var n=t.clientId;return{onChangeClassName:function(t){e("core/block-editor").updateBlockAttributes(n,{className:t})}}}))])((function(e){var t=e.styles,n=e.className,r=e.onChangeClassName,o=e.type,c=e.block,a=e.onSwitch,s=void 0===a?b.noop:a,d=e.onHoverClassName,p=void 0===d?b.noop:d;if(!t||0===t.length)return null;o.styles||Object(b.find)(t,"isDefault")||(t=[{name:"default",label:Object(F._x)("Default","block style"),isDefault:!0}].concat(Object(R.a)(t)));var h=function(e,t){var n=!0,r=!1,o=void 0;try{for(var i,c=new ia.a(t).values()[Symbol.iterator]();!(n=(i=c.next()).done);n=!0){var a=i.value;if(-1!==a.indexOf("is-style-")){var l=a.substring(9),s=Object(b.find)(e,{name:l});if(s)return s}}}catch(e){r=!0,o=e}finally{try{n||null==c.return||c.return()}finally{if(r)throw o}}return Object(b.find)(e,"isDefault")}(t,n);function m(e){var t=ca(n,h,e);r(t),p(null),s()}return Object(u.createElement)("div",{className:"editor-block-styles block-editor-block-styles"},t.map((function(e){var t=ca(n,h,e);return Object(u.createElement)("div",{key:e.name,className:f()("editor-block-styles__item block-editor-block-styles__item",{"is-active":h===e}),onClick:function(){return m(e)},onKeyDown:function(t){Ge.ENTER!==t.keyCode&&Ge.SPACE!==t.keyCode||(t.preventDefault(),m(e))},onMouseEnter:function(){return p(t)},onMouseLeave:function(){return p(null)},role:"button",tabIndex:"0","aria-label":e.label||e.name},Object(u.createElement)("div",{className:"editor-block-styles__item-preview block-editor-block-styles__item-preview"},Object(u.createElement)(ti,{viewportWidth:500,blocks:o.example?Object(i.getBlockFromExample)(c.name,{attributes:Object(l.a)({},o.example.attributes,{className:t}),innerBlocks:o.example.innerBlocks}):Object(i.cloneBlock)(c,{className:t})})),Object(u.createElement)("div",{className:"editor-block-styles__item-label block-editor-block-styles__item-label"},e.label||e.name))})))})),la=n(96);var sa=Object(m.withSelect)((function(e){return{blocks:(0,e("core/block-editor").getMultiSelectedBlocks)()}}))((function(e){var t=e.blocks,n=Object(la.count)(Object(i.serialize)(t),"words");return Object(u.createElement)("div",{className:"editor-multi-selection-inspector__card block-editor-multi-selection-inspector__card"},Object(u.createElement)(We,{icon:Object(u.createElement)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(u.createElement)(U.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm18-4H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z"})),showColors:!0}),Object(u.createElement)("div",{className:"editor-multi-selection-inspector__card-content block-editor-multi-selection-inspector__card-content"},Object(u.createElement)("div",{className:"editor-multi-selection-inspector__card-title block-editor-multi-selection-inspector__card-title"},Object(F.sprintf)(Object(F._n)("%d block","%d blocks",t.length),t.length)),Object(u.createElement)("div",{className:"editor-multi-selection-inspector__card-description block-editor-multi-selection-inspector__card-description"},Object(F.sprintf)(Object(F._n)("%d word","%d words",n),n))))}));function ua(e){var t=e.blockName,n=Object(m.useSelect)((function(e){var n=e("core/block-editor").getSettings().__experimentalPreferredStyleVariations;return{preferredStyle:Object(b.get)(n,["value",t]),onUpdatePreferredStyleVariations:Object(b.get)(n,["onChange"],null),styles:e("core/blocks").getBlockStyles(t)}}),[t]),r=n.preferredStyle,o=n.onUpdatePreferredStyleVariations,i=n.styles,c=Object(u.useMemo)((function(){return[{label:Object(F.__)("Not set"),value:""}].concat(Object(R.a)(i.map((function(e){return{label:e.label,value:e.name}}))))}),[i]),a=Object(u.useCallback)((function(e){o(t,e)}),[t,o]);return o&&Object(u.createElement)(U.SelectControl,{options:c,value:r||"",label:Object(F.__)("Default Style"),onChange:a})}var da=Object(m.withSelect)((function(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,r=t.getSelectedBlockCount,o=t.getBlockName,c=e("core/blocks").getBlockStyles,a=n(),l=a&&o(a),s=a&&Object(i.getBlockType)(l),u=a&&c(l);return{count:r(),hasBlockStyles:u&&u.length>0,selectedBlockName:l,selectedBlockClientId:a,blockType:s}}))((function(e){var t=e.blockType,n=e.count,r=e.hasBlockStyles,o=e.selectedBlockClientId,c=e.selectedBlockName,a=e.showNoBlockSelectedMessage,l=void 0===a||a;if(n>1)return Object(u.createElement)(sa,null);var s=c===Object(i.getUnregisteredTypeHandlerName)();return t&&o&&!s?Object(u.createElement)("div",{className:"block-editor-block-inspector"},Object(u.createElement)(oi,{blockType:t}),r&&Object(u.createElement)("div",null,Object(u.createElement)(U.PanelBody,{title:Object(F.__)("Styles"),initialOpen:!1},Object(u.createElement)(aa,{clientId:o}),Object(u.createElement)(ua,{blockName:t.name}))),Object(u.createElement)(le.Slot,{bubblesVirtually:!0}),Object(u.createElement)("div",null,Object(u.createElement)(U.__experimentalSlotFillConsumer,null,(function(e){return(0,e.hasFills)(Wi.slotName)&&Object(u.createElement)(U.PanelBody,{className:"editor-block-inspector__advanced block-editor-block-inspector__advanced",title:Object(F.__)("Advanced"),initialOpen:!1},Object(u.createElement)(Wi.Slot,{bubblesVirtually:!0}))}))),Object(u.createElement)(ra,{key:"back"})):l?Object(u.createElement)("span",{className:"editor-block-inspector__no-blocks block-editor-block-inspector__no-blocks"},Object(F.__)("No block selected.")):null})),fa=function(e){function t(){var e;return Object(y.a)(this,t),(e=Object(S.a)(this,Object(C.a)(t).apply(this,arguments))).bindContainer=e.bindContainer.bind(Object(E.a)(e)),e.clearSelectionIfFocusTarget=e.clearSelectionIfFocusTarget.bind(Object(E.a)(e)),e}return Object(w.a)(t,e),Object(_.a)(t,[{key:"bindContainer",value:function(e){this.container=e}},{key:"clearSelectionIfFocusTarget",value:function(e){var t=this.props,n=t.hasSelectedBlock,r=t.hasMultiSelection,o=t.clearSelectedBlock,i=n||r;e.target===this.container&&i&&o()}},{key:"render",value:function(){return Object(u.createElement)("div",Object(s.a)({tabIndex:-1,onFocus:this.clearSelectionIfFocusTarget,ref:this.bindContainer},Object(b.omit)(this.props,["clearSelectedBlock","hasSelectedBlock","hasMultiSelection"])))}}]),t}(u.Component),ba=Object(p.compose)([Object(m.withSelect)((function(e){var t=e("core/block-editor"),n=t.hasSelectedBlock,r=t.hasMultiSelection;return{hasSelectedBlock:n(),hasMultiSelection:r()}})),Object(m.withDispatch)((function(e){return{clearSelectedBlock:e("core/block-editor").clearSelectedBlock}}))])(fa);var pa=Object(p.compose)([Object(m.withSelect)((function(e,t){var n=t.clientId,r=e("core/block-editor"),o=r.getBlock,c=r.getBlockMode,a=r.getSettings,l=o(n),s=a().codeEditingEnabled;return{mode:c(n),blockType:l?Object(i.getBlockType)(l.name):null,isCodeEditingEnabled:s}})),Object(m.withDispatch)((function(e,t){var n=t.onToggle,r=void 0===n?b.noop:n,o=t.clientId;return{onToggleMode:function(){e("core/block-editor").toggleBlockMode(o),r()}}}))])((function(e){var t=e.blockType,n=e.mode,r=e.onToggleMode,o=e.small,c=void 0!==o&&o,a=e.isCodeEditingEnabled,l=void 0===a||a;if(!Object(i.hasBlockSupport)(t,"html",!0)||!l)return null;var s="visual"===n?Object(F.__)("Edit as HTML"):Object(F.__)("Edit visually");return Object(u.createElement)(U.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:r,icon:"html"},!c&&s)}));function ha(e){var t=e.shouldRender,n=e.onClick,r=e.small;if(!t)return null;var o=Object(F.__)("Convert to Blocks");return Object(u.createElement)(U.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:n,icon:"screenoptions"},!r&&o)}var ma=Object(p.compose)(Object(m.withSelect)((function(e,t){var n=t.clientId,r=e("core/block-editor").getBlock(n);return{block:r,shouldRender:r&&"core/html"===r.name}})),Object(m.withDispatch)((function(e,t){var n=t.block;return{onClick:function(){return e("core/block-editor").replaceBlocks(n.clientId,Object(i.rawHandler)({HTML:Object(i.getBlockContent)(n)}))}}})))(ha),ga=Object(p.compose)(Object(m.withSelect)((function(e,t){var n=t.clientId,r=e("core/block-editor").getBlock(n);return{block:r,shouldRender:r&&r.name===Object(i.getFreeformContentHandlerName)()}})),Object(m.withDispatch)((function(e,t){var n=t.block;return{onClick:function(){return e("core/block-editor").replaceBlocks(n.clientId,Object(i.rawHandler)({HTML:Object(i.serialize)(n)}))}}})))(ha),va={className:"block-editor-block-settings-menu__popover editor-block-settings-menu__popover",position:"bottom right"};var Oa=function(e){var t=e.clientIds,n=Object(b.castArray)(t),r=n.length,o=n[0];return Object(u.createElement)(Jc,{clientIds:t},(function(e){var n=e.canDuplicate,i=e.canInsertDefaultBlock,c=e.isLocked,a=e.onDuplicate,l=e.onInsertAfter,s=e.onInsertBefore,d=e.onRemove;return Object(u.createElement)(U.Toolbar,null,Object(u.createElement)(U.DropdownMenu,{icon:"ellipsis",label:Object(F.__)("More options"),className:"block-editor-block-settings-menu",popoverProps:va},(function(e){var f=e.onClose;return Object(u.createElement)(u.Fragment,null,Object(u.createElement)(U.MenuGroup,null,Object(u.createElement)(Hc.Slot,{fillProps:{onClose:f}}),1===r&&Object(u.createElement)(ga,{clientId:o}),1===r&&Object(u.createElement)(ma,{clientId:o}),n&&Object(u.createElement)(U.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:Object(b.flow)(f,a),icon:"admin-page",shortcut:ea.duplicate.display},Object(F.__)("Duplicate")),i&&Object(u.createElement)(u.Fragment,null,Object(u.createElement)(U.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:Object(b.flow)(f,s),icon:"insert-before",shortcut:ea.insertBefore.display},Object(F.__)("Insert Before")),Object(u.createElement)(U.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:Object(b.flow)(f,l),icon:"insert-after",shortcut:ea.insertAfter.display},Object(F.__)("Insert After"))),1===r&&Object(u.createElement)(pa,{clientId:o,onToggle:f}),Object(u.createElement)(Wc.Slot,{fillProps:{clientIds:t,onClose:f}})),Object(u.createElement)(U.MenuGroup,null,!c&&Object(u.createElement)(U.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:Object(b.flow)(f,d),icon:"trash",shortcut:ea.removeBlock.display},Object(F._n)("Remove Block","Remove Blocks",r))))})))}))};var ka=function(e){var t=e.clientId,n=e.moverDirection;return Object(p.useViewportMatch)("small","<")?Object(u.createElement)("div",{className:"block-editor-block-mobile-toolbar"},Object(u.createElement)(uo,{clientIds:[t],__experimentalOrientation:n})):null},ja=function(e){function t(){var e;return Object(y.a)(this,t),(e=Object(S.a)(this,Object(C.a)(t).apply(this,arguments))).state={hoveredClassName:null},e.onHoverClassName=e.onHoverClassName.bind(Object(E.a)(e)),e}return Object(w.a)(t,e),Object(_.a)(t,[{key:"onHoverClassName",value:function(e){this.setState({hoveredClassName:e})}},{key:"render",value:function(){var e=this,t=this.props,n=t.blocks,r=t.onTransform,o=t.inserterItems,c=t.hasBlockStyles,a=this.state.hoveredClassName;if(!n||!n.length)return null;var s,d=a?n[0]:null,f=a?Object(i.getBlockType)(d.name):null,p=Object(b.mapKeys)(o,(function(e){return e.name})),h=Object(b.orderBy)(Object(b.filter)(Object(i.getPossibleBlockTransformations)(n),(function(e){return e&&!!p[e.name]})),(function(e){return p[e.name].frecency}),"desc");if(1===Object(b.uniq)(Object(b.map)(n,"name")).length){var m=n[0].name,g=Object(i.getBlockType)(m);s=g.icon}else s="layout";return c||h.length?Object(u.createElement)(U.Dropdown,{position:"bottom right",className:"editor-block-switcher block-editor-block-switcher",contentClassName:"editor-block-switcher__popover block-editor-block-switcher__popover",renderToggle:function(e){var t=e.onToggle,r=e.isOpen,o=1===n.length?Object(F.__)("Change block type or style"):Object(F.sprintf)(Object(F._n)("Change type of %d block","Change type of %d blocks",n.length),n.length);return Object(u.createElement)(U.Toolbar,null,Object(u.createElement)(U.IconButton,{className:"editor-block-switcher__toggle block-editor-block-switcher__toggle",onClick:t,"aria-haspopup":"true","aria-expanded":r,label:o,tooltip:o,onKeyDown:function(e){r||e.keyCode!==Ge.DOWN||(e.preventDefault(),e.stopPropagation(),t())},icon:Object(u.createElement)(u.Fragment,null,Object(u.createElement)(We,{icon:s,showColors:!0}),Object(u.createElement)(U.SVG,{className:"editor-block-switcher__transform block-editor-block-switcher__transform",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(u.createElement)(U.Path,{d:"M6.5 8.9c.6-.6 1.4-.9 2.2-.9h6.9l-1.3 1.3 1.4 1.4L19.4 7l-3.7-3.7-1.4 1.4L15.6 6H8.7c-1.4 0-2.6.5-3.6 1.5l-2.8 2.8 1.4 1.4 2.8-2.8zm13.8 2.4l-2.8 2.8c-.6.6-1.3.9-2.1.9h-7l1.3-1.3-1.4-1.4L4.6 16l3.7 3.7 1.4-1.4L8.4 17h6.9c1.3 0 2.6-.5 3.5-1.5l2.8-2.8-1.3-1.4z"})))}))},renderContent:function(t){var o=t.onClose;return Object(u.createElement)(u.Fragment,null,(c||0!==h.length)&&Object(u.createElement)("div",{className:"block-editor-block-switcher__container"},c&&Object(u.createElement)(U.PanelBody,{title:Object(F.__)("Block Styles"),initialOpen:!0},Object(u.createElement)(aa,{clientId:n[0].clientId,onSwitch:o,onHoverClassName:e.onHoverClassName})),0!==h.length&&Object(u.createElement)(U.PanelBody,{title:Object(F.__)("Transform To:"),initialOpen:!0},Object(u.createElement)(ri,{items:h.map((function(e){return{id:e.name,icon:e.icon,title:e.title}})),onSelect:function(e){r(n,e.id),o()}}))),null!==a&&Object(u.createElement)("div",{className:"block-editor-block-switcher__preview"},Object(u.createElement)("div",{className:"block-editor-block-switcher__preview-title"},Object(F.__)("Preview")),Object(u.createElement)(ti,{viewportWidth:500,blocks:f.example?Object(i.getBlockFromExample)(d.name,{attributes:Object(l.a)({},f.example.attributes,{className:a}),innerBlocks:f.example.innerBlocks}):Object(i.cloneBlock)(d,{className:a})})))}}):Object(u.createElement)(U.Toolbar,null,Object(u.createElement)(U.IconButton,{disabled:!0,className:"editor-block-switcher__no-switcher-icon block-editor-block-switcher__no-switcher-icon",label:Object(F.__)("Block icon"),icon:Object(u.createElement)(We,{icon:s,showColors:!0})}))}}]),t}(u.Component),ya=Object(p.compose)(Object(m.withSelect)((function(e,t){var n=t.clientIds,r=e("core/block-editor"),o=r.getBlocksByClientId,i=r.getBlockRootClientId,c=r.getInserterItems,a=e("core/blocks").getBlockStyles,l=i(Object(b.first)(Object(b.castArray)(n))),s=o(n),u=s&&1===s.length?s[0]:null,d=u&&a(u.name);return{blocks:s,inserterItems:c(l),hasBlockStyles:d&&d.length>0}})),Object(m.withDispatch)((function(e,t){return{onTransform:function(n,r){e("core/block-editor").replaceBlocks(t.clientIds,Object(i.switchToBlockType)(n,r))}}})))(ja);var _a=Object(m.withSelect)((function(e){var t=e("core/block-editor").getMultiSelectedBlockClientIds();return{isMultiBlockSelection:t.length>1,selectedBlockClientIds:t}}))((function(e){var t=e.isMultiBlockSelection,n=e.selectedBlockClientIds;return t?Object(u.createElement)(ya,{key:"switcher",clientIds:n}):null}));function Sa(){var e=Object(m.useSelect)((function(e){var t=e("core/block-editor"),n=t.getBlockMode,r=t.getSelectedBlockClientIds,o=t.isBlockValid,i=r();return{blockClientIds:i,isValid:1===i.length?o(i[0]):null,mode:1===i.length?n(i[0]):null}})),t=e.blockClientIds,n=e.isValid,r=e.mode;return 0===t.length?null:t.length>1?Object(u.createElement)("div",{className:"editor-block-toolbar block-editor-block-toolbar"},Object(u.createElement)(_a,null),Object(u.createElement)(Oa,{clientIds:t})):Object(u.createElement)("div",{className:"editor-block-toolbar block-editor-block-toolbar"},"visual"===r&&n&&Object(u.createElement)(u.Fragment,null,1===t.length&&Object(u.createElement)(ka,{clientId:t[0]}),Object(u.createElement)(ya,{clientIds:t}),Object(u.createElement)(Fe.Slot,{bubblesVirtually:!0,className:"block-editor-block-toolbar__slot"}),Object(u.createElement)(Ke.Slot,{bubblesVirtually:!0,className:"block-editor-block-toolbar__slot"})),Object(u.createElement)(Oa,{clientIds:t}))}var Ca=Object(p.compose)([Object(m.withDispatch)((function(e,t,n){var r=(0,n.select)("core/block-editor"),o=r.getBlocksByClientId,c=r.getSelectedBlockClientIds,a=r.hasMultiSelection,l=r.getSettings,s=e("core/block-editor"),u=s.removeBlocks,d=s.replaceBlocks,f=l().__experimentalCanUserUseUnfilteredHTML;return{handler:function(e){var t=c();if(0!==t.length&&(a()||!Object(to.documentHasSelection)())){if(e.preventDefault(),"copy"===e.type||"cut"===e.type){var n=o(t),r=Object(i.serialize)(n);e.clipboardData.setData("text/plain",r),e.clipboardData.setData("text/html",r)}if("cut"===e.type)u(t);else if("paste"===e.type){var l=function(e){var t=e.clipboardData,n=t.items,r=t.files;n=Object(b.isNil)(n)?[]:n,r=Object(b.isNil)(r)?[]:r;var o="",i="";try{o=t.getData("text/plain"),i=t.getData("text/html")}catch(e){try{i=t.getData("Text")}catch(e){return}}return r=Array.from(r),Array.from(n).forEach((function(e){if(e.getAsFile){var t=e.getAsFile();if(t){var n=t.name,o=t.type,i=t.size;Object(b.find)(r,{name:n,type:o,size:i})||r.push(t)}}})),(r=r.filter((function(e){var t=e.type;return/^image\/(?:jpe?g|png|gif)$/.test(t)}))).length&&!i&&(i=r.map((function(e){return'')})).join(""),o=""),{html:i,plainText:o}}(e),s=l.plainText,p=l.html,h=Object(i.pasteHandler)({HTML:p,plainText:s,mode:"BLOCKS",canUserUseUnfilteredHTML:f});d(t,h)}}}}}))])((function(e){var t=e.children,n=e.handler;return Object(u.createElement)("div",{onCopy:n,onCut:n,onPaste:n},t)}));function Ea(){var e=Object(m.useSelect)((function(e){var t=e("core/block-editor"),n=t.getBlockSelectionEnd,r=t.isMultiSelecting;return{selectionEnd:n(),isMultiSelecting:r()}})),t=e.selectionEnd,n=e.isMultiSelecting;return Object(u.useEffect)((function(){if(t&&!n){var e=Ao(t);if(e){var r=Object(to.getScrollContainer)(e);r&&Xe()(e,r,{onlyScrollIfNeeded:!0})}}}),[t,n]),null}var wa=[Ge.UP,Ge.RIGHT,Ge.DOWN,Ge.LEFT,Ge.ENTER,Ge.BACKSPACE];var Ia=function(e){function t(){var e;return Object(y.a)(this,t),(e=Object(S.a)(this,Object(C.a)(t).apply(this,arguments))).stopTypingOnSelectionUncollapse=e.stopTypingOnSelectionUncollapse.bind(Object(E.a)(e)),e.stopTypingOnMouseMove=e.stopTypingOnMouseMove.bind(Object(E.a)(e)),e.startTypingInTextField=e.startTypingInTextField.bind(Object(E.a)(e)),e.stopTypingOnNonTextField=e.stopTypingOnNonTextField.bind(Object(E.a)(e)),e.stopTypingOnEscapeKey=e.stopTypingOnEscapeKey.bind(Object(E.a)(e)),e.onKeyDown=Object(b.over)([e.startTypingInTextField,e.stopTypingOnEscapeKey]),e.lastMouseMove=null,e}return Object(w.a)(t,e),Object(_.a)(t,[{key:"componentDidMount",value:function(){this.toggleEventBindings(this.props.isTyping)}},{key:"componentDidUpdate",value:function(e){this.props.isTyping!==e.isTyping&&this.toggleEventBindings(this.props.isTyping)}},{key:"componentWillUnmount",value:function(){this.toggleEventBindings(!1)}},{key:"toggleEventBindings",value:function(e){var t=e?"addEventListener":"removeEventListener";document[t]("selectionchange",this.stopTypingOnSelectionUncollapse),document[t]("mousemove",this.stopTypingOnMouseMove)}},{key:"stopTypingOnMouseMove",value:function(e){var t=e.clientX,n=e.clientY;if(this.lastMouseMove){var r=this.lastMouseMove,o=r.clientX,i=r.clientY;o===t&&i===n||this.props.onStopTyping()}this.lastMouseMove={clientX:t,clientY:n}}},{key:"stopTypingOnSelectionUncollapse",value:function(){var e=window.getSelection();e.rangeCount>0&&e.getRangeAt(0).collapsed||this.props.onStopTyping()}},{key:"stopTypingOnEscapeKey",value:function(e){this.props.isTyping&&e.keyCode===Ge.ESCAPE&&this.props.onStopTyping()}},{key:"startTypingInTextField",value:function(e){var t=this.props,n=t.isTyping,r=t.onStartTyping,o=e.type,i=e.target;n||!Object(to.isTextField)(i)||i.closest(".block-editor-block-toolbar")||("keydown"!==o||function(e){var t=e.keyCode;return!e.shiftKey&&Object(b.includes)(wa,t)}(e))&&r()}},{key:"stopTypingOnNonTextField",value:function(e){var t=this;e.persist(),this.props.setTimeout((function(){var n=t.props,r=n.isTyping,o=n.onStopTyping,i=e.target;r&&!Object(to.isTextField)(i)&&o()}))}},{key:"render",value:function(){var e=this.props.children;return Object(u.createElement)("div",{onFocus:this.stopTypingOnNonTextField,onKeyPress:this.startTypingInTextField,onKeyDown:this.onKeyDown},e)}}]),t}(u.Component),Ba=Object(p.compose)([Object(m.withSelect)((function(e){return{isTyping:(0,e("core/block-editor").isTyping)()}})),Object(m.withDispatch)((function(e){var t=e("core/block-editor");return{onStartTyping:t.startTyping,onStopTyping:t.stopTyping}})),p.withSafeTimeout])(Ia);function Ta(){return sc()("PreserveScrollInReorder component",{hint:"This behavior is now built-in the block list"}),null}var xa=-1!==window.navigator.userAgent.indexOf("Trident"),Na=new Set([Ge.UP,Ge.DOWN,Ge.LEFT,Ge.RIGHT]),La=function(e){function t(){var e;return Object(y.a)(this,t),(e=Object(S.a)(this,Object(C.a)(t).apply(this,arguments))).ref=Object(u.createRef)(),e.onKeyDown=e.onKeyDown.bind(Object(E.a)(e)),e.addSelectionChangeListener=e.addSelectionChangeListener.bind(Object(E.a)(e)),e.computeCaretRectOnSelectionChange=e.computeCaretRectOnSelectionChange.bind(Object(E.a)(e)),e.maintainCaretPosition=e.maintainCaretPosition.bind(Object(E.a)(e)),e.computeCaretRect=e.computeCaretRect.bind(Object(E.a)(e)),e.onScrollResize=e.onScrollResize.bind(Object(E.a)(e)),e.isSelectionEligibleForScroll=e.isSelectionEligibleForScroll.bind(Object(E.a)(e)),e}return Object(w.a)(t,e),Object(_.a)(t,[{key:"componentDidMount",value:function(){window.addEventListener("scroll",this.onScrollResize,!0),window.addEventListener("resize",this.onScrollResize,!0)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("scroll",this.onScrollResize,!0),window.removeEventListener("resize",this.onScrollResize,!0),document.removeEventListener("selectionchange",this.computeCaretRectOnSelectionChange),this.onScrollResize.rafId&&window.cancelAnimationFrame(this.onScrollResize.rafId),this.onKeyDown.rafId&&window.cancelAnimationFrame(this.onKeyDown.rafId)}},{key:"computeCaretRect",value:function(){this.isSelectionEligibleForScroll()&&(this.caretRect=Object(to.computeCaretRect)())}},{key:"computeCaretRectOnSelectionChange",value:function(){document.removeEventListener("selectionchange",this.computeCaretRectOnSelectionChange),this.computeCaretRect()}},{key:"onScrollResize",value:function(){var e=this;this.onScrollResize.rafId||(this.onScrollResize.rafId=window.requestAnimationFrame((function(){e.computeCaretRect(),delete e.onScrollResize.rafId})))}},{key:"isSelectionEligibleForScroll",value:function(){return this.props.selectedBlockClientId&&this.ref.current.contains(document.activeElement)&&document.activeElement.isContentEditable}},{key:"isLastEditableNode",value:function(){var e=this.ref.current.querySelectorAll('[contenteditable="true"]');return e[e.length-1]===document.activeElement}},{key:"maintainCaretPosition",value:function(e){var t=e.keyCode;if(this.isSelectionEligibleForScroll()){var n=Object(to.computeCaretRect)();if(n)if(this.caretRect)if(Na.has(t))this.caretRect=n;else{var r=n.top-this.caretRect.top;if(0!==r){var o=Object(to.getScrollContainer)(this.ref.current);if(o){var i=o===document.body,c=i?window.scrollY:o.scrollTop,a=i?0:o.getBoundingClientRect().top,l=i?this.caretRect.top/window.innerHeight:(this.caretRect.top-a)/(window.innerHeight-a);if(0===c&&l<.75&&this.isLastEditableNode())this.caretRect=n;else{var s=i?window.innerHeight:o.clientHeight;this.caretRect.top+this.caretRect.height>a+s||this.caretRect.top1&&void 0!==arguments[1])||arguments[1],r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return t=Array.isArray(e)?e:!0===e?Ha:[],!r||!0===e&&!n?b.without.apply(void 0,[t].concat(Va)):t}var Ka=Object(p.createHigherOrderComponent)((function(e){return function(t){var n=t.name,r=za(Object(i.getBlockSupport)(n,"align"),Object(i.hasBlockSupport)(n,"alignWide",!0));return[r.length>0&&t.isSelected&&Object(u.createElement)(Fe,{key:"align-controls"},Object(u.createElement)(Ne,{value:t.attributes.align,onChange:function(e){if(!e){var n=Object(i.getBlockType)(t.name);Object(b.get)(n,["attributes","align","default"])&&(e="")}t.setAttributes({align:e})},controls:r})),Object(u.createElement)(e,Object(s.a)({key:"edit"},t))]}}),"withToolbarControls"),Wa=Object(p.createHigherOrderComponent)((function(e){return function(t){var n=t.name,r=t.attributes.align,o=Object(m.useSelect)((function(e){return!!e("core/block-editor").getSettings().alignWide}),[]);if(void 0===r)return Object(u.createElement)(e,t);var c=za(Object(i.getBlockSupport)(n,"align"),Object(i.hasBlockSupport)(n,"alignWide",!0),o),a=t.wrapperProps;return Object(b.includes)(c,r)&&(a=Object(l.a)({},a,{"data-align":r})),Object(u.createElement)(e,Object(s.a)({},t,{wrapperProps:a}))}}));Object(h.addFilter)("blocks.registerBlockType","core/align/addAttribute",(function(e){return Object(b.has)(e.attributes,["align","type"])?e:(Object(i.hasBlockSupport)(e,"align")&&(e.attributes=Object(b.assign)(e.attributes,{align:{type:"string"}})),e)})),Object(h.addFilter)("editor.BlockListBlock","core/editor/align/with-data-align",Wa),Object(h.addFilter)("editor.BlockEdit","core/editor/align/with-toolbar-controls",Ka),Object(h.addFilter)("blocks.getSaveContent.extraProps","core/align/addAssignedAlign",(function(e,t,n){var r=n.align,o=Object(i.getBlockSupport)(t,"align"),c=Object(i.hasBlockSupport)(t,"alignWide",!0);return Object(b.includes)(za(o,c),r)&&(e.className=f()("align".concat(r),e.className)),e}));var Ga=/[\s#]/g;var qa=Object(p.createHigherOrderComponent)((function(e){return function(t){return Object(i.hasBlockSupport)(t.name,"anchor")&&t.isSelected?Object(u.createElement)(u.Fragment,null,Object(u.createElement)(e,t),Object(u.createElement)(Wi,null,Object(u.createElement)(U.TextControl,{className:"html-anchor-control",label:Object(F.__)("HTML Anchor"),help:Object(u.createElement)(u.Fragment,null,Object(F.__)("Enter a word or two — without spaces — to make a unique web address just for this heading, called an “anchor.” Then, you’ll be able to link directly to this section of your page."),Object(u.createElement)(U.ExternalLink,{href:"https://wordpress.org/support/article/page-jumps/"},Object(F.__)("Learn more about anchors"))),value:t.attributes.anchor||"",onChange:function(e){e=e.replace(Ga,"-"),t.setAttributes({anchor:e})}}))):Object(u.createElement)(e,t)}}),"withInspectorControl");Object(h.addFilter)("blocks.registerBlockType","core/anchor/attribute",(function(e){return Object(b.has)(e.attributes,["anchor","type"])?e:(Object(i.hasBlockSupport)(e,"anchor")&&(e.attributes=Object(b.assign)(e.attributes,{anchor:{type:"string",source:"attribute",attribute:"id",selector:"*"}})),e)})),Object(h.addFilter)("editor.BlockEdit","core/editor/anchor/with-inspector-control",qa),Object(h.addFilter)("blocks.getSaveContent.extraProps","core/anchor/save-props",(function(e,t,n){return Object(i.hasBlockSupport)(t,"anchor")&&(e.id=""===n.anchor?null:n.anchor),e}));var $a=Object(p.createHigherOrderComponent)((function(e){return function(t){return Object(i.hasBlockSupport)(t.name,"customClassName",!0)&&t.isSelected?Object(u.createElement)(u.Fragment,null,Object(u.createElement)(e,t),Object(u.createElement)(Wi,null,Object(u.createElement)(U.TextControl,{label:Object(F.__)("Additional CSS Class(es)"),value:t.attributes.className||"",onChange:function(e){t.setAttributes({className:""!==e?e:void 0})},help:Object(F.__)("Separate multiple classes with spaces.")}))):Object(u.createElement)(e,t)}}),"withInspectorControl");function Ya(e){e="
".concat(e,"
");var t=Object(i.parseWithAttributeSchema)(e,{type:"string",source:"attribute",selector:"[data-custom-class-name] > *",attribute:"class"});return t?t.trim().split(/\s+/):[]}Object(h.addFilter)("blocks.registerBlockType","core/custom-class-name/attribute",(function(e){return Object(i.hasBlockSupport)(e,"customClassName",!0)&&(e.attributes=Object(b.assign)(e.attributes,{className:{type:"string"}})),e})),Object(h.addFilter)("editor.BlockEdit","core/editor/custom-class-name/with-inspector-control",$a),Object(h.addFilter)("blocks.getSaveContent.extraProps","core/custom-class-name/save-props",(function(e,t,n){return Object(i.hasBlockSupport)(t,"customClassName",!0)&&n.className&&(e.className=f()(e.className,n.className)),e})),Object(h.addFilter)("blocks.getBlockAttributes","core/custom-class-name/addParsedDifference",(function(e,t,n){if(Object(i.hasBlockSupport)(t,"customClassName",!0)){var r=Object(b.omit)(e,["className"]),o=Object(i.getSaveContent)(t,r),c=Ya(o),a=Ya(n),l=Object(b.difference)(a,c);l.length?e.className=l.join(" "):o&&delete e.className}return e})),Object(h.addFilter)("blocks.getSaveContent.extraProps","core/generated-class-name/save-props",(function(e,t){return Object(i.hasBlockSupport)(t,"className",!0)&&("string"==typeof e.className?e.className=Object(b.uniq)([Object(i.getBlockDefaultClassName)(t.name)].concat(Object(R.a)(e.className.split(" ")))).join(" ").trim():e.className=Object(i.getBlockDefaultClassName)(t.name)),e}));var Xa=n(218),Za=n.n(Xa),Ja=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,Qa=function(e,t){t=t||{};var n=1,r=1;function o(e){var t=e.match(/\n/g);t&&(n+=t.length);var o=e.lastIndexOf("\n");r=~o?e.length-o:r+e.length}function i(){var e={line:n,column:r};return function(t){return t.position=new c(e),b(),t}}function c(e){this.start=e,this.end={line:n,column:r},this.source=t.source}c.prototype.content=e;var a=[];function l(o){var i=new Error(t.source+":"+n+":"+r+": "+o);if(i.reason=o,i.filename=t.source,i.line=n,i.column=r,i.source=e,!t.silent)throw i;a.push(i)}function s(){return f(/^{\s*/)}function u(){return f(/^}/)}function d(){var t,n=[];for(b(),p(n);e.length&&"}"!==e.charAt(0)&&(t=C()||E());)!1!==t&&(n.push(t),p(n));return n}function f(t){var n=t.exec(e);if(n){var r=n[0];return o(r),e=e.slice(r.length),n}}function b(){f(/^\s*/)}function p(e){var t;for(e=e||[];t=h();)!1!==t&&e.push(t);return e}function h(){var t=i();if("/"===e.charAt(0)&&"*"===e.charAt(1)){for(var n=2;""!==e.charAt(n)&&("*"!==e.charAt(n)||"/"!==e.charAt(n+1));)++n;if(n+=2,""===e.charAt(n-1))return l("End of comment missing");var c=e.slice(2,n-2);return r+=2,o(c),e=e.slice(n),r+=2,t({type:"comment",comment:c})}}function m(){var e=f(/^([^{]+)/);if(e)return el(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 g(){var e=i(),t=f(/^(\*?[-#\/\*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(t){if(t=el(t[0]),!f(/^:\s*/))return l("property missing ':'");var n=f(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^\)]*?\)|[^};])+)/),r=e({type:"declaration",property:t.replace(Ja,""),value:n?el(n[0]).replace(Ja,""):""});return f(/^[;\s]*/),r}}function v(){var e,t=[];if(!s())return l("missing '{'");for(p(t);e=g();)!1!==e&&(t.push(e),p(t));return u()?t:l("missing '}'")}function O(){for(var e,t=[],n=i();e=f(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)t.push(e[1]),f(/^,\s*/);if(t.length)return n({type:"keyframe",values:t,declarations:v()})}var k,j=S("import"),y=S("charset"),_=S("namespace");function S(e){var t=new RegExp("^@"+e+"\\s*([^;]+);");return function(){var n=i(),r=f(t);if(r){var o={type:e};return o[e]=r[1].trim(),n(o)}}}function C(){if("@"===e[0])return function(){var e=i(),t=f(/^@([-\w]+)?keyframes\s*/);if(t){var n=t[1];if(!(t=f(/^([-\w]+)\s*/)))return l("@keyframes missing name");var r,o=t[1];if(!s())return l("@keyframes missing '{'");for(var c=p();r=O();)c.push(r),c=c.concat(p());return u()?e({type:"keyframes",name:o,vendor:n,keyframes:c}):l("@keyframes missing '}'")}}()||function(){var e=i(),t=f(/^@media *([^{]+)/);if(t){var n=el(t[1]);if(!s())return l("@media missing '{'");var r=p().concat(d());return u()?e({type:"media",media:n,rules:r}):l("@media missing '}'")}}()||function(){var e=i(),t=f(/^@custom-media\s+(--[^\s]+)\s*([^{;]+);/);if(t)return e({type:"custom-media",name:el(t[1]),media:el(t[2])})}()||function(){var e=i(),t=f(/^@supports *([^{]+)/);if(t){var n=el(t[1]);if(!s())return l("@supports missing '{'");var r=p().concat(d());return u()?e({type:"supports",supports:n,rules:r}):l("@supports missing '}'")}}()||j()||y()||_()||function(){var e=i(),t=f(/^@([-\w]+)?document *([^{]+)/);if(t){var n=el(t[1]),r=el(t[2]);if(!s())return l("@document missing '{'");var o=p().concat(d());return u()?e({type:"document",document:r,vendor:n,rules:o}):l("@document missing '}'")}}()||function(){var e=i();if(f(/^@page */)){var t=m()||[];if(!s())return l("@page missing '{'");for(var n,r=p();n=g();)r.push(n),r=r.concat(p());return u()?e({type:"page",selectors:t,declarations:r}):l("@page missing '}'")}}()||function(){var e=i();if(f(/^@host\s*/)){if(!s())return l("@host missing '{'");var t=p().concat(d());return u()?e({type:"host",rules:t}):l("@host missing '}'")}}()||function(){var e=i();if(f(/^@font-face\s*/)){if(!s())return l("@font-face missing '{'");for(var t,n=p();t=g();)n.push(t),n=n.concat(p());return u()?e({type:"font-face",declarations:n}):l("@font-face missing '}'")}}()}function E(){var e=i(),t=m();return t?(p(),e({type:"rule",selectors:t,declarations:v()})):l("selector missing")}return function e(t,n){var r=t&&"string"==typeof t.type;var o=r?t:n;for(var i in t){var c=t[i];Array.isArray(c)?c.forEach((function(t){e(t,o)})):c&&"object"===Object(vt.a)(c)&&e(c,o)}r&&Object.defineProperty(t,"parent",{configurable:!0,writable:!0,enumerable:!1,value:n||null});return t}((k=d(),{type:"stylesheet",stylesheet:{source:t.source,rules:k,parsingErrors:a}}))};function el(e){return e?e.replace(/^\s+|\s+$/g,""):""}var tl=n(109),nl=n.n(tl),rl=ol;function ol(e){this.options=e||{}}ol.prototype.emit=function(e){return e},ol.prototype.visit=function(e){return this[e.type](e)},ol.prototype.mapVisit=function(e,t){var n="";t=t||"";for(var r=0,o=e.length;r1&&void 0!==arguments[1]?arguments[1]:[];return function(n){return"rule"===n.type?Object(l.a)({},n,{selectors:n.selectors.map((function(n){return Object(b.includes)(t,n.trim())?n:n.match(hl)?n.replace(/^(body|html|:root)/,e):e+" "+n}))}):n}},gl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return Object(b.map)(e,(function(e){var n=e.css,r=e.baseURL,o=[];return t&&o.push(ml(t)),r&&o.push(pl(r)),o.length?ul(n,Object(p.compose)(o)):n}))};n.d(t,"AlignmentToolbar",(function(){return Ee})),n.d(t,"Autocomplete",(function(){return we})),n.d(t,"BlockAlignmentToolbar",(function(){return Ne})),n.d(t,"BlockBreadcrumb",(function(){return Ae})),n.d(t,"BlockControls",(function(){return Fe})),n.d(t,"BlockEdit",(function(){return ue})),n.d(t,"useBlockEditContext",(function(){return te})),n.d(t,"BlockFormatControls",(function(){return Ke})),n.d(t,"BlockIcon",(function(){return We})),n.d(t,"BlockNavigationDropdown",(function(){return yi})),n.d(t,"__experimentalBlockNavigationList",(function(){return Oi})),n.d(t,"__experimentalBlockPatternPicker",(function(){return _i})),n.d(t,"BlockVerticalAlignmentToolbar",(function(){return Bi})),n.d(t,"ButtonBlockerAppender",(function(){return vi})),n.d(t,"ColorPalette",(function(){return V})),n.d(t,"ColorPaletteControl",(function(){return K})),n.d(t,"ContrastChecker",(function(){return Z})),n.d(t,"__experimentalGradientPicker",(function(){return xi})),n.d(t,"__experimentalGradientPickerControl",(function(){return Ni})),n.d(t,"__experimentalGradientPickerPanel",(function(){return Li})),n.d(t,"InnerBlocks",(function(){return Ui})),n.d(t,"InspectorAdvancedControls",(function(){return Wi})),n.d(t,"InspectorControls",(function(){return le})),n.d(t,"__experimentalLinkControl",(function(){return Ji})),n.d(t,"MediaReplaceFlow",(function(){return ac})),n.d(t,"MediaPlaceholder",(function(){return hc})),n.d(t,"MediaUpload",(function(){return Qi})),n.d(t,"MediaUploadCheck",(function(){return ec})),n.d(t,"PanelColorSettings",(function(){return $})),n.d(t,"PlainText",(function(){return mc})),n.d(t,"__experimentalResponsiveBlockControl",(function(){return vc})),n.d(t,"RichText",(function(){return Lc})),n.d(t,"RichTextShortcut",(function(){return wc})),n.d(t,"RichTextToolbarButton",(function(){return Ic})),n.d(t,"__unstableRichTextInputEvent",(function(){return Bc})),n.d(t,"ToolSelector",(function(){return Mc})),n.d(t,"URLInput",(function(){return rc})),n.d(t,"URLInputButton",(function(){return Pc})),n.d(t,"URLPopover",(function(){return dc})),n.d(t,"withColorContext",(function(){return H})),n.d(t,"__experimentalBlockListFooter",(function(){return Yo})),n.d(t,"__experimentalBlockSettingsMenuFirstItem",(function(){return Hc})),n.d(t,"__experimentalBlockSettingsMenuPluginsExtension",(function(){return Wc})),n.d(t,"__experimentalInserterMenuExtension",(function(){return si})),n.d(t,"__experimentalPageTemplatePicker",(function(){return Yc})),n.d(t,"__experimentalWithPageTemplatePickerVisible",(function(){return Zc})),n.d(t,"__experimentalUsePageTemplatePickerVisible",(function(){return Xc})),n.d(t,"BlockEditorKeyboardShortcuts",(function(){return na})),n.d(t,"BlockInspector",(function(){return da})),n.d(t,"BlockList",(function(){return Qo})),n.d(t,"BlockMover",(function(){return uo})),n.d(t,"BlockPreview",(function(){return ti})),n.d(t,"BlockSelectionClearer",(function(){return ba})),n.d(t,"BlockSettingsMenu",(function(){return Oa})),n.d(t,"BlockTitle",(function(){return Le})),n.d(t,"BlockToolbar",(function(){return Sa})),n.d(t,"CopyHandler",(function(){return Ca})),n.d(t,"DefaultBlockAppender",(function(){return Ko})),n.d(t,"Inserter",(function(){return gi})),n.d(t,"MultiBlocksSwitcher",(function(){return _a})),n.d(t,"MultiSelectScrollIntoView",(function(){return Ea})),n.d(t,"NavigableToolbar",(function(){return Eo})),n.d(t,"ObserveTyping",(function(){return Ba})),n.d(t,"PreserveScrollInReorder",(function(){return Ta})),n.d(t,"SkipToSelectedBlock",(function(){return ra})),n.d(t,"Typewriter",(function(){return Aa})),n.d(t,"Warning",(function(){return fo})),n.d(t,"WritingFlow",(function(){return Ua})),n.d(t,"BlockEditorProvider",(function(){return Jr})),n.d(t,"getColorClassName",(function(){return j})),n.d(t,"getColorObjectByAttributeValues",(function(){return O})),n.d(t,"getColorObjectByColorValue",(function(){return k})),n.d(t,"createCustomColorsHOC",(function(){return L})),n.d(t,"withColors",(function(){return A})),n.d(t,"__experimentalUseColors",(function(){return ve})),n.d(t,"__experimentalGetGradientClass",(function(){return Oe})),n.d(t,"__experimentalUseGradient",(function(){return ke})),n.d(t,"getFontSize",(function(){return je})),n.d(t,"getFontSizeClass",(function(){return ye})),n.d(t,"FontSizePicker",(function(){return _e})),n.d(t,"withFontSizes",(function(){return Se})),n.d(t,"transformStyles",(function(){return gl})),n.d(t,"storeConfig",(function(){return $r})),n.d(t,"SETTINGS_DEFAULTS",(function(){return et}))},38:function(e,t,n){"use strict";var r,o;function i(e){return[e]}function c(){var e={clear:function(){e.head=null}};return e}function a(e,t,n){var r;if(e.length!==t.length)return!1;for(r=n;r=0||(o[n]=e[n]);return o}n.d(t,"a",(function(){return r}))},42:function(e,t,n){e.exports=function(e,t){var n,r,o,i=0;function c(){var t,c,a=r,l=arguments.length;e:for(;a;){if(a.args.length===arguments.length){for(c=0;c1&&(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=L(e,360),t=L(t,100),n=L(n,100),0===t)r=o=i=n;else{var a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;r=c(l,a,e+1/3),o=c(l,a,e),i=c(l,a,e-1/3)}return{r:255*r,g:255*o,b:255*i}}(e.h,r,l),d=!0,f="hsl"),e.hasOwnProperty("a")&&(n=e.a));var b,p,h;return n=N(n),{ok:d,format:e.format||f,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=l(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=l(this._r)),this._g<1&&(this._g=l(this._g)),this._b<1&&(this._b=l(this._b)),this._ok=n.ok,this._tc_id=a++}function b(e,t,n){e=L(e,255),t=L(t,255),n=L(n,255);var r,o,i=u(e,t,n),c=s(e,t,n),a=(i+c)/2;if(i==c)r=o=0;else{var l=i-c;switch(o=a>.5?l/(2-i-c):l/(i+c),i){case e:r=(t-n)/l+(t>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(f(r));return i}function B(e,t){t=t||6;for(var n=f(e).toHsv(),r=n.h,o=n.s,i=n.v,c=[],a=1/t;t--;)c.push(f({h:r,s:o,v:i})),i=(i+a)%1;return c}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=N(e),this._roundA=l(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=l(360*e.h),n=l(100*e.s),r=l(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=b(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=b(this._r,this._g,this._b),t=l(360*e.h),n=l(100*e.s),r=l(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return h(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 i=[M(l(e).toString(16)),M(l(t).toString(16)),M(l(n).toString(16)),M(D(r))];if(o&&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:l(this._r),g:l(this._g),b:l(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+l(this._r)+", "+l(this._g)+", "+l(this._b)+")":"rgba("+l(this._r)+", "+l(this._g)+", "+l(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:l(100*L(this._r,255))+"%",g:l(100*L(this._g,255))+"%",b:l(100*L(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+l(100*L(this._r,255))+"%, "+l(100*L(this._g,255))+"%, "+l(100*L(this._b,255))+"%)":"rgba("+l(100*L(this._r,255))+"%, "+l(100*L(this._g,255))+"%, "+l(100*L(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(x[h(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(k,arguments)},brighten:function(){return this._applyModification(j,arguments)},darken:function(){return this._applyModification(y,arguments)},desaturate:function(){return this._applyModification(g,arguments)},saturate:function(){return this._applyModification(v,arguments)},greyscale:function(){return this._applyModification(O,arguments)},spin:function(){return this._applyModification(_,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(I,arguments)},complement:function(){return this._applyCombination(S,arguments)},monochromatic:function(){return this._applyCombination(B,arguments)},splitcomplement:function(){return this._applyCombination(w,arguments)},triad:function(){return this._applyCombination(C,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]:P(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(),i=n/100;return f({r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+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,i=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=i>=4.5;break;case"AAlarge":o=i>=3;break;case"AAAsmall":o=i>=7}return o},f.mostReadable=function(e,t,n){var r,o,i,c,a=null,l=0;o=(n=n||{}).includeFallbackColors,i=n.level,c=n.size;for(var s=0;sl&&(l=r,a=f(t[s]));return f.isReadable(e,a,{level:i,size:c})||!o?a:(n.includeFallbackColors=!1,f.mostReadable(e,["#fff","#000"],n))};var T=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"},x=f.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(T);function N(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function L(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),o.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function A(e){return s(1,u(0,e))}function R(e){return parseInt(e,16)}function M(e){return 1==e.length?"0"+e:""+e}function P(e){return e<=1&&(e=100*e+"%"),e}function D(e){return o.round(255*parseFloat(e)).toString(16)}function F(e){return R(e)/255}var U,H,V,z=(H="[\\s|\\(]+("+(U="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+U+")[,|\\s]+("+U+")\\s*\\)?",V="[\\s|\\(]+("+U+")[,|\\s]+("+U+")[,|\\s]+("+U+")[,|\\s]+("+U+")\\s*\\)?",{CSS_UNIT:new RegExp(U),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!!z.CSS_UNIT.exec(e)}e.exports?e.exports=f:void 0===(r=function(){return f}.call(t,n,t,e))||(e.exports=r)}(Math)},50:function(e,t){!function(){e.exports=this.wp.viewport}()},53:function(e,t){!function(){e.exports=this.wp.htmlEntities}()},6:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",(function(){return r}))},60:function(e,t,n){"use strict";t.__esModule=!0;var r=n(113);t.default=r.default},61:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},63: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(117)),i=r(n(118)),c=n(20),a=r(c),l=r(n(95)),s=r(n(119)),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=c.useState(!1)[1];return c.useCallback((function(){return e((function(e){return!e}))}),[])}function f(e,t){return u.und(e)||u.nul(e)?t:e}function b(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),r=1;r=n.length)break;i=n[o++]}else{if((o=n.next()).done)break;i=o.value}for(var c=i,a=!1,l=0;l=b.startTime+s.duration;else if(s.decay)m=p+O/(1-.998)*(1-Math.exp(-(1-.998)*(t-b.startTime))),(u=Math.abs(b.lastPosition-m)<.1)&&(h=m);else{d=void 0!==b.lastTime?b.lastTime:t,O=void 0!==b.lastVelocity?b.lastVelocity:s.initialVelocity,t>d+64&&(d=t);for(var k=Math.floor(t-d),j=0;jh:m=e);++n);return n-1}(e,i);return function(e,t,n,r,o,i,c,a,l){var s=l?l(e):e;if(sn){if("identity"===a)return s;"clamp"===a&&(s=n)}if(r===o)return r;if(t===n)return e<=t?r:o;t===-1/0?s=-s:n===1/0?s-=t:s=(s-t)/(n-t);s=i(s),r===-1/0?s=-s:o===1/0?s+=r:s=s*(o-r)+r;return s}(e,i[t],i[t+1],o[t],o[t+1],l,c,a,r.map)}}var U=function(e){function t(n,r,o,i){var c;return(c=e.call(this)||this).calc=void 0,c.payload=n instanceof O&&!(n instanceof t)?n.getPayload():Array.isArray(n)?n:[n],c.calc=F(r,o,i),c}l(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,r){return new t(this,e,n,r)},t}(O);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}l(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 U(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}l(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 U(this,e,t)},t}(O),z=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=z++}var t=e.prototype;return t.update=function(e){if(!e)return this;var t=h(e),n=t.delay,r=void 0===n?0:n,c=t.to,a=i(t,["delay","to"]);if(u.arr(c)||u.fun(c))this.queue.push(o({},a,{delay:r,to:c}));else if(c){var l={};Object.entries(c).forEach((function(e){var t,n=e[0],i=e[1],c=o({to:(t={},t[n]=i,t),delay:p(r,n)},a),s=l[c.delay]&&l[c.delay].to;l[c.delay]=o({},l[c.delay],c,{to:o({},s,c.to)})})),this.queue=Object.values(l)}return this.queue=this.queue.sort((function(e,t){return e.delay-t.delay})),this.diff(a),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,i=e.to,c=void 0===i?{}:i;u.obj(r)&&(n.merged=o({},r,n.merged)),u.obj(c)&&(n.merged=o({},n.merged,c))}));var r=this.local=++this.guid,c=this.localQueue=this.queue;this.queue=[],c.forEach((function(t,o){var a=t.delay,l=i(t,["delay"]),s=function(t){o===c.length-1&&r===n.guid&&t&&(n.idle=!0,n.props.onRest&&n.props.onRest(n.merged)),e&&e()},d=u.arr(l.to)||u.fun(l.to);a?setTimeout((function(){r===n.guid&&(d?n.runAsync(l,s):n.diff(l).start(s))}),a):d?n.runAsync(l,s):n.diff(l).start(s)}))}else u.fun(e)&&this.listeners.push(e),this.props.onStart&&this.props.onStart(),t=this,P.has(t)||P.add(t),M||(M=!0,S(x||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,P.has(t)&&P.delete(t)),this},t.runAsync=function(e,t){var n=this,r=(e.delay,i(e,["delay"])),c=this.local,a=Promise.resolve(void 0);if(u.arr(r.to))for(var l=function(e){var t=e,i=o({},r,h(r.to[t]));u.arr(i.config)&&(i.config=i.config[t]),a=a.then((function(){if(c===n.guid)return new Promise((function(e){return n.diff(i).start(e)}))}))},s=0;s=r.length)return"break";c=r[i++]}else{if((i=r.next()).done)return"break";c=i.value}var n=c.key,a=function(e){return e.key!==n};(u.und(t)||t===n)&&(e.current.instances.delete(n),e.current.transitions=e.current.transitions.filter(a),e.current.deleted=e.current.deleted.filter(a))},r=e.current.deleted,o=Array.isArray(r),i=0;for(r=o?r:r[Symbol.iterator]();;){var c;if("break"===n())break}e.current.forceUpdate()}var Q=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 l(t,e),t}(k),ee={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},te="[-+]?\\d*\\.?\\d+",ne=te+"%";function re(){for(var e=arguments.length,t=new Array(e),n=0;n1&&(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 be(e,t,n){var r=n<.5?n*(1+t):n+t-n*t,o=2*n-r,i=fe(o,r,e+1/3),c=fe(o,r,e),a=fe(o,r,e-1/3);return Math.round(255*i)<<24|Math.round(255*c)<<16|Math.round(255*a)<<8}function pe(e){var t=parseInt(e,10);return t<0?0:t>255?255:t}function he(e){return(parseFloat(e)%360+360)%360/360}function me(e){var t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function ge(e){var t=parseFloat(e);return t<0?0:t>100?1:t/100}function ve(e){var t,n,r="number"==typeof(t=e)?t>>>0===t&&t>=0&&t<=4294967295?t:null:(n=ue.exec(t))?parseInt(n[1]+"ff",16)>>>0:ee.hasOwnProperty(t)?ee[t]:(n=oe.exec(t))?(pe(n[1])<<24|pe(n[2])<<16|pe(n[3])<<8|255)>>>0:(n=ie.exec(t))?(pe(n[1])<<24|pe(n[2])<<16|pe(n[3])<<8|me(n[4]))>>>0:(n=le.exec(t))?parseInt(n[1]+n[1]+n[2]+n[2]+n[3]+n[3]+"ff",16)>>>0:(n=de.exec(t))?parseInt(n[1],16)>>>0:(n=se.exec(t))?parseInt(n[1]+n[1]+n[2]+n[2]+n[3]+n[3]+n[4]+n[4],16)>>>0:(n=ce.exec(t))?(255|be(he(n[1]),ge(n[2]),ge(n[3])))>>>0:(n=ae.exec(t))?(be(he(n[1]),ge(n[2]),ge(n[3]))|me(n[4]))>>>0:null;return null===r?e:"rgba("+((4278190080&(r=r||0))>>>24)+", "+((16711680&r)>>>16)+", "+((65280&r)>>>8)+", "+(255&r)/255+")"}var Oe=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,ke=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,je=new RegExp("("+Object.keys(ee).join("|")+")","g"),ye={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},_e=["Webkit","Ms","Moz","O"];function Se(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||ye.hasOwnProperty(e)&&ye[e]?(""+t).trim():t+"px"}ye=Object.keys(ye).reduce((function(e,t){return _e.forEach((function(n){return e[function(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}(n,t)]=e[t]})),e}),ye);var Ce={};L((function(e){return new Q(e)})),B("div"),E((function(e){var t=e.output.map((function(e){return e.replace(ke,ve)})).map((function(e){return e.replace(je,ve)})),n=t[0].match(Oe).map((function(){return[]}));t.forEach((function(e){e.match(Oe).forEach((function(e,t){return n[t].push(+e)}))}));var r=t[0].match(Oe).map((function(t,r){return F(o({},e,{output:n[r]}))}));return function(e){var n=0;return t[0].replace(Oe,(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+")"}))}})),y(ee),j((function(e,t){if(!e.nodeType||void 0===e.setAttribute)return!1;var n=t.style,r=t.children,o=t.scrollTop,c=t.scrollLeft,a=i(t,["style","children","scrollTop","scrollLeft"]),l="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName;for(var s in void 0!==o&&(e.scrollTop=o),void 0!==c&&(e.scrollLeft=c),void 0!==r&&(e.textContent=r),n)if(n.hasOwnProperty(s)){var u=0===s.indexOf("--"),d=Se(s,n[s],u);"float"===s&&(s="cssFloat"),u?e.style.setProperty(s,d):e.style[s]=d}for(var f in a){var b=l?f:Ce[f]||(Ce[f]=f.replace(/([A-Z])/g,(function(e){return"-"+e.toLowerCase()})));void 0!==e.getAttribute(b)&&e.setAttribute(b,a[f])}}),(function(e){return e}));var Ee,we,Ie=(Ee=function(e){return c.forwardRef((function(t,n){var r=d(),l=c.useRef(!0),s=c.useRef(null),f=c.useRef(null),b=c.useCallback((function(e){var t=s.current;s.current=new R(e,(function(){var e=!1;f.current&&(e=m.fn(f.current,s.current.getAnimatedValue())),f.current&&!1!==e||r()})),t&&t.detach()}),[]);c.useEffect((function(){return function(){l.current=!1,s.current&&s.current.detach()}}),[]),c.useImperativeHandle(n,(function(){return N(f,l,r)})),b(t);var p,h=s.current.getValue(),g=(h.scrollTop,h.scrollLeft,i(h,["scrollTop","scrollLeft"])),v=(p=e,!u.fun(p)||p.prototype instanceof a.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 a.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]=Ee(n),e}),Ee)}),Be=Ie(["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=Ie,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=Be,t.a=Be,t.interpolate=function(e,t,n){return e&&new U(e,t,n)},t.Globals=A,t.useSpring=function(e){var t=u.fun(e),n=W(1,t?e:[e]),r=n[0],o=n[1],i=n[2];return t?[r[0],o,i]:r},t.useTrail=function(e,t){var n=c.useRef(!1),r=u.fun(t),i=p(t),a=c.useRef(),l=W(e,(function(e,t){return 0===e&&(a.current=[]),a.current.push(t),o({},i,{config:p(i.config,e),attach:e>0&&function(){return a.current[e-1]}})})),s=l[0],d=l[1],f=l[2],b=c.useMemo((function(){return function(e){return d((function(t,n){e.reverse;var r=e.reverse?t+1:t-1,c=a.current[r];return o({},e,{config:p(e.config||i.config,t),attach:c&&function(){return c}})}))}}),[e,i.reverse]);return c.useEffect((function(){n.current&&!r&&b(t)})),c.useEffect((function(){n.current=!0}),[]),r?[s,b,f]:s},t.useTransition=function(e,t,n){var r=o({items:e,keys:t||function(e){return e}},n),a=Z(r),l=a.lazy,s=void 0!==l&&l,u=(a.unique,a.reset),f=void 0!==u&&u,b=(a.enter,a.leave,a.update,a.onDestroyed),h=(a.keys,a.items,a.onFrame),m=a.onRest,g=a.onStart,v=a.ref,O=i(a,["lazy","unique","reset","enter","leave","update","onDestroyed","keys","items","onFrame","onRest","onStart","ref"]),k=d(),j=c.useRef(!1),y=c.useRef({mounted:!1,first:!0,deleted:[],current:{},transitions:[],prevProps:{},paused:!!r.ref,instances:!j.current&&new Map,forceUpdate:k});return c.useImperativeHandle(r.ref,(function(){return{start:function(){return Promise.all(Array.from(y.current.instances).map((function(e){var t=e[1];return new Promise((function(e){return t.start(e)}))})))},stop:function(e){return Array.from(y.current.instances).forEach((function(t){return t[1].stop(e)}))},get controllers(){return Array.from(y.current.instances).map((function(e){return e[1]}))}}})),y.current=function(e,t){var n=e.first,r=e.prevProps,c=i(e,["first","prevProps"]),a=Z(t),l=a.items,s=a.keys,u=a.initial,d=a.from,f=a.enter,b=a.leave,h=a.update,m=a.trail,g=void 0===m?0:m,v=a.unique,O=a.config,k=a.order,j=void 0===k?[q,$,Y]:k,y=Z(r),_=y.keys,S=y.items,C=o({},c.current),E=[].concat(c.deleted),w=Object.keys(C),I=new Set(w),B=new Set(s),T=s.filter((function(e){return!I.has(e)})),x=c.transitions.filter((function(e){return!e.destroyed&&!B.has(e.originalKey)})).map((function(e){return e.originalKey})),N=s.filter((function(e){return I.has(e)})),L=-g;for(;j.length;){switch(j.shift()){case q:T.forEach((function(e,t){v&&E.find((function(t){return t.originalKey===e}))&&(E=E.filter((function(t){return t.originalKey!==e})));var r=s.indexOf(e),o=l[r],i=n&&void 0!==u?"initial":q;C[e]={slot:i,originalKey:e,key:v?String(e):G++,item:o,trail:L+=g,config:p(O,o,i),from:p(n&&void 0!==u?u||{}:d,o),to:p(f,o)}}));break;case $:x.forEach((function(e){var t=_.indexOf(e),n=S[t],r=$;E.unshift(o({},C[e],{slot:r,destroyed:!0,left:_[Math.max(0,t-1)],right:_[Math.min(_.length,t+1)],trail:L+=g,config:p(O,n,r),to:p(b,n)})),delete C[e]}));break;case Y:N.forEach((function(e){var t=s.indexOf(e),n=l[t],r=Y;C[e]=o({},C[e],{item:n,slot:r,trail:L+=g,config:p(O,n,r),to:p(h,n)})}))}}var A=s.map((function(e){return C[e]}));return E.forEach((function(e){var t,n=e.left,r=(e.right,i(e,["left","right"]));-1!==(t=A.findIndex((function(e){return e.originalKey===n})))&&(t+=1),t=Math.max(0,t),A=[].concat(A.slice(0,t),[r],A.slice(t))})),o({},c,{changed:T.length||x.length||N.length,first:n&&0===T.length,transitions:A,current:C,deleted:E,prevProps:t})}(y.current,r),y.current.changed&&y.current.transitions.forEach((function(e){var t=e.slot,n=e.from,r=e.to,i=e.config,c=e.trail,a=e.key,l=e.item;y.current.instances.has(a)||y.current.instances.set(a,new K);var u=y.current.instances.get(a),d=o({},O,{to:r,from:n,config:i,ref:v,onRest:function(n){y.current.mounted&&(e.destroyed&&(v||s||J(y,a),b&&b(l)),!Array.from(y.current.instances).some((function(e){return!e[1].idle}))&&(v||s)&&y.current.deleted.length>0&&J(y),m&&m(l,t,n))},onStart:g&&function(){return g(l,t)},onFrame:h&&function(e){return h(l,t,e)},delay:c,reset:f&&t===q});u.update(d),y.current.paused||u.start()})),c.useEffect((function(){return y.current.mounted=j.current=!0,function(){y.current.mounted=j.current=!1,Array.from(y.current.instances).map((function(e){return e[1].destroy()})),y.current.instances.clear()}}),[]),y.current.transitions.map((function(e){var t=e.item,n=e.slot,r=e.key;return{item:t,key:r,state:n,props:y.current.instances.get(r).getValues()}}))},t.useChain=function(e,t,n){void 0===n&&(n=1e3);var r=c.useRef();c.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 i=e.current;if(i){var c=i.controllers;if(c.length){var a=n*t[r];c.forEach((function(e){e.queue=e.queue.map((function(e){return o({},e,{delay:e.delay+a})})),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=W},67:function(e,t,n){"use strict";e.exports=n(111)},7:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(9);function o(e){for(var t=1;t",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(s),d=["%","/","?",";","#"].concat(u),f=["/","?","#"],b=/^[+a-z0-9A-Z_-]{0,63}$/,p=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,h={javascript:!0,"javascript:":!0},m={javascript:!0,"javascript:":!0},g={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},v=n(123);function O(e,t,n){if(e&&o.isObject(e)&&e instanceof i)return e;var r=new i;return r.parse(e,t,n),r}i.prototype.parse=function(e,t,n){if(!o.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var i=e.indexOf("?"),a=-1!==i&&i127?L+="x":L+=N[A];if(!L.match(b)){var M=T.slice(0,w),P=T.slice(w+1),D=N.match(p);D&&(M.push(D[1]),P.unshift(D[2])),P.length&&(O="/"+P.join(".")+O),this.hostname=M.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),B||(this.hostname=r.toASCII(this.hostname));var F=this.port?":"+this.port:"",U=this.hostname||"";this.host=U+F,this.href+=this.host,B&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==O[0]&&(O="/"+O))}if(!h[y])for(w=0,x=u.length;w0)&&n.host.split("@"))&&(n.auth=B.shift(),n.host=n.hostname=B.shift());return n.search=e.search,n.query=e.query,o.isNull(n.pathname)&&o.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!_.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var C=_.slice(-1)[0],E=(n.host||e.host||_.length>1)&&("."===C||".."===C)||""===C,w=0,I=_.length;I>=0;I--)"."===(C=_[I])?_.splice(I,1):".."===C?(_.splice(I,1),w++):w&&(_.splice(I,1),w--);if(!j&&!y)for(;w--;w)_.unshift("..");!j||""===_[0]||_[0]&&"/"===_[0].charAt(0)||_.unshift(""),E&&"/"!==_.join("/").substr(-1)&&_.push("");var B,T=""===_[0]||_[0]&&"/"===_[0].charAt(0);S&&(n.hostname=n.host=T?"":_.length?_.shift():"",(B=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=B.shift(),n.host=n.hostname=B.shift()));return(j=j||n.host&&_.length)&&!T&&_.unshift(""),_.length?n.pathname=_.join("/"):(n.pathname=null,n.path=null),o.isNull(n.pathname)&&o.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},i.prototype.parseHost=function(){var e=this.host,t=a.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},88:function(e,t,n){"use strict";var r=n(89);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,c){if(c!==r){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},89:function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},9: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}n.d(t,"a",(function(){return r}))},95:function(e,t){e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}},96:function(e,t){!function(){e.exports=this.wp.wordcount}()}}); \ No newline at end of file +var r;r=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){"use strict";t.__esModule=!0,t.canonicalize=t.convertChangesToXML=t.convertChangesToDMP=t.merge=t.parsePatch=t.applyPatches=t.applyPatch=t.createPatch=t.createTwoFilesPatch=t.structuredPatch=t.diffArrays=t.diffJson=t.diffCss=t.diffSentences=t.diffTrimmedLines=t.diffLines=t.diffWordsWithSpace=t.diffWords=t.diffChars=t.Diff=void 0;var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r},c=n(2),a=n(3),l=n(5),s=n(6),u=n(7),d=n(8),f=n(9),b=n(10),p=n(11),h=n(13),m=n(14),g=n(16),v=n(17);t.Diff=i.default,t.diffChars=c.diffChars,t.diffWords=a.diffWords,t.diffWordsWithSpace=a.diffWordsWithSpace,t.diffLines=l.diffLines,t.diffTrimmedLines=l.diffTrimmedLines,t.diffSentences=s.diffSentences,t.diffCss=u.diffCss,t.diffJson=d.diffJson,t.diffArrays=f.diffArrays,t.structuredPatch=m.structuredPatch,t.createTwoFilesPatch=m.createTwoFilesPatch,t.createPatch=m.createPatch,t.applyPatch=b.applyPatch,t.applyPatches=b.applyPatches,t.parsePatch=p.parsePatch,t.merge=h.merge,t.convertChangesToDMP=g.convertChangesToDMP,t.convertChangesToXML=v.convertChangesToXML,t.canonicalize=d.canonicalize},function(e,t){"use strict";function n(){}function r(e,t,n,r,o){for(var i=0,c=t.length,a=0,l=0;ie.length?n:e})),s.value=e.join(d)}else s.value=e.join(n.slice(a,a+s.count));a+=s.count,s.added||(l+=s.count)}}var f=t[c-1];return c>1&&"string"==typeof f.value&&(f.added||f.removed)&&e.equals("",f.value)&&(t[c-2].value+=f.value,t.pop()),t}function o(e){return{newPos:e.newPos,components:e.components.slice(0)}}t.__esModule=!0,t.default=n,n.prototype={diff:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.callback;"function"==typeof n&&(i=n,n={}),this.options=n;var c=this;function a(e){return i?(setTimeout((function(){i(void 0,e)}),0),!0):e}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e));var l=(t=this.removeEmpty(this.tokenize(t))).length,s=e.length,u=1,d=l+s,f=[{newPos:-1,components:[]}],b=this.extractCommon(f[0],t,e,0);if(f[0].newPos+1>=l&&b+1>=s)return a([{value:this.join(t),count:t.length}]);function p(){for(var n=-1*u;n<=u;n+=2){var i=void 0,d=f[n-1],b=f[n+1],p=(b?b.newPos:0)-n;d&&(f[n-1]=void 0);var h=d&&d.newPos+1=l&&p+1>=s)return a(r(c,i.components,t,e,c.useLongestToken));f[n]=i}else f[n]=void 0}u++}if(i)!function e(){setTimeout((function(){if(u>d)return i();p()||e()}),0)}();else for(;u<=d;){var h=p();if(h)return h}},pushComponent:function(e,t,n){var r=e[e.length-1];r&&r.added===t&&r.removed===n?e[e.length-1]={count:r.count+1,added:t,removed:n}:e.push({count:1,added:t,removed:n})},extractCommon:function(e,t,n,r){for(var o=t.length,i=n.length,c=e.newPos,a=c-r,l=0;c+12&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof t&&(t=(0,o.parsePatch)(t)),Array.isArray(t)){if(t.length>1)throw new Error("applyPatch only works with a single input.");t=t[0]}var r=e.split(/\r\n|[\n\v\f\r\x85]/),i=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],a=t.hunks,l=n.compareLine||function(e,t,n,r){return t===r},s=0,u=n.fuzzFactor||0,d=0,f=0,b=void 0,p=void 0;function h(e,t){for(var n=0;n0?o[0]:" ",c=o.length>0?o.substr(1):o;if(" "===i||"-"===i){if(!l(t+1,r[t],i,c)&&++s>u)return!1;t++}}return!0}for(var m=0;m0?w[0]:" ",B=w.length>0?w.substr(1):w,T=C.linedelimiters[S];if(" "===I)E++;else if("-"===I)r.splice(E,1),i.splice(E,1);else if("+"===I)r.splice(E,0,B),i.splice(E,0,T),E++;else if("\\"===I){var x=C.lines[S-1]?C.lines[S-1][0]:null;"+"===x?b=!0:"-"===x&&(p=!0)}}}if(b)for(;!r[r.length-1];)r.pop(),i.pop();else p&&(r.push(""),i.push("\n"));for(var N=0;N1&&void 0!==arguments[1]?arguments[1]:{},n=e.split(/\r\n|[\n\v\f\r\x85]/),r=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],o=[],i=0;function c(){var e={};for(o.push(e);i0?u(a.lines.slice(-l.context)):[],f-=p.length,b-=p.length)}(c=p).push.apply(c,o(r.map((function(e){return(t.added?"+":"-")+e})))),t.added?m+=r.length:h+=r.length}else{if(f)if(r.length<=2*l.context&&e=s.length-2&&r.length<=l.context){var j=/\n$/.test(n),y=/\n$/.test(i);0!=r.length||j?j&&y||p.push("\\ No newline at end of file"):p.splice(k.oldLines,0,"\\ No newline at end of file")}d.push(k),f=0,b=0,p=[]}h+=r.length,m+=r.length}},v=0;ve.length)return!1;for(var n=0;n"):r.removed&&t.push(""),t.push((o=r.value,void 0,o.replace(/&/g,"&").replace(//g,">").replace(/"/g,"""))),r.added?t.push(""):r.removed&&t.push("")}var o;return t.join("")}}])},e.exports=r()},218:function(e,t){var n=e.exports=function(e){return new r(e)};function r(e){this.value=e}function o(e,t,n){var r=[],o=[],a=!0;return function e(d){var f=n?i(d):d,b={},p=!0,h={node:f,node_:d,path:[].concat(r),parent:o[o.length-1],parents:o,key:r.slice(-1)[0],isRoot:0===r.length,level:r.length,circular:null,update:function(e,t){h.isRoot||(h.parent.node[h.key]=e),h.node=e,t&&(p=!1)},delete:function(e){delete h.parent.node[h.key],e&&(p=!1)},remove:function(e){l(h.parent.node)?h.parent.node.splice(h.key,1):delete h.parent.node[h.key],e&&(p=!1)},keys:null,before:function(e){b.before=e},after:function(e){b.after=e},pre:function(e){b.pre=e},post:function(e){b.post=e},stop:function(){a=!1},block:function(){p=!1}};if(!a)return h;function m(){if("object"==typeof h.node&&null!==h.node){h.keys&&h.node_===h.node||(h.keys=c(h.node)),h.isLeaf=0==h.keys.length;for(var e=0;e0&&void 0!==arguments[0]?arguments[0]:{},t=e.gradientAttribute,n=void 0===t?"gradient":t,r=e.customGradientAttribute,o=void 0===r?"customGradient":r,i=q().clientId,c=Object(g.useSelect)((function(e){var t=e("core/block-editor"),r=t.getBlockAttributes,c=t.getSettings,a=r(i);return{gradient:a[n],customGradient:a[o],gradients:c().gradients}}),[i,n,o]),a=c.gradients,l=c.gradient,s=c.customGradient,u=Object(g.useDispatch)("core/block-editor").updateBlockAttributes,f=Object(d.useCallback)((function(e){var t,r,c=function(e,t){var n=J(e,t);return n&&n.slug}(a,e);c?u(i,(r={},Object(B.a)(r,n,c),Object(B.a)(r,o,void 0),r)):u(i,(t={},Object(B.a)(t,n,void 0),Object(B.a)(t,o,e),t))}),[a,i,u]);return{gradientClass:Z(l),gradientValue:l?function(e,t){var n=Object(p.find)(e,["slug",t]);return n&&n.gradient}(a,l):s,setGradient:f}}var ee=Object(U.__)("(Color: %s)"),te=Object(U.__)("(Gradient: %s)"),ne=["colors","disableCustomColors","gradients","disableCustomGradients"];function re(e){var t,n,r=e.colors,o=e.gradients,i=e.label,c=e.currentTab,a=e.colorValue,l=e.gradientValue;if("color"===c){if(a){var s=j(r,t=a),u=s&&s.name;n=Object(U.sprintf)(ee,u||t)}}else if("gradient"===c&&l){var f=J(o,t=l),b=f&&f.name;n=Object(U.sprintf)(te,b||t)}return Object(d.createElement)(d.Fragment,null,i,!!t&&Object(d.createElement)(H.ColorIndicator,{colorValue:t,"aria-label":n}))}function oe(e){var t=e.colors,n=e.gradients,r=e.disableCustomColors,o=e.disableCustomGradients,i=e.className,c=e.label,a=e.onColorChange,l=e.onGradientChange,s=e.colorValue,f=e.gradientValue,h=a&&(!Object(p.isEmpty)(t)||!r),m=l&&(!Object(p.isEmpty)(n)||!o),g=Object(d.useState)(f?"gradient":!!h&&"color"),v=Object(V.a)(g,2),O=v[0],k=v[1];return h||m?Object(d.createElement)(H.BaseControl,{className:b()("block-editor-color-gradient-control",i)},Object(d.createElement)(H.BaseControl.VisualLabel,null,Object(d.createElement)(re,{currentTab:O,label:c,colorValue:s,gradientValue:f})),h&&m&&Object(d.createElement)(H.ButtonGroup,{className:"block-editor-color-gradient-control__button-tabs"},Object(d.createElement)(H.Button,{isLarge:!0,isPrimary:"color"===O,isSecondary:"color"!==O,onClick:function(){return k("color")}},Object(U.__)("Solid Color")),Object(d.createElement)(H.Button,{isLarge:!0,isPrimary:"gradient"===O,isSecondary:"gradient"!==O,onClick:function(){return k("gradient")}},Object(U.__)("Gradient"))),"color"===O&&Object(d.createElement)(H.ColorPalette,Object(u.a)({value:s,onChange:m?function(e){a(e),l()}:a},{colors:t,disableCustomColors:r})),"gradient"===O&&Object(d.createElement)(H.__experimentalGradientPicker,Object(u.a)({value:f,onChange:h?function(e){l(e),a()}:l},{gradients:n,disableCustomGradients:o}))):null}function ie(e){var t=Object(g.useSelect)((function(e){var t=e("core/block-editor").getSettings();return Object(p.pick)(t,ne)}));return Object(d.createElement)(oe,Object(s.a)({},t,e))}var ce=function(e){return Object(p.every)(ne,(function(t){return e.hasOwnProperty(t)}))?Object(d.createElement)(oe,e):Object(d.createElement)(ie,e)},ae=Object(U.__)("(%s: color %s)"),le=Object(U.__)("(%s: gradient %s)"),se=["colors","disableCustomColors","gradients","disableCustomGradients"],ue=function(e){var t=e.colors,n=e.gradients;return e.settings.map((function(e,r){var o,i=e.colorValue,c=e.gradientValue,a=e.label,l=e.colors,s=e.gradients;if(!i&&!c)return null;if(i){var u=j(l||t,i);o=Object(U.sprintf)(ae,a.toLowerCase(),u&&u.name||i)}else{var f=J(s||n,i);o=Object(U.sprintf)(le,a.toLowerCase(),f&&f.name||c)}return Object(d.createElement)(H.ColorIndicator,{key:r,colorValue:i||c,"aria-label":o})}))},de=function(e){var t=e.className,n=e.colors,r=e.gradients,o=e.disableCustomColors,i=e.disableCustomGradients,c=e.children,a=e.settings,l=e.title,f=Object(M.a)(e,["className","colors","gradients","disableCustomColors","disableCustomGradients","children","settings","title"]);if(Object(p.isEmpty)(n)&&Object(p.isEmpty)(r)&&o&&i&&Object(p.every)(a,(function(e){return Object(p.isEmpty)(e.colors)&&Object(p.isEmpty)(e.gradients)&&(void 0===e.disableCustomColors||e.disableCustomColors)&&(void 0===e.disableCustomGradients||e.disableCustomGradients)})))return null;var h=Object(d.createElement)("span",{className:"block-editor-panel-color-gradient-settings__panel-title"},l,Object(d.createElement)(ue,{colors:n,gradients:r,settings:a}));return Object(d.createElement)(H.PanelBody,Object(u.a)({className:b()("block-editor-panel-color-gradient-settings",t),title:h},f),a.map((function(e,t){return Object(d.createElement)(ce,Object(u.a)({key:t},Object(s.a)({colors:n,gradients:r,disableCustomColors:o,disableCustomGradients:i},e)))})),c)},fe=function(e){var t=Object(g.useSelect)((function(e){var t=e("core/block-editor").getSettings();return Object(p.pick)(t,se)}));return Object(d.createElement)(de,Object(s.a)({},t,e))},be=function(e){return Object(p.every)(se,(function(t){return e.hasOwnProperty(t)}))?Object(d.createElement)(de,e):Object(d.createElement)(fe,e)},pe=function(e){var t=e.colorSettings,n=Object(M.a)(e,["colorSettings"]),r=t.map((function(e){var t=e.value,n=e.onChange,r=Object(M.a)(e,["value","onChange"]);return Object(s.a)({},r,{colorValue:t,onColorChange:n})}));return Object(d.createElement)(be,Object(u.a)({settings:r,gradients:[],disableCustomGradients:!0},n))},he=n(45);function me(e){var t=e.tinyBackgroundColor,n=e.tinyTextColor,r=e.backgroundColor,o=e.textColor,i=t.getBrightness()=24?"large":"small"})?null:Object(d.createElement)(me,{backgroundColor:t,textColor:c,tinyBackgroundColor:a,tinyTextColor:l})},ve=Object(H.createSlotFill)("InspectorControls"),Oe=ve.Fill,ke=ve.Slot,je=Y(Oe);je.Slot=ke;var ye=je,_e=window,Ce=_e.getComputedStyle,Ee=_e.Node,Se=[],we=function(e,t,n){return"function"==typeof e?e(t):!0===e?n:e},Ie=function(e){var t=e.title,n=e.colorSettings,r=e.colorPanelProps,o=e.contrastCheckers,i=e.detectedBackgroundColorRef,c=e.detectedColorRef,a=e.panelChildren;return Object(d.createElement)(pe,Object(u.a)({title:t,initialOpen:!1,colorSettings:Object.values(n)},r),o&&(Array.isArray(o)?o.map((function(e){var t=e.backgroundColor,r=e.textColor,o=Object(M.a)(e,["backgroundColor","textColor"]);return t=we(t,n,i.current),r=we(r,n,c.current),Object(d.createElement)(ge,Object(u.a)({key:"".concat(t,"-").concat(r),backgroundColor:t,textColor:r},o))})):Object(p.map)(n,(function(e){var t=e.value,r=o.backgroundColor,a=o.textColor;return r=we(r||t,n,i.current),a=we(a||t,n,c.current),Object(d.createElement)(ge,Object(u.a)({},o,{key:"".concat(r,"-").concat(a),backgroundColor:r,textColor:a}))}))),"function"==typeof a?a(n):a)},Be=function(e){return Object(d.createElement)(ye,null,Object(d.createElement)(Ie,e))};function Te(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{panelTitle:Object(U.__)("Color Settings")},n=t.panelTitle,r=void 0===n?Object(U.__)("Color Settings"):n,o=t.colorPanelProps,i=t.contrastCheckers,c=t.panelChildren,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],l=q().clientId,u=Object(g.useSelect)((function(e){var t=e("core/block-editor"),n=t.getBlockAttributes,r=(0,t.getSettings)().colors;return{attributes:n(l),settingsColors:r&&!0!==r?r:Se}}),[l]),f=u.attributes,h=u.settingsColors,m=Object(g.useDispatch)("core/block-editor").updateBlockAttributes,v=Object(d.useCallback)((function(e){return m(l,e)}),[m,l]),O=Object(d.useMemo)((function(){return F()((function(e,t,n,r,o,i){return function(c){var a=c.children,l=c.className,u=void 0===l?"":l,f=c.style,h=void 0===f?{}:f;return(d.Children.map(a,(function(c){var a,l={};return r?l=Object(B.a)({},t,o):i&&(l=Object(B.a)({},t,i)),Object(d.cloneElement)(c,{className:b()(u,c.props.className,(a={},Object(B.a)(a,"has-".concat(Object(p.kebabCase)(r),"-").concat(Object(p.kebabCase)(t)),r),Object(B.a)(a,n||"has-".concat(Object(p.kebabCase)(e)),r||i),a)),style:Object(s.a)({},l,h,c.props.style||{})})})))}}),{maxSize:e.length})}),[e.length]),k=Object(d.useMemo)((function(){return F()((function(e,t){return function(n){var r=t.find((function(e){return e.color===n}));v(Object(B.a)({},r?Object(p.camelCase)("custom ".concat(e)):e,void 0)),v(Object(B.a)({},r?e:Object(p.camelCase)("custom ".concat(e)),r?r.slug:n))}}),{maxSize:e.length})}),[v,e.length]),j=Object(d.useRef)(),y=Object(d.useRef)(),_=Object(d.useMemo)((function(){if(i){var e=!1,t=!1,n=!0,r=!1,o=void 0;try{for(var c,a=Object(p.castArray)(i)[Symbol.iterator]();!(n=(c=a.next()).done);n=!0){var l=c.value,s=l.backgroundColor,u=l.textColor;if(e||(e=!0===s),t||(t=!0===u),e&&t)break}}catch(e){r=!0,o=e}finally{try{n||null==a.return||a.return()}finally{if(r)throw o}}return(e||t)&&Object(H.withFallbackStyles)((function(t,n){var r,o=n.querySelector,i=n.backgroundColorSelector,c=void 0===i?o:i,a=n.textColorSelector,l=void 0===a?o:a,s=t,u=t;c&&(s=t.parentNode.querySelector(c)),l&&(u=t.parentNode.querySelector(l));var d=Ce(u).color;if(e)for(r=Ce(s).backgroundColor;"rgba(0, 0, 0, 0)"===r&&s.parentNode&&s.parentNode===Ee.ELEMENT_NODE;)s=s.parentNode,r=Ce(s).backgroundColor;return j.current=r,y.current=d,{backgroundColor:r,color:d}}))((function(){return Object(d.createElement)(d.Fragment,null)}))}}),[e.reduce((function(e,t){return"".concat(e," | ").concat(f[t.name]," | ").concat(f[Object(p.camelCase)("custom ".concat(t.name))])}),"")].concat(Object(P.a)(a)));return Object(d.useMemo)((function(){var t={},n=e.reduce((function(e,n){"string"==typeof n&&(n={name:n});var r=Object(s.a)({},n,{color:f[n.name]}),o=r.name,i=r.property,c=void 0===i?o:i,a=r.className,l=r.panelLabel,u=void 0===l?Object(p.startCase)(o):l,d=r.componentName,b=void 0===d?u.replace(/\s/g,""):d,m=r.color,g=void 0===m?n.color:m,v=r.colors,j=void 0===v?h:v,y=f[Object(p.camelCase)("custom ".concat(o))],_=y?void 0:j.find((function(e){return e.slug===g}));return e[b]=O(o,c,a,g,_&&_.color,y),e[b].displayName=b,e[b].color=y||_&&_.color,e[b].slug=g,e[b].setColor=k(o,j),t[b]={value:_?_.color:f[Object(p.camelCase)("custom ".concat(o))],onChange:e[b].setColor,label:u,colors:j},j||delete t[b].colors,e}),{}),a={title:r,colorSettings:t,colorPanelProps:o,contrastCheckers:i,detectedBackgroundColorRef:j,detectedColorRef:y,panelChildren:c};return Object(s.a)({},n,{ColorPanel:Object(d.createElement)(Ie,a),InspectorControlsColorPanel:Object(d.createElement)(Be,a),ColorDetector:_})}),[f,v].concat(Object(P.a)(a)))}var xe=function(e,t,n){if(t){var r=Object(p.find)(e,{slug:t});if(r)return r}return{size:n}};function Ne(e){if(e)return"has-".concat(Object(p.kebabCase)(e),"-font-size")}var Le=Object(g.withSelect)((function(e){var t=e("core/block-editor").getSettings();return{disableCustomFontSizes:t.disableCustomFontSizes,fontSizes:t.fontSizes}}))(H.FontSizePicker),Ae=function(){for(var e=arguments.length,t=new Array(e),n=0;n3&&void 0!==arguments[3]?arguments[3]:1,o=Object(P.a)(e);return o.splice(t,r),ut(o,e.slice(t,t+r),n)}function ft(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=Object(B.a)({},t,[]);return e.forEach((function(e){var r=e.clientId,o=e.innerBlocks;n[t].push(r),Object.assign(n,ft(o,r))})),n}function bt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e.reduce((function(e,n){return Object.assign(e,Object(B.a)({},n.clientId,t),bt(n.innerBlocks,n.clientId))}),{})}function pt(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:p.identity,n={},r=Object(P.a)(e);r.length;){var o=r.shift(),i=o.innerBlocks,c=Object(M.a)(o,["innerBlocks"]);r.push.apply(r,Object(P.a)(i)),n[c.clientId]=t(c)}return n}function ht(e){return pt(e,(function(e){return Object(p.omit)(e,"attributes")}))}function mt(e){return pt(e,(function(e){return e.attributes}))}function gt(e,t){return e===t?Object(s.a)({},e):t}function vt(e,t){return"UPDATE_BLOCK_ATTRIBUTES"===e.type&&void 0!==t&&"UPDATE_BLOCK_ATTRIBUTES"===t.type&&e.clientId===t.clientId&&(n=e.attributes,r=t.attributes,Object(p.isEqual)(Object(p.keys)(n),Object(p.keys)(r)));var n,r}var Ot=function(e){return e.reduce((function(e,t){return e[t]={},e}),{})};var kt=Object(p.flow)(g.combineReducers,(function(e){return function(t,n){if(t&&"SAVE_REUSABLE_BLOCK_SUCCESS"===n.type){var r=n.id,o=n.updatedId;if(r===o)return t;(t=Object(s.a)({},t)).attributes=Object(p.mapValues)(t.attributes,(function(e,n){return"core/block"===t.byClientId[n].name&&e.ref===r?Object(s.a)({},e,{ref:o}):e}))}return e(t,n)}}),(function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,r=e(t,n);if(r===t)return t;r.cache=t.cache?t.cache:{};var o=function(e){return e.reduce((function(e,n){var r=n;do{e.push(r),r=t.parents[r]}while(r);return e}),[])};switch(n.type){case"RESET_BLOCKS":r.cache=Object(p.mapValues)(pt(n.blocks),(function(){return{}}));break;case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":var i=Object(p.keys)(pt(n.blocks));n.rootClientId&&i.push(n.rootClientId),r.cache=Object(s.a)({},r.cache,Ot(o(i)));break;case"UPDATE_BLOCK":case"UPDATE_BLOCK_ATTRIBUTES":r.cache=Object(s.a)({},r.cache,Ot(o([n.clientId])));break;case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":var c=Ot(o(n.replacedClientIds));r.cache=Object(s.a)({},Object(p.omit)(r.cache,n.replacedClientIds),Object(p.omit)(c,n.replacedClientIds),Ot(Object(p.keys)(pt(n.blocks))));break;case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":r.cache=Object(s.a)({},Object(p.omit)(r.cache,n.removedClientIds),Ot(Object(p.difference)(o(n.clientIds),n.clientIds)));break;case"MOVE_BLOCK_TO_POSITION":var a=[n.clientId];n.fromRootClientId&&a.push(n.fromRootClientId),n.toRootClientId&&a.push(n.toRootClientId),r.cache=Object(s.a)({},r.cache,Ot(o(a)));break;case"MOVE_BLOCKS_UP":case"MOVE_BLOCKS_DOWN":var l=[];n.rootClientId&&l.push(n.rootClientId),r.cache=Object(s.a)({},r.cache,Ot(o(l)));break;case"SAVE_REUSABLE_BLOCK_SUCCESS":var u=Object(p.keys)(Object(p.omitBy)(r.attributes,(function(e,t){return"core/block"!==r.byClientId[t].name||e.ref!==n.updatedId})));r.cache=Object(s.a)({},r.cache,Ot(o(u)))}return r}}),(function(e){return function(t,n){var r=function(e){for(var n=e,r=0;r1&&void 0!==arguments[1]?arguments[1]:"";return Object(p.reduce)(t[n],(function(n,r){return[].concat(Object(P.a)(n),[r],Object(P.a)(e(t,r)))}),[])}(t.order);return Object(s.a)({},t,{byClientId:Object(s.a)({},Object(p.omit)(t.byClientId,r),ht(n.blocks)),attributes:Object(s.a)({},Object(p.omit)(t.attributes,r),mt(n.blocks)),order:Object(s.a)({},Object(p.omit)(t.order,r),ft(n.blocks)),parents:Object(s.a)({},Object(p.omit)(t.parents,r),bt(n.blocks)),cache:Object(s.a)({},Object(p.omit)(t.cache,r),Object(p.mapValues)(pt(n.blocks),(function(){return{}})))})}return e(t,n)}}),(function(e){var t;return function(n,r){var o=e(n,r),i="MARK_LAST_CHANGE_AS_PERSISTENT"===r.type;if(n===o&&!i){var c=Object(p.get)(n,["isPersistentChange"],!0);return n.isPersistentChange===c?n:Object(s.a)({},o,{isPersistentChange:c})}return o=Object(s.a)({},o,{isPersistentChange:i||!vt(r,t)}),t=r,o}}),(function(e){var t=new Set(["RECEIVE_BLOCKS"]);return function(n,r){var o=e(n,r);return o!==n&&(o.isIgnoredChange=t.has(r.type)),o}}))({byClientId:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RESET_BLOCKS":return ht(t.blocks);case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":return Object(s.a)({},e,ht(t.blocks));case"UPDATE_BLOCK":if(!e[t.clientId])return e;var n=Object(p.omit)(t.updates,"attributes");return Object(p.isEmpty)(n)?e:Object(s.a)({},e,Object(B.a)({},t.clientId,Object(s.a)({},e[t.clientId],n)));case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":return t.blocks?Object(s.a)({},Object(p.omit)(e,t.replacedClientIds),ht(t.blocks)):e;case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(p.omit)(e,t.removedClientIds)}return e},attributes:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RESET_BLOCKS":return mt(t.blocks);case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":return Object(s.a)({},e,mt(t.blocks));case"UPDATE_BLOCK":return e[t.clientId]&&t.updates.attributes?Object(s.a)({},e,Object(B.a)({},t.clientId,Object(s.a)({},e[t.clientId],t.updates.attributes))):e;case"UPDATE_BLOCK_ATTRIBUTES":if(!e[t.clientId])return e;var n=Object(p.reduce)(t.attributes,(function(n,r,o){return r!==n[o]&&((n=gt(e[t.clientId],n))[o]=r),n}),e[t.clientId]);return n===e[t.clientId]?e:Object(s.a)({},e,Object(B.a)({},t.clientId,n));case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":return t.blocks?Object(s.a)({},Object(p.omit)(e,t.replacedClientIds),mt(t.blocks)):e;case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(p.omit)(e,t.removedClientIds)}return e},order:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RESET_BLOCKS":return ft(t.blocks);case"RECEIVE_BLOCKS":return Object(s.a)({},e,Object(p.omit)(ft(t.blocks),""));case"INSERT_BLOCKS":var n=t.rootClientId,r=void 0===n?"":n,o=e[r]||[],i=ft(t.blocks,r),c=t.index,a=void 0===c?o.length:c;return Object(s.a)({},e,i,Object(B.a)({},r,ut(o,i[r],a)));case"MOVE_BLOCK_TO_POSITION":var l,u=t.fromRootClientId,d=void 0===u?"":u,f=t.toRootClientId,b=void 0===f?"":f,h=t.clientId,m=t.index,g=void 0===m?e[b].length:m;if(d===b){var v=e[b],O=v.indexOf(h);return Object(s.a)({},e,Object(B.a)({},b,dt(e[b],O,g)))}return Object(s.a)({},e,(l={},Object(B.a)(l,d,Object(p.without)(e[d],h)),Object(B.a)(l,b,ut(e[b],h,g)),l));case"MOVE_BLOCKS_UP":var k=t.clientIds,j=t.rootClientId,y=void 0===j?"":j,_=Object(p.first)(k),C=e[y];if(!C.length||_===Object(p.first)(C))return e;var E=C.indexOf(_);return Object(s.a)({},e,Object(B.a)({},y,dt(C,E,E-1,k.length)));case"MOVE_BLOCKS_DOWN":var S=t.clientIds,w=t.rootClientId,I=void 0===w?"":w,T=Object(p.first)(S),x=Object(p.last)(S),N=e[I];if(!N.length||x===Object(p.last)(N))return e;var L=N.indexOf(T);return Object(s.a)({},e,Object(B.a)({},I,dt(N,L,L+1,S.length)));case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":var A=t.clientIds;if(!t.blocks)return e;var R=ft(t.blocks);return Object(p.flow)([function(e){return Object(p.omit)(e,t.replacedClientIds)},function(e){return Object(s.a)({},e,Object(p.omit)(R,""))},function(e){return Object(p.mapValues)(e,(function(e){return Object(p.reduce)(e,(function(e,t){return t===A[0]?[].concat(Object(P.a)(e),Object(P.a)(R[""])):(-1===A.indexOf(t)&&e.push(t),e)}),[])}))}])(e);case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(p.flow)([function(e){return Object(p.omit)(e,t.removedClientIds)},function(e){return Object(p.mapValues)(e,(function(e){return p.without.apply(void 0,[e].concat(Object(P.a)(t.removedClientIds)))}))}])(e)}return e},parents:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RESET_BLOCKS":return bt(t.blocks);case"RECEIVE_BLOCKS":return Object(s.a)({},e,bt(t.blocks));case"INSERT_BLOCKS":return Object(s.a)({},e,bt(t.blocks,t.rootClientId||""));case"MOVE_BLOCK_TO_POSITION":return Object(s.a)({},e,Object(B.a)({},t.clientId,t.toRootClientId||""));case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(s.a)({},Object(p.omit)(e,t.replacedClientIds),bt(t.blocks,e[t.clientIds[0]]));case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(p.omit)(e,t.removedClientIds)}return e}});function jt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"CLEAR_SELECTED_BLOCK":return e.clientId?{}:e;case"SELECT_BLOCK":return t.clientId===e.clientId?e:{clientId:t.clientId};case"REPLACE_INNER_BLOCKS":case"INSERT_BLOCKS":return t.updateSelection?{clientId:t.blocks[0].clientId}:e;case"REMOVE_BLOCKS":return t.clientIds&&t.clientIds.length&&-1!==t.clientIds.indexOf(e.clientId)?{}:e;case"REPLACE_BLOCKS":if(-1===t.clientIds.indexOf(e.clientId))return e;var n=t.indexToSelect||t.blocks.length-1,r=t.blocks[n];return r?r.clientId===e.clientId?e:{clientId:r.clientId}:{}}return e}var yt=Object(g.combineReducers)({blocks:kt,isTyping:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case"START_TYPING":return!0;case"STOP_TYPING":return!1}return e},isDraggingBlocks:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case"START_DRAGGING_BLOCKS":return!0;case"STOP_DRAGGING_BLOCKS":return!1}return e},isCaretWithinFormattedText:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case"ENTER_FORMATTED_TEXT":return!0;case"EXIT_FORMATTED_TEXT":return!1}return e},selectionStart:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SELECTION_CHANGE":return{clientId:t.clientId,attributeKey:t.attributeKey,offset:t.startOffset};case"RESET_SELECTION":return t.selectionStart;case"MULTI_SELECT":return{clientId:t.start}}return jt(e,t)},selectionEnd:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SELECTION_CHANGE":return{clientId:t.clientId,attributeKey:t.attributeKey,offset:t.endOffset};case"RESET_SELECTION":return t.selectionEnd;case"MULTI_SELECT":return{clientId:t.end}}return jt(e,t)},isMultiSelecting:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case"START_MULTI_SELECT":return!0;case"STOP_MULTI_SELECT":return!1}return e},isSelectionEnabled:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"TOGGLE_SELECTION":return t.isSelectionEnabled}return e},initialPosition:function(e,t){return"SELECT_BLOCK"===t.type?t.initialPosition:"REMOVE_BLOCKS"===t.type?e:void 0},blocksMode:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if("TOGGLE_BLOCK_MODE"===t.type){var n=t.clientId;return Object(s.a)({},e,Object(B.a)({},n,e[n]&&"html"===e[n]?"visual":"html"))}return e},blockListSettings:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"REPLACE_BLOCKS":case"REMOVE_BLOCKS":return Object(p.omit)(e,t.clientIds);case"UPDATE_BLOCK_LIST_SETTINGS":var n=t.clientId;return t.settings?Object(p.isEqual)(e[n],t.settings)?e:Object(s.a)({},e,Object(B.a)({},n,t.settings)):e.hasOwnProperty(n)?Object(p.omit)(e,n):e}return e},insertionPoint:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SHOW_INSERTION_POINT":return{rootClientId:t.rootClientId,index:t.index};case"HIDE_INSERTION_POINT":return null}return e},template:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{isValid:!0},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_TEMPLATE_VALIDITY":return Object(s.a)({},e,{isValid:t.isValid})}return e},settings:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:st,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"UPDATE_SETTINGS":return Object(s.a)({},e,t.settings)}return e},preferences:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:lt,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"INSERT_BLOCKS":case"REPLACE_BLOCKS":return t.blocks.reduce((function(e,n){var r=n.name,o={name:n.name};return Object(i.isReusableBlock)(n)&&(o.ref=n.attributes.ref,r+="/"+n.attributes.ref),Object(s.a)({},e,{insertUsage:Object(s.a)({},e.insertUsage,Object(B.a)({},r,{time:t.time,count:e.insertUsage[r]?e.insertUsage[r].count+1:1,insert:o}))})}),e)}return e},lastBlockAttributesChange:function(e,t){switch(t.type){case"UPDATE_BLOCK":if(!t.updates.attributes)break;return Object(B.a)({},t.clientId,t.updates.attributes);case"UPDATE_BLOCK_ATTRIBUTES":return Object(B.a)({},t.clientId,t.attributes)}return null},isNavigationMode:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return"INSERT_BLOCKS"!==t.type&&("SET_NAVIGATION_MODE"===t.type?t.isNavigationMode:e)},automaticChangeStatus:function(e,t){switch(t.type){case"MARK_AUTOMATIC_CHANGE":return"pending";case"MARK_AUTOMATIC_CHANGE_FINAL":return"pending"===e?"final":void 0;case"SELECTION_CHANGE":return"final"!==e?e:void 0;case"STOP_TYPING":return e}}}),_t=n(72),Ct=n.n(_t),Et=n(216),St=n.n(Et),wt=n(32),It=n(23),Bt=n.n(It);function Tt(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o1&&void 0!==arguments[1]?arguments[1]:null,clientId:e}}function Xt(e){var t;return Bt.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Tt("core/block-editor","getPreviousBlockClientId",e);case 2:if(!(t=n.sent)){n.next=6;break}return n.next=6,Yt(t,-1);case 6:case"end":return n.stop()}}),Lt)}function Zt(e){var t;return Bt.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Tt("core/block-editor","getNextBlockClientId",e);case 2:if(!(t=n.sent)){n.next=6;break}return n.next=6,Yt(t);case 6:case"end":return n.stop()}}),At)}function Jt(){return{type:"START_MULTI_SELECT"}}function Qt(){return{type:"STOP_MULTI_SELECT"}}function en(e,t){return{type:"MULTI_SELECT",start:e,end:t}}function tn(){return{type:"CLEAR_SELECTED_BLOCK"}}function nn(){return{type:"TOGGLE_SELECTION",isSelectionEnabled:!(arguments.length>0&&void 0!==arguments[0])||arguments[0]}}function rn(e,t){var n=Object(p.get)(t,["__experimentalPreferredStyleVariations","value"],{});return e.map((function(e){var t=e.name;if(!n[t])return e;var r=Object(p.get)(e,["attributes","className"]);if(Object(p.includes)(r,"is-style-"))return e;var o=e.attributes,i=void 0===o?{}:o,c=n[t];return Object(s.a)({},e,{attributes:Object(s.a)({},i,{className:"".concat(r||""," is-style-").concat(c).trim()})})}))}function on(e,t,n){var r,o,i;return Bt.a.wrap((function(c){for(;;)switch(c.prev=c.next){case 0:return e=Object(p.castArray)(e),c.t0=rn,c.t1=Object(p.castArray)(t),c.next=5,Tt("core/block-editor","getSettings");case 5:return c.t2=c.sent,t=(0,c.t0)(c.t1,c.t2),c.next=9,Tt("core/block-editor","getBlockRootClientId",Object(p.first)(e));case 9:r=c.sent,o=0;case 11:if(!(o1&&void 0!==a[1]?a[1]:"",n=a.length>2&&void 0!==a[2]?a[2]:"",r=a.length>3?a[3]:void 0,l.next=5,Tt("core/block-editor","getTemplateLock",t);case 5:if("all"!==(o=l.sent)){l.next=8;break}return l.abrupt("return");case 8:if(i={type:"MOVE_BLOCK_TO_POSITION",fromRootClientId:t,toRootClientId:n,clientId:e,index:r},t!==n){l.next=13;break}return l.next=12,i;case 12:return l.abrupt("return");case 13:if("insert"!==o){l.next=15;break}return l.abrupt("return");case 15:return l.next=17,Tt("core/block-editor","getBlockName",e);case 17:return c=l.sent,l.next=20,Tt("core/block-editor","canInsertBlockType",c,n);case 20:if(!l.sent){l.next=24;break}return l.next=24,i;case 24:case"end":return l.stop()}}),Pt)}function dn(e,t,n){return fn([e],t,n,!(arguments.length>3&&void 0!==arguments[3])||arguments[3])}function fn(e,t,n){var r,o,i,c,a,l,s,u,d=arguments;return Bt.a.wrap((function(f){for(;;)switch(f.prev=f.next){case 0:return r=!(d.length>3&&void 0!==d[3])||d[3],f.t0=rn,f.t1=Object(p.castArray)(e),f.next=5,Tt("core/block-editor","getSettings");case 5:f.t2=f.sent,e=(0,f.t0)(f.t1,f.t2),o=[],i=!0,c=!1,a=void 0,f.prev=11,l=e[Symbol.iterator]();case 13:if(i=(s=l.next()).done){f.next=22;break}return u=s.value,f.next=17,Tt("core/block-editor","canInsertBlockType",u.name,n);case 17:f.sent&&o.push(u);case 19:i=!0,f.next=13;break;case 22:f.next=28;break;case 24:f.prev=24,f.t3=f.catch(11),c=!0,a=f.t3;case 28:f.prev=28,f.prev=29,i||null==l.return||l.return();case 31:if(f.prev=31,!c){f.next=34;break}throw a;case 34:return f.finish(31);case 35:return f.finish(28);case 36:if(!o.length){f.next=38;break}return f.abrupt("return",{type:"INSERT_BLOCKS",blocks:o,index:t,rootClientId:n,time:Date.now(),updateSelection:r});case 38:case"end":return f.stop()}}),Mt,null,[[11,24,28,36],[29,,31,35]])}function bn(e,t){return{type:"SHOW_INSERTION_POINT",rootClientId:e,index:t}}function pn(){return{type:"HIDE_INSERTION_POINT"}}function hn(e){return{type:"SET_TEMPLATE_VALIDITY",isValid:e}}function mn(){return{type:"SYNCHRONIZE_TEMPLATE"}}function gn(e,t){return{type:"MERGE_BLOCKS",blocks:[e,t]}}function vn(e){var t,n,r=arguments;return Bt.a.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(t=!(r.length>1&&void 0!==r[1])||r[1],e&&e.length){o.next=3;break}return o.abrupt("return");case 3:return e=Object(p.castArray)(e),o.next=6,Tt("core/block-editor","getBlockRootClientId",e[0]);case 6:return n=o.sent,o.next=9,Tt("core/block-editor","getTemplateLock",n);case 9:if(!o.sent){o.next=12;break}return o.abrupt("return");case 12:if(!t){o.next=15;break}return o.next=15,Xt(e[0]);case 15:return o.next=17,{type:"REMOVE_BLOCKS",clientIds:e};case 17:return o.delegateYield(zt(),"t0",18);case 18:case"end":return o.stop()}}),Dt)}function On(e,t){return vn([e],t)}function kn(e,t){return{type:"REPLACE_INNER_BLOCKS",rootClientId:e,blocks:t,updateSelection:!(arguments.length>2&&void 0!==arguments[2])||arguments[2],time:Date.now()}}function jn(e){return{type:"TOGGLE_BLOCK_MODE",clientId:e}}function yn(){return{type:"START_TYPING"}}function _n(){return{type:"STOP_TYPING"}}function Cn(){return{type:"START_DRAGGING_BLOCKS"}}function En(){return{type:"STOP_DRAGGING_BLOCKS"}}function Sn(){return{type:"ENTER_FORMATTED_TEXT"}}function wn(){return{type:"EXIT_FORMATTED_TEXT"}}function In(e,t,n,r){return{type:"SELECTION_CHANGE",clientId:e,attributeKey:t,startOffset:n,endOffset:r}}function Bn(e,t,n){var r=Object(i.getDefaultBlockName)();if(r)return dn(Object(i.createBlock)(r,e),n,t)}function Tn(e,t){return{type:"UPDATE_BLOCK_LIST_SETTINGS",clientId:e,settings:t}}function xn(e){return{type:"UPDATE_SETTINGS",settings:e}}function Nn(e,t){return{type:"SAVE_REUSABLE_BLOCK_SUCCESS",id:e,updatedId:t}}function Ln(){return{type:"MARK_LAST_CHANGE_AS_PERSISTENT"}}function An(){return{type:"MARK_AUTOMATIC_CHANGE"}}function Rn(){var e,t=arguments;return Bt.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return e=!(t.length>0&&void 0!==t[0])||t[0],n.next=3,{type:"SET_NAVIGATION_MODE",isNavigationMode:e};case 3:e?Object(he.speak)(Object(U.__)("You are currently in navigation mode. Navigate blocks using the Tab key. To exit navigation mode and edit the selected block, press Enter.")):Object(he.speak)(Object(U.__)("You are currently in edit mode. To return to the navigation mode, press Escape."));case 4:case"end":return n.stop()}}),Ft)}function Pn(e){var t,n,r,o,c;return Bt.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(e||e.length){a.next=2;break}return a.abrupt("return");case 2:return a.next=4,Tt("core/block-editor","getBlocksByClientId",e);case 4:return t=a.sent,a.next=7,Tt("core/block-editor","getBlockRootClientId",e[0]);case 7:if(n=a.sent,!Object(p.some)(t,(function(e){return!e}))){a.next=10;break}return a.abrupt("return");case 10:if(r=t.map((function(e){return e.name})),!Object(p.some)(r,(function(e){return!Object(i.hasBlockSupport)(e,"multiple",!0)}))){a.next=13;break}return a.abrupt("return");case 13:return a.next=15,Tt("core/block-editor","getBlockIndex",Object(p.last)(Object(p.castArray)(e)),n);case 15:return o=a.sent,c=t.map((function(e){return Object(i.cloneBlock)(e)})),a.next=19,fn(c,o+1,n);case 19:if(!(c.length>1)){a.next=22;break}return a.next=22,en(Object(p.first)(c).clientId,Object(p.last)(c).clientId);case 22:case"end":return a.stop()}}),Ut)}function Mn(e){var t,n;return Bt.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(e){r.next=2;break}return r.abrupt("return");case 2:return r.next=4,Tt("core/block-editor","getBlockRootClientId",e);case 4:return t=r.sent,r.next=7,Tt("core/block-editor","getTemplateLock",t);case 7:if(!r.sent){r.next=10;break}return r.abrupt("return");case 10:return r.next=12,Tt("core/block-editor","getBlockIndex",e,t);case 12:return n=r.sent,r.next=15,Bn({},t,n);case 15:case"end":return r.stop()}}),Ht)}function Dn(e){var t,n;return Bt.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(e){r.next=2;break}return r.abrupt("return");case 2:return r.next=4,Tt("core/block-editor","getBlockRootClientId",e);case 4:return t=r.sent,r.next=7,Tt("core/block-editor","getTemplateLock",t);case 7:if(!r.sent){r.next=10;break}return r.abrupt("return");case 10:return r.next=12,Tt("core/block-editor","getBlockIndex",e,t);case 12:return n=r.sent,r.next=15,Bn({},t,n+1);case 15:case"end":return r.stop()}}),Vt)}var Fn=n(34),Un=3,Hn=2,Vn=1,zn=0,Kn=Object(d.createElement)(H.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(d.createElement)(H.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(d.createElement)(H.G,null,Object(d.createElement)(H.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"}))),Gn=[];function Wn(e,t){var n=e.blocks.byClientId[t];return n?n.name:null}function qn(e,t){var n=e.blocks.byClientId[t];return!!n&&n.isValid}function $n(e,t){return e.blocks.byClientId[t]?e.blocks.attributes[t]:null}var Yn=Object(Fn.a)((function(e,t){var n=e.blocks.byClientId[t];return n?Object(s.a)({},n,{attributes:$n(e,t),innerBlocks:Zn(e,t)}):null}),(function(e,t){return[e.blocks.cache[t]]})),Xn=Object(Fn.a)((function(e,t){var n=e.blocks.byClientId[t];return n?Object(s.a)({},n,{attributes:$n(e,t)}):null}),(function(e,t){return[e.blocks.byClientId[t],e.blocks.attributes[t]]})),Zn=Object(Fn.a)((function(e,t){return Object(p.map)(Br(e,t),(function(t){return Yn(e,t)}))}),(function(e){return[e.blocks.byClientId,e.blocks.order,e.blocks.attributes]})),Jn=function e(t,n){return Object(p.flatMap)(n,(function(n){var r=Br(t,n);return[].concat(Object(P.a)(r),Object(P.a)(e(t,r)))}))},Qn=Object(Fn.a)((function(e){var t=Br(e);return[].concat(Object(P.a)(t),Object(P.a)(Jn(e,t)))}),(function(e){return[e.blocks.order]})),er=Object(Fn.a)((function(e,t){var n=Qn(e);return t?Object(p.reduce)(n,(function(n,r){return e.blocks.byClientId[r].name===t?n+1:n}),0):n.length}),(function(e){return[e.blocks.order,e.blocks.byClientId]})),tr=Object(Fn.a)((function(e,t){return Object(p.map)(Object(p.castArray)(t),(function(t){return Yn(e,t)}))}),(function(e){return[e.blocks.byClientId,e.blocks.order,e.blocks.attributes]}));function nr(e,t){return Br(e,t).length}function rr(e){return e.selectionStart}function or(e){return e.selectionEnd}function ir(e){return e.selectionStart.clientId}function cr(e){return e.selectionEnd.clientId}function ar(e){var t=kr(e).length;return t||(e.selectionStart.clientId?1:0)}function lr(e){var t=e.selectionStart,n=e.selectionEnd;return!!t.clientId&&t.clientId===n.clientId}function sr(e){var t=e.selectionStart,n=e.selectionEnd,r=t.clientId;return r&&r===n.clientId?r:null}function ur(e){var t=sr(e);return t?Yn(e,t):null}function dr(e,t){return void 0!==e.blocks.parents[t]?e.blocks.parents[t]:null}var fr=Object(Fn.a)((function(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=[],o=t;e.blocks.parents[o];)o=e.blocks.parents[o],r.push(o);return n?r:r.reverse()}),(function(e){return[e.blocks.parents]}));function br(e,t){var n,r=t;do{n=r,r=e.blocks.parents[r]}while(r);return n}function pr(e,t){for(var n,r=sr(e),o=[].concat(Object(P.a)(fr(e,t)),[t]),i=[].concat(Object(P.a)(fr(e,r)),[r]),c=Math.min(o.length,i.length),a=0;a2&&void 0!==arguments[2]?arguments[2]:1;if(void 0===t&&(t=sr(e)),void 0===t&&(t=n<0?yr(e):_r(e)),!t)return null;var r=dr(e,t);if(null===r)return null;var o=e.blocks.order[r],i=o.indexOf(t)+1*n;return i<0?null:i===o.length?null:o[i]}function mr(e,t){return hr(e,t,-1)}function gr(e,t){return hr(e,t,1)}function vr(e){return e.initialPosition}var Or=Object(Fn.a)((function(e){var t=e.selectionStart,n=e.selectionEnd;if(void 0===t.clientId||void 0===n.clientId)return Gn;if(t.clientId===n.clientId)return[t.clientId];var r=dr(e,t.clientId);if(null===r)return Gn;var o=Br(e,r),i=o.indexOf(t.clientId),c=o.indexOf(n.clientId);return i>c?o.slice(c,i+1):o.slice(i,c+1)}),(function(e){return[e.blocks.order,e.selectionStart.clientId,e.selectionEnd.clientId]}));function kr(e){var t=e.selectionStart,n=e.selectionEnd;return t.clientId===n.clientId?Gn:Or(e)}var jr=Object(Fn.a)((function(e){var t=kr(e);return t.length?t.map((function(t){return Yn(e,t)})):Gn}),(function(e){return[].concat(Object(P.a)(Or.getDependants(e)),[e.blocks.byClientId,e.blocks.order,e.blocks.attributes])}));function yr(e){return Object(p.first)(kr(e))||null}function _r(e){return Object(p.last)(kr(e))||null}function Cr(e,t){return yr(e)===t}function Er(e,t){return-1!==kr(e).indexOf(t)}var Sr=Object(Fn.a)((function(e,t){for(var n=t,r=!1;n&&!r;)r=Er(e,n=dr(e,n));return r}),(function(e){return[e.blocks.order,e.selectionStart.clientId,e.selectionEnd.clientId]}));function wr(e){var t=e.selectionStart,n=e.selectionEnd;return t.clientId===n.clientId?null:t.clientId||null}function Ir(e){var t=e.selectionStart,n=e.selectionEnd;return t.clientId===n.clientId?null:n.clientId||null}function Br(e,t){return e.blocks.order[t||""]||Gn}function Tr(e,t,n){return Br(e,n).indexOf(t)}function xr(e,t){var n=e.selectionStart,r=e.selectionEnd;return n.clientId===r.clientId&&n.clientId===t}function Nr(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return Object(p.some)(Br(e,t),(function(t){return xr(e,t)||Er(e,t)||n&&Nr(e,t,n)}))}function Lr(e,t){if(!t)return!1;var n=kr(e),r=n.indexOf(t);return r>-1&&r2&&void 0!==arguments[2]?arguments[2]:null,r=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return Object(p.isBoolean)(e)?e:Object(p.isArray)(e)?!(!Object(p.includes)(e,"core/post-content")||null!==t)||Object(p.includes)(e,t):n},o=Object(i.getBlockType)(t);if(!o)return!1;var c=eo(e),a=c.allowedBlockTypes,l=r(a,t,!0);if(!l)return!1;var s=!!Gr(e,n);if(s)return!1;var u=Qr(e,n),d=Object(p.get)(u,["allowedBlocks"]),f=r(d,t),b=o.parent,h=Wn(e,n),m=r(b,h);return null!==f&&null!==m?f||m:null!==f?f:null===m||m},qr=Object(Fn.a)(Wr,(function(e,t,n){return[e.blockListSettings[n],e.blocks.byClientId[n],e.settings.allowedBlockTypes,e.settings.templateLock]}));function $r(e,t){return Object(p.get)(e.preferences.insertUsage,[t],null)}var Yr=function(e,t,n){return!!Object(i.hasBlockSupport)(t,"inserter",!0)&&Wr(e,t.name,n)},Xr=Object(Fn.a)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=function(e,t,n){return n?Un:t>0?Hn:"common"===e?Vn:zn},r=function(e,t){if(!e)return t;var n=Date.now()-e;switch(!0){case n<36e5:return 4*t;case n<864e5:return 2*t;case n<6048e5:return t/2;default:return t/4}},o=function(t){var o=t.name,c=!1;Object(i.hasBlockSupport)(t.name,"multiple",!0)||(c=Object(p.some)(tr(e,Qn(e)),{name:t.name}));var a=Object(p.isArray)(t.parent),l=$r(e,o)||{},s=l.time,u=l.count,d=void 0===u?0:u;return{id:o,name:t.name,initialAttributes:{},title:t.title,icon:t.icon,category:t.category,keywords:t.keywords,isDisabled:c,utility:n(t.category,d,a),frecency:r(s,d)}},c=function(t){var o,c="core/block/".concat(t.id),a=ro(e,t.id);1===a.length&&(o=Object(i.getBlockType)(a[0].name));var l=$r(e,c)||{},s=l.time,u=l.count,d=void 0===u?0:u,f=n("reusable",d,!1),b=r(s,d);return{id:c,name:"core/block",initialAttributes:{ref:t.id},title:t.title,icon:o?o.icon:Kn,category:"reusable",keywords:[],isDisabled:!1,utility:f,frecency:b}},a=Object(i.getBlockTypes)().filter((function(n){return Yr(e,n,t)})).map(o),l=Wr(e,"core/block",t)?co(e).map(c):[];return Object(p.orderBy)([].concat(Object(P.a)(a),Object(P.a)(l)),["utility","frecency"],["desc","desc"])}),(function(e,t){return[e.blockListSettings[t],e.blocks.byClientId,e.blocks.order,e.preferences.insertUsage,e.settings.allowedBlockTypes,e.settings.templateLock,co(e),Object(i.getBlockTypes)()]})),Zr=Object(Fn.a)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=Object(p.some)(Object(i.getBlockTypes)(),(function(n){return Yr(e,n,t)}));if(n)return!0;var r=Wr(e,"core/block",t)&&co(e).length>0;return r}),(function(e,t){return[e.blockListSettings[t],e.blocks.byClientId,e.settings.allowedBlockTypes,e.settings.templateLock,co(e),Object(i.getBlockTypes)()]})),Jr=Object(Fn.a)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(t)return Object(p.filter)(Object(i.getBlockTypes)(),(function(n){return Yr(e,n,t)}))}),(function(e,t){return[e.blockListSettings[t],e.blocks.byClientId,e.settings.allowedBlockTypes,e.settings.templateLock,Object(i.getBlockTypes)()]}));function Qr(e,t){return e.blockListSettings[t]}function eo(e){return e.settings}function to(e){return e.blocks.isPersistentChange}var no=Object(Fn.a)((function(e,t){return Object(p.filter)(e.blockListSettings,(function(e,n){return t.includes(n)}))}),(function(e){return[e.blockListSettings]})),ro=Object(Fn.a)((function(e,t){var n=Object(p.find)(co(e),(function(e){return e.id===t}));return n?Object(i.parse)(n.content):null}),(function(e){return[co(e)]}));function oo(e){return e.blocks.isIgnoredChange}function io(e){return e.lastBlockAttributesChange}function co(e){return Object(p.get)(e,["settings","__experimentalReusableBlocks"],Gn)}function ao(e){return e.isNavigationMode}function lo(e){return!!e.automaticChangeStatus}var so={MERGE_BLOCKS:function(e,t){var n=t.dispatch,r=t.getState(),o=Object(V.a)(e.blocks,2),a=o[0],l=o[1],u=Yn(r,a),d=Object(i.getBlockType)(u.name);if(d.merge){var f=Yn(r,l),b=Object(i.getBlockType)(f.name),h=rr(r),m=h.clientId,g=h.attributeKey,v=h.offset,O=(m===a?d:b).attributes[g],k=(m===a||m===l)&&void 0!==g&&void 0!==v&&!!O;O||("number"==typeof g?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 ".concat(Object(wt.a)(g))):window.console.error("The RichText identifier prop does not match any attributes defined by the block."));var j=Object(i.cloneBlock)(u),y=Object(i.cloneBlock)(f);if(k){var _=m===a?j:y,C=_.attributes[g],E=O.multiline,S=O.__unstableMultilineWrapperTags,w=O.__unstablePreserveWhiteSpace,I=Object(c.insert)(Object(c.create)({html:C,multilineTag:E,multilineWrapperTags:S,preserveWhiteSpace:w}),"†",v,v);_.attributes[g]=Object(c.toHTMLString)({value:I,multilineTag:E,preserveWhiteSpace:w})}var B=u.name===f.name?[y]:Object(i.switchToBlockType)(y,u.name);if(B&&B.length){var T=d.merge(j.attributes,B[0].attributes);if(k){var x=Object(p.findKey)(T,(function(e){return"string"==typeof e&&-1!==e.indexOf("†")})),N=T[x],L=d.attributes[x],A=L.multiline,R=L.__unstableMultilineWrapperTags,M=L.__unstablePreserveWhiteSpace,D=Object(c.create)({html:N,multilineTag:A,multilineWrapperTags:R,preserveWhiteSpace:M}),F=D.text.indexOf("†"),U=Object(c.remove)(D,F,F+1),H=Object(c.toHTMLString)({value:U,multilineTag:A,preserveWhiteSpace:M});T[x]=H,n(In(u.clientId,x,F,F))}n(on([u.clientId,f.clientId],[Object(s.a)({},u,{attributes:Object(s.a)({},u.attributes,T)})].concat(Object(P.a)(B.slice(1)))))}}else n(Yt(u.clientId))},RESET_BLOCKS:[function(e,t){var n=t.getState(),r=Kr(n),o=Gr(n),c=!r||"all"!==o||Object(i.doBlocksMatchTemplate)(e.blocks,r);if(c!==zr(n))return hn(c)}],MULTI_SELECT:function(e,t){var n=ar((0,t.getState)());Object(he.speak)(Object(U.sprintf)(Object(U._n)("%s block selected.","%s blocks selected.",n),n),"assertive")},SYNCHRONIZE_TEMPLATE:function(e,t){var n=(0,t.getState)(),r=Zn(n),o=Kr(n);return Kt(Object(i.synchronizeBlocksWithTemplate)(r,o))},MARK_AUTOMATIC_CHANGE:function(e,t){var n=window,r=n.setTimeout,o=n.requestIdleCallback;(void 0===o?function(e){return r(e,100)}:o)((function(){t.dispatch({type:"MARK_AUTOMATIC_CHANGE_FINAL"})}))}};var uo=function(e){var t,n=[Ct()(so),St.a],r=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},o={getState:e.getState,dispatch:function(){return r.apply(void 0,arguments)}};return t=n.map((function(e){return e(o)})),r=p.flowRight.apply(void 0,Object(P.a)(t))(e.dispatch),e.dispatch=r,e},fo={reducer:yt,selectors:o,actions:r,controls:xt},bo=Object(g.registerStore)("core/block-editor",Object(s.a)({},fo,{persist:["preferences"]}));uo(bo);var po=Object(h.createHigherOrderComponent)((function(e){return Object(g.withRegistry)((function(t){var n=t.useSubRegistry,r=void 0===n||n,o=t.registry,i=Object(M.a)(t,["useSubRegistry","registry"]);if(!r)return Object(d.createElement)(e,Object(u.a)({registry:o},i));var c=Object(d.useState)(null),a=Object(V.a)(c,2),l=a[0],s=a[1];return Object(d.useEffect)((function(){var e=Object(g.createRegistry)({},o),t=e.registerStore("core/block-editor",fo);uo(t),s(e)}),[o]),l?Object(d.createElement)(g.RegistryProvider,{value:l},Object(d.createElement)(e,Object(u.a)({registry:l},i))):null}))}),"withRegistryProvider"),ho=function(e){function t(){return Object(_.a)(this,t),Object(E.a)(this,Object(S.a)(t).apply(this,arguments))}return Object(I.a)(t,e),Object(C.a)(t,[{key:"componentDidMount",value:function(){this.props.updateSettings(this.props.settings),this.props.resetBlocks(this.props.value),this.attachChangeObserver(this.props.registry),this.isSyncingOutcomingValue=[]}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.settings,r=t.updateSettings,o=t.value,i=t.resetBlocks,c=t.selectionStart,a=t.selectionEnd,l=t.resetSelection,s=t.registry;n!==e.settings&&r(n),s!==e.registry&&this.attachChangeObserver(s),this.isSyncingOutcomingValue.includes(o)?Object(p.last)(this.isSyncingOutcomingValue)===o&&(this.isSyncingOutcomingValue=[]):o!==e.value&&(this.isSyncingOutcomingValue=[],this.isSyncingIncomingValue=o,i(o),c&&a&&l(c,a))}},{key:"componentWillUnmount",value:function(){this.unsubscribe&&this.unsubscribe()}},{key:"attachChangeObserver",value:function(e){var t=this;this.unsubscribe&&this.unsubscribe();var n=e.select("core/block-editor"),r=n.getBlocks,o=n.getSelectionStart,i=n.getSelectionEnd,c=n.isLastBlockChangePersistent,a=n.__unstableIsLastBlockChangeIgnored,l=r(),s=c();this.unsubscribe=e.subscribe((function(){var e=t.props,n=e.onChange,u=void 0===n?p.noop:n,d=e.onInput,f=void 0===d?p.noop:d,b=r(),h=c();if(b!==l&&(t.isSyncingIncomingValue||a()))return t.isSyncingIncomingValue=null,l=b,void(s=h);if(b!==l||h&&!s){b!==l&&t.isSyncingOutcomingValue.push(b),l=b,s=h;var m=o(),g=i();s?u(l,{selectionStart:m,selectionEnd:g}):f(l,{selectionStart:m,selectionEnd:g})}}))}},{key:"render",value:function(){return this.props.children}}]),t}(d.Component),mo=Object(h.compose)([po,Object(g.withDispatch)((function(e){var t=e("core/block-editor");return{updateSettings:t.updateSettings,resetBlocks:t.resetBlocks,resetSelection:t.resetSelection}}))])(ho),go=n(65),vo=n(27);var Oo=function(e){var t=e.className,n=e.actions,r=e.children,o=e.secondaryActions;return Object(d.createElement)("div",{className:b()(t,"block-editor-warning")},Object(d.createElement)("div",{className:"block-editor-warning__contents"},Object(d.createElement)("p",{className:"block-editor-warning__message"},r),d.Children.count(n)>0&&Object(d.createElement)("div",{className:"block-editor-warning__actions"},d.Children.map(n,(function(e,t){return Object(d.createElement)("span",{key:t,className:"block-editor-warning__action"},e)})))),o&&Object(d.createElement)(H.Dropdown,{className:"block-editor-warning__secondary",position:"bottom left",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(d.createElement)(H.Button,{icon:"ellipsis",label:Object(U.__)("More options"),onClick:n,"aria-expanded":t})},renderContent:function(){return Object(d.createElement)(H.MenuGroup,null,o.map((function(e,t){return Object(d.createElement)(H.MenuItem,{onClick:e.onClick,key:t},e.title)})))}}))},ko=n(217),jo=function(e){var t=e.title,n=e.rawContent,r=e.renderedContent,o=e.action,i=e.actionText,c=e.className;return Object(d.createElement)("div",{className:c},Object(d.createElement)("div",{className:"block-editor-block-compare__content"},Object(d.createElement)("h2",{className:"block-editor-block-compare__heading"},t),Object(d.createElement)("div",{className:"block-editor-block-compare__html"},n),Object(d.createElement)("div",{className:"block-editor-block-compare__preview edit-post-visual-editor"},r)),Object(d.createElement)("div",{className:"block-editor-block-compare__action"},Object(d.createElement)(H.Button,{isSecondary:!0,tabIndex:"0",onClick:o},i)))},yo=function(e){function t(){return Object(_.a)(this,t),Object(E.a)(this,Object(S.a)(t).apply(this,arguments))}return Object(I.a)(t,e),Object(C.a)(t,[{key:"getDifference",value:function(e,t){return Object(ko.diffChars)(e,t).map((function(e,t){var n=b()({"block-editor-block-compare__added":e.added,"block-editor-block-compare__removed":e.removed});return Object(d.createElement)("span",{key:t,className:n},e.value)}))}},{key:"getOriginalContent",value:function(e){return{rawContent:e.originalContent,renderedContent:Object(i.getSaveElement)(e.name,e.attributes)}}},{key:"getConvertedContent",value:function(e){var t=Object(p.castArray)(e),n=t.map((function(e){return Object(i.getSaveContent)(e.name,e.attributes,e.innerBlocks)})),r=t.map((function(e){return Object(i.getSaveElement)(e.name,e.attributes,e.innerBlocks)}));return{rawContent:n.join(""),renderedContent:r}}},{key:"render",value:function(){var e=this.props,t=e.block,n=e.onKeep,r=e.onConvert,o=e.convertor,i=e.convertButtonText,c=this.getOriginalContent(t),a=this.getConvertedContent(o(t)),l=this.getDifference(c.rawContent,a.rawContent);return Object(d.createElement)("div",{className:"block-editor-block-compare__wrapper"},Object(d.createElement)(jo,{title:Object(U.__)("Current"),className:"block-editor-block-compare__current",action:n,actionText:Object(U.__)("Convert to HTML"),rawContent:c.rawContent,renderedContent:c.renderedContent}),Object(d.createElement)(jo,{title:Object(U.__)("After Conversion"),className:"block-editor-block-compare__converted",action:r,actionText:i,rawContent:l,renderedContent:a.renderedContent}))}}]),t}(d.Component),_o=function(e){function t(e){var n;return Object(_.a)(this,t),(n=Object(E.a)(this,Object(S.a)(t).call(this,e))).state={compare:!1},n.onCompare=n.onCompare.bind(Object(w.a)(n)),n.onCompareClose=n.onCompareClose.bind(Object(w.a)(n)),n}return Object(I.a)(t,e),Object(C.a)(t,[{key:"onCompare",value:function(){this.setState({compare:!0})}},{key:"onCompareClose",value:function(){this.setState({compare:!1})}},{key:"render",value:function(){var e=this.props,t=e.convertToHTML,n=e.convertToBlocks,r=e.convertToClassic,o=e.attemptBlockRecovery,c=e.block,a=!!Object(i.getBlockType)("core/html"),l=this.state.compare,s=[{title:Object(U.__)("Convert to Classic Block"),onClick:r},{title:Object(U.__)("Attempt Block Recovery"),onClick:o}];return Object(d.createElement)(d.Fragment,null,Object(d.createElement)(Oo,{actions:[Object(d.createElement)(H.Button,{key:"convert",onClick:this.onCompare,isSecondary:a,isPrimary:!a},Object(U._x)("Resolve","imperative verb")),a&&Object(d.createElement)(H.Button,{key:"edit",onClick:t,isPrimary:!0},Object(U.__)("Convert to HTML"))],secondaryActions:s},Object(U.__)("This block contains unexpected or invalid content.")),l&&Object(d.createElement)(H.Modal,{title:Object(U.__)("Resolve Block"),onRequestClose:this.onCompareClose,className:"block-editor-block-compare"},Object(d.createElement)(yo,{block:c,onKeep:t,onConvert:n,convertor:Co,convertButtonText:Object(U.__)("Convert to Blocks")})))}}]),t}(d.Component),Co=function(e){return Object(i.rawHandler)({HTML:e.originalContent})},Eo=Object(h.compose)([Object(g.withSelect)((function(e,t){var n=t.clientId;return{block:e("core/block-editor").getBlock(n)}})),Object(g.withDispatch)((function(e,t){var n=t.block,r=e("core/block-editor").replaceBlock;return{convertToClassic:function(){r(n.clientId,function(e){return Object(i.createBlock)("core/freeform",{content:e.originalContent})}(n))},convertToHTML:function(){r(n.clientId,function(e){return Object(i.createBlock)("core/html",{content:e.originalContent})}(n))},convertToBlocks:function(){r(n.clientId,Co(n))},attemptBlockRecovery:function(){var e,t,o,c;r(n.clientId,(t=(e=n).name,o=e.attributes,c=e.innerBlocks,Object(i.createBlock)(t,o,c)))}}}))])(_o),So=Object(d.createElement)(Oo,{className:"block-editor-block-list__block-crash-warning"},Object(U.__)("This block has encountered an error and cannot be previewed.")),wo=function(){return So},Io=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(E.a)(this,Object(S.a)(t).apply(this,arguments))).state={hasError:!1},e}return Object(I.a)(t,e),Object(C.a)(t,[{key:"componentDidCatch",value:function(e){this.props.onError(e),this.setState({hasError:!0})}},{key:"render",value:function(){return this.state.hasError?null:this.props.children}}]),t}(d.Component),Bo=n(62),To=n.n(Bo);var xo=function(e){var t=e.clientId,n=Object(d.useState)(""),r=Object(V.a)(n,2),o=r[0],c=r[1],a=Object(g.useSelect)((function(e){return{block:e("core/block-editor").getBlock(t)}}),[t]).block,l=Object(g.useDispatch)("core/block-editor").updateBlock;return Object(d.useEffect)((function(){c(Object(i.getBlockContent)(a))}),[a]),Object(d.createElement)(To.a,{className:"block-editor-block-list__block-html-textarea",value:o,onBlur:function(){var e=Object(i.getBlockType)(a.name),n=Object(i.getBlockAttributes)(e,o,a.attributes),r=o||Object(i.getSaveContent)(e,n),s=!o||Object(i.isValidBlockContent)(e,n,r);l(t,{attributes:n,originalContent:r,isValid:s}),o||c({content:r})},onChange:function(e){return c(e.target.value)}})},No=Object(d.forwardRef)((function(e,t){var n=e.clientId,r=Object(M.a)(e,["clientId"]),o=Object(g.useDispatch)("core/block-editor").setNavigationMode;return Object(d.createElement)("div",Object(u.a)({className:"block-editor-block-list__breadcrumb"},r),Object(d.createElement)(H.Toolbar,null,Object(d.createElement)(H.Button,{ref:t,onClick:function(){return o(!1)}},Object(d.createElement)(ze,{clientId:n}))))}));var Lo=function(e){var t=e.children,n=e.focusOnMount,r=Object(M.a)(e,["children","focusOnMount"]),o=Object(d.useRef)(),i=Object(d.useCallback)((function(){var e=vo.focus.tabbable.find(o.current);e.length&&e[0].focus()}),[]);return Object(l.useShortcut)("core/block-editor/focus-toolbar",i,{bindGlobal:!0,eventName:"keydown"}),Object(d.useEffect)((function(){n&&i()}),[]),Object(d.createElement)(H.NavigableMenu,Object(u.a)({orientation:"horizontal",role:"toolbar",ref:o},r),t)};var Ao=function(e){var t=e.focusOnMount,n=e.hasMovers,r=e.moverDirection,o=Object(M.a)(e,["focusOnMount","hasMovers","moverDirection"]);return Object(d.createElement)(Lo,Object(u.a)({focusOnMount:t,className:"block-editor-block-contextual-toolbar","aria-label":Object(U.__)("Block tools")},o),Object(d.createElement)(qa,{moverDirection:r,hasMovers:n}))};function Ro(e){var t=e.rootClientId,n=e.clientId,r=Object(d.useState)(!1),o=Object(V.a)(r,2),i=o[0],c=o[1],a=Object(g.useSelect)((function(e){var r=e("core/block-editor"),o=r.getBlockIndex,i=r.getBlockInsertionPoint,c=r.isBlockInsertionPointVisible,a=o(n,t),l=i();return c()&&l.index===a&&l.rootClientId===t}),[n,t]);return Object(d.createElement)("div",{className:"block-editor-block-list__insertion-point"},a&&Object(d.createElement)("div",{className:"block-editor-block-list__insertion-point-indicator"}),Object(d.createElement)("div",{onFocus:function(e){e.stopPropagation(),c(!0)},onBlur:function(){c(!1)},tabIndex:-1,className:b()("block-editor-block-list__insertion-point-inserter",{"is-visible":i})},Object(d.createElement)(Bi,{rootClientId:t,clientId:n})))}var Po=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(E.a)(this,Object(S.a)(t).apply(this,arguments))).proxyEvent=e.proxyEvent.bind(Object(w.a)(e)),e.eventMap={},e}return Object(I.a)(t,e),Object(C.a)(t,[{key:"proxyEvent",value:function(e){if(!e.nativeEvent._blockHandled){e.nativeEvent._blockHandled=!0;var t=this.eventMap[e.type];this.props[t]&&this.props[t](e)}}},{key:"render",value:function(){var e=this,t=this.props,n=t.childHandledEvents,r=void 0===n?[]:n,o=t.forwardedRef,i=t.tagName,c=void 0===i?"div":i,a=Object(M.a)(t,["childHandledEvents","forwardedRef","tagName"]),l=Object(p.reduce)([].concat(Object(P.a)(r),Object(P.a)(Object.keys(a))),(function(t,n){var r=n.match(/^on([A-Z][a-zA-Z]+)$/);return r&&(t[n]=e.proxyEvent,e.eventMap[r[1].toLowerCase()]=n),t}),{});return Object(d.createElement)(c,Object(s.a)({ref:o},a,l))}}]),t}(d.Component),Mo=function(e,t){return Object(d.createElement)(Po,Object(u.a)({},e,{forwardedRef:t}))};Mo.displayName="IgnoreNestedEvents";var Do=Object(d.forwardRef)(Mo);function Fo(e){return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:document).querySelector('[data-block="'+e+'"]')}function Uo(e){return Fo(e).closest(".block-editor-block-list__block")}function Ho(e,t){var n=e.querySelector(".block-editor-block-list__layout");return e.contains(t)&&(!n||!n.contains(t))}var Vo=function(e){return e+1},zo=function(e){return{top:e.offsetTop,left:e.offsetLeft}};var Ko=function(e,t,n,r,o){var i=Object(h.useReducedMotion)()||!r,c=Object(d.useReducer)(Vo,0),a=Object(V.a)(c,2),l=a[0],s=a[1],u=Object(d.useReducer)(Vo,0),f=Object(V.a)(u,2),b=f[0],p=f[1],m=Object(d.useState)({x:0,y:0,scrollTop:0}),g=Object(V.a)(m,2),v=g[0],O=g[1],k=e.current?zo(e.current):null,j=Object(d.useMemo)((function(){return!!n&&Object(vo.getScrollContainer)(e.current)}),[n]);Object(d.useLayoutEffect)((function(){l&&p()}),[l]),Object(d.useLayoutEffect)((function(){if(i){if(n&&j){e.current.style.transform="none";var t=zo(e.current);j.scrollTop=j.scrollTop-k.top+t.top}}else{e.current.style.transform="none";var r=zo(e.current),o={x:k?k.left-r.left:0,y:k?k.top-r.top:0,scrollTop:k&&j?j.scrollTop-k.top+r.top:0};e.current.style.transform=0===o.x&&0===o.y?void 0:"translate3d(".concat(o.x,"px,").concat(o.y,"px,0)"),s(),O(o)}}),[o]);var y=Object(go.useSpring)({from:{x:v.x,y:v.y},to:{x:0,y:0},reset:l!==b,config:{mass:5,tension:2e3,friction:200},immediate:i,onFrame:function(e){n&&j&&!i&&e.y&&(j.scrollTop=v.scrollTop+e.y)}});return i?{}:{transformOrigin:"center",transform:Object(go.interpolate)([y.x,y.y],(function(e,t){return 0===e&&0===t?void 0:"translate3d(".concat(e,"px,").concat(t,"px,0)")})),zIndex:Object(go.interpolate)([y.x,y.y],(function(e,n){return!t||0===e&&0===n?void 0:"1"}))}},Go=Object(H.createSlotFill)("ChildToolbar"),Wo=Go.Fill,qo=Go.Slot,$o=function(e){var t=e.children;return Object(d.createElement)(Wo,null,t)},Yo=function(){return Object(d.createElement)(qo,{bubblesVirtually:!0})},Xo=function(e){e.preventDefault()};var Zo=Object(g.withSelect)((function(e,t){var n=t.clientId,r=t.rootClientId,o=t.isLargeViewport,c=e("core/block-editor"),a=c.isBlockSelected,l=c.isAncestorMultiSelected,s=c.isBlockMultiSelected,u=c.isFirstMultiSelectedBlock,d=c.isTyping,f=c.isCaretWithinFormattedText,b=c.getBlockMode,h=c.isSelectionEnabled,m=c.getSelectedBlocksInitialCaretPosition,g=c.getSettings,v=c.hasSelectedInnerBlock,O=c.getTemplateLock,k=c.getBlockIndex,j=c.getBlockOrder,y=c.__unstableGetBlockWithoutInnerBlocks,_=c.isNavigationMode,C=c.getBlockListSettings,E=c.__experimentalGetBlockListSettingsForBlocks,S=c.getBlockParents,w=y(n),I=a(n),B=g(),T=B.hasFixedToolbar,x=B.focusMode,N=B.isRTL,L=O(r),A=v(n,!0),R=k(n,r),P=j(r),M=S(n),D=C(n),F=E(M),U=-1!==Object(p.findIndex)(F,["__experimentalCaptureToolbars",!0]),H=A&&D&&D.__experimentalCaptureToolbars&&!U,V=w||{},z=V.name,K=V.attributes,G=V.isValid;return{isMultiSelected:s(n),isPartOfMultiSelection:s(n)||l(n),isFirstMultiSelected:u(n),isTypingWithinBlock:(I||A)&&d(),isCaretWithinFormattedText:f(),mode:b(n),isSelectionEnabled:h(),initialPosition:I?m():null,isEmptyDefaultBlock:z&&Object(i.isUnmodifiedDefaultBlock)({name:z,attributes:K}),isLocked:!!L,isFocusMode:x&&o,hasFixedToolbar:T&&o,isLast:R===P.length-1,isNavigationMode:_(),isRTL:N,block:w,name:z,attributes:K,isValid:G,isSelected:I,isAncestorOfSelectedBlock:A,isCapturingDescendantToolbars:H,hasAncestorCapturingToolbars:U}})),Jo=Object(g.withDispatch)((function(e,t,n){var r=n.select,o=e("core/block-editor"),c=o.updateBlockAttributes,a=o.selectBlock,l=o.multiSelect,s=o.insertBlocks,u=o.insertDefaultBlock,d=o.removeBlock,f=o.mergeBlocks,b=o.replaceBlocks,p=o.toggleSelection,h=o.setNavigationMode,m=o.__unstableMarkLastChangeAsPersistent;return{setAttributes:function(e){var n=t.clientId;c(n,e)},onSelect:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t.clientId,n=arguments.length>1?arguments[1]:void 0;a(e,n)},onInsertBlocks:function(e,n){var r=t.rootClientId;s(e,n,r)},onInsertDefaultBlockAfter:function(){var e=t.clientId,n=t.rootClientId,o=(0,r("core/block-editor").getBlockIndex)(e,n);u({},n,o+1)},onInsertBlocksAfter:function(e){var n=t.clientId,o=t.rootClientId,i=(0,r("core/block-editor").getBlockIndex)(n,o);s(e,i+1,o)},onRemove:function(e){d(e)},onMerge:function(e){var n=t.clientId,o=r("core/block-editor"),i=o.getPreviousBlockClientId,c=o.getNextBlockClientId;if(e){var a=c(n);a&&f(n,a)}else{var l=i(n);l&&f(l,n)}},onReplace:function(e,n){e.length&&!Object(i.isUnmodifiedDefaultBlock)(e[e.length-1])&&m(),b([t.clientId],e,n)},onShiftSelection:function(){if(t.isSelectionEnabled){var e=r("core/block-editor").getBlockSelectionStart;e()?l(e(),t.clientId):a(t.clientId)}},toggleSelection:function(e){p(e)},setNavigationMode:h}})),Qo=Object(h.compose)(h.pure,Object(a.withViewportMatch)({isLargeViewport:"medium"}),Zo,Jo,Object(h.ifCondition)((function(e){return!!e.block})),Object(H.withFilters)("editor.BlockListBlock"))((function(e){var t=e.mode,n=e.isFocusMode,r=e.hasFixedToolbar,o=e.moverDirection,c=e.isLocked,a=e.clientId,f=e.rootClientId,h=e.isSelected,m=e.isMultiSelected,v=e.isPartOfMultiSelection,O=e.isFirstMultiSelected,k=e.isTypingWithinBlock,j=e.isCaretWithinFormattedText,y=e.isEmptyDefaultBlock,_=e.isAncestorOfSelectedBlock,C=e.isCapturingDescendantToolbars,E=e.hasAncestorCapturingToolbars,S=e.isSelectionEnabled,w=e.className,I=e.name,B=e.isValid,T=e.isLast,x=e.attributes,N=e.initialPosition,L=e.wrapperProps,A=e.setAttributes,R=e.onReplace,P=e.onInsertBlocksAfter,M=e.onMerge,D=e.onSelect,F=e.onRemove,z=e.onInsertDefaultBlockAfter,K=e.toggleSelection,G=e.onShiftSelection,W=e.onSelectionStart,q=e.animateOnChange,$=e.enableAnimation,Y=e.isNavigationMode,Z=e.setNavigationMode,J=e.isMultiSelecting,Q=e.isLargeViewport,ee=e.hasSelectedUI,te=void 0===ee||ee,ne=e.hasMovers,re=void 0===ne||ne,oe=Object(g.useSelect)((function(e){return{isDraggingBlocks:e("core/block-editor").isDraggingBlocks()}}),[]).isDraggingBlocks,ie=Object(d.useState)({}),ce=Object(V.a)(ie,2)[1],ae=Object(d.useRef)(null),le=Object(d.useRef)(),se=Object(d.useRef)(),ue=Object(d.useState)(!1),de=Object(V.a)(ue,2),fe=de[0],be=de[1],pe=Object(d.useRef)(!1);Object(d.useEffect)((function(){pe.current&&(pe.current=!1)}));var he=function(e){var t=window.getSelection();if(t.rangeCount&&!t.isCollapsed){var n=t.getRangeAt(0),r=n.startContainer,o=n.endContainer;le.current.contains(r)&&le.current.contains(o)||t.removeAllRanges()}if(!ae.current.contains(document.activeElement))if(Y)se.current.focus();else{var i=vo.focus.tabbable.find(le.current).filter(vo.isTextField).filter((function(t){return!e||Ho(le.current,t)})),c=-1===N,a=(c?p.last:p.first)(i);a?Object(vo.placeCaretAtHorizontalEdge)(a,c):ae.current.focus()}},me=Object(d.useRef)(!0);Object(d.useEffect)((function(){h&&!J&&he(!me.current),me.current=!1}),[h,J]),Object(d.useEffect)((function(){O&&ae.current.focus()}),[O]);var ge=Ko(ae,h||v,h||O,$,q);Object(d.useLayoutEffect)((function(){h&&(Y?se.current.focus():he(!0))}),[h,Y]);var ve=!Y&&!Ee&&h&&!r&&!y;Object(l.useShortcut)("core/block-editor/focus-toolbar",Object(d.useCallback)((function(){pe.current=!0,ce({})}),[]),{bindGlobal:!0,eventName:"keydown",isDisabled:!ve});var Oe=Object(i.getBlockType)(I),ke=Object(U.sprintf)(Object(U.__)("Block: %s"),Oe.title),je=I===Object(i.getUnregisteredTypeHandlerName)(),ye=!Y&&(h||T)&&y&&B,_e=!n&&!ye&&h&&!k,Ce=Y&&h,Ee=!Y&&!r&&Q&&!ye&&!J&&(h&&(!k||j)||O),Se=!J&&(v&&O||!v),we=Se,Ie=oe&&(h||v),Be=b()("wp-block block-editor-block-list__block",{"has-selected-ui":te,"has-warning":!B||!!fe||je,"is-selected":_e&&te,"is-navigate-mode":Y,"is-multi-selected":m,"is-reusable":Object(i.isReusableBlock)(Oe),"is-dragging":Ie,"is-typing":k,"is-focused":n&&(h||_),"is-focus-mode":n,"has-child-selected":_,"has-toolbar-captured":E},w);Oe.getEditWrapperProps&&(L=Object(s.a)({},L,Oe.getEditWrapperProps(x)));var Te="block-".concat(a),xe=Object(d.createElement)(X,{name:I,isSelected:h,attributes:x,setAttributes:A,insertBlocksAfter:c?void 0:P,onReplace:c?void 0:R,mergeBlocks:c?void 0:M,clientId:a,isSelectionEnabled:S,toggleSelection:K});"visual"!==t&&(xe=Object(d.createElement)("div",{style:{display:"none"}},xe));var Ne=function(){return Object(d.createElement)(Ao,{focusOnMount:pe.current,"data-type":I,"data-align":L?L["data-align"]:void 0,moverDirection:o,hasMovers:re})};return Object(d.createElement)(Do,Object(u.a)({id:Te,ref:ae,className:Be,"data-type":I,onFocus:function(){h||v||D()},onKeyDown:function(e){var t=e.keyCode,n=e.target,r=h&&!c&&(n===ae.current||n===se.current),o=!Y;switch(t){case ct.ENTER:r&&o&&(z(),e.preventDefault());break;case ct.BACKSPACE:case ct.DELETE:r&&(F(a),e.preventDefault());break;case ct.ESCAPE:h&&o&&(Z(!0),ae.current.focus())}},tabIndex:"0","aria-label":ke,role:"group",childHandledEvents:["onDragStart","onMouseDown"],tagName:go.animated.div},L,{style:L&&L.style?Object(s.a)({},L.style,ge):ge}),Se&&Object(d.createElement)(Ro,{clientId:a,rootClientId:f}),we&&Object(d.createElement)(rt,{clientId:a,rootClientId:f}),Object(d.createElement)("div",{className:"block-editor-block-list__block-edit"},C&&Object(d.createElement)(Yo,null),(Ce||Ee||pe.current)&&Object(d.createElement)(H.Popover,{noArrow:!0,animate:!1,position:"top right left",focusOnMount:!1,anchorRef:le.current,className:"block-editor-block-list__block-popover",__unstableSticky:!v||".wp-block.is-multi-selected",__unstableSlotName:"block-toolbar",__unstableAllowVerticalSubpixelPosition:"horizontal"!==o&&ae.current,__unstableAllowHorizontalSubpixelPosition:"horizontal"===o&&ae.current},!E&&(Ee||pe.current)&&Ne(),E&&(Ee||pe.current)&&Object(d.createElement)($o,null,Ne()),Ce&&Object(d.createElement)(No,{clientId:a,ref:se,"data-align":L?L["data-align"]:void 0})),Object(d.createElement)(Do,{ref:le,onDragStart:Xo,onMouseDown:function(e){0===e.button&&(Y&&h&&Ho(le.current,e.target)&&Z(!1),e.shiftKey?h||(G(),e.preventDefault()):v&&D())},onMouseLeave:function(e){var t=e.which,n=e.buttons;h&&1===(n||t)&&W(a)},"data-block":a},Object(d.createElement)(Io,{onError:function(){return be(!0)}},B&&xe,B&&"html"===t&&Object(d.createElement)(xo,{clientId:a}),!B&&[Object(d.createElement)(Eo,{key:"invalid-warning",clientId:a}),Object(d.createElement)("div",{key:"invalid-preview"},Object(i.getSaveElement)(Oe,x))]),!!fe&&Object(d.createElement)(wo,null))),ye&&Object(d.createElement)("div",{className:"block-editor-block-list__empty-block-inserter"},Object(d.createElement)(Bi,{position:"top right",onToggle:function(e){e&&!h&&D()},rootClientId:f,clientId:a})))})),ei=n(54);var ti=Object(h.compose)(Object(g.withSelect)((function(e,t){var n=e("core/block-editor"),r=n.getBlockCount,o=n.getBlockName,c=n.isBlockValid,a=n.getSettings,l=n.getTemplateLock,s=!r(t.rootClientId),u=o(t.lastBlockClientId)===Object(i.getDefaultBlockName)(),d=c(t.lastBlockClientId),f=a().bodyPlaceholder;return{isVisible:s||!u||!d,showPrompt:s,isLocked:!!l(t.rootClientId),placeholder:f}})),Object(g.withDispatch)((function(e,t){var n=e("core/block-editor"),r=n.insertDefaultBlock,o=n.startTyping;return{onAppend:function(){var e=t.rootClientId;r(void 0,e),o()}}})))((function(e){var t=e.isLocked,n=e.isVisible,r=e.onAppend,o=e.showPrompt,i=e.placeholder,c=e.rootClientId;if(t||!n)return null;var a=Object(ei.decodeEntities)(i)||Object(U.__)("Start writing or type / to choose a block");return Object(d.createElement)("div",{"data-root-client-id":c||"",className:"wp-block block-editor-default-block-appender"},Object(d.createElement)(rt,{rootClientId:c}),Object(d.createElement)(To.a,{role:"button","aria-label":Object(U.__)("Add block"),className:"block-editor-default-block-appender__content",readOnly:!0,onFocus:r,value:o?a:""}),Object(d.createElement)(Bi,{rootClientId:c,position:"top right",isAppender:!0}))}));var ni=Object(g.withSelect)((function(e,t){var n=t.rootClientId,r=e("core/block-editor"),o=r.getBlockOrder,c=r.canInsertBlockType;return{isLocked:!!(0,r.getTemplateLock)(n),blockClientIds:o(n),canInsertDefaultBlock:c(Object(i.getDefaultBlockName)(),n)}}))((function(e){var t,n=e.blockClientIds,r=e.rootClientId,o=e.canInsertDefaultBlock,i=e.isLocked,c=e.renderAppender;return i||!1===c?null:(t=c?Object(d.createElement)(c,null):o?Object(d.createElement)(ti,{rootClientId:r,lastBlockClientId:Object(p.last)(n)}):Object(d.createElement)(Ti,{rootClientId:r,className:"block-list-appender__toggle"}),Object(d.createElement)(Do,{childHandledEvents:["onFocus","onClick","onKeyDown"]},Object(d.createElement)("div",{tabIndex:-1,className:"block-list-appender"},t)))})),ri=Object(H.createSlotFill)("__experimentalBlockListFooter"),oi=ri.Fill,ii=ri.Slot;oi.Slot=ii;var ci=oi;function ai(e,t){for(var n="start"===t?"firstChild":"lastChild",r="start"===t?"nextSibling":"previousSibling";e[n];)for(e=e[n];e.nodeType===e.TEXT_NODE&&/^[ \t\n]*$/.test(e.data)&&e[r];)e=e[r];return e}var li=200;var si,ui=(si=function(e){var t=e.className,n=e.rootClientId,r=e.__experimentalMoverDirection,o=void 0===r?"vertical":r,i=e.isDraggable,c=e.renderAppender,a=e.__experimentalUIParts,l=void 0===a?{}:a,u=Object(g.useSelect)((function(e){var t=e("core/block-editor"),r=t.getBlockOrder,o=t.isMultiSelecting,i=t.getSelectedBlockClientId,c=t.getMultiSelectedBlockClientIds,a=t.hasMultiSelection,l=t.getGlobalBlockCount,s=t.isTyping;return{blockClientIds:r(n),isMultiSelecting:o(),selectedBlockClientId:i(),multiSelectedBlockClientIds:c(),hasMultiSelection:a(),enableAnimation:!s()&&l()<=li}}),[n]),f=u.blockClientIds,p=u.isMultiSelecting,h=u.selectedBlockClientId,m=u.multiSelectedBlockClientIds,v=u.hasMultiSelection,O=u.enableAnimation,k=Object(d.useRef)(),j=function(e){var t=e.ref,n=e.rootClientId,r=Object(g.useSelect)((function(e){var t=e("core/block-editor"),r=t.getBlockOrder,o=t.isSelectionEnabled,i=t.isMultiSelecting,c=t.getMultiSelectedBlockClientIds,a=t.hasMultiSelection,l=t.getBlockParents;return{blockClientIds:r(n),isSelectionEnabled:o(),isMultiSelecting:i(),multiSelectedBlockClientIds:c(),hasMultiSelection:a(),getBlockParents:l}}),[n]),o=r.blockClientIds,i=r.isSelectionEnabled,c=r.isMultiSelecting,a=r.multiSelectedBlockClientIds,l=r.hasMultiSelection,s=r.getBlockParents,u=Object(g.useDispatch)("core/block-editor"),f=u.startMultiSelect,b=u.stopMultiSelect,p=u.multiSelect,h=u.selectBlock,m=Object(d.useRef)(),v=Object(d.useRef)();Object(d.useEffect)((function(){if(l&&!c){var e=a.length,n=a[0],r=a[e-1];if(-1!==o.indexOf(n)){var i=t.current.querySelector('[data-block="'.concat(n,'"]')),s=t.current.querySelector('[data-block="'.concat(r,'"]')),u=window.getSelection(),d=document.createRange();i=ai(i,"start"),s=ai(s,"end"),d.setStartBefore(i),d.setEndAfter(s),u.removeAllRanges(),u.addRange(d)}}}),[l,c,a,o,h]);var O=Object(d.useCallback)((function(){var e=window.getSelection();if(e.rangeCount&&!e.isCollapsed){var t,n=e.focusNode;do{n=n.parentElement}while(n&&!(t=n.getAttribute("data-block")));if(v.current===t)h(t);else{var r=[].concat(Object(P.a)(s(v.current)),[v.current]),o=[].concat(Object(P.a)(s(t)),[t]),i=Math.min(r.length,o.length)-1;p(r[i],o[i])}}}),[h,s,p]),k=Object(d.useCallback)((function(){document.removeEventListener("selectionchange",O),window.removeEventListener("mouseup",k),m.current=window.requestAnimationFrame((function(){O(),b()}))}),[O,b]);return Object(d.useEffect)((function(){return function(){document.removeEventListener("selectionchange",O),window.removeEventListener("mouseup",k),window.cancelAnimationFrame(m.current)}}),[O,k]),Object(d.useCallback)((function(e){i&&(v.current=e,f(),document.addEventListener("selectionchange",O),window.addEventListener("mouseup",k),Array.from(t.current.querySelectorAll(".rich-text")).forEach((function(e){return e.removeAttribute("contenteditable")})))}),[i,f,k])}({ref:k,rootClientId:n}),y=Object(s.a)({hasMovers:!0,hasSelectedUI:!0},l);return Object(d.createElement)("div",{ref:k,className:b()("block-editor-block-list__layout",t)},f.map((function(e,t){var r=v?m.includes(e):h===e;return Object(d.createElement)(g.AsyncModeProvider,{key:e,value:!r},Object(d.createElement)(Qo,{rootClientId:n,clientId:e,onSelectionStart:j,isDraggable:i,moverDirection:o,isMultiSelecting:p,animateOnChange:t,enableAnimation:O,hasSelectedUI:y.hasSelectedUI,hasMovers:y.hasMovers}))})),Object(d.createElement)(ni,{rootClientId:n,renderAppender:c}),Object(d.createElement)(ci.Slot,null))},function(e){return Object(d.createElement)(g.AsyncModeProvider,{value:!1},Object(d.createElement)(si,e))});function di(e){var t=e.blocks,n=e.viewportWidth,r=e.padding,o=void 0===r?0:r,i=Object(d.useRef)(null),c=Object(d.useState)(!1),a=Object(V.a)(c,2),l=a[0],s=a[1],u=Object(d.useState)(1),f=Object(V.a)(u,2),p=f[0],h=f[1],m=Object(d.useState)({x:0,y:0}),g=Object(V.a)(m,2),v=g[0],O=v.x,k=v.y,j=g[1];if(Object(d.useLayoutEffect)((function(){var e=setTimeout((function(){var e=i.current;if(e){if(1===t.length){var r=function(e,t){var n=Fo(e,t);if(n)return n.firstChild||n}(t[0].clientId,e);if(!r)return;var c=e.getBoundingClientRect();c={width:c.width-2*o,height:c.height-2*o,left:c.left,top:c.top};var a=r.getBoundingClientRect(),l=c.width/a.width||1,u=-(a.left-c.left)*l+o,d=c.height>a.height*l?(c.height-a.height*l)/2+o:0;h(l),j({x:u,y:d}),r.style.marginTop="0"}else{var f=e.getBoundingClientRect();h(f.width/n)}s(!0)}}),100);return function(){e&&window.clearTimeout(e)}}),[]),!t||0===t.length)return null;var y={transform:"scale(".concat(p,")"),visibility:l?"visible":"hidden",left:O,top:k,width:n};return Object(d.createElement)("div",{ref:i,className:b()("block-editor-block-preview__container editor-styles-wrapper",{"is-ready":l}),"aria-hidden":!0},Object(d.createElement)(H.Disabled,{style:y,className:"block-editor-block-preview__content"},Object(d.createElement)(ui,null)))}var fi=Object(g.withSelect)((function(e){return{settings:e("core/block-editor").getSettings()}}))((function(e){var t=e.blocks,n=e.viewportWidth,r=void 0===n?700:n,o=e.padding,i=e.settings,c=Object(d.useMemo)((function(){return Object(p.castArray)(t)}),[t]),a=Object(d.useReducer)((function(e){return e+1}),0),l=Object(V.a)(a,2),s=l[0],u=l[1];return Object(d.useLayoutEffect)(u,[t]),Object(d.createElement)(mo,{value:c,settings:i},Object(d.createElement)(di,{key:s,blocks:c,viewportWidth:r,padding:o}))}));var bi=function(e){var t=e.icon,n=e.onClick,r=e.isDisabled,o=e.title,i=e.className,c=Object(M.a)(e,["icon","onClick","isDisabled","title","className"]),a=t?{backgroundColor:t.background,color:t.foreground}:{};return Object(d.createElement)("li",{className:"block-editor-block-types-list__list-item"},Object(d.createElement)(H.Button,Object(u.a)({className:b()("block-editor-block-types-list__item",i),onClick:function(e){e.preventDefault(),n()},disabled:r},c),Object(d.createElement)("span",{className:"block-editor-block-types-list__item-icon",style:a},Object(d.createElement)(tt,{icon:t,showColors:!0})),Object(d.createElement)("span",{className:"block-editor-block-types-list__item-title"},o)))};var pi=function(e){var t=e.items,n=e.onSelect,r=e.onHover,o=void 0===r?function(){}:r,c=e.children;return(Object(d.createElement)("ul",{role:"list",className:"block-editor-block-types-list"},t&&t.map((function(e){return Object(d.createElement)(bi,{key:e.id,className:Object(i.getBlockMenuDefaultClassName)(e.id),icon:e.icon,onClick:function(){n(e),o(null)},onFocus:function(){return o(e)},onMouseEnter:function(){return o(e)},onMouseLeave:function(){return o(null)},onBlur:function(){return o(null)},isDisabled:e.isDisabled,title:e.title})})),c))};var hi=function(e){var t=e.blockType;return Object(d.createElement)("div",{className:"block-editor-block-card"},Object(d.createElement)(tt,{icon:t.icon,showColors:!0}),Object(d.createElement)("div",{className:"block-editor-block-card__content"},Object(d.createElement)("div",{className:"block-editor-block-card__title"},t.title),Object(d.createElement)("div",{className:"block-editor-block-card__description"},t.description)))};var mi=Object(h.compose)(Object(h.ifCondition)((function(e){var t=e.items;return t&&t.length>0})),Object(g.withSelect)((function(e,t){var n=t.rootClientId,r=(0,e("core/blocks").getBlockType)((0,e("core/block-editor").getBlockName)(n));return{rootBlockTitle:r&&r.title,rootBlockIcon:r&&r.icon}})))((function(e){var t=e.rootBlockIcon,n=e.rootBlockTitle,r=e.items,o=Object(M.a)(e,["rootBlockIcon","rootBlockTitle","items"]);return Object(d.createElement)("div",{className:"block-editor-inserter__child-blocks"},(t||n)&&Object(d.createElement)("div",{className:"block-editor-inserter__parent-block-header"},Object(d.createElement)(tt,{icon:t,showColors:!0}),n&&Object(d.createElement)("h2",null,n)),Object(d.createElement)(pi,Object(u.a)({items:r},o)))})),gi=Object(H.createSlotFill)("__experimentalInserterMenuExtension"),vi=gi.Fill,Oi=gi.Slot;vi.Slot=Oi;var ki=vi,ji=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e=(e=(e=Object(p.deburr)(e)).replace(/^\//,"")).toLowerCase(),Object(p.words)(e)},yi=function(e,t){return Object(p.differenceWith)(e,ji(t),(function(e,t){return t.includes(e)}))},_i=function(e,t,n){var r=ji(n);return 0===r.length?e:e.filter((function(e){var n=e.title,o=e.category,i=e.keywords,c=void 0===i?[]:i,a=yi(r,n);return 0===a.length||(0===(a=yi(a,c.join(" "))).length||0===(a=yi(a,Object(p.get)(Object(p.find)(t,{slug:o}),["title"]))).length)}))},Ci=function(e){return e.stopPropagation()},Ei=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(E.a)(this,Object(S.a)(t).apply(this,arguments))).state={childItems:[],filterValue:"",hoveredItem:null,suggestedItems:[],reusableItems:[],itemsPerCategory:{},openPanels:["suggested"]},e.onChangeSearchInput=e.onChangeSearchInput.bind(Object(w.a)(e)),e.onHover=e.onHover.bind(Object(w.a)(e)),e.panels={},e.inserterResults=Object(d.createRef)(),e}return Object(I.a)(t,e),Object(C.a)(t,[{key:"componentDidMount",value:function(){this.props.fetchReusableBlocks&&this.props.fetchReusableBlocks(),this.filter()}},{key:"componentDidUpdate",value:function(e){e.items!==this.props.items&&this.filter(this.state.filterValue)}},{key:"onChangeSearchInput",value:function(e){this.filter(e.target.value)}},{key:"onHover",value:function(e){this.setState({hoveredItem:e});var t=this.props,n=t.showInsertionPoint,r=t.hideInsertionPoint;e?n():r()}},{key:"bindPanel",value:function(e){var t=this;return function(n){t.panels[e]=n}}},{key:"onTogglePanel",value:function(e){var t=this;return function(){-1!==t.state.openPanels.indexOf(e)?t.setState({openPanels:Object(p.without)(t.state.openPanels,e)}):(t.setState({openPanels:[].concat(Object(P.a)(t.state.openPanels),[e])}),t.props.setTimeout((function(){it()(t.panels[e],t.inserterResults.current,{alignWithTop:!0})})))}}},{key:"filterOpenPanels",value:function(e,t,n,r){if(e===this.state.filterValue)return this.state.openPanels;if(!e)return["suggested"];var o=[];return r.length>0&&o.push("reusable"),n.length>0&&(o=o.concat(Object.keys(t))),o}},{key:"filter",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=this.props,n=t.categories,r=t.debouncedSpeak,o=t.items,i=t.rootChildBlocks,c=_i(o,n,e),a=Object(p.filter)(c,(function(e){var t=e.name;return Object(p.includes)(i,t)})),l=[];if(!e){var s=this.props.maxSuggestedItems||9;l=Object(p.filter)(o,(function(e){return e.utility>0})).slice(0,s)}var u=Object(p.filter)(c,{category:"reusable"}),d=function(e){return Object(p.findIndex)(n,(function(t){return t.slug===e.category}))},f=Object(p.flow)((function(e){return Object(p.filter)(e,(function(e){return"reusable"!==e.category}))}),(function(e){return Object(p.sortBy)(e,d)}),(function(e){return Object(p.groupBy)(e,"category")}))(c);this.setState({hoveredItem:null,childItems:a,filterValue:e,suggestedItems:l,reusableItems:u,itemsPerCategory:f,openPanels:this.filterOpenPanels(e,f,c,u)});var b=Object.keys(f).reduce((function(e,t){return e+f[t].length}),0),h=Object(U.sprintf)(Object(U._n)("%d result found.","%d results found.",b),b);r(h)}},{key:"onKeyDown",value:function(e){Object(p.includes)([ct.LEFT,ct.DOWN,ct.RIGHT,ct.UP,ct.BACKSPACE,ct.ENTER],e.keyCode)&&e.stopPropagation()}},{key:"render",value:function(){var e=this,t=this.props,n=t.categories,r=t.instanceId,o=t.onSelect,c=t.rootClientId,a=t.showInserterHelpPanel,l=this.state,s=l.childItems,u=l.hoveredItem,f=l.itemsPerCategory,h=l.openPanels,m=l.reusableItems,g=l.suggestedItems,v=l.filterValue,O=function(e){return-1!==h.indexOf(e)},k=!Object(p.isEmpty)(g)||!Object(p.isEmpty)(m)||!Object(p.isEmpty)(f),j=u?Object(i.getBlockType)(u.name):null,y=k&&a;return Object(d.createElement)("div",{className:b()("block-editor-inserter__menu",{"has-help-panel":y}),onKeyPress:Ci,onKeyDown:this.onKeyDown},Object(d.createElement)("div",{className:"block-editor-inserter__main-area"},Object(d.createElement)("label",{htmlFor:"block-editor-inserter__search-".concat(r),className:"screen-reader-text"},Object(U.__)("Search for a block")),Object(d.createElement)("input",{id:"block-editor-inserter__search-".concat(r),type:"search",placeholder:Object(U.__)("Search for a block"),className:"block-editor-inserter__search",autoFocus:!0,onChange:this.onChangeSearchInput}),Object(d.createElement)("div",{className:"block-editor-inserter__results",ref:this.inserterResults,tabIndex:"0",role:"region","aria-label":Object(U.__)("Available block types")},Object(d.createElement)(mi,{rootClientId:c,items:s,onSelect:o,onHover:this.onHover}),!!g.length&&Object(d.createElement)(H.PanelBody,{title:Object(U._x)("Most used","blocks"),opened:O("suggested"),onToggle:this.onTogglePanel("suggested"),ref:this.bindPanel("suggested")},Object(d.createElement)(pi,{items:g,onSelect:o,onHover:this.onHover})),Object(p.map)(n,(function(t){var n=f[t.slug];return n&&n.length?Object(d.createElement)(H.PanelBody,{key:t.slug,title:t.title,icon:t.icon,opened:O(t.slug),onToggle:e.onTogglePanel(t.slug),ref:e.bindPanel(t.slug)},Object(d.createElement)(pi,{items:n,onSelect:o,onHover:e.onHover})):null})),!!m.length&&Object(d.createElement)(H.PanelBody,{className:"block-editor-inserter__reusable-blocks-panel",title:Object(U.__)("Reusable"),opened:O("reusable"),onToggle:this.onTogglePanel("reusable"),icon:"controls-repeat",ref:this.bindPanel("reusable")},Object(d.createElement)(pi,{items:m,onSelect:o,onHover:this.onHover}),Object(d.createElement)("a",{className:"block-editor-inserter__manage-reusable-blocks",href:Object(at.addQueryArgs)("edit.php",{post_type:"wp_block"})},Object(U.__)("Manage all reusable blocks"))),Object(d.createElement)(ki.Slot,{fillProps:{onSelect:o,onHover:this.onHover,filterValue:v,hasItems:k}},(function(e){return e.length?e:k?null:Object(d.createElement)("p",{className:"block-editor-inserter__no-results"},Object(U.__)("No blocks found."))})))),y&&Object(d.createElement)("div",{className:"block-editor-inserter__menu-help-panel"},u&&Object(d.createElement)(d.Fragment,null,!Object(i.isReusableBlock)(u)&&Object(d.createElement)(hi,{blockType:j}),Object(d.createElement)("div",{className:"block-editor-inserter__preview"},Object(i.isReusableBlock)(u)||j.example?Object(d.createElement)("div",{className:"block-editor-inserter__preview-content"},Object(d.createElement)(fi,{padding:10,viewportWidth:500,blocks:j.example?Object(i.getBlockFromExample)(u.name,j.example):Object(i.createBlock)(u.name,u.initialAttributes)})):Object(d.createElement)("div",{className:"block-editor-inserter__preview-content-missing"},Object(U.__)("No Preview Available.")))),!u&&Object(d.createElement)("div",{className:"block-editor-inserter__menu-help-panel-no-block"},Object(d.createElement)("div",{className:"block-editor-inserter__menu-help-panel-no-block-text"},Object(d.createElement)("div",{className:"block-editor-inserter__menu-help-panel-title"},Object(U.__)("Content blocks")),Object(d.createElement)("p",null,Object(U.__)("Welcome to the wonderful world of blocks! Blocks are the basis of all content within the editor.")),Object(d.createElement)("p",null,Object(U.__)("There are blocks available for all kinds of content: insert text, headings, images, lists, videos, tables, and lots more.")),Object(d.createElement)("p",null,Object(U.__)("Browse through the library to learn more about what each block does."))),Object(d.createElement)(H.Tip,null,Object(d.__experimentalCreateInterpolateElement)(Object(U.__)("While writing, you can press / to quickly insert new blocks."),{kbd:Object(d.createElement)("kbd",null)})))))}}]),t}(d.Component),Si=Object(h.compose)(Object(g.withSelect)((function(e,t){var n=t.clientId,r=t.isAppender,o=t.rootClientId,i=t.showInserterHelpPanel,c=e("core/block-editor"),a=c.getInserterItems,l=c.getBlockName,s=c.getBlockRootClientId,u=c.getBlockSelectionEnd,d=c.getSettings,f=e("core/blocks"),b=f.getCategories,p=f.getChildBlockNames,h=o;if(!h&&!n&&!r){var m=u();m&&(h=s(m)||void 0)}var g=l(h),v=d(),O=v.showInserterHelpPanel,k=v.__experimentalFetchReusableBlocks;return{categories:b(),rootChildBlocks:p(g),items:a(h),showInserterHelpPanel:i&&O,destinationRootClientId:h,fetchReusableBlocks:k}})),Object(g.withDispatch)((function(e,t,n){var r=n.select,o=e("core/block-editor"),c=o.showInsertionPoint;function a(){var e=r("core/block-editor"),n=e.getBlockIndex,o=e.getBlockSelectionEnd,i=e.getBlockOrder,c=t.clientId,a=t.destinationRootClientId,l=t.isAppender;if(c)return n(c,a);var s=o();return!l&&s?n(s,a)+1:i(a).length}return{showInsertionPoint:function(){var e=a();c(t.destinationRootClientId,e)},hideInsertionPoint:o.hideInsertionPoint,onSelect:function(n){var o=e("core/block-editor"),c=o.replaceBlocks,l=o.insertBlock,s=r("core/block-editor").getSelectedBlock,u=t.isAppender,d=t.onSelect,f=t.__experimentalSelectBlockOnInsert,b=n.name,p=n.title,h=n.initialAttributes,m=s(),g=Object(i.createBlock)(b,h);if(!u&&m&&Object(i.isUnmodifiedDefaultBlock)(m))c(m.clientId,g);else if(l(g,a(),t.destinationRootClientId,f),!f){var v=Object(U.sprintf)(Object(U.__)("%s block added"),p);Object(he.speak)(v)}return d(),g}}})),H.withSpokenMessages,h.withInstanceId,h.withSafeTimeout)(Ei),wi=function(e){var t,n=e.onToggle,r=e.disabled,o=e.isOpen,i=e.blockTitle,c=e.hasSingleBlockType;return t=c?Object(U.sprintf)(Object(U._x)("Add %s","directly add the only allowed block"),i):Object(U._x)("Add block","Generic label for block inserter button"),Object(d.createElement)(H.Button,{icon:"insert",label:t,tooltipPosition:"bottom",onClick:n,className:"block-editor-inserter__toggle","aria-haspopup":!c&&"true","aria-expanded":!c&&o,disabled:r})},Ii=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(E.a)(this,Object(S.a)(t).apply(this,arguments))).onToggle=e.onToggle.bind(Object(w.a)(e)),e.renderToggle=e.renderToggle.bind(Object(w.a)(e)),e.renderContent=e.renderContent.bind(Object(w.a)(e)),e}return Object(I.a)(t,e),Object(C.a)(t,[{key:"onToggle",value:function(e){var t=this.props.onToggle;t&&t(e)}},{key:"renderToggle",value:function(e){var t=e.onToggle,n=e.isOpen,r=this.props,o=r.disabled,i=r.blockTitle,c=r.hasSingleBlockType,a=r.renderToggle,l=void 0===a?wi:a;return l({onToggle:t,isOpen:n,disabled:o,blockTitle:i,hasSingleBlockType:c})}},{key:"renderContent",value:function(e){var t=e.onClose,n=this.props,r=n.rootClientId,o=n.clientId,i=n.isAppender,c=n.showInserterHelpPanel,a=n.__experimentalSelectBlockOnInsert;return Object(d.createElement)(Si,{onSelect:t,rootClientId:r,clientId:o,isAppender:i,showInserterHelpPanel:c,__experimentalSelectBlockOnInsert:a})}},{key:"render",value:function(){var e=this.props,t=e.position,n=e.hasSingleBlockType,r=e.insertOnlyAllowedBlock;return n?this.renderToggle({onToggle:r}):Object(d.createElement)(H.Dropdown,{className:"block-editor-inserter",contentClassName:"block-editor-inserter__popover",position:t,onToggle:this.onToggle,expandOnMobile:!0,headerTitle:Object(U.__)("Add a block"),renderToggle:this.renderToggle,renderContent:this.renderContent})}}]),t}(d.Component),Bi=Object(h.compose)([Object(g.withSelect)((function(e,t){var n=t.rootClientId,r=e("core/block-editor"),o=r.hasInserterItems,i=(0,r.__experimentalGetAllowedBlocks)(n),c=i&&1===Object(p.get)(i,["length"],0),a=!1;return c&&(a=i[0]),{hasItems:o(n),hasSingleBlockType:c,blockTitle:a?a.title:"",allowedBlockType:a}})),Object(g.withDispatch)((function(e,t,n){var r=n.select;return{insertOnlyAllowedBlock:function(){var n=t.rootClientId,o=t.clientId,c=t.isAppender,a=t.hasSingleBlockType,l=t.allowedBlockType,s=t.__experimentalSelectBlockOnInsert;if(a&&((0,e("core/block-editor").insertBlock)(Object(i.createBlock)(l.name),function(){var e=r("core/block-editor"),t=e.getBlockIndex,i=e.getBlockSelectionEnd,a=e.getBlockOrder;if(o)return t(o,n);var l=i();return!c&&l?t(l,n)+1:a(n).length}(),n,s),!s)){var u=Object(U.sprintf)(Object(U.__)("%s block added"),l.title);Object(he.speak)(u)}}}})),Object(h.ifCondition)((function(e){return e.hasItems}))])(Ii);var Ti=function(e){var t=e.rootClientId,n=e.className,r=e.__experimentalSelectBlockOnInsert;return Object(d.createElement)(d.Fragment,null,Object(d.createElement)(rt,{rootClientId:t}),Object(d.createElement)(Bi,{rootClientId:t,__experimentalSelectBlockOnInsert:r,renderToggle:function(e){var t,r=e.onToggle,o=e.disabled,i=e.isOpen,c=e.blockTitle,a=e.hasSingleBlockType;t=a?Object(U.sprintf)(Object(U._x)("Add %s","directly add the only allowed block"),c):Object(U._x)("Add block","Generic label for block inserter button");var l=!a;return Object(d.createElement)(H.Tooltip,{text:t},Object(d.createElement)(H.Button,{className:b()(n,"block-editor-button-block-appender"),onClick:r,"aria-haspopup":l?"true":void 0,"aria-expanded":l?i:void 0,disabled:o,label:t},Object(d.createElement)("span",{className:"screen-reader-text"},t),Object(d.createElement)(H.Icon,{icon:"insert"})))},isAppender:!0}))};function xi(e){var t=e.blocks,n=e.selectedBlockClientId,r=e.selectBlock,o=e.showAppender,a=e.showNestedBlocks,l=e.parentBlockClientId,s=o&&!!l;return Object(d.createElement)("ul",{className:"block-editor-block-navigation__list",role:"list"},Object(p.map)(Object(p.omitBy)(t,p.isNil),(function(e){var t=Object(i.getBlockType)(e.name),l=e.clientId===n;return Object(d.createElement)("li",{key:e.clientId},Object(d.createElement)("div",{className:"block-editor-block-navigation__item"},Object(d.createElement)(H.Button,{className:b()("block-editor-block-navigation__item-button",{"is-selected":l}),onClick:function(){return r(e.clientId)}},Object(d.createElement)(tt,{icon:t.icon,showColors:!0}),function(e,t){var n=e.__experimentalDisplayName;if(!n||!t[n])return e.title;var r=Object(c.create)({html:t[n]});return Object(c.getTextContent)(r)}(t,e.attributes),l&&Object(d.createElement)("span",{className:"screen-reader-text"},Object(U.__)("(selected block)")))),a&&!!e.innerBlocks&&!!e.innerBlocks.length&&Object(d.createElement)(xi,{blocks:e.innerBlocks,selectedBlockClientId:n,selectBlock:r,parentBlockClientId:e.clientId,showAppender:o,showNestedBlocks:!0}))})),s&&Object(d.createElement)("li",null,Object(d.createElement)("div",{className:"block-editor-block-navigation__item"},Object(d.createElement)(Ti,{rootClientId:l,__experimentalSelectBlockOnInsert:!1}))))}var Ni=Object(h.compose)(Object(g.withSelect)((function(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,r=t.getBlockHierarchyRootClientId,o=t.getBlock,i=t.getBlocks,c=n();return{rootBlocks:i(),rootBlock:c?o(r(c)):null,selectedBlockClientId:c}})),Object(g.withDispatch)((function(e,t){var n=t.onSelect,r=void 0===n?p.noop:n;return{selectBlock:function(t){e("core/block-editor").selectBlock(t),r(t)}}})))((function(e){var t=e.rootBlock,n=e.rootBlocks,r=e.selectedBlockClientId,o=e.selectBlock;if(!n||0===n.length)return null;var i=t&&(t.clientId!==r||t.innerBlocks&&0!==t.innerBlocks.length);return Object(d.createElement)(H.NavigableMenu,{role:"presentation",className:"block-editor-block-navigation__container"},Object(d.createElement)("p",{className:"block-editor-block-navigation__label"},Object(U.__)("Block navigation")),i&&Object(d.createElement)(xi,{blocks:[t],selectedBlockClientId:r,selectBlock:o,showNestedBlocks:!0}),!i&&Object(d.createElement)(xi,{blocks:n,selectedBlockClientId:r,selectBlock:o}))})),Li=Object(d.createElement)(H.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"20",height:"20"},Object(d.createElement)(H.Path,{d:"M5 5H3v2h2V5zm3 8h11v-2H8v2zm9-8H6v2h11V5zM7 11H5v2h2v-2zm0 8h2v-2H7v2zm3-2v2h11v-2H10z"}));function Ai(e){var t=e.isEnabled,n=e.onToggle,r=e.isOpen;Object(l.useShortcut)("core/edit-post/toggle-block-navigation",Object(d.useCallback)(n,[n]),{bindGlobal:!0,isDisabled:!t});var o=Object(g.useSelect)((function(e){return e("core/keyboard-shortcuts").getShortcutRepresentation("core/edit-post/toggle-block-navigation")}),[]);return Object(d.createElement)(H.Button,{icon:Li,"aria-expanded":r,onClick:t?n:void 0,label:Object(U.__)("Block navigation"),className:"block-editor-block-navigation",shortcut:o,"aria-disabled":!t})}var Ri=function(e){var t=e.isDisabled,n=Object(g.useSelect)((function(e){return!!e("core/block-editor").getBlockCount()}),[])&&!t;return Object(d.createElement)(H.Dropdown,{contentClassName:"block-editor-block-navigation__popover",renderToggle:function(e){return Object(d.createElement)(Ai,Object(u.a)({},e,{isEnabled:n}))},renderContent:function(e){var t=e.onClose;return Object(d.createElement)(Ni,{onSelect:t})}})};var Pi=function(e){var t=e.icon,n=void 0===t?"layout":t,r=e.label,o=void 0===r?Object(U.__)("Choose pattern"):r,i=e.instructions,c=void 0===i?Object(U.__)("Select a pattern to start with."):i,a=e.patterns,l=e.onSelect,s=e.allowSkip,u=b()("block-editor-block-pattern-picker",{"has-many-patterns":a.length>4});return Object(d.createElement)(H.Placeholder,{icon:n,label:o,instructions:c,className:u},Object(d.createElement)("ul",{className:"block-editor-block-pattern-picker__patterns",role:"list"},a.map((function(e){return Object(d.createElement)("li",{key:e.name},Object(d.createElement)(H.Button,{isSecondary:!0,icon:e.icon,iconSize:48,onClick:function(){return l(e)},className:"block-editor-block-pattern-picker__pattern",label:e.label}))}))),s&&Object(d.createElement)("div",{className:"block-editor-block-pattern-picker__skip"},Object(d.createElement)(H.Button,{isLink:!0,onClick:function(){return l()}},Object(U.__)("Skip"))))},Mi=Object(d.createElement)(H.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},Object(d.createElement)(H.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(d.createElement)(H.Path,{d:"M16 13h-3V3h-2v10H8l4 4 4-4zM4 19v2h16v-2H4z"})),Di=Object(d.createElement)(H.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},Object(d.createElement)(H.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(d.createElement)(H.Path,{d:"M8 19h3v4h2v-4h3l-4-4-4 4zm8-14h-3V1h-2v4H8l4 4 4-4zM4 11v2h16v-2H4z"})),Fi={top:{icon:Object(d.createElement)(H.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},Object(d.createElement)(H.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(d.createElement)(H.Path,{d:"M8 11h3v10h2V11h3l-4-4-4 4zM4 3v2h16V3H4z"})),title:Object(U._x)("Vertically Align Top","Block vertical alignment setting")},center:{icon:Di,title:Object(U._x)("Vertically Align Middle","Block vertical alignment setting")},bottom:{icon:Mi,title:Object(U._x)("Vertically Align Bottom","Block vertical alignment setting")}},Ui=["top","center","bottom"],Hi="top";var Vi=function(e){var t=e.value,n=e.onChange,r=e.controls,o=void 0===r?Ui:r,i=e.isCollapsed,c=void 0===i||i,a=Fi[t],l=Fi[Hi];return Object(d.createElement)(H.Toolbar,{isCollapsed:c,icon:a?a.icon:l.icon,label:Object(U._x)("Change vertical alignment","Block vertical alignment setting label"),controls:o.map((function(e){return Object(s.a)({},Fi[e],{isActive:t===e,role:c?"menuitemradio":void 0,onClick:(r=e,function(){return n(t===r?void 0:r)})});var r}))})},zi=Object(h.createHigherOrderComponent)(Object(g.withSelect)((function(e,t){var n=e("core/block-editor").getSettings(),r=void 0===t.colors?n.colors:t.colors,o=void 0===t.disableCustomColors?n.disableCustomColors:t.disableCustomColors;return{colors:r,disableCustomColors:o,hasColorsToChoose:!Object(p.isEmpty)(r)||!o}})),"withColorContext"),Ki=zi(H.ColorPalette);function Gi(e){var t=e.onChange,n=e.value,r=Object(M.a)(e,["onChange","value"]);return Object(d.createElement)(ce,Object(u.a)({},r,{onColorChange:t,colorValue:n,gradients:[],disableCustomGradients:!0}))}function Wi(e){var t=Object(g.useSelect)((function(e){return Object(p.pick)(e("core/block-editor").getSettings(),["gradients","disableCustomGradients"])}),[]),n=t.gradients,r=t.disableCustomGradients;return Object(d.createElement)(H.__experimentalGradientPicker,Object(u.a)({gradients:void 0!==e.gradients?e.gradient:n,disableCustomGradients:void 0!==e.disableCustomGradients?e.disableCustomGradients:r},e))}var qi=function(e){var t=void 0!==e.gradients&&void 0!==e.disableCustomGradients?H.__experimentalGradientPicker:Wi;return Object(d.createElement)(t,e)},$i=function(e){var t=e.className,n=e.value,r=e.onChange,o=e.label,i=void 0===o?Object(U.__)("Gradient Presets"):o,c=Object(M.a)(e,["className","value","onChange","label"]),a=Object(g.useSelect)((function(e){return Object(p.pick)(e("core/block-editor").getSettings(),["gradients","disableCustomGradients"])}),[]),l=a.gradients,s=void 0===l?[]:l,f=a.disableCustomGradients;return Object(p.isEmpty)(s)&&f?null:Object(d.createElement)(H.BaseControl,{className:b()("block-editor-gradient-picker-control",t)},Object(d.createElement)(H.BaseControl.VisualLabel,null,i),Object(d.createElement)(qi,Object(u.a)({value:n,onChange:r,className:"block-editor-gradient-picker-control__gradient-picker-presets",gradients:s,disableCustomGradients:f},c)))};function Yi(e){var t=Object(g.useSelect)((function(e){return e("core/block-editor").getSettings().gradients}),[]);return Object(p.isEmpty)(t)?null:Object(d.createElement)(H.PanelBody,{title:Object(U.__)("Gradient")},Object(d.createElement)($i,e))}var Xi=n(46),Zi=n.n(Xi),Ji=Object(h.createHigherOrderComponent)((function(e){return $((function(e){return Object(p.pick)(e,["clientId"])}))(e)}),"withClientId"),Qi=Ji((function(e){var t=e.clientId,n=e.showSeparator;return Object(d.createElement)(Ti,{rootClientId:t,showSeparator:n})})),ec=Object(h.compose)([Ji,Object(g.withSelect)((function(e,t){var n=t.clientId,r=(0,e("core/block-editor").getBlockOrder)(n);return{lastBlockClientId:Object(p.last)(r)}}))])((function(e){var t=e.clientId,n=e.lastBlockClientId;return Object(d.createElement)(ti,{rootClientId:t,lastBlockClientId:n})})),tc=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(E.a)(this,Object(S.a)(t).apply(this,arguments))).state={templateInProcess:!!e.props.template},e.updateNestedSettings(),e}return Object(I.a)(t,e),Object(C.a)(t,[{key:"componentDidMount",value:function(){var e=this.props,t=e.templateLock;0!==e.block.innerBlocks.length&&"all"!==t||this.synchronizeBlocksWithTemplate(),this.state.templateInProcess&&this.setState({templateInProcess:!1})}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.template,r=t.block,o=t.templateLock,i=r.innerBlocks;(this.updateNestedSettings(),0===i.length||"all"===o)&&(!Object(p.isEqual)(n,e.template)&&this.synchronizeBlocksWithTemplate())}},{key:"synchronizeBlocksWithTemplate",value:function(){var e=this.props,t=e.template,n=e.block,r=e.replaceInnerBlocks,o=n.innerBlocks,c=Object(i.synchronizeBlocksWithTemplate)(o,t);Object(p.isEqual)(c,o)||r(c)}},{key:"updateNestedSettings",value:function(){var e=this.props,t=e.blockListSettings,n=e.allowedBlocks,r=e.updateNestedSettings,o=e.templateLock,i=e.parentLock,c={allowedBlocks:n,templateLock:void 0===o?i:o,__experimentalCaptureToolbars:e.__experimentalCaptureToolbars||!1};Zi()(t,c)||r(c)}},{key:"render",value:function(){var e=this.props,t=e.enableClickThrough,n=e.clientId,r=e.hasOverlay,o=e.__experimentalCaptureToolbars,i=Object(M.a)(e,["enableClickThrough","clientId","hasOverlay","__experimentalCaptureToolbars"]),c=this.state.templateInProcess,a=b()("block-editor-inner-blocks",{"has-overlay":t&&r,"is-capturing-toolbar":o});return Object(d.createElement)("div",{className:a},!c&&Object(d.createElement)(ui,Object(u.a)({rootClientId:n},i)))}}]),t}(d.Component);(tc=Object(h.compose)([Object(a.withViewportMatch)({isSmallScreen:"< medium"}),$((function(e){return Object(p.pick)(e,["clientId"])})),Object(g.withSelect)((function(e,t){var n=e("core/block-editor"),r=n.isBlockSelected,o=n.hasSelectedInnerBlock,i=n.getBlock,c=n.getBlockListSettings,a=n.getBlockRootClientId,l=n.getTemplateLock,s=n.isNavigationMode,u=t.clientId,d=t.isSmallScreen,f=i(u),b=a(u);return{block:f,blockListSettings:c(u),hasOverlay:"core/template"!==f.name&&!r(u)&&!o(u,!0),parentLock:l(b),enableClickThrough:s()||d}})),Object(g.withDispatch)((function(e,t){var n=e("core/block-editor"),r=n.replaceInnerBlocks,o=n.updateBlockListSettings,i=t.block,c=t.clientId,a=t.templateInsertUpdatesSelection,l=void 0===a||a;return{replaceInnerBlocks:function(e){r(c,e,0===i.innerBlocks.length&&l)},updateNestedSettings:function(t){e(o(c,t))}}}))])(tc)).DefaultBlockAppender=ec,tc.ButtonBlockAppender=Qi,tc.Content=Object(i.withBlockContentContext)((function(e){var t=e.BlockContent;return Object(d.createElement)(t,null)}));var nc=tc,rc=Object(H.createSlotFill)("InspectorAdvancedControls"),oc=rc.Fill,ic=rc.Slot,cc=Y(oc);cc.slotName="InspectorAdvancedControls",cc.Slot=ic;var ac=cc,lc=n(44),sc=[{id:"newTab",title:Object(U.__)("Open in New Tab"),checked:!1}],uc=function(e){var t=e.settings,n=void 0===t?sc:t,r=e.onSettingChange,o=void 0===r?p.noop:r;if(!n||!n.length)return null;var i=function(e){return function(t){o(e.id,t,n)}},c=n.map((function(e){return Object(d.createElement)(H.ToggleControl,{className:"block-editor-link-control__setting",key:e.id,label:e.title,onChange:i(e),checked:e.checked})}));return Object(d.createElement)("fieldset",{className:"block-editor-link-control__settings"},Object(d.createElement)("legend",{className:"screen-reader-text"},Object(U.__)("Currently selected link settings")),c)},dc=function(e){var t=e.itemProps,n=e.suggestion,r=e.isSelected,o=void 0!==r&&r,i=e.onClick,c=e.isURL,a=void 0!==c&&c,l=e.searchTerm,s=void 0===l?"":l;return Object(d.createElement)(H.Button,Object(u.a)({type:"submit"},t,{onClick:i,className:b()("block-editor-link-control__search-item",{"is-selected":o,"is-url":a,"is-entity":!a})}),a&&Object(d.createElement)(H.Icon,{className:"block-editor-link-control__search-item-icon",icon:"admin-site-alt3"}),Object(d.createElement)("span",{className:"block-editor-link-control__search-item-header"},Object(d.createElement)("span",{className:"block-editor-link-control__search-item-title"},Object(d.createElement)(H.TextHighlight,{text:n.title,highlight:s})),Object(d.createElement)("span",{"aria-hidden":!a,className:"block-editor-link-control__search-item-info"},!a&&(Object(at.safeDecodeURI)(n.url)||""),a&&Object(U.__)("Press ENTER to add this link"))),n.type&&Object(d.createElement)("span",{className:"block-editor-link-control__search-item-type"},n.type))},fc=function(e){var t=e.value,n=e.onChange,r=e.onSelect,o=e.renderSuggestions,i=e.fetchSuggestions,c=e.onReset,a=e.onKeyDown,l=e.onKeyPress;return Object(d.createElement)("form",{onSubmit:function(e){e.preventDefault(),e.stopPropagation()}},Object(d.createElement)(Oc,{className:"block-editor-link-control__search-input",value:t,onChange:function(e,t){n(e),t&&r(t)},onKeyDown:function(e){e.keyCode!==ct.ENTER&&a(e)},onKeyPress:l,placeholder:Object(U.__)("Search or type url"),__experimentalRenderSuggestions:o,__experimentalFetchLinkSuggestions:i,__experimentalHandleURLSuggestions:!0}),Object(d.createElement)(H.Button,{disabled:!t.length,type:"reset",label:Object(U.__)("Reset"),icon:"no-alt",className:"block-editor-link-control__search-reset",onClick:c}))},bc="edit";var pc=Object(h.compose)(h.withInstanceId,Object(g.withSelect)((function(e,t){if(!t.fetchSearchSuggestions||!Object(p.isFunction)(t.fetchSearchSuggestions))return{fetchSearchSuggestions:(0,e("core/block-editor").getSettings)().__experimentalFetchLinkSuggestions}})))((function(e){var t=e.className,n=e.currentLink,r=e.currentSettings,o=e.fetchSearchSuggestions,i=e.instanceId,c=e.onClose,a=void 0===c?p.noop:c,l=e.onChangeMode,s=void 0===l?p.noop:l,f=e.onKeyDown,h=void 0===f?p.noop:f,m=e.onKeyPress,g=void 0===m?p.noop:m,v=e.onLinkChange,O=void 0===v?p.noop:v,k=e.onSettingsChange,j=void 0===k?p.noop:k,y=Object(d.useState)(""),_=Object(V.a)(y,2),C=_[0],E=_[1],S=Object(d.useState)(!1),w=Object(V.a)(S,2),I=w[0],B=w[1];Object(d.useEffect)((function(){B(!n)}),[n]);var T=function(){E("")},x=function(e){var t="URL",n=Object(at.getProtocol)(e)||"";return n.includes("mailto")&&(t="mailto"),n.includes("tel")&&(t="tel"),Object(p.startsWith)(e,"#")&&(t="internal"),Promise.resolve([{id:"-1",title:e,url:"URL"===t?Object(at.prependHTTP)(e):e,type:t}])},N=function(){var e=Object(lc.a)(Bt.a.mark((function e(t){var n,r;return Bt.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all([o(t),x(t)]);case 2:return n=e.sent,r=!t.includes(" "),e.abrupt("return",r?n[0].concat(n[1]):n[0]);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),L=Object(d.useCallback)((function(e){var t=Object(at.getProtocol)(e)||"",n=t.includes("mailto"),r=Object(p.startsWith)(e,"#"),o=t.includes("tel");return r||n||o||Object(at.isURL)(e)||e&&e.includes("www.")?x(e):N(e)}),[x,o]);return Object(d.createElement)(H.Popover,{className:b()("block-editor-link-control",t),onClose:function(){T(),a()},position:"bottom center",focusOnMount:"firstElement"},Object(d.createElement)("div",{className:"block-editor-link-control__popover-inner"},Object(d.createElement)("div",{className:"block-editor-link-control__search"},!I&&n&&Object(d.createElement)(d.Fragment,null,Object(d.createElement)("p",{className:"screen-reader-text",id:"current-link-label-".concat(i)},Object(U.__)("Currently selected"),":"),Object(d.createElement)("div",{"aria-labelledby":"current-link-label-".concat(i),"aria-selected":"true",className:b()("block-editor-link-control__search-item",{"is-current":!0})},Object(d.createElement)("span",{className:"block-editor-link-control__search-item-header"},Object(d.createElement)(H.ExternalLink,{className:"block-editor-link-control__search-item-title",href:n.url},n.title),Object(d.createElement)("span",{className:"block-editor-link-control__search-item-info"},Object(at.filterURLForDisplay)(Object(at.safeDecodeURI)(n.url))||"")),Object(d.createElement)(H.Button,{isSecondary:!0,onClick:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"show";return function(){B(bc===e),n&&n.title&&E(n.title),Object(p.isFunction)(s)&&s(e)}}(bc),className:"block-editor-link-control__search-item-action block-editor-link-control__search-item-action--edit"},Object(U.__)("Change")))),I&&Object(d.createElement)(fc,{value:C,onChange:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";E(e)},onSelect:O,renderSuggestions:function(e){var t=e.suggestionsListProps,n=e.buildSuggestionItemProps,r=e.suggestions,o=e.selectedSuggestion,i=e.isLoading,c=b()("block-editor-link-control__search-results",{"is-loading":i}),a=["url","mailto","tel","internal"];return Object(d.createElement)("div",{className:"block-editor-link-control__search-results-wrapper"},Object(d.createElement)("div",Object(u.a)({},t,{className:c}),r.map((function(e,t){return Object(d.createElement)(dc,{key:"".concat(e.id,"-").concat(e.type),itemProps:n(e,t),suggestion:e,onClick:function(){return O(e)},isSelected:t===o,isURL:a.includes(e.type.toLowerCase()),searchTerm:C})}))))},fetchSuggestions:L,onReset:T,onKeyDown:h,onKeyPress:g}),!I&&Object(d.createElement)(uc,{settings:r,onSettingChange:j}))))})),hc=Object(H.withFilters)("editor.MediaUpload")((function(){return null}));var mc=Object(g.withSelect)((function(e){return{hasUploadPermissions:!!(0,e("core/block-editor").getSettings)().mediaUpload}}))((function(e){var t=e.hasUploadPermissions,n=e.fallback,r=void 0===n?null:n,o=e.children;return t?o:r})),gc=function(e){return e.stopPropagation()},vc=function(e){function t(e){var n;return Object(_.a)(this,t),(n=Object(E.a)(this,Object(S.a)(t).call(this,e))).onChange=n.onChange.bind(Object(w.a)(n)),n.onKeyDown=n.onKeyDown.bind(Object(w.a)(n)),n.selectLink=n.selectLink.bind(Object(w.a)(n)),n.handleOnClick=n.handleOnClick.bind(Object(w.a)(n)),n.bindSuggestionNode=n.bindSuggestionNode.bind(Object(w.a)(n)),n.autocompleteRef=e.autocompleteRef||Object(d.createRef)(),n.inputRef=Object(d.createRef)(),n.updateSuggestions=Object(p.throttle)(n.updateSuggestions.bind(Object(w.a)(n)),200),n.suggestionNodes=[],n.state={suggestions:[],showSuggestions:!1,selectedSuggestion:null},n}return Object(I.a)(t,e),Object(C.a)(t,[{key:"componentDidUpdate",value:function(){var e=this,t=this.state,n=t.showSuggestions,r=t.selectedSuggestion;n&&null!==r&&!this.scrollingIntoView&&(this.scrollingIntoView=!0,it()(this.suggestionNodes[r],this.autocompleteRef.current,{onlyScrollIfNeeded:!0}),this.props.setTimeout((function(){e.scrollingIntoView=!1}),100))}},{key:"componentWillUnmount",value:function(){delete this.suggestionsRequest}},{key:"bindSuggestionNode",value:function(e){var t=this;return function(n){t.suggestionNodes[e]=n}}},{key:"updateSuggestions",value:function(e){var t=this,n=this.props,r=n.__experimentalFetchLinkSuggestions,o=n.__experimentalHandleURLSuggestions;if(r)if(e.length<2||!o&&Object(at.isURL)(e))this.setState({showSuggestions:!1,selectedSuggestion:null,loading:!1});else{this.setState({showSuggestions:!0,selectedSuggestion:null,loading:!0});var i=r(e);i.then((function(e){t.suggestionsRequest===i&&(t.setState({suggestions:e,loading:!1}),e.length?t.props.debouncedSpeak(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"):t.props.debouncedSpeak(Object(U.__)("No results."),"assertive"))})).catch((function(){t.suggestionsRequest===i&&t.setState({loading:!1})})),this.suggestionsRequest=i}}},{key:"onChange",value:function(e){var t=e.target.value;this.props.onChange(t),this.props.disableSuggestions||this.updateSuggestions(t)}},{key:"onKeyDown",value:function(e){var t=this.state,n=t.showSuggestions,r=t.selectedSuggestion,o=t.suggestions,i=t.loading;if(n&&o.length&&!i||!this.props.value){var c=this.state.suggestions[this.state.selectedSuggestion];switch(e.keyCode){case ct.UP:e.stopPropagation(),e.preventDefault();var a=r?r-1:o.length-1;this.setState({selectedSuggestion:a});break;case ct.DOWN:e.stopPropagation(),e.preventDefault();var l=null===r||r===o.length-1?0:r+1;this.setState({selectedSuggestion:l});break;case ct.TAB:null!==this.state.selectedSuggestion&&(this.selectLink(c),this.props.speak(Object(U.__)("Link selected.")));break;case ct.ENTER:null!==this.state.selectedSuggestion&&(e.stopPropagation(),this.selectLink(c))}}else switch(e.keyCode){case ct.UP:0!==e.target.selectionStart&&(e.stopPropagation(),e.preventDefault(),e.target.setSelectionRange(0,0));break;case ct.DOWN:this.props.value.length!==e.target.selectionStart&&(e.stopPropagation(),e.preventDefault(),e.target.setSelectionRange(this.props.value.length,this.props.value.length))}}},{key:"selectLink",value:function(e){this.props.onChange(e.url,e),this.setState({selectedSuggestion:null,showSuggestions:!1})}},{key:"handleOnClick",value:function(e){this.selectLink(e),this.inputRef.current.focus()}},{key:"render",value:function(){var e=this,t=this.props,n=t.label,r=t.instanceId,o=t.className,i=t.isFullWidth,c=t.hasBorder,a=t.__experimentalRenderSuggestions,l=t.placeholder,s=void 0===l?Object(U.__)("Paste URL or type to search"):l,f=t.value,h=void 0===f?"":f,m=t.autoFocus,g=void 0===m||m,v=this.state,O=v.showSuggestions,k=v.suggestions,j=v.selectedSuggestion,y=v.loading,_="url-input-control-".concat(r),C="block-editor-url-input-suggestions-".concat(r),E="block-editor-url-input-suggestion-".concat(r),S={id:C,ref:this.autocompleteRef,role:"listbox"},w=function(t,n){return{role:"option",tabIndex:"-1",id:"".concat(E,"-").concat(n),ref:e.bindSuggestionNode(n),"aria-selected":n===j}};return Object(d.createElement)(H.BaseControl,{label:n,id:_,className:b()("block-editor-url-input",o,{"is-full-width":i,"has-border":c})},Object(d.createElement)("input",{autoFocus:g,type:"text","aria-label":Object(U.__)("URL"),required:!0,value:h,onChange:this.onChange,onInput:gc,placeholder:s,onKeyDown:this.onKeyDown,role:"combobox","aria-expanded":O,"aria-autocomplete":"list","aria-owns":C,"aria-activedescendant":null!==j?"".concat(E,"-").concat(j):void 0,ref:this.inputRef}),y&&Object(d.createElement)(H.Spinner,null),Object(p.isFunction)(a)&&O&&!!k.length&&a({suggestions:k,selectedSuggestion:j,suggestionsListProps:S,buildSuggestionItemProps:w,isLoading:y,handleSuggestionClick:this.handleOnClick}),!Object(p.isFunction)(a)&&O&&!!k.length&&Object(d.createElement)(H.Popover,{position:"bottom",noArrow:!0,focusOnMount:!1},Object(d.createElement)("div",Object(u.a)({},S,{className:b()("block-editor-url-input__suggestions","".concat(o,"__suggestions"))}),k.map((function(t,n){return Object(d.createElement)(H.Button,Object(u.a)({},w(0,n),{key:t.id,className:b()("block-editor-url-input__suggestion",{"is-selected":n===j}),onClick:function(){return e.handleOnClick(t)}}),t.title)})))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.value,r=e.disableSuggestions,o=t.showSuggestions,i=t.selectedSuggestion,c=o,a=n&&n.length;return a||(c=!1),!0===r&&(c=!1),{selectedSuggestion:a?i:null,showSuggestions:c}}}]),t}(d.Component),Oc=Object(h.compose)(h.withSafeTimeout,H.withSpokenMessages,h.withInstanceId,Object(g.withSelect)((function(e,t){if(!Object(p.isFunction)(t.__experimentalFetchLinkSuggestions))return{__experimentalFetchLinkSuggestions:(0,e("core/block-editor").getSettings)().__experimentalFetchLinkSuggestions}})))(vc);function kc(e){var t=e.autocompleteRef,n=e.className,r=e.onChangeInputValue,o=e.value,i=Object(M.a)(e,["autocompleteRef","className","onChangeInputValue","value"]);return Object(d.createElement)("form",Object(u.a)({className:b()("block-editor-url-popover__link-editor",n)},i),Object(d.createElement)(Oc,{value:o,onChange:r,autocompleteRef:t}),Object(d.createElement)(H.Button,{icon:"editor-break",label:Object(U.__)("Apply"),type:"submit"}))}function jc(e){var t=e.url,n=e.urlLabel,r=e.className,o=b()(r,"block-editor-url-popover__link-viewer-url");return t?Object(d.createElement)(H.ExternalLink,{className:o,href:t},n||Object(at.filterURLForDisplay)(Object(at.safeDecodeURI)(t))):Object(d.createElement)("span",{className:o})}function yc(e){var t=e.className,n=e.linkClassName,r=e.onEditLinkClick,o=e.url,i=e.urlLabel,c=Object(M.a)(e,["className","linkClassName","onEditLinkClick","url","urlLabel"]);return Object(d.createElement)("div",Object(u.a)({className:b()("block-editor-url-popover__link-viewer",t)},c),Object(d.createElement)(jc,{url:o,urlLabel:i,className:n}),r&&Object(d.createElement)(H.Button,{icon:"edit",label:Object(U.__)("Edit"),onClick:r}))}var _c=Object(h.compose)(H.withNotices)((function(e){var t,n=e.mediaURL,r=e.allowedTypes,o=e.accept,i=e.onSelect,c=e.onSelectURL,a=e.onError,l=e.name,s=void 0===l?Object(U.__)("Replace"):l,u=Object(d.useState)(!1),f=Object(V.a)(u,2),b=f[0],p=f[1],h=Object(d.useState)(!1),m=Object(V.a)(h,2),v=m[0],O=m[1],k=Object(d.useState)(n),j=Object(V.a)(k,2),y=j[0],_=j[1],C=Object(g.useSelect)((function(e){return e("core/block-editor").getSettings().mediaUpload}),[]),E=Object(d.createRef)(),S=function(e){i(e),_(e.url),Object(he.speak)(Object(U.__)("The media file has been replaced"))},w=function(e){e.keyCode===ct.DOWN&&(e.preventDefault(),e.stopPropagation(),e.target.click())};return t=v?Object(d.createElement)(kc,{onKeyDown:function(e){[ct.LEFT,ct.DOWN,ct.RIGHT,ct.UP,ct.BACKSPACE,ct.ENTER].indexOf(e.keyCode)>-1&&e.stopPropagation()},onKeyPress:function(e){e.stopPropagation()},value:y,isFullWidthInput:!0,hasInputBorder:!0,onChangeInputValue:function(e){return _(e)},onSubmit:function(e){e.preventDefault(),c(y),O(!1),E.current.focus()}}):Object(d.createElement)(yc,{isFullWidth:!0,className:"block-editor-media-replace-flow__link-viewer",url:y,onEditLinkClick:function(){return O(!v)}}),Object(d.createElement)(H.Dropdown,{contentClassName:"block-editor-media-replace-flow__options",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(d.createElement)(H.ToolbarGroup,{className:"media-replace-flow"},Object(d.createElement)(H.Button,{ref:E,"aria-expanded":t,onClick:n,onKeyDown:w},s,Object(d.createElement)("span",{className:"block-editor-media-replace-flow__indicator"})))},renderContent:function(e){var n=e.onClose;return Object(d.createElement)(d.Fragment,null,Object(d.createElement)(H.NavigableMenu,null,Object(d.createElement)(hc,{onSelect:function(e){return S(e)},allowedTypes:r,render:function(e){var t=e.open;return Object(d.createElement)(H.MenuItem,{icon:"admin-media",onClick:t},Object(U.__)("Open Media Library"))}}),Object(d.createElement)(mc,null,Object(d.createElement)(H.FormFileUpload,{onChange:function(e){!function(e,t){var n=e.target.files;C({allowedTypes:r,filesList:n,onFileChange:function(e){var n=Object(V.a)(e,1)[0];S(n),t()},onError:a})}(e,n)},accept:o,render:function(e){var t=e.openFileDialog;return Object(d.createElement)(H.MenuItem,{icon:"upload",onClick:function(){t()}},Object(U.__)("Upload"))}})),c&&Object(d.createElement)(H.MenuItem,{icon:"admin-links",onClick:function(){return p(!b)},"aria-expanded":b},Object(d.createElement)("div",null," ",Object(U.__)("Insert from URL")," "))),b&&Object(d.createElement)("div",{className:"block-editor-media-flow__url-input"},t))}})})),Cc=n(33),Ec=n.n(Cc),Sc=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(E.a)(this,Object(S.a)(t).apply(this,arguments))).toggleSettingsVisibility=e.toggleSettingsVisibility.bind(Object(w.a)(e)),e.state={isSettingsExpanded:!1},e}return Object(I.a)(t,e),Object(C.a)(t,[{key:"toggleSettingsVisibility",value:function(){this.setState({isSettingsExpanded:!this.state.isSettingsExpanded})}},{key:"render",value:function(){var e=this.props,t=e.additionalControls,n=e.children,r=e.renderSettings,o=e.position,i=void 0===o?"bottom center":o,c=e.focusOnMount,a=void 0===c?"firstElement":c,l=Object(M.a)(e,["additionalControls","children","renderSettings","position","focusOnMount"]),s=this.state.isSettingsExpanded,f=!!r&&s;return Object(d.createElement)(H.Popover,Object(u.a)({className:"block-editor-url-popover",focusOnMount:a,position:i},l),Object(d.createElement)("div",{className:"block-editor-url-popover__input-container"},Object(d.createElement)("div",{className:"block-editor-url-popover__row"},n,!!r&&Object(d.createElement)(H.Button,{className:"block-editor-url-popover__settings-toggle",icon:"arrow-down-alt2",label:Object(U.__)("Link settings"),onClick:this.toggleSettingsVisibility,"aria-expanded":s})),f&&Object(d.createElement)("div",{className:"block-editor-url-popover__row block-editor-url-popover__settings"},r())),t&&!f&&Object(d.createElement)("div",{className:"block-editor-url-popover__additional-controls"},t))}}]),t}(d.Component);Sc.LinkEditor=kc,Sc.LinkViewer=yc;var wc=Sc,Ic=function(e){var t=e.src,n=e.onChange,r=e.onSubmit,o=e.onClose;return Object(d.createElement)(wc,{onClose:o},Object(d.createElement)("form",{className:"block-editor-media-placeholder__url-input-form",onSubmit:r},Object(d.createElement)("input",{className:"block-editor-media-placeholder__url-input-field",type:"url","aria-label":Object(U.__)("URL"),placeholder:Object(U.__)("Paste or type URL"),onChange:n,value:t}),Object(d.createElement)(H.Button,{className:"block-editor-media-placeholder__url-input-submit-button",icon:"editor-break",label:Object(U.__)("Apply"),type:"submit"})))},Bc=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(E.a)(this,Object(S.a)(t).apply(this,arguments))).state={src:"",isURLInputVisible:!1},e.onChangeSrc=e.onChangeSrc.bind(Object(w.a)(e)),e.onSubmitSrc=e.onSubmitSrc.bind(Object(w.a)(e)),e.onUpload=e.onUpload.bind(Object(w.a)(e)),e.onFilesUpload=e.onFilesUpload.bind(Object(w.a)(e)),e.openURLInput=e.openURLInput.bind(Object(w.a)(e)),e.closeURLInput=e.closeURLInput.bind(Object(w.a)(e)),e}return Object(I.a)(t,e),Object(C.a)(t,[{key:"onlyAllowsImages",value:function(){var e=this.props.allowedTypes;return!!e&&Object(p.every)(e,(function(e){return"image"===e||Object(p.startsWith)(e,"image/")}))}},{key:"componentDidMount",value:function(){this.setState({src:Object(p.get)(this.props.value,["src"],"")})}},{key:"componentDidUpdate",value:function(e){Object(p.get)(e.value,["src"],"")!==Object(p.get)(this.props.value,["src"],"")&&this.setState({src:Object(p.get)(this.props.value,["src"],"")})}},{key:"onChangeSrc",value:function(e){this.setState({src:e.target.value})}},{key:"onSubmitSrc",value:function(e){e.preventDefault(),this.state.src&&this.props.onSelectURL&&(this.props.onSelectURL(this.state.src),this.closeURLInput())}},{key:"onUpload",value:function(e){this.onFilesUpload(e.target.files)}},{key:"onFilesUpload",value:function(e){var t,n=this.props,r=n.addToGallery,o=n.allowedTypes,i=n.mediaUpload,c=n.multiple,a=n.onError,l=n.onSelect,s=n.value;if(c)if(r){var u=void 0===s?[]:s;t=function(e){l(u.concat(e))}}else t=l;else t=function(e){var t=Object(V.a)(e,1)[0];return l(t)};i({allowedTypes:o,filesList:e,onFileChange:t,onError:a})}},{key:"openURLInput",value:function(){this.setState({isURLInputVisible:!0})}},{key:"closeURLInput",value:function(){this.setState({isURLInputVisible:!1})}},{key:"renderPlaceholder",value:function(e,t){var n=this.props,r=n.allowedTypes,o=void 0===r?[]:r,i=n.className,c=n.icon,a=n.isAppender,l=n.labels,s=void 0===l?{}:l,u=n.onDoubleClick,f=n.mediaPreview,p=n.notices,h=n.onSelectURL,m=n.mediaUpload,g=n.children,v=s.instructions,O=s.title;if(m||h||(v=Object(U.__)("To edit this block, you need permission to upload media.")),void 0===v||void 0===O){var k=1===o.length,j=k&&"audio"===o[0],y=k&&"image"===o[0],_=k&&"video"===o[0];void 0===v&&m&&(v=Object(U.__)("Upload a media file or pick one from your media library."),j?v=Object(U.__)("Upload an audio file, pick one from your media library, or add one with a URL."):y?v=Object(U.__)("Upload an image file, pick one from your media library, or add one with a URL."):_&&(v=Object(U.__)("Upload a video file, pick one from your media library, or add one with a URL."))),void 0===O&&(O=Object(U.__)("Media"),j?O=Object(U.__)("Audio"):y?O=Object(U.__)("Image"):_&&(O=Object(U.__)("Video")))}var C=b()("block-editor-media-placeholder",i,{"is-appender":a});return Object(d.createElement)(H.Placeholder,{icon:c,label:O,instructions:v,className:C,notices:p,onClick:t,onDoubleClick:u,preview:f},e,g)}},{key:"renderDropZone",value:function(){var e=this.props,t=e.disableDropZone,n=e.onHTMLDrop,r=void 0===n?p.noop:n;return t?null:Object(d.createElement)(H.DropZone,{onFilesDrop:this.onFilesUpload,onHTMLDrop:r})}},{key:"renderCancelLink",value:function(){var e=this.props.onCancel;return e&&Object(d.createElement)(H.Button,{className:"block-editor-media-placeholder__cancel-button",title:Object(U.__)("Cancel"),isLink:!0,onClick:e},Object(U.__)("Cancel"))}},{key:"renderUrlSelectionUI",value:function(){if(!this.props.onSelectURL)return null;var e=this.state,t=e.isURLInputVisible,n=e.src;return Object(d.createElement)("div",{className:"block-editor-media-placeholder__url-input-container"},Object(d.createElement)(H.Button,{className:"block-editor-media-placeholder__button",onClick:this.openURLInput,isPressed:t,isSecondary:!0},Object(U.__)("Insert from URL")),t&&Object(d.createElement)(Ic,{src:n,onChange:this.onChangeSrc,onSubmit:this.onSubmitSrc,onClose:this.closeURLInput}))}},{key:"renderMediaUploadChecked",value:function(){var e=this,t=this.props,n=t.accept,r=t.addToGallery,o=t.allowedTypes,i=void 0===o?[]:o,c=t.isAppender,a=t.mediaUpload,l=t.multiple,s=void 0!==l&&l,u=t.onSelect,f=t.value,h=void 0===f?{}:f,m=Object(d.createElement)(hc,{addToGallery:r,gallery:s&&this.onlyAllowsImages(),multiple:s,onSelect:u,allowedTypes:i,value:Object(p.isArray)(h)?h.map((function(e){return e.id})):h.id,render:function(e){var t=e.open;return Object(d.createElement)(H.Button,{isSecondary:!0,onClick:function(e){e.stopPropagation(),t()}},Object(U.__)("Media Library"))}});if(a&&c)return Object(d.createElement)(d.Fragment,null,this.renderDropZone(),Object(d.createElement)(H.FormFileUpload,{onChange:this.onUpload,accept:n,multiple:s,render:function(t){var n=t.openFileDialog,r=Object(d.createElement)(d.Fragment,null,Object(d.createElement)(H.Button,{isSecondary:!0,className:b()("block-editor-media-placeholder__button","block-editor-media-placeholder__upload-button")},Object(U.__)("Upload")),m,e.renderUrlSelectionUI(),e.renderCancelLink());return e.renderPlaceholder(r,n)}}));if(a){var g=Object(d.createElement)(d.Fragment,null,this.renderDropZone(),Object(d.createElement)(H.FormFileUpload,{isSecondary:!0,className:b()("block-editor-media-placeholder__button","block-editor-media-placeholder__upload-button"),onChange:this.onUpload,accept:n,multiple:s},Object(U.__)("Upload")),m,this.renderUrlSelectionUI(),this.renderCancelLink());return this.renderPlaceholder(g)}return this.renderPlaceholder(m)}},{key:"render",value:function(){var e=this.props,t=e.disableMediaButtons,n=e.dropZoneUIOnly;return n||t?(n&&Ec()("wp.blockEditor.MediaPlaceholder dropZoneUIOnly prop",{alternative:"disableMediaButtons"}),Object(d.createElement)(mc,null,this.renderDropZone())):Object(d.createElement)(mc,{fallback:this.renderPlaceholder(this.renderUrlSelectionUI())},this.renderMediaUploadChecked())}}]),t}(d.Component),Tc=Object(g.withSelect)((function(e){return{mediaUpload:(0,e("core/block-editor").getSettings)().mediaUpload}})),xc=Object(h.compose)(Tc,Object(H.withFilters)("editor.MediaPlaceholder"))(Bc),Nc=Object(d.forwardRef)((function(e,t){var n=e.onChange,r=e.className,o=Object(M.a)(e,["onChange","className"]);return Object(d.createElement)(To.a,Object(u.a)({ref:t,className:b()("block-editor-plain-text",r),onChange:function(e){return n(e.target.value)}},o))}));function Lc(e){var t=e.property,n=e.viewport,r=e.desc,o=Object(h.useInstanceId)(Lc),i=r||Object(U.sprintf)(Object(U._x)("Controls the %1$s property for %2$s viewports.","Text labelling a interface as controlling a given layout property (eg: margin) for a given screen size."),t,n.label);return Object(d.createElement)(d.Fragment,null,Object(d.createElement)("span",{"aria-describedby":"rbc-desc-".concat(o)},n.label),Object(d.createElement)("span",{className:"screen-reader-text",id:"rbc-desc-".concat(o)},i))}var Ac=function(e){var t=e.title,n=e.property,r=e.toggleLabel,o=e.onIsResponsiveChange,i=e.renderDefaultControl,c=e.renderResponsiveControls,a=e.isResponsive,l=void 0!==a&&a,s=e.defaultLabel,u=void 0===s?{id:"all",label:Object(U.__)("All")}:s,f=e.viewports,b=void 0===f?[{id:"small",label:Object(U.__)("Small screens")},{id:"medium",label:Object(U.__)("Medium screens")},{id:"large",label:Object(U.__)("Large screens")}]:f;if(!t||!n||!i)return null;var p=r||Object(U.sprintf)(Object(U.__)("Use the same %s on all screensizes."),n),h=Object(U.__)("Toggle between using the same value for all screen sizes or using a unique value per screen size."),m=i(Object(d.createElement)(Lc,{property:n,viewport:u}),u);return Object(d.createElement)("fieldset",{className:"block-editor-responsive-block-control"},Object(d.createElement)("legend",{className:"block-editor-responsive-block-control__title"},t),Object(d.createElement)("div",{className:"block-editor-responsive-block-control__inner"},Object(d.createElement)(H.ToggleControl,{className:"block-editor-responsive-block-control__toggle",label:p,checked:!l,onChange:o,help:h}),!l&&Object(d.createElement)("div",{className:"block-editor-responsive-block-control__group block-editor-responsive-block-control__group--default"},m),l&&Object(d.createElement)("div",{className:"block-editor-responsive-block-control__group block-editor-responsive-block-control__group--responsive",hidden:!l},c?c(b):b.map((function(e){return Object(d.createElement)(d.Fragment,{key:e.id},i(Object(d.createElement)(Lc,{property:n,viewport:e}),e))})))))},Rc=[ct.rawShortcut.primary("z"),ct.rawShortcut.primaryShift("z"),ct.rawShortcut.primary("y")],Pc=Object(d.createElement)(H.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(p.fromPairs)(Rc.map((function(e){return[e,function(e){return e.preventDefault()}]})))}),Mc=function(){return Pc},Dc=n(37);function Fc(e){return e.filter((function(e){var t=e.type;return/^image\/(?:jpe?g|png|gif)$/.test(t)})).map((function(e){return'')})).join("")}var Uc={position:"bottom left"},Hc=function(){return Object(d.createElement)("div",{className:"block-editor-format-toolbar"},Object(d.createElement)(H.Toolbar,null,["bold","italic","link"].map((function(e){return Object(d.createElement)(H.Slot,{name:"RichText.ToolbarControls.".concat(e),key:e})})),Object(d.createElement)(H.Slot,{name:"RichText.ToolbarControls"},(function(e){return 0!==e.length&&Object(d.createElement)(H.DropdownMenu,{icon:!1,label:Object(U.__)("More rich text controls"),controls:Object(p.orderBy)(e.map((function(e){return Object(V.a)(e,1)[0].props})),"title"),popoverProps:Uc})}))))},Vc=function(e){var t=e.inline,n=e.anchorRef;return t?Object(d.createElement)(H.Popover,{noArrow:!0,position:"top center",focusOnMount:!1,anchorRef:n,className:"block-editor-rich-text__inline-format-toolbar"},Object(d.createElement)(Hc,null)):Object(d.createElement)(et,null,Object(d.createElement)(Hc,null))},zc=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(E.a)(this,Object(S.a)(t).apply(this,arguments))).onUse=e.onUse.bind(Object(w.a)(e)),e}return Object(I.a)(t,e),Object(C.a)(t,[{key:"onUse",value:function(){return this.props.onUse(),!1}},{key:"render",value:function(){var e=this.props,t=e.character,n=e.type;return Object(d.createElement)(H.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(B.a)({},ct.rawShortcut[n](t),this.onUse)})}}]),t}(d.Component);function Kc(e){var t,n=e.name,r=e.shortcutType,o=e.shortcutCharacter,i=Object(M.a)(e,["name","shortcutType","shortcutCharacter"]),c="RichText.ToolbarControls";return n&&(c+=".".concat(n)),r&&o&&(t=ct.displayShortcut[r](o)),Object(d.createElement)(H.Fill,{name:c},Object(d.createElement)(H.ToolbarButton,Object(u.a)({},i,{shortcut:t})))}var Gc=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(E.a)(this,Object(S.a)(t).apply(this,arguments))).onInput=e.onInput.bind(Object(w.a)(e)),e}return Object(I.a)(t,e),Object(C.a)(t,[{key:"onInput",value:function(e){e.inputType===this.props.inputType&&this.props.onInput()}},{key:"componentDidMount",value:function(){document.addEventListener("input",this.onInput,!0)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("input",this.onInput,!0)}},{key:"render",value:function(){return null}}]),t}(d.Component);function Wc(e){if(!0===e||"p"===e||"li"===e)return!0===e?"p":e}var qc=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(E.a)(this,Object(S.a)(t).apply(this,arguments))).ref=Object(d.createRef)(),e.onEnter=e.onEnter.bind(Object(w.a)(e)),e.onSplit=e.onSplit.bind(Object(w.a)(e)),e.onPaste=e.onPaste.bind(Object(w.a)(e)),e.onDelete=e.onDelete.bind(Object(w.a)(e)),e.inputRule=e.inputRule.bind(Object(w.a)(e)),e}return Object(I.a)(t,e),Object(C.a)(t,[{key:"onEnter",value:function(e){var t=e.value,n=e.onChange,r=e.shiftKey,o=this.props,a=o.onReplace,l=o.onSplit,s=o.multiline,u=o.markAutomaticChange,d=a&&l;if(a){var f=Object(i.getBlockTransforms)("from").filter((function(e){return"enter"===e.type})),b=Object(i.findTransform)(f,(function(e){return e.regExp.test(t.text)}));b&&(a([b.transform({content:t.text})]),u())}s?r?n(Object(c.insert)(t,"\n")):d&&Object(c.__unstableIsEmptyLine)(t)?this.onSplit(t):n(Object(c.__unstableInsertLineSeparator)(t)):r||!d?n(Object(c.insert)(t,"\n")):this.onSplit(t)}},{key:"onDelete",value:function(e){var t=e.value,n=e.isReverse,r=this.props,o=r.onMerge,i=r.onRemove;o&&o(!n),i&&Object(c.isEmpty)(t)&&n&&i(!n)}},{key:"onPaste",value:function(e){var t=e.value,n=e.onChange,r=e.html,o=e.plainText,a=e.files,l=e.activeFormats,s=this.props,u=s.onReplace,d=s.onSplit,f=s.tagName,b=s.canUserUseUnfilteredHTML,p=s.multiline,h=s.__unstableEmbedURLOnPaste;if(a&&a.length&&!r){var m=Object(i.pasteHandler)({HTML:Fc(a),mode:"BLOCKS",tagName:f});return window.console.log("Received items:\n\n",a),void(u&&Object(c.isEmpty)(t)?u(m):this.onSplit(t,m))}var g=u&&d?"AUTO":"INLINE";h&&Object(c.isEmpty)(t)&&Object(at.isURL)(o.trim())&&(g="BLOCKS");var v=Object(i.pasteHandler)({HTML:r,plainText:o,mode:g,tagName:f,canUserUseUnfilteredHTML:b});if("string"==typeof v){var O=Object(c.create)({html:v});if(l.length)for(var k=O.formats.length;k--;)O.formats[k]=[].concat(Object(P.a)(l),Object(P.a)(O.formats[k]||[]));p&&(O=Object(c.replace)(O,/\n+/g,c.__UNSTABLE_LINE_SEPARATOR)),n(Object(c.insert)(t,O))}else v.length>0&&(u&&Object(c.isEmpty)(t)?u(v):this.onSplit(t,v))}},{key:"onSplit",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=this.props,r=n.onReplace,o=n.onSplit,i=n.__unstableOnSplitMiddle,a=n.multiline;if(r&&o){var l=[],s=Object(c.split)(e),u=Object(V.a)(s,2),d=u[0],f=u[1],b=t.length>0,p=Wc(a);b&&Object(c.isEmpty)(d)||l.push(o(Object(c.toHTMLString)({value:d,multilineTag:p}))),b?l.push.apply(l,Object(P.a)(t)):i&&l.push(i()),!b&&i&&Object(c.isEmpty)(f)||l.push(o(Object(c.toHTMLString)({value:f,multilineTag:p})));var h=b?l.length-1:1;r(l,h)}}},{key:"inputRule",value:function(e,t){var n=this.props,r=n.onReplace,o=n.markAutomaticChange;if(r){var a=e.start,l=e.text;if(" "===l.slice(a-1,a)){var s=l.slice(0,a).trim(),u=Object(i.getBlockTransforms)("from").filter((function(e){return"prefix"===e.type})),d=Object(i.findTransform)(u,(function(e){var t=e.prefix;return s===t}));if(d){var f=t(Object(c.slice)(e,a,l.length));r([d.transform(f)]),o()}}}}},{key:"getAllowedFormats",value:function(){var e=this.props,t=e.allowedFormats,n=e.formattingControls;if(t||n)return t||(Ec()("wp.blockEditor.RichText formattingControls prop",{alternative:"allowedFormats"}),n.map((function(e){return"core/".concat(e)})))}},{key:"render",value:function(){var e=this,t=this.props,n=t.children,r=t.tagName,o=t.value,a=t.onChange,l=t.selectionStart,s=t.selectionEnd,f=t.onSelectionChange,p=t.multiline,h=t.inlineToolbar,m=t.wrapperClassName,g=t.className,v=t.autocompleters,O=t.onReplace,k=t.isCaretWithinFormattedText,j=t.onEnterFormattedText,y=t.onExitFormattedText,_=t.isSelected,C=t.onCreateUndoLevel,E=t.markAutomaticChange,S=t.didAutomaticChange,w=t.undo,I=t.placeholder,B=t.keepPlaceholderOnFocus,T=(t.allowedFormats,t.withoutInteractiveFormatting),x=(t.onRemove,t.onMerge,t.onSplit,t.canUserUseUnfilteredHTML,t.instanceId,t.start),N=t.reversed,L=t.style,A=t.preserveWhiteSpace,R=t.disabled,P=Object(M.a)(t,["children","tagName","value","onChange","selectionStart","selectionEnd","onSelectionChange","multiline","inlineToolbar","wrapperClassName","className","autocompleters","onReplace","isCaretWithinFormattedText","onEnterFormattedText","onExitFormattedText","isSelected","onCreateUndoLevel","markAutomaticChange","didAutomaticChange","undo","placeholder","keepPlaceholderOnFocus","allowedFormats","withoutInteractiveFormatting","onRemove","onMerge","onSplit","canUserUseUnfilteredHTML","instanceId","start","reversed","style","preserveWhiteSpace","disabled"]),D=Wc(p),F=this.getAllowedFormats(),U=!F||F.length>0,H=o,V=a;Array.isArray(o)&&(H=i.children.toHTML(o),V=function(e){return a(i.children.fromDOM(Object(c.__unstableCreateElement)(document,e).childNodes))});var z=Object(d.createElement)(c.__experimentalRichText,Object(u.a)({},P,{ref:this.ref,value:H,onChange:V,selectionStart:l,selectionEnd:s,onSelectionChange:f,tagName:r,className:b()("block-editor-rich-text__editable",g,{"is-selected":_,"keep-placeholder-on-focus":B}),placeholder:I,allowedFormats:F,withoutInteractiveFormatting:T,onEnter:this.onEnter,onDelete:this.onDelete,onPaste:this.onPaste,__unstableIsSelected:_,__unstableInputRule:this.inputRule,__unstableMultilineTag:D,__unstableIsCaretWithinFormattedText:k,__unstableOnEnterFormattedText:j,__unstableOnExitFormattedText:y,__unstableOnCreateUndoLevel:C,__unstableMarkAutomaticChange:E,__unstableDidAutomaticChange:S,__unstableUndo:w,style:L,preserveWhiteSpace:A,disabled:R,start:x,reversed:N}),(function(t){var r=t.isSelected,o=t.value,i=t.onChange,c=t.Editable;return Object(d.createElement)(d.Fragment,null,n&&n({value:o,onChange:i}),r&&U&&Object(d.createElement)(Vc,{inline:h,anchorRef:e.ref.current}),r&&Object(d.createElement)(Mc,null),Object(d.createElement)(Me,{onReplace:O,completers:v,record:o,onChange:i,isSelected:r},(function(e){var t=e.listBoxId,n=e.activeId,r=e.onKeyDown;return Object(d.createElement)(c,{"aria-autocomplete":t?"list":void 0,"aria-owns":t,"aria-activedescendant":n,start:x,reversed:N,onKeyDown:r})})))}));return m?(Ec()("wp.blockEditor.RichText wrapperClassName prop",{alternative:"className prop or create your own wrapper div"}),Object(d.createElement)("div",{className:b()("block-editor-rich-text",m)},z)):z}}]),t}(d.Component),$c=Object(h.compose)([h.withInstanceId,$((function(e,t){var n=e.clientId,r=e.onCaretVerticalPositionChange,o=e.isSelected;return"web"===d.Platform.OS?{clientId:n}:{clientId:n,blockIsSelected:void 0!==t.isSelected?t.isSelected:o,onCaretVerticalPositionChange:r}})),Object(g.withSelect)((function(e,t){var n=t.clientId,r=t.instanceId,o=t.identifier,c=void 0===o?r:o,a=t.isSelected,l=e("core/block-editor"),u=l.isCaretWithinFormattedText,f=l.getSelectionStart,b=l.getSelectionEnd,p=l.getSettings,h=l.didAutomaticChange,m=l.__unstableGetBlockWithoutInnerBlocks,g=l.isMultiSelecting,v=l.hasMultiSelection,O=f(),k=b(),j=p().__experimentalCanUserUseUnfilteredHTML;void 0===a?a=O.clientId===n&&O.attributeKey===c:a&&(a=O.clientId===n);var y={};if("native"===d.Platform.OS){var _=n&&m(n);y={shouldBlurOnUnmount:_&&a&&Object(i.isUnmodifiedDefaultBlock)(_)}}return Object(s.a)({canUserUseUnfilteredHTML:j,isCaretWithinFormattedText:u(),selectionStart:a?O.offset:void 0,selectionEnd:a?k.offset:void 0,isSelected:a,didAutomaticChange:h(),disabled:g()||v()},y)})),Object(g.withDispatch)((function(e,t){var n=t.clientId,r=t.instanceId,o=t.identifier,i=void 0===o?r:o,c=e("core/block-editor"),a=c.__unstableMarkLastChangeAsPersistent,l=c.enterFormattedText,s=c.exitFormattedText,u=c.selectionChange;return{onCreateUndoLevel:a,onEnterFormattedText:l,onExitFormattedText:s,onSelectionChange:function(e,t){u(n,i,e,t)},markAutomaticChange:c.__unstableMarkAutomaticChange,undo:e("core/editor").undo}}))])(qc);$c.Content=function(e){var t=e.value,n=e.tagName,r=e.multiline,o=Object(M.a)(e,["value","tagName","multiline"]);Array.isArray(t)&&(t=i.children.toHTML(t));var c=Wc(r);!t&&c&&(t="<".concat(c,">"));var a=Object(d.createElement)(d.RawHTML,null,t);return n?Object(d.createElement)(n,Object(p.omit)(o,["format"]),a):a},$c.isEmpty=function(e){return!e||0===e.length},$c.Content.defaultProps={format:"string",value:""};var Yc=$c,Xc=Object(d.createElement)(H.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},Object(d.createElement)(H.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(d.createElement)(H.Path,{d:"M14.06 9.02l.92.92L5.92 19H5v-.92l9.06-9.06M17.66 3c-.25 0-.51.1-.7.29l-1.83 1.83 3.75 3.75 1.83-1.83c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.2-.2-.45-.29-.71-.29zm-3.6 3.19L3 17.25V21h3.75L17.81 9.94l-3.75-3.75z"})),Zc=Object(d.createElement)(H.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},Object(d.createElement)(H.Path,{d:"M6.5 1v21.5l6-6.5H21L6.5 1zm5.1 13l-3.1 3.4V5.9l7.8 8.1h-4.7z"}));var Jc=function(){var e=Object(g.useSelect)((function(e){return e("core/block-editor").isNavigationMode()}),[]),t=Object(g.useDispatch)("core/block-editor").setNavigationMode;if(!Object(h.useViewportMatch)("medium"))return null;var n=function(e){t("edit"!==e)};return Object(d.createElement)(H.Dropdown,{renderToggle:function(t){var n=t.isOpen,r=t.onToggle;return Object(d.createElement)(H.Button,{icon:e?Zc:Xc,"aria-expanded":n,onClick:r,label:Object(U.__)("Tools")})},renderContent:function(){return Object(d.createElement)(d.Fragment,null,Object(d.createElement)(H.NavigableMenu,{role:"menu","aria-label":Object(U.__)("Tools")},Object(d.createElement)(H.MenuItemsChoice,{value:e?"select":"edit",onSelect:n,choices:[{value:"edit",label:Object(d.createElement)(d.Fragment,null,Xc,Object(U.__)("Edit"))},{value:"select",label:Object(d.createElement)(d.Fragment,null,Zc,Object(U.__)("Select"))}]})),Object(d.createElement)("div",{className:"block-editor-tool-selector__help"},Object(U.__)("Tools offer different interactions for block selection & editing. To select, press Escape, to go back to editing, press Enter.")))}})},Qc=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(E.a)(this,Object(S.a)(t).apply(this,arguments))).toggle=e.toggle.bind(Object(w.a)(e)),e.submitLink=e.submitLink.bind(Object(w.a)(e)),e.state={expanded:!1},e}return Object(I.a)(t,e),Object(C.a)(t,[{key:"toggle",value:function(){this.setState({expanded:!this.state.expanded})}},{key:"submitLink",value:function(e){e.preventDefault(),this.toggle()}},{key:"render",value:function(){var e=this.props,t=e.url,n=e.onChange,r=this.state.expanded,o=t?Object(U.__)("Edit link"):Object(U.__)("Insert link");return Object(d.createElement)("div",{className:"block-editor-url-input__button"},Object(d.createElement)(H.Button,{icon:"admin-links",label:o,onClick:this.toggle,className:"components-toolbar__control",isPressed:!!t}),r&&Object(d.createElement)("form",{className:"block-editor-url-input__button-modal",onSubmit:this.submitLink},Object(d.createElement)("div",{className:"block-editor-url-input__button-modal-line"},Object(d.createElement)(H.Button,{className:"block-editor-url-input__back",icon:"arrow-left-alt",label:Object(U.__)("Close"),onClick:this.toggle}),Object(d.createElement)(Oc,{value:t||"",onChange:n}),Object(d.createElement)(H.Button,{icon:"editor-break",label:Object(U.__)("Submit"),type:"submit"}))))}}]),t}(d.Component),ea=["noreferrer","noopener"],ta=Object(d.createElement)(H.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(d.createElement)(H.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(d.createElement)(H.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(d.createElement)(H.Path,{d:"m14.14 11.86l-3 3.87-2.14-2.59-3 3.86h12l-3.86-5.14z"})),na=function(e){var t=e.linkDestination,n=e.onChangeUrl,r=e.url,o=e.mediaType,i=void 0===o?"image":o,c=e.mediaUrl,a=e.mediaLink,l=e.linkTarget,s=e.linkClass,u=e.rel,f=Object(d.useState)(!1),b=Object(V.a)(f,2),h=b[0],m=b[1],g=Object(d.useCallback)((function(){m(!0)})),v=Object(d.useState)(!1),O=Object(V.a)(v,2),k=O[0],j=O[1],y=Object(d.useState)(null),_=Object(V.a)(y,2),C=_[0],E=_[1],S=Object(d.useRef)(null),w=function(e){e.stopPropagation()},I=function(e){[ct.LEFT,ct.DOWN,ct.RIGHT,ct.UP,ct.BACKSPACE,ct.ENTER].indexOf(e.keyCode)>-1&&e.stopPropagation()},B=Object(d.useCallback)((function(){"media"!==t&&"attachment"!==t||E(""),j(!0)})),T=Object(d.useCallback)((function(){j(!1)})),x=Object(d.useCallback)((function(){E(null),T(),m(!1)})),N=function(e){var t=e;return void 0===e||Object(p.isEmpty)(t)||Object(p.isEmpty)(t)||(Object(p.each)(ea,(function(e){var n=new RegExp("\\b"+e+"\\b","gi");t=t.replace(n,"")})),t!==e&&(t=t.trim()),Object(p.isEmpty)(t)&&(t=void 0)),t},L=Object(d.useCallback)((function(){return function(e){var t=S.current;t&&t.contains(e.target)||(m(!1),E(null),T())}})),A=Object(d.useCallback)((function(){return function(e){C&&n({href:C}),T(),E(null),e.preventDefault()}})),R=Object(d.useCallback)((function(){n({linkDestination:"none",href:""})})),P=function(){return[{linkDestination:"media",title:Object(U.__)("Media File"),url:"image"===i?c:void 0,icon:ta},{linkDestination:"attachment",title:Object(U.__)("Attachment Page"),url:"image"===i?a:void 0,icon:Object(d.createElement)(H.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(d.createElement)(H.Path,{d:"M0 0h24v24H0V0z",fill:"none"}),Object(d.createElement)(H.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"}))}]},M=Object(d.createElement)(d.Fragment,null,Object(d.createElement)(H.ToggleControl,{label:Object(U.__)("Open in New Tab"),onChange:function(e){var t=function(e){var t=e?"_blank":void 0;return{linkTarget:t,rel:t||u?N(u):void 0}}(e);n(t)},checked:"_blank"===l}),Object(d.createElement)(H.TextControl,{label:Object(U.__)("Link Rel"),value:N(u)||"",onChange:function(e){n({rel:e})},onKeyPress:w,onKeyDown:I}),Object(d.createElement)(H.TextControl,{label:Object(U.__)("Link CSS Class"),value:s||"",onKeyPress:w,onKeyDown:I,onChange:function(e){n({linkClass:e})}})),D=null!==C?C:r,F=(Object(p.find)(P(),["linkDestination",t])||{}).title;return Object(d.createElement)(d.Fragment,null,Object(d.createElement)(H.Button,{icon:"admin-links",className:"components-toolbar__control",label:r?Object(U.__)("Edit link"):Object(U.__)("Insert link"),"aria-expanded":h,onClick:g}),h&&Object(d.createElement)(wc,{onFocusOutside:L(),onClose:x,renderSettings:function(){return M},additionalControls:!D&&Object(d.createElement)(H.NavigableMenu,null,Object(p.map)(P(),(function(e){return Object(d.createElement)(H.MenuItem,{key:e.linkDestination,icon:e.icon,onClick:function(){var t,r,o;E(null),t=e.url,o=P(),r=t?(Object(p.find)(o,(function(e){return e.url===t}))||{linkDestination:"custom"}).linkDestination:"none",n({linkDestination:r,href:t}),T()}},e.title)})))},(!r||k)&&Object(d.createElement)(wc.LinkEditor,{className:"editor-format-toolbar__link-container-content block-editor-format-toolbar__link-container-content",value:D,onChangeInputValue:E,onKeyDown:I,onKeyPress:w,onSubmit:A(),autocompleteRef:S}),r&&!k&&Object(d.createElement)(d.Fragment,null,Object(d.createElement)(wc.LinkViewer,{className:"editor-format-toolbar__link-container-content block-editor-format-toolbar__link-container-content",onKeyPress:w,url:r,onEditLinkClick:B,urlLabel:F}),Object(d.createElement)(H.Button,{icon:"no",label:Object(U.__)("Remove link"),onClick:R}))))},ra=Object(H.createSlotFill)("__experimentalBlockSettingsMenuFirstItem"),oa=ra.Fill,ia=ra.Slot;oa.Slot=ia;var ca=oa,aa=Object(H.createSlotFill)("__experimentalBlockSettingsMenuPluginsExtension"),la=aa.Fill,sa=aa.Slot;la.Slot=sa;var ua=la,da=function(e){var t=e.label,n=e.onPress;return Object(d.createElement)(H.Button,{onClick:n},t)},fa=function(e){var t=e.children;return Object(d.createElement)(d.Fragment,null,t)},ba=[{name:"About",content:'\x3c!-- wp:paragraph {"align":"left"} --\x3e

Visitors will want to know who is on the other side of the page. Use this space to write about yourself, your site, your business, or anything you want. Use the testimonials below to quote others, talking about the same thing – in their own words.

\x3c!-- /wp:paragraph --\x3e'},{name:"Contact",content:'\x3c!-- wp:paragraph {"align":"left"} --\x3e

Let\'s talk 👋 Don\'t hesitate to reach out with the contact information below, or send a message using the form.

\x3c!-- /wp:paragraph --\x3e'}],pa=Object(g.withDispatch)((function(e){var t=e("core/editor").resetEditorBlocks;return{resetContent:function(e){var n=Object(i.parse)(e);return t(n)}}}))((function(e){var t=e.templates,n=void 0===t?ba:t,r=e.resetContent;return Object(d.createElement)(ci,null,Object(d.createElement)(fa,{style:{flexDirection:"row"}},n.map((function(e){var t=e.name,n=e.content;return Object(d.createElement)(da,{key:t,onPress:function(){return r(n)},label:t})}))))})),ha=function(){return Object(g.useSelect)((function(e){var t=e("core/editor").getCurrentPostType,n=e("core/block-editor"),r=n.getBlockOrder,o=n.getBlock,c=(0,n.getSettings)().__experimentalEnablePageTemplates,a=r(),l=0===a.length,s=!l&&o(a[0]),u=1===a.length&&Object(i.isUnmodifiedDefaultBlock)(s),d=l||u,f="page"===t();return c&&d&&f}),[])},ma=Object(h.createHigherOrderComponent)((function(e){return function(t){var n=ha();return Object(d.createElement)(e,Object(u.a)({},t,{showPageTemplatePicker:n}))}}),"__experimentalWithPageTemplatePickerVisible"),ga=Object(g.withSelect)((function(e){return{selectedBlockClientId:e("core/block-editor").getBlockSelectionStart()}}))((function(e){var t=e.selectedBlockClientId;return t&&Object(d.createElement)(H.Button,{isSecondary:!0,className:"block-editor-skip-to-selected-block",onClick:function(){Uo(t).focus()}},Object(U.__)("Skip to the selected block"))})),va=n(144),Oa=n.n(va);function ka(e,t,n){var r=new Oa.a(e);return t&&r.remove("is-style-"+t.name),r.add("is-style-"+n.name),r.value}var ja=Object(h.compose)([Object(g.withSelect)((function(e,t){var n=t.clientId,r=e("core/block-editor").getBlock,o=e("core/blocks").getBlockStyles,c=r(n),a=Object(i.getBlockType)(c.name);return{block:c,className:c.attributes.className||"",styles:o(c.name),type:a}})),Object(g.withDispatch)((function(e,t){var n=t.clientId;return{onChangeClassName:function(t){e("core/block-editor").updateBlockAttributes(n,{className:t})}}}))])((function(e){var t=e.styles,n=e.className,r=e.onChangeClassName,o=e.type,c=e.block,a=e.onSwitch,l=void 0===a?p.noop:a,u=e.onHoverClassName,f=void 0===u?p.noop:u;if(!t||0===t.length)return null;o.styles||Object(p.find)(t,"isDefault")||(t=[{name:"default",label:Object(U._x)("Default","block style"),isDefault:!0}].concat(Object(P.a)(t)));var h=function(e,t){var n=!0,r=!1,o=void 0;try{for(var i,c=new Oa.a(t).values()[Symbol.iterator]();!(n=(i=c.next()).done);n=!0){var a=i.value;if(-1!==a.indexOf("is-style-")){var l=a.substring(9),s=Object(p.find)(e,{name:l});if(s)return s}}}catch(e){r=!0,o=e}finally{try{n||null==c.return||c.return()}finally{if(r)throw o}}return Object(p.find)(e,"isDefault")}(t,n);function m(e){var t=ka(n,h,e);r(t),f(null),l()}return Object(d.createElement)("div",{className:"block-editor-block-styles"},t.map((function(e){var t=ka(n,h,e);return Object(d.createElement)("div",{key:e.name,className:b()("block-editor-block-styles__item",{"is-active":h===e}),onClick:function(){return m(e)},onKeyDown:function(t){ct.ENTER!==t.keyCode&&ct.SPACE!==t.keyCode||(t.preventDefault(),m(e))},onMouseEnter:function(){return f(t)},onMouseLeave:function(){return f(null)},role:"button",tabIndex:"0","aria-label":e.label||e.name},Object(d.createElement)("div",{className:"block-editor-block-styles__item-preview"},Object(d.createElement)(fi,{viewportWidth:500,blocks:o.example?Object(i.getBlockFromExample)(c.name,{attributes:Object(s.a)({},o.example.attributes,{className:t}),innerBlocks:o.example.innerBlocks}):Object(i.cloneBlock)(c,{className:t})})),Object(d.createElement)("div",{className:"block-editor-block-styles__item-label"},e.label||e.name))})))})),ya=n(97);var _a=Object(g.withSelect)((function(e){return{blocks:(0,e("core/block-editor").getMultiSelectedBlocks)()}}))((function(e){var t=e.blocks,n=Object(ya.count)(Object(i.serialize)(t),"words");return Object(d.createElement)("div",{className:"block-editor-multi-selection-inspector__card"},Object(d.createElement)(tt,{icon:Object(d.createElement)(H.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(d.createElement)(H.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm18-4H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z"})),showColors:!0}),Object(d.createElement)("div",{className:"block-editor-multi-selection-inspector__card-content"},Object(d.createElement)("div",{className:"block-editor-multi-selection-inspector__card-title"},Object(U.sprintf)(Object(U._n)("%d block","%d blocks",t.length),t.length)),Object(d.createElement)("div",{className:"block-editor-multi-selection-inspector__card-description"},Object(U.sprintf)(Object(U._n)("%d word","%d words",n),n))))}));function Ca(e){var t=e.blockName,n=Object(g.useSelect)((function(e){var n=e("core/block-editor").getSettings().__experimentalPreferredStyleVariations;return{preferredStyle:Object(p.get)(n,["value",t]),onUpdatePreferredStyleVariations:Object(p.get)(n,["onChange"],null),styles:e("core/blocks").getBlockStyles(t)}}),[t]),r=n.preferredStyle,o=n.onUpdatePreferredStyleVariations,i=n.styles,c=Object(d.useMemo)((function(){return[{label:Object(U.__)("Not set"),value:""}].concat(Object(P.a)(i.map((function(e){return{label:e.label,value:e.name}}))))}),[i]),a=Object(d.useCallback)((function(e){o(t,e)}),[t,o]);return o&&Object(d.createElement)(H.SelectControl,{options:c,value:r||"",label:Object(U.__)("Default Style"),onChange:a})}var Ea=Object(g.withSelect)((function(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,r=t.getSelectedBlockCount,o=t.getBlockName,c=e("core/blocks").getBlockStyles,a=n(),l=a&&o(a),s=a&&Object(i.getBlockType)(l),u=a&&c(l);return{count:r(),hasBlockStyles:u&&u.length>0,selectedBlockName:l,selectedBlockClientId:a,blockType:s}}))((function(e){var t=e.blockType,n=e.count,r=e.hasBlockStyles,o=e.selectedBlockClientId,c=e.selectedBlockName,a=e.showNoBlockSelectedMessage,l=void 0===a||a;if(n>1)return Object(d.createElement)(_a,null);var s=c===Object(i.getUnregisteredTypeHandlerName)();return t&&o&&!s?Object(d.createElement)("div",{className:"block-editor-block-inspector"},Object(d.createElement)(hi,{blockType:t}),r&&Object(d.createElement)("div",null,Object(d.createElement)(H.PanelBody,{title:Object(U.__)("Styles"),initialOpen:!1},Object(d.createElement)(ja,{clientId:o}),Object(d.createElement)(Ca,{blockName:t.name}))),Object(d.createElement)(ye.Slot,{bubblesVirtually:!0}),Object(d.createElement)("div",null,Object(d.createElement)(H.__experimentalSlotFillConsumer,null,(function(e){return(0,e.hasFills)(ac.slotName)&&Object(d.createElement)(H.PanelBody,{className:"block-editor-block-inspector__advanced",title:Object(U.__)("Advanced"),initialOpen:!1},Object(d.createElement)(ac.Slot,{bubblesVirtually:!0}))}))),Object(d.createElement)(ga,{key:"back"})):l?Object(d.createElement)("span",{className:"block-editor-block-inspector__no-blocks"},Object(U.__)("No block selected.")):null}));function Sa(e,t,n,r,o,i,c,a){var l=n+1,s=function(e){return"up"===e?"horizontal"===c?a?"right":"left":"up":"down"===e?"horizontal"===c?a?"left":"right":"down":null};return e>1?function(e,t,n,r,o){var i=t+1;if(o<0&&n)return Object(U.__)("Blocks cannot be moved up as they are already at the top");if(o>0&&r)return Object(U.__)("Blocks cannot be moved down as they are already at the bottom");if(o<0&&!n)return Object(U.sprintf)(Object(U._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,i);if(o>0&&!r)return Object(U.sprintf)(Object(U._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,i)}(e,n,r,o,i):r&&o?Object(U.sprintf)(Object(U.__)("Block %s is the only block, and cannot be moved"),t):i>0&&!o?Object(U.sprintf)(Object(U.__)("Move %1$s block from position %2$d %3$s to position %4$d"),t,l,s("down"),l+1):i>0&&o?Object(U.sprintf)(Object(U.__)("Block %1$s is at the end of the content and can’t be moved %2$s"),t,s("down")):i<0&&!r?Object(U.sprintf)(Object(U.__)("Move %1$s block from position %2$d %3$s to position %4$d"),t,l,s("up"),l-1):i<0&&r?Object(U.sprintf)(Object(U.__)("Block %1$s is at the beginning of the content and can’t be moved %2$s"),t,s("up")):void 0}var wa=Object(d.createElement)(H.SVG,{width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},Object(d.createElement)(H.Polygon,{points:"9,4.5 3.3,10.1 4.8,11.5 9,7.3 13.2,11.5 14.7,10.1 "})),Ia=Object(d.createElement)(H.SVG,{width:"18",height:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},Object(d.createElement)(H.Path,{d:"M4.5 9l5.6-5.7 1.4 1.5L7.3 9l4.2 4.2-1.4 1.5L4.5 9z"})),Ba=Object(d.createElement)(H.SVG,{width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},Object(d.createElement)(H.Polygon,{points:"9,13.5 14.7,7.9 13.2,6.5 9,10.7 4.8,6.5 3.3,7.9 "})),Ta=Object(d.createElement)(H.SVG,{width:"18",height:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},Object(d.createElement)(H.Path,{d:"M13.5 9L7.9 3.3 6.5 4.8 10.7 9l-4.2 4.2 1.4 1.5L13.5 9z"})),xa=Object(d.createElement)(H.SVG,{width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},Object(d.createElement)(H.Path,{d:"M13,8c0.6,0,1-0.4,1-1s-0.4-1-1-1s-1,0.4-1,1S12.4,8,13,8z M5,6C4.4,6,4,6.4,4,7s0.4,1,1,1s1-0.4,1-1S5.6,6,5,6z M5,10 c-0.6,0-1,0.4-1,1s0.4,1,1,1s1-0.4,1-1S5.6,10,5,10z M13,10c-0.6,0-1,0.4-1,1s0.4,1,1,1s1-0.4,1-1S13.6,10,13,10z M9,6 C8.4,6,8,6.4,8,7s0.4,1,1,1s1-0.4,1-1S9.6,6,9,6z M9,10c-0.6,0-1,0.4-1,1s0.4,1,1,1s1-0.4,1-1S9.6,10,9,10z"})),Na=function(e){var t=e.children,n=e.clientIds,r=Object(g.useSelect)((function(e){var t=e("core/block-editor"),r=t.getBlockIndex,o=t.getBlockRootClientId,i=t.getTemplateLock,c=Object(p.castArray)(n),a=1===c.length?o(c[0]):null,l=a?i(a):null;return{index:r(c[0],a),srcRootClientId:a,isDraggable:1===c.length&&"all"!==l}}),[n]),o=r.srcRootClientId,i=r.index,c=r.isDraggable,a=Object(d.useRef)(!1),l=Object(g.useDispatch)("core/block-editor"),s=l.startDraggingBlocks,u=l.stopDraggingBlocks;if(Object(d.useEffect)((function(){return function(){a.current&&u()}}),[]),!c)return null;var f=Object(p.castArray)(n),b="block-".concat(f[0]),h={type:"block",srcIndex:i,srcClientId:f[0],srcRootClientId:o};return Object(d.createElement)(H.Draggable,{elementId:b,transferData:h,onDragStart:function(){s(),a.current=!0},onDragEnd:function(){u(),a.current=!1}},(function(e){var n=e.onDraggableStart,r=e.onDraggableEnd;return t({onDraggableStart:n,onDraggableEnd:r})}))},La=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(E.a)(this,Object(S.a)(t).apply(this,arguments))).state={isFocused:!1},e.onFocus=e.onFocus.bind(Object(w.a)(e)),e.onBlur=e.onBlur.bind(Object(w.a)(e)),e}return Object(I.a)(t,e),Object(C.a)(t,[{key:"onFocus",value:function(){this.setState({isFocused:!0})}},{key:"onBlur",value:function(){this.setState({isFocused:!1})}},{key:"render",value:function(){var e=this.props,t=e.onMoveUp,n=e.onMoveDown,r=e.__experimentalOrientation,o=e.isRTL,i=e.isFirst,c=e.isLast,a=e.clientIds,l=e.blockType,s=e.firstIndex,u=e.isLocked,f=e.instanceId,h=e.isHidden,m=e.rootClientId,g=this.state.isFocused,v=Object(p.castArray)(a).length;if(u||i&&c&&!m)return null;var O=function(e){return"up"===e?"horizontal"===r?o?Ta:Ia:wa:"down"===e?"horizontal"===r?o?Ia:Ta:Ba:null},k=function(e){return"up"===e?"horizontal"===r?o?"right":"left":"up":"down"===e?"horizontal"===r?o?"left":"right":"down":null};return Object(d.createElement)(H.ToolbarGroup,{className:b()("block-editor-block-mover",{"is-visible":g||!h,"is-horizontal":"horizontal"===r})},Object(d.createElement)(H.Button,{className:"block-editor-block-mover__control",onClick:i?null:t,icon:O("up"),label:Object(U.sprintf)(Object(U.__)("Move %s"),k("up")),"aria-describedby":"block-editor-block-mover__up-description-".concat(f),"aria-disabled":i,onFocus:this.onFocus,onBlur:this.onBlur}),Object(d.createElement)(Na,{clientIds:a},(function(e){var t=e.onDraggableStart,n=e.onDraggableEnd;return Object(d.createElement)(H.Button,{icon:xa,className:"block-editor-block-mover__control-drag-handle block-editor-block-mover__control","aria-hidden":"true",tabIndex:"-1",onDragStart:t,onDragEnd:n,draggable:!0})})),Object(d.createElement)(H.Button,{className:"block-editor-block-mover__control",onClick:c?null:n,icon:O("down"),label:Object(U.sprintf)(Object(U.__)("Move %s"),k("down")),"aria-describedby":"block-editor-block-mover__down-description-".concat(f),"aria-disabled":c,onFocus:this.onFocus,onBlur:this.onBlur}),Object(d.createElement)("span",{id:"block-editor-block-mover__up-description-".concat(f),className:"block-editor-block-mover__description"},Sa(v,l&&l.title,s,i,c,-1,r,o)),Object(d.createElement)("span",{id:"block-editor-block-mover__down-description-".concat(f),className:"block-editor-block-mover__description"},Sa(v,l&&l.title,s,i,c,1,r,o)))}}]),t}(d.Component),Aa=Object(h.compose)(Object(g.withSelect)((function(e,t){var n=t.clientIds,r=e("core/block-editor"),o=r.getBlock,c=r.getBlockIndex,a=r.getTemplateLock,l=r.getBlockRootClientId,s=r.getBlockOrder,u=Object(p.castArray)(n),d=Object(p.first)(u),f=o(d),b=l(Object(p.first)(u)),h=s(b),m=c(d,b),g=c(Object(p.last)(u),b),v=(0,e("core/block-editor").getSettings)().isRTL;return{blockType:f?Object(i.getBlockType)(f.name):null,isLocked:"all"===a(b),rootClientId:b,firstIndex:m,isRTL:v,isFirst:0===m,isLast:g===h.length-1}})),Object(g.withDispatch)((function(e,t){var n=t.clientIds,r=t.rootClientId,o=e("core/block-editor"),i=o.moveBlocksDown,c=o.moveBlocksUp;return{onMoveDown:Object(p.partial)(i,n,r),onMoveUp:Object(p.partial)(c,n,r)}})),h.withInstanceId)(La),Ra=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(E.a)(this,Object(S.a)(t).apply(this,arguments))).bindContainer=e.bindContainer.bind(Object(w.a)(e)),e.clearSelectionIfFocusTarget=e.clearSelectionIfFocusTarget.bind(Object(w.a)(e)),e}return Object(I.a)(t,e),Object(C.a)(t,[{key:"bindContainer",value:function(e){this.container=e}},{key:"clearSelectionIfFocusTarget",value:function(e){var t=this.props,n=t.hasSelectedBlock,r=t.hasMultiSelection,o=t.clearSelectedBlock,i=n||r;e.target===this.container&&i&&o()}},{key:"render",value:function(){return Object(d.createElement)("div",Object(u.a)({tabIndex:-1,onFocus:this.clearSelectionIfFocusTarget,ref:this.bindContainer},Object(p.omit)(this.props,["clearSelectedBlock","hasSelectedBlock","hasMultiSelection"])))}}]),t}(d.Component),Pa=Object(h.compose)([Object(g.withSelect)((function(e){var t=e("core/block-editor"),n=t.hasSelectedBlock,r=t.hasMultiSelection;return{hasSelectedBlock:n(),hasMultiSelection:r()}})),Object(g.withDispatch)((function(e){return{clearSelectedBlock:e("core/block-editor").clearSelectedBlock}}))])(Ra);var Ma=Object(h.compose)([Object(g.withSelect)((function(e,t){var n=e("core/block-editor"),r=n.canInsertBlockType,o=n.getBlockRootClientId,c=n.getBlocksByClientId,a=n.getTemplateLock,l=e("core/blocks").getDefaultBlockName,s=c(t.clientIds),u=o(t.clientIds[0]);return{blocks:s,canDuplicate:Object(p.every)(s,(function(e){return!!e&&Object(i.hasBlockSupport)(e.name,"multiple",!0)&&r(e.name,u)})),canInsertDefaultBlock:r(l(),u),extraProps:t,isLocked:!!a(u),rootClientId:u}})),Object(g.withDispatch)((function(e,t,n){var r=n.select,o=t.clientIds,c=t.blocks,a=e("core/block-editor"),l=a.removeBlocks,s=a.replaceBlocks,u=a.duplicateBlocks,d=a.insertAfterBlock,f=a.insertBeforeBlock;return{onDuplicate:function(){return u(o)},onRemove:function(){l(o)},onInsertBefore:function(){f(Object(p.first)(Object(p.castArray)(o)))},onInsertAfter:function(){d(Object(p.last)(Object(p.castArray)(o)))},onGroup:function(){if(c.length){var e=(0,r("core/blocks").getGroupingBlockName)(),t=Object(i.switchToBlockType)(c,e);t&&s(o,t)}},onUngroup:function(){if(c.length){var e=c[0].innerBlocks;e.length&&s(o,e)}}}}))])((function(e){var t=e.canDuplicate,n=e.canInsertDefaultBlock;return(0,e.children)({canDuplicate:t,canInsertDefaultBlock:n,isLocked:e.isLocked,onDuplicate:e.onDuplicate,onGroup:e.onGroup,onInsertAfter:e.onInsertAfter,onInsertBefore:e.onInsertBefore,onRemove:e.onRemove,onUngroup:e.onUngroup})}));var Da=Object(h.compose)([Object(g.withSelect)((function(e,t){var n=t.clientId,r=e("core/block-editor"),o=r.getBlock,c=r.getBlockMode,a=r.getSettings,l=o(n),s=a().codeEditingEnabled;return{mode:c(n),blockType:l?Object(i.getBlockType)(l.name):null,isCodeEditingEnabled:s}})),Object(g.withDispatch)((function(e,t){var n=t.onToggle,r=void 0===n?p.noop:n,o=t.clientId;return{onToggleMode:function(){e("core/block-editor").toggleBlockMode(o),r()}}}))])((function(e){var t=e.blockType,n=e.mode,r=e.onToggleMode,o=e.small,c=void 0!==o&&o,a=e.isCodeEditingEnabled,l=void 0===a||a;if(!Object(i.hasBlockSupport)(t,"html",!0)||!l)return null;var s="visual"===n?Object(U.__)("Edit as HTML"):Object(U.__)("Edit visually");return Object(d.createElement)(H.MenuItem,{className:"block-editor-block-settings-menu__control",onClick:r,icon:"html"},!c&&s)}));function Fa(e){var t=e.shouldRender,n=e.onClick,r=e.small;if(!t)return null;var o=Object(U.__)("Convert to Blocks");return Object(d.createElement)(H.MenuItem,{className:"block-editor-block-settings-menu__control",onClick:n,icon:"screenoptions"},!r&&o)}var Ua=Object(h.compose)(Object(g.withSelect)((function(e,t){var n=t.clientId,r=e("core/block-editor").getBlock(n);return{block:r,shouldRender:r&&"core/html"===r.name}})),Object(g.withDispatch)((function(e,t){var n=t.block;return{onClick:function(){return e("core/block-editor").replaceBlocks(n.clientId,Object(i.rawHandler)({HTML:Object(i.getBlockContent)(n)}))}}})))(Fa),Ha=Object(h.compose)(Object(g.withSelect)((function(e,t){var n=t.clientId,r=e("core/block-editor").getBlock(n);return{block:r,shouldRender:r&&r.name===Object(i.getFreeformContentHandlerName)()}})),Object(g.withDispatch)((function(e,t){var n=t.block;return{onClick:function(){return e("core/block-editor").replaceBlocks(n.clientId,Object(i.rawHandler)({HTML:Object(i.serialize)(n)}))}}})))(Fa),Va={className:"block-editor-block-settings-menu__popover",position:"bottom right"};var za=function(e){var t=e.clientIds,n=Object(p.castArray)(t),r=n.length,o=n[0],i=Object(g.useSelect)((function(e){var t=e("core/keyboard-shortcuts").getShortcutRepresentation;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")}}),[]);return Object(d.createElement)(Ma,{clientIds:t},(function(e){var n=e.canDuplicate,c=e.canInsertDefaultBlock,a=e.isLocked,l=e.onDuplicate,s=e.onInsertAfter,u=e.onInsertBefore,f=e.onRemove;return Object(d.createElement)(H.Toolbar,null,Object(d.createElement)(H.DropdownMenu,{icon:"ellipsis",label:Object(U.__)("More options"),className:"block-editor-block-settings-menu",popoverProps:Va},(function(e){var b=e.onClose;return Object(d.createElement)(d.Fragment,null,Object(d.createElement)(H.MenuGroup,null,Object(d.createElement)(ca.Slot,{fillProps:{onClose:b}}),1===r&&Object(d.createElement)(Ha,{clientId:o}),1===r&&Object(d.createElement)(Ua,{clientId:o}),n&&Object(d.createElement)(H.MenuItem,{className:"block-editor-block-settings-menu__control",onClick:Object(p.flow)(b,l),icon:"admin-page",shortcut:i.duplicate},Object(U.__)("Duplicate")),c&&Object(d.createElement)(d.Fragment,null,Object(d.createElement)(H.MenuItem,{className:"block-editor-block-settings-menu__control",onClick:Object(p.flow)(b,u),icon:"insert-before",shortcut:i.insertBefore},Object(U.__)("Insert Before")),Object(d.createElement)(H.MenuItem,{className:"block-editor-block-settings-menu__control",onClick:Object(p.flow)(b,s),icon:"insert-after",shortcut:i.insertAfter},Object(U.__)("Insert After"))),1===r&&Object(d.createElement)(Da,{clientId:o,onToggle:b}),Object(d.createElement)(ua.Slot,{fillProps:{clientIds:t,onClose:b}})),Object(d.createElement)(H.MenuGroup,null,!a&&Object(d.createElement)(H.MenuItem,{className:"block-editor-block-settings-menu__control",onClick:Object(p.flow)(b,f),icon:"trash",shortcut:i.remove},Object(U._n)("Remove Block","Remove Blocks",r))))})))}))},Ka=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(E.a)(this,Object(S.a)(t).apply(this,arguments))).state={hoveredClassName:null},e.onHoverClassName=e.onHoverClassName.bind(Object(w.a)(e)),e}return Object(I.a)(t,e),Object(C.a)(t,[{key:"onHoverClassName",value:function(e){this.setState({hoveredClassName:e})}},{key:"render",value:function(){var e=this,t=this.props,n=t.blocks,r=t.onTransform,o=t.inserterItems,c=t.hasBlockStyles,a=this.state.hoveredClassName;if(!n||!n.length)return null;var l,u=a?n[0]:null,f=a?Object(i.getBlockType)(u.name):null,b=Object(p.mapKeys)(o,(function(e){return e.name})),h=Object(p.orderBy)(Object(p.filter)(Object(i.getPossibleBlockTransformations)(n),(function(e){return e&&!!b[e.name]})),(function(e){return b[e.name].frecency}),"desc");if(1===Object(p.uniq)(Object(p.map)(n,"name")).length){var m=n[0].name,g=Object(i.getBlockType)(m);l=g.icon}else l="layout";return c||h.length?Object(d.createElement)(H.Dropdown,{position:"bottom right",className:"block-editor-block-switcher",contentClassName:"block-editor-block-switcher__popover",renderToggle:function(e){var t=e.onToggle,r=e.isOpen,o=1===n.length?Object(U.__)("Change block type or style"):Object(U.sprintf)(Object(U._n)("Change type of %d block","Change type of %d blocks",n.length),n.length);return Object(d.createElement)(H.Toolbar,null,Object(d.createElement)(H.Button,{className:"block-editor-block-switcher__toggle",onClick:t,"aria-haspopup":"true","aria-expanded":r,label:o,onKeyDown:function(e){r||e.keyCode!==ct.DOWN||(e.preventDefault(),e.stopPropagation(),t())},showTooltip:!0,icon:Object(d.createElement)(d.Fragment,null,Object(d.createElement)(tt,{icon:l,showColors:!0}),Object(d.createElement)(H.SVG,{className:"block-editor-block-switcher__transform",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(d.createElement)(H.Path,{d:"M6.5 8.9c.6-.6 1.4-.9 2.2-.9h6.9l-1.3 1.3 1.4 1.4L19.4 7l-3.7-3.7-1.4 1.4L15.6 6H8.7c-1.4 0-2.6.5-3.6 1.5l-2.8 2.8 1.4 1.4 2.8-2.8zm13.8 2.4l-2.8 2.8c-.6.6-1.3.9-2.1.9h-7l1.3-1.3-1.4-1.4L4.6 16l3.7 3.7 1.4-1.4L8.4 17h6.9c1.3 0 2.6-.5 3.5-1.5l2.8-2.8-1.3-1.4z"})))}))},renderContent:function(t){var o=t.onClose;return Object(d.createElement)(d.Fragment,null,(c||0!==h.length)&&Object(d.createElement)("div",{className:"block-editor-block-switcher__container"},c&&Object(d.createElement)(H.PanelBody,{title:Object(U.__)("Block Styles"),initialOpen:!0},Object(d.createElement)(ja,{clientId:n[0].clientId,onSwitch:o,onHoverClassName:e.onHoverClassName})),0!==h.length&&Object(d.createElement)(H.PanelBody,{title:Object(U.__)("Transform To:"),initialOpen:!0},Object(d.createElement)(pi,{items:h.map((function(e){return{id:e.name,icon:e.icon,title:e.title}})),onSelect:function(e){r(n,e.id),o()}}))),null!==a&&Object(d.createElement)("div",{className:"block-editor-block-switcher__preview"},Object(d.createElement)("div",{className:"block-editor-block-switcher__preview-title"},Object(U.__)("Preview")),Object(d.createElement)(fi,{viewportWidth:500,blocks:f.example?Object(i.getBlockFromExample)(u.name,{attributes:Object(s.a)({},f.example.attributes,{className:a}),innerBlocks:f.example.innerBlocks}):Object(i.cloneBlock)(u,{className:a})})))}}):Object(d.createElement)(H.Toolbar,null,Object(d.createElement)(H.Button,{disabled:!0,className:"block-editor-block-switcher__no-switcher-icon",label:Object(U.__)("Block icon"),icon:Object(d.createElement)(tt,{icon:l,showColors:!0})}))}}]),t}(d.Component),Ga=Object(h.compose)(Object(g.withSelect)((function(e,t){var n=t.clientIds,r=e("core/block-editor"),o=r.getBlocksByClientId,i=r.getBlockRootClientId,c=r.getInserterItems,a=e("core/blocks").getBlockStyles,l=i(Object(p.first)(Object(p.castArray)(n))),s=o(n),u=s&&1===s.length?s[0]:null,d=u&&a(u.name);return{blocks:s,inserterItems:c(l),hasBlockStyles:d&&d.length>0}})),Object(g.withDispatch)((function(e,t){return{onTransform:function(n,r){e("core/block-editor").replaceBlocks(t.clientIds,Object(i.switchToBlockType)(n,r))}}})))(Ka);var Wa=Object(g.withSelect)((function(e){var t=e("core/block-editor").getMultiSelectedBlockClientIds();return{isMultiBlockSelection:t.length>1,selectedBlockClientIds:t}}))((function(e){var t=e.isMultiBlockSelection,n=e.selectedBlockClientIds;return t?Object(d.createElement)(Ga,{key:"switcher",clientIds:n}):null}));function qa(e){var t=e.moverDirection,n=e.hasMovers,r=void 0===n||n,o=Object(g.useSelect)((function(e){var t=e("core/block-editor"),n=t.getBlockMode,r=t.getSelectedBlockClientIds,o=t.isBlockValid,i=r();return{blockClientIds:i,isValid:1===i.length?o(i[0]):null,mode:1===i.length?n(i[0]):null}}),[]),i=o.blockClientIds,c=o.isValid,a=o.mode;return 0===i.length?null:i.length>1?Object(d.createElement)("div",{className:"block-editor-block-toolbar"},r&&Object(d.createElement)(Aa,{clientIds:i,__experimentalOrientation:t}),Object(d.createElement)(Wa,null),Object(d.createElement)(za,{clientIds:i})):Object(d.createElement)("div",{className:"block-editor-block-toolbar"},r&&Object(d.createElement)(Aa,{clientIds:i,__experimentalOrientation:t}),"visual"===a&&c&&Object(d.createElement)(d.Fragment,null,Object(d.createElement)(Ga,{clientIds:i}),Object(d.createElement)(Ye.Slot,{bubblesVirtually:!0,className:"block-editor-block-toolbar__slot"}),Object(d.createElement)(et.Slot,{bubblesVirtually:!0,className:"block-editor-block-toolbar__slot"})),Object(d.createElement)(za,{clientIds:i}))}var $a=Object(h.compose)([Object(g.withDispatch)((function(e,t,n){var r=(0,n.select)("core/block-editor"),o=r.getBlocksByClientId,c=r.getSelectedBlockClientIds,a=r.hasMultiSelection,l=r.getSettings,s=e("core/block-editor"),u=s.removeBlocks,d=s.replaceBlocks,f=l().__experimentalCanUserUseUnfilteredHTML;return{handler:function(e){var t=c();if(0!==t.length&&(a()||!Object(vo.documentHasSelection)())){if(e.preventDefault(),"copy"===e.type||"cut"===e.type){var n=o(t),r=Object(i.serialize)(n);e.clipboardData.setData("text/plain",r),e.clipboardData.setData("text/html",r)}if("cut"===e.type)u(t);else if("paste"===e.type){var l=function(e){var t=e.clipboardData,n=t.items,r=t.files;n=Object(p.isNil)(n)?[]:n,r=Object(p.isNil)(r)?[]:r;var o="",i="";try{o=t.getData("text/plain"),i=t.getData("text/html")}catch(e){try{i=t.getData("Text")}catch(e){return}}return r=Array.from(r),Array.from(n).forEach((function(e){if(e.getAsFile){var t=e.getAsFile();if(t){var n=t.name,o=t.type,i=t.size;Object(p.find)(r,{name:n,type:o,size:i})||r.push(t)}}})),(r=r.filter((function(e){var t=e.type;return/^image\/(?:jpe?g|png|gif)$/.test(t)}))).length&&!i&&(i=r.map((function(e){return'')})).join(""),o=""),{html:i,plainText:o}}(e),s=l.plainText,b=l.html,h=Object(i.pasteHandler)({HTML:b,plainText:s,mode:"BLOCKS",canUserUseUnfilteredHTML:f});d(t,h)}}}}}))])((function(e){var t=e.children,n=e.handler;return Object(d.createElement)("div",{onCopy:n,onCut:n,onPaste:n},t)}));function Ya(){var e=Object(g.useSelect)((function(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientIds,r=t.getBlockOrder;return{clientIds:n(),rootBlocksClientIds:r()}}),[]),t=e.clientIds,n=e.rootBlocksClientIds,r=Object(g.useDispatch)("core/block-editor"),o=r.duplicateBlocks,i=r.removeBlocks,c=r.insertAfterBlock,a=r.insertBeforeBlock,s=r.multiSelect,u=r.clearSelectedBlock;return Object(l.useShortcut)("core/block-editor/duplicate",Object(d.useCallback)((function(e){e.preventDefault(),o(t)}),[t,o]),{bindGlobal:!0,isDisabled:0===t.length}),Object(l.useShortcut)("core/block-editor/remove",Object(d.useCallback)((function(e){e.preventDefault(),i(t)}),[t,i]),{bindGlobal:!0,isDisabled:0===t.length}),Object(l.useShortcut)("core/block-editor/insert-after",Object(d.useCallback)((function(e){e.preventDefault(),c(Object(p.last)(t))}),[t,c]),{bindGlobal:!0,isDisabled:0===t.length}),Object(l.useShortcut)("core/block-editor/insert-before",Object(d.useCallback)((function(e){e.preventDefault(),a(Object(p.first)(t))}),[t,a]),{bindGlobal:!0,isDisabled:0===t.length}),Object(l.useShortcut)("core/block-editor/delete-multi-selection",Object(d.useCallback)((function(e){e.preventDefault(),i(t)}),[t,i]),{isDisabled:t.length<1}),Object(l.useShortcut)("core/block-editor/select-all",Object(d.useCallback)((function(e){e.preventDefault(),s(Object(p.first)(n),Object(p.last)(n))}),[n,s])),Object(l.useShortcut)("core/block-editor/unselect",Object(d.useCallback)((function(e){e.preventDefault(),u(),window.getSelection().removeAllRanges()}),[t,u]),{isDisabled:t.length<2}),null}Ya.Register=function(){var e=Object(g.useDispatch)("core/keyboard-shortcuts").registerShortcut;return Object(d.useEffect)((function(){e({name:"core/block-editor/duplicate",category:"block",description:Object(U.__)("Duplicate the selected block(s)."),keyCombination:{modifier:"primaryShift",character:"d"}}),e({name:"core/block-editor/remove",category:"block",description:Object(U.__)("Remove the selected block(s)."),keyCombination:{modifier:"access",character:"z"}}),e({name:"core/block-editor/insert-before",category:"block",description:Object(U.__)("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(U.__)("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(U.__)("Remove multiple selected blocks."),keyCombination:{character:"del"},aliases:[{character:"backspace"}]}),e({name:"core/block-editor/select-all",category:"selection",description:Object(U.__)("Select all text when typing. Press again to select all blocks."),keyCombination:{modifier:"primary",character:"a"}}),e({name:"core/block-editor/unselect",category:"selections",description:Object(U.__)("Clear selection."),keyCombination:{character:"escape"}}),e({name:"core/block-editor/focus-toolbar",category:"global",description:Object(U.__)("Navigate to the nearest toolbar."),keyCombination:{modifier:"alt",character:"F10"}})}),[e]),null};var Xa=Ya;function Za(){var e=Object(g.useSelect)((function(e){var t=e("core/block-editor"),n=t.getBlockSelectionEnd,r=t.isMultiSelecting;return{selectionEnd:n(),isMultiSelecting:r()}}),[]),t=e.selectionEnd,n=e.isMultiSelecting;return Object(d.useEffect)((function(){if(t&&!n){var e=Fo(t);if(e){var r=Object(vo.getScrollContainer)(e);r&&it()(e,r,{onlyScrollIfNeeded:!0})}}}),[t,n]),null}var Ja=[ct.UP,ct.RIGHT,ct.DOWN,ct.LEFT,ct.ENTER,ct.BACKSPACE];var Qa=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(E.a)(this,Object(S.a)(t).apply(this,arguments))).stopTypingOnSelectionUncollapse=e.stopTypingOnSelectionUncollapse.bind(Object(w.a)(e)),e.stopTypingOnMouseMove=e.stopTypingOnMouseMove.bind(Object(w.a)(e)),e.startTypingInTextField=e.startTypingInTextField.bind(Object(w.a)(e)),e.stopTypingOnNonTextField=e.stopTypingOnNonTextField.bind(Object(w.a)(e)),e.stopTypingOnEscapeKey=e.stopTypingOnEscapeKey.bind(Object(w.a)(e)),e.onKeyDown=Object(p.over)([e.startTypingInTextField,e.stopTypingOnEscapeKey]),e.lastMouseMove=null,e}return Object(I.a)(t,e),Object(C.a)(t,[{key:"componentDidMount",value:function(){this.toggleEventBindings(this.props.isTyping)}},{key:"componentDidUpdate",value:function(e){this.props.isTyping!==e.isTyping&&this.toggleEventBindings(this.props.isTyping)}},{key:"componentWillUnmount",value:function(){this.toggleEventBindings(!1)}},{key:"toggleEventBindings",value:function(e){var t=e?"addEventListener":"removeEventListener";document[t]("selectionchange",this.stopTypingOnSelectionUncollapse),document[t]("mousemove",this.stopTypingOnMouseMove)}},{key:"stopTypingOnMouseMove",value:function(e){var t=e.clientX,n=e.clientY;if(this.lastMouseMove){var r=this.lastMouseMove,o=r.clientX,i=r.clientY;o===t&&i===n||this.props.onStopTyping()}this.lastMouseMove={clientX:t,clientY:n}}},{key:"stopTypingOnSelectionUncollapse",value:function(){var e=window.getSelection();e.rangeCount>0&&e.getRangeAt(0).collapsed||this.props.onStopTyping()}},{key:"stopTypingOnEscapeKey",value:function(e){this.props.isTyping&&e.keyCode===ct.ESCAPE&&this.props.onStopTyping()}},{key:"startTypingInTextField",value:function(e){var t=this.props,n=t.isTyping,r=t.onStartTyping,o=e.type,i=e.target;n||!Object(vo.isTextField)(i)||i.closest(".block-editor-block-toolbar")||("keydown"!==o||function(e){var t=e.keyCode;return!e.shiftKey&&Object(p.includes)(Ja,t)}(e))&&r()}},{key:"stopTypingOnNonTextField",value:function(e){var t=this;e.persist(),this.props.setTimeout((function(){var n=t.props,r=n.isTyping,o=n.onStopTyping,i=e.target;r&&!Object(vo.isTextField)(i)&&o()}))}},{key:"render",value:function(){var e=this.props.children;return Object(d.createElement)("div",{onFocus:this.stopTypingOnNonTextField,onKeyPress:this.startTypingInTextField,onKeyDown:this.onKeyDown},e)}}]),t}(d.Component),el=Object(h.compose)([Object(g.withSelect)((function(e){return{isTyping:(0,e("core/block-editor").isTyping)()}})),Object(g.withDispatch)((function(e){var t=e("core/block-editor");return{onStartTyping:t.startTyping,onStopTyping:t.stopTyping}})),h.withSafeTimeout])(Qa);function tl(){return Ec()("PreserveScrollInReorder component",{hint:"This behavior is now built-in the block list"}),null}var nl=-1!==window.navigator.userAgent.indexOf("Trident"),rl=new Set([ct.UP,ct.DOWN,ct.LEFT,ct.RIGHT]),ol=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(E.a)(this,Object(S.a)(t).apply(this,arguments))).ref=Object(d.createRef)(),e.onKeyDown=e.onKeyDown.bind(Object(w.a)(e)),e.addSelectionChangeListener=e.addSelectionChangeListener.bind(Object(w.a)(e)),e.computeCaretRectOnSelectionChange=e.computeCaretRectOnSelectionChange.bind(Object(w.a)(e)),e.maintainCaretPosition=e.maintainCaretPosition.bind(Object(w.a)(e)),e.computeCaretRect=e.computeCaretRect.bind(Object(w.a)(e)),e.onScrollResize=e.onScrollResize.bind(Object(w.a)(e)),e.isSelectionEligibleForScroll=e.isSelectionEligibleForScroll.bind(Object(w.a)(e)),e}return Object(I.a)(t,e),Object(C.a)(t,[{key:"componentDidMount",value:function(){window.addEventListener("scroll",this.onScrollResize,!0),window.addEventListener("resize",this.onScrollResize,!0)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("scroll",this.onScrollResize,!0),window.removeEventListener("resize",this.onScrollResize,!0),document.removeEventListener("selectionchange",this.computeCaretRectOnSelectionChange),this.onScrollResize.rafId&&window.cancelAnimationFrame(this.onScrollResize.rafId),this.onKeyDown.rafId&&window.cancelAnimationFrame(this.onKeyDown.rafId)}},{key:"computeCaretRect",value:function(){this.isSelectionEligibleForScroll()&&(this.caretRect=Object(vo.computeCaretRect)())}},{key:"computeCaretRectOnSelectionChange",value:function(){document.removeEventListener("selectionchange",this.computeCaretRectOnSelectionChange),this.computeCaretRect()}},{key:"onScrollResize",value:function(){var e=this;this.onScrollResize.rafId||(this.onScrollResize.rafId=window.requestAnimationFrame((function(){e.computeCaretRect(),delete e.onScrollResize.rafId})))}},{key:"isSelectionEligibleForScroll",value:function(){return this.props.selectedBlockClientId&&this.ref.current.contains(document.activeElement)&&document.activeElement.isContentEditable}},{key:"isLastEditableNode",value:function(){var e=this.ref.current.querySelectorAll('[contenteditable="true"]');return e[e.length-1]===document.activeElement}},{key:"maintainCaretPosition",value:function(e){var t=e.keyCode;if(this.isSelectionEligibleForScroll()){var n=Object(vo.computeCaretRect)();if(n)if(this.caretRect)if(rl.has(t))this.caretRect=n;else{var r=n.top-this.caretRect.top;if(0!==r){var o=Object(vo.getScrollContainer)(this.ref.current);if(o){var i=o===document.body,c=i?window.scrollY:o.scrollTop,a=i?0:o.getBoundingClientRect().top,l=i?this.caretRect.top/window.innerHeight:(this.caretRect.top-a)/(window.innerHeight-a);if(0===c&&l<.75&&this.isLastEditableNode())this.caretRect=n;else{var s=i?window.innerHeight:o.clientHeight;this.caretRect.top+this.caretRect.height>a+s||this.caretRect.top1&&void 0!==arguments[1])||arguments[1],r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return t=Array.isArray(e)?e:!0===e?pl:[],!r||!0===e&&!n?p.without.apply(void 0,[t].concat(hl)):t}var gl=Object(h.createHigherOrderComponent)((function(e){return function(t){var n=t.name,r=ml(Object(i.getBlockSupport)(n,"align"),Object(i.hasBlockSupport)(n,"alignWide",!0));return[r.length>0&&t.isSelected&&Object(d.createElement)(Ye,{key:"align-controls"},Object(d.createElement)(Ve,{value:t.attributes.align,onChange:function(e){if(!e){var n=Object(i.getBlockType)(t.name);Object(p.get)(n,["attributes","align","default"])&&(e="")}t.setAttributes({align:e})},controls:r})),Object(d.createElement)(e,Object(u.a)({key:"edit"},t))]}}),"withToolbarControls"),vl=Object(h.createHigherOrderComponent)((function(e){return function(t){var n=t.name,r=t.attributes.align,o=Object(g.useSelect)((function(e){return!!e("core/block-editor").getSettings().alignWide}),[]);if(void 0===r)return Object(d.createElement)(e,t);var c=ml(Object(i.getBlockSupport)(n,"align"),Object(i.hasBlockSupport)(n,"alignWide",!0),o),a=t.wrapperProps;return Object(p.includes)(c,r)&&(a=Object(s.a)({},a,{"data-align":r})),Object(d.createElement)(e,Object(u.a)({},t,{wrapperProps:a}))}}));Object(m.addFilter)("blocks.registerBlockType","core/align/addAttribute",(function(e){return Object(p.has)(e.attributes,["align","type"])?e:(Object(i.hasBlockSupport)(e,"align")&&(e.attributes=Object(p.assign)(e.attributes,{align:{type:"string"}})),e)})),Object(m.addFilter)("editor.BlockListBlock","core/editor/align/with-data-align",vl),Object(m.addFilter)("editor.BlockEdit","core/editor/align/with-toolbar-controls",gl),Object(m.addFilter)("blocks.getSaveContent.extraProps","core/align/addAssignedAlign",(function(e,t,n){var r=n.align,o=Object(i.getBlockSupport)(t,"align"),c=Object(i.hasBlockSupport)(t,"alignWide",!0);return Object(p.includes)(ml(o,c),r)&&(e.className=b()("align".concat(r),e.className)),e}));var Ol=/[\s#]/g;var kl=Object(h.createHigherOrderComponent)((function(e){return function(t){return Object(i.hasBlockSupport)(t.name,"anchor")&&t.isSelected?Object(d.createElement)(d.Fragment,null,Object(d.createElement)(e,t),Object(d.createElement)(ac,null,Object(d.createElement)(H.TextControl,{className:"html-anchor-control",label:Object(U.__)("HTML Anchor"),help:Object(d.createElement)(d.Fragment,null,Object(U.__)("Enter a word or two — without spaces — to make a unique web address just for this heading, called an “anchor.” Then, you’ll be able to link directly to this section of your page."),Object(d.createElement)(H.ExternalLink,{href:"https://wordpress.org/support/article/page-jumps/"},Object(U.__)("Learn more about anchors"))),value:t.attributes.anchor||"",onChange:function(e){e=e.replace(Ol,"-"),t.setAttributes({anchor:e})}}))):Object(d.createElement)(e,t)}}),"withInspectorControl");Object(m.addFilter)("blocks.registerBlockType","core/anchor/attribute",(function(e){return Object(p.has)(e.attributes,["anchor","type"])?e:(Object(i.hasBlockSupport)(e,"anchor")&&(e.attributes=Object(p.assign)(e.attributes,{anchor:{type:"string",source:"attribute",attribute:"id",selector:"*"}})),e)})),Object(m.addFilter)("editor.BlockEdit","core/editor/anchor/with-inspector-control",kl),Object(m.addFilter)("blocks.getSaveContent.extraProps","core/anchor/save-props",(function(e,t,n){return Object(i.hasBlockSupport)(t,"anchor")&&(e.id=""===n.anchor?null:n.anchor),e}));var jl=Object(h.createHigherOrderComponent)((function(e){return function(t){return Object(i.hasBlockSupport)(t.name,"customClassName",!0)&&t.isSelected?Object(d.createElement)(d.Fragment,null,Object(d.createElement)(e,t),Object(d.createElement)(ac,null,Object(d.createElement)(H.TextControl,{label:Object(U.__)("Additional CSS Class(es)"),value:t.attributes.className||"",onChange:function(e){t.setAttributes({className:""!==e?e:void 0})},help:Object(U.__)("Separate multiple classes with spaces.")}))):Object(d.createElement)(e,t)}}),"withInspectorControl");function yl(e){e="
".concat(e,"
");var t=Object(i.parseWithAttributeSchema)(e,{type:"string",source:"attribute",selector:"[data-custom-class-name] > *",attribute:"class"});return t?t.trim().split(/\s+/):[]}Object(m.addFilter)("blocks.registerBlockType","core/custom-class-name/attribute",(function(e){return Object(i.hasBlockSupport)(e,"customClassName",!0)&&(e.attributes=Object(p.assign)(e.attributes,{className:{type:"string"}})),e})),Object(m.addFilter)("editor.BlockEdit","core/editor/custom-class-name/with-inspector-control",jl),Object(m.addFilter)("blocks.getSaveContent.extraProps","core/custom-class-name/save-props",(function(e,t,n){return Object(i.hasBlockSupport)(t,"customClassName",!0)&&n.className&&(e.className=b()(e.className,n.className)),e})),Object(m.addFilter)("blocks.getBlockAttributes","core/custom-class-name/addParsedDifference",(function(e,t,n){if(Object(i.hasBlockSupport)(t,"customClassName",!0)){var r=Object(p.omit)(e,["className"]),o=Object(i.getSaveContent)(t,r),c=yl(o),a=yl(n),l=Object(p.difference)(a,c);l.length?e.className=l.join(" "):o&&delete e.className}return e})),Object(m.addFilter)("blocks.getSaveContent.extraProps","core/generated-class-name/save-props",(function(e,t){return Object(i.hasBlockSupport)(t,"className",!0)&&("string"==typeof e.className?e.className=Object(p.uniq)([Object(i.getBlockDefaultClassName)(t.name)].concat(Object(P.a)(e.className.split(" ")))).join(" ").trim():e.className=Object(i.getBlockDefaultClassName)(t.name)),e}));var _l=n(218),Cl=n.n(_l),El=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,Sl=function(e,t){t=t||{};var n=1,r=1;function o(e){var t=e.match(/\n/g);t&&(n+=t.length);var o=e.lastIndexOf("\n");r=~o?e.length-o:r+e.length}function i(){var e={line:n,column:r};return function(t){return t.position=new c(e),b(),t}}function c(e){this.start=e,this.end={line:n,column:r},this.source=t.source}c.prototype.content=e;var a=[];function l(o){var i=new Error(t.source+":"+n+":"+r+": "+o);if(i.reason=o,i.filename=t.source,i.line=n,i.column=r,i.source=e,!t.silent)throw i;a.push(i)}function s(){return f(/^{\s*/)}function u(){return f(/^}/)}function d(){var t,n=[];for(b(),p(n);e.length&&"}"!==e.charAt(0)&&(t=E()||S());)!1!==t&&(n.push(t),p(n));return n}function f(t){var n=t.exec(e);if(n){var r=n[0];return o(r),e=e.slice(r.length),n}}function b(){f(/^\s*/)}function p(e){var t;for(e=e||[];t=h();)!1!==t&&e.push(t);return e}function h(){var t=i();if("/"===e.charAt(0)&&"*"===e.charAt(1)){for(var n=2;""!==e.charAt(n)&&("*"!==e.charAt(n)||"/"!==e.charAt(n+1));)++n;if(n+=2,""===e.charAt(n-1))return l("End of comment missing");var c=e.slice(2,n-2);return r+=2,o(c),e=e.slice(n),r+=2,t({type:"comment",comment:c})}}function m(){var e=f(/^([^{]+)/);if(e)return wl(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 g(){var e=i(),t=f(/^(\*?[-#\/\*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(t){if(t=wl(t[0]),!f(/^:\s*/))return l("property missing ':'");var n=f(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^\)]*?\)|[^};])+)/),r=e({type:"declaration",property:t.replace(El,""),value:n?wl(n[0]).replace(El,""):""});return f(/^[;\s]*/),r}}function v(){var e,t=[];if(!s())return l("missing '{'");for(p(t);e=g();)!1!==e&&(t.push(e),p(t));return u()?t:l("missing '}'")}function O(){for(var e,t=[],n=i();e=f(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)t.push(e[1]),f(/^,\s*/);if(t.length)return n({type:"keyframe",values:t,declarations:v()})}var k,j=C("import"),y=C("charset"),_=C("namespace");function C(e){var t=new RegExp("^@"+e+"\\s*([^;]+);");return function(){var n=i(),r=f(t);if(r){var o={type:e};return o[e]=r[1].trim(),n(o)}}}function E(){if("@"===e[0])return function(){var e=i(),t=f(/^@([-\w]+)?keyframes\s*/);if(t){var n=t[1];if(!(t=f(/^([-\w]+)\s*/)))return l("@keyframes missing name");var r,o=t[1];if(!s())return l("@keyframes missing '{'");for(var c=p();r=O();)c.push(r),c=c.concat(p());return u()?e({type:"keyframes",name:o,vendor:n,keyframes:c}):l("@keyframes missing '}'")}}()||function(){var e=i(),t=f(/^@media *([^{]+)/);if(t){var n=wl(t[1]);if(!s())return l("@media missing '{'");var r=p().concat(d());return u()?e({type:"media",media:n,rules:r}):l("@media missing '}'")}}()||function(){var e=i(),t=f(/^@custom-media\s+(--[^\s]+)\s*([^{;]+);/);if(t)return e({type:"custom-media",name:wl(t[1]),media:wl(t[2])})}()||function(){var e=i(),t=f(/^@supports *([^{]+)/);if(t){var n=wl(t[1]);if(!s())return l("@supports missing '{'");var r=p().concat(d());return u()?e({type:"supports",supports:n,rules:r}):l("@supports missing '}'")}}()||j()||y()||_()||function(){var e=i(),t=f(/^@([-\w]+)?document *([^{]+)/);if(t){var n=wl(t[1]),r=wl(t[2]);if(!s())return l("@document missing '{'");var o=p().concat(d());return u()?e({type:"document",document:r,vendor:n,rules:o}):l("@document missing '}'")}}()||function(){var e=i();if(f(/^@page */)){var t=m()||[];if(!s())return l("@page missing '{'");for(var n,r=p();n=g();)r.push(n),r=r.concat(p());return u()?e({type:"page",selectors:t,declarations:r}):l("@page missing '}'")}}()||function(){var e=i();if(f(/^@host\s*/)){if(!s())return l("@host missing '{'");var t=p().concat(d());return u()?e({type:"host",rules:t}):l("@host missing '}'")}}()||function(){var e=i();if(f(/^@font-face\s*/)){if(!s())return l("@font-face missing '{'");for(var t,n=p();t=g();)n.push(t),n=n.concat(p());return u()?e({type:"font-face",declarations:n}):l("@font-face missing '}'")}}()}function S(){var e=i(),t=m();return t?(p(),e({type:"rule",selectors:t,declarations:v()})):l("selector missing")}return function e(t,n){var r=t&&"string"==typeof t.type;var o=r?t:n;for(var i in t){var c=t[i];Array.isArray(c)?c.forEach((function(t){e(t,o)})):c&&"object"===Object(wt.a)(c)&&e(c,o)}r&&Object.defineProperty(t,"parent",{configurable:!0,writable:!0,enumerable:!1,value:n||null});return t}((k=d(),{type:"stylesheet",stylesheet:{source:t.source,rules:k,parsingErrors:a}}))};function wl(e){return e?e.replace(/^\s+|\s+$/g,""):""}var Il=n(110),Bl=n.n(Il),Tl=xl;function xl(e){this.options=e||{}}xl.prototype.emit=function(e){return e},xl.prototype.visit=function(e){return this[e.type](e)},xl.prototype.mapVisit=function(e,t){var n="";t=t||"";for(var r=0,o=e.length;r1&&void 0!==arguments[1]?arguments[1]:[];return function(n){return"rule"===n.type?Object(s.a)({},n,{selectors:n.selectors.map((function(n){return Object(p.includes)(t,n.trim())?n:n.match(Vl)?n.replace(/^(body|html|:root)/,e):e+" "+n}))}):n}},Kl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return Object(p.map)(e,(function(e){var n=e.css,r=e.baseURL,o=[];return t&&o.push(zl(t)),r&&o.push(Hl(r)),o.length?Ml(n,Object(h.compose)(o)):n}))};n.d(t,"AlignmentToolbar",(function(){return Pe})),n.d(t,"Autocomplete",(function(){return Me})),n.d(t,"BlockAlignmentToolbar",(function(){return Ve})),n.d(t,"BlockBreadcrumb",(function(){return Ke})),n.d(t,"BlockControls",(function(){return Ye})),n.d(t,"BlockEdit",(function(){return X})),n.d(t,"useBlockEditContext",(function(){return q})),n.d(t,"BlockFormatControls",(function(){return et})),n.d(t,"BlockIcon",(function(){return tt})),n.d(t,"BlockNavigationDropdown",(function(){return Ri})),n.d(t,"__experimentalBlockNavigationList",(function(){return xi})),n.d(t,"__experimentalBlockPatternPicker",(function(){return Pi})),n.d(t,"BlockVerticalAlignmentToolbar",(function(){return Vi})),n.d(t,"ButtonBlockerAppender",(function(){return Ti})),n.d(t,"ColorPalette",(function(){return Ki})),n.d(t,"ColorPaletteControl",(function(){return Gi})),n.d(t,"ContrastChecker",(function(){return ge})),n.d(t,"__experimentalGradientPicker",(function(){return qi})),n.d(t,"__experimentalGradientPickerControl",(function(){return $i})),n.d(t,"__experimentalGradientPickerPanel",(function(){return Yi})),n.d(t,"__experimentalColorGradientControl",(function(){return ce})),n.d(t,"__experimentalPanelColorGradientSettings",(function(){return be})),n.d(t,"InnerBlocks",(function(){return nc})),n.d(t,"InspectorAdvancedControls",(function(){return ac})),n.d(t,"InspectorControls",(function(){return ye})),n.d(t,"__experimentalLinkControl",(function(){return pc})),n.d(t,"MediaReplaceFlow",(function(){return _c})),n.d(t,"MediaPlaceholder",(function(){return xc})),n.d(t,"MediaUpload",(function(){return hc})),n.d(t,"MediaUploadCheck",(function(){return mc})),n.d(t,"PanelColorSettings",(function(){return pe})),n.d(t,"PlainText",(function(){return Nc})),n.d(t,"__experimentalResponsiveBlockControl",(function(){return Ac})),n.d(t,"RichText",(function(){return Yc})),n.d(t,"RichTextShortcut",(function(){return zc})),n.d(t,"RichTextToolbarButton",(function(){return Kc})),n.d(t,"__unstableRichTextInputEvent",(function(){return Gc})),n.d(t,"ToolSelector",(function(){return Jc})),n.d(t,"URLInput",(function(){return Oc})),n.d(t,"URLInputButton",(function(){return Qc})),n.d(t,"URLPopover",(function(){return wc})),n.d(t,"__experimentalImageURLInputUI",(function(){return na})),n.d(t,"withColorContext",(function(){return zi})),n.d(t,"__experimentalBlockListFooter",(function(){return ci})),n.d(t,"__experimentalBlockSettingsMenuFirstItem",(function(){return ca})),n.d(t,"__experimentalBlockSettingsMenuPluginsExtension",(function(){return ua})),n.d(t,"__experimentalInserterMenuExtension",(function(){return ki})),n.d(t,"__experimentalPageTemplatePicker",(function(){return pa})),n.d(t,"__experimentalWithPageTemplatePickerVisible",(function(){return ma})),n.d(t,"__experimentalUsePageTemplatePickerVisible",(function(){return ha})),n.d(t,"BlockInspector",(function(){return Ea})),n.d(t,"BlockList",(function(){return ui})),n.d(t,"BlockMover",(function(){return Aa})),n.d(t,"BlockPreview",(function(){return fi})),n.d(t,"BlockSelectionClearer",(function(){return Pa})),n.d(t,"BlockSettingsMenu",(function(){return za})),n.d(t,"BlockTitle",(function(){return ze})),n.d(t,"BlockToolbar",(function(){return qa})),n.d(t,"CopyHandler",(function(){return $a})),n.d(t,"DefaultBlockAppender",(function(){return ti})),n.d(t,"Inserter",(function(){return Bi})),n.d(t,"MultiBlocksSwitcher",(function(){return Wa})),n.d(t,"BlockEditorKeyboardShortcuts",(function(){return Xa})),n.d(t,"MultiSelectScrollIntoView",(function(){return Za})),n.d(t,"NavigableToolbar",(function(){return Lo})),n.d(t,"ObserveTyping",(function(){return el})),n.d(t,"PreserveScrollInReorder",(function(){return tl})),n.d(t,"SkipToSelectedBlock",(function(){return ga})),n.d(t,"Typewriter",(function(){return il})),n.d(t,"Warning",(function(){return Oo})),n.d(t,"WritingFlow",(function(){return bl})),n.d(t,"BlockEditorProvider",(function(){return mo})),n.d(t,"getColorClassName",(function(){return y})),n.d(t,"getColorObjectByAttributeValues",(function(){return k})),n.d(t,"getColorObjectByColorValue",(function(){return j})),n.d(t,"createCustomColorsHOC",(function(){return A})),n.d(t,"withColors",(function(){return R})),n.d(t,"__experimentalUseColors",(function(){return Te})),n.d(t,"__experimentalGetGradientClass",(function(){return Z})),n.d(t,"__experimentalGetGradientObjectByGradientValue",(function(){return J})),n.d(t,"__experimentalUseGradient",(function(){return Q})),n.d(t,"getFontSize",(function(){return xe})),n.d(t,"getFontSizeClass",(function(){return Ne})),n.d(t,"FontSizePicker",(function(){return Le})),n.d(t,"withFontSizes",(function(){return Ae})),n.d(t,"transformStyles",(function(){return Kl})),n.d(t,"storeConfig",(function(){return fo})),n.d(t,"SETTINGS_DEFAULTS",(function(){return st}))},37:function(e,t){!function(){e.exports=this.wp.blob}()},4:function(e,t){!function(){e.exports=this.wp.data}()},40:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}n.d(t,"a",(function(){return r}))},42:function(e,t,n){e.exports=function(e,t){var n,r,o,i=0;function c(){var t,c,a=r,l=arguments.length;e:for(;a;){if(a.args.length===arguments.length){for(c=0;c1&&(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=L(e,360),t=L(t,100),n=L(n,100),0===t)r=o=i=n;else{var a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;r=c(l,a,e+1/3),o=c(l,a,e),i=c(l,a,e-1/3)}return{r:255*r,g:255*o,b:255*i}}(e.h,r,l),d=!0,f="hsl"),e.hasOwnProperty("a")&&(n=e.a));var b,p,h;return n=N(n),{ok:d,format:e.format||f,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=l(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=l(this._r)),this._g<1&&(this._g=l(this._g)),this._b<1&&(this._b=l(this._b)),this._ok=n.ok,this._tc_id=a++}function b(e,t,n){e=L(e,255),t=L(t,255),n=L(n,255);var r,o,i=u(e,t,n),c=s(e,t,n),a=(i+c)/2;if(i==c)r=o=0;else{var l=i-c;switch(o=a>.5?l/(2-i-c):l/(i+c),i){case e:r=(t-n)/l+(t>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(f(r));return i}function B(e,t){t=t||6;for(var n=f(e).toHsv(),r=n.h,o=n.s,i=n.v,c=[],a=1/t;t--;)c.push(f({h:r,s:o,v:i})),i=(i+a)%1;return c}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=N(e),this._roundA=l(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=l(360*e.h),n=l(100*e.s),r=l(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=b(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=b(this._r,this._g,this._b),t=l(360*e.h),n=l(100*e.s),r=l(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return h(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 i=[P(l(e).toString(16)),P(l(t).toString(16)),P(l(n).toString(16)),P(D(r))];if(o&&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:l(this._r),g:l(this._g),b:l(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+l(this._r)+", "+l(this._g)+", "+l(this._b)+")":"rgba("+l(this._r)+", "+l(this._g)+", "+l(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:l(100*L(this._r,255))+"%",g:l(100*L(this._g,255))+"%",b:l(100*L(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+l(100*L(this._r,255))+"%, "+l(100*L(this._g,255))+"%, "+l(100*L(this._b,255))+"%)":"rgba("+l(100*L(this._r,255))+"%, "+l(100*L(this._g,255))+"%, "+l(100*L(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(x[h(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(k,arguments)},brighten:function(){return this._applyModification(j,arguments)},darken:function(){return this._applyModification(y,arguments)},desaturate:function(){return this._applyModification(g,arguments)},saturate:function(){return this._applyModification(v,arguments)},greyscale:function(){return this._applyModification(O,arguments)},spin:function(){return this._applyModification(_,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(I,arguments)},complement:function(){return this._applyCombination(C,arguments)},monochromatic:function(){return this._applyCombination(B,arguments)},splitcomplement:function(){return this._applyCombination(w,arguments)},triad:function(){return this._applyCombination(E,arguments)},tetrad:function(){return this._applyCombination(S,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]:M(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(),i=n/100;return f({r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+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,i=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=i>=4.5;break;case"AAlarge":o=i>=3;break;case"AAAsmall":o=i>=7}return o},f.mostReadable=function(e,t,n){var r,o,i,c,a=null,l=0;o=(n=n||{}).includeFallbackColors,i=n.level,c=n.size;for(var s=0;sl&&(l=r,a=f(t[s]));return f.isReadable(e,a,{level:i,size:c})||!o?a:(n.includeFallbackColors=!1,f.mostReadable(e,["#fff","#000"],n))};var T=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"},x=f.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(T);function N(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function L(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),o.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function A(e){return s(1,u(0,e))}function R(e){return parseInt(e,16)}function P(e){return 1==e.length?"0"+e:""+e}function M(e){return e<=1&&(e=100*e+"%"),e}function D(e){return o.round(255*parseFloat(e)).toString(16)}function F(e){return R(e)/255}var U,H,V,z=(H="[\\s|\\(]+("+(U="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+U+")[,|\\s]+("+U+")\\s*\\)?",V="[\\s|\\(]+("+U+")[,|\\s]+("+U+")[,|\\s]+("+U+")[,|\\s]+("+U+")\\s*\\)?",{CSS_UNIT:new RegExp(U),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!!z.CSS_UNIT.exec(e)}e.exports?e.exports=f:void 0===(r=function(){return f}.call(t,n,t,e))||(e.exports=r)}(Math)},51:function(e,t){!function(){e.exports=this.wp.viewport}()},54:function(e,t){!function(){e.exports=this.wp.htmlEntities}()},6:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(9);function o(e){for(var t=1;t1?t-1:0),r=1;r=n.length)break;i=n[o++]}else{if((o=n.next()).done)break;i=o.value}for(var c=i,a=!1,l=0;l=b.startTime+s.duration;else if(s.decay)m=p+O/(1-.998)*(1-Math.exp(-(1-.998)*(t-b.startTime))),(u=Math.abs(b.lastPosition-m)<.1)&&(h=m);else{d=void 0!==b.lastTime?b.lastTime:t,O=void 0!==b.lastVelocity?b.lastVelocity:s.initialVelocity,t>d+64&&(d=t);for(var k=Math.floor(t-d),j=0;jh:m=e);++n);return n-1}(e,i);return function(e,t,n,r,o,i,c,a,l){var s=l?l(e):e;if(sn){if("identity"===a)return s;"clamp"===a&&(s=n)}if(r===o)return r;if(t===n)return e<=t?r:o;t===-1/0?s=-s:n===1/0?s-=t:s=(s-t)/(n-t);s=i(s),r===-1/0?s=-s:o===1/0?s+=r:s=s*(o-r)+r;return s}(e,i[t],i[t+1],o[t],o[t+1],l,c,a,r.map)}}var U=function(e){function t(n,r,o,i){var c;return(c=e.call(this)||this).calc=void 0,c.payload=n instanceof O&&!(n instanceof t)?n.getPayload():Array.isArray(n)?n:[n],c.calc=F(r,o,i),c}l(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,r){return new t(this,e,n,r)},t}(O);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}l(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 U(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}l(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 U(this,e,t)},t}(O),z=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=z++}var t=e.prototype;return t.update=function(e){if(!e)return this;var t=h(e),n=t.delay,r=void 0===n?0:n,c=t.to,a=i(t,["delay","to"]);if(u.arr(c)||u.fun(c))this.queue.push(o({},a,{delay:r,to:c}));else if(c){var l={};Object.entries(c).forEach((function(e){var t,n=e[0],i=e[1],c=o({to:(t={},t[n]=i,t),delay:p(r,n)},a),s=l[c.delay]&&l[c.delay].to;l[c.delay]=o({},l[c.delay],c,{to:o({},s,c.to)})})),this.queue=Object.values(l)}return this.queue=this.queue.sort((function(e,t){return e.delay-t.delay})),this.diff(a),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,i=e.to,c=void 0===i?{}:i;u.obj(r)&&(n.merged=o({},r,n.merged)),u.obj(c)&&(n.merged=o({},n.merged,c))}));var r=this.local=++this.guid,c=this.localQueue=this.queue;this.queue=[],c.forEach((function(t,o){var a=t.delay,l=i(t,["delay"]),s=function(t){o===c.length-1&&r===n.guid&&t&&(n.idle=!0,n.props.onRest&&n.props.onRest(n.merged)),e&&e()},d=u.arr(l.to)||u.fun(l.to);a?setTimeout((function(){r===n.guid&&(d?n.runAsync(l,s):n.diff(l).start(s))}),a):d?n.runAsync(l,s):n.diff(l).start(s)}))}else u.fun(e)&&this.listeners.push(e),this.props.onStart&&this.props.onStart(),t=this,M.has(t)||M.add(t),P||(P=!0,C(x||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,r=(e.delay,i(e,["delay"])),c=this.local,a=Promise.resolve(void 0);if(u.arr(r.to))for(var l=function(e){var t=e,i=o({},r,h(r.to[t]));u.arr(i.config)&&(i.config=i.config[t]),a=a.then((function(){if(c===n.guid)return new Promise((function(e){return n.diff(i).start(e)}))}))},s=0;s=r.length)return"break";c=r[i++]}else{if((i=r.next()).done)return"break";c=i.value}var n=c.key,a=function(e){return e.key!==n};(u.und(t)||t===n)&&(e.current.instances.delete(n),e.current.transitions=e.current.transitions.filter(a),e.current.deleted=e.current.deleted.filter(a))},r=e.current.deleted,o=Array.isArray(r),i=0;for(r=o?r:r[Symbol.iterator]();;){var c;if("break"===n())break}e.current.forceUpdate()}var Q=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 l(t,e),t}(k),ee={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},te="[-+]?\\d*\\.?\\d+",ne=te+"%";function re(){for(var e=arguments.length,t=new Array(e),n=0;n1&&(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 be(e,t,n){var r=n<.5?n*(1+t):n+t-n*t,o=2*n-r,i=fe(o,r,e+1/3),c=fe(o,r,e),a=fe(o,r,e-1/3);return Math.round(255*i)<<24|Math.round(255*c)<<16|Math.round(255*a)<<8}function pe(e){var t=parseInt(e,10);return t<0?0:t>255?255:t}function he(e){return(parseFloat(e)%360+360)%360/360}function me(e){var t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function ge(e){var t=parseFloat(e);return t<0?0:t>100?1:t/100}function ve(e){var t,n,r="number"==typeof(t=e)?t>>>0===t&&t>=0&&t<=4294967295?t:null:(n=ue.exec(t))?parseInt(n[1]+"ff",16)>>>0:ee.hasOwnProperty(t)?ee[t]:(n=oe.exec(t))?(pe(n[1])<<24|pe(n[2])<<16|pe(n[3])<<8|255)>>>0:(n=ie.exec(t))?(pe(n[1])<<24|pe(n[2])<<16|pe(n[3])<<8|me(n[4]))>>>0:(n=le.exec(t))?parseInt(n[1]+n[1]+n[2]+n[2]+n[3]+n[3]+"ff",16)>>>0:(n=de.exec(t))?parseInt(n[1],16)>>>0:(n=se.exec(t))?parseInt(n[1]+n[1]+n[2]+n[2]+n[3]+n[3]+n[4]+n[4],16)>>>0:(n=ce.exec(t))?(255|be(he(n[1]),ge(n[2]),ge(n[3])))>>>0:(n=ae.exec(t))?(be(he(n[1]),ge(n[2]),ge(n[3]))|me(n[4]))>>>0:null;return null===r?e:"rgba("+((4278190080&(r=r||0))>>>24)+", "+((16711680&r)>>>16)+", "+((65280&r)>>>8)+", "+(255&r)/255+")"}var Oe=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,ke=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,je=new RegExp("("+Object.keys(ee).join("|")+")","g"),ye={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},_e=["Webkit","Ms","Moz","O"];function Ce(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||ye.hasOwnProperty(e)&&ye[e]?(""+t).trim():t+"px"}ye=Object.keys(ye).reduce((function(e,t){return _e.forEach((function(n){return e[function(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}(n,t)]=e[t]})),e}),ye);var Ee={};L((function(e){return new Q(e)})),B("div"),S((function(e){var t=e.output.map((function(e){return e.replace(ke,ve)})).map((function(e){return e.replace(je,ve)})),n=t[0].match(Oe).map((function(){return[]}));t.forEach((function(e){e.match(Oe).forEach((function(e,t){return n[t].push(+e)}))}));var r=t[0].match(Oe).map((function(t,r){return F(o({},e,{output:n[r]}))}));return function(e){var n=0;return t[0].replace(Oe,(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+")"}))}})),y(ee),j((function(e,t){if(!e.nodeType||void 0===e.setAttribute)return!1;var n=t.style,r=t.children,o=t.scrollTop,c=t.scrollLeft,a=i(t,["style","children","scrollTop","scrollLeft"]),l="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName;for(var s in void 0!==o&&(e.scrollTop=o),void 0!==c&&(e.scrollLeft=c),void 0!==r&&(e.textContent=r),n)if(n.hasOwnProperty(s)){var u=0===s.indexOf("--"),d=Ce(s,n[s],u);"float"===s&&(s="cssFloat"),u?e.style.setProperty(s,d):e.style[s]=d}for(var f in a){var b=l?f:Ee[f]||(Ee[f]=f.replace(/([A-Z])/g,(function(e){return"-"+e.toLowerCase()})));void 0!==e.getAttribute(b)&&e.setAttribute(b,a[f])}}),(function(e){return e}));var Se,we,Ie=(Se=function(e){return c.forwardRef((function(t,n){var r=d(),l=c.useRef(!0),s=c.useRef(null),f=c.useRef(null),b=c.useCallback((function(e){var t=s.current;s.current=new R(e,(function(){var e=!1;f.current&&(e=m.fn(f.current,s.current.getAnimatedValue())),f.current&&!1!==e||r()})),t&&t.detach()}),[]);c.useEffect((function(){return function(){l.current=!1,s.current&&s.current.detach()}}),[]),c.useImperativeHandle(n,(function(){return N(f,l,r)})),b(t);var p,h=s.current.getValue(),g=(h.scrollTop,h.scrollLeft,i(h,["scrollTop","scrollLeft"])),v=(p=e,!u.fun(p)||p.prototype instanceof a.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 a.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]=Se(n),e}),Se)}),Be=Ie(["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=Ie,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=Be,t.a=Be,t.interpolate=function(e,t,n){return e&&new U(e,t,n)},t.Globals=A,t.useSpring=function(e){var t=u.fun(e),n=G(1,t?e:[e]),r=n[0],o=n[1],i=n[2];return t?[r[0],o,i]:r},t.useTrail=function(e,t){var n=c.useRef(!1),r=u.fun(t),i=p(t),a=c.useRef(),l=G(e,(function(e,t){return 0===e&&(a.current=[]),a.current.push(t),o({},i,{config:p(i.config,e),attach:e>0&&function(){return a.current[e-1]}})})),s=l[0],d=l[1],f=l[2],b=c.useMemo((function(){return function(e){return d((function(t,n){e.reverse;var r=e.reverse?t+1:t-1,c=a.current[r];return o({},e,{config:p(e.config||i.config,t),attach:c&&function(){return c}})}))}}),[e,i.reverse]);return c.useEffect((function(){n.current&&!r&&b(t)})),c.useEffect((function(){n.current=!0}),[]),r?[s,b,f]:s},t.useTransition=function(e,t,n){var r=o({items:e,keys:t||function(e){return e}},n),a=Z(r),l=a.lazy,s=void 0!==l&&l,u=(a.unique,a.reset),f=void 0!==u&&u,b=(a.enter,a.leave,a.update,a.onDestroyed),h=(a.keys,a.items,a.onFrame),m=a.onRest,g=a.onStart,v=a.ref,O=i(a,["lazy","unique","reset","enter","leave","update","onDestroyed","keys","items","onFrame","onRest","onStart","ref"]),k=d(),j=c.useRef(!1),y=c.useRef({mounted:!1,first:!0,deleted:[],current:{},transitions:[],prevProps:{},paused:!!r.ref,instances:!j.current&&new Map,forceUpdate:k});return c.useImperativeHandle(r.ref,(function(){return{start:function(){return Promise.all(Array.from(y.current.instances).map((function(e){var t=e[1];return new Promise((function(e){return t.start(e)}))})))},stop:function(e){return Array.from(y.current.instances).forEach((function(t){return t[1].stop(e)}))},get controllers(){return Array.from(y.current.instances).map((function(e){return e[1]}))}}})),y.current=function(e,t){var n=e.first,r=e.prevProps,c=i(e,["first","prevProps"]),a=Z(t),l=a.items,s=a.keys,u=a.initial,d=a.from,f=a.enter,b=a.leave,h=a.update,m=a.trail,g=void 0===m?0:m,v=a.unique,O=a.config,k=a.order,j=void 0===k?[q,$,Y]:k,y=Z(r),_=y.keys,C=y.items,E=o({},c.current),S=[].concat(c.deleted),w=Object.keys(E),I=new Set(w),B=new Set(s),T=s.filter((function(e){return!I.has(e)})),x=c.transitions.filter((function(e){return!e.destroyed&&!B.has(e.originalKey)})).map((function(e){return e.originalKey})),N=s.filter((function(e){return I.has(e)})),L=-g;for(;j.length;){switch(j.shift()){case q:T.forEach((function(e,t){v&&S.find((function(t){return t.originalKey===e}))&&(S=S.filter((function(t){return t.originalKey!==e})));var r=s.indexOf(e),o=l[r],i=n&&void 0!==u?"initial":q;E[e]={slot:i,originalKey:e,key:v?String(e):W++,item:o,trail:L+=g,config:p(O,o,i),from:p(n&&void 0!==u?u||{}:d,o),to:p(f,o)}}));break;case $:x.forEach((function(e){var t=_.indexOf(e),n=C[t],r=$;S.unshift(o({},E[e],{slot:r,destroyed:!0,left:_[Math.max(0,t-1)],right:_[Math.min(_.length,t+1)],trail:L+=g,config:p(O,n,r),to:p(b,n)})),delete E[e]}));break;case Y:N.forEach((function(e){var t=s.indexOf(e),n=l[t],r=Y;E[e]=o({},E[e],{item:n,slot:r,trail:L+=g,config:p(O,n,r),to:p(h,n)})}))}}var A=s.map((function(e){return E[e]}));return S.forEach((function(e){var t,n=e.left,r=(e.right,i(e,["left","right"]));-1!==(t=A.findIndex((function(e){return e.originalKey===n})))&&(t+=1),t=Math.max(0,t),A=[].concat(A.slice(0,t),[r],A.slice(t))})),o({},c,{changed:T.length||x.length||N.length,first:n&&0===T.length,transitions:A,current:E,deleted:S,prevProps:t})}(y.current,r),y.current.changed&&y.current.transitions.forEach((function(e){var t=e.slot,n=e.from,r=e.to,i=e.config,c=e.trail,a=e.key,l=e.item;y.current.instances.has(a)||y.current.instances.set(a,new K);var u=y.current.instances.get(a),d=o({},O,{to:r,from:n,config:i,ref:v,onRest:function(n){y.current.mounted&&(e.destroyed&&(v||s||J(y,a),b&&b(l)),!Array.from(y.current.instances).some((function(e){return!e[1].idle}))&&(v||s)&&y.current.deleted.length>0&&J(y),m&&m(l,t,n))},onStart:g&&function(){return g(l,t)},onFrame:h&&function(e){return h(l,t,e)},delay:c,reset:f&&t===q});u.update(d),y.current.paused||u.start()})),c.useEffect((function(){return y.current.mounted=j.current=!0,function(){y.current.mounted=j.current=!1,Array.from(y.current.instances).map((function(e){return e[1].destroy()})),y.current.instances.clear()}}),[]),y.current.transitions.map((function(e){var t=e.item,n=e.slot,r=e.key;return{item:t,key:r,state:n,props:y.current.instances.get(r).getValues()}}))},t.useChain=function(e,t,n){void 0===n&&(n=1e3);var r=c.useRef();c.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 i=e.current;if(i){var c=i.controllers;if(c.length){var a=n*t[r];c.forEach((function(e){e.queue=e.queue.map((function(e){return o({},e,{delay:e.delay+a})})),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=G},69:function(e,t,n){"use strict";e.exports=n(112)},7:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",(function(){return r}))},72:function(e,t,n){"use strict";e.exports=function(e){var t,n={};return function e(t,n){var r;if(Array.isArray(n))for(r=0;r",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(s),d=["%","/","?",";","#"].concat(u),f=["/","?","#"],b=/^[+a-z0-9A-Z_-]{0,63}$/,p=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,h={javascript:!0,"javascript:":!0},m={javascript:!0,"javascript:":!0},g={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},v=n(124);function O(e,t,n){if(e&&o.isObject(e)&&e instanceof i)return e;var r=new i;return r.parse(e,t,n),r}i.prototype.parse=function(e,t,n){if(!o.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var i=e.indexOf("?"),a=-1!==i&&i127?L+="x":L+=N[A];if(!L.match(b)){var P=T.slice(0,w),M=T.slice(w+1),D=N.match(p);D&&(P.push(D[1]),M.unshift(D[2])),M.length&&(O="/"+M.join(".")+O),this.hostname=P.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),B||(this.hostname=r.toASCII(this.hostname));var F=this.port?":"+this.port:"",U=this.hostname||"";this.host=U+F,this.href+=this.host,B&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==O[0]&&(O="/"+O))}if(!h[y])for(w=0,x=u.length;w0)&&n.host.split("@"))&&(n.auth=B.shift(),n.host=n.hostname=B.shift());return n.search=e.search,n.query=e.query,o.isNull(n.pathname)&&o.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!_.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var E=_.slice(-1)[0],S=(n.host||e.host||_.length>1)&&("."===E||".."===E)||""===E,w=0,I=_.length;I>=0;I--)"."===(E=_[I])?_.splice(I,1):".."===E?(_.splice(I,1),w++):w&&(_.splice(I,1),w--);if(!j&&!y)for(;w--;w)_.unshift("..");!j||""===_[0]||_[0]&&"/"===_[0].charAt(0)||_.unshift(""),S&&"/"!==_.join("/").substr(-1)&&_.push("");var B,T=""===_[0]||_[0]&&"/"===_[0].charAt(0);C&&(n.hostname=n.host=T?"":_.length?_.shift():"",(B=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=B.shift(),n.host=n.hostname=B.shift()));return(j=j||n.host&&_.length)&&!T&&_.unshift(""),_.length?n.pathname=_.join("/"):(n.pathname=null,n.path=null),o.isNull(n.pathname)&&o.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},i.prototype.parseHost=function(){var e=this.host,t=a.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},89:function(e,t,n){"use strict";var r=n(90);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,c){if(c!==r){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},9: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}n.d(t,"a",(function(){return r}))},90:function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},96:function(e,t){e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}},97:function(e,t){!function(){e.exports=this.wp.wordcount}()}}); \ 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 f30bd1e30d..42dba9bf2e 100644 --- a/wp-includes/js/dist/block-library.js +++ b/wp-includes/js/dist/block-library.js @@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["blockLibrary"] = /******/ /******/ /******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 360); +/******/ return __webpack_require__(__webpack_require__.s = 361); /******/ }) /************************************************************************/ /******/ ({ @@ -102,13 +102,6 @@ this["wp"] = this["wp"] || {}; this["wp"]["blockLibrary"] = /***/ }), /***/ 10: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["blocks"]; }()); - -/***/ }), - -/***/ 11: /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! @@ -164,32 +157,41 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! }()); +/***/ }), + +/***/ 11: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["blocks"]; }()); + /***/ }), /***/ 12: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _createClass; }); -function _defineProperties(target, props) { - for (var i = 0; i < props.length; i++) { - var descriptor = props[i]; - descriptor.enumerable = descriptor.enumerable || false; - descriptor.configurable = true; - if ("value" in descriptor) descriptor.writable = true; - Object.defineProperty(target, descriptor.key, descriptor); - } -} +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _extends; }); +function _extends() { + _extends = Object.assign || function (target) { + for (var i = 1; i < arguments.length; i++) { + var source = arguments[i]; -function _createClass(Constructor, protoProps, staticProps) { - if (protoProps) _defineProperties(Constructor.prototype, protoProps); - if (staticProps) _defineProperties(Constructor, staticProps); - return Constructor; + for (var key in source) { + if (Object.prototype.hasOwnProperty.call(source, key)) { + target[key] = source[key]; + } + } + } + + return target; + }; + + return _extends.apply(this, arguments); } /***/ }), -/***/ 120: +/***/ 121: /***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(module, global) {var __WEBPACK_AMD_DEFINE_RESULT__;/*! https://mths.be/punycode v1.3.2 by @mathias */ @@ -712,11 +714,11 @@ function _createClass(Constructor, protoProps, staticProps) { }(this)); -/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(121)(module), __webpack_require__(61))) +/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(122)(module), __webpack_require__(63))) /***/ }), -/***/ 121: +/***/ 122: /***/ (function(module, exports) { module.exports = function(module) { @@ -745,7 +747,7 @@ module.exports = function(module) { /***/ }), -/***/ 122: +/***/ 123: /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -769,19 +771,19 @@ module.exports = { /***/ }), -/***/ 123: +/***/ 124: /***/ (function(module, exports, __webpack_require__) { "use strict"; -exports.decode = exports.parse = __webpack_require__(124); -exports.encode = exports.stringify = __webpack_require__(125); +exports.decode = exports.parse = __webpack_require__(125); +exports.encode = exports.stringify = __webpack_require__(126); /***/ }), -/***/ 124: +/***/ 125: /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -873,7 +875,7 @@ var isArray = Array.isArray || function (xs) { /***/ }), -/***/ 125: +/***/ 126: /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -969,6 +971,29 @@ var objectKeys = Object.keys || function (obj) { /***/ 13: /***/ (function(module, __webpack_exports__, __webpack_require__) { +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _createClass; }); +function _defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, descriptor.key, descriptor); + } +} + +function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + return Constructor; +} + +/***/ }), + +/***/ 14: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _classCallCheck; }); function _classCallCheck(instance, Constructor) { @@ -979,38 +1004,13 @@ function _classCallCheck(instance, Constructor) { /***/ }), -/***/ 14: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _extends; }); -function _extends() { - _extends = Object.assign || function (target) { - for (var i = 1; i < arguments.length; i++) { - var source = arguments[i]; - - for (var key in source) { - if (Object.prototype.hasOwnProperty.call(source, key)) { - target[key] = source[key]; - } - } - } - - return target; - }; - - return _extends.apply(this, arguments); -} - -/***/ }), - /***/ 15: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _possibleConstructorReturn; }); -/* harmony import */ var _helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31); -/* harmony import */ var _assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6); +/* harmony import */ var _helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(32); +/* harmony import */ var _assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7); function _possibleConstructorReturn(self, call) { @@ -1087,7 +1087,7 @@ function _arrayWithoutHoles(arr) { } } // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js -var iterableToArray = __webpack_require__(32); +var iterableToArray = __webpack_require__(31); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js function _nonIterableSpread() { @@ -1118,7 +1118,7 @@ function _toConsumableArray(arr) { /***/ }), -/***/ 21: +/***/ 20: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -1607,7 +1607,7 @@ return FastAverageColor; "use strict"; // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js -var arrayWithHoles = __webpack_require__(33); +var arrayWithHoles = __webpack_require__(35); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js function _iterableToArrayLimit(arr, i) { @@ -1640,7 +1640,7 @@ function _iterableToArrayLimit(arr, i) { return _arr; } // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js -var nonIterableRest = __webpack_require__(34); +var nonIterableRest = __webpack_require__(36); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _slicedToArray; }); @@ -1691,6 +1691,17 @@ function _slicedToArray(arr, i) { /***/ 31: /***/ (function(module, __webpack_exports__, __webpack_require__) { +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _iterableToArray; }); +function _iterableToArray(iter) { + if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter); +} + +/***/ }), + +/***/ 32: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _typeof; }); function _typeof(obj) { @@ -1709,18 +1720,14 @@ function _typeof(obj) { /***/ }), -/***/ 32: -/***/ (function(module, __webpack_exports__, __webpack_require__) { +/***/ 33: +/***/ (function(module, exports) { -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _iterableToArray; }); -function _iterableToArray(iter) { - if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter); -} +(function() { module.exports = this["wp"]["deprecated"]; }()); /***/ }), -/***/ 33: +/***/ 35: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -1731,7 +1738,7 @@ function _arrayWithHoles(arr) { /***/ }), -/***/ 34: +/***/ 36: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -1742,21 +1749,7 @@ function _nonIterableRest() { /***/ }), -/***/ 35: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["deprecated"]; }()); - -/***/ }), - -/***/ 36: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["blob"]; }()); - -/***/ }), - -/***/ 360: +/***/ 361: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -1800,6 +1793,11 @@ __webpack_require__.r(button_namespaceObject); __webpack_require__.d(button_namespaceObject, "metadata", function() { return button_metadata; }); __webpack_require__.d(button_namespaceObject, "name", function() { return button_name; }); __webpack_require__.d(button_namespaceObject, "settings", function() { return button_settings; }); +var buttons_namespaceObject = {}; +__webpack_require__.r(buttons_namespaceObject); +__webpack_require__.d(buttons_namespaceObject, "metadata", function() { return buttons_metadata; }); +__webpack_require__.d(buttons_namespaceObject, "name", function() { return buttons_name; }); +__webpack_require__.d(buttons_namespaceObject, "settings", function() { return buttons_settings; }); var calendar_namespaceObject = {}; __webpack_require__.r(calendar_namespaceObject); __webpack_require__.d(calendar_namespaceObject, "name", function() { return calendar_name; }); @@ -1974,7 +1972,7 @@ var toConsumableArray = __webpack_require__(18); var defineProperty = __webpack_require__(9); // EXTERNAL MODULE: external {"this":["wp","coreData"]} -var external_this_wp_coreData_ = __webpack_require__(62); +var external_this_wp_coreData_ = __webpack_require__(64); // EXTERNAL MODULE: external {"this":["wp","blockEditor"]} var external_this_wp_blockEditor_ = __webpack_require__(5); @@ -1983,19 +1981,19 @@ var external_this_wp_blockEditor_ = __webpack_require__(5); var external_this_wp_editor_ = __webpack_require__(26); // EXTERNAL MODULE: external {"this":["wp","blocks"]} -var external_this_wp_blocks_ = __webpack_require__(10); +var external_this_wp_blocks_ = __webpack_require__(11); // EXTERNAL MODULE: external {"this":["wp","i18n"]} var external_this_wp_i18n_ = __webpack_require__(1); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js -var objectSpread = __webpack_require__(7); +var objectSpread = __webpack_require__(6); // EXTERNAL MODULE: external {"this":["wp","element"]} var external_this_wp_element_ = __webpack_require__(0); // EXTERNAL MODULE: ./node_modules/classnames/index.js -var classnames = __webpack_require__(11); +var classnames = __webpack_require__(10); var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); // EXTERNAL MODULE: external {"this":"lodash"} @@ -2242,7 +2240,7 @@ function ParagraphRTLToolbar(_ref) { setDirection = _ref.setDirection; var isRTL = Object(external_this_wp_data_["useSelect"])(function (select) { return !!select('core/block-editor').getSettings().isRTL; - }); + }, []); return isRTL && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], { controls: [{ icon: 'editor-ltr', @@ -2323,8 +2321,7 @@ function ParagraphBlock(_ref2) { }); } })), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], { - title: Object(external_this_wp_i18n_["__"])('Text Settings'), - className: "blocks-font-size" + title: Object(external_this_wp_i18n_["__"])('Text Settings') }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["FontSizePicker"], { value: fontSize.size, onChange: setFontSize @@ -2447,16 +2444,82 @@ function save_save(_ref) { * WordPress dependencies */ +/** + * Internal dependencies + */ + +var _name$category$attrib = { + name: "core/paragraph", + category: "common", + attributes: { + align: { + type: "string" + }, + content: { + type: "string", + source: "html", + selector: "p", + "default": "" + }, + dropCap: { + type: "boolean", + "default": false + }, + placeholder: { + type: "string" + }, + textColor: { + type: "string" + }, + customTextColor: { + type: "string" + }, + backgroundColor: { + type: "string" + }, + customBackgroundColor: { + type: "string" + }, + fontSize: { + type: "string" + }, + customFontSize: { + type: "number" + }, + direction: { + type: "string", + "enum": ["ltr", "rtl"] + } + } +}, + transforms_name = _name$category$attrib.name; var transforms_transforms = { from: [{ type: 'raw', // Paragraph is a fallback and should be matched last. priority: 20, selector: 'p', - schema: { - p: { - children: Object(external_this_wp_blocks_["getPhrasingContentSchema"])() + schema: function schema(_ref) { + var phrasingContentSchema = _ref.phrasingContentSchema, + isPaste = _ref.isPaste; + return { + p: { + children: phrasingContentSchema, + attributes: isPaste ? [] : ['style'] + } + }; + }, + transform: function transform(node) { + var attributes = Object(external_this_wp_blocks_["getBlockAttributes"])(transforms_name, node.outerHTML); + + var _ref2 = node.style || {}, + textAlign = _ref2.textAlign; + + if (textAlign === 'left' || textAlign === 'center' || textAlign === 'right') { + attributes.align = textAlign; } + + return Object(external_this_wp_blocks_["createBlock"])(transforms_name, attributes); } }] }; @@ -2535,7 +2598,8 @@ var paragraph_settings = { } }, supports: { - className: false + className: false, + __unstablePasteTextInline: true }, transforms: paragraph_transforms, deprecated: paragraph_deprecated, @@ -2558,7 +2622,7 @@ var paragraph_settings = { }; // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(14); +var esm_extends = __webpack_require__(12); // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/image/deprecated.js @@ -2738,10 +2802,10 @@ var deprecated_deprecated = [{ /* harmony default export */ var image_deprecated = (deprecated_deprecated); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js -var classCallCheck = __webpack_require__(13); +var classCallCheck = __webpack_require__(14); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js -var createClass = __webpack_require__(12); +var createClass = __webpack_require__(13); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js var possibleConstructorReturn = __webpack_require__(15); @@ -2750,22 +2814,19 @@ var possibleConstructorReturn = __webpack_require__(15); var getPrototypeOf = __webpack_require__(16); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js -var assertThisInitialized = __webpack_require__(6); +var assertThisInitialized = __webpack_require__(7); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules var inherits = __webpack_require__(17); // EXTERNAL MODULE: external {"this":["wp","blob"]} -var external_this_wp_blob_ = __webpack_require__(36); - -// EXTERNAL MODULE: external {"this":["wp","keycodes"]} -var external_this_wp_keycodes_ = __webpack_require__(19); +var external_this_wp_blob_ = __webpack_require__(37); // EXTERNAL MODULE: external {"this":["wp","url"]} var external_this_wp_url_ = __webpack_require__(25); // EXTERNAL MODULE: external {"this":["wp","viewport"]} -var external_this_wp_viewport_ = __webpack_require__(50); +var external_this_wp_viewport_ = __webpack_require__(51); // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/icons.js @@ -3254,7 +3315,7 @@ var DEFAULT_EMBED_BLOCK = 'core/embed'; var WORDPRESS_EMBED_BLOCK = 'core-embed/wordpress'; // EXTERNAL MODULE: ./node_modules/classnames/dedupe.js -var dedupe = __webpack_require__(69); +var dedupe = __webpack_require__(71); var dedupe_default = /*#__PURE__*/__webpack_require__.n(dedupe); // EXTERNAL MODULE: ./node_modules/memize/index.js @@ -3760,7 +3821,6 @@ function (_Component) { - /** * Internal dependencies */ @@ -3768,7 +3828,6 @@ function (_Component) { - /** * Module constants */ @@ -3807,137 +3866,6 @@ var edit_isExternalImage = function isExternalImage(id, url) { return url && !id && !Object(external_this_wp_blob_["isBlobURL"])(url); }; -var stopPropagation = function stopPropagation(event) { - event.stopPropagation(); -}; - -var edit_stopPropagationRelevantKeys = function stopPropagationRelevantKeys(event) { - if ([external_this_wp_keycodes_["LEFT"], external_this_wp_keycodes_["DOWN"], external_this_wp_keycodes_["RIGHT"], external_this_wp_keycodes_["UP"], external_this_wp_keycodes_["BACKSPACE"], external_this_wp_keycodes_["ENTER"]].indexOf(event.keyCode) > -1) { - // Stop the key event from propagating up to ObserveTyping.startTypingInTextField. - event.stopPropagation(); - } -}; - -var edit_ImageURLInputUI = function ImageURLInputUI(_ref) { - var advancedOptions = _ref.advancedOptions, - linkDestination = _ref.linkDestination, - mediaLinks = _ref.mediaLinks, - onChangeUrl = _ref.onChangeUrl, - url = _ref.url; - - var _useState = Object(external_this_wp_element_["useState"])(false), - _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2), - isOpen = _useState2[0], - setIsOpen = _useState2[1]; - - var openLinkUI = Object(external_this_wp_element_["useCallback"])(function () { - setIsOpen(true); - }); - - var _useState3 = Object(external_this_wp_element_["useState"])(false), - _useState4 = Object(slicedToArray["a" /* default */])(_useState3, 2), - isEditingLink = _useState4[0], - setIsEditingLink = _useState4[1]; - - var _useState5 = Object(external_this_wp_element_["useState"])(null), - _useState6 = Object(slicedToArray["a" /* default */])(_useState5, 2), - urlInput = _useState6[0], - setUrlInput = _useState6[1]; - - var startEditLink = Object(external_this_wp_element_["useCallback"])(function () { - if (linkDestination === LINK_DESTINATION_MEDIA || linkDestination === LINK_DESTINATION_ATTACHMENT) { - setUrlInput(''); - } - - setIsEditingLink(true); - }); - var stopEditLink = Object(external_this_wp_element_["useCallback"])(function () { - setIsEditingLink(false); - }); - var closeLinkUI = Object(external_this_wp_element_["useCallback"])(function () { - setUrlInput(null); - stopEditLink(); - setIsOpen(false); - }); - var autocompleteRef = Object(external_this_wp_element_["useRef"])(null); - var onClickOutside = Object(external_this_wp_element_["useCallback"])(function () { - return function (event) { - // The autocomplete suggestions list renders in a separate popover (in a portal), - // so onClickOutside fails to detect that a click on a suggestion occurred in the - // LinkContainer. Detect clicks on autocomplete suggestions using a ref here, and - // return to avoid the popover being closed. - var autocompleteElement = autocompleteRef.current; - - if (autocompleteElement && autocompleteElement.contains(event.target)) { - return; - } - - setIsOpen(false); - setUrlInput(null); - stopEditLink(); - }; - }); - var onSubmitLinkChange = Object(external_this_wp_element_["useCallback"])(function () { - return function (event) { - if (urlInput) { - onChangeUrl(urlInput); - } - - stopEditLink(); - setUrlInput(null); - event.preventDefault(); - }; - }); - var onLinkRemove = Object(external_this_wp_element_["useCallback"])(function () { - closeLinkUI(); - onChangeUrl(''); - }); - var linkEditorValue = urlInput !== null ? urlInput : url; - var urlLabel = (Object(external_this_lodash_["find"])(mediaLinks, ['linkDestination', linkDestination]) || {}).title; - return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], { - icon: "admin-links", - className: "components-toolbar__control", - label: url ? Object(external_this_wp_i18n_["__"])('Edit link') : Object(external_this_wp_i18n_["__"])('Insert link'), - "aria-expanded": isOpen, - onClick: openLinkUI - }), isOpen && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["URLPopover"], { - onClickOutside: onClickOutside(), - onClose: closeLinkUI, - renderSettings: function renderSettings() { - return advancedOptions; - }, - additionalControls: !linkEditorValue && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["NavigableMenu"], null, Object(external_this_lodash_["map"])(mediaLinks, function (link) { - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuItem"], { - key: link.linkDestination, - icon: link.icon, - onClick: function onClick() { - setUrlInput(null); - onChangeUrl(link.url); - stopEditLink(); - } - }, link.title); - })) - }, (!url || isEditingLink) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["URLPopover"].LinkEditor, { - className: "editor-format-toolbar__link-container-content block-editor-format-toolbar__link-container-content", - value: linkEditorValue, - onChangeInputValue: setUrlInput, - onKeyDown: edit_stopPropagationRelevantKeys, - onKeyPress: stopPropagation, - onSubmit: onSubmitLinkChange(), - autocompleteRef: autocompleteRef - }), url && !isEditingLink && Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["URLPopover"].LinkViewer, { - className: "editor-format-toolbar__link-container-content block-editor-format-toolbar__link-container-content", - onKeyPress: stopPropagation, - url: url, - onEditLinkClick: startEditLink, - urlLabel: urlLabel - }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], { - icon: "no", - label: Object(external_this_wp_i18n_["__"])('Remove link'), - onClick: onLinkRemove - })))); -}; - var edit_ImageEdit = /*#__PURE__*/ function (_Component) { @@ -3960,14 +3888,10 @@ function (_Component) { _this.updateHeight = _this.updateHeight.bind(Object(assertThisInitialized["a" /* default */])(_this)); _this.updateDimensions = _this.updateDimensions.bind(Object(assertThisInitialized["a" /* default */])(_this)); _this.onSetHref = _this.onSetHref.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.onSetLinkClass = _this.onSetLinkClass.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.onSetLinkRel = _this.onSetLinkRel.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.onSetNewTab = _this.onSetNewTab.bind(Object(assertThisInitialized["a" /* default */])(_this)); _this.onSetTitle = _this.onSetTitle.bind(Object(assertThisInitialized["a" /* default */])(_this)); _this.getFilename = _this.getFilename.bind(Object(assertThisInitialized["a" /* default */])(_this)); _this.onUploadError = _this.onUploadError.bind(Object(assertThisInitialized["a" /* default */])(_this)); _this.onImageError = _this.onImageError.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.getLinkDestinations = _this.getLinkDestinations.bind(Object(assertThisInitialized["a" /* default */])(_this)); _this.state = { captionFocused: false }; @@ -3993,9 +3917,9 @@ function (_Component) { if (file) { mediaUpload({ filesList: [file], - onFileChange: function onFileChange(_ref2) { - var _ref3 = Object(slicedToArray["a" /* default */])(_ref2, 1), - image = _ref3[0]; + onFileChange: function onFileChange(_ref) { + var _ref2 = Object(slicedToArray["a" /* default */])(_ref, 1), + image = _ref2[0]; _this2.onSelectImage(image); }, @@ -4127,33 +4051,8 @@ function (_Component) { } }, { key: "onSetHref", - value: function onSetHref(value) { - var linkDestinations = this.getLinkDestinations(); - var attributes = this.props.attributes; - var linkDestination = attributes.linkDestination; - var linkDestinationInput; - - if (!value) { - linkDestinationInput = LINK_DESTINATION_NONE; - } else { - linkDestinationInput = (Object(external_this_lodash_["find"])(linkDestinations, function (destination) { - return destination.url === value; - }) || { - linkDestination: LINK_DESTINATION_CUSTOM - }).linkDestination; - } - - if (linkDestination !== linkDestinationInput) { - this.props.setAttributes({ - linkDestination: linkDestinationInput, - href: value - }); - return; - } - - this.props.setAttributes({ - href: value - }); + value: function onSetHref(props) { + this.props.setAttributes(props); } }, { key: "onSetTitle", @@ -4163,26 +4062,6 @@ function (_Component) { title: value }); } - }, { - key: "onSetLinkClass", - value: function onSetLinkClass(value) { - this.props.setAttributes({ - linkClass: value - }); - } - }, { - key: "onSetLinkRel", - value: function onSetLinkRel(value) { - this.props.setAttributes({ - rel: value - }); - } - }, { - key: "onSetNewTab", - value: function onSetNewTab(value) { - var updatedLinkTarget = getUpdatedLinkTargetSettings(value, this.props.attributes); - this.props.setAttributes(updatedLinkTarget); - } }, { key: "onFocusCaption", value: function onFocusCaption() { @@ -4273,34 +4152,16 @@ function (_Component) { return Object(external_this_lodash_["last"])(path.split('/')); } } - }, { - key: "getLinkDestinations", - value: function getLinkDestinations() { - return [{ - linkDestination: LINK_DESTINATION_MEDIA, - title: Object(external_this_wp_i18n_["__"])('Media File'), - url: this.props.image && this.props.image.source_url || this.props.attributes.url, - icon: image_icon - }, { - linkDestination: LINK_DESTINATION_ATTACHMENT, - title: Object(external_this_wp_i18n_["__"])('Attachment Page'), - url: this.props.image && this.props.image.link, - icon: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { - viewBox: "0 0 24 24", - xmlns: "http://www.w3.org/2000/svg" - }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { - d: "M0 0h24v24H0V0z", - fill: "none" - }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { - d: "M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zM6 20V4h7v5h5v11H6z" - })) - }]; - } }, { key: "getImageSizeOptions", value: function getImageSizeOptions() { - var imageSizes = this.props.imageSizes; - return Object(external_this_lodash_["map"])(imageSizes, function (_ref4) { + var _this$props2 = this.props, + imageSizes = _this$props2.imageSizes, + image = _this$props2.image; + return Object(external_this_lodash_["map"])(Object(external_this_lodash_["filter"])(imageSizes, function (_ref3) { + var slug = _ref3.slug; + return Object(external_this_lodash_["get"])(image, ['media_details', 'sizes', slug, 'source_url']); + }), function (_ref4) { var name = _ref4.name, slug = _ref4.slug; return { @@ -4314,17 +4175,17 @@ function (_Component) { value: function render() { var _this4 = this; - var _this$props2 = this.props, - attributes = _this$props2.attributes, - setAttributes = _this$props2.setAttributes, - isLargeViewport = _this$props2.isLargeViewport, - isSelected = _this$props2.isSelected, - className = _this$props2.className, - maxWidth = _this$props2.maxWidth, - noticeUI = _this$props2.noticeUI, - isRTL = _this$props2.isRTL, - onResizeStart = _this$props2.onResizeStart, - _onResizeStop = _this$props2.onResizeStop; + var _this$props3 = this.props, + attributes = _this$props3.attributes, + setAttributes = _this$props3.setAttributes, + isLargeViewport = _this$props3.isLargeViewport, + isSelected = _this$props3.isSelected, + className = _this$props3.className, + maxWidth = _this$props3.maxWidth, + noticeUI = _this$props3.noticeUI, + isRTL = _this$props3.isRTL, + onResizeStart = _this$props3.onResizeStart, + _onResizeStop = _this$props3.onResizeStop; var url = attributes.url, alt = attributes.alt, caption = attributes.caption, @@ -4339,7 +4200,6 @@ function (_Component) { height = attributes.height, linkTarget = attributes.linkTarget, sizeSlug = attributes.sizeSlug; - var cleanRel = removeNewTabRel(rel); var isExternal = edit_isExternalImage(id, url); var controls = Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockAlignmentToolbar"], { value: align, @@ -4351,28 +4211,15 @@ function (_Component) { onSelect: this.onSelectImage, onSelectURL: this.onSelectURL, onError: this.onUploadError - }), url && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], null, Object(external_this_wp_element_["createElement"])(edit_ImageURLInputUI, { + }), url && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["__experimentalImageURLInputUI"], { url: href || '', onChangeUrl: this.onSetHref, - mediaLinks: this.getLinkDestinations(), linkDestination: linkDestination, - advancedOptions: Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], { - label: Object(external_this_wp_i18n_["__"])('Open in New Tab'), - onChange: this.onSetNewTab, - checked: linkTarget === '_blank' - }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TextControl"], { - label: Object(external_this_wp_i18n_["__"])('Link Rel'), - value: cleanRel || '', - onChange: this.onSetLinkRel, - onKeyPress: stopPropagation, - onKeyDown: edit_stopPropagationRelevantKeys - }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TextControl"], { - label: Object(external_this_wp_i18n_["__"])('Link CSS Class'), - value: linkClass || '', - onKeyPress: stopPropagation, - onKeyDown: edit_stopPropagationRelevantKeys, - onChange: this.onSetLinkClass - })) + mediaUrl: this.props.image && this.props.image.source_url, + mediaLink: this.props.image && this.props.image.link, + linkTarget: linkTarget, + linkClass: linkClass, + rel: rel }))); var src = isExternal ? url : undefined; var labels = { @@ -4464,7 +4311,7 @@ function (_Component) { key: scale, isSmall: true, isPrimary: isCurrent, - "aria-pressed": isCurrent, + isPressed: isCurrent, onClick: _this4.updateDimensions(scaledWidth, scaledHeight) }, scale, "%"); })), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { @@ -4763,27 +4610,32 @@ var imageSchema = { classes: ['alignleft', 'aligncenter', 'alignright', 'alignnone', /^wp-image-\d+$/] } }; -var schema = { - figure: { - require: ['img'], - children: Object(objectSpread["a" /* default */])({}, imageSchema, { - a: { - attributes: ['href', 'rel', 'target'], - children: imageSchema - }, - figcaption: { - children: Object(external_this_wp_blocks_["getPhrasingContentSchema"])() - } - }) - } + +var transforms_schema = function schema(_ref2) { + var phrasingContentSchema = _ref2.phrasingContentSchema; + return { + figure: { + require: ['img'], + children: Object(objectSpread["a" /* default */])({}, imageSchema, { + a: { + attributes: ['href', 'rel', 'target'], + children: imageSchema + }, + figcaption: { + children: phrasingContentSchema + } + }) + } + }; }; + var image_transforms_transforms = { from: [{ type: 'raw', isMatch: function isMatch(node) { return node.nodeName === 'FIGURE' && !!node.querySelector('img'); }, - schema: schema, + schema: transforms_schema, transform: function transform(node) { // Search both figure and image classes. Alignment could be // set on either. ID is set on the image. @@ -4841,27 +4693,27 @@ var image_transforms_transforms = { shortcode: stripFirstImage }, href: { - shortcode: function shortcode(attributes, _ref2) { - var _shortcode = _ref2.shortcode; + shortcode: function shortcode(attributes, _ref3) { + var _shortcode = _ref3.shortcode; return getFirstAnchorAttributeFormHTML(_shortcode.content, 'href'); } }, rel: { - shortcode: function shortcode(attributes, _ref3) { - var _shortcode2 = _ref3.shortcode; + shortcode: function shortcode(attributes, _ref4) { + var _shortcode2 = _ref4.shortcode; return getFirstAnchorAttributeFormHTML(_shortcode2.content, 'rel'); } }, linkClass: { - shortcode: function shortcode(attributes, _ref4) { - var _shortcode3 = _ref4.shortcode; + shortcode: function shortcode(attributes, _ref5) { + var _shortcode3 = _ref5.shortcode; return getFirstAnchorAttributeFormHTML(_shortcode3.content, 'class'); } }, id: { type: 'number', - shortcode: function shortcode(_ref5) { - var id = _ref5.named.id; + shortcode: function shortcode(_ref6) { + var id = _ref6.named.id; if (!id) { return; @@ -4872,9 +4724,9 @@ var image_transforms_transforms = { }, align: { type: 'string', - shortcode: function shortcode(_ref6) { - var _ref6$named$align = _ref6.named.align, - align = _ref6$named$align === void 0 ? 'alignnone' : _ref6$named$align; + shortcode: function shortcode(_ref7) { + var _ref7$named$align = _ref7.named.align, + align = _ref7$named$align === void 0 ? 'alignnone' : _ref7$named$align; return align.replace('align', ''); } } @@ -4982,6 +4834,7 @@ var image_settings = { attributes: { sizeSlug: 'large', url: 'https://s.w.org/images/core/5.3/MtBlanc1.jpg', + // translators: Caption accompanying an image of the Mont Blanc, which serves as an example for the Image block. caption: Object(external_this_wp_i18n_["__"])('Mont Blanc appears—still, snowy, and serene.') } }, @@ -4990,8 +4843,8 @@ var image_settings = { label: Object(external_this_wp_i18n_["_x"])('Default', 'block style'), isDefault: true }, { - name: 'circle-mask', - label: Object(external_this_wp_i18n_["_x"])('Circle Mask', 'block style') + name: 'rounded', + label: Object(external_this_wp_i18n_["_x"])('Rounded', 'block style') }], transforms: image_transforms, getEditWrapperProps: function getEditWrapperProps(attributes) { @@ -5110,7 +4963,8 @@ var heading_deprecated_deprecated = [{ function HeadingLevelIcon(_ref) { var level = _ref.level, - __unstableActive = _ref.__unstableActive; + _ref$isPressed = _ref.isPressed, + isPressed = _ref$isPressed === void 0 ? false : _ref$isPressed; var levelToPath = { 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', @@ -5129,7 +4983,7 @@ function HeadingLevelIcon(_ref) { height: "20", viewBox: "0 0 20 20", xmlns: "http://www.w3.org/2000/svg", - __unstableActive: __unstableActive + isPressed: isPressed }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { d: levelToPath[level] })); @@ -5178,7 +5032,7 @@ function (_Component) { return { icon: Object(external_this_wp_element_["createElement"])(HeadingLevelIcon, { level: targetLevel, - __unstableActive: isActive + isPressed: isActive }), // translators: %s: heading level e.g: "1", "2", "3" title: Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["__"])('Heading %d'), targetLevel), @@ -5375,7 +5229,6 @@ function getLevelFromHeadingNodeName(nodeName) { // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/heading/transforms.js - /** * WordPress dependencies */ @@ -5385,50 +5238,84 @@ function getLevelFromHeadingNodeName(nodeName) { */ +var transforms_name$category$attrib = { + name: "core/heading", + category: "common", + attributes: { + align: { + type: "string" + }, + content: { + type: "string", + source: "html", + selector: "h1,h2,h3,h4,h5,h6", + "default": "" + }, + level: { + type: "number", + "default": 2 + }, + placeholder: { + type: "string" + }, + textColor: { + type: "string" + }, + customTextColor: { + type: "string" + } + } +}, + heading_transforms_name = transforms_name$category$attrib.name; var heading_transforms_transforms = { from: [{ type: 'block', blocks: ['core/paragraph'], transform: function transform(_ref) { var content = _ref.content; - return Object(external_this_wp_blocks_["createBlock"])('core/heading', { + return Object(external_this_wp_blocks_["createBlock"])(heading_transforms_name, { content: content }); } }, { type: 'raw', selector: 'h1,h2,h3,h4,h5,h6', - schema: { - h1: { - children: Object(external_this_wp_blocks_["getPhrasingContentSchema"])() - }, - h2: { - children: Object(external_this_wp_blocks_["getPhrasingContentSchema"])() - }, - h3: { - children: Object(external_this_wp_blocks_["getPhrasingContentSchema"])() - }, - h4: { - children: Object(external_this_wp_blocks_["getPhrasingContentSchema"])() - }, - h5: { - children: Object(external_this_wp_blocks_["getPhrasingContentSchema"])() - }, - h6: { - children: Object(external_this_wp_blocks_["getPhrasingContentSchema"])() - } + schema: function schema(_ref2) { + var phrasingContentSchema = _ref2.phrasingContentSchema, + isPaste = _ref2.isPaste; + var schema = { + children: phrasingContentSchema, + attributes: isPaste ? [] : ['style'] + }; + return { + h1: schema, + h2: schema, + h3: schema, + h4: schema, + h5: schema, + h6: schema + }; }, transform: function transform(node) { - return Object(external_this_wp_blocks_["createBlock"])('core/heading', Object(objectSpread["a" /* default */])({}, Object(external_this_wp_blocks_["getBlockAttributes"])('core/heading', node.outerHTML), { - level: getLevelFromHeadingNodeName(node.nodeName) - })); + var attributes = Object(external_this_wp_blocks_["getBlockAttributes"])(heading_transforms_name, node.outerHTML); + + var _ref3 = node.style || {}, + textAlign = _ref3.textAlign; + + attributes.level = getLevelFromHeadingNodeName(node.nodeName); + + if (textAlign === 'left' || textAlign === 'center' || textAlign === 'right') { + attributes.align = textAlign; + } + + return Object(external_this_wp_blocks_["createBlock"])(heading_transforms_name, attributes); } }].concat(Object(toConsumableArray["a" /* default */])([2, 3, 4, 5, 6].map(function (level) { return { type: 'prefix', prefix: Array(level + 1).join('#'), transform: function transform(content) { - return Object(external_this_wp_blocks_["createBlock"])('core/heading', { + return Object(external_this_wp_blocks_["createBlock"])(heading_transforms_name, { level: level, content: content }); @@ -5438,8 +5325,8 @@ var heading_transforms_transforms = { to: [{ type: 'block', blocks: ['core/paragraph'], - transform: function transform(_ref2) { - var content = _ref2.content; + transform: function transform(_ref4) { + var content = _ref4.content; return Object(external_this_wp_blocks_["createBlock"])('core/paragraph', { content: content }); @@ -5498,7 +5385,8 @@ var heading_settings = { keywords: [Object(external_this_wp_i18n_["__"])('title'), Object(external_this_wp_i18n_["__"])('subtitle')], supports: { className: false, - anchor: true + anchor: true, + __unstablePasteTextInline: true }, example: { attributes: { @@ -5764,7 +5652,7 @@ function quote_save_save(_ref) { } // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js -var objectWithoutProperties = __webpack_require__(21); +var objectWithoutProperties = __webpack_require__(20); // EXTERNAL MODULE: external {"this":["wp","richText"]} var external_this_wp_richText_ = __webpack_require__(24); @@ -5848,25 +5736,28 @@ var quote_transforms_transforms = { // content with an optional cite child. Array.from(node.childNodes).every(isParagraphOrSingleCite); }, - schema: { - blockquote: { - children: { - p: { - children: Object(external_this_wp_blocks_["getPhrasingContentSchema"])() - }, - cite: { - children: Object(external_this_wp_blocks_["getPhrasingContentSchema"])() + schema: function schema(_ref4) { + var phrasingContentSchema = _ref4.phrasingContentSchema; + return { + blockquote: { + children: { + p: { + children: phrasingContentSchema + }, + cite: { + children: phrasingContentSchema + } } } - } + }; } }], to: [{ type: 'block', blocks: ['core/paragraph'], - transform: function transform(_ref4) { - var value = _ref4.value, - citation = _ref4.citation; + transform: function transform(_ref5) { + var value = _ref5.value, + citation = _ref5.citation; var paragraphs = []; if (value && value !== '

') { @@ -5899,10 +5790,10 @@ var quote_transforms_transforms = { }, { type: 'block', blocks: ['core/heading'], - transform: function transform(_ref5) { - var value = _ref5.value, - citation = _ref5.citation, - attrs = Object(objectWithoutProperties["a" /* default */])(_ref5, ["value", "citation"]); + transform: function transform(_ref6) { + var value = _ref6.value, + citation = _ref6.citation, + attrs = Object(objectWithoutProperties["a" /* default */])(_ref6, ["value", "citation"]); // If there is no quote content, use the citation as the // content of the resulting heading. A nonexistent citation @@ -5940,9 +5831,9 @@ var quote_transforms_transforms = { }, { type: 'block', blocks: ['core/pullquote'], - transform: function transform(_ref6) { - var value = _ref6.value, - citation = _ref6.citation; + transform: function transform(_ref7) { + var value = _ref7.value, + citation = _ref7.citation; return Object(external_this_wp_blocks_["createBlock"])('core/pullquote', { value: value, citation: citation @@ -6048,8 +5939,9 @@ function defaultColumnsNumber(attributes) { return Math.min(3, attributes.images.length); } var shared_pickRelevantMediaFiles = function pickRelevantMediaFiles(image) { + var sizeSlug = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'large'; var imageProps = Object(external_this_lodash_["pick"])(image, ['alt', 'id', 'link', 'caption']); - imageProps.url = Object(external_this_lodash_["get"])(image, ['sizes', 'large', 'url']) || Object(external_this_lodash_["get"])(image, ['media_details', 'sizes', 'large', 'source_url']) || image.url; + imageProps.url = Object(external_this_lodash_["get"])(image, ['sizes', sizeSlug, 'url']) || Object(external_this_lodash_["get"])(image, ['media_details', 'sizes', sizeSlug, 'source_url']) || image.url; var fullUrl = Object(external_this_lodash_["get"])(image, ['sizes', 'full', 'url']) || Object(external_this_lodash_["get"])(image, ['media_details', 'sizes', 'full', 'source_url']); if (fullUrl) { @@ -6419,6 +6311,9 @@ var sharedIcon = Object(external_this_wp_element_["createElement"])(external_thi icon: icons_icon }); +// EXTERNAL MODULE: external {"this":["wp","keycodes"]} +var external_this_wp_keycodes_ = __webpack_require__(19); + // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/gallery-image.js @@ -6590,14 +6485,14 @@ function (_Component) { href: href }, img) : img, Object(external_this_wp_element_["createElement"])("div", { className: "block-library-gallery-item__move-menu" - }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], { + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { icon: leftArrow, onClick: isFirstItem ? undefined : onMoveBackward, className: "blocks-gallery-item__move-backward", label: Object(external_this_wp_i18n_["__"])('Move image backward'), "aria-disabled": isFirstItem, disabled: !isSelected - }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], { + }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { icon: rightArrow, onClick: isLastItem ? undefined : onMoveForward, className: "blocks-gallery-item__move-forward", @@ -6606,7 +6501,7 @@ function (_Component) { disabled: !isSelected })), Object(external_this_wp_element_["createElement"])("div", { className: "block-library-gallery-item__inline-menu" - }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], { + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { icon: "no-alt", onClick: onRemove, className: "blocks-gallery-item__remove", @@ -6740,6 +6635,7 @@ var gallery_Gallery = function Gallery(props) { + /** * External dependencies */ @@ -6812,6 +6708,8 @@ function (_Component) { _this.setImageAttributes = _this.setImageAttributes.bind(Object(assertThisInitialized["a" /* default */])(_this)); _this.setAttributes = _this.setAttributes.bind(Object(assertThisInitialized["a" /* default */])(_this)); _this.onFocusGalleryCaption = _this.onFocusGalleryCaption.bind(Object(assertThisInitialized["a" /* default */])(_this)); + _this.getImagesSizeOptions = _this.getImagesSizeOptions.bind(Object(assertThisInitialized["a" /* default */])(_this)); + _this.updateImagesSize = _this.updateImagesSize.bind(Object(assertThisInitialized["a" /* default */])(_this)); _this.state = { selectedImage: null, attachmentCaptions: null @@ -6937,7 +6835,8 @@ function (_Component) { var _this$props$attribute = this.props.attributes, columns = _this$props$attribute.columns, - images = _this$props$attribute.images; + images = _this$props$attribute.images, + sizeSlug = _this$props$attribute.sizeSlug; var attachmentCaptions = this.state.attachmentCaptions; this.setState({ attachmentCaptions: newImages.map(function (newImage) { @@ -6949,7 +6848,7 @@ function (_Component) { }); this.setAttributes({ images: newImages.map(function (newImage) { - return Object(objectSpread["a" /* default */])({}, shared_pickRelevantMediaFiles(newImage), { + return Object(objectSpread["a" /* default */])({}, shared_pickRelevantMediaFiles(newImage, sizeSlug), { caption: _this6.selectCaption(newImage, images, attachmentCaptions) }); }), @@ -7010,24 +6909,65 @@ function (_Component) { images: [].concat(Object(toConsumableArray["a" /* default */])(images.slice(0, index)), [Object(objectSpread["a" /* default */])({}, images[index], attributes)], Object(toConsumableArray["a" /* default */])(images.slice(index + 1))) }); } + }, { + key: "getImagesSizeOptions", + value: function getImagesSizeOptions() { + var _this$props = this.props, + imageSizes = _this$props.imageSizes, + resizedImages = _this$props.resizedImages; + return Object(external_this_lodash_["map"])(Object(external_this_lodash_["filter"])(imageSizes, function (_ref) { + var slug = _ref.slug; + return Object(external_this_lodash_["some"])(resizedImages, function (sizes) { + return sizes[slug]; + }); + }), function (_ref2) { + var name = _ref2.name, + slug = _ref2.slug; + return { + value: slug, + label: name + }; + }); + } + }, { + key: "updateImagesSize", + value: function updateImagesSize(sizeSlug) { + var _this$props2 = this.props, + images = _this$props2.attributes.images, + resizedImages = _this$props2.resizedImages; + var updatedImages = Object(external_this_lodash_["map"])(images, function (image) { + if (!image.id) { + return image; + } + + var url = Object(external_this_lodash_["get"])(resizedImages, [parseInt(image.id, 10), sizeSlug]); + return Object(objectSpread["a" /* default */])({}, image, url && { + url: url + }); + }); + this.setAttributes({ + images: updatedImages, + sizeSlug: sizeSlug + }); + } }, { key: "componentDidMount", value: function componentDidMount() { - var _this$props = this.props, - attributes = _this$props.attributes, - mediaUpload = _this$props.mediaUpload; + var _this$props3 = this.props, + attributes = _this$props3.attributes, + mediaUpload = _this$props3.mediaUpload; var images = attributes.images; - if (external_this_wp_element_["Platform"].OS === 'web' && images && images.length > 0 && Object(external_this_lodash_["every"])(images, function (_ref) { - var url = _ref.url; + if (external_this_wp_element_["Platform"].OS === 'web' && images && images.length > 0 && Object(external_this_lodash_["every"])(images, function (_ref3) { + var url = _ref3.url; return Object(external_this_wp_blob_["isBlobURL"])(url); })) { - var filesList = Object(external_this_lodash_["map"])(images, function (_ref2) { - var url = _ref2.url; + var filesList = Object(external_this_lodash_["map"])(images, function (_ref4) { + var url = _ref4.url; return Object(external_this_wp_blob_["getBlobByURL"])(url); }); - Object(external_this_lodash_["forEach"])(images, function (_ref3) { - var url = _ref3.url; + Object(external_this_lodash_["forEach"])(images, function (_ref5) { + var url = _ref5.url; return Object(external_this_wp_blob_["revokeBlobURL"])(url); }); mediaUpload({ @@ -7051,19 +6991,20 @@ function (_Component) { }, { key: "render", value: function render() { - var _this$props2 = this.props, - attributes = _this$props2.attributes, - className = _this$props2.className, - isSelected = _this$props2.isSelected, - noticeUI = _this$props2.noticeUI; + var _this$props4 = this.props, + attributes = _this$props4.attributes, + className = _this$props4.className, + isSelected = _this$props4.isSelected, + noticeUI = _this$props4.noticeUI; var _attributes$columns = attributes.columns, columns = _attributes$columns === void 0 ? defaultColumnsNumber(attributes) : _attributes$columns, imageCrop = attributes.imageCrop, images = attributes.images, - linkTo = attributes.linkTo; + linkTo = attributes.linkTo, + sizeSlug = attributes.sizeSlug; var hasImages = !!images.length; - var hasImagesWithId = hasImages && Object(external_this_lodash_["some"])(images, function (_ref4) { - var id = _ref4.id; + var hasImagesWithId = hasImages && Object(external_this_lodash_["some"])(images, function (_ref6) { + var id = _ref6.id; return id; }); var mediaPlaceholder = Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaPlaceholder"], { @@ -7090,6 +7031,7 @@ function (_Component) { return mediaPlaceholder; } + var imageSizeOptions = this.getImagesSizeOptions(); return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], { title: Object(external_this_wp_i18n_["__"])('Gallery Settings') }, images.length > 1 && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["RangeControl"], Object(esm_extends["a" /* default */])({ @@ -7112,7 +7054,12 @@ function (_Component) { value: linkTo, onChange: this.setLinkTo, options: linkOptions - })))), noticeUI, Object(external_this_wp_element_["createElement"])(gallery, Object(esm_extends["a" /* default */])({}, this.props, { + })), hasImages && !Object(external_this_lodash_["isEmpty"])(imageSizeOptions) && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SelectControl"], { + label: Object(external_this_wp_i18n_["__"])('Images Size'), + value: sizeSlug, + options: imageSizeOptions, + onChange: this.updateImagesSize + }))), noticeUI, Object(external_this_wp_element_["createElement"])(gallery, Object(esm_extends["a" /* default */])({}, this.props, { selectedImage: this.state.selectedImage, mediaPlaceholder: mediaPlaceholder, onMoveBackward: this.onMoveBackward, @@ -7128,15 +7075,42 @@ function (_Component) { return GalleryEdit; }(external_this_wp_element_["Component"]); -/* harmony default export */ var gallery_edit = (Object(external_this_wp_compose_["compose"])([Object(external_this_wp_data_["withSelect"])(function (select) { - var _select = select('core/block-editor'), - getSettings = _select.getSettings; +/* harmony default export */ var gallery_edit = (Object(external_this_wp_compose_["compose"])([Object(external_this_wp_data_["withSelect"])(function (select, _ref7) { + var ids = _ref7.attributes.ids, + isSelected = _ref7.isSelected; + + var _select = select('core'), + getMedia = _select.getMedia; + + var _select2 = select('core/block-editor'), + getSettings = _select2.getSettings; var _getSettings = getSettings(), + imageSizes = _getSettings.imageSizes, mediaUpload = _getSettings.mediaUpload; + var resizedImages = {}; + + if (isSelected) { + resizedImages = Object(external_this_lodash_["reduce"])(ids, function (currentResizedImages, id) { + if (!id) { + return currentResizedImages; + } + + var image = getMedia(id); + var sizes = Object(external_this_lodash_["reduce"])(imageSizes, function (currentSizes, size) { + var defaultUrl = Object(external_this_lodash_["get"])(image, ['sizes', size.slug, 'url']); + var mediaDetailsUrl = Object(external_this_lodash_["get"])(image, ['media_details', 'sizes', size.slug, 'source_url']); + return Object(objectSpread["a" /* default */])({}, currentSizes, Object(defineProperty["a" /* default */])({}, size.slug, defaultUrl || mediaDetailsUrl)); + }, {}); + return Object(objectSpread["a" /* default */])({}, currentResizedImages, Object(defineProperty["a" /* default */])({}, parseInt(id, 10), sizes)); + }, {}); + } + return { - mediaUpload: mediaUpload + imageSizes: imageSizes, + mediaUpload: mediaUpload, + resizedImages: resizedImages }; }), external_this_wp_components_["withNotices"], Object(external_this_wp_viewport_["withViewportMatch"])({ isNarrow: '< small' @@ -7237,10 +7211,13 @@ var gallery_transforms_transforms = { isMultiBlock: true, blocks: ['core/image'], transform: function transform(attributes) { - // Init the align attribute from the first item which may be either the placeholder or an image. - var align = attributes[0].align; // Loop through all the images and check if they have the same align. + // Init the align and size from the first item which may be either the placeholder or an image. + var _attributes$ = attributes[0], + align = _attributes$.align, + sizeSlug = _attributes$.sizeSlug; // Loop through all the images and check if they have the same align and size. align = Object(external_this_lodash_["every"])(attributes, ['align', align]) ? align : undefined; + sizeSlug = Object(external_this_lodash_["every"])(attributes, ['sizeSlug', sizeSlug]) ? sizeSlug : undefined; var validImages = Object(external_this_lodash_["filter"])(attributes, function (_ref) { var url = _ref.url; return url; @@ -7262,7 +7239,8 @@ var gallery_transforms_transforms = { var id = _ref3.id; return id; }), - align: align + align: align, + sizeSlug: sizeSlug }); } }, { @@ -7328,7 +7306,8 @@ var gallery_transforms_transforms = { blocks: ['core/image'], transform: function transform(_ref8) { var images = _ref8.images, - align = _ref8.align; + align = _ref8.align, + sizeSlug = _ref8.sizeSlug; if (images.length > 0) { return images.map(function (_ref9) { @@ -7341,7 +7320,8 @@ var gallery_transforms_transforms = { url: url, alt: alt, caption: caption, - align: align + align: align, + sizeSlug: sizeSlug }); }); } @@ -7414,7 +7394,9 @@ var gallery_metadata = { "default": [] }, columns: { - type: "number" + type: "number", + minimum: 1, + maximum: 8 }, caption: { type: "string", @@ -7428,6 +7410,10 @@ var gallery_metadata = { linkTo: { type: "string", "default": "none" + }, + sizeSlug: { + type: "string", + "default": "large" } } }; @@ -7460,7 +7446,7 @@ var gallery_settings = { }; // EXTERNAL MODULE: external {"this":["wp","serverSideRender"]} -var external_this_wp_serverSideRender_ = __webpack_require__(58); +var external_this_wp_serverSideRender_ = __webpack_require__(60); var external_this_wp_serverSideRender_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_serverSideRender_); // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/archives/edit.js @@ -7540,6 +7526,71 @@ var archives_settings = { edit: ArchivesEdit }; +// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/audio/deprecated.js + + +/** + * WordPress dependencies + */ + +/* harmony default export */ var audio_deprecated = ([{ + 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: true + }, + save: function save(_ref) { + var attributes = _ref.attributes; + var autoplay = attributes.autoplay, + caption = attributes.caption, + loop = attributes.loop, + preload = attributes.preload, + src = attributes.src; + return Object(external_this_wp_element_["createElement"])("figure", null, Object(external_this_wp_element_["createElement"])("audio", { + controls: "controls", + src: src, + autoPlay: autoplay, + loop: loop, + preload: preload + }), !external_this_wp_blockEditor_["RichText"].isEmpty(caption) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, { + tagName: "figcaption", + value: caption + })); + } +}]); + // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/audio/icon.js @@ -7778,8 +7829,8 @@ function (_Component) { }); } - return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], { - className: "components-icon-button components-toolbar__control", + return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { + className: "components-toolbar__control", label: Object(external_this_wp_i18n_["__"])('Edit audio'), onClick: switchToEditing, icon: "edit" @@ -7861,7 +7912,7 @@ function audio_save_save(_ref) { loop = attributes.loop, preload = attributes.preload, src = attributes.src; - return Object(external_this_wp_element_["createElement"])("figure", null, Object(external_this_wp_element_["createElement"])("audio", { + return src && Object(external_this_wp_element_["createElement"])("figure", null, Object(external_this_wp_element_["createElement"])("audio", { controls: "controls", src: src, autoPlay: autoplay, @@ -7943,6 +7994,7 @@ var audio_transforms_transforms = { + var audio_metadata = { name: "core/audio", category: "common", @@ -7991,6 +8043,7 @@ var audio_settings = { keywords: [Object(external_this_wp_i18n_["__"])('music'), Object(external_this_wp_i18n_["__"])('sound'), Object(external_this_wp_i18n_["__"])('podcast'), Object(external_this_wp_i18n_["__"])('recording')], icon: audio_icon, transforms: audio_transforms, + deprecated: audio_deprecated, supports: { align: true }, @@ -8254,10 +8307,12 @@ var button_deprecated_deprecated = [{ + /** * External dependencies */ + /** * WordPress dependencies */ @@ -8267,6 +8322,7 @@ var button_deprecated_deprecated = [{ + var edit_window = window, edit_getComputedStyle = edit_window.getComputedStyle; var applyFallbackStyles = Object(external_this_wp_components_["withFallbackStyles"])(function (node, ownProps) { @@ -8308,19 +8364,99 @@ function BorderPanel(_ref) { })); } -function ButtonEdit(_ref2) { +var edit_handleLinkControlOnKeyDown = function handleLinkControlOnKeyDown(event) { + var keyCode = event.keyCode; + + if ([external_this_wp_keycodes_["LEFT"], external_this_wp_keycodes_["DOWN"], external_this_wp_keycodes_["RIGHT"], external_this_wp_keycodes_["UP"], external_this_wp_keycodes_["BACKSPACE"], external_this_wp_keycodes_["ENTER"]].indexOf(keyCode) > -1) { + // Stop the key event from propagating up to ObserveTyping.startTypingInTextField. + event.stopPropagation(); + } +}; + +var handleLinkControlOnKeyPress = function handleLinkControlOnKeyPress(event) { + event.stopPropagation(); +}; + +function URLPicker(_ref2) { + var isSelected = _ref2.isSelected, + url = _ref2.url, + title = _ref2.title, + setAttributes = _ref2.setAttributes, + opensInNewTab = _ref2.opensInNewTab, + onToggleOpenInNewTab = _ref2.onToggleOpenInNewTab; + + var _useState = Object(external_this_wp_element_["useState"])(false), + _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2), + isURLPickerOpen = _useState2[0], + setIsURLPickerOpen = _useState2[1]; + + Object(external_this_wp_element_["useEffect"])(function () { + if (!isSelected) { + setIsURLPickerOpen(false); + } + }, [isSelected]); + + var openLinkControl = function openLinkControl() { + setIsURLPickerOpen(true); + }; + + var linkControl = isURLPickerOpen && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["__experimentalLinkControl"], { + className: "wp-block-navigation-link__inline-link-input", + onKeyDown: edit_handleLinkControlOnKeyDown, + onKeyPress: handleLinkControlOnKeyPress, + currentLink: !url && !title ? null : { + url: url, + title: title + }, + onLinkChange: function onLinkChange(_ref3) { + var _ref3$title = _ref3.title, + newTitle = _ref3$title === void 0 ? '' : _ref3$title, + _ref3$url = _ref3.url, + newURL = _ref3$url === void 0 ? '' : _ref3$url; + setAttributes({ + title: Object(external_this_lodash_["escape"])(newTitle), + url: newURL + }); + }, + currentSettings: [{ + id: 'opensInNewTab', + title: Object(external_this_wp_i18n_["__"])('Open in new tab'), + checked: opensInNewTab + }], + onSettingsChange: function onSettingsChange(setting, value) { + if (setting === 'opensInNewTab') { + onToggleOpenInNewTab(value); + } + }, + onClose: function onClose() { + setIsURLPickerOpen(false); + } + }); + return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarButton"], { + name: "link", + icon: "admin-links", + title: Object(external_this_wp_i18n_["__"])('Link'), + shortcut: external_this_wp_keycodes_["displayShortcut"].primary('k'), + onClick: openLinkControl + }))), isSelected && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["KeyboardShortcuts"], { + bindGlobal: true, + shortcuts: Object(defineProperty["a" /* default */])({}, external_this_wp_keycodes_["rawShortcut"].primary('k'), openLinkControl) + }), linkControl); +} + +function ButtonEdit(_ref5) { var _classnames; - var attributes = _ref2.attributes, - backgroundColor = _ref2.backgroundColor, - textColor = _ref2.textColor, - setBackgroundColor = _ref2.setBackgroundColor, - setTextColor = _ref2.setTextColor, - fallbackBackgroundColor = _ref2.fallbackBackgroundColor, - fallbackTextColor = _ref2.fallbackTextColor, - setAttributes = _ref2.setAttributes, - className = _ref2.className, - isSelected = _ref2.isSelected; + var attributes = _ref5.attributes, + backgroundColor = _ref5.backgroundColor, + textColor = _ref5.textColor, + setBackgroundColor = _ref5.setBackgroundColor, + setTextColor = _ref5.setTextColor, + fallbackBackgroundColor = _ref5.fallbackBackgroundColor, + fallbackTextColor = _ref5.fallbackTextColor, + setAttributes = _ref5.setAttributes, + className = _ref5.className, + isSelected = _ref5.isSelected; var borderRadius = attributes.borderRadius, linkTarget = attributes.linkTarget, placeholder = attributes.placeholder, @@ -8377,39 +8513,25 @@ function ButtonEdit(_ref2) { color: textColor.color, borderRadius: borderRadius ? borderRadius + 'px' : undefined }) - }), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["URLInput"], { - label: Object(external_this_wp_i18n_["__"])('Link'), - className: "wp-block-button__inline-link", - value: url - /* eslint-disable jsx-a11y/no-autofocus */ - // Disable Reason: The rule is meant to prevent enabling auto-focus, not disabling it. - , - autoFocus: false - /* eslint-enable jsx-a11y/no-autofocus */ - , - onChange: function onChange(value) { - return setAttributes({ - url: value - }); - }, - disableSuggestions: !isSelected, - isFullWidth: true, - hasBorder: true - }), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["PanelColorSettings"], { - title: Object(external_this_wp_i18n_["__"])('Color Settings'), - colorSettings: [{ - value: backgroundColor.color, - onChange: function onChange(newColor) { - setAttributes({ - customGradient: undefined - }); - setBackgroundColor(newColor); - }, - label: Object(external_this_wp_i18n_["__"])('Background Color') - }, { - value: textColor.color, - onChange: setTextColor, + }), Object(external_this_wp_element_["createElement"])(URLPicker, { + title: title, + url: url, + setAttributes: setAttributes, + isSelected: isSelected, + opensInNewTab: linkTarget === '_blank', + onToggleOpenInNewTab: onToggleOpenInNewTab + }), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["__experimentalPanelColorGradientSettings"], { + title: Object(external_this_wp_i18n_["__"])('Background & Text Color'), + settings: [{ + colorValue: textColor.color, + onColorChange: setTextColor, label: Object(external_this_wp_i18n_["__"])('Text Color') + }, { + colorValue: backgroundColor.color, + onColorChange: setBackgroundColor, + gradientValue: gradientValue, + onGradientChange: setGradient, + label: Object(external_this_wp_i18n_["__"])('Background') }] }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["ContrastChecker"], { // Text is considered large if font size is greater or equal to 18pt or 24px, @@ -8419,13 +8541,7 @@ function ButtonEdit(_ref2) { backgroundColor: backgroundColor.color, fallbackBackgroundColor: fallbackBackgroundColor, fallbackTextColor: fallbackTextColor - })), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["__experimentalGradientPickerPanel"], { - onChange: function onChange(newGradient) { - setGradient(newGradient); - setBackgroundColor(); - }, - value: gradientValue - }), Object(external_this_wp_element_["createElement"])(BorderPanel, { + })), Object(external_this_wp_element_["createElement"])(BorderPanel, { borderRadius: borderRadius, setAttributes: setAttributes }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], { @@ -8441,7 +8557,7 @@ function ButtonEdit(_ref2) { })))); } -/* harmony default export */ var button_edit = (Object(external_this_wp_compose_["compose"])([external_this_wp_compose_["withInstanceId"], Object(external_this_wp_blockEditor_["withColors"])('backgroundColor', { +/* harmony default export */ var button_edit = (Object(external_this_wp_compose_["compose"])([Object(external_this_wp_blockEditor_["withColors"])('backgroundColor', { textColor: 'color' }), applyFallbackStyles])(ButtonEdit)); @@ -8607,6 +8723,7 @@ var button_settings = { align: true, alignWide: false }, + parent: ['core/buttons'], styles: [{ name: 'fill', label: Object(external_this_wp_i18n_["__"])('Fill'), @@ -8620,6 +8737,98 @@ var button_settings = { deprecated: button_deprecated }; +// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/buttons/edit.js + + +/** + * WordPress dependencies + */ + +/** + * Internal dependencies + */ + + +var ALLOWED_BLOCKS = [button_name]; +var BUTTONS_TEMPLATE = [['core/button']]; +var UI_PARTS = { + hasSelectedUI: false +}; + +function ButtonsEdit(_ref) { + var className = _ref.className; + return Object(external_this_wp_element_["createElement"])("div", { + className: className + }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InnerBlocks"], { + allowedBlocks: ALLOWED_BLOCKS, + template: BUTTONS_TEMPLATE, + __experimentalUIParts: UI_PARTS, + __experimentalMoverDirection: "horizontal" + })); +} + +/* harmony default export */ var buttons_edit = (ButtonsEdit); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/buttons/icon.js + + +/** + * WordPress dependencies + */ + +/* harmony default export */ var buttons_icon = (Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { + viewBox: "0 0 24 24", + xmlns: "http://www.w3.org/2000/svg" +}, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { + fill: "none", + d: "M0 0h24v24H0V0z" +}), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["G"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { + d: "M19 6H5c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm0 10H5V8h14v8z" +})))); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/buttons/save.js + + +/** + * WordPress dependencies + */ + +function buttons_save_save() { + return Object(external_this_wp_element_["createElement"])("div", null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InnerBlocks"].Content, null)); +} + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/buttons/index.js +/** + * WordPress dependencies + */ + +/** + * Internal dependencies + */ + + + +var buttons_metadata = { + name: "core/buttons", + category: "layout", + attributes: {} +}; + +var buttons_name = buttons_metadata.name; + +var buttons_settings = { + title: Object(external_this_wp_i18n_["__"])('Buttons'), + description: Object(external_this_wp_i18n_["__"])('Prompt visitors to take action with a group of button-style links.'), + icon: buttons_icon, + keywords: [Object(external_this_wp_i18n_["__"])('link')], + supports: { + align: true, + alignWide: false + }, + edit: buttons_edit, + save: buttons_save_save +}; + // EXTERNAL MODULE: external {"this":"moment"} var external_this_moment_ = __webpack_require__(30); var external_this_moment_default = /*#__PURE__*/__webpack_require__.n(external_this_moment_); @@ -9089,7 +9298,7 @@ function CodeEdit(_ref) { }))); // EXTERNAL MODULE: external {"this":["wp","escapeHtml"]} -var external_this_wp_escapeHtml_ = __webpack_require__(59); +var external_this_wp_escapeHtml_ = __webpack_require__(61); // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/code/utils.js /** @@ -9552,7 +9761,7 @@ function getMappedColumnWidths(blocks, widths) { * @type {string[]} */ -var ALLOWED_BLOCKS = ['core/column']; +var edit_ALLOWED_BLOCKS = ['core/column']; function ColumnsEditContainer(_ref) { var attributes = _ref.attributes, @@ -9566,7 +9775,7 @@ function ColumnsEditContainer(_ref) { return { count: select('core/block-editor').getBlockCount(clientId) }; - }), + }, [clientId]), count = _useSelect.count; var classes = classnames_default()(className, Object(defineProperty["a" /* default */])({}, "are-vertically-aligned-".concat(verticalAlignment), verticalAlignment)); @@ -9585,7 +9794,7 @@ function ColumnsEditContainer(_ref) { className: classes }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InnerBlocks"], { templateLock: "all", - allowedBlocks: ALLOWED_BLOCKS + allowedBlocks: edit_ALLOWED_BLOCKS }))); } @@ -9916,7 +10125,8 @@ var columns_settings = { innerBlocks: [{ name: 'core/paragraph', attributes: { - content: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent et eros eu felis.' + /* translators: example text. */ + content: Object(external_this_wp_i18n_["__"])('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent et eros eu felis.') } }, { name: 'core/image', @@ -9926,7 +10136,8 @@ var columns_settings = { }, { name: 'core/paragraph', attributes: { - content: 'Suspendisse commodo neque lacus, a dictum orci interdum et.' + /* translators: example text. */ + content: Object(external_this_wp_i18n_["__"])('Suspendisse commodo neque lacus, a dictum orci interdum et.') } }] }, { @@ -9934,11 +10145,13 @@ var columns_settings = { innerBlocks: [{ name: 'core/paragraph', attributes: { + /* translators: example text. */ content: Object(external_this_wp_i18n_["__"])('Etiam et egestas lorem. Vivamus sagittis sit amet dolor quis lobortis. Integer sed fermentum arcu, id vulputate lacus. Etiam fermentum sem eu quam hendrerit.') } }, { name: 'core/paragraph', attributes: { + /* translators: example text. */ content: Object(external_this_wp_i18n_["__"])('Nam risus massa, ullamcorper consectetur eros fermentum, porta aliquet ligula. Sed vel mauris nec enim.') } }] @@ -10239,6 +10452,82 @@ var cover_deprecated_blockAttributes = { } }; var cover_deprecated_deprecated = [{ + attributes: Object(objectSpread["a" /* default */])({}, cover_deprecated_blockAttributes, { + title: { + type: 'string', + source: 'html', + selector: 'p' + }, + contentAlign: { + type: 'string', + default: 'center' + }, + minHeight: { + type: 'number' + }, + gradient: { + type: 'string' + }, + customGradient: { + type: 'string' + } + }), + save: function save(_ref) { + var attributes = _ref.attributes; + var backgroundType = attributes.backgroundType, + gradient = attributes.gradient, + customGradient = attributes.customGradient, + customOverlayColor = attributes.customOverlayColor, + dimRatio = attributes.dimRatio, + focalPoint = attributes.focalPoint, + hasParallax = attributes.hasParallax, + overlayColor = attributes.overlayColor, + url = attributes.url, + minHeight = attributes.minHeight; + var overlayColorClass = Object(external_this_wp_blockEditor_["getColorClassName"])('background-color', overlayColor); + + var gradientClass = Object(external_this_wp_blockEditor_["__experimentalGetGradientClass"])(gradient); + + var style = backgroundType === IMAGE_BACKGROUND_TYPE ? backgroundImageStyles(url) : {}; + + if (!overlayColorClass) { + style.backgroundColor = customOverlayColor; + } + + if (focalPoint && !hasParallax) { + style.backgroundPosition = "".concat(focalPoint.x * 100, "% ").concat(focalPoint.y * 100, "%"); + } + + if (customGradient && !url) { + style.background = customGradient; + } + + style.minHeight = minHeight || undefined; + var classes = classnames_default()(dimRatioToClass(dimRatio), overlayColorClass, Object(defineProperty["a" /* default */])({ + 'has-background-dim': dimRatio !== 0, + 'has-parallax': hasParallax, + 'has-background-gradient': customGradient + }, gradientClass, !url && gradientClass)); + return Object(external_this_wp_element_["createElement"])("div", { + className: classes, + style: style + }, url && (gradient || customGradient) && dimRatio !== 0 && Object(external_this_wp_element_["createElement"])("span", { + "aria-hidden": "true", + className: classnames_default()('wp-block-cover__gradient-background', gradientClass), + style: customGradient ? { + background: customGradient + } : undefined + }), VIDEO_BACKGROUND_TYPE === backgroundType && url && Object(external_this_wp_element_["createElement"])("video", { + className: "wp-block-cover__video-background", + autoPlay: true, + muted: true, + loop: true, + src: url + }), Object(external_this_wp_element_["createElement"])("div", { + className: "wp-block-cover__inner-container" + }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InnerBlocks"].Content, null))); + } +}, { attributes: Object(objectSpread["a" /* default */])({}, cover_deprecated_blockAttributes, { title: { type: 'string', @@ -10253,8 +10542,8 @@ var cover_deprecated_deprecated = [{ supports: { align: true }, - save: function save(_ref) { - var attributes = _ref.attributes; + save: function save(_ref2) { + var attributes = _ref2.attributes; var backgroundType = attributes.backgroundType, contentAlign = attributes.contentAlign, customOverlayColor = attributes.customOverlayColor, @@ -10320,8 +10609,8 @@ var cover_deprecated_deprecated = [{ supports: { className: false }, - save: function save(_ref2) { - var attributes = _ref2.attributes; + save: function save(_ref3) { + var attributes = _ref3.attributes; var url = attributes.url, title = attributes.title, hasParallax = attributes.hasParallax, @@ -10376,8 +10665,8 @@ var cover_deprecated_deprecated = [{ supports: { className: false }, - save: function save(_ref3) { - var attributes = _ref3.attributes; + save: function save(_ref4) { + var attributes = _ref4.attributes; var url = attributes.url, title = attributes.title, hasParallax = attributes.hasParallax, @@ -10412,7 +10701,7 @@ var dist = __webpack_require__(219); var dist_default = /*#__PURE__*/__webpack_require__.n(dist); // EXTERNAL MODULE: ./node_modules/tinycolor2/tinycolor.js -var tinycolor = __webpack_require__(48); +var tinycolor = __webpack_require__(49); var tinycolor_default = /*#__PURE__*/__webpack_require__.n(tinycolor); // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/cover/icon.js @@ -10731,7 +11020,7 @@ function CoverEdit(_ref3) { value: id, render: function render(_ref4) { var open = _ref4.open; - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], { + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { className: "components-toolbar__control", label: Object(external_this_wp_i18n_["__"])('Edit media'), icon: "edit", @@ -10759,7 +11048,7 @@ function CoverEdit(_ref3) { loop: true, src: url }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelRow"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { - isDefault: true, + isSecondary: true, isSmall: true, className: "block-library-cover__reset-button", onClick: function onClick() { @@ -10781,29 +11070,17 @@ function CoverEdit(_ref3) { minHeight: newMinHeight }); } - })), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["PanelColorSettings"], { + })), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["__experimentalPanelColorGradientSettings"], { title: Object(external_this_wp_i18n_["__"])('Overlay'), initialOpen: true, - colorSettings: [{ - value: overlayColor.color, - onChange: function onChange() { - setAttributes({ - customGradient: undefined - }); - setOverlayColor.apply(void 0, arguments); - }, - label: Object(external_this_wp_i18n_["__"])('Overlay Color') + settings: [{ + colorValue: overlayColor.color, + gradientValue: gradientValue, + onColorChange: setOverlayColor, + onGradientChange: setGradient, + label: Object(external_this_wp_i18n_["__"])('Overlay') }] - }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["__experimentalGradientPickerControl"], { - label: Object(external_this_wp_i18n_["__"])('Overlay Gradient'), - onChange: function onChange(newGradient) { - setGradient(newGradient); - setAttributes({ - overlayColor: undefined - }); - }, - value: gradientValue - }), !!url && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["RangeControl"], { + }, !!url && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["RangeControl"], { label: Object(external_this_wp_i18n_["__"])('Background Opacity'), value: dimRatio, onChange: function onChange(newDimRation) { @@ -10964,7 +11241,7 @@ function cover_save_save(_ref) { } if (focalPoint && !hasParallax) { - style.backgroundPosition = "".concat(focalPoint.x * 100, "% ").concat(focalPoint.y * 100, "%"); + style.backgroundPosition = "".concat(Math.round(focalPoint.x * 100), "% ").concat(Math.round(focalPoint.y * 100), "%"); } if (customGradient && !url) { @@ -11211,7 +11488,7 @@ var embed_controls_EmbedControls = function EmbedControls(props) { getResponsiveHelp = props.getResponsiveHelp, toggleResponsive = props.toggleResponsive, switchBackToURLInput = props.switchBackToURLInput; - return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], null, showEditButton && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], { + return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], null, showEditButton && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { className: "components-toolbar__control", label: Object(external_this_wp_i18n_["__"])('Edit URL'), icon: "edit", @@ -11283,15 +11560,15 @@ var embed_placeholder_EmbedPlaceholder = function EmbedPlaceholder(props) { placeholder: Object(external_this_wp_i18n_["__"])('Enter URL to embed here…'), onChange: onChange }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { - isLarge: true, + isSecondary: true, type: "submit" }, Object(external_this_wp_i18n_["_x"])('Embed', 'button label')), cannotEmbed && Object(external_this_wp_element_["createElement"])("p", { className: "components-placeholder__error" }, Object(external_this_wp_i18n_["__"])('Sorry, this content could not be embedded.'), Object(external_this_wp_element_["createElement"])("br", null), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { - isLarge: true, + isSecondary: true, onClick: tryAgain }, Object(external_this_wp_i18n_["_x"])('Try again', 'button label')), " ", Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { - isLarge: true, + isSecondary: true, onClick: fallback }, Object(external_this_wp_i18n_["_x"])('Convert to link', 'button label')))), Object(external_this_wp_element_["createElement"])("div", { className: "components-placeholder__learn-more" @@ -11303,7 +11580,7 @@ var embed_placeholder_EmbedPlaceholder = function EmbedPlaceholder(props) { /* harmony default export */ var embed_placeholder = (embed_placeholder_EmbedPlaceholder); // EXTERNAL MODULE: ./node_modules/url/url.js -var url_url = __webpack_require__(84); +var url_url = __webpack_require__(85); // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/wp-embed-preview.js @@ -12258,8 +12535,7 @@ function (_Component) { textLinkHref = attributes.textLinkHref, textLinkTarget = attributes.textLinkTarget, showDownloadButton = attributes.showDownloadButton, - downloadButtonText = attributes.downloadButtonText, - id = attributes.id; + downloadButtonText = attributes.downloadButtonText; var _this$state = this.state, hasError = _this$state.hasError, showCopyConfirmation = _this$state.showCopyConfirmation; @@ -12296,22 +12572,15 @@ function (_Component) { changeLinkDestinationOption: this.changeLinkDestinationOption, changeOpenInNewWindow: this.changeOpenInNewWindow, changeShowDownloadButton: this.changeShowDownloadButton - })), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaUploadCheck"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaUpload"], { + })), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaReplaceFlow"], { + mediaURL: href, + accept: "*", onSelect: this.onSelectFile, - value: id, - render: function render(_ref3) { - var open = _ref3.open; - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], { - className: "components-toolbar__control", - label: Object(external_this_wp_i18n_["__"])('Edit file'), - onClick: open, - icon: "edit" - }); - } - })))), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Animate"], { + onError: this.onUploadError + })), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Animate"], { type: Object(external_this_wp_blob_["isBlobURL"])(href) ? 'loading' : null - }, function (_ref4) { - var animateClassName = _ref4.className; + }, function (_ref3) { + var animateClassName = _ref3.className; return Object(external_this_wp_element_["createElement"])("div", { className: classnames_default()(classes, animateClassName) }, Object(external_this_wp_element_["createElement"])("div", { @@ -12344,7 +12613,7 @@ function (_Component) { }); } }))), isSelected && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ClipboardButton"], { - isDefault: true, + isSecondary: true, text: href, className: 'wp-block-file__copy-url-button', onCopy: _this3.confirmCopyURL, @@ -12603,7 +12872,7 @@ var file_settings = { title: Object(external_this_wp_i18n_["__"])('File'), description: Object(external_this_wp_i18n_["__"])('Add a link to a downloadable file.'), icon: file_icon, - keywords: [Object(external_this_wp_i18n_["__"])('document'), Object(external_this_wp_i18n_["__"])('pdf')], + keywords: [Object(external_this_wp_i18n_["__"])('document'), Object(external_this_wp_i18n_["__"])('pdf'), Object(external_this_wp_i18n_["__"])('download')], supports: { align: true }, @@ -12688,10 +12957,12 @@ function (_Component) { return Object(external_this_wp_element_["createElement"])("div", { className: "wp-block-html" }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { - className: "components-tab-button ".concat(!isPreview ? 'is-active' : ''), + className: "components-tab-button", + isPressed: !isPreview, onClick: this.switchToHTML }, Object(external_this_wp_element_["createElement"])("span", null, "HTML")), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { - className: "components-tab-button ".concat(isPreview ? 'is-active' : ''), + className: "components-tab-button", + isPressed: isPreview, onClick: this.switchToPreview }, Object(external_this_wp_element_["createElement"])("span", null, Object(external_this_wp_i18n_["__"])('Preview'))))), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Disabled"].Consumer, null, function (isDisabled) { return isPreview || isDisabled ? Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SandBox"], { @@ -12750,28 +13021,27 @@ function html_save_save(_ref) { } // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/html/transforms.js -/** - * WordPress dependencies - */ - var html_transforms_transforms = { from: [{ type: 'raw', isMatch: function isMatch(node) { return node.nodeName === 'FIGURE' && !!node.querySelector('iframe'); }, - schema: { - figure: { - require: ['iframe'], - children: { - iframe: { - attributes: ['src', 'allowfullscreen', 'height', 'width'] - }, - figcaption: { - children: Object(external_this_wp_blocks_["getPhrasingContentSchema"])() + schema: function schema(_ref) { + var phrasingContentSchema = _ref.phrasingContentSchema; + return { + figure: { + require: ['iframe'], + children: { + iframe: { + attributes: ['src', 'allowfullscreen', 'height', 'width'] + }, + figcaption: { + children: phrasingContentSchema + } } } - } + }; } }] }; @@ -12909,7 +13179,7 @@ function (_Component) { value: mediaId, render: function render(_ref) { var open = _ref.open; - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], { + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { className: "components-toolbar__control", label: Object(external_this_wp_i18n_["__"])('Edit media'), icon: "edit", @@ -13253,6 +13523,8 @@ var baseAttributes = { + + /** * Internal dependencies */ @@ -13273,6 +13545,9 @@ var applyWidthConstraints = function applyWidthConstraints(width) { return Math.max(WIDTH_CONSTRAINT_PERCENTAGE, Math.min(width, 100 - WIDTH_CONSTRAINT_PERCENTAGE)); }; +var edit_LINK_DESTINATION_MEDIA = 'media'; +var edit_LINK_DESTINATION_ATTACHMENT = 'attachment'; + var edit_MediaTextEdit = /*#__PURE__*/ function (_Component) { @@ -13290,6 +13565,7 @@ function (_Component) { _this.state = { mediaWidth: null }; + _this.onSetHref = _this.onSetHref.bind(Object(assertThisInitialized["a" /* default */])(_this)); return _this; } @@ -13297,6 +13573,9 @@ function (_Component) { key: "onSelectMedia", value: function onSelectMedia(media) { var setAttributes = this.props.setAttributes; + var _this$props$attribute = this.props.attributes, + linkDestination = _this$props$attribute.linkDestination, + href = _this$props$attribute.href; var mediaType; var src; // for media selections originated from a file upload. @@ -13318,11 +13597,27 @@ function (_Component) { src = Object(external_this_lodash_["get"])(media, ['sizes', 'large', 'url']) || Object(external_this_lodash_["get"])(media, ['media_details', 'sizes', 'large', 'source_url']); } + var newHref = href; + + if (linkDestination === edit_LINK_DESTINATION_MEDIA) { + // Update the media link. + newHref = media.url; + } // Check if the image is linked to the attachment page. + + + if (linkDestination === edit_LINK_DESTINATION_ATTACHMENT) { + // Update the media link. + newHref = media.link; + } + setAttributes({ mediaAlt: media.alt, mediaId: media.id, mediaType: mediaType, mediaUrl: src || media.url, + mediaLink: media.link || undefined, + href: newHref, + imageFill: undefined, focalPoint: undefined }); } @@ -13333,6 +13628,11 @@ function (_Component) { mediaWidth: applyWidthConstraints(width) }); } + }, { + key: "onSetHref", + value: function onSetHref(props) { + this.props.setAttributes(props); + } }, { key: "commitWidthChange", value: function commitWidthChange(width) { @@ -13383,7 +13683,8 @@ function (_Component) { backgroundColor = _this$props.backgroundColor, isSelected = _this$props.isSelected, setAttributes = _this$props.setAttributes, - setBackgroundColor = _this$props.setBackgroundColor; + setBackgroundColor = _this$props.setBackgroundColor, + image = _this$props.image; var isStackedOnMobile = attributes.isStackedOnMobile, mediaAlt = attributes.mediaAlt, mediaPosition = attributes.mediaPosition, @@ -13392,7 +13693,12 @@ function (_Component) { verticalAlignment = attributes.verticalAlignment, mediaUrl = attributes.mediaUrl, imageFill = attributes.imageFill, - focalPoint = attributes.focalPoint; + focalPoint = attributes.focalPoint, + rel = attributes.rel, + href = attributes.href, + linkTarget = attributes.linkTarget, + linkClass = attributes.linkClass, + linkDestination = attributes.linkDestination; var temporaryMediaWidth = this.state.mediaWidth; var classNames = classnames_default()(className, (_classnames = { 'has-media-on-the-right': 'right' === mediaPosition, @@ -13487,7 +13793,17 @@ function (_Component) { }), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockVerticalAlignmentToolbar"], { onChange: onVerticalAlignmentChange, value: verticalAlignment - })), Object(external_this_wp_element_["createElement"])("div", { + }), mediaType === 'image' && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["__experimentalImageURLInputUI"], { + url: href || '', + onChangeUrl: this.onSetHref, + linkDestination: linkDestination, + mediaType: mediaType, + mediaUrl: image && image.source_url, + mediaLink: image && image.link, + linkTarget: linkTarget, + linkClass: linkClass, + rel: rel + }))), Object(external_this_wp_element_["createElement"])("div", { className: classNames, style: style }, this.renderMediaArea(), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InnerBlocks"], { @@ -13500,7 +13816,16 @@ function (_Component) { return MediaTextEdit; }(external_this_wp_element_["Component"]); -/* harmony default export */ var media_text_edit = (Object(external_this_wp_blockEditor_["withColors"])('backgroundColor')(edit_MediaTextEdit)); +/* harmony default export */ var media_text_edit = (Object(external_this_wp_compose_["compose"])([Object(external_this_wp_blockEditor_["withColors"])('backgroundColor'), Object(external_this_wp_data_["withSelect"])(function (select, props) { + var _select = select('core'), + getMedia = _select.getMedia; + + var mediaId = props.attributes.mediaId, + isSelected = props.isSelected; + return { + image: mediaId && isSelected ? getMedia(mediaId) : null + }; +})])(edit_MediaTextEdit)); // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/media-text/icon.js @@ -13551,14 +13876,31 @@ function media_text_save_save(_ref) { mediaId = attributes.mediaId, verticalAlignment = attributes.verticalAlignment, imageFill = attributes.imageFill, - focalPoint = attributes.focalPoint; + focalPoint = attributes.focalPoint, + linkClass = attributes.linkClass, + href = attributes.href, + linkTarget = attributes.linkTarget, + rel = attributes.rel; + var newRel = Object(external_this_lodash_["isEmpty"])(rel) ? undefined : rel; + + var _image = Object(external_this_wp_element_["createElement"])("img", { + src: mediaUrl, + alt: mediaAlt, + className: mediaId && mediaType === 'image' ? "wp-image-".concat(mediaId) : null + }); + + if (href) { + _image = Object(external_this_wp_element_["createElement"])("a", { + className: linkClass, + href: href, + target: linkTarget, + rel: newRel + }, _image); + } + var mediaTypeRenders = { image: function image() { - return Object(external_this_wp_element_["createElement"])("img", { - src: mediaUrl, - alt: mediaAlt, - className: mediaId && mediaType === 'image' ? "wp-image-".concat(mediaId) : null - }); + return _image; }, video: function video() { return Object(external_this_wp_element_["createElement"])("video", { @@ -13711,6 +14053,36 @@ var media_text_metadata = { 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" }, @@ -13834,7 +14206,7 @@ function useBlockNavigator(clientId) { isNavigationListOpen = _useState2[0], setIsNavigationListOpen = _useState2[1]; - var navigatorToolbarButton = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], { + var navigatorToolbarButton = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { className: "components-toolbar__control", label: Object(external_this_wp_i18n_["__"])('Open block navigator'), onClick: function onClick() { @@ -13923,8 +14295,8 @@ var block_colors_selector_renderToggleComponent = function renderToggleComponent } }; - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], { - className: "components-icon-button components-toolbar__control block-library-colors-selector__toggle", + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { + className: "components-toolbar__control block-library-colors-selector__toggle", label: Object(external_this_wp_i18n_["__"])('Open Colors Selector'), onClick: onToggle, onKeyDown: openOnArrowDown, @@ -14022,14 +14394,18 @@ var justifyRightIcon = Object(external_this_wp_element_["createElement"])(extern function Navigation(_ref) { + var _classnames; + var attributes = _ref.attributes, clientId = _ref.clientId, - pages = _ref.pages, - isRequestingPages = _ref.isRequestingPages, - hasResolvedPages = _ref.hasResolvedPages, + fontSize = _ref.fontSize, hasExistingNavItems = _ref.hasExistingNavItems, - updateNavItemBlocks = _ref.updateNavItemBlocks, - setAttributes = _ref.setAttributes; + hasResolvedPages = _ref.hasResolvedPages, + isRequestingPages = _ref.isRequestingPages, + pages = _ref.pages, + setAttributes = _ref.setAttributes, + setFontSize = _ref.setFontSize, + updateNavItemBlocks = _ref.updateNavItemBlocks; // // HOOKS @@ -14091,7 +14467,10 @@ function Navigation(_ref) { } var hasPages = hasResolvedPages && pages && pages.length; - var blockClassNames = classnames_default()('wp-block-navigation', Object(defineProperty["a" /* default */])({}, "items-justification-".concat(attributes.itemsJustification), attributes.itemsJustification)); // If we don't have existing items or the User hasn't + var blockClassNames = classnames_default()('wp-block-navigation', (_classnames = {}, Object(defineProperty["a" /* default */])(_classnames, "items-justification-".concat(attributes.itemsJustification), attributes.itemsJustification), Object(defineProperty["a" /* default */])(_classnames, fontSize.class, fontSize.class), _classnames)); + var blockInlineStyles = { + fontSize: fontSize.size ? fontSize.size + 'px' : undefined + }; // If we don't have existing items or the User hasn't // indicated they want to automatically add top level Pages // then show the Placeholder @@ -14104,11 +14483,11 @@ function Navigation(_ref) { }, Object(external_this_wp_element_["createElement"])("div", { className: "wp-block-navigation-placeholder__buttons" }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { - isDefault: true, + isSecondary: true, className: "wp-block-navigation-placeholder__button", onClick: handleCreateFromExistingPages, disabled: !hasPages - }, Object(external_this_wp_i18n_["__"])('Create from all top pages')), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { + }, Object(external_this_wp_i18n_["__"])('Create from all top-level pages')), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { isLink: true, className: "wp-block-navigation-placeholder__button", onClick: handleCreateEmpty @@ -14143,8 +14522,14 @@ function Navigation(_ref) { title: Object(external_this_wp_i18n_["__"])('Navigation Structure') }, Object(external_this_wp_element_["createElement"])(BlockNavigationList, { clientId: clientId + })), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], { + title: Object(external_this_wp_i18n_["__"])('Text Settings') + }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["FontSizePicker"], { + value: fontSize.size, + onChange: setFontSize }))), Object(external_this_wp_element_["createElement"])(TextColor, null, Object(external_this_wp_element_["createElement"])("div", { - className: blockClassNames + className: blockClassNames, + style: blockInlineStyles }, !hasExistingNavItems && isRequestingPages && Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Spinner"], null), " ", Object(external_this_wp_i18n_["__"])('Loading Navigation…'), " "), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InnerBlocks"], { allowedBlocks: ['core/navigation-link'], templateInsertUpdatesSelection: false, @@ -14152,7 +14537,7 @@ function Navigation(_ref) { })))); } -/* harmony default export */ var navigation_edit = (Object(external_this_wp_compose_["compose"])([Object(external_this_wp_data_["withSelect"])(function (select, _ref3) { +/* harmony default export */ var navigation_edit = (Object(external_this_wp_compose_["compose"])([Object(external_this_wp_blockEditor_["withFontSizes"])('fontSize'), Object(external_this_wp_data_["withSelect"])(function (select, _ref3) { var _select, _select2; var clientId = _ref3.clientId; @@ -14384,7 +14769,7 @@ function NavigationLinkEdit(_ref2) { fill: "none", d: "M0 0h24v24H0z" })), - title: Object(external_this_wp_i18n_["__"])('Add Submenu'), + title: Object(external_this_wp_i18n_["__"])('Add submenu'), onClick: insertLinkBlock }))), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], { title: Object(external_this_wp_i18n_["__"])('Link Settings') @@ -14558,7 +14943,10 @@ var navigation_link_settings = { }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { d: "M12 7.27l4.28 10.43-3.47-1.53-.81-.36-.81.36-3.47 1.53L12 7.27M12 2L4.5 20.29l.71.71L12 18l6.79 3 .71-.71L12 2z" })), - description: Object(external_this_wp_i18n_["__"])('Add a page, link, or other item to your navigation.'), + description: Object(external_this_wp_i18n_["__"])('Add a page, link, or another item to your navigation.'), + supports: { + reusable: false + }, __experimentalDisplayName: 'label', edit: navigation_link_edit, save: navigation_link_save_save @@ -14720,11 +15108,11 @@ var latest_comments_settings = { }; // EXTERNAL MODULE: external {"this":["wp","apiFetch"]} -var external_this_wp_apiFetch_ = __webpack_require__(37); +var external_this_wp_apiFetch_ = __webpack_require__(38); var external_this_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_apiFetch_); // EXTERNAL MODULE: external {"this":["wp","date"]} -var external_this_wp_date_ = __webpack_require__(54); +var external_this_wp_date_ = __webpack_require__(55); // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/latest-posts/edit.js @@ -14835,13 +15223,13 @@ function (_Component) { }); } }), displayPostContent && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["RadioControl"], { - label: "Show:", + label: Object(external_this_wp_i18n_["__"])('Show:'), selected: displayPostContentRadio, options: [{ - label: 'Excerpt', + label: Object(external_this_wp_i18n_["__"])('Excerpt'), value: 'excerpt' }, { - label: 'Full Post', + label: Object(external_this_wp_i18n_["__"])('Full Post'), value: 'full_post' }], onChange: function onChange(value) { @@ -15148,7 +15536,8 @@ function ListEdit(_ref) { setAttributes = _ref.setAttributes, mergeBlocks = _ref.mergeBlocks, onReplace = _ref.onReplace, - className = _ref.className; + className = _ref.className, + isSelected = _ref.isSelected; var ordered = attributes.ordered, values = attributes.values, type = attributes.type, @@ -15159,7 +15548,7 @@ function ListEdit(_ref) { var controls = function controls(_ref2) { var value = _ref2.value, onChange = _ref2.onChange; - return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichTextShortcut"], { + return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, isSelected && Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichTextShortcut"], { type: "primary", character: "[", onUse: function onUse() { @@ -15187,7 +15576,7 @@ function ListEdit(_ref) { onUse: function onUse() { onChange(Object(external_this_wp_richText_["__unstableOutdentListItems"])(value)); } - }), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], { + })), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], { controls: [{ icon: 'editor-ul', title: Object(external_this_wp_i18n_["__"])('Convert to unordered list'), @@ -15325,23 +15714,29 @@ function list_save_save(_ref) { -var listContentSchema = Object(objectSpread["a" /* default */])({}, Object(external_this_wp_blocks_["getPhrasingContentSchema"])(), { - ul: {}, - ol: { - attributes: ['type', 'start', 'reversed'] - } -}); // Recursion is needed. -// Possible: ul > li > ul. -// Impossible: ul > ul. +function getListContentSchema(_ref) { + var phrasingContentSchema = _ref.phrasingContentSchema; - -['ul', 'ol'].forEach(function (tag) { - listContentSchema[tag].children = { - li: { - children: listContentSchema + var listContentSchema = Object(objectSpread["a" /* default */])({}, phrasingContentSchema, { + ul: {}, + ol: { + attributes: ['type', 'start', 'reversed'] } - }; -}); + }); // Recursion is needed. + // Possible: ul > li > ul. + // Impossible: ul > ul. + + + ['ul', 'ol'].forEach(function (tag) { + listContentSchema[tag].children = { + li: { + children: listContentSchema + } + }; + }); + return listContentSchema; +} + var list_transforms_transforms = { from: [{ type: 'block', @@ -15350,8 +15745,8 @@ var list_transforms_transforms = { transform: function transform(blockAttributes) { return Object(external_this_wp_blocks_["createBlock"])('core/list', { values: Object(external_this_wp_richText_["toHTMLString"])({ - value: Object(external_this_wp_richText_["join"])(blockAttributes.map(function (_ref) { - var content = _ref.content; + value: Object(external_this_wp_richText_["join"])(blockAttributes.map(function (_ref2) { + var content = _ref2.content; var value = Object(external_this_wp_richText_["create"])({ html: content }); @@ -15371,8 +15766,8 @@ var list_transforms_transforms = { }, { type: 'block', blocks: ['core/quote'], - transform: function transform(_ref2) { - var value = _ref2.value; + transform: function transform(_ref3) { + var value = _ref3.value; return Object(external_this_wp_blocks_["createBlock"])('core/list', { values: Object(external_this_wp_richText_["toHTMLString"])({ value: Object(external_this_wp_richText_["create"])({ @@ -15386,9 +15781,11 @@ var list_transforms_transforms = { }, { type: 'raw', selector: 'ol,ul', - schema: { - ol: listContentSchema.ol, - ul: listContentSchema.ul + schema: function schema(args) { + return { + ol: getListContentSchema(args).ol, + ul: getListContentSchema(args).ul + }; }, transform: function transform(node) { var attributes = { @@ -15441,8 +15838,8 @@ var list_transforms_transforms = { to: [{ type: 'block', blocks: ['core/paragraph'], - transform: function transform(_ref3) { - var values = _ref3.values; + transform: function transform(_ref4) { + var values = _ref4.values; return Object(external_this_wp_richText_["split"])(Object(external_this_wp_richText_["create"])({ html: values, multilineTag: 'li', @@ -15458,8 +15855,8 @@ var list_transforms_transforms = { }, { type: 'block', blocks: ['core/quote'], - transform: function transform(_ref4) { - var values = _ref4.values; + transform: function transform(_ref5) { + var values = _ref5.values; return Object(external_this_wp_blocks_["createBlock"])('core/quote', { value: Object(external_this_wp_richText_["toHTMLString"])({ value: Object(external_this_wp_richText_["create"])({ @@ -15525,7 +15922,8 @@ var list_settings = { icon: list_icon, keywords: [Object(external_this_wp_i18n_["__"])('bullet list'), Object(external_this_wp_i18n_["__"])('ordered list'), Object(external_this_wp_i18n_["__"])('numbered list')], supports: { - className: false + className: false, + __unstablePasteTextInline: true }, example: { attributes: { @@ -15972,6 +16370,7 @@ var nextpage_name = nextpage_metadata.name; var nextpage_settings = { title: Object(external_this_wp_i18n_["__"])('Page Break'), + parent: ['core/post-content'], description: Object(external_this_wp_i18n_["__"])('Separate your content into a multi-page experience.'), icon: nextpage_icon, keywords: [Object(external_this_wp_i18n_["__"])('next page'), Object(external_this_wp_i18n_["__"])('pagination')], @@ -16091,10 +16490,13 @@ var preformatted_transforms_transforms = { isMatch: function isMatch(node) { return node.nodeName === 'PRE' && !(node.children.length === 1 && node.firstChild.nodeName === 'CODE'); }, - schema: { - pre: { - children: Object(external_this_wp_blocks_["getPhrasingContentSchema"])() - } + schema: function schema(_ref2) { + var phrasingContentSchema = _ref2.phrasingContentSchema; + return { + pre: { + children: phrasingContentSchema + } + }; } }], to: [{ @@ -16141,7 +16543,8 @@ var preformatted_settings = { icon: preformatted_icon, example: { attributes: { - content: Object(external_this_wp_i18n_["__"])('EXT. XANADU - FAINT DAWN - 1940 (MINIATURE)') + '\n' + Object(external_this_wp_i18n_["__"])('Window, very small in the distance, illuminated.') + '\n' + Object(external_this_wp_i18n_["__"])('All 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;') + // translators: Sample content for the Preformatted block. Can be replaced with a more locale-adequate work. + content: Object(external_this_wp_i18n_["__"])('EXT. XANADU - FAINT DAWN - 1940 (MINIATURE)\nWindow, very small in the distance, illuminated.\nAll around this is an almost totally black screen. Now, as the camera moves slowly towards the window which is almost a postage stamp in the frame, other forms appear;') } }, transforms: preformatted_transforms, @@ -16731,8 +17134,9 @@ var pullquote_settings = { icon: pullquote_icon, example: { attributes: { - value: '

' + Object(external_this_wp_i18n_["__"])('One of the hardest things to do in technology is disrupt yourself.') + '

', - citation: 'Matt Mullenweg' + value: '

' + // translators: Quote serving as example for the Pullquote block. Attributed to Matt Mullenweg. + Object(external_this_wp_i18n_["__"])('One of the hardest things to do in technology is disrupt yourself.') + '

', + citation: Object(external_this_wp_i18n_["__"])('Matt Mullenweg') } }, styles: [{ @@ -16844,7 +17248,7 @@ function (_Component) { className: "reusable-block-edit-panel__info" }, title), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { ref: this.editButton, - isLarge: true, + isSecondary: true, className: "reusable-block-edit-panel__button", disabled: isEditDisabled, onClick: onEdit @@ -16865,7 +17269,7 @@ function (_Component) { id: "reusable-block-edit-panel__title-".concat(instanceId) }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { type: "submit", - isLarge: true, + isSecondary: true, isBusy: isSaving, disabled: !title || isSaving, className: "reusable-block-edit-panel__button" @@ -17220,7 +17624,7 @@ function (_Component) { }, className: 'components-placeholder__input' }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { - isLarge: true, + isSecondary: true, type: "submit" }, Object(external_this_wp_i18n_["__"])('Use URL')))); } @@ -17507,7 +17911,11 @@ function GroupEdit(_ref) { }, Object(external_this_wp_element_["createElement"])("div", { className: "wp-block-group__inner-container" }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InnerBlocks"], { - renderAppender: !hasInnerBlocks && external_this_wp_blockEditor_["InnerBlocks"].ButtonBlockAppender + renderAppender: !hasInnerBlocks && external_this_wp_blockEditor_["InnerBlocks"].ButtonBlockAppender, + __experimentalUIParts: { + hasSelectedUI: false, + hasMovers: false + } })))); } @@ -17905,11 +18313,10 @@ var build_module_separator_settings = { - -var edit_ShortcodeEdit = function ShortcodeEdit(_ref) { +function ShortcodeEdit(_ref) { var attributes = _ref.attributes, - setAttributes = _ref.setAttributes, - instanceId = _ref.instanceId; + setAttributes = _ref.setAttributes; + var instanceId = Object(external_this_wp_compose_["useInstanceId"])(ShortcodeEdit); var inputId = "blocks-shortcode-input-".concat(instanceId); return Object(external_this_wp_element_["createElement"])("div", { className: "wp-block-shortcode components-placeholder" @@ -17929,9 +18336,7 @@ var edit_ShortcodeEdit = function ShortcodeEdit(_ref) { }); } })); -}; - -/* harmony default export */ var shortcode_edit = (Object(external_this_wp_compose_["withInstanceId"])(edit_ShortcodeEdit)); +} // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/shortcode/icon.js @@ -17960,7 +18365,7 @@ function shortcode_save_save(_ref) { } // EXTERNAL MODULE: external {"this":["wp","autop"]} -var external_this_wp_autop_ = __webpack_require__(68); +var external_this_wp_autop_ = __webpack_require__(70); // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/shortcode/transforms.js /** @@ -18017,7 +18422,7 @@ var shortcode_settings = { className: false, html: false }, - edit: shortcode_edit, + edit: ShortcodeEdit, save: shortcode_save_save }; @@ -18187,7 +18592,7 @@ var spacer_settings = { }; // EXTERNAL MODULE: external {"this":["wp","deprecated"]} -var external_this_wp_deprecated_ = __webpack_require__(35); +var external_this_wp_deprecated_ = __webpack_require__(33); var external_this_wp_deprecated_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_deprecated_); // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/subhead/edit.js @@ -19380,8 +19785,7 @@ function (_Component) { icon: table_icon, showColors: true }), - instructions: Object(external_this_wp_i18n_["__"])('Insert a table for sharing data.'), - isColumnLayout: true + instructions: Object(external_this_wp_i18n_["__"])('Insert a table for sharing data.') }, Object(external_this_wp_element_["createElement"])("form", { className: "wp-block-table__placeholder-form", onSubmit: this.onCreateTable @@ -19401,7 +19805,7 @@ function (_Component) { className: "wp-block-table__placeholder-input" }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { className: "wp-block-table__placeholder-button", - isDefault: true, + isSecondary: true, type: "submit" }, Object(external_this_wp_i18n_["__"])('Create Table')))); } @@ -19567,44 +19971,47 @@ function table_save_save(_ref) { } // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/table/transforms.js -/** - * WordPress dependencies - */ +var tableContentPasteSchema = function tableContentPasteSchema(_ref) { + var phrasingContentSchema = _ref.phrasingContentSchema; + return { + tr: { + allowEmpty: true, + children: { + th: { + allowEmpty: true, + children: phrasingContentSchema, + attributes: ['scope'] + }, + td: { + allowEmpty: true, + children: phrasingContentSchema + } + } + } + }; +}; -var tableContentPasteSchema = { - tr: { - allowEmpty: true, - children: { - th: { - allowEmpty: true, - children: Object(external_this_wp_blocks_["getPhrasingContentSchema"])(), - attributes: ['scope'] - }, - td: { - allowEmpty: true, - children: Object(external_this_wp_blocks_["getPhrasingContentSchema"])() +var tablePasteSchema = function tablePasteSchema(args) { + return { + table: { + children: { + thead: { + allowEmpty: true, + children: tableContentPasteSchema(args) + }, + tfoot: { + allowEmpty: true, + children: tableContentPasteSchema(args) + }, + tbody: { + allowEmpty: true, + children: tableContentPasteSchema(args) + } } } - } -}; -var tablePasteSchema = { - table: { - children: { - thead: { - allowEmpty: true, - children: tableContentPasteSchema - }, - tfoot: { - allowEmpty: true, - children: tableContentPasteSchema - }, - tbody: { - allowEmpty: true, - children: tableContentPasteSchema - } - } - } + }; }; + var table_transforms_transforms = { from: [{ type: 'raw', @@ -20190,11 +20597,11 @@ var verse_settings = { icon: verse_icon, example: { attributes: { - // translators: Sample content for the Verse block. Can be replaced with a locale-appropriate work. + // translators: Sample content for the Verse block. Can be replaced with a more locale-adequate work. content: Object(external_this_wp_i18n_["__"])('WHAT was he doing, the great god Pan,\n Down in the reeds by the river?\nSpreading ruin and scattering ban,\nSplashing and paddling with hoofs of a goat,\nAnd breaking the golden lilies afloat\n With the dragon-fly on the river.') } }, - keywords: [Object(external_this_wp_i18n_["__"])('poetry')], + keywords: [Object(external_this_wp_i18n_["__"])('poetry'), Object(external_this_wp_i18n_["__"])('poem')], transforms: verse_transforms, deprecated: verse_deprecated, merge: function merge(attributes, attributesToMerge) { @@ -20523,8 +20930,8 @@ function (_Component) { } var videoPosterDescription = "video-block__poster-image-description-".concat(instanceId); - return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], { - className: "components-icon-button components-toolbar__control", + return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { + className: "components-toolbar__control", label: Object(external_this_wp_i18n_["__"])('Edit video'), onClick: switchToEditing, icon: "edit" @@ -20542,7 +20949,7 @@ function (_Component) { render: function render(_ref3) { var open = _ref3.open; return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { - isDefault: true, + isSecondary: true, onClick: open, ref: _this3.posterImageButton, "aria-describedby": videoPosterDescription @@ -21285,7 +21692,7 @@ var classic_settings = { supports: { className: false, customClassName: false, - // Hide 'Add to Reusable Blocks' on Classic blocks. Showing it causes a + // Hide 'Add to Reusable blocks' on Classic blocks. Showing it causes a // confusing UX, because of its similarity to the 'Convert to Blocks' button. reusable: false }, @@ -21352,6 +21759,7 @@ var classic_settings = { + // Full Site Editing Blocks @@ -21398,7 +21806,7 @@ var build_module_registerCoreBlocks = function registerCoreBlocks() { [// Common blocks are grouped at the top to prioritize their display // in various contexts — like the inserter and auto-complete components. paragraph_namespaceObject, image_namespaceObject, heading_namespaceObject, build_module_gallery_namespaceObject, list_namespaceObject, quote_namespaceObject, // Register all remaining core blocks. - shortcode_namespaceObject, archives_namespaceObject, audio_namespaceObject, button_namespaceObject, calendar_namespaceObject, categories_namespaceObject, code_namespaceObject, columns_namespaceObject, column_namespaceObject, cover_namespaceObject, embed_namespaceObject].concat(Object(toConsumableArray["a" /* default */])(embed_common), Object(toConsumableArray["a" /* default */])(embed_others), [file_namespaceObject, group_namespaceObject, window.wp && window.wp.oldEditor ? classic_namespaceObject : null, // Only add the classic block in WP Context + shortcode_namespaceObject, archives_namespaceObject, audio_namespaceObject, button_namespaceObject, buttons_namespaceObject, calendar_namespaceObject, categories_namespaceObject, code_namespaceObject, columns_namespaceObject, column_namespaceObject, cover_namespaceObject, embed_namespaceObject].concat(Object(toConsumableArray["a" /* default */])(embed_common), Object(toConsumableArray["a" /* default */])(embed_others), [file_namespaceObject, group_namespaceObject, window.wp && window.wp.oldEditor ? classic_namespaceObject : null, // Only add the classic block in WP Context html_namespaceObject, media_text_namespaceObject, latest_comments_namespaceObject, latest_posts_namespaceObject, missing_namespaceObject, more_namespaceObject, navigation_namespaceObject, navigation_link_namespaceObject, nextpage_namespaceObject, preformatted_namespaceObject, pullquote_namespaceObject, rss_namespaceObject, search_namespaceObject, separator_namespaceObject, block_namespaceObject, spacer_namespaceObject, subhead_namespaceObject, table_namespaceObject, tag_cloud_namespaceObject, text_columns_namespaceObject, verse_namespaceObject, video_namespaceObject]).forEach(build_module_registerBlock); Object(external_this_wp_blocks_["setDefaultBlockName"])(paragraph_name); @@ -21433,6 +21841,13 @@ var __experimentalRegisterExperimentalCoreBlocks = false ? undefined : undefine /***/ 37: /***/ (function(module, exports) { +(function() { module.exports = this["wp"]["blob"]; }()); + +/***/ }), + +/***/ 38: +/***/ (function(module, exports) { + (function() { module.exports = this["wp"]["apiFetch"]; }()); /***/ }), @@ -21584,7 +21999,7 @@ module.exports = function memize( fn, options ) { /***/ }), -/***/ 48: +/***/ 49: /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_RESULT__;// TinyColor v1.4.1 @@ -22792,52 +23207,65 @@ else {} /***/ }), -/***/ 50: +/***/ 51: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["viewport"]; }()); /***/ }), -/***/ 54: +/***/ 55: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["date"]; }()); /***/ }), -/***/ 58: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["serverSideRender"]; }()); - -/***/ }), - -/***/ 59: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["escapeHtml"]; }()); - -/***/ }), - /***/ 6: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _assertThisInitialized; }); -function _assertThisInitialized(self) { - if (self === void 0) { - throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectSpread; }); +/* harmony import */ var _defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9); + +function _objectSpread(target) { + for (var i = 1; i < arguments.length; i++) { + var source = arguments[i] != null ? Object(arguments[i]) : {}; + var ownKeys = Object.keys(source); + + if (typeof Object.getOwnPropertySymbols === 'function') { + ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { + return Object.getOwnPropertyDescriptor(source, sym).enumerable; + })); + } + + ownKeys.forEach(function (key) { + Object(_defineProperty__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(target, key, source[key]); + }); } - return self; + return target; } /***/ }), +/***/ 60: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["serverSideRender"]; }()); + +/***/ }), + /***/ 61: /***/ (function(module, exports) { +(function() { module.exports = this["wp"]["escapeHtml"]; }()); + +/***/ }), + +/***/ 63: +/***/ (function(module, exports) { + var g; // This works in non-strict mode @@ -22862,21 +23290,36 @@ module.exports = g; /***/ }), -/***/ 62: +/***/ 64: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["coreData"]; }()); /***/ }), -/***/ 68: +/***/ 7: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _assertThisInitialized; }); +function _assertThisInitialized(self) { + if (self === void 0) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return self; +} + +/***/ }), + +/***/ 70: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["autop"]; }()); /***/ }), -/***/ 69: +/***/ 71: /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! @@ -22990,34 +23433,6 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! }()); -/***/ }), - -/***/ 7: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectSpread; }); -/* harmony import */ var _defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9); - -function _objectSpread(target) { - for (var i = 1; i < arguments.length; i++) { - var source = arguments[i] != null ? arguments[i] : {}; - var ownKeys = Object.keys(Object(source)); - - if (typeof Object.getOwnPropertySymbols === 'function') { - ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { - return Object.getOwnPropertyDescriptor(source, sym).enumerable; - })); - } - - ownKeys.forEach(function (key) { - Object(_defineProperty__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(target, key, source[key]); - }); - } - - return target; -} - /***/ }), /***/ 8: @@ -23027,7 +23442,7 @@ function _objectSpread(target) { /***/ }), -/***/ 84: +/***/ 85: /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -23054,8 +23469,8 @@ function _objectSpread(target) { -var punycode = __webpack_require__(120); -var util = __webpack_require__(122); +var punycode = __webpack_require__(121); +var util = __webpack_require__(123); exports.parse = urlParse; exports.resolve = urlResolve; @@ -23130,7 +23545,7 @@ var protocolPattern = /^([a-z0-9.+-]+:)/i, 'gopher:': true, 'file:': true }, - querystring = __webpack_require__(123); + querystring = __webpack_require__(124); function urlParse(url, parseQueryString, slashesDenoteHost) { if (url && util.isObject(url) && url instanceof Url) return url; diff --git a/wp-includes/js/dist/block-library.min.js b/wp-includes/js/dist/block-library.min.js index 5d94842309..046d104175 100644 --- a/wp-includes/js/dist/block-library.min.js +++ b/wp-includes/js/dist/block-library.min.js @@ -1,14 +1,14 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.blockLibrary=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=360)}({0:function(e,t){!function(){e.exports=this.wp.element}()},1:function(e,t){!function(){e.exports=this.wp.i18n}()},10:function(e,t){!function(){e.exports=this.wp.blocks}()},11:function(e,t,n){var r; +this.wp=this.wp||{},this.wp.blockLibrary=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=361)}({0:function(e,t){!function(){e.exports=this.wp.element}()},1:function(e,t){!function(){e.exports=this.wp.i18n}()},10:function(e,t,n){var r; /*! Copyright (c) 2017 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= 0x80 (not a basic code point)","invalid-input":"Invalid input"},y=s-u,_=Math.floor,k=String.fromCharCode;function C(e){throw RangeError(j[e])}function w(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function E(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+w((e=e.replace(O,".")).split("."),t).join(".")}function x(e){for(var t,n,r=[],o=0,a=e.length;o=55296&&t<=56319&&o65535&&(t+=k((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=k(e)})).join("")}function T(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function N(e,t,n){var r=0;for(e=n?_(e/d):e>>1,e+=_(e/t);e>y*b>>1;r+=s)e=_(e/y);return _(r+(y+1)*e/(e+m))}function B(e){var t,n,r,o,a,c,i,m,d,f,v,O=[],j=e.length,y=0,k=p,w=h;for((n=e.lastIndexOf(g))<0&&(n=0),r=0;r=128&&C("not-basic"),O.push(e.charCodeAt(r));for(o=n>0?n+1:0;o=j&&C("invalid-input"),((m=(v=e.charCodeAt(o++))-48<10?v-22:v-65<26?v-65:v-97<26?v-97:s)>=s||m>_((l-y)/c))&&C("overflow"),y+=m*c,!(m<(d=i<=w?u:i>=w+b?b:i-w));i+=s)c>_(l/(f=s-d))&&C("overflow"),c*=f;w=N(y-a,t=O.length+1,0==a),_(y/t)>l-k&&C("overflow"),k+=_(y/t),y%=t,O.splice(y++,0,k)}return S(O)}function R(e){var t,n,r,o,a,c,i,m,d,f,v,O,j,y,w,E=[];for(O=(e=x(e)).length,t=p,n=0,a=h,c=0;c=t&&v_((l-n)/(j=r+1))&&C("overflow"),n+=(i-t)*j,t=i,c=0;cl&&C("overflow"),v==t){for(m=n,d=s;!(m<(f=d<=a?u:d>=a+b?b:d-a));d+=s)w=m-f,y=s-f,E.push(k(T(f+w%y,0))),m=_(w/y);E.push(k(T(m,0))),a=N(n,j,r==o),n=0,++r}++n,++t}return E.join("")}i={version:"1.3.2",ucs2:{decode:x,encode:S},decode:B,encode:R,toASCII:function(e){return E(e,(function(e){return v.test(e)?"xn--"+R(e):e}))},toUnicode:function(e){return E(e,(function(e){return f.test(e)?B(e.slice(4).toLowerCase()):e}))}},void 0===(o=function(){return i}.call(t,n,t,e))||(e.exports=o)}()}).call(this,n(121)(e),n(61))},121:function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},122:function(e,t,n){"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},123:function(e,t,n){"use strict";t.decode=t.parse=n(124),t.encode=t.stringify=n(125)},124:function(e,t,n){"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,n,a){t=t||"&",n=n||"=";var c={};if("string"!=typeof e||0===e.length)return c;var i=/\+/g;e=e.split(t);var l=1e3;a&&"number"==typeof a.maxKeys&&(l=a.maxKeys);var s=e.length;l>0&&s>l&&(s=l);for(var u=0;u=0?(b=p.substr(0,g),m=p.substr(g+1)):(b=p,m=""),d=decodeURIComponent(b),h=decodeURIComponent(m),r(c,d)?o(c[d])?c[d].push(h):c[d]=[c[d],h]:c[d]=h}return c};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},125:function(e,t,n){"use strict";var r=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,n,i){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?a(c(e),(function(c){var i=encodeURIComponent(r(c))+n;return o(e[c])?a(e[c],(function(e){return i+encodeURIComponent(r(e))})).join(t):i+encodeURIComponent(r(e[c]))})).join(t):i?encodeURIComponent(r(i))+n+encodeURIComponent(r(e)):""};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function a(e,t){if(e.map)return e.map(t);for(var n=[],r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}},219:function(e,t,n){ +*/!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t= 0x80 (not a basic code point)","invalid-input":"Invalid input"},y=s-u,_=Math.floor,k=String.fromCharCode;function C(e){throw RangeError(j[e])}function w(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function E(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+w((e=e.replace(O,".")).split("."),t).join(".")}function x(e){for(var t,n,r=[],o=0,a=e.length;o=55296&&t<=56319&&o65535&&(t+=k((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=k(e)})).join("")}function T(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function N(e,t,n){var r=0;for(e=n?_(e/d):e>>1,e+=_(e/t);e>y*b>>1;r+=s)e=_(e/y);return _(r+(y+1)*e/(e+m))}function B(e){var t,n,r,o,a,c,i,m,d,f,v,O=[],j=e.length,y=0,k=p,w=h;for((n=e.lastIndexOf(g))<0&&(n=0),r=0;r=128&&C("not-basic"),O.push(e.charCodeAt(r));for(o=n>0?n+1:0;o=j&&C("invalid-input"),((m=(v=e.charCodeAt(o++))-48<10?v-22:v-65<26?v-65:v-97<26?v-97:s)>=s||m>_((l-y)/c))&&C("overflow"),y+=m*c,!(m<(d=i<=w?u:i>=w+b?b:i-w));i+=s)c>_(l/(f=s-d))&&C("overflow"),c*=f;w=N(y-a,t=O.length+1,0==a),_(y/t)>l-k&&C("overflow"),k+=_(y/t),y%=t,O.splice(y++,0,k)}return S(O)}function A(e){var t,n,r,o,a,c,i,m,d,f,v,O,j,y,w,E=[];for(O=(e=x(e)).length,t=p,n=0,a=h,c=0;c=t&&v_((l-n)/(j=r+1))&&C("overflow"),n+=(i-t)*j,t=i,c=0;cl&&C("overflow"),v==t){for(m=n,d=s;!(m<(f=d<=a?u:d>=a+b?b:d-a));d+=s)w=m-f,y=s-f,E.push(k(T(f+w%y,0))),m=_(w/y);E.push(k(T(m,0))),a=N(n,j,r==o),n=0,++r}++n,++t}return E.join("")}i={version:"1.3.2",ucs2:{decode:x,encode:S},decode:B,encode:A,toASCII:function(e){return E(e,(function(e){return v.test(e)?"xn--"+A(e):e}))},toUnicode:function(e){return E(e,(function(e){return f.test(e)?B(e.slice(4).toLowerCase()):e}))}},void 0===(o=function(){return i}.call(t,n,t,e))||(e.exports=o)}()}).call(this,n(122)(e),n(63))},122:function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},123:function(e,t,n){"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},124:function(e,t,n){"use strict";t.decode=t.parse=n(125),t.encode=t.stringify=n(126)},125:function(e,t,n){"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,n,a){t=t||"&",n=n||"=";var c={};if("string"!=typeof e||0===e.length)return c;var i=/\+/g;e=e.split(t);var l=1e3;a&&"number"==typeof a.maxKeys&&(l=a.maxKeys);var s=e.length;l>0&&s>l&&(s=l);for(var u=0;u=0?(b=p.substr(0,g),m=p.substr(g+1)):(b=p,m=""),d=decodeURIComponent(b),h=decodeURIComponent(m),r(c,d)?o(c[d])?c[d].push(h):c[d]=[c[d],h]:c[d]=h}return c};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},126:function(e,t,n){"use strict";var r=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,n,i){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?a(c(e),(function(c){var i=encodeURIComponent(r(c))+n;return o(e[c])?a(e[c],(function(e){return i+encodeURIComponent(r(e))})).join(t):i+encodeURIComponent(r(e[c]))})).join(t):i?encodeURIComponent(r(i))+n+encodeURIComponent(r(e)):""};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function a(e,t){if(e.map)return e.map(t);for(var n=[],r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}},219: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;nc?(n=a/c,i=100,l=Math.round(i/n)):(n=c/a,l=100,i=Math.round(l/n)),(i>a||l>c||i<10||l<10)&&(i=a,l=c),{srcLeft:r,srcTop:o,srcWidth:a,srcHeight:c,destWidth:i,destHeight:l})}},{key:"_simpleAlgorithm",value:function(e,t,n){for(var r=0,o=0,a=0,c=0,i=0,l=0;lr?-1:n===r?0:1}))[0],5),m=b[0],d=b[1],h=b[2],p=b[3],g=b[4];return p?[Math.round(m/p),Math.round(d/p),Math.round(h/p),Math.round(p/g)]:[0,0,0,0]}},{key:"_bindImageEvents",value:function(e,t,n){var r=this,o=(n=n||{})&&n.data,a=this._getDefaultColor(n),c=function(){s(),t.call(e,r.getColor(e,n),o)},i=function(){s(),t.call(e,r._prepareResult(a,new Error("Image error")),o)},l=function(){s(),t.call(e,r._prepareResult(a,new Error("Image abort")),o)},s=function(){e.removeEventListener("load",c),e.removeEventListener("error",i),e.removeEventListener("abort",l)};e.addEventListener("load",c),e.addEventListener("error",i),e.addEventListener("abort",l)}},{key:"_prepareResult",value:function(e,t){var n=e.slice(0,3),r=[].concat(n,e[3]/255),o=this._isDark(e);return{error:t,value:e,rgb:"rgb("+n.join(",")+")",rgba:"rgba("+r.join(",")+")",hex:this._arrayToHex(n),hexa:this._arrayToHex(e),isDark:o,isLight:!o}}},{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(r.prototype,o),a&&e(r,a),n}()}()},22:function(e,t,n){"use strict";var r=n(33);var o=n(34);function a(e,t){return Object(r.a)(e)||function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],r=!0,o=!1,a=void 0;try{for(var c,i=e[Symbol.iterator]();!(r=(c=i.next()).done)&&(n.push(c.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==i.return||i.return()}finally{if(o)throw a}}return n}}(e,t)||Object(o.a)()}n.d(t,"a",(function(){return a}))},24:function(e,t){!function(){e.exports=this.wp.richText}()},25:function(e,t){!function(){e.exports=this.wp.url}()},26:function(e,t){!function(){e.exports=this.wp.editor}()},3:function(e,t){!function(){e.exports=this.wp.components}()},30:function(e,t){!function(){e.exports=this.moment}()},31:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,"a",(function(){return r}))},32:function(e,t,n){"use strict";function r(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}n.d(t,"a",(function(){return r}))},33:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,"a",(function(){return r}))},34:function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}n.d(t,"a",(function(){return r}))},35:function(e,t){!function(){e.exports=this.wp.deprecated}()},36:function(e,t){!function(){e.exports=this.wp.blob}()},360:function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"metadata",(function(){return fe})),n.d(r,"name",(function(){return ve})),n.d(r,"settings",(function(){return Oe}));var o={};n.r(o),n.d(o,"metadata",(function(){return _t})),n.d(o,"name",(function(){return kt})),n.d(o,"settings",(function(){return Ct}));var a={};n.r(a),n.d(a,"metadata",(function(){return Rt})),n.d(a,"name",(function(){return At})),n.d(a,"settings",(function(){return It}));var c={};n.r(c),n.d(c,"metadata",(function(){return Dt})),n.d(c,"name",(function(){return Ft})),n.d(c,"settings",(function(){return Ut}));var i={};n.r(i),n.d(i,"metadata",(function(){return sn})),n.d(i,"name",(function(){return un})),n.d(i,"settings",(function(){return bn}));var l={};n.r(l),n.d(l,"name",(function(){return pn})),n.d(l,"settings",(function(){return gn}));var s={};n.r(s),n.d(s,"metadata",(function(){return _n})),n.d(s,"name",(function(){return kn})),n.d(s,"settings",(function(){return Cn}));var u={};n.r(u),n.d(u,"metadata",(function(){return Ln})),n.d(u,"name",(function(){return Hn})),n.d(u,"settings",(function(){return zn}));var b={};n.r(b),n.d(b,"name",(function(){return qn})),n.d(b,"settings",(function(){return Wn}));var m={};n.r(m),n.d(m,"name",(function(){return Jn})),n.d(m,"settings",(function(){return Qn}));var d={};n.r(d),n.d(d,"metadata",(function(){return rr})),n.d(d,"name",(function(){return or})),n.d(d,"settings",(function(){return ar}));var h={};n.r(h),n.d(h,"metadata",(function(){return jr})),n.d(h,"name",(function(){return yr})),n.d(h,"settings",(function(){return _r}));var p={};n.r(p),n.d(p,"metadata",(function(){return wr})),n.d(p,"name",(function(){return Er})),n.d(p,"settings",(function(){return xr}));var g={};n.r(g),n.d(g,"metadata",(function(){return Zr})),n.d(g,"name",(function(){return $r})),n.d(g,"settings",(function(){return Jr}));var f={};n.r(f),n.d(f,"name",(function(){return lo})),n.d(f,"settings",(function(){return so})),n.d(f,"common",(function(){return uo})),n.d(f,"others",(function(){return bo}));var v={};n.r(v),n.d(v,"metadata",(function(){return vo})),n.d(v,"name",(function(){return Oo})),n.d(v,"settings",(function(){return jo}));var O={};n.r(O),n.d(O,"metadata",(function(){return wo})),n.d(O,"name",(function(){return Eo})),n.d(O,"settings",(function(){return xo}));var j={};n.r(j),n.d(j,"metadata",(function(){return Fo})),n.d(j,"name",(function(){return Uo})),n.d(j,"settings",(function(){return Go}));var y={};n.r(y),n.d(y,"justifyLeftIcon",(function(){return Qo})),n.d(y,"justifyCenterIcon",(function(){return Yo})),n.d(y,"justifyRightIcon",(function(){return Xo}));var _={};n.r(_),n.d(_,"name",(function(){return ta})),n.d(_,"settings",(function(){return na}));var k={};n.r(k),n.d(k,"metadata",(function(){return ca})),n.d(k,"name",(function(){return ia})),n.d(k,"settings",(function(){return la}));var C={};n.r(C),n.d(C,"name",(function(){return ba})),n.d(C,"settings",(function(){return ma}));var w={};n.r(w),n.d(w,"name",(function(){return ja})),n.d(w,"settings",(function(){return ya}));var E={};n.r(E),n.d(E,"metadata",(function(){return Ea})),n.d(E,"name",(function(){return xa})),n.d(E,"settings",(function(){return Sa}));var x={};n.r(x),n.d(x,"metadata",(function(){return Na})),n.d(x,"name",(function(){return Ba})),n.d(x,"settings",(function(){return Ra}));var S={};n.r(S),n.d(S,"metadata",(function(){return Ma})),n.d(S,"name",(function(){return La})),n.d(S,"settings",(function(){return Ha}));var T={};n.r(T),n.d(T,"metadata",(function(){return Da})),n.d(T,"name",(function(){return Fa})),n.d(T,"settings",(function(){return Ua}));var N={};n.r(N),n.d(N,"metadata",(function(){return Wa})),n.d(N,"name",(function(){return Ka})),n.d(N,"settings",(function(){return Za}));var B={};n.r(B),n.d(B,"metadata",(function(){return nc})),n.d(B,"name",(function(){return rc})),n.d(B,"settings",(function(){return oc}));var R={};n.r(R),n.d(R,"name",(function(){return sc})),n.d(R,"settings",(function(){return uc}));var A={};n.r(A),n.d(A,"name",(function(){return mc})),n.d(A,"settings",(function(){return dc}));var I={};n.r(I),n.d(I,"name",(function(){return hc})),n.d(I,"settings",(function(){return pc}));var P={};n.r(P),n.d(P,"metadata",(function(){return Oc})),n.d(P,"name",(function(){return jc})),n.d(P,"settings",(function(){return yc}));var M={};n.r(M),n.d(M,"metadata",(function(){return Ec})),n.d(M,"name",(function(){return xc})),n.d(M,"settings",(function(){return Sc}));var L={};n.r(L),n.d(L,"name",(function(){return Ac})),n.d(L,"settings",(function(){return Ic}));var H={};n.r(H),n.d(H,"metadata",(function(){return Lc})),n.d(H,"name",(function(){return Hc})),n.d(H,"settings",(function(){return zc}));var z={};n.r(z),n.d(z,"metadata",(function(){return Gc})),n.d(z,"name",(function(){return qc})),n.d(z,"settings",(function(){return Wc}));var V={};n.r(V),n.d(V,"metadata",(function(){return si})),n.d(V,"name",(function(){return ui})),n.d(V,"settings",(function(){return bi}));var D={};n.r(D),n.d(D,"metadata",(function(){return di})),n.d(D,"name",(function(){return hi})),n.d(D,"settings",(function(){return pi}));var F={};n.r(F),n.d(F,"metadata",(function(){return Oi})),n.d(F,"name",(function(){return ji})),n.d(F,"settings",(function(){return yi}));var U={};n.r(U),n.d(U,"metadata",(function(){return Ti})),n.d(U,"name",(function(){return Ni})),n.d(U,"settings",(function(){return Bi}));var G={};n.r(G),n.d(G,"name",(function(){return Ii})),n.d(G,"settings",(function(){return Pi}));var q={};n.r(q),n.d(q,"metadata",(function(){return zi})),n.d(q,"name",(function(){return Vi})),n.d(q,"settings",(function(){return Di}));var W=n(18),K=n(9),Z=(n(62),n(5)),$=(n(26),n(10)),J=n(1),Q=n(7),Y=n(0),X=n(11),ee=n.n(X),te=n(2),ne={className:!1},re={align:{type:"string"},content:{type:"string",source:"html",selector:"p",default:""},dropCap:{type:"boolean",default:!1},placeholder:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},fontSize:{type:"string"},customFontSize:{type:"number"},direction:{type:"string",enum:["ltr","rtl"]}},oe=[{supports:ne,attributes:re,save:function(e){var t,n=e.attributes,r=n.align,o=n.content,a=n.dropCap,c=n.backgroundColor,i=n.textColor,l=n.customBackgroundColor,s=n.customTextColor,u=n.fontSize,b=n.customFontSize,m=n.direction,d=Object(Z.getColorClassName)("color",i),h=Object(Z.getColorClassName)("background-color",c),p=Object(Z.getFontSizeClass)(u),g=ee()((t={"has-text-color":i||s,"has-background":c||l,"has-drop-cap":a},Object(K.a)(t,p,p),Object(K.a)(t,d,d),Object(K.a)(t,h,h),t)),f={backgroundColor:h?void 0:l,color:d?void 0:s,fontSize:p?void 0:b,textAlign:r};return Object(Y.createElement)(Z.RichText.Content,{tagName:"p",style:f,className:g||void 0,value:o,dir:m})}},{supports:ne,attributes:Object(Q.a)({},re,{width:{type:"string"}}),save:function(e){var t,n=e.attributes,r=n.width,o=n.align,a=n.content,c=n.dropCap,i=n.backgroundColor,l=n.textColor,s=n.customBackgroundColor,u=n.customTextColor,b=n.fontSize,m=n.customFontSize,d=Object(Z.getColorClassName)("color",l),h=Object(Z.getColorClassName)("background-color",i),p=b&&"is-".concat(b,"-text"),g=ee()((t={},Object(K.a)(t,"align".concat(r),r),Object(K.a)(t,"has-background",i||s),Object(K.a)(t,"has-drop-cap",c),Object(K.a)(t,p,p),Object(K.a)(t,d,d),Object(K.a)(t,h,h),t)),f={backgroundColor:h?void 0:s,color:d?void 0:u,fontSize:p?void 0:m,textAlign:o};return Object(Y.createElement)(Z.RichText.Content,{tagName:"p",style:f,className:g||void 0,value:a})}},{supports:ne,attributes:Object(te.omit)(Object(Q.a)({},re,{fontSize:{type:"number"}}),"customFontSize","customTextColor","customBackgroundColor"),save:function(e){var t,n=e.attributes,r=n.width,o=n.align,a=n.content,c=n.dropCap,i=n.backgroundColor,l=n.textColor,s=n.fontSize,u=ee()((t={},Object(K.a)(t,"align".concat(r),r),Object(K.a)(t,"has-background",i),Object(K.a)(t,"has-drop-cap",c),t)),b={backgroundColor:i,color:l,fontSize:s,textAlign:o};return Object(Y.createElement)("p",{style:b,className:u||void 0},a)},migrate:function(e){return Object(te.omit)(Object(Q.a)({},e,{customFontSize:Object(te.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}),["fontSize","textColor","backgroundColor"])}},{supports:ne,attributes:Object(Q.a)({},re,{content:{type:"string",source:"html",default:""}}),save:function(e){var t=e.attributes;return Object(Y.createElement)(Y.RawHTML,null,t.content)},migrate:function(e){return e}}],ae=n(22),ce=n(3),ie=n(8),le=n(4),se=window.getComputedStyle,ue=window.document.querySelector.bind(document),be="core/paragraph",me="p.has-drop-cap";function de(e){var t=e.direction,n=e.setDirection;return Object(le.useSelect)((function(e){return!!e("core/block-editor").getSettings().isRTL}))&&Object(Y.createElement)(ce.ToolbarGroup,{controls:[{icon:"editor-ltr",title:Object(J._x)("Left to right","editor button"),isActive:"ltr"===t,onClick:function(){n("ltr"===t?void 0:"ltr")}}]})}var he=Object(ie.compose)([Object(Z.withFontSizes)("fontSize")])((function(e){var t,n,r,o,a,c,i,l=e.attributes,s=e.className,u=e.fontSize,b=e.mergeBlocks,m=e.onReplace,d=e.setAttributes,h=e.setFontSize,p=l.align,g=l.content,f=l.dropCap,v=l.placeholder,O=l.direction,j=(n=f,r=[u.size],o=Object(Y.useState)(),a=Object(ae.a)(o,2),c=a[0],i=a[1],Object(Y.useEffect)((function(){var e=ue(me);n&&e?i(se(e,"first-letter").height):c&&i(void 0)}),[n,c,i].concat(Object(W.a)(r))),c),y=Object(Z.__experimentalUseColors)([{name:"textColor",property:"color"},{name:"backgroundColor",className:"has-background"}],{contrastCheckers:[{backgroundColor:!0,textColor:!0,fontSize:u.size}]},[u.size]),_=y.TextColor,k=y.BackgroundColor,C=y.InspectorControlsColorPanel,w=y.ColorDetector;return Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(Z.BlockControls,null,Object(Y.createElement)(Z.AlignmentToolbar,{value:p,onChange:function(e){return d({align:e})}}),Object(Y.createElement)(de,{direction:O,setDirection:function(e){return d({direction:e})}})),Object(Y.createElement)(Z.InspectorControls,null,Object(Y.createElement)(ce.PanelBody,{title:Object(J.__)("Text Settings"),className:"blocks-font-size"},Object(Y.createElement)(Z.FontSizePicker,{value:u.size,onChange:h}),Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Drop Cap"),checked:!!f,onChange:function(){return d({dropCap:!f})},help:f?Object(J.__)("Showing large initial letter."):Object(J.__)("Toggle to show a large initial letter.")}))),C,Object(Y.createElement)(k,null,Object(Y.createElement)(_,null,Object(Y.createElement)(w,{querySelector:'[contenteditable="true"]'}),Object(Y.createElement)(Z.RichText,{identifier:"content",tagName:"p",className:ee()("wp-block-paragraph",s,(t={"has-drop-cap":f},Object(K.a)(t,"has-text-align-".concat(p),p),Object(K.a)(t,u.class,u.class),t)),style:{fontSize:u.size?u.size+"px":void 0,direction:O,minHeight:j},value:g,onChange:function(e){return d({content:e})},onSplit:function(e){return e?Object($.createBlock)(be,Object(Q.a)({},l,{content:e})):Object($.createBlock)(be)},onMerge:b,onReplace:m,onRemove:m?function(){return m([])}:void 0,"aria-label":g?Object(J.__)("Paragraph block"):Object(J.__)("Empty block; start writing or type forward slash to choose a block"),placeholder:v||Object(J.__)("Start writing or type / to choose a block"),__unstableEmbedURLOnPaste:!0}))))})),pe=Object(Y.createElement)(ce.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Y.createElement)(ce.Path,{d:"M11 5v7H9.5C7.6 12 6 10.4 6 8.5S7.6 5 9.5 5H11m8-2H9.5C6.5 3 4 5.5 4 8.5S6.5 14 9.5 14H11v7h2V5h2v16h2V5h2V3z"}));var ge={from:[{type:"raw",priority:20,selector:"p",schema:{p:{children:Object($.getPhrasingContentSchema)()}}}]},fe={name:"core/paragraph",category:"common",attributes:{align:{type:"string"},content:{type:"string",source:"html",selector:"p",default:""},dropCap:{type:"boolean",default:!1},placeholder:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},fontSize:{type:"string"},customFontSize:{type:"number"},direction:{type:"string",enum:["ltr","rtl"]}}},ve=fe.name,Oe={title:Object(J.__)("Paragraph"),description:Object(J.__)("Start with the building block of all narrative."),icon:pe,keywords:[Object(J.__)("text")],example:{attributes:{content:Object(J.__)("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."),customFontSize:28,dropCap:!0}},supports:{className:!1},transforms:ge,deprecated:oe,merge:function(e,t){return{content:(e.content||"")+(t.content||"")}},getEditWrapperProps:function(e){var t=e.width;if(-1!==["wide","full","left","right"].indexOf(t))return{"data-align":t}},edit:he,save:function(e){var t,n=e.attributes,r=n.align,o=n.content,a=n.dropCap,c=n.backgroundColor,i=n.textColor,l=n.customBackgroundColor,s=n.customTextColor,u=n.fontSize,b=n.customFontSize,m=n.direction,d=Object(Z.getColorClassName)("color",i),h=Object(Z.getColorClassName)("background-color",c),p=Object(Z.getFontSizeClass)(u),g=ee()((t={"has-text-color":i||s,"has-background":c||l,"has-drop-cap":a},Object(K.a)(t,"has-text-align-".concat(r),r),Object(K.a)(t,p,p),Object(K.a)(t,d,d),Object(K.a)(t,h,h),t)),f={backgroundColor:h?void 0:l,color:d?void 0:s,fontSize:p?void 0:b};return Object(Y.createElement)(Z.RichText.Content,{tagName:"p",style:f,className:g||void 0,value:o,dir:m})}},je=n(14),ye={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",default:"none"},linkTarget:{type:"string",source:"attribute",selector:"figure > a",attribute:"target"}},_e=[{attributes:ye,save:function(e){var t,n=e.attributes,r=n.url,o=n.alt,a=n.caption,c=n.align,i=n.href,l=n.width,s=n.height,u=n.id,b=ee()((t={},Object(K.a)(t,"align".concat(c),c),Object(K.a)(t,"is-resized",l||s),t)),m=Object(Y.createElement)("img",{src:r,alt:o,className:u?"wp-image-".concat(u):null,width:l,height:s});return Object(Y.createElement)("figure",{className:b},i?Object(Y.createElement)("a",{href:i},m):m,!Z.RichText.isEmpty(a)&&Object(Y.createElement)(Z.RichText.Content,{tagName:"figcaption",value:a}))}},{attributes:ye,save:function(e){var t=e.attributes,n=t.url,r=t.alt,o=t.caption,a=t.align,c=t.href,i=t.width,l=t.height,s=t.id,u=Object(Y.createElement)("img",{src:n,alt:r,className:s?"wp-image-".concat(s):null,width:i,height:l});return Object(Y.createElement)("figure",{className:a?"align".concat(a):null},c?Object(Y.createElement)("a",{href:c},u):u,!Z.RichText.isEmpty(o)&&Object(Y.createElement)(Z.RichText.Content,{tagName:"figcaption",value:o}))}},{attributes:ye,save:function(e){var t=e.attributes,n=t.url,r=t.alt,o=t.caption,a=t.align,c=t.href,i=t.width,l=t.height,s=i||l?{width:i,height:l}:{},u=Object(Y.createElement)("img",Object(je.a)({src:n,alt:r},s)),b={};return i?b={width:i}:"left"!==a&&"right"!==a||(b={maxWidth:"50%"}),Object(Y.createElement)("figure",{className:a?"align".concat(a):null,style:b},c?Object(Y.createElement)("a",{href:c},u):u,!Z.RichText.isEmpty(o)&&Object(Y.createElement)(Z.RichText.Content,{tagName:"figcaption",value:o}))}}],ke=n(13),Ce=n(12),we=n(15),Ee=n(16),xe=n(6),Se=n(17),Te=n(36),Ne=n(19),Be=n(25),Re=n(50),Ae=Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(Y.createElement)(ce.Path,{d:"M19,4H5C3.89,4,3,4.9,3,6v12c0,1.1,0.89,2,2,2h14c1.1,0,2-0.9,2-2V6C21,4.9,20.11,4,19,4z M19,18H5V8h14V18z"})),Ie=Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(Y.createElement)(ce.Path,{d:"M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H3V5h18v14zM8 15c0-1.66 1.34-3 3-3 .35 0 .69.07 1 .18V6h5v2h-3v7.03c-.02 1.64-1.35 2.97-3 2.97-1.66 0-3-1.34-3-3z"})),Pe=Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(Y.createElement)(ce.Path,{d:"M21,4H3C1.9,4,1,4.9,1,6v12c0,1.1,0.9,2,2,2h18c1.1,0,2-0.9,2-2V6C23,4.9,22.1,4,21,4z M21,18H3V6h18V18z"}),Object(Y.createElement)(ce.Polygon,{points:"14.5 11 11 15.51 8.5 12.5 5 17 19 17"})),Me=Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(Y.createElement)(ce.Path,{d:"m10 8v8l5-4-5-4zm9-5h-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-2zm0 16h-14v-14h14v14z"})),Le={foreground:"#1da1f2",src:Object(Y.createElement)(ce.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Y.createElement)(ce.G,null,Object(Y.createElement)(ce.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"})))},He={foreground:"#ff0000",src:Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24"},Object(Y.createElement)(ce.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"}))},ze={foreground:"#3b5998",src:Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24"},Object(Y.createElement)(ce.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"}))},Ve=Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24"},Object(Y.createElement)(ce.G,null,Object(Y.createElement)(ce.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"}))),De={foreground:"#0073AA",src:Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24"},Object(Y.createElement)(ce.G,null,Object(Y.createElement)(ce.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"})))},Fe={foreground:"#1db954",src:Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24"},Object(Y.createElement)(ce.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"}))},Ue=Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24"},Object(Y.createElement)(ce.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"})),Ge={foreground:"#1ab7ea",src:Object(Y.createElement)(ce.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Y.createElement)(ce.G,null,Object(Y.createElement)(ce.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"})))},qe=Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24"},Object(Y.createElement)(ce.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"})),We={foreground:"#35465c",src:Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24"},Object(Y.createElement)(ce.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-2zm-5.57 14.265c-2.445.042-3.37-1.742-3.37-2.998V10.6H8.922V9.15c1.703-.615 2.113-2.15 2.21-3.026.006-.06.053-.084.08-.084h1.645V8.9h2.246v1.7H12.85v3.495c.008.476.182 1.13 1.08 1.107.3-.008.698-.094.907-.194l.54 1.6c-.205.297-1.12.642-1.946.657z"}))},Ke=Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24"},Object(Y.createElement)(ce.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(Y.createElement)(ce.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(Y.createElement)(ce.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"})),Ze=[{name:"core-embed/twitter",settings:{title:"Twitter",icon:Le,keywords:["tweet"],description:Object(J.__)("Embed a tweet.")},patterns:[/^https?:\/\/(www\.)?twitter\.com\/.+/i]},{name:"core-embed/youtube",settings:{title:"YouTube",icon:He,keywords:[Object(J.__)("music"),Object(J.__)("video")],description:Object(J.__)("Embed a YouTube video.")},patterns:[/^https?:\/\/((m|www)\.)?youtube\.com\/.+/i,/^https?:\/\/youtu\.be\/.+/i]},{name:"core-embed/facebook",settings:{title:"Facebook",icon:ze,description:Object(J.__)("Embed a Facebook post.")},patterns:[/^https?:\/\/www\.facebook.com\/.+/i]},{name:"core-embed/instagram",settings:{title:"Instagram",icon:Ve,keywords:[Object(J.__)("image")],description:Object(J.__)("Embed an Instagram post.")},patterns:[/^https?:\/\/(www\.)?instagr(\.am|am\.com)\/.+/i]},{name:"core-embed/wordpress",settings:{title:"WordPress",icon:De,keywords:[Object(J.__)("post"),Object(J.__)("blog")],responsive:!1,description:Object(J.__)("Embed a WordPress post.")}},{name:"core-embed/soundcloud",settings:{title:"SoundCloud",icon:Ie,keywords:[Object(J.__)("music"),Object(J.__)("audio")],description:Object(J.__)("Embed SoundCloud content.")},patterns:[/^https?:\/\/(www\.)?soundcloud\.com\/.+/i]},{name:"core-embed/spotify",settings:{title:"Spotify",icon:Fe,keywords:[Object(J.__)("music"),Object(J.__)("audio")],description:Object(J.__)("Embed Spotify content.")},patterns:[/^https?:\/\/(open|play)\.spotify\.com\/.+/i]},{name:"core-embed/flickr",settings:{title:"Flickr",icon:Ue,keywords:[Object(J.__)("image")],description:Object(J.__)("Embed Flickr content.")},patterns:[/^https?:\/\/(www\.)?flickr\.com\/.+/i,/^https?:\/\/flic\.kr\/.+/i]},{name:"core-embed/vimeo",settings:{title:"Vimeo",icon:Ge,keywords:[Object(J.__)("video")],description:Object(J.__)("Embed a Vimeo video.")},patterns:[/^https?:\/\/(www\.)?vimeo\.com\/.+/i]}],$e=[{name:"core-embed/animoto",settings:{title:"Animoto",icon:Me,description:Object(J.__)("Embed an Animoto video.")},patterns:[/^https?:\/\/(www\.)?(animoto|video214)\.com\/.+/i]},{name:"core-embed/cloudup",settings:{title:"Cloudup",icon:Ae,description:Object(J.__)("Embed Cloudup content.")},patterns:[/^https?:\/\/cloudup\.com\/.+/i]},{name:"core-embed/collegehumor",settings:{title:"CollegeHumor",icon:Me,description:Object(J.__)("Embed CollegeHumor content."),supports:{inserter:!1}},patterns:[]},{name:"core-embed/crowdsignal",settings:{title:"Crowdsignal",icon:Ae,keywords:["polldaddy"],transform:[{type:"block",blocks:["core-embed/polldaddy"],transform:function(e){return Object($.createBlock)("core-embed/crowdsignal",{content:e})}}],description:Object(J.__)("Embed Crowdsignal (formerly Polldaddy) content.")},patterns:[/^https?:\/\/((.+\.)?polldaddy\.com|poll\.fm|.+\.survey\.fm)\/.+/i]},{name:"core-embed/dailymotion",settings:{title:"Dailymotion",icon:Me,description:Object(J.__)("Embed a Dailymotion video.")},patterns:[/^https?:\/\/(www\.)?dailymotion\.com\/.+/i]},{name:"core-embed/hulu",settings:{title:"Hulu",icon:Me,description:Object(J.__)("Embed Hulu content.")},patterns:[/^https?:\/\/(www\.)?hulu\.com\/.+/i]},{name:"core-embed/imgur",settings:{title:"Imgur",icon:Pe,description:Object(J.__)("Embed Imgur content.")},patterns:[/^https?:\/\/(.+\.)?imgur\.com\/.+/i]},{name:"core-embed/issuu",settings:{title:"Issuu",icon:Ae,description:Object(J.__)("Embed Issuu content.")},patterns:[/^https?:\/\/(www\.)?issuu\.com\/.+/i]},{name:"core-embed/kickstarter",settings:{title:"Kickstarter",icon:Ae,description:Object(J.__)("Embed Kickstarter content.")},patterns:[/^https?:\/\/(www\.)?kickstarter\.com\/.+/i,/^https?:\/\/kck\.st\/.+/i]},{name:"core-embed/meetup-com",settings:{title:"Meetup.com",icon:Ae,description:Object(J.__)("Embed Meetup.com content.")},patterns:[/^https?:\/\/(www\.)?meetu(\.ps|p\.com)\/.+/i]},{name:"core-embed/mixcloud",settings:{title:"Mixcloud",icon:Ie,keywords:[Object(J.__)("music"),Object(J.__)("audio")],description:Object(J.__)("Embed Mixcloud content.")},patterns:[/^https?:\/\/(www\.)?mixcloud\.com\/.+/i]},{name:"core-embed/polldaddy",settings:{title:"Polldaddy",icon:Ae,description:Object(J.__)("Embed Polldaddy content."),supports:{inserter:!1}},patterns:[]},{name:"core-embed/reddit",settings:{title:"Reddit",icon:qe,description:Object(J.__)("Embed a Reddit thread.")},patterns:[/^https?:\/\/(www\.)?reddit\.com\/.+/i]},{name:"core-embed/reverbnation",settings:{title:"ReverbNation",icon:Ie,description:Object(J.__)("Embed ReverbNation content.")},patterns:[/^https?:\/\/(www\.)?reverbnation\.com\/.+/i]},{name:"core-embed/screencast",settings:{title:"Screencast",icon:Me,description:Object(J.__)("Embed Screencast content.")},patterns:[/^https?:\/\/(www\.)?screencast\.com\/.+/i]},{name:"core-embed/scribd",settings:{title:"Scribd",icon:Ae,description:Object(J.__)("Embed Scribd content.")},patterns:[/^https?:\/\/(www\.)?scribd\.com\/.+/i]},{name:"core-embed/slideshare",settings:{title:"Slideshare",icon:Ae,description:Object(J.__)("Embed Slideshare content.")},patterns:[/^https?:\/\/(.+?\.)?slideshare\.net\/.+/i]},{name:"core-embed/smugmug",settings:{title:"SmugMug",icon:Pe,description:Object(J.__)("Embed SmugMug content.")},patterns:[/^https?:\/\/(www\.)?smugmug\.com\/.+/i]},{name:"core-embed/speaker",settings:{title:"Speaker",icon:Ie,supports:{inserter:!1}},patterns:[]},{name:"core-embed/speaker-deck",settings:{title:"Speaker Deck",icon:Ae,transform:[{type:"block",blocks:["core-embed/speaker"],transform:function(e){return Object($.createBlock)("core-embed/speaker-deck",{content:e})}}],description:Object(J.__)("Embed Speaker Deck content.")},patterns:[/^https?:\/\/(www\.)?speakerdeck\.com\/.+/i]},{name:"core-embed/ted",settings:{title:"TED",icon:Me,description:Object(J.__)("Embed a TED video.")},patterns:[/^https?:\/\/(www\.|embed\.)?ted\.com\/.+/i]},{name:"core-embed/tumblr",settings:{title:"Tumblr",icon:We,description:Object(J.__)("Embed a Tumblr post.")},patterns:[/^https?:\/\/(www\.)?tumblr\.com\/.+/i]},{name:"core-embed/videopress",settings:{title:"VideoPress",icon:Me,keywords:[Object(J.__)("video")],description:Object(J.__)("Embed a VideoPress video.")},patterns:[/^https?:\/\/videopress\.com\/.+/i]},{name:"core-embed/wordpress-tv",settings:{title:"WordPress.tv",icon:Me,description:Object(J.__)("Embed a WordPress.tv video.")},patterns:[/^https?:\/\/wordpress\.tv\/.+/i]},{name:"core-embed/amazon-kindle",settings:{title:"Amazon Kindle",icon:Ke,keywords:[Object(J.__)("ebook")],responsive:!1,description:Object(J.__)("Embed Amazon Kindle content.")},patterns:[/^https?:\/\/([a-z0-9-]+\.)?(amazon|amzn)(\.[a-z]{2,4})+\/.+/i,/^https?:\/\/(www\.)?(a\.co|z\.cn)\/.+/i]}],Je=["facebook.com","smugmug.com"],Qe=[{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"}],Ye=n(69),Xe=n.n(Ye),et=n(42),tt=n.n(et),nt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.some((function(t){return e.match(t)}))},rt=function(e){return Object(te.includes)(e,'class="wp-embedded-content"')},ot=function(e,t){var n=e.preview,r=e.name,o=e.attributes.url;if(o){var a=function(e){for(var t=0,n=[].concat(Object(W.a)(Ze),Object(W.a)($e));t1&&void 0!==arguments[1]?arguments[1]:"",n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!n){for(var r={"wp-has-aspect-ratio":!1},o=0;o=u.ratio)return Xe()(t,(s={},Object(K.a)(s,u.className,n),Object(K.a)(s,"wp-has-aspect-ratio",n),s))}return t}var ct=tt()((function(e,t,n,r){var o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];if(!e)return{};var a={},c=e.type,i=void 0===c?"rich":c,l=e.html,s=e.provider_name,u=Object(te.kebabCase)(Object(te.toLower)(""!==s?s:t));return rt(l)&&(i="wp-embed"),(l||"photo"===i)&&(a.type=i,a.providerNameSlug=u),a.className=at(l,n,r&&o),a})),it=Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(Y.createElement)(ce.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(Y.createElement)(ce.Path,{d:"m14.14 11.86l-3 3.87-2.14-2.59-3 3.86h12l-3.86-5.14z"})),lt=(Object(Y.createElement)(ce.SVG,{width:20,height:20,viewBox:"0 0 20 20"},Object(Y.createElement)(ce.Rect,{x:11,y:3,width:7,height:5,rx:1}),Object(Y.createElement)(ce.Rect,{x:2,y:12,width:7,height:5,rx:1}),Object(Y.createElement)(ce.Path,{d:"M13,12h1a3,3,0,0,1-3,3v2a5,5,0,0,0,5-5h1L15,9Z"}),Object(Y.createElement)(ce.Path,{d:"M4,8H3l2,3L7,8H6A3,3,0,0,1,9,5V3A5,5,0,0,0,4,8Z"})),["noreferrer","noopener"]),st=["image"];function ut(e){var t=e;return void 0===e||Object(te.isEmpty)(t)||Object(te.isEmpty)(t)||(Object(te.each)(lt,(function(e){var n=new RegExp("\\b"+e+"\\b","gi");t=t.replace(n,"")})),t!==e&&(t=t.trim()),Object(te.isEmpty)(t)&&(t=void 0)),t}var bt=function(e){function t(){var e;return Object(ke.a)(this,t),(e=Object(we.a)(this,Object(Ee.a)(t).apply(this,arguments))).state={width:void 0,height:void 0},e.bindContainer=e.bindContainer.bind(Object(xe.a)(e)),e.calculateSize=e.calculateSize.bind(Object(xe.a)(e)),e}return Object(Se.a)(t,e),Object(Ce.a)(t,[{key:"bindContainer",value:function(e){this.container=e}},{key:"componentDidUpdate",value:function(e){this.props.src!==e.src&&(this.setState({width:void 0,height:void 0}),this.fetchImageSize()),this.props.dirtynessTrigger!==e.dirtynessTrigger&&this.calculateSize()}},{key:"componentDidMount",value:function(){this.fetchImageSize()}},{key:"componentWillUnmount",value:function(){this.image&&(this.image.onload=te.noop)}},{key:"fetchImageSize",value:function(){this.image=new window.Image,this.image.onload=this.calculateSize,this.image.src=this.props.src}},{key:"calculateSize",value:function(){var e,t,n,r,o,a=(e=this.image,t=this.container,n=t.clientWidth,r=e.width>n,o=e.height/e.width,{width:r?n:e.width,height:r?n*o:e.height}),c=a.width,i=a.height;this.setState({width:c,height:i})}},{key:"render",value:function(){var e={imageWidth:this.image&&this.image.width,imageHeight:this.image&&this.image.height,containerWidth:this.container&&this.container.clientWidth,containerHeight:this.container&&this.container.clientHeight,imageWidthWithinContainer:this.state.width,imageHeightWithinContainer:this.state.height};return Object(Y.createElement)("div",{ref:this.bindContainer},this.props.children(e))}}]),t}(Y.Component),mt=Object(ie.withGlobalEvents)({resize:"calculateSize"})(bt),dt=function(e,t){return!e&&Object(Te.isBlobURL)(t)},ht=function(e){e.stopPropagation()},pt=function(e){[Ne.LEFT,Ne.DOWN,Ne.RIGHT,Ne.UP,Ne.BACKSPACE,Ne.ENTER].indexOf(e.keyCode)>-1&&e.stopPropagation()},gt=function(e){var t=e.advancedOptions,n=e.linkDestination,r=e.mediaLinks,o=e.onChangeUrl,a=e.url,c=Object(Y.useState)(!1),i=Object(ae.a)(c,2),l=i[0],s=i[1],u=Object(Y.useCallback)((function(){s(!0)})),b=Object(Y.useState)(!1),m=Object(ae.a)(b,2),d=m[0],h=m[1],p=Object(Y.useState)(null),g=Object(ae.a)(p,2),f=g[0],v=g[1],O=Object(Y.useCallback)((function(){"media"!==n&&"attachment"!==n||v(""),h(!0)})),j=Object(Y.useCallback)((function(){h(!1)})),y=Object(Y.useCallback)((function(){v(null),j(),s(!1)})),_=Object(Y.useRef)(null),k=Object(Y.useCallback)((function(){return function(e){var t=_.current;t&&t.contains(e.target)||(s(!1),v(null),j())}})),C=Object(Y.useCallback)((function(){return function(e){f&&o(f),j(),v(null),e.preventDefault()}})),w=Object(Y.useCallback)((function(){y(),o("")})),E=null!==f?f:a,x=(Object(te.find)(r,["linkDestination",n])||{}).title;return Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(ce.IconButton,{icon:"admin-links",className:"components-toolbar__control",label:a?Object(J.__)("Edit link"):Object(J.__)("Insert link"),"aria-expanded":l,onClick:u}),l&&Object(Y.createElement)(Z.URLPopover,{onClickOutside:k(),onClose:y,renderSettings:function(){return t},additionalControls:!E&&Object(Y.createElement)(ce.NavigableMenu,null,Object(te.map)(r,(function(e){return Object(Y.createElement)(ce.MenuItem,{key:e.linkDestination,icon:e.icon,onClick:function(){v(null),o(e.url),j()}},e.title)})))},(!a||d)&&Object(Y.createElement)(Z.URLPopover.LinkEditor,{className:"editor-format-toolbar__link-container-content block-editor-format-toolbar__link-container-content",value:E,onChangeInputValue:v,onKeyDown:pt,onKeyPress:ht,onSubmit:C(),autocompleteRef:_}),a&&!d&&Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(Z.URLPopover.LinkViewer,{className:"editor-format-toolbar__link-container-content block-editor-format-toolbar__link-container-content",onKeyPress:ht,url:a,onEditLinkClick:O,urlLabel:x}),Object(Y.createElement)(ce.IconButton,{icon:"no",label:Object(J.__)("Remove link"),onClick:w}))))},ft=function(e){function t(){var e;return Object(ke.a)(this,t),(e=Object(we.a)(this,Object(Ee.a)(t).apply(this,arguments))).updateAlt=e.updateAlt.bind(Object(xe.a)(e)),e.updateAlignment=e.updateAlignment.bind(Object(xe.a)(e)),e.onFocusCaption=e.onFocusCaption.bind(Object(xe.a)(e)),e.onImageClick=e.onImageClick.bind(Object(xe.a)(e)),e.onSelectImage=e.onSelectImage.bind(Object(xe.a)(e)),e.onSelectURL=e.onSelectURL.bind(Object(xe.a)(e)),e.updateImage=e.updateImage.bind(Object(xe.a)(e)),e.updateWidth=e.updateWidth.bind(Object(xe.a)(e)),e.updateHeight=e.updateHeight.bind(Object(xe.a)(e)),e.updateDimensions=e.updateDimensions.bind(Object(xe.a)(e)),e.onSetHref=e.onSetHref.bind(Object(xe.a)(e)),e.onSetLinkClass=e.onSetLinkClass.bind(Object(xe.a)(e)),e.onSetLinkRel=e.onSetLinkRel.bind(Object(xe.a)(e)),e.onSetNewTab=e.onSetNewTab.bind(Object(xe.a)(e)),e.onSetTitle=e.onSetTitle.bind(Object(xe.a)(e)),e.getFilename=e.getFilename.bind(Object(xe.a)(e)),e.onUploadError=e.onUploadError.bind(Object(xe.a)(e)),e.onImageError=e.onImageError.bind(Object(xe.a)(e)),e.getLinkDestinations=e.getLinkDestinations.bind(Object(xe.a)(e)),e.state={captionFocused:!1},e}return Object(Se.a)(t,e),Object(Ce.a)(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.attributes,r=t.mediaUpload,o=t.noticeOperations,a=n.id,c=n.url,i=void 0===c?"":c;if(dt(a,i)){var l=Object(Te.getBlobByURL)(i);l&&r({filesList:[l],onFileChange:function(t){var n=Object(ae.a)(t,1)[0];e.onSelectImage(n)},allowedTypes:st,onError:function(e){o.createErrorNotice(e)}})}}},{key:"componentDidUpdate",value:function(e){var t=e.attributes,n=t.id,r=t.url,o=void 0===r?"":r,a=this.props.attributes,c=a.id,i=a.url,l=void 0===i?"":i;dt(n,o)&&!dt(c,l)&&Object(Te.revokeBlobURL)(l),!this.props.isSelected&&e.isSelected&&this.state.captionFocused&&this.setState({captionFocused:!1})}},{key:"onUploadError",value:function(e){var t=this.props.noticeOperations;t.removeAllNotices(),t.createErrorNotice(e)}},{key:"onSelectImage",value:function(e){if(e&&e.url){var t,n,r,o=this.props.attributes,a=o.id,c=o.url,i=o.alt,l=o.caption,s=o.linkDestination,u=(t=e,(n=Object(te.pick)(t,["alt","id","link","caption"])).url=Object(te.get)(t,["sizes","large","url"])||Object(te.get)(t,["media_details","sizes","large","source_url"])||t.url,n);dt(a,c)&&(i&&(u=Object(te.omit)(u,["alt"])),l&&(u=Object(te.omit)(u,["caption"]))),r=e.id&&e.id===a?{url:c}:{width:void 0,height:void 0,sizeSlug:"large"},"media"===s&&(u.href=e.url),"attachment"===s&&(u.href=e.link),this.props.setAttributes(Object(Q.a)({},u,r))}else this.props.setAttributes({url:void 0,alt:void 0,id:void 0,title:void 0,caption:void 0})}},{key:"onSelectURL",value:function(e){e!==this.props.attributes.url&&this.props.setAttributes({url:e,id:void 0,sizeSlug:"large"})}},{key:"onImageError",value:function(e){var t=ot({attributes:{url:e}});void 0!==t&&this.props.onReplace(t)}},{key:"onSetHref",value:function(e){var t,n=this.getLinkDestinations();this.props.attributes.linkDestination===(t=e?(Object(te.find)(n,(function(t){return t.url===e}))||{linkDestination:"custom"}).linkDestination:"none")?this.props.setAttributes({href:e}):this.props.setAttributes({linkDestination:t,href:e})}},{key:"onSetTitle",value:function(e){this.props.setAttributes({title:e})}},{key:"onSetLinkClass",value:function(e){this.props.setAttributes({linkClass:e})}},{key:"onSetLinkRel",value:function(e){this.props.setAttributes({rel:e})}},{key:"onSetNewTab",value:function(e){var t=function(e,t){var n=t.rel,r=e?"_blank":void 0;return{linkTarget:r,rel:r||n?ut(n):void 0}}(e,this.props.attributes);this.props.setAttributes(t)}},{key:"onFocusCaption",value:function(){this.state.captionFocused||this.setState({captionFocused:!0})}},{key:"onImageClick",value:function(){this.state.captionFocused&&this.setState({captionFocused:!1})}},{key:"updateAlt",value:function(e){this.props.setAttributes({alt:e})}},{key:"updateAlignment",value:function(e){var t=-1!==["wide","full"].indexOf(e)?{width:void 0,height:void 0}:{};this.props.setAttributes(Object(Q.a)({},t,{align:e}))}},{key:"updateImage",value:function(e){var t=this.props.image,n=Object(te.get)(t,["media_details","sizes",e,"source_url"]);if(!n)return null;this.props.setAttributes({url:n,width:void 0,height:void 0,sizeSlug:e})}},{key:"updateWidth",value:function(e){this.props.setAttributes({width:parseInt(e,10)})}},{key:"updateHeight",value:function(e){this.props.setAttributes({height:parseInt(e,10)})}},{key:"updateDimensions",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return function(){e.props.setAttributes({width:t,height:n})}}},{key:"getFilename",value:function(e){var t=Object(Be.getPath)(e);if(t)return Object(te.last)(t.split("/"))}},{key:"getLinkDestinations",value:function(){return[{linkDestination:"media",title:Object(J.__)("Media File"),url:this.props.image&&this.props.image.source_url||this.props.attributes.url,icon:it},{linkDestination:"attachment",title:Object(J.__)("Attachment Page"),url:this.props.image&&this.props.image.link,icon:Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.Path,{d:"M0 0h24v24H0V0z",fill:"none"}),Object(Y.createElement)(ce.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"}))}]}},{key:"getImageSizeOptions",value:function(){var e=this.props.imageSizes;return Object(te.map)(e,(function(e){var t=e.name;return{value:e.slug,label:t}}))}},{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=t.setAttributes,o=t.isLargeViewport,a=t.isSelected,c=t.className,i=t.maxWidth,l=t.noticeUI,s=t.isRTL,u=t.onResizeStart,b=t.onResizeStop,m=n.url,d=n.alt,h=n.caption,p=n.align,g=n.id,f=n.href,v=n.rel,O=n.linkClass,j=n.linkDestination,y=n.title,_=n.width,k=n.height,C=n.linkTarget,w=n.sizeSlug,E=ut(v),x=function(e,t){return t&&!e&&!Object(Te.isBlobURL)(t)}(g,m),S=Object(Y.createElement)(Z.BlockControls,null,Object(Y.createElement)(Z.BlockAlignmentToolbar,{value:p,onChange:this.updateAlignment}),m&&Object(Y.createElement)(Z.MediaReplaceFlow,{mediaURL:m,allowedTypes:st,accept:"image/*",onSelect:this.onSelectImage,onSelectURL:this.onSelectURL,onError:this.onUploadError}),m&&Object(Y.createElement)(ce.ToolbarGroup,null,Object(Y.createElement)(gt,{url:f||"",onChangeUrl:this.onSetHref,mediaLinks:this.getLinkDestinations(),linkDestination:j,advancedOptions:Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Open in New Tab"),onChange:this.onSetNewTab,checked:"_blank"===C}),Object(Y.createElement)(ce.TextControl,{label:Object(J.__)("Link Rel"),value:E||"",onChange:this.onSetLinkRel,onKeyPress:ht,onKeyDown:pt}),Object(Y.createElement)(ce.TextControl,{label:Object(J.__)("Link CSS Class"),value:O||"",onKeyPress:ht,onKeyDown:pt,onChange:this.onSetLinkClass}))}))),T=x?m:void 0,N={title:m?Object(J.__)("Edit image"):Object(J.__)("Image"),instructions:Object(J.__)("Upload an image file, pick one from your media library, or add one with a URL.")},B=!!m&&Object(Y.createElement)("img",{alt:Object(J.__)("Edit image"),title:Object(J.__)("Edit image"),className:"edit-image-preview",src:m}),R=Object(Y.createElement)(Z.MediaPlaceholder,{icon:Object(Y.createElement)(Z.BlockIcon,{icon:it}),className:c,labels:N,onSelect:this.onSelectImage,onSelectURL:this.onSelectURL,notices:l,onError:this.onUploadError,accept:"image/*",allowedTypes:st,value:{id:g,src:T},mediaPreview:B,disableMediaButtons:m});if(!m)return Object(Y.createElement)(Y.Fragment,null,S,R);var A=ee()(c,Object(K.a)({"is-transient":Object(Te.isBlobURL)(m),"is-resized":!!_||!!k,"is-focused":a},"size-".concat(w),w)),I=-1===["wide","full"].indexOf(p)&&o,P=this.getImageSizeOptions(),M=function(t,n){return Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(Z.InspectorControls,null,Object(Y.createElement)(ce.PanelBody,{title:Object(J.__)("Image Settings")},Object(Y.createElement)(ce.TextareaControl,{label:Object(J.__)("Alt Text (Alternative Text)"),value:d,onChange:e.updateAlt,help:Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(ce.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},Object(J.__)("Describe the purpose of the image")),Object(J.__)("Leave empty if the image is purely decorative."))}),!Object(te.isEmpty)(P)&&Object(Y.createElement)(ce.SelectControl,{label:Object(J.__)("Image Size"),value:w,options:P,onChange:e.updateImage}),I&&Object(Y.createElement)("div",{className:"block-library-image__dimensions"},Object(Y.createElement)("p",{className:"block-library-image__dimensions__row"},Object(J.__)("Image Dimensions")),Object(Y.createElement)("div",{className:"block-library-image__dimensions__row"},Object(Y.createElement)(ce.TextControl,{type:"number",className:"block-library-image__dimensions__width",label:Object(J.__)("Width"),value:_||t||"",min:1,onChange:e.updateWidth}),Object(Y.createElement)(ce.TextControl,{type:"number",className:"block-library-image__dimensions__height",label:Object(J.__)("Height"),value:k||n||"",min:1,onChange:e.updateHeight})),Object(Y.createElement)("div",{className:"block-library-image__dimensions__row"},Object(Y.createElement)(ce.ButtonGroup,{"aria-label":Object(J.__)("Image Size")},[25,50,75,100].map((function(r){var o=Math.round(t*(r/100)),a=Math.round(n*(r/100)),c=_===o&&k===a;return Object(Y.createElement)(ce.Button,{key:r,isSmall:!0,isPrimary:c,"aria-pressed":c,onClick:e.updateDimensions(o,a)},r,"%")}))),Object(Y.createElement)(ce.Button,{isSmall:!0,onClick:e.updateDimensions()},Object(J.__)("Reset")))))),Object(Y.createElement)(Z.InspectorAdvancedControls,null,Object(Y.createElement)(ce.TextControl,{label:Object(J.__)("Title Attribute"),value:y||"",onChange:e.onSetTitle,help:Object(Y.createElement)(Y.Fragment,null,Object(J.__)("Describe the role of this image on the page."),Object(Y.createElement)(ce.ExternalLink,{href:"https://www.w3.org/TR/html52/dom.html#the-title-attribute"},Object(J.__)("(Note: many devices and browsers do not display this text.)")))})))};return Object(Y.createElement)(Y.Fragment,null,S,Object(Y.createElement)("figure",{className:A},Object(Y.createElement)(mt,{src:m,dirtynessTrigger:p},(function(t){var n,o=t.imageWidthWithinContainer,a=t.imageHeightWithinContainer,c=t.imageWidth,l=t.imageHeight,h=e.getFilename(m);n=d||(h?Object(J.sprintf)(Object(J.__)("This image has an empty alt attribute; its file name is %s"),h):Object(J.__)("This image has an empty alt attribute"));var g=Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)("img",{src:m,alt:n,onClick:e.onImageClick,onError:function(){return e.onImageError(m)}}),Object(Te.isBlobURL)(m)&&Object(Y.createElement)(ce.Spinner,null));if(!I||!o)return Object(Y.createElement)(Y.Fragment,null,M(c,l),Object(Y.createElement)("div",{style:{width:_,height:k}},g));var f=_||o,v=k||a,O=c/l,j=c 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",default:"none"},linkTarget:{type:"string",source:"attribute",selector:"figure > a",attribute:"target"}}},kt=_t.name,Ct={title:Object(J.__)("Image"),description:Object(J.__)("Insert an image to make a visual statement."),icon:it,keywords:["img",Object(J.__)("photo")],example:{attributes:{sizeSlug:"large",url:"https://s.w.org/images/core/5.3/MtBlanc1.jpg",caption:Object(J.__)("Mont Blanc appears—still, snowy, and serene.")}},styles:[{name:"default",label:Object(J._x)("Default","block style"),isDefault:!0},{name:"circle-mask",label:Object(J._x)("Circle Mask","block style")}],transforms:yt,getEditWrapperProps:function(e){var t=e.align,n=e.width;if("left"===t||"center"===t||"right"===t||"wide"===t||"full"===t)return{"data-align":t,"data-resized":!!n}},edit:vt,save:function(e){var t,n=e.attributes,r=n.url,o=n.alt,a=n.caption,c=n.align,i=n.href,l=n.rel,s=n.linkClass,u=n.width,b=n.height,m=n.id,d=n.linkTarget,h=n.sizeSlug,p=n.title,g=Object(te.isEmpty)(l)?void 0:l,f=ee()((t={},Object(K.a)(t,"align".concat(c),c),Object(K.a)(t,"size-".concat(h),h),Object(K.a)(t,"is-resized",u||b),t)),v=Object(Y.createElement)("img",{src:r,alt:o,className:m?"wp-image-".concat(m):null,width:u,height:b,title:p}),O=Object(Y.createElement)(Y.Fragment,null,i?Object(Y.createElement)("a",{className:s,href:i,target:d,rel:g},v):v,!Z.RichText.isEmpty(a)&&Object(Y.createElement)(Z.RichText.Content,{tagName:"figcaption",value:a}));return"left"===c||"right"===c||"center"===c?Object(Y.createElement)("div",null,Object(Y.createElement)("figure",{className:f},O)):Object(Y.createElement)("figure",{className:f},O)},deprecated:_e},wt={className:!1,anchor:!0},Et={align:{type:"string"},content:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6",default:""},level:{type:"number",default:2},placeholder:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"}},xt=[{attributes:Et,save:function(e){var t,n=e.attributes,r=n.align,o=n.content,a=n.customTextColor,c=n.level,i=n.textColor,l="h"+c,s=Object(Z.getColorClassName)("color",i),u=ee()((t={},Object(K.a)(t,s,s),Object(K.a)(t,"has-text-align-".concat(r),r),t));return Object(Y.createElement)(Z.RichText.Content,{className:u||void 0,tagName:l,style:{color:s?void 0:a},value:o})},supports:wt},{supports:wt,attributes:Et,save:function(e){var t=e.attributes,n=t.align,r=t.level,o=t.content,a=t.textColor,c=t.customTextColor,i="h"+r,l=Object(Z.getColorClassName)("color",a),s=ee()(Object(K.a)({},l,l));return Object(Y.createElement)(Z.RichText.Content,{className:s||void 0,tagName:i,style:{textAlign:n,color:l?void 0:c},value:o})}}];function St(e){var t=e.level,n=e.__unstableActive,r={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 r.hasOwnProperty(t)?Object(Y.createElement)(ce.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",__unstableActive:n},Object(Y.createElement)(ce.Path,{d:r[t]})):null}var Tt=function(e){function t(){return Object(ke.a)(this,t),Object(we.a)(this,Object(Ee.a)(t).apply(this,arguments))}return Object(Se.a)(t,e),Object(Ce.a)(t,[{key:"createLevelControl",value:function(e,t,n){var r=e===t;return{icon:Object(Y.createElement)(St,{level:e,__unstableActive:r}),title:Object(J.sprintf)(Object(J.__)("Heading %d"),e),isActive:r,onClick:function(){return n(e)}}}},{key:"render",value:function(){var e=this,t=this.props,n=t.isCollapsed,r=void 0===n||n,o=t.minLevel,a=t.maxLevel,c=t.selectedLevel,i=t.onChange;return Object(Y.createElement)(ce.ToolbarGroup,{isCollapsed:r,icon:Object(Y.createElement)(St,{level:c}),controls:Object(te.range)(o,a).map((function(t){return e.createLevelControl(t,c,i)}))})}}]),t}(Y.Component);var Nt=function(e){var t=e.attributes,n=e.setAttributes,r=e.mergeBlocks,o=e.onReplace,a=e.className,c=Object(Z.__experimentalUseColors)([{name:"textColor",property:"color"}],{contrastCheckers:{backgroundColor:!0,textColor:!0}},[]),i=c.TextColor,l=c.InspectorControlsColorPanel,s=c.ColorDetector,u=t.align,b=t.content,m=t.level,d=t.placeholder,h="h"+m;return Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(Z.BlockControls,null,Object(Y.createElement)(Tt,{minLevel:2,maxLevel:5,selectedLevel:m,onChange:function(e){return n({level:e})}}),Object(Y.createElement)(Z.AlignmentToolbar,{value:u,onChange:function(e){n({align:e})}})),Object(Y.createElement)(Z.InspectorControls,null,Object(Y.createElement)(ce.PanelBody,{title:Object(J.__)("Heading Settings")},Object(Y.createElement)("p",null,Object(J.__)("Level")),Object(Y.createElement)(Tt,{isCollapsed:!1,minLevel:1,maxLevel:7,selectedLevel:m,onChange:function(e){return n({level:e})}}))),l,Object(Y.createElement)(i,null,Object(Y.createElement)(s,{querySelector:'[contenteditable="true"]'}),Object(Y.createElement)(Z.RichText,{identifier:"content",tagName:h,value:b,onChange:function(e){return n({content:e})},onMerge:r,onSplit:function(e){return e?Object($.createBlock)("core/heading",Object(Q.a)({},t,{content:e})):Object($.createBlock)("core/paragraph")},onReplace:o,onRemove:function(){return o([])},className:ee()(a,Object(K.a)({},"has-text-align-".concat(u),u)),placeholder:d||Object(J.__)("Write heading…")})))};var Bt={from:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return Object($.createBlock)("core/heading",{content:t})}},{type:"raw",selector:"h1,h2,h3,h4,h5,h6",schema:{h1:{children:Object($.getPhrasingContentSchema)()},h2:{children:Object($.getPhrasingContentSchema)()},h3:{children:Object($.getPhrasingContentSchema)()},h4:{children:Object($.getPhrasingContentSchema)()},h5:{children:Object($.getPhrasingContentSchema)()},h6:{children:Object($.getPhrasingContentSchema)()}},transform:function(e){return Object($.createBlock)("core/heading",Object(Q.a)({},Object($.getBlockAttributes)("core/heading",e.outerHTML),{level:(t=e.nodeName,Number(t.substr(1)))}));var t}}].concat(Object(W.a)([2,3,4,5,6].map((function(e){return{type:"prefix",prefix:Array(e+1).join("#"),transform:function(t){return Object($.createBlock)("core/heading",{level:e,content:t})}}})))),to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return Object($.createBlock)("core/paragraph",{content:t})}}]},Rt={name:"core/heading",category:"common",attributes:{align:{type:"string"},content:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6",default:""},level:{type:"number",default:2},placeholder:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"}}},At=Rt.name,It={title:Object(J.__)("Heading"),description:Object(J.__)("Introduce new sections and organize content to help visitors (and search engines) understand the structure of your content."),icon:"heading",keywords:[Object(J.__)("title"),Object(J.__)("subtitle")],supports:{className:!1,anchor:!0},example:{attributes:{content:Object(J.__)("Code is Poetry"),level:2}},transforms:Bt,deprecated:xt,merge:function(e,t){return{content:(e.content||"")+(t.content||"")}},edit:Nt,save:function(e){var t,n=e.attributes,r=n.align,o=n.content,a=n.customTextColor,c=n.level,i=n.textColor,l="h"+c,s=Object(Z.getColorClassName)("color",i),u=ee()((t={},Object(K.a)(t,s,s),Object(K.a)(t,"has-text-color",i||a),Object(K.a)(t,"has-text-align-".concat(r),r),t));return Object(Y.createElement)(Z.RichText.Content,{className:u||void 0,tagName:l,style:{color:s?void 0:a},value:o})}},Pt={value:{type:"string",source:"html",selector:"blockquote",multiline:"p",default:""},citation:{type:"string",source:"html",selector:"cite",default:""},align:{type:"string"}},Mt=[{attributes:Pt,save:function(e){var t=e.attributes,n=t.align,r=t.value,o=t.citation;return Object(Y.createElement)("blockquote",{style:{textAlign:n||null}},Object(Y.createElement)(Z.RichText.Content,{multiline:!0,value:r}),!Z.RichText.isEmpty(o)&&Object(Y.createElement)(Z.RichText.Content,{tagName:"cite",value:o}))}},{attributes:Object(Q.a)({},Pt,{style:{type:"number",default:1}}),migrate:function(e){return 2===e.style?Object(Q.a)({},Object(te.omit)(e,["style"]),{className:e.className?e.className+" is-style-large":"is-style-large"}):e},save:function(e){var t=e.attributes,n=t.align,r=t.value,o=t.citation,a=t.style;return Object(Y.createElement)("blockquote",{className:2===a?"is-large":"",style:{textAlign:n||null}},Object(Y.createElement)(Z.RichText.Content,{multiline:!0,value:r}),!Z.RichText.isEmpty(o)&&Object(Y.createElement)(Z.RichText.Content,{tagName:"cite",value:o}))}},{attributes:Object(Q.a)({},Pt,{citation:{type:"string",source:"html",selector:"footer",default:""},style:{type:"number",default:1}}),save:function(e){var t=e.attributes,n=t.align,r=t.value,o=t.citation,a=t.style;return Object(Y.createElement)("blockquote",{className:"blocks-quote-style-".concat(a),style:{textAlign:n||null}},Object(Y.createElement)(Z.RichText.Content,{multiline:!0,value:r}),!Z.RichText.isEmpty(o)&&Object(Y.createElement)(Z.RichText.Content,{tagName:"footer",value:o}))}}];var Lt=Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(Y.createElement)(ce.Path,{d:"M18.62 18h-5.24l2-4H13V6h8v7.24L18.62 18zm-2-2h.76L19 12.76V8h-4v4h3.62l-2 4zm-8 2H3.38l2-4H3V6h8v7.24L8.62 18zm-2-2h.76L9 12.76V8H5v4h3.62l-2 4z"}));var Ht=n(21),zt=n(24),Vt={from:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:function(e){return Object($.createBlock)("core/quote",{value:Object(zt.toHTMLString)({value:Object(zt.join)(e.map((function(e){var t=e.content;return Object(zt.create)({html:t})})),"\u2028"),multilineTag:"p"})})}},{type:"block",blocks:["core/heading"],transform:function(e){var t=e.content;return Object($.createBlock)("core/quote",{value:"

".concat(t,"

")})}},{type:"block",blocks:["core/pullquote"],transform:function(e){var t=e.value,n=e.citation;return Object($.createBlock)("core/quote",{value:t,citation:n})}},{type:"prefix",prefix:">",transform:function(e){return Object($.createBlock)("core/quote",{value:"

".concat(e,"

")})}},{type:"raw",isMatch:function(e){var t,n=(t=!1,function(e){return"P"===e.nodeName||(t||"CITE"!==e.nodeName?void 0:(t=!0,!0))});return"BLOCKQUOTE"===e.nodeName&&Array.from(e.childNodes).every(n)},schema:{blockquote:{children:{p:{children:Object($.getPhrasingContentSchema)()},cite:{children:Object($.getPhrasingContentSchema)()}}}}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.value,n=e.citation,r=[];return t&&"

"!==t&&r.push.apply(r,Object(W.a)(Object(zt.split)(Object(zt.create)({html:t,multilineTag:"p"}),"\u2028").map((function(e){return Object($.createBlock)("core/paragraph",{content:Object(zt.toHTMLString)({value:e})})})))),n&&"

"!==n&&r.push(Object($.createBlock)("core/paragraph",{content:n})),0===r.length?Object($.createBlock)("core/paragraph",{content:""}):r}},{type:"block",blocks:["core/heading"],transform:function(e){var t=e.value,n=e.citation,r=Object(Ht.a)(e,["value","citation"]);if("

"===t)return Object($.createBlock)("core/heading",{content:n});var o=Object(zt.split)(Object(zt.create)({html:t,multilineTag:"p"}),"\u2028"),a=Object($.createBlock)("core/heading",{content:Object(zt.toHTMLString)({value:o[0]})});if(!n&&1===o.length)return a;var c=o.slice(1);return[a,Object($.createBlock)("core/quote",Object(Q.a)({},r,{citation:n,value:Object(zt.toHTMLString)({value:c.length?Object(zt.join)(o.slice(1),"\u2028"):Object(zt.create)(),multilineTag:"p"})}))]}},{type:"block",blocks:["core/pullquote"],transform:function(e){var t=e.value,n=e.citation;return Object($.createBlock)("core/pullquote",{value:t,citation:n})}}]},Dt={name:"core/quote",category:"common",attributes:{value:{type:"string",source:"html",selector:"blockquote",multiline:"p",default:""},citation:{type:"string",source:"html",selector:"cite",default:""},align:{type:"string"}}},Ft=Dt.name,Ut={title:Object(J.__)("Quote"),description:Object(J.__)('Give quoted text visual emphasis. "In quoting others, we cite ourselves." — Julio Cortázar'),icon:Lt,keywords:[Object(J.__)("blockquote"),Object(J.__)("cite")],example:{attributes:{value:"

"+Object(J.__)("In quoting others, we cite ourselves.")+"

",citation:"Julio Cortázar",className:"is-style-large"}},styles:[{name:"default",label:Object(J._x)("Default","block style"),isDefault:!0},{name:"large",label:Object(J._x)("Large","block style")}],transforms:Vt,edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.isSelected,o=e.mergeBlocks,a=e.onReplace,c=e.className,i=t.align,l=t.value,s=t.citation;return Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(Z.BlockControls,null,Object(Y.createElement)(Z.AlignmentToolbar,{value:i,onChange:function(e){n({align:e})}})),Object(Y.createElement)(ce.BlockQuotation,{className:ee()(c,Object(K.a)({},"has-text-align-".concat(i),i))},Object(Y.createElement)(Z.RichText,{identifier:"value",multiline:!0,value:l,onChange:function(e){return n({value:e})},onMerge:o,onRemove:function(e){var t=!s||0===s.length;!e&&t&&a([])},placeholder:Object(J.__)("Write quote…"),onReplace:a,onSplit:function(e){return Object($.createBlock)("core/quote",Object(Q.a)({},t,{value:e}))},__unstableOnSplitMiddle:function(){return Object($.createBlock)("core/paragraph")}}),(!Z.RichText.isEmpty(s)||r)&&Object(Y.createElement)(Z.RichText,{identifier:"citation",value:s,onChange:function(e){return n({citation:e})},__unstableMobileNoFocusOnMount:!0,placeholder:Object(J.__)("Write citation…"),className:"wp-block-quote__citation"})))},save:function(e){var t=e.attributes,n=t.align,r=t.value,o=t.citation,a=ee()(Object(K.a)({},"has-text-align-".concat(n),n));return Object(Y.createElement)("blockquote",{className:a},Object(Y.createElement)(Z.RichText.Content,{multiline:!0,value:r}),!Z.RichText.isEmpty(o)&&Object(Y.createElement)(Z.RichText.Content,{tagName:"cite",value:o}))},merge:function(e,t){var n=t.value,r=t.citation;return r||(r=e.citation),n&&"

"!==n?Object(Q.a)({},e,{value:e.value+n,citation:r}):Object(Q.a)({},e,{citation:r})},deprecated:Mt};function Gt(e){return Math.min(3,e.images.length)}var qt=function(e){var t=Object(te.pick)(e,["alt","id","link","caption"]);t.url=Object(te.get)(e,["sizes","large","url"])||Object(te.get)(e,["media_details","sizes","large","source_url"])||e.url;var n=Object(te.get)(e,["sizes","full","url"])||Object(te.get)(e,["media_details","sizes","full","source_url"]);return n&&(t.fullUrl=n),t},Wt=[{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"}},save:function(e){var t=e.attributes,n=t.images,r=t.columns,o=void 0===r?Gt(t):r,a=t.imageCrop,c=t.linkTo;return Object(Y.createElement)("ul",{className:"columns-".concat(o," ").concat(a?"is-cropped":"")},n.map((function(e){var t;switch(c){case"media":t=e.fullUrl||e.url;break;case"attachment":t=e.link}var n=Object(Y.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-".concat(e.id):null});return Object(Y.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(Y.createElement)("figure",null,t?Object(Y.createElement)("a",{href:t},n):n,e.caption&&e.caption.length>0&&Object(Y.createElement)(Z.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:function(e){var t=e.images,n=e.ids;return t&&t.length>0&&(!n&&t||n&&t&&n.length!==t.length||Object(te.some)(t,(function(e,t){return!e&&null!==n[t]||parseInt(e,10)!==n[t]})))},migrate:function(e){return Object(Q.a)({},e,{ids:Object(te.map)(e.images,(function(e){var t=e.id;return t?parseInt(t,10):null}))})},save:function(e){var t=e.attributes,n=t.images,r=t.columns,o=void 0===r?Gt(t):r,a=t.imageCrop,c=t.linkTo;return Object(Y.createElement)("ul",{className:"columns-".concat(o," ").concat(a?"is-cropped":"")},n.map((function(e){var t;switch(c){case"media":t=e.url;break;case"attachment":t=e.link}var n=Object(Y.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-link":e.link,className:e.id?"wp-image-".concat(e.id):null});return Object(Y.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(Y.createElement)("figure",null,t?Object(Y.createElement)("a",{href:t},n):n,e.caption&&e.caption.length>0&&Object(Y.createElement)(Z.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"}},save:function(e){var t=e.attributes,n=t.images,r=t.columns,o=void 0===r?Gt(t):r,a=t.align,c=t.imageCrop,i=t.linkTo,l=ee()("columns-".concat(o),{alignnone:"none"===a,"is-cropped":c});return Object(Y.createElement)("div",{className:l},n.map((function(e){var t;switch(i){case"media":t=e.url;break;case"attachment":t=e.link}var n=Object(Y.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id});return Object(Y.createElement)("figure",{key:e.id||e.url,className:"blocks-gallery-image"},t?Object(Y.createElement)("a",{href:t},n):n)})))}}],Kt=Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(Y.createElement)(ce.G,null,Object(Y.createElement)(ce.Path,{d:"M20 4v12H8V4h12m0-2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-8.5 9.67l1.69 2.26 2.48-3.1L19 15H9zM2 6v14c0 1.1.9 2 2 2h14v-2H4V6H2z"}))),Zt=Object(Y.createElement)(ce.SVG,{width:"18",height:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.Path,{d:"M5 8.70002L10.6 14.4L12 12.9L7.8 8.70002L12 4.50002L10.6 3.00002L5 8.70002Z"})),$t=Object(Y.createElement)(ce.SVG,{width:"18",height:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.Path,{d:"M13 8.7L7.4 3L6 4.5L10.2 8.7L6 12.9L7.4 14.4L13 8.7Z"})),Jt=Object(Y.createElement)(Z.BlockIcon,{icon:Kt}),Qt=function(e){function t(){var e;return Object(ke.a)(this,t),(e=Object(we.a)(this,Object(Ee.a)(t).apply(this,arguments))).onSelectImage=e.onSelectImage.bind(Object(xe.a)(e)),e.onSelectCaption=e.onSelectCaption.bind(Object(xe.a)(e)),e.onRemoveImage=e.onRemoveImage.bind(Object(xe.a)(e)),e.bindContainer=e.bindContainer.bind(Object(xe.a)(e)),e.state={captionSelected:!1},e}return Object(Se.a)(t,e),Object(Ce.a)(t,[{key:"bindContainer",value:function(e){this.container=e}},{key:"onSelectCaption",value:function(){this.state.captionSelected||this.setState({captionSelected:!0}),this.props.isSelected||this.props.onSelect()}},{key:"onSelectImage",value:function(){this.props.isSelected||this.props.onSelect(),this.state.captionSelected&&this.setState({captionSelected:!1})}},{key:"onRemoveImage",value:function(e){this.container===document.activeElement&&this.props.isSelected&&-1!==[Ne.BACKSPACE,Ne.DELETE].indexOf(e.keyCode)&&(e.stopPropagation(),e.preventDefault(),this.props.onRemove())}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isSelected,r=t.image,o=t.url;r&&!o&&this.props.setAttributes({url:r.source_url,alt:r.alt_text}),this.state.captionSelected&&!n&&e.isSelected&&this.setState({captionSelected:!1})}},{key:"render",value:function(){var e,t=this.props,n=t.url,r=t.alt,o=t.id,a=t.linkTo,c=t.link,i=t.isFirstItem,l=t.isLastItem,s=t.isSelected,u=t.caption,b=t.onRemove,m=t.onMoveForward,d=t.onMoveBackward,h=t.setAttributes,p=t["aria-label"];switch(a){case"media":e=n;break;case"attachment":e=c}var g=Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)("img",{src:n,alt:r,"data-id":o,onClick:this.onSelectImage,onFocus:this.onSelectImage,onKeyDown:this.onRemoveImage,tabIndex:"0","aria-label":p,ref:this.bindContainer}),Object(Te.isBlobURL)(n)&&Object(Y.createElement)(ce.Spinner,null)),f=ee()({"is-selected":s,"is-transient":Object(Te.isBlobURL)(n)});return Object(Y.createElement)("figure",{className:f},e?Object(Y.createElement)("a",{href:e},g):g,Object(Y.createElement)("div",{className:"block-library-gallery-item__move-menu"},Object(Y.createElement)(ce.IconButton,{icon:Zt,onClick:i?void 0:d,className:"blocks-gallery-item__move-backward",label:Object(J.__)("Move image backward"),"aria-disabled":i,disabled:!s}),Object(Y.createElement)(ce.IconButton,{icon:$t,onClick:l?void 0:m,className:"blocks-gallery-item__move-forward",label:Object(J.__)("Move image forward"),"aria-disabled":l,disabled:!s})),Object(Y.createElement)("div",{className:"block-library-gallery-item__inline-menu"},Object(Y.createElement)(ce.IconButton,{icon:"no-alt",onClick:b,className:"blocks-gallery-item__remove",label:Object(J.__)("Remove image"),disabled:!s})),(s||u)&&Object(Y.createElement)(Z.RichText,{tagName:"figcaption",placeholder:s?Object(J.__)("Write caption…"):null,value:u,isSelected:this.state.captionSelected,onChange:function(e){return h({caption:e})},unstableOnFocus:this.onSelectCaption,inlineToolbar:!0}))}}]),t}(Y.Component),Yt=Object(le.withSelect)((function(e,t){var n=e("core").getMedia,r=t.id;return{image:r?n(r):null}}))(Qt),Xt=function(e){var t,n=e.attributes,r=e.className,o=e.isSelected,a=e.setAttributes,c=e.selectedImage,i=e.mediaPlaceholder,l=e.onMoveBackward,s=e.onMoveForward,u=e.onRemoveImage,b=e.onSelectImage,m=e.onSetImageAttributes,d=e.onFocusGalleryCaption,h=n.align,p=n.columns,g=void 0===p?Gt(n):p,f=n.caption,v=n.imageCrop,O=n.images,j=ee()("blocks-gallery-caption",{"screen-reader-text":!o&&Z.RichText.isEmpty(f)});return Object(Y.createElement)("figure",{className:ee()(r,(t={},Object(K.a)(t,"align".concat(h),h),Object(K.a)(t,"columns-".concat(g),g),Object(K.a)(t,"is-cropped",v),t))},Object(Y.createElement)("ul",{className:"blocks-gallery-grid"},O.map((function(e,t){var n=Object(J.sprintf)(Object(J.__)("image %1$d of %2$d in gallery"),t+1,O.length);return Object(Y.createElement)("li",{className:"blocks-gallery-item",key:e.id||e.url},Object(Y.createElement)(Yt,{url:e.url,alt:e.alt,id:e.id,isFirstItem:0===t,isLastItem:t+1===O.length,isSelected:o&&c===t,onMoveBackward:l(t),onMoveForward:s(t),onRemove:u(t),onSelect:b(t),setAttributes:function(e){return m(t,e)},caption:e.caption,"aria-label":n}))}))),i,Object(Y.createElement)(Z.RichText,{tagName:"figcaption",className:j,placeholder:Object(J.__)("Write gallery caption…"),value:f,unstableOnFocus:d,onChange:function(e){return a({caption:e})},inlineToolbar:!0}))},en=[{value:"attachment",label:Object(J.__)("Attachment Page")},{value:"media",label:Object(J.__)("Media File")},{value:"none",label:Object(J.__)("None")}],tn=["image"],nn=Y.Platform.select({web:Object(J.__)("Drag images, upload new ones or select files from your library."),native:Object(J.__)("ADD MEDIA")}),rn=Y.Platform.select({web:{},native:{separatorType:"fullWidth"}}),on=function(e){function t(){var e;return Object(ke.a)(this,t),(e=Object(we.a)(this,Object(Ee.a)(t).apply(this,arguments))).onSelectImage=e.onSelectImage.bind(Object(xe.a)(e)),e.onSelectImages=e.onSelectImages.bind(Object(xe.a)(e)),e.setLinkTo=e.setLinkTo.bind(Object(xe.a)(e)),e.setColumnsNumber=e.setColumnsNumber.bind(Object(xe.a)(e)),e.toggleImageCrop=e.toggleImageCrop.bind(Object(xe.a)(e)),e.onMove=e.onMove.bind(Object(xe.a)(e)),e.onMoveForward=e.onMoveForward.bind(Object(xe.a)(e)),e.onMoveBackward=e.onMoveBackward.bind(Object(xe.a)(e)),e.onRemoveImage=e.onRemoveImage.bind(Object(xe.a)(e)),e.onUploadError=e.onUploadError.bind(Object(xe.a)(e)),e.setImageAttributes=e.setImageAttributes.bind(Object(xe.a)(e)),e.setAttributes=e.setAttributes.bind(Object(xe.a)(e)),e.onFocusGalleryCaption=e.onFocusGalleryCaption.bind(Object(xe.a)(e)),e.state={selectedImage:null,attachmentCaptions:null},e}return Object(Se.a)(t,e),Object(Ce.a)(t,[{key:"setAttributes",value:function(e){if(e.ids)throw new Error('The "ids" attribute should not be changed directly. It is managed automatically when "images" attribute changes');e.images&&(e=Object(Q.a)({},e,{ids:Object(te.map)(e.images,"id")})),this.props.setAttributes(e)}},{key:"onSelectImage",value:function(e){var t=this;return function(){t.state.selectedImage!==e&&t.setState({selectedImage:e})}}},{key:"onMove",value:function(e,t){var n=Object(W.a)(this.props.attributes.images);n.splice(t,1,this.props.attributes.images[e]),n.splice(e,1,this.props.attributes.images[t]),this.setState({selectedImage:t}),this.setAttributes({images:n})}},{key:"onMoveForward",value:function(e){var t=this;return function(){e!==t.props.attributes.images.length-1&&t.onMove(e,e+1)}}},{key:"onMoveBackward",value:function(e){var t=this;return function(){0!==e&&t.onMove(e,e-1)}}},{key:"onRemoveImage",value:function(e){var t=this;return function(){var n=Object(te.filter)(t.props.attributes.images,(function(t,n){return e!==n})),r=t.props.attributes.columns;t.setState({selectedImage:null}),t.setAttributes({images:n,columns:r?Math.min(n.length,r):r})}}},{key:"selectCaption",value:function(e,t,n){var r=Object(te.find)(t,{id:e.id}),o=r?r.caption:e.caption;if(!n)return o;var a=Object(te.find)(n,{id:e.id});return a&&a.caption!==e.caption?e.caption:o}},{key:"onSelectImages",value:function(e){var t=this,n=this.props.attributes,r=n.columns,o=n.images,a=this.state.attachmentCaptions;this.setState({attachmentCaptions:e.map((function(e){return{id:e.id,caption:e.caption}}))}),this.setAttributes({images:e.map((function(e){return Object(Q.a)({},qt(e),{caption:t.selectCaption(e,o,a)})})),columns:r?Math.min(e.length,r):r})}},{key:"onUploadError",value:function(e){var t=this.props.noticeOperations;t.removeAllNotices(),t.createErrorNotice(e)}},{key:"setLinkTo",value:function(e){this.setAttributes({linkTo:e})}},{key:"setColumnsNumber",value:function(e){this.setAttributes({columns:e})}},{key:"toggleImageCrop",value:function(){this.setAttributes({imageCrop:!this.props.attributes.imageCrop})}},{key:"getImageCropHelp",value:function(e){return e?Object(J.__)("Thumbnails are cropped to align."):Object(J.__)("Thumbnails are not cropped.")}},{key:"onFocusGalleryCaption",value:function(){this.setState({selectedImage:null})}},{key:"setImageAttributes",value:function(e,t){var n=this.props.attributes.images,r=this.setAttributes;n[e]&&r({images:[].concat(Object(W.a)(n.slice(0,e)),[Object(Q.a)({},n[e],t)],Object(W.a)(n.slice(e+1)))})}},{key:"componentDidMount",value:function(){var e=this.props,t=e.attributes,n=e.mediaUpload,r=t.images;if("web"===Y.Platform.OS&&r&&r.length>0&&Object(te.every)(r,(function(e){var t=e.url;return Object(Te.isBlobURL)(t)}))){var o=Object(te.map)(r,(function(e){var t=e.url;return Object(Te.getBlobByURL)(t)}));Object(te.forEach)(r,(function(e){var t=e.url;return Object(Te.revokeBlobURL)(t)})),n({filesList:o,onFileChange:this.onSelectImages,allowedTypes:["image"]})}}},{key:"componentDidUpdate",value:function(e){!this.props.isSelected&&e.isSelected&&this.setState({selectedImage:null,captionSelected:!1})}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.className,r=e.isSelected,o=e.noticeUI,a=t.columns,c=void 0===a?Gt(t):a,i=t.imageCrop,l=t.images,s=t.linkTo,u=!!l.length,b=u&&Object(te.some)(l,(function(e){return e.id})),m=Object(Y.createElement)(Z.MediaPlaceholder,{addToGallery:b,isAppender:u,className:n,disableMediaButtons:u&&!r,icon:!u&&Jt,labels:{title:!u&&Object(J.__)("Gallery"),instructions:!u&&nn},onSelect:this.onSelectImages,accept:"image/*",allowedTypes:tn,multiple:!0,value:b?l:void 0,onError:this.onUploadError,notices:u?void 0:o,onFocus:this.props.onFocus});return u?Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(Z.InspectorControls,null,Object(Y.createElement)(ce.PanelBody,{title:Object(J.__)("Gallery Settings")},l.length>1&&Object(Y.createElement)(ce.RangeControl,Object(je.a)({label:Object(J.__)("Columns")},rn,{value:c,onChange:this.setColumnsNumber,min:1,max:Math.min(8,l.length),required:!0})),Object(Y.createElement)(ce.ToggleControl,Object(je.a)({label:Object(J.__)("Crop Images")},rn,{checked:!!i,onChange:this.toggleImageCrop,help:this.getImageCropHelp})),Object(Y.createElement)(ce.SelectControl,Object(je.a)({label:Object(J.__)("Link To")},rn,{value:s,onChange:this.setLinkTo,options:en})))),o,Object(Y.createElement)(Xt,Object(je.a)({},this.props,{selectedImage:this.state.selectedImage,mediaPlaceholder:m,onMoveBackward:this.onMoveBackward,onMoveForward:this.onMoveForward,onRemoveImage:this.onRemoveImage,onSelectImage:this.onSelectImage,onSetImageAttributes:this.setImageAttributes,onFocusGalleryCaption:this.onFocusGalleryCaption}))):m}}]),t}(Y.Component),an=Object(ie.compose)([Object(le.withSelect)((function(e){return{mediaUpload:(0,e("core/block-editor").getSettings)().mediaUpload}})),ce.withNotices,Object(Re.withViewportMatch)({isNarrow:"< small"})])(on);var cn=function(e){return e?e.split(",").map((function(e){return parseInt(e,10)})):[]},ln={from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],transform:function(e){var t=e[0].align;t=Object(te.every)(e,["align",t])?t:void 0;var n=Object(te.filter)(e,(function(e){return e.url}));return Object($.createBlock)("core/gallery",{images:n.map((function(e){return{id:e.id,url:e.url,alt:e.alt,caption:e.caption}})),ids:n.map((function(e){return e.id})),align:t})}},{type:"shortcode",tag:"gallery",attributes:{images:{type:"array",shortcode:function(e){var t=e.named.ids;return cn(t).map((function(e){return{id:e}}))}},ids:{type:"array",shortcode:function(e){var t=e.named.ids;return cn(t)}},columns:{type:"number",shortcode:function(e){var t=e.named.columns;return parseInt(void 0===t?"3":t,10)}},linkTo:{type:"string",shortcode:function(e){var t=e.named.link,n=void 0===t?"attachment":t;return"file"===n?"media":n}}}},{type:"files",isMatch:function(e){return 1!==e.length&&Object(te.every)(e,(function(e){return 0===e.type.indexOf("image/")}))},transform:function(e){return Object($.createBlock)("core/gallery",{images:e.map((function(e){return qt({url:Object(Te.createBlobURL)(e)})}))})}}],to:[{type:"block",blocks:["core/image"],transform:function(e){var t=e.images,n=e.align;return t.length>0?t.map((function(e){var t=e.id,r=e.url,o=e.alt,a=e.caption;return Object($.createBlock)("core/image",{id:t,url:r,alt:o,caption:a,align:n})})):Object($.createBlock)("core/image",{align:n})}}]},sn={name:"core/gallery",category:"common",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"}}},un=sn.name,bn={title:Object(J.__)("Gallery"),description:Object(J.__)("Display multiple images in a rich gallery."),icon:Kt,keywords:[Object(J.__)("images"),Object(J.__)("photos")],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"}]}},supports:{align:!0},transforms:ln,edit:an,save:function(e){var t=e.attributes,n=t.images,r=t.columns,o=void 0===r?Gt(t):r,a=t.imageCrop,c=t.caption,i=t.linkTo;return Object(Y.createElement)("figure",{className:"columns-".concat(o," ").concat(a?"is-cropped":"")},Object(Y.createElement)("ul",{className:"blocks-gallery-grid"},n.map((function(e){var t;switch(i){case"media":t=e.fullUrl||e.url;break;case"attachment":t=e.link}var n=Object(Y.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-".concat(e.id):null});return Object(Y.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(Y.createElement)("figure",null,t?Object(Y.createElement)("a",{href:t},n):n,!Z.RichText.isEmpty(e.caption)&&Object(Y.createElement)(Z.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-item__caption",value:e.caption})))}))),!Z.RichText.isEmpty(c)&&Object(Y.createElement)(Z.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-caption",value:c}))},deprecated:Wt},mn=n(58),dn=n.n(mn);var hn=Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.Path,{d:"M21 6V20C21 21.1 20.1 22 19 22H5C3.89 22 3 21.1 3 20L3.01 6C3.01 4.9 3.89 4 5 4H6V2H8V4H16V2H18V4H19C20.1 4 21 4.9 21 6ZM5 8H19V6H5V8ZM19 20V10H5V20H19ZM11 12H17V14H11V12ZM17 16H11V18H17V16ZM7 12H9V14H7V12ZM9 18V16H7V18H9Z"})),pn="core/archives",gn={title:Object(J.__)("Archives"),description:Object(J.__)("Display a monthly archive of your posts."),icon:hn,category:"widgets",supports:{align:!0,html:!1},edit:function(e){var t=e.attributes,n=e.setAttributes,r=t.showPostCounts,o=t.displayAsDropdown;return Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(Z.InspectorControls,null,Object(Y.createElement)(ce.PanelBody,{title:Object(J.__)("Archives Settings")},Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Display as Dropdown"),checked:o,onChange:function(){return n({displayAsDropdown:!o})}}),Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Show Post Counts"),checked:r,onChange:function(){return n({showPostCounts:!r})}}))),Object(Y.createElement)(ce.Disabled,null,Object(Y.createElement)(dn.a,{block:"core/archives",attributes:t})))}},fn=Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(Y.createElement)(ce.Path,{d:"m12 3l0.01 10.55c-0.59-0.34-1.27-0.55-2-0.55-2.22 0-4.01 1.79-4.01 4s1.79 4 4.01 4 3.99-1.79 3.99-4v-10h4v-4h-6zm-1.99 16c-1.1 0-2-0.9-2-2s0.9-2 2-2 2 0.9 2 2-0.9 2-2 2z"})),vn=["audio"],On=function(e){function t(){var e;return Object(ke.a)(this,t),(e=Object(we.a)(this,Object(Ee.a)(t).apply(this,arguments))).state={editing:!e.props.attributes.src},e.toggleAttribute=e.toggleAttribute.bind(Object(xe.a)(e)),e.onSelectURL=e.onSelectURL.bind(Object(xe.a)(e)),e.onUploadError=e.onUploadError.bind(Object(xe.a)(e)),e}return Object(Se.a)(t,e),Object(Ce.a)(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.attributes,r=t.mediaUpload,o=t.noticeOperations,a=t.setAttributes,c=n.id,i=n.src,l=void 0===i?"":i;if(!c&&Object(Te.isBlobURL)(l)){var s=Object(Te.getBlobByURL)(l);s&&r({filesList:[s],onFileChange:function(e){var t=Object(ae.a)(e,1)[0],n=t.id,r=t.url;a({id:n,src:r})},onError:function(t){a({src:void 0,id:void 0}),e.setState({editing:!0}),o.createErrorNotice(t)},allowedTypes:vn})}}},{key:"toggleAttribute",value:function(e){var t=this;return function(n){t.props.setAttributes(Object(K.a)({},e,n))}}},{key:"onSelectURL",value:function(e){var t=this.props,n=t.attributes,r=t.setAttributes;if(e!==n.src){var o=ot({attributes:{url:e}});if(void 0!==o)return void this.props.onReplace(o);r({src:e,id:void 0})}this.setState({editing:!1})}},{key:"onUploadError",value:function(e){var t=this.props.noticeOperations;t.removeAllNotices(),t.createErrorNotice(e)}},{key:"getAutoplayHelp",value:function(e){return e?Object(J.__)("Note: Autoplaying audio may cause usability issues for some visitors."):null}},{key:"render",value:function(){var e=this,t=this.props.attributes,n=t.autoplay,r=t.caption,o=t.loop,a=t.preload,c=t.src,i=this.props,l=i.setAttributes,s=i.isSelected,u=i.className,b=i.noticeUI,m=this.state.editing,d=function(){e.setState({editing:!0})};return m?Object(Y.createElement)(Z.MediaPlaceholder,{icon:Object(Y.createElement)(Z.BlockIcon,{icon:fn}),className:u,onSelect:function(t){if(!t||!t.url)return l({src:void 0,id:void 0}),void d();l({src:t.url,id:t.id}),e.setState({src:t.url,editing:!1})},onSelectURL:this.onSelectURL,accept:"audio/*",allowedTypes:vn,value:this.props.attributes,notices:b,onError:this.onUploadError}):Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(Z.BlockControls,null,Object(Y.createElement)(ce.ToolbarGroup,null,Object(Y.createElement)(ce.IconButton,{className:"components-icon-button components-toolbar__control",label:Object(J.__)("Edit audio"),onClick:d,icon:"edit"}))),Object(Y.createElement)(Z.InspectorControls,null,Object(Y.createElement)(ce.PanelBody,{title:Object(J.__)("Audio Settings")},Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Autoplay"),onChange:this.toggleAttribute("autoplay"),checked:n,help:this.getAutoplayHelp}),Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Loop"),onChange:this.toggleAttribute("loop"),checked:o}),Object(Y.createElement)(ce.SelectControl,{label:Object(J.__)("Preload"),value:void 0!==a?a:"none",onChange:function(e){return l({preload:"none"!==e?e:void 0})},options:[{value:"auto",label:Object(J.__)("Auto")},{value:"metadata",label:Object(J.__)("Metadata")},{value:"none",label:Object(J.__)("None")}]}))),Object(Y.createElement)("figure",{className:u},Object(Y.createElement)(ce.Disabled,null,Object(Y.createElement)("audio",{controls:"controls",src:c})),(!Z.RichText.isEmpty(r)||s)&&Object(Y.createElement)(Z.RichText,{tagName:"figcaption",placeholder:Object(J.__)("Write caption…"),value:r,onChange:function(e){return l({caption:e})},inlineToolbar:!0})))}}]),t}(Y.Component),jn=Object(ie.compose)([Object(le.withSelect)((function(e){return{mediaUpload:(0,e("core/block-editor").getSettings)().mediaUpload}})),ce.withNotices])(On);var yn={from:[{type:"files",isMatch:function(e){return 1===e.length&&0===e[0].type.indexOf("audio/")},transform:function(e){var t=e[0];return Object($.createBlock)("core/audio",{src:Object(Te.createBlobURL)(t)})}},{type:"shortcode",tag:"audio",attributes:{src:{type:"string",shortcode:function(e){return e.named.src}},loop:{type:"string",shortcode:function(e){return e.named.loop}},autoplay:{type:"string",shortcode:function(e){return e.named.autoplay}},preload:{type:"string",shortcode:function(e){return e.named.preload}}}}]},_n={name:"core/audio",category:"common",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"}}},kn=_n.name,Cn={title:Object(J.__)("Audio"),description:Object(J.__)("Embed a simple audio player."),keywords:[Object(J.__)("music"),Object(J.__)("sound"),Object(J.__)("podcast"),Object(J.__)("recording")],icon:fn,transforms:yn,supports:{align:!0},edit:jn,save:function(e){var t=e.attributes,n=t.autoplay,r=t.caption,o=t.loop,a=t.preload,c=t.src;return Object(Y.createElement)("figure",null,Object(Y.createElement)("audio",{controls:"controls",src:c,autoPlay:n,loop:o,preload:a}),!Z.RichText.isEmpty(r)&&Object(Y.createElement)(Z.RichText.Content,{tagName:"figcaption",value:r}))}},wn=function(e){return Object(te.omit)(Object(Q.a)({},e,{customTextColor:e.textColor&&"#"===e.textColor[0]?e.textColor:void 0,customBackgroundColor:e.color&&"#"===e.color[0]?e.color:void 0}),["color","textColor"])},En={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"}},xn=[{attributes:Object(Q.a)({},En,{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:function(e){return e.className&&e.className.includes("is-style-squared")},migrate:function(e){var t=e.className;return t&&(t=t.replace(/is-style-squared[\s]?/,"").trim()),Object(Q.a)({},e,{className:t||void 0,borderRadius:0})},save:function(e){var t,n=e.attributes,r=n.backgroundColor,o=n.customBackgroundColor,a=n.customTextColor,c=n.linkTarget,i=n.rel,l=n.text,s=n.textColor,u=n.title,b=n.url,m=Object(Z.getColorClassName)("color",s),d=Object(Z.getColorClassName)("background-color",r),h=ee()("wp-block-button__link",(t={"has-text-color":s||a},Object(K.a)(t,m,m),Object(K.a)(t,"has-background",r||o),Object(K.a)(t,d,d),t)),p={backgroundColor:d?void 0:o,color:m?void 0:a};return Object(Y.createElement)("div",null,Object(Y.createElement)(Z.RichText.Content,{tagName:"a",className:h,href:b,title:u,style:p,value:l,target:c,rel:i}))}},{attributes:Object(Q.a)({},En,{align:{type:"string",default:"none"},backgroundColor:{type:"string"},textColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"}}),save:function(e){var t,n=e.attributes,r=n.url,o=n.text,a=n.title,c=n.backgroundColor,i=n.textColor,l=n.customBackgroundColor,s=n.customTextColor,u=Object(Z.getColorClassName)("color",i),b=Object(Z.getColorClassName)("background-color",c),m=ee()("wp-block-button__link",(t={"has-text-color":i||s},Object(K.a)(t,u,u),Object(K.a)(t,"has-background",c||l),Object(K.a)(t,b,b),t)),d={backgroundColor:b?void 0:l,color:u?void 0:s};return Object(Y.createElement)("div",null,Object(Y.createElement)(Z.RichText.Content,{tagName:"a",className:m,href:r,title:a,style:d,value:o}))},migrate:wn},{attributes:Object(Q.a)({},En,{color:{type:"string"},textColor:{type:"string"},align:{type:"string",default:"none"}}),save:function(e){var t=e.attributes,n=t.url,r=t.text,o=t.title,a=t.align,c={backgroundColor:t.color,color:t.textColor};return Object(Y.createElement)("div",{className:"align".concat(a)},Object(Y.createElement)(Z.RichText.Content,{tagName:"a",className:"wp-block-button__link",href:n,title:o,style:c,value:r}))},migrate:wn},{attributes:Object(Q.a)({},En,{color:{type:"string"},textColor:{type:"string"},align:{type:"string",default:"none"}}),save:function(e){var t=e.attributes,n=t.url,r=t.text,o=t.title,a=t.align,c=t.color,i=t.textColor;return Object(Y.createElement)("div",{className:"align".concat(a),style:{backgroundColor:c}},Object(Y.createElement)(Z.RichText.Content,{tagName:"a",href:n,title:o,style:{color:i},value:r}))},migrate:wn}],Sn=window.getComputedStyle,Tn=Object(ce.withFallbackStyles)((function(e,t){var n=t.textColor,r=t.backgroundColor,o=r&&r.color,a=n&&n.color,c=!a&&e?e.querySelector('[contenteditable="true"]'):null;return{fallbackBackgroundColor:o||!e?void 0:Sn(e).backgroundColor,fallbackTextColor:a||!c?void 0:Sn(c).color}})),Nn="noreferrer noopener",Bn=0,Rn=50,An=5;function In(e){var t=e.borderRadius,n=void 0===t?"":t,r=e.setAttributes,o=Object(Y.useCallback)((function(e){r({borderRadius:e})}),[r]);return Object(Y.createElement)(ce.PanelBody,{title:Object(J.__)("Border Settings")},Object(Y.createElement)(ce.RangeControl,{value:n,label:Object(J.__)("Border Radius"),min:Bn,max:Rn,initialPosition:An,allowReset:!0,onChange:o}))}var Pn=Object(ie.compose)([ie.withInstanceId,Object(Z.withColors)("backgroundColor",{textColor:"color"}),Tn])((function(e){var t,n=e.attributes,r=e.backgroundColor,o=e.textColor,a=e.setBackgroundColor,c=e.setTextColor,i=e.fallbackBackgroundColor,l=e.fallbackTextColor,s=e.setAttributes,u=e.className,b=e.isSelected,m=n.borderRadius,d=n.linkTarget,h=n.placeholder,p=n.rel,g=n.text,f=n.title,v=n.url,O=Object(Y.useCallback)((function(e){s({rel:e})}),[s]),j=Object(Y.useCallback)((function(e){var t=e?"_blank":void 0,n=p;t&&!p?n=Nn:t||p!==Nn||(n=void 0),s({linkTarget:t,rel:n})}),[p,s]),y=Object(Z.__experimentalUseGradient)(),_=y.gradientClass,k=y.gradientValue,C=y.setGradient;return Object(Y.createElement)("div",{className:u,title:f},Object(Y.createElement)(Z.RichText,{placeholder:h||Object(J.__)("Add text…"),value:g,onChange:function(e){return s({text:e})},withoutInteractiveFormatting:!0,className:ee()("wp-block-button__link",(t={"has-background":r.color||k},Object(K.a)(t,r.class,!k&&r.class),Object(K.a)(t,"has-text-color",o.color),Object(K.a)(t,o.class,o.class),Object(K.a)(t,_,_),Object(K.a)(t,"no-border-radius",0===m),t)),style:Object(Q.a)({},!r.color&&k?{background:k}:{backgroundColor:r.color},{color:o.color,borderRadius:m?m+"px":void 0})}),Object(Y.createElement)(Z.URLInput,{label:Object(J.__)("Link"),className:"wp-block-button__inline-link",value:v,autoFocus:!1,onChange:function(e){return s({url:e})},disableSuggestions:!b,isFullWidth:!0,hasBorder:!0}),Object(Y.createElement)(Z.InspectorControls,null,Object(Y.createElement)(Z.PanelColorSettings,{title:Object(J.__)("Color Settings"),colorSettings:[{value:r.color,onChange:function(e){s({customGradient:void 0}),a(e)},label:Object(J.__)("Background Color")},{value:o.color,onChange:c,label:Object(J.__)("Text Color")}]},Object(Y.createElement)(Z.ContrastChecker,{isLargeText:!1,textColor:o.color,backgroundColor:r.color,fallbackBackgroundColor:i,fallbackTextColor:l})),Object(Y.createElement)(Z.__experimentalGradientPickerPanel,{onChange:function(e){C(e),a()},value:k}),Object(Y.createElement)(In,{borderRadius:m,setAttributes:s}),Object(Y.createElement)(ce.PanelBody,{title:Object(J.__)("Link settings")},Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Open in new tab"),onChange:j,checked:"_blank"===d}),Object(Y.createElement)(ce.TextControl,{label:Object(J.__)("Link rel"),value:p||"",onChange:O}))))})),Mn=Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(Y.createElement)(ce.G,null,Object(Y.createElement)(ce.Path,{d:"M19 6H5c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm0 10H5V8h14v8z"})));var Ln={name:"core/button",category:"layout",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"},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"},borderRadius:{type:"number"},gradient:{type:"string"},customGradient:{type:"string"}}},Hn=Ln.name,zn={title:Object(J.__)("Button"),description:Object(J.__)("Prompt visitors to take action with a button-style link."),icon:Mn,keywords:[Object(J.__)("link")],example:{attributes:{className:"is-style-fill",backgroundColor:"vivid-green-cyan",text:Object(J.__)("Call to Action")}},supports:{align:!0,alignWide:!1},styles:[{name:"fill",label:Object(J.__)("Fill"),isDefault:!0},{name:"outline",label:Object(J.__)("Outline")}],edit:Pn,save:function(e){var t,n=e.attributes,r=n.backgroundColor,o=n.borderRadius,a=n.customBackgroundColor,c=n.customTextColor,i=n.customGradient,l=n.linkTarget,s=n.gradient,u=n.rel,b=n.text,m=n.textColor,d=n.title,h=n.url,p=Object(Z.getColorClassName)("color",m),g=!i&&Object(Z.getColorClassName)("background-color",r),f=Object(Z.__experimentalGetGradientClass)(s),v=ee()("wp-block-button__link",(t={"has-text-color":m||c},Object(K.a)(t,p,p),Object(K.a)(t,"has-background",r||a||i||s),Object(K.a)(t,g,g),Object(K.a)(t,"no-border-radius",0===o),Object(K.a)(t,f,f),t)),O={background:i||void 0,backgroundColor:g||i||s?void 0:a,color:p?void 0:c,borderRadius:o?o+"px":void 0};return Object(Y.createElement)("div",null,Object(Y.createElement)(Z.RichText.Content,{tagName:"a",className:v,href:h,title:d,style:O,value:b,target:l,rel:u}))},deprecated:xn},Vn=n(30),Dn=n.n(Vn),Fn=function(e){function t(){var e;return Object(ke.a)(this,t),(e=Object(we.a)(this,Object(Ee.a)(t).apply(this,arguments))).getYearMonth=tt()(e.getYearMonth.bind(Object(xe.a)(e)),{maxSize:1}),e.getServerSideAttributes=tt()(e.getServerSideAttributes.bind(Object(xe.a)(e)),{maxSize:1}),e}return Object(Se.a)(t,e),Object(Ce.a)(t,[{key:"getYearMonth",value:function(e){if(!e)return{};var t=Dn()(e);return{year:t.year(),month:t.month()+1}}},{key:"getServerSideAttributes",value:function(e,t){return Object(Q.a)({},e,this.getYearMonth(t))}},{key:"render",value:function(){return Object(Y.createElement)(ce.Disabled,null,Object(Y.createElement)(dn.a,{block:"core/calendar",attributes:this.getServerSideAttributes(this.props.attributes,this.props.date)}))}}]),t}(Y.Component),Un=Object(le.withSelect)((function(e){var t=e("core/editor");if(t){var n=t.getEditedPostAttribute;return{date:"post"===n("type")?n("date"):void 0}}}))(Fn),Gn=Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(Y.createElement)(ce.G,null,Object(Y.createElement)(ce.Path,{d:"M7 11h2v2H7v-2zm14-5v14c0 1.1-.9 2-2 2H5c-1.11 0-2-.9-2-2l.01-14c0-1.1.88-2 1.99-2h1V2h2v2h8V2h2v2h1c1.1 0 2 .9 2 2zM5 8h14V6H5v2zm14 12V10H5v10h14zm-4-7h2v-2h-2v2zm-4 0h2v-2h-2v2z"}))),qn="core/calendar",Wn={title:Object(J.__)("Calendar"),description:Object(J.__)("A calendar of your site’s posts."),icon:Gn,category:"widgets",keywords:[Object(J.__)("posts"),Object(J.__)("archive")],supports:{align:!0},example:{},edit:Un},Kn=function(e){function t(){var e;return Object(ke.a)(this,t),(e=Object(we.a)(this,Object(Ee.a)(t).apply(this,arguments))).toggleDisplayAsDropdown=e.toggleDisplayAsDropdown.bind(Object(xe.a)(e)),e.toggleShowPostCounts=e.toggleShowPostCounts.bind(Object(xe.a)(e)),e.toggleShowHierarchy=e.toggleShowHierarchy.bind(Object(xe.a)(e)),e}return Object(Se.a)(t,e),Object(Ce.a)(t,[{key:"toggleDisplayAsDropdown",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({displayAsDropdown:!t.displayAsDropdown})}},{key:"toggleShowPostCounts",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({showPostCounts:!t.showPostCounts})}},{key:"toggleShowHierarchy",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({showHierarchy:!t.showHierarchy})}},{key:"getCategories",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.props.categories;return t&&t.length?null===e?t:t.filter((function(t){return t.parent===e})):[]}},{key:"getCategoryListClassName",value:function(e){return"wp-block-categories__list wp-block-categories__list-level-".concat(e)}},{key:"renderCategoryName",value:function(e){return e.name?Object(te.unescape)(e.name).trim():Object(J.__)("(Untitled)")}},{key:"renderCategoryList",value:function(){var e=this,t=this.props.attributes.showHierarchy?0:null,n=this.getCategories(t);return Object(Y.createElement)("ul",{className:this.getCategoryListClassName(0)},n.map((function(t){return e.renderCategoryListItem(t,0)})))}},{key:"renderCategoryListItem",value:function(e,t){var n=this,r=this.props.attributes,o=r.showHierarchy,a=r.showPostCounts,c=this.getCategories(e.id);return Object(Y.createElement)("li",{key:e.id},Object(Y.createElement)("a",{href:e.link,target:"_blank",rel:"noreferrer noopener"},this.renderCategoryName(e)),a&&Object(Y.createElement)("span",{className:"wp-block-categories__post-count"}," ","(",e.count,")"),o&&!!c.length&&Object(Y.createElement)("ul",{className:this.getCategoryListClassName(t+1)},c.map((function(e){return n.renderCategoryListItem(e,t+1)}))))}},{key:"renderCategoryDropdown",value:function(){var e=this,t=this.props.instanceId,n=this.props.attributes.showHierarchy?0:null,r=this.getCategories(n),o="blocks-category-select-".concat(t);return Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)("label",{htmlFor:o,className:"screen-reader-text"},Object(J.__)("Categories")),Object(Y.createElement)("select",{id:o,className:"wp-block-categories__dropdown"},r.map((function(t){return e.renderCategoryDropdownItem(t,0)}))))}},{key:"renderCategoryDropdownItem",value:function(e,t){var n=this,r=this.props.attributes,o=r.showHierarchy,a=r.showPostCounts,c=this.getCategories(e.id);return[Object(Y.createElement)("option",{key:e.id},Object(te.times)(3*t,(function(){return" "})),this.renderCategoryName(e),a?" (".concat(e.count,")"):""),o&&!!c.length&&c.map((function(e){return n.renderCategoryDropdownItem(e,t+1)}))]}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.isRequesting,r=t.displayAsDropdown,o=t.showHierarchy,a=t.showPostCounts,c=Object(Y.createElement)(Z.InspectorControls,null,Object(Y.createElement)(ce.PanelBody,{title:Object(J.__)("Categories Settings")},Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Display as Dropdown"),checked:r,onChange:this.toggleDisplayAsDropdown}),Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Show Hierarchy"),checked:o,onChange:this.toggleShowHierarchy}),Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Show Post Counts"),checked:a,onChange:this.toggleShowPostCounts})));return n?Object(Y.createElement)(Y.Fragment,null,c,Object(Y.createElement)(ce.Placeholder,{icon:"admin-post",label:Object(J.__)("Categories")},Object(Y.createElement)(ce.Spinner,null))):Object(Y.createElement)(Y.Fragment,null,c,Object(Y.createElement)("div",{className:this.props.className},r?this.renderCategoryDropdown():this.renderCategoryList()))}}]),t}(Y.Component),Zn=Object(ie.compose)(Object(le.withSelect)((function(e){var t=e("core").getEntityRecords,n=e("core/data").isResolving,r={per_page:-1,hide_empty:!0};return{categories:t("taxonomy","category",r),isRequesting:n("core","getEntityRecords",["taxonomy","category",r])}})),ie.withInstanceId)(Kn),$n=Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(Y.createElement)(ce.Path,{d:"M12,2l-5.5,9h11L12,2z M12,5.84L13.93,9h-3.87L12,5.84z"}),Object(Y.createElement)(ce.Path,{d:"m17.5 13c-2.49 0-4.5 2.01-4.5 4.5s2.01 4.5 4.5 4.5 4.5-2.01 4.5-4.5-2.01-4.5-4.5-4.5zm0 7c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"}),Object(Y.createElement)(ce.Path,{d:"m3 21.5h8v-8h-8v8zm2-6h4v4h-4v-4z"})),Jn="core/categories",Qn={title:Object(J.__)("Categories"),description:Object(J.__)("Display a list of all categories."),icon:$n,category:"widgets",supports:{align:!0,html:!1},edit:Zn};var Yn=Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(Y.createElement)(ce.Path,{d:"M9.4,16.6L4.8,12l4.6-4.6L8,6l-6,6l6,6L9.4,16.6z M14.6,16.6l4.6-4.6l-4.6-4.6L16,6l6,6l-6,6L14.6,16.6z"})),Xn=n(59);function er(e){return e.replace(/\[/g,"[")}function tr(e){return e.replace(/^(\s*https?:)\/\/([^\s<>"]+\s*)$/m,"$1//$2")}var nr={from:[{type:"enter",regExp:/^```$/,transform:function(){return Object($.createBlock)("core/code")}},{type:"raw",isMatch:function(e){return"PRE"===e.nodeName&&1===e.children.length&&"CODE"===e.firstChild.nodeName},schema:{pre:{children:{code:{children:{"#text":{}}}}}}}]},rr={name:"core/code",category:"formatting",attributes:{content:{type:"string",source:"text",selector:"code"}}},or=rr.name,ar={title:Object(J.__)("Code"),description:Object(J.__)("Display code snippets that respect your spacing and tabs."),icon:Yn,example:{attributes:{content:Object(J.__)('// 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 );')}},supports:{html:!1},transforms:nr,edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.className;return Object(Y.createElement)("div",{className:r},Object(Y.createElement)(Z.PlainText,{value:t.content,onChange:function(e){return n({content:e})},placeholder:Object(J.__)("Write code…"),"aria-label":Object(J.__)("Code")}))},save:function(e){var t,n=e.attributes;return Object(Y.createElement)("pre",null,Object(Y.createElement)("code",null,(t=n.content,Object(te.flow)(Xn.escapeEditableHTML,er,tr)(t||""))))}};function cr(e){var t,n=cr.doc;n||(n=document.implementation.createHTMLDocument(""),cr.doc=n),n.body.innerHTML=e;var r=!0,o=!1,a=void 0;try{for(var c,i=n.body.firstChild.classList[Symbol.iterator]();!(r=(c=i.next()).done);r=!0){if(t=c.value.match(/^layout-column-(\d+)$/))return Number(t[1])-1}}catch(e){o=!0,a=e}finally{try{r||null==i.return||i.return()}finally{if(o)throw a}}}var ir=[{attributes:{columns:{type:"number",default:2}},isEligible:function(e,t){return!!t.some((function(e){return/layout-column-\d+/.test(e.originalContent)}))&&t.some((function(e){return void 0!==cr(e.originalContent)}))},migrate:function(e,t){var n=t.reduce((function(e,t){var n=cr(t.originalContent);return void 0===n&&(n=0),e[n]||(e[n]=[]),e[n].push(t),e}),[]).map((function(e){return Object($.createBlock)("core/column",{},e)}));return[Object(te.omit)(e,["columns"]),n]},save:function(e){var t=e.attributes.columns;return Object(Y.createElement)("div",{className:"has-".concat(t,"-columns")},Object(Y.createElement)(Z.InnerBlocks.Content,null))}},{attributes:{columns:{type:"number",default:2}},migrate:function(e,t){return[e=Object(te.omit)(e,["columns"]),t]},save:function(e){var t=e.attributes,n=t.verticalAlignment,r=t.columns,o=ee()("has-".concat(r,"-columns"),Object(K.a)({},"are-vertically-aligned-".concat(n),n));return Object(Y.createElement)("div",{className:o},Object(Y.createElement)(Z.InnerBlocks.Content,null))}}],lr=function(e){return Number.isFinite(e)?parseFloat(e.toFixed(2)):void 0};function sr(e,t){var n=e.attributes.width;return lr(void 0===n?100/t:n)}function ur(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.length;return Object(te.sumBy)(e,(function(e){return sr(e,t)}))}function br(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.length;return e.reduce((function(e,n){var r=sr(n,t);return Object.assign(e,Object(K.a)({},n.clientId,r))}),{})}function mr(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,r=(t-ur(e,n))/e.length;return Object(te.mapValues)(br(e,n),(function(e){return lr(e+r)}))}function dr(e,t){return e.map((function(e){return Object(te.merge)({},e,{attributes:{width:t[e.clientId]}})}))}var hr=["core/column"];var pr=Object(le.withDispatch)((function(e,t,n){return{updateAlignment:function(r){var o=t.clientId,a=t.setAttributes,c=e("core/block-editor").updateBlockAttributes,i=n.select("core/block-editor").getBlockOrder;a({verticalAlignment:r}),i(o).forEach((function(e){c(e,{verticalAlignment:r})}))},updateColumns:function(r,o){var a=t.clientId,c=e("core/block-editor").replaceInnerBlocks,i=(0,n.select("core/block-editor").getBlocks)(a),l=i.some((function(e){return Number.isFinite(e.attributes.width)})),s=o>r;if(s&&l){var u=lr(100/o),b=mr(i,100-u);i=[].concat(Object(W.a)(dr(i,b)),Object(W.a)(Object(te.times)(o-r,(function(){return Object($.createBlock)("core/column",{width:u})}))))}else if(s)i=[].concat(Object(W.a)(i),Object(W.a)(Object(te.times)(o-r,(function(){return Object($.createBlock)("core/column")}))));else{if(i=Object(te.dropRight)(i,r-o),l)i=dr(i,mr(i,100))}c(a,i,!1)}}}))((function(e){var t=e.attributes,n=e.className,r=e.updateAlignment,o=e.updateColumns,a=e.clientId,c=t.verticalAlignment,i=Object(le.useSelect)((function(e){return{count:e("core/block-editor").getBlockCount(a)}})).count,l=ee()(n,Object(K.a)({},"are-vertically-aligned-".concat(c),c));return Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(Z.InspectorControls,null,Object(Y.createElement)(ce.PanelBody,null,Object(Y.createElement)(ce.RangeControl,{label:Object(J.__)("Columns"),value:i,onChange:function(e){return o(i,e)},min:2,max:6}))),Object(Y.createElement)(Z.BlockControls,null,Object(Y.createElement)(Z.BlockVerticalAlignmentToolbar,{onChange:r,value:c})),Object(Y.createElement)("div",{className:l},Object(Y.createElement)(Z.InnerBlocks,{templateLock:"all",allowedBlocks:hr})))})),gr=function e(t){return Object(te.map)(t,(function(t){var n=Object(ae.a)(t,3),r=n[0],o=n[1],a=n[2],c=void 0===a?[]:a;return Object($.createBlock)(r,o,e(c))}))},fr=function(e){var t=e.clientId,n=e.name,r=Object(le.useSelect)((function(e){var r=e("core/blocks"),o=r.__experimentalGetBlockPatterns,a=r.getBlockType,c=r.__experimentalGetDefaultBlockPattern;return{blockType:a(n),defaultPattern:c(n),hasInnerBlocks:e("core/block-editor").getBlocks(t).length>0,patterns:o(n)}}),[t,n]),o=r.blockType,a=r.defaultPattern,c=r.hasInnerBlocks,i=r.patterns,l=Object(le.useDispatch)("core/block-editor").replaceInnerBlocks;return c?Object(Y.createElement)(pr,e):Object(Y.createElement)(Z.__experimentalBlockPatternPicker,{icon:Object(te.get)(o,["icon","src"]),label:Object(te.get)(o,["title"]),patterns:i,onSelect:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a;t.attributes&&e.setAttributes(t.attributes),t.innerBlocks&&l(e.clientId,gr(t.innerBlocks))},allowSkip:!0})},vr=Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(Y.createElement)(ce.G,null,Object(Y.createElement)(ce.Path,{d:"M4,4H20a2,2,0,0,1,2,2V18a2,2,0,0,1-2,2H4a2,2,0,0,1-2-2V6A2,2,0,0,1,4,4ZM4 6V18H8V6Zm6 0V18h4V6Zm6 0V18h4V6Z"}))),Or=[{name:"two-columns-equal",label:Object(J.__)("Two columns; equal split"),icon:Object(Y.createElement)(ce.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.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"]]},{name:"two-columns-one-third-two-thirds",label:Object(J.__)("Two columns; one-third, two-thirds split"),icon:Object(Y.createElement)(ce.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.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}]]},{name:"two-columns-two-thirds-one-third",label:Object(J.__)("Two columns; two-thirds, one-third split"),icon:Object(Y.createElement)(ce.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.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}]]},{name:"three-columns-equal",label:Object(J.__)("Three columns; equal split"),icon:Object(Y.createElement)(ce.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.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"]]},{name:"three-columns-wider-center",label:Object(J.__)("Three columns; wide center column"),icon:Object(Y.createElement)(ce.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.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}]]}];var jr={name:"core/columns",category:"layout",attributes:{verticalAlignment:{type:"string"}}},yr=jr.name,_r={title:Object(J.__)("Columns"),icon:vr,description:Object(J.__)("Add a block that displays content in multiple columns, then add whatever content blocks you’d like."),supports:{align:["wide","full"],html:!1},patterns:Or,example:{innerBlocks:[{name:"core/column",innerBlocks:[{name:"core/paragraph",attributes:{content:"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:"Suspendisse commodo neque lacus, a dictum orci interdum et."}}]},{name:"core/column",innerBlocks:[{name:"core/paragraph",attributes:{content:Object(J.__)("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(J.__)("Nam risus massa, ullamcorper consectetur eros fermentum, porta aliquet ligula. Sed vel mauris nec enim.")}}]}]},deprecated:ir,edit:fr,save:function(e){var t=e.attributes.verticalAlignment,n=ee()(Object(K.a)({},"are-vertically-aligned-".concat(t),t));return Object(Y.createElement)("div",{className:n},Object(Y.createElement)(Z.InnerBlocks.Content,null))}};var kr=Object(ie.compose)(Object(le.withSelect)((function(e,t){var n=t.clientId;return{hasChildBlocks:(0,e("core/block-editor").getBlockOrder)(n).length>0}})),Object(le.withDispatch)((function(e,t,n){return{updateAlignment:function(r){var o=t.clientId,a=t.setAttributes,c=e("core/block-editor").updateBlockAttributes,i=n.select("core/block-editor").getBlockRootClientId;a({verticalAlignment:r}),c(i(o),{verticalAlignment:null})},updateWidth:function(r){var o=t.clientId,a=e("core/block-editor").updateBlockAttributes,c=n.select("core/block-editor"),i=c.getBlockRootClientId,l=(0,c.getBlocks)(i(o)),s=function(e,t){var n=Object(te.findIndex)(e,{clientId:t});return n===e.length-1?e.slice(0,n):e.slice(n+1)}(l,o),u=r+ur(Object(te.difference)(l,[Object(te.find)(l,{clientId:o})].concat(Object(W.a)(s)))),b=Object(Q.a)({},br(l,l.length),Object(K.a)({},o,lr(r)),mr(s,100-u,l.length));Object(te.forEach)(b,(function(e,t){a(t,{width:e})}))}}})))((function(e){var t=e.attributes,n=e.className,r=e.updateAlignment,o=e.updateWidth,a=e.hasChildBlocks,c=t.verticalAlignment,i=t.width,l=ee()(n,"block-core-columns",Object(K.a)({},"is-vertically-aligned-".concat(c),c));return Object(Y.createElement)("div",{className:l},Object(Y.createElement)(Z.BlockControls,null,Object(Y.createElement)(Z.BlockVerticalAlignmentToolbar,{onChange:r,value:c})),Object(Y.createElement)(Z.InspectorControls,null,Object(Y.createElement)(ce.PanelBody,{title:Object(J.__)("Column Settings")},Object(Y.createElement)(ce.RangeControl,{label:Object(J.__)("Percentage width"),value:i||"",onChange:o,min:0,max:100,required:!0,allowReset:!0}))),Object(Y.createElement)(Z.InnerBlocks,{templateLock:!1,renderAppender:a?void 0:function(){return Object(Y.createElement)(Z.InnerBlocks.ButtonBlockAppender,null)}}))})),Cr=Object(Y.createElement)(ce.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Y.createElement)(ce.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(Y.createElement)(ce.Path,{d:"M11.99 18.54l-7.37-5.73L3 14.07l9 7 9-7-1.63-1.27zM12 16l7.36-5.73L21 9l-9-7-9 7 1.63 1.27L12 16zm0-11.47L17.74 9 12 13.47 6.26 9 12 4.53z"}));var wr={name:"core/column",category:"common",attributes:{verticalAlignment:{type:"string"},width:{type:"number",min:0,max:100}}},Er=wr.name,xr={title:Object(J.__)("Column"),parent:["core/columns"],icon:Cr,description:Object(J.__)("A single column within a columns block."),supports:{inserter:!1,reusable:!1,html:!1},getEditWrapperProps:function(e){var t=e.width;if(Number.isFinite(t))return{style:{flexBasis:t+"%"}}},edit:kr,save:function(e){var t,n=e.attributes,r=n.verticalAlignment,o=n.width,a=ee()(Object(K.a)({},"is-vertically-aligned-".concat(r),r));return Number.isFinite(o)&&(t={flexBasis:o+"%"}),Object(Y.createElement)("div",{className:a,style:t},Object(Y.createElement)(Z.InnerBlocks.Content,null))}},Sr="image",Tr="video",Nr=50;function Br(e){return e?{backgroundImage:"url(".concat(e,")")}:{}}function Rr(e){return 0!==e&&50!==e&&e?"has-background-dim-"+10*Math.round(e/10):null}var Ar={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"}},Ir=[{attributes:Object(Q.a)({},Ar,{title:{type:"string",source:"html",selector:"p"},contentAlign:{type:"string",default:"center"}}),supports:{align:!0},save:function(e){var t=e.attributes,n=t.backgroundType,r=t.contentAlign,o=t.customOverlayColor,a=t.dimRatio,c=t.focalPoint,i=t.hasParallax,l=t.overlayColor,s=t.title,u=t.url,b=Object(Z.getColorClassName)("background-color",l),m=n===Sr?Br(u):{};b||(m.backgroundColor=o),c&&!i&&(m.backgroundPosition="".concat(100*c.x,"% ").concat(100*c.y,"%"));var d=ee()(Rr(a),b,Object(K.a)({"has-background-dim":0!==a,"has-parallax":i},"has-".concat(r,"-content"),"center"!==r));return Object(Y.createElement)("div",{className:d,style:m},Tr===n&&u&&Object(Y.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:u}),!Z.RichText.isEmpty(s)&&Object(Y.createElement)(Z.RichText.Content,{tagName:"p",className:"wp-block-cover-text",value:s}))},migrate:function(e){return[Object(te.omit)(e,["title","contentAlign"]),[Object($.createBlock)("core/paragraph",{content:e.title,align:e.contentAlign,fontSize:"large",placeholder:Object(J.__)("Write title…")})]]}},{attributes:Object(Q.a)({},Ar,{title:{type:"string",source:"html",selector:"p"},contentAlign:{type:"string",default:"center"},align:{type:"string"}}),supports:{className:!1},save:function(e){var t=e.attributes,n=t.url,r=t.title,o=t.hasParallax,a=t.dimRatio,c=t.align,i=t.contentAlign,l=t.overlayColor,s=t.customOverlayColor,u=Object(Z.getColorClassName)("background-color",l),b=Br(n);u||(b.backgroundColor=s);var m=ee()("wp-block-cover-image",Rr(a),u,Object(K.a)({"has-background-dim":0!==a,"has-parallax":o},"has-".concat(i,"-content"),"center"!==i),c?"align".concat(c):null);return Object(Y.createElement)("div",{className:m,style:b},!Z.RichText.isEmpty(r)&&Object(Y.createElement)(Z.RichText.Content,{tagName:"p",className:"wp-block-cover-image-text",value:r}))},migrate:function(e){return[Object(te.omit)(e,["title","contentAlign","align"]),[Object($.createBlock)("core/paragraph",{content:e.title,align:e.contentAlign,fontSize:"large",placeholder:Object(J.__)("Write title…")})]]}},{attributes:Object(Q.a)({},Ar,{title:{type:"string",source:"html",selector:"h2"},align:{type:"string"},contentAlign:{type:"string",default:"center"}}),supports:{className:!1},save:function(e){var t=e.attributes,n=t.url,r=t.title,o=t.hasParallax,a=t.dimRatio,c=t.align,i=Br(n),l=ee()("wp-block-cover-image",Rr(a),{"has-background-dim":0!==a,"has-parallax":o},c?"align".concat(c):null);return Object(Y.createElement)("section",{className:l,style:i},Object(Y.createElement)(Z.RichText.Content,{tagName:"h2",value:r}))},migrate:function(e){return[Object(te.omit)(e,["title","contentAlign","align"]),[Object($.createBlock)("core/paragraph",{content:e.title,align:e.contentAlign,fontSize:"large",placeholder:Object(J.__)("Write title…")})]]}}],Pr=n(219),Mr=n.n(Pr),Lr=n(48),Hr=n.n(Lr),zr=Object(Y.createElement)(ce.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Y.createElement)(ce.Path,{d:"M4 4h7V2H4c-1.1 0-2 .9-2 2v7h2V4zm6 9l-4 5h12l-3-4-2.03 2.71L10 13zm7-4.5c0-.83-.67-1.5-1.5-1.5S14 7.67 14 8.5s.67 1.5 1.5 1.5S17 9.33 17 8.5zM20 2h-7v2h7v7h2V4c0-1.1-.9-2-2-2zm0 18h-7v2h7c1.1 0 2-.9 2-2v-7h-2v7zM4 13H2v7c0 1.1.9 2 2 2h7v-2H4v-7z"}),Object(Y.createElement)(ce.Path,{d:"M0 0h24v24H0z",fill:"none"})),Vr=["image","video"],Dr=[["core/paragraph",{align:"center",fontSize:"large",placeholder:Object(J.__)("Write title…")}]];function Fr(){return Fr.fastAverageColor||(Fr.fastAverageColor=new Mr.a),Fr.fastAverageColor}var Ur=Object(ie.withInstanceId)((function(e){var t=e.value,n=void 0===t?"":t,r=e.instanceId,o=e.onChange,a=Object(Y.useState)(null),c=Object(ae.a)(a,2),i=c[0],l=c[1],s="block-cover-height-input-".concat(r);return Object(Y.createElement)(ce.BaseControl,{label:Object(J.__)("Minimum height in pixels"),id:s},Object(Y.createElement)("input",{type:"number",id:s,onChange:function(e){var t=""!==e.target.value?parseInt(e.target.value,10):void 0;(isNaN(t)||t1&&void 0!==arguments[1]?arguments[1]:50,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,o=Object(Y.useState)(!1),a=Object(ae.a)(o,2),c=a[0],i=a[1];return Object(Y.useEffect)((function(){e&&t<=50&&r.current&&Fr().getColorAsync(r.current,(function(e){i(e.isDark)}))}),[e,e&&t<=50&&r.current,i]),Object(Y.useEffect)((function(){if(t>50||!e){if(!n)return void i(!0);i(Hr()(n).isDark())}}),[n,t>50||!e,i]),Object(Y.useEffect)((function(){e||n||i(!1)}),[!e&&!n,i]),c}(f,m,i.color,k),w=Object(Y.useState)(null),E=Object(ae.a)(w,2),x=E[0],S=E[1],T=u.removeAllNotices,N=u.createErrorNotice,B=Object(Q.a)({},b===Sr?Br(f):{},{backgroundColor:i.color,minHeight:x||g});j&&!f&&(B.background=j),d&&(B.backgroundPosition="".concat(100*d.x,"% ").concat(100*d.y,"%"));var R=!!(f||i.color||j),A=Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(Z.BlockControls,null,R&&Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(Z.MediaUploadCheck,null,Object(Y.createElement)(ce.ToolbarGroup,null,Object(Y.createElement)(Z.MediaUpload,{onSelect:_,allowedTypes:Vr,value:p,render:function(e){var t=e.open;return Object(Y.createElement)(ce.IconButton,{className:"components-toolbar__control",label:Object(J.__)("Edit media"),icon:"edit",onClick:t})}}))))),Object(Y.createElement)(Z.InspectorControls,null,!!f&&Object(Y.createElement)(ce.PanelBody,{title:Object(J.__)("Media Settings")},Sr===b&&Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Fixed Background"),checked:h,onChange:function(){r(Object(Q.a)({hasParallax:!h},h?{}:{focalPoint:void 0}))}}),Sr===b&&!h&&Object(Y.createElement)(ce.FocalPointPicker,{label:Object(J.__)("Focal Point Picker"),url:f,value:d,onChange:function(e){return r({focalPoint:e})}}),Tr===b&&Object(Y.createElement)("video",{autoPlay:!0,muted:!0,loop:!0,src:f}),Object(Y.createElement)(ce.PanelRow,null,Object(Y.createElement)(ce.Button,{isDefault:!0,isSmall:!0,className:"block-library-cover__reset-button",onClick:function(){return r({url:void 0,id:void 0,backgroundType:void 0,dimRatio:void 0,focalPoint:void 0,hasParallax:void 0})}},Object(J.__)("Clear Media")))),R&&Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(ce.PanelBody,{title:Object(J.__)("Dimensions")},Object(Y.createElement)(Ur,{value:x||g,onChange:function(e){return r({minHeight:e})}})),Object(Y.createElement)(Z.PanelColorSettings,{title:Object(J.__)("Overlay"),initialOpen:!0,colorSettings:[{value:i.color,onChange:function(){r({customGradient:void 0}),l.apply(void 0,arguments)},label:Object(J.__)("Overlay Color")}]},Object(Y.createElement)(Z.__experimentalGradientPickerControl,{label:Object(J.__)("Overlay Gradient"),onChange:function(e){y(e),r({overlayColor:void 0})},value:j}),!!f&&Object(Y.createElement)(ce.RangeControl,{label:Object(J.__)("Background Opacity"),value:m,onChange:function(e){return r({dimRatio:e})},min:0,max:100,step:10,required:!0})))));if(!R){var I=Object(Y.createElement)(Z.BlockIcon,{icon:zr}),P=Object(J.__)("Cover");return Object(Y.createElement)(Y.Fragment,null,A,Object(Y.createElement)(Z.MediaPlaceholder,{icon:I,className:a,labels:{title:P,instructions:Object(J.__)("Upload an image or video file, or pick one from your media library.")},onSelect:_,accept:"image/*,video/*",allowedTypes:Vr,notices:c,onError:function(e){T(),N(e)}},Object(Y.createElement)("div",{className:"wp-block-cover__placeholder-background-options"},Object(Y.createElement)(Z.ColorPalette,{disableCustomColors:!0,value:i.color,onChange:l,clearable:!1}),Object(Y.createElement)(Z.__experimentalGradientPicker,{disableCustomGradients:!0,onChange:function(e){y(e),r({overlayColor:void 0})},value:j,clearable:!1}))))}var M=ee()(a,Rr(m),(t={"is-dark-theme":C,"has-background-dim":0!==m,"has-parallax":h},Object(K.a)(t,i.class,i.class),Object(K.a)(t,"has-background-gradient",j),Object(K.a)(t,O,!f&&O),t));return Object(Y.createElement)(Y.Fragment,null,A,Object(Y.createElement)(qr,{className:ee()("block-library-cover__resize-container",{"is-selected":o}),onResizeStart:function(){return s(!1)},onResize:S,onResizeStop:function(e){s(!0),r({minHeight:e}),S(null)}},Object(Y.createElement)("div",{"data-url":f,style:B,className:M},Sr===b&&Object(Y.createElement)("img",{ref:k,"aria-hidden":!0,alt:"",style:{display:"none"},src:f}),f&&j&&0!==m&&Object(Y.createElement)("span",{"aria-hidden":"true",className:ee()("wp-block-cover__gradient-background",O),style:{background:j}}),Tr===b&&Object(Y.createElement)("video",{ref:k,className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:f}),Object(Y.createElement)("div",{className:"wp-block-cover__inner-container"},Object(Y.createElement)(Z.InnerBlocks,{template:Dr})))))}));var Kr={from:[{type:"block",blocks:["core/image"],transform:function(e){var t=e.caption,n=e.url,r=e.align,o=e.id;return Object($.createBlock)("core/cover",{title:t,url:n,align:r,id:o})}},{type:"block",blocks:["core/video"],transform:function(e){var t=e.caption,n=e.src,r=e.align,o=e.id;return Object($.createBlock)("core/cover",{title:t,url:n,align:r,id:o,backgroundType:Tr})}}],to:[{type:"block",blocks:["core/image"],isMatch:function(e){var t=e.backgroundType,n=e.url,r=e.overlayColor,o=e.customOverlayColor,a=e.gradient,c=e.customGradient;return n?t===Sr:!(r||o||a||c)},transform:function(e){var t=e.title,n=e.url,r=e.align,o=e.id;return Object($.createBlock)("core/image",{caption:t,url:n,align:r,id:o})}},{type:"block",blocks:["core/video"],isMatch:function(e){var t=e.backgroundType,n=e.url,r=e.overlayColor,o=e.customOverlayColor,a=e.gradient,c=e.customGradient;return n?t===Tr:!(r||o||a||c)},transform:function(e){var t=e.title,n=e.url,r=e.align,o=e.id;return Object($.createBlock)("core/video",{caption:t,src:n,id:o,align:r})}}]},Zr={name:"core/cover",category:"common",attributes:{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"},minHeight:{type:"number"},gradient:{type:"string"},customGradient:{type:"string"}}},$r=Zr.name,Jr={title:Object(J.__)("Cover"),description:Object(J.__)("Add an image or video with a text overlay — great for headers."),icon:zr,supports:{align:!0,html:!1},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(J.__)("Snow Patrol"),align:"center"}}]},transforms:Kr,save:function(e){var t=e.attributes,n=t.backgroundType,r=t.gradient,o=t.customGradient,a=t.customOverlayColor,c=t.dimRatio,i=t.focalPoint,l=t.hasParallax,s=t.overlayColor,u=t.url,b=t.minHeight,m=Object(Z.getColorClassName)("background-color",s),d=Object(Z.__experimentalGetGradientClass)(r),h=n===Sr?Br(u):{};m||(h.backgroundColor=a),i&&!l&&(h.backgroundPosition="".concat(100*i.x,"% ").concat(100*i.y,"%")),o&&!u&&(h.background=o),h.minHeight=b||void 0;var p=ee()(Rr(c),m,Object(K.a)({"has-background-dim":0!==c,"has-parallax":l,"has-background-gradient":o},d,!u&&d));return Object(Y.createElement)("div",{className:p,style:h},u&&(r||o)&&0!==c&&Object(Y.createElement)("span",{"aria-hidden":"true",className:ee()("wp-block-cover__gradient-background",d),style:o?{background:o}:void 0}),Tr===n&&u&&Object(Y.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:u}),Object(Y.createElement)("div",{className:"wp-block-cover__inner-container"},Object(Y.createElement)(Z.InnerBlocks.Content,null)))},edit:Wr,deprecated:Ir},Qr=function(e){var t=e.blockSupportsResponsive,n=e.showEditButton,r=e.themeSupportsResponsive,o=e.allowResponsive,a=e.getResponsiveHelp,c=e.toggleResponsive,i=e.switchBackToURLInput;return Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(Z.BlockControls,null,Object(Y.createElement)(ce.ToolbarGroup,null,n&&Object(Y.createElement)(ce.IconButton,{className:"components-toolbar__control",label:Object(J.__)("Edit URL"),icon:"edit",onClick:i}))),r&&t&&Object(Y.createElement)(Z.InspectorControls,null,Object(Y.createElement)(ce.PanelBody,{title:Object(J.__)("Media Settings"),className:"blocks-responsive"},Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Resize for smaller devices"),checked:o,help:a,onChange:c}))))},Yr=function(){return Object(Y.createElement)("div",{className:"wp-block-embed is-loading"},Object(Y.createElement)(ce.Spinner,null),Object(Y.createElement)("p",null,Object(J.__)("Embedding…")))},Xr=function(e){var t=e.icon,n=e.label,r=e.value,o=e.onSubmit,a=e.onChange,c=e.cannotEmbed,i=e.fallback,l=e.tryAgain;return Object(Y.createElement)(ce.Placeholder,{icon:Object(Y.createElement)(Z.BlockIcon,{icon:t,showColors:!0}),label:n,className:"wp-block-embed",instructions:Object(J.__)("Paste a link to the content you want to display on your site.")},Object(Y.createElement)("form",{onSubmit:o},Object(Y.createElement)("input",{type:"url",value:r||"",className:"components-placeholder__input","aria-label":n,placeholder:Object(J.__)("Enter URL to embed here…"),onChange:a}),Object(Y.createElement)(ce.Button,{isLarge:!0,type:"submit"},Object(J._x)("Embed","button label")),c&&Object(Y.createElement)("p",{className:"components-placeholder__error"},Object(J.__)("Sorry, this content could not be embedded."),Object(Y.createElement)("br",null),Object(Y.createElement)(ce.Button,{isLarge:!0,onClick:l},Object(J._x)("Try again","button label"))," ",Object(Y.createElement)(ce.Button,{isLarge:!0,onClick:i},Object(J._x)("Convert to link","button label")))),Object(Y.createElement)("div",{className:"components-placeholder__learn-more"},Object(Y.createElement)(ce.ExternalLink,{href:Object(J.__)("https://wordpress.org/support/article/embeds/")},Object(J.__)("Learn more about embeds"))))},eo=n(84),to=window.FocusEvent,no=function(e){function t(){var e;return Object(ke.a)(this,t),(e=Object(we.a)(this,Object(Ee.a)(t).apply(this,arguments))).checkFocus=e.checkFocus.bind(Object(xe.a)(e)),e.node=Object(Y.createRef)(),e}return Object(Se.a)(t,e),Object(Ce.a)(t,[{key:"checkFocus",value:function(){var e=document.activeElement;if("IFRAME"===e.tagName&&e.parentNode===this.node.current){var t=new to("focus",{bubbles:!0});e.dispatchEvent(t)}}},{key:"render",value:function(){var e=this.props.html;return Object(Y.createElement)("div",{ref:this.node,className:"wp-block-embed__wrapper",dangerouslySetInnerHTML:{__html:e}})}}]),t}(Y.Component),ro=Object(ie.withGlobalEvents)({blur:"checkFocus"})(no),oo=function(e){function t(){var e;return Object(ke.a)(this,t),(e=Object(we.a)(this,Object(Ee.a)(t).apply(this,arguments))).hideOverlay=e.hideOverlay.bind(Object(xe.a)(e)),e.state={interactive:!1},e}return Object(Se.a)(t,e),Object(Ce.a)(t,[{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"render",value:function(){var e,t,n,r=this.props,o=r.preview,a=r.url,c=r.type,i=r.caption,l=r.onCaptionChange,s=r.isSelected,u=r.className,b=r.icon,m=r.label,d=o.scripts,h=this.state.interactive,p="photo"===c?(t=(e=o).thumbnail_url?e.thumbnail_url:e.url,n=Object(Y.createElement)("p",null,Object(Y.createElement)("img",{src:t,alt:e.title,width:"100%"})),Object(Y.renderToString)(n)):o.html,g=Object(eo.parse)(a).host.split("."),f=g.splice(g.length-2,g.length-1).join("."),v=Object(te.includes)(Je,f),O=Object(J.sprintf)(Object(J.__)("Embedded content from %s"),f),j=Xe()(c,u,"wp-block-embed__wrapper"),y="wp-embed"===c?Object(Y.createElement)(ro,{html:p}):Object(Y.createElement)("div",{className:"wp-block-embed__wrapper"},Object(Y.createElement)(ce.SandBox,{html:p,scripts:d,title:O,type:j,onFocus:this.hideOverlay}),!h&&Object(Y.createElement)("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}));return Object(Y.createElement)("figure",{className:Xe()(u,"wp-block-embed",{"is-type-video":"video"===c})},v?Object(Y.createElement)(ce.Placeholder,{icon:Object(Y.createElement)(Z.BlockIcon,{icon:b,showColors:!0}),label:m},Object(Y.createElement)("p",{className:"components-placeholder__error"},Object(Y.createElement)("a",{href:a},a)),Object(Y.createElement)("p",{className:"components-placeholder__error"},Object(J.sprintf)(Object(J.__)("Embedded content from %s can't be previewed in the editor."),f))):y,(!Z.RichText.isEmpty(i)||s)&&Object(Y.createElement)(Z.RichText,{tagName:"figcaption",placeholder:Object(J.__)("Write caption…"),value:i,onChange:l,inlineToolbar:!0}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(Y.Component);function ao(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return(function(r){function o(){var e;return Object(ke.a)(this,o),(e=Object(we.a)(this,Object(Ee.a)(o).apply(this,arguments))).switchBackToURLInput=e.switchBackToURLInput.bind(Object(xe.a)(e)),e.setUrl=e.setUrl.bind(Object(xe.a)(e)),e.getMergedAttributes=e.getMergedAttributes.bind(Object(xe.a)(e)),e.setMergedAttributes=e.setMergedAttributes.bind(Object(xe.a)(e)),e.getResponsiveHelp=e.getResponsiveHelp.bind(Object(xe.a)(e)),e.toggleResponsive=e.toggleResponsive.bind(Object(xe.a)(e)),e.handleIncomingPreview=e.handleIncomingPreview.bind(Object(xe.a)(e)),e.state={editingURL:!1,url:e.props.attributes.url},e.props.preview&&e.handleIncomingPreview(),e}return Object(Se.a)(o,r),Object(Ce.a)(o,[{key:"handleIncomingPreview",value:function(){if(this.setMergedAttributes(),this.props.onReplace){var e=ot(this.props,this.getMergedAttributes());e&&this.props.onReplace(e)}}},{key:"componentDidUpdate",value:function(e){var t=void 0!==this.props.preview,n=void 0!==e.preview,r=e.preview&&this.props.preview&&this.props.preview.html!==e.preview.html||t&&!n,o=this.props.attributes.url!==e.attributes.url;if(r||o){if(this.props.cannotEmbed)return void(this.props.fetching||this.resubmitWithoutTrailingSlash());this.handleIncomingPreview()}}},{key:"resubmitWithoutTrailingSlash",value:function(){this.setState((function(e){return{url:e.url.replace(/\/$/,"")}}),this.setUrl)}},{key:"setUrl",value:function(e){e&&e.preventDefault();var t=this.state.url,n=this.props.setAttributes;this.setState({editingURL:!1}),n({url:t})}},{key:"getMergedAttributes",value:function(){var t=this.props.preview,r=this.props.attributes,o=r.className,a=r.allowResponsive;return Object(Q.a)({},this.props.attributes,ct(t,e,o,n,a))}},{key:"setMergedAttributes",value:function(){(0,this.props.setAttributes)(this.getMergedAttributes())}},{key:"switchBackToURLInput",value:function(){this.setState({editingURL:!0})}},{key:"getResponsiveHelp",value:function(e){return e?Object(J.__)("This embed will preserve its aspect ratio when the browser is resized."):Object(J.__)("This embed may not preserve its aspect ratio when the browser is resized.")}},{key:"toggleResponsive",value:function(){var e=this.props.attributes,t=e.allowResponsive,r=e.className,o=this.props.preview.html,a=!t;this.props.setAttributes({allowResponsive:a,className:at(o,r,n&&a)})}},{key:"render",value:function(){var r=this,o=this.state,a=o.url,c=o.editingURL,i=this.props,l=i.fetching,s=i.setAttributes,u=i.isSelected,b=i.preview,m=i.cannotEmbed,d=i.themeSupportsResponsive,h=i.tryAgain;if(l)return Object(Y.createElement)(Yr,null);var p=Object(J.sprintf)(Object(J.__)("%s URL"),e);if(!b||m||c)return Object(Y.createElement)(Xr,{icon:t,label:p,onSubmit:this.setUrl,value:a,cannotEmbed:m,onChange:function(e){return r.setState({url:e.target.value})},fallback:function(){return function(e,t){var n=Object(Y.createElement)("a",{href:e},e);t(Object($.createBlock)("core/paragraph",{content:Object(Y.renderToString)(n)}))}(a,r.props.onReplace)},tryAgain:h});var g=this.getMergedAttributes(),f=g.caption,v=g.type,O=g.allowResponsive,j=ee()(g.className,this.props.className);return Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(Qr,{showEditButton:b&&!m,themeSupportsResponsive:d,blockSupportsResponsive:n,allowResponsive:O,getResponsiveHelp:this.getResponsiveHelp,toggleResponsive:this.toggleResponsive,switchBackToURLInput:this.switchBackToURLInput}),Object(Y.createElement)(oo,{preview:b,className:j,url:a,type:v,caption:f,onCaptionChange:function(e){return s({caption:e})},isSelected:u,icon:t,label:p}))}}]),o}(Y.Component))}var co={url:{type:"string"},caption:{type:"string",source:"html",selector:"figcaption"},type:{type:"string"},providerNameSlug:{type:"string"},allowResponsive:{type:"boolean",default:!0}};function io(e){var t=e.title,n=e.description,r=e.icon,o=e.category,a=void 0===o?"embed":o,c=e.transforms,i=e.keywords,l=void 0===i?[]:i,s=e.supports,u=void 0===s?{}:s,b=e.responsive,m=void 0===b||b,d=n||Object(J.__)("Add a block that displays content pulled from other sites, like Twitter, Instagram or YouTube."),h=ao(t,r,m);return{title:t,description:d,icon:r,category:a,keywords:l,attributes:co,supports:Object(Q.a)({align:!0},u),transforms:c,edit:Object(ie.compose)(Object(le.withSelect)((function(e,t){var n=t.attributes.url,r=e("core"),o=r.getEmbedPreview,a=r.isPreviewEmbedFallback,c=r.isRequestingEmbedPreview,i=r.getThemeSupports,l=void 0!==n&&o(n),s=void 0!==n&&a(n),u=void 0!==n&&c(n),b=i(),m=!!l&&void 0===l.type&&!1===l.html,d=!!l&&l.data&&404===l.data.status,h=!!l&&!m&&!d,p=void 0!==n&&(!h||s);return{preview:h?l:void 0,fetching:u,themeSupportsResponsive:b["responsive-embeds"],cannotEmbed:p}})),Object(le.withDispatch)((function(e,t){var n=t.attributes.url,r=e("core/data");return{tryAgain:function(){r.invalidateResolution("core","getEmbedPreview",[n])}}})))(h),save:function(e){var t,n=e.attributes,r=n.url,o=n.caption,a=n.type,c=n.providerNameSlug;if(!r)return null;var i=Xe()("wp-block-embed",(t={},Object(K.a)(t,"is-type-".concat(a),a),Object(K.a)(t,"is-provider-".concat(c),c),t));return Object(Y.createElement)("figure",{className:i},Object(Y.createElement)("div",{className:"wp-block-embed__wrapper"},"\n".concat(r,"\n")),!Z.RichText.isEmpty(o)&&Object(Y.createElement)(Z.RichText.Content,{tagName:"figcaption",value:o}))},deprecated:[{attributes:co,save:function(e){var t,n=e.attributes,r=n.url,o=n.caption,a=n.type,c=n.providerNameSlug;if(!r)return null;var i=Xe()("wp-block-embed",(t={},Object(K.a)(t,"is-type-".concat(a),a),Object(K.a)(t,"is-provider-".concat(c),c),t));return Object(Y.createElement)("figure",{className:i},"\n".concat(r,"\n"),!Z.RichText.isEmpty(o)&&Object(Y.createElement)(Z.RichText.Content,{tagName:"figcaption",value:o}))}}]}}var lo="core/embed",so=io({title:Object(J._x)("Embed","block title"),description:Object(J.__)("Embed videos, images, tweets, audio, and other content from external sources."),icon:Ae,responsive:!1,transforms:{from:[{type:"raw",isMatch:function(e){return"P"===e.nodeName&&/^\s*(https?:\/\/\S+)\s*$/i.test(e.textContent)},transform:function(e){return Object($.createBlock)("core/embed",{url:e.textContent.trim()})}}]}}),uo=Ze.map((function(e){return Object(Q.a)({},e,{settings:io(e.settings)})})),bo=$e.map((function(e){return Object(Q.a)({},e,{settings:io(e.settings)})})),mo=Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(Y.createElement)(ce.Path,{d:"M9.17 6l2 2H20v10H4V6h5.17M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z"}));function ho(e){var t=e.hrefs,n=e.openInNewWindow,r=e.showDownloadButton,o=e.changeLinkDestinationOption,a=e.changeOpenInNewWindow,c=e.changeShowDownloadButton,i=t.href,l=t.textLinkHref,s=t.attachmentPage,u=[{value:i,label:Object(J.__)("URL")}];return s&&(u=[{value:i,label:Object(J.__)("Media File")},{value:s,label:Object(J.__)("Attachment page")}]),Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(Z.InspectorControls,null,Object(Y.createElement)(ce.PanelBody,{title:Object(J.__)("Text link settings")},Object(Y.createElement)(ce.SelectControl,{label:Object(J.__)("Link To"),value:l,options:u,onChange:o}),Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Open in new tab"),checked:n,onChange:a})),Object(Y.createElement)(ce.PanelBody,{title:Object(J.__)("Download button settings")},Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Show download button"),checked:r,onChange:c}))))}var po=function(e){function t(){var e;return Object(ke.a)(this,t),(e=Object(we.a)(this,Object(Ee.a)(t).apply(this,arguments))).onSelectFile=e.onSelectFile.bind(Object(xe.a)(e)),e.confirmCopyURL=e.confirmCopyURL.bind(Object(xe.a)(e)),e.resetCopyConfirmation=e.resetCopyConfirmation.bind(Object(xe.a)(e)),e.changeLinkDestinationOption=e.changeLinkDestinationOption.bind(Object(xe.a)(e)),e.changeOpenInNewWindow=e.changeOpenInNewWindow.bind(Object(xe.a)(e)),e.changeShowDownloadButton=e.changeShowDownloadButton.bind(Object(xe.a)(e)),e.onUploadError=e.onUploadError.bind(Object(xe.a)(e)),e.state={hasError:!1,showCopyConfirmation:!1},e}return Object(Se.a)(t,e),Object(Ce.a)(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.attributes,r=t.mediaUpload,o=t.noticeOperations,a=t.setAttributes,c=n.downloadButtonText,i=n.href;Object(Te.isBlobURL)(i)&&(r({filesList:[Object(Te.getBlobByURL)(i)],onFileChange:function(t){var n=Object(ae.a)(t,1)[0];return e.onSelectFile(n)},onError:function(t){e.setState({hasError:!0}),o.createErrorNotice(t)}}),Object(Te.revokeBlobURL)(i));void 0===c&&a({downloadButtonText:Object(J._x)("Download","button label")})}},{key:"componentDidUpdate",value:function(e){e.isSelected&&!this.props.isSelected&&this.setState({showCopyConfirmation:!1})}},{key:"onSelectFile",value:function(e){e&&e.url&&(this.setState({hasError:!1}),this.props.setAttributes({href:e.url,fileName:e.title,textLinkHref:e.url,id:e.id}))}},{key:"onUploadError",value:function(e){var t=this.props.noticeOperations;t.removeAllNotices(),t.createErrorNotice(e)}},{key:"confirmCopyURL",value:function(){this.setState({showCopyConfirmation:!0})}},{key:"resetCopyConfirmation",value:function(){this.setState({showCopyConfirmation:!1})}},{key:"changeLinkDestinationOption",value:function(e){this.props.setAttributes({textLinkHref:e})}},{key:"changeOpenInNewWindow",value:function(e){this.props.setAttributes({textLinkTarget:!!e&&"_blank"})}},{key:"changeShowDownloadButton",value:function(e){this.props.setAttributes({showDownloadButton:e})}},{key:"render",value:function(){var e=this,t=this.props,n=t.className,r=t.isSelected,o=t.attributes,a=t.setAttributes,c=t.noticeUI,i=t.media,l=o.fileName,s=o.href,u=o.textLinkHref,b=o.textLinkTarget,m=o.showDownloadButton,d=o.downloadButtonText,h=o.id,p=this.state,g=p.hasError,f=p.showCopyConfirmation,v=i&&i.link;if(!s||g)return Object(Y.createElement)(Z.MediaPlaceholder,{icon:Object(Y.createElement)(Z.BlockIcon,{icon:mo}),labels:{title:Object(J.__)("File"),instructions:Object(J.__)("Upload a file or pick one from your media library.")},onSelect:this.onSelectFile,notices:c,onError:this.onUploadError,accept:"*"});var O=ee()(n,{"is-transient":Object(Te.isBlobURL)(s)});return Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(ho,Object(je.a)({hrefs:{href:s,textLinkHref:u,attachmentPage:v}},{openInNewWindow:!!b,showDownloadButton:m,changeLinkDestinationOption:this.changeLinkDestinationOption,changeOpenInNewWindow:this.changeOpenInNewWindow,changeShowDownloadButton:this.changeShowDownloadButton})),Object(Y.createElement)(Z.BlockControls,null,Object(Y.createElement)(Z.MediaUploadCheck,null,Object(Y.createElement)(ce.ToolbarGroup,null,Object(Y.createElement)(Z.MediaUpload,{onSelect:this.onSelectFile,value:h,render:function(e){var t=e.open;return Object(Y.createElement)(ce.IconButton,{className:"components-toolbar__control",label:Object(J.__)("Edit file"),onClick:t,icon:"edit"})}})))),Object(Y.createElement)(ce.Animate,{type:Object(Te.isBlobURL)(s)?"loading":null},(function(t){var n=t.className;return Object(Y.createElement)("div",{className:ee()(O,n)},Object(Y.createElement)("div",{className:"wp-block-file__content-wrapper"},Object(Y.createElement)("div",{className:"wp-block-file__textlink"},Object(Y.createElement)(Z.RichText,{tagName:"div",value:l,placeholder:Object(J.__)("Write file name…"),withoutInteractiveFormatting:!0,onChange:function(e){return a({fileName:e})}})),m&&Object(Y.createElement)("div",{className:"wp-block-file__button-richtext-wrapper"},Object(Y.createElement)(Z.RichText,{tagName:"div",className:"wp-block-file__button",value:d,withoutInteractiveFormatting:!0,placeholder:Object(J.__)("Add text…"),onChange:function(e){return a({downloadButtonText:e})}}))),r&&Object(Y.createElement)(ce.ClipboardButton,{isDefault:!0,text:s,className:"wp-block-file__copy-url-button",onCopy:e.confirmCopyURL,onFinishCopy:e.resetCopyConfirmation,disabled:Object(Te.isBlobURL)(s)},f?Object(J.__)("Copied!"):Object(J.__)("Copy URL")))})))}}]),t}(Y.Component),go=Object(ie.compose)([Object(le.withSelect)((function(e,t){var n=e("core").getMedia,r=(0,e("core/block-editor").getSettings)().mediaUpload,o=t.attributes.id;return{media:void 0===o?void 0:n(o),mediaUpload:r}})),ce.withNotices])(po);var fo={from:[{type:"files",isMatch:function(e){return e.length>0},priority:15,transform:function(e){var t=[];return e.forEach((function(e){var n=Object(Te.createBlobURL)(e);t.push(Object($.createBlock)("core/file",{href:n,fileName:e.name,textLinkHref:n}))})),t}},{type:"block",blocks:["core/audio"],transform:function(e){return Object($.createBlock)("core/file",{href:e.src,fileName:e.caption,textLinkHref:e.src,id:e.id})}},{type:"block",blocks:["core/video"],transform:function(e){return Object($.createBlock)("core/file",{href:e.src,fileName:e.caption,textLinkHref:e.src,id:e.id})}},{type:"block",blocks:["core/image"],transform:function(e){return Object($.createBlock)("core/file",{href:e.url,fileName:e.caption,textLinkHref:e.url,id:e.id})}}],to:[{type:"block",blocks:["core/audio"],isMatch:function(e){var t=e.id;if(!t)return!1;var n=(0,Object(le.select)("core").getMedia)(t);return!!n&&Object(te.includes)(n.mime_type,"audio")},transform:function(e){return Object($.createBlock)("core/audio",{src:e.href,caption:e.fileName,id:e.id})}},{type:"block",blocks:["core/video"],isMatch:function(e){var t=e.id;if(!t)return!1;var n=(0,Object(le.select)("core").getMedia)(t);return!!n&&Object(te.includes)(n.mime_type,"video")},transform:function(e){return Object($.createBlock)("core/video",{src:e.href,caption:e.fileName,id:e.id})}},{type:"block",blocks:["core/image"],isMatch:function(e){var t=e.id;if(!t)return!1;var n=(0,Object(le.select)("core").getMedia)(t);return!!n&&Object(te.includes)(n.mime_type,"image")},transform:function(e){return Object($.createBlock)("core/image",{url:e.href,caption:e.fileName,id:e.id})}}]},vo={name:"core/file",category:"common",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]"}}},Oo=vo.name,jo={title:Object(J.__)("File"),description:Object(J.__)("Add a link to a downloadable file."),icon:mo,keywords:[Object(J.__)("document"),Object(J.__)("pdf")],supports:{align:!0},transforms:fo,edit:go,save:function(e){var t=e.attributes,n=t.href,r=t.fileName,o=t.textLinkHref,a=t.textLinkTarget,c=t.showDownloadButton,i=t.downloadButtonText;return n&&Object(Y.createElement)("div",null,!Z.RichText.isEmpty(r)&&Object(Y.createElement)("a",{href:o,target:a,rel:!!a&&"noreferrer noopener"},Object(Y.createElement)(Z.RichText.Content,{value:r})),c&&Object(Y.createElement)("a",{href:n,className:"wp-block-file__button",download:!0},Object(Y.createElement)(Z.RichText.Content,{value:i})))}},yo=function(e){function t(){var e;return Object(ke.a)(this,t),(e=Object(we.a)(this,Object(Ee.a)(t).apply(this,arguments))).state={isPreview:!1,styles:[]},e.switchToHTML=e.switchToHTML.bind(Object(xe.a)(e)),e.switchToPreview=e.switchToPreview.bind(Object(xe.a)(e)),e}return Object(Se.a)(t,e),Object(Ce.a)(t,[{key:"componentDidMount",value:function(){var e=this.props.styles;this.setState({styles:["\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"].concat(Object(W.a)(Object(Z.transformStyles)(e)))})}},{key:"switchToPreview",value:function(){this.setState({isPreview:!0})}},{key:"switchToHTML",value:function(){this.setState({isPreview:!1})}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,r=this.state,o=r.isPreview,a=r.styles;return Object(Y.createElement)("div",{className:"wp-block-html"},Object(Y.createElement)(Z.BlockControls,null,Object(Y.createElement)(ce.ToolbarGroup,null,Object(Y.createElement)(ce.Button,{className:"components-tab-button ".concat(o?"":"is-active"),onClick:this.switchToHTML},Object(Y.createElement)("span",null,"HTML")),Object(Y.createElement)(ce.Button,{className:"components-tab-button ".concat(o?"is-active":""),onClick:this.switchToPreview},Object(Y.createElement)("span",null,Object(J.__)("Preview"))))),Object(Y.createElement)(ce.Disabled.Consumer,null,(function(e){return o||e?Object(Y.createElement)(ce.SandBox,{html:t.content,styles:a}):Object(Y.createElement)(Z.PlainText,{value:t.content,onChange:function(e){return n({content:e})},placeholder:Object(J.__)("Write HTML…"),"aria-label":Object(J.__)("HTML")})})))}}]),t}(Y.Component),_o=Object(le.withSelect)((function(e){return{styles:(0,e("core/block-editor").getSettings)().styles}}))(yo),ko=Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.Path,{d:"M4.5,11h-2V9H1v6h1.5v-2.5h2V15H6V9H4.5V11z M7,10.5h1.5V15H10v-4.5h1.5V9H7V10.5z M14.5,10l-1-1H12v6h1.5v-3.9 l1,1l1-1V15H17V9h-1.5L14.5,10z M19.5,13.5V9H18v6h5v-1.5H19.5z"}));var Co={from:[{type:"raw",isMatch:function(e){return"FIGURE"===e.nodeName&&!!e.querySelector("iframe")},schema:{figure:{require:["iframe"],children:{iframe:{attributes:["src","allowfullscreen","height","width"]},figcaption:{children:Object($.getPhrasingContentSchema)()}}}}}]},wo={name:"core/html",category:"formatting",attributes:{content:{type:"string",source:"html"}}},Eo=wo.name,xo={title:Object(J.__)("Custom HTML"),description:Object(J.__)("Add custom HTML code and preview it as you edit."),icon:ko,keywords:[Object(J.__)("embed")],example:{attributes:{content:""+Object(J.__)("Welcome to the wonderful world of blocks…")+""}},supports:{customClassName:!1,className:!1,html:!1},transforms:Co,edit:_o,save:function(e){var t=e.attributes;return Object(Y.createElement)(Y.RawHTML,null,t.content)}},So=Object(Y.createElement)(ce.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Y.createElement)(ce.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(Y.createElement)(ce.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(Y.createElement)(ce.Path,{d:"M5 19h8l-1.59-2H9.24l-.84 1.1L7 16.3 5 19z"})),To=["image","video"];function No(e,t){return e?{backgroundImage:"url(".concat(e,")"),backgroundPosition:t?"".concat(100*t.x,"% ").concat(100*t.y,"%"):"50% 50%"}:{}}var Bo=function(e){function t(){var e;return Object(ke.a)(this,t),(e=Object(we.a)(this,Object(Ee.a)(t).apply(this,arguments))).onUploadError=e.onUploadError.bind(Object(xe.a)(e)),e}return Object(Se.a)(t,e),Object(Ce.a)(t,[{key:"onUploadError",value:function(e){var t=this.props.noticeOperations;t.removeAllNotices(),t.createErrorNotice(e)}},{key:"renderToolbarEditButton",value:function(){var e=this.props,t=e.mediaId,n=e.onSelectMedia;return Object(Y.createElement)(Z.BlockControls,null,Object(Y.createElement)(ce.ToolbarGroup,null,Object(Y.createElement)(Z.MediaUpload,{onSelect:n,allowedTypes:To,value:t,render:function(e){var t=e.open;return Object(Y.createElement)(ce.IconButton,{className:"components-toolbar__control",label:Object(J.__)("Edit media"),icon:"edit",onClick:t})}})))}},{key:"renderImage",value:function(){var e=this.props,t=e.mediaAlt,n=e.mediaUrl,r=e.className,o=e.imageFill,a=e.focalPoint,c=o?No(n,a):{};return Object(Y.createElement)(Y.Fragment,null,this.renderToolbarEditButton(),Object(Y.createElement)("figure",{className:r,style:c},Object(Y.createElement)("img",{src:n,alt:t})))}},{key:"renderVideo",value:function(){var e=this.props,t=e.mediaUrl,n=e.className;return Object(Y.createElement)(Y.Fragment,null,this.renderToolbarEditButton(),Object(Y.createElement)("figure",{className:n},Object(Y.createElement)("video",{controls:!0,src:t})))}},{key:"renderPlaceholder",value:function(){var e=this.props,t=e.onSelectMedia,n=e.className,r=e.noticeUI;return Object(Y.createElement)(Z.MediaPlaceholder,{icon:Object(Y.createElement)(Z.BlockIcon,{icon:So}),labels:{title:Object(J.__)("Media area")},className:n,onSelect:t,accept:"image/*,video/*",allowedTypes:To,notices:r,onError:this.onUploadError})}},{key:"render",value:function(){var e=this.props,t=e.mediaPosition,n=e.mediaUrl,r=e.mediaType,o=e.mediaWidth,a=e.commitWidthChange,c=e.onWidthChange,i=e.toggleSelection;if(r&&n){var l={right:"left"===t,left:"right"===t},s=null;switch(r){case"image":s=this.renderImage();break;case"video":s=this.renderVideo()}return Object(Y.createElement)(ce.ResizableBox,{className:"editor-media-container__resizer",size:{width:o+"%"},minWidth:"10%",maxWidth:"100%",enable:l,onResizeStart:function(){i(!1)},onResize:function(e,t,n){c(parseInt(n.style.width))},onResizeStop:function(e,t,n){i(!0),a(parseInt(n.style.width))},axis:"x"},s)}return this.renderPlaceholder()}}]),t}(Y.Component),Ro=Object(ie.compose)([Object(le.withDispatch)((function(e){return{toggleSelection:e("core/block-editor").toggleSelection}})),ce.withNotices])(Bo),Ao={align:{type:"string",default:"wide"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},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"},mediaType:{type:"string"},mediaWidth:{type:"number",default:50},isStackedOnMobile:{type:"boolean",default:!1}},Io=[{attributes:Object(Q.a)({},Ao,{verticalAlignment:{type:"string"},imageFill:{type:"boolean"},focalPoint:{type:"object"}}),save:function(e){var t,n,r=e.attributes,o=r.backgroundColor,a=r.customBackgroundColor,c=r.isStackedOnMobile,i=r.mediaAlt,l=r.mediaPosition,s=r.mediaType,u=r.mediaUrl,b=r.mediaWidth,m=r.mediaId,d=r.verticalAlignment,h=r.imageFill,p=r.focalPoint,g={image:function(){return Object(Y.createElement)("img",{src:u,alt:i,className:m&&"image"===s?"wp-image-".concat(m):null})},video:function(){return Object(Y.createElement)("video",{controls:!0,src:u})}},f=Object(Z.getColorClassName)("background-color",o),v=ee()((t={"has-media-on-the-right":"right"===l},Object(K.a)(t,f,f),Object(K.a)(t,"is-stacked-on-mobile",c),Object(K.a)(t,"is-vertically-aligned-".concat(d),d),Object(K.a)(t,"is-image-fill",h),t)),O=h?No(u,p):{};50!==b&&(n="right"===l?"auto ".concat(b,"%"):"".concat(b,"% auto"));var j={backgroundColor:f?void 0:a,gridTemplateColumns:n};return Object(Y.createElement)("div",{className:v,style:j},Object(Y.createElement)("figure",{className:"wp-block-media-text__media",style:O},(g[s]||te.noop)()),Object(Y.createElement)("div",{className:"wp-block-media-text__content"},Object(Y.createElement)(Z.InnerBlocks.Content,null)))}},{attributes:Ao,save:function(e){var t,n,r=e.attributes,o=r.backgroundColor,a=r.customBackgroundColor,c=r.isStackedOnMobile,i=r.mediaAlt,l=r.mediaPosition,s=r.mediaType,u=r.mediaUrl,b=r.mediaWidth,m={image:function(){return Object(Y.createElement)("img",{src:u,alt:i})},video:function(){return Object(Y.createElement)("video",{controls:!0,src:u})}},d=Object(Z.getColorClassName)("background-color",o),h=ee()((t={"has-media-on-the-right":"right"===l},Object(K.a)(t,d,d),Object(K.a)(t,"is-stacked-on-mobile",c),t));50!==b&&(n="right"===l?"auto ".concat(b,"%"):"".concat(b,"% auto"));var p={backgroundColor:d?void 0:a,gridTemplateColumns:n};return Object(Y.createElement)("div",{className:h,style:p},Object(Y.createElement)("figure",{className:"wp-block-media-text__media"},(m[s]||te.noop)()),Object(Y.createElement)("div",{className:"wp-block-media-text__content"},Object(Y.createElement)(Z.InnerBlocks.Content,null)))}}],Po=[["core/paragraph",{fontSize:"large",placeholder:Object(J._x)("Content…","content placeholder")}]],Mo=function(e){return Math.max(15,Math.min(e,85))},Lo=function(e){function t(){var e;return Object(ke.a)(this,t),(e=Object(we.a)(this,Object(Ee.a)(t).apply(this,arguments))).onSelectMedia=e.onSelectMedia.bind(Object(xe.a)(e)),e.onWidthChange=e.onWidthChange.bind(Object(xe.a)(e)),e.commitWidthChange=e.commitWidthChange.bind(Object(xe.a)(e)),e.state={mediaWidth:null},e}return Object(Se.a)(t,e),Object(Ce.a)(t,[{key:"onSelectMedia",value:function(e){var t,n,r=this.props.setAttributes;"image"===(t=e.media_type?"image"===e.media_type?"image":"video":e.type)&&(n=Object(te.get)(e,["sizes","large","url"])||Object(te.get)(e,["media_details","sizes","large","source_url"])),r({mediaAlt:e.alt,mediaId:e.id,mediaType:t,mediaUrl:n||e.url,focalPoint:void 0})}},{key:"onWidthChange",value:function(e){this.setState({mediaWidth:Mo(e)})}},{key:"commitWidthChange",value:function(e){(0,this.props.setAttributes)({mediaWidth:Mo(e)}),this.setState({mediaWidth:null})}},{key:"renderMediaArea",value:function(){var e=this.props.attributes,t=e.mediaAlt,n=e.mediaId,r=e.mediaPosition,o=e.mediaType,a=e.mediaUrl,c=e.mediaWidth,i=e.imageFill,l=e.focalPoint;return Object(Y.createElement)(Ro,Object(je.a)({className:"block-library-media-text__media-container",onSelectMedia:this.onSelectMedia,onWidthChange:this.onWidthChange,commitWidthChange:this.commitWidthChange},{mediaAlt:t,mediaId:n,mediaType:o,mediaUrl:a,mediaPosition:r,mediaWidth:c,imageFill:i,focalPoint:l}))}},{key:"render",value:function(){var e,t=this.props,n=t.attributes,r=t.className,o=t.backgroundColor,a=t.isSelected,c=t.setAttributes,i=t.setBackgroundColor,l=n.isStackedOnMobile,s=n.mediaAlt,u=n.mediaPosition,b=n.mediaType,m=n.mediaWidth,d=n.verticalAlignment,h=n.mediaUrl,p=n.imageFill,g=n.focalPoint,f=this.state.mediaWidth,v=ee()(r,(e={"has-media-on-the-right":"right"===u,"is-selected":a,"has-background":o.class||o.color},Object(K.a)(e,o.class,o.class),Object(K.a)(e,"is-stacked-on-mobile",l),Object(K.a)(e,"is-vertically-aligned-".concat(d),d),Object(K.a)(e,"is-image-fill",p),e)),O="".concat(f||m,"%"),j="right"===u?"1fr ".concat(O):"".concat(O," 1fr"),y={gridTemplateColumns:j,msGridColumns:j,backgroundColor:o.color},_=[{value:o.color,onChange:i,label:Object(J.__)("Background Color")}],k=[{icon:"align-pull-left",title:Object(J.__)("Show media on left"),isActive:"left"===u,onClick:function(){return c({mediaPosition:"left"})}},{icon:"align-pull-right",title:Object(J.__)("Show media on right"),isActive:"right"===u,onClick:function(){return c({mediaPosition:"right"})}}],C=Object(Y.createElement)(ce.PanelBody,{title:Object(J.__)("Media & Text Settings")},Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Stack on mobile"),checked:l,onChange:function(){return c({isStackedOnMobile:!l})}}),"image"===b&&Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Crop image to fill entire column"),checked:p,onChange:function(){return c({imageFill:!p})}}),p&&Object(Y.createElement)(ce.FocalPointPicker,{label:Object(J.__)("Focal Point Picker"),url:h,value:g,onChange:function(e){return c({focalPoint:e})}}),"image"===b&&Object(Y.createElement)(ce.TextareaControl,{label:Object(J.__)("Alt Text (Alternative Text)"),value:s,onChange:function(e){c({mediaAlt:e})},help:Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(ce.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},Object(J.__)("Describe the purpose of the image")),Object(J.__)("Leave empty if the image is purely decorative."))}));return Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(Z.InspectorControls,null,C,Object(Y.createElement)(Z.PanelColorSettings,{title:Object(J.__)("Color Settings"),initialOpen:!1,colorSettings:_})),Object(Y.createElement)(Z.BlockControls,null,Object(Y.createElement)(ce.ToolbarGroup,{controls:k}),Object(Y.createElement)(Z.BlockVerticalAlignmentToolbar,{onChange:function(e){c({verticalAlignment:e})},value:d})),Object(Y.createElement)("div",{className:v,style:y},this.renderMediaArea(),Object(Y.createElement)(Z.InnerBlocks,{template:Po,templateInsertUpdatesSelection:!1})))}}]),t}(Y.Component),Ho=Object(Z.withColors)("backgroundColor")(Lo),zo=Object(Y.createElement)(ce.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Y.createElement)(ce.Path,{d:"M13 17h8v-2h-8v2zM3 19h8V5H3v14zM13 9h8V7h-8v2zm0 4h8v-2h-8v2z"})),Vo=50;var Do={from:[{type:"block",blocks:["core/image"],transform:function(e){var t=e.alt,n=e.url,r=e.id;return Object($.createBlock)("core/media-text",{mediaAlt:t,mediaId:r,mediaUrl:n,mediaType:"image"})}},{type:"block",blocks:["core/video"],transform:function(e){var t=e.src,n=e.id;return Object($.createBlock)("core/media-text",{mediaId:n,mediaUrl:t,mediaType:"video"})}}],to:[{type:"block",blocks:["core/image"],isMatch:function(e){var t=e.mediaType;return!e.mediaUrl||"image"===t},transform:function(e){var t=e.mediaAlt,n=e.mediaId,r=e.mediaUrl;return Object($.createBlock)("core/image",{alt:t,id:n,url:r})}},{type:"block",blocks:["core/video"],isMatch:function(e){var t=e.mediaType;return!e.mediaUrl||"video"===t},transform:function(e){var t=e.mediaId,n=e.mediaUrl;return Object($.createBlock)("core/video",{id:t,src:n})}}]},Fo={name:"core/media-text",category:"layout",attributes:{align:{type:"string",default:"wide"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},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"},mediaType:{type:"string"},mediaWidth:{type:"number",default:50},isStackedOnMobile:{type:"boolean",default:!0},verticalAlignment:{type:"string"},imageFill:{type:"boolean"},focalPoint:{type:"object"}}},Uo=Fo.name,Go={title:Object(J.__)("Media & Text"),description:Object(J.__)("Set media and words side-by-side for a richer layout."),icon:zo,keywords:[Object(J.__)("image"),Object(J.__)("video")],supports:{align:["wide","full"],html:!1},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(J.__)("The wren
Earns his living
Noiselessly.")}},{name:"core/paragraph",attributes:{content:Object(J.__)("— Kobayashi Issa (一茶)")}}]},transforms:Do,edit:Ho,save:function(e){var t,n,r=e.attributes,o=r.backgroundColor,a=r.customBackgroundColor,c=r.isStackedOnMobile,i=r.mediaAlt,l=r.mediaPosition,s=r.mediaType,u=r.mediaUrl,b=r.mediaWidth,m=r.mediaId,d=r.verticalAlignment,h=r.imageFill,p=r.focalPoint,g={image:function(){return Object(Y.createElement)("img",{src:u,alt:i,className:m&&"image"===s?"wp-image-".concat(m):null})},video:function(){return Object(Y.createElement)("video",{controls:!0,src:u})}},f=Object(Z.getColorClassName)("background-color",o),v=ee()((t={"has-media-on-the-right":"right"===l,"has-background":f||a},Object(K.a)(t,f,f),Object(K.a)(t,"is-stacked-on-mobile",c),Object(K.a)(t,"is-vertically-aligned-".concat(d),d),Object(K.a)(t,"is-image-fill",h),t)),O=h?No(u,p):{};b!==Vo&&(n="right"===l?"auto ".concat(b,"%"):"".concat(b,"% auto"));var j={backgroundColor:f?void 0:a,gridTemplateColumns:n};return Object(Y.createElement)("div",{className:v,style:j},Object(Y.createElement)("figure",{className:"wp-block-media-text__media",style:O},(g[s]||te.noop)()),Object(Y.createElement)("div",{className:"wp-block-media-text__content"},Object(Y.createElement)(Z.InnerBlocks.Content,null)))},deprecated:Io};function qo(e){var t=e.clientId,n=Object(le.useSelect)((function(e){var n=e("core/block-editor"),r=n.getSelectedBlockClientId;return{block:(0,n.getBlock)(t),selectedBlockClientId:r()}}),[t]),r=n.block,o=n.selectedBlockClientId,a=Object(le.useDispatch)("core/block-editor").selectBlock;return Object(Y.createElement)(Z.__experimentalBlockNavigationList,{blocks:[r],selectedBlockClientId:o,selectBlock:a,showNestedBlocks:!0,showAppender:!0})}var Wo=Object(Y.createElement)(ce.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"20",height:"20"},Object(Y.createElement)(ce.Path,{d:"M5 5H3v2h2V5zm3 8h11v-2H8v2zm9-8H6v2h11V5zM7 11H5v2h2v-2zm0 8h2v-2H7v2zm3-2v2h11v-2H10z"}));var Ko=function(){return Object(Y.createElement)(ce.SVG,{xmlns:"https://www.w3.org/2000/svg",viewBox:"0 0 20 20"},Object(Y.createElement)(ce.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"}))},Zo=function(e){var t=e.color;return Object(Y.createElement)("div",{className:"block-library-colors-selector__icon-container"},Object(Y.createElement)("div",{className:"block-library-colors-selector__state-selection",style:Object(Q.a)({},t&&{color:t})},Object(Y.createElement)(Ko,null)))},$o=function(e){var t=e.value,n=e.onChange,r=void 0===n?te.noop:n;return function(){return Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)("div",{className:"color-palette-controller-container"},Object(Y.createElement)(Z.ColorPaletteControl,{value:t,onChange:r,label:Object(J.__)("Text Color")})))}},Jo=function(e){return Object(Y.createElement)(ce.Dropdown,{position:"bottom right",className:"block-library-colors-selector",contentClassName:"block-library-colors-selector__popover",renderToggle:(t=e,n=t.value,function(e){var t=e.onToggle,r=e.isOpen;return Object(Y.createElement)(ce.ToolbarGroup,null,Object(Y.createElement)(ce.IconButton,{className:"components-icon-button components-toolbar__control block-library-colors-selector__toggle",label:Object(J.__)("Open Colors Selector"),onClick:t,onKeyDown:function(e){r||e.keyCode!==Ne.DOWN||(e.preventDefault(),e.stopPropagation(),t())},icon:Object(Y.createElement)(Zo,{color:n})}))}),renderContent:$o(e)});var t,n},Qo=Object(Y.createElement)(ce.SVG,{width:"20",height:"20",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Y.createElement)(ce.Path,{d:"M11 16v-3h10v-2H11V8l-4 4 4 4zM5 4H3v16h2V4z"})),Yo=Object(Y.createElement)(ce.SVG,{width:"20",height:"20",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Y.createElement)(ce.Path,{d:"M5 8v3H1v2h4v3l4-4-4-4zm14 8v-3h4v-2h-4V8l-4 4 4 4zM13 4h-2v16h2V4z"})),Xo=Object(Y.createElement)(ce.SVG,{width:"20",height:"20",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Y.createElement)(ce.Path,{d:"M13 8v3H3v2h10v3l4-4-4-4zm8-4h-2v16h2V4z"}));var ea=Object(ie.compose)([Object(le.withSelect)((function(e,t){var n,r,o=t.clientId,a={parent:0,order:"asc",orderby:"id"},c=["core","getEntityRecords",["postType","page",a]];return{hasExistingNavItems:!!e("core/block-editor").getBlocks(o).length,pages:e("core").getEntityRecords("postType","page",a),isRequestingPages:(n=e("core/data")).isResolving.apply(n,c),hasResolvedPages:(r=e("core/data")).hasFinishedResolution.apply(r,c)}})),Object(le.withDispatch)((function(e,t){var n=t.clientId;return{updateNavItemBlocks:function(t){e("core/block-editor").replaceInnerBlocks(n,t)}}}))])((function(e){var t=e.attributes,n=e.clientId,r=e.pages,o=e.isRequestingPages,a=e.hasResolvedPages,c=e.hasExistingNavItems,i=e.updateNavItemBlocks,l=e.setAttributes,s=Object(Z.__experimentalUseColors)([{name:"textColor",property:"color"}]).TextColor,u=function(e){var t=Object(Y.useState)(!1),n=Object(ae.a)(t,2),r=n[0],o=n[1];return{navigatorToolbarButton:Object(Y.createElement)(ce.IconButton,{className:"components-toolbar__control",label:Object(J.__)("Open block navigator"),onClick:function(){return o(!0)},icon:Wo}),navigatorModal:r&&Object(Y.createElement)(ce.Modal,{title:Object(J.__)("Block Navigator"),closeLabel:Object(J.__)("Close"),onRequestClose:function(){o(!1)}},Object(Y.createElement)(qo,{clientId:e}))}}(n),b=u.navigatorToolbarButton,m=u.navigatorModal,d=Object(Y.useMemo)((function(){return r?r.map((function(e){var t=e.title,n=e.type,r=e.link,o=e.id;return Object($.createBlock)("core/navigation-link",{type:n,id:o,url:r,label:Object(te.escape)(t.rendered),title:Object(te.escape)(t.raw),opensInNewTab:!1})})):null}),[r]);function h(e){return function(){var n=t.itemsJustification===e?void 0:e;l({itemsJustification:n})}}var p=a&&r&&r.length,g=ee()("wp-block-navigation",Object(K.a)({},"items-justification-".concat(t.itemsJustification),t.itemsJustification));return c?Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(Z.BlockControls,null,Object(Y.createElement)(ce.Toolbar,{icon:t.itemsJustification?y["justify".concat(Object(te.upperFirst)(t.itemsJustification),"Icon")]:Qo,label:Object(J.__)("Change items justification"),isCollapsed:!0,controls:[{icon:Qo,title:Object(J.__)("Justify items left"),isActive:"left"===t.itemsJustification,onClick:h("left")},{icon:Yo,title:Object(J.__)("Justify items center"),isActive:"center"===t.itemsJustification,onClick:h("center")},{icon:Xo,title:Object(J.__)("Justify items right"),isActive:"right"===t.itemsJustification,onClick:h("right")}]}),Object(Y.createElement)(ce.ToolbarGroup,null,b),Object(Y.createElement)(Jo,{value:s.color,onChange:s.setColor})),m,Object(Y.createElement)(Z.InspectorControls,null,Object(Y.createElement)(ce.PanelBody,{title:Object(J.__)("Navigation Structure")},Object(Y.createElement)(qo,{clientId:n}))),Object(Y.createElement)(s,null,Object(Y.createElement)("div",{className:g},!c&&o&&Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(ce.Spinner,null)," ",Object(J.__)("Loading Navigation…")," "),Object(Y.createElement)(Z.InnerBlocks,{allowedBlocks:["core/navigation-link"],templateInsertUpdatesSelection:!1,__experimentalMoverDirection:"horizontal"})))):Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(ce.Placeholder,{className:"wp-block-navigation-placeholder",icon:"menu",label:Object(J.__)("Navigation"),instructions:Object(J.__)("Create a Navigation from all existing pages, or create an empty one.")},Object(Y.createElement)("div",{className:"wp-block-navigation-placeholder__buttons"},Object(Y.createElement)(ce.Button,{isDefault:!0,className:"wp-block-navigation-placeholder__button",onClick:function(){i(d)},disabled:!p},Object(J.__)("Create from all top pages")),Object(Y.createElement)(ce.Button,{isLink:!0,className:"wp-block-navigation-placeholder__button",onClick:function(){var e=Object($.createBlock)("core/navigation-link");i([e])}},Object(J.__)("Create empty")))))}));var ta="core/navigation",na={title:Object(J.__)("Navigation"),icon:"menu",description:Object(J.__)("Add a navigation block to your site."),keywords:[Object(J.__)("menu"),Object(J.__)("navigation"),Object(J.__)("links")],category:"layout",supports:{align:["wide","full"],anchor:!0,html:!1,inserter:!0},styles:[{name:"light",label:Object(J.__)("Light"),isDefault:!0},{name:"dark",label:Object(J.__)("Dark")}],edit:ea,save:function(){return Object(Y.createElement)(Z.InnerBlocks.Content,null)}},ra=function(e){return function(t,n){e(Object(K.a)({},t,n))}},oa=function(e,t){return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=n.title,o=void 0===r?"":r,a=n.url,c=void 0===a?"":a;e({title:Object(te.escape)(o),url:c}),t||e({label:Object(te.escape)(o)})}};var aa=Object(ie.compose)([Object(le.withSelect)((function(e,t){var n=e("core/block-editor"),r=n.getClientIdsOfDescendants,o=n.hasSelectedInnerBlock,a=t.clientId;return{isParentOfSelectedBlock:o(a,!0),hasDescendants:!!r([a]).length}})),Object(le.withDispatch)((function(e,t,n){return{insertLinkBlock:function(){var r=t.clientId,o=e("core/block-editor").insertBlock,a=(0,n.select("core/block-editor").getClientIdsOfDescendants)([r]),c=a.length?a.length:0;o(Object($.createBlock)("core/navigation-link"),c,r)}}}))])((function(e){var t=e.attributes,n=e.hasDescendants,r=e.isSelected,o=e.isParentOfSelectedBlock,a=e.setAttributes,c=e.insertLinkBlock,i=t.label,l=t.opensInNewTab,s=t.title,u=t.url,b=t.nofollow,m=t.description,d=s?{title:Object(te.unescape)(s),url:u}:null,h=Object(Y.useState)(!i&&r),p=Object(ae.a)(h,2),g=p[0],f=p[1],v=null;Object(Y.useEffect)((function(){return r||f(!1),function(){v&&clearTimeout(v)}}),[r]);var O=function(){g||f(!g)},j=Object(J.__)("Add link…");return Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(Z.BlockControls,null,Object(Y.createElement)(ce.ToolbarGroup,null,Object(Y.createElement)(ce.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(K.a)({},Ne.rawShortcut.primary("k"),O)}),Object(Y.createElement)(ce.ToolbarButton,{name:"link",icon:"admin-links",title:Object(J.__)("Link"),shortcut:Ne.displayShortcut.primary("k"),onClick:O}),Object(Y.createElement)(ce.ToolbarButton,{name:"submenu",icon:Object(Y.createElement)(ce.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24"},Object(Y.createElement)(ce.Path,{d:"M14 5h8v2h-8zm0 5.5h8v2h-8zm0 5.5h8v2h-8zM2 11.5C2 15.08 4.92 18 8.5 18H9v2l3-3-3-3v2h-.5C6.02 16 4 13.98 4 11.5S6.02 7 8.5 7H12V5H8.5C4.92 5 2 7.92 2 11.5z"}),Object(Y.createElement)(ce.Path,{fill:"none",d:"M0 0h24v24H0z"})),title:Object(J.__)("Add Submenu"),onClick:c}))),Object(Y.createElement)(Z.InspectorControls,null,Object(Y.createElement)(ce.PanelBody,{title:Object(J.__)("Link Settings")},Object(Y.createElement)(ce.TextareaControl,{value:m||"",onChange:function(e){a({description:e})},label:Object(J.__)("Description")})),Object(Y.createElement)(ce.PanelBody,{title:Object(J.__)("SEO Settings")},Object(Y.createElement)(ce.TextControl,{value:s||"",onChange:function(e){a({title:e})},label:Object(J.__)("Title Attribute"),help:Object(J.__)("Provide more context about where the link goes.")}),Object(Y.createElement)(ce.ToggleControl,{checked:b,onChange:function(e){a({nofollow:e})},label:Object(J.__)("Add nofollow to link"),help:Object(Y.createElement)(Y.Fragment,null,Object(J.__)("Don't let search engines follow this link."),Object(Y.createElement)(ce.ExternalLink,{className:"wp-block-navigation-link__nofollow-external-link",href:Object(J.__)("https://codex.wordpress.org/Nofollow")},Object(J.__)("What's this?")))}))),Object(Y.createElement)("div",{className:ee()("wp-block-navigation-link",{"is-editing":r||o,"is-selected":r,"has-link":!!u})},Object(Y.createElement)("div",null,Object(Y.createElement)(Z.RichText,{className:"wp-block-navigation-link__content",value:i,onChange:function(e){return a({label:e})},placeholder:j,withoutInteractiveFormatting:!0}),g&&Object(Y.createElement)(Z.__experimentalLinkControl,{className:"wp-block-navigation-link__inline-link-input",onKeyDown:function(e){var t=e.keyCode;[Ne.LEFT,Ne.DOWN,Ne.RIGHT,Ne.UP,Ne.BACKSPACE,Ne.ENTER].indexOf(t)>-1&&e.stopPropagation()},onKeyPress:function(e){return e.stopPropagation()},currentLink:d,onLinkChange:oa(a,i),onClose:function(){v=setTimeout((function(){return f(!1)}),100)},currentSettings:[{id:"opensInNewTab",title:Object(J.__)("Open in new tab"),checked:l}],onSettingsChange:ra(a)})),Object(Y.createElement)(Z.InnerBlocks,{allowedBlocks:["core/navigation-link"],renderAppender:!!n&&Z.InnerBlocks.ButtonBlockAppender})))}));var ca={name:"core/navigation-link",category:"layout",attributes:{label:{type:"string"},nofollow:{type:"boolean",default:!1},title:{type:"string"},type:{type:"string"},description:{type:"string"},id:{type:"number"},opensInNewTab:{type:"boolean",default:!1},url:{type:"string"}}},ia=ca.name,la={title:Object(J.__)("Navigation Link"),parent:["core/navigation"],icon:Object(Y.createElement)(ce.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24"},Object(Y.createElement)(ce.Path,{d:"M12 7.27l4.28 10.43-3.47-1.53-.81-.36-.81.36-3.47 1.53L12 7.27M12 2L4.5 20.29l.71.71L12 18l6.79 3 .71-.71L12 2z"})),description:Object(J.__)("Add a page, link, or other item to your navigation."),__experimentalDisplayName:"label",edit:aa,save:function(){return Object(Y.createElement)(Z.InnerBlocks.Content,null)}},sa=function(e){function t(){var e;return Object(ke.a)(this,t),(e=Object(we.a)(this,Object(Ee.a)(t).apply(this,arguments))).setCommentsToShow=e.setCommentsToShow.bind(Object(xe.a)(e)),e.toggleDisplayAvatar=e.createToggleAttribute("displayAvatar"),e.toggleDisplayDate=e.createToggleAttribute("displayDate"),e.toggleDisplayExcerpt=e.createToggleAttribute("displayExcerpt"),e}return Object(Se.a)(t,e),Object(Ce.a)(t,[{key:"createToggleAttribute",value:function(e){var t=this;return function(){var n=t.props.attributes[e];(0,t.props.setAttributes)(Object(K.a)({},e,!n))}}},{key:"setCommentsToShow",value:function(e){this.props.setAttributes({commentsToShow:e})}},{key:"render",value:function(){var e=this.props.attributes,t=e.commentsToShow,n=e.displayAvatar,r=e.displayDate,o=e.displayExcerpt;return Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(Z.InspectorControls,null,Object(Y.createElement)(ce.PanelBody,{title:Object(J.__)("Latest Comments Settings")},Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Display Avatar"),checked:n,onChange:this.toggleDisplayAvatar}),Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Display Date"),checked:r,onChange:this.toggleDisplayDate}),Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Display Excerpt"),checked:o,onChange:this.toggleDisplayExcerpt}),Object(Y.createElement)(ce.RangeControl,{label:Object(J.__)("Number of Comments"),value:t,onChange:this.setCommentsToShow,min:1,max:100,required:!0}))),Object(Y.createElement)(ce.Disabled,null,Object(Y.createElement)(dn.a,{block:"core/latest-comments",attributes:this.props.attributes})))}}]),t}(Y.Component),ua=Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(Y.createElement)(ce.G,null,Object(Y.createElement)(ce.Path,{d:"M21.99 4c0-1.1-.89-2-1.99-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14l4 4-.01-18zM20 4v13.17L18.83 16H4V4h16zM6 12h12v2H6zm0-3h12v2H6zm0-3h12v2H6z"}))),ba="core/latest-comments",ma={title:Object(J.__)("Latest Comments"),description:Object(J.__)("Display a list of your most recent comments."),icon:ua,category:"widgets",keywords:[Object(J.__)("recent comments")],supports:{align:!0,html:!1},edit:sa},da=n(37),ha=n.n(da),pa=n(54),ga={per_page:-1},fa=function(e){function t(){var e;return Object(ke.a)(this,t),(e=Object(we.a)(this,Object(Ee.a)(t).apply(this,arguments))).state={categoriesList:[]},e}return Object(Se.a)(t,e),Object(Ce.a)(t,[{key:"componentDidMount",value:function(){var e=this;this.isStillMounted=!0,this.fetchRequest=ha()({path:Object(Be.addQueryArgs)("/wp/v2/categories",ga)}).then((function(t){e.isStillMounted&&e.setState({categoriesList:t})})).catch((function(){e.isStillMounted&&e.setState({categoriesList:[]})}))}},{key:"componentWillUnmount",value:function(){this.isStillMounted=!1}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,r=e.latestPosts,o=this.state.categoriesList,a=t.displayPostContentRadio,c=t.displayPostContent,i=t.displayPostDate,l=t.postLayout,s=t.columns,u=t.order,b=t.orderBy,m=t.categories,d=t.postsToShow,h=t.excerptLength,p=Object(Y.createElement)(Z.InspectorControls,null,Object(Y.createElement)(ce.PanelBody,{title:Object(J.__)("Post Content Settings")},Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Post Content"),checked:c,onChange:function(e){return n({displayPostContent:e})}}),c&&Object(Y.createElement)(ce.RadioControl,{label:"Show:",selected:a,options:[{label:"Excerpt",value:"excerpt"},{label:"Full Post",value:"full_post"}],onChange:function(e){return n({displayPostContentRadio:e})}}),c&&"excerpt"===a&&Object(Y.createElement)(ce.RangeControl,{label:Object(J.__)("Max number of words in excerpt"),value:h,onChange:function(e){return n({excerptLength:e})},min:10,max:100})),Object(Y.createElement)(ce.PanelBody,{title:Object(J.__)("Post Meta Settings")},Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Display post date"),checked:i,onChange:function(e){return n({displayPostDate:e})}})),Object(Y.createElement)(ce.PanelBody,{title:Object(J.__)("Sorting and Filtering")},Object(Y.createElement)(ce.QueryControls,Object(je.a)({order:u,orderBy:b},{numberOfItems:d,categoriesList:o,selectedCategoryId:m,onOrderChange:function(e){return n({order:e})},onOrderByChange:function(e){return n({orderBy:e})},onCategoryChange:function(e){return n({categories:""!==e?e:void 0})},onNumberOfItemsChange:function(e){return n({postsToShow:e})}})),"grid"===l&&Object(Y.createElement)(ce.RangeControl,{label:Object(J.__)("Columns"),value:s,onChange:function(e){return n({columns:e})},min:2,max:g?Math.min(6,r.length):6,required:!0}))),g=Array.isArray(r)&&r.length;if(!g)return Object(Y.createElement)(Y.Fragment,null,p,Object(Y.createElement)(ce.Placeholder,{icon:"admin-post",label:Object(J.__)("Latest Posts")},Array.isArray(r)?Object(J.__)("No posts found."):Object(Y.createElement)(ce.Spinner,null)));var f=r.length>d?r.slice(0,d):r,v=[{icon:"list-view",title:Object(J.__)("List view"),onClick:function(){return n({postLayout:"list"})},isActive:"list"===l},{icon:"grid-view",title:Object(J.__)("Grid view"),onClick:function(){return n({postLayout:"grid"})},isActive:"grid"===l}],O=Object(pa.__experimentalGetSettings)().formats.date;return Object(Y.createElement)(Y.Fragment,null,p,Object(Y.createElement)(Z.BlockControls,null,Object(Y.createElement)(ce.ToolbarGroup,{controls:v})),Object(Y.createElement)("ul",{className:ee()(this.props.className,Object(K.a)({"wp-block-latest-posts__list":!0,"is-grid":"grid"===l,"has-dates":i},"columns-".concat(s),"grid"===l))},f.map((function(e,t){var n=e.title.rendered.trim(),r=e.excerpt.rendered;""===e.excerpt.raw&&(r=e.content.raw);var o=document.createElement("div");return o.innerHTML=r,r=o.textContent||o.innerText||"",Object(Y.createElement)("li",{key:t},Object(Y.createElement)("a",{href:e.link,target:"_blank",rel:"noreferrer noopener"},n?Object(Y.createElement)(Y.RawHTML,null,n):Object(J.__)("(no title)")),i&&e.date_gmt&&Object(Y.createElement)("time",{dateTime:Object(pa.format)("c",e.date_gmt),className:"wp-block-latest-posts__post-date"},Object(pa.dateI18n)(O,e.date_gmt)),c&&"excerpt"===a&&Object(Y.createElement)("div",{className:"wp-block-latest-posts__post-excerpt"},Object(Y.createElement)(Y.RawHTML,{key:"html"},h'+Object(J.__)("Read more")+"":r.trim().split(" ",h).join(" "))),c&&"full_post"===a&&Object(Y.createElement)("div",{className:"wp-block-latest-posts__post-full-content"},Object(Y.createElement)(Y.RawHTML,{key:"html"},e.content.raw.trim())))}))))}}]),t}(Y.Component),va=Object(le.withSelect)((function(e,t){var n=t.attributes,r=n.postsToShow,o=n.order,a=n.orderBy,c=n.categories;return{latestPosts:(0,e("core").getEntityRecords)("postType","post",Object(te.pickBy)({categories:c,order:o,orderby:a,per_page:r},(function(e){return!Object(te.isUndefined)(e)})))}}))(fa),Oa=Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(Y.createElement)(ce.Rect,{x:"11",y:"7",width:"6",height:"2"}),Object(Y.createElement)(ce.Rect,{x:"11",y:"11",width:"6",height:"2"}),Object(Y.createElement)(ce.Rect,{x:"11",y:"15",width:"6",height:"2"}),Object(Y.createElement)(ce.Rect,{x:"7",y:"7",width:"2",height:"2"}),Object(Y.createElement)(ce.Rect,{x:"7",y:"11",width:"2",height:"2"}),Object(Y.createElement)(ce.Rect,{x:"7",y:"15",width:"2",height:"2"}),Object(Y.createElement)(ce.Path,{d:"M20.1,3H3.9C3.4,3,3,3.4,3,3.9v16.2C3,20.5,3.4,21,3.9,21h16.2c0.4,0,0.9-0.5,0.9-0.9V3.9C21,3.4,20.5,3,20.1,3z M19,19H5V5h14V19z"})),ja="core/latest-posts",ya={title:Object(J.__)("Latest Posts"),description:Object(J.__)("Display a list of your most recent posts."),icon:Oa,category:"widgets",keywords:[Object(J.__)("recent posts")],supports:{align:!0,html:!1},edit:va},_a=function(e){var t=e.setAttributes,n=e.reversed,r=e.start;return Object(Y.createElement)(Z.InspectorControls,null,Object(Y.createElement)(ce.PanelBody,{title:Object(J.__)("Ordered List Settings")},Object(Y.createElement)(ce.TextControl,{label:Object(J.__)("Start Value"),type:"number",onChange:function(e){var n=parseInt(e,10);t({start:isNaN(n)?void 0:n})},value:Number.isInteger(r)?r.toString(10):"",step:"1"}),Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Reverse List Numbering"),checked:n||!1,onChange:function(e){t({reversed:e||void 0})}})))};var ka=Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.G,null,Object(Y.createElement)(ce.Path,{d:"M9 19h12v-2H9v2zm0-6h12v-2H9v2zm0-8v2h12V5H9zm-4-.5c-.828 0-1.5.672-1.5 1.5S4.172 7.5 5 7.5 6.5 6.828 6.5 6 5.828 4.5 5 4.5zm0 6c-.828 0-1.5.672-1.5 1.5s.672 1.5 1.5 1.5 1.5-.672 1.5-1.5-.672-1.5-1.5-1.5zm0 6c-.828 0-1.5.672-1.5 1.5s.672 1.5 1.5 1.5 1.5-.672 1.5-1.5-.672-1.5-1.5-1.5z"})));var Ca=Object(Q.a)({},Object($.getPhrasingContentSchema)(),{ul:{},ol:{attributes:["type","start","reversed"]}});["ul","ol"].forEach((function(e){Ca[e].children={li:{children:Ca}}}));var wa={from:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:function(e){return Object($.createBlock)("core/list",{values:Object(zt.toHTMLString)({value:Object(zt.join)(e.map((function(t){var n=t.content,r=Object(zt.create)({html:n});return e.length>1?r:Object(zt.replace)(r,/\n/g,zt.__UNSTABLE_LINE_SEPARATOR)})),zt.__UNSTABLE_LINE_SEPARATOR),multilineTag:"li"})})}},{type:"block",blocks:["core/quote"],transform:function(e){var t=e.value;return Object($.createBlock)("core/list",{values:Object(zt.toHTMLString)({value:Object(zt.create)({html:t,multilineTag:"p"}),multilineTag:"li"})})}},{type:"raw",selector:"ol,ul",schema:{ol:Ca.ol,ul:Ca.ul},transform:function(e){var t={ordered:"OL"===e.nodeName};if(t.ordered){var n=e.getAttribute("type");n&&(t.type=n),null!==e.getAttribute("reversed")&&(t.reversed=!0);var r=parseInt(e.getAttribute("start"),10);isNaN(r)||1===r&&!t.reversed||(t.start=r)}return Object($.createBlock)("core/list",Object(Q.a)({},Object($.getBlockAttributes)("core/list",e.outerHTML),t))}}].concat(Object(W.a)(["*","-"].map((function(e){return{type:"prefix",prefix:e,transform:function(e){return Object($.createBlock)("core/list",{values:"
  • ".concat(e,"
  • ")})}}}))),Object(W.a)(["1.","1)"].map((function(e){return{type:"prefix",prefix:e,transform:function(e){return Object($.createBlock)("core/list",{ordered:!0,values:"
  • ".concat(e,"
  • ")})}}})))),to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.values;return Object(zt.split)(Object(zt.create)({html:t,multilineTag:"li",multilineWrapperTags:["ul","ol"]}),zt.__UNSTABLE_LINE_SEPARATOR).map((function(e){return Object($.createBlock)("core/paragraph",{content:Object(zt.toHTMLString)({value:e})})}))}},{type:"block",blocks:["core/quote"],transform:function(e){var t=e.values;return Object($.createBlock)("core/quote",{value:Object(zt.toHTMLString)({value:Object(zt.create)({html:t,multilineTag:"li",multilineWrapperTags:["ul","ol"]}),multilineTag:"p"})})}}]},Ea={name:"core/list",category:"common",attributes:{ordered:{type:"boolean",default:!1},values:{type:"string",source:"html",selector:"ol,ul",multiline:"li",__unstableMultilineWrapperTags:["ol","ul"],default:""},type:{type:"string"},start:{type:"number"},reversed:{type:"boolean"}}},xa=Ea.name,Sa={title:Object(J.__)("List"),description:Object(J.__)("Create a bulleted or numbered list."),icon:ka,keywords:[Object(J.__)("bullet list"),Object(J.__)("ordered list"),Object(J.__)("numbered list")],supports:{className:!1},example:{attributes:{values:"
  • Alice.
  • The White Rabbit.
  • The Cheshire Cat.
  • The Mad Hatter.
  • The Queen of Hearts.
  • "}},transforms:wa,merge:function(e,t){var n=t.values;return n&&"
  • "!==n?Object(Q.a)({},e,{values:e.values+n}):e},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.mergeBlocks,o=e.onReplace,a=e.className,c=t.ordered,i=t.values,l=t.type,s=t.reversed,u=t.start,b=c?"ol":"ul";return Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(Z.RichText,{identifier:"values",multiline:"li",tagName:b,onChange:function(e){return n({values:e})},value:i,className:a,placeholder:Object(J.__)("Write list…"),onMerge:r,onSplit:function(e){return Object($.createBlock)(xa,Object(Q.a)({},t,{values:e}))},__unstableOnSplitMiddle:function(){return Object($.createBlock)("core/paragraph")},onReplace:o,onRemove:function(){return o([])},start:u,reversed:s,type:l},(function(e){var t=e.value,r=e.onChange;return Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(Z.RichTextShortcut,{type:"primary",character:"[",onUse:function(){r(Object(zt.__unstableOutdentListItems)(t))}}),Object(Y.createElement)(Z.RichTextShortcut,{type:"primary",character:"]",onUse:function(){r(Object(zt.__unstableIndentListItems)(t,{type:b}))}}),Object(Y.createElement)(Z.RichTextShortcut,{type:"primary",character:"m",onUse:function(){r(Object(zt.__unstableIndentListItems)(t,{type:b}))}}),Object(Y.createElement)(Z.RichTextShortcut,{type:"primaryShift",character:"m",onUse:function(){r(Object(zt.__unstableOutdentListItems)(t))}}),Object(Y.createElement)(Z.BlockControls,null,Object(Y.createElement)(ce.ToolbarGroup,{controls:[{icon:"editor-ul",title:Object(J.__)("Convert to unordered list"),isActive:Object(zt.__unstableIsActiveListType)(t,"ul",b),onClick:function(){r(Object(zt.__unstableChangeListType)(t,{type:"ul"})),Object(zt.__unstableIsListRootSelected)(t)&&n({ordered:!1})}},{icon:"editor-ol",title:Object(J.__)("Convert to ordered list"),isActive:Object(zt.__unstableIsActiveListType)(t,"ol",b),onClick:function(){r(Object(zt.__unstableChangeListType)(t,{type:"ol"})),Object(zt.__unstableIsListRootSelected)(t)&&n({ordered:!0})}},{icon:"editor-outdent",title:Object(J.__)("Outdent list item"),shortcut:Object(J._x)("Backspace","keyboard key"),isDisabled:!Object(zt.__unstableCanOutdentListItems)(t),onClick:function(){r(Object(zt.__unstableOutdentListItems)(t))}},{icon:"editor-indent",title:Object(J.__)("Indent list item"),shortcut:Object(J._x)("Space","keyboard key"),isDisabled:!Object(zt.__unstableCanIndentListItems)(t),onClick:function(){r(Object(zt.__unstableIndentListItems)(t,{type:b}))}}]})))})),c&&Object(Y.createElement)(_a,{setAttributes:n,ordered:c,reversed:s,start:u}))},save:function(e){var t=e.attributes,n=t.ordered,r=t.values,o=t.type,a=t.reversed,c=t.start,i=n?"ol":"ul";return Object(Y.createElement)(Z.RichText.Content,{tagName:i,value:r,type:o,reversed:a,start:c,multiline:"li"})}};var Ta=Object(le.withDispatch)((function(e,t){var n=t.clientId,r=t.attributes,o=e("core/block-editor").replaceBlock;return{convertToHTML:function(){o(n,Object($.createBlock)("core/html",{content:r.originalUndelimitedContent}))}}}))((function(e){var t,n=e.attributes,r=e.convertToHTML,o=n.originalName,a=n.originalUndelimitedContent,c=!!a,i=Object($.getBlockType)("core/html"),l=[];return c&&i?(t=Object(J.sprintf)(Object(J.__)('Your site doesn’t include support for the "%s" block. You can leave this block intact, convert its content to a Custom HTML block, or remove it entirely.'),o),l.push(Object(Y.createElement)(ce.Button,{key:"convert",onClick:r,isLarge:!0,isPrimary:!0},Object(J.__)("Keep as HTML")))):t=Object(J.sprintf)(Object(J.__)('Your site doesn’t include support for the "%s" block. You can leave this block intact or remove it entirely.'),o),Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(Z.Warning,{actions:l},t),Object(Y.createElement)(Y.RawHTML,null,a))}));var Na={name:"core/missing",category:"common",attributes:{originalName:{type:"string"},originalUndelimitedContent:{type:"string"},originalContent:{type:"string",source:"html"}}},Ba=Na.name,Ra={name:Ba,title:Object(J.__)("Unrecognized Block"),description:Object(J.__)("Your site doesn’t include support for this block."),supports:{className:!1,customClassName:!1,inserter:!1,html:!1,reusable:!1},edit:Ta,save:function(e){var t=e.attributes;return Object(Y.createElement)(Y.RawHTML,null,t.originalContent)}},Aa=function(e){function t(){var e;return Object(ke.a)(this,t),(e=Object(we.a)(this,Object(Ee.a)(t).apply(this,arguments))).onChangeInput=e.onChangeInput.bind(Object(xe.a)(e)),e.onKeyDown=e.onKeyDown.bind(Object(xe.a)(e)),e.state={defaultText:Object(J.__)("Read more")},e}return Object(Se.a)(t,e),Object(Ce.a)(t,[{key:"onChangeInput",value:function(e){this.setState({defaultText:""});var t=0===e.target.value.length?void 0:e.target.value;this.props.setAttributes({customText:t})}},{key:"onKeyDown",value:function(e){var t=e.keyCode,n=this.props.insertBlocksAfter;t===Ne.ENTER&&n([Object($.createBlock)(Object($.getDefaultBlockName)())])}},{key:"getHideExcerptHelp",value:function(e){return e?Object(J.__)("The excerpt is hidden."):Object(J.__)("The excerpt is visible.")}},{key:"render",value:function(){var e=this.props.attributes,t=e.customText,n=e.noTeaser,r=this.props.setAttributes,o=this.state.defaultText,a=void 0!==t?t:o,c=a.length+1;return Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(Z.InspectorControls,null,Object(Y.createElement)(ce.PanelBody,null,Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Hide the excerpt on the full content page"),checked:!!n,onChange:function(){return r({noTeaser:!n})},help:this.getHideExcerptHelp}))),Object(Y.createElement)("div",{className:"wp-block-more"},Object(Y.createElement)("input",{type:"text",value:a,size:c,onChange:this.onChangeInput,onKeyDown:this.onKeyDown})))}}]),t}(Y.Component),Ia=Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(Y.createElement)(ce.G,null,Object(Y.createElement)(ce.Path,{d:"M2 9v2h19V9H2zm0 6h5v-2H2v2zm7 0h5v-2H9v2zm7 0h5v-2h-5v2z"})));var Pa={from:[{type:"raw",schema:{"wp-block":{attributes:["data-block"]}},isMatch:function(e){return e.dataset&&"core/more"===e.dataset.block},transform:function(e){var t=e.dataset,n=t.customText,r=t.noTeaser,o={};return n&&(o.customText=n),""===r&&(o.noTeaser=!0),Object($.createBlock)("core/more",o)}}]},Ma={name:"core/more",category:"layout",attributes:{customText:{type:"string"},noTeaser:{type:"boolean",default:!1}}},La=Ma.name,Ha={title:Object(J._x)("More","block name"),description:Object(J.__)("Content before this block will be shown in the excerpt on your archives page."),icon:Ia,supports:{customClassName:!1,className:!1,html:!1,multiple:!1},example:{},transforms:Pa,edit:Aa,save:function(e){var t=e.attributes,n=t.customText,r=t.noTeaser,o=n?"\x3c!--more ".concat(n,"--\x3e"):"\x3c!--more--\x3e",a=r?"\x3c!--noteaser--\x3e":"";return Object(Y.createElement)(Y.RawHTML,null,Object(te.compact)([o,a]).join("\n"))}};var za=Object(Y.createElement)(ce.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24px",height:"24px",viewBox:"0 0 24 24"},Object(Y.createElement)(ce.Path,{d:"M0 0h24v24H0z",fill:"none"}),Object(Y.createElement)(ce.Path,{d:"M9 11h6v2H9zM2 11h5v2H2zM17 11h5v2h-5zM6 4h7v5h7V8l-6-6H6a2 2 0 0 0-2 2v5h2zM18 20H6v-5H4v5a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-5h-2z"}));var Va={from:[{type:"raw",schema:{"wp-block":{attributes:["data-block"]}},isMatch:function(e){return e.dataset&&"core/nextpage"===e.dataset.block},transform:function(){return Object($.createBlock)("core/nextpage",{})}}]},Da={name:"core/nextpage",category:"layout"},Fa=Da.name,Ua={title:Object(J.__)("Page Break"),description:Object(J.__)("Separate your content into a multi-page experience."),icon:za,keywords:[Object(J.__)("next page"),Object(J.__)("pagination")],supports:{customClassName:!1,className:!1,html:!1},example:{},transforms:Va,edit:function(){return Object(Y.createElement)("div",{className:"wp-block-nextpage"},Object(Y.createElement)("span",null,Object(J.__)("Page break")))},save:function(){return Object(Y.createElement)(Y.RawHTML,null,"\x3c!--nextpage--\x3e")}};var Ga=Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(Y.createElement)(ce.Path,{d:"M20,4H4C2.9,4,2,4.9,2,6v12c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2V6C22,4.9,21.1,4,20,4z M20,18H4V6h16V18z"}),Object(Y.createElement)(ce.Rect,{x:"6",y:"10",width:"2",height:"2"}),Object(Y.createElement)(ce.Rect,{x:"6",y:"14",width:"8",height:"2"}),Object(Y.createElement)(ce.Rect,{x:"16",y:"14",width:"2",height:"2"}),Object(Y.createElement)(ce.Rect,{x:"10",y:"10",width:"8",height:"2"}));var qa={from:[{type:"block",blocks:["core/code","core/paragraph"],transform:function(e){var t=e.content;return Object($.createBlock)("core/preformatted",{content:t})}},{type:"raw",isMatch:function(e){return"PRE"===e.nodeName&&!(1===e.children.length&&"CODE"===e.firstChild.nodeName)},schema:{pre:{children:Object($.getPhrasingContentSchema)()}}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object($.createBlock)("core/paragraph",e)}}]},Wa={name:"core/preformatted",category:"formatting",attributes:{content:{type:"string",source:"html",selector:"pre",default:"",__unstablePreserveWhiteSpace:!0}}},Ka=Wa.name,Za={title:Object(J.__)("Preformatted"),description:Object(J.__)("Add text that respects your spacing and tabs, and also allows styling."),icon:Ga,example:{attributes:{content:Object(J.__)("EXT. XANADU - FAINT DAWN - 1940 (MINIATURE)")+"\n"+Object(J.__)("Window, very small in the distance, illuminated.")+"\n"+Object(J.__)("All 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:qa,edit:function(e){var t=e.attributes,n=e.mergeBlocks,r=e.setAttributes,o=e.className,a=e.style,c=t.content;return Object(Y.createElement)(Z.RichText,{tagName:"pre",identifier:"content",preserveWhiteSpace:!0,value:c,onChange:function(e){r({content:e})},placeholder:Object(J.__)("Write preformatted text…"),className:o,style:a,onMerge:n})},save:function(e){var t=e.attributes.content;return Object(Y.createElement)(Z.RichText.Content,{tagName:"pre",value:t})},merge:function(e,t){return{content:e.content+t.content}}},$a="is-style-".concat("solid-color"),Ja={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 Qa(e){if(e){var t=e.match(/border-color:([^;]+)[;]?/);return t&&t[1]?t[1]:void 0}}var Ya=[{attributes:Object(Q.a)({},Ja,{figureStyle:{source:"attribute",selector:"figure",attribute:"style"}}),save:function(e){var t,n,r=e.attributes,o=r.mainColor,a=r.customMainColor,c=r.textColor,i=r.customTextColor,l=r.value,s=r.citation,u=r.className,b=r.figureStyle;if(Object(te.includes)(u,$a)){var m=Object(Z.getColorClassName)("background-color",o);t=ee()(Object(K.a)({"has-background":m||a},m,m)),n={backgroundColor:m?void 0:a}}else if(a)n={borderColor:a};else if(o){n={borderColor:Qa(b)}}var d=Object(Z.getColorClassName)("color",c),h=(c||i)&&ee()("has-text-color",Object(K.a)({},d,d)),p=d?void 0:{color:i};return Object(Y.createElement)("figure",{className:t,style:n},Object(Y.createElement)("blockquote",{className:h,style:p},Object(Y.createElement)(Z.RichText.Content,{value:l,multiline:!0}),!Z.RichText.isEmpty(s)&&Object(Y.createElement)(Z.RichText.Content,{tagName:"cite",value:s})))},migrate:function(e){var t=e.className,n=e.figureStyle,r=e.mainColor,o=Object(Ht.a)(e,["className","figureStyle","mainColor"]);if(!Object(te.includes)(t,$a)&&r&&n){var a=Qa(n);if(a)return Object(Q.a)({},o,{className:t,customMainColor:a})}return Object(Q.a)({className:t,mainColor:r},o)}},{attributes:Ja,save:function(e){var t,n,r=e.attributes,o=r.mainColor,a=r.customMainColor,c=r.textColor,i=r.customTextColor,l=r.value,s=r.citation,u=r.className;if(Object(te.includes)(u,$a))(t=Object(Z.getColorClassName)("background-color",o))||(n={backgroundColor:a});else if(a)n={borderColor:a};else if(o){var b=Object(te.get)(Object(le.select)("core/block-editor").getSettings(),["colors"],[]);n={borderColor:Object(Z.getColorObjectByAttributeValues)(b,o).color}}var m=Object(Z.getColorClassName)("color",c),d=c||i?ee()("has-text-color",Object(K.a)({},m,m)):void 0,h=m?void 0:{color:i};return Object(Y.createElement)("figure",{className:t,style:n},Object(Y.createElement)("blockquote",{className:d,style:h},Object(Y.createElement)(Z.RichText.Content,{value:l,multiline:!0}),!Z.RichText.isEmpty(s)&&Object(Y.createElement)(Z.RichText.Content,{tagName:"cite",value:s})))}},{attributes:Object(Q.a)({},Ja),save:function(e){var t=e.attributes,n=t.value,r=t.citation;return Object(Y.createElement)("blockquote",null,Object(Y.createElement)(Z.RichText.Content,{value:n,multiline:!0}),!Z.RichText.isEmpty(r)&&Object(Y.createElement)(Z.RichText.Content,{tagName:"cite",value:r}))}},{attributes:Object(Q.a)({},Ja,{citation:{type:"string",source:"html",selector:"footer"},align:{type:"string",default:"none"}}),save:function(e){var t=e.attributes,n=t.value,r=t.citation,o=t.align;return Object(Y.createElement)("blockquote",{className:"align".concat(o)},Object(Y.createElement)(Z.RichText.Content,{value:n,multiline:!0}),!Z.RichText.isEmpty(r)&&Object(Y.createElement)(Z.RichText.Content,{tagName:"footer",value:r}))}}],Xa=function(e){function t(e){var n;return Object(ke.a)(this,t),(n=Object(we.a)(this,Object(Ee.a)(t).call(this,e))).wasTextColorAutomaticallyComputed=!1,n.pullQuoteMainColorSetter=n.pullQuoteMainColorSetter.bind(Object(xe.a)(n)),n.pullQuoteTextColorSetter=n.pullQuoteTextColorSetter.bind(Object(xe.a)(n)),n}return Object(Se.a)(t,e),Object(Ce.a)(t,[{key:"pullQuoteMainColorSetter",value:function(e){var t=this.props,n=t.colorUtils,r=t.textColor,o=t.setAttributes,a=t.setTextColor,c=t.setMainColor,i=t.className,l=Object(te.includes)(i,$a),s=!r.color||this.wasTextColorAutomaticallyComputed,u=l&&s&&e;l?c(e):o({customMainColor:e}),u&&(this.wasTextColorAutomaticallyComputed=!0,a(n.getMostReadableColor(e)))}},{key:"pullQuoteTextColorSetter",value:function(e){(0,this.props.setTextColor)(e),this.wasTextColorAutomaticallyComputed=!1}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.attributes,r=t.className,o=t.mainColor,a=t.setAttributes;n.mainColor&&!Object(te.includes)(r,$a)&&Object(te.includes)(e.className,$a)&&a({mainColor:void 0,customMainColor:o.color})}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.mainColor,r=e.textColor,o=e.setAttributes,a=e.isSelected,c=e.className,i=t.value,l=t.citation,s=Object(te.includes)(c,$a),u=s?{backgroundColor:n.color}:{borderColor:n.color},b=ee()(c,Object(K.a)({"has-background":s&&n.color},n.class,s&&n.class)),m={color:r.color},d=r.color&&ee()("has-text-color",Object(K.a)({},r.class,r.class));return Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)("figure",{style:u,className:b},Object(Y.createElement)("blockquote",{style:m,className:d},Object(Y.createElement)(Z.RichText,{multiline:!0,value:i,onChange:function(e){return o({value:e})},placeholder:Object(J.__)("Write quote…")}),(!Z.RichText.isEmpty(l)||a)&&Object(Y.createElement)(Z.RichText,{value:l,placeholder:Object(J.__)("Write citation…"),onChange:function(e){return o({citation:e})},className:"wp-block-pullquote__citation"}))),Object(Y.createElement)(Z.InspectorControls,null,Object(Y.createElement)(Z.PanelColorSettings,{title:Object(J.__)("Color Settings"),colorSettings:[{value:n.color,onChange:this.pullQuoteMainColorSetter,label:Object(J.__)("Main Color")},{value:r.color,onChange:this.pullQuoteTextColorSetter,label:Object(J.__)("Text Color")}]},s&&Object(Y.createElement)(Z.ContrastChecker,Object(je.a)({textColor:r.color,backgroundColor:n.color},{isLargeText:!1})))))}}]),t}(Y.Component),ec=Object(Z.withColors)({mainColor:"background-color",textColor:"color"})(Xa),tc=Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(Y.createElement)(ce.Polygon,{points:"21 18 2 18 2 20 21 20"}),Object(Y.createElement)(ce.Path,{d:"m19 10v4h-15v-4h15m1-2h-17c-0.55 0-1 0.45-1 1v6c0 0.55 0.45 1 1 1h17c0.55 0 1-0.45 1-1v-6c0-0.55-0.45-1-1-1z"}),Object(Y.createElement)(ce.Polygon,{points:"21 4 2 4 2 6 21 6"}));var nc={name:"core/pullquote",category:"formatting",attributes:{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"}}},rc=nc.name,oc={title:Object(J.__)("Pullquote"),description:Object(J.__)("Give special visual emphasis to a quote from your text."),icon:tc,example:{attributes:{value:"

    "+Object(J.__)("One of the hardest things to do in technology is disrupt yourself.")+"

    ",citation:"Matt Mullenweg"}},styles:[{name:"default",label:Object(J._x)("Default","block style"),isDefault:!0},{name:"solid-color",label:Object(J.__)("Solid Color")}],supports:{align:["left","right","wide","full"]},edit:ec,save:function(e){var t,n,r=e.attributes,o=r.mainColor,a=r.customMainColor,c=r.textColor,i=r.customTextColor,l=r.value,s=r.citation,u=r.className;if(Object(te.includes)(u,$a)){var b=Object(Z.getColorClassName)("background-color",o);t=ee()(Object(K.a)({"has-background":b||a},b,b)),n={backgroundColor:b?void 0:a}}else a&&(n={borderColor:a});var m=Object(Z.getColorClassName)("color",c),d=(c||i)&&ee()("has-text-color",Object(K.a)({},m,m)),h=m?void 0:{color:i};return Object(Y.createElement)("figure",{className:t,style:n},Object(Y.createElement)("blockquote",{className:d,style:h},Object(Y.createElement)(Z.RichText.Content,{value:l,multiline:!0}),!Z.RichText.isEmpty(s)&&Object(Y.createElement)(Z.RichText.Content,{tagName:"cite",value:s})))},deprecated:Ya},ac=function(e){function t(){var e;return Object(ke.a)(this,t),(e=Object(we.a)(this,Object(Ee.a)(t).apply(this,arguments))).titleField=Object(Y.createRef)(),e.editButton=Object(Y.createRef)(),e.handleFormSubmit=e.handleFormSubmit.bind(Object(xe.a)(e)),e.handleTitleChange=e.handleTitleChange.bind(Object(xe.a)(e)),e.handleTitleKeyDown=e.handleTitleKeyDown.bind(Object(xe.a)(e)),e}return Object(Se.a)(t,e),Object(Ce.a)(t,[{key:"componentDidMount",value:function(){this.props.isEditing&&this.titleField.current&&this.titleField.current.select()}},{key:"componentDidUpdate",value:function(e){!e.isEditing&&this.props.isEditing&&this.titleField.current.select(),!e.isEditing&&!e.isSaving||this.props.isEditing||this.props.isSaving||this.editButton.current.focus()}},{key:"handleFormSubmit",value:function(e){e.preventDefault(),this.props.onSave()}},{key:"handleTitleChange",value:function(e){this.props.onChangeTitle(e.target.value)}},{key:"handleTitleKeyDown",value:function(e){e.keyCode===Ne.ESCAPE&&(e.stopPropagation(),this.props.onCancel())}},{key:"render",value:function(){var e=this.props,t=e.isEditing,n=e.title,r=e.isSaving,o=e.isEditDisabled,a=e.onEdit,c=e.instanceId;return Object(Y.createElement)(Y.Fragment,null,!t&&!r&&Object(Y.createElement)("div",{className:"reusable-block-edit-panel"},Object(Y.createElement)("b",{className:"reusable-block-edit-panel__info"},n),Object(Y.createElement)(ce.Button,{ref:this.editButton,isLarge:!0,className:"reusable-block-edit-panel__button",disabled:o,onClick:a},Object(J.__)("Edit"))),(t||r)&&Object(Y.createElement)("form",{className:"reusable-block-edit-panel",onSubmit:this.handleFormSubmit},Object(Y.createElement)("label",{htmlFor:"reusable-block-edit-panel__title-".concat(c),className:"reusable-block-edit-panel__label"},Object(J.__)("Name:")),Object(Y.createElement)("input",{ref:this.titleField,type:"text",disabled:r,className:"reusable-block-edit-panel__title",value:n,onChange:this.handleTitleChange,onKeyDown:this.handleTitleKeyDown,id:"reusable-block-edit-panel__title-".concat(c)}),Object(Y.createElement)(ce.Button,{type:"submit",isLarge:!0,isBusy:r,disabled:!n||r,className:"reusable-block-edit-panel__button"},Object(J.__)("Save"))))}}]),t}(Y.Component),cc=Object(ie.withInstanceId)(ac),ic=function(e){function t(e){var n,r=e.reusableBlock;return Object(ke.a)(this,t),(n=Object(we.a)(this,Object(Ee.a)(t).apply(this,arguments))).startEditing=n.startEditing.bind(Object(xe.a)(n)),n.stopEditing=n.stopEditing.bind(Object(xe.a)(n)),n.setBlocks=n.setBlocks.bind(Object(xe.a)(n)),n.setTitle=n.setTitle.bind(Object(xe.a)(n)),n.save=n.save.bind(Object(xe.a)(n)),n.state=r?{isEditing:r.isTemporary,title:r.title,blocks:Object($.parse)(r.content)}:{isEditing:!1,title:null,blocks:[]},n}return Object(Se.a)(t,e),Object(Ce.a)(t,[{key:"componentDidMount",value:function(){this.props.reusableBlock||this.props.fetchReusableBlock()}},{key:"componentDidUpdate",value:function(e){e.reusableBlock!==this.props.reusableBlock&&null===this.state.title&&this.setState({title:this.props.reusableBlock.title,blocks:Object($.parse)(this.props.reusableBlock.content)})}},{key:"startEditing",value:function(){var e=this.props.reusableBlock;this.setState({isEditing:!0,title:e.title,blocks:Object($.parse)(e.content)})}},{key:"stopEditing",value:function(){this.setState({isEditing:!1,title:null,blocks:[]})}},{key:"setBlocks",value:function(e){this.setState({blocks:e})}},{key:"setTitle",value:function(e){this.setState({title:e})}},{key:"save",value:function(){var e=this.props,t=e.onChange,n=e.onSave,r=this.state,o=r.blocks;t({title:r.title,content:Object($.serialize)(o)}),n(),this.stopEditing()}},{key:"render",value:function(){var e=this.props,t=e.isSelected,n=e.reusableBlock,r=e.isFetching,o=e.isSaving,a=e.canUpdateBlock,c=e.settings,i=this.state,l=i.isEditing,s=i.title,u=i.blocks;if(!n&&r)return Object(Y.createElement)(ce.Placeholder,null,Object(Y.createElement)(ce.Spinner,null));if(!n)return Object(Y.createElement)(ce.Placeholder,null,Object(J.__)("Block has been deleted or is unavailable."));var b=Object(Y.createElement)(Z.BlockEditorProvider,{settings:c,value:u,onChange:this.setBlocks,onInput:this.setBlocks},Object(Y.createElement)(Z.WritingFlow,null,Object(Y.createElement)(Z.BlockList,null)));return l||(b=Object(Y.createElement)(ce.Disabled,null,b)),Object(Y.createElement)("div",{className:"block-library-block__reusable-block-container"},(t||l)&&Object(Y.createElement)(cc,{isEditing:l,title:null!==s?s:n.title,isSaving:o&&!n.isTemporary,isEditDisabled:!a,onEdit:this.startEditing,onChangeTitle:this.setTitle,onSave:this.save,onCancel:this.stopEditing}),b)}}]),t}(Y.Component),lc=Object(ie.compose)([Object(le.withSelect)((function(e,t){var n=e("core/editor"),r=n.__experimentalGetReusableBlock,o=n.__experimentalIsFetchingReusableBlock,a=n.__experimentalIsSavingReusableBlock,c=e("core").canUser,i=e("core/block-editor"),l=i.__experimentalGetParsedReusableBlock,s=i.getSettings,u=t.attributes.ref,b=r(u);return{reusableBlock:b,isFetching:o(u),isSaving:a(u),blocks:b?l(b.id):null,canUpdateBlock:!!b&&!b.isTemporary&&!!c("update","blocks",u),settings:s()}})),Object(le.withDispatch)((function(e,t){var n=e("core/editor"),r=n.__experimentalFetchReusableBlocks,o=n.__experimentalUpdateReusableBlock,a=n.__experimentalSaveReusableBlock,c=t.attributes.ref;return{fetchReusableBlock:Object(te.partial)(r,c),onChange:Object(te.partial)(o,c),onSave:Object(te.partial)(a,c)}}))])(ic),sc="core/block",uc={title:Object(J.__)("Reusable Block"),category:"reusable",description:Object(J.__)("Create content, and save it for you and other contributors to reuse across your site. Update the block, and the changes apply everywhere it’s used."),supports:{customClassName:!1,html:!1,inserter:!1},edit:lc},bc=function(e){function t(){var e;return Object(ke.a)(this,t),(e=Object(we.a)(this,Object(Ee.a)(t).apply(this,arguments))).state={editing:!e.props.attributes.feedURL},e.toggleAttribute=e.toggleAttribute.bind(Object(xe.a)(e)),e.onSubmitURL=e.onSubmitURL.bind(Object(xe.a)(e)),e}return Object(Se.a)(t,e),Object(Ce.a)(t,[{key:"toggleAttribute",value:function(e){var t=this;return function(){var n=t.props.attributes[e];(0,t.props.setAttributes)(Object(K.a)({},e,!n))}}},{key:"onSubmitURL",value:function(e){e.preventDefault(),this.props.attributes.feedURL&&this.setState({editing:!1})}},{key:"render",value:function(){var e=this,t=this.props.attributes,n=t.blockLayout,r=t.columns,o=t.displayAuthor,a=t.displayExcerpt,c=t.displayDate,i=t.excerptLength,l=t.feedURL,s=t.itemsToShow,u=this.props.setAttributes;if(this.state.editing)return Object(Y.createElement)(ce.Placeholder,{icon:"rss",label:"RSS"},Object(Y.createElement)("form",{onSubmit:this.onSubmitURL},Object(Y.createElement)(ce.TextControl,{placeholder:Object(J.__)("Enter URL here…"),value:l,onChange:function(e){return u({feedURL:e})},className:"components-placeholder__input"}),Object(Y.createElement)(ce.Button,{isLarge:!0,type:"submit"},Object(J.__)("Use URL"))));var b=[{icon:"edit",title:Object(J.__)("Edit RSS URL"),onClick:function(){return e.setState({editing:!0})}},{icon:"list-view",title:Object(J.__)("List view"),onClick:function(){return u({blockLayout:"list"})},isActive:"list"===n},{icon:"grid-view",title:Object(J.__)("Grid view"),onClick:function(){return u({blockLayout:"grid"})},isActive:"grid"===n}];return Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(Z.BlockControls,null,Object(Y.createElement)(ce.ToolbarGroup,{controls:b})),Object(Y.createElement)(Z.InspectorControls,null,Object(Y.createElement)(ce.PanelBody,{title:Object(J.__)("RSS Settings")},Object(Y.createElement)(ce.RangeControl,{label:Object(J.__)("Number of items"),value:s,onChange:function(e){return u({itemsToShow:e})},min:1,max:10,required:!0}),Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Display author"),checked:o,onChange:this.toggleAttribute("displayAuthor")}),Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Display date"),checked:c,onChange:this.toggleAttribute("displayDate")}),Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Display excerpt"),checked:a,onChange:this.toggleAttribute("displayExcerpt")}),a&&Object(Y.createElement)(ce.RangeControl,{label:Object(J.__)("Max number of words in excerpt"),value:i,onChange:function(e){return u({excerptLength:e})},min:10,max:100,required:!0}),"grid"===n&&Object(Y.createElement)(ce.RangeControl,{label:Object(J.__)("Columns"),value:r,onChange:function(e){return u({columns:e})},min:2,max:6,required:!0}))),Object(Y.createElement)(ce.Disabled,null,Object(Y.createElement)(dn.a,{block:"core/rss",attributes:this.props.attributes})))}}]),t}(Y.Component),mc="core/rss",dc={title:Object(J.__)("RSS"),description:Object(J.__)("Display entries from any RSS or Atom feed."),icon:"rss",category:"widgets",keywords:[Object(J.__)("atom"),Object(J.__)("feed")],supports:{align:!0,html:!1},example:{attributes:{feedURL:"https://wordpress.org"}},edit:bc};var hc="core/search",pc={title:Object(J.__)("Search"),description:Object(J.__)("Help visitors find your content."),icon:"search",category:"widgets",keywords:[Object(J.__)("find")],supports:{align:!0},example:{},edit:function(e){var t=e.className,n=e.attributes,r=e.setAttributes,o=n.label,a=n.placeholder,c=n.buttonText;return Object(Y.createElement)("div",{className:t},Object(Y.createElement)(Z.RichText,{className:"wp-block-search__label","aria-label":Object(J.__)("Label text"),placeholder:Object(J.__)("Add label…"),withoutInteractiveFormatting:!0,value:o,onChange:function(e){return r({label:e})}}),Object(Y.createElement)("input",{className:"wp-block-search__input","aria-label":Object(J.__)("Optional placeholder text"),placeholder:a?void 0:Object(J.__)("Optional placeholder…"),value:a,onChange:function(e){return r({placeholder:e.target.value})}}),Object(Y.createElement)(Z.RichText,{className:"wp-block-search__button","aria-label":Object(J.__)("Button text"),placeholder:Object(J.__)("Add button text…"),withoutInteractiveFormatting:!0,value:c,onChange:function(e){return r({buttonText:e})}}))}},gc=[{attributes:{backgroundColor:{type:"string"},customBackgroundColor:{type:"string"}},supports:{align:["wide","full"],anchor:!0,html:!1},save:function(e){var t=e.attributes,n=t.backgroundColor,r=t.customBackgroundColor,o=Object(Z.getColorClassName)("background-color",n),a=ee()(o,{"has-background":n||r}),c={backgroundColor:o?void 0:r};return Object(Y.createElement)("div",{className:a,style:c},Object(Y.createElement)(Z.InnerBlocks.Content,null))}}];var fc=Object(ie.compose)([Object(Z.withColors)("backgroundColor"),Object(le.withSelect)((function(e,t){var n=t.clientId,r=(0,e("core/block-editor").getBlock)(n);return{hasInnerBlocks:!(!r||!r.innerBlocks.length)}}))])((function(e){var t=e.className,n=e.setBackgroundColor,r=e.backgroundColor,o=e.hasInnerBlocks,a={backgroundColor:r.color},c=ee()(t,r.class,{"has-background":!!r.color});return Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(Z.InspectorControls,null,Object(Y.createElement)(Z.PanelColorSettings,{title:Object(J.__)("Color Settings"),colorSettings:[{value:r.color,onChange:n,label:Object(J.__)("Background Color")}]})),Object(Y.createElement)("div",{className:c,style:a},Object(Y.createElement)("div",{className:"wp-block-group__inner-container"},Object(Y.createElement)(Z.InnerBlocks,{renderAppender:!o&&Z.InnerBlocks.ButtonBlockAppender}))))})),vc=Object(Y.createElement)(ce.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M9 8a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1h-1v3a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1h1V8zm2 3h4V9h-4v2zm2 2H9v2h4v-2z"}),Object(Y.createElement)(ce.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M2 4.732A2 2 0 1 1 4.732 2h14.536A2 2 0 1 1 22 4.732v14.536A2 2 0 1 1 19.268 22H4.732A2 2 0 1 1 2 19.268V4.732zM4.732 4h14.536c.175.304.428.557.732.732v14.536a2.01 2.01 0 0 0-.732.732H4.732A2.01 2.01 0 0 0 4 19.268V4.732A2.01 2.01 0 0 0 4.732 4z"}));var Oc={name:"core/group",category:"layout",attributes:{backgroundColor:{type:"string"},customBackgroundColor:{type:"string"}}},jc=Oc.name,yc={title:Object(J.__)("Group"),icon:vc,description:Object(J.__)("A block that groups other blocks."),keywords:[Object(J.__)("container"),Object(J.__)("wrapper"),Object(J.__)("row"),Object(J.__)("section")],example:{attributes:{customBackgroundColor:"#ffffff"},innerBlocks:[{name:"core/paragraph",attributes:{customTextColor:"#cf2e2e",fontSize:"large",content:Object(J.__)("One.")}},{name:"core/paragraph",attributes:{customTextColor:"#ff6900",fontSize:"large",content:Object(J.__)("Two.")}},{name:"core/paragraph",attributes:{customTextColor:"#fcb900",fontSize:"large",content:Object(J.__)("Three.")}},{name:"core/paragraph",attributes:{customTextColor:"#00d084",fontSize:"large",content:Object(J.__)("Four.")}},{name:"core/paragraph",attributes:{customTextColor:"#0693e3",fontSize:"large",content:Object(J.__)("Five.")}},{name:"core/paragraph",attributes:{customTextColor:"#9b51e0",fontSize:"large",content:Object(J.__)("Six.")}}]},supports:{align:["wide","full"],anchor:!0,html:!1},transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["*"],__experimentalConvert:function(e){if(1!==e.length||"core/group"!==e[0].name){var t=["wide","full"],n=e.reduce((function(e,n){var r=n.attributes.align;return t.indexOf(r)>t.indexOf(e)?r:e}),void 0),r=e.map((function(e){return Object($.createBlock)(e.name,e.attributes,e.innerBlocks)}));return Object($.createBlock)("core/group",{align:n},r)}}}]},edit:fc,save:function(e){var t=e.attributes,n=t.backgroundColor,r=t.customBackgroundColor,o=Object(Z.getColorClassName)("background-color",n),a=ee()(o,{"has-background":n||r}),c={backgroundColor:o?void 0:r};return Object(Y.createElement)("div",{className:a,style:c},Object(Y.createElement)("div",{className:"wp-block-group__inner-container"},Object(Y.createElement)(Z.InnerBlocks.Content,null)))},deprecated:gc},_c=function(e){var t=e.color,n=e.setColor;return Object(Y.createElement)(Z.InspectorControls,null,Object(Y.createElement)(Z.PanelColorSettings,{title:Object(J.__)("Color Settings"),colorSettings:[{value:t.color,onChange:n,label:Object(J.__)("Color")}]}))};var kc=Object(Z.withColors)("color",{textColor:"color"})((function(e){var t=e.color,n=e.setColor,r=e.className;return Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(ce.HorizontalRule,{className:ee()(r,Object(K.a)({"has-background":t.color},t.class,t.class)),style:{backgroundColor:t.color,color:t.color}}),Object(Y.createElement)(_c,{color:t,setColor:n}))})),Cc=Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(Y.createElement)(ce.Path,{d:"M19 13H5v-2h14v2z"}));var wc={from:[{type:"enter",regExp:/^-{3,}$/,transform:function(){return Object($.createBlock)("core/separator")}},{type:"raw",selector:"hr",schema:{hr:{}}}]},Ec={name:"core/separator",category:"layout",attributes:{color:{type:"string"},customColor:{type:"string"}}},xc=Ec.name,Sc={title:Object(J.__)("Separator"),description:Object(J.__)("Create a break between ideas or sections with a horizontal separator."),icon:Cc,keywords:[Object(J.__)("horizontal-line"),"hr",Object(J.__)("divider")],example:{attributes:{customColor:"#065174",className:"is-style-wide"}},styles:[{name:"default",label:Object(J.__)("Default"),isDefault:!0},{name:"wide",label:Object(J.__)("Wide Line")},{name:"dots",label:Object(J.__)("Dots")}],transforms:wc,edit:kc,save:function(e){var t,n=e.attributes,r=n.color,o=n.customColor,a=Object(Z.getColorClassName)("background-color",r),c=Object(Z.getColorClassName)("color",r),i=ee()((t={"has-text-color has-background":r||o},Object(K.a)(t,a,a),Object(K.a)(t,c,c),t)),l={backgroundColor:a?void 0:o,color:c?void 0:o};return Object(Y.createElement)("hr",{className:i,style:l})}},Tc=Object(ie.withInstanceId)((function(e){var t=e.attributes,n=e.setAttributes,r=e.instanceId,o="blocks-shortcode-input-".concat(r);return Object(Y.createElement)("div",{className:"wp-block-shortcode components-placeholder"},Object(Y.createElement)("label",{htmlFor:o,className:"components-placeholder__label"},Object(Y.createElement)(ce.Dashicon,{icon:"shortcode"}),Object(J.__)("Shortcode")),Object(Y.createElement)(Z.PlainText,{className:"input-control",id:o,value:t.text,placeholder:Object(J.__)("Write shortcode here…"),onChange:function(e){return n({text:e})}}))})),Nc=Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.Path,{d:"M8.5,21.4l1.9,0.5l5.2-19.3l-1.9-0.5L8.5,21.4z M3,19h4v-2H5V7h2V5H3V19z M17,5v2h2v10h-2v2h4V5H17z"}));var Bc=n(68),Rc={from:[{type:"shortcode",tag:"[a-z][a-z0-9_-]*",attributes:{text:{type:"string",shortcode:function(e,t){var n=t.content;return Object(Bc.removep)(Object(Bc.autop)(n))}}},priority:20}]},Ac="core/shortcode",Ic={title:Object(J.__)("Shortcode"),description:Object(J.__)("Insert additional custom elements with a WordPress shortcode."),icon:Nc,category:"widgets",transforms:Rc,supports:{customClassName:!1,className:!1,html:!1},edit:Tc,save:function(e){var t=e.attributes;return Object(Y.createElement)(Y.RawHTML,null,t.text)}},Pc=Object(ie.compose)([Object(le.withDispatch)((function(e){var t=e("core/block-editor").toggleSelection;return{onResizeStart:function(){return t(!1)},onResizeStop:function(){return t(!0)}}})),ie.withInstanceId])((function(e){var t=e.attributes,n=e.isSelected,r=e.setAttributes,o=e.instanceId,a=e.onResizeStart,c=e.onResizeStop,i=t.height,l="block-spacer-height-input-".concat(o),s=Object(Y.useState)(i),u=Object(ae.a)(s,2),b=u[0],m=u[1];return Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(ce.ResizableBox,{className:ee()("block-library-spacer__resize-container",{"is-selected":n}),size:{height:i},minHeight:"20",enable:{top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},onResizeStart:a,onResizeStop:function(e,t,n,o){c();var a=parseInt(i+o.height,10);r({height:a}),m(a)}}),Object(Y.createElement)(Z.InspectorControls,null,Object(Y.createElement)(ce.PanelBody,{title:Object(J.__)("Spacer Settings")},Object(Y.createElement)(ce.BaseControl,{label:Object(J.__)("Height in pixels"),id:l},Object(Y.createElement)("input",{type:"number",id:l,onChange:function(e){var t=parseInt(e.target.value,10);m(t),isNaN(t)?(m(""),t=100):t<20&&(t=20),r({height:t})},value:b,min:"20",step:"10"})))))})),Mc=Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.G,null,Object(Y.createElement)(ce.Path,{d:"M13 4v2h3.59L6 16.59V13H4v7h7v-2H7.41L18 7.41V11h2V4h-7"})));var Lc={name:"core/spacer",category:"layout",attributes:{height:{type:"number",default:100}}},Hc=Lc.name,zc={title:Object(J.__)("Spacer"),description:Object(J.__)("Add white space between blocks and customize its height."),icon:Mc,edit:Pc,save:function(e){var t=e.attributes;return Object(Y.createElement)("div",{style:{height:t.height},"aria-hidden":!0})}},Vc=n(35),Dc=n.n(Vc);var Fc=Object(Y.createElement)(ce.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Y.createElement)(ce.Path,{d:"M7.1 6l-.5 3h4.5L9.4 19h3l1.8-10h4.5l.5-3H7.1z"}));var Uc={to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object($.createBlock)("core/paragraph",e)}}]},Gc={name:"core/subhead",category:"common",attributes:{align:{type:"string"},content:{type:"string",source:"html",selector:"p"}}},qc=Gc.name,Wc={title:Object(J.__)("Subheading (deprecated)"),description:Object(J.__)("This block is deprecated. Please use the Paragraph block instead."),icon:Fc,supports:{inserter:!1,multiple:!1},transforms:Uc,edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.className,o=t.align,a=t.content,c=t.placeholder;return Dc()("The Subheading block",{alternative:"the Paragraph block",plugin:"Gutenberg"}),Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(Z.BlockControls,null,Object(Y.createElement)(Z.AlignmentToolbar,{value:o,onChange:function(e){n({align:e})}})),Object(Y.createElement)(Z.RichText,{tagName:"p",value:a,onChange:function(e){n({content:e})},style:{textAlign:o},className:r,placeholder:c||Object(J.__)("Write subheading…")}))},save:function(e){var t=e.attributes,n=t.align,r=t.content;return Object(Y.createElement)(Z.RichText.Content,{tagName:"p",style:{textAlign:n},value:r})}},Kc=[{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:function(e){var t=e.attributes,n=t.hasFixedLayout,r=t.head,o=t.body,a=t.foot,c=t.backgroundColor;if(!r.length&&!o.length&&!a.length)return null;var i=Object(Z.getColorClassName)("background-color",c),l=ee()(i,{"has-fixed-layout":n,"has-background":!!i}),s=function(e){var t=e.type,n=e.rows;if(!n.length)return null;var r="t".concat(t);return Object(Y.createElement)(r,null,n.map((function(e,t){var n=e.cells;return Object(Y.createElement)("tr",{key:t},n.map((function(e,t){var n=e.content,r=e.tag,o=e.scope;return Object(Y.createElement)(Z.RichText.Content,{tagName:r,value:n,key:t,scope:"th"===r?o:void 0})})))})))};return Object(Y.createElement)("table",{className:l},Object(Y.createElement)(s,{type:"head",rows:r}),Object(Y.createElement)(s,{type:"body",rows:o}),Object(Y.createElement)(s,{type:"foot",rows:a}))}}],Zc=["align"];function $c(e,t,n){if(!t)return e;var r=Object(te.pick)(e,["head","body","foot"]),o=t.sectionName,a=t.rowIndex;return Object(te.mapValues)(r,(function(e,r){return o&&o!==r?e:e.map((function(e,o){return a&&a!==o?e:{cells:e.cells.map((function(e,a){return 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:r,columnIndex:a,rowIndex:o},t)?n(e):e}))}}))}))}function Jc(e,t){var n=t.sectionName,r=t.rowIndex,o=t.columnCount,a=function(e){return Xc(e.head)?Xc(e.body)?Xc(e.foot)?void 0:e.foot[0]:e.body[0]:e.head[0]}(e),c=void 0===o?Object(te.get)(a,["cells","length"]):o;return c?Object(K.a)({},n,[].concat(Object(W.a)(e[n].slice(0,r)),[{cells:Object(te.times)(c,(function(e){var t=Object(te.get)(a,["cells",e],{}),r=Object(te.pick)(t,Zc);return Object(Q.a)({},r,{content:"",tag:"head"===n?"th":"td"})}))}],Object(W.a)(e[n].slice(r)))):e}function Qc(e,t){var n=t.columnIndex,r=Object(te.pick)(e,["head","body","foot"]);return Object(te.mapValues)(r,(function(e,t){return Xc(e)?e:e.map((function(e){return ei(e)||e.cells.length0&&void 0!==arguments[0]?arguments[0]:0,t=this.state.selectedCell;if(t){var n=this.props,r=n.attributes,o=n.setAttributes,a=t.columnIndex;this.setState({selectedCell:null}),o(Qc(r,{columnIndex:a+e}))}}},{key:"onInsertColumnBefore",value:function(){this.onInsertColumn(0)}},{key:"onInsertColumnAfter",value:function(){this.onInsertColumn(1)}},{key:"onDeleteColumn",value:function(){var e=this.state.selectedCell;if(e){var t=this.props,n=t.attributes,r=t.setAttributes,o=e.sectionName,a=e.columnIndex;this.setState({selectedCell:null}),r(function(e,t){var n=t.columnIndex,r=Object(te.pick)(e,["head","body","foot"]);return Object(te.mapValues)(r,(function(e){return Xc(e)?e:e.map((function(e){return{cells:e.cells.length>=n?e.cells.filter((function(e,t){return t!==n})):e.cells}})).filter((function(e){return e.cells.length}))}))}(n,{sectionName:o,columnIndex:a}))}}},{key:"createOnFocus",value:function(e){var t=this;return function(){t.setState({selectedCell:Object(Q.a)({},e,{type:"cell"})})}}},{key:"getTableControls",value:function(){var e=this.state.selectedCell;return[{icon:"table-row-before",title:Object(J.__)("Add Row Before"),isDisabled:!e,onClick:this.onInsertRowBefore},{icon:"table-row-after",title:Object(J.__)("Add Row After"),isDisabled:!e,onClick:this.onInsertRowAfter},{icon:"table-row-delete",title:Object(J.__)("Delete Row"),isDisabled:!e,onClick:this.onDeleteRow},{icon:"table-col-before",title:Object(J.__)("Add Column Before"),isDisabled:!e,onClick:this.onInsertColumnBefore},{icon:"table-col-after",title:Object(J.__)("Add Column After"),isDisabled:!e,onClick:this.onInsertColumnAfter},{icon:"table-col-delete",title:Object(J.__)("Delete Column"),isDisabled:!e,onClick:this.onDeleteColumn}]}},{key:"renderSection",value:function(e){var t=this,n=e.name,r=e.rows;if(Xc(r))return null;var o="t".concat(n);return Object(Y.createElement)(o,null,r.map((function(e,r){var o=e.cells;return Object(Y.createElement)("tr",{key:r},o.map((function(e,o){var a=e.content,c=e.tag,i=e.scope,l=e.align,s={sectionName:n,rowIndex:r,columnIndex:o},u=ee()(Object(K.a)({},"has-text-align-".concat(l),l),"wp-block-table__cell-content");return Object(Y.createElement)(Z.RichText,{tagName:c,key:o,className:u,scope:"th"===c?i:void 0,value:a,onChange:t.onChange,unstableOnFocus:t.createOnFocus(s)})})))})))}},{key:"componentDidUpdate",value:function(){var e=this.props.isSelected,t=this.state.selectedCell;!e&&t&&this.setState({selectedCell:null})}},{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=t.className,o=t.backgroundColor,a=t.setBackgroundColor,c=t.setAttributes,i=this.state,l=i.initialRowCount,s=i.initialColumnCount,u=n.hasFixedLayout,b=n.caption,m=n.head,d=n.body,h=n.foot,p=Xc(m)&&Xc(d)&&Xc(h),g=this.renderSection;if(p)return Object(Y.createElement)(ce.Placeholder,{label:Object(J.__)("Table"),icon:Object(Y.createElement)(Z.BlockIcon,{icon:ti,showColors:!0}),instructions:Object(J.__)("Insert a table for sharing data."),isColumnLayout:!0},Object(Y.createElement)("form",{className:"wp-block-table__placeholder-form",onSubmit:this.onCreateTable},Object(Y.createElement)(ce.TextControl,{type:"number",label:Object(J.__)("Column Count"),value:s,onChange:this.onChangeInitialColumnCount,min:"1",className:"wp-block-table__placeholder-input"}),Object(Y.createElement)(ce.TextControl,{type:"number",label:Object(J.__)("Row Count"),value:l,onChange:this.onChangeInitialRowCount,min:"1",className:"wp-block-table__placeholder-input"}),Object(Y.createElement)(ce.Button,{className:"wp-block-table__placeholder-button",isDefault:!0,type:"submit"},Object(J.__)("Create Table"))));var f=ee()(o.class,{"has-fixed-layout":u,"has-background":!!o.color});return Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(Z.BlockControls,null,Object(Y.createElement)(ce.ToolbarGroup,null,Object(Y.createElement)(ce.DropdownMenu,{hasArrowIndicator:!0,icon:"editor-table",label:Object(J.__)("Edit table"),controls:this.getTableControls()})),Object(Y.createElement)(Z.AlignmentToolbar,{label:Object(J.__)("Change column alignment"),alignmentControls:ri,value:this.getCellAlignment(),onChange:function(t){return e.onChangeColumnAlignment(t)},onHover:this.onHoverAlignment})),Object(Y.createElement)(Z.InspectorControls,null,Object(Y.createElement)(ce.PanelBody,{title:Object(J.__)("Table Settings"),className:"blocks-table-settings"},Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Fixed width table cells"),checked:!!u,onChange:this.onChangeFixedLayout}),Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Header section"),checked:!(!m||!m.length),onChange:this.onToggleHeaderSection}),Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Footer section"),checked:!(!h||!h.length),onChange:this.onToggleFooterSection})),Object(Y.createElement)(Z.PanelColorSettings,{title:Object(J.__)("Color Settings"),initialOpen:!1,colorSettings:[{value:o.color,onChange:a,label:Object(J.__)("Background Color"),disableCustomColors:!0,colors:ni}]})),Object(Y.createElement)("figure",{className:r},Object(Y.createElement)("table",{className:f},Object(Y.createElement)(g,{name:"head",rows:m}),Object(Y.createElement)(g,{name:"body",rows:d}),Object(Y.createElement)(g,{name:"foot",rows:h})),Object(Y.createElement)(Z.RichText,{tagName:"figcaption",placeholder:Object(J.__)("Write caption…"),value:b,onChange:function(e){return c({caption:e})},unstableOnFocus:function(){return e.setState({selectedCell:null})}})))}}]),t}(Y.Component),ci=oi("backgroundColor")(ai);var ii={tr:{allowEmpty:!0,children:{th:{allowEmpty:!0,children:Object($.getPhrasingContentSchema)(),attributes:["scope"]},td:{allowEmpty:!0,children:Object($.getPhrasingContentSchema)()}}}},li={from:[{type:"raw",selector:"table",schema:{table:{children:{thead:{allowEmpty:!0,children:ii},tfoot:{allowEmpty:!0,children:ii},tbody:{allowEmpty:!0,children:ii}}}}}]},si={name:"core/table",category:"formatting",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"}}}}}}},ui=si.name,bi={title:Object(J.__)("Table"),description:Object(J.__)("Insert a table — perfect for sharing charts and data."),icon:ti,example:{attributes:{head:[{cells:[{content:Object(J.__)("Version"),tag:"th"},{content:Object(J.__)("Jazz Musician"),tag:"th"},{content:Object(J.__)("Release Date"),tag:"th"}]}],body:[{cells:[{content:"5.2",tag:"td"},{content:"Jaco Pastorius",tag:"td"},{content:Object(J.__)("May 7, 2019"),tag:"td"}]},{cells:[{content:"5.1",tag:"td"},{content:"Betty Carter",tag:"td"},{content:Object(J.__)("February 21, 2019"),tag:"td"}]},{cells:[{content:"5.0",tag:"td"},{content:"Bebo Valdés",tag:"td"},{content:Object(J.__)("December 6, 2018"),tag:"td"}]}]}},styles:[{name:"regular",label:Object(J._x)("Default","block style"),isDefault:!0},{name:"stripes",label:Object(J.__)("Stripes")}],supports:{align:!0},transforms:li,edit:ci,save:function(e){var t=e.attributes,n=t.hasFixedLayout,r=t.head,o=t.body,a=t.foot,c=t.backgroundColor,i=t.caption;if(!r.length&&!o.length&&!a.length)return null;var l=Object(Z.getColorClassName)("background-color",c),s=ee()(l,{"has-fixed-layout":n,"has-background":!!l}),u=!Z.RichText.isEmpty(i),b=function(e){var t=e.type,n=e.rows;if(!n.length)return null;var r="t".concat(t);return Object(Y.createElement)(r,null,n.map((function(e,t){var n=e.cells;return Object(Y.createElement)("tr",{key:t},n.map((function(e,t){var n=e.content,r=e.tag,o=e.scope,a=e.align,c=ee()(Object(K.a)({},"has-text-align-".concat(a),a));return Object(Y.createElement)(Z.RichText.Content,{className:c||void 0,"data-align":a,tagName:r,value:n,key:t,scope:"th"===r?o:void 0})})))})))};return Object(Y.createElement)("figure",null,Object(Y.createElement)("table",{className:""===s?void 0:s},Object(Y.createElement)(b,{type:"head",rows:r}),Object(Y.createElement)(b,{type:"body",rows:o}),Object(Y.createElement)(b,{type:"foot",rows:a})),u&&Object(Y.createElement)(Z.RichText.Content,{tagName:"figcaption",value:i}))},deprecated:Kc};var mi={to:[{type:"block",blocks:["core/columns"],transform:function(e){var t=e.className,n=e.columns,r=e.content,o=e.width;return Object($.createBlock)("core/columns",{align:"wide"===o||"full"===o?o:void 0,className:t,columns:n},r.map((function(e){var t=e.children;return Object($.createBlock)("core/column",{},[Object($.createBlock)("core/paragraph",{content:t})])})))}}]},di={name:"core/text-columns",icon:"columns",category:"layout",attributes:{content:{type:"array",source:"query",selector:"p",query:{children:{type:"string",source:"html"}},default:[{},{}]},columns:{type:"number",default:2},width:{type:"string"}}},hi=di.name,pi={supports:{inserter:!1},title:Object(J.__)("Text Columns (deprecated)"),description:Object(J.__)("This block is deprecated. Please use the Columns block instead."),transforms:mi,getEditWrapperProps:function(e){var t=e.width;if("wide"===t||"full"===t)return{"data-align":t}},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.className,o=t.width,a=t.content,c=t.columns;return Dc()("The Text Columns block",{alternative:"the Columns block",plugin:"Gutenberg"}),Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(Z.BlockControls,null,Object(Y.createElement)(Z.BlockAlignmentToolbar,{value:o,onChange:function(e){return n({width:e})},controls:["center","wide","full"]})),Object(Y.createElement)(Z.InspectorControls,null,Object(Y.createElement)(ce.PanelBody,null,Object(Y.createElement)(ce.RangeControl,{label:Object(J.__)("Columns"),value:c,onChange:function(e){return n({columns:e})},min:2,max:4,required:!0}))),Object(Y.createElement)("div",{className:"".concat(r," align").concat(o," columns-").concat(c)},Object(te.times)(c,(function(e){return Object(Y.createElement)("div",{className:"wp-block-column",key:"column-".concat(e)},Object(Y.createElement)(Z.RichText,{tagName:"p",value:Object(te.get)(a,[e,"children"]),onChange:function(t){n({content:[].concat(Object(W.a)(a.slice(0,e)),[{children:t}],Object(W.a)(a.slice(e+1)))})},placeholder:Object(J.__)("New Column")}))}))))},save:function(e){var t=e.attributes,n=t.width,r=t.content,o=t.columns;return Object(Y.createElement)("div",{className:"align".concat(n," columns-").concat(o)},Object(te.times)(o,(function(e){return Object(Y.createElement)("div",{className:"wp-block-column",key:"column-".concat(e)},Object(Y.createElement)(Z.RichText.Content,{tagName:"p",value:Object(te.get)(r,[e,"children"])}))})))}},gi=[{attributes:{content:{type:"string",source:"html",selector:"pre",default:""},textAlign:{type:"string"}},save:function(e){var t=e.attributes,n=t.textAlign,r=t.content;return Object(Y.createElement)(Z.RichText.Content,{tagName:"pre",style:{textAlign:n},value:r})}}];var fi=Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.Path,{d:"M21 11.01L3 11V13H21V11.01ZM3 16H17V18H3V16ZM15 6H3V8.01L15 8V6Z"}));var vi={from:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object($.createBlock)("core/verse",e)}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object($.createBlock)("core/paragraph",e)}}]},Oi={name:"core/verse",category:"formatting",attributes:{content:{type:"string",source:"html",selector:"pre",default:"",__unstablePreserveWhiteSpace:!0},textAlign:{type:"string"}}},ji=Oi.name,yi={title:Object(J.__)("Verse"),description:Object(J.__)("Insert poetry. Use special spacing formats. Or quote song lyrics."),icon:fi,example:{attributes:{content:Object(J.__)("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.")}},keywords:[Object(J.__)("poetry")],transforms:vi,deprecated:gi,merge:function(e,t){return{content:e.content+t.content}},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.className,o=e.mergeBlocks,a=t.textAlign,c=t.content;return Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(Z.BlockControls,null,Object(Y.createElement)(Z.AlignmentToolbar,{value:a,onChange:function(e){n({textAlign:e})}})),Object(Y.createElement)(Z.RichText,{tagName:"pre",preserveWhiteSpace:!0,value:c,onChange:function(e){n({content:e})},placeholder:Object(J.__)("Write…"),className:ee()(r,Object(K.a)({},"has-text-align-".concat(a),a)),onMerge:o}))},save:function(e){var t=e.attributes,n=t.textAlign,r=t.content,o=ee()(Object(K.a)({},"has-text-align-".concat(n),n));return Object(Y.createElement)(Z.RichText.Content,{tagName:"pre",className:o,value:r})}},_i=Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(Y.createElement)(ce.Path,{d:"M4 6.47L5.76 10H20v8H4V6.47M22 4h-4l2 4h-3l-2-4h-2l2 4h-3l-2-4H8l2 4H7L5 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V4z"})),ki=function(e){var t=e.setAttributes,n=e.attributes,r=n.autoplay,o=n.controls,a=n.loop,c=n.muted,i=n.playsInline,l=n.preload,s=function(e){return function(n){t(Object(K.a)({},e,n))}};return Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Autoplay"),onChange:s("autoplay"),checked:r,help:function(e){return e?Object(J.__)("Note: Autoplaying videos may cause usability issues for some visitors."):null}}),Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Loop"),onChange:s("loop"),checked:a}),Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Muted"),onChange:s("muted"),checked:c}),Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Playback Controls"),onChange:s("controls"),checked:o}),Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Play inline"),onChange:s("playsInline"),checked:i}),Object(Y.createElement)(ce.SelectControl,{label:Object(J.__)("Preload"),value:l,onChange:function(e){return t({preload:e})},options:[{value:"auto",label:Object(J.__)("Auto")},{value:"metadata",label:Object(J.__)("Metadata")},{value:"none",label:Object(J.__)("None")}]}))},Ci=["video"],wi=["image"],Ei=function(e){function t(){var e;return Object(ke.a)(this,t),(e=Object(we.a)(this,Object(Ee.a)(t).apply(this,arguments))).state={editing:!e.props.attributes.src},e.videoPlayer=Object(Y.createRef)(),e.posterImageButton=Object(Y.createRef)(),e.onSelectURL=e.onSelectURL.bind(Object(xe.a)(e)),e.onSelectPoster=e.onSelectPoster.bind(Object(xe.a)(e)),e.onRemovePoster=e.onRemovePoster.bind(Object(xe.a)(e)),e.onUploadError=e.onUploadError.bind(Object(xe.a)(e)),e}return Object(Se.a)(t,e),Object(Ce.a)(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.attributes,r=t.mediaUpload,o=t.noticeOperations,a=t.setAttributes,c=n.id,i=n.src,l=void 0===i?"":i;if(!c&&Object(Te.isBlobURL)(l)){var s=Object(Te.getBlobByURL)(l);s&&r({filesList:[s],onFileChange:function(e){var t=Object(ae.a)(e,1)[0].url;a({src:t})},onError:function(t){e.setState({editing:!0}),o.createErrorNotice(t)},allowedTypes:Ci})}}},{key:"componentDidUpdate",value:function(e){this.props.attributes.poster!==e.attributes.poster&&this.videoPlayer.current.load()}},{key:"onSelectURL",value:function(e){var t=this.props,n=t.attributes,r=t.setAttributes;if(e!==n.src){var o=ot({attributes:{url:e}});if(void 0!==o)return void this.props.onReplace(o);r({src:e,id:void 0})}this.setState({editing:!1})}},{key:"onSelectPoster",value:function(e){(0,this.props.setAttributes)({poster:e.url})}},{key:"onRemovePoster",value:function(){(0,this.props.setAttributes)({poster:""}),this.posterImageButton.current.focus()}},{key:"onUploadError",value:function(e){var t=this.props.noticeOperations;t.removeAllNotices(),t.createErrorNotice(e)}},{key:"render",value:function(){var e=this,t=this.props.attributes,n=t.caption,r=t.controls,o=t.poster,a=t.src,c=this.props,i=c.className,l=c.instanceId,s=c.isSelected,u=c.noticeUI,b=c.attributes,m=c.setAttributes,d=this.state.editing,h=function(){e.setState({editing:!0})};if(d)return Object(Y.createElement)(Z.MediaPlaceholder,{icon:Object(Y.createElement)(Z.BlockIcon,{icon:_i}),className:i,onSelect:function(t){if(!t||!t.url)return m({src:void 0,id:void 0}),void h();m({src:t.url,id:t.id}),e.setState({src:t.url,editing:!1})},onSelectURL:this.onSelectURL,accept:"video/*",allowedTypes:Ci,value:this.props.attributes,notices:u,onError:this.onUploadError});var p="video-block__poster-image-description-".concat(l);return Object(Y.createElement)(Y.Fragment,null,Object(Y.createElement)(Z.BlockControls,null,Object(Y.createElement)(ce.ToolbarGroup,null,Object(Y.createElement)(ce.IconButton,{className:"components-icon-button components-toolbar__control",label:Object(J.__)("Edit video"),onClick:h,icon:"edit"}))),Object(Y.createElement)(Z.InspectorControls,null,Object(Y.createElement)(ce.PanelBody,{title:Object(J.__)("Video Settings")},Object(Y.createElement)(ki,{setAttributes:m,attributes:b}),Object(Y.createElement)(Z.MediaUploadCheck,null,Object(Y.createElement)(ce.BaseControl,{className:"editor-video-poster-control"},Object(Y.createElement)(ce.BaseControl.VisualLabel,null,Object(J.__)("Poster Image")),Object(Y.createElement)(Z.MediaUpload,{title:Object(J.__)("Select Poster Image"),onSelect:this.onSelectPoster,allowedTypes:wi,render:function(t){var n=t.open;return Object(Y.createElement)(ce.Button,{isDefault:!0,onClick:n,ref:e.posterImageButton,"aria-describedby":p},e.props.attributes.poster?Object(J.__)("Replace image"):Object(J.__)("Select Poster Image"))}}),Object(Y.createElement)("p",{id:p,hidden:!0},this.props.attributes.poster?Object(J.sprintf)(Object(J.__)("The current poster image url is %s"),this.props.attributes.poster):Object(J.__)("There is no poster image currently selected")),!!this.props.attributes.poster&&Object(Y.createElement)(ce.Button,{onClick:this.onRemovePoster,isLink:!0,isDestructive:!0},Object(J.__)("Remove Poster Image")))))),Object(Y.createElement)("figure",{className:i},Object(Y.createElement)(ce.Disabled,null,Object(Y.createElement)("video",{controls:r,poster:o,src:a,ref:this.videoPlayer})),(!Z.RichText.isEmpty(n)||s)&&Object(Y.createElement)(Z.RichText,{tagName:"figcaption",placeholder:Object(J.__)("Write caption…"),value:n,onChange:function(e){return m({caption:e})},inlineToolbar:!0})))}}]),t}(Y.Component),xi=Object(ie.compose)([Object(le.withSelect)((function(e){return{mediaUpload:(0,e("core/block-editor").getSettings)().mediaUpload}})),ce.withNotices,ie.withInstanceId])(Ei);var Si={from:[{type:"files",isMatch:function(e){return 1===e.length&&0===e[0].type.indexOf("video/")},transform:function(e){var t=e[0];return Object($.createBlock)("core/video",{src:Object(Te.createBlobURL)(t)})}},{type:"shortcode",tag:"video",attributes:{src:{type:"string",shortcode:function(e){var t=e.named,n=t.src,r=t.mp4,o=t.m4v,a=t.webm,c=t.ogv,i=t.flv;return n||r||o||a||c||i}},poster:{type:"string",shortcode:function(e){return e.named.poster}},loop:{type:"string",shortcode:function(e){return e.named.loop}},autoplay:{type:"string",shortcode:function(e){return e.named.autoplay}},preload:{type:"string",shortcode:function(e){return e.named.preload}}}}]},Ti={name:"core/video",category:"common",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"}}},Ni=Ti.name,Bi={title:Object(J.__)("Video"),description:Object(J.__)("Embed a video from your media library or upload a new one."),icon:_i,keywords:[Object(J.__)("movie")],transforms:Si,supports:{align:!0},edit:xi,save:function(e){var t=e.attributes,n=t.autoplay,r=t.caption,o=t.controls,a=t.loop,c=t.muted,i=t.poster,l=t.preload,s=t.src,u=t.playsInline;return Object(Y.createElement)("figure",null,s&&Object(Y.createElement)("video",{autoPlay:n,controls:o,loop:a,muted:c,poster:i,preload:"metadata"!==l?l:void 0,src:s,playsInline:u}),!Z.RichText.isEmpty(r)&&Object(Y.createElement)(Z.RichText.Content,{tagName:"figcaption",value:r}))}},Ri=function(e){function t(){var e;return Object(ke.a)(this,t),(e=Object(we.a)(this,Object(Ee.a)(t).apply(this,arguments))).state={editing:!e.props.attributes.taxonomy},e.setTaxonomy=e.setTaxonomy.bind(Object(xe.a)(e)),e.toggleShowTagCounts=e.toggleShowTagCounts.bind(Object(xe.a)(e)),e}return Object(Se.a)(t,e),Object(Ce.a)(t,[{key:"getTaxonomyOptions",value:function(){var e=Object(te.filter)(this.props.taxonomies,"show_cloud"),t={label:Object(J.__)("- Select -"),value:"",disabled:!0},n=Object(te.map)(e,(function(e){return{value:e.slug,label:e.name}}));return[t].concat(Object(W.a)(n))}},{key:"setTaxonomy",value:function(e){(0,this.props.setAttributes)({taxonomy:e})}},{key:"toggleShowTagCounts",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({showTagCounts:!t.showTagCounts})}},{key:"render",value:function(){var e=this.props.attributes,t=e.taxonomy,n=e.showTagCounts,r=this.getTaxonomyOptions(),o=Object(Y.createElement)(Z.InspectorControls,null,Object(Y.createElement)(ce.PanelBody,{title:Object(J.__)("Tag Cloud Settings")},Object(Y.createElement)(ce.SelectControl,{label:Object(J.__)("Taxonomy"),options:r,value:t,onChange:this.setTaxonomy}),Object(Y.createElement)(ce.ToggleControl,{label:Object(J.__)("Show post counts"),checked:n,onChange:this.toggleShowTagCounts})));return Object(Y.createElement)(Y.Fragment,null,o,Object(Y.createElement)(dn.a,{key:"tag-cloud",block:"core/tag-cloud",attributes:e}))}}]),t}(Y.Component),Ai=Object(le.withSelect)((function(e){return{taxonomies:e("core").getTaxonomies()}}))(Ri),Ii="core/tag-cloud",Pi={title:Object(J.__)("Tag Cloud"),description:Object(J.__)("A cloud of your most used tags."),icon:"tag",category:"widgets",supports:{html:!1,align:!0},edit:Ai},Mi=window.wp;var Li=function(e){function t(e){var n;return Object(ke.a)(this,t),(n=Object(we.a)(this,Object(Ee.a)(t).call(this,e))).initialize=n.initialize.bind(Object(xe.a)(n)),n.onSetup=n.onSetup.bind(Object(xe.a)(n)),n.focus=n.focus.bind(Object(xe.a)(n)),n}return Object(Se.a)(t,e),Object(Ce.a)(t,[{key:"componentDidMount",value:function(){var e=window.wpEditorL10n.tinymce,t=e.baseURL,n=e.suffix;window.tinymce.EditorManager.overrideDefaults({base_url:t,suffix:n}),"complete"===document.readyState?this.initialize():window.addEventListener("DOMContentLoaded",this.initialize)}},{key:"componentWillUnmount",value:function(){window.addEventListener("DOMContentLoaded",this.initialize),Mi.oldEditor.remove("editor-".concat(this.props.clientId))}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.clientId,r=t.attributes.content,o=window.tinymce.get("editor-".concat(n));e.attributes.content!==r&&o.setContent(r||"")}},{key:"initialize",value:function(){var e=this.props.clientId,t=window.wpEditorL10n.tinymce.settings;Mi.oldEditor.initialize("editor-".concat(e),{tinymce:Object(Q.a)({},t,{inline:!0,content_css:!1,fixed_toolbar_container:"#toolbar-".concat(e),setup:this.onSetup})})}},{key:"onSetup",value:function(e){var t,n=this,r=this.props,o=r.attributes.content,a=r.setAttributes,c=this.ref;this.editor=e,o&&e.on("loadContent",(function(){return e.setContent(o)})),e.on("blur",(function(){return t=e.selection.getBookmark(2,!0),a({content:e.getContent()}),e.once("focus",(function(){t&&e.selection.moveToBookmark(t)})),!1})),e.on("mousedown touchstart",(function(){t=null})),e.on("keydown",(function(t){t.keyCode!==Ne.BACKSPACE&&t.keyCode!==Ne.DELETE||!function(e){var 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)||(n.props.onReplace([]),t.preventDefault(),t.stopImmediatePropagation()),t.altKey&&t.keyCode===Ne.F10&&t.stopPropagation()})),e.addButton("kitchensink",{tooltip:Object(J._x)("More","button to expand options"),icon:"dashicon dashicons-editor-kitchensink",onClick:function(){var t=!this.active();this.active(t),e.dom.toggleClass(c,"has-advanced-toolbar",t)}}),e.on("init",(function(){e.settings.toolbar1&&-1===e.settings.toolbar1.indexOf("kitchensink")&&e.dom.addClass(c,"has-advanced-toolbar")})),e.addButton("wp_add_media",{tooltip:Object(J.__)("Insert Media"),icon:"dashicon dashicons-admin-media",cmd:"WP_Medialib"}),e.on("init",(function(){var e=n.editor.getBody();document.activeElement===e&&(e.blur(),n.editor.focus())}))}},{key:"focus",value:function(){this.editor&&this.editor.focus()}},{key:"onToolbarKeyDown",value:function(e){e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()}},{key:"render",value:function(){var e=this,t=this.props.clientId;return[Object(Y.createElement)("div",{key:"toolbar",id:"toolbar-".concat(t),ref:function(t){return e.ref=t},className:"block-library-classic__toolbar",onClick:this.focus,"data-placeholder":Object(J.__)("Classic"),onKeyDown:this.onToolbarKeyDown}),Object(Y.createElement)("div",{key:"editor",id:"editor-".concat(t),className:"wp-block-freeform block-library-rich-text__tinymce"})]}}]),t}(Y.Component),Hi=Object(Y.createElement)(ce.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Y.createElement)(ce.Path,{d:"M0,0h24v24H0V0z M0,0h24v24H0V0z",fill:"none"}),Object(Y.createElement)(ce.Path,{d:"m20 7v10h-16v-10h16m0-2h-16c-1.1 0-1.99 0.9-1.99 2l-0.01 10c0 1.1 0.9 2 2 2h16c1.1 0 2-0.9 2-2v-10c0-1.1-0.9-2-2-2z"}),Object(Y.createElement)(ce.Rect,{x:"11",y:"8",width:"2",height:"2"}),Object(Y.createElement)(ce.Rect,{x:"11",y:"11",width:"2",height:"2"}),Object(Y.createElement)(ce.Rect,{x:"8",y:"8",width:"2",height:"2"}),Object(Y.createElement)(ce.Rect,{x:"8",y:"11",width:"2",height:"2"}),Object(Y.createElement)(ce.Rect,{x:"5",y:"11",width:"2",height:"2"}),Object(Y.createElement)(ce.Rect,{x:"5",y:"8",width:"2",height:"2"}),Object(Y.createElement)(ce.Rect,{x:"8",y:"14",width:"8",height:"2"}),Object(Y.createElement)(ce.Rect,{x:"14",y:"11",width:"2",height:"2"}),Object(Y.createElement)(ce.Rect,{x:"14",y:"8",width:"2",height:"2"}),Object(Y.createElement)(ce.Rect,{x:"17",y:"11",width:"2",height:"2"}),Object(Y.createElement)(ce.Rect,{x:"17",y:"8",width:"2",height:"2"}));var zi={name:"core/freeform",category:"formatting",attributes:{content:{type:"string",source:"html"}}},Vi=zi.name,Di={title:Object(J._x)("Classic","block title"),description:Object(J.__)("Use the classic WordPress editor."),icon:Hi,supports:{className:!1,customClassName:!1,reusable:!1},edit:Li,save:function(e){var t=e.attributes.content;return Object(Y.createElement)(Y.RawHTML,null,t)}};n.d(t,"registerCoreBlocks",(function(){return Ui})),n.d(t,"__experimentalRegisterExperimentalCoreBlocks",(function(){return Gi}));var Fi=function(e){if(e){var t=e.metadata,n=e.settings,r=e.name;t&&Object($.unstable__bootstrapServerSideBlockDefinitions)(Object(K.a)({},r,t)),Object($.registerBlockType)(r,n)}},Ui=function(){[r,o,a,i,E,c,L,l,s,u,b,m,d,h,p,g,f].concat(Object(W.a)(uo),Object(W.a)(bo),[v,P,window.wp&&window.wp.oldEditor?q:null,O,j,C,w,x,S,_,k,T,N,B,A,I,M,R,H,z,V,G,D,F,U]).forEach(Fi),Object($.setDefaultBlockName)(ve),window.wp&&window.wp.oldEditor&&Object($.setFreeformContentHandlerName)(Vi),Object($.setUnregisteredTypeHandlerName)(Ba),P&&Object($.setGroupingBlockName)(jc)},Gi=void 0},37:function(e,t){!function(){e.exports=this.wp.apiFetch}()},4:function(e,t){!function(){e.exports=this.wp.data}()},40:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}n.d(t,"a",(function(){return r}))},42:function(e,t,n){e.exports=function(e,t){var n,r,o,a=0;function c(){var t,c,i=r,l=arguments.length;e:for(;i;){if(i.args.length===arguments.length){for(c=0;c1&&(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=A(e,360),t=A(t,100),n=A(n,100),0===t)r=o=a=n;else{var i=n<.5?n*(1+t):n+t-n*t,l=2*n-i;r=c(l,i,e+1/3),o=c(l,i,e),a=c(l,i,e-1/3)}return{r:255*r,g:255*o,b:255*a}}(e.h,r,l),b=!0,m="hsl"),e.hasOwnProperty("a")&&(n=e.a));var d,h,p;return n=R(n),{ok:b,format:e.format||m,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=l(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=l(this._r)),this._g<1&&(this._g=l(this._g)),this._b<1&&(this._b=l(this._b)),this._ok=n.ok,this._tc_id=i++}function d(e,t,n){e=A(e,255),t=A(t,255),n=A(n,255);var r,o,a=u(e,t,n),c=s(e,t,n),i=(a+c)/2;if(a==c)r=o=0;else{var l=a-c;switch(o=i>.5?l/(2-a-c):l/(a+c),a){case e:r=(t-n)/l+(t>1)+720)%360;--t;)r.h=(r.h+o)%360,a.push(m(r));return a}function T(e,t){t=t||6;for(var n=m(e).toHsv(),r=n.h,o=n.s,a=n.v,c=[],i=1/t;t--;)c.push(m({h:r,s:o,v:a})),a=(a+i)%1;return c}m.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=R(e),this._roundA=l(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=l(360*e.h),n=l(100*e.s),r=l(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=d(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=d(this._r,this._g,this._b),t=l(360*e.h),n=l(100*e.s),r=l(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return p(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=[M(l(e).toString(16)),M(l(t).toString(16)),M(l(n).toString(16)),M(H(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:l(this._r),g:l(this._g),b:l(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+l(this._r)+", "+l(this._g)+", "+l(this._b)+")":"rgba("+l(this._r)+", "+l(this._g)+", "+l(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:l(100*A(this._r,255))+"%",g:l(100*A(this._g,255))+"%",b:l(100*A(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+l(100*A(this._r,255))+"%, "+l(100*A(this._g,255))+"%, "+l(100*A(this._b,255))+"%)":"rgba("+l(100*A(this._r,255))+"%, "+l(100*A(this._g,255))+"%, "+l(100*A(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(B[p(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+g(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var o=m(e);n="#"+g(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 m(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(j,arguments)},brighten:function(){return this._applyModification(y,arguments)},darken:function(){return this._applyModification(_,arguments)},desaturate:function(){return this._applyModification(f,arguments)},saturate:function(){return this._applyModification(v,arguments)},greyscale:function(){return this._applyModification(O,arguments)},spin:function(){return this._applyModification(k,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(C,arguments)},monochromatic:function(){return this._applyCombination(T,arguments)},splitcomplement:function(){return this._applyCombination(x,arguments)},triad:function(){return this._applyCombination(w,arguments)},tetrad:function(){return this._applyCombination(E,arguments)}},m.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 m(e,t)},m.equals=function(e,t){return!(!e||!t)&&m(e).toRgbString()==m(t).toRgbString()},m.random=function(){return m.fromRatio({r:b(),g:b(),b:b()})},m.mix=function(e,t,n){n=0===n?0:n||50;var r=m(e).toRgb(),o=m(t).toRgb(),a=n/100;return m({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})},m.readability=function(e,t){var n=m(e),r=m(t);return(o.max(n.getLuminance(),r.getLuminance())+.05)/(o.min(n.getLuminance(),r.getLuminance())+.05)},m.isReadable=function(e,t,n){var r,o,a=m.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},m.mostReadable=function(e,t,n){var r,o,a,c,i=null,l=0;o=(n=n||{}).includeFallbackColors,a=n.level,c=n.size;for(var s=0;sl&&(l=r,i=m(t[s]));return m.isReadable(e,i,{level:a,size:c})||!o?i:(n.includeFallbackColors=!1,m.mostReadable(e,["#fff","#000"],n))};var N=m.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=m.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(N);function R(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function A(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),o.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function I(e){return s(1,u(0,e))}function P(e){return parseInt(e,16)}function M(e){return 1==e.length?"0"+e:""+e}function L(e){return e<=1&&(e=100*e+"%"),e}function H(e){return o.round(255*parseFloat(e)).toString(16)}function z(e){return P(e)/255}var V,D,F,U=(D="[\\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"+D),rgba:new RegExp("rgba"+F),hsl:new RegExp("hsl"+D),hsla:new RegExp("hsla"+F),hsv:new RegExp("hsv"+D),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 G(e){return!!U.CSS_UNIT.exec(e)}e.exports?e.exports=m:void 0===(r=function(){return m}.call(t,n,t,e))||(e.exports=r)}(Math)},5:function(e,t){!function(){e.exports=this.wp.blockEditor}()},50:function(e,t){!function(){e.exports=this.wp.viewport}()},54:function(e,t){!function(){e.exports=this.wp.date}()},58:function(e,t){!function(){e.exports=this.wp.serverSideRender}()},59:function(e,t){!function(){e.exports=this.wp.escapeHtml}()},6:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",(function(){return r}))},61:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},62:function(e,t){!function(){e.exports=this.wp.coreData}()},68:function(e,t){!function(){e.exports=this.wp.autop}()},69:function(e,t,n){var r; +e.exports=function(){"use strict";function e(e,t){for(var n=0;nc?(n=a/c,i=100,l=Math.round(i/n)):(n=c/a,l=100,i=Math.round(l/n)),(i>a||l>c||i<10||l<10)&&(i=a,l=c),{srcLeft:r,srcTop:o,srcWidth:a,srcHeight:c,destWidth:i,destHeight:l})}},{key:"_simpleAlgorithm",value:function(e,t,n){for(var r=0,o=0,a=0,c=0,i=0,l=0;lr?-1:n===r?0:1}))[0],5),m=b[0],d=b[1],h=b[2],p=b[3],g=b[4];return p?[Math.round(m/p),Math.round(d/p),Math.round(h/p),Math.round(p/g)]:[0,0,0,0]}},{key:"_bindImageEvents",value:function(e,t,n){var r=this,o=(n=n||{})&&n.data,a=this._getDefaultColor(n),c=function(){s(),t.call(e,r.getColor(e,n),o)},i=function(){s(),t.call(e,r._prepareResult(a,new Error("Image error")),o)},l=function(){s(),t.call(e,r._prepareResult(a,new Error("Image abort")),o)},s=function(){e.removeEventListener("load",c),e.removeEventListener("error",i),e.removeEventListener("abort",l)};e.addEventListener("load",c),e.addEventListener("error",i),e.addEventListener("abort",l)}},{key:"_prepareResult",value:function(e,t){var n=e.slice(0,3),r=[].concat(n,e[3]/255),o=this._isDark(e);return{error:t,value:e,rgb:"rgb("+n.join(",")+")",rgba:"rgba("+r.join(",")+")",hex:this._arrayToHex(n),hexa:this._arrayToHex(e),isDark:o,isLight:!o}}},{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(r.prototype,o),a&&e(r,a),n}()}()},22:function(e,t,n){"use strict";var r=n(35);var o=n(36);function a(e,t){return Object(r.a)(e)||function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],r=!0,o=!1,a=void 0;try{for(var c,i=e[Symbol.iterator]();!(r=(c=i.next()).done)&&(n.push(c.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==i.return||i.return()}finally{if(o)throw a}}return n}}(e,t)||Object(o.a)()}n.d(t,"a",(function(){return a}))},24:function(e,t){!function(){e.exports=this.wp.richText}()},25:function(e,t){!function(){e.exports=this.wp.url}()},26:function(e,t){!function(){e.exports=this.wp.editor}()},3:function(e,t){!function(){e.exports=this.wp.components}()},30:function(e,t){!function(){e.exports=this.moment}()},31:function(e,t,n){"use strict";function r(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}n.d(t,"a",(function(){return r}))},32:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,"a",(function(){return r}))},33:function(e,t){!function(){e.exports=this.wp.deprecated}()},35:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,"a",(function(){return r}))},36:function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}n.d(t,"a",(function(){return r}))},361:function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"metadata",(function(){return ve})),n.d(r,"name",(function(){return Oe})),n.d(r,"settings",(function(){return je}));var o={};n.r(o),n.d(o,"metadata",(function(){return ft})),n.d(o,"name",(function(){return vt})),n.d(o,"settings",(function(){return Ot}));var a={};n.r(a),n.d(a,"metadata",(function(){return xt})),n.d(a,"name",(function(){return St})),n.d(a,"settings",(function(){return Tt}));var c={};n.r(c),n.d(c,"metadata",(function(){return Pt})),n.d(c,"name",(function(){return zt})),n.d(c,"settings",(function(){return Ht}));var i={};n.r(i),n.d(i,"metadata",(function(){return on})),n.d(i,"name",(function(){return an})),n.d(i,"settings",(function(){return cn}));var l={};n.r(l),n.d(l,"name",(function(){return bn})),n.d(l,"settings",(function(){return mn}));var s={};n.r(s),n.d(s,"metadata",(function(){return On})),n.d(s,"name",(function(){return jn})),n.d(s,"settings",(function(){return yn}));var u={};n.r(u),n.d(u,"metadata",(function(){return zn})),n.d(u,"name",(function(){return Hn})),n.d(u,"settings",(function(){return Ln}));var b={};n.r(b),n.d(b,"metadata",(function(){return qn})),n.d(b,"name",(function(){return Wn})),n.d(b,"settings",(function(){return Kn}));var m={};n.r(m),n.d(m,"name",(function(){return Xn})),n.d(m,"settings",(function(){return er}));var d={};n.r(d),n.d(d,"name",(function(){return or})),n.d(d,"settings",(function(){return ar}));var h={};n.r(h),n.d(h,"metadata",(function(){return br})),n.d(h,"name",(function(){return mr})),n.d(h,"settings",(function(){return dr}));var p={};n.r(p),n.d(p,"metadata",(function(){return Sr})),n.d(p,"name",(function(){return Tr})),n.d(p,"settings",(function(){return Nr}));var g={};n.r(g),n.d(g,"metadata",(function(){return Rr})),n.d(g,"name",(function(){return Ir})),n.d(g,"settings",(function(){return Mr}));var f={};n.r(f),n.d(f,"metadata",(function(){return no})),n.d(f,"name",(function(){return ro})),n.d(f,"settings",(function(){return oo}));var v={};n.r(v),n.d(v,"name",(function(){return fo})),n.d(v,"settings",(function(){return vo})),n.d(v,"common",(function(){return Oo})),n.d(v,"others",(function(){return jo}));var O={};n.r(O),n.d(O,"metadata",(function(){return Eo})),n.d(O,"name",(function(){return xo})),n.d(O,"settings",(function(){return So}));var j={};n.r(j),n.d(j,"metadata",(function(){return Ro})),n.d(j,"name",(function(){return Io})),n.d(j,"settings",(function(){return Mo}));var y={};n.r(y),n.d(y,"metadata",(function(){return Jo})),n.d(y,"name",(function(){return Qo})),n.d(y,"settings",(function(){return Yo}));var _={};n.r(_),n.d(_,"justifyLeftIcon",(function(){return aa})),n.d(_,"justifyCenterIcon",(function(){return ca})),n.d(_,"justifyRightIcon",(function(){return ia}));var k={};n.r(k),n.d(k,"name",(function(){return sa})),n.d(k,"settings",(function(){return ua}));var C={};n.r(C),n.d(C,"metadata",(function(){return ha})),n.d(C,"name",(function(){return pa})),n.d(C,"settings",(function(){return ga}));var w={};n.r(w),n.d(w,"name",(function(){return Oa})),n.d(w,"settings",(function(){return ja}));var E={};n.r(E),n.d(E,"name",(function(){return Sa})),n.d(E,"settings",(function(){return Ta}));var x={};n.r(x),n.d(x,"metadata",(function(){return Ia})),n.d(x,"name",(function(){return Ma})),n.d(x,"settings",(function(){return Pa}));var S={};n.r(S),n.d(S,"metadata",(function(){return Ha})),n.d(S,"name",(function(){return La})),n.d(S,"settings",(function(){return Va}));var T={};n.r(T),n.d(T,"metadata",(function(){return Ga})),n.d(T,"name",(function(){return qa})),n.d(T,"settings",(function(){return Wa}));var N={};n.r(N),n.d(N,"metadata",(function(){return $a})),n.d(N,"name",(function(){return Ja})),n.d(N,"settings",(function(){return Qa}));var B={};n.r(B),n.d(B,"metadata",(function(){return ec})),n.d(B,"name",(function(){return tc})),n.d(B,"settings",(function(){return nc}));var A={};n.r(A),n.d(A,"metadata",(function(){return uc})),n.d(A,"name",(function(){return bc})),n.d(A,"settings",(function(){return mc}));var R={};n.r(R),n.d(R,"name",(function(){return fc})),n.d(R,"settings",(function(){return vc}));var I={};n.r(I),n.d(I,"name",(function(){return jc})),n.d(I,"settings",(function(){return yc}));var M={};n.r(M),n.d(M,"name",(function(){return _c})),n.d(M,"settings",(function(){return kc}));var P={};n.r(P),n.d(P,"metadata",(function(){return xc})),n.d(P,"name",(function(){return Sc})),n.d(P,"settings",(function(){return Tc}));var z={};n.r(z),n.d(z,"metadata",(function(){return Ic})),n.d(z,"name",(function(){return Mc})),n.d(z,"settings",(function(){return Pc}));var H={};n.r(H),n.d(H,"name",(function(){return Vc})),n.d(H,"settings",(function(){return Fc}));var L={};n.r(L),n.d(L,"metadata",(function(){return Gc})),n.d(L,"name",(function(){return qc})),n.d(L,"settings",(function(){return Wc}));var V={};n.r(V),n.d(V,"metadata",(function(){return Qc})),n.d(V,"name",(function(){return Yc})),n.d(V,"settings",(function(){return Xc}));var F={};n.r(F),n.d(F,"metadata",(function(){return gi})),n.d(F,"name",(function(){return fi})),n.d(F,"settings",(function(){return vi}));var D={};n.r(D),n.d(D,"metadata",(function(){return ji})),n.d(D,"name",(function(){return yi})),n.d(D,"settings",(function(){return _i}));var U={};n.r(U),n.d(U,"metadata",(function(){return Ei})),n.d(U,"name",(function(){return xi})),n.d(U,"settings",(function(){return Si}));var G={};n.r(G),n.d(G,"metadata",(function(){return Pi})),n.d(G,"name",(function(){return zi})),n.d(G,"settings",(function(){return Hi}));var q={};n.r(q),n.d(q,"name",(function(){return Fi})),n.d(q,"settings",(function(){return Di}));var W={};n.r(W),n.d(W,"metadata",(function(){return Wi})),n.d(W,"name",(function(){return Ki})),n.d(W,"settings",(function(){return Zi}));var K=n(18),Z=n(9),$=(n(64),n(5)),J=(n(26),n(11)),Q=n(1),Y=n(6),X=n(0),ee=n(10),te=n.n(ee),ne=n(2),re={className:!1},oe={align:{type:"string"},content:{type:"string",source:"html",selector:"p",default:""},dropCap:{type:"boolean",default:!1},placeholder:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},fontSize:{type:"string"},customFontSize:{type:"number"},direction:{type:"string",enum:["ltr","rtl"]}},ae=[{supports:re,attributes:oe,save:function(e){var t,n=e.attributes,r=n.align,o=n.content,a=n.dropCap,c=n.backgroundColor,i=n.textColor,l=n.customBackgroundColor,s=n.customTextColor,u=n.fontSize,b=n.customFontSize,m=n.direction,d=Object($.getColorClassName)("color",i),h=Object($.getColorClassName)("background-color",c),p=Object($.getFontSizeClass)(u),g=te()((t={"has-text-color":i||s,"has-background":c||l,"has-drop-cap":a},Object(Z.a)(t,p,p),Object(Z.a)(t,d,d),Object(Z.a)(t,h,h),t)),f={backgroundColor:h?void 0:l,color:d?void 0:s,fontSize:p?void 0:b,textAlign:r};return Object(X.createElement)($.RichText.Content,{tagName:"p",style:f,className:g||void 0,value:o,dir:m})}},{supports:re,attributes:Object(Y.a)({},oe,{width:{type:"string"}}),save:function(e){var t,n=e.attributes,r=n.width,o=n.align,a=n.content,c=n.dropCap,i=n.backgroundColor,l=n.textColor,s=n.customBackgroundColor,u=n.customTextColor,b=n.fontSize,m=n.customFontSize,d=Object($.getColorClassName)("color",l),h=Object($.getColorClassName)("background-color",i),p=b&&"is-".concat(b,"-text"),g=te()((t={},Object(Z.a)(t,"align".concat(r),r),Object(Z.a)(t,"has-background",i||s),Object(Z.a)(t,"has-drop-cap",c),Object(Z.a)(t,p,p),Object(Z.a)(t,d,d),Object(Z.a)(t,h,h),t)),f={backgroundColor:h?void 0:s,color:d?void 0:u,fontSize:p?void 0:m,textAlign:o};return Object(X.createElement)($.RichText.Content,{tagName:"p",style:f,className:g||void 0,value:a})}},{supports:re,attributes:Object(ne.omit)(Object(Y.a)({},oe,{fontSize:{type:"number"}}),"customFontSize","customTextColor","customBackgroundColor"),save:function(e){var t,n=e.attributes,r=n.width,o=n.align,a=n.content,c=n.dropCap,i=n.backgroundColor,l=n.textColor,s=n.fontSize,u=te()((t={},Object(Z.a)(t,"align".concat(r),r),Object(Z.a)(t,"has-background",i),Object(Z.a)(t,"has-drop-cap",c),t)),b={backgroundColor:i,color:l,fontSize:s,textAlign:o};return Object(X.createElement)("p",{style:b,className:u||void 0},a)},migrate:function(e){return Object(ne.omit)(Object(Y.a)({},e,{customFontSize:Object(ne.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}),["fontSize","textColor","backgroundColor"])}},{supports:re,attributes:Object(Y.a)({},oe,{content:{type:"string",source:"html",default:""}}),save:function(e){var t=e.attributes;return Object(X.createElement)(X.RawHTML,null,t.content)},migrate:function(e){return e}}],ce=n(22),ie=n(3),le=n(8),se=n(4),ue=window.getComputedStyle,be=window.document.querySelector.bind(document),me="core/paragraph",de="p.has-drop-cap";function he(e){var t=e.direction,n=e.setDirection;return Object(se.useSelect)((function(e){return!!e("core/block-editor").getSettings().isRTL}),[])&&Object(X.createElement)(ie.ToolbarGroup,{controls:[{icon:"editor-ltr",title:Object(Q._x)("Left to right","editor button"),isActive:"ltr"===t,onClick:function(){n("ltr"===t?void 0:"ltr")}}]})}var pe=Object(le.compose)([Object($.withFontSizes)("fontSize")])((function(e){var t,n,r,o,a,c,i,l=e.attributes,s=e.className,u=e.fontSize,b=e.mergeBlocks,m=e.onReplace,d=e.setAttributes,h=e.setFontSize,p=l.align,g=l.content,f=l.dropCap,v=l.placeholder,O=l.direction,j=(n=f,r=[u.size],o=Object(X.useState)(),a=Object(ce.a)(o,2),c=a[0],i=a[1],Object(X.useEffect)((function(){var e=be(de);n&&e?i(ue(e,"first-letter").height):c&&i(void 0)}),[n,c,i].concat(Object(K.a)(r))),c),y=Object($.__experimentalUseColors)([{name:"textColor",property:"color"},{name:"backgroundColor",className:"has-background"}],{contrastCheckers:[{backgroundColor:!0,textColor:!0,fontSize:u.size}]},[u.size]),_=y.TextColor,k=y.BackgroundColor,C=y.InspectorControlsColorPanel,w=y.ColorDetector;return Object(X.createElement)(X.Fragment,null,Object(X.createElement)($.BlockControls,null,Object(X.createElement)($.AlignmentToolbar,{value:p,onChange:function(e){return d({align:e})}}),Object(X.createElement)(he,{direction:O,setDirection:function(e){return d({direction:e})}})),Object(X.createElement)($.InspectorControls,null,Object(X.createElement)(ie.PanelBody,{title:Object(Q.__)("Text Settings")},Object(X.createElement)($.FontSizePicker,{value:u.size,onChange:h}),Object(X.createElement)(ie.ToggleControl,{label:Object(Q.__)("Drop Cap"),checked:!!f,onChange:function(){return d({dropCap:!f})},help:f?Object(Q.__)("Showing large initial letter."):Object(Q.__)("Toggle to show a large initial letter.")}))),C,Object(X.createElement)(k,null,Object(X.createElement)(_,null,Object(X.createElement)(w,{querySelector:'[contenteditable="true"]'}),Object(X.createElement)($.RichText,{identifier:"content",tagName:"p",className:te()("wp-block-paragraph",s,(t={"has-drop-cap":f},Object(Z.a)(t,"has-text-align-".concat(p),p),Object(Z.a)(t,u.class,u.class),t)),style:{fontSize:u.size?u.size+"px":void 0,direction:O,minHeight:j},value:g,onChange:function(e){return d({content:e})},onSplit:function(e){return e?Object(J.createBlock)(me,Object(Y.a)({},l,{content:e})):Object(J.createBlock)(me)},onMerge:b,onReplace:m,onRemove:m?function(){return m([])}:void 0,"aria-label":g?Object(Q.__)("Paragraph block"):Object(Q.__)("Empty block; start writing or type forward slash to choose a block"),placeholder:v||Object(Q.__)("Start writing or type / to choose a block"),__unstableEmbedURLOnPaste:!0}))))})),ge=Object(X.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(X.createElement)(ie.Path,{d:"M11 5v7H9.5C7.6 12 6 10.4 6 8.5S7.6 5 9.5 5H11m8-2H9.5C6.5 3 4 5.5 4 8.5S6.5 14 9.5 14H11v7h2V5h2v16h2V5h2V3z"}));var fe={from:[{type:"raw",priority:20,selector:"p",schema:function(e){return{p:{children:e.phrasingContentSchema,attributes:e.isPaste?[]:["style"]}}},transform:function(e){var t=Object(J.getBlockAttributes)("core/paragraph",e.outerHTML),n=(e.style||{}).textAlign;return"left"!==n&&"center"!==n&&"right"!==n||(t.align=n),Object(J.createBlock)("core/paragraph",t)}}]},ve={name:"core/paragraph",category:"common",attributes:{align:{type:"string"},content:{type:"string",source:"html",selector:"p",default:""},dropCap:{type:"boolean",default:!1},placeholder:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},fontSize:{type:"string"},customFontSize:{type:"number"},direction:{type:"string",enum:["ltr","rtl"]}}},Oe=ve.name,je={title:Object(Q.__)("Paragraph"),description:Object(Q.__)("Start with the building block of all narrative."),icon:ge,keywords:[Object(Q.__)("text")],example:{attributes:{content:Object(Q.__)("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."),customFontSize:28,dropCap:!0}},supports:{className:!1,__unstablePasteTextInline:!0},transforms:fe,deprecated:ae,merge:function(e,t){return{content:(e.content||"")+(t.content||"")}},getEditWrapperProps:function(e){var t=e.width;if(-1!==["wide","full","left","right"].indexOf(t))return{"data-align":t}},edit:pe,save:function(e){var t,n=e.attributes,r=n.align,o=n.content,a=n.dropCap,c=n.backgroundColor,i=n.textColor,l=n.customBackgroundColor,s=n.customTextColor,u=n.fontSize,b=n.customFontSize,m=n.direction,d=Object($.getColorClassName)("color",i),h=Object($.getColorClassName)("background-color",c),p=Object($.getFontSizeClass)(u),g=te()((t={"has-text-color":i||s,"has-background":c||l,"has-drop-cap":a},Object(Z.a)(t,"has-text-align-".concat(r),r),Object(Z.a)(t,p,p),Object(Z.a)(t,d,d),Object(Z.a)(t,h,h),t)),f={backgroundColor:h?void 0:l,color:d?void 0:s,fontSize:p?void 0:b};return Object(X.createElement)($.RichText.Content,{tagName:"p",style:f,className:g||void 0,value:o,dir:m})}},ye=n(12),_e={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",default:"none"},linkTarget:{type:"string",source:"attribute",selector:"figure > a",attribute:"target"}},ke=[{attributes:_e,save:function(e){var t,n=e.attributes,r=n.url,o=n.alt,a=n.caption,c=n.align,i=n.href,l=n.width,s=n.height,u=n.id,b=te()((t={},Object(Z.a)(t,"align".concat(c),c),Object(Z.a)(t,"is-resized",l||s),t)),m=Object(X.createElement)("img",{src:r,alt:o,className:u?"wp-image-".concat(u):null,width:l,height:s});return Object(X.createElement)("figure",{className:b},i?Object(X.createElement)("a",{href:i},m):m,!$.RichText.isEmpty(a)&&Object(X.createElement)($.RichText.Content,{tagName:"figcaption",value:a}))}},{attributes:_e,save:function(e){var t=e.attributes,n=t.url,r=t.alt,o=t.caption,a=t.align,c=t.href,i=t.width,l=t.height,s=t.id,u=Object(X.createElement)("img",{src:n,alt:r,className:s?"wp-image-".concat(s):null,width:i,height:l});return Object(X.createElement)("figure",{className:a?"align".concat(a):null},c?Object(X.createElement)("a",{href:c},u):u,!$.RichText.isEmpty(o)&&Object(X.createElement)($.RichText.Content,{tagName:"figcaption",value:o}))}},{attributes:_e,save:function(e){var t=e.attributes,n=t.url,r=t.alt,o=t.caption,a=t.align,c=t.href,i=t.width,l=t.height,s=i||l?{width:i,height:l}:{},u=Object(X.createElement)("img",Object(ye.a)({src:n,alt:r},s)),b={};return i?b={width:i}:"left"!==a&&"right"!==a||(b={maxWidth:"50%"}),Object(X.createElement)("figure",{className:a?"align".concat(a):null,style:b},c?Object(X.createElement)("a",{href:c},u):u,!$.RichText.isEmpty(o)&&Object(X.createElement)($.RichText.Content,{tagName:"figcaption",value:o}))}}],Ce=n(14),we=n(13),Ee=n(15),xe=n(16),Se=n(7),Te=n(17),Ne=n(37),Be=n(25),Ae=n(51),Re=Object(X.createElement)(ie.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(X.createElement)(ie.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(X.createElement)(ie.Path,{d:"M19,4H5C3.89,4,3,4.9,3,6v12c0,1.1,0.89,2,2,2h14c1.1,0,2-0.9,2-2V6C21,4.9,20.11,4,19,4z M19,18H5V8h14V18z"})),Ie=Object(X.createElement)(ie.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(X.createElement)(ie.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(X.createElement)(ie.Path,{d:"M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H3V5h18v14zM8 15c0-1.66 1.34-3 3-3 .35 0 .69.07 1 .18V6h5v2h-3v7.03c-.02 1.64-1.35 2.97-3 2.97-1.66 0-3-1.34-3-3z"})),Me=Object(X.createElement)(ie.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(X.createElement)(ie.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(X.createElement)(ie.Path,{d:"M21,4H3C1.9,4,1,4.9,1,6v12c0,1.1,0.9,2,2,2h18c1.1,0,2-0.9,2-2V6C23,4.9,22.1,4,21,4z M21,18H3V6h18V18z"}),Object(X.createElement)(ie.Polygon,{points:"14.5 11 11 15.51 8.5 12.5 5 17 19 17"})),Pe=Object(X.createElement)(ie.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(X.createElement)(ie.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(X.createElement)(ie.Path,{d:"m10 8v8l5-4-5-4zm9-5h-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-2zm0 16h-14v-14h14v14z"})),ze={foreground:"#1da1f2",src:Object(X.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(X.createElement)(ie.G,null,Object(X.createElement)(ie.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"})))},He={foreground:"#ff0000",src:Object(X.createElement)(ie.SVG,{viewBox:"0 0 24 24"},Object(X.createElement)(ie.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"}))},Le={foreground:"#3b5998",src:Object(X.createElement)(ie.SVG,{viewBox:"0 0 24 24"},Object(X.createElement)(ie.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"}))},Ve=Object(X.createElement)(ie.SVG,{viewBox:"0 0 24 24"},Object(X.createElement)(ie.G,null,Object(X.createElement)(ie.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"}))),Fe={foreground:"#0073AA",src:Object(X.createElement)(ie.SVG,{viewBox:"0 0 24 24"},Object(X.createElement)(ie.G,null,Object(X.createElement)(ie.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"})))},De={foreground:"#1db954",src:Object(X.createElement)(ie.SVG,{viewBox:"0 0 24 24"},Object(X.createElement)(ie.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"}))},Ue=Object(X.createElement)(ie.SVG,{viewBox:"0 0 24 24"},Object(X.createElement)(ie.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"})),Ge={foreground:"#1ab7ea",src:Object(X.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(X.createElement)(ie.G,null,Object(X.createElement)(ie.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"})))},qe=Object(X.createElement)(ie.SVG,{viewBox:"0 0 24 24"},Object(X.createElement)(ie.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"})),We={foreground:"#35465c",src:Object(X.createElement)(ie.SVG,{viewBox:"0 0 24 24"},Object(X.createElement)(ie.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-2zm-5.57 14.265c-2.445.042-3.37-1.742-3.37-2.998V10.6H8.922V9.15c1.703-.615 2.113-2.15 2.21-3.026.006-.06.053-.084.08-.084h1.645V8.9h2.246v1.7H12.85v3.495c.008.476.182 1.13 1.08 1.107.3-.008.698-.094.907-.194l.54 1.6c-.205.297-1.12.642-1.946.657z"}))},Ke=Object(X.createElement)(ie.SVG,{viewBox:"0 0 24 24"},Object(X.createElement)(ie.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(X.createElement)(ie.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(X.createElement)(ie.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"})),Ze=[{name:"core-embed/twitter",settings:{title:"Twitter",icon:ze,keywords:["tweet"],description:Object(Q.__)("Embed a tweet.")},patterns:[/^https?:\/\/(www\.)?twitter\.com\/.+/i]},{name:"core-embed/youtube",settings:{title:"YouTube",icon:He,keywords:[Object(Q.__)("music"),Object(Q.__)("video")],description:Object(Q.__)("Embed a YouTube video.")},patterns:[/^https?:\/\/((m|www)\.)?youtube\.com\/.+/i,/^https?:\/\/youtu\.be\/.+/i]},{name:"core-embed/facebook",settings:{title:"Facebook",icon:Le,description:Object(Q.__)("Embed a Facebook post.")},patterns:[/^https?:\/\/www\.facebook.com\/.+/i]},{name:"core-embed/instagram",settings:{title:"Instagram",icon:Ve,keywords:[Object(Q.__)("image")],description:Object(Q.__)("Embed an Instagram post.")},patterns:[/^https?:\/\/(www\.)?instagr(\.am|am\.com)\/.+/i]},{name:"core-embed/wordpress",settings:{title:"WordPress",icon:Fe,keywords:[Object(Q.__)("post"),Object(Q.__)("blog")],responsive:!1,description:Object(Q.__)("Embed a WordPress post.")}},{name:"core-embed/soundcloud",settings:{title:"SoundCloud",icon:Ie,keywords:[Object(Q.__)("music"),Object(Q.__)("audio")],description:Object(Q.__)("Embed SoundCloud content.")},patterns:[/^https?:\/\/(www\.)?soundcloud\.com\/.+/i]},{name:"core-embed/spotify",settings:{title:"Spotify",icon:De,keywords:[Object(Q.__)("music"),Object(Q.__)("audio")],description:Object(Q.__)("Embed Spotify content.")},patterns:[/^https?:\/\/(open|play)\.spotify\.com\/.+/i]},{name:"core-embed/flickr",settings:{title:"Flickr",icon:Ue,keywords:[Object(Q.__)("image")],description:Object(Q.__)("Embed Flickr content.")},patterns:[/^https?:\/\/(www\.)?flickr\.com\/.+/i,/^https?:\/\/flic\.kr\/.+/i]},{name:"core-embed/vimeo",settings:{title:"Vimeo",icon:Ge,keywords:[Object(Q.__)("video")],description:Object(Q.__)("Embed a Vimeo video.")},patterns:[/^https?:\/\/(www\.)?vimeo\.com\/.+/i]}],$e=[{name:"core-embed/animoto",settings:{title:"Animoto",icon:Pe,description:Object(Q.__)("Embed an Animoto video.")},patterns:[/^https?:\/\/(www\.)?(animoto|video214)\.com\/.+/i]},{name:"core-embed/cloudup",settings:{title:"Cloudup",icon:Re,description:Object(Q.__)("Embed Cloudup content.")},patterns:[/^https?:\/\/cloudup\.com\/.+/i]},{name:"core-embed/collegehumor",settings:{title:"CollegeHumor",icon:Pe,description:Object(Q.__)("Embed CollegeHumor content."),supports:{inserter:!1}},patterns:[]},{name:"core-embed/crowdsignal",settings:{title:"Crowdsignal",icon:Re,keywords:["polldaddy"],transform:[{type:"block",blocks:["core-embed/polldaddy"],transform:function(e){return Object(J.createBlock)("core-embed/crowdsignal",{content:e})}}],description:Object(Q.__)("Embed Crowdsignal (formerly Polldaddy) content.")},patterns:[/^https?:\/\/((.+\.)?polldaddy\.com|poll\.fm|.+\.survey\.fm)\/.+/i]},{name:"core-embed/dailymotion",settings:{title:"Dailymotion",icon:Pe,description:Object(Q.__)("Embed a Dailymotion video.")},patterns:[/^https?:\/\/(www\.)?dailymotion\.com\/.+/i]},{name:"core-embed/hulu",settings:{title:"Hulu",icon:Pe,description:Object(Q.__)("Embed Hulu content.")},patterns:[/^https?:\/\/(www\.)?hulu\.com\/.+/i]},{name:"core-embed/imgur",settings:{title:"Imgur",icon:Me,description:Object(Q.__)("Embed Imgur content.")},patterns:[/^https?:\/\/(.+\.)?imgur\.com\/.+/i]},{name:"core-embed/issuu",settings:{title:"Issuu",icon:Re,description:Object(Q.__)("Embed Issuu content.")},patterns:[/^https?:\/\/(www\.)?issuu\.com\/.+/i]},{name:"core-embed/kickstarter",settings:{title:"Kickstarter",icon:Re,description:Object(Q.__)("Embed Kickstarter content.")},patterns:[/^https?:\/\/(www\.)?kickstarter\.com\/.+/i,/^https?:\/\/kck\.st\/.+/i]},{name:"core-embed/meetup-com",settings:{title:"Meetup.com",icon:Re,description:Object(Q.__)("Embed Meetup.com content.")},patterns:[/^https?:\/\/(www\.)?meetu(\.ps|p\.com)\/.+/i]},{name:"core-embed/mixcloud",settings:{title:"Mixcloud",icon:Ie,keywords:[Object(Q.__)("music"),Object(Q.__)("audio")],description:Object(Q.__)("Embed Mixcloud content.")},patterns:[/^https?:\/\/(www\.)?mixcloud\.com\/.+/i]},{name:"core-embed/polldaddy",settings:{title:"Polldaddy",icon:Re,description:Object(Q.__)("Embed Polldaddy content."),supports:{inserter:!1}},patterns:[]},{name:"core-embed/reddit",settings:{title:"Reddit",icon:qe,description:Object(Q.__)("Embed a Reddit thread.")},patterns:[/^https?:\/\/(www\.)?reddit\.com\/.+/i]},{name:"core-embed/reverbnation",settings:{title:"ReverbNation",icon:Ie,description:Object(Q.__)("Embed ReverbNation content.")},patterns:[/^https?:\/\/(www\.)?reverbnation\.com\/.+/i]},{name:"core-embed/screencast",settings:{title:"Screencast",icon:Pe,description:Object(Q.__)("Embed Screencast content.")},patterns:[/^https?:\/\/(www\.)?screencast\.com\/.+/i]},{name:"core-embed/scribd",settings:{title:"Scribd",icon:Re,description:Object(Q.__)("Embed Scribd content.")},patterns:[/^https?:\/\/(www\.)?scribd\.com\/.+/i]},{name:"core-embed/slideshare",settings:{title:"Slideshare",icon:Re,description:Object(Q.__)("Embed Slideshare content.")},patterns:[/^https?:\/\/(.+?\.)?slideshare\.net\/.+/i]},{name:"core-embed/smugmug",settings:{title:"SmugMug",icon:Me,description:Object(Q.__)("Embed SmugMug content.")},patterns:[/^https?:\/\/(www\.)?smugmug\.com\/.+/i]},{name:"core-embed/speaker",settings:{title:"Speaker",icon:Ie,supports:{inserter:!1}},patterns:[]},{name:"core-embed/speaker-deck",settings:{title:"Speaker Deck",icon:Re,transform:[{type:"block",blocks:["core-embed/speaker"],transform:function(e){return Object(J.createBlock)("core-embed/speaker-deck",{content:e})}}],description:Object(Q.__)("Embed Speaker Deck content.")},patterns:[/^https?:\/\/(www\.)?speakerdeck\.com\/.+/i]},{name:"core-embed/ted",settings:{title:"TED",icon:Pe,description:Object(Q.__)("Embed a TED video.")},patterns:[/^https?:\/\/(www\.|embed\.)?ted\.com\/.+/i]},{name:"core-embed/tumblr",settings:{title:"Tumblr",icon:We,description:Object(Q.__)("Embed a Tumblr post.")},patterns:[/^https?:\/\/(www\.)?tumblr\.com\/.+/i]},{name:"core-embed/videopress",settings:{title:"VideoPress",icon:Pe,keywords:[Object(Q.__)("video")],description:Object(Q.__)("Embed a VideoPress video.")},patterns:[/^https?:\/\/videopress\.com\/.+/i]},{name:"core-embed/wordpress-tv",settings:{title:"WordPress.tv",icon:Pe,description:Object(Q.__)("Embed a WordPress.tv video.")},patterns:[/^https?:\/\/wordpress\.tv\/.+/i]},{name:"core-embed/amazon-kindle",settings:{title:"Amazon Kindle",icon:Ke,keywords:[Object(Q.__)("ebook")],responsive:!1,description:Object(Q.__)("Embed Amazon Kindle content.")},patterns:[/^https?:\/\/([a-z0-9-]+\.)?(amazon|amzn)(\.[a-z]{2,4})+\/.+/i,/^https?:\/\/(www\.)?(a\.co|z\.cn)\/.+/i]}],Je=["facebook.com","smugmug.com"],Qe=[{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"}],Ye=n(71),Xe=n.n(Ye),et=n(42),tt=n.n(et),nt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.some((function(t){return e.match(t)}))},rt=function(e){return Object(ne.includes)(e,'class="wp-embedded-content"')},ot=function(e,t){var n=e.preview,r=e.name,o=e.attributes.url;if(o){var a=function(e){for(var t=0,n=[].concat(Object(K.a)(Ze),Object(K.a)($e));t1&&void 0!==arguments[1]?arguments[1]:"",n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!n){for(var r={"wp-has-aspect-ratio":!1},o=0;o=u.ratio)return Xe()(t,(s={},Object(Z.a)(s,u.className,n),Object(Z.a)(s,"wp-has-aspect-ratio",n),s))}return t}var ct=tt()((function(e,t,n,r){var o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];if(!e)return{};var a={},c=e.type,i=void 0===c?"rich":c,l=e.html,s=e.provider_name,u=Object(ne.kebabCase)(Object(ne.toLower)(""!==s?s:t));return rt(l)&&(i="wp-embed"),(l||"photo"===i)&&(a.type=i,a.providerNameSlug=u),a.className=at(l,n,r&&o),a})),it=Object(X.createElement)(ie.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(X.createElement)(ie.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(X.createElement)(ie.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(X.createElement)(ie.Path,{d:"m14.14 11.86l-3 3.87-2.14-2.59-3 3.86h12l-3.86-5.14z"})),lt=(Object(X.createElement)(ie.SVG,{width:20,height:20,viewBox:"0 0 20 20"},Object(X.createElement)(ie.Rect,{x:11,y:3,width:7,height:5,rx:1}),Object(X.createElement)(ie.Rect,{x:2,y:12,width:7,height:5,rx:1}),Object(X.createElement)(ie.Path,{d:"M13,12h1a3,3,0,0,1-3,3v2a5,5,0,0,0,5-5h1L15,9Z"}),Object(X.createElement)(ie.Path,{d:"M4,8H3l2,3L7,8H6A3,3,0,0,1,9,5V3A5,5,0,0,0,4,8Z"})),["image"]);var st=function(e){function t(){var e;return Object(Ce.a)(this,t),(e=Object(Ee.a)(this,Object(xe.a)(t).apply(this,arguments))).state={width:void 0,height:void 0},e.bindContainer=e.bindContainer.bind(Object(Se.a)(e)),e.calculateSize=e.calculateSize.bind(Object(Se.a)(e)),e}return Object(Te.a)(t,e),Object(we.a)(t,[{key:"bindContainer",value:function(e){this.container=e}},{key:"componentDidUpdate",value:function(e){this.props.src!==e.src&&(this.setState({width:void 0,height:void 0}),this.fetchImageSize()),this.props.dirtynessTrigger!==e.dirtynessTrigger&&this.calculateSize()}},{key:"componentDidMount",value:function(){this.fetchImageSize()}},{key:"componentWillUnmount",value:function(){this.image&&(this.image.onload=ne.noop)}},{key:"fetchImageSize",value:function(){this.image=new window.Image,this.image.onload=this.calculateSize,this.image.src=this.props.src}},{key:"calculateSize",value:function(){var e,t,n,r,o,a=(e=this.image,t=this.container,n=t.clientWidth,r=e.width>n,o=e.height/e.width,{width:r?n:e.width,height:r?n*o:e.height}),c=a.width,i=a.height;this.setState({width:c,height:i})}},{key:"render",value:function(){var e={imageWidth:this.image&&this.image.width,imageHeight:this.image&&this.image.height,containerWidth:this.container&&this.container.clientWidth,containerHeight:this.container&&this.container.clientHeight,imageWidthWithinContainer:this.state.width,imageHeightWithinContainer:this.state.height};return Object(X.createElement)("div",{ref:this.bindContainer},this.props.children(e))}}]),t}(X.Component),ut=Object(le.withGlobalEvents)({resize:"calculateSize"})(st),bt=function(e,t){return!e&&Object(Ne.isBlobURL)(t)},mt=function(e){function t(){var e;return Object(Ce.a)(this,t),(e=Object(Ee.a)(this,Object(xe.a)(t).apply(this,arguments))).updateAlt=e.updateAlt.bind(Object(Se.a)(e)),e.updateAlignment=e.updateAlignment.bind(Object(Se.a)(e)),e.onFocusCaption=e.onFocusCaption.bind(Object(Se.a)(e)),e.onImageClick=e.onImageClick.bind(Object(Se.a)(e)),e.onSelectImage=e.onSelectImage.bind(Object(Se.a)(e)),e.onSelectURL=e.onSelectURL.bind(Object(Se.a)(e)),e.updateImage=e.updateImage.bind(Object(Se.a)(e)),e.updateWidth=e.updateWidth.bind(Object(Se.a)(e)),e.updateHeight=e.updateHeight.bind(Object(Se.a)(e)),e.updateDimensions=e.updateDimensions.bind(Object(Se.a)(e)),e.onSetHref=e.onSetHref.bind(Object(Se.a)(e)),e.onSetTitle=e.onSetTitle.bind(Object(Se.a)(e)),e.getFilename=e.getFilename.bind(Object(Se.a)(e)),e.onUploadError=e.onUploadError.bind(Object(Se.a)(e)),e.onImageError=e.onImageError.bind(Object(Se.a)(e)),e.state={captionFocused:!1},e}return Object(Te.a)(t,e),Object(we.a)(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.attributes,r=t.mediaUpload,o=t.noticeOperations,a=n.id,c=n.url,i=void 0===c?"":c;if(bt(a,i)){var l=Object(Ne.getBlobByURL)(i);l&&r({filesList:[l],onFileChange:function(t){var n=Object(ce.a)(t,1)[0];e.onSelectImage(n)},allowedTypes:lt,onError:function(e){o.createErrorNotice(e)}})}}},{key:"componentDidUpdate",value:function(e){var t=e.attributes,n=t.id,r=t.url,o=void 0===r?"":r,a=this.props.attributes,c=a.id,i=a.url,l=void 0===i?"":i;bt(n,o)&&!bt(c,l)&&Object(Ne.revokeBlobURL)(l),!this.props.isSelected&&e.isSelected&&this.state.captionFocused&&this.setState({captionFocused:!1})}},{key:"onUploadError",value:function(e){var t=this.props.noticeOperations;t.removeAllNotices(),t.createErrorNotice(e)}},{key:"onSelectImage",value:function(e){if(e&&e.url){var t,n,r,o=this.props.attributes,a=o.id,c=o.url,i=o.alt,l=o.caption,s=o.linkDestination,u=(t=e,(n=Object(ne.pick)(t,["alt","id","link","caption"])).url=Object(ne.get)(t,["sizes","large","url"])||Object(ne.get)(t,["media_details","sizes","large","source_url"])||t.url,n);bt(a,c)&&(i&&(u=Object(ne.omit)(u,["alt"])),l&&(u=Object(ne.omit)(u,["caption"]))),r=e.id&&e.id===a?{url:c}:{width:void 0,height:void 0,sizeSlug:"large"},"media"===s&&(u.href=e.url),"attachment"===s&&(u.href=e.link),this.props.setAttributes(Object(Y.a)({},u,r))}else this.props.setAttributes({url:void 0,alt:void 0,id:void 0,title:void 0,caption:void 0})}},{key:"onSelectURL",value:function(e){e!==this.props.attributes.url&&this.props.setAttributes({url:e,id:void 0,sizeSlug:"large"})}},{key:"onImageError",value:function(e){var t=ot({attributes:{url:e}});void 0!==t&&this.props.onReplace(t)}},{key:"onSetHref",value:function(e){this.props.setAttributes(e)}},{key:"onSetTitle",value:function(e){this.props.setAttributes({title:e})}},{key:"onFocusCaption",value:function(){this.state.captionFocused||this.setState({captionFocused:!0})}},{key:"onImageClick",value:function(){this.state.captionFocused&&this.setState({captionFocused:!1})}},{key:"updateAlt",value:function(e){this.props.setAttributes({alt:e})}},{key:"updateAlignment",value:function(e){var t=-1!==["wide","full"].indexOf(e)?{width:void 0,height:void 0}:{};this.props.setAttributes(Object(Y.a)({},t,{align:e}))}},{key:"updateImage",value:function(e){var t=this.props.image,n=Object(ne.get)(t,["media_details","sizes",e,"source_url"]);if(!n)return null;this.props.setAttributes({url:n,width:void 0,height:void 0,sizeSlug:e})}},{key:"updateWidth",value:function(e){this.props.setAttributes({width:parseInt(e,10)})}},{key:"updateHeight",value:function(e){this.props.setAttributes({height:parseInt(e,10)})}},{key:"updateDimensions",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return function(){e.props.setAttributes({width:t,height:n})}}},{key:"getFilename",value:function(e){var t=Object(Be.getPath)(e);if(t)return Object(ne.last)(t.split("/"))}},{key:"getImageSizeOptions",value:function(){var e=this.props,t=e.imageSizes,n=e.image;return Object(ne.map)(Object(ne.filter)(t,(function(e){var t=e.slug;return Object(ne.get)(n,["media_details","sizes",t,"source_url"])})),(function(e){var t=e.name;return{value:e.slug,label:t}}))}},{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=t.setAttributes,o=t.isLargeViewport,a=t.isSelected,c=t.className,i=t.maxWidth,l=t.noticeUI,s=t.isRTL,u=t.onResizeStart,b=t.onResizeStop,m=n.url,d=n.alt,h=n.caption,p=n.align,g=n.id,f=n.href,v=n.rel,O=n.linkClass,j=n.linkDestination,y=n.title,_=n.width,k=n.height,C=n.linkTarget,w=n.sizeSlug,E=function(e,t){return t&&!e&&!Object(Ne.isBlobURL)(t)}(g,m),x=Object(X.createElement)($.BlockControls,null,Object(X.createElement)($.BlockAlignmentToolbar,{value:p,onChange:this.updateAlignment}),m&&Object(X.createElement)($.MediaReplaceFlow,{mediaURL:m,allowedTypes:lt,accept:"image/*",onSelect:this.onSelectImage,onSelectURL:this.onSelectURL,onError:this.onUploadError}),m&&Object(X.createElement)(ie.ToolbarGroup,null,Object(X.createElement)($.__experimentalImageURLInputUI,{url:f||"",onChangeUrl:this.onSetHref,linkDestination:j,mediaUrl:this.props.image&&this.props.image.source_url,mediaLink:this.props.image&&this.props.image.link,linkTarget:C,linkClass:O,rel:v}))),S=E?m:void 0,T={title:m?Object(Q.__)("Edit image"):Object(Q.__)("Image"),instructions:Object(Q.__)("Upload an image file, pick one from your media library, or add one with a URL.")},N=!!m&&Object(X.createElement)("img",{alt:Object(Q.__)("Edit image"),title:Object(Q.__)("Edit image"),className:"edit-image-preview",src:m}),B=Object(X.createElement)($.MediaPlaceholder,{icon:Object(X.createElement)($.BlockIcon,{icon:it}),className:c,labels:T,onSelect:this.onSelectImage,onSelectURL:this.onSelectURL,notices:l,onError:this.onUploadError,accept:"image/*",allowedTypes:lt,value:{id:g,src:S},mediaPreview:N,disableMediaButtons:m});if(!m)return Object(X.createElement)(X.Fragment,null,x,B);var A=te()(c,Object(Z.a)({"is-transient":Object(Ne.isBlobURL)(m),"is-resized":!!_||!!k,"is-focused":a},"size-".concat(w),w)),R=-1===["wide","full"].indexOf(p)&&o,I=this.getImageSizeOptions(),M=function(t,n){return Object(X.createElement)(X.Fragment,null,Object(X.createElement)($.InspectorControls,null,Object(X.createElement)(ie.PanelBody,{title:Object(Q.__)("Image Settings")},Object(X.createElement)(ie.TextareaControl,{label:Object(Q.__)("Alt Text (Alternative Text)"),value:d,onChange:e.updateAlt,help:Object(X.createElement)(X.Fragment,null,Object(X.createElement)(ie.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},Object(Q.__)("Describe the purpose of the image")),Object(Q.__)("Leave empty if the image is purely decorative."))}),!Object(ne.isEmpty)(I)&&Object(X.createElement)(ie.SelectControl,{label:Object(Q.__)("Image Size"),value:w,options:I,onChange:e.updateImage}),R&&Object(X.createElement)("div",{className:"block-library-image__dimensions"},Object(X.createElement)("p",{className:"block-library-image__dimensions__row"},Object(Q.__)("Image Dimensions")),Object(X.createElement)("div",{className:"block-library-image__dimensions__row"},Object(X.createElement)(ie.TextControl,{type:"number",className:"block-library-image__dimensions__width",label:Object(Q.__)("Width"),value:_||t||"",min:1,onChange:e.updateWidth}),Object(X.createElement)(ie.TextControl,{type:"number",className:"block-library-image__dimensions__height",label:Object(Q.__)("Height"),value:k||n||"",min:1,onChange:e.updateHeight})),Object(X.createElement)("div",{className:"block-library-image__dimensions__row"},Object(X.createElement)(ie.ButtonGroup,{"aria-label":Object(Q.__)("Image Size")},[25,50,75,100].map((function(r){var o=Math.round(t*(r/100)),a=Math.round(n*(r/100)),c=_===o&&k===a;return Object(X.createElement)(ie.Button,{key:r,isSmall:!0,isPrimary:c,isPressed:c,onClick:e.updateDimensions(o,a)},r,"%")}))),Object(X.createElement)(ie.Button,{isSmall:!0,onClick:e.updateDimensions()},Object(Q.__)("Reset")))))),Object(X.createElement)($.InspectorAdvancedControls,null,Object(X.createElement)(ie.TextControl,{label:Object(Q.__)("Title Attribute"),value:y||"",onChange:e.onSetTitle,help:Object(X.createElement)(X.Fragment,null,Object(Q.__)("Describe the role of this image on the page."),Object(X.createElement)(ie.ExternalLink,{href:"https://www.w3.org/TR/html52/dom.html#the-title-attribute"},Object(Q.__)("(Note: many devices and browsers do not display this text.)")))})))};return Object(X.createElement)(X.Fragment,null,x,Object(X.createElement)("figure",{className:A},Object(X.createElement)(ut,{src:m,dirtynessTrigger:p},(function(t){var n,o=t.imageWidthWithinContainer,a=t.imageHeightWithinContainer,c=t.imageWidth,l=t.imageHeight,h=e.getFilename(m);n=d||(h?Object(Q.sprintf)(Object(Q.__)("This image has an empty alt attribute; its file name is %s"),h):Object(Q.__)("This image has an empty alt attribute"));var g=Object(X.createElement)(X.Fragment,null,Object(X.createElement)("img",{src:m,alt:n,onClick:e.onImageClick,onError:function(){return e.onImageError(m)}}),Object(Ne.isBlobURL)(m)&&Object(X.createElement)(ie.Spinner,null));if(!R||!o)return Object(X.createElement)(X.Fragment,null,M(c,l),Object(X.createElement)("div",{style:{width:_,height:k}},g));var f=_||o,v=k||a,O=c/l,j=c 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",default:"none"},linkTarget:{type:"string",source:"attribute",selector:"figure > a",attribute:"target"}}},vt=ft.name,Ot={title:Object(Q.__)("Image"),description:Object(Q.__)("Insert an image to make a visual statement."),icon:it,keywords:["img",Object(Q.__)("photo")],example:{attributes:{sizeSlug:"large",url:"https://s.w.org/images/core/5.3/MtBlanc1.jpg",caption:Object(Q.__)("Mont Blanc appears—still, snowy, and serene.")}},styles:[{name:"default",label:Object(Q._x)("Default","block style"),isDefault:!0},{name:"rounded",label:Object(Q._x)("Rounded","block style")}],transforms:gt,getEditWrapperProps:function(e){var t=e.align,n=e.width;if("left"===t||"center"===t||"right"===t||"wide"===t||"full"===t)return{"data-align":t,"data-resized":!!n}},edit:dt,save:function(e){var t,n=e.attributes,r=n.url,o=n.alt,a=n.caption,c=n.align,i=n.href,l=n.rel,s=n.linkClass,u=n.width,b=n.height,m=n.id,d=n.linkTarget,h=n.sizeSlug,p=n.title,g=Object(ne.isEmpty)(l)?void 0:l,f=te()((t={},Object(Z.a)(t,"align".concat(c),c),Object(Z.a)(t,"size-".concat(h),h),Object(Z.a)(t,"is-resized",u||b),t)),v=Object(X.createElement)("img",{src:r,alt:o,className:m?"wp-image-".concat(m):null,width:u,height:b,title:p}),O=Object(X.createElement)(X.Fragment,null,i?Object(X.createElement)("a",{className:s,href:i,target:d,rel:g},v):v,!$.RichText.isEmpty(a)&&Object(X.createElement)($.RichText.Content,{tagName:"figcaption",value:a}));return"left"===c||"right"===c||"center"===c?Object(X.createElement)("div",null,Object(X.createElement)("figure",{className:f},O)):Object(X.createElement)("figure",{className:f},O)},deprecated:ke},jt={className:!1,anchor:!0},yt={align:{type:"string"},content:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6",default:""},level:{type:"number",default:2},placeholder:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"}},_t=[{attributes:yt,save:function(e){var t,n=e.attributes,r=n.align,o=n.content,a=n.customTextColor,c=n.level,i=n.textColor,l="h"+c,s=Object($.getColorClassName)("color",i),u=te()((t={},Object(Z.a)(t,s,s),Object(Z.a)(t,"has-text-align-".concat(r),r),t));return Object(X.createElement)($.RichText.Content,{className:u||void 0,tagName:l,style:{color:s?void 0:a},value:o})},supports:jt},{supports:jt,attributes:yt,save:function(e){var t=e.attributes,n=t.align,r=t.level,o=t.content,a=t.textColor,c=t.customTextColor,i="h"+r,l=Object($.getColorClassName)("color",a),s=te()(Object(Z.a)({},l,l));return Object(X.createElement)($.RichText.Content,{className:s||void 0,tagName:i,style:{textAlign:n,color:l?void 0:c},value:o})}}];function kt(e){var t=e.level,n=e.isPressed,r=void 0!==n&&n,o={1:"M9 5h2v10H9v-4H5v4H3V5h2v4h4V5zm6.6 0c-.6.9-1.5 1.7-2.6 2v1h2v7h2V5h-1.4z",2:"M7 5h2v10H7v-4H3v4H1V5h2v4h4V5zm8 8c.5-.4.6-.6 1.1-1.1.4-.4.8-.8 1.2-1.3.3-.4.6-.8.9-1.3.2-.4.3-.8.3-1.3 0-.4-.1-.9-.3-1.3-.2-.4-.4-.7-.8-1-.3-.3-.7-.5-1.2-.6-.5-.2-1-.2-1.5-.2-.4 0-.7 0-1.1.1-.3.1-.7.2-1 .3-.3.1-.6.3-.9.5-.3.2-.6.4-.8.7l1.2 1.2c.3-.3.6-.5 1-.7.4-.2.7-.3 1.2-.3s.9.1 1.3.4c.3.3.5.7.5 1.1 0 .4-.1.8-.4 1.1-.3.5-.6.9-1 1.2-.4.4-1 .9-1.6 1.4-.6.5-1.4 1.1-2.2 1.6V15h8v-2H15z",3:"M12.1 12.2c.4.3.8.5 1.2.7.4.2.9.3 1.4.3.5 0 1-.1 1.4-.3.3-.1.5-.5.5-.8 0-.2 0-.4-.1-.6-.1-.2-.3-.3-.5-.4-.3-.1-.7-.2-1-.3-.5-.1-1-.1-1.5-.1V9.1c.7.1 1.5-.1 2.2-.4.4-.2.6-.5.6-.9 0-.3-.1-.6-.4-.8-.3-.2-.7-.3-1.1-.3-.4 0-.8.1-1.1.3-.4.2-.7.4-1.1.6l-1.2-1.4c.5-.4 1.1-.7 1.6-.9.5-.2 1.2-.3 1.8-.3.5 0 1 .1 1.6.2.4.1.8.3 1.2.5.3.2.6.5.8.8.2.3.3.7.3 1.1 0 .5-.2.9-.5 1.3-.4.4-.9.7-1.5.9v.1c.6.1 1.2.4 1.6.8.4.4.7.9.7 1.5 0 .4-.1.8-.3 1.2-.2.4-.5.7-.9.9-.4.3-.9.4-1.3.5-.5.1-1 .2-1.6.2-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1l1.1-1.4zM7 9H3V5H1v10h2v-4h4v4h2V5H7v4z",4:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm10-2h-1v2h-2v-2h-5v-2l4-6h3v6h1v2zm-3-2V7l-2.8 4H16z",5:"M12.1 12.2c.4.3.7.5 1.1.7.4.2.9.3 1.3.3.5 0 1-.1 1.4-.4.4-.3.6-.7.6-1.1 0-.4-.2-.9-.6-1.1-.4-.3-.9-.4-1.4-.4H14c-.1 0-.3 0-.4.1l-.4.1-.5.2-1-.6.3-5h6.4v1.9h-4.3L14 8.8c.2-.1.5-.1.7-.2.2 0 .5-.1.7-.1.5 0 .9.1 1.4.2.4.1.8.3 1.1.6.3.2.6.6.8.9.2.4.3.9.3 1.4 0 .5-.1 1-.3 1.4-.2.4-.5.8-.9 1.1-.4.3-.8.5-1.3.7-.5.2-1 .3-1.5.3-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1-.1-.1 1-1.5 1-1.5zM9 15H7v-4H3v4H1V5h2v4h4V5h2v10z",6:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm8.6-7.5c-.2-.2-.5-.4-.8-.5-.6-.2-1.3-.2-1.9 0-.3.1-.6.3-.8.5l-.6.9c-.2.5-.2.9-.2 1.4.4-.3.8-.6 1.2-.8.4-.2.8-.3 1.3-.3.4 0 .8 0 1.2.2.4.1.7.3 1 .6.3.3.5.6.7.9.2.4.3.8.3 1.3s-.1.9-.3 1.4c-.2.4-.5.7-.8 1-.4.3-.8.5-1.2.6-1 .3-2 .3-3 0-.5-.2-1-.5-1.4-.9-.4-.4-.8-.9-1-1.5-.2-.6-.3-1.3-.3-2.1s.1-1.6.4-2.3c.2-.6.6-1.2 1-1.6.4-.4.9-.7 1.4-.9.6-.3 1.1-.4 1.7-.4.7 0 1.4.1 2 .3.5.2 1 .5 1.4.8 0 .1-1.3 1.4-1.3 1.4zm-2.4 5.8c.2 0 .4 0 .6-.1.2 0 .4-.1.5-.2.1-.1.3-.3.4-.5.1-.2.1-.5.1-.7 0-.4-.1-.8-.4-1.1-.3-.2-.7-.3-1.1-.3-.3 0-.7.1-1 .2-.4.2-.7.4-1 .7 0 .3.1.7.3 1 .1.2.3.4.4.6.2.1.3.3.5.3.2.1.5.2.7.1z"};return o.hasOwnProperty(t)?Object(X.createElement)(ie.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",isPressed:r},Object(X.createElement)(ie.Path,{d:o[t]})):null}var Ct=function(e){function t(){return Object(Ce.a)(this,t),Object(Ee.a)(this,Object(xe.a)(t).apply(this,arguments))}return Object(Te.a)(t,e),Object(we.a)(t,[{key:"createLevelControl",value:function(e,t,n){var r=e===t;return{icon:Object(X.createElement)(kt,{level:e,isPressed:r}),title:Object(Q.sprintf)(Object(Q.__)("Heading %d"),e),isActive:r,onClick:function(){return n(e)}}}},{key:"render",value:function(){var e=this,t=this.props,n=t.isCollapsed,r=void 0===n||n,o=t.minLevel,a=t.maxLevel,c=t.selectedLevel,i=t.onChange;return Object(X.createElement)(ie.ToolbarGroup,{isCollapsed:r,icon:Object(X.createElement)(kt,{level:c}),controls:Object(ne.range)(o,a).map((function(t){return e.createLevelControl(t,c,i)}))})}}]),t}(X.Component);var wt=function(e){var t=e.attributes,n=e.setAttributes,r=e.mergeBlocks,o=e.onReplace,a=e.className,c=Object($.__experimentalUseColors)([{name:"textColor",property:"color"}],{contrastCheckers:{backgroundColor:!0,textColor:!0}},[]),i=c.TextColor,l=c.InspectorControlsColorPanel,s=c.ColorDetector,u=t.align,b=t.content,m=t.level,d=t.placeholder,h="h"+m;return Object(X.createElement)(X.Fragment,null,Object(X.createElement)($.BlockControls,null,Object(X.createElement)(Ct,{minLevel:2,maxLevel:5,selectedLevel:m,onChange:function(e){return n({level:e})}}),Object(X.createElement)($.AlignmentToolbar,{value:u,onChange:function(e){n({align:e})}})),Object(X.createElement)($.InspectorControls,null,Object(X.createElement)(ie.PanelBody,{title:Object(Q.__)("Heading Settings")},Object(X.createElement)("p",null,Object(Q.__)("Level")),Object(X.createElement)(Ct,{isCollapsed:!1,minLevel:1,maxLevel:7,selectedLevel:m,onChange:function(e){return n({level:e})}}))),l,Object(X.createElement)(i,null,Object(X.createElement)(s,{querySelector:'[contenteditable="true"]'}),Object(X.createElement)($.RichText,{identifier:"content",tagName:h,value:b,onChange:function(e){return n({content:e})},onMerge:r,onSplit:function(e){return e?Object(J.createBlock)("core/heading",Object(Y.a)({},t,{content:e})):Object(J.createBlock)("core/paragraph")},onReplace:o,onRemove:function(){return o([])},className:te()(a,Object(Z.a)({},"has-text-align-".concat(u),u)),placeholder:d||Object(Q.__)("Write heading…")})))};var Et={from:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return Object(J.createBlock)("core/heading",{content:t})}},{type:"raw",selector:"h1,h2,h3,h4,h5,h6",schema:function(e){var t={children:e.phrasingContentSchema,attributes:e.isPaste?[]:["style"]};return{h1:t,h2:t,h3:t,h4:t,h5:t,h6:t}},transform:function(e){var t,n=Object(J.getBlockAttributes)("core/heading",e.outerHTML),r=(e.style||{}).textAlign;return n.level=(t=e.nodeName,Number(t.substr(1))),"left"!==r&&"center"!==r&&"right"!==r||(n.align=r),Object(J.createBlock)("core/heading",n)}}].concat(Object(K.a)([2,3,4,5,6].map((function(e){return{type:"prefix",prefix:Array(e+1).join("#"),transform:function(t){return Object(J.createBlock)("core/heading",{level:e,content:t})}}})))),to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return Object(J.createBlock)("core/paragraph",{content:t})}}]},xt={name:"core/heading",category:"common",attributes:{align:{type:"string"},content:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6",default:""},level:{type:"number",default:2},placeholder:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"}}},St=xt.name,Tt={title:Object(Q.__)("Heading"),description:Object(Q.__)("Introduce new sections and organize content to help visitors (and search engines) understand the structure of your content."),icon:"heading",keywords:[Object(Q.__)("title"),Object(Q.__)("subtitle")],supports:{className:!1,anchor:!0,__unstablePasteTextInline:!0},example:{attributes:{content:Object(Q.__)("Code is Poetry"),level:2}},transforms:Et,deprecated:_t,merge:function(e,t){return{content:(e.content||"")+(t.content||"")}},edit:wt,save:function(e){var t,n=e.attributes,r=n.align,o=n.content,a=n.customTextColor,c=n.level,i=n.textColor,l="h"+c,s=Object($.getColorClassName)("color",i),u=te()((t={},Object(Z.a)(t,s,s),Object(Z.a)(t,"has-text-color",i||a),Object(Z.a)(t,"has-text-align-".concat(r),r),t));return Object(X.createElement)($.RichText.Content,{className:u||void 0,tagName:l,style:{color:s?void 0:a},value:o})}},Nt={value:{type:"string",source:"html",selector:"blockquote",multiline:"p",default:""},citation:{type:"string",source:"html",selector:"cite",default:""},align:{type:"string"}},Bt=[{attributes:Nt,save:function(e){var t=e.attributes,n=t.align,r=t.value,o=t.citation;return Object(X.createElement)("blockquote",{style:{textAlign:n||null}},Object(X.createElement)($.RichText.Content,{multiline:!0,value:r}),!$.RichText.isEmpty(o)&&Object(X.createElement)($.RichText.Content,{tagName:"cite",value:o}))}},{attributes:Object(Y.a)({},Nt,{style:{type:"number",default:1}}),migrate:function(e){return 2===e.style?Object(Y.a)({},Object(ne.omit)(e,["style"]),{className:e.className?e.className+" is-style-large":"is-style-large"}):e},save:function(e){var t=e.attributes,n=t.align,r=t.value,o=t.citation,a=t.style;return Object(X.createElement)("blockquote",{className:2===a?"is-large":"",style:{textAlign:n||null}},Object(X.createElement)($.RichText.Content,{multiline:!0,value:r}),!$.RichText.isEmpty(o)&&Object(X.createElement)($.RichText.Content,{tagName:"cite",value:o}))}},{attributes:Object(Y.a)({},Nt,{citation:{type:"string",source:"html",selector:"footer",default:""},style:{type:"number",default:1}}),save:function(e){var t=e.attributes,n=t.align,r=t.value,o=t.citation,a=t.style;return Object(X.createElement)("blockquote",{className:"blocks-quote-style-".concat(a),style:{textAlign:n||null}},Object(X.createElement)($.RichText.Content,{multiline:!0,value:r}),!$.RichText.isEmpty(o)&&Object(X.createElement)($.RichText.Content,{tagName:"footer",value:o}))}}];var At=Object(X.createElement)(ie.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(X.createElement)(ie.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(X.createElement)(ie.Path,{d:"M18.62 18h-5.24l2-4H13V6h8v7.24L18.62 18zm-2-2h.76L19 12.76V8h-4v4h3.62l-2 4zm-8 2H3.38l2-4H3V6h8v7.24L8.62 18zm-2-2h.76L9 12.76V8H5v4h3.62l-2 4z"}));var Rt=n(20),It=n(24),Mt={from:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:function(e){return Object(J.createBlock)("core/quote",{value:Object(It.toHTMLString)({value:Object(It.join)(e.map((function(e){var t=e.content;return Object(It.create)({html:t})})),"\u2028"),multilineTag:"p"})})}},{type:"block",blocks:["core/heading"],transform:function(e){var t=e.content;return Object(J.createBlock)("core/quote",{value:"

    ".concat(t,"

    ")})}},{type:"block",blocks:["core/pullquote"],transform:function(e){var t=e.value,n=e.citation;return Object(J.createBlock)("core/quote",{value:t,citation:n})}},{type:"prefix",prefix:">",transform:function(e){return Object(J.createBlock)("core/quote",{value:"

    ".concat(e,"

    ")})}},{type:"raw",isMatch:function(e){var t,n=(t=!1,function(e){return"P"===e.nodeName||(t||"CITE"!==e.nodeName?void 0:(t=!0,!0))});return"BLOCKQUOTE"===e.nodeName&&Array.from(e.childNodes).every(n)},schema:function(e){var t=e.phrasingContentSchema;return{blockquote:{children:{p:{children:t},cite:{children:t}}}}}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.value,n=e.citation,r=[];return t&&"

    "!==t&&r.push.apply(r,Object(K.a)(Object(It.split)(Object(It.create)({html:t,multilineTag:"p"}),"\u2028").map((function(e){return Object(J.createBlock)("core/paragraph",{content:Object(It.toHTMLString)({value:e})})})))),n&&"

    "!==n&&r.push(Object(J.createBlock)("core/paragraph",{content:n})),0===r.length?Object(J.createBlock)("core/paragraph",{content:""}):r}},{type:"block",blocks:["core/heading"],transform:function(e){var t=e.value,n=e.citation,r=Object(Rt.a)(e,["value","citation"]);if("

    "===t)return Object(J.createBlock)("core/heading",{content:n});var o=Object(It.split)(Object(It.create)({html:t,multilineTag:"p"}),"\u2028"),a=Object(J.createBlock)("core/heading",{content:Object(It.toHTMLString)({value:o[0]})});if(!n&&1===o.length)return a;var c=o.slice(1);return[a,Object(J.createBlock)("core/quote",Object(Y.a)({},r,{citation:n,value:Object(It.toHTMLString)({value:c.length?Object(It.join)(o.slice(1),"\u2028"):Object(It.create)(),multilineTag:"p"})}))]}},{type:"block",blocks:["core/pullquote"],transform:function(e){var t=e.value,n=e.citation;return Object(J.createBlock)("core/pullquote",{value:t,citation:n})}}]},Pt={name:"core/quote",category:"common",attributes:{value:{type:"string",source:"html",selector:"blockquote",multiline:"p",default:""},citation:{type:"string",source:"html",selector:"cite",default:""},align:{type:"string"}}},zt=Pt.name,Ht={title:Object(Q.__)("Quote"),description:Object(Q.__)('Give quoted text visual emphasis. "In quoting others, we cite ourselves." — Julio Cortázar'),icon:At,keywords:[Object(Q.__)("blockquote"),Object(Q.__)("cite")],example:{attributes:{value:"

    "+Object(Q.__)("In quoting others, we cite ourselves.")+"

    ",citation:"Julio Cortázar",className:"is-style-large"}},styles:[{name:"default",label:Object(Q._x)("Default","block style"),isDefault:!0},{name:"large",label:Object(Q._x)("Large","block style")}],transforms:Mt,edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.isSelected,o=e.mergeBlocks,a=e.onReplace,c=e.className,i=t.align,l=t.value,s=t.citation;return Object(X.createElement)(X.Fragment,null,Object(X.createElement)($.BlockControls,null,Object(X.createElement)($.AlignmentToolbar,{value:i,onChange:function(e){n({align:e})}})),Object(X.createElement)(ie.BlockQuotation,{className:te()(c,Object(Z.a)({},"has-text-align-".concat(i),i))},Object(X.createElement)($.RichText,{identifier:"value",multiline:!0,value:l,onChange:function(e){return n({value:e})},onMerge:o,onRemove:function(e){var t=!s||0===s.length;!e&&t&&a([])},placeholder:Object(Q.__)("Write quote…"),onReplace:a,onSplit:function(e){return Object(J.createBlock)("core/quote",Object(Y.a)({},t,{value:e}))},__unstableOnSplitMiddle:function(){return Object(J.createBlock)("core/paragraph")}}),(!$.RichText.isEmpty(s)||r)&&Object(X.createElement)($.RichText,{identifier:"citation",value:s,onChange:function(e){return n({citation:e})},__unstableMobileNoFocusOnMount:!0,placeholder:Object(Q.__)("Write citation…"),className:"wp-block-quote__citation"})))},save:function(e){var t=e.attributes,n=t.align,r=t.value,o=t.citation,a=te()(Object(Z.a)({},"has-text-align-".concat(n),n));return Object(X.createElement)("blockquote",{className:a},Object(X.createElement)($.RichText.Content,{multiline:!0,value:r}),!$.RichText.isEmpty(o)&&Object(X.createElement)($.RichText.Content,{tagName:"cite",value:o}))},merge:function(e,t){var n=t.value,r=t.citation;return r||(r=e.citation),n&&"

    "!==n?Object(Y.a)({},e,{value:e.value+n,citation:r}):Object(Y.a)({},e,{citation:r})},deprecated:Bt};function Lt(e){return Math.min(3,e.images.length)}var Vt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"large",n=Object(ne.pick)(e,["alt","id","link","caption"]);n.url=Object(ne.get)(e,["sizes",t,"url"])||Object(ne.get)(e,["media_details","sizes",t,"source_url"])||e.url;var r=Object(ne.get)(e,["sizes","full","url"])||Object(ne.get)(e,["media_details","sizes","full","source_url"]);return r&&(n.fullUrl=r),n},Ft=[{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"}},save:function(e){var t=e.attributes,n=t.images,r=t.columns,o=void 0===r?Lt(t):r,a=t.imageCrop,c=t.linkTo;return Object(X.createElement)("ul",{className:"columns-".concat(o," ").concat(a?"is-cropped":"")},n.map((function(e){var t;switch(c){case"media":t=e.fullUrl||e.url;break;case"attachment":t=e.link}var n=Object(X.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-".concat(e.id):null});return Object(X.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(X.createElement)("figure",null,t?Object(X.createElement)("a",{href:t},n):n,e.caption&&e.caption.length>0&&Object(X.createElement)($.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:function(e){var t=e.images,n=e.ids;return t&&t.length>0&&(!n&&t||n&&t&&n.length!==t.length||Object(ne.some)(t,(function(e,t){return!e&&null!==n[t]||parseInt(e,10)!==n[t]})))},migrate:function(e){return Object(Y.a)({},e,{ids:Object(ne.map)(e.images,(function(e){var t=e.id;return t?parseInt(t,10):null}))})},save:function(e){var t=e.attributes,n=t.images,r=t.columns,o=void 0===r?Lt(t):r,a=t.imageCrop,c=t.linkTo;return Object(X.createElement)("ul",{className:"columns-".concat(o," ").concat(a?"is-cropped":"")},n.map((function(e){var t;switch(c){case"media":t=e.url;break;case"attachment":t=e.link}var n=Object(X.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-link":e.link,className:e.id?"wp-image-".concat(e.id):null});return Object(X.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(X.createElement)("figure",null,t?Object(X.createElement)("a",{href:t},n):n,e.caption&&e.caption.length>0&&Object(X.createElement)($.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"}},save:function(e){var t=e.attributes,n=t.images,r=t.columns,o=void 0===r?Lt(t):r,a=t.align,c=t.imageCrop,i=t.linkTo,l=te()("columns-".concat(o),{alignnone:"none"===a,"is-cropped":c});return Object(X.createElement)("div",{className:l},n.map((function(e){var t;switch(i){case"media":t=e.url;break;case"attachment":t=e.link}var n=Object(X.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id});return Object(X.createElement)("figure",{key:e.id||e.url,className:"blocks-gallery-image"},t?Object(X.createElement)("a",{href:t},n):n)})))}}],Dt=Object(X.createElement)(ie.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(X.createElement)(ie.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(X.createElement)(ie.G,null,Object(X.createElement)(ie.Path,{d:"M20 4v12H8V4h12m0-2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-8.5 9.67l1.69 2.26 2.48-3.1L19 15H9zM2 6v14c0 1.1.9 2 2 2h14v-2H4V6H2z"}))),Ut=Object(X.createElement)(ie.SVG,{width:"18",height:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},Object(X.createElement)(ie.Path,{d:"M5 8.70002L10.6 14.4L12 12.9L7.8 8.70002L12 4.50002L10.6 3.00002L5 8.70002Z"})),Gt=Object(X.createElement)(ie.SVG,{width:"18",height:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},Object(X.createElement)(ie.Path,{d:"M13 8.7L7.4 3L6 4.5L10.2 8.7L6 12.9L7.4 14.4L13 8.7Z"})),qt=Object(X.createElement)($.BlockIcon,{icon:Dt}),Wt=n(19),Kt=function(e){function t(){var e;return Object(Ce.a)(this,t),(e=Object(Ee.a)(this,Object(xe.a)(t).apply(this,arguments))).onSelectImage=e.onSelectImage.bind(Object(Se.a)(e)),e.onSelectCaption=e.onSelectCaption.bind(Object(Se.a)(e)),e.onRemoveImage=e.onRemoveImage.bind(Object(Se.a)(e)),e.bindContainer=e.bindContainer.bind(Object(Se.a)(e)),e.state={captionSelected:!1},e}return Object(Te.a)(t,e),Object(we.a)(t,[{key:"bindContainer",value:function(e){this.container=e}},{key:"onSelectCaption",value:function(){this.state.captionSelected||this.setState({captionSelected:!0}),this.props.isSelected||this.props.onSelect()}},{key:"onSelectImage",value:function(){this.props.isSelected||this.props.onSelect(),this.state.captionSelected&&this.setState({captionSelected:!1})}},{key:"onRemoveImage",value:function(e){this.container===document.activeElement&&this.props.isSelected&&-1!==[Wt.BACKSPACE,Wt.DELETE].indexOf(e.keyCode)&&(e.stopPropagation(),e.preventDefault(),this.props.onRemove())}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isSelected,r=t.image,o=t.url;r&&!o&&this.props.setAttributes({url:r.source_url,alt:r.alt_text}),this.state.captionSelected&&!n&&e.isSelected&&this.setState({captionSelected:!1})}},{key:"render",value:function(){var e,t=this.props,n=t.url,r=t.alt,o=t.id,a=t.linkTo,c=t.link,i=t.isFirstItem,l=t.isLastItem,s=t.isSelected,u=t.caption,b=t.onRemove,m=t.onMoveForward,d=t.onMoveBackward,h=t.setAttributes,p=t["aria-label"];switch(a){case"media":e=n;break;case"attachment":e=c}var g=Object(X.createElement)(X.Fragment,null,Object(X.createElement)("img",{src:n,alt:r,"data-id":o,onClick:this.onSelectImage,onFocus:this.onSelectImage,onKeyDown:this.onRemoveImage,tabIndex:"0","aria-label":p,ref:this.bindContainer}),Object(Ne.isBlobURL)(n)&&Object(X.createElement)(ie.Spinner,null)),f=te()({"is-selected":s,"is-transient":Object(Ne.isBlobURL)(n)});return Object(X.createElement)("figure",{className:f},e?Object(X.createElement)("a",{href:e},g):g,Object(X.createElement)("div",{className:"block-library-gallery-item__move-menu"},Object(X.createElement)(ie.Button,{icon:Ut,onClick:i?void 0:d,className:"blocks-gallery-item__move-backward",label:Object(Q.__)("Move image backward"),"aria-disabled":i,disabled:!s}),Object(X.createElement)(ie.Button,{icon:Gt,onClick:l?void 0:m,className:"blocks-gallery-item__move-forward",label:Object(Q.__)("Move image forward"),"aria-disabled":l,disabled:!s})),Object(X.createElement)("div",{className:"block-library-gallery-item__inline-menu"},Object(X.createElement)(ie.Button,{icon:"no-alt",onClick:b,className:"blocks-gallery-item__remove",label:Object(Q.__)("Remove image"),disabled:!s})),(s||u)&&Object(X.createElement)($.RichText,{tagName:"figcaption",placeholder:s?Object(Q.__)("Write caption…"):null,value:u,isSelected:this.state.captionSelected,onChange:function(e){return h({caption:e})},unstableOnFocus:this.onSelectCaption,inlineToolbar:!0}))}}]),t}(X.Component),Zt=Object(se.withSelect)((function(e,t){var n=e("core").getMedia,r=t.id;return{image:r?n(r):null}}))(Kt),$t=function(e){var t,n=e.attributes,r=e.className,o=e.isSelected,a=e.setAttributes,c=e.selectedImage,i=e.mediaPlaceholder,l=e.onMoveBackward,s=e.onMoveForward,u=e.onRemoveImage,b=e.onSelectImage,m=e.onSetImageAttributes,d=e.onFocusGalleryCaption,h=n.align,p=n.columns,g=void 0===p?Lt(n):p,f=n.caption,v=n.imageCrop,O=n.images,j=te()("blocks-gallery-caption",{"screen-reader-text":!o&&$.RichText.isEmpty(f)});return Object(X.createElement)("figure",{className:te()(r,(t={},Object(Z.a)(t,"align".concat(h),h),Object(Z.a)(t,"columns-".concat(g),g),Object(Z.a)(t,"is-cropped",v),t))},Object(X.createElement)("ul",{className:"blocks-gallery-grid"},O.map((function(e,t){var n=Object(Q.sprintf)(Object(Q.__)("image %1$d of %2$d in gallery"),t+1,O.length);return Object(X.createElement)("li",{className:"blocks-gallery-item",key:e.id||e.url},Object(X.createElement)(Zt,{url:e.url,alt:e.alt,id:e.id,isFirstItem:0===t,isLastItem:t+1===O.length,isSelected:o&&c===t,onMoveBackward:l(t),onMoveForward:s(t),onRemove:u(t),onSelect:b(t),setAttributes:function(e){return m(t,e)},caption:e.caption,"aria-label":n}))}))),i,Object(X.createElement)($.RichText,{tagName:"figcaption",className:j,placeholder:Object(Q.__)("Write gallery caption…"),value:f,unstableOnFocus:d,onChange:function(e){return a({caption:e})},inlineToolbar:!0}))},Jt=[{value:"attachment",label:Object(Q.__)("Attachment Page")},{value:"media",label:Object(Q.__)("Media File")},{value:"none",label:Object(Q.__)("None")}],Qt=["image"],Yt=X.Platform.select({web:Object(Q.__)("Drag images, upload new ones or select files from your library."),native:Object(Q.__)("ADD MEDIA")}),Xt=X.Platform.select({web:{},native:{separatorType:"fullWidth"}}),en=function(e){function t(){var e;return Object(Ce.a)(this,t),(e=Object(Ee.a)(this,Object(xe.a)(t).apply(this,arguments))).onSelectImage=e.onSelectImage.bind(Object(Se.a)(e)),e.onSelectImages=e.onSelectImages.bind(Object(Se.a)(e)),e.setLinkTo=e.setLinkTo.bind(Object(Se.a)(e)),e.setColumnsNumber=e.setColumnsNumber.bind(Object(Se.a)(e)),e.toggleImageCrop=e.toggleImageCrop.bind(Object(Se.a)(e)),e.onMove=e.onMove.bind(Object(Se.a)(e)),e.onMoveForward=e.onMoveForward.bind(Object(Se.a)(e)),e.onMoveBackward=e.onMoveBackward.bind(Object(Se.a)(e)),e.onRemoveImage=e.onRemoveImage.bind(Object(Se.a)(e)),e.onUploadError=e.onUploadError.bind(Object(Se.a)(e)),e.setImageAttributes=e.setImageAttributes.bind(Object(Se.a)(e)),e.setAttributes=e.setAttributes.bind(Object(Se.a)(e)),e.onFocusGalleryCaption=e.onFocusGalleryCaption.bind(Object(Se.a)(e)),e.getImagesSizeOptions=e.getImagesSizeOptions.bind(Object(Se.a)(e)),e.updateImagesSize=e.updateImagesSize.bind(Object(Se.a)(e)),e.state={selectedImage:null,attachmentCaptions:null},e}return Object(Te.a)(t,e),Object(we.a)(t,[{key:"setAttributes",value:function(e){if(e.ids)throw new Error('The "ids" attribute should not be changed directly. It is managed automatically when "images" attribute changes');e.images&&(e=Object(Y.a)({},e,{ids:Object(ne.map)(e.images,"id")})),this.props.setAttributes(e)}},{key:"onSelectImage",value:function(e){var t=this;return function(){t.state.selectedImage!==e&&t.setState({selectedImage:e})}}},{key:"onMove",value:function(e,t){var n=Object(K.a)(this.props.attributes.images);n.splice(t,1,this.props.attributes.images[e]),n.splice(e,1,this.props.attributes.images[t]),this.setState({selectedImage:t}),this.setAttributes({images:n})}},{key:"onMoveForward",value:function(e){var t=this;return function(){e!==t.props.attributes.images.length-1&&t.onMove(e,e+1)}}},{key:"onMoveBackward",value:function(e){var t=this;return function(){0!==e&&t.onMove(e,e-1)}}},{key:"onRemoveImage",value:function(e){var t=this;return function(){var n=Object(ne.filter)(t.props.attributes.images,(function(t,n){return e!==n})),r=t.props.attributes.columns;t.setState({selectedImage:null}),t.setAttributes({images:n,columns:r?Math.min(n.length,r):r})}}},{key:"selectCaption",value:function(e,t,n){var r=Object(ne.find)(t,{id:e.id}),o=r?r.caption:e.caption;if(!n)return o;var a=Object(ne.find)(n,{id:e.id});return a&&a.caption!==e.caption?e.caption:o}},{key:"onSelectImages",value:function(e){var t=this,n=this.props.attributes,r=n.columns,o=n.images,a=n.sizeSlug,c=this.state.attachmentCaptions;this.setState({attachmentCaptions:e.map((function(e){return{id:e.id,caption:e.caption}}))}),this.setAttributes({images:e.map((function(e){return Object(Y.a)({},Vt(e,a),{caption:t.selectCaption(e,o,c)})})),columns:r?Math.min(e.length,r):r})}},{key:"onUploadError",value:function(e){var t=this.props.noticeOperations;t.removeAllNotices(),t.createErrorNotice(e)}},{key:"setLinkTo",value:function(e){this.setAttributes({linkTo:e})}},{key:"setColumnsNumber",value:function(e){this.setAttributes({columns:e})}},{key:"toggleImageCrop",value:function(){this.setAttributes({imageCrop:!this.props.attributes.imageCrop})}},{key:"getImageCropHelp",value:function(e){return e?Object(Q.__)("Thumbnails are cropped to align."):Object(Q.__)("Thumbnails are not cropped.")}},{key:"onFocusGalleryCaption",value:function(){this.setState({selectedImage:null})}},{key:"setImageAttributes",value:function(e,t){var n=this.props.attributes.images,r=this.setAttributes;n[e]&&r({images:[].concat(Object(K.a)(n.slice(0,e)),[Object(Y.a)({},n[e],t)],Object(K.a)(n.slice(e+1)))})}},{key:"getImagesSizeOptions",value:function(){var e=this.props,t=e.imageSizes,n=e.resizedImages;return Object(ne.map)(Object(ne.filter)(t,(function(e){var t=e.slug;return Object(ne.some)(n,(function(e){return e[t]}))})),(function(e){var t=e.name;return{value:e.slug,label:t}}))}},{key:"updateImagesSize",value:function(e){var t=this.props,n=t.attributes.images,r=t.resizedImages,o=Object(ne.map)(n,(function(t){if(!t.id)return t;var n=Object(ne.get)(r,[parseInt(t.id,10),e]);return Object(Y.a)({},t,n&&{url:n})}));this.setAttributes({images:o,sizeSlug:e})}},{key:"componentDidMount",value:function(){var e=this.props,t=e.attributes,n=e.mediaUpload,r=t.images;if("web"===X.Platform.OS&&r&&r.length>0&&Object(ne.every)(r,(function(e){var t=e.url;return Object(Ne.isBlobURL)(t)}))){var o=Object(ne.map)(r,(function(e){var t=e.url;return Object(Ne.getBlobByURL)(t)}));Object(ne.forEach)(r,(function(e){var t=e.url;return Object(Ne.revokeBlobURL)(t)})),n({filesList:o,onFileChange:this.onSelectImages,allowedTypes:["image"]})}}},{key:"componentDidUpdate",value:function(e){!this.props.isSelected&&e.isSelected&&this.setState({selectedImage:null,captionSelected:!1})}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.className,r=e.isSelected,o=e.noticeUI,a=t.columns,c=void 0===a?Lt(t):a,i=t.imageCrop,l=t.images,s=t.linkTo,u=t.sizeSlug,b=!!l.length,m=b&&Object(ne.some)(l,(function(e){return e.id})),d=Object(X.createElement)($.MediaPlaceholder,{addToGallery:m,isAppender:b,className:n,disableMediaButtons:b&&!r,icon:!b&&qt,labels:{title:!b&&Object(Q.__)("Gallery"),instructions:!b&&Yt},onSelect:this.onSelectImages,accept:"image/*",allowedTypes:Qt,multiple:!0,value:m?l:void 0,onError:this.onUploadError,notices:b?void 0:o,onFocus:this.props.onFocus});if(!b)return d;var h=this.getImagesSizeOptions();return Object(X.createElement)(X.Fragment,null,Object(X.createElement)($.InspectorControls,null,Object(X.createElement)(ie.PanelBody,{title:Object(Q.__)("Gallery Settings")},l.length>1&&Object(X.createElement)(ie.RangeControl,Object(ye.a)({label:Object(Q.__)("Columns")},Xt,{value:c,onChange:this.setColumnsNumber,min:1,max:Math.min(8,l.length),required:!0})),Object(X.createElement)(ie.ToggleControl,Object(ye.a)({label:Object(Q.__)("Crop Images")},Xt,{checked:!!i,onChange:this.toggleImageCrop,help:this.getImageCropHelp})),Object(X.createElement)(ie.SelectControl,Object(ye.a)({label:Object(Q.__)("Link To")},Xt,{value:s,onChange:this.setLinkTo,options:Jt})),b&&!Object(ne.isEmpty)(h)&&Object(X.createElement)(ie.SelectControl,{label:Object(Q.__)("Images Size"),value:u,options:h,onChange:this.updateImagesSize}))),o,Object(X.createElement)($t,Object(ye.a)({},this.props,{selectedImage:this.state.selectedImage,mediaPlaceholder:d,onMoveBackward:this.onMoveBackward,onMoveForward:this.onMoveForward,onRemoveImage:this.onRemoveImage,onSelectImage:this.onSelectImage,onSetImageAttributes:this.setImageAttributes,onFocusGalleryCaption:this.onFocusGalleryCaption})))}}]),t}(X.Component),tn=Object(le.compose)([Object(se.withSelect)((function(e,t){var n=t.attributes.ids,r=t.isSelected,o=e("core").getMedia,a=(0,e("core/block-editor").getSettings)(),c=a.imageSizes,i=a.mediaUpload,l={};return r&&(l=Object(ne.reduce)(n,(function(e,t){if(!t)return e;var n=o(t),r=Object(ne.reduce)(c,(function(e,t){var r=Object(ne.get)(n,["sizes",t.slug,"url"]),o=Object(ne.get)(n,["media_details","sizes",t.slug,"source_url"]);return Object(Y.a)({},e,Object(Z.a)({},t.slug,r||o))}),{});return Object(Y.a)({},e,Object(Z.a)({},parseInt(t,10),r))}),{})),{imageSizes:c,mediaUpload:i,resizedImages:l}})),ie.withNotices,Object(Ae.withViewportMatch)({isNarrow:"< small"})])(en);var nn=function(e){return e?e.split(",").map((function(e){return parseInt(e,10)})):[]},rn={from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],transform:function(e){var t=e[0],n=t.align,r=t.sizeSlug;n=Object(ne.every)(e,["align",n])?n:void 0,r=Object(ne.every)(e,["sizeSlug",r])?r:void 0;var o=Object(ne.filter)(e,(function(e){return e.url}));return Object(J.createBlock)("core/gallery",{images:o.map((function(e){return{id:e.id,url:e.url,alt:e.alt,caption:e.caption}})),ids:o.map((function(e){return e.id})),align:n,sizeSlug:r})}},{type:"shortcode",tag:"gallery",attributes:{images:{type:"array",shortcode:function(e){var t=e.named.ids;return nn(t).map((function(e){return{id:e}}))}},ids:{type:"array",shortcode:function(e){var t=e.named.ids;return nn(t)}},columns:{type:"number",shortcode:function(e){var t=e.named.columns;return parseInt(void 0===t?"3":t,10)}},linkTo:{type:"string",shortcode:function(e){var t=e.named.link,n=void 0===t?"attachment":t;return"file"===n?"media":n}}}},{type:"files",isMatch:function(e){return 1!==e.length&&Object(ne.every)(e,(function(e){return 0===e.type.indexOf("image/")}))},transform:function(e){return Object(J.createBlock)("core/gallery",{images:e.map((function(e){return Vt({url:Object(Ne.createBlobURL)(e)})}))})}}],to:[{type:"block",blocks:["core/image"],transform:function(e){var t=e.images,n=e.align,r=e.sizeSlug;return t.length>0?t.map((function(e){var t=e.id,o=e.url,a=e.alt,c=e.caption;return Object(J.createBlock)("core/image",{id:t,url:o,alt:a,caption:c,align:n,sizeSlug:r})})):Object(J.createBlock)("core/image",{align:n})}}]},on={name:"core/gallery",category:"common",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",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"}}},an=on.name,cn={title:Object(Q.__)("Gallery"),description:Object(Q.__)("Display multiple images in a rich gallery."),icon:Dt,keywords:[Object(Q.__)("images"),Object(Q.__)("photos")],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"}]}},supports:{align:!0},transforms:rn,edit:tn,save:function(e){var t=e.attributes,n=t.images,r=t.columns,o=void 0===r?Lt(t):r,a=t.imageCrop,c=t.caption,i=t.linkTo;return Object(X.createElement)("figure",{className:"columns-".concat(o," ").concat(a?"is-cropped":"")},Object(X.createElement)("ul",{className:"blocks-gallery-grid"},n.map((function(e){var t;switch(i){case"media":t=e.fullUrl||e.url;break;case"attachment":t=e.link}var n=Object(X.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-".concat(e.id):null});return Object(X.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(X.createElement)("figure",null,t?Object(X.createElement)("a",{href:t},n):n,!$.RichText.isEmpty(e.caption)&&Object(X.createElement)($.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-item__caption",value:e.caption})))}))),!$.RichText.isEmpty(c)&&Object(X.createElement)($.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-caption",value:c}))},deprecated:Ft},ln=n(60),sn=n.n(ln);var un=Object(X.createElement)(ie.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(X.createElement)(ie.Path,{d:"M21 6V20C21 21.1 20.1 22 19 22H5C3.89 22 3 21.1 3 20L3.01 6C3.01 4.9 3.89 4 5 4H6V2H8V4H16V2H18V4H19C20.1 4 21 4.9 21 6ZM5 8H19V6H5V8ZM19 20V10H5V20H19ZM11 12H17V14H11V12ZM17 16H11V18H17V16ZM7 12H9V14H7V12ZM9 18V16H7V18H9Z"})),bn="core/archives",mn={title:Object(Q.__)("Archives"),description:Object(Q.__)("Display a monthly archive of your posts."),icon:un,category:"widgets",supports:{align:!0,html:!1},edit:function(e){var t=e.attributes,n=e.setAttributes,r=t.showPostCounts,o=t.displayAsDropdown;return Object(X.createElement)(X.Fragment,null,Object(X.createElement)($.InspectorControls,null,Object(X.createElement)(ie.PanelBody,{title:Object(Q.__)("Archives Settings")},Object(X.createElement)(ie.ToggleControl,{label:Object(Q.__)("Display as Dropdown"),checked:o,onChange:function(){return n({displayAsDropdown:!o})}}),Object(X.createElement)(ie.ToggleControl,{label:Object(Q.__)("Show Post Counts"),checked:r,onChange:function(){return n({showPostCounts:!r})}}))),Object(X.createElement)(ie.Disabled,null,Object(X.createElement)(sn.a,{block:"core/archives",attributes:t})))}},dn=[{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:function(e){var t=e.attributes,n=t.autoplay,r=t.caption,o=t.loop,a=t.preload,c=t.src;return Object(X.createElement)("figure",null,Object(X.createElement)("audio",{controls:"controls",src:c,autoPlay:n,loop:o,preload:a}),!$.RichText.isEmpty(r)&&Object(X.createElement)($.RichText.Content,{tagName:"figcaption",value:r}))}}],hn=Object(X.createElement)(ie.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(X.createElement)(ie.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(X.createElement)(ie.Path,{d:"m12 3l0.01 10.55c-0.59-0.34-1.27-0.55-2-0.55-2.22 0-4.01 1.79-4.01 4s1.79 4 4.01 4 3.99-1.79 3.99-4v-10h4v-4h-6zm-1.99 16c-1.1 0-2-0.9-2-2s0.9-2 2-2 2 0.9 2 2-0.9 2-2 2z"})),pn=["audio"],gn=function(e){function t(){var e;return Object(Ce.a)(this,t),(e=Object(Ee.a)(this,Object(xe.a)(t).apply(this,arguments))).state={editing:!e.props.attributes.src},e.toggleAttribute=e.toggleAttribute.bind(Object(Se.a)(e)),e.onSelectURL=e.onSelectURL.bind(Object(Se.a)(e)),e.onUploadError=e.onUploadError.bind(Object(Se.a)(e)),e}return Object(Te.a)(t,e),Object(we.a)(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.attributes,r=t.mediaUpload,o=t.noticeOperations,a=t.setAttributes,c=n.id,i=n.src,l=void 0===i?"":i;if(!c&&Object(Ne.isBlobURL)(l)){var s=Object(Ne.getBlobByURL)(l);s&&r({filesList:[s],onFileChange:function(e){var t=Object(ce.a)(e,1)[0],n=t.id,r=t.url;a({id:n,src:r})},onError:function(t){a({src:void 0,id:void 0}),e.setState({editing:!0}),o.createErrorNotice(t)},allowedTypes:pn})}}},{key:"toggleAttribute",value:function(e){var t=this;return function(n){t.props.setAttributes(Object(Z.a)({},e,n))}}},{key:"onSelectURL",value:function(e){var t=this.props,n=t.attributes,r=t.setAttributes;if(e!==n.src){var o=ot({attributes:{url:e}});if(void 0!==o)return void this.props.onReplace(o);r({src:e,id:void 0})}this.setState({editing:!1})}},{key:"onUploadError",value:function(e){var t=this.props.noticeOperations;t.removeAllNotices(),t.createErrorNotice(e)}},{key:"getAutoplayHelp",value:function(e){return e?Object(Q.__)("Note: Autoplaying audio may cause usability issues for some visitors."):null}},{key:"render",value:function(){var e=this,t=this.props.attributes,n=t.autoplay,r=t.caption,o=t.loop,a=t.preload,c=t.src,i=this.props,l=i.setAttributes,s=i.isSelected,u=i.className,b=i.noticeUI,m=this.state.editing,d=function(){e.setState({editing:!0})};return m?Object(X.createElement)($.MediaPlaceholder,{icon:Object(X.createElement)($.BlockIcon,{icon:hn}),className:u,onSelect:function(t){if(!t||!t.url)return l({src:void 0,id:void 0}),void d();l({src:t.url,id:t.id}),e.setState({src:t.url,editing:!1})},onSelectURL:this.onSelectURL,accept:"audio/*",allowedTypes:pn,value:this.props.attributes,notices:b,onError:this.onUploadError}):Object(X.createElement)(X.Fragment,null,Object(X.createElement)($.BlockControls,null,Object(X.createElement)(ie.ToolbarGroup,null,Object(X.createElement)(ie.Button,{className:"components-toolbar__control",label:Object(Q.__)("Edit audio"),onClick:d,icon:"edit"}))),Object(X.createElement)($.InspectorControls,null,Object(X.createElement)(ie.PanelBody,{title:Object(Q.__)("Audio Settings")},Object(X.createElement)(ie.ToggleControl,{label:Object(Q.__)("Autoplay"),onChange:this.toggleAttribute("autoplay"),checked:n,help:this.getAutoplayHelp}),Object(X.createElement)(ie.ToggleControl,{label:Object(Q.__)("Loop"),onChange:this.toggleAttribute("loop"),checked:o}),Object(X.createElement)(ie.SelectControl,{label:Object(Q.__)("Preload"),value:void 0!==a?a:"none",onChange:function(e){return l({preload:"none"!==e?e:void 0})},options:[{value:"auto",label:Object(Q.__)("Auto")},{value:"metadata",label:Object(Q.__)("Metadata")},{value:"none",label:Object(Q.__)("None")}]}))),Object(X.createElement)("figure",{className:u},Object(X.createElement)(ie.Disabled,null,Object(X.createElement)("audio",{controls:"controls",src:c})),(!$.RichText.isEmpty(r)||s)&&Object(X.createElement)($.RichText,{tagName:"figcaption",placeholder:Object(Q.__)("Write caption…"),value:r,onChange:function(e){return l({caption:e})},inlineToolbar:!0})))}}]),t}(X.Component),fn=Object(le.compose)([Object(se.withSelect)((function(e){return{mediaUpload:(0,e("core/block-editor").getSettings)().mediaUpload}})),ie.withNotices])(gn);var vn={from:[{type:"files",isMatch:function(e){return 1===e.length&&0===e[0].type.indexOf("audio/")},transform:function(e){var t=e[0];return Object(J.createBlock)("core/audio",{src:Object(Ne.createBlobURL)(t)})}},{type:"shortcode",tag:"audio",attributes:{src:{type:"string",shortcode:function(e){return e.named.src}},loop:{type:"string",shortcode:function(e){return e.named.loop}},autoplay:{type:"string",shortcode:function(e){return e.named.autoplay}},preload:{type:"string",shortcode:function(e){return e.named.preload}}}}]},On={name:"core/audio",category:"common",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"}}},jn=On.name,yn={title:Object(Q.__)("Audio"),description:Object(Q.__)("Embed a simple audio player."),keywords:[Object(Q.__)("music"),Object(Q.__)("sound"),Object(Q.__)("podcast"),Object(Q.__)("recording")],icon:hn,transforms:vn,deprecated:dn,supports:{align:!0},edit:fn,save:function(e){var t=e.attributes,n=t.autoplay,r=t.caption,o=t.loop,a=t.preload,c=t.src;return c&&Object(X.createElement)("figure",null,Object(X.createElement)("audio",{controls:"controls",src:c,autoPlay:n,loop:o,preload:a}),!$.RichText.isEmpty(r)&&Object(X.createElement)($.RichText.Content,{tagName:"figcaption",value:r}))}},_n=function(e){return Object(ne.omit)(Object(Y.a)({},e,{customTextColor:e.textColor&&"#"===e.textColor[0]?e.textColor:void 0,customBackgroundColor:e.color&&"#"===e.color[0]?e.color:void 0}),["color","textColor"])},kn={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"}},Cn=[{attributes:Object(Y.a)({},kn,{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:function(e){return e.className&&e.className.includes("is-style-squared")},migrate:function(e){var t=e.className;return t&&(t=t.replace(/is-style-squared[\s]?/,"").trim()),Object(Y.a)({},e,{className:t||void 0,borderRadius:0})},save:function(e){var t,n=e.attributes,r=n.backgroundColor,o=n.customBackgroundColor,a=n.customTextColor,c=n.linkTarget,i=n.rel,l=n.text,s=n.textColor,u=n.title,b=n.url,m=Object($.getColorClassName)("color",s),d=Object($.getColorClassName)("background-color",r),h=te()("wp-block-button__link",(t={"has-text-color":s||a},Object(Z.a)(t,m,m),Object(Z.a)(t,"has-background",r||o),Object(Z.a)(t,d,d),t)),p={backgroundColor:d?void 0:o,color:m?void 0:a};return Object(X.createElement)("div",null,Object(X.createElement)($.RichText.Content,{tagName:"a",className:h,href:b,title:u,style:p,value:l,target:c,rel:i}))}},{attributes:Object(Y.a)({},kn,{align:{type:"string",default:"none"},backgroundColor:{type:"string"},textColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"}}),save:function(e){var t,n=e.attributes,r=n.url,o=n.text,a=n.title,c=n.backgroundColor,i=n.textColor,l=n.customBackgroundColor,s=n.customTextColor,u=Object($.getColorClassName)("color",i),b=Object($.getColorClassName)("background-color",c),m=te()("wp-block-button__link",(t={"has-text-color":i||s},Object(Z.a)(t,u,u),Object(Z.a)(t,"has-background",c||l),Object(Z.a)(t,b,b),t)),d={backgroundColor:b?void 0:l,color:u?void 0:s};return Object(X.createElement)("div",null,Object(X.createElement)($.RichText.Content,{tagName:"a",className:m,href:r,title:a,style:d,value:o}))},migrate:_n},{attributes:Object(Y.a)({},kn,{color:{type:"string"},textColor:{type:"string"},align:{type:"string",default:"none"}}),save:function(e){var t=e.attributes,n=t.url,r=t.text,o=t.title,a=t.align,c={backgroundColor:t.color,color:t.textColor};return Object(X.createElement)("div",{className:"align".concat(a)},Object(X.createElement)($.RichText.Content,{tagName:"a",className:"wp-block-button__link",href:n,title:o,style:c,value:r}))},migrate:_n},{attributes:Object(Y.a)({},kn,{color:{type:"string"},textColor:{type:"string"},align:{type:"string",default:"none"}}),save:function(e){var t=e.attributes,n=t.url,r=t.text,o=t.title,a=t.align,c=t.color,i=t.textColor;return Object(X.createElement)("div",{className:"align".concat(a),style:{backgroundColor:c}},Object(X.createElement)($.RichText.Content,{tagName:"a",href:n,title:o,style:{color:i},value:r}))},migrate:_n}],wn=window.getComputedStyle,En=Object(ie.withFallbackStyles)((function(e,t){var n=t.textColor,r=t.backgroundColor,o=r&&r.color,a=n&&n.color,c=!a&&e?e.querySelector('[contenteditable="true"]'):null;return{fallbackBackgroundColor:o||!e?void 0:wn(e).backgroundColor,fallbackTextColor:a||!c?void 0:wn(c).color}})),xn="noreferrer noopener",Sn=0,Tn=50,Nn=5;function Bn(e){var t=e.borderRadius,n=void 0===t?"":t,r=e.setAttributes,o=Object(X.useCallback)((function(e){r({borderRadius:e})}),[r]);return Object(X.createElement)(ie.PanelBody,{title:Object(Q.__)("Border Settings")},Object(X.createElement)(ie.RangeControl,{value:n,label:Object(Q.__)("Border Radius"),min:Sn,max:Tn,initialPosition:Nn,allowReset:!0,onChange:o}))}var An=function(e){var t=e.keyCode;[Wt.LEFT,Wt.DOWN,Wt.RIGHT,Wt.UP,Wt.BACKSPACE,Wt.ENTER].indexOf(t)>-1&&e.stopPropagation()},Rn=function(e){e.stopPropagation()};function In(e){var t=e.isSelected,n=e.url,r=e.title,o=e.setAttributes,a=e.opensInNewTab,c=e.onToggleOpenInNewTab,i=Object(X.useState)(!1),l=Object(ce.a)(i,2),s=l[0],u=l[1];Object(X.useEffect)((function(){t||u(!1)}),[t]);var b=function(){u(!0)},m=s&&Object(X.createElement)($.__experimentalLinkControl,{className:"wp-block-navigation-link__inline-link-input",onKeyDown:An,onKeyPress:Rn,currentLink:n||r?{url:n,title:r}:null,onLinkChange:function(e){var t=e.title,n=void 0===t?"":t,r=e.url,a=void 0===r?"":r;o({title:Object(ne.escape)(n),url:a})},currentSettings:[{id:"opensInNewTab",title:Object(Q.__)("Open in new tab"),checked:a}],onSettingsChange:function(e,t){"opensInNewTab"===e&&c(t)},onClose:function(){u(!1)}});return Object(X.createElement)(X.Fragment,null,Object(X.createElement)($.BlockControls,null,Object(X.createElement)(ie.ToolbarGroup,null,Object(X.createElement)(ie.ToolbarButton,{name:"link",icon:"admin-links",title:Object(Q.__)("Link"),shortcut:Wt.displayShortcut.primary("k"),onClick:b}))),t&&Object(X.createElement)(ie.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(Z.a)({},Wt.rawShortcut.primary("k"),b)}),m)}var Mn=Object(le.compose)([Object($.withColors)("backgroundColor",{textColor:"color"}),En])((function(e){var t,n=e.attributes,r=e.backgroundColor,o=e.textColor,a=e.setBackgroundColor,c=e.setTextColor,i=e.fallbackBackgroundColor,l=e.fallbackTextColor,s=e.setAttributes,u=e.className,b=e.isSelected,m=n.borderRadius,d=n.linkTarget,h=n.placeholder,p=n.rel,g=n.text,f=n.title,v=n.url,O=Object(X.useCallback)((function(e){s({rel:e})}),[s]),j=Object(X.useCallback)((function(e){var t=e?"_blank":void 0,n=p;t&&!p?n=xn:t||p!==xn||(n=void 0),s({linkTarget:t,rel:n})}),[p,s]),y=Object($.__experimentalUseGradient)(),_=y.gradientClass,k=y.gradientValue,C=y.setGradient;return Object(X.createElement)("div",{className:u,title:f},Object(X.createElement)($.RichText,{placeholder:h||Object(Q.__)("Add text…"),value:g,onChange:function(e){return s({text:e})},withoutInteractiveFormatting:!0,className:te()("wp-block-button__link",(t={"has-background":r.color||k},Object(Z.a)(t,r.class,!k&&r.class),Object(Z.a)(t,"has-text-color",o.color),Object(Z.a)(t,o.class,o.class),Object(Z.a)(t,_,_),Object(Z.a)(t,"no-border-radius",0===m),t)),style:Object(Y.a)({},!r.color&&k?{background:k}:{backgroundColor:r.color},{color:o.color,borderRadius:m?m+"px":void 0})}),Object(X.createElement)(In,{title:f,url:v,setAttributes:s,isSelected:b,opensInNewTab:"_blank"===d,onToggleOpenInNewTab:j}),Object(X.createElement)($.InspectorControls,null,Object(X.createElement)($.__experimentalPanelColorGradientSettings,{title:Object(Q.__)("Background & Text Color"),settings:[{colorValue:o.color,onColorChange:c,label:Object(Q.__)("Text Color")},{colorValue:r.color,onColorChange:a,gradientValue:k,onGradientChange:C,label:Object(Q.__)("Background")}]},Object(X.createElement)($.ContrastChecker,{isLargeText:!1,textColor:o.color,backgroundColor:r.color,fallbackBackgroundColor:i,fallbackTextColor:l})),Object(X.createElement)(Bn,{borderRadius:m,setAttributes:s}),Object(X.createElement)(ie.PanelBody,{title:Object(Q.__)("Link settings")},Object(X.createElement)(ie.ToggleControl,{label:Object(Q.__)("Open in new tab"),onChange:j,checked:"_blank"===d}),Object(X.createElement)(ie.TextControl,{label:Object(Q.__)("Link rel"),value:p||"",onChange:O}))))})),Pn=Object(X.createElement)(ie.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(X.createElement)(ie.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(X.createElement)(ie.G,null,Object(X.createElement)(ie.Path,{d:"M19 6H5c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm0 10H5V8h14v8z"})));var zn={name:"core/button",category:"layout",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"},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"},borderRadius:{type:"number"},gradient:{type:"string"},customGradient:{type:"string"}}},Hn=zn.name,Ln={title:Object(Q.__)("Button"),description:Object(Q.__)("Prompt visitors to take action with a button-style link."),icon:Pn,keywords:[Object(Q.__)("link")],example:{attributes:{className:"is-style-fill",backgroundColor:"vivid-green-cyan",text:Object(Q.__)("Call to Action")}},supports:{align:!0,alignWide:!1},parent:["core/buttons"],styles:[{name:"fill",label:Object(Q.__)("Fill"),isDefault:!0},{name:"outline",label:Object(Q.__)("Outline")}],edit:Mn,save:function(e){var t,n=e.attributes,r=n.backgroundColor,o=n.borderRadius,a=n.customBackgroundColor,c=n.customTextColor,i=n.customGradient,l=n.linkTarget,s=n.gradient,u=n.rel,b=n.text,m=n.textColor,d=n.title,h=n.url,p=Object($.getColorClassName)("color",m),g=!i&&Object($.getColorClassName)("background-color",r),f=Object($.__experimentalGetGradientClass)(s),v=te()("wp-block-button__link",(t={"has-text-color":m||c},Object(Z.a)(t,p,p),Object(Z.a)(t,"has-background",r||a||i||s),Object(Z.a)(t,g,g),Object(Z.a)(t,"no-border-radius",0===o),Object(Z.a)(t,f,f),t)),O={background:i||void 0,backgroundColor:g||i||s?void 0:a,color:p?void 0:c,borderRadius:o?o+"px":void 0};return Object(X.createElement)("div",null,Object(X.createElement)($.RichText.Content,{tagName:"a",className:v,href:h,title:d,style:O,value:b,target:l,rel:u}))},deprecated:Cn},Vn=[Hn],Fn=[["core/button"]],Dn={hasSelectedUI:!1};var Un=function(e){var t=e.className;return Object(X.createElement)("div",{className:t},Object(X.createElement)($.InnerBlocks,{allowedBlocks:Vn,template:Fn,__experimentalUIParts:Dn,__experimentalMoverDirection:"horizontal"}))},Gn=Object(X.createElement)(ie.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(X.createElement)(ie.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(X.createElement)(ie.G,null,Object(X.createElement)(ie.Path,{d:"M19 6H5c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm0 10H5V8h14v8z"})));var qn={name:"core/buttons",category:"layout",attributes:{}},Wn=qn.name,Kn={title:Object(Q.__)("Buttons"),description:Object(Q.__)("Prompt visitors to take action with a group of button-style links."),icon:Gn,keywords:[Object(Q.__)("link")],supports:{align:!0,alignWide:!1},edit:Un,save:function(){return Object(X.createElement)("div",null,Object(X.createElement)($.InnerBlocks.Content,null))}},Zn=n(30),$n=n.n(Zn),Jn=function(e){function t(){var e;return Object(Ce.a)(this,t),(e=Object(Ee.a)(this,Object(xe.a)(t).apply(this,arguments))).getYearMonth=tt()(e.getYearMonth.bind(Object(Se.a)(e)),{maxSize:1}),e.getServerSideAttributes=tt()(e.getServerSideAttributes.bind(Object(Se.a)(e)),{maxSize:1}),e}return Object(Te.a)(t,e),Object(we.a)(t,[{key:"getYearMonth",value:function(e){if(!e)return{};var t=$n()(e);return{year:t.year(),month:t.month()+1}}},{key:"getServerSideAttributes",value:function(e,t){return Object(Y.a)({},e,this.getYearMonth(t))}},{key:"render",value:function(){return Object(X.createElement)(ie.Disabled,null,Object(X.createElement)(sn.a,{block:"core/calendar",attributes:this.getServerSideAttributes(this.props.attributes,this.props.date)}))}}]),t}(X.Component),Qn=Object(se.withSelect)((function(e){var t=e("core/editor");if(t){var n=t.getEditedPostAttribute;return{date:"post"===n("type")?n("date"):void 0}}}))(Jn),Yn=Object(X.createElement)(ie.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(X.createElement)(ie.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(X.createElement)(ie.G,null,Object(X.createElement)(ie.Path,{d:"M7 11h2v2H7v-2zm14-5v14c0 1.1-.9 2-2 2H5c-1.11 0-2-.9-2-2l.01-14c0-1.1.88-2 1.99-2h1V2h2v2h8V2h2v2h1c1.1 0 2 .9 2 2zM5 8h14V6H5v2zm14 12V10H5v10h14zm-4-7h2v-2h-2v2zm-4 0h2v-2h-2v2z"}))),Xn="core/calendar",er={title:Object(Q.__)("Calendar"),description:Object(Q.__)("A calendar of your site’s posts."),icon:Yn,category:"widgets",keywords:[Object(Q.__)("posts"),Object(Q.__)("archive")],supports:{align:!0},example:{},edit:Qn},tr=function(e){function t(){var e;return Object(Ce.a)(this,t),(e=Object(Ee.a)(this,Object(xe.a)(t).apply(this,arguments))).toggleDisplayAsDropdown=e.toggleDisplayAsDropdown.bind(Object(Se.a)(e)),e.toggleShowPostCounts=e.toggleShowPostCounts.bind(Object(Se.a)(e)),e.toggleShowHierarchy=e.toggleShowHierarchy.bind(Object(Se.a)(e)),e}return Object(Te.a)(t,e),Object(we.a)(t,[{key:"toggleDisplayAsDropdown",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({displayAsDropdown:!t.displayAsDropdown})}},{key:"toggleShowPostCounts",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({showPostCounts:!t.showPostCounts})}},{key:"toggleShowHierarchy",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({showHierarchy:!t.showHierarchy})}},{key:"getCategories",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.props.categories;return t&&t.length?null===e?t:t.filter((function(t){return t.parent===e})):[]}},{key:"getCategoryListClassName",value:function(e){return"wp-block-categories__list wp-block-categories__list-level-".concat(e)}},{key:"renderCategoryName",value:function(e){return e.name?Object(ne.unescape)(e.name).trim():Object(Q.__)("(Untitled)")}},{key:"renderCategoryList",value:function(){var e=this,t=this.props.attributes.showHierarchy?0:null,n=this.getCategories(t);return Object(X.createElement)("ul",{className:this.getCategoryListClassName(0)},n.map((function(t){return e.renderCategoryListItem(t,0)})))}},{key:"renderCategoryListItem",value:function(e,t){var n=this,r=this.props.attributes,o=r.showHierarchy,a=r.showPostCounts,c=this.getCategories(e.id);return Object(X.createElement)("li",{key:e.id},Object(X.createElement)("a",{href:e.link,target:"_blank",rel:"noreferrer noopener"},this.renderCategoryName(e)),a&&Object(X.createElement)("span",{className:"wp-block-categories__post-count"}," ","(",e.count,")"),o&&!!c.length&&Object(X.createElement)("ul",{className:this.getCategoryListClassName(t+1)},c.map((function(e){return n.renderCategoryListItem(e,t+1)}))))}},{key:"renderCategoryDropdown",value:function(){var e=this,t=this.props.instanceId,n=this.props.attributes.showHierarchy?0:null,r=this.getCategories(n),o="blocks-category-select-".concat(t);return Object(X.createElement)(X.Fragment,null,Object(X.createElement)("label",{htmlFor:o,className:"screen-reader-text"},Object(Q.__)("Categories")),Object(X.createElement)("select",{id:o,className:"wp-block-categories__dropdown"},r.map((function(t){return e.renderCategoryDropdownItem(t,0)}))))}},{key:"renderCategoryDropdownItem",value:function(e,t){var n=this,r=this.props.attributes,o=r.showHierarchy,a=r.showPostCounts,c=this.getCategories(e.id);return[Object(X.createElement)("option",{key:e.id},Object(ne.times)(3*t,(function(){return" "})),this.renderCategoryName(e),a?" (".concat(e.count,")"):""),o&&!!c.length&&c.map((function(e){return n.renderCategoryDropdownItem(e,t+1)}))]}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.isRequesting,r=t.displayAsDropdown,o=t.showHierarchy,a=t.showPostCounts,c=Object(X.createElement)($.InspectorControls,null,Object(X.createElement)(ie.PanelBody,{title:Object(Q.__)("Categories Settings")},Object(X.createElement)(ie.ToggleControl,{label:Object(Q.__)("Display as Dropdown"),checked:r,onChange:this.toggleDisplayAsDropdown}),Object(X.createElement)(ie.ToggleControl,{label:Object(Q.__)("Show Hierarchy"),checked:o,onChange:this.toggleShowHierarchy}),Object(X.createElement)(ie.ToggleControl,{label:Object(Q.__)("Show Post Counts"),checked:a,onChange:this.toggleShowPostCounts})));return n?Object(X.createElement)(X.Fragment,null,c,Object(X.createElement)(ie.Placeholder,{icon:"admin-post",label:Object(Q.__)("Categories")},Object(X.createElement)(ie.Spinner,null))):Object(X.createElement)(X.Fragment,null,c,Object(X.createElement)("div",{className:this.props.className},r?this.renderCategoryDropdown():this.renderCategoryList()))}}]),t}(X.Component),nr=Object(le.compose)(Object(se.withSelect)((function(e){var t=e("core").getEntityRecords,n=e("core/data").isResolving,r={per_page:-1,hide_empty:!0};return{categories:t("taxonomy","category",r),isRequesting:n("core","getEntityRecords",["taxonomy","category",r])}})),le.withInstanceId)(tr),rr=Object(X.createElement)(ie.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(X.createElement)(ie.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(X.createElement)(ie.Path,{d:"M12,2l-5.5,9h11L12,2z M12,5.84L13.93,9h-3.87L12,5.84z"}),Object(X.createElement)(ie.Path,{d:"m17.5 13c-2.49 0-4.5 2.01-4.5 4.5s2.01 4.5 4.5 4.5 4.5-2.01 4.5-4.5-2.01-4.5-4.5-4.5zm0 7c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"}),Object(X.createElement)(ie.Path,{d:"m3 21.5h8v-8h-8v8zm2-6h4v4h-4v-4z"})),or="core/categories",ar={title:Object(Q.__)("Categories"),description:Object(Q.__)("Display a list of all categories."),icon:rr,category:"widgets",supports:{align:!0,html:!1},edit:nr};var cr=Object(X.createElement)(ie.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(X.createElement)(ie.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(X.createElement)(ie.Path,{d:"M9.4,16.6L4.8,12l4.6-4.6L8,6l-6,6l6,6L9.4,16.6z M14.6,16.6l4.6-4.6l-4.6-4.6L16,6l6,6l-6,6L14.6,16.6z"})),ir=n(61);function lr(e){return e.replace(/\[/g,"[")}function sr(e){return e.replace(/^(\s*https?:)\/\/([^\s<>"]+\s*)$/m,"$1//$2")}var ur={from:[{type:"enter",regExp:/^```$/,transform:function(){return Object(J.createBlock)("core/code")}},{type:"raw",isMatch:function(e){return"PRE"===e.nodeName&&1===e.children.length&&"CODE"===e.firstChild.nodeName},schema:{pre:{children:{code:{children:{"#text":{}}}}}}}]},br={name:"core/code",category:"formatting",attributes:{content:{type:"string",source:"text",selector:"code"}}},mr=br.name,dr={title:Object(Q.__)("Code"),description:Object(Q.__)("Display code snippets that respect your spacing and tabs."),icon:cr,example:{attributes:{content:Object(Q.__)('// 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 );')}},supports:{html:!1},transforms:ur,edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.className;return Object(X.createElement)("div",{className:r},Object(X.createElement)($.PlainText,{value:t.content,onChange:function(e){return n({content:e})},placeholder:Object(Q.__)("Write code…"),"aria-label":Object(Q.__)("Code")}))},save:function(e){var t,n=e.attributes;return Object(X.createElement)("pre",null,Object(X.createElement)("code",null,(t=n.content,Object(ne.flow)(ir.escapeEditableHTML,lr,sr)(t||""))))}};function hr(e){var t,n=hr.doc;n||(n=document.implementation.createHTMLDocument(""),hr.doc=n),n.body.innerHTML=e;var r=!0,o=!1,a=void 0;try{for(var c,i=n.body.firstChild.classList[Symbol.iterator]();!(r=(c=i.next()).done);r=!0){if(t=c.value.match(/^layout-column-(\d+)$/))return Number(t[1])-1}}catch(e){o=!0,a=e}finally{try{r||null==i.return||i.return()}finally{if(o)throw a}}}var pr=[{attributes:{columns:{type:"number",default:2}},isEligible:function(e,t){return!!t.some((function(e){return/layout-column-\d+/.test(e.originalContent)}))&&t.some((function(e){return void 0!==hr(e.originalContent)}))},migrate:function(e,t){var n=t.reduce((function(e,t){var n=hr(t.originalContent);return void 0===n&&(n=0),e[n]||(e[n]=[]),e[n].push(t),e}),[]).map((function(e){return Object(J.createBlock)("core/column",{},e)}));return[Object(ne.omit)(e,["columns"]),n]},save:function(e){var t=e.attributes.columns;return Object(X.createElement)("div",{className:"has-".concat(t,"-columns")},Object(X.createElement)($.InnerBlocks.Content,null))}},{attributes:{columns:{type:"number",default:2}},migrate:function(e,t){return[e=Object(ne.omit)(e,["columns"]),t]},save:function(e){var t=e.attributes,n=t.verticalAlignment,r=t.columns,o=te()("has-".concat(r,"-columns"),Object(Z.a)({},"are-vertically-aligned-".concat(n),n));return Object(X.createElement)("div",{className:o},Object(X.createElement)($.InnerBlocks.Content,null))}}],gr=function(e){return Number.isFinite(e)?parseFloat(e.toFixed(2)):void 0};function fr(e,t){var n=e.attributes.width;return gr(void 0===n?100/t:n)}function vr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.length;return Object(ne.sumBy)(e,(function(e){return fr(e,t)}))}function Or(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.length;return e.reduce((function(e,n){var r=fr(n,t);return Object.assign(e,Object(Z.a)({},n.clientId,r))}),{})}function jr(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,r=(t-vr(e,n))/e.length;return Object(ne.mapValues)(Or(e,n),(function(e){return gr(e+r)}))}function yr(e,t){return e.map((function(e){return Object(ne.merge)({},e,{attributes:{width:t[e.clientId]}})}))}var _r=["core/column"];var kr=Object(se.withDispatch)((function(e,t,n){return{updateAlignment:function(r){var o=t.clientId,a=t.setAttributes,c=e("core/block-editor").updateBlockAttributes,i=n.select("core/block-editor").getBlockOrder;a({verticalAlignment:r}),i(o).forEach((function(e){c(e,{verticalAlignment:r})}))},updateColumns:function(r,o){var a=t.clientId,c=e("core/block-editor").replaceInnerBlocks,i=(0,n.select("core/block-editor").getBlocks)(a),l=i.some((function(e){return Number.isFinite(e.attributes.width)})),s=o>r;if(s&&l){var u=gr(100/o),b=jr(i,100-u);i=[].concat(Object(K.a)(yr(i,b)),Object(K.a)(Object(ne.times)(o-r,(function(){return Object(J.createBlock)("core/column",{width:u})}))))}else if(s)i=[].concat(Object(K.a)(i),Object(K.a)(Object(ne.times)(o-r,(function(){return Object(J.createBlock)("core/column")}))));else{if(i=Object(ne.dropRight)(i,r-o),l)i=yr(i,jr(i,100))}c(a,i,!1)}}}))((function(e){var t=e.attributes,n=e.className,r=e.updateAlignment,o=e.updateColumns,a=e.clientId,c=t.verticalAlignment,i=Object(se.useSelect)((function(e){return{count:e("core/block-editor").getBlockCount(a)}}),[a]).count,l=te()(n,Object(Z.a)({},"are-vertically-aligned-".concat(c),c));return Object(X.createElement)(X.Fragment,null,Object(X.createElement)($.InspectorControls,null,Object(X.createElement)(ie.PanelBody,null,Object(X.createElement)(ie.RangeControl,{label:Object(Q.__)("Columns"),value:i,onChange:function(e){return o(i,e)},min:2,max:6}))),Object(X.createElement)($.BlockControls,null,Object(X.createElement)($.BlockVerticalAlignmentToolbar,{onChange:r,value:c})),Object(X.createElement)("div",{className:l},Object(X.createElement)($.InnerBlocks,{templateLock:"all",allowedBlocks:_r})))})),Cr=function e(t){return Object(ne.map)(t,(function(t){var n=Object(ce.a)(t,3),r=n[0],o=n[1],a=n[2],c=void 0===a?[]:a;return Object(J.createBlock)(r,o,e(c))}))},wr=function(e){var t=e.clientId,n=e.name,r=Object(se.useSelect)((function(e){var r=e("core/blocks"),o=r.__experimentalGetBlockPatterns,a=r.getBlockType,c=r.__experimentalGetDefaultBlockPattern;return{blockType:a(n),defaultPattern:c(n),hasInnerBlocks:e("core/block-editor").getBlocks(t).length>0,patterns:o(n)}}),[t,n]),o=r.blockType,a=r.defaultPattern,c=r.hasInnerBlocks,i=r.patterns,l=Object(se.useDispatch)("core/block-editor").replaceInnerBlocks;return c?Object(X.createElement)(kr,e):Object(X.createElement)($.__experimentalBlockPatternPicker,{icon:Object(ne.get)(o,["icon","src"]),label:Object(ne.get)(o,["title"]),patterns:i,onSelect:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a;t.attributes&&e.setAttributes(t.attributes),t.innerBlocks&&l(e.clientId,Cr(t.innerBlocks))},allowSkip:!0})},Er=Object(X.createElement)(ie.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(X.createElement)(ie.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(X.createElement)(ie.G,null,Object(X.createElement)(ie.Path,{d:"M4,4H20a2,2,0,0,1,2,2V18a2,2,0,0,1-2,2H4a2,2,0,0,1-2-2V6A2,2,0,0,1,4,4ZM4 6V18H8V6Zm6 0V18h4V6Zm6 0V18h4V6Z"}))),xr=[{name:"two-columns-equal",label:Object(Q.__)("Two columns; equal split"),icon:Object(X.createElement)(ie.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(X.createElement)(ie.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"]]},{name:"two-columns-one-third-two-thirds",label:Object(Q.__)("Two columns; one-third, two-thirds split"),icon:Object(X.createElement)(ie.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(X.createElement)(ie.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}]]},{name:"two-columns-two-thirds-one-third",label:Object(Q.__)("Two columns; two-thirds, one-third split"),icon:Object(X.createElement)(ie.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(X.createElement)(ie.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}]]},{name:"three-columns-equal",label:Object(Q.__)("Three columns; equal split"),icon:Object(X.createElement)(ie.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(X.createElement)(ie.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"]]},{name:"three-columns-wider-center",label:Object(Q.__)("Three columns; wide center column"),icon:Object(X.createElement)(ie.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(X.createElement)(ie.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}]]}];var Sr={name:"core/columns",category:"layout",attributes:{verticalAlignment:{type:"string"}}},Tr=Sr.name,Nr={title:Object(Q.__)("Columns"),icon:Er,description:Object(Q.__)("Add a block that displays content in multiple columns, then add whatever content blocks you’d like."),supports:{align:["wide","full"],html:!1},patterns:xr,example:{innerBlocks:[{name:"core/column",innerBlocks:[{name:"core/paragraph",attributes:{content:Object(Q.__)("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(Q.__)("Suspendisse commodo neque lacus, a dictum orci interdum et.")}}]},{name:"core/column",innerBlocks:[{name:"core/paragraph",attributes:{content:Object(Q.__)("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(Q.__)("Nam risus massa, ullamcorper consectetur eros fermentum, porta aliquet ligula. Sed vel mauris nec enim.")}}]}]},deprecated:pr,edit:wr,save:function(e){var t=e.attributes.verticalAlignment,n=te()(Object(Z.a)({},"are-vertically-aligned-".concat(t),t));return Object(X.createElement)("div",{className:n},Object(X.createElement)($.InnerBlocks.Content,null))}};var Br=Object(le.compose)(Object(se.withSelect)((function(e,t){var n=t.clientId;return{hasChildBlocks:(0,e("core/block-editor").getBlockOrder)(n).length>0}})),Object(se.withDispatch)((function(e,t,n){return{updateAlignment:function(r){var o=t.clientId,a=t.setAttributes,c=e("core/block-editor").updateBlockAttributes,i=n.select("core/block-editor").getBlockRootClientId;a({verticalAlignment:r}),c(i(o),{verticalAlignment:null})},updateWidth:function(r){var o=t.clientId,a=e("core/block-editor").updateBlockAttributes,c=n.select("core/block-editor"),i=c.getBlockRootClientId,l=(0,c.getBlocks)(i(o)),s=function(e,t){var n=Object(ne.findIndex)(e,{clientId:t});return n===e.length-1?e.slice(0,n):e.slice(n+1)}(l,o),u=r+vr(Object(ne.difference)(l,[Object(ne.find)(l,{clientId:o})].concat(Object(K.a)(s)))),b=Object(Y.a)({},Or(l,l.length),Object(Z.a)({},o,gr(r)),jr(s,100-u,l.length));Object(ne.forEach)(b,(function(e,t){a(t,{width:e})}))}}})))((function(e){var t=e.attributes,n=e.className,r=e.updateAlignment,o=e.updateWidth,a=e.hasChildBlocks,c=t.verticalAlignment,i=t.width,l=te()(n,"block-core-columns",Object(Z.a)({},"is-vertically-aligned-".concat(c),c));return Object(X.createElement)("div",{className:l},Object(X.createElement)($.BlockControls,null,Object(X.createElement)($.BlockVerticalAlignmentToolbar,{onChange:r,value:c})),Object(X.createElement)($.InspectorControls,null,Object(X.createElement)(ie.PanelBody,{title:Object(Q.__)("Column Settings")},Object(X.createElement)(ie.RangeControl,{label:Object(Q.__)("Percentage width"),value:i||"",onChange:o,min:0,max:100,required:!0,allowReset:!0}))),Object(X.createElement)($.InnerBlocks,{templateLock:!1,renderAppender:a?void 0:function(){return Object(X.createElement)($.InnerBlocks.ButtonBlockAppender,null)}}))})),Ar=Object(X.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(X.createElement)(ie.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(X.createElement)(ie.Path,{d:"M11.99 18.54l-7.37-5.73L3 14.07l9 7 9-7-1.63-1.27zM12 16l7.36-5.73L21 9l-9-7-9 7 1.63 1.27L12 16zm0-11.47L17.74 9 12 13.47 6.26 9 12 4.53z"}));var Rr={name:"core/column",category:"common",attributes:{verticalAlignment:{type:"string"},width:{type:"number",min:0,max:100}}},Ir=Rr.name,Mr={title:Object(Q.__)("Column"),parent:["core/columns"],icon:Ar,description:Object(Q.__)("A single column within a columns block."),supports:{inserter:!1,reusable:!1,html:!1},getEditWrapperProps:function(e){var t=e.width;if(Number.isFinite(t))return{style:{flexBasis:t+"%"}}},edit:Br,save:function(e){var t,n=e.attributes,r=n.verticalAlignment,o=n.width,a=te()(Object(Z.a)({},"is-vertically-aligned-".concat(r),r));return Number.isFinite(o)&&(t={flexBasis:o+"%"}),Object(X.createElement)("div",{className:a,style:t},Object(X.createElement)($.InnerBlocks.Content,null))}},Pr="image",zr="video",Hr=50;function Lr(e){return e?{backgroundImage:"url(".concat(e,")")}:{}}function Vr(e){return 0!==e&&50!==e&&e?"has-background-dim-"+10*Math.round(e/10):null}var Fr={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"}},Dr=[{attributes:Object(Y.a)({},Fr,{title:{type:"string",source:"html",selector:"p"},contentAlign:{type:"string",default:"center"},minHeight:{type:"number"},gradient:{type:"string"},customGradient:{type:"string"}}),save:function(e){var t=e.attributes,n=t.backgroundType,r=t.gradient,o=t.customGradient,a=t.customOverlayColor,c=t.dimRatio,i=t.focalPoint,l=t.hasParallax,s=t.overlayColor,u=t.url,b=t.minHeight,m=Object($.getColorClassName)("background-color",s),d=Object($.__experimentalGetGradientClass)(r),h=n===Pr?Lr(u):{};m||(h.backgroundColor=a),i&&!l&&(h.backgroundPosition="".concat(100*i.x,"% ").concat(100*i.y,"%")),o&&!u&&(h.background=o),h.minHeight=b||void 0;var p=te()(Vr(c),m,Object(Z.a)({"has-background-dim":0!==c,"has-parallax":l,"has-background-gradient":o},d,!u&&d));return Object(X.createElement)("div",{className:p,style:h},u&&(r||o)&&0!==c&&Object(X.createElement)("span",{"aria-hidden":"true",className:te()("wp-block-cover__gradient-background",d),style:o?{background:o}:void 0}),zr===n&&u&&Object(X.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:u}),Object(X.createElement)("div",{className:"wp-block-cover__inner-container"},Object(X.createElement)($.InnerBlocks.Content,null)))}},{attributes:Object(Y.a)({},Fr,{title:{type:"string",source:"html",selector:"p"},contentAlign:{type:"string",default:"center"}}),supports:{align:!0},save:function(e){var t=e.attributes,n=t.backgroundType,r=t.contentAlign,o=t.customOverlayColor,a=t.dimRatio,c=t.focalPoint,i=t.hasParallax,l=t.overlayColor,s=t.title,u=t.url,b=Object($.getColorClassName)("background-color",l),m=n===Pr?Lr(u):{};b||(m.backgroundColor=o),c&&!i&&(m.backgroundPosition="".concat(100*c.x,"% ").concat(100*c.y,"%"));var d=te()(Vr(a),b,Object(Z.a)({"has-background-dim":0!==a,"has-parallax":i},"has-".concat(r,"-content"),"center"!==r));return Object(X.createElement)("div",{className:d,style:m},zr===n&&u&&Object(X.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:u}),!$.RichText.isEmpty(s)&&Object(X.createElement)($.RichText.Content,{tagName:"p",className:"wp-block-cover-text",value:s}))},migrate:function(e){return[Object(ne.omit)(e,["title","contentAlign"]),[Object(J.createBlock)("core/paragraph",{content:e.title,align:e.contentAlign,fontSize:"large",placeholder:Object(Q.__)("Write title…")})]]}},{attributes:Object(Y.a)({},Fr,{title:{type:"string",source:"html",selector:"p"},contentAlign:{type:"string",default:"center"},align:{type:"string"}}),supports:{className:!1},save:function(e){var t=e.attributes,n=t.url,r=t.title,o=t.hasParallax,a=t.dimRatio,c=t.align,i=t.contentAlign,l=t.overlayColor,s=t.customOverlayColor,u=Object($.getColorClassName)("background-color",l),b=Lr(n);u||(b.backgroundColor=s);var m=te()("wp-block-cover-image",Vr(a),u,Object(Z.a)({"has-background-dim":0!==a,"has-parallax":o},"has-".concat(i,"-content"),"center"!==i),c?"align".concat(c):null);return Object(X.createElement)("div",{className:m,style:b},!$.RichText.isEmpty(r)&&Object(X.createElement)($.RichText.Content,{tagName:"p",className:"wp-block-cover-image-text",value:r}))},migrate:function(e){return[Object(ne.omit)(e,["title","contentAlign","align"]),[Object(J.createBlock)("core/paragraph",{content:e.title,align:e.contentAlign,fontSize:"large",placeholder:Object(Q.__)("Write title…")})]]}},{attributes:Object(Y.a)({},Fr,{title:{type:"string",source:"html",selector:"h2"},align:{type:"string"},contentAlign:{type:"string",default:"center"}}),supports:{className:!1},save:function(e){var t=e.attributes,n=t.url,r=t.title,o=t.hasParallax,a=t.dimRatio,c=t.align,i=Lr(n),l=te()("wp-block-cover-image",Vr(a),{"has-background-dim":0!==a,"has-parallax":o},c?"align".concat(c):null);return Object(X.createElement)("section",{className:l,style:i},Object(X.createElement)($.RichText.Content,{tagName:"h2",value:r}))},migrate:function(e){return[Object(ne.omit)(e,["title","contentAlign","align"]),[Object(J.createBlock)("core/paragraph",{content:e.title,align:e.contentAlign,fontSize:"large",placeholder:Object(Q.__)("Write title…")})]]}}],Ur=n(219),Gr=n.n(Ur),qr=n(49),Wr=n.n(qr),Kr=Object(X.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(X.createElement)(ie.Path,{d:"M4 4h7V2H4c-1.1 0-2 .9-2 2v7h2V4zm6 9l-4 5h12l-3-4-2.03 2.71L10 13zm7-4.5c0-.83-.67-1.5-1.5-1.5S14 7.67 14 8.5s.67 1.5 1.5 1.5S17 9.33 17 8.5zM20 2h-7v2h7v7h2V4c0-1.1-.9-2-2-2zm0 18h-7v2h7c1.1 0 2-.9 2-2v-7h-2v7zM4 13H2v7c0 1.1.9 2 2 2h7v-2H4v-7z"}),Object(X.createElement)(ie.Path,{d:"M0 0h24v24H0z",fill:"none"})),Zr=["image","video"],$r=[["core/paragraph",{align:"center",fontSize:"large",placeholder:Object(Q.__)("Write title…")}]];function Jr(){return Jr.fastAverageColor||(Jr.fastAverageColor=new Gr.a),Jr.fastAverageColor}var Qr=Object(le.withInstanceId)((function(e){var t=e.value,n=void 0===t?"":t,r=e.instanceId,o=e.onChange,a=Object(X.useState)(null),c=Object(ce.a)(a,2),i=c[0],l=c[1],s="block-cover-height-input-".concat(r);return Object(X.createElement)(ie.BaseControl,{label:Object(Q.__)("Minimum height in pixels"),id:s},Object(X.createElement)("input",{type:"number",id:s,onChange:function(e){var t=""!==e.target.value?parseInt(e.target.value,10):void 0;(isNaN(t)||t1&&void 0!==arguments[1]?arguments[1]:50,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,o=Object(X.useState)(!1),a=Object(ce.a)(o,2),c=a[0],i=a[1];return Object(X.useEffect)((function(){e&&t<=50&&r.current&&Jr().getColorAsync(r.current,(function(e){i(e.isDark)}))}),[e,e&&t<=50&&r.current,i]),Object(X.useEffect)((function(){if(t>50||!e){if(!n)return void i(!0);i(Wr()(n).isDark())}}),[n,t>50||!e,i]),Object(X.useEffect)((function(){e||n||i(!1)}),[!e&&!n,i]),c}(f,m,i.color,k),w=Object(X.useState)(null),E=Object(ce.a)(w,2),x=E[0],S=E[1],T=u.removeAllNotices,N=u.createErrorNotice,B=Object(Y.a)({},b===Pr?Lr(f):{},{backgroundColor:i.color,minHeight:x||g});j&&!f&&(B.background=j),d&&(B.backgroundPosition="".concat(100*d.x,"% ").concat(100*d.y,"%"));var A=!!(f||i.color||j),R=Object(X.createElement)(X.Fragment,null,Object(X.createElement)($.BlockControls,null,A&&Object(X.createElement)(X.Fragment,null,Object(X.createElement)($.MediaUploadCheck,null,Object(X.createElement)(ie.ToolbarGroup,null,Object(X.createElement)($.MediaUpload,{onSelect:_,allowedTypes:Zr,value:p,render:function(e){var t=e.open;return Object(X.createElement)(ie.Button,{className:"components-toolbar__control",label:Object(Q.__)("Edit media"),icon:"edit",onClick:t})}}))))),Object(X.createElement)($.InspectorControls,null,!!f&&Object(X.createElement)(ie.PanelBody,{title:Object(Q.__)("Media Settings")},Pr===b&&Object(X.createElement)(ie.ToggleControl,{label:Object(Q.__)("Fixed Background"),checked:h,onChange:function(){r(Object(Y.a)({hasParallax:!h},h?{}:{focalPoint:void 0}))}}),Pr===b&&!h&&Object(X.createElement)(ie.FocalPointPicker,{label:Object(Q.__)("Focal Point Picker"),url:f,value:d,onChange:function(e){return r({focalPoint:e})}}),zr===b&&Object(X.createElement)("video",{autoPlay:!0,muted:!0,loop:!0,src:f}),Object(X.createElement)(ie.PanelRow,null,Object(X.createElement)(ie.Button,{isSecondary:!0,isSmall:!0,className:"block-library-cover__reset-button",onClick:function(){return r({url:void 0,id:void 0,backgroundType:void 0,dimRatio:void 0,focalPoint:void 0,hasParallax:void 0})}},Object(Q.__)("Clear Media")))),A&&Object(X.createElement)(X.Fragment,null,Object(X.createElement)(ie.PanelBody,{title:Object(Q.__)("Dimensions")},Object(X.createElement)(Qr,{value:x||g,onChange:function(e){return r({minHeight:e})}})),Object(X.createElement)($.__experimentalPanelColorGradientSettings,{title:Object(Q.__)("Overlay"),initialOpen:!0,settings:[{colorValue:i.color,gradientValue:j,onColorChange:l,onGradientChange:y,label:Object(Q.__)("Overlay")}]},!!f&&Object(X.createElement)(ie.RangeControl,{label:Object(Q.__)("Background Opacity"),value:m,onChange:function(e){return r({dimRatio:e})},min:0,max:100,step:10,required:!0})))));if(!A){var I=Object(X.createElement)($.BlockIcon,{icon:Kr}),M=Object(Q.__)("Cover");return Object(X.createElement)(X.Fragment,null,R,Object(X.createElement)($.MediaPlaceholder,{icon:I,className:a,labels:{title:M,instructions:Object(Q.__)("Upload an image or video file, or pick one from your media library.")},onSelect:_,accept:"image/*,video/*",allowedTypes:Zr,notices:c,onError:function(e){T(),N(e)}},Object(X.createElement)("div",{className:"wp-block-cover__placeholder-background-options"},Object(X.createElement)($.ColorPalette,{disableCustomColors:!0,value:i.color,onChange:l,clearable:!1}),Object(X.createElement)($.__experimentalGradientPicker,{disableCustomGradients:!0,onChange:function(e){y(e),r({overlayColor:void 0})},value:j,clearable:!1}))))}var P=te()(a,Vr(m),(t={"is-dark-theme":C,"has-background-dim":0!==m,"has-parallax":h},Object(Z.a)(t,i.class,i.class),Object(Z.a)(t,"has-background-gradient",j),Object(Z.a)(t,O,!f&&O),t));return Object(X.createElement)(X.Fragment,null,R,Object(X.createElement)(Xr,{className:te()("block-library-cover__resize-container",{"is-selected":o}),onResizeStart:function(){return s(!1)},onResize:S,onResizeStop:function(e){s(!0),r({minHeight:e}),S(null)}},Object(X.createElement)("div",{"data-url":f,style:B,className:P},Pr===b&&Object(X.createElement)("img",{ref:k,"aria-hidden":!0,alt:"",style:{display:"none"},src:f}),f&&j&&0!==m&&Object(X.createElement)("span",{"aria-hidden":"true",className:te()("wp-block-cover__gradient-background",O),style:{background:j}}),zr===b&&Object(X.createElement)("video",{ref:k,className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:f}),Object(X.createElement)("div",{className:"wp-block-cover__inner-container"},Object(X.createElement)($.InnerBlocks,{template:$r})))))}));var to={from:[{type:"block",blocks:["core/image"],transform:function(e){var t=e.caption,n=e.url,r=e.align,o=e.id;return Object(J.createBlock)("core/cover",{title:t,url:n,align:r,id:o})}},{type:"block",blocks:["core/video"],transform:function(e){var t=e.caption,n=e.src,r=e.align,o=e.id;return Object(J.createBlock)("core/cover",{title:t,url:n,align:r,id:o,backgroundType:zr})}}],to:[{type:"block",blocks:["core/image"],isMatch:function(e){var t=e.backgroundType,n=e.url,r=e.overlayColor,o=e.customOverlayColor,a=e.gradient,c=e.customGradient;return n?t===Pr:!(r||o||a||c)},transform:function(e){var t=e.title,n=e.url,r=e.align,o=e.id;return Object(J.createBlock)("core/image",{caption:t,url:n,align:r,id:o})}},{type:"block",blocks:["core/video"],isMatch:function(e){var t=e.backgroundType,n=e.url,r=e.overlayColor,o=e.customOverlayColor,a=e.gradient,c=e.customGradient;return n?t===zr:!(r||o||a||c)},transform:function(e){var t=e.title,n=e.url,r=e.align,o=e.id;return Object(J.createBlock)("core/video",{caption:t,src:n,id:o,align:r})}}]},no={name:"core/cover",category:"common",attributes:{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"},minHeight:{type:"number"},gradient:{type:"string"},customGradient:{type:"string"}}},ro=no.name,oo={title:Object(Q.__)("Cover"),description:Object(Q.__)("Add an image or video with a text overlay — great for headers."),icon:Kr,supports:{align:!0,html:!1},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(Q.__)("Snow Patrol"),align:"center"}}]},transforms:to,save:function(e){var t=e.attributes,n=t.backgroundType,r=t.gradient,o=t.customGradient,a=t.customOverlayColor,c=t.dimRatio,i=t.focalPoint,l=t.hasParallax,s=t.overlayColor,u=t.url,b=t.minHeight,m=Object($.getColorClassName)("background-color",s),d=Object($.__experimentalGetGradientClass)(r),h=n===Pr?Lr(u):{};m||(h.backgroundColor=a),i&&!l&&(h.backgroundPosition="".concat(Math.round(100*i.x),"% ").concat(Math.round(100*i.y),"%")),o&&!u&&(h.background=o),h.minHeight=b||void 0;var p=te()(Vr(c),m,Object(Z.a)({"has-background-dim":0!==c,"has-parallax":l,"has-background-gradient":o},d,!u&&d));return Object(X.createElement)("div",{className:p,style:h},u&&(r||o)&&0!==c&&Object(X.createElement)("span",{"aria-hidden":"true",className:te()("wp-block-cover__gradient-background",d),style:o?{background:o}:void 0}),zr===n&&u&&Object(X.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:u}),Object(X.createElement)("div",{className:"wp-block-cover__inner-container"},Object(X.createElement)($.InnerBlocks.Content,null)))},edit:eo,deprecated:Dr},ao=function(e){var t=e.blockSupportsResponsive,n=e.showEditButton,r=e.themeSupportsResponsive,o=e.allowResponsive,a=e.getResponsiveHelp,c=e.toggleResponsive,i=e.switchBackToURLInput;return Object(X.createElement)(X.Fragment,null,Object(X.createElement)($.BlockControls,null,Object(X.createElement)(ie.ToolbarGroup,null,n&&Object(X.createElement)(ie.Button,{className:"components-toolbar__control",label:Object(Q.__)("Edit URL"),icon:"edit",onClick:i}))),r&&t&&Object(X.createElement)($.InspectorControls,null,Object(X.createElement)(ie.PanelBody,{title:Object(Q.__)("Media Settings"),className:"blocks-responsive"},Object(X.createElement)(ie.ToggleControl,{label:Object(Q.__)("Resize for smaller devices"),checked:o,help:a,onChange:c}))))},co=function(){return Object(X.createElement)("div",{className:"wp-block-embed is-loading"},Object(X.createElement)(ie.Spinner,null),Object(X.createElement)("p",null,Object(Q.__)("Embedding…")))},io=function(e){var t=e.icon,n=e.label,r=e.value,o=e.onSubmit,a=e.onChange,c=e.cannotEmbed,i=e.fallback,l=e.tryAgain;return Object(X.createElement)(ie.Placeholder,{icon:Object(X.createElement)($.BlockIcon,{icon:t,showColors:!0}),label:n,className:"wp-block-embed",instructions:Object(Q.__)("Paste a link to the content you want to display on your site.")},Object(X.createElement)("form",{onSubmit:o},Object(X.createElement)("input",{type:"url",value:r||"",className:"components-placeholder__input","aria-label":n,placeholder:Object(Q.__)("Enter URL to embed here…"),onChange:a}),Object(X.createElement)(ie.Button,{isSecondary:!0,type:"submit"},Object(Q._x)("Embed","button label")),c&&Object(X.createElement)("p",{className:"components-placeholder__error"},Object(Q.__)("Sorry, this content could not be embedded."),Object(X.createElement)("br",null),Object(X.createElement)(ie.Button,{isSecondary:!0,onClick:l},Object(Q._x)("Try again","button label"))," ",Object(X.createElement)(ie.Button,{isSecondary:!0,onClick:i},Object(Q._x)("Convert to link","button label")))),Object(X.createElement)("div",{className:"components-placeholder__learn-more"},Object(X.createElement)(ie.ExternalLink,{href:Object(Q.__)("https://wordpress.org/support/article/embeds/")},Object(Q.__)("Learn more about embeds"))))},lo=n(85),so=window.FocusEvent,uo=function(e){function t(){var e;return Object(Ce.a)(this,t),(e=Object(Ee.a)(this,Object(xe.a)(t).apply(this,arguments))).checkFocus=e.checkFocus.bind(Object(Se.a)(e)),e.node=Object(X.createRef)(),e}return Object(Te.a)(t,e),Object(we.a)(t,[{key:"checkFocus",value:function(){var e=document.activeElement;if("IFRAME"===e.tagName&&e.parentNode===this.node.current){var t=new so("focus",{bubbles:!0});e.dispatchEvent(t)}}},{key:"render",value:function(){var e=this.props.html;return Object(X.createElement)("div",{ref:this.node,className:"wp-block-embed__wrapper",dangerouslySetInnerHTML:{__html:e}})}}]),t}(X.Component),bo=Object(le.withGlobalEvents)({blur:"checkFocus"})(uo),mo=function(e){function t(){var e;return Object(Ce.a)(this,t),(e=Object(Ee.a)(this,Object(xe.a)(t).apply(this,arguments))).hideOverlay=e.hideOverlay.bind(Object(Se.a)(e)),e.state={interactive:!1},e}return Object(Te.a)(t,e),Object(we.a)(t,[{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"render",value:function(){var e,t,n,r=this.props,o=r.preview,a=r.url,c=r.type,i=r.caption,l=r.onCaptionChange,s=r.isSelected,u=r.className,b=r.icon,m=r.label,d=o.scripts,h=this.state.interactive,p="photo"===c?(t=(e=o).thumbnail_url?e.thumbnail_url:e.url,n=Object(X.createElement)("p",null,Object(X.createElement)("img",{src:t,alt:e.title,width:"100%"})),Object(X.renderToString)(n)):o.html,g=Object(lo.parse)(a).host.split("."),f=g.splice(g.length-2,g.length-1).join("."),v=Object(ne.includes)(Je,f),O=Object(Q.sprintf)(Object(Q.__)("Embedded content from %s"),f),j=Xe()(c,u,"wp-block-embed__wrapper"),y="wp-embed"===c?Object(X.createElement)(bo,{html:p}):Object(X.createElement)("div",{className:"wp-block-embed__wrapper"},Object(X.createElement)(ie.SandBox,{html:p,scripts:d,title:O,type:j,onFocus:this.hideOverlay}),!h&&Object(X.createElement)("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}));return Object(X.createElement)("figure",{className:Xe()(u,"wp-block-embed",{"is-type-video":"video"===c})},v?Object(X.createElement)(ie.Placeholder,{icon:Object(X.createElement)($.BlockIcon,{icon:b,showColors:!0}),label:m},Object(X.createElement)("p",{className:"components-placeholder__error"},Object(X.createElement)("a",{href:a},a)),Object(X.createElement)("p",{className:"components-placeholder__error"},Object(Q.sprintf)(Object(Q.__)("Embedded content from %s can't be previewed in the editor."),f))):y,(!$.RichText.isEmpty(i)||s)&&Object(X.createElement)($.RichText,{tagName:"figcaption",placeholder:Object(Q.__)("Write caption…"),value:i,onChange:l,inlineToolbar:!0}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(X.Component);function ho(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return(function(r){function o(){var e;return Object(Ce.a)(this,o),(e=Object(Ee.a)(this,Object(xe.a)(o).apply(this,arguments))).switchBackToURLInput=e.switchBackToURLInput.bind(Object(Se.a)(e)),e.setUrl=e.setUrl.bind(Object(Se.a)(e)),e.getMergedAttributes=e.getMergedAttributes.bind(Object(Se.a)(e)),e.setMergedAttributes=e.setMergedAttributes.bind(Object(Se.a)(e)),e.getResponsiveHelp=e.getResponsiveHelp.bind(Object(Se.a)(e)),e.toggleResponsive=e.toggleResponsive.bind(Object(Se.a)(e)),e.handleIncomingPreview=e.handleIncomingPreview.bind(Object(Se.a)(e)),e.state={editingURL:!1,url:e.props.attributes.url},e.props.preview&&e.handleIncomingPreview(),e}return Object(Te.a)(o,r),Object(we.a)(o,[{key:"handleIncomingPreview",value:function(){if(this.setMergedAttributes(),this.props.onReplace){var e=ot(this.props,this.getMergedAttributes());e&&this.props.onReplace(e)}}},{key:"componentDidUpdate",value:function(e){var t=void 0!==this.props.preview,n=void 0!==e.preview,r=e.preview&&this.props.preview&&this.props.preview.html!==e.preview.html||t&&!n,o=this.props.attributes.url!==e.attributes.url;if(r||o){if(this.props.cannotEmbed)return void(this.props.fetching||this.resubmitWithoutTrailingSlash());this.handleIncomingPreview()}}},{key:"resubmitWithoutTrailingSlash",value:function(){this.setState((function(e){return{url:e.url.replace(/\/$/,"")}}),this.setUrl)}},{key:"setUrl",value:function(e){e&&e.preventDefault();var t=this.state.url,n=this.props.setAttributes;this.setState({editingURL:!1}),n({url:t})}},{key:"getMergedAttributes",value:function(){var t=this.props.preview,r=this.props.attributes,o=r.className,a=r.allowResponsive;return Object(Y.a)({},this.props.attributes,ct(t,e,o,n,a))}},{key:"setMergedAttributes",value:function(){(0,this.props.setAttributes)(this.getMergedAttributes())}},{key:"switchBackToURLInput",value:function(){this.setState({editingURL:!0})}},{key:"getResponsiveHelp",value:function(e){return e?Object(Q.__)("This embed will preserve its aspect ratio when the browser is resized."):Object(Q.__)("This embed may not preserve its aspect ratio when the browser is resized.")}},{key:"toggleResponsive",value:function(){var e=this.props.attributes,t=e.allowResponsive,r=e.className,o=this.props.preview.html,a=!t;this.props.setAttributes({allowResponsive:a,className:at(o,r,n&&a)})}},{key:"render",value:function(){var r=this,o=this.state,a=o.url,c=o.editingURL,i=this.props,l=i.fetching,s=i.setAttributes,u=i.isSelected,b=i.preview,m=i.cannotEmbed,d=i.themeSupportsResponsive,h=i.tryAgain;if(l)return Object(X.createElement)(co,null);var p=Object(Q.sprintf)(Object(Q.__)("%s URL"),e);if(!b||m||c)return Object(X.createElement)(io,{icon:t,label:p,onSubmit:this.setUrl,value:a,cannotEmbed:m,onChange:function(e){return r.setState({url:e.target.value})},fallback:function(){return function(e,t){var n=Object(X.createElement)("a",{href:e},e);t(Object(J.createBlock)("core/paragraph",{content:Object(X.renderToString)(n)}))}(a,r.props.onReplace)},tryAgain:h});var g=this.getMergedAttributes(),f=g.caption,v=g.type,O=g.allowResponsive,j=te()(g.className,this.props.className);return Object(X.createElement)(X.Fragment,null,Object(X.createElement)(ao,{showEditButton:b&&!m,themeSupportsResponsive:d,blockSupportsResponsive:n,allowResponsive:O,getResponsiveHelp:this.getResponsiveHelp,toggleResponsive:this.toggleResponsive,switchBackToURLInput:this.switchBackToURLInput}),Object(X.createElement)(mo,{preview:b,className:j,url:a,type:v,caption:f,onCaptionChange:function(e){return s({caption:e})},isSelected:u,icon:t,label:p}))}}]),o}(X.Component))}var po={url:{type:"string"},caption:{type:"string",source:"html",selector:"figcaption"},type:{type:"string"},providerNameSlug:{type:"string"},allowResponsive:{type:"boolean",default:!0}};function go(e){var t=e.title,n=e.description,r=e.icon,o=e.category,a=void 0===o?"embed":o,c=e.transforms,i=e.keywords,l=void 0===i?[]:i,s=e.supports,u=void 0===s?{}:s,b=e.responsive,m=void 0===b||b,d=n||Object(Q.__)("Add a block that displays content pulled from other sites, like Twitter, Instagram or YouTube."),h=ho(t,r,m);return{title:t,description:d,icon:r,category:a,keywords:l,attributes:po,supports:Object(Y.a)({align:!0},u),transforms:c,edit:Object(le.compose)(Object(se.withSelect)((function(e,t){var n=t.attributes.url,r=e("core"),o=r.getEmbedPreview,a=r.isPreviewEmbedFallback,c=r.isRequestingEmbedPreview,i=r.getThemeSupports,l=void 0!==n&&o(n),s=void 0!==n&&a(n),u=void 0!==n&&c(n),b=i(),m=!!l&&void 0===l.type&&!1===l.html,d=!!l&&l.data&&404===l.data.status,h=!!l&&!m&&!d,p=void 0!==n&&(!h||s);return{preview:h?l:void 0,fetching:u,themeSupportsResponsive:b["responsive-embeds"],cannotEmbed:p}})),Object(se.withDispatch)((function(e,t){var n=t.attributes.url,r=e("core/data");return{tryAgain:function(){r.invalidateResolution("core","getEmbedPreview",[n])}}})))(h),save:function(e){var t,n=e.attributes,r=n.url,o=n.caption,a=n.type,c=n.providerNameSlug;if(!r)return null;var i=Xe()("wp-block-embed",(t={},Object(Z.a)(t,"is-type-".concat(a),a),Object(Z.a)(t,"is-provider-".concat(c),c),t));return Object(X.createElement)("figure",{className:i},Object(X.createElement)("div",{className:"wp-block-embed__wrapper"},"\n".concat(r,"\n")),!$.RichText.isEmpty(o)&&Object(X.createElement)($.RichText.Content,{tagName:"figcaption",value:o}))},deprecated:[{attributes:po,save:function(e){var t,n=e.attributes,r=n.url,o=n.caption,a=n.type,c=n.providerNameSlug;if(!r)return null;var i=Xe()("wp-block-embed",(t={},Object(Z.a)(t,"is-type-".concat(a),a),Object(Z.a)(t,"is-provider-".concat(c),c),t));return Object(X.createElement)("figure",{className:i},"\n".concat(r,"\n"),!$.RichText.isEmpty(o)&&Object(X.createElement)($.RichText.Content,{tagName:"figcaption",value:o}))}}]}}var fo="core/embed",vo=go({title:Object(Q._x)("Embed","block title"),description:Object(Q.__)("Embed videos, images, tweets, audio, and other content from external sources."),icon:Re,responsive:!1,transforms:{from:[{type:"raw",isMatch:function(e){return"P"===e.nodeName&&/^\s*(https?:\/\/\S+)\s*$/i.test(e.textContent)},transform:function(e){return Object(J.createBlock)("core/embed",{url:e.textContent.trim()})}}]}}),Oo=Ze.map((function(e){return Object(Y.a)({},e,{settings:go(e.settings)})})),jo=$e.map((function(e){return Object(Y.a)({},e,{settings:go(e.settings)})})),yo=Object(X.createElement)(ie.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(X.createElement)(ie.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(X.createElement)(ie.Path,{d:"M9.17 6l2 2H20v10H4V6h5.17M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z"}));function _o(e){var t=e.hrefs,n=e.openInNewWindow,r=e.showDownloadButton,o=e.changeLinkDestinationOption,a=e.changeOpenInNewWindow,c=e.changeShowDownloadButton,i=t.href,l=t.textLinkHref,s=t.attachmentPage,u=[{value:i,label:Object(Q.__)("URL")}];return s&&(u=[{value:i,label:Object(Q.__)("Media File")},{value:s,label:Object(Q.__)("Attachment page")}]),Object(X.createElement)(X.Fragment,null,Object(X.createElement)($.InspectorControls,null,Object(X.createElement)(ie.PanelBody,{title:Object(Q.__)("Text link settings")},Object(X.createElement)(ie.SelectControl,{label:Object(Q.__)("Link To"),value:l,options:u,onChange:o}),Object(X.createElement)(ie.ToggleControl,{label:Object(Q.__)("Open in new tab"),checked:n,onChange:a})),Object(X.createElement)(ie.PanelBody,{title:Object(Q.__)("Download button settings")},Object(X.createElement)(ie.ToggleControl,{label:Object(Q.__)("Show download button"),checked:r,onChange:c}))))}var ko=function(e){function t(){var e;return Object(Ce.a)(this,t),(e=Object(Ee.a)(this,Object(xe.a)(t).apply(this,arguments))).onSelectFile=e.onSelectFile.bind(Object(Se.a)(e)),e.confirmCopyURL=e.confirmCopyURL.bind(Object(Se.a)(e)),e.resetCopyConfirmation=e.resetCopyConfirmation.bind(Object(Se.a)(e)),e.changeLinkDestinationOption=e.changeLinkDestinationOption.bind(Object(Se.a)(e)),e.changeOpenInNewWindow=e.changeOpenInNewWindow.bind(Object(Se.a)(e)),e.changeShowDownloadButton=e.changeShowDownloadButton.bind(Object(Se.a)(e)),e.onUploadError=e.onUploadError.bind(Object(Se.a)(e)),e.state={hasError:!1,showCopyConfirmation:!1},e}return Object(Te.a)(t,e),Object(we.a)(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.attributes,r=t.mediaUpload,o=t.noticeOperations,a=t.setAttributes,c=n.downloadButtonText,i=n.href;Object(Ne.isBlobURL)(i)&&(r({filesList:[Object(Ne.getBlobByURL)(i)],onFileChange:function(t){var n=Object(ce.a)(t,1)[0];return e.onSelectFile(n)},onError:function(t){e.setState({hasError:!0}),o.createErrorNotice(t)}}),Object(Ne.revokeBlobURL)(i));void 0===c&&a({downloadButtonText:Object(Q._x)("Download","button label")})}},{key:"componentDidUpdate",value:function(e){e.isSelected&&!this.props.isSelected&&this.setState({showCopyConfirmation:!1})}},{key:"onSelectFile",value:function(e){e&&e.url&&(this.setState({hasError:!1}),this.props.setAttributes({href:e.url,fileName:e.title,textLinkHref:e.url,id:e.id}))}},{key:"onUploadError",value:function(e){var t=this.props.noticeOperations;t.removeAllNotices(),t.createErrorNotice(e)}},{key:"confirmCopyURL",value:function(){this.setState({showCopyConfirmation:!0})}},{key:"resetCopyConfirmation",value:function(){this.setState({showCopyConfirmation:!1})}},{key:"changeLinkDestinationOption",value:function(e){this.props.setAttributes({textLinkHref:e})}},{key:"changeOpenInNewWindow",value:function(e){this.props.setAttributes({textLinkTarget:!!e&&"_blank"})}},{key:"changeShowDownloadButton",value:function(e){this.props.setAttributes({showDownloadButton:e})}},{key:"render",value:function(){var e=this,t=this.props,n=t.className,r=t.isSelected,o=t.attributes,a=t.setAttributes,c=t.noticeUI,i=t.media,l=o.fileName,s=o.href,u=o.textLinkHref,b=o.textLinkTarget,m=o.showDownloadButton,d=o.downloadButtonText,h=this.state,p=h.hasError,g=h.showCopyConfirmation,f=i&&i.link;if(!s||p)return Object(X.createElement)($.MediaPlaceholder,{icon:Object(X.createElement)($.BlockIcon,{icon:yo}),labels:{title:Object(Q.__)("File"),instructions:Object(Q.__)("Upload a file or pick one from your media library.")},onSelect:this.onSelectFile,notices:c,onError:this.onUploadError,accept:"*"});var v=te()(n,{"is-transient":Object(Ne.isBlobURL)(s)});return Object(X.createElement)(X.Fragment,null,Object(X.createElement)(_o,Object(ye.a)({hrefs:{href:s,textLinkHref:u,attachmentPage:f}},{openInNewWindow:!!b,showDownloadButton:m,changeLinkDestinationOption:this.changeLinkDestinationOption,changeOpenInNewWindow:this.changeOpenInNewWindow,changeShowDownloadButton:this.changeShowDownloadButton})),Object(X.createElement)($.BlockControls,null,Object(X.createElement)($.MediaReplaceFlow,{mediaURL:s,accept:"*",onSelect:this.onSelectFile,onError:this.onUploadError})),Object(X.createElement)(ie.Animate,{type:Object(Ne.isBlobURL)(s)?"loading":null},(function(t){var n=t.className;return Object(X.createElement)("div",{className:te()(v,n)},Object(X.createElement)("div",{className:"wp-block-file__content-wrapper"},Object(X.createElement)("div",{className:"wp-block-file__textlink"},Object(X.createElement)($.RichText,{tagName:"div",value:l,placeholder:Object(Q.__)("Write file name…"),withoutInteractiveFormatting:!0,onChange:function(e){return a({fileName:e})}})),m&&Object(X.createElement)("div",{className:"wp-block-file__button-richtext-wrapper"},Object(X.createElement)($.RichText,{tagName:"div",className:"wp-block-file__button",value:d,withoutInteractiveFormatting:!0,placeholder:Object(Q.__)("Add text…"),onChange:function(e){return a({downloadButtonText:e})}}))),r&&Object(X.createElement)(ie.ClipboardButton,{isSecondary:!0,text:s,className:"wp-block-file__copy-url-button",onCopy:e.confirmCopyURL,onFinishCopy:e.resetCopyConfirmation,disabled:Object(Ne.isBlobURL)(s)},g?Object(Q.__)("Copied!"):Object(Q.__)("Copy URL")))})))}}]),t}(X.Component),Co=Object(le.compose)([Object(se.withSelect)((function(e,t){var n=e("core").getMedia,r=(0,e("core/block-editor").getSettings)().mediaUpload,o=t.attributes.id;return{media:void 0===o?void 0:n(o),mediaUpload:r}})),ie.withNotices])(ko);var wo={from:[{type:"files",isMatch:function(e){return e.length>0},priority:15,transform:function(e){var t=[];return e.forEach((function(e){var n=Object(Ne.createBlobURL)(e);t.push(Object(J.createBlock)("core/file",{href:n,fileName:e.name,textLinkHref:n}))})),t}},{type:"block",blocks:["core/audio"],transform:function(e){return Object(J.createBlock)("core/file",{href:e.src,fileName:e.caption,textLinkHref:e.src,id:e.id})}},{type:"block",blocks:["core/video"],transform:function(e){return Object(J.createBlock)("core/file",{href:e.src,fileName:e.caption,textLinkHref:e.src,id:e.id})}},{type:"block",blocks:["core/image"],transform:function(e){return Object(J.createBlock)("core/file",{href:e.url,fileName:e.caption,textLinkHref:e.url,id:e.id})}}],to:[{type:"block",blocks:["core/audio"],isMatch:function(e){var t=e.id;if(!t)return!1;var n=(0,Object(se.select)("core").getMedia)(t);return!!n&&Object(ne.includes)(n.mime_type,"audio")},transform:function(e){return Object(J.createBlock)("core/audio",{src:e.href,caption:e.fileName,id:e.id})}},{type:"block",blocks:["core/video"],isMatch:function(e){var t=e.id;if(!t)return!1;var n=(0,Object(se.select)("core").getMedia)(t);return!!n&&Object(ne.includes)(n.mime_type,"video")},transform:function(e){return Object(J.createBlock)("core/video",{src:e.href,caption:e.fileName,id:e.id})}},{type:"block",blocks:["core/image"],isMatch:function(e){var t=e.id;if(!t)return!1;var n=(0,Object(se.select)("core").getMedia)(t);return!!n&&Object(ne.includes)(n.mime_type,"image")},transform:function(e){return Object(J.createBlock)("core/image",{url:e.href,caption:e.fileName,id:e.id})}}]},Eo={name:"core/file",category:"common",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]"}}},xo=Eo.name,So={title:Object(Q.__)("File"),description:Object(Q.__)("Add a link to a downloadable file."),icon:yo,keywords:[Object(Q.__)("document"),Object(Q.__)("pdf"),Object(Q.__)("download")],supports:{align:!0},transforms:wo,edit:Co,save:function(e){var t=e.attributes,n=t.href,r=t.fileName,o=t.textLinkHref,a=t.textLinkTarget,c=t.showDownloadButton,i=t.downloadButtonText;return n&&Object(X.createElement)("div",null,!$.RichText.isEmpty(r)&&Object(X.createElement)("a",{href:o,target:a,rel:!!a&&"noreferrer noopener"},Object(X.createElement)($.RichText.Content,{value:r})),c&&Object(X.createElement)("a",{href:n,className:"wp-block-file__button",download:!0},Object(X.createElement)($.RichText.Content,{value:i})))}},To=function(e){function t(){var e;return Object(Ce.a)(this,t),(e=Object(Ee.a)(this,Object(xe.a)(t).apply(this,arguments))).state={isPreview:!1,styles:[]},e.switchToHTML=e.switchToHTML.bind(Object(Se.a)(e)),e.switchToPreview=e.switchToPreview.bind(Object(Se.a)(e)),e}return Object(Te.a)(t,e),Object(we.a)(t,[{key:"componentDidMount",value:function(){var e=this.props.styles;this.setState({styles:["\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"].concat(Object(K.a)(Object($.transformStyles)(e)))})}},{key:"switchToPreview",value:function(){this.setState({isPreview:!0})}},{key:"switchToHTML",value:function(){this.setState({isPreview:!1})}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,r=this.state,o=r.isPreview,a=r.styles;return Object(X.createElement)("div",{className:"wp-block-html"},Object(X.createElement)($.BlockControls,null,Object(X.createElement)(ie.ToolbarGroup,null,Object(X.createElement)(ie.Button,{className:"components-tab-button",isPressed:!o,onClick:this.switchToHTML},Object(X.createElement)("span",null,"HTML")),Object(X.createElement)(ie.Button,{className:"components-tab-button",isPressed:o,onClick:this.switchToPreview},Object(X.createElement)("span",null,Object(Q.__)("Preview"))))),Object(X.createElement)(ie.Disabled.Consumer,null,(function(e){return o||e?Object(X.createElement)(ie.SandBox,{html:t.content,styles:a}):Object(X.createElement)($.PlainText,{value:t.content,onChange:function(e){return n({content:e})},placeholder:Object(Q.__)("Write HTML…"),"aria-label":Object(Q.__)("HTML")})})))}}]),t}(X.Component),No=Object(se.withSelect)((function(e){return{styles:(0,e("core/block-editor").getSettings)().styles}}))(To),Bo=Object(X.createElement)(ie.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(X.createElement)(ie.Path,{d:"M4.5,11h-2V9H1v6h1.5v-2.5h2V15H6V9H4.5V11z M7,10.5h1.5V15H10v-4.5h1.5V9H7V10.5z M14.5,10l-1-1H12v6h1.5v-3.9 l1,1l1-1V15H17V9h-1.5L14.5,10z M19.5,13.5V9H18v6h5v-1.5H19.5z"}));var Ao={from:[{type:"raw",isMatch:function(e){return"FIGURE"===e.nodeName&&!!e.querySelector("iframe")},schema:function(e){return{figure:{require:["iframe"],children:{iframe:{attributes:["src","allowfullscreen","height","width"]},figcaption:{children:e.phrasingContentSchema}}}}}}]},Ro={name:"core/html",category:"formatting",attributes:{content:{type:"string",source:"html"}}},Io=Ro.name,Mo={title:Object(Q.__)("Custom HTML"),description:Object(Q.__)("Add custom HTML code and preview it as you edit."),icon:Bo,keywords:[Object(Q.__)("embed")],example:{attributes:{content:""+Object(Q.__)("Welcome to the wonderful world of blocks…")+""}},supports:{customClassName:!1,className:!1,html:!1},transforms:Ao,edit:No,save:function(e){var t=e.attributes;return Object(X.createElement)(X.RawHTML,null,t.content)}},Po=Object(X.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(X.createElement)(ie.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(X.createElement)(ie.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(X.createElement)(ie.Path,{d:"M5 19h8l-1.59-2H9.24l-.84 1.1L7 16.3 5 19z"})),zo=["image","video"];function Ho(e,t){return e?{backgroundImage:"url(".concat(e,")"),backgroundPosition:t?"".concat(100*t.x,"% ").concat(100*t.y,"%"):"50% 50%"}:{}}var Lo=function(e){function t(){var e;return Object(Ce.a)(this,t),(e=Object(Ee.a)(this,Object(xe.a)(t).apply(this,arguments))).onUploadError=e.onUploadError.bind(Object(Se.a)(e)),e}return Object(Te.a)(t,e),Object(we.a)(t,[{key:"onUploadError",value:function(e){var t=this.props.noticeOperations;t.removeAllNotices(),t.createErrorNotice(e)}},{key:"renderToolbarEditButton",value:function(){var e=this.props,t=e.mediaId,n=e.onSelectMedia;return Object(X.createElement)($.BlockControls,null,Object(X.createElement)(ie.ToolbarGroup,null,Object(X.createElement)($.MediaUpload,{onSelect:n,allowedTypes:zo,value:t,render:function(e){var t=e.open;return Object(X.createElement)(ie.Button,{className:"components-toolbar__control",label:Object(Q.__)("Edit media"),icon:"edit",onClick:t})}})))}},{key:"renderImage",value:function(){var e=this.props,t=e.mediaAlt,n=e.mediaUrl,r=e.className,o=e.imageFill,a=e.focalPoint,c=o?Ho(n,a):{};return Object(X.createElement)(X.Fragment,null,this.renderToolbarEditButton(),Object(X.createElement)("figure",{className:r,style:c},Object(X.createElement)("img",{src:n,alt:t})))}},{key:"renderVideo",value:function(){var e=this.props,t=e.mediaUrl,n=e.className;return Object(X.createElement)(X.Fragment,null,this.renderToolbarEditButton(),Object(X.createElement)("figure",{className:n},Object(X.createElement)("video",{controls:!0,src:t})))}},{key:"renderPlaceholder",value:function(){var e=this.props,t=e.onSelectMedia,n=e.className,r=e.noticeUI;return Object(X.createElement)($.MediaPlaceholder,{icon:Object(X.createElement)($.BlockIcon,{icon:Po}),labels:{title:Object(Q.__)("Media area")},className:n,onSelect:t,accept:"image/*,video/*",allowedTypes:zo,notices:r,onError:this.onUploadError})}},{key:"render",value:function(){var e=this.props,t=e.mediaPosition,n=e.mediaUrl,r=e.mediaType,o=e.mediaWidth,a=e.commitWidthChange,c=e.onWidthChange,i=e.toggleSelection;if(r&&n){var l={right:"left"===t,left:"right"===t},s=null;switch(r){case"image":s=this.renderImage();break;case"video":s=this.renderVideo()}return Object(X.createElement)(ie.ResizableBox,{className:"editor-media-container__resizer",size:{width:o+"%"},minWidth:"10%",maxWidth:"100%",enable:l,onResizeStart:function(){i(!1)},onResize:function(e,t,n){c(parseInt(n.style.width))},onResizeStop:function(e,t,n){i(!0),a(parseInt(n.style.width))},axis:"x"},s)}return this.renderPlaceholder()}}]),t}(X.Component),Vo=Object(le.compose)([Object(se.withDispatch)((function(e){return{toggleSelection:e("core/block-editor").toggleSelection}})),ie.withNotices])(Lo),Fo={align:{type:"string",default:"wide"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},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"},mediaType:{type:"string"},mediaWidth:{type:"number",default:50},isStackedOnMobile:{type:"boolean",default:!1}},Do=[{attributes:Object(Y.a)({},Fo,{verticalAlignment:{type:"string"},imageFill:{type:"boolean"},focalPoint:{type:"object"}}),save:function(e){var t,n,r=e.attributes,o=r.backgroundColor,a=r.customBackgroundColor,c=r.isStackedOnMobile,i=r.mediaAlt,l=r.mediaPosition,s=r.mediaType,u=r.mediaUrl,b=r.mediaWidth,m=r.mediaId,d=r.verticalAlignment,h=r.imageFill,p=r.focalPoint,g={image:function(){return Object(X.createElement)("img",{src:u,alt:i,className:m&&"image"===s?"wp-image-".concat(m):null})},video:function(){return Object(X.createElement)("video",{controls:!0,src:u})}},f=Object($.getColorClassName)("background-color",o),v=te()((t={"has-media-on-the-right":"right"===l},Object(Z.a)(t,f,f),Object(Z.a)(t,"is-stacked-on-mobile",c),Object(Z.a)(t,"is-vertically-aligned-".concat(d),d),Object(Z.a)(t,"is-image-fill",h),t)),O=h?Ho(u,p):{};50!==b&&(n="right"===l?"auto ".concat(b,"%"):"".concat(b,"% auto"));var j={backgroundColor:f?void 0:a,gridTemplateColumns:n};return Object(X.createElement)("div",{className:v,style:j},Object(X.createElement)("figure",{className:"wp-block-media-text__media",style:O},(g[s]||ne.noop)()),Object(X.createElement)("div",{className:"wp-block-media-text__content"},Object(X.createElement)($.InnerBlocks.Content,null)))}},{attributes:Fo,save:function(e){var t,n,r=e.attributes,o=r.backgroundColor,a=r.customBackgroundColor,c=r.isStackedOnMobile,i=r.mediaAlt,l=r.mediaPosition,s=r.mediaType,u=r.mediaUrl,b=r.mediaWidth,m={image:function(){return Object(X.createElement)("img",{src:u,alt:i})},video:function(){return Object(X.createElement)("video",{controls:!0,src:u})}},d=Object($.getColorClassName)("background-color",o),h=te()((t={"has-media-on-the-right":"right"===l},Object(Z.a)(t,d,d),Object(Z.a)(t,"is-stacked-on-mobile",c),t));50!==b&&(n="right"===l?"auto ".concat(b,"%"):"".concat(b,"% auto"));var p={backgroundColor:d?void 0:a,gridTemplateColumns:n};return Object(X.createElement)("div",{className:h,style:p},Object(X.createElement)("figure",{className:"wp-block-media-text__media"},(m[s]||ne.noop)()),Object(X.createElement)("div",{className:"wp-block-media-text__content"},Object(X.createElement)($.InnerBlocks.Content,null)))}}],Uo=[["core/paragraph",{fontSize:"large",placeholder:Object(Q._x)("Content…","content placeholder")}]],Go=function(e){return Math.max(15,Math.min(e,85))},qo=function(e){function t(){var e;return Object(Ce.a)(this,t),(e=Object(Ee.a)(this,Object(xe.a)(t).apply(this,arguments))).onSelectMedia=e.onSelectMedia.bind(Object(Se.a)(e)),e.onWidthChange=e.onWidthChange.bind(Object(Se.a)(e)),e.commitWidthChange=e.commitWidthChange.bind(Object(Se.a)(e)),e.state={mediaWidth:null},e.onSetHref=e.onSetHref.bind(Object(Se.a)(e)),e}return Object(Te.a)(t,e),Object(we.a)(t,[{key:"onSelectMedia",value:function(e){var t,n,r=this.props.setAttributes,o=this.props.attributes,a=o.linkDestination,c=o.href;"image"===(t=e.media_type?"image"===e.media_type?"image":"video":e.type)&&(n=Object(ne.get)(e,["sizes","large","url"])||Object(ne.get)(e,["media_details","sizes","large","source_url"]));var i=c;"media"===a&&(i=e.url),"attachment"===a&&(i=e.link),r({mediaAlt:e.alt,mediaId:e.id,mediaType:t,mediaUrl:n||e.url,mediaLink:e.link||void 0,href:i,imageFill:void 0,focalPoint:void 0})}},{key:"onWidthChange",value:function(e){this.setState({mediaWidth:Go(e)})}},{key:"onSetHref",value:function(e){this.props.setAttributes(e)}},{key:"commitWidthChange",value:function(e){(0,this.props.setAttributes)({mediaWidth:Go(e)}),this.setState({mediaWidth:null})}},{key:"renderMediaArea",value:function(){var e=this.props.attributes,t=e.mediaAlt,n=e.mediaId,r=e.mediaPosition,o=e.mediaType,a=e.mediaUrl,c=e.mediaWidth,i=e.imageFill,l=e.focalPoint;return Object(X.createElement)(Vo,Object(ye.a)({className:"block-library-media-text__media-container",onSelectMedia:this.onSelectMedia,onWidthChange:this.onWidthChange,commitWidthChange:this.commitWidthChange},{mediaAlt:t,mediaId:n,mediaType:o,mediaUrl:a,mediaPosition:r,mediaWidth:c,imageFill:i,focalPoint:l}))}},{key:"render",value:function(){var e,t=this.props,n=t.attributes,r=t.className,o=t.backgroundColor,a=t.isSelected,c=t.setAttributes,i=t.setBackgroundColor,l=t.image,s=n.isStackedOnMobile,u=n.mediaAlt,b=n.mediaPosition,m=n.mediaType,d=n.mediaWidth,h=n.verticalAlignment,p=n.mediaUrl,g=n.imageFill,f=n.focalPoint,v=n.rel,O=n.href,j=n.linkTarget,y=n.linkClass,_=n.linkDestination,k=this.state.mediaWidth,C=te()(r,(e={"has-media-on-the-right":"right"===b,"is-selected":a,"has-background":o.class||o.color},Object(Z.a)(e,o.class,o.class),Object(Z.a)(e,"is-stacked-on-mobile",s),Object(Z.a)(e,"is-vertically-aligned-".concat(h),h),Object(Z.a)(e,"is-image-fill",g),e)),w="".concat(k||d,"%"),E="right"===b?"1fr ".concat(w):"".concat(w," 1fr"),x={gridTemplateColumns:E,msGridColumns:E,backgroundColor:o.color},S=[{value:o.color,onChange:i,label:Object(Q.__)("Background Color")}],T=[{icon:"align-pull-left",title:Object(Q.__)("Show media on left"),isActive:"left"===b,onClick:function(){return c({mediaPosition:"left"})}},{icon:"align-pull-right",title:Object(Q.__)("Show media on right"),isActive:"right"===b,onClick:function(){return c({mediaPosition:"right"})}}],N=Object(X.createElement)(ie.PanelBody,{title:Object(Q.__)("Media & Text Settings")},Object(X.createElement)(ie.ToggleControl,{label:Object(Q.__)("Stack on mobile"),checked:s,onChange:function(){return c({isStackedOnMobile:!s})}}),"image"===m&&Object(X.createElement)(ie.ToggleControl,{label:Object(Q.__)("Crop image to fill entire column"),checked:g,onChange:function(){return c({imageFill:!g})}}),g&&Object(X.createElement)(ie.FocalPointPicker,{label:Object(Q.__)("Focal Point Picker"),url:p,value:f,onChange:function(e){return c({focalPoint:e})}}),"image"===m&&Object(X.createElement)(ie.TextareaControl,{label:Object(Q.__)("Alt Text (Alternative Text)"),value:u,onChange:function(e){c({mediaAlt:e})},help:Object(X.createElement)(X.Fragment,null,Object(X.createElement)(ie.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},Object(Q.__)("Describe the purpose of the image")),Object(Q.__)("Leave empty if the image is purely decorative."))}));return Object(X.createElement)(X.Fragment,null,Object(X.createElement)($.InspectorControls,null,N,Object(X.createElement)($.PanelColorSettings,{title:Object(Q.__)("Color Settings"),initialOpen:!1,colorSettings:S})),Object(X.createElement)($.BlockControls,null,Object(X.createElement)(ie.ToolbarGroup,{controls:T}),Object(X.createElement)($.BlockVerticalAlignmentToolbar,{onChange:function(e){c({verticalAlignment:e})},value:h}),"image"===m&&Object(X.createElement)(ie.ToolbarGroup,null,Object(X.createElement)($.__experimentalImageURLInputUI,{url:O||"",onChangeUrl:this.onSetHref,linkDestination:_,mediaType:m,mediaUrl:l&&l.source_url,mediaLink:l&&l.link,linkTarget:j,linkClass:y,rel:v}))),Object(X.createElement)("div",{className:C,style:x},this.renderMediaArea(),Object(X.createElement)($.InnerBlocks,{template:Uo,templateInsertUpdatesSelection:!1})))}}]),t}(X.Component),Wo=Object(le.compose)([Object($.withColors)("backgroundColor"),Object(se.withSelect)((function(e,t){var n=e("core").getMedia,r=t.attributes.mediaId,o=t.isSelected;return{image:r&&o?n(r):null}}))])(qo),Ko=Object(X.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(X.createElement)(ie.Path,{d:"M13 17h8v-2h-8v2zM3 19h8V5H3v14zM13 9h8V7h-8v2zm0 4h8v-2h-8v2z"})),Zo=50;var $o={from:[{type:"block",blocks:["core/image"],transform:function(e){var t=e.alt,n=e.url,r=e.id;return Object(J.createBlock)("core/media-text",{mediaAlt:t,mediaId:r,mediaUrl:n,mediaType:"image"})}},{type:"block",blocks:["core/video"],transform:function(e){var t=e.src,n=e.id;return Object(J.createBlock)("core/media-text",{mediaId:n,mediaUrl:t,mediaType:"video"})}}],to:[{type:"block",blocks:["core/image"],isMatch:function(e){var t=e.mediaType;return!e.mediaUrl||"image"===t},transform:function(e){var t=e.mediaAlt,n=e.mediaId,r=e.mediaUrl;return Object(J.createBlock)("core/image",{alt:t,id:n,url:r})}},{type:"block",blocks:["core/video"],isMatch:function(e){var t=e.mediaType;return!e.mediaUrl||"video"===t},transform:function(e){var t=e.mediaId,n=e.mediaUrl;return Object(J.createBlock)("core/video",{id:t,src:n})}}]},Jo={name:"core/media-text",category:"layout",attributes:{align:{type:"string",default:"wide"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},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},isStackedOnMobile:{type:"boolean",default:!0},verticalAlignment:{type:"string"},imageFill:{type:"boolean"},focalPoint:{type:"object"}}},Qo=Jo.name,Yo={title:Object(Q.__)("Media & Text"),description:Object(Q.__)("Set media and words side-by-side for a richer layout."),icon:Ko,keywords:[Object(Q.__)("image"),Object(Q.__)("video")],supports:{align:["wide","full"],html:!1},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(Q.__)("The wren
    Earns his living
    Noiselessly.")}},{name:"core/paragraph",attributes:{content:Object(Q.__)("— Kobayashi Issa (一茶)")}}]},transforms:$o,edit:Wo,save:function(e){var t,n=e.attributes,r=n.backgroundColor,o=n.customBackgroundColor,a=n.isStackedOnMobile,c=n.mediaAlt,i=n.mediaPosition,l=n.mediaType,s=n.mediaUrl,u=n.mediaWidth,b=n.mediaId,m=n.verticalAlignment,d=n.imageFill,h=n.focalPoint,p=n.linkClass,g=n.href,f=n.linkTarget,v=n.rel,O=Object(ne.isEmpty)(v)?void 0:v,j=Object(X.createElement)("img",{src:s,alt:c,className:b&&"image"===l?"wp-image-".concat(b):null});g&&(j=Object(X.createElement)("a",{className:p,href:g,target:f,rel:O},j));var y,_={image:function(){return j},video:function(){return Object(X.createElement)("video",{controls:!0,src:s})}},k=Object($.getColorClassName)("background-color",r),C=te()((t={"has-media-on-the-right":"right"===i,"has-background":k||o},Object(Z.a)(t,k,k),Object(Z.a)(t,"is-stacked-on-mobile",a),Object(Z.a)(t,"is-vertically-aligned-".concat(m),m),Object(Z.a)(t,"is-image-fill",d),t)),w=d?Ho(s,h):{};u!==Zo&&(y="right"===i?"auto ".concat(u,"%"):"".concat(u,"% auto"));var E={backgroundColor:k?void 0:o,gridTemplateColumns:y};return Object(X.createElement)("div",{className:C,style:E},Object(X.createElement)("figure",{className:"wp-block-media-text__media",style:w},(_[l]||ne.noop)()),Object(X.createElement)("div",{className:"wp-block-media-text__content"},Object(X.createElement)($.InnerBlocks.Content,null)))},deprecated:Do};function Xo(e){var t=e.clientId,n=Object(se.useSelect)((function(e){var n=e("core/block-editor"),r=n.getSelectedBlockClientId;return{block:(0,n.getBlock)(t),selectedBlockClientId:r()}}),[t]),r=n.block,o=n.selectedBlockClientId,a=Object(se.useDispatch)("core/block-editor").selectBlock;return Object(X.createElement)($.__experimentalBlockNavigationList,{blocks:[r],selectedBlockClientId:o,selectBlock:a,showNestedBlocks:!0,showAppender:!0})}var ea=Object(X.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"20",height:"20"},Object(X.createElement)(ie.Path,{d:"M5 5H3v2h2V5zm3 8h11v-2H8v2zm9-8H6v2h11V5zM7 11H5v2h2v-2zm0 8h2v-2H7v2zm3-2v2h11v-2H10z"}));var ta=function(){return Object(X.createElement)(ie.SVG,{xmlns:"https://www.w3.org/2000/svg",viewBox:"0 0 20 20"},Object(X.createElement)(ie.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"}))},na=function(e){var t=e.color;return Object(X.createElement)("div",{className:"block-library-colors-selector__icon-container"},Object(X.createElement)("div",{className:"block-library-colors-selector__state-selection",style:Object(Y.a)({},t&&{color:t})},Object(X.createElement)(ta,null)))},ra=function(e){var t=e.value,n=e.onChange,r=void 0===n?ne.noop:n;return function(){return Object(X.createElement)(X.Fragment,null,Object(X.createElement)("div",{className:"color-palette-controller-container"},Object(X.createElement)($.ColorPaletteControl,{value:t,onChange:r,label:Object(Q.__)("Text Color")})))}},oa=function(e){return Object(X.createElement)(ie.Dropdown,{position:"bottom right",className:"block-library-colors-selector",contentClassName:"block-library-colors-selector__popover",renderToggle:(t=e,n=t.value,function(e){var t=e.onToggle,r=e.isOpen;return Object(X.createElement)(ie.ToolbarGroup,null,Object(X.createElement)(ie.Button,{className:"components-toolbar__control block-library-colors-selector__toggle",label:Object(Q.__)("Open Colors Selector"),onClick:t,onKeyDown:function(e){r||e.keyCode!==Wt.DOWN||(e.preventDefault(),e.stopPropagation(),t())},icon:Object(X.createElement)(na,{color:n})}))}),renderContent:ra(e)});var t,n},aa=Object(X.createElement)(ie.SVG,{width:"20",height:"20",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(X.createElement)(ie.Path,{d:"M11 16v-3h10v-2H11V8l-4 4 4 4zM5 4H3v16h2V4z"})),ca=Object(X.createElement)(ie.SVG,{width:"20",height:"20",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(X.createElement)(ie.Path,{d:"M5 8v3H1v2h4v3l4-4-4-4zm14 8v-3h4v-2h-4V8l-4 4 4 4zM13 4h-2v16h2V4z"})),ia=Object(X.createElement)(ie.SVG,{width:"20",height:"20",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(X.createElement)(ie.Path,{d:"M13 8v3H3v2h10v3l4-4-4-4zm8-4h-2v16h2V4z"}));var la=Object(le.compose)([Object($.withFontSizes)("fontSize"),Object(se.withSelect)((function(e,t){var n,r,o=t.clientId,a={parent:0,order:"asc",orderby:"id"},c=["core","getEntityRecords",["postType","page",a]];return{hasExistingNavItems:!!e("core/block-editor").getBlocks(o).length,pages:e("core").getEntityRecords("postType","page",a),isRequestingPages:(n=e("core/data")).isResolving.apply(n,c),hasResolvedPages:(r=e("core/data")).hasFinishedResolution.apply(r,c)}})),Object(se.withDispatch)((function(e,t){var n=t.clientId;return{updateNavItemBlocks:function(t){e("core/block-editor").replaceInnerBlocks(n,t)}}}))])((function(e){var t,n=e.attributes,r=e.clientId,o=e.fontSize,a=e.hasExistingNavItems,c=e.hasResolvedPages,i=e.isRequestingPages,l=e.pages,s=e.setAttributes,u=e.setFontSize,b=e.updateNavItemBlocks,m=Object($.__experimentalUseColors)([{name:"textColor",property:"color"}]).TextColor,d=function(e){var t=Object(X.useState)(!1),n=Object(ce.a)(t,2),r=n[0],o=n[1];return{navigatorToolbarButton:Object(X.createElement)(ie.Button,{className:"components-toolbar__control",label:Object(Q.__)("Open block navigator"),onClick:function(){return o(!0)},icon:ea}),navigatorModal:r&&Object(X.createElement)(ie.Modal,{title:Object(Q.__)("Block Navigator"),closeLabel:Object(Q.__)("Close"),onRequestClose:function(){o(!1)}},Object(X.createElement)(Xo,{clientId:e}))}}(r),h=d.navigatorToolbarButton,p=d.navigatorModal,g=Object(X.useMemo)((function(){return l?l.map((function(e){var t=e.title,n=e.type,r=e.link,o=e.id;return Object(J.createBlock)("core/navigation-link",{type:n,id:o,url:r,label:Object(ne.escape)(t.rendered),title:Object(ne.escape)(t.raw),opensInNewTab:!1})})):null}),[l]);function f(e){return function(){var t=n.itemsJustification===e?void 0:e;s({itemsJustification:t})}}var v=c&&l&&l.length,O=te()("wp-block-navigation",(t={},Object(Z.a)(t,"items-justification-".concat(n.itemsJustification),n.itemsJustification),Object(Z.a)(t,o.class,o.class),t)),j={fontSize:o.size?o.size+"px":void 0};return a?Object(X.createElement)(X.Fragment,null,Object(X.createElement)($.BlockControls,null,Object(X.createElement)(ie.Toolbar,{icon:n.itemsJustification?_["justify".concat(Object(ne.upperFirst)(n.itemsJustification),"Icon")]:aa,label:Object(Q.__)("Change items justification"),isCollapsed:!0,controls:[{icon:aa,title:Object(Q.__)("Justify items left"),isActive:"left"===n.itemsJustification,onClick:f("left")},{icon:ca,title:Object(Q.__)("Justify items center"),isActive:"center"===n.itemsJustification,onClick:f("center")},{icon:ia,title:Object(Q.__)("Justify items right"),isActive:"right"===n.itemsJustification,onClick:f("right")}]}),Object(X.createElement)(ie.ToolbarGroup,null,h),Object(X.createElement)(oa,{value:m.color,onChange:m.setColor})),p,Object(X.createElement)($.InspectorControls,null,Object(X.createElement)(ie.PanelBody,{title:Object(Q.__)("Navigation Structure")},Object(X.createElement)(Xo,{clientId:r})),Object(X.createElement)(ie.PanelBody,{title:Object(Q.__)("Text Settings")},Object(X.createElement)($.FontSizePicker,{value:o.size,onChange:u}))),Object(X.createElement)(m,null,Object(X.createElement)("div",{className:O,style:j},!a&&i&&Object(X.createElement)(X.Fragment,null,Object(X.createElement)(ie.Spinner,null)," ",Object(Q.__)("Loading Navigation…")," "),Object(X.createElement)($.InnerBlocks,{allowedBlocks:["core/navigation-link"],templateInsertUpdatesSelection:!1,__experimentalMoverDirection:"horizontal"})))):Object(X.createElement)(X.Fragment,null,Object(X.createElement)(ie.Placeholder,{className:"wp-block-navigation-placeholder",icon:"menu",label:Object(Q.__)("Navigation"),instructions:Object(Q.__)("Create a Navigation from all existing pages, or create an empty one.")},Object(X.createElement)("div",{className:"wp-block-navigation-placeholder__buttons"},Object(X.createElement)(ie.Button,{isSecondary:!0,className:"wp-block-navigation-placeholder__button",onClick:function(){b(g)},disabled:!v},Object(Q.__)("Create from all top-level pages")),Object(X.createElement)(ie.Button,{isLink:!0,className:"wp-block-navigation-placeholder__button",onClick:function(){var e=Object(J.createBlock)("core/navigation-link");b([e])}},Object(Q.__)("Create empty")))))}));var sa="core/navigation",ua={title:Object(Q.__)("Navigation"),icon:"menu",description:Object(Q.__)("Add a navigation block to your site."),keywords:[Object(Q.__)("menu"),Object(Q.__)("navigation"),Object(Q.__)("links")],category:"layout",supports:{align:["wide","full"],anchor:!0,html:!1,inserter:!0},styles:[{name:"light",label:Object(Q.__)("Light"),isDefault:!0},{name:"dark",label:Object(Q.__)("Dark")}],edit:la,save:function(){return Object(X.createElement)($.InnerBlocks.Content,null)}},ba=function(e){return function(t,n){e(Object(Z.a)({},t,n))}},ma=function(e,t){return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=n.title,o=void 0===r?"":r,a=n.url,c=void 0===a?"":a;e({title:Object(ne.escape)(o),url:c}),t||e({label:Object(ne.escape)(o)})}};var da=Object(le.compose)([Object(se.withSelect)((function(e,t){var n=e("core/block-editor"),r=n.getClientIdsOfDescendants,o=n.hasSelectedInnerBlock,a=t.clientId;return{isParentOfSelectedBlock:o(a,!0),hasDescendants:!!r([a]).length}})),Object(se.withDispatch)((function(e,t,n){return{insertLinkBlock:function(){var r=t.clientId,o=e("core/block-editor").insertBlock,a=(0,n.select("core/block-editor").getClientIdsOfDescendants)([r]),c=a.length?a.length:0;o(Object(J.createBlock)("core/navigation-link"),c,r)}}}))])((function(e){var t=e.attributes,n=e.hasDescendants,r=e.isSelected,o=e.isParentOfSelectedBlock,a=e.setAttributes,c=e.insertLinkBlock,i=t.label,l=t.opensInNewTab,s=t.title,u=t.url,b=t.nofollow,m=t.description,d=s?{title:Object(ne.unescape)(s),url:u}:null,h=Object(X.useState)(!i&&r),p=Object(ce.a)(h,2),g=p[0],f=p[1],v=null;Object(X.useEffect)((function(){return r||f(!1),function(){v&&clearTimeout(v)}}),[r]);var O=function(){g||f(!g)},j=Object(Q.__)("Add link…");return Object(X.createElement)(X.Fragment,null,Object(X.createElement)($.BlockControls,null,Object(X.createElement)(ie.ToolbarGroup,null,Object(X.createElement)(ie.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(Z.a)({},Wt.rawShortcut.primary("k"),O)}),Object(X.createElement)(ie.ToolbarButton,{name:"link",icon:"admin-links",title:Object(Q.__)("Link"),shortcut:Wt.displayShortcut.primary("k"),onClick:O}),Object(X.createElement)(ie.ToolbarButton,{name:"submenu",icon:Object(X.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24"},Object(X.createElement)(ie.Path,{d:"M14 5h8v2h-8zm0 5.5h8v2h-8zm0 5.5h8v2h-8zM2 11.5C2 15.08 4.92 18 8.5 18H9v2l3-3-3-3v2h-.5C6.02 16 4 13.98 4 11.5S6.02 7 8.5 7H12V5H8.5C4.92 5 2 7.92 2 11.5z"}),Object(X.createElement)(ie.Path,{fill:"none",d:"M0 0h24v24H0z"})),title:Object(Q.__)("Add submenu"),onClick:c}))),Object(X.createElement)($.InspectorControls,null,Object(X.createElement)(ie.PanelBody,{title:Object(Q.__)("Link Settings")},Object(X.createElement)(ie.TextareaControl,{value:m||"",onChange:function(e){a({description:e})},label:Object(Q.__)("Description")})),Object(X.createElement)(ie.PanelBody,{title:Object(Q.__)("SEO Settings")},Object(X.createElement)(ie.TextControl,{value:s||"",onChange:function(e){a({title:e})},label:Object(Q.__)("Title Attribute"),help:Object(Q.__)("Provide more context about where the link goes.")}),Object(X.createElement)(ie.ToggleControl,{checked:b,onChange:function(e){a({nofollow:e})},label:Object(Q.__)("Add nofollow to link"),help:Object(X.createElement)(X.Fragment,null,Object(Q.__)("Don't let search engines follow this link."),Object(X.createElement)(ie.ExternalLink,{className:"wp-block-navigation-link__nofollow-external-link",href:Object(Q.__)("https://codex.wordpress.org/Nofollow")},Object(Q.__)("What's this?")))}))),Object(X.createElement)("div",{className:te()("wp-block-navigation-link",{"is-editing":r||o,"is-selected":r,"has-link":!!u})},Object(X.createElement)("div",null,Object(X.createElement)($.RichText,{className:"wp-block-navigation-link__content",value:i,onChange:function(e){return a({label:e})},placeholder:j,withoutInteractiveFormatting:!0}),g&&Object(X.createElement)($.__experimentalLinkControl,{className:"wp-block-navigation-link__inline-link-input",onKeyDown:function(e){var t=e.keyCode;[Wt.LEFT,Wt.DOWN,Wt.RIGHT,Wt.UP,Wt.BACKSPACE,Wt.ENTER].indexOf(t)>-1&&e.stopPropagation()},onKeyPress:function(e){return e.stopPropagation()},currentLink:d,onLinkChange:ma(a,i),onClose:function(){v=setTimeout((function(){return f(!1)}),100)},currentSettings:[{id:"opensInNewTab",title:Object(Q.__)("Open in new tab"),checked:l}],onSettingsChange:ba(a)})),Object(X.createElement)($.InnerBlocks,{allowedBlocks:["core/navigation-link"],renderAppender:!!n&&$.InnerBlocks.ButtonBlockAppender})))}));var ha={name:"core/navigation-link",category:"layout",attributes:{label:{type:"string"},nofollow:{type:"boolean",default:!1},title:{type:"string"},type:{type:"string"},description:{type:"string"},id:{type:"number"},opensInNewTab:{type:"boolean",default:!1},url:{type:"string"}}},pa=ha.name,ga={title:Object(Q.__)("Navigation Link"),parent:["core/navigation"],icon:Object(X.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24"},Object(X.createElement)(ie.Path,{d:"M12 7.27l4.28 10.43-3.47-1.53-.81-.36-.81.36-3.47 1.53L12 7.27M12 2L4.5 20.29l.71.71L12 18l6.79 3 .71-.71L12 2z"})),description:Object(Q.__)("Add a page, link, or another item to your navigation."),supports:{reusable:!1},__experimentalDisplayName:"label",edit:da,save:function(){return Object(X.createElement)($.InnerBlocks.Content,null)}},fa=function(e){function t(){var e;return Object(Ce.a)(this,t),(e=Object(Ee.a)(this,Object(xe.a)(t).apply(this,arguments))).setCommentsToShow=e.setCommentsToShow.bind(Object(Se.a)(e)),e.toggleDisplayAvatar=e.createToggleAttribute("displayAvatar"),e.toggleDisplayDate=e.createToggleAttribute("displayDate"),e.toggleDisplayExcerpt=e.createToggleAttribute("displayExcerpt"),e}return Object(Te.a)(t,e),Object(we.a)(t,[{key:"createToggleAttribute",value:function(e){var t=this;return function(){var n=t.props.attributes[e];(0,t.props.setAttributes)(Object(Z.a)({},e,!n))}}},{key:"setCommentsToShow",value:function(e){this.props.setAttributes({commentsToShow:e})}},{key:"render",value:function(){var e=this.props.attributes,t=e.commentsToShow,n=e.displayAvatar,r=e.displayDate,o=e.displayExcerpt;return Object(X.createElement)(X.Fragment,null,Object(X.createElement)($.InspectorControls,null,Object(X.createElement)(ie.PanelBody,{title:Object(Q.__)("Latest Comments Settings")},Object(X.createElement)(ie.ToggleControl,{label:Object(Q.__)("Display Avatar"),checked:n,onChange:this.toggleDisplayAvatar}),Object(X.createElement)(ie.ToggleControl,{label:Object(Q.__)("Display Date"),checked:r,onChange:this.toggleDisplayDate}),Object(X.createElement)(ie.ToggleControl,{label:Object(Q.__)("Display Excerpt"),checked:o,onChange:this.toggleDisplayExcerpt}),Object(X.createElement)(ie.RangeControl,{label:Object(Q.__)("Number of Comments"),value:t,onChange:this.setCommentsToShow,min:1,max:100,required:!0}))),Object(X.createElement)(ie.Disabled,null,Object(X.createElement)(sn.a,{block:"core/latest-comments",attributes:this.props.attributes})))}}]),t}(X.Component),va=Object(X.createElement)(ie.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(X.createElement)(ie.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(X.createElement)(ie.G,null,Object(X.createElement)(ie.Path,{d:"M21.99 4c0-1.1-.89-2-1.99-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14l4 4-.01-18zM20 4v13.17L18.83 16H4V4h16zM6 12h12v2H6zm0-3h12v2H6zm0-3h12v2H6z"}))),Oa="core/latest-comments",ja={title:Object(Q.__)("Latest Comments"),description:Object(Q.__)("Display a list of your most recent comments."),icon:va,category:"widgets",keywords:[Object(Q.__)("recent comments")],supports:{align:!0,html:!1},edit:fa},ya=n(38),_a=n.n(ya),ka=n(55),Ca={per_page:-1},wa=function(e){function t(){var e;return Object(Ce.a)(this,t),(e=Object(Ee.a)(this,Object(xe.a)(t).apply(this,arguments))).state={categoriesList:[]},e}return Object(Te.a)(t,e),Object(we.a)(t,[{key:"componentDidMount",value:function(){var e=this;this.isStillMounted=!0,this.fetchRequest=_a()({path:Object(Be.addQueryArgs)("/wp/v2/categories",Ca)}).then((function(t){e.isStillMounted&&e.setState({categoriesList:t})})).catch((function(){e.isStillMounted&&e.setState({categoriesList:[]})}))}},{key:"componentWillUnmount",value:function(){this.isStillMounted=!1}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,r=e.latestPosts,o=this.state.categoriesList,a=t.displayPostContentRadio,c=t.displayPostContent,i=t.displayPostDate,l=t.postLayout,s=t.columns,u=t.order,b=t.orderBy,m=t.categories,d=t.postsToShow,h=t.excerptLength,p=Object(X.createElement)($.InspectorControls,null,Object(X.createElement)(ie.PanelBody,{title:Object(Q.__)("Post Content Settings")},Object(X.createElement)(ie.ToggleControl,{label:Object(Q.__)("Post Content"),checked:c,onChange:function(e){return n({displayPostContent:e})}}),c&&Object(X.createElement)(ie.RadioControl,{label:Object(Q.__)("Show:"),selected:a,options:[{label:Object(Q.__)("Excerpt"),value:"excerpt"},{label:Object(Q.__)("Full Post"),value:"full_post"}],onChange:function(e){return n({displayPostContentRadio:e})}}),c&&"excerpt"===a&&Object(X.createElement)(ie.RangeControl,{label:Object(Q.__)("Max number of words in excerpt"),value:h,onChange:function(e){return n({excerptLength:e})},min:10,max:100})),Object(X.createElement)(ie.PanelBody,{title:Object(Q.__)("Post Meta Settings")},Object(X.createElement)(ie.ToggleControl,{label:Object(Q.__)("Display post date"),checked:i,onChange:function(e){return n({displayPostDate:e})}})),Object(X.createElement)(ie.PanelBody,{title:Object(Q.__)("Sorting and Filtering")},Object(X.createElement)(ie.QueryControls,Object(ye.a)({order:u,orderBy:b},{numberOfItems:d,categoriesList:o,selectedCategoryId:m,onOrderChange:function(e){return n({order:e})},onOrderByChange:function(e){return n({orderBy:e})},onCategoryChange:function(e){return n({categories:""!==e?e:void 0})},onNumberOfItemsChange:function(e){return n({postsToShow:e})}})),"grid"===l&&Object(X.createElement)(ie.RangeControl,{label:Object(Q.__)("Columns"),value:s,onChange:function(e){return n({columns:e})},min:2,max:g?Math.min(6,r.length):6,required:!0}))),g=Array.isArray(r)&&r.length;if(!g)return Object(X.createElement)(X.Fragment,null,p,Object(X.createElement)(ie.Placeholder,{icon:"admin-post",label:Object(Q.__)("Latest Posts")},Array.isArray(r)?Object(Q.__)("No posts found."):Object(X.createElement)(ie.Spinner,null)));var f=r.length>d?r.slice(0,d):r,v=[{icon:"list-view",title:Object(Q.__)("List view"),onClick:function(){return n({postLayout:"list"})},isActive:"list"===l},{icon:"grid-view",title:Object(Q.__)("Grid view"),onClick:function(){return n({postLayout:"grid"})},isActive:"grid"===l}],O=Object(ka.__experimentalGetSettings)().formats.date;return Object(X.createElement)(X.Fragment,null,p,Object(X.createElement)($.BlockControls,null,Object(X.createElement)(ie.ToolbarGroup,{controls:v})),Object(X.createElement)("ul",{className:te()(this.props.className,Object(Z.a)({"wp-block-latest-posts__list":!0,"is-grid":"grid"===l,"has-dates":i},"columns-".concat(s),"grid"===l))},f.map((function(e,t){var n=e.title.rendered.trim(),r=e.excerpt.rendered;""===e.excerpt.raw&&(r=e.content.raw);var o=document.createElement("div");return o.innerHTML=r,r=o.textContent||o.innerText||"",Object(X.createElement)("li",{key:t},Object(X.createElement)("a",{href:e.link,target:"_blank",rel:"noreferrer noopener"},n?Object(X.createElement)(X.RawHTML,null,n):Object(Q.__)("(no title)")),i&&e.date_gmt&&Object(X.createElement)("time",{dateTime:Object(ka.format)("c",e.date_gmt),className:"wp-block-latest-posts__post-date"},Object(ka.dateI18n)(O,e.date_gmt)),c&&"excerpt"===a&&Object(X.createElement)("div",{className:"wp-block-latest-posts__post-excerpt"},Object(X.createElement)(X.RawHTML,{key:"html"},h'+Object(Q.__)("Read more")+"":r.trim().split(" ",h).join(" "))),c&&"full_post"===a&&Object(X.createElement)("div",{className:"wp-block-latest-posts__post-full-content"},Object(X.createElement)(X.RawHTML,{key:"html"},e.content.raw.trim())))}))))}}]),t}(X.Component),Ea=Object(se.withSelect)((function(e,t){var n=t.attributes,r=n.postsToShow,o=n.order,a=n.orderBy,c=n.categories;return{latestPosts:(0,e("core").getEntityRecords)("postType","post",Object(ne.pickBy)({categories:c,order:o,orderby:a,per_page:r},(function(e){return!Object(ne.isUndefined)(e)})))}}))(wa),xa=Object(X.createElement)(ie.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(X.createElement)(ie.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(X.createElement)(ie.Rect,{x:"11",y:"7",width:"6",height:"2"}),Object(X.createElement)(ie.Rect,{x:"11",y:"11",width:"6",height:"2"}),Object(X.createElement)(ie.Rect,{x:"11",y:"15",width:"6",height:"2"}),Object(X.createElement)(ie.Rect,{x:"7",y:"7",width:"2",height:"2"}),Object(X.createElement)(ie.Rect,{x:"7",y:"11",width:"2",height:"2"}),Object(X.createElement)(ie.Rect,{x:"7",y:"15",width:"2",height:"2"}),Object(X.createElement)(ie.Path,{d:"M20.1,3H3.9C3.4,3,3,3.4,3,3.9v16.2C3,20.5,3.4,21,3.9,21h16.2c0.4,0,0.9-0.5,0.9-0.9V3.9C21,3.4,20.5,3,20.1,3z M19,19H5V5h14V19z"})),Sa="core/latest-posts",Ta={title:Object(Q.__)("Latest Posts"),description:Object(Q.__)("Display a list of your most recent posts."),icon:xa,category:"widgets",keywords:[Object(Q.__)("recent posts")],supports:{align:!0,html:!1},edit:Ea},Na=function(e){var t=e.setAttributes,n=e.reversed,r=e.start;return Object(X.createElement)($.InspectorControls,null,Object(X.createElement)(ie.PanelBody,{title:Object(Q.__)("Ordered List Settings")},Object(X.createElement)(ie.TextControl,{label:Object(Q.__)("Start Value"),type:"number",onChange:function(e){var n=parseInt(e,10);t({start:isNaN(n)?void 0:n})},value:Number.isInteger(r)?r.toString(10):"",step:"1"}),Object(X.createElement)(ie.ToggleControl,{label:Object(Q.__)("Reverse List Numbering"),checked:n||!1,onChange:function(e){t({reversed:e||void 0})}})))};var Ba=Object(X.createElement)(ie.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(X.createElement)(ie.G,null,Object(X.createElement)(ie.Path,{d:"M9 19h12v-2H9v2zm0-6h12v-2H9v2zm0-8v2h12V5H9zm-4-.5c-.828 0-1.5.672-1.5 1.5S4.172 7.5 5 7.5 6.5 6.828 6.5 6 5.828 4.5 5 4.5zm0 6c-.828 0-1.5.672-1.5 1.5s.672 1.5 1.5 1.5 1.5-.672 1.5-1.5-.672-1.5-1.5-1.5zm0 6c-.828 0-1.5.672-1.5 1.5s.672 1.5 1.5 1.5 1.5-.672 1.5-1.5-.672-1.5-1.5-1.5z"})));function Aa(e){var t=e.phrasingContentSchema,n=Object(Y.a)({},t,{ul:{},ol:{attributes:["type","start","reversed"]}});return["ul","ol"].forEach((function(e){n[e].children={li:{children:n}}})),n}var Ra={from:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:function(e){return Object(J.createBlock)("core/list",{values:Object(It.toHTMLString)({value:Object(It.join)(e.map((function(t){var n=t.content,r=Object(It.create)({html:n});return e.length>1?r:Object(It.replace)(r,/\n/g,It.__UNSTABLE_LINE_SEPARATOR)})),It.__UNSTABLE_LINE_SEPARATOR),multilineTag:"li"})})}},{type:"block",blocks:["core/quote"],transform:function(e){var t=e.value;return Object(J.createBlock)("core/list",{values:Object(It.toHTMLString)({value:Object(It.create)({html:t,multilineTag:"p"}),multilineTag:"li"})})}},{type:"raw",selector:"ol,ul",schema:function(e){return{ol:Aa(e).ol,ul:Aa(e).ul}},transform:function(e){var t={ordered:"OL"===e.nodeName};if(t.ordered){var n=e.getAttribute("type");n&&(t.type=n),null!==e.getAttribute("reversed")&&(t.reversed=!0);var r=parseInt(e.getAttribute("start"),10);isNaN(r)||1===r&&!t.reversed||(t.start=r)}return Object(J.createBlock)("core/list",Object(Y.a)({},Object(J.getBlockAttributes)("core/list",e.outerHTML),t))}}].concat(Object(K.a)(["*","-"].map((function(e){return{type:"prefix",prefix:e,transform:function(e){return Object(J.createBlock)("core/list",{values:"
  • ".concat(e,"
  • ")})}}}))),Object(K.a)(["1.","1)"].map((function(e){return{type:"prefix",prefix:e,transform:function(e){return Object(J.createBlock)("core/list",{ordered:!0,values:"
  • ".concat(e,"
  • ")})}}})))),to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.values;return Object(It.split)(Object(It.create)({html:t,multilineTag:"li",multilineWrapperTags:["ul","ol"]}),It.__UNSTABLE_LINE_SEPARATOR).map((function(e){return Object(J.createBlock)("core/paragraph",{content:Object(It.toHTMLString)({value:e})})}))}},{type:"block",blocks:["core/quote"],transform:function(e){var t=e.values;return Object(J.createBlock)("core/quote",{value:Object(It.toHTMLString)({value:Object(It.create)({html:t,multilineTag:"li",multilineWrapperTags:["ul","ol"]}),multilineTag:"p"})})}}]},Ia={name:"core/list",category:"common",attributes:{ordered:{type:"boolean",default:!1},values:{type:"string",source:"html",selector:"ol,ul",multiline:"li",__unstableMultilineWrapperTags:["ol","ul"],default:""},type:{type:"string"},start:{type:"number"},reversed:{type:"boolean"}}},Ma=Ia.name,Pa={title:Object(Q.__)("List"),description:Object(Q.__)("Create a bulleted or numbered list."),icon:Ba,keywords:[Object(Q.__)("bullet list"),Object(Q.__)("ordered list"),Object(Q.__)("numbered list")],supports:{className:!1,__unstablePasteTextInline:!0},example:{attributes:{values:"
  • Alice.
  • The White Rabbit.
  • The Cheshire Cat.
  • The Mad Hatter.
  • The Queen of Hearts.
  • "}},transforms:Ra,merge:function(e,t){var n=t.values;return n&&"
  • "!==n?Object(Y.a)({},e,{values:e.values+n}):e},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.mergeBlocks,o=e.onReplace,a=e.className,c=e.isSelected,i=t.ordered,l=t.values,s=t.type,u=t.reversed,b=t.start,m=i?"ol":"ul";return Object(X.createElement)(X.Fragment,null,Object(X.createElement)($.RichText,{identifier:"values",multiline:"li",tagName:m,onChange:function(e){return n({values:e})},value:l,className:a,placeholder:Object(Q.__)("Write list…"),onMerge:r,onSplit:function(e){return Object(J.createBlock)(Ma,Object(Y.a)({},t,{values:e}))},__unstableOnSplitMiddle:function(){return Object(J.createBlock)("core/paragraph")},onReplace:o,onRemove:function(){return o([])},start:b,reversed:u,type:s},(function(e){var t=e.value,r=e.onChange;return Object(X.createElement)(X.Fragment,null,c&&Object(X.createElement)(X.Fragment,null,Object(X.createElement)($.RichTextShortcut,{type:"primary",character:"[",onUse:function(){r(Object(It.__unstableOutdentListItems)(t))}}),Object(X.createElement)($.RichTextShortcut,{type:"primary",character:"]",onUse:function(){r(Object(It.__unstableIndentListItems)(t,{type:m}))}}),Object(X.createElement)($.RichTextShortcut,{type:"primary",character:"m",onUse:function(){r(Object(It.__unstableIndentListItems)(t,{type:m}))}}),Object(X.createElement)($.RichTextShortcut,{type:"primaryShift",character:"m",onUse:function(){r(Object(It.__unstableOutdentListItems)(t))}})),Object(X.createElement)($.BlockControls,null,Object(X.createElement)(ie.ToolbarGroup,{controls:[{icon:"editor-ul",title:Object(Q.__)("Convert to unordered list"),isActive:Object(It.__unstableIsActiveListType)(t,"ul",m),onClick:function(){r(Object(It.__unstableChangeListType)(t,{type:"ul"})),Object(It.__unstableIsListRootSelected)(t)&&n({ordered:!1})}},{icon:"editor-ol",title:Object(Q.__)("Convert to ordered list"),isActive:Object(It.__unstableIsActiveListType)(t,"ol",m),onClick:function(){r(Object(It.__unstableChangeListType)(t,{type:"ol"})),Object(It.__unstableIsListRootSelected)(t)&&n({ordered:!0})}},{icon:"editor-outdent",title:Object(Q.__)("Outdent list item"),shortcut:Object(Q._x)("Backspace","keyboard key"),isDisabled:!Object(It.__unstableCanOutdentListItems)(t),onClick:function(){r(Object(It.__unstableOutdentListItems)(t))}},{icon:"editor-indent",title:Object(Q.__)("Indent list item"),shortcut:Object(Q._x)("Space","keyboard key"),isDisabled:!Object(It.__unstableCanIndentListItems)(t),onClick:function(){r(Object(It.__unstableIndentListItems)(t,{type:m}))}}]})))})),i&&Object(X.createElement)(Na,{setAttributes:n,ordered:i,reversed:u,start:b}))},save:function(e){var t=e.attributes,n=t.ordered,r=t.values,o=t.type,a=t.reversed,c=t.start,i=n?"ol":"ul";return Object(X.createElement)($.RichText.Content,{tagName:i,value:r,type:o,reversed:a,start:c,multiline:"li"})}};var za=Object(se.withDispatch)((function(e,t){var n=t.clientId,r=t.attributes,o=e("core/block-editor").replaceBlock;return{convertToHTML:function(){o(n,Object(J.createBlock)("core/html",{content:r.originalUndelimitedContent}))}}}))((function(e){var t,n=e.attributes,r=e.convertToHTML,o=n.originalName,a=n.originalUndelimitedContent,c=!!a,i=Object(J.getBlockType)("core/html"),l=[];return c&&i?(t=Object(Q.sprintf)(Object(Q.__)('Your site doesn’t include support for the "%s" block. You can leave this block intact, convert its content to a Custom HTML block, or remove it entirely.'),o),l.push(Object(X.createElement)(ie.Button,{key:"convert",onClick:r,isLarge:!0,isPrimary:!0},Object(Q.__)("Keep as HTML")))):t=Object(Q.sprintf)(Object(Q.__)('Your site doesn’t include support for the "%s" block. You can leave this block intact or remove it entirely.'),o),Object(X.createElement)(X.Fragment,null,Object(X.createElement)($.Warning,{actions:l},t),Object(X.createElement)(X.RawHTML,null,a))}));var Ha={name:"core/missing",category:"common",attributes:{originalName:{type:"string"},originalUndelimitedContent:{type:"string"},originalContent:{type:"string",source:"html"}}},La=Ha.name,Va={name:La,title:Object(Q.__)("Unrecognized Block"),description:Object(Q.__)("Your site doesn’t include support for this block."),supports:{className:!1,customClassName:!1,inserter:!1,html:!1,reusable:!1},edit:za,save:function(e){var t=e.attributes;return Object(X.createElement)(X.RawHTML,null,t.originalContent)}},Fa=function(e){function t(){var e;return Object(Ce.a)(this,t),(e=Object(Ee.a)(this,Object(xe.a)(t).apply(this,arguments))).onChangeInput=e.onChangeInput.bind(Object(Se.a)(e)),e.onKeyDown=e.onKeyDown.bind(Object(Se.a)(e)),e.state={defaultText:Object(Q.__)("Read more")},e}return Object(Te.a)(t,e),Object(we.a)(t,[{key:"onChangeInput",value:function(e){this.setState({defaultText:""});var t=0===e.target.value.length?void 0:e.target.value;this.props.setAttributes({customText:t})}},{key:"onKeyDown",value:function(e){var t=e.keyCode,n=this.props.insertBlocksAfter;t===Wt.ENTER&&n([Object(J.createBlock)(Object(J.getDefaultBlockName)())])}},{key:"getHideExcerptHelp",value:function(e){return e?Object(Q.__)("The excerpt is hidden."):Object(Q.__)("The excerpt is visible.")}},{key:"render",value:function(){var e=this.props.attributes,t=e.customText,n=e.noTeaser,r=this.props.setAttributes,o=this.state.defaultText,a=void 0!==t?t:o,c=a.length+1;return Object(X.createElement)(X.Fragment,null,Object(X.createElement)($.InspectorControls,null,Object(X.createElement)(ie.PanelBody,null,Object(X.createElement)(ie.ToggleControl,{label:Object(Q.__)("Hide the excerpt on the full content page"),checked:!!n,onChange:function(){return r({noTeaser:!n})},help:this.getHideExcerptHelp}))),Object(X.createElement)("div",{className:"wp-block-more"},Object(X.createElement)("input",{type:"text",value:a,size:c,onChange:this.onChangeInput,onKeyDown:this.onKeyDown})))}}]),t}(X.Component),Da=Object(X.createElement)(ie.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(X.createElement)(ie.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(X.createElement)(ie.G,null,Object(X.createElement)(ie.Path,{d:"M2 9v2h19V9H2zm0 6h5v-2H2v2zm7 0h5v-2H9v2zm7 0h5v-2h-5v2z"})));var Ua={from:[{type:"raw",schema:{"wp-block":{attributes:["data-block"]}},isMatch:function(e){return e.dataset&&"core/more"===e.dataset.block},transform:function(e){var t=e.dataset,n=t.customText,r=t.noTeaser,o={};return n&&(o.customText=n),""===r&&(o.noTeaser=!0),Object(J.createBlock)("core/more",o)}}]},Ga={name:"core/more",category:"layout",attributes:{customText:{type:"string"},noTeaser:{type:"boolean",default:!1}}},qa=Ga.name,Wa={title:Object(Q._x)("More","block name"),description:Object(Q.__)("Content before this block will be shown in the excerpt on your archives page."),icon:Da,supports:{customClassName:!1,className:!1,html:!1,multiple:!1},example:{},transforms:Ua,edit:Fa,save:function(e){var t=e.attributes,n=t.customText,r=t.noTeaser,o=n?"\x3c!--more ".concat(n,"--\x3e"):"\x3c!--more--\x3e",a=r?"\x3c!--noteaser--\x3e":"";return Object(X.createElement)(X.RawHTML,null,Object(ne.compact)([o,a]).join("\n"))}};var Ka=Object(X.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24px",height:"24px",viewBox:"0 0 24 24"},Object(X.createElement)(ie.Path,{d:"M0 0h24v24H0z",fill:"none"}),Object(X.createElement)(ie.Path,{d:"M9 11h6v2H9zM2 11h5v2H2zM17 11h5v2h-5zM6 4h7v5h7V8l-6-6H6a2 2 0 0 0-2 2v5h2zM18 20H6v-5H4v5a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-5h-2z"}));var Za={from:[{type:"raw",schema:{"wp-block":{attributes:["data-block"]}},isMatch:function(e){return e.dataset&&"core/nextpage"===e.dataset.block},transform:function(){return Object(J.createBlock)("core/nextpage",{})}}]},$a={name:"core/nextpage",category:"layout"},Ja=$a.name,Qa={title:Object(Q.__)("Page Break"),parent:["core/post-content"],description:Object(Q.__)("Separate your content into a multi-page experience."),icon:Ka,keywords:[Object(Q.__)("next page"),Object(Q.__)("pagination")],supports:{customClassName:!1,className:!1,html:!1},example:{},transforms:Za,edit:function(){return Object(X.createElement)("div",{className:"wp-block-nextpage"},Object(X.createElement)("span",null,Object(Q.__)("Page break")))},save:function(){return Object(X.createElement)(X.RawHTML,null,"\x3c!--nextpage--\x3e")}};var Ya=Object(X.createElement)(ie.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(X.createElement)(ie.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(X.createElement)(ie.Path,{d:"M20,4H4C2.9,4,2,4.9,2,6v12c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2V6C22,4.9,21.1,4,20,4z M20,18H4V6h16V18z"}),Object(X.createElement)(ie.Rect,{x:"6",y:"10",width:"2",height:"2"}),Object(X.createElement)(ie.Rect,{x:"6",y:"14",width:"8",height:"2"}),Object(X.createElement)(ie.Rect,{x:"16",y:"14",width:"2",height:"2"}),Object(X.createElement)(ie.Rect,{x:"10",y:"10",width:"8",height:"2"}));var Xa={from:[{type:"block",blocks:["core/code","core/paragraph"],transform:function(e){var t=e.content;return Object(J.createBlock)("core/preformatted",{content:t})}},{type:"raw",isMatch:function(e){return"PRE"===e.nodeName&&!(1===e.children.length&&"CODE"===e.firstChild.nodeName)},schema:function(e){return{pre:{children:e.phrasingContentSchema}}}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(J.createBlock)("core/paragraph",e)}}]},ec={name:"core/preformatted",category:"formatting",attributes:{content:{type:"string",source:"html",selector:"pre",default:"",__unstablePreserveWhiteSpace:!0}}},tc=ec.name,nc={title:Object(Q.__)("Preformatted"),description:Object(Q.__)("Add text that respects your spacing and tabs, and also allows styling."),icon:Ya,example:{attributes:{content:Object(Q.__)("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:Xa,edit:function(e){var t=e.attributes,n=e.mergeBlocks,r=e.setAttributes,o=e.className,a=e.style,c=t.content;return Object(X.createElement)($.RichText,{tagName:"pre",identifier:"content",preserveWhiteSpace:!0,value:c,onChange:function(e){r({content:e})},placeholder:Object(Q.__)("Write preformatted text…"),className:o,style:a,onMerge:n})},save:function(e){var t=e.attributes.content;return Object(X.createElement)($.RichText.Content,{tagName:"pre",value:t})},merge:function(e,t){return{content:e.content+t.content}}},rc="is-style-".concat("solid-color"),oc={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 ac(e){if(e){var t=e.match(/border-color:([^;]+)[;]?/);return t&&t[1]?t[1]:void 0}}var cc=[{attributes:Object(Y.a)({},oc,{figureStyle:{source:"attribute",selector:"figure",attribute:"style"}}),save:function(e){var t,n,r=e.attributes,o=r.mainColor,a=r.customMainColor,c=r.textColor,i=r.customTextColor,l=r.value,s=r.citation,u=r.className,b=r.figureStyle;if(Object(ne.includes)(u,rc)){var m=Object($.getColorClassName)("background-color",o);t=te()(Object(Z.a)({"has-background":m||a},m,m)),n={backgroundColor:m?void 0:a}}else if(a)n={borderColor:a};else if(o){n={borderColor:ac(b)}}var d=Object($.getColorClassName)("color",c),h=(c||i)&&te()("has-text-color",Object(Z.a)({},d,d)),p=d?void 0:{color:i};return Object(X.createElement)("figure",{className:t,style:n},Object(X.createElement)("blockquote",{className:h,style:p},Object(X.createElement)($.RichText.Content,{value:l,multiline:!0}),!$.RichText.isEmpty(s)&&Object(X.createElement)($.RichText.Content,{tagName:"cite",value:s})))},migrate:function(e){var t=e.className,n=e.figureStyle,r=e.mainColor,o=Object(Rt.a)(e,["className","figureStyle","mainColor"]);if(!Object(ne.includes)(t,rc)&&r&&n){var a=ac(n);if(a)return Object(Y.a)({},o,{className:t,customMainColor:a})}return Object(Y.a)({className:t,mainColor:r},o)}},{attributes:oc,save:function(e){var t,n,r=e.attributes,o=r.mainColor,a=r.customMainColor,c=r.textColor,i=r.customTextColor,l=r.value,s=r.citation,u=r.className;if(Object(ne.includes)(u,rc))(t=Object($.getColorClassName)("background-color",o))||(n={backgroundColor:a});else if(a)n={borderColor:a};else if(o){var b=Object(ne.get)(Object(se.select)("core/block-editor").getSettings(),["colors"],[]);n={borderColor:Object($.getColorObjectByAttributeValues)(b,o).color}}var m=Object($.getColorClassName)("color",c),d=c||i?te()("has-text-color",Object(Z.a)({},m,m)):void 0,h=m?void 0:{color:i};return Object(X.createElement)("figure",{className:t,style:n},Object(X.createElement)("blockquote",{className:d,style:h},Object(X.createElement)($.RichText.Content,{value:l,multiline:!0}),!$.RichText.isEmpty(s)&&Object(X.createElement)($.RichText.Content,{tagName:"cite",value:s})))}},{attributes:Object(Y.a)({},oc),save:function(e){var t=e.attributes,n=t.value,r=t.citation;return Object(X.createElement)("blockquote",null,Object(X.createElement)($.RichText.Content,{value:n,multiline:!0}),!$.RichText.isEmpty(r)&&Object(X.createElement)($.RichText.Content,{tagName:"cite",value:r}))}},{attributes:Object(Y.a)({},oc,{citation:{type:"string",source:"html",selector:"footer"},align:{type:"string",default:"none"}}),save:function(e){var t=e.attributes,n=t.value,r=t.citation,o=t.align;return Object(X.createElement)("blockquote",{className:"align".concat(o)},Object(X.createElement)($.RichText.Content,{value:n,multiline:!0}),!$.RichText.isEmpty(r)&&Object(X.createElement)($.RichText.Content,{tagName:"footer",value:r}))}}],ic=function(e){function t(e){var n;return Object(Ce.a)(this,t),(n=Object(Ee.a)(this,Object(xe.a)(t).call(this,e))).wasTextColorAutomaticallyComputed=!1,n.pullQuoteMainColorSetter=n.pullQuoteMainColorSetter.bind(Object(Se.a)(n)),n.pullQuoteTextColorSetter=n.pullQuoteTextColorSetter.bind(Object(Se.a)(n)),n}return Object(Te.a)(t,e),Object(we.a)(t,[{key:"pullQuoteMainColorSetter",value:function(e){var t=this.props,n=t.colorUtils,r=t.textColor,o=t.setAttributes,a=t.setTextColor,c=t.setMainColor,i=t.className,l=Object(ne.includes)(i,rc),s=!r.color||this.wasTextColorAutomaticallyComputed,u=l&&s&&e;l?c(e):o({customMainColor:e}),u&&(this.wasTextColorAutomaticallyComputed=!0,a(n.getMostReadableColor(e)))}},{key:"pullQuoteTextColorSetter",value:function(e){(0,this.props.setTextColor)(e),this.wasTextColorAutomaticallyComputed=!1}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.attributes,r=t.className,o=t.mainColor,a=t.setAttributes;n.mainColor&&!Object(ne.includes)(r,rc)&&Object(ne.includes)(e.className,rc)&&a({mainColor:void 0,customMainColor:o.color})}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.mainColor,r=e.textColor,o=e.setAttributes,a=e.isSelected,c=e.className,i=t.value,l=t.citation,s=Object(ne.includes)(c,rc),u=s?{backgroundColor:n.color}:{borderColor:n.color},b=te()(c,Object(Z.a)({"has-background":s&&n.color},n.class,s&&n.class)),m={color:r.color},d=r.color&&te()("has-text-color",Object(Z.a)({},r.class,r.class));return Object(X.createElement)(X.Fragment,null,Object(X.createElement)("figure",{style:u,className:b},Object(X.createElement)("blockquote",{style:m,className:d},Object(X.createElement)($.RichText,{multiline:!0,value:i,onChange:function(e){return o({value:e})},placeholder:Object(Q.__)("Write quote…")}),(!$.RichText.isEmpty(l)||a)&&Object(X.createElement)($.RichText,{value:l,placeholder:Object(Q.__)("Write citation…"),onChange:function(e){return o({citation:e})},className:"wp-block-pullquote__citation"}))),Object(X.createElement)($.InspectorControls,null,Object(X.createElement)($.PanelColorSettings,{title:Object(Q.__)("Color Settings"),colorSettings:[{value:n.color,onChange:this.pullQuoteMainColorSetter,label:Object(Q.__)("Main Color")},{value:r.color,onChange:this.pullQuoteTextColorSetter,label:Object(Q.__)("Text Color")}]},s&&Object(X.createElement)($.ContrastChecker,Object(ye.a)({textColor:r.color,backgroundColor:n.color},{isLargeText:!1})))))}}]),t}(X.Component),lc=Object($.withColors)({mainColor:"background-color",textColor:"color"})(ic),sc=Object(X.createElement)(ie.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(X.createElement)(ie.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(X.createElement)(ie.Polygon,{points:"21 18 2 18 2 20 21 20"}),Object(X.createElement)(ie.Path,{d:"m19 10v4h-15v-4h15m1-2h-17c-0.55 0-1 0.45-1 1v6c0 0.55 0.45 1 1 1h17c0.55 0 1-0.45 1-1v-6c0-0.55-0.45-1-1-1z"}),Object(X.createElement)(ie.Polygon,{points:"21 4 2 4 2 6 21 6"}));var uc={name:"core/pullquote",category:"formatting",attributes:{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"}}},bc=uc.name,mc={title:Object(Q.__)("Pullquote"),description:Object(Q.__)("Give special visual emphasis to a quote from your text."),icon:sc,example:{attributes:{value:"

    "+Object(Q.__)("One of the hardest things to do in technology is disrupt yourself.")+"

    ",citation:Object(Q.__)("Matt Mullenweg")}},styles:[{name:"default",label:Object(Q._x)("Default","block style"),isDefault:!0},{name:"solid-color",label:Object(Q.__)("Solid Color")}],supports:{align:["left","right","wide","full"]},edit:lc,save:function(e){var t,n,r=e.attributes,o=r.mainColor,a=r.customMainColor,c=r.textColor,i=r.customTextColor,l=r.value,s=r.citation,u=r.className;if(Object(ne.includes)(u,rc)){var b=Object($.getColorClassName)("background-color",o);t=te()(Object(Z.a)({"has-background":b||a},b,b)),n={backgroundColor:b?void 0:a}}else a&&(n={borderColor:a});var m=Object($.getColorClassName)("color",c),d=(c||i)&&te()("has-text-color",Object(Z.a)({},m,m)),h=m?void 0:{color:i};return Object(X.createElement)("figure",{className:t,style:n},Object(X.createElement)("blockquote",{className:d,style:h},Object(X.createElement)($.RichText.Content,{value:l,multiline:!0}),!$.RichText.isEmpty(s)&&Object(X.createElement)($.RichText.Content,{tagName:"cite",value:s})))},deprecated:cc},dc=function(e){function t(){var e;return Object(Ce.a)(this,t),(e=Object(Ee.a)(this,Object(xe.a)(t).apply(this,arguments))).titleField=Object(X.createRef)(),e.editButton=Object(X.createRef)(),e.handleFormSubmit=e.handleFormSubmit.bind(Object(Se.a)(e)),e.handleTitleChange=e.handleTitleChange.bind(Object(Se.a)(e)),e.handleTitleKeyDown=e.handleTitleKeyDown.bind(Object(Se.a)(e)),e}return Object(Te.a)(t,e),Object(we.a)(t,[{key:"componentDidMount",value:function(){this.props.isEditing&&this.titleField.current&&this.titleField.current.select()}},{key:"componentDidUpdate",value:function(e){!e.isEditing&&this.props.isEditing&&this.titleField.current.select(),!e.isEditing&&!e.isSaving||this.props.isEditing||this.props.isSaving||this.editButton.current.focus()}},{key:"handleFormSubmit",value:function(e){e.preventDefault(),this.props.onSave()}},{key:"handleTitleChange",value:function(e){this.props.onChangeTitle(e.target.value)}},{key:"handleTitleKeyDown",value:function(e){e.keyCode===Wt.ESCAPE&&(e.stopPropagation(),this.props.onCancel())}},{key:"render",value:function(){var e=this.props,t=e.isEditing,n=e.title,r=e.isSaving,o=e.isEditDisabled,a=e.onEdit,c=e.instanceId;return Object(X.createElement)(X.Fragment,null,!t&&!r&&Object(X.createElement)("div",{className:"reusable-block-edit-panel"},Object(X.createElement)("b",{className:"reusable-block-edit-panel__info"},n),Object(X.createElement)(ie.Button,{ref:this.editButton,isSecondary:!0,className:"reusable-block-edit-panel__button",disabled:o,onClick:a},Object(Q.__)("Edit"))),(t||r)&&Object(X.createElement)("form",{className:"reusable-block-edit-panel",onSubmit:this.handleFormSubmit},Object(X.createElement)("label",{htmlFor:"reusable-block-edit-panel__title-".concat(c),className:"reusable-block-edit-panel__label"},Object(Q.__)("Name:")),Object(X.createElement)("input",{ref:this.titleField,type:"text",disabled:r,className:"reusable-block-edit-panel__title",value:n,onChange:this.handleTitleChange,onKeyDown:this.handleTitleKeyDown,id:"reusable-block-edit-panel__title-".concat(c)}),Object(X.createElement)(ie.Button,{type:"submit",isSecondary:!0,isBusy:r,disabled:!n||r,className:"reusable-block-edit-panel__button"},Object(Q.__)("Save"))))}}]),t}(X.Component),hc=Object(le.withInstanceId)(dc),pc=function(e){function t(e){var n,r=e.reusableBlock;return Object(Ce.a)(this,t),(n=Object(Ee.a)(this,Object(xe.a)(t).apply(this,arguments))).startEditing=n.startEditing.bind(Object(Se.a)(n)),n.stopEditing=n.stopEditing.bind(Object(Se.a)(n)),n.setBlocks=n.setBlocks.bind(Object(Se.a)(n)),n.setTitle=n.setTitle.bind(Object(Se.a)(n)),n.save=n.save.bind(Object(Se.a)(n)),n.state=r?{isEditing:r.isTemporary,title:r.title,blocks:Object(J.parse)(r.content)}:{isEditing:!1,title:null,blocks:[]},n}return Object(Te.a)(t,e),Object(we.a)(t,[{key:"componentDidMount",value:function(){this.props.reusableBlock||this.props.fetchReusableBlock()}},{key:"componentDidUpdate",value:function(e){e.reusableBlock!==this.props.reusableBlock&&null===this.state.title&&this.setState({title:this.props.reusableBlock.title,blocks:Object(J.parse)(this.props.reusableBlock.content)})}},{key:"startEditing",value:function(){var e=this.props.reusableBlock;this.setState({isEditing:!0,title:e.title,blocks:Object(J.parse)(e.content)})}},{key:"stopEditing",value:function(){this.setState({isEditing:!1,title:null,blocks:[]})}},{key:"setBlocks",value:function(e){this.setState({blocks:e})}},{key:"setTitle",value:function(e){this.setState({title:e})}},{key:"save",value:function(){var e=this.props,t=e.onChange,n=e.onSave,r=this.state,o=r.blocks;t({title:r.title,content:Object(J.serialize)(o)}),n(),this.stopEditing()}},{key:"render",value:function(){var e=this.props,t=e.isSelected,n=e.reusableBlock,r=e.isFetching,o=e.isSaving,a=e.canUpdateBlock,c=e.settings,i=this.state,l=i.isEditing,s=i.title,u=i.blocks;if(!n&&r)return Object(X.createElement)(ie.Placeholder,null,Object(X.createElement)(ie.Spinner,null));if(!n)return Object(X.createElement)(ie.Placeholder,null,Object(Q.__)("Block has been deleted or is unavailable."));var b=Object(X.createElement)($.BlockEditorProvider,{settings:c,value:u,onChange:this.setBlocks,onInput:this.setBlocks},Object(X.createElement)($.WritingFlow,null,Object(X.createElement)($.BlockList,null)));return l||(b=Object(X.createElement)(ie.Disabled,null,b)),Object(X.createElement)("div",{className:"block-library-block__reusable-block-container"},(t||l)&&Object(X.createElement)(hc,{isEditing:l,title:null!==s?s:n.title,isSaving:o&&!n.isTemporary,isEditDisabled:!a,onEdit:this.startEditing,onChangeTitle:this.setTitle,onSave:this.save,onCancel:this.stopEditing}),b)}}]),t}(X.Component),gc=Object(le.compose)([Object(se.withSelect)((function(e,t){var n=e("core/editor"),r=n.__experimentalGetReusableBlock,o=n.__experimentalIsFetchingReusableBlock,a=n.__experimentalIsSavingReusableBlock,c=e("core").canUser,i=e("core/block-editor"),l=i.__experimentalGetParsedReusableBlock,s=i.getSettings,u=t.attributes.ref,b=r(u);return{reusableBlock:b,isFetching:o(u),isSaving:a(u),blocks:b?l(b.id):null,canUpdateBlock:!!b&&!b.isTemporary&&!!c("update","blocks",u),settings:s()}})),Object(se.withDispatch)((function(e,t){var n=e("core/editor"),r=n.__experimentalFetchReusableBlocks,o=n.__experimentalUpdateReusableBlock,a=n.__experimentalSaveReusableBlock,c=t.attributes.ref;return{fetchReusableBlock:Object(ne.partial)(r,c),onChange:Object(ne.partial)(o,c),onSave:Object(ne.partial)(a,c)}}))])(pc),fc="core/block",vc={title:Object(Q.__)("Reusable Block"),category:"reusable",description:Object(Q.__)("Create content, and save it for you and other contributors to reuse across your site. Update the block, and the changes apply everywhere it’s used."),supports:{customClassName:!1,html:!1,inserter:!1},edit:gc},Oc=function(e){function t(){var e;return Object(Ce.a)(this,t),(e=Object(Ee.a)(this,Object(xe.a)(t).apply(this,arguments))).state={editing:!e.props.attributes.feedURL},e.toggleAttribute=e.toggleAttribute.bind(Object(Se.a)(e)),e.onSubmitURL=e.onSubmitURL.bind(Object(Se.a)(e)),e}return Object(Te.a)(t,e),Object(we.a)(t,[{key:"toggleAttribute",value:function(e){var t=this;return function(){var n=t.props.attributes[e];(0,t.props.setAttributes)(Object(Z.a)({},e,!n))}}},{key:"onSubmitURL",value:function(e){e.preventDefault(),this.props.attributes.feedURL&&this.setState({editing:!1})}},{key:"render",value:function(){var e=this,t=this.props.attributes,n=t.blockLayout,r=t.columns,o=t.displayAuthor,a=t.displayExcerpt,c=t.displayDate,i=t.excerptLength,l=t.feedURL,s=t.itemsToShow,u=this.props.setAttributes;if(this.state.editing)return Object(X.createElement)(ie.Placeholder,{icon:"rss",label:"RSS"},Object(X.createElement)("form",{onSubmit:this.onSubmitURL},Object(X.createElement)(ie.TextControl,{placeholder:Object(Q.__)("Enter URL here…"),value:l,onChange:function(e){return u({feedURL:e})},className:"components-placeholder__input"}),Object(X.createElement)(ie.Button,{isSecondary:!0,type:"submit"},Object(Q.__)("Use URL"))));var b=[{icon:"edit",title:Object(Q.__)("Edit RSS URL"),onClick:function(){return e.setState({editing:!0})}},{icon:"list-view",title:Object(Q.__)("List view"),onClick:function(){return u({blockLayout:"list"})},isActive:"list"===n},{icon:"grid-view",title:Object(Q.__)("Grid view"),onClick:function(){return u({blockLayout:"grid"})},isActive:"grid"===n}];return Object(X.createElement)(X.Fragment,null,Object(X.createElement)($.BlockControls,null,Object(X.createElement)(ie.ToolbarGroup,{controls:b})),Object(X.createElement)($.InspectorControls,null,Object(X.createElement)(ie.PanelBody,{title:Object(Q.__)("RSS Settings")},Object(X.createElement)(ie.RangeControl,{label:Object(Q.__)("Number of items"),value:s,onChange:function(e){return u({itemsToShow:e})},min:1,max:10,required:!0}),Object(X.createElement)(ie.ToggleControl,{label:Object(Q.__)("Display author"),checked:o,onChange:this.toggleAttribute("displayAuthor")}),Object(X.createElement)(ie.ToggleControl,{label:Object(Q.__)("Display date"),checked:c,onChange:this.toggleAttribute("displayDate")}),Object(X.createElement)(ie.ToggleControl,{label:Object(Q.__)("Display excerpt"),checked:a,onChange:this.toggleAttribute("displayExcerpt")}),a&&Object(X.createElement)(ie.RangeControl,{label:Object(Q.__)("Max number of words in excerpt"),value:i,onChange:function(e){return u({excerptLength:e})},min:10,max:100,required:!0}),"grid"===n&&Object(X.createElement)(ie.RangeControl,{label:Object(Q.__)("Columns"),value:r,onChange:function(e){return u({columns:e})},min:2,max:6,required:!0}))),Object(X.createElement)(ie.Disabled,null,Object(X.createElement)(sn.a,{block:"core/rss",attributes:this.props.attributes})))}}]),t}(X.Component),jc="core/rss",yc={title:Object(Q.__)("RSS"),description:Object(Q.__)("Display entries from any RSS or Atom feed."),icon:"rss",category:"widgets",keywords:[Object(Q.__)("atom"),Object(Q.__)("feed")],supports:{align:!0,html:!1},example:{attributes:{feedURL:"https://wordpress.org"}},edit:Oc};var _c="core/search",kc={title:Object(Q.__)("Search"),description:Object(Q.__)("Help visitors find your content."),icon:"search",category:"widgets",keywords:[Object(Q.__)("find")],supports:{align:!0},example:{},edit:function(e){var t=e.className,n=e.attributes,r=e.setAttributes,o=n.label,a=n.placeholder,c=n.buttonText;return Object(X.createElement)("div",{className:t},Object(X.createElement)($.RichText,{className:"wp-block-search__label","aria-label":Object(Q.__)("Label text"),placeholder:Object(Q.__)("Add label…"),withoutInteractiveFormatting:!0,value:o,onChange:function(e){return r({label:e})}}),Object(X.createElement)("input",{className:"wp-block-search__input","aria-label":Object(Q.__)("Optional placeholder text"),placeholder:a?void 0:Object(Q.__)("Optional placeholder…"),value:a,onChange:function(e){return r({placeholder:e.target.value})}}),Object(X.createElement)($.RichText,{className:"wp-block-search__button","aria-label":Object(Q.__)("Button text"),placeholder:Object(Q.__)("Add button text…"),withoutInteractiveFormatting:!0,value:c,onChange:function(e){return r({buttonText:e})}}))}},Cc=[{attributes:{backgroundColor:{type:"string"},customBackgroundColor:{type:"string"}},supports:{align:["wide","full"],anchor:!0,html:!1},save:function(e){var t=e.attributes,n=t.backgroundColor,r=t.customBackgroundColor,o=Object($.getColorClassName)("background-color",n),a=te()(o,{"has-background":n||r}),c={backgroundColor:o?void 0:r};return Object(X.createElement)("div",{className:a,style:c},Object(X.createElement)($.InnerBlocks.Content,null))}}];var wc=Object(le.compose)([Object($.withColors)("backgroundColor"),Object(se.withSelect)((function(e,t){var n=t.clientId,r=(0,e("core/block-editor").getBlock)(n);return{hasInnerBlocks:!(!r||!r.innerBlocks.length)}}))])((function(e){var t=e.className,n=e.setBackgroundColor,r=e.backgroundColor,o=e.hasInnerBlocks,a={backgroundColor:r.color},c=te()(t,r.class,{"has-background":!!r.color});return Object(X.createElement)(X.Fragment,null,Object(X.createElement)($.InspectorControls,null,Object(X.createElement)($.PanelColorSettings,{title:Object(Q.__)("Color Settings"),colorSettings:[{value:r.color,onChange:n,label:Object(Q.__)("Background Color")}]})),Object(X.createElement)("div",{className:c,style:a},Object(X.createElement)("div",{className:"wp-block-group__inner-container"},Object(X.createElement)($.InnerBlocks,{renderAppender:!o&&$.InnerBlocks.ButtonBlockAppender,__experimentalUIParts:{hasSelectedUI:!1,hasMovers:!1}}))))})),Ec=Object(X.createElement)(ie.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(X.createElement)(ie.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M9 8a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1h-1v3a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1h1V8zm2 3h4V9h-4v2zm2 2H9v2h4v-2z"}),Object(X.createElement)(ie.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M2 4.732A2 2 0 1 1 4.732 2h14.536A2 2 0 1 1 22 4.732v14.536A2 2 0 1 1 19.268 22H4.732A2 2 0 1 1 2 19.268V4.732zM4.732 4h14.536c.175.304.428.557.732.732v14.536a2.01 2.01 0 0 0-.732.732H4.732A2.01 2.01 0 0 0 4 19.268V4.732A2.01 2.01 0 0 0 4.732 4z"}));var xc={name:"core/group",category:"layout",attributes:{backgroundColor:{type:"string"},customBackgroundColor:{type:"string"}}},Sc=xc.name,Tc={title:Object(Q.__)("Group"),icon:Ec,description:Object(Q.__)("A block that groups other blocks."),keywords:[Object(Q.__)("container"),Object(Q.__)("wrapper"),Object(Q.__)("row"),Object(Q.__)("section")],example:{attributes:{customBackgroundColor:"#ffffff"},innerBlocks:[{name:"core/paragraph",attributes:{customTextColor:"#cf2e2e",fontSize:"large",content:Object(Q.__)("One.")}},{name:"core/paragraph",attributes:{customTextColor:"#ff6900",fontSize:"large",content:Object(Q.__)("Two.")}},{name:"core/paragraph",attributes:{customTextColor:"#fcb900",fontSize:"large",content:Object(Q.__)("Three.")}},{name:"core/paragraph",attributes:{customTextColor:"#00d084",fontSize:"large",content:Object(Q.__)("Four.")}},{name:"core/paragraph",attributes:{customTextColor:"#0693e3",fontSize:"large",content:Object(Q.__)("Five.")}},{name:"core/paragraph",attributes:{customTextColor:"#9b51e0",fontSize:"large",content:Object(Q.__)("Six.")}}]},supports:{align:["wide","full"],anchor:!0,html:!1},transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["*"],__experimentalConvert:function(e){if(1!==e.length||"core/group"!==e[0].name){var t=["wide","full"],n=e.reduce((function(e,n){var r=n.attributes.align;return t.indexOf(r)>t.indexOf(e)?r:e}),void 0),r=e.map((function(e){return Object(J.createBlock)(e.name,e.attributes,e.innerBlocks)}));return Object(J.createBlock)("core/group",{align:n},r)}}}]},edit:wc,save:function(e){var t=e.attributes,n=t.backgroundColor,r=t.customBackgroundColor,o=Object($.getColorClassName)("background-color",n),a=te()(o,{"has-background":n||r}),c={backgroundColor:o?void 0:r};return Object(X.createElement)("div",{className:a,style:c},Object(X.createElement)("div",{className:"wp-block-group__inner-container"},Object(X.createElement)($.InnerBlocks.Content,null)))},deprecated:Cc},Nc=function(e){var t=e.color,n=e.setColor;return Object(X.createElement)($.InspectorControls,null,Object(X.createElement)($.PanelColorSettings,{title:Object(Q.__)("Color Settings"),colorSettings:[{value:t.color,onChange:n,label:Object(Q.__)("Color")}]}))};var Bc=Object($.withColors)("color",{textColor:"color"})((function(e){var t=e.color,n=e.setColor,r=e.className;return Object(X.createElement)(X.Fragment,null,Object(X.createElement)(ie.HorizontalRule,{className:te()(r,Object(Z.a)({"has-background":t.color},t.class,t.class)),style:{backgroundColor:t.color,color:t.color}}),Object(X.createElement)(Nc,{color:t,setColor:n}))})),Ac=Object(X.createElement)(ie.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(X.createElement)(ie.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(X.createElement)(ie.Path,{d:"M19 13H5v-2h14v2z"}));var Rc={from:[{type:"enter",regExp:/^-{3,}$/,transform:function(){return Object(J.createBlock)("core/separator")}},{type:"raw",selector:"hr",schema:{hr:{}}}]},Ic={name:"core/separator",category:"layout",attributes:{color:{type:"string"},customColor:{type:"string"}}},Mc=Ic.name,Pc={title:Object(Q.__)("Separator"),description:Object(Q.__)("Create a break between ideas or sections with a horizontal separator."),icon:Ac,keywords:[Object(Q.__)("horizontal-line"),"hr",Object(Q.__)("divider")],example:{attributes:{customColor:"#065174",className:"is-style-wide"}},styles:[{name:"default",label:Object(Q.__)("Default"),isDefault:!0},{name:"wide",label:Object(Q.__)("Wide Line")},{name:"dots",label:Object(Q.__)("Dots")}],transforms:Rc,edit:Bc,save:function(e){var t,n=e.attributes,r=n.color,o=n.customColor,a=Object($.getColorClassName)("background-color",r),c=Object($.getColorClassName)("color",r),i=te()((t={"has-text-color has-background":r||o},Object(Z.a)(t,a,a),Object(Z.a)(t,c,c),t)),l={backgroundColor:a?void 0:o,color:c?void 0:o};return Object(X.createElement)("hr",{className:i,style:l})}};var zc=Object(X.createElement)(ie.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(X.createElement)(ie.Path,{d:"M8.5,21.4l1.9,0.5l5.2-19.3l-1.9-0.5L8.5,21.4z M3,19h4v-2H5V7h2V5H3V19z M17,5v2h2v10h-2v2h4V5H17z"}));var Hc=n(70),Lc={from:[{type:"shortcode",tag:"[a-z][a-z0-9_-]*",attributes:{text:{type:"string",shortcode:function(e,t){var n=t.content;return Object(Hc.removep)(Object(Hc.autop)(n))}}},priority:20}]},Vc="core/shortcode",Fc={title:Object(Q.__)("Shortcode"),description:Object(Q.__)("Insert additional custom elements with a WordPress shortcode."),icon:zc,category:"widgets",transforms:Lc,supports:{customClassName:!1,className:!1,html:!1},edit:function e(t){var n=t.attributes,r=t.setAttributes,o=Object(le.useInstanceId)(e),a="blocks-shortcode-input-".concat(o);return Object(X.createElement)("div",{className:"wp-block-shortcode components-placeholder"},Object(X.createElement)("label",{htmlFor:a,className:"components-placeholder__label"},Object(X.createElement)(ie.Dashicon,{icon:"shortcode"}),Object(Q.__)("Shortcode")),Object(X.createElement)($.PlainText,{className:"input-control",id:a,value:n.text,placeholder:Object(Q.__)("Write shortcode here…"),onChange:function(e){return r({text:e})}}))},save:function(e){var t=e.attributes;return Object(X.createElement)(X.RawHTML,null,t.text)}},Dc=Object(le.compose)([Object(se.withDispatch)((function(e){var t=e("core/block-editor").toggleSelection;return{onResizeStart:function(){return t(!1)},onResizeStop:function(){return t(!0)}}})),le.withInstanceId])((function(e){var t=e.attributes,n=e.isSelected,r=e.setAttributes,o=e.instanceId,a=e.onResizeStart,c=e.onResizeStop,i=t.height,l="block-spacer-height-input-".concat(o),s=Object(X.useState)(i),u=Object(ce.a)(s,2),b=u[0],m=u[1];return Object(X.createElement)(X.Fragment,null,Object(X.createElement)(ie.ResizableBox,{className:te()("block-library-spacer__resize-container",{"is-selected":n}),size:{height:i},minHeight:"20",enable:{top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},onResizeStart:a,onResizeStop:function(e,t,n,o){c();var a=parseInt(i+o.height,10);r({height:a}),m(a)}}),Object(X.createElement)($.InspectorControls,null,Object(X.createElement)(ie.PanelBody,{title:Object(Q.__)("Spacer Settings")},Object(X.createElement)(ie.BaseControl,{label:Object(Q.__)("Height in pixels"),id:l},Object(X.createElement)("input",{type:"number",id:l,onChange:function(e){var t=parseInt(e.target.value,10);m(t),isNaN(t)?(m(""),t=100):t<20&&(t=20),r({height:t})},value:b,min:"20",step:"10"})))))})),Uc=Object(X.createElement)(ie.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(X.createElement)(ie.G,null,Object(X.createElement)(ie.Path,{d:"M13 4v2h3.59L6 16.59V13H4v7h7v-2H7.41L18 7.41V11h2V4h-7"})));var Gc={name:"core/spacer",category:"layout",attributes:{height:{type:"number",default:100}}},qc=Gc.name,Wc={title:Object(Q.__)("Spacer"),description:Object(Q.__)("Add white space between blocks and customize its height."),icon:Uc,edit:Dc,save:function(e){var t=e.attributes;return Object(X.createElement)("div",{style:{height:t.height},"aria-hidden":!0})}},Kc=n(33),Zc=n.n(Kc);var $c=Object(X.createElement)(ie.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(X.createElement)(ie.Path,{d:"M7.1 6l-.5 3h4.5L9.4 19h3l1.8-10h4.5l.5-3H7.1z"}));var Jc={to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(J.createBlock)("core/paragraph",e)}}]},Qc={name:"core/subhead",category:"common",attributes:{align:{type:"string"},content:{type:"string",source:"html",selector:"p"}}},Yc=Qc.name,Xc={title:Object(Q.__)("Subheading (deprecated)"),description:Object(Q.__)("This block is deprecated. Please use the Paragraph block instead."),icon:$c,supports:{inserter:!1,multiple:!1},transforms:Jc,edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.className,o=t.align,a=t.content,c=t.placeholder;return Zc()("The Subheading block",{alternative:"the Paragraph block",plugin:"Gutenberg"}),Object(X.createElement)(X.Fragment,null,Object(X.createElement)($.BlockControls,null,Object(X.createElement)($.AlignmentToolbar,{value:o,onChange:function(e){n({align:e})}})),Object(X.createElement)($.RichText,{tagName:"p",value:a,onChange:function(e){n({content:e})},style:{textAlign:o},className:r,placeholder:c||Object(Q.__)("Write subheading…")}))},save:function(e){var t=e.attributes,n=t.align,r=t.content;return Object(X.createElement)($.RichText.Content,{tagName:"p",style:{textAlign:n},value:r})}},ei=[{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:function(e){var t=e.attributes,n=t.hasFixedLayout,r=t.head,o=t.body,a=t.foot,c=t.backgroundColor;if(!r.length&&!o.length&&!a.length)return null;var i=Object($.getColorClassName)("background-color",c),l=te()(i,{"has-fixed-layout":n,"has-background":!!i}),s=function(e){var t=e.type,n=e.rows;if(!n.length)return null;var r="t".concat(t);return Object(X.createElement)(r,null,n.map((function(e,t){var n=e.cells;return Object(X.createElement)("tr",{key:t},n.map((function(e,t){var n=e.content,r=e.tag,o=e.scope;return Object(X.createElement)($.RichText.Content,{tagName:r,value:n,key:t,scope:"th"===r?o:void 0})})))})))};return Object(X.createElement)("table",{className:l},Object(X.createElement)(s,{type:"head",rows:r}),Object(X.createElement)(s,{type:"body",rows:o}),Object(X.createElement)(s,{type:"foot",rows:a}))}}],ti=["align"];function ni(e,t,n){if(!t)return e;var r=Object(ne.pick)(e,["head","body","foot"]),o=t.sectionName,a=t.rowIndex;return Object(ne.mapValues)(r,(function(e,r){return o&&o!==r?e:e.map((function(e,o){return a&&a!==o?e:{cells:e.cells.map((function(e,a){return 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:r,columnIndex:a,rowIndex:o},t)?n(e):e}))}}))}))}function ri(e,t){var n=t.sectionName,r=t.rowIndex,o=t.columnCount,a=function(e){return ci(e.head)?ci(e.body)?ci(e.foot)?void 0:e.foot[0]:e.body[0]:e.head[0]}(e),c=void 0===o?Object(ne.get)(a,["cells","length"]):o;return c?Object(Z.a)({},n,[].concat(Object(K.a)(e[n].slice(0,r)),[{cells:Object(ne.times)(c,(function(e){var t=Object(ne.get)(a,["cells",e],{}),r=Object(ne.pick)(t,ti);return Object(Y.a)({},r,{content:"",tag:"head"===n?"th":"td"})}))}],Object(K.a)(e[n].slice(r)))):e}function oi(e,t){var n=t.columnIndex,r=Object(ne.pick)(e,["head","body","foot"]);return Object(ne.mapValues)(r,(function(e,t){return ci(e)?e:e.map((function(e){return ii(e)||e.cells.length0&&void 0!==arguments[0]?arguments[0]:0,t=this.state.selectedCell;if(t){var n=this.props,r=n.attributes,o=n.setAttributes,a=t.columnIndex;this.setState({selectedCell:null}),o(oi(r,{columnIndex:a+e}))}}},{key:"onInsertColumnBefore",value:function(){this.onInsertColumn(0)}},{key:"onInsertColumnAfter",value:function(){this.onInsertColumn(1)}},{key:"onDeleteColumn",value:function(){var e=this.state.selectedCell;if(e){var t=this.props,n=t.attributes,r=t.setAttributes,o=e.sectionName,a=e.columnIndex;this.setState({selectedCell:null}),r(function(e,t){var n=t.columnIndex,r=Object(ne.pick)(e,["head","body","foot"]);return Object(ne.mapValues)(r,(function(e){return ci(e)?e:e.map((function(e){return{cells:e.cells.length>=n?e.cells.filter((function(e,t){return t!==n})):e.cells}})).filter((function(e){return e.cells.length}))}))}(n,{sectionName:o,columnIndex:a}))}}},{key:"createOnFocus",value:function(e){var t=this;return function(){t.setState({selectedCell:Object(Y.a)({},e,{type:"cell"})})}}},{key:"getTableControls",value:function(){var e=this.state.selectedCell;return[{icon:"table-row-before",title:Object(Q.__)("Add Row Before"),isDisabled:!e,onClick:this.onInsertRowBefore},{icon:"table-row-after",title:Object(Q.__)("Add Row After"),isDisabled:!e,onClick:this.onInsertRowAfter},{icon:"table-row-delete",title:Object(Q.__)("Delete Row"),isDisabled:!e,onClick:this.onDeleteRow},{icon:"table-col-before",title:Object(Q.__)("Add Column Before"),isDisabled:!e,onClick:this.onInsertColumnBefore},{icon:"table-col-after",title:Object(Q.__)("Add Column After"),isDisabled:!e,onClick:this.onInsertColumnAfter},{icon:"table-col-delete",title:Object(Q.__)("Delete Column"),isDisabled:!e,onClick:this.onDeleteColumn}]}},{key:"renderSection",value:function(e){var t=this,n=e.name,r=e.rows;if(ci(r))return null;var o="t".concat(n);return Object(X.createElement)(o,null,r.map((function(e,r){var o=e.cells;return Object(X.createElement)("tr",{key:r},o.map((function(e,o){var a=e.content,c=e.tag,i=e.scope,l=e.align,s={sectionName:n,rowIndex:r,columnIndex:o},u=te()(Object(Z.a)({},"has-text-align-".concat(l),l),"wp-block-table__cell-content");return Object(X.createElement)($.RichText,{tagName:c,key:o,className:u,scope:"th"===c?i:void 0,value:a,onChange:t.onChange,unstableOnFocus:t.createOnFocus(s)})})))})))}},{key:"componentDidUpdate",value:function(){var e=this.props.isSelected,t=this.state.selectedCell;!e&&t&&this.setState({selectedCell:null})}},{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=t.className,o=t.backgroundColor,a=t.setBackgroundColor,c=t.setAttributes,i=this.state,l=i.initialRowCount,s=i.initialColumnCount,u=n.hasFixedLayout,b=n.caption,m=n.head,d=n.body,h=n.foot,p=ci(m)&&ci(d)&&ci(h),g=this.renderSection;if(p)return Object(X.createElement)(ie.Placeholder,{label:Object(Q.__)("Table"),icon:Object(X.createElement)($.BlockIcon,{icon:li,showColors:!0}),instructions:Object(Q.__)("Insert a table for sharing data.")},Object(X.createElement)("form",{className:"wp-block-table__placeholder-form",onSubmit:this.onCreateTable},Object(X.createElement)(ie.TextControl,{type:"number",label:Object(Q.__)("Column Count"),value:s,onChange:this.onChangeInitialColumnCount,min:"1",className:"wp-block-table__placeholder-input"}),Object(X.createElement)(ie.TextControl,{type:"number",label:Object(Q.__)("Row Count"),value:l,onChange:this.onChangeInitialRowCount,min:"1",className:"wp-block-table__placeholder-input"}),Object(X.createElement)(ie.Button,{className:"wp-block-table__placeholder-button",isSecondary:!0,type:"submit"},Object(Q.__)("Create Table"))));var f=te()(o.class,{"has-fixed-layout":u,"has-background":!!o.color});return Object(X.createElement)(X.Fragment,null,Object(X.createElement)($.BlockControls,null,Object(X.createElement)(ie.ToolbarGroup,null,Object(X.createElement)(ie.DropdownMenu,{hasArrowIndicator:!0,icon:"editor-table",label:Object(Q.__)("Edit table"),controls:this.getTableControls()})),Object(X.createElement)($.AlignmentToolbar,{label:Object(Q.__)("Change column alignment"),alignmentControls:ui,value:this.getCellAlignment(),onChange:function(t){return e.onChangeColumnAlignment(t)},onHover:this.onHoverAlignment})),Object(X.createElement)($.InspectorControls,null,Object(X.createElement)(ie.PanelBody,{title:Object(Q.__)("Table Settings"),className:"blocks-table-settings"},Object(X.createElement)(ie.ToggleControl,{label:Object(Q.__)("Fixed width table cells"),checked:!!u,onChange:this.onChangeFixedLayout}),Object(X.createElement)(ie.ToggleControl,{label:Object(Q.__)("Header section"),checked:!(!m||!m.length),onChange:this.onToggleHeaderSection}),Object(X.createElement)(ie.ToggleControl,{label:Object(Q.__)("Footer section"),checked:!(!h||!h.length),onChange:this.onToggleFooterSection})),Object(X.createElement)($.PanelColorSettings,{title:Object(Q.__)("Color Settings"),initialOpen:!1,colorSettings:[{value:o.color,onChange:a,label:Object(Q.__)("Background Color"),disableCustomColors:!0,colors:si}]})),Object(X.createElement)("figure",{className:r},Object(X.createElement)("table",{className:f},Object(X.createElement)(g,{name:"head",rows:m}),Object(X.createElement)(g,{name:"body",rows:d}),Object(X.createElement)(g,{name:"foot",rows:h})),Object(X.createElement)($.RichText,{tagName:"figcaption",placeholder:Object(Q.__)("Write caption…"),value:b,onChange:function(e){return c({caption:e})},unstableOnFocus:function(){return e.setState({selectedCell:null})}})))}}]),t}(X.Component),di=bi("backgroundColor")(mi);var hi=function(e){var t=e.phrasingContentSchema;return{tr:{allowEmpty:!0,children:{th:{allowEmpty:!0,children:t,attributes:["scope"]},td:{allowEmpty:!0,children:t}}}}},pi={from:[{type:"raw",selector:"table",schema:function(e){return{table:{children:{thead:{allowEmpty:!0,children:hi(e)},tfoot:{allowEmpty:!0,children:hi(e)},tbody:{allowEmpty:!0,children:hi(e)}}}}}}]},gi={name:"core/table",category:"formatting",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"}}}}}}},fi=gi.name,vi={title:Object(Q.__)("Table"),description:Object(Q.__)("Insert a table — perfect for sharing charts and data."),icon:li,example:{attributes:{head:[{cells:[{content:Object(Q.__)("Version"),tag:"th"},{content:Object(Q.__)("Jazz Musician"),tag:"th"},{content:Object(Q.__)("Release Date"),tag:"th"}]}],body:[{cells:[{content:"5.2",tag:"td"},{content:"Jaco Pastorius",tag:"td"},{content:Object(Q.__)("May 7, 2019"),tag:"td"}]},{cells:[{content:"5.1",tag:"td"},{content:"Betty Carter",tag:"td"},{content:Object(Q.__)("February 21, 2019"),tag:"td"}]},{cells:[{content:"5.0",tag:"td"},{content:"Bebo Valdés",tag:"td"},{content:Object(Q.__)("December 6, 2018"),tag:"td"}]}]}},styles:[{name:"regular",label:Object(Q._x)("Default","block style"),isDefault:!0},{name:"stripes",label:Object(Q.__)("Stripes")}],supports:{align:!0},transforms:pi,edit:di,save:function(e){var t=e.attributes,n=t.hasFixedLayout,r=t.head,o=t.body,a=t.foot,c=t.backgroundColor,i=t.caption;if(!r.length&&!o.length&&!a.length)return null;var l=Object($.getColorClassName)("background-color",c),s=te()(l,{"has-fixed-layout":n,"has-background":!!l}),u=!$.RichText.isEmpty(i),b=function(e){var t=e.type,n=e.rows;if(!n.length)return null;var r="t".concat(t);return Object(X.createElement)(r,null,n.map((function(e,t){var n=e.cells;return Object(X.createElement)("tr",{key:t},n.map((function(e,t){var n=e.content,r=e.tag,o=e.scope,a=e.align,c=te()(Object(Z.a)({},"has-text-align-".concat(a),a));return Object(X.createElement)($.RichText.Content,{className:c||void 0,"data-align":a,tagName:r,value:n,key:t,scope:"th"===r?o:void 0})})))})))};return Object(X.createElement)("figure",null,Object(X.createElement)("table",{className:""===s?void 0:s},Object(X.createElement)(b,{type:"head",rows:r}),Object(X.createElement)(b,{type:"body",rows:o}),Object(X.createElement)(b,{type:"foot",rows:a})),u&&Object(X.createElement)($.RichText.Content,{tagName:"figcaption",value:i}))},deprecated:ei};var Oi={to:[{type:"block",blocks:["core/columns"],transform:function(e){var t=e.className,n=e.columns,r=e.content,o=e.width;return Object(J.createBlock)("core/columns",{align:"wide"===o||"full"===o?o:void 0,className:t,columns:n},r.map((function(e){var t=e.children;return Object(J.createBlock)("core/column",{},[Object(J.createBlock)("core/paragraph",{content:t})])})))}}]},ji={name:"core/text-columns",icon:"columns",category:"layout",attributes:{content:{type:"array",source:"query",selector:"p",query:{children:{type:"string",source:"html"}},default:[{},{}]},columns:{type:"number",default:2},width:{type:"string"}}},yi=ji.name,_i={supports:{inserter:!1},title:Object(Q.__)("Text Columns (deprecated)"),description:Object(Q.__)("This block is deprecated. Please use the Columns block instead."),transforms:Oi,getEditWrapperProps:function(e){var t=e.width;if("wide"===t||"full"===t)return{"data-align":t}},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.className,o=t.width,a=t.content,c=t.columns;return Zc()("The Text Columns block",{alternative:"the Columns block",plugin:"Gutenberg"}),Object(X.createElement)(X.Fragment,null,Object(X.createElement)($.BlockControls,null,Object(X.createElement)($.BlockAlignmentToolbar,{value:o,onChange:function(e){return n({width:e})},controls:["center","wide","full"]})),Object(X.createElement)($.InspectorControls,null,Object(X.createElement)(ie.PanelBody,null,Object(X.createElement)(ie.RangeControl,{label:Object(Q.__)("Columns"),value:c,onChange:function(e){return n({columns:e})},min:2,max:4,required:!0}))),Object(X.createElement)("div",{className:"".concat(r," align").concat(o," columns-").concat(c)},Object(ne.times)(c,(function(e){return Object(X.createElement)("div",{className:"wp-block-column",key:"column-".concat(e)},Object(X.createElement)($.RichText,{tagName:"p",value:Object(ne.get)(a,[e,"children"]),onChange:function(t){n({content:[].concat(Object(K.a)(a.slice(0,e)),[{children:t}],Object(K.a)(a.slice(e+1)))})},placeholder:Object(Q.__)("New Column")}))}))))},save:function(e){var t=e.attributes,n=t.width,r=t.content,o=t.columns;return Object(X.createElement)("div",{className:"align".concat(n," columns-").concat(o)},Object(ne.times)(o,(function(e){return Object(X.createElement)("div",{className:"wp-block-column",key:"column-".concat(e)},Object(X.createElement)($.RichText.Content,{tagName:"p",value:Object(ne.get)(r,[e,"children"])}))})))}},ki=[{attributes:{content:{type:"string",source:"html",selector:"pre",default:""},textAlign:{type:"string"}},save:function(e){var t=e.attributes,n=t.textAlign,r=t.content;return Object(X.createElement)($.RichText.Content,{tagName:"pre",style:{textAlign:n},value:r})}}];var Ci=Object(X.createElement)(ie.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(X.createElement)(ie.Path,{d:"M21 11.01L3 11V13H21V11.01ZM3 16H17V18H3V16ZM15 6H3V8.01L15 8V6Z"}));var wi={from:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(J.createBlock)("core/verse",e)}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(J.createBlock)("core/paragraph",e)}}]},Ei={name:"core/verse",category:"formatting",attributes:{content:{type:"string",source:"html",selector:"pre",default:"",__unstablePreserveWhiteSpace:!0},textAlign:{type:"string"}}},xi=Ei.name,Si={title:Object(Q.__)("Verse"),description:Object(Q.__)("Insert poetry. Use special spacing formats. Or quote song lyrics."),icon:Ci,example:{attributes:{content:Object(Q.__)("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.")}},keywords:[Object(Q.__)("poetry"),Object(Q.__)("poem")],transforms:wi,deprecated:ki,merge:function(e,t){return{content:e.content+t.content}},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.className,o=e.mergeBlocks,a=t.textAlign,c=t.content;return Object(X.createElement)(X.Fragment,null,Object(X.createElement)($.BlockControls,null,Object(X.createElement)($.AlignmentToolbar,{value:a,onChange:function(e){n({textAlign:e})}})),Object(X.createElement)($.RichText,{tagName:"pre",preserveWhiteSpace:!0,value:c,onChange:function(e){n({content:e})},placeholder:Object(Q.__)("Write…"),className:te()(r,Object(Z.a)({},"has-text-align-".concat(a),a)),onMerge:o}))},save:function(e){var t=e.attributes,n=t.textAlign,r=t.content,o=te()(Object(Z.a)({},"has-text-align-".concat(n),n));return Object(X.createElement)($.RichText.Content,{tagName:"pre",className:o,value:r})}},Ti=Object(X.createElement)(ie.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(X.createElement)(ie.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(X.createElement)(ie.Path,{d:"M4 6.47L5.76 10H20v8H4V6.47M22 4h-4l2 4h-3l-2-4h-2l2 4h-3l-2-4H8l2 4H7L5 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V4z"})),Ni=function(e){var t=e.setAttributes,n=e.attributes,r=n.autoplay,o=n.controls,a=n.loop,c=n.muted,i=n.playsInline,l=n.preload,s=function(e){return function(n){t(Object(Z.a)({},e,n))}};return Object(X.createElement)(X.Fragment,null,Object(X.createElement)(ie.ToggleControl,{label:Object(Q.__)("Autoplay"),onChange:s("autoplay"),checked:r,help:function(e){return e?Object(Q.__)("Note: Autoplaying videos may cause usability issues for some visitors."):null}}),Object(X.createElement)(ie.ToggleControl,{label:Object(Q.__)("Loop"),onChange:s("loop"),checked:a}),Object(X.createElement)(ie.ToggleControl,{label:Object(Q.__)("Muted"),onChange:s("muted"),checked:c}),Object(X.createElement)(ie.ToggleControl,{label:Object(Q.__)("Playback Controls"),onChange:s("controls"),checked:o}),Object(X.createElement)(ie.ToggleControl,{label:Object(Q.__)("Play inline"),onChange:s("playsInline"),checked:i}),Object(X.createElement)(ie.SelectControl,{label:Object(Q.__)("Preload"),value:l,onChange:function(e){return t({preload:e})},options:[{value:"auto",label:Object(Q.__)("Auto")},{value:"metadata",label:Object(Q.__)("Metadata")},{value:"none",label:Object(Q.__)("None")}]}))},Bi=["video"],Ai=["image"],Ri=function(e){function t(){var e;return Object(Ce.a)(this,t),(e=Object(Ee.a)(this,Object(xe.a)(t).apply(this,arguments))).state={editing:!e.props.attributes.src},e.videoPlayer=Object(X.createRef)(),e.posterImageButton=Object(X.createRef)(),e.onSelectURL=e.onSelectURL.bind(Object(Se.a)(e)),e.onSelectPoster=e.onSelectPoster.bind(Object(Se.a)(e)),e.onRemovePoster=e.onRemovePoster.bind(Object(Se.a)(e)),e.onUploadError=e.onUploadError.bind(Object(Se.a)(e)),e}return Object(Te.a)(t,e),Object(we.a)(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.attributes,r=t.mediaUpload,o=t.noticeOperations,a=t.setAttributes,c=n.id,i=n.src,l=void 0===i?"":i;if(!c&&Object(Ne.isBlobURL)(l)){var s=Object(Ne.getBlobByURL)(l);s&&r({filesList:[s],onFileChange:function(e){var t=Object(ce.a)(e,1)[0].url;a({src:t})},onError:function(t){e.setState({editing:!0}),o.createErrorNotice(t)},allowedTypes:Bi})}}},{key:"componentDidUpdate",value:function(e){this.props.attributes.poster!==e.attributes.poster&&this.videoPlayer.current.load()}},{key:"onSelectURL",value:function(e){var t=this.props,n=t.attributes,r=t.setAttributes;if(e!==n.src){var o=ot({attributes:{url:e}});if(void 0!==o)return void this.props.onReplace(o);r({src:e,id:void 0})}this.setState({editing:!1})}},{key:"onSelectPoster",value:function(e){(0,this.props.setAttributes)({poster:e.url})}},{key:"onRemovePoster",value:function(){(0,this.props.setAttributes)({poster:""}),this.posterImageButton.current.focus()}},{key:"onUploadError",value:function(e){var t=this.props.noticeOperations;t.removeAllNotices(),t.createErrorNotice(e)}},{key:"render",value:function(){var e=this,t=this.props.attributes,n=t.caption,r=t.controls,o=t.poster,a=t.src,c=this.props,i=c.className,l=c.instanceId,s=c.isSelected,u=c.noticeUI,b=c.attributes,m=c.setAttributes,d=this.state.editing,h=function(){e.setState({editing:!0})};if(d)return Object(X.createElement)($.MediaPlaceholder,{icon:Object(X.createElement)($.BlockIcon,{icon:Ti}),className:i,onSelect:function(t){if(!t||!t.url)return m({src:void 0,id:void 0}),void h();m({src:t.url,id:t.id}),e.setState({src:t.url,editing:!1})},onSelectURL:this.onSelectURL,accept:"video/*",allowedTypes:Bi,value:this.props.attributes,notices:u,onError:this.onUploadError});var p="video-block__poster-image-description-".concat(l);return Object(X.createElement)(X.Fragment,null,Object(X.createElement)($.BlockControls,null,Object(X.createElement)(ie.ToolbarGroup,null,Object(X.createElement)(ie.Button,{className:"components-toolbar__control",label:Object(Q.__)("Edit video"),onClick:h,icon:"edit"}))),Object(X.createElement)($.InspectorControls,null,Object(X.createElement)(ie.PanelBody,{title:Object(Q.__)("Video Settings")},Object(X.createElement)(Ni,{setAttributes:m,attributes:b}),Object(X.createElement)($.MediaUploadCheck,null,Object(X.createElement)(ie.BaseControl,{className:"editor-video-poster-control"},Object(X.createElement)(ie.BaseControl.VisualLabel,null,Object(Q.__)("Poster Image")),Object(X.createElement)($.MediaUpload,{title:Object(Q.__)("Select Poster Image"),onSelect:this.onSelectPoster,allowedTypes:Ai,render:function(t){var n=t.open;return Object(X.createElement)(ie.Button,{isSecondary:!0,onClick:n,ref:e.posterImageButton,"aria-describedby":p},e.props.attributes.poster?Object(Q.__)("Replace image"):Object(Q.__)("Select Poster Image"))}}),Object(X.createElement)("p",{id:p,hidden:!0},this.props.attributes.poster?Object(Q.sprintf)(Object(Q.__)("The current poster image url is %s"),this.props.attributes.poster):Object(Q.__)("There is no poster image currently selected")),!!this.props.attributes.poster&&Object(X.createElement)(ie.Button,{onClick:this.onRemovePoster,isLink:!0,isDestructive:!0},Object(Q.__)("Remove Poster Image")))))),Object(X.createElement)("figure",{className:i},Object(X.createElement)(ie.Disabled,null,Object(X.createElement)("video",{controls:r,poster:o,src:a,ref:this.videoPlayer})),(!$.RichText.isEmpty(n)||s)&&Object(X.createElement)($.RichText,{tagName:"figcaption",placeholder:Object(Q.__)("Write caption…"),value:n,onChange:function(e){return m({caption:e})},inlineToolbar:!0})))}}]),t}(X.Component),Ii=Object(le.compose)([Object(se.withSelect)((function(e){return{mediaUpload:(0,e("core/block-editor").getSettings)().mediaUpload}})),ie.withNotices,le.withInstanceId])(Ri);var Mi={from:[{type:"files",isMatch:function(e){return 1===e.length&&0===e[0].type.indexOf("video/")},transform:function(e){var t=e[0];return Object(J.createBlock)("core/video",{src:Object(Ne.createBlobURL)(t)})}},{type:"shortcode",tag:"video",attributes:{src:{type:"string",shortcode:function(e){var t=e.named,n=t.src,r=t.mp4,o=t.m4v,a=t.webm,c=t.ogv,i=t.flv;return n||r||o||a||c||i}},poster:{type:"string",shortcode:function(e){return e.named.poster}},loop:{type:"string",shortcode:function(e){return e.named.loop}},autoplay:{type:"string",shortcode:function(e){return e.named.autoplay}},preload:{type:"string",shortcode:function(e){return e.named.preload}}}}]},Pi={name:"core/video",category:"common",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"}}},zi=Pi.name,Hi={title:Object(Q.__)("Video"),description:Object(Q.__)("Embed a video from your media library or upload a new one."),icon:Ti,keywords:[Object(Q.__)("movie")],transforms:Mi,supports:{align:!0},edit:Ii,save:function(e){var t=e.attributes,n=t.autoplay,r=t.caption,o=t.controls,a=t.loop,c=t.muted,i=t.poster,l=t.preload,s=t.src,u=t.playsInline;return Object(X.createElement)("figure",null,s&&Object(X.createElement)("video",{autoPlay:n,controls:o,loop:a,muted:c,poster:i,preload:"metadata"!==l?l:void 0,src:s,playsInline:u}),!$.RichText.isEmpty(r)&&Object(X.createElement)($.RichText.Content,{tagName:"figcaption",value:r}))}},Li=function(e){function t(){var e;return Object(Ce.a)(this,t),(e=Object(Ee.a)(this,Object(xe.a)(t).apply(this,arguments))).state={editing:!e.props.attributes.taxonomy},e.setTaxonomy=e.setTaxonomy.bind(Object(Se.a)(e)),e.toggleShowTagCounts=e.toggleShowTagCounts.bind(Object(Se.a)(e)),e}return Object(Te.a)(t,e),Object(we.a)(t,[{key:"getTaxonomyOptions",value:function(){var e=Object(ne.filter)(this.props.taxonomies,"show_cloud"),t={label:Object(Q.__)("- Select -"),value:"",disabled:!0},n=Object(ne.map)(e,(function(e){return{value:e.slug,label:e.name}}));return[t].concat(Object(K.a)(n))}},{key:"setTaxonomy",value:function(e){(0,this.props.setAttributes)({taxonomy:e})}},{key:"toggleShowTagCounts",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({showTagCounts:!t.showTagCounts})}},{key:"render",value:function(){var e=this.props.attributes,t=e.taxonomy,n=e.showTagCounts,r=this.getTaxonomyOptions(),o=Object(X.createElement)($.InspectorControls,null,Object(X.createElement)(ie.PanelBody,{title:Object(Q.__)("Tag Cloud Settings")},Object(X.createElement)(ie.SelectControl,{label:Object(Q.__)("Taxonomy"),options:r,value:t,onChange:this.setTaxonomy}),Object(X.createElement)(ie.ToggleControl,{label:Object(Q.__)("Show post counts"),checked:n,onChange:this.toggleShowTagCounts})));return Object(X.createElement)(X.Fragment,null,o,Object(X.createElement)(sn.a,{key:"tag-cloud",block:"core/tag-cloud",attributes:e}))}}]),t}(X.Component),Vi=Object(se.withSelect)((function(e){return{taxonomies:e("core").getTaxonomies()}}))(Li),Fi="core/tag-cloud",Di={title:Object(Q.__)("Tag Cloud"),description:Object(Q.__)("A cloud of your most used tags."),icon:"tag",category:"widgets",supports:{html:!1,align:!0},edit:Vi},Ui=window.wp;var Gi=function(e){function t(e){var n;return Object(Ce.a)(this,t),(n=Object(Ee.a)(this,Object(xe.a)(t).call(this,e))).initialize=n.initialize.bind(Object(Se.a)(n)),n.onSetup=n.onSetup.bind(Object(Se.a)(n)),n.focus=n.focus.bind(Object(Se.a)(n)),n}return Object(Te.a)(t,e),Object(we.a)(t,[{key:"componentDidMount",value:function(){var e=window.wpEditorL10n.tinymce,t=e.baseURL,n=e.suffix;window.tinymce.EditorManager.overrideDefaults({base_url:t,suffix:n}),"complete"===document.readyState?this.initialize():window.addEventListener("DOMContentLoaded",this.initialize)}},{key:"componentWillUnmount",value:function(){window.addEventListener("DOMContentLoaded",this.initialize),Ui.oldEditor.remove("editor-".concat(this.props.clientId))}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.clientId,r=t.attributes.content,o=window.tinymce.get("editor-".concat(n));e.attributes.content!==r&&o.setContent(r||"")}},{key:"initialize",value:function(){var e=this.props.clientId,t=window.wpEditorL10n.tinymce.settings;Ui.oldEditor.initialize("editor-".concat(e),{tinymce:Object(Y.a)({},t,{inline:!0,content_css:!1,fixed_toolbar_container:"#toolbar-".concat(e),setup:this.onSetup})})}},{key:"onSetup",value:function(e){var t,n=this,r=this.props,o=r.attributes.content,a=r.setAttributes,c=this.ref;this.editor=e,o&&e.on("loadContent",(function(){return e.setContent(o)})),e.on("blur",(function(){return t=e.selection.getBookmark(2,!0),a({content:e.getContent()}),e.once("focus",(function(){t&&e.selection.moveToBookmark(t)})),!1})),e.on("mousedown touchstart",(function(){t=null})),e.on("keydown",(function(t){t.keyCode!==Wt.BACKSPACE&&t.keyCode!==Wt.DELETE||!function(e){var 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)||(n.props.onReplace([]),t.preventDefault(),t.stopImmediatePropagation()),t.altKey&&t.keyCode===Wt.F10&&t.stopPropagation()})),e.addButton("kitchensink",{tooltip:Object(Q._x)("More","button to expand options"),icon:"dashicon dashicons-editor-kitchensink",onClick:function(){var t=!this.active();this.active(t),e.dom.toggleClass(c,"has-advanced-toolbar",t)}}),e.on("init",(function(){e.settings.toolbar1&&-1===e.settings.toolbar1.indexOf("kitchensink")&&e.dom.addClass(c,"has-advanced-toolbar")})),e.addButton("wp_add_media",{tooltip:Object(Q.__)("Insert Media"),icon:"dashicon dashicons-admin-media",cmd:"WP_Medialib"}),e.on("init",(function(){var e=n.editor.getBody();document.activeElement===e&&(e.blur(),n.editor.focus())}))}},{key:"focus",value:function(){this.editor&&this.editor.focus()}},{key:"onToolbarKeyDown",value:function(e){e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()}},{key:"render",value:function(){var e=this,t=this.props.clientId;return[Object(X.createElement)("div",{key:"toolbar",id:"toolbar-".concat(t),ref:function(t){return e.ref=t},className:"block-library-classic__toolbar",onClick:this.focus,"data-placeholder":Object(Q.__)("Classic"),onKeyDown:this.onToolbarKeyDown}),Object(X.createElement)("div",{key:"editor",id:"editor-".concat(t),className:"wp-block-freeform block-library-rich-text__tinymce"})]}}]),t}(X.Component),qi=Object(X.createElement)(ie.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(X.createElement)(ie.Path,{d:"M0,0h24v24H0V0z M0,0h24v24H0V0z",fill:"none"}),Object(X.createElement)(ie.Path,{d:"m20 7v10h-16v-10h16m0-2h-16c-1.1 0-1.99 0.9-1.99 2l-0.01 10c0 1.1 0.9 2 2 2h16c1.1 0 2-0.9 2-2v-10c0-1.1-0.9-2-2-2z"}),Object(X.createElement)(ie.Rect,{x:"11",y:"8",width:"2",height:"2"}),Object(X.createElement)(ie.Rect,{x:"11",y:"11",width:"2",height:"2"}),Object(X.createElement)(ie.Rect,{x:"8",y:"8",width:"2",height:"2"}),Object(X.createElement)(ie.Rect,{x:"8",y:"11",width:"2",height:"2"}),Object(X.createElement)(ie.Rect,{x:"5",y:"11",width:"2",height:"2"}),Object(X.createElement)(ie.Rect,{x:"5",y:"8",width:"2",height:"2"}),Object(X.createElement)(ie.Rect,{x:"8",y:"14",width:"8",height:"2"}),Object(X.createElement)(ie.Rect,{x:"14",y:"11",width:"2",height:"2"}),Object(X.createElement)(ie.Rect,{x:"14",y:"8",width:"2",height:"2"}),Object(X.createElement)(ie.Rect,{x:"17",y:"11",width:"2",height:"2"}),Object(X.createElement)(ie.Rect,{x:"17",y:"8",width:"2",height:"2"}));var Wi={name:"core/freeform",category:"formatting",attributes:{content:{type:"string",source:"html"}}},Ki=Wi.name,Zi={title:Object(Q._x)("Classic","block title"),description:Object(Q.__)("Use the classic WordPress editor."),icon:qi,supports:{className:!1,customClassName:!1,reusable:!1},edit:Gi,save:function(e){var t=e.attributes.content;return Object(X.createElement)(X.RawHTML,null,t)}};n.d(t,"registerCoreBlocks",(function(){return Ji})),n.d(t,"__experimentalRegisterExperimentalCoreBlocks",(function(){return Qi}));var $i=function(e){if(e){var t=e.metadata,n=e.settings,r=e.name;t&&Object(J.unstable__bootstrapServerSideBlockDefinitions)(Object(Z.a)({},r,t)),Object(J.registerBlockType)(r,n)}},Ji=function(){[r,o,a,i,x,c,H,l,s,u,b,m,d,h,p,g,f,v].concat(Object(K.a)(Oo),Object(K.a)(jo),[O,P,window.wp&&window.wp.oldEditor?W:null,j,y,w,E,S,T,k,C,N,B,A,I,M,z,R,L,V,F,q,D,U,G]).forEach($i),Object(J.setDefaultBlockName)(Oe),window.wp&&window.wp.oldEditor&&Object(J.setFreeformContentHandlerName)(Ki),Object(J.setUnregisteredTypeHandlerName)(La),P&&Object(J.setGroupingBlockName)(Sc)},Qi=void 0},37:function(e,t){!function(){e.exports=this.wp.blob}()},38:function(e,t){!function(){e.exports=this.wp.apiFetch}()},4:function(e,t){!function(){e.exports=this.wp.data}()},40:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}n.d(t,"a",(function(){return r}))},42:function(e,t,n){e.exports=function(e,t){var n,r,o,a=0;function c(){var t,c,i=r,l=arguments.length;e:for(;i;){if(i.args.length===arguments.length){for(c=0;c1&&(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=R(e,360),t=R(t,100),n=R(n,100),0===t)r=o=a=n;else{var i=n<.5?n*(1+t):n+t-n*t,l=2*n-i;r=c(l,i,e+1/3),o=c(l,i,e),a=c(l,i,e-1/3)}return{r:255*r,g:255*o,b:255*a}}(e.h,r,l),b=!0,m="hsl"),e.hasOwnProperty("a")&&(n=e.a));var d,h,p;return n=A(n),{ok:b,format:e.format||m,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=l(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=l(this._r)),this._g<1&&(this._g=l(this._g)),this._b<1&&(this._b=l(this._b)),this._ok=n.ok,this._tc_id=i++}function d(e,t,n){e=R(e,255),t=R(t,255),n=R(n,255);var r,o,a=u(e,t,n),c=s(e,t,n),i=(a+c)/2;if(a==c)r=o=0;else{var l=a-c;switch(o=i>.5?l/(2-a-c):l/(a+c),a){case e:r=(t-n)/l+(t>1)+720)%360;--t;)r.h=(r.h+o)%360,a.push(m(r));return a}function T(e,t){t=t||6;for(var n=m(e).toHsv(),r=n.h,o=n.s,a=n.v,c=[],i=1/t;t--;)c.push(m({h:r,s:o,v:a})),a=(a+i)%1;return c}m.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=A(e),this._roundA=l(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=l(360*e.h),n=l(100*e.s),r=l(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=d(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=d(this._r,this._g,this._b),t=l(360*e.h),n=l(100*e.s),r=l(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return p(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=[P(l(e).toString(16)),P(l(t).toString(16)),P(l(n).toString(16)),P(H(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:l(this._r),g:l(this._g),b:l(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+l(this._r)+", "+l(this._g)+", "+l(this._b)+")":"rgba("+l(this._r)+", "+l(this._g)+", "+l(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:l(100*R(this._r,255))+"%",g:l(100*R(this._g,255))+"%",b:l(100*R(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+l(100*R(this._r,255))+"%, "+l(100*R(this._g,255))+"%, "+l(100*R(this._b,255))+"%)":"rgba("+l(100*R(this._r,255))+"%, "+l(100*R(this._g,255))+"%, "+l(100*R(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(B[p(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+g(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var o=m(e);n="#"+g(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 m(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(j,arguments)},brighten:function(){return this._applyModification(y,arguments)},darken:function(){return this._applyModification(_,arguments)},desaturate:function(){return this._applyModification(f,arguments)},saturate:function(){return this._applyModification(v,arguments)},greyscale:function(){return this._applyModification(O,arguments)},spin:function(){return this._applyModification(k,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(C,arguments)},monochromatic:function(){return this._applyCombination(T,arguments)},splitcomplement:function(){return this._applyCombination(x,arguments)},triad:function(){return this._applyCombination(w,arguments)},tetrad:function(){return this._applyCombination(E,arguments)}},m.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:z(e[r]));e=n}return m(e,t)},m.equals=function(e,t){return!(!e||!t)&&m(e).toRgbString()==m(t).toRgbString()},m.random=function(){return m.fromRatio({r:b(),g:b(),b:b()})},m.mix=function(e,t,n){n=0===n?0:n||50;var r=m(e).toRgb(),o=m(t).toRgb(),a=n/100;return m({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})},m.readability=function(e,t){var n=m(e),r=m(t);return(o.max(n.getLuminance(),r.getLuminance())+.05)/(o.min(n.getLuminance(),r.getLuminance())+.05)},m.isReadable=function(e,t,n){var r,o,a=m.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},m.mostReadable=function(e,t,n){var r,o,a,c,i=null,l=0;o=(n=n||{}).includeFallbackColors,a=n.level,c=n.size;for(var s=0;sl&&(l=r,i=m(t[s]));return m.isReadable(e,i,{level:a,size:c})||!o?i:(n.includeFallbackColors=!1,m.mostReadable(e,["#fff","#000"],n))};var N=m.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=m.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(N);function A(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function R(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),o.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function I(e){return s(1,u(0,e))}function M(e){return parseInt(e,16)}function P(e){return 1==e.length?"0"+e:""+e}function z(e){return e<=1&&(e=100*e+"%"),e}function H(e){return o.round(255*parseFloat(e)).toString(16)}function L(e){return M(e)/255}var V,F,D,U=(F="[\\s|\\(]+("+(V="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+V+")[,|\\s]+("+V+")\\s*\\)?",D="[\\s|\\(]+("+V+")[,|\\s]+("+V+")[,|\\s]+("+V+")[,|\\s]+("+V+")\\s*\\)?",{CSS_UNIT:new RegExp(V),rgb:new RegExp("rgb"+F),rgba:new RegExp("rgba"+D),hsl:new RegExp("hsl"+F),hsla:new RegExp("hsla"+D),hsv:new RegExp("hsv"+F),hsva:new RegExp("hsva"+D),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 G(e){return!!U.CSS_UNIT.exec(e)}e.exports?e.exports=m:void 0===(r=function(){return m}.call(t,n,t,e))||(e.exports=r)}(Math)},5:function(e,t){!function(){e.exports=this.wp.blockEditor}()},51:function(e,t){!function(){e.exports=this.wp.viewport}()},55:function(e,t){!function(){e.exports=this.wp.date}()},6:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(9);function o(e){for(var t=1;t",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(s),b=["%","/","?",";","#"].concat(u),m=["/","?","#"],d=/^[+a-z0-9A-Z_-]{0,63}$/,h=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,p={javascript:!0,"javascript:":!0},g={javascript:!0,"javascript:":!0},f={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},v=n(123);function O(e,t,n){if(e&&o.isObject(e)&&e instanceof a)return e;var r=new a;return r.parse(e,t,n),r}a.prototype.parse=function(e,t,n){if(!o.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var a=e.indexOf("?"),i=-1!==a&&a127?A+="x":A+=R[I];if(!A.match(d)){var M=N.slice(0,x),L=N.slice(x+1),H=R.match(h);H&&(M.push(H[1]),L.unshift(H[2])),L.length&&(O="/"+L.join(".")+O),this.hostname=M.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),T||(this.hostname=r.toASCII(this.hostname));var z=this.port?":"+this.port:"",V=this.hostname||"";this.host=V+z,this.href+=this.host,T&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==O[0]&&(O="/"+O))}if(!p[_])for(x=0,B=u.length;x0)&&n.host.split("@"))&&(n.auth=T.shift(),n.host=n.hostname=T.shift());return n.search=e.search,n.query=e.query,o.isNull(n.pathname)&&o.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!k.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var w=k.slice(-1)[0],E=(n.host||e.host||k.length>1)&&("."===w||".."===w)||""===w,x=0,S=k.length;S>=0;S--)"."===(w=k[S])?k.splice(S,1):".."===w?(k.splice(S,1),x++):x&&(k.splice(S,1),x--);if(!y&&!_)for(;x--;x)k.unshift("..");!y||""===k[0]||k[0]&&"/"===k[0].charAt(0)||k.unshift(""),E&&"/"!==k.join("/").substr(-1)&&k.push("");var T,N=""===k[0]||k[0]&&"/"===k[0].charAt(0);C&&(n.hostname=n.host=N?"":k.length?k.shift():"",(T=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=T.shift(),n.host=n.hostname=T.shift()));return(y=y||n.host&&k.length)&&!N&&k.unshift(""),k.length?n.pathname=k.join("/"):(n.pathname=null,n.path=null),o.isNull(n.pathname)&&o.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},a.prototype.parseHost=function(){var e=this.host,t=i.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},9: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}n.d(t,"a",(function(){return r}))}}); \ No newline at end of file +*/!function(){"use strict";var n=function(){function e(){}function t(e,t){for(var n=t.length,r=0;r",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(s),b=["%","/","?",";","#"].concat(u),m=["/","?","#"],d=/^[+a-z0-9A-Z_-]{0,63}$/,h=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,p={javascript:!0,"javascript:":!0},g={javascript:!0,"javascript:":!0},f={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},v=n(124);function O(e,t,n){if(e&&o.isObject(e)&&e instanceof a)return e;var r=new a;return r.parse(e,t,n),r}a.prototype.parse=function(e,t,n){if(!o.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var a=e.indexOf("?"),i=-1!==a&&a127?R+="x":R+=A[I];if(!R.match(d)){var P=N.slice(0,x),z=N.slice(x+1),H=A.match(h);H&&(P.push(H[1]),z.unshift(H[2])),z.length&&(O="/"+z.join(".")+O),this.hostname=P.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),T||(this.hostname=r.toASCII(this.hostname));var L=this.port?":"+this.port:"",V=this.hostname||"";this.host=V+L,this.href+=this.host,T&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==O[0]&&(O="/"+O))}if(!p[_])for(x=0,B=u.length;x0)&&n.host.split("@"))&&(n.auth=T.shift(),n.host=n.hostname=T.shift());return n.search=e.search,n.query=e.query,o.isNull(n.pathname)&&o.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!k.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var w=k.slice(-1)[0],E=(n.host||e.host||k.length>1)&&("."===w||".."===w)||""===w,x=0,S=k.length;S>=0;S--)"."===(w=k[S])?k.splice(S,1):".."===w?(k.splice(S,1),x++):x&&(k.splice(S,1),x--);if(!y&&!_)for(;x--;x)k.unshift("..");!y||""===k[0]||k[0]&&"/"===k[0].charAt(0)||k.unshift(""),E&&"/"!==k.join("/").substr(-1)&&k.push("");var T,N=""===k[0]||k[0]&&"/"===k[0].charAt(0);C&&(n.hostname=n.host=N?"":k.length?k.shift():"",(T=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=T.shift(),n.host=n.hostname=T.shift()));return(y=y||n.host&&k.length)&&!N&&k.unshift(""),k.length?n.pathname=k.join("/"):(n.pathname=null,n.path=null),o.isNull(n.pathname)&&o.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},a.prototype.parseHost=function(){var e=this.host,t=i.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},9: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}n.d(t,"a",(function(){return r}))}}); \ No newline at end of file diff --git a/wp-includes/js/dist/block-serialization-default-parser.js b/wp-includes/js/dist/block-serialization-default-parser.js index f7dc109e1c..063b864534 100644 --- a/wp-includes/js/dist/block-serialization-default-parser.js +++ b/wp-includes/js/dist/block-serialization-default-parser.js @@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["blockSerializationDefaultParser"] = /******/ /******/ /******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 234); +/******/ return __webpack_require__(__webpack_require__.s = 235); /******/ }) /************************************************************************/ /******/ ({ @@ -93,7 +93,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["blockSerializationDefaultParser"] = "use strict"; // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js -var arrayWithHoles = __webpack_require__(33); +var arrayWithHoles = __webpack_require__(35); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js function _iterableToArrayLimit(arr, i) { @@ -126,7 +126,7 @@ function _iterableToArrayLimit(arr, i) { return _arr; } // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js -var nonIterableRest = __webpack_require__(34); +var nonIterableRest = __webpack_require__(36); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _slicedToArray; }); @@ -139,7 +139,7 @@ function _slicedToArray(arr, i) { /***/ }), -/***/ 234: +/***/ 235: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -529,7 +529,7 @@ function addBlockFromStack(endOffset) { /***/ }), -/***/ 33: +/***/ 35: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -540,7 +540,7 @@ function _arrayWithHoles(arr) { /***/ }), -/***/ 34: +/***/ 36: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; diff --git a/wp-includes/js/dist/block-serialization-default-parser.min.js b/wp-includes/js/dist/block-serialization-default-parser.min.js index bcd719956d..27fb43708b 100644 --- a/wp-includes/js/dist/block-serialization-default-parser.min.js +++ b/wp-includes/js/dist/block-serialization-default-parser.min.js @@ -1,2 +1,2 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.blockSerializationDefaultParser=function(t){var n={};function r(e){if(n[e])return n[e].exports;var o=n[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=n,r.d=function(t,n,e){r.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:e})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,n){if(1&n&&(t=r(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)r.d(e,o,function(n){return t[n]}.bind(null,o));return e},r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,"a",n),n},r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.p="",r(r.s=234)}({22:function(t,n,r){"use strict";var e=r(33);var o=r(34);function u(t,n){return Object(e.a)(t)||function(t,n){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t)){var r=[],e=!0,o=!1,u=void 0;try{for(var i,c=t[Symbol.iterator]();!(e=(i=c.next()).done)&&(r.push(i.value),!n||r.length!==n);e=!0);}catch(t){o=!0,u=t}finally{try{e||null==c.return||c.return()}finally{if(o)throw u}}return r}}(t,n)||Object(o.a)()}r.d(n,"a",(function(){return u}))},234:function(t,n,r){"use strict";r.r(n),r.d(n,"parse",(function(){return f}));var e,o,u,i,c=r(22),l=/)[^])*)\5|[^]*?)}\s+)?(\/)?-->/g;function s(t,n,r,e,o){return{blockName:t,attrs:n,innerBlocks:r,innerHTML:e,innerContent:o}}function a(t){return s(null,{},[],t,[t])}var f=function(t){e=t,o=0,u=[],i=[],l.lastIndex=0;do{}while(p());return u};function p(){var t=function(){var t=l.exec(e);if(null===t)return["no-more-tokens"];var n=t.index,r=Object(c.a)(t,7),o=r[0],u=r[1],i=r[2],s=r[3],a=r[4],f=r[6],p=o.length,b=!!u,v=!!f,d=(i||"core/")+s,h=!!a,k=h?function(t){try{return JSON.parse(t)}catch(t){return null}}(a):{};if(v)return["void-block",d,k,n,p];if(b)return["block-closer",d,null,n,p];return["block-opener",d,k,n,p]}(),n=Object(c.a)(t,5),r=n[0],f=n[1],p=n[2],h=n[3],k=n[4],y=i.length,O=h>o?o:null;switch(r){case"no-more-tokens":if(0===y)return b(),!1;if(1===y)return d(),!1;for(;0)[^])*)\5|[^]*?)}\s+)?(\/)?-->/g;function s(t,n,r,e,o){return{blockName:t,attrs:n,innerBlocks:r,innerHTML:e,innerContent:o}}function a(t){return s(null,{},[],t,[t])}var f=function(t){e=t,o=0,u=[],i=[],l.lastIndex=0;do{}while(p());return u};function p(){var t=function(){var t=l.exec(e);if(null===t)return["no-more-tokens"];var n=t.index,r=Object(c.a)(t,7),o=r[0],u=r[1],i=r[2],s=r[3],a=r[4],f=r[6],p=o.length,b=!!u,v=!!f,d=(i||"core/")+s,h=!!a,k=h?function(t){try{return JSON.parse(t)}catch(t){return null}}(a):{};if(v)return["void-block",d,k,n,p];if(b)return["block-closer",d,null,n,p];return["block-opener",d,k,n,p]}(),n=Object(c.a)(t,5),r=n[0],f=n[1],p=n[2],h=n[3],k=n[4],y=i.length,O=h>o?o:null;switch(r){case"no-more-tokens":if(0===y)return b(),!1;if(1===y)return d(),!1;for(;0 2 && arguments[2] !== undefined ? arguments[2] : createLogger(); - if (actual.tagName !== expected.tagName) { + if (actual.tagName !== expected.tagName && // Optimization: Use short-circuit evaluation to defer case- + // insensitive check on the assumption that the majority case will + // have exactly equal tag names. + actual.tagName.toLowerCase() !== expected.tagName.toLowerCase()) { logger.warning('Expected tag name `%s`, instead saw `%s`.', expected.tagName, actual.tagName); return false; } @@ -9047,12 +9332,12 @@ function isEquivalentHTML(actual, expected) { var logger = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : createLogger(); // Tokenize input content and reserialized save content - var _map3 = [actual, expected].map(function (html) { + var _map = [actual, expected].map(function (html) { return getHTMLTokens(html, logger); }), - _map4 = Object(slicedToArray["a" /* default */])(_map3, 2), - actualTokens = _map4[0], - expectedTokens = _map4[1]; // If either is malformed then stop comparing - the strings are not equivalent + _map2 = Object(slicedToArray["a" /* default */])(_map, 2), + actualTokens = _map2[0], + expectedTokens = _map2[1]; // If either is malformed then stop comparing - the strings are not equivalent if (!actualTokens || !expectedTokens) { @@ -10085,14 +10370,28 @@ var parseWithGrammar = createParse(external_this_wp_blockSerializationDefaultPar /* harmony default export */ var parser = (parseWithGrammar); // EXTERNAL MODULE: external {"this":["wp","dom"]} -var external_this_wp_dom_ = __webpack_require__(29); +var external_this_wp_dom_ = __webpack_require__(27); // CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/phrasing-content.js + + /** * External dependencies */ -var phrasing_content_phrasingContentSchema = { +/** + * All phrasing content elements. + * + * @see https://www.w3.org/TR/2011/WD-html5-20110525/content-models.html#phrasing-content-0 + */ + +/** + * All text-level semantic elements. + * + * @see https://html.spec.whatwg.org/multipage/text-level-semantics.html + */ + +var textContentSchema = { strong: {}, em: {}, s: {}, @@ -10108,24 +10407,116 @@ var phrasing_content_phrasingContentSchema = { sub: {}, sup: {}, br: {}, + small: {}, + // To do: fix blockquote. + // cite: {}, + q: { + attributes: ['cite'] + }, + dfn: { + attributes: ['title'] + }, + data: { + attributes: ['value'] + }, + time: { + attributes: ['datetime'] + }, + var: {}, + samp: {}, + kbd: {}, + i: {}, + b: {}, + u: {}, + mark: {}, + ruby: {}, + rt: {}, + rp: {}, + bdi: { + attributes: ['dir'] + }, + bdo: { + attributes: ['dir'] + }, + wbr: {}, '#text': {} }; // Recursion is needed. // Possible: strong > em > strong. // Impossible: strong > strong. -['strong', 'em', 's', 'del', 'ins', 'a', 'code', 'abbr', 'sub', 'sup'].forEach(function (tag) { - phrasing_content_phrasingContentSchema[tag].children = Object(external_this_lodash_["omit"])(phrasing_content_phrasingContentSchema, tag); +Object(external_this_lodash_["without"])(Object.keys(textContentSchema), '#text', 'br').forEach(function (tag) { + textContentSchema[tag].children = Object(external_this_lodash_["omit"])(textContentSchema, tag); }); +/** + * Embedded content elements. + * + * @see https://www.w3.org/TR/2011/WD-html5-20110525/content-models.html#embedded-content-0 + */ + +var embeddedContentSchema = { + audio: { + attributes: ['src', 'preload', 'autoplay', 'mediagroup', 'loop', 'muted'] + }, + canvas: { + attributes: ['width', 'height'] + }, + embed: { + attributes: ['src', 'type', 'width', 'height'] + }, + iframe: { + attributes: ['src', 'srcdoc', 'name', 'sandbox', 'seamless', 'width', 'height'] + }, + img: { + attributes: ['alt', 'src', 'srcset', 'usemap', 'ismap', 'width', 'height'] + }, + object: { + attributes: ['data', 'type', 'name', 'usemap', 'form', 'width', 'height'] + }, + video: { + attributes: ['src', 'poster', 'preload', 'autoplay', 'mediagroup', 'loop', 'muted', 'controls', 'width', 'height'] + } +}; +/** + * Phrasing content elements. + * + * @see https://www.w3.org/TR/2011/WD-html5-20110525/content-models.html#phrasing-content-0 + */ + +var phrasing_content_phrasingContentSchema = Object(objectSpread["a" /* default */])({}, textContentSchema, embeddedContentSchema); /** * Get schema of possible paths for phrasing content. * * @see https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content * + * @param {string} context Set to "paste" to exclude invisible elements and + * sensitive data. + * * @return {Object} Schema. */ -function getPhrasingContentSchema() { - return phrasing_content_phrasingContentSchema; + +function getPhrasingContentSchema(context) { + if (context !== 'paste') { + return phrasing_content_phrasingContentSchema; + } + + return Object(external_this_lodash_["omit"])(Object(objectSpread["a" /* default */])({}, phrasing_content_phrasingContentSchema, { + // We shouldn't paste potentially sensitive information which is not + // visible to the user when pasted, so strip the attributes. + ins: { + children: phrasing_content_phrasingContentSchema.ins.children + }, + del: { + children: phrasing_content_phrasingContentSchema.del.children + } + }), ['u', // Used to mark misspelling. Shouldn't be pasted. + 'abbr', // Invisible. + 'data', // Invisible. + 'time', // Invisible. + 'wbr', // Invisible. + 'bdi', // Invisible. + 'bdo' // Invisible. + ]); } /** * Find out whether or not the given node is phrasing content. @@ -10141,6 +10532,10 @@ function isPhrasingContent(node) { var tag = node.nodeName.toLowerCase(); return getPhrasingContentSchema().hasOwnProperty(tag) || tag === 'span'; } +function isTextContent(node) { + var tag = node.nodeName.toLowerCase(); + return textContentSchema.hasOwnProperty(tag) || tag === 'span'; +} // CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/utils.js @@ -10171,17 +10566,23 @@ var utils_window$Node = window.Node, /** * Given raw transforms from blocks, merges all schemas into one. * - * @param {Array} transforms Block transforms, of the `raw` type. + * @param {Array} transforms Block transforms, of the `raw` type. + * @param {Object} phrasingContentSchema The phrasing content schema. + * @param {Object} isPaste Whether the context is pasting or not. * * @return {Object} A complete block content schema. */ -function getBlockContentSchema(transforms) { +function getBlockContentSchema(transforms, phrasingContentSchema, isPaste) { var schemas = transforms.map(function (_ref) { var isMatch = _ref.isMatch, blockName = _ref.blockName, schema = _ref.schema; - var hasAnchorSupport = registration_hasBlockSupport(blockName, 'anchor'); // If the block does not has anchor support and the transform does not + var hasAnchorSupport = registration_hasBlockSupport(blockName, 'anchor'); + schema = Object(external_this_lodash_["isFunction"])(schema) ? schema({ + phrasingContentSchema: phrasingContentSchema, + isPaste: isPaste + }) : schema; // If the block does not has anchor support and the transform does not // provides an isMatch we can return the schema right away. if (!hasAnchorSupport && !isMatch) { @@ -10458,6 +10859,28 @@ function removeInvalidHTML(HTML, schema, inline) { cleanNodeList(doc.body.childNodes, doc, schema, inline); return doc.body.innerHTML; } +/** + * Gets a sibling within text-level context. + * + * @param {Element} node The subject node. + * @param {string} which "next" or "previous". + */ + +function getSibling(node, which) { + var sibling = node["".concat(which, "Sibling")]; + + if (sibling && isPhrasingContent(sibling)) { + return sibling; + } + + var parentNode = node.parentNode; + + if (!parentNode || !isPhrasingContent(parentNode)) { + return; + } + + return getSibling(parentNode, which); +} // CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/normalise-blocks.js /** @@ -10715,7 +11138,7 @@ function isFigureContent(node, schema) { var tag = node.nodeName.toLowerCase(); // We are looking for tags that can be a child of the figure tag, excluding // `figcaption` and any phrasing content. - if (tag === 'figcaption' || isPhrasingContent(node)) { + if (tag === 'figcaption' || isTextContent(node)) { return false; } @@ -10735,6 +11158,20 @@ function canHaveAnchor(node, schema) { var tag = node.nodeName.toLowerCase(); return Object(external_this_lodash_["has"])(schema, ['figure', 'children', 'a', 'children', tag]); } +/** + * Wraps the given element in a figure element. + * + * @param {Element} element The element to wrap. + * @param {Element} beforeElement The element before which to place the figure. + */ + + +function wrapFigureContent(element) { + var beforeElement = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : element; + var figure = element.ownerDocument.createElement('figure'); + beforeElement.parentNode.insertBefore(figure, beforeElement); + figure.appendChild(element); +} /** * This filter takes figure content out of paragraphs, wraps it in a figure * element, and moves any anchors with it if needed. @@ -10760,25 +11197,21 @@ function canHaveAnchor(node, schema) { nodeToInsert = node.parentNode; } - var wrapper = nodeToInsert; - - while (wrapper && wrapper.nodeName !== 'P') { - wrapper = wrapper.parentElement; - } - - var figure = doc.createElement('figure'); + var wrapper = nodeToInsert.closest('p,div'); // If wrapped in a paragraph or div, only extract if it's aligned or if + // there is no text content. + // Otherwise, if directly at the root, wrap in a figure element. if (wrapper) { - wrapper.parentNode.insertBefore(figure, wrapper); - } else { - nodeToInsert.parentNode.insertBefore(figure, nodeToInsert); + if (node.classList.contains('alignright') || node.classList.contains('alignleft') || node.classList.contains('aligncenter') || !wrapper.textContent.trim()) { + wrapFigureContent(nodeToInsert, wrapper); + } + } else if (nodeToInsert.parentNode.nodeName === 'BODY') { + wrapFigureContent(nodeToInsert); } - - figure.appendChild(nodeToInsert); }); // EXTERNAL MODULE: external {"this":["wp","shortcode"]} -var external_this_wp_shortcode_ = __webpack_require__(110); +var external_this_wp_shortcode_ = __webpack_require__(111); // CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/shortcode-converter.js @@ -10824,13 +11257,14 @@ function segmentHTMLToShortcodeBlock(HTML) { var previousIndex = lastIndex; if (match = Object(external_this_wp_shortcode_["next"])(transformTag, HTML, lastIndex)) { + lastIndex = match.index + match.content.length; var beforeHTML = HTML.substr(0, match.index); - lastIndex = match.index + match.content.length; // If the shortcode content does not contain HTML and the shortcode is + var afterHTML = HTML.substr(lastIndex); // If the shortcode content does not contain HTML and the shortcode is // not on a new line (or in paragraph from Markdown converter), // consider the shortcode as inline text, and thus skip conversion for // this segment. - if (!Object(external_this_lodash_["includes"])(match.shortcode.content || '', '<') && !/(\n|

    )\s*$/.test(beforeHTML)) { + if (!Object(external_this_lodash_["includes"])(match.shortcode.content || '', '<') && !(/(\n|

    )\s*$/.test(beforeHTML) && /^\s*(\n|<\/p>)/.test(afterHTML))) { return segmentHTMLToShortcodeBlock(HTML, lastIndex); } // If a transformation's `isMatch` predicate fails for the inbound // shortcode, try again by excluding the current block type. @@ -10910,7 +11344,7 @@ var comment_remover_COMMENT_NODE = window.Node.COMMENT_NODE; */ function isInline(node, contextTag) { - if (isPhrasingContent(node)) { + if (isTextContent(node)) { return true; } @@ -11089,7 +11523,7 @@ function ms_list_converter_isList(node) { }); // EXTERNAL MODULE: external {"this":["wp","blob"]} -var external_this_wp_blob_ = __webpack_require__(36); +var external_this_wp_blob_ = __webpack_require__(37); // CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/image-corrector.js @@ -11244,22 +11678,6 @@ function slackMarkdownVariantCorrector(text) { */ -function getSibling(node, which) { - var sibling = node["".concat(which, "Sibling")]; - - if (sibling && isPhrasingContent(sibling)) { - return sibling; - } - - var parentNode = node.parentNode; - - if (!parentNode || !isPhrasingContent(parentNode)) { - return; - } - - return getSibling(parentNode, which); -} - function isFormattingSpace(character) { return character === ' ' || character === '\r' || character === '\n' || character === '\t'; } @@ -11316,6 +11734,47 @@ function isFormattingSpace(character) { } }); +// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/br-remover.js +/** + * Internal dependencies + */ + +/** + * Removes trailing br elements from text-level content. + * + * @param {Element} node Node to check. + */ + +/* harmony default export */ var br_remover = (function (node) { + if (node.nodeName !== 'BR') { + return; + } + + if (getSibling(node, 'next')) { + return; + } + + node.parentNode.removeChild(node); +}); + +// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/empty-paragraph-remover.js +/** + * Removes empty paragraph elements. + * + * @param {Element} node Node to check. + */ +/* harmony default export */ var empty_paragraph_remover = (function (node) { + if (node.nodeName !== 'P') { + return; + } + + if (node.hasChildNodes()) { + return; + } + + node.parentNode.removeChild(node); +}); + // CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/paste-handler.js @@ -11344,6 +11803,9 @@ function isFormattingSpace(character) { + + + @@ -11364,9 +11826,10 @@ var paste_handler_window = window, function filterInlineHTML(HTML) { HTML = deepFilterHTML(HTML, [google_docs_uid_remover, phrasing_content_reducer, comment_remover]); - HTML = removeInvalidHTML(HTML, getPhrasingContentSchema(), { + HTML = removeInvalidHTML(HTML, getPhrasingContentSchema('paste'), { inline: true - }); // Allows us to ask for this information when we get a report. + }); + HTML = deepFilterHTML(HTML, [html_formatting_remover, br_remover]); // Allows us to ask for this information when we get a report. paste_handler_console.log('Processed inline HTML:\n\n', HTML); return HTML; @@ -11450,7 +11913,10 @@ function pasteHandler(_ref3) { _ref3$canUserUseUnfil = _ref3.canUserUseUnfilteredHTML, canUserUseUnfilteredHTML = _ref3$canUserUseUnfil === void 0 ? false : _ref3$canUserUseUnfil; // First of all, strip any meta tags. - HTML = HTML.replace(/]+>/, ''); // If we detect block delimiters in HTML, parse entirely as blocks. + HTML = HTML.replace(/]+>/g, ''); // Strip Windows markers. + + HTML = HTML.replace(/^\s*]*>\s*]*>(?:\s*)?/i, ''); + HTML = HTML.replace(/(?:\s*)?<\/body>\s*<\/html>\s*$/i, ''); // If we detect block delimiters in HTML, parse entirely as blocks. if (mode !== 'INLINE') { // Check plain text if there is no HTML. @@ -11504,8 +11970,8 @@ function pasteHandler(_ref3) { } var rawTransforms = getRawTransformations(); - var phrasingContentSchema = getPhrasingContentSchema(); - var blockContentSchema = getBlockContentSchema(rawTransforms); + var phrasingContentSchema = getPhrasingContentSchema('paste'); + var blockContentSchema = getBlockContentSchema(rawTransforms, phrasingContentSchema, true); var blocks = Object(external_this_lodash_["compact"])(Object(external_this_lodash_["flatMap"])(pieces, function (piece) { // Already a block from shortcode. if (typeof piece !== 'string') { @@ -11523,19 +11989,19 @@ function pasteHandler(_ref3) { piece = deepFilterHTML(piece, filters, blockContentSchema); piece = removeInvalidHTML(piece, schema); - piece = deepFilterHTML(piece, [html_formatting_remover], blockContentSchema); - piece = normalise_blocks(piece); // Allows us to ask for this information when we get a report. + piece = normalise_blocks(piece); + piece = deepFilterHTML(piece, [html_formatting_remover, br_remover, empty_paragraph_remover], blockContentSchema); // Allows us to ask for this information when we get a report. paste_handler_console.log('Processed HTML piece:\n\n', piece); return htmlToBlocks({ html: piece, rawTransforms: rawTransforms }); - })); // If we're allowed to return inline content and there is only one block + })); // If we're allowed to return inline content, and there is only one inlineable block, // and the original plain text content does not have any line breaks, then // treat it as inline paste. - if (mode === 'AUTO' && blocks.length === 1) { + if (mode === 'AUTO' && blocks.length === 1 && registration_hasBlockSupport(blocks[0].name, '__unstablePasteTextInline', false)) { var trimmedPlainText = plainText.trim(); if (trimmedPlainText !== '' && trimmedPlainText.indexOf('\n') === -1) { @@ -11569,6 +12035,7 @@ function pasteHandler(_ref3) { + function raw_handling_getRawTransformations() { return Object(external_this_lodash_["filter"])(getBlockTransforms('from'), { type: 'raw' @@ -11642,7 +12109,8 @@ function rawHandler(_ref3) { var pieces = shortcode_converter(HTML); var rawTransforms = raw_handling_getRawTransformations(); - var blockContentSchema = getBlockContentSchema(rawTransforms); + var phrasingContentSchema = getPhrasingContentSchema(); + var blockContentSchema = getBlockContentSchema(rawTransforms, phrasingContentSchema); return Object(external_this_lodash_["compact"])(Object(external_this_lodash_["flatMap"])(pieces, function (piece) { // Already a block from shortcode. if (typeof piece !== 'string') { @@ -11907,285 +12375,10 @@ function synchronizeBlocksWithTemplate() { /***/ }), -/***/ 38: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; - - -var LEAF_KEY, hasWeakMap; - -/** - * Arbitrary value used as key for referencing cache object in WeakMap tree. - * - * @type {Object} - */ -LEAF_KEY = {}; - -/** - * Whether environment supports WeakMap. - * - * @type {boolean} - */ -hasWeakMap = typeof WeakMap !== 'undefined'; - -/** - * Returns the first argument as the sole entry in an array. - * - * @param {*} value Value to return. - * - * @return {Array} Value returned as entry in array. - */ -function arrayOf( value ) { - return [ value ]; -} - -/** - * Returns true if the value passed is object-like, or false otherwise. A value - * is object-like if it can support property assignment, e.g. object or array. - * - * @param {*} value Value to test. - * - * @return {boolean} Whether value is object-like. - */ -function isObjectLike( value ) { - return !! value && 'object' === typeof value; -} - -/** - * Creates and returns a new cache object. - * - * @return {Object} Cache object. - */ -function createCache() { - var cache = { - clear: function() { - cache.head = null; - }, - }; - - return cache; -} - -/** - * Returns true if entries within the two arrays are strictly equal by - * reference from a starting index. - * - * @param {Array} a First array. - * @param {Array} b Second array. - * @param {number} fromIndex Index from which to start comparison. - * - * @return {boolean} Whether arrays are shallowly equal. - */ -function isShallowEqual( a, b, fromIndex ) { - var i; - - if ( a.length !== b.length ) { - return false; - } - - for ( i = fromIndex; i < a.length; i++ ) { - if ( a[ i ] !== b[ i ] ) { - return false; - } - } - - return true; -} - -/** - * Returns a memoized selector function. The getDependants function argument is - * called before the memoized selector and is expected to return an immutable - * reference or array of references on which the selector depends for computing - * its own return value. The memoize cache is preserved only as long as those - * dependant references remain the same. If getDependants returns a different - * reference(s), the cache is cleared and the selector value regenerated. - * - * @param {Function} selector Selector function. - * @param {Function} getDependants Dependant getter returning an immutable - * reference or array of reference used in - * cache bust consideration. - * - * @return {Function} Memoized selector. - */ -/* harmony default export */ __webpack_exports__["a"] = (function( selector, getDependants ) { - var rootCache, getCache; - - // Use object source as dependant if getter not provided - if ( ! getDependants ) { - getDependants = arrayOf; - } - - /** - * Returns the root cache. If WeakMap is supported, this is assigned to the - * root WeakMap cache set, otherwise it is a shared instance of the default - * cache object. - * - * @return {(WeakMap|Object)} Root cache object. - */ - function getRootCache() { - return rootCache; - } - - /** - * Returns the cache for a given dependants array. When possible, a WeakMap - * will be used to create a unique cache for each set of dependants. This - * is feasible due to the nature of WeakMap in allowing garbage collection - * to occur on entries where the key object is no longer referenced. Since - * WeakMap requires the key to be an object, this is only possible when the - * dependant is object-like. The root cache is created as a hierarchy where - * each top-level key is the first entry in a dependants set, the value a - * WeakMap where each key is the next dependant, and so on. This continues - * so long as the dependants are object-like. If no dependants are object- - * like, then the cache is shared across all invocations. - * - * @see isObjectLike - * - * @param {Array} dependants Selector dependants. - * - * @return {Object} Cache object. - */ - function getWeakMapCache( dependants ) { - var caches = rootCache, - isUniqueByDependants = true, - i, dependant, map, cache; - - for ( i = 0; i < dependants.length; i++ ) { - dependant = dependants[ i ]; - - // Can only compose WeakMap from object-like key. - if ( ! isObjectLike( dependant ) ) { - isUniqueByDependants = false; - break; - } - - // Does current segment of cache already have a WeakMap? - if ( caches.has( dependant ) ) { - // Traverse into nested WeakMap. - caches = caches.get( dependant ); - } else { - // Create, set, and traverse into a new one. - map = new WeakMap(); - caches.set( dependant, map ); - caches = map; - } - } - - // We use an arbitrary (but consistent) object as key for the last item - // in the WeakMap to serve as our running cache. - if ( ! caches.has( LEAF_KEY ) ) { - cache = createCache(); - cache.isUniqueByDependants = isUniqueByDependants; - caches.set( LEAF_KEY, cache ); - } - - return caches.get( LEAF_KEY ); - } - - // Assign cache handler by availability of WeakMap - getCache = hasWeakMap ? getWeakMapCache : getRootCache; - - /** - * Resets root memoization cache. - */ - function clear() { - rootCache = hasWeakMap ? new WeakMap() : createCache(); - } - - // eslint-disable-next-line jsdoc/check-param-names - /** - * The augmented selector call, considering first whether dependants have - * changed before passing it to underlying memoize function. - * - * @param {Object} source Source object for derivation. - * @param {...*} extraArgs Additional arguments to pass to selector. - * - * @return {*} Selector result. - */ - function callSelector( /* source, ...extraArgs */ ) { - var len = arguments.length, - cache, node, i, args, dependants; - - // Create copy of arguments (avoid leaking deoptimization). - args = new Array( len ); - for ( i = 0; i < len; i++ ) { - args[ i ] = arguments[ i ]; - } - - dependants = getDependants.apply( null, args ); - cache = getCache( dependants ); - - // If not guaranteed uniqueness by dependants (primitive type or lack - // of WeakMap support), shallow compare against last dependants and, if - // references have changed, destroy cache to recalculate result. - if ( ! cache.isUniqueByDependants ) { - if ( cache.lastDependants && ! isShallowEqual( dependants, cache.lastDependants, 0 ) ) { - cache.clear(); - } - - cache.lastDependants = dependants; - } - - node = cache.head; - while ( node ) { - // Check whether node arguments match arguments - if ( ! isShallowEqual( node.args, args, 1 ) ) { - node = node.next; - continue; - } - - // At this point we can assume we've found a match - - // Surface matched node to head if not already - if ( node !== cache.head ) { - // Adjust siblings to point to each other. - node.prev.next = node.next; - if ( node.next ) { - node.next.prev = node.prev; - } - - node.next = cache.head; - node.prev = null; - cache.head.prev = node; - cache.head = node; - } - - // Return immediately - return node.val; - } - - // No cached value found. Continue to insertion phase: - - node = { - // Generate the result from original function - val: selector.apply( null, args ), - }; - - // Avoid including the source object in the cache. - args[ 0 ] = null; - node.args = args; - - // Don't need to check whether node is already head, since it would - // have been returned above already if it was - - // Shift existing head down list - if ( cache.head ) { - cache.head.prev = node; - node.next = cache.head; - } - - cache.head = node; - - return node.val; - } - - callSelector.getDependants = getDependants; - callSelector.clear = clear; - clear(); - - return callSelector; -}); +/***/ 37: +/***/ (function(module, exports) { +(function() { module.exports = this["wp"]["blob"]; }()); /***/ }), @@ -12196,14 +12389,14 @@ function isShallowEqual( a, b, fromIndex ) { /***/ }), -/***/ 45: +/***/ 46: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["isShallowEqual"]; }()); /***/ }), -/***/ 48: +/***/ 49: /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_RESULT__;// TinyColor v1.4.1 @@ -13404,18 +13597,46 @@ else {} /***/ }), -/***/ 53: +/***/ 54: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["htmlEntities"]; }()); /***/ }), -/***/ 66: +/***/ 6: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectSpread; }); +/* harmony import */ var _defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9); + +function _objectSpread(target) { + for (var i = 1; i < arguments.length; i++) { + var source = arguments[i] != null ? Object(arguments[i]) : {}; + var ownKeys = Object.keys(source); + + if (typeof Object.getOwnPropertySymbols === 'function') { + ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { + return Object.getOwnPropertyDescriptor(source, sym).enumerable; + })); + } + + ownKeys.forEach(function (key) { + Object(_defineProperty__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(target, key, source[key]); + }); + } + + return target; +} + +/***/ }), + +/***/ 68: /***/ (function(module, exports, __webpack_require__) { -var rng = __webpack_require__(86); -var bytesToUuid = __webpack_require__(87); +var rng = __webpack_require__(87); +var bytesToUuid = __webpack_require__(88); function v4(options, buf, offset) { var i = buf && offset || 0; @@ -13447,41 +13668,13 @@ module.exports = v4; /***/ }), -/***/ 68: +/***/ 70: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["autop"]; }()); /***/ }), -/***/ 7: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectSpread; }); -/* harmony import */ var _defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9); - -function _objectSpread(target) { - for (var i = 1; i < arguments.length; i++) { - var source = arguments[i] != null ? arguments[i] : {}; - var ownKeys = Object.keys(Object(source)); - - if (typeof Object.getOwnPropertySymbols === 'function') { - ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { - return Object.getOwnPropertyDescriptor(source, sym).enumerable; - })); - } - - ownKeys.forEach(function (key) { - Object(_defineProperty__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(target, key, source[key]); - }); - } - - return target; -} - -/***/ }), - /***/ 8: /***/ (function(module, exports) { @@ -13489,7 +13682,7 @@ function _objectSpread(target) { /***/ }), -/***/ 86: +/***/ 87: /***/ (function(module, exports) { // Unique ID creation requires a high quality random # generator. In the @@ -13530,7 +13723,7 @@ if (getRandomValues) { /***/ }), -/***/ 87: +/***/ 88: /***/ (function(module, exports) { /** diff --git a/wp-includes/js/dist/blocks.min.js b/wp-includes/js/dist/blocks.min.js index ce6c2f9c1c..05451b7134 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=366)}({0:function(e,t){!function(){e.exports=this.wp.element}()},1:function(e,t){!function(){e.exports=this.wp.i18n}()},110:function(e,t){!function(){e.exports=this.wp.shortcode}()},12:function(e,t,r){"use strict";function n(e,t){for(var r=0;r (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:

    foo
    ",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 `` and ``",type:"boolean"},completeHTMLDocument:{defaultValue:!1,description:"Outputs a complete html document, including ``, `` and `` 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),u="vanilla",l={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").replace(/&/g,"&")};var h=function(e,t,r,n){"use strict";var a,i,o,s,c,u=n||"",l=u.indexOf("g")>-1,d=new RegExp(t+"|"+r,"g"+u.replace(/g/g,"")),f=new RegExp(t,u.replace(/g/g,"")),h=[];do{for(a=0;o=d.exec(e);)if(f.test(o[0]))a++||(s=(i=d.lastIndex)-o[0].length);else if(a&&!--a){c=o.index+o[0].length;var p={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(p),!l)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;o0){var l=[];0!==s[0].wholeMatch.start&&l.push(e.slice(0,s[0].wholeMatch.start));for(var d=0;d=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:':octocat:',showdown:"S"},i.Converter=function(e){"use strict";var t={},r=[],n=[],a={},o=u,f={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[ \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'}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? ?(['"].*['"])?\)$/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])||(u=r.gTitles[a])}var l='"};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]??(?:[ \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+""}))),e=r.converter._dispatch("anchors.after",e,t,r)}));var p=/([*~_]+|\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,v=function(e){"use strict";return function(t,r,n,a,o,s,c){var u=n=n.replace(i.helper.regexes.asteriskDashAndColon,i.helper.escapeCharactersCallback),l="",d="",f=r||"",h=c||"";return/^www\./i.test(n)&&(n=n.replace(/^www\./i,"http://www.")),e.excludeTrailingPunctuationFromURLs&&s&&(l=s),e.openLinksInNewWindow&&(d=' rel="noopener noreferrer" target="¨E95Eblank"'),f+'"+u+""+l+h}},k=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+""}};i.subParser("autoLinks",(function(e,t,r){"use strict";return e=(e=(e=r.converter._dispatch("autoLinks.before",e,t,r)).replace(m,v(t))).replace(_,k(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,v(t)):e.replace(p,v(t))).replace(b,k(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*
    [^\r]+?<\/pre>)/gm,(function(e,t){var r=t;return r=(r=r.replace(/^  /gm,"¨0")).replace(/¨0/g,"")})),i.subParser("hashBlock")("
    \n"+e+"\n
    ",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="
    "+o+c+"
    ",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+""+(s=i.subParser("encodeCode")(s,t,r))+"",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="\n",i="",o='\n',s="",c="";for(var u in void 0!==r.metadata.parsed.doctype&&(a="\n","html"!==(n=r.metadata.parsed.doctype.toString().toLowerCase())&&"html5"!==n||(o='')),r.metadata.parsed)if(r.metadata.parsed.hasOwnProperty(u))switch(u.toLowerCase()){case"doctype":break;case"title":i=""+r.metadata.parsed.title+"\n";break;case"charset":o="html"===n||"html5"===n?'\n':'\n';break;case"language":case"lang":s=' lang="'+r.metadata.parsed[u]+'"',c+='\n';break;default:c+='\n'}return e=a+"\n\n"+i+o+c+"\n\n"+e.trim()+"\n\n",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/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,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="
    "+(o=(o=(o=i.subParser("detab")(o,t,r)).replace(/^\n+/g,"")).replace(/\n+$/g,""))+s+"
    ",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"}),"]*>","","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]*>)","im"),u="<"+n[o]+"\\b[^>]*>",l="";-1!==(s=i.helper.regexIndexOf(e,c));){var d=i.helper.splitAtIndex(e,s),f=i.helper.replaceRecursiveRegExp(d[1],a,u,l,"im");if(f===d[1])break;e=d[0].concat(f)}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]*>\\s*]*>","^ {0,3}\\s*
    ","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)+'"',u=""+o+"";return i.subParser("hashBlock")(u,t,r)}))).replace(o,(function(e,a){var o=i.subParser("spanGamut")(a,t,r),s=t.noHeaderId?"":' id="'+c(a)+'"',u=n+1,l=""+o+"";return i.subParser("hashBlock")(l,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 u=i.subParser("spanGamut")(s,t,r),l=t.noHeaderId?"":' id="'+c(o)+'"',d=n-1+a.length,f=""+u+"";return i.subParser("hashBlock")(f,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")("
    ",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,u){var l=r.gUrls,d=r.gTitles,f=r.gDimensions;if(n=n.toLowerCase(),u||(u=""),e.search(/\(? ?(['"].*['"])?\)$/m)>-1)a="";else if(""===a||null===a){if(""!==n&&null!==n||(n=t.toLowerCase().replace(/ ?\n/g," ")),a="#"+n,i.helper.isUndefined(l[n]))return e;a=l[n],i.helper.isUndefined(d[n])||(u=d[n]),i.helper.isUndefined(f[n])||(o=f[n].width,s=f[n].height)}t=t.replace(/"/g,""").replace(i.helper.regexes.asteriskDashAndColon,i.helper.escapeCharactersCallback);var h=''+t+'"}return e=(e=(e=(e=(e=(e=r.converter._dispatch("images.before",e,t,r)).replace(/!\[([^\]]*?)] ?(?:\n *)?\[([\s\S]*?)]()()()()()/g,n)).replace(/!\[([^\]]*?)][ \t]*()\([ \t]??(?: =([*\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]??(?: =([*\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,"","")}))).replace(/\b__(\S[\s\S]*?)__\b/g,(function(e,t){return n(t,"","")}))).replace(/\b_(\S[\s\S]*?)_\b/g,(function(e,t){return n(t,"","")})):(e=(e=e.replace(/___(\S[\s\S]*?)___/g,(function(e,t){return/\S$/.test(t)?n(t,"",""):e}))).replace(/__(\S[\s\S]*?)__/g,(function(e,t){return/\S$/.test(t)?n(t,"",""):e}))).replace(/_([^\s_][\s\S]*?)_/g,(function(e,t){return/\S$/.test(t)?n(t,"",""):e})),e=t.literalMidWordAsterisks?(e=(e=e.replace(/([^*]|^)\B\*\*\*(\S[\s\S]*?)\*\*\*\B(?!\*)/g,(function(e,t,r){return n(r,t+"","")}))).replace(/([^*]|^)\B\*\*(\S[\s\S]*?)\*\*\B(?!\*)/g,(function(e,t,r){return n(r,t+"","")}))).replace(/([^*]|^)\B\*(\S[\s\S]*?)\*\B(?!\*)/g,(function(e,t,r){return n(r,t+"","")})):(e=(e=e.replace(/\*\*\*(\S[\s\S]*?)\*\*\*/g,(function(e,t){return/\S$/.test(t)?n(t,"",""):e}))).replace(/\*\*(\S[\s\S]*?)\*\*/g,(function(e,t){return/\S$/.test(t)?n(t,"",""):e}))).replace(/\*([^\s*][\s\S]*?)\*/g,(function(e,t){return/\S$/.test(t)?n(t,"",""):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,u,l){l=l&&""!==l.trim();var d=i.subParser("outdent")(c,t,r),f="";return u&&t.tasklists&&(f=' class="task-list-item" style="list-style-type: none;"',d=d.replace(/^[ \t]*\[(x|X| )?]/m,(function(){var e='-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=""+(d=d.replace("¨A",""))+"\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,u="";if(-1!==e.search(c))!function t(l){var d=l.search(c),f=a(e,r);-1!==d?(u+="\n\n<"+r+f+">\n"+n(l.slice(0,d),!!i)+"\n",c="ul"===(r="ul"===r?"ol":"ul")?o:s,t(l.slice(d))):u+="\n\n<"+r+f+">\n"+n(l,!!i)+"\n"}(e);else{var l=a(e,r);u="\n\n<"+r+l+">\n"+n(e,!!i)+"\n"}return u}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=0?a.push(c):c.search(/\S/)>=0&&(c=(c=i.subParser("spanGamut")(c,t,r)).replace(/^([ \t]*)/g,"

    "),c+="

    ",a.push(c))}for(o=a.length,s=0;s]*>\s*]*>/.test(l)&&(d=!0)}a[s]=l}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,"
    \n")):e=e.replace(/ +\n/g,"
    \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)),""+e+""}(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,u){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+u:(u&&(r.gTitles[n]=u.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]*?(?: =([*\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""+i.subParser("spanGamut")(e,t,r)+"\n"}function a(e){var a,o=e.split("\n");for(a=0;a"+(c=i.subParser("spanGamut")(c,t,r))+"\n"));for(a=0;a\n\n\n",a=0;a\n";for(var i=0;i\n"}return r+="\n\n"}(p,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""+t+""}))).replace(/\b__(\S[\s\S]*?)__\b/g,(function(e,t){return""+t+""})):(e=e.replace(/___(\S[\s\S]*?)___/g,(function(e,t){return/\S$/.test(t)?""+t+"":e}))).replace(/__(\S[\s\S]*?)__/g,(function(e,t){return/\S$/.test(t)?""+t+"":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 ")})),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",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",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"+t.preList[r]+""})),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;otr>th"),c=e.querySelectorAll("tbody>tr");for(r=0;rp&&(p=g)}for(r=0;r/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)},27:function(e,t){!function(){e.exports=this.wp.hooks}()},29:function(e,t){!function(){e.exports=this.wp.dom}()},32:function(e,t,r){"use strict";function n(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}r.d(t,"a",(function(){return n}))},33:function(e,t,r){"use strict";function n(e){if(Array.isArray(e))return e}r.d(t,"a",(function(){return n}))},34:function(e,t,r){"use strict";function n(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}r.d(t,"a",(function(){return n}))},36:function(e,t){!function(){e.exports=this.wp.blob}()},366:function(e,t,r){"use strict";r.r(t);var n={};r.r(n),r.d(n,"getBlockTypes",(function(){return k})),r.d(n,"getBlockType",(function(){return w})),r.d(n,"getBlockStyles",(function(){return y})),r.d(n,"__experimentalGetBlockPatterns",(function(){return j})),r.d(n,"__experimentalGetDefaultBlockPattern",(function(){return O})),r.d(n,"getCategories",(function(){return T})),r.d(n,"getDefaultBlockName",(function(){return x})),r.d(n,"getFreeformFallbackBlockName",(function(){return C})),r.d(n,"getUnregisteredFallbackBlockName",(function(){return A})),r.d(n,"getGroupingBlockName",(function(){return S})),r.d(n,"getChildBlockNames",(function(){return E})),r.d(n,"getBlockSupport",(function(){return N})),r.d(n,"hasBlockSupport",(function(){return P})),r.d(n,"isMatchingSearchTerm",(function(){return B})),r.d(n,"hasChildBlocks",(function(){return M})),r.d(n,"hasChildBlocksWithInserterSupport",(function(){return L}));var a={};r.r(a),r.d(a,"addBlockTypes",(function(){return z})),r.d(a,"removeBlockTypes",(function(){return H})),r.d(a,"addBlockStyles",(function(){return D})),r.d(a,"removeBlockStyles",(function(){return I})),r.d(a,"__experimentalAddBlockPatterns",(function(){return R})),r.d(a,"__experimentalRemoveBlockPatterns",(function(){return V})),r.d(a,"setDefaultBlockName",(function(){return F})),r.d(a,"setFreeformFallbackBlockName",(function(){return $})),r.d(a,"setUnregisteredFallbackBlockName",(function(){return q})),r.d(a,"setGroupingBlockName",(function(){return U})),r.d(a,"setCategories",(function(){return G})),r.d(a,"updateCategory",(function(){return K}));var i=r(4),o=r(9),s=r(18),c=r(7),u=r(2),l=r(1),d=[{slug:"common",title:Object(l.__)("Common Blocks")},{slug:"formatting",title:Object(l.__)("Formatting")},{slug:"layout",title:Object(l.__)("Layout Elements")},{slug:"widgets",title:Object(l.__)("Widgets")},{slug:"embed",title:Object(l.__)("Embeds")},{slug:"reusable",title:Object(l.__)("Reusable Blocks")}];function f(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1?arguments[1]:void 0;switch(r.type){case"REMOVE_BLOCK_TYPES":return-1!==r.names.indexOf(t)?null:t;case e:return r.name||null}return t}}var h=f("SET_DEFAULT_BLOCK_NAME"),p=f("SET_FREEFORM_FALLBACK_BLOCK_NAME"),g=f("SET_UNREGISTERED_FALLBACK_BLOCK_NAME"),m=f("SET_GROUPING_BLOCK_NAME");var b=Object(i.combineReducers)({blockTypes:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_BLOCK_TYPES":return Object(c.a)({},e,Object(u.keyBy)(Object(u.map)(t.blockTypes,(function(e){return Object(u.omit)(e,"styles ")})),"name"));case"REMOVE_BLOCK_TYPES":return Object(u.omit)(e,t.names)}return e},blockStyles:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_BLOCK_TYPES":return Object(c.a)({},e,Object(u.mapValues)(Object(u.keyBy)(t.blockTypes,"name"),(function(t){return Object(u.uniqBy)([].concat(Object(s.a)(Object(u.get)(t,["styles"],[])),Object(s.a)(Object(u.get)(e,[t.name],[]))),(function(e){return e.name}))})));case"ADD_BLOCK_STYLES":return Object(c.a)({},e,Object(o.a)({},t.blockName,Object(u.uniqBy)([].concat(Object(s.a)(Object(u.get)(e,[t.blockName],[])),Object(s.a)(t.styles)),(function(e){return e.name}))));case"REMOVE_BLOCK_STYLES":return Object(c.a)({},e,Object(o.a)({},t.blockName,Object(u.filter)(Object(u.get)(e,[t.blockName],[]),(function(e){return-1===t.styleNames.indexOf(e.name)}))))}return e},blockPatterns:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_BLOCK_TYPES":return Object(c.a)({},e,Object(u.mapValues)(Object(u.keyBy)(t.blockTypes,"name"),(function(t){return Object(u.uniqBy)([].concat(Object(s.a)(Object(u.get)(t,["patterns"],[])),Object(s.a)(Object(u.get)(e,[t.name],[]))),(function(e){return e.name}))})));case"ADD_BLOCK_PATTERNS":return Object(c.a)({},e,Object(o.a)({},t.blockName,Object(u.uniqBy)([].concat(Object(s.a)(Object(u.get)(e,[t.blockName],[])),Object(s.a)(t.patterns)),(function(e){return e.name}))));case"REMOVE_BLOCK_PATTERNS":return Object(c.a)({},e,Object(o.a)({},t.blockName,Object(u.filter)(Object(u.get)(e,[t.blockName],[]),(function(e){return-1===t.patternNames.indexOf(e.name)}))))}return e},defaultBlockName:h,freeformFallbackBlockName:p,unregisteredFallbackBlockName:g,groupingBlockName:m,categories:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_CATEGORIES":return t.categories||[];case"UPDATE_CATEGORY":if(!t.category||Object(u.isEmpty)(t.category))return e;if(Object(u.find)(e,["slug",t.slug]))return Object(u.map)(e,(function(e){return e.slug===t.slug?Object(c.a)({},e,t.category):e}))}return e}}),_=r(38),v=function(e,t){return"string"==typeof t?w(e,t):t},k=Object(_.a)((function(e){return Object.values(e.blockTypes)}),(function(e){return[e.blockTypes]}));function w(e,t){return e.blockTypes[t]}function y(e,t){return e.blockStyles[t]}function j(e,t){return e.blockPatterns[t]}function O(e,t){var r=j(e,t);return Object(u.findLast)(r,"isDefault")||Object(u.first)(r)}function T(e){return e.categories}function x(e){return e.defaultBlockName}function C(e){return e.freeformFallbackBlockName}function A(e){return e.unregisteredFallbackBlockName}function S(e){return e.groupingBlockName}var E=Object(_.a)((function(e,t){return Object(u.map)(Object(u.filter)(e.blockTypes,(function(e){return Object(u.includes)(e.parent,t)})),(function(e){return e.name}))}),(function(e){return[e.blockTypes]})),N=function(e,t,r,n){var a=v(e,t);return Object(u.get)(a,["supports",r],n)};function P(e,t,r,n){return!!N(e,t,r,n)}function B(e,t,r){var n=v(e,t),a=Object(u.flow)([u.deburr,function(e){return e.toLowerCase()},function(e){return e.trim()}]),i=a(r),o=Object(u.flow)([a,function(e){return Object(u.includes)(e,i)}]);return o(n.title)||Object(u.some)(n.keywords,o)||o(n.category)}var M=function(e,t){return E(e,t).length>0},L=function(e,t){return Object(u.some)(E(e,t),(function(t){return P(e,t,"inserter",!0)}))};function z(e){return{type:"ADD_BLOCK_TYPES",blockTypes:Object(u.castArray)(e)}}function H(e){return{type:"REMOVE_BLOCK_TYPES",names:Object(u.castArray)(e)}}function D(e,t){return{type:"ADD_BLOCK_STYLES",styles:Object(u.castArray)(t),blockName:e}}function I(e,t){return{type:"REMOVE_BLOCK_STYLES",styleNames:Object(u.castArray)(t),blockName:e}}function R(e,t){return{type:"ADD_BLOCK_PATTERNS",patterns:Object(u.castArray)(t),blockName:e}}function V(e,t){return{type:"REMOVE_BLOCK_PATTERNS",patternNames:Object(u.castArray)(t),blockName:e}}function F(e){return{type:"SET_DEFAULT_BLOCK_NAME",name:e}}function $(e){return{type:"SET_FREEFORM_FALLBACK_BLOCK_NAME",name:e}}function q(e){return{type:"SET_UNREGISTERED_FALLBACK_BLOCK_NAME",name:e}}function U(e){return{type:"SET_GROUPING_BLOCK_NAME",name:e}}function G(e){return{type:"SET_CATEGORIES",categories:e}}function K(e,t){return{type:"UPDATE_CATEGORY",slug:e,category:t}}Object(i.registerStore)("core/blocks",{reducer:b,selectors:n,actions:a});var W=r(66),Y=r.n(W),Z=r(27),Q=r(48),X=r.n(Q),J=r(0),ee=["#191e23","#f8f9f9"];function te(e){var t=_e();if(e.name!==t)return!1;te.block&&te.block.name===t||(te.block=Ne(t));var r=te.block,n=ve(t);return Object(u.every)(n.attributes,(function(t,n){return r.attributes[n]===e.attributes[n]}))}function re(e){return!!e&&(Object(u.isString)(e)||Object(J.isValidElement)(e)||Object(u.isFunction)(e)||e instanceof J.Component)}function ne(e){if(re(e))return{src:e};if(Object(u.has)(e,["background"])){var t=X()(e.background);return Object(c.a)({},e,{foreground:e.foreground?e.foreground:Object(Q.mostReadable)(t,ee,{includeFallbackColors:!0,level:"AA",size:"large"}).toHexString(),shadowColor:t.setAlpha(.3).toRgbString()})}return e}function ae(e){return Object(u.isString)(e)?ve(e):e}var ie=["attributes","supports","save","migrate","isEligible"],oe={icon:"block-default",attributes:{},keywords:[],save:function(){return null}},se={};function ce(e){se=Object(c.a)({},se,e)}function ue(e,t){if(t=Object(c.a)({name:e},oe,Object(u.get)(se,e),t),"string"==typeof e)if(/^[a-z][a-z0-9-]*\/[a-z][a-z0-9-]*$/.test(e))if(Object(i.select)("core/blocks").getBlockType(e))console.error('Block "'+e+'" is already registered.');else{var r=Object(c.a)({},t);if((t=Object(Z.applyFilters)("blocks.registerBlockType",t,e)).deprecated&&(t.deprecated=t.deprecated.map((function(t){return Object(u.pick)(Object(Z.applyFilters)("blocks.registerBlockType",Object(c.a)({},Object(u.omit)(r,ie),t),e),ie)}))),Object(u.isPlainObject)(t))if(Object(u.isFunction)(t.save))if("edit"in t&&!Object(u.isFunction)(t.edit))console.error('The "edit" property must be a valid function.');else if("category"in t)if("category"in t&&!Object(u.some)(Object(i.select)("core/blocks").getCategories(),{slug:t.category}))console.error('The block "'+e+'" must have a registered category.');else if("title"in t&&""!==t.title)if("string"==typeof t.title){if(t.icon=ne(t.icon),re(t.icon.src))return Object(i.dispatch)("core/blocks").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 "'+e+'" must have a title.');else console.error('The block "'+e+'" must have a category.');else console.error('The "save" property must be a valid function.');else console.error("Block settings must be a valid object.")}else 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");else console.error("Block names must be strings.")}function le(e){var t=Object(i.select)("core/blocks").getBlockType(e);if(t)return Object(i.dispatch)("core/blocks").removeBlockTypes(e),t;console.error('Block "'+e+'" is not registered.')}function de(e){Object(i.dispatch)("core/blocks").setFreeformFallbackBlockName(e)}function fe(){return Object(i.select)("core/blocks").getFreeformFallbackBlockName()}function he(){return Object(i.select)("core/blocks").getGroupingBlockName()}function pe(e){Object(i.dispatch)("core/blocks").setUnregisteredFallbackBlockName(e)}function ge(){return Object(i.select)("core/blocks").getUnregisteredFallbackBlockName()}function me(e){Object(i.dispatch)("core/blocks").setDefaultBlockName(e)}function be(e){Object(i.dispatch)("core/blocks").setGroupingBlockName(e)}function _e(){return Object(i.select)("core/blocks").getDefaultBlockName()}function ve(e){return Object(i.select)("core/blocks").getBlockType(e)}function ke(){return Object(i.select)("core/blocks").getBlockTypes()}function we(e,t,r){return Object(i.select)("core/blocks").getBlockSupport(e,t,r)}function ye(e,t,r){return Object(i.select)("core/blocks").hasBlockSupport(e,t,r)}function je(e){return"core/block"===e.name}var Oe=function(e){return Object(i.select)("core/blocks").getChildBlockNames(e)},Te=function(e){return Object(i.select)("core/blocks").hasChildBlocks(e)},xe=function(e){return Object(i.select)("core/blocks").hasChildBlocksWithInserterSupport(e)},Ce=function(e,t){Object(i.dispatch)("core/blocks").addBlockStyles(e,t)},Ae=function(e,t){Object(i.dispatch)("core/blocks").removeBlockStyles(e,t)},Se=function(e,t){Object(i.dispatch)("core/blocks").__experimentalAddBlockPatterns(e,t)},Ee=function(e,t){Object(i.dispatch)("core/blocks").__experimentalRemoveBlockPatterns(e,t)};function Ne(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],n=ve(e),a=Object(u.reduce)(n.attributes,(function(e,r,n){var 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}),{});return{clientId:Y()(),name:e,isValid:!0,attributes:a,innerBlocks:r}}function Pe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=Y()();return Object(c.a)({},e,{clientId:n,attributes:Object(c.a)({},e.attributes,t),innerBlocks:r||e.innerBlocks.map((function(e){return Pe(e)}))})}var Be=function(e,t,r){if(Object(u.isEmpty)(r))return!1;var n=r.length>1,a=Object(u.first)(r).name;if(!(ze(e)||!n||e.isMultiBlock))return!1;if(!ze(e)&&!Object(u.every)(r,{name:a}))return!1;if(!("block"===e.type))return!1;var i=Object(u.first)(r);if(!("from"!==t||-1!==e.blocks.indexOf(i.name)||ze(e)))return!1;if(!n&&He(i.name)&&He(e.blockName))return!1;if(Object(u.isFunction)(e.isMatch)){var o=e.isMultiBlock?r.map((function(e){return e.attributes})):i.attributes;if(!e.isMatch(o))return!1}return!0},Me=function(e){if(Object(u.isEmpty)(e))return[];var t=ke();return Object(u.filter)(t,(function(t){return!!Re(Ve("from",t.name),(function(t){return Be(t,"from",e)}))}))},Le=function(e){if(Object(u.isEmpty)(e))return[];var t=Ve("to",ve(Object(u.first)(e).name).name),r=Object(u.filter)(t,(function(t){return t&&Be(t,"to",e)}));return Object(u.flatMap)(r,(function(e){return e.blocks})).map((function(e){return ve(e)}))},ze=function(e){return e&&"block"===e.type&&Array.isArray(e.blocks)&&e.blocks.includes("*")},He=function(e){return e===he()},De=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(!e.length)return!1;var t=e[0].name;return Object(u.every)(e,["name",t])};function Ie(e){if(Object(u.isEmpty)(e))return[];var t=Me(e),r=Le(e);return Object(u.uniq)([].concat(Object(s.a)(t),Object(s.a)(r)))}function Re(e,t){for(var r=Object(Z.createHooks)(),n=function(n){var a=e[n];t(a)&&r.addFilter("transform","transform/"+n.toString(),(function(e){return e||a}),a.priority)},a=0;a1,a=r[0],i=a.name;if(!He(t)&&n&&!De(r))return null;var o,s=Ve("from",t),l=Re(Ve("to",i),(function(e){return"block"===e.type&&(ze(e)||-1!==e.blocks.indexOf(t))&&(!n||e.isMultiBlock)}))||Re(s,(function(e){return"block"===e.type&&(ze(e)||-1!==e.blocks.indexOf(i))&&(!n||e.isMultiBlock)}));if(!l)return null;if(o=l.isMultiBlock?Object(u.has)(l,"__experimentalConvert")?l.__experimentalConvert(r):l.transform(r.map((function(e){return e.attributes})),r.map((function(e){return e.innerBlocks}))):Object(u.has)(l,"__experimentalConvert")?l.__experimentalConvert(a):l.transform(a.attributes,a.innerBlocks),!Object(u.isObjectLike)(o))return null;if((o=Object(u.castArray)(o)).some((function(e){return!ve(e.name)})))return null;var d=Object(u.findIndex)(o,(function(e){return e.name===t}));return d<0?null:o.map((function(t,r){var n=Object(c.a)({},t,{clientId:r===d?a.clientId:t.clientId});return Object(Z.applyFilters)("blocks.switchToBlockType.transformedBlock",n,e)}))}var $e=function e(t,r){return Ne(t,r.attributes,Object(u.map)(r.innerBlocks,(function(t){return e(t.name,t)})))},qe=r(22);var Ue,Ge=function(){return Ue||(Ue=document.implementation.createHTMLDocument("")),Ue};function Ke(e,t){if(t){if("string"==typeof e){var r=Ge();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]=Ke(e,t[n]),r}),{})}}function We(e,t){return 1===arguments.length&&(t=e,e=void 0),function(r){var n=r;if(e&&(n=r.querySelector(e)),n)return function(e,t){for(var r,n=t.split(".");r=n.shift();){if(!(r in e))return;e=e[r]}return e}(n,t)}}var Ye=r(68),Ze=r(220),Qe=r(33),Xe=r(32),Je=r(34);var et=r(13),tt=r(12),rt=/^#[xX]([A-Fa-f0-9]+)$/,nt=/^#([0-9]+)$/,at=/^([A-Za-z0-9]+)$/,it=(function(){function e(e){this.named=e}e.prototype.parse=function(e){if(e){var t=e.match(rt);return t?String.fromCharCode(parseInt(t[1],16)):(t=e.match(nt))?String.fromCharCode(parseInt(t[1],10)):(t=e.match(at))?this.named[t[1]]:void 0}}}(),/[\t\n\f ]/),ot=/[A-Za-z]/,st=/\r\n?/g;function ct(e){return it.test(e)}function ut(e){return ot.test(e)}var lt=function(){function e(e,t){this.delegate=e,this.entityParser=t,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("\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.toLowerCase();"<"!==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||ut(e))&&(this.transitionTo("tagName"),this.tagNameBuffer="",this.delegate.beginStartTag(),this.appendToTagName(e))},markupDeclarationOpen:function(){"-"===this.consume()&&"-"===this.peek()&&(this.consume(),this.transitionTo("commentStart"),this.delegate.beginComment())},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();ct(e)?this.transitionTo("beforeAttributeName"):"/"===e?this.transitionTo("selfClosingStartTag"):">"===e?(this.delegate.finishTag(),this.transitionTo("beforeData")):this.appendToTagName(e)},endTagName:function(){var e=this.consume();ct(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();ct(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();ct(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();ct(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();ct(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();ct(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();ct(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||ut(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(st,"\n")}(e);this.index"!==this.input.substring(this.index,this.index+8)||"style"===e&&""!==this.input.substring(this.index,this.index+8)||"script"===e&&"<\/script>"!==this.input.substring(this.index,this.index+9)},e}(),dt=function(){function e(e,t){void 0===t&&(t={}),this.options=t,this.token=null,this.startLine=1,this.startColumn=0,this.tokens=[],this.tokenizer=new lt(this,e),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;t1?r-1:0),a=1;a2&&void 0!==arguments[2]?arguments[2]:[],n=ae(e),a=n.save;if(a.prototype instanceof J.Component){var i=new a({attributes:t});a=i.render.bind(i)}var o=a({attributes:t,innerBlocks:r});if(Object(u.isObject)(o)&&Object(Z.hasFilter)("blocks.getSaveContent.extraProps")){var s=Object(Z.applyFilters)("blocks.getSaveContent.extraProps",Object(c.a)({},o.props),n,t);gt()(s,o.props)||(o=Object(J.cloneElement)(o,s))}return o=Object(Z.applyFilters)("blocks.getSaveElement",o,n,t),Object(J.createElement)(yt,{innerBlocks:r},o)}function xt(e,t,r){var n=ae(e);return Object(J.renderToString)(Tt(n,t,r))}function Ct(e){var t=e.originalContent;if(e.isValid||e.innerBlocks.length)try{t=xt(e.name,e.attributes,e.innerBlocks)}catch(e){}return t}function At(e,t,r){var n=Object(u.isEmpty)(t)?"":function(e){return JSON.stringify(e).replace(/--/g,"\\u002d\\u002d").replace(//g,"\\u003e").replace(/&/g,"\\u0026").replace(/\\"/g,"\\u0022")}(t)+" ",a=Object(u.startsWith)(e,"core/")?e.slice(5):e;return r?"\x3c!-- wp:".concat(a," ").concat(n,"--\x3e\n")+r+"\n\x3c!-- /wp:".concat(a," --\x3e"):"\x3c!-- wp:".concat(a," ").concat(n,"/--\x3e")}function St(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isInnerBlocks,r=void 0!==t&&t,n=e.name,a=Ct(e);return n===ge()||!r&&n===fe()?a:At(n,function(e,t){return Object(u.reduce)(e.attributes,(function(e,r,n){var a=t[n];return void 0===a?e:void 0!==r.source?e:"default"in r&&r.default===a?e:(e[n]=a,e)}),{})}(ve(n),e.attributes),a)}function Et(e,t){return Object(u.castArray)(e).map((function(e){return St(e,t)})).join("\n\n")}var Nt=/[\t\n\r\v\f ]+/g,Pt=/^[\t\n\r\v\f ]*$/,Bt=/^url\s*\(['"\s]*(.*?)['"\s]*\)$/,Mt=["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"],Lt=[].concat(Mt,["autocapitalize","autocomplete","charset","contenteditable","crossorigin","decoding","dir","draggable","enctype","formenctype","formmethod","http-equiv","inputmode","kind","method","preload","scope","shape","spellcheck","translate","type","wrap"]),zt=[u.identity,function(e){return Vt(e).join(" ")}],Ht=/^[\da-z]+$/i,Dt=/^#\d+$/,It=/^#x[\da-f]+$/i;var Rt=function(){function e(){Object(et.a)(this,e)}return Object(tt.a)(e,[{key:"parse",value:function(e){if(t=e,Ht.test(t)||Dt.test(t)||It.test(t))return Object(ft.decodeEntities)("&"+e+";");var t}}]),e}();function Vt(e){return e.trim().split(Nt)}function Ft(e){return e.attributes.filter((function(e){var t=Object(qe.a)(e,2),r=t[0];return t[1]||0===r.indexOf("data-")||Object(u.includes)(Lt,r)}))}function $t(e,t){for(var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ht(),n=e.chars,a=t.chars,i=0;i2&&void 0!==arguments[2]?arguments[2]:ht();if(e.length!==t.length)return r.warning("Expected attributes %o, instead saw %o.",t,e),!1;var n=[e,t].map(u.fromPairs),a=Object(qe.a)(n,2),i=a[0],o=a[1];for(var s in i){if(!o.hasOwnProperty(s))return r.warning("Encountered unexpected attribute `%s`.",s),!1;var c=i[s],l=o[s],d=Gt[s];if(d){if(!d(c,l))return r.warning("Expected attribute `%s` of value `%s`, saw `%s`.",s,l,c),!1}else if(c!==l)return r.warning("Expected attribute `%s` of value `%s`, saw `%s`.",s,l,c),!1}return!0}var Wt={StartTag:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ht();return e.tagName!==t.tagName?(r.warning("Expected tag name `%s`, instead saw `%s`.",t.tagName,e.tagName),!1):Kt.apply(void 0,Object(s.a)([e,t].map(Ft)).concat([r]))},Chars:$t,Comment:$t};function Yt(e){for(var t;t=e.shift();){if("Chars"!==t.type)return t;if(!Pt.test(t.chars))return t}}function Zt(e,t){return!!e.selfClosing&&!(!t||t.tagName!==e.tagName||"EndTag"!==t.type)}function Qt(e,t){var r,n,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ht(),i=[e,t].map((function(e){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ht();try{return new dt(new Rt).tokenize(e)}catch(r){t.warning("Malformed HTML detected: %s",e)}return null}(e,a)})),o=Object(qe.a)(i,2),s=o[0],c=o[1];if(!s||!c)return!1;for(;r=Yt(s);){if(!(n=Yt(c)))return a.warning("Expected end of content, instead saw %o.",r),!1;if(r.type!==n.type)return a.warning("Expected token of type `%s` (%o), instead saw `%s` (%o).",n.type,n,r.type,r),!1;var u=Wt[r.type];if(u&&!u(r,n,a))return!1;Zt(r,c[0])?Yt(c):Zt(n,s[0])&&Yt(s)}return!(n=Yt(c))||(a.warning("Expected %o, instead saw end of content.",n),!1)}function Xt(e,t,r){var n,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){var e=[],t=ht();return{error:function(){for(var r=arguments.length,n=new Array(r),a=0;a2&&void 0!==arguments[2]?arguments[2]:{},n=ae(e),a=Object(u.mapValues)(n.attributes,(function(e,n){return gr(n,e,t,r)}));return Object(Z.applyFilters)("blocks.getBlockAttributes",a,n,t,r)}function br(e){var t=e.blockName,r=e.attrs,n=e.innerBlocks,a=void 0===n?[]:n,i=e.innerHTML,o=e.innerContent,l=fe(),d=ge()||l;r=r||{},i=i.trim();var f=t||l;"core/cover-image"===f&&(f="core/cover"),"core/text"!==f&&"core/cover-text"!==f||(f="core/paragraph"),f===l&&(i=Object(Ye.autop)(i).trim());var h=ve(f);if(!h){var p={attrs:r,blockName:t,innerBlocks:a,innerContent:o},g=_r(p,{isCommentDelimited:!1}),m=_r(p,{isCommentDelimited:!0});f&&(i=m),r={originalName:t,originalContent:m,originalUndelimitedContent:g},h=ve(f=d)}a=(a=a.map(br)).filter((function(e){return e}));var b=f===l||f===d;if(h&&(i||!b)){var _=Ne(f,mr(h,i,r),a);if(!b){var v=Xt(h,_.attributes,i),k=v.isValid,w=v.validationIssues;_.isValid=k,_.validationIssues=w}return _.originalContent=_.originalContent||i,(_=function(e,t){var r=ve(e.name),n=r.deprecated;if(!n||!n.length)return e;for(var a=e,i=a.originalContent,o=a.innerBlocks,l=0;l0&&(_.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",h.name,h,xt(h,_.attributes),_.originalContent):_.validationIssues.forEach((function(e){var t=e.log,r=e.args;return t.apply(void 0,Object(s.a)(r))}))),_}}function _r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.isCommentDelimited,n=void 0===r||r,a=e.blockName,i=e.attrs,o=void 0===i?{}:i,s=e.innerBlocks,c=void 0===s?[]:s,u=e.innerContent,l=0,d=(void 0===u?[]:u).map((function(e){return null!==e?e:_r(c[l++],t)})).join("\n").replace(/\n+/g,"\n").trim();return n?At(a,o,d):d}var vr,kr=(vr=Ze.parse,function(e){return vr(e).reduce((function(e,t){var r=br(t);return r&&e.push(r),e}),[])}),wr=kr,yr=r(29),jr={strong:{},em:{},s:{},del:{},ins:{},a:{attributes:["href","target","rel"]},code:{},abbr:{attributes:["title"]},sub:{},sup:{},br:{},"#text":{}};function Or(){return jr}function Tr(e){var t=e.nodeName.toLowerCase();return Or().hasOwnProperty(t)||"span"===t}["strong","em","s","del","ins","a","code","abbr","sub","sup"].forEach((function(e){jr[e].children=Object(u.omit)(jr,e)}));var xr=window.Node,Cr=xr.ELEMENT_NODE,Ar=xr.TEXT_NODE;function Sr(e){var t=e.map((function(e){var t=e.isMatch,r=e.blockName,n=e.schema,a=ye(r,"anchor");return a||t?Object(u.mapValues)(n,(function(e){var r=e.attributes||[];return a&&(r=[].concat(Object(s.a)(r),["id"])),Object(c.a)({},e,{attributes:r,isMatch:t||void 0})})):n}));return u.mergeWith.apply(void 0,[{}].concat(Object(s.a)(t),[function(e,t,r){switch(r){case"children":return"*"===e||"*"===t?"*":Object(c.a)({},e,t);case"attributes":case"require":return[].concat(Object(s.a)(e||[]),Object(s.a)(t||[]));case"isMatch":if(!e||!t)return;return function(){return e.apply(void 0,arguments)||t.apply(void 0,arguments)}}}]))}function Er(e){return!e.hasChildNodes()||Array.from(e.childNodes).every((function(e){return e.nodeType===Ar?!e.nodeValue.trim():e.nodeType!==Cr||("BR"===e.nodeName||!e.hasAttributes()&&Er(e))}))}function Nr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0,n=document.implementation.createHTMLDocument("");return n.body.innerHTML=e,function e(t,r,n,a){Array.from(t).forEach((function(t){e(t.childNodes,r,n,a),r.forEach((function(e){n.contains(t)&&e(t,n,a)}))}))}(n.body.childNodes,t,n,r),n.body.innerHTML}function Pr(e,t,r){var n=document.implementation.createHTMLDocument("");return n.body.innerHTML=e,function e(t,r,n,a){Array.from(t).forEach((function(t){var i=t.nodeName.toLowerCase();if(!n.hasOwnProperty(i)||n[i].isMatch&&!n[i].isMatch(t))e(t.childNodes,r,n,a),a&&!Tr(t)&&t.nextElementSibling&&Object(yr.insertAfter)(r.createElement("br"),t),Object(yr.unwrap)(t);else if(t.nodeType===Cr){var o=n[i],s=o.attributes,c=void 0===s?[]:s,l=o.classes,d=void 0===l?[]:l,f=o.children,h=o.require,p=void 0===h?[]:h,g=o.allowEmpty;if(f&&!g&&Er(t))return void Object(yr.remove)(t);if(t.hasAttributes()&&(Array.from(t.attributes).forEach((function(e){var r=e.name;"class"===r||Object(u.includes)(c,r)||t.removeAttribute(r)})),t.classList&&t.classList.length)){var m=d.map((function(e){return"string"==typeof e?function(t){return t===e}:e instanceof RegExp?function(t){return e.test(t)}:u.noop}));Array.from(t.classList).forEach((function(e){m.some((function(t){return t(e)}))||t.classList.remove(e)})),t.classList.length||t.removeAttribute("class")}if(t.hasChildNodes()){if("*"===f)return;if(f)p.length&&!t.querySelector(p.join(","))?(e(t.childNodes,r,n,a),Object(yr.unwrap)(t)):"BODY"===t.parentNode.nodeName&&Tr(t)?(e(t.childNodes,r,n,a),Array.from(t.childNodes).some((function(e){return!Tr(e)}))&&Object(yr.unwrap)(t)):e(t.childNodes,r,f,a);else for(;t.firstChild;)Object(yr.remove)(t.firstChild)}}}))}(n.body.childNodes,n,t,r),n.body.innerHTML}var Br=window.Node,Mr=Br.ELEMENT_NODE,Lr=Br.TEXT_NODE,zr=function(e){var t=document.implementation.createHTMLDocument(""),r=document.implementation.createHTMLDocument(""),n=t.body,a=r.body;for(n.innerHTML=e;n.firstChild;){var i=n.firstChild;i.nodeType===Lr?i.nodeValue.trim()?(a.lastChild&&"P"===a.lastChild.nodeName||a.appendChild(r.createElement("P")),a.lastChild.appendChild(i)):n.removeChild(i):i.nodeType===Mr?"BR"===i.nodeName?(i.nextSibling&&"BR"===i.nextSibling.nodeName&&(a.appendChild(r.createElement("P")),n.removeChild(i.nextSibling)),a.lastChild&&"P"===a.lastChild.nodeName&&a.lastChild.hasChildNodes()?a.lastChild.appendChild(i):n.removeChild(i)):"P"===i.nodeName?Er(i)?n.removeChild(i):a.appendChild(i):Tr(i)?(a.lastChild&&"P"===a.lastChild.nodeName||a.appendChild(r.createElement("P")),a.lastChild.appendChild(i)):a.appendChild(i):n.removeChild(i)}return a.innerHTML},Hr=window.Node.COMMENT_NODE,Dr=function(e,t){if(e.nodeType===Hr)if("nextpage"!==e.nodeValue){if(0===e.nodeValue.indexOf("more")){for(var r=e.nodeValue.slice(4).trim(),n=e,a=!1;n=n.nextSibling;)if(n.nodeType===Hr&&"noteaser"===n.nodeValue){a=!0,Object(yr.remove)(n);break}Object(yr.replace)(e,function(e,t,r){var 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(yr.replace)(e,function(e){var t=e.createElement("wp-block");return t.dataset.block="core/nextpage",t}(t))};function Ir(e){return"OL"===e.nodeName||"UL"===e.nodeName}var Rr=function(e){if(Ir(e)){var 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)}var n,a=e.parentNode;if(a&&"LI"===a.nodeName&&1===a.children.length&&!/\S/.test((n=a,Array.from(n.childNodes).map((function(e){var t=e.nodeValue;return void 0===t?"":t})).join("")))){var i=a,o=i.previousElementSibling,s=i.parentNode;o?(o.appendChild(t),s.removeChild(i)):(s.parentNode.insertBefore(t,s),s.parentNode.removeChild(s))}if(a&&Ir(a)){var c=e.previousElementSibling;c?c.appendChild(e):Object(yr.unwrap)(e)}}},Vr=function(e){"BLOCKQUOTE"===e.nodeName&&(e.innerHTML=zr(e.innerHTML))};var Fr=function(e,t,r){if(function(e,t){var r=e.nodeName.toLowerCase();return"figcaption"!==r&&!Tr(e)&&Object(u.has)(t,["figure","children",r])}(e,r)){var n=e,a=e.parentNode;(function(e,t){var r=e.nodeName.toLowerCase();return Object(u.has)(t,["figure","children","a","children",r])})(e,r)&&"A"===a.nodeName&&1===a.childNodes.length&&(n=e.parentNode);for(var i=n;i&&"P"!==i.nodeName;)i=i.parentElement;var o=t.createElement("figure");i?i.parentNode.insertBefore(o,i):n.parentNode.insertBefore(o,n),o.appendChild(n)}},$r=r(110);var qr=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=Re(Ve("from"),(function(e){return-1===n.indexOf(e.blockName)&&"shortcode"===e.type&&Object(u.some)(Object(u.castArray)(e.tag),(function(e){return Object($r.regexp)(e).test(t)}))}));if(!a)return[t];var i,o=Object(u.castArray)(a.tag),l=Object(u.find)(o,(function(e){return Object($r.regexp)(e).test(t)})),d=r;if(i=Object($r.next)(l,t,r)){var f=t.substr(0,i.index);if(r=i.index+i.content.length,!Object(u.includes)(i.shortcode.content||"","<")&&!/(\n|

    )\s*$/.test(f))return e(t,r);if(a.isMatch&&!a.isMatch(i.shortcode.attrs))return e(t,d,[].concat(Object(s.a)(n),[a.blockName]));var h=Object(u.mapValues)(Object(u.pickBy)(a.attributes,(function(e){return e.shortcode})),(function(e){return e.shortcode(i.shortcode.attrs,i)}));return[f,Ne(a.blockName,mr(Object(c.a)({},ve(a.blockName),{attributes:a.attributes}),i.shortcode.content,h))].concat(Object(s.a)(e(t.substr(r))))}return[t]},Ur=window.Node.COMMENT_NODE,Gr=function(e){e.nodeType===Ur&&Object(yr.remove)(e)};function Kr(e,t){return e.every((function(e){return function(e,t){if(Tr(e))return!0;if(!t)return!1;var r=e.nodeName.toLowerCase();return[["ul","li","ol"],["h1","h2","h3","h4","h5","h6"]].some((function(e){return 0===Object(u.difference)([r,t],e).length}))}(e,t)&&Kr(Array.from(e.children),t)}))}function Wr(e){return"BR"===e.nodeName&&e.previousSibling&&"BR"===e.previousSibling.nodeName}var Yr=function(e,t){var r=document.implementation.createHTMLDocument("");r.body.innerHTML=e;var n=Array.from(r.body.children);return!n.some(Wr)&&Kr(n,t)},Zr=function(e,t){if("SPAN"===e.nodeName&&e.style){var r=e.style,n=r.fontWeight,a=r.fontStyle,i=r.textDecorationLine,o=r.textDecoration,s=r.verticalAlign;"bold"!==n&&"700"!==n||Object(yr.wrap)(t.createElement("strong"),e),"italic"===a&&Object(yr.wrap)(t.createElement("em"),e),("line-through"===i||Object(u.includes)(o,"line-through"))&&Object(yr.wrap)(t.createElement("s"),e),"super"===s?Object(yr.wrap)(t.createElement("sup"),e):"sub"===s&&Object(yr.wrap)(t.createElement("sub"),e)}else"B"===e.nodeName?e=Object(yr.replaceTag)(e,"strong"):"I"===e.nodeName?e=Object(yr.replaceTag)(e,"em"):"A"===e.nodeName&&(e.target&&"_blank"===e.target.toLowerCase()?e.rel="noreferrer noopener":(e.removeAttribute("target"),e.removeAttribute("rel")))},Qr=function(e){"SCRIPT"!==e.nodeName&&"NOSCRIPT"!==e.nodeName&&"TEMPLATE"!==e.nodeName&&"STYLE"!==e.nodeName||e.parentNode.removeChild(e)},Xr=window.parseInt;function Jr(e){return"OL"===e.nodeName||"UL"===e.nodeName}var en=function(e,t){if("P"===e.nodeName){var r=e.getAttribute("style");if(r&&-1!==r.indexOf("mso-list")){var n=/mso-list\s*:[^;]+level([0-9]+)/i.exec(r);if(n){var a=Xr(n[1],10)-1||0,i=e.previousElementSibling;if(!i||!Jr(i)){var o=e.textContent.trim().slice(0,1),s=/[1iIaA]/.test(o),c=t.createElement(s?"ol":"ul");s&&c.setAttribute("type",o),e.parentNode.insertBefore(c,e)}var u=e.previousElementSibling,l=u.nodeName,d=t.createElement("li"),f=u;for(e.removeChild(e.firstElementChild);e.firstChild;)d.appendChild(e.firstChild);for(;a--;)Jr(f=f.lastElementChild||f)&&(f=f.lastElementChild||f);Jr(f)||(f=f.appendChild(t.createElement(l))),f.appendChild(d),e.parentNode.removeChild(e)}}}},tn=r(36),rn=window,nn=rn.atob,an=rn.File,on=function(e){if("IMG"===e.nodeName){if(0===e.src.indexOf("file:")&&(e.src=""),0===e.src.indexOf("data:")){var t,r=e.src.split(","),n=Object(qe.a)(r,2),a=n[0],i=n[1],o=a.slice(5).split(";"),s=Object(qe.a)(o,1)[0];if(!i||!s)return void(e.src="");try{t=nn(i)}catch(t){return void(e.src="")}for(var c=new Uint8Array(t.length),u=0;u]+>/,""),"INLINE"!==o){var f=r||a;if(-1!==f.indexOf("\x3c!-- wp:"))return kr(f)}if(String.prototype.normalize&&(r=r.normalize()),!a||r&&!function(e){return!/<(?!br[ />])/i.test(e)}(r)||(r=un(a),"AUTO"===o&&-1===a.indexOf("\n")&&0!==a.indexOf("

    ")&&0===r.indexOf("

    ")&&(o="INLINE")),"INLINE"===o)return gn(r);var h=qr(r),p=h.length>1;if("AUTO"===o&&!p&&Yr(r,s))return gn(r);var g=Object(u.filter)(Ve("from"),{type:"raw"}).map((function(e){return e.isMatch?e:Object(c.a)({},e,{isMatch:function(t){return e.selector&&t.matches(e.selector)}})})),m=Or(),b=Sr(g),_=Object(u.compact)(Object(u.flatMap)(h,(function(e){if("string"!=typeof e)return e;var t=[dn,en,Qr,Rr,on,Zr,Dr,Gr,Fr,Vr];d||t.unshift(ln);var r=Object(c.a)({},b,m);return e=Nr(e,t,b),e=Nr(e=Pr(e,r),[hn],b),e=zr(e),pn.log("Processed HTML piece:\n\n",e),function(e){var t=e.html,r=e.rawTransforms,n=document.implementation.createHTMLDocument("");return n.body.innerHTML=t,Array.from(n.body.children).map((function(e){var t=Re(r,(function(t){return(0,t.isMatch)(e)}));if(!t)return Ne("core/html",mr("core/html",e.outerHTML));var n=t.transform,a=t.blockName;return n?n(e):Ne(a,mr(a,e.outerHTML))}))}({html:e,rawTransforms:g})})));if("AUTO"===o&&1===_.length){var v=a.trim();if(""!==v&&-1===v.indexOf("\n"))return Pr(Ct(_[0]),m)}return _}function bn(e){var t=e.HTML,r=void 0===t?"":t;if(-1!==r.indexOf("\x3c!-- wp:"))return kr(r);var n=qr(r),a=Object(u.filter)(Ve("from"),{type:"raw"}).map((function(e){return e.isMatch?e:Object(c.a)({},e,{isMatch:function(t){return e.selector&&t.matches(e.selector)}})})),i=Sr(a);return Object(u.compact)(Object(u.flatMap)(n,(function(e){return"string"!=typeof e?e:(e=Nr(e,[Rr,Dr,Fr,Vr],i),function(e){var t=e.html,r=e.rawTransforms,n=document.implementation.createHTMLDocument("");return n.body.innerHTML=t,Array.from(n.body.children).map((function(e){var t=Re(r,(function(t){return(0,t.isMatch)(e)}));if(!t)return Ne("core/html",mr("core/html",e.outerHTML));var n=t.transform,a=t.blockName;return n?n(e):Ne(a,mr(a,e.outerHTML))}))}({html:e=zr(e),rawTransforms:a}))})))}function _n(){return Object(i.select)("core/blocks").getCategories()}function vn(e){Object(i.dispatch)("core/blocks").setCategories(e)}function kn(e,t){Object(i.dispatch)("core/blocks").updateCategory(e,t)}function wn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.length===t.length&&Object(u.every)(t,(function(t,r){var n=Object(qe.a)(t,3),a=n[0],i=n[2],o=e[r];return a===o.name&&wn(o.innerBlocks,i)}))}function yn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return t?Object(u.map)(t,(function(t,r){var n=Object(qe.a)(t,3),a=n[0],i=n[1],o=n[2],s=e[r];if(s&&s.name===a){var l=yn(s.innerBlocks,o);return Object(c.a)({},s,{innerBlocks:l})}var d=ve(a),f=function(e,t){return Object(u.mapValues)(t,(function(t,r){return h(e[r],t)}))},h=function(e,t){return r=e,"html"===Object(u.get)(r,["source"])&&Object(u.isArray)(t)?Object(J.renderToString)(t):function(e){return"query"===Object(u.get)(e,["source"])}(e)&&t?t.map((function(t){return f(e.query,t)})):t;var r};return Ne(a,f(Object(u.get)(d,["attributes"],{}),i),yn([],o))})):e}r.d(t,"createBlock",(function(){return Ne})),r.d(t,"cloneBlock",(function(){return Pe})),r.d(t,"getPossibleBlockTransformations",(function(){return Ie})),r.d(t,"switchToBlockType",(function(){return Fe})),r.d(t,"getBlockTransforms",(function(){return Ve})),r.d(t,"findTransform",(function(){return Re})),r.d(t,"getBlockFromExample",(function(){return $e})),r.d(t,"parse",(function(){return wr})),r.d(t,"getBlockAttributes",(function(){return mr})),r.d(t,"parseWithAttributeSchema",(function(){return pr})),r.d(t,"pasteHandler",(function(){return mn})),r.d(t,"rawHandler",(function(){return bn})),r.d(t,"getPhrasingContentSchema",(function(){return Or})),r.d(t,"serialize",(function(){return Et})),r.d(t,"getBlockContent",(function(){return Ct})),r.d(t,"getBlockDefaultClassName",(function(){return jt})),r.d(t,"getBlockMenuDefaultClassName",(function(){return Ot})),r.d(t,"getSaveElement",(function(){return Tt})),r.d(t,"getSaveContent",(function(){return xt})),r.d(t,"isValidBlockContent",(function(){return Jt})),r.d(t,"getCategories",(function(){return _n})),r.d(t,"setCategories",(function(){return vn})),r.d(t,"updateCategory",(function(){return kn})),r.d(t,"registerBlockType",(function(){return ue})),r.d(t,"unregisterBlockType",(function(){return le})),r.d(t,"setFreeformContentHandlerName",(function(){return de})),r.d(t,"getFreeformContentHandlerName",(function(){return fe})),r.d(t,"setUnregisteredTypeHandlerName",(function(){return pe})),r.d(t,"getUnregisteredTypeHandlerName",(function(){return ge})),r.d(t,"setDefaultBlockName",(function(){return me})),r.d(t,"getDefaultBlockName",(function(){return _e})),r.d(t,"setGroupingBlockName",(function(){return be})),r.d(t,"getGroupingBlockName",(function(){return he})),r.d(t,"getBlockType",(function(){return ve})),r.d(t,"getBlockTypes",(function(){return ke})),r.d(t,"getBlockSupport",(function(){return we})),r.d(t,"hasBlockSupport",(function(){return ye})),r.d(t,"isReusableBlock",(function(){return je})),r.d(t,"getChildBlockNames",(function(){return Oe})),r.d(t,"hasChildBlocks",(function(){return Te})),r.d(t,"hasChildBlocksWithInserterSupport",(function(){return xe})),r.d(t,"unstable__bootstrapServerSideBlockDefinitions",(function(){return ce})),r.d(t,"registerBlockStyle",(function(){return Ce})),r.d(t,"unregisterBlockStyle",(function(){return Ae})),r.d(t,"__experimentalRegisterBlockPattern",(function(){return Se})),r.d(t,"__experimentalUnregisterBlockPattern",(function(){return Ee})),r.d(t,"isUnmodifiedDefaultBlock",(function(){return te})),r.d(t,"normalizeIconObject",(function(){return ne})),r.d(t,"isValidIcon",(function(){return re})),r.d(t,"doBlocksMatchTemplate",(function(){return wn})),r.d(t,"synchronizeBlocksWithTemplate",(function(){return yn})),r.d(t,"children",(function(){return nr})),r.d(t,"node",(function(){return lr})),r.d(t,"withBlockContentContext",(function(){return wt}))},38: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;n1&&(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=B(e,360),t=B(t,100),r=B(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,f="hsl"),e.hasOwnProperty("a")&&(r=e.a));var h,p,g;return r=P(r),{ok:d,format:e.format||f,r:u(255,l(t.r,0)),g:u(255,l(t.g,0)),b:u(255,l(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=B(e,255),t=B(t,255),r=B(r,255);var n,a,i=l(e,t,r),o=u(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>1)+720)%360;--t;)n.h=(n.h+a)%360,i.push(f(n));return i}function S(e,t){t=t||6;for(var r=f(e).toHsv(),n=r.h,a=r.s,i=r.v,o=[],s=1/t;t--;)o.push(f({h:n,s:a,v:i})),i=(i+s)%1;return o}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,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=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=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(D(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*B(this._r,255))+"%",g:c(100*B(this._g,255))+"%",b:c(100*B(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+c(100*B(this._r,255))+"%, "+c(100*B(this._g,255))+"%, "+c(100*B(this._b,255))+"%)":"rgba("+c(100*B(this._r,255))+"%, "+c(100*B(this._g,255))+"%, "+c(100*B(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(N[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=f(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 f(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(k,arguments)},brighten:function(){return this._applyModification(w,arguments)},darken:function(){return this._applyModification(y,arguments)},desaturate:function(){return this._applyModification(b,arguments)},saturate:function(){return this._applyModification(_,arguments)},greyscale:function(){return this._applyModification(v,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(A,arguments)},complement:function(){return this._applyCombination(O,arguments)},monochromatic:function(){return this._applyCombination(S,arguments)},splitcomplement:function(){return this._applyCombination(C,arguments)},triad:function(){return this._applyCombination(T,arguments)},tetrad:function(){return this._applyCombination(x,arguments)}},f.fromRatio=function(e,t){if("object"==typeof e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]="a"===n?e[n]:H(e[n]));e=r}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,r){r=0===r?0:r||50;var n=f(e).toRgb(),a=f(t).toRgb(),i=r/100;return f({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})},f.readability=function(e,t){var r=f(e),n=f(t);return(a.max(r.getLuminance(),n.getLuminance())+.05)/(a.min(r.getLuminance(),n.getLuminance())+.05)},f.isReadable=function(e,t,r){var n,a,i=f.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},f.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 u=0;uc&&(c=n,s=f(t[u]));return f.isReadable(e,s,{level:i,size:o})||!a?s:(r.includeFallbackColors=!1,f.mostReadable(e,["#fff","#000"],r))};var E=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"},N=f.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 B(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=u(t,l(0,parseFloat(e))),r&&(e=parseInt(e*t,10)/100),a.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function M(e){return u(1,l(0,e))}function L(e){return parseInt(e,16)}function z(e){return 1==e.length?"0"+e:""+e}function H(e){return e<=1&&(e=100*e+"%"),e}function D(e){return a.round(255*parseFloat(e)).toString(16)}function I(e){return L(e)/255}var R,V,F,$=(V="[\\s|\\(]+("+(R="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+R+")[,|\\s]+("+R+")\\s*\\)?",F="[\\s|\\(]+("+R+")[,|\\s]+("+R+")[,|\\s]+("+R+")[,|\\s]+("+R+")\\s*\\)?",{CSS_UNIT:new RegExp(R),rgb:new RegExp("rgb"+V),rgba:new RegExp("rgba"+F),hsl:new RegExp("hsl"+V),hsla:new RegExp("hsla"+F),hsv:new RegExp("hsv"+V),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=f:void 0===(n=function(){return f}.call(t,r,t,e))||(e.exports=n)}(Math)},53:function(e,t){!function(){e.exports=this.wp.htmlEntities}()},66:function(e,t,r){var n=r(86),a=r(87);e.exports=function(e,t,r){var i=t&&r||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var o=(e=e||{}).random||(e.rng||n)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t)for(var s=0;s<16;++s)t[i+s]=o[s];return t||a(o)}},68:function(e,t){!function(){e.exports=this.wp.autop}()},7:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(9);function a(e){for(var t=1;t>>((3&t)<<3)&255;return a}}},87:function(e,t){for(var r=[],n=0;n<256;++n)r[n]=(n+256).toString(16).substr(1);e.exports=function(e,t){var n=t||0,a=r;return[a[e[n++]],a[e[n++]],a[e[n++]],a[e[n++]],"-",a[e[n++]],a[e[n++]],"-",a[e[n++]],a[e[n++]],"-",a[e[n++]],a[e[n++]],"-",a[e[n++]],a[e[n++]],a[e[n++]],a[e[n++]],a[e[n++]],a[e[n++]]].join("")}},9:function(e,t,r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,"a",(function(){return n}))}}); \ 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=367)}({0:function(e,t){!function(){e.exports=this.wp.element}()},1:function(e,t){!function(){e.exports=this.wp.i18n}()},111:function(e,t){!function(){e.exports=this.wp.shortcode}()},12:function(e,t,r){"use strict";function n(){return(n=Object.assign||function(e){for(var t=1;t (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:

    foo
    ",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 `` and ``",type:"boolean"},completeHTMLDocument:{defaultValue:!1,description:"Outputs a complete html document, including ``, `` and `` 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),u="vanilla",l={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").replace(/&/g,"&")};var h=function(e,t,r,n){"use strict";var a,i,o,s,c,u=n||"",l=u.indexOf("g")>-1,d=new RegExp(t+"|"+r,"g"+u.replace(/g/g,"")),f=new RegExp(t,u.replace(/g/g,"")),h=[];do{for(a=0;o=d.exec(e);)if(f.test(o[0]))a++||(s=(i=d.lastIndex)-o[0].length);else if(a&&!--a){c=o.index+o[0].length;var p={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(p),!l)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;o0){var l=[];0!==s[0].wholeMatch.start&&l.push(e.slice(0,s[0].wholeMatch.start));for(var d=0;d=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:':octocat:',showdown:"S"},i.Converter=function(e){"use strict";var t={},r=[],n=[],a={},o=u,f={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[ \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'}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? ?(['"].*['"])?\)$/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])||(u=r.gTitles[a])}var l='"};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]??(?:[ \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+""}))),e=r.converter._dispatch("anchors.after",e,t,r)}));var p=/([*~_]+|\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,v=function(e){"use strict";return function(t,r,n,a,o,s,c){var u=n=n.replace(i.helper.regexes.asteriskDashAndColon,i.helper.escapeCharactersCallback),l="",d="",f=r||"",h=c||"";return/^www\./i.test(n)&&(n=n.replace(/^www\./i,"http://www.")),e.excludeTrailingPunctuationFromURLs&&s&&(l=s),e.openLinksInNewWindow&&(d=' rel="noopener noreferrer" target="¨E95Eblank"'),f+'"+u+""+l+h}},k=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+""}};i.subParser("autoLinks",(function(e,t,r){"use strict";return e=(e=(e=r.converter._dispatch("autoLinks.before",e,t,r)).replace(m,v(t))).replace(_,k(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,v(t)):e.replace(p,v(t))).replace(b,k(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*
    [^\r]+?<\/pre>)/gm,(function(e,t){var r=t;return r=(r=r.replace(/^  /gm,"¨0")).replace(/¨0/g,"")})),i.subParser("hashBlock")("
    \n"+e+"\n
    ",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="
    "+o+c+"
    ",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+""+(s=i.subParser("encodeCode")(s,t,r))+"",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="\n",i="",o='\n',s="",c="";for(var u in void 0!==r.metadata.parsed.doctype&&(a="\n","html"!==(n=r.metadata.parsed.doctype.toString().toLowerCase())&&"html5"!==n||(o='')),r.metadata.parsed)if(r.metadata.parsed.hasOwnProperty(u))switch(u.toLowerCase()){case"doctype":break;case"title":i=""+r.metadata.parsed.title+"\n";break;case"charset":o="html"===n||"html5"===n?'\n':'\n';break;case"language":case"lang":s=' lang="'+r.metadata.parsed[u]+'"',c+='\n';break;default:c+='\n'}return e=a+"\n\n"+i+o+c+"\n\n"+e.trim()+"\n\n",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/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,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="
    "+(o=(o=(o=i.subParser("detab")(o,t,r)).replace(/^\n+/g,"")).replace(/\n+$/g,""))+s+"
    ",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"}),"]*>","","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]*>)","im"),u="<"+n[o]+"\\b[^>]*>",l="";-1!==(s=i.helper.regexIndexOf(e,c));){var d=i.helper.splitAtIndex(e,s),f=i.helper.replaceRecursiveRegExp(d[1],a,u,l,"im");if(f===d[1])break;e=d[0].concat(f)}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]*>\\s*]*>","^ {0,3}\\s*
    ","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)+'"',u=""+o+"";return i.subParser("hashBlock")(u,t,r)}))).replace(o,(function(e,a){var o=i.subParser("spanGamut")(a,t,r),s=t.noHeaderId?"":' id="'+c(a)+'"',u=n+1,l=""+o+"";return i.subParser("hashBlock")(l,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 u=i.subParser("spanGamut")(s,t,r),l=t.noHeaderId?"":' id="'+c(o)+'"',d=n-1+a.length,f=""+u+"";return i.subParser("hashBlock")(f,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")("
    ",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,u){var l=r.gUrls,d=r.gTitles,f=r.gDimensions;if(n=n.toLowerCase(),u||(u=""),e.search(/\(? ?(['"].*['"])?\)$/m)>-1)a="";else if(""===a||null===a){if(""!==n&&null!==n||(n=t.toLowerCase().replace(/ ?\n/g," ")),a="#"+n,i.helper.isUndefined(l[n]))return e;a=l[n],i.helper.isUndefined(d[n])||(u=d[n]),i.helper.isUndefined(f[n])||(o=f[n].width,s=f[n].height)}t=t.replace(/"/g,""").replace(i.helper.regexes.asteriskDashAndColon,i.helper.escapeCharactersCallback);var h=''+t+'"}return e=(e=(e=(e=(e=(e=r.converter._dispatch("images.before",e,t,r)).replace(/!\[([^\]]*?)] ?(?:\n *)?\[([\s\S]*?)]()()()()()/g,n)).replace(/!\[([^\]]*?)][ \t]*()\([ \t]??(?: =([*\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]??(?: =([*\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,"","")}))).replace(/\b__(\S[\s\S]*?)__\b/g,(function(e,t){return n(t,"","")}))).replace(/\b_(\S[\s\S]*?)_\b/g,(function(e,t){return n(t,"","")})):(e=(e=e.replace(/___(\S[\s\S]*?)___/g,(function(e,t){return/\S$/.test(t)?n(t,"",""):e}))).replace(/__(\S[\s\S]*?)__/g,(function(e,t){return/\S$/.test(t)?n(t,"",""):e}))).replace(/_([^\s_][\s\S]*?)_/g,(function(e,t){return/\S$/.test(t)?n(t,"",""):e})),e=t.literalMidWordAsterisks?(e=(e=e.replace(/([^*]|^)\B\*\*\*(\S[\s\S]*?)\*\*\*\B(?!\*)/g,(function(e,t,r){return n(r,t+"","")}))).replace(/([^*]|^)\B\*\*(\S[\s\S]*?)\*\*\B(?!\*)/g,(function(e,t,r){return n(r,t+"","")}))).replace(/([^*]|^)\B\*(\S[\s\S]*?)\*\B(?!\*)/g,(function(e,t,r){return n(r,t+"","")})):(e=(e=e.replace(/\*\*\*(\S[\s\S]*?)\*\*\*/g,(function(e,t){return/\S$/.test(t)?n(t,"",""):e}))).replace(/\*\*(\S[\s\S]*?)\*\*/g,(function(e,t){return/\S$/.test(t)?n(t,"",""):e}))).replace(/\*([^\s*][\s\S]*?)\*/g,(function(e,t){return/\S$/.test(t)?n(t,"",""):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,u,l){l=l&&""!==l.trim();var d=i.subParser("outdent")(c,t,r),f="";return u&&t.tasklists&&(f=' class="task-list-item" style="list-style-type: none;"',d=d.replace(/^[ \t]*\[(x|X| )?]/m,(function(){var e='-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=""+(d=d.replace("¨A",""))+"\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,u="";if(-1!==e.search(c))!function t(l){var d=l.search(c),f=a(e,r);-1!==d?(u+="\n\n<"+r+f+">\n"+n(l.slice(0,d),!!i)+"\n",c="ul"===(r="ul"===r?"ol":"ul")?o:s,t(l.slice(d))):u+="\n\n<"+r+f+">\n"+n(l,!!i)+"\n"}(e);else{var l=a(e,r);u="\n\n<"+r+l+">\n"+n(e,!!i)+"\n"}return u}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=0?a.push(c):c.search(/\S/)>=0&&(c=(c=i.subParser("spanGamut")(c,t,r)).replace(/^([ \t]*)/g,"

    "),c+="

    ",a.push(c))}for(o=a.length,s=0;s]*>\s*]*>/.test(l)&&(d=!0)}a[s]=l}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,"
    \n")):e=e.replace(/ +\n/g,"
    \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)),""+e+""}(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,u){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+u:(u&&(r.gTitles[n]=u.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]*?(?: =([*\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""+i.subParser("spanGamut")(e,t,r)+"\n"}function a(e){var a,o=e.split("\n");for(a=0;a"+(c=i.subParser("spanGamut")(c,t,r))+"\n"));for(a=0;a\n\n\n",a=0;a\n";for(var i=0;i\n"}return r+="\n\n"}(p,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""+t+""}))).replace(/\b__(\S[\s\S]*?)__\b/g,(function(e,t){return""+t+""})):(e=e.replace(/___(\S[\s\S]*?)___/g,(function(e,t){return/\S$/.test(t)?""+t+"":e}))).replace(/__(\S[\s\S]*?)__/g,(function(e,t){return/\S$/.test(t)?""+t+"":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 ")})),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",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",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"+t.preList[r]+""})),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;otr>th"),c=e.querySelectorAll("tbody>tr");for(r=0;rp&&(p=g)}for(r=0;r/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)},27:function(e,t){!function(){e.exports=this.wp.dom}()},29:function(e,t){!function(){e.exports=this.wp.hooks}()},31:function(e,t,r){"use strict";function n(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}r.d(t,"a",(function(){return n}))},34: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;n0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1?arguments[1]:void 0;switch(r.type){case"REMOVE_BLOCK_TYPES":return-1!==r.names.indexOf(t)?null:t;case e:return r.name||null}return t}}var h=f("SET_DEFAULT_BLOCK_NAME"),p=f("SET_FREEFORM_FALLBACK_BLOCK_NAME"),g=f("SET_UNREGISTERED_FALLBACK_BLOCK_NAME"),m=f("SET_GROUPING_BLOCK_NAME");var b=Object(i.combineReducers)({blockTypes:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_BLOCK_TYPES":return Object(c.a)({},e,Object(u.keyBy)(Object(u.map)(t.blockTypes,(function(e){return Object(u.omit)(e,"styles ")})),"name"));case"REMOVE_BLOCK_TYPES":return Object(u.omit)(e,t.names)}return e},blockStyles:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_BLOCK_TYPES":return Object(c.a)({},e,Object(u.mapValues)(Object(u.keyBy)(t.blockTypes,"name"),(function(t){return Object(u.uniqBy)([].concat(Object(s.a)(Object(u.get)(t,["styles"],[])),Object(s.a)(Object(u.get)(e,[t.name],[]))),(function(e){return e.name}))})));case"ADD_BLOCK_STYLES":return Object(c.a)({},e,Object(o.a)({},t.blockName,Object(u.uniqBy)([].concat(Object(s.a)(Object(u.get)(e,[t.blockName],[])),Object(s.a)(t.styles)),(function(e){return e.name}))));case"REMOVE_BLOCK_STYLES":return Object(c.a)({},e,Object(o.a)({},t.blockName,Object(u.filter)(Object(u.get)(e,[t.blockName],[]),(function(e){return-1===t.styleNames.indexOf(e.name)}))))}return e},blockPatterns:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_BLOCK_TYPES":return Object(c.a)({},e,Object(u.mapValues)(Object(u.keyBy)(t.blockTypes,"name"),(function(t){return Object(u.uniqBy)([].concat(Object(s.a)(Object(u.get)(t,["patterns"],[])),Object(s.a)(Object(u.get)(e,[t.name],[]))),(function(e){return e.name}))})));case"ADD_BLOCK_PATTERNS":return Object(c.a)({},e,Object(o.a)({},t.blockName,Object(u.uniqBy)([].concat(Object(s.a)(Object(u.get)(e,[t.blockName],[])),Object(s.a)(t.patterns)),(function(e){return e.name}))));case"REMOVE_BLOCK_PATTERNS":return Object(c.a)({},e,Object(o.a)({},t.blockName,Object(u.filter)(Object(u.get)(e,[t.blockName],[]),(function(e){return-1===t.patternNames.indexOf(e.name)}))))}return e},defaultBlockName:h,freeformFallbackBlockName:p,unregisteredFallbackBlockName:g,groupingBlockName:m,categories:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_CATEGORIES":return t.categories||[];case"UPDATE_CATEGORY":if(!t.category||Object(u.isEmpty)(t.category))return e;if(Object(u.find)(e,["slug",t.slug]))return Object(u.map)(e,(function(e){return e.slug===t.slug?Object(c.a)({},e,t.category):e}))}return e}}),_=r(34),v=function(e,t){return"string"==typeof t?w(e,t):t},k=Object(_.a)((function(e){return Object.values(e.blockTypes)}),(function(e){return[e.blockTypes]}));function w(e,t){return e.blockTypes[t]}function y(e,t){return e.blockStyles[t]}function j(e,t){return e.blockPatterns[t]}function O(e,t){var r=j(e,t);return Object(u.findLast)(r,"isDefault")||Object(u.first)(r)}function T(e){return e.categories}function x(e){return e.defaultBlockName}function C(e){return e.freeformFallbackBlockName}function A(e){return e.unregisteredFallbackBlockName}function S(e){return e.groupingBlockName}var E=Object(_.a)((function(e,t){return Object(u.map)(Object(u.filter)(e.blockTypes,(function(e){return Object(u.includes)(e.parent,t)})),(function(e){return e.name}))}),(function(e){return[e.blockTypes]})),N=function(e,t,r,n){var a=v(e,t);return Object(u.get)(a,["supports",r],n)};function P(e,t,r,n){return!!N(e,t,r,n)}function B(e,t,r){var n=v(e,t),a=Object(u.flow)([u.deburr,function(e){return e.toLowerCase()},function(e){return e.trim()}]),i=a(r),o=Object(u.flow)([a,function(e){return Object(u.includes)(e,i)}]);return o(n.title)||Object(u.some)(n.keywords,o)||o(n.category)}var M=function(e,t){return E(e,t).length>0},L=function(e,t){return Object(u.some)(E(e,t),(function(t){return P(e,t,"inserter",!0)}))};function z(e){return{type:"ADD_BLOCK_TYPES",blockTypes:Object(u.castArray)(e)}}function H(e){return{type:"REMOVE_BLOCK_TYPES",names:Object(u.castArray)(e)}}function D(e,t){return{type:"ADD_BLOCK_STYLES",styles:Object(u.castArray)(t),blockName:e}}function I(e,t){return{type:"REMOVE_BLOCK_STYLES",styleNames:Object(u.castArray)(t),blockName:e}}function R(e,t){return{type:"ADD_BLOCK_PATTERNS",patterns:Object(u.castArray)(t),blockName:e}}function V(e,t){return{type:"REMOVE_BLOCK_PATTERNS",patternNames:Object(u.castArray)(t),blockName:e}}function F(e){return{type:"SET_DEFAULT_BLOCK_NAME",name:e}}function $(e){return{type:"SET_FREEFORM_FALLBACK_BLOCK_NAME",name:e}}function q(e){return{type:"SET_UNREGISTERED_FALLBACK_BLOCK_NAME",name:e}}function U(e){return{type:"SET_GROUPING_BLOCK_NAME",name:e}}function G(e){return{type:"SET_CATEGORIES",categories:e}}function K(e,t){return{type:"UPDATE_CATEGORY",slug:e,category:t}}Object(i.registerStore)("core/blocks",{reducer:b,selectors:n,actions:a});var W=r(68),Y=r.n(W),Z=r(29),Q=r(49),X=r.n(Q),J=r(0),ee=["#191e23","#f8f9f9"];function te(e){var t=_e();if(e.name!==t)return!1;te.block&&te.block.name===t||(te.block=Ne(t));var r=te.block,n=ve(t);return Object(u.every)(n.attributes,(function(t,n){return r.attributes[n]===e.attributes[n]}))}function re(e){return!!e&&(Object(u.isString)(e)||Object(J.isValidElement)(e)||Object(u.isFunction)(e)||e instanceof J.Component)}function ne(e){if(re(e))return{src:e};if(Object(u.has)(e,["background"])){var t=X()(e.background);return Object(c.a)({},e,{foreground:e.foreground?e.foreground:Object(Q.mostReadable)(t,ee,{includeFallbackColors:!0,level:"AA",size:"large"}).toHexString(),shadowColor:t.setAlpha(.3).toRgbString()})}return e}function ae(e){return Object(u.isString)(e)?ve(e):e}var ie=["attributes","supports","save","migrate","isEligible"],oe={icon:"block-default",attributes:{},keywords:[],save:function(){return null}},se={};function ce(e){se=Object(c.a)({},se,e)}function ue(e,t){if(t=Object(c.a)({name:e},oe,Object(u.get)(se,e),t),"string"==typeof e)if(/^[a-z][a-z0-9-]*\/[a-z][a-z0-9-]*$/.test(e))if(Object(i.select)("core/blocks").getBlockType(e))console.error('Block "'+e+'" is already registered.');else{var r=Object(c.a)({},t);if((t=Object(Z.applyFilters)("blocks.registerBlockType",t,e)).deprecated&&(t.deprecated=t.deprecated.map((function(t){return Object(u.pick)(Object(Z.applyFilters)("blocks.registerBlockType",Object(c.a)({},Object(u.omit)(r,ie),t),e),ie)}))),Object(u.isPlainObject)(t))if(Object(u.isFunction)(t.save))if("edit"in t&&!Object(u.isFunction)(t.edit))console.error('The "edit" property must be a valid function.');else if("category"in t)if("category"in t&&!Object(u.some)(Object(i.select)("core/blocks").getCategories(),{slug:t.category}))console.error('The block "'+e+'" must have a registered category.');else if("title"in t&&""!==t.title)if("string"==typeof t.title){if(t.icon=ne(t.icon),re(t.icon.src))return Object(i.dispatch)("core/blocks").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 "'+e+'" must have a title.');else console.error('The block "'+e+'" must have a category.');else console.error('The "save" property must be a valid function.');else console.error("Block settings must be a valid object.")}else 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");else console.error("Block names must be strings.")}function le(e){var t=Object(i.select)("core/blocks").getBlockType(e);if(t)return Object(i.dispatch)("core/blocks").removeBlockTypes(e),t;console.error('Block "'+e+'" is not registered.')}function de(e){Object(i.dispatch)("core/blocks").setFreeformFallbackBlockName(e)}function fe(){return Object(i.select)("core/blocks").getFreeformFallbackBlockName()}function he(){return Object(i.select)("core/blocks").getGroupingBlockName()}function pe(e){Object(i.dispatch)("core/blocks").setUnregisteredFallbackBlockName(e)}function ge(){return Object(i.select)("core/blocks").getUnregisteredFallbackBlockName()}function me(e){Object(i.dispatch)("core/blocks").setDefaultBlockName(e)}function be(e){Object(i.dispatch)("core/blocks").setGroupingBlockName(e)}function _e(){return Object(i.select)("core/blocks").getDefaultBlockName()}function ve(e){return Object(i.select)("core/blocks").getBlockType(e)}function ke(){return Object(i.select)("core/blocks").getBlockTypes()}function we(e,t,r){return Object(i.select)("core/blocks").getBlockSupport(e,t,r)}function ye(e,t,r){return Object(i.select)("core/blocks").hasBlockSupport(e,t,r)}function je(e){return"core/block"===e.name}var Oe=function(e){return Object(i.select)("core/blocks").getChildBlockNames(e)},Te=function(e){return Object(i.select)("core/blocks").hasChildBlocks(e)},xe=function(e){return Object(i.select)("core/blocks").hasChildBlocksWithInserterSupport(e)},Ce=function(e,t){Object(i.dispatch)("core/blocks").addBlockStyles(e,t)},Ae=function(e,t){Object(i.dispatch)("core/blocks").removeBlockStyles(e,t)},Se=function(e,t){Object(i.dispatch)("core/blocks").__experimentalAddBlockPatterns(e,t)},Ee=function(e,t){Object(i.dispatch)("core/blocks").__experimentalRemoveBlockPatterns(e,t)};function Ne(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],n=ve(e),a=Object(u.reduce)(n.attributes,(function(e,r,n){var 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}),{});return{clientId:Y()(),name:e,isValid:!0,attributes:a,innerBlocks:r}}function Pe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=Y()();return Object(c.a)({},e,{clientId:n,attributes:Object(c.a)({},e.attributes,t),innerBlocks:r||e.innerBlocks.map((function(e){return Pe(e)}))})}var Be=function(e,t,r){if(Object(u.isEmpty)(r))return!1;var n=r.length>1,a=Object(u.first)(r).name;if(!(ze(e)||!n||e.isMultiBlock))return!1;if(!ze(e)&&!Object(u.every)(r,{name:a}))return!1;if(!("block"===e.type))return!1;var i=Object(u.first)(r);if(!("from"!==t||-1!==e.blocks.indexOf(i.name)||ze(e)))return!1;if(!n&&He(i.name)&&He(e.blockName))return!1;if(Object(u.isFunction)(e.isMatch)){var o=e.isMultiBlock?r.map((function(e){return e.attributes})):i.attributes;if(!e.isMatch(o))return!1}return!0},Me=function(e){if(Object(u.isEmpty)(e))return[];var t=ke();return Object(u.filter)(t,(function(t){return!!Re(Ve("from",t.name),(function(t){return Be(t,"from",e)}))}))},Le=function(e){if(Object(u.isEmpty)(e))return[];var t=Ve("to",ve(Object(u.first)(e).name).name),r=Object(u.filter)(t,(function(t){return t&&Be(t,"to",e)}));return Object(u.flatMap)(r,(function(e){return e.blocks})).map((function(e){return ve(e)}))},ze=function(e){return e&&"block"===e.type&&Array.isArray(e.blocks)&&e.blocks.includes("*")},He=function(e){return e===he()},De=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(!e.length)return!1;var t=e[0].name;return Object(u.every)(e,["name",t])};function Ie(e){if(Object(u.isEmpty)(e))return[];var t=Me(e),r=Le(e);return Object(u.uniq)([].concat(Object(s.a)(t),Object(s.a)(r)))}function Re(e,t){for(var r=Object(Z.createHooks)(),n=function(n){var a=e[n];t(a)&&r.addFilter("transform","transform/"+n.toString(),(function(e){return e||a}),a.priority)},a=0;a1,a=r[0],i=a.name;if(!He(t)&&n&&!De(r))return null;var o,s=Ve("from",t),l=Re(Ve("to",i),(function(e){return"block"===e.type&&(ze(e)||-1!==e.blocks.indexOf(t))&&(!n||e.isMultiBlock)}))||Re(s,(function(e){return"block"===e.type&&(ze(e)||-1!==e.blocks.indexOf(i))&&(!n||e.isMultiBlock)}));if(!l)return null;if(o=l.isMultiBlock?Object(u.has)(l,"__experimentalConvert")?l.__experimentalConvert(r):l.transform(r.map((function(e){return e.attributes})),r.map((function(e){return e.innerBlocks}))):Object(u.has)(l,"__experimentalConvert")?l.__experimentalConvert(a):l.transform(a.attributes,a.innerBlocks),!Object(u.isObjectLike)(o))return null;if((o=Object(u.castArray)(o)).some((function(e){return!ve(e.name)})))return null;var d=Object(u.findIndex)(o,(function(e){return e.name===t}));return d<0?null:o.map((function(t,r){var n=Object(c.a)({},t,{clientId:r===d?a.clientId:t.clientId});return Object(Z.applyFilters)("blocks.switchToBlockType.transformedBlock",n,e)}))}var $e=function e(t,r){return Ne(t,r.attributes,Object(u.map)(r.innerBlocks,(function(t){return e(t.name,t)})))},qe=r(22);var Ue,Ge=function(){return Ue||(Ue=document.implementation.createHTMLDocument("")),Ue};function Ke(e,t){if(t){if("string"==typeof e){var r=Ge();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]=Ke(e,t[n]),r}),{})}}function We(e,t){return 1===arguments.length&&(t=e,e=void 0),function(r){var n=r;if(e&&(n=r.querySelector(e)),n)return function(e,t){for(var r,n=t.split(".");r=n.shift();){if(!(r in e))return;e=e[r]}return e}(n,t)}}var Ye=r(70),Ze=r(220),Qe=r(35),Xe=r(31),Je=r(36);var et=r(14),tt=r(13),rt=/^#[xX]([A-Fa-f0-9]+)$/,nt=/^#([0-9]+)$/,at=/^([A-Za-z0-9]+)$/,it=(function(){function e(e){this.named=e}e.prototype.parse=function(e){if(e){var t=e.match(rt);return t?String.fromCharCode(parseInt(t[1],16)):(t=e.match(nt))?String.fromCharCode(parseInt(t[1],10)):(t=e.match(at))?this.named[t[1]]:void 0}}}(),/[\t\n\f ]/),ot=/[A-Za-z]/,st=/\r\n?/g;function ct(e){return it.test(e)}function ut(e){return ot.test(e)}var lt=function(){function e(e,t){this.delegate=e,this.entityParser=t,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("\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.toLowerCase();"<"!==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||ut(e))&&(this.transitionTo("tagName"),this.tagNameBuffer="",this.delegate.beginStartTag(),this.appendToTagName(e))},markupDeclarationOpen:function(){"-"===this.consume()&&"-"===this.peek()&&(this.consume(),this.transitionTo("commentStart"),this.delegate.beginComment())},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();ct(e)?this.transitionTo("beforeAttributeName"):"/"===e?this.transitionTo("selfClosingStartTag"):">"===e?(this.delegate.finishTag(),this.transitionTo("beforeData")):this.appendToTagName(e)},endTagName:function(){var e=this.consume();ct(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();ct(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();ct(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();ct(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();ct(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();ct(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();ct(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||ut(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(st,"\n")}(e);this.index"!==this.input.substring(this.index,this.index+8)||"style"===e&&""!==this.input.substring(this.index,this.index+8)||"script"===e&&"<\/script>"!==this.input.substring(this.index,this.index+9)},e}(),dt=function(){function e(e,t){void 0===t&&(t={}),this.options=t,this.token=null,this.startLine=1,this.startColumn=0,this.tokens=[],this.tokenizer=new lt(this,e),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;t1?r-1:0),a=1;a2&&void 0!==arguments[2]?arguments[2]:[],n=ae(e),a=n.save;if(a.prototype instanceof J.Component){var i=new a({attributes:t});a=i.render.bind(i)}var o=a({attributes:t,innerBlocks:r});if(Object(u.isObject)(o)&&Object(Z.hasFilter)("blocks.getSaveContent.extraProps")){var s=Object(Z.applyFilters)("blocks.getSaveContent.extraProps",Object(c.a)({},o.props),n,t);gt()(s,o.props)||(o=Object(J.cloneElement)(o,s))}return o=Object(Z.applyFilters)("blocks.getSaveElement",o,n,t),Object(J.createElement)(yt,{innerBlocks:r},o)}function xt(e,t,r){var n=ae(e);return Object(J.renderToString)(Tt(n,t,r))}function Ct(e){var t=e.originalContent;if(e.isValid||e.innerBlocks.length)try{t=xt(e.name,e.attributes,e.innerBlocks)}catch(e){}return t}function At(e,t,r){var n=Object(u.isEmpty)(t)?"":function(e){return JSON.stringify(e).replace(/--/g,"\\u002d\\u002d").replace(//g,"\\u003e").replace(/&/g,"\\u0026").replace(/\\"/g,"\\u0022")}(t)+" ",a=Object(u.startsWith)(e,"core/")?e.slice(5):e;return r?"\x3c!-- wp:".concat(a," ").concat(n,"--\x3e\n")+r+"\n\x3c!-- /wp:".concat(a," --\x3e"):"\x3c!-- wp:".concat(a," ").concat(n,"/--\x3e")}function St(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isInnerBlocks,r=void 0!==t&&t,n=e.name,a=Ct(e);return n===ge()||!r&&n===fe()?a:At(n,function(e,t){return Object(u.reduce)(e.attributes,(function(e,r,n){var a=t[n];return void 0===a?e:void 0!==r.source?e:"default"in r&&r.default===a?e:(e[n]=a,e)}),{})}(ve(n),e.attributes),a)}function Et(e,t){return Object(u.castArray)(e).map((function(e){return St(e,t)})).join("\n\n")}var Nt=/[\t\n\r\v\f ]+/g,Pt=/^[\t\n\r\v\f ]*$/,Bt=/^url\s*\(['"\s]*(.*?)['"\s]*\)$/,Mt=["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"],Lt=[].concat(Mt,["autocapitalize","autocomplete","charset","contenteditable","crossorigin","decoding","dir","draggable","enctype","formenctype","formmethod","http-equiv","inputmode","kind","method","preload","scope","shape","spellcheck","translate","type","wrap"]),zt=[u.identity,function(e){return Vt(e).join(" ")}],Ht=/^[\da-z]+$/i,Dt=/^#\d+$/,It=/^#x[\da-f]+$/i;var Rt=function(){function e(){Object(et.a)(this,e)}return Object(tt.a)(e,[{key:"parse",value:function(e){if(t=e,Ht.test(t)||Dt.test(t)||It.test(t))return Object(ft.decodeEntities)("&"+e+";");var t}}]),e}();function Vt(e){return e.trim().split(Nt)}function Ft(e){return e.attributes.filter((function(e){var t=Object(qe.a)(e,2),r=t[0];return t[1]||0===r.indexOf("data-")||Object(u.includes)(Lt,r)}))}function $t(e,t){for(var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ht(),n=e.chars,a=t.chars,i=0;i2&&void 0!==arguments[2]?arguments[2]:ht();if(e.length!==t.length)return r.warning("Expected attributes %o, instead saw %o.",t,e),!1;for(var n={},a=0;a2&&void 0!==arguments[2]?arguments[2]:ht();return e.tagName!==t.tagName&&e.tagName.toLowerCase()!==t.tagName.toLowerCase()?(r.warning("Expected tag name `%s`, instead saw `%s`.",t.tagName,e.tagName),!1):Kt.apply(void 0,Object(s.a)([e,t].map(Ft)).concat([r]))},Chars:$t,Comment:$t};function Yt(e){for(var t;t=e.shift();){if("Chars"!==t.type)return t;if(!Pt.test(t.chars))return t}}function Zt(e,t){return!!e.selfClosing&&!(!t||t.tagName!==e.tagName||"EndTag"!==t.type)}function Qt(e,t){var r,n,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ht(),i=[e,t].map((function(e){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ht();try{return new dt(new Rt).tokenize(e)}catch(r){t.warning("Malformed HTML detected: %s",e)}return null}(e,a)})),o=Object(qe.a)(i,2),s=o[0],c=o[1];if(!s||!c)return!1;for(;r=Yt(s);){if(!(n=Yt(c)))return a.warning("Expected end of content, instead saw %o.",r),!1;if(r.type!==n.type)return a.warning("Expected token of type `%s` (%o), instead saw `%s` (%o).",n.type,n,r.type,r),!1;var u=Wt[r.type];if(u&&!u(r,n,a))return!1;Zt(r,c[0])?Yt(c):Zt(n,s[0])&&Yt(s)}return!(n=Yt(c))||(a.warning("Expected %o, instead saw end of content.",n),!1)}function Xt(e,t,r){var n,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){var e=[],t=ht();return{error:function(){for(var r=arguments.length,n=new Array(r),a=0;a2&&void 0!==arguments[2]?arguments[2]:{},n=ae(e),a=Object(u.mapValues)(n.attributes,(function(e,n){return gr(n,e,t,r)}));return Object(Z.applyFilters)("blocks.getBlockAttributes",a,n,t,r)}function br(e){var t=e.blockName,r=e.attrs,n=e.innerBlocks,a=void 0===n?[]:n,i=e.innerHTML,o=e.innerContent,l=fe(),d=ge()||l;r=r||{},i=i.trim();var f=t||l;"core/cover-image"===f&&(f="core/cover"),"core/text"!==f&&"core/cover-text"!==f||(f="core/paragraph"),f===l&&(i=Object(Ye.autop)(i).trim());var h=ve(f);if(!h){var p={attrs:r,blockName:t,innerBlocks:a,innerContent:o},g=_r(p,{isCommentDelimited:!1}),m=_r(p,{isCommentDelimited:!0});f&&(i=m),r={originalName:t,originalContent:m,originalUndelimitedContent:g},h=ve(f=d)}a=(a=a.map(br)).filter((function(e){return e}));var b=f===l||f===d;if(h&&(i||!b)){var _=Ne(f,mr(h,i,r),a);if(!b){var v=Xt(h,_.attributes,i),k=v.isValid,w=v.validationIssues;_.isValid=k,_.validationIssues=w}return _.originalContent=_.originalContent||i,(_=function(e,t){var r=ve(e.name),n=r.deprecated;if(!n||!n.length)return e;for(var a=e,i=a.originalContent,o=a.innerBlocks,l=0;l0&&(_.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",h.name,h,xt(h,_.attributes),_.originalContent):_.validationIssues.forEach((function(e){var t=e.log,r=e.args;return t.apply(void 0,Object(s.a)(r))}))),_}}function _r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.isCommentDelimited,n=void 0===r||r,a=e.blockName,i=e.attrs,o=void 0===i?{}:i,s=e.innerBlocks,c=void 0===s?[]:s,u=e.innerContent,l=0,d=(void 0===u?[]:u).map((function(e){return null!==e?e:_r(c[l++],t)})).join("\n").replace(/\n+/g,"\n").trim();return n?At(a,o,d):d}var vr,kr=(vr=Ze.parse,function(e){return vr(e).reduce((function(e,t){var r=br(t);return r&&e.push(r),e}),[])}),wr=kr,yr=r(27),jr={strong:{},em:{},s:{},del:{},ins:{},a:{attributes:["href","target","rel"]},code:{},abbr:{attributes:["title"]},sub:{},sup:{},br:{},small:{},q:{attributes:["cite"]},dfn:{attributes:["title"]},data:{attributes:["value"]},time:{attributes:["datetime"]},var:{},samp:{},kbd:{},i:{},b:{},u:{},mark:{},ruby:{},rt:{},rp:{},bdi:{attributes:["dir"]},bdo:{attributes:["dir"]},wbr:{},"#text":{}};Object(u.without)(Object.keys(jr),"#text","br").forEach((function(e){jr[e].children=Object(u.omit)(jr,e)}));var Or=Object(c.a)({},jr,{audio:{attributes:["src","preload","autoplay","mediagroup","loop","muted"]},canvas:{attributes:["width","height"]},embed:{attributes:["src","type","width","height"]},iframe:{attributes:["src","srcdoc","name","sandbox","seamless","width","height"]},img:{attributes:["alt","src","srcset","usemap","ismap","width","height"]},object:{attributes:["data","type","name","usemap","form","width","height"]},video:{attributes:["src","poster","preload","autoplay","mediagroup","loop","muted","controls","width","height"]}});function Tr(e){return"paste"!==e?Or:Object(u.omit)(Object(c.a)({},Or,{ins:{children:Or.ins.children},del:{children:Or.del.children}}),["u","abbr","data","time","wbr","bdi","bdo"])}function xr(e){var t=e.nodeName.toLowerCase();return Tr().hasOwnProperty(t)||"span"===t}function Cr(e){var t=e.nodeName.toLowerCase();return jr.hasOwnProperty(t)||"span"===t}var Ar=window.Node,Sr=Ar.ELEMENT_NODE,Er=Ar.TEXT_NODE;function Nr(e,t,r){var n=e.map((function(e){var n=e.isMatch,a=e.blockName,i=e.schema,o=ye(a,"anchor");return i=Object(u.isFunction)(i)?i({phrasingContentSchema:t,isPaste:r}):i,o||n?Object(u.mapValues)(i,(function(e){var t=e.attributes||[];return o&&(t=[].concat(Object(s.a)(t),["id"])),Object(c.a)({},e,{attributes:t,isMatch:n||void 0})})):i}));return u.mergeWith.apply(void 0,[{}].concat(Object(s.a)(n),[function(e,t,r){switch(r){case"children":return"*"===e||"*"===t?"*":Object(c.a)({},e,t);case"attributes":case"require":return[].concat(Object(s.a)(e||[]),Object(s.a)(t||[]));case"isMatch":if(!e||!t)return;return function(){return e.apply(void 0,arguments)||t.apply(void 0,arguments)}}}]))}function Pr(e){return!e.hasChildNodes()||Array.from(e.childNodes).every((function(e){return e.nodeType===Er?!e.nodeValue.trim():e.nodeType!==Sr||("BR"===e.nodeName||!e.hasAttributes()&&Pr(e))}))}function Br(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0,n=document.implementation.createHTMLDocument("");return n.body.innerHTML=e,function e(t,r,n,a){Array.from(t).forEach((function(t){e(t.childNodes,r,n,a),r.forEach((function(e){n.contains(t)&&e(t,n,a)}))}))}(n.body.childNodes,t,n,r),n.body.innerHTML}function Mr(e,t,r){var n=document.implementation.createHTMLDocument("");return n.body.innerHTML=e,function e(t,r,n,a){Array.from(t).forEach((function(t){var i=t.nodeName.toLowerCase();if(!n.hasOwnProperty(i)||n[i].isMatch&&!n[i].isMatch(t))e(t.childNodes,r,n,a),a&&!xr(t)&&t.nextElementSibling&&Object(yr.insertAfter)(r.createElement("br"),t),Object(yr.unwrap)(t);else if(t.nodeType===Sr){var o=n[i],s=o.attributes,c=void 0===s?[]:s,l=o.classes,d=void 0===l?[]:l,f=o.children,h=o.require,p=void 0===h?[]:h,g=o.allowEmpty;if(f&&!g&&Pr(t))return void Object(yr.remove)(t);if(t.hasAttributes()&&(Array.from(t.attributes).forEach((function(e){var r=e.name;"class"===r||Object(u.includes)(c,r)||t.removeAttribute(r)})),t.classList&&t.classList.length)){var m=d.map((function(e){return"string"==typeof e?function(t){return t===e}:e instanceof RegExp?function(t){return e.test(t)}:u.noop}));Array.from(t.classList).forEach((function(e){m.some((function(t){return t(e)}))||t.classList.remove(e)})),t.classList.length||t.removeAttribute("class")}if(t.hasChildNodes()){if("*"===f)return;if(f)p.length&&!t.querySelector(p.join(","))?(e(t.childNodes,r,n,a),Object(yr.unwrap)(t)):"BODY"===t.parentNode.nodeName&&xr(t)?(e(t.childNodes,r,n,a),Array.from(t.childNodes).some((function(e){return!xr(e)}))&&Object(yr.unwrap)(t)):e(t.childNodes,r,f,a);else for(;t.firstChild;)Object(yr.remove)(t.firstChild)}}}))}(n.body.childNodes,n,t,r),n.body.innerHTML}function Lr(e,t){var r=e["".concat(t,"Sibling")];if(r&&xr(r))return r;var n=e.parentNode;return n&&xr(n)?Lr(n,t):void 0}var zr=window.Node,Hr=zr.ELEMENT_NODE,Dr=zr.TEXT_NODE,Ir=function(e){var t=document.implementation.createHTMLDocument(""),r=document.implementation.createHTMLDocument(""),n=t.body,a=r.body;for(n.innerHTML=e;n.firstChild;){var i=n.firstChild;i.nodeType===Dr?i.nodeValue.trim()?(a.lastChild&&"P"===a.lastChild.nodeName||a.appendChild(r.createElement("P")),a.lastChild.appendChild(i)):n.removeChild(i):i.nodeType===Hr?"BR"===i.nodeName?(i.nextSibling&&"BR"===i.nextSibling.nodeName&&(a.appendChild(r.createElement("P")),n.removeChild(i.nextSibling)),a.lastChild&&"P"===a.lastChild.nodeName&&a.lastChild.hasChildNodes()?a.lastChild.appendChild(i):n.removeChild(i)):"P"===i.nodeName?Pr(i)?n.removeChild(i):a.appendChild(i):xr(i)?(a.lastChild&&"P"===a.lastChild.nodeName||a.appendChild(r.createElement("P")),a.lastChild.appendChild(i)):a.appendChild(i):n.removeChild(i)}return a.innerHTML},Rr=window.Node.COMMENT_NODE,Vr=function(e,t){if(e.nodeType===Rr)if("nextpage"!==e.nodeValue){if(0===e.nodeValue.indexOf("more")){for(var r=e.nodeValue.slice(4).trim(),n=e,a=!1;n=n.nextSibling;)if(n.nodeType===Rr&&"noteaser"===n.nodeValue){a=!0,Object(yr.remove)(n);break}Object(yr.replace)(e,function(e,t,r){var 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(yr.replace)(e,function(e){var t=e.createElement("wp-block");return t.dataset.block="core/nextpage",t}(t))};function Fr(e){return"OL"===e.nodeName||"UL"===e.nodeName}var $r=function(e){if(Fr(e)){var 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)}var n,a=e.parentNode;if(a&&"LI"===a.nodeName&&1===a.children.length&&!/\S/.test((n=a,Array.from(n.childNodes).map((function(e){var t=e.nodeValue;return void 0===t?"":t})).join("")))){var i=a,o=i.previousElementSibling,s=i.parentNode;o?(o.appendChild(t),s.removeChild(i)):(s.parentNode.insertBefore(t,s),s.parentNode.removeChild(s))}if(a&&Fr(a)){var c=e.previousElementSibling;c?c.appendChild(e):Object(yr.unwrap)(e)}}},qr=function(e){"BLOCKQUOTE"===e.nodeName&&(e.innerHTML=Ir(e.innerHTML))};function Ur(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=e.ownerDocument.createElement("figure");t.parentNode.insertBefore(r,t),r.appendChild(e)}var Gr=function(e,t,r){if(function(e,t){var r=e.nodeName.toLowerCase();return"figcaption"!==r&&!Cr(e)&&Object(u.has)(t,["figure","children",r])}(e,r)){var n=e,a=e.parentNode;(function(e,t){var r=e.nodeName.toLowerCase();return Object(u.has)(t,["figure","children","a","children",r])})(e,r)&&"A"===a.nodeName&&1===a.childNodes.length&&(n=e.parentNode);var i=n.closest("p,div");i?(e.classList.contains("alignright")||e.classList.contains("alignleft")||e.classList.contains("aligncenter")||!i.textContent.trim())&&Ur(n,i):"BODY"===n.parentNode.nodeName&&Ur(n)}},Kr=r(111);var Wr=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=Re(Ve("from"),(function(e){return-1===n.indexOf(e.blockName)&&"shortcode"===e.type&&Object(u.some)(Object(u.castArray)(e.tag),(function(e){return Object(Kr.regexp)(e).test(t)}))}));if(!a)return[t];var i,o=Object(u.castArray)(a.tag),l=Object(u.find)(o,(function(e){return Object(Kr.regexp)(e).test(t)})),d=r;if(i=Object(Kr.next)(l,t,r)){r=i.index+i.content.length;var f=t.substr(0,i.index),h=t.substr(r);if(!(Object(u.includes)(i.shortcode.content||"","<")||/(\n|

    )\s*$/.test(f)&&/^\s*(\n|<\/p>)/.test(h)))return e(t,r);if(a.isMatch&&!a.isMatch(i.shortcode.attrs))return e(t,d,[].concat(Object(s.a)(n),[a.blockName]));var p=Object(u.mapValues)(Object(u.pickBy)(a.attributes,(function(e){return e.shortcode})),(function(e){return e.shortcode(i.shortcode.attrs,i)}));return[f,Ne(a.blockName,mr(Object(c.a)({},ve(a.blockName),{attributes:a.attributes}),i.shortcode.content,p))].concat(Object(s.a)(e(t.substr(r))))}return[t]},Yr=window.Node.COMMENT_NODE,Zr=function(e){e.nodeType===Yr&&Object(yr.remove)(e)};function Qr(e,t){return e.every((function(e){return function(e,t){if(Cr(e))return!0;if(!t)return!1;var r=e.nodeName.toLowerCase();return[["ul","li","ol"],["h1","h2","h3","h4","h5","h6"]].some((function(e){return 0===Object(u.difference)([r,t],e).length}))}(e,t)&&Qr(Array.from(e.children),t)}))}function Xr(e){return"BR"===e.nodeName&&e.previousSibling&&"BR"===e.previousSibling.nodeName}var Jr=function(e,t){var r=document.implementation.createHTMLDocument("");r.body.innerHTML=e;var n=Array.from(r.body.children);return!n.some(Xr)&&Qr(n,t)},en=function(e,t){if("SPAN"===e.nodeName&&e.style){var r=e.style,n=r.fontWeight,a=r.fontStyle,i=r.textDecorationLine,o=r.textDecoration,s=r.verticalAlign;"bold"!==n&&"700"!==n||Object(yr.wrap)(t.createElement("strong"),e),"italic"===a&&Object(yr.wrap)(t.createElement("em"),e),("line-through"===i||Object(u.includes)(o,"line-through"))&&Object(yr.wrap)(t.createElement("s"),e),"super"===s?Object(yr.wrap)(t.createElement("sup"),e):"sub"===s&&Object(yr.wrap)(t.createElement("sub"),e)}else"B"===e.nodeName?e=Object(yr.replaceTag)(e,"strong"):"I"===e.nodeName?e=Object(yr.replaceTag)(e,"em"):"A"===e.nodeName&&(e.target&&"_blank"===e.target.toLowerCase()?e.rel="noreferrer noopener":(e.removeAttribute("target"),e.removeAttribute("rel")))},tn=function(e){"SCRIPT"!==e.nodeName&&"NOSCRIPT"!==e.nodeName&&"TEMPLATE"!==e.nodeName&&"STYLE"!==e.nodeName||e.parentNode.removeChild(e)},rn=window.parseInt;function nn(e){return"OL"===e.nodeName||"UL"===e.nodeName}var an=function(e,t){if("P"===e.nodeName){var r=e.getAttribute("style");if(r&&-1!==r.indexOf("mso-list")){var n=/mso-list\s*:[^;]+level([0-9]+)/i.exec(r);if(n){var a=rn(n[1],10)-1||0,i=e.previousElementSibling;if(!i||!nn(i)){var o=e.textContent.trim().slice(0,1),s=/[1iIaA]/.test(o),c=t.createElement(s?"ol":"ul");s&&c.setAttribute("type",o),e.parentNode.insertBefore(c,e)}var u=e.previousElementSibling,l=u.nodeName,d=t.createElement("li"),f=u;for(e.removeChild(e.firstElementChild);e.firstChild;)d.appendChild(e.firstChild);for(;a--;)nn(f=f.lastElementChild||f)&&(f=f.lastElementChild||f);nn(f)||(f=f.appendChild(t.createElement(l))),f.appendChild(d),e.parentNode.removeChild(e)}}}},on=r(37),sn=window,cn=sn.atob,un=sn.File,ln=function(e){if("IMG"===e.nodeName){if(0===e.src.indexOf("file:")&&(e.src=""),0===e.src.indexOf("data:")){var t,r=e.src.split(","),n=Object(qe.a)(r,2),a=n[0],i=n[1],o=a.slice(5).split(";"),s=Object(qe.a)(o,1)[0];if(!i||!s)return void(e.src="");try{t=cn(i)}catch(t){return void(e.src="")}for(var c=new Uint8Array(t.length),u=0;u]+>/g,"")).replace(/^\s*]*>\s*]*>(?:\s*)?/i,"")).replace(/(?:\s*)?<\/body>\s*<\/html>\s*$/i,""),"INLINE"!==o){var f=r||a;if(-1!==f.indexOf("\x3c!-- wp:"))return kr(f)}if(String.prototype.normalize&&(r=r.normalize()),!a||r&&!function(e){return!/<(?!br[ />])/i.test(e)}(r)||(r=hn(a),"AUTO"===o&&-1===a.indexOf("\n")&&0!==a.indexOf("

    ")&&0===r.indexOf("

    ")&&(o="INLINE")),"INLINE"===o)return kn(r);var h=Wr(r),p=h.length>1;if("AUTO"===o&&!p&&Jr(r,s))return kn(r);var g=Object(u.filter)(Ve("from"),{type:"raw"}).map((function(e){return e.isMatch?e:Object(c.a)({},e,{isMatch:function(t){return e.selector&&t.matches(e.selector)}})})),m=Tr("paste"),b=Nr(g,m,!0),_=Object(u.compact)(Object(u.flatMap)(h,(function(e){if("string"!=typeof e)return e;var t=[gn,an,tn,$r,ln,en,Vr,Zr,Gr,qr];d||t.unshift(pn);var r=Object(c.a)({},b,m);return e=Mr(e=Br(e,t,b),r),e=Br(e=Ir(e),[mn,bn,_n],b),vn.log("Processed HTML piece:\n\n",e),function(e){var t=e.html,r=e.rawTransforms,n=document.implementation.createHTMLDocument("");return n.body.innerHTML=t,Array.from(n.body.children).map((function(e){var t=Re(r,(function(t){return(0,t.isMatch)(e)}));if(!t)return Ne("core/html",mr("core/html",e.outerHTML));var n=t.transform,a=t.blockName;return n?n(e):Ne(a,mr(a,e.outerHTML))}))}({html:e,rawTransforms:g})})));if("AUTO"===o&&1===_.length&&ye(_[0].name,"__unstablePasteTextInline",!1)){var v=a.trim();if(""!==v&&-1===v.indexOf("\n"))return Mr(Ct(_[0]),m)}return _}function yn(e){var t=e.HTML,r=void 0===t?"":t;if(-1!==r.indexOf("\x3c!-- wp:"))return kr(r);var n=Wr(r),a=Object(u.filter)(Ve("from"),{type:"raw"}).map((function(e){return e.isMatch?e:Object(c.a)({},e,{isMatch:function(t){return e.selector&&t.matches(e.selector)}})})),i=Tr(),o=Nr(a,i);return Object(u.compact)(Object(u.flatMap)(n,(function(e){return"string"!=typeof e?e:(e=Br(e,[$r,Vr,Gr,qr],o),function(e){var t=e.html,r=e.rawTransforms,n=document.implementation.createHTMLDocument("");return n.body.innerHTML=t,Array.from(n.body.children).map((function(e){var t=Re(r,(function(t){return(0,t.isMatch)(e)}));if(!t)return Ne("core/html",mr("core/html",e.outerHTML));var n=t.transform,a=t.blockName;return n?n(e):Ne(a,mr(a,e.outerHTML))}))}({html:e=Ir(e),rawTransforms:a}))})))}function jn(){return Object(i.select)("core/blocks").getCategories()}function On(e){Object(i.dispatch)("core/blocks").setCategories(e)}function Tn(e,t){Object(i.dispatch)("core/blocks").updateCategory(e,t)}function xn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.length===t.length&&Object(u.every)(t,(function(t,r){var n=Object(qe.a)(t,3),a=n[0],i=n[2],o=e[r];return a===o.name&&xn(o.innerBlocks,i)}))}function Cn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return t?Object(u.map)(t,(function(t,r){var n=Object(qe.a)(t,3),a=n[0],i=n[1],o=n[2],s=e[r];if(s&&s.name===a){var l=Cn(s.innerBlocks,o);return Object(c.a)({},s,{innerBlocks:l})}var d=ve(a),f=function(e,t){return Object(u.mapValues)(t,(function(t,r){return h(e[r],t)}))},h=function(e,t){return r=e,"html"===Object(u.get)(r,["source"])&&Object(u.isArray)(t)?Object(J.renderToString)(t):function(e){return"query"===Object(u.get)(e,["source"])}(e)&&t?t.map((function(t){return f(e.query,t)})):t;var r};return Ne(a,f(Object(u.get)(d,["attributes"],{}),i),Cn([],o))})):e}r.d(t,"createBlock",(function(){return Ne})),r.d(t,"cloneBlock",(function(){return Pe})),r.d(t,"getPossibleBlockTransformations",(function(){return Ie})),r.d(t,"switchToBlockType",(function(){return Fe})),r.d(t,"getBlockTransforms",(function(){return Ve})),r.d(t,"findTransform",(function(){return Re})),r.d(t,"getBlockFromExample",(function(){return $e})),r.d(t,"parse",(function(){return wr})),r.d(t,"getBlockAttributes",(function(){return mr})),r.d(t,"parseWithAttributeSchema",(function(){return pr})),r.d(t,"pasteHandler",(function(){return wn})),r.d(t,"rawHandler",(function(){return yn})),r.d(t,"getPhrasingContentSchema",(function(){return Tr})),r.d(t,"serialize",(function(){return Et})),r.d(t,"getBlockContent",(function(){return Ct})),r.d(t,"getBlockDefaultClassName",(function(){return jt})),r.d(t,"getBlockMenuDefaultClassName",(function(){return Ot})),r.d(t,"getSaveElement",(function(){return Tt})),r.d(t,"getSaveContent",(function(){return xt})),r.d(t,"isValidBlockContent",(function(){return Jt})),r.d(t,"getCategories",(function(){return jn})),r.d(t,"setCategories",(function(){return On})),r.d(t,"updateCategory",(function(){return Tn})),r.d(t,"registerBlockType",(function(){return ue})),r.d(t,"unregisterBlockType",(function(){return le})),r.d(t,"setFreeformContentHandlerName",(function(){return de})),r.d(t,"getFreeformContentHandlerName",(function(){return fe})),r.d(t,"setUnregisteredTypeHandlerName",(function(){return pe})),r.d(t,"getUnregisteredTypeHandlerName",(function(){return ge})),r.d(t,"setDefaultBlockName",(function(){return me})),r.d(t,"getDefaultBlockName",(function(){return _e})),r.d(t,"setGroupingBlockName",(function(){return be})),r.d(t,"getGroupingBlockName",(function(){return he})),r.d(t,"getBlockType",(function(){return ve})),r.d(t,"getBlockTypes",(function(){return ke})),r.d(t,"getBlockSupport",(function(){return we})),r.d(t,"hasBlockSupport",(function(){return ye})),r.d(t,"isReusableBlock",(function(){return je})),r.d(t,"getChildBlockNames",(function(){return Oe})),r.d(t,"hasChildBlocks",(function(){return Te})),r.d(t,"hasChildBlocksWithInserterSupport",(function(){return xe})),r.d(t,"unstable__bootstrapServerSideBlockDefinitions",(function(){return ce})),r.d(t,"registerBlockStyle",(function(){return Ce})),r.d(t,"unregisterBlockStyle",(function(){return Ae})),r.d(t,"__experimentalRegisterBlockPattern",(function(){return Se})),r.d(t,"__experimentalUnregisterBlockPattern",(function(){return Ee})),r.d(t,"isUnmodifiedDefaultBlock",(function(){return te})),r.d(t,"normalizeIconObject",(function(){return ne})),r.d(t,"isValidIcon",(function(){return re})),r.d(t,"doBlocksMatchTemplate",(function(){return xn})),r.d(t,"synchronizeBlocksWithTemplate",(function(){return Cn})),r.d(t,"children",(function(){return nr})),r.d(t,"node",(function(){return lr})),r.d(t,"withBlockContentContext",(function(){return wt}))},37:function(e,t){!function(){e.exports=this.wp.blob}()},4:function(e,t){!function(){e.exports=this.wp.data}()},46:function(e,t){!function(){e.exports=this.wp.isShallowEqual}()},49:function(e,t,r){var n;!function(a){var i=/^\s+/,o=/\s+$/,s=0,c=a.round,u=a.min,l=a.max,d=a.random;function f(e,t){if(t=t||{},(e=e||"")instanceof f)return e;if(!(this instanceof f))return new f(e,t);var r=function(e){var t={r:0,g:0,b:0},r=1,n=null,s=null,c=null,d=!1,f=!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:L(t[1]),g:L(t[2]),b:L(t[3]),a:I(t[4]),format:r?"name":"hex8"};if(t=$.hex6.exec(e))return{r:L(t[1]),g:L(t[2]),b:L(t[3]),format:r?"name":"hex"};if(t=$.hex4.exec(e))return{r:L(t[1]+""+t[1]),g:L(t[2]+""+t[2]),b:L(t[3]+""+t[3]),a:I(t[4]+""+t[4]),format:r?"name":"hex8"};if(t=$.hex3.exec(e))return{r:L(t[1]+""+t[1]),g:L(t[2]+""+t[2]),b:L(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,p=e.g,g=e.b,t={r:255*B(h,255),g:255*B(p,255),b:255*B(g,255)},d=!0,f="%"===String(e.r).substr(-1)?"prgb":"rgb"):q(e.h)&&q(e.s)&&q(e.v)?(n=H(e.s),s=H(e.v),t=function(e,t,r){e=6*B(e,360),t=B(t,100),r=B(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),u=n%6;return{r:255*[r,s,o,o,c,r][u],g:255*[c,r,r,s,o,o][u],b:255*[o,o,c,r,r,s][u]}}(e.h,n,s),d=!0,f="hsv"):q(e.h)&&q(e.s)&&q(e.l)&&(n=H(e.s),c=H(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=B(e,360),t=B(t,100),r=B(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,f="hsl"),e.hasOwnProperty("a")&&(r=e.a));var h,p,g;return r=P(r),{ok:d,format:e.format||f,r:u(255,l(t.r,0)),g:u(255,l(t.g,0)),b:u(255,l(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=B(e,255),t=B(t,255),r=B(r,255);var n,a,i=l(e,t,r),o=u(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>1)+720)%360;--t;)n.h=(n.h+a)%360,i.push(f(n));return i}function S(e,t){t=t||6;for(var r=f(e).toHsv(),n=r.h,a=r.s,i=r.v,o=[],s=1/t;t--;)o.push(f({h:n,s:a,v:i})),i=(i+s)%1;return o}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,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=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=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(D(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*B(this._r,255))+"%",g:c(100*B(this._g,255))+"%",b:c(100*B(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+c(100*B(this._r,255))+"%, "+c(100*B(this._g,255))+"%, "+c(100*B(this._b,255))+"%)":"rgba("+c(100*B(this._r,255))+"%, "+c(100*B(this._g,255))+"%, "+c(100*B(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(N[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=f(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 f(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(k,arguments)},brighten:function(){return this._applyModification(w,arguments)},darken:function(){return this._applyModification(y,arguments)},desaturate:function(){return this._applyModification(b,arguments)},saturate:function(){return this._applyModification(_,arguments)},greyscale:function(){return this._applyModification(v,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(A,arguments)},complement:function(){return this._applyCombination(O,arguments)},monochromatic:function(){return this._applyCombination(S,arguments)},splitcomplement:function(){return this._applyCombination(C,arguments)},triad:function(){return this._applyCombination(T,arguments)},tetrad:function(){return this._applyCombination(x,arguments)}},f.fromRatio=function(e,t){if("object"==typeof e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]="a"===n?e[n]:H(e[n]));e=r}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,r){r=0===r?0:r||50;var n=f(e).toRgb(),a=f(t).toRgb(),i=r/100;return f({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})},f.readability=function(e,t){var r=f(e),n=f(t);return(a.max(r.getLuminance(),n.getLuminance())+.05)/(a.min(r.getLuminance(),n.getLuminance())+.05)},f.isReadable=function(e,t,r){var n,a,i=f.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},f.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 u=0;uc&&(c=n,s=f(t[u]));return f.isReadable(e,s,{level:i,size:o})||!a?s:(r.includeFallbackColors=!1,f.mostReadable(e,["#fff","#000"],r))};var E=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"},N=f.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 B(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=u(t,l(0,parseFloat(e))),r&&(e=parseInt(e*t,10)/100),a.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function M(e){return u(1,l(0,e))}function L(e){return parseInt(e,16)}function z(e){return 1==e.length?"0"+e:""+e}function H(e){return e<=1&&(e=100*e+"%"),e}function D(e){return a.round(255*parseFloat(e)).toString(16)}function I(e){return L(e)/255}var R,V,F,$=(V="[\\s|\\(]+("+(R="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+R+")[,|\\s]+("+R+")\\s*\\)?",F="[\\s|\\(]+("+R+")[,|\\s]+("+R+")[,|\\s]+("+R+")[,|\\s]+("+R+")\\s*\\)?",{CSS_UNIT:new RegExp(R),rgb:new RegExp("rgb"+V),rgba:new RegExp("rgba"+F),hsl:new RegExp("hsl"+V),hsla:new RegExp("hsla"+F),hsv:new RegExp("hsv"+V),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=f:void 0===(n=function(){return f}.call(t,r,t,e))||(e.exports=n)}(Math)},54:function(e,t){!function(){e.exports=this.wp.htmlEntities}()},6:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(9);function a(e){for(var t=1;t>>((3&t)<<3)&255;return a}}},88:function(e,t){for(var r=[],n=0;n<256;++n)r[n]=(n+256).toString(16).substr(1);e.exports=function(e,t){var n=t||0,a=r;return[a[e[n++]],a[e[n++]],a[e[n++]],a[e[n++]],"-",a[e[n++]],a[e[n++]],"-",a[e[n++]],a[e[n++]],"-",a[e[n++]],a[e[n++]],"-",a[e[n++]],a[e[n++]],a[e[n++]],a[e[n++]],a[e[n++]],a[e[n++]]].join("")}},9:function(e,t,r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,"a",(function(){return n}))}}); \ No newline at end of file diff --git a/wp-includes/js/dist/components.js b/wp-includes/js/dist/components.js index dc78ec5142..eb238cbc30 100644 --- a/wp-includes/js/dist/components.js +++ b/wp-includes/js/dist/components.js @@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["components"] = /******/ /******/ /******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 361); +/******/ return __webpack_require__(__webpack_require__.s = 362); /******/ }) /************************************************************************/ /******/ ([ @@ -110,28 +110,14 @@ this["wp"] = this["wp"] || {}; this["wp"]["components"] = /* 6 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _assertThisInitialized; }); -function _assertThisInitialized(self) { - if (self === void 0) { - throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); - } - - return self; -} - -/***/ }), -/* 7 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectSpread; }); /* harmony import */ var _defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9); function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { - var source = arguments[i] != null ? arguments[i] : {}; - var ownKeys = Object.keys(Object(source)); + var source = arguments[i] != null ? Object(arguments[i]) : {}; + var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { @@ -147,6 +133,20 @@ function _objectSpread(target) { return target; } +/***/ }), +/* 7 */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _assertThisInitialized; }); +function _assertThisInitialized(self) { + if (self === void 0) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return self; +} + /***/ }), /* 8 */ /***/ (function(module, exports) { @@ -175,8 +175,7 @@ function _defineProperty(obj, key, value) { } /***/ }), -/* 10 */, -/* 11 */ +/* 10 */ /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! @@ -233,43 +232,10 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! /***/ }), +/* 11 */, /* 12 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _createClass; }); -function _defineProperties(target, props) { - for (var i = 0; i < props.length; i++) { - var descriptor = props[i]; - descriptor.enumerable = descriptor.enumerable || false; - descriptor.configurable = true; - if ("value" in descriptor) descriptor.writable = true; - Object.defineProperty(target, descriptor.key, descriptor); - } -} - -function _createClass(Constructor, protoProps, staticProps) { - if (protoProps) _defineProperties(Constructor.prototype, protoProps); - if (staticProps) _defineProperties(Constructor, staticProps); - return Constructor; -} - -/***/ }), -/* 13 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _classCallCheck; }); -function _classCallCheck(instance, Constructor) { - if (!(instance instanceof Constructor)) { - throw new TypeError("Cannot call a class as a function"); - } -} - -/***/ }), -/* 14 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _extends; }); function _extends() { @@ -290,14 +256,48 @@ function _extends() { return _extends.apply(this, arguments); } +/***/ }), +/* 13 */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _createClass; }); +function _defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, descriptor.key, descriptor); + } +} + +function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + return Constructor; +} + +/***/ }), +/* 14 */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _classCallCheck; }); +function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } +} + /***/ }), /* 15 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _possibleConstructorReturn; }); -/* harmony import */ var _helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31); -/* harmony import */ var _assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6); +/* harmony import */ var _helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(32); +/* harmony import */ var _assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7); function _possibleConstructorReturn(self, call) { @@ -371,7 +371,7 @@ function _arrayWithoutHoles(arr) { } } // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js -var iterableToArray = __webpack_require__(32); +var iterableToArray = __webpack_require__(31); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js function _nonIterableSpread() { @@ -394,12 +394,6 @@ function _toConsumableArray(arr) { /***/ }), /* 20 */ -/***/ (function(module, exports) { - -(function() { module.exports = this["React"]; }()); - -/***/ }), -/* 21 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -425,6 +419,12 @@ function _objectWithoutProperties(source, excluded) { return target; } +/***/ }), +/* 21 */ +/***/ (function(module, exports) { + +(function() { module.exports = this["React"]; }()); + /***/ }), /* 22 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { @@ -432,7 +432,7 @@ function _objectWithoutProperties(source, excluded) { "use strict"; // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js -var arrayWithHoles = __webpack_require__(33); +var arrayWithHoles = __webpack_require__(35); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js function _iterableToArrayLimit(arr, i) { @@ -465,7 +465,7 @@ function _iterableToArrayLimit(arr, i) { return _arr; } // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js -var nonIterableRest = __webpack_require__(34); +var nonIterableRest = __webpack_require__(36); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _slicedToArray; }); @@ -494,7 +494,7 @@ function _slicedToArray(arr, i) { /* 27 */ /***/ (function(module, exports) { -(function() { module.exports = this["wp"]["hooks"]; }()); +(function() { module.exports = this["wp"]["dom"]; }()); /***/ }), /* 28 */ @@ -510,7 +510,7 @@ function _slicedToArray(arr, i) { if (false) { var throwOnDirectAccess, ReactIs; } else { // By explicitly using `prop-types` you are opting into new production behavior. // http://fb.me/prop-types-in-prod - module.exports = __webpack_require__(88)(); + module.exports = __webpack_require__(89)(); } @@ -518,7 +518,7 @@ if (false) { var throwOnDirectAccess, ReactIs; } else { /* 29 */ /***/ (function(module, exports) { -(function() { module.exports = this["wp"]["dom"]; }()); +(function() { module.exports = this["wp"]["hooks"]; }()); /***/ }), /* 30 */ @@ -530,6 +530,16 @@ if (false) { var throwOnDirectAccess, ReactIs; } else { /* 31 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _iterableToArray; }); +function _iterableToArray(iter) { + if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter); +} + +/***/ }), +/* 32 */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _typeof; }); function _typeof(obj) { @@ -547,17 +557,14 @@ function _typeof(obj) { } /***/ }), -/* 32 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { +/* 33 */ +/***/ (function(module, exports) { -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _iterableToArray; }); -function _iterableToArray(iter) { - if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter); -} +(function() { module.exports = this["wp"]["deprecated"]; }()); /***/ }), -/* 33 */ +/* 34 */, +/* 35 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -567,7 +574,7 @@ function _arrayWithHoles(arr) { } /***/ }), -/* 34 */ +/* 36 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -577,13 +584,6 @@ function _nonIterableRest() { } /***/ }), -/* 35 */ -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["deprecated"]; }()); - -/***/ }), -/* 36 */, /* 37 */, /* 38 */, /* 39 */, @@ -654,7 +654,8 @@ var MODIFIER_KEY_NAMES = exports.MODIFIER_KEY_NAMES = new Set(['Shift', 'Control /***/ }), /* 42 */, -/* 43 */ +/* 43 */, +/* 44 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -696,19 +697,19 @@ function _asyncToGenerator(fn) { } /***/ }), -/* 44 */ +/* 45 */ /***/ (function(module, exports) { (function() { module.exports = this["wp"]["a11y"]; }()); /***/ }), -/* 45 */ +/* 46 */ /***/ (function(module, exports) { (function() { module.exports = this["wp"]["isShallowEqual"]; }()); /***/ }), -/* 46 */ +/* 47 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -876,7 +877,7 @@ var INTRINSICS = { '%WeakSetPrototype%': typeof WeakSet === 'undefined' ? undefined : WeakSet.prototype }; -var bind = __webpack_require__(72); +var bind = __webpack_require__(74); var $replace = bind.call(Function.call, String.prototype.replace); /* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */ @@ -930,7 +931,7 @@ module.exports = function GetIntrinsic(name, allowMissing) { /***/ }), -/* 47 */ +/* 48 */ /***/ (function(module, exports, __webpack_require__) { module.exports = true ? __webpack_require__(287) : undefined; @@ -938,7 +939,7 @@ module.exports = true ? __webpack_require__(287) : undefined; /***/ }), -/* 48 */ +/* 49 */ /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_RESULT__;// TinyColor v1.4.1 @@ -2138,15 +2139,15 @@ else {} /***/ }), -/* 49 */, /* 50 */, -/* 51 */ +/* 51 */, +/* 52 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var defineProperties = __webpack_require__(64); +var defineProperties = __webpack_require__(66); var implementation = __webpack_require__(167); var getPolyfill = __webpack_require__(168); @@ -2164,7 +2165,7 @@ module.exports = polyfill; /***/ }), -/* 52 */ +/* 53 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -2383,9 +2384,9 @@ var CalendarDayPhrases = exports.CalendarDayPhrases = { }; /***/ }), -/* 53 */, /* 54 */, -/* 55 */ +/* 55 */, +/* 56 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -2396,7 +2397,7 @@ Object.defineProperty(exports, "__esModule", { }); exports['default'] = getPhrasePropTypes; -var _object = __webpack_require__(51); +var _object = __webpack_require__(52); var _object2 = _interopRequireDefault(_object); @@ -2415,7 +2416,8 @@ function getPhrasePropTypes(defaultPhrases) { } /***/ }), -/* 56 */ +/* 57 */, +/* 58 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -2432,11 +2434,11 @@ var _createClass = function () { function defineProperties(target, props) { for exports.withStyles = withStyles; -var _object = __webpack_require__(51); +var _object = __webpack_require__(52); var _object2 = _interopRequireDefault(_object); -var _react = __webpack_require__(20); +var _react = __webpack_require__(21); var _react2 = _interopRequireDefault(_react); @@ -2669,16 +2671,16 @@ function withStyles(styleFn) { } /***/ }), -/* 57 */ +/* 59 */ /***/ (function(module, exports) { (function() { module.exports = this["ReactDOM"]; }()); /***/ }), -/* 58 */, -/* 59 */, /* 60 */, -/* 61 */ +/* 61 */, +/* 62 */, +/* 63 */ /***/ (function(module, exports) { var g; @@ -2704,8 +2706,8 @@ module.exports = g; /***/ }), -/* 62 */, -/* 63 */ +/* 64 */, +/* 65 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -2715,12 +2717,12 @@ Object.defineProperty(exports, '__esModule', { value: true }); function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } -var _extends = _interopDefault(__webpack_require__(117)); -var _objectWithoutPropertiesLoose = _interopDefault(__webpack_require__(118)); -var React = __webpack_require__(20); +var _extends = _interopDefault(__webpack_require__(118)); +var _objectWithoutPropertiesLoose = _interopDefault(__webpack_require__(119)); +var React = __webpack_require__(21); var React__default = _interopDefault(React); -var _inheritsLoose = _interopDefault(__webpack_require__(95)); -var _assertThisInitialized = _interopDefault(__webpack_require__(119)); +var _inheritsLoose = _interopDefault(__webpack_require__(96)); +var _assertThisInitialized = _interopDefault(__webpack_require__(120)); var is = { arr: Array.isArray, @@ -5035,13 +5037,13 @@ exports.useSprings = useSprings; /***/ }), -/* 64 */ +/* 66 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var keys = __webpack_require__(126); +var keys = __webpack_require__(127); var hasSymbols = typeof Symbol === 'function' && typeof Symbol('foo') === 'symbol'; var toStr = Object.prototype.toString; @@ -5100,7 +5102,7 @@ module.exports = defineProperties; /***/ }), -/* 65 */ +/* 67 */ /***/ (function(module, exports, __webpack_require__) { var moment = __webpack_require__(30); @@ -5146,11 +5148,11 @@ module.exports = { /***/ }), -/* 66 */ +/* 68 */ /***/ (function(module, exports, __webpack_require__) { -var rng = __webpack_require__(86); -var bytesToUuid = __webpack_require__(87); +var rng = __webpack_require__(87); +var bytesToUuid = __webpack_require__(88); function v4(options, buf, offset) { var i = buf && offset || 0; @@ -5181,20 +5183,20 @@ module.exports = v4; /***/ }), -/* 67 */ +/* 69 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -module.exports = __webpack_require__(111); +module.exports = __webpack_require__(112); /***/ }), -/* 68 */, -/* 69 */, /* 70 */, /* 71 */, -/* 72 */ +/* 72 */, +/* 73 */, +/* 74 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -5206,7 +5208,7 @@ module.exports = Function.prototype.bind || implementation; /***/ }), -/* 73 */ +/* 75 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -5225,19 +5227,19 @@ module.exports = function Type(x) { /***/ }), -/* 74 */ +/* 76 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var bind = __webpack_require__(72); +var bind = __webpack_require__(74); module.exports = bind.call(Function.call, Object.prototype.hasOwnProperty); /***/ }), -/* 75 */ +/* 77 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -5258,8 +5260,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'd exports['default'] = _propTypes2['default'].oneOf(_constants.WEEKDAYS); /***/ }), -/* 76 */, -/* 77 */ +/* 78 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -5292,7 +5293,7 @@ module.exports = shallowCompare; /***/ }), -/* 78 */ +/* 79 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -5317,7 +5318,7 @@ function isSameDay(a, b) { } /***/ }), -/* 79 */ +/* 80 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -5344,7 +5345,7 @@ function toMomentObject(dateString, customFormat) { } /***/ }), -/* 80 */ +/* 81 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -5365,7 +5366,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'd exports['default'] = _propTypes2['default'].oneOf([_constants.HORIZONTAL_ORIENTATION, _constants.VERTICAL_ORIENTATION, _constants.VERTICAL_SCROLLABLE]); /***/ }), -/* 81 */ +/* 82 */ /***/ (function(module, exports) { Object.defineProperty(exports, "__esModule", { @@ -5378,7 +5379,7 @@ function isTouchDevice() { module.exports = exports['default']; /***/ }), -/* 82 */ +/* 83 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -5399,10 +5400,10 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'd exports['default'] = _propTypes2['default'].oneOf([_constants.OPEN_DOWN, _constants.OPEN_UP]); /***/ }), -/* 83 */, /* 84 */, /* 85 */, -/* 86 */ +/* 86 */, +/* 87 */ /***/ (function(module, exports) { // Unique ID creation requires a high quality random # generator. In the @@ -5442,7 +5443,7 @@ if (getRandomValues) { /***/ }), -/* 87 */ +/* 88 */ /***/ (function(module, exports) { /** @@ -5472,7 +5473,7 @@ module.exports = bytesToUuid; /***/ }), -/* 88 */ +/* 89 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -5485,7 +5486,7 @@ module.exports = bytesToUuid; -var ReactPropTypesSecret = __webpack_require__(89); +var ReactPropTypesSecret = __webpack_require__(90); function emptyFunction() {} function emptyFunctionWithReset() {} @@ -5543,7 +5544,7 @@ module.exports = function() { /***/ }), -/* 89 */ +/* 90 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -5561,27 +5562,6 @@ var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED'; module.exports = ReactPropTypesSecret; -/***/ }), -/* 90 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _propTypes = __webpack_require__(28); - -var _propTypes2 = _interopRequireDefault(_propTypes); - -var _constants = __webpack_require__(41); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } - -exports['default'] = _propTypes2['default'].oneOf([_constants.ICON_BEFORE_POSITION, _constants.ICON_AFTER_POSITION]); - /***/ }), /* 91 */ /***/ (function(module, exports, __webpack_require__) { @@ -5601,7 +5581,7 @@ var _constants = __webpack_require__(41); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } -exports['default'] = _propTypes2['default'].oneOf([_constants.INFO_POSITION_TOP, _constants.INFO_POSITION_BOTTOM, _constants.INFO_POSITION_BEFORE, _constants.INFO_POSITION_AFTER]); +exports['default'] = _propTypes2['default'].oneOf([_constants.ICON_BEFORE_POSITION, _constants.ICON_AFTER_POSITION]); /***/ }), /* 92 */ @@ -5610,6 +5590,27 @@ exports['default'] = _propTypes2['default'].oneOf([_constants.INFO_POSITION_TOP, "use strict"; +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _propTypes = __webpack_require__(28); + +var _propTypes2 = _interopRequireDefault(_propTypes); + +var _constants = __webpack_require__(41); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } + +exports['default'] = _propTypes2['default'].oneOf([_constants.INFO_POSITION_TOP, _constants.INFO_POSITION_BOTTOM, _constants.INFO_POSITION_BEFORE, _constants.INFO_POSITION_AFTER]); + +/***/ }), +/* 93 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + Object.defineProperty(exports, "__esModule", { value: true }); @@ -5619,7 +5620,7 @@ var _moment = __webpack_require__(30); var _moment2 = _interopRequireDefault(_moment); -var _isBeforeDay = __webpack_require__(93); +var _isBeforeDay = __webpack_require__(94); var _isBeforeDay2 = _interopRequireDefault(_isBeforeDay); @@ -5631,7 +5632,7 @@ function isInclusivelyAfterDay(a, b) { } /***/ }), -/* 93 */ +/* 94 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -5666,7 +5667,7 @@ function isBeforeDay(a, b) { } /***/ }), -/* 94 */ +/* 95 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -5676,7 +5677,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _react = __webpack_require__(20); +var _react = __webpack_require__(21); var _react2 = _interopRequireDefault(_react); @@ -5703,7 +5704,7 @@ CloseButton.defaultProps = { exports['default'] = CloseButton; /***/ }), -/* 95 */ +/* 96 */ /***/ (function(module, exports) { function _inheritsLoose(subClass, superClass) { @@ -5715,11 +5716,11 @@ function _inheritsLoose(subClass, superClass) { module.exports = _inheritsLoose; /***/ }), -/* 96 */, /* 97 */, /* 98 */, /* 99 */, -/* 100 */ +/* 100 */, +/* 101 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -5733,7 +5734,7 @@ module.exports = function IsPropertyKey(argument) { /***/ }), -/* 101 */ +/* 102 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -5747,7 +5748,7 @@ var _propTypes = __webpack_require__(28); var _propTypes2 = _interopRequireDefault(_propTypes); -var _airbnbPropTypes = __webpack_require__(47); +var _airbnbPropTypes = __webpack_require__(48); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } @@ -5778,7 +5779,7 @@ exports['default'] = (0, _airbnbPropTypes.and)([_propTypes2['default'].instanceO }()], 'Modifiers (Set of Strings)'); /***/ }), -/* 102 */ +/* 103 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -5793,7 +5794,7 @@ var _moment = __webpack_require__(30); var _moment2 = _interopRequireDefault(_moment); -var _toMomentObject = __webpack_require__(79); +var _toMomentObject = __webpack_require__(80); var _toMomentObject2 = _interopRequireDefault(_toMomentObject); @@ -5809,7 +5810,7 @@ function toISODateString(date, currentFormat) { } /***/ }), -/* 103 */ +/* 104 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -6024,7 +6025,7 @@ function addEventListener(target, eventName, listener, options) { /***/ }), -/* 104 */ +/* 105 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -6039,7 +6040,7 @@ var _moment = __webpack_require__(30); var _moment2 = _interopRequireDefault(_moment); -var _toMomentObject = __webpack_require__(79); +var _toMomentObject = __webpack_require__(80); var _toMomentObject2 = _interopRequireDefault(_toMomentObject); @@ -6055,7 +6056,7 @@ function toISOMonthString(date, currentFormat) { } /***/ }), -/* 105 */ +/* 106 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -6076,7 +6077,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'd exports['default'] = _propTypes2['default'].oneOfType([_propTypes2['default'].bool, _propTypes2['default'].oneOf([_constants.START_DATE, _constants.END_DATE])]); /***/ }), -/* 106 */ +/* 107 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -6091,11 +6092,11 @@ var _moment = __webpack_require__(30); var _moment2 = _interopRequireDefault(_moment); -var _isBeforeDay = __webpack_require__(93); +var _isBeforeDay = __webpack_require__(94); var _isBeforeDay2 = _interopRequireDefault(_isBeforeDay); -var _isSameDay = __webpack_require__(78); +var _isSameDay = __webpack_require__(79); var _isSameDay2 = _interopRequireDefault(_isSameDay); @@ -6107,17 +6108,17 @@ function isAfterDay(a, b) { } /***/ }), -/* 107 */, /* 108 */, /* 109 */, /* 110 */, -/* 111 */ +/* 111 */, +/* 112 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var util = __webpack_require__(112); +var util = __webpack_require__(113); function scrollIntoView(elem, container, config) { config = config || {}; @@ -6246,7 +6247,7 @@ function scrollIntoView(elem, container, config) { module.exports = scrollIntoView; /***/ }), -/* 112 */ +/* 113 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -6691,11 +6692,11 @@ module.exports = _extends({ }, domUtils); /***/ }), -/* 113 */, /* 114 */, /* 115 */, /* 116 */, -/* 117 */ +/* 117 */, +/* 118 */ /***/ (function(module, exports) { function _extends() { @@ -6719,7 +6720,7 @@ function _extends() { module.exports = _extends; /***/ }), -/* 118 */ +/* 119 */ /***/ (function(module, exports) { function _objectWithoutPropertiesLoose(source, excluded) { @@ -6740,7 +6741,7 @@ function _objectWithoutPropertiesLoose(source, excluded) { module.exports = _objectWithoutPropertiesLoose; /***/ }), -/* 119 */ +/* 120 */ /***/ (function(module, exports) { function _assertThisInitialized(self) { @@ -6754,13 +6755,13 @@ function _assertThisInitialized(self) { module.exports = _assertThisInitialized; /***/ }), -/* 120 */, /* 121 */, /* 122 */, /* 123 */, /* 124 */, /* 125 */, -/* 126 */ +/* 126 */, +/* 127 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -6799,15 +6800,15 @@ module.exports = keysShim; /***/ }), -/* 127 */ +/* 128 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var bind = __webpack_require__(72); +var bind = __webpack_require__(74); -var GetIntrinsic = __webpack_require__(46); +var GetIntrinsic = __webpack_require__(47); var $Function = GetIntrinsic('%Function%'); var $apply = $Function.apply; @@ -6823,20 +6824,20 @@ module.exports.apply = function applyBind() { /***/ }), -/* 128 */ +/* 129 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var GetIntrinsic = __webpack_require__(46); +var GetIntrinsic = __webpack_require__(47); var $TypeError = GetIntrinsic('%TypeError%'); var inspect = __webpack_require__(153); -var IsPropertyKey = __webpack_require__(100); -var Type = __webpack_require__(73); +var IsPropertyKey = __webpack_require__(101); +var Type = __webpack_require__(75); /** * 7.3.1 Get (O, P) - https://ecma-international.org/ecma-262/6.0/#sec-get-o-p @@ -6860,15 +6861,15 @@ module.exports = function Get(O, P) { /***/ }), -/* 129 */ +/* 130 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var GetIntrinsic = __webpack_require__(46); +var GetIntrinsic = __webpack_require__(47); -var callBind = __webpack_require__(127); +var callBind = __webpack_require__(128); var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf')); @@ -6882,7 +6883,7 @@ module.exports = function callBoundIntrinsic(name, allowMissing) { /***/ }), -/* 130 */ +/* 131 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -6894,7 +6895,7 @@ module.exports = Number.isNaN || function isNaN(a) { /***/ }), -/* 131 */ +/* 132 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -6936,7 +6937,7 @@ if (hasSymbols) { /***/ }), -/* 132 */ +/* 133 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -6951,11 +6952,11 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); -var _object = __webpack_require__(51); +var _object = __webpack_require__(52); var _object2 = _interopRequireDefault(_object); -var _react = __webpack_require__(20); +var _react = __webpack_require__(21); var _react2 = _interopRequireDefault(_react); @@ -6963,25 +6964,25 @@ var _propTypes = __webpack_require__(28); var _propTypes2 = _interopRequireDefault(_propTypes); -var _reactAddonsShallowCompare = __webpack_require__(77); +var _reactAddonsShallowCompare = __webpack_require__(78); var _reactAddonsShallowCompare2 = _interopRequireDefault(_reactAddonsShallowCompare); -var _reactMomentProptypes = __webpack_require__(65); +var _reactMomentProptypes = __webpack_require__(67); var _reactMomentProptypes2 = _interopRequireDefault(_reactMomentProptypes); -var _airbnbPropTypes = __webpack_require__(47); +var _airbnbPropTypes = __webpack_require__(48); -var _reactWithStyles = __webpack_require__(56); +var _reactWithStyles = __webpack_require__(58); var _moment = __webpack_require__(30); var _moment2 = _interopRequireDefault(_moment); -var _defaultPhrases = __webpack_require__(52); +var _defaultPhrases = __webpack_require__(53); -var _getPhrasePropTypes = __webpack_require__(55); +var _getPhrasePropTypes = __webpack_require__(56); var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes); @@ -6989,7 +6990,7 @@ var _getCalendarDaySettings = __webpack_require__(169); var _getCalendarDaySettings2 = _interopRequireDefault(_getCalendarDaySettings); -var _ModifiersShape = __webpack_require__(101); +var _ModifiersShape = __webpack_require__(102); var _ModifiersShape2 = _interopRequireDefault(_ModifiersShape); @@ -7418,7 +7419,7 @@ exports['default'] = (0, _reactWithStyles.withStyles)(function (_ref2) { })(CalendarDay); /***/ }), -/* 133 */ +/* 134 */ /***/ (function(module, exports, __webpack_require__) { // eslint-disable-next-line import/no-unresolved @@ -7426,13 +7427,13 @@ module.exports = __webpack_require__(302); /***/ }), -/* 134 */ +/* 135 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var define = __webpack_require__(64); +var define = __webpack_require__(66); var implementation = __webpack_require__(175); var getPolyfill = __webpack_require__(183); @@ -7450,7 +7451,7 @@ module.exports = polyfill; /***/ }), -/* 135 */ +/* 136 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -7494,7 +7495,7 @@ module.exports = function isCallable(value) { /***/ }), -/* 136 */ +/* 137 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -7678,7 +7679,7 @@ module.exports = function GetIntrinsic(name, allowMissing) { /***/ }), -/* 137 */ +/* 138 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -7743,7 +7744,7 @@ function getInputHeight(_ref, small) { } /***/ }), -/* 138 */ +/* 139 */ /***/ (function(module, exports) { /** @@ -7780,7 +7781,7 @@ module.exports = isObject; /***/ }), -/* 139 */ +/* 140 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -7795,7 +7796,7 @@ var _moment = __webpack_require__(30); var _moment2 = _interopRequireDefault(_moment); -var _toMomentObject = __webpack_require__(79); +var _toMomentObject = __webpack_require__(80); var _toMomentObject2 = _interopRequireDefault(_toMomentObject); @@ -7811,7 +7812,7 @@ function toLocalizedDateString(date, currentFormat) { } /***/ }), -/* 140 */ +/* 141 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -7822,11 +7823,11 @@ Object.defineProperty(exports, "__esModule", { }); exports['default'] = isDayVisible; -var _isBeforeDay = __webpack_require__(93); +var _isBeforeDay = __webpack_require__(94); var _isBeforeDay2 = _interopRequireDefault(_isBeforeDay); -var _isAfterDay = __webpack_require__(106); +var _isAfterDay = __webpack_require__(107); var _isAfterDay2 = _interopRequireDefault(_isAfterDay); @@ -7843,7 +7844,7 @@ function isDayVisible(day, month, numberOfMonths, enableOutsideDays) { } /***/ }), -/* 141 */ +/* 142 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -7858,11 +7859,11 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); -var _object = __webpack_require__(51); +var _object = __webpack_require__(52); var _object2 = _interopRequireDefault(_object); -var _react = __webpack_require__(20); +var _react = __webpack_require__(21); var _react2 = _interopRequireDefault(_react); @@ -7870,13 +7871,13 @@ var _propTypes = __webpack_require__(28); var _propTypes2 = _interopRequireDefault(_propTypes); -var _reactAddonsShallowCompare = __webpack_require__(77); +var _reactAddonsShallowCompare = __webpack_require__(78); var _reactAddonsShallowCompare2 = _interopRequireDefault(_reactAddonsShallowCompare); -var _airbnbPropTypes = __webpack_require__(47); +var _airbnbPropTypes = __webpack_require__(48); -var _reactWithStyles = __webpack_require__(56); +var _reactWithStyles = __webpack_require__(58); var _moment = __webpack_require__(30); @@ -7886,17 +7887,17 @@ var _throttle = __webpack_require__(196); var _throttle2 = _interopRequireDefault(_throttle); -var _isTouchDevice = __webpack_require__(81); +var _isTouchDevice = __webpack_require__(82); var _isTouchDevice2 = _interopRequireDefault(_isTouchDevice); -var _reactOutsideClickHandler = __webpack_require__(133); +var _reactOutsideClickHandler = __webpack_require__(134); var _reactOutsideClickHandler2 = _interopRequireDefault(_reactOutsideClickHandler); -var _defaultPhrases = __webpack_require__(52); +var _defaultPhrases = __webpack_require__(53); -var _getPhrasePropTypes = __webpack_require__(55); +var _getPhrasePropTypes = __webpack_require__(56); var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes); @@ -7928,23 +7929,23 @@ var _getActiveElement = __webpack_require__(331); var _getActiveElement2 = _interopRequireDefault(_getActiveElement); -var _isDayVisible = __webpack_require__(140); +var _isDayVisible = __webpack_require__(141); var _isDayVisible2 = _interopRequireDefault(_isDayVisible); -var _ModifiersShape = __webpack_require__(101); +var _ModifiersShape = __webpack_require__(102); var _ModifiersShape2 = _interopRequireDefault(_ModifiersShape); -var _ScrollableOrientationShape = __webpack_require__(80); +var _ScrollableOrientationShape = __webpack_require__(81); var _ScrollableOrientationShape2 = _interopRequireDefault(_ScrollableOrientationShape); -var _DayOfWeekShape = __webpack_require__(75); +var _DayOfWeekShape = __webpack_require__(77); var _DayOfWeekShape2 = _interopRequireDefault(_DayOfWeekShape); -var _CalendarInfoPositionShape = __webpack_require__(91); +var _CalendarInfoPositionShape = __webpack_require__(92); var _CalendarInfoPositionShape2 = _interopRequireDefault(_CalendarInfoPositionShape); @@ -9425,7 +9426,6 @@ exports['default'] = (0, _reactWithStyles.withStyles)(function (_ref2) { })(DayPicker); /***/ }), -/* 142 */, /* 143 */, /* 144 */, /* 145 */ @@ -9821,7 +9821,7 @@ module.exports = function isArguments(value) { var ArraySpeciesCreate = __webpack_require__(247); var FlattenIntoArray = __webpack_require__(252); -var Get = __webpack_require__(128); +var Get = __webpack_require__(129); var ToInteger = __webpack_require__(161); var ToLength = __webpack_require__(160); var ToObject = __webpack_require__(273); @@ -10161,12 +10161,12 @@ function arrObjKeys(obj, inspect) { "use strict"; -var GetIntrinsic = __webpack_require__(46); +var GetIntrinsic = __webpack_require__(47); var $Array = GetIntrinsic('%Array%'); // eslint-disable-next-line global-require -var toStr = !$Array.isArray && __webpack_require__(129)('Object.prototype.toString'); +var toStr = !$Array.isArray && __webpack_require__(130)('Object.prototype.toString'); // https://www.ecma-international.org/ecma-262/6.0/#sec-isarray @@ -10194,7 +10194,7 @@ module.exports = Number.isFinite || function (x) { return typeof x === 'number' "use strict"; -var GetIntrinsic = __webpack_require__(46); +var GetIntrinsic = __webpack_require__(47); var $Math = GetIntrinsic('%Math%'); var $Number = GetIntrinsic('%Number%'); @@ -10253,12 +10253,12 @@ module.exports = function isCallable(value) { "use strict"; -var GetIntrinsic = __webpack_require__(46); +var GetIntrinsic = __webpack_require__(47); var $TypeError = GetIntrinsic('%TypeError%'); var $SyntaxError = GetIntrinsic('%SyntaxError%'); -var has = __webpack_require__(74); +var has = __webpack_require__(76); var predicates = { // https://ecma-international.org/ecma-262/6.0/#sec-property-descriptor-specification-type @@ -10756,8 +10756,8 @@ exports['default'] = { // modified from https://github.com/es-shims/es6-shim -var keys = __webpack_require__(126); -var bind = __webpack_require__(72); +var keys = __webpack_require__(127); +var bind = __webpack_require__(74); var canBeObject = function (obj) { return typeof obj !== 'undefined' && obj !== null; }; @@ -10927,11 +10927,11 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); -var _object = __webpack_require__(51); +var _object = __webpack_require__(52); var _object2 = _interopRequireDefault(_object); -var _react = __webpack_require__(20); +var _react = __webpack_require__(21); var _react2 = _interopRequireDefault(_react); @@ -10939,25 +10939,25 @@ var _propTypes = __webpack_require__(28); var _propTypes2 = _interopRequireDefault(_propTypes); -var _reactAddonsShallowCompare = __webpack_require__(77); +var _reactAddonsShallowCompare = __webpack_require__(78); var _reactAddonsShallowCompare2 = _interopRequireDefault(_reactAddonsShallowCompare); -var _reactMomentProptypes = __webpack_require__(65); +var _reactMomentProptypes = __webpack_require__(67); var _reactMomentProptypes2 = _interopRequireDefault(_reactMomentProptypes); -var _airbnbPropTypes = __webpack_require__(47); +var _airbnbPropTypes = __webpack_require__(48); -var _reactWithStyles = __webpack_require__(56); +var _reactWithStyles = __webpack_require__(58); var _moment = __webpack_require__(30); var _moment2 = _interopRequireDefault(_moment); -var _defaultPhrases = __webpack_require__(52); +var _defaultPhrases = __webpack_require__(53); -var _getPhrasePropTypes = __webpack_require__(55); +var _getPhrasePropTypes = __webpack_require__(56); var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes); @@ -10965,7 +10965,7 @@ var _CalendarWeek = __webpack_require__(294); var _CalendarWeek2 = _interopRequireDefault(_CalendarWeek); -var _CalendarDay = __webpack_require__(132); +var _CalendarDay = __webpack_require__(133); var _CalendarDay2 = _interopRequireDefault(_CalendarDay); @@ -10977,23 +10977,23 @@ var _getCalendarMonthWeeks = __webpack_require__(296); var _getCalendarMonthWeeks2 = _interopRequireDefault(_getCalendarMonthWeeks); -var _isSameDay = __webpack_require__(78); +var _isSameDay = __webpack_require__(79); var _isSameDay2 = _interopRequireDefault(_isSameDay); -var _toISODateString = __webpack_require__(102); +var _toISODateString = __webpack_require__(103); var _toISODateString2 = _interopRequireDefault(_toISODateString); -var _ModifiersShape = __webpack_require__(101); +var _ModifiersShape = __webpack_require__(102); var _ModifiersShape2 = _interopRequireDefault(_ModifiersShape); -var _ScrollableOrientationShape = __webpack_require__(80); +var _ScrollableOrientationShape = __webpack_require__(81); var _ScrollableOrientationShape2 = _interopRequireDefault(_ScrollableOrientationShape); -var _DayOfWeekShape = __webpack_require__(75); +var _DayOfWeekShape = __webpack_require__(77); var _DayOfWeekShape2 = _interopRequireDefault(_DayOfWeekShape); @@ -11376,11 +11376,11 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); -var _object = __webpack_require__(51); +var _object = __webpack_require__(52); var _object2 = _interopRequireDefault(_object); -var _react = __webpack_require__(20); +var _react = __webpack_require__(21); var _react2 = _interopRequireDefault(_react); @@ -11388,27 +11388,27 @@ var _propTypes = __webpack_require__(28); var _propTypes2 = _interopRequireDefault(_propTypes); -var _reactAddonsShallowCompare = __webpack_require__(77); +var _reactAddonsShallowCompare = __webpack_require__(78); var _reactAddonsShallowCompare2 = _interopRequireDefault(_reactAddonsShallowCompare); -var _reactMomentProptypes = __webpack_require__(65); +var _reactMomentProptypes = __webpack_require__(67); var _reactMomentProptypes2 = _interopRequireDefault(_reactMomentProptypes); -var _airbnbPropTypes = __webpack_require__(47); +var _airbnbPropTypes = __webpack_require__(48); -var _reactWithStyles = __webpack_require__(56); +var _reactWithStyles = __webpack_require__(58); var _moment = __webpack_require__(30); var _moment2 = _interopRequireDefault(_moment); -var _consolidatedEvents = __webpack_require__(103); +var _consolidatedEvents = __webpack_require__(104); -var _defaultPhrases = __webpack_require__(52); +var _defaultPhrases = __webpack_require__(53); -var _getPhrasePropTypes = __webpack_require__(55); +var _getPhrasePropTypes = __webpack_require__(56); var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes); @@ -11428,7 +11428,7 @@ var _getCalendarMonthWidth = __webpack_require__(173); var _getCalendarMonthWidth2 = _interopRequireDefault(_getCalendarMonthWidth); -var _toISOMonthString = __webpack_require__(104); +var _toISOMonthString = __webpack_require__(105); var _toISOMonthString2 = _interopRequireDefault(_toISOMonthString); @@ -11440,15 +11440,15 @@ var _isNextMonth = __webpack_require__(300); var _isNextMonth2 = _interopRequireDefault(_isNextMonth); -var _ModifiersShape = __webpack_require__(101); +var _ModifiersShape = __webpack_require__(102); var _ModifiersShape2 = _interopRequireDefault(_ModifiersShape); -var _ScrollableOrientationShape = __webpack_require__(80); +var _ScrollableOrientationShape = __webpack_require__(81); var _ScrollableOrientationShape2 = _interopRequireDefault(_ScrollableOrientationShape); -var _DayOfWeekShape = __webpack_require__(75); +var _DayOfWeekShape = __webpack_require__(77); var _DayOfWeekShape2 = _interopRequireDefault(_DayOfWeekShape); @@ -11975,8 +11975,8 @@ function isSameMonth(a, b) { var ES = __webpack_require__(303); -var has = __webpack_require__(74); -var bind = __webpack_require__(72); +var has = __webpack_require__(76); +var bind = __webpack_require__(74); var isEnumerable = bind.call(Function.call, Object.prototype.propertyIsEnumerable); module.exports = function values(O) { @@ -12007,12 +12007,12 @@ module.exports = function isPrimitive(value) { "use strict"; -var GetIntrinsic = __webpack_require__(136); +var GetIntrinsic = __webpack_require__(137); var $TypeError = GetIntrinsic('%TypeError%'); var $SyntaxError = GetIntrinsic('%SyntaxError%'); -var has = __webpack_require__(74); +var has = __webpack_require__(76); var predicates = { // https://ecma-international.org/ecma-262/6.0/#sec-property-descriptor-specification-type @@ -12078,7 +12078,7 @@ module.exports = Number.isFinite || function (x) { return typeof x === 'number' /* 180 */ /***/ (function(module, exports, __webpack_require__) { -var bind = __webpack_require__(72); +var bind = __webpack_require__(74); var has = bind.call(Function.call, Object.prototype.hasOwnProperty); var $assign = Object.assign; @@ -12196,15 +12196,15 @@ var _propTypes = __webpack_require__(28); var _propTypes2 = _interopRequireDefault(_propTypes); -var _reactMomentProptypes = __webpack_require__(65); +var _reactMomentProptypes = __webpack_require__(67); var _reactMomentProptypes2 = _interopRequireDefault(_reactMomentProptypes); -var _airbnbPropTypes = __webpack_require__(47); +var _airbnbPropTypes = __webpack_require__(48); -var _defaultPhrases = __webpack_require__(52); +var _defaultPhrases = __webpack_require__(53); -var _getPhrasePropTypes = __webpack_require__(55); +var _getPhrasePropTypes = __webpack_require__(56); var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes); @@ -12212,7 +12212,7 @@ var _FocusedInputShape = __webpack_require__(187); var _FocusedInputShape2 = _interopRequireDefault(_FocusedInputShape); -var _IconPositionShape = __webpack_require__(90); +var _IconPositionShape = __webpack_require__(91); var _IconPositionShape2 = _interopRequireDefault(_IconPositionShape); @@ -12220,7 +12220,7 @@ var _OrientationShape = __webpack_require__(188); var _OrientationShape2 = _interopRequireDefault(_OrientationShape); -var _DisabledShape = __webpack_require__(105); +var _DisabledShape = __webpack_require__(106); var _DisabledShape2 = _interopRequireDefault(_DisabledShape); @@ -12228,15 +12228,15 @@ var _AnchorDirectionShape = __webpack_require__(189); var _AnchorDirectionShape2 = _interopRequireDefault(_AnchorDirectionShape); -var _OpenDirectionShape = __webpack_require__(82); +var _OpenDirectionShape = __webpack_require__(83); var _OpenDirectionShape2 = _interopRequireDefault(_OpenDirectionShape); -var _DayOfWeekShape = __webpack_require__(75); +var _DayOfWeekShape = __webpack_require__(77); var _DayOfWeekShape2 = _interopRequireDefault(_DayOfWeekShape); -var _CalendarInfoPositionShape = __webpack_require__(91); +var _CalendarInfoPositionShape = __webpack_require__(92); var _CalendarInfoPositionShape2 = _interopRequireDefault(_CalendarInfoPositionShape); @@ -12563,7 +12563,7 @@ Object.defineProperty(exports, "__esModule", { var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); -var _react = __webpack_require__(20); +var _react = __webpack_require__(21); var _react2 = _interopRequireDefault(_react); @@ -12575,19 +12575,19 @@ var _moment = __webpack_require__(30); var _moment2 = _interopRequireDefault(_moment); -var _reactMomentProptypes = __webpack_require__(65); +var _reactMomentProptypes = __webpack_require__(67); var _reactMomentProptypes2 = _interopRequireDefault(_reactMomentProptypes); -var _airbnbPropTypes = __webpack_require__(47); +var _airbnbPropTypes = __webpack_require__(48); -var _OpenDirectionShape = __webpack_require__(82); +var _OpenDirectionShape = __webpack_require__(83); var _OpenDirectionShape2 = _interopRequireDefault(_OpenDirectionShape); -var _defaultPhrases = __webpack_require__(52); +var _defaultPhrases = __webpack_require__(53); -var _getPhrasePropTypes = __webpack_require__(55); +var _getPhrasePropTypes = __webpack_require__(56); var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes); @@ -12595,27 +12595,27 @@ var _DateRangePickerInput = __webpack_require__(194); var _DateRangePickerInput2 = _interopRequireDefault(_DateRangePickerInput); -var _IconPositionShape = __webpack_require__(90); +var _IconPositionShape = __webpack_require__(91); var _IconPositionShape2 = _interopRequireDefault(_IconPositionShape); -var _DisabledShape = __webpack_require__(105); +var _DisabledShape = __webpack_require__(106); var _DisabledShape2 = _interopRequireDefault(_DisabledShape); -var _toMomentObject = __webpack_require__(79); +var _toMomentObject = __webpack_require__(80); var _toMomentObject2 = _interopRequireDefault(_toMomentObject); -var _toLocalizedDateString = __webpack_require__(139); +var _toLocalizedDateString = __webpack_require__(140); var _toLocalizedDateString2 = _interopRequireDefault(_toLocalizedDateString); -var _isInclusivelyAfterDay = __webpack_require__(92); +var _isInclusivelyAfterDay = __webpack_require__(93); var _isInclusivelyAfterDay2 = _interopRequireDefault(_isInclusivelyAfterDay); -var _isBeforeDay = __webpack_require__(93); +var _isBeforeDay = __webpack_require__(94); var _isBeforeDay2 = _interopRequireDefault(_isBeforeDay); @@ -13048,11 +13048,11 @@ Object.defineProperty(exports, "__esModule", { var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; -var _object = __webpack_require__(51); +var _object = __webpack_require__(52); var _object2 = _interopRequireDefault(_object); -var _react = __webpack_require__(20); +var _react = __webpack_require__(21); var _react2 = _interopRequireDefault(_react); @@ -13060,17 +13060,17 @@ var _propTypes = __webpack_require__(28); var _propTypes2 = _interopRequireDefault(_propTypes); -var _airbnbPropTypes = __webpack_require__(47); +var _airbnbPropTypes = __webpack_require__(48); -var _reactWithStyles = __webpack_require__(56); +var _reactWithStyles = __webpack_require__(58); -var _defaultPhrases = __webpack_require__(52); +var _defaultPhrases = __webpack_require__(53); -var _getPhrasePropTypes = __webpack_require__(55); +var _getPhrasePropTypes = __webpack_require__(56); var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes); -var _OpenDirectionShape = __webpack_require__(82); +var _OpenDirectionShape = __webpack_require__(83); var _OpenDirectionShape2 = _interopRequireDefault(_OpenDirectionShape); @@ -13078,11 +13078,11 @@ var _DateInput = __webpack_require__(195); var _DateInput2 = _interopRequireDefault(_DateInput); -var _IconPositionShape = __webpack_require__(90); +var _IconPositionShape = __webpack_require__(91); var _IconPositionShape2 = _interopRequireDefault(_IconPositionShape); -var _DisabledShape = __webpack_require__(105); +var _DisabledShape = __webpack_require__(106); var _DisabledShape2 = _interopRequireDefault(_DisabledShape); @@ -13094,7 +13094,7 @@ var _LeftArrow = __webpack_require__(200); var _LeftArrow2 = _interopRequireDefault(_LeftArrow); -var _CloseButton = __webpack_require__(94); +var _CloseButton = __webpack_require__(95); var _CloseButton2 = _interopRequireDefault(_CloseButton); @@ -13506,11 +13506,11 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); -var _object = __webpack_require__(51); +var _object = __webpack_require__(52); var _object2 = _interopRequireDefault(_object); -var _react = __webpack_require__(20); +var _react = __webpack_require__(21); var _react2 = _interopRequireDefault(_react); @@ -13518,23 +13518,23 @@ var _propTypes = __webpack_require__(28); var _propTypes2 = _interopRequireDefault(_propTypes); -var _airbnbPropTypes = __webpack_require__(47); +var _airbnbPropTypes = __webpack_require__(48); -var _reactWithStyles = __webpack_require__(56); +var _reactWithStyles = __webpack_require__(58); var _throttle = __webpack_require__(196); var _throttle2 = _interopRequireDefault(_throttle); -var _isTouchDevice = __webpack_require__(81); +var _isTouchDevice = __webpack_require__(82); var _isTouchDevice2 = _interopRequireDefault(_isTouchDevice); -var _getInputHeight = __webpack_require__(137); +var _getInputHeight = __webpack_require__(138); var _getInputHeight2 = _interopRequireDefault(_getInputHeight); -var _OpenDirectionShape = __webpack_require__(82); +var _OpenDirectionShape = __webpack_require__(83); var _OpenDirectionShape2 = _interopRequireDefault(_OpenDirectionShape); @@ -13976,7 +13976,7 @@ exports['default'] = (0, _reactWithStyles.withStyles)(function (_ref) { /***/ (function(module, exports, __webpack_require__) { var debounce = __webpack_require__(315), - isObject = __webpack_require__(138); + isObject = __webpack_require__(139); /** Error message constants. */ var FUNC_ERROR_TEXT = 'Expected a function'; @@ -14084,7 +14084,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _react = __webpack_require__(20); +var _react = __webpack_require__(21); var _react2 = _interopRequireDefault(_react); @@ -14120,7 +14120,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _react = __webpack_require__(20); +var _react = __webpack_require__(21); var _react2 = _interopRequireDefault(_react); @@ -14156,7 +14156,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _react = __webpack_require__(20); +var _react = __webpack_require__(21); var _react2 = _interopRequireDefault(_react); @@ -14196,11 +14196,11 @@ var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = [ var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); -var _object = __webpack_require__(51); +var _object = __webpack_require__(52); var _object2 = _interopRequireDefault(_object); -var _react = __webpack_require__(20); +var _react = __webpack_require__(21); var _react2 = _interopRequireDefault(_react); @@ -14208,31 +14208,31 @@ var _propTypes = __webpack_require__(28); var _propTypes2 = _interopRequireDefault(_propTypes); -var _reactMomentProptypes = __webpack_require__(65); +var _reactMomentProptypes = __webpack_require__(67); var _reactMomentProptypes2 = _interopRequireDefault(_reactMomentProptypes); -var _airbnbPropTypes = __webpack_require__(47); +var _airbnbPropTypes = __webpack_require__(48); var _moment = __webpack_require__(30); var _moment2 = _interopRequireDefault(_moment); -var _object3 = __webpack_require__(134); +var _object3 = __webpack_require__(135); var _object4 = _interopRequireDefault(_object3); -var _isTouchDevice = __webpack_require__(81); +var _isTouchDevice = __webpack_require__(82); var _isTouchDevice2 = _interopRequireDefault(_isTouchDevice); -var _defaultPhrases = __webpack_require__(52); +var _defaultPhrases = __webpack_require__(53); -var _getPhrasePropTypes = __webpack_require__(55); +var _getPhrasePropTypes = __webpack_require__(56); var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes); -var _isInclusivelyAfterDay = __webpack_require__(92); +var _isInclusivelyAfterDay = __webpack_require__(93); var _isInclusivelyAfterDay2 = _interopRequireDefault(_isInclusivelyAfterDay); @@ -14240,15 +14240,15 @@ var _isNextDay = __webpack_require__(203); var _isNextDay2 = _interopRequireDefault(_isNextDay); -var _isSameDay = __webpack_require__(78); +var _isSameDay = __webpack_require__(79); var _isSameDay2 = _interopRequireDefault(_isSameDay); -var _isAfterDay = __webpack_require__(106); +var _isAfterDay = __webpack_require__(107); var _isAfterDay2 = _interopRequireDefault(_isAfterDay); -var _isBeforeDay = __webpack_require__(93); +var _isBeforeDay = __webpack_require__(94); var _isBeforeDay2 = _interopRequireDefault(_isBeforeDay); @@ -14256,7 +14256,7 @@ var _getVisibleDays = __webpack_require__(204); var _getVisibleDays2 = _interopRequireDefault(_getVisibleDays); -var _isDayVisible = __webpack_require__(140); +var _isDayVisible = __webpack_require__(141); var _isDayVisible2 = _interopRequireDefault(_isDayVisible); @@ -14264,15 +14264,15 @@ var _getSelectedDateOffset = __webpack_require__(324); var _getSelectedDateOffset2 = _interopRequireDefault(_getSelectedDateOffset); -var _toISODateString = __webpack_require__(102); +var _toISODateString = __webpack_require__(103); var _toISODateString2 = _interopRequireDefault(_toISODateString); -var _toISOMonthString = __webpack_require__(104); +var _toISOMonthString = __webpack_require__(105); var _toISOMonthString2 = _interopRequireDefault(_toISOMonthString); -var _DisabledShape = __webpack_require__(105); +var _DisabledShape = __webpack_require__(106); var _DisabledShape2 = _interopRequireDefault(_DisabledShape); @@ -14280,21 +14280,21 @@ var _FocusedInputShape = __webpack_require__(187); var _FocusedInputShape2 = _interopRequireDefault(_FocusedInputShape); -var _ScrollableOrientationShape = __webpack_require__(80); +var _ScrollableOrientationShape = __webpack_require__(81); var _ScrollableOrientationShape2 = _interopRequireDefault(_ScrollableOrientationShape); -var _DayOfWeekShape = __webpack_require__(75); +var _DayOfWeekShape = __webpack_require__(77); var _DayOfWeekShape2 = _interopRequireDefault(_DayOfWeekShape); -var _CalendarInfoPositionShape = __webpack_require__(91); +var _CalendarInfoPositionShape = __webpack_require__(92); var _CalendarInfoPositionShape2 = _interopRequireDefault(_CalendarInfoPositionShape); var _constants = __webpack_require__(41); -var _DayPicker = __webpack_require__(141); +var _DayPicker = __webpack_require__(142); var _DayPicker2 = _interopRequireDefault(_DayPicker); @@ -15708,7 +15708,7 @@ var _moment = __webpack_require__(30); var _moment2 = _interopRequireDefault(_moment); -var _isSameDay = __webpack_require__(78); +var _isSameDay = __webpack_require__(79); var _isSameDay2 = _interopRequireDefault(_isSameDay); @@ -15736,7 +15736,7 @@ var _moment = __webpack_require__(30); var _moment2 = _interopRequireDefault(_moment); -var _toISOMonthString = __webpack_require__(104); +var _toISOMonthString = __webpack_require__(105); var _toISOMonthString2 = _interopRequireDefault(_toISOMonthString); @@ -15804,11 +15804,11 @@ var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = [ var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); -var _object = __webpack_require__(51); +var _object = __webpack_require__(52); var _object2 = _interopRequireDefault(_object); -var _react = __webpack_require__(20); +var _react = __webpack_require__(21); var _react2 = _interopRequireDefault(_react); @@ -15816,35 +15816,35 @@ var _propTypes = __webpack_require__(28); var _propTypes2 = _interopRequireDefault(_propTypes); -var _reactMomentProptypes = __webpack_require__(65); +var _reactMomentProptypes = __webpack_require__(67); var _reactMomentProptypes2 = _interopRequireDefault(_reactMomentProptypes); -var _airbnbPropTypes = __webpack_require__(47); +var _airbnbPropTypes = __webpack_require__(48); var _moment = __webpack_require__(30); var _moment2 = _interopRequireDefault(_moment); -var _object3 = __webpack_require__(134); +var _object3 = __webpack_require__(135); var _object4 = _interopRequireDefault(_object3); -var _isTouchDevice = __webpack_require__(81); +var _isTouchDevice = __webpack_require__(82); var _isTouchDevice2 = _interopRequireDefault(_isTouchDevice); -var _defaultPhrases = __webpack_require__(52); +var _defaultPhrases = __webpack_require__(53); -var _getPhrasePropTypes = __webpack_require__(55); +var _getPhrasePropTypes = __webpack_require__(56); var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes); -var _isSameDay = __webpack_require__(78); +var _isSameDay = __webpack_require__(79); var _isSameDay2 = _interopRequireDefault(_isSameDay); -var _isAfterDay = __webpack_require__(106); +var _isAfterDay = __webpack_require__(107); var _isAfterDay2 = _interopRequireDefault(_isAfterDay); @@ -15852,33 +15852,33 @@ var _getVisibleDays = __webpack_require__(204); var _getVisibleDays2 = _interopRequireDefault(_getVisibleDays); -var _isDayVisible = __webpack_require__(140); +var _isDayVisible = __webpack_require__(141); var _isDayVisible2 = _interopRequireDefault(_isDayVisible); -var _toISODateString = __webpack_require__(102); +var _toISODateString = __webpack_require__(103); var _toISODateString2 = _interopRequireDefault(_toISODateString); -var _toISOMonthString = __webpack_require__(104); +var _toISOMonthString = __webpack_require__(105); var _toISOMonthString2 = _interopRequireDefault(_toISOMonthString); -var _ScrollableOrientationShape = __webpack_require__(80); +var _ScrollableOrientationShape = __webpack_require__(81); var _ScrollableOrientationShape2 = _interopRequireDefault(_ScrollableOrientationShape); -var _DayOfWeekShape = __webpack_require__(75); +var _DayOfWeekShape = __webpack_require__(77); var _DayOfWeekShape2 = _interopRequireDefault(_DayOfWeekShape); -var _CalendarInfoPositionShape = __webpack_require__(91); +var _CalendarInfoPositionShape = __webpack_require__(92); var _CalendarInfoPositionShape2 = _interopRequireDefault(_CalendarInfoPositionShape); var _constants = __webpack_require__(41); -var _DayPicker = __webpack_require__(141); +var _DayPicker = __webpack_require__(142); var _DayPicker2 = _interopRequireDefault(_DayPicker); @@ -16852,19 +16852,19 @@ var _propTypes = __webpack_require__(28); var _propTypes2 = _interopRequireDefault(_propTypes); -var _reactMomentProptypes = __webpack_require__(65); +var _reactMomentProptypes = __webpack_require__(67); var _reactMomentProptypes2 = _interopRequireDefault(_reactMomentProptypes); -var _airbnbPropTypes = __webpack_require__(47); +var _airbnbPropTypes = __webpack_require__(48); -var _defaultPhrases = __webpack_require__(52); +var _defaultPhrases = __webpack_require__(53); -var _getPhrasePropTypes = __webpack_require__(55); +var _getPhrasePropTypes = __webpack_require__(56); var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes); -var _IconPositionShape = __webpack_require__(90); +var _IconPositionShape = __webpack_require__(91); var _IconPositionShape2 = _interopRequireDefault(_IconPositionShape); @@ -16876,15 +16876,15 @@ var _AnchorDirectionShape = __webpack_require__(189); var _AnchorDirectionShape2 = _interopRequireDefault(_AnchorDirectionShape); -var _OpenDirectionShape = __webpack_require__(82); +var _OpenDirectionShape = __webpack_require__(83); var _OpenDirectionShape2 = _interopRequireDefault(_OpenDirectionShape); -var _DayOfWeekShape = __webpack_require__(75); +var _DayOfWeekShape = __webpack_require__(77); var _DayOfWeekShape2 = _interopRequireDefault(_DayOfWeekShape); -var _CalendarInfoPositionShape = __webpack_require__(91); +var _CalendarInfoPositionShape = __webpack_require__(92); var _CalendarInfoPositionShape2 = _interopRequireDefault(_CalendarInfoPositionShape); @@ -16979,11 +16979,11 @@ Object.defineProperty(exports, "__esModule", { var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; -var _object = __webpack_require__(51); +var _object = __webpack_require__(52); var _object2 = _interopRequireDefault(_object); -var _react = __webpack_require__(20); +var _react = __webpack_require__(21); var _react2 = _interopRequireDefault(_react); @@ -16991,13 +16991,13 @@ var _propTypes = __webpack_require__(28); var _propTypes2 = _interopRequireDefault(_propTypes); -var _airbnbPropTypes = __webpack_require__(47); +var _airbnbPropTypes = __webpack_require__(48); -var _reactWithStyles = __webpack_require__(56); +var _reactWithStyles = __webpack_require__(58); -var _defaultPhrases = __webpack_require__(52); +var _defaultPhrases = __webpack_require__(53); -var _getPhrasePropTypes = __webpack_require__(55); +var _getPhrasePropTypes = __webpack_require__(56); var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes); @@ -17005,11 +17005,11 @@ var _DateInput = __webpack_require__(195); var _DateInput2 = _interopRequireDefault(_DateInput); -var _IconPositionShape = __webpack_require__(90); +var _IconPositionShape = __webpack_require__(91); var _IconPositionShape2 = _interopRequireDefault(_IconPositionShape); -var _CloseButton = __webpack_require__(94); +var _CloseButton = __webpack_require__(95); var _CloseButton2 = _interopRequireDefault(_CloseButton); @@ -17017,7 +17017,7 @@ var _CalendarIcon = __webpack_require__(201); var _CalendarIcon2 = _interopRequireDefault(_CalendarIcon); -var _OpenDirectionShape = __webpack_require__(82); +var _OpenDirectionShape = __webpack_require__(83); var _OpenDirectionShape2 = _interopRequireDefault(_OpenDirectionShape); @@ -17340,11 +17340,11 @@ exports['default'] = (0, _reactWithStyles.withStyles)(function (_ref2) { __webpack_require__.r(__webpack_exports__); // EXTERNAL MODULE: external {"this":"ReactDOM"} -var external_this_ReactDOM_ = __webpack_require__(57); +var external_this_ReactDOM_ = __webpack_require__(59); var external_this_ReactDOM_default = /*#__PURE__*/__webpack_require__.n(external_this_ReactDOM_); // EXTERNAL MODULE: external {"this":"React"} -var external_this_React_ = __webpack_require__(20); +var external_this_React_ = __webpack_require__(21); var external_this_React_default = /*#__PURE__*/__webpack_require__.n(external_this_React_); // EXTERNAL MODULE: ./node_modules/prop-types/index.js @@ -18662,1073 +18662,15 @@ module.exports = closest; /* 224 */ /***/ (function(module, exports, __webpack_require__) { -var __WEBPACK_AMD_DEFINE_RESULT__;/*global define:false */ -/** - * Copyright 2012-2017 Craig Campbell - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * Mousetrap is a simple keyboard shortcut library for Javascript with - * no external dependencies - * - * @version 1.6.3 - * @url craig.is/killing/mice - */ -(function(window, document, undefined) { - - // Check if mousetrap is used inside browser, if not, return - if (!window) { - return; - } - - /** - * mapping of special keycodes to their corresponding keys - * - * everything in this dictionary cannot use keypress events - * so it has to be here to map to the correct keycodes for - * keyup/keydown events - * - * @type {Object} - */ - var _MAP = { - 8: 'backspace', - 9: 'tab', - 13: 'enter', - 16: 'shift', - 17: 'ctrl', - 18: 'alt', - 20: 'capslock', - 27: 'esc', - 32: 'space', - 33: 'pageup', - 34: 'pagedown', - 35: 'end', - 36: 'home', - 37: 'left', - 38: 'up', - 39: 'right', - 40: 'down', - 45: 'ins', - 46: 'del', - 91: 'meta', - 93: 'meta', - 224: 'meta' - }; - - /** - * mapping for special characters so they can support - * - * this dictionary is only used incase you want to bind a - * keyup or keydown event to one of these keys - * - * @type {Object} - */ - var _KEYCODE_MAP = { - 106: '*', - 107: '+', - 109: '-', - 110: '.', - 111 : '/', - 186: ';', - 187: '=', - 188: ',', - 189: '-', - 190: '.', - 191: '/', - 192: '`', - 219: '[', - 220: '\\', - 221: ']', - 222: '\'' - }; - - /** - * this is a mapping of keys that require shift on a US keypad - * back to the non shift equivelents - * - * this is so you can use keyup events with these keys - * - * note that this will only work reliably on US keyboards - * - * @type {Object} - */ - var _SHIFT_MAP = { - '~': '`', - '!': '1', - '@': '2', - '#': '3', - '$': '4', - '%': '5', - '^': '6', - '&': '7', - '*': '8', - '(': '9', - ')': '0', - '_': '-', - '+': '=', - ':': ';', - '\"': '\'', - '<': ',', - '>': '.', - '?': '/', - '|': '\\' - }; - - /** - * this is a list of special strings you can use to map - * to modifier keys when you specify your keyboard shortcuts - * - * @type {Object} - */ - var _SPECIAL_ALIASES = { - 'option': 'alt', - 'command': 'meta', - 'return': 'enter', - 'escape': 'esc', - 'plus': '+', - 'mod': /Mac|iPod|iPhone|iPad/.test(navigator.platform) ? 'meta' : 'ctrl' - }; - - /** - * variable to store the flipped version of _MAP from above - * needed to check if we should use keypress or not when no action - * is specified - * - * @type {Object|undefined} - */ - var _REVERSE_MAP; - - /** - * loop through the f keys, f1 to f19 and add them to the map - * programatically - */ - for (var i = 1; i < 20; ++i) { - _MAP[111 + i] = 'f' + i; - } - - /** - * loop through to map numbers on the numeric keypad - */ - for (i = 0; i <= 9; ++i) { - - // This needs to use a string cause otherwise since 0 is falsey - // mousetrap will never fire for numpad 0 pressed as part of a keydown - // event. - // - // @see https://github.com/ccampbell/mousetrap/pull/258 - _MAP[i + 96] = i.toString(); - } - - /** - * cross browser add event method - * - * @param {Element|HTMLDocument} object - * @param {string} type - * @param {Function} callback - * @returns void - */ - function _addEvent(object, type, callback) { - if (object.addEventListener) { - object.addEventListener(type, callback, false); - return; - } - - object.attachEvent('on' + type, callback); - } - - /** - * takes the event and returns the key character - * - * @param {Event} e - * @return {string} - */ - function _characterFromEvent(e) { - - // for keypress events we should return the character as is - if (e.type == 'keypress') { - var character = String.fromCharCode(e.which); - - // if the shift key is not pressed then it is safe to assume - // that we want the character to be lowercase. this means if - // you accidentally have caps lock on then your key bindings - // will continue to work - // - // the only side effect that might not be desired is if you - // bind something like 'A' cause you want to trigger an - // event when capital A is pressed caps lock will no longer - // trigger the event. shift+a will though. - if (!e.shiftKey) { - character = character.toLowerCase(); - } - - return character; - } - - // for non keypress events the special maps are needed - if (_MAP[e.which]) { - return _MAP[e.which]; - } - - if (_KEYCODE_MAP[e.which]) { - return _KEYCODE_MAP[e.which]; - } - - // if it is not in the special map - - // with keydown and keyup events the character seems to always - // come in as an uppercase character whether you are pressing shift - // or not. we should make sure it is always lowercase for comparisons - return String.fromCharCode(e.which).toLowerCase(); - } - - /** - * checks if two arrays are equal - * - * @param {Array} modifiers1 - * @param {Array} modifiers2 - * @returns {boolean} - */ - function _modifiersMatch(modifiers1, modifiers2) { - return modifiers1.sort().join(',') === modifiers2.sort().join(','); - } - - /** - * takes a key event and figures out what the modifiers are - * - * @param {Event} e - * @returns {Array} - */ - function _eventModifiers(e) { - var modifiers = []; - - if (e.shiftKey) { - modifiers.push('shift'); - } - - if (e.altKey) { - modifiers.push('alt'); - } - - if (e.ctrlKey) { - modifiers.push('ctrl'); - } - - if (e.metaKey) { - modifiers.push('meta'); - } - - return modifiers; - } - - /** - * prevents default for this event - * - * @param {Event} e - * @returns void - */ - function _preventDefault(e) { - if (e.preventDefault) { - e.preventDefault(); - return; - } - - e.returnValue = false; - } - - /** - * stops propogation for this event - * - * @param {Event} e - * @returns void - */ - function _stopPropagation(e) { - if (e.stopPropagation) { - e.stopPropagation(); - return; - } - - e.cancelBubble = true; - } - - /** - * determines if the keycode specified is a modifier key or not - * - * @param {string} key - * @returns {boolean} - */ - function _isModifier(key) { - return key == 'shift' || key == 'ctrl' || key == 'alt' || key == 'meta'; - } - - /** - * reverses the map lookup so that we can look for specific keys - * to see what can and can't use keypress - * - * @return {Object} - */ - function _getReverseMap() { - if (!_REVERSE_MAP) { - _REVERSE_MAP = {}; - for (var key in _MAP) { - - // pull out the numeric keypad from here cause keypress should - // be able to detect the keys from the character - if (key > 95 && key < 112) { - continue; - } - - if (_MAP.hasOwnProperty(key)) { - _REVERSE_MAP[_MAP[key]] = key; - } - } - } - return _REVERSE_MAP; - } - - /** - * picks the best action based on the key combination - * - * @param {string} key - character for key - * @param {Array} modifiers - * @param {string=} action passed in - */ - function _pickBestAction(key, modifiers, action) { - - // if no action was picked in we should try to pick the one - // that we think would work best for this key - if (!action) { - action = _getReverseMap()[key] ? 'keydown' : 'keypress'; - } - - // modifier keys don't work as expected with keypress, - // switch to keydown - if (action == 'keypress' && modifiers.length) { - action = 'keydown'; - } - - return action; - } - - /** - * Converts from a string key combination to an array - * - * @param {string} combination like "command+shift+l" - * @return {Array} - */ - function _keysFromString(combination) { - if (combination === '+') { - return ['+']; - } - - combination = combination.replace(/\+{2}/g, '+plus'); - return combination.split('+'); - } - - /** - * Gets info for a specific key combination - * - * @param {string} combination key combination ("command+s" or "a" or "*") - * @param {string=} action - * @returns {Object} - */ - function _getKeyInfo(combination, action) { - var keys; - var key; - var i; - var modifiers = []; - - // take the keys from this pattern and figure out what the actual - // pattern is all about - keys = _keysFromString(combination); - - for (i = 0; i < keys.length; ++i) { - key = keys[i]; - - // normalize key names - if (_SPECIAL_ALIASES[key]) { - key = _SPECIAL_ALIASES[key]; - } - - // if this is not a keypress event then we should - // be smart about using shift keys - // this will only work for US keyboards however - if (action && action != 'keypress' && _SHIFT_MAP[key]) { - key = _SHIFT_MAP[key]; - modifiers.push('shift'); - } - - // if this key is a modifier then add it to the list of modifiers - if (_isModifier(key)) { - modifiers.push(key); - } - } - - // depending on what the key combination is - // we will try to pick the best event for it - action = _pickBestAction(key, modifiers, action); - - return { - key: key, - modifiers: modifiers, - action: action - }; - } - - function _belongsTo(element, ancestor) { - if (element === null || element === document) { - return false; - } - - if (element === ancestor) { - return true; - } - - return _belongsTo(element.parentNode, ancestor); - } - - function Mousetrap(targetElement) { - var self = this; - - targetElement = targetElement || document; - - if (!(self instanceof Mousetrap)) { - return new Mousetrap(targetElement); - } - - /** - * element to attach key events to - * - * @type {Element} - */ - self.target = targetElement; - - /** - * a list of all the callbacks setup via Mousetrap.bind() - * - * @type {Object} - */ - self._callbacks = {}; - - /** - * direct map of string combinations to callbacks used for trigger() - * - * @type {Object} - */ - self._directMap = {}; - - /** - * keeps track of what level each sequence is at since multiple - * sequences can start out with the same sequence - * - * @type {Object} - */ - var _sequenceLevels = {}; - - /** - * variable to store the setTimeout call - * - * @type {null|number} - */ - var _resetTimer; - - /** - * temporary state where we will ignore the next keyup - * - * @type {boolean|string} - */ - var _ignoreNextKeyup = false; - - /** - * temporary state where we will ignore the next keypress - * - * @type {boolean} - */ - var _ignoreNextKeypress = false; - - /** - * are we currently inside of a sequence? - * type of action ("keyup" or "keydown" or "keypress") or false - * - * @type {boolean|string} - */ - var _nextExpectedAction = false; - - /** - * resets all sequence counters except for the ones passed in - * - * @param {Object} doNotReset - * @returns void - */ - function _resetSequences(doNotReset) { - doNotReset = doNotReset || {}; - - var activeSequences = false, - key; - - for (key in _sequenceLevels) { - if (doNotReset[key]) { - activeSequences = true; - continue; - } - _sequenceLevels[key] = 0; - } - - if (!activeSequences) { - _nextExpectedAction = false; - } - } - - /** - * finds all callbacks that match based on the keycode, modifiers, - * and action - * - * @param {string} character - * @param {Array} modifiers - * @param {Event|Object} e - * @param {string=} sequenceName - name of the sequence we are looking for - * @param {string=} combination - * @param {number=} level - * @returns {Array} - */ - function _getMatches(character, modifiers, e, sequenceName, combination, level) { - var i; - var callback; - var matches = []; - var action = e.type; - - // if there are no events related to this keycode - if (!self._callbacks[character]) { - return []; - } - - // if a modifier key is coming up on its own we should allow it - if (action == 'keyup' && _isModifier(character)) { - modifiers = [character]; - } - - // loop through all callbacks for the key that was pressed - // and see if any of them match - for (i = 0; i < self._callbacks[character].length; ++i) { - callback = self._callbacks[character][i]; - - // if a sequence name is not specified, but this is a sequence at - // the wrong level then move onto the next match - if (!sequenceName && callback.seq && _sequenceLevels[callback.seq] != callback.level) { - continue; - } - - // if the action we are looking for doesn't match the action we got - // then we should keep going - if (action != callback.action) { - continue; - } - - // if this is a keypress event and the meta key and control key - // are not pressed that means that we need to only look at the - // character, otherwise check the modifiers as well - // - // chrome will not fire a keypress if meta or control is down - // safari will fire a keypress if meta or meta+shift is down - // firefox will fire a keypress if meta or control is down - if ((action == 'keypress' && !e.metaKey && !e.ctrlKey) || _modifiersMatch(modifiers, callback.modifiers)) { - - // when you bind a combination or sequence a second time it - // should overwrite the first one. if a sequenceName or - // combination is specified in this call it does just that - // - // @todo make deleting its own method? - var deleteCombo = !sequenceName && callback.combo == combination; - var deleteSequence = sequenceName && callback.seq == sequenceName && callback.level == level; - if (deleteCombo || deleteSequence) { - self._callbacks[character].splice(i, 1); - } - - matches.push(callback); - } - } - - return matches; - } - - /** - * actually calls the callback function - * - * if your callback function returns false this will use the jquery - * convention - prevent default and stop propogation on the event - * - * @param {Function} callback - * @param {Event} e - * @returns void - */ - function _fireCallback(callback, e, combo, sequence) { - - // if this event should not happen stop here - if (self.stopCallback(e, e.target || e.srcElement, combo, sequence)) { - return; - } - - if (callback(e, combo) === false) { - _preventDefault(e); - _stopPropagation(e); - } - } - - /** - * handles a character key event - * - * @param {string} character - * @param {Array} modifiers - * @param {Event} e - * @returns void - */ - self._handleKey = function(character, modifiers, e) { - var callbacks = _getMatches(character, modifiers, e); - var i; - var doNotReset = {}; - var maxLevel = 0; - var processedSequenceCallback = false; - - // Calculate the maxLevel for sequences so we can only execute the longest callback sequence - for (i = 0; i < callbacks.length; ++i) { - if (callbacks[i].seq) { - maxLevel = Math.max(maxLevel, callbacks[i].level); - } - } - - // loop through matching callbacks for this key event - for (i = 0; i < callbacks.length; ++i) { - - // fire for all sequence callbacks - // this is because if for example you have multiple sequences - // bound such as "g i" and "g t" they both need to fire the - // callback for matching g cause otherwise you can only ever - // match the first one - if (callbacks[i].seq) { - - // only fire callbacks for the maxLevel to prevent - // subsequences from also firing - // - // for example 'a option b' should not cause 'option b' to fire - // even though 'option b' is part of the other sequence - // - // any sequences that do not match here will be discarded - // below by the _resetSequences call - if (callbacks[i].level != maxLevel) { - continue; - } - - processedSequenceCallback = true; - - // keep a list of which sequences were matches for later - doNotReset[callbacks[i].seq] = 1; - _fireCallback(callbacks[i].callback, e, callbacks[i].combo, callbacks[i].seq); - continue; - } - - // if there were no sequence matches but we are still here - // that means this is a regular match so we should fire that - if (!processedSequenceCallback) { - _fireCallback(callbacks[i].callback, e, callbacks[i].combo); - } - } - - // if the key you pressed matches the type of sequence without - // being a modifier (ie "keyup" or "keypress") then we should - // reset all sequences that were not matched by this event - // - // this is so, for example, if you have the sequence "h a t" and you - // type "h e a r t" it does not match. in this case the "e" will - // cause the sequence to reset - // - // modifier keys are ignored because you can have a sequence - // that contains modifiers such as "enter ctrl+space" and in most - // cases the modifier key will be pressed before the next key - // - // also if you have a sequence such as "ctrl+b a" then pressing the - // "b" key will trigger a "keypress" and a "keydown" - // - // the "keydown" is expected when there is a modifier, but the - // "keypress" ends up matching the _nextExpectedAction since it occurs - // after and that causes the sequence to reset - // - // we ignore keypresses in a sequence that directly follow a keydown - // for the same character - var ignoreThisKeypress = e.type == 'keypress' && _ignoreNextKeypress; - if (e.type == _nextExpectedAction && !_isModifier(character) && !ignoreThisKeypress) { - _resetSequences(doNotReset); - } - - _ignoreNextKeypress = processedSequenceCallback && e.type == 'keydown'; - }; - - /** - * handles a keydown event - * - * @param {Event} e - * @returns void - */ - function _handleKeyEvent(e) { - - // normalize e.which for key events - // @see http://stackoverflow.com/questions/4285627/javascript-keycode-vs-charcode-utter-confusion - if (typeof e.which !== 'number') { - e.which = e.keyCode; - } - - var character = _characterFromEvent(e); - - // no character found then stop - if (!character) { - return; - } - - // need to use === for the character check because the character can be 0 - if (e.type == 'keyup' && _ignoreNextKeyup === character) { - _ignoreNextKeyup = false; - return; - } - - self.handleKey(character, _eventModifiers(e), e); - } - - /** - * called to set a 1 second timeout on the specified sequence - * - * this is so after each key press in the sequence you have 1 second - * to press the next key before you have to start over - * - * @returns void - */ - function _resetSequenceTimer() { - clearTimeout(_resetTimer); - _resetTimer = setTimeout(_resetSequences, 1000); - } - - /** - * binds a key sequence to an event - * - * @param {string} combo - combo specified in bind call - * @param {Array} keys - * @param {Function} callback - * @param {string=} action - * @returns void - */ - function _bindSequence(combo, keys, callback, action) { - - // start off by adding a sequence level record for this combination - // and setting the level to 0 - _sequenceLevels[combo] = 0; - - /** - * callback to increase the sequence level for this sequence and reset - * all other sequences that were active - * - * @param {string} nextAction - * @returns {Function} - */ - function _increaseSequence(nextAction) { - return function() { - _nextExpectedAction = nextAction; - ++_sequenceLevels[combo]; - _resetSequenceTimer(); - }; - } - - /** - * wraps the specified callback inside of another function in order - * to reset all sequence counters as soon as this sequence is done - * - * @param {Event} e - * @returns void - */ - function _callbackAndReset(e) { - _fireCallback(callback, e, combo); - - // we should ignore the next key up if the action is key down - // or keypress. this is so if you finish a sequence and - // release the key the final key will not trigger a keyup - if (action !== 'keyup') { - _ignoreNextKeyup = _characterFromEvent(e); - } - - // weird race condition if a sequence ends with the key - // another sequence begins with - setTimeout(_resetSequences, 10); - } - - // loop through keys one at a time and bind the appropriate callback - // function. for any key leading up to the final one it should - // increase the sequence. after the final, it should reset all sequences - // - // if an action is specified in the original bind call then that will - // be used throughout. otherwise we will pass the action that the - // next key in the sequence should match. this allows a sequence - // to mix and match keypress and keydown events depending on which - // ones are better suited to the key provided - for (var i = 0; i < keys.length; ++i) { - var isFinal = i + 1 === keys.length; - var wrappedCallback = isFinal ? _callbackAndReset : _increaseSequence(action || _getKeyInfo(keys[i + 1]).action); - _bindSingle(keys[i], wrappedCallback, action, combo, i); - } - } - - /** - * binds a single keyboard combination - * - * @param {string} combination - * @param {Function} callback - * @param {string=} action - * @param {string=} sequenceName - name of sequence if part of sequence - * @param {number=} level - what part of the sequence the command is - * @returns void - */ - function _bindSingle(combination, callback, action, sequenceName, level) { - - // store a direct mapped reference for use with Mousetrap.trigger - self._directMap[combination + ':' + action] = callback; - - // make sure multiple spaces in a row become a single space - combination = combination.replace(/\s+/g, ' '); - - var sequence = combination.split(' '); - var info; - - // if this pattern is a sequence of keys then run through this method - // to reprocess each pattern one key at a time - if (sequence.length > 1) { - _bindSequence(combination, sequence, callback, action); - return; - } - - info = _getKeyInfo(combination, action); - - // make sure to initialize array if this is the first time - // a callback is added for this key - self._callbacks[info.key] = self._callbacks[info.key] || []; - - // remove an existing match if there is one - _getMatches(info.key, info.modifiers, {type: info.action}, sequenceName, combination, level); - - // add this call back to the array - // if it is a sequence put it at the beginning - // if not put it at the end - // - // this is important because the way these are processed expects - // the sequence ones to come first - self._callbacks[info.key][sequenceName ? 'unshift' : 'push']({ - callback: callback, - modifiers: info.modifiers, - action: info.action, - seq: sequenceName, - level: level, - combo: combination - }); - } - - /** - * binds multiple combinations to the same callback - * - * @param {Array} combinations - * @param {Function} callback - * @param {string|undefined} action - * @returns void - */ - self._bindMultiple = function(combinations, callback, action) { - for (var i = 0; i < combinations.length; ++i) { - _bindSingle(combinations[i], callback, action); - } - }; - - // start! - _addEvent(targetElement, 'keypress', _handleKeyEvent); - _addEvent(targetElement, 'keydown', _handleKeyEvent); - _addEvent(targetElement, 'keyup', _handleKeyEvent); - } - - /** - * binds an event to mousetrap - * - * can be a single key, a combination of keys separated with +, - * an array of keys, or a sequence of keys separated by spaces - * - * be sure to list the modifier keys first to make sure that the - * correct key ends up getting bound (the last key in the pattern) - * - * @param {string|Array} keys - * @param {Function} callback - * @param {string=} action - 'keypress', 'keydown', or 'keyup' - * @returns void - */ - Mousetrap.prototype.bind = function(keys, callback, action) { - var self = this; - keys = keys instanceof Array ? keys : [keys]; - self._bindMultiple.call(self, keys, callback, action); - return self; - }; - - /** - * unbinds an event to mousetrap - * - * the unbinding sets the callback function of the specified key combo - * to an empty function and deletes the corresponding key in the - * _directMap dict. - * - * TODO: actually remove this from the _callbacks dictionary instead - * of binding an empty function - * - * the keycombo+action has to be exactly the same as - * it was defined in the bind method - * - * @param {string|Array} keys - * @param {string} action - * @returns void - */ - Mousetrap.prototype.unbind = function(keys, action) { - var self = this; - return self.bind.call(self, keys, function() {}, action); - }; - - /** - * triggers an event that has already been bound - * - * @param {string} keys - * @param {string=} action - * @returns void - */ - Mousetrap.prototype.trigger = function(keys, action) { - var self = this; - if (self._directMap[keys + ':' + action]) { - self._directMap[keys + ':' + action]({}, keys); - } - return self; - }; - - /** - * resets the library back to its initial state. this is useful - * if you want to clear out the current keyboard shortcuts and bind - * new ones - for example if you switch to another page - * - * @returns void - */ - Mousetrap.prototype.reset = function() { - var self = this; - self._callbacks = {}; - self._directMap = {}; - return self; - }; - - /** - * should we stop this event before firing off callbacks - * - * @param {Event} e - * @param {Element} element - * @return {boolean} - */ - Mousetrap.prototype.stopCallback = function(e, element) { - var self = this; - - // if the element has the class "mousetrap" then no need to stop - if ((' ' + element.className + ' ').indexOf(' mousetrap ') > -1) { - return false; - } - - if (_belongsTo(element, self.target)) { - return false; - } - - // Events originating from a shadow DOM are re-targetted and `e.target` is the shadow host, - // not the initial event target in the shadow tree. Note that not all events cross the - // shadow boundary. - // For shadow trees with `mode: 'open'`, the initial event target is the first element in - // the event’s composed path. For shadow trees with `mode: 'closed'`, the initial event - // target cannot be obtained. - if ('composedPath' in e && typeof e.composedPath === 'function') { - // For open shadow trees, update `element` so that the following check works. - var initialEventTarget = e.composedPath()[0]; - if (initialEventTarget !== e.target) { - element = initialEventTarget; - } - } - - // stop for input, select, and textarea - return element.tagName == 'INPUT' || element.tagName == 'SELECT' || element.tagName == 'TEXTAREA' || element.isContentEditable; - }; - - /** - * exposes _handleKey publicly so it can be overwritten by extensions - */ - Mousetrap.prototype.handleKey = function() { - var self = this; - return self._handleKey.apply(self, arguments); - }; - - /** - * allow custom key mappings - */ - Mousetrap.addKeycodes = function(object) { - for (var key in object) { - if (object.hasOwnProperty(key)) { - _MAP[key] = object[key]; - } - } - _REVERSE_MAP = null; - }; - - /** - * Init the global mousetrap functions - * - * This method is needed to allow the global mousetrap functions to work - * now that mousetrap is a constructor function. - */ - Mousetrap.init = function() { - var documentMousetrap = Mousetrap(document); - for (var method in documentMousetrap) { - if (method.charAt(0) !== '_') { - Mousetrap[method] = (function(method) { - return function() { - return documentMousetrap[method].apply(documentMousetrap, arguments); - }; - } (method)); - } - } - }; - - Mousetrap.init(); - - // expose mousetrap to the global object - window.Mousetrap = Mousetrap; - - // expose as a common js module - if ( true && module.exports) { - module.exports = Mousetrap; - } - - // expose mousetrap as an AMD module - if (true) { - !(__WEBPACK_AMD_DEFINE_RESULT__ = (function() { - return Mousetrap; - }).call(exports, __webpack_require__, exports, module), - __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); - } -}) (typeof window !== 'undefined' ? window : null, typeof window !== 'undefined' ? document : null); +// eslint-disable-next-line import/no-unresolved +module.exports = __webpack_require__(282); /***/ }), /* 225 */ /***/ (function(module, exports, __webpack_require__) { -// eslint-disable-next-line import/no-unresolved -module.exports = __webpack_require__(282); +var e=__webpack_require__(21),n={display:"block",opacity:0,position:"absolute",top:0,left:0,height:"100%",width:"100%",overflow:"hidden",pointerEvents:"none",zIndex:-1},t=function(t){var r=t.onResize,u=e.useRef();return function(n,t){var r=function(){return n.current&&n.current.contentDocument&&n.current.contentDocument.defaultView};function u(){t();var e=r();e&&e.addEventListener("resize",t)}e.useEffect((function(){return r()?u():n.current&&n.current.addEventListener&&n.current.addEventListener("load",u),function(){var e=r();e&&"function"==typeof e.removeEventListener&&e.removeEventListener("resize",t)}}),[])}(u,(function(){return r(u)})),e.createElement("iframe",{style:n,src:"about:blank",ref:u,"aria-hidden":!0,"aria-label":"resize-listener",tabIndex:-1,frameBorder:0})},r=function(e){return{width:null!=e?e.offsetWidth:null,height:null!=e?e.offsetHeight:null}};module.exports=function(n){void 0===n&&(n=r);var u=e.useState(n(null)),i=u[0],o=u[1],c=e.useCallback((function(e){return o(n(e.current))}),[n]);return[e.useMemo((function(){return e.createElement(t,{onResize:c})}),[c]),i]}; /***/ }), @@ -19772,7 +18714,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); -var React = __importStar(__webpack_require__(20)); +var React = __importStar(__webpack_require__(21)); var resizer_1 = __webpack_require__(334); var fast_memoize_1 = __importDefault(__webpack_require__(335)); var DEFAULT_SIZE = { @@ -20436,55 +19378,7 @@ exports.Resizable = Resizable; /* 232 */, /* 233 */, /* 234 */, -/* 235 */ -/***/ (function(module, exports) { - -/** - * adds a bindGlobal method to Mousetrap that allows you to - * bind specific keyboard shortcuts that will still work - * inside a text input field - * - * usage: - * Mousetrap.bindGlobal('ctrl+s', _saveChanges); - */ -/* global Mousetrap:true */ -(function(Mousetrap) { - var _globalCallbacks = {}; - var _originalStopCallback = Mousetrap.prototype.stopCallback; - - Mousetrap.prototype.stopCallback = function(e, element, combo, sequence) { - var self = this; - - if (self.paused) { - return true; - } - - if (_globalCallbacks[combo] || _globalCallbacks[sequence]) { - return false; - } - - return _originalStopCallback.call(self, e, element, combo); - }; - - Mousetrap.prototype.bindGlobal = function(keys, callback, action) { - var self = this; - self.bind(keys, callback, action); - - if (keys instanceof Array) { - for (var i = 0; i < keys.length; i++) { - _globalCallbacks[keys[i]] = true; - } - return; - } - - _globalCallbacks[keys] = true; - }; - - Mousetrap.init(); -}) (Mousetrap); - - -/***/ }), +/* 235 */, /* 236 */ /***/ (function(module, exports, __webpack_require__) { @@ -20649,8 +19543,8 @@ exports['default'] = { create: create, resolve: resolve }; "use strict"; -var define = __webpack_require__(64); -var callBind = __webpack_require__(127); +var define = __webpack_require__(66); +var callBind = __webpack_require__(128); var implementation = __webpack_require__(152); var getPolyfill = __webpack_require__(164); @@ -20875,7 +19769,7 @@ module.exports = function hasNativeSymbols() { return hasSymbolSham(); }; -/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(61))) +/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(63))) /***/ }), /* 246 */ @@ -20933,17 +19827,17 @@ module.exports = function hasSymbols() { "use strict"; -var GetIntrinsic = __webpack_require__(46); +var GetIntrinsic = __webpack_require__(47); var $Array = GetIntrinsic('%Array%'); var $species = GetIntrinsic('%Symbol.species%', true); var $TypeError = GetIntrinsic('%TypeError%'); -var Get = __webpack_require__(128); +var Get = __webpack_require__(129); var IsArray = __webpack_require__(154); var IsConstructor = __webpack_require__(250); var IsInteger = __webpack_require__(251); -var Type = __webpack_require__(73); +var Type = __webpack_require__(75); // https://ecma-international.org/ecma-262/6.0/#sec-arrayspeciescreate @@ -21037,14 +19931,14 @@ module.exports = function IsConstructor(argument) { "use strict"; -var GetIntrinsic = __webpack_require__(46); +var GetIntrinsic = __webpack_require__(47); var $Math = GetIntrinsic('%Math%'); var $floor = $Math.floor; var $abs = $Math.abs; -var $isNaN = __webpack_require__(130); +var $isNaN = __webpack_require__(131); var $isFinite = __webpack_require__(155); // https://www.ecma-international.org/ecma-262/6.0/#sec-isinteger @@ -21065,7 +19959,7 @@ module.exports = function IsInteger(argument) { "use strict"; -var GetIntrinsic = __webpack_require__(46); +var GetIntrinsic = __webpack_require__(47); var $TypeError = GetIntrinsic('%TypeError%'); @@ -21073,7 +19967,7 @@ var MAX_SAFE_INTEGER = __webpack_require__(156); var Call = __webpack_require__(253); var CreateDataPropertyOrThrow = __webpack_require__(255); -var Get = __webpack_require__(128); +var Get = __webpack_require__(129); var HasProperty = __webpack_require__(262); var IsArray = __webpack_require__(154); var ToLength = __webpack_require__(160); @@ -21130,7 +20024,7 @@ module.exports = function FlattenIntoArray(target, source, sourceLen, start, dep "use strict"; -var GetIntrinsic = __webpack_require__(46); +var GetIntrinsic = __webpack_require__(47); var $TypeError = GetIntrinsic('%TypeError%'); @@ -21168,13 +20062,13 @@ module.exports = __webpack_require__(157); "use strict"; -var GetIntrinsic = __webpack_require__(46); +var GetIntrinsic = __webpack_require__(47); var $TypeError = GetIntrinsic('%TypeError%'); var CreateDataProperty = __webpack_require__(256); -var IsPropertyKey = __webpack_require__(100); -var Type = __webpack_require__(73); +var IsPropertyKey = __webpack_require__(101); +var Type = __webpack_require__(75); // // https://ecma-international.org/ecma-262/6.0/#sec-createdatapropertyorthrow @@ -21200,7 +20094,7 @@ module.exports = function CreateDataPropertyOrThrow(O, P, V) { "use strict"; -var GetIntrinsic = __webpack_require__(46); +var GetIntrinsic = __webpack_require__(47); var $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%'); var $TypeError = GetIntrinsic('%TypeError%'); @@ -21210,9 +20104,9 @@ var DefineOwnProperty = __webpack_require__(257); var FromPropertyDescriptor = __webpack_require__(258); var IsDataDescriptor = __webpack_require__(259); var IsExtensible = __webpack_require__(260); -var IsPropertyKey = __webpack_require__(100); +var IsPropertyKey = __webpack_require__(101); var SameValue = __webpack_require__(261); -var Type = __webpack_require__(73); +var Type = __webpack_require__(75); // https://www.ecma-international.org/ecma-262/6.0/#sec-createdataproperty @@ -21252,11 +20146,11 @@ module.exports = function CreateDataProperty(O, P, V) { "use strict"; -var GetIntrinsic = __webpack_require__(46); +var GetIntrinsic = __webpack_require__(47); var $defineProperty = GetIntrinsic('%Object.defineProperty%'); -var callBound = __webpack_require__(129); +var callBound = __webpack_require__(130); var $isEnumerable = callBound('Object.prototype.propertyIsEnumerable'); @@ -21297,7 +20191,7 @@ module.exports = function DefineOwnProperty(IsDataDescriptor, SameValue, FromPro var assertRecord = __webpack_require__(158); -var Type = __webpack_require__(73); +var Type = __webpack_require__(75); // https://www.ecma-international.org/ecma-262/6.0/#sec-frompropertydescriptor @@ -21338,11 +20232,11 @@ module.exports = function FromPropertyDescriptor(Desc) { "use strict"; -var has = __webpack_require__(74); +var has = __webpack_require__(76); var assertRecord = __webpack_require__(158); -var Type = __webpack_require__(73); +var Type = __webpack_require__(75); // https://www.ecma-international.org/ecma-262/6.0/#sec-isdatadescriptor @@ -21368,7 +20262,7 @@ module.exports = function IsDataDescriptor(Desc) { "use strict"; -var GetIntrinsic = __webpack_require__(46); +var GetIntrinsic = __webpack_require__(47); var $Object = GetIntrinsic('%Object%'); @@ -21395,7 +20289,7 @@ module.exports = $preventExtensions "use strict"; -var $isNaN = __webpack_require__(130); +var $isNaN = __webpack_require__(131); // http://www.ecma-international.org/ecma-262/5.1/#sec-9.12 @@ -21415,12 +20309,12 @@ module.exports = function SameValue(x, y) { "use strict"; -var GetIntrinsic = __webpack_require__(46); +var GetIntrinsic = __webpack_require__(47); var $TypeError = GetIntrinsic('%TypeError%'); -var IsPropertyKey = __webpack_require__(100); -var Type = __webpack_require__(73); +var IsPropertyKey = __webpack_require__(101); +var Type = __webpack_require__(75); // https://ecma-international.org/ecma-262/6.0/#sec-hasproperty @@ -21442,12 +20336,12 @@ module.exports = function HasProperty(O, P) { "use strict"; -var GetIntrinsic = __webpack_require__(46); +var GetIntrinsic = __webpack_require__(47); var $Math = GetIntrinsic('%Math%'); var ToNumber = __webpack_require__(264); -var $isNaN = __webpack_require__(130); +var $isNaN = __webpack_require__(131); var $isFinite = __webpack_require__(155); var $sign = __webpack_require__(265); @@ -21497,14 +20391,14 @@ module.exports = function sign(number) { "use strict"; -var GetIntrinsic = __webpack_require__(46); +var GetIntrinsic = __webpack_require__(47); var $TypeError = GetIntrinsic('%TypeError%'); var $Number = GetIntrinsic('%Number%'); var $RegExp = GetIntrinsic('%RegExp%'); var $parseInteger = GetIntrinsic('%parseInt%'); -var callBound = __webpack_require__(129); +var callBound = __webpack_require__(130); var regexTester = __webpack_require__(267); var isPrimitive = __webpack_require__(159); @@ -21563,11 +20457,11 @@ module.exports = function ToNumber(argument) { "use strict"; -var GetIntrinsic = __webpack_require__(46); +var GetIntrinsic = __webpack_require__(47); var $test = GetIntrinsic('RegExp.prototype.test'); -var callBind = __webpack_require__(127); +var callBind = __webpack_require__(128); module.exports = function regexTester(regex) { return callBind($test, regex); @@ -21605,7 +20499,7 @@ var hasSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'sym var isPrimitive = __webpack_require__(270); var isCallable = __webpack_require__(157); var isDate = __webpack_require__(162); -var isSymbol = __webpack_require__(131); +var isSymbol = __webpack_require__(132); var ordinaryToPrimitive = function OrdinaryToPrimitive(O, hint) { if (typeof O === 'undefined' || O === null) { @@ -21706,7 +20600,7 @@ module.exports = function hasNativeSymbols() { return hasSymbolSham(); }; -/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(61))) +/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(63))) /***/ }), /* 272 */ @@ -21715,7 +20609,7 @@ module.exports = function hasNativeSymbols() { "use strict"; -var GetIntrinsic = __webpack_require__(46); +var GetIntrinsic = __webpack_require__(47); var $String = GetIntrinsic('%String%'); var $TypeError = GetIntrinsic('%TypeError%'); @@ -21737,7 +20631,7 @@ module.exports = function ToString(argument) { "use strict"; -var GetIntrinsic = __webpack_require__(46); +var GetIntrinsic = __webpack_require__(47); var $Object = GetIntrinsic('%Object%'); @@ -21768,7 +20662,7 @@ module.exports = __webpack_require__(275); "use strict"; -var GetIntrinsic = __webpack_require__(46); +var GetIntrinsic = __webpack_require__(47); var $TypeError = GetIntrinsic('%TypeError%'); @@ -21789,7 +20683,7 @@ module.exports = function CheckObjectCoercible(value, optMessage) { "use strict"; -var define = __webpack_require__(64); +var define = __webpack_require__(66); var getPolyfill = __webpack_require__(164); module.exports = function shimFlat() { @@ -21810,8 +20704,8 @@ module.exports = function shimFlat() { "use strict"; /* WEBPACK VAR INJECTION */(function(global) { -var define = __webpack_require__(64); -var isSymbol = __webpack_require__(131); +var define = __webpack_require__(66); +var isSymbol = __webpack_require__(132); var globalKey = '__ global cache key __'; /* istanbul ignore else */ @@ -21900,7 +20794,7 @@ var globalCache = { module.exports = globalCache; -/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(61))) +/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(63))) /***/ }), /* 278 */ @@ -22022,7 +20916,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _CalendarDay = __webpack_require__(132); +var _CalendarDay = __webpack_require__(133); Object.defineProperty(exports, 'CalendarDay', { enumerable: true, @@ -22113,7 +21007,7 @@ Object.defineProperty(exports, 'DateRangePickerShape', { }() }); -var _DayPicker = __webpack_require__(141); +var _DayPicker = __webpack_require__(142); Object.defineProperty(exports, 'DayPicker', { enumerable: true, @@ -22191,7 +21085,7 @@ Object.defineProperty(exports, 'SingleDatePickerShape', { }() }); -var _isInclusivelyAfterDay = __webpack_require__(92); +var _isInclusivelyAfterDay = __webpack_require__(93); Object.defineProperty(exports, 'isInclusivelyAfterDay', { enumerable: true, @@ -22230,7 +21124,7 @@ Object.defineProperty(exports, 'isNextDay', { }() }); -var _isSameDay = __webpack_require__(78); +var _isSameDay = __webpack_require__(79); Object.defineProperty(exports, 'isSameDay', { enumerable: true, @@ -22243,7 +21137,7 @@ Object.defineProperty(exports, 'isSameDay', { }() }); -var _toISODateString = __webpack_require__(102); +var _toISODateString = __webpack_require__(103); Object.defineProperty(exports, 'toISODateString', { enumerable: true, @@ -22256,7 +21150,7 @@ Object.defineProperty(exports, 'toISODateString', { }() }); -var _toLocalizedDateString = __webpack_require__(139); +var _toLocalizedDateString = __webpack_require__(140); Object.defineProperty(exports, 'toLocalizedDateString', { enumerable: true, @@ -22269,7 +21163,7 @@ Object.defineProperty(exports, 'toLocalizedDateString', { }() }); -var _toMomentObject = __webpack_require__(79); +var _toMomentObject = __webpack_require__(80); Object.defineProperty(exports, 'toMomentObject', { enumerable: true, @@ -22291,7 +21185,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'd "use strict"; -var define = __webpack_require__(64); +var define = __webpack_require__(66); var getPolyfill = __webpack_require__(168); module.exports = function shimAssign() { @@ -22797,13 +21691,13 @@ Object.defineProperty(exports, "__esModule", { }); exports['default'] = CalendarWeek; -var _react = __webpack_require__(20); +var _react = __webpack_require__(21); var _react2 = _interopRequireDefault(_react); -var _airbnbPropTypes = __webpack_require__(47); +var _airbnbPropTypes = __webpack_require__(48); -var _CalendarDay = __webpack_require__(132); +var _CalendarDay = __webpack_require__(133); var _CalendarDay2 = _interopRequireDefault(_CalendarDay); @@ -22845,11 +21739,11 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); -var _object = __webpack_require__(51); +var _object = __webpack_require__(52); var _object2 = _interopRequireDefault(_object); -var _react = __webpack_require__(20); +var _react = __webpack_require__(21); var _react2 = _interopRequireDefault(_react); @@ -22857,25 +21751,25 @@ var _propTypes = __webpack_require__(28); var _propTypes2 = _interopRequireDefault(_propTypes); -var _reactAddonsShallowCompare = __webpack_require__(77); +var _reactAddonsShallowCompare = __webpack_require__(78); var _reactAddonsShallowCompare2 = _interopRequireDefault(_reactAddonsShallowCompare); -var _reactMomentProptypes = __webpack_require__(65); +var _reactMomentProptypes = __webpack_require__(67); var _reactMomentProptypes2 = _interopRequireDefault(_reactMomentProptypes); -var _airbnbPropTypes = __webpack_require__(47); +var _airbnbPropTypes = __webpack_require__(48); -var _reactWithStyles = __webpack_require__(56); +var _reactWithStyles = __webpack_require__(58); var _moment = __webpack_require__(30); var _moment2 = _interopRequireDefault(_moment); -var _defaultPhrases = __webpack_require__(52); +var _defaultPhrases = __webpack_require__(53); -var _getPhrasePropTypes = __webpack_require__(55); +var _getPhrasePropTypes = __webpack_require__(56); var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes); @@ -23508,15 +22402,15 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); -var _object = __webpack_require__(51); +var _object = __webpack_require__(52); var _object2 = _interopRequireDefault(_object); -var _react = __webpack_require__(20); +var _react = __webpack_require__(21); var _react2 = _interopRequireDefault(_react); -var _reactAddonsShallowCompare = __webpack_require__(77); +var _reactAddonsShallowCompare = __webpack_require__(78); var _reactAddonsShallowCompare2 = _interopRequireDefault(_reactAddonsShallowCompare); @@ -23524,19 +22418,19 @@ var _moment = __webpack_require__(30); var _moment2 = _interopRequireDefault(_moment); -var _reactWithStyles = __webpack_require__(56); +var _reactWithStyles = __webpack_require__(58); var _reactPortal = __webpack_require__(214); -var _airbnbPropTypes = __webpack_require__(47); +var _airbnbPropTypes = __webpack_require__(48); -var _consolidatedEvents = __webpack_require__(103); +var _consolidatedEvents = __webpack_require__(104); -var _isTouchDevice = __webpack_require__(81); +var _isTouchDevice = __webpack_require__(82); var _isTouchDevice2 = _interopRequireDefault(_isTouchDevice); -var _reactOutsideClickHandler = __webpack_require__(133); +var _reactOutsideClickHandler = __webpack_require__(134); var _reactOutsideClickHandler2 = _interopRequireDefault(_reactOutsideClickHandler); @@ -23544,7 +22438,7 @@ var _DateRangePickerShape = __webpack_require__(186); var _DateRangePickerShape2 = _interopRequireDefault(_DateRangePickerShape); -var _defaultPhrases = __webpack_require__(52); +var _defaultPhrases = __webpack_require__(53); var _getResponsiveContainerStyles = __webpack_require__(190); @@ -23554,11 +22448,11 @@ var _getDetachedContainerStyles = __webpack_require__(191); var _getDetachedContainerStyles2 = _interopRequireDefault(_getDetachedContainerStyles); -var _getInputHeight = __webpack_require__(137); +var _getInputHeight = __webpack_require__(138); var _getInputHeight2 = _interopRequireDefault(_getInputHeight); -var _isInclusivelyAfterDay = __webpack_require__(92); +var _isInclusivelyAfterDay = __webpack_require__(93); var _isInclusivelyAfterDay2 = _interopRequireDefault(_isInclusivelyAfterDay); @@ -23574,7 +22468,7 @@ var _DayPickerRangeController = __webpack_require__(202); var _DayPickerRangeController2 = _interopRequireDefault(_DayPickerRangeController); -var _CloseButton = __webpack_require__(94); +var _CloseButton = __webpack_require__(95); var _CloseButton2 = _interopRequireDefault(_CloseButton); @@ -24343,7 +23237,7 @@ Object.defineProperty(exports, "__esModule", { var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); -var _react = __webpack_require__(20); +var _react = __webpack_require__(21); var _react2 = _interopRequireDefault(_react); @@ -24351,11 +23245,11 @@ var _propTypes = __webpack_require__(28); var _propTypes2 = _interopRequireDefault(_propTypes); -var _airbnbPropTypes = __webpack_require__(47); +var _airbnbPropTypes = __webpack_require__(48); -var _consolidatedEvents = __webpack_require__(103); +var _consolidatedEvents = __webpack_require__(104); -var _object = __webpack_require__(134); +var _object = __webpack_require__(135); var _object2 = _interopRequireDefault(_object); @@ -24608,11 +23502,11 @@ module.exports = ES2016; "use strict"; -var has = __webpack_require__(74); +var has = __webpack_require__(76); var toPrimitive = __webpack_require__(306); -var keys = __webpack_require__(126); +var keys = __webpack_require__(127); -var GetIntrinsic = __webpack_require__(136); +var GetIntrinsic = __webpack_require__(137); var $TypeError = GetIntrinsic('%TypeError%'); var $SyntaxError = GetIntrinsic('%SyntaxError%'); @@ -24635,7 +23529,7 @@ var sign = __webpack_require__(181); var mod = __webpack_require__(182); var isPrimitive = __webpack_require__(308); var parseInteger = parseInt; -var bind = __webpack_require__(72); +var bind = __webpack_require__(74); var arraySlice = bind.call(Function.call, $Array.prototype.slice); var strSlice = bind.call(Function.call, $String.prototype.slice); var isBinary = bind.call(Function.call, $RegExp.prototype.test, /^0b[01]+$/i); @@ -25418,9 +24312,9 @@ module.exports = __webpack_require__(307); var hasSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol'; var isPrimitive = __webpack_require__(176); -var isCallable = __webpack_require__(135); +var isCallable = __webpack_require__(136); var isDate = __webpack_require__(162); -var isSymbol = __webpack_require__(131); +var isSymbol = __webpack_require__(132); var ordinaryToPrimitive = function OrdinaryToPrimitive(O, hint) { if (typeof O === 'undefined' || O === null) { @@ -25506,7 +24400,7 @@ module.exports = function isPrimitive(value) { "use strict"; -var GetIntrinsic = __webpack_require__(136); +var GetIntrinsic = __webpack_require__(137); var $Object = GetIntrinsic('%Object%'); var $TypeError = GetIntrinsic('%TypeError%'); @@ -25519,10 +24413,10 @@ var $isFinite = __webpack_require__(179); var sign = __webpack_require__(181); var mod = __webpack_require__(182); -var IsCallable = __webpack_require__(135); +var IsCallable = __webpack_require__(136); var toPrimitive = __webpack_require__(310); -var has = __webpack_require__(74); +var has = __webpack_require__(76); // https://es5.github.io/#x9 var ES5 = { @@ -25752,7 +24646,7 @@ var toStr = Object.prototype.toString; var isPrimitive = __webpack_require__(176); -var isCallable = __webpack_require__(135); +var isCallable = __webpack_require__(136); // http://ecma-international.org/ecma-262/5.1/#sec-8.12.8 var ES5internalSlots = { @@ -25800,7 +24694,7 @@ module.exports = function ToPrimitive(input) { "use strict"; -var has = __webpack_require__(74); +var has = __webpack_require__(76); var regexExec = RegExp.prototype.exec; var gOPD = Object.getOwnPropertyDescriptor; @@ -25847,7 +24741,7 @@ module.exports = function isRegex(value) { var getPolyfill = __webpack_require__(183); -var define = __webpack_require__(64); +var define = __webpack_require__(66); module.exports = function shimValues() { var polyfill = getPolyfill(); @@ -25867,7 +24761,7 @@ module.exports = function shimValues() { "use strict"; -var define = __webpack_require__(64); +var define = __webpack_require__(66); var implementation = __webpack_require__(184); var getPolyfill = __webpack_require__(185); @@ -25894,7 +24788,7 @@ module.exports = boundContains; "use strict"; -var define = __webpack_require__(64); +var define = __webpack_require__(66); var getPolyfill = __webpack_require__(185); module.exports = function shimContains() { @@ -25921,7 +24815,7 @@ module.exports = function shimContains() { /* 315 */ /***/ (function(module, exports, __webpack_require__) { -var isObject = __webpack_require__(138), +var isObject = __webpack_require__(139), now = __webpack_require__(316), toNumber = __webpack_require__(318); @@ -26152,13 +25046,13 @@ var freeGlobal = typeof global == 'object' && global && global.Object === Object module.exports = freeGlobal; -/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(61))) +/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(63))) /***/ }), /* 318 */ /***/ (function(module, exports, __webpack_require__) { -var isObject = __webpack_require__(138), +var isObject = __webpack_require__(139), isSymbol = __webpack_require__(319); /** Used as references for various `Number` constants. */ @@ -26445,11 +25339,11 @@ Object.defineProperty(exports, "__esModule", { var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; -var _object = __webpack_require__(51); +var _object = __webpack_require__(52); var _object2 = _interopRequireDefault(_object); -var _react = __webpack_require__(20); +var _react = __webpack_require__(21); var _react2 = _interopRequireDefault(_react); @@ -26457,13 +25351,13 @@ var _propTypes = __webpack_require__(28); var _propTypes2 = _interopRequireDefault(_propTypes); -var _airbnbPropTypes = __webpack_require__(47); +var _airbnbPropTypes = __webpack_require__(48); -var _reactWithStyles = __webpack_require__(56); +var _reactWithStyles = __webpack_require__(58); -var _defaultPhrases = __webpack_require__(52); +var _defaultPhrases = __webpack_require__(53); -var _getPhrasePropTypes = __webpack_require__(55); +var _getPhrasePropTypes = __webpack_require__(56); var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes); @@ -26483,7 +25377,7 @@ var _ChevronDown = __webpack_require__(327); var _ChevronDown2 = _interopRequireDefault(_ChevronDown); -var _ScrollableOrientationShape = __webpack_require__(80); +var _ScrollableOrientationShape = __webpack_require__(81); var _ScrollableOrientationShape2 = _interopRequireDefault(_ScrollableOrientationShape); @@ -26752,7 +25646,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _react = __webpack_require__(20); +var _react = __webpack_require__(21); var _react2 = _interopRequireDefault(_react); @@ -26788,7 +25682,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _react = __webpack_require__(20); +var _react = __webpack_require__(21); var _react2 = _interopRequireDefault(_react); @@ -26829,11 +25723,11 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); -var _object = __webpack_require__(51); +var _object = __webpack_require__(52); var _object2 = _interopRequireDefault(_object); -var _react = __webpack_require__(20); +var _react = __webpack_require__(21); var _react2 = _interopRequireDefault(_react); @@ -26841,13 +25735,13 @@ var _propTypes = __webpack_require__(28); var _propTypes2 = _interopRequireDefault(_propTypes); -var _airbnbPropTypes = __webpack_require__(47); +var _airbnbPropTypes = __webpack_require__(48); -var _reactWithStyles = __webpack_require__(56); +var _reactWithStyles = __webpack_require__(58); -var _defaultPhrases = __webpack_require__(52); +var _defaultPhrases = __webpack_require__(53); -var _getPhrasePropTypes = __webpack_require__(55); +var _getPhrasePropTypes = __webpack_require__(56); var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes); @@ -26855,7 +25749,7 @@ var _KeyboardShortcutRow = __webpack_require__(329); var _KeyboardShortcutRow2 = _interopRequireDefault(_KeyboardShortcutRow); -var _CloseButton = __webpack_require__(94); +var _CloseButton = __webpack_require__(95); var _CloseButton2 = _interopRequireDefault(_CloseButton); @@ -27335,11 +26229,11 @@ Object.defineProperty(exports, "__esModule", { var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; -var _object = __webpack_require__(51); +var _object = __webpack_require__(52); var _object2 = _interopRequireDefault(_object); -var _react = __webpack_require__(20); +var _react = __webpack_require__(21); var _react2 = _interopRequireDefault(_react); @@ -27347,9 +26241,9 @@ var _propTypes = __webpack_require__(28); var _propTypes2 = _interopRequireDefault(_propTypes); -var _airbnbPropTypes = __webpack_require__(47); +var _airbnbPropTypes = __webpack_require__(48); -var _reactWithStyles = __webpack_require__(56); +var _reactWithStyles = __webpack_require__(58); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } @@ -27499,11 +26393,11 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); -var _object = __webpack_require__(51); +var _object = __webpack_require__(52); var _object2 = _interopRequireDefault(_object); -var _react = __webpack_require__(20); +var _react = __webpack_require__(21); var _react2 = _interopRequireDefault(_react); @@ -27511,19 +26405,19 @@ var _moment = __webpack_require__(30); var _moment2 = _interopRequireDefault(_moment); -var _reactWithStyles = __webpack_require__(56); +var _reactWithStyles = __webpack_require__(58); var _reactPortal = __webpack_require__(214); -var _airbnbPropTypes = __webpack_require__(47); +var _airbnbPropTypes = __webpack_require__(48); -var _consolidatedEvents = __webpack_require__(103); +var _consolidatedEvents = __webpack_require__(104); -var _isTouchDevice = __webpack_require__(81); +var _isTouchDevice = __webpack_require__(82); var _isTouchDevice2 = _interopRequireDefault(_isTouchDevice); -var _reactOutsideClickHandler = __webpack_require__(133); +var _reactOutsideClickHandler = __webpack_require__(134); var _reactOutsideClickHandler2 = _interopRequireDefault(_reactOutsideClickHandler); @@ -27531,13 +26425,13 @@ var _SingleDatePickerShape = __webpack_require__(206); var _SingleDatePickerShape2 = _interopRequireDefault(_SingleDatePickerShape); -var _defaultPhrases = __webpack_require__(52); +var _defaultPhrases = __webpack_require__(53); -var _toMomentObject = __webpack_require__(79); +var _toMomentObject = __webpack_require__(80); var _toMomentObject2 = _interopRequireDefault(_toMomentObject); -var _toLocalizedDateString = __webpack_require__(139); +var _toLocalizedDateString = __webpack_require__(140); var _toLocalizedDateString2 = _interopRequireDefault(_toLocalizedDateString); @@ -27549,11 +26443,11 @@ var _getDetachedContainerStyles = __webpack_require__(191); var _getDetachedContainerStyles2 = _interopRequireDefault(_getDetachedContainerStyles); -var _getInputHeight = __webpack_require__(137); +var _getInputHeight = __webpack_require__(138); var _getInputHeight2 = _interopRequireDefault(_getInputHeight); -var _isInclusivelyAfterDay = __webpack_require__(92); +var _isInclusivelyAfterDay = __webpack_require__(93); var _isInclusivelyAfterDay2 = _interopRequireDefault(_isInclusivelyAfterDay); @@ -27569,7 +26463,7 @@ var _DayPickerSingleDateController = __webpack_require__(205); var _DayPickerSingleDateController2 = _interopRequireDefault(_DayPickerSingleDateController); -var _CloseButton = __webpack_require__(94); +var _CloseButton = __webpack_require__(95); var _CloseButton2 = _interopRequireDefault(_CloseButton); @@ -28374,7 +27268,7 @@ var _moment = __webpack_require__(30); var _moment2 = _interopRequireDefault(_moment); -var _isAfterDay = __webpack_require__(106); +var _isAfterDay = __webpack_require__(107); var _isAfterDay2 = _interopRequireDefault(_isAfterDay); @@ -28410,7 +27304,7 @@ var __importStar = (this && this.__importStar) || function (mod) { return result; }; Object.defineProperty(exports, "__esModule", { value: true }); -var React = __importStar(__webpack_require__(20)); +var React = __importStar(__webpack_require__(21)); var styles = { top: { width: '100%', @@ -28659,17 +27553,22 @@ module.exports.strategies = { /* 358 */, /* 359 */, /* 360 */, -/* 361 */ +/* 361 */, +/* 362 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js -var objectSpread = __webpack_require__(7); +var objectSpread = __webpack_require__(6); -// EXTERNAL MODULE: external {"this":"lodash"} -var external_this_lodash_ = __webpack_require__(2); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +var objectWithoutProperties = __webpack_require__(20); + +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(10); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); // EXTERNAL MODULE: external {"this":["wp","element"]} var external_this_wp_element_ = __webpack_require__(0); @@ -28677,6 +27576,7 @@ var external_this_wp_element_ = __webpack_require__(0); // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/primitives/svg/index.js + /** * External dependencies */ @@ -28701,8 +27601,15 @@ var svg_Polygon = function Polygon(props) { var svg_Rect = function Rect(props) { return Object(external_this_wp_element_["createElement"])('rect', props); }; -var svg_SVG = function SVG(props) { +var svg_SVG = function SVG(_ref) { + var className = _ref.className, + isPressed = _ref.isPressed, + props = Object(objectWithoutProperties["a" /* default */])(_ref, ["className", "isPressed"]); + var appliedProps = Object(objectSpread["a" /* default */])({}, props, { + className: classnames_default()(className, { + 'is-pressed': isPressed + }) || undefined, role: 'img', 'aria-hidden': 'true', focusable: 'false' @@ -28710,7 +27617,7 @@ var svg_SVG = function SVG(props) { // eslint-disable-next-line react/forbid-elements - return Object(external_this_wp_element_["createElement"])("svg", Object(external_this_lodash_["omit"])(appliedProps, '__unstableActive')); + return Object(external_this_wp_element_["createElement"])("svg", appliedProps); }; // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/primitives/horizontal-rule/index.js @@ -28730,10 +27637,6 @@ var defineProperty = __webpack_require__(9); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules var slicedToArray = __webpack_require__(22); -// EXTERNAL MODULE: ./node_modules/classnames/index.js -var classnames = __webpack_require__(11); -var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); - // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/animate/index.js @@ -28787,7 +27690,7 @@ function Animate(_ref) { /* harmony default export */ var build_module_animate = (Animate); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js -var classCallCheck = __webpack_require__(13); +var classCallCheck = __webpack_require__(14); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js var possibleConstructorReturn = __webpack_require__(15); @@ -28796,10 +27699,10 @@ var possibleConstructorReturn = __webpack_require__(15); var getPrototypeOf = __webpack_require__(16); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js -var assertThisInitialized = __webpack_require__(6); +var assertThisInitialized = __webpack_require__(7); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js -var createClass = __webpack_require__(12); +var createClass = __webpack_require__(13); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules var inherits = __webpack_require__(17); @@ -28807,6 +27710,9 @@ var inherits = __webpack_require__(17); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules var toConsumableArray = __webpack_require__(18); +// EXTERNAL MODULE: external {"this":"lodash"} +var external_this_lodash_ = __webpack_require__(2); + // EXTERNAL MODULE: external {"this":["wp","keycodes"]} var external_this_wp_keycodes_ = __webpack_require__(19); @@ -28819,106 +27725,59 @@ var external_this_wp_compose_ = __webpack_require__(8); // EXTERNAL MODULE: external {"this":["wp","richText"]} var external_this_wp_richText_ = __webpack_require__(24); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js -var objectWithoutProperties = __webpack_require__(21); - -// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/button/index.js - - - -/** - * External dependencies - */ - -/** - * WordPress dependencies - */ - - -function Button(props, ref) { - var href = props.href, - target = props.target, - isPrimary = props.isPrimary, - isLarge = props.isLarge, - isSmall = props.isSmall, - isTertiary = props.isTertiary, - isToggled = props.isToggled, - isBusy = props.isBusy, - isDefault = props.isDefault, - isLink = props.isLink, - isDestructive = props.isDestructive, - className = props.className, - disabled = props.disabled, - additionalProps = Object(objectWithoutProperties["a" /* default */])(props, ["href", "target", "isPrimary", "isLarge", "isSmall", "isTertiary", "isToggled", "isBusy", "isDefault", "isLink", "isDestructive", "className", "disabled"]); - - var classes = classnames_default()('components-button', className, { - 'is-button': isDefault || isPrimary || isLarge || isSmall, - 'is-default': isDefault || !isPrimary && (isLarge || isSmall), - 'is-primary': isPrimary, - 'is-large': isLarge, - 'is-small': isSmall, - 'is-tertiary': isTertiary, - 'is-toggled': isToggled, - 'is-busy': isBusy, - 'is-link': isLink, - 'is-destructive': isDestructive - }); - var tag = href !== undefined && !disabled ? 'a' : 'button'; - var tagProps = tag === 'a' ? { - href: href, - target: target - } : { - type: 'button', - disabled: disabled - }; - return Object(external_this_wp_element_["createElement"])(tag, Object(objectSpread["a" /* default */])({}, tagProps, additionalProps, { - className: classes, - ref: ref - })); -} -/* harmony default export */ var build_module_button = (Object(external_this_wp_element_["forwardRef"])(Button)); - // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(14); - -// EXTERNAL MODULE: external {"this":["wp","dom"]} -var external_this_wp_dom_ = __webpack_require__(29); +var esm_extends = __webpack_require__(12); // EXTERNAL MODULE: external {"this":["wp","deprecated"]} -var external_this_wp_deprecated_ = __webpack_require__(35); +var external_this_wp_deprecated_ = __webpack_require__(33); var external_this_wp_deprecated_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_deprecated_); +// EXTERNAL MODULE: external {"this":["wp","dom"]} +var external_this_wp_dom_ = __webpack_require__(27); + // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/popover/utils.js +/** + * WordPress dependencies + */ + /** * Module constants */ + var HEIGHT_OFFSET = 10; // used by the arrow and a bit of empty space -var isRTL = function isRTL() { - return document.documentElement.dir === 'rtl'; -}; /** * Utility used to compute the popover position over the xAxis * - * @param {Object} anchorRect Anchor Rect. - * @param {Object} contentSize Content Size. - * @param {string} xAxis Desired xAxis. - * @param {string} chosenYAxis yAxis to be used. + * @param {Object} anchorRect Anchor Rect. + * @param {Object} contentSize Content Size. + * @param {string} xAxis Desired xAxis. + * @param {string} corner Desired corner. + * @param {boolean} sticky Whether or not to stick the popover to the + * scroll container edge when part of the anchor + * leaves view. + * @param {string} chosenYAxis yAxis to be used. * * @return {Object} Popover xAxis position and constraints. */ +function computePopoverXAxisPosition(anchorRect, contentSize, xAxis, corner, sticky, chosenYAxis) { + var width = contentSize.width; + var isRTL = document.documentElement.dir === 'rtl'; // Correct xAxis for RTL support -function computePopoverXAxisPosition(anchorRect, contentSize, xAxis, chosenYAxis) { - var width = contentSize.width; // Correct xAxis for RTL support - - if (xAxis === 'left' && isRTL()) { + if (xAxis === 'left' && isRTL) { xAxis = 'right'; - } else if (xAxis === 'right' && isRTL()) { + } else if (xAxis === 'right' && isRTL) { xAxis = 'left'; + } + + if (corner === 'left' && isRTL) { + corner = 'right'; + } else if (corner === 'right' && isRTL) { + corner = 'left'; } // x axis alignment choices @@ -28927,30 +27786,46 @@ function computePopoverXAxisPosition(anchorRect, contentSize, xAxis, chosenYAxis popoverLeft: anchorMidPoint, contentWidth: (anchorMidPoint - width / 2 > 0 ? width / 2 : anchorMidPoint) + (anchorMidPoint + width / 2 > window.innerWidth ? window.innerWidth - anchorMidPoint : width / 2) }; - var leftAlignmentX = chosenYAxis === 'middle' ? anchorRect.left : anchorMidPoint; + var leftAlignmentX = anchorRect.left; + + if (corner === 'right') { + leftAlignmentX = anchorRect.right; + } else if (chosenYAxis !== 'middle') { + leftAlignmentX = anchorMidPoint; + } + + var rightAlignmentX = anchorRect.right; + + if (corner === 'left') { + rightAlignmentX = anchorRect.left; + } else if (chosenYAxis !== 'middle') { + rightAlignmentX = anchorMidPoint; + } + var leftAlignment = { popoverLeft: leftAlignmentX, contentWidth: leftAlignmentX - width > 0 ? width : leftAlignmentX }; - var rightAlignmentX = chosenYAxis === 'middle' ? anchorRect.right : anchorMidPoint; var rightAlignment = { popoverLeft: rightAlignmentX, contentWidth: rightAlignmentX + width > window.innerWidth ? window.innerWidth - rightAlignmentX : width }; // Choosing the x axis - var chosenXAxis; + var chosenXAxis = xAxis; var contentWidth = null; - if (xAxis === 'center' && centerAlignment.contentWidth === width) { - chosenXAxis = 'center'; - } else if (xAxis === 'left' && leftAlignment.contentWidth === width) { - chosenXAxis = 'left'; - } else if (xAxis === 'right' && rightAlignment.contentWidth === width) { - chosenXAxis = 'right'; - } else { - chosenXAxis = leftAlignment.contentWidth > rightAlignment.contentWidth ? 'left' : 'right'; - var chosenWidth = chosenXAxis === 'left' ? leftAlignment.contentWidth : rightAlignment.contentWidth; - contentWidth = chosenWidth !== width ? chosenWidth : null; + if (!sticky) { + if (xAxis === 'center' && centerAlignment.contentWidth === width) { + chosenXAxis = 'center'; + } else if (xAxis === 'left' && leftAlignment.contentWidth === width) { + chosenXAxis = 'left'; + } else if (xAxis === 'right' && rightAlignment.contentWidth === width) { + chosenXAxis = 'right'; + } else { + chosenXAxis = leftAlignment.contentWidth > rightAlignment.contentWidth ? 'left' : 'right'; + var chosenWidth = chosenXAxis === 'left' ? leftAlignment.contentWidth : rightAlignment.contentWidth; + contentWidth = chosenWidth !== width ? chosenWidth : null; + } } var popoverLeft; @@ -28972,17 +27847,56 @@ function computePopoverXAxisPosition(anchorRect, contentSize, xAxis, chosenYAxis /** * Utility used to compute the popover position over the yAxis * - * @param {Object} anchorRect Anchor Rect. - * @param {Object} contentSize Content Size. - * @param {string} yAxis Desired yAxis. + * @param {Object} anchorRect Anchor Rect. + * @param {Object} contentSize Content Size. + * @param {string} yAxis Desired yAxis. + * @param {string} corner Desired corner. + * @param {boolean} sticky Whether or not to stick the popover to the + * scroll container edge when part of the anchor + * leaves view. + * @param {Element} anchorRef The anchor element. * * @return {Object} Popover xAxis position and constraints. */ -function computePopoverYAxisPosition(anchorRect, contentSize, yAxis) { - var height = contentSize.height; // y axis alignment choices +function computePopoverYAxisPosition(anchorRect, contentSize, yAxis, corner, sticky, anchorRef) { + var height = contentSize.height; + + if (sticky) { + var topEl = anchorRef; + var bottomEl = anchorRef; + + if (typeof sticky === 'string') { + var elements = document.querySelectorAll(sticky); + + if (elements.length) { + topEl = elements[0]; + bottomEl = elements[elements.length - 1]; + } + } + + var scrollContainerEl = Object(external_this_wp_dom_["getScrollContainer"])(topEl) || document.body; + var scrollRect = scrollContainerEl.getBoundingClientRect(); + var topRect = topEl.getBoundingClientRect(); + var bottomRect = bottomEl.getBoundingClientRect(); + + if (topRect.top - height <= scrollRect.top) { + return { + yAxis: yAxis, + popoverTop: Math.min(bottomRect.bottom, scrollRect.top + height) + }; + } + } // y axis alignment choices + var anchorMidPoint = anchorRect.top + anchorRect.height / 2; + + if (corner === 'bottom') { + anchorMidPoint = anchorRect.bottom; + } else if (corner === 'top') { + anchorMidPoint = anchorRect.top; + } + var middleAlignment = { popoverTop: anchorMidPoint, contentHeight: (anchorMidPoint - height / 2 > 0 ? height / 2 : anchorMidPoint) + (anchorMidPoint + height / 2 > window.innerHeight ? window.innerHeight - anchorMidPoint : height / 2) @@ -28996,19 +27910,21 @@ function computePopoverYAxisPosition(anchorRect, contentSize, yAxis) { contentHeight: anchorRect.bottom + HEIGHT_OFFSET + height > window.innerHeight ? window.innerHeight - HEIGHT_OFFSET - anchorRect.bottom : height }; // Choosing the y axis - var chosenYAxis; + var chosenYAxis = yAxis; var contentHeight = null; - if (yAxis === 'middle' && middleAlignment.contentHeight === height) { - chosenYAxis = 'middle'; - } else if (yAxis === 'top' && topAlignment.contentHeight === height) { - chosenYAxis = 'top'; - } else if (yAxis === 'bottom' && bottomAlignment.contentHeight === height) { - chosenYAxis = 'bottom'; - } else { - chosenYAxis = topAlignment.contentHeight > bottomAlignment.contentHeight ? 'top' : 'bottom'; - var chosenHeight = chosenYAxis === 'top' ? topAlignment.contentHeight : bottomAlignment.contentHeight; - contentHeight = chosenHeight !== height ? chosenHeight : null; + if (!sticky) { + if (yAxis === 'middle' && middleAlignment.contentHeight === height) { + chosenYAxis = 'middle'; + } else if (yAxis === 'top' && topAlignment.contentHeight === height) { + chosenYAxis = 'top'; + } else if (yAxis === 'bottom' && bottomAlignment.contentHeight === height) { + chosenYAxis = 'bottom'; + } else { + chosenYAxis = topAlignment.contentHeight > bottomAlignment.contentHeight ? 'top' : 'bottom'; + var chosenHeight = chosenYAxis === 'top' ? topAlignment.contentHeight : bottomAlignment.contentHeight; + contentHeight = chosenHeight !== height ? chosenHeight : null; + } } var popoverTop; @@ -29031,24 +27947,31 @@ function computePopoverYAxisPosition(anchorRect, contentSize, yAxis) { * Utility used to compute the popover position and the content max width/height for a popover * given its anchor rect and its content size. * - * @param {Object} anchorRect Anchor Rect. - * @param {Object} contentSize Content Size. - * @param {string} position Position. + * @param {Object} anchorRect Anchor Rect. + * @param {Object} contentSize Content Size. + * @param {string} position Position. + * @param {boolean} sticky Whether or not to stick the popover to the + * scroll container edge when part of the anchor + * leaves view. + * @param {Element} anchorRef The anchor element. * * @return {Object} Popover position and constraints. */ function computePopoverPosition(anchorRect, contentSize) { var position = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'top'; + var sticky = arguments.length > 3 ? arguments[3] : undefined; + var anchorRef = arguments.length > 4 ? arguments[4] : undefined; var _position$split = position.split(' '), - _position$split2 = Object(slicedToArray["a" /* default */])(_position$split, 2), + _position$split2 = Object(slicedToArray["a" /* default */])(_position$split, 3), yAxis = _position$split2[0], _position$split2$ = _position$split2[1], - xAxis = _position$split2$ === void 0 ? 'center' : _position$split2$; + xAxis = _position$split2$ === void 0 ? 'center' : _position$split2$, + corner = _position$split2[2]; - var yAxisPosition = computePopoverYAxisPosition(anchorRect, contentSize, yAxis); - var xAxisPosition = computePopoverXAxisPosition(anchorRect, contentSize, xAxis, yAxisPosition.yAxis); + var yAxisPosition = computePopoverYAxisPosition(anchorRect, contentSize, yAxis, corner, sticky, anchorRef); + var xAxisPosition = computePopoverXAxisPosition(anchorRect, contentSize, xAxis, corner, sticky, yAxisPosition.yAxis); return Object(objectSpread["a" /* default */])({}, xAxisPosition, yAxisPosition); } @@ -29592,6 +28515,1106 @@ function (_Component) { /* harmony default export */ var detect_outside = (with_focus_outside(detect_outside_PopoverDetectOutside)); +// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/scroll-lock/index.js + + + + + + +/** + * WordPress dependencies + */ + +/** + * Creates a ScrollLock component bound to the specified document. + * + * This function creates a ScrollLock component for the specified document + * and is exposed so we can create an isolated component for unit testing. + * + * @param {Object} args Keyword args. + * @param {HTMLDocument} args.htmlDocument The document to lock the scroll for. + * @param {string} args.className The name of the class used to lock scrolling. + * @return {WPComponent} The bound ScrollLock component. + */ + +function createScrollLockComponent() { + var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, + _ref$htmlDocument = _ref.htmlDocument, + htmlDocument = _ref$htmlDocument === void 0 ? document : _ref$htmlDocument, + _ref$className = _ref.className, + className = _ref$className === void 0 ? 'lockscroll' : _ref$className; + + var lockCounter = 0; + /* + * Setting `overflow: hidden` on html and body elements resets body scroll in iOS. + * Save scroll top so we can restore it after locking scroll. + * + * NOTE: It would be cleaner and possibly safer to find a localized solution such + * as preventing default on certain touchmove events. + */ + + var previousScrollTop = 0; + /** + * Locks and unlocks scroll depending on the boolean argument. + * + * @param {boolean} locked Whether or not scroll should be locked. + */ + + function setLocked(locked) { + var scrollingElement = htmlDocument.scrollingElement || htmlDocument.body; + + if (locked) { + previousScrollTop = scrollingElement.scrollTop; + } + + var methodName = locked ? 'add' : 'remove'; + scrollingElement.classList[methodName](className); // Adding the class to the document element seems to be necessary in iOS. + + htmlDocument.documentElement.classList[methodName](className); + + if (!locked) { + scrollingElement.scrollTop = previousScrollTop; + } + } + /** + * Requests scroll lock. + * + * This function tracks requests for scroll lock. It locks scroll on the first + * request and counts each request so `releaseLock` can unlock scroll when + * all requests have been released. + */ + + + function requestLock() { + if (lockCounter === 0) { + setLocked(true); + } + + ++lockCounter; + } + /** + * Releases a request for scroll lock. + * + * This function tracks released requests for scroll lock. When all requests + * have been released, it unlocks scroll. + */ + + + function releaseLock() { + if (lockCounter === 1) { + setLocked(false); + } + + --lockCounter; + } + + return ( + /*#__PURE__*/ + function (_Component) { + Object(inherits["a" /* default */])(ScrollLock, _Component); + + function ScrollLock() { + Object(classCallCheck["a" /* default */])(this, ScrollLock); + + return Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(ScrollLock).apply(this, arguments)); + } + + Object(createClass["a" /* default */])(ScrollLock, [{ + key: "componentDidMount", + + /** + * Requests scroll lock on mount. + */ + value: function componentDidMount() { + requestLock(); + } + /** + * Releases scroll lock before unmount. + */ + + }, { + key: "componentWillUnmount", + value: function componentWillUnmount() { + releaseLock(); + } + /** + * Render nothing as this component is merely a way to declare scroll lock. + * + * @return {null} Render nothing by returning `null`. + */ + + }, { + key: "render", + value: function render() { + return null; + } + }]); + + return ScrollLock; + }(external_this_wp_element_["Component"]) + ); +} +/* harmony default export */ var scroll_lock = (createScrollLockComponent()); + +// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/isolated-event-container/index.js + + + + +/** + * WordPress dependencies + */ + + +function stopPropagation(event) { + event.stopPropagation(); +} + +/* harmony default export */ var isolated_event_container = (Object(external_this_wp_element_["forwardRef"])(function (_ref, ref) { + var children = _ref.children, + props = Object(objectWithoutProperties["a" /* default */])(_ref, ["children"]); + + // Disable reason: this stops certain events from propagating outside of the component. + // - onMouseDown is disabled as this can cause interactions with other DOM elements + + /* eslint-disable jsx-a11y/no-static-element-interactions */ + return Object(external_this_wp_element_["createElement"])("div", Object(esm_extends["a" /* default */])({}, props, { + ref: ref, + onMouseDown: stopPropagation + }), children); + /* eslint-enable jsx-a11y/no-static-element-interactions */ +})); + +// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/slot-fill/context.js + + + + + + + + + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + +var SlotFillContext = Object(external_this_wp_element_["createContext"])({ + registerSlot: function registerSlot() {}, + unregisterSlot: function unregisterSlot() {}, + registerFill: function registerFill() {}, + unregisterFill: function unregisterFill() {}, + getSlot: function getSlot() {}, + getFills: function getFills() {}, + subscribe: function subscribe() {} +}); +var slot_fill_context_Provider = SlotFillContext.Provider, + context_Consumer = SlotFillContext.Consumer; + +var context_SlotFillProvider = +/*#__PURE__*/ +function (_Component) { + Object(inherits["a" /* default */])(SlotFillProvider, _Component); + + function SlotFillProvider() { + var _this; + + Object(classCallCheck["a" /* default */])(this, SlotFillProvider); + + _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(SlotFillProvider).apply(this, arguments)); + _this.registerSlot = _this.registerSlot.bind(Object(assertThisInitialized["a" /* default */])(_this)); + _this.registerFill = _this.registerFill.bind(Object(assertThisInitialized["a" /* default */])(_this)); + _this.unregisterSlot = _this.unregisterSlot.bind(Object(assertThisInitialized["a" /* default */])(_this)); + _this.unregisterFill = _this.unregisterFill.bind(Object(assertThisInitialized["a" /* default */])(_this)); + _this.getSlot = _this.getSlot.bind(Object(assertThisInitialized["a" /* default */])(_this)); + _this.getFills = _this.getFills.bind(Object(assertThisInitialized["a" /* default */])(_this)); + _this.hasFills = _this.hasFills.bind(Object(assertThisInitialized["a" /* default */])(_this)); + _this.subscribe = _this.subscribe.bind(Object(assertThisInitialized["a" /* default */])(_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 + }; + return _this; + } + + Object(createClass["a" /* default */])(SlotFillProvider, [{ + key: "registerSlot", + value: function registerSlot(name, slot) { + var previousSlot = this.slots[name]; + this.slots[name] = slot; + this.triggerListeners(); // Sometimes the fills are registered after the initial render of slot + // But before the registerSlot call, we need to rerender the slot + + this.forceUpdateSlot(name); // If a new instance of a slot is being mounted while another with the + // same name exists, force its update _after_ the new slot has been + // assigned into the instance, such that its own rendering of children + // will be empty (the new Slot will subsume all fills for this name). + + if (previousSlot) { + previousSlot.forceUpdate(); + } + } + }, { + key: "registerFill", + value: function registerFill(name, instance) { + this.fills[name] = [].concat(Object(toConsumableArray["a" /* default */])(this.fills[name] || []), [instance]); + this.forceUpdateSlot(name); + } + }, { + key: "unregisterSlot", + value: function unregisterSlot(name, instance) { + // If a previous instance of a Slot by this name unmounts, do nothing, + // as the slot and its fills should only be removed for the current + // known instance. + if (this.slots[name] !== instance) { + return; + } + + delete this.slots[name]; + this.triggerListeners(); + } + }, { + key: "unregisterFill", + value: function unregisterFill(name, instance) { + this.fills[name] = Object(external_this_lodash_["without"])(this.fills[name], instance); + this.resetFillOccurrence(name); + this.forceUpdateSlot(name); + } + }, { + key: "getSlot", + value: function getSlot(name) { + return this.slots[name]; + } + }, { + key: "getFills", + value: function getFills(name, slotInstance) { + // Fills should only be returned for the current instance of the slot + // in which they occupy. + if (this.slots[name] !== slotInstance) { + return []; + } + + return Object(external_this_lodash_["sortBy"])(this.fills[name], 'occurrence'); + } + }, { + key: "hasFills", + value: function hasFills(name) { + return this.fills[name] && !!this.fills[name].length; + } + }, { + key: "resetFillOccurrence", + value: function resetFillOccurrence(name) { + Object(external_this_lodash_["forEach"])(this.fills[name], function (instance) { + instance.occurrence = undefined; + }); + } + }, { + key: "forceUpdateSlot", + value: function forceUpdateSlot(name) { + var slot = this.getSlot(name); + + if (slot) { + slot.forceUpdate(); + } + } + }, { + key: "triggerListeners", + value: function triggerListeners() { + this.listeners.forEach(function (listener) { + return listener(); + }); + } + }, { + key: "subscribe", + value: function subscribe(listener) { + var _this2 = this; + + this.listeners.push(listener); + return function () { + _this2.listeners = Object(external_this_lodash_["without"])(_this2.listeners, listener); + }; + } + }, { + key: "render", + value: function render() { + return Object(external_this_wp_element_["createElement"])(slot_fill_context_Provider, { + value: this.contextValue + }, this.props.children); + } + }]); + + return SlotFillProvider; +}(external_this_wp_element_["Component"]); +/** + * React hook returning the active slot given a name. + * + * @param {string} name Slot name. + * @return {Object} Slot object. + */ + + +var context_useSlot = function useSlot(name) { + var _useContext = Object(external_this_wp_element_["useContext"])(SlotFillContext), + getSlot = _useContext.getSlot, + subscribe = _useContext.subscribe; + + var _useState = Object(external_this_wp_element_["useState"])(getSlot(name)), + _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2), + slot = _useState2[0], + setSlot = _useState2[1]; + + Object(external_this_wp_element_["useEffect"])(function () { + setSlot(getSlot(name)); + var unsubscribe = subscribe(function () { + setSlot(getSlot(name)); + }); + return unsubscribe; + }, [name]); + return slot; +}; +/* harmony default export */ var slot_fill_context = (context_SlotFillProvider); + + +// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/slot-fill/fill.js + + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + +/** + * Internal dependencies + */ + + +var occurrences = 0; + +function fill_FillComponent(_ref) { + var name = _ref.name, + children = _ref.children, + registerFill = _ref.registerFill, + unregisterFill = _ref.unregisterFill; + var slot = context_useSlot(name); + var ref = Object(external_this_wp_element_["useRef"])({ + name: name, + children: children + }); + + if (!ref.current.occurrence) { + ref.current.occurrence = ++occurrences; + } + + Object(external_this_wp_element_["useLayoutEffect"])(function () { + registerFill(name, ref.current); + return function () { + return unregisterFill(name, ref.current); + }; + }, []); + Object(external_this_wp_element_["useLayoutEffect"])(function () { + ref.current.children = children; + + if (slot && !slot.props.bubblesVirtually) { + slot.forceUpdate(); + } + }, [children]); + Object(external_this_wp_element_["useLayoutEffect"])(function () { + if (name === ref.current.name) { + // ignore initial effect + return; + } + + unregisterFill(ref.current.name, ref.current); + ref.current.name = name; + registerFill(name, ref.current); + }, [name]); + + if (!slot || !slot.node || !slot.props.bubblesVirtually) { + return null; + } // If a function is passed as a child, provide it with the fillProps. + + + if (Object(external_this_lodash_["isFunction"])(children)) { + children = children(slot.props.fillProps); + } + + return Object(external_this_wp_element_["createPortal"])(children, slot.node); +} + +var fill_Fill = function Fill(props) { + return Object(external_this_wp_element_["createElement"])(context_Consumer, null, function (_ref2) { + var registerFill = _ref2.registerFill, + unregisterFill = _ref2.unregisterFill; + return Object(external_this_wp_element_["createElement"])(fill_FillComponent, Object(esm_extends["a" /* default */])({}, props, { + registerFill: registerFill, + unregisterFill: unregisterFill + })); + }); +}; + +/* harmony default export */ var slot_fill_fill = (fill_Fill); + +// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/slot-fill/slot.js + + + + + + + + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + +/** + * Internal dependencies + */ + + + +var slot_SlotComponent = +/*#__PURE__*/ +function (_Component) { + Object(inherits["a" /* default */])(SlotComponent, _Component); + + function SlotComponent() { + var _this; + + Object(classCallCheck["a" /* default */])(this, SlotComponent); + + _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(SlotComponent).apply(this, arguments)); + _this.bindNode = _this.bindNode.bind(Object(assertThisInitialized["a" /* default */])(_this)); + return _this; + } + + Object(createClass["a" /* default */])(SlotComponent, [{ + key: "componentDidMount", + value: function componentDidMount() { + var registerSlot = this.props.registerSlot; + registerSlot(this.props.name, this); + } + }, { + key: "componentWillUnmount", + value: function componentWillUnmount() { + var unregisterSlot = this.props.unregisterSlot; + unregisterSlot(this.props.name, this); + } + }, { + key: "componentDidUpdate", + value: function componentDidUpdate(prevProps) { + var _this$props = this.props, + name = _this$props.name, + unregisterSlot = _this$props.unregisterSlot, + registerSlot = _this$props.registerSlot; + + if (prevProps.name !== name) { + unregisterSlot(prevProps.name); + registerSlot(name, this); + } + } + }, { + key: "bindNode", + value: function bindNode(node) { + this.node = node; + } + }, { + key: "render", + value: function render() { + var _this$props2 = this.props, + children = _this$props2.children, + name = _this$props2.name, + _this$props2$bubblesV = _this$props2.bubblesVirtually, + bubblesVirtually = _this$props2$bubblesV === void 0 ? false : _this$props2$bubblesV, + _this$props2$fillProp = _this$props2.fillProps, + fillProps = _this$props2$fillProp === void 0 ? {} : _this$props2$fillProp, + getFills = _this$props2.getFills, + className = _this$props2.className; + + if (bubblesVirtually) { + return Object(external_this_wp_element_["createElement"])("div", { + ref: this.bindNode, + className: className + }); + } + + var fills = Object(external_this_lodash_["map"])(getFills(name, this), function (fill) { + var fillKey = fill.occurrence; + var fillChildren = Object(external_this_lodash_["isFunction"])(fill.children) ? fill.children(fillProps) : fill.children; + return external_this_wp_element_["Children"].map(fillChildren, function (child, childIndex) { + if (!child || Object(external_this_lodash_["isString"])(child)) { + return child; + } + + var childKey = "".concat(fillKey, "---").concat(child.key || childIndex); + return Object(external_this_wp_element_["cloneElement"])(child, { + key: childKey + }); + }); + }).filter( // In some cases fills are rendered only when some conditions apply. + // This ensures that we only use non-empty fills when rendering, i.e., + // it allows us to render wrappers only when the fills are actually present. + Object(external_this_lodash_["negate"])(external_this_wp_element_["isEmptyElement"])); + return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_lodash_["isFunction"])(children) ? children(fills) : fills); + } + }]); + + return SlotComponent; +}(external_this_wp_element_["Component"]); + +var slot_Slot = function Slot(props) { + return Object(external_this_wp_element_["createElement"])(context_Consumer, null, function (_ref) { + var registerSlot = _ref.registerSlot, + unregisterSlot = _ref.unregisterSlot, + getFills = _ref.getFills; + return Object(external_this_wp_element_["createElement"])(slot_SlotComponent, Object(esm_extends["a" /* default */])({}, props, { + registerSlot: registerSlot, + unregisterSlot: unregisterSlot, + getFills: getFills + })); + }); +}; + +/* harmony default export */ var slot_fill_slot = (slot_Slot); + +// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/popover/index.js + + + + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + + + + + +/** + * Internal dependencies + */ + + + + + + + + + + +var FocusManaged = with_constrained_tabbing(with_focus_return(function (_ref) { + var children = _ref.children; + return children; +})); +/** + * Name of slot in which popover should fill. + * + * @type {string} + */ + +var SLOT_NAME = 'Popover'; + +function computeAnchorRect(anchorRefFallback, anchorRect, getAnchorRect) { + var anchorRef = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false; + var shouldAnchorIncludePadding = arguments.length > 4 ? arguments[4] : undefined; + + if (anchorRect) { + return anchorRect; + } + + if (getAnchorRect) { + if (!anchorRefFallback.current) { + return; + } + + return getAnchorRect(anchorRefFallback.current); + } + + if (anchorRef !== false) { + if (!anchorRef) { + return; + } + + if (anchorRef instanceof window.Range) { + return Object(external_this_wp_dom_["getRectangleFromRange"])(anchorRef); + } + + var _rect = anchorRef.getBoundingClientRect(); + + if (shouldAnchorIncludePadding) { + return _rect; + } + + return withoutPadding(_rect, anchorRef); + } + + if (!anchorRefFallback.current) { + return; + } + + var parentNode = anchorRefFallback.current.parentNode; + var rect = parentNode.getBoundingClientRect(); + + if (shouldAnchorIncludePadding) { + return rect; + } + + return withoutPadding(rect, parentNode); +} + +function withoutPadding(rect, element) { + var _window$getComputedSt = window.getComputedStyle(element), + paddingTop = _window$getComputedSt.paddingTop, + paddingBottom = _window$getComputedSt.paddingBottom, + paddingLeft = _window$getComputedSt.paddingLeft, + paddingRight = _window$getComputedSt.paddingRight; + + var top = paddingTop ? parseInt(paddingTop, 10) : 0; + var bottom = paddingBottom ? parseInt(paddingBottom, 10) : 0; + var left = paddingLeft ? parseInt(paddingLeft, 10) : 0; + var right = paddingRight ? parseInt(paddingRight, 10) : 0; + return { + x: rect.left + left, + y: rect.top + top, + width: rect.width - left - right, + height: rect.height - top - bottom, + left: rect.left + left, + right: rect.right - right, + top: rect.top + top, + bottom: rect.bottom - bottom + }; +} +/** + * Hook used to focus the first tabbable element on mount. + * + * @param {boolean|string} focusOnMount Focus on mount mode. + * @param {Object} contentRef Reference to the popover content element. + */ + + +function useFocusContentOnMount(focusOnMount, contentRef) { + // Focus handling + Object(external_this_wp_element_["useEffect"])(function () { + /* + * Without the setTimeout, the dom node is not being focused. Related: + * https://stackoverflow.com/questions/35522220/react-ref-with-focus-doesnt-work-without-settimeout-my-example + * + * TODO: Treat the cause, not the symptom. + */ + var focusTimeout = setTimeout(function () { + if (!focusOnMount || !contentRef.current) { + return; + } + + if (focusOnMount === 'firstElement') { + // Find first tabbable node within content and shift focus, falling + // back to the popover panel itself. + var firstTabbable = external_this_wp_dom_["focus"].tabbable.find(contentRef.current)[0]; + + if (firstTabbable) { + firstTabbable.focus(); + } else { + contentRef.current.focus(); + } + + return; + } + + if (focusOnMount === 'container') { + // Focus the popover panel itself so items in the popover are easily + // accessed via keyboard navigation. + contentRef.current.focus(); + } + }, 0); + return function () { + return clearTimeout(focusTimeout); + }; + }, []); +} +/** + * Sets or removes an element attribute. + * + * @param {Element} element The element to modify. + * @param {string} name The attribute name to set or remove. + * @param {?string} value The value to set. A falsy value will remove the + * attribute. + */ + + +function setAttribute(element, name, value) { + if (!value) { + if (element.hasAttribute(name)) { + element.removeAttribute(name); + } + } else if (element.getAttribute(name) !== value) { + element.setAttribute(name, value); + } +} +/** + * Sets or removes an element style property. + * + * @param {Element} element The element to modify. + * @param {string} property The property to set or remove. + * @param {?string} value The value to set. A falsy value will remove the + * property. + */ + + +function setStyle(element, property) { + var value = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : ''; + + if (element.style[property] !== value) { + element.style[property] = value; + } +} +/** + * Sets or removes an element class. + * + * @param {Element} element The element to modify. + * @param {string} name The class to set or remove. + * @param {boolean} toggle True to set the class, false to remove. + */ + + +function setClass(element, name, toggle) { + if (toggle) { + if (!element.classList.contains(name)) { + element.classList.add(name); + } + } else if (element.classList.contains(name)) { + element.classList.remove(name); + } +} + +var popover_Popover = function Popover(_ref2) { + var headerTitle = _ref2.headerTitle, + onClose = _ref2.onClose, + onKeyDown = _ref2.onKeyDown, + children = _ref2.children, + className = _ref2.className, + _ref2$noArrow = _ref2.noArrow, + noArrow = _ref2$noArrow === void 0 ? false : _ref2$noArrow, + _ref2$position = _ref2.position, + position = _ref2$position === void 0 ? 'top' : _ref2$position, + range = _ref2.range, + _ref2$focusOnMount = _ref2.focusOnMount, + focusOnMount = _ref2$focusOnMount === void 0 ? 'firstElement' : _ref2$focusOnMount, + anchorRef = _ref2.anchorRef, + shouldAnchorIncludePadding = _ref2.shouldAnchorIncludePadding, + anchorRect = _ref2.anchorRect, + getAnchorRect = _ref2.getAnchorRect, + expandOnMobile = _ref2.expandOnMobile, + _ref2$animate = _ref2.animate, + animate = _ref2$animate === void 0 ? true : _ref2$animate, + onClickOutside = _ref2.onClickOutside, + onFocusOutside = _ref2.onFocusOutside, + __unstableSticky = _ref2.__unstableSticky, + _ref2$__unstableSlotN = _ref2.__unstableSlotName, + __unstableSlotName = _ref2$__unstableSlotN === void 0 ? SLOT_NAME : _ref2$__unstableSlotN, + __unstableAllowVerticalSubpixelPosition = _ref2.__unstableAllowVerticalSubpixelPosition, + __unstableAllowHorizontalSubpixelPosition = _ref2.__unstableAllowHorizontalSubpixelPosition, + contentProps = Object(objectWithoutProperties["a" /* default */])(_ref2, ["headerTitle", "onClose", "onKeyDown", "children", "className", "noArrow", "position", "range", "focusOnMount", "anchorRef", "shouldAnchorIncludePadding", "anchorRect", "getAnchorRect", "expandOnMobile", "animate", "onClickOutside", "onFocusOutside", "__unstableSticky", "__unstableSlotName", "__unstableAllowVerticalSubpixelPosition", "__unstableAllowHorizontalSubpixelPosition"]); + + var anchorRefFallback = Object(external_this_wp_element_["useRef"])(null); + var contentRef = Object(external_this_wp_element_["useRef"])(null); + var containerRef = Object(external_this_wp_element_["useRef"])(); + var contentRect = Object(external_this_wp_element_["useRef"])(); + var isMobileViewport = Object(external_this_wp_compose_["useViewportMatch"])('medium', '<'); + + var _useState = Object(external_this_wp_element_["useState"])(), + _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2), + animateOrigin = _useState2[0], + setAnimateOrigin = _useState2[1]; + + var isExpanded = expandOnMobile && isMobileViewport; + noArrow = isExpanded || noArrow; + Object(external_this_wp_element_["useEffect"])(function () { + if (isExpanded) { + setClass(containerRef.current, 'is-without-arrow', noArrow); + setAttribute(containerRef.current, 'data-x-axis'); + setAttribute(containerRef.current, 'data-y-axis'); + setStyle(containerRef.current, 'top'); + setStyle(containerRef.current, 'left'); + setStyle(contentRef.current, 'maxHeight'); + setStyle(contentRef.current, 'maxWidth'); + return; + } + + var refresh = function refresh() { + var _ref3 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, + subpixels = _ref3.subpixels; + + if (!containerRef.current || !contentRef.current) { + return; + } + + var anchor = computeAnchorRect(anchorRefFallback, anchorRect, getAnchorRect, anchorRef, shouldAnchorIncludePadding); + + if (!anchor) { + return; + } + + if (!contentRect.current) { + contentRect.current = contentRef.current.getBoundingClientRect(); + } + + var _computePopoverPositi = computePopoverPosition(anchor, contentRect.current, position, __unstableSticky, anchorRef), + popoverTop = _computePopoverPositi.popoverTop, + popoverLeft = _computePopoverPositi.popoverLeft, + xAxis = _computePopoverPositi.xAxis, + yAxis = _computePopoverPositi.yAxis, + contentHeight = _computePopoverPositi.contentHeight, + contentWidth = _computePopoverPositi.contentWidth; + + if (typeof popoverTop === 'number' && typeof popoverLeft === 'number') { + if (subpixels && __unstableAllowVerticalSubpixelPosition) { + setStyle(containerRef.current, 'left', popoverLeft + 'px'); + setStyle(containerRef.current, 'top'); + setStyle(containerRef.current, 'transform', "translateY(".concat(popoverTop, "px)")); + } else if (subpixels && __unstableAllowHorizontalSubpixelPosition) { + setStyle(containerRef.current, 'top', popoverTop + 'px'); + setStyle(containerRef.current, 'left'); + setStyle(containerRef.current, 'transform', "translate(".concat(popoverLeft, "px)")); + } else { + setStyle(containerRef.current, 'top', popoverTop + 'px'); + setStyle(containerRef.current, 'left', popoverLeft + 'px'); + setStyle(containerRef.current, 'transform'); + } + } + + setClass(containerRef.current, 'is-without-arrow', noArrow || xAxis === 'center' && yAxis === 'middle'); + setAttribute(containerRef.current, 'data-x-axis', xAxis); + setAttribute(containerRef.current, 'data-y-axis', yAxis); + setStyle(contentRef.current, 'maxHeight', typeof contentHeight === 'number' ? contentHeight + 'px' : ''); + setStyle(contentRef.current, 'maxWidth', typeof contentWidth === 'number' ? contentWidth + 'px' : ''); // Compute the animation position + + var yAxisMapping = { + top: 'bottom', + bottom: 'top' + }; + var xAxisMapping = { + left: 'right', + right: 'left' + }; + var animateYAxis = yAxisMapping[yAxis] || 'middle'; + var animateXAxis = xAxisMapping[xAxis] || 'center'; + setAnimateOrigin(animateXAxis + ' ' + animateYAxis); + }; // Height may still adjust between now and the next tick. + + + var timeoutId = window.setTimeout(refresh); + + var refreshOnAnimationFrame = function refreshOnAnimationFrame() { + window.requestAnimationFrame(refresh); + }; + /* + * There are sometimes we need to reposition or resize the popover that + * are not handled by the resize/scroll window events (i.e. CSS changes + * in the layout that changes the position of the anchor). + * + * For these situations, we refresh the popover every 0.5s + */ + + + var intervalHandle = window.setInterval(refresh, 500); // Sometimes a click trigger a layout change that affects the popover + // position. This is an opportunity to immediately refresh rather than + // at the interval. + + window.addEventListener('click', refreshOnAnimationFrame); + window.addEventListener('resize', refresh); + window.addEventListener('scroll', refresh, true); + var observer; + var observeElement = __unstableAllowVerticalSubpixelPosition || __unstableAllowHorizontalSubpixelPosition; + + if (observeElement) { + observer = new window.MutationObserver(function () { + return refresh({ + subpixels: true + }); + }); + observer.observe(observeElement, { + attributes: true + }); + } + + return function () { + window.clearTimeout(timeoutId); + window.clearInterval(intervalHandle); + window.removeEventListener('resize', refresh); + window.removeEventListener('scroll', refresh, true); + window.addEventListener('click', refreshOnAnimationFrame); + + if (observer) { + observer.disconnect(); + } + }; + }, [isExpanded, anchorRect, getAnchorRect, anchorRef, shouldAnchorIncludePadding, position, __unstableSticky, __unstableAllowVerticalSubpixelPosition, __unstableAllowHorizontalSubpixelPosition]); + useFocusContentOnMount(focusOnMount, contentRef); // Event handlers + + var maybeClose = function maybeClose(event) { + // Close on escape + if (event.keyCode === external_this_wp_keycodes_["ESCAPE"] && onClose) { + event.stopPropagation(); + onClose(); + } // Preserve original content prop behavior + + + if (onKeyDown) { + onKeyDown(event); + } + }; + /** + * Shims an onFocusOutside callback to be compatible with a deprecated + * onClickOutside prop function, if provided. + * + * @param {FocusEvent} event Focus event from onFocusOutside. + */ + + + function handleOnFocusOutside(event) { + // Defer to given `onFocusOutside` if specified. Call `onClose` only if + // both `onFocusOutside` and `onClickOutside` are unspecified. Doing so + // assures backwards-compatibility for prior `onClickOutside` default. + if (onFocusOutside) { + onFocusOutside(event); + return; + } else if (!onClickOutside) { + if (onClose) { + onClose(); + } + + return; + } // Simulate MouseEvent using FocusEvent#relatedTarget as emulated click + // target. MouseEvent constructor is unsupported in Internet Explorer. + + + var clickEvent; + + try { + clickEvent = new window.MouseEvent('click'); + } catch (error) { + clickEvent = document.createEvent('MouseEvent'); + clickEvent.initMouseEvent('click', true, true, window, 0, 0, 0, 0, 0, false, false, false, false, 0, null); + } + + Object.defineProperty(clickEvent, 'target', { + get: function get() { + return event.relatedTarget; + } + }); + external_this_wp_deprecated_default()('Popover onClickOutside prop', { + alternative: 'onFocusOutside' + }); + onClickOutside(clickEvent); + } // Disable reason: We care to capture the _bubbled_ events from inputs + // within popover as inferring close intent. + + + var content = Object(external_this_wp_element_["createElement"])(detect_outside, { + onFocusOutside: handleOnFocusOutside + }, Object(external_this_wp_element_["createElement"])(build_module_animate, { + type: animate && animateOrigin ? 'appear' : null, + options: { + origin: animateOrigin + } + }, function (_ref4) { + var animateClassName = _ref4.className; + return Object(external_this_wp_element_["createElement"])(isolated_event_container, Object(esm_extends["a" /* default */])({ + className: classnames_default()('components-popover', className, animateClassName, { + 'is-expanded': isExpanded, + 'is-without-arrow': noArrow + }) + }, contentProps, { + onKeyDown: maybeClose, + ref: containerRef + }), isExpanded && Object(external_this_wp_element_["createElement"])(scroll_lock, null), isExpanded && Object(external_this_wp_element_["createElement"])("div", { + className: "components-popover__header" + }, Object(external_this_wp_element_["createElement"])("span", { + className: "components-popover__header-title" + }, headerTitle), Object(external_this_wp_element_["createElement"])(build_module_button, { + className: "components-popover__close", + icon: "no-alt", + onClick: onClose + })), Object(external_this_wp_element_["createElement"])("div", { + ref: contentRef, + className: "components-popover__content", + tabIndex: "-1" + }, children)); + })); // Apply focus to element as long as focusOnMount is truthy; false is + // the only "disabled" value. + + if (focusOnMount) { + content = Object(external_this_wp_element_["createElement"])(FocusManaged, null, content); + } + + return Object(external_this_wp_element_["createElement"])(context_Consumer, null, function (_ref5) { + var getSlot = _ref5.getSlot; + + // In case there is no slot context in which to render, + // default to an in-place rendering. + if (getSlot && getSlot(__unstableSlotName)) { + content = Object(external_this_wp_element_["createElement"])(slot_fill_fill, { + name: __unstableSlotName + }, content); + } + + if (anchorRef || anchorRect) { + return content; + } + + return Object(external_this_wp_element_["createElement"])("span", { + ref: anchorRefFallback + }, content); + }); +}; + +var PopoverContainer = popover_Popover; + +PopoverContainer.Slot = function (_ref6) { + var _ref6$name = _ref6.name, + name = _ref6$name === void 0 ? SLOT_NAME : _ref6$name; + return Object(external_this_wp_element_["createElement"])(slot_fill_slot, { + bubblesVirtually: true, + name: name + }); +}; + +/* harmony default export */ var popover = (PopoverContainer); + // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/shortcut/index.js @@ -31135,7 +31158,7 @@ function Icon(_ref) { /* harmony default export */ var build_module_icon = (Icon); -// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/icon-button/index.js +// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/button/index.js @@ -31150,1123 +31173,95 @@ function Icon(_ref) { */ + /** * Internal dependencies */ - - -function IconButton(props, ref) { - var icon = props.icon, - children = props.children, - label = props.label, +function Button(props, ref) { + var href = props.href, + target = props.target, + isPrimary = props.isPrimary, + isLarge = props.isLarge, + isSmall = props.isSmall, + isTertiary = props.isTertiary, + isPressed = props.isPressed, + isBusy = props.isBusy, + isDefault = props.isDefault, + isSecondary = props.isSecondary, + isLink = props.isLink, + isDestructive = props.isDestructive, className = props.className, - tooltip = props.tooltip, + disabled = props.disabled, + icon = props.icon, + iconSize = props.iconSize, + showTooltip = props.showTooltip, + tooltipPosition = props.tooltipPosition, shortcut = props.shortcut, - labelPosition = props.labelPosition, - size = props.size, - additionalProps = Object(objectWithoutProperties["a" /* default */])(props, ["icon", "children", "label", "className", "tooltip", "shortcut", "labelPosition", "size"]); + label = props.label, + children = props.children, + additionalProps = Object(objectWithoutProperties["a" /* default */])(props, ["href", "target", "isPrimary", "isLarge", "isSmall", "isTertiary", "isPressed", "isBusy", "isDefault", "isSecondary", "isLink", "isDestructive", "className", "disabled", "icon", "iconSize", "showTooltip", "tooltipPosition", "shortcut", "label", "children"]); - var classes = classnames_default()('components-icon-button', className, { - 'has-text': children + if (isDefault) { + external_this_wp_deprecated_default()('Button isDefault prop', { + alternative: 'isSecondary' + }); + } + + var classes = classnames_default()('components-button', className, { + 'is-secondary': isDefault || isSecondary, + 'is-primary': isPrimary, + 'is-large': isLarge, + 'is-small': isSmall, + 'is-tertiary': isTertiary, + 'is-pressed': isPressed, + 'is-busy': isBusy, + 'is-link': isLink, + 'is-destructive': isDestructive, + 'has-text': !!icon && !!children, + 'has-icon': !!icon }); - var tooltipText = tooltip || label; // Should show the tooltip if... + var Tag = href !== undefined && !disabled ? 'a' : 'button'; + var tagProps = Tag === 'a' ? { + href: href, + target: target + } : { + type: 'button', + disabled: disabled, + 'aria-pressed': isPressed + }; // Should show the tooltip if... - var showTooltip = !additionalProps.disabled && ( // an explicit tooltip is passed or... - tooltip || // there's a shortcut or... + var shouldShowTooltip = !disabled && ( // an explicit tooltip is passed or... + showTooltip && label || // there's a shortcut or... shortcut || // there's a label and... !!label && ( // the children are empty and... !children || Object(external_this_lodash_["isArray"])(children) && !children.length) && // the tooltip is not explicitly disabled. - false !== tooltip); - var element = Object(external_this_wp_element_["createElement"])(build_module_button, Object(esm_extends["a" /* default */])({ - "aria-label": label - }, additionalProps, { + false !== showTooltip); + var element = Object(external_this_wp_element_["createElement"])(Tag, Object(esm_extends["a" /* default */])({}, tagProps, additionalProps, { className: classes, + "aria-label": additionalProps['aria-label'] || label, ref: ref - }), Object(external_this_wp_element_["createElement"])(build_module_icon, { + }), icon && Object(external_this_wp_element_["createElement"])(build_module_icon, { icon: icon, - size: size + size: iconSize }), children); - if (showTooltip) { - element = Object(external_this_wp_element_["createElement"])(build_module_tooltip, { - text: tooltipText, - shortcut: shortcut, - position: labelPosition - }, element); + if (!shouldShowTooltip) { + return element; } - return element; + return Object(external_this_wp_element_["createElement"])(build_module_tooltip, { + text: label, + shortcut: shortcut, + position: tooltipPosition + }, element); } - -/* harmony default export */ var icon_button = (Object(external_this_wp_element_["forwardRef"])(IconButton)); - -// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/scroll-lock/index.js - - - - - - -/** - * WordPress dependencies - */ - -/** - * Creates a ScrollLock component bound to the specified document. - * - * This function creates a ScrollLock component for the specified document - * and is exposed so we can create an isolated component for unit testing. - * - * @param {Object} args Keyword args. - * @param {HTMLDocument} args.htmlDocument The document to lock the scroll for. - * @param {string} args.className The name of the class used to lock scrolling. - * @return {WPComponent} The bound ScrollLock component. - */ - -function createScrollLockComponent() { - var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, - _ref$htmlDocument = _ref.htmlDocument, - htmlDocument = _ref$htmlDocument === void 0 ? document : _ref$htmlDocument, - _ref$className = _ref.className, - className = _ref$className === void 0 ? 'lockscroll' : _ref$className; - - var lockCounter = 0; - /* - * Setting `overflow: hidden` on html and body elements resets body scroll in iOS. - * Save scroll top so we can restore it after locking scroll. - * - * NOTE: It would be cleaner and possibly safer to find a localized solution such - * as preventing default on certain touchmove events. - */ - - var previousScrollTop = 0; - /** - * Locks and unlocks scroll depending on the boolean argument. - * - * @param {boolean} locked Whether or not scroll should be locked. - */ - - function setLocked(locked) { - var scrollingElement = htmlDocument.scrollingElement || htmlDocument.body; - - if (locked) { - previousScrollTop = scrollingElement.scrollTop; - } - - var methodName = locked ? 'add' : 'remove'; - scrollingElement.classList[methodName](className); // Adding the class to the document element seems to be necessary in iOS. - - htmlDocument.documentElement.classList[methodName](className); - - if (!locked) { - scrollingElement.scrollTop = previousScrollTop; - } - } - /** - * Requests scroll lock. - * - * This function tracks requests for scroll lock. It locks scroll on the first - * request and counts each request so `releaseLock` can unlock scroll when - * all requests have been released. - */ - - - function requestLock() { - if (lockCounter === 0) { - setLocked(true); - } - - ++lockCounter; - } - /** - * Releases a request for scroll lock. - * - * This function tracks released requests for scroll lock. When all requests - * have been released, it unlocks scroll. - */ - - - function releaseLock() { - if (lockCounter === 1) { - setLocked(false); - } - - --lockCounter; - } - - return ( - /*#__PURE__*/ - function (_Component) { - Object(inherits["a" /* default */])(ScrollLock, _Component); - - function ScrollLock() { - Object(classCallCheck["a" /* default */])(this, ScrollLock); - - return Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(ScrollLock).apply(this, arguments)); - } - - Object(createClass["a" /* default */])(ScrollLock, [{ - key: "componentDidMount", - - /** - * Requests scroll lock on mount. - */ - value: function componentDidMount() { - requestLock(); - } - /** - * Releases scroll lock before unmount. - */ - - }, { - key: "componentWillUnmount", - value: function componentWillUnmount() { - releaseLock(); - } - /** - * Render nothing as this component is merely a way to declare scroll lock. - * - * @return {null} Render nothing by returning `null`. - */ - - }, { - key: "render", - value: function render() { - return null; - } - }]); - - return ScrollLock; - }(external_this_wp_element_["Component"]) - ); -} -/* harmony default export */ var scroll_lock = (createScrollLockComponent()); - -// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/isolated-event-container/index.js - - - - -/** - * WordPress dependencies - */ - - -function stopPropagation(event) { - event.stopPropagation(); -} - -/* harmony default export */ var isolated_event_container = (Object(external_this_wp_element_["forwardRef"])(function (_ref, ref) { - var children = _ref.children, - props = Object(objectWithoutProperties["a" /* default */])(_ref, ["children"]); - - // Disable reason: this stops certain events from propagating outside of the component. - // - onMouseDown is disabled as this can cause interactions with other DOM elements - - /* eslint-disable jsx-a11y/no-static-element-interactions */ - return Object(external_this_wp_element_["createElement"])("div", Object(esm_extends["a" /* default */])({}, props, { - ref: ref, - onMouseDown: stopPropagation - }), children); - /* eslint-enable jsx-a11y/no-static-element-interactions */ -})); - -// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/slot-fill/context.js - - - - - - - - - - -/** - * External dependencies - */ - -/** - * WordPress dependencies - */ - - -var SlotFillContext = Object(external_this_wp_element_["createContext"])({ - registerSlot: function registerSlot() {}, - unregisterSlot: function unregisterSlot() {}, - registerFill: function registerFill() {}, - unregisterFill: function unregisterFill() {}, - getSlot: function getSlot() {}, - getFills: function getFills() {}, - subscribe: function subscribe() {} -}); -var slot_fill_context_Provider = SlotFillContext.Provider, - context_Consumer = SlotFillContext.Consumer; - -var context_SlotFillProvider = -/*#__PURE__*/ -function (_Component) { - Object(inherits["a" /* default */])(SlotFillProvider, _Component); - - function SlotFillProvider() { - var _this; - - Object(classCallCheck["a" /* default */])(this, SlotFillProvider); - - _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(SlotFillProvider).apply(this, arguments)); - _this.registerSlot = _this.registerSlot.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.registerFill = _this.registerFill.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.unregisterSlot = _this.unregisterSlot.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.unregisterFill = _this.unregisterFill.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.getSlot = _this.getSlot.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.getFills = _this.getFills.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.hasFills = _this.hasFills.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.subscribe = _this.subscribe.bind(Object(assertThisInitialized["a" /* default */])(_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 - }; - return _this; - } - - Object(createClass["a" /* default */])(SlotFillProvider, [{ - key: "registerSlot", - value: function registerSlot(name, slot) { - var previousSlot = this.slots[name]; - this.slots[name] = slot; - this.triggerListeners(); // Sometimes the fills are registered after the initial render of slot - // But before the registerSlot call, we need to rerender the slot - - this.forceUpdateSlot(name); // If a new instance of a slot is being mounted while another with the - // same name exists, force its update _after_ the new slot has been - // assigned into the instance, such that its own rendering of children - // will be empty (the new Slot will subsume all fills for this name). - - if (previousSlot) { - previousSlot.forceUpdate(); - } - } - }, { - key: "registerFill", - value: function registerFill(name, instance) { - this.fills[name] = [].concat(Object(toConsumableArray["a" /* default */])(this.fills[name] || []), [instance]); - this.forceUpdateSlot(name); - } - }, { - key: "unregisterSlot", - value: function unregisterSlot(name, instance) { - // If a previous instance of a Slot by this name unmounts, do nothing, - // as the slot and its fills should only be removed for the current - // known instance. - if (this.slots[name] !== instance) { - return; - } - - delete this.slots[name]; - this.triggerListeners(); - } - }, { - key: "unregisterFill", - value: function unregisterFill(name, instance) { - this.fills[name] = Object(external_this_lodash_["without"])(this.fills[name], instance); - this.resetFillOccurrence(name); - this.forceUpdateSlot(name); - } - }, { - key: "getSlot", - value: function getSlot(name) { - return this.slots[name]; - } - }, { - key: "getFills", - value: function getFills(name, slotInstance) { - // Fills should only be returned for the current instance of the slot - // in which they occupy. - if (this.slots[name] !== slotInstance) { - return []; - } - - return Object(external_this_lodash_["sortBy"])(this.fills[name], 'occurrence'); - } - }, { - key: "hasFills", - value: function hasFills(name) { - return this.fills[name] && !!this.fills[name].length; - } - }, { - key: "resetFillOccurrence", - value: function resetFillOccurrence(name) { - Object(external_this_lodash_["forEach"])(this.fills[name], function (instance) { - instance.occurrence = undefined; - }); - } - }, { - key: "forceUpdateSlot", - value: function forceUpdateSlot(name) { - var slot = this.getSlot(name); - - if (slot) { - slot.forceUpdate(); - } - } - }, { - key: "triggerListeners", - value: function triggerListeners() { - this.listeners.forEach(function (listener) { - return listener(); - }); - } - }, { - key: "subscribe", - value: function subscribe(listener) { - var _this2 = this; - - this.listeners.push(listener); - return function () { - _this2.listeners = Object(external_this_lodash_["without"])(_this2.listeners, listener); - }; - } - }, { - key: "render", - value: function render() { - return Object(external_this_wp_element_["createElement"])(slot_fill_context_Provider, { - value: this.contextValue - }, this.props.children); - } - }]); - - return SlotFillProvider; -}(external_this_wp_element_["Component"]); -/** - * React hook returning the active slot given a name. - * - * @param {string} name Slot name. - * @return {Object} Slot object. - */ - - -var context_useSlot = function useSlot(name) { - var _useContext = Object(external_this_wp_element_["useContext"])(SlotFillContext), - getSlot = _useContext.getSlot, - subscribe = _useContext.subscribe; - - var _useState = Object(external_this_wp_element_["useState"])(getSlot(name)), - _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2), - slot = _useState2[0], - setSlot = _useState2[1]; - - Object(external_this_wp_element_["useEffect"])(function () { - setSlot(getSlot(name)); - var unsubscribe = subscribe(function () { - setSlot(getSlot(name)); - }); - return unsubscribe; - }, [name]); - return slot; -}; -/* harmony default export */ var slot_fill_context = (context_SlotFillProvider); - - -// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/slot-fill/fill.js - - - -/** - * External dependencies - */ - -/** - * WordPress dependencies - */ - - -/** - * Internal dependencies - */ - - -var occurrences = 0; - -function fill_FillComponent(_ref) { - var name = _ref.name, - children = _ref.children, - registerFill = _ref.registerFill, - unregisterFill = _ref.unregisterFill; - var slot = context_useSlot(name); - var ref = Object(external_this_wp_element_["useRef"])({ - name: name, - children: children - }); - - if (!ref.current.occurrence) { - ref.current.occurrence = ++occurrences; - } - - Object(external_this_wp_element_["useLayoutEffect"])(function () { - registerFill(name, ref.current); - return function () { - return unregisterFill(name, ref.current); - }; - }, []); - Object(external_this_wp_element_["useLayoutEffect"])(function () { - ref.current.children = children; - - if (slot && !slot.props.bubblesVirtually) { - slot.forceUpdate(); - } - }, [children]); - Object(external_this_wp_element_["useLayoutEffect"])(function () { - if (name === ref.current.name) { - // ignore initial effect - return; - } - - unregisterFill(ref.current.name, ref.current); - ref.current.name = name; - registerFill(name, ref.current); - }, [name]); - - if (!slot || !slot.node || !slot.props.bubblesVirtually) { - return null; - } // If a function is passed as a child, provide it with the fillProps. - - - if (Object(external_this_lodash_["isFunction"])(children)) { - children = children(slot.props.fillProps); - } - - return Object(external_this_wp_element_["createPortal"])(children, slot.node); -} - -var fill_Fill = function Fill(props) { - return Object(external_this_wp_element_["createElement"])(context_Consumer, null, function (_ref2) { - var registerFill = _ref2.registerFill, - unregisterFill = _ref2.unregisterFill; - return Object(external_this_wp_element_["createElement"])(fill_FillComponent, Object(esm_extends["a" /* default */])({}, props, { - registerFill: registerFill, - unregisterFill: unregisterFill - })); - }); -}; - -/* harmony default export */ var slot_fill_fill = (fill_Fill); - -// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/slot-fill/slot.js - - - - - - - - - -/** - * External dependencies - */ - -/** - * WordPress dependencies - */ - - -/** - * Internal dependencies - */ - - - -var slot_SlotComponent = -/*#__PURE__*/ -function (_Component) { - Object(inherits["a" /* default */])(SlotComponent, _Component); - - function SlotComponent() { - var _this; - - Object(classCallCheck["a" /* default */])(this, SlotComponent); - - _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(SlotComponent).apply(this, arguments)); - _this.bindNode = _this.bindNode.bind(Object(assertThisInitialized["a" /* default */])(_this)); - return _this; - } - - Object(createClass["a" /* default */])(SlotComponent, [{ - key: "componentDidMount", - value: function componentDidMount() { - var registerSlot = this.props.registerSlot; - registerSlot(this.props.name, this); - } - }, { - key: "componentWillUnmount", - value: function componentWillUnmount() { - var unregisterSlot = this.props.unregisterSlot; - unregisterSlot(this.props.name, this); - } - }, { - key: "componentDidUpdate", - value: function componentDidUpdate(prevProps) { - var _this$props = this.props, - name = _this$props.name, - unregisterSlot = _this$props.unregisterSlot, - registerSlot = _this$props.registerSlot; - - if (prevProps.name !== name) { - unregisterSlot(prevProps.name); - registerSlot(name, this); - } - } - }, { - key: "bindNode", - value: function bindNode(node) { - this.node = node; - } - }, { - key: "render", - value: function render() { - var _this$props2 = this.props, - children = _this$props2.children, - name = _this$props2.name, - _this$props2$bubblesV = _this$props2.bubblesVirtually, - bubblesVirtually = _this$props2$bubblesV === void 0 ? false : _this$props2$bubblesV, - _this$props2$fillProp = _this$props2.fillProps, - fillProps = _this$props2$fillProp === void 0 ? {} : _this$props2$fillProp, - getFills = _this$props2.getFills, - className = _this$props2.className; - - if (bubblesVirtually) { - return Object(external_this_wp_element_["createElement"])("div", { - ref: this.bindNode, - className: className - }); - } - - var fills = Object(external_this_lodash_["map"])(getFills(name, this), function (fill) { - var fillKey = fill.occurrence; - var fillChildren = Object(external_this_lodash_["isFunction"])(fill.children) ? fill.children(fillProps) : fill.children; - return external_this_wp_element_["Children"].map(fillChildren, function (child, childIndex) { - if (!child || Object(external_this_lodash_["isString"])(child)) { - return child; - } - - var childKey = "".concat(fillKey, "---").concat(child.key || childIndex); - return Object(external_this_wp_element_["cloneElement"])(child, { - key: childKey - }); - }); - }).filter( // In some cases fills are rendered only when some conditions apply. - // This ensures that we only use non-empty fills when rendering, i.e., - // it allows us to render wrappers only when the fills are actually present. - Object(external_this_lodash_["negate"])(external_this_wp_element_["isEmptyElement"])); - return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_lodash_["isFunction"])(children) ? children(fills) : fills); - } - }]); - - return SlotComponent; -}(external_this_wp_element_["Component"]); - -var slot_Slot = function Slot(props) { - return Object(external_this_wp_element_["createElement"])(context_Consumer, null, function (_ref) { - var registerSlot = _ref.registerSlot, - unregisterSlot = _ref.unregisterSlot, - getFills = _ref.getFills; - return Object(external_this_wp_element_["createElement"])(slot_SlotComponent, Object(esm_extends["a" /* default */])({}, props, { - registerSlot: registerSlot, - unregisterSlot: unregisterSlot, - getFills: getFills - })); - }); -}; - -/* harmony default export */ var slot_fill_slot = (slot_Slot); - -// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/popover/index.js - - - - - -/** - * External dependencies - */ - -/** - * WordPress dependencies - */ - - - - - - -/** - * Internal dependencies - */ - - - - - - - - - - -var FocusManaged = with_constrained_tabbing(with_focus_return(function (_ref) { - var children = _ref.children; - return children; -})); -/** - * Name of slot in which popover should fill. - * - * @type {string} - */ - -var SLOT_NAME = 'Popover'; - -function computeAnchorRect(anchorRefFallback, anchorRect, getAnchorRect) { - var anchorRef = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false; - var shouldAnchorIncludePadding = arguments.length > 4 ? arguments[4] : undefined; - - if (anchorRect) { - return anchorRect; - } - - if (getAnchorRect) { - if (!anchorRefFallback.current) { - return; - } - - return getAnchorRect(anchorRefFallback.current); - } - - if (anchorRef !== false) { - if (!anchorRef) { - return; - } - - if (anchorRef instanceof window.Range) { - return Object(external_this_wp_dom_["getRectangleFromRange"])(anchorRef); - } - - var _rect = anchorRef.getBoundingClientRect(); - - if (shouldAnchorIncludePadding) { - return _rect; - } - - return withoutPadding(_rect, anchorRef); - } - - if (!anchorRefFallback.current) { - return; - } - - var parentNode = anchorRefFallback.current.parentNode; - var rect = parentNode.getBoundingClientRect(); - - if (shouldAnchorIncludePadding) { - return rect; - } - - return withoutPadding(rect, parentNode); -} - -function addBuffer(rect) { - var verticalBuffer = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0; - var horizontalBuffer = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0; - return { - x: rect.left - horizontalBuffer, - y: rect.top - verticalBuffer, - width: rect.width + 2 * horizontalBuffer, - height: rect.height + 2 * verticalBuffer, - left: rect.left - horizontalBuffer, - right: rect.right + horizontalBuffer, - top: rect.top - verticalBuffer, - bottom: rect.bottom + verticalBuffer - }; -} - -function withoutPadding(rect, element) { - var _window$getComputedSt = window.getComputedStyle(element), - paddingTop = _window$getComputedSt.paddingTop, - paddingBottom = _window$getComputedSt.paddingBottom, - paddingLeft = _window$getComputedSt.paddingLeft, - paddingRight = _window$getComputedSt.paddingRight; - - var top = paddingTop ? parseInt(paddingTop, 10) : 0; - var bottom = paddingBottom ? parseInt(paddingBottom, 10) : 0; - var left = paddingLeft ? parseInt(paddingLeft, 10) : 0; - var right = paddingRight ? parseInt(paddingRight, 10) : 0; - return { - x: rect.left + left, - y: rect.top + top, - width: rect.width - left - right, - height: rect.height - top - bottom, - left: rect.left + left, - right: rect.right - right, - top: rect.top + top, - bottom: rect.bottom - bottom - }; -} -/** - * Hook used to focus the first tabbable element on mount. - * - * @param {boolean|string} focusOnMount Focus on mount mode. - * @param {Object} contentRef Reference to the popover content element. - */ - - -function useFocusContentOnMount(focusOnMount, contentRef) { - // Focus handling - Object(external_this_wp_element_["useEffect"])(function () { - /* - * Without the setTimeout, the dom node is not being focused. Related: - * https://stackoverflow.com/questions/35522220/react-ref-with-focus-doesnt-work-without-settimeout-my-example - * - * TODO: Treat the cause, not the symptom. - */ - var focusTimeout = setTimeout(function () { - if (!focusOnMount || !contentRef.current) { - return; - } - - if (focusOnMount === 'firstElement') { - // Find first tabbable node within content and shift focus, falling - // back to the popover panel itself. - var firstTabbable = external_this_wp_dom_["focus"].tabbable.find(contentRef.current)[0]; - - if (firstTabbable) { - firstTabbable.focus(); - } else { - contentRef.current.focus(); - } - - return; - } - - if (focusOnMount === 'container') { - // Focus the popover panel itself so items in the popover are easily - // accessed via keyboard navigation. - contentRef.current.focus(); - } - }, 0); - return function () { - return clearTimeout(focusTimeout); - }; - }, []); -} -/** - * Sets or removes an element attribute. - * - * @param {Element} element The element to modify. - * @param {string} name The attribute name to set or remove. - * @param {?string} value The value to set. A falsy value will remove the - * attribute. - */ - - -function setAttribute(element, name, value) { - if (!value) { - if (element.hasAttribute(name)) { - element.removeAttribute(name); - } - } else if (element.getAttribute(name) !== value) { - element.setAttribute(name, value); - } -} -/** - * Sets or removes an element style property. - * - * @param {Element} element The element to modify. - * @param {string} property The property to set or remove. - * @param {?string} value The value to set. A falsy value will remove the - * property. - */ - - -function setStyle(element, property) { - var value = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : ''; - - if (element.style[property] !== value) { - element.style[property] = value; - } -} -/** - * Sets or removes an element class. - * - * @param {Element} element The element to modify. - * @param {string} name The class to set or remove. - * @param {boolean} toggle True to set the class, false to remove. - */ - - -function setClass(element, name, toggle) { - if (toggle) { - if (!element.classList.contains(name)) { - element.classList.add(name); - } - } else if (element.classList.contains(name)) { - element.classList.remove(name); - } -} - -var popover_Popover = function Popover(_ref2) { - var headerTitle = _ref2.headerTitle, - onClose = _ref2.onClose, - onKeyDown = _ref2.onKeyDown, - children = _ref2.children, - className = _ref2.className, - _ref2$noArrow = _ref2.noArrow, - noArrow = _ref2$noArrow === void 0 ? false : _ref2$noArrow, - _ref2$position = _ref2.position, - position = _ref2$position === void 0 ? 'top' : _ref2$position, - range = _ref2.range, - _ref2$focusOnMount = _ref2.focusOnMount, - focusOnMount = _ref2$focusOnMount === void 0 ? 'firstElement' : _ref2$focusOnMount, - anchorRef = _ref2.anchorRef, - shouldAnchorIncludePadding = _ref2.shouldAnchorIncludePadding, - anchorVerticalBuffer = _ref2.anchorVerticalBuffer, - anchorHorizontalBuffer = _ref2.anchorHorizontalBuffer, - anchorRect = _ref2.anchorRect, - getAnchorRect = _ref2.getAnchorRect, - expandOnMobile = _ref2.expandOnMobile, - _ref2$animate = _ref2.animate, - animate = _ref2$animate === void 0 ? true : _ref2$animate, - onClickOutside = _ref2.onClickOutside, - onFocusOutside = _ref2.onFocusOutside, - contentProps = Object(objectWithoutProperties["a" /* default */])(_ref2, ["headerTitle", "onClose", "onKeyDown", "children", "className", "noArrow", "position", "range", "focusOnMount", "anchorRef", "shouldAnchorIncludePadding", "anchorVerticalBuffer", "anchorHorizontalBuffer", "anchorRect", "getAnchorRect", "expandOnMobile", "animate", "onClickOutside", "onFocusOutside"]); - - var anchorRefFallback = Object(external_this_wp_element_["useRef"])(null); - var contentRef = Object(external_this_wp_element_["useRef"])(null); - var containerRef = Object(external_this_wp_element_["useRef"])(); - var contentRect = Object(external_this_wp_element_["useRef"])(); - var isMobileViewport = Object(external_this_wp_compose_["useViewportMatch"])('medium', '<'); - - var _useState = Object(external_this_wp_element_["useState"])(), - _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2), - animateOrigin = _useState2[0], - setAnimateOrigin = _useState2[1]; - - var isExpanded = expandOnMobile && isMobileViewport; - noArrow = isExpanded || noArrow; - Object(external_this_wp_element_["useEffect"])(function () { - var containerEl = containerRef.current; - var contentEl = contentRef.current; - - if (isExpanded) { - setClass(containerEl, 'is-without-arrow', noArrow); - setAttribute(containerEl, 'data-x-axis'); - setAttribute(containerEl, 'data-y-axis'); - setStyle(containerEl, 'top'); - setStyle(containerEl, 'left'); - setStyle(contentEl, 'maxHeight'); - setStyle(contentEl, 'maxWidth'); - return; - } - - var refresh = function refresh() { - var anchor = computeAnchorRect(anchorRefFallback, anchorRect, getAnchorRect, anchorRef, shouldAnchorIncludePadding); - - if (!anchor) { - return; - } - - anchor = addBuffer(anchor, anchorVerticalBuffer, anchorHorizontalBuffer); - - if (!contentRect.current) { - contentRect.current = contentEl.getBoundingClientRect(); - } - - var _computePopoverPositi = computePopoverPosition(anchor, contentRect.current, position), - popoverTop = _computePopoverPositi.popoverTop, - popoverLeft = _computePopoverPositi.popoverLeft, - xAxis = _computePopoverPositi.xAxis, - yAxis = _computePopoverPositi.yAxis, - contentHeight = _computePopoverPositi.contentHeight, - contentWidth = _computePopoverPositi.contentWidth; - - setClass(containerEl, 'is-without-arrow', noArrow || xAxis === 'center' && yAxis === 'middle'); - setAttribute(containerEl, 'data-x-axis', xAxis); - setAttribute(containerEl, 'data-y-axis', yAxis); - setStyle(containerEl, 'top', typeof popoverTop === 'number' ? popoverTop + 'px' : ''); - setStyle(containerEl, 'left', typeof popoverLeft === 'number' ? popoverLeft + 'px' : ''); - setStyle(contentEl, 'maxHeight', typeof contentHeight === 'number' ? contentHeight + 'px' : ''); - setStyle(contentEl, 'maxWidth', typeof contentWidth === 'number' ? contentWidth + 'px' : ''); // Compute the animation position - - var yAxisMapping = { - top: 'bottom', - bottom: 'top' - }; - var xAxisMapping = { - left: 'right', - right: 'left' - }; - var animateYAxis = yAxisMapping[yAxis] || 'middle'; - var animateXAxis = xAxisMapping[xAxis] || 'center'; - setAnimateOrigin(animateXAxis + ' ' + animateYAxis); - }; // Height may still adjust between now and the next tick. - - - var timeoutId = window.setTimeout(refresh); - /* - * There are sometimes we need to reposition or resize the popover that - * are not handled by the resize/scroll window events (i.e. CSS changes - * in the layout that changes the position of the anchor). - * - * For these situations, we refresh the popover every 0.5s - */ - - var intervalHandle = window.setInterval(refresh, 500); - window.addEventListener('resize', refresh); - window.addEventListener('scroll', refresh, true); - return function () { - window.clearTimeout(timeoutId); - window.clearInterval(intervalHandle); - window.removeEventListener('resize', refresh); - window.removeEventListener('scroll', refresh, true); - }; - }, [isExpanded, anchorRect, getAnchorRect, anchorRef, shouldAnchorIncludePadding, anchorVerticalBuffer, anchorHorizontalBuffer, position]); - useFocusContentOnMount(focusOnMount, contentRef); // Event handlers - - var maybeClose = function maybeClose(event) { - // Close on escape - if (event.keyCode === external_this_wp_keycodes_["ESCAPE"] && onClose) { - event.stopPropagation(); - onClose(); - } // Preserve original content prop behavior - - - if (onKeyDown) { - onKeyDown(event); - } - }; - /** - * Shims an onFocusOutside callback to be compatible with a deprecated - * onClickOutside prop function, if provided. - * - * @param {FocusEvent} event Focus event from onFocusOutside. - */ - - - function handleOnFocusOutside(event) { - // Defer to given `onFocusOutside` if specified. Call `onClose` only if - // both `onFocusOutside` and `onClickOutside` are unspecified. Doing so - // assures backwards-compatibility for prior `onClickOutside` default. - if (onFocusOutside) { - onFocusOutside(event); - return; - } else if (!onClickOutside) { - if (onClose) { - onClose(); - } - - return; - } // Simulate MouseEvent using FocusEvent#relatedTarget as emulated click - // target. MouseEvent constructor is unsupported in Internet Explorer. - - - var clickEvent; - - try { - clickEvent = new window.MouseEvent('click'); - } catch (error) { - clickEvent = document.createEvent('MouseEvent'); - clickEvent.initMouseEvent('click', true, true, window, 0, 0, 0, 0, 0, false, false, false, false, 0, null); - } - - Object.defineProperty(clickEvent, 'target', { - get: function get() { - return event.relatedTarget; - } - }); - external_this_wp_deprecated_default()('Popover onClickOutside prop', { - alternative: 'onFocusOutside' - }); - onClickOutside(clickEvent); - } // Disable reason: We care to capture the _bubbled_ events from inputs - // within popover as inferring close intent. - - - var content = Object(external_this_wp_element_["createElement"])(detect_outside, { - onFocusOutside: handleOnFocusOutside - }, Object(external_this_wp_element_["createElement"])(build_module_animate, { - type: animate && animateOrigin ? 'appear' : null, - options: { - origin: animateOrigin - } - }, function (_ref3) { - var animateClassName = _ref3.className; - return Object(external_this_wp_element_["createElement"])(isolated_event_container, Object(esm_extends["a" /* default */])({ - className: classnames_default()('components-popover', className, animateClassName, { - 'is-expanded': isExpanded, - 'is-without-arrow': noArrow - }) - }, contentProps, { - onKeyDown: maybeClose, - ref: containerRef - }), isExpanded && Object(external_this_wp_element_["createElement"])("div", { - className: "components-popover__header" - }, Object(external_this_wp_element_["createElement"])("span", { - className: "components-popover__header-title" - }, headerTitle), Object(external_this_wp_element_["createElement"])(icon_button, { - className: "components-popover__close", - icon: "no-alt", - onClick: onClose - })), Object(external_this_wp_element_["createElement"])("div", { - ref: contentRef, - className: "components-popover__content", - tabIndex: "-1" - }, children)); - })); // Apply focus to element as long as focusOnMount is truthy; false is - // the only "disabled" value. - - if (focusOnMount) { - content = Object(external_this_wp_element_["createElement"])(FocusManaged, null, content); - } - - return Object(external_this_wp_element_["createElement"])(context_Consumer, null, function (_ref4) { - var getSlot = _ref4.getSlot; - - // In case there is no slot context in which to render, - // default to an in-place rendering. - if (getSlot && getSlot(SLOT_NAME)) { - content = Object(external_this_wp_element_["createElement"])(slot_fill_fill, { - name: SLOT_NAME - }, content); - } - - return Object(external_this_wp_element_["createElement"])("span", { - ref: anchorRefFallback - }, content, isMobileViewport && expandOnMobile && Object(external_this_wp_element_["createElement"])(scroll_lock, null)); - }); -}; - -var PopoverContainer = popover_Popover; - -PopoverContainer.Slot = function () { - return Object(external_this_wp_element_["createElement"])(slot_fill_slot, { - bubblesVirtually: true, - name: SLOT_NAME - }); -}; - -/* harmony default export */ var popover = (PopoverContainer); +/* harmony default export */ var build_module_button = (Object(external_this_wp_element_["forwardRef"])(Button)); // EXTERNAL MODULE: external {"this":["wp","a11y"]} -var external_this_wp_a11y_ = __webpack_require__(44); +var external_this_wp_a11y_ = __webpack_require__(45); // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/higher-order/with-spoken-messages/index.js @@ -33037,7 +32032,7 @@ var helpers_defineProperty = __webpack_require__(222); var defineProperty_default = /*#__PURE__*/__webpack_require__.n(helpers_defineProperty); // EXTERNAL MODULE: external {"this":"React"} -var external_this_React_ = __webpack_require__(20); +var external_this_React_ = __webpack_require__(21); // CONCATENATED MODULE: ./node_modules/@emotion/memoize/dist/memoize.browser.esm.js function memoize(fn) { @@ -33068,7 +32063,7 @@ var is_prop_valid_browser_esm_index = memoize_browser_esm(function (prop) { /* harmony default export */ var is_prop_valid_browser_esm = (is_prop_valid_browser_esm_index); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/inheritsLoose.js -var inheritsLoose = __webpack_require__(95); +var inheritsLoose = __webpack_require__(96); var inheritsLoose_default = /*#__PURE__*/__webpack_require__.n(inheritsLoose); // CONCATENATED MODULE: ./node_modules/@emotion/cache/node_modules/@emotion/sheet/dist/sheet.browser.esm.js @@ -35074,7 +34069,7 @@ var styled_base_browser_esm_createStyled = function createStyled(tag, options) { /* harmony default export */ var styled_base_browser_esm = (styled_base_browser_esm_createStyled); // EXTERNAL MODULE: ./node_modules/tinycolor2/tinycolor.js -var tinycolor = __webpack_require__(48); +var tinycolor = __webpack_require__(49); var tinycolor_default = /*#__PURE__*/__webpack_require__.n(tinycolor); // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/utils/colors-values.js @@ -35514,17 +34509,16 @@ function CardMedia(props) { - function CheckboxControl(_ref) { var label = _ref.label, className = _ref.className, heading = _ref.heading, checked = _ref.checked, help = _ref.help, - instanceId = _ref.instanceId, onChange = _ref.onChange, - props = Object(objectWithoutProperties["a" /* default */])(_ref, ["label", "className", "heading", "checked", "help", "instanceId", "onChange"]); + props = Object(objectWithoutProperties["a" /* default */])(_ref, ["label", "className", "heading", "checked", "help", "onChange"]); + var instanceId = Object(external_this_wp_compose_["useInstanceId"])(CheckboxControl); var id = "inspector-checkbox-control-".concat(instanceId); var onChangeValue = function onChangeValue(event) { @@ -35556,8 +34550,6 @@ function CheckboxControl(_ref) { }, label)); } -/* harmony default export */ var checkbox_control = (Object(external_this_wp_compose_["withInstanceId"])(CheckboxControl)); - // EXTERNAL MODULE: ./node_modules/clipboard/dist/clipboard.js var clipboard = __webpack_require__(223); var clipboard_default = /*#__PURE__*/__webpack_require__.n(clipboard); @@ -35589,7 +34581,6 @@ var clipboard_default = /*#__PURE__*/__webpack_require__.n(clipboard); - var clipboard_button_ClipboardButton = /*#__PURE__*/ function (_Component) { @@ -35673,9 +34664,7 @@ function (_Component) { text = _this$props2.text, buttonProps = Object(objectWithoutProperties["a" /* default */])(_this$props2, ["className", "children", "onCopy", "onFinishCopy", "text"]); - var icon = buttonProps.icon; - var classes = classnames_default()('components-clipboard-button', className); - var ComponentToUse = icon ? icon_button : build_module_button; // Workaround for inconsistent behavior in Safari, where